This commit was manufactured by cvs2svn to create tag
'xmlbeans-jdk13_base'.

git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/tags/xmlbeans-jdk13_base@110818 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/STATUS b/STATUS
deleted file mode 100644
index 93e7c0c..0000000
--- a/STATUS
+++ /dev/null
@@ -1,19 +0,0 @@
-Active committers:
-
-cezar.andrei@bea.com
-cliff.schmidt@bea.com
-
-david.remy@bea.com
-david.bau@bea.com
-eric.vasilik@bea.com
-ken@kress.org
-laurence.moroney@reuters.com
-patrick.calahan@bea.com
-scott.ziegler@bea.com
-twl@apache.org
-
-Initial code dropped.  Party on.
-
-Proposals for features at:
-http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansFeaturePlan
-(periodically posted to xmlbeans-dev)
diff --git a/v2/README.txt b/v2/README.txt
deleted file mode 100644
index 41d8704..0000000
--- a/v2/README.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-This directory will contain preliminary code being investigated that

-eventually will become the next major revision of XMLBeans.

-

-Since v2 will likely break some fundamental assumptions of that are

-made by v1, v2 will be done as a new codeline here.

-

-The code today (2003-09-24) is in a very preliminary state (actually

-as of today, nothing is checked in here), so should be seen as

-very early work.  As v2 progresses, this notice will be updated.

-

-Minor bugfixes and small features should be made in the v1 directory; as

-the v2 project ramps up, we all will need to make sure that fixes that

-are applicable to both v1 and v2 are merged into both trees.

-

-The test folder under v2 has a bunch of tests checked in whose aim is to test the xbean product. The test folder has a readme.txt on how to run the tests and what tests needs to be run before checkining in code.

-

diff --git a/v2/bin/dumpxsb b/v2/bin/dumpxsb
deleted file mode 100644
index 386578d..0000000
--- a/v2/bin/dumpxsb
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-#XSB file dumper
-#Prints the contents of an xsb file in human-readmble form
-
-cp=
-cp=$cp:$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar
-
-case "`uname`" in
-    CYGWIN*)
-        cp=`cygpath -w -p $cp`
-        ;;
-esac
-
-java -classpath $cp org.apache.xmlbeans.impl.tool.XsbDumper $*
diff --git a/v2/bin/dumpxsb.cmd b/v2/bin/dumpxsb.cmd
deleted file mode 100644
index d5b62cf..0000000
--- a/v2/bin/dumpxsb.cmd
+++ /dev/null
@@ -1,14 +0,0 @@
-@rem XSB file dumper
-@rem
-@rem Prints the contents of an xsb file in human-readable form
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.XsbDumper %*
-
-:done
diff --git a/v2/bin/random.cmd b/v2/bin/random.cmd
deleted file mode 100644
index 0727d26..0000000
--- a/v2/bin/random.cmd
+++ /dev/null
@@ -1,16 +0,0 @@
-@echo off
-
-@rem DRT
-@rem
-@rem Invokes Random test
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\private\lib\random.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\private\lib\easypo.jar
-
-rem java -ea -Dtreeasserts=true  -Dxbean.rootdir=%XMLBEANS_HOME% -classpath %cp% Random -noquery %*
-    java -ea -Dtreeasserts=false -Dxbean.rootdir=%XMLBEANS_HOME% -classpath %cp% Random -noquery %*
diff --git a/v2/bin/scomp b/v2/bin/scomp
deleted file mode 100644
index 610bf60..0000000
--- a/v2/bin/scomp
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-#Schema compiler
-#Builds XBean types from xsd files.
-
-cp=
-cp=$cp:$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar:$XMLBEANS_HOME/build/lib/resolver.jar
-
-case "`uname`" in
-    CYGWIN*)
-        cp=`cygpath -w -p $cp`
-        ;;
-esac
-
-java -classpath $cp org.apache.xmlbeans.impl.tool.SchemaCompiler $*
diff --git a/v2/bin/scomp.cmd b/v2/bin/scomp.cmd
deleted file mode 100644
index e5ee3c9..0000000
--- a/v2/bin/scomp.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@rem Schema compiler
-@rem
-@rem Builds XBean types from xsd files.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\lib\resolver.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCompiler %*
-
-:done
diff --git a/v2/bin/scopy.cmd b/v2/bin/scopy.cmd
deleted file mode 100644
index 2094c3a..0000000
--- a/v2/bin/scopy.cmd
+++ /dev/null
@@ -1,15 +0,0 @@
-@rem Schema compiler
-@rem
-@rem Builds XBean types from xsd files.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCopy %*
-
-:done
diff --git a/v2/bin/sdownload.cmd b/v2/bin/sdownload.cmd
deleted file mode 100644
index fd5829d..0000000
--- a/v2/bin/sdownload.cmd
+++ /dev/null
@@ -1,15 +0,0 @@
-@rem Schema downloader
-@rem
-@rem Tool to download schemas.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %*
-
-:done
diff --git a/v2/bin/sfactor.cmd b/v2/bin/sfactor.cmd
deleted file mode 100644
index f7a0703..0000000
--- a/v2/bin/sfactor.cmd
+++ /dev/null
@@ -1,15 +0,0 @@
-@rem Schema Factoring tool
-@rem
-@rem Factores redundant definitions out of a set of schemas and uses imports instead.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.FactorImports %*
-
-:done
diff --git a/v2/bin/svalidate b/v2/bin/svalidate
deleted file mode 100755
index 0908043..0000000
--- a/v2/bin/svalidate
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# Streaming Instance Validator
-#
-# Validates an instance against a schema.
-
-CP=$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar:$XMLBEANS_HOME/build/lib/jsr173_ri.jar
-
-case "`uname`" in
-    CYGWIN*)
-        CP=`cygpath -w -p $CP`
-        ;;
-esac
-
-exec java -classpath $CP org.apache.xmlbeans.impl.tool.StreamInstanceValidator $*
diff --git a/v2/bin/svalidate.cmd b/v2/bin/svalidate.cmd
deleted file mode 100644
index e2b80fd..0000000
--- a/v2/bin/svalidate.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@rem Streaming Instance Validator
-@rem
-@rem Validates an instance against a schema.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_ri.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.StreamInstanceValidator %*
-
-:done
diff --git a/v2/bin/validate b/v2/bin/validate
deleted file mode 100644
index 0bb3224..0000000
--- a/v2/bin/validate
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Instance Validator
-#
-# Validates an instance against a schema.
-
-CP=
-CP=$CP:$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar
-
-case "`uname`" in
-    CYGWIN*)
-        CP=`cygpath -w -p $CP`
-        ;;
-esac
-
-exec java -classpath $CP org.apache.xmlbeans.impl.tool.InstanceValidator $*
diff --git a/v2/bin/validate.cmd b/v2/bin/validate.cmd
deleted file mode 100644
index 8205b9e..0000000
--- a/v2/bin/validate.cmd
+++ /dev/null
@@ -1,16 +0,0 @@
-@rem Instance Validator
-@rem
-@rem Validates an instance against a schema.
-
-@echo off
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.InstanceValidator %*
-
-:done
diff --git a/v2/bin/xpretty.cmd b/v2/bin/xpretty.cmd
deleted file mode 100644
index 1a51e8a..0000000
--- a/v2/bin/xpretty.cmd
+++ /dev/null
@@ -1,11 +0,0 @@
-@echo off
-
-@rem Invokes pretty printer
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.PrettyPrinter %*
diff --git a/v2/bin/xsdtree.cmd b/v2/bin/xsdtree.cmd
deleted file mode 100644
index fc71a8f..0000000
--- a/v2/bin/xsdtree.cmd
+++ /dev/null
@@ -1,11 +0,0 @@
-@echo off
-
-@rem Invokes type hierarchy printer
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter %*
diff --git a/v2/bin/xstc b/v2/bin/xstc
deleted file mode 100755
index eb04aaa..0000000
--- a/v2/bin/xstc
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# Invokes XSTC
-
-cp=
-cp=$cp:$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar
-
-java -classpath $cp org.apache.xmlbeans.impl.tool.XSTCTester $*
diff --git a/v2/bin/xstc.cmd b/v2/bin/xstc.cmd
deleted file mode 100644
index f1ebd61..0000000
--- a/v2/bin/xstc.cmd
+++ /dev/null
@@ -1,11 +0,0 @@
-@echo off
-
-@rem Invokes XSTC
-
-setlocal
-if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)
-
-set cp=
-set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
-
-java -classpath %cp% org.apache.xmlbeans.impl.tool.XSTCTester %*
diff --git a/v2/build.xml b/v2/build.xml
deleted file mode 100644
index 416c778..0000000
--- a/v2/build.xml
+++ /dev/null
@@ -1,1554 +0,0 @@
-<project name="Xbean" default="default" basedir=".">
-
-  <property name="build.compiler" value="javac1.4"/>
-  <property name="javac.source" value="1.4"/>
-  <property name="javac.target" value="1.4"/>
-  <property name="product.version" value="1.0.0"/>
-  <property name="jam_root" value="jam"/>
-
-  <target name="usage">
-    <echo message="The following ant targets are defined:"/>
-    <echo message="usage    - this help text"/>
-    <echo message="deploy   - builds our implementation jar (xbean.jar)"/>
-    <echo message="clean    - cleans out the xbeans directories"/>
-    <!--
-    <echo message="builddrt - builds, but does not run, the xbean drt"/>
-    <echo message="drt      - runs the xbean drt"/>
-    -->
-  </target>
-
-  <target name="java_version">
-    <echo message="${java.version}" />
-  </target>
-
-  <target name="clean">
-    <delete dir="build"/>
-  </target>
-
-  <target name="deploy" depends="xbean" />
-
-  <target name="sources" depends="dirs">
-    <zip destfile="build/ar/xbeansrc.zip" basedir="." excludes="build/**"/>
-  </target>
-
-  <target name="check.jsr173.jar">
-    <condition property="jsr173.jar.exists">
-        <available file="build/lib/jsr173.jar"/>
-    </condition>
-  </target>
-
-  <target name="jsr173.jar" depends="check.jsr173.jar, dirs" unless="jsr173.jar.exists">
-    <get dest="build/lib/jsr173.jar"
-         src="http://workshop.bea.com/xmlbeans/jsr173v1/jsr173.jar"
-         verbose="true" usetimestamp="true" ignoreerrors="true"/>
-  </target>
-
-  <target name="check.jsr173_api.jar">
-    <condition property="jsr173_api.jar.exists">
-        <available file="build/lib/jsr173_api.jar"/>
-    </condition>
-  </target>
-
-  <target name="jsr173_api.jar" depends="jsr173.jar, check.jsr173_api.jar" unless="jsr173_api.jar.exists">
-    <unjar src="build/lib/jsr173.jar" dest="build/lib">
-      <patternset>
-        <include name="jsr173_1.0_api.jar"/>
-    </patternset>
-    </unjar>
-    <move file="build/lib/jsr173_1.0_api.jar" tofile="build/lib/jsr173_api.jar"/>
-  </target>
-
-  <target name="check.jsr173_ri.jar">
-    <condition property="jsr173_ri.jar.exists">
-        <available file="build/lib/jsr173_ri.jar"/>
-    </condition>
-  </target>
-
-  <target name="jsr173_ri.jar" depends="jsr173.jar, check.jsr173_ri.jar" unless="jsr173_ri.jar.exists">
-    <unjar src="build/lib/jsr173.jar" dest="build/lib">
-      <patternset>
-        <include name="jsr173_1.0_ri.jar"/>
-    </patternset>
-    </unjar>
-    <move file="build/lib/jsr173_1.0_ri.jar" tofile="build/lib/jsr173_ri.jar"/>
-  </target>
-
-    <!-- get resolver.jar -->
-    <target name="check.xcresolver.zip">
-      <condition property="xcresolver.zip.exists">
-          <available file="build/lib/xcresolver.zip"/>
-      </condition>
-    </target>
-
-    <target name="xcresolver.zip" depends="check.xcresolver.zip, dirs" unless="xcresolver.zip.exists">
-      <get dest="build/lib/xcresolver.zip"
-           src="http://www.apache.org/dist/xml/commons/binaries/xml-commons-resolver-1.1.zip"
-           verbose="true" usetimestamp="true" ignoreerrors="true"/>
-    </target>
-
-    <target name="check.resolver.jar">
-      <condition property="resolver.jar.exists">
-          <available file="build/lib/resolver.jar"/>
-      </condition>
-    </target>
-
-    <target name="resolver.jar" depends="xcresolver.zip, check.resolver.jar" unless="resolver.jar.exists">
-      <unzip src="build/lib/xcresolver.zip" dest="build/lib/">
-        <patternset>
-          <include name="*/resolver.jar"/>
-      </patternset>
-      </unzip>
-      <move file="build/lib/xml-commons-resolver-1.1/resolver.jar" tofile="build/lib/resolver.jar"/>
-      <delete dir="build/lib/xml-commons-resolver-1.1" />
-      <delete file="build/lib/xcresolver.zip" />
-    </target>
-
-
-  <target name="xbean" depends="xbean.jar">
-    <copy file="build/lib/xbean.jar" tofile="build/ar/xbean.jar"/>
-  </target>
-
-  <target name="dirs">
-    <mkdir dir="build"/>
-    <mkdir dir="build/classes"/>
-    <mkdir dir="build/lib"/>
-    <mkdir dir="build/ar"/>
-    <mkdir dir="build/src"/>
-    <mkdir dir="build/private"/>
-    <mkdir dir="build/private/classes"/>
-    <mkdir dir="build/private/lib"/>
-    <mkdir dir="build/test/output"/>
-  </target>
-
-  <!--  <target name="default" depends="deploy, builddrt"/> -->
-  <target name="default" depends="deploy"/>
-  <target name="redeploy" depends="clean, deploy"/>
-
-  <!-- oldxbean.jar target =========================================== -->
-
-  <target name="oldxbean.jar">
-    <copy file="external/lib/oldxbean.jar" tofile="build/private/lib/oldxbean.jar"/>
-  </target>
-
-  <!-- bootstrap target ============================================== -->
-
-  <target name="bootstrap" depends="xbean">
-
-    <!-- after xbean.jar is built, move it out of the way and clean the project -->
-    <tempfile property="bootstrap.jarfile" prefix="oldxbean" suffix=".jar"/>
-    <move file="build/ar/xbean.jar" tofile="${bootstrap.jarfile}"/>
-    <antcall target="clean" inheritAll="false"/>
-
-    <!-- then move it back into place as oldxbean.jar and do another build -->
-    <move file="${bootstrap.jarfile}" tofile="build/private/lib/oldxbean.jar"/>
-    <antcall target="xbean" inheritAll="false"/>
-
-    <!-- compare the contents of the first jar to the contents of the second jar -->
-    <antcall target="zipcompare.classes" inheritAll="false"/>
-    <java classname="zipcompare.ZipCompare"
-          classpath="build/private/classes/zipcompare"
-          fork="true"
-          failonerror="true">
-      <arg line="build/ar/xbean.jar build/private/lib/oldxbean.jar"/>
-    </java>
-
-    <!-- when everything succeeds, check out oldxbean.jar from perforce -->
-    <echo message="==================================="/>
-    <echo message="Results match! Bootstrap succeeded."/>
-    <echo message="==================================="/>
-    <echo message="Attempting to copy oldxbean.jar"/>
-    <echo message="If the copy fails, you must check out oldxbean.jar"/>
-    <!-- copy oldxbean.jar whether or not perforce succeeded -->
-    <echo message="overwriting old external/lib/oldxbean.jar"/>
-    <copy file="build/private/lib/oldxbean.jar" tofile="external/lib/oldxbean.jar"/>
-  </target>
-
-  <target name="quickbootstrap">
-    <echo message="=========================================================="/>
-    <echo message="Bootstrapping currently built xbean.jar without verifying."/>
-    <echo message="=========================================================="/>
-    <copy file="build/ar/xbean.jar" tofile="external/lib/oldxbean.jar"/>
-  </target>
-
-
-  <!-- zipcompare (for checking bootstrap) ============================ -->
-
-  <target name="zipcompare.classes">
-    <mkdir dir="build/private/classes/zipcompare"/>
-    <javac srcdir="src/zipcompare"
-           source="${javac.source}" target="${javac.target}"
-           destdir="build/private/classes/zipcompare"
-           debug="on"/>
-  </target>
-
-  <!-- javadocs ====================================================== -->
-
-  <!-- All docs to build/docs, including guide and javadocs. -->
-
-  <target name="docs" depends="xbean">
-    <property name="docs.dir" value="build/docs"/>
-    <delete dir="${docs.dir}"/>
-    <mkdir dir="${docs.dir}"/>
-    <javadoc packagenames="*" sourcepath="src/xmlpublic" classpath="${javadoc.path}" destdir="${docs.dir}/reference" windowtitle="XMLBeans Documentation" source="${javac.source}" target="${javac.target}" stylesheetfile="docs/stylesheet.css">
-      <link href="http://e-docs.bea.com/wls/docs81/javadocs/"/>
-      <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
-      <link href="http://java.sun.com/j2ee/1.4/docs/api/"/>
-      <link href="http://xml.apache.org/xerces-j/apiDocs/"/>
-      <classpath>
-        <pathelement location="build/ar/xbean.jar"/>
-      </classpath>
-    </javadoc>
-    <copy file="docs/xmlbeans.css" tofile="${docs.dir}/xmlbeans.css" />
-    <copy todir="${docs.dir}/guide">
-      <fileset dir="docs/guide"/>
-    </copy>
-    <copy todir="${docs.dir}/images">
-      <fileset dir="docs/images"/>
-    </copy>
-  </target>
-
-
-  <target name="dist" depends="dist-src, dist-bin">
-  </target>
-
-  <target name="dist-bin" depends="xbean, docs">
-     <delete dir="build/private/xmlbeans-${product.version}"/>
-     <delete file="build/private/incubating-xmlbeans-${product.version}.zip"/>
-     <delete file="build/private/incubating-xmlbeans-${product.version}.tgz"/>
-
-     <mkdir dir="build/private/xmlbeans-${product.version}"/>
-     <copy todir="build/private/xmlbeans-${product.version}">
-        <fileset dir="xkit"/>
-        <fileset dir="." includes="bin/**"/>
-     </copy>
-     <copy todir="build/private/xmlbeans-${product.version}/schemas/s4s">
-        <fileset dir="src/xsdschema/schema" includes="XMLSchema.xsd"/>
-        <fileset dir="src/xmlschema/schema" includes="XML.xsd"/>
-     </copy>
-     <copy todir="build/private/xmlbeans-${product.version}/schemas">
-        <fileset dir="test/src" includes="easypo/*.xsd,easypo/*.xsdconfig"/>
-        <fileset dir="test/cases/schema" includes="cyclone/**/*.xsd,j2ee/*.xsd"/>
-     </copy>
-
-     <mkdir dir="build/private/xmlbeans-${product.version}/lib"/>
-     <copy todir="build/private/xmlbeans-${product.version}/lib" file="build/ar/xbean.jar"/>
-
-     <mkdir dir="build/private/xmlbeans-${product.version}/src/schema"/>
-     <copy todir="build/private/xmlbeans-${product.version}/src/schema">
-        <fileset dir="src/toolschema"/>
-     </copy>
-
-     <mkdir dir="build/private/xmlbeans-${product.version}/docs"/>
-     <copy todir="build/private/xmlbeans-${product.version}/docs">
-        <fileset dir="build/docs"/>
-     </copy>
-
-     <zip destfile="build/private/incubating-xmlbeans-${product.version}.zip"
-          basedir="build/private"
-          includes="xmlbeans-${product.version}/**"/>
-     <tar destfile="build/private/incubating-xmlbeans-${product.version}.tgz"
-          basedir="build/private"
-          includes="xmlbeans-${product.version}/**"
-          compression="gzip"/>
-  </target>
-
-  <target name="dist-src" depends="clean, dirs">
-     <delete file="build/private/incubating-xmlbeans-${product.version}-src.zip"/>
-	 <delete file="build/private/incubating-xmlbeans-${product.version}-src.tgz"/>
-
-	 <zip destfile="build/private/incubating-xmlbeans-${product.version}-src.zip">
-     	<zipfileset
-     		dir="."
-       		includes="**"
-       		excludes="build/**"
-       		prefix="xmlbeans-${product.version}"/>
-     </zip>
-	 <tar destfile="build/private/incubating-xmlbeans-${product.version}-src.tgz"
-	 	  compression="gzip">
-     	<tarfileset
-     		dir="."
-       		includes="**"
-       		excludes="build/**"
-       		prefix="xmlbeans-${product.version}"/>
-     </tar>
-  </target>
-
-  <target name="enum-support.jar"
-        depends="dirs, xmlpublic.classes, typeimpl.classes">
-    <jar jarfile="build/lib/enum-support.jar" index="false">
-      <fileset dir="build/classes/typeimpl/">
-        <include name="org/apache/xmlbeans/impl/values/XmlListImpl.class"/>
-        <include name="org/apache/xmlbeans/impl/values/XmlObjectBase.class"/>
-        <include name="org/apache/xmlbeans/impl/util/XsTypeConverter.class"/>
-      </fileset>
-      <fileset dir="build/classes/xmlpublic/">
-        <include name="org/apache/xmlbeans/XmlCalendar.class"/>
-      </fileset>
-    </jar>
-  </target>
-
-  <!-- previously in xbean.xml -->
-
-  <target name="xbean.jar"
-        depends="dirs, xmlpublic.classes, typestore.classes,
-                 common.classes, typeimpl.classes, xmlcomp.classes,
-                 xmlstore.classes, newstore2.classes,
-                 saaj_api.classes, binding.classes, marshal.classes, xpath.classes,
-                 oldxbean.jar, xsdschema.classes,
-                 xmlinputstream.classes, resolver.jar, xbean_xpath.jar">
-    <jar jarfile="build/lib/xbean.jar" index="true">
-      <fileset dir="build/classes/xmlpublic"/>
-      <fileset dir="build/classes/typestore"/>
-      <fileset dir="build/classes/common"/>
-      <fileset dir="build/classes/typeimpl"/>
-      <fileset dir="build/classes/xmlcomp"/>
-      <fileset dir="build/classes/configschema"/>
-      <fileset dir="build/classes/toolschema"/>
-      <fileset dir="build/classes/xsdschema"/>
-      <fileset dir="build/classes/xmlschema"/>
-      <fileset dir="build/classes/xmlstore"/>
-      <fileset dir="build/classes/newstore2"/>
-      <fileset dir="build/classes/saaj_api"/>
-      <fileset dir="build/classes/xmlinputstream"/>
-      <fileset dir="build/classes/binding"/>
-      <fileset dir="build/classes/marshal"/>
-      <fileset dir="build/classes/repackage"/>
-      <fileset dir="build/classes/jam"/>
-      <fileset dir="src/license"/>
-    </jar>
-  </target>
-
-  <!-- build XMLInputStream interface ============================================= -->
-
-  <target name="xmlinputstream.classes" depends="dirs">
-    <mkdir dir="build/classes/xmlinputstream"/>
-    <javac srcdir="src/xmlinputstream"
-        source="${javac.source}" target="${javac.target}"
-        destdir="build/classes/xmlinputstream"
-        debug="on"/>
-  </target>
-
-  <!-- xmlpublic target ============================================== -->
-
-  <target name="xmlpublic.classes" depends="dirs, xmlinputstream.classes, jsr173_api.jar">
-    <mkdir dir="build/classes/xmlpublic"/>
-    <javac srcdir="src/xmlpublic" destdir="build/classes/xmlpublic" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <target name="xmlpublic.jar" depends="dirs, xmlinputstream.classes, xmlpublic.classes, xmlschema.classes, xsdschema.classes">
-    <jar jarfile="build/lib/xmlpublic.jar"  index="true">
-      <fileset dir="build/classes/xmlpublic"/>
-      <fileset dir="build/classes/xmlschema"/>
-      <fileset dir="build/classes/xsdschema"/>
-    </jar>
-  </target>
-
-  <!-- typestore target ============================================== -->
-
-  <target name="typestore.classes" depends="dirs, xmlpublic.classes, common.classes, xmlinputstream.classes">
-    <mkdir dir="build/classes/typestore"/>
-    <javac srcdir="src/typestore" destdir="build/classes/typestore" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- common target ============================================= -->
-
-  <target name="common.classes" depends="dirs, xmlpublic.jar, xmlinputstream.classes, jsr173_api.jar">
-    <mkdir dir="build/classes/common"/>
-    <javac srcdir="src/common" destdir="build/classes/common" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/lib/xmlpublic.jar"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- typeimpl target ============================================== -->
-
-  <target name="typeimpl.classes" depends="dirs,  xmlstore.classes, newstore2.classes,
-      repackage.classes, xmlpublic.classes, typestore.classes, xsdschema.classes,
-      configschema.classes, toolschema.classes, jsr173_api.jar, jam">
-    <mkdir dir="build/classes/typeimpl"/>
-    <javac destdir="build/classes/typeimpl" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/classes/newstore2"/>
-        <pathelement location="build/classes/xmlstore"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/common"/>
-        <pathelement location="build/classes/repackage"/>
-        <pathelement location="build/classes/typestore"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/xmlconfig"/>
-        <pathelement location="build/classes/configschema"/>
-        <pathelement location="build/classes/xsdschema"/>
-        <pathelement location="build/classes/jam"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-      </classpath>
-
-        <src path="src/typeimpl"/>
-        <src path="build/src/xmlschema"/>
-        <src path="build/src/xsdschema"/>
-        <src path="build/src/configschema"/>
-        <src path="build/src/toolschema"/>
-        <src path="src/xmlconfig"/>
-    </javac>
-
-    <!-- Need properties files for regex -->
-    <copy
-      todir="build/classes/typeimpl">
-      <fileset dir="src/typeimpl">
-        <exclude name="**/*.java"/>
-      </fileset>
-    </copy>
-  </target>
-
-  <!-- xmlcomp target =============================================== -->
-
-  <target name="xmlcomp.classes" depends="dirs, repackage.classes, typeimpl.classes, xmlpublic.classes, typestore.classes">
-    <mkdir dir="build/classes/xmlcomp"/>
-    <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-        <pathelement location="build/classes/repackage"/>
-        <pathelement location="build/classes/typeimpl"/>
-        <pathelement location="build/classes/xmlconfig"/>
-        <pathelement location="build/classes/configschema"/>
-        <pathelement location="build/classes/toolschema"/>
-        <pathelement location="build/classes/xsdschema"/>
-      </classpath>
-    </javac>
-
-  </target>
-  <!-- binding target =============================================== -->
-
-  <target name="binding.classes" depends="dirs, repackage.classes, typeimpl.classes, xmlpublic.classes, typestore.classes, configschema.classes, xmlcomp.classes, jam, jsr173.jar">
-    <mkdir dir="build/classes/binding"/>
-    <javac srcdir="src/binding" destdir="build/classes/binding" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/configschema"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-        <pathelement location="build/classes/repackage"/>
-        <pathelement location="build/classes/typeimpl"/>
-        <pathelement location="build/classes/typestore"/>
-        <pathelement location="build/classes/xmlconfig"/>
-        <pathelement location="build/classes/configschema"/>
-        <pathelement location="build/classes/toolschema"/>
-        <pathelement location="build/classes/xsdschema"/>
-        <pathelement location="build/classes/jam"/>
-        <pathelement location="build/classes/xmlcomp"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <target name='jam'>
-    <ant dir='${jam_root}' target='clean' inheritAll='false' />
-    <ant dir='${jam_root}' target='all' inheritAll='false' />
-    <move todir="build/classes/jam">
-      <fileset dir="build/${jam_root}/classes" />
-    </move>
-    <delete dir='build/${jam_root}'/>
-
-<!-- build new jam as well -->
-<!-- remove this once jam_old is dead and jam_root is just 'jam' -->
-    <ant dir='jam' target='clean' inheritAll='false' />
-    <ant dir='jam' target='all' inheritAll='false' />
-    <move todir="build/classes/jam">
-      <fileset dir="build/jam/classes" />
-    </move>
-    <delete dir='build/jam'/>
-
-
-  </target>
-
-  <!-- marshal target =============================================== -->
-
-  <target name="marshal.classes" depends="dirs, binding.classes, typeimpl.classes, xmlpublic.classes, jsr173_api.jar">
-    <mkdir dir="build/classes/marshal"/>
-    <javac srcdir="src/marshal" destdir="build/classes/marshal" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/configschema"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-        <pathelement location="build/classes/binding"/>
-        <pathelement location="build/classes/typeimpl"/>
-	<pathelement location="build/classes/newstore2"/>
-      </classpath>
-    </javac>
-  </target>
-
-
-  <!-- xmlstore target ============================================== -->
-
-  <target name="xmlstore.classes"
-        depends="dirs, common.classes, typestore.classes, xmlpublic.classes">
-    <mkdir dir="build/classes/xmlstore"/>
-    <javac srcdir="src/xmlstore" destdir="build/classes/xmlstore" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath id="xmlstore.compile.path">
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/typestore"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- saaj_api target ============================================== -->
-
-  <target name="saaj_api.classes" depends="dirs">
-    <mkdir dir="build/classes/saaj_api"/>
-    <javac srcdir="src/saaj_api" destdir="build/classes/saaj_api" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath id="saaj_api.compile.path">
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- newstore2 target ============================================== -->
-
-  <target name="newstore2.classes"
-        depends="dirs, common.classes, xmlpublic.classes, typestore.classes, saaj_api.classes">
-    <mkdir dir="build/classes/newstore2"/>
-    <javac srcdir="src/newstore2" destdir="build/classes/newstore2" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath id="newstore2.compile.path">
-        <pathelement location="build/classes/typestore"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/classes/xmlinputstream"/>
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/common"/>
-        <pathelement location="build/classes/saaj_api"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- bootstrap schema target support ================================ -->
-
-
-  <!-- xsdschema target =============================================== -->
-
-  <!-- Note that this is a tricky target because it bootstraps xbeans on itself. -->
-  <!-- The basic strategy is to rely on the oldxbeans.jar checked into external/lib -->
-
-  <path id="bootstrap.run.path">
-    <pathelement location="build/private/lib/oldxbean.jar"/>
-    <pathelement location="build/lib/jsr173_api.jar"/>
-  </path>
-
-  <path id="bootstrap.compile.path">
-    <pathelement location="build/classes/xmlpublic"/>
-    <pathelement location="build/lib/jsr173_api.jar"/>
-  </path>
-
-  <property name="bootstrap.compile.path" refid="bootstrap.compile.path"/>
-
-  <path id="xsdschema.compile.path">
-    <pathelement location="build/classes/xmlschema"/>
-    <pathelement location="build/classes/xmlpublic"/>
-  </path>
-
-  <property name="xsdschema.compile.path" refid="xsdschema.compile.path"/>
-
-  <target name="xsdschema.check">
-    <condition property="xsdschema.notRequired">
-        <uptodate property="xsdschema.notRequired" targetfile="build/classes/xsdschema/schema/system/sXMLSCHEMA/index.xsb">
-          <srcfiles dir="src/xsdschema" includes="**/*.xsd"/>
-        </uptodate>
-    </condition>
-  </target>
-
-  <target name="xsdschema.classes" depends="xsdschema.check, xmlschema.classes, xmlpublic.classes, oldxbean.jar" unless="xsdschema.notRequired">
-    <delete dir="build/classes/xsdschema"/>
-    <delete dir="build/src/xsdschema"/>
-    <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="${repackage_arg} -name sXMLSCHEMA -cp ${xsdschema.compile.path} -srconly -d build/classes/xsdschema -noann -src build/src/xsdschema src/xsdschema/schema"/>
-    </java>
-  </target>
-
-  <!-- xmlschema target ============================================= -->
-
-  <!-- Note that this is a tricky target because it bootstraps xbeans on itself. -->
-  <!-- The basic strategy is to rely on the oldxbeans.jar checked into external/lib -->
-
-  <target name="xmlschema.check">
-    <condition property="xmlschema.notRequired">
-        <uptodate property="xmlschema.notRequired" targetfile="build/classes/xmlschema/schema/system/sXMLLANG/index.xsb">
-          <srcfiles dir="src/xmlschema" includes="**/*.xsd"/>
-        </uptodate>
-    </condition>
-  </target>
-
-  <target name="xmlschema.classes" depends="xmlschema.check, xmlpublic.classes, oldxbean.jar, jsr173_api.jar" unless="xmlschema.notRequired">
-    <delete dir="build/classes/xmlschema"/>
-    <delete dir="build/src/xmlschema"/>
-    <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="${repackage_arg} -name sXMLLANG -noann -d build/classes/xmlschema -src build/src/xmlschema -srconly src/xmlschema/schema"/>
-    </java>
-  </target>
-
-  <!-- xmlconfig target =============================================== -->
-
-  <target name="xmlconfig.classes" depends="dirs, xmlpublic.jar, configschema.classes">
-    <mkdir dir="build/classes/xmlconfig"/>
-    <javac srcdir="src/xmlconfig" destdir="build/classes/xmlconfig" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/lib/xmlpublic.jar"/>
-        <pathelement location="build/classes/configschema"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <!-- configschema target ============================================= -->
-
-  <!-- Note that this is a tricky target because it bootstraps xbeans on itself. -->
-  <!-- The basic strategy is to rely on the oldxbeans.jar checked into external/lib -->
-
-  <property name="bootstrap.compile.path" refid="bootstrap.compile.path"/>
-
-  <target name="configschema.check">
-    <uptodate property="configschema.notRequired" targetfile="build/classes/configschema/schema/system/sXMLCONFIG/index.xsb">
-      <srcfiles dir="src/configschema" includes="**/*.xsd"/>
-    </uptodate>
-  </target>
-
-  <target name="configschema.classes" depends="configschema.check, xmlpublic.classes, oldxbean.jar" unless="configschema.notRequired">
-    <delete dir="build/classes/configschema"/>
-    <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="${repackage_arg} -name sXMLCONFIG -srconly -noann -src build/src/configschema -d build/classes/configschema src/configschema/schema"/>
-    </java>
-  </target>
-
-  <!-- toolschema target ============================================= -->
-
-  <!-- Note that this is a tricky target because it bootstraps xbeans on itself. -->
-  <!-- The basic strategy is to rely on the oldxbeans.jar checked into external/lib -->
-
-  <property name="bootstrap.compile.path" refid="bootstrap.compile.path"/>
-
-  <target name="toolschema.check">
-    <uptodate property="toolschema.notRequired" targetfile="build/classes/toolschema/schema/system/sXMLTOOLS/index.xsb">
-      <srcfiles dir="src/toolschema" includes="**/*.xsd"/>
-    </uptodate>
-  </target>
-
-  <target name="toolschema.classes" depends="toolschema.check, xmlpublic.classes, oldxbean.jar" unless="toolschema.notRequired">
-    <delete dir="build/classes/toolschema"/>
-    <mkdir dir="build/src/toolschema"/>
-    <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="${repackage_arg} -name sXMLTOOLS -srconly -noann -src build/src/toolschema -d build/classes/toolschema src/toolschema"/>
-    </java>
-  </target>
-
-
-    <!-- =========================== -->
-    <!-- =====   Repackaging  ====== -->
-    <!-- =========================== -->
-
-    <target name="edit_build_script">
-        <echo message="editing repackage build file: ${token} -->${replacement}"/>
-
-        <java classname="repackage.EditBuildScript" failonerror="true">
-            <arg value="${rp_target_dir}/build.xml"/>
-            <arg value="${token}"/>
-            <arg value="${replacement}"/>
-            <classpath>
-                <pathelement location="build/classes/repackage"/>
-            </classpath>
-        </java>
-    </target>
-
-    <property name="repackage_arg" value=""/>
-    <property name="schema_compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
-    <property name="bootstrap_schema_compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
-
-    <!--
-        Params to repackage are:
-
-            repackage_spec:
-
-                Of the form from_pkg_1:to_pkg_1;from_pkg_2:to_pkg_2 which specifies which packages
-                are to be converted which which which other packages.  Right now, there are two.
-                org.apache.xmlbeans and apache.xmlbeans.impl, the public and implementation
-                packages.
-
-            new_schema_compiler
-
-                The name of the class which will new the new schema compiler.  Will replace
-                ${schema_compiler} during the bootstrap process.
-
-            rp_source_dir
-
-                From where the sources come...
-
-            rp_target_dir
-
-                To where the repackaged sources are built
-    -->
-
-
-    <target name="repackage" depends="repackage.classes">
-
-        <echo message="Re-packaging XmlBeans"/>
-
-        <property
-            name="new_repackage_arg"
-            value="-repackage ${repackage_spec}"/>
-
-        <java classname="repackage.Repackage" fork="true" failonerror="true">
-            <classpath>
-                <pathelement location="build/classes/repackage"/>
-            </classpath>
-            <arg line="${new_repackage_arg} -f ${rp_source_dir} -t ${rp_target_dir}"/>
-        </java>
-
-        <antcall target="edit_build_script">
-            <param name="token"       value="repackage_arg"/>
-            <param name="replacement" value="${new_repackage_arg}"/>
-        </antcall>
-
-        <antcall target="edit_build_script">
-            <param name="token"       value="schema_compiler"/>
-            <param name="replacement" value="${new_schema_compiler}"/>
-        </antcall>
-
-        <ant dir="${rp_target_dir}" target="xbean" inheritAll="false"/>
-
-
-
-        <antcall target="edit_build_script">
-            <param name="token"       value="bootstrap_schema_compiler"/>
-            <param name="replacement" value="${new_schema_compiler}"/>
-        </antcall>
-
-        <ant dir="${rp_target_dir}" target="quickbootstrap" inheritAll="false"/>
-
-    </target>
-
-    <target name="repackage.classes">
-        <mkdir dir="build/classes/repackage"/>
-        <javac srcdir="src/repackage" destdir="build/classes/repackage" source="${javac.source}" target="${javac.target}" debug="on"/>
-    </target>
-
-  <!-- xpath target ============================================= -->
-
-  <target name="xpath.classes" depends="dirs, xmlpublic.jar, xmlstore.classes">
-    <mkdir dir="build/classes/xpath"/>
-    <javac
-       srcdir="src/xpath"
-       destdir="build/classes/xpath"
-       classpathref="xpath.compile.path"
-       source="${javac.source}" target="${javac.target}"
-       debug="on">
-      <classpath id="xpath.compile.path">
-        <pathelement location="build/classes/xmlpublic"/>
-        <pathelement location="build/classes/xmlstore"/>
-        <pathelement location="external/lib/jaxen-1.1-beta-2.jar"/>
-      </classpath>
-    </javac>
-  </target>
-
-    <target name="xbean_xpath.jar" depends="dirs, xpath.classes">
-        <unjar src="external/lib/jaxen-1.1-beta-2.jar" dest="build/classes/xpath" />
-        <jar jarfile="build/lib/xbean_xpath.jar" basedir="build/classes/xpath"/>
-    </target>
-
-
-  <!-- TEST Targets ===================================================== -->
-  <!-- All targets hook up into testbuild.xml -->
-  <property name="testbuild.file" value="testbuild.xml"/>
-
-  <target name="testbuild">
-    <ant antfile="${testbuild.file}" target="build"/>
-  </target>
-
-  <target name="build.tools">
-    <ant antfile="${testbuild.file}" target="build.test.tools"/>
-  </target>
-
-  <target name="build.schemas">
-    <ant antfile="${testbuild.file}" target="build.schemas"/>
-  </target>
-
-  <target name="build.tests">
-    <ant antfile="${testbuild.file}" target="build.tests"/>
-  </target>
-
-  <target name="testclean">
-    <ant antfile="${testbuild.file}" target="clean"/>
-  </target>
-
-  <target name="clean.schemas">
-    <ant antfile="${testbuild.file}" target="clean.schemas"/>
-  </target>
-
-  <target name="clean.tests">
-    <ant antfile="${testbuild.file}" target="clean.tests"/>
-  </target>
-
-  <target name="clean.cc">
-    <ant antfile="${testbuild.file}" target="clean.cc"/>
-  </target>
-
-  <target name="run.junit">
-    <ant antfile="${testbuild.file}" target="run.junit"/>
-  </target>
-
-  <target name="checkintest">
-    <ant antfile="${testbuild.file}" target="checkin"/>
-  </target>
-
-  <target name="detailed">
-    <ant antfile="${testbuild.file}" target="detailed"/>
-  </target>
-
-
-
- <!-- test marshal target ============================================= -->
-
-   <target name="test_marshal.classes" depends="marshal.classes">
-          <mkdir dir="build/private/classes/marshal"/>
-          <javac
-              srcdir="test/cases/xbean/marshal"
-              destdir="build/private/classes/marshal"
-              source="${javac.source}" target="${javac.target}"
-              debug="on">
-              <classpath>
-                  <pathelement location="build/classes/binding"/>
-                  <pathelement location="build/classes/marshal"/>
-                  <pathelement location="build/classes/common"/>
-                  <pathelement location="build/classes/configschema"/>
-                  <pathelement location="build/classes/typeimpl"/>
-                  <pathelement location="build/classes/xmlinputstream"/>
-                  <pathelement location="build/classes/xmlpublic"/>
-                  <pathelement location="build/lib/jsr173_api.jar"/>
-                  <pathelement location="build/lib/xmlpublic.jar"/>
-              </classpath>
-          </javac>
-   </target>
-
-   <path id="test.compile.path">
-   	<pathelement location="build/classes/binding"/>
-	<pathelement location="build/classes/marshal"/>
-	<pathelement location="build/classes/common"/>
-       <pathelement location="external/lib/junit.jar"/>
-       <pathelement location="build/ar/xbean.jar"/>
-       <pathelement location="build/lib/jsr173_api.jar"/>
-       <pathelement location="build/private/classes/marshal"/>
-       <pathelement location="build/classes/xmlinputstream"/>
-     </path>
-
-     <path id="test.run.path">
-       <pathelement location="build/ar/xbean.jar"/>
-       <pathelement location="external/lib/junit.jar"/>
-  </path>
-
-
-   <target name="marshal-drt" depends="drt.jar, runmarshal-drt"/>
-   <path id="run.marshal.drt">
-      <pathelement location="external/lib/junit.jar"/>
-          <pathelement location="build/ar/xbean.jar"/>
-          <pathelement location="build/lib/jsr173_api.jar"/>
-          <pathelement location="build/lib/jsr173_ri.jar"/>
-          <pathelement location="build/private/lib/drt.jar"/>
-          <pathelement location="build/private/classes/marshal"/>
-   </path>
-
-    <property name="drt.marshal.out" value="build/test/output/drt-marshal-product"/>
-     <target name="runmarshal-drt" >
-
-   	<junit fork="yes" printsummary="yes" haltonfailure="yes" showoutput="yes">
-        <jvmarg value="-ea"/>
-        <sysproperty key="xbean.rootdir" value="${basedir}"/>
-        <sysproperty key="treeasserts" value="true"/>
-        <classpath refid="run.marshal.drt"/>
-        <formatter type="plain"/>
-        <test name="drt.drtcases.MarshalTests" outfile="${drt.marshal.out}" />
-    	</junit>
-   </target>
-
-     <target name="binding-drt" depends="drt.jar, runbinding-drt"/>
-
-     <property name="drt.binding.out" value="build/test/output/drt-bind-product"/>
-     <target name="runbinding-drt" >
-
-   	<junit fork="yes" printsummary="yes" haltonfailure="yes" showoutput="yes">
-        <jvmarg value="-ea"/>
-        <sysproperty key="xbean.rootdir" value="${basedir}"/>
-        <sysproperty key="treeasserts" value="true"/>
-        <classpath>
-          <pathelement location="external/lib/junit.jar"/>
-          <pathelement location="build/ar/xbean.jar"/>
-          <pathelement location="build/lib/jsr173_api.jar"/>
-          <pathelement location="build/lib/jsr173_ri.jar"/>
-          <pathelement location="build/private/lib/drt.jar"/>
-        </classpath>
-        <formatter type="plain"/>
-        <test name="drt.drtcases.BindingTests" outfile="${drt.binding.out}" />
-    	</junit>
-   </target>
-
-
-
-
-   <target name="drt.classes" depends="dirs,test_marshal.classes, jsr173_ri.jar">
-       <mkdir dir="build/private/classes/drt"/>
-       <javac
-          destdir="build/private/classes/drt"
-          classpathref="test.compile.path"
-          source="${javac.source}" target="${javac.target}"
-          debug="on">
-         <src path="test/cases/xbean/marshal"/>
-         <src path="test/src/drt"/>
-      </javac>
-     </target>
-
-     <target name="drt.jar" depends="drt.classes">
-       <jar jarfile="build/private/lib/drt.jar" basedir="build/private/classes/drt"/>
-  </target>
-
-
-
-  <!-- =================================================================== -->
-  <!--
-  <target name="drt" depends="builddrt, rundrt, drtxpath"/>
-
-  <target name="rundrt" >
-    <echo message="Running random tester"/>
-    <java classname="Random" fork="true" failonerror="true">
-       <classpath>
-            <pathelement location="build/ar/xbean.jar"/>
-            <pathelement location="build/lib/jsr173_api.jar"/>
-            <pathelement location="build/private/lib/easypo.jar"/>
-            <pathelement location="build/private/lib/random.jar"/>
-       </classpath>
-       <jvmarg value="-ea"/>
-       <arg line="-seed 0 -i 20 -noquery"/>
-    </java>
-    -->
-
-    <!--
-    <echo message="Running xbean product drt tests"/>
-    <echo message="JUnit output being sent to build/test/output/drt-product.txt"/>
-    <junit fork="yes" printsummary="yes" haltonfailure="yes" showoutput="yes">
-      <jvmarg value="-ea"/>
-      <sysproperty key="xbean.rootdir" value="${basedir}"/>
-      <sysproperty key="treeasserts" value="true"/>
-      <classpath>
-        <pathelement location="external/lib/junit.jar"/>
-        <pathelement location="build/ar/xbean.jar"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/lib/jsr173_ri.jar"/>
-        <pathelement location="build/private/lib/drt.jar"/>
-        <pathelement location="build/private/lib/easypo.jar"/>
-        <pathelement location="build/private/lib/schemas.jar"/>
-        <pathelement location="build/private/lib/xstypes.jar"/>
-        <pathelement location="build/private/lib/enumtest.jar"/>
-        <pathelement location="build/private/classes/marshal"/>
-      </classpath>
-      <formatter type="plain"/>
-      <test name="drtcases.SmokeTests" outfile="build/test/output/drt-product" />
-    </junit>
-
-    <!- - Disabled, to enable update catalog test/cases/xmlcatalog/cat.xml
-    <antcall target="xmlcatalogTest" /- ->
-
-    <antcall target="extensionsTest" />
-  </target>
-  -->
-  <!--
-  <path id="xmlcatalogTest.run.path">
-    <pathelement location="build/lib/xbean.jar"/>
-    <pathelement location="build/lib/jsr173_api.jar"/>
-    <pathelement location="build/lib/resolver.jar"/>
-  </path>
-
-  <target name="xmlcatalogTest">
-    <echo message="___ XML Catalog Test ___"/>
-    <java classname="${schema_compiler}" classpathref="xmlcatalogTest.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-catalog test/cases/xmlcatalog/cat.xml -out build/private/lib/xmlcatalogTest.jar test/cases/xmlcatalog/includer1.xsd"/>
-    </java>
-    <echo message="___ XML Catalog Test :    PASSED"/>
-  </target>
-  -->
-  <!--
-  <target name='drtxpath' depends="xbean_xpath.jar">
-    <echo message="DRT: XPath Jaxen    - JUnit output being sent to build/test/output/drt-xpath.txt"/>
-    <junit fork="yes" printsummary="yes" haltonfailure="yes" showoutput="yes">
-      <jvmarg value="-ea"/>
-      <sysproperty key="xbean.rootdir" value="${basedir}"/>
-      <sysproperty key="treeasserts" value="true"/>
-      <classpath>
-        <pathelement location="external/lib/junit.jar"/>
-        <pathelement location="build/ar/xbean.jar"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-        <pathelement location="build/lib/jsr173_ri.jar"/>
-        <pathelement location="build/private/lib/drt.jar"/>
-        <pathelement location="build/lib/xbean_xpath.jar"/>
-      </classpath>
-      <formatter type="plain"/>
-      <test name="drtcases.JaxenXPathTests" outfile="build/test/output/drt-xpath"/>
-    </junit>
-  </target>
-
-  <target name="builddrt" depends="drt.jar, random.jar, eric"/>
-  -->
-  <!-- extensions test -->
-  <!--
-  <fileset id="extension.jars" dir="build/private/lib">
-    <include name="extensions.jar"/>
-    <include name="fixedAttrBean.jar"/>
-    <include name="averageCase.jar"/>
-    <include name="multInterfaces.jar"/>
-    <include name="readOnlyBean.jar"/>
-    <include name="ValueRestriction.jar"/>
-  </fileset>
-
-  <fileset id="xbean.jars" dir="build/lib">
-    <include name="xbean.jar"/>
-    <include name="jsr173_api.jar"/>
-    <include name="jsr173_ri.jar"/>
-  </fileset>
-
-  <path id="cpWithXbeanJars">
-      <fileset refid="xbean.jars" />
-      <!- - JAM needs tools.jar which should be on ${java.class.path} - ->
-      <pathelement path="${java.class.path}" />
-  </path>
-  -->
-  <!--
-  <target name="extensionsTest" depends="extensions.compile">
-    <echo message="JUnit output being sent to build/test/output/drt-extensions.txt"/>
-    <junit fork="yes" printsummary="yes" haltonfailure="yes" showoutput="yes">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="external/lib/junit.jar"/>
-        <pathelement location="build/private/lib/extensions.jar"/>
-        <pathelement location="build/test/extensionsuse"/>
-        <fileset refid="extension.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <formatter type="plain"/>
-      <test name="drtcases.ExtensionsTest" outfile="build/test/output/drt-extensions"/>
-    </junit>
-  </target>
-  -->
-  <!--The extensions use the bean types, compile first-->
-  <!--
-  <target name="simpleBeans.check">
-    <uptodate property="simpleBeans.notRequired" targetfile="build/private/lib/fixedAttrBean.jar">
-      <srcfiles dir="test/src/extensions" includes="**/*"/>
-      <srcfiles dir="test/src/extensionsuse" includes="**/*"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-  -->
-    <!--
-  <target name="build.simpleBeans" unless="simpleBeans.notRequired" depends="simpleBeans.check">
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/fixedAttrBean.jar test/src/extensions/fixedAttrBean/po.xsd"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/averageCase.jar test/src/extensions/averageCase/po.xsd"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/multInterfaces.jar test/src/extensions/multInterfaces/po.xsd"/>
-    </java>
-
-    <!- - **Pre/Post Handlers - ->
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/readOnlyBean.jar test/src/extensions/prePostFeature/readOnlyBean/po.xsd"/>
-    </java>
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/ValueRestriction.jar test/src/extensions/prePostFeature/ValueRestriction/company.xsd"/>
-    </java>
-
-  </target>
-
-  <target name="extensions.compile" depends="build.simpleBeans, simpleBeans.check" unless="simpleBeans.notRequired">
-    <mkdir dir="build/test/extensions"/>
-    <javac srcdir="test/src/extensions" destdir="build/test/extensions" debug="on" source="${javac.source}" target="${javac.target}">
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <fileset refid="extension.jars"/>
-      </classpath>
-    </javac>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/extensions.jar test/src/extensions/myPackage"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/fixedAttrBean.jar test/src/extensions/fixedAttrBean"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/averageCase.jar test/src/extensions/averageCase"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/multInterfaces.jar -src  build/private/lib/temp test/src/extensions/multInterfaces"/>
-    </java>
-
-    <!- -Pre Post Feature - ->
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/readOnlyBean.jar -src  build/private/lib/temp test/src/extensions/prePostFeature/readOnlyBean"/>
-    </java>
-
-    <java classname="${schema_compiler}" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <classpath>
-        <path refid="cpWithXbeanJars"/>
-        <pathelement location="build/test/extensions"/>
-      </classpath>
-      <arg line="-out build/private/lib/ValueRestriction.jar -src  build/private/lib/temp test/src/extensions/prePostFeature/ValueRestriction"/>
-    </java>
-
-
-    <mkdir dir="build/test/extensionsuse"/>
-    <javac srcdir="test/src/extensionsuse" destdir="build/test/extensionsuse" debug="on" source="${javac.source}" target="${javac.target}">
-      <classpath>
-        <fileset refid="xbean.jars"/>
-        <pathelement location="external/lib/junit.jar"/>
-        <fileset refid="extension.jars"/>
-        <pathelement location="build/test/extensionsuse"/>
-      </classpath>
-    </javac>
-  </target>
-  -->
-  <!-- eric test
-  <target name="eric" depends="erictest.jar"/>
-  -->
-
-  <!-- test target ================================================== -->
-  <!--
-  <path id="test.compile.path">
-    <pathelement location="external/lib/junit.jar"/>
-    <pathelement location="build/ar/xbean.jar"/>
-    <pathelement location="build/lib/jsr173_api.jar"/>
-    <pathelement location="build/private/lib/easypo.jar"/>
-    <pathelement location="build/private/lib/schemas.jar"/>
-    <pathelement location="build/private/lib/enumtest.jar"/>
-    <pathelement location="build/private/lib/xstypes.jar"/>
-    <pathelement location="build/private/classes/marshal"/>
-    <pathelement location="build/classes/xmlinputstream"/>
-  </path>
-
-  <path id="test.run.path">
-    <pathelement location="build/ar/xbean.jar"/>
-    <pathelement location="external/lib/junit.jar"/>
-  </path>
-  -->
-  <!-- builddrt target ============================================== -->
-  <!--
-  <target name="drt.classes" depends="dirs, easypo.jar, schemas.jar, xstypes.jar,
-        enumtest.jar, test_marshal.classes, jsr173_ri.jar">
-    <mkdir dir="build/private/classes/drt"/>
-    <javac
-       srcdir="test/src/drt"
-       destdir="build/private/classes/drt"
-       classpathref="test.compile.path"
-       source="${javac.source}" target="${javac.target}"
-       debug="on"/>
-  </target>
-
-  <target name="drt.jar" depends="drt.classes">
-    <jar jarfile="build/private/lib/drt.jar" basedir="build/private/classes/drt"/>
-  </target>
-  -->
-  <!-- stsschema (for testing) target ================================ -->
-
-  <path id="scomp.run.path">
-    <pathelement location="build/lib/xbean.jar"/>
-    <pathelement location="build/lib/jsr173_api.jar"/>
-  </path>
-
-  <target name="stsschema.check">
-    <uptodate property="stsschema.notRequired" targetfile="build/private/lib/stsschema.jar">
-      <srcfiles dir="test/src/stsschema" includes="**/*.xsd"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="stsschema.jar" depends="stsschema.check, dirs, xbean" unless="stsschema.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-out build/private/lib/stsschema.jar test/src/stsschema"/>
-    </java>
-  </target>
-
-  <!-- soaptest target ============================================ -->
-  <!--
-  <target name="soaptest.classes" depends="dirs, stsschema.jar">
-    <mkdir dir="build/private/classes/soaptest"/>
-    <javac srcdir="test/src/soaptest" destdir="build/private/classes/soaptest" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="external/lib/jdom.jar"/>
-        <pathelement location="external/lib/junit.jar"/>
-        <pathelement location="build/ar/xbean.jar"/>
-        <pathelement location="build/private/lib/stsschema.jar"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <target name="soaptest.jar" depends="soaptest.classes">
-    <jar jarfile="build/private/lib/soaptest.jar" basedir="build/private/classes/soaptest"/>
-  </target>
-  -->
-  <!-- erictest target ============================================= -->
-
-  <!--target name="erictest.classes" depends="dirs, xbean, ericschema.jar, jsr173_api.jar"-->
-  <!--
-  <target name="erictest.classes" depends="dirs, xbean, jsr173_api.jar">
-    <mkdir dir="build/private/classes/erictest"/>
-    <javac srcdir="test/src/erictest" destdir="build/private/classes/erictest" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/ar/xbean.jar"/>
-        <pathelement location="build/private/lib/ericschema.jar"/>
-        <pathelement location="build/lib/jsr173_api.jar"/>
-      </classpath>
-    </javac>
-  </target>
-
-  <target name="erictest.jar" depends="erictest.classes">
-    <jar jarfile="build/private/lib/erictest.jar" basedir="build/private/classes/erictest"/>
-  </target>
-  -->
-  <!-- random target ============================================= -->
-  <!--
-  <target name="random.classes" depends="dirs, xbean, easypo.jar">
-    <mkdir dir="build/private/classes/random"/>
-    <javac
-       srcdir="test/src/random"
-       destdir="build/private/classes/random"
-       classpathref="test.compile.path"
-       source="${javac.source}" target="${javac.target}"
-       debug="on"/>
-  </target>
-
-  <target name="random.jar" depends="random.classes">
-    <jar jarfile="build/private/lib/random.jar" basedir="build/private/classes/random"/>
-  </target>
-  -->
-  <!-- teststore target ============================================= -->
-  <!--
-  <target name="teststore.classes" depends="dirs">
-    <mkdir dir="build/private/classes/teststore"/>
-    <javac srcdir="test/src/teststore" destdir="build/private/classes/teststore" source="${javac.source}" target="${javac.target}" debug="on">
-      <classpath>
-        <pathelement location="build/private/classes/simpletypes"/>
-        <pathelement location="build/private/classes/xmlcomp"/>
-        <pathelement location="build/private/classes/typestore"/>
-        <pathelement location="build/private/classes/xmlpublic"/>
-        <pathelement location="build/private/classes/typeimpl"/>
-      </classpath>
-    </javac>
-
-  </target>
-
-  <target name="teststore.jar" depends="teststore.classes">
-    <jar jarfile="build/private/lib/teststore.jar" basedir="build/private/classes/teststore"/>
-  </target>
-  -->
-  <!-- simpletypes (for testing) target ============================= -->
-  <!--
-  <target name="simpletypes.check">
-    <uptodate property="simpletypes.notRequired" targetfile="build/private/lib/simpletypes.jar">
-      <srcfiles dir="test/cases/schema/simple" includes="**/*.xsd"/>
-      <srcfiles dir="build/private/lib" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="simpletypes.jar" depends="simpletypes.check, dirs" unless="simpletype.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-name schema.test.simple -out build/private/lib/simpletypes.jar test/cases/schema/simple"/>
-    </java>
-  </target>
-  -->
-  <!-- easypo (for testing) target ================================== -->
-  <!--
-  <target name="easypo.check">
-    <uptodate property="easypo.notRequired" targetfile="build/private/lib/easypo.jar">
-      <srcfiles dir="test/src/easypo" includes="**/*"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="easypo.jar" depends="easypo.check, dirs, xbean" unless="easypo.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-out build/private/lib/easypo.jar test/src/easypo"/>
-    </java>
-  </target>
-  -->
-  <!-- schemas (for testing) target ================================ -->
-  <!--
-  <target name="schemas.check">
-    <uptodate property="schemas.notRequired" targetfile="build/private/lib/schemas.jar">
-      <srcfiles dir="test/src/schemas" includes="**/*.xsd"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="schemas.jar" depends="schemas.check, dirs, xbean" unless="schemas.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-out build/private/lib/schemas.jar test/src/schemas"/>
-    </java>
-  </target>
-  -->
-  <!-- ericschema (for testing) target ================================ -->
-  <!--
-  <target name="ericschema.check">
-    <uptodate property="ericschema.notRequired" targetfile="build/private/lib/ericschema.jar">
-      <srcfiles dir="test/src/ericschema" includes="**/*.xsd"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="ericschema.jar" depends="ericschema.check, dirs, xbean" unless="ericschema.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-debug -src build/private/src -out build/private/lib/ericschema.jar test/src/ericschema"/>
-    </java>
-  </target>
-  -->
-  <!-- enumtest (for testing) target ================================= -->
-  <!--
-  <target name="enumtest.check">
-    <uptodate property="enumtest.notRequired" targetfile="build/private/lib/enumtest.jar">
-      <srcfiles dir="test/src/enumtest" includes="**/*.xsd"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="enumtest.jar" depends="enumtest.check, dirs, xbean" unless="enumtest.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-out build/private/lib/enumtest.jar test/src/enumtest"/>
-    </java>
-  </target>
-  -->
-  <!-- xstypes (for testing) target ================================= -->
-  <!--
-  <target name="xstypes.check">
-    <uptodate property="xstypes.notRequired" targetfile="build/private/lib/xstypes.jar">
-      <srcfiles dir="test/cases/schema/simple" includes="**/*.xsd"/>
-      <srcfiles dir="build/ar" includes="xbean.jar"/>
-    </uptodate>
-  </target>
-
-  <target name="xstypes.jar" depends="xstypes.check, dirs, xbean" unless="xstypes.notRequired">
-    <java classname="${schema_compiler}" classpathref="scomp.run.path" fork="true" failonerror="true">
-      <jvmarg value="-ea"/>
-      <arg line="-out build/private/lib/xstypes.jar test/src/xstypes"/>
-    </java>
-  </target>
-  -->
-
-  <!-- stream conformance tests ======================================= -->
-  <!--
-  <target name="streamtest.classes" depends="dirs">
-    <mkdir dir="build/private/classes/streamtest"/>
-    <javac
-      srcdir="test/src/streamtest"
-      destdir="build/private/classes/streamtest"
-      classpathref="test.compile.path"
-      source="${javac.source}" target="${javac.target}"
-      debug="on"/>
-  </target>
-
-  <target name="streamtest.jar" depends="streamtest.classes">
-    <jar jarfile="build/private/lib/streamtest.jar" basedir="build/private/classes/streamtest"/>
-  </target>
-
-  <path id="run.streamconf.path">
-    <path refid="test.run.path"/>
-    <pathelement location="build/private/classes/streamtest/"/>
-  </path>
-
-  <target name="streamconf" depends="streamtest.jar">
-    <java classname="streamtest.XmlStreamConformance"
-          classpathref="run.streamconf.path"
-          fork="true">
-      <jvmarg value="-ea"/>
-      <!- -arg line="test/cases/streamconf/small.xml" /- ->
-      <arg line="test/cases/streamconf/dtd.xml" />
-    </java>
-  </target>
-  -->
-
-
-  <!-- test xpath target ============================================= -->
-  <!--
-  <target name="test_xpath.classes" depends="dirs, xmlpublic.jar, jsr173_api.jar, xbean_xpath.jar">
-    <mkdir dir="build/private/classes/testxpath"/>
-    <javac
-       srcdir="test/src/xpath"
-       destdir="build/private/classes/testxpath"
-       classpathref="testxpath.compile.path"
-       source="${javac.source}" target="${javac.target}"
-       debug="on">
-      <classpath id="testxpath.compile.path">
-          <pathelement location="build/lib/xmlpublic.jar"/>
-          <pathelement location="build/lib/jsr173_api.jar"/>
-          <pathelement location="build/lib/xbean_xpath.jar"/>
-          <pathelement location="build/classes/xmlinputstream"/>
-      </classpath>
-    </javac>
-  </target>
-  -->
-  <!--
-  <target name="run_test_xpath" depends="test_xpath.classes, xbean_xpath.jar">
-    <java classname="org.apache.xmlbeans.impl.xpath.jaxen.XBeansDemo" fork="true" failonerror="true">
-      <classpath>
-          <pathelement location="build/lib/xbean.jar"/>
-          <pathelement location="build/lib/jsr173_api.jar"/>
-          <pathelement location="build/lib/xbean_xpath.jar"/>
-          <pathelement location="build/private/classes/testxpath"/>
-      </classpath>
-      <jvmarg value="-da"/>
-      <arg line='test/cases/xpath/much_ado.xml "PLAY/ACT/SCENE/SPEECH/SPEAKER"'/>
-    </java>
-  </target>
-  -->
-    <!-- test marshal target ============================================= -->
-    <!--
-    <target name="test_marshal.classes" depends="marshal.classes">
-        <mkdir dir="build/private/classes/marshal"/>
-        <javac
-            srcdir="test/cases/marshal"
-            destdir="build/private/classes/marshal"
-            classpathref="testmarshal.compile.path"
-            source="${javac.source}" target="${javac.target}"
-            debug="on">
-            <classpath id="testmarshal.compile.path">
-                <pathelement location="build/classes/binding"/>
-                <pathelement location="build/classes/marshal"/>
-                <pathelement location="build/classes/common"/>
-                <pathelement location="build/classes/configschema"/>
-                <pathelement location="build/classes/typeimpl"/>
-                <pathelement location="build/classes/xmlinputstream"/>
-                <pathelement location="build/classes/xmlpublic"/>
-                <pathelement location="build/lib/jsr173_api.jar"/>
-                <pathelement location="build/lib/xmlpublic.jar"/>
-            </classpath>
-        </javac>
-    </target>
-    -->
-    <!-- temporary build utils ... zieg =============
-    <target name='binding-test' depends='declare-tasks, jam'>
-        <mkdir dir='build/private/classes/marshal'/>
-        <java2schema
-            srcdir='test/cases/marshal'
-            includes='com/mytest/**/*.java'
-            destdir='build/private/classes/marshal'>
-        </java2schema>
-    </target>
-    <target name='declare-tasks'>
-        <taskdef name='java2schema'
-            classname='org.apache.xmlbeans.impl.binding.compile.Java2SchemaTask'>
-            <classpath>
-                <pathelement location="build/classes/binding"/>
-                <pathelement location="build/classes/compile"/>
-                <pathelement location="build/classes/jam"/>
-                <pathelement location="build/classes/common"/>
-                <pathelement location="build/classes/configschema"/>
-                <pathelement location="build/classes/typeimpl"/>
-                <pathelement location="build/classes/xmlinputstream"/>
-                <pathelement location="build/classes/xmlpublic"/>
-                <pathelement location="build/lib/jsr173_07_api.jar"/>
-                <pathelement location="build/lib/xmlpublic.jar"/>
-            </classpath>
-        </taskdef>
-    </target>
-    -->
-
-</project>
diff --git a/v2/docs/guide/antXmlbean.html b/v2/docs/guide/antXmlbean.html
deleted file mode 100644
index 736076f..0000000
--- a/v2/docs/guide/antXmlbean.html
+++ /dev/null
@@ -1,302 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html><!-- InstanceBegin template="file:///C|/p4/main/help/ide/en/Templates/Command.dwt" codeOutsideHTMLIsLocked="false" -->
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>xmlbean Ant Task</title>
-<!-- InstanceEndEditable -->
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-<!-- InstanceBeginEditable name="metatags" -->
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<!-- InstanceBeginEditable name="body" -->
-<div id=topictitle>
-  <H1 class=Title>xmlbean Ant Task</h1>
-</div>
-<div id=topictext>
-  <p>Compiles a set of XSD and/or WSDL files into XMLBeans. This is useful for
-    building an XMLBean JAR from XSD and WSDL files. If desired, the task can
-    also generate the source code that makes up the XMLBean type system specified
-    by the schema files.</p>
-  <p class="notepara"><b>Note:</b> This task depends on an external library not
-    included in the Ant distribution called xbean.jar. &nbsp;It can be found in
-    the XMLBeans developer kit at <a
- href="http://xml.apache.org/xmlbeans/" target="_blank">http://xml.apache.org/xmlbeans/</a>.
-    The build script will need to include a taskdef for xmlbean, which could look
-    like this:</p>
-</div>
-<blockquote>
-  <div class="notepara">
-    <pre class="notepara">&lt;taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpath="path/to/xbean.jar"/&gt;</pre>
-  </div>
-</blockquote>
-<div>
-<p>It is possible to refine the set of files that are being processed. This
-    can be done with the <span class="langinline">includes</span>, <span class="langinline">includesfile</span>,
-    <span class="langinline">excludes</span>, <span class="langinline">excludesfile</span>
-    and <span class="langinline">defaultexcludes</span> attributes. With the <span class="langinline">includes</span>
-    or <span class="langinline">includesfile</span> attribute you specify the
-    files you want to have included by using patterns. The <span class="langinline">exclude</span>
-    or <span class="langinline">excludesfile</span> attributes are used to specify
-    the files you want to have excluded. This is also done with patterns. And
-    finally with the <span class="langinline">defaultexcludes</span> attribute,
-    you can specify whether you want to use default exclusions or not. See the
-    section on <a
- href="http://ant.apache.org/manual/dirtasks.html#directorybasedtasks" target="_blank">directory
-    based tasks</a> in the <a href="http://ant.apache.org/manual/" target="_blank">Ant
-    documentation</a>, on how the inclusion/exclusion of files works, and how
-    to write patterns.</p>
-  <p>This task forms an implicit <a
- href="http://ant.apache.org/manual/CoreTypes/fileset.html" target="_blank">FileSet</a>
-    and supports all attributes of <code>&lt;fileset&gt;</code> (<code>dir</code>
-    becomes <code>basedir</code>) as well as the nested <code>&lt;include&gt;</code>,
-    <code>&lt;exclude&gt;</code> and <code>&lt;patternset&gt;</code> elements.</p>
-  <h3>Parameters</h3>
-  <table border="1" cellpadding="2" cellspacing="0">
-    <tbody>
-      <tr>
-        <td valign="top"><b>Attribute</b></td>
-        <td valign="top"><b>Description</b></td>
-        <td align="center" valign="top"><b>Required</b></td>
-      </tr>
-      <tr>
-        <td valign="top">schema</td>
-        <td valign="top">A file that points to either an individual schema file
-          or a directory of files. &nbsp;Not a path reference. &nbsp;If multiple
-          schema files need to be built together, use a nested fileset instead
-          of setting schema.</td>
-        <td align="center" valign="top">Yes, unless a fileset element is nested.</td>
-      </tr>
-      <tr>
-        <td valign="top">destfile</td>
-        <td valign="top">Define the name of the jar file created.&nbsp; For instance,
-          "myXMLBean.jar" will output the results of this task into a jar with
-          the same name.</td>
-        <td align="center" valign="top">No, default is "xmltypes.jar".</td>
-      </tr>
-      <tr>
-        <td valign="top">download</td>
-        <td valign="top">Set to true to permit the compiler to download URLs for
-          imports and includes.&nbsp; Defaults to false, meaning all imports and
-          includes must be copied locally.<br> </td>
-        <td align="center" valign="top">No, default is false.</td>
-      </tr>
-      <tr>
-        <td valign="top">failonerror</td>
-        <td valign="top"> Determines whether or not the ant target will continue
-          if the XMLBean creation encounters a build error.<br> </td>
-        <td align="center" valign="top">No, default is true.</td>
-      </tr>
-      <tr>
-        <td valign="top">verbose<br> </td>
-        <td valign="top">Controls the amount of build message output.<br> </td>
-        <td valign="top" align="center">No, default is true.</td>
-      </tr>
-      <tr>
-        <td valign="top">typesystemname<br> </td>
-        <td valign="top">The name of the package that the TypeSystemHolder class
-          should be generated in.&nbsp; Normally this should be left unspecified.
-          None of the XMLBeans are generated in this package. Use .xsdconfig files
-          to modify XMLBean package or class names.<br> </td>
-        <td valign="top" align="center">No<br> </td>
-      </tr>
-      <tr>
-        <td valign="top">classgendir<br> </td>
-        <td valign="top">Set a location to generate CLASS files into.<br> </td>
-        <td valign="top" align="center">No<br> </td>
-      </tr>
-      <tr>
-        <td valign="top">srconly<br> </td>
-        <td valign="top">A value of true means that only source will be generated.<br>
-        </td>
-        <td valign="top" align="center">No, default is false.</td>
-      </tr>
-      <tr>
-        <td valign="top">srcgendir<br> </td>
-        <td valign="top">Set a location to generate JAVA files into.<br> </td>
-        <td valign="top" align="center">No<br> </td>
-      </tr>
-      <tr>
-        <td valign="top">classpath</td>
-        <td valign="top">The classpath to use if schemas in the fileset import
-          definitions that are supplied by other compiled XMLBeans JAR files,
-          or if JAVA files are in the schema fileset. Also supports a nested classpath.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">classpathref</td>
-        <td valign="top">Adds a classpath, given as <a
- href="http://ant.apache.org/manual/using.html#references" target="_blank">reference</a>
-          to a path defined elsewhere.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">includes</td>
-        <td valign="top">Comma- or space-separated list of patterns of files that
-          must be included. All files are included when omitted.</td>
-        <td valign="top" align="center">No</td>
-      </tr>
-      <tr>
-        <td valign="top">includesfile</td>
-        <td valign="top">The name of a file. Each line of this file is taken to
-          be an include pattern.</td>
-        <td valign="top" align="center">No</td>
-      </tr>
-      <tr>
-        <td valign="top">excludes</td>
-        <td valign="top">Comma- or space-separated list of patterns of files that
-          must be excluded. No files (except default excludes) are excluded when
-          omitted.</td>
-        <td valign="top" align="center">No</td>
-      </tr>
-      <tr>
-        <td valign="top">excludesfile</td>
-        <td valign="top">The name of a file. Each line of this file is taken to
-          be an exclude pattern.</td>
-        <td valign="top" align="center">No</td>
-      </tr>
-      <tr>
-        <td valign="top">defaultexcludes</td>
-        <td valign="top">Indicates whether default excludes should be used or
-          not ("yes"/"no"). Default excludes are used when omitted.</td>
-        <td valign="top" align="center">No</td>
-      </tr>
-      <tr>
-        <td valign="top">debug</td>
-        <td valign="top">Indicates whether source should be compiled with debug
-          information; defaults to <code>off</code>. If set to <code>off</code>,
-          <code>-g:none</code> will be passed on the command line for compilers
-          that support it (for other compilers, no command line argument will
-          be used). If set to <code>true</code>, the value of the <code>debuglevel</code>
-          attribute determines the command line argument.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">debuglevel</td>
-        <td valign="top">Keyword list to be appended to the <code>-g</code> command-line
-          switch. This will be ignored by all implementations except <code>modern</code>
-          and <code>classic(ver &gt;= 1.2)</code>. Legal values are <code>none</code>
-          or a comma-separated list of the following keywords: <code>lines</code>,
-          <code>vars</code>, and <code>source</code>. If <code>debuglevel</code>
-          is not specified, by default, nothing will be appended to <code>-g</code>.
-          If <code>debug</code> is not turned on, this attribute will be ignored.
-        </td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">optimize</td>
-        <td valign="top">Indicates whether source should be compiled with optimization;
-          defaults to <code>off</code>.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">includeAntRuntime</td>
-        <td valign="top">Whether to include the Ant run-time libraries in the
-          classpath; defaults to <code>yes</code>.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">includeJavaRuntime</td>
-        <td valign="top">Whether to include the default run-time libraries from
-          the executing VM in the classpath; defaults to <code>no</code>.</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">fork</td>
-        <td valign="top">Whether to execute <code>javac</code> using the JDK compiler
-          externally; defaults to <code>yes</code>.</td>
-        <td align="center" valign="top">No, default is true</td>
-      </tr>
-      <tr>
-        <td valign="top">executable</td>
-        <td valign="top">Complete path to the <code>javac</code> executable to
-          use in case of <code>fork=&quot;yes&quot;</code>. Defaults to the compiler
-          of the Java version that is currently running Ant. Ignored if <code>fork=&quot;no&quot;</code></td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">memoryInitialSize</td>
-        <td valign="top">The initial size of the memory for the underlying VM,
-          if <code>javac</code> is run externally; ignored otherwise. Defaults
-          to the standard VM memory setting. (Examples: <code>83886080</code>,
-          <code>81920k</code>, or <code>80m</code>)</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">memoryMaximumSize</td>
-        <td valign="top">The maximum size of the memory for the underlying VM,
-          if <code>javac</code> is run externally; ignored otherwise. Defaults
-          to the standard VM memory setting. (Examples: <code>83886080</code>,
-          <code>81920k</code>, or <code>80m</code>)</td>
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">compiler</td>
-        <td valign="top">The compiler implementation to use. If this attribute
-          is not set, the value of the <code>build.compiler</code> property, if
-          set, will be used. Otherwise, the default compiler for the current VM
-          will be used.
-        <td align="center" valign="top">No</td>
-      </tr>
-      <tr>
-        <td valign="top">ignoreDuplicatesInNamespaces</td>
-        <td valign="top">Comma separated list of one or more namespaces
-        in which duplicate definitions are to be ignored.
-        </td>
-        <td align="center" valign="top">No</td>
-      </tr>
-    </tbody>
-  </table>
-  <h3>Example</h3>
-</div>
-<div id=topictext> Be sure to define the task in your script, like this:</div>
-<div>
-  <pre>&lt;taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpath="path/to/xbean.jar"</pre>
-  <p>The following builds all the schemas in the schemas directory and creates
-    a jar called &quot;Schemas.jar&quot;.</p>
-</div>
-<div>
-  <pre>
-&lt;xmlbean schema="schemas" destfile="Schemas.jar"/&gt;</pre>
-  The following compiles the schema &quot;ourSchema.xsd&quot; into the default
-  jar &quot;xmltypes.jar&quot;. &nbsp;If &nbsp;any imports and includes are defined
-  by remote URLs, they are downloaded during the build.
-  <div>
-    <pre>&lt;xmlbean schema="schemas/ourSchema.xsd" download="true"/&gt;</pre>
-  </div>
-  <div>
-    <h4>Using a fileset</h4>
-  </div>
-  <div>
-    <pre>&lt;xmlbean classgendir="${build.dir}" classpath="${class.path}"<br>      failonerror="true"&gt;<br>  &lt;fileset basedir="src" excludes="**/*.xsd"/&gt;<br>  &lt;fileset basedir="schemas" includes="**/*.*"/&gt;<br>&lt;/xmlbean&gt;</pre>
-  </div>
-  <div> Gathers all the files in the src directory except XSD files, along with
-    every file in the schemas directory, and compiles them. The fileset can include
-    schema files that refer to previously compiled schema components.&nbsp; The
-    fileset can also contain JAVA files.&nbsp; The classpath parameter defines
-    the classpath necessary to resolve compiled schema and java references.<br>
-    <br>
-    The built classes will go into ${build.dir}.</div>
-  <div>
-    <p class=relatedtopics>Related Topics</p>
-    <p>None.</p>
-  </div>
-</div>
-<!-- InstanceEndEditable -->
-</body>
-<!-- InstanceEnd --></html>
diff --git a/v2/docs/guide/conGettingStartedwithXMLBeans.html b/v2/docs/guide/conGettingStartedwithXMLBeans.html
deleted file mode 100644
index 48c98fd..0000000
--- a/v2/docs/guide/conGettingStartedwithXMLBeans.html
+++ /dev/null
@@ -1,519 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Getting Started with XMLBeans</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Getting Started with XMLBeans</h1>
-<div id="topictext"> 
-  <p>XMLBeans provides intuitive ways to handle XML that make it easier for you 
-    to access and manipulate XML data and documents in Java. </p>
-  <p>Characteristics of XMLBeans approach to XML:</p>
-</div>
-<ul>
-  <li> 
-    <div>It provides a familiar Java object-based view of XML data without losing 
-      access to the original, native XML structure.</div>
-  </li>
-  <li> 
-    <div>The XML's integrity as a document is not lost with XMLBeans. XML-oriented 
-      APIs commonly take the XML apart in order to bind to its parts. With XMLBeans, 
-      the entire XML instance document is handled as a whole. The XML data is 
-      stored in memory as XML. This means that the document order is preserved 
-      as well as the original element content with whitespace.</div>
-  </li>
-  <li> 
-    <div>With types generated from schema, access to XML instances is through 
-      JavaBean-like accessors, with get and set methods.</div>
-  </li>
-  <li> 
-    <div>It is designed with XML schema in mind from the beginning &#8212; XMLBeans 
-      supports all XML schema definitions.</div>
-  </li>
-  <li>Access to XML is fast.</li>
-</ul>
-<div> 
-  <p>The starting point for XMLBeans is XML schema. A schema (contained in an 
-    XSD file) is an XML document that defines a set of rules to which other XML 
-    documents must conform. The XML Schema specification provides a rich data 
-    model that allows you to express sophisticated structure and constraints on 
-    your data. For example, an XML schema can enforce control over how data is 
-    ordered in a document, or constraints on particular values (for example, a 
-    birth date that must be later than 1900). Unfortunately, the ability to enforce 
-    rules like this is typically not available in Java without writing custom 
-    code. XMLBeans honors schema constraints.</p>
-  <p class="notepara"><strong>Note:</strong> Where an XML schema defines rules 
-    for an XML document, an XML <em>instance</em> is an XML document that conforms 
-    to the schema.</p>
-  <p>You compile a schema (XSD) file to generate a set of Java interfaces that 
-    mirror the schema. With these types, you process XML instance documents that 
-    conform to the schema. You bind an XML instance document to these types; changes 
-    made through the Java interface change the underlying XML representation.</p>
-  <p>Previous options for handling XML include using XML programming interfaces 
-    (such as DOM or SAX) or an XML marshalling/binding tool (such as JAXB). Because 
-    it lacks strong schema-oriented typing, navigation in a DOM-oriented model 
-    is more tedious and requires an understanding of the complete object model. 
-    JAXB provides support for the XML schema specification, but handles only a 
-    subset of it; XMLBeans supports all of it. Also, by storing the data in memory 
-    as XML, XMLBeans is able to reduce the overhead of marshalling and demarshalling.</p>
-  <h1>Accessing XML Using Its Schema</h1>
-  <p>To get a glimpse of the kinds of things you can do with XMLBeans, take a 
-    look at an example using XML for a purchase order. The purchase order XML 
-    contains data exchanged by two parties, such as two companies. Both parties 
-    need to be able to rely on a consistent message shape, and a schema specifies 
-    the common ground. </p>
-  <p>Here's what a purchase order XML instance might look like.</p>
-  <pre>
-&lt;po:purchase-order xmlns:po="http://openuri.org/easypo"&gt;
-    &lt;po:customer&gt;
-        &lt;po:name&gt;Gladys Kravitz&lt;/po:name&gt;
-        &lt;po:address&gt;Anytown, PA&lt;/po:address&gt;
-    &lt;/po:customer&gt;
-    &lt;po:date&gt;2003-01-07T14:16:00-05:00&lt;/po:date&gt;
-    &lt;po:line-item&gt;
-        &lt;po:description&gt;Burnham's Celestial Handbook, Vol 1&lt;/po:description&gt;
-        &lt;po:per-unit-ounces&gt;5&lt;/po:per-unit-ounces&gt;
-        &lt;po:price&gt;21.79&lt;/po:price&gt;
-        &lt;po:quantity&gt;2&lt;/po:quantity&gt;
-    &lt;/po:line-item&gt;
-    &lt;po:line-item&gt;
-        &lt;po:description&gt;Burnham's Celestial Handbook, Vol 2&lt;/po:description&gt;
-        &lt;po:per-unit-ounces&gt;5&lt;/po:per-unit-ounces&gt;
-        &lt;po:price&gt;19.89&lt;/po:price&gt;
-        &lt;po:quantity&gt;2&lt;/po:quantity&gt;
-    &lt;/po:line-item&gt;
-&lt;po:shipper&gt;
-        &lt;po:name&gt;ZipShip&lt;/po:name&gt;
-        &lt;po:per-ounce-rate&gt;0.74&lt;/po:per-ounce-rate&gt;
-    &lt;/po:shipper&gt;
-&lt;/po:purchase-order&gt;</pre>
-  <p>This XML includes a root element, <span class="langinline">purchase-order</span>, 
-    that has three kinds of child elements: <span class="langinline">customer</span>, 
-    <span class="langinline">date</span>, <span class="langinline">line-item</span>, 
-    and <span class="langinline">shipper</span>. An intuitive, object-based view 
-    of this XML would provide an object representing the <span class="langinline">purchase-order</span> 
-    element, and it would have methods for getting the date and for getting subordinate 
-    objects for <span class="langinline">customer</span>, <span class="langinline">line-item</span>, 
-    and <span class="langinline">shipper</span> elements. Each of the last three 
-    would have its own methods for getting the data inside them as well.</p>
-  <h2>Looking at the Schema</h2>
-  <p>The following XML is the the schema for the preceding purchase order XML. 
-    It defines the XML's &quot;shape&quot; &#8212; what its elements are, what 
-    order they appear in, which are children of which, and so on.</p>
-</div>
-<div> 
-  <pre>
-&lt;xs:schema targetNamespace="http://openuri.org/easypo"
-    xmlns:po="http://openuri.org/easypo"
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    elementFormDefault="qualified"&gt;
-	
-    &lt;xs:element name="purchase-order"&gt;
-        &lt;xs:complexType&gt;
-            &lt;xs:sequence&gt;
-                &lt;xs:element name="customer" type="po:customer"/&gt;
-                &lt;xs:element name="date" type="xs:dateTime"/&gt;
-                &lt;xs:element name="line-item" type="po:line-item" minOccurs="0" maxOccurs="unbounded"/&gt;
-                &lt;xs:element name="shipper" type="po:shipper" minOccurs="0"/&gt;
-            &lt;/xs:sequence&gt;
-        &lt;/xs:complexType&gt;
-    &lt;/xs:element&gt;
-    &lt;xs:complexType name="customer"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="name" type="xs:string"/&gt;
-            &lt;xs:element name="address" type="xs:string"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:complexType name="line-item"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="description" type="xs:string"/&gt;
-            &lt;xs:element name="per-unit-ounces" type="xs:decimal"/&gt;
-            &lt;xs:element name="price" type="xs:double"/&gt;
-            &lt;xs:element name="quantity" type="xs:int"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:complexType name="shipper"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="name" type="xs:string"/&gt;
-            &lt;xs:element name="per-ounce-rate" type="xs:decimal"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-&lt;/xs:schema&gt;</pre>
-  <div> 
-    <p>This schema describes the purchase order XML instance by defining the following:</p>
-  </div>
-  <ul>
-    <li> 
-      <div>Definitions for three complex types &#8212; customer, line-item, and 
-        shipper. These are the types used for the children of the purchase-order 
-        element. In schema, a complex type is one that defines an element that 
-        may have child elements and attributes. The sequence element nested in 
-        the complex type lists its child elements.</div>
-      <p>These are also <em>global</em> types. They are global because they are 
-        at the top level of the schema (in other words, just beneath the <span class="langinline">schema</span> 
-        root element). This means that they may be referenced from anywhere else 
-        in the schema.</p>
-    </li>
-  </ul>
-</div>
-<div>
-  <ul>
-    <li>Use of simple types within the complex types. The name, address, and description 
-      elements (among others) are typed as simple types. As it happens, these 
-      are also <em>built-in</em> types. A built-in type (here, one with the &quot;xs&quot; 
-      prefix) is part of the schema specification. (The specification defines 
-      46 built-in types.)</li>
-    <li>A global element called purchase-order. This element definition includes 
-      a nested complex type definition that specifies the child elements for a 
-      purchase-order element. Notice that the complex type includes references 
-      to the other complex types defined in this schema.</li>
-  </ul>
-  <div></div>
-  <p>In other words, the schema defines types for the child elements and describes 
-    their position as subordinate to the root element, <span class="langinline">purchase-order</span>.</p>
-  <p>When you use the XMLBean compiler with an XSD file such as this one, you 
-    generate a JAR file containing the interfaces generated from the schema.</p>
-  <h2>Writing Java Code That Uses the Interfaces</h2>
-  <p>With the XMLBeans interfaces in your application, you can write code that 
-    uses the new types to handle XML based on the schema. Here's an example that 
-    extracts information about each of the ordered items in the purchase order 
-    XML, counts the items, and calculates a total of their prices. In particular, 
-    look at the use of types generated from the schema and imported as part of 
-    the <span class="langinline">org.openuri.easypo</span> package. </p>
-  <p>The <span class="langinline">printItems</span> method receives a <span class="langinline">File</span> 
-    object containing the purchase order XML file.</p>
-  <pre>
-package docs.xmlbeans;
-
-import java.io.File;
-import org.apache.xmlbeans.*;
-import org.openuri.easypo.PurchaseOrderDocument;
-import org.openuri.easypo.PurchaseOrder;
-import org.openuri.easypo.LineItem;
-
-public class POHandler 
-{
-    public static void printItems(File po) throws Exception 
-    {
-        /*
-         * All XMLBeans schema types provide a nested Factory class you can
-         * use to bind XML to the type, or to create new instances of the type.
-         * Note that a "Document" type such as this one is an XMLBeans 
-         * construct for representing a global element. It provides a way
-         * for you to get and set the contents of the entire element.
-         *
-         * Also, note that the parse method will only succeed if the 
-         * XML you're parsing appears to conform to the schema.
-         */
-        PurchaseOrderDocument poDoc =
-            PurchaseOrderDocument.Factory.parse(po);
-
-        /*
-         * The PurchaseOrder type represents the purchase-order element's
-         * complex type.
-         */
-        PurchaseOrder po = poDoc.getPurchaseOrder();
-
-        /*
-         * When an element may occur more than once as a child element,
-         * the schema compiler will generate methods that refer to an 
-         * array of that element. The line-item element is defined with
-         * a maxOccurs attribute value of "unbounded", meaning that 
-         * it may occur as many times in an instance document as needed.
-         * So there are methods such as getLineItemArray and setLineItemArray. 
-         */
-        LineItem[] lineitems = po.getLineItemArray();
-        System.out.println("Purchase order has " + lineitems.length + " line items.");
-
-        double totalAmount = 0.0;
-        int numberOfItems = 0;
-
-        /*
-         * Loop through the line-item elements, using generated accessors to 
-         * get values for child elements such a description, quantity, and
-         * price.
-         */
-        for (int j = 0; j < lineitems.length; j++) 
-        {
-            System.out.println(" Line item: " + j);
-            System.out.println(
-                "   Description: " + lineitems[j].getDescription());
-            System.out.println("   Quantity: " + lineitems[j].getQuantity());
-            System.out.println("   Price: " + lineitems[j].getPrice());
-            numberOfItems += lineitems[j].getQuantity();
-            totalAmount += lineitems[j].getPrice() * lineitems[j].getQuantity();
-        }
-        System.out.println("Total items: " + numberOfItems);
-        System.out.println("Total amount: " + totalAmount);
-    }
-}
-</pre>
-  <p>Notice that types generated from the schema reflect what's in the XML:</p>
-</div>
-<ul>
-  <li> 
-    <div>A <span class="langinline">PurchaseOrderDocument</span> represents the 
-      global root element.</div>
-  </li>
-  <li> 
-    <div>A <span class="langinline">getPurchaseOrder</span> method returns a <span class="langinline">PurchaseOrderDocument.PurchaseOrder</span> 
-      type that contains child elements, including <span class="langinline">line-item</span>. 
-      A <span class="langinline">getLineItemArray</span> method returns a <span class="langinline">LineItem</span> 
-      array containing the <span class="langinline">line-item</span> elements.</div>
-  </li>
-  <li>Other methods, such as <span class="langinline">getQuantity</span>, <span class="langinline">getPrice</span>, 
-    and so on, follow naturally from what the schema describes, returning corresponding 
-    children of the <span class="langinline">line-item</span> element.</li>
-  <li>The name of the package containing these types is derived from the schema's 
-    target namespace.</li>
-</ul>
-<div> 
-  <p>Capitalization and punctuation for generated type names follow Java convention. 
-    Also, while this example parses the XML from a file, other <span class="langinline">parse</span> 
-    methods support a Java <span class="langinline">InputStream</span> object, 
-    a <span class="langinline">Reader</span> object, and so on.</p>
-  <p>The preceding Java code prints the following to the console:</p>
-</div>
-<div> 
-  <pre>
-Purchase order has 3 line items.
- Line item 0
-   Description: Burnham's Celestial Handbook, Vol 1
-   Quantity: 2
-   Price: 21.79
- Line item 1
-   Description: Burnham's Celestial Handbook, Vol 2
-   Quantity: 2
-   Price: 19.89
-Total items: 4
-Total amount: 41.68</pre>
-  <h2>Creating New XML Instances from Schema</h2>
-  <p>As you've seen XMLBeans provides a &quot;factory&quot; class you can use 
-    to create new instances. The following example creates a new <span class="langinline">purchase-order</span> 
-    element and adds a <span class="langinline">customer</span> child element. 
-    It then inserts <span class="langinline">name</span> and <span class="langinline">address</span> 
-    child elements, creating the elements and setting their values with a single 
-    call to their <span class="langinline">set</span> methods.</p>
-  <pre>
-public PurchaseOrderDocument createPO()
-{
-&nbsp;&nbsp;&nbsp;&nbsp;PurchaseOrderDocument newPODoc = PurchaseOrderDocument.Factory.newInstance();
-&nbsp;&nbsp;&nbsp;&nbsp;PurchaseOrder newPO = newPODoc.addNewPurchaseOrder();
-&nbsp;&nbsp;&nbsp;&nbsp;Customer newCustomer = newPO.addNewCustomer();
-&nbsp;&nbsp;&nbsp;&nbsp;newCustomer.setName(&quot;Doris Kravitz&quot;);
-&nbsp;&nbsp;&nbsp;&nbsp;newCustomer.setAddress(&quot;Bellflower, CA&quot;);
-&nbsp;&nbsp;&nbsp;&nbsp;return newPODoc;
-}
-</pre>
-  <p>The following is the XML that results. Note that XMLBeans assigns the correct 
-    namespace based on the schema, using an &quot;ns1&quot; (or, &quot;namespace 
-    1&quot;) prefix. For practical purposes, the prefix itself doesn't really 
-    matter &#8212; it's the namespace URI (http://openuri.org/easypo) that defines 
-    the namespace. The prefix is merely a marker that represents it.</p>
-  <pre>&lt;ns1:purchase-order xmlns:ns1=&quot;http://openuri.org/easypo&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:customer&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:name&gt;Doris Kravitz&lt;/ns1:name&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:address&gt;Bellflower, CA&lt;/ns1:address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ns1:customer&gt;
-&lt;/ns1:purchase-order&gt;
-</pre>
-  <p>Note that all types (including those generated from schema) inherit from 
-    <span class="langinline">XmlObject</span>, and so provide a <span class="langinline">Factory</span> 
-    class. For an overview of the type system in which <span class="langinline">XmlObject</span> 
-    fits, see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support 
-    for Built-In Schema Types</a>. For reference information, see <a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject 
-    Interface</a>.</p>
-  <h1>XMLBeans Hierarchy</h1>
-  <p>The generated types you saw used in the preceding example are actually part 
-    of a hierarchy of XMLBeans types. This hierarchy is one of the ways in which 
-    XMLBeans presents an intuitive view of schema. At the top of the hierarchy 
-    is <span class="langinline">XmlObject</span>, the base interface for XMLBeans 
-    types. Beneath this level, there are two main type categories: generated types 
-    that represent user-derived schema types, and included types that represent 
-    built-in schema types.</p>
-  This topic has already introduced generated types. For more information, see 
-  <a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated from 
-  User-Derived Schema Types.</a> 
-  <h2>Built-In Type Support</h2>
-  <p>In addition to types generated from a given schema, XMLBeans provides 46 
-    Java types that mirror the 46 built-in types defined by the XML schema specification. 
-    Where schema defines <span class="langinline">xs:string</span>, <span class="langinline">xs:decimal</span>, 
-    and <span class="langinline">xs:int</span>, for example, XMLBeans provides 
-    <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></span>, 
-    <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</a></span>, 
-    and <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlInt.html">XmlInt</a></span>. 
-    Each of these also inherits from <span class="langinline">XmlObject</span>, 
-    which corresponds to the built-in schema type <span class="langinline">xs:anyType</span>.</p>
-  <p>XMLBeans provides a way for you to handle XML data as these built-in types. 
-    Where your schema includes an element whose type is, for example, <span class="langinline">xs:int</span>, 
-    XMLBeans will provide a generated method designed to return an <span class="langinline">XmlInt</span>. 
-    In addition, as you saw in the preceding example, for most types there will 
-    also be a method that returns a natural Java type such as <span class="langinline">int</span>. 
-    The following two lines of code return the <span class="langinline">quantity</span> 
-    element's value, but return it as different types.</p>
-  <pre>
-// Methods that return simple types begin with an "x".
-XmlInt xmlQuantity = lineitems[j].xgetQuantity();
-// Methods that return a natural Java type are unadorned.
-int javaQuantity = lineitems[j].getQuantity();
-</pre>
-  <p>In a sense both get methods navigate to the <span class="langinline">quantity</span> 
-    element; the <span class="langinline">getQuantity</span> method goes a step 
-    further and converts the elements value to the most appropriate natural Java 
-    type before returning it. (XMLBeans also provides a means for validating the 
-    XML as you work with it.)</p>
-  <p>If you know a bit about XML schema, XMLBeans types should seem fairly intuitive. 
-    If you don't, you'll learn a lot by experimenting with XMLBeans using your 
-    own schemas and XML instances based on them. </p>
-  <p>For more information on the methods of types generated from schema, see <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-    for Types Generated From Schema</a>. For more about the how XMLBeans represents 
-    built-in schema types, see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans 
-    Support for Built-In Schema Types</a>.</p>
-  <h1>Using XQuery Expressions</h1>
-  <p>With XMLBeans you can use XQuery to query XML for specific pieces of data. 
-    XQuery is sometimes referred to as &quot;SQL for XML&quot; because it provides 
-    a mechanism to access data directly from XML documents, much as SQL provides 
-    a mechanism for accessing data in traditional databases.</p>
-  <p>XQuery borrows some of its syntax from XPath, a syntax for specifying nested 
-    data in XML. The following example returns all of the <span class="langinline">line-item</span> 
-    elements whose <span class="langinline">price</span> child elements have values 
-    less than or equal to 20.00:</p>
-  <pre>
-PurchaseOrderDocument doc = PurchaseOrderDocument.Factory.parse(po);
-
-/*
- * The XQuery expression is the following two strings combined. They're
- * declared separately here for convenience. The first string declares
- * the namespace prefix that's used in the query expression; the second
- * declares the expression itself.
- */
-String nsText = "declare namespace po = 'http://openuri.org/easypo'";
-String pathText = "$this/po:purchase-order/po:line-item[po:price <= 20.00]";
-String queryText = nsText + pathText;
-
-XmlCursor itemCursor = doc.newCursor().execQuery(queryText);
-System.out.println(itemCursor.xmlText());
-</pre>
-  <p>This code creates a new cursor at the start of the document. From there, 
-    it uses the <span class="langinline">XmlCursor</span> interface's <span class="langinline">execQuery</span> 
-    method to execute the query expression. In this example, the method's parameter 
-    is an XQuery expression that simply says, &quot;From my current location, 
-    navigate through the <span class="langinline">purchase-order</span> element 
-    and retrieve those <span class="langinline">line-item</span> elements whose 
-    value is less than or equal to 20.00.&quot; The <span class="langinline">$this</span> 
-    variable means &quot;the current position.&quot;</p>
-  <p>For more information about XQuery, see <a href="http://www.w3.org/TR/xquery/" target="_blank">XQuery 
-    1.0: An XML Query Language</a> at the W3C web site.</p>
-  <h2>Using XML Cursors</h2>
-  <p>In the preceding example you may have noticed the <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span> 
-    interface. In addition to providing a way to execute XQuery expression, an 
-    XML cursors offers a fine-grained model for manipulating data. The XML cursor 
-    API, analogous to the DOM's object API, is simply a way to point at a particular 
-    piece of data. So, just like a cursor helps navigate through a word processing 
-    document, the XML cursor defines a location in XML where you can perform actions 
-    on the selected XML.</p>
-  <p>Cursors are ideal for moving through an XML document when there's no schema 
-    available. Once you've got the cursor at the location you're interested in, 
-    you can perform a variety of operations with it. For example, you can set 
-    and get values, insert and remove fragments of XML, copy fragments of XML 
-    to other parts of the document, and make other fine-grained changes to the 
-    XML document.</p>
-  <p>The following example uses an XML cursor to navigate to the <span class="langinline">customer</span> 
-    element's <span class="langinline">name</span> child element.</p>
-  <pre>
-PurchaseOrderDocument doc = 
-    PurchaseOrderDocument.Factory.parse(po);
-
-XmlCursor cursor = doc.newCursor();
-cursor.toFirstContentToken();
-cursor.toFirstChildElement();
-cursor.toFirstChildElement();
-System.out.println(cursor.getText());
-
-cursor.dispose();
-</pre>
-  <p>What's happening here? As with the earlier example, the code loads the XML 
-    from a <span class="langinline">File</span> object. After loading the document, 
-    the code creates a cursor at its beginning. Moving the cursor a few times 
-    takes it to the nested <span class="langinline">name </span> element. Once 
-    there, the getText method retrieves the element's value.</p>
-  <p>This is just an introduction to XML cursors. For more information about using 
-    cursors, see <a href="conNavigatingXMLwithCursors.html">Navigating XML with 
-    Cursors</a>.</p>
-  <h2>Where to Go Next</h2>
-</div>
-<ul>
-  <li> 
-    <div>XMLBeans provides intuitive ways to handle XML, particularly if you're 
-      starting with schema. If you're accessing XML that's based on a schema, 
-      you'll probably find it most efficient to access the XML through generated 
-      types specific to the schema. To do this, you begin by compiling the schema 
-      to generate interfaces. For more information on using XMLBeans types generated 
-      by compiling schema, see <a href="conJavaTypesGeneratedFromUserDerived.html">Java 
-      Types Generated From User-Derived Schema Types</a> and <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-      for Types Generated From Schema</a>.</div>
-  </li>
-  <li> 
-    <div>You might be interested in reading more about the type system on which 
-      XMLBeans is based, particularly if you're using types generated from schema. 
-      XMLBeans provides a hierarchical system of types that mirror what you find 
-      in the XML schema specification itself. If you're working with schema, you 
-      might find it helps to understand how these types work. For more information, 
-      see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support 
-      for Built-In Schema Types</a> and <a href="conIntroToTheSchemaTypeSystem.html">Introduction 
-      to Schema Type Signatures</a>.</div>
-  </li>
-  <li> 
-    <div>XMLBeans provides access to XML through XQuery, which borrows path syntax 
-      from XPath. With XQuery, you can specify specific fragments of XML data 
-      with or without schema. To learn more about using XQuery and XPath in XMLBeans, 
-      see <a href="conSelectingXMLwithXQueryPathXPath.html">Selecting XML with 
-      XQuery and XPath</a>.</div>
-  </li>
-  <li>You can use the <span class="langinline">XmlCursor</span> interface for 
-    fine-grained navigation and manipulation of XML. For more information, see 
-    <a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a>.</li>
-</ul>
-<div>
-  <p class="notepara"><strong>Note:</strong> The xbean.jar file that contains 
-    the XMLBeans library is fully functional as a standalone library.</p>
-  <h1>Related Topics</h1>
-  <p><a href="../../samples/navXMLBeansSamples.html">XMLBeans Samples</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conIntroToTheSchemaTypeSystem.html b/v2/docs/guide/conIntroToTheSchemaTypeSystem.html
deleted file mode 100644
index f0e85c7..0000000
--- a/v2/docs/guide/conIntroToTheSchemaTypeSystem.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Introduction to Schema Type Signatures</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Introduction to Schema Type Signatures</h1>
-<div id="topictext"> 
-  <p>When you compile schema, the API generated from your schema is integrated 
-    with the XMLBeans type system that represents the underlying XML schema. All 
-    together, these types make up the <em>schema type system</em> to which your 
-    code has access. When handling XML based on the schema, you typically call 
-    methods of the API generated when you compiled the schema. However, for the 
-    cases when you want to get information about the schema itself, you use the 
-    schema type system API.</p>
-  <p>In the XMLBeans API, you have access to the system itself through <a href="../reference/org/apache/xmlbeans/SchemaTypeSystem.html"><span class="langinline">SchemaTypeSystem</span></a> 
-    and related classes. These make up a kind of &quot;meta-API,&quot; or a view 
-    on the schema. You can use the schema type system API to discover the type 
-    system at run time. See the reference topic on that interface for an overview 
-    of the schema type system.</p>
-  <h2>Schema Type &quot;Signatures&quot;</h2>
-  <p>A schema is made up of schema components. Schema components are the pieces 
-    of a schema, such as a type definition, an element declaration, attribute 
-    declaration, and so on. To mirror these in the schema type system, a <a href="../reference/org/apache/xmlbeans/SchemaComponent.html"><span class="langinline">SchemaComponent</span></a> 
-    instance represents a component in the underlying schema; separate components 
-    have corresponding types. For example you would have a <span class="langinline"><a href="../reference/org/apache/xmlbeans/SchemaType.html">SchemaType</a></span> 
-    object for a <span class="langinline">CustomerType</span> your schema defined, 
-    or a <a href="../reference/org/apache/xmlbeans/SchemaGlobalElement.html"><span class="langinline">SchemaGlobalElement</span></a> 
-    object for a global <span class="langinline">PurchaseOrder</span> element. 
-    You would also have a <span class="langinline">SchemaType</span> for built-in 
-    schema types, such as <span class="langinline">xs:string</span> or <span class="langinline">xs:datetime</span>. 
-    XMLBean provides a &quot;signature&quot; to describe each type. You can retrieve 
-    this signature by calling the SchemaType class's <span class="langinline">toString</span> 
-    method.</p>
-  <p>The <span class="langinline">toString</span> method returns XMLBeans' version 
-    of a unique signature for a schema type. This string is useful for debugging 
-    because it describes a given type even when the type doesn't have a name. 
-  </p>
-  <p class="notepara"><strong>Note:</strong> It's important to remember that this 
-    signature is an XMLBeans convention, rather than a standard from the schema 
-    working group. The working group has not yet standardized a signature for 
-    XML schema types. As a result the signature you'll see from XMLBeans is subject 
-    to change &#8212; whatever the schema working group comes up with in the end 
-    (if anything) is probably what will be used by this API. In other words, don't 
-    write a program to decode the signature.</p>
-  <p>You can use the following description to understand how a signature is constructed.</p>
-</div>
-<ul>
-  <li> 
-    <div><strong>Global types.</strong> If the type has a name, it's a global 
-      type. The following form is used:</div>
-    <div> 
-      <div> 
-        <pre>T=&lt;localname&gt;@&lt;targetNamespace&gt;</pre>
-      </div>
-    </div>
-    <p>The &quot;T&quot; is for &quot;type,&quot; of course. &quot;localname&quot; 
-      is a convention used by qnames (qualified names), which include a local 
-      name and the namespace URI (if any). So an example might be:</p>
-    <pre>T=customer@openuri.org</pre>
-  </li>
-  <li><strong>Document types and global attribute types.</strong> These correspond 
-    to a special anonymous type containing one global element or attribute. These 
-    special types are generated by XMLBeans to represent global types declared 
-    with the &lt;element&gt; or &lt;attribute&gt; tag in schema. Because such 
-    types are types, but are declared as elements or attributes, they require 
-    special treatment. The following signature form is used: 
-    <div> 
-      <pre>
-D=&lt;document-element-name&gt;@&lt;targetNamespace&gt;
-R=&lt;attribute-type-name&gt;@&lt;targetNamespace&gt;
-</pre>
-      <div></div>
-    </div>
-    <div> 
-      <div>Note that these are also the signatures of a type returned by a FooDocument.type 
-        or FooAttribute.type method call.</div>
-    </div>
-  </li>
-  <li><strong>Anonymous types.</strong> If the type is anonymous, it is defined 
-    as an element or attribute, or within a further anonymous type. In this case, 
-    the signature is built by establishing the local context (in order words, 
-    what is the anonymous type nested in?). From the local context, the larger 
-    context is built recursively. In other words, the signature is built by giving 
-    not only the anonymous type itself, but also by describing its context. 
-    <p> The following rules are used for building a signature for an anonymous 
-      type. </p>
-    <ul>
-      <li> It might be an anonymous type defined inside a local element or attribute, 
-        which in turn is defined within something else: 
-        <p>If the element is <span class="langinline" style="langinline">form=&quot;qualified&quot;</span> 
-          (the usual default):</p>
-      </li>
-    </ul>
-  </li>
-  <blockquote> 
-    <div> 
-      <pre>E=&lt;eltname&gt;|&lt;signature of the type within which the elt is defined&gt;</pre>
-    </div>
-    <div>If the element is <span class="langinline" style="langinline">form=&quot;unqualified&quot;</span>:</div>
-    <div> 
-      <pre>U=&lt;eltname&gt;|&lt;signature of the type within which the elt is defined&gt;</pre>
-    </div>
-    <div>If the attribute is <span class="langinline" style="langline">form=&quot;unqualified&quot;</span> 
-      (the usual default):</div>
-    <div> 
-      <pre>A=&lt;attrname&gt;|&lt;signature of the type within the attr is defined&gt;</pre>
-    </div>
-    <div>if the attribute is <span class="langinline" style="langinline">form=&quot;qualified&quot;</span>:</div>
-    <div> 
-      <pre>Q=&lt;attrname&gt;|&lt;signature of the type within the attr is defined&gt;</pre>
-    </div>
-  </blockquote>
-  <ul>
-    <li>It might be an anonymous type defined a simple restriction, union, or 
-      list definition:</li>
-  </ul>
-  <blockquote> 
-    <div> 
-      <pre>M=#|&lt;signature of the containing union type&gt;</pre>
-      <p>(The # is a number indicating which union member it is, by source order 
-        &#8212; such as 0,1,2, etc.)</p>
-      <pre>B=|&lt;signature of the containing base type for a restriction&gt;</pre>
-      <pre>I=|&lt;signature of the containing list type&gt;</pre>
-    </div>
-  </blockquote>
-  <ul>
-    <li> 
-      <div> In the future if anonymous types are allowed in some other context, 
-        there may be more codes.</div>
-    </li>
-  </ul>
-</ul>
-<h2>An Example</h2>
-<p>So, for example, if you have a type that describes the list items within an 
-  attribute of an instance that looks like this:</p>
-<blockquote> 
-  <div> 
-    <pre> &lt;root mylist=&quot;432 999 143 123&quot;/&gt;</pre>
-  </div>
-</blockquote>
-<div> The schema, if done with lots of nested types, could look something like 
-  this:</div>
-<blockquote>
-  <div>
-    <pre>
-&lt;schema targetNamespace=&quot;myNamespace&quot; elementFormDefault=&quot;qualified&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name=&quot;root&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;complexType&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;attribute name=&quot;mylist&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;simpleType&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;list&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;simpleType&gt; &lt;!--This is the type that the signature is for --&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;restriction base=&quot;xs:nonNegativeInteger&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;totalDigits value=&quot;3&quot;/&gt;..
-</pre>
-  </div>
-</blockquote>
-<div> The signature for the simpleType indicated in the example would be:</div>
-<blockquote>
-  <pre>I=|A=mylist|E=root|D=root@myNamespace</pre>
-</blockquote>
-<div> 
-  <p>You could read this as: </p>
-</div>
-<blockquote>
-  <div>&quot;The type of the list item | within the type of the mylist attribute's 
-    type | within the type of the root element | within the document type for 
-    &lt;root&gt; documents | in the myNamespace namespace&quot;.</div>
-</blockquote>
-<div> 
-  <p>Note that the signature structure mirrors the Java class structure generated 
-    by XMLBeans when compiling the schema. In other words, if you were to compile 
-    a schema that included the preceding snippet, you would be able to access 
-    an instance of the schema with Java code like the following:</p>
-  <pre>SchemaType sType = RootDocument.Root.MyList.Item.type;</pre>
-</div>
-<p class="relatedtopics">Related Topics</p>
-<p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conJavaTypesGeneratedFromUserDerived.html b/v2/docs/guide/conJavaTypesGeneratedFromUserDerived.html
deleted file mode 100644
index c211246..0000000
--- a/v2/docs/guide/conJavaTypesGeneratedFromUserDerived.html
+++ /dev/null
@@ -1,458 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" --> 
-<title>Java Types Generated from Schema</title>
-<!-- InstanceEndEditable --> 
-
-<!--(Meta)==========================================================-->
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" --> 
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
- 
-<!--(Meta)==========================================================-->
-
-
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!--(Links)=========================================================-->
-<!--(Body)==========================================================--><!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" -->
-<h1> Java Types Generated from User-Derived Schema Types</h1>
-<div id="topictext"> 
-  <p>When you compile XML schema, the resulting API is made up of two categories 
-    of types: built-in types that mirror those in the schema specification and 
-    others that are generated from user-derived schema types. This topic provides 
-    an overview of the Java types generated for user-derived types, describing 
-    the methods the Java types provide. For more information about built-in types, 
-    see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support for 
-    Built-In Schema Types</a>. For specific information about the methods exposed 
-    by generated types, see <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-    for Generated Java Types</a>.</p>
-  <p>In general, an API generated from schema is an intuitive means to access 
-    XML instances based on the schema. You'll probably find that for most uses 
-    it's unnecessary to know the rules for generating it in order to use it. However, 
-    for those cases when it's unclear what's going on behind the scenes (or if 
-    you're just curious), this topic describes the rules.</p>
-  <p class="notepara"><strong>Note:</strong> The XMLBeans API also provides a 
-    way for you to get information <em>about </em>the type system itself &#8212; 
-    in other words, about the API and the underlying schema. For more information, 
-    see <a href="conIntroToTheSchemaTypeSystem.html">Introduction to Schema Type 
-    Signatures</a>.</p>
-  <p>Each of the types generated when you compile a schema is designed specifically 
-    for access to XML instances conforming to that part of the schema. Start by 
-    taking a look at a simple XML and schema example. The following schema describes 
-    an XML document to contain a stock price quote.</p>
-  <pre>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
-    &lt;xs:element name="price-quote"&gt;
-        &lt;xs:complexType&gt;
-            &lt;xs:sequence&gt;
-                &lt;xs:element name="stock-symbol" type="xs:string"/&gt;
-                &lt;xs:element name="stock-price" type="xs:float"/&gt;
-            &lt;/xs:sequence&gt;
-        &lt;/xs:complexType&gt;
-    &lt;/xs:element&gt;
-&lt;/xs:schema&gt;
-</pre>
-  <p>The following is an example of XML that conforms to this schema.</p>
-  <pre>&lt;price-quote&gt;
-    &lt;stock-symbol&gt;BEAS&lt;/stock-symbol&gt;
-    &lt;stock-price&gt;59.21&lt;/stock-price&gt;
-&lt;/price-quote&gt;</pre>
-  <p>When you compile this schema, you get two generated XMLBeans interfaces: 
-    <span class="langinline"> PriceQuoteDocument</span> and <span class="langinline">PriceQuoteDocument.PriceQuote</span>.</p>
-  <p>From the schema point of view, the generated <span class="langinline">PriceQuote</span> 
-    interface represents the <em>complex type</em> you see inside the schema's 
-    <span class="langinline">price-quote</span> element declaration. Looking at 
-    the XML instance, you can see that this complex type translates into a sequence 
-    of two elements, <span class="langinline">stock-symbol</span> and <span class="langinline">stock-price</span>. 
-    So it's not surprising that the <span class="langinline">PriceQuote</span> 
-    interface exposes methods such as <span class="langinline">getStockPrice</span> 
-    and <span class="langinline">setStockPrice</span> to set the value <span class="langinline">stock-price</span> 
-    element.</p>
-  <p>The <span class="langinline">PriceQuoteDocument</span> interface, on the 
-    other hand, represents the <span class="langinline">price-quote</span> <em>document</em> 
-    that contains the root <span class="langinline">price-quote</span> element. 
-    XMLBeans creates a special &quot;document&quot; type for global element types. 
-    A document type provides a way for you to get and set the value of the underlying 
-    type, here represented by <span class="langinline">PriceQuote</span>. The 
-    <span class="langinline">price-quote</span> element is considered a <em>global</em> 
-    element because it can be referenced from anywhere else in the schema. For 
-    global elements, the XMLBeans schema compiler generates an interface whose 
-    name ends with &quot;Document.&quot; This is because an XML schema has no 
-    way of defining a &quot;root&quot; element; any global element can be the 
-    root.</p>
-  <p>The following bit of Java code illustrates how you might use these interfaces 
-    to get the stock price contained in the XML.</p>
-  <pre>
-public static float getStockPrice(java.io.File orderXML) throws Exception 
-{
-    PriceQuoteDocument docXML = PriceQuoteDocument.Factory.parse(orderXML);
-    PriceQuote quoteXML = docXML.getPriceQuote();
-    float stockPrice = quoteXML.getStockPrice();
-    return stockPrice;
-}
-</pre>
-  <p>This code loads the XML from a <span class="langinline">File</span> object, 
-    converting the <span class="langinline">parse</span> method's return value 
-    to a <span class="langinline">PriceQuoteDocument</span> instance. It then 
-    uses this instance to get an instance of <span class="langinline">PriceQuote</span>. 
-    With <span class="langinline">PriceQuote</span>, the code extracts the stock 
-    price. </p>
-</div>
-<div> 
-  <div id="topictext"> 
-    <p>The XML schema specification provides a rich set of rules through which 
-      you can derive new types. When you generate interfaces from your schema, 
-      XMLBeans uses the schema's rules to determine how to generate interfaces. 
-      The following describes some of the guidelines by which this is done.</p>
-    <h2>Names for Interfaces</h2>
-    <p>Interfaces are generated for schema types (both simple and complex). Anonymous 
-      schema types result in inner interfaces inside the type interface in which 
-      they are defined. Their name comes from the element or attribute in which 
-      they is defined.</p>
-    <p>Names for schema types become Java-friendly names when the schema is compiled. 
-      In other words, names such as "price-quote" become "PriceQuote." In addition, 
-      a schema's XML namespace URIs become package names for XMLBean types generated 
-      from the schema. The way this name translation is done is described by section 
-      C of the Java API for XML Binding (JAXB) specification at <a href="http://java.sun.com/xml/downloads/jaxb.html" target="_blank"> 
-      http://java.sun.com/xml/jaxb.html.</a> </p>
-    <p>Here are a few examples:</p>
-    <table>
-      <tr> 
-        <td><strong>Schema Target Namespace</strong></td>
-        <td width="155"><strong>XML Localname</strong></td>
-        <td><strong>Fully-Qualified XMLBean Type Name</strong></td>
-      </tr>
-      <tr> 
-        <td>http://www.mycompany.com/2002/buyer</td>
-        <td width="155">purchase-order-4</td>
-        <td>com.mycompany.x2002.buyer.PurchaseOrder4</td>
-      </tr>
-      <tr> 
-        <td>http://myco.com/sample.html</td>
-        <td width="155">SampleDocument</td>
-        <td>com.myco.sample.SampleDocument</td>
-      </tr>
-      <tr> 
-        <td>http://openuri.org/test_case_1</td>
-        <td width="155">test_type</td>
-        <td>org.openuri.testCase1.TestType</td>
-      </tr>
-    </table>
-    <p>When there are name collisions, the generated types will have names with 
-      numerals appended&nbsp;— for example, "TestType2".</p>
-    <h2>Global Elements and Attributes</h2>
-    <p>In schema, global element and attribute definitions are those that are 
-      declared at the top level of the schema (that is, immediately within the 
-      <span class="langinline">schema</span> root element). Because they are global, 
-      they may be referenced from inside the schema by name. The <span class="langinline">creditReport</span> 
-      (not the <span class="langinline">creditReportType</span> complex type) 
-      element defined in the following schema is an example.</p>
-    <pre>
-&lt;xs:schema targetNamespace=&quot;http://openuri.org/samples/creditReport&quot; 
-    xmlns:cr=&quot;http://openuri.org/samples/creditReport&quot; 
-    xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
-    elementFormDefault=&quot;qualified&quot;
-    attributeFormDefault=&quot;unqualified&quot;&gt;
-    &lt;xs:complexType name=&quot;creditReportType&quot;&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name=&quot;bankReport&quot; type=&quot;xs:string&quot;/&gt;
-            &lt;xs:element name=&quot;taxReport&quot; type=&quot;xs:string&quot;/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:element name=&quot;creditReport&quot; type=&quot;cr:creditReportType&quot;/&gt;
-&lt;/xs:schema&gt;</pre>
-    <p>XMLBeans generates a separate interface for each of these. Also, global 
-      element and attribute types are somewhat unique in that the schema compiler 
-      will create special types to hold the globally defined element or attribute. 
-      The names of these types will be appended with &quot;Document&quot; (for 
-      elements) or &quot;Attribute&quot; (for attributes). You can retrieve the 
-      element or attribute itself (or create a new one) by calling the accessor 
-      methods that the special types provide. The following example would create 
-      a new instance of the creditReport element.</p>
-    <pre>
-// Create an instance of the special document type.
-CreditReportDocument reportDoc = CreditReportDocument.Factory.newInstance();
-/*
- * Use the document type to add a new creditReport element to the XML instance.
- * Note that the type returned by the addNewCreditReport method is the 
- * creditReportType complex type defined for it in schema.
- */
-CreditReportType report = reportDoc.addNewCreditReport();
-</pre>
-    <h2>Global User-Derived Types</h2>
-    <p>A <em>user-derived</em> type is one defined with a <span class="langinline">complexType</span> 
-      or <span class="langinline">simpleType</span> element in schema. User-derived 
-      types at the top level of a schema are global. XMLBeans generates an interface 
-      for each of these, as it does with global elements and attributes. These 
-      interfaces include methods through which you can get and set the type's 
-      values, including any nested derived types it may contain. The following 
-      schema snippet defines a user-derived complex type called <span class="langinline">itemType</span>, 
-      along with a <span class="langinline">priceType</span> that uses it as the 
-      type for an <span class="langinline">item</span> child element.</p>
-    <pre>
-&lt;xs:complexType name=&quot;itemType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;name&quot; type=&quot;xs:string&quot;/&gt;
-        &lt;xs:element name=&quot;amount&quot; type=&quot;xs:int&quot;/&gt;
-        &lt;xs:element name=&quot;price&quot; type=&quot;xs:double&quot;/&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-&lt;xs:complexType name=&quot;priceType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;item&quot; type=&quot;ps:itemType&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-&lt;xs:element name=&quot;price&quot; type=&quot;ps:priceType&quot;/&gt;
-</pre>
-    <p>By default, the generated Java type for <span class="langinline">itemType</span> 
-      would be an interface called <span class="langinline">ItemType</span>. With 
-      this type, you would be able to get and set the values of its <span class="langinline">name</span>, 
-      <span class="langinline">amount</span>, and <span class="langinline">price</span> 
-      child elements. However, a user-derived type (as opposed to an element or 
-      attribute) is always intended for use as the type to which an element or 
-      attribute is bound. In other words, it's contained by an element or attribute. 
-      While you can create a new instance of a user-derived type, the new instance's 
-      underlying XML is a fragment. As the generated API would make clear, the 
-      <span class="langinline">itemType</span> becomes the return type of a get 
-      method, or the parameter of a set method.</p>
-    <pre>
-// Create a new price document.
-PriceDocument priceDoc = PriceDocument.Factory.newInstance();
-PriceType price = priceDoc.getPrice();
-
-/* 
- * Create a new instance of ItemType and set the values of its
- * child elements.
- */
-ItemType item = ItemType.Factory.newInstance();
-item.setName(&quot;bicycle&quot;);
-item.setAmount(12);
-item.setPrice(560.00);
-
-/* 
- * Use the new ItemType instance to set the value of the 
- * price element's first item child element. Notice that the set method
- * here is an "Array" method. This is because the item element
- * is defined with a maxOccurs="unbounded" attribute. It can occur
- * many times as a child of price.
- */
-price.setItemArray(0, item);
-</pre>
-    <h2>Nested Elements and Derived Types</h2>
-    <p>When your schema includes named types that are declared locally—within 
-      the declaration of another element or type—the schema type's generated Java 
-      interface will be an inner interface within the type it's nested in.</p>
-    <p>For example, the following schema snippet defines <span class="langinline">name</span> 
-      and <span class="langinline">gender</span> elements nested within a <span class="langinline">person</span> 
-      complex type. In particular, note that the gender element is defined as 
-      deriving from the xs:NMTOKEN built-in type.</p>
-    <pre>
-&lt;xs:complexType name="person"&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name="name" type="xs:string"/&gt;
-        &lt;xs:element name="gender"&gt;
-            &lt;xs:simpleType&gt;
-                &lt;xs:restriction base="xs:NMTOKEN"&gt;
-                    &lt;xs:enumeration value="male"/&gt;
-                    &lt;xs:enumeration value="female"/&gt;
-                &lt;/xs:restriction&gt;
-            &lt;/xs:simpleType&gt;
-        &lt;/xs:element&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-</pre>
-    <p>The generated interfaces for person and gender would be organized in source 
-      something like the following. Of course, you wouldn't see the source, but 
-      you can see here that the Gender interface is nested with Person. Also, 
-      notice that it extends XmlNMTOKEN, mirroring the schema.</p>
-    <pre>public interface Person extends XmlObject
-{
-    public interface Gender extends XmlNMTOKEN
-    {
-        // Methods omitted for this example
-    }
-    // Methods omitted for this example
-}
-</pre>
-    <p>You could create a new instance of the <span class="langinline">Gender</span> 
-      type in this way (there are also various alternatives to this):</p>
-    <pre>
-// Create a new Person instance.
-Person person = Person.Factory.newInstance();
-/*
- * Set the gender element's value using the 
- * enumeration generated from the schema.
- */
-person.setGender(Gender.FEMALE);</pre>
-    <h2>User-Derived Simple Types</h2>
-    <p>In addition to the 46 built-in simple types in XML schema, a schema can 
-      include its own custom simple types using <span class="langinline">xs:simpleType</span> 
-      declarations. These user-derived simple types are always based on the built-in 
-      XML schema types. The built-in types can be modified by <em>restricting</em> 
-      them, taking <em>unions</em> of them, or making space-separated <em>lists</em> 
-      of them. Each XML simple type is translated into a Java type that provides 
-      access to the underlying data.</p>
-    <h3>Unions</h3>
-    <p>In schema, you can use <span class="langinline">xs:union</span> to specify 
-      a simple type that is allowed to contain values of a number of other simple 
-      types. XMLBeans generates a type for a union, just as it generates a type 
-      for any other schema type. At run time, you can discover the underlying 
-      type of an instance of a union type by calling the <span class="langinline">XmlObject</span> 
-      interface's <span class="langinline">instanceType</span> method. Once you 
-      have determined the type, you can cast an instance of a union type to the 
-      actual underlying instance type.</p>
-    <pre>
-&lt;xs:simpleType name=&quot;intOrString&quot;&gt;
-    &lt;xs:union memberTypes=&quot;xs:int xs:string&quot;&gt;
-&lt;/xs:simpleType&gt;
-</pre>
-    <p>Given the preceding schema snippet, you could set the intOrString value 
-      to, say, 6 or &quot;six&quot;. The union of <span class="langinline">xs:int</span> 
-      and <span class="langinline">xs:string</span> makes both allowable.</p>
-    <pre>
-// Create a new instance of the type.
-IntOrString intOrString = IntOrString.Factory.newInstance();
-intOrString.set(&quot;5&quot;);
-// This code prints "XmlInt" to the console.
-System.out.println(intOrString.instanceType().getShortJavaName());
-</pre>
-    <h3>Restrictions</h3>
-    <p>XML schema restrictions on simple XMLBeans types are enforced. So, for 
-      example, it is illegal to set a number outside its restricted range. </p>
-    <h4>Numeric Type Restrictions</h4>
-    <p>In schema, you can restrict numeric types to allow, for example, only a 
-      particular range of values. For such a restriction, XMLBeans tailors the 
-      resulting natural Java alternative. For example, suppose you have the following 
-      element defined in schema:</p>
-    <pre>
-&lt;xs:element name="number"&gt;
-    &lt;xs:simpleType&gt;
-        &lt;xs:restriction base="xs:integer"&gt;
-            &lt;xs:minInclusive value="1"/&gt;
-            &lt;xs:maxInclusive value="1000000"/&gt;
-        &lt;/xs:restriction&gt;
-    &lt;/xs:simpleType&gt;
-&lt;/xs:element&gt;
-</pre>
-    <p>The type is restricted from <span class="langinline">xs:integer</span>, 
-      but because the number's range is limited to between 1 and 1000000, it will 
-      fit into a Java <span class="langinline">int</span>. A <span class="langinline">long</span> 
-      or <span class="langinline">java.math.BigInteger</span> would be too big 
-      for the need. In other words, the <span class="langinline">getNumber</span> 
-      method generated for this type will return an <span class="langinline">int</span>, 
-      rather than a <span class="langinline">BigInteger</span> or a <span class="langinline">long</span>.</p>
-    <p>By the same token, an long can be compiled to an int if the totalDigits 
-      attribute is &lt;=9, or the min and max attribute values are within 32-bit 
-      2s complement range.</p>
-    <p>The single primitive XML type xs:decimal can be restricted in several ways 
-      that influence the resulting natural Java type. For example, it can be:</p>
-  </div>
-</div>
-<ul>
-  <li>
-    <div>
-      <div>Compiled to a <span class="langinline">BigInteger</span> if its <span class="langinline">fractionDigit</span> 
-        attribute is set to 0. </div>
-    </div>
-  </li>
-  <li>
-    <div>
-      <div>Compiled to a <span class="langinline">long</span> if its totalDigits 
-        attribute is &lt;=18, or the min and max are within 64-bit 2s complement 
-        range.</div>
-    </div>
-  </li>
-</ul>
-<div>
-  <div>
-    <h3>Enumerations</h3>
-    <p>In schema, you can derive a new type by restricting a built-in type so 
-      that only a finite set of values are allowable. Where schema does this by 
-      restricting <span class="langinline">xs:string</span>, XMLBeans generates 
-      a special <span class="langinline">Enum</span> type. With an <span class="langinline">Enum</span>, 
-      you can select the enumerated value either by its <span class="langinline">String</span> 
-      value or by a numeric index. The index's value is determined based on the 
-      <span class="langinline">String</span> value's order in the schema. Having 
-      an index can be useful in Java switch statements.</p>
-    <p>For example, suppose you had a document containing price elements whose 
-      type was the priceType defined in the following schema snippet:</p>
-    <pre>&lt;xs:complexType name=&quot;priceType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;item&quot; type=&quot;ps:itemType&quot; minOccurs=&quot;0&quot; 
-              maxOccurs=&quot;unbounded&quot;/&gt;
-    &lt;/xs:sequence&gt;
-    &lt;xs:attribute name=&quot;threshold&quot;&gt;
-        &lt;xs:simpleType&gt;
-            &lt;xs:restriction base=&quot;xs:string&quot;&gt;
-                &lt;xs:enumeration value=&quot;Below10Dollars&quot;/&gt;
-                &lt;xs:enumeration value=&quot;Between10And20Dollars&quot;/&gt;
-                &lt;xs:enumeration value=&quot;Above20Dollars&quot;/&gt;
-            &lt;/xs:restriction&gt;
-        &lt;/xs:simpleType&gt;
-    &lt;/xs:attribute&gt;
-&lt;/xs:complexType&gt;</pre>
-    <p>Using types generated from the schema, you would be able to write the following 
-      Java code to &quot;switch&quot; on the threshold attribute's enumeration:</p>
-    <pre>
-/*
- * Use the intValue method provided by the Enum type to determine the threshold
- * attribute's current enumeration value.
- */
-switch(priceElements[i].getThreshold().intValue())
-{
-    // Use the Threshold type's enumeration values to test for an attribute value. 
-    case PriceType.Threshold.INT_BELOW_10_DOLLARS:
-        zeroBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    case PriceType.Threshold.INT_BETWEEN_10_AND_20_DOLLARS:
-        tenBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    case PriceType.Threshold.INT_ABOVE_20_DOLLARS:
-        twentyBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    default:
-        System.out.println(&quot;Yo! Something unexpected happened!&quot;);
-        break;
-}</pre>
-  </div>
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support for 
-    Built-In Schema Types</a></p>
-</div>
- <!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conMethodsForGeneratedJavaTypes.html b/v2/docs/guide/conMethodsForGeneratedJavaTypes.html
deleted file mode 100644
index 1e190e2..0000000
--- a/v2/docs/guide/conMethodsForGeneratedJavaTypes.html
+++ /dev/null
@@ -1,262 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Methods for Types Generated From Schema</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Methods for Types Generated From Schema</p>
-</div>
-<div id=topictext>
-  <p>As you may have seen in <a href="conGettingStartedwithXMLBeans.html">Getting 
-    Started with XMLBeans</a>, you use the types generated from schema to access 
-    XML instances based on the schema. If you're familiar with the JavaBeans technology, 
-    the conventions used in the generated API will be recognizable. </p>
-  <p>In general, elements and attributes are treated as &quot;properties&quot; 
-    in the JavaBeans sense. In other words, as you would with JavaBeans properties, 
-    you manipulate parts of the XML through accessor methods such as getCustomer() 
-    (where you have a &quot;customer&quot; element), setId(String) (where you 
-    have an &quot;id&quot; attribute), and so on. However, because schema structures 
-    can be somewhat complex, XMLBeans provides several other method styles for 
-    handling those structures in XML instances.</p>
-  <div>
-    <h2>Prototypes for Methods in Generated Interfaces</h2>
-    <p>Several methods are generated for each element or attribute within the 
-      complex type. This topic lists each method that could be generated for a 
-      given element or attribute. </p>
-    <p>Note that whether or not a given method is generated is based on how the 
-      element or attribute is defined in schema. For example, a customer element 
-      definition with a <span class="langinline">maxOccurs</span> attribute value 
-      of 1 will result in a getCustomer method, but not a getCustomerArray method 
-      &#8212; after all, only one customer element is possible in an instance 
-      document.</p>
-    <p>Note, too, that there may be two sets of parallel methods: one whose prototype 
-      starts with an &quot;x&quot;. An &quot;x&quot; method such as xgetName or 
-      xsetName would be generated for elements or attribute whose type is a simple 
-      type. A simple type may be one of the 44 built-in simple types or may be 
-      a restriction in schema of one of those built-in types. Of course, an attribute 
-      will always be of a simple type. For built-in simple types, an &quot;x&quot; 
-      method will get or set one of the types provided with XMLBeans, such as 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></span>, 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlInteger.html">XmlInteger</a></span>, 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlGDay.html">XmlGDay</a></span>, 
-      and so on. For derived types, the &quot;x&quot; method will get or set a 
-      generated type.</p>
-    <h3>Single Occurrence Methods</h3>
-    <p>Methods generated for elements or attributes that allow a single occurrence. 
-      An element is singular if it was declared with maxOccurs=&quot;1&quot;. 
-      An attribute is singular if it was not declared with use=&quot;prohibited&quot;.</p>
-    <pre>
-Type getFoo()
-void setFoo(Type newValue)
-</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the value of Foo. Generated when Foo is an attribute, 
-      or is an element that can occur only once as a child.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType xgetFoo()
-void xsetFoo(XmlType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the value of Foo as an XMLBean simple type. These methods 
-      are generated if Foo's type is defined in schema as a simpleType.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isNilFoo()
-void setNilFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Determines or specifies whether the Foo element is nil (in other words, 
-      &quot;null&quot; in schema terms), meaning it can be empty. A nil element 
-      looks something like this:</div>
-    <div> 
-      <pre>&lt;foo/&gt;</pre>
-    </div>
-    <div>These methods are only generated when an element type is declared as 
-      nillable in schema &#8212; it has a nillable=&quot;true&quot; attribute.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType addNewFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Adds a new Foo as an XMLBean simple to the document, or returns Foo's 
-      value if one exists already.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isSetFoo()
-void unSetFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Determines whether the Foo element or attribute exists in the document; 
-      removes Foo. These methods are generated for elements and attributes that 
-      are optional. In schema, and optional element has an <span class="langinline">minOccurs</span> 
-      attribute set to &quot;0&quot;; an optional attribute has a <span class="langinline">use</span> 
-      attribute set to &quot;optional&quot;.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <h3>Multiple Occurrence Methods</h3>
-    <p>Methods generated for elements that allow multiple occurrences. </p>
-    <p>An element may occur multiple times if it has a <span class="langinline">maxOccurs</span> 
-      attribute set to &quot;unbounded&quot; or greater than 1. Attributes can't 
-      occur multiple times.</p>
-    <pre>Type[] getFooArray()
-void setFooArray(Type[] newValue) </pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets all of the Foo elements. </div>
-    <div> 
-      <pre>
-// Get an array of the all of the purchase-order elements item children.
-Item[] items = myPO.getItemArray();
-</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>Type getFooArray(int index)
-void setFooArray(Type newValue, int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the Foo child element at the specified index.</div>
-    <div> 
-      <pre>// Sets the value of the third item child element.
-myPO.setItem(newItem, 2);</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>int sizeOfFooArray()</pre>
-  </div>
-  <blockquote> 
-    <div>Returns the number of Foo child elements.</div>
-    <div> 
-      <pre>// Returns the number of item child elements.
-int itemCount = myPO.sizeOfItemArray();</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void removeFoo(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Removes the Foo child element at the specified index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType[] xgetFooArray()
-void xsetFooArray(XmlType[] arrayOfNewValues)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets all of the Foo elements as XMLBeans simple types. Generated 
-      only when the Foo element is defined as a simple type.</div>
-    <div> 
-      <pre>/*
- * Returns values of all the phone child elements of an employee element,
- * where the phone element has been defined as xs:string.
- */
-XmlString[] empPhones = currentEmployee.xGetPhoneArray();
-</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType xgetFooArray(int index)
-void xsetFooArray(int index, XmlType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the Foo element at the specified index, using an XMLBeans 
-      simple type value. Generated for an element defined as a simple type in 
-      schema.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void insertFoo(int index, FooType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Inserts the specified Foo child element at the specified index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void addFoo(FooType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Adds the specified Foo to the end of the list of Foo child elements.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType insertNewFoo(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Inserts a new Foo at the specified index, returning an XMLBeans simple 
-      type representing the new element; returns the existing Foo if there's already 
-      one at index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType addNewFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Adds a new Foo element to the end of the list of Foo child elements, 
-      returning an XMLBeans simple type representing the newly added element.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isNilFooArray(int index)
-void setNilFooArray(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Determines or specifies whether the Foo element at the specified index 
-      is nil.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-  </div>
-  <div id="topictext"></div>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated 
-    from User-Derived Schema Types</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conNavigatingXMLwithCursors.html b/v2/docs/guide/conNavigatingXMLwithCursors.html
deleted file mode 100644
index aee414a..0000000
--- a/v2/docs/guide/conNavigatingXMLwithCursors.html
+++ /dev/null
@@ -1,209 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Navigating XML with Cursors</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Navigating XML with Cursors </h1>
-<div id="topictext"> 
-  <p>XML cursors are a way to navigate through an XML instance document. Once 
-    you load an XML document, you can create a cursor to represent a specific 
-    place in the XML. Because you can use a cursor with or without a schema corresponding 
-    to the XML, cursors are an ideal way to handle XML without a schema.</p>
-  <p>With an XML cursor, you can:</p>
-</div>
-<UL>
-  <li> 
-    <div><a href="conUnderstandingXMLTokens.html">Use the token model</a> to move 
-      through XML in small increments, or in a manner similar to using a DOM-based 
-      model.</div>
-  <LI> 
-    <DIV>Get and set values within the XML.</DIV>
-  <LI> 
-    <DIV><a href="#adding_elements_attributes">Change the structure</a> of an 
-      XML document by inserting, removing, and moving elements and attributes.</DIV>
-  <LI> 
-    <DIV><a href="conSelectingXMLwithXQueryPathXPath.html">Execute XQuery expressions</a> 
-      against the XML represented by the cursor.</DIV>
-  <LI> 
-    <DIV><a href="conUsingBookmarksToAnnotateXML.html">Insert bookmarks</a> to 
-      mark locations in XML.</DIV>
-</UL>
-<P>When you're finished using a cursor, your code should call its <span class="langinline">dispose</span> 
-  method.</P>
-<h2>Creating and Moving a Cursor</h2>
-<P>With an XML instance document bound to <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject</a></span> 
-  (or a type inheriting from it), you create a new cursor by calling the <span class="langinline">newCursor</span> 
-  method. The <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span> 
-  interface represents a cursor. From a cursor standpoint, an XML document is 
-  a collection of <EM>tokens</EM> that represent the kinds of things that can 
-  appear in XML. These include&nbsp;attributes, the start and end of elements, 
-  comments, and so on.&nbsp;Each piece of information in XML is represented by 
-  a <em>token type</em>.</P>
-<P class="notepara"><strong>Note:</strong> For a more complete description of 
-  XML tokens, see <a href="conUnderstandingXMLTokens.html">Understanding XML Tokens</a>.</P>
-<P>For example, the following code loads the&nbsp;XML instance described above 
-  from a <span class="langinline">File</span> object, then creates a new cursor. 
-  The <span class="langinline">toFirstChild</span> takes the cursor to the start 
-  tag of the <span class="langinline">batchWidgetOrder</span> document element. 
-  The code then prints the type for the token at the cursor's location, along 
-  with the XML the cursor represents—in other words, <span class="filepath">Token 
-  type: START /</span> and the <span class="filepath">batchWidgetOrderElement</span> 
-  and its contents.</P>
-<pre>public static void insertCursor(File orderFile) throws Exception 
-{
-    BatchWidgetOrderDocument xmlDoc = BatchWidgetOrderDocument.Factory.parse(orderFile);
-    XmlCursor orderCursor = xmlDoc.newCursor();
-    orderCursor.toFirstChild();
-    System.out.println("Token type: " + orderCursor.currentTokenType() +
-        " / " + orderCursor.xmlText());
-}
-</pre>
-<p class="notepara"><STRONG>Note</STRONG>: The <span class="langinline">XmlCursor</span> 
-  interface provides many methods you can use to put a cursor where you want it. 
-  For a list of those methods, see <a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor 
-  Interface</a>.</p>
-<h2><a name="adding_elements_attributes" id="adding_elements_attributes"></a>Adding 
-  Elements and Attributes</h2>
-<p>The <span class="langinline">XmlCursor</span> interface provides several methods 
-  you can use to add elements and attributes to XML. </p>
-<p>One way to add new XML is with the <span class="langinline">beginElement</span> 
-  method. This method is designed to insert a new element at the cursor's location, 
-  and do it so the cursor ends up between the new element's START and END tokens. 
-  From this position, you can insert attributes (they're automatically placed 
-  in the start tag, where they belong) and insert a value. Here's an example:</p>
-<pre>
-// Create a new chunk of XML.
-XmlObject newXml = XmlObject.Factory.newInstance();
-/* 
- * Insert a new cursor and move it to the first START token (where the
- * XML actually begins.
- */
-XmlCursor cursor = newXml.newCursor();
-cursor.toNextToken();
-// Begin a new item element whose namespace URI is "http://openuri.org".
-cursor.beginElement(&quot;item&quot;, &quot;http://openuri.org/&quot;);
-// Insert an ID attribute on the item element, along with an attribute value.
-cursor.insertAttributeWithValue(&quot;id&quot;, &quot;4056404&quot;);
-// Insert "bicycle" as an element value.
-cursor.insertChars(&quot;bicycle&quot;);
-cursor.dispose();
-</pre>
-<p>This example results in something like the following:</p>
-<pre>&lt;ns1:item id=&quot;4056404&quot; xmlns:ns1=&quot;http://openuri.org/&quot;&gt;bicycle&lt;/ns1:item&gt;
-</pre>
-<h2> Using Stored Cursor Locations with push() and pop()</h2>
-<div id="topictext"> 
-  <p>When you want to move a cursor around, but want to keep track of a former 
-    location, you can use the <span class="langinline">XmlCursor</span> interface's 
-    <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    methods. The <span class="langinline">push</span> method pushes the cursor's 
-    current location onto a stack of locations maintained for that particular 
-    cursor; the <span class="langinline">pop</span> method removes the location 
-    from the top of the stack and moves the cursor to that location.</p>
-  <p>For example, consider the following &lt;employee&gt; element, used in the 
-    example below.</p>
-  <pre>
-&lt;employee&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;Gladys Kravitz&lt;/name&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;address location=&quot;home&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;street&gt;1313 Mockingbird Lane&lt;/street&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;city&gt;Seattle&lt;/city&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;state&gt;WA&lt;/state&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;zip&gt;98115&lt;/zip&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;/address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;address location=&quot;work&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;street&gt;2011 152nd Avenue NE&lt;/street&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;city&gt;Redmond&lt;/city&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;state&gt;WA&lt;/state&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;zip&gt;98052&lt;/zip&gt;
-&nbsp;&nbsp; &nbsp;&lt;/address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;work&quot;&gt;(425) 555-6897&lt;/phone&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;home&quot;&gt;(206) 555-6594&lt;/phone&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;mobile&quot;&gt;(206) 555-7894&lt;/phone&gt;
-&lt;/employee&gt;
-</pre>
-  <p>The following Java code illustrates how you can use <span class="langinline">push</span> 
-    and <span class="langinline">pop</span> to put the cursor back to a saved 
-    location after a bit of traveling.</p>
-  <pre>
-/**
- * Pass to the trySelectPath method an XmlObject instance that contains
- * the XML above.
- */
-public void trySelectPath(XmlObject xml)
-{
-    /* 
-     * Inserts the cursor at the STARTDOC token (the very beginning, 
-     * before any elements).
-     */
-    XmlCursor cursor = xml.newCursor();
-    // Moves the cursor to just before &lt;employee&gt;
-    cursor.toFirstChild();
-    // Pushes the cursor's current location onto the stack.
-    cursor.push();
-    // Moves the cursor to just before the &quot;work&quot; &lt;phone&gt; element.      
-    cursor.toChild(2);
-    // Moves the cursor to just before the &quot;home&quot; &lt;phone&gt; element.
-    cursor.toNextSibling();
-    // Moves the cursor back to just before &lt;employee&gt;
-    cursor.pop();
-}
-</pre>
-  <p>Of course, you can call <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    multiple times. Each new call to the <span class="langinline">push</span> 
-    method pushes the current location onto the stack. As you call the <span class="langinline">pop</span> 
-    method, you're always getting what's on top of the stack. So if you called 
-    <span class="langinline">push</span> three times before calling <span class="langinline">pop</span> 
-    &#8212; 1, 2, 3 &#8212; calling <span class="langinline">pop</span> three 
-    times would get those locations in reverse order &#8212; 3, 2, 1.</p>
-  <p>The <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    methods can be handy as an alternative to creating new cursors that are designed 
-    simply to mark a particular location while you move another cursor around. 
-    The resources required to maintain a location stack through <span class="langinline">push</span> 
-    and <span class="langinline">pop</span> are far less than those needed by 
-    cursors. </p>
-  <H1>Disposing of a Cursor</H1>
-  <p>When you're through with a cursor, your code should call its <span class="langinline">dispose</span> 
-    method to indicate that it's no longer needed.</p>
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conUnderstandingXMLTokens.html">Understanding XML Tokens</a></p>
-  <p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conSelectingXMLwithXQueryPathXPath.html b/v2/docs/guide/conSelectingXMLwithXQueryPathXPath.html
deleted file mode 100644
index a5e13f8..0000000
--- a/v2/docs/guide/conSelectingXMLwithXQueryPathXPath.html
+++ /dev/null
@@ -1,257 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Selecting XML with XQuery and XPath</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Selecting XML with XQuery and XPath</h1>
-<div id="topictext"> 
-  <p>You can use XQuery and XPath to retrieve specific pieces of XML as you might 
-    retrieve data from a database. XQuery and XPath provide a syntax for specifying 
-    which elements and attributes you're interested in. The XMLBeans API provides 
-    two methods for executing XQuery and XPath expressions, and two differing 
-    ways to use them. The methods are <span class="langinline">selectPath</span> 
-    and <span class="langinline">execQuery</span>, and you can call them from 
-    <a href="../reference/org/apache/xmlbeans/XmlObject.html"><span class="langinline">XmlObject</span></a> 
-    (or an object inheriting from it) or <a href="../reference/org/apache/xmlbeans/XmlCursor.html"><span class="langinline">XmlCursor</span></a>. 
-    The results for the methods differ somewhat. </p>
-  <h2>Using the selectPath Method</h2>
-</div>
-<div>
-  <p>The <span class="langinline">selectPath</span> method is the most efficient 
-    way to execute XPath expressions. The <span class="langinline">selectPath</span> 
-    method is optimized for XPath. When you use XPath with the <span class="langinline">selectPath</span> 
-    method, the value returned is an array of values from the <em>current document</em>. 
-    In contrast, when you use <span class="langinline">execQuery</span>, the value 
-    returned is a <em>new document</em>.</p>
-  <h3>Calling from XmlObject</h3>
-  <p>When called from <span class="langinline">XmlObject</span> (or a type that 
-    inherits from it), this method returns an array of objects. If the expression 
-    is executed against types generated from schema, then the type for the returned 
-    array is one of the Java types corresponding to the schema. </p>
-  <p>For example, imagine you have the following XML containing employee information. 
-    You've compiled the schema describing this XML and the types generated from 
-    schema are available to your code.</p>
-<pre>
-&lt;xq:employees xmlns:xq=&quot;http://openuri.org/selectPath&quot;&gt;
-    &lt;xq:employee&gt;
-        &lt;xq:name&gt;Fred Jones&lt;/xq:name&gt;
-        &lt;xq:address location=&quot;home&quot;&gt;
-            &lt;xq:street&gt;900 Aurora Ave.&lt;/xq:street&gt;
-            &lt;xq:city&gt;Seattle&lt;/xq:city&gt;
-            &lt;xq:state&gt;WA&lt;/xq:state&gt;
-            &lt;xq:zip&gt;98115&lt;/xq:zip&gt;
-        &lt;/xq:address&gt;
-        &lt;xq:address location=&quot;work&quot;&gt;
-            &lt;xq:street&gt;2011 152nd Avenue NE&lt;/xq:street&gt;
-            &lt;xq:city&gt;Redmond&lt;/xq:city&gt;
-            &lt;xq:state&gt;WA&lt;/xq:state&gt;
-            &lt;xq:zip&gt;98052&lt;/xq:zip&gt;
-        &lt;/xq:address&gt;
-        &lt;xq:phone location=&quot;work&quot;&gt;(425)555-5665&lt;/xq:phone&gt;
-        &lt;xq:phone location=&quot;home&quot;&gt;(206)555-5555&lt;/xq:phone&gt;
-        &lt;xq:phone location=&quot;mobile&quot;&gt;(206)555-4321&lt;/xq:phone&gt;
-    &lt;/xq:employee&gt;
-&lt;/xq:employees&gt;
-</pre>
-  If you wanted to find the phone numbers whose area code was 206, you could capture 
-  the XPath expression in this way: 
-  <pre>
-String queryExpression =
-    &quot;declare namespace xq='http://openuri.org/selectPath'&quot; +
-    &quot;$this/xq:employees/xq:employee/xq:phone[contains(., '(206)')]&quot;
-</pre>
-  <p>Notice in the query expression that the variable <span class="langinline">$this</span> 
-    represents the current context node (the <span class="langinline">XmlObject</span> 
-    that you are querying from). In this example you are querying from the document 
-    level <span class="langinline">XmlObject</span>.</p>
-  <p>You could then print the results with code such as the following:</p>
-  <pre>
-/* 
- * Retrieve the matching phone elements and assign the results to the corresponding
- * generated type.
- */
-PhoneType[] phones = (PhoneType[])empDoc.selectPath(queryExpression);
-/*
- * Loop through the results, printing the value of the phone element.
- */
-for (int i = 0; i < phones.length; i++)
-{
-    System.out.println(phones[i].stringValue());
-}  </pre>
-
-  <h3>Calling from XmlCursor</h3>
-  <p>When called from an <span class="langinline">XmlCursor</span> instance, the 
-    <span class="langinline">selectPath</span> method retrieves a list of selections, 
-    or locations in the XML. The selections are remembered by the cursor instance. 
-    You can use methods such as <span class="langinline">toNextSelection</span> 
-    to navigate among them.</p>
-  <div>
-    <p>The <span class="langinline">selectPath</span> method takes an XPath expression. 
-      If the expression returns any results, each of those results is added as 
-      a selection to the cursor's list of selections. You can move through these 
-      selections in the way you might use <span class="langinline">java.util.Iterator</span> 
-      methods to move through a collection.</p>
-    <p> For example, for a path such as <span class="langinline">$this/employees/employee</span>, 
-      the results would include a selection for each employee element found by 
-      the expression. Note that the variable <span class="langinline">$this</span> 
-      is always bound to the current context node, which in this example is the 
-      document. After calling the <span class="langinline">selectPath</span> method, 
-      you would use various &quot;selection&quot;-related methods to work with 
-      the results. These methods include:</p>
-  </div>
-  <ul>
-    <li> 
-      <div><span class="langinline">getSelectionCount() </span>to retrieve the 
-        number of selections resulting from the query.</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">toNextSelection()</span> to move the cursor 
-        to the next selection in the list (such as to the one pointing at the 
-        next employee element found).</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">toSelection(int)</span> to move the cursor 
-        to the selection at the specified index (such as to the third employee 
-        element in the selection).</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">hasNextSelection()</span> to find out if 
-        there are more selections after the cursor's current position.</div>
-    </li>
-    <li> 
-      <div><span class="langinline"> clearSelections()</span> clears the selections 
-        from the current cursor. This doesn't modify the document (in other words, 
-        it doesn't delete the selected XML); it merely clears the selection list 
-        so that the cursor is no longer keeping track of those positions.</div>
-    </li>
-  </ul>
-  <div>
-    <p>The following example shows how you might use <span class="langinline">selectPath</span>, 
-      in combination with the <span class="langinline">push</span> and <span class="langinline">pop</span> 
-      methods, to maneuver through XML, retrieving specific values. </p>
-    <pre>
-public void printZipsAndWorkPhones(XmlObject xml)
-{
-    // Declare the namespace that will be used.
-    String xqNamespace = 
-        &quot;declare namespace xq='http://openuri.org/selectPath'&quot;;
-
-    // Insert a cursor and move it to the first element.
-    XmlCursor cursor = xml.newCursor();
-    cursor.toFirstChild();
-    /* 
-     * Save the cursor's current location by pushing it 
-     * onto a stack of saved locations.
-     */
-    cursor.push();
-    // Query for zip elements.
-    cursor.selectPath(xqNamespace + &quot;$this//xq:zip&quot;);
-    /* 
-     * Loop through the list of selections, getting the value of 
-     * each element.
-     */
-    while (cursor.toNextSelection())
-    {
-        System.out.println(cursor.getTextValue());
-    }
-    // Pop the saved location off the stack.
-    cursor.pop();
-    // Query again from the top, this time for work phone numbers.
-    cursor.selectPath(xqNamespace + &quot;$this//xq:phone[@location='work']&quot;);
-    /* 
-     * Move the cursor to the first selection, them print that element's
-     * value.
-     */
-    cursor.toNextSelection();
-    System.out.println(cursor.getTextValue());
-    // Dispose of the cursor.
-    cursor.dispose();
-}
-</pre>
-    <p>Using selections is somewhat like tracking the locations of multiple cursors 
-      with a single cursor. This becomes especially clear when you remove the 
-      XML associated with a selection. When you do so the selection itself remains 
-      at the location where the removed XML was, but now the selection's location 
-      is immediately before the XML that was after the XML you removed. In other 
-      words, removing XML created a kind of vacuum that was filled by the XML 
-      after it, which shifted up into the space &#8212; up into position immediately 
-      after the selection location. This is exactly the same as if the selection 
-      had been another cursor.</p>
-    <p>Finally, when using selections keep in mind that the list of selections 
-      is in a sense &quot;live&quot;. The cursor you're working with is keeping 
-      track of the selections in the list. In other words, be sure to call the 
-      <span class="langinline">clearSelections</span> method when you're finished 
-      with the selections, just as you should call the <span class="langinline">XmlCursor.dispose()</span> 
-      method when you're finished using the cursor.</p>
-  </div>
-  <h2>Using the execQuery Method</h2>
-  <p>Use the <span class="langinline">execQuery</span> method to execute XQuery 
-    expressions that are more sophisticated than paths. These expressions include 
-    more sophisticated loops and FLWR (For, Let, Where, and Results) expressions. 
-  </p>
-  <p class="notepara"><strong>Note:</strong> Be sure to see the simpleExpressions 
-    sample in the SamplesApp application for a sampling of XQuery expressions 
-    in use.</p>
-  <h3>Calling from XmlObject</h3>
-  <p>Unlike <span class="langinline">selectPath</span>, calling <span class="langinline">execQuery</span> 
-    from an <span class="langinline">XmlObject</span> instance will return an 
-    <span class="langinline">XmlObject</span> array. If the <span class="langinline">XmlObject</span> 
-    instances resulting from the XQuery match a recognized XMLBeans type (the 
-    namespace and top level element name match up with an XMLBeans type) then 
-    the <span class="langinline">XmlObject</span> will be typed; otherwise the 
-    <span class="langinline">XmlObject</span> will be untyped.</p>
-  <h3>Calling from XmlCursor</h3>
-</div>
-  
-<div> 
-  <p>Calling <span class="langinline">execQuery</span> from an <span class="langinline">XmlCursor</span> 
-    instance returns a new <span class="langinline">XmlCursor</span> instance. 
-    The cursor returned is positioned at the beginning of a new xml document representing 
-    the query results, and you can use it to move through the results, cursor-style 
-    (for more information, see <a href="conNavigatingXMLwithCursors.html">Navigating 
-    XML with Cursors</a>). If the document resulting from the query execution 
-    represents a recognized XMLBeans type (the namespace and top level element 
-    name match up with an XMLBeans type) then the document resulting from the 
-    xquery will have that Java type; otherwise the resulting document will be 
-    untyped.</p>
-  <h2>Related Topics</h2>
-</div>
-<p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conUnderstandingXMLTokens.html b/v2/docs/guide/conUnderstandingXMLTokens.html
deleted file mode 100644
index b4302f4..0000000
--- a/v2/docs/guide/conUnderstandingXMLTokens.html
+++ /dev/null
@@ -1,176 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Understanding XML Tokens</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Understanding XML Tokens</p>
-</div>
-<div id=topictext> 
-  <p>An XML cursor (an instance of the <a href="../reference/org/apache/xmlbeans/XmlCursor.html"><span class="langinline">XmlCursor</span></a> 
-    interface) moves from token to token as your code moves the cursor. When you 
-    move a cursor using a method such as <span class="langinline">toParent</span>, 
-    <span class="langinline">toFirstAttribute</span>, <span class="langinline">toPrevSibling</span>, 
-    and so on, the cursor moves to the token fitting the description. If there 
-    is no appropriate token to move to, the cursor remains where it is, and <span class="langinline">false</span> 
-    is returned to indicate that it didn't move. For example, if the cursor is 
-    at the ENDDOC token (the last tag in the document), a call to the <span class="langinline">toNextSibling</span> 
-    method will not move the cursor and will return <span class="langinline">false</span> 
-    to indicate that the move was unsuccessful.</p>
-  <p>Note that while you can call the <span class="langinline">XmlCursor.currentTokenType</span> 
-    method to find out which token type the cursor is at, you might find it more 
-    convenient to use a method such as <span class="langinline">isEnddoc</span>. 
-    The <span class="langinline">XmlCursor</span> interface provides several methods 
-    that make it easy to discover whether the cursor you're moving is at the token 
-    you're looking for. These methods, such as <span class="langinline">isStart</span>, 
-    <span class="langinline">isAttr</span>, <span class="langinline">isText</span>, 
-    and so on, return a <span class="langinline">boolean</span> value that indicates 
-    whether the cursor is at the token type in question.</p>
-  <P>Tokens are represented by constants in the <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.TokenType.html">TokenType</a></span> 
-    class, an inner class of the <span class="langinline">XmlCursor</span> interface. 
-    Each has a constant you can use in switch statements to perform by-token actions. 
-    The following table lists the token types:</P>
-  <TABLE id="Table1">
-    <TR> 
-      <TD><STRONG>Token Type</STRONG></TD>
-      <TD><STRONG>Switch Constant</STRONG></TD>
-      <TD><STRONG>Description</STRONG></TD>
-    </TR>
-    <TR> 
-      <TD>STARTDOC</TD>
-      <TD>INT_STARTDOC</TD>
-      <TD>Represents the start of the XML. Always the first token. The document 
-        element itself is represented by a START token, not the STARTDOC token.</TD>
-    </TR>
-    <TR> 
-      <TD>ENDDOC </TD>
-      <TD>INT_ENDDOC</TD>
-      <TD>Represents the end of the XML. Always the last token.</TD>
-    </TR>
-    <TR> 
-      <TD>START </TD>
-      <TD>INT_START</TD>
-      <TD>Represents the start of an element.</TD>
-    </TR>
-    <TR> 
-      <TD>END </TD>
-      <TD>INT_END</TD>
-      <TD>Represents the end of an element. The END token has no value, but marks 
-        the element's end.</TD>
-    </TR>
-    <TR> 
-      <TD>TEXT</TD>
-      <TD>INT_TEXT</TD>
-      <TD>Represents text.</TD>
-    </TR>
-    <TR> 
-      <TD>ATTR </TD>
-      <TD>INT_ATTR</TD>
-      <TD>Represents an attribute. ATTR tokens are allowed to appear after a STARTDOC 
-        or START token.</TD>
-    </TR>
-    <TR> 
-      <TD>NAMESPACE</TD>
-      <TD>INT_NAMESPACE</TD>
-      <TD>Represents a namespace (xmlns) attribute. Also only allowed after START 
-        or STARTDOC tokens.</TD>
-    </TR>
-    <TR> 
-      <TD>COMMENT </TD>
-      <TD>INT_COMMENT</TD>
-      <TD>Represents a comment.</TD>
-    </TR>
-    <TR> 
-      <TD>PROCINST </TD>
-      <TD>INT_PROCINST</TD>
-      <TD>Represents a processing instruction.</TD>
-    </TR>
-  </TABLE>
-  <P>As you use a cursor to navigate through XML, you can use one of the convenience 
-    methods described above to discover whether you're at the token you're looking 
-    for, or use the <span class="langinline">XmlCursor.currentTokenType</span>&nbsp;method 
-    to discover the current token's type. The following figure illustrates example 
-    locations for token types:</P>
-  <P><IMG src="../images/conCursorTokenLocations.gif" width="727" height="532">
-  <h2>Switching to Test for Token Types</h2>
-  <p>Here's a bit of code illustrating how you might use a Java <span class="langinline">switch</span> 
-    statement to test for the START token type.</p>
-  <pre>
-// Take an incoming XmlObject and insert a cursor.
-XmlCursor documentCursor = xmlDoc.newCursor();
- 
-/* 
- * Loop through the document, passing the cursor when it stops at each token 
- * to a function designed to discover the token type. Continue the loop
- * as long at the cursor is at a token (until it reaches the end).
- */
-while (!documentCursor.toNextToken().isNone()) 
-{
-    /*
-     * Use the intValue method to return the int corresponding to the 
-	 * current token type. If it is the value for INT_START,
-	 * then you have a match.
-	 */
-    switch (cursor.currentTokenType().intValue())
-    {        
-        case TokenType.INT_START:
-        // Print out the token type and a message.
-        System.out.println(cursor.currentTokenType() + 
-            "; cursor is at the start of an element.");
-        break;
-    }
-}
-// Be sure to dispose of a cursor when you're finished.
-documentCursor.dispose();
-</pre>
-  <p>The scope of an XML cursor is the XML document in which it is created. For 
-    example, you can create a cursor at the orderItem element in the example earlier 
-    in this topic. If you then use that <span class="langinline">XmlCursor</span> 
-    instance's <span class="langinline">toNextToken</span> method to move the 
-    cursor until it won't move any further, you'll have reached the ENDDOC token. 
-    In this example, that's at the <span class="langinline">&lt;/batchWidgetOrder&gt;</span> 
-    tag. In other words, the cursor's scope is not limited to the element at which 
-    it was created.</p>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="../reference/org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType 
-    Class</a></p>
-  <p><a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conUsingBookmarksToAnnotateXML.html b/v2/docs/guide/conUsingBookmarksToAnnotateXML.html
deleted file mode 100644
index 612ee97..0000000
--- a/v2/docs/guide/conUsingBookmarksToAnnotateXML.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Using Bookmarks to Annotate XML</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Using Bookmarks to Annotate XML</p>
-</div>
-<div id=topictext> 
-  <p>You can use a cursor to insert bookmarks that annotate XML with markers containing 
-    information you design. These bookmarks aren't written into the XML itself, 
-    but in a sense "hang" from the location where it was inserted. In this way 
-    you can associate arbitrary pieces of information with specific parts of the 
-    XML.</p>
-  <P>You design your own bookmark classes by extending <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlBookmark</a></span>, 
-    a nested class of <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span>. 
-    You can design your bookmark class to contain information specific to your 
-    needs. </P>
-  <P>In the following example, <span class="langinline">OrderBookmark</span> is 
-    an inner class that extends <span class="langinline">XmlCursor.XmlBookmark</span>. 
-    It merely stores a piece of text.</P>
-  <PRE>
-/* 
- * The OrderBookmark class includes a constructor through which you will 
- * insert your bookmark's content. It also includes get and set methods
- * you can use to retrieve and change the content.
- */
-static class OrderBookmark extends XmlCursor.XmlBookmark {
-    public OrderBookmark (String text) { TEXT = text; }
-    public String TEXT;
-    public String getText() { return TEXT; }
-    public void setText(String newText) { TEXT = newText; }
-}
-</PRE>
-  <p>You can use instances of this class to store bookmarks at places in your 
-    XML. The following excerpt of code creates a cursor and an instance of the 
-    <span class="langinline">OrderBookmark</span> class. Then it uses the cursor 
-    to insert the bookmark at the cursor's current location.</p>
-  <pre>
-    XmlCursor orderCursor = xmlDoc.newCursor();
-    OrderBookmark thisBookmark = new OrderBookmark("foo");
-    orderCursor.setBookmark(thisAnnotation);
-</pre>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html b/v2/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html
deleted file mode 100644
index 337759e..0000000
--- a/v2/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html
+++ /dev/null
@@ -1,330 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Java Types for XML Schema</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> XMLBeans Support for Built-In Schema Types</h1>
-<p>Just as with types in XML schema, the XMLBeans types based on schema are arranged 
-  in a hierarchy. In general, the hierarchy of XMLBean types mirrors the hierarchy 
-  of the schema types themselves. XML schema types all inherit from <span class="langinline">xs:anyType</span> 
-  (which is at the root of the hierarchy); XMLBeans types inherit from <span class="langinline">XmlObject</span>.</p>
-<p>In XML schema, <span class="langinline">xs:anyType</span> is the root type 
-  for two type categories: built-in and user-derived. Built-in schema types are 
-  common types defined by the XML schema specification. User-derived types are 
-  those you define in your schema. This topic lists the built-in types provided 
-  with XMLBeans. For information about user-derived types and the Java types generated 
-  from them, see <a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated 
-  from User-Derived Schema Types</a>.</p>
-<p>The following figure illustrates the hierarchy of types, showing both built-in 
-  schema types and their XMLBeans parallels. Notice, too, that nearly all of the 
-  built-in types are also available as natural Java types.</p>
-<p><img src="../images/conXMLTypeHierarchy.gif" width="865" height="887"> </p>
-<h1>Java Types Representing Built-In Schema Types</h1>
-<p>As you can see from the figure above, all 46 built-in schema types are represented 
-  by an XMLBean type provided with XMLBeans. When using built-in XMLBean types, 
-  keep in mind that:</p>
-<ul>
-  <li> Since <span class="langinline">XmlObject</span> corresponds to the <span class="langinline">xs:anyType</span>, 
-    all Java XMLBean types inherit from <span class="langinline">XmlObject</span>. 
-    Therefore all XMLBean types share the <span class="langinline">XmlObject</span> 
-    interface’s ability to create an <span class="langinline">XmlCursor</span> 
-    at the position of the object. They can also render the XML as strings or 
-    streams. 
-  <li> 
-    <div>Where there is a corresponding natural Java type, the XMLBeans type provides 
-      a way to get the underlying XML's value as the natural type. See the table 
-      in this topic for information on how natural Java types map to XMLBeans 
-      types. </div>
-  
-  <li> Values assigned to built-in XMLBeans types are validated in keeping with 
-    the rules of the schema type they represent. So, for example, an attempt to 
-    assign a negative integer value to an <span class="langinline">XmlPositiveInteger</span> 
-    will throw an <span class="langinline">XmlValueOutOfRange</span> exception.</li>
-</ul>
-<div> 
-  <p>The following table lists the built-in schema types, along with their XMLBeans 
-    and natural Java parallels. Unless otherwise noted, natural Java types are 
-    in the <span class="langinline">java.lang</span> package; XMLBean types are 
-    in the <span class="langinline">org.apache.xmlbeans</span> package.</p>
-</div>
-<div id="topictext"> 
-  <table>
-    <tr> 
-      <td width="30%"><strong>Built-In Schema Type</strong></td>
-      <td width="31%"><strong>XMLBean Type</strong></td>
-      <td width="39%"><strong>Natural Java Type</strong></td>
-    </tr>
-    <tr> 
-      <td>xs:anyType</td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject</a></td>
-      <td> <a href="../reference/org/apache/xmlbeans/XmlObject.html">org.apache.xmlbeans.XmlObject</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#dt-anySimpleType" target="_blank">xs:anySimpleType</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</a></td>
-      <td> <a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#anyURI" target="_blank">xs:anyURI</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#base64Binary" target="_blank">xs:base64Binary</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</a></td>
-      <td>byte[]</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#boolean" target="_blank">xs:boolean</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</a></td>
-      <td>boolean</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#byte" target="_blank">xs:byte</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlByte.html">XmlByte</a></td>
-      <td>byte</td>
-    </tr>
-    <tr> 
-      <td height="17"><a href="http://www.w3.org/TR/xmlschema-2/#date" target="_blank">xs:date</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDate.html">XmlDate</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#dateTime" target="_blank">xs:dateTime</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#decimal" target="_blank">xs:decimal</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html" target="_blank">java.math.BigDecimal</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#double" target="_blank">xs:double</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDouble.html">XmlDouble</a></td>
-      <td>double</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#duration" target="_blank">xs:duration</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDuration.html">XmlDuration</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/GDuration.html">org.apache.xmlbeans.GDuration</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ENTITIES" target="_blank">xs:ENTITIES</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ENTITY" target="_blank">xs:ENTITY</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#float" target="_blank">xs:float</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlFloat.html">XmlFloat</a></td>
-      <td>float</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gDay" target="_blank">xs:gDay</a></td>
-      <td><p><a href="../reference/org/apache/xmlbeans/XmlGDay.html">XmlGDay</a></p></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gMonth" target="_blank">xs:gMonth</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gMonthDay" target="_blank">xs:gMonthDay</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gYear" target="_blank">xs:gYear</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGYear.html">XmlGYear</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth" target="_blank">xs:gYearMonth</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#hexBinary" target="_blank">xs:hexBinary</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</a></td>
-      <td>byte[]</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ID" target="_blank">xs:ID</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlID.html">XmlID</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#IDREF" target="_blank">xs:IDREF</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#IDREFS" target="_blank">xs:IDREFS</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#int" target="_blank">xs:int</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlInt.html">XmlInt</a></td>
-      <td>int</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#integer" target="_blank">xs:integer</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlInteger.html">XmlInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#language" target="_blank">xs:language</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#long" target="_blank">xs:long</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlLong.html">XmlLong</a></td>
-      <td>long</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#Name" target="_blank">xs:Name</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlName.html">XmlName</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NCName" target="_blank">xs:NCName</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNCName.html">XmlNCNAME</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#negativeInteger" target="_blank">xs:negativeInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN" target="_blank">xs:NMTOKEN</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS" target="_blank">xs:NMTOKENS</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger" target="_blank">xs:nonNegativeInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger" target="_blank">xs:nonPositiveInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#normalizedString" target="_blank">xs:normalizedString</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NOTATION" target="_blank">xs:NOTATION</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</a></td>
-      <td> Not supported</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#positiveInteger" target="_blank">xs:positiveInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#QName" target="_blank">xs:QName</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlQName.html">XmlQName</a></td>
-      <td><a href="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html" target="_blank">javax.xml.namespace.QName</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#short" target="_blank">xs:short</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlShort.html">XmlShort</a></td>
-      <td>short</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#string" target="_blank">xs:string</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#time" target="_blank">xs:time</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlTime.html">XmlTime</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#token" target="_blank">xs:token</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlToken.html">XmlToken</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedByte" target="_blank">xs:unsignedByte</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</a></td>
-      <td>short</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedInt" target="_blank">xs:unsignedInt</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</a></td>
-      <td>long</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedLong" target="_blank">xs:unsignedLong</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedShort" target="_blank">xs:unsignedShort</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</a></td>
-      <td>int</td>
-    </tr>
-  </table>
-</div>
-<div> 
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/v2/docs/images/conCursorTokenLocations.gif b/v2/docs/images/conCursorTokenLocations.gif
deleted file mode 100644
index 5b18b96..0000000
--- a/v2/docs/images/conCursorTokenLocations.gif
+++ /dev/null
Binary files differ
diff --git a/v2/docs/images/conXMLTypeHierarchy.gif b/v2/docs/images/conXMLTypeHierarchy.gif
deleted file mode 100644
index 4d0786b..0000000
--- a/v2/docs/images/conXMLTypeHierarchy.gif
+++ /dev/null
Binary files differ
diff --git a/v2/docs/stylesheet.css b/v2/docs/stylesheet.css
deleted file mode 100644
index 301d803..0000000
--- a/v2/docs/stylesheet.css
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Javadoc style sheet */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { 	
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	background-color: #FFFFFF 
-}
-
-body {
-/*	padding: 0px 0px 0px 15px; */
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-}
-
-/* Table colors */
-.TableHeadingColor     { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor  { background: #EEEEFF } /* Light mauve */
-.TableRowColor         { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont   { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameItemFont    { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-
-/* Example of smaller, sans-serif font in frames */
-/* .FrameItemFont  { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
-
-/* Navigation bar fonts and colors */
-.NavBarCell1    { background-color:#EEEEFF;}/* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
-.NavBarFont1    { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
-
-.NavBarCell2    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-
diff --git a/v2/docs/xmlbeans.css b/v2/docs/xmlbeans.css
deleted file mode 100644
index 6662061..0000000
--- a/v2/docs/xmlbeans.css
+++ /dev/null
@@ -1,482 +0,0 @@
-/*  The styles most likely to be used are:
-	- Title: The title of the topic
-	- h1, h2, h3: First, second, and third-level headings within the body of a topic
-	- relatedTopics: Related Topics
-	- procTitle: Within How Do I:... topics, for headings within the body of a topic that are followed by
-	  bulleted procedures ("To do this").
-	- pre: For code blocks
-	- langinline: For code fragments within a (non-code) regular section.
-	- notepara: Notes	 
-*/
-h1,
-h2,
-h3,
-h4,
-h5,
-p,
-proctitle,
-relatedtopics {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	color: #000000;
-}
-
-/* Use h1 for all first-level headings within the body of a topic. 
-   For the topic title, use the Title style. */
-h1 {
-	font-size: 135%;
-	margin-top: .5em;
-	margin-bottom: .5em;
-}
-
-/* Use h2 for all second-level headings. */
-h2 {
-	font-size: 125%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h3 for all third-level headings. */
-h3 {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h4 for all fourth-level headings. 
-   Note: this style looks identical to the relatedtopics and proctitle styles. */
-h4 {
-	font-size: 105%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h5 for all fifth-level heading.  
-   Currently, there are no h5s in use in the document.*/
-h5 {
-	font-size: 100%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use the Title style for the title of a topic. */
-p.Title {
-	font-weight: bold;
-	font-style: normal;
-	font-family: Verdana, sans-serif;
-	font-size: 142%;
-}
-
-/* This deprated tag creates a div that designates the title. */
-#topictitle {
-}
-
-/* This deprecated tag creates a dive that designates all body text. */
-#topictext {
-}
-
-/* Used for figure captions.*/
-p.arttitle {
-	font-weight: Bold;
-}
-  
-/* The attribute style resembles the navtitle and partdesc styles in that it keeps the next paragraph 
-   flush with it. Use it when you list the attributes of syntax in a reference topic.
-   The argument style should always be followed by the partdesc style. */
-p.attribute {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-weight: Bold;
-	
-}
-
-/* Standard HTML tag. */
-body {
-	padding: 0px 0px 0px 15px;
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* Standard HTML tag. */
-span.bold {
-	font-weight: Bold;
-}
-
-/* Standard HTML tag. */
-blockquote {
-	margin: 0em 0em 0em 2em;
-	padding: 0px;
-}
-
-/* Use the filepath style to designate file paths. It is currently a monospace file. */
-span.filepath {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The langinline style, like userinput and filepath, also renders text monospace. Use this
-   to denote any individual instance of code in the context of non-coded text. For example, 
-   you would use this to denote the name of a class when you're describing it in the paragraph that
-   precedes a code sample. To denote a code sample, however, use the <pre> tag. */
-span.langinline {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The listplain style narrows the margin between the formatted line and the one before it.
-   It is to be used when creating a second paragraph in a list item, along with the indent and
-   unindent buttons in Dreamweaver. */
-p.listplain {
-	margin-top: 0.7em;
-	margin-bottom: 0;
-	padding: 0em;
-}
-
-/* All text in the navtitle style should include a link to another topic.
-   The navtitle style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics 
-   Included in this Section" section of a navigation topic, you include the links to all of 
-   the topics in that chapter, along with a brief description of what you'll find in each. Use the
-   navtitle style for the linked text. It differs from a normal paragraph style in that it does not 
-   include an extra paragraph break between the link and the descriptive text. */
-p.navtitle {
-	margin-top: .6em;
-	margin-bottom: 0em;
-}
-
-/* The navdesc style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics Included in this Section" 
-   section of a navigation topic, you include the links to all of the topics in that chapter,
-   along with a brief description of what you'll find in each. Use this style for the descriptive text. 
-   It indents the text one tab stop and keeps the margin between this style and the navtitle style small.  */
-p.navdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-}
-
-/* The notepara style indents your text to the tab stop for note
-   text. You should always begin Note text with the word "Note:" in
-   boldface. */
-p.notepara {
-	margin-left: 2em;
-	margin-right: 2em;
-	margin-bottom: 1.5em;
-}
-
-/* The partname style resembles the navtitle style in that it keeps the next paragraph flush with it. 
-   You use it when you list the parameters in a reference topic. It is also used currently in the 
-   glossary to designate glossary entries. It renders text italic.
-   The partname style should always be followed by the partdesc style.*/
-p.partname {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-style: italic;
-}
-
-/* Use the partdesc style when you describe the function of the properties, parameters, or exceptions 
-   listed in a reference topic. It is also used currently in the glossary to designate glossary 
-   definitions. The style indents the description slightly.
-   The partdesc style should always follow the partname or attribute style.*/
-p.partdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-
-}
-
-/* The point of the proctitle style is the same as the point of the relatedtopics style.  
-   It applies to all headings that begin with "To [do something]". It looks identical to the h4 style.  */
-p.proctitle {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-
-}
-
-/* Use the relatedtopics style, for the words "Related Topics" at the end of a topic. 
-   It looks identical to the h4 style. */
-p.relatedtopics {
-	font-size: 120%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-}
-
-/* The syntax style renders text bold. Use it to style all syntax lines under the
-   Syntax heading of reference topics. */
-p.syntax {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-}
-
-/* Use the syntaxindent style to indent sub-properties of syntax declarations. */
-p.syntaxindent {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-	margin-left: 1.5em;
-	margin-top: 0em;
-	margin-bottom: 0px;
-}
-
-
-p.fileurl {
-	font-size: 8pt;
-}
-
-p.modifieddate {
-	font-size: 8pt;
-}
-
-/* The syntaxpartname character style renders text italic. Use it to designate 
-   syntax elements in reference topics.*/
-span.syntaxpartname {
-	font-style: italic;
-	font-weight: normal;
-}
-
-/* These specifications dictate the margins and width of tables. */
-table {
-	width: 90%;
-	margin-top: .6em;
-	margin-bottom: .3em;
-}
-
-/* The background of header cells is grey, and the text is bottom-aligned. */
-th {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #cccccc;
-	text-align: left;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	vertical-align: bottom;
-}
-
-/* The text in normal table cells is top-aligned. */
-td {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #ffffff;
-	vertical-align: top;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* This style creates space above and below table text between paragraph and the table borders. */
-p.tabletext {
-	margin-top: .6em;
-	margin-bottom: .6em;
-}
-
-/* The editor uses this style when creating template guides to designate a style annotation. 
-   You probably won't want to use it anywhere else in the guide. */
-span.template {
-	color: #FF00FF;	
-}
-
-a.toc-node {
-	font-size:11px;
-	color:000000;
-	margin-left: 0px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-    white-space: nowrap;
-    font-family: Tahoma;
-    background-color:#FFFFFF;
-    text-decoration:none;        
-}
-
-/* The userinput style renders text monospace.Use this style to highlight text that a user 
-   types into a text field.  */
-span.userinput {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* Standard HTML tags. */
-ul,
-ol {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	list-style-position: outside;
-	list-style-image: none;
-	margin-top: 0em;
-	margin-bottom: 0em;
-}
-
-/* Standard HTML tag. */
-ol {
-	list-style-type: 1;
-	margin-left: 2em;
-}
-
-/* Standard HTML tag. */
-ul {
-	list-style-type: disc;
-	margin-left: 1.5em;
-}
-
-/* Standard HTML tag. */
-li {
-	margin-top: 1.3em; 
-	margin-bottom: 0em;
-}
-
-a:link {
-	color: #3366CC;
-}
-a:hover {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:active {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:visited {
-	color: #803380;
-}
-
-a {
-	x-text-underline: off;
-	x-text-overline: off;
-	x-text-line-through: off;
-	/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ 
-}
-a:link {
-	color: #3366CC;
-}
-
-a:hover {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:active {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:visited {
-	color: #000066;
-}
-
-div.footer {
-}
-
-.buttonclass
-{
-	font-size:10px;
-	height:20px;
-}
-
-.formclass
-{
-	font-size:10px;
-	height:17px;
-}
-
-
-
-
-/*DEPRECATED*/
-p.codeblock {
-	font-size: 100%;
-	font-family: monospace;
-	line-height: 1em;
-	x-text-tab-stops: repeat 1in;
-	white-space: nowrap;
-	color: #000000;
-	cursor: text;
-	padding-right: 1em;
-	padding-left: 1em;
-	padding-top: 0em;
-	padding-bottom: 0em;
-	margin-bottom: 0em;
-	margin-top: 0em;
-	x-text-underline: Off;
-	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ 
-}
-
-/* DEPRECATED */
-p.bulletindent1 {
-	margin-left: 1.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent2 {
-	margin-left: 5.1em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent3 {
-	margin-left: 4.3em;
-}
-
-/* DEPRECATED */
-p.indent1 {
-	margin-left: 1.5em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent2 {
-	margin-left: 2.9em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent3 {
-	margin-left: 4.3em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.numberedindent1 {
-	margin-left: 2.2em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent2 {
-	margin-left: 6.3em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent3 {
-	margin-left: 10.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}	
-
-/* DEPRECATED */
-p.tabletitle {
-	margin-left: 0;
-	font-weight: Bold;
-}
-
-
-/* These styles are used by the search results page */
-
-.search-node {
-	font-size:10px;
-	color:000000;
-}
-
-a.search-node {
-	font-size:10px;
-	color:000000;
-}
\ No newline at end of file
diff --git a/v2/external/lib/jaxen-1.1-beta-2-src.zip b/v2/external/lib/jaxen-1.1-beta-2-src.zip
deleted file mode 100644
index 158e3c6..0000000
--- a/v2/external/lib/jaxen-1.1-beta-2-src.zip
+++ /dev/null
Binary files differ
diff --git a/v2/external/lib/jaxen-1.1-beta-2.jar b/v2/external/lib/jaxen-1.1-beta-2.jar
deleted file mode 100644
index 19aff5d..0000000
--- a/v2/external/lib/jaxen-1.1-beta-2.jar
+++ /dev/null
Binary files differ
diff --git a/v2/external/lib/junit.jar b/v2/external/lib/junit.jar
deleted file mode 100644
index 6ee43bb..0000000
--- a/v2/external/lib/junit.jar
+++ /dev/null
Binary files differ
diff --git a/v2/external/lib/oldxbean.jar b/v2/external/lib/oldxbean.jar
deleted file mode 100644
index 951e2bf..0000000
--- a/v2/external/lib/oldxbean.jar
+++ /dev/null
Binary files differ
diff --git a/v2/jam/build.xml b/v2/jam/build.xml
deleted file mode 100644
index 5945aba..0000000
--- a/v2/jam/build.xml
+++ /dev/null
@@ -1,193 +0,0 @@
-<project name='jam' default='all' basedir='.'>
-
-  <property name='build_dir'   value='../build/jam'/>
-
-  <property name='src_dir'     value='src'/>
-  <property name='src15_dir'   value='src15'/>
-  <property name="site_dir"    value='website'/>
-
-  <property name='jam_jar'      value='${build_dir}/jam.jar'/>
-  <property name='javadoc_zip'  value='${build_dir}/jamapi.zip'/>
-  <property name="jamsrc_zip"   value='${build_dir}/jamsrc.zip'/>
-  <property name="sitebuild_dir"    value='${build_dir}/website'/>
-  <property name='javadocbuild_dir'    value='${sitebuild_dir}/javadocs'/>
-  <property name='gen_dir'     value='${build_dir}/generatedsrc'/>
-  <property name='classes_dir' value='${build_dir}/classes'/>
-  <property name='antlr_jar'   value='external/lib/antlr.jar'/>
-  <property name='javac.source' value='1.34xxx'/>
-  <property name='javac.target' value='1.34xxx'/>
-
-
-
-
-
-  <!--FIXME need to do get the jar ourselves -->
-  <property name='staxapi_jar'   value='../build/lib/jsr173_api.jar'/>
-
-  <property name='tests_dir'   value='test'/>
-
-  <target name='clean'>
-    <delete dir='${build_dir}'/>
-
-    <!-- delete the old location just in case someone still has it around -->
-    <delete dir='build'/>  
-  </target>
-
-  <target name='cleanall' depends='clean,all'/>
-
-  <target name='all' depends='compile'/>
-
-  <target name='parser'>
-    <delete dir='${gen_dir}'/>
-    <mkdir dir='${gen_dir}'/>
-    <!-- skipping parser generation for now, just noise at this point
-    <antlr outputdirectory='${gen_dir}' target='${src_dir}/java.g'
-           debug='false'>
-       <classpath>
-         <pathelement location='${antlr_jar}'/>
-         <pathelement path='${java.class.path}'/>
-         <pathelement path='${classes_dir}'/>
-       </classpath>
-    </antlr>
-    -->
-  </target>
-
-
-  <target name='compile' depends='jsr173,parser,compile14,
-                                  do15compile.check,compile15'/>
-
-  <target name='compile14'>
-    <mkdir dir='${classes_dir}'/>
-    <javac srcdir='${src_dir}' destdir='${classes_dir}'
-           source='1.4' target='1.4'
-           debug='on'>
-      <src path='${src_dir}'/>
-      <src path='${gen_dir}'/>
-      <classpath>
-        <pathelement location='${antlr_jar}'/>
-        <pathelement location='${staxapi_jar}'/>
-        <pathelement path='${classes_dir}'/>
-        <pathelement path='${java.class.path}'/>
-      </classpath>
-    </javac>
-  </target>
-
-  <target name='compile15' if='do15compile'>
-    <mkdir dir='${classes_dir}'/>
-    <javac srcdir='${src15_dir}' destdir='${classes_dir}'
-           source='1.5' target='1.5'
-           debug='on'>
-      <classpath>
-        <pathelement location='${antlr_jar}'/>
-        <pathelement location='${staxapi_jar}'/>
-        <pathelement path='${classes_dir}'/>
-        <pathelement path='${java.class.path}'/>
-      </classpath>
-    </javac>
-  </target>
-
-  <target name='jsr173'>
-    <ant dir='..' target='jsr173.jar' inheritAll='false' />
-    <ant dir='..' target='jsr173_ri.jar' inheritAll='false' />
-    <ant dir='..' target='jsr173_api.jar' inheritAll='false' />
-  </target>
-
-  <target name='test'>
-    <ant dir='${tests_dir}' target='all' inheritAll='false' />
-  </target>
-
-  <target name='javadocs' depends='compile'>
-    <mkdir dir='${javadocbuild_dir}' />
-    <javadoc packagenames='*'
-             destdir='${javadocbuild_dir}'
-             windowtitle='JAM Documentation'
-             stylesheetfile='${site_dir}/stylesheet.css'>
-      <fileset dir='${src_dir}' includes='**/jam/**/*.java' excludes='**/internal/**/*.java' />
-      <classpath>
-        <pathelement location='${classes_dir}' />
-      </classpath>
-    </javadoc>
-  </target>
-  
-  <target name='jars' depends='all'>
-    <copy  todir='${classes_dir}' ><fileset dir='license'/></copy>
-    <jar jarfile='${jam_jar}'    basedir='${classes_dir}'/>
-    <jar jarfile='${javadoc_zip}' basedir='${javadocbuild_dir}'/>
-    <jar jarfile='${jamsrc_zip}' basedir='.'  excludes='${build_dir}/**,test'/>
-  </target>
-
-  <target name='website' depends='all,javadocs,jars'>
-    <mkdir dir='${sitebuild_dir}' />
-    <copy  todir='${sitebuild_dir}' >
-      <fileset dir='${site_dir}'/>
-    </copy>
-<!--
-    <copy todir='${sitebuild_dir}' flatten='true'>
-      <fileset dir='.'  includes='${jam_jar},${javadoc_zip},${jamsrc_zip}'/>
-    </copy>
--->
-  </target>
-
-  <target name='repackage' depends='clean,repackage_check,repackage_do'/>
-
-  <target name='repackage_check' unless='newpackage'>
-    <echo message='Please specify -Dnewpackage=[destination package]'/>
-    <echo message='on the ant command line.'/>
-  </target>
-
-
-  <target name='repackage_do' if='newpackage'>
-    <echo message='Building repackaged JAM under ${newpackage}...'/>
-    <echo message=''/>
-
-    <property name='repackage_spec' 
-              value='org.apache.xmlbeans.impl.jam:${newpackage}'/>
-    <property name='repackaged_src' value='${build_dir}/repackaged_src'/>
-
-    <mkdir dir='${repackaged_src}'/>
-    <mkdir dir='${classes_dir}'/>
-
-    <javac srcdir='${src_dir}' destdir='${classes_dir}' 
-           source='${javac.source}' target='${javac.target}'
-           includes='**/tools/*.java'/>
-
-    <java classname='org.apache.xmlbeans.impl.jam.tools.Repackage' 
-                    fork='true' failonerror='true'>
-       <classpath>
-         <pathelement location='${build_dir}/classes'/>
-       </classpath>
-       <arg line='-repackage ${repackage_spec} -f src -t ${repackaged_src}'/>
-<!--       <arg line='-repackage ${repackage_spec} -f test -t ${repackaged_src}'/>-->
-    </java>
-
-    <delete dir='${classes_dir}'/> <!-- don't need repackager any more -->
-
-    <ant dir='.' target='website' inheritAll='false' >
-      <property name='src_dir' value='${repackaged_src}'/>
-    </ant>
-  </target>
-
-  <target name='do15compile.check' 
-    depends='do15compile.look,no15.warn'/>
-
-  <target name='do15compile.look'>
-    <condition property='do15compile'>
-      <contains string='${java.version}' substring='1.5'/>
-    </condition>
-  </target>
-
-  <target name='no15.warn' unless='do15compile'>
-    <echo message='======================================================'/>
-    <echo message='W A R N I N G:  You are building JAM without JDK 1.5.'/>
-    <echo message='The resulting build of JAM will not support'/>
-    <echo message='1.5-specific functionality such as JSR175,'/>
-    <echo message='even if 1.5 is available at runtime.  For this'/>
-    <echo message='reason, it is recommended that you always build'/>
-    <echo message='JAM under 1.5.'/>
-    <echo message='======================================================'/>
-
-  </target>
-
-
-
-</project>
diff --git a/v2/jam/external/lib/antlr-runtime.jar b/v2/jam/external/lib/antlr-runtime.jar
deleted file mode 100644
index a58c38d..0000000
--- a/v2/jam/external/lib/antlr-runtime.jar
+++ /dev/null
Binary files differ
diff --git a/v2/jam/external/lib/antlr.jar b/v2/jam/external/lib/antlr.jar
deleted file mode 100644
index a4bb933..0000000
--- a/v2/jam/external/lib/antlr.jar
+++ /dev/null
Binary files differ
diff --git a/v2/jam/external/lib/junit.jar b/v2/jam/external/lib/junit.jar
deleted file mode 100644
index 6ee43bb..0000000
--- a/v2/jam/external/lib/junit.jar
+++ /dev/null
Binary files differ
diff --git a/v2/jam/external/lib/parseview.jar b/v2/jam/external/lib/parseview.jar
deleted file mode 100644
index 7a6ea1f..0000000
--- a/v2/jam/external/lib/parseview.jar
+++ /dev/null
Binary files differ
diff --git a/v2/jam/license/LICENSE.txt b/v2/jam/license/LICENSE.txt
deleted file mode 100644
index fef8c29..0000000
--- a/v2/jam/license/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-                                 Apache License

-                           Version 2.0, January 2004

-                        http://www.apache.org/licenses/

-

-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

-

-   1. Definitions.

-

-      "License" shall mean the terms and conditions for use, reproduction,

-      and distribution as defined by Sections 1 through 9 of this document.

-

-      "Licensor" shall mean the copyright owner or entity authorized by

-      the copyright owner that is granting the License.

-

-      "Legal Entity" shall mean the union of the acting entity and all

-      other entities that control, are controlled by, or are under common

-      control with that entity. For the purposes of this definition,

-      "control" means (i) the power, direct or indirect, to cause the

-      direction or management of such entity, whether by contract or

-      otherwise, or (ii) ownership of fifty percent (50%) or more of the

-      outstanding shares, or (iii) beneficial ownership of such entity.

-

-      "You" (or "Your") shall mean an individual or Legal Entity

-      exercising permissions granted by this License.

-

-      "Source" form shall mean the preferred form for making modifications,

-      including but not limited to software source code, documentation

-      source, and configuration files.

-

-      "Object" form shall mean any form resulting from mechanical

-      transformation or translation of a Source form, including but

-      not limited to compiled object code, generated documentation,

-      and conversions to other media types.

-

-      "Work" shall mean the work of authorship, whether in Source or

-      Object form, made available under the License, as indicated by a

-      copyright notice that is included in or attached to the work

-      (an example is provided in the Appendix below).

-

-      "Derivative Works" shall mean any work, whether in Source or Object

-      form, that is based on (or derived from) the Work and for which the

-      editorial revisions, annotations, elaborations, or other modifications

-      represent, as a whole, an original work of authorship. For the purposes

-      of this License, Derivative Works shall not include works that remain

-      separable from, or merely link (or bind by name) to the interfaces of,

-      the Work and Derivative Works thereof.

-

-      "Contribution" shall mean any work of authorship, including

-      the original version of the Work and any modifications or additions

-      to that Work or Derivative Works thereof, that is intentionally

-      submitted to Licensor for inclusion in the Work by the copyright owner

-      or by an individual or Legal Entity authorized to submit on behalf of

-      the copyright owner. For the purposes of this definition, "submitted"

-      means any form of electronic, verbal, or written communication sent

-      to the Licensor or its representatives, including but not limited to

-      communication on electronic mailing lists, source code control systems,

-      and issue tracking systems that are managed by, or on behalf of, the

-      Licensor for the purpose of discussing and improving the Work, but

-      excluding communication that is conspicuously marked or otherwise

-      designated in writing by the copyright owner as "Not a Contribution."

-

-      "Contributor" shall mean Licensor and any individual or Legal Entity

-      on behalf of whom a Contribution has been received by Licensor and

-      subsequently incorporated within the Work.

-

-   2. Grant of Copyright License. Subject to the terms and conditions of

-      this License, each Contributor hereby grants to You a perpetual,

-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

-      copyright license to reproduce, prepare Derivative Works of,

-      publicly display, publicly perform, sublicense, and distribute the

-      Work and such Derivative Works in Source or Object form.

-

-   3. Grant of Patent License. Subject to the terms and conditions of

-      this License, each Contributor hereby grants to You a perpetual,

-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

-      (except as stated in this section) patent license to make, have made,

-      use, offer to sell, sell, import, and otherwise transfer the Work,

-      where such license applies only to those patent claims licensable

-      by such Contributor that are necessarily infringed by their

-      Contribution(s) alone or by combination of their Contribution(s)

-      with the Work to which such Contribution(s) was submitted. If You

-      institute patent litigation against any entity (including a

-      cross-claim or counterclaim in a lawsuit) alleging that the Work

-      or a Contribution incorporated within the Work constitutes direct

-      or contributory patent infringement, then any patent licenses

-      granted to You under this License for that Work shall terminate

-      as of the date such litigation is filed.

-

-   4. Redistribution. You may reproduce and distribute copies of the

-      Work or Derivative Works thereof in any medium, with or without

-      modifications, and in Source or Object form, provided that You

-      meet the following conditions:

-

-      (a) You must give any other recipients of the Work or

-          Derivative Works a copy of this License; and

-

-      (b) You must cause any modified files to carry prominent notices

-          stating that You changed the files; and

-

-      (c) You must retain, in the Source form of any Derivative Works

-          that You distribute, all copyright, patent, trademark, and

-          attribution notices from the Source form of the Work,

-          excluding those notices that do not pertain to any part of

-          the Derivative Works; and

-

-      (d) If the Work includes a "NOTICE" text file as part of its

-          distribution, then any Derivative Works that You distribute must

-          include a readable copy of the attribution notices contained

-          within such NOTICE file, excluding those notices that do not

-          pertain to any part of the Derivative Works, in at least one

-          of the following places: within a NOTICE text file distributed

-          as part of the Derivative Works; within the Source form or

-          documentation, if provided along with the Derivative Works; or,

-          within a display generated by the Derivative Works, if and

-          wherever such third-party notices normally appear. The contents

-          of the NOTICE file are for informational purposes only and

-          do not modify the License. You may add Your own attribution

-          notices within Derivative Works that You distribute, alongside

-          or as an addendum to the NOTICE text from the Work, provided

-          that such additional attribution notices cannot be construed

-          as modifying the License.

-

-      You may add Your own copyright statement to Your modifications and

-      may provide additional or different license terms and conditions

-      for use, reproduction, or distribution of Your modifications, or

-      for any such Derivative Works as a whole, provided Your use,

-      reproduction, and distribution of the Work otherwise complies with

-      the conditions stated in this License.

-

-   5. Submission of Contributions. Unless You explicitly state otherwise,

-      any Contribution intentionally submitted for inclusion in the Work

-      by You to the Licensor shall be under the terms and conditions of

-      this License, without any additional terms or conditions.

-      Notwithstanding the above, nothing herein shall supersede or modify

-      the terms of any separate license agreement you may have executed

-      with Licensor regarding such Contributions.

-

-   6. Trademarks. This License does not grant permission to use the trade

-      names, trademarks, service marks, or product names of the Licensor,

-      except as required for reasonable and customary use in describing the

-      origin of the Work and reproducing the content of the NOTICE file.

-

-   7. Disclaimer of Warranty. Unless required by applicable law or

-      agreed to in writing, Licensor provides the Work (and each

-      Contributor provides its Contributions) on an "AS IS" BASIS,

-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or

-      implied, including, without limitation, any warranties or conditions

-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A

-      PARTICULAR PURPOSE. You are solely responsible for determining the

-      appropriateness of using or redistributing the Work and assume any

-      risks associated with Your exercise of permissions under this License.

-

-   8. Limitation of Liability. In no event and under no legal theory,

-      whether in tort (including negligence), contract, or otherwise,

-      unless required by applicable law (such as deliberate and grossly

-      negligent acts) or agreed to in writing, shall any Contributor be

-      liable to You for damages, including any direct, indirect, special,

-      incidental, or consequential damages of any character arising as a

-      result of this License or out of the use or inability to use the

-      Work (including but not limited to damages for loss of goodwill,

-      work stoppage, computer failure or malfunction, or any and all

-      other commercial damages or losses), even if such Contributor

-      has been advised of the possibility of such damages.

-

-   9. Accepting Warranty or Additional Liability. While redistributing

-      the Work or Derivative Works thereof, You may choose to offer,

-      and charge a fee for, acceptance of support, warranty, indemnity,

-      or other liability obligations and/or rights consistent with this

-      License. However, in accepting such obligations, You may act only

-      on Your own behalf and on Your sole responsibility, not on behalf

-      of any other Contributor, and only if You agree to indemnify,

-      defend, and hold each Contributor harmless for any liability

-      incurred by, or claims asserted against, such Contributor by reason

-      of your accepting any such warranty or additional liability.

-

-   END OF TERMS AND CONDITIONS

-

-   APPENDIX: How to apply the Apache License to your work.

-

-      To apply the Apache License to your work, attach the following

-      boilerplate notice, with the fields enclosed by brackets "[]"

-      replaced with your own identifying information. (Don't include

-      the brackets!)  The text should be enclosed in the appropriate

-      comment syntax for the file format. We also recommend that a

-      file or class name and description of purpose be included on the

-      same "printed page" as the copyright notice for easier

-      identification within third-party archives.

-

-   Copyright [yyyy] [name of copyright owner]

-

-   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.

-

diff --git a/v2/jam/license/NOTICE.txt b/v2/jam/license/NOTICE.txt
deleted file mode 100644
index ff28850..0000000
--- a/v2/jam/license/NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This software consists of voluntary contributions made by many
-individuals on behalf of the Apache Software Foundation and was
-originally based on software copyright (c) 2000-2003 BEA Systems 
-Inc., <http://www.bea.com/>. For more information on the Apache 
-Software Foundation, please see <http://www.apache.org/>.
diff --git a/v2/jam/src/java.g b/v2/jam/src/java.g
deleted file mode 100644
index f53734b..0000000
--- a/v2/jam/src/java.g
+++ /dev/null
@@ -1,756 +0,0 @@
-//
-// This is the ANTLR grammar used by JAM to parse java source files.
-//
-// I would rather have this file live down in ...impl.jam.internal.parser,
-// but that causes headaches during repackaging.
-//
-// This grammar was based on the work of those described in the comments
-// below.
-//
-// Patrick Calahan <pcal@bea.com>
-//
-
-// weblogic:365 oam:66 wsee:8 jam:3
-
-header {
-
-package org.apache.xmlbeans.impl.jam_old.internal.parser.generated;
-
-import org.apache.xmlbeans.impl.jam_old.*;
-import org.apache.xmlbeans.impl.jam_old.internal.parser.ParamStructPool;
-import org.apache.xmlbeans.impl.jam_old.editable.*;
-import org.apache.xmlbeans.impl.jam_old.internal.elements.*;
-import java.util.*;
-import java.io.StringWriter;
-import java.lang.reflect.Modifier;
-
-
-}
-
-
-/** Java 1.5/JSR14 Recognizer
- *
- * Run 'java Main [-showtree] directory-full-of-java-files'
- *
- * [The -showtree option pops up a Swing frame that shows
- *  the AST constructed from the parser.]
- *
- * Run 'java Main <directory full of java files>'
- *
- * Contributing authors:
- *		John Mitchell		johnm@non.net
- *		Terence Parr		parrt@magelang.com
- *		John Lilley			jlilley@empathy.com
- *		Scott Stanchfield	thetick@magelang.com
- *		Markus Mohnen       mohnen@informatik.rwth-aachen.de
- *      Peter Williams      pete.williams@sun.com
- *      Allan Jacobs        Allan.Jacobs@eng.sun.com
- *      Steve Messick       messick@redhills.com
- *      John Pybus			john@pybus.org
- *
- * Version 1.00 December 9, 1997 -- initial release
- * Version 1.01 December 10, 1997
- *		fixed bug in octal def (0..7 not 0..8)
- * Version 1.10 August 1998 (parrt)
- *		added tree construction
- *		fixed definition of WS,comments for mac,pc,unix newlines
- *		added unary plus
- * Version 1.11 (Nov 20, 1998)
- *		Added "shutup" option to turn off last ambig warning.
- *		Fixed inner class def to allow named class defs as statements
- *		synchronized requires compound not simple statement
- *		add [] after builtInType DOT class in primaryExpression
- *		"const" is reserved but not valid..removed from modifiers
- * Version 1.12 (Feb 2, 1999)
- *		Changed LITERAL_xxx to xxx in tree grammar.
- *		Updated java.g to use tokens {...} now for 2.6.0 (new feature).
- *
- * Version 1.13 (Apr 23, 1999)
- *		Didn't have (stat)? for else clause in tree parser.
- *		Didn't gen ASTs for interface extends.  Updated tree parser too.
- *		Updated to 2.6.0.
- * Version 1.14 (Jun 20, 1999)
- *		Allowed final/abstract on local classes.
- *		Removed local interfaces from methods
- *		Put instanceof precedence where it belongs...in relationalExpr
- *			It also had expr not type as arg; fixed it.
- *		Missing ! on SEMI in classBlock
- *		fixed: (expr) + "string" was parsed incorrectly (+ as unary plus).
- *		fixed: didn't like Object[].class in parser or tree parser
- * Version 1.15 (Jun 26, 1999)
- *		Screwed up rule with instanceof in it. :(  Fixed.
- *		Tree parser didn't like (expr).something; fixed.
- *		Allowed multiple inheritance in tree grammar. oops.
- * Version 1.16 (August 22, 1999)
- *		Extending an interface built a wacky tree: had extra EXTENDS.
- *		Tree grammar didn't allow multiple superinterfaces.
- *		Tree grammar didn't allow empty var initializer: {}
- * Version 1.17 (October 12, 1999)
- *		ESC lexer rule allowed 399 max not 377 max.
- *		java.tree.g didn't handle the expression of synchronized
- *		statements.
- * Version 1.18 (August 12, 2001)
- *      	Terence updated to Java 2 Version 1.3 by
- *		observing/combining work of Allan Jacobs and Steve
- *		Messick.  Handles 1.3 src.  Summary:
- *		o  primary didn't include boolean.class kind of thing
- *      	o  constructor calls parsed explicitly now:
- * 		   see explicitConstructorInvocation
- *		o  add strictfp modifier
- *      	o  missing objBlock after new expression in tree grammar
- *		o  merged local class definition alternatives, moved after declaration
- *		o  fixed problem with ClassName.super.field
- *      	o  reordered some alternatives to make things more efficient
- *		o  long and double constants were not differentiated from int/float
- *		o  whitespace rule was inefficient: matched only one char
- *		o  add an examples directory with some nasty 1.3 cases
- *		o  made Main.java use buffered IO and a Reader for Unicode support
- *		o  supports UNICODE?
- *		   Using Unicode charVocabulay makes code file big, but only
- *		   in the bitsets at the end. I need to make ANTLR generate
- *		   unicode bitsets more efficiently.
- * Version 1.19 (April 25, 2002)
- *		Terence added in nice fixes by John Pybus concerning floating
- *		constants and problems with super() calls.  John did a nice
- *		reorg of the primary/postfix expression stuff to read better
- *		and makes f.g.super() parse properly (it was METHOD_CALL not
- *		a SUPER_CTOR_CALL).  Also:
- *
- *		o  "finally" clause was a root...made it a child of "try"
- *		o  Added stuff for asserts too for Java 1.4, but *commented out*
- *		   as it is not backward compatible.
- *
- * Version 1.20 (October 27, 2002)
- *
- *      Terence ended up reorging John Pybus' stuff to
- *      remove some nondeterminisms and some syntactic predicates.
- *      Note that the grammar is stricter now; e.g., this(...) must
- *	be the first statement.
- *
- *      Trinary ?: operator wasn't working as array name:
- *          (isBig ? bigDigits : digits)[i];
- *
- *      Checked parser/tree parser on source for
- *          Resin-2.0.5, jive-2.1.1, jdk 1.3.1, Lucene, antlr 2.7.2a4,
- *	    and the 110k-line jGuru server source.
- *
- * Version 1.21.2 (March, 2003)
- *      Changes by Matt Quail to support generics (as per JDK1.5/JSR14)
- *      Notes:
- *      o We only allow the "extends" keyword and not the "implements"
- *        keyword, since thats what JSR14 seems to imply.
- *      o Thanks to Monty Zukowski for his help on the antlr-interest
- *        mail list.
- *      o Thanks to Alan Eliasen for testing the grammar over his
- *        Fink source base
- *
- *
- * This grammar is in the PUBLIC DOMAIN
- */
-
-
-class JavaParser extends Parser;
-options {
-	k = 1;
-	exportVocab=Java;                // Call its vocabulary "Java"
-	codeGenMakeSwitchThreshold = 2;  // Some optimizations
-	codeGenBitsetTestThreshold = 3;
-	defaultErrorHandler = true;
-	buildAST = false;
-}
-
-
-
-{
-  // ========================================================================
-  // Constants
-
-  private static final boolean VERBOSE = false;
-
-  // ========================================================================
-  // Variables
-
-  private String mLastJavadoc = null;
-  private String /*EPackage*/ mPackage;
-  private List mErrors = null;
-  private List mImports = new ArrayList();
-  private List mClasses = new ArrayList();
-
-  //private ParamStructPool mParamPool = new ParamStructPool();
-  private List mExceptionList = new ArrayList();
-  private JamClassLoader mLoader = null;
-
-  // ========================================================================
-  // Public methods
-
-  public void setClassLoader(JamClassLoader l) {
-    mLoader = l;
-  }
-
-  public EClass[] getResults() {
-    EClass[] out = new EClass[mClasses.size()];
-    mClasses.toArray(out);
-    return out;
-  }
-
-  // returns a collection of Strings and Throwables that were reported
-  // as errors
-  public Collection getErrors() { return mErrors; }
-
-  public void reportError(antlr.RecognitionException re) {
-    if (mErrors == null) mErrors = new ArrayList();
-    mErrors.add(re);
-  }
-
-  public void reportError(Exception re) {
-    if (mErrors == null) mErrors = new ArrayList();
-    mErrors.add(re);
-  }
-
-  public void reportError(String msg) {
-    if (mErrors == null) mErrors = new ArrayList();
-    mErrors.add(msg);
-  }
-
-  private void applyJavadocs(EMember member) {
-    if (mLastJavadoc != null) {
-      member.createComment().setText(mLastJavadoc);
-      if (VERBOSE) {
-        System.out.println("adding javadocs to "+member.getSimpleName()+":");
-        System.out.println(mLastJavadoc);
-      }
-    }
-    mLastJavadoc = null;
-  }
-
-//  public void reportWarning(String msg) {
-//  }
-
-
-    /**
-     * Counts the number of LT seen in the typeArguments production.
-     * It is used in semantic predicates to ensure we have seen
-     * enough closing '>' characters; which actually may have been
-     * either GT, SR or BSR tokens.
-     */
-    private int ltCounter = 0;
-
-    private EClass newClass(String simpleName) {
-    //FIXME more to do here
-      //EClass clazz = mResult.addNewClass(mPackage,simpleName,mImports);
-      String[] importSpecs = new String[mImports.size()];
-      mImports.toArray(importSpecs);
-      EClass clazz = null; //FIXMEnew EClassImpl(mPackage,simpleName,mLoader,importSpecs);
-      mClasses.add(clazz);
-      return clazz;
-    }
-}
-
-
-start : compilationUnit;
-
-// Compilation Unit: In Java, this is a single file.  This is the start
-//   rule for this parser
-compilationUnit
-{
-  int modifiers;
-}
-	:	// A compilation unit starts with an optional package definition
-
-		( ("package" pkg:IDENT { mPackage = pkg.getText(); } SEMI) |
-		  (("import" spec:IDENT SEMI) { mImports.add(spec.getText()); }) |
-		  javadoc |
-		  SEMI |
-      modifiers=modifiersList (classDefinition[modifiers] |
-                               interfaceDefinition[modifiers])
-    )*
-		EOF
-;
-
-// Definition of a Java class
-classDefinition[int modifiers]
-	:	"class" tweener name:IDENT tweener {
-      if (VERBOSE) System.out.println("creating class "+name.getText());
-	    EClass clazz = newClass(name.getText());
-	    clazz.setModifiers(modifiers);
-	    clazz.setIsInterface(false);
-	    applyJavadocs(clazz);
-	  }
-    // FIXME need to support generics
-		("extends" tweener c1:IDENT tweener { clazz.setSuperclassUnqualified(c1.getText()); })?
-	  ("implements" tweener c2:IDENT tweener { clazz.addInterfaceUnqualified(c2.getText()); }
-	       (COMMA tweener c3:IDENT tweener { clazz.addInterfaceUnqualified(c3.getText()); })*
-	  )?
-		cb:classBlock[clazz] {}
-	;
-
-// Definition of a Java Interface
-interfaceDefinition[int modifiers]
-	:	"interface" tweener name:IDENT tweener {
-		  EClass clazz = newClass(name.getText());
-	    clazz.setModifiers(modifiers);
-	    clazz.setIsInterface(true);
-	    applyJavadocs(clazz);
-	  }
-    // FIXME need to support generics
-	  ("extends" tweener c2:IDENT tweener { clazz.addInterfaceUnqualified(c2.getText()); }
-	      (COMMA tweener c3:IDENT tweener { clazz.addInterfaceUnqualified(c3.getText()); }  )*
-	  )?
-		cb:classBlock[clazz] {}
-	;
-
-
-tweener
- : (ML_COMMENT)*
-;
-
-classBlock[EClass clazz]
-	:	LCURLY
-      (javadoc | member[clazz] | SEMI)*
-		RCURLY
-	;
-
-// Now the various things that can be defined inside a class or interface...
-// Note that not all of these are really valid in an interface (constructors,
-// for example), and if this grammar were used for a compiler there would
-// need to be some semantic checks to make sure we're doing the right thing...
-member[EClass clazz]
-{
-  int modifiers;
-}
-:
-		(modifiers=modifiersList
-		  (modifiedMember[clazz,modifiers] |
-		  classDefinition[modifiers] |
-		  staticInitializer[modifiers]
-		 ))
-;
-
-staticInitializer[int modifiers]
-: (statement_block)
-{
-  if (modifiers != java.lang.reflect.Modifier.STATIC) {
-    //throw new IllegalArgumentException("not valid static initializer");
-  }
-}
-;
-
-
-
-modifiedMember[EClass clazz, int modifiers]
- : token1:IDENT
-(
-  (constructor[clazz, modifiers, token1.getText()] |
-   fieldOrMethod[clazz,modifiers, token1.getText()]
-   )
-)
-;
-
-
-
-constructor[EClass clazz, int modifiers, String name]
-{
-  ParamStructPool pool = new ParamStructPool();
-}
-  : (LPAREN (parameterList[pool])? RPAREN (throwsClause[mExceptionList])? statement_block)
-{
-  if (!name.equals(clazz.getSimpleName())) {
-    throw new IllegalArgumentException("FIXME not a constructor '"+
-    name+"'  '"+clazz.getSimpleName()+"'");
-  }
-  ConstructorImpl constr = (ConstructorImpl)clazz.addNewConstructor();
-  constr.setModifiers(modifiers);
-  pool.setParametersOn(constr);
-  constr.setUnqualifiedThrows(mExceptionList);
-  applyJavadocs(constr);
-
-}
-;
-
-fieldOrMethod[EClass clazz, int modifiers, String type]
- {
-   String name = null;
- }
-
- : (LBRACK RBRACK)* tweener  //FIXME array type handling is broken here
-    n:IDENT tweener { name = n.getText(); }
-   ((
-     ((ASSIGN variable_value)? SEMI) {
-       EField field = clazz.addNewField();
-       field.setSimpleName(name);
-       field.setUnqualifiedType(type);
-       field.setModifiers(modifiers);
-	     applyJavadocs(field);
-	    }
-	  )
-	  |
-	  (
-	  { ParamStructPool pool = new ParamStructPool();  //FIXME can we reuse this please?
-	  }
-      (LPAREN (parameterList[pool])? RPAREN tweener (throwsClause[mExceptionList])? (statement_block | SEMI)) {
-        if (VERBOSE) System.out.println("creating method "+name);
-        MethodImpl method = (MethodImpl)clazz.addNewMethod();
-        method.setSimpleName(name);
-        method.setUnqualifiedReturnType(type);
-        method.setModifiers(modifiers);
-        pool.setParametersOn(method);
-        method.setUnqualifiedThrows(mExceptionList);
-        applyJavadocs(method);
-      }
-	  ))
-;
-
-variable_value
- : (options {greedy=false;} : (statement_block | .))*
-;
-
-static_initializer
-: "static" tweener statement_block
-;
-
-
-// This is a list of exception classes that the method is declared to throw
-throwsClause[List out]
-	:	(
-
-	  "throws" tweener t1:IDENT {
-	    out.clear();
-	    out.add(t1.getText());
-	   } tweener
-	   ( COMMA tweener t2:IDENT {
-	     out.add(t2.getText());
-	   } tweener)*
-
-	   )
-	;
-
-
-// A list of formal parameters
-parameterList[ParamStructPool pool]
-	:	(parameter[pool] (COMMA parameter[pool])*)
-;
-
-// A formal parameter.
-parameter[ParamStructPool pool]
-{
-  String type;
-  String name;
-}
-: tweener ("final")? t:IDENT tweener n:IDENT tweener {
-  pool.add(t.getText(),n.getText());
-}
-;
-
-
-// we can ignore everything inside
-statement_block
-: (LCURLY
-    (options {greedy=false;} : statement_block_contents )*
-   RCURLY)
-;
-
-statement_block_contents
-:  (statement_block |
-    SL_COMMENT | ML_COMMENT |
-    CHAR_LITERAL | STRING_LITERAL |
-    .)
-;
-
-
-javadoc
-: (c:ML_COMMENT { mLastJavadoc = c.getText(); }  )
-;
-
-
-modifiersList returns [int out]
-{
-  out = 0;
-}
-:
-  (
-    ("private"      { out = out | Modifier.PRIVATE; })      |
-    ("public"       { out = out | Modifier.PUBLIC; })       |
-    ("protected"    { out = out | Modifier.PROTECTED; })    |
-    ("abstract"     { out = out | Modifier.ABSTRACT; })     |
-    ("static"       { out = out | Modifier.STATIC; })       |
-    ("final"        { out = out | Modifier.FINAL; })        |
-    ("transient"    { out = out | Modifier.TRANSIENT; })    |
-    ("synchronized" { out = out | Modifier.SYNCHRONIZED; }) |
-    ("volatile"     { out = out | Modifier.VOLATILE; })     |
-    ("native"       { out = out | Modifier.NATIVE; })       |
-    ("strictfp"     { out = out | Modifier.STRICT; })
-  )*
-;
-
-constant
-	:	NUM_INT
-	|	CHAR_LITERAL
-	|	STRING_LITERAL
-	|	NUM_FLOAT
-	|	NUM_LONG
-	|	NUM_DOUBLE
-	;
-
-
-
-
-
-//----------------------------------------------------------------------------
-// The Java scanner
-//----------------------------------------------------------------------------
-class JavaLexer extends Lexer;
-
-options {
-	exportVocab=Java;      // call the vocabulary "Java"
-	testLiterals=false;    // don't automatically test for literals
-	k=4;                   // four characters of lookahead
-	charVocabulary='\u0003'..'\uFFFF';
-	// without inlining some bitset tests, couldn't do unicode;
-	// I need to make ANTLR generate smaller bitsets; see
-	// bottom of JavaLexer.java
-	codeGenBitsetTestThreshold=20;
-}
-
-
-
-// OPERATORS
-
-LPAREN			:	'('		;
-RPAREN			:	')'		;
-LBRACK			:	'['		;
-RBRACK			:	']'		;
-LCURLY			:	'{'		;
-RCURLY			:	'}'		;
-COLON			:	':'		;
-COMMA			:	','		;
-//DOT			  :	'.'		;
-ASSIGN			:	'='		;
-SEMI			:	';'		;
-
-QUESTION		:	'?'		;
-EQUAL			:	"=="	;
-LNOT			:	'!'		;
-BNOT			:	'~'		;
-NOT_EQUAL		:	"!="	;
-DIV				:	'/'		;
-DIV_ASSIGN		:	"/="	;
-PLUS			:	'+'		;
-PLUS_ASSIGN		:	"+="	;
-INC				:	"++"	;
-MINUS			:	'-'		;
-MINUS_ASSIGN	:	"-="	;
-DEC				:	"--"	;
-STAR			:	'*'		;
-STAR_ASSIGN		:	"*="	;
-MOD				:	'%'		;
-MOD_ASSIGN		:	"%="	;
-SR				:	">>"	;
-SR_ASSIGN		:	">>="	;
-BSR				:	">>>"	;
-BSR_ASSIGN		:	">>>="	;
-GE				:	">="	;
-GT				:	">"		;
-SL				:	"<<"	;
-SL_ASSIGN		:	"<<="	;
-LE				:	"<="	;
-LT				:	'<'		;
-BXOR			:	'^'		;
-BXOR_ASSIGN		:	"^="	;
-BOR				:	'|'		;
-BOR_ASSIGN		:	"|="	;
-LOR				:	"||"	;
-BAND			:	'&'		;
-BAND_ASSIGN		:	"&="	;
-LAND			:	"&&"	;
-
-
-
-// Whitespace -- ignored
-WS	:	(	' '
-		|	'\t'
-		|	'\f'
-			// handle newlines
-		|	(	options {generateAmbigWarnings=false;}
-			:	"\r\n"  // Evil DOS
-			|	'\r'    // Macintosh
-			|	'\n'    // Unix (the right way)
-			)
-			{ newline(); }
-		)+
-		{ _ttype = Token.SKIP; }
-	;
-
-
-
-// Single-line comments
-SL_COMMENT
-	:	"//"
-		(~('\n'|'\r'))* ('\n'|'\r'('\n')?)
-		{$setType(Token.SKIP); newline();}
-	;
-
-// multiple-line comments
-ML_COMMENT
-	:	"/*"
-		(	/*	'\r' '\n' can be matched in one alternative or by matching
-				'\r' in one iteration and '\n' in another.  I am trying to
-				handle any flavor of newline that comes in, but the language
-				that allows both "\r\n" and "\r" and "\n" to all be valid
-				newline is ambiguous.  Consequently, the resulting grammar
-				must be ambiguous.  I'm shutting this warning off.
-			 */
-			options {
-				generateAmbigWarnings=false;
-			}
-		:
-			{ LA(2)!='/' }? '*'
-		|	'\r' '\n'		{newline();}
-		|	'\r'			{newline();}
-		|	'\n'			{newline();}
-		|	~('*'|'\n'|'\r')
-		)*
-		"*/"
-//		{$setType(Token.SKIP);}
-	;
-
-
-// character literals
-CHAR_LITERAL
-	:	'\'' ( ESC | ~'\'' ) '\''
-	;
-
-// string literals
-STRING_LITERAL
-	:	'"' (ESC|~('"'|'\\'))* '"'
-	;
-
-
-// escape sequence -- note that this is protected; it can only be called
-//   from another lexer rule -- it will not ever directly return a token to
-//   the parser
-// There are various ambiguities hushed in this rule.  The optional
-// '0'...'9' digit matches should be matched here rather than letting
-// them go back to STRING_LITERAL to be matched.  ANTLR does the
-// right thing by matching immediately; hence, it's ok to shut off
-// the FOLLOW ambig warnings.
-protected
-ESC
-	:	'\\'
-		(	'n'
-		|	'r'
-		|	't'
-		|	'b'
-		|	'f'
-		|	'"'
-		|	'\''
-		|	'\\'
-		|	('u')+ HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
-		|	'0'..'3'
-			(
-				options {
-					warnWhenFollowAmbig = false;
-				}
-			:	'0'..'7'
-				(
-					options {
-						warnWhenFollowAmbig = false;
-					}
-				:	'0'..'7'
-				)?
-			)?
-		|	'4'..'7'
-			(
-				options {
-					warnWhenFollowAmbig = false;
-				}
-			:	'0'..'7'
-			)?
-		)
-	;
-
-
-// hexadecimal digit (again, note it's protected!)
-protected
-HEX_DIGIT
-	:	('0'..'9'|'A'..'F'|'a'..'f')
-	;
-
-
-// a dummy rule to force vocabulary to be all characters (except special
-//   ones that ANTLR uses internally (0 to 2)
-protected
-VOCAB
-	:	'\3'..'\377'
-	;
-
-// a numeric literal
-NUM_INT
-	{boolean isDecimal=false; Token t=null;}
-    :   '.'
-            (	('0'..'9')+ (EXPONENT)? (f1:FLOAT_SUFFIX {t=f1;})?
-                {
-				if (t != null && t.getText().toUpperCase().indexOf('F')>=0) {
-                	_ttype = NUM_FLOAT;
-				}
-				else {
-                	_ttype = NUM_DOUBLE; // assume double
-				}
-				}
-            )?
-
-	|	(	'0' {isDecimal = true;} // special case for just '0'
-			(	('x'|'X')
-				(											// hex
-					// the 'e'|'E' and float suffix stuff look
-					// like hex digits, hence the (...)+ doesn't
-					// know when to stop: ambig.  ANTLR resolves
-					// it correctly by matching immediately.  It
-					// is therefor ok to hush warning.
-					options {
-						warnWhenFollowAmbig=false;
-					}
-				:	HEX_DIGIT
-				)+
-			|	('0'..'7')+									// octal
-			)?
-		|	('1'..'9') ('0'..'9')*  {isDecimal=true;}		// non-zero decimal
-		)
-		(	('l'|'L') { _ttype = NUM_LONG; }
-
-		// only check to see if it's a float if looks like decimal so far
-		|	{isDecimal}?
-            (   '.' ('0'..'9')* (EXPONENT)? (f2:FLOAT_SUFFIX {t=f2;})?
-            |   EXPONENT (f3:FLOAT_SUFFIX {t=f3;})?
-            |   f4:FLOAT_SUFFIX {t=f4;}
-            )
-            {
-			if (t != null && t.getText().toUpperCase() .indexOf('F') >= 0) {
-                _ttype = NUM_FLOAT;
-			}
-            else {
-	           	_ttype = NUM_DOUBLE; // assume double
-			}
-			}
-        )?
-	;
-
-
-// A very loose java identifier, including '*' import identifiers
-IDENT
-	options {testLiterals=true;}
-	:	('a'..'z'|'A'..'Z'|'_'|'$') ('a'..'z'|'A'..'Z'|'_'|'0'..'9'|'$'|'.')*
-	  (('*') | ( '[' | ']' ) )* // also covers wildcard imports and array types
-	;
-
-
-// a couple protected methods to assist in matching floating point numbers
-protected
-EXPONENT
-	:	('e'|'E') ('+'|'-')? ('0'..'9')+
-	;
-
-
-protected
-FLOAT_SUFFIX
-	:	'f'|'F'|'d'|'D'
-	;
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotatedElement.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotatedElement.java
deleted file mode 100644
index 2d6472a..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotatedElement.java
+++ /dev/null
@@ -1,81 +0,0 @@
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Base abstraction for JElements which can carry annotations and comments.
- * The only JElements which cannot do this are JAnnotation and JComment.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract interface JAnnotatedElement extends JElement {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>Returns the metadata JAnnotations that are associated with
-   * this abstraction.  Returns an empty array if there are no
-   * annotations.</p>
-   */
-  public JAnnotation[] getAnnotations();
-
-  /**
-   * <p>Returns the JAnnotation which is being proxied by the given subclass
-   * of TypedAnnotationProxyBase, or null if no such annotation exists.  If it
-   * does exist, the <code>getProxy()</code> method on the returned
-   * object is guaranteed to return be an instance of the proxyClass.</p>
-   *
-   * @throws IllegalArgumentException if the proxyClass parameter is null
-   * or not a subclass of <code>TypedAnnotationProxyBase</code>.
-   */
-  public JAnnotation getAnnotation(Class proxyClass);
-
-  /**
-   * <p>Returns an instance of TypedAnnotationProxyBase on this elements for which the given
-   * proxy class has been established.  This method is guaranteed to
-   * return either an instance of the given proxyClass or null.</p>
-   *
-   * <p>This method is simply a convenient shorthand for
-   * <code>getAnnotation(proxyClass).getProxy()</code>.</p>
-   *
-   * @throws IllegalArgumentException if the proxyClass parameter is null
-   * or not a subclass of <code>AnnotationProxy</code>.
-   */
-  public Object getAnnotationProxy(Class proxyClass);
-
-  /**
-   * <p>Returns the annotation that represents the named 175 annotation
-   * or javadoc tag on this elements.</p>
-   */
-  public JAnnotation getAnnotation(String tagnameProxynameOr175typename);
-
-
-  /**
-   * Shortcut method which returns a given annotation value.  The 'valueId'
-   * should be a string of the format 'annotation-name@value-name'.  The
-   * value-name may be ommitted; if it is, it defaults to
-   * JAnntoation.SINGLE_MEMBER_VALUE.
-   *
-   * @param valueId
-   * @return
-   */
-  public JAnnotationValue getAnnotationValue(String valueId);
-
-  /**
-   * <p>Returns the comment associated with this abstraction.
-   * Returns null if it has no comment.</p>
-   */
-  public JComment getComment();
-
-  //expose these soon, remove getAllJavadocTags
-
-  //public JAnnotation[] getLiteralAnnotations();
-
-  //public JAnnotation[] getLiteralAnnotations(String annotationName);
-
-  /**
-   * @deprecated
-   */
-  public JAnnotation[] getAllJavadocTags();
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotation.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotation.java
deleted file mode 100644
index 9cc6f4b..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotation.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents a metadata that is associated with a particular
- * JElement.  Note that JAnnoations are JElements, which means
- * that they themselves can have annotations, and can be treated as
- * nodes in a JAM hierarchy.</p>
- *
- * <p>Annotations can be simple or complex.  Values of simple
- * annotations can be retrieved via the various get...Value() methods.
- * Complex attributes can be navigated via the getAnnotations() method
- * which exposes nested attributes (which may in turn be either simple
- * or complex.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JAnnotation extends JElement {
-
-  // ========================================================================
-  // Constants
-
-  public static final String SINGLE_VALUE_NAME = "value";
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>If a typed annotation proxy has been registered for the annotation
-   * represented by this JAnnotation, returns this object.  Note that
-   * it's usually easier to access proxies by simply calling
-   * JAnnotatedElement.getAnnotationProxy(proxyClass).</p>
-   *
-   * <p>The value returned is guaranteed to be either a user-defined
-   * subclass of TypedAnnotationProxyBase or null.</p>
-   */
-  public Object getProxy();
-
-  /**
-   * <p>Returns an array of this annotation's member values.</p>
-   */
-  public JAnnotationValue[] getValues();
-
-  /**
-   * <p>Returns a structure which provides untyped, "by-name" access to
-   * the value of the named annotation member.
-   */
-  public JAnnotationValue getValue(String named);
-
-
-  // we're going to expose these with getArtifact() instead.
-
-  /**
-   * <p>Use of this method is *strongly* discouraged.</p>
-   *
-   * <p>If this JAnnotation represents a javadoc tag, returns the raw,
-   * untrimmed contents of the tag.  Otherwise, returns null.  You
-   * shouldn't use this method without a really good reason - you normally
-   * should call one of the getMember() methods to get at the tag contents.
-   * You can call getMember(SINGLE_MEMBER_NAME) to get a JAnnotationValue
-   * representing the contents of a simple javadoc tag (e.g. @mytag myvalue).
-   * </p>
-   */
-  //public String getJavadocTagText();
-
-  /**
-   * <p>If this JAnnotation corresponds to metadata that is stored in
-   * a JSR175 annotation (i.e. an instance of java.lang.annotation.Annotation),
-   * returns that annotation object.  Returns null if the annotation does
-   * not exist or is otherwise unavailable.</p>
-   *
-   * <p>Note that this is done only on a best-effort basis - the annotation
-   * object not be availble under pre-1.5 JREs and will generally only be
-   * available if the underlying annotation was read from a class file.  Note
-   * that the retention policy of the annotation type usually must also be
-   * RUNTIME.  Unless you are sure of all of these things, you are better
-   * off using an AnnotationProxy or the untyped value accessors
-   * (e.g. getValues()).</p>
-   *
-   * <p>If this method does return something other than null, it is guaranteed
-   * to be an instance of <code>java.lang.annotation.Annotation</code>.  It
-   * is typed as <code>Object</code> simply to preserve API compatibility
-   * with Java 1.4.</p.
-   */
-  public Object getAnnotationInstance();
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotationValue.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotationValue.java
deleted file mode 100644
index a23eab0..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JAnnotationValue.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents a member value of a JAnnotation.</p>
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface JAnnotationValue {
-
-  //docme
-  public String getName();
-
-  //docme
-  public JClass getType();
-
-
-
-  /**
-   * <p>If this member is complex (i.e. an instance of another annotation
-   * type), this method returns a representation of the annotation instance.
-   * Returns null in all other cases.  This method always returns null if the
-   * annotation is a javdoc tag, as such tags only support one level of
-   * nesting.</p>
-   */
-  public JAnnotation asAnnotation();
-
-  /**
-   * <p>Returns the value of this member as a JClass.  Returns null if the
-   * value cannot be understood as a class name or if the type of the member
-   * is known to be something other than java.lang.Class.</p>
-   */
-  public JClass asClass();
-
-  /**
-   * <p>Returns the String value of the annotation.  If the value is
-   * known to be a simple, non-array type other than String, it will be
-   * converted in a resonable manner (with an appropriate toString() or
-   * String.valueOf() method). If the value is known to be complex or is an
-   * array, this method will return null.</p>
-   *
-   * <p>If no type information is available for the annotation member (i.e.
-   * it's a javadoc tag), then the raw textual value of the member is
-   * returned.</p>
-   */
-  public String asString();
-
-  /**
-   * <p>Returns the member's value as an int.  If the value is not known to be
-   * an int, (because it's a javadoc tag or because it's a 175 annotation
-   * member of a type other than int) asString() is called.  If the result is
-   * null, NumberFormatException is thrown.  Otherwise, the String is
-   * converted to an int with Integer.valueOf(), which again may throw
-   * NumberFormatException.</p>
-   */
-  public int asInt() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a boolean.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt(), except that IllegalArgumentException is
-   * thrown instead of NumberFormatException.</p>
-   */
-  public boolean asBoolean() throws IllegalArgumentException;
-
-  /**
-   * <p>Returns the member's value as a long.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt().</p>
-   */
-  public long asLong() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a short.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt().</p>
-   */
-  public short asShort() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a double.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt().</p>
-   */
-  public double asDouble() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a float.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt().</p>
-   */
-  public float asFloat() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a byte.  If necessary, type
-   * conversion is performed in a similar manner as described for
-   * asInt().</p>
-   */
-  public byte asByte() throws NumberFormatException;
-
-  /**
-   * <p>Returns the member's value as a char.  If necessary, type
-   * conversion is performed by calling getStringValue().  If the result
-   * is null or is a String that is not exactly of length 1,
-   * IllegalArgumentException is thrown.</p>
-   */
-  public char asChar() throws IllegalArgumentException;
-
-  /**
-   * <p>If this member is known to be of an array type, returns the value
-   * as an array of Objects.  If the array component type is primitive,
-   * the array objects will be instances of an appropriate java.lang
-   * wrapper (e.g., Integer).  Returns null if the member type is
-   * not an array.</p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  //public Object[] asArray();
-
-  /**
-   * <p>If this member is known to be an array of classes, returns an
-   * array of JClass representations of those classes.  If the memeber
-   * is known to be an array of a simple non-array type, this method
-   * will call asStringArray() and attempt to return a JClass
-   * by treating each string in the returned array as a qualified classname.
-   * Returns null otherwise.
-   * </p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public JClass[] asClassArray();
-
-  /**
-   * <p>If this member is known to be an array of annotations (i.e.
-   * complex, nested types), this method returns an array containing
-   * each complex value as a JAnnotation.  Returns null in all other cases.
-   * </p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public JAnnotation[] asAnnotationArray();
-
-  /**
-   * <p>Returns this member's value as an array of Strings.  If this member is
-   * not of an array type, or is an array of arrays or complex annotations,
-   * this method returns null.  If it is an array of a simple, non-array type
-   * other than String, conversion on each component will be attempted as
-   * described under getStringValue().</p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public String[] asStringArray();
-
-  /**
-   * <p>Returns this member's value as an array of ints.  If this member is
-   * not of an array type, or is an array of arrays or complex annotations,
-   * this method returns null.  If it is an array of a simple, non-array type
-   * other than int, conversion on each component will be attempted as
-   * described under getIntValue().</p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public int[] asIntArray() throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of booleans.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray(), except that IllegalArgumentException may be
-   * thrown instead of NumberFormatException.</p>
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public boolean[] asBooleanArray() throws IllegalArgumentException;
-
-  /**
-   * <p>Returns this member's value as an array of shorts.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray().
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public short[] asShortArray() throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of longs.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray().
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public long[] asLongArray()  throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of doubles.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray().
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public double[] asDoubleArray()  throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of floats.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray().
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public float[] asFloatArray()  throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of bytes.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray().
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public byte[] asByteArray()  throws NumberFormatException;
-
-  /**
-   * <p>Returns this member's value as an array of bytes.  If necessary,
-   * type conversion is performed in a similar manner as described for
-   * asIntArray() and asChar()..
-   *
-   * <p>This method always returns null for javadoc tags.</p>
-   */
-  public char[] asCharArray()  throws IllegalArgumentException;
-
-
-  /**
-   * <p>Returns true if the member's value was not explicitly set in the
-   * annotation instance but was instead taken from the member definition's
-   * default.</p>
-   *
-   * <p>Note that not all JAM implementations may be able to distinguish
-   * the case where the value is explicitly declared to be the same value
-   * as the member's default from the case where the value is not declared
-   * and the value is implicitly default.  In this event, this method
-   * will return true if and only if the effective value of the annotation
-   * is the same as the default value (regardless of how that value was
-   * declared).</p>
-   */
-  public boolean isDefaultValueUsed();
-
-
-
-  //return the 175 type accessor method?
-  //public JMethod getAccessor();
-
-  /**
-   * @deprecated DO NOT CALL THIS METHOD.  IT WILL BE REMOVED SOON.  This
-   * method is a bad thing because it forces/allows the caller to make
-   * assumptions about how the annotation value is actually represented
-   * in the underlying implementation.  Please use a combination
-   * of getType() and the various as...() methods instead.
-   */
-  public Object getValue();
-
-  
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JClass.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JClass.java
deleted file mode 100644
index 146bd35..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JClass.java
+++ /dev/null
@@ -1,398 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents a Java class that may or may not be loaded in the VM.
- * JClass is typically implemented in one of two ways: by wrapping a
- * java.lang.Class or by parsing a source file directly with a tool
- * such as javadoc or javelin.</p>
- *
- * <p>If a JClass represents an inner class, its getParent() method
- * returns the outer class.  Otherwise, it returns the containing
- * package.</p>
- *
- * <p><b>Important Note:</b> Because JAM's classloading machinery may swap
- * instances of JClass out of memory at any time, you should never rely on
- * instance equality (i.e., '==') when comparing two JClasses.  To illustrate:
- * it is possible (though rather unlikely) that that the following expression
- * will evaluate to false</p>
- *
- * <code>
- *   JMethod myJMethod = ...
- *   myJMethod.getReturnType() == myJMethod.getReturnType()
- * </code>
- *
- * <p>Instead, you should always use equals()</p>
-
- * <code>
- *   myJMethod.getReturnType().equals(myJMethod.getReturnType())
- * </code>
- *
- * <p>REVIEW a bunch of these methods (getMethods, getConstructors...)
- * could throw SecurityException if the JClass is backed by
- * java.lang.Class (see javadocs for Class).  We're currently ignoring
- * this, because it seems unlikely and it seems heavyweight.  Seems
- * ok?</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JClass extends JMember {
-
-  /**
-   * <p>Returns a JPackage which represents the package which contains
-   * this JClass.</p>
-   */
-  public JPackage getContainingPackage();
-
-  /**
-   * <p>Returns the Class representing the superclass of the entity
-   * (class, interface, primitive type or void) represented by this
-   * Class. If this Class represents either the Object class, an
-   * interface, a primitive type, or void, then null is returned. If
-   * this object represents an array class then the Class object
-   * representing the Object class is returned.
-   */
-  public JClass getSuperclass();
-
-  /**
-   * Returns all of the interfaces directly implemented by this class.
-   * Returns an empty array if no interfaces are implemented.  REVIEW
-   * we probably want getInterfaces and getDeclaredInterfaces.
-   */
-  public JClass[] getInterfaces();
-
-  /**
-   * <p>REVIEW should we consider renaming this to getAllFields()?  I
-   * think this makes it more clear but is not consistent with
-   * java.lang.Class.</p>
-   *
-   * <p>Returns an array containing Field objects reflecting all the
-   * accessible public fields of the class or interface represented by
-   * this Class object. The elements2 in the array returned are not
-   * sorted and are not in any particular order. This method returns
-   * an array of length 0 if the class or interface has no accessible
-   * public fields, or if it represents an array class, a primitive
-   * type, or void. </p>
-   *
-   * <p>Specifically, if this JClass object represents a class, this
-   * method returns the public fields of this class and of all its
-   * superclasses. If this JClass object represents an interface, this
-   * method returns the fields of this interface and of all its
-   * superinterfaces. </p>
-   *
-   * <p>The implicit length field for array class is not reflected by
-   * this method. User code should use the methods of class Array to
-   * manipulate arrays. </p>
-   *
-   * <p>See The Java Language Specification, sections 8.2 and
-   * 8.3. </p>
-   */
-  public JField[] getFields();
-
-
-  /**
-   * <p>Returns an array of Field objects reflecting all the fields
-   * declared by the class or interface represented by this Class
-   * object. This includes public, protected, default (package)
-   * access, and private fields, but excludes inherited fields. The
-   * elements2 in the array returned are not sorted and are not in any
-   * particular order. This method returns an array of length 0 if the
-   * class or interface declares no fields, or if this Class object
-   * represents a primitive type, an array class, or void. </p>
-   *
-   * <p>See The Java Language Specification, sections 8.2 and 8.3.</p>
-   */
-  public JField[] getDeclaredFields();
-
-  /**
-   * <p>REVIEW should we consider renaming this to getAllMethods()?  I
-   * think this makes it more clear but is not consistent with
-   * java.lang.Class.</p>
-   *
-   * <p>Returns an array containing Method objects reflecting all the
-   * public member methods of the class or interface represented by
-   * this Class object, including those declared by the class or
-   * interface and and those inherited from superclasses and
-   * superinterfaces. The elements2 in the array returned are not
-   * sorted and are not in any particular order. This method returns
-   * an array of length 0 if this Class object represents a class or
-   * interface that has no public member methods, or if this Class
-   * object represents an array class, primitive type, or void.</p>
-   *
-   * <p>The class initialization method <clinit> is not included in
-   * the returned array. If the class declares multiple public member
-   * methods with the same parameter types, they are all included in
-   * the returned array. </p>
-   */
-  public JMethod[] getMethods();
-
-  /**
-   * <p>Returns an array of Method objects reflecting all the methods
-   * declared by the class or interface represented by this Class
-   * object. This includes public, protected, default (package)
-   * access, and private methods, but excludes inherited methods. The
-   * elements2 in the array returned are not sorted and are not in any
-   * particular order. This method returns an array of length 0 if the
-   * class or interface declares no methods, or if this Class object
-   * represents a primitive type, an array class, or void. The class
-   * initialization method <clinit> is not included in the returned
-   * array. If the class declares multiple public member methods with
-   * the same parameter types, they are all included in the returned
-   * array. </p>
-   *
-   * <p>See The Java Language Specification, section 8.2. </p>
-   */
-  public JMethod[] getDeclaredMethods();
-
-  /**
-   * <p>Returns an array containing Constructor objects reflecting all
-   * the public constructors of the class represented by this Class
-   * object. An array of length 0 is returned if the class has no
-   * public constructors, or if the class is an array class, or if the
-   * class reflects a primitive type or void. </p>
-   */
-  public JConstructor[] getConstructors();
-
-  // This is on java.lang.Class, but is it really useful?
-  //
-  //  public JConstructor[] getDeclaredConstructors();
-
-
-  /**
-   * Returns a representation of a java bean property as detailed in section
-   * 8.3 of the Java Beans specification, 'Design Patterns for Properties.'
-   * A JProperty can be thought of as a union of a getter method and
-   * corresponding setter method, although only one of these is required
-   * (read-only and write-only properties are returned).  Note that
-   * public fields are never considered properties, as deetailed in
-   * the specification.
-   */
-  public JProperty[] getProperties();
-
-  /**
-   * <p>Like getProperties(), but only considers methods explicitly declared
-   * on this class in identifying the properties.</p>
-   */
-  public JProperty[] getDeclaredProperties();
-
-  /**
-   * <p>Returns true if this JClass represents an interface.</p>
-   */
-  public boolean isInterface();
-
-  /**
-   * <p>Returns true if this JClass represents a JSR175 annotation type.</p>
-   */
-  public boolean isAnnotationType();
-
-  /**
-   * Return true if this JClass represents primitive type (int, long,
-   * double, and so forth).  Remember that primitive wrapper classes
-   * such as java.lang.Integer are NOT considered primitives.
-   */
-  public boolean isPrimitiveType();
-
-  /**
-   * Returns true if this class is a builtin type.  This is true if any
-   * of the following returns true: <code>isPrimitive(), isArray(),
-   * isVoid(),</code> or </code>isUnresolved.</code>.
-   * @return
-   */
-  public boolean isBuiltinType();
-
-  /**
-   * <p>If this JClass represents a primitive (isPrimitiveType() returns true),
-   * this method returns the java.lang.Class representing the class of
-   * the primitive.  For example, JClass representing an integer returns
-   * the equivalent of 'int.class' or 'java.lang.Integer.type.'
-   *
-   * @return The primitive class, or null if this is JClass is not primitive.
-   */
-  public Class getPrimitiveClass();
-
-  /**
-   * Return true if this class is final.
-   */
-  public boolean isFinal();
-
-  /**
-   * Return true if this class is static.  Note that top-level classes
-   * are never static.
-   */
-  public boolean isStatic();
-
-  /**
-   * Return true if this class is abstract.
-   */
-  public boolean isAbstract();
-
-  /**
-   * <p>Returns true if this JClass represents the void type.</p>
-   */
-  public boolean isVoidType();
-
-  /**
-   * <p>Returns true if this JClass represents java.lang.Object.</p>
-   */
-  public boolean isObjectType();
-
-  /**
-   * <p>Returns true if this JClass represents an array type.</p>
-   */
-  public boolean isArrayType();
-
-  /**
-   * <p>Returns the Class representing the component type of an array.
-   * If this class does not represent an array class this method
-   * returns null.</p>
-   *
-   * <p>Note that this method differs substantially from
-   * <code>java.lang.Class.getComponentType()</code> in the way it
-   * treats multidimensional arrays.  Specifically, let
-   * <code>fooArrayClass</code> be the class of an n dimensional array
-   * of class <code>foo</code> for n > 2.  For the java.lang.Class
-   * representation of <code>fooArrayClass</code>,
-   * <code>getComponentType()</code> will return a java.lang.Class for
-   * an (n-1)-dimensional array of <code>foo</code>s.  By contrast,
-   * the JClass representation of <code>fooArrayClass</code> will
-   * always simply return a JClass representing <code>foo</code> for
-   * any value of n > 1.</p>
-   *
-   * <p>In other words, this method always returns the 'core' type of
-   * the array, effectively hiding away all of the intermediary array
-   * types.  Given that JClass provides the additional
-   * <code>getArrayDimensions</code> facility, it is felt that this is
-   * a much easier convention for tool authors to work with.</p>
-   */
-  public JClass getArrayComponentType();
-
-  /**
-   * <p>If this JClass represents an array type (isArray() == true),
-   * returns the number of dimensions in the array.  Otherwise returns
-   * zero.</p>
-   */
-  public int getArrayDimensions();
-
-  /**
-   * <p>Determines if the class or interface represented by this Class
-   * object is either the same as, or is a superclass or
-   * superinterface of, the class or interface represented by the
-   * specified Class parameter. It returns true if so; otherwise it
-   * returns false. If this Class object represents a primitive type,
-   * this method returns true if the specified Class parameter is
-   * exactly this Class object; otherwise it returns false.</p>
-   *
-   * <p>Specifically, this method tests whether the type represented
-   * by the specified Class parameter can be converted to the type
-   * represented by this Class object via an identity conversion or
-   * via a widening reference conversion. See The Java Language
-   * Specification, sections 5.1.1 and 5.1.4 , for details.</p>
-   */
-  public boolean isAssignableFrom(JClass clazz);
-
-  /**
-   * Two JClasses are always considered equal as long as their
-   * qualified names are the same.
-   */
-  public boolean equals(Object o);
-
-  /**
-   * <p>Returns the inner classes for this class.  The array contains
-   * JClass objects representing all the public classes and interfaces
-   * that are members of the class represented by this JClass.  This
-   * includes public class and interface members inherited from
-   * superclasses and public class and interface members declared by
-   * the class. This method returns an array of length 0 if this Class
-   * object has no public member classes or interfaces. This method
-   * also returns an array of length 0 if this JClass object
-   * represents a primitive type, an array class, or void. </p>
-   */
-  public JClass[] getClasses();
-
-  /**
-   * <p>If this JClass is an inner class, returns the outer class.  If
-   * the class or interface represented by this JClass object is a
-   * member of another class, returns the JClass object representing
-   * the class in which it was declared. This method returns null if
-   * this class or interface is not a member of any other class. If
-   * this JClass object represents an array class, a primitive type,
-   * or void, then this method returns null.</p>
-   */
-  public JClass getContainingClass();
-
-  /**
-   * <p>Returns the name of this member in the format described in
-   * section 4.3.2 of the VM spec, 'Field Descriptors.'  This is the
-   * same nasty format returned by java.lang.Class.getName(), and is
-   * the format you need to use in calls to Class.forName().  For
-   * example, the ClassfileName of the class of a two-dimensional
-   * array of strings is <code>[[Ljava.lang.String;</code>.  For
-   * details, see
-   * http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html</p>
-   */
-  public String getFieldDescriptor();
-
-  //uncomment me please
-//  public boolean isEnumType();
-
-  /**
-   * <p>Returns the JamClassLoader which loaded this class.</p>
-   */
-  public JamClassLoader getClassLoader();
-
-  /**
-   * Shorthand for myClass.getClassLoader().loadClass(name)
-   */
-  public JClass forName(String name);
-
-  /**
-   * <p>Returns a list of classes that were explicitly imported by this
-   * class using an import statement.  It does not include any classes
-   * that might be imported via package imports (i.e. with the '*' wildcard),
-   * nor does it include any classes that are simply used via fully-qualified
-   * name in the body of this class.</p>
-   *
-   * <p>Note that this is an optional operation; if the source for the class
-   * is not available (i.e. this JClass is backed by a java.lang.Class), then
-   * this method will return an array of length 0.</p>
-   */
-  public JClass[] getImportedClasses();
-
-  /**
-   * <p>Returns the set of JPackages which are imported by this class using
-   * a package import statement (i.e. with the '*' wildcard), as well as the
-   * containing packages of all of the JClasses returned by <code>
-   * getImportedClasses()</code>.</p>
-   *
-   * <p>Note that this is an optional operation; if the source for the
-   * class is not available (i.e. this JClass is backed by a
-   * java.lang.Class), then this method will return an array of length
-   * 0.</p>
-   */
-  public JPackage[] getImportedPackages();
-
-  /**
-   * Returns true if a backing entity for this class could not be
-   * resolved.  This will be true, for example, of the JClass which
-   * you get when requesting a method's return type when no class for
-   * that type can be found.  In this case, the JClass will be have
-   * only a name - all other properties will be null/empty.
-   */
-  public boolean isUnresolvedType();
-
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JComment.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JComment.java
deleted file mode 100644
index a208b2a..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JComment.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Encapsulates comment associated with a package, class,
- * method, and so on.  Although they are often declared in the same
- * place (code comments) JComment is a distinct entity from
- * JAnnotation.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JComment extends JElement {
-
-  /**
-   * Returns the text of this comment.
-   */
-  public String getText();
-
-  /**
-   * Returns the location of this comment in the source, or null if it
-   * is unknown.
-   */
-  public JSourcePosition getSourcePosition();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JConstructor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JConstructor.java
deleted file mode 100644
index df8cd47..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JConstructor.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents a constructor of a java class.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JConstructor extends JInvokable {
-
-  /**
-   * <p>Returns a qualied name for this method as specified by
-   * <code>java.lang.reflect.Constructor.toString()</code>:</p>
-   *
-   * <p><i>Returns a string describing this Constructor. The string is formatted
-   * as the constructor access modifiers, if any, followed by the
-   * fully-qualified name of the declaring class, followed by a parenthesized,
-   * comma-separated list of the constructor's formal parameter types.
-   * For example:<i></p>
-   *
-   * <p><i>public java.util.Hashtable(int,float)</i></p>
-   *
-   * <p><i>The only possible modifiers for constructors are the access modifiers
-   * public, protected or private. Only one of these may appear, or none if
-   * the constructor has default (package) access.</i></p>
-   */
-  public String getQualifiedName();
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JElement.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JElement.java
deleted file mode 100644
index aa3e7d4..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JElement.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-
-/**
- * <p>The root of the java type object model.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract interface JElement {
-
-  /**
-   * <p>Returns the parent of this abstraction, or null if this
-   * annotation represents a root abstraction (i.e. a JPackage).  The
-   * JElement hierarchy looks like this:</p>
-   *
-   * <pre>
-   *     JPackage
-   *       JClass
-   *         JConstructor
-   *         JField
-   *         JMethod
-   *           JParameter
-   *         JProperty
-   *         JClass (inner class)...
-   * </pre>
-   *
-   * <p>Additionally, any of the abstractions above may in turn have
-   * child JAnnotations, which may themselves have child
-   * JAnnotations.</p>
-   */
-  public JElement getParent();
-
-  /**
-   * <p>Returns a simple name of this abstraction.  The exact format
-   * of the name depends on the particular abstraction (see javadoc).
-   * Please refer to the JAM package documentation for more details on
-   * naming conventions.</p>
-   */
-  public String getSimpleName();
-
-  /**
-   * <p>Returns a qualified name for this abstraction.  The exact format of
-   * this name depends on the particular abstraction.  Please refer to the
-   * documentation for each JElement subclass for a detailed description
-   * of the qualified name formats.</p>
-   */
-  public String getQualifiedName();
-
-  /**
-   * Returns an object describing the source file position of this
-   * elements, or null if the position is unknown on not applicable.
-   */
-  public JSourcePosition getSourcePosition();
-
-
-  /**
-   * <p>Accepts the given visitor.</p>
-   */
-  public void accept(JVisitor visitor);
-
-
-  /**
-   * <p>This is not something you want to mess with.  It's here only for the
-   * benefit of some JAM implementations which need a handle back to the
-   * actual implementation-specific object which is being proxied by this
-   * JElement.</p>
-   * @return
-   */
-  public Object getArtifact();
-
-  /**
-   * <p>Returns the same String as getQualifiedName().</p>
-   */
-  public String toString();
-  
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JField.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JField.java
deleted file mode 100644
index eecc723..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JField.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents an exposed field on a Java class.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JField extends JMember {
-
-  /**
-   * Returns the type of this field.
-   */
-  public JClass getType();
-
-  /**
-   * Return true if this field is final.
-   */
-  public boolean isFinal();
-
-  /**
-   * Return true if this field is static.
-   */
-  public boolean isStatic();
-
-  /**
-   * Return true if this field is volatile.
-   */
-  public boolean isVolatile();
-
-  /**
-   * Return true if this field is transient.
-   */
-  public boolean isTransient();
-
-
-  /**
-   * <p>Returns a qualied name for this method as specified by
-   * <code>java.lang.reflect.Field.toString()</code>:</p>
-   *
-   * <p><i>Returns a string describing this Field. The format is the access
-   * modifiers for the field, if any, followed by the field type, followed
-   * by a space, followed by the fully-qualified name of the class declaring
-   * the field, followed by a period, followed by the name of the field.
-   * For example:</i></p>
-   *
-   * <p><i>public static final int java.lang.Thread.MIN_PRIORITY</i></p>
-   * <p><i>private int java.io.FileDescriptor.fd</i></p>
-   *
-   * <p><i>The modifiers are placed in canonical order as specified by "The
-   * Java Language Specification". This is public, protected or private
-   * first, and then other modifiers in the following order: static, final,
-   * transient, volatile.</i></p>
-   */
-  public String getQualifiedName();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JInvokable.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JInvokable.java
deleted file mode 100644
index 1c704a1..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JInvokable.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Base abstraction for something which can be invoked, i.e. a
- * JConstructor or JMethod.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract interface JInvokable extends JMember {
-  /**
-   * <p>Returns representations of the parameters taken by this
-   * method.  Returns an array of length 0 if the method takes no
-   * parameters.</p>
-   */
-  public JParameter[] getParameters();
-
-  /**
-   * <p>Returns representations of the type of each of the exceptions
-   * which can be thrown by this method.  Returns an array of length 0
-   * if the method throws no exceptions.</p>
-   */
-  public JClass[] getExceptionTypes();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JMember.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JMember.java
deleted file mode 100644
index 45478d3..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JMember.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Represents an abstraction which can be member of a class.  Such
- * abstractions include: constructors, methods, fields, and classes
- * (in the case of inner classes).  JMember's share the following
- * attributes in common: they have some level of access protection
- * (public/protected/private) and are (usually) contained within a
- * class.</p>
- *
- * <p>Because classes themselves can be members of other classes,
- * JClass extends JMember.  In the case where a JClass represents a
- * top-level class (i.e. not an inner class),
- * JMember.getContainingClass() will always return null.</p>
- *
- * <p>Note that the various access protection levels are all mutually
- * exclusive.  For a given abstraction, only one of isPrivate(),
- * isPackagePrivate(), isProtected(), or isPublic() will return true.
- * Note that this information is also exposed via getModifiers(),
- * which returns a bit-field that is identical to that described in
- * java.lang.reflect.Modifier.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract interface JMember extends JAnnotatedElement {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>Returns a representation of the class which contains this
-   * member.  Note that if this member is an inner class, this method
-   * returns the class in which this class is declared (i.e. 'outer').
-   * If this member is a top-level class, this method will always
-   * return null.</p>
-   */
-  public JClass getContainingClass();
-
-  /**
-   * <p>Returns the modifiers specifier.  This is a bit field exactly
-   * like those returned by java.lang.Class.getModifiers() and can be
-   * manipulated using java.lang.reflect.Modifier in the same way.</p>
-   */
-  public int getModifiers();
-
-  /**
-   * Return true if this member is package private (i.e. the default
-   * access protection level).
-   */
-  public boolean isPackagePrivate();
-
-  /**
-   * Return true if this member is private.  Equivalent to calling
-   * Modifier.isPrivate(member.getModifiers()).
-   */
-  public boolean isPrivate();
-
-  /**
-   * Return true if this member is protected.  Equivalent to calling
-   * Modifier.isProtected(member.getModifiers()).
-   */
-  public boolean isProtected();
-
-  /**
-   * Return true if this member is public.  Equivalent to calling
-   * Modifier.isProtected(member.getModifiers()).
-   */
-  public boolean isPublic();
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JMethod.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JMethod.java
deleted file mode 100644
index 1be2970..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JMethod.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * Represents a method of a java class.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JMethod extends JInvokable {
-
-  /**
-   * Returns a JClass object representing the type of this methods
-   * return value.  Note that void methods will return a JClass
-   * representing void.</p>
-   */
-  public JClass getReturnType();
-
-  /**
-   * Return true if this method is declared final.
-   */
-  public boolean isFinal();
-
-  /**
-   * Return true if this method is static.
-   */
-  public boolean isStatic();
-
-  /**
-   * Return true if this member is final.  Note that constructors are
-   * fields are never abstract.
-   */
-  public boolean isAbstract();
-
-  /**
-   * Returns true if this method is declared native.
-   */
-  public boolean isNative();
-
-  /**
-   * Returns true if this method is declared synchronized.
-   */
-  public boolean isSynchronized();
-
-  /**
-   * <p>Returns a qualied name for this method as specified by
-   * <code>java.lang.reflect.Method.toString()</code>:</p>
-   *
-   * <p><i>
-   * Returns a string describing this Method. The string is formatted as
-   * the method access modifiers, if any, followed by the method return
-   * type, followed by a space, followed by the class declaring the method,
-   * followed by a period, followed by the method name, followed by a
-   * parenthesized, comma-separated list of the method's formal parameter
-   * types. If the method throws checked exceptions, the parameter list is
-   * followed by a space, followed by the word throws followed by a
-   * comma-separated list of the thrown exception types. For example:</i></p>
-   *
-   * <p><i>public boolean java.lang.Object.equals(java.lang.Object)</i></p>
-   *
-   * <p><i>The access modifiers are placed in canonical order as specified by
-   * "The Java Language Specification". This is public, protected or private
-   * first, and then other modifiers in the following order: abstract,
-   * static, final, synchronized native.</i></p>
-   */
-  public String getQualifiedName();
-
-
-  /**
-   * Returns the name of this class in the format described in section
-   * 4.3.3 of the VM spec, 'Class File Format: Method Descriptors.'
-   * This is the nasty format of the name returned by
-   * java.lang.reflect.Method.getName().  For details, see
-   * http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html
-   */
-  //  public String getMethodDescriptor();   dunno if this is useful
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JPackage.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JPackage.java
deleted file mode 100644
index 222fb59..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JPackage.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * Represents a java package. Provides access to information about the
- * package, the package's comment and tags, and the classes in the
- * package.
- *
- * <p>FIXME how are we handling the default package?  i think it
- * should be a package with an empty string for a name, but we need to
- * make sure this works and document it.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JPackage extends JAnnotatedElement {
-
-  /**
-   * Returns the classes in this package which were specified as part
-   * of the JRoot construction.  Note that this does not necessarily
-   * include all of the classes that are actually in the package (it
-   * may not contain any specified classes at all).
-   */
-  public JClass[] getClasses();
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JParameter.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JParameter.java
deleted file mode 100644
index eefc5e6..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JParameter.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * Represents a single parameter of a Java method or constructor.
- * This type and name information as well as associated metadata.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JParameter extends JAnnotatedElement {
-
-  /**
-   * Returns the type of this parameter.
-   */
-  public JClass getType();
-
-
-
-  // REVIEW: This would be nice, but there is currently no way to find
-  // this out via either javadoc or reflection.  I guess it's not
-  // clear that this is going to be very useful anyway.
-  /**
-   * Return true if this parameter is final.
-   */
-  //  public boolean isFinal();
-}
-
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JProperty.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JProperty.java
deleted file mode 100644
index 04cf090..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JProperty.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>This is a helper class which provides java.beans-like
- * functionality in the JAM framework.
-
- extension to the JAM framework that encapsulates the notion of a
- * javabean properties.  This class can be used to get similar
- * functionality in JAM that is provided by the java.beans.*
- * packge.</p>
- *
- * <p>An array of JProperties for a given JClass can be retrieved
- * using the getProperties factory method.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JProperty extends JAnnotatedElement {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns a JClass which represents the type of this property.
-   */
-  public JClass getType();
-
-  /**
-   * Returns a JMethod which represents the setter for this property.
-   * Returns null if this property is read-only.
-   */
-  public JMethod getSetter();
-
-  /**
-   * Returns a JMethod which represents the getter for this property.
-   * Returns null if this property is write-only.
-   */
-  public JMethod getGetter();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JSourcePosition.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JSourcePosition.java
deleted file mode 100644
index 3139378..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JSourcePosition.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-import java.net.URI;
-
-/**
- * Describes a specific point in a source file.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JSourcePosition {
-
-  /**
-   * Returns the text column number for this source position, or -1 if
-   * it is not known.
-   */
-  public int getColumn();
-
-  /**
-   * Returns the text line number for this source position, or -1 if
-   * it is not known.
-   */
-  public int getLine();
-
-  /**
-   * Returns the URI of the source file, or null if it is not known.
-   */
-  public URI getSourceURI();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassIterator.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassIterator.java
deleted file mode 100644
index 8a9e464..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassIterator.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-import java.util.Iterator;
-
-/**
- * A typed Iterator on a set of JClasses.
- *
- * The use of JamClassIterator (as opposed to arrays or Collections of JClass)
- * is encouraged as it can significantly reduce memory consumption when
- * using JAM to process large numbers of java classes.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamClassIterator implements Iterator {
-
-  // ========================================================================
-  // Variables
-
-  private JamClassLoader mLoader;
-  private String[] mClassNames;
-  private int mIndex = 0;
-
-  // ========================================================================
-  // Constructor
-
-  /**
-   * Constructs a new JamClassIterator
-   *
-   * @param loader JamClassLoader from which to load the classes
-   * @param classes Array of full-qualified classnames to iterate on.
-   *
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  public JamClassIterator(JamClassLoader loader, String[] classes) {
-    if (loader == null) throw new IllegalArgumentException("null loader");
-    if (classes == null) throw new IllegalArgumentException("null classes");
-    mLoader = loader;
-    mClassNames = classes;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns the next class.  Exactly equivalent to (JClass)next().
-   *
-   * @throws IndexOutOfBoundsException if there are no classes left to
-   * iterate on.
-   */
-  public JClass nextClass() {
-    if (!hasNext()) throw new IndexOutOfBoundsException();
-    mIndex++;
-    return mLoader.loadClass(mClassNames[mIndex-1]);
-  }
-
-  // ========================================================================
-  // Iterator implementation
-
-  /**
-   * Returns true if classes remain to be iterated upon.
-   */
-  public boolean hasNext() {
-    return mIndex < mClassNames.length;
-  }
-
-
-  /**
-   * Returns the next class.
-   *
-   * @throws IndexOutOfBoundsException if there are no classes left to
-   * iterate on.
-   */
-  public Object next() { return nextClass(); }
-
-  // ========================================================================
-  // Public methods
-
-  public int getSize() { return mClassNames.length; }
-
-  // ========================================================================
-  // Unsupported methods
-
-  /**
-   * Not supported.
-   *
-   * @throws UnsupportedOperationException
-   */
-  public void remove() {
-    throw new UnsupportedOperationException();
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassLoader.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassLoader.java
deleted file mode 100644
index 2aaeb60..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamClassLoader.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * Object which can load representations of a java.lang.Class.
- * Analagous to a java.lang.ClassLoader.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamClassLoader {
-
-  /**
-   * <p>Returns a representation of the named class.  If the class is
-   * not under the same root as this JElement root, a representation
-   * of it will be synthesized via reflection (see note in class
-   * comments).  The 'named' parameter must be a fully-qualified class
-   * name in the classfile 'Field Descriptor' format, a simple
-   * primitive name (e.g. 'long' or 'int'), or 'void'.</p>
-   *
-   * <p>A note regarding fully-qualified class names: if you're
-   * looking up a non-array type by name, you can just pass the
-   * regular, fully-qualified name.  If you're looking up an array
-   * type, you need to use the 'Field Descriptor' format as described
-   * in secion 4.3.2 of the VM spec.  This is the same name format
-   * that is returned by JClass.getFieldDescriptor.</p>
-   *
-   * <p>Inner classes cannot be loaded with this method.  To load an inner
-   * class, you must load the outer class first and then call getClasses().
-   * </p>
-   *
-   * <p>Note that this method always returns some JClass - it never
-   * returns null or throws ClassNotFoundException.  If neither a
-   * sourcefile not a classfile could be located for the named class,
-   * a stubbed-out JClass will be returned with the isUnresolved()
-   * flag set to true.  This JClass will have a name (as determined by
-   * the given descriptor), but no other information about it will be
-   * available.</p>
-   *
-   * @throws IllegalArgumentException if the parameter is null or not
-   * a valid class name.
-   */
-  public JClass loadClass(String fieldDescriptor);
-
-  /**
-   * Returns a representation of a package having the given name.
-
-   * @throws IllegalArgumentException if the parameter is null or not
-   * a valid package name.
-   */
-  public JPackage getPackage(String qualifiedPackageName);
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamService.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JamService.java
deleted file mode 100644
index 659c031..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamService.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-/**
- * <p>Encapsulates the a set of java classes which were which met a set of
- * criteria described in a JamServiceParams object.  A JamService exposes both a
- * particular set of JClasses, as well as a JamClassLoader which can be used
- * to load related classes.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamService {
-
-  /**
-   * Returns a JamClassLoader which can be used to load JClasses from class-
-   * and source-file locations specified in the JamServiceParams with which
-   * this service was instantiated.  Note that it is possible to use this
-   * mechanism to load JClasses that are not returned by getClasses().
-   */
-  public JamClassLoader getClassLoader();
-
-  /**
-   * Returns the names of the classes that were described in the
-   * JamServiceParams object used to create this service.  Note that this
-   * list will never change for a given service; though it is possible
-   * to use the service's JamClassLoader to load other types, this method will
-   * always return the initial set of classes.
-   */
-  public String[] getClassNames();
-
-  /**
-   * Returns an iterator of the JClasses named in the array returned by
-   * getClassNames().
-   */
-  public JamClassIterator getClasses();
-
-  /**
-   * Returns all of the JClasses returned by getClasses() in a single
-   * array.  Use of this method (as opposed to getClasses()) is not advised
-   * if you expect to be dealing with a very large set of classes, as it makes
-   * it less likely that JClasses will be garbage collected when no longer
-   * needed.
-   */
-  public JClass[] getAllClasses();
-
-  //public void invalidate(JClass clazz);
-
-  //public void invalidateAll();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceFactory.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceFactory.java
deleted file mode 100644
index fb9ec19..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceFactory.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-import org.apache.xmlbeans.impl.jam.internal.JamPrinter;
-import org.apache.xmlbeans.impl.jam.internal.reflect.ReflectClassBuilder;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceFactoryImpl;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-/**
- * Start here!  This is the normal entry point into the JAM subsystem.
- * JamServiceFactory is a singleton factory which can create a new
- * JamServiceParams and JServices.  Here is a code sample that demonstrates
- * how to use JamServiceFactory.
- *
- * <pre>
- * // Get the factory singleton
- * JamServiceFactory factory = JamServiceFactory.getInstance();
- *
- * // Use the factory to create an object that we can use to specify what
- * // java types we want to view
- * JamServiceParams params = factory.createServiceParams();
- *
- * // Include the classes under mypackage
- * params.includeSources(new File("c:/myproject/src","mypackage/*.java"));
- *
- * // Create a JamService, which will contain JClasses for the classes found in mypackage
- * JamService service = factory.createService(params);
- * </pre>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class JamServiceFactory {
-
-  // ========================================================================
-  // Constants
-
-  private static final JamServiceFactory DEFAULT = new JamServiceFactoryImpl();
-
-  // ========================================================================
-  // Singleton
-
-  /**
-   * Return the default factory singleton for this VM.
-   */
-  public static JamServiceFactory getInstance() { return DEFAULT; }
-
-  // ========================================================================
-  // Constructors
-
-  protected JamServiceFactory() {}
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Create a new JamServiceParams instance.  The params can be populated
-   * and then given to the createService method to create a new JamService.
-   */
-  public abstract JamServiceParams createServiceParams();
-
-  /**
-   * Create a new JamService from the given parameters.
-   *
-   * @throws IOException if an IO error occurred while creating the service
-   * @throws IllegalArgumentException if the params is null or not
-   * an instance returned by createServiceParams().
-   */
-  public abstract JamService createService(JamServiceParams params) throws IOException;
-
-  /**
-   * <p>Returns a new JamClassLoader which simply wraps the system
-   * classloader.</p>
-   */
-  public abstract JamClassLoader createSystemJamClassLoader();
-
-  /**
-   * <p>Returns a new JamClassLoader which simply wraps the given
-   * classloader.</p>
-   */
-  public abstract JamClassLoader createJamClassLoader(ClassLoader cl);
-
-
-
-
-  // ========================================================================
-  // main() method
-
-  public static void main(String[] args) {
-    try {
-      JamServiceParams sp = getInstance().createServiceParams();
-      for(int i=0; i<args.length; i++) {
-        sp.includeSourcePattern(new File[] {new File(".")},args[i]);
-      }
-      JamService service = getInstance().createService(sp);
-      JamPrinter jp = JamPrinter.newInstance();
-      PrintWriter out = new PrintWriter(System.out);
-      for(JamClassIterator i = service.getClasses(); i.hasNext(); ) {
-        out.println("-------- ");
-        jp.print(i.nextClass(),out);
-      }
-      out.flush();
-    } catch(Exception e){
-      e.printStackTrace();
-    }
-    System.out.flush();
-    System.err.flush();
-
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceParams.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceParams.java
deleted file mode 100644
index abb5c64..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/JamServiceParams.java
+++ /dev/null
@@ -1,323 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam;
-
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.annotation.JavadocTagParser;
-
-import java.io.File;
-import java.io.PrintWriter;
-
-/**
- * <p>Used to specify the parameters with which a JamService will be
- * created.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamServiceParams {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>Include a single java source file to be viewed.  Note that if your
-   * code is able to understand the file/package structure in which the
-   * source exists, you may get better performance by using the various
-   * include... methods which take a sourcepath parameter.</p>
-   */
-  public void includeSourceFile(File file);
-
-  /**
-   * Specifies a set of java source files to be included in the JamService.
-   *
-   * <p>Note that calling this method implicitly includes the 'root' in
-   * the sourcepath (exactly as if addSourcepath(root) had been called).</p>
-   *
-   * @param sourcepath Root directory/ies containing source files.
-   * @param pattern A relative file pattern (as described above under
-   * 'Include and Exclude Patterns').
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  public void includeSourcePattern(File[] sourcepath, String pattern);
-
-  /**
-   * Specifies a set of java source files to be excluded in the JamService.
-   * Note that calling this method implicitly includes the 'sourcepath' in
-   * the sourcepath (as in a call to addSourcepath(sourcepath)).
-   *
-   * @param sourcepath Root directory of the source files.
-   * @param pattern A relative file pattern (as described above under
-   * 'Include and Exclude Patterns').
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  public void excludeSourcePattern(File[] sourcepath, String pattern);
-
-  /**
-   * Specifies a set of java class files to be excluded in the JamService.
-   * Note that calling this method implicitly includes the 'classpath' in
-   * the classpath (as in a call to addClasspath(classpath)).
-   *
-   * @param classpath Root directory of the source files.
-   * @param pattern A relative file pattern (as described above under
-   * 'Include and Exclude Patterns').
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  public void includeClassPattern(File[] classpath, String pattern);
-
-  /**
-   * Specifies a set of java class files to be excluded from the JamService.
-   * Note that calling this method implicitly includes the 'classpath' in
-   * the classpath (as in a call to addClasspath(classpath)).
-   *
-   * @param classpath Root directory of the source files.
-   * @param pattern A relative file pattern (as described above under
-   * 'Include and Exclude Patterns').
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  public void excludeClassPattern(File[] classpath, String pattern);
-
-  /**
-   * <p>Includes a single source File in the JamService.  The sourcepath parameter
-   * should identify the source sourcepath of the java source file; the sourceFile
-   * parameter must be under the sourcepath subtree.</p>
-   *
-   * <p>For example, if a class "foo.bar.MyClass" is stored in a file
-   * "c:/myproject/src/foo/bar/MyClass.java", that class could be included in
-   * the service by calling</p>
-   *
-   * <pre>
-   *  includeSourceFile(new File("c:/myproject/src"),
-   *                    new File("c:/myproject/src/foo/bar/MyClass.java"));
-   * </pre>
-   *
-   * <p>Note that this equivalent to calling</p>
-   *
-   * <pre>
-   *  includeSourceFiles(new File("c:/myproject/src"),"foo/bar/MyClass.java");
-   * </pre>
-   *
-   * <p>If you are calling this method and have more than one sourcepath directory,
-   * and do not readily know which is the correct sourcepath for a given source
-   * File, you can use the getRootForFile() utility method to determine the
-   * correct sourcepath to use.</p>
-   *
-   * <p>Note that calling this method implicitly includes the 'sourcepath' in
-   * the sourcepath (exactly as if addSourcepath(sourcepath) had been called).</p>
-   *
-   * @param sourcepath source sourcepath for the java source file
-   * @param sourceFile the java source file
-   * @throws IllegalArgumentException if either argument is null or if
-   * sourcepath is not an ancestor of sourceFile in the file system.
-   */
-  public void includeSourceFile(File[] sourcepath, File sourceFile);
-
-  /**
-   * <p>Excludes a single source File in the JamService in exactly the same
-   * way theat includeSourceFile() includes a source file.
-   */
-  public void excludeSourceFile(File[] sourcepath, File sourceFile);
-
-  /**
-   * <p>Includes a single class File in the JamService in exactly the same
-   * way theat includeSourceFile() includes a source file.
-   */
-  public void includeClassFile(File[] sourcepath, File sourceFile);
-
-  /**
-   * <p>Excludes a single class File in the JamService in exactly the same
-   * way theat includeSourceFile() includes a source file.
-   */
-  public void excludeClassFile(File[] sourcepath, File sourceFile);
-
-  /**
-   * Names a specific class to be included in the JamService.  Note that
-   * this will return an 'unresolved' JClass unless a source or class file
-   * for the named class is available in the classpath or sourcepath.
-   *
-   * @param qualifiedClassname a full-qualified classname
-   * @throws IllegalArgumentException if the argument is null or not
-   * a valid classname.
-   */
-  public void includeClass(String qualifiedClassname);
-
-
-  /**
-   * Names a specific class to be excluded in the JamService.  Note that
-   * this will have no affect if the named class cannot be found in the
-   * sourcepath or classpath.
-   *
-   * @param qualifiedClassname a full-qualified classname
-   * @throws IllegalArgumentException if the argument is null or not
-   * a valid classname.
-   */
-  public void excludeClass(String qualifiedClassname);
-
-  /**
-   * Adds an elements to the JamService sourcepath.  The service's JamClassLoader
-   * will search this path to find a .java file on which to base a JClass
-   * when requested to load a class that was not included in the service.
-   */
-  public void addSourcepath(File sourcepathElement);
-
-  /**
-   * Adds an elements to the JamService classpath.  The service's JamClassLoader
-   * will search this path to find a .class file on which to base a JClass
-   * when requested to load a class that was not included in the service
-   * and for which no source could be found in the sourcepath.
-   *
-   * @param classpathElement elements of the classpath
-   * @throws IllegalArgumentException if the argument is null
-   */
-  public void addClasspath(File classpathElement);
-
-  /**
-   * Sets a PrintWriter to which the JamService implementation should log
-   * errors and debugging information.  If this is never set, all such output
-   * will be suppressed.
-   *
-   * @param out a PrintWriter to write to
-   * @throws IllegalArgumentException if the argument is null
-   */
-  public void setLoggerWriter(PrintWriter out);
-
-  /**
-   * </p>Enables verbose debugging output from all instances of the given
-   * class.</p>
-   */
-  public void setVerbose(Class c);
-
-
-  /**
-   * <p>Enables or suppresses the logging of warning messages.  By default
-   * this is true.</p>
-   */
-  public void setShowWarnings(boolean b);
-
-  /**
-   * Sets the parent JamClassLoader of the service JamClassLoader.
-   *
-   * @param loader the parent loaer
-   * @throws IllegalArgumentException if the argument is null
-   */
-  public void setParentClassLoader(JamClassLoader loader);
-
-  /**
-   * Adds an elements to the tool classpath.  This is the classpath that
-   * will be used by the JamService implementation to find any libraries
-   * on which it depends.  This classpath distinct from the service classpath
-   * set by addClasspath().
-   *
-   * @param classpathElement elements of the classpath
-   * @throws IllegalArgumentException if the argument is null
-   */
-  public void addToolClasspath(File classpathElement);
-
-  /**
-   * <p>Utility method which, given an array of Files representing a series of
-   * java source roots, returns the first one in array order which is an
-   * ancestor of the given sourceFile in the file hierarchy.  Returns null if
-   * the sourceFile is not under any of the given sourceRoots</p>
-   *
-   * @param sourceRoots roots to check
-   * @param sourceFile source file
-   * @return the sourceRoot that contains the sourceFile, or null if none
-   * does.
-   * @throws IllegalArgumentException if either argument is null.
-   */
-  //public File getRootForFile(File[] sourceRoots, File sourceFile);
-
-
-  /**
-   * <p>Registers a given class to serve as proxy for a JSR 175 annotation
-   * type (i.e. an extension of <code>java.lang.annotation.Annotation</code>).
-   * JAM will create instances of the given class to act as proxies to
-   * declarations of the given 175 annotation type.  The proxy class must
-   * extend <code>TypedAnnotationProxyBase</code>.</p>
-   *
-   * <p>Note that the 175 Annotation type is specified by name (as opposed
-   * to Class) so that it is not required for the Annotation class to be
-   * compiled.  However, this name MUST be a fully-qualified java
-   * classname.</p>
-   *
-   * <pYou must register a unique TypedAnnotationProxyBase subclass for every JSR175
-   * Annotation classname.  This is because JAM (like JSR175) will only
-   * expose one annotation of a given (proxy) type per java elements.</p>
-   *
-   * <p>However, it is acceptable (and often desirable) to register the same
-   * TypedAnnotationProxyBase subclass for both a javadoc tag and a 175 annotation
-   * type.  This allows JAM to provide your application with a unified view of
-   * java metadata, whether it is represented as javadoc tags or JSR175
-   * annotations.</p>
-   *
-   * @throws IllegalArgumentException if the proxyClass parameter is null,
-   * does not have a public default constructor, or is not a subclass of
-   * <code>TypedAnnotationProxyBase</code>.
-   * @throws IllegalArgumentException if the annotationName
-   * is null or not a valid java classname.
-   * @throws IllegalArgumentException if a proxy has already been registered
-   * for the given 175 annotation class.
-   */
-  public void registerAnnotationProxy(Class annotationProxyClass,
-                                      String annotationName);
-
-  //DOCME
-  public void setPropertyInitializer(MVisitor initializer);
-
-  //DOCME
-  public void addInitializer(MVisitor initializer);
-
-  //DOCME
-  public void setJavadocTagParser(JavadocTagParser tp);
-
-
-  /**
-   * <p>Sets the subclass of TypedAnnotationProxyBase to be instantiated when no
-   * proxy is registered for a given tag or 175 type.  Instances of the
-   * default proxy class are never returned via the JAM API, but they are
-   * used internally to implement the default, untyped mapping; you can use
-   * this method to customize the way an unproxied annotation's values get
-   * mapped into the a ValueMap.</p>
-   *
-   * @throws IllegalArgumentException if the proxyClass parameter is null,
-   * does not have a public default constructor, or is not a subclass of
-   * <code>TypedAnnotationProxyBase</code>.
-   */
-  public void setDefaultAnnotationProxyClass(Class c);
-
-  /**
-   * <p>Specifies whether the JAM Service should load classes from the system
-   * classpath.  The default for this is true, and you shouldn't set it to
-   * false unless you really know what you are doing.</p>
-   */
-  public void setUseSystemClasspath(boolean use);
-
-  /**
-   * DOCME
-   */
-  public void addClassLoader(ClassLoader cl);
-
-  /**
-   * <p>Sets an implementation-specific property.</p>
-   */
-  public void setProperty(String name, String value);
-
-  /**
-   * @deprecated use setVerbose(Class).  This is the same as
-   * setVerbose(Object.class).
-   */
-  public void setVerbose(boolean v);
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/AnnotationProxy.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/AnnotationProxy.java
deleted file mode 100644
index c1b4b71..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/AnnotationProxy.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-import java.util.Properties;
-import java.util.Enumeration;
-
-/**
- * <p>Provides a proxied view of some annotation artifact.  JAM calls the
- * public methods on this class to initialize the proxy with annotation
- * values; those methods should not be called by user code.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class AnnotationProxy {
-
-  // ========================================================================
-  // Constants
-
-  /**
-   * <p>Name of the member of annotations which have only a single member.
-   * As specified in JSR175, that name is "value", but you should use
-   * this constant to prevent typos.</p>
-   */
-  public static final String SINGLE_MEMBER_NAME = "value";
-
-
-  /**
-   * <p>The delimiters to use by default when parsing out name=value pairs
-   * from a javadoc tag.</p>
-   */
-  private static final String DEFAULT_NVPAIR_DELIMS = "\n\r";
-
-  // ========================================================================
-  // Variables
-
-  protected JamServiceContext mContext;
-
-  //FIXME need to expose a knob for setting this
-  private String mNvPairDelims = DEFAULT_NVPAIR_DELIMS;
-
-  // ========================================================================
-  // Initialization methods - called by JAM, don't implement
-
-  /**
-   * <p>Called by JAM to initialize the proxy.  Do not try to call this
-   * yourself.</p>
-   */
-  public void init(JamServiceContext ctx) {
-    if (ctx == null) throw new IllegalArgumentException("null logger");
-    mContext = ctx;
-  }
-
-  // ========================================================================
-  // Public abstract methods
-
-  /**
-   * <p>Called by JAM to initialize a named member on this annotation proxy.
-   * </p>
-   */
-  public abstract void setValue(String name, Object value, JClass type);
-
-  //docme
-  public abstract JAnnotationValue[] getValues();
-
-
-  //docme
-  public JAnnotationValue getValue(String named) {
-    if (named == null) throw new IllegalArgumentException("null name");
-    //FIXME this impl is very gross
-    named = named.trim();
-    JAnnotationValue[] values = getValues();
-    for(int i=0; i<values.length; i++) {
-      
-      if (named.equals(values[i].getName())) return values[i];
-    }
-    return null;
-  }
-
-  // ========================================================================
-  // Protected methods
-
-  /**
-   * <p>Returns an instance of JamLogger that this AnnotationProxy should use
-   * for logging debug and error messages.</p>
-   */
-  protected JamLogger getLogger() { return mContext.getLogger(); }
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/DefaultAnnotationProxy.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/DefaultAnnotationProxy.java
deleted file mode 100644
index f153b6a..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/DefaultAnnotationProxy.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import org.apache.xmlbeans.impl.jam.internal.elements.AnnotationValueImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.JClass;
-
-/**
- * <p>Implementation of AnnotationProxy which is used when no user-defined
- * type has been registered for a given annotation..  All it does is stuff
- * values into a ValueMap.  Note that it inherits all of the default tag and
- * annotation processing behaviors from AnnotationProxy.</p>
- *
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class DefaultAnnotationProxy extends AnnotationProxy {
-
-  // ========================================================================
-  // Variables
-
-  private List mValues = new ArrayList();
-
-  // ========================================================================
-  // Constructors
-
-  public DefaultAnnotationProxy() {}
-
-  // ========================================================================
-  // Public methods
-
-  public JAnnotationValue[] getValues() {
-    JAnnotationValue[] out = new JAnnotationValue[mValues.size()];
-    mValues.toArray(out);
-    return out;
-  }
-
-  // ========================================================================
-  // TypedAnnotationProxyBase implementation
-
-  /**
-   * <p>Overrides this behavior to simply stuff the value into our
-   * annotation map.  The super class' implementation would try to
-   * find a bunch of setters that we don't have.</p>
-   */
-  public void setValue(String name, Object value, JClass type) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (type == null) throw new IllegalArgumentException("null type");
-    if (value == null) throw new IllegalArgumentException("null value");
-    name = name.trim();
-    mValues.add(new AnnotationValueImpl((ElementContext)getLogger(),//yikes, nasty.  FIXME
-                                        name,value,type));
-  }
-}
-
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/JavadocTagParser.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/JavadocTagParser.java
deleted file mode 100644
index 6da01ab..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/JavadocTagParser.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MSourcePosition;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import com.sun.javadoc.Tag;
-import com.sun.javadoc.SourcePosition;
-
-import java.util.StringTokenizer;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class JavadocTagParser {
-
-  // ========================================================================
-  // Variables
-
-  private JamServiceContext mContext = null;
-  private boolean mAddSingleValueMembers = false;
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>If true, all annotations will be given a single-member value whose
-   * value is the full raw contents of the javadoc tag.  The name of this
-   * member is JAnnotation.SINGLE_MEMBER_VALUE, or 'value'.  Note that this
-   * member will be overrdden in the event that the tag contains an
-   * explicit value named 'value'.</p>
-   *
-   * <p>The default for this setting is false.</p>
-   *
-   * @param b
-   */
-  public void setAddSingleValueMembers(boolean b) {
-    mAddSingleValueMembers = b;
-  }
-
-  /**
-   * <p>Called by JAM to initialize the proxy.  Do not try to call this
-   * yourself.</p>
-   */
-  public void init(JamServiceContext ctx) {
-    if (ctx == null) throw new IllegalArgumentException("null logger");
-    if (mContext != null) throw new IllegalStateException
-      ("JavadocTagParser.init() called twice");
-    mContext = ctx;
-  }
-
-  // ========================================================================
-  // Abstract methods
-
-  public abstract void parse(MAnnotatedElement target, Tag tag);
-
-  // ========================================================================
-  // Protected methods
-
-  protected MAnnotation[] createAnnotations(MAnnotatedElement target, Tag tag) {
-    String tagName = tag.name().trim().substring(1);
-    //MAnnotation out = target.addAnnotation(tagName);
-    MAnnotation current = target.getMutableAnnotation(tagName);
-    if (current == null) {
-      current = target.findOrCreateAnnotation(tagName);
-      setPosition(current,tag);
-    }
-    MAnnotation literal = target.addLiteralAnnotation(tagName);
-    setPosition(literal,tag);
-    MAnnotation[] out = new MAnnotation[] {literal,current};
-    if (mAddSingleValueMembers) setSingleValueText(out,tag);
-    return out;
-  }
-
-
-  // subclasses might want to override this to change the way tag values
-  // are mapped into typed values
-  protected void setValue(MAnnotation[] anns,
-                          String memberName,
-                          String value) {
-    value = value.trim();
-    memberName = memberName.trim();
-    for(int i=0; i<anns.length; i++) {
-      if (anns[i].getValue(memberName) == null) {
-        // first one wins
-        anns[i].setSimpleValue(memberName,value,getStringType());
-      }
-    }
-  }
-
-  protected JamLogger getLogger() { return mContext.getLogger(); }
-
-  protected JClass getStringType() {
-    return ((ElementContext)mContext).getClassLoader().
-      loadClass("java.lang.String");
-  }
-
-  //set the value of SINGLE_VALUE_NAME to be the raw tag text.  This of
-  //course will be overridden if the tag contains a member value named
-  //'value' - oh well
-  protected void setSingleValueText(MAnnotation[] targets, Tag tag) {
-    String tagText = tag.text();
-    for(int i=0; i<targets.length; i++) {
-    targets[i].setSimpleValue
-      (JAnnotation.SINGLE_VALUE_NAME,tagText,getStringType());
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void setPosition(MAnnotation target, Tag tag) {
-    //add source position info, if available
-    SourcePosition pos = tag.position();
-    if (pos != null) {
-      MSourcePosition mpos = target.createSourcePosition();
-      mpos.setLine(pos.line());
-      mpos.setColumn(pos.column());
-      if (pos.file() != null) mpos.setSourceURI(pos.file().toURI());
-    }
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/LineDelimitedTagParser.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/LineDelimitedTagParser.java
deleted file mode 100644
index 9beb025..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/LineDelimitedTagParser.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import java.util.StringTokenizer;
-import java.io.StringWriter;
-
-import com.sun.javadoc.Tag;
-
-/**
- * <p>Attempts to parse tag contents as a series of line-delimited name-value
- * pairs.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class LineDelimitedTagParser extends JavadocTagParser {
-
-  // ========================================================================
-  // Constants
-
-  private static final String VALUE_QUOTE = "\"";
-  private static final String LINE_DELIMS = "\n\f\r";
-
-  // ========================================================================
-  // JavadocTagParser implementation
-
-  public void parse(MAnnotatedElement target, Tag tag) {
-    if (target == null) throw new IllegalArgumentException("null tagText");
-    if (tag == null) throw new IllegalArgumentException("null tagName");
-    MAnnotation[] anns = createAnnotations(target,tag);
-    String tagText = tag.text();
-    StringTokenizer st = new StringTokenizer(tagText, LINE_DELIMS);
-    while (st.hasMoreTokens()) {
-      String pair = st.nextToken();
-      int eq = pair.indexOf('=');
-      if (eq <= 0) continue; // if absent or is first character
-      String name = pair.substring(0, eq).trim();
-      if (eq < pair.length() - 1) {
-        String value = pair.substring(eq + 1).trim();
-        if (value.startsWith(VALUE_QUOTE)) {
-          value = parseQuotedValue(value.substring(1),st);
-        }
-        setValue(anns,name,value);
-      }
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private String parseQuotedValue(String line, StringTokenizer st) {
-    StringWriter out = new StringWriter();
-    while(true) {
-      int endQuote = line.indexOf(VALUE_QUOTE);
-      if (endQuote == -1) {
-        out.write(line);
-        if (!st.hasMoreTokens()) return out.toString();
-        out.write('\n');
-        line = st.nextToken().trim();
-        continue;
-      } else {
-        out.write(line.substring(0,endQuote).trim());
-        return out.toString();
-      }
-    }
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/TypedAnnotationProxyBase.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/TypedAnnotationProxyBase.java
deleted file mode 100644
index b6902a4..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/TypedAnnotationProxyBase.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.AnnotationValueImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-import java.lang.reflect.Method;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Modifier;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.List;
-import java.util.ArrayList;
-
-
-/**
- * <p>Base for user-defined annotation classes which provide strongly-typed
- * access to java metadata.  This class implements AnnotationProxy by using
- * reflection get and set properties on the extending class.  See
- * documentation on <code>setMemberValue()</code> and
- * <code>getValue()</code> for details.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class TypedAnnotationProxyBase extends AnnotationProxy {
-
-  // ========================================================================
-  // Variables
-
-  private List mValues = null;
-
-  // ========================================================================
-  // Constructors
-
-  protected TypedAnnotationProxyBase() {}
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>Sets the member value by introspecting this class and looking for an
-   * appropriate setter method.  For example, if the 'name' parameter is
-   * 'foo', a method called setFoo will be searched for.  If more than one
-   * such method exists, normal java type widening will be performed to select
-   * the most appropriate match.  Type conversion will be performed on the
-   * 'value' object as necessary.</p>
-   *
-   * <p>Extending classes are free to override this method if different
-   * behavior is required.</p>
-   */
-  public void setValue(String name, Object value, JClass type) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (value == null) throw new IllegalArgumentException("null value");
-    {
-      // hang onto it in case they ask for it later with getValues
-      if (mValues == null) mValues = new ArrayList();
-      mValues.add(new AnnotationValueImpl
-        ((ElementContext)mContext,name,value,type));
-    }
-    Method m = getSetterFor(name,value.getClass());
-    if (m == null) return;
-    try {
-      m.invoke(this,new Object[] {value});
-    } catch (IllegalAccessException e) {
-      getLogger().warning(e);
-    } catch (InvocationTargetException e) {
-      getLogger().warning(e);
-    }
-  }
-
-  /**
-   * <p>Returns an untyped view of the annotation's values.  These simply
-   * reflect the values which have been passed into it from JAM via the
-   * setValue method.  This means they will just be a direct reflection of
-   * whatever was found on 175 annotation or javadoc tag that is being
-   * proxied.</p>
-   *
-   * <p>Extending classes are encouraged to override this method if different
-   * behavior is required.</p>
-   */
-  public JAnnotationValue[] getValues() {
-    if (mValues == null) return new JAnnotationValue[0];
-    JAnnotationValue[] out = new JAnnotationValue[mValues.size()];
-    mValues.toArray(out);
-    return out;
-  }
-
-  // ========================================================================
-  // Protected methods
-
-  /**
-   * <p>Gets the setter that should be used for setting the given member
-   * with the given value.  This is part of the setMemberValue()
-   * implementation, but is broken out as a separate protected method to
-   * provide a convenient override point for extensions to do simple name
-   * mappings without having to completely re-implement setMemberValue().</p>
-   */
-  protected Method getSetterFor(String memberName, Class valueType) {
-    try {
-      return this.getClass().getMethod("set"+memberName,
-                                       new Class[] {valueType});
-    } catch(NoSuchMethodException nsme) {
-      getLogger().warning(nsme);
-      return null;
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/WhitespaceDelimitedTagParser.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/WhitespaceDelimitedTagParser.java
deleted file mode 100644
index 763766e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/WhitespaceDelimitedTagParser.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.annotation;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-
-import java.util.Properties;
-import java.util.Enumeration;
-
-import com.sun.javadoc.Tag;
-
-/**
- * This provides ejbgen-style tag parsing: tag contents
- * are treated as whitespace-separated name=value pairs, where values
- * can be double-quoted.
- * 
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class WhitespaceDelimitedTagParser extends JavadocTagParser {
-
-  public void parse(MAnnotatedElement target,  Tag tag) {
-    MAnnotation[] anns = createAnnotations(target,tag);
-    String tagText = tag.text();
-    if (tagText == null) return;
-    tagText = tagText.trim();
-    if (tagText.length() == 0) return;
-    Properties props = new Properties();
-    parseAssignments(props,tagText); //FIXME no need to create Properties here
-    if (props.size() > 0) {
-      Enumeration names = props.propertyNames();
-      while(names.hasMoreElements()) {
-        String name = (String)names.nextElement();
-        setValue(anns,name,props.getProperty(name));
-      }
-    } else {
-      //add the single member text if and only if there are no name-value
-      //pairs.  this is how ejbgen likes it but i'm not sure it's the right
-      //thing - might be nicer to have the info always available
-       setSingleValueText(anns,tag);
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  //REVIEW the comment parsing logic here should be factored and made pluggable
-
-  /**
-   * Parse a line that contains assignments, taking into account
-   * - newlines (ignore them)
-   * - double quotes (the value is everything in-between)
-   * - // (everything after is ignored)
-   * - multiple assignments on the same line
-   *
-   * @param out This variable will contain a list of properties
-   * representing the line once parsed.
-   * @param line The line to be parsed
-   *
-   * This method contributed by Cedric Beust
-   */
-  private void parseAssignments(Properties out, String line) {
-    getLogger().verbose("PARSING LINE " + line,this);
-    String originalLine = line;
-    line = removeComments(line);
-    while (null != line && -1 != line.indexOf("=")) {
-      int keyStart = -1;
-      int keyEnd = -1;
-      int ind = 0;
-      // Skip stuff before the key
-      char c = line.charAt(ind);
-      while (isBlank(c)) {
-        ind++;
-        c = line.charAt(ind);
-      }
-      keyStart = ind;
-      while (isLegal(line.charAt(ind))) ind++;
-      keyEnd = ind;
-      String key = line.substring(keyStart, keyEnd);
-      ind = line.indexOf("=");
-      if (ind == -1) {
-        return; //FIXME let's be a little conservative, just for now
-        //throw new IllegalStateException("'=' expected: "+line);
-      }
-      ind++;
-      // Skip stuff after the equal sign
-      try {
-        c = line.charAt(ind);
-      }
-      catch(StringIndexOutOfBoundsException ex){
-        ex.printStackTrace();
-      }
-      while (isBlank(c)) {
-        ind++;
-        c = line.charAt(ind);
-      }
-
-      String value;
-      int valueStart = -1;
-      int valueEnd = -1;
-      if (c == '"') {
-        valueStart = ++ind;
-        while ('"' != line.charAt(ind)) {
-          ind++;
-          if (ind >= line.length()) {
-            getLogger().verbose("missing double quotes on line "+line,this);
-          }
-        }
-        valueEnd = ind;
-      }
-      else {
-        valueStart = ind++;
-        while (ind < line.length() && isLegal(line.charAt(ind))) ind++;
-        valueEnd = ind;
-      }
-      value = line.substring(valueStart, valueEnd);
-      if (ind < line.length()) {
-        line = line.substring(ind + 1);
-      }
-      else {
-        line = null;
-      }
-      getLogger().verbose("SETTING KEY:"+key+" VALUE:"+value,this);
-      out.setProperty(key, value);
-    }
-  }
-
-  /**
-   * Remove all the texts between "//" and '\n'
-   *
-   * This method contributed by Cedric Beust
-   */
-  private String removeComments(String value) {
-    String result = new String();
-    int size = value.length();
-    String current = value;
-
-    int currentIndex = 0;
-
-    int beginning = current.indexOf("//");
-
-    //
-    // Ignore // if it's between double quotes
-    //
-    int doubleQuotesIndex = current.indexOf("\"");
-    if (-1 != doubleQuotesIndex && doubleQuotesIndex < beginning) {
-      // do nothing
-      result = value;
-    }
-    else {
-      while (currentIndex < size && beginning != -1) {
-        beginning = value.indexOf("//", currentIndex);
-        if (-1 != beginning) {
-          if (beginning > 0 && value.charAt(beginning-1) == ':') {
-            //this is a quick fix for problem of unquoted url values.  for
-            //now, just say it's not a comment if preceded by ':'.  should
-            //review this later
-            currentIndex = beginning+2;
-            continue;
-          }
-          int end = value.indexOf('\n', beginning);
-          if (-1 == end) end = size;
-          // We have identified a portion to remove, copy the one we want to
-          // keep
-          result = result + value.substring(currentIndex, beginning).trim() + "\n";
-          current = value.substring(end);
-          currentIndex = end;
-        }
-      }
-      result += current;
-    }
-
-    return result.trim();
-  }
-
-  private boolean isBlank(char c) {
-    return c == ' ' || c == '\t' || c == '\n';
-  }
-
-  private boolean isLegal(char c) {
-    return (! isBlank(c)) && c != '=';
-//     return Character.isJavaIdentifierStart(c) || c == '-' || Character.isDigit(c) || c == '.';
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/package.html
deleted file mode 100644
index 9c85bb3..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/annotation/package.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<body>
-  <p>
-    Provides extension machinery for proxying metadata.   
-  </p>
-</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/CachedClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/CachedClassBuilder.java
deleted file mode 100644
index 1bf891c..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/CachedClassBuilder.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p>A ClassBuilder that doesn't do any lazy building - it is just a cache
- * of classes that are used when asked to build one.  This is used by
- * JamXmlReader, which does all of it's reading and building in a single
- * pass.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class CachedClassBuilder extends JamClassBuilder {
-
-  // ========================================================================
-  // Variables
-
-  private Map mQcname2jclass = null;
-  private List mClassNames = new ArrayList();
-
-  // ========================================================================
-  // Constructors
-
-  public CachedClassBuilder() {}
-
-  // ========================================================================
-  // JamClassBuilder implementation
-
-  public MClass build(String packageName, String className) {
-    if (mQcname2jclass == null) return null;
-    if (packageName.trim().length() > 0) {
-      className = packageName+'.'+className;
-    }
-    return (MClass)mQcname2jclass.get(className);
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public MClass createClassToBuild(String packageName,
-                                   String className,
-                                   String[] importSpecs) {
-    String qualifiedName;
-    if (packageName.trim().length() > 0) {
-      qualifiedName = packageName+'.'+className;
-    } else {
-      qualifiedName = className;
-    }
-    MClass out;
-    if (mQcname2jclass != null) {
-      out = (MClass)mQcname2jclass.get(qualifiedName);
-      if (out != null) return out;
-    } else {
-      mQcname2jclass = new HashMap();
-    }
-    out = super.createClassToBuild(packageName,className, importSpecs);
-    mQcname2jclass.put(qualifiedName,out);
-    mClassNames.add(qualifiedName);
-    return out;
-  }
-
-  public String[] getClassNames() {
-    String[] out = new String[mClassNames.size()];
-    mClassNames.toArray(out);
-    return out;
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/DirectoryScanner.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/DirectoryScanner.java
deleted file mode 100644
index ec8260d..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/DirectoryScanner.java
+++ /dev/null
@@ -1,753 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.StringTokenizer;
-import java.util.Vector;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class DirectoryScanner {
-
-  // ========================================================================
-  // Variables
-
-  private boolean mCaseSensitive = true;
-  private File mRoot;
-  private JamLogger mLogger;
-  private List mIncludeList = null;
-  private List mExcludeList = null;
-  private String[] mIncludes;
-  private String[] mExcludes;
-  private Vector mFilesIncluded;
-  private Vector mDirsIncluded;
-  private boolean mIsDirty = false;
-  private String[] mIncludedFilesCache = null;
-
-
-  // ========================================================================
-  // Constructors
-
-  public DirectoryScanner(File dirToScan, JamLogger logger) {
-    if (logger == null) throw new IllegalArgumentException("null logger");
-    mLogger = logger;
-    mRoot = dirToScan;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public void include(String pattern) {
-    if (mIncludeList == null) mIncludeList = new ArrayList();
-    mIncludeList.add(pattern);
-    mIsDirty = true;
-  }
-
-  public void exclude(String pattern) {
-    if (mExcludeList == null) mExcludeList = new ArrayList();
-    mExcludeList.add(pattern);
-    mIsDirty = true;
-  }
-
-  /**
-   * Scans the root directory with the patterns that have been included
-   * and excluded and returns the names of the resulting file set
-   * relative to the root dir.
-   */
-  public String[] getIncludedFiles() throws IOException {
-    if (!mIsDirty && mIncludedFilesCache != null) {
-      return mIncludedFilesCache;
-    }
-    if (mIncludeList != null) {
-      String[] inc = new String[mIncludeList.size()];
-      mIncludeList.toArray(inc);
-      setIncludes(inc);
-    } else {
-      setIncludes(null);
-    }
-    if (mExcludeList != null) {
-      String[] exc = new String[mExcludeList.size()];
-      mExcludeList.toArray(exc);
-      setExcludes(exc);
-    } else {
-      setExcludes(null);
-    }
-    scan();
-    mIncludedFilesCache = new String[mFilesIncluded.size()];
-    mFilesIncluded.copyInto(mIncludedFilesCache);
-    return mIncludedFilesCache;
-  }
-
-  public void setDirty() {
-    mIsDirty = true;
-  }
-
-  public File getRoot() {
-    return mRoot;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  /**
-   * Sets the list of include patterns to use. All '/' and '\' characters
-   * are replaced by <code>File.separatorChar</code>, so the separator used
-   * need not match <code>File.separatorChar</code>.
-   * <p>
-   * When a pattern ends with a '/' or '\', "**" is appended.
-   *
-   * @param includes A list of include patterns.
-   *                 May be <code>null</code>, indicating that all files
-   *                 should be included. If a non-<code>null</code>
-   *                 list is given, all elements2 must be
-   * non-<code>null</code>.
-   */
-  private void setIncludes(String[] includes) {
-    if (includes == null) {
-      this.mIncludes = null;
-    } else {
-      this.mIncludes = new String[includes.length];
-      for (int i = 0; i < includes.length; i++) {
-        String pattern;
-        pattern = includes[i].replace('/', File.separatorChar).
-                replace('\\', File.separatorChar);
-        if (pattern.endsWith(File.separator)) {
-          pattern += "**";
-        }
-        this.mIncludes[i] = pattern;
-      }
-    }
-  }
-
-
-  /**
-   * Sets the list of exclude patterns to use. All '/' and '\' characters
-   * are replaced by <code>File.separatorChar</code>, so the separator used
-   * need not match <code>File.separatorChar</code>.
-   * <p>
-   * When a pattern ends with a '/' or '\', "**" is appended.
-   *
-   * @param excludes A list of exclude patterns.
-   *                 May be <code>null</code>, indicating that no files
-   *                 should be excluded. If a non-<code>null</code> list is
-   *                 given, all elements2 must be non-<code>null</code>.
-   */
-  private void setExcludes(String[] excludes) {
-    if (excludes == null) {
-      this.mExcludes = null;
-    } else {
-      this.mExcludes = new String[excludes.length];
-      for (int i = 0; i < excludes.length; i++) {
-        String pattern;
-        pattern = excludes[i].replace('/', File.separatorChar).
-                replace('\\', File.separatorChar);
-        if (pattern.endsWith(File.separator)) {
-          pattern += "**";
-        }
-        this.mExcludes[i] = pattern;
-      }
-    }
-  }
-
-
-  /**
-   * Scans the base directory for files which match at least one
-   * include pattern and don't match any exclude patterns. If there
-   * are selectors then the files must pass muster there, as well.
-   *
-   * @exception IllegalStateException if the base directory was set
-   *            incorrectly (i.e. if it is <code>null</code>, doesn't exist,
-   *            or isn't a directory).
-   */
-  private void scan() throws IllegalStateException, IOException {
-    if (mIncludes == null) {
-      // No mIncludes supplied, so set it to 'matches all'
-      mIncludes = new String[1];
-      mIncludes[0] = "**";
-    }
-    if (mExcludes == null) {
-      mExcludes = new String[0];
-    }
-    mFilesIncluded = new Vector();
-    mDirsIncluded = new Vector();
-    if (isIncluded("")) {
-      if (!isExcluded("")) {
-        mDirsIncluded.addElement("");
-      }
-    }
-    scandir(mRoot, "", true);
-  }
-
-  /**
-   * Scans the given directory for files and directories. Found files and
-   * directories are placed in their respective collections, based on the
-   * matching of mIncludes, mExcludes, and the selectors.  When a directory
-   * is found, it is scanned recursively.
-   *
-   * @param dir   The directory to scan. Must not be <code>null</code>.
-   * @param vpath The path relative to the base directory (needed to
-   *              prevent problems with an absolute path when using
-   *              dir). Must not be <code>null</code>.
-   * @param fast  Whether or not this call is part of a fast scan.
-   *
-   * @see #mFilesIncluded
-   * @see #mDirsIncluded
-   */
-  private void scandir(File dir, String vpath, boolean fast)
-          throws IOException {
-    if (mLogger.isVerbose(this)) {
-      mLogger.verbose("[DirectoryScanner] scanning dir "+dir+" for '"+vpath+"'");
-    }
-    String[] newfiles = dir.list();
-    if (newfiles == null) {
-      /*
-      * two reasons are mentioned in the API docs for File.list
-      * (1) dir is not a directory. This is impossible as
-      *     we wouldn't get here in this case.
-      * (2) an IO error occurred (why doesn't it throw an exception
-      *     then???)
-      */
-      throw new IOException("IO error scanning directory "
-                            + dir.getAbsolutePath());
-    }
-    /*
-    if (!followSymlinks) {
-    Vector noLinks = new Vector();
-    for (int i = 0; i < newfiles.length; i++) {
-    try {
-    if (fileUtils.isSymbolicLink(dir, newfiles[i])) {
-    String name = vpath + newfiles[i];
-    File   file = new File(dir, newfiles[i]);
-    if (file.isDirectory()) {
-    dirsExcluded.addElement(name);
-    } else {
-    filesExcluded.addElement(name);
-    }
-    } else {
-    noLinks.addElement(newfiles[i]);
-    }
-    } catch (IOException ioe) {
-    String msg = "IOException caught while checking "
-    + "for links, couldn't get cannonical path!";
-    // will be caught and redirected to Ant's logging system
-    System.err.println(msg);
-    noLinks.addElement(newfiles[i]);
-    }
-    }
-    newfiles = new String[noLinks.size()];
-    noLinks.copyInto(newfiles);
-    }*/
-    for (int i = 0; i < newfiles.length; i++) {
-      String name = vpath + newfiles[i];
-      File file = new File(dir, newfiles[i]);
-      if (file.isDirectory()) {
-        if (isIncluded(name) && !isExcluded(name)) {
-          mDirsIncluded.addElement(name);
-          if (mLogger.isVerbose(this)) mLogger.verbose("...including dir "+name);
-          scandir(file, name + File.separator, fast);
-        } else {
-          if (couldHoldIncluded(name)) {
-            scandir(file, name + File.separator, fast);
-          }
-        }
-      } else if (file.isFile()) {
-        if (isIncluded(name)) {
-          if (!isExcluded(name)) {
-            mFilesIncluded.addElement(name);
-            if (mLogger.isVerbose(this)) {
-              mLogger.verbose("...including "+name+" under '"+dir);
-            }
-          } else {
-            if (mLogger.isVerbose(this)) {
-              mLogger.verbose("...EXCLUDING "+name+" under '"+dir);
-            }
-          }
-        }
-      }
-    }
-  }
-
-  /**
-   * Tests whether or not a name matches against at least one include
-   * pattern.
-   *
-   * @param name The name to match. Must not be <code>null</code>.
-   * @return <code>true</code> when the name matches against at least one
-   *         include pattern, or <code>false</code> otherwise.
-   */
-  private boolean isIncluded(String name) {
-    for (int i = 0; i < mIncludes.length; i++) {
-      if (matchPath(mIncludes[i], name, mCaseSensitive)) {
-        return true;
-      }
-    }
-    return false;
-  }
-
-  /**
-   * Tests whether or not a name matches the start of at least one include
-   * pattern.
-   *
-   * @param name The name to match. Must not be <code>null</code>.
-   * @return <code>true</code> when the name matches against the start of at
-   *         least one include pattern, or <code>false</code> otherwise.
-   */
-  private boolean couldHoldIncluded(String name) {
-    for (int i = 0; i < mIncludes.length; i++) {
-      if (matchPatternStart(mIncludes[i], name, mCaseSensitive)) {
-        return true;
-      }
-    }
-    return false;
-  }
-
-  /**
-   * Tests whether or not a name matches against at least one exclude
-   * pattern.
-   *
-   * @param name The name to match. Must not be <code>null</code>.
-   * @return <code>true</code> when the name matches against at least one
-   *         exclude pattern, or <code>false</code> otherwise.
-   */
-  private boolean isExcluded(String name) {
-    for (int i = 0; i < mExcludes.length; i++) {
-      if (matchPath(mExcludes[i], name, mCaseSensitive)) {
-        return true;
-      }
-    }
-    return false;
-  }
-
-
-
-  /**
-   * Returns the names of the directories which matched at least one
-   * of the include patterns and none of the exclude patterns.  The
-   * names are relative to the base directory.
-   *
-   * @return the names of the directories which matched at least one of the
-   * include patterns and none of the exclude patterns.
-
-  private String[] getIncludedDirectories() {
-    String[] directories = new String[mDirsIncluded.size()];
-    mDirsIncluded.copyInto(directories);
-    return directories;
-  }
-   */
-
-  // ========================================================================
-  // SelectorUtils stuff
-
-  /**
-   * Tests whether or not a given path matches the start of a given
-   * pattern up to the first "**".
-   * <p>
-   * This is not a general purpose test and should only be used if you
-   * can live with false positives. For example, <code>pattern=**\a</code>
-   * and <code>str=b</code> will yield <code>true</code>.
-   *
-   * @param pattern The pattern to match against. Must not be
-   *                <code>null</code>.
-   * @param str     The path to match, as a String. Must not be
-   *                <code>null</code>.
-   *
-   * @return whether or not a given path matches the start of a given
-   * pattern up to the first "**".
-
-  private static boolean matchPatternStart(String pattern, String str) {
-    return matchPatternStart(pattern, str, true);
-  }
-   */
-
-  /**
-   * Tests whether or not a given path matches the start of a given
-   * pattern up to the first "**".
-   * <p>
-   * This is not a general purpose test and should only be used if you
-   * can live with false positives. For example, <code>pattern=**\a</code>
-   * and <code>str=b</code> will yield <code>true</code>.
-   *
-   * @param pattern The pattern to match against. Must not be
-   *                <code>null</code>.
-   * @param str     The path to match, as a String. Must not be
-   *                <code>null</code>.
-   * @param mCaseSensitive Whether or not matching should be performed
-   *                        case sensitively.
-   *
-   * @return whether or not a given path matches the start of a given
-   * pattern up to the first "**".
-   */
-  private static boolean matchPatternStart(String pattern, String str,
-                                          boolean mCaseSensitive) {
-    // When str starts with a File.separator, pattern has to start with a
-    // File.separator.
-    // When pattern starts with a File.separator, str has to start with a
-    // File.separator.
-    if (str.startsWith(File.separator) !=
-            pattern.startsWith(File.separator)) {
-      return false;
-    }
-    Vector patDirs = tokenizePath(pattern);
-    Vector strDirs = tokenizePath(str);
-    int patIdxStart = 0;
-    int patIdxEnd = patDirs.size() - 1;
-    int strIdxStart = 0;
-    int strIdxEnd = strDirs.size() - 1;
-    // up to first '**'
-    while (patIdxStart <= patIdxEnd && strIdxStart <= strIdxEnd) {
-      String patDir = (String) patDirs.elementAt(patIdxStart);
-      if (patDir.equals("**")) {
-        break;
-      }
-      if (!match(patDir, (String) strDirs.elementAt(strIdxStart),
-                 mCaseSensitive)) {
-        return false;
-      }
-      patIdxStart++;
-      strIdxStart++;
-    }
-    if (strIdxStart > strIdxEnd) {
-      // String is exhausted
-      return true;
-    } else if (patIdxStart > patIdxEnd) {
-      // String not exhausted, but pattern is. Failure.
-      return false;
-    } else {
-      // pattern now holds ** while string is not exhausted
-      // this will generate false positives but we can live with that.
-      return true;
-    }
-  }
-
-  /**
-   * Tests whether or not a given path matches a given pattern.
-   *
-   * @param pattern The pattern to match against. Must not be
-   *                <code>null</code>.
-   * @param str     The path to match, as a String. Must not be
-   *                <code>null</code>.
-   *
-   * @return <code>true</code> if the pattern matches against the string,
-   *         or <code>false</code> otherwise.
-
-  private static boolean matchPath(String pattern, String str) {
-    return matchPath(pattern, str, true);
-  }
-   */
-  
-  /**
-   * Tests whether or not a given path matches a given pattern.
-   *
-   * @param pattern The pattern to match against. Must not be
-   *                <code>null</code>.
-   * @param str     The path to match, as a String. Must not be
-   *                <code>null</code>.
-   * @param mCaseSensitive Whether or not matching should be performed
-   *                        case sensitively.
-   *
-   * @return <code>true</code> if the pattern matches against the string,
-   *         or <code>false</code> otherwise.
-   */
-  private static boolean matchPath(String pattern, String str,
-                                   boolean mCaseSensitive) {
-    // When str starts with a File.separator, pattern has to start with a
-    // File.separator.
-    // When pattern starts with a File.separator, str has to start with a
-    // File.separator.
-    if (str.startsWith(File.separator) !=
-            pattern.startsWith(File.separator)) {
-      return false;
-    }
-    Vector patDirs = tokenizePath(pattern);
-    Vector strDirs = tokenizePath(str);
-    int patIdxStart = 0;
-    int patIdxEnd = patDirs.size() - 1;
-    int strIdxStart = 0;
-    int strIdxEnd = strDirs.size() - 1;
-    // up to first '**'
-    while (patIdxStart <= patIdxEnd && strIdxStart <= strIdxEnd) {
-      String patDir = (String) patDirs.elementAt(patIdxStart);
-      if (patDir.equals("**")) {
-        break;
-      }
-      if (!match(patDir, (String) strDirs.elementAt(strIdxStart),
-                 mCaseSensitive)) {
-        return false;
-      }
-      patIdxStart++;
-      strIdxStart++;
-    }
-    if (strIdxStart > strIdxEnd) {
-      // String is exhausted
-      for (int i = patIdxStart; i <= patIdxEnd; i++) {
-        if (!patDirs.elementAt(i).equals("**")) {
-          return false;
-        }
-      }
-      return true;
-    } else {
-      if (patIdxStart > patIdxEnd) {
-        // String not exhausted, but pattern is. Failure.
-        return false;
-      }
-    }
-    // up to last '**'
-    while (patIdxStart <= patIdxEnd && strIdxStart <= strIdxEnd) {
-      String patDir = (String) patDirs.elementAt(patIdxEnd);
-      if (patDir.equals("**")) {
-        break;
-      }
-      if (!match(patDir, (String) strDirs.elementAt(strIdxEnd),
-              mCaseSensitive)) {
-        return false;
-      }
-      patIdxEnd--;
-      strIdxEnd--;
-    }
-    if (strIdxStart > strIdxEnd) {
-      // String is exhausted
-      for (int i = patIdxStart; i <= patIdxEnd; i++) {
-        if (!patDirs.elementAt(i).equals("**")) {
-          return false;
-        }
-      }
-      return true;
-    }
-    while (patIdxStart != patIdxEnd && strIdxStart <= strIdxEnd) {
-      int patIdxTmp = -1;
-      for (int i = patIdxStart + 1; i <= patIdxEnd; i++) {
-        if (patDirs.elementAt(i).equals("**")) {
-          patIdxTmp = i;
-          break;
-        }
-      }
-      if (patIdxTmp == patIdxStart + 1) {
-        // '**/**' situation, so skip one
-        patIdxStart++;
-        continue;
-      }
-      // Find the pattern between padIdxStart & padIdxTmp in str between
-      // strIdxStart & strIdxEnd
-      int patLength = (patIdxTmp - patIdxStart - 1);
-      int strLength = (strIdxEnd - strIdxStart + 1);
-      int foundIdx = -1;
-      strLoop:
-        for (int i = 0; i <= strLength - patLength; i++) {
-          for (int j = 0; j < patLength; j++) {
-            String subPat = (String) patDirs.elementAt(patIdxStart + j + 1);
-            String subStr = (String) strDirs.elementAt(strIdxStart + i + j);
-            if (!match(subPat, subStr, mCaseSensitive)) {
-              continue strLoop;
-            }
-          }
-          foundIdx = strIdxStart + i;
-          break;
-        }
-      if (foundIdx == -1) {
-        return false;
-      }
-      patIdxStart = patIdxTmp;
-      strIdxStart = foundIdx + patLength;
-    }
-    for (int i = patIdxStart; i <= patIdxEnd; i++) {
-      if (!patDirs.elementAt(i).equals("**")) {
-        return false;
-      }
-    }
-    return true;
-  }
-
-
-  /**
-   * Tests whether or not a string matches against a pattern.  The
-   * pattern may contain two special characters:<br> '*' means zero or
-   * more characters<br> '?' means one and only one character
-   *
-   * @param pattern The pattern to match against.
-   *                Must not be <code>null</code>.
-   * @param str     The string which must be matched against the pattern.
-   *                Must not be <code>null</code>.
-   * @param mCaseSensitive Whether or not matching should be performed
-   *                        case sensitively.
-   *
-   *
-   * @return <code>true</code> if the string matches against the pattern,
-   *         or <code>false</code> otherwise.
-   */
-  private static boolean match(String pattern, String str,
-                               boolean mCaseSensitive) {
-    char[] patArr = pattern.toCharArray();
-    char[] strArr = str.toCharArray();
-    int patIdxStart = 0;
-    int patIdxEnd = patArr.length - 1;
-    int strIdxStart = 0;
-    int strIdxEnd = strArr.length - 1;
-    char ch;
-    boolean containsStar = false;
-    for (int i = 0; i < patArr.length; i++) {
-      if (patArr[i] == '*') {
-        containsStar = true;
-        break;
-      }
-    }
-    if (!containsStar) {
-      // No '*'s, so we make a shortcut
-      if (patIdxEnd != strIdxEnd) {
-        return false; // Pattern and string do not have the same size
-      }
-      for (int i = 0; i <= patIdxEnd; i++) {
-        ch = patArr[i];
-        if (ch != '?') {
-          if (mCaseSensitive && ch != strArr[i]) {
-            return false;// Character mismatch
-          }
-          if (!mCaseSensitive && Character.toUpperCase(ch) !=
-                  Character.toUpperCase(strArr[i])) {
-            return false; // Character mismatch
-          }
-        }
-      }
-      return true; // String matches against pattern
-    }
-    if (patIdxEnd == 0) {
-      return true; // Pattern contains only '*', which matches anything
-    }
-    // Process characters before first star
-    while ((ch = patArr[patIdxStart]) != '*' && strIdxStart <= strIdxEnd) {
-      if (ch != '?') {
-        if (mCaseSensitive && ch != strArr[strIdxStart]) {
-          return false;// Character mismatch
-        }
-        if (!mCaseSensitive && Character.toUpperCase(ch) !=
-                Character.toUpperCase(strArr[strIdxStart])) {
-          return false;// Character mismatch
-        }
-      }
-      patIdxStart++;
-      strIdxStart++;
-    }
-    if (strIdxStart > strIdxEnd) {
-      // All characters in the string are used. Check if only '*'s are
-      // left in the pattern. If so, we succeeded. Otherwise failure.
-      for (int i = patIdxStart; i <= patIdxEnd; i++) {
-        if (patArr[i] != '*') {
-          return false;
-        }
-      }
-      return true;
-    }
-    // Process characters after last star
-    while ((ch = patArr[patIdxEnd]) != '*' && strIdxStart <= strIdxEnd) {
-      if (ch != '?') {
-        if (mCaseSensitive && ch != strArr[strIdxEnd]) {
-          return false;// Character mismatch
-        }
-        if (!mCaseSensitive && Character.toUpperCase(ch) !=
-                Character.toUpperCase(strArr[strIdxEnd])) {
-          return false;// Character mismatch
-        }
-      }
-      patIdxEnd--;
-      strIdxEnd--;
-    }
-    if (strIdxStart > strIdxEnd) {
-      // All characters in the string are used. Check if only '*'s are
-      // left in the pattern. If so, we succeeded. Otherwise failure.
-      for (int i = patIdxStart; i <= patIdxEnd; i++) {
-        if (patArr[i] != '*') {
-          return false;
-        }
-      }
-      return true;
-    }
-    // process pattern between stars. padIdxStart and patIdxEnd point
-    // always to a '*'.
-    while (patIdxStart != patIdxEnd && strIdxStart <= strIdxEnd) {
-      int patIdxTmp = -1;
-      for (int i = patIdxStart + 1; i <= patIdxEnd; i++) {
-        if (patArr[i] == '*') {
-          patIdxTmp = i;
-          break;
-        }
-      }
-      if (patIdxTmp == patIdxStart + 1) {
-        // Two stars next to each other, skip the first one.
-        patIdxStart++;
-        continue;
-      }
-      // Find the pattern between padIdxStart & padIdxTmp in str between
-      // strIdxStart & strIdxEnd
-      int patLength = (patIdxTmp - patIdxStart - 1);
-      int strLength = (strIdxEnd - strIdxStart + 1);
-      int foundIdx = -1;
-      strLoop:
-        for (int i = 0; i <= strLength - patLength; i++) {
-          for (int j = 0; j < patLength; j++) {
-            ch = patArr[patIdxStart + j + 1];
-            if (ch != '?') {
-              if (mCaseSensitive && ch != strArr[strIdxStart + i + j]) {
-                continue strLoop;
-              }
-              if (!mCaseSensitive && Character.toUpperCase(ch) !=
-                      Character.toUpperCase(strArr[strIdxStart + i + j])) {
-                continue strLoop;
-              }
-            }
-          }
-          foundIdx = strIdxStart + i;
-          break;
-        }
-      if (foundIdx == -1) {
-        return false;
-      }
-      patIdxStart = patIdxTmp;
-      strIdxStart = foundIdx + patLength;
-    }
-    // All characters in the string are used. Check if only '*'s are left
-    // in the pattern. If so, we succeeded. Otherwise failure.
-    for (int i = patIdxStart; i <= patIdxEnd; i++) {
-      if (patArr[i] != '*') {
-        return false;
-      }
-    }
-    return true;
-  }
-
-  /**
-   * Breaks a path up into a Vector of path elements2, tokenizing on
-   * <code>File.separator</code>.
-   *
-   * @param path Path to tokenize. Must not be <code>null</code>.
-   *
-   * @return a Vector of path elements2 from the tokenized path
-   */
-  private static Vector tokenizePath(String path) {
-    Vector ret = new Vector();
-    StringTokenizer st = new StringTokenizer(path, File.separator);
-    while (st.hasMoreTokens()) {
-      ret.addElement(st.nextToken());
-    }
-    return ret;
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamClassLoaderImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamClassLoaderImpl.java
deleted file mode 100644
index 8e27b15..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamClassLoaderImpl.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JPackage;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.TraversingMVisitor;
-import org.apache.xmlbeans.impl.jam.internal.elements.*;
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-
-import java.util.*;
-import java.lang.ref.WeakReference;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamClassLoaderImpl implements JamClassLoader {
-
-  // ========================================================================
-  // Variables
-
-  private Map mName2Package = new HashMap();
-  private Map mFd2ClassCache = new HashMap();
-  private JamClassBuilder mBuilder;
-  private MVisitor mInitializer = null;
-  private ElementContext mContext;
-  private Stack mInitializeStack = new Stack(); //fixme - decide how to store them
-  private boolean mAlreadyInitializing = false;
-
-  // ========================================================================
-  // Constructor
-
-  public JamClassLoaderImpl(ElementContext context,
-                            JamClassBuilder builder,
-                            MVisitor initializerOrNull) {
-    if (builder == null) throw new IllegalArgumentException("null builder");
-    if (context == null) throw new IllegalArgumentException("null builder");
-    mBuilder = builder;
-    mInitializer = (initializerOrNull == null) ? null : // null is ok, else
-      new TraversingMVisitor(initializerOrNull); // wrap it in a walker
-    mContext = context;
-    initCache();
-  }
-
-  // ========================================================================
-  // JamClassLoader implementation
-
-  public final JClass loadClass(String fd)
-  {
-    MClass out = cacheGet(fd);
-    if (out != null) return out;
-    if (fd.startsWith("[")) {
-      return ArrayClassImpl.createClassForFD(fd,this);
-    }
-    // parse out the package and class names - this is kinda broken
-    int dot = fd.lastIndexOf('.');
-    String pkg;
-    String name;
-    if (dot == -1) {
-      pkg = "";
-      name = fd;
-    } else {
-      pkg  = fd.substring(0,dot);
-      name = fd.substring(dot+1);
-    }
-    out = mBuilder.build(pkg,name);
-    if (out == null) {
-      //FIXME currently, the unqualified ref stuff will keep calling this,
-      //newing up new UnresolvedClassImpls for each import until it finds
-      //something.  We need to break out a separate checkClass() method
-      //or something for them which returns null rather than UnresolvedClass.
-      out = new UnresolvedClassImpl(pkg,name,mContext);
-      mContext.warning("failed to resolve class "+fd);
-      cachePut(out);
-      return out;
-    }
-    cachePut(out);
-    return out;
-  }
-
-  public JPackage getPackage(String named) {
-    JPackage out = (JPackage)mName2Package.get(named);
-    if (out == null) {
-      out = new PackageImpl(mContext,named);
-      mName2Package.put(named,out);
-    }
-    return out;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  /**
-   * <p>Stuff the primitives and void into the cache.</p>
-   */
-  private void initCache() {
-    PrimitiveClassImpl.mapNameToPrimitive(mContext,mFd2ClassCache);
-    mFd2ClassCache.put("void",new VoidClassImpl(mContext));
-  }
-
-  private void cachePut(MClass clazz) {
-    mFd2ClassCache.put(new String(clazz.getFieldDescriptor().trim()),
-                       new WeakReference(clazz));
-  }
-
-  private MClass cacheGet(String fd) {
-    Object out = mFd2ClassCache.get(fd.trim());
-    if (out == null) return null;
-    if (out instanceof MClass) return (MClass)out;
-    if (out instanceof WeakReference) {
-      out = ((WeakReference)out).get();
-      if (out == null) {
-        mFd2ClassCache.remove(fd.trim());
-        return null;
-      } else {
-        return (MClass)out;
-      }
-    }
-    throw new IllegalStateException();
-  }
-
-  // ========================================================================
-  // Public methods?
-
-  //should only be called by ClassImpl
-  public void initialize(ClassImpl out) {
-    if (mInitializer != null) {
-      // see comments below about this.  we need to document this more openly,
-      // since it affects people writing initializers.
-      if (mAlreadyInitializing) {
-        // we already are running initializers, so we have to do this one later
-        mInitializeStack.push(out);
-      } else {
-        out.accept(mInitializer);
-        while(!mInitializeStack.isEmpty()) {
-          ClassImpl initme = (ClassImpl)mInitializeStack.pop();
-          initme.accept(mInitializer);
-        }
-        mAlreadyInitializing = false;
-      }
-    }
-  }
-
-  /**
-   * Returns an unmodifiable collection containing the JClasses which
-   * have been resolved by this JamClassLoader.
-   */
-  public Collection getResolvedClasses() {
-    return Collections.unmodifiableCollection(mFd2ClassCache.values());
-  }
-
-  public void addToCache(JClass c) {
-    //FIXME hack for mutable classes for now
-    cachePut((MClass)c);
-  }
-
-  //ok, the best thinking here is that when you are in an initializer
-  //and you walk to another type, you will get a JClass that has a name
-  //but is otherwise empty - it's not initialized.  It's like unresolved
-  //except that it still has a chance to be resolved.
-  //
-  // Internally, the classloader will maintain a stack of classes to be
-  // initialized.  When a class is first loaded, the initialization stack
-  // is checked.  If it is empty, the class is placed on the stack and
-  // initialization is performed on the item on the top of the stack until
-  // the stack is empty.
-
-  // If loadClass is called again further down in the stack frame,
-  // at least one class will be on the initialization stack.  In this
-  // case, the class is placed on the stack but initialization is not
-  // performed immediately - the caller original caller higher in the stack
-  // frame will do the initialization.
-
-  // This scheme is necessary to prevent problems with cyclical initialization.
-  //
-//  public boolean isInitialized();
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamLoggerImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamLoggerImpl.java
deleted file mode 100644
index 5f06337..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamLoggerImpl.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-
-import java.io.PrintWriter;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Iterator;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamLoggerImpl implements JamLogger {
-
-  // ========================================================================
-  // Variables
-
-  private boolean mShowWarnings = true;
-  private Set mVerboseClasses = null;
-  private PrintWriter mOut = new PrintWriter(System.out,true);
-
-  //FIXME temp until JamServiceContextImpl is no longer a subclass
-  protected void setOut(PrintWriter out) { mOut= out; }
-
-  // ========================================================================
-  // JamLogger implementation
-
-  public boolean isVerbose(Object o) {
-    if (mVerboseClasses == null) return false;
-    Iterator i = mVerboseClasses.iterator();
-    while(i.hasNext()) {
-      Class c = (Class)i.next();
-      if (c.isAssignableFrom(o.getClass())) return true;
-    }
-    return false;
-  }
-
-  public void setVerbose(Class c) {
-    if (c == null) throw new IllegalArgumentException();
-    if (mVerboseClasses == null) mVerboseClasses = new HashSet();
-    mVerboseClasses.add(c);
-  }
-
-  public void setShowWarnings(boolean b) {
-    mShowWarnings = b;
-  }
-  
-  public void verbose(String msg, Object o) {
-    if (isVerbose(o)) verbose(msg);
-  }
-
-  public void verbose(Throwable t, Object o) {
-    if (isVerbose(o)) verbose(t);
-  }
-
-  public void verbose(String msg) {
-    printVerbosePrefix();
-    mOut.println(msg);
-  }
-
-
-  public void verbose(Throwable t) {
-    printVerbosePrefix();
-    mOut.println();
-    t.printStackTrace(mOut);
-  }
-
-  public void warning(Throwable t) {
-    if (mShowWarnings) {
-      mOut.println("[JAM] Warning: unexpected exception thrown: ");
-      t.printStackTrace();
-    }
-  }
-
-  public void warning(String w) {
-    if (mShowWarnings) {
-
-      mOut.print("[JAM] Warning: ");
-      mOut.println(w);
-    }
-  }
-
-  public void error(Throwable t) {
-    mOut.println("[JAM] Error: unexpected exception thrown: ");
-    t.printStackTrace(mOut);
-  }
-
-  public void error(String msg) {
-    mOut.print("[JAM] Error: ");
-    mOut.println(msg);
-  }
-
-  // ========================================================================
-  // Deprecated methods
-
-  public void setVerbose(boolean v) { setVerbose(Object.class); }
-
-  public boolean isVerbose() { return mVerboseClasses != null; }
-
-  // ========================================================================
-  // Private methods
-
-  private void printVerbosePrefix() {
-    StackTraceElement[] st = new Exception().getStackTrace();
-    mOut.println("[JAM] Verbose: ");
-    mOut.print('(');
-    mOut.print(shortName(st[2].getClassName()));
-    mOut.print('.');
-    mOut.print(st[2].getMethodName());
-    mOut.print(':');
-    mOut.print(st[2].getLineNumber());
-    mOut.print(")  ");
-  }
-
-  private static String shortName(String className) {
-    int index = className.lastIndexOf('.');
-
-    if (index != -1 ) {
-      className = className.substring(index+1, className.length());
-    }
-
-    return className;
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamPrinter.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamPrinter.java
deleted file mode 100644
index 2612db5..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamPrinter.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.*;
-
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-
-/**
- * Utility class for printing out a JAM.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamPrinter {
-
-  // ========================================================================
-  // Factory
-
-  public static JamPrinter newInstance() {
-    return new JamPrinter();
-  }
-
-  private JamPrinter() {
-  }
-
-  private static final String INDENT = "  ";
-
-  // ========================================================================
-  // Public methods
-
-  public void print(JElement root, PrintWriter out) {
-    print(root, 0, out);
-  }
-
-  public void print(JamClassIterator iter, PrintWriter out) {
-    while(iter.hasNext()) {
-      JClass clazz = iter.nextClass();
-      out.println("------------------------------");
-      out.println(clazz.getQualifiedName());
-      out.println("------------------------------");
-      print(clazz,out);
-      out.println();
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void print(JElement a, int indent, PrintWriter out) {
-    indent(indent, out);
-    out.print("[");
-    out.print(getTypeKey(a));
-    out.print("] ");
-    if (a instanceof JMethod) {
-      out.print(((JMethod) a).getReturnType().getFieldDescriptor());
-      out.print(" ");
-      out.println(a.getSimpleName());
-    } else {
-      out.println(a.getSimpleName());
-    }
-    indent++;
-    // print out the annotations
-    /*JAnnotation[] atts = a.getAnnotations();
-    if (atts != null) print(atts, indent, out);
-    // now recursively print out the children
-    JElement[] children = getChildrenFor(a);
-    if (children != null) {
-      for (int i = 0; i < children.length; i++) {
-        if (children[i] != null) print(children[i], indent, out);
-      }
-    }
-    */
-  }
-
-  
-  private void print(JAnnotation[] atts, int indent, PrintWriter out) {
-    for (int i = 0; i < atts.length; i++) {
-      indent(indent, out);
-      out.print("<");
-      out.print(getTypeKey(atts[i]));
-      out.print("> ");
-      out.print(atts[i].getSimpleName());
-    }
-  }
-
-  private void indent(int indent, PrintWriter out) {
-    for (int i = 0; i < indent; i++) out.print(INDENT);
-  }
-
-  private String getTypeKey(Object o) {
-    if (o == null) return "[?UNKNOWN!]";
-    String type = o.getClass().getName();
-    int lastDot = type.lastIndexOf(".");
-    if (lastDot != -1 && lastDot + 1 < type.length()) {
-      type = type.substring(lastDot + 1);
-    }
-    return type;
-  }
-
-
-  // this is quite gross, but we don't want to expose getChildren() to
-  // the public any more
-  private static JElement[] getChildrenFor(JElement parent) {
-    Collection list = new ArrayList();
-    if (parent instanceof JClass) {
-      list.addAll(Arrays.asList(((JClass) parent).getDeclaredFields()));
-      list.addAll(Arrays.asList(((JClass) parent).getDeclaredMethods()));
-      list.addAll(Arrays.asList(((JClass) parent).getConstructors()));
-      list.addAll(Arrays.asList(((JClass) parent).getClasses()));
-    } else if (parent instanceof JConstructor) {
-      list.addAll(Arrays.asList(((JConstructor) parent).getParameters()));
-    } else if (parent instanceof JMethod) {
-      list.addAll(Arrays.asList(((JMethod) parent).getParameters()));
-    }
-    JElement[] out = new JElement[list.size()];
-    list.toArray(out);
-    return out;
-  }
-}
-
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceContextImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceContextImpl.java
deleted file mode 100644
index dc278cc..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceContextImpl.java
+++ /dev/null
@@ -1,622 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-import org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy;
-import org.apache.xmlbeans.impl.jam.annotation.JavadocTagParser;
-import org.apache.xmlbeans.impl.jam.annotation.WhitespaceDelimitedTagParser;
-import org.apache.xmlbeans.impl.jam.internal.elements.ClassImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.visitor.*;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.provider.ResourcePath;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-import org.apache.xmlbeans.impl.jam.provider.CompositeJamClassBuilder;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Modifier;
-import java.util.*;
-
-/**
- * <p>Takes settings from the user (through JamServiceParams) and exposes
- * them to the implementation (through JamServiceContext).</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamServiceContextImpl extends JamLoggerImpl implements JamServiceContext,
-  JamServiceParams, ElementContext
-{
-  // ========================================================================
-  // Variables
-
-  private Class mDefaultAnnotationProxyClass = null;
-  private Properties mProperties = null;
-  private Map mSourceRoot2Scanner = null;
-  private Map mClassRoot2Scanner = null;
-
-  private Map mAnnname2proxyclass = null;
-
-  private List mClasspath = null;
-  private List mSourcepath = null;
-  private List mToolClasspath = null;
-
-  private List mIncludeClasses = null;
-  private List mExcludeClasses = null;
-
-
-  private boolean mUseSystemClasspath = true;
-
-
-  private JavadocTagParser mTagParser = null;
-  private MVisitor mCommentInitializer = null;
-  private MVisitor mPropertyInitializer = new PropertyInitializer();
-  private List mOtherInitializers = null;
-  private List mUnstructuredSourceFiles = null;
-  private List mClassLoaders = null;
-  private List mBaseBuilders = null;
-
-  private JamClassLoader mLoader = null;
-
-  // ========================================================================
-  // REVIEW
-
-  public void setClassLoader(JamClassLoader loader) {
-    mLoader = loader;
-  }
-
-  //may want to expose this in JamServiceParams
-  public void addBaseBuilder(JamClassBuilder builder) {
-    if (mBaseBuilders == null) mBaseBuilders = new ArrayList();
-    mBaseBuilders.add(builder);
-  }
-
-  public JamClassBuilder getBaseBuilder() {
-    if (mBaseBuilders == null || mBaseBuilders.size() == 0) {
-      return null;
-    }
-    if (mBaseBuilders.size() == 1) {
-      return (JamClassBuilder)mBaseBuilders.get(0);
-    }
-    JamClassBuilder[] comp = new JamClassBuilder[mBaseBuilders.size()];
-    mBaseBuilders.toArray(comp);
-    return new CompositeJamClassBuilder(comp);
-  }
-
-  public JavadocTagParser getTagParser() {
-    if (mTagParser == null) {
-      mTagParser = new WhitespaceDelimitedTagParser();
-      mTagParser.init(this);
-    }
-    return mTagParser;
-  }
-
-  // ========================================================================
-  // Constructors
-
-  public JamServiceContextImpl() {}
-
-  // ========================================================================
-  // Public methods - used by BaseJProvider
-
-  /**
-   * Returns an array containing the qualified names of the classes which
-   * are in the Service class set.
-   */
-  public String[] getAllClassnames() throws IOException {
-    Set all = new HashSet();
-    if (mIncludeClasses != null) all.addAll(mIncludeClasses);
-    for(Iterator i = getAllDirectoryScanners(); i.hasNext(); ) {
-      DirectoryScanner ds = (DirectoryScanner)i.next();
-      String[] files = ds.getIncludedFiles();
-      for(int j=0; j<files.length; j++) {
-        all.add(filename2classname(files[j]));
-      }
-    }
-    if (mExcludeClasses != null) all.removeAll(mExcludeClasses);
-    String[] out = new String[all.size()];
-    all.toArray(out);
-    return out;
-  }
-
-  public JamLogger getLogger() { return this; }
-
-  /*
-  public String[] getSourceClassnames() throws IOException {
-    if (mSourceRoot2Scanner == null) return new String[0];
-    Set set = new HashSet();
-    for(Iterator i = mSourceRoot2Scanner.values().iterator(); i.hasNext(); ) {
-      DirectoryScanner ds = (DirectoryScanner)i.next();
-      String[] files = ds.getIncludedFiles();
-      for(int j=0; j<files.length; j++) {
-        set.add(filename2classname(files[j]));
-      }
-    }
-    String[] out = new String[set.size()];
-    set.toArray(out);
-    return out;
-  }*/
-
-  public File[] getSourceFiles() throws IOException {
-    Set set = new HashSet();
-    if (mSourceRoot2Scanner != null) {
-      for(Iterator i = mSourceRoot2Scanner.values().iterator(); i.hasNext(); ) {
-        DirectoryScanner ds = (DirectoryScanner)i.next();
-        if (isVerbose(this)) {
-          verbose(PREFIX+ " checking scanner for dir"+ds.getRoot());
-        }
-        String[] files = ds.getIncludedFiles();
-        for(int j=0; j<files.length; j++) {
-          if (isVerbose(this)) {
-            verbose(PREFIX+ " ...including a source file "+files[j]);
-          }
-          set.add(new File(ds.getRoot(),files[j]));
-        }
-      }
-    }
-    // also dump unstructured files in there as well.  javadoc doesn't
-    // know the difference, but eventually we're going to care
-    // when we introduce lazy parsing
-    if (mUnstructuredSourceFiles != null) {
-      if (isVerbose(this)) verbose(PREFIX+ "adding "+mUnstructuredSourceFiles.size()+
-                            " other source files");
-      set.addAll(mUnstructuredSourceFiles);
-    }
-    File[] out = new File[set.size()];
-    set.toArray(out);
-    return out;
-  }
-
-  public File[] getUnstructuredSourceFiles() {
-    if (mUnstructuredSourceFiles == null) return null;
-    File[] out = new File[mUnstructuredSourceFiles.size()];
-    mUnstructuredSourceFiles.toArray(out);
-    return out;
-  }
-
-
-  public ResourcePath getInputClasspath() { return createJPath(mClasspath); }
-
-  public ResourcePath getInputSourcepath() { return createJPath(mSourcepath); }
-
-  public ResourcePath getToolClasspath() { return createJPath(mToolClasspath); }
-
-  public String getProperty(String name) {
-    return (mProperties == null) ? null : mProperties.getProperty(name);
-  }
-
-  public void registerAnnotationProxy(Class proxy, String annotationName) {
-    validateProxyClass(proxy);
-    ClassImpl.validateClassName(annotationName);
-    if (mAnnname2proxyclass == null) {
-      mAnnname2proxyclass = new HashMap();
-    } else {
-      Class current = (Class)mAnnname2proxyclass.get(annotationName);
-      if (current != null) {
-        throw new IllegalArgumentException("A proxy is already registered for "
-          +annotationName+": "+current.getName());
-      }
-    }
-    mAnnname2proxyclass.put(annotationName,proxy);
-  }
-
-
-  public MVisitor getInitializer() {
-    List initers = new ArrayList();
-    // for now, we don't have a default comment initializer.  may need to
-    // change this someday.
-    if (mCommentInitializer != null) initers.add(mCommentInitializer);
-    // initers.add((mCommentInitializer != null) ? mCommentInitializer :
-    //             new CommentInitializer());
-    if (mPropertyInitializer != null) initers.add(mPropertyInitializer);
-    if (mOtherInitializers != null) initers.addAll(mOtherInitializers);
-    // now go
-    MVisitor[] inits = new MVisitor[initers.size()];
-    initers.toArray(inits);
-    return new CompositeMVisitor(inits);
-  }
-
-  // ========================================================================
-  // JamServiceParams implementation
-
-  //DOCME
-  public void setCommentInitializer(MVisitor initializer) {
-    mCommentInitializer = initializer;
-  }
-
-  //DOCME
-  public void setPropertyInitializer(MVisitor initializer) {
-    mPropertyInitializer = initializer;
-  }
-
-  //DOCME
-  public void addInitializer(MVisitor initializer) {
-    if (mOtherInitializers == null) mOtherInitializers = new ArrayList();
-    mOtherInitializers.add(initializer);
-  }
-
-  //DOCME
-  public void setJavadocTagParser(JavadocTagParser tp) {
-    mTagParser = tp;
-    tp.init(this); //FIXME this is a little broken to do this here
-  }
-
-  public void includeSourceFile(File file) {
-    if (file == null) throw new IllegalArgumentException("null file");
-    if (isVerbose(this)) verbose(PREFIX+ "adding source "+file.getAbsoluteFile());
-    if (mUnstructuredSourceFiles == null) {
-      mUnstructuredSourceFiles = new ArrayList();
-    }
-    mUnstructuredSourceFiles.add(file.getAbsoluteFile());
-  }
-
-  public void includeSourcePattern(File[] sourcepath, String pattern) {
-    if (sourcepath == null) throw new IllegalArgumentException("null sourcepath");
-    if (sourcepath.length == 0) throw new IllegalArgumentException("empty sourcepath");
-    if (pattern == null) throw new IllegalArgumentException("null pattern");
-    pattern = pattern.trim();
-    if (pattern.length() == 0) throw new IllegalArgumentException("empty pattern");
-    for(int i=0; i<sourcepath.length; i++) {
-      if (isVerbose(this)) verbose(PREFIX+ "including '"+pattern+"' under "+sourcepath[i]);
-      addSourcepath(sourcepath[i]);
-      getSourceScanner(sourcepath[i]).include(pattern);
-    }
-  }
-
-  public void includeClassPattern(File classpath[], String pattern) {
-    if (classpath == null) throw new IllegalArgumentException("null classpath");
-    if (classpath.length == 0) throw new IllegalArgumentException("empty classpath");
-    if (pattern == null) throw new IllegalArgumentException("null pattern");
-    pattern = pattern.trim();
-    if (pattern.length() == 0) throw new IllegalArgumentException("empty pattern");
-    for(int i=0; i<classpath.length; i++) {
-      if (isVerbose(this)) verbose(PREFIX+ "including '"+pattern+"' under "+classpath[i]);
-      addClasspath(classpath[i]);
-      getClassScanner(classpath[i]).include(pattern);
-    }
-  }
-
-  public void excludeSourcePattern(File[] sourcepath, String pattern) {
-    if (sourcepath == null) throw new IllegalArgumentException("null sourcepath");
-    if (sourcepath.length == 0) throw new IllegalArgumentException("empty sourcepath");
-    if (pattern == null) throw new IllegalArgumentException("null pattern");
-    pattern = pattern.trim();
-    if (pattern.length() == 0) throw new IllegalArgumentException("empty pattern");
-    for(int i=0; i<sourcepath.length; i++) {
-      if (isVerbose(this)) verbose(PREFIX+ "EXCLUDING '"+pattern+"' under "+sourcepath[i]);
-      addSourcepath(sourcepath[i]);
-      getSourceScanner(sourcepath[i]).exclude(pattern);
-    }
-  }
-
-  public void excludeClassPattern(File[] classpath, String pattern) {
-    if (classpath == null) throw new IllegalArgumentException("null classpath");
-    if (classpath.length == 0) throw new IllegalArgumentException("empty classpath");
-    if (pattern == null) throw new IllegalArgumentException("null pattern");
-    pattern = pattern.trim();
-    if (pattern.length() == 0) throw new IllegalArgumentException("empty pattern");
-    for(int i=0; i<classpath.length; i++) {
-      if (isVerbose(this)) verbose(PREFIX+ "EXCLUDING '"+pattern+"' under "+classpath[i]);
-      addClasspath(classpath[i]);
-      getClassScanner(classpath[i]).exclude(pattern);
-    }
-  }
-
-  public void includeSourceFile(File[] sourcepath, File sourceFile) {
-    File root = getPathRootForFile(sourcepath,sourceFile);
-    includeSourcePattern(new File[] {root}, source2pattern(root,sourceFile));
-  }
-
-  public void excludeSourceFile(File[] sourcepath, File sourceFile) {
-    File root = getPathRootForFile(sourcepath,sourceFile);
-    excludeSourcePattern(new File[] {root}, source2pattern(root,sourceFile));
-  }
-
-  public void includeClassFile(File[] classpath, File classFile) {
-    File root = getPathRootForFile(classpath,classFile);
-    includeClassPattern(new File[] {root}, source2pattern(root,classFile));
-  }
-
-  public void excludeClassFile(File[] classpath, File classFile) {
-    File root = getPathRootForFile(classpath,classFile);
-    excludeClassPattern(new File[] {root}, source2pattern(root,classFile));
-  }
-
-  public void includeClass(String qualifiedClassname) {
-    if (mIncludeClasses == null) mIncludeClasses = new ArrayList();
-    mIncludeClasses.add(qualifiedClassname);
-  }
-
-  public void excludeClass(String qualifiedClassname) {
-    if (mExcludeClasses == null) mExcludeClasses = new ArrayList();
-    mExcludeClasses.add(qualifiedClassname);
-  }
-
-  public void addClasspath(File classpathElement) {
-    if (mClasspath == null) {
-      mClasspath = new ArrayList();
-    } else {
-      if (mClasspath.contains(classpathElement)) return;
-    }
-    mClasspath.add(classpathElement);
-  }
-
-  public void setLoggerWriter(PrintWriter out) {
-    super.setOut(out);//FIXME
-  }
-
-
-  public void addSourcepath(File sourcepathElement) {
-    if (mSourcepath == null) {
-      mSourcepath = new ArrayList();
-    } else {
-      if (mSourcepath.contains(sourcepathElement)) return;
-    }
-    mSourcepath.add(sourcepathElement);
-  }
-
-  public void addToolClasspath(File classpathElement) {
-    if (mToolClasspath == null) {
-      mToolClasspath = new ArrayList();
-    } else {
-      if (mToolClasspath.contains(classpathElement)) return;
-    }
-    mToolClasspath.add(classpathElement);
-  }
-
-  public void setProperty(String name, String value) {
-    if (mProperties == null) mProperties = new Properties();
-    mProperties.setProperty(name,value);
-  }
-
-  //public void setLogger(PrintWriter out) { mOut = out; }
-
-
-  public void setParentClassLoader(JamClassLoader loader) {
-    throw new IllegalStateException("NYI"); //FIXME
-  }
-
-  public void setUseSystemClasspath(boolean use) {
-    mUseSystemClasspath = use;
-  }
-
-  public void addClassLoader(ClassLoader cl) {
-    if (mClassLoaders == null) mClassLoaders = new ArrayList();
-    mClassLoaders.add(cl);
-  }
-
-  public void setDefaultAnnotationProxyClass(Class proxy) {
-    validateProxyClass(proxy);
-    mDefaultAnnotationProxyClass = proxy;
-  }
-
-  // ========================================================================
-  // JamServiceContext implementation
-
-  //public boolean isUseSystemClasspath() { return mUseSystemClasspath; }
-
-  public ClassLoader[] getReflectionClassLoaders() {
-    if (mClassLoaders == null) {
-      if (mUseSystemClasspath) {
-        return new ClassLoader[] { ClassLoader.getSystemClassLoader() };
-      } else {
-        return new ClassLoader[0];
-      }
-    } else {
-      ClassLoader[] out = new ClassLoader[mClassLoaders.size()+
-        (mUseSystemClasspath ? 1 : 0)];
-      for(int i=0; i<mClassLoaders.size(); i++) {
-        out[i] = (ClassLoader)mClassLoaders.get(i);
-      }
-      if (mUseSystemClasspath) {
-        out[out.length-1] = ClassLoader.getSystemClassLoader();
-      }
-      return out;
-    }
-  }
-
-  // ========================================================================
-  // ElementContext implementation
-
-  public JamClassLoader getClassLoader() { return mLoader; }
-
-  public AnnotationProxy createAnnotationProxy(String jsr175typename) {
-    Class pc = null;
-    if (mAnnname2proxyclass != null) {
-      pc = (Class)mAnnname2proxyclass.get(jsr175typename);
-      if (pc == null) pc = DefaultAnnotationProxy.class;
-    } else {
-      pc = DefaultAnnotationProxy.class;
-    }
-    return createProxy(pc);
-  }
-
-  // ========================================================================
-  // Static utilities
-
-  /**
-   * <p>Checks to make sure the given class is an acceptable subclass of
-   * AnnotationProxy, throws an IllegalArgumentException if not.</p>
-   */
-  public static void validateProxyClass(Class proxy) {
-    if (proxy == null) throw new IllegalArgumentException("null proxy class");
-    if (!AnnotationProxy.class.isAssignableFrom(proxy)) {
-      throw new IllegalArgumentException(proxy.getName()+
-        " does not extend from "+AnnotationProxy.class.getName());
-    }
-    if (!Modifier.isPublic(proxy.getModifiers())) {
-      throw new IllegalArgumentException(proxy.getName()+" is not public");
-    }
-    if (Modifier.isAbstract(proxy.getModifiers())) {
-      throw new IllegalArgumentException(proxy.getName()+" is abstract.");
-    }
-    try {
-      Constructor dfltCtor = proxy.getConstructor(new Class[0]);
-      if (!Modifier.isPublic(dfltCtor.getModifiers())) {
-        throw new IllegalArgumentException("The default constructor on"+
-          proxy.getName()+" is not public.");
-      }
-    } catch(NoSuchMethodException nsme) {
-      throw new IllegalArgumentException(proxy.getName()+
-        " does not have a default constructor");
-    }
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private static final String PREFIX = "[JamServiceContextImpl] ";
-
-  private File getPathRootForFile(File[] sourcepath, File sourceFile) {
-    if (sourcepath == null) throw new IllegalArgumentException("null sourcepath");
-    if (sourcepath.length == 0) throw new IllegalArgumentException("empty sourcepath");
-    if (sourceFile == null) throw new IllegalArgumentException("null sourceFile");
-    sourceFile = sourceFile.getAbsoluteFile();
-    if (isVerbose(this)) verbose(PREFIX+"Getting root for "+sourceFile+"...");
-    for(int i=0; i<sourcepath.length; i++) {
-      if (isVerbose(this)) verbose(PREFIX+"...looking in "+sourcepath[i]);
-      if (isContainingDir(sourcepath[i].getAbsoluteFile(),sourceFile)) {
-        if (isVerbose(this)) verbose(PREFIX+"...found it!");
-        return sourcepath[i].getAbsoluteFile();
-      }
-    }
-    throw new IllegalArgumentException(sourceFile+" is not in the given path.");
-  }
-
-  /**
-   * Returns true if the given dir contains the given file.
-   */
-  private boolean isContainingDir(File dir, File file) {
-    if (isVerbose(this)) verbose(PREFIX+ "... ...isContainingDir "+dir+"  "+file);
-    if (file == null) return false;
-    if (dir.equals(file)) {
-      if (isVerbose(this)) verbose(PREFIX+ "... ...yes!");
-      return true;
-    }
-    return isContainingDir(dir,file.getParentFile());
-  }
-
-
-  private AnnotationProxy createProxy(Class clazz) {
-    if (clazz == null) clazz = mDefaultAnnotationProxyClass;
-    AnnotationProxy p;
-    if (clazz != null) {
-      try {
-        //hopefully, it's pretty unlikely anything will go wrong, since
-        //we validate all proxy classes on the way in
-        p = (AnnotationProxy)clazz.newInstance();
-        p.init(this);
-        return p;
-      } catch (IllegalAccessException iae) {
-        error(iae);
-      } catch (ClassCastException cce) {
-        error(cce);
-      } catch (InstantiationException ie) {
-        error(ie);
-      }
-    }
-    p = new DefaultAnnotationProxy();
-    p.init(this);
-    return p;
-  }
-
-  /**
-   * Converts the sourceFile to a pattern expression relative to the
-   * given root.
-   */
-  private String source2pattern(File root, File sourceFile) {
-    if (isVerbose(this)) verbose(PREFIX+ "source2pattern "+root+"  "+sourceFile);
-    //REVIEW this is a bit cheesy
-    String r = root.getAbsolutePath();
-    String s = sourceFile.getAbsolutePath();
-    if (isVerbose(this)) {
-      verbose(PREFIX+ "source2pattern returning "+s.substring(r.length()+1));
-    }
-    return s.substring(r.length()+1);
-  }
-
-  /**
-   * Converts the given java source or class filename into a qualified
-   * classname.  The filename is assumed to be relative to the source or
-   * class root.
-   */
-  private static String filename2classname(String filename) {
-    int extDot = filename.lastIndexOf('.');
-    if (extDot != -1) filename = filename.substring(0,extDot);
-    filename = filename.replace('/','.');
-    filename = filename.replace('\\','.');
-    return filename;
-  }
-
-  /**
-   * Returns all of the directory scanners for all class and source
-   * roots created in this params object.
-   */
-  private Iterator getAllDirectoryScanners() {
-    Collection out = new ArrayList();
-    if (mSourceRoot2Scanner != null) {
-      out.addAll(mSourceRoot2Scanner.values());
-    }
-    if (mClassRoot2Scanner != null) {
-      out.addAll(mClassRoot2Scanner.values());
-    }
-    return out.iterator();
-  }
-
-  /**
-   * Creates a ResourcePath for the given collection of Files, or returns null
-   * if the collections is null or empty.
-   */
-  private static ResourcePath createJPath(Collection filelist) {
-    if (filelist == null || filelist.size() == 0) return null;
-    File[] files = new File[filelist.size()];
-    filelist.toArray(files);
-    return ResourcePath.forFiles(files);
-  }
-
-  /**
-   * Returns the DirectoryScanner which we have mapped to the given source
-   * root, creating a new one if necessary.
-   */
-  private DirectoryScanner getSourceScanner(File srcRoot) {
-    if (mSourceRoot2Scanner == null) mSourceRoot2Scanner = new HashMap();
-    DirectoryScanner out = (DirectoryScanner)mSourceRoot2Scanner.get(srcRoot);
-    if (out == null) {
-      mSourceRoot2Scanner.put(srcRoot,out = new DirectoryScanner(srcRoot,this));
-    }
-    return out;
-  }
-
-  /**
-   * Returns the DirectoryScanner which we have mapped to the given class
-   * root, creating a new one if necessary.
-   */
-  private DirectoryScanner getClassScanner(File clsRoot) {
-    if (mClassRoot2Scanner == null) mClassRoot2Scanner = new HashMap();
-    DirectoryScanner out = (DirectoryScanner)mClassRoot2Scanner.get(clsRoot);
-    if (out == null) {
-      mClassRoot2Scanner.put(clsRoot,out = new DirectoryScanner(clsRoot,this));
-    }
-    return out;
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceImpl.java
deleted file mode 100644
index bc4f73e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/JamServiceImpl.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JamClassIterator;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.ClassImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamServiceImpl implements JamService {
-
-  // ========================================================================
-  // Variables
-
-  private ElementContext mContext;
-  private String[] mClassNames;
-
-
-  // ========================================================================
-  // Constructors
-
-  public JamServiceImpl(ElementContext ctx, String[] classes) {
-    if (ctx == null) throw new IllegalArgumentException("null jcl");
-    if (classes == null) throw new IllegalArgumentException("null classes");
-    mContext = ctx;
-    mClassNames = classes;
-  }
-
-  // ========================================================================
-  // JamService implementation
-
-  public JamClassLoader getClassLoader() {
-    return mContext.getClassLoader();
-  }
-
-  public String[] getClassNames() {
-    return mClassNames;
-  }
-
-  public JamClassIterator getClasses() {
-    return new JamClassIterator(getClassLoader(),getClassNames());
-  }
-
-  public JClass[] getAllClasses() {
-    JClass[] out = new JClass[mClassNames.length];
-    for(int i=0; i<out.length; i++) {
-      out[i] = getClassLoader().loadClass(mClassNames[i]);
-    }
-    return out;
-  }
-
-  // ========================================================================
-  // Hackish methods
-
-  // this is a back door for jamxmlutils, which can't know the class names
-  // until after it's parsed the xml file (which can't be done without
-  // a jamservice - catch 22).
-  public void setClassNames(String[] names) {
-    mClassNames = names;
-  }
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/DirectJClassRef.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/DirectJClassRef.java
deleted file mode 100644
index 66da5b7..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/DirectJClassRef.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.classrefs;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class DirectJClassRef implements JClassRef {
-
-  // ========================================================================
-  // Factory
-
-  public static JClassRef create(JClass clazz) {
-    // we normally can expect that most JClass impls will simply implement
-    // JClassRef directly
-    if (clazz instanceof JClassRef) return (JClassRef)clazz;
-    return new DirectJClassRef(clazz);
-  }
-
-  // ========================================================================
-  // Variables
-
-  private JClass mClass;
-
-  // ========================================================================
-  // Constructors
-
-  private DirectJClassRef(JClass clazz) {
-    if (clazz == null) throw new IllegalArgumentException("null clazz");
-    mClass = clazz;
-  }
-
-  // ========================================================================
-  // JClassRef implementation
-
-  public JClass getRefClass() {
-    return mClass;
-  }
-
-  public String getQualifiedName() {
-    return mClass.getQualifiedName();
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRef.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRef.java
deleted file mode 100644
index 4197ccb..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRef.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.classrefs;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-/**
- * <p>Object which holds a reference to a JClass.  Using this interface
- * (as opposed to referring to the JClass directly) allows us to do lazy
- * type resolution.</p>
- *
- * <p>Note that ClassImpl implements this interface directly (as a reference
- * to itself) as an optimization for the case where we don't need or want
- * lazy type resolution</p>.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JClassRef {
-
-  public JClass getRefClass();
-
-  public String getQualifiedName();
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRefContext.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRefContext.java
deleted file mode 100644
index 5d70b14..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/JClassRefContext.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.classrefs;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-
-/**
- * <p>Provides a JClassRef implementation with contextual information it
- * needs to perform lazy type resolution.  This information is typically
- * provided by the JClass implementation.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JClassRefContext {
-
-  public String getPackageName();
-
-  public String[] getImportSpecs();
-
-  public JamClassLoader getClassLoader();
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/QualifiedJClassRef.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/QualifiedJClassRef.java
deleted file mode 100644
index b198556..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/QualifiedJClassRef.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.classrefs;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-
-/**
- * <p>Reference to a JClass by qualified name which is resolved lazily.  Note
- * that resolved references are not cached, which makes it more likely that
- * a JClasses will become available for garbage collection.  The performance
- * hit here is probably not significant, but someday we might want to provide
- * switch to enable caching of references.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class QualifiedJClassRef implements JClassRef {
-
-  // ========================================================================
-  // Variables
-
-  private String mQualifiedClassname;
-  private JamClassLoader mClassLoader;
-
-  // ========================================================================
-  // Factory
-
-  /**
-   * Creates a new JClassRef for a qualified class or type name.
-   */
-  public static JClassRef create(JClass clazz) {
-    if (clazz == null) throw new IllegalArgumentException("null clazz");
-    return new QualifiedJClassRef(clazz.getFieldDescriptor(),
-                                  clazz.getClassLoader());
-  }
-
-  /**
-   * Creates a new JClassRef for a qualified class or type name.
-   */
-  public static JClassRef create(String qcname,
-                                 JClassRefContext ctx) {
-    if (qcname == null) throw new IllegalArgumentException("null qcname");
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    return create(qcname,ctx.getClassLoader());
-  }
-
-  /**
-   * Creates a new JClassRef for a qualified class or type name.
-   */
-  public static JClassRef create(String qcname, JamClassLoader cl) {
-    if (qcname == null) throw new IllegalArgumentException("null qcname");
-    if (cl == null) throw new IllegalArgumentException("null classloader");
-    return new QualifiedJClassRef(qcname,cl);
-  }
-
-  // ========================================================================
-  // Constructors
-
-  private QualifiedJClassRef(String qcname, JamClassLoader cl) {
-    mClassLoader = cl;
-    mQualifiedClassname = qcname;
-  }
-
-  // ========================================================================
-  // JClassRef implementation
-
-  public JClass getRefClass() {
-    return mClassLoader.loadClass(mQualifiedClassname);
-  }
-
-  public String getQualifiedName() {
-    return mQualifiedClassname;
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  public String toString() {
-    return "(QualifiedJClassRef '"+mQualifiedClassname+"')";
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/UnqualifiedJClassRef.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/UnqualifiedJClassRef.java
deleted file mode 100644
index 403be3d..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/UnqualifiedJClassRef.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.classrefs;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-import java.io.StringWriter;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class UnqualifiedJClassRef implements JClassRef {
-
-  // ========================================================================
-  // Constants
-
-  private static final boolean VERBOSE = false;
-  private static final String PREFIX = "[UnqualifiedJClassRef]";
-
-  // ========================================================================
-  // Variables
-
-  private String mUnqualifiedClassname;
-  private String mQualifiedClassname = null;
-  private JClassRefContext mContext;
-
-  // ========================================================================
-  // Factory
-
-  /**
-   * Creates a new JClassRef for a qualified class or type name.
-   */
-  public static JClassRef create(String qualifiedClassname,
-                                 JClassRefContext ctx) {
-    throw new IllegalStateException("Unqualified names currently disabled.");
-    //return new UnqualifiedJClassRef(qualifiedClassname,ctx);
-  }
-
-  // ========================================================================
-  // Constructors
-
-  private UnqualifiedJClassRef(String ucname,
-                               JClassRefContext ctx)
-  {
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    if (ucname == null) throw new IllegalArgumentException("null ucname");
-    mContext = ctx;
-    mUnqualifiedClassname = ucname;
-    if (VERBOSE) System.out.println("[UnqualifiedJClassRef] created for '"+
-                                    ucname+"'");
-  }
-
-  // ========================================================================
-  // JClassRef implementation
-
-  public JClass getRefClass() {
-    //FIXME this needs optimization, keep it simple and lazy for now
-    return mContext.getClassLoader().loadClass(getQualifiedName());
-  }
-
-  public String getQualifiedName() {
-    if (mQualifiedClassname != null) return mQualifiedClassname;
-    // ok, check to see if it's an array type.  if so, we want to strip
-    // away all the brackets and so we can try to load just the component
-    // type.
-    String candidateName;
-    int arrayDimensions = 0;
-    int bracket = mUnqualifiedClassname.indexOf('[');
-    if (bracket != -1) {
-      candidateName = mUnqualifiedClassname.substring(0,bracket);
-      do {
-        arrayDimensions++;
-        bracket = mUnqualifiedClassname.indexOf('[',bracket+1);
-      } while(bracket != -1);
-    } else {
-      candidateName = mUnqualifiedClassname;
-    }
-    // ok, try to get the class that they are talking about
-    String name = qualifyName(candidateName);
-    if (name == null) {
-      throw new IllegalStateException("unable to handle unqualified java type "+
-                                      "reference '"+candidateName+" ["+
-                                      mUnqualifiedClassname+"]'. "+
-                                      "This is still partially NYI.");
-    }
-    // now if it was an array, we need to convert it into a corresponding
-    // field descriptor
-    if (arrayDimensions > 0) {
-      StringWriter out = new StringWriter();
-      for(int i=0; i<arrayDimensions; i++) out.write('[');
-      out.write('L');
-      out.write(name);
-      out.write(';');
-
-      mQualifiedClassname = out.toString();
-    } else {
-      mQualifiedClassname = name;
-    }
-    return mQualifiedClassname;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private String qualifyName(String ucname) {
-    String out = null;
-    if ((out = checkExplicitImport(ucname)) != null) return out;
-    if ((out = checkJavaLang(ucname)) != null) return out;
-    if ((out = checkSamePackage(ucname)) != null) return out;
-    if ((out = checkAlreadyQualified(ucname)) != null) return out;
-    return null;
-  }
-
-  /**
-   * Check to see if the unqualified name actually is already qualified.
-   */
-  private String checkSamePackage(String ucname) {
-    String name = mContext.getPackageName()+"."+ucname;
-    JClass clazz = mContext.getClassLoader().loadClass(name);
-    if (VERBOSE) System.out.println(PREFIX+" checkSamePackage '"+name+"'  "+
-                                    clazz.isUnresolvedType()+"  "+mContext.getClassLoader().getClass());
-    return (clazz.isUnresolvedType()) ? null : clazz.getQualifiedName();
-  }
-
-  /**
-   * Check to see if the unqualified name is in java.lang.
-   */
-  private String checkJavaLang(String ucname) {
-    String name = "java.lang."+ucname;
-    JClass clazz = mContext.getClassLoader().loadClass(name);
-    if (VERBOSE) System.out.println(PREFIX+" checkJavaLang '"+name+"'  "+
-                                    clazz.isUnresolvedType()+"  "+mContext.getClassLoader().getClass());
-    return (clazz.isUnresolvedType()) ? null : clazz.getQualifiedName();
-  }
-
-  /**
-   * Check to see if the unqualified name actually is already qualified.
-   */
-  private String checkAlreadyQualified(String ucname) {
-    JClass clazz =
-            mContext.getClassLoader().loadClass(ucname);
-    return (clazz.isUnresolvedType()) ? null : clazz.getQualifiedName();
-  }
-
-
-  /**
-   * Run through the list of import specs and see if the class was explicitly
-   * (i.e. without '*') imported.
-   */
-  private String checkExplicitImport(String ucname) {
-    String[] imports = mContext.getImportSpecs();
-    if (VERBOSE) System.out.println(PREFIX+" checkExplicitImport "+
-                                    imports.length);
-    for(int i=0; i<imports.length; i++) {
-      //FIXME this does not cover inner classes
-      String last = lastSegment(imports[i]);
-      if (VERBOSE) System.out.println(PREFIX+" checkExplicitImport '"+
-                                      imports[i]+"'  '"+last+"'");
-      if (last.equals(ucname)) return imports[i];
-    }
-    return null;
-  }
-
-  private static String lastSegment(String s) {
-    int lastDot = s.lastIndexOf(".");
-    if (lastDot == -1) return s;
-    return s.substring(lastDot+1);
-  }
-
-  private static String firstSegment(String s) {
-    int lastDot = s.indexOf(".");
-    if (lastDot == -1) return s;
-    return s.substring(0,lastDot);
-  }
-
-}
-
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/package.html
deleted file mode 100644
index a910e9e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/classrefs/package.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<body>
-  <p>
-    Internal use only.  These classes may change or be removed at any time
-    without warning.
-  </p>
-
-  <p>
-    Contains classes for maintaining and resolving references between JClasses.
-  </p>
-</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotatedElementImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotatedElementImpl.java
deleted file mode 100644
index abd3604..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotatedElementImpl.java
+++ /dev/null
@@ -1,236 +0,0 @@
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JComment;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MComment;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class AnnotatedElementImpl extends ElementImpl
-  implements MAnnotatedElement
- {
-
-  // ========================================================================
-  // Variables
-
-  private Map mName2Annotation = null;
-  private MComment mComment = null;
-  private List mAllAnnotations = null;
-
-  // ========================================================================
-  // Constructors
-
-  protected AnnotatedElementImpl(ElementContext ctx) { super(ctx); }
-
-  protected AnnotatedElementImpl(ElementImpl parent) { super(parent); }
-
-  // ========================================================================
-  // JAnnotatedElement implementation
-
-  public JAnnotation[] getAnnotations() {
-    return getMutableAnnotations();
-  }
-
-  public JAnnotation getAnnotation(Class proxyClass) {
-    return getMutableAnnotation(proxyClass.getName());
-  }
-
-  public JAnnotation getAnnotation(String named) {
-    return getMutableAnnotation(named);
-  }
-
-  public JAnnotationValue getAnnotationValue(String valueId) {
-    if (mName2Annotation == null) return null;
-    valueId = valueId.trim();
-
-    int delim = valueId.indexOf('@');
-    if (delim == -1 || delim == valueId.length()-1) {
-      JAnnotation ann = getAnnotation(valueId);
-      if (ann == null) return null;
-      return ann.getValue(JAnnotation.SINGLE_VALUE_NAME);
-    } else {
-      JAnnotation ann = getAnnotation(valueId.substring(0,delim));
-      if (ann == null) return null;
-
-      return ann.getValue(valueId.substring(delim+1));
-    }
-  }
-
-
-  public Object getAnnotationProxy(Class proxyClass) {
-    return getEditableProxy(proxyClass);
-  }
-
-  public JComment getComment() { return getMutableComment(); }
-
-  /**
-   * @deprecated
-   */
-  public JAnnotation[] getAllJavadocTags() {
-    if (mAllAnnotations == null) return NO_ANNOTATION;
-    JAnnotation[] out = new JAnnotation[mAllAnnotations.size()];
-    mAllAnnotations.toArray(out);
-    return out;
-  }
-
-  /*
-  public JAnnotation[] getAllJavadocTags(String named) {
-    //FIXME this impl is quite gross
-    if (mAllAnnotations == null) return NO_ANNOTATION;
-    List list = new ArrayList();
-    for(int i=0; i<mAllAnnotations.size(); i++) {
-      JAnnotation j = (JAnnotation)mAllAnnotations.get(i);
-      if (j.getSimpleName().equals(named)) {
-        list.add(j);
-      }
-    }
-    JAnnotation[] out = new JAnnotation[list.size()];
-    list.toArray(out);
-    return out;
-  }
-  */
-
-  // ========================================================================
-  // MAnnotatedElement implementation
-
-  public AnnotationProxy getEditableProxy(Class proxyClass) {
-    if (mName2Annotation == null) return null;
-    MAnnotation out = getMutableAnnotation(proxyClass.getName());
-    return (out == null) ? null : (AnnotationProxy)out.getProxy();
-  }
-
-  public void removeAnnotation(MAnnotation ann) {
-    if (mName2Annotation != null) mName2Annotation.values().remove(ann);
-  }
-
-  public MAnnotation[] getMutableAnnotations() {
-    if (mName2Annotation == null) return new MAnnotation[0];
-    MAnnotation[] out = new MAnnotation[mName2Annotation.values().size()];
-    mName2Annotation.values().toArray(out);
-    return out;
-  }
-
-  public MAnnotation getMutableAnnotation(String named) {
-    if (mName2Annotation == null) return null;
-    named = named.trim();
-    return (MAnnotation)mName2Annotation.get(named);
-  }
-
-  public MAnnotation findOrCreateAnnotation(String annotationName) {
-    //ClassImpl.validateClassName(annotationName);
-    MAnnotation ann = getMutableAnnotation(annotationName);
-    if (ann != null) return ann;
-    AnnotationProxy proxy = getContext().
-      createAnnotationProxy(annotationName);
-    ann = new AnnotationImpl(getContext(),proxy,annotationName);
-    if (mName2Annotation == null) {
-      mName2Annotation = new HashMap();
-    }
-    mName2Annotation.put(ann.getSimpleName(),ann);
-    return ann;
-  }
-
-  public MAnnotation addLiteralAnnotation(String annName) {
-    if (annName == null) throw new IllegalArgumentException("null tagname");
-    annName = annName.trim();
-    // otherwise, we have to create an 'extra' one.  note this will only
-    // happen when processing javadoc tags where more than one tag of a given
-    // name appears in a given scope
-    AnnotationProxy proxy = getContext().createAnnotationProxy(annName);
-    MAnnotation ann = new AnnotationImpl(getContext(),proxy,annName);
-    if (mAllAnnotations == null) mAllAnnotations = new ArrayList();
-    mAllAnnotations.add(ann);
-
-    // if one doesn't exist yet, then create the first one
-    if (getMutableAnnotation(annName) == null) {
-      if (mName2Annotation == null) mName2Annotation = new HashMap();
-      mName2Annotation.put(annName,ann);
-    }
-    return ann;
-  }
-
-  public MComment getMutableComment() { return mComment; }
-
-  public MComment createComment() { return mComment = new CommentImpl(this); }
-
-  public void removeComment() { mComment = null; }
-
-  // ========================================================================
-  // Protected methods
-
-  // these are exposed primarily for the benefit of PropertyImpl
-
-  protected void addAnnotation(JAnnotation ann) {
-    if (mName2Annotation == null) {
-      mName2Annotation = new HashMap();
-      mName2Annotation.put(ann.getSimpleName(),ann);
-    } else {
-      if (mName2Annotation.get(ann.getSimpleName()) == null) {
-        mName2Annotation.put(ann.getSimpleName(),ann);
-      }
-    }
-    if (mAllAnnotations == null) mAllAnnotations = new ArrayList();
-    mAllAnnotations.add(ann);
-  }
-
-
-
-  // ========================================================================
-  // Old stuff
-
-  /**
-   * @deprecated
-   * 
-   * @param tagName
-   * @return
-   */
-  public MAnnotation addAnnotationForTag(String tagName, String value) {
-    MAnnotation ann = findOrCreateAnnotation(tagName);
-    JClass type = getClassLoader().loadClass("java.lang.String");
-    ann.setSimpleValue(JAnnotation.SINGLE_VALUE_NAME,value,type);
-    MAnnotation litann = addLiteralAnnotation(tagName);
-    litann.setSimpleValue(JAnnotation.SINGLE_VALUE_NAME,value,type);
-    return ann;
-  }
-
- /*
- private String getAnnotationTypeFor(/*Annotation Object annotationInstance) {
-   //FIXME this may be broken, not sure yet what the class of an annotation
-   // instance is.  we may need to climb the type tree.
-   return annotationInstance.getClass().getName();
- }
-
-  public MAnnotation addAnnotationForInstance(Class annType,
-                                              Object instance) {
-    if (annType == null) throw new IllegalArgumentException("null anntype");
-    if (instance == null) throw new IllegalArgumentException("null instance");
-    MAnnotation ann = getMutableAnnotation(annType);
-    if (ann != null) {
-      ann.setAnnotationInstance(instance);
-      ((AnnotationProxy)ann.getProxy()).initFromAnnotationInstance(annType,instance);//REVIEW not totally comfortable with this cast
-      //REVIEW this is a weird case where they add another instance
-      // of the same annotation type.  We'll just go with it for now,
-      // but we might want to throw an exception here, not sure.
-    } else {
-      AnnotationProxy proxy = getContext().createProxyForAnnotationType
-        (getAnnotationTypeFor(instance));
-      proxy.initFromAnnotationInstance(annType,instance);
-      ann = new AnnotationImpl(getContext(),proxy,annType.getName());
-      ann.setAnnotationInstance(instance);
-      setArtifact(instance);
-      addAnnotation(ann);
-    }
-    return ann;
-  }*/
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationImpl.java
deleted file mode 100644
index 4696918..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationImpl.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.JClass;
-
-/**
- * <p>Standard implementation of AnnotationImpl.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class AnnotationImpl extends ElementImpl implements MAnnotation {
-
-  // ========================================================================
-  // Variables
-
-  private AnnotationProxy mProxy;
-  private Object mAnnotationInstance = null;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ AnnotationImpl(ElementContext ctx,
-                             AnnotationProxy proxy,
-                             String simplename) {
-    super(ctx);
-    if (proxy == null) throw new IllegalArgumentException("null proxy");
-    mProxy = proxy;
-    setSimpleName(simplename);
-  }
-
-  // ========================================================================
-  // JAnnotation implementation
-
-  public Object getProxy() {
-    return mProxy;
-  }
-
-  public JAnnotationValue[] getValues() {
-    return mProxy.getValues();
-  }
-
-  public JAnnotationValue getValue(String name) {
-    return mProxy.getValue(name);
-  }
-
-  public Object getAnnotationInstance() {
-    return mAnnotationInstance;
-  }
-
-  // ========================================================================
-  // MAnnotation implementation
-
-  public void setAnnotationInstance(Object o) {
-    mAnnotationInstance = o;
-  }
-
-  public void setSimpleValue(String name, Object value, JClass type) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (type == null) throw new IllegalArgumentException("null type");
-    if (value == null) throw new IllegalArgumentException("null value");
-    mProxy.setValue(name,value,type);
-  }
-
-  public MAnnotation createNestedValue(String name, String annTypeName) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (annTypeName == null) throw new IllegalArgumentException("null typename");
-    AnnotationProxy p = getContext().createAnnotationProxy(annTypeName);
-    AnnotationImpl out = new AnnotationImpl(getContext(),p,annTypeName);
-    JClass type  = getContext().getClassLoader().loadClass(annTypeName);
-    mProxy.setValue(name,out,type);
-    return out;
-  }
-
-  public MAnnotation[] createNestedValueArray(String name,
-                                              String annComponentTypeName,
-                                              int dimensions) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (annComponentTypeName == null) throw new IllegalArgumentException("null typename");
-    if (dimensions < 0) throw new IllegalArgumentException("dimensions = "+dimensions);
-    MAnnotation[] out = new MAnnotation[dimensions];
-    for(int i=0; i<out.length; i++) {
-      AnnotationProxy p = getContext().createAnnotationProxy(annComponentTypeName);
-      out[i] = new AnnotationImpl(getContext(),p,annComponentTypeName);
-    }
-    JClass type  = getContext().getClassLoader().loadClass("[L"+annComponentTypeName+";");
-    mProxy.setValue(name,out,type);
-    return out;
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public String getQualifiedName() {
-    return mProxy.getClass().getName(); //FIXME
-  }
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationValueImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationValueImpl.java
deleted file mode 100644
index db16187..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationValueImpl.java
+++ /dev/null
@@ -1,375 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRefContext;
-
-
-/**
- * <p>Implementation of JAnnotationValue</p>
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class AnnotationValueImpl implements JAnnotationValue {
-
-  // ========================================================================
-  // Variables
-
-  private Object mValue = null;
-  private JClassRef mType = null;
-  private String mName;
-  private ElementContext mContext;
-  private boolean mIsDefaultUsed = false;
-
-  // ========================================================================
-  // Constructors
-
-  public AnnotationValueImpl(ElementContext ctx,
-                             String name,
-                             Object value,
-                             JClass type) {
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (value == null) throw new IllegalArgumentException("null value");
-    if (type == null) throw new IllegalArgumentException("null type");
-    if (value.getClass().isArray()) {
-      mValue = ensureArrayWrapped(value);
-    } else {
-      mValue = value;
-    }
-    mContext = ctx;
-    mName = name;
-    mType = QualifiedJClassRef.create(type);
-  }
-
-  // ========================================================================
-  // JAnnotationValue implementation
-
-  public boolean isDefaultValueUsed() {
-    throw new IllegalStateException("NYI");
-    //return mIsDefaultUsed;
-  }
-
-  public String getName() { return mName; }
-
-  public JClass getType() { return mType.getRefClass(); }
-
-
-  public JAnnotation asAnnotation() {
-    if (mValue instanceof JAnnotation) {
-      return (JAnnotation)mValue;
-    } else {
-      return null; //REVIEW or throw?
-    }
-  }
-
-  public JClass asClass() {
-    if (mValue instanceof JClass) {
-      return (JClass)mValue;
-    } else {
-      return null; //REVIEW or throw?
-    }
-  }
-
-  public String asString() {
-    if (mValue == null) return null;
-    return mValue.toString();
-  }
-
-  public int asInt() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).intValue();
-    try {
-      return Integer.parseInt(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public boolean asBoolean() throws IllegalArgumentException {
-    if (mValue == null) return false;
-    return Boolean.valueOf(mValue.toString().trim()).booleanValue();
-  }
-
-  public long asLong() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).longValue();
-    try {
-      return Long.parseLong(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public short asShort() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).shortValue();
-    try {
-      return Short.parseShort(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public double asDouble() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).doubleValue();
-    try {
-      return Double.parseDouble(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public float asFloat() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).floatValue();
-    try {
-      return Float.parseFloat(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public byte asByte() throws NumberFormatException {
-    if (mValue == null) return 0;
-    if (mValue instanceof Number) return ((Number)mValue).byteValue();
-    try {
-      return Byte.parseByte(mValue.toString().trim());
-    } catch (NumberFormatException nfe) {
-      return 0;
-    }
-  }
-
-  public char asChar() throws IllegalArgumentException {
-    //FIXME this is not right
-    if (mValue == null) return 0;
-    if (mValue instanceof Character) return ((Character)mValue).charValue();
-    mValue = mValue.toString();
-    return (((String)mValue).length() == 0) ? 0 : ((String)mValue).charAt(0);
-  }
-
-  public JClass[] asClassArray() {
-    if (mValue instanceof JClass[]) {
-      return (JClass[])mValue;
-    } else {
-      return null;
-    }
-  }
-
-  public JAnnotation[] asAnnotationArray() {
-    if (mValue instanceof JAnnotation[]) {
-      return (JAnnotation[])mValue;
-    } else {
-      return null;
-    }
-  }
-
-  public String[] asStringArray() {
-    if (!mValue.getClass().isArray()) return null;
-    String[] out = new String[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element on "+
-                                   getName());
-        out[i] = "";
-      } else {
-        out[i] = ((Object[])mValue)[i].toString();
-      }
-    }
-    return out;
-  }
-
-  public int[] asIntArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    int[] out = new int[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Integer.parseInt(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public boolean[] asBooleanArray() throws IllegalArgumentException {
-    if (!mValue.getClass().isArray()) return null;
-    boolean[] out = new boolean[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = false;
-      } else {
-        out[i] = Boolean.valueOf(((Object[])mValue)[i].toString()).booleanValue();
-      }
-    }
-    return out;
-  }
-
-  public short[] asShortArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    short[] out = new short[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Short.parseShort(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public long[] asLongArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    long[] out = new long[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Long.parseLong(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public double[] asDoubleArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    double[] out = new double[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Double.parseDouble(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public float[] asFloatArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    float[] out = new float[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Float.parseFloat(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public byte[] asByteArray() throws NumberFormatException {
-    if (!mValue.getClass().isArray()) return null;
-    byte[] out = new byte[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        out[i] = Byte.parseByte(((Object[])mValue)[i].toString());
-      }
-    }
-    return out;
-  }
-
-  public char[] asCharArray() throws IllegalArgumentException {
-    if (!mValue.getClass().isArray()) return null;
-    char[] out = new char[((Object[])mValue).length];
-    for(int i=0; i<out.length; i++) {
-      if (((Object[])mValue)[i] == null) {
-        mContext.getLogger().error("Null annotation value array element "+
-                                   i+" on "+getName());
-        out[i] = 0;
-      } else {
-        //FIXME this is not right
-        out[i] = (((Object[])mValue)[i].toString()).charAt(0);
-      }
-    }
-    return out;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  //ugh, where is autoboxing when you need it?
-  private static final Object[] ensureArrayWrapped(Object o) {
-    if (o instanceof Object[]) return (Object[])o;
-    if (o instanceof int[]) {
-      int dims = ((int[])o).length;
-      Integer[] out = new Integer[dims];
-      for(int i=0; i<dims; i++) out[i] = new Integer(((int[])o)[i]);
-      return out;
-    } else if (o instanceof boolean[]) {
-      int dims = ((boolean[])o).length;
-      Boolean[] out = new Boolean[dims];
-      for(int i=0; i<dims; i++) out[i] = new Boolean(((boolean[])o)[i]);
-      return out;
-    } else if (o instanceof byte[]) {
-      int dims = ((byte[])o).length;
-      Byte[] out = new Byte[dims];
-      for(int i=0; i<dims; i++) out[i] = new Byte(((byte[])o)[i]);
-      return out;
-    } else if (o instanceof char[]) {
-      int dims = ((char[])o).length;
-      Character[] out = new Character[dims];
-      for(int i=0; i<dims; i++) out[i] = new Character(((char[])o)[i]);
-      return out;
-    } else if (o instanceof float[]) {
-      int dims = ((float[])o).length;
-      Float[] out = new Float[dims];
-      for(int i=0; i<dims; i++) out[i] = new Float(((float[])o)[i]);
-      return out;
-    } else if (o instanceof double[]) {
-      int dims = ((double[])o).length;
-      Double[] out = new Double[dims];
-      for(int i=0; i<dims; i++) out[i] = new Double(((double[])o)[i]);
-      return out;
-    } else if (o instanceof long[]) {
-      int dims = ((long[])o).length;
-      Long[] out = new Long[dims];
-      for(int i=0; i<dims; i++) out[i] = new Long(((long[])o)[i]);
-      return out;
-    } else if (o instanceof short[]) {
-      int dims = ((short[])o).length;
-      Short[] out = new Short[dims];
-      for(int i=0; i<dims; i++) out[i] = new Short(((short[])o)[i]);
-      return out;
-    } else {
-      throw new IllegalStateException("Unknown array type "+o.getClass());
-    }
-   }
-
-  public Object getValue() {
-    throw new IllegalStateException("Please do not call JAnnotionValue.getValue()");
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ArrayClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ArrayClassImpl.java
deleted file mode 100644
index 12981bf..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ArrayClassImpl.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JElement;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JProperty;
-
-import java.io.StringWriter;
-
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class ArrayClassImpl extends BuiltinClassImpl {
-
-  // ========================================================================
-  // Variables
-
-  private int mDimensions;
-  private JClass mComponentType;
-
-  // ========================================================================
-  // Factory methods
-
-
-  /**
-   * Creates an array JClass from a field descriptor as described in the JLS.
-   * This is the nasty '[[[Lfoo.bar.Baz;'-style notation.
-   */
-  public static JClass createClassForFD(String arrayFD, JamClassLoader loader)
-  {
-    if (!arrayFD.startsWith("[")) {
-      throw new IllegalArgumentException("must be an array type fd: "+arrayFD);
-    }
-    String componentType;
-    if (arrayFD.endsWith(";")) {
-      // if it's an array of complex types, we need to construct
-      // an ArrayClassImpl wrapper and go back into the context to
-      // get the component type, since a source description for it
-      // might be available
-      int dims = arrayFD.indexOf("L");
-      if (dims != -1 && dims<arrayFD.length()-2) {
-        componentType = arrayFD.substring(dims+1,arrayFD.length()-1);
-        return new ArrayClassImpl(loader.loadClass(componentType),dims);
-      } else {
-        // name is effed
-        throw new IllegalArgumentException("array type field descriptor '"+
-                                           arrayFD+"' is malformed");
-      }
-    } else {
-      int dims = arrayFD.lastIndexOf("[")+1;
-      String compFd = arrayFD.substring(dims,dims+1);
-      JClass primType = loader.loadClass(compFd);
-      if (primType == null) {
-        // if it didn't end with ';', it has to be a valid primitive
-        // type name or it's effed
-        throw new IllegalArgumentException("array type field descriptor '"+
-                                           arrayFD+"' is malformed");
-      }
-      return new ArrayClassImpl(primType,dims);
-    }
-  }
-
-  // ========================================================================
-  // Constructors - use factory method
-
-  /**
-   * Constructs a JDClass for the given ClassDoc in the given context.
-   */
-  private ArrayClassImpl(JClass componentType, int dimensions)
-  {
-    super(((ElementImpl)componentType).getContext());
-    if (dimensions < 1) {
-      throw new IllegalArgumentException("dimensions="+dimensions);
-    }
-    if (componentType == null) {
-      throw new IllegalArgumentException("null componentType");
-    }
-    mComponentType = componentType;
-    mDimensions = dimensions;
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-//  public JElement getParent() { return null; }
-
-  public String getSimpleName() {
-    String out = getQualifiedName();
-    int lastDot = out.lastIndexOf('.');
-    return (lastDot == -1) ? out : out.substring(lastDot+1);
-  }
-
-  public String getQualifiedName() {
-    StringWriter out = new StringWriter();
-    out.write(mComponentType.getQualifiedName());
-    for(int i=0; i<mDimensions; i++) out.write("[]");
-    return out.toString();
-  }
-
-  // ========================================================================
-  // JClass implementation
-
-  public boolean isArrayType() { return true; }
-
-  public JClass getArrayComponentType() { return mComponentType; }
-
-  public int getArrayDimensions() { return mDimensions; }
-
-  public JClass getSuperclass() {
-    return getClassLoader().loadClass("java.lang.Object");
-  }
-
-  public boolean isAssignableFrom(JClass c) {
-    return c.isArrayType() &&
-            (c.getArrayDimensions() == mDimensions) &&
-            (mComponentType.isAssignableFrom(c.getArrayComponentType()));
-  }
-
-  public String getFieldDescriptor() {
-    //REVIEW should we cache this result?
-    StringWriter out = new StringWriter();
-    for(int i=0; i<mDimensions; i++) out.write("[");
-    if (mComponentType.isPrimitiveType()) {
-      out.write(mComponentType.getFieldDescriptor());
-    } else {
-      out.write("L");
-      out.write(mComponentType.getQualifiedName());
-      out.write(";");
-    }
-    return out.toString();
-  }
-
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/BuiltinClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/BuiltinClassImpl.java
deleted file mode 100644
index f85d482..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/BuiltinClassImpl.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.*;
-
-/**
- * <p>Base class for types that are 'built in' to the VM.  This includes
- * void, primitives (but not their wrappers like Integer), and array types.
- * Note that java.lang.Object is not considered a Builtin.</p>
- *
- * <p>Note that while builtin classes cannot be modified, they can
- * be annotated and commented.</p>
- *
- * I think this is going to include generics as well.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class BuiltinClassImpl extends AnnotatedElementImpl
-  implements MClass
-{
-
-  // ========================================================================
-  // Constructors
-
-  protected BuiltinClassImpl(ElementContext ctx) {
-    super(ctx);
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public String getQualifiedName() { return mSimpleName; }
-
-  public String getFieldDescriptor() { return mSimpleName; }
-
-  // ========================================================================
-  // JMember implementation
-
-  public int getModifiers() { return Object.class.getModifiers(); }
-  public boolean isPublic() { return true; }
-  public boolean isPackagePrivate() { return false; }
-  public boolean isProtected() { return false; }
-  public boolean isPrivate() { return false; }
-  public JSourcePosition getSourcePosition() { return null; }
-  public JClass getContainingClass() { return null; }
-
-  // ========================================================================
-  // JClass implementation
-
-  public JClass forName(String fd) {
-    return getClassLoader().loadClass(fd);
-  }
-
-  public JClass getArrayComponentType() { return null; }
-  public int getArrayDimensions() { return 0; }
-
-  public JClass getSuperclass() { return null; }
-  public JClass[] getInterfaces() { return NO_CLASS; }
-  public JField[] getFields() { return NO_FIELD; }
-  public JField[] getDeclaredFields() { return NO_FIELD; }
-  public JConstructor[] getConstructors() { return NO_CONSTRUCTOR;}
-  public JMethod[] getMethods() { return NO_METHOD; }
-  public JMethod[] getDeclaredMethods() { return NO_METHOD; }
-  public JPackage getContainingPackage() { return null; }
-  public boolean isInterface() { return false; }
-
-  public boolean isArrayType() { return false; }
-  public boolean isAnnotationType() { return false; }
-  public boolean isPrimitiveType() { return false; }
-  public boolean isBuiltinType() { return true; }
-  public boolean isUnresolvedType() { return false; }
-  public boolean isObjectType() { return false; }
-  public boolean isVoidType() { return false; }
-  public boolean isEnumType() { return false; }
-  public Class getPrimitiveClass() { return null; }
-  public boolean isAbstract() { return false; }
-  public boolean isFinal() { return false; }
-  public boolean isStatic() { return false; }
-  public JClass[] getClasses() { return NO_CLASS; }
-  public JProperty[] getProperties() { return NO_PROPERTY; }
-  public JProperty[] getDeclaredProperties() { return NO_PROPERTY; }
-  public JPackage[] getImportedPackages() { return NO_PACKAGE; }
-  public JClass[] getImportedClasses() { return NO_CLASS; }
-
-  // ========================================================================
-  // MClass implementation
-
-  public MField[] getMutableFields() { return NO_FIELD; }
-  public MConstructor[] getMutableConstructors() { return NO_CONSTRUCTOR; }
-  public MMethod[] getMutableMethods() { return NO_METHOD; }
-
-  // can't do any of this stuff
-
-  public void setSimpleName(String s) { nocando(); }
-
-  public void setIsAnnotationType(boolean b) { nocando(); }
-  public void setIsInterface(boolean b) { nocando(); }
-  public void setIsUnresolvedType(boolean b) { nocando(); }
-  public void setIsEnumType(boolean b) { nocando(); }
-  public void setSuperclass(String qualifiedClassName) { nocando(); }
-  public void setSuperclassUnqualified(String unqualifiedClassName) { nocando(); }
-  public void setSuperclass(JClass clazz) { nocando(); }
-  public void addInterface(String className) { nocando(); }
-  public void addInterfaceUnqualified(String unqualifiedClassName) { nocando(); }
-  public void addInterface(JClass interf) { nocando(); }
-  public void removeInterface(String className) { nocando(); }
-  public void removeInterface(JClass interf) { nocando(); }
-  public MConstructor addNewConstructor() { nocando(); return null; }
-  public void removeConstructor(MConstructor constr) { nocando(); }
-  public MField addNewField() { nocando(); return null; }
-  public void removeField(MField field) { nocando(); }
-  public MMethod addNewMethod() { nocando(); return null; }
-  public void removeMethod(MMethod method) { nocando(); }
-  public void setModifiers(int modifiers) { nocando(); }
-  public MClass addNewInnerClass(String named) { nocando(); return null; }
-  public void removeInnerClass(MClass inner) { nocando(); }
-
-  public JProperty addNewProperty(String name, JMethod m, JMethod x) {
-    nocando();
-    return null;
-  }
-  public void removeProperty(JProperty prop) { nocando(); }
-
-  public JProperty addNewDeclaredProperty(String name, JMethod m, JMethod x) {
-    nocando();
-    return null;
-  }
-  public void removeDeclaredProperty(JProperty prop) { nocando(); }
-
-  // ========================================================================
-  // Object implementation
-
-  public boolean equals(Object o) {
-    if (o instanceof JClass) {
-      return ((JClass)o).getFieldDescriptor().equals(getFieldDescriptor());
-    } else {
-      return false;
-    }
-  }
-
-  public int hashCode() { return getFieldDescriptor().hashCode(); }
-
-  // ========================================================================
-  // Protected methods
-
-  protected void reallySetSimpleName(String name) {
-    super.setSimpleName(name);
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void nocando() {
-    throw new UnsupportedOperationException("Cannot alter builtin types");
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ClassImpl.java
deleted file mode 100644
index 5108fd1..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ClassImpl.java
+++ /dev/null
@@ -1,640 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.jam.provider.JamClassPopulator;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.*;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRefContext;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.UnqualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.JamClassLoaderImpl;
-
-import java.lang.reflect.Modifier;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.TreeSet;
-
-/**
- * <p>Implementation of JClass and MClass.</p>
- *
- * @author Patrick Calahan <jdclasspcal@bea.com>
- */
-public class ClassImpl extends MemberImpl implements MClass,
-  JClassRef, JClassRefContext
-{
-  // ========================================================================
-  // Constants
-
-  public static final int NEW = 1;
-  public static final int UNPOPULATED = 2;
-  public static final int POPULATING = 3;
-  public static final int UNINITIALIZED = 4;
-  public static final int INITIALIZING = 5;
-  public static final int LOADED = 6;
-
-  // ========================================================================
-  // Variables
-
-  private int mState = NEW;
-
-  private boolean mIsAnnotationType = false;
-  private boolean mIsInterface = false;
-  private boolean mIsEnum = false;
-
-  private String mPackageName = null;
-
-  private JClassRef mSuperClassRef = null; // classrefs to the class we extend
-  private ArrayList mInterfaceRefs = null; // refs to interfaces we elements.
-
-  private ArrayList mFields = null;
-  private ArrayList mMethods = null;
-  private ArrayList mConstructors = null;
-  private ArrayList mProperties = null;
-  private ArrayList mDeclaredProperties = null;
-  private ArrayList mInnerClasses = null;
-
-  private String[] mImports = null;
-
-  private JamClassPopulator mPopulator;
-
-  // FIXME implement this - we should only create one UnqualifiedJClassRef
-  // for each unqualified name so as to avoid resolving them over and over.
-  //private Map mName2Uqref = null;
-
-  // ========================================================================
-  // Constructors
-
-  public ClassImpl(String packageName,
-                   String simpleName,
-                   ElementContext ctx,
-                   String[] importSpecs,
-                   JamClassPopulator populator) {
-    super(ctx);
-    super.setSimpleName(simpleName);
-    mPackageName = packageName.trim();
-    mImports = importSpecs;
-    mPopulator = populator;
-    setState(UNPOPULATED);
-  }
-
-  public ClassImpl(String packageName,
-                   String simpleName,
-                   ElementContext ctx,
-                   String[] importSpecs)
-  {
-    super(ctx);
-    super.setSimpleName(simpleName);
-    mPackageName = packageName.trim();
-    mImports = importSpecs;
-    mPopulator = null;
-    setState(UNINITIALIZED);
-  }
-
-  // ========================================================================
-  // JClass implementation
-
-  public JPackage getContainingPackage() {
-    return getClassLoader().getPackage(mPackageName);
-  }
-
-  public JClass getSuperclass() {
-    ensureLoaded();
-    if (mSuperClassRef == null) {
-      return null;
-    } else {
-      return mSuperClassRef.getRefClass();
-    }
-  }
-
-  public JClass[] getInterfaces() {
-    ensureLoaded();
-    if (mInterfaceRefs == null || mInterfaceRefs.size() == 0) {
-      return new JClass[0];
-    } else {
-      JClass[] out = new JClass[mInterfaceRefs.size()];
-      for(int i=0; i<out.length; i++) {
-        out[i] = ((JClassRef)mInterfaceRefs.get(i)).getRefClass();
-      }
-      return out;
-    }
-  }
-
-  public JField[] getFields() {
-    ensureLoaded();
-    List list = new ArrayList();
-    addFieldsRecursively(this, list);
-    JField[] out = new JField[list.size()];
-    list.toArray(out);
-    return out;
-  }
-
-  public JField[] getDeclaredFields() {
-    ensureLoaded();
-    return getMutableFields();
-  }
-
-  public JMethod[] getMethods() {
-    ensureLoaded();
-    List list = new ArrayList();
-    addMethodsRecursively(this, list);
-    JMethod[] out = new JMethod[list.size()];
-    list.toArray(out);
-    return out;
-  }
-
-  public JProperty[] getProperties() {
-    ensureLoaded();
-    if (mProperties == null) return new JProperty[0];
-    JProperty[] out = new JProperty[mProperties.size()];
-    mProperties.toArray(out);
-    return out;
-  }
-
-  public JProperty[] getDeclaredProperties() {
-    ensureLoaded();
-    if (mDeclaredProperties == null) return new JProperty[0];
-    JProperty[] out = new JProperty[mDeclaredProperties.size()];
-    mDeclaredProperties.toArray(out);
-    return out;
-  }
-
-  public JMethod[] getDeclaredMethods() {
-    ensureLoaded();
-    return getMutableMethods();
-  }
-
-  public JConstructor[] getConstructors() {
-    ensureLoaded();
-    return getMutableConstructors();
-  }
-
-  public boolean isInterface() {
-    ensureLoaded();
-    return mIsInterface;
-  }
-
-  public boolean isAnnotationType() {
-    ensureLoaded();
-    return mIsAnnotationType;
-  }
-
-  public boolean isEnumType() {
-    ensureLoaded();
-    return mIsEnum;
-  }
-
-  public int getModifiers() {
-    ensureLoaded();
-    return super.getModifiers();
-  }
-
-  public boolean isFinal() { return Modifier.isFinal(getModifiers()); }
-
-  public boolean isStatic() { return Modifier.isStatic(getModifiers()); }
-
-  public boolean isAbstract() { return Modifier.isAbstract(getModifiers()); }
-
-  public boolean isAssignableFrom(JClass arg) {
-    ensureLoaded();
-    if (isPrimitiveType() || arg.isPrimitiveType()) {
-      return getQualifiedName().equals(arg.getQualifiedName());
-    }
-    return isAssignableFromRecursively(arg);
-  }
-
-  public JClass[] getClasses() {
-    ensureLoaded();
-    return new JClass[0];//FIXME
-  }
-
-  public String getFieldDescriptor() {
-    return getQualifiedName();
-  }
-
-  public JClass forName(String name) {
-    return getClassLoader().loadClass(name);
-  }
-
-  public JPackage[] getImportedPackages() {
-    ensureLoaded();
-    Set set = new TreeSet();
-    JClass[] importedClasses = getImportedClasses();
-    for(int i=0; i<importedClasses.length; i++) {
-      JPackage c = importedClasses[i].getContainingPackage();
-      if (c != null) set.add(c);
-    }
-    String[] imports = getImportSpecs();
-    if (imports != null) {
-      for(int i=0; i<imports.length; i++) {
-        if (imports[i].endsWith(".*")) {
-          set.add(getClassLoader().
-                  getPackage(imports[i].substring(0,imports[i].length()-2)));
-        }
-      }
-    }
-    JPackage[] array = new JPackage[set.size()];
-    set.toArray(array);
-    return array;
-  }
-
-  public JClass[] getImportedClasses() {
-    ensureLoaded();
-    String[] imports = getImportSpecs();
-    if (imports == null) return new JClass[0];
-    List list = new ArrayList();
-    for(int i=0; i<imports.length; i++) {
-      if (imports[i].endsWith("*")) continue;
-      list.add(getClassLoader().loadClass(imports[i]));
-    }
-    JClass[] out = new JClass[list.size()];
-    list.toArray(out);
-    return out;
-  }
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public void setSimpleName(String name) {
-    throw new UnsupportedOperationException("Class names cannot be changed");
-  }
-
-  public Class getPrimitiveClass()  { return null; }
-  public boolean isPrimitiveType()  { return false; }
-  public boolean isBuiltinType()    { return false; }
-  public boolean isVoidType()       { return false; }
-  public boolean isUnresolvedType() { return false; }
-  public boolean isObjectType() {
-    return getQualifiedName().equals("java.lang.Object");
-  }
-
-  public boolean isArrayType() { return false; }
-  public JClass getArrayComponentType() { return null; }
-  public int getArrayDimensions() { return 0; }
-
-  // ========================================================================
-  // AnnotatedElementImpl implementation - just to add ensureLoaded()
-
-  public JAnnotation[] getAnnotations() {
-    ensureLoaded();
-    return super.getAnnotations();
-  }
-
-  public JAnnotation getAnnotation(Class proxyClass) {
-    ensureLoaded();
-    return super.getAnnotation(proxyClass);
-  }
-
-  public JAnnotation getAnnotation(String named) {
-    ensureLoaded();
-    return super.getAnnotation(named);
-  }
-
-  public JAnnotationValue getAnnotationValue(String valueId) {
-    ensureLoaded();
-    return super.getAnnotationValue(valueId);
-  }
-
-
-  public Object getAnnotationProxy(Class proxyClass) {
-    ensureLoaded();
-    return super.getAnnotationProxy(proxyClass);
-  }
-
-  public JComment getComment() {
-    ensureLoaded();
-    return super.getComment();
-  }
-
-  public JAnnotation[] getAllJavadocTags() {
-    ensureLoaded();
-    return super.getAllJavadocTags();
-  }
-
-  // ========================================================================
-  // Element implementation - just to add ensureLoaded()
-
-  public JSourcePosition getSourcePosition() {
-    ensureLoaded();
-    return super.getSourcePosition();
-  }
-
-
-  // ========================================================================
-  // MClass implementation
-
-  //FIXME should add assertiong here that state is not LOADED
-
-  public void setSuperclass(String qualifiedClassName) {
-    if (qualifiedClassName == null) {
-      mSuperClassRef = null;
-    } else {
-      if (qualifiedClassName.equals(getQualifiedName())) {
-        throw new IllegalArgumentException
-          ("A class cannot be it's own superclass: '"+qualifiedClassName+"'");
-      }
-      mSuperClassRef = QualifiedJClassRef.create(qualifiedClassName, this);
-    }
-  }
-
-  public void setSuperclassUnqualified(String unqualifiedClassName) {
-    mSuperClassRef = UnqualifiedJClassRef.create(unqualifiedClassName,this);
-  }
-
-  public void setSuperclass(JClass clazz) {
-    if (clazz == null) {
-      mSuperClassRef = null;
-    } else {
-      setSuperclass(clazz.getQualifiedName());
-    }
-  }
-
-  public void addInterface(JClass interf) {
-    if (interf == null) throw new IllegalArgumentException("null interf");
-
-    addInterface(interf.getQualifiedName());
-  }
-
-  public void addInterface(String qcName) {
-    if (mInterfaceRefs == null) mInterfaceRefs = new ArrayList();
-    if (qcName.equals(getQualifiedName())) {
-      throw new IllegalArgumentException
-        ("A class cannot implement itself: '"+qcName+"'");
-    }
-    mInterfaceRefs.add(QualifiedJClassRef.create(qcName,this));
-  }
-
-  public void addInterfaceUnqualified(String ucname) {
-    if (mInterfaceRefs == null) mInterfaceRefs = new ArrayList();
-    mInterfaceRefs.add(UnqualifiedJClassRef.create(ucname,this));
-  }
-
-  public void removeInterface(JClass interf) {
-    if (interf == null) throw new IllegalArgumentException("null interf");
-    removeInterface(interf.getQualifiedName());
-  }
-
-  public void removeInterface(String qcname) {
-    //REVIEW this is quite inefficient, but maybe it doesnt matter so much
-    if (qcname == null) throw new IllegalArgumentException("null classname");
-    if (mInterfaceRefs == null) return;
-    for(int i=0; i<mInterfaceRefs.size(); i++) {
-      if (qcname.equals
-              (((JClassRef)mInterfaceRefs.get(i)).getQualifiedName())) {
-        mInterfaceRefs.remove(i);
-      }
-    }
-  }
-
-  public MConstructor addNewConstructor() {
-    if (mConstructors == null) mConstructors = new ArrayList();
-    MConstructor out = new ConstructorImpl(this);
-    mConstructors.add(out);
-    return out;
-  }
-
-  public void removeConstructor(MConstructor constr) {
-    if (mConstructors == null) return;
-    mConstructors.remove(constr);
-  }
-
-  public MConstructor[] getMutableConstructors() {
-    if (mConstructors == null || mConstructors.size() == 0) {
-      return new MConstructor[0];
-    }
-    MConstructor[] out = new MConstructor[mConstructors.size()];
-    mConstructors.toArray(out);
-    return out;
-  }
-
-  public MField addNewField() {
-    if (mFields == null) mFields = new ArrayList();
-    MField out = new FieldImpl(defaultName(mFields.size()),
-                                this,"java.lang.Object");
-    mFields.add(out);
-    return out;
-  }
-
-  public void removeField(MField field) {
-    if (mFields == null) return;
-    mFields.remove(field);
-  }
-
-  public MField[] getMutableFields() {
-    if (mFields == null || mFields.size() == 0) {
-      return new MField[0];
-    }
-    MField[] out = new MField[mFields.size()];
-    mFields.toArray(out);
-    return out;
-  }
-
-  public MMethod addNewMethod() {
-    if (mMethods == null) mMethods = new ArrayList();
-    MMethod out = new MethodImpl(defaultName(mMethods.size()),this);
-    mMethods.add(out);
-    return out;
-  }
-
-  public void removeMethod(MMethod method) {
-    if (mMethods == null) return;
-    mMethods.remove(method);
-  }
-
-  public MMethod[] getMutableMethods() {
-    if (mMethods == null || mMethods.size() == 0) {
-      return new MMethod[0];
-    }
-    MMethod[] out = new MMethod[mMethods.size()];
-    mMethods.toArray(out);
-    return out;
-  }
-
-  public JProperty addNewProperty(String name, JMethod getter, JMethod setter) {
-    if (mProperties == null) mProperties = new ArrayList();
-    JProperty out = new PropertyImpl(name,getter,setter,
-                                     getter.getReturnType().getFieldDescriptor());
-    mProperties.add(out);
-    return out;
-  }
-
-  public void removeProperty(JProperty p) {
-    if (mProperties != null) mProperties.remove(p);
-  }
-
-  public JProperty addNewDeclaredProperty(String name, JMethod getter, JMethod setter) {
-    if (mDeclaredProperties == null) mDeclaredProperties = new ArrayList();
-    JProperty out = new PropertyImpl(name,getter,setter,
-                                     getter.getReturnType().getFieldDescriptor());
-    mDeclaredProperties.add(out);
-    return out;
-  }
-
-  public void removeDeclaredProperty(JProperty p) {
-    if (mDeclaredProperties != null) mDeclaredProperties.remove(p);
-  }
-
-  public MClass addNewInnerClass(String name) {
-    MClass inner = new ClassImpl(mPackageName,
-                                 name,
-                                 getContext(),
-                                 getImportSpecs());
-    if (mInnerClasses == null) mInnerClasses = new ArrayList();
-    mInnerClasses.add(inner);
-    return inner;
-  }
-
-  public void removeInnerClass(MClass clazz) {
-    if (mInnerClasses == null) return;
-    mInnerClasses.remove(clazz);
-  }
-
-  public void setIsInterface(boolean b) { mIsInterface = b; }
-
-  public void setIsAnnotationType(boolean b) { mIsAnnotationType = b; }
-
-  public void setIsEnumType(boolean b) { mIsEnum = b; }
-
-  public String getQualifiedName() {
-    return ((mPackageName.length() > 0) ? (mPackageName + '.') : "") +
-      mSimpleName;
-  }
-
-  // ========================================================================
-  // JClassRef implementation (to accommodate direct references)
-
-  public JClass getRefClass() { return this; }
-
-  // ========================================================================
-  // JClassRefContext implementation
-
-  public String getPackageName() {
-    return mPackageName;
-  }
-
-  public String[] getImportSpecs() {
-    ensureLoaded();
-    if (mImports == null) return new String[0];
-    return mImports;
-  }
-
-  // ========================================================================
-  // Public methods for internal use only
-
-  public void setState(int state) { mState = state; }
-
-  // ========================================================================
-  // Public static utility methods
-
-  /**
-   * Throws an IllegalArgument exception if the given string is not a valid
-   * class name.  Useful for parameter checking in several places.
-   */
-  public static void validateClassName(String className)
-          throws IllegalArgumentException
-  {
-    if (className == null) {
-      throw new IllegalArgumentException("null class name specified");
-    }
-    if (!Character.isJavaIdentifierStart(className.charAt(0))) {
-      throw new IllegalArgumentException
-              ("Invalid first character in class name: "+className);
-    }
-    for(int i=1; i<className.length(); i++) {
-      char c = className.charAt(i);
-      if (c == '.') {
-        if (className.charAt(i-1) == '.') {
-          throw new IllegalArgumentException
-                  ("'..' not allowed in class name: "+className);
-        }
-        if (i == className.length()-1) {
-          throw new IllegalArgumentException
-                  ("'.' not allowed at end of class name: "+className);
-        }
-      } else {
-        if (!Character.isJavaIdentifierPart(c)) {
-          throw new IllegalArgumentException
-                  ("Illegal character '"+c+"' in class name: "+className);
-        }
-      }
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private boolean isAssignableFromRecursively(JClass arg) {
-    if (this.getQualifiedName().equals(arg.getQualifiedName())) return true;
-    // check all of arg's implemented interfaces, recursively
-    JClass[] interfaces = arg.getInterfaces();
-    if (interfaces != null) {
-      for (int i=0; i<interfaces.length; i++) {
-        if (isAssignableFromRecursively(interfaces[i])) return true;
-      }
-    }
-    // check arg's superclass, recursively
-    arg = arg.getSuperclass();
-    if (arg != null) {
-      if (isAssignableFromRecursively(arg)) return true;
-    }
-    return false;
-  }
-
-  private void addFieldsRecursively(JClass clazz, Collection out) {
-    JField[] fields = clazz.getDeclaredFields();
-    for (int i = 0; i < fields.length; i++) out.add(fields[i]);
-    JClass[] ints = clazz.getInterfaces();
-    for (int i = 0; i < ints.length; i++) {
-      addFieldsRecursively(ints[i], out);
-    }
-    clazz = clazz.getSuperclass();
-    if (clazz != null) addFieldsRecursively(clazz, out);
-  }
-
-  private void addMethodsRecursively(JClass clazz, Collection out) {
-    JMethod[] methods = clazz.getDeclaredMethods();
-    for (int i = 0; i < methods.length; i++) out.add(methods[i]);
-    JClass[] ints = clazz.getInterfaces();
-    for (int i = 0; i < ints.length; i++) {
-      addMethodsRecursively(ints[i], out);
-    }
-    clazz = clazz.getSuperclass();
-    if (clazz != null) addMethodsRecursively(clazz, out);
-  }
-
-  private void ensureLoaded() {
-    if (mState == LOADED) return;
-    if (mState == UNPOPULATED) {
-      if (mPopulator == null) throw new IllegalStateException("null populator");
-      setState(POPULATING);
-      mPopulator.populate(this);
-      setState(UNINITIALIZED);
-    }
-    if (mState == UNINITIALIZED) {
-      setState(INITIALIZING);
-      ((JamClassLoaderImpl)getClassLoader()).initialize(this);
-    }
-    setState(ClassImpl.LOADED);
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/CommentImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/CommentImpl.java
deleted file mode 100644
index 652836d..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/CommentImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MComment;
-
-/**
- * <p>Implementation
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class CommentImpl extends ElementImpl implements MComment {
-
-  // ========================================================================
-  // Variables
-
-  private String mText = null;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ CommentImpl(ElementImpl parent) { super(parent); }
-
-  // ========================================================================
-  // MComment implementation
-
-  public void setText(String text) { mText = text; }
-
-  public String getText() { return (mText == null) ? "" : mText; }
-
-  // ========================================================================
-  // JElement implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public String getQualifiedName() {
-    return getParent().getQualifiedName()+".{comment}"; //REVIEW
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ConstructorImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ConstructorImpl.java
deleted file mode 100644
index 02763d2..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ConstructorImpl.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.JParameter;
-
-import java.lang.reflect.Modifier;
-import java.io.StringWriter;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class ConstructorImpl extends InvokableImpl implements MConstructor {
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ ConstructorImpl(ClassImpl containingClass) {
-    super(containingClass);
-    setSimpleName(containingClass.getSimpleName());
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public String getQualifiedName() {
-    StringWriter sbuf = new StringWriter();
-    sbuf.write(Modifier.toString(getModifiers()));
-    sbuf.write(' ');
-    sbuf.write(getSimpleName());
-    sbuf.write('(');
-    {
-    JParameter[] params = getParameters();
-    if (params != null && params.length > 0) {
-      for(int i=0; i<params.length; i++) {
-        sbuf.write(params[i].getType().getQualifiedName());
-        if (i<params.length-1) sbuf.write(',');
-      }
-    }
-    }
-    sbuf.write(')');
-    /* REVIEW the docs on java.lang.reflect.Constructor don't say include
-       the exceptions.  That seems wrong, but we'll go with it for now.
-    {
-      JClass[] thrown = getExceptionTypes();
-      if (thrown != null && thrown.length > 0) {
-        sbuf.write(" throws ");
-        for(int i=0; i<thrown.length; i++) {
-          sbuf.write(thrown[i].getQualifiedName());
-          if (i<thrown.length-1) sbuf.write(',');
-        }
-      }
-    }
-    */
-    return sbuf.toString();
-  }
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementContext.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementContext.java
deleted file mode 100644
index 986bd9e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementContext.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-
-/**
- * <p>Context object required by every ElementImpl.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface ElementContext extends JamLogger /**REMOVE THIS EXTENDS PLEASE*/ {
-
-  public JamLogger getLogger();
-
-  /**
-   * <p>Returns the classloader the elements should use for type resolution.
-   * </p>
-   */
-  public JamClassLoader getClassLoader();
-
-  /**
-   * <p>Creates an empty appropriate proxy for the given 175 annotation
-   * instance.</p>
-   */
-  public AnnotationProxy createAnnotationProxy(String jsr175typename);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementImpl.java
deleted file mode 100644
index 4623b70..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ElementImpl.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceContextImpl;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MElement;
-import org.apache.xmlbeans.impl.jam.mutable.MSourcePosition;
-
-/**
- * <p>Implementation of JElement and MElement.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class ElementImpl implements Comparable, MElement {
-
-  // ========================================================================
-  // Constants
-
-  // help reduce waste
-  protected static final ElementImpl[] NO_NODE = new ElementImpl[0];
-  protected static final ClassImpl[] NO_CLASS = new ClassImpl[0];
-  protected static final FieldImpl[] NO_FIELD = new FieldImpl[0];
-  protected static final ConstructorImpl[] NO_CONSTRUCTOR = new ConstructorImpl[0];
-  protected static final MethodImpl[] NO_METHOD = new MethodImpl[0];
-  protected static final ParameterImpl[] NO_PARAMETER = new ParameterImpl[0];
-  protected static final JPackage[] NO_PACKAGE = new JPackage[0];//FIXME
-  protected static final AnnotationImpl[] NO_ANNOTATION = new AnnotationImpl[0];
-
-  protected static final CommentImpl[] NO_COMMENT = new CommentImpl[0];
-  protected static final JProperty[] NO_PROPERTY = new JProperty[0];//FIXME
-
-  // ========================================================================
-  // Variables
-
-  private ElementContext mContext;
-  protected String mSimpleName;
-  private MSourcePosition mPosition = null;
-  private Object mArtifact = null;
-  private ElementImpl mParent;
-
-  // ========================================================================
-  // Constructors
-
-  protected ElementImpl(ElementImpl parent) {
-    if (parent == null) throw new IllegalArgumentException("null ctx");
-    if (parent == this) {
-      throw new IllegalArgumentException("An element cannot be its own parent");
-    }
-    JElement check = parent.getParent();
-    while(check != null) {
-      if (check == this) throw new IllegalArgumentException("cycle detected");
-      check = check.getParent();
-    };
-    mContext = parent.getContext();
-    mParent = parent;
-  }
-
-  protected ElementImpl(ElementContext ctx) {
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    mContext = ctx;
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public final JElement getParent() { return mParent; }
-
-  public String getSimpleName() { return mSimpleName; }
-
-  public JSourcePosition getSourcePosition() { return mPosition; }
-
-  public Object getArtifact() { return mArtifact; }
-
-  // ========================================================================
-  // MElement implementation
-
-  public void setSimpleName(String name) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    mSimpleName = name.trim();
-  }
-
-  public MSourcePosition createSourcePosition() {
-    return mPosition = new SourcePositionImpl();
-  }
-
-  public void removeSourcePosition() {
-    mPosition = null;
-  }
-
-  public MSourcePosition getMutableSourcePosition() {
-    return mPosition;
-  }
-
-  public void setArtifact(Object memento) {
-    mArtifact = memento;
-  }
-
-  // ========================================================================
-  // Public methods & JClass elements
-
-  public JamClassLoader getClassLoader() {
-    return mContext.getClassLoader();
-  }
-
-  public static String defaultName(int count) {
-    return "unnamed_"+count;
-  }
-
-  public boolean equals(Object o) {
-    if (this == o) return true;
-    if (!(o instanceof ElementImpl)) return false;
-    final ElementImpl eElement = (ElementImpl) o;
-    String qn = getQualifiedName();
-    if (qn == null) return false;
-    String oqn = eElement.getQualifiedName();
-    if (oqn == null) return false;
-    return qn.equals(oqn);
-  }
-
-  public int hashCode() {
-    String qn = getQualifiedName();
-    return (qn == null) ? 0 : qn.hashCode();
-  }
-
-  // ========================================================================
-  // Other public methods
-
-  public ElementContext getContext() { return mContext; }
-
-  // ========================================================================
-  // Object implementation
-
-  public String toString() {
-    return getQualifiedName();
-  }
-  
-  // ========================================================================
-  // Protected methods
-
-  protected JamLogger getLogger() {
-    return ((JamServiceContextImpl)mContext).getLogger();
-  }
-
-  // ========================================================================
-  // Comparable implementation
-
-  public int compareTo(Object o) {
-    if (!(o instanceof JElement)) {
-      return -1;
-    }
-    return getQualifiedName().compareTo(((JElement)o).getQualifiedName());
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/FieldImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/FieldImpl.java
deleted file mode 100644
index a829b91..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/FieldImpl.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.DirectJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.UnqualifiedJClassRef;
-
-import java.lang.reflect.Modifier;
-import java.io.StringWriter;
-
-/**
- * <p>Implementation of JField and MField.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class FieldImpl extends MemberImpl implements MField {
-
-  // ========================================================================
-  // Variables
-
-  private JClassRef mTypeClassRef;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ FieldImpl(String simpleName,
-                         ClassImpl containingClass,
-                         String qualifiedTypeClassName) {
-    super(containingClass);
-    super.setSimpleName(simpleName);
-    mTypeClassRef = QualifiedJClassRef.create
-            (qualifiedTypeClassName,containingClass);
-  }
-
-  // ========================================================================
-  // MField implementation
-
-  public void setType(JClass type) {
-    if (type == null) throw new IllegalArgumentException("null type");
-    mTypeClassRef = DirectJClassRef.create(type);
-  }
-
-  public void setType(String qcname) {
-    if (qcname == null) throw new IllegalArgumentException("null qcname");
-    mTypeClassRef = QualifiedJClassRef.create
-            (qcname,(ClassImpl)getContainingClass());
-  }
-
-  public void setUnqualifiedType(String ucname) {
-    if (ucname == null) throw new IllegalArgumentException("null ucname");
-    mTypeClassRef = UnqualifiedJClassRef.create
-            (ucname,(ClassImpl)getContainingClass());
-  }
-
-  // ========================================================================
-  // JField implementation
-
-  public JClass getType() {
-    if (mTypeClassRef == null) throw new IllegalStateException();
-    return mTypeClassRef.getRefClass();
-  }
-
-  public boolean isFinal() {
-    return Modifier.isFinal(getModifiers());
-  }
-
-  public boolean isStatic() {
-    return Modifier.isStatic(getModifiers());
-  }
-
-  public boolean isVolatile() {
-    return Modifier.isVolatile(getModifiers());
-  }
-
-  public boolean isTransient() {
-    return Modifier.isTransient(getModifiers());
-  }
-
-  // ========================================================================
-  // M/JElement implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public String getQualifiedName() {
-    StringWriter sbuf = new StringWriter();
-    sbuf.write(Modifier.toString(getModifiers()));
-    sbuf.write(' ');
-    sbuf.write(getType().getQualifiedName());
-    sbuf.write(' ');
-    sbuf.write(getContainingClass().getQualifiedName());
-    sbuf.write('.');
-    sbuf.write(getSimpleName());
-    return sbuf.toString();
-  }
-
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/InvokableImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/InvokableImpl.java
deleted file mode 100644
index 569fa19..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/InvokableImpl.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.mutable.MInvokable;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.DirectJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.UnqualifiedJClassRef;
-
-import java.io.StringWriter;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class InvokableImpl extends MemberImpl implements MInvokable {
-
-  // ========================================================================
-  // Variables
-
-  private List mExceptionClassRefs = null;
-  private List mParameters = null;
-
-  // ========================================================================
-  // Constructors
-
-  protected InvokableImpl(ClassImpl containingClass) {
-    super(containingClass);
-  }
-
-  // ========================================================================
-  // MConstructor implementation
-
-  public void addException(JClass exceptionClass) {
-    if (exceptionClass == null) {
-      throw new IllegalArgumentException("null exception class");
-    }
-    if (mExceptionClassRefs == null) mExceptionClassRefs = new ArrayList();
-    mExceptionClassRefs.add(DirectJClassRef.create(exceptionClass));
-  }
-
-  public void addException(String qcname) {
-    if (qcname == null) throw new IllegalArgumentException("null qcname");
-    if (mExceptionClassRefs == null) mExceptionClassRefs = new ArrayList();
-    mExceptionClassRefs.add(QualifiedJClassRef.
-                            create(qcname,(ClassImpl)getContainingClass()));
-  }
-
-  public void addUnqualifiedException(String ucname) {
-    if (ucname == null) throw new IllegalArgumentException("null qcname");
-    if (mExceptionClassRefs == null) mExceptionClassRefs = new ArrayList();
-    mExceptionClassRefs.add(UnqualifiedJClassRef.
-                            create(ucname,(ClassImpl)getContainingClass()));
-  }
-
-  public void removeException(String exceptionClassName) {
-    if (exceptionClassName == null) {
-      throw new IllegalArgumentException("null classname");
-    }
-    if (mExceptionClassRefs != null) {
-      mExceptionClassRefs.remove(exceptionClassName);
-    }
-  }
-
-  public void removeException(JClass exceptionClass) {
-    removeException(exceptionClass.getQualifiedName());
-  }
-
-  public MParameter addNewParameter() {
-    if (mParameters == null) mParameters = new ArrayList();
-    MParameter param = new ParameterImpl(defaultName(mParameters.size()),
-                                          this,"java.lang.Object");
-    mParameters.add(param);
-    return param;
-  }
-
-  public void removeParameter(MParameter parameter) {
-    if (mParameters != null) mParameters.remove(parameter);
-  }
-
-  public MParameter[] getMutableParameters() {
-    if (mParameters == null || mParameters.size() == 0) {
-    return new MParameter[0];
-    } else {
-      MParameter[] out = new MParameter[mParameters.size()];
-      mParameters.toArray(out);
-      return out;
-    }
-  }
-
-  // ========================================================================
-  // JInvokable implementation
-
-  public JParameter[] getParameters() {
-    return getMutableParameters();
-  }
-
-  public JClass[] getExceptionTypes() {
-    if (mExceptionClassRefs == null || mExceptionClassRefs.size() == 0) {
-      return new JClass[0];
-    }
-    JClass[] out = new JClass[mExceptionClassRefs.size()];
-    for(int i=0; i<out.length; i++) {
-      out[i] = ((JClassRef)mExceptionClassRefs.get(i)).getRefClass();
-    }
-    return out;
-  }
-
-  public String getQualifiedName() {
-    //REVIEW this probably needs more thought
-    StringWriter out = new StringWriter();
-    out.write(getContainingClass().getQualifiedName());
-    out.write('.');
-    out.write(getSimpleName());
-    out.write('(');
-    JParameter[] params = getParameters();
-    for(int i=0; i<params.length; i++) {
-      out.write(params[i].getType().getQualifiedName());
-      if (i<params.length-1) out.write(", ");
-    }
-    out.write(')');
-    return out.toString();
-  }
-
-  // ========================================================================
-  // Other public methods
-
-  //FIXME this is here only so the parser can be lazy - please remove it
-  public void setUnqualifiedThrows(List classnames) {
-    if (classnames == null || classnames.size() == 0) {
-      mExceptionClassRefs= null;
-      return;
-    }
-    mExceptionClassRefs = new ArrayList(classnames.size());
-    for(int i=0; i<classnames.size(); i++) {
-      mExceptionClassRefs.add(UnqualifiedJClassRef.create
-                              ((String)classnames.get(i),
-                               (ClassImpl)getContainingClass()));
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MemberImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MemberImpl.java
deleted file mode 100644
index f42e66c..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MemberImpl.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JMember;
-import org.apache.xmlbeans.impl.jam.JElement;
-import org.apache.xmlbeans.impl.jam.mutable.MMember;
-
-import java.lang.reflect.Modifier;
-
-/**
- * <p>Implementation of JMember and EMenber.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class MemberImpl extends AnnotatedElementImpl implements MMember {
-
-  // ========================================================================
-  // Variables
-
-  private int mModifiers = 0;
-
-  // ========================================================================
-  // Constructors
-
-  protected MemberImpl(ElementImpl parent) {
-    super(parent);
-  }
-
-  protected MemberImpl(ElementContext ctx) {
-    super(ctx);
-  }
-
-  // ========================================================================
-  // JMember implementation
-
-  public JClass getContainingClass() {
-    JElement p = getParent();
-    //FIXME very gross
-    if (p instanceof JClass) return (JClass)p;
-    if (p instanceof JMember) return ((JMember)p).getContainingClass();
-    return null;
-  }
-
-  public int getModifiers() { return mModifiers; }
-
-  public boolean isPackagePrivate() {
-    return !isPrivate() && !isPublic() && !isProtected();
-  }
-
-  public boolean isPrivate() { return Modifier.isPrivate(mModifiers); }
-
-  public boolean isProtected() { return Modifier.isProtected(mModifiers); }
-
-  public boolean isPublic() { return Modifier.isPublic(mModifiers); }
-
-  // ========================================================================
-  // MMember implementation
-
-  public void setModifiers(int modifiers) { mModifiers = modifiers; }
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MethodImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MethodImpl.java
deleted file mode 100644
index 9f2bae7..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/MethodImpl.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.DirectJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.UnqualifiedJClassRef;
-
-import java.lang.reflect.Modifier;
-import java.io.StringWriter;
-
-
-
-/**
- * <p>Standard implementation of MMethod.  It's probably bad inheritance to
- * extend ConstructorImpl, but it's convenient and no one should ever care
- * since this is a private class; there is no inheritance between method and
- * constructor in the public API.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class MethodImpl extends InvokableImpl implements MMethod {
-
-  // ========================================================================
-  // Variables
-
-  private JClassRef mReturnTypeRef = null;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ MethodImpl(String simpleName, ClassImpl containingClass) {
-    super(containingClass);
-    setSimpleName(simpleName);
-  }
-
-  // ========================================================================
-  // MMethod implementation
-
-  public void setReturnType(String className) {
-    mReturnTypeRef = QualifiedJClassRef.create
-            (className,(ClassImpl)getContainingClass());
-  }
-
-  public void setUnqualifiedReturnType(String unqualifiedTypeName) {
-    mReturnTypeRef = UnqualifiedJClassRef.create
-            (unqualifiedTypeName,(ClassImpl)getContainingClass());
-  }
-
-  public void setReturnType(JClass c) {
-    mReturnTypeRef = DirectJClassRef.create(c);
-  }
-
-  // ========================================================================
-  // JMethod implementation
-
-  public JClass getReturnType() {
-    if (mReturnTypeRef == null) {
-      return getClassLoader().loadClass("void");
-    } else {
-      return mReturnTypeRef.getRefClass();
-    }
-  }
-
-  public boolean isFinal() {
-    return Modifier.isFinal(getModifiers());
-  }
-
-  public boolean isStatic() {
-    return Modifier.isStatic(getModifiers());
-  }
-
-  public boolean isAbstract() {
-    return Modifier.isAbstract(getModifiers());
-  }
-
-  public boolean isNative() {
-    return Modifier.isNative(getModifiers());
-  }
-
-  public boolean isSynchronized() {
-    return Modifier.isSynchronized(getModifiers());
-  }
-
-  // ========================================================================
-  // Element implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  public String getQualifiedName() {
-    StringWriter sbuf = new StringWriter();
-    sbuf.write(Modifier.toString(getModifiers()));
-    sbuf.write(' ');
-    JClass returnJClass = getReturnType();
-    if (returnJClass == null){
-      sbuf.write("void ");  // should not happen
-    } else {
-      sbuf.write(returnJClass.getQualifiedName());
-      sbuf.write(' ');
-    }
-    sbuf.write(getSimpleName());
-    sbuf.write('(');
-    {
-    JParameter[] params = getParameters();
-    if (params != null && params.length > 0) {
-      for(int i=0; i<params.length; i++) {
-        sbuf.write(params[i].getType().getQualifiedName());
-        if (i<params.length-1) sbuf.write(',');
-      }
-    }
-    }
-    sbuf.write(')');
-    {
-      JClass[] thrown = getExceptionTypes();
-      if (thrown != null && thrown.length > 0) {
-        sbuf.write(" throws ");
-        for(int i=0; i<thrown.length; i++) {
-          sbuf.write(thrown[i].getQualifiedName());
-          if (i<thrown.length-1) sbuf.write(',');
-        }
-      }
-    }
-    return sbuf.toString();
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PackageImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PackageImpl.java
deleted file mode 100644
index 5239d0c..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PackageImpl.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MPackage;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-/**
- * <p>Generic implementation of JPackage/InternalJPackage that is good
- * enough for all cases, right now.  This might change if we ever wrap
- * a model which natively supports package-level annotation.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class PackageImpl extends AnnotatedElementImpl implements MPackage {
-
-  // ========================================================================
-  // Variables
-
-  private List mRootClasses = new ArrayList();
-  private String mName;
-
-  // ========================================================================
-  // Constructors
-
-  public PackageImpl(ElementContext ctx, String name) {
-    super(ctx);
-    mName = name;
-    int lastDot = mName.lastIndexOf('.');
-    setSimpleName((lastDot == -1) ? mName : mName.substring(lastDot + 1));
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public String getQualifiedName() { return mName; }
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-  // ========================================================================
-  // JPackage implementation
-
-  public JClass[] getClasses() {
-    JClass[] out = new JClass[mRootClasses.size()];
-    mRootClasses.toArray(out);
-    return out;
-  }
-
-  // ========================================================================
-  // MPackage implementation
-
-  public MClass[] getMutableClasses() {
-    MClass[] out = new MClass[mRootClasses.size()];
-    mRootClasses.toArray(out);
-    return out;
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ParameterImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ParameterImpl.java
deleted file mode 100644
index eb391a0..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/ParameterImpl.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.DirectJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.UnqualifiedJClassRef;
-
-/**
- * <p>Implementation of JParameter and MParameter.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ParameterImpl extends MemberImpl implements MParameter {
-
-  // ========================================================================
-  // Variables
-
-  private JClassRef mTypeClassRef;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ ParameterImpl(String simpleName,
-                            InvokableImpl containingMember,
-                            String typeName)
-  {
-    super(containingMember);
-    setSimpleName(simpleName);
-    setType(typeName);
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public String getQualifiedName() {
-    return getSimpleName();//FIXME
-  }
-
-  // ========================================================================
-  // MParameter implementation
-
-  public void setType(String qcname) {
-    if (qcname == null) throw new IllegalArgumentException("null typename");
-    mTypeClassRef = QualifiedJClassRef.create
-            (qcname,(ClassImpl)getContainingClass());
-  }
-
-  public void setType(JClass qcname) {
-    if (qcname == null) throw new IllegalArgumentException("null qcname");
-    mTypeClassRef = DirectJClassRef.create(qcname);
-  }
-
-  public void setUnqualifiedType(String ucname) {
-    if (ucname == null) throw new IllegalArgumentException("null ucname");
-    mTypeClassRef = UnqualifiedJClassRef.create
-            (ucname,(ClassImpl)getContainingClass());
-  }
-
-  // ========================================================================
-  // JParameter implementation
-
-  public JClass getType() {
-    return mTypeClassRef.getRefClass();
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public void accept(MVisitor visitor) { visitor.visit(this); }
-
-  public void accept(JVisitor visitor) { visitor.visit(this); }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PrimitiveClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PrimitiveClassImpl.java
deleted file mode 100644
index b4278aa..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PrimitiveClassImpl.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * <p>JClass implementation for primitive types.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class PrimitiveClassImpl extends BuiltinClassImpl {
-
-  // ========================================================================
-  // Constants
-
-  private static final Object[][] PRIMITIVES = {
-    // Name       FD   Class
-    {"int",       "I", int.class},
-    {"long",      "J", long.class},
-    {"boolean",   "Z", boolean.class},
-    {"short",     "S", short.class},
-    {"byte",      "B", byte.class},
-    {"char",      "C", char.class},
-    {"float",     "F", float.class},
-    {"double",    "D", double.class},
-  };
-
-  private static final Map NAME_TO_FD, NAME_TO_CLASS;
-
-  static {
-    NAME_TO_FD = new HashMap();
-    NAME_TO_CLASS = new HashMap();
-    for (int i = 0; i < PRIMITIVES.length; i++) {
-      NAME_TO_FD.put(PRIMITIVES[i][0],PRIMITIVES[i][1]);
-      NAME_TO_CLASS.put(PRIMITIVES[i][0],PRIMITIVES[i][2]);
-    }
-  };
-
-  // ========================================================================
-  // Factory methods
-
-  public static void mapNameToPrimitive(ElementContext ctx, Map out) {
-    for(int i=0; i<PrimitiveClassImpl.PRIMITIVES.length; i++) {
-      JClass c = new PrimitiveClassImpl(ctx,(String)PRIMITIVES[i][0]);
-      out.put(PrimitiveClassImpl.PRIMITIVES[i][0],c);
-      out.put(PrimitiveClassImpl.PRIMITIVES[i][1],c);
-      // REVIEW we map both the name and the fd to the class.  does that
-      // seem ok?
-    }
-  }
-
-  /**
-   * Returns the field descriptor for an named primitive, e.g. 'I' for
-   * 'int', or null if the parameter does not name a primitive.
-   */
-  public static String getPrimitiveClassForName(String named) {
-    return (String)NAME_TO_FD.get(named);
-  }
-
-  /**
-   * Returns a JClass representing the named primitive type.  The name
-   * parameter can be a simple type name (e.g. 'int') or a field
-   * descriptor (e.g. 'I').  Returns null if the parameter does not
-   * name a primitive type.
-   */
-/*  public static JClass getPrimitiveClassForName(String named) {
-    JClass out = (JClass) NAME_TO_JCLASS.get(named);
-    if (out != null) return out;
-    return (JClass) FD_TO_JCLASS.get(named);
-  }*/
-
-  /**
-   * Returns a JClass representing the given primitive Class.  Returns
-   * null if the parameter is not a primitive class.
-   */
-  /*public static JClass getPrimitiveClass(Class clazz) {
-    return getPrimitiveClassForName(clazz.getName());
-  }*/
-
-  // ========================================================================
-  // Public static utilities
-
-  /**
-   * Returns true if the named type is a primitive.  The parameter can
-   * be a simple type name (e.g. 'int') or a field descriptor
-   * (e.g. 'I').
-   */
-  public static boolean isPrimitive(String name) {
-    return (NAME_TO_FD.get(name) != null);
-  }
-
-  /**
-   * Returns the field descriptor for the given name, e.g. 'int' returns
-   * 'I'.
-   */
-  public static final String getFieldDescriptor(String classname) {
-    return (String)NAME_TO_FD.get(classname);
-  }
-
-
-  /**
-   * Returns the primitve class for the given name, e.g. 'int' returns
-   * int.class.  It's really stupid that there isn't a way to deal
-   * with this built in to java.
-   */
-  public static final Class getPrimitiveClass(String classname) {
-    return (Class)NAME_TO_CLASS.get(classname);
-  }
-
-  // ========================================================================
-  // Constructors
-
-  private PrimitiveClassImpl(ElementContext ctx, String name) {
-    super(ctx);
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (!NAME_TO_FD.containsKey(name)) {
-      throw new IllegalArgumentException("Unknown primitive class '"+
-        name+"'");
-    }
-    reallySetSimpleName(name);
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public String getQualifiedName() { return getSimpleName(); }
-
-  // ========================================================================
-  // JClass implementation
-
-  public String getFieldDescriptor() {
-    return (String)NAME_TO_FD.get(getSimpleName());
-  }
-
-  public boolean isAssignableFrom(JClass c) {
-    return c.isPrimitiveType() && c.getSimpleName().equals(getSimpleName());
-  }
-
-  public boolean isPrimitiveType() { return true; }
-
-  public Class getPrimitiveClass() {
-    return (Class)NAME_TO_CLASS.get(getSimpleName());
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PropertyImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PropertyImpl.java
deleted file mode 100644
index b80e67b..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/PropertyImpl.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-import org.apache.xmlbeans.impl.jam.visitor.JVisitor;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.JClassRef;
-import org.apache.xmlbeans.impl.jam.internal.classrefs.QualifiedJClassRef;
-
-/**
- * <p>Implementation of JProperty.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class PropertyImpl extends AnnotatedElementImpl implements JProperty {
-
-  // ========================================================================
-  // Variables
-
-  private String mName;
-  private JMethod mGetter, mSetter;
-  private JClassRef mTypeRef;
-
-  // ========================================================================
-  // Constructor
-
-  /**
-   * <p>You'll usually want to use the getProperties() factory method
-   * instead of constructing JProperties yourself.  This constructor
-   * is exposed just in case the default rules in the factory method
-   * for identifying properties are insufficient for some use
-   * case.</p>
-   */
-  public PropertyImpl(String name,
-                      JMethod getter,
-                      JMethod setter,
-                      String qualifiedTypeName)
-  {
-    super((ElementImpl)
-      ((getter != null) ? getter.getParent() : setter.getParent()));
-    //FIXME should do more validation on the arguments
-    mName = name;
-    mGetter = getter;
-    mSetter = setter;
-    mTypeRef = QualifiedJClassRef.create
-      (qualifiedTypeName,((ClassImpl)getter.getContainingClass()));
-    initAnnotations();
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns a JClass which represents the type of this property.
-   */
-  public JClass getType() { return mTypeRef.getRefClass(); }
-
-  /**
-   * Returns the simple name of this property.  For example, for a
-   * property manifest by getFoo() and setFoo(), this will return
-   * 'foo'.
-   */
-  public String getSimpleName() { return mName; }
-
-
-  /**
-   * Returns the simple name of this property.  For example, for a
-   * property manifest by getFoo() and setFoo(), this will return
-   * 'foo'.
-   */
-  public String getQualifiedName() {
-    return getParent().getQualifiedName()+"."+getSimpleName(); //REVIEW
-  }
-
-  /**
-   * Returns a JMethod which represents the setter for this property.
-   * Returns null if this property is read-only.
-   */
-  public JMethod getSetter() { return mSetter; }
-
-  /**
-   * Returns a JMethod which represents the getter for this property.
-   * Returns null if this property is write-only.
-   */
-  public JMethod getGetter() { return mGetter; }
-
-  // ========================================================================
-  // JElement implementation
-
-  /**
-   * Returns all of the annotations on the getter and/or the setter
-   * methods.
-   */
-  public JAnnotation[] getAnnotations() {
-    return combine((mGetter == null) ?
-                   ElementImpl.NO_ANNOTATION : mGetter.getAnnotations(),
-                   (mSetter == null) ?
-                   ElementImpl.NO_ANNOTATION : mSetter.getAnnotations());
-  }
-
-  /**
-   * Returns annotations with the given name that are found on this
-   * property's getter and/or setter.
-
-  public JAnnotation[] getAnnotations(String named) {
-    return combine((mGetter == null) ?
-                   BaseJElement.NO_ANNOTATION : mGetter.getAnnotations(named),
-                   (mSetter == null) ?
-                   BaseJElement.NO_ANNOTATION : mSetter.getAnnotations(named));
-  }
-   */
-
-  //internal use only
-  public void setSetter(JMethod method) { mSetter = method; }
-
-  //internal use only
-  public void setGetter(JMethod method) { mGetter = method; }
-
-  /**
-   * Returns the first annotation with the given name that is found on
-   * this property's getter and/or setters.
-   */
-  public JAnnotation getAnnotation(String named) {
-    JAnnotation out = (mGetter != null) ? mGetter.getAnnotation(named) : null;
-    if (out != null) return out;
-    return (mSetter != null) ? mSetter.getAnnotation(named) : null;
-  }
-
-  public JComment getComment() {
-    //REVIEW do we want to somehow merge the comments?
-    if (mGetter != null)  return mGetter.getComment();
-    if (mSetter != null)  return mSetter.getComment();
-    return null;
-  }
-
-  public JSourcePosition getSourcePosition() {
-    return mGetter != null ?
-      mGetter.getSourcePosition() : mSetter.getSourcePosition();
-  }
-
-  public void accept(JVisitor visitor) {
-    if (mGetter != null) visitor.visit(mGetter);
-    if (mSetter != null) visitor.visit(mSetter);
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  public String toString() { return getQualifiedName(); }
-
-  // ========================================================================
-  // Private methods
-
-  private void initAnnotations() {
-    if (mSetter != null) {
-      JAnnotation[] anns = mSetter.getAnnotations();
-      for(int i=0; i<anns.length; i++) super.addAnnotation(anns[i]);
-      anns = mSetter.getAllJavadocTags();
-      for(int i=0; i<anns.length; i++) super.addAnnotation(anns[i]);
-    }
-    if (mGetter != null) {
-      JAnnotation[] anns = mGetter.getAnnotations();
-      for(int i=0; i<anns.length; i++) super.addAnnotation(anns[i]);
-      anns = mGetter.getAllJavadocTags();
-      for(int i=0; i<anns.length; i++) super.addAnnotation(anns[i]);
-    }
-  }
-
-
-  /**
-   * Returns an array that is the union of the two arrays of
-   * anotations.
-   */
-  private JAnnotation[] combine(JAnnotation[] a, JAnnotation[] b) {
-    if (a.length == 0) return b;
-    if (b.length == 0) return a;
-    JAnnotation[] out = new JAnnotation[a.length+b.length];
-    System.arraycopy(a,0,out,0,a.length);
-    System.arraycopy(b,0,out,a.length,b.length);
-    return out;
-  }
-
-  /**
-   * Returns an array that is the union of the two arrays of
-   * anotations.
-   */
-  private JComment[] combine(JComment[] a, JComment[] b) {
-    if (a.length == 0) return b;
-    if (b.length == 0) return a;
-    JComment[] out = new JComment[a.length+b.length];
-    System.arraycopy(a,0,out,0,a.length);
-    System.arraycopy(b,0,out,a.length,b.length);
-    return out;
-  }
-
-  public void accept(MVisitor visitor) {
-    //review this is kinda broken
-    if (mGetter != null) visitor.visit((MMethod)mGetter);
-    if (mSetter != null) visitor.visit((MMethod)mSetter);
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/SourcePositionImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/SourcePositionImpl.java
deleted file mode 100644
index 0005b2f..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/SourcePositionImpl.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.mutable.MSourcePosition;
-
-import java.net.URI;
-
-/**
- * <p>Implementation of JSourcePosition and MSourcePosition.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class SourcePositionImpl implements MSourcePosition {
-
-  // ========================================================================
-  // Variables
-
-  private int mColumn = -1;
-  private int mLine = -1;
-  private URI mURI = null;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ SourcePositionImpl() {}
-
-  // ========================================================================
-  // MSourcePosition implementation
-
-  public void setColumn(int col) { mColumn = col; }
-
-  public void setLine(int line) { mLine = line; }
-
-  public void setSourceURI(URI uri) { mURI = uri; }
-
-  // ========================================================================
-  // JSourcePosition implementation
-
-  public int getColumn() { return mColumn; }
-
-  public int getLine() { return mLine; }
-
-  public URI getSourceURI() { return mURI; }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/UnresolvedClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/UnresolvedClassImpl.java
deleted file mode 100644
index d5330e1..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/UnresolvedClassImpl.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JPackage;
-
-/**
- * <p>This is the JClass that is returned when a java type cannot be
- * resolved.  It has only a name.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class UnresolvedClassImpl extends BuiltinClassImpl {
-
-  // ========================================================================
-  // Variables
-
-  private String mPackageName;
-
-  // ========================================================================
-  // Constructor
-
-  public UnresolvedClassImpl(String packageName,
-                             String simpleName,
-                             ElementContext ctx) {
-    super(ctx);
-    if (packageName == null) throw new IllegalArgumentException("null pkg");
-    mPackageName = packageName;
-    reallySetSimpleName(simpleName);
-  }
-
-  // ========================================================================
-  // JClass elements
-
-  public String getQualifiedName() {
-    return ((mPackageName.length() > 0) ? (mPackageName + '.') : "") +
-      mSimpleName;
-  }
-
-  public String getFieldDescriptor() { return getQualifiedName(); }
-
-  public JPackage getContainingPackage() { return null; }
-
-  public boolean isAssignableFrom(JClass c) { return false; }
-
-  public boolean isUnresolvedType() { return true; }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/VoidClassImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/VoidClassImpl.java
deleted file mode 100644
index a2fef70..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/VoidClassImpl.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.elements;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-/**
- * <p>Class implementation to represent the 'void' type.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public final class VoidClassImpl extends BuiltinClassImpl {
-
-  // ========================================================================
-  // Constants
-
-  private static final String SIMPLE_NAME = "void";
-
-// ========================================================================
-  // Public static utilities
-
-  public static boolean isVoid(String fd) {
-    return fd.equals(SIMPLE_NAME);
-  }
-
-  // ========================================================================
-  // Singleton
-
-  public VoidClassImpl(ElementContext ctx) {
-    super(ctx);
-    super.reallySetSimpleName(SIMPLE_NAME);
-  }
-
-  // ========================================================================
-  // JClass implementation
-
-  public boolean isVoidType() { return true; }
-
-  public boolean isAssignableFrom(JClass c) { return false; }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/package.html
deleted file mode 100644
index 4d6c6ba..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/package.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<body>
-  <p>
-    Internal use only.  These classes may change or be removed at any time
-    without warning.
-  </p>
-
-  <p>
-    Contains the implementations of the JElement/EElement trees.
-  </p>
-</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/Javadoc15Delegate.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/Javadoc15Delegate.java
deleted file mode 100644
index 5787729..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/Javadoc15Delegate.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.javadoc;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import com.sun.javadoc.ProgramElementDoc;
-import com.sun.javadoc.Parameter;
-import com.sun.javadoc.ClassDoc;
-import com.sun.javadoc.ExecutableMemberDoc;
-
-/**
- * Provides an interface to 1.5-specific functionality.  The impl of
- * this class is loaded by-name at runtime.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface Javadoc15Delegate {
-
-  public void init(ElementContext ctx);
-
-  public void extractAnnotations(MAnnotatedElement dest,
-                                 ProgramElementDoc src);
-
-  public void extractAnnotations(MAnnotatedElement dest,
-                                 ExecutableMemberDoc method,
-                                 Parameter src);
-
-  /**
-   * Returns true if the given ClassDoc represents an enum.
-   */ 
-  public boolean isEnum(ClassDoc cd);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocClassBuilder.java
deleted file mode 100644
index 4cb2dd6..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocClassBuilder.java
+++ /dev/null
@@ -1,369 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.javadoc;
-
-import com.sun.javadoc.*;
-import org.apache.xmlbeans.impl.jam.mutable.*;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.internal.elements.PrimitiveClassImpl;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceContextImpl;
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.provider.JamClassPopulator;
-import org.apache.xmlbeans.impl.jam.annotation.JavadocTagParser;
-
-import java.io.*;
-import java.util.StringTokenizer;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JavadocClassBuilder extends JamClassBuilder implements JamClassPopulator {
-
-  // ========================================================================
-  // Constants
-
-  public static final String ARGS_PROPERTY = "javadoc.args";
-  public static final String PARSETAGS_PROPERTY = "javadoc.parsetags";
-
-  private static final String JAVA15_EXTRACTOR =
-    "org.apache.xmlbeans.impl.jam.internal.java15.Javadoc15DelegateImpl";
-
-  // ========================================================================
-  // Variables
-
-  private RootDoc mRootDoc = null;
-  private JamServiceContext mServiceContext;
-  private JamLogger mLogger;
-  private Javadoc15Delegate mDelegate = null;
-  private JavadocTagParser mTagParser = null;
-
-  private boolean mParseTags = true;//FIXME
-
-  // ========================================================================
-  // Constructors
-
-  public JavadocClassBuilder(JamServiceContext ctx) {
-    if (ctx == null) throw new IllegalArgumentException("null context");
-    mServiceContext = ctx;
-    mLogger = ctx.getLogger();
-    mTagParser = ctx.getTagParser();
-    String pct = ctx.getProperty(PARSETAGS_PROPERTY);
-    if (pct != null) {
-      mParseTags = Boolean.valueOf(pct).booleanValue();
-      mLogger.verbose("mParseTags="+mParseTags,this);
-    }
-    try {
-      // class for name this because it's 1.5 specific.  if it fails, we
-      // don't want to use the extractor
-      Class.forName("com.sun.javadoc.AnnotationDesc");
-    } catch (ClassNotFoundException e) {
-      if (mLogger.isVerbose(this)) {
-        mLogger.warning("You are running under a pre-1.5 JDK.  JSR175-style "+
-                        "source annotations will not be understood");
-        mLogger.verbose(e);
-      }
-      return;
-    }
-    // ok, if we could load that, let's new up the extractor delegate
-    try {
-      mDelegate = (Javadoc15Delegate)
-        Class.forName(JAVA15_EXTRACTOR).newInstance();
-      // if this fails for any reason, things are in a bad state
-    } catch (ClassNotFoundException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    } catch (IllegalAccessException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    } catch (InstantiationException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    }
-  }
-
-  // ========================================================================
-  // JamClassBuilder implementation
-
-  public void init(ElementContext ctx) {
-    super.init(ctx);
-    if (mDelegate != null) mDelegate.init(ctx);
-    mServiceContext.getLogger().verbose("init()",this);
-    File[] files;
-    try {
-      files = mServiceContext.getSourceFiles();
-    } catch(IOException ioe) {
-      mLogger.error(ioe);
-      return;
-      
-    }
-    if (files == null || files.length == 0) {
-      throw new IllegalArgumentException("No source files in context.");
-    }
-    String sourcePath = (mServiceContext.getInputSourcepath() == null) ? null :
-      mServiceContext.getInputSourcepath().toString();
-    String classPath = (mServiceContext.getInputClasspath() == null) ? null :
-      mServiceContext.getInputClasspath().toString();
-    if (mLogger.isVerbose(this)) {
-      mLogger.verbose("sourcePath ="+sourcePath);
-      mLogger.verbose("classPath ="+classPath);
-      for(int i=0; i<files.length; i++) {
-        mLogger.verbose("including '"+files[i]+"'");
-      }
-    }
-    JavadocRunner jdr = new JavadocRunner();
-    try {
-      PrintWriter out = null;
-      if (mLogger.isVerbose(this)) {
-        out = new PrintWriter(System.out);
-      }
-      mRootDoc = jdr.run(files,
-                         out,
-                         sourcePath,
-                         classPath,
-                         getJavadocArgs(mServiceContext),
-                         mLogger);
-      if (mRootDoc == null) {
-        mLogger.error("Javadoc returned a null root");//FIXME error
-      } else {
-        if (mLogger.isVerbose(this)) {
-          mLogger.verbose(" received "+mRootDoc.classes().length+
-                          " ClassDocs from javadoc: ");
-        }
-        ClassDoc[] classes = mRootDoc.classes();
-        // go through and explicitly add all of the class names.  we need to
-        // do this in case they passed any 'unstructured' classes.  to the
-        // params.  this could use a little TLC.
-        for(int i=0; i<classes.length; i++) {
-          if (mLogger.isVerbose(this)) {
-            mLogger.verbose("..."+classes[i].qualifiedName());
-          }
-          ((JamServiceContextImpl)mServiceContext).
-            includeClass(classes[i].qualifiedName());
-        }
-      }
-    } catch (FileNotFoundException e) {
-      mLogger.error(e);
-    } catch (IOException e) {
-      mLogger.error(e);
-    }
-  }
-
-  public MClass build(String packageName, String className) {
-    if (getLogger().isVerbose(this)) {
-      getLogger().verbose("trying to build '"+packageName+"' '"+className+"'");
-    }
-    String loadme = (packageName.trim().length() > 0) ?
-      (packageName + '.'  + className) :
-      className;
-    ClassDoc cd = mRootDoc.classNamed(loadme);
-    if (cd == null) {
-      if (getLogger().isVerbose(this)) {
-        getLogger().verbose("no ClassDoc for "+loadme);
-      }
-      return null;
-    }
-    List importSpecs = null;
-    {
-      ClassDoc[] imported = cd.importedClasses();
-      if (imported != null) {
-        importSpecs = new ArrayList();
-        for(int i=0; i<imported.length; i++) {
-          importSpecs.add(imported[i].qualifiedName());
-        }
-      }
-    }
-    {
-      PackageDoc[] imported = cd.importedPackages();
-      if (imported != null) {
-        if (importSpecs == null) importSpecs = new ArrayList();
-        for(int i=0; i<imported.length; i++) {
-          importSpecs.add(imported[i].name()+".*");
-        }
-      }
-    }
-    String[] importSpecsArray = null;
-    if (importSpecs != null) {
-      importSpecsArray = new String[importSpecs.size()];
-      importSpecs.toArray(importSpecsArray);
-    }
-    MClass out = createClassToBuild(packageName, className, importSpecsArray, this);
-    out.setArtifact(cd);
-    return out;
-  }
-
-  // ========================================================================
-  // JamClassPopulator implementation
-
-  public void populate(MClass dest) {
-    ClassDoc src = (ClassDoc)dest.getArtifact();
-    dest.setModifiers(src.modifierSpecifier());
-    dest.setIsInterface(src.isInterface());
-    if (mDelegate != null) {
-      dest.setIsEnumType(mDelegate.isEnum(src));
-    }
-    // set the superclass
-    ClassDoc s = src.superclass();
-    if (s != null) dest.setSuperclass(s.qualifiedName());
-    // set the interfaces
-    ClassDoc[] ints = src.interfaces();
-    for(int i=0; i<ints.length; i++) {
-      dest.addInterface(ints[i].qualifiedName());
-    }
-    // add the fields
-    FieldDoc[] fields = src.fields();
-    for(int i=0; i<fields.length; i++) populate(dest.addNewField(),fields[i]);
-    // add the constructors
-    ConstructorDoc[] ctors = src.constructors();
-    for(int i=0; i<ctors.length; i++) populate(dest.addNewConstructor(),ctors[i]);
-    // add the methods
-    MethodDoc[] methods = src.methods();
-    for(int i=0; i<methods.length; i++) populate(dest.addNewMethod(),methods[i]);
-    // add the annotations
-    addAnnotations(dest, src);
-    // add the source position
-    addSourcePosition(dest,src);
-    // add any inner classes
-    ClassDoc[] inners = src.innerClasses();
-    if (inners != null) {
-      for(int i=0; i<inners.length; i++) {
-        MClass inner = dest.addNewInnerClass(inners[i].typeName());
-        inner.setArtifact(inners[i]);
-        populate(inner);
-      }
-    }
-  }
-
-  private void populate(MField dest, FieldDoc src) {
-    dest.setArtifact(src);
-    dest.setSimpleName(src.name());
-    dest.setType(getFdFor(src.type()));
-    dest.setModifiers(src.modifierSpecifier());
-    addAnnotations(dest, src);
-    addSourcePosition(dest,src);
-  }
-
-  private void populate(MMethod dest, MethodDoc src) {
-    populate((MInvokable)dest,(ExecutableMemberDoc)src);
-    dest.setReturnType(getFdFor(src.returnType()));
-  }
-
-  private void populate(MInvokable dest, ExecutableMemberDoc src) {
-    dest.setArtifact(src);
-    dest.setSimpleName(src.name());
-    dest.setModifiers(src.modifierSpecifier());
-    ClassDoc[] exceptions = src.thrownExceptions();
-    for(int i=0; i<exceptions.length; i++) {
-      dest.addException(getFdFor(exceptions[i]));
-    }
-    Parameter[] params = src.parameters();
-    for(int i=0; i<params.length; i++) {
-      populate(dest.addNewParameter(),src,params[i]);
-    }
-    addAnnotations(dest, src);
-    addSourcePosition(dest,src);
-  }
-
-  private void populate(MParameter dest, ExecutableMemberDoc method, Parameter src) {
-    dest.setArtifact(src);
-    dest.setSimpleName(src.name());
-    dest.setType(getFdFor(src.type()));
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,method,src);
-  }
-
-
-  private String[] getJavadocArgs(JamServiceContext ctx) {
-    String prop = ctx.getProperty(ARGS_PROPERTY);
-    if (prop == null) return null;
-    StringTokenizer t = new StringTokenizer(prop);
-    String[] out = new String[t.countTokens()];
-    int i = 0;
-    while(t.hasMoreTokens()) out[i++] = t.nextToken();
-    return out;
-  }
-
-  private void addAnnotations(MAnnotatedElement dest, ProgramElementDoc src) {
-    String comments = src.commentText();
-    if (comments != null) dest.createComment().setText(comments);
-    Tag[] tags = src.tags();
-    //if (mLogger.isVerbose(this)) {
-    //  mLogger.verbose("processing "+tags.length+" javadoc tags on "+dest);
-    //}
-    for(int i=0; i<tags.length; i++) {
-      if (mLogger.isVerbose(this)) {
-        mLogger.verbose("...'"+tags[i].name()+"' ' "+tags[i].text());
-      }
-      //note name() returns the '@', so we strip it here
-      mTagParser.parse(dest,tags[i]);
-    }
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,src);
-  }
-
-  // ========================================================================
-  // Shared(?) utilities
-
-  /**
-   * Returns a classfile-style field descriptor for the given type.
-   * This has to be called to get a name for a javadoc type that can
-   * be used with Class.forName(), JRootContext.getClass(), or
-   * JClass.forName().
-   */
-  public static String getFdFor(Type t) {
-    if (t == null) throw new IllegalArgumentException("null type");
-    String dim = t.dimension();
-    if (dim == null || dim.length() == 0) {
-      ClassDoc cd = t.asClassDoc();
-      if (cd != null) return cd.qualifiedName();
-      return t.qualifiedTypeName();
-    } else {
-      StringWriter out = new StringWriter();
-      for(int i=0, iL=dim.length()/2; i<iL; i++) out.write("[");
-      String primFd =
-              PrimitiveClassImpl.getPrimitiveClassForName(t.qualifiedTypeName());
-      if (primFd != null) { //i.e. if primitive
-        out.write(primFd);
-      } else {
-        out.write("L");
-        if (t.asClassDoc() != null) {
-          out.write(t.asClassDoc().qualifiedName());
-        } else {
-          out.write(t.qualifiedTypeName());
-        }
-        out.write(";");
-      }
-      return out.toString();
-    }
-  }
-
-  public static void addSourcePosition(MElement dest, Doc src) {
-    SourcePosition pos = src.position();
-    if (pos != null) addSourcePosition(dest,pos);
-  }
-
-  public static void addSourcePosition(MElement dest, SourcePosition pos) {
-    MSourcePosition sp = dest.createSourcePosition();
-    sp.setColumn(pos.column());
-    sp.setLine(pos.line());
-    File f = pos.file();
-    if (f != null) sp.setSourceURI(f.toURI());
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocResults.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocResults.java
deleted file mode 100644
index 3eed51e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocResults.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.javadoc;
-
-import com.sun.javadoc.RootDoc;
-
-import java.lang.reflect.Method;
-
-/**
- * <p>Used by JavadocRunner to ensure that we always stash the results
- * of a javadoc run in a place where we can get them.  This is particularly
- * painful because one implements a javdoc doclet by providing a static
- * callback method.  In the case of multiple classloaders, extra care must be
- * taken to ensure that we can stash away the RootDoc result received in
- * the callback and retrieve it later.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JavadocResults {
-
-  // ========================================================================
-  // Singleton
-
-  private static final JavadocResults INSTANCE = new JavadocResults();
-
-  // ========================================================================
-  // Variables
-
-  private ThreadLocal mRootsPerThread = new ThreadLocal();
-
-  // ========================================================================
-  // Public methods
-
-  public static void prepare() {
-    Thread.currentThread().
-            setContextClassLoader(JavadocResults.class.getClassLoader());
-  }
-
-  public static void setRoot(RootDoc root) {
-    try {
-      Object holder = getHolder();
-      Method setter = holder.getClass().getMethod("_setRoot",
-                                                  new Class[] { RootDoc.class });
-      setter.invoke(holder,new Object[] {root});
-    } catch(Exception e) {
-      e.printStackTrace();
-      throw new IllegalStateException();//FIXME??
-    }
-  }
-
-  public static RootDoc getRoot() {
-    try {
-      Object holder = getHolder();
-      Method getter = holder.getClass().getMethod("_getRoot",new Class[0]);
-      return (RootDoc)getter.invoke(holder,(Object[])null);
-    } catch(Exception e) {
-      e.printStackTrace();
-      throw new IllegalStateException();//FIXME??
-    }
-  }
-
-  // ========================================================================
-  // DO NOT CALL THESE METHODS
-
-  public void _setRoot(RootDoc root) { mRootsPerThread.set(root); }
-
-  public RootDoc _getRoot() { return (RootDoc)mRootsPerThread.get(); }
-
-  public static JavadocResults getInstance() { return INSTANCE; }
-
-  private static Object getHolder() throws Exception {
-    ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
-    Class clazz = classLoader.loadClass(JavadocResults.class.getName());
-    Method method = clazz.getMethod("getInstance",new Class[0]);
-    return method.invoke(null,new Object[0]);
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.java
deleted file mode 100644
index a50ae36..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/JavadocRunner.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.internal.javadoc;
-
-import com.sun.javadoc.Doclet;
-import com.sun.javadoc.RootDoc;
-
-import java.io.*;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-
-
-/**
- * <p>This class does its best to encapsulate and make threadsafe the
- * nastiness that is the javadoc 'invocation' API.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JavadocRunner extends Doclet {
-
-  // ========================================================================
-  // Constructor
-
-  /* package */ JavadocRunner() {}
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Runs javadoc on the given source directory and returns a JDRoot
-   * which wraps the javadoc view of the source files there.
-   */
-  /*package*/ synchronized RootDoc run(File[] files,
-                                       PrintWriter out,
-                                       String sourcePath,
-                                       String classPath,
-                                       String[] javadocArgs,
-                                       JamLogger logger)
-          throws IOException, FileNotFoundException
-  {
-    if (files == null || files.length == 0) {
-      throw new FileNotFoundException("No input files found.");
-    }
-    List argList = new ArrayList();
-    if (javadocArgs != null) {
-      argList.addAll(Arrays.asList(javadocArgs));
-    }
-    argList.add("-private");
-    if (sourcePath != null) {
-      argList.add("-sourcepath");
-      argList.add(sourcePath);
-    }
-    if (classPath != null) {
-      argList.add("-classpath");
-      argList.add(classPath);
-      argList.add("-docletpath");
-      argList.add(classPath);
-    }
-    for(int i=0; i<files.length; i++) {
-      argList.add(files[i].toString());
-      if (out != null) out.println(files[i].toString());
-    }
-    String[] args = new String[argList.size()];
-    argList.toArray(args);
-    // create a buffer to capture the crap javadoc spits out.  we'll
-    // just ignore it unless something goes wrong
-    PrintWriter spewWriter;
-    StringWriter spew = null;
-    if (out == null) {
-      spewWriter = new PrintWriter(spew = new StringWriter());
-    } else {
-      spewWriter = out;
-    }
-    ClassLoader originalCCL = Thread.currentThread().getContextClassLoader();
-    try {
-      JavadocResults.prepare();
-      if (logger.isVerbose(this)) {
-        logger.verbose("Invoking javadoc.  Command line equivalent is: ");
-        StringWriter sw = new StringWriter();
-        sw.write("javadoc ");
-        for(int i=0; i<args.length; i++) {
-          sw.write("'");
-          sw.write(args[i]);
-          sw.write("' ");
-        }
-        logger.verbose("  "+sw.toString());
-      }
-      int result = com.sun.tools.javadoc.Main.execute("JAM",
-                                                      spewWriter,
-                                                      spewWriter,
-                                                      spewWriter,
-                                                      this.getClass().getName(),
-                                                      args);
-      RootDoc root = JavadocResults.getRoot();
-      if (result != 0 || root == null) {
-        spewWriter.flush();
-        throw new RuntimeException("Unknown javadoc problem: result="+result+
-                                   ", root="+root+":\n"+
-                                   ((spew == null) ? "" : spew.toString()));
-      }
-      return root;
-    } catch(RuntimeException e) {
-      throw e;
-    } finally {
-      //clean up the mess
-      Thread.currentThread().setContextClassLoader(originalCCL);
-    }
-  }
-
-  // ========================================================================
-  // Doclet 'implementation'
-
-  public static boolean start(RootDoc root) {
-    JavadocResults.setRoot(root);
-    return true;
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/package.html
deleted file mode 100644
index 547f74b..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/javadoc/package.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<body>
-  <p>
-    Internal use only.  These classes may change or be removed at any time
-    without warning.
-  </p>
-
-  <p>
-    This package contains javadoc-based JAM provider.
-  </p>
-</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/package.html
deleted file mode 100644
index f9cbcae..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/package.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<body>
-  <p>
-    Internal use only.  These classes may change or be removed at any time
-    without warning.
-  </p>
-
-  <p>
-    This package contains various classes used in the JAM imlementation.
-  </p>
-</body>
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStruct.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStruct.java
deleted file mode 100644
index 22803ab..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStruct.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.parser;
-
-import org.apache.xmlbeans.impl.jam.mutable.MInvokable;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-/*package*/ class ParamStruct {
-
-  // ========================================================================
-  // Variables
-
-  private String mName;
-  private String mType;
-
-  // ========================================================================
-  // Constructors
-
-  public ParamStruct(String type, String name) {
-    init(type,name);
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public void init(String type, String name) {
-    mType = type;
-    mName = name;
-  }
-
-  public MParameter createParameter(MInvokable e) {
-    if (e == null) throw new IllegalArgumentException("null invokable");
-    MParameter param = e.addNewParameter();
-    param.setSimpleName(mName);
-    param.setUnqualifiedType(mType);
-    return param;
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStructPool.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStructPool.java
deleted file mode 100644
index 0934389..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParamStructPool.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.parser;
-
-import org.apache.xmlbeans.impl.jam.mutable.MInvokable;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p>Utility class which the parser uses to store a list of method
- * or constructor parameters during lookahead.  The structures
- * get reused for efficiency.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ParamStructPool {
-
-  // ========================================================================
-  // Constants
-
-  private static final boolean VERBOSE = true;
-
-  // ========================================================================
-  // Variables
-
-  private List mList = new ArrayList();
-  private int mLength = 0;
-
-  // ========================================================================
-  // Public methods
-
-  public void setParametersOn(MInvokable e) {
-    for(int i=0; i<mLength; i++) {
-      ParamStruct struct = (ParamStruct)mList.get(i);
-      struct.createParameter(e);
-    }
-  }
-
-  public void add(String type, String name) {
-    mLength++;
-    if (mLength >= mList.size()) {
-      mList.add(new ParamStruct(type,name));
-    } else {
-      ((ParamStruct)mList.get(mLength)).init(type,name);
-    }
-  }
-
-  public void clear() {
-    mLength = 0;
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParserClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParserClassBuilder.java
deleted file mode 100644
index f814719..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/ParserClassBuilder.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.parser;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.internal.JamPrinter;
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.provider.ResourcePath;
-import org.apache.xmlbeans.impl.jam.provider.JamClassPopulator;
-
-import java.io.*;
-import java.util.ArrayList;
-import java.util.List;
-
-//FIXME uncomment when we get around to working on the parser again
-//import org.apache.xmlbeans.impl.jam.internal.parser.generated.JavaLexer;
-//import org.apache.xmlbeans.impl.jam.internal.parser.generated.JavaParser;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ParserClassBuilder extends JamClassBuilder implements JamClassPopulator {
-
-  // ========================================================================
-  // Constants
-
-  private static final boolean VERBOSE = false;
-
-  // ========================================================================
-  // Variables
-
-  private ResourcePath mSourcePath;
-  private boolean mVerbose = VERBOSE;
-  private PrintWriter mOut;
-
-  // ========================================================================
-  // Constructors
-
-  private ParserClassBuilder() {}
-
-  public ParserClassBuilder(JamServiceContext jsp) {
-    mSourcePath = jsp.getInputSourcepath();
-    //mOut = jsp.getOut();
-  }
-
-  // ========================================================================
-  // BaseJClassLoader implementation
-
-  public MClass build(String pkg, String name) {
-    if (pkg == null) throw new IllegalArgumentException("null pkg");
-    if (name == null) throw new IllegalArgumentException("null name");
-    String filespec = pkg.replace('.',File.separatorChar)+
-            File.separatorChar+name+".java";
-    if (name.indexOf(".") != -1) {
-      throw new IllegalArgumentException("inner classes are NYI at the moment");
-    }
-    InputStream in = mSourcePath.findInPath(filespec);
-    if (in == null) {
-      if (mVerbose) {
-        mOut.println("[ParserClassBuilder] could not find "+filespec);
-      }
-      return null;
-    } else {
-      if (mVerbose) {
-        mOut.println("[ParserClassBuilder] loading class "+pkg+"  "+name);
-        mOut.println("[ParserClassBuilder] from file "+filespec);
-      }
-    }
-    Reader rin = new InputStreamReader(in);
-    try {
-      MClass[] clazz = null;//FIXME parse(rin,loader);
-      if (clazz.length > 1) {
-        System.out.println("WARNING: multiple classes per package are not "+
-                           "handled correctly at the moment.  FIXME");
-      }
-      return clazz[0]; //FIXME deal properly with multiple classes
-    } catch(Throwable t) {
-      t.printStackTrace();
-    }
-    return null;
-  }
-
-  // ========================================================================
-  // JamClassPopulator implementation
-  
-  public void populate(MClass m) {
-    throw new IllegalStateException("NYI");
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private static MClass[] parse(Reader in, JamClassLoader loader) throws Exception {
-    if (in == null) throw new IllegalArgumentException("null in");
-    if (loader == null) throw new IllegalArgumentException("null loader");
-
-    //FIXME uncomment when we get around to working on the parser again
-    throw new IllegalStateException("temporarily NI");
-/*
-    JavaLexer lexer = new JavaLexer(in);
-    JavaParser parser = new JavaParser(lexer);
-    parser.setClassLoader(loader);
-    parser.start();
-    return parser.getResults();
-    */
-  }
-
-  // ========================================================================
-  // main method
-
-  public static void main(String[] files) {
-    new ParserClassBuilder.MainTool().process(files);
-  }
-
-  static class MainTool {
-    private List mFailures = new ArrayList();
-    private int mCount = 0;
-    private PrintWriter mOut = new PrintWriter(System.out);
-    private long mStartTime = System.currentTimeMillis();
-
-    public void process(String[] files) {
-      try {
-        for(int i=0; i<files.length; i++) {
-          File input = new File(files[i]);
-          parse(new ParserClassBuilder(),input);
-        }
-      } catch(Exception e) {
-        e.printStackTrace();
-      }
-      mOut.println("\n\n\n");
-      int fails = mFailures.size();
-      if (fails != 0) {
-        mOut.println("The following files failed to parse:");
-        for(int i=0; i<fails; i++) {
-          mOut.println(((File)mFailures.get(i)).getAbsolutePath());
-        }
-      }
-      mOut.println((((mCount-fails)*100)/mCount)+
-                   "% ("+(mCount-fails)+"/"+mCount+") "+
-                   "of input java files successfully parsed.");
-      mOut.println("Total time: "+
-                   ((System.currentTimeMillis()-mStartTime)/1000)+
-                   " seconds.");
-      mOut.flush();
-      System.out.flush();
-      System.err.flush();
-    }
-
-    private void parse(ParserClassBuilder parser, File input)
-            throws Exception
-    {
-      System.gc();
-      if (input.isDirectory()) {
-        if (VERBOSE) mOut.println("scanning in directory "+input);
-        File[] files = input.listFiles();
-        for(int i=0; i<files.length; i++) {
-          parse(parser,files[i]);
-        }
-      } else {
-        if (!input.getName().endsWith(".java")) return;
-        if (VERBOSE) {
-          mOut.println("-----------------------------------------");
-          mOut.println("processing "+input);
-          mOut.println("-----------------------------------------");
-        }
-        mCount++;
-        MClass[] results = null;
-        try {
-          results = parser.parse(new FileReader(input),null);
-          if (results == null) {
-            mOut.println("[error, parser result is null]");
-            addFailure(input);
-          } else {
-            if (VERBOSE) {
-              JamPrinter jp = JamPrinter.newInstance();
-              for(int i=0; i<results.length; i++) {
-                jp.print(results[i],mOut);
-              }
-            }
-          }
-        } catch(Throwable e) {
-          e.printStackTrace(mOut);
-          addFailure(input);
-        }
-      }
-    }
-
-    private void addFailure(File file) {
-      mFailures.add(file);
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/package.html
deleted file mode 100644
index 305eca0..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/parser/package.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<body>
-  <p>
-    Internal use only.  These classes may change or be removed at any time
-    without warning.
-  </p>
-
-  <p>
-    Contains classes for the java source parser that is currently being
-    written to allow us to remove javadoc from the equation.
-  </p>
-</body>
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/Reflect15Delegate.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/Reflect15Delegate.java
deleted file mode 100644
index af29b35..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/Reflect15Delegate.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.reflect;
-
-import org.apache.xmlbeans.impl.jam.mutable.MMember;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-import java.lang.reflect.Method;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface Reflect15Delegate {
-
-  public void init(ElementContext ctx);
-
-  public void extractAnnotations(MMember dest, Method src);
-
-  public void extractAnnotations(MConstructor dest, Constructor src);
-
-  public void extractAnnotations(MField dest, Field src);
-
-  public void extractAnnotations(MClass dest, Class src);
-
-  public void extractAnnotations(MParameter dest, Method src, int paramNum);
-
-  public void extractAnnotations(MParameter dest, Constructor src, int paramNum);
-
-  public boolean isEnum(Class clazz);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/ReflectClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/ReflectClassBuilder.java
deleted file mode 100644
index d38b8c4..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/reflect/ReflectClassBuilder.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.reflect;
-
-import org.apache.xmlbeans.impl.jam.mutable.*;
-import org.apache.xmlbeans.impl.jam.provider.JamClassBuilder;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceContext;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-import org.apache.xmlbeans.impl.jam.provider.JamClassPopulator;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-
-import com.sun.javadoc.ClassDoc;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ReflectClassBuilder extends JamClassBuilder implements JamClassPopulator {
-
-  // ========================================================================
-  // Constants
-
-  private static final String JAVA15_EXTRACTOR =
-    "org.apache.xmlbeans.impl.jam.internal.java15.Reflect15DelegateImpl";
-
-  // ========================================================================
-  // Public static utilities
-
-  public static JamClassBuilder getSystemClassBuilder(JamServiceContext ctx) {
-    return new ReflectClassBuilder(ClassLoader.getSystemClassLoader(),ctx);
-  }
-
-  // ========================================================================
-  // Variables
-
-  private ClassLoader mLoader;
-  private Reflect15Delegate mDelegate = null;
-  private JamLogger mLogger = null;
-
-  // ========================================================================
-  // Constructors
-
-  public ReflectClassBuilder(ClassLoader rcl, JamServiceContext ctx) {
-    if (rcl == null) throw new IllegalArgumentException("null rcl");
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    mLogger = ctx;
-    mLoader = rcl;
-    try {
-      // class for name this because it's 1.5 specific.  if it fails, we
-      // don't want to use the extractor
-      Class.forName("java.lang.annotation.Annotation");
-    } catch (ClassNotFoundException e) {
-      if (mLogger.isVerbose(this)) {
-        mLogger.warning("You are running under a pre-1.5 JDK.  JSR175-style "+
-                        "class annotations will not be understood");
-        mLogger.verbose(e);
-      }
-      return;
-    }
-    // ok, if we could load that, let's new up the extractor delegate
-    try {
-      mDelegate = (Reflect15Delegate)
-        Class.forName(JAVA15_EXTRACTOR).newInstance();
-      mDelegate.init((ElementContext)ctx);
-      // if this fails for any reason, things are in a bad state
-    } catch (ClassNotFoundException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    } catch (IllegalAccessException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    } catch (InstantiationException e) {
-      mLogger.error("Internal error, failed to instantiate "+
-                    JAVA15_EXTRACTOR);
-      mLogger.error(e);
-    }
-  }
-  // ========================================================================
-  // JamClassBuilder implementation
-
-  public MClass build(String packageName, String className)
-  {
-    if (getLogger().isVerbose(this)) {
-      getLogger().verbose("trying to build '"+packageName+"' '"+className+"'");
-    }
-    Class rclass;
-    try {
-      String loadme = (packageName.trim().length() > 0) ?
-        (packageName + '.'  + className) :
-        className;
-      rclass = mLoader.loadClass(loadme);
-    } catch(ClassNotFoundException cnfe) {
-      getLogger().verbose(cnfe,this);
-      return null;
-    }
-    MClass out = createClassToBuild(packageName, className, null, this);
-    out.setArtifact(rclass);
-    return out;
-  }
-
-  // ========================================================================
-  // JamClassPopulator implementation
-
-  public void populate(MClass dest) {
-    Class src = (Class)dest.getArtifact();
-    dest.setModifiers(src.getModifiers());
-    dest.setIsInterface(src.isInterface());
-    if (mDelegate != null) dest.setIsEnumType(mDelegate.isEnum(src));
-    // set the superclass
-    Class s = src.getSuperclass();
-    if (s != null) dest.setSuperclass(s.getName());
-    // set the interfaces
-    Class[] ints = src.getInterfaces();
-    for(int i=0; i<ints.length; i++) dest.addInterface(ints[i].getName());
-    // add the fields
-    Field[] fields = null;
-    try {
-      fields = src.getFields();
-    } catch(Exception ignore) {
-      //FIXME there seems to be some JDK bugs here, workaround for now 180996
-    }
-    if (fields != null) {
-      for(int i=0; i<fields.length; i++) populate(dest.addNewField(),fields[i]);
-    }
-    // add the methods
-    Method[] methods = src.getDeclaredMethods();
-    for(int i=0; i<methods.length; i++) populate(dest.addNewMethod(),methods[i]);
-    // add the constructors
-    Constructor[] ctors = src.getDeclaredConstructors();
-    for(int i=0; i<ctors.length; i++) populate(dest.addNewConstructor(),ctors[i]);
-    // add the annotations
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,src);
-
-    // add any inner classes
-    Class[] inners = src.getDeclaredClasses();
-    if (inners != null) {
-      for(int i=0; i<inners.length; i++) {
-        String simpleName = inners[i].getName();
-        int lastDot = simpleName.lastIndexOf('.');
-        simpleName = simpleName.substring(lastDot+1);
-        MClass inner = dest.addNewInnerClass(simpleName);
-        inner.setArtifact(inners[i]);
-        populate(inner);
-      }
-    }
-  }
-
-  private void populate(MField dest, Field src) {
-    dest.setSimpleName(src.getName());
-    dest.setType(src.getType().getName());
-    dest.setModifiers(src.getModifiers());
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,src);
-  }
-
-  private void populate(MConstructor dest, Constructor src) {
-    dest.setSimpleName(src.getName());
-    dest.setModifiers(src.getModifiers());
-    Class[] exceptions = src.getExceptionTypes();
-    addThrows(dest,exceptions);
-    Class[] paramTypes = src.getParameterTypes();
-    for(int i=0; i<paramTypes.length; i++) {
-      MParameter p = addParameter(dest, i, paramTypes[i]);
-      if (mDelegate != null) mDelegate.extractAnnotations(p,src,i);
-    }
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,src);
-  }
-
-  private void populate(MMethod dest, Method src) {
-    dest.setSimpleName(src.getName());
-    dest.setModifiers(src.getModifiers());
-    dest.setReturnType(src.getReturnType().getName());
-    Class[] exceptions = src.getExceptionTypes();
-    addThrows(dest,exceptions);
-    Class[] paramTypes = src.getParameterTypes();
-    for(int i=0; i<paramTypes.length; i++) {
-      MParameter p = addParameter(dest, i, paramTypes[i]);
-      if (mDelegate != null) mDelegate.extractAnnotations(p,src,i);
-    }
-    if (mDelegate != null) mDelegate.extractAnnotations(dest,src);
-  }
-
-  private void addThrows(MInvokable dest, Class[] exceptionTypes) {
-    for(int i=0; i<exceptionTypes.length; i++) {
-      dest.addException(exceptionTypes[i].getName());
-    }
-  }
-
-  private MParameter addParameter(MInvokable dest,
-                                  int paramNum,
-                                  Class paramType)
-  {
-    MParameter p = dest.addNewParameter();
-    p.setSimpleName("param"+paramNum);
-    p.setType(paramType.getName());
-    return p;
-  }
-
-
-
-
-//salvaged from RClassLoader, may be useful for parser
-  /*
-  private void validateClassName(String className)
-          throws IllegalArgumentException
-  {
-    if (!Character.isJavaIdentifierStart(className.charAt(0))) {
-      throw new IllegalArgumentException
-              ("Invalid first character in class name: "+className);
-    }
-    for(int i=1; i<className.length(); i++) {
-      char c = className.charAt(i);
-      if (c == '.') {
-        if (className.charAt(i-1) == '.') {
-          throw new IllegalArgumentException
-                  ("'..' not allowed in class name: "+className);
-        }
-        if (i == className.length()-1) {
-          throw new IllegalArgumentException
-                  ("'.' not allowed at end of class name: "+className);
-        }
-      } else {
-        if (!Character.isJavaIdentifierPart(c)) {
-          throw new IllegalArgumentException
-                  ("Illegal character '"+c+"' in class name: "+className);
-        }
-      }
-    }
-  }
-  */
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotatedElement.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotatedElement.java
deleted file mode 100644
index bff17fe..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotatedElement.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-
-
-/**
- * <p>Mutable version of JAnnotatedElement.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MAnnotatedElement extends MElement, JAnnotatedElement {
-
-  /**
-   * Returns the annotation having the given name, creating it if it doesn't
-   * exist.
-   */
-  public MAnnotation findOrCreateAnnotation(String annotationName);
-
-
-  
-  public MAnnotation[] getMutableAnnotations();
-
-  //DOCME
-  public MAnnotation getMutableAnnotation(String named);
-
-
-
-  //DOCME
-  public MAnnotation addLiteralAnnotation(String annotationName);
-
-//  public MAnnotation[] getLiteralMutableAnnotations();
-
-//  public MAnnotation[] getLiteralMutableAnnotations(String named);
-
-
-  //DOCME
-  public MComment getMutableComment();
-
-  //DOCME
-  public MComment createComment();
-
-  //DOCME
-  public void removeComment();
-
-
-
-  /**
-   * @deprecated
-   */
-  public MAnnotation addAnnotationForTag(String tagName, String value);
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotation.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotation.java
deleted file mode 100644
index 1acffb4..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MAnnotation.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy;
-
-/**
- * <p>Mutable version of JAnnotation.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MAnnotation extends JAnnotation, MElement {
-
-  // ========================================================================
-  // MAnnotation implementation
-
-  public void setAnnotationInstance(Object o);
-
-  public void setSimpleValue(String name, Object value, JClass declaredType);
-
-  public MAnnotation createNestedValue(String name, String annTypeName);
-
-  public MAnnotation[] createNestedValueArray(String name,
-                                              String componentTypeName,
-                                              int dimensions);
-
-  //public AnnotationProxy getMutableProxy();//i think this is bad
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MClass.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MClass.java
deleted file mode 100644
index a169438..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MClass.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JProperty;
-import org.apache.xmlbeans.impl.jam.JMethod;
-
-/**
- * <p>Mutable version of JClass.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MClass extends MMember, JClass {
-
-  public void setIsInterface(boolean b);
-
-  public void setIsAnnotationType(boolean b);
-
-  public void setIsEnumType(boolean b);
-
-  /**
-   * Sets the class which this class extends.  The class name must be fully-
-   * qualified.  Pass null to make the class extend nothing.
-   *
-   * @throws IllegalArgumentException if the name is not a valid class name.
-   */
-  public void setSuperclass(String qualifiedClassName);
-
-  /**
-   * Sets the name of this class that this class extends.  The name
-   * may or may nor be fully-qualified.  Pass null to make the class
-   * extend nothing.
-   *
-   * @throws IllegalArgumentException if the name is not a valid class name.
-   */
-  public void setSuperclassUnqualified(String unqualifiedClassName);
-
-  /**
-   * Sets the class which this class extends.  Pass null to make the class
-   * extend nothing.
-   *
-   * @throws IllegalArgumentException if the given class cannot be extended
-   * (i.e. final classes, interfaces, void, primitives, arrays).
-   */
-  public void setSuperclass(JClass clazz);
-
-  /**
-   * Adds to the list of interfaces implemented by this class.
-   *
-   * @throws IllegalArgumentException if the parameter is null or is not
-   * a valid class name.
-   */
-  public void addInterface(String className);
-
-  /**
-   * Adds to the list of interfaces implemented by this class.  The class name
-   * may or may not be qualified.
-   *
-   * @throws IllegalArgumentException if the parameter is null or is not
-   * a valid class name.
-   */
-  public void addInterfaceUnqualified(String unqualifiedClassName);
-
-  /**
-   * Adds to the list of interfaces implemented by this class.
-   *
-   * @throws IllegalArgumentException if the given class cannot be implemented
-   * (i.e. is not an interface).
-   */
-  public void addInterface(JClass interf);
-
-  /**
-   * Removes a named interface from the list of interfaces implemented by
-   * this class.  Does nothing if the class does not implement the named
-   * interface.
-   *
-   * @throws IllegalArgumentException if the parameter is null or is not
-   * a valid class name.
-   */
-  public void removeInterface(String className);
-
-  /**
-   * Removes an interface from the list of interfaces implemented by
-   * this class.  Does nothing if the class does not implement the named
-   * interface.
-   *
-   * @throws IllegalArgumentException if the parameter is null or is not
-   * an interface.
-   */
-  public void removeInterface(JClass interf);
-
-  /**
-   * Creates a new constructor, adds it to this class, and returns it.
-   */
-  public MConstructor addNewConstructor();
-
-  /**
-   * Removes a constructor from this class.  Does nothing if the given
-   * constructor is not on this class.
-   */
-  public void removeConstructor(MConstructor constr);
-
-  /**
-   * Returns the constructors declared on this class.  This does not include
-   * constructors from any base class or interface.  This is simply a more
-   * strongly-typed version of getDeclaredConstructors().
-   */
-  public MConstructor[] getMutableConstructors();
-
-  /**
-   * Creates a new field, adds it to this class, and returns it.
-   * The type of the field must be qualified
-   */
-  public MField addNewField();
-
-  /**
-   * Removes the given field from this class.  Does nothing if this class
-   * does not contain the field.
-   */
-  public void removeField(MField field);
-
-  /**
-   * Returns the fields declared on this class.  This does not include
-   * fields from any base class or interface.  This is simply a more
-   * strongly-typed version of getDeclaredFields().
-   */
-  public MField[] getMutableFields();
-
-  /**
-   * Creates a new method, adds it to this class, and returns it.
-   */
-  public MMethod addNewMethod();
-
-  /**
-   * Removes the given method from this class.  Does nothing if this class
-   * does not contain the method.
-   */
-  public void removeMethod(MMethod method);
-
-  /**
-   * Returns the EditableMethods declared on this class.  This does not
-   * include methods inherited from any base class or interface.  This is
-   * simply a more strongly-typed version of getDeclaredMethods().
-   */
-  public MMethod[] getMutableMethods();
-
-
-  public JProperty addNewProperty(String name, JMethod getter, JMethod setter);
-
-  public void removeProperty(JProperty prop);
-
-  public JProperty addNewDeclaredProperty(String name, JMethod getter, JMethod setter);
-
-  public void removeDeclaredProperty(JProperty prop);
-
-  public MClass addNewInnerClass(String name);
-
-  public void removeInnerClass(MClass clazz);
-
-
-
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MComment.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MComment.java
deleted file mode 100644
index 578e096..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MComment.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JComment;
-
-/**
- * <p>Mutable version of JComment.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MComment extends MElement, JComment {
-
-  /**
-   * Sets the text of this comment.
-   */
-  public void setText(String text);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MConstructor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MConstructor.java
deleted file mode 100644
index 9165db9..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MConstructor.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JConstructor;
-
-/**
- * <p>Mutable version of JConstructor.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MConstructor extends JConstructor, MInvokable {
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MElement.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MElement.java
deleted file mode 100644
index ae23dc7..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MElement.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JElement;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-
-/**
- * <p>Mutable version of JElement.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MElement extends JElement {
-
-  public JamClassLoader getClassLoader();
-
-  //DOCME
-  public void setSimpleName(String name);
-
-  //DOCME
-  public MSourcePosition createSourcePosition();
-
-  //DOCME
-  public void removeSourcePosition();
-
-  //DOCME
-  public MSourcePosition getMutableSourcePosition();
-
-  //DOCME
-  public void accept(MVisitor visitor);
-
-  //DOCME
-  public void setArtifact(Object o);
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MField.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MField.java
deleted file mode 100644
index a752ae3..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MField.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JField;
-
-/**
- * <p>Mutable version of JField.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MField extends JField, MMember {
-
-  public void setType(String typeName);
-
-  public void setUnqualifiedType(String typeName);
-
-  public void setType(JClass type);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MInvokable.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MInvokable.java
deleted file mode 100644
index d25e884..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MInvokable.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JInvokable;
-
-/**
- * <p>Mutable version of JInvokable.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MInvokable extends JInvokable, MMember {
-  /**
-   * <p>Adds a declaration of a checked exception of the given type.</p>
-   *
-   * @throws java.lang.IllegalArgumentException if the parameter is null or is not
-   * a valid class name.
-   */
-  public void addException(String qualifiedClassName);
-
-  /**
-   * <p>Adds a declaration of a checked exception of the given type.</p>
-   *
-   * @throws java.lang.IllegalArgumentException if the parameter is null or represents
-   * a class which does not extend throwable.
-   */
-  public void addException(JClass exceptionClass);
-
-  /**
-   * Removes a declaration of a checked exception of the named class.  Does
-   * nothing if no such declaration exists.
-   *
-   * @throws java.lang.IllegalArgumentException if the parameter is null or is not
-   * a valid class name.
-   */
-  public void removeException(String qualifiedClassName);
-
-  /**
-   * Removes a declaration of a checked exception of the given class.  Does
-   * nothing if no such declaration exists.
-   *
-   * @throws java.lang.IllegalArgumentException if the parameter is null.
-   */
-  public void removeException(JClass exceptionClass);
-
-  /**
-   * Creates a new parameter on this method of type java.lang.Object and
-   * with a default name.
-   */
-  public MParameter addNewParameter();
-
-  /**
-   * Removes the given parameter.  Does nothing if the parameter is not
-   * present on this method.
-   *
-   * @throws java.lang.IllegalArgumentException if either parameter is null.
-   */
-  public void removeParameter(MParameter parameter);
-
-  /**
-   * Returns all of the parameters on this method, or an empty array if there
-   * are none.  This is simply a more strongly-typed version of
-   * getParameters().
-   */
-  public MParameter[] getMutableParameters();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMember.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMember.java
deleted file mode 100644
index 01e781e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMember.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JMember;
-
-/**
- * <p>Mutable version of JMember.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MMember extends MAnnotatedElement, JMember {
-
-  public void setModifiers(int modifiers);
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMethod.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMethod.java
deleted file mode 100644
index 70893d6..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MMethod.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JMethod;
-
-/**
- * <p>Mutable version of JMethod.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MMethod extends JMethod, MInvokable {
-
-  /**
-   * <p>Sets the type of this method's return value.  Null can be passed if
-   * a 'void' return type is desired.</p>
-   *
-   * @throws IllegalArgumentException if the parameter is not a valid
-   * java class name.
-   */
-  public void setReturnType(String qualifiedTypeName);
-
-  public void setUnqualifiedReturnType(String unqualifiedTypeName);
-
-  /**
-   * <p>Sets the type of this method's return value.  Null may be passed if
-   * a 'void' return type is desired.  This method is exactly equivalent to
-   * calling setReturnType(jclass.getQualifiedName()).</p>
-   */
-  public void setReturnType(JClass c);
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MPackage.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MPackage.java
deleted file mode 100644
index d5cfb21..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MPackage.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JPackage;
-
-/**
- * <p>Mutable version of JPackage.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MPackage extends  JPackage, MAnnotatedElement {
-
-  public MClass[] getMutableClasses();
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MParameter.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MParameter.java
deleted file mode 100644
index 1fa41ce..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MParameter.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JParameter;
-
-/**
- * <p>Mutable version of JParameter.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MParameter extends JParameter, MMember {
-
-  public void setType(String typeName);
-
-  public void setType(JClass type);
-
-  public void setUnqualifiedType(String ucname);
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MSourcePosition.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MSourcePosition.java
deleted file mode 100644
index e7c2bdd..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/MSourcePosition.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.mutable;
-
-import org.apache.xmlbeans.impl.jam.JSourcePosition;
-
-import java.net.URI;
-
-/**
- * <p>Mutable version of JSourcePosition.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface MSourcePosition extends JSourcePosition {
-
-  /**
-   * Sets the text column number for this source position.  Set to -1 if
-   * it is not known.
-   */
-  public void setColumn(int col);
-
-  /**
-   * Sets the text line number for this source position.  Set to -1 if
-   * it is not known.
-   */
-  public void setLine(int line);
-
-  /**
-   * Sets the URI of the source file.  Set to null if it is not known.
-   */
-  public void setSourceURI(URI uri);
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/package.html
deleted file mode 100644
index aa3482a..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/mutable/package.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<body>
-  <p>
-    Provides a modifiable view of the JElement tree.  This package contains
-    interfaces which parallel and extend the JElement tree, adding and
-    editing functionality to that the view of the java type system can
-    be modified.
-  </p>
-
-  <p>
-    Typically, this is only used in conjunction with an 'initializer'
-    ElementVisitor which is run on a JClass when it is first loaded.  The
-    initializer might use these editable 'M*' abstractions to, for example,
-    do some pre-processing on the comments or annotations, or to determine
-    which methods on a class should be exposed as JProperties.  The M*
-    classes are also used by JAM providers in implementing the JamClassBuilder
-    interface, which populates an EClass with methods, fields, and so on.
-  </p>
-
-  <p>
-    It is also possible to use this package to synthesize a view
-    of a java class which does not actually exist in any class or source
-    file.  This could be useful, for example, to drive a code-generation
-    mechanism (Note that JAM does not provide a model for the contents of
-    method bodies, so this may not be a useful approach).
-  </p>
-</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/package.html
deleted file mode 100644
index a68c694..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/package.html
+++ /dev/null
@@ -1,217 +0,0 @@
-<body>
-
-<p>
-JAM's core API.  This package includes JAM's factory mechanism
-(the Jam* classes) as well as object model (J* classes) which
-are used to model a set of Java types.
-</p>
-
-<!--
-
-<p>
-The Java API for Metadata (JAM) provides a representation of
-Java abstractions (such as classes and methods) and their 
-associated metadata.  This model serves to decouple its clients' code 
-from any specific introspection mechanism such as javadoc or reflection.
-</p>
-
-<p>This approach has several key advantages:</p>
-<ul>
-
-  <li><b>A unified introspection API for sources and classes.</b>
-  In fact, source- and class-based representations can be freely 
-  interwoven, if desired.</li>
-<p>
-  <li><b>A measure of certainty in an uncertain world.</b>
-  Metadata is a hot topic at the moment, and the way we deal with it
-  is going to change dramatically over the next year or two.
-  By writing to the JAM API, you can be sure that you won't
-  have to rewrite your code to accommodate emerging tools and standards
-  (JSR175, for example).</li>
-<p>
-  <li><b>Pluggable metadata stores.</b>
-  Metadata can be retrieved from an external source (such as an XML file) 
-  or even generated programmatically.  This also allows metadata to 
-  be associated with java constructs that may not normally support 
-  annotations (such as packages).</li>
-<p>
-  <li><b>A Node-based view of Java constructs.</b> 
-  JAM clients have the option of viewing their java constructs as a tree 
-  of generic, DOM-like nodes (packages contain classes, classes contain 
-  methods) each of which may have associated annotations.  This is 
-  extremely helpful for tools which wish to support annotation
-  inheritance.</li>
-
-</ul>
-
-
-<h3>Comparison of Java Type Inspection Technologies</h3>
-
-
-
-<table border='1'>
-  <tr>
-    <td />
-    <td colspan='2' align='center'>JDK 1.4</td>
-    <td colspan='2' align='center'>JDK 1.5</td>
-  </tr>
-  <tr>
-    <td />
-    <td>Javadoc</td>
-    <td>Reflect</td>
-    <td>Javadoc</td>
-    <td>Reflect</td>
-    <td>JavaBeans</td>
-    <td>XDoclet</td>
-    <td>QDox</td>
-    <td>JAM</td>
-  </tr>
-
-  <tr>
-    <td>JSR-175 from sources</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>JSR-175 from classfiles</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Javadoc-style metadata from source</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td>?</td>
-    <td>no</td>
-    <td>no</td>
-    <td>?</td>
-    <td>?</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Line/column number info</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no(1)</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no(1)</td>
-    <td>no(1)</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Retrieve comments from source</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Method parameter names</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no(1)</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no(1)</td>
-    <td>no(1)</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Overlay external metadata</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Full introspection of 175 annotation types<br>
-        (including default values)</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-
-  <tr>
-    <td>Parse invalid source files</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Extensibility/SPI</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  <tr>
-    <td>Supports 'Property' abstraction</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-    <td>no</td>
-    <td>no</td>
-    <td bgcolor='#22DD22'>yes</td>
-  </tr>
-
-  </table>
-
-<h4>notes</h4>
-<p>
-    (1) This information is embedded in the .class files when the -g debug
-        flag specified on javac so that it can be displayed in stack
-        traces.  However, there still is no API provided for retrieving 
-        this information at runtime.<br />
-</p>
-
-
--->
-
-</body>
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/CompositeJamClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/CompositeJamClassBuilder.java
deleted file mode 100644
index c7000cd..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/CompositeJamClassBuilder.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.provider;
-
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-/**
- * <p>Composite implementation of JamClassBuilder.  When building,
- * the first one in the list to not return null wins.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class CompositeJamClassBuilder extends JamClassBuilder {
-
-  // ========================================================================
-  // Variables
-
-  private JamClassBuilder[] mBuilders;
-
-  // ========================================================================
-  // Constructors
-
-  public CompositeJamClassBuilder(JamClassBuilder[] builders) {
-    if (builders == null) throw new IllegalArgumentException("null builders");
-    mBuilders = builders;
-  }
-
-  // ========================================================================
-  // JamClassBuilder implementation
-
-  public void init(ElementContext ctx) {
-    for(int i=0; i<mBuilders.length; i++) mBuilders[i].init(ctx);
-  }
-
-  public MClass build(String pkg, String cname) {
-    MClass out = null;
-    for(int i=0; i<mBuilders.length; i++) {
-      out = mBuilders[i].build(pkg,cname);
-      if (out != null) return out;
-    }
-    return null;
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassBuilder.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassBuilder.java
deleted file mode 100644
index f5a3fe0..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassBuilder.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.provider;
-
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.ClassImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-/**
- * <p>Implemented by providers to build and initialize classes on demand.
- * The main responsibility a JAM provider has is writing an extension of this
- * class.
- * </p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class JamClassBuilder {
-
-  // ========================================================================
-  // Variable
-
-  private ElementContext mContext = null;
-
-  // ========================================================================
-  // Public methods
-
-  public void init(ElementContext ctx) {
-    if (mContext != null) {
-      throw new IllegalStateException("init called more than once");
-    }
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    mContext = ctx;
-  }
-
-  // ========================================================================
-  // Protected methods
-
-  /**
-   * <p>When a JamClassBuilder decides that it is going to be able
-   * to respond to a build() request, it must call this method to get an
-   * initial instance of MClass to return.</p>
-   *
-   * @param packageName qualified name of the package that contains the
-   * class to create
-   * @param className simple name of the class to create.
-   * @param importSpecs array of import specs to be used in the class,
-   * or null if not known or relevant.  Import specs are only needed if
-   * the builder is planning on setting any unqualified type references
-   * on the class.
-   */
-  protected MClass createClassToBuild(String packageName,
-                                      String className,
-                                      String[] importSpecs,
-                                      JamClassPopulator pop)
-  {
-    if (mContext == null) throw new IllegalStateException("init not called");
-    if (packageName == null) throw new IllegalArgumentException("null pkg");
-    if (className == null) throw new IllegalArgumentException("null class");
-    if (pop == null) throw new IllegalArgumentException("null pop");
-    className = className.replace('.','$');
-    ClassImpl out = new ClassImpl(packageName,className,mContext,importSpecs,pop);
-    return out;
-  }
-
-  /**
-   * <p>When a JamClassBuilder decides that it is going to be able
-   * to respond to a build() request, it must call this method to get an
-   * initial instance of MClass to return.</p>
-   *
-   * @param packageName qualified name of the package that contains the
-   * class to create
-   * @param className simple name of the class to create.
-   * @param importSpecs array of import specs to be used in the class,
-   * or null if not known or relevant.  Import specs are only needed if
-   * the builder is planning on setting any unqualified type references
-   * on the class.
-   */
-  protected MClass createClassToBuild(String packageName,
-                                      String className,
-                                      String[] importSpecs)
-  {
-    if (mContext == null) throw new IllegalStateException("init not called");
-    if (packageName == null) throw new IllegalArgumentException("null pkg");
-    if (className == null) throw new IllegalArgumentException("null class");
-    className = className.replace('.','$');
-    ClassImpl out = new ClassImpl(packageName,className,mContext,importSpecs);
-    return out;
-  }
-
-  protected JamLogger getLogger() {
-    if (mContext == null) throw new IllegalStateException("init not called");
-    return mContext;
-  }
-
-  // ========================================================================
-  // Abstract methods
-  
-  /**
-   * <p>This is called by JAM when it attempts to load a class.  If the
-   * builder has access to an artifact (typically a java source or classfile)
-   * that represents the given type, it should call createClassToBuild() to get
-   * a new instance of MClass and then return it.  No caching should be
-   * performed - if an MClass is going to be returned, it should be a new
-   * instance returned by createClassToBuild()</p>
-   *
-   * <p>If no artififact is available, the builder should just return null,
-   * signalling that other JamClassBuilders should attempt to build the
-   * class.</p>
-   *
-   * @param packageName
-   * @param className
-   * @return
-   */ 
-  public abstract MClass build(String packageName, String className);
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassPopulator.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassPopulator.java
deleted file mode 100644
index eed5763..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamClassPopulator.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.provider;
-
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamClassPopulator {
-
-  /**
-   * <p>Called by JAM to 'fill out' an instance of a given MClass with
-   * things like methods and fields.  The implementing builder is responsible
-   * for inspecting the source artifact (typically a source or class file)
-   * to call the appropriate createX methods on the given MClass.</p>
-   *
-   * @param c
-   */
-  public abstract void populate(MClass c);
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamLogger.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamLogger.java
deleted file mode 100644
index c260977..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamLogger.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.provider;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamLogger {
-
-  public void setVerbose(Class c);
-
-  public boolean isVerbose(Object o);
-
-  public void setShowWarnings(boolean b);
-
-  /**
-   * <p>Outputs a debug message if appropriate for the given object.</p>
-   */
-  public void verbose(String msg, Object ifThisIsVerbose);
-
-  /**
-   * <p>Outputs a debug message if appropriate for the given object.</p>
-   */
-  public void verbose(Throwable t, Object ifThisIsVerbose);
-
-  /**
-   * <p>Outputs a debug message no matter what.</p>
-   */
-  public void verbose(String msg);
-
-  /**
-   * <p>Outputs a debug message no matter what.</p>
-   */
-  public void verbose(Throwable t);
-
-  /**
-   * <p>Outputs a debug message as appropriate.</p>
-   */
-  public void warning(Throwable t);
-
-  /**
-   * <p>Outputs a debug message as appropriate.</p>
-   */
-  public void warning(String w);
-
-  /**
-   * <p>Outputs an error as appropriate.</p>
-   */
-  public void error(Throwable t);
-
-  /**
-   * <p>Outputs an error as appropriate.</p>
-   */
-  public void error(String msg);
-
-
-  /**
-   * @deprecated
-   *
-   * @return
-   */
-  public boolean isVerbose();
-  
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceContext.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceContext.java
deleted file mode 100644
index fa01b09..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceContext.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.impl.jam.provider;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.annotation.JavadocTagParser;
-import org.apache.xmlbeans.impl.jam.visitor.MVisitor;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-/**
- * <p>Structure containing information given to a BaseJProvider subclass in
- * order to instantiate a new JStore.  This interface is the flip-side
- * of JamServiceParams - it provides a view into the params the user specified.
- * In reality, JamServiceContext and JamServiceParams are implemented by the
- * same object, JamServiceContextImpl, but it is cleaner to separate
- * the users' view of that data (which is write-only) from the provider's
- * view (which is read-only).</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamServiceContext extends JamLogger/*killme*/ {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * @return The classpath to be searched when trying to initialize an MClass
-   * for a java class which was not in the inputSources or inputClasses,
-   * or null.
-   */
-  public ResourcePath getInputClasspath();
-
-  /**
-   * @return The sourcepath to be searched when trying to initialize an MClass
-   * for a java class which was not in the inputSources or inputClasses, or
-   * null.
-   */
-  public ResourcePath getInputSourcepath();
-
-  /**
-   * @return The classpath to be used in loading external classes on which
-   * the service implementation depends, or null.  This is not generally
-   * needed.
-   */
-  public ResourcePath getToolClasspath();
-
-  /**
-   * @return an implementation-specific property, as specified by
-   * <code>JamServiceParams.setProperty()</code>.
-   */
-  public String getProperty(String name);
-
-  public MVisitor getInitializer();
-
-  public ClassLoader[] getReflectionClassLoaders();
-
-  public File[] getSourceFiles() throws IOException;
-
-  public String[] getAllClassnames() throws IOException;
-
-  public JamLogger getLogger();
-
-  public JamClassBuilder getBaseBuilder();
-
-  /**
-   * <p>Returns the JavadocTagParser to be used in processing javadoc tags.
-   * This never returns null - if no parser was specified by the user,
-   * the default one is used.  This method should be used only by
-   * JavadocClassBuilder.</p>
-   */
-  public JavadocTagParser getTagParser();
-
-  //public PrintWriter getOut();
-
-
-  // ========================================================================
-  // killme
-
-  /**
-   * <p>Returns a subclass of TypedAnnotationProxyBase that should be instantiated
-   * and used to proxy annotation metadata when no registered proxy is
-   * available.  By default, this is DefaultAnnotationProxy.class, though
-   * the user can override this if, for example, they need to change the
-   * default javadoc tag parsing behavior.</p>
-   *
-   * @return
-   */
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceFactoryImpl.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceFactoryImpl.java
deleted file mode 100644
index 853eb23..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/JamServiceFactoryImpl.java
+++ /dev/null
@@ -1,259 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.provider;
-
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.internal.JamClassLoaderImpl;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceContextImpl;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceImpl;
-import org.apache.xmlbeans.impl.jam.internal.reflect.ReflectClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.internal.javadoc.JavadocClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder;
-
-import java.io.IOException;
-import java.io.File;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p>Default implementation of the JamServiceFactory singleton.  Custom
- * JAM providers need to extend this class and override whatever methods
- * they need to.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamServiceFactoryImpl extends JamServiceFactory {
-
-  // ========================================================================
-  // Constants
-
-  /**
-   * <p>Service context property which turns on the javadoc killer.
-   * This will be removed when javadoc has been phased out.</p>
-   */
-  public static final String USE_NEW_PARSER =
-    "JamServiceFactoryImpl.use-new-parser";
-
-  private static final String PREFIX = "[JamServiceFactoryImpl]";
-  
-  // ========================================================================
-  // Constructors
-
-  public JamServiceFactoryImpl() {}
-
-  // ========================================================================
-  // JamServiceFactory implementation
-
-  public JamServiceParams createServiceParams() {
-    return new JamServiceContextImpl();
-  }
-
-  public JamService createService(JamServiceParams jsps) throws IOException {
-    //assert that they aren't implementing JamServiceParams themselves or
-    //getting them from somewhere else
-    if (!(jsps instanceof JamServiceContextImpl)) {
-      throw new IllegalArgumentException
-              ("JamServiceParams must be instantiated by this JamServiceFactory.");
-    }
-    //create and return the service
-    JamClassLoader clToUse = createClassLoader((JamServiceContextImpl)jsps);
-
-    //this is a nasty way to shoehorn it in there, should do better
-    ((JamServiceContextImpl)jsps).setClassLoader(clToUse);
-
-    return new JamServiceImpl((ElementContext)jsps,
-                              getSpecifiedClasses((JamServiceContextImpl)jsps));
-  }
-
-  public JamClassLoader createSystemJamClassLoader() {
-    JamServiceParams params = createServiceParams();
-    params.setUseSystemClasspath(true);
-    try {
-      JamService service = createService(params);
-      return service.getClassLoader();
-    } catch(IOException reallyUnexpected) {
-      reallyUnexpected.printStackTrace();
-      throw new IllegalStateException(reallyUnexpected.getMessage());
-    }
-  }
-
-  public JamClassLoader createJamClassLoader(ClassLoader cl) {
-    JamServiceParams params = createServiceParams();
-    params.setUseSystemClasspath(true); //?
-    params.setPropertyInitializer(null);
-    try {
-      JamService service = createService(params);
-      return service.getClassLoader();
-    } catch(IOException reallyUnexpected) {
-      reallyUnexpected.printStackTrace();
-      throw new IllegalStateException(reallyUnexpected.getMessage());
-    }
-  }
-
-
-  // ========================================================================
-  // Protected methods - override these at your own risk
-
-  /**
-   * <p>Returns the set of classes to be included in a JamService to be
-   * created by the given params.  You should not override this
-   * unless you really know what you're doing.</p>
-   */
-  protected String[] getSpecifiedClasses(JamServiceContext params)
-          throws IOException
-  {
-    return params.getAllClassnames();
-  }
-
-  /**
-   * <p>Creates the main classloader to be used given the input ctx.
-   * This is usually a composite of the source classloader and a
-   * classfile classloader.  Subclasses may override to change the behavior.
-   * </p>
-   */
-  protected JamClassLoader createClassLoader(JamServiceContext ctx)
-          throws IOException
-  {
-    JamClassBuilder builder = createBuilder(ctx);
-    return new JamClassLoaderImpl((ElementContext)ctx,//eww
-      builder,ctx.getInitializer());
-  }
-
-  /**
-   * <p>Creates the JamClassBuilder for the given context.  This will be
-   * a composite that may include custom source and class-based classbuilders.
-   * It usually includes the system classbuilders and always contains the
-   * builtin classbuilder.</b>
-   */
-  protected JamClassBuilder createBuilder(JamServiceContext ctx)
-    throws IOException
-
-  {
-    JamLogger log = ctx.getLogger();
-    List builders = new ArrayList();  // make a list of the builders we want
-    // add the base builder if there is one
-    JamClassBuilder b = ctx.getBaseBuilder();
-    if (b != null) builders.add(b);
-    // look for source file builder
-    b = createSourceBuilder(ctx);
-    if (log.isVerbose(this)) {
-      log.verbose("added classbuilder for sources");
-    }
-    if (b != null) builders.add(b);   // prefer first source
-    b = createClassfileBuilder(ctx);  // then custom classpath
-    if (log.isVerbose(this)) {
-      log.verbose("added classbuilder for custom classpath");
-    }
-    if (b != null) builders.add(b);
-    ClassLoader[] cls = ctx.getReflectionClassLoaders();
-    for(int i=0; i<cls.length; i++) {
-      if (log.isVerbose(this)) {
-        log.verbose("added classbuilder for classloader "+cls[i].getClass());
-      }
-      builders.add(new ReflectClassBuilder(cls[i],ctx));
-    }
-    JamClassBuilder[] barray = new JamClassBuilder[builders.size()];
-    builders.toArray(barray);
-    JamClassBuilder out = new CompositeJamClassBuilder(barray);
-    out.init((ElementContext)ctx);
-    if (log.isVerbose(this)) {
-      log.verbose("returning a composite of "+barray.length+" class builders.");
-
-      JClass c = out.build("java.lang","Object");
-      c = out.build("javax.ejb","SessionBean");
-    }
-    return out;
-
-  }
-
-  /**
-   * <p>Creates the source-based classbuilder for the given context.
-   * If no source files or paths are specified in the context,
-   * just returns null.</p>
-   */
-  protected JamClassBuilder createSourceBuilder(JamServiceContext ctx)
-    throws IOException
-  {
-    File[] sources = ctx.getSourceFiles();
-    if (sources == null || sources.length == 0) {
-      if (ctx.isVerbose(this)) {
-        ctx.verbose(PREFIX+ "no source files present, "+
-                    "skipping source ClassBuilder");
-      }
-      return null;
-    }
-    if(ctx.getProperty(USE_NEW_PARSER) == null) {
-      return new JavadocClassBuilder(ctx);
-    } else {
-      return new ParserClassBuilder(ctx);
-    }
-  }
-
-
-  /**
-   * <p>Creates the class-based classbuilder for the given context.
-   * If no class files or classloaders are specified in the params,
-   * just returns null.</p>
-   */
-  protected JamClassBuilder createClassfileBuilder(JamServiceContext jp)
-    throws IOException
-  {
-    //FIXME someday should make the name of the service class to use here
-    //settable via a system property
-    ResourcePath cp = jp.getInputClasspath();
-    if (cp == null) {
-      return null;
-    } else {
-      URL[] urls = cp.toUrlPath();
-      ClassLoader cl = new URLClassLoader(urls);
-      return new ReflectClassBuilder(cl,jp);
-    }
-  }
-
-  /**
-   * <p>Creates a source class loader that is based on javadoc.  This
-   * is currently the default, but someday that will change.</p>
-
-  protected JamClassBuilder createJavadocSourceBuilder(JamServiceContext ctx)
-    throws IOException
-  {
-    //FIXME someday should make the name of the service class to use here
-    //settable via a system property
-    File[] files = ctx.getSourceFiles();
-    if (files == null || files.length == 0) return null;
-    String sourcePath = (ctx.getInputSourcepath() == null) ? null :
-            ctx.getInputSourcepath().toString();
-    String classPath = (ctx.getInputClasspath() == null) ? null :
-            ctx.getInputClasspath().toString();
-    return JavadocRunner.getInstance().
-            create(files,
-                   parent,
-                   ctx.getOut(),
-                   sourcePath,
-                   classPath,
-                   null);//FIXME get javadoc args from param props
-  }
-   */
-
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/ResourcePath.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/ResourcePath.java
deleted file mode 100644
index 166be17..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/ResourcePath.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.provider;
-
-import java.io.*;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
-
-/**
- * Represent a file search path, such as a classpath or sourcepath.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ResourcePath {
-
-  // ========================================================================
-  // Factory
-
-  public static ResourcePath forFiles(File[] files) {
-    return new ResourcePath(files);
-  }
-
-  // ========================================================================
-  // Constants
-
-  //public static final ResourcePath EMPTY_JPATH = new ResourcePath(new File[]{});
-
-  // ========================================================================
-  // Variables
-
-  private File[] mFiles;
-
-  // ========================================================================
-  // Constructors
-
-  private ResourcePath(File[] files) {
-    if (files == null) throw new IllegalArgumentException("null files");
-    mFiles = files;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public URI[] toUriPath() {
-    URI[] out = new URI[mFiles.length];
-    for(int i=0; i<mFiles.length; i++) {
-      out[i] = mFiles[i].toURI();
-    }
-    return out;
-  }
-
-  public URL[] toUrlPath() throws MalformedURLException {
-    URL[] out = new URL[mFiles.length];
-    for(int i=0; i<mFiles.length; i++) {
-      out[i] = mFiles[i].toURL();
-    }
-    return out;
-  }
-
-  //fixme - need to abstract out ResourcePath and have separate impls
-  public InputStream findInPath(String resource) {
-    for(int i=0; i<mFiles.length; i++) {
-      File f = new File(mFiles[i],resource);
-      try {
-        if (f.exists()) return new FileInputStream(f);
-      } catch(FileNotFoundException weird) {
-        weird.printStackTrace();
-      }
-    }
-    return null;
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  /**
-   * Returns the path as a single string in which each file component is
-   * separates by File.pathSeparatorChar.
-   */
-  public String toString() {
-    StringWriter out = new StringWriter();
-    for(int i=0; i<mFiles.length; i++) {
-      out.write(mFiles[i].getAbsolutePath());
-      out.write(File.pathSeparatorChar);
-    }
-    return out.toString();
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/package.html
deleted file mode 100644
index 219983c..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/provider/package.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<body>
-  <p>
-    Classes to be used or implemented by custom JAM providers.
-  </p>
-</body>
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackage.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackage.java
deleted file mode 100644
index b6d8526..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackage.java
+++ /dev/null
@@ -1,440 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.tools;
-
-import java.io.*;
-import java.util.*;
-import java.util.regex.*;
-
-public class Repackage
-{
-    public static void main ( String[] args ) throws Exception
-    {
-        new Repackage(args).repackage();
-    }
-    
-    private Repackage(String[] args)
-    {
-        String sourceDir = null;
-        String targetDir = null;
-        String repackageSpec = null;
-        boolean failure = false;
-        
-        for (int i = 0; i < args.length; i++)
-        {
-            if (args[i].equals("-repackage") && i + 1 < args.length)
-                repackageSpec = args[++i];
-            else if (args[i].equals("-f") && i + 1 < args.length)
-                sourceDir = args[++i];
-            else if (args[i].equals("-t") && i + 1 < args.length)
-                targetDir = args[++i];
-            else
-                failure = true;
-        }
-        
-        if (failure || sourceDir == null || targetDir == null || repackageSpec == null)
-            throw new RuntimeException("Usage: repackage -repackage [spec] -f [sourcedir] -t [targetdir]");
-        
-        _repackager = new Repackager(repackageSpec);
-        
-        _sourceBase = new File(sourceDir);
-        _targetBase = new File(targetDir);
-    }
-  
-    
-    public void repackage () throws Exception
-    {
-        _fromPackages = _repackager.getFromPackages();
-        _toPackages = _repackager.getToPackages();
-        
-        _packagePattern =
-            Pattern.compile( "^\\s*package\\s+((?:\\w|\\.)*)\\s*;", Pattern.MULTILINE );
-        
-        _moveAlongFiles = new ArrayList();
-        _movedDirs = new HashMap();
-        
-//        System.out.println( "Deleting repackage dir ..." );
-//        recursiveDelete( _targetBase );
-        
-        _targetBase.mkdirs();
-        
-        ArrayList files = new ArrayList();
-
-        fillFiles( files, _sourceBase );
-        
-        System.out.println( "Repackaging " + files.size() + " files ..." );
-
-        int prefixLength = _sourceBase.getCanonicalPath().length();
-
-        for ( int i = 0 ; i < files.size() ; i++ )
-        {
-            File from = (File) files.get( i );
-
-            String name = from.getCanonicalPath().substring( prefixLength + 1 );
-
-            repackageFile( name );
-        }
-        
-        finishMovingFiles();
-        
-        if (_skippedFiles > 0)
-            System.out.println("Skipped " + _skippedFiles + " unmodified files.");
-    }
-    
-    private boolean fileIsUnchanged(String name)
-    {
-        File sourceFile = new File( _sourceBase, name );
-        File targetFile = new File( _targetBase, name );
-        return (sourceFile.lastModified() < targetFile.lastModified());
-    }
-
-    public void repackageFile ( String name )
-        throws IOException
-    {
-        if (name.endsWith( ".java" ))
-            repackageJavaFile( name );
-        else if (name.endsWith( ".xsdconfig" ) ||
-                (name.endsWith(".xml") &&
-                //REVIEW skip repackaging the main build file because it
-                //does some complicated things already and we don't want
-                //to mess with it right now.  This feels a little gross,
-                //though.  pcal 2/18/04
-                !name.equals("build.xml")) ||
-                name.endsWith(".g") )
-            repackageNonJavaFile( name );
-        else if (name.startsWith( "bin" + File.separatorChar ))
-            repackageNonJavaFile( name );
-        else
-            moveAlongWithJavaFiles( name );
-    }
-
-    public void moveAlongWithJavaFiles( String name )
-    {
-        _moveAlongFiles.add(name);
-    }
-    
-    public void finishMovingFiles ( )
-        throws IOException
-    {
-        for ( Iterator i = _moveAlongFiles.iterator(); i.hasNext(); )
-        {
-            String name = (String) i.next();
-            String toName = name;
-            
-            String srcDir = Repackager.dirForPath( name );
-            String toDir = (String) _movedDirs.get( srcDir );
-            
-            if (toDir != null)
-                toName = new File( toDir, new File( name ).getName() ).toString(); 
-
-            if (name.endsWith( ".html" ))
-                repackageNonJavaFile(name, toName);
-            else
-                justMoveNonJavaFile(name, toName);
-        }
-    }
-
-    public void repackageNonJavaFile(String name)
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, name );
-        File targetFile = new File( _targetBase, name );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            writeFile( targetFile, _repackager.repackage( readFile( sourceFile ) ) );
-    }
-    
-    public void repackageNonJavaFile ( String sourceName, String targetName )
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, sourceName );
-        File targetFile = new File( _targetBase, targetName );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            writeFile( targetFile, _repackager.repackage( readFile( sourceFile ) ) );
-    }
-    
-    public void justMoveNonJavaFile ( String sourceName, String targetName )
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, sourceName );
-        File targetFile = new File( _targetBase, targetName );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            copyFile( sourceFile, targetFile );
-    }
-    
-    public void repackageJavaFile ( String name )
-        throws IOException
-    {
-        File sourceFile = new File(_sourceBase, name);
-        StringBuffer sb = readFile(sourceFile);
-
-        Matcher packageMatcher = _packagePattern.matcher( sb );
-
-        if (packageMatcher.find())
-        {
-            String pkg = packageMatcher.group( 1 );
-            int pkgStart = packageMatcher.start( 1 );
-            int pkgEnd = packageMatcher.end( 1 );
-            
-            if (packageMatcher.find())
-                throw new RuntimeException( "Two package specifications found: " + name );
-            
-            List filePath = Repackager.splitPath( name, File.separatorChar );
-            String srcDir = Repackager.dirForPath( name );
-            
-            // Sort the repackage spec so that longer from's are first to match
-            // longest package first
-
-            for ( ; ; )
-            {
-                boolean swapped = false;
-
-                for ( int i = 1 ; i < filePath.size() ; i++ )
-                {
-                    String spec1 = (String) filePath.get( i - 1 );
-                    String spec2 = (String) filePath.get( i );
-
-                    if (spec1.indexOf( ':' ) < spec2.indexOf( ':' ))
-                    {
-                        filePath.set( i - 1, spec2 );
-                        filePath.set( i, spec1 );
-
-                        swapped = true;
-                    }
-                }
-
-                if (!swapped)
-                    break;
-            }
-
-            List pkgPath = Repackager.splitPath( pkg, '.' );
-
-            int f = filePath.size() - 2;
-
-            for ( int i = pkgPath.size() - 1 ; i >= 0 ; i-- )
-            {
-                if (!pkgPath.get( i ).equals( filePath.get( f-- ) ))
-                    throw new RuntimeException( "Package spec differs from file path: " + name );
-            }
-
-            List changeTo = null;
-            List changeFrom = null;
-            
-            from:
-            for ( int i = 0 ; i < _fromPackages.size() ; i ++ )
-            {
-                List from = (List) _fromPackages.get( i );
-
-                if (from.size() <= pkgPath.size())
-                {
-                    for ( int j = 0 ; j < from.size() ; j++ )
-                        if (!from.get( j ).equals( pkgPath.get( j )))
-                            continue from;
-
-                    changeFrom = from;
-                    changeTo = (List) _toPackages.get( i );
-
-                    break;
-                }
-            }
-
-            if (changeTo != null)
-            {
-                String newPkg = "";
-                String newName = "";
-
-                for ( int i = 0 ; i < changeTo.size() ; i++ )
-                {
-                    if (i > 0)
-                    {
-                        newPkg += ".";
-                        newName += File.separatorChar;
-                    }
-                    
-                    newPkg += changeTo.get( i );
-                    newName += changeTo.get( i );
-                }
-                
-                for ( int i = filePath.size() - pkgPath.size() - 2 ; i >= 0 ; i-- )
-                    newName = (String) filePath.get( i ) + File.separatorChar + newName;
-
-                for ( int i = changeFrom.size() ; i < pkgPath.size() ; i++ )
-                {
-                    newName += File.separatorChar + (String) pkgPath.get( i );
-                    newPkg += '.' + (String) pkgPath.get( i );
-                }
-
-                newName += File.separatorChar + (String) filePath.get( filePath.size() - 1 );
-
-                sb.replace( pkgStart, pkgEnd, newPkg );
-
-                name = newName;
-                String newDir = Repackager.dirForPath( name );
-                
-                if (!srcDir.equals(newDir))
-                {
-                    _movedDirs.put(srcDir, newDir);
-                }
-            }
-        }
-        
-        File targetFile = new File(_targetBase, name); // new name
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-        {
-            _skippedFiles += 1;
-            return;
-        }
-
-        writeFile( new File( _targetBase, name ), _repackager.repackage( sb ) );
-    }
-
-    void writeFile ( File f, StringBuffer chars )
-        throws IOException
-    {
-        f.getParentFile().mkdirs();
-        
-        OutputStream out = new FileOutputStream( f );
-        Writer w = new OutputStreamWriter( out );
-        Reader r = new StringReader( chars.toString() );
-
-        copy( r, w );
-
-        r.close();
-        w.close();
-        out.close();
-    }
-    
-    StringBuffer readFile ( File f )
-        throws IOException
-    {
-        InputStream in = new FileInputStream( f );
-        Reader r = new InputStreamReader( in );
-        StringWriter w = new StringWriter();
-
-        copy( r, w );
-
-        w.close();
-        r.close();
-        in.close();
-
-        return w.getBuffer();
-    }
-    
-    public void copyFile ( File from, File to ) throws IOException
-    {
-        to.getParentFile().mkdirs();
-        
-        FileInputStream in = new FileInputStream( from );
-        FileOutputStream out = new FileOutputStream( to );
-
-        copy( in, out );
-        
-        out.close();
-        in.close();
-    }
-    
-    public void copy ( InputStream in, OutputStream out ) throws IOException
-    {
-        byte[] buffer = new byte [ 1024 * 16 ];
-
-        for ( ; ; )
-        {
-            int n = in.read( buffer, 0, buffer.length );
-
-            if (n < 0)
-                break;
-
-            out.write( buffer, 0, n );
-        }
-    }
-    
-    public void copy ( Reader r, Writer w ) throws IOException
-    {
-        char[] buffer = new char [ 1024 * 16 ];
-
-        for ( ; ; )
-        {
-            int n = r.read( buffer, 0, buffer.length );
-
-            if (n < 0)
-                break;
-
-            w.write( buffer, 0, n );
-        }
-    }
-    
-    public void fillFiles ( ArrayList files, File file ) throws IOException
-    {
-        if (!file.isDirectory())
-        {
-            files.add( file );
-            return;
-        }
-
-        // Exclude the build directory
-
-        if (file.getName().equals( "build" ))
-            return;
-        
-        // Exclude CVS directories
-        if (file.getName().equals( "CVS" ))
-            return;
-
-        String[] entries = file.list();
-
-        for ( int i = 0 ; i < entries.length ; i++ )
-            fillFiles( files, new File( file, entries[ i ] ) );
-    }
-
-    public void recursiveDelete ( File file ) throws IOException
-    {
-        if (!file.exists())
-            return;
-
-        if (file.isDirectory())
-        {
-            String[] entries = file.list();
-
-            for ( int i = 0 ; i < entries.length ; i++ )
-                recursiveDelete( new File( file, entries[ i ] ) );
-        }
-
-        file.delete();
-    }
-
-    private File _sourceBase;
-    private File _targetBase;
-
-    private List _fromPackages;
-    private List _toPackages;
-    
-    private Pattern _packagePattern;
-
-    private Repackager _repackager;
-    
-    private Map _movedDirs;
-    private List _moveAlongFiles;
-    private int _skippedFiles;
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackager.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackager.java
deleted file mode 100644
index bc89a1b..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/Repackager.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.jam.tools;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.regex.Pattern;
-import java.util.regex.Matcher;
-import java.io.File;
-
-public class Repackager
-{
-    public Repackager ( String repackageSpecs )
-    {
-        _fromPackages = new ArrayList();
-        _toPackages = new ArrayList();
-        
-        List repackages = splitPath( repackageSpecs, ';' );
-
-        // Sort the repackage spec so that longer from's are first to match
-        // longest package first
-        
-        for ( ; ; )
-        {
-            boolean swapped = false;
-
-            for ( int i = 1 ; i < repackages.size() ; i++ )
-            {
-                String spec1 = (String) repackages.get( i - 1 );
-                String spec2 = (String) repackages.get( i );
-                
-                if (spec1.indexOf( ':' ) < spec2.indexOf( ':' ))
-                {
-                    repackages.set( i - 1, spec2 );
-                    repackages.set( i, spec1 );
-                    
-                    swapped = true;
-                }
-            }
-
-            if (!swapped)
-                break;
-        }
-
-        for ( int i = 0 ; i < repackages.size() ; i++ )
-        {
-            String spec = (String) repackages.get( i );
-            
-            int j = spec.indexOf( ':' );
-
-            if (j < 0 || spec.indexOf( ':', j + 1 ) >= 0)
-                throw new RuntimeException( "Illegal repackage specification: " + spec );
-
-            String from = spec.substring( 0, j );
-            String to = spec.substring( j + 1 );
-
-            _fromPackages.add( Repackager.splitPath( from, '.' ) );
-            _toPackages.add( Repackager.splitPath( to, '.' ) );
-        }
-
-        _fromMatchers = new Matcher [ _fromPackages.size() * 2 ];
-        _toPackageNames = new String [ _fromPackages.size() * 2 ];
-
-        addPatterns( '.', 0 );
-        addPatterns( '/', _fromPackages.size() );
-    }
-
-    void addPatterns ( char sep, int off )
-    {
-        for ( int i = 0 ; i < _fromPackages.size() ; i++ )
-        {
-            List from = (List) _fromPackages.get( i );
-            List to = (List) _toPackages.get( i );
-
-            String pattern = "";
-            
-            for ( int j = 0 ; j < from.size() ; j++ )
-            {
-                if (j > 0)
-                    pattern += "\\" + sep;
-
-                pattern += from.get( j );
-            }
-            
-            String toPackage = "";
-            
-            for ( int j = 0 ; j < to.size() ; j++ )
-            {
-                if (j > 0)
-                    toPackage += sep;
-
-                toPackage += to.get( j );
-            }
-
-            _fromMatchers[ off + i ] = Pattern.compile( pattern ).matcher( "" );
-            _toPackageNames[ off + i ] = toPackage;
-        }
-    }
-
-    public StringBuffer repackage ( StringBuffer sb )
-    {
-        StringBuffer result = null;
-
-        for ( int i = 0 ; i < _fromMatchers.length ; i++ )
-        {
-            Matcher m = (Matcher) _fromMatchers[ i ];
-            
-            m.reset( sb );
-            
-            for ( boolean found = m.find() ; found ; found = m.find() )
-            {
-                if (result == null)
-                    result = new StringBuffer();
-
-                m.appendReplacement( result, _toPackageNames[ i ] );
-            }
-
-            if (result != null)
-            {
-                m.appendTail( result );
-                sb = result;
-                result = null;
-            }
-        }
-
-        return sb;
-    }
-
-    public List getFromPackages ( )
-    {
-        return _fromPackages;
-    }
-
-    public List getToPackages ( )
-    {
-        return _toPackages;
-    }
-    
-    public static ArrayList splitPath ( String path, char separator )
-    {
-        ArrayList components = new ArrayList();
-        
-        for ( ; ; )
-        {
-            int i = path.indexOf( separator );
-
-            if (i < 0)
-                break;
-
-            components.add( path.substring( 0, i ) );
-            
-            path = path.substring( i + 1 );
-        }
-
-        if (path.length() > 0)
-            components.add( path );
-
-        return components;
-    }
-    
-    public static String dirForPath ( String path )
-    {
-        return new File(path).getParent();
-    }
-
-    private List _fromPackages;
-    private List _toPackages;
-    
-    private Matcher[] _fromMatchers;
-    private String[]  _toPackageNames;
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/package.html
deleted file mode 100644
index c8bb24d..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/tools/package.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<body>
-  <p>
-   Contains build-time tools related to JAM.
-  </p>
-
-  <p>
-    Currently, this only includes the utility for repackaging the classes.
-    Eventually, it will also include tools for generating annotation
-    impls/proxies.
-  </p>
-m</body>
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeJVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeJVisitor.java
deleted file mode 100644
index 65080ba..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeJVisitor.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JComment;
-import org.apache.xmlbeans.impl.jam.JConstructor;
-import org.apache.xmlbeans.impl.jam.JField;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JPackage;
-import org.apache.xmlbeans.impl.jam.JParameter;
-
-/**
- * <p>Composite implementation of JVisitor.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class CompositeJVisitor extends JVisitor {
-
-  // ========================================================================
-  // Variables
-
-  private JVisitor[] mVisitors;
-
-  // ========================================================================
-  // Constructors
-
-  public CompositeJVisitor(JVisitor[] visitors) {
-    if (visitors == null) throw new IllegalArgumentException("null visitors");
-    mVisitors = visitors;
-  }
-
-  // ========================================================================
-  // JVisitor implementation
-
-  public void visit(JPackage pkg) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(pkg);
-  }
-
-  public void visit(JClass clazz) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(clazz);
-  }
-
-  public void visit(JConstructor ctor) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(ctor);
-  }
-
-  public void visit(JField field) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(field);
-  }
-
-  public void visit(JMethod method) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(method);
-  }
-
-  public void visit(JParameter param) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(param);
-  }
-
-  public void visit(JAnnotation ann) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(ann);
-  }
-
-  public void visit(JComment comment) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(comment);
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeMVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeMVisitor.java
deleted file mode 100644
index 11e21c0..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/CompositeMVisitor.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MComment;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.mutable.MPackage;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-
-/**
- * <p>Composite implementation of MVisitor.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class CompositeMVisitor extends MVisitor {
-
-  // ========================================================================
-  // Variables
-
-  private MVisitor[] mVisitors;
-
-  // ========================================================================
-  // Constructors
-
-  public CompositeMVisitor(MVisitor[] visitors) {
-    if (visitors == null) throw new IllegalArgumentException("null visitors");
-    mVisitors = visitors;
-  }
-
-  // ========================================================================
-  // MVisitor implementation
-
-  public void visit(MPackage pkg) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(pkg);
-  }
-
-  public void visit(MClass clazz) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(clazz);
-  }
-
-  public void visit(MConstructor ctor) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(ctor);
-  }
-
-  public void visit(MField field) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(field);
-  }
-
-  public void visit(MMethod method) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(method);
-  }
-
-  public void visit(MParameter param) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(param);
-  }
-
-  public void visit(MAnnotation ann) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(ann);
-  }
-
-  public void visit(MComment comment) {
-    for(int i=0; i<mVisitors.length; i++) mVisitors[i].visit(comment);
-  }
-
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/JVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/JVisitor.java
deleted file mode 100644
index 7eebba3..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/JVisitor.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JComment;
-import org.apache.xmlbeans.impl.jam.JConstructor;
-import org.apache.xmlbeans.impl.jam.JField;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JPackage;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.JProperty;
-
-/**
- * <p>To be extended by classes which wish to traverse an MElement tree.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class JVisitor {
-
-  public void visit(JPackage pkg) {}
-
-  public void visit(JClass clazz) {}
-
-  public void visit(JConstructor ctor) {}
-
-  public void visit(JField field) {}
-
-  public void visit(JMethod method) {}
-
-  public void visit(JParameter param) {}
-
-  public void visit(JAnnotation ann) {}
-
-  public void visit(JComment comment) {}
- 
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/MVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/MVisitor.java
deleted file mode 100644
index a0752c3..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/MVisitor.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MComment;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.mutable.MPackage;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-
-/**
- * <p>To be extended by classes which wish to traverse an MElement tree.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class MVisitor {
-
-  public void visit(MPackage pkg) {}
-
-  public void visit(MClass clazz) {}
-
-  public void visit(MConstructor ctor) {}
-
-  public void visit(MField field) {}
-
-  public void visit(MMethod method) {}
-
-  public void visit(MParameter param) {}
-
-  public void visit(MAnnotation ann) {}
-
-  public void visit(MComment comment) {}
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/PropertyInitializer.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/PropertyInitializer.java
deleted file mode 100644
index cc06f15..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/PropertyInitializer.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JProperty;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.internal.elements.PropertyImpl;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class PropertyInitializer extends MVisitor {
-
-  //FIXME we may want to move to a model in which property initialization
-  //is done even more lazily, i.e. only when getProperties is called.
-
-  // ========================================================================
-  // Element visitor implementation
-
-  public void visit(MClass clazz) {
-    addProperties(clazz,true);
-    addProperties(clazz,false);
-  }
-
-  private void addProperties(MClass clazz, boolean declared) {
-    JMethod[] methods = declared ? clazz.getDeclaredMethods() :
-      clazz.getMethods();
-    Map name2prop = new HashMap();
-    for(int i=0; i<methods.length; i++) {
-      String name = methods[i].getSimpleName();
-      //
-      // process getters
-      //
-      if (name.startsWith("get") && name.length() > 3 ||
-        name.startsWith("is") && name.length() > 2) {
-        JClass typ = methods[i].getReturnType();
-        //FIXME we just want the name - this forces the whole thing to be resolved
-        // need to either getReturnTypeRef() or change ClassImpl so that it lazily builds itself
-        if (typ == null) continue; // must have a typ and have
-        if (methods[i].getParameters().length > 0) continue; //no params
-        if (name.startsWith("get")) {
-          name = name.substring(3);
-        } else {
-          name = name.substring(2);
-        }
-        JProperty prop = (JProperty)name2prop.get(name);
-        if (prop == null) {
-          prop = declared ? clazz.addNewDeclaredProperty(name,methods[i],null) :
-            clazz.addNewProperty(name,methods[i],null);
-          name2prop.put(name,prop);
-        } else {
-          if (typ.equals(prop.getType())) {
-            ((PropertyImpl)prop).setGetter(methods[i]); // cheater
-          }
-        }
-      }
-
-      //
-      // process setters
-      //
-      if (name.startsWith("set") && name.length() > 3) {
-        if (methods[i].getParameters().length != 1) continue; //1 param reqd
-        JClass type = methods[i].getParameters()[0].getType();
-        name = name.substring(3);
-        JProperty prop = (JProperty)name2prop.get(name);
-        if (prop == null) {
-          prop = declared ? clazz.addNewDeclaredProperty(name,methods[i],null) :
-            clazz.addNewProperty(name,methods[i],null);
-          name2prop.put(name,prop);
-        } else {
-          if (type.equals(prop.getType())) {
-            // if it's the same type, cool - just add the getter
-            ((PropertyImpl)prop).setSetter(methods[i]); // with a sneaky cast
-          }
-        }
-      }
-    }
-  }
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingJVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingJVisitor.java
deleted file mode 100644
index 5ebc821..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingJVisitor.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.JPackage;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JConstructor;
-import org.apache.xmlbeans.impl.jam.JField;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JComment;
-import org.apache.xmlbeans.impl.jam.JAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.JInvokable;
-
-/**
- * <p>An adaptor which helps another MVisitor visit a JElement and its
- * children, recursively.  Note that inherited class or annotations members
- * are never visited, nor are referenced classes (e.g. referenced via member
- * types).  The following table lists each element and the child types
- * which are traversed.</p>
- *
- * <table border='1'>
- * <tr><td><b>Element</b></td><td><b>Sub-elements traversal</b></td></tr>
- * <tr><td>Package       </td><td>Classes, Annotations, Comments</td></tr>
- * <tr><td>Class         </td><td>Fields, Constructors, Methods, Annotations, Comments</td></tr>
- * <tr><td>Field         </td><td>Annotations, Comments</td></tr>
- * <tr><td>Constructor   </td><td>Parameters, Annotations, Comments</td></tr>
- * <tr><td>Method        </td><td>Parameters, Annotations, Comments</td></tr>
- * <tr><td>Parameter     </td><td>Annotations, Comments</td></tr>
- * <tr><td>Annotation    </td><td>[none]</td></tr>
- * <tr><td>Comment       </td><td>[none]</td></tr>
- * </table>
- *
- * </p>
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class TraversingJVisitor extends JVisitor {
-
-  // ========================================================================
-  // Variables
-
-  private JVisitor mDelegate;
-
-  // ========================================================================
-  // Constructors
-
-  public TraversingJVisitor(JVisitor jv) {
-    if (jv == null) throw new IllegalArgumentException("null jv");
-    mDelegate = jv;
-  }
-
-  // ========================================================================
-  // JVisitor implementation
-
-  public void visit(JPackage pkg) {
-    pkg.accept(mDelegate);
-    JClass[] c = pkg.getClasses();
-    for(int i=0; i<c.length; i++) visit(c[i]);
-    visitAnnotations(pkg);
-    visitComment(pkg);
-  }
-
-  public void visit(JClass clazz) {
-    clazz.accept(mDelegate);
-    {
-      JField[] f = clazz.getDeclaredFields();
-      for(int i=0; i<f.length; i++) visit(f[i]);
-    }{
-      JConstructor[] c = clazz.getConstructors();
-      for(int i=0; i<c.length; i++) visit(c[i]);
-    }{
-      JMethod[] m = clazz.getMethods();
-      for(int i=0; i<m.length; i++) visit(m[i]);
-    }
-    visitAnnotations(clazz);
-    visitComment(clazz);
-  }
-
-  // ========================================================================
-  // JElement implementation
-
-  public void visit(JField field) {
-    field.accept(mDelegate);
-    visitAnnotations(field);
-    visitComment(field);
-  }
-
-  public void visit(JConstructor ctor) {
-    ctor.accept(mDelegate);
-    visitParameters(ctor);
-    visitAnnotations(ctor);
-    visitComment(ctor);
-  }
-
-  public void visit(JMethod method) {
-    method.accept(mDelegate);
-    visitParameters(method);
-    visitAnnotations(method);
-    visitComment(method);
-  }
-
-  public void visit(JParameter param) {
-    param.accept(mDelegate);
-    visitAnnotations(param);
-    visitComment(param);
-  }
-
-  public void visit(JAnnotation ann) { ann.accept(mDelegate); }
-
-  public void visit(JComment comment) { comment.accept(mDelegate); }
-
-  // ========================================================================
-  // Private methods
-
-  private void visitParameters(JInvokable iv) {
-    JParameter[] p = iv.getParameters();
-    for(int i=0; i<p.length; i++) visit(p[i]);
-  }
-
-  private void visitAnnotations(JAnnotatedElement ae) {
-    JAnnotation[] anns = ae.getAnnotations();
-    for(int i=0; i<anns.length; i++) visit(anns[i]);
-  }
-
-  private void visitComment(JAnnotatedElement e) {
-    JComment c = e.getComment();
-    if (c != null) visit(c);
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingMVisitor.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingMVisitor.java
deleted file mode 100644
index 8968948..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/TraversingMVisitor.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.visitor;
-
-import org.apache.xmlbeans.impl.jam.mutable.MComment;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.mutable.MInvokable;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MPackage;
-
-/**
- * <p>An adaptor which helps another MVisitor visit a JElement and its
- * children, recursively.  Note that inherited class or annotations members
- * are never visited, nor are referenced classes (e.g. referenced via member
- * types).  The following table lists each element and the child types
- * which are traversed.</p>
-
- *
- * <table border='1'>
- * <tr><td><b>Element</b></td><td><b>Sub-elements traversal</b></td></tr>
- * <tr><td>Package       </td><td>Classes, Annotations, Comments</td></tr>
- * <tr><td>Class         </td><td>Fields, Constructors, Methods, Annotations, Comments</td></tr>
- * <tr><td>Field         </td><td>Annotations, Comments</td></tr>
- * <tr><td>Constructor   </td><td>Parameters, Annotations, Comments</td></tr>
- * <tr><td>Method        </td><td>Parameters, Annotations, Comments</td></tr>
- * <tr><td>Parameter     </td><td>Annotations, Comments</td></tr>
- * <tr><td>Annotation    </td><td>[none]</td></tr>
- * <tr><td>Comment       </td><td>[none]</td></tr>
- * </table>
- *
- * </p>
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class TraversingMVisitor extends MVisitor {
-
-  // ========================================================================
-  // Variables
-
-  private MVisitor mDelegate;
-
-  // ========================================================================
-  // Constructors
-
-  public TraversingMVisitor(MVisitor jv) {
-    if (jv == null) throw new IllegalArgumentException("null jv");
-    mDelegate = jv;
-  }
-
-  // ========================================================================
-  // JVisitor implementation
-
-  public void visit(MPackage pkg) {
-    pkg.accept(mDelegate);
-    MClass[] c = pkg.getMutableClasses();
-    for(int i=0; i<c.length; i++) visit(c[i]);
-    visitAnnotations(pkg);
-    visitComment(pkg);
-  }
-
-  public void visit(MClass clazz) {
-    clazz.accept(mDelegate);
-    {
-      MField[] f = clazz.getMutableFields();
-      for(int i=0; i<f.length; i++) visit(f[i]);
-    }{
-      MConstructor[] c = clazz.getMutableConstructors();
-      for(int i=0; i<c.length; i++) visit(c[i]);
-    }{
-      MMethod[] m = clazz.getMutableMethods();
-      for(int i=0; i<m.length; i++) visit(m[i]);
-    }
-    visitAnnotations(clazz);
-    visitComment(clazz);
-  }
-
-  // ========================================================================
-  // MElement implementation
-
-  public void visit(MField field) {
-    field.accept(mDelegate);
-    visitAnnotations(field);
-    visitComment(field);
-  }
-
-  public void visit(MConstructor ctor) {
-    ctor.accept(mDelegate);
-    visitParameters(ctor);
-    visitAnnotations(ctor);
-    visitComment(ctor);
-  }
-
-  public void visit(MMethod method) {
-    method.accept(mDelegate);
-    visitParameters(method);
-    visitAnnotations(method);
-    visitComment(method);
-  }
-
-  public void visit(MParameter param) {
-    param.accept(mDelegate);
-    visitAnnotations(param);
-    visitComment(param);
-  }
-
-  public void visit(MAnnotation ann) { ann.accept(mDelegate); }
-
-  public void visit(MComment comment) { comment.accept(mDelegate); }
-
-  // ========================================================================
-  // Private methods
-
-  private void visitParameters(MInvokable iv) {
-    MParameter[] p = iv.getMutableParameters();
-    for(int i=0; i<p.length; i++) visit(p[i]);
-  }
-
-  private void visitAnnotations(MAnnotatedElement ae) {
-    MAnnotation[] anns = ae.getMutableAnnotations();
-    for(int i=0; i<anns.length; i++) visit(anns[i]);
-  }
-
-  private void visitComment(MAnnotatedElement e) {
-    MComment c = e.getMutableComment();
-    if (c != null) visit(c);
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/package.html b/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/package.html
deleted file mode 100644
index de81b6c..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/visitor/package.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<body>
-  <p>
-    Provides a framework for traversing a JElement tree and possibly
-    modifying its contents.  Also includes ElementVisitor implementations
-    which encapsulate standard JClass initialization behaviors, such as
-    comment parsing and JProperty identification.
-  </p>
-
-  <p>
-    Customized ElementVistors can be written to modify or extend such
-    behaviors.  See JamServiceParams for details on how to plug in
-    such extensions.
-  </p>
-</body>
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlElements.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlElements.java
deleted file mode 100644
index be217f8..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlElements.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.xml;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface JamXmlElements {
-
-  public static final String JAMSERVICE = "jam-service";
-
-  public static final String PACKAGE = "package";
-  public static final String CLASS = "class";
-  public static final String NAME = "name";
-
-  public static final String CLASS_NAME = "name";
-  public static final String PACKAGE_NAME = "package";
-
-  public static final String ISINTERFACE = "is-interface";
-  public static final String INTERFACE = "interface";
-  public static final String SUPERCLASS = "superclass";
-  public static final String MODIFIERS = "modifiers";
-  public static final String PARAMETER = "parameter";
-  public static final String TYPE = "type";
-  public static final String CONSTRUCTOR = "constructor";
-  public static final String METHOD = "method";
-  public static final String FIELD = "field";
-  public static final String RETURNTYPE = "return-type";
-  public static final String COMMENT = "comment";
-  public static final String SOURCEPOSITION = "source-position";
-  public static final String LINE = "line";
-  public static final String COLUMN = "column";
-  public static final String SOURCEURI = "source-uri";
-  public static final String VALUE = "value";
-  public static final String ANNOTATION = "annotation";
-  public static final String ANNOTATIONVALUE = "annotation-value";
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlReader.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlReader.java
deleted file mode 100644
index 614eadd..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlReader.java
+++ /dev/null
@@ -1,316 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.xml;
-
-import org.apache.xmlbeans.impl.jam.internal.CachedClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.internal.elements.ClassImpl;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.mutable.MInvokable;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.mutable.MMethod;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.mutable.MSourcePosition;
-import org.apache.xmlbeans.impl.jam.JClass;
-
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLInputFactory;
-import java.io.InputStream;
-import java.io.Reader;
-import java.io.StringWriter;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Collection;
-import java.util.ArrayList;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-/*package*/ class JamXmlReader implements JamXmlElements {
-
-  // ========================================================================
-  // Variables
-
-  private XMLStreamReader mIn;
-  private CachedClassBuilder mCache;
-  private ElementContext mContext;
-
-  // ========================================================================
-  // Constructors
-
-  public JamXmlReader(CachedClassBuilder cache, 
-                      InputStream in, 
-                      ElementContext ctx)
-    throws XMLStreamException
-  {
-    this(cache,XMLInputFactory.newInstance().createXMLStreamReader(in),ctx);
-  }
-
-  public JamXmlReader(CachedClassBuilder cache,
-                      Reader in,
-                      ElementContext ctx)
-    throws XMLStreamException
-  {
-    this(cache,XMLInputFactory.newInstance().createXMLStreamReader(in),ctx);
-  }
-
-  public JamXmlReader(CachedClassBuilder cache,
-                      XMLStreamReader in,
-                      ElementContext ctx)
-  {
-    if (cache == null) throw new IllegalArgumentException("null cache");
-    if (in == null) throw new IllegalArgumentException("null cache");
-    if (ctx == null) throw new IllegalArgumentException("null ctx");
-    mIn = in;
-    mCache = cache;
-    mContext = ctx;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public void read() throws XMLStreamException {
-    nextElement();
-    assertStart(JAMSERVICE);
-    nextElement();
-    while(CLASS.equals(getElementName())) readClass();
-    assertEnd(JAMSERVICE);
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void readClass() throws XMLStreamException {
-    assertStart(CLASS);
-    nextElement();
-    String clazzName = assertCurrentString(CLASS_NAME);
-    int dot = clazzName.lastIndexOf('.');
-    String pkgName = "";
-    if (dot != -1) {
-      pkgName = clazzName.substring(0,dot);
-      clazzName = clazzName.substring(dot+1);
-    }
-    MClass clazz = mCache.createClassToBuild(pkgName,clazzName,null);
-    //
-    clazz.setIsInterface(assertCurrentBoolean(ISINTERFACE));
-    clazz.setModifiers(assertCurrentInt(MODIFIERS));
-    String supername = checkCurrentString(SUPERCLASS);
-    if (supername != null) clazz.setSuperclass(supername);
-    while((supername = checkCurrentString(INTERFACE)) != null) {
-      clazz.addInterface(supername);
-    }
-    while(FIELD.equals(getElementName())) readField(clazz);
-    while(CONSTRUCTOR.equals(getElementName())) readConstructor(clazz);
-    while(METHOD.equals(getElementName())) readMethod(clazz);
-    readAnnotatedElement(clazz);
-    assertEnd(CLASS);
-    ((ClassImpl)clazz).setState(ClassImpl.LOADED);
-    nextElement();
-  }
-
-  private void readField(MClass clazz) throws XMLStreamException {
-    assertStart(FIELD);
-    MField field = clazz.addNewField();
-    nextElement();
-    field.setSimpleName(assertCurrentString(NAME));
-    field.setModifiers(assertCurrentInt(MODIFIERS));
-    field.setType(assertCurrentString(TYPE));
-    readAnnotatedElement(field);
-    assertEnd(FIELD);
-    nextElement();
-  }
-
-  private void readConstructor(MClass clazz) throws XMLStreamException {
-    assertStart(CONSTRUCTOR);
-    MConstructor ctor = clazz.addNewConstructor();
-    nextElement();
-    readInvokableContents(ctor);
-    assertEnd(CONSTRUCTOR);
-    nextElement();
-  }
-
-  private void readMethod(MClass clazz) throws XMLStreamException {
-    assertStart(METHOD);
-    MMethod method = clazz.addNewMethod();
-    nextElement();
-    method.setSimpleName(assertCurrentString(NAME));
-    method.setReturnType(assertCurrentString(RETURNTYPE));
-    readInvokableContents(method);
-    assertEnd(METHOD);
-    nextElement();
-  }
-
-  private void readSourcePosition(MAnnotatedElement element)
-    throws XMLStreamException
-  {
-    assertStart(SOURCEPOSITION);
-    MSourcePosition pos = element.createSourcePosition();
-    nextElement();
-    if (LINE.equals(getElementName())) {
-      pos.setLine(assertCurrentInt(LINE));
-    }
-    if (COLUMN.equals(getElementName())) {
-      pos.setColumn(assertCurrentInt(COLUMN));
-    }
-    if (SOURCEURI.equals(getElementName())) {
-      try {
-        pos.setSourceURI(new URI(assertCurrentString(SOURCEURI)));
-      } catch(URISyntaxException use) {
-        throw new XMLStreamException(use);
-      }
-    }
-    assertEnd(SOURCEPOSITION);
-    nextElement();
-  }
-
-  private void readInvokableContents(MInvokable out)
-    throws XMLStreamException
-  {
-    out.setModifiers(assertCurrentInt(MODIFIERS));
-    while(PARAMETER.equals(getElementName())) {
-      nextElement();
-      MParameter param = out.addNewParameter();
-      param.setSimpleName(assertCurrentString(NAME));
-      param.setType(assertCurrentString(TYPE));
-      readAnnotatedElement(param);
-      assertEnd(PARAMETER);
-      nextElement();
-    }
-    readAnnotatedElement(out);
-  }
-
-
-  private void readAnnotatedElement(MAnnotatedElement element)
-    throws XMLStreamException
-  {
-    while(ANNOTATION.equals(getElementName())) {
-      nextElement();
-      //REVIEW creating ann for tag is not the right thing to do here.
-      //we may need to store more info about exactly what the annotation was
-      MAnnotation ann = element.addLiteralAnnotation(assertCurrentString(NAME));
-      while(ANNOTATIONVALUE.equals(getElementName())) {
-        nextElement();
-        String name = assertCurrentString(NAME);
-        String type = assertCurrentString(TYPE);
-        JClass jclass = mContext.getClassLoader().loadClass(type);
-        if (jclass.isArrayType()) {
-          Collection list = new ArrayList();
-          while(VALUE.equals(getElementName())) {
-            String value = assertCurrentString(VALUE);
-            list.add(value);
-          }
-          String[] vals = new String[list.size()];
-          list.toArray(vals);
-          ann.setSimpleValue(name,vals,jclass);
-        } else {
-          String value = assertCurrentString(VALUE);
-          ann.setSimpleValue(name,value, jclass);
-        }
-        assertEnd(ANNOTATIONVALUE);
-        nextElement();
-      }
-      assertEnd(ANNOTATION);
-      nextElement();
-    }
-    if (COMMENT.equals(getElementName())) {
-      element.createComment().setText(mIn.getElementText());
-      assertEnd(COMMENT);
-      nextElement();
-    }
-    if (SOURCEPOSITION.equals(getElementName())) {
-      readSourcePosition(element);
-    }
-  }
-
-
-  private void assertStart(String named) throws XMLStreamException {
-    if (!mIn.isStartElement() || !named.equals(getElementName())) {
-      error("expected to get a <"+named+">, ");
-    }
-  }
-
-  private void assertEnd(String named) throws XMLStreamException {
-    if (!mIn.isEndElement() || !named.equals(getElementName())) {
-      error("expected to get a </"+named+">, ");
-    }
-  }
-
-
-
-  private String checkCurrentString(String named) throws XMLStreamException {
-    if (named.equals(getElementName())) {
-      String val = mIn.getElementText();
-      assertEnd(named);
-      nextElement();
-      return val;
-    }
-    return null;
-  }
-
-
-  private String assertCurrentString(String named) throws XMLStreamException {
-    assertStart(named);
-    String val = mIn.getElementText();
-    assertEnd(named);
-    nextElement();
-    return val;
-  }
-
-  private int assertCurrentInt(String named) throws XMLStreamException {
-    assertStart(named);
-    String val = mIn.getElementText();
-    assertEnd(named);
-    nextElement();
-    return Integer.valueOf(val).intValue();
-  }
-
-  private boolean assertCurrentBoolean(String named) throws XMLStreamException {
-    assertStart(named);
-    String val = mIn.getElementText();
-    assertEnd(named);
-    nextElement();
-    return Boolean.valueOf(val).booleanValue();
-  }
-
-
-  private void error(String message) throws XMLStreamException {
-    StringWriter out = new StringWriter();
-    out.write("<");
-    out.write(mIn.getLocalName());
-    out.write("> line:");
-    out.write(""+mIn.getLocation().getLineNumber());
-    out.write(" col:");
-    out.write(""+mIn.getLocation().getColumnNumber());
-    out.write("]");
-    throw new XMLStreamException(message+":\n "+out.toString());
-  }
-
-  private void nextElement() throws XMLStreamException {
-    do {
-      if (mIn.next() == -1) {
-        throw new XMLStreamException("Unexpected end of file");
-      }
-    } while(!mIn.isEndElement() && !mIn.isStartElement());
-  }
-
-  private String getElementName() {
-    return mIn.getLocalName();
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlUtils.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlUtils.java
deleted file mode 100644
index 09b6dce..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlUtils.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.xml;
-
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.internal.CachedClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceContextImpl;
-import org.apache.xmlbeans.impl.jam.internal.JamServiceImpl;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-
-import javax.xml.stream.XMLStreamException;
-import java.io.InputStream;
-import java.io.IOException;
-import java.io.Writer;
-import java.util.List;
-import java.util.Arrays;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JamXmlUtils {
-
-  // ========================================================================
-  // Singleton
-
-  public static final JamXmlUtils getInstance() { return INSTANCE; }
-
-  private static final JamXmlUtils INSTANCE = new JamXmlUtils();
-
-  private JamXmlUtils() {}
-
-  // ========================================================================
-  // Public methods
-
-  public JamService createService(InputStream in)
-    throws IOException, XMLStreamException
-  {
-    if (in == null) throw new IllegalArgumentException("null stream");
-    JamServiceFactory jsf = JamServiceFactory.getInstance();
-    JamServiceParams params = jsf.createServiceParams();
-    CachedClassBuilder cache = new CachedClassBuilder();
-    // finish initalizing the params and create the service
-    ((JamServiceContextImpl)params).addBaseBuilder(cache);
-    JamService out = jsf.createService(params);
-    // now go read the xml.  we have to do this afterwards so that the
-    // classloader has been created and is available for linking.
-    JamXmlReader reader = new JamXmlReader(cache,in,(ElementContext)params);
-    reader.read();
-    {
-      // slightly gross hack to get the class names into the service
-      List classNames = Arrays.asList(cache.getClassNames());
-      classNames.addAll(Arrays.asList(out.getClassNames()));
-      String[] nameArray = new String[classNames.size()];
-      classNames.toArray(nameArray);
-      ((JamServiceImpl)out).setClassNames(nameArray);
-    }
-    return out;
-  }
-
-  public void toXml(JClass[] clazzes, Writer writer)
-    throws IOException, XMLStreamException
-  {
-    if (clazzes == null) throw new IllegalArgumentException("null classes");
-    if (writer == null) throw new IllegalArgumentException("null writer");
-    JamXmlWriter out = new JamXmlWriter(writer);
-    out.begin();
-    for(int i=0; i<clazzes.length; i++) out.write(clazzes[i]);
-    out.end();
-  }
-
-}
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlWriter.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlWriter.java
deleted file mode 100644
index 0cc004e..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/JamXmlWriter.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.xml;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JConstructor;
-import org.apache.xmlbeans.impl.jam.JField;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.JAnnotation;
-import org.apache.xmlbeans.impl.jam.JComment;
-import org.apache.xmlbeans.impl.jam.JAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.JInvokable;
-import org.apache.xmlbeans.impl.jam.JSourcePosition;
-import org.apache.xmlbeans.impl.jam.JAnnotationValue;
-
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLOutputFactory;
-import java.io.Writer;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-/*package*/ class JamXmlWriter implements JamXmlElements {
-
-  // ========================================================================
-  // Variables
-
-  private XMLStreamWriter mOut;
-  private boolean mInBody = false;
-  private boolean mWriteSourceURI = false;
-
-  // ========================================================================
-  // Constructors
-
-  public JamXmlWriter(Writer out) throws XMLStreamException  {
-    if (out == null) throw new IllegalArgumentException("null out");
-    mOut = XMLOutputFactory.newInstance().createXMLStreamWriter(out);
-  }
-
-  public JamXmlWriter(XMLStreamWriter out) {
-    if (out == null) throw new IllegalArgumentException("null out");
-    mOut = out;
-  }
-
-  // ========================================================================
-  // Public methods
-
-
-  public void begin() throws XMLStreamException {
-    if (mInBody) throw new XMLStreamException("begin() already called");
-    mOut.writeStartElement(JAMSERVICE);
-    mInBody = true;
-  }
-
-  public void end() throws XMLStreamException {
-    if (!mInBody) throw new XMLStreamException("begin() never called");
-    mOut.writeEndElement();
-    mInBody = false;
-  }
-
-
-  /*
-  public void write(JPackage pkg) throws XMLStreamException {
-    assertStarted();
-    mOut.writeStartElement(PACKAGE);
-    JClass[] c = pkg.getClasses();
-    for(int i=0; i<c.length; i++) write(c[i]);
-    writeAnnotatedElement(pkg);
-    mOut.writeEndElement();
-  }*/
-
-  public void write(JClass clazz) throws XMLStreamException {
-    assertStarted();
-    mOut.writeStartElement(CLASS);
-    writeValueElement(CLASS_NAME,clazz.getFieldDescriptor());
-    writeValueElement(ISINTERFACE,clazz.isInterface());
-    writeModifiers(clazz.getModifiers());
-    JClass sc = clazz.getSuperclass();
-    if (sc != null) writeValueElement(SUPERCLASS,sc.getFieldDescriptor());
-    writeClassList(INTERFACE,clazz.getInterfaces());
-    {
-      JField[] f = clazz.getDeclaredFields();
-      for(int i=0; i<f.length; i++) write(f[i]);
-    }{
-      JConstructor[] c = clazz.getConstructors();
-      for(int i=0; i<c.length; i++) write(c[i]);
-    }{
-      JMethod[] m = clazz.getDeclaredMethods();
-      for(int i=0; i<m.length; i++) write(m[i]);
-    }
-    //FIXME inner classes?
-    writeAnnotatedElement(clazz);
-    mOut.writeEndElement();
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private void write(JMethod method) throws XMLStreamException {
-    mOut.writeStartElement(METHOD);
-    writeValueElement(NAME,method.getSimpleName());
-    writeValueElement(RETURNTYPE,
-                      method.getReturnType().getFieldDescriptor());
-    writeInvokable(method);
-    mOut.writeEndElement();
-  }
-
-  private void write(JConstructor ctor) throws XMLStreamException {
-    mOut.writeStartElement(CONSTRUCTOR);
-    writeInvokable(ctor);
-    mOut.writeEndElement();
-  }
-
-  private void write(JField field) throws XMLStreamException {
-    mOut.writeStartElement(FIELD);
-    writeValueElement(NAME,field.getSimpleName());
-    writeModifiers(field.getModifiers());
-    writeValueElement(TYPE,field.getType().getFieldDescriptor());
-    writeAnnotatedElement(field);
-    mOut.writeEndElement();
-  }
-
-  private void writeInvokable(JInvokable ji) throws XMLStreamException {
-    writeModifiers(ji.getModifiers());
-    JParameter[] params = ji.getParameters();
-    for(int i=0; i<params.length; i++) {
-      mOut.writeStartElement(PARAMETER);
-      writeValueElement(NAME,params[i].getSimpleName());
-      writeValueElement(TYPE,params[i].getType().getFieldDescriptor());
-      writeAnnotatedElement(params[i]);
-      mOut.writeEndElement();
-    }
-    writeAnnotatedElement(ji);
-  }
-
-  private void writeClassList(String elementName, JClass[] clazzes)
-    throws XMLStreamException
-  {
-    for(int i=0; i<clazzes.length; i++) {
-      mOut.writeStartElement(elementName);
-      mOut.writeCharacters(clazzes[i].getFieldDescriptor());
-      mOut.writeEndElement();
-    }
-  }
-
-  private void writeModifiers(int mods) throws XMLStreamException {
-    mOut.writeStartElement(MODIFIERS);
-    mOut.writeCharacters(String.valueOf(mods));
-    mOut.writeEndElement();
-  }
-
-  private void writeValueElement(String elementName, boolean b)
-    throws XMLStreamException
-  {
-    mOut.writeStartElement(elementName);
-    mOut.writeCharacters(String.valueOf(b));
-    mOut.writeEndElement();
-  }
-
-  private void writeValueElement(String elementName, int x)
-    throws XMLStreamException
-  {
-    mOut.writeStartElement(elementName);
-    mOut.writeCharacters(String.valueOf(x));
-    mOut.writeEndElement();
-  }
-
-  private void writeValueElement(String elementName, String val)
-    throws XMLStreamException
-  {
-    mOut.writeStartElement(elementName);
-    mOut.writeCharacters(val);
-    mOut.writeEndElement();
-  }
-
-  private void writeValueElement(String elementName, String[] vals)
-    throws XMLStreamException
-  {
-    for(int i=0; i<vals.length; i++) writeValueElement(elementName,vals[i]);
-  }
-
-
-  private void writeAnnotatedElement(JAnnotatedElement ae)
-    throws XMLStreamException
-  {
-    JAnnotation[] anns = ae.getAnnotations();
-    for(int i=0; i<anns.length; i++) {
-      writeAnnotation(anns[i]);
-    }
-    JComment jc = ae.getComment();
-    if (jc != null) {
-      String text = jc.getText();
-      if (text != null) {
-        text = text.trim();
-        if (text.length() > 0) {
-          mOut.writeStartElement(COMMENT);
-          mOut.writeCData(jc.getText());
-          mOut.writeEndElement();
-        }
-      }
-    }
-    JSourcePosition pos = ae.getSourcePosition();
-    if (pos != null) {
-      mOut.writeStartElement(SOURCEPOSITION);
-      if (pos.getLine() != -1) {
-        writeValueElement(LINE,pos.getLine());
-      }
-      if (pos.getColumn() != -1) {
-        writeValueElement(COLUMN,pos.getColumn());
-      }
-      if (mWriteSourceURI && pos.getSourceURI() != null)
-        writeValueElement(SOURCEURI,pos.getSourceURI().toString());
-      mOut.writeEndElement();
-    }
-  }
-
-  private void writeAnnotation(JAnnotation ann) throws XMLStreamException {
-    mOut.writeStartElement(ANNOTATION);
-    writeValueElement(NAME,ann.getSimpleName());
-    JAnnotationValue[] values = ann.getValues();
-    for(int i=0; i<values.length; i++) {
-      writeAnnotationValue(values[i]);
-    }
-    mOut.writeEndElement();
-  }
-
-  private void writeAnnotationValue(JAnnotationValue val)
-    throws XMLStreamException
-  {
-    mOut.writeStartElement(ANNOTATIONVALUE);
-    writeValueElement(NAME,val.getName());
-    writeValueElement(TYPE,val.getType().getFieldDescriptor());
-    if (val.getType().isArrayType()) {
-      writeValueElement(VALUE,val.asStringArray());
-    } else {
-      writeValueElement(VALUE,val.asString());
-    }
-
-    mOut.writeEndElement();
-    //FIXME what about asAnnotationArray?
-/*    JAnnotation nestedAnn = val.asAnnotation();
-    if (nestedAnn != null) {
-      writeAnnotation(nestedAnn);
-    } else {
-      writeValueElement(VALUE,val.asString());
-    }
-    */
-  }
-
-  private void assertStarted() throws XMLStreamException {
-    if (!mInBody) throw new XMLStreamException("begin() not called");
-  }
-
-}
\ No newline at end of file
diff --git a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/TunnelledException.java b/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/TunnelledException.java
deleted file mode 100644
index 8e17313..0000000
--- a/v2/jam/src/org/apache/xmlbeans/impl/jam/xml/TunnelledException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.xml;
-
-import javax.xml.stream.XMLStreamException;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class TunnelledException extends RuntimeException {
-
-  private XMLStreamException mXSE = null;
-
-  public TunnelledException(XMLStreamException xse) {
-    mXSE = xse;
-  }
-
-  public XMLStreamException getXMLStreamException() { return mXSE; }
-
-}
diff --git a/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Javadoc15DelegateImpl.java b/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Javadoc15DelegateImpl.java
deleted file mode 100644
index ff03326..0000000
--- a/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Javadoc15DelegateImpl.java
+++ /dev/null
@@ -1,275 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.java15;
-
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.internal.javadoc.Javadoc15Delegate;
-import org.apache.xmlbeans.impl.jam.internal.javadoc.JavadocClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.JClass;
-import com.sun.javadoc.ProgramElementDoc;
-import com.sun.javadoc.AnnotationDesc;
-import com.sun.javadoc.Parameter;
-import com.sun.javadoc.Type;
-import com.sun.javadoc.AnnotationValue;
-import com.sun.javadoc.FieldDoc;
-import com.sun.javadoc.ClassDoc;
-import com.sun.javadoc.SourcePosition;
-import com.sun.javadoc.AnnotationTypeElementDoc;
-import com.sun.javadoc.ExecutableMemberDoc;
-
-
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class Javadoc15DelegateImpl implements Javadoc15Delegate {
-
-  // ========================================================================
-  // Variables
-
-  private ElementContext mContext = null;
-
-  // ========================================================================
-  // Javadoc15Delegate implementation
-
-  public void init(ElementContext ctx) {
-    if (mContext != null) {
-      throw new IllegalStateException("init called more than once");
-    }
-    mContext = ctx;
-  }
-
-  public void extractAnnotations(MAnnotatedElement dest,
-                                 ProgramElementDoc src) {
-    if (mContext == null) throw new IllegalStateException("init not called");
-    if (dest == null) throw new IllegalArgumentException("null dest");
-    if (src == null) throw new IllegalArgumentException("null src");
-    extractAnnotations(dest,src.annotations(),src.position());
-  }
-
-  public void extractAnnotations(MAnnotatedElement dest,
-                                 ExecutableMemberDoc method,
-                                 Parameter src)
-  {
-    extractAnnotations(dest,src.annotations(),method.position());
-  }
-
-  public boolean isEnum(ClassDoc cd) {
-    return cd.isEnum();
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void extractAnnotations(MAnnotatedElement dest,
-                                  AnnotationDesc[] anns,
-                                  SourcePosition sp)
-  {
-    if (anns == null) return; //?
-    for(int i=0; i<anns.length; i++) {
-      MAnnotation destAnn = dest.findOrCreateAnnotation
-        (anns[i].annotationType().asClassDoc().qualifiedName());
-      populateAnnotation(destAnn,anns[i],sp);
-    }
-  }
-
-  private void populateAnnotation(MAnnotation dest, 
-                                  AnnotationDesc src, 
-                                  SourcePosition sp) {
-    if (sp != null) JavadocClassBuilder.addSourcePosition(dest,sp);
-    AnnotationDesc.ElementValuePair[] mvps = src.elementValues();
-    for(int i=0; i<mvps.length; i++) {
-      Type jmt = mvps[i].element().returnType();
-      String typeName = jmt.qualifiedTypeName();
-      String name = mvps[i].element().name();
-      AnnotationValue aval = mvps[i].value();
-      Object valueObj;
-      try {
-        valueObj = aval.value();
-      } catch(NullPointerException npe) {
-        //FIXME temporary workaround for sun bug
-        mContext.getLogger().warning
-          ("Encountered a known javadoc bug which usually \n"+
-           "indicates a syntax error in an annotation value declaration.\n"+
-           "The value is being ignored.\n"+
-           "[file="+sp.file()+", line="+sp.line()+"]");
-        continue;
-
-      }
-      if (mContext.getLogger().isVerbose(this)) {
-        mContext.getLogger().verbose(name+" is a "+typeName+" with valueObj "+
-                                     valueObj+", class is "+valueObj.getClass());
-      }
-      // ok, take a look at how what it really is and translate it into an
-      // appropriate represenatation
-      if (valueObj instanceof AnnotationDesc) {
-        MAnnotation nested = dest.createNestedValue(name,typeName);
-        populateAnnotation(nested,(AnnotationDesc)valueObj,sp);
-      } else if (valueObj instanceof Number || valueObj instanceof Boolean) {
-        JClass type = mContext.getClassLoader().loadClass(jmt.typeName());
-        dest.setSimpleValue(name,valueObj,type);
-      } else if (valueObj instanceof FieldDoc) {
-        // this means it's an enum constant
-        JClass type = mContext.getClassLoader().loadClass
-          (((FieldDoc)valueObj).containingClass().qualifiedName());
-        String val = ((FieldDoc)valueObj).name(); //REVIEW is this right?
-        dest.setSimpleValue(name,val,type);
-      } else if (valueObj instanceof ClassDoc) {
-         JClass clazz = mContext.getClassLoader().loadClass
-          (((FieldDoc)valueObj).containingClass().qualifiedName());
-        dest.setSimpleValue(name,clazz,loadClass(JClass.class));
-      } else if (valueObj instanceof String) {
-        String v = ((String)valueObj).trim();
-        if (v.startsWith("\"") && v.endsWith("\"")) {
-          //javadoc gives us the quotes, which seems kinda dumb.  just deal.
-          valueObj = v.substring(1,v.length()-1);
-        }
-        dest.setSimpleValue(name,valueObj,loadClass(String.class));
-      } else if (valueObj instanceof AnnotationValue[]) {
-        // this is another big chunk of work, just factored into a new
-        // method to keep things cleaner
-        populateArrayMember(dest,mvps[i].element(),(AnnotationValue[])valueObj,sp);
-      } else {
-        mContext.getLogger().error("Value of annotation member "+name+" is " +
-                                   "of an unexpected type: "+
-                                   valueObj.getClass()+"   ["+valueObj+"]");
-      }
-    }
-  }
-
-  /**
-   *
-   * The javadocs for com.sun.javadoc.AnnotationValue.value() read as follows:
-   *
-   * <p><pre><i>
-   *
-   * Returns the value. The type of the returned object is one of the
-   * following:
-   *
-   * a wrapper class for a primitive type
-   * String
-   * ClassDoc
-   * FieldDoc (representing an enum constant)
-   * AnnotationDesc
-   * AnnotationValue[]
-   *
-   * </i></pre></p>
-   *
-   * <p>It seems quite broken to me that in the array case, it returns an array
-   * of AnnotationValues.  It would be a lot easier to deal with the API
-   * if that last line instead read "or an array of any of the above."                                           
-   * As it is, it's imposible to get the doclet API to give you a simple
-   * array of ints, for example.  It's not at all clear what the extra
-   * wrapping buys you.</p>
-   *
-   * <p>So, this method does a bunch of work so that JAM does the unwrapping
-   * for the user.</p>
-   */
-  private void populateArrayMember(MAnnotation dest,
-                                   AnnotationTypeElementDoc memberDoc,
-                                   AnnotationValue[] annValueArray,
-                                   SourcePosition sp)
-  {
-    if (sp != null) JavadocClassBuilder.addSourcePosition(dest,sp);
-    String memberName = memberDoc.name();
-    Type returnType = memberDoc.returnType();
-    if (annValueArray.length == 0) {
-      Object[] value = new Object[0];
-      //FIXME this is a little bit busted - we should try to give them
-      //more type information than this.  it's just a little bit harder
-      //to figure it out from the javadoc objects
-      dest.setSimpleValue(memberName,value,
-                          loadClass(returnType.qualifiedTypeName()));
-      return;
-    }
-    // unpack the AnnotationValue values into a single array.
-    Object[] valueArray = new Object[annValueArray.length];
-    for(int i=0; i<valueArray.length; i++) {
-      try {
-        valueArray[i] = annValueArray[i].value();
-        if (valueArray[i] == null) {
-          mContext.getLogger().error
-            ("Javadoc provided an array annotation member value which contains "+
-             "[file="+sp.file()+", line="+sp.line()+"]");
-          return;
-        }
-      } catch(NullPointerException npe) {
-        //FIXME temporary workaround for sun bug
-        mContext.getLogger().warning
-          ("Encountered a known javadoc bug which usually \n"+
-           "indicates a syntax error in an annotation value declaration.\n"+
-           "The value is being ignored.\n"+
-           "[file="+sp.file()+", line="+sp.line()+"]");
-        return;
-      }
-    }
-    // now go do something with them
-    if (valueArray[0] instanceof AnnotationDesc) {
-      String annType =
-        ((AnnotationDesc)valueArray[0]).annotationType().qualifiedName();
-      MAnnotation[] anns = dest.createNestedValueArray
-        (memberName, annType, valueArray.length);
-      for(int i=0; i<anns.length; i++) {
-        populateAnnotation(anns[i],(AnnotationDesc)valueArray[i],sp);
-      }
-    } else if (valueArray[0] instanceof Number || valueArray[0] instanceof Boolean) {
-      JClass type = loadClass(JavadocClassBuilder.getFdFor(returnType));
-      dest.setSimpleValue(memberName,annValueArray,type);
-    } else if (valueArray[0] instanceof FieldDoc) {
-      // this means it's an array of an enum constants
-      String enumTypeName =
-        ((FieldDoc)valueArray[0]).containingClass().qualifiedName();
-      JClass memberType = loadClass("[L"+enumTypeName+";");
-      String[] value = new String[valueArray.length];
-      for(int i=0; i<valueArray.length; i++) {
-        value[i] = ((FieldDoc)valueArray[i]).name(); //REVIEW is this right?
-      }
-      dest.setSimpleValue(memberName,value,memberType);
-    } else if (valueArray[0] instanceof ClassDoc) {
-      JClass[] value = new JClass[valueArray.length];
-      for(int i=0; i<value.length; i++) {
-        value[i] = loadClass(((ClassDoc)valueArray[0]).qualifiedName());
-      }
-      dest.setSimpleValue(memberName,value,loadClass(JClass[].class));
-    } else if (valueArray[0] instanceof String) {
-      String[] value = new String[valueArray.length];
-      for(int i=0; i<value.length; i++) {
-        String v = ((String)valueArray[i]).trim();
-        if (v.startsWith("\"") && v.endsWith("\"")) {
-          //javadoc gives us the quotes, which seems kinda dumb.  just deal.
-          v = v.substring(1,v.length()-1);
-        }
-        value[i] = v;
-      }
-      dest.setSimpleValue(memberName,value,loadClass(String[].class));
-    } else {
-      mContext.getLogger().error("Value of array annotation member "+
-                                 memberName+" is of an unexpected type: "+
-                                 valueArray[0].getClass()+"   ["+
-                                 valueArray[0]+"]");
-    }
-  }
-
-  private JClass loadClass(String fd) {
-    return mContext.getClassLoader().loadClass(fd);
-  }
-
-  //maybe we should put this on JamClassLoader?
-  private JClass loadClass(Class clazz) {
-    return loadClass(clazz.getName());
-  }
-}
diff --git a/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Reflect15DelegateImpl.java b/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Reflect15DelegateImpl.java
deleted file mode 100644
index a8e7ed6..0000000
--- a/v2/jam/src15/org/apache/xmlbeans/impl/jam/internal/java15/Reflect15DelegateImpl.java
+++ /dev/null
@@ -1,200 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.jam.internal.java15;
-
-import org.apache.xmlbeans.impl.jam.internal.reflect.Reflect15Delegate;
-import org.apache.xmlbeans.impl.jam.internal.elements.ElementContext;
-import org.apache.xmlbeans.impl.jam.mutable.MMember;
-import org.apache.xmlbeans.impl.jam.mutable.MConstructor;
-import org.apache.xmlbeans.impl.jam.mutable.MField;
-import org.apache.xmlbeans.impl.jam.mutable.MClass;
-import org.apache.xmlbeans.impl.jam.mutable.MParameter;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotatedElement;
-import org.apache.xmlbeans.impl.jam.mutable.MAnnotation;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.provider.JamLogger;
-
-import java.lang.reflect.Method;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
-import java.lang.reflect.Modifier;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.annotation.Annotation;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class Reflect15DelegateImpl implements Reflect15Delegate {
-
-  // ========================================================================
-  // Variables
-
-  private ElementContext mContext = null;
-  private JamLogger mLogger = null;
-
-  // ========================================================================
-  // Reflect15Delegate implementation
-
-  public void init(ElementContext ctx) {
-    if (mContext != null) throw new IllegalStateException("init called twice");
-    mContext = ctx;
-    mLogger = mContext.getLogger();
-  }
-
-  public void extractAnnotations(MMember dest, Method src) {
-    Annotation[] anns = src.getDeclaredAnnotations();
-    if (anns == null) return;
-    extractAnnotations(dest,anns);
-  }
-
-  public void extractAnnotations(MConstructor dest, Constructor src) {
-    Annotation[] anns = src.getDeclaredAnnotations();
-    if (anns == null) return;
-    extractAnnotations(dest,anns);
-  }
-
-  public void extractAnnotations(MField dest, Field src) {
-    Annotation[] anns = src.getDeclaredAnnotations();
-    if (anns == null) return;
-    extractAnnotations(dest,anns);
-  }
-
-  public void extractAnnotations(MClass dest, Class src) {
-    Annotation[] anns = src.getDeclaredAnnotations();
-    if (anns == null) return;
-    extractAnnotations(dest,anns);
-  }
-
-  public void extractAnnotations(MParameter dest, Method src,
-                                 int paramNum) {
-    Annotation[][] anns;
-    try {
-      anns = src.getParameterAnnotations();
-    } catch(NullPointerException wtf) {
-      //FIXME workaround, sun code throws an NPE here
-      if (mLogger.isVerbose(this)) {
-        mLogger.verbose("ignoring unexpected error while calling Method.getParameterAnnotations():");
-        mLogger.verbose(wtf);
-      }
-      //wtf.printStackTrace();
-      return;
-    }
-    if (anns == null) return;
-    if (paramNum >= anns.length) {
-      if (mLogger.isVerbose(this)) {
-        mLogger.warning("method "+src.getName()+
-                        " has fewer than expected parameter annotations ");
-      }
-      return;
-    }
-    extractAnnotations(dest,anns[paramNum]);
-  }
-
-  public void extractAnnotations(MParameter dest, Constructor src,
-                                 int paramNum) {
-    Annotation[][] anns;
-    try {
-      anns = src.getParameterAnnotations();
-    } catch(NullPointerException wtf) {
-      //FIXME workaround, sun code throws an NPE here
-      if (mLogger.isVerbose(this)) {
-        mLogger.verbose("ignoring unexpected error while calling Constructor.getParameterAnnotations():");
-        mLogger.verbose(wtf);
-      }
-      //wtf.printStackTrace();
-      return;
-    }
-    if (anns == null) return;
-    if (paramNum >= anns.length) {
-      if (mLogger.isVerbose(this)) {
-        mLogger.warning("constructor "+src.getName()+
-                        " has fewer than expected parameter annotations ");
-      }
-      return;
-    }
-    extractAnnotations(dest,anns[paramNum]);
-  }
-
-  public boolean isEnum(Class clazz) { return clazz.isEnum(); }
-
-  // ========================================================================
-  // Private methods
-
-  private void extractAnnotations(MAnnotatedElement dest,
-                                  Annotation[] anns)
-  {
-    if (anns == null || anns.length == 0) return;
-    for(int i=0; i<anns.length; i++) {
-      MAnnotation destAnn = dest.findOrCreateAnnotation
-        (anns[i].annotationType().getName());
-      destAnn.setAnnotationInstance(anns[i]);
-      populateAnnotation(destAnn,anns[i]);
-    }
-  }
-
-  private void populateAnnotation(MAnnotation dest, Annotation src) {
-    boolean isVerbose = mLogger.isVerbose(this);
-    if (src == null) throw new IllegalArgumentException();
-    Class annType = src.annotationType();
-    if (isVerbose) mLogger.verbose("type is "+annType.getName());
-    //FIXME this is a bit clumsy right now - I think we need to be a little
-    // more surgical in identifying the annotation member methods
-    Method[] methods = annType.getMethods();
-    for(int i=0; i<methods.length; i++) {
-      if (isVerbose) mLogger.verbose("examining "+methods[i].toString());
-      int mods = methods[i].getModifiers();
-      if (Modifier.isStatic(mods)) continue;
-      if (!Modifier.isPublic(mods)) continue;
-      if (methods[i].getParameterTypes().length > 0) continue;
-      {
-        // try to limit it to real annotation methods.
-        // FIXME seems like this could be better
-        Class c = methods[i].getDeclaringClass();
-        if (Object.class.equals(c) || Annotation.class.equals(c)) {
-          continue;
-        }
-      }
-      try {
-        if (isVerbose) mLogger.verbose("invoking "+methods[i].getName()+"()");
-        Object value = methods[i].invoke(src,(Object[])null);
-        if (isVerbose) mLogger.verbose("value is "+value);
-        if (value instanceof Annotation) {
-          if (isVerbose) mLogger.verbose("it's nested!!  creating for "+
-                                         methods[i].getName()+" and "+
-                                         annType.getName());
-          MAnnotation nested = dest.createNestedValue(methods[i].getName(),
-                                                      annType.getName());
-          nested.setAnnotationInstance(value);
-          populateAnnotation(nested,(Annotation)value);
-        } else if (value instanceof Annotation[]) {
-          Annotation[] anns = (Annotation[])value;
-          MAnnotation[] nested = dest.createNestedValueArray
-            (methods[i].getName(),
-             methods[i].getReturnType().getComponentType().getName(),
-             anns.length);
-          for(int j=0; j<anns.length; j++) populateAnnotation(nested[j],anns[j]);
-        } else {
-          JClass type = mContext.getClassLoader().
-            loadClass(methods[i].getReturnType().getName());
-          dest.setSimpleValue(methods[i].getName(),value,type);
-        }
-      } catch (IllegalAccessException e) {
-        mLogger.warning(e);
-      } catch (InvocationTargetException e) {
-        mLogger.warning(e);
-      }
-    }
-  }
-}
diff --git a/v2/jam/test/build.xml b/v2/jam/test/build.xml
deleted file mode 100644
index 309cb2f..0000000
--- a/v2/jam/test/build.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<!-- NOTE: if you get errors about not being able to load the junit
-     task, try copying ../external/lib/junit.jar into your ant/lib
-     directory.  This seems to be an ant or JDK 1.5 bug, not sure which.
-
-     ALSO: If you are building under JDK1.5, you now MUST build under
-     1.5 beta49 or later.  This is becuase in b49 Sun renamed some classes
-     and methods in the doclet API.
--->
-
-
-<project name='jam.tests' basedir='.' default='clean_all_test'>
-
-<!-- Build file to build and run JAM tests -->
-
-  <property name='src-jamtest' value='.' />
-  <property name='jamroot' value='../' />
-   
-  <property name='build_dir' value='${jamroot}/../build/jam'/> <!--FIXME-->
-  <property name='test_build_dir' value='${build_dir}/test'/>
-  <property name='dummy_dir' value='${test_build_dir}/dummyclasses'/>
-  <property name='junit_jar' value='${jamroot}/external/lib/junit.jar' />
-  <property name='jsr173api_jar' value='../../build/lib/jsr173_api.jar'/>
-  <property name='jsr173ri_jar' value='../../build/lib/jsr173_ri.jar'/>
-  <property name='tidy_jar' value='../external/lib/tidy.jar'/>
-
-
-  <path id='classpath' >
-
- <!-- use build/classes instead of xbean.jar for develpment convenience -->
-    <pathelement path='${build_dir}/classes' />
-    <pathelement path='${dummy_dir}' />
-    <pathelement location='${test_build_dir}' />
-    <pathelement location='${junit_jar}'/>
-    <pathelement path='${java.class.path}' />
-
-    <pathelement location='${tidy_jar}' />
-    <pathelement location='${jsr173api_jar}' />
-    <pathelement location='${jsr173ri_jar}' />
-
-  </path>
-
-
-  <property name='classpath-value' refid='classpath'/>
-
-  <target name='clean_all_test' depends='clean,all,test'/>
-
-  <target name='clean' >
-    <delete dir='${test_build_dir}'/>
-  </target>
-
-  <target name='all' depends='compile,test' />
-
-  <target name='compile' >
-    <mkdir dir='${dummy_dir}'/>
-    <javac
-       source='1.5' target='1.5'
-       srcdir='dummyclasses'
-       destdir='${dummy_dir}'
-       classpathref='classpath'
-       includes='**/*.java'
-     />
-    <mkdir dir='${test_build_dir}'/>
-    <javac
-       srcdir='tests'
-       destdir='${test_build_dir}'
-       classpathref='classpath'
-       includes='**/*.java'
-     />
-  </target>
-
-
-  <target name="test">
-
-<!-- why do these have to be separate?  something gets
-     very confused if they're not
- -->
-
-    <echo message=''/>
-    <echo message=''/>
-    <echo message='================= beginning javadoc tests ======== '/>
-
-    <junit maxmemory="256m"     fork='true'
-           dir='.'
-           haltonerror='yes'
-           haltonfailure='yes'
-           showoutput='yes'
-           printsummary='yes'>
-      <classpath>
-        <pathelement path='${classpath-value}'/> <!--ref no workie-->
-      </classpath>
-      <formatter type='plain' usefile='false'/>
-      <test name='org.apache.xmlbeans.test.jam.SourcesJamTest'/>
-      <!-- <test name='org.apache.xmlbeans.test.jam.ReflectJamTest'/>-->
-      <!--parser work is on hold for the moment-->
-      <!--<test name='org.apache.xmlbeans.test.jam.ParserJamTest'/>-->
-    </junit>
-
-    <echo message=''/>
-    <echo message=''/>
-    <echo message='================= beginning reflection tests ======== '/>
-
-
-    <junit maxmemory="256m"     fork='true'
-           dir='.'
-           haltonerror='yes'
-           haltonfailure='yes'
-           showoutput='yes'
-           printsummary='yes'>
-      <classpath>
-        <pathelement path='${classpath-value}'/> <!--ref no workie-->
-      </classpath>
-      <formatter type='plain' usefile='false'/>
-      <test name='org.apache.xmlbeans.test.jam.ReflectJamTest'/>
-      <!--parser work is on hold for the moment-->
-      <!--<test name='org.apache.xmlbeans.test.jam.ParserJamTest'/>-->
-    </junit>
-
-  </target>
-
-</project>
\ No newline at end of file
diff --git a/v2/jam/test/dummyclasses/DefaultPackageClass.java b/v2/jam/test/dummyclasses/DefaultPackageClass.java
deleted file mode 100644
index 64b2d97..0000000
--- a/v2/jam/test/dummyclasses/DefaultPackageClass.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*   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.
- */
-
-/**
- * This is a class in the default package, which is a slightly strange
- * case for JAM.
- *
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class DefaultPackageClass {
-
-  public int getId() { return -1; }
-}
diff --git a/v2/jam/test/dummyclasses/org/TopLevelPackageClass.java b/v2/jam/test/dummyclasses/org/TopLevelPackageClass.java
deleted file mode 100644
index 1547eb4..0000000
--- a/v2/jam/test/dummyclasses/org/TopLevelPackageClass.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package org;
-
-/*   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.
- */
-/**
- * This is a class in a top-level pacakge.  It might be a little bit weird
- * for JAM just because the package name doesn't have any dots in it -
- * worth testing.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface TopLevelPackageClass {
-
-  public int getId();
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Base.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Base.java
deleted file mode 100644
index 544f1da..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Base.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-import org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException;
-
-import java.net.MalformedURLException;
-
-/**
-   * NOT doonkie javadoc!
-   */
-
-/**
- *  Dummy class for JAM tests.
- *
- *  @author pcal Nov 25, 2003
- */
-public abstract class Base implements Foo  {
-
-  /**
-   * NOT doonkie javadoc!
-   */
-  /**
-   * doonkie javadoc!
-   */
-  private double doonkie = 2312;
-  private long doonkietoo;
-
-  public int getId() { return -1; }
-
-
-  public String getFoo() { return "foo"; } // {{}}{{
-
-  public void setId(int id) {}
-
-
-
-
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Baz.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Baz.java
deleted file mode 100644
index 12271e2..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Baz.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-
-/**
- *  Dummy class for JAM tests.
- *
- *  @author pcal Nov 25, 2003
- */
-public class Baz implements Runnable {
-
-  public void run() {}
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Foo.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Foo.java
deleted file mode 100644
index 7e103b9..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Foo.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-
-/**
- *  Dummy class for JAM tests.
- *
- *  @author pcal Nov 25, 2003
- *
- */
-public interface Foo {
-
-  public int getId();
-
-  public void setId(int id);
-
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/FooImpl.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/FooImpl.java
deleted file mode 100644
index 32dd7f6..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/FooImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-import org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException;
-
-import java.net.MalformedURLException;
-
-/**
- *  Dummy class for JAM tests.
- *
- *  @author pcal Nov 25, 2003
- */
-public abstract class FooImpl extends Base implements Foo {
-
-  public int getId() { return -1; }
-
-  public void setId(int id) {}
-
-  private final static void setId2(double id) {}
-
-  protected synchronized void setId3(double id, double id2) {}
-
-  protected abstract void setId4(double id, double id2, double id3);
-
-  String[][] methodDealingWithArrays(int[] foo, Object[] bar) {
-    return null;
-  }
-
-  protected abstract void iThrowExceptions(int p1, String p2) throws
-          IllegalArgumentException,
-          NoSuchMethodError,
-          MyException,
-          MyEjbException,
-          MalformedURLException,
-          OutOfMemoryError,
-          NullPointerException;
-
-
-
-
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/HeavilyCommented.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/HeavilyCommented.java
deleted file mode 100644
index 26cd7ba..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/HeavilyCommented.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class HeavilyCommented {
-
-  /**
-   * A simple comment.
-   */
-  protected abstract void simpleComment();
-
-  /**
-   * A comment which
-   * spans
-   *
-   * several
-   *
-   *
-   * lines.
-   */
-  protected abstract void multilineComment();
-
-
-
-  /**
-   * Here is some
-   **funky
-   comment text
-                            but it should still
-   **** parse correctly
-   */
-//  protected abstract void strangeComment();
-
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ImportsGalore.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ImportsGalore.java
deleted file mode 100644
index a452cea..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ImportsGalore.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-
-import javax.xml.stream.XMLStreamException;
-
-import java.util.Properties;
-
-import java.lang.reflect.*;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface ImportsGalore {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ManyTags.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ManyTags.java
deleted file mode 100644
index 5ba45ce..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ManyTags.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-/**
- * Tests case for javadoc tags is declared more than once in a document.
- */
-public class ManyTags {
-
-  /**
-   * @foo x=-43 y=124 z=79
-   * @foo y=2
-   * @foo z=3
-   * x=1
-   * @foo w = 0
-   *
-   * @bar x=-4343
-   *
-   * @baz x=1
-   */
-  public int getId() { return -1; }
-  
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MultilineTags.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MultilineTags.java
deleted file mode 100644
index 1c581be..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MultilineTags.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-/**
- * @foo x = " this is a tag value which
- * spans several
- *
- * lines indeed"
- *
- * @bar y="  This is also a tag which spans
- *
- * a few lines but also has its closing
- *   quote in a weird place  "  see?
- *
- * @baz z=                       "
- *
- *                  I guess even something weird like
- *                       this should work
- *
- *
- *                              "
- * @boo a=   "  Here is a tag with multiple
- *   multiline values"
- * b = " here is another"
- * c = " and another
- * l = but this is still the same one
- * whoa that was = tricky"
- * d = "yup"
- *
- * @ejbgen:cmp-field column = "LicensorEntityID, CompanyID"
- * table-name= "LicensorEntity, Company"
- *
- * @ejbgen:finder
- *   signature = "java.util.Collection findByName(java.lang.String name)"
- *   ejb-ql = "SELECT OBJECT(o)
- *    FROM BandEJB AS o
- *    WHERE o.name = ?1"
- *
- * @ejbgen:cmp-field ordering-number="10" primkey-field="true" column="seth"
- *
- * @bee question = Can we confuse the parser?   "
- *     " =  "
- *   " ""
- *                                           " = = "
- *
- * @oldstyleSingleMemberValueTag I should be called 'value'
- *
- */
-public interface MultilineTags {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MyException.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MyException.java
deleted file mode 100644
index 43f811c..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/MyException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class MyException extends Exception {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ValuesById.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ValuesById.java
deleted file mode 100644
index 6ad3be8..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ValuesById.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses;
-
-/**
- * @foo x=-43 y=124 z=79
- * @foo y=2
- * @foo z=3
- * x=1
- * @foo w = 0
- *
- * @bar   x="hello"    y="goodbye"   widegetgen:name="aloha"
- *
- * @baz I have no pairs.
- *
- * @xsdgen:type target_namespace=http://www.yahoo.com
- * @xsdgen:type quoted_tns="http://homestarrunner.com/sbemail58.html" 
- * @someurl http://www.apache.org/foo
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ValuesById {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/IEnv.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/IEnv.java
deleted file mode 100644
index 880c5de..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/IEnv.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses.ejb;
-
-public interface IEnv {
-  /**
-   * @ejbgen:remote-method 
-   *   transaction-attribute = NotSupported
-   *
-   */
-  public TradeResult buy(String customerName, String stockSymbol, int shares);
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/MyEjbException.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/MyEjbException.java
deleted file mode 100644
index 3831953..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/MyEjbException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.ejb;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class MyEjbException extends Exception {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TradeResult.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TradeResult.java
deleted file mode 100644
index e846e33..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TradeResult.java
+++ /dev/null
@@ -1,4 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses.ejb;
-
-public class TradeResult {
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TraderEJB.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TraderEJB.java
deleted file mode 100644
index 114753e..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/ejb/TraderEJB.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses.ejb;
-
-public class TraderEJB implements IEnv {
-  /**
-   * @ejbgen:remote-method 
-   *   isolation-level = Serializable
-   *
-   */
-  public TradeResult buy(String customerName, String stockSymbol, int shares)
-  {
-    return null;
-  }
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AddressAnnotation.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AddressAnnotation.java
deleted file mode 100644
index 92f33df..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AddressAnnotation.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-import java.lang.annotation.*;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface AddressAnnotation {
-    String street();
-    String city();
-    int zip();
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AnnotatedClass.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AnnotatedClass.java
deleted file mode 100644
index 8e78a0f..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/AnnotatedClass.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-
-@RFEAnnotation(
-    id       = 4561414,
-    synopsis = "Balance the federal budget"
-)
-public abstract class AnnotatedClass {
-
-  public abstract void setFoo(int value);
-
-  public abstract int getFoo();
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/Constants.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/Constants.java
deleted file mode 100644
index e72590f..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/Constants.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public interface Constants {
-
-  enum Bool { UNSPECIFIED, TRUE, FALSE};
-
-}
\ No newline at end of file
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeAnnotation.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeAnnotation.java
deleted file mode 100644
index c348f67..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeAnnotation.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-import java.lang.annotation.*;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE,ElementType.PARAMETER})
-public @interface EmployeeAnnotation {
-    String firstName();
-    String lastName();
-    AddressAnnotation address();
-    Constants.Bool active();
-    int[] specialDigits();
-    String[] aka();
-}
\ No newline at end of file
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeGroupAnnotation.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeGroupAnnotation.java
deleted file mode 100644
index 9004c37..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/EmployeeGroupAnnotation.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-import java.lang.annotation.*;
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface EmployeeGroupAnnotation {
-
-  EmployeeAnnotation[] employees();
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/NestedAnnotatedClass.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/NestedAnnotatedClass.java
deleted file mode 100644
index aa9a3d8..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/NestedAnnotatedClass.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-
-@EmployeeGroupAnnotation(
-  employees={
-  @EmployeeAnnotation(
-    firstName       = "Boog",
-    lastName        = "Powell",
-    address = @AddressAnnotation(street="123 shady lane", city="Cooperstown",zip=123456),
-    specialDigits={8,6,7,5,3,0,9},
-    active=Constants.Bool.TRUE,
-    aka={"larry","joe","booooooooooog"}),
-
-
-  @EmployeeAnnotation(
-    firstName       = "Takako",
-    lastName        = "Minekawa",
-    address = @AddressAnnotation(street="456 Shinjuku", city="Tokyo",zip=5478),
-    specialDigits={8,6,7,5,3,0,9},
-    active=Constants.Bool.FALSE,
-    aka={"destron","fantastic"})
-
-  }
-)
-@EmployeeAnnotation(
-  firstName       = "Joe",
-  lastName        = "Torre",
-  address = @AddressAnnotation(street="567 street", city="Cooperstown",zip=123456),
-  specialDigits={8,6,7,5,3,0,9},
-  active=Constants.Bool.TRUE,
-  aka={"joe t","joe","bleh"}
-)
-public class NestedAnnotatedClass {
-
-
-
-
-  public void someMethod(
-    @EmployeeAnnotation( firstName="Joe",
-                         lastName="Louis",
-                         address=@AddressAnnotation(street="parameter annotation!!", city="Chicago",zip=4343),
-                         specialDigits={5,3},
-                         active=Constants.Bool.TRUE,
-                         aka={"joe t","joe","bleh"}
-    )
-    int joeLouisParameter)
-  {
-
-  }
-
-}
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotation.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotation.java
deleted file mode 100644
index ffd12d2..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotation.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-import java.lang.annotation.*;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface RFEAnnotation {
-    int    id();        // Unique ID number associated with RFE
-    String synopsis();  // Synopsis of RFE
-    String engineer()  default "[unassigned]";
-    String date()      default "[unimplemented]";
-}
-
diff --git a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotationImpl.java b/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotationImpl.java
deleted file mode 100644
index 419dee9..0000000
--- a/v2/jam/test/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/jsr175/RFEAnnotationImpl.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam.dummyclasses.jsr175;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class RFEAnnotationImpl implements RFEAnnotation {
-
-  public int    id() { return 0;}
-  public String synopsis() { return null;}
-  public String engineer() { return null; }
-  public String date() { return null;}
-
-  public java.lang.Class annotationType() { return getClass(); }
-
-}
diff --git a/v2/jam/test/masters/javadoc/testManyTags.xml b/v2/jam/test/masters/javadoc/testManyTags.xml
deleted file mode 100644
index f167f89..0000000
--- a/v2/jam/test/masters/javadoc/testManyTags.xml
+++ /dev/null
@@ -1 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ManyTags</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>20</line><column>8</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>-43</value></annotation-value><annotation-value><name>z</name><type>java.lang.String</type><value>79</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>124</value></annotation-value><annotation-value><name>w</name><type>java.lang.String</type><value>0</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>x</name><type>java.lang.String</type><value>1</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>x</name><type>java.lang.String</type><value>-4343</value></annotation-value></annotation><source-position><line>33</line><column>14</column></source-position></method><comment><![CDATA[Tests case for javadoc tags is declared more than once in a document.]]></comment><source-position><line>20</line><column>8</column></source-position></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/masters/javadoc/testMultilineTags.xml b/v2/jam/test/masters/javadoc/testMultilineTags.xml
deleted file mode 100644
index ddf678e..0000000
--- a/v2/jam/test/masters/javadoc/testMultilineTags.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MultilineTags</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>this is a tag value which
- spans several
-
- lines indeed</value></annotation-value></annotation><annotation><name>ejbgen:cmp-field</name><annotation-value><name>column</name><type>java.lang.String</type><value>LicensorEntityID, CompanyID</value></annotation-value><annotation-value><name>table-name</name><type>java.lang.String</type><value>LicensorEntity, Company</value></annotation-value><annotation-value><name>primkey-field</name><type>java.lang.String</type><value>true</value></annotation-value><annotation-value><name>ordering-number</name><type>java.lang.String</type><value>10</value></annotation-value></annotation><annotation><name>oldstyleSingleMemberValueTag</name><annotation-value><name>value</name><type>java.lang.String</type><value>I should be called 'value'</value></annotation-value></annotation><annotation><name>boo</name><annotation-value><name>b</name><type>java.lang.String</type><value>here is another</value></annotation-value><annotation-value><name>a</name><type>java.lang.String</type><value>Here is a tag with multiple
-   multiline values</value></annotation-value><annotation-value><name>d</name><type>java.lang.String</type><value>yup</value></annotation-value><annotation-value><name>c</name><type>java.lang.String</type><value>and another
- l = but this is still the same one
- whoa that was = tricky</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>z</name><type>java.lang.String</type><value>I guess even something weird like
-                       this should work</value></annotation-value></annotation><annotation><name>ejbgen:finder</name><annotation-value><name>signature</name><type>java.lang.String</type><value>java.util.Collection findByName(java.lang.String name)</value></annotation-value><annotation-value><name>ejb-ql</name><type>java.lang.String</type><value>SELECT OBJECT(o)
-    FROM BandEJB AS o
-    WHERE o.name = ?1</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>y</name><type>java.lang.String</type><value>This is also a tag which spans
-
- a few lines but also has its closing
-   quote in a weird place</value></annotation-value></annotation><annotation><name>bee</name><annotation-value><name>""</name><type>java.lang.String</type><value>=</value></annotation-value><annotation-value><name>question</name><type>java.lang.String</type><value>Can</value></annotation-value><annotation-value><name>we</name><type>java.lang.String</type><value></value></annotation-value></annotation><source-position><line>62</line><column>8</column></source-position></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/masters/javadoc/testXmlRoundtrip.xml b/v2/jam/test/masters/javadoc/testXmlRoundtrip.xml
deleted file mode 100644
index 3505b59..0000000
--- a/v2/jam/test/masters/javadoc/testXmlRoundtrip.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>employees</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</return-type><modifiers>1</modifiers><source-position><line>26</line><column>24</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>24</line><column>9</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Foo</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>12</line><column>14</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>14</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>10</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>3</line><column>8</column></source-position></constructor><source-position><line>3</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>firstName</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>26</line><column>12</column></source-position></method><method><name>lastName</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>27</line><column>12</column></source-position></method><method><name>address</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</return-type><modifiers>1</modifiers><source-position><line>28</line><column>23</column></source-position></method><method><name>active</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</return-type><modifiers>1</modifiers><source-position><line>29</line><column>20</column></source-position></method><method><name>specialDigits</name><return-type>[I</return-type><modifiers>1</modifiers><source-position><line>30</line><column>11</column></source-position></method><method><name>aka</name><return-type>[Ljava.lang.String;</return-type><modifiers>1</modifiers><source-position><line>31</line><column>14</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value><value>PARAMETER</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>25</line><column>9</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ImportsGalore</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>28</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Baz</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>java.lang.Runnable</interface><constructor><modifiers>1</modifiers><source-position><line>9</line><column>8</column></source-position></constructor><method><name>run</name><return-type>void</return-type><modifiers>1</modifiers><source-position><line>11</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>9</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.FooImpl</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>org.apache.xmlbeans.test.jam.dummyclasses.Base</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers><source-position><line>12</line><column>17</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>14</line><column>14</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>16</line><column>15</column></source-position></method><method><name>setId2</name><return-type>void</return-type><modifiers>26</modifiers><parameter><name>id</name><type>D</type></parameter><source-position><line>18</line><column>29</column></source-position></method><method><name>setId3</name><return-type>void</return-type><modifiers>36</modifiers><parameter><name>id</name><type>D</type></parameter><parameter><name>id2</name><type>D</type></parameter><source-position><line>20</line><column>31</column></source-position></method><method><name>setId4</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>id</name><type>D</type></parameter><parameter><name>id2</name><type>D</type></parameter><parameter><name>id3</name><type>D</type></parameter><source-position><line>22</line><column>27</column></source-position></method><method><name>methodDealingWithArrays</name><return-type>[[Ljava.lang.String;</return-type><modifiers>0</modifiers><parameter><name>foo</name><type>[I</type></parameter><parameter><name>bar</name><type>[Ljava.lang.Object;</type></parameter><source-position><line>24</line><column>14</column></source-position></method><method><name>iThrowExceptions</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>p1</name><type>I</type></parameter><parameter><name>p2</name><type>java.lang.String</type></parameter><source-position><line>28</line><column>27</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>12</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ManyTags</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>20</line><column>8</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>-43</value></annotation-value><annotation-value><name>z</name><type>java.lang.String</type><value>79</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>124</value></annotation-value><annotation-value><name>w</name><type>java.lang.String</type><value>0</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>x</name><type>java.lang.String</type><value>1</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>x</name><type>java.lang.String</type><value>-4343</value></annotation-value></annotation><source-position><line>33</line><column>14</column></source-position></method><comment><![CDATA[Tests case for javadoc tags is declared more than once in a document.]]></comment><source-position><line>20</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MyException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.HeavilyCommented</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>17</column></source-position></constructor><method><name>simpleComment</name><return-type>void</return-type><modifiers>1028</modifiers><comment><![CDATA[A simple comment.]]></comment><source-position><line>26</line><column>27</column></source-position></method><method><name>multilineComment</name><return-type>void</return-type><modifiers>1028</modifiers><comment><![CDATA[A comment which
- spans
-
- several
-
-
- lines.]]></comment><source-position><line>37</line><column>27</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>26</line><column>12</column></source-position></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>27</line><column>12</column></source-position></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>28</line><column>12</column></source-position></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>29</line><column>12</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>25</line><column>9</column></source-position></class><class><name>DefaultPackageClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>23</line><column>8</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>25</line><column>14</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><comment><![CDATA[This is a class in the default package, which is a slightly strange
- case for JAM.]]></comment><source-position><line>23</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotationImpl</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</interface><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>23</line><column>17</column></source-position></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>24</line><column>17</column></source-position></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>25</line><column>17</column></source-position></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>26</line><column>17</column></source-position></method><method><name>annotationType</name><return-type>java.lang.Class</return-type><modifiers>1</modifiers><source-position><line>28</line><column>26</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>20</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</name><is-interface>false</is-interface><modifiers>25</modifiers><superclass>java.lang.Enum</superclass><field><name>UNSPECIFIED</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>15</column></source-position></field><field><name>TRUE</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>28</column></source-position></field><field><name>FALSE</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>34</column></source-position></field><constructor><modifiers>2</modifiers><source-position><line>22</line><column>3</column></source-position></constructor><method><name>values</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool;</return-type><modifiers>25</modifiers><source-position><line>22</line><column>3</column></source-position></method><method><name>valueOf</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</return-type><modifiers>9</modifiers><parameter><name>name</name><type>java.lang.String</type></parameter><source-position><line>22</line><column>3</column></source-position></method><source-position><line>22</line><column>3</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TraderEJB</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</interface><constructor><modifiers>1</modifiers><source-position><line>3</line><column>8</column></source-position></constructor><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>customerName</name><type>java.lang.String</type></parameter><parameter><name>stockSymbol</name><type>java.lang.String</type></parameter><parameter><name>shares</name><type>I</type></parameter><annotation><name>ejbgen:remote-method</name><annotation-value><name>isolation-level</name><type>java.lang.String</type><value>Serializable</value></annotation-value></annotation><source-position><line>9</line><column>22</column></source-position></method><source-position><line>3</line><column>8</column></source-position></class><class><name>org.TopLevelPackageClass</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>26</line><column>14</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><comment><![CDATA[This is a class in a top-level pacakge.  It might be a little bit weird
- for JAM just because the package name doesn't have any dots in it -
- worth testing.]]></comment><source-position><line>24</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MultilineTags</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>this is a tag value which
- spans several
-
- lines indeed</value></annotation-value></annotation><annotation><name>ejbgen:cmp-field</name><annotation-value><name>column</name><type>java.lang.String</type><value>LicensorEntityID, CompanyID</value></annotation-value><annotation-value><name>table-name</name><type>java.lang.String</type><value>LicensorEntity, Company</value></annotation-value><annotation-value><name>primkey-field</name><type>java.lang.String</type><value>true</value></annotation-value><annotation-value><name>ordering-number</name><type>java.lang.String</type><value>10</value></annotation-value></annotation><annotation><name>boo</name><annotation-value><name>b</name><type>java.lang.String</type><value>here is another</value></annotation-value><annotation-value><name>a</name><type>java.lang.String</type><value>Here is a tag with multiple
-   multiline values</value></annotation-value><annotation-value><name>d</name><type>java.lang.String</type><value>yup</value></annotation-value><annotation-value><name>c</name><type>java.lang.String</type><value>and another
- l = but this is still the same one
- whoa that was = tricky</value></annotation-value></annotation><annotation><name>oldstyleSingleMemberValueTag</name><annotation-value><name>value</name><type>java.lang.String</type><value>I should be called 'value'</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>z</name><type>java.lang.String</type><value>I guess even something weird like
-                       this should work</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>y</name><type>java.lang.String</type><value>This is also a tag which spans
-
- a few lines but also has its closing
-   quote in a weird place</value></annotation-value></annotation><annotation><name>ejbgen:finder</name><annotation-value><name>signature</name><type>java.lang.String</type><value>java.util.Collection findByName(java.lang.String name)</value></annotation-value><annotation-value><name>ejb-ql</name><type>java.lang.String</type><value>SELECT OBJECT(o)
-    FROM BandEJB AS o
-    WHERE o.name = ?1</value></annotation-value></annotation><annotation><name>bee</name><annotation-value><name>""</name><type>java.lang.String</type><value>=</value></annotation-value><annotation-value><name>question</name><type>java.lang.String</type><value>Can</value></annotation-value><annotation-value><name>we</name><type>java.lang.String</type><value></value></annotation-value></annotation><source-position><line>62</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AnnotatedClass</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>8</line><column>17</column></source-position></constructor><method><name>setFoo</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>value</name><type>I</type></parameter><source-position><line>10</line><column>24</column></source-position></method><method><name>getFoo</name><return-type>I</return-type><modifiers>1025</modifiers><source-position><line>12</line><column>23</column></source-position></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><annotation-value><name>id</name><type>I</type><value>4561414</value></annotation-value><annotation-value><name>synopsis</name><type>java.lang.String</type><value>Balance the federal budget</value></annotation-value></annotation><source-position><line>8</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Base</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><field><name>doonkie</name><modifiers>2</modifiers><type>D</type><comment><![CDATA[doonkie javadoc!]]></comment><source-position><line>24</line><column>18</column></source-position></field><field><name>doonkietoo</name><modifiers>2</modifiers><type>J</type><source-position><line>25</line><column>16</column></source-position></field><constructor><modifiers>1</modifiers><source-position><line>16</line><column>17</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>27</line><column>14</column></source-position></method><method><name>getFoo</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>30</line><column>17</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>32</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>16</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>customerName</name><type>java.lang.String</type></parameter><parameter><name>stockSymbol</name><type>java.lang.String</type></parameter><parameter><name>shares</name><type>I</type></parameter><annotation><name>ejbgen:remote-method</name><annotation-value><name>transaction-attribute</name><type>java.lang.String</type><value>NotSupported</value></annotation-value></annotation><source-position><line>9</line><column>22</column></source-position></method><source-position><line>3</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ValuesById</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>34</line><column>8</column></source-position></constructor><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>-43</value></annotation-value><annotation-value><name>z</name><type>java.lang.String</type><value>79</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>124</value></annotation-value><annotation-value><name>w</name><type>java.lang.String</type><value>0</value></annotation-value></annotation><annotation><name>xsdgen:type</name><annotation-value><name>target_namespace</name><type>java.lang.String</type><value>http://www.yahoo.com</value></annotation-value><annotation-value><name>quoted_tns</name><type>java.lang.String</type><value>http://homestarrunner.com/sbemail58.html</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>value</name><type>java.lang.String</type><value>I have no pairs.</value></annotation-value></annotation><annotation><name>someurl</name><annotation-value><name>value</name><type>java.lang.String</type><value>http://www.apache.org/foo</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>x</name><type>java.lang.String</type><value>hello</value></annotation-value><annotation-value><name>widegetgen:name</name><type>java.lang.String</type><value>aloha</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>goodbye</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>34</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.NestedAnnotatedClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>47</line><column>8</column></source-position></constructor><method><name>someMethod</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>joeLouisParameter</name><type>I</type><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Louis</value></annotation-value><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>5</value><value>3</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><value>TRUE</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value></annotation></parameter><source-position><line>52</line><column>15</column></source-position></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><annotation-value><name>employees</name><type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value></annotation><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Torre</value></annotation-value><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>8</value><value>6</value><value>7</value><value>5</value><value>3</value><value>0</value><value>9</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><value>TRUE</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value></annotation><source-position><line>47</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>zip</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>street</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>city</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/masters/javadoc/testXmlWriter.xml b/v2/jam/test/masters/javadoc/testXmlWriter.xml
deleted file mode 100644
index 7eb57ca..0000000
--- a/v2/jam/test/masters/javadoc/testXmlWriter.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>employees</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</return-type><modifiers>1</modifiers><source-position><line>26</line><column>24</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>24</line><column>9</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Foo</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>12</line><column>14</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>14</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>10</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>3</line><column>8</column></source-position></constructor><source-position><line>3</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>firstName</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>26</line><column>12</column></source-position></method><method><name>lastName</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>27</line><column>12</column></source-position></method><method><name>address</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</return-type><modifiers>1</modifiers><source-position><line>28</line><column>23</column></source-position></method><method><name>active</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</return-type><modifiers>1</modifiers><source-position><line>29</line><column>20</column></source-position></method><method><name>specialDigits</name><return-type>[I</return-type><modifiers>1</modifiers><source-position><line>30</line><column>11</column></source-position></method><method><name>aka</name><return-type>[Ljava.lang.String;</return-type><modifiers>1</modifiers><source-position><line>31</line><column>14</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value><value>PARAMETER</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>25</line><column>9</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ImportsGalore</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>28</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Baz</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>java.lang.Runnable</interface><constructor><modifiers>1</modifiers><source-position><line>9</line><column>8</column></source-position></constructor><method><name>run</name><return-type>void</return-type><modifiers>1</modifiers><source-position><line>11</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>9</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.FooImpl</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>org.apache.xmlbeans.test.jam.dummyclasses.Base</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers><source-position><line>12</line><column>17</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>14</line><column>14</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>16</line><column>15</column></source-position></method><method><name>setId2</name><return-type>void</return-type><modifiers>26</modifiers><parameter><name>id</name><type>D</type></parameter><source-position><line>18</line><column>29</column></source-position></method><method><name>setId3</name><return-type>void</return-type><modifiers>36</modifiers><parameter><name>id</name><type>D</type></parameter><parameter><name>id2</name><type>D</type></parameter><source-position><line>20</line><column>31</column></source-position></method><method><name>setId4</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>id</name><type>D</type></parameter><parameter><name>id2</name><type>D</type></parameter><parameter><name>id3</name><type>D</type></parameter><source-position><line>22</line><column>27</column></source-position></method><method><name>methodDealingWithArrays</name><return-type>[[Ljava.lang.String;</return-type><modifiers>0</modifiers><parameter><name>foo</name><type>[I</type></parameter><parameter><name>bar</name><type>[Ljava.lang.Object;</type></parameter><source-position><line>24</line><column>14</column></source-position></method><method><name>iThrowExceptions</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>p1</name><type>I</type></parameter><parameter><name>p2</name><type>java.lang.String</type></parameter><source-position><line>28</line><column>27</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>12</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ManyTags</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>20</line><column>8</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>-43</value></annotation-value><annotation-value><name>z</name><type>java.lang.String</type><value>79</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>124</value></annotation-value><annotation-value><name>w</name><type>java.lang.String</type><value>0</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>x</name><type>java.lang.String</type><value>1</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>x</name><type>java.lang.String</type><value>-4343</value></annotation-value></annotation><source-position><line>33</line><column>14</column></source-position></method><comment><![CDATA[Tests case for javadoc tags is declared more than once in a document.]]></comment><source-position><line>20</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MyException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.HeavilyCommented</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>21</line><column>17</column></source-position></constructor><method><name>simpleComment</name><return-type>void</return-type><modifiers>1028</modifiers><comment><![CDATA[A simple comment.]]></comment><source-position><line>26</line><column>27</column></source-position></method><method><name>multilineComment</name><return-type>void</return-type><modifiers>1028</modifiers><comment><![CDATA[A comment which
- spans
-
- several
-
-
- lines.]]></comment><source-position><line>37</line><column>27</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>26</line><column>12</column></source-position></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>27</line><column>12</column></source-position></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>28</line><column>12</column></source-position></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>29</line><column>12</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>25</line><column>9</column></source-position></class><class><name>DefaultPackageClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>23</line><column>8</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>25</line><column>14</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><comment><![CDATA[This is a class in the default package, which is a slightly strange
- case for JAM.]]></comment><source-position><line>23</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotationImpl</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</interface><constructor><modifiers>1</modifiers><source-position><line>21</line><column>8</column></source-position></constructor><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>23</line><column>17</column></source-position></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>24</line><column>17</column></source-position></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>25</line><column>17</column></source-position></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>26</line><column>17</column></source-position></method><method><name>annotationType</name><return-type>java.lang.Class</return-type><modifiers>1</modifiers><source-position><line>28</line><column>26</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>21</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>20</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</name><is-interface>false</is-interface><modifiers>25</modifiers><superclass>java.lang.Enum</superclass><field><name>UNSPECIFIED</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>15</column></source-position></field><field><name>TRUE</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>28</column></source-position></field><field><name>FALSE</name><modifiers>25</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><source-position><line>22</line><column>34</column></source-position></field><constructor><modifiers>2</modifiers><source-position><line>22</line><column>3</column></source-position></constructor><method><name>values</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool;</return-type><modifiers>25</modifiers><source-position><line>22</line><column>3</column></source-position></method><method><name>valueOf</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</return-type><modifiers>9</modifiers><parameter><name>name</name><type>java.lang.String</type></parameter><source-position><line>22</line><column>3</column></source-position></method><source-position><line>22</line><column>3</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TraderEJB</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</interface><constructor><modifiers>1</modifiers><source-position><line>3</line><column>8</column></source-position></constructor><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>customerName</name><type>java.lang.String</type></parameter><parameter><name>stockSymbol</name><type>java.lang.String</type></parameter><parameter><name>shares</name><type>I</type></parameter><annotation><name>ejbgen:remote-method</name><annotation-value><name>isolation-level</name><type>java.lang.String</type><value>Serializable</value></annotation-value></annotation><source-position><line>9</line><column>22</column></source-position></method><source-position><line>3</line><column>8</column></source-position></class><class><name>org.TopLevelPackageClass</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>26</line><column>14</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><comment><![CDATA[This is a class in a top-level pacakge.  It might be a little bit weird
- for JAM just because the package name doesn't have any dots in it -
- worth testing.]]></comment><source-position><line>24</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MultilineTags</name><is-interface>true</is-interface><modifiers>513</modifiers><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>this is a tag value which
- spans several
-
- lines indeed</value></annotation-value></annotation><annotation><name>ejbgen:cmp-field</name><annotation-value><name>column</name><type>java.lang.String</type><value>LicensorEntityID, CompanyID</value></annotation-value><annotation-value><name>table-name</name><type>java.lang.String</type><value>LicensorEntity, Company</value></annotation-value><annotation-value><name>primkey-field</name><type>java.lang.String</type><value>true</value></annotation-value><annotation-value><name>ordering-number</name><type>java.lang.String</type><value>10</value></annotation-value></annotation><annotation><name>oldstyleSingleMemberValueTag</name><annotation-value><name>value</name><type>java.lang.String</type><value>I should be called 'value'</value></annotation-value></annotation><annotation><name>boo</name><annotation-value><name>b</name><type>java.lang.String</type><value>here is another</value></annotation-value><annotation-value><name>a</name><type>java.lang.String</type><value>Here is a tag with multiple
-   multiline values</value></annotation-value><annotation-value><name>d</name><type>java.lang.String</type><value>yup</value></annotation-value><annotation-value><name>c</name><type>java.lang.String</type><value>and another
- l = but this is still the same one
- whoa that was = tricky</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>z</name><type>java.lang.String</type><value>I guess even something weird like
-                       this should work</value></annotation-value></annotation><annotation><name>ejbgen:finder</name><annotation-value><name>signature</name><type>java.lang.String</type><value>java.util.Collection findByName(java.lang.String name)</value></annotation-value><annotation-value><name>ejb-ql</name><type>java.lang.String</type><value>SELECT OBJECT(o)
-    FROM BandEJB AS o
-    WHERE o.name = ?1</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>y</name><type>java.lang.String</type><value>This is also a tag which spans
-
- a few lines but also has its closing
-   quote in a weird place</value></annotation-value></annotation><annotation><name>bee</name><annotation-value><name>""</name><type>java.lang.String</type><value>=</value></annotation-value><annotation-value><name>question</name><type>java.lang.String</type><value>Can</value></annotation-value><annotation-value><name>we</name><type>java.lang.String</type><value></value></annotation-value></annotation><source-position><line>62</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AnnotatedClass</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>8</line><column>17</column></source-position></constructor><method><name>setFoo</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>value</name><type>I</type></parameter><source-position><line>10</line><column>24</column></source-position></method><method><name>getFoo</name><return-type>I</return-type><modifiers>1025</modifiers><source-position><line>12</line><column>23</column></source-position></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><annotation-value><name>id</name><type>I</type><value>4561414</value></annotation-value><annotation-value><name>synopsis</name><type>java.lang.String</type><value>Balance the federal budget</value></annotation-value></annotation><source-position><line>8</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Base</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><field><name>doonkie</name><modifiers>2</modifiers><type>D</type><comment><![CDATA[doonkie javadoc!]]></comment><source-position><line>24</line><column>18</column></source-position></field><field><name>doonkietoo</name><modifiers>2</modifiers><type>J</type><source-position><line>25</line><column>16</column></source-position></field><constructor><modifiers>1</modifiers><source-position><line>16</line><column>17</column></source-position></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>27</line><column>14</column></source-position></method><method><name>getFoo</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>30</line><column>17</column></source-position></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>id</name><type>I</type></parameter><source-position><line>32</line><column>15</column></source-position></method><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>pcal Nov 25, 2003</value></annotation-value></annotation><comment><![CDATA[Dummy class for JAM tests.]]></comment><source-position><line>16</line><column>17</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</name><is-interface>true</is-interface><modifiers>513</modifiers><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>customerName</name><type>java.lang.String</type></parameter><parameter><name>stockSymbol</name><type>java.lang.String</type></parameter><parameter><name>shares</name><type>I</type></parameter><annotation><name>ejbgen:remote-method</name><annotation-value><name>transaction-attribute</name><type>java.lang.String</type><value>NotSupported</value></annotation-value></annotation><source-position><line>9</line><column>22</column></source-position></method><source-position><line>3</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ValuesById</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>34</line><column>8</column></source-position></constructor><annotation><name>foo</name><annotation-value><name>x</name><type>java.lang.String</type><value>-43</value></annotation-value><annotation-value><name>z</name><type>java.lang.String</type><value>79</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>124</value></annotation-value><annotation-value><name>w</name><type>java.lang.String</type><value>0</value></annotation-value></annotation><annotation><name>xsdgen:type</name><annotation-value><name>target_namespace</name><type>java.lang.String</type><value>http://www.yahoo.com</value></annotation-value><annotation-value><name>quoted_tns</name><type>java.lang.String</type><value>http://homestarrunner.com/sbemail58.html</value></annotation-value></annotation><annotation><name>baz</name><annotation-value><name>value</name><type>java.lang.String</type><value>I have no pairs.</value></annotation-value></annotation><annotation><name>someurl</name><annotation-value><name>value</name><type>java.lang.String</type><value>http://www.apache.org/foo</value></annotation-value></annotation><annotation><name>bar</name><annotation-value><name>x</name><type>java.lang.String</type><value>hello</value></annotation-value><annotation-value><name>widegetgen:name</name><type>java.lang.String</type><value>aloha</value></annotation-value><annotation-value><name>y</name><type>java.lang.String</type><value>goodbye</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>34</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.NestedAnnotatedClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers><source-position><line>47</line><column>8</column></source-position></constructor><method><name>someMethod</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>joeLouisParameter</name><type>I</type><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Louis</value></annotation-value><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>5</value><value>3</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><value>TRUE</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value></annotation></parameter><source-position><line>52</line><column>15</column></source-position></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><annotation-value><name>employees</name><type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value></annotation><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Torre</value></annotation-value><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>8</value><value>6</value><value>7</value><value>5</value><value>3</value><value>0</value><value>9</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants.Bool</type><value>TRUE</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value></annotation><source-position><line>47</line><column>8</column></source-position></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</name><is-interface>true</is-interface><modifiers>513</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>street</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>26</line><column>12</column></source-position></method><method><name>city</name><return-type>java.lang.String</return-type><modifiers>1</modifiers><source-position><line>27</line><column>12</column></source-position></method><method><name>zip</name><return-type>I</return-type><modifiers>1</modifiers><source-position><line>28</line><column>9</column></source-position></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation><annotation><name>author</name><annotation-value><name>value</name><type>java.lang.String</type><value>Patrick Calahan &amp;lt;email: pcal-at-bea-dot-com&amp;gt;</value></annotation-value></annotation><source-position><line>25</line><column>9</column></source-position></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/masters/reflect/testXmlRoundtrip.xml b/v2/jam/test/masters/reflect/testXmlRoundtrip.xml
deleted file mode 100644
index 36c80e5..0000000
--- a/v2/jam/test/masters/reflect/testXmlRoundtrip.xml
+++ /dev/null
@@ -1 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>employees</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Foo</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>I</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ImportsGalore</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>address</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</return-type><modifiers>1025</modifiers></method><method><name>firstName</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>aka</name><return-type>[Ljava.lang.String;</return-type><modifiers>1025</modifiers></method><method><name>active</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</return-type><modifiers>1025</modifiers></method><method><name>lastName</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>specialDigits</name><return-type>[I</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value><value>PARAMETER</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Baz</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>java.lang.Runnable</interface><constructor><modifiers>1</modifiers></constructor><method><name>run</name><return-type>void</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.FooImpl</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>org.apache.xmlbeans.test.jam.dummyclasses.Base</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type></parameter></method><method><name>setId2</name><return-type>void</return-type><modifiers>26</modifiers><parameter><name>param0</name><type>D</type></parameter></method><method><name>setId3</name><return-type>void</return-type><modifiers>36</modifiers><parameter><name>param0</name><type>D</type></parameter><parameter><name>param1</name><type>D</type></parameter></method><method><name>setId4</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>param0</name><type>D</type></parameter><parameter><name>param1</name><type>D</type></parameter><parameter><name>param2</name><type>D</type></parameter></method><method><name>methodDealingWithArrays</name><return-type>[[Ljava.lang.String;</return-type><modifiers>0</modifiers><parameter><name>param0</name><type>[I</type></parameter><parameter><name>param1</name><type>[Ljava.lang.Object;</type></parameter></method><method><name>iThrowExceptions</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>param0</name><type>I</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</name><is-interface>false</is-interface><modifiers>16409</modifiers><superclass>java.lang.Enum</superclass><field><name>UNSPECIFIED</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><field><name>TRUE</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><field><name>FALSE</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><constructor><modifiers>2</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>I</type></parameter></constructor><method><name>valueOf</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</return-type><modifiers>9</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter></method><method><name>values</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool;</return-type><modifiers>25</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ManyTags</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MyException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.HeavilyCommented</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>simpleComment</name><return-type>void</return-type><modifiers>1028</modifiers></method><method><name>multilineComment</name><return-type>void</return-type><modifiers>1028</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>id</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class><class><name>DefaultPackageClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotationImpl</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</interface><constructor><modifiers>1</modifiers></constructor><method><name>annotationType</name><return-type>java.lang.Class</return-type><modifiers>1</modifiers></method><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TraderEJB</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</interface><constructor><modifiers>1</modifiers></constructor><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter><parameter><name>param2</name><type>I</type></parameter></method></class><class><name>org.TopLevelPackageClass</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1025</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AnnotatedClass</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getFoo</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>setFoo</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>I</type></parameter></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><annotation-value><name>id</name><type>I</type><value>4561414</value></annotation-value><annotation-value><name>date</name><type>java.lang.String</type><value>[unimplemented]</value></annotation-value><annotation-value><name>synopsis</name><type>java.lang.String</type><value>Balance the federal budget</value></annotation-value><annotation-value><name>engineer</name><type>java.lang.String</type><value>[unassigned]</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MultilineTags</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Base</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type></parameter></method><method><name>getFoo</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter><parameter><name>param2</name><type>I</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ValuesById</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.NestedAnnotatedClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>someMethod</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type><value>TRUE</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Louis</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>5</value><value>3</value></annotation-value></annotation></parameter></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><annotation-value><name>employees</name><type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value></annotation><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type><value>TRUE</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Torre</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>8</value><value>6</value><value>7</value><value>5</value><value>3</value><value>0</value><value>9</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>zip</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>street</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>city</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/masters/reflect/testXmlWriter.xml b/v2/jam/test/masters/reflect/testXmlWriter.xml
deleted file mode 100644
index 36c80e5..0000000
--- a/v2/jam/test/masters/reflect/testXmlWriter.xml
+++ /dev/null
@@ -1 +0,0 @@
-<jam-service><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>employees</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Foo</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>I</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ImportsGalore</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>address</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</return-type><modifiers>1025</modifiers></method><method><name>firstName</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>aka</name><return-type>[Ljava.lang.String;</return-type><modifiers>1025</modifiers></method><method><name>active</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</return-type><modifiers>1025</modifiers></method><method><name>lastName</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>specialDigits</name><return-type>[I</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value><value>PARAMETER</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.MyEjbException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Baz</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>java.lang.Runnable</interface><constructor><modifiers>1</modifiers></constructor><method><name>run</name><return-type>void</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.FooImpl</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>org.apache.xmlbeans.test.jam.dummyclasses.Base</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type></parameter></method><method><name>setId2</name><return-type>void</return-type><modifiers>26</modifiers><parameter><name>param0</name><type>D</type></parameter></method><method><name>setId3</name><return-type>void</return-type><modifiers>36</modifiers><parameter><name>param0</name><type>D</type></parameter><parameter><name>param1</name><type>D</type></parameter></method><method><name>setId4</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>param0</name><type>D</type></parameter><parameter><name>param1</name><type>D</type></parameter><parameter><name>param2</name><type>D</type></parameter></method><method><name>methodDealingWithArrays</name><return-type>[[Ljava.lang.String;</return-type><modifiers>0</modifiers><parameter><name>param0</name><type>[I</type></parameter><parameter><name>param1</name><type>[Ljava.lang.Object;</type></parameter></method><method><name>iThrowExceptions</name><return-type>void</return-type><modifiers>1028</modifiers><parameter><name>param0</name><type>I</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</name><is-interface>false</is-interface><modifiers>16409</modifiers><superclass>java.lang.Enum</superclass><field><name>UNSPECIFIED</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><field><name>TRUE</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><field><name>FALSE</name><modifiers>16409</modifiers><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type></field><constructor><modifiers>2</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>I</type></parameter></constructor><method><name>valueOf</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</return-type><modifiers>9</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter></method><method><name>values</name><return-type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool;</return-type><modifiers>25</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ManyTags</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MyException</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Exception</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.HeavilyCommented</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>simpleComment</name><return-type>void</return-type><modifiers>1028</modifiers></method><method><name>multilineComment</name><return-type>void</return-type><modifiers>1028</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>id</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class><class><name>DefaultPackageClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotationImpl</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</interface><constructor><modifiers>1</modifiers></constructor><method><name>annotationType</name><return-type>java.lang.Class</return-type><modifiers>1</modifiers></method><method><name>id</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>date</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method><method><name>synopsis</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method><method><name>engineer</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TraderEJB</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</interface><constructor><modifiers>1</modifiers></constructor><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter><parameter><name>param2</name><type>I</type></parameter></method></class><class><name>org.TopLevelPackageClass</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>getId</name><return-type>I</return-type><modifiers>1025</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AnnotatedClass</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>getFoo</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>setFoo</name><return-type>void</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>I</type></parameter></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation</name><annotation-value><name>id</name><type>I</type><value>4561414</value></annotation-value><annotation-value><name>date</name><type>java.lang.String</type><value>[unimplemented]</value></annotation-value><annotation-value><name>synopsis</name><type>java.lang.String</type><value>Balance the federal budget</value></annotation-value><annotation-value><name>engineer</name><type>java.lang.String</type><value>[unassigned]</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.MultilineTags</name><is-interface>true</is-interface><modifiers>1537</modifiers></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.Base</name><is-interface>false</is-interface><modifiers>1025</modifiers><superclass>java.lang.Object</superclass><interface>org.apache.xmlbeans.test.jam.dummyclasses.Foo</interface><constructor><modifiers>1</modifiers></constructor><method><name>getId</name><return-type>I</return-type><modifiers>1</modifiers></method><method><name>setId</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type></parameter></method><method><name>getFoo</name><return-type>java.lang.String</return-type><modifiers>1</modifiers></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ejb.IEnv</name><is-interface>true</is-interface><modifiers>1537</modifiers><method><name>buy</name><return-type>org.apache.xmlbeans.test.jam.dummyclasses.ejb.TradeResult</return-type><modifiers>1025</modifiers><parameter><name>param0</name><type>java.lang.String</type></parameter><parameter><name>param1</name><type>java.lang.String</type></parameter><parameter><name>param2</name><type>I</type></parameter></method></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.ValuesById</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.NestedAnnotatedClass</name><is-interface>false</is-interface><modifiers>1</modifiers><superclass>java.lang.Object</superclass><constructor><modifiers>1</modifiers></constructor><method><name>someMethod</name><return-type>void</return-type><modifiers>1</modifiers><parameter><name>param0</name><type>I</type><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type><value>TRUE</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Louis</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>5</value><value>3</value></annotation-value></annotation></parameter></method><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation</name><annotation-value><name>employees</name><type>[Lorg.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value></annotation><annotation><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</name><annotation-value><name>address</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation</type><value>org.apache.xmlbeans.impl.jam.annotation.DefaultAnnotationProxy</value></annotation-value><annotation-value><name>firstName</name><type>java.lang.String</type><value>Joe</value></annotation-value><annotation-value><name>aka</name><type>[Ljava.lang.String;</type><value>joe t</value><value>joe</value><value>bleh</value></annotation-value><annotation-value><name>active</name><type>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool</type><value>TRUE</value></annotation-value><annotation-value><name>lastName</name><type>java.lang.String</type><value>Torre</value></annotation-value><annotation-value><name>specialDigits</name><type>[I</type><value>8</value><value>6</value><value>7</value><value>5</value><value>3</value><value>0</value><value>9</value></annotation-value></annotation></class><class><name>org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation</name><is-interface>true</is-interface><modifiers>9729</modifiers><interface>java.lang.annotation.Annotation</interface><method><name>zip</name><return-type>I</return-type><modifiers>1025</modifiers></method><method><name>street</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><method><name>city</name><return-type>java.lang.String</return-type><modifiers>1025</modifiers></method><annotation><name>java.lang.annotation.Retention</name><annotation-value><name>value</name><type>java.lang.annotation.RetentionPolicy</type><value>RUNTIME</value></annotation-value></annotation><annotation><name>java.lang.annotation.Target</name><annotation-value><name>value</name><type>[Ljava.lang.annotation.ElementType;</type><value>TYPE</value></annotation-value></annotation></class></jam-service>
\ No newline at end of file
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/Differ.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/Differ.java
deleted file mode 100644
index 9596f01..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/Differ.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import java.io.IOException;
-import java.io.Reader;
-import java.io.BufferedReader;
-import java.io.Writer;
-import java.io.StringWriter;
-
-
-/**
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class Differ {
-
-  // ========================================================================
-  // Singleton
-
-  public static Differ getInstance() { return INSTANCE; }
-
-  private static final Differ INSTANCE = new Differ();
-
-  private Differ() {}
-
-  // ========================================================================
-  // Public methods
-
-  public boolean diff(Reader result,
-                      Reader expect,
-                      Writer out) throws IOException
-  {
-    //our glorious diffing algorithm.  FIXME find one we can use
-    String resultString = getContentsAsString(result);
-    String expectedString = getContentsAsString(expect);
-    if (resultString.trim().equals(expectedString.trim())) return true;
-    out.write("Result does not match expected value.  Result is:\n");
-    out.write(resultString);
-    out.write("\n\n Expected:\n");
-    out.write(expectedString);
-    return false;
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private static String getContentsAsString(Reader in) throws IOException {
-    StringWriter out = new StringWriter();
-    BufferedReader reader = new BufferedReader(in);
-    char[] buff = new char[1024];
-    int len;
-    while((len = reader.read(buff)) != -1) out.write(buff,0,len);
-    return out.toString();
-  }
-
-  /*
-  private static String[] getContentsAsArray(Reader in) throws IOException {
-    BufferedReader reader = new BufferedReader(in);
-    List list = new ArrayList();
-    String s;
-    while((s = reader.readLine()) != null) list.add(s);
-    String[] out = new String[list.size()];
-    list.toArray(out);
-    return out;
-  }
-  */
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/GoldenInvokable.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/GoldenInvokable.java
deleted file mode 100644
index f41a74f..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/GoldenInvokable.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.*;
-
-import java.util.StringTokenizer;
-
-import junit.framework.Assert;
-
-/**
- * Independent test structure representing a method.  Can be compared
- * to a JMethod.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class GoldenInvokable {
-
-  // ========================================================================
-  // Factory methods/static utils
-
-  public static GoldenInvokable[] createArray(String[][] params) {
-    GoldenInvokable[] out = new GoldenInvokable[params.length];
-    for(int i=0; i<out.length; i++) {
-      out[i] = new GoldenInvokable(params[i]);
-    }
-    return out;
-  }
-
-  public static void doComparison(JMethod[] result,
-                                  GoldenInvokable[] expected,
-                                  boolean compareParamNames,
-                                  Assert a) {
-    a.assertTrue("different number of methods ["+
-                 result.length+","+expected.length+"]",
-                 result.length == expected.length);
-    for(int i=0; i<result.length; i++) {
-      expected[i].compare(result[i],compareParamNames,a);
-    }
-  }
-
-  public static void doComparison(JConstructor[] result,
-                                  GoldenInvokable[] expected,
-                                  boolean compareParamNames,
-                                  Assert a) {
-    a.assertTrue("different number of methods ["+
-                 result.length+","+expected.length+"]",
-                 result.length == expected.length);
-    for(int i=0; i<result.length; i++) {
-      expected[i].compare(result[i],compareParamNames,a);
-    }
-  }
-
-  // ========================================================================
-  // Variables
-
-  private int mModifers;
-  private String mReturnType;
-  private String mName;
-  private String[] mParamTypes;
-  private String[] mParamNames;
-  private String[] mExceptions;
-
-
-  // ========================================================================
-  // Constructors
-
-  public GoldenInvokable(String[] modsTypeNameParams) {
-    this(modsTypeNameParams[0],
-         modsTypeNameParams[1],
-         modsTypeNameParams[2],
-         modsTypeNameParams[3],
-         modsTypeNameParams[4]);
-  }
-
-  /**
-   *
-   * @param modiferString
-   * @param name
-   * @param paramString
-   */
-  public GoldenInvokable(String modiferString,
-                      String type,
-                      String name,
-                      String paramString,
-                      String exceptionList) {
-    mModifers = ModifierHelper.parseModifiers(modiferString);
-    mReturnType = type;
-    mName = name;
-    //parse parameter string
-    if (paramString == null) {
-      mParamTypes = new String[0];
-      mParamNames = new String[0];
-    } else {
-      StringTokenizer st = new StringTokenizer(paramString,",");
-      mParamTypes = new String[st.countTokens()];
-      mParamNames = new String[st.countTokens()];
-      int i = 0;
-      while(st.hasMoreTokens()) {
-        String token = st.nextToken().trim();
-        int space = token.indexOf(" ");
-        mParamNames[i] = token.substring(space).trim();
-        mParamTypes[i] = token.substring(0,space).trim();
-        i++;
-      }
-    }
-    // parse the exception list
-    if (exceptionList == null) {
-      mExceptions = new String[0];
-    } else {
-      StringTokenizer st = new StringTokenizer(exceptionList,",");
-      mExceptions = new String[st.countTokens()];
-      int i = 0;
-      while(st.hasMoreTokens()) {
-        mExceptions[i] = st.nextToken().trim();
-        i++;
-      }
-    }
-  }
-
-  public void compare(JMethod method, boolean compareParamNames, Assert a) {
-    compare((JInvokable)method,compareParamNames,a);
-    a.assertTrue("return types are different on "+method.getSimpleName()+"["+
-                 method.getReturnType().getQualifiedName()+","+
-                 mReturnType+" expected]",
-                 method.getReturnType().getQualifiedName().equals(mReturnType));
-  }
-
-
-  public void compare(JInvokable invk, boolean compareParamNames, Assert a) {
-    a.assertTrue("invokable names are different",
-                 invk.getSimpleName().equals(mName));
-    a.assertTrue("modifiers are different on "+invk.getSimpleName()+
-                 "["+invk.getModifiers()+","+mModifers+" expected]",
-                 invk.getModifiers() == mModifers);
-    {
-      JParameter[] params = invk.getParameters();
-      a.assertTrue("parameter lists are of different lengths",
-                   params.length == mParamTypes.length);
-      for(int i=0; i<params.length; i++) {
-        a.assertTrue("parameter type is different on "+invk.getSimpleName()+
-                     "["+params[i].getType().getQualifiedName()+","+mParamTypes[i]+" expected]",
-                     params[i].getType().getQualifiedName().equals(mParamTypes[i]));
-        if (compareParamNames) {
-          a.assertTrue("parameter names are different on "+invk.getSimpleName(),
-                       params[i].getSimpleName().equals(mParamNames[i]));
-        }
-      }
-    }
-    {
-      JClass[] exceptions = invk.getExceptionTypes();
-      for(int i=0; i<exceptions.length; i++) {
-        a.assertTrue("exceptions type is different on "+invk.getSimpleName()+
-                     "["+exceptions[i].getQualifiedName()+","+mExceptions[i]+" expected]",
-                     exceptions[i].getQualifiedName().equals(mExceptions[i]));
-      }
-    }
-  }
-
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ImplComparisonTest.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ImplComparisonTest.java
deleted file mode 100644
index 5eef16f..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ImplComparisonTest.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.*;
-
-import java.util.*;
-import java.io.PrintWriter;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ImplComparisonTest {
-
-  // ========================================================================
-  // Variables
-
-  private JamService mService1;
-  private JamService mService2;
-  private boolean mCompareAnnotations = false;
-  private boolean mCompareComments = false;
-  private PrintWriter mOut = new PrintWriter(System.out);
-  private int mComparisons = 0;
-  private int mFailures = 0;
-
-  // ========================================================================
-  // Public methods
-
-  public void compare(JamService service1, JamService service2) {
-    List list1 = getSortedClassList(service1);
-    //FIXME should also compare that the same classes are in each service
-    //  List list2 = getSortedClassList(service2);
-    for(int i=0; i<list1.size(); i++) {
-      JClass c1 = (JClass)list1.get(i);
-      compare(c1, service2.getClassLoader().loadClass(c1.getQualifiedName()));
-    }
-  }
-
-  public void compare(JClass class1, JClass class2) {
-    compare(class1.getConstructors(),class2.getConstructors());
-    compare(class1.getDeclaredFields(),class2.getDeclaredFields());
-    compare(class1.getDeclaredMethods(),class2.getDeclaredMethods());
-  }
-
-  public void compare(JField[] fields1, JField[] fields2) {
-    for(int i=0; i<fields1.length; i++) {
-      compare(fields1[i],fields2[i]); //FIXME this is dumb and fragile
-    }
-  }
-
-  public void compare(JField f1, JField f2) {
-    if (!f1.getSimpleName().equals(f2.getSimpleName())) {
-      failure("field names don't match",f1,f2);
-    }
-    if (!f1.getType().getQualifiedName().
-            equals(f2.getType().getQualifiedName())) {
-      failure("field types don't match",f1,f2);
-    }
-  }
-
-  public void compare(JConstructor[] constrs1, JConstructor[] constrs2) {
-    for(int i=0; i<constrs1.length; i++) {
-      compare(constrs1[i],constrs2[i]); //FIXME this is dumb and fragile
-    }
-  }
-
-  public void compare(JMethod[] methods1, JMethod[] methods2) {
-    for(int i=0; i<methods1.length; i++) {
-      compare(methods1[i],methods2[i]); //FIXME this is dumb and fragile
-    }
-  }
-
-  public void compare(JMethod m1, JMethod m2) {
-    compare((JInvokable)m1,(JInvokable)m2);
-    if (!m1.getReturnType().getQualifiedName().
-            equals(m2.getReturnType().getQualifiedName())) {
-      failure("return types don't match",m1,m2);
-    }
-
-  }
-
-  public void compare(JInvokable method1, JInvokable method2) {
-    mComparisons++;
-    if (!method1.getSimpleName().equals(method2.getSimpleName())) {
-      failure("invokables have different names",method1,method2);
-    }
-//    compare(method1.getParameters(),method2.getParameters());
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private void failure(String msg, JElement e1, JElement e2) {
-    mOut.println(msg+"  ["+e1.getQualifiedName()+
-                 "]["+e2.getQualifiedName()+"]");
-    mFailures++;
-  }
-
-  private Map createName2Element(JElement[] elements) {
-    Map out = new HashMap();
-    for(int i=0; i<elements.length; i++) {
-      out.put(elements[i].getSimpleName(),elements[i]);
-    }
-    return out;
-  }
-
-  private List getSortedClassList(JamService service) {
-    JClass[] classes = service.getAllClasses();
-    Arrays.sort(classes,JElementComparator.getInstance());
-    return Arrays.asList(classes);
-  }
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JElementComparator.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JElementComparator.java
deleted file mode 100644
index 33c5a50..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JElementComparator.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.JElement;
-
-import java.util.Comparator;
-
-/**
- * <p>Comparator for sorting JElements by qualified name.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class JElementComparator implements Comparator {
-
-  // ========================================================================
-  // Singleton
-
-  private static final Comparator INSTANCE = new JElementComparator();
-
-  public static final Comparator getInstance() { return INSTANCE; }
-
-  private JElementComparator() {}
-
-  // ========================================================================
-  // Comparator implementation
-
-  public int compare(Object o1, Object o2) {
-    return ((JElement)o1).getQualifiedName().compareTo(
-            ((JElement)o2).getQualifiedName());
-  }
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JamTestBase.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JamTestBase.java
deleted file mode 100644
index 0c223c8..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/JamTestBase.java
+++ /dev/null
@@ -1,859 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.test.jam;
-
-import junit.framework.TestCase;
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.jam.internal.elements.ClassImpl;
-import org.apache.xmlbeans.impl.jam.xml.JamXmlUtils;
-import org.w3c.dom.Document;
-
-import javax.xml.stream.XMLStreamException;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.io.FileReader;
-import java.io.StringReader;
-import java.io.InputStream;
-import java.io.Writer;
-import java.io.FileInputStream;
-import java.util.*;
-
-import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
-import com.sun.org.apache.xml.internal.serialize.OutputFormat;
-import org.apache.xmlbeans.test.jam.dummyclasses.jsr175.RFEAnnotation;
-import org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeAnnotation;
-import org.apache.xmlbeans.test.jam.dummyclasses.jsr175.EmployeeGroupAnnotation;
-import org.apache.xmlbeans.test.jam.dummyclasses.jsr175.AddressAnnotation;
-
-/**
- * <p>Abstract base class for basic jam test cases.  These test cases work
- * against an abstract JamService - they don't care how the java types
- * were loaded.  Extending classes are responsible for implementing the
- * getService() method which should create the service from sources, or
- * classes, or whatever is appropriate.</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public abstract class JamTestBase extends TestCase {
-
-  // ========================================================================
-  // Constants
-
-  private static final boolean CONTINUE_ON_COMPARE_FAIL = false;
-  private static final boolean WRITE_RESULT_ON_FAIL = false;
-
-  private static final String WRITE_RESULT_PREFIX = "result-";
-
-  protected static final String
-          DUMMY = "org.apache.xmlbeans.test.jam.dummyclasses";
-
-  protected static final String DUMMY_EJB = DUMMY+".ejb";
-
-  //this array must contain the names of all of the test classes under
-  //dummyclasses
-  private static final String[] ALL_CLASSES = {
-    "DefaultPackageClass",
-    "org.TopLevelPackageClass",
-    DUMMY+".ejb.IEnv",
-    DUMMY+".ejb.MyEjbException",
-    DUMMY+".ejb.TraderEJB",
-    DUMMY+".ejb.TradeResult",
-
-    DUMMY+".jsr175.AnnotatedClass",
-    DUMMY+".jsr175.NestedAnnotatedClass",
-    DUMMY+".jsr175.AddressAnnotation",
-    DUMMY+".jsr175.EmployeeAnnotation",
-    DUMMY+".jsr175.Constants",
-
-    DUMMY+".jsr175.RFEAnnotation",
-    DUMMY+".jsr175.RFEAnnotationImpl",
-
-    DUMMY+".Base",
-    DUMMY+".Baz",
-    DUMMY+".Foo",
-    DUMMY+".FooImpl",
-    DUMMY+".HeavilyCommented",
-    DUMMY+".ImportsGalore",
-    DUMMY+".MyException",
-    DUMMY+".MultilineTags",
-    DUMMY+".ManyTags",
-    DUMMY+".ValuesById"
-  };
-
-
-  // this needs to correspond to the methods on the FooImpl dummyclass
-  private static final String[][] FOOIMPL_METHODS = {
-    {"public",                   "int",      "getId",  null,   null},
-
-    {"public",                   "void",     "setId",  "int id",null},
-
-    {"private final static",     "void",     "setId2",  "double id",null},
-
-    {"protected synchronized ",  "void",     "setId3",  "double id, double id2",null},
-
-    {"protected abstract",       "void",     "setId4",  "double id, double id2, double id3",null},
-
-    {"",             "java.lang.String[][]", "methodDealingWithArrays",  "int[] foo, java.lang.Object[] bar",null},
-
-    {"protected abstract",       "void",     "iThrowExceptions",  "int p1, java.lang.String p2",
-     "java.lang.IllegalArgumentException," +
-          "java.lang.NoSuchMethodError," +
-          DUMMY+".MyException,"+
-          DUMMY+".ejb.MyEjbException,"+
-          "java.net.MalformedURLException,"+
-          "java.lang.OutOfMemoryError,"+
-          "java.lang.NullPointerException"
-    }
-  };
-
-  // this needs to correspond to the methods on the FooImpl dummyclass
-  private static final String[] HEAVILY_COMMENTS = {
-    "A simple comment.",
-    "A comment which\n spans\n\n several\n\n\n lines."
-  };
-  /**
-   * A comment which
-   * spans
-   *
-   * several
-   *
-   *
-   * lines.
-   */
-
-  private static final boolean VERBOSE = false;
-
-  // ========================================================================
-  // Variables
-
-  private JamService mResult = null;
-  private JamClassLoader mLoader = null;
-
-
-  // ========================================================================
-  // Constructors
-
-  public JamTestBase() {
-    super("JamTestBase");
-    System.out.println("constructed JamTestBase");
-  }
-
-  public JamTestBase(String casename) {
-    super(casename);
-    System.out.println("constructed JamTestBase "+casename);    
-  }
-
-  // ========================================================================
-  // Abstract methods
-
-  /**
-   * Called during setup() to get the JamService object to test against.
-   */
-  protected abstract JamService getResultToTest() throws Exception;
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected abstract boolean isAnnotationsAvailable();
-
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected abstract boolean is175AnnotationInstanceAvailable();
-
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected abstract boolean isParameterNamesKnown();
-
-  protected abstract boolean isCommentsAvailable();
-
-  protected abstract boolean isImportsAvailable();
-
-  protected abstract File getMasterDir();
-
-  // ========================================================================
-  // Utility methods
-
-  /**
-   * Returns the directory in which the sources for the dummyclasses live.
-   */
-  protected File[] getDummyclassesSourcepath() {
-    return new File[] {new File("dummyclasses")};
-  }
-
-  /**
-   * Returns the directory into which the dummyclasses have been compiled.
-   */
-  protected File[] getDummyclassesClassPath() {
-    return new File[] {new File("../../build/jam/test/dummyclasses")};
-  }
-
-  // ========================================================================
-  // TestCase implementation
-
-  public void setUp() throws Exception {
-    mResult = getResultToTest();
-    mLoader = mResult.getClassLoader();
-  }
-
-  // ========================================================================
-  // Test methods
-
-  public void testAllClassesAvailable() {
-    if (true) return; //FIXME skipping this until we get inner classes
-    // (Constants.Bool) sorted out between reflect and javadoc
-    JClass[] classes = mResult.getAllClasses();
-    List classNames = new ArrayList(classes.length);
-    for(int i=0; i<classes.length; i++) {
-      resolved(classes[i]);
-      classNames.add(classes[i].getQualifiedName());
-      //System.out.println("-- "+classes[i].getQualifiedName());
-    }
-    List expected = Arrays.asList(ALL_CLASSES);
-    assertTrue("result does not contain all expected classes",
-               classNames.containsAll(expected));
-    assertTrue("result contains more than expected classes",
-               expected.containsAll(classNames));
-  }
-
-  public void testAnnotationUrlValues() {
-    if (!isAnnotationsAvailable()) return;
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".ValuesById"));
-    {
-      final String ANN = "xsdgen:type@target_namespace";
-      final String VAL = "http://www.yahoo.com";
-      JAnnotationValue tns = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, tns !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+tns.asString(),
-                 tns.asString().equals(VAL));
-    }
-    {
-      final String ANN = "xsdgen:type@quoted_tns";
-      final String VAL = "http://homestarrunner.com/sbemail58.html";
-      JAnnotationValue tns = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, tns !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+tns.asString(),
-                 tns.asString().equals(VAL));
-    }
-    {
-      final String ANN = "someurl";
-      final String VAL = "http://www.apache.org/foo";
-      JAnnotationValue tns = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, tns !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+tns.asString(),
-                 tns.asString().equals(VAL));
-    }
-  }
-
-  public void testAnnotationValuesById() {
-    if (!isAnnotationsAvailable()) return;
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".ValuesById"));
-//    assertTrue("value id foo has unexpected single-member value",
-//               clazz.getAnnotationValue("foo") == null);
-    {
-      final String ANN = "bar@x";
-      final String VAL = "hello";
-      JAnnotationValue barx = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, barx !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+barx.asString(),
-                 barx.asString().equals(VAL));
-    }
-    {
-      final String ANN = "bar@y";
-      final String VAL = "goodbye";
-      JAnnotationValue bary = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, bary !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+bary.asString(),
-                 bary.asString().equals(VAL));
-    }
-    {
-      final String ANN = "baz";
-      final String VAL = "I have no pairs.";
-      JAnnotationValue val = clazz.getAnnotationValue(ANN);
-      assertTrue("no "+ANN, val !=  null);
-      assertTrue(ANN+" does not equal "+VAL+", instead is '"+val.asString(),
-                 val.asString().equals(VAL));
-    }
-    {
-      JAnnotationValue widget = clazz.getAnnotationValue("bar@widegetgen:name");
-      assertTrue("no bar@widegentgen:name", widget !=  null);
-      assertTrue("bar@widegetgen:name does not equal aloha",widget.asString().equals("aloha"));
-    }
-    assertTrue(clazz.getAnnotationValue("nothinghere") == null);
-  }
-
-  public void testXmlWriter() throws XMLStreamException, IOException
-  {
-    final String MASTER = "testXmlWriter.xml";
-    JClass[] classes = mResult.getAllClasses();
-    StringWriter xml = new StringWriter();
-    JamXmlUtils.getInstance().toXml(classes,xml);
-    //
-    compare(xml.toString(), MASTER);
-  }
-
-  public void testXmlRoundtrip() throws XMLStreamException, IOException
-  {
-    final String MASTER = "testXmlRoundtrip.xml";
-    final String SOURCE = "testXmlWriter.xml";
-    JamXmlUtils jxu = JamXmlUtils.getInstance();
-    //JClass[] classes = mResult.getAllClasses();
-    File source = new File(getMasterDir(),SOURCE);
-    JClass[] classes = jxu.createService(new FileInputStream(source)).
-      getAllClasses();
-    StringWriter xml = new StringWriter();
-    JamXmlUtils.getInstance().toXml(classes,xml);
-    compare(xml.toString(), MASTER);
-  }
-
-  public void testPackageNames()
-  {
-    JClass clazz = resolved(mLoader.loadClass(DUMMY_EJB+".TraderEJB"));
-    JPackage pkg = clazz.getContainingPackage();
-    assertTrue("Expected '"+DUMMY_EJB+"', got '"+pkg.getQualifiedName()+"'",
-               pkg.getQualifiedName().equals(DUMMY_EJB));
-    //
-    clazz = resolved(mLoader.loadClass("DefaultPackageClass"));
-    pkg = clazz.getContainingPackage();
-    assertTrue("Expected '', got '"+pkg.getQualifiedName()+"'",
-               pkg.getQualifiedName().equals(""));
-    //
-    clazz = resolved(mLoader.loadClass("org.TopLevelPackageClass"));
-    pkg = clazz.getContainingPackage();
-    assertTrue("Expected 'org', got '"+pkg.getQualifiedName()+"'",
-               pkg.getQualifiedName().equals("org"));
-  }
-
-
-  public void test175Annotations() throws IOException, XMLStreamException {
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".jsr175.AnnotatedClass"));
-    JAnnotation ann = clazz.getAnnotation(RFEAnnotation.class);
-    assertTrue("no "+RFEAnnotation.class+ " on "+clazz.getQualifiedName(),
-               ann != null);
-    if (!is175AnnotationInstanceAvailable()) return; //FIXME test untyped access
-    RFEAnnotation rfe = (RFEAnnotation)ann.getAnnotationInstance();
-    assertTrue("id = "+rfe.id(), rfe.id() == 4561414);
-    assertTrue("synopsis = '"+rfe.synopsis()+"'",
-               rfe.synopsis().equals("Balance the federal budget"));
-  }
-
-  public void testNested175AnnotationsUntyped() throws IOException, XMLStreamException {
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".jsr175.NestedAnnotatedClass"));
-    JAnnotation employeeGroup = clazz.getAnnotation(EmployeeGroupAnnotation.class);
-    assertTrue("employeeGroup is null", employeeGroup != null);
-    JAnnotationValue employeeListValue = employeeGroup.getValue("employees");
-    JClass listType = employeeListValue.getType();
-    assertTrue("listType is null", listType != null);
-    assertTrue("listType is "+listType.getFieldDescriptor()+", expecting"+
-               EmployeeAnnotation[].class.getName(),
-               EmployeeAnnotation[].class.getName().equals(listType.getFieldDescriptor()));
-    assertTrue("employees list is null", employeeListValue != null);
-    JAnnotation[] employeeList = employeeListValue.asAnnotationArray();
-    assertTrue("employees list is null", employeeList != null);
-    assertTrue("employees list length is "+employeeList.length+", expecting 2",
-               employeeList.length == 2);
-    JAnnotation boog = employeeList[0];
-    assertTrue("boog annotation is null",boog != null);
-    //FIXME shouldnt be isCommentsAvailable
-    if (isCommentsAvailable()) assertTrue(boog.getSourcePosition() != null);
-    {
-      JAnnotationValue firstName = boog.getValue("firstName");
-      assertTrue("firstName is null",firstName != null);
-      assertTrue("firstName is "+firstName.asString(),
-                 firstName.asString().equals("Boog"));
-      JClass type = firstName.getType();
-      assertTrue("firstName type is null",type != null);
-      assertTrue("firstName type is "+type.getQualifiedName(),
-                 "java.lang.String".equals(type.getQualifiedName()));
-    }
-    {
-      JAnnotationValue aka = boog.getValue("aka");
-      assertTrue("aka is null",aka != null);
-      JClass type = aka.getType();
-      assertTrue("aka type is null",type != null);
-      assertTrue("aka type is "+type.getFieldDescriptor(),
-                 String[].class.getName().equals(type.getFieldDescriptor()));
-      String[] akas = aka.asStringArray();
-      assertTrue("akas is null",akas != null);
-      assertTrue("akas length is "+akas.length, akas.length == 3);
-      for(int i=0; i<akas.length; i++) {
-        assertTrue("akas "+i+" is empty '"+akas[i]+"'",
-                   (akas[i] != null && akas[i].trim().length() > 0));
-      }
-    }
-    {
-      JAnnotationValue active = boog.getValue("active");
-      assertTrue("active is null",active != null);
-      assertTrue("active = "+active.asString(),
-                 active.asString().equals("TRUE"));
-      JClass type = active.getType();
-      assertTrue("active type is null",type != null);
-
-      //FIXME another place where we need to get our story straight with
-      //inner classes.  need to always separate inner and outer with a '$' -
-      //javadoc doesn't like to do this
-      //assertTrue("active type is "+type.getQualifiedName(),
-      //         type.getQualifiedName().equals
-      //           ("org.apache.xmlbeans.test.jam.dummyclasses.jsr175.Constants$Bool"));
-
-      //FIXME javadoc seems to have a bug in it, not telling is it's an enum
-      //assertTrue("active type is not an enum", ((ClassImpl)type).isEnumType());
-    }
-    {
-      JAnnotationValue lastName = boog.getValue("lastName");
-      assertTrue("lastName is null",lastName != null);
-      assertTrue("lastName is "+lastName.asString(),
-                 lastName.asString().equals("Powell"));
-      JClass lastNameType = lastName.getType();
-      assertTrue("street type is null",lastNameType != null);
-      assertTrue("lastNameType "+lastNameType.getQualifiedName(),
-                 "java.lang.String".equals(lastNameType.getQualifiedName()));
-    }
-    {
-      JAnnotationValue specialDigits = boog.getValue("specialDigits");
-      assertTrue("specialDigits is null",specialDigits != null);
-      int[] expect = { 8, 6, 7, 5, 3, 0, 9 };
-      assertTrue("specialDigits does not contain expected digits",
-                 Arrays.equals(expect,specialDigits.asIntArray()));
-      JClass specialDigitsType = specialDigits.getType();
-      assertTrue("specialDigits type is null",specialDigitsType != null);
-      assertTrue("specialDigits type is "+specialDigitsType.getFieldDescriptor()+
-                 ", expecting "+int[].class.getName(),
-                 specialDigitsType.getFieldDescriptor().equals(int[].class.getName()));
-    }
-    {
-      JAnnotationValue addressValue = boog.getValue("address");
-      assertTrue("address is null",addressValue != null);
-      JAnnotation address = addressValue.asAnnotation();
-      assertTrue("address is null",address != null);
-      //FIXME shouldnt be isCommentsAvailable
-      if (isCommentsAvailable()) assertTrue(boog.getSourcePosition() != null);
-
-      {
-        JAnnotationValue street = address.getValue("street");
-        assertTrue("street is null",street != null);
-        assertTrue("street is "+street.asString(),
-                   street.asString().equals("123 shady lane"));
-        JClass streetType = street.getType();
-        assertTrue("street type is null",streetType != null);
-        assertTrue("streetType "+streetType.getQualifiedName(),
-                   streetType.getQualifiedName().equals("java.lang.String"));
-      }
-      {
-        JAnnotationValue city = address.getValue("city");
-        assertTrue("city is null",city != null);
-        assertTrue("city is "+city.asString(),
-                   city.asString().equals("Cooperstown"));
-        JClass cityType = city.getType();
-        assertTrue("street type is null",cityType != null);
-        assertTrue("cityType "+cityType.getQualifiedName(),
-                   cityType.getQualifiedName().equals("java.lang.String"));
-
-      }
-      {
-        JAnnotationValue zip = address.getValue("zip");
-        assertTrue("zip is null",zip != null);
-        assertTrue("zip is "+zip.asInt(),
-                   zip.asInt() == 123456);
-        JClass zipType = zip.getType();
-        assertTrue("street type is null",zipType != null);
-        assertTrue("zipType "+zipType.getQualifiedName(),
-                   zipType.getQualifiedName().equals("int"));
-        assertTrue("zipType not primitive", zipType.isPrimitiveType());
-      }
-    }
-  }
-
-
-  public void testRecursiveResolve() {
-    resolveCheckRecursively(mResult.getAllClasses(),new HashSet());
-  }
-
-
-  /**
-   * Test comment parsing on the HeavilyCommented dummy class.
-   */
-  public void testComments() {
-    if (!isCommentsAvailable()) return;
-    JClass hcImpl = mLoader.loadClass(DUMMY+".HeavilyCommented");
-    JMethod[] methods = hcImpl.getDeclaredMethods();
-    for(int i=0; i<methods.length; i++) {
-      JComment comment = methods[i].getComment();
-      assertTrue("'"+comment.getText()+"'\ndoes not match expected\n'" +
-                 HEAVILY_COMMENTS[i]+"'",
-                 HEAVILY_COMMENTS[i].equals(comment.getText()));
-    }
-  }
-
-
-  /**
-   * Verify that FooImpl has the correct methods with the correct
-   * number of parameters and correct return types.
-   */
-  public void testFooImplMethods() {
-    JClass fooImpl = resolved(mLoader.loadClass(DUMMY+".FooImpl"));
-    GoldenInvokable[] methods = GoldenInvokable.createArray(FOOIMPL_METHODS);
-    GoldenInvokable.doComparison(fooImpl.getDeclaredMethods(),
-                              methods,isParameterNamesKnown(),this);
-  }
-
-
-  public void testClassImports()
-  {
-    if (!isImportsAvailable()) return;
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".ImportsGalore"));
-    JClass[] imports = clazz.getImportedClasses();
-    final String[] IMPORTED_CLASSES = {
-      "org.apache.xmlbeans.impl.jam.JClass",
-      "javax.xml.stream.XMLStreamException",
-      "java.util.Properties"
-    };
-    assertElementsNamed(imports,IMPORTED_CLASSES);
-  }
-
-
-  public void testPackageImports()
-  {
-    if (!isImportsAvailable()) return;
-    JClass clazz = resolved(mLoader.loadClass(DUMMY+".ImportsGalore"));
-    JPackage[] imports = clazz.getImportedPackages();
-    final String[] IMPORTED_PACKAGES = {
-      "java.lang",
-      "java.lang.reflect",
-      "java.util",
-      "javax.xml.stream",
-      "org.apache.xmlbeans.impl.jam"
-    };
-    assertElementsNamed(imports,IMPORTED_PACKAGES);
-  }
-
-
-
-  public void testInterfaceIsAssignableFrom()
-  {
-    JClass fooImpl = resolved(mLoader.loadClass(DUMMY+".FooImpl"));
-    JClass foo = resolved(mLoader.loadClass(DUMMY+".Foo"));
-    assertTrue("Foo should be assignableFrom FooImpl",
-               foo.isAssignableFrom(fooImpl));
-    assertTrue("FooImpl should not be assignableFrom Foo",
-               !fooImpl.isAssignableFrom(foo));
-  }
-
-  public void testClassIsAssignableFrom()
-  {
-    JClass fooImpl = resolved(mLoader.loadClass(DUMMY+".FooImpl"));
-    JClass base = resolved(mLoader.loadClass(DUMMY+".Base"));
-    assertTrue("Base should be assignableFrom FooImpl",
-               base.isAssignableFrom(fooImpl));
-    assertTrue("FooImpl should not be assignableFrom Base",
-               !fooImpl.isAssignableFrom(base));
-  }
-
-  public void testClassIsAssignableFromDifferentClassLoaders()
-  {
-    JClass baz = resolved(mLoader.loadClass(DUMMY+".Baz"));
-    JClass runnable = resolved(mLoader.loadClass("java.lang.Runnable"));
-    assertTrue("Runnable should be assignableFrom Baz",
-               runnable.isAssignableFrom(baz));
-    assertTrue("Baz should not be assignableFrom Runnable",
-               !baz.isAssignableFrom(runnable));
-  }
-
-  public void testAnnotationPresent()
-  {
-    if (!isAnnotationsAvailable()) return;
-    String ANN = "ejbgen:remote-method";
-    JClass ejb = resolved(mLoader.loadClass(DUMMY+".ejb.TraderEJB"));
-    JMethod method = ejb.getMethods()[0];
-    assertTrue(method.getQualifiedName()+" does not have expected "+ANN+
-               " annotation",
-               method.getAnnotation(ANN) != null);
-  }
-
-  public void testAnnotationValue()
-  {
-    if (!isAnnotationsAvailable()) return;
-    JClass ejb = resolved(mLoader.loadClass(DUMMY+".ejb.TraderEJB"));
-    JMethod ejbBuy = ejb.getMethods()[0];
-    String CLASS_ANN = "ejbgen:remote-method@isolation-level";
-    String CLASS_ANN_VALUE = "Serializable";
-    verifyAnnotationValue(ejbBuy,CLASS_ANN,CLASS_ANN_VALUE);
-  }
-
-
-  public void testAnnotationsAndInheritance()
-  {
-    JClass ejb = resolved(mLoader.loadClass(DUMMY+".ejb.TraderEJB"));
-    JClass ienv = resolved(ejb.getInterfaces()[0]);
-    JMethod ejbBuy = ejb.getMethods()[0];
-    JMethod ienvBuy = ienv.getMethods()[0];
-    String INTER_ANN = "ejbgen:remote-method@transaction-attribute";
-    String INTER_ANN_VALUE = "NotSupported";
-    String CLASS_ANN = "ejbgen:remote-method@isolation-level";
-    String CLASS_ANN_VALUE = "Serializable";
-
-    verifyAnnotationAbsent(ejbBuy,INTER_ANN);
-    verifyAnnotationAbsent(ienvBuy,CLASS_ANN);
-
-    if (isAnnotationsAvailable()) {
-      verifyAnnotationValue(ienvBuy,INTER_ANN,INTER_ANN_VALUE);
-      verifyAnnotationValue(ejbBuy,CLASS_ANN,CLASS_ANN_VALUE);
-    } else {
-      verifyAnnotationAbsent(ienvBuy,INTER_ANN);
-      verifyAnnotationAbsent(ejbBuy,CLASS_ANN);
-    }
-  }
-
-
-
-
-  public void testMultilineTags() {
-    if (!isAnnotationsAvailable()) return;
-    JClass mt = resolved(mLoader.loadClass(DUMMY+".MultilineTags"));
-    JAnnotation ann = mt.getAllJavadocTags()[5];
-    compare(resolved(mt), "testMultilineTags.xml");
-  }
-
-  public void testMultipleTags() {
-    if (!isAnnotationsAvailable()) return;
-    JClass mt = resolved(mLoader.loadClass(DUMMY+".ManyTags"));
-    JMethod method = mt.getMethods()[0];
-    assertTrue("allJavadocTags has "+method.getAllJavadocTags().length+
-               " tags, expecting 6",
-               (method.getAllJavadocTags().length == 6));
-    compare(mt,"testManyTags.xml");
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private void assertElementsNamed(JElement[] elements, String[] qnames) {
-    assertTrue("array not of correct length ["+
-               elements.length+","+qnames.length+"]",
-               (elements.length == qnames.length));
-    for(int i=0; i<elements.length; i++) {
-      String qn = elements[i].getQualifiedName();
-      assertTrue("item "+i+" not correct ["+qn+","+qnames[i]+"]",
-                 qn.equals(qnames[i]));
-    }
-  }
-
-  private void compare(String result, String masterFileName) {
-    try {
-      File masterFile = new File(getMasterDir().getAbsolutePath(),masterFileName);
-      StringWriter diff = new StringWriter();
-      if (masterFile.exists()) {
-        FileReader inA = new FileReader(masterFile);
-        StringReader inB = new StringReader(result);
-        boolean same = Differ.getInstance().diff(inA,inB,diff);
-        if (same) return;
-      } else {
-        System.out.println("WARNING: Missing master file: "+masterFile);
-      }
-      if (WRITE_RESULT_ON_FAIL) {
-        File resultFile = new File(getMasterDir(),WRITE_RESULT_PREFIX+masterFileName);
-        FileWriter rout = new FileWriter(resultFile);
-        rout.write(result);
-        rout.close();
-        System.out.println("WARNING: Comparison failed, ignoring, wrote \n"+
-                           resultFile);
-      }
-      if (CONTINUE_ON_COMPARE_FAIL) return;
-      fail("Result did not match master at "+masterFile+":\n"+
-           diff.toString());
-    } catch(IOException ioe) {
-      ioe.printStackTrace();
-      fail(ioe.getMessage());
-    }
-  }
-
-  private void compare(JClass clazz, String masterName) {
-    try {
-      String result = null;
-      {
-        StringWriter resultWriter = new StringWriter();
-        PrintWriter out = new PrintWriter(resultWriter,true);
-        JamXmlUtils.getInstance().toXml(new JClass[] {clazz}, out);
-        out.flush();
-        result = resultWriter.toString();
-        /*
-        try {
-        System.out.println("--------------- "+resultWriter.toString());
-        result = prettyPrint(resultWriter.toString());
-        } catch(Exception e) {
-        e.printStackTrace();
-        System.err.flush();
-        System.out.println("Problem with result:");
-        System.out.println(resultWriter.toString());
-        System.out.flush();
-        fail("failed to parse result");
-        return;
-        }
-        */
-      }
-      compare(result,masterName);
-    } catch(XMLStreamException xse) {
-      xse.printStackTrace();
-      fail(xse.getMessage());
-    } catch(IOException ioe) {
-      ioe.printStackTrace();
-      fail(ioe.getMessage());
-    }
-  }
-
-  private String prettyPrint(String xml) throws Exception {
-    return xml;//FIXME
-    //FIXME StringBufferInputStream is bad
-    //return prettyPrint(new StringBufferInputStream(xml));
-  }
-
-  //all this work just because the 173 RI won't pretty print
-  private String prettyPrint(InputStream in)  throws Exception {
-    StringWriter s = new StringWriter();
-    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-    DocumentBuilder builder = factory.newDocumentBuilder();
-    Document doc = builder.parse(in);
-    OutputFormat format = new OutputFormat(doc);
-
-    //format.setIndenting(true);
-    //format.setIndent(2);
-    XMLSerializer serializer = new XMLSerializer(s, format);
-    serializer.serialize(doc);
-    return s.toString();
-  }
-
-
-  private void resolveCheckRecursively(JClass[] clazzes, Set resolved) {
-    for(int i=0; i<clazzes.length; i++) {
-      resolveCheckRecursively(clazzes[i],resolved);
-    }
-  }
-
-  private void resolveCheckRecursively(JClass clazz, Set set) {
-    if (clazz == null || set.contains(clazz)) return;
-    assertTrue("'"+clazz.getQualifiedName()+"' is not resolved",
-               !clazz.isUnresolvedType());
-    if (VERBOSE) System.out.println("checking "+clazz.getQualifiedName());
-    set.add(clazz);
-    resolveCheckRecursively(clazz.getSuperclass(),set);
-    resolveCheckRecursively(clazz.getInterfaces(),set);
-    {
-      //check methods
-      JMethod[] methods = clazz.getDeclaredMethods();
-      for(int i=0; i<methods.length; i++) {
-        resolveCheckRecursively(methods[i].getReturnType(),set);
-        JParameter[] params = methods[i].getParameters();
-        for(int j=0; j<params.length; j++) {
-          resolveCheckRecursively(params[j].getType(),set);
-        }
-      }
-    }
-    {
-      //check constructors
-      JConstructor[] ctors = clazz.getConstructors();
-      for(int i=0; i<ctors.length; i++) {
-        JParameter[] params = ctors[i].getParameters();
-        for(int j=0; j<params.length; j++) {
-          resolveCheckRecursively(params[j].getType(),set);
-        }
-      }
-    }
-    {
-      //check fields
-      JField[] fields = clazz.getFields();
-      for(int i=0; i<fields.length; i++) {
-        resolveCheckRecursively(fields[i].getType(),set);
-      }
-    }
-  }
-
-
-  private JClass resolved(JClass c) {
-    assertTrue("class "+c.getQualifiedName()+" is not resolved",
-               !c.isUnresolvedType());
-    return c;
-  }
-
-  private void verifyAnnotationValue(JAnnotatedElement j, String valueId, String val) {
-    JAnnotationValue v = j.getAnnotationValue(valueId);
-    assertTrue(/*j.getParent().getQualifiedName()+" '"+*/
-            j.getQualifiedName()+"' is missing expected annotation value '"+valueId+"'",
-            v != null);
-    assertTrue(j.getQualifiedName()+"  annotation '"+valueId+"' does not equal "+
-               val,val.equals(v.asString().trim()));
-  }
-
-  private void verifyAnnotationAbsent(JAnnotatedElement j, String ann) {
-    JAnnotation a = j.getAnnotation(ann);
-    assertTrue("'"+j.getQualifiedName()+"' expected to NOT have annotation '"+ann+"'",
-                a == null);
-  }
-
-  private void dump(JElement j, PrintWriter out) throws XMLStreamException {
-  }
-
-
-
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ModifierHelper.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ModifierHelper.java
deleted file mode 100644
index 2773dbd..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ModifierHelper.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import java.util.StringTokenizer;
-import java.util.Map;
-import java.util.HashMap;
-import java.lang.reflect.Modifier;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ModifierHelper {
-
-  public static int parseModifiers(String modString) {
-    StringTokenizer st = new StringTokenizer(modString);
-    int mods = 0;
-    while(st.hasMoreTokens()) {
-      int mask = getMaskFor(st.nextToken().trim());
-      mods = (mods | mask);
-    }
-    return mods;
-  }
-
-  public static int getMaskFor(String name) {
-    Integer i = (Integer)mToken2Mask.get(name);
-    if (i == null) throw new IllegalArgumentException("unknown modifier '"+
-                                                      name+"'");
-    return i.intValue();
-  }
-
-  // ========================================================================
-  // Static initialization
-
-  private static Map mToken2Mask;
-
-  private static Object[][] MASKS = {
-    {"private",new Integer(Modifier.PRIVATE)},
-    {"protected",new Integer(Modifier.PROTECTED)},
-    {"public",new Integer(Modifier.PUBLIC)},
-    {"abstract",new Integer(Modifier.ABSTRACT)},
-    {"final",new Integer(Modifier.FINAL)},
-    {"strictfp",new Integer(Modifier.STRICT)},
-    {"synchronized",new Integer(Modifier.SYNCHRONIZED)},
-    {"final",new Integer(Modifier.FINAL)},
-    {"static",new Integer(Modifier.STATIC)},
-    {"volatile",new Integer(Modifier.VOLATILE)},
-    {"transient",new Integer(Modifier.TRANSIENT)}
-  };
-
-  static {
-    mToken2Mask = new HashMap();
-    for(int i=0; i<MASKS.length; i++) {
-      mToken2Mask.put(MASKS[i][0],MASKS[i][1]);
-    }
-  };
-
-
-
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ParserJamTest.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ParserJamTest.java
deleted file mode 100644
index f62762d..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ParserJamTest.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.provider.JamServiceFactoryImpl;
-
-import java.io.IOException;
-import java.io.File;
-
-/**
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ParserJamTest extends JamTestBase {
-
-  // ========================================================================
-  // Constructors
-
-  public ParserJamTest(String name) {
-    super(name);
-  }
-
-  // ========================================================================
-  // JamTestBase implementation
-
-  protected JamService getResultToTest() throws IOException {
-    JamServiceFactory jsf = JamServiceFactory.getInstance();
-    JamServiceParams params = jsf.createServiceParams();
-    params.setProperty(JamServiceFactoryImpl.USE_NEW_PARSER,"true");
-    params.includeSourcePattern(getDummyclassesSourcepath(),"**/*.java");
-    return jsf.createService(params);
-  }
-
-  protected boolean isAnnotationsAvailable() { return false;//FIXME!!
-  }
-
-  protected boolean isImportsAvailable() { return false; }
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected boolean is175AnnotationInstanceAvailable() {
-    return false;
-  }
-
-  protected boolean isParameterNamesKnown() {
-    return true;
-  }
-
-  protected boolean isCommentsAvailable() {
-    return true;
-  }
-
-  protected File getMasterDir() {
-    return new File("masters/parser");
-  }
-}
\ No newline at end of file
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ReflectJamTest.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ReflectJamTest.java
deleted file mode 100644
index 00cb08b..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/ReflectJamTest.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.internal.reflect.ReflectClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.java15.Reflect15DelegateImpl;
-
-import java.io.IOException;
-import java.io.File;
-
-/**
- * Runs the JamTestBase cases by loading the types from source.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class ReflectJamTest extends JamTestBase {
-
-  // ========================================================================
-  // Constructors
-
-  public ReflectJamTest(String name) {
-    super(name);
-  }
-
-  // ========================================================================
-  // JamTestBase implementation
-
-  protected JamService getResultToTest() throws IOException {
-    JamServiceFactory jsf = JamServiceFactory.getInstance();
-    JamServiceParams params = jsf.createServiceParams();
-//params.setVerbose(ReflectClassBuilder.class);
-//params.setVerbose(Reflect15DelegateImpl.class);
-    params.includeClassPattern(getDummyclassesClassPath(),"**/*.class");
-    return jsf.createService(params);
-  }
-
-  protected boolean isAnnotationsAvailable() { return false; }
-
-  protected boolean isImportsAvailable() { return false; }  
-
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected boolean is175AnnotationInstanceAvailable() {
-    return true;
-  }
-
-  protected boolean isParameterNamesKnown() { return false; }
-
-  protected boolean isCommentsAvailable() {
-    return false;
-  }
-
-  protected File getMasterDir() { return new File("masters/reflect"); }
-}
diff --git a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/SourcesJamTest.java b/v2/jam/test/tests/org/apache/xmlbeans/test/jam/SourcesJamTest.java
deleted file mode 100644
index 6b8bc93..0000000
--- a/v2/jam/test/tests/org/apache/xmlbeans/test/jam/SourcesJamTest.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
-* The Apache Software License, Version 1.1
-*
-*
-* Copyright (c) 2003 The Apache Software Foundation.  All rights
-* reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions
-* are met:
-*
-* 1. Redistributions of source code must retain the above copyright
-*    notice, this list of conditions and the following disclaimer.
-*
-* 2. Redistributions in binary form must reproduce the above copyright
-*    notice, this list of conditions and the following disclaimer in
-*    the documentation and/or other materials provided with the
-*    distribution.
-*
-* 3. The end-user documentation included with the redistribution,
-*    if any, must include the following acknowledgment:
-*       "This product includes software developed by the
-*        Apache Software Foundation (http://www.apache.org/)."
-*    Alternately, this acknowledgment may appear in the software itself,
-*    if and wherever such third-party acknowledgments normally appear.
-*
-* 4. The names "Apache" and "Apache Software Foundation" must
-*    not be used to endorse or promote products derived from this
-*    software without prior written permission. For written
-*    permission, please contact apache@apache.org.
-*
-* 5. Products derived from this software may not be called "Apache
-*    XMLBeans", nor may "Apache" appear in their name, without prior
-*    written permission of the Apache Software Foundation.
-*
-* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
-* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-* SUCH DAMAGE.
-* ====================================================================
-*
-* This software consists of voluntary contributions made by many
-* individuals on behalf of the Apache Software Foundation and was
-* originally based on software copyright (c) 2003 BEA Systems
-* Inc., <http://www.bea.com/>. For more information on the Apache Software
-* Foundation, please see <http://www.apache.org/>.
-*/
-package org.apache.xmlbeans.test.jam;
-
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.internal.javadoc.JavadocClassBuilder;
-import org.apache.xmlbeans.impl.jam.internal.java15.Javadoc15DelegateImpl;
-
-import java.io.IOException;
-import java.io.File;
-
-/**
- * Runs the JamTestBase cases by loading the types from source.
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class SourcesJamTest extends JamTestBase {
-
-  // ========================================================================
-  // Constructors
-
-  public SourcesJamTest(String name) {
-    super(name);
-  }
-
-  // ========================================================================
-  // JamTestBase implementation
-
-  protected JamService getResultToTest() throws IOException {
-    JamServiceFactory jsf = JamServiceFactory.getInstance();
-    JamServiceParams params = jsf.createServiceParams();
-//    params.setVerbose(JavadocRunner.class);
-//    params.setVerbose(JavadocClassBuilder.class);
-//    params.setVerbose(Javadoc15DelegateImpl.class);    
-//    params.setVerbose(DirectoryScanner.class);
-//    params.includeSourceFile(new File("x:\\xml-xmlbeans\\v2\\jam\\test\\dummyclasses\\org\\apache\\xmlbeans\\test\\jam\\dummyclasses\\MyException.java"));
-    params.includeSourcePattern(getDummyclassesSourcepath(),"**/*.java");
-
-    params.setProperty(JavadocClassBuilder.ARGS_PROPERTY,"-source 1.5");
-    return jsf.createService(params);
-  }
-
-  protected boolean isAnnotationsAvailable() { return true; }
-
-  protected boolean isImportsAvailable() { return true; }
-
-  //kind of a quick hack for now, should remove this and make sure that
-  //even the classes case make the annotations available using a special
-  //JStore
-  protected boolean is175AnnotationInstanceAvailable() {
-    return false;
-  }
-
-  protected boolean isParameterNamesKnown() {
-    return true;
-  }
-
-  protected boolean isCommentsAvailable() {
-    return true;
-  }
-
-  protected File getMasterDir() { return new File("masters/javadoc"); }
-}
diff --git a/v2/jam/website/faq.html b/v2/jam/website/faq.html
deleted file mode 100644
index 87e69c4..0000000
--- a/v2/jam/website/faq.html
+++ /dev/null
@@ -1,159 +0,0 @@
-<html>
-
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-  <title>JAM - FAQ</title>
-  <link href="jam.css" rel="stylesheet" type="text/css" />
-</head>
-
-<body>
-
-<h1>JAM FAQ</h1>
-
-<br />
-
-<h3>What is up with the package name?</h3>
-
-<p>
-That's the package name it grew up with.  For the moment, JAM is
-still being developed at Apache as part of XBeans (but I'm distributing
-it separately here).  The package will change once JAM finds a permanent
-home. 
-</p>
-
-
-<br /><br />
-
-<h3>Why can I get only one JAnnotation of a given type for each 
-class/method/field/whatever?</h3>
-
-<p>
-Sorry, but for better or worse, this is how JSR175 works.  In a given
-scope, you only get to have one annotation declaration of a given
-annotation type.  It only makes sense for JAM to do the same thing.
-</p>
-
-
-<br /><br />
-
-
-
-<h3>Why do I have to write all of these JAnnotationProxies?  It seems like
-such a pain.</h3>
-
-<p>There are two ways this question can be answered; pick the answer you like best:
-
-<ol>
-
-  <li><u>It really isn't that difficult, especially given the advantages
-they provide, and it will soon be even easier</u>.  Any decent IDE should be able to auto-generate stubs impls for a given 175 interface that you could quickly convert into a AnnotationProxy. And when I have some extra time, I'm going to write a simple compiler that does exactly this from the command line.</li>
-
-  <li><u>You don't actually have to write them</u>.  If you really don't
-want to do write them and are willing to live without 
-strongly-typed metadata, you can simply get the values on a 'by-name'
-basis using the <code>MemberValues</code> interface.  Please refer to
-the javadocs for for details.
-  </li>
-
-</ol>
-</p>
-
-<br /><br />
-
-<h3>How do I get more control over how JAM maps my JSR175 annotations to my AnnotationProxy?</h3>
-
-<p>Typically, when implementing a AnnotationProxy, you just extend AnnotationProxy and add your getters and setters.  However, you are free to override
-the base class' implementations of the methods on AnnotationProxy in order 
-to customize how data gets set on the proxy.
-</p>
-
-<br /><br />
-
-<h3>My program already supports some javadoc tags that don't map very nicely to my AnnotationProxy.  How can I continue to support those tags?</h3>
-
-<p>You just need to take control of the mapping as described in the answer above.
-</p>
-
-
-<br /><br />
-
-<h3>This AnnotationProxy stuff sounds great and all, but there are some
-cases where I really am going to need to be able to get at the 'real' 
-annotation object.</h3>
-
-<p>
-The <code>JElement</code> interface provides a <code>getArtifact()</code>
-method.  This (usually) will return the object from the underlying
-implementation which is being proxied by the JElement.  In the case
-of a JAnnotation, this (usually) will return an instance of 
-<code>java.lang.annotation.Annotation</code> in the case where the
-annotation has been retrieved using 1.5 reflection.  Likewise, if the
-annotation is proxying a javadoc tag, it (usually) will return a
-String containing that tag.
-</p>
-
-<p>However, use of these methods is generally discouraged, 
-since it means your code is making assumptions about how the metadata
-is being represented and parsed - the whole point of using JAM is to
-avoid doing this.  No guarantees made about what
-<code>getArtifact()</code> returns, or whether it will return anything at 
-all.
-</p>
-
-
-<br /><br />
-
-
-
-<h3>So why doesn't JAM simply recreate the JVM's 'magic' and
-synthesize implementations of 175 annotation types on the fly?</h3>
-
-<p>That is something that has been considered.  It certainly would not be
-too hard to do, but it would introduce some restrictions that would negate
-many of the advantages that JAM provides.</p>
-
-<p>First and foremost, it would prevent your annotations from classloading
-under under any pre-1.5 JRE.  175 annotation types all extend 
-<code>java.lang.annotation.Annotation</code>, and that class doesn't exist
-in 1.4.  Right off the bat, you would have locked your code into running
-under 1.5.</p>
-
-<p>Moreover, it's not entirely clear that writing your own implementation
-of a JSR175 annotation interface is a valid thing to do.  The spec doesn't
-say anything about it, but it probably would strike some folks at 
-Sun as being at least slightly odd.  I actually have done this with 
-1.5 beta 2 and javac makes no complaints, but it's not clear at this point
-that this behavior will always be supported.</p>
-
-<p>
-Finally, the hot-codegenning the annotation type impls would also remove
-another subtle advantage to the AnnotationProxy approach, which is
-that it allows annotation type authors to introduce behaviors into their
-annotations.  With plain JSR175, it is not possible, for example, to write
-an annotation which performs a simple calculation, or contains any kind of
-logic at all - it's all just dumb data.  With JAnnotationProxies, you control
-the class and you can make it do whatever you want.  While this certainly
-opens the door to people shooting themselves in the foot, I have never been
-an advocate of protecting people from themselves.
-</p>
-
-
-<br /><br />
-
-
-
-
-<h3>Don't you know there already is this or that tool or product 'JAM'?</h3>
-
-<p>
-  Right, I know.  As mentioned above, JAM started out as an internal
-  package of another project, so it was not a big concern at first.
-  As it found a wider audience, the name just kind of stuck.  
-</p>
-
-
-
-</body>
-</html>
-
-
diff --git a/v2/jam/website/index.html b/v2/jam/website/index.html
deleted file mode 100644
index ef62d5b..0000000
--- a/v2/jam/website/index.html
+++ /dev/null
@@ -1,102 +0,0 @@
-<html>
-
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-  <title>JAM - The Java API for Metadata</title>
-  <link href="jam.css" rel="stylesheet" type="text/css" />
-</head>
-
-<body>
-
-  <h1>JAM - The Java API for Metadata</h1>
-
-  <p>
-    JAM is an object model for Java types and their associated annotations.
-    It provides a superset of the features offered by similar APIs
-    (such as Reflection or X/Javadoc), including a unique extensibility
-    mechanism specifically designed to help Java developers cope with the
-    rapidly-changing world of Java metadata.  
-    (<a href='overview.html'>read more...</a>)
-  </p>
-
-
-  <h2>Downloads</h2>
-
-  <i>
-    I am not distributing JAM as a separate binary at the moment,
-    though I hope to do so soon.  For the moment, please go to the 
-    <a href='http://incubator.apache.org/projects/xmlbeans.html'>
-    xml-beans website</a> at Apache to download xbeans, which includes JAM.
-  </i>
-
-  <h2>Documentation</h2>
-
-  <ul>
-    <li><a href='overview.html'>Overview</a></li>
-    <li><a href='faq.html'>JAM FAQ</a> (Please read if you have questions)</li>
-    <li><a href='javadocs/index.html'>API Javadocs</a> (<b>Note:</b> the package name be changing soon)</li>
-    <li><a href='typedMetadata.html'>JAM and JSR175</a>
-        (White paper draft)</li>
-
-  </ul>
-
-  <h2>Links</h2>
-
-  <ul>
-    <li><a href='http://groups.yahoo.com/group/metaJAM'>metaJAM,</a> 
-     a Yahoo group for discussion and news about JAM</li>
-    <li><a href='mailto:metaJAM-owner@yahoogroups.com'>Send email to Patrick</a></li>
-    <li><a href='http://www.jcp.org/en/jsr/detail?id=175'>JSR175</a></li>
-  </ul>
-
-<h2>Status</h2>
-
-  <i>March 23, 2004</i>
-
-  <p>
-    JAM is looking pretty solid.  Cedric has converted EJBgen and SGen
-    to the updated APIs, and all of his regression tests are passing.
-  </p>
-
-  <p>
-    Note that JAM currently is still packaged under 
-    <code>org.apache.xmlbeans.impl.jam</code>.  I know this looks weird,
-    and I am working on finding a better package name.
-  </p>
-    
-
-<h2>About</h2>
-  
-  <p>
-    JAM has evolved as part my work on 
-    <a href='http://xml.apache.org/xmlbeans'>XML-Beans</a> at Apache,
-    which I do on behalf of my employer, 
-    <a href='http://www.bea.com'>BEA Systems</a>.
-    In XML-Beans, I need to be able model Java types in order to generate
-    XML schemas from them.  I found all of the existing Java object models
-    (x/javadoc, reflection, qdox) to be lacking in 
-    some respect.  They each have some features I wanted, but none of them 
-    brought all of those features together.  Perhaps more importantly,
-    though, none of them provide a migration path from javadoc-based
-    metadata to JSR175, which is a big concern for me.  JAM was written
-    to fill this void.
-  </p>
-
-  <p>
-    JAM is now proving to be a generally useful technology in its
-    own right.  Most notably, it is already being used in Cedric Beust's 
-    <a href='http://www.beust.com/ejbgen'>EJBgen</a> and
-    <a href='http://www.beust.com/sgen'>SGen</a>.  Accordingly, I am now
-    exploring the possibility of spinning it up as a distinct open source
-    project, but it doesn't yet have an official open source community.   
-    Until it does, my website here is serving as a temporary home.
-  </p>
-
-
-</body>
-
-</html>
-
-
-
-
diff --git a/v2/jam/website/jam.css b/v2/jam/website/jam.css
deleted file mode 100644
index 0697bac..0000000
--- a/v2/jam/website/jam.css
+++ /dev/null
@@ -1,487 +0,0 @@
-.margin {
-	margin-left	: 75px ;
-	border		: solid;
-	}
-
-.padding {
-	padding		: 0em 3em;
-
-	color		: #000000;
-	background	: #CCCCFF;		
-	}
-
-  pre { 
-	color		: #000000;
-	background	: #DDDDFF;
-	border		: solid;
-        padding         : 10px;
-  }
-
-
-
-/*  The styles most likely to be used are:
-	- Title: The title of the topic
-	- h1, h2, h3: First, second, and third-level headings within the body of a topic
-	- relatedTopics: Related Topics
-	- procTitle: Within How Do I:... topics, for headings within the body of a topic that are followed by
-	  bulleted procedures ("To do this").
-	- pre: For code blocks
-	- langinline: For code fragments within a (non-code) regular section.
-	- notepara: Notes	 
-*/
-h1,
-h2,
-h3,
-h4,
-h5,
-p,
-proctitle,
-relatedtopics {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	color: #000000;
-}
-
-/* Use h1 for all first-level headings within the body of a topic. 
-   For the topic title, use the Title style. */
-h1 {
-	font-size: 135%;
-	margin-top: .5em;
-	margin-bottom: .5em;
-}
-
-/* Use h2 for all second-level headings. */
-h2 {
-	font-size: 125%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h3 for all third-level headings. */
-h3 {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h4 for all fourth-level headings. 
-   Note: this style looks identical to the relatedtopics and proctitle styles. */
-h4 {
-	font-size: 105%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h5 for all fifth-level heading.  
-   Currently, there are no h5s in use in the document.*/
-h5 {
-	font-size: 100%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use the Title style for the title of a topic. */
-p.Title {
-	font-weight: bold;
-	font-style: normal;
-	font-family: Verdana, sans-serif;
-	font-size: 142%;
-}
-
-/* This deprated tag creates a div that designates the title. */
-#topictitle {
-}
-
-/* This deprecated tag creates a dive that designates all body text. */
-#topictext {
-}
-
-/* Used for figure captions.*/
-p.arttitle {
-	font-weight: Bold;
-}
-  
-/* The attribute style resembles the navtitle and partdesc styles in that it keeps the next paragraph 
-   flush with it. Use it when you list the attributes of syntax in a reference topic.
-   The argument style should always be followed by the partdesc style. */
-p.attribute {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-weight: Bold;
-	
-}
-
-/* Standard HTML tag. */
-body {
-	padding: 0px 0px 0px 15px;
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* Standard HTML tag. */
-span.bold {
-	font-weight: Bold;
-}
-
-/* Standard HTML tag. */
-blockquote {
-	margin: 0em 0em 0em 2em;
-	padding: 0px;
-}
-
-/* Use the filepath style to designate file paths. It is currently a monospace file. */
-span.filepath {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The langinline style, like userinput and filepath, also renders text monospace. Use this
-   to denote any individual instance of code in the context of non-coded text. For example, 
-   you would use this to denote the name of a class when you're describing it in the paragraph that
-   precedes a code sample. To denote a code sample, however, use the <pre> tag. */
-span.langinline {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The listplain style narrows the margin between the formatted line and the one before it.
-   It is to be used when creating a second paragraph in a list item, along with the indent and
-   unindent buttons in Dreamweaver. */
-p.listplain {
-	margin-top: 0.7em;
-	margin-bottom: 0;
-	padding: 0em;
-}
-
-/* All text in the navtitle style should include a link to another topic.
-   The navtitle style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics 
-   Included in this Section" section of a navigation topic, you include the links to all of 
-   the topics in that chapter, along with a brief description of what you'll find in each. Use the
-   navtitle style for the linked text. It differs from a normal paragraph style in that it does not 
-   include an extra paragraph break between the link and the descriptive text. */
-p.navtitle {
-	margin-top: .6em;
-	margin-bottom: 0em;
-}
-
-/* The navdesc style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics Included in this Section" 
-   section of a navigation topic, you include the links to all of the topics in that chapter,
-   along with a brief description of what you'll find in each. Use this style for the descriptive text. 
-   It indents the text one tab stop and keeps the margin between this style and the navtitle style small.  */
-p.navdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-}
-
-/* The notepara style indents your text to the tab stop for note
-   text. You should always begin Note text with the word "Note:" in
-   boldface. */
-p.notepara {
-	margin-left: 2em;
-	margin-right: 2em;
-	margin-bottom: 1.5em;
-}
-
-/* The partname style resembles the navtitle style in that it keeps the next paragraph flush with it. 
-   You use it when you list the parameters in a reference topic. It is also used currently in the 
-   glossary to designate glossary entries. It renders text italic.
-   The partname style should always be followed by the partdesc style.*/
-p.partname {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-style: italic;
-}
-
-/* Use the partdesc style when you describe the function of the properties, parameters, or exceptions 
-   listed in a reference topic. It is also used currently in the glossary to designate glossary 
-   definitions. The style indents the description slightly.
-   The partdesc style should always follow the partname or attribute style.*/
-p.partdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-
-}
-
-/* The point of the proctitle style is the same as the point of the relatedtopics style.  
-   It applies to all headings that begin with "To [do something]". It looks identical to the h4 style.  */
-p.proctitle {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-
-}
-
-/* Use the relatedtopics style, for the words "Related Topics" at the end of a topic. 
-   It looks identical to the h4 style. */
-p.relatedtopics {
-	font-size: 120%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-}
-
-/* The syntax style renders text bold. Use it to style all syntax lines under the
-   Syntax heading of reference topics. */
-p.syntax {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-}
-
-/* Use the syntaxindent style to indent sub-properties of syntax declarations. */
-p.syntaxindent {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-	margin-left: 1.5em;
-	margin-top: 0em;
-	margin-bottom: 0px;
-}
-
-
-p.fileurl {
-	font-size: 8pt;
-}
-
-p.modifieddate {
-	font-size: 8pt;
-}
-
-/* The syntaxpartname character style renders text italic. Use it to designate 
-   syntax elements in reference topics.*/
-span.syntaxpartname {
-	font-style: italic;
-	font-weight: normal;
-}
-
-/* These specifications dictate the margins and width of tables. */
-table {
-	width: 90%;
-	margin-top: .6em;
-	margin-bottom: .3em;
-}
-
-/* The background of header cells is grey, and the text is bottom-aligned. */
-th {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #cccccc;
-	text-align: left;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	vertical-align: bottom;
-}
-
-/* The text in normal table cells is top-aligned. */
-td {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #ffffff;
-	vertical-align: top;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* This style creates space above and below table text between paragraph and the table borders. */
-p.tabletext {
-	margin-top: .6em;
-	margin-bottom: .6em;
-}
-
-/* The editor uses this style when creating template guides to designate a style annotation. 
-   You probably won't want to use it anywhere else in the guide. */
-span.template {
-	color: #FF00FF;	
-}
-
-a.toc-node {
-	font-size:11px;
-	color:000000;
-	margin-left: 0px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-    white-space: nowrap;
-    font-family: Tahoma;
-    background-color:#FFFFFF;
-    text-decoration:none;        
-}
-
-/* The userinput style renders text monospace.Use this style to highlight text that a user 
-   types into a text field.  */
-span.userinput {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* Standard HTML tags. */
-ul,
-ol {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	list-style-position: outside;
-	list-style-image: none;
-	margin-top: 0em;
-	margin-bottom: 0em;
-}
-
-/* Standard HTML tag. */
-ol {
-	list-style-type: 1;
-	margin-left: 2em;
-}
-
-/* Standard HTML tag. */
-ul {
-	list-style-type: disc;
-	margin-left: 1.5em;
-}
-
-/* Standard HTML tag. */
-li {
-	margin-top: .3em; 
-	margin-bottom: 0em;
-}
-
-
-a {
-	x-text-underline: off;
-	x-text-overline: off;
-	x-text-line-through: off;
-	/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ 
-}
-a:link {
-	color: #3366FF;
-}
-
-a:hover {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:active {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:visited {
-	color: #3366FF;
-}
-
-div.footer {
-}
-
-.buttonclass
-{
-	font-size:10px;
-	height:20px;
-}
-
-.formclass
-{
-	font-size:10px;
-	height:17px;
-}
-
-
-
-
-/*DEPRECATED*/
-p.codeblock {
-	font-size: 100%;
-	font-family: monospace;
-	line-height: 1em;
-	x-text-tab-stops: repeat 1in;
-	white-space: nowrap;
-	color: #000000;
-	cursor: text;
-	padding-right: 1em;
-	padding-left: 1em;
-	padding-top: 0em;
-	padding-bottom: 0em;
-	margin-bottom: 0em;
-	margin-top: 0em;
-	x-text-underline: Off;
-	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ 
-}
-
-/* DEPRECATED */
-p.bulletindent1 {
-	margin-left: 1.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent2 {
-	margin-left: 5.1em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent3 {
-	margin-left: 4.3em;
-}
-
-/* DEPRECATED */
-p.indent1 {
-	margin-left: 1.5em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent2 {
-	margin-left: 2.9em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent3 {
-	margin-left: 4.3em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.numberedindent1 {
-	margin-left: 2.2em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent2 {
-	margin-left: 6.3em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent3 {
-	margin-left: 10.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}	
-
-/* DEPRECATED */
-p.tabletitle {
-	margin-left: 0;
-	font-weight: Bold;
-}
-
-
-/* These styles are used by the search results page */
-
-.search-node {
-	font-size:10px;
-	color:000000;
-}
-
-a.search-node {
-	font-size:10px;
-	color:000000;
-}
\ No newline at end of file
diff --git a/v2/jam/website/old/javadocTo175.html b/v2/jam/website/old/javadocTo175.html
deleted file mode 100644
index b851e40..0000000
--- a/v2/jam/website/old/javadocTo175.html
+++ /dev/null
@@ -1,144 +0,0 @@
-<html>
-<head>
-<title>Using JAM to ease the transition to JSR175</title>
-
-<link href="jam.css" rel="stylesheet" type="text/css" />
-
-
-</style>
-</head>
-
- 
-<body>
-
-<h2>Using JAM to ease the transition to JSR175</h2>
-
-<p>This document describes how <a href='/stuff/jamdocs'>JAM</a> can help you transition your metadata processing from javadoc tags to <a href='http://www.jcp.org/en/jsr/detail?id=175'>JSR175</a>.
-
-
-
-
-<h3>Before you can require 1.5</h3>
-
-<p>First, define a set of java beans that reflect what you expect your
-175 annotation types to ultimately look like.  Ideally, they should also
-directly reflect the javadoc tags you are currently using.  (If they can't,
-you will have to do a little more work than this example describes - more
-on that later).  Here is a simple example of such a bean:</p>
-
-<pre>
-  package foo.bar;
-
-  /**
-   * This is a 'fake' 175 annotation type that will work under 1.4.
-   * It's just a generic java bean except that it should conform to
-   * the 175 annotation conventions.  This means, among other things,
-   * that the getters are not prefixed with 'get'.
-   */
-  public class MyAnnotation {
-    public MyAnnotation() {} // a public no-arg constructor is required
-    public int id() { return mId;}
-    public void setId(int id) { mId = id; }
-    private int mId = 13;
-  }
-</pre>
-
-<p>In your client/tool code, when creating a JService, you need to specify 
-a mapping between javadoc tag names and the qualified classnames of these
-annotation beans.  For example:</p>
-
-<pre>
-  String[][] mappings = { "myannotation", "foo.bar.MyAnnotation" };
-  JServiceFactory factory = JServiceFactory.getInstance();
-  JServiceParams params = factory.createServiceParams();
-  p.setJavadoc175Mappings(mappings);
-  // (also do other stuff like include your .java files in the params)
-  JService service = factory.createService(params);
-</pre>
-
-<p>For every javadoc tag encountered named 'myannotation,' and instance
-of foo.bar.MyAnnotation will be created and populated by mapping the
-tag attributes to the setters via reflection.  For example, if you
-were using the JService created above to inspect the following source
-file:
-
-<pre>
-
-  package foo.bar;
-
-  /**
-   * @myannotation id=42
-   */  
-  public class SomeClass {
-  }
-</pre>
-
-<p>you could access the myannotation metadata as follows:</p>
-
-<pre>
-
-  JClass someClass = service.getClassLoader().load("foo.bar.SomeClass");
-  JAnnotation jAnn = someClass.getAnnotation(MyAnnotation.class);
-  MyAnnotation myAnnotation = (MyAnnotation)jAnn.getAnnotationObject();
-  System.out.println(myAnnotation.getId());  // prints out 42
-
-</pre>
-
-<p>In this way, our access to the javadoc'ed metadata is strongly-typed,
-structured, and isolated from the vagaries of javadoc parsing.  Better still,
-the stage is now set for an easy transition to JSR175-style annotations, 
-even though none of the code here requires JDK 1.5.</p>
-
-
-<h3>After you can require 1.5</h3>
-
-<p>Once you are sure that you can require JRE 1.5, and
-that you no longer need to support javadoc tags, the transition away from
-this mechanism is extremely simple.  Building on the previous example, 
-the first step is to change MyAnnotation.java so that MyAnnotation is a
-genuine 175 annotation:</p>
-
-<pre>
-  package foo.bar;
-
-  /**
-   * This is a genuine 175 annotation type.
-   */
-  public @interface MyAnnotation {
-    int id() default 13;
-  }
-</pre>
-
-<p>It is important to be sure that the package and class name remains the
-same so that your client code does not need to change.  With this done,
-it no longer is necessary to provide the javadoc-to-class mappings
-as we did above when creating the JService.  Now, all we have to do is:</p>
-
-<pre>
-  JServiceFactory factory = JServiceFactory.getInstance();
-  JServiceParams params = factory.createServiceParams();
-  // (also do other stuff like include your .java files in the params)
-  JService service = factory.createService(params);
-</pre>
-
-<p>That's it.  The beautiful part is that our client code does not
-have to change at all:</p>
-
-<pre>
-  JClass someClass = service.getClassLoader().load("foo.bar.SomeClass");
-  JAnnotation jAnn = someClass.getAnnotation(MyAnnotation.class);
-  MyAnnotation myAnnotation = (MyAnnotation)jAnn.getAnnotationObject();
-  System.out.println(myAnnotation.getId());  // still prints out 42
-</pre>
-
-<p>The MyAnnotation instance we get here is no longer the annnotation
-bean we defined earlier - it's a real java.lang.annotation.Annotation.
-But the beauty of it is that because we planned things out well, it
-doesn't make any difference to the client code.</p>
-
-<p>Again, though, it's important to note that once we get to this point,
-nothing will work without JRE 1.5, and javadoc-style metadata will no
-longer be recognized.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/v2/jam/website/overview.html b/v2/jam/website/overview.html
deleted file mode 100644
index a0c9b75..0000000
--- a/v2/jam/website/overview.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<html>
-
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-  <title>JAM - The Java API for Metadata</title>
-  <link href="jam.css" rel="stylesheet" type="text/css" />
-</head>
-
-<body>
-
-  <h1>JAM - Overview</h1>
-
-  <p>
-    JAM is an object model for Java types and their associated annotations.
-    It provides a superset of the features offered by similar APIs
-    (such as Reflection or X/Javadoc), including a unique extensibility
-    mechanism specifically designed to help Java developers cope with the
-    rapidly-changing world of Java metadata.  
-
-  <h3>Why?</h3>
-
-  <p>
-    There already are a number of ways in which you can inspect and
-    model Java types.  Java reflection, of course, can be used to
-    introspect loaded classes, while tools such as X/Javadoc or Qdox
-    can parse java sources and give you model of their contents
-    (including comments and other information that is lost during java
-    compilation).
-  </p>
-
-  <p>
-    But consider the case where you want to inspect a set of java types
-    where you have source files for some of the types, but only classfiles
-    for others.  And what if you want to be able to access the comments
-    for your java types when they are available from source, but still
-    process them sans comments when you only have classfiles?  One approach
-    would be to write one version of your program's logic that works
-    against the Reflection API, and another that works with Javadoc's
-    Doclet API.  But that seems rather painful - isn't there a better 
-    way?
-  </p>
-
-
-<h3>Artifact Agnosticism</h3>
-
-  <p>
-    JAM solves this (and many other problems, as we will see) by creating 
-    an insulating layer between your code and the real artifacts which
-    describe the java types your code needs to view.  The JAM API was
-    designed from the ground up to allow you to write code that is
-    completely <i>artifact agnostic</i> when inspecting java types. 
-    That is to say, JAM provides a set of
-    abstractions which isolate your java type-inspecting code from the
-    files that it is actually looking  at.  This means that you get a
-    single API with which you can view java sources and classfiles.
-  </p>
-
-  <p>
-    For example, a given instance of JClass (JAM's abstract representation
-    of a Java class) may in reality represent the contents of either a 
-    <code>.class</code> file or its corresponding <code>.java</code> 
-    source file.  However, the JClass that your code sees looks exactly
-    the same in either case.  Without JAM, you may have to write your code
-    twice using two separate APIs like Javadoc and Reflection.  With JAM,
-    your code more able to focus on the logic that is central to your
-    application.
-  </p>
-
-<h3>Extensibility</h3>
-
-  <p>
-    However, the advantages of JAM's proxy-based design extend far 
-    beyond simply providing a unified view of java source- and 
-    classfiles.  This is because JAM allows you to write your own 
-    extensions which customize the proxies that it creates.  With this
-    extension mechanism, you can easily add, modify, or remove any 
-    part of a proxy being built.
-  </p>
-
-  <p>
-    For example, you could write an extension which adds a default comment
-    to uncommented methods on a given JClass.  With such an extension
-    in place, JClasses loaded by JAM will contain your generated comments
-    <i>exactly as if they had actually been in the source file all along.</i>
-  </p>
-
-  <p>
-    Even though this is an extremely simple example, consider how much
-    trouble it might save you in a complex application composed of serveral
-    subsystems.  Say that those subsystems who ask each other to do things
-    using java types that they pass around, and that we need them to use
-    default comments.  If we don't have JAM, we're going to have to write
-    special logic in each subsystem to generate default comments when
-    appropriate.  However, with JAM, we only have to write one bit of code
-    that weaves those comments into out proxied view of the Java classes.
-    Those subsytems that are consuming this view need be none the wiser.
-  </p>
-
-
-<h3>JSR175: The New Metadata Frontier</h3>
-
-  <p>
-    JAM's extensibility makes it ideally suited to help Java developers 
-    tackle a large problem looming on the horizon:
-    <a href='http://www.jcp.org/en/jsr/detail?id=175'>JSR175</a>, 
-    "A Metadata Facility for Java."  New to JDK 1.5, this specification
-    introduces a
-    builtin mechanism for marking up java code with metadata, a job which
-    historically has been done with javadoc tags.  JSR175 introduces
-    changes to both the Java Language Specification (for declaring metadata)
-    and the Reflection API (for accessing metadata) in order to bring
-    structure and strong typing to java metadata.  
-  </p>
-
-  <p>
-    These are huge improvements are desperately needed in the Java 
-    community.  However, big changes usually mean pain for developers, 
-    and JSR175 is no exception.  The primary challenge with JSR175 lies 
-    in the simple fact that it is not backward-compatible with earlier 
-    JDKs - you cannot use it without JDK1.5.  
-  </p>
-
-  <p>
-    Of course, this is not a problem developers who do not care about
-    metadata, or least not about JSR175-style metadata.  It's also not
-    a problem for developers who do care about JSR175 but who
-    <ul>
-      <li>are working on brand new applications using JDK 1.5 and</li>
-      <li>will be able to require their users to upgrade to JRE 1.5</li>
-    </ul>
-  </p>
-  <p>
-    If you are fortunate enough to be one of these developers,
-    you get to start with a clean slate with JDK 1.5, use JSR175,
-    and not worry about anything.  (Well, not quite - there actually are
-    still a <a href='typedMetadata.html'>a number of reasons</a> why
-    even you should consider using JAM for metadata access).
-  </p>
-
-  <p>
-    For everyone else, though, it's going to be a big problem, and it will
-    continue to be a problem for the forseeable future.  Developers who
-    need to support JSR175 metadata under 1.5 while continuing to support
-    older javadoc-style annotations under 1.4 face a daunting task.  
-    They must be able to retrieve very 
-    different metadata structures from different APIs.  They
-    must then somehow structure their program code to respond appropriately
-    (and consistently) in either case.
-  </p>
-
-  <p>
-    JAM's extensibility can help in a big way here.  Remember how JAM
-    lets you be agnostic about whether you were looking at a source-
-    or class file?  Well, exactly the same principle can be brought to bear
-    on other kinds of artifacts.  As before, we want to have unified
-    view of two kinds of artifacts (javadoc tags and JSR175 annotations) 
-    that really mean the same thing to our code.  JAM can give you a
-    unified view of your java metadata, one that looks the same whether 
-    it is javadoc- or JSR175-based.  
-  </p>
-
-  <p>
-    Unless your metadata is very simple, JAM will probably need a little
-    bit of help from you to do this correctly.  JAM's specialized 
-    extension mechanism for annotations allows you to easily customize how
-    tag and JSR175 annotation values are mapped into the JAM object that
-    will act as a proxy for your metadta.  In this way, the 
-    mapping logic remains encapsulated, away from the parts of your code
-    that are actually trying to do something interesting with the metadata.
-  </p>
-
-  <p>
-    JAM will even let you define strongly-typed proxies so that you can get
-    the same kind of bean-like access to your metadata that JSR175 offers.
-    The big difference is that with JAM, your code will be able to
-    transparently understand javadoc tags and it will still run under 
-    JRE 1.4.
-  </p>
-
-<h3>Conclusion</h3>
-
-  <p>
-    If you are working on a project where you need to understand
-    what java classes look like, you should consider using JAM.  It 
-    allows you to loosely-couple your application from the way in which
-    the java classes are parsed or loaded, and it's extensibility
-    features can allow you to implement elegant solutions to complex 
-    problems involving java type introspection.  And finally, if JSR175
-    if causing you grief, JAM can help.
-  </p>
-
-
-
-</body>
-
-</html>
-
-
-
-
diff --git a/v2/jam/website/stylesheet.css b/v2/jam/website/stylesheet.css
deleted file mode 100644
index 301d803..0000000
--- a/v2/jam/website/stylesheet.css
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Javadoc style sheet */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { 	
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	background-color: #FFFFFF 
-}
-
-body {
-/*	padding: 0px 0px 0px 15px; */
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-}
-
-/* Table colors */
-.TableHeadingColor     { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor  { background: #EEEEFF } /* Light mauve */
-.TableRowColor         { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont   { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameItemFont    { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-
-/* Example of smaller, sans-serif font in frames */
-/* .FrameItemFont  { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
-
-/* Navigation bar fonts and colors */
-.NavBarCell1    { background-color:#EEEEFF;}/* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
-.NavBarFont1    { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
-
-.NavBarCell2    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-
diff --git a/v2/jam/website/typedMetadata.html b/v2/jam/website/typedMetadata.html
deleted file mode 100644
index 99f3099..0000000
--- a/v2/jam/website/typedMetadata.html
+++ /dev/null
@@ -1,484 +0,0 @@
-<html>
-<head>
-<title>Using JAM to Improve Developer Experience with JSR175</title>
-
-<link href="jam.css" rel="stylesheet" type="text/css" />
-
-
-</style>
-</head>
-
- 
-<body>
-
-<h2>Using JAM to Improve Developer Experience with JSR175</h2>
-
-<h3>Overview</h3>
-<p>
-<a href='http://www.jcp.org/en/jsr/detail?id=175'>JSR175</a> is 
-a new metadata specification being rolled out in JDK1.5.  It promises
-to formalize the current ad-hoc javadoc tag-based systems by introducing
-new language constructs and relfection APIs for viewing metadata.  On
-the whole, this is going to be a very good thing for the java
-community.
-</p>
-
-<p>
-However, the transition to JSR175 is going to be painful for some 
-developers, especially those who have already developed tools which process
-javadoc tags.  This document provides a detailed description of what 
-some of those difficulties are and how the JAM API can help.
-</p>
-
-<h3>The Problem</h3>
-
-<p>
-JSR175 brings us a world in which Java has language constructs
-to support the declaration of metadata, as well as strongly-typed APIs
-for accessing it at runtime.  Gone will be the days of parsing
-nastily-encoded javadoc tags, replaced by the convenience of 
-compile-time checks on annotations and simple bean-like interfaces for
-accessing them.  There is no doubt that these are huge and long-overdue
-improvements to Java.
-</p>
-<p>
-However, there are a few practical problems which java developers
-face when looking at JSR175.  The most obvious is that it only works in
-JDK1.5.  Java developers who wish to utilize 175 must convince their users
-to upgrade to a new JRE.  Historically, this has often been a very
-difficult thing to
-do.  Developers who are unable to convince their users to upgrade to 1.5
-but wish to still take advantage of JSR175 are faced with the daunting 
-task of wedding older javadoc tag-based annotations with the newer 175
-structures.  The problem is compounded by the fact that Sun has 
-failed to articulate any migration strategy for such developers and users.
-</p>
-
-<p>
-However, aside from JRE versioning problems, there is another, less-obvious
-fly in the 175 ointment.  This other problem will not evaporate as
-soon as JRE 1.4.2 has gone the way of 1.0.2 - it is a problem fundamentally
-woven into the JSR175 specification.  It was the result of a conscious design
-decision by the spec's authors, and it was made with good reasons
-and the best of intentions.  It is not a problem that will affect all 
-java developers, and perhaps not even very many of them.  Nonetheless, for a
-subset of java programmers trying to perform certain kinds of tasks, it
-will remain a problem.
-</p>
-
-<p>
-The root of this problem is that these new, wonderful 
-strongly-typed annotation structures are interfaces, as opposed
-concrete classes.  
-</p>
-
-<h3>Divergent APIs</h3>
-
-<p>
-Why is that a problem?  To answer that, a quick perusal of the 1.5
-JDK documentation is informative.  Notice <code>java.lang.Class</code>, 
-you can get instances of <code>java.lang.annotation.Annotation</code>.  
-However, if you look at the 1.5 Javadoc Doclet API, you will see that
-there is no way to do this; rather, it provides only untyped, 'by-name'
-access to the annotation data.
-</p>
-
-<p>
-Why is this?  Remember that those Annotation types are really interfaces.  
-They don't have a constructor and you cannot instantiate them directly.  
-The 1.5 JVM has some magic to synthesize an implementation of the
-annotation type on the fly at runtime and return an instance of it for you
-to use.  Unfortunately, the JVM doesn't share that magic with Javadoc,
-or with anyone else, for that matter.  As a result, there is no way to get
-an instance of those annotation interfaces unless you are running in a VM
-that has classloaded compiled versions of the annotated classes.
-</p>
-
-<p>
-Now one may well ask: so what?  Aren't you always running in a VM
-that has classloaded compiled version of the annotated classes?  Well,
-this is true most of the time for most developers.  However, there are some
-developers who want to pre-process java souce before it is compiled.  
-Often this is because they want access to information that is lost 
-during java compilation, such as comments.  This source analysis is
-typically used in driving some kind code generation - xdoclet is a good
-example of this.  But more generally, this will be a problem for anyone
-who is implementing or extending any kind of compilation technology which
-directly reads JSR175-annotated java sources.
-</p>
-
-<p>
-Sun's response (implicit in the 1.5 doclet API) seems to be that if you
-are processing java sources in this way, not only are you stuck using a
-completely different API for modelling java types, that API in turn forces
-you to use an untyped access model for metadata on those types.  
-<p>
-
-<p>
-This is somewhat inconvenient.  Strong typing in java programming is
-almost always a Good Thing, and again, one of the great promises of 175
-is to bring strong typing to the world of metadata.  The failure to fully
-deliver on this promise to our cadre of compiler and compiler extension
-authors may cause them to wonder what was so great about JSR175 in the
-first place.
-</p>
-
-<p>
-<h3>So what can JAM do about this?</h3>
-
-<p>JAM's solution to this problem is simple: return control of the 
-metadata access model to the compiler authors.  This is achieved by
-allowing authors to create a bean which acts as a proxy to the JSR 175
-annotation data; these beans are called <i>AnnotationProxies</i>.</p>
-
-<p>
-The annotation data being proxied may in fact reside on an instance of 
-<code>java.lang.annotation.Annotation</code>, in the case where we are 
-looking at an annotation in a 1.5 VM.  However, it may also simply
-be an 175 annotation declaration in a java source file (remember,
-again, that there we have no way to instantiate the 175 interface for
-the annotation be declared).  JAM does all the work to plug the 
-data into the AnnotationProxy.  The compiler author in turn gets a 
-strongly-typed, consistent API metadata without having to worry about
-where it's coming from.
-</p>
-
-<p>
-Here is a simple example of what this looks like.  Say we have defined
-a 175 annotation type, like the following:
-</p>
-
-<pre>
-  package com.special;
- 
-  public @interface SpecialId {
-    public int id() default 13;
-  }
-</pre>
-
-<p>
-Our compiler author would then define a proxy to represent the SpecialId
-annotation which would probably look something like this:
-</p>
-
-<p>
-(you can ignore the verbose javadocs unless you're looking for more detail):
-</p>
-
-<pre>
-  package com.special;
-  /**
-   * This class is defined by the author to act as a proxy to instances
-   * ot the SpecialId annotation.  Though the author is largely free
-   * to do whatever they want in this class here, it is probably advisable
-   * to make it conform to the conventions and constraints
-   * associated with JSR 175 annotation types as much as possible, i.e.
-   * as if it actually implemented the 175 annotation interface.
-   * This means there are limits on the types of the bean properties
-   * and also that accessor methods are not prefixed with 'get'.  A
-   * proxy should resemble the real thing as much as possible.
-   * 
-   * The only really firm requirement is that the class be public,
-   * non-abstract, and have a public default constructor.  It also is
-   * required that you provide setter methods that correspond to the type
-   * and names of the annotation properties so that JAM can use reflection 
-   * to populate the AnnotationProxy.  (Actually, even this is not a really
-   * firm requirement if you're willing to do a little extra work - see
-   * the TypedAnnotationProxyBase javadocs for details).
-   */
-  public class SpecialIdProxy extends TypedAnnotationProxyBase {
-    public SpecialIdProxy() {}              // a public no-arg constructor is required
-    public int id() { return mId;}          // just like the 175 annotation method
-    public void setId(int id) { mId = id; } // this gets called by JAM
-    private int mId = 13;                   // note that this is same as default
-  }
-</pre>
-
-<p>
-We have chosen to make the SpecialIdProxy expose the same public face
-as our JSR175 interface, <code>SpecialId</code> (they both have an
-<code>id()</code> property accessor).  However, it is worth noting that 
-SpecialIdProxy does <b>not</b> implement <code>SpecialId</code>.
-There are two reasons for this:
-</p><p>
-<ul>
-  <li>
-    Doing so would immediately lock our code into JDK 1.5.  This
-    is beacuse SpecialId will extend from  
-    <code>java.lang.annotation-Annotation</code>, which is 1.5-specific.
-  </li>
-  <li>
-    As of this writing, it's not entirely clear that writing your own
-    implementation of a JSR175 annotation interface is a valid thing to do
-  </li>
-</ul>
-</p>
-
-<p>
-  So, now we have an JSR175 annotation interface, and we've written a
-  proxy class that looks just like it (but does not implement it).
-  So far, so redundant, right?  
-</p>
-
-<p>
-  To see why we have done this, let's write a very simple compiler-like
-  tool that inspects a single java source file or java class, prints out
-  it's comments (if it has any) and outputs the value of the SpecialId 
-  annotation.  That program would look something like this:
-</p>
-
-<pre>
-package com.special;
-
-public class SpecialIdViewer {
-
-  public static void main(String[] args) 
-  {
-    // Verify the args are correct 
-    if (args.length != 1) { 
-      throw new Exception("must pass one java class name or "+
-                          "relative source file path");
-    }
-
-    // Bootstrap into JAM.  We need to create a JamService that has either
-    // a class- or source- based representation of a class, depending
-    // on what they specified.
-
-    JamServiceFactory factory = JamServiceFactory.getInstance();
-    JamServiceParams params = factory.createServiceParams();
-
-    // Establish a mapping between the 175 annotation type and our proxy
-    params.register175AnnotationProxy(SpecialIdProxy.class,"com.special.SpecialId");
-
-    // Decide whether they want to look at a source file or a class
-    if (args[0].endsWith(".java")) {
-      params.includeSourceFiles(new File("."),args[0]);
-    } else {
-      params.includeClass(args[0]);
-    }
-
-    // Ok, create our entry point into JAM
-    JamService service = factory.createService(params);
-
-    // Whew!  Ok, enough set up, let's get some real work done
-
-    // First, we get a JClass from the service that represents the
-    // class they specified.  In this particular case, we know
-    // there can be exactly one, so just get it.
-    JClass clazz = service.getClasses[0];
-
-    // Now get the class doc and print it out if it's available
-    JComment comment = clazz.getComment();
-    System.out.println((comment != null) ? comment.getText():
-                       "[comments are not available from classfiles]");
-
-    // Ok, get (a proxy to) the annotation 
-    SpecialIdProxy annotation = 
-      (SpecialIdProxy)c.getAnnotation(SpecialIdProxy.class);
-
-    // Note that at this point we have a typed structure for our metadata
-    // which we can use exactly like a real 175 annotation.  
-    int specialId = annotation.id();
-    System.out.println("The special id is: "+specialId);
-  }
-}
-</pre>  
-
-<p>
-We can now compile our SpecialIdViewer along with our SpecialId 175
-annotation type and our SpecialIdProxy proxy.  With that done, we might
-now jar these things up and then send them off into the world so that
-people can annotate their classes with SpecialIds and view them with our
-SpecialIdViewer.
-</p>
-
-<p>Let's take a look at how that would work.  Say we have a JRE 1.5 user
-who has just downloaded our jar.  They add our jar to their classpath 
-and then compile the following java source file they have written:
-
-<pre>
-package com.random.user;
-
-import com.special.SpecialId;
-
-/**
- * This is some random user code compiled with 1.5 javac.
- */
-@SpecialId(id = 42)
-protected abstract class RandomUserCode {}
-</pre>  
-
-<p>Now they run our SpecialIdViewer tool and see the following:</p>
-
-<pre>
-> java com.special.SpecialIdViewer com.random.user.RandomUserCode
-[comments are not available from classfiles]
-The special id is: 42
-</pre>
-
-<p>
-Nothing too surprising there, but what exactly happened?  When we asked
-for the class' annotation of type SpecialIdProxy, JAM looked up the
-SpecialId on the user class (because that's what we mapped
-SpecialIdProxy to in the call to <code>mapAnnotationProxy()</code>), 
-created a new instance of SpecialIdProxy, copied the SpecialId data into
-that proxy, and returned it to us so that we could print it out.  It also
-realized that it was unable to print out the class comments because it
-only had the class, not the source.
-</p>
-
-<p>
-At this point, you are probably still wondering why we went to all
-of this trouble with this proxy business.  Why didn't we just use the
-175 SpecialId annotation type directly?  To illustrate the advantage,
-consider the same example again, except that this time the user
-does not run <code>javac</code> on RandomUserCode.java and instead
-provides our tool with only raw, uncompiled <code>.java</code> source code.
-</p>
-
-<pre>
-> java com.special.SpecialIdViewer RandomUserCode.java
-This is some random user code.
-The special id is: 42
-</pre>
-
-<p>
-Note JAM is able to give us the comment now, since this time we
-have the source code.  But otherwise, things basically worked just
-the same as before.  Nothing to surprising here, either.  
-</p>
-
-<p>
-But wait, isn't that itself surprising?  Think for a minute about what you
-would have to do in order to make this work without JAM (i.e. with
-reflection and javadoc or something similar like xjavadoc or qdox.  
-At the point in our SpecialIdViewer where you decide whether you are
-looking at a source file or a class file, you would have to fork your
-codepath - on the one path, you would use the Reflection APIs, get your 
-175 SpecialId instance directly, and decide not to print out a comment.  
-On the other path, you would have to use javadoc's untyped API to get the 
-SpecialId value, and in this case you would be able to print out a comment.
-In effect, you would have written almost all of your tool twice over.
-</p>
-
-<p>
-In case you're still not surprised, consider what happens if our user
-suddently decides to switch back to JRE 1.4.  If they repeat the
-previous example (using the source file), it still works just the
-same.  How is that possible, you ask?  Well, first off, note that 
-SpecialIdViewer itself will still load just fine under 1.4 because
-SpecialIdProxy has isolated it from any 1.5 dependencies.  And because
-we have the source file (RandomUserCode.java), JAM's java source parser is
-able to parse the 1.5 annotations and populate the SpecialIdProxy without 
-requiring anything from 1.5.
-</p>
-
-<p>
-That may be a neat party trick, but is it really useful?  After all, 
-RandomUserCode is never going to compile or classload under 1.4.
-Why someone want to do this?  In truth, they probably won't.  However,
-they might want to do something similar but slightly different. 
-</p>
-
-<h2>Processing Javadoc Tags</h2>
-
-<p>
-Take the case of a user who has not yet upgraded to JDK 1.5.  They
-simply refuse to upgrade, for the usual reasons users refuse to upgrade.
-They still want to markup their classes with our SpecialIds, but because 
-they won't have JRE 1.5, they won't be able to use our JSR175 annotation 
-(SpecialId) to do it.</p>
-
-<p>
-The obvious choice in this case to let them declare their special ids
-with javadoc tags, which have been the de facto standard for declaring
-java metadata prior to JDK 1.5.  Accordingly, our stubborn 1.4 user might
-expect to be able to run SpecialIdViewer on the following 1.4 java
-source file:
-</p>
-
-<pre>
-package com.stubborn.user;
-
-/**
- * This is code from someone who simply will not upgrade to 1.5.
- *
- * @special id=79
- */
-protected abstract class StubbornUserCode {}
-</pre>  
-
-<p>
-This seems reasonable enough.  Unfortunately, though, that means we're going
-to have to write a lot more code in our tool.  Now we have to check for
-javadoc tags, parse them if they are there, and then somehow glue
-everything together in our code so that the behavior is the same.  Right?
-</p>
-
-<p>
-Wrong, fortunately.  JAM can be a big help in this case as well.  To support
-this javadoc tag, we only need to add one new line (in bold) to our
-SpecialIdViewer tool:
-</p>
-
-<pre>
-package com.special;
-
-public class SpecialIdViewer {
-
-  public static void main(String[] args) 
-  {
-...
-    // Establish a mapping between the 175 annotation type and our proxy
-    params.register175AnnotationProxy(SpecialIdProxy.class, "com.special.SpecialId");
-
-    // Also establish a mapping between the '@special' javadoc tag and our proxy
-    <b>params.registerJavadocTagProxymapJavadocTagProxy(SpecialIdProxy.class, "special");</b>
-...
-  }
-</pre>
-
-<p>
-Now our stubborn 1.4 user runs our tool, and the desired output appears:
-</p>
-
-<pre>
-> java com.special.SpecialIdViewer StubbornUserCode.java
-This is code from someone who simply will not upgrade to 1.4.
-The special id is: 79
-</pre>
-
-<p>
-This works by exactly the same principle as our earlier example using
-JRE 1.5.  We have created a SpecialIdProxy through which we want to 
-view metadata.  We now have told JAM that we want that class to be a 
-proxy for the 'special' javadoc tag (as well as the SpecialId 175
-annotation type).  When JAM is processes the java source, it therefore
-knows that when it sees a 'special' tag, it should parse out it's values
-and populate an instance of our SpecialIdProxy for us to use in our code.
-</p>
-
-<p>
-So, here again we see how useful the annotation proxy is.  Because we
-have isolated our processing logic from the details of parsing metadata,
-the same code works in all of the different scenarios we have seen: with
-source files, with class files, with 175-style annotations, or with javadoc
-annotations.  You don't have to waste time worrying about how your 
-metadata and type information is going to get represented or parsed.
-JAM lets you hide all of this away so you can focus on the real problems
-your your application is trying to solve.
-
-</p>
-
-
-<p>
-<i>Still have questions?  <a href='faq.html'>Try looking in FAQ.</a>
-</p>
-
-
-
-
-</body>
-</html>
-
-
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BaseBindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BaseBindingLoader.java
deleted file mode 100644
index ed9074b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BaseBindingLoader.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import java.util.Map;
-import java.util.LinkedHashMap;
-import java.util.Collection;
-
-/**
- * Base class
- */
-public abstract class BaseBindingLoader implements BindingLoader {
-
-  // ========================================================================
-  // Variables
-
-  private final Map bindingTypes = new LinkedHashMap();    // name-pair -> BindingType
-  private final Map xmlFromJava = new LinkedHashMap();     // javaName -> pair
-  private final Map xmlFromJavaElement = new LinkedHashMap(); // javaName -> pair (xml element)
-  private final Map javaFromXmlPojo = new LinkedHashMap(); // xmlName -> pair (pojo)
-  private final Map javaFromXmlObj = new LinkedHashMap();  // xmlName -> pair (xmlobj)
-
-  // ========================================================================
-  // BindingLoader implementation
-
-  public BindingType getBindingType(BindingTypeName btName) {
-    return (BindingType) bindingTypes.get(btName);
-  }
-
-  public BindingTypeName lookupPojoFor(XmlTypeName xName) {
-    return (BindingTypeName) javaFromXmlPojo.get(xName);
-  }
-
-  public BindingTypeName lookupXmlObjectFor(XmlTypeName xName) {
-    return (BindingTypeName) javaFromXmlObj.get(xName);
-  }
-
-  public BindingTypeName lookupTypeFor(JavaTypeName jName) {
-    return (BindingTypeName) xmlFromJava.get(jName);
-  }
-
-  public BindingTypeName lookupElementFor(JavaTypeName jName) {
-    return (BindingTypeName) xmlFromJavaElement.get(jName);
-  }
-
-  // ========================================================================
-  // Other public methods
-
-  public Collection bindingTypes() {
-    return bindingTypes.values();
-  }
-
-  public Collection typeMappedJavaTypes() {
-    return xmlFromJava.keySet();
-  }
-
-  public Collection elementMappedJavaTypes() {
-    return xmlFromJavaElement.keySet();
-  }
-
-  public Collection pojoMappedXmlTypes() {
-    return javaFromXmlPojo.keySet();
-  }
-
-  public Collection xmlObjectMappedXmlTypes() {
-    return javaFromXmlObj.keySet();
-  }
-
-
-  // ========================================================================
-  // Protected methods
-
-  protected void addBindingType(BindingType bType) {
-    bindingTypes.put(bType.getName(), bType);
-  }
-
-  protected void addPojoFor(XmlTypeName xName, BindingTypeName btName) {
-    assert(!btName.getJavaName().isXmlObject());
-    javaFromXmlPojo.put(xName, btName);
-  }
-
-  protected void addXmlObjectFor(XmlTypeName xName, BindingTypeName btName) {
-    assert(btName.getJavaName().isXmlObject());
-    javaFromXmlObj.put(xName, btName);
-  }
-
-  protected void addTypeFor(JavaTypeName jName, BindingTypeName btName) {
-    assert(btName.getXmlName().isSchemaType());
-    xmlFromJava.put(jName, btName);
-  }
-
-  protected void addElementFor(JavaTypeName jName, BindingTypeName btName) {
-    assert(btName.getXmlName().getComponentType() == XmlTypeName.ELEMENT) :
-            "not an element: " + btName;
-    xmlFromJavaElement.put(jName, btName);
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingFile.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingFile.java
deleted file mode 100644
index 20a0b61..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingFile.java
+++ /dev/null
@@ -1,215 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-import java.io.IOException;
-
-
-/**
- * Represents a BindingLoader whose contents are loaded from a
- * single binding-config file. (See binding-config.xsd)
- */
-public class BindingFile extends BaseBindingLoader
-{
-
-    // ========================================================================
-    // Factory
-
-    /**
-     * Loader
-     */
-    public static BindingFile forDoc(org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument doc)
-    {
-        return new BindingFile(doc);
-    }
-
-    // ========================================================================
-    // Constructors
-
-    /**
-     * This constructor is used when making a new one out of the blue.
-     */
-    public BindingFile()
-    {
-        // nothing to do - all maps are empty
-    }
-
-    /**
-     * This constructor loads an instance from an XML file
-     */
-    protected BindingFile(org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument doc)
-    {
-        validateDoc(doc);
-
-        // todo: in the loops below, validate that entries are unique, or modify schema to do so.
-
-        org.apache.xml.xmlbeans.bindingConfig.BindingType[] btNodes =
-            doc.getBindingConfig().getBindings().getBindingTypeArray();
-        for (int i = 0; i < btNodes.length; i++) {
-            BindingType next = BindingType.loadFromBindingTypeNode(btNodes[i]);
-            addBindingType(next, false, false);
-        }
-        org.apache.xml.xmlbeans.bindingConfig.Mapping[] mNodes =
-            doc.getBindingConfig().getJavaToXml().getMappingArray();
-        for (int i = 0; i < mNodes.length; i++) {
-            JavaTypeName jName = JavaTypeName.forString(mNodes[i].getJavatype());
-            XmlTypeName xName = XmlTypeName.forString(mNodes[i].getXmlcomponent());
-            addTypeFor(jName, BindingTypeName.forPair(jName, xName));
-        }
-
-        mNodes = doc.getBindingConfig().getJavaToElement().getMappingArray();
-        for (int i = 0; i < mNodes.length; i++) {
-            JavaTypeName jName = JavaTypeName.forString(mNodes[i].getJavatype());
-            XmlTypeName xName = XmlTypeName.forString(mNodes[i].getXmlcomponent());
-            addElementFor(jName, BindingTypeName.forPair(jName, xName));
-        }
-
-        mNodes = doc.getBindingConfig().getXmlToPojo().getMappingArray();
-        for (int i = 0; i < mNodes.length; i++) {
-            JavaTypeName jName = JavaTypeName.forString(mNodes[i].getJavatype());
-            XmlTypeName xName = XmlTypeName.forString(mNodes[i].getXmlcomponent());
-            addPojoFor(xName, BindingTypeName.forPair(jName, xName));
-        }
-
-        mNodes = doc.getBindingConfig().getXmlToXmlobj().getMappingArray();
-        for (int i = 0; i < mNodes.length; i++) {
-            JavaTypeName jName = JavaTypeName.forString(mNodes[i].getJavatype());
-            XmlTypeName xName = XmlTypeName.forString(mNodes[i].getXmlcomponent());
-            addXmlObjectFor(xName, BindingTypeName.forPair(jName, xName));
-        }
-    }
-
-    // ========================================================================
-    // Public methods
-
-    /**
-     * Writes out to XML
-     */
-    public org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument write()
-        throws IOException
-    {
-        // Here we should use the BindingConfigDocument classloader
-        // rather than the thread context classloader.  This is
-        // because in some situations (such as when being invoked by ant)
-        // the context classloader is potentially weird (because
-        // of the design of ant).
-
-        SchemaTypeLoader loader = XmlBeans.typeLoaderForClassLoader(
-            org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument.class.getClassLoader());
-
-        org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument doc =
-            (org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument)
-            loader.newInstance(org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument.type, null);
-
-        write(doc);
-        //validateDoc(doc);
-        return doc;
-    }
-
-    private void validateDoc(org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument doc)
-    {
-        List errors = new ArrayList();
-        if (!doc.validate(new XmlOptions().setErrorListener(errors)))
-            throw new IllegalStateException(errors.size() > 0 ? errors.get(0).toString() : "Invalid binding-config document");
-    }
-
-
-    public void addBindingType(BindingType bType,
-                               boolean fromJavaDefault,
-                               boolean fromXmlDefault)
-    {
-        addBindingType(bType);
-        if (fromXmlDefault) {
-            if (bType.getName().getJavaName().isXmlObject())
-                addXmlObjectFor(bType.getName().getXmlName(), bType.getName());
-            else
-                addPojoFor(bType.getName().getXmlName(), bType.getName());
-        }
-        if (fromJavaDefault) {
-            if (bType.getName().getXmlName().getComponentType() == XmlTypeName.ELEMENT)
-                addElementFor(bType.getName().getJavaName(), bType.getName());
-            else
-                addTypeFor(bType.getName().getJavaName(), bType.getName());
-        }
-    }
-
-    // ========================================================================
-    // Private methods
-
-    /**
-     * This function copies an instance into an empty doc.
-     */
-    private void write(org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument doc)
-    {
-        if (doc.getBindingConfig() != null)
-            throw new IllegalArgumentException("Can only write into empty doc");
-        org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument.BindingConfig
-            bcNode = doc.addNewBindingConfig();
-
-        // make tables
-        org.apache.xml.xmlbeans.bindingConfig.BindingTable btabNode = bcNode.addNewBindings();
-        org.apache.xml.xmlbeans.bindingConfig.MappingTable typetabNode = bcNode.addNewJavaToXml();
-        org.apache.xml.xmlbeans.bindingConfig.MappingTable elementtabNode = bcNode.addNewJavaToElement();
-        org.apache.xml.xmlbeans.bindingConfig.MappingTable pojotabNode = bcNode.addNewXmlToPojo();
-        org.apache.xml.xmlbeans.bindingConfig.MappingTable xotabNode = bcNode.addNewXmlToXmlobj();
-
-        // fill em in: binding types (delegate to BindingType.write)
-        for (Iterator i = bindingTypes().iterator(); i.hasNext();) {
-            BindingType bType = (BindingType)i.next();
-            org.apache.xml.xmlbeans.bindingConfig.BindingType btNode = btabNode.addNewBindingType();
-            bType.write(btNode);
-        }
-        // from-java mappings
-        for (Iterator i = typeMappedJavaTypes().iterator(); i.hasNext();) {
-            JavaTypeName jName = (JavaTypeName)i.next();
-            BindingTypeName pair = lookupTypeFor(jName);
-            org.apache.xml.xmlbeans.bindingConfig.Mapping mNode = typetabNode.addNewMapping();
-            mNode.setJavatype(jName.toString());
-            mNode.setXmlcomponent(pair.getXmlName().toString());
-        }
-        // from-java mappings
-        for (Iterator i = elementMappedJavaTypes().iterator(); i.hasNext();) {
-            JavaTypeName jName = (JavaTypeName)i.next();
-            BindingTypeName pair = lookupElementFor(jName);
-            org.apache.xml.xmlbeans.bindingConfig.Mapping mNode = elementtabNode.addNewMapping();
-            mNode.setJavatype(jName.toString());
-            mNode.setXmlcomponent(pair.getXmlName().toString());
-        }
-        // to-pojo
-        for (Iterator i = pojoMappedXmlTypes().iterator(); i.hasNext();) {
-            XmlTypeName xName = (XmlTypeName)i.next();
-            BindingTypeName pair = lookupPojoFor(xName);
-            org.apache.xml.xmlbeans.bindingConfig.Mapping mNode = pojotabNode.addNewMapping();
-            mNode.setJavatype(pair.getJavaName().toString());
-            mNode.setXmlcomponent(xName.toString());
-        }
-        // to-xmlobj
-        for (Iterator i = xmlObjectMappedXmlTypes().iterator(); i.hasNext();) {
-            XmlTypeName xName = (XmlTypeName)i.next();
-            BindingTypeName pair = lookupXmlObjectFor(xName);
-            org.apache.xml.xmlbeans.bindingConfig.Mapping mNode = xotabNode.addNewMapping();
-            mNode.setJavatype(pair.getJavaName().toString());
-            mNode.setXmlcomponent(xName.toString());
-        }
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingLoader.java
deleted file mode 100644
index e64d633..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingLoader.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-
-/**
- * Represents a resource capable of providing BindingTypes, based on
- * XML and Java component names.  Implementations of this interface
- * may load from files, classpaths, etc.
- */
-public interface BindingLoader {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns the BindingType having the given name.
-   */
-  public BindingType getBindingType(BindingTypeName btName);
-
-  /**
-   * Returns the default binding from the given xml type to a POJO (plain-old
-   * java object)
-   */
-  public BindingTypeName lookupPojoFor(XmlTypeName xName);
-
-  /**
-   * Returns the default binding from the given xml type to a java class
-   * which extends XmlObject.
-   */
-  public BindingTypeName lookupXmlObjectFor(XmlTypeName xName);
-
-  /**
-   * Returns the default binding from the given java type to some xml type.
-   */
-  public BindingTypeName lookupTypeFor(JavaTypeName jName);
-
-  /**
-   * Returns the default binding from the given java type to some xml element.
-   */
-  public BindingTypeName lookupElementFor(JavaTypeName jName);
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingProperty.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingProperty.java
deleted file mode 100644
index 50e36de..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingProperty.java
+++ /dev/null
@@ -1,251 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.SchemaType;
-
-/**
- * Represents a property.  Every property corresponds to a
- * Java getter/setter or a field.  On the XML side, there
- * are different forms of properties, some which bind based
- * on sequencing, and others which bind based on name.
- */
-public abstract class BindingProperty
-{
-
-    // ========================================================================
-    // Variables
-
-    private BindingTypeName btName;
-    private MethodName getter;
-    private MethodName setter;
-    private MethodName issetter;
-    private String field;
-    private JavaTypeName collection;
-    protected JavaInstanceFactory javaInstanceFactory;
-
-    // ========================================================================
-    // Constructors
-
-    /**
-     * This kind of constructor is used when making a new one out of the blue.
-     *
-     * Subclasses should call super(..) when defining constructors that init new BindingTypes.
-     */
-    protected BindingProperty()
-    {
-    }
-
-    /**
-     * This constructor loads an instance from an XML file
-     *
-     * Subclasses should have ctors of the same signature and call super(..) first.
-     */
-    protected BindingProperty(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-    {
-        this.btName = BindingTypeName.forPair(
-            JavaTypeName.forString(node.getJavatype()),
-            XmlTypeName.forString(node.getXmlcomponent()));
-        this.getter = MethodName.create(node.getGetter());
-        this.setter = MethodName.create(node.getSetter());
-        this.issetter = MethodName.create(node.getIssetter());
-        this.field = node.getField();
-        String collection = node.getCollection();
-        if (collection != null)
-            this.collection = JavaTypeName.forString(collection);
-
-        final org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory factory =
-            node.getFactory();
-        if (factory != null) {
-            javaInstanceFactory = JavaInstanceFactory.forNode(factory);
-        }
-
-    }
-
-    // ========================================================================
-    // Protected methods
-
-    /**
-     * This function copies an instance back out to the relevant part of the XML file.
-     *
-     * Subclasses should override and call super.write first.
-     */
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingProperty write(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-    {
-        node = (org.apache.xml.xmlbeans.bindingConfig.BindingProperty)node.changeType(kinds.typeForClass(this.getClass()));
-
-        node.setJavatype(btName.getJavaName().toString());
-        node.setXmlcomponent(btName.getXmlName().toString());
-        if (getFieldName() != null)
-            node.setField(getFieldName());
-        if (getGetterName() != null) {
-            getGetterName().write(node.addNewGetter());
-        }
-        if (getSetterName() != null) {
-            getSetterName().write(node.addNewSetter());
-        }
-        if (getIssetterName() != null) {
-            getIssetterName().write(node.addNewIssetter());
-        }
-        if (getCollectionClass() != null)
-            node.setCollection(getCollectionClass().toString());
-
-        if (javaInstanceFactory != null) {
-            org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory jif_node =
-                node.addNewFactory();
-            javaInstanceFactory.write(jif_node);
-        }
-
-        return node;
-    }
-
-    // ========================================================================
-    // Public methods
-
-    public boolean isField()
-    {
-        return field != null;
-    }
-
-    public BindingTypeName getTypeName()
-    {
-        return btName;
-    }
-
-    public void setBindingType(BindingType bType)
-    {
-        btName = bType.getName();
-    }
-
-    public MethodName getGetterName()
-    {
-        return isField() ? null : getter;
-    }
-
-    public void setGetterName(MethodName mn)
-    {
-        getter = mn;
-    }
-
-    public boolean hasSetter()
-    {
-        return !isField() && setter != null;
-    }
-
-    public MethodName getSetterName()
-    {
-        return isField() ? null : setter;
-    }
-
-    public void setSetterName(MethodName mn)
-    {
-        setter = mn;
-    }
-
-    public boolean hasIssetter()
-    {
-        return !isField() && issetter != null;
-    }
-
-    public MethodName getIssetterName()
-    {
-        return isField() ? null : issetter;
-    }
-
-    public void setIssetterName(MethodName mn)
-    {
-        issetter = mn;
-    }
-
-    public String getFieldName()
-    {
-        return field;
-    }
-
-    public void setFieldName(String field)
-    {
-        this.field = field;
-    }
-
-    public JavaTypeName getCollectionClass()
-    {
-        return collection;
-    }
-
-    public void setCollectionClass(JavaTypeName jName)
-    {
-        collection = jName;
-    }
-
-    // ========================================================================
-    // Static initialization
-
-    /* REGISTRY OF SUBCLASSES */
-
-    private static final Class[] ctorArgs = new Class[]{org.apache.xml.xmlbeans.bindingConfig.BindingProperty.class};
-
-    public static BindingProperty forNode(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-    {
-        try {
-            Class clazz = kinds.classForType(node.schemaType());
-            return (BindingProperty)clazz.getConstructor(ctorArgs).newInstance(new Object[]{node});
-        }
-        catch (Exception e) {
-            throw (IllegalStateException)new IllegalStateException("Cannot load class for " + node.schemaType() + ": should be registered.").initCause(e);
-        }
-    }
-
-
-    /**
-     * Should only be called by BindingFile, when loading up bindingtypes
-     */
-    static KindRegistry kinds = new KindRegistry();
-
-    public static void registerClassAndType(Class clazz, SchemaType type)
-    {
-        if (!BindingProperty.class.isAssignableFrom(clazz))
-            throw new IllegalArgumentException("Classes must inherit from BindingProperty");
-        if (!org.apache.xml.xmlbeans.bindingConfig.BindingProperty.type.isAssignableFrom(type))
-            throw new IllegalArgumentException("Schema types must inherit from binding-property");
-        kinds.registerClassAndType(clazz, type);
-    }
-
-    static
-    {
-        registerClassAndType(QNameProperty.class, org.apache.xml.xmlbeans.bindingConfig.QnameProperty.type);
-        registerClassAndType(SimpleContentProperty.class, org.apache.xml.xmlbeans.bindingConfig.SimpleContentProperty.type);
-        registerClassAndType(ParticleProperty.class, org.apache.xml.xmlbeans.bindingConfig.ParticleProperty.type);
-        registerClassAndType(GenericXmlProperty.class, org.apache.xml.xmlbeans.bindingConfig.GenericXmlProperty.type);
-    }
-
-    public String toString()
-    {
-        return getClass().getName() +
-            " [" +
-            (isField() ? getFieldName() : getGetterName().getSimpleName()) +
-            "]";
-    }
-
-    public JavaInstanceFactory getJavaInstanceFactory()
-    {
-        return javaInstanceFactory;
-    }
-
-    public void setJavaInstanceFactory(JavaInstanceFactory javaInstanceFactory)
-    {
-        this.javaInstanceFactory = javaInstanceFactory;
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingType.java
deleted file mode 100644
index 381b49b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingType.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlException;
-
-/**
- * Represents a Java+XML component and a rule for getting between
- * them.
- */
-public abstract class BindingType {
-
-  // ========================================================================
-  // Variables
-
-  private final BindingTypeName btName;
-
-  // ========================================================================
-  // Constructors
-
-  /**
-   * This kind of constructor is used when making a new one out of the blue.
-   *
-   * Subclasses should call super(..) when defining constructors that init new BindingTypes.
-   */
-  protected BindingType(BindingTypeName btName) {
-    this.btName = btName;
-  }
-
-  /**
-   * This constructor loads an instance from an XML file
-   *
-   * Subclasses should have ctors of the same signature and call super(..) first.
-   */
-  protected BindingType(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    this.btName = BindingTypeName.forPair(
-            JavaTypeName.forString(node.getJavatype()),
-            XmlTypeName.forString(node.getXmlcomponent()));
-  }
-
-
-  // ========================================================================
-  // Protected methods
-
-  /**
-   * This function copies an instance back out to the relevant part of the XML file.
-   *
-   * Subclasses should override and call super.write first.
-   */
-  protected org.apache.xml.xmlbeans.bindingConfig.BindingType write
-          (org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-  {
-    node = (org.apache.xml.xmlbeans.bindingConfig.BindingType) node.changeType(kinds.typeForClass(this.getClass()));
-    node.setJavatype(btName.getJavaName().toString());
-    node.setXmlcomponent(btName.getXmlName().toString());
-    return node;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public final BindingTypeName getName() {
-    return btName;
-  }
-
-  public abstract void accept(BindingTypeVisitor visitor)
-    throws XmlException;
-
-  // ========================================================================
-  // Static initialization
-
-  /* REGISTRY OF SUBCLASSES */
-
-  private static final Class[] ctorArgs = new Class[]{org.apache.xml.xmlbeans.bindingConfig.BindingType.class};
-
-  public static BindingType loadFromBindingTypeNode(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    try {
-      Class clazz = kinds.classForType(node.schemaType());
-      return (BindingType) clazz.getConstructor(ctorArgs).newInstance(new Object[]{node});
-    } catch (Exception e) {
-      throw (IllegalStateException) new IllegalStateException("Cannot load class for " + node.schemaType() + ": should be registered.").initCause(e);
-    }
-  }
-
-  /**
-   * Should only be called by BindingFile, when loading up bindingtypes
-   */
-  static KindRegistry kinds = new KindRegistry();
-
-  public static void registerClassAndType(Class clazz, SchemaType type) {
-    if (!BindingType.class.isAssignableFrom(clazz))
-      throw new IllegalArgumentException("Classes must inherit from BindingType");
-    if (!org.apache.xml.xmlbeans.bindingConfig.BindingType.type.isAssignableFrom(type))
-      throw new IllegalArgumentException("Schema types must inherit from binding-type");
-    kinds.registerClassAndType(clazz, type);
-  }
-
-  static {
-    registerClassAndType(JaxbBean.class, org.apache.xml.xmlbeans.bindingConfig.JaxbBean.type);
-    registerClassAndType(ByNameBean.class, org.apache.xml.xmlbeans.bindingConfig.ByNameBean.type);
-    registerClassAndType(SimpleContentBean.class, org.apache.xml.xmlbeans.bindingConfig.SimpleContentBean.type);
-    registerClassAndType(WrappedArrayType.class, org.apache.xml.xmlbeans.bindingConfig.WrappedArray.type);
-    registerClassAndType(SoapArrayType.class, org.apache.xml.xmlbeans.bindingConfig.SoapArray.type);
-    registerClassAndType(ListArrayType.class, org.apache.xml.xmlbeans.bindingConfig.ListArray.type);
-    registerClassAndType(SimpleBindingType.class, org.apache.xml.xmlbeans.bindingConfig.SimpleType.type);
-    registerClassAndType(JaxrpcEnumType.class, org.apache.xml.xmlbeans.bindingConfig.JaxrpcEnumType.type);
-    registerClassAndType(SimpleDocumentBinding.class, org.apache.xml.xmlbeans.bindingConfig.SimpleDocumentBinding.type);
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  public String toString() {
-    return getClass().getName() + "[" + btName.getJavaName() + "; " + btName.getXmlName() + "]";
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeName.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeName.java
deleted file mode 100644
index 1bda78f..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeName.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.jam.JClass;
-
-public final class BindingTypeName {
-
-  // ========================================================================
-  // Variables
-
-  private final JavaTypeName jName;
-  private final XmlTypeName xName;
-
-  // ========================================================================
-  // Factories
-
-  public static BindingTypeName forPair(JavaTypeName jName, XmlTypeName xName) {
-    return new BindingTypeName(jName, xName);
-  }
-
-  public static BindingTypeName forTypes(JClass jClass, SchemaType sType) {
-    return forPair(JavaTypeName.forJClass(jClass), XmlTypeName.forSchemaType(sType));
-  }
-
-  // ========================================================================
-  // Constructors
-
-  private BindingTypeName(JavaTypeName jName, XmlTypeName xName) {
-    if (jName == null) throw new IllegalArgumentException("null jName");
-    if (xName == null) throw new IllegalArgumentException("null xName");
-    this.jName = jName;
-    this.xName = xName;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public JavaTypeName getJavaName() {
-    return jName;
-  }
-
-  public XmlTypeName getXmlName() {
-    return xName;
-  }
-
-  public boolean equals(Object o) {
-    if (this == o) return true;
-    if (!(o instanceof BindingTypeName)) return false;
-
-    final BindingTypeName bindingTypeName = (BindingTypeName) o;
-
-    if (!jName.equals(bindingTypeName.jName)) return false;
-    if (!xName.equals(bindingTypeName.xName)) return false;
-
-    return true;
-  }
-
-  public int hashCode() {
-    int result;
-    result = jName.hashCode();
-    result = 29 * result + xName.hashCode();
-    return result;
-  }
-
-  public String toString() {
-    return "BindingTypeName[" + jName + ";" + xName + "]";
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeVisitor.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeVisitor.java
deleted file mode 100644
index 083d9bd..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BindingTypeVisitor.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-public interface BindingTypeVisitor
-{
-    void visit(BuiltinBindingType builtinBindingType)
-        throws XmlException;
-
-    void visit(ByNameBean byNameBean)
-        throws XmlException;
-
-    void visit(SimpleContentBean simpleContentBean)
-        throws XmlException;
-
-    void visit(SimpleBindingType simpleBindingType)
-        throws XmlException;
-
-    void visit(JaxrpcEnumType jaxrpcEnumType)
-        throws XmlException;
-
-    void visit(SimpleDocumentBinding simpleDocumentBinding)
-        throws XmlException;
-
-    void visit(WrappedArrayType wrappedArrayType)
-        throws XmlException;
-
-    void visit(SoapArrayType soapArrayType)
-        throws XmlException;
-
-    void visit(ListArrayType wrappedArrayType)
-        throws XmlException;
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingLoader.java
deleted file mode 100644
index 0d89739..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingLoader.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents builtin bindings.
- */
-public abstract class BuiltinBindingLoader extends BaseBindingLoader
-{
-
-    // ========================================================================
-    // Constants
-
-    private static final String XSNS = "http://www.w3.org/2001/XMLSchema";
-    private static final String SOAPENC = "http://schemas.xmlsoap.org/soap/encoding/";
-
-    // ========================================================================
-    // Static methods
-
-    public static BindingLoader getInstance()
-    {
-        return getBuiltinBindingLoader(false);
-    }
-
-    public static BindingLoader getBuiltinBindingLoader(boolean jaxRpc)
-    {
-        if (jaxRpc)
-            return JaxRpcBuiltinBindingLoader.getInstance();
-        else
-            return DefaultBuiltinBindingLoader.getInstance();
-    }
-
-    // ========================================================================
-    // Private methods
-    private void addMapping(String xmlType,
-                            String javaName,
-                            boolean fromJavaDefault,
-                            boolean fromXmlDefault)
-    {
-        final QName xml_name = new QName(XSNS, xmlType);
-        addMapping(xml_name, javaName, fromJavaDefault, fromXmlDefault);
-    }
-
-    private void addSoapMapping(String xmlType,
-                                String javaName,
-                                boolean fromJavaDefault,
-                                boolean fromXmlDefault)
-    {
-        final QName xml_name = new QName(SOAPENC, xmlType);
-        addMapping(xml_name, javaName, fromJavaDefault, fromXmlDefault);
-    }
-
-    private void addMapping(QName xml_name,
-                            String javaName,
-                            boolean fromJavaDefault,
-                            boolean fromXmlDefault)
-    {
-        XmlTypeName xn = XmlTypeName.forTypeNamed(xml_name);
-        JavaTypeName jn = JavaTypeName.forString(javaName);
-        BindingTypeName btName = BindingTypeName.forPair(jn, xn);
-        BindingType bType = new BuiltinBindingType(btName);
-
-        addBindingType(bType);
-        if (fromJavaDefault) {
-            if (bType.getName().getXmlName().getComponentType() == XmlTypeName.ELEMENT)
-                addElementFor(bType.getName().getJavaName(), bType.getName());
-            else
-                addTypeFor(bType.getName().getJavaName(), bType.getName());
-        }
-        if (fromXmlDefault) {
-            if (bType.getName().getJavaName().isXmlObject())
-                addXmlObjectFor(bType.getName().getXmlName(), bType.getName());
-            else
-                addPojoFor(bType.getName().getXmlName(), bType.getName());
-        }
-    }
-
-    protected void addPojoTwoWay(String xmlType, String javaName)
-    {
-        addMapping(xmlType, javaName, true, true);
-    }
-
-    protected void addPojoXml(String xmlType, String javaName)
-    {
-        addMapping(xmlType, javaName, false, true);
-    }
-
-    protected void addPojoJava(String xmlType, String javaName)
-    {
-        addMapping(xmlType, javaName, true, false);
-    }
-
-    protected void addPojo(String xmlType, String javaName)
-    {
-        addMapping(xmlType, javaName, false, false);
-    }
-
-
-    protected void addSoapPojoXml(String xmlType, String javaName)
-    {
-        addSoapMapping(xmlType, javaName, false, true);
-    }
-
-    protected void addSoapPojo(String xmlType, String javaName)
-    {
-        addSoapMapping(xmlType, javaName, false, false);
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingType.java
deleted file mode 100644
index e786cdb..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/BuiltinBindingType.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.XmlException;
-
-/**
- * A "builtin" binding type is one that doesn't explicitly specify
- * how the conversion works because it is assumed that the runtime
- * has builtin knowledge of how to make it happen.  Instances should
- * only be created by BuiltinBindingLoader.
- */
-public class BuiltinBindingType extends BindingType {
-
-  // ========================================================================
-  // Constructors
-
-  // note: only this one constructor; builtin binding types can't be loaded
-  public BuiltinBindingType(BindingTypeName btName) {
-    super(btName);
-  }
-
-    public void accept(BindingTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ByNameBean.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ByNameBean.java
deleted file mode 100644
index 1d66b4d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ByNameBean.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-import java.util.Map;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Collections;
-import java.util.Collection;
-
-/**
- * A by-name binding is one that connects XML and Java based on the
- * QNames of XML elements and attributes, rather than by sequencing
- * or particle trees.
- */
-public class ByNameBean extends BindingType {
-
-  // ========================================================================
-  // Variables
-
-  private List props = new ArrayList(); // of QNameProperties
-  private Map eltProps = new HashMap(); // QName -> prop (elts)
-  private Map attProps = new HashMap(); // QName -> prop (attrs)
-  private GenericXmlProperty anyElement;
-  private GenericXmlProperty anyAttribute;
-
-  // ========================================================================
-  // Constructors
-
-  public ByNameBean(BindingTypeName btName) {
-    super(btName);
-  }
-
-  public ByNameBean(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    super(node);
-
-    org.apache.xml.xmlbeans.bindingConfig.ByNameBean bnNode =
-            (org.apache.xml.xmlbeans.bindingConfig.ByNameBean) node; 
-
-    org.apache.xml.xmlbeans.bindingConfig.GenericXmlProperty gxp =
-            bnNode.getAnyProperty();
-    if (gxp != null)
-      setAnyElementProperty((GenericXmlProperty) BindingProperty.forNode(gxp));
-
-    gxp = bnNode.getAnyAttributeProperty();
-    if (gxp != null)
-      setAnyAttributeProperty((GenericXmlProperty) BindingProperty.forNode(gxp));
-
-    org.apache.xml.xmlbeans.bindingConfig.QnameProperty[] propArray =
-            bnNode.getQnamePropertyArray();
-
-    for (int i = 0; i < propArray.length; i++) {
-      addProperty((QNameProperty) BindingProperty.forNode(propArray[i]));
-    }
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public GenericXmlProperty getAnyElementProperty() {
-    return anyElement;
-  }
-
-  public void setAnyElementProperty(GenericXmlProperty prop) {
-    anyElement = prop;
-  }
-
-  public GenericXmlProperty getAnyAttributeProperty() {
-    return anyAttribute;
-  }
-
-  public void setAnyAttributeProperty(GenericXmlProperty prop) {
-    anyAttribute = prop;
-  }
-    
-  /**
-   * Returns an unmodifiable collection of QNameProperty objects.
-   */
-  public Collection getProperties() {
-    return Collections.unmodifiableCollection(props);
-  }
-
-  /**
-   * Looks up a property by attribute name, null if no match.
-   */
-  public QNameProperty getPropertyForAttribute(QName name) {
-    return (QNameProperty) attProps.get(name);
-  }
-
-  /**
-   * Looks up a property by element name, null if no match.
-   */
-  public QNameProperty getPropertyForElement(QName name) {
-    return (QNameProperty) eltProps.get(name);
-  }
-
-  /**
-   * Adds a new property
-   */
-  public void addProperty(QNameProperty newProp) {
-    if (hasProperty(newProp))
-      throw new IllegalArgumentException("duplicate property: " + newProp.getQName() + " in type " + this);
-
-    props.add(newProp);
-    if (newProp.isAttribute())
-      attProps.put(newProp.getQName(), newProp);
-    else
-      eltProps.put(newProp.getQName(), newProp);
-  }
-
-    public boolean hasProperty(QNameProperty newProp)
-    {
-        final QName prop_qname = newProp.getQName();
-        return newProp.isAttribute() ? attProps.containsKey(prop_qname) :
-            eltProps.containsKey(prop_qname);
-    }
-
-    // ========================================================================
-  // BindingType implementation
-
-  /**
-   * This function copies an instance back out to the relevant part of the XML file.
-   *
-   * Subclasses should override and call super.write first.
-   */
-  protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    org.apache.xml.xmlbeans.bindingConfig.ByNameBean bnNode =
-            (org.apache.xml.xmlbeans.bindingConfig.ByNameBean) super.write(node);
-
-    if (anyElement != null)
-      anyElement.write(bnNode.addNewAnyProperty());
-    if (anyAttribute != null)
-      anyAttribute.write(bnNode.addNewAnyAttributeProperty());
-    for (Iterator i = props.iterator(); i.hasNext();) {
-      QNameProperty qProp = (QNameProperty) i.next();
-      org.apache.xml.xmlbeans.bindingConfig.QnameProperty qpNode = bnNode.addNewQnameProperty();
-      qProp.write(qpNode);
-    }
-    return bnNode;
-  }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/CompositeBindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/CompositeBindingLoader.java
deleted file mode 100644
index bc6c924..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/CompositeBindingLoader.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-import java.util.IdentityHashMap;
-import java.util.Collections;
-import java.util.Collection;
-import java.util.Arrays;
-
-/**
- * A binding loader which delegates to a list of other loaders when
- * loading binding types.
- */
-public class CompositeBindingLoader implements BindingLoader {
-
-  // ========================================================================
-  // Constants
-
-  //FIXME this is inefficient - if we really want to optimize this, let's
-  //just have a separate EmptyBindingLoader class
-  private static final CompositeBindingLoader EMPTY_LOADER =
-          new CompositeBindingLoader(Collections.EMPTY_LIST);
-
-  // ========================================================================
-  // Variables
-
-  private final Collection loaderPath;
-
-  // ========================================================================
-  // Factory methods
-
-
-  public static BindingLoader forPath(BindingLoader[] path) {
-    if (path == null) throw new IllegalArgumentException("null path");
-    return forPath(Arrays.asList(path));
-  }
-
-  public static BindingLoader forPath(Collection path) {
-    if (path == null) throw new IllegalArgumentException("null path");
-    IdentityHashMap seen = new IdentityHashMap();
-    List flattened = new ArrayList(path.size());
-    for (Iterator i = path.iterator(); i.hasNext();) {
-      addToPath(flattened, seen, (BindingLoader) i.next());
-    }
-    if (flattened.size() == 0) return EMPTY_LOADER;
-    if (flattened.size() == 1) return (BindingLoader) flattened.get(0);
-    return new CompositeBindingLoader(flattened);
-  }
-
-
-  // ========================================================================
-  // BindingLoader implementation
-
-  public BindingType getBindingType(BindingTypeName btName) {
-    if (btName == null) throw new IllegalArgumentException("null btName");
-    BindingType result = null;
-    for (Iterator i = loaderPath.iterator(); i.hasNext();) {
-      result = ((BindingLoader) i.next()).getBindingType(btName);
-      if (result != null)
-        return result;
-    }
-    return null;
-  }
-
-  public BindingTypeName lookupPojoFor(XmlTypeName xName) {
-    if (xName == null) throw new IllegalArgumentException("null xName");
-    BindingTypeName result = null;
-    for (Iterator i = loaderPath.iterator(); i.hasNext();) {
-      result = ((BindingLoader) i.next()).lookupPojoFor(xName);
-      if (result != null)
-        return result;
-    }
-    return null;
-  }
-
-  public BindingTypeName lookupXmlObjectFor(XmlTypeName xName) {
-    if (xName == null) throw new IllegalArgumentException("null xName");
-    BindingTypeName result = null;
-    for (Iterator i = loaderPath.iterator(); i.hasNext();) {
-      result = ((BindingLoader) i.next()).lookupXmlObjectFor(xName);
-      if (result != null)
-        return result;
-    }
-    return null;
-  }
-
-  public BindingTypeName lookupTypeFor(JavaTypeName jName) {
-    if (jName == null) throw new IllegalArgumentException("null jName");
-    BindingTypeName result = null;
-    for (Iterator i = loaderPath.iterator(); i.hasNext();) {
-      result = ((BindingLoader) i.next()).lookupTypeFor(jName);
-      if (result != null)
-        return result;
-    }
-    return null;
-  }
-
-  public BindingTypeName lookupElementFor(JavaTypeName jName) {
-    if (jName == null) throw new IllegalArgumentException("null jName");
-    BindingTypeName result = null;
-    for (Iterator i = loaderPath.iterator(); i.hasNext();) {
-      result = ((BindingLoader) i.next()).lookupElementFor(jName);
-      if (result != null)
-        return result;
-    }
-    return null;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private static void addToPath(List path,
-                                IdentityHashMap seen,
-                                BindingLoader loader) {
-    if (seen.containsKey(loader)) return;
-
-    if (loader instanceof CompositeBindingLoader) {
-      for (Iterator j = ((CompositeBindingLoader) loader).loaderPath.iterator(); j.hasNext();) {
-        addToPath(path, seen, (BindingLoader) j.next());
-      }
-    } else {
-      path.add(loader);
-    }
-  }
-
-  private CompositeBindingLoader(List path) {
-    if (path == null) throw new IllegalArgumentException("null path");
-    loaderPath = Collections.unmodifiableList(path);
-  }
-
-
-  // ========================================================================
-  // Dead code
-
-  /*
-  private static final String STANDARD_PATH =
-    "org/apache/xmlbeans/binding-config.xml";
-
-  public static BindingLoader forClassLoader(ClassLoader loader) {
-    Enumeration i;
-    try {
-      i = loader.getResources(STANDARD_PATH);
-    } catch (IOException e) {
-      throw (IllegalStateException) (new IllegalStateException().initCause(e));
-    }
-    URL resource = null;
-    List files = new ArrayList();
-    try {
-      while (i.hasMoreElements()) {
-        resource = (URL) i.nextElement();
-        files.add(BindingFile.forDoc(BindingConfigDocument.Factory.parse(resource)));
-      }
-    } catch (Exception e) {
-      throw (IllegalStateException) (new IllegalStateException("Problem resolving " + resource).initCause(e));
-    }
-    return forPath(files);
-  }
-
-
-  public static BindingLoader forClasspath(File[] jarsOrDirs) {
-    List files = new ArrayList();
-    try {
-      for (int i = 0; i < jarsOrDirs.length; i++) {
-        if (!jarsOrDirs[i].exists())
-          continue; // skip parts of the claspath which do not exist
-        FileResourceLoader rl = new FileResourceLoader(jarsOrDirs[i]);
-        InputStream resource = rl.getResourceAsStream(STANDARD_PATH);
-        files.add(BindingFile.forDoc(BindingConfigDocument.Factory.parse(resource)));
-      }
-    } catch (Exception e) {
-      throw (IllegalStateException) (new IllegalStateException("Problem resolving files").initCause(e));
-    }
-    return forPath(files);
-  }
-  */
-
-}
-
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/DefaultBuiltinBindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/DefaultBuiltinBindingLoader.java
deleted file mode 100644
index d8985b9..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/DefaultBuiltinBindingLoader.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-
-/**
- * Represents builtin bindings.
- */
-public class DefaultBuiltinBindingLoader extends BuiltinBindingLoader
-{
-
-    // ========================================================================
-    // Constants
-    private static final BuiltinBindingLoader INSTANCE = new DefaultBuiltinBindingLoader();
-
-    // ========================================================================
-    // Factory
-
-    public static BindingLoader getInstance()
-    {
-        return INSTANCE;
-    }
-
-    // ========================================================================
-    // Private methods
-
-    private DefaultBuiltinBindingLoader()
-    {
-        // todo: should each builtin binding type know about it's print/parse methods?
-
-        addPojoXml("anySimpleType", "java.lang.String");
-
-        addPojoTwoWay("anyType", "java.lang.Object");
-
-        addPojoTwoWay("string", "java.lang.String");
-        addPojoXml("normalizedString", "java.lang.String");
-        addPojoXml("token", "java.lang.String");
-        addPojoXml("language", "java.lang.String");
-        addPojoXml("Name", "java.lang.String");
-        addPojoXml("NCName", "java.lang.String");
-        addPojoXml("NMTOKEN", "java.lang.String");
-        addPojoXml("NMTOKENS", "java.lang.String[]");
-        addPojoXml("ID", "java.lang.String");
-        addPojoXml("IDREF", "java.lang.String");
-        addPojoXml("IDREFS", "java.lang.String[]");
-        addPojoXml("ENTITY", "java.lang.String");
-        addPojoXml("ENTITIES", "java.lang.String[]");
-
-        addPojoTwoWay("duration", "org.apache.xmlbeans.GDuration");
-        addPojo("duration", "java.lang.String");
-
-        addPojoTwoWay("dateTime", "java.util.Calendar");
-        addPojoJava("dateTime", "java.util.Date");
-        addPojoXml("time", "java.util.Calendar");
-        addPojoXml("date", "java.util.Calendar");
-        addPojo("date", "java.util.Date");
-        addPojoXml("gYearMonth", "java.util.Calendar");
-        addPojo("gYearMonth", "java.lang.String");
-        addPojoXml("gYear", "java.util.Calendar");
-        addPojo("gYear", "int");
-        addPojo("gYear", "java.lang.String");
-        addPojoXml("gMonthDay", "java.util.Calendar");
-        addPojo("gMonthDay", "java.lang.String");
-        addPojoXml("gMonth", "java.util.Calendar");
-        addPojo("gMonth", "int");
-        addPojo("gMonth", "java.lang.String");
-        addPojoXml("gDay", "java.util.Calendar");
-        addPojo("gDay", "int");
-        addPojo("gDay", "java.lang.String");
-
-        addPojoTwoWay("boolean", "boolean");
-        addPojoTwoWay("base64Binary", "byte[]");
-        addPojoJava("base64Binary", "java.io.InputStream");
-        addPojoXml("hexBinary", "byte[]");
-        addPojo("hexBinary", "java.io.InputStream");
-        addPojoTwoWay("float", "float");
-        addPojoTwoWay("double", "double");
-        addPojoTwoWay("decimal", "java.math.BigDecimal");
-        addPojoTwoWay("integer", "java.math.BigInteger");
-        addPojoTwoWay("long", "long");
-        addPojoTwoWay("int", "int");
-        addPojoTwoWay("short", "short");
-        addPojoTwoWay("byte", "byte");
-        addPojoXml("nonPositiveInteger", "java.math.BigInteger");
-        addPojoXml("negativeInteger", "java.math.BigInteger");
-        addPojoXml("nonNegativeInteger", "java.math.BigInteger");
-        addPojoXml("positiveInteger", "java.math.BigInteger");
-        addPojoXml("unsignedLong", "java.math.BigInteger");
-
-        //some don't like BigInteger...
-        addPojo("integer", "int");
-        addPojo("nonPositiveInteger", "int");
-        addPojo("negativeInteger", "int");
-        addPojo("nonNegativeInteger", "int");
-        addPojo("positiveInteger", "int");
-        addPojo("unsignedLong", "int");
-
-        addPojoXml("unsignedInt", "long");
-        addPojoXml("unsignedShort", "int");
-        addPojoXml("unsignedByte", "short");
-        addPojoXml("anyURI", "java.lang.String");
-        addPojoJava("anyURI", "java.net.URI");
-        addPojoTwoWay("QName", "javax.xml.namespace.QName");
-        addPojoXml("NOTATION", "java.lang.String");
-
-        addPojoJava("float", Float.class.getName());
-        addPojoJava("double", Double.class.getName());
-        addPojoJava("long", Long.class.getName());
-        addPojoJava("int", Integer.class.getName());
-        addPojoJava("short", Short.class.getName());
-        addPojoJava("byte", Byte.class.getName());
-        addPojoJava("boolean", Boolean.class.getName());
-        addPojoJava("unsignedInt", Long.class.getName());
-        addPojoJava("unsignedShort", Integer.class.getName());
-        addPojoJava("unsignedByte", Short.class.getName());
-
-        //TODO: deal with char and java.lang.Character
-
-
-        //=============== SOAPENC types =================
-        //basically a copy of what is above but soap types are never the default
-        //for java->schema, and soap types are never mapped to java primitives
-        //since they are all nillable (per JAX-RPC 1.1), though one could
-        //imagine using isSet methods to allow mapping to primitives.
-
-        addSoapPojoXml("string", "java.lang.String");
-        addSoapPojoXml("normalizedString", "java.lang.String");
-        addSoapPojoXml("token", "java.lang.String");
-        addSoapPojoXml("language", "java.lang.String");
-        addSoapPojoXml("Name", "java.lang.String");
-        addSoapPojoXml("NCName", "java.lang.String");
-        addSoapPojoXml("NMTOKEN", "java.lang.String");
-        addSoapPojoXml("NMTOKENS", "java.lang.String[]");
-        addSoapPojoXml("ID", "java.lang.String");
-        addSoapPojoXml("IDREF", "java.lang.String");
-        addSoapPojoXml("IDREFS", "java.lang.String[]");
-        addSoapPojoXml("ENTITY", "java.lang.String");
-        addSoapPojoXml("ENTITIES", "java.lang.String[]");
-
-        addSoapPojoXml("duration", "org.apache.xmlbeans.GDuration");
-        addSoapPojo("duration", "java.lang.String");
-
-        addSoapPojoXml("dateTime", "java.util.Calendar");
-        addSoapPojo("dateTime", "java.util.Date");
-        addSoapPojoXml("time", "java.util.Calendar");
-        addSoapPojoXml("date", "java.util.Calendar");
-        addSoapPojo("date", "java.util.Date");
-        addSoapPojoXml("gYearMonth", "java.util.Calendar");
-        addSoapPojo("gYearMonth", "java.lang.String");
-        addSoapPojoXml("gYear", "java.util.Calendar");
-        addSoapPojo("gYear", "java.lang.String");
-        addSoapPojoXml("gMonthDay", "java.util.Calendar");
-        addSoapPojo("gMonthDay", "java.lang.String");
-        addSoapPojoXml("gMonth", "java.util.Calendar");
-        addSoapPojo("gMonth", "java.lang.String");
-        addSoapPojoXml("gDay", "java.util.Calendar");
-        addSoapPojo("gDay", "java.lang.String");
-
-        addSoapPojoXml("base64Binary", "byte[]");
-        addSoapPojo("base64Binary", "java.io.InputStream");
-        addSoapPojoXml("hexBinary", "byte[]");
-        addSoapPojo("hexBinary", "java.io.InputStream");
-        addSoapPojoXml("decimal", "java.math.BigDecimal");
-        addSoapPojoXml("integer", "java.math.BigInteger");
-        addSoapPojoXml("nonPositiveInteger", "java.math.BigInteger");
-        addSoapPojoXml("negativeInteger", "java.math.BigInteger");
-        addSoapPojoXml("nonNegativeInteger", "java.math.BigInteger");
-        addSoapPojoXml("positiveInteger", "java.math.BigInteger");
-        addSoapPojoXml("unsignedLong", "java.math.BigInteger");
-
-
-        addSoapPojoXml("unsignedInt", Long.class.getName());
-        addSoapPojoXml("unsignedShort", Integer.class.getName());
-        addSoapPojoXml("unsignedByte", Short.class.getName());
-        addSoapPojoXml("anyURI", "java.lang.String");
-        addSoapPojo("anyURI", "java.net.URI");
-        addSoapPojoXml("QName", "javax.xml.namespace.QName");
-        addSoapPojoXml("NOTATION", "java.lang.String");
-
-        addSoapPojoXml("float", Float.class.getName());
-        addSoapPojoXml("double", Double.class.getName());
-        addSoapPojoXml("long", Long.class.getName());
-        addSoapPojoXml("int", Integer.class.getName());
-        addSoapPojoXml("short", Short.class.getName());
-        addSoapPojoXml("byte", Byte.class.getName());
-        addSoapPojoXml("boolean", Boolean.class.getName());
-        addSoapPojoXml("unsignedInt", Long.class.getName());
-        addSoapPojoXml("unsignedShort", Integer.class.getName());
-        addSoapPojoXml("unsignedByte", Short.class.getName());
-        addSoapPojoXml("Array", "java.lang.Object[]");
-
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/GenericXmlProperty.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/GenericXmlProperty.java
deleted file mode 100644
index 55edad4..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/GenericXmlProperty.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-/**
- * Property used by the <xs:any> mapping
- */
-public class GenericXmlProperty extends BindingProperty {
-
-  // ========================================================================
-  // Constructors
-
-  public GenericXmlProperty() {
-    super();
-  }
-
-  public GenericXmlProperty(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node) {
-    super(node);
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaInstanceFactory.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaInstanceFactory.java
deleted file mode 100644
index 6c5b644..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaInstanceFactory.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.SchemaType;
-
-/**
- Represents a description of a factory that is used to create java objects
- */
-public abstract class JavaInstanceFactory
-{
-
-    // ========================================================================
-    // Variables
-
-    // ========================================================================
-    // Constructors
-
-    /**
-     * This kind of constructor is used when making a new one out of the blue.
-     *
-     * Subclasses should call super(..) when defining constructors that init new JavaInstanceFactory
-     */
-    protected JavaInstanceFactory()
-    {
-    }
-
-    /**
-     * This constructor loads an instance from an XML file
-     *
-     * Subclasses should have ctors of the same signature and call super(..) first.
-     */
-    protected JavaInstanceFactory(org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory node)
-    {
-
-    }
-
-    // ========================================================================
-    // Protected methods
-
-    /**
-     * This function copies an instance back out to the relevant part of the XML file.
-     *
-     * Subclasses should override and call super.write first.
-     */
-    protected org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory write(org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory node)
-    {
-        node = (org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory)node.changeType(kinds.typeForClass(this.getClass()));
-
-        return node;
-    }
-
-    // ========================================================================
-    // Public methods
-
-
-    // ========================================================================
-    // Static initialization
-
-    /* REGISTRY OF SUBCLASSES */
-
-    private static final Class[] ctorArgs =
-        new Class[]{org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory.class};
-
-    public static JavaInstanceFactory forNode(org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory node)
-    {
-        assert node != null;
-        try {
-            Class clazz = kinds.classForType(node.schemaType());
-            return (JavaInstanceFactory)clazz.getConstructor(ctorArgs).newInstance(new Object[]{node});
-        }
-        catch (Exception e) {
-            String msg = "Cannot load class for " + node.schemaType() +
-                ": should be registered.";
-            throw (IllegalStateException)new IllegalStateException(msg).initCause(e);
-        }
-    }
-
-
-    /**
-     * Should only be called by BindingFile, when loading up bindingtypes
-     */
-    static KindRegistry kinds = new KindRegistry();
-
-    public static void registerClassAndType(Class clazz, SchemaType type)
-    {
-        if (!JavaInstanceFactory.class.isAssignableFrom(clazz))
-            throw new IllegalArgumentException("Classes must inherit from JavaInstanceFactory: " + clazz);
-        if (!org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory.type.isAssignableFrom(type))
-            throw new IllegalArgumentException("Schema types must inherit from java-instance-factory");
-        kinds.registerClassAndType(clazz, type);
-    }
-
-    static
-    {
-        registerClassAndType(ParentInstanceFactory.class, org.apache.xml.xmlbeans.bindingConfig.ParentInstanceFactory.type);
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaTypeName.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaTypeName.java
deleted file mode 100644
index daf62ea..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JavaTypeName.java
+++ /dev/null
@@ -1,405 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.internal.elements.PrimitiveClassImpl;
-
-import java.lang.reflect.Array;
-
-/**
- * Represents a Java class name, and provides some utility methods
- * for parsing out bits of the name.
- *
- * Examples:
- *
- * "int[]"
- * "java.lang.String"
- * "com.myco.MyClass$MyInnerClass$InnerInnerClass[][]"
- *
- * The classname is preceded by an "x=" if it is an XmlObject
- * subclass, i.e., if it's an XmlBeans-style class, for example:
- *
- * "x=org.apache.xmlbeans.XmlInt"
- */
-public final class JavaTypeName
-{
-
-    // ========================================================================
-    // Constants
-
-    private static String XMLOBJECT_CLASSNAME = XmlObject.class.getName();
-
-    // ========================================================================
-    // Variables
-
-    private final String className;
-    private final String arrayString;
-    private final boolean isXmlObject;
-
-    // ========================================================================
-    // Factories
-
-    /**
-     * Returns a JavaTypeName object for a fully-qualified class name.
-     * The class-name should be dot-separated for packages and
-     * dollar-separated for inner classes.
-     *
-     * The names "int", "byte" etc are considered special.
-     * Arrays are dealt with as [][][] at the end.
-     *
-     * This is a static function to permit pooling in the future.
-     */
-    public static JavaTypeName forString(String className)
-    {
-        return new JavaTypeName(className);
-    }
-
-
-    /**
-     * Builds a JavaTypeName for the array containing items with
-     * the given JavaTypeName.
-     */
-    public static JavaTypeName forArray(JavaTypeName itemType, int depth)
-    {
-        // efficiency later
-        String arrayBrackets = "";
-        while (depth-- > 0)
-            arrayBrackets += "[]";
-        return forString(itemType.toString() + arrayBrackets);
-    }
-
-    /**
-     * Builds a JavaTypeName for the given JClass.
-     */
-    public static JavaTypeName forJClass(JClass jClass)
-    {
-        if (jClass.isArrayType()) {
-            return forArray(forJClass(jClass.getArrayComponentType()),
-                            jClass.getArrayDimensions());
-        }
-        JClass[] interfaces = jClass.getInterfaces();
-        for (int i = 0; i < interfaces.length; i++) {
-            if (interfaces[i].getQualifiedName().equals(XMLOBJECT_CLASSNAME))
-                return forString("x=" + jClass.getQualifiedName());
-        }
-
-        return forString(jClass.getQualifiedName());
-    }
-
-
-
-
-    // ========================================================================
-    // Constructors
-
-    /**
-     * Do not use this constructor; use forClassName instead.
-     */
-    private JavaTypeName(String className)
-    {
-        if (className == null)
-            throw new IllegalArgumentException();
-
-        if (className.startsWith("x=")) {
-            this.isXmlObject = true;
-            className = className.substring(2);
-        } else {
-            this.isXmlObject = false;
-        }
-
-        int arrayDepth = 0;
-        for (int i = className.length() - 2; i >= 0; i -= 2) {
-            if (className.charAt(i) != '[' || className.charAt(i + 1) != ']')
-                break;
-            arrayDepth += 1;
-        }
-        this.className = className.substring(0, className.length() - 2 * arrayDepth);
-        this.arrayString = className.substring(className.length() - 2 * arrayDepth);
-    }
-
-    private JavaTypeName(String nonArrayClassName,
-                         String arrayString,
-                         boolean isXmlObject)
-    {
-        assert !nonArrayClassName.startsWith("[");
-
-        this.className = nonArrayClassName;
-        this.arrayString = arrayString;
-        this.isXmlObject = isXmlObject;
-    }
-
-
-    // ========================================================================
-    // Public methods
-
-    /**
-     * True for classnames that are XmlObjects.
-     */
-    public boolean isXmlObject()
-    {
-        return isXmlObject;
-    }
-
-    /**
-     * Returns the array depth, 0 for non-arrays, 1 for [], 2 for [][], etc.
-     */
-    public int getArrayDepth()
-    {
-        return arrayString.length() / 2;
-    }
-
-    /**
-     * Returns the array item type (peeling off "n" array indexes)
-     */
-    public JavaTypeName getArrayItemType(int depth)
-    {
-        if (arrayString.length() < depth * 2)
-            return null;
-        return forString(className + arrayString.substring(0, arrayString.length() - 2 * depth));
-    }
-
-    /**
-     * Returns the dot-separated package name.
-     */
-    public String getPackage()
-    {
-        int index = className.lastIndexOf('.');
-        if (index <= 0)
-            return "";
-        return className.substring(0, index);
-    }
-
-    /**
-     * Returns the array string, peeling off the first depth levels
-     */
-    public String getArrayString(int depth)
-    {
-        if (arrayString.length() < depth * 2)
-            return null;
-        return arrayString.substring(2 * depth, arrayString.length());
-    }
-
-    /**
-     * True if this is an inner class name.
-     */
-    public boolean isInnerClass()
-    {
-        return (className.lastIndexOf('$') >= 0);
-    }
-
-    /**
-     * Returns the JavaTypeName of the containing class, or null if this
-     * is not an inner class name.
-     */
-    public JavaTypeName getContainingClass()
-    {
-        int index = className.lastIndexOf('$');
-        if (index < 0)
-            return null;
-        return JavaTypeName.forString(className.substring(0, index));
-    }
-
-    /**
-     * Returns the short class name (i.e., no dots or dollars).
-     */
-    public String getShortClassName()
-    {
-        int index = className.lastIndexOf('$');
-        int index2 = className.lastIndexOf('.');
-        if (index2 > index)
-            index = index2;
-        if (index < 0)
-            return className;
-        return className.substring(index + 1);
-    }
-
-
-    /**
-     * Is this JavaTypeName a name for the given class
-     *
-     * @param c
-     * @return
-     */
-    public boolean isNameForClass(Class c) {
-        //TODO: optimize this method, or better yet avoid using it
-        JavaTypeName cname = forClassName(c.getName());
-        return this.equals(cname);
-    }
-
-    // ========================================================================
-    // Object implementation
-
-    /**
-     * Returns the fully-qualified class name.
-     */
-    public String toString()
-    {
-        if (isXmlObject)
-            return "x=" + className + arrayString;
-        return className + arrayString;
-    }
-
-    public boolean equals(Object o)
-    {
-        if (this == o) return true;
-        if (!(o instanceof JavaTypeName)) return false;
-
-        final JavaTypeName javaName = (JavaTypeName)o;
-
-        if (isXmlObject != javaName.isXmlObject) return false;
-        if (!className.equals(javaName.className)) return false;
-        if (!arrayString.equals(javaName.arrayString)) return false;
-
-        return true;
-    }
-
-    public int hashCode()
-    {
-        return className.hashCode() + arrayString.length() + (isXmlObject ? 1 : 0);
-    }
-
-
-    // ========================================================================
-    // Deprecated methods
-
-    /**
-     * Loads the class represented by this JavaTypeName in the given
-     * ClassLoader.  This is really horrible - the impedance mismatch
-     * in the naming here is very really painful.  Need to do something better.
-     */
-    /**
-     * @deprecated
-     */
-    public Class loadClassIn(ClassLoader loader) throws ClassNotFoundException
-    {
-        int d = getArrayDepth();
-        if (d == 0) {
-            String s = toString();
-            Class out = PrimitiveClassImpl.getPrimitiveClass(s);
-            if (out != null) return out;
-            return loader.loadClass(s);
-        } else {
-            Class clazz = PrimitiveClassImpl.getPrimitiveClass(className);
-            if (clazz == null) clazz = loader.loadClass(className);
-            int[] dimensions = new int[d];
-            return Array.newInstance(clazz, dimensions).getClass();
-
-            /* THIS IS COMMENTED OUT BECAUSE IT IS BROKEN ON THE CURRENT 1.5 BETA
-               SEE SUN BUG 4983838.  IT'S NOT CLEAR WHETHER OR NOT THEY'RE GOING
-               TO FIX IT.  MAYBE THE WORKAROUND IS BETTER ANYWAY, THOUGH :(
-            StringWriter buff = new StringWriter();
-            for(int i=0; i<d; i++) buff.write("[");
-            String s = toString();
-            s = s.substring(0,s.indexOf("["));
-            String fd = PrimitiveJClass.getFieldDescriptor(s);
-            if (fd != null) {
-            buff.write(fd);
-            } else {
-            buff.write("L");
-            buff.write(s);
-            buff.write(";");
-            }
-            return loader.loadClass(buff.toString());
-            */
-        }
-    }
-
-
-    /**
-     * @deprecated
-
-    public static JavaTypeName forJClass(org.apache.xmlbeans.impl.jam_old.JClass jClass)
-    {
-        if (jClass.isArray()) {
-            return forArray(forJClass(jClass.getArrayComponentType()), jClass.getArrayDimensions());
-        }
-
-        org.apache.xmlbeans.impl.jam_old.JClass[] interfaces = jClass.getInterfaces();
-        for (int i = 0; i < interfaces.length; i++) {
-            if (interfaces[i].getQualifiedName().equals(XMLOBJECT_CLASSNAME))
-                return forString("x=" + jClass.getQualifiedName());
-        }
-
-        return forString(jClass.getQualifiedName());
-    }
-     */
-
-    /**
-     * create a JavaTypeName for a String in the form return by
-     * java.lang.Class.getName()
-     *
-     * @param class_name
-     * @return
-     */
-    public static JavaTypeName forClassName(final String class_name)
-    {
-        if ('[' != class_name.charAt(0)) {
-            return new JavaTypeName(class_name, "", false);
-        }
-
-        final int first_bracket = class_name.indexOf('[');
-        final int last_bracket = class_name.lastIndexOf('[');
-        final int semi = class_name.indexOf(';', last_bracket);
-
-        final String compname;
-
-        if (semi == -1) {
-            char array_type = class_name.charAt(1 + last_bracket);
-            compname = getPrimitiveArrayBase(array_type);
-        } else {
-            compname = class_name.substring(last_bracket + 2, semi);
-        }
-        final int dims = (1 + last_bracket - first_bracket);
-
-        assert compname.length() > 0 ;
-
-        StringBuffer array_str = new StringBuffer(2 * dims);
-        for (int i = 0; i < dims; i++) {
-            array_str.append("[]");
-        }
-
-        final JavaTypeName jtn = new JavaTypeName(compname,
-                                                  array_str.toString(),
-                                                  false);
-        return jtn;
-    }
-
-    private static String getPrimitiveArrayBase(char array_type)
-    {
-        switch (array_type) {
-            case 'B':
-                return "byte";
-            case 'C':
-                return "char";
-            case 'D':
-                return "double";
-            case 'F':
-                return "float";
-            case 'I':
-                return "int";
-            case 'J':
-                return "long";
-            case 'S':
-                return "short";
-            case 'Z':
-                return "boolean";
-            default:
-                throw new AssertionError("unknown array type: " + array_type);
-        }
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxRpcBuiltinBindingLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxRpcBuiltinBindingLoader.java
deleted file mode 100644
index d74cb87..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxRpcBuiltinBindingLoader.java
+++ /dev/null
@@ -1,198 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-
-/**
- * Represents builtin bindings in JAX-RPC style
- */
-public class JaxRpcBuiltinBindingLoader extends BuiltinBindingLoader
-{
-
-    // ========================================================================
-    // Constants
-    private static final BuiltinBindingLoader INSTANCE = new JaxRpcBuiltinBindingLoader();
-
-    // ========================================================================
-    // Factory
-
-    public static BindingLoader getInstance()
-    {
-        return INSTANCE;
-    }
-
-    // ========================================================================
-    // Private methods
-
-    private JaxRpcBuiltinBindingLoader()
-    {
-        // todo: should each builtin binding type know about it's print/parse methods?
-
-        addPojoXml("anySimpleType", "java.lang.String");
-
-        addPojoTwoWay("anyType", "java.lang.Object");
-
-        addPojoTwoWay("string", "java.lang.String");
-        addPojoXml("normalizedString", "java.lang.String");
-        addPojoXml("token", "java.lang.String");
-        addPojoXml("language", "java.lang.String");
-        addPojoXml("Name", "java.lang.String");
-        addPojoXml("NCName", "java.lang.String");
-        addPojoXml("NMTOKEN", "java.lang.String");
-        addPojoXml("NMTOKENS", "java.lang.String[]");
-        addPojoXml("ID", "java.lang.String");
-        addPojoXml("IDREF", "java.lang.String");
-        addPojoXml("IDREFS", "java.lang.String[]");
-        addPojoXml("ENTITY", "java.lang.String");
-        addPojoXml("ENTITIES", "java.lang.String[]");
-
-        addPojoXml("duration", "java.lang.String");
-        addPojoJava("duration", "org.apache.xmlbeans.GDuration");
-
-        addPojoTwoWay("dateTime", "java.util.Calendar");
-        addPojoJava("dateTime", "java.util.Date");
-        addPojoXml("time", "java.util.Calendar");
-        addPojoXml("date", "java.util.Calendar");
-        addPojo("date", "java.util.Date");
-        addPojoXml("gYearMonth", "java.lang.String");
-        addPojo("gYearMonth", "java.util.Calendar");
-        addPojoXml("gYear", "java.lang.String");
-        addPojo("gYear", "java.util.Calendar");
-        addPojo("gYear", "int");
-        addPojoXml("gMonthDay", "java.lang.String");
-        addPojo("gMonthDay", "java.util.Calendar");
-        addPojoXml("gMonth", "java.lang.String");
-        addPojo("gMonth", "java.util.Calendar");
-        addPojo("gMonth", "int");
-        addPojoXml("gDay", "java.lang.String");
-        addPojo("gDay", "java.util.Calendar");
-        addPojo("gDay", "int");
-
-        addPojoTwoWay("boolean", "boolean");
-        addPojoTwoWay("base64Binary", "byte[]");
-        addPojoJava("base64Binary", "java.io.InputStream");
-        addPojoXml("hexBinary", "byte[]");
-        addPojo("hexBinary", "java.io.InputStream");
-        addPojoTwoWay("float", "float");
-        addPojoTwoWay("double", "double");
-        addPojoTwoWay("decimal", "java.math.BigDecimal");
-        addPojoTwoWay("integer", "java.math.BigInteger");
-        addPojoTwoWay("long", "long");
-        addPojoTwoWay("int", "int");
-        addPojoTwoWay("short", "short");
-        addPojoTwoWay("byte", "byte");
-        addPojoXml("nonPositiveInteger", "java.math.BigInteger");
-        addPojoXml("negativeInteger", "java.math.BigInteger");
-        addPojoXml("nonNegativeInteger", "java.math.BigInteger");
-        addPojoXml("positiveInteger", "java.math.BigInteger");
-        addPojoXml("unsignedLong", "java.math.BigInteger");
-        addPojoXml("unsignedInt", "long");
-        addPojoXml("unsignedShort", "int");
-        addPojoXml("unsignedByte", "short");
-        addPojo("anyURI", "java.lang.String");
-        addPojoTwoWay("anyURI", "java.net.URI");
-        addPojoTwoWay("QName", "javax.xml.namespace.QName");
-        addPojoXml("NOTATION", "java.lang.String");
-
-        addPojoJava("float", Float.class.getName());
-        addPojoJava("double", Double.class.getName());
-        addPojoJava("long", Long.class.getName());
-        addPojoJava("int", Integer.class.getName());
-        addPojoJava("short", Short.class.getName());
-        addPojoJava("byte", Byte.class.getName());
-        addPojoJava("boolean", Boolean.class.getName());
-        addPojoJava("unsignedInt", Long.class.getName());
-        addPojoJava("unsignedShort", Integer.class.getName());
-        addPojoJava("unsignedByte", Short.class.getName());
-
-        //TODO: deal with char and java.lang.Character
-
-        //=============== SOAPENC types =================
-        //basically a copy of what is above but soap types are never the default
-        //for java->schema, and soap types are never mapped to java primitives
-        //since they are all nillable (per JAX-RPC 1.1), though one could
-        //imagine using isSet methods to allow mapping to primitives.
-
-        addSoapPojoXml("string", "java.lang.String");
-        addSoapPojoXml("normalizedString", "java.lang.String");
-        addSoapPojoXml("token", "java.lang.String");
-        addSoapPojoXml("language", "java.lang.String");
-        addSoapPojoXml("Name", "java.lang.String");
-        addSoapPojoXml("NCName", "java.lang.String");
-        addSoapPojoXml("NMTOKEN", "java.lang.String");
-        addSoapPojoXml("NMTOKENS", "java.lang.String[]");
-        addSoapPojoXml("ID", "java.lang.String");
-        addSoapPojoXml("IDREF", "java.lang.String");
-        addSoapPojoXml("IDREFS", "java.lang.String[]");
-        addSoapPojoXml("ENTITY", "java.lang.String");
-        addSoapPojoXml("ENTITIES", "java.lang.String[]");
-
-        addSoapPojo("anyURI", "java.lang.String");
-        addSoapPojoXml("anyURI", "java.net.URI");
-        addSoapPojoXml("QName", "javax.xml.namespace.QName");
-        addSoapPojoXml("NOTATION", "java.lang.String");
-
-        addSoapPojoXml("duration", "java.lang.String");
-        addSoapPojo("duration", "org.apache.xmlbeans.GDuration");
-
-        addSoapPojoXml("dateTime", "java.util.Calendar");
-        addSoapPojo("dateTime", "java.util.Date");
-        addSoapPojoXml("time", "java.util.Calendar");
-        addSoapPojoXml("date", "java.util.Calendar");
-        addSoapPojo("date", "java.util.Date");
-        addSoapPojoXml("gYearMonth", "java.lang.String");
-        addSoapPojo("gYearMonth", "java.util.Calendar");
-        addSoapPojoXml("gYear", "java.lang.String");
-        addSoapPojo("gYear", "java.util.Calendar");
-        addSoapPojoXml("gMonthDay", "java.lang.String");
-        addSoapPojo("gMonthDay", "java.util.Calendar");
-        addSoapPojoXml("gMonth", "java.lang.String");
-        addSoapPojo("gMonth", "java.util.Calendar");
-        addSoapPojoXml("gDay", "java.lang.String");
-        addSoapPojo("gDay", "java.util.Calendar");
-
-        addSoapPojoXml("base64Binary", "byte[]");
-        addSoapPojo("base64Binary", "java.io.InputStream");
-        addSoapPojoXml("hexBinary", "byte[]");
-        addSoapPojo("hexBinary", "java.io.InputStream");
-
-        addSoapPojoXml("decimal", "java.math.BigDecimal");
-        addSoapPojoXml("integer", "java.math.BigInteger");
-
-        addSoapPojoXml("nonPositiveInteger", "java.math.BigInteger");
-        addSoapPojoXml("negativeInteger", "java.math.BigInteger");
-        addSoapPojoXml("nonNegativeInteger", "java.math.BigInteger");
-        addSoapPojoXml("positiveInteger", "java.math.BigInteger");
-        addSoapPojoXml("unsignedLong", "java.math.BigInteger");
-        addSoapPojoXml("unsignedInt", Long.class.getName());
-        addSoapPojoXml("unsignedShort", Integer.class.getName());
-        addSoapPojoXml("unsignedByte", Short.class.getName());
-
-        addSoapPojoXml("float", Float.class.getName());
-        addSoapPojoXml("double", Double.class.getName());
-        addSoapPojoXml("long", Long.class.getName());
-        addSoapPojoXml("int", Integer.class.getName());
-        addSoapPojoXml("short", Short.class.getName());
-        addSoapPojoXml("byte", Byte.class.getName());
-        addSoapPojoXml("boolean", Boolean.class.getName());
-        addSoapPojoXml("unsignedInt", Long.class.getName());
-        addSoapPojoXml("unsignedShort", Integer.class.getName());
-        addSoapPojoXml("unsignedByte", Short.class.getName());
-        addSoapPojoXml("Array", "java.lang.Object[]");
-
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxbBean.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxbBean.java
deleted file mode 100644
index ea3db2b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxbBean.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.Iterator;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.LinkedHashMap;
-
-/**
- * Represents a binding that can line up properties based on either
- * name (like ByNameBean) or position (i.e., Schema Particle), as
- * required by JAXB.
- */
-public class JaxbBean extends BindingType {
-
-  // ========================================================================
-  // Variables
-
-  private Map partProps = new LinkedHashMap(); // XmlTypeName -> prop (particles)
-  private Map eltProps = new LinkedHashMap(); // QName -> prop (elts)
-  private Map attProps = new LinkedHashMap(); // QName -> prop (attrs)
-
-  // ========================================================================
-  // Construtors
-
-  public JaxbBean(BindingTypeName btName) {
-    super(btName);
-  }
-
-  public JaxbBean(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    super(node);
-
-    org.apache.xml.xmlbeans.bindingConfig.JaxbBean jbNode = (org.apache.xml.xmlbeans.bindingConfig.JaxbBean) node;
-
-    org.apache.xml.xmlbeans.bindingConfig.ParticleProperty[] ppropArray = jbNode.getParticlePropertyArray();
-    for (int i = 0; i < ppropArray.length; i++) {
-      addProperty(BindingProperty.forNode(ppropArray[i]));
-    }
-
-    org.apache.xml.xmlbeans.bindingConfig.QnameProperty[] qpropArray = jbNode.getQnamePropertyArray();
-    for (int i = 0; i < qpropArray.length; i++) {
-      addProperty(BindingProperty.forNode(qpropArray[i]));
-    }
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns an unmodifiable collection of QNameProperty objects.
-   */
-  public Collection getProperties() {
-    List result = new ArrayList();
-    result.addAll(partProps.values());
-    result.addAll(eltProps.values());
-    result.addAll(attProps.values());
-    return Collections.unmodifiableCollection(result);
-  }
-
-  /**
-   * Looks up a property by attribute name, null if no match.
-   */
-  public QNameProperty getPropertyForAttribute(QName name) {
-    return (QNameProperty) attProps.get(name);
-  }
-
-  /**
-   * Looks up a property by element name, null if no match.
-   */
-  public QNameProperty getPropertyForElement(QName name) {
-    return (QNameProperty) eltProps.get(name);
-  }
-
-  /**
-   * Adds a new property
-   */
-  public void addProperty(BindingProperty newProp) {
-    if (newProp instanceof ParticleProperty) {
-      partProps.put(((ParticleProperty) newProp).getXmlName(), newProp);
-    } else if (newProp instanceof QNameProperty) {
-      QNameProperty qProp = (QNameProperty) newProp;
-      if (qProp.isAttribute())
-        attProps.put(qProp.getQName(), newProp);
-      else
-        eltProps.put(qProp.getQName(), newProp);
-    } else {
-      throw new IllegalArgumentException();
-    }
-  }
-
-  // ========================================================================
-  // BindingType implementation
-
-  /**
-   * This function copies an instance back out to the relevant part of the XML file.
-   *
-   * Subclasses should override and call super.write first.
-   */
-  protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    org.apache.xml.xmlbeans.bindingConfig.JaxbBean jbNode = (org.apache.xml.xmlbeans.bindingConfig.JaxbBean) super.write(node);
-    for (Iterator i = getProperties().iterator(); i.hasNext();) {
-      BindingProperty bProp = (BindingProperty) i.next();
-      if (bProp instanceof ParticleProperty) {
-        org.apache.xml.xmlbeans.bindingConfig.ParticleProperty ppNode = jbNode.addNewParticleProperty();
-        bProp.write(ppNode);
-      } else {
-        org.apache.xml.xmlbeans.bindingConfig.QnameProperty qpNode = jbNode.addNewQnameProperty();
-        bProp.write(qpNode);
-
-      }
-    }
-    return jbNode;
-  }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxrpcEnumType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxrpcEnumType.java
deleted file mode 100644
index d309de4..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/JaxrpcEnumType.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-/**
- * A representation of the JAX-RPC 1.1 rules for binding a
- * schema enumeration into java
- */
-public class JaxrpcEnumType extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private BindingTypeName baseType;
-    private MethodName getValueMethod;
-    private MethodName fromValueMethod;
-    private MethodName fromStringMethod;
-    private MethodName toXMLMethod;
-
-    // ========================================================================
-    // Constants
-
-    public final static MethodName DEFAULT_GET_VALUE = MethodName.create("getValue");
-    public final static String     DEFAULT_FROM_VALUE_NAME = "fromValue";
-    public final static MethodName DEFAULT_FROM_STRING = MethodName.create("fromString",
-        JavaTypeName.forString("java.lang.String"));
-    public final static MethodName DEFAULT_TO_XML = MethodName.create("toXML");
-
-    // ========================================================================
-    // Constructors
-
-    public JaxrpcEnumType(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public JaxrpcEnumType(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        this((org.apache.xml.xmlbeans.bindingConfig.JaxrpcEnumType)node);
-    }
-
-    public JaxrpcEnumType(org.apache.xml.xmlbeans.bindingConfig.JaxrpcEnumType node)
-    {
-        super(node);
-
-        this.baseType = BindingTypeName.forPair(
-            JavaTypeName.forString(node.getBaseJavatype()),
-            XmlTypeName.forString(node.getBaseXmlcomponent()));
-
-        this.getValueMethod = MethodName.create(node.getGetValueMethod());
-        this.fromValueMethod = MethodName.create(node.getFromValueMethod());
-        this.fromStringMethod = MethodName.create(node.getFromStringMethod());
-
-        org.apache.xml.xmlbeans.bindingConfig.JavaMethodName toxml_method =
-            node.getToXMLMethod();
-        if (toxml_method != null) {
-            this.toXMLMethod = MethodName.create(toxml_method);
-        }
-    }
-
-
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        org.apache.xml.xmlbeans.bindingConfig.JaxrpcEnumType jnode =
-            (org.apache.xml.xmlbeans.bindingConfig.JaxrpcEnumType)super.write(node);
-
-        if (baseType != null) {
-            jnode.setBaseJavatype(baseType.getJavaName().toString());
-            jnode.setBaseXmlcomponent(baseType.getXmlName().toString());
-        }
-
-        if (getValueMethod != null) {
-            getValueMethod.write(jnode.addNewGetValueMethod());
-        }
-
-        if (fromValueMethod != null) {
-            fromValueMethod.write(jnode.addNewFromValueMethod());
-        }
-
-        if (toXMLMethod != null) {
-            toXMLMethod.write(jnode.addNewToXMLMethod());
-        }
-
-        if (fromStringMethod != null) {
-            fromStringMethod.write(jnode.addNewFromStringMethod());
-        }
-
-        return jnode;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-    // ========================================================================
-    // Public methods
-
-    public BindingTypeName getBaseTypeName()
-    {
-        return baseType;
-    }
-
-    public void setBaseType(BindingType bType)
-    {
-        baseType = bType.getName();
-    }
-
-    public MethodName getGetValueMethod()
-    {
-        return getValueMethod;
-    }
-
-    public void setGetValueMethod(MethodName getValueMethod)
-    {
-        this.getValueMethod = getValueMethod;
-    }
-
-    public MethodName getFromValueMethod()
-    {
-        return fromValueMethod;
-    }
-
-    public void setFromValueMethod(MethodName fromValueMethod)
-    {
-        this.fromValueMethod = fromValueMethod;
-    }
-
-    public MethodName getFromStringMethod()
-    {
-        return fromStringMethod;
-    }
-
-    public void setFromStringMethod(MethodName fromStringMethod)
-    {
-        this.fromStringMethod = fromStringMethod;
-    }
-
-    public MethodName getToXMLMethod()
-    {
-        return toXMLMethod;
-    }
-
-    public void setToXMLMethod(MethodName toXMLMethod)
-    {
-        this.toXMLMethod = toXMLMethod;
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/KindRegistry.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/KindRegistry.java
deleted file mode 100644
index e40bfde..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/KindRegistry.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.SchemaType;
-
-import java.util.Map;
-import java.util.HashMap;
-
-
-/* package protected */
-
-/**
- * Note that this is NOT a generic binding registry for users' binding; this is
- * a registry that is used internally just to manage binding between
- * XBeans for BindingTypes and BindingType wrapper classes.  The reason
- * for this mechanism is that XMLBeans binding is NOT YET powerful enough
- * to bind the various kinds of BindingTypes directly to schema yet.
- *
- * However, in the future, we hope to make it powerful enough to do so,
- * so that most of the hand-coded binding betwen Java and XML can go away.
- * This class, and all the mechanisms that use it, should go away too.
- */
-class KindRegistry {
-
-  // ========================================================================
-  // Variables
-
-  private Map registryClassFromType = new HashMap();
-  private Map registryTypeFromClass = new HashMap();
-
-  // ========================================================================
-  // Package methods
-
-  synchronized void registerClassAndType(Class bindingTypeClass, SchemaType bindingTypeSchemaType) {
-    registryClassFromType.put(bindingTypeSchemaType, bindingTypeClass);
-    registryTypeFromClass.put(bindingTypeClass, bindingTypeSchemaType);
-  }
-
-  synchronized Class classForType(SchemaType type) {
-    return (Class) registryClassFromType.get(type);
-  }
-
-  synchronized SchemaType typeForClass(Class clazz) {
-    return (SchemaType) registryTypeFromClass.get(clazz);
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ListArrayType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ListArrayType.java
deleted file mode 100644
index b780d57..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ListArrayType.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-/**
- * A binding of a simple user-defined type that operates by
- * delegating to another well-known (e.g., builtin) binding.
- */
-public class ListArrayType extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private BindingTypeName itemType;
-
-    // ========================================================================
-    // Constructors
-
-    public ListArrayType(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public ListArrayType(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        this((org.apache.xml.xmlbeans.bindingConfig.ListArray)node);
-    }
-
-    public ListArrayType(org.apache.xml.xmlbeans.bindingConfig.ListArray node)
-    {
-        super(node);
-
-        final org.apache.xml.xmlbeans.bindingConfig.Mapping itype =
-            node.getItemType();
-        final JavaTypeName jName = JavaTypeName.forString(itype.getJavatype());
-        final XmlTypeName xName = XmlTypeName.forString(itype.getXmlcomponent());
-        this.itemType = BindingTypeName.forPair(jName, xName);
-    }
-
-
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        final org.apache.xml.xmlbeans.bindingConfig.ListArray wa =
-            (org.apache.xml.xmlbeans.bindingConfig.ListArray)super.write(node);
-
-        final org.apache.xml.xmlbeans.bindingConfig.Mapping mapping =
-            wa.addNewItemType();
-        mapping.setJavatype(itemType.getJavaName().toString());
-        mapping.setXmlcomponent(itemType.getXmlName().toString());
-        
-        return wa;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-    // ========================================================================
-    // Public methods
-
-    public BindingTypeName getItemType()
-    {
-        return itemType;
-    }
-
-    public void setItemType(BindingTypeName itemType)
-    {
-        this.itemType = itemType;
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/MethodName.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/MethodName.java
deleted file mode 100644
index 177e57d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/MethodName.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xml.xmlbeans.bindingConfig.JavaMethodName;
-
-import java.lang.reflect.Method;
-import java.util.Arrays;
-
-/**
- * Abstraction which uniquely identifies a particular method on some class.
- * This requires both a method name and some information about the method
- * signature - this class just provides a structured representation of
- * that information, as well a service (getMethodOn) for reflecting
- * on a given class to find the java.lang.Method named by the MethodName.
- *
- * The basic motivation for adding this class is to remove guesswork from the
- * runtime about how to map a 'getterName' string plus some notion of
- * property type to an actual java.lang.Method.  With MethodName, the
- * binding file is able to make it completely unambiguous.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class MethodName {
-
-  // ========================================================================
-  // Variables
-
-  private String mMethodName;
-  private JavaTypeName[] mParamTypes;
-
-  // ========================================================================
-  // Factory methods
-
-  /**
-   * Creates a MethodName which names the given JMethod.
-   */
-  public static MethodName create(JMethod m) {
-    JParameter[] params = m.getParameters();
-    if (params == null || params.length == 0) {
-      return new MethodName(m.getSimpleName());
-    } else {
-      JavaTypeName[] types = new JavaTypeName[params.length];
-      for (int i = 0; i < types.length; i++) {
-        types[i] = JavaTypeName.forJClass(params[i].getType());
-      }
-      return new MethodName(m.getSimpleName(), types);
-    }
-  }
-
-  /**
-   * Creates a MethodName for a method with the given name and no parameters
-   * (e.g., a getter).
-   */
-  public static MethodName create(String methodName) {
-    return new MethodName(methodName);
-  }
-
-  /**
-   * Creates a MethodName for a method with the given name and a single
-   * parameter of the given type (e.g., a setter).
-   */
-  public static MethodName create(String methodName, JavaTypeName paramType) {
-    return create(methodName, new JavaTypeName[]{paramType});
-  }
-
-  /**
-   * Creates a MethodName for a method with the given name and a set
-   * of parameters of the given types.
-   */
-  public static MethodName create(String methodName, JavaTypeName[] paramTypes) {
-    if (paramTypes == null || paramTypes.length == 0) {
-      return new MethodName(methodName);
-    } else {
-      return new MethodName(methodName, paramTypes);
-    }
-  }
-
-  /**
-   * Creates a MethodName from the given XmlObject.
-   */
-  /*package*/
-  static MethodName create(JavaMethodName jmn) {
-    if (jmn == null) return null;
-    
-    return create(jmn.getMethodName(),
-                  namesForStrings(jmn.getParamTypeArray()));
-  }
-
-  private static JavaTypeName[] namesForStrings(String[] names) {
-    JavaTypeName[] out = new JavaTypeName[names.length];
-    for (int i = 0; i < out.length; i++) out[i] = JavaTypeName.forString(names[i]);
-    return out;
-  }
-
-
-  // ========================================================================
-  // Constructors
-
-  private MethodName(String methodName, JavaTypeName[] types) {
-    mMethodName = methodName;
-    mParamTypes = types;
-  }
-
-  private MethodName(String methodName) {
-    mMethodName = methodName;
-    mParamTypes = new JavaTypeName[0];
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public String getSimpleName() {
-    return mMethodName;
-  }
-
-  /**
-   * Returns the java.lang.Method which is named by this MethodName
-   * on the given class.
-   *
-   * @param containingClass Class to be searched for the method.
-   * @return
-   * @throws ClassNotFoundException if one of the paramType classes specified
-   * for this MethodName cannot be loaded from the given class' classloader.
-   * @throws NoSuchMethodException If the named method does not exist on
-   * this class.
-   * @throws IllegalArgumentException if containingClass is null.
-   */
-  public Method getMethodOn(Class containingClass)
-          throws ClassNotFoundException, NoSuchMethodException {
-    if (containingClass == null) {
-      throw new IllegalArgumentException("null class");
-    }
-    Class[] types = null;
-    if (mParamTypes != null && mParamTypes.length > 0) {
-      types = new Class[mParamTypes.length];
-      for (int i = 0; i < types.length; i++) {
-        types[i] = mParamTypes[i].loadClassIn(containingClass.getClassLoader());
-      }
-    }
-    return containingClass.getMethod(mMethodName, types);
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  public boolean equals(Object o) {
-    if (this == o) return true;
-    if (!(o instanceof MethodName)) return false;
-    final MethodName methodName = (MethodName) o;
-    if (mMethodName != null ? !mMethodName.equals(methodName.mMethodName) :
-            methodName.mMethodName != null)
-      return false;
-    if (!Arrays.equals(mParamTypes, methodName.mParamTypes)) return false;
-
-    return true;
-  }
-
-  public int hashCode() {
-    return (mMethodName != null ? mMethodName.hashCode() : 0);
-  }
-
-
-  // ========================================================================
-  // Package methods
-
-  /**
-   * Populates the given xmlobject with our contents.
-   */
-  /*package*/
-  void write(JavaMethodName name) {
-    name.setMethodName(mMethodName);
-    if (mParamTypes != null && mParamTypes.length > 0) {
-      String[] types = new String[mParamTypes.length];
-      for (int i = 0; i < types.length; i++) types[i] = mParamTypes[i].toString();
-      name.setParamTypeArray(types);
-    }
-  }
-
-  /* should make this a test
-   public static void main(String[] args) throws Exception {
-     test("java.lang.String",String.class);
-     test("java.lang.String[]",String[].class);
-     test("int",int.class);
-     test("int[]",int[].class);
-     test("double[][][]",double[][][].class);
-   }
-
-   public static void test(String jtn, Class c) throws Exception {
-     JavaTypeName name = JavaTypeName.forString(jtn);
-     if (!name.loadClassIn(ClassLoader.getSystemClassLoader()).equals(c)) {
-       System.out.println(jtn+" failed "+c.getName());
-     } else {
-       System.out.println(jtn+" passed "+c.getName());
-     }
-   }
-   */
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParentInstanceFactory.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParentInstanceFactory.java
deleted file mode 100644
index 009dc8a..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParentInstanceFactory.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.JavaInstanceFactory;
-
-
-/**
- * A property that addresses an XML element or attribute by name
- * rather than by position.
- */
-public class ParentInstanceFactory extends JavaInstanceFactory
-{
-
-    // ========================================================================
-    // Variables
-    private MethodName createObjectMethod;
-
-    // ========================================================================
-    // Constructors
-
-    public ParentInstanceFactory()
-    {
-        super();
-    }
-
-    public ParentInstanceFactory(org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory node)
-    {
-        super(node);
-        org.apache.xml.xmlbeans.bindingConfig.ParentInstanceFactory pifNode =
-            (org.apache.xml.xmlbeans.bindingConfig.ParentInstanceFactory)node;
-        this.createObjectMethod =
-            MethodName.create(pifNode.getCreateObjectMethod());
-    }
-
-    // ========================================================================
-    // Public methods
-    public MethodName getCreateObjectMethod()
-    {
-        return createObjectMethod;
-    }
-
-    public void setCreateObjectMethod(MethodName createObjectMethod)
-    {
-        this.createObjectMethod = createObjectMethod;
-    }
-
-    // ========================================================================
-    // BindingType implementation
-
-    /**
-     * This function copies an instance back out to the relevant part of the XML file.
-     *
-     * Subclasses should override and call super.write first.
-     */
-    protected org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory write(org.apache.xml.xmlbeans.bindingConfig.JavaInstanceFactory node)
-    {
-        node = super.write(node);
-
-        org.apache.xml.xmlbeans.bindingConfig.ParentInstanceFactory pifNode =
-            (org.apache.xml.xmlbeans.bindingConfig.ParentInstanceFactory)node;
-
-        if (createObjectMethod != null) {
-            createObjectMethod.write(pifNode.addNewCreateObjectMethod());
-        }
-
-        return pifNode;
-    }
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParticleProperty.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParticleProperty.java
deleted file mode 100644
index d77dc72..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/ParticleProperty.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-
-/**
- * A property lined up by Schema particle.  Used by JaxbBean
- */
-public class ParticleProperty extends BindingProperty {
-
-  // ========================================================================
-  // Constructors
-
-  public ParticleProperty() {
-    super();
-  }
-
-  public ParticleProperty(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node) {
-    super(node);
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public XmlTypeName getXmlName() {
-    return getTypeName().getXmlName();
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/QNameProperty.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/QNameProperty.java
deleted file mode 100644
index 0e22662..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/QNameProperty.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-
-import javax.xml.namespace.QName;
-
-/**
- * A property that addresses an XML element or attribute by name
- * rather than by position.
- */
-public class QNameProperty extends BindingProperty
-{
-
-    // ========================================================================
-    // Variables
-
-    private QName theName;
-    private boolean isAttribute;
-    private boolean isMultiple;
-    private boolean isOptional;
-    private boolean isNillable;
-    private String defaultValue;
-
-
-    // ========================================================================
-    // Constructors
-
-    public QNameProperty()
-    {
-        super();
-    }
-
-    public QNameProperty(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-    {
-        super(node);
-        org.apache.xml.xmlbeans.bindingConfig.QnameProperty qpNode =
-            (org.apache.xml.xmlbeans.bindingConfig.QnameProperty)node;
-        theName = qpNode.getQname();
-        isAttribute = qpNode.getAttribute();
-        isMultiple = qpNode.getMultiple();
-        isNillable = qpNode.getNillable();
-        isOptional = qpNode.getOptional();
-        defaultValue = qpNode.getDefault();
-    }
-
-    // ========================================================================
-    // Public methods
-
-    public QName getQName()
-    {
-        return theName;
-    }
-
-    public void setQName(QName theName)
-    {
-        this.theName = theName;
-    }
-
-    public boolean isAttribute()
-    {
-        return isAttribute;
-    }
-
-    public void setAttribute(boolean attribute)
-    {
-        isAttribute = attribute;
-    }
-
-    public boolean isMultiple()
-    {
-        return isMultiple;
-    }
-
-    public void setMultiple(boolean multiple)
-    {
-        isMultiple = multiple;
-    }
-
-    public boolean isOptional()
-    {
-        return isOptional;
-    }
-
-    public void setOptional(boolean optional)
-    {
-        isOptional = optional;
-    }
-
-    public boolean isNillable()
-    {
-        return isNillable;
-    }
-
-    public void setNillable(boolean nillable)
-    {
-        isNillable = nillable;
-    }
-
-    public String getDefault()
-    {
-        return defaultValue;
-    }
-
-    public void setDefault(String default_value)
-    {
-        defaultValue = default_value;
-    }
-
-    // ========================================================================
-    // BindingType implementation
-
-    /**
-     * This function copies an instance back out to the relevant part of the XML file.
-     *
-     * Subclasses should override and call super.write first.
-     */
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingProperty write(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-    {
-        node = super.write(node);
-
-        org.apache.xml.xmlbeans.bindingConfig.QnameProperty qpNode =
-            (org.apache.xml.xmlbeans.bindingConfig.QnameProperty)node;
-
-        qpNode.setQname(theName);
-        if (isAttribute)
-            qpNode.setAttribute(true);
-        if (isMultiple)
-            qpNode.setMultiple(true);
-        if (isOptional)
-            qpNode.setOptional(true);
-        if (isNillable)
-            qpNode.setNillable(true);
-
-        return qpNode;
-    }
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleBindingType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleBindingType.java
deleted file mode 100644
index 63c877d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleBindingType.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.XmlException;
-
-/**
- * A binding of a simple user-defined type that operates by
- * delegating to another well-known (e.g., builtin) binding.
- */
-public class SimpleBindingType extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private XmlTypeName asIfXmlType;
-    private int whitespace = XmlWhitespace.WS_UNSPECIFIED;
-
-    // ========================================================================
-    // Constructors
-
-    public SimpleBindingType(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public SimpleBindingType(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        super(node);
-        org.apache.xml.xmlbeans.bindingConfig.SimpleType stNode = (org.apache.xml.xmlbeans.bindingConfig.SimpleType)node;
-        org.apache.xml.xmlbeans.bindingConfig.AsXmlType as_xml = stNode.getAsXml();
-        asIfXmlType = XmlTypeName.forString(as_xml.getStringValue());
-
-        if (as_xml.isSetWhitespace()) {
-            org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.Enum ws =
-                as_xml.getWhitespace();
-            if (ws.equals(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.PRESERVE)) {
-                whitespace = XmlWhitespace.WS_PRESERVE;
-            } else if (ws.equals(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.REPLACE)) {
-                whitespace = XmlWhitespace.WS_REPLACE;
-            } else if (ws.equals(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.COLLAPSE)) {
-                whitespace = XmlWhitespace.WS_COLLAPSE;
-            } else {
-                throw new AssertionError("invalid whitespace: " + ws);
-            }
-
-        }
-    }
-
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        org.apache.xml.xmlbeans.bindingConfig.SimpleType stNode = (org.apache.xml.xmlbeans.bindingConfig.SimpleType)super.write(node);
-
-        org.apache.xml.xmlbeans.bindingConfig.AsXmlType as_if = stNode.addNewAsXml();
-        as_if.setStringValue(asIfXmlType.toString());
-
-        switch (whitespace) {
-            case XmlWhitespace.WS_UNSPECIFIED:
-                break;
-            case XmlWhitespace.WS_PRESERVE:
-                as_if.setWhitespace(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.PRESERVE);
-                break;
-            case XmlWhitespace.WS_REPLACE:
-                as_if.setWhitespace(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.REPLACE);
-                break;
-            case XmlWhitespace.WS_COLLAPSE:
-                as_if.setWhitespace(org.apache.xml.xmlbeans.bindingConfig.AsXmlType.Whitespace.COLLAPSE);
-                break;
-            default:
-                throw new AssertionError("invalid whitespace: " + whitespace);
-        }
-
-
-        stNode.setAsXml(as_if);
-        return stNode;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    // ========================================================================
-    // Public methods
-
-    // typically the "as if" type is the closest base builtin type.
-    public XmlTypeName getAsIfXmlType()
-    {
-        return asIfXmlType;
-    }
-
-    public void setAsIfXmlType(XmlTypeName asIfXmlType)
-    {
-        this.asIfXmlType = asIfXmlType;
-    }
-
-    // question: do we want an "as if Java type" as well?
-
-    public BindingTypeName getAsIfBindingTypeName()
-    {
-        if (asIfXmlType == null) {
-            throw new IllegalStateException("SimpleBindingType must have" +
-                                            " an asIfXmlType " + this);
-        }
-        return BindingTypeName.forPair(getName().getJavaName(), asIfXmlType);
-    }
-
-
-    /**
-     * Gets whitespace facet -- use the constants from
-     * org.apache.xmlbeans.impl.common.XmlWhitespace
-     *
-     * @return whitespace constant from XmlWhitespace
-     */
-    public int getWhitespace()
-    {
-        return whitespace;
-    }
-
-    /**
-     * Sets whitespace facet -- use the constants from
-     * org.apache.xmlbeans.impl.common.XmlWhitespace
-     *
-     * @param ws  whitespace constant from XmlWhitespace
-     */
-    public void setWhitespace(int ws)
-    {
-        switch (ws) {
-            case XmlWhitespace.WS_UNSPECIFIED:
-            case XmlWhitespace.WS_PRESERVE:
-            case XmlWhitespace.WS_REPLACE:
-            case XmlWhitespace.WS_COLLAPSE:
-                whitespace = ws;
-                break;
-            default:
-                throw new IllegalArgumentException("invalid whitespace: " + ws);
-        }
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentBean.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentBean.java
deleted file mode 100644
index c0d112b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentBean.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-import java.util.Iterator;
-import java.util.LinkedHashMap;
-import java.util.Map;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * A simpel-content binding is one that connects XML and Java based on the
- * QNames of XML attributes, and a special property to represent
- * the simple content of a complexType who's content type is a simple type.
- */
-public class SimpleContentBean extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private SimpleContentProperty simpleContentProperty;
-    private GenericXmlProperty anyAttributeProperty;
-    private Map attProps = new LinkedHashMap(); // QName -> prop (attrs)
-
-    // ========================================================================
-    // Constructors
-
-    public SimpleContentBean(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public SimpleContentBean(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        super(node);
-
-        org.apache.xml.xmlbeans.bindingConfig.SimpleContentBean simpleContentBean =
-            (org.apache.xml.xmlbeans.bindingConfig.SimpleContentBean)node;
-        org.apache.xml.xmlbeans.bindingConfig.QnameProperty[] propArray =
-            simpleContentBean.getAttributePropertyArray();
-
-        for (int i = 0; i < propArray.length; i++) {
-            addProperty((QNameProperty)BindingProperty.forNode(propArray[i]));
-        }
-
-        final org.apache.xml.xmlbeans.bindingConfig.SimpleContentProperty scp =
-            simpleContentBean.getSimpleContentProperty();
-
-        final SimpleContentProperty bprop =
-            (SimpleContentProperty)SimpleContentProperty.forNode(scp);
-        setSimpleContentProperty(bprop);
-
-        final org.apache.xml.xmlbeans.bindingConfig.GenericXmlProperty gxp =
-            simpleContentBean.getAnyAttributeProperty();
-
-        if (gxp != null)
-            setAnyAttributeProperty((GenericXmlProperty) GenericXmlProperty.forNode(gxp));
-    }
-
-    // ========================================================================
-    // Public methods
-
-    /**
-     * Looks up a property by attribute name, null if no match.
-     */
-    public QNameProperty getPropertyForAttribute(QName name)
-    {
-        return (QNameProperty)attProps.get(name);
-    }
-
-    public Collection getAttributeProperties()
-    {
-        return Collections.unmodifiableCollection(attProps.values());
-    }
-
-    public SimpleContentProperty getSimpleContentProperty()
-    {
-        return simpleContentProperty;
-    }
-
-    public void setSimpleContentProperty(SimpleContentProperty simpleContentProperty)
-    {
-        this.simpleContentProperty = simpleContentProperty;
-    }
-
-    public GenericXmlProperty getAnyAttributeProperty()
-    {
-        return anyAttributeProperty;
-    }
-
-    public void setAnyAttributeProperty(GenericXmlProperty prop)
-    {
-        anyAttributeProperty = prop;
-    }
-        
-
-
-    /**
-     * Adds a new property
-     */
-    public void addProperty(QNameProperty newProp)
-    {
-        final boolean att = newProp.isAttribute();
-        if (!att) {
-            final String msg = "property must be an attribute: " + newProp;
-            throw new IllegalArgumentException(msg);
-        }
-        if (attProps.containsKey(newProp.getQName()))
-            throw new IllegalArgumentException("duplicate property: " + newProp);
-
-        attProps.put(newProp.getQName(), newProp);
-    }
-
-    // ========================================================================
-    // BindingType implementation
-
-    /**
-     * This function copies an instance back out to the relevant part of the XML file.
-     *
-     * Subclasses should override and call super.write first.
-     */
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        org.apache.xml.xmlbeans.bindingConfig.SimpleContentBean bnNode =
-            (org.apache.xml.xmlbeans.bindingConfig.SimpleContentBean)super.write(node);
-
-        if (simpleContentProperty == null) {
-            throw new IllegalArgumentException("type must have a simple content property");
-        }
-
-        final org.apache.xml.xmlbeans.bindingConfig.SimpleContentProperty sc_prop =
-            bnNode.addNewSimpleContentProperty();
-        simpleContentProperty.write(sc_prop);
-
-        if (anyAttributeProperty != null)
-        {
-            final org.apache.xml.xmlbeans.bindingConfig.GenericXmlProperty gx_prop =
-                bnNode.addNewAnyAttributeProperty();
-            anyAttributeProperty.write(gx_prop);
-        }
-
-        for (Iterator i = attProps.entrySet().iterator(); i.hasNext();) {
-            Map.Entry e = (Map.Entry)i.next();
-            QNameProperty qProp = (QNameProperty)e.getValue();
-            org.apache.xml.xmlbeans.bindingConfig.QnameProperty qpNode = bnNode.addNewAttributeProperty();
-            qProp.write(qpNode);
-        }
-        return bnNode;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentProperty.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentProperty.java
deleted file mode 100644
index 0d74634..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleContentProperty.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-
-import javax.xml.namespace.QName;
-
-/**
- * A property that represents the simple content of a complex type
- * with simple content.
- */
-public class SimpleContentProperty extends BindingProperty
-{
-  // ========================================================================
-  // Constructors
-
-  public SimpleContentProperty()
-  {
-    super();
-  }
-
-  public SimpleContentProperty(org.apache.xml.xmlbeans.bindingConfig.BindingProperty node)
-  {
-    super(node);
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleDocumentBinding.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleDocumentBinding.java
deleted file mode 100644
index 3cbd3b4..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SimpleDocumentBinding.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-/**
- * BindingType for root elements.
- */
-public class SimpleDocumentBinding extends BindingType {
-
-  // ========================================================================
-  // Variables
-
-  private XmlTypeName typeOfElement;
-
-  // ========================================================================
-  // Constructors
-
-  public SimpleDocumentBinding(BindingTypeName btname) {
-    super(btname);
-  }
-
-  public SimpleDocumentBinding(org.apache.xml.xmlbeans.bindingConfig.SimpleDocumentBinding node) {
-    super(node);
-    typeOfElement = XmlTypeName.forString(node.getTypeOfElement());
-  }
-
-  public SimpleDocumentBinding(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    this((org.apache.xml.xmlbeans.bindingConfig.SimpleDocumentBinding) node);
-  }
-
-  // ========================================================================
-  // Public methods
-
-  public XmlTypeName getTypeOfElement() {
-    return typeOfElement;
-  }
-
-  public void setTypeOfElement(XmlTypeName typeOfElement) {
-    this.typeOfElement = typeOfElement;
-  }
-
-  // ========================================================================
-  // BindingType implementation
-
-  /**
-   * This function copies an instance back out to the relevant part of the XML file.
-   *
-   * Subclasses should override and call super.write first.
-   */
-  protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node) {
-    org.apache.xml.xmlbeans.bindingConfig.SimpleDocumentBinding sdbNode =
-            (org.apache.xml.xmlbeans.bindingConfig.SimpleDocumentBinding) super.write(node);
-    sdbNode.setTypeOfElement(typeOfElement.toString());
-    return sdbNode;
-  }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SoapArrayType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SoapArrayType.java
deleted file mode 100644
index b255c06..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/SoapArrayType.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-import java.util.Arrays;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * A binding of a simple user-defined type that operates by
- * delegating to another well-known (e.g., builtin) binding.
- */
-public class SoapArrayType extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private QName itemName;
-    private BindingTypeName itemType;
-    private boolean itemNillable;
-    private int ranks;
-
-    // ========================================================================
-    // Constructors
-
-    public SoapArrayType(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public SoapArrayType(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        this((org.apache.xml.xmlbeans.bindingConfig.SoapArray)node);
-    }
-
-    public SoapArrayType(org.apache.xml.xmlbeans.bindingConfig.SoapArray node)
-    {
-        super(node);
-        this.itemName = node.getItemName();
-
-        final org.apache.xml.xmlbeans.bindingConfig.Mapping itype =
-            node.getItemType();
-        final JavaTypeName jName = JavaTypeName.forString(itype.getJavatype());
-        final XmlTypeName xName = XmlTypeName.forString(itype.getXmlcomponent());
-        this.itemType = BindingTypeName.forPair(jName, xName);
-
-        itemNillable = node.getItemNillable();
-
-
-        if (node.isSetRanks())
-            ranks = node.getRanks();
-        else
-            ranks = -1;
-    }
-
-
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        final org.apache.xml.xmlbeans.bindingConfig.SoapArray wa =
-            (org.apache.xml.xmlbeans.bindingConfig.SoapArray)super.write(node);
-
-        if (itemName != null)
-            wa.setItemName(itemName);
-
-        if (itemType != null) {
-            final org.apache.xml.xmlbeans.bindingConfig.Mapping mapping =
-                wa.addNewItemType();
-
-            mapping.setJavatype(itemType.getJavaName().toString());
-            mapping.setXmlcomponent(itemType.getXmlName().toString());
-        }
-
-        wa.setItemNillable(itemNillable);
-
-        if (ranks >= 0)
-            wa.setRanks(ranks);
-
-        return wa;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-    // ========================================================================
-    // Public methods
-    public QName getItemName()
-    {
-        return itemName;
-    }
-
-    public void setItemName(QName itemName)
-    {
-        this.itemName = itemName;
-    }
-
-    public BindingTypeName getItemType()
-    {
-        return itemType;
-    }
-
-    public void setItemType(BindingTypeName itemType)
-    {
-        this.itemType = itemType;
-    }
-
-    public boolean isItemNillable()
-    {
-        return itemNillable;
-    }
-
-    public void setItemNillable(boolean nillable)
-    {
-        this.itemNillable = nillable;
-    }
-
-    public int getRanks()
-    {
-        return ranks;
-    }
-
-    public void setRanks(int ranks)
-    {
-        this.ranks = ranks;
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/WrappedArrayType.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/WrappedArrayType.java
deleted file mode 100644
index 042669a..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/WrappedArrayType.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-/**
- * A binding of a simple user-defined type that operates by
- * delegating to another well-known (e.g., builtin) binding.
- */
-public class WrappedArrayType extends BindingType
-{
-
-    // ========================================================================
-    // Variables
-
-    private QName itemName;
-    private BindingTypeName itemType;
-    private boolean itemNillable;
-
-    // ========================================================================
-    // Constructors
-
-    public WrappedArrayType(BindingTypeName btName)
-    {
-        super(btName);
-    }
-
-    public WrappedArrayType(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        this((org.apache.xml.xmlbeans.bindingConfig.WrappedArray)node);
-    }
-
-    public WrappedArrayType(org.apache.xml.xmlbeans.bindingConfig.WrappedArray node)
-    {
-        super(node);
-        this.itemName = node.getItemName();
-
-        final org.apache.xml.xmlbeans.bindingConfig.Mapping itype =
-            node.getItemType();
-        final JavaTypeName jName = JavaTypeName.forString(itype.getJavatype());
-        final XmlTypeName xName = XmlTypeName.forString(itype.getXmlcomponent());
-        this.itemType = BindingTypeName.forPair(jName, xName);
-
-        itemNillable = node.getItemNillable();
-    }
-
-
-    protected org.apache.xml.xmlbeans.bindingConfig.BindingType write(org.apache.xml.xmlbeans.bindingConfig.BindingType node)
-    {
-        final org.apache.xml.xmlbeans.bindingConfig.WrappedArray wa =
-            (org.apache.xml.xmlbeans.bindingConfig.WrappedArray)super.write(node);
-
-        wa.setItemName(itemName);
-
-        final org.apache.xml.xmlbeans.bindingConfig.Mapping mapping =
-            wa.addNewItemType();
-        mapping.setJavatype(itemType.getJavaName().toString());
-        mapping.setXmlcomponent(itemType.getXmlName().toString());
-
-        wa.setItemNillable(itemNillable);
-        
-        return wa;
-    }
-
-    public void accept(BindingTypeVisitor visitor) throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-
-    // ========================================================================
-    // Public methods
-    public QName getItemName()
-    {
-        return itemName;
-    }
-
-    public void setItemName(QName itemName)
-    {
-        this.itemName = itemName;
-    }
-
-    public BindingTypeName getItemType()
-    {
-        return itemType;
-    }
-
-    public void setItemType(BindingTypeName itemType)
-    {
-        this.itemType = itemType;
-    }
-
-    public boolean isItemNillable()
-    {
-        return itemNillable;
-    }
-
-    public void setItemNillable(boolean nillable)
-    {
-        this.itemNillable = nillable;
-    }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/XmlTypeName.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/XmlTypeName.java
deleted file mode 100644
index 439ab5d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/bts/XmlTypeName.java
+++ /dev/null
@@ -1,564 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.bts;
-
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-
-import javax.xml.namespace.QName;
-
-/**
- * An XmlTypeName is a way of uniquely identifying any
- * logical component in a schema.
- *
- * For a diagram of the kinds of components that can be referenced,
- * see http://www.w3.org/TR/xmlschema-1/components.gif
- *
- * A signature looks like this:
- *
- * a-name1|t|e=name2|p.3|s|p.5|c|p.0|t|e=name3@my-namespace
- *
- * This reads as:g
- * The attribute declaration called "name1" (unqualified) inside
- * the anonymous type of
- * the element declaration called "name2" (qualified) which is
- * the third particle of
- * the sequence which is
- * the fifth particle of
- * the choice which is
- * the zeroth particle of
- * the anonymous type of
- * the element named name3 (qualified) in
- * the namespace my-namespace.
- *
- * Hyphens (-) introduce unqualified names
- * Equals (=) introduce qualified names
- * Dot (.) introduce numbers
- * Anonymous components are just single-letters.
- *
- * There are these types of components
- *
- * n = Notations (named, global only)
- * e = Element decls (named, global or inside t or p)
- * Identity constraint defs
- *   k = key/unique/keyref (named, in elts only)
- * g = Model group defs (named, global only)
- * Model group compositors:
- *   l = All compositors (anon, inside p or g)
- *   s = Sequence compositors (anon, inside p or g)
- *   c = Choice compositors (anon, inside p or g)
- * p = Particles (numbered, inside t or l or s or c)
- * w = Wildcards (anon, inside p only)
- * v = Attribute Uses (named, in type only, inside t)
- * a = Attribute Declarations (named, global or inside t or v)
- * r = Attribute group definitions (named, global only)
- * t = Type definitions (name when global, or anon inside i, m, e, a, t)
- *
- * Not part of the spec, but we treat as components:
- * d = document type definition (named, global only)
- * b = attribute-container type definition (named, global only)
- * m = union member definition (numbered, inside t only)
- * y = soap array of dimension n (numbered, referencing global t or another y only)
- *
- * A canonical signature will shortcut the following:
- *
- * - global elements do not need to be explicitly nested inside their
- *   containing document types (e=name|d=name@namespace -> e=name@namespace)
- * - global attributes do not need to be explicitly nested inside their
- *   containing attribute types (e=name|d=name@namespace -> e=name@namespace)
- * - an element of a type, if its name is unique, may be referenced without the
- *   intervening particle path.  (e.g., e=name2|p.3|s|p.5|c|p.0|t can be
- *   reduced to e=name2|t)
- * - an attribute of a type may be referenced without explicitly putting it
- *   inside an attribute use (e.g., a-name1|v-name1|t -> a-name1|t)
- *
- * Notice SOAP arrays are included in the naming schema, as follows:
- *
- * A soap array type written like this:
- *     x:drg[,,,][,][,,]
- *
- * Has the following signature:
- *     y.3|y.2|y.4|t=drg@foobar
- */
-public class XmlTypeName {
-
-  // ========================================================================
-  // Constants
-
-  public static final char NOTATION = 'n';
-  public static final char ELEMENT = 'e';
-  public static final char ID_CONSTRAINT = 'k';
-  public static final char MODEL_GROUP = 'g';
-  public static final char ALL = 'l';
-  public static final char SEQUENCE = 's';
-  public static final char CHOICE = 'c';
-  public static final char PARTICLE = 'p';
-  public static final char WILDCARD = 'w';
-  public static final char ATTRIBUTE_USE = 'v';
-  public static final char ATTRIBUTE = 'a';
-  public static final char ATTRIBUTE_GROUP = 'r';
-  public static final char TYPE = 't';
-  public static final char DOCUMENT_TYPE = 'd';
-  public static final char ATTRIBUTE_TYPE = 'b';
-  public static final char MEMBER = 'm';
-  public static final char SOAP_ARRAY = 'y';
-  public static final char NO_TYPE = 'z';
-
-  // ========================================================================
-  // Variables
-
-  private String namespace;
-  private String path;
-
-  // ========================================================================
-  // Factories
-
-  /**
-   * Creates an XMLName based on the given String signature.
-   *
-   * This signature is described in the javadoc for this class.
-   */
-  public static XmlTypeName forString(String signature) {
-    if (signature == null) {
-      throw new IllegalArgumentException("null signature");
-    }
-    String path;
-    String namespace;
-    int atSign = signature.indexOf('@');
-    if (atSign < 0) {
-      namespace = "";
-      path = signature;
-    } else {
-      namespace = signature.substring(atSign + 1);
-      path = signature.substring(0, atSign);
-    }
-    return forPathAndNamespace(path, namespace);
-  }
-
-  /**
-   * Creates an XMLName for a schema type with the given fully-qualified QName.
-   */
-  public static XmlTypeName forTypeNamed(QName name) {
-    if (name == null) throw new IllegalArgumentException("null qname");
-    return forPathAndNamespace(TYPE + "=" + name.getLocalPart(), name.getNamespaceURI());
-  }
-
-  /**
-   * Creates an XMLName for a global schema element with the given fully-qualified QName.
-   */
-  public static XmlTypeName forGlobalName(char kind, QName name) {
-    if (name == null) throw new IllegalArgumentException("null qname");
-    return forPathAndNamespace(kind + "=" + name.getLocalPart(), name.getNamespaceURI());
-  }
-
-  /**
-   * Creates an XMLName for a nested component
-   */
-  public static XmlTypeName forNestedName(char kind, String localName, boolean qualified, XmlTypeName outer) {
-    if (localName == null) throw new IllegalArgumentException("null localName");
-    if (outer == null) throw new IllegalArgumentException("null outer");
-    return forPathAndNamespace(kind + (qualified ? "=" : "-") + localName + "|" + outer.path, outer.namespace);
-  }
-
-  /**
-   * Creates an XMLName for a nested component
-   */
-  public static XmlTypeName forNestedNumber(char kind, int n, XmlTypeName outer) {
-    if (outer == null) throw new IllegalArgumentException("null outer");
-    return forPathAndNamespace(kind + "." + n + "|" + outer.path, outer.namespace);
-  }
-
-  /**
-   * Creates an XMLName for a nested component
-   */
-  public static XmlTypeName forNestedAnonymous(char kind, XmlTypeName outer) {
-    if (outer == null) throw new IllegalArgumentException("null outer");
-    return forPathAndNamespace(kind + "|" + outer.path, outer.namespace);
-  }
-
-  /**
-   * Creates an XMLName for a particular schema type
-   */
-  public static XmlTypeName forSchemaType(SchemaType sType) {
-    if (sType == null) throw new IllegalArgumentException("null sType");
-    if (sType.getName() != null)
-      return forTypeNamed(sType.getName());
-
-    if (sType.isDocumentType())
-      return forGlobalName(DOCUMENT_TYPE, sType.getDocumentElementName());
-
-    if (sType.isAttributeType())
-      return forGlobalName(ATTRIBUTE_TYPE, sType.getAttributeTypeAttributeName());
-
-    if (sType.isNoType() || sType.getOuterType() == null) // latter is an error
-      return forPathAndNamespace("" + NO_TYPE, "");
-
-    SchemaType outerType = sType.getOuterType();
-    XmlTypeName outerName = forSchemaType(outerType);
-
-    if (sType.getContainerField() != null) {
-      boolean qualified = sType.getContainerField().getName().getNamespaceURI().length() > 0;
-      String localName = sType.getContainerField().getName().getLocalPart();
-      char kind = (sType.getContainerField().isAttribute() ? ATTRIBUTE : ELEMENT);
-      return forNestedAnonymous(TYPE, forNestedName(kind, localName, qualified, outerName));
-    }
-
-    if (outerType.getSimpleVariety() == SchemaType.UNION)
-      return forNestedAnonymous(TYPE, forNestedNumber(MEMBER, sType.getAnonymousUnionMemberOrdinal(), outerName));
-
-    return forNestedAnonymous(TYPE, outerName);
-  }
-
-  /**
-   * Creates one for a SOAPArrayType
-   */
-  public static XmlTypeName forSoapArrayType(SOAPArrayType sType) {
-    if (sType == null) throw new IllegalArgumentException("null sType");
-    StringBuffer sb = new StringBuffer();
-    sb.append(SOAP_ARRAY + "." + sType.getDimensions().length);
-    int[] ranks = sType.getRanks();
-    for (int i = ranks.length - 1; i >= 0; i -= 1) {
-      sb.append("|" + SOAP_ARRAY + "." + ranks[i]);
-    }
-    QName name = sType.getQName();
-    sb.append("|" + TYPE + "=" + name.getLocalPart());
-    return forPathAndNamespace(sb.toString(), name.getNamespaceURI());
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * This function is used to see if a path is valid or not.
-   */
-  public boolean valid() {
-    XmlTypeName outerComponent = null;
-    int outerType = 0;
-    String localName = internalGetStringName();
-
-    boolean hasNumber = internalGetNumber() >= 0;
-    boolean hasName = (localName != null);
-    boolean isAnonymous = internalIsAnonymous();
-    boolean isQualified = internalIsQualified();
-    boolean isGlobal = isGlobal();
-
-    if (!isGlobal) {
-      outerComponent = getOuterComponent();
-      outerType = outerComponent.getComponentType();
-    }
-
-    boolean result;
-
-    if (localName != null && !XMLChar.isValidNCName(localName))
-      return false;
-
-    switch (getComponentType()) {
-      case NOTATION:
-        result = (isGlobal && hasName && isQualified);
-        break;
-
-      case ELEMENT:
-        result = (hasName && (isGlobal && isQualified || outerType == TYPE || outerType == PARTICLE));
-        break;
-
-      case ID_CONSTRAINT:
-        result = (hasName && outerType == ELEMENT);
-        break;
-
-      case MODEL_GROUP:
-        result = (hasName && isGlobal);
-        break;
-
-      case ALL:
-      case SEQUENCE:
-      case CHOICE:
-        result = (isAnonymous && (outerType == PARTICLE || outerType == MODEL_GROUP));
-        break;
-
-      case PARTICLE:
-        result = (hasNumber && (outerType == SEQUENCE || outerType == CHOICE || outerType == ALL || outerType == TYPE));
-        break;
-
-      case WILDCARD:
-        result = (isAnonymous && (outerType == PARTICLE || outerType == TYPE || outerType == ATTRIBUTE_GROUP));
-        break;
-
-      case ATTRIBUTE_USE:
-        result = (hasName && (outerType == TYPE || outerType == ATTRIBUTE_GROUP));
-        break;
-
-      case ATTRIBUTE:
-        result = (hasName && (isGlobal && isQualified || outerType == TYPE || outerType == ATTRIBUTE_USE));
-        break;
-
-      case ATTRIBUTE_GROUP:
-        result = (hasName && isQualified && isGlobal);
-        break;
-
-      case TYPE:
-        result = ((hasName && isQualified && isGlobal) || (isAnonymous && outerType == TYPE || outerType == ELEMENT || outerType == ATTRIBUTE || outerType == MEMBER));
-        break;
-
-      case DOCUMENT_TYPE:
-        result = (hasName && isQualified && isGlobal);
-        break;
-
-      case ATTRIBUTE_TYPE:
-        result = (hasName && isQualified && isGlobal);
-        break;
-
-      case MEMBER:
-        result = (isAnonymous && outerType == TYPE);
-        break;
-
-      case SOAP_ARRAY:
-        result = (hasNumber && (outerType == SOAP_ARRAY || outerType == TYPE && outerComponent.isGlobal()));
-        break;
-
-      case NO_TYPE:
-        result = (isAnonymous && isGlobal && namespace.length() == 0);
-        break;
-
-      default:
-        result = false;
-    }
-    if (!result)
-      return false;
-
-    if (isGlobal)
-      return true;
-
-    return outerComponent.valid();
-  }
-
-
-  /**
-   * True if it is a schema type
-   */
-  public boolean isSchemaType() {
-    switch (getComponentType()) {
-      case TYPE:
-      case DOCUMENT_TYPE:
-      case ATTRIBUTE_TYPE:
-      case NO_TYPE:
-        return true;
-      default:
-        return false;
-    }
-  }
-
-  /**
-   * Finds a type with the given name.
-   */
-  public SchemaType findTypeIn(SchemaTypeLoader loader) {
-    switch (getComponentType()) {
-      case NO_TYPE:
-        return XmlBeans.NO_TYPE;
-      case DOCUMENT_TYPE:
-        return loader.findDocumentType(getQName());
-      case ATTRIBUTE_TYPE:
-        return loader.findAttributeType(getQName());
-      default:
-        return null;
-      case TYPE:
-        break;
-    }
-
-    if (isGlobal())
-      return loader.findType(getQName());
-
-    XmlTypeName outerName = getOuterComponent();
-
-    // if the component is contained within a type, get it
-    for (XmlTypeName outerTypeName = outerName; ; outerTypeName = outerTypeName.getOuterComponent()) {
-      if (outerTypeName.isSchemaType()) {
-        SchemaType outerType = outerTypeName.findTypeIn(loader);
-        switch (outerName.getComponentType()) {
-          default:
-            throw new IllegalStateException("Illegal type name " + this);
-
-          case TYPE:
-            return outerType.getAnonymousTypes()[0];
-
-          case ELEMENT:
-            return outerType.getElementType(outerName.getQName(), null, loader);
-
-          case ATTRIBUTE:
-            return outerType.getAttributeType(outerName.getQName(), loader);
-
-          case MEMBER:
-            return outerType.getAnonymousTypes()[outerName.getNumber()];
-        }
-      }
-      if (outerTypeName.isGlobal()) {
-        switch (outerName.getComponentType()) {
-          default:
-            throw new IllegalStateException("Illegal type name " + this);
-
-          case ELEMENT:
-            return loader.findDocumentType(outerTypeName.getQName()).getElementType(outerTypeName.getQName(), null, loader);
-
-          case ATTRIBUTE:
-            return loader.findAttributeType(outerTypeName.getQName()).getAttributeType(outerTypeName.getQName(), loader);
-        }
-      }
-    }
-  }
-
-  public boolean isGlobal() {
-    int index = path.indexOf('|');
-    return index < 0;
-  }
-
-  public XmlTypeName getOuterComponent() {
-    int index = path.indexOf('|');
-    if (index < 0)
-      return null;
-    return forPathAndNamespace(path.substring(index + 1), namespace);
-  }
-
-  public int getComponentType() {
-    if (path.length() > 0)
-      return path.charAt(0);
-    return 0; // unknown type
-  }
-
-  /**
-   * Returns the number locating this component within its parent,
-   * or throws an exception if there is none.  Only union members (m)
-   * and particles (p) have numbers.
-   */
-  public int getNumber() {
-    int result = internalGetNumber();
-    if (result < 0)
-      throw new IllegalStateException("Path has no number");
-    return result;
-  }
-
-
-  /**
-   * Returns the name locating this component within its parent, or
-   * returns null if there is none.  Notice that if looking up elements
-   * by name in a type, you get the first element defintion when there
-   * are multiple ones.  A full particle path can disambiguate.
-   *
-   * This name will be qualified in a namespace if appropriate, but,
-   * for example, local unqualified attributes will have a QName that
-   * is unqualified.
-   *
-   * Element, attributes, identity constraints, model/attribute groups,
-   * and notations have names.
-   */
-  public QName getQName() {
-    String localName = internalGetStringName();
-    if (localName == null)
-      return null;
-
-    if (internalIsQualified())
-      return new QName(namespace, localName);
-    else
-      return new QName(localName);
-  }
-
-
-  // ========================================================================
-  // Private methods
-
-  private static XmlTypeName forPathAndNamespace(String path, String namespace) {
-    return new XmlTypeName(path, namespace);
-  }
-
-  private XmlTypeName(String path, String namespace) {
-    if (path == null || namespace == null)
-      throw new IllegalArgumentException();
-
-    this.path = path;
-    this.namespace = namespace;
-  }
-
-
-  /**
-   * Returns negative if there is no number
-   */
-  private int internalGetNumber() {
-    if (path.length() <= 1 || path.charAt(1) != '.')
-      return -1;
-
-    int index = path.indexOf('|');
-    if (index < 0)
-      index = path.length();
-
-    try {
-      return Integer.parseInt(path.substring(2, index));
-    } catch (Exception e) {
-      return -1;
-    }
-  }
-
-  private String internalGetStringName() {
-    if (path.length() <= 1 || path.charAt(1) != '=' && path.charAt(1) != '-')
-      return null;
-
-    int index = path.indexOf('|');
-    if (index < 0)
-      index = path.length();
-
-    return path.substring(2, index);
-  }
-
-  private boolean internalIsQualified() {
-    return (path.length() > 1 && path.charAt(1) == '=');
-  }
-
-  private boolean internalIsAnonymous() {
-    return (path.length() <= 1 || path.charAt(1) == '|');
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  /**
-   * Returns the signature string.
-   */
-  public String toString() {
-    if (namespace.length() == 0)
-      return path;
-
-    return path + '@' + namespace;
-  }
-
-  public boolean equals(Object o) {
-    if (this == o) return true;
-    if (!(o instanceof XmlTypeName)) return false;
-
-    final XmlTypeName xmlName = (XmlTypeName) o;
-
-    if (!namespace.equals(xmlName.namespace)) return false;
-    if (!path.equals(xmlName.path)) return false;
-
-    return true;
-  }
-
-  public int hashCode() {
-    int result;
-    result = namespace.hashCode();
-    result = 29 * result + path.hashCode();
-    return result;
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompiler.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompiler.java
deleted file mode 100644
index 45f879f..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompiler.java
+++ /dev/null
@@ -1,352 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.binding.tylar.*;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.CompositeBindingLoader;
-import org.apache.xmlbeans.impl.binding.logger.BindingLogger;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.*;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * Abstract base class for classes which produce a tylar based on
- * java and/or schema inputs.  It deals with the details of creating
- * the various kinds of tylars and allows the extending class to focus
- * only on binding work; extending classes are responsible only for filling
- * out a TylarWriter in the abstract bind() method.  This class also
- * provides convenient logging functionality.
- *
- * Note that the term 'compiler' here is arguably being abused, since
- * a BindingCompiler is stateful; in addition to the compilation logic, it
- * also includes a set of input artifacts (or at least pointers to them).
- *
- * Also note that BindingCompilers are not threadsafe.  It's not clear why
- * multiple threads would want to access one, anyway.  Just don't do it.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public abstract class BindingCompiler extends BindingLogger
-        implements TypeMatcherContext {
-
-  // ========================================================================
-  // Variables
-
-  private Tylar mBaseTylar = null;
-  private boolean mIsCompilationStarted = false;
-  private BindingLoader mBuiltinBindingLoader = null;
-  private List mSchemasToInclude = null;
-
-  // ========================================================================
-  // Constructors
-
-  public BindingCompiler() {}
-
-  // ========================================================================
-  // Abstract/Overrideable methods
-
-  /**
-   * Implemented by extending class, does the real binding work using the
-   * given TylarWriter.  Note that this method doesn't not allow an exception
-   * to be thrown; the extending class should call logError() with any
-   * unexpected exceptions -  BindingCompiler takes care of the rest.
-   */
-  protected abstract void internalBind(TylarWriter writer);
-
-  /**
-   * Creates the ExplodedTylarImpl/Writer to be used when one of the bindAs...
-   * methods is invoked.  This can be overridden by subclasses that need
-   * to do more than simply create an ExplodedTylarImpl (such as attach
-   * a JavaOutputStream).
-   */
-  protected ExplodedTylarImpl createDefaultExplodedTylarImpl(File destDir)
-          throws IOException
-  {
-    return ExplodedTylarImpl.create(destDir,null);
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * <p>Public method for beginning the binding compilation process with
-   * an arbitrary TylarWriter.  Delegates to the subclass to do the real work.
-   * After delegating to internalBind(), this method will finish by writing
-   * out any schemas which were specified for inclusion.</p>
-   *
-   * Note: the caller of this method is responsible for calling close() on
-   * the TylarWriter!
-   */
-  public final void bind(TylarWriter writer) {
-    mIsCompilationStarted = true;
-    internalBind(writer);
-    if (mSchemasToInclude != null) {
-      for(int i=0; i<mSchemasToInclude.size(); i++) {
-        SchemaToInclude sti = (SchemaToInclude)mSchemasToInclude.get(i);
-        try {
-          writer.writeSchema(sti.schema,sti.filepath);
-        } catch(IOException ioe) {
-          logError(ioe);
-        }
-      }
-    }
-  }
-
-  /**
-   * Performs the binding and returns an exploded tylar in the specified
-   * directory.  Returns null if any severe errors were encountered.
-   */
-  public ExplodedTylar bindAsExplodedTylar(File tylarDestDir)  {
-    ExplodedTylarImpl tylar;
-    try {
-      tylar = createDefaultExplodedTylarImpl(tylarDestDir);
-    } catch(IOException ioe) {
-      logError(ioe);
-      return null;
-    }
-    if (!tylarDestDir.exists()) {
-      if (!tylarDestDir.mkdirs()) {
-        logError("failed to create "+tylarDestDir);
-        return null;
-      }
-    }
-    bind(tylar); //ExplodedTylarImpl is also a TylarWriter
-    try {
-      // close it up.  this may cause the generated code to be compiled.
-      tylar.close();
-    } catch(IOException ioe) {
-      logError(ioe);
-    }
-    return !super.isAnyErrorsFound() || super.isIgnoreErrors() ? tylar : null;
-  }
-
-
-
-  /**
-   * Performs the binding and returns a tylar in the specified jar file.
-   * Note that this is done by simply creating an exploded tylar in a
-   * temporary directory and then jarring up the result.  Returns null if any
-   * severe errors were encountered.
-   */
-  public Tylar bindAsJarredTylar(File tylarJar) {
-    File tempDir = null;
-    try {
-      tempDir = createTempDir();
-      tempDir.deleteOnExit();//REVIEW maybe we should delete it ourselves?
-      ExplodedTylar et = bindAsExplodedTylar(tempDir);
-      if (et == null) {
-        logError("Fatal error encountered building tylar.");
-        return null;
-      } else {
-        return et.toJar(tylarJar);
-      }
-    } catch(IOException ioe) {
-      logError(ioe);
-      return null;
-    }
-  }
-
-  /**
-   * Sets the base type libraries that should be checked for resolving
-   * bindings before creating bindings in the new lib being compiled.
-   *
-   * This is an optional setting; if the lib is not provided, only the
-   * default (builtin) loader will be used.
-   */
-  public void setBaseLibrary(Tylar lib) {
-    if (lib == null) throw new IllegalArgumentException("null lib");
-    mBaseTylar = lib;
-  }
-
-  /**
-   * Specifies a schema to be included in the output tylar.  This will
-   * have no effect on the binding process.
-   *
-   * @param xsd
-   * @param filepath
-   */
-  public void includeSchema(SchemaDocument xsd, String filepath) {
-    if (xsd == null) throw new IllegalArgumentException("null xsd");
-    if (filepath == null) throw new IllegalArgumentException("null filepath");
-    if (mSchemasToInclude == null) mSchemasToInclude = new ArrayList();
-    mSchemasToInclude.add(new SchemaToInclude(xsd,filepath));
-  }
-
-
-  // ========================================================================
-  // BindingLogger overrides
-
-  /**
-   * Sets whether this compiler should return a result and keep artificats
-   * produced even when compilation encounters one or more severe errors.
-   * This is false bydefault, and generally should be made true only
-   * for debugging.
-   */
-  public void setIgnoreSevereErrors(boolean really) {
-    assertCompilationStarted(false);
-    super.setIgnoreErrors(really);
-  }
-
-  /**
-   * Enables verbose output to our MessageSink.
-   */
-  public void setVerbose(boolean b) {
-    assertCompilationStarted(false);
-    super.setVerbose(b);
-  }
-
-  // ========================================================================
-  // TypeMatcherContext implementation
-
-    public BindingLogger getLogger() { return this; }
-
-  /**
-   * Subclasses should call this method to retrieve the BindingLoader
-   * to use as a basis for the binding process.  Normally, this will
-   * simply be the builtin loader.  However, if the user has
-   * setBaseLibrary, the returned loader will also include those
-   * bindings as well.  Note that this method must not be called until
-   * binding has actually begun.
-   *
-   * @throws IllegalStateException if this method is called before
-   * the abstract bind() method is called.
-   */
-  public BindingLoader getBaseBindingLoader() {
-    assertCompilationStarted(true);
-    BindingLoader builtin =
-      (mBuiltinBindingLoader != null) ? mBuiltinBindingLoader :
-        BuiltinBindingLoader.getBuiltinBindingLoader(false);
-    if (mBaseTylar == null) return builtin;
-    BindingLoader[] loaders = null;
-    try {
-      loaders = new BindingLoader[]{ mBaseTylar.getBindingLoader(), builtin };
-    } catch(Exception ioe) {
-      logError(ioe);
-    }
-    return (loaders == null) ? builtin : CompositeBindingLoader.forPath(loaders);
-  }
-
-  /**
-   * Returns a SchemaTypeLoader to be used as a basis for the binding process.
-   * Normally, this will simply be the builtin loader.  However, if the user
-   * has setBaseLibrary, the returned loader will also include the schema
-   * types in those libraries.  Note that this method must not be called until
-   * binding has actually begun.
-   *
-   * @throws IllegalStateException if this method is called before
-   * the abstract bind() method is called.
-   */
-  public SchemaTypeLoader getBaseSchemaTypeLoader()
-  {
-    assertCompilationStarted(true);
-    if (mBaseTylar != null) {
-    } else {
-      try {
-        return mBaseTylar.getSchemaTypeLoader();
-      } catch(IOException ioe) { logError(ioe);
-      } catch(XmlException xe) { logError(xe);
-      }
-    }
-    return XmlBeans.getBuiltinTypeSystem();
-
-  }
-
-  /**
-   * Returns a JClassLoader to be used as a basis for the binding process.
-   * Normally, this will simply be the loader backed by the system
-   * classloader.  However, if the user has setBaseLibrary, the returned
-   * loader will also load java classes that may be stored those libraries.
-   * Note that this method must not be called until binding has actually
-   * begun.
-   *
-   * @throws IllegalStateException if this method is called before
-   * the abstract bind() method is called.
-   */
-  public JamClassLoader getBaseJavaTypeLoader()
-  {
-    assertCompilationStarted(true);
-    if (mBaseTylar == null) {
-      return JamServiceFactory.getInstance().createSystemJamClassLoader();
-    } else {
-      return mBaseTylar.getJamClassLoader();
-    }
-  }
-
-  /**
-   * Asserts that binding compilation has or has not yet begun.  Some
-   * operations can only occur when the compiler is being initialized, and
-   * some can only occur after initialization is complete (i.e. binding
-   * after bind() has been called).
-   *
-   * @throws IllegalStateException if the assertion fails.
-   */
-  protected void assertCompilationStarted(boolean isStarted) {
-    if (mIsCompilationStarted != isStarted) {
-      throw new IllegalStateException
-              ("This method cannot be invoked "+
-               (mIsCompilationStarted ? "after" : "before")+
-               "binding compilation has begun");
-    }
-  }
-
-  /**
-   * <p>Sets the builtin binding loader to use. This method should
-   * remain protected - user code should not be setting this directly,
-   * though they may set it indirectly via, for example, a 'binding style'
-   * switch.</p>
-   * @param bl
-   */
-  protected void setBuiltinBindingLoader(BindingLoader bl) {
-    mBuiltinBindingLoader = bl;
-  }
-
-
-
-  // ========================================================================
-  // Private methods
-
-  private static File createTempDir() throws IOException
-  {
-    //FIXME this is not great
-    String prefix = "BindingCompiler-"+System.currentTimeMillis();
-    File directory = null;
-    File f = File.createTempFile(prefix, null);
-    directory = f.getParentFile();
-    f.delete();
-    File out = new File(directory, prefix);
-    if (!out.mkdirs()) throw new IOException("Uknown problem creating temp file");
-    return out;
-  }
-
-
-  private class SchemaToInclude {
-    SchemaToInclude(SchemaDocument sd, String fp) {
-      schema = sd;
-      filepath = fp;
-
-    }
-    SchemaDocument schema;
-    String filepath;
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompilerTask.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompilerTask.java
deleted file mode 100644
index 3ce12fb..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/BindingCompilerTask.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.taskdefs.MatchingTask;
-import org.apache.xmlbeans.impl.binding.tylar.Tylar;
-import org.apache.xmlbeans.impl.binding.logger.SimpleMessageSink;
-import org.apache.xmlbeans.impl.binding.logger.MessageSink;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Abstract base class for Ant Task classes which drive a BindingCompiler.
- * By using this base class for all binding tasks, we can help ensure
- * consistency among the various tasks which produce tylars.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public abstract class BindingCompilerTask extends MatchingTask {
-
-  // ========================================================================
-  // Constants
-
-  //used by createSchemaTypeSystem
-  private static final SchemaTypeLoader SCHEMA_LOADER =
-          XmlBeans.typeLoaderForClassLoader
-          (SchemaDocument.class.getClassLoader());
-
-  // ========================================================================
-  // Variables
-
-  private File mDestDir = null;
-  private File mDestJar = null;
-  private boolean mVerbose = false;
-  private boolean mIgnoreErrors = false;
-
-  // ========================================================================
-  // Abstract methods
-
-  /**
-   * Subclasses are only responsible for getting additional attributes
-   * from the ant script and creating a BindingCompiler; this is how we get
-   * that compiler.  It is guaranteed that this method will not be called
-   * until after the execute() method has begun.
-   */
-  protected abstract BindingCompiler getCompilerToExecute()
-          throws BuildException;
-
-  // ========================================================================
-  // Task Attributes - these are common to all of the tasks
-
-  public void setDestDir(File dir) {
-    if (mDestJar != null) {
-      throw new BuildException("You can set only one of destjar and destdir");
-    }
-    mDestDir = dir;
-  }
-
-  public void setDestJar(File jar) throws BuildException {
-    if (mDestDir != null) {
-      throw new BuildException("You can set only one of destjar and destdir");
-    }
-    mDestJar = jar;
-  }
-
-  public void setVerbose(boolean v) {
-    mVerbose = v;
-  }
-
-  public void setIgnoreErrors(boolean v) { mIgnoreErrors = v; }
-
-  // ========================================================================
-  // Task implementation
-
-  /**
-   * Drives the compilation process.  Note that this is final - subclasses
-   * should not override - they're only responsible for providing a
-   * BindingCompiler.
-   */
-//FIXME temporarily non-final to accomodate transition of Both2BindTask
-  public void execute() throws BuildException {
-    if (mDestDir == null && mDestJar == null) {
-      throw new BuildException("must specify destdir or destjar");
-    }
-    Tylar tylar = null;
-    try {
-      BindingCompiler bc = getCompilerToExecute();
-      bc.setIgnoreSevereErrors(mIgnoreErrors);
-      bc.setMessageSink(createMessageSink());
-      bc.setVerbose(mVerbose);
-      if (mDestDir != null) {
-        tylar = bc.bindAsExplodedTylar(mDestDir);
-      } else if (mDestJar != null) {
-        tylar = bc.bindAsJarredTylar(mDestJar);
-      } else {
-        throw new IllegalStateException();
-      }
-    } catch(Exception unexpected) {
-      unexpected.printStackTrace();
-      throw new BuildException(unexpected);
-    }
-    if (tylar == null) {
-      throw new BuildException("fatal errors encountered, "+
-                               "see log for details.");
-    }
-    log("binding task complete, output at "+tylar.getLocations());
-  }
-
-  // ========================================================================
-  // Protected methods
-
-  protected static SchemaDocument parseSchemaFile(File file)
-    throws IOException, XmlException
-  {
-    XmlOptions options = new XmlOptions();
-    options.setLoadLineNumbers();
-    options.setLoadMessageDigest();
-    return (SchemaDocument)SCHEMA_LOADER.parse
-      (file, SchemaDocument.type, options);
-  }
-
-  public static SchemaTypeSystem createSchemaTypeSystem(SchemaDocument[] xsds)
-    throws XmlException
-  {
-    SchemaTypeLoader soapencLoader = org.apache.xmlbeans.impl.schema.SoapEncSchemaTypeSystem.get();
-    SchemaTypeLoader xsdLoader = XmlBeans.getBuiltinTypeSystem();
-    return XmlBeans.compileXsd(xsds,
-                               XmlBeans.typeLoaderUnion
-                               (new SchemaTypeLoader[] {xsdLoader, soapencLoader}),
-                               null);
-  }
-
-
-
-  // ========================================================================
-  // Private methods
-
-  //this is here only because BindingTest uses it-that is stupid, tests
-  //should not rely on our internals.  need to refactor it
-  public static SchemaTypeSystem createSchemaTypeSystem(File[] xsds)
-    throws IOException, XmlException
-  {
-    SchemaDocument[] sd = new SchemaDocument[xsds.length];
-    for(int i=0; i<xsds.length; i++) {
-      sd[i] = parseSchemaFile(xsds[i]);
-    }
-    return createSchemaTypeSystem(sd);
-  }
-
-  private MessageSink createMessageSink() {
-    //FIXME this should be an AntBindingLogger
-    return new SimpleMessageSink();
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2Bind.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2Bind.java
deleted file mode 100644
index f3cc2f8..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2Bind.java
+++ /dev/null
@@ -1,650 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.impl.binding.bts.*;
-import org.apache.xmlbeans.impl.binding.tylar.TylarWriter;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JProperty;
-import org.apache.xmlbeans.impl.jam.JMethod;
-
-import javax.xml.namespace.QName;
-import java.io.IOException;
-import java.math.BigInteger;
-import java.util.*;
-
-public class Both2Bind extends BindingCompiler /*implements BindingFileResult*/ {
-
-  // ========================================================================
-  // Variables
-
-  private TypeMatcher mMatcher;
-  private Map scratchFromXmlName = new LinkedHashMap();
-  private Map scratchFromJavaName = new LinkedHashMap();
-  private Map scratchFromBindingName = new LinkedHashMap();
-  private BindingFile bindingFile = new BindingFile();
-  private LinkedList resolveQueue = new LinkedList();
-  private JClass[] mJavaTypes = null;
-  private SchemaTypeSystem mSchemaTypes = null;
-
-  // ========================================================================
-  // Constructor
-
-  public Both2Bind() {}
-
-  // ========================================================================
-  // Compilation attributes
-
-  /**
-   * Sets the java types to be compiled.  This is required.
-   */
-  public void setJavaTypesToMatch(JClass[] jclasses) {
-    if (jclasses == null) throw new IllegalArgumentException("null jclasses");
-    mJavaTypes = jclasses;
-  }
-
-  /**
-   * Sets the schema types to be compiled.  This is required.
-   */
-  public void setSchemaTypesToMatch(SchemaTypeSystem sts) {
-    if (sts == null) throw new IllegalArgumentException("null sts");
-    mSchemaTypes = sts;
-  }
-
-
-  /**
-   * Sets a custom TypeMatcher to use for lining up the java and schema types.
-   * This is optional; if omitted, a default TypeMatcher will be used.
-   * @param matcher
-   */
-  public void setTypeMatcher(TypeMatcher matcher) {
-    mMatcher = matcher;
-  }
-
-  // ========================================================================
-  // BindingCompiler implementation
-
-  protected void internalBind(TylarWriter tw) {
-    bind();
-    try {
-      tw.writeBindingFile(bindingFile);
-      tw.writeSchemaTypeSystem(mSchemaTypes);
-    } catch (IOException ioe) {
-      logError(ioe);
-    }
-  }
-
-  // ========================================================================
-  // Deprecated methods
-
-  /**
-   * @deprecated BindingFile should not be used directly any more - you
-   * need to use tylars.  The entry point you should probably use now is
-   * BindingCompiler.bindAsJarredTylar().
-   */
-  public BindingFile getBindingFile() {
-    return bindingFile;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void bind() {
-    if (mMatcher == null) mMatcher = new DefaultTypeMatcher();
-    mMatcher.init(this);
-    // Let the passed mMatcher propose any matches it wishes to
-
-    resolveInitiallyMatchedTypes();
-
-    // consider: when to generate warnings for missing matches?
-
-    // Now we recurse through data structures and match up properties,
-    // also adding new types to match based on position in props.
-    while (moreToResolve()) {
-      Scratch scratch = dequeueToResolve();
-      resolveBinding(scratch);
-    }
-  }
-
-
-  /**
-   * Scratch area corresponding to a schema type, used for the binding
-   * computation.
-   */
-  private static class Scratch {
-    Scratch(JClass jClass, JavaTypeName javaName, SchemaType schemaType, XmlTypeName xmlName, int category) {
-      this.jClass = jClass;
-      this.javaName = javaName;
-      this.schemaType = schemaType;
-      this.xmlName = xmlName;
-      this.category = category;
-      this.bindingTypeName = BindingTypeName.forPair(javaName, xmlName);
-    }
-
-    private BindingType bindingType;
-    private SchemaType schemaType; // may be null
-    private JavaTypeName javaName;
-    private XmlTypeName xmlName;
-    private JClass jClass;
-    private BindingTypeName bindingTypeName;
-    private TypeMatcher.MatchedProperties onBehalfOf;
-
-    private int category;
-
-    // atomic types get a treatAs
-    private XmlTypeName asIf;
-    private boolean isStructureResolved;
-
-    // categories of Scratch, established at ctor time
-    public static final int ATOMIC_TYPE = 1;
-    public static final int STRUCT_TYPE = 2;
-    public static final int LITERALARRAY_TYPE = 3;
-    public static final int SOAPARRAY_REF = 4;
-    public static final int SOAPARRAY = 5;
-    public static final int ELEMENT = 6;
-    public static final int ATTRIBUTE = 7;
-
-    public int getCategory() {
-      return category;
-    }
-
-    public JClass getJClass() {
-      return jClass;
-    }
-
-    public JavaTypeName getJavaName() {
-      return javaName;
-    }
-
-    public BindingTypeName getBindingTypeName() {
-      return bindingTypeName;
-    }
-
-    public BindingType getBindingType() {
-      return bindingType;
-    }
-
-    public void setBindingType(BindingType bindingType) {
-      this.bindingType = bindingType;
-    }
-
-    public SchemaType getSchemaType() {
-      return schemaType;
-    }
-
-    public XmlTypeName getXmlName() {
-      return xmlName;
-    }
-
-    public XmlTypeName getAsIf() {
-      return asIf;
-    }
-
-    public void setAsIf(XmlTypeName xmlName) {
-      this.asIf = xmlName;
-    }
-
-    public void addQNameProperty(QNameProperty prop) {
-      if (!(bindingType instanceof ByNameBean))
-        throw new IllegalStateException();
-      ((ByNameBean) bindingType).addProperty(prop);
-    }
-
-    public Collection getQNameProperties() {
-      if (!(bindingType instanceof ByNameBean))
-        throw new IllegalStateException();
-      return ((ByNameBean) bindingType).getProperties();
-    }
-
-    public boolean isStructureResolved() {
-      return this.isStructureResolved;
-    }
-
-    public void setStructureResolved(boolean isStructureResolved) {
-      this.isStructureResolved = isStructureResolved;
-    }
-
-    public void setOnBehalfOf(TypeMatcher.MatchedProperties onBehalfOf) {
-      this.onBehalfOf = onBehalfOf;
-    }
-
-    public TypeMatcher.MatchedProperties getOnBehalfOf() {
-      return onBehalfOf;
-    }
-  }
-
-
-
-  private static XmlTypeName normalizedXmlTypeName(SchemaType sType) {
-    if (sType.isDocumentType())
-      return XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, sType.getDocumentElementName());
-    if (sType.isAttributeType())
-      return XmlTypeName.forGlobalName(XmlTypeName.ATTRIBUTE, sType.getDocumentElementName());
-    return XmlTypeName.forSchemaType(sType);
-  }
-
-  /**
-   * Returns a schema type which is the closest base type for the given schema
-   * type which is builtin and compatible with the given Java class.
-   *
-   * Or returns null if no builtin base class is known to be compatible.
-   */
-  private static SchemaType computeCompatibleBuiltin(JavaTypeName javaName, SchemaType sType) {
-    // only interesting builtins are simple
-    if (!sType.isSimpleType() && sType.getContentType() != SchemaType.SIMPLE_CONTENT)
-      return null;
-
-    // See if the java class is actually a compatible primitive
-    BindingLoader builtins = BuiltinBindingLoader.getBuiltinBindingLoader(false);         
-
-    // find the closest simple base type
-    while (!sType.isSimpleType())
-      sType = sType.getBaseType();
-
-    // look for a base type compatible with the given primitive
-    while (sType != null) {
-      if (null != builtins.getBindingType(BindingTypeName.forPair(javaName, XmlTypeName.forSchemaType(sType))))
-        return sType;
-      sType = sType.getBaseType();
-    }
-
-    return null;
-  }
-
-  /**
-   * Arrays currently not automatically handled.
-   */
-  private static boolean isCompatibleArray(JClass jClass, SchemaType sType) {
-    return false;
-  }
-
-  /**
-   * This function goes through all relevant schema types, plus soap
-   * array types, and creates a scratch area for each.  Each
-   * scratch area is also marked at this time with an XmlTypeName,
-   * a schema type, and a category.
-   */
-  private void resolveInitiallyMatchedTypes() {
-    if (mJavaTypes == null) {
-      throw new IllegalStateException("javaTypesToMatch was never set");
-    }
-    if (mSchemaTypes == null) {
-      throw new IllegalStateException("schemaTypesToMatch was never set");
-    }
-
-    TypeMatcher.MatchedType[] matchedTypes =
-            mMatcher.matchTypes(mJavaTypes, mSchemaTypes);
-    for (int i = 0; i < matchedTypes.length; i++) {
-      Scratch scratch = createScratch(matchedTypes[i].getJClass(), matchedTypes[i].getSType());
-      scratchFromBindingName.put(scratch.getBindingTypeName(), scratch);
-    }
-
-    // Now run through and make sure we're unique in both S+J
-    // and add the matches to the "unique" tables.
-    for (Iterator i = scratchIterator(); i.hasNext();) {
-      Scratch scratch = (Scratch) i.next();
-      boolean skip = false;
-
-      createBindingType(scratch, true);
-
-      if (!scratchFromXmlName.containsKey(scratch.getXmlName()))
-        scratchFromXmlName.put(scratch.getXmlName(), scratch);
-      else {
-        skip = true;
-        logError("Both " + scratch.getJavaName() + " and " +
-                 ((Scratch) scratchFromXmlName.get(scratch.getXmlName())).getJavaName() +
-                 " match Schema " + scratch.getXmlName(),
-                 scratch.getJClass(),scratch.getSchemaType());
-      }
-      // only non-document types are uniquified
-      if (!scratch.getSchemaType().isDocumentType()) {
-        if (!scratchFromJavaName.containsKey(scratch.getJavaName()))
-          scratchFromJavaName.put(scratch.getJavaName(), scratch);
-        else {
-          skip = true;
-          logError("Both " + scratch.getXmlName() + " and " +
-                   ((Scratch) scratchFromJavaName.get(scratch.getJavaName())).getXmlName()+
-                   " match Java " + scratch.getJavaName(),
-                   scratch.getJClass(),
-                   scratch.getSchemaType());
-        }
-      }
-      if (!skip) queueToResolve(scratch);
-    }
-  }
-
-  private static Scratch createScratch(JClass jClass, SchemaType sType) {
-    XmlTypeName xmlName = normalizedXmlTypeName(sType);
-    JavaTypeName javaName = JavaTypeName.forJClass(jClass);
-    Scratch scratch;
-    SchemaType simpleBuiltin = computeCompatibleBuiltin(javaName, sType);
-    if (simpleBuiltin != null) {
-      // simple types are atomic
-      // todo: what about simple content, custom codecs, etc?
-      scratch = new Scratch(jClass, javaName, sType, xmlName, Scratch.ATOMIC_TYPE);
-      scratch.setAsIf(XmlTypeName.forSchemaType(simpleBuiltin));
-    } else if (sType.isDocumentType()) {
-      scratch = new Scratch(jClass, javaName, sType, xmlName, Scratch.ELEMENT);
-      scratch.setAsIf(XmlTypeName.forSchemaType(sType.getProperties()[0].getType()));
-    } else if (sType.isAttributeType()) {
-      scratch = new Scratch(jClass, javaName, sType, xmlName, Scratch.ATTRIBUTE);
-      scratch.setAsIf(XmlTypeName.forSchemaType(sType.getProperties()[0].getType()));
-    } else if (isCompatibleArray(jClass, sType)) {
-      scratch = new Scratch(jClass, javaName, sType, xmlName, Scratch.LITERALARRAY_TYPE);
-    } else {
-      scratch = new Scratch(jClass, javaName, sType, xmlName, Scratch.STRUCT_TYPE);
-    }
-    return scratch;
-  }
-
-
-  /**
-   * Computes a BindingType for a scratch.
-   */
-  private void createBindingType(Scratch scratch, boolean shouldDefault) {
-    if (scratch == null) throw new IllegalArgumentException("null scratch");
-    if (scratch.getBindingType() != null) {
-      throw new IllegalArgumentException("non-null scratch binding type");
-    }
-
-    BindingTypeName btName = BindingTypeName.forPair(scratch.getJavaName(), scratch.getXmlName());
-
-    switch (scratch.getCategory()) {
-      case Scratch.ATOMIC_TYPE:
-      case Scratch.SOAPARRAY_REF:
-      case Scratch.ATTRIBUTE:
-        SimpleBindingType simpleResult = new SimpleBindingType(btName);
-        simpleResult.setAsIfXmlType(scratch.getAsIf());
-        scratch.setBindingType(simpleResult);
-        bindingFile.addBindingType(simpleResult, shouldDefault, shouldDefault);
-        break;
-
-      case Scratch.ELEMENT:
-        SimpleDocumentBinding docResult = new SimpleDocumentBinding(btName);
-        docResult.setTypeOfElement(scratch.getAsIf());
-        scratch.setBindingType(docResult);
-        bindingFile.addBindingType(docResult, shouldDefault, shouldDefault);
-        break;
-
-      case Scratch.STRUCT_TYPE:
-        ByNameBean byNameResult = new ByNameBean(btName);
-        scratch.setBindingType(byNameResult);
-        bindingFile.addBindingType(byNameResult, shouldDefault, shouldDefault);
-        break;
-
-      case Scratch.LITERALARRAY_TYPE:
-        throw new UnsupportedOperationException();
-
-      case Scratch.SOAPARRAY:
-        throw new UnsupportedOperationException();
-
-      default:
-        throw new IllegalStateException("Unrecognized category");
-    }
-  }
-
-  /**
-   * Looks on both the path and in the current scratch area for
-   * the binding type corresponding to the given pair.  Must
-   * be called after all the binding types have been created.
-   */
-  private BindingType bindingTypeForMatchedTypes(JClass jClass, SchemaType sType, TypeMatcher.MatchedProperties onBehalfOf) {
-    // note that jClass may differ from property type because of arrays
-    BindingTypeName btName = BindingTypeName.forTypes(jClass, sType);
-
-    // First look in locally compiled bindings
-    Scratch scratch = (Scratch) scratchFromBindingName.get(btName);
-    if (scratch != null)
-      return scratch.getBindingType();
-
-    // Then look on path
-    BindingType result = getBaseBindingLoader().getBindingType(btName);
-    if (result != null)
-      return result;
-
-    // Not found?  Then allocate and queue for processing
-    scratch = createScratch(jClass, sType);
-    scratch.setOnBehalfOf(onBehalfOf);
-    createBindingType(scratch, false);
-    queueToResolve(scratch);
-
-    return scratch.getBindingType();
-  }
-
-  private void queueToResolve(Scratch scratch) {
-    resolveQueue.add(scratch);
-  }
-
-  private boolean moreToResolve() {
-    return !resolveQueue.isEmpty();
-  }
-
-  private Scratch dequeueToResolve() {
-    return (Scratch) resolveQueue.removeFirst();
-  }
-
-
-  /**
-   * Returns an iterator for all the Scratch's
-   */
-  private Iterator scratchIterator() {
-    return scratchFromBindingName.values().iterator();
-  }
-
-
-  private void resolveBinding(Scratch scratch) {
-    switch (scratch.getCategory()) {
-      case Scratch.ATOMIC_TYPE:
-        return; // nothing to do that's not already done
-
-      case Scratch.ELEMENT:
-        // must ensure that the element's type is bound to the underlying JClass
-        bindingTypeForMatchedTypes(scratch.getJClass(), scratch.getSchemaType().getProperties()[0].getType(), null);
-        return;
-
-      case Scratch.STRUCT_TYPE:
-        resolveStructure(scratch);
-        return;
-
-      case Scratch.LITERALARRAY_TYPE:
-      default:
-        return;
-    }
-  }
-
-  private static class SchemaPropertyName {
-    QName qName;
-    boolean isAttribute;
-
-    public static SchemaPropertyName forProperty(SchemaProperty sProp) {
-      return new SchemaPropertyName(sProp.getName(), sProp.isAttribute());
-    }
-
-    private SchemaPropertyName(QName qName, boolean attribute) {
-      this.qName = qName;
-      isAttribute = attribute;
-    }
-
-    public QName getQName() {
-      return qName;
-    }
-
-    public boolean isAttribute() {
-      return isAttribute;
-    }
-
-    public boolean equals(Object o) {
-      if (this == o) return true;
-      if (!(o instanceof SchemaPropertyName)) return false;
-
-      final SchemaPropertyName schemaPropertyName = (SchemaPropertyName) o;
-
-      if (isAttribute != schemaPropertyName.isAttribute) return false;
-      if (!qName.equals(schemaPropertyName.qName)) return false;
-
-      return true;
-    }
-
-    public int hashCode() {
-      int result;
-      result = qName.hashCode();
-      result = 29 * result + (isAttribute ? 1 : 0);
-      return result;
-    }
-  }
-
-  /**
-   * Returns the set of elements and attributes which have a
-   * minimum occurance greater than zero.  (In other words,
-   * binding to them is not optional if you ever want to
-   * serialize your XML out.)  The result Set contains
-   * SchemaPropertyNames.
-   */
-  private static Set computeRequiredProperties(SchemaType sType) {
-    Set result = new HashSet();
-
-    SchemaProperty[] sProps = sType.getProperties();
-    for (int i = 0; i < sProps.length; i++) {
-      if (sProps[i].getMinOccurs().signum() > 0)
-        result.add(SchemaPropertyName.forProperty(sProps[i]));
-    }
-
-    return result;
-  }
-
-  private void resolveStructure(Scratch scratch) {
-
-    if (scratch.getSchemaType().isSimpleType() || scratch.getSchemaType() == XmlObject.type) {
-      logError("Java class " + scratch.getJavaName() +
-               " does not match Schema type " +
-               scratch.getXmlName(),
-               scratch.getJClass(),
-               scratch.getSchemaType());
-      return;
-    }
-
-    // todo: check inheritance validity (inheritance in java + xml should match up)
-
-    // todo: when looking at java + schema properties, be aware of inheritance issues
-
-    // now, match up the names
-    TypeMatcher.MatchedProperties[] matchedProperties =
-            mMatcher.matchProperties(scratch.getJClass(), scratch.getSchemaType());
-
-    // The only requirements:
-    // (1) every required schema attribute or element must be accounted for
-    // (2) cardinality must match
-
-    Set requiredProperties = computeRequiredProperties(scratch.getSchemaType());
-
-    for (int i = 0; i < matchedProperties.length; i++) {
-      SchemaProperty sProp = matchedProperties[i].getSProperty();
-      JProperty jProp = matchedProperties[i].getJProperty();
-
-      // first, remove a matched schema property name when seen
-      requiredProperties.remove(SchemaPropertyName.forProperty(sProp));
-
-      // Extract property types to recurse on
-      JClass jPropType = jProp.getType();
-      SchemaType sPropType = sProp.getType();
-
-      // Check cardinality, skip into type
-      boolean multiple = isMultiple(sProp);
-      JavaTypeName collection = null;
-      if (multiple) {
-        if (!jPropType.isArrayType()) {
-          logError("Property " + jProp + " in " + scratch.getJClass() +
-                   " is an array, but " + sProp.getName() + " in " +
-                   scratch.getSchemaType() + " is a singleton.",
-                   jProp,sProp);
-        } else {
-          collection = JavaTypeName.forJClass(jPropType);
-          jPropType = jPropType.getArrayComponentType();
-        }
-      }
-
-      // A mMatcher can say that a declared type is "really" another type.
-      // The normal mMatcher just returns the same thing back.
-      jPropType = mMatcher.substituteClass(jPropType);
-
-      // Queues the binding type for this property for processing if needed
-      BindingType bType = bindingTypeForMatchedTypes(jPropType, sPropType, matchedProperties[i]);
-
-      QNameProperty prop = new QNameProperty();
-      prop.setQName(sProp.getName());
-      prop.setAttribute(sProp.isAttribute());
-      prop.setSetterName(MethodName.create(jProp.getSetter()));
-      prop.setGetterName(MethodName.create(jProp.getGetter()));
-      JMethod isSetter = matchedProperties[i].getIsSetter();
-      if (isSetter != null) prop.setIssetterName(MethodName.create(isSetter));
-      prop.setCollectionClass(collection);
-      prop.setBindingType(bType);
-      prop.setNillable(sProp.hasNillable() != SchemaProperty.NEVER);
-      prop.setOptional(isOptional(sProp));
-      prop.setMultiple(multiple);
-
-      scratch.addQNameProperty(prop);
-    }
-
-    if (!requiredProperties.isEmpty()) {
-      int missing = requiredProperties.size();
-      String reason;
-      if (missing > 1) {
-        reason = "No match for "+missing+
-                " schema element or attribute names.";
-      } else {
-        SchemaPropertyName spName =
-                (SchemaPropertyName)requiredProperties.iterator().next();
-        if (spName.isAttribute()) {
-          reason = "No match for required attribute "+
-                  spName.getQName().getLocalPart();
-        } else {
-          reason = "No match for required element "+
-                  spName.getQName().getLocalPart();
-        }
-      }
-      if (scratch.getOnBehalfOf() == null) {
-        logError("Java class " + scratch.getJavaName() +
-                 " does not match schema type " +
-                 scratch.getXmlName() + " (" + reason + ")",
-                 scratch.getJClass(),scratch.getSchemaType());
-      } else {
-        logError("Java class " + scratch.getJavaName() +
-                 " does not match schema type " +
-                 scratch.getXmlName() + " (" + reason + ")",
-                 scratch.getOnBehalfOf().getJProperty(),
-                 scratch.getOnBehalfOf().getSProperty());
-      }
-    }
-  }
-
-  private static boolean isMultiple(SchemaProperty sProp) {
-    BigInteger max = sProp.getMaxOccurs();
-    if (max == null) return true;
-    return (max.compareTo(BigInteger.ONE) > 0);
-  }
-
-  private static boolean isOptional(SchemaProperty sProp) {
-    BigInteger min = sProp.getMinOccurs();
-    return (min.signum() == 0);
-  }
-
-}
-
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2BindTask.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2BindTask.java
deleted file mode 100644
index e08fc65..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Both2BindTask.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.tools.ant.types.Path;
-import org.apache.tools.ant.types.Reference;
-import org.apache.tools.ant.types.FileSet;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.DirectoryScanner;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-import java.util.ArrayList;
-
-public class Both2BindTask extends BindingCompilerTask {
-
-  // =========================================================================
-  // Variables
-
-  private Both2Bind mCompiler;
-  private Path mSrc = null;
-  private Path mClasspath = null;
-  private List mXsdFiles = null;
-  private List mJavaFiles = null;
-  private List mSchemaFilesets = new ArrayList();
-  private File mSchema = null;
-
-  // ========================================================================
-  // Constructors
-
-  public Both2BindTask() {
-    // create the BindingCompiler object that we're going to populate and
-    // return in createCompiler()
-    mCompiler = new Both2Bind();
-  }
-
-  // =========================================================================
-  // BindingCompilerTask implementation
-
-  protected BindingCompiler getCompilerToExecute() throws BuildException {
-    // validate some parameters
-    if (mSrc == null || mSrc.size() == 0) {
-      throw new BuildException("srcdir attribute must be set!",
-              getLocation());
-    }
-    // scan source directories and dest directory to build up
-    startScan();
-    String[] list = mSrc.list();
-    for (int i = 0; i < list.length; i++) {
-      File srcDir = getProject().resolveFile(list[i]);
-      if (!srcDir.exists()) {
-        throw new BuildException("srcdir \""
-                + srcDir.getPath()
-                + "\" does not exist!", getLocation());
-      }
-      DirectoryScanner ds = this.getDirectoryScanner(srcDir);
-      String[] files = ds.getIncludedFiles();
-      scanJavaDir(srcDir, files);
-    }
-    // now scan XSD files
-    // single file
-    if (mSchema != null) {
-      if (!mSchema.exists())
-        throw new BuildException("schema " + mSchema + " does not exist!", getLocation());
-      mXsdFiles.add(mSchema);
-    }
-
-    for (int i = 0; i < mSchemaFilesets.size(); i++) {
-      scanSchemaFileset((FileSet) mSchemaFilesets.get(i));
-    }
-    File[] xsdFiles = (File[]) mXsdFiles.toArray(new File[mXsdFiles.size()]);
-    File[] javaFiles = (File[]) mJavaFiles.toArray(new File[mJavaFiles.size()]);
-
-    // bind
-    try {
-      //FIXME when we allow them to set up a base tylar, we need to take
-      //those loaders into account here
-      SchemaDocument[] xsds = new SchemaDocument[xsdFiles.length];
-      for(int i=0; i<xsds.length; i++) {
-        xsds[i] = parseSchemaFile(xsdFiles[i]);
-        mCompiler.includeSchema(xsds[i],xsdFiles[i].getName());//REVIEW is just the name ok?  what about conflicts?
-      }
-      mCompiler.setSchemaTypesToMatch(createSchemaTypeSystem(xsds));
-      mCompiler.setJavaTypesToMatch(loadJClasses(javaFiles));
-    } catch (IOException e) {
-      log(e.getMessage());
-      throw new BuildException(e);
-    } catch (XmlException e) {
-      log(e.getMessage());
-      throw new BuildException(e);
-    }
-    return mCompiler;
-  }
-
-  // =========================================================================
-  // Task attributes
-
-  /**
-   * Set the source directories to find the source Java files.
-   */
-  public void setSrcdir(Path srcDir) {
-    if (mSrc == null) {
-      mSrc = srcDir;
-    } else {
-      mSrc.append(srcDir);
-    }
-  }
-
-  /**
-   * Sets a single schema.
-   */
-  public void setSchema(File file) {
-    mSchema = file;
-  }
-
-  /**
-   * Adds a fileset for source XSD files
-   */
-  public void addSchema(FileSet fileSet) {
-    mSchemaFilesets.add(fileSet);
-  }
-
-  /**
-   * Sets the typematcher to use.  Must be a fully-qualified
-   * class name for a class that implements the TypeMatcher interface.
-   */
-  public void setTypeMatcher(String typeMatcherClassName) {
-    if (typeMatcherClassName != null) {
-      try {
-        Class mclass = Class.forName(typeMatcherClassName);
-        Object matcher = mclass.newInstance();
-        if (!(matcher instanceof TypeMatcher)) {
-          throw new BuildException(typeMatcherClassName+" does not implement "+
-                  TypeMatcher.class.getName());
-        }
-        mCompiler.setTypeMatcher((TypeMatcher)matcher);
-        log("both2Bind using matcher class " + typeMatcherClassName);
-      } catch(ClassNotFoundException cnfe){
-        throw new BuildException(cnfe);
-      } catch(InstantiationException ie) {
-        throw new BuildException(ie);
-      } catch(IllegalAccessException iae) {
-        throw new BuildException(iae);
-      }
-    }
-  }
-
-  /**
-   * Adds a path for source compilation.
-   *
-   * @return a nested src element.
-   */
-  public Path createSrc() {
-    if (mSrc == null) {
-      mSrc = new Path(getProject());
-    }
-    return mSrc.createPath();
-  }
-
-  public void setClasspath(Path path) {
-    if (mClasspath == null) {
-      mClasspath = path;
-    } else {
-      mClasspath.append(path);
-    }
-  }
-
-  public void setClasspathRef(Reference r) {
-    createClasspath().setRefid(r);
-  }
-
-  public Path createClasspath() {
-    if (mClasspath == null) {
-      mClasspath = new Path(getProject());
-    }
-    return mClasspath.createPath();
-  }
-
-  // =========================================================================
-  // Task implementation
-
-  protected void startScan() {
-    mXsdFiles = new ArrayList();
-    mJavaFiles = new ArrayList();
-  }
-
-  protected void scanJavaDir(File srcDir, String[] files) {
-    for (int i = 0; i < files.length; i++) {
-      if (files[i].endsWith(".java"))
-        mJavaFiles.add(new File(srcDir, files[i]));
-    }
-  }
-
-  protected void scanSchemaFileset(FileSet fs) {
-    File fromDir = fs.getDir(getProject());
-    DirectoryScanner ds = fs.getDirectoryScanner(getProject());
-    String[] srcFiles = ds.getIncludedFiles();
-    for (int i = 0; i < srcFiles.length; i++) {
-      if (srcFiles[i].endsWith(".xsd"))
-        mXsdFiles.add(new File(fromDir, srcFiles[i]));
-    }
-
-  }
-
-  protected File[] namesToFiles(String[] names) {
-    File[] result = new File[names.length];
-    for (int i = 0; i < names.length; i++)
-      result[i] = new File(names[i]);
-    return result;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private JClass[] loadJClasses(final File[] javaFiles) throws IOException
-  {
-    JamServiceFactory factory = JamServiceFactory.getInstance();
-    JamServiceParams params = factory.createServiceParams();
-    for(int i=0; i<javaFiles.length; i++) {
-      params.includeSourceFile(javaFiles[i]);
-    }
-    if (mClasspath != null) {
-      String[] parts = mClasspath.list();
-      for(int i=0; i<parts.length; i++) params.addClasspath(new File(parts[i]));
-    }
-    return factory.createService(params).getAllClasses();
-  }
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/DefaultTypeMatcher.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/DefaultTypeMatcher.java
deleted file mode 100644
index 1f3326d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/DefaultTypeMatcher.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JProperty;
-import org.apache.xmlbeans.impl.common.NameUtil;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaTypeSystem;
-
-import javax.xml.namespace.QName;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * This is a simple implementation of a type matcher
- * that uses the names of the Java classes and Schema
- * types, and Java properties and Schema elements or
- * attributes, to line them up with each other. 
- */
-public class DefaultTypeMatcher implements TypeMatcher
-{
-    private TypeMatcherContext mContext;
-
-    public void init(TypeMatcherContext ctx) {
-      mContext = ctx;
-    }
-
-    public MatchedType[] matchTypes(JClass[] jClasses, SchemaTypeSystem sts) {
-        SchemaType[] types = sts.globalTypes();
-        
-        List result = new ArrayList();
-        
-        // start the match
-        startMatch();
-        
-        // add all the jClasses
-        // todo: there is a need for some code which does
-        // "primary interfaces" rather than "impl classes".  This
-        // should be plugin behavior or controlled by annotations
-        // rather than hard-coded.
-        for (int i = 0; i < jClasses.length; i++) {
-            putJavaName(jClasses[i].getSimpleName(), jClasses[i]);
-        }
-        
-        // Then, go through all the Schema types with complex content
-        // and try to find a matching Java class by looking for a similar
-        // name.
-        for (int i = 0; i < types.length; i++) {
-            JClass jClass = (JClass)getSchemaName(types[i].getName());
-            if (jClass != null)
-                result.add(new MatchedType(jClass, types[i]));
-        }
-        
-        return (MatchedType[])result.toArray(new MatchedType[result.size()]);
-    }
-
-    public TypeMatcher.MatchedProperties[] matchProperties(JClass jClass, SchemaType sType)
-    {
-        SchemaProperty[] sProps = sType.getProperties();
-        JProperty[] jProps = jClass.getProperties();
-        
-        List result = new ArrayList();
-        
-        // start the match
-        startMatch();
-        
-        // add all the jProperties
-        for (int i = 0; i < jProps.length; i++) {
-            putJavaName(jProps[i].getSimpleName(), jProps[i]);
-        }
-        
-        // Then, go through all the Schema properties and try to find a
-        // matching Java property by looking for a similar name.
-        for (int i = 0; i < sProps.length; i++) {
-            JProperty jProp = (JProperty)getSchemaName(sProps[i].getName());
-            if (jProp != null)
-                result.add(new MatchedProperties(jProp, sProps[i]));
-        }
-        
-        return (MatchedProperties[])result.toArray(new MatchedProperties[result.size()]);
-    }
-
-    public JClass substituteClass(JClass declaredClass) {
-        return declaredClass;
-    }
-
-    public void startMatch()
-    {
-        mapByShortName.clear();
-        mapByLowercasedShortName.clear();
-    }
-
-    private final Map mapByShortName = new HashMap();
-    private final Map mapByLowercasedShortName = new HashMap();
-
-    /**
-     * Returns false if the name has already been used.
-     * Otherwise, indexes the given object by the given Java name.
-     * 
-     * Note that there is logic to be case-insensitive, yet to
-     * remove case-insensitivity for names which differ from
-     * each other only by case.
-     */ 
-    public boolean putJavaName(String key, Object value)
-    {
-        String shortName = key;
-        verbose("JavaNameMatcher.put " + key);
-        if (mapByShortName.containsKey(shortName))
-            return false;
-
-        mapByShortName.put(shortName, value);
-
-        String lcShortName = shortName.toLowerCase();
-        if (mapByLowercasedShortName.containsKey(lcShortName))
-            mapByLowercasedShortName.put(lcShortName, null);
-        else
-            mapByLowercasedShortName.put(lcShortName, value);
-
-        return true;
-    }
-
-    /**
-     * Attempts to find a Java name similar to the given QName.
-     * If found, returns the indexed object; otherwise returns
-     * null.
-     * 
-     * Note that this algorithm searches for the localName to
-     * match exactly; then in a case-insensitive way; and then
-     * with XML punctuation removed and camel-casing applied;
-     * and then in a case-insensitive way again.
-     */ 
-    public Object getSchemaName(QName name)
-    {
-        Object result = null;
-        String localName = name.getLocalPart();
-        verbose("JavaNameMatcher.getLocalPart " + localName);
-
-        result = mapByShortName.get(localName);
-        if (result != null) {
-            verbose("javaTypeByShortName.get(localName): "+ localName);
-            return result;
-        }
-
-        String lcLocalName = localName.toLowerCase();
-        verbose("JavaNameMatcher.lcLocalName " + lcLocalName);
-        result = mapByLowercasedShortName.get(lcLocalName);
-        if (result != null) {
-            verbose("javaTypeByLowercasedShortName.get(lcLocalName): " + lcLocalName);
-            return result;
-        }
-
-        String niceName = NameUtil.upperCamelCase(localName);
-        verbose("JavaNameMatcher.jaxbName " + niceName);
-        result = mapByShortName.get(niceName);
-        if (result != null) {
-            verbose("javaTypeByShortName.get(jaxbName): " + niceName);
-            return result;
-        }
-
-        String lowercaseNiceName = niceName.toLowerCase();
-        verbose("JavaNameMatcher.lcJaxbName " + lowercaseNiceName);
-        result = mapByLowercasedShortName.get(lowercaseNiceName);
-        if (result != null) {
-            verbose("javaTypeByShortName.get(lcJaxbName): " + lowercaseNiceName);
-            return result;
-        }
-
-        verbose("javaTypeByShortName.get() no match found: " + localName);
-
-        return null;
-    }
-
-    private void verbose(String w) {
-      mContext.getLogger().logVerbose(w);
-    }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/EnumerationPrintHelper.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/EnumerationPrintHelper.java
deleted file mode 100644
index f3179bd..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/EnumerationPrintHelper.java
+++ /dev/null
@@ -1,631 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlBase64Binary;
-import org.apache.xmlbeans.XmlBoolean;
-import org.apache.xmlbeans.XmlByte;
-import org.apache.xmlbeans.XmlDouble;
-import org.apache.xmlbeans.XmlFloat;
-import org.apache.xmlbeans.XmlHexBinary;
-import org.apache.xmlbeans.XmlInt;
-import org.apache.xmlbeans.XmlInteger;
-import org.apache.xmlbeans.XmlLong;
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.XmlShort;
-import org.apache.xmlbeans.XmlUnsignedByte;
-import org.apache.xmlbeans.XmlUnsignedInt;
-import org.apache.xmlbeans.XmlUnsignedShort;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.joust.Expression;
-import org.apache.xmlbeans.impl.binding.joust.ExpressionFactory;
-import org.apache.xmlbeans.impl.binding.joust.Variable;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-import org.apache.xmlbeans.impl.values.XmlListImpl;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import java.util.Iterator;
-
-/**
- * Helper class for generating a JAX-RPC enumeration type
- */
-public class EnumerationPrintHelper
-{
-  // ===================================================
-  // Member variables
-
-  private boolean mArray;
-  private ExpressionFactory mExprFactory;
-  private int mTypeCode;
-  private int mSchemaTypeCode;
-  private boolean mPrimitive;
-
-  // ====================================================
-  // Constants
-
-  // For each of the "simple" (from JAX-RPC perspective) Java types, we
-  // have to have custom code that deals with generating the right strings
-  // to use in the generated file. Tedious.
-  // This is the list of currently supported Java types
-
-  private static final int T_STRING        =  1; // java.lang.String
-  private static final int T_GDURATION     =  2; // org.apache.xmlbeans.GDuration
-  private static final int T_CALENDAR      =  3; // java.util.Calendar
-  private static final int T_BOOLEAN       =  4; // boolean
-  private static final int T_FLOAT         =  5; // float
-  private static final int T_DOUBLE        =  6; // double
-  private static final int T_BIGDECIMAL    =  7; // java.math.BigDecimal
-  private static final int T_BIGINTEGER    =  8; // java.math.BigInteger
-  private static final int T_LONG          =  9; // long
-  private static final int T_INT           = 10; // int
-  private static final int T_SHORT         = 11; // short
-  private static final int T_BYTE          = 12; // byte
-  private static final int T_QNAME         = 13; // javax.xml.namespace.QName
-  private static final int T_FLOAT_CLASS   = 14; // java.lang.Float
-  private static final int T_DOUBLE_CLASS  = 15; // java.lang.Double
-  private static final int T_LONG_CLASS    = 16; // java.lang.Long
-  private static final int T_INT_CLASS     = 17; // java.lang.Integer
-  private static final int T_SHORT_CLASS   = 18; // java.lang.Short
-  private static final int T_BYTE_CLASS    = 19; // java.lang.Byte
-  private static final int T_BOOLEAN_CLASS = 20; // java.lang.Boolean
-  private static final int T_URI           = 21; // java.net.URI
-  private static final int T_BYTE_ARRAY    = 22; // byte[]
-
-  EnumerationPrintHelper(JavaTypeName typeName, ExpressionFactory exprFactory, SchemaType schemaType)
-  {
-    mSchemaTypeCode = extractTypeCode(schemaType);
-    if (mSchemaTypeCode == SchemaType.BTC_BASE_64_BINARY ||
-      mSchemaTypeCode == SchemaType.BTC_HEX_BINARY)
-      mArray = typeName.getArrayDepth() > 1;
-    else
-      mArray = typeName.getArrayDepth() > 0;
-
-    mExprFactory = exprFactory;
-    String t;
-    if (mArray)
-      t = typeName.getArrayItemType(1).toString();
-    else
-      t = typeName.toString();
-
-    switch (t.charAt(0))
-    {
-      case 'j':
-      if (t.equals("java.lang.String"))
-        mTypeCode = T_STRING;
-      else if (t.equals("java.util.Calendar"))
-        mTypeCode = T_CALENDAR;
-      else if (t.equals("java.math.BigDecimal"))
-        mTypeCode = T_BIGDECIMAL;
-      else if (t.equals("java.math.BigInteger"))
-        mTypeCode = T_BIGINTEGER;
-      else if (t.equals("javax.xml.namespace.QName"))
-        mTypeCode = T_QNAME;
-      else if (t.equals("java.net.URI"))
-        mTypeCode = T_URI;
-      else if (t.equals(Float.class.getName()))
-        mTypeCode = T_FLOAT_CLASS;
-      else if (t.equals(Double.class.getName()))
-        mTypeCode = T_DOUBLE_CLASS;
-      else if (t.equals(Long.class.getName()))
-        mTypeCode = T_LONG_CLASS;
-      else if (t.equals(Integer.class.getName()))
-        mTypeCode = T_INT_CLASS;
-      else if (t.equals(Short.class.getName()))
-        mTypeCode = T_SHORT_CLASS;
-      else if (t.equals(Byte.class.getName()))
-        mTypeCode = T_BYTE_CLASS;
-      else if (t.equals(Boolean.class.getName()))
-        mTypeCode = T_BOOLEAN_CLASS;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'b':
-      if (t.equals("boolean"))
-        mTypeCode = T_BOOLEAN;
-      else if (t.equals("byte"))
-        mTypeCode = T_BYTE;
-      else if (t.equals("byte[]"))
-        mTypeCode = T_BYTE_ARRAY;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'f':
-      if (t.equals("float"))
-        mTypeCode = T_FLOAT;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'd':
-      if (t.equals("double"))
-        mTypeCode = T_DOUBLE;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'l':
-      if (t.equals("long"))
-        mTypeCode = T_LONG;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'i':
-      if (t.equals("int"))
-        mTypeCode = T_INT;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 's':
-      if (t.equals("short"))
-        mTypeCode = T_SHORT;
-      else
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-      break;
-      case 'o':
-      if (t.equals("org.apache.xmlbeans.GDuration"))
-        mTypeCode = T_GDURATION;
-      break;
-      default:
-        throw new IllegalArgumentException("Unknown simple type: " + t);
-    }
-    switch (mTypeCode)
-    {
-      case T_BOOLEAN:
-      case T_BYTE:
-      case T_FLOAT:
-      case T_DOUBLE:
-      case T_LONG:
-      case T_INT:
-      case T_SHORT:
-        mPrimitive = true;
-    }
-  }
-
-  /**
-   * Returns the init expression corresponding to a value of type mJavaType
-   * and XML representation value
-   * Ex value="abc" --> "abc"
-   *    value="123" --> 123
-   *    value="456" --> new Float(456)
-   */
-  public Expression getInitExpr(XmlAnySimpleType value) {
-    if (mArray)
-    {
-      StringBuffer arrayInit = new StringBuffer();
-      arrayInit.append('{');
-      for (Iterator it = ((XmlListImpl) value).xlistValue().iterator(); it.hasNext(); )
-      {
-        Expression exprInit = getInitExprHelper((XmlAnySimpleType) it.next());
-        arrayInit.append(exprInit.getMemento().toString()).append(',').append(' ');
-      }
-      arrayInit.append('}');
-      return mExprFactory.createVerbatim(arrayInit.toString());
-    }
-    else
-      return getInitExprHelper(value);
-  }
-
-  private Expression getInitExprHelper(XmlAnySimpleType value) {
-    Expression result = null;
-    switch (mTypeCode)
-    {
-      case T_STRING:
-        result = mExprFactory.createVerbatim("\"" + value.getStringValue() + "\"");
-        break;
-      case T_CALENDAR:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexDateTime(\"" + value.getStringValue() + "\")");
-        break;
-      case T_BIGDECIMAL:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexDecimal(\"" + value.getStringValue() + "\")");
-        break;
-      case T_BIGINTEGER:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexInteger(\"" + value.getStringValue() + "\")");
-        break;
-      case T_QNAME:
-        QName qName = ((XmlQName) value).getQNameValue();
-        result = mExprFactory.createVerbatim("new javax.xml.namespace.QName(\"" +
-                qName.getNamespaceURI() + "\", \"" +
-                qName.getLocalPart() + "\", \"" +
-                qName.getPrefix() + "\")");
-        break;
-      case T_URI:
-        result = mExprFactory.createVerbatim("java.net.URI.create(\"" + value.getStringValue() + "\")");
-        break;
-      case T_FLOAT_CLASS:
-        result = mExprFactory.createVerbatim("new Float(" + ((XmlFloat) value).getFloatValue() + ")");
-        break;
-      case T_DOUBLE_CLASS:
-        result = mExprFactory.createVerbatim("new Double(" + ((XmlDouble) value).getDoubleValue() + ")");
-        break;
-      case T_LONG_CLASS:
-        result = mExprFactory.createVerbatim("new Long(" + ((XmlLong) value).getLongValue() + ")");
-        break;
-      case T_INT_CLASS:
-        result = mExprFactory.createVerbatim("new Integer(" + ((XmlInt) value).getIntValue() + ")");
-        break;
-      case T_SHORT_CLASS:
-        result = mExprFactory.createVerbatim("new Short(" + ((XmlShort) value).getShortValue() + ")");
-        break;
-      case T_BYTE_CLASS:
-        result = mExprFactory.createVerbatim("new Byte(" + ((XmlByte) value).getByteValue() + ")");
-        break;
-      case T_BOOLEAN_CLASS:
-        result = mExprFactory.createVerbatim("new Boolean(" + ((XmlBoolean) value).getBooleanValue() + ")");
-        break;
-      case T_BOOLEAN:
-        result = mExprFactory.createVerbatim(String.valueOf(((XmlBoolean) value).getBooleanValue()));
-        break;
-      case T_BYTE:
-        result = mExprFactory.createVerbatim(String.valueOf(((XmlByte) value).getByteValue()));
-        break;
-      case T_FLOAT:
-        {
-          float floatValue = ((XmlFloat) value).getFloatValue();
-          if (floatValue == Float.POSITIVE_INFINITY)
-            result = mExprFactory.createVerbatim("Float.POSITIVE_INFINITY");
-          else if (floatValue == Float.NEGATIVE_INFINITY)
-            result = mExprFactory.createVerbatim("Float.NEGATIVE_INFINITY");
-          else if (Float.isNaN(floatValue))
-            result = mExprFactory.createVerbatim("Float.NaN");
-          else
-            result = mExprFactory.createVerbatim("(float)" + String.valueOf(floatValue));
-        }
-        break;
-      case T_DOUBLE:
-        {
-          double doubleValue = ((XmlDouble) value).getDoubleValue();
-          if (doubleValue == Double.POSITIVE_INFINITY)
-            result = mExprFactory.createVerbatim("Double.POSITIVE_INFINITY");
-          else if (doubleValue == Double.NEGATIVE_INFINITY)
-            result = mExprFactory.createVerbatim("Double.NEGATIVE_INFINITY");
-          else if (Double.isNaN(doubleValue))
-            result = mExprFactory.createVerbatim("Double.NaN");
-          else
-            result = mExprFactory.createVerbatim(String.valueOf(doubleValue));
-        }
-        break;
-      case T_LONG:
-        if (value instanceof XmlUnsignedInt)
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlUnsignedInt) value).getLongValue()));
-        else
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlLong) value).getLongValue()));
-        break;
-      case T_INT:
-        if (value instanceof XmlUnsignedShort)
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlUnsignedShort) value).getIntValue()));
-        else
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlInt) value).getIntValue()));
-        break;
-      case T_SHORT:
-        if (value instanceof XmlUnsignedByte)
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlUnsignedByte) value).getShortValue()));
-        else
-          result = mExprFactory.createVerbatim(String.valueOf(((XmlShort) value).getShortValue()));
-        break;
-      case T_BYTE_ARRAY:
-        {
-          StringBuffer arrayInit = new StringBuffer();
-          arrayInit.append('{');
-          byte[] bytes = null;
-          if (mSchemaTypeCode == SchemaType.BTC_BASE_64_BINARY)
-            bytes = ((XmlBase64Binary) value).getByteArrayValue();
-          else if (mSchemaTypeCode == SchemaType.BTC_HEX_BINARY)
-            bytes = ((XmlHexBinary) value).getByteArrayValue();
-          if (bytes == null)
-            break;
-          for (int i = 0; i < bytes.length; i++)
-            arrayInit.append(bytes[i]).append(',').append(' ');
-          arrayInit.append('}');
-          result = mExprFactory.createVerbatim(arrayInit.toString());
-        }
-        break;
-      case T_GDURATION:
-        result = mExprFactory.createVerbatim("new org.apache.xmlbeans.GDuration(\"" + value.getStringValue() + "\")");
-        break;
-      default:
-    }
-    if (result == null)
-      throw new IllegalStateException();
-    return result;
-  }
-
-  public Expression getFromStringExpr(Expression param) {
-    Expression result = null;
-    String s = param.getMemento().toString();
-    switch (mTypeCode)
-    {
-      case T_STRING:
-        result = param;
-        break;
-      case T_CALENDAR:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexDateTime(" + s + ")");
-        break;
-      case T_BIGDECIMAL:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexDecimal(" + s + ")");
-        break;
-      case T_BIGINTEGER:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexInteger(" + s + ")");
-        break;
-      case T_QNAME:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexQName(" + s +
-                ", new javax.xml.namespace.NamespaceContext() {public String getNamespaceURI(String p) {return \"\";} public String getPrefix(String u) {return null;} public java.util.Iterator getPrefixes(String s) {return null;}})");
-        break;
-      case T_URI:
-        result = mExprFactory.createVerbatim("new java.net.URI(" + s + ")");
-        break;
-      case T_FLOAT_CLASS:
-        result = mExprFactory.createVerbatim("new Float(XsTypeConverter.lexFloat(" + s + "))");
-        break;
-      case T_DOUBLE_CLASS:
-        result = mExprFactory.createVerbatim("new Double(XsTypeConverter.lexDouble(" + s + "))");
-        break;
-      case T_LONG_CLASS:
-        result = mExprFactory.createVerbatim("new Long(XsTypeConverter.lexLong(" + s + "))");
-        break;
-      case T_INT_CLASS:
-        result = mExprFactory.createVerbatim("new Integer(XsTypeConverter.lexInt(" + s + "))");
-        break;
-      case T_SHORT_CLASS:
-        result = mExprFactory.createVerbatim("new Short(XsTypeConverter.lexShort(" + s + "))");
-        break;
-      case T_BYTE_CLASS:
-        result = mExprFactory.createVerbatim("new Byte(XsTypeConverter.lexByte(" + s + "))");
-        break;
-      case T_BOOLEAN_CLASS:
-        result = mExprFactory.createVerbatim("new Boolean(XsTypeConverter.lexBoolean(" + s + "))");
-        break;
-      case T_BOOLEAN:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexBoolean(" + s + ")");
-        break;
-      case T_BYTE:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexByte(" + s + ")");
-        break;
-      case T_FLOAT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexFloat(" + s + ")");
-        break;
-      case T_DOUBLE:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexDouble(" + s + ")");
-        break;
-      case T_LONG:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexLong(" + s + ")");
-        break;
-      case T_INT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexInt(" + s + ")");
-        break;
-      case T_SHORT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.lexShort(" + s + ")");
-        break;
-      case T_GDURATION:
-        result = mExprFactory.createVerbatim("new org.apache.xmlbeans.GDuration(" + s + ")");
-      case T_BYTE_ARRAY:
-        if (mSchemaTypeCode == SchemaType.BTC_BASE_64_BINARY)
-          result = mExprFactory.createVerbatim("org.apache.xmlbeans.impl.util.Base64.encode("+
-            s + ".getBytes())");
-        else if (mSchemaTypeCode == SchemaType.BTC_HEX_BINARY)
-          result = mExprFactory.createVerbatim("org.apache.xmlbeans.impl.util.HexBin.stringToBytes(" +
-            s + ")");
-        break;
-      default:
-    }
-    if (result == null)
-      throw new IllegalStateException();
-    return result;
-  }
-
-  public String getToXmlString(Variable var, String index) {
-    assert mArray : "This method can only be called for a list enumeration";
-    return getToXmlExpr(mExprFactory.createVerbatim(var.getMemento().toString() +
-        "[" + index + "]")).getMemento().toString();
-  }
-
-  public Expression getToXmlExpr(Expression var) {
-    Expression result = null;
-    String s = var.getMemento().toString();
-    switch (mTypeCode)
-    {
-      case T_STRING:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printString(" + s + ").toString()");
-        break;
-      case T_CALENDAR:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printDateTime(" + s + ", " + mSchemaTypeCode +").toString()");
-        break;
-      case T_BIGDECIMAL:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printDecimal(" + s + ").toString()");
-        break;
-      case T_BIGINTEGER:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printInteger(" + s + ").toString()");
-        break;
-      case T_QNAME:
-        result = mExprFactory.createVerbatim("XsTypeConverter.getQNameString(" + s +
-                ".getNamespaceURI(), " + s + ".getLocalPart(), " + s + ".getPrefix())");
-        break;
-      case T_URI:
-        result = mExprFactory.createVerbatim(s + ".toString()");
-        break;
-      case T_FLOAT_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printFloat(" + s + ".floatValue()).toString()");
-        break;
-      case T_DOUBLE_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printDouble(" + s + ".doubleValue()).toString()");
-        break;
-      case T_LONG_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printLong(" + s + ".longValue()).toString()");
-        break;
-      case T_INT_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printInt(" + s + ".intValue()).toString()");
-        break;
-      case T_SHORT_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printShort(" + s + ".shortValue()).toString()");
-        break;
-      case T_BYTE_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printByte(" + s + ".byteValue()).toString()");
-        break;
-      case T_BOOLEAN_CLASS:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printBoolean(" + s + ".booleanValue()).toString()");
-        break;
-      case T_BOOLEAN:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printBoolean(" + s + ").toString()");
-        break;
-      case T_BYTE:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printByte(" + s + ").toString()");
-        break;
-      case T_FLOAT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printFloat(" + s + ").toString()");
-        break;
-      case T_DOUBLE:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printDouble(" + s + ").toString()");
-        break;
-      case T_LONG:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printLong(" + s + ").toString()");
-        break;
-      case T_INT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printInt(" + s + ").toString()");
-        break;
-      case T_SHORT:
-        result = mExprFactory.createVerbatim("XsTypeConverter.printShort(" + s + ").toString()");
-        break;
-      case T_GDURATION:
-        result = mExprFactory.createVerbatim(s + ".toString()");
-        break;
-      case T_BYTE_ARRAY:
-        if (mSchemaTypeCode == SchemaType.BTC_BASE_64_BINARY)
-          result = mExprFactory.createVerbatim("XsTypeConverter.printBase64Binary(" + s + ").toString()");
-        else if (mSchemaTypeCode == SchemaType.BTC_HEX_BINARY)
-          result = mExprFactory.createVerbatim("XsTypeConverter.printHexBinary(" + s + ").toString()");
-        break;
-      default:
-    }
-    if (result == null)
-      throw new IllegalStateException();
-    else
-      return result;
-  }
-
-  public String getObjectVersion(String var) {
-    String result = null;
-    if (mPrimitive) {
-    switch (mTypeCode) {
-      case T_BOOLEAN:
-      result = "new Boolean(" + var + ")";
-      break;
-      case T_BYTE:
-      result = "new Byte(" + var + ")";
-      break;
-      case T_FLOAT:
-      result = "new Float(" + var + ")";
-      break;
-      case T_DOUBLE:
-      result = "new Double(" + var + ")";
-      break;
-      case T_LONG:
-      result = "new Long(" + var + ")";
-      break;
-      case T_INT:
-      result = "new Integer(" + var + ")";
-      break;
-      case T_SHORT:
-      result = "new Short(" + var + ")";
-      break;
-    }}
-    else
-      result = var;
-    if (result == null)
-      throw new IllegalStateException();
-    else
-      return result;
-  }
-
-  public String getEquals(String var1, String var2) {
-    String result = null;
-    if (mTypeCode == T_BYTE_ARRAY)
-      result = "java.util.Arrays.equals(" + var1 + ", " + var2 + ")";
-    else if (mPrimitive)
-      result = var1 + " == " + var2;
-    else
-      result = var1 + ".equals(" + var2 + ")";
-    return result;
-  }
-
-  public Expression getHashCode(String var) {
-    Expression result = null;
-    if (mPrimitive) {
-    switch (mTypeCode) {
-      case T_BOOLEAN:
-      result = mExprFactory.createVerbatim(var + " ? 1 : 0");
-      break;
-      case T_BYTE:
-      result = mExprFactory.createVerbatim("(int) " + var);
-      break;
-      case T_FLOAT:
-      result = mExprFactory.createVerbatim("Float.floatToIntBits(" + var + ")");
-      break;
-      case T_DOUBLE:
-      result = mExprFactory.createVerbatim("(int) (Double.doubleToLongBits(" + var + ") ^ (Double.doubleToLongBits(" + var + ") >>> 32))");
-      break;
-      case T_LONG:
-      result = mExprFactory.createVerbatim("(int) (" + var + " ^ (" + var + " >>> 32))");
-      break;
-      case T_INT:
-      result = mExprFactory.createVerbatim(var);
-      break;
-      case T_SHORT:
-      result = mExprFactory.createVerbatim("(int) " + var);
-      break;
-      }
-    }
-    else if (mTypeCode == T_BYTE_ARRAY)
-      result = mExprFactory.createVerbatim(var + ".length > 0 ? (int)" + var + "[0] : 0");
-    else
-      result = mExprFactory.createVerbatim(var + ".hashCode()");
-    if (result == null)
-      throw new IllegalStateException();
-    else
-      return result;
-  }
-
-  public boolean isQName()
-  { return mTypeCode == T_QNAME; }
-
-  public boolean isArray()
-  { return mArray; }
-
-  public boolean isBinary()
-  {
-    return mSchemaTypeCode == SchemaType.BTC_BASE_64_BINARY ||
-           mSchemaTypeCode == SchemaType.BTC_HEX_BINARY;
-  }
-
-  private int extractTypeCode(SchemaType sType) {
-    boolean done = false;
-    while (!done) {
-      switch (sType.getSimpleVariety()) {
-        case SchemaType.ATOMIC:
-          done = true;
-          break;
-        case SchemaType.UNION:
-          throw new IllegalArgumentException("Unions are not currently supported");
-        case SchemaType.LIST:
-          sType = sType.getListItemType();
-          break;
-        default:
-          throw new IllegalStateException();
-      }
-    }
-    return sType.getPrimitiveType().getBuiltinTypeCode();
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2Schema.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2Schema.java
deleted file mode 100644
index 78c2e3f..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2Schema.java
+++ /dev/null
@@ -1,770 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.binding.bts.*;
-import org.apache.xmlbeans.impl.binding.tylar.TylarWriter;
-import org.apache.xmlbeans.impl.binding.tylar.TylarConstants;
-import org.apache.xmlbeans.impl.binding.tylar.ExplodedTylarImpl;
-import org.apache.xmlbeans.impl.jam.*;
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlException;
-import org.w3.x2001.xmlSchema.*;
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collection;
-import java.util.Iterator;
-import java.io.IOException;
-import java.io.StringWriter;
-
-
-/**
- * Takes a set of Java source inputs and generates a set of XML schemas to
- * which those input should be bound, as well as a binding configuration file
- * which describes to the runtime subsystem how the un/marshalling should
- * be performed.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class Java2Schema extends BindingCompiler {
-
-  // =========================================================================
-  // Constants
-
-  private static final String JAVA_URI_SCHEME      = "java:";
-  private static final String JAVA_NAMESPACE_URI   = "language_builtins";
-  private static final String JAVA_PACKAGE_PREFIX  = "java.";
-
-  public static final String TAG_CT               = "xsdgen:complexType";
-  public static final String TAG_CT_EXCLUDE       = TAG_CT+".exclude";
-  public static final String TAG_CT_TYPENAME      = TAG_CT+".typeName";
-  public static final String TAG_CT_TARGETNS      = TAG_CT+".targetNamespace";
-  public static final String TAG_CT_ROOT          = TAG_CT+".rootElement";
-  public static final String TAG_CT_IGNORESUPER   = TAG_CT+".ignoreSuper";
-
-  private static final String TAG_EL               = "xsdgen:element";
-
-  public static final String TAG_EL_NAME          = TAG_EL+".name";
-  public static final String TAG_EL_NILLABLE      = TAG_EL+".nillable";
-  public static final String TAG_EL_EXCLUDE       = TAG_EL+".exclude";
-  public static final String TAG_EL_ASTYPE        = TAG_EL+".astype";
-
-  public static final String TAG_AT               = "xsdgen:attribute";
-  public static final String TAG_AT_NAME          = TAG_AT+".name";
-
-  public static final String TAG_ISSETTER         = "xsdgen:isSetMethodFor";
-
-  // this is the character that replaces invalid characters when creating new
-  // xml names.
-  private static final char SAFE_CHAR = '_';
-
-  // =========================================================================
-  // Variables
-
-  // the bindings that we're building up
-  private BindingFile mBindingFile;
-
-  // the full loader: bindingFile + baseLoader
-  private BindingLoader mLoader;
-
-  // maps a targetnamespace (string) to a schemadocument that we are creating
-  private Map mTns2Schemadoc = new HashMap();
-
-  // the input classes
-  private JClass[] mClasses;
-
-  // =========================================================================
-  // Constructors
-
-  public Java2Schema(JClass[] classesToBind) {
-    if (classesToBind == null) {
-      throw new IllegalArgumentException("null classes");
-    }
-    mClasses = classesToBind;
-  }
-
-  // ========================================================================
-  // BindingCompiler implementation
-
-  /**
-   * Does the binding work on the inputs passed to the constructor and writes
-   * out the tylar.
-   */
-  protected void internalBind(TylarWriter writer) {
-    mBindingFile = new BindingFile();
-    mLoader = CompositeBindingLoader.forPath
-            (new BindingLoader[] {mBindingFile, super.getBaseBindingLoader()});
-    //This does the binding
-    for(int i=0; i<mClasses.length; i++) {
-      if (!getAnnotation(mClasses[i],TAG_CT_EXCLUDE,false)) {
-        getBindingTypeFor(mClasses[i]);
-      }
-    }
-    //
-    SchemaDocument[] xsds = null;
-    try {
-      writer.writeBindingFile(mBindingFile);
-      //REVIEW maybe we should just include the schema and let super class write it out?
-      xsds = getGeneratedSchemaDocuments();
-      for(int i=0; i<xsds.length; i++) {
-        writer.writeSchema(xsds[i],"schema-"+i+".xsd");
-      }
-    } catch(IOException ioe) {
-      logError(ioe);
-    }
-    SchemaTypeSystem sts = null;
-    {
-      try {
-        sts = Schema2JavaTask.createSchemaTypeSystem(xsds);
-        if (sts == null) {
-          throw new IllegalStateException("createSchemaTypeSystem returned null");
-        }
-      } catch(XmlException xe) {
-        ExplodedTylarImpl.showXsbError(xe,null,"write",TylarConstants.SHOW_XSB_ERRORS);
-      }
-      if (sts != null) {
-        try {
-          writer.writeSchemaTypeSystem(sts);
-        } catch(IOException ioe) {
-          ExplodedTylarImpl.showXsbError(ioe,null,"compile",TylarConstants.SHOW_XSB_ERRORS);
-        }
-      }
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private SchemaDocument.Schema findOrCreateSchema(String tns) {
-    if (tns == null) throw new IllegalArgumentException();
-    tns = tns.trim();
-    SchemaDocument doc = (SchemaDocument)mTns2Schemadoc.get(tns);
-    if (doc == null) {
-      doc = SchemaDocument.Factory.newInstance();
-      doc.addNewSchema().setTargetNamespace(tns);
-      mTns2Schemadoc.put(tns,doc);
-    }
-    return doc.getSchema();
-  }
-
-  private SchemaDocument[] getGeneratedSchemaDocuments() {
-    Collection list = mTns2Schemadoc.values();
-    SchemaDocument[] out = new SchemaDocument[list.size()];
-    list.toArray(out);
-    return out;
-  }
-
-
-  /**
-   * Returns a bts BindingType for the given JClass.  If such a type
-   * has not yet been registered with the loader, it will be created.
-   *
-   * @param clazz Java type for which to return a binding.
-   */
-  private BindingType getBindingTypeFor(JClass clazz) {
-    BindingTypeName btn = mLoader.lookupTypeFor(getJavaName(clazz));
-    if (btn != null) {
-      BindingType out = mLoader.getBindingType(btn);
-      if (out != null) return out;
-    }
-    return createBindingTypeFor(clazz);
-  }
-
-  /**
-   * Creates a bts BindingType for the given JClass and registers t with the
-   * loader.  Note that this method assumes that a BindingType does not
-   * already exist for the given JClass.
-   *
-   * @param clazz Java type for which to generate a binding.
-   */
-  private BindingType createBindingTypeFor(JClass clazz) {
-    // create the schema type
-    SchemaDocument.Schema schema = findOrCreateSchema(getTargetNamespace(clazz));
-    TopLevelComplexType xsType = schema.addNewComplexType();
-    String tns = getTargetNamespace(clazz);
-    String xsdName = getAnnotation(clazz,TAG_CT_TYPENAME,clazz.getSimpleName());
-    QName qname = new QName(tns,xsdName);
-    xsType.setName(xsdName);
-    // deal with inheritance - see if it extends anything
-    JClass superclass = clazz.getSuperclass();
-    // we have to remember whether we created an ExtensionType because that
-    // is where the sequence of properties have to go - note that this
-    // gets passed into the SchemaPropertyFacade created below.  It's
-    // unfortunate that the SchemaDocument model does not allow us to deal
-    // with this kind of thing in a more elegant and polymorphic way.
-    ExtensionType extType = null;
-    BindingType superBindingType = null;
-    if (superclass != null && !superclass.isObjectType() &&
-      !getAnnotation(clazz,TAG_CT_IGNORESUPER,false)) {
-      // FIXME we're ignoring interfaces at the moment
-      superBindingType = getBindingTypeFor(superclass);
-      ComplexContentDocument.ComplexContent ccd = xsType.addNewComplexContent();
-      extType = ccd.addNewExtension();
-      extType.setBase(superBindingType.getName().getXmlName().getQName());
-    }
-    // create a binding type
-    BindingTypeName btname = BindingTypeName.forPair(getJavaName(clazz),
-                                                     XmlTypeName.forTypeNamed(qname));
-    ByNameBean bindType = new ByNameBean(btname);
-    mBindingFile.addBindingType(bindType,true,true);
-    if (clazz.isPrimitiveType()) {
-      // it's good to have registerd the dummy type, but don't go further
-      logError("Unexpected simple type",clazz);
-      return bindType;
-    }
-
-    //add super's props first
-    if (superBindingType != null) {
-      //REVIEW: will it ever be possible to have another type as the super type?
-      //REVIEW: is copy by ref safe here?
-      //TODO: deal with java->schema name collisions across inherited types
-      ByNameBean super_type = (ByNameBean)superBindingType;
-      for(Iterator itr = super_type.getProperties().iterator() ; itr.hasNext() ; ) {
-        final QNameProperty prop = (QNameProperty)itr.next();
-        bindType.addProperty(prop);
-      }
-      bindType.setAnyAttributeProperty(super_type.getAnyAttributeProperty());
-      bindType.setAnyElementProperty(super_type.getAnyElementProperty());
-    }
-
-    String rootName = getAnnotation(clazz,TAG_CT_ROOT,null);
-    if (rootName != null) {
-      QName rootQName = new QName(tns, rootName);
-      BindingTypeName docBtName =
-              BindingTypeName.forPair(getJavaName(clazz),
-                                      XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, rootQName));
-      SimpleDocumentBinding sdb = new SimpleDocumentBinding(docBtName);
-      sdb.setTypeOfElement(btname.getXmlName());
-      mBindingFile.addBindingType(sdb,true,true);
-    }
-    // run through the class' properties to populate the binding and xsdtypes
-    SchemaPropertyFacade facade = new SchemaPropertyFacade(xsType,extType,bindType,tns);
-    Map props2issetters = new HashMap();
-    getIsSetters(clazz,props2issetters);
-    bindProperties(clazz.getDeclaredProperties(),props2issetters,facade);
-    facade.finish();
-    // check to see if they want to create a root elements from this type
-    JAnnotation[] anns = getNamedTags(clazz.getAllJavadocTags(),TAG_CT_ROOT);
-    for(int i=0; i<anns.length; i++) {
-      TopLevelElement root = schema.addNewElement();
-      root.setName(makeNcNameSafe(anns[i].getValue
-                                  (JAnnotation.SINGLE_VALUE_NAME).asString()));
-      root.setType(qname);
-      // FIXME still not entirely clear to me what we should do about
-      // the binding file here
-    }
-    return bindType;
-  }
-
-  private void getIsSetters(JClass clazz, Map outPropname2jmethod) {
-    JMethod[] methods = clazz.getDeclaredMethods();
-    for(int i=0; i<methods.length; i++) {
-      JAnnotation ann = methods[i].getAnnotation(TAG_ISSETTER);
-      if (ann != null) {
-        if (!methods[i].getReturnType().getQualifiedName().equals("boolean")) {
-          logWarning("Method "+methods[i].getQualifiedName()+" is marked "+
-                     TAG_ISSETTER+"\nbut it does not return boolean."+
-                     "Ignoring.");
-          continue;
-        }
-        if (methods[i].getParameters().length > 0) {
-          logWarning("Method "+methods[i].getQualifiedName()+" is marked "+
-                     TAG_ISSETTER+"\nbut takes arguments.  Ignoring.");
-          continue;
-        }
-        JAnnotationValue propNameVal = ann.getValue(JAnnotation.SINGLE_VALUE_NAME);
-        if (propNameVal == null) {
-          logWarning("Method "+methods[i].getQualifiedName()+" is marked "+
-                     TAG_ISSETTER+"\nbut but no property name is given.  Ignoring");
-          continue;
-        }
-        outPropname2jmethod.put(propNameVal.asString(),methods[i]);
-      }
-    }
-  }
-
-  /**
-   * Runs through a set of JProperties to creates schema and bts elements
-   * to represent those properties.  Note that the details of manipulating the
-   * schema and bts are encapsulated within the supplied SchemaPropertyFacade;
-   * this method is only responsible for inspecting the properties and their
-   * annotations and setting the correct attributes on the facade.
-   *
-   * @param props Array of JProperty objects to potentially be bound.
-   * @param facade Allows us to create and manipulate properties,
-   * hides the dirty work
-   */
-  private void bindProperties(JProperty[] props,
-                              Map props2issetters,
-                              SchemaPropertyFacade facade) {
-    for(int i=0; i<props.length; i++) {
-      if (getAnnotation(props[i],TAG_EL_EXCLUDE,false)) {
-        logVerbose("Marked excluded, skipping",props[i]);
-        continue;
-      }
-      if (props[i].getGetter() == null || props[i].getSetter() == null) {
-        logVerbose("Does not have both getter and setter, skipping",props[i]);
-        continue; // REVIEW this might have to change someday
-      }
-      String propName;
-      { // determine the property name to use and set it
-        propName = getAnnotation(props[i], TAG_AT_NAME, null);
-        if (propName != null) {
-          facade.newAttributeProperty(props[i]);
-        } else {
-          facade.newElementProperty(props[i]);
-          propName = getAnnotation(props[i], TAG_EL_NAME,
-                                   props[i].getSimpleName());
-        }
-        assert propName != null;
-        facade.setSchemaName(propName);
-      }
-      { // determine the property type to use and set it
-        JClass propType = null;
-        String annotatedType = getAnnotation(props[i],TAG_EL_ASTYPE,null);
-        if (annotatedType == null) {
-          facade.setType(propType = props[i].getType());
-        } else {
-          if (props[i].getType().isArrayType()) {
-            //THIS IS A QUICK GROSS HACK THAT SHOULD BE REMOVED.
-            //IF SOMEONE WANTS TO AS TYPE AN ARRAY PROPERTY, THEY NEED
-            //TO ASTYPE IT TO THE ARRAY TYPE THEMSELVES
-            annotatedType = "[L"+annotatedType+";";
-          }
-          propType = props[i].getType().forName(annotatedType);
-          if (propType.isUnresolvedType()) {
-            logError("Could not find class named '"+
-                    propType.getQualifiedName()+"'",props[i]);
-          } else {
-            facade.setType(propType);
-          }
-        }
-      }
-      { // set the getters and setters
-        facade.setGetter(props[i].getGetter());
-        facade.setSetter(props[i].getSetter());
-      }
-      {
-        JMethod issetter = (JMethod)props2issetters.get(propName);
-        if (issetter != null) facade.setIssetter(issetter);
-      }
-      { // determine if the property is nillable
-        JAnnotation a = props[i].getAnnotation(TAG_EL_NILLABLE);
-        if (a != null) {
-          // if the tag is there but empty, set it to true.  is that weird?
-          JAnnotationValue val = a.getValue(JAnnotation.SINGLE_VALUE_NAME);
-          if (val == null || val.asString().trim().length() == 0) {
-            facade.setNillable(true);
-          } else {
-            facade.setNillable(val.asBoolean());
-          }
-        }
-      }
-    }
-  }
-
-
-  /**
-   * Returns a JavaTypeName for the given JClass.  Might want to pool these.
-   */
-  private JavaTypeName getJavaName(JClass jc) {
-    return JavaTypeName.forString(jc.getQualifiedName());
-  }
-
-  /**
-   * Returns the string value of a named annotation, or the provided default
-   * if the annotation is not present.
-   * REVIEW seems like having this functionality in jam_old would be nice
-   */
-  private String getAnnotation(JAnnotatedElement elem,
-                               String annName,
-                               String dflt) {
-    //System.out.print("checking for "+annName+" on "+elem.getQualifiedName());
-    JAnnotation ann = getAnnotation(elem,annName);
-    if (ann == null) {
-      //System.out.println("...no annotation");
-      return dflt;
-    }
-    JAnnotationValue val = ann.getValue(JAnnotation.SINGLE_VALUE_NAME);
-    if (val == null) {
-      //System.out.println("...no value!!!");
-      return dflt;
-    }
-    //System.out.println("\n\n\n...value of "+annName+" is "+val.asString()+"!!!!!!!!!");
-    return val.asString();
-  }
-
-  /**
-   * Returns the boolean value of a named annotation, or the provided default
-   * if the annotation is not present.
-   * REVIEW seems like having this functionality in jam_old would be nice
-   */
-  private boolean getAnnotation(JAnnotatedElement elem,
-                                String annName,
-                                boolean dflt) {
-    //System.out.print("checking for "+annName+" on "+elem.getQualifiedName());
-    JAnnotation ann = getAnnotation(elem,annName);
-    if (ann == null) {
-      //System.out.println("...no annotation");
-      return dflt;
-    }
-    JAnnotationValue val = ann.getValue(JAnnotation.SINGLE_VALUE_NAME);
-    if (val == null || val.asString().length() == 0) {
-      //System.out.println("\n\n\n...no value, returning true!!!");
-      //this is a little bit gross.  the logic here is that if the tag is
-      //present but empty, it actually is a true value.  E.g., an empty
-      //@exclude tag means "yes, do exclude."
-      return true;
-    }
-    //System.out.println("\n\n\n...value of "+annName+" is "+val.asBoolean()+"!!!!!!!!!");
-    return val.asBoolean();
-  }
-
-  //FIXME this is temporary until we get the tags/175 sorted out
-  private JAnnotation getAnnotation(JAnnotatedElement e,
-                                    String named) {
-    JAnnotation[] tags = e.getAllJavadocTags();
-    for(int i=0; i<tags.length; i++) {
-      if (tags[i].getSimpleName().equals(named)) return tags[i];
-    }
-    return null;
-  }
-
-  /**
-   * Returns a QName for the type bound to the given JClass.
-   */
-  private QName getQnameFor(JClass clazz) {
-    getBindingTypeFor(clazz);  //ensure that we've bound it
-    JavaTypeName jtn = JavaTypeName.forString(clazz.getQualifiedName());
-    BindingTypeName btn = mLoader.lookupTypeFor(jtn);
-    logVerbose("BindingTypeName is "+btn,clazz);
-    BindingType bt = mLoader.getBindingType(btn);
-    if (bt != null) return bt.getName().getXmlName().getQName();
-    logError("could not get qname",clazz);
-    return new QName("ERROR",clazz.getQualifiedName());
-  }
-
-  /**
-   * Returns a target namespace that should be used for the given class.
-   * This takes annotations into consideration.
-   */
-  private String getTargetNamespace(JClass clazz) {
-    String val = getAnnotation(clazz,TAG_CT_TARGETNS,null);
-    if (val != null) return val;
-    // Ok, they didn't specify it in the markup, so we have to
-    // synthesize it from the classname.
-    String pkg_name;
-    if (clazz.isPrimitiveType()) {
-      pkg_name = JAVA_NAMESPACE_URI;
-    } else {
-      JPackage pkg = clazz.getContainingPackage();
-      pkg_name = (pkg == null) ? "" : pkg.getQualifiedName();
-      if (pkg_name.startsWith(JAVA_PACKAGE_PREFIX)) {
-        pkg_name = JAVA_NAMESPACE_URI+'.'+
-                pkg_name.substring(JAVA_PACKAGE_PREFIX.length());
-      }
-    }
-    return JAVA_URI_SCHEME + pkg_name;
-  }
-
-
-
-  /**
-   * Checks the given XML name to ensure that it is a valid XMLName according
-   * to the XML 1.0 Recommendation.  If it is not, the name is mangled so
-   * as to make it a valid name.  This should be called before setting the
-   * name on every schema fragment we create.
-   */
-  private static String makeNcNameSafe(String name) {
-    // it's probably pretty rare that a name isn't valid, so let's just do
-    // an optimistic check first without writing out a new string.
-    if (name == null || XMLChar.isValidNCName(name) || name.length() == 0) {
-      return name;
-    }
-    // ok, we have to mangle it
-    StringWriter out = new StringWriter();
-    char ch = name.charAt(0);
-    if(!XMLChar.isNCNameStart(ch)) {
-      out.write(SAFE_CHAR);
-    } else {
-      out.write(ch);
-    }
-    for (int i=1; i < name.length(); i++ ) {
-      ch = name.charAt(i);
-       if (!XMLChar.isNCName(ch)) {
-         out.write(ch);
-       }
-    }
-    return out.toString();
-  }
-
-  /*
-
-  private static boolean isXmlObj(JClass clazz) {
-    try {
-      JClass xmlObj = clazz.forName("org.apache.xmlbeans.XmlObject");
-      return xmlObj.isAssignableFrom(clazz);
-    } catch(Exception e) {
-      e.printStackTrace(); //FIXME
-      return false;
-    }
-  }
-  */
-
-
-
-  /**
-   * Inner class which encapsulates the creation of schema properties and
-   * property bindings and presents them as a unified interface, a kind of
-   * 'virtual property.'  This is used by the bindProperties() method, and
-   * allows that function to concentrate on inspecting the java types and
-   * annotations. This class hides all of the dirty work associated with
-   * constructing and initializing a BTS property and either an XSD element
-   * or attribute.
-   *
-   * Note that in some sense, this class behaves as both a factory and a kind
-   * of cursor.  It is capable of creating a new virtual property
-   * on a given BTS/XSD type pair, and any operations on the facade will
-   * apply to that property until the next property is created
-   * (via newAttributeProperty or newElementProperty).
-   *
-   * This class really wouldn't be necessary if the SchemaDocument model
-   * were a bit more user-friendly.
-   */
-  class SchemaPropertyFacade {
-
-    // =======================================================================
-    // Variables
-
-    private TopLevelComplexType mXsType;
-    private ExtensionType mExtensionType = null;
-    private String mXsTargetNamespace;
-    private LocalElement mXsElement = null; // exactly one of these two is
-    private Attribute mXsAttribute = null;  // remains null
-    private Group mXsSequence = null;
-    private List mXsAttributeList = null;
-    private ByNameBean mBtsType;
-    private QNameProperty mBtsProp = null;
-    private JElement mSrcContext = null;
-
-    // =======================================================================
-    // Constructors
-
-    public SchemaPropertyFacade(TopLevelComplexType xsType,
-                                ExtensionType extType, //may be null
-                                ByNameBean bt,
-                                String tns) {
-      if (xsType == null) throw new IllegalArgumentException("null xsType");
-      if (bt == null) throw new IllegalArgumentException("null bt");
-      if (tns == null) throw new IllegalArgumentException("null tns");
-      mXsType = xsType;
-      mExtensionType = extType;
-      mBtsType = bt;
-      mXsTargetNamespace = tns;
-    }
-
-    // =======================================================================
-    // Public methods
-
-    /**
-     * Creates a new element property and sets this facade represent it.
-     * Note that either this method or newAttributeProperty must be called prior
-     * to doing any work with the facade.  Also note that you need to
-     * completely finish working with each property before moving onto
-     * the next via newElementProperty or newAttributeProperty.
-     * *
-     * @param srcContext A JAM element that represents the java source
-     * artifact that is being bound to the property.  This is used
-     * only for error reporting purposes.
-     */
-    public void newElementProperty(JElement srcContext) {
-      newBtsProperty();
-      mSrcContext = srcContext;
-      if (mXsSequence == null) {
-        // nest it inside the extension element if they specified one,
-        // otherwise just do it in the complexType
-        mXsSequence = (mExtensionType != null) ?
-          mExtensionType.addNewSequence() : mXsType.addNewSequence();
-      }
-      mXsElement = mXsSequence.addNewElement();
-      mXsAttribute = null;
-    }
-
-    /**
-     * Creates a new attribute property and sets this facade represent it.
-     * Note that either this method or newElementProperty must be called prior
-     * to doing any work with the facade.  Also note that you need to
-     * completely finish working with each property before moving onto
-     * the next via newElementProperty or newAttributeProperty.
-     *
-     * @param srcContext A JAM element that represents the java source
-     * artifact that is being bound to the property.  This is used
-     * only for error reporting purposes.
-     */
-    public void newAttributeProperty(JElement srcContext) {
-      newBtsProperty();
-      mBtsProp.setAttribute(true);
-      mSrcContext = srcContext;
-      mXsElement = null;
-      if (mXsAttributeList == null) mXsAttributeList = new ArrayList();
-      mXsAttributeList.add(mXsAttribute = Attribute.Factory.newInstance());
-    }
-
-    /**
-     * Sets the name of this property (element or attribute) in the
-     * generated schema.
-     */
-    public void setSchemaName(String name) {
-      name = makeNcNameSafe(name);
-      if (mXsElement != null) {
-        mXsElement.setName(name);
-      } else if (mXsAttribute != null) {
-        mXsAttribute.setName(name);
-      } else {
-        throw new IllegalStateException();
-      }
-      mBtsProp.setQName(new QName(mXsTargetNamespace,name));
-    }
-
-    /**
-     * Sets the name of the java getter for this property.
-     */
-    public void setGetter(JMethod g) {
-      mBtsProp.setGetterName(MethodName.create(g));
-    }
-
-    /**
-     * Sets the name of the java setter for this property.
-     */
-    public void setSetter(JMethod s) {
-      mBtsProp.setSetterName(MethodName.create(s));
-    }
-
-    /**
-     * Sets the name of the java setter for this property.
-     */
-    public void setIssetter(JMethod s) {
-      mBtsProp.setIssetterName(MethodName.create(s));
-    }
-
-    /**
-     * Sets the type of the property.  Currently handles arrays
-     * correctly but not collections.
-     */
-    public void setType(JClass propType) {
-      if (mXsElement != null) {
-        if (propType.isArrayType()) {
-          if (propType.getArrayDimensions() != 1) {
-            logError("Multidimensional arrays NYI",mSrcContext); //FIXME
-          }
-          JClass componentType = propType.getArrayComponentType();
-          mXsElement.setMaxOccurs("unbounded");
-          mXsElement.setType(getQnameFor(componentType));
-          mBtsProp.setMultiple(true);
-          mBtsProp.setCollectionClass //FIXME
-                  (JavaTypeName.forString(componentType.getQualifiedName()+"[]"));
-          mBtsProp.setBindingType(getBindingTypeFor(componentType));
-        } else {
-          mXsElement.setType(getQnameFor(propType));
-          mBtsProp.setBindingType(getBindingTypeFor(propType));
-        }
-      } else if (mXsAttribute != null) {
-        if (propType.isArrayType()) {
-          logError("Array properties cannot be mapped to xml attributes",
-                  mSrcContext);
-        } else {
-          mXsAttribute.setType(getQnameFor(propType));
-          mBtsProp.setBindingType(getBindingTypeFor(propType));
-        }
-      } else {
-        throw new IllegalStateException();
-      }
-    }
-
-    /**
-     * Sets whether the property should be bound as nillable.
-     */
-    public void setNillable(boolean b) {
-      if (mXsElement != null) {
-        mXsElement.setNillable(b);
-        mBtsProp.setNillable(b);
-      } else if (mXsAttribute != null) {
-        logError("Attributes cannot be nillable:",mSrcContext);
-      } else {
-        throw new IllegalStateException();
-      }
-    }
-
-    /**
-     * This method should always be called when finished building up
-     * a type.  It is a hack around an xbeans bug in which the sequences and
-     * attributes are output in the order in which they were added (the
-     * schema for schemas says the attributes always have to go last).
-     */
-    public void finish() {
-      addBtsProperty();
-      if (mXsAttributeList != null) {
-        Attribute[] array = new Attribute[mXsAttributeList.size()];
-        mXsAttributeList.toArray(array);
-        mXsType.setAttributeArray(array);
-      }
-    }
-
-    // =======================================================================
-    // Private methods
-
-    /**
-     * Adds the current bts property to the bts type.  This has to be called
-     * for every property.  We do this last because ByNameBean won't
-     * let us add more than one prop for same name (name is always blank
-     * initially).
-     */
-    private void addBtsProperty() {
-      if (mBtsProp != null && !mBtsType.hasProperty(mBtsProp))
-          mBtsType.addProperty(mBtsProp);
-    }
-
-    /**
-     * Initialize a new QName property in the bts type
-     */
-    private void newBtsProperty() {
-      if (mBtsProp != null) addBtsProperty(); //if not 1st one, add old one
-      mBtsProp = new QNameProperty();
-    }
-  }
-
-
-  //this is temporary, will go away when we have our 175 story straight
-  private static JAnnotation[] getNamedTags(JAnnotation[] tags,
-                                            String named)
-  {
-    if (tags == null || tags.length == 0) return new JAnnotation[0];
-    List list = new ArrayList();
-    for(int i=0; i<tags.length; i++) {
-      if (tags[i].getSimpleName().equals(named)) list.add(tags[i]);
-    }
-    JAnnotation[] out = new JAnnotation[list.size()];
-    list.toArray(out);
-    return out;
-  }
-
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2SchemaTask.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2SchemaTask.java
deleted file mode 100644
index e48f45b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2SchemaTask.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.types.Path;
-import org.apache.tools.ant.types.Reference;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.JamService;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.StringTokenizer;
-
-/**
- * Ant task definition for binding in the start-with-java case.
- * The real work is delegated to another class, Java2Schema.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class Java2SchemaTask extends BindingCompilerTask {
-
-  // =========================================================================
-  // Variables
-
-  private Path mSourcepath = null;
-  private Path mClasspath = null;
-  private String mIncludes = null;
-  private Path mSrcDir = null;
-
-  // =========================================================================
-  // Task attributes
-
-  /**
-   * Set the source directories to find the source Java files.
-   */
-  public void setSrcdir(Path srcDir) {
-    if (mSrcDir == null) {
-      mSrcDir = srcDir;
-    } else {
-      mSrcDir.append(srcDir);
-    }
-  }
-
-  public void setSourcepath(Path path) {
-    if (mSourcepath == null) {
-      mSourcepath = path;
-    } else {
-      mSourcepath.append(path);
-    }
-  }
-
-  public void setClasspath(Path path) {
-    if (mClasspath == null) {
-      mClasspath = path;
-    } else {
-      mClasspath.append(path);
-    }
-  }
-
-  public void setClasspathRef(Reference r) {
-    createClasspath().setRefid(r);
-  }
-
-  public void setSourcepathRef(Reference r) {
-    createSourcepath().setRefid(r);
-  }
-
-  public Path createClasspath() {
-    if (mClasspath == null) {
-      mClasspath = new Path(getProject());
-    }
-    return mClasspath.createPath();
-  }
-
-  public Path createSourcepath() {
-    if (mSourcepath == null) {
-      mSourcepath = new Path(getProject());
-    }
-    return mSourcepath.createPath();
-  }
-
-  public void setIncludes(String includes) {
-    if (includes == null) throw new IllegalArgumentException("null includes");
-    mIncludes = includes;
-  }
-
-  public void setCompileSources(boolean ignoredRightNow) {}
-
-  public void setCopySources(boolean ignoredRightNow) {}
-
-  // =========================================================================
-  // BindingCompilerTask implementation
-
-  protected BindingCompiler getCompilerToExecute() throws BuildException {
-    //FIXME refactor this so the functionality is shared and consistent with
-    //Both2BindTask
-    if (mIncludes == null) {
-      //FIXME we need to improve/expand the ways in which the input source set
-      //is passed to us
-      throw new BuildException("The 'includes' attribute must be set.");
-    }
-    JamServiceFactory jf = JamServiceFactory.getInstance();
-    JamServiceParams params = jf.createServiceParams();
-    //
-    // process the included sources
-    //
-    String[] list = mSrcDir.list();
-    if (list.length == 0) throw new BuildException("srcDir attribute required");
-    if (list.length > 1) throw new BuildException("multiple srcDirs NYI");
-    File[] sourceRoots = path2files(mSrcDir);
-    StringTokenizer st = new StringTokenizer(mIncludes,",");
-    while(st.hasMoreTokens()) {
-      params.includeSourcePattern(sourceRoots,st.nextToken().trim());
-    }
-//params.setVerbose(DirectoryScanner.class);    
-    //
-    // add the sourcepath and classpath, if specified
-    //
-    if (mSourcepath != null) {
-      File[] files = path2files(mSourcepath);
-      for(int i=0; i<files.length; i++) params.addSourcepath(files[i]);
-    }
-    if (mClasspath != null) {
-      File[] files = path2files(mClasspath);
-      for(int i=0; i<files.length; i++) params.addClasspath(files[i]);
-    }
-    //
-    // create service, get classes, return compiler
-    //
-    JamService service;
-    try {
-      service = jf.createService(params);
-    } catch(IOException ioe) {
-      throw new BuildException(ioe);
-    }
-    return new Java2Schema(service.getAllClasses());
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private File[] path2files(Path path) {
-    String[] list = path.list();
-    File[] out = new File[list.length];
-    for(int i=0; i<out.length; i++) {
-      out[i] = new File(list[i]).getAbsoluteFile();
-    }
-    return out;
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2Java.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2Java.java
deleted file mode 100644
index adf5c5a..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2Java.java
+++ /dev/null
@@ -1,2007 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.binding.bts.*;
-import org.apache.xmlbeans.impl.binding.tylar.TylarWriter;
-import org.apache.xmlbeans.impl.binding.tylar.TylarConstants;
-import org.apache.xmlbeans.impl.binding.tylar.ExplodedTylarImpl;
-import org.apache.xmlbeans.impl.binding.tylar.DebugTylarWriter;
-import org.apache.xmlbeans.impl.binding.joust.Variable;
-import org.apache.xmlbeans.impl.binding.joust.CompilingJavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.impl.common.NameUtil;
-import org.apache.xmlbeans.*;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.soap.SchemaWSDLArrayType;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.LinkedHashMap;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.HashMap;
-import java.util.Collections;
-import java.util.AbstractCollection;
-import java.util.List;
-import java.math.BigInteger;
-import java.io.*;
-import java.lang.reflect.Modifier;
-
-/**
- * This is the "JAXRPC-style" Schema-to-bts compiler.
- */
-public class Schema2Java extends BindingCompiler {
-
-  // ========================================================================
-  // Variables
-
-  private Set usedNames = new HashSet();
-  private Set duplicateNames = new HashSet();
-  private SchemaTypeSystem sts = null;
-  private Map scratchFromXmlName = new LinkedHashMap();
-  private Map scratchFromSchemaType = new HashMap(); // for convenience
-  private Map scratchFromJavaNameString = new HashMap(); // for printing
-  private BindingLoader mLoader;
-  private int structureCount;
-  private BindingFile bindingFile = new BindingFile();
-  private JavaOutputStream mJoust = null;
-  private CompilingJavaOutputStream mDefaultJoust = null;
-  private boolean mJaxRpcRules;
-
-  // ========================================================================
-  // Constants
-
-  private static String[] PRIMITIVE_TYPES =
-  {"int", "boolean", "float", "long", "double", "short", "byte", "char"};
-  private static String[] BOXED_TYPES =
-  {"java.lang.Integer", "java.lang.Boolean", "java.lang.Float",
-   "java.lang.Long", "java.lang.Double", "java.lang.Short", "java.lang.Byte",
-   "java.lang.Character"};
-  private static String WILDCARD_ELEMENT_MAPPING = "javax.xml.soap.SOAPElement";
-  private static String WILDCARD_ATTRIBUTE_MAPPING = "javax.xml.soap.SOAPElement";
-  private static final String xsns = "http://www.w3.org/2001/XMLSchema";
-
-  // ========================================================================
-  // Constructors
-
-  /**
-   * Consturcts a Schema2Java to bind the types in the given type system.
-   */
-  public Schema2Java(SchemaTypeSystem s) {
-    setSchemaTypeSystem(s);
-  }
-
-  /**
-   * If you use this, you absolutely have to call setInput later.  This is
-   * here just as a convenience for Schema2JavaTask.
-   */
-  /*package*/
-  Schema2Java() {
-  }
-
-  /*package*/
-  void setSchemaTypeSystem(SchemaTypeSystem s) {
-    if (s == null) throw new IllegalArgumentException("null sts");
-    sts = s;
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Sets whether javac should be run on the generated java sources.
-   * The default is true.
-   */
-  public void setCompileJava(boolean b) {
-    assertCompilationStarted(false);
-    getDefaultJoust().setDoCompile(b);
-  }
-
-  /**
-   * Sets the location of javac to be invoked.  Default compiler is used
-   * if this is not set.  Ignored if doCompile is set to false.  Also note
-   * that not all BindingCompilers generate any source code at all, so
-   * setting this may have no effect.
-   */
-  public void setJavac(String javacPath) {
-    assertCompilationStarted(false);
-    getDefaultJoust().setJavac(javacPath);
-  }
-
-  /**
-   * Sets the classpath to use for compilation of generated sources.
-   * The System classpath is used by default.  This is ignored if doCompile is
-   * false.  Also note that not all BindingCompilers generate any source
-   * code at all, so setting this may have no effect.
-   */
-  public void setJavacClasspath(File[] classpath) {
-    assertCompilationStarted(false);
-    getDefaultJoust().setJavacClasspath(classpath);
-  }
-
-  /**
-   * Sets whether this BindingCompiler should keep any generated java source
-   * code it generates.  The default is true.  This will have no effect if
-   * doCompile is set to false.  Also note that not all BindingCompilers
-   * generate any source code at all, so setting this may have no effect in
-   * any event.
-   */
-  public void setKeepGeneratedJava(boolean b) {
-    assertCompilationStarted(false);
-    getDefaultJoust().setKeepGenerated(b);
-  }
-
-  /**
-   * Sets whether the compiler should use the JAX-RPC rules for mapping simple
-   * types and XMLNames to Java. By default, the XMLBeans rules are used,
-   * which are in fact almost identical.
-   */
-  public void setJaxRpcRules(boolean b) {
-    assertCompilationStarted(false);
-    mJaxRpcRules = b;
-  }
-
-  // ========================================================================
-  // BindingCompiler implementation
-
-  /**
-   * We override this method because we need the bindAs... tylar to include
-   * the defaultJoust.
-   */
-  protected ExplodedTylarImpl createDefaultExplodedTylarImpl(File tylarDestDir)
-          throws IOException {
-    CompilingJavaOutputStream joust = getDefaultJoust();
-    joust.setSourceDir(new File(tylarDestDir, TylarConstants.SRC_ROOT));
-    joust.setCompilationDir(tylarDestDir);
-    mJoust = joust;
-    return ExplodedTylarImpl.create(tylarDestDir, mJoust);
-  }
-
-  /**
-   * Computes the binding.  Note that the given TylarWriter MUST provide
-   * a JavaOutputStream or an IllegalArgumentException will be thrown.  Note
-   * also that if you call this method, the various parameters on this object
-   * pertaining to java compilation (e.g. setJavacPath) will be ignored.
-   */
-  protected void internalBind(TylarWriter writer) {
-    if (sts == null) throw new IllegalStateException("SchemaTypeSystem not set");
-    if ((mJoust = writer.getJavaOutputStream()) == null) {
-      //sanity check
-      throw new IllegalArgumentException("The specified TylarWriter does not " +
-                                         "provide a JavaOutputStream, and so it cannot be used with " +
-                                         "schema2java.");
-    }
-    bind();
-    try {
-      writer.writeBindingFile(bindingFile);
-      writer.writeSchemaTypeSystem(sts);
-    } catch (IOException ioe) {
-      if (!logError(ioe)) return;
-    }
-    //FIXME also write the input schemas
-    writeJavaFiles();
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private CompilingJavaOutputStream getDefaultJoust() {
-    if (mDefaultJoust == null) {
-      mDefaultJoust = new CompilingJavaOutputStream();
-      mDefaultJoust.setLogger(this);
-    }
-    return mDefaultJoust;
-  }
-
-  private void bind() {
-    //sanity check
-    if (mJoust == null) throw new IllegalStateException("joust not set");
-
-    setBuiltinBindingLoader(BuiltinBindingLoader.getBuiltinBindingLoader(mJaxRpcRules));
-    mLoader = super.getBaseBindingLoader();
-
-    // Every type or global element or global attribute is dropped into
-    // one of a number of categories.  (See Scratch constants.)
-    //
-    // Based on the category, a java class is either defined or found
-    // that maches with the schema type.
-    //
-    // The phases work as follows:
-    //
-    // 1. categorize and allocate Scratches
-    // 2. write or find java names for each xml type
-    // 3. allocate binding types for each scratch (done in the same pass as 2)
-    // 4. fill in the java getter/setter structure of any complex types
-
-
-    // 1. categorize and allocate Scratches
-    createScratchArea();
-
-    // Compute the list of duplicate names for Java types
-    for (Iterator i = scratchIterator(); i.hasNext();) {
-      Scratch scratch = (Scratch) i.next();
-      if (scratch.getCategory() == Scratch.STRUCT_TYPE ||
-          scratch.getCategory() == Scratch.ENUM_TYPE)
-      {
-          SchemaType sType = scratch.getSchemaType();
-          String name = getDefaultJavaName(sType).toLowerCase();
-          if (usedNames.contains(name))
-              duplicateNames.add(name);
-          usedNames.add(name);
-      }
-    }
-    usedNames.clear();
-
-    // 2. write or find java names for each xml type
-    // 3. allocate binding types for each scratch (done in the same pass as 2)
-    for (Iterator i = scratchIterator(); i.hasNext();) {
-      Scratch scratch = (Scratch) i.next();
-      resolveJavaName(scratch);
-      createBindingType(scratch);
-    }
-
-    // 4. fill in the java getter/setter structure of any complex types
-    for (Iterator i = scratchIterator(); i.hasNext();) {
-      Scratch scratch = (Scratch) i.next();
-      resolveJavaStructure(scratch);
-      resolveJavaEnumeration(scratch);
-      resolveJavaArray(scratch);
-    }
-  }
-
-  /**
-   * This function goes through all relevant schema types, plus soap
-   * array types, and creates a scratch area for each.  Each
-   * scratch area is also marked at this time with an XmlTypeName,
-   * a schema type, and a category.
-   */
-  private void createScratchArea() {
-    logVerbose("creating scratch area...");
-    for (Iterator i = allTypeIterator(); i.hasNext();) {
-      SchemaType sType = (SchemaType) i.next();
-      logVerbose("processing schema type "+sType);
-
-      XmlTypeName xmlName = XmlTypeName.forSchemaType(sType);
-      Scratch scratch;
-
-      if (sType.isSimpleType()) {
-        // simple types are atomic
-        // the order of these checks is important: an enumeration of lists will
-        // be both an enumeration and a list
-        // todo: what about simple content, custom codecs, etc?
-        if (isEnumeration(sType))
-          scratch = new Scratch(sType, xmlName, Scratch.ENUM_TYPE);
-        else if (isList(sType))
-          scratch = new Scratch(sType, xmlName, Scratch.LIST_TYPE);
-        else
-          scratch = new Scratch(sType, xmlName, Scratch.ATOMIC_TYPE);
-      } else if (sType.isDocumentType()) {
-        scratch = new Scratch(sType, XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, sType.getDocumentElementName()), Scratch.ELEMENT);
-      } else if (sType.isAttributeType()) {
-        scratch = new Scratch(sType, XmlTypeName.forGlobalName(XmlTypeName.ATTRIBUTE, sType.getAttributeTypeAttributeName()), Scratch.ATTRIBUTE);
-      } else if (isSoapArray(sType)) {
-        scratch = new Scratch(sType, xmlName, Scratch.SOAPARRAY_REF);
-        XmlTypeName altXmlName = soapArrayTypeName(sType);
-        scratch.setAsIf(altXmlName);
-
-        // soap arrays unroll like this
-        while (altXmlName.getComponentType() == XmlTypeName.SOAP_ARRAY) {
-          Scratch altScratch = new Scratch(sType, altXmlName, Scratch.SOAPARRAY);
-          scratchFromXmlName.put(altXmlName, altScratch);
-          altXmlName = altXmlName.getOuterComponent();
-        }
-      } else if (isLiteralArray(sType)) {
-        scratch = new Scratch(sType, xmlName, Scratch.LITERALARRAY_TYPE);
-      } else {
-        scratch = new Scratch(sType, xmlName, Scratch.STRUCT_TYPE);
-      }
-
-      scratchFromXmlName.put(xmlName, scratch);
-      scratchFromSchemaType.put(sType, scratch);
-      logVerbose("registered scratch "+scratch.getXmlName()+" for "+sType);
-    }
-  }
-
-  /**
-   * Computes a JavaTypeName for each scratch.  Notice that structures and
-   * atoms can be computed directly, but arrays, elements, etc, need
-   * to defer to other scratch areas, so this is a resolution
-   * process that occurs in dependency order.
-   */
-  private void resolveJavaName(Scratch scratch) {
-    if (scratch == null) {
-      logVerbose("FIXME null scratch, ignoring for now");
-      return;
-    }
-    if (scratch == null) throw new IllegalArgumentException("null scratch");
-    logVerbose("Resolving " + scratch.getXmlName());
-    // already resolved (we recurse to do in dependency order)
-    if (scratch.getJavaName() != null)
-      return;
-
-    switch (scratch.getCategory()) {
-      case Scratch.ATOMIC_TYPE:
-        {
-          resolveSimpleScratch(scratch);
-          return;
-        }
-
-      case Scratch.STRUCT_TYPE:
-      case Scratch.ENUM_TYPE:
-        {
-          JavaTypeName javaName = pickUniqueJavaName(scratch.getSchemaType(),
-              scratch.getCategory() == Scratch.ENUM_TYPE);
-          structureCount += 1;
-          scratch.setJavaName(javaName);
-          scratchFromJavaNameString.put(javaName.toString(), scratch);
-          return;
-        }
-
-      case Scratch.LIST_TYPE:
-        {
-          SchemaType itemType = getListItemType(scratch.getSchemaType());
-          Scratch itemScratch = scratchForSchemaType(itemType);
-          JavaTypeName itemName = null;
-          if (itemScratch == null) {
-            itemName = getTypeNameFromLoader(itemType);
-          }
-          else {
-            // The type is in the current scratch area
-            resolveJavaName(itemScratch);
-            itemName = itemScratch.getJavaName();
-          }
-          if (itemName != null)
-            scratch.setJavaName(JavaTypeName.forArray(itemName, 1));
-          return;
-        }
-      case Scratch.LITERALARRAY_TYPE:
-        {
-          SchemaType itemType = getLiteralArrayItemType(scratch.getSchemaType());
-          boolean nillable = scratch.getSchemaType().
-              getProperties()[0].hasNillable() != SchemaProperty.NEVER;
-          Scratch itemScratch = scratchForSchemaType(itemType);
-          JavaTypeName itemName = null;
-          if (itemScratch == null) {
-            itemName = getTypeNameFromLoader(itemType);
-          }
-          else
-          {
-              resolveJavaName(itemScratch);
-              itemName = itemScratch.getJavaName();
-          }
-          if (itemName != null)
-              if (nillable)
-              {
-                JavaTypeName boxedName = getBoxedName(itemName);
-                if (boxedName != null)
-                  scratch.setJavaName(JavaTypeName.forArray(boxedName, 1));
-                else
-                  scratch.setJavaName(JavaTypeName.forArray(itemName, 1));
-              }
-              else
-                scratch.setJavaName(JavaTypeName.forArray(itemName, 1));
-          return;
-        }
-
-      case Scratch.SOAPARRAY_REF:
-        {
-          XmlTypeName soapArrayName = scratch.getAsIf();
-          Scratch arrayScratch = scratchForXmlName(soapArrayName);
-          resolveJavaName(arrayScratch);
-          scratch.setJavaName(arrayScratch.getJavaName());
-          scratch.setAsIf(arrayScratch.getXmlName());
-          return;
-        }
-
-      case Scratch.SOAPARRAY:
-        {
-          XmlTypeName arrayName = scratch.getXmlName();
-          XmlTypeName itemName = arrayName.getOuterComponent();
-          Scratch itemScratch = scratchForXmlName(itemName);
-          JavaTypeName itemJavaName = null;
-          if (itemScratch == null) {
-              itemJavaName = getTypeNameFromLoader(itemName);
-              if (itemJavaName == null) {
-                logError("Could not find reference to type \"" +
-                  itemName.getQName() + "\"", null, scratch.getSchemaType());
-                itemJavaName = JavaTypeName.forString("unknown");
-              }
-          }
-          else {
-              resolveJavaName(itemScratch);
-              itemJavaName = itemScratch.getJavaName();
-          }
-          scratch.setJavaName(JavaTypeName.forArray(itemJavaName, arrayName.getNumber()));
-          return;
-        }
-
-      case Scratch.ELEMENT:
-      case Scratch.ATTRIBUTE:
-        {
-          logVerbose("processing element "+scratch.getXmlName());
-          SchemaType contentType = scratch.getSchemaType().getProperties()[0].getType();
-          boolean nillable = scratch.getSchemaType().
-              getProperties()[0].hasNillable() != SchemaProperty.NEVER;
-          logVerbose("content type is "+contentType.getName());
-          JavaTypeName contentName = null;
-          Scratch contentScratch = scratchForSchemaType(contentType);
-          logVerbose("content scratch is "+contentScratch);
-          if (contentScratch == null)
-          {
-              XmlTypeName treatAs = XmlTypeName.forSchemaType(contentType);
-              BindingType bType = mLoader.getBindingType(mLoader.
-                  lookupPojoFor(treatAs));
-              if (bType != null)
-              {
-                  contentName = bType.getName().getJavaName();
-                  scratch.setAsIf(treatAs);
-              }
-              else if (contentType.isBuiltinType())
-                  logError("Builtin type " + contentType.getName() + " is not supported",
-                      null, contentType);
-              else
-                  throw new IllegalStateException(contentType.getName().toString()+
-                      " type is not on mLoader");
-          }
-          else
-          {
-              resolveJavaName(contentScratch);
-              contentName = contentScratch.getJavaName();
-              scratch.setAsIf(contentScratch.getXmlName());
-          }
-          if (contentName != null)
-              if (nillable)
-              {
-                JavaTypeName boxedName = getBoxedName(contentName);
-                if (boxedName != null)
-                  scratch.setJavaName(boxedName);
-                else
-                  scratch.setJavaName(contentName);
-              }
-              else
-                scratch.setJavaName(contentName);
-          return;
-        }
-
-      default:
-        throw new IllegalStateException("Unrecognized category");
-    }
-  }
-
-  /**
-   * Computes a BindingType for a scratch.
-   */
-  private void createBindingType(Scratch scratch) {
-    assert(scratch.getBindingType() == null);
-    logVerbose("createBindingType for "+scratch);
-    BindingTypeName btName = BindingTypeName.forPair(scratch.getJavaName(), scratch.getXmlName());
-
-    switch (scratch.getCategory()) {
-      case Scratch.ATOMIC_TYPE:
-      case Scratch.SOAPARRAY_REF:
-      case Scratch.ATTRIBUTE:
-        SimpleBindingType simpleResult = new SimpleBindingType(btName);
-        simpleResult.setAsIfXmlType(scratch.getAsIf());
-        scratch.setBindingType(simpleResult);
-        bindingFile.addBindingType(simpleResult, shouldBeFromJavaDefault(btName), true);
-        break;
-
-      case Scratch.ELEMENT:
-        SimpleDocumentBinding docResult = new SimpleDocumentBinding(btName);
-        docResult.setTypeOfElement(scratch.getAsIf());
-        scratch.setBindingType(docResult);
-        bindingFile.addBindingType(docResult, shouldBeFromJavaDefault(btName), true);
-        break;
-
-      case Scratch.STRUCT_TYPE:
-        BindingType structResult;
-        if (scratch.getSchemaType().getContentType() == SchemaType.SIMPLE_CONTENT)
-          structResult = new SimpleContentBean(btName);
-        else
-          structResult = new ByNameBean(btName);
-        scratch.setBindingType(structResult);
-        bindingFile.addBindingType(structResult, true, true);
-        break;
-
-      case Scratch.ENUM_TYPE:
-        JaxrpcEnumType enumResult = new JaxrpcEnumType(btName);
-        enumResult.setGetValueMethod(JaxrpcEnumType.DEFAULT_GET_VALUE);
-        enumResult.setFromStringMethod(JaxrpcEnumType.DEFAULT_FROM_STRING);
-        enumResult.setToXMLMethod(JaxrpcEnumType.DEFAULT_TO_XML);
-        scratch.setBindingType(enumResult);
-        bindingFile.addBindingType(enumResult, true, true);
-        break;
-
-      case Scratch.LIST_TYPE:
-        ListArrayType listResult = new ListArrayType(btName);
-        scratch.setBindingType(listResult);
-        bindingFile.addBindingType(listResult, shouldBeFromJavaDefault(btName), true);
-        break;
-
-      case Scratch.LITERALARRAY_TYPE:
-        WrappedArrayType arrayResult = new WrappedArrayType(btName);
-        scratch.setBindingType(arrayResult);
-        bindingFile.addBindingType(arrayResult, shouldBeFromJavaDefault(btName), true);
-        break;
-
-      case Scratch.SOAPARRAY:
-        SoapArrayType soapArray = new SoapArrayType(btName);
-        scratch.setBindingType(soapArray);
-        bindingFile.addBindingType(soapArray, shouldBeFromJavaDefault(btName), false);
-        break;
-
-      default:
-        throw new IllegalStateException("Unrecognized category");
-    }
-  }
-
-  /**
-   * Returns true if the given btName would be the first (unique)
-   * default java->xml binding to be entered in the java-to-type or
-   * java-to-element tables.
-   */
-  private boolean shouldBeFromJavaDefault(BindingTypeName btName) {
-    JavaTypeName jName = btName.getJavaName();
-    XmlTypeName xName = btName.getXmlName();
-    if (xName.isSchemaType()) {
-      return (bindingFile.lookupTypeFor(jName) == null &&
-              mLoader.lookupTypeFor(jName) == null);
-    }
-    if (xName.getComponentType() == XmlTypeName.ELEMENT) {
-      return (bindingFile.lookupElementFor(jName) == null &&
-              mLoader.lookupElementFor(jName) == null);
-    }
-    return false;
-  }
-
-  /**
-   * Now we resolve the structural aspects (property names) for each
-   * scratch.
-   */
-  private void resolveJavaStructure(Scratch scratch) {
-    if (scratch.getCategory() != Scratch.STRUCT_TYPE)
-      return;
-
-    if (scratch.isStructureResolved())
-      return;
-
-    scratch.setStructureResolved(true);
-
-    SchemaType schemaType = scratch.getSchemaType();
-    SchemaType baseType = schemaType.getBaseType();
-    int derivationType  = schemaType.getDerivationType();
-    Collection baseProperties = null;
-    if (baseType != null)
-      baseProperties = extractProperties(baseType);
-    if (baseProperties == null)
-      baseProperties = Collections.EMPTY_LIST;
-
-    // sort properties based on QName attr/elt
-    Map seenAttrProps = new HashMap();
-    Map seenEltProps = new HashMap();
-    Set seenMethodNames = new HashSet();
-    seenMethodNames.add("getClass");
-
-    for (Iterator i = baseProperties.iterator(); i.hasNext();) {
-      QNameProperty prop = (QNameProperty) i.next();
-      if (prop.isAttribute())
-        seenAttrProps.put(prop.getQName(), prop);
-      else
-        seenEltProps.put(prop.getQName(), prop);
-
-      // todo: probably this collision avoidance should be using Java introspection instead
-      if (prop.getGetterName() != null)
-        seenMethodNames.add(prop.getGetterName());
-      if (prop.getSetterName() != null)
-        seenMethodNames.add(prop.getSetterName());
-    }
-
-    if (schemaType.getContentType() == SchemaType.SIMPLE_CONTENT) {
-      // Go up the type hierarchy to find the first simple type ancestor of
-      // this complex type
-      while (!baseType.isSimpleType())
-        baseType = baseType.getBaseType();
-      // we have to add a '_value' property to hold the value corresponding to the
-      // content of the XML elem
-      BindingType bType = extractBindingType(baseType);
-      if (bType == null)
-        throw new IllegalStateException("Type " + baseType.getName() +
-          "not found in type loader");
-      String propName = "_value";
-      SimpleContentProperty prop = new SimpleContentProperty();
-      prop.setSetterName(MethodName.create("set" + propName,
-          bType.getName().getJavaName()));
-      prop.setGetterName(MethodName.create("get" + propName));
-      prop.setBindingType(bType);
-      scratch.setSimpleContentProperty(prop);
-    }
-    else {
-      // Handle the element wildcards
-      if (schemaType.hasElementWildcards()) {
-        // First, we have to see if it's just one wildcard or more
-        boolean multiple = countWildcards(schemaType.getContentModel()) > 1;
-        // We have to look at the base type and check multiplicity
-        if (baseType != null &&
-          baseType.getBuiltinTypeCode() != SchemaType.BTC_ANY_TYPE) {
-          boolean hasBaseElementWildcards = baseType.hasElementWildcards();
-          boolean baseMultiple = countWildcards(baseType.getContentModel()) > 1;
-          if (hasBaseElementWildcards && multiple != baseMultiple)
-            logError("Could not bind type\"" + schemaType.getName() +
-                    "\" because its base type \"" + baseType.getName() +
-                    "\" has only one element wildcard and the current type has more.",
-                    null, schemaType);
-        }
-        GenericXmlProperty prop = new GenericXmlProperty();
-        String propName = "_any";
-        BindingType bType = getWildcardElementBindingType(multiple);
-        prop.setSetterName(MethodName.create("set" + propName,
-            bType.getName().getJavaName()));
-        prop.setGetterName(MethodName.create("get" + propName));
-        prop.setBindingType(bType);
-        scratch.setAnyElementProperty(prop);
-      }
-    }
-
-    if (derivationType == SchemaType.DT_RESTRICTION)
-    {
-        // Derivation type is restriction, so no new properties may be added
-        return;
-    }
-
-    // Handle the attribute wildcards
-    // No check is necessary, because it always maps to the same type if present
-    if (schemaType.hasAttributeWildcards()) {
-      String propName = "_anyAttribute";
-      GenericXmlProperty prop = new GenericXmlProperty();
-      BindingType bType = getWildcardAttributeBindingType();
-      prop.setSetterName(MethodName.create("set" + propName,
-          bType.getName().getJavaName()));
-      prop.setGetterName(MethodName.create("get" + propName));
-      prop.setBindingType(bType);
-      scratch.setAnyAttributeProperty(prop);
-    }
-
-    // Now deal with remaining props
-    SchemaProperty[] props = schemaType.getProperties();
-    for (int i = 0; i < props.length; i++) {
-      QNameProperty prop = (QNameProperty) (props[i].isAttribute() ? seenAttrProps : seenEltProps).get(props[i].getName());
-      if (prop != null) {
-        // already seen property: verify multiplicity looks cool
-        if (prop.isMultiple() != isMultiple(props[i])) {
-            logError("Could not bind element \"" + props[i].getName() +
-                    "\" because the corresponding element in the base type has a " +
-                    "different 'maxOccurs' value", null, props[i]);
-        }
-
-        // todo: think about optionality and nillability too
-      } else {
-        SchemaType sType = props[i].getType();
-        BindingType bType = bindingTypeForSchemaType(sType);
-        if (bType == null)
-          throw new IllegalStateException("Type " + sType.getName() +
-            "not found in type loader");
-
-        String propName = pickUniquePropertyName(props[i].getName(), seenMethodNames);
-        boolean isMultiple = isMultiple(props[i]);
-        JavaTypeName collection = null;
-
-        prop = new QNameProperty();
-        prop.setQName(props[i].getName());
-        prop.setAttribute(props[i].isAttribute());
-        prop.setNillable(props[i].hasNillable() != SchemaProperty.NEVER);
-        prop.setOptional(isOptional(props[i]));
-        prop.setMultiple(isMultiple);
-        if (prop.isNillable() || prop.isOptional())
-          bType = findBoxedType(bType);
-        prop.setBindingType(bType);
-        prop.setSetterName(MethodName.create("set" + propName,
-                                             bType.getName().getJavaName()));
-        prop.setGetterName(MethodName.create("get" + propName));
-        if (prop.isMultiple())
-                collection = JavaTypeName.forArray(bType.getName().getJavaName(), 1);
-        prop.setCollectionClass(collection);
-      }
-      scratch.addQNameProperty(prop);
-    }
-  }
-
-  /**
-   * Resolves a Java array
-   */
-  private void resolveJavaArray(Scratch scratch)
-  {
-    if (scratch.getCategory() != Scratch.LITERALARRAY_TYPE &&
-        scratch.getCategory() != Scratch.LIST_TYPE &&
-        scratch.getCategory() != Scratch.SOAPARRAY)
-      return;
-
-    if (scratch.isStructureResolved())
-      return;
-
-    scratch.setStructureResolved(true);
-
-    BindingType scratchBindingType = scratch.getBindingType();
-    if (scratchBindingType instanceof WrappedArrayType) {
-      WrappedArrayType bType = (WrappedArrayType) scratchBindingType;
-      JavaTypeName itemName = scratch.getJavaName().getArrayItemType(1);
-      assert(itemName != null);
-      SchemaType sType = getLiteralArrayItemType(scratch.getSchemaType());
-      assert sType != null : "This was already checked and determined to be non-null";
-      SchemaProperty prop = scratch.getSchemaType().getProperties()[0];
-      bType.setItemName(prop.getName());
-      BindingType itemType = bindingTypeForSchemaType(sType);
-      if (itemType == null)
-        throw new IllegalStateException("Type " + sType.getName() +
-          " not found in type loader");
-
-      bType.setItemNillable(prop.hasNillable() != SchemaProperty.NEVER);
-      if (bType.isItemNillable())
-        itemType = findBoxedType(itemType);
-      bType.setItemType(itemType.getName());
-    }
-    else if (scratchBindingType instanceof ListArrayType) {
-      ListArrayType bType = (ListArrayType) scratchBindingType;
-      JavaTypeName itemName = scratch.getJavaName().getArrayItemType(1);
-      assert (itemName != null);
-      SchemaType sType = getListItemType(scratch.getSchemaType());
-      assert (sType != null);
-      BindingType itemType = bindingTypeForSchemaType(sType);
-      if (itemType == null)
-        throw new IllegalStateException("Type " + sType.getName() +
-          " not found in the type loader");
-      bType.setItemType(itemType.getName());
-    }
-    else if (scratchBindingType instanceof SoapArrayType) {
-      SoapArrayType bType = (SoapArrayType) scratchBindingType;
-      XmlTypeName typexName = scratch.getXmlName();
-      XmlTypeName itemxName = typexName.getOuterComponent();
-      Scratch itemxScratch = scratchForXmlName(itemxName);
-      BindingType itemxType;
-      if (itemxScratch == null)
-        itemxType = mLoader.getBindingType(mLoader.lookupPojoFor(itemxName));
-      else
-        itemxType = itemxScratch.getBindingType();
-      // The rule is: if the soap array type looks like a literal array
-      // then the name and nillability are the same as for literal arrays
-      // Otherwise, the name is not significant and nillability is false
-      if (getLiteralArrayItemType(scratch.getSchemaType()) == null) {
-        bType.setItemNillable(false);
-      }
-      else {
-        SchemaProperty prop = scratch.getSchemaType().getProperties()[0];
-        bType.setItemName(prop.getName());
-        bType.setItemNillable(prop.hasNillable() != SchemaProperty.NEVER);
-      }
-
-      if (itemxType != null) {
-        if (bType.isItemNillable())
-          itemxType = findBoxedType(itemxType);
-        bType.setItemType(itemxType.getName());
-      }
-      SOAPArrayType aType = getWsdlArrayType(scratch.getSchemaType());
-      if (aType != null)
-        bType.setRanks(aType.getDimensions().length);
-
-      return;
-    }
-    else
-      throw new IllegalStateException();
-  }
-
-  /**
-   * Resolves a Java enumeration
-   */
-  private void resolveJavaEnumeration(Scratch scratch)
-  {
-    if (scratch.getCategory() != Scratch.ENUM_TYPE)
-      return;
-
-    if (scratch.isStructureResolved())
-      return;
-
-    scratch.setStructureResolved(true);
-
-    SchemaType baseType = scratch.getSchemaType().getBaseType();
-
-    BindingType bType = bindingTypeForSchemaType(baseType);
-    assert bType != null : "Binding type for schema type \"" + baseType +
-      "\" not found on the mLoader";
-
-    JaxrpcEnumType enumType = (JaxrpcEnumType) scratch.getBindingType();
-    enumType.setFromValueMethod(MethodName.create(JaxrpcEnumType.DEFAULT_FROM_VALUE_NAME,
-            bType.getName().getJavaName()));
-    enumType.setBaseType(bType);
-  }
-
-  /**
-   * Picks a property name without colliding with names of
-   * previously picked getters and setters.
-   */
-  private String pickUniquePropertyName(QName name, Set seenMethodNames) {
-    String baseName = NameUtil.upperCamelCase(name.getLocalPart(), mJaxRpcRules);
-    String propName = baseName;
-    for (int i = 1; ; i += 1) {
-      String getter = "get" + propName;
-      String setter = "set" + propName;
-
-      if (!seenMethodNames.contains(getter) &&
-              !seenMethodNames.contains(setter)) {
-        seenMethodNames.add(getter);
-        seenMethodNames.add(setter);
-        return propName;
-      }
-      propName = baseName + i;
-    }
-  }
-
-  /**
-   * True if the given SchemaProperty has maxOccurs > 1
-   */
-  private static boolean isMultiple(SchemaProperty prop) {
-    return (prop.getMaxOccurs() == null || prop.getMaxOccurs().compareTo(BigInteger.ONE) > 0);
-  }
-
-  /**
-   * True if the given SchemaProperty has minOccurs < 1 and maxOccurs <= 1
-   */
-  private static boolean isOptional(SchemaProperty prop) {
-      return (prop.getMinOccurs().signum() == 0 && !isMultiple(prop));
-  }
-
-  /**
-   * Returns a collection of QNameProperties for a given schema type that
-   * may either be on the mLoader or the current scratch area.
-   */
-  private Collection extractProperties(SchemaType sType) {
-    // case 1: it's in the current area
-    Scratch scratch = scratchForSchemaType(sType);
-    if (scratch != null) {
-      // The type found may not be a structure
-      if (scratch.getCategory() == Scratch.STRUCT_TYPE) {
-        resolveJavaStructure(scratch);
-        return scratch.getQNameProperties();
-      }
-      else
-        return null;
-    }
-
-    // case 2: it's in the mLoader
-    BindingType bType = mLoader.getBindingType(mLoader.lookupPojoFor(XmlTypeName.forSchemaType(sType)));
-
-    Collection result = new ArrayList();
-    if (bType instanceof ByNameBean) {
-      ByNameBean bnb = (ByNameBean) bType;
-      for (Iterator i = bnb.getProperties().iterator(); i.hasNext();) {
-        result.add(i.next());
-      }
-    }
-    else if (bType instanceof SimpleContentBean) {
-      SimpleContentBean scb = (SimpleContentBean) bType;
-      for (Iterator i = scb.getAttributeProperties().iterator(); i.hasNext();) {
-        result.add(i.next());
-      }
-    }
-    else
-      return null;
-
-    return result;
-  }
-
-  /**
-   * Returns the simple type which the base of a complex Type with simpleContent
-   */
-  private BindingType extractBindingType(SchemaType sType) {
-    // case 1: it's in the current area
-    Scratch scratch = scratchForSchemaType(sType);
-    if (scratch != null)
-      return scratch.getBindingType();
-
-    // case 2: it's in the mLoader
-    BindingType bType = mLoader.getBindingType(mLoader.lookupPojoFor(XmlTypeName.
-            forSchemaType(sType)));
-
-    return bType;
-  }
-
-  /**
-   * Returns a BindingType representing the default type for <xs:any> content
-   */
-  private BindingType getWildcardElementBindingType(boolean multiple) {
-    JavaTypeName javaName;
-    javaName = JavaTypeName.forString(WILDCARD_ELEMENT_MAPPING);
-    if (multiple)
-      javaName = JavaTypeName.forArray(javaName, 1);
-    XmlTypeName xmlName = XmlTypeName.forTypeNamed(new QName(xsns, "anyType"));
-    return new SimpleBindingType(BindingTypeName.forPair(javaName, xmlName));
-  }
-
-  /**
-   * Returns a BindingType representing the default type for <xs:anyAttribute>
-   */
-  private BindingType getWildcardAttributeBindingType() {
-    JavaTypeName javaName;
-    javaName = JavaTypeName.forString(WILDCARD_ATTRIBUTE_MAPPING);
-    XmlTypeName xmlName = XmlTypeName.forTypeNamed(new QName(xsns, "anyType"));
-    return new SimpleBindingType(BindingTypeName.forPair(javaName, xmlName));
-  }
-
-  private JavaTypeName getBoxedName(JavaTypeName jName)
-  {
-    // We could use a map here and initialize it on first use
-    for (int i = 0; i < PRIMITIVE_TYPES.length; i++)
-      if (PRIMITIVE_TYPES[i].equals(jName.toString()))
-        return JavaTypeName.forString(BOXED_TYPES[i]);
-
-    return null;
-  }
-
-  /**
-   * Returns the boxed version of the given binding type
-   */
-  private BindingType findBoxedType(BindingType type)
-  {
-    BindingTypeName btName = type.getName();
-    JavaTypeName javaName = btName.getJavaName();
-    BindingType result = null;
-    JavaTypeName boxedJavaName = getBoxedName(javaName);
-    if (boxedJavaName != null)
-    {
-      // This is a primitive type
-      BindingTypeName boxedName = BindingTypeName.forPair(boxedJavaName, btName.getXmlName());
-      // If the type is in the current scratch area, create a new boxed type
-      if (scratchForXmlName(btName.getXmlName()) != null)
-      {
-        result = bindingFile.getBindingType(boxedName);
-        if (result == null)
-        {
-          result = changeJavaName((SimpleBindingType) type, boxedName);
-          bindingFile.addBindingType(result, false, false);
-        }
-        return result;
-      }
-      // If this is a type available on the mLoader, try to locate
-      // the boxed type corresponding to it.
-      result = mLoader.getBindingType(boxedName);
-      if (result != null)
-        return result;
-
-      // Type is not in the current scratch area nor on the mLoader
-      // We create it and add it to the file
-      result = bindingFile.getBindingType(boxedName);
-      if (result == null)
-      {
-        result = changeJavaName((SimpleBindingType) type, boxedName);
-        bindingFile.addBindingType(result, false, false);
-      }
-      return result;
-    }
-
-    return type;
-  }
-
-  /**
-   * Creates a new binding type based on the given binding type and bearing the
-   * new JavaTypeName. This is necessary to created boxed versions of
-   * binding types based on Java primitive types.
-   */
-  private BindingType changeJavaName(SimpleBindingType bType, BindingTypeName btName)
-  {
-    SimpleBindingType result = new SimpleBindingType(btName);
-    result.setAsIfXmlType(bType.getAsIfXmlType());
-    result.setWhitespace(bType.getWhitespace());
-    return result;
-  }
-
-  /**
-   * True for a schema type that is a SOAP array.
-   */
-  private static boolean isSoapArray(SchemaType sType) {
-    // SOAP Array definition must be put on the compiletime classpath
-    while (sType != null) {
-      String signature = XmlTypeName.forSchemaType(sType).toString();
-
-      // captures both SOAP 1.1 and SOAP 1.2+
-      if (signature.equals("t=Array@http://schemas.xmlsoap.org/soap/encoding/") ||
-              signature.startsWith("t=Array@http://www.w3.org/")
-              && signature.endsWith("/soap-encoding"))
-        return true;
-      sType = sType.getBaseType();
-    }
-    return false;
-  }
-
-  private static final QName arrayType = new QName("http://schemas.xmlsoap.org/soap/encoding/", "arrayType");
-
-  /**
-   * Returns an XmlTypeName describing a SOAP array.
-   */
-  private static XmlTypeName soapArrayTypeName(SchemaType sType) {
-    // first, look for wsdl:arrayType default - this will help us with multidimensional arrays
-    SOAPArrayType defaultArrayType = getWsdlArrayType(sType);
-
-    // method 1: trust wsdl:arrayType
-    if (defaultArrayType != null)
-      return XmlTypeName.forSoapArrayType(defaultArrayType);
-
-    // method 2: SOAP 1.2 equivalent?
-    // todo: track what do WSDLs do in the world of SOAP 1.2.
-
-    // method 3: look at the type of a unique element.
-    SchemaType itemType = XmlObject.type;
-    SchemaProperty[] props = sType.getElementProperties();
-    if (props.length == 1)
-      itemType = props[0].getType();
-
-    return XmlTypeName.forNestedNumber(XmlTypeName.SOAP_ARRAY, 1, XmlTypeName.forSchemaType(itemType));
-  }
-
-  private static SOAPArrayType getWsdlArrayType(SchemaType sType) {
-    SchemaLocalAttribute attr = sType.getAttributeModel().getAttribute(arrayType);
-    if (attr != null)
-      return ((SchemaWSDLArrayType) attr).getWSDLArrayType();
-    return null;
-  }
-
-  /**
-   * Climbs the structure of a schema type to find the namespace within
-   * which it was defined.
-   */
-  private String findContainingNamespace(SchemaType sType) {
-    for (; ;) {
-      if (sType.isDocumentType())
-        return sType.getDocumentElementName().getNamespaceURI();
-      else if (sType.isAttributeType())
-        return sType.getAttributeTypeAttributeName().getNamespaceURI();
-      else if (sType.getName() != null)
-        return sType.getName().getNamespaceURI();
-      sType = sType.getOuterType();
-    }
-  }
-
-  /**
-   * Searches the content of a complex type to see if more than one <xs:any>
-   * wildcard was defined
-   */
-  private int countWildcards(SchemaParticle p)
-  {
-    int totalWildcards = 0;
-    switch (p.getParticleType()) {
-      case SchemaParticle.ALL:
-      case SchemaParticle.SEQUENCE:
-        {
-          SchemaParticle[] children = p.getParticleChildren();
-          for (int i = 0; i < children.length; i++)
-            totalWildcards += countWildcards(children[i]);
-        }
-        break;
-      case SchemaParticle.CHOICE:
-        {
-          SchemaParticle[] children = p.getParticleChildren();
-          for (int i = 0; i < children.length; i++) {
-            int n = countWildcards(children[i]);
-            if (n > totalWildcards)
-              totalWildcards = n;
-          }
-        }
-        break;
-      case SchemaParticle.ELEMENT:
-        break;
-      case SchemaParticle.WILDCARD:
-        totalWildcards = p.getIntMaxOccurs();
-        break;
-      }
-    return totalWildcards;
-  }
-
-  /**
-   * Picks a unique fully-qualified Java class name for the given schema
-   * type.  Uses and updates the "usedNames" set.
-   */
-    private JavaTypeName pickUniqueJavaName(SchemaType sType, boolean isEnum) {
-    String baseName = getDefaultJavaName(sType);
-
-    if (duplicateNames.contains(baseName.toLowerCase()))
-    {
-      if (isEnum)
-        baseName = baseName + "_Enumeration";
-      else if (sType.getContainerField() != null &&
-          !sType.getContainerField().isAttribute())
-        baseName = baseName + "_Element";
-      else if (sType.getName() != null)
-        baseName = baseName + "_Type";
-    }
-    String pickedName = baseName;
-
-    for (int i = 1; usedNames.contains(pickedName.toLowerCase()); i += 1)
-      pickedName = baseName + i;
-
-    usedNames.add(pickedName.toLowerCase());
-
-    return JavaTypeName.forString(pickedName);
-  }
-
-  private String getDefaultJavaName(SchemaType sType) {
-    QName qname = null;
-    while (qname == null) {
-      if (sType.isDocumentType())
-        qname = sType.getDocumentElementName();
-      else if (sType.isAttributeType())
-        qname = sType.getAttributeTypeAttributeName();
-      else if (sType.getName() != null)
-        qname = sType.getName();
-      else if (sType.getContainerField() != null) {
-        qname = sType.getContainerField().getName();
-        if (qname.getNamespaceURI().length() == 0)
-          qname = new QName(findContainingNamespace(sType), qname.getLocalPart());
-      }
-      sType = sType.getOuterType();
-    }
-
-    return NameUtil.getClassNameFromQName(qname, mJaxRpcRules);
-  }
-
-  /**
-   * Resolves an atomic scratch all at once, including its
-   * JavaTypeName and basedOn fields.
-   *
-   * This resolution method sets up a scratch so that is
-   * is "based on" another binding type.  It finds the
-   * underlying binding type by climing the base type
-   * chain, and grabbing the first hit.
-   */
-  private void resolveSimpleScratch(Scratch scratch) {
-    assert(scratch.getCategory() == Scratch.ATOMIC_TYPE);
-    logVerbose("resolveSimpleScratch "+scratch.getXmlName());
-    if (scratch.getJavaName() != null)
-      return;
-
-    SchemaType baseType = scratch.getSchemaType().getBaseType();
-    while (baseType != null) {
-      // find a base type within this type system
-      Scratch basedOnScratch = scratchForSchemaType(baseType);
-      if (basedOnScratch != null) {
-        if (basedOnScratch.getCategory() != Scratch.ATOMIC_TYPE)
-          throw new IllegalStateException("Atomic types should only inherit from atomic types");
-        resolveSimpleScratch(basedOnScratch);
-        scratch.setJavaName(basedOnScratch.getJavaName());
-        scratch.setAsIf(basedOnScratch.getXmlName());
-        return;
-      }
-
-      // or if not within this type system, find the base type on the mLoader
-      XmlTypeName treatAs = XmlTypeName.forSchemaType(baseType);
-      BindingType basedOnBinding = mLoader.getBindingType(mLoader.lookupPojoFor(treatAs));
-      if (basedOnBinding != null) {
-        scratch.setJavaName(basedOnBinding.getName().getJavaName());
-        scratch.setAsIf(treatAs);
-        return;
-      }
-
-      // or go to the next base type up
-      baseType = baseType.getBaseType();
-    }
-
-    // builtin at least should give us xs:anyType
-    throw new IllegalStateException("Builtin binding type loader is not on mLoader.");
-  }
-
-  /**
-   * Searches on the mLoader for the given schema type and
-   * returns the java name of the type found or errors
-   * if it cannot find the type
-   */
-  private JavaTypeName getTypeNameFromLoader(SchemaType sType) {
-    return getTypeNameFromLoader(XmlTypeName.forSchemaType(sType));
-  }
-
-  private JavaTypeName getTypeNameFromLoader(XmlTypeName typeName) {
-    BindingType bType = mLoader.getBindingType(mLoader.
-      lookupPojoFor(typeName));
-    if (bType != null)
-      return bType.getName().getJavaName();
-
-    return null;
-  }
-
-  /**
-   * Looks on both the mLoader and in the current scratch area for
-   * the binding type corresponding to the given schema type.  Must
-   * be called after all the binding types have been created.
-   */
-  private BindingType bindingTypeForSchemaType(SchemaType sType) {
-    Scratch scratch = scratchForSchemaType(sType);
-    if (scratch != null)
-      return scratch.getBindingType();
-    return mLoader.getBindingType(mLoader.lookupPojoFor(XmlTypeName.forSchemaType(sType)));
-  }
-
-  /**
-   * Returns the scratch area for a given schema type.  Notice that
-   * SOAP arrays have an XmlTypeName but not a schema type.
-   */
-  private Scratch scratchForSchemaType(SchemaType sType) {
-    return (Scratch) scratchFromSchemaType.get(sType);
-  }
-
-  /**
-   * Returns the scratch area for a given XmlTypeName.
-   */
-  private Scratch scratchForXmlName(XmlTypeName xmlName) {
-    return (Scratch) scratchFromXmlName.get(xmlName);
-  }
-
-  /**
-   * Returns the scratch area for a given JavaTypeName.  Notice that only
-   * structures generate a java class, so not non-strucuture scratch areas
-   * cannot be referenced this way.
-   */
-  private Scratch scratchForJavaNameString(String javaName) {
-    return (Scratch) scratchFromJavaNameString.get(javaName);
-  }
-
-  /**
-   * Extracts the schema type for the array items for a literal array.
-   */
-  private static SchemaType getLiteralArrayItemType(SchemaType sType) {
-    // consider: must the type be named "ArrayOf..."?
-
-    if (sType.isSimpleType() || sType.getContentType() == SchemaType.SIMPLE_CONTENT)
-      return null;
-    SchemaProperty[] prop = sType.getProperties();
-    if (prop.length != 1 || prop[0].isAttribute())
-      return null;
-    BigInteger max = prop[0].getMaxOccurs();
-    if (max != null && max.compareTo(BigInteger.ONE) <= 0)
-      return null;
-    return prop[0].getType();
-  }
-
-  private static SchemaType getListItemType(SchemaType sType) {
-    return sType.getListItemType();
-  }
-
-  /**
-   * True if the given schema type is interpreted as a .NET-style
-   * array.
-   */
-  private static boolean isLiteralArray(SchemaType sType) {
-    return getLiteralArrayItemType(sType) != null;
-  }
-
-  /**
-   * True if the given schema type is an enumeration type.
-   */
-  private static boolean isEnumeration(SchemaType sType) {
-    return sType.getEnumerationValues() != null;
-  }
-
-  /**
-   * True if the given schema type is a list type
-   */
-  private static boolean isList(SchemaType sType) {
-    return getListItemType(sType) != null;
-  }
-
-  /**
-   * Scratch area corresponding to a schema type, used for the binding
-   * computation.
-   */
-  private static class Scratch {
-    Scratch(SchemaType schemaType, XmlTypeName xmlName, int category) {
-      this.schemaType = schemaType;
-      this.xmlName = xmlName;
-      this.category = category;
-    }
-
-    private BindingType bindingType;
-    private SchemaType schemaType; // may be null
-    private JavaTypeName javaName;
-    private XmlTypeName xmlName;
-
-    private int category;
-
-    // atomic types get a treatAs
-    private XmlTypeName asIf;
-    private boolean isStructureResolved;
-
-    // categories of Scratch, established at ctor time
-    public static final int ATOMIC_TYPE = 1;
-    public static final int STRUCT_TYPE = 2;
-    public static final int ENUM_TYPE = 3;
-    public static final int LIST_TYPE = 4;
-    public static final int LITERALARRAY_TYPE = 5;
-    public static final int SOAPARRAY_REF = 6;
-    public static final int SOAPARRAY = 7;
-    public static final int ELEMENT = 8;
-    public static final int ATTRIBUTE = 9;
-
-    public int getCategory() {
-      return category;
-    }
-
-    public JavaTypeName getJavaName() {
-      return javaName;
-    }
-
-    public void setJavaName(JavaTypeName javaName) {
-      this.javaName = javaName;
-    }
-
-    public BindingType getBindingType() {
-      return bindingType;
-    }
-
-    public void setBindingType(BindingType bindingType) {
-      this.bindingType = bindingType;
-    }
-
-    public SchemaType getSchemaType() {
-      return schemaType;
-    }
-
-    public XmlTypeName getXmlName() {
-      return xmlName;
-    }
-
-    public void setXmlName(XmlTypeName xmlName) {
-      this.xmlName = xmlName;
-    }
-
-    public XmlTypeName getAsIf() {
-      return asIf;
-    }
-
-    public void setAsIf(XmlTypeName xmlName) {
-      this.asIf = xmlName;
-    }
-
-    public void addQNameProperty(QNameProperty prop) {
-      if (bindingType instanceof ByNameBean)
-        ((ByNameBean) bindingType).addProperty(prop);
-      else if (bindingType instanceof SimpleContentBean)
-        ((SimpleContentBean) bindingType).addProperty(prop);
-      else
-        throw new IllegalStateException();
-    }
-
-    public Collection getQNameProperties() {
-      if (bindingType instanceof ByNameBean)
-        return ((ByNameBean) bindingType).getProperties();
-      else if (bindingType instanceof SimpleContentBean)
-        return ((SimpleContentBean) bindingType).getAttributeProperties();
-      else
-        throw new IllegalStateException();
-    }
-
-    public void setSimpleContentProperty(SimpleContentProperty prop) {
-      if (bindingType instanceof SimpleContentBean)
-        ((SimpleContentBean) bindingType).setSimpleContentProperty(prop);
-      else
-        throw new IllegalStateException();
-    }
-
-    public SimpleContentProperty getSimpleContentProperty() {
-      if (bindingType instanceof SimpleContentBean)
-        return ((SimpleContentBean) bindingType).getSimpleContentProperty();
-      else
-        return null;
-    }
-
-    public void setAnyAttributeProperty(GenericXmlProperty prop) {
-      if (bindingType instanceof ByNameBean)
-        ((ByNameBean) bindingType).setAnyAttributeProperty(prop);
-      else if (bindingType instanceof SimpleContentBean)
-        ((SimpleContentBean) bindingType).setAnyAttributeProperty(prop);
-      else
-        throw new IllegalStateException();
-    }
-
-    public GenericXmlProperty getAnyAttributeProperty() {
-      if (bindingType instanceof ByNameBean)
-        return ((ByNameBean) bindingType).getAnyAttributeProperty();
-      else if (bindingType instanceof SimpleContentBean)
-        return ((SimpleContentBean) bindingType).getAnyAttributeProperty();
-      else
-        throw new IllegalStateException();
-    }
-
-    public void setAnyElementProperty(GenericXmlProperty prop) {
-      if (bindingType instanceof ByNameBean)
-        ((ByNameBean) bindingType).setAnyElementProperty(prop);
-      else
-        throw new IllegalStateException();
-    }
-
-    public GenericXmlProperty getAnyElementProperty() {
-      if (bindingType instanceof  ByNameBean)
-        return ((ByNameBean) bindingType).getAnyElementProperty();
-      else if (bindingType instanceof SimpleContentBean)
-        return null;
-      else
-        throw new IllegalStateException();
-    }
-
-    public boolean isStructureResolved() {
-      return this.isStructureResolved;
-    }
-
-    public void setStructureResolved(boolean isStructureResolved) {
-      this.isStructureResolved = isStructureResolved;
-    }
-
-    public String toString() {
-      return getJavaName()+"<->"+getXmlName();
-    }
-  }
-
-  /**
-   * Returns an iterator for all the Scratch's
-   */
-  private Iterator scratchIterator() {
-    return scratchFromXmlName.values().iterator();
-  }
-
-  /**
-   * Returns an iterator for all the schema types
-   */
-  private Iterator allTypeIterator() {
-    class AllTypeIterator implements Iterator {
-      int index;
-      List allSeenTypes;
-
-      AllTypeIterator(SchemaTypeSystem sts) {
-        allSeenTypes = new ArrayList();
-        allSeenTypes.addAll(Arrays.asList(sts.documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(sts.attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(sts.globalTypes()));
-//        allSeenTypes.addAll(Arrays.asList(XmlBeans.getBuiltinTypeSystem().globalTypes()));
-        index = 0;
-      }
-
-      public boolean hasNext() {
-        return index < allSeenTypes.size();
-      }
-
-      public Object next() {
-        SchemaType next = (SchemaType) allSeenTypes.get(index);
-        allSeenTypes.addAll(Arrays.asList(next.getAnonymousTypes()));
-        index += 1;
-        return next;
-      }
-
-      public void remove() {
-        throw new UnsupportedOperationException();
-      }
-    }
-
-    return new AllTypeIterator(sts);
-  }
-
-  /**
-   * Iterates over all the top-level Java class names generated
-   * by this binding.  Used by getToplevelClasses.
-   */
-  private class TopLevelClassNameIterator implements Iterator {
-    private final Iterator si = scratchIterator();
-    private Scratch next = nextStructure();
-
-    public boolean hasNext() {
-      return next != null;
-    }
-
-    public Object next() {
-      // todo: need to strip off x= from xmlobject name
-      String result = next.getJavaName().toString();
-      next = nextStructure();
-      return result;
-    }
-
-    private Scratch nextStructure() {
-      while (si.hasNext()) {
-        Scratch scratch = (Scratch) si.next();
-        if (scratch.getCategory() == Scratch.STRUCT_TYPE ||
-          scratch.getCategory() == Scratch.ENUM_TYPE)
-          return scratch;
-      }
-      return null;
-    }
-
-    public void remove() {
-      throw new UnsupportedOperationException();
-    }
-
-  }
-
-  // ========================================================================
-  // Java Codegen methods
-  //
-  // REVIEW it may be worth factoring these methods back out into a separate
-  // class someday.  Somebody conceivably might want to plug in here (at their
-  // own risk, of course).   pcal 12/12/03
-
-  private void writeJavaFiles() {
-    Collection classnames = getToplevelClasses();
-    for (Iterator i = classnames.iterator(); i.hasNext();) {
-      String className = (String) i.next();
-      printSourceCode(className);
-    }
-  }
-
-  /**
-   * Returns a collection of fully-qualified Java class name strings
-   * generated by this binding.
-   */
-  public Collection getToplevelClasses() {
-    return new AbstractCollection() {
-      public Iterator iterator() {
-        return new TopLevelClassNameIterator();
-      }
-
-      public int size() {
-        return structureCount;
-      }
-    };
-  }
-
-  /**
-   * Prints the Java source code for the given generated java class name.
-   */
-  private void printSourceCode(String topLevelClassName) {
-    Scratch scratch = scratchForJavaNameString(topLevelClassName);
-    if (scratch == null) {
-      logError("Could not find scratch for " + topLevelClassName); //?
-      return;
-    }
-    try {
-      printClass(scratch);
-    } catch (IOException ioe) {
-      logError(ioe);
-    }
-  }
-
-  /**
-   * Prints out a java class for the schema struct represented by the given
-   * Scratch object.
-   *
-   */
-  private void printClass(Scratch scratch) throws IOException {
-    assert(scratch.getCategory() == Scratch.STRUCT_TYPE ||
-      scratch.getCategory() == Scratch.ENUM_TYPE);
-    JavaTypeName javaName = scratch.getJavaName();
-
-    String packageName = javaName.getPackage();
-    String shortClassName = javaName.getShortClassName();
-    BindingType baseType = null;
-    SchemaType bSchemaType = scratch.getSchemaType().getBaseType();
-    if (!bSchemaType.isSimpleType())
-      baseType = bindingTypeForSchemaType(bSchemaType);
-    String baseJavaname = null;
-    if (baseType != null) {
-      baseJavaname = baseType.getName().getJavaName().toString();
-      if (baseJavaname.equals("java.lang.Object"))
-        baseJavaname = null;
-    }
-    // begin writing class
-    mJoust.startFile(packageName, shortClassName);
-    mJoust.writeComment("Generated from schema type " + scratch.getXmlName());
-
-    if (scratch.getCategory() == Scratch.STRUCT_TYPE)
-      printJavaStruct(scratch, baseJavaname);
-    else
-      printJavaEnum(scratch, baseJavaname);
-
-    mJoust.endFile();
-  }
-
-  private void printJavaStruct(Scratch scratch, String baseJavaName) throws IOException {
-    mJoust.startClass(Modifier.PUBLIC, baseJavaName, null);
-    Set seenFieldNames = new HashSet();
-    // Write out the special "_value" property, if needed
-    SimpleContentProperty scprop = scratch.getSimpleContentProperty();
-    if (scprop != null) {
-      String fieldName = pickUniqueFieldName(scprop.getGetterName().getSimpleName(),
-        seenFieldNames);
-      JavaTypeName jType = scprop.getTypeName().getJavaName();
-      addJavaBeanProperty(fieldName, jType.toString(),
-        scprop.getGetterName().getSimpleName(), scprop.getSetterName().getSimpleName());
-    }
-
-    // Write out the Generic Xml properties, if needed
-    GenericXmlProperty gxprop = scratch.getAnyElementProperty();
-    if (gxprop != null) {
-      String fieldName = pickUniqueFieldName(gxprop.getGetterName().getSimpleName(),
-        seenFieldNames);
-      JavaTypeName jType = gxprop.getTypeName().getJavaName();
-      addJavaBeanProperty(fieldName, jType.toString(),
-        gxprop.getGetterName().getSimpleName(), gxprop.getSetterName().getSimpleName());
-    }
-    gxprop = scratch.getAnyAttributeProperty();
-    if (gxprop != null) {
-      String fieldName = pickUniqueFieldName(gxprop.getGetterName().getSimpleName(),
-        seenFieldNames);
-      JavaTypeName jType = gxprop.getTypeName().getJavaName();
-      addJavaBeanProperty(fieldName, jType.toString(),
-        gxprop.getGetterName().getSimpleName(), gxprop.getSetterName().getSimpleName());
-    }
-
-    Collection props = scratch.getQNameProperties();
-    Map fieldNames = new HashMap();
-
-    // pick field names
-    for (Iterator i = props.iterator(); i.hasNext();) {
-      QNameProperty prop = (QNameProperty) i.next();
-      fieldNames.put(prop, pickUniqueFieldName(prop.getGetterName().getSimpleName(),
-                                               seenFieldNames));
-    }
-
-    // print fields, getters, and setters
-    for (Iterator i = props.iterator(); i.hasNext();) {
-      QNameProperty prop = (QNameProperty) i.next();
-      JavaTypeName jType = prop.getTypeName().getJavaName();
-
-      if (prop.getCollectionClass() != null) {
-        jType = prop.getCollectionClass();
-      }
-      String fieldName = (String) fieldNames.get(prop);
-      addJavaBeanProperty(fieldName, jType.toString(),
-        prop.getGetterName().getSimpleName(), prop.getSetterName().getSimpleName());
-    }
-    mJoust.endClassOrInterface();
-  }
-
-  private void addJavaBeanProperty(String name, String type, String getter, String setter)
-    throws IOException {
-    // declare the field
-    Variable propertyField =
-            mJoust.writeField(Modifier.PRIVATE,
-                              type,
-                              name,
-                              null);
-    //write getter
-    mJoust.startMethod(Modifier.PUBLIC,
-                       type,
-                       getter,
-                       null, null, null);
-    mJoust.writeReturnStatement(propertyField);
-    mJoust.endMethodOrConstructor();
-    //write setter
-    Variable[] params = mJoust.startMethod(Modifier.PUBLIC,
-                                           "void",
-                                           setter,
-                                           new String[]{type},
-                                           new String[]{name},
-                                           null);
-    mJoust.writeAssignmentStatement(propertyField, params[0]);
-    mJoust.endMethodOrConstructor();
-  }
-
-  private void printJavaEnum(Scratch scratch, String baseJavaName) throws IOException {
-    Set seenFieldNames = new HashSet();
-    XmlAnySimpleType[] enumValues = scratch.getSchemaType().getEnumerationValues();
-    JaxrpcEnumType enumType = (JaxrpcEnumType) scratch.getBindingType();
-    JavaTypeName baseType = enumType.getBaseTypeName().getJavaName();
-    EnumerationPrintHelper enumHelper =
-            new EnumerationPrintHelper(baseType, mJoust.getExpressionFactory(),
-                    scratch.getSchemaType());
-
-    // figure out what import statements we need
-    boolean useArrays = enumHelper.isArray() || enumHelper.isBinary();
-    if (useArrays) {
-      mJoust.writeImportStatement("java.util.Arrays");
-    }
-    mJoust.writeImportStatement("java.util.HashMap");
-    mJoust.writeImportStatement("java.util.Map");
-    if (enumHelper.isArray()) {
-      mJoust.writeImportStatement("java.util.StringTokenizer");
-    }
-    mJoust.writeImportStatement("org.apache.xmlbeans.impl.util.XsTypeConverter");
-    mJoust.startClass(Modifier.PUBLIC, baseJavaName, null);
-
-    // Assign appropriate names to the fields we use
-    boolean matchOk = true;
-    String[] fieldNames = new String[enumValues.length];
-    String instanceVarName = "value";
-    String instanceMapName = "map";
-    boolean isQName = enumValues.length > 0 && enumValues[0] instanceof XmlQName;
-    for (int i = 0; i < enumValues.length; i++) {
-      String tentativeName = NameUtil.lowerCamelCase(isQName ?
-              ((XmlQName) enumValues[i]).getQNameValue().getLocalPart() :
-              enumValues[i].getStringValue(),
-              true, false);
-      if (!NameUtil.isValidJavaIdentifier(tentativeName)) {
-        matchOk = false;
-        break;
-      }
-      if (seenFieldNames.contains(tentativeName)) {
-        matchOk = false;
-        break;
-      }
-      // If we got here, we found a suitable name for this constant
-      seenFieldNames.add(tentativeName);
-      fieldNames[i] = tentativeName;
-    }
-    if (!matchOk) {
-      // One or more values could not map to a valid Java identifier
-      // As per JAX-RPC, rename all identifiers to 'value1', 'value2', etc
-      for (int i = 0; i < enumValues.length; i++) {
-        String name = "value" + (i + 1);
-        fieldNames[i] = name;
-      }
-    }
-    else {
-      // Check if the instance var name collides with any of the constants
-      while (seenFieldNames.contains(instanceVarName))
-        instanceVarName = "x" + instanceVarName;
-      // Check the map var name
-      while (seenFieldNames.contains(instanceMapName))
-        instanceMapName = "x" + instanceMapName;
-    }
-
-    // We have the names, generate the class!
-    // ======================================
-    // Private fields and constructor
-    Variable instanceVar =
-            mJoust.writeField(Modifier.PRIVATE,
-                    baseType.toString(),
-                    instanceVarName,
-                    null);
-    Variable instanceMap =
-            mJoust.writeField(Modifier.PRIVATE | Modifier.STATIC,
-                    "Map",
-                    instanceMapName,
-                    mJoust.getExpressionFactory().createVerbatim("new HashMap()"));
-    Variable[] params = mJoust.startConstructor(Modifier.PROTECTED,
-            new String[] {baseType.toString()},
-            new String[] {"value"},
-            null);
-    mJoust.writeAssignmentStatement(instanceVar, params[0]);
-    mJoust.endMethodOrConstructor();
-    Variable[] constants = new Variable[enumValues.length];
-
-    // Constants of the enumeration base type
-    for (int i = 0; i < enumValues.length; i++) {
-      XmlAnySimpleType enumValue = enumValues[i];
-      constants[i] =
-              mJoust.writeField(Modifier.PUBLIC | Modifier.STATIC | Modifier.FINAL,
-                      baseType.toString(),
-                      "_" + fieldNames[i],
-                      enumHelper.getInitExpr(enumValue));
-    }
-
-    // Constants of enumeration type
-    String shortClassName = scratch.getJavaName().getShortClassName();
-    for (int i = 0; i < enumValues.length; i++) {
-      mJoust.writeField(Modifier.PUBLIC | Modifier.STATIC | Modifier.FINAL,
-              shortClassName,
-              fieldNames[i],
-              mJoust.getExpressionFactory().createVerbatim("new " + shortClassName + "(_" + fieldNames[i] + ")"));
-    }
-
-    // Implementation of the getValue() method
-    mJoust.startMethod(Modifier.PUBLIC,
-            baseType.toString(),
-            enumType.getGetValueMethod().getSimpleName(),
-            null, null, null);
-    mJoust.writeReturnStatement(instanceVar);
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the fromValue() method
-    mJoust.startMethod(Modifier.PUBLIC | Modifier.STATIC,
-            shortClassName,
-            enumType.getFromValueMethod().getSimpleName(),
-            new String[] {baseType.toString()},
-            new String[] {"value"},
-            null);
-    String valueVarName = "value";
-    if (useArrays) {
-      mJoust.writeStatement(shortClassName + " new" + valueVarName + " = new " +
-        shortClassName + "(" + valueVarName + ")");
-      valueVarName = "new" + valueVarName;
-    }
-    mJoust.writeStatement("if (" + instanceMapName + ".containsKey(" +
-            (useArrays ? valueVarName : enumHelper.getObjectVersion("value")) +
-            ")) return (" + shortClassName + ") " +
-            instanceMapName + ".get(" +
-            (useArrays ? valueVarName : enumHelper.getObjectVersion("value"))
-            + ")");
-    mJoust.writeStatement("else throw new IllegalArgumentException()");
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the fromString() method
-    params = mJoust.startMethod(Modifier.PUBLIC | Modifier.STATIC,
-            shortClassName,
-            enumType.getFromStringMethod().getSimpleName(),
-            new String[] {"String"},
-            new String[] {"value"},
-            null);
-    if (enumHelper.isArray()) {
-      // Here we have to tokenize the input string, then build up an array
-      // of the enumeration's type and then call fromValue()
-      final String STRING_PARTS = "parts";
-      final String BASETYPE_ARRAY = "array";
-      mJoust.writeStatement("String[] " + STRING_PARTS +
-        "= org.apache.xmlbeans.impl.values.XmlListImpl.split_list(value)");
-      mJoust.writeStatement(baseType.toString() + " " + BASETYPE_ARRAY + " = new " +
-        baseType.getArrayItemType(baseType.getArrayDepth()).toString() +
-        "[" + STRING_PARTS + ".length" + "]" + baseType.getArrayString(1));
-      mJoust.writeStatement("for (int i = 0; i < " + BASETYPE_ARRAY + ".length; i++) " +
-        BASETYPE_ARRAY + "[i] = " +
-        enumHelper.getFromStringExpr(mJoust.getExpressionFactory().createVerbatim(
-                 STRING_PARTS + "[i]")).getMemento().toString());
-      mJoust.writeReturnStatement(mJoust.getExpressionFactory().createVerbatim(
-            enumType.getFromValueMethod().getSimpleName() + "(" + BASETYPE_ARRAY + ")"));
-    }
-    else
-    {
-      mJoust.writeReturnStatement(mJoust.getExpressionFactory().createVerbatim(
-            enumType.getFromValueMethod().getSimpleName() + "(" +
-            enumHelper.getFromStringExpr(params[0]).getMemento().toString() +
-            ")"));
-    }
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the toXml() method
-    mJoust.startMethod(Modifier.PUBLIC,
-            "String",
-            enumType.getToXMLMethod().getSimpleName(),
-            null, null, null);
-    if (enumHelper.isArray()) {
-      final String STRING_LIST = "list";
-      mJoust.writeStatement("StringBuffer " + STRING_LIST + " = new StringBuffer()");
-      mJoust.writeStatement("for (int i = 0; i < " + instanceVarName + ".length; i++) " +
-        STRING_LIST + ".append(" + enumHelper.getToXmlString(instanceVar, "i") +
-        ").append(' ')");
-      mJoust.writeReturnStatement(mJoust.getExpressionFactory().createVerbatim(STRING_LIST + ".toString()"));
-    }
-    else {
-      mJoust.writeReturnStatement(enumHelper.getToXmlExpr(instanceVar));
-    }
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the toString() method
-    mJoust.startMethod(Modifier.PUBLIC,
-            "String",
-            "toString",
-            null, null, null);
-    if (enumHelper.isArray()) {
-      final String STRING_LIST = "list";
-      mJoust.writeStatement("StringBuffer " + STRING_LIST + " = new StringBuffer()");
-      mJoust.writeStatement("for (int i = 0; i < " + instanceVarName + ".length; i++) " +
-        STRING_LIST + ".append(String.valueOf(" +
-        instanceVarName + "[i]" +
-        ")).append(' ')");
-      mJoust.writeReturnStatement(mJoust.getExpressionFactory().createVerbatim(STRING_LIST + ".toString()"));
-    }
-    else {
-      mJoust.writeReturnStatement(mJoust.getExpressionFactory().createVerbatim(
-            "String.valueOf(" + instanceVarName + ")"));
-    }
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the equals() method
-    params = mJoust.startMethod(Modifier.PUBLIC,
-            "boolean",
-            "equals",
-            new String[] {"Object"},
-            new String[] {"obj"},
-            null);
-    mJoust.writeStatement("if (this == obj) return true");
-    mJoust.writeStatement("if (!(obj instanceof " + shortClassName + ")) return false");
-    mJoust.writeStatement("final " + shortClassName + " x = (" + shortClassName + ") obj");
-    if (enumHelper.isArray() && enumHelper.isBinary()) {
-      mJoust.writeStatement("if (x." + instanceVarName + ".length != " + instanceVarName +
-        ".length) return false");
-      mJoust.writeStatement("boolean b = true");
-      mJoust.writeStatement("for (int i = 0; i < " + instanceVarName + ".length && b; i++) " +
-        "b &= Arrays.equals(x." + instanceVarName + "[i], " + instanceVarName + "[i])");
-      mJoust.writeStatement("return b");
-    }
-    else if (enumHelper.isArray())
-      mJoust.writeStatement("if (Arrays.equals(x." + instanceVarName + ", " + instanceVarName + ")) return true");
-    else
-      mJoust.writeStatement("if (" + enumHelper.getEquals("x." + instanceVarName, instanceVarName) + ") return true");
-    mJoust.writeReturnStatement(mJoust.getExpressionFactory().createBoolean(false));
-    mJoust.endMethodOrConstructor();
-
-    // Implementation of the hashCode() method
-    mJoust.startMethod(Modifier.PUBLIC,
-            "int",
-            "hashCode",
-            null, null, null);
-    if (enumHelper.isArray()) {
-      mJoust.writeStatement("int val = 0;");
-      mJoust.writeStatement("for (int i = 0; i < " + instanceVarName + ".length; i++) " +
-        "{ val *= 19; val += " +
-        enumHelper.getHashCode(instanceVarName + "[i]").getMemento().toString() +
-        "; }");
-      mJoust.writeStatement("return val");
-    }
-    else
-      mJoust.writeReturnStatement(enumHelper.getHashCode(instanceVarName));
-    mJoust.endMethodOrConstructor();
-
-    // Static class code
-    mJoust.startStaticInitializer();
-    for (int i = 0; i < fieldNames.length; i++) {
-      String fieldName = fieldNames[i];
-      if (useArrays)
-        mJoust.writeStatement(instanceMapName + ".put(" +
-              fieldName + ", " + fieldName + ")");
-      else
-        mJoust.writeStatement(instanceMapName + ".put(" +
-              enumHelper.getObjectVersion("_" + fieldName) + ", " +
-              fieldName + ")");
-    }
-    mJoust.endMethodOrConstructor();
-    mJoust.endClassOrInterface();
-  }
-
-  private String pickUniqueFieldName(String getter, Set seenNames) {
-    String baseName;
-
-    if (getter.length() > 3 && getter.startsWith("get"))
-      baseName = Character.toLowerCase(getter.charAt(3)) + getter.substring(4);
-    else
-      baseName = "field";
-
-    String fieldName = baseName;
-    if (!NameUtil.isValidJavaIdentifier(fieldName))
-      fieldName = "_" + fieldName;
-    for (int i = 1; seenNames.contains(fieldName); i += 1)
-      fieldName = baseName + i;
-
-    seenNames.add(fieldName);
-    return fieldName;
-  }
-
-
-  // ========================================================================
-  // main method - for quick debugging
-
-  public static void main(String[] schemas) {
-    try {
-      File[] schemaFiles = new File[schemas.length];
-      for (int i = 0; i < schemas.length; i++) schemaFiles[i] = new File(schemas[i]);
-      XmlObject[] xsds = new XmlObject[schemas.length];
-      for (int i = 0; i < xsds.length; i++) {
-        xsds[i] = SchemaDocument.Factory.parse(new File(schemas[i]));
-      }
-      SchemaTypeLoader soapencLoader = org.apache.xmlbeans.impl.schema.SoapEncSchemaTypeSystem.get();
-      SchemaTypeLoader xsdLoader = XmlBeans.getBuiltinTypeSystem();
-      SchemaTypeSystem sts =
-              XmlBeans.compileXsd(xsds,
-                  XmlBeans.typeLoaderUnion
-                  (new SchemaTypeLoader[] {xsdLoader, soapencLoader}),
-                  null);
-      Schema2Java s2j = new Schema2Java(sts);
-      s2j.setVerbose(true);
-      s2j.setJaxRpcRules(true);
-      TylarWriter tw = new DebugTylarWriter();
-      s2j.bind(tw);
-      tw.close();
-    } catch (Exception e) {
-      e.printStackTrace();
-    }
-    System.err.flush();
-    System.out.flush();
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2JavaTask.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2JavaTask.java
deleted file mode 100644
index 31a2a01..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2JavaTask.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.DirectoryScanner;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.types.Path;
-import org.apache.tools.ant.types.Reference;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-import java.util.ArrayList;
-
-public class Schema2JavaTask extends BindingCompilerTask {
-
-  // =========================================================================
-  // Variables
-
-  private Path mXsdPath = null;
-  private Path mClasspath = null;
-  private List mXsdFiles = null;
-  private Schema2Java mCompiler;
-
-  // ========================================================================
-  // Constructors
-
-  public Schema2JavaTask() {
-    mCompiler = new Schema2Java();
-  }
-
-  // =========================================================================
-  // Task attributes
-
-  /**
-   * Sets whether this BindingCompiler should keep any generated java source
-   * code it generates.  The default is true.  Note that not all
-   * BindingCompilers generate any source code at all, so setting this may
-   * have no effect.
-   */
-  public void setCompileJava(boolean b) {
-    mCompiler.setCompileJava(b);
-  }
-
-  /**
-   * Sets whether this BindingCompiler should keep any generated java source
-   * code it generates.  The default is true.  This will have no effect if
-   * doCompile is set to false.
-   */
-  public void setKeepGeneratedJava(boolean b) {
-    mCompiler.setKeepGeneratedJava(b);
-  }
-
-  /**
-   * Sets the location of javac to be invoked.  Default compiler is used
-   * if this is not set.  Ignored if doCompile is set to false.
-   */
-  public void setJavac(String javacPath) {
-    mCompiler.setJavac(javacPath);
-  }
-
-  /**
-   * Sets the classpath to use for compilation of generated sources.
-   * The System classpath is used by default.  This is ignored if doCompile is
-   * false.
-   */
-  public void setJavacClasspath(File[] classpath) {
-    mCompiler.setJavacClasspath(classpath);
-  }
-
-  /**
-   * Set the source directories to find the source XSD files.
-   */
-  public void setSrcdir(Path srcDir) {//FIXME this is a bad name
-    if (mXsdPath == null) {
-      mXsdPath = srcDir;
-    } else {
-      mXsdPath.append(srcDir);
-    }
-  }
-
-  /**
-   * Sets the binding rules to JAX-RPC rules if true. By default, the
-   * binding rules are set to XMLBeans rules, slightly different when
-   * it comes to mapping built-in types and XML Names.
-   */
-  public void setJaxRpcRules(boolean jaxRpc) {
-    mCompiler.setJaxRpcRules(jaxRpc);
-  }
-
-  /**
-   * Adds a path for source compilation.
-   *
-   * @return a nested src element.
-   */
-  public Path createSrc() {
-    if (mXsdPath == null) {
-      mXsdPath = new Path(getProject());
-    }
-    return mXsdPath.createPath();
-  }
-
-
-  public void setClasspath(Path path) {
-    if (mClasspath == null) {
-      mClasspath = path;
-    } else {
-      mClasspath.append(path);
-    }
-  }
-
-  public void setClasspathRef(Reference r) {
-    createClasspath().setRefid(r);
-  }
-
-  public Path createClasspath() {
-    if (mClasspath == null) {
-      mClasspath = new Path(getProject());
-    }
-    return mClasspath.createPath();
-  }
-
-  // =========================================================================
-  // BindingCompilerTask implementation
-
-  /**
-   * Based on the parameters set for this Task object, create an instance of
-   * the Schema2Java compiler to be executed.
-   */
-  protected BindingCompiler getCompilerToExecute() throws BuildException {
-    checkParameters();
-    // scan source directories and dest directory for schemas to use
-    startScan();
-    String[] list = mXsdPath.list();
-    Project p = getProject();
-    for (int i = 0; i < list.length; i++) {
-      File srcDir = (p == null) ? new File(list[i]) : p.resolveFile(list[i]);
-      if (!srcDir.exists()) {
-        throw new BuildException("srcdir \""
-                                 + srcDir.getPath()
-                                 + "\" does not exist!", getLocation());
-      }
-      DirectoryScanner ds = this.getDirectoryScanner(srcDir);
-      String[] files = ds.getIncludedFiles();
-      scanDir(srcDir, files);
-    }
-    //build up a schema type system from the input schemas and give it to
-    //the compiler
-    File[] xsdFiles = (File[]) mXsdFiles.toArray(new File[mXsdFiles.size()]);
-    SchemaDocument[] xsds = new SchemaDocument[xsdFiles.length];
-    try {
-      for(int i=0; i<xsds.length; i++) {
-        xsds[i] = parseSchemaFile(xsdFiles[i]);
-        mCompiler.includeSchema(xsds[i],xsdFiles[i].getName());//REVIEW is just the name ok?  what about conflicts?
-      }
-      mCompiler.setSchemaTypeSystem(createSchemaTypeSystem(xsds));
-    } catch(IOException ioe) {
-      throw new BuildException(ioe);
-    } catch(XmlException xe) {
-      throw new BuildException(xe);
-    }
-    return mCompiler;
-  }
-
-
-
-  protected void startScan() {
-    mXsdFiles = new ArrayList();
-  }
-
-  protected void scanDir(File srcDir, String[] files) {
-    for (int i = 0; i < files.length; i++)
-      if (files[i].endsWith(".xsd"))
-        mXsdFiles.add(new File(srcDir, files[i]));
-  }
-
-  protected File[] namesToFiles(String[] names) {
-    File[] result = new File[names.length];
-    for (int i = 0; i < names.length; i++)
-      result[i] = new File(names[i]);
-    return result;
-  }
-
-
-  // =========================================================================
-  // Private methods
-
-  protected void checkParameters() throws BuildException {
-    if (mXsdPath == null) {
-      throw new BuildException("srcdir attribute must be set!",
-                               getLocation());
-    }
-    if (mXsdPath.size() == 0) {
-      throw new BuildException("srcdir attribute must be set!",
-                               getLocation());
-    }
-
-  }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcher.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcher.java
deleted file mode 100644
index 28a8f9b..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcher.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JProperty;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaTypeSystem;
-
-public interface TypeMatcher
-{
-
-    /**
-     * Called to initializes the TypeMatcher instance.  This is guaranteed
-     * to be called prior to any of the match... methods.
-     */
-    public void init(TypeMatcherContext ctx);
-
-    /**
-     * Returns a collection of MatchedTypes, advising which
-     * Java classes and which Schema types should be matched
-     * with each other.  Not every class or type needs to be
-     * matched by the matcher.  Any remaining ones will be
-     * dealt with automatically if possible, and warnings
-     * will be produced for any types that are not covered.
-     */ 
-    MatchedType[] matchTypes(JClass[] classes, SchemaTypeSystem sts);
-    
-    /**
-     * Returns a collection of MatchedProperties, advising which
-     * Java properties and Schema properties (elements or
-     * attributes) should be matched with each other.
-     * Any properties not returned here will not be bound.
-     * It is acceptable to rebind properties that were already
-     * bound in a base class. Conflicts will result in an error.
-     */ 
-    MatchedProperties[] matchProperties(JClass jClass, SchemaType sType);
-
-    /**
-     * Substitutes a class-to-bind for a declared-class seen.
-     * This is used when, for example, an interface is used to
-     * always stand in for a specific implementation class.  In
-     * reality, it is the implementation class which is being
-     * bound, but all the declared properties have types corresponding
-     * to the interface.
-     */
-    JClass substituteClass(JClass declaredClass);
-    
-    public static class MatchedType
-    {
-        private JClass jClass;
-        private SchemaType sType;
-
-        public MatchedType(JClass jClass, SchemaType sType)
-        {
-            this.jClass = jClass;
-            this.sType = sType;
-        }
-
-        public JClass getJClass()
-        {
-            return jClass;
-        }
-
-        public SchemaType getSType()
-        {
-            return sType;
-        }
-
-        public boolean equals(Object o)
-        {
-            if (this == o) return true;
-            if (!(o instanceof MatchedType)) return false;
-
-            final MatchedType matchedType = (MatchedType) o;
-
-            if (!jClass.equals(matchedType.jClass)) return false;
-            if (!sType.equals(matchedType.sType)) return false;
-
-            return true;
-        }
-
-        public int hashCode()
-        {
-            int result;
-            result = jClass.hashCode();
-            result = 29 * result + sType.hashCode();
-            return result;
-        }
-    }
-    
-    public static class MatchedProperties
-    {
-        private JProperty jProperty;
-        private SchemaProperty sProperty;
-        private JMethod isSetter = null;
-
-        public MatchedProperties(JProperty jProperty, SchemaProperty sProperty)
-        {
-            this(jProperty,sProperty,null);
-        }
-
-        public MatchedProperties(JProperty jProperty,
-                                 SchemaProperty sProperty,
-                                 JMethod isSetter)
-        {
-            this.jProperty = jProperty;
-            this.sProperty = sProperty;
-            if (isSetter != null) {
-              if (isSetter.getParameters().length > 0) {
-                throw new IllegalArgumentException
-                  ("an isSetter method must take no parameters ('"+
-                   isSetter.getQualifiedName()+"')");
-              }
-              if (!isSetter.getReturnType().getQualifiedName().
-                equals("boolean")) {
-                throw new IllegalArgumentException
-                  ("an isSetter method must return 'boolean' ('"+
-                   isSetter.getQualifiedName()+"')");
-              }
-            }
-            this.isSetter = isSetter;
-        }
-      
-        public JProperty getJProperty()
-        {
-            return jProperty;
-        }
-
-        public SchemaProperty getSProperty()
-        {
-            return sProperty;
-        }
-
-        public JMethod getIsSetter()
-        {
-            return isSetter;
-        }
-
-    }
-    
-    
-    
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcherContext.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcherContext.java
deleted file mode 100644
index 09d44ea..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/TypeMatcherContext.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.compile;
-
-import org.apache.xmlbeans.impl.binding.logger.BindingLogger;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaTypeLoader;
-
-/**
- * Provides context/initialzation information for a TypeMatcher instance.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface TypeMatcherContext {
-
-  /**
-   * @return The logger to which the type matcher should send log messages.
-   */
-  public BindingLogger getLogger();
-
-  /**
-   * Returns the BindingLoader as a basis for the binding process.  Normally,
-   * this will simply be the builtin loader.
-   */
-  public BindingLoader getBaseBindingLoader();
-
-  /**
-   * Returns a SchemaTypeLoader to be used as a basis for the binding process.
-   * Normally, this will simply be the builtin loader.
-   */
-  public SchemaTypeLoader getBaseSchemaTypeLoader();
-
-  /**
-   * Returns a JClassLoader to be used as a basis for the binding process.
-   * Normally, this will simply be the loader backed by the system
-   * classloader.
-   */
-  public JamClassLoader getBaseJavaTypeLoader();
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Annotation.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Annotation.java
deleted file mode 100644
index 2308779..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Annotation.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-/**
- * Interface for building up metadata declarations in the generated source.
- * Typically, an instance of this class will be written out as javadoc tags
- * or JSR175 annotations.  However, not that this interface is indifferent
- * about that question - JavaOutputStream implementation decides how to
- * actually write out an Annotation.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface Annotation {
-
-  public void setValue(String name, Annotation ann);
-
-  public void setValue(String name, boolean value);
-
-  public void setValue(String name, String value);
-
-  public void setValue(String name, int value);
-
-  public void setValue(String name, long value);
-
-  public void setValue(String name, char value);
-
-
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/AnnotationImpl.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/AnnotationImpl.java
deleted file mode 100644
index 7aa0c71..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/AnnotationImpl.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- *
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class AnnotationImpl implements Annotation {
-
-  // ========================================================================
-  // Variables
-
-  private Map mNameToValue = new HashMap();
-  private String mType;
-  //we want to remember the order they were added in
-  private List mKeyList = new ArrayList();
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ AnnotationImpl(String type) {
-    if (type == null) throw new IllegalArgumentException("null type");
-    mType = type;
-  }
-
-  // ========================================================================
-  // Package methods
-
-  /*package*/ String getType() { return mType; }
-
-  /*package*/ Iterator getPropertyNames() {
-    return mKeyList.iterator();
-  }
-
-  /*package*/ Object getValue(String name) {
-    return mNameToValue.get(name);
-  }
-
-  /*package*/ String getValueDeclaration(String name) {
-    Object o = getValue(name);
-    if (o == null) return null;
-    if (o instanceof String) return "\""+o+"\"";
-    if (o instanceof Character) return "'"+o+"'";
-    return o.toString();
-  }
-
-  // ========================================================================
-  // Annotation implementation
-
-  public void setValue(String name, Annotation ann) {
-    add(name,ann);
-  }
-
-  public void setValue(String name, boolean value) {
-    add(name,Boolean.valueOf(value));
-  }
-
-  public void setValue(String name, String value) {
-    add(name,value);
-  }
-
-  public void setValue(String name, byte value) {
-    add(name,new Byte(value));
-  }
-
-  public void setValue(String name, int value) {
-    add(name,new Integer(value));
-  }
-
-  public void setValue(String name, long value) {
-    add(name,new Long(value));
-  }
-
-  public void setValue(String name, char value) {
-    add(name,new Character(value));
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void add(String name, Object value) {
-    if (name == null) throw new IllegalArgumentException("null name");
-    if (value == null) throw new IllegalArgumentException("null value");
-    mKeyList.add(name);
-    mNameToValue.put(name,value);
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/CompilingJavaOutputStream.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/CompilingJavaOutputStream.java
deleted file mode 100644
index 0c26f93..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/CompilingJavaOutputStream.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.io.Writer;
-import java.io.IOException;
-import java.io.File;
-import java.io.FileWriter;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-import org.apache.xmlbeans.impl.tool.CodeGenUtil;
-
-/**
- * This a SourceJavaOutputStream which can compile it's results when
- * close() is called.  It always writes source files to disk.
- *
- * @author Patrick Calaham <pcal@bea.com>
- */
-public class CompilingJavaOutputStream extends SourceJavaOutputStream
-        implements WriterFactory
- {
-  // ========================================================================
-  // Constants
-
-  private static final String PREFIX = "[CompilingJavaOutputStream] ";
-
-  // ========================================================================
-  // Variables
-
-  private FileWriterFactory mWriterFactoryDelegate;
-  private List mSourceFiles;
-  private File mSourceDir = null;
-  private File mCompileDir = null;
-  private File[] mJavacClasspath = null;
-  private boolean mKeepGenerated;
-  private String mJavacPath = null;
-  private boolean mDoCompile = true;
-
-  // ========================================================================
-  // Constructors
-
-  /**
-   * Construct a new CompilingJavaOutputStream which generates java sources
-   * in the given directory.  In order to enable compilation of those sources,
-   * you must call enableCompilation.
-   *
-   * @param srcDir Directory in which sources get generated.
-   */
-  public CompilingJavaOutputStream(File srcDir) {
-    this();
-    setSourceDir(srcDir);
-  }
-
-  /**
-   * Constructs a new CompilingJavaOutputStream.  Note that if you use
-   * this default constructor, you *must* call setSourceDir at some point
-   * before the stream is used; failure to do so will produce an
-   * IllegalStateException.
-   */
-  public CompilingJavaOutputStream() {
-    super();
-    setWriterFactory(this);
-    mSourceFiles = new ArrayList();
-  }
-
-  // ========================================================================
-  // Public methods
-
-  //REVIEW the naming this directory 'source' seems a little confusing
-  /**
-   * Sets the source directory to which files will be written.  This can
-   * safely be changed mistream if desired.
-   */
-  public void setSourceDir(File srcDir) {
-    if (srcDir == null) throw new IllegalArgumentException("null srcDir");
-    mWriterFactoryDelegate = new FileWriterFactory(mSourceDir = srcDir);
-  }
-
-  /**
-   * Enables compilation of the generated source files into the given
-   * directory.  If this method is never called, no compilation will occur.
-   */
-  public void setCompilationDir(File destDir) {
-    mCompileDir = destDir;
-  }
-
-  /**
-   * Sets the location of javac to be invoked.  Default compiler is used
-   * if this is not set.  Ignored if compilationDir is never set.
-   */
-  public void setJavac(String javacPath) {
-    mJavacPath = javacPath;
-  }
-
-  /**
-   * Sets the classpath to use for compilation.  System classpath is used
-   * by default.  This is ignored if compilationDir is never set.
-   */
-  public void setJavacClasspath(File[] classpath) {
-    mJavacClasspath = classpath;
-  }
-
-  /**
-   * Sets whether generated sources should be kept after compilation.
-   * Default is true.  This is ignored if compilationDir is never set.
-   */
-  public void setKeepGenerated(boolean b) {
-    mKeepGenerated = b;
-  }
-
-  /**
-   * Sets whether javac should be run on the generated sources.  Default
-   * is true.
-   */
-  public void setDoCompile(boolean b) {
-    mDoCompile = b;
-  }
-
-  // ========================================================================
-  // WriterFactory implementation
-
-  /**
-   * Delegate to FileWriterFactory, but ask it for Files instead of Writers
-   * so that we can keep track of what we need to compile later.
-   */
-  public Writer createWriter(String packageName, String className)
-          throws IOException {
-    if (mWriterFactoryDelegate == null) {
-      throw new IllegalStateException("delegate never set called on the "+
-                                      "CompilingJavaOutputStream");
-    }
-    File out = mWriterFactoryDelegate.createFile(packageName,className);
-    mSourceFiles.add(out);
-    return new FileWriter(out);
-  }
-
-  // ========================================================================
-  // JavaOutputStream implementation
-
-  public void close() throws IOException {
-    super.close();
-    mLogger.logVerbose(PREFIX+" closing");
-    if (mDoCompile && mCompileDir != null) {
-      mLogger.logVerbose(PREFIX+"compileDir = "+mCompileDir);
-      Iterator i = mSourceFiles.iterator();
-      while(i.hasNext()) {
-        mLogger.logVerbose(PREFIX+i.next().toString());
-      }
-      boolean verbose = mLogger.isVerbose();
-      boolean result = mSourceFiles.size() > 0 ? CodeGenUtil.
-              externalCompile(mSourceFiles,mCompileDir,mJavacClasspath,
-                  verbose,mJavacPath,null,null,!verbose,verbose) : true;
-      mLogger.logVerbose(PREFIX+" compilation result: "+result);
-      if (!result) {
-        throw new IOException("Compilation of sources failed, " +
-                              "check log for details.");
-      }
-      if (!mKeepGenerated) {
-        mLogger.logVerbose(PREFIX+" deleting "+mSourceDir);
-        mSourceDir.delete();
-      }
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Expression.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Expression.java
deleted file mode 100644
index fd39c8d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Expression.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-/**
- * Provides a handle to a java expression in the generated code.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface Expression {
-
-  /**
-   * This value is provided by and used only by implementations of
-   * JavaOutputStream.  The memento is simply a place for the implementation
-   * to hang a reference to some domain object that the Expression actually
-   * represents.
-   */
-  public Object getMemento();
-  //REVIEW maybe we don't need to expose memento at all - just let them
-  //implement it however they want and cast down to get the info.  Often
-  //as not, they may just want to implement toString().
-
-  /**
-   * Provides a textual representation of the expression.  This should
-   * only be used for logging or debugging purposes.
-   */
-  //  public String getLabel();   //not clear to me this is worthwhile
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ExpressionFactory.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ExpressionFactory.java
deleted file mode 100644
index f803155..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ExpressionFactory.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-/**
- * Creates instances of Expression to be used in conjunction with a
- * JavaOutputStream.  Instances of ExpressionFactory are retrieved via
- * JavaOutputStream.getExpressionFactory().
- *
- * We'll probably have to add more methods here to accommodate more
- * primitives, arrays and so forth.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface ExpressionFactory {
-
-  /**
-   * Returns an expression representing a constant boolean value.
-   */
-  public Expression createBoolean(boolean value);
-
-  /**
-   * Returns an expression representing a literal string.
-   */
-  public Expression createString(String value);
-
-  /**
-   * Returns an expression representing a constant int.
-   */
-  public Expression createInt(int value);
-
-  /**
-   * Returns an expression representing the 'null' token.
-   */
-  public Expression createNull();
-
-  /**
-   * Returns an expresion whose text representation is the given string.
-   */
-  public Expression createVerbatim(String value);
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/FileWriterFactory.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/FileWriterFactory.java
deleted file mode 100644
index 08b80a9..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/FileWriterFactory.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.Writer;
-
-/**
- * Implementation of WriterFactory which creates files for new classes under
- * a specified source root.
- */
-public class FileWriterFactory implements WriterFactory {
-
-  // ========================================================================
-  // Constants
-
-  // might need to make this settable someday
-  private static final String EXTENSION = ".java";
-  private static final char PACKAGE_SEPARATOR = '.';
-
-  // ========================================================================
-  // Variables
-
-  private File mSourceRoot;
-
-  // ========================================================================
-  // Constructors
-
-  public FileWriterFactory(File sourceRoot) {
-    if (sourceRoot == null) throw new IllegalArgumentException();
-    mSourceRoot = sourceRoot;
-  }
-
-  // ========================================================================
-  // WriterFactory implementation
-
-  public Writer createWriter(String packageName, String className)
-          throws IOException {
-    return new FileWriter(createFile(packageName,className));
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns the raw file instead, in case the caller is clever and knows we
-   * are a FileWriterFactory.
-   */
-  public File createFile(String packageName, String className)
-          throws IOException
-  {
-    File dir = new File(mSourceRoot, packageName.replace
-                                     (PACKAGE_SEPARATOR, File.separatorChar));
-    if (!dir.exists()) {
-      if (!dir.mkdirs()) {
-        throw new IOException("Failed to create directory " + dir);
-      }
-    }
-    return new File(dir, className + EXTENSION);
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/JavaOutputStream.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/JavaOutputStream.java
deleted file mode 100644
index 61b581a..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/JavaOutputStream.java
+++ /dev/null
@@ -1,356 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.io.IOException;
-
-/**
- * <p>A JavaOutputStream is a service which provides sequential, read-only
- * java code-generation service. This is not a general-purpose java code
- * output, but rather is tailored to produce java constructs required
- * for XMLbeans.</p>
- *
- * <p>By using this interface, the schema-to-java binding logic is isolated from
- * the details of java code generation.  This in turn allows for pluggability
- * of the generation logic - for example, one code output might generate
- * java source files, while another might directly generate byte codes in
- * memory.</p>
- *
- * <b>A note about 'Type Names'</b>
- *
- * <p>A number of method signatures in this interface contain a String parameter
- * which is described as a 'Type Name.'  This is expected to be any
- * type declaration as you would normally see in java source code, e.g.
- * <code>int</code>, <code>String[][]</code>, <code>java.util.List</code>,
- * or <code>MyImportedClass</code>.  More specifically, it must be a valid
- * <code>TypeName</code> as described in
- * <a href='http://java.sun.com/docs/books/jls/second_edition/html/names.doc.html#73064'>
- * section 6.5.5 </a> of the Java Language Specification.</p>
- *
- * @author Patrick Calahan <pcal@bea.com>
- *
- */
-public interface JavaOutputStream {
-
-  /**
-   * Instructs the stream to begin writing a new interface.
-   *
-   * @param packageName Fully-qualified name of the package which should
-   *        contain the new interface.
-   * @param interfaceOrClassName Unqualified name of the new class or
-   *        interface that will be written in this file.
-   *
-   * @throws IllegalStateException if startFile has already been called
-   *         without a call to endFile.
-   * @throws IllegalArgumentException if classname is null or if any classname
-   *         parameters is malformed.
-   */
-  public void startFile(String packageName,
-                        String interfaceOrClassName)
-          throws IOException;
-
-  /**
-   * Instructs the stream to begin writing a class with the given attributes.
-   *
-   * @param modifiers A java.lang.reflect.Modifier value describing the
-   *        modifiers which apply to the new class.
-   * @param extendsClassName Name the class which the new class extends, or
-   *        null if it should not extend anything.  The class name must be
-   *        fully-qualified.
-   * @param implementsInterfaceNames Array of interface names, one
-   *        for each interface implemented by the new class, or null if
-   *        the class does not implement anything.  Each class name must be
-   *        fully-qualified.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         beginning a new class.
-   * @throws IllegalArgumentException if modifers is not valid for a class,
-   *         if packagename or classname is null or malformed, or if
-   *         any class name parameter is malformed.
-   */
-  public void startClass(int modifiers,
-                         String extendsClassName,
-                         String[] implementsInterfaceNames)
-          throws IOException;
-
-  /**
-   * Instructs the stream to begin writing a static initialization block.
-   * @throws IllegalStateException if the current position is not valid for
-   *         starting a static initialization block.
-   */
-  public void startStaticInitializer() throws IOException;
-
-  /**
-   * Instructs the stream to begin writing a new interface.
-   *
-   * @param extendsInterfaceNames Array of interface names, one
-   *        for each interface extendded by the new interface, or null if
-   *        the interface does not extend anything.  Each class name must be
-   *        fully-qualified.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         beginning a new interface.
-   * @throws IllegalArgumentException if classname is null or if any classname
-   *         parameters is malformed.
-   */
-  public void startInterface(String[] extendsInterfaceNames)
-          throws IOException;
-
-  /**
-   * Instructs the stream to write out a field (member variable) declaration
-   * for the current class.
-   *
-   * @param modifiers A java.lang.reflect.Modifier value describing the
-   *        modifiers which apply to the new field.
-   * @param typeName The Type Name (see above) for the new field.
-   * @param fieldName The name of the new field.
-   * @param defaultValue An Expression describing the default value for the
-   *                     new field, or null if none should be declared.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         a field declaration (e.g. if startClass has not been called).
-   * @throws IllegalArgumentException if any type name is null or malformed or
-   *         fieldName is null or not a valid java identifier, or if modifiers
-   *         cannot be applied to a field.
-   *
-   * @return A handle to the field that is created.
-   */
-  public Variable writeField(int modifiers,
-                             String typeName,
-                             String fieldName,
-                             Expression defaultValue) throws IOException;
-
-  /**
-   * Instructs the stream to write out a constructor for the current class.
-   *
-   * @param modifiers A java.lang.reflect.Modifier value describing the
-   *        modifiers which apply to the new constructor.
-   * @param paramTypeNames An array of Type Names (see above) for each of the
-   *        constructor's parameters, or null if this is to be the default
-   *        constructor.
-   * @param paramNames An array of parameter names for each of the
-   *        constructor's parameters, or null if this is to be the default
-   *        constructor.
-   * @param exceptionClassNames An array of class names, one
-   *        for each exception type to be thrown by the new constructor, or
-   *        null if the constructor does not throw anything.  Each name need
-   *        not be qualified.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         a constructor declaration.
-   * @throws IllegalArgumentException if paramTypeNames and paramNames are
-   *         not of the same length (or both null), if any type name or
-   *         exception class name is null or malformed, if the modifiers
-   *         cannot be applied to a constructor.
-   *
-   * @return An array of Variables which provide handles to the parameters
-   *         of the generated constructor.  Returns an empty array if the
-   *         constructor does not take any parameters.
-   */
-  public Variable[] startConstructor(int modifiers,
-                                     String[] paramTypeNames,
-                                     String[] paramNames,
-                                     String[] exceptionClassNames)
-          throws IOException;
-
-  /**
-   * Instructs the stream to write out a new method for the current class.
-   *
-   * @param modifiers A java.lang.reflect.Modifier value describing the
-   *        modifiers which apply to the new method.
-   * @param methodName A name for the new method.
-   * @param returnTypeName A Type Name (see above) for the method's return
-   *        value, or "<code>void</vode>" if the method is void.
-   * @param paramTypeNames An array of Type Names (see above) for each of the
-   *        method's parameters, or null if the method takes no parameters.
-   * @param paramNames An array of parameter names for each of the
-   *        method's parameters, or null if the method takes no parameters.
-   * @param exceptionClassNames An array of class names, one
-   *        for each exception type to be thrown by the method, or
-   *        null if the methoddoes not throw anything.  Each class name must
-   *        be fully-qualified.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         a new method declaration.
-   * @throws IllegalArgumentException if paramTypeNames and paramNames are
-   *         not of the same length (or both null), if any type name or
-   *         exception class name is null or malformed, if the modifiers
-   *         cannot be applied to a method, or if methodName is null or
-   *         malformed.
-   *
-   * @return An array of Variables which provide handles to the parameters
-   *         of the generated method.  Returns an empty array if the method
-   *         does not take any parameters.
-   */
-  public Variable[] startMethod(int modifiers,
-                                String methodName,
-                                String returnTypeName,
-                                String[] paramTypeNames,
-                                String[] paramNames,
-                                String[] exceptionClassNames)
-          throws IOException;
-
-  /**
-   * <p>Writes out a source-code comment in the current class.  The comment
-   * will usually be interpreted as applying to whatever is written next
-   * in the stream, i.e. to write comments about a given class, you should
-   * first call writeComment and then call writeClass.</p>
-   *
-   * <p>Line breaks in the comment will be respected, but it should NOT
-   * include any formatting tokens such as '/*' or '//' - the implementation
-   * will properly format the comments based on context.  Also note that
-   * you should not use writeComment to add javadoc tags; code metadata
-   * should be added with writeAnnotation.</p>
-   *
-   * @param comment The text of the comment.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         writing a comment (e.g. if startFile has not been called).
-   *         writeComment should be a valid operation at all other times.
-   */
-  public void writeComment(String comment) throws IOException;
-
-  /**
-   * <p>Writes out an annotation in the current class.  The annotation will
-   * apply to whatever is written next in the stream, i.e. to an annotation
-   * for a method, call wrteAnnotation just before writing the method with
-   * writeMethod.  The way in which the annotations are
-   * implementation-dependent, but this typically will result in either
-   * javadoc tags or JSR175 annotations being produced.</p>
-   *
-   * <p>Note that the caller is free to re-use the Annotation parameter object
-   * after making a call to this method.</p>
-   *
-   * @param ann the annotation to write to the stream.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         writing an annotation (e.g. if startFile has not been called).
-   *         writeComment should be a valid operation at most other times.
-   */
-  public void writeAnnotation(Annotation ann) throws IOException;
-
-  /**
-   * Returns an Annotation object of the given type that can be populated
-   * with some values (setValue) and then passed to the writeAnnotation
-   * method.
-   *
-   * @return An ExpressionFactory.  Must never return null.
-   */
-  public Annotation createAnnotation(String type);
-
-  /**
-   * Writes out an empty line, used for code formatting.
-   */
-  public void writeEmptyLine() throws IOException;
-
-  /**
-   * Writes out a Java statement represented by the given string.
-   *
-   * @param statement The string representation of the given statement
-   *
-   * @throws IllegalArgumentException if the statement string is null.
-   */
-  public void writeStatement(String statement) throws IOException;
-
-  /**
-   * Writes out an import statement of the given class.
-   *
-   * @param className The name of the class to be imported. Can contain '*'
-   *                  for package imports.
-   *
-   * @throws IllegalArgumentException if className is null.
-   * @throws IllegalStateException if the current stream state does not allow
-   *         an import statement, ie the class definition has already started.
-   */
-  public void writeImportStatement(String className) throws IOException;
-
-  /**
-   * Writes out a return statement for the current method that returns
-   * the given expression.
-   *
-   * @param  expression A handle to the expression to be returned.
-   *
-   * @throws IllegalArgumentException if expression is null.
-   * @throws IllegalStateException if the current stream state does not allow
-   *         a return declaration (e.g. if startMethod has not been called or
-   *         the current method is void).
-   */
-  public void writeReturnStatement(Expression expression) throws IOException;
-
-  /**
-   * Writes out a return statement for the current method that returns
-   * the given expression.
-   *
-   * @param  left A handle to the variable that goes on the left side
-   *         of the equals sign.
-   * @param  right A handle to the expression which goes on the right side
-   *         of the equals sign.
-   *
-   * @throws IllegalArgumentException if either parameter is null.
-   * @throws IllegalStateException if the current stream state does not allow
-   *         an assignment declaration (e.g. if startMethod or
-   *         startConstructor has not been called).
-   */
-  public void writeAssignmentStatement(Variable left, Expression right)
-          throws IOException;
-
-  /**
-   * Instructs the stream to finish writing the current method or constructor.
-   * Every call to startMethod or startConstructor must be balanced by a call
-   * to endClassOrConstructor.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         the end of a class or interface.
-   */
-  public void endMethodOrConstructor() throws IOException;
-
-  /**
-   * Instructs the stream to finish writing the current class or interface.
-   * Every call to startClass or startInterface must be balanced by a call to
-   * endClassOrInterface.
-   *
-   * @throws IllegalStateException if the current stream state does not allow
-   *         the end of a class or interface.
-   */
-  public void endClassOrInterface() throws IOException;
-
-  /**
-   * Instructs the stream to finish writing the current file.
-   * Every call to startFile must be balanced by a call to endFile().
-   *
-   * @throws IllegalStateException if no file has been started.
-   */
-  public void endFile() throws IOException;
-
-  /**
-   * Closes the JavaOutputStream.  This should be called exactly once and
-   * only when you are completely finished with the stream.  Note that in
-   * the case where java sources are being generated, calling this method may
-   * cause the sources to be javac'ed.
-   */
-  public void close() throws IOException;
-
-  /**
-   * Returns the ExpressionFactory that should be to create instances of
-   * Expression to be used in conjunction with this JavaOutputStream.
-   *
-   * @return An ExpressionFactory.  Must never return null.
-   */
-  public ExpressionFactory getExpressionFactory();
-
-
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/SourceJavaOutputStream.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/SourceJavaOutputStream.java
deleted file mode 100644
index 69ce1e5..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/SourceJavaOutputStream.java
+++ /dev/null
@@ -1,601 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import org.apache.xmlbeans.impl.binding.logger.BindingLogger;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.io.StringWriter;
-import java.lang.reflect.Modifier;
-import java.util.Iterator;
-import java.util.StringTokenizer;
-
-/**
- * <p>Implementation of JavaOutputStream which outputs Java source code.</p>
- *
- * <p>Note that this class has no direct knowledge of where that source code
- * goes; that functionality is factored out into the WriterFactory interface,
- * which returns a new PrintWriter for a given package and class name on
- * demand.  Typically, the implementation will be FileWriterFactory, which
- * simply creates files under a source root directory, but this factoring
- * allows for other arrangements to be supported.</p>
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class SourceJavaOutputStream
-        implements JavaOutputStream, ExpressionFactory {
-
-  // ========================================================================
-  // Constants
-
-  private static final String COMMENT_LINE_DELIMITERS = "\n\r\f";
-  private static final String INDENT_STRING = "  ";
-
-  private static final char[] hexLow = {
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F',
-  };
-
-  private static final char[] hexHigh = {
-    '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0',
-    '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1',
-    '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',
-    '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3', '3',
-    '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',
-    '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5',
-    '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6', '6',
-    '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7', '7',
-    '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8',
-    '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9', '9',
-    'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A',
-    'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B', 'B',
-    'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C',
-    'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D',
-    'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E', 'E',
-    'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'F',
-  };
-
-  // ========================================================================
-  // Variables
-
-  protected BindingLogger mLogger = BindingLogger.DEFAULT;
-  private PrintWriter mOut = null;
-  private int mIndentLevel = 0;
-  private String mPackageName = null;
-  private String mClassOrInterfaceName = null;
-  private WriterFactory mWriterFactory;
-  private StringWriter mCommentBuffer = null;
-  private StringWriter mImportBuffer = null;
-  private PrintWriter mCommentPrinter = null;
-  private PrintWriter mImportPrinter = null;
-
-  // ========================================================================
-  // Constructors
-
-  public SourceJavaOutputStream(WriterFactory factory) {
-    setWriterFactory(factory);
-  }
-
-  protected SourceJavaOutputStream() {}
-
-  protected void setWriterFactory(WriterFactory factory) {
-    if (factory == null) throw new IllegalArgumentException();
-    mWriterFactory = factory;
-  }
-
-  // ========================================================================
-  // Public methods
-
-
-  /**
-   * Sets the logger to log messages to.
-   */
-  public void setLogger(BindingLogger bl) {
-    if (bl == null) throw new IllegalArgumentException("null logger");
-    mLogger = bl;
-  }
-
-  // ========================================================================
-  // JavaOutputStream implementation
-
-  public void startFile(String packageName,
-                        String classOrInterfaceName) throws IOException {
-    if (packageName == null) {
-      throw new IllegalArgumentException("null package");
-    }
-    if (classOrInterfaceName == null) {
-      throw new IllegalArgumentException("null classname");
-    }
-    if (mOut != null) {
-      throw new IllegalStateException("Start new file without calling "+
-                                      "endFile on existing file");
-    }
-    if (mIndentLevel != 0) throw new IllegalStateException(); //sanity check
-    mOut = new PrintWriter(mWriterFactory.createWriter(packageName,
-                                                       classOrInterfaceName));
-    mPackageName = makeI18nSafe(packageName);
-    mClassOrInterfaceName = makeI18nSafe(classOrInterfaceName);
-  }
-
-  public void startStaticInitializer() throws IOException {
-    checkStateForWrite();
-    printIndents();
-    mOut.println("static {");
-    increaseIndent();
-  }
-
-  public void startClass(int modifiers,
-                         String extendsClassName,
-                         String[] interfaceNames)
-          throws IOException {
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    mLogger.logVerbose("startClass "+mPackageName+"."+mClassOrInterfaceName);
-    extendsClassName = makeI18nSafe(extendsClassName);
-    mOut.println("package " + mPackageName + ";");
-    mOut.println();
-    // We need to write up the actual class declaration and save it until
-    // after the imports have been written
-    //FIXME we should format this code more nicely
-    printImportsIfNeeded();
-    mOut.print(Modifier.toString(modifiers));
-    mOut.print(" class ");
-    mOut.print(mClassOrInterfaceName);
-    if (extendsClassName != null) {
-      mOut.print(" extends ");
-      mOut.print(extendsClassName);
-    }
-    if (interfaceNames != null && interfaceNames.length > 0) {
-      mOut.print(" implements ");
-      for (int i = 0; i < interfaceNames.length; i++) {
-        mOut.print(makeI18nSafe(interfaceNames[i]));
-        if (i < interfaceNames.length - 1) mOut.print(", ");
-      }
-    }
-    mOut.println(" {");
-    mOut.println();
-    increaseIndent();
-  }
-
-  public void startInterface(String[] extendsInterfaceNames)
-          throws IOException {
-    mLogger.logVerbose("startInterface "+mPackageName+"."+mClassOrInterfaceName);
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    mPackageName = makeI18nSafe(mPackageName);
-    mOut.println("package " + mPackageName + ";");
-    // We need to write up the actual class declaration and save it until
-    // after the imports have been written
-    //FIXME we should format this code more nicely
-    printImportsIfNeeded();
-    mOut.print("public interface ");
-    mOut.print(mClassOrInterfaceName);
-    if (extendsInterfaceNames != null && extendsInterfaceNames.length > 0) {
-      mOut.print(" extends ");
-      for (int i = 0; i < extendsInterfaceNames.length; i++) {
-        mOut.print(makeI18nSafe(extendsInterfaceNames[i]));
-        if (i < extendsInterfaceNames.length - 1) mOut.print(", ");
-      }
-    }
-    mOut.println("{");
-    mOut.println();
-    increaseIndent();
-  }
-
-  public Variable writeField(int modifiers,
-                             String typeName,
-                             String fieldName,
-                             Expression defaultValue) throws IOException {
-    mLogger.logVerbose("writeField "+typeName+" "+fieldName);
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    printIndents();
-    typeName = makeI18nSafe(typeName);
-    fieldName = makeI18nSafe(fieldName);
-    mOut.print(Modifier.toString(modifiers));
-    mOut.print(" ");
-    mOut.print(typeName);
-    mOut.print(" ");
-    mOut.print(fieldName);
-    if (defaultValue != null) {
-      mOut.print(" = ");
-      mOut.print(((String) defaultValue.getMemento()));
-    }
-    mOut.println(';');
-    mOut.println();
-    return newVar("this." + fieldName);
-  }
-
-  public Variable[] startConstructor(int modifiers,
-                                     String[] paramTypeNames,
-                                     String[] paramNames,
-                                     String[] exceptionClassNames)
-          throws IOException {
-    return startMethod(modifiers, null, mClassOrInterfaceName,
-                       paramTypeNames, paramNames, exceptionClassNames);
-  }
-
-  public Variable[] startMethod(int modifiers,
-                                String returnTypeName,
-                                String methodName,
-                                String[] paramTypeNames,
-                                String[] paramNames,
-                                String[] exceptionClassNames)
-          throws IOException {
-    mLogger.logVerbose("startMethod "+methodName);
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    methodName = makeI18nSafe(methodName);
-    returnTypeName = makeI18nSafe(returnTypeName);
-    printIndents();
-    mOut.print(Modifier.toString(modifiers));
-    mOut.print(" ");
-    if (returnTypeName != null) {
-      mOut.print(returnTypeName);
-      mOut.print(" ");
-    }
-    mOut.print(methodName);
-    // print the parameter list
-    Variable[] ret;
-    if (paramTypeNames == null || paramTypeNames.length == 0) {
-      mOut.print("()");
-      ret = new Variable[0];
-    } else {
-      ret = new Variable[paramTypeNames.length];
-      for (int i = 0; i < ret.length; i++) {
-        mOut.print((i == 0) ? "(" : ", ");
-        ret[i] = newVar(paramNames[i]);
-        mOut.print(makeI18nSafe(paramTypeNames[i]));
-        mOut.print(' ');
-        mOut.print(makeI18nSafe(paramNames[i]));
-      }
-      mOut.print(")");
-    }
-    // print the throws clause
-    if (exceptionClassNames != null && exceptionClassNames.length > 0) {
-      for (int i = 0; i < exceptionClassNames.length; i++) {
-        mOut.print((i == 0) ? " throws " : ", ");
-        mOut.print(makeI18nSafe(exceptionClassNames[i]));
-      }
-    }
-    mOut.println(" {");
-    increaseIndent();
-    return ret;
-  }
-
-  public void writeComment(String comment) throws IOException {
-    mLogger.logVerbose("comment");
-    getCommentPrinter().println(comment);
-  }
-
-  public void writeImportStatement(String className) throws IOException {
-    getImportPrinter().println("import " + makeI18nSafe(className) + ";");
-  }
-
-  public void writeEmptyLine() throws IOException {
-    checkStateForWrite();
-    mOut.println();
-  }
-
-  public void writeAnnotation(Annotation ann) throws IOException {
-    //FIXME haven't really thought much about how to write annotations
-    //as javadoc - this is more just proof-of-concept at this point.
-    //FIXME Eventually, will also need a switch for writing out jsr175
-    PrintWriter out = getCommentPrinter();
-    Iterator i = ((AnnotationImpl)ann).getPropertyNames();
-    while(i.hasNext()) {
-      String n = i.next().toString();
-      out.print('@');
-      out.print(((AnnotationImpl)ann).getType());
-      out.print('.');
-      out.print(n);
-      out.print(" = ");
-      out.print(((AnnotationImpl)ann).getValueDeclaration(n));
-      out.println();
-    }
-  }
-
-  public void writeStatement(String statement) throws IOException {
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    printIndents();
-    mOut.print(statement);
-    mOut.println(";");
-  }
-
-  public void writeReturnStatement(Expression expression) throws IOException {
-    mLogger.logVerbose("return");
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    printIndents();
-    mOut.print("return ");
-    mOut.print(((String) expression.getMemento()));
-    mOut.println(";");
-  }
-
-  public void writeAssignmentStatement(Variable left, Expression right)
-          throws IOException {
-    mLogger.logVerbose("assignment");
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    printIndents();
-    mOut.print(((String) left.getMemento()));
-    mOut.print(" = ");
-    mOut.print(((String) right.getMemento()));
-    mOut.println(";");
-  }
-
-  public void endMethodOrConstructor() throws IOException {
-    mLogger.logVerbose("endMethodOrConstructor");
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    reduceIndent();
-    printIndents();
-    mOut.println('}');
-    mOut.println();
-  }
-
-  public void endClassOrInterface() throws IOException {
-    mLogger.logVerbose("endClassOrInterface");
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    reduceIndent();
-    printIndents();
-    mOut.println('}');
-  }
-
-  public void endFile() throws IOException {
-    checkStateForWrite();
-    printCommentsIfNeeded();
-    mLogger.logVerbose("endFile");
-    closeOut();
-  }
-
-  public ExpressionFactory getExpressionFactory() {
-    return this;
-  }
-
-  public Annotation createAnnotation(String type) {
-    return new AnnotationImpl(type);
-  }
-
-  public void close() throws IOException {
-    mLogger.logVerbose("close");
-    closeOut();//just to be safe
-  }
-
-  // ========================================================================
-  // ExpressionFactory implementation
-
-  private static final Expression TRUE = newExp("true");
-  private static final Expression FALSE = newExp("false");
-  private static final Expression NULL = newExp("null");
-
-  public Expression createBoolean(boolean value) {
-    return value ? TRUE : FALSE;
-  }
-
-  public Expression createString(String value) {
-    return newExp("\"" + makeI18nSafe(value) + "\"");
-  }
-
-  public Expression createInt(int value) {
-    return newExp(String.valueOf(value));
-  }
-
-  public Expression createNull() {
-    return NULL;
-  }
-
-  public Expression createVerbatim(String value) {
-    return newExp(makeI18nSafe(value));
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private PrintWriter getCommentPrinter() {
-    if (mCommentPrinter == null) {
-      mCommentBuffer = new StringWriter();
-      mCommentPrinter = new PrintWriter(mCommentBuffer);
-    }
-    return mCommentPrinter;
-  }
-
-  private void printCommentsIfNeeded() {
-    if (mCommentBuffer == null) return;
-    checkStateForWrite();
-    String comment = mCommentBuffer.toString();
-    printIndents();
-    mOut.println("/**");
-    StringTokenizer st = new StringTokenizer(makeI18nSafe(comment),
-                                             COMMENT_LINE_DELIMITERS);
-    while (st.hasMoreTokens()) {
-      printIndents();
-      mOut.print(" * ");
-      mOut.println(st.nextToken());
-    }
-    printIndents();
-    mOut.println(" */");
-    mCommentBuffer = null;
-    mCommentPrinter = null;
-  }
-
-  private PrintWriter getImportPrinter() {
-    if (mImportPrinter == null) {
-      mImportBuffer = new StringWriter();
-      mImportPrinter = new PrintWriter(mImportBuffer);
-    }
-    return mImportPrinter;
-  }
-
-  private void printImportsIfNeeded() {
-    if (mImportBuffer == null) return;
-    checkStateForWrite();
-    String imports = mImportBuffer.toString();
-    mOut.println(imports);
-    mImportBuffer = null;
-    mImportPrinter = null;
-  }
-
-  private void checkStateForWrite() {
-    if (mOut == null) {
-      throw new IllegalStateException("Attempt to generate code when no "+
-                                      "file open.  This is indicates that "+
-                                      "there is some broken logic in the " +
-                                      "calling class");
-    }
-  }
-
-
-  private void printIndents() {
-    for (int i = 0; i < mIndentLevel; i++) mOut.print(INDENT_STRING);
-  }
-
-  private void increaseIndent() {
-    mIndentLevel++;
-  }
-
-  private void reduceIndent() {
-    mIndentLevel--;
-    if (mIndentLevel < 0) {
-      throw new IllegalStateException("Indent level reduced below zero. "+
-                                      "This is indicates that "+
-                                      "there is some broken logic in the " +
-                                      "calling class");
-    }
-  }
-
-  private void closeOut() {
-    if (mOut != null) {
-      mOut.flush();
-      mOut.close();
-      mOut = null;
-    }
-  }
-
-  private static Expression newExp(final String s) {
-    final String memento = makeI18nSafe(s);
-    return new Expression() {
-      public Object getMemento() {
-        return memento;
-      }
-    };
-  }
-
-  private static Variable newVar(String s) {
-    final String memento = makeI18nSafe(s);
-    return new Variable() {
-      public Object getMemento() {
-        return memento;
-      }
-    };
-  }
-
-  private static String makeI18nSafe(String s) {
-    if (s == null) return null;
-    for (int i = 0; i < s.length(); i++) {
-      if (s.charAt(i) > 127)
-        return buildI18nSafe(s);
-    }
-    return s;
-  }
-
-  private static String buildI18nSafe(String s) {
-    StringBuffer mI18nSafeBuffer = new StringBuffer();
-    int i = 0;
-    int j = 0;
-    for (; ;) {
-      for (; i < s.length(); i++) {
-        if (s.charAt(i) > 127)
-          break;
-      }
-      if (j < i)
-        mI18nSafeBuffer.append(s.substring(j, i));
-      for (; i < s.length(); i++) {
-        int ch = s.charAt(i);
-        if (ch <= 127)
-          break;
-        int highByte = ch >>> 8;
-        int lowByte = ch & 0xFF;
-        mI18nSafeBuffer.append("\\u");
-        mI18nSafeBuffer.append(hexHigh[highByte]);
-        mI18nSafeBuffer.append(hexLow[highByte]);
-        mI18nSafeBuffer.append(hexHigh[lowByte]);
-        mI18nSafeBuffer.append(hexLow[lowByte]);
-      }
-      j = i;
-    }
-  }
-
-  // ========================================================================
-  // main() - quick test
-
-  public static void main(String[] args) throws IOException {
-    SourceJavaOutputStream sjos = new SourceJavaOutputStream
-             (new WriterFactory() {
-               private PrintWriter OUT = new PrintWriter(System.out);
-
-               public Writer createWriter(String x, String y) {
-                 return OUT;
-               }
-             });
-     JavaOutputStream joust = new ValidatingJavaOutputStream(sjos);
-    ExpressionFactory exp = joust.getExpressionFactory();
-    joust.startFile("foo.bar.baz","MyClass");
-    Annotation author = joust.createAnnotation("author");
-    author.setValue("name","Patrick Calahan");
-    joust.writeComment("Test class");
-    joust.writeAnnotation(author);
-
-
-    joust.startClass(Modifier.PUBLIC | Modifier.FINAL,"MyBaseClass", null);
-    String[] paramTypes = {"int", "List"};
-    String[] paramNames = {"count", "fooList"};
-    String[] exceptions = {"IOException"};
-    Annotation deprecated = joust.createAnnotation("deprecated");
-    deprecated.setValue("value",true);
-    Variable counter =
-            joust.writeField(Modifier.PRIVATE, "int", "counter", exp.createInt(99));
-    joust.writeComment("This is the constructor comment");
-    joust.writeComment("And here is another.\n\n  ok?");
-    joust.writeAnnotation(deprecated);
-    Variable[] params = joust.startConstructor
-            (Modifier.PUBLIC, paramTypes, paramNames, exceptions);
-    joust.writeAssignmentStatement(counter, params[0]);
-    joust.endMethodOrConstructor();
-    joust.endClassOrInterface();
-    joust.endFile();
-    joust.close();
-  }
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ValidatingJavaOutputStream.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ValidatingJavaOutputStream.java
deleted file mode 100644
index 779798c..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/ValidatingJavaOutputStream.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.io.IOException;
-
-/**
- * <p>Performs some boilerplate input validation and state checking on stream
- * operations and then delegates to another JavaOutputStream.  This class
- * simply allows validation logic to be reused by multiple implementations of
- * JavaOutputStream.</p>
- *
- *
- * State diagram:
- *
- * <pre>
- *   +<-----endClass<-----+ +<-------------------------------+
- *   |                    | |                                |
- * BEGIN-->startClass--->CLASS---->writeImportStatement----->+
- *                         |                                 |
- *                         +------->writeMemberVariable----->+
- *                         |                                 |
- *                         +--->startMethod--->METHOD--->endMethod
- *                          (or ctor or static)   | ^   (or ctor or static)
- *                                              V |
- *                                       write...Statement
- * </pre>
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class ValidatingJavaOutputStream implements JavaOutputStream {
-
-  // FIXME This class isn't implemented yet - it's just a proxy that isn't
-  // FIXME doing any validation
-
-  // ========================================================================
-  // Constants
-
-  // ========================================================================
-  // Variables
-
-  private JavaOutputStream mDest;
-
-  // ========================================================================
-  // Constructors
-
-  public ValidatingJavaOutputStream(JavaOutputStream destination) {
-    if (destination == null) throw new IllegalArgumentException();
-    mDest = destination;
-  }
-
-  // ========================================================================
-  // JavaOutputStream implementation
-
-  public void startFile(String packageName,
-                        String interfaceOrClassName)
-          throws IOException {
-    mDest.startFile(packageName,interfaceOrClassName);
-  }
-
-  public void startClass(int modifiers,
-                         String extendsClassName,
-                         String[] implementsInterfaceNames)
-          throws IOException {
-    mDest.startClass(modifiers, extendsClassName, implementsInterfaceNames);
-  }
-
-  public void startInterface(String[] extendsInterfaceNames)
-          throws IOException {
-    mDest.startInterface(extendsInterfaceNames);
-  }
-
-  public Variable writeField(int modifiers,
-                             String typeName,
-                             String fieldName,
-                             Expression defaultValue) throws IOException {
-    return mDest.writeField(modifiers, typeName, fieldName, defaultValue);
-  }
-
-  public void startStaticInitializer() throws IOException {
-    mDest.startStaticInitializer();
-  }
-
-  public Variable[] startConstructor(int modifiers,
-                                     String[] paramTypeNames,
-                                     String[] paramNames,
-                                     String[] exceptionClassNames)
-          throws IOException {
-    return mDest.startConstructor(modifiers, paramTypeNames,
-                                  paramNames, exceptionClassNames);
-  }
-
-  public Variable[] startMethod(int modifiers,
-                                String methodName,
-                                String returnTypeName,
-                                String[] paramTypeNames,
-                                String[] paramNames,
-                                String[] exceptionClassNames)
-          throws IOException {
-    return mDest.startMethod(modifiers, methodName, returnTypeName,
-                             paramTypeNames, paramNames, exceptionClassNames);
-  }
-
-  public void writeEmptyLine() throws IOException {
-    mDest.writeEmptyLine();
-  }
-
-  public void writeComment(String comment) throws IOException {
-    mDest.writeComment(comment);
-  }
-
-  public void writeAnnotation(Annotation ann) throws IOException {
-    mDest.writeAnnotation(ann);
-  }
-
-  public Annotation createAnnotation(String type) {
-    return mDest.createAnnotation(type);
-  }
-
-  public void writeImportStatement(String className) throws IOException {
-    mDest.writeImportStatement(className);
-  }
-
-  public void writeStatement(String statement) throws IOException {
-    mDest.writeStatement(statement);
-  }
-
-  public void writeReturnStatement(Expression expression) throws IOException {
-    mDest.writeReturnStatement(expression);
-  }
-
-  public void writeAssignmentStatement(Variable left, Expression right)
-          throws IOException {
-    mDest.writeAssignmentStatement(left, right);
-  }
-
-  public void endMethodOrConstructor() throws IOException {
-    mDest.endMethodOrConstructor();
-  }
-
-  public void endClassOrInterface() throws IOException {
-    mDest.endClassOrInterface();
-  }
-
-  public void endFile() throws IOException {
-    mDest.endFile();
-  }
-
-  public ExpressionFactory getExpressionFactory() {
-    return mDest.getExpressionFactory();
-  }
-
-  public void close() throws IOException {
-    mDest.close();
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Variable.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Variable.java
deleted file mode 100644
index d293ffc..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/Variable.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-/**
- * An Expression which has the property of assignability.  This interface
- * simply ensures some basic correctness in the code output.  Several
- * methods on JavaOutputStream (e.g. createMemberVariable) return instances of
- * Variable, and several other methods (e.g. writeAssignmentStatement) may
- * require a Variable as a parameter.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface Variable extends Expression {
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/WriterFactory.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/WriterFactory.java
deleted file mode 100644
index 507907d..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/joust/WriterFactory.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.joust;
-
-import java.io.IOException;
-import java.io.Writer;
-
-/**
- * SourceJavaOutputStream delegates to an instance of this interface when
- * it needs to get a Writer to write source code to.
- */
-public interface WriterFactory {
-
-  public Writer createWriter(String packageName, String className)
-          throws IOException;
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/BindingLogger.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/BindingLogger.java
deleted file mode 100644
index cce11dc..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/BindingLogger.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.logger;
-
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.jam.JElement;
-
-import java.util.logging.Level;
-
-/**
- * Provides an interface to which binding compilation objects can send
- * log messages.  The various logging methods here simply construct
- * new BindingLoggerMessages and send them on to some MessageSink
- * which actually processes the messsages; this class is primarily
- * responsible for simply providing clients with a 'tighter' interface to
- * that sink.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class BindingLogger {
-
-  // ========================================================================
-  // Constants
-
-  private static final MessageSink DEFAULT_SINK =
-          new SimpleMessageSink();
-
-  public static final BindingLogger DEFAULT = new BindingLogger();
-
-  // ========================================================================
-  // Variables
-
-  private boolean mVerbose = false;
-  private MessageSink mSink = DEFAULT_SINK;
-  private boolean mAnyErrorsFound = false;
-  private boolean mIgnoreErrors = false;
-
-  // ========================================================================
-  // Constructors
-
-  protected BindingLogger(MessageSink sink) { mSink = sink; }
-
-  protected BindingLogger() { mSink = DEFAULT_SINK; }
-
-  // ========================================================================
-  // Attributes
-
-  public void setVerbose(boolean b) {
-    mVerbose = b;
-  }
-
-  public void setIgnoreErrors(boolean b) {
-    mIgnoreErrors = b;
-  }
-
-  public void setMessageSink(MessageSink blp) {
-    mSink = blp;
-  }
-
-  public boolean isAnyErrorsFound() {
-    return mAnyErrorsFound;
-  }
-
-  public boolean isIgnoreErrors() {
-    return mIgnoreErrors;
-  }
-
-  public boolean isVerbose() {
-    return mVerbose;
-  }
-
-  // ========================================================================
-  // Public logging methods
-
-  /**
-   * Logs a warning message.
-   */
-  public void logWarning(String msg) {
-    mSink.log(new MessageImpl
-            (Level.WARNING, msg, null, null, null, null));
-  }
-
-  /**
-   * Logs a message that some error occurred while performing binding.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(String msg) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, msg, null, null, null, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that an error occurred.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(Throwable t) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, null, t, null, null, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given java construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(Throwable error, JElement javaContext) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, null, error, javaContext, null, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given schema construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(Throwable error, SchemaType schemaContext) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, null, error, null, schemaContext, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given java and schema constructs.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(Throwable t, JElement jCtx, SchemaType xsdCtx) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, null, t, jCtx, xsdCtx, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given java construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(String msg, JElement javaContext) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, msg, null, javaContext, null, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given schema construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(String msg, SchemaType xsdCtx) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, msg, null, null, xsdCtx, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given schema construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(String msg, JElement javaCtx, SchemaType xsdCtx) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, msg, null, javaCtx, xsdCtx, null));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs a message that fatal error that occurred while performing binding
-   * on the given schema construct.
-   *
-   * @return true if processing should attempt to continue.
-   */
-  public boolean logError(String msg, JElement jCtx, SchemaProperty xCtx) {
-    mAnyErrorsFound = true;
-    mSink.log(new MessageImpl
-            (Level.SEVERE, msg, null, jCtx, null, xCtx));
-    return mIgnoreErrors;
-  }
-
-  /**
-   * Logs an informative message that should be printed only in 'verbose'
-   * mode.
-   */
-  public void logVerbose(String msg) {
-    if (mVerbose) {
-      mSink.log(new MessageImpl
-              (Level.FINEST, msg, null, null, null, null));
-    }
-  }
-
-  /**
-   * Logs an informative message that should be printed only in 'verbose'
-   * mode.
-   */
-  public void logVerbose(String msg, JElement javaContext) {
-    if (mVerbose) {
-      mSink.log(new MessageImpl
-              (Level.FINEST, msg, null, javaContext, null, null));
-    }
-  }
-
-  /**
-   * Logs an informative message that should be printed only in 'verbose'
-   * mode.
-   */
-  public void logVerbose(String msg, SchemaType xsdType) {
-    if (mVerbose) {
-      mSink.log(new MessageImpl
-              (Level.FINEST, msg, null, null, xsdType, null));
-    }
-  }
-
-  /**
-   * Logs an informative message that should be printed only in 'verbose'
-   * mode.
-   */
-  public void logVerbose(String msg, JElement javaCtx, SchemaType xsdCtx) {
-    if (mVerbose) {
-      mSink.log(new MessageImpl
-              (Level.FINEST, msg, null, javaCtx, xsdCtx, null));
-    }
-  }
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/Message.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/Message.java
deleted file mode 100644
index 92eb54a..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/Message.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.logger;
-
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.jam.JElement;
-
-import java.util.logging.Level;
-
-/**
- * Encapsulates a message that was generated while running a BindingCompiler.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface Message {
-
-  /**
-   * @return The severity level of the message.  This must never return null.
-   */
-  public Level getLevel();
-
-  /**
-   * @return The text of the message.  This must never return null.
-   */
-  public String getMessage();
-
-  /**
-   * @return The exception which caused the message, or null.
-   */
-  public Throwable getException();
-
-  /**
-   * @return The JElement representing the java construct to which the message
-   * applies, or null.
-   */
-  public JElement getJavaContext();
-
-  /**
-   * @return The SchemaType representing the xsd type to which the message
-   * applies, or null.
-   */
-  public SchemaType getSchemaTypeContext();
-
-  /**
-   * @return The SchemaProperty representing the xsd property to which the
-   * message applies, or null.
-   */
-  public SchemaProperty getSchemaPropertyContext();
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageImpl.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageImpl.java
deleted file mode 100644
index e5636da..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageImpl.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.logger;
-
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.jam.JElement;
-
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.util.logging.Level;
-
-/**
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class MessageImpl implements Message {
-
-  // ========================================================================
-  // Variables
-
-  private Level mLevel;
-  private String mMessage = null;
-  private Throwable mException = null;
-  private JElement mJavaContext = null;
-  private SchemaType mSchemaTypeContext = null;
-  private SchemaProperty mSchemaPropertyContext = null;
-
-  // ========================================================================
-  // Constructors
-
-  public MessageImpl(Level level,
-                     String message,
-                     Throwable exception,
-                     JElement javaContext,
-                     SchemaType schemaTypeContext,
-                     SchemaProperty schemaPropertyContext) {
-    if (level == null) throw new IllegalArgumentException("null level");
-    mLevel = level;
-    mMessage = message;
-    mException = exception;
-    mJavaContext = javaContext;
-    mSchemaTypeContext = schemaTypeContext;
-    mSchemaPropertyContext = schemaPropertyContext;
-  }
-
-
-  // ========================================================================
-  // Message implementation
-
-  public Level getLevel() {
-    return mLevel;
-  }
-
-  public String getMessage() {
-    if (mMessage != null) return mMessage;
-    if (mException != null) return mException.getMessage();
-    return mLevel.getLocalizedName(); //?
-  }
-
-  public Throwable getException() {
-    return mException;
-  }
-
-  public JElement getJavaContext() {
-    return mJavaContext;
-  }
-
-  public SchemaProperty getSchemaPropertyContext() {
-    return mSchemaPropertyContext;
-  }
-
-  public SchemaType getSchemaTypeContext() {
-    return mSchemaTypeContext;
-  }
-
-  // ========================================================================
-  // Object implementation
-
-  public String toString() {
-    StringWriter sw = new StringWriter();
-    print(new PrintWriter(sw));
-    return sw.toString();
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private void print(PrintWriter out) {
-    out.print('[');
-    out.print(mLevel.toString());
-    out.print("] ");
-    if (mMessage != null) {
-      out.println(mMessage);
-    }
-    if (mJavaContext != null) {
-      out.print(" on Java element '");
-      out.print(mJavaContext.getQualifiedName());
-      out.print("'");
-    }
-    if (mSchemaTypeContext != null) {
-      out.print(" on Schema type ");
-      out.print(mSchemaTypeContext.getName());//FIXME?
-      out.print("'");
-    }
-    if (mSchemaPropertyContext != null) {
-      out.print(" on Schema type ");
-      out.print(mSchemaPropertyContext.getName());//FIXME?
-      out.print("'");
-    }
-    if (mException != null) {
-      mException.printStackTrace(out);
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageSink.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageSink.java
deleted file mode 100644
index bdf9a44..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/MessageSink.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.logger;
-
-
-
-/**
- * Implemented by helper objects which can receive log messages from a
- * BindingCompiler and do something useful with them.  Note that
- * BindingCompilers should generally try to proceed even when binding
- * errors are encounted so as to help the user identify as many errors as
- * possible in a single pass.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface MessageSink {
-
-  /**
-   * Logs a message that was produced while performing binding
-   * on the given java construct.
-   *
-   * @param msg  message to be logged
-   */
-  public void log(Message msg);
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/SimpleMessageSink.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/SimpleMessageSink.java
deleted file mode 100644
index 21a02fa..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/logger/SimpleMessageSink.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.logger;
-
-import java.io.PrintWriter;
-
-/**
- * Implementation of MessageSink that just spews out to some Writer.
- */
-public class SimpleMessageSink implements MessageSink {
-
-  // ========================================================================
-  // Constants
-
-  public static final MessageSink STDOUT = new SimpleMessageSink();
-
-  // ========================================================================
-  // Variables
-
-  private PrintWriter mOut;
-
-  // ========================================================================
-  // Constructors
-
-  public SimpleMessageSink() {
-    this(new PrintWriter(System.out));
-  }
-
-  public SimpleMessageSink(PrintWriter out) {
-    if (out == null) throw new IllegalArgumentException();
-    mOut = out;
-  }
-
-  // ========================================================================
-  // MessageSink implementation
-
-  public void log(Message msg) {
-    mOut.print(msg.toString());
-    mOut.flush();
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/BaseTylarImpl.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/BaseTylarImpl.java
deleted file mode 100644
index 84aa7d2..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/BaseTylarImpl.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.CompositeBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.*;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import java.net.URI;
-import java.net.URL;
-import java.io.IOException;
-
-/**
- * @deprecated phasing this out in favor of RuntimeTylar and BuildtimeTylar.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public abstract class BaseTylarImpl implements Tylar {
-
-  // ========================================================================
-  // Partial default Tylar implementation
-
-  public String getDescription() {
-    return "["+this.getClass().getName()+"]";
-  }
-
-  public URL[] getLocations() {
-    return null;
-  }
-
-  public URL getLocation() {
-    return null;
-  }
-
-  public BindingLoader getBindingLoader() /*throws IOException, XmlException*/ {
-try {
-  //REVIEW should consider caching this result
-    BindingFile[] bfs = getBindingFiles();
-    BindingLoader[] loaders = new BindingLoader[bfs.length+1];
-    System.arraycopy(bfs,0,loaders,0,bfs.length);
-    loaders[loaders.length-1] = BuiltinBindingLoader.getBuiltinBindingLoader(false);
-    return CompositeBindingLoader.forPath(loaders);
-} catch(Exception e) { throw new RuntimeException(e); } //fixme
-  }
-
-  public JamClassLoader getJamClassLoader()
-  {
-    return JamServiceFactory.getInstance().createSystemJamClassLoader();
-  }
-
-  // ========================================================================
-  // Protected methods
-
-  /**
-   * <p>Creates a schema type system by compiling all of the schema documents
-   * returned by getSchemas().  This can be used as a fallback for 
-   * implementing getSchemaTypeSystem().
-   *
-   * @return
-   */
-  protected SchemaTypeSystem getDefaultSchemaTypeSystem()
-    throws IOException, XmlException
-  {
-    SchemaDocument[] xsds = getSchemas();
-    XmlObject[] xxds = new XmlObject[xsds.length];
-    for(int i=0; i<xsds.length; i++) xxds[i] = xsds[i].getSchema();
-    try {
-      XmlOptions opts = new XmlOptions();
-      opts.setCompileDownloadUrls();
-      opts.setLoadUseDefaultResolver();
-      return XmlBeans.compileXsd(xxds,XmlBeans.getBuiltinTypeSystem(),opts);
-    } catch(XmlException xe) {
-      throw (IOException)new IOException().initCause(xe);
-    }
-  }
-
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/CompositeTylar.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/CompositeTylar.java
deleted file mode 100644
index 2d6913f..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/CompositeTylar.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-import java.io.IOException;
-
-/**
- * @deprecated I think we'd like to eliminate this class if possible.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class CompositeTylar extends BaseTylarImpl {
-
-  // ========================================================================
-  // Variables
-
-  private Tylar[] mTylars; //the tylars we are composing
-
-  // ========================================================================
-  // Constructors
-
-  /**
-   * Constructs a composition of the tylars in the given collection.  Bindings
-   * and types will be sought in the tylars in the order in which they are
-   * presented in this collection (as returned by Collection.iterator()).
-   *
-   * @throws IllegalArgumentException if any object in the collection is not
-   * a Tylar or the collection is null.
-   */
-  public CompositeTylar(Collection tylars) {
-    if (tylars == null) throw new IllegalArgumentException("null tylars");
-    mTylars = new Tylar[tylars.size()];
-    int n = 0;
-    for(Iterator i = tylars.iterator(); i.hasNext(); n++) {
-      Object next = i.next();
-      if (next instanceof Tylar) {
-        mTylars[n] = (Tylar)next;
-      } else {
-        throw new IllegalArgumentException("Collection contains a "+
-                next.getClass()+" which does not implement Tylar");
-      }
-    }
-  }
-
-  /**
-   * Constructs a composition of the given Tylars.  Bindings and types
-   * will be sought in the tylars in the order in which they are presented in
-   * this array.
-   */
-  public CompositeTylar(Tylar[] tylars) {
-    if (tylars == null) throw new IllegalArgumentException("null tylars");
-    mTylars = tylars;
-  }
-
-  // ========================================================================
-  // Tylar implementation
-
-  public String getDescription() {
-    return "CompositeTylar containing "+mTylars.length+" tylars";
-  }
-
-  public BindingFile[] getBindingFiles() /*throws IOException, XmlException*/ {
-    //REVIEW consider caching
-    Collection all = new ArrayList();
-    for(int i=0; i<mTylars.length; i++) {
-      all.addAll(Arrays.asList(mTylars[i].getBindingFiles()));
-    }
-    BindingFile[] out = new BindingFile[all.size()];
-    all.toArray(out);
-    return out;
-  }
-
-  public SchemaDocument[] getSchemas() /*throws IOException, XmlException*/ {
-    //REVIEW consider caching
-    Collection all = new ArrayList();
-    for(int i=0; i<mTylars.length; i++) {
-      all.addAll(Arrays.asList(mTylars[i].getSchemas()));
-    }
-    SchemaDocument[] out = new SchemaDocument[all.size()];
-    all.toArray(out);
-    return out;
-  }
-
-  public SchemaTypeLoader getSchemaTypeLoader() throws IOException, XmlException {
-    if (mTylars.length == 0) return XmlBeans.getBuiltinTypeSystem();
-    if (mTylars.length == 1) return mTylars[0].getSchemaTypeLoader();
-    SchemaTypeLoader[] sts = new SchemaTypeLoader[mTylars.length];
-    for(int i=0; i<mTylars.length; i++) sts[i] = mTylars[i].getSchemaTypeLoader();
-    return XmlBeans.typeLoaderUnion(sts);
-
-
-  }
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DebugTylarWriter.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DebugTylarWriter.java
deleted file mode 100644
index 9b58e17..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DebugTylarWriter.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.SourceJavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.WriterFactory;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlException;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.io.File;
-import java.net.URL;
-import java.net.URLClassLoader;
-
-/**
- * Implementation of TylarWriter which simply dumps everything it gets to some
- * Writer.  This can be useful for quick debugging.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class DebugTylarWriter implements TylarWriter, WriterFactory {
-
-  // ========================================================================
-  // Variables
-
-  private PrintWriter mOut;
-  private JavaOutputStream mJoust;
-  private XmlOptions mOptions;
-
-  // ========================================================================
-  // Constructors
-
-  public DebugTylarWriter() {
-    this(new PrintWriter(System.out,true));
-  }
-
-  public DebugTylarWriter(PrintWriter out) {
-    mJoust = new SourceJavaOutputStream(this);
-    mOut = out;
-    mOptions = new XmlOptions();
-    mOptions.setSavePrettyPrint();
-  }
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Utility method which writes the contents of the given tylar to our
-   * PrintWriter.  Useful for debugging, provides a quick dump of the contents
-   * of an arbitrary Tylar.
-   *
-   * @param t Tylar to dump
-   * @throws IOException
-   */
-  public void write(Tylar t) throws IOException {
-    try {
-      mOut.println("==== Dumping Type Library contents... =================");
-      mOut.println("location = "+t.getLocations());
-      mOut.println("description = "+t.getDescription());
-      BindingFile[] bfs = t.getBindingFiles();
-      for(int i=0; i<bfs.length; i++) {
-        mOut.println("---- Binding File -------------------------------------");
-        writeBindingFile(bfs[i]);
-      }
-      SchemaDocument[] xsds = t.getSchemas();
-      for(int i=0; i<xsds.length; i++) {
-        mOut.println("---- Schema -------------------------------------------");
-        writeSchema(xsds[i],null);
-      }
-      mOut.println("==== End Type Library contents ========================");
-    } catch(Exception xe) {
-      xe.printStackTrace();
-      throw new IOException(xe.getMessage());
-    }
-    mOut.flush();
-
-  }
-
-  // ========================================================================
-  // TylarWriter implementation
-
-  public void writeBindingFile(BindingFile bf) throws IOException {
-    bf.write().save(mOut,mOptions);
-  }
-
-  public void writeSchema(SchemaDocument xsd, String fp) throws IOException {
-    xsd.save(mOut,mOptions);
-  }
-
-  public void writeSchemaTypeSystem(SchemaTypeSystem sts) throws IOException {
-    //FIXME implement me
-  }
-
-  public JavaOutputStream getJavaOutputStream() {
-    return mJoust;
-  }
-
-  public void close() {
-    mOut.flush();
-  }
-
-  // ========================================================================
-  // WriterFactory implementation
-
-  public Writer createWriter(String packageName, String className)
-          throws IOException {
-    return mOut;
-  }
-
-  // ========================================================================
-  // main method
-
-  public static void main(String[] args) {
-    try {
-      TylarLoader loader = DefaultTylarLoader.getInstance();
-      Tylar tylar = loader.load(new URLClassLoader(new URL[]{new File(args[0]).toURL()}));
-      new DebugTylarWriter().write(tylar);
-    } catch(Exception e) {
-      e.printStackTrace();
-    }
-    System.out.flush();
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DefaultTylarLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DefaultTylarLoader.java
deleted file mode 100644
index 0483542..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/DefaultTylarLoader.java
+++ /dev/null
@@ -1,450 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.*;
-import java.net.URI;
-import java.net.URLClassLoader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.jar.JarEntry;
-import java.util.jar.JarInputStream;
-import org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-/**
- * Default implementation of TylarLoader.  Currently, only directory and jar
- * tylars are supported.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class DefaultTylarLoader implements TylarLoader, TylarConstants {
-
-  // ========================================================================
-  // Singleton
-
-  //REVIEW someday we might want to make the default TylarLoader a pluggable
-  //parameter in a properties file somewhere.  pcal 12/16/03
-  public static final TylarLoader getInstance() {
-    return DEFAULT_INSTANCE;
-  }
-
-  private static /*final*/ TylarLoader
-          DEFAULT_INSTANCE = new DefaultTylarLoader();
-
-  /**
-   * This is a gross quick hack to support pluggability for tylar loader.
-   * In the future, we need a cleaner mechansim, probably letting them
-   * specifiy the TylarLoader impl class name in some properties file
-   * in the classpath.
-   *
-   * @deprecated eventually; currently there is no other option.
-   */
-  public static void setInstance(TylarLoader newDefaultLoader) {
-    DEFAULT_INSTANCE = newDefaultLoader;
-  }
-
-  // ========================================================================
-  // Constructor
-
-  protected DefaultTylarLoader() {}
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   *
-   */
-  public Tylar load(ClassLoader cl) throws IOException, XmlException {
-    if (cl == null) throw new IllegalArgumentException("null stream");
-    return new RuntimeTylar(cl);
-  }
-
-
-  // ========================================================================
-  // Everything below this line is deprecated and will be removed ASAP
-
-
-  private static final String FILE_SCHEME = "file";
-
-  private static final char[] OTHER_SEPCHARS = {'\\'};
-
-  private static final char SEPCHAR = '/';
-
-  private static final boolean VERBOSE = false;
-
-  private static final String BINDING_FILE_JARENTRY =
-          normalizeEntryName(TylarConstants.BINDING_FILE).toLowerCase();
-
-  private static final String SCHEMA_DIR_JARENTRY =
-          normalizeEntryName(TylarConstants.SCHEMA_DIR).toLowerCase();
-
-  private static final String SCHEMA_EXT = ".xsd";
-
-  private static final String STS_PREFIX = "schema"+SEPCHAR+"system"+SEPCHAR;
-
-  /**
-   * Loads the tylar from the given uri.
-   *
-   * @param uri uri of where the tylar is stored.
-   * @return
-   * @throws IOException if an i/o error occurs while processing
-   * @throws XmlException if an error occurs parsing the contents of the tylar.
-   */
-  /*
-  public Tylar load(URI uri) throws IOException, XmlException
-  {
-    return load(new URL[]{new URL(uri.toString())});
-  }
-
-  public Tylar load(URI[] uris) throws IOException, XmlException {
-    URL[] urls = new URL[uris.length];
-    for(int i=0; i<uris.length; i++) {
-      urls[i] = new URL(uris[i].toString());
-    }
-    return load(urls);
-  }
-
-  public Tylar load(JarInputStream jar) throws IOException, XmlException {
-    if (jar == null) throw new IllegalArgumentException("null stream");
-    return loadFromJar(jar,null);
-  } */
-  /**
-   * Loads the tylar from the given uri.
-   *
-   * @param uri uri of where the tylar is stored.
-   * @return
-   * @throws IOException if an i/o error occurs while processing
-   * @throws XmlException if an error occurs parsing the contents of the tylar.
-   */
-  public Tylar load(URI uri) throws IOException, XmlException
-  {
-    if (uri == null) throw new IllegalArgumentException("null uri");
-    //String scheme = uri.getScheme();
-    File file = null;
-    try {
-      file = new File(uri);
-    } catch(Exception ignore) {}
-    if (file != null && file.exists() && file.isDirectory()) {
-      return ExplodedTylarImpl.load(file);
-    } else {
-      return loadFromJar(new JarInputStream(uri.toURL().openStream()),uri);
-    }
-  }
-
-  public Tylar load(URI[] uris) throws IOException, XmlException {
-    Tylar[] tylars = new Tylar[uris.length];
-    for(int i=0; i<tylars.length; i++) {
-      tylars[i] = load(uris[i]);
-    }
-    return new CompositeTylar(tylars);
-  }
-
-  public Tylar load(JarInputStream jar) throws IOException, XmlException {
-    if (jar == null) throw new IllegalArgumentException("null stream");
-    return loadFromJar(jar,null);
-  }
-
-  // ========================================================================
-  // Private methods
-
-  /**
-   * Loads a Tylar directly from the stream. given jar file.  This method
-   * parses all of the tylar's binding artifacts; if it doesn't throw an
-   * exception, you can be sure that the tylars binding files and schemas are
-   * valid.
-   *
-   * @param jin input stream on the jar file.  This should NOT be a
-   * JarInputStream
-   * @param source uri from which the tylar was retrieved.  This is used
-   * for informational purposes only and is not required.
-   * @return Handle to the tylar
-   * @throws IOException
-   */
-  protected static Tylar loadFromJar(JarInputStream jin, URI source)
-          throws IOException, XmlException
-  {
-    if (jin == null) throw new IllegalArgumentException("null stream");
-    //FIXME in the case where sourceURI is null, we could look in the
-    //manifest or someplace to try to get at least some useful information
-    JarEntry entry;
-    BindingFile bf = null;
-    Collection schemas = null;
-    StubbornInputStream stubborn = new StubbornInputStream(jin);
-    String stsName = null;
-    while ((entry = jin.getNextJarEntry()) != null) {
-      String name = normalizeEntryName(entry.getName());
-      if (name.endsWith(""+SEPCHAR)) {
-        if (name.startsWith(STS_PREFIX) &&
-          name.length() > STS_PREFIX.length()) {
-          // the name of the sts is the name of the only directory under
-          // schema/system
-          stsName = STS_PACKAGE+"."+name.substring(STS_PREFIX.length(),name.length()-1);
-          if (VERBOSE) System.out.println("sts name is "+stsName);
-        }
-        continue;
-      }
-      name = name.toLowerCase();
-      if (name.equals(BINDING_FILE_JARENTRY)) {
-        if (VERBOSE) System.out.println("parsing binding file "+name);
-        bf = BindingFile.forDoc(BindingConfigDocument.Factory.parse(stubborn));
-      } else if (name.startsWith(SCHEMA_DIR_JARENTRY) &&
-              name.endsWith(SCHEMA_EXT)) {
-        if (schemas == null) schemas = new ArrayList();
-        if (VERBOSE) System.out.println("parsing schema "+name);
-        schemas.add(SchemaDocument.Factory.parse(stubborn));
-      } else {
-        if (VERBOSE) {
-          System.out.println("ignoring unknown jar entry: "+name);
-          System.out.println("  looking for "+BINDING_FILE_JARENTRY+" or "+
-                             SCHEMA_DIR_JARENTRY);
-        }
-      }
-      jin.closeEntry();
-    }
-    if (VERBOSE) System.out.println("Done reading jar entries");
-    if (bf == null) {
-      throw new IOException
-              ("resource at '"+source+
-               "' is not a tylar: it does not contain a binding file");
-    }
-    jin.close();
-    if (VERBOSE) System.out.println("Done reading jar entries");
-    SchemaTypeSystem sts = null;
-    if (stsName != null && source != null) {
-      {
-        try {
-          URLClassLoader ucl = new URLClassLoader(new URL[] {source.toURL()});
-          sts = SchemaTypeSystemImpl.forName(stsName,ucl);
-          if (sts == null) throw new IllegalStateException("null returned by SchemaTypeSystemImpl.forName()");
-          if (VERBOSE) System.out.println("successfully loaded schema type system");
-        } catch(Exception e) {
-          ExplodedTylarImpl.showXsbError(e,source,"read",TylarConstants.SHOW_XSB_ERRORS);
-        }
-      }
-    }
-    return new TylarImpl((source == null) ? null : new URL[]{source.toURL()},
-                         bf,schemas,sts);
-  }
-  // ========================================================================
-  // Private methods
-
-  /**
-   * Canonicalizes the given zip entry path so that we can look for what
-   * we want without having to worry about different slashes or
-   * leading slashes or anything else that can go wrong.
-   */
-  private static final String normalizeEntryName(String name) {
-    name = name.trim();
-    for(int i=0; i<OTHER_SEPCHARS.length; i++) {
-      name = name.replace(OTHER_SEPCHARS[i],SEPCHAR);
-    }
-    if (name.charAt(0) == SEPCHAR) name = name.substring(1);
-    return name;
-  }
-
-
-  /**
-   * This is another hack around what I believe is an xbeans bug - it
-   * closes the stream on us.  When we're reading out of a jar, we want
-   * to parse a whole bunch of files from the same stream - this class
-   * just intercepts the close() call and ignores it until we call
-   * reallyClose().
-   */
-  private static class StubbornInputStream extends FilterInputStream {
-
-    StubbornInputStream(InputStream in) { super(in); }
-
-    public void close() {}
-
-    public void reallyClose() throws IOException {
-      super.close();
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  /**
-   * Loads a Tylar directly from the stream. given jar file.  This method
-   * parses all of the tylar's binding artifacts; if it doesn't throw an
-   * exception, you can be sure that the tylars binding files and schemas are
-   * valid.
-   *
-   * @param jin input stream on the jar file.  This should NOT be a
-   * JarInputStream
-   * @param source uri from which the tylar was retrieved.  This is used
-   * for informational purposes only and is not required.
-   * @return Handle to the tylar
-   * @throws IOException
-
-  protected static Tylar loadFromJar(JarInputStream jin, URI source)
-          throws IOException, XmlException
-  {
-    if (jin == null) throw new IllegalArgumentException("null stream");
-    //FIXME in the case where sourceURI is null, we could look in the
-    //manifest or someplace to try to get at least some useful information
-    JarEntry entry;
-    BindingFile bf = null;
-    Collection schemas = null;
-    StubbornInputStream stubborn = new StubbornInputStream(jin);
-    String stsName = null;
-    while ((entry = jin.getNextJarEntry()) != null) {
-      String name = normalizeEntryName(entry.getName());
-      if (name.endsWith(""+SEPCHAR)) {
-        if (name.startsWith(STS_PREFIX) &&
-          name.length() > STS_PREFIX.length()) {
-          // the name of the sts is the name of the only directory under
-          // schema/system
-          stsName = STS_PACKAGE+"."+name.substring(STS_PREFIX.length(),name.length()-1);
-          if (VERBOSE) System.out.println("sts name is "+stsName);
-        }
-        continue;
-      }
-      name = name.toLowerCase();
-      if (name.equals(BINDING_FILE_JARENTRY)) {
-        if (VERBOSE) System.out.println("parsing binding file "+name);
-        bf = BindingFile.forDoc(BindingConfigDocument.Factory.parse(stubborn));
-      } else if (name.startsWith(SCHEMA_DIR_JARENTRY) &&
-              name.endsWith(SCHEMA_EXT)) {
-        if (schemas == null) schemas = new ArrayList();
-        if (VERBOSE) System.out.println("parsing schema "+name);
-        schemas.add(SchemaDocument.Factory.parse(stubborn));
-      } else {
-        if (VERBOSE) {
-          System.out.println("ignoring unknown jar entry: "+name);
-          System.out.println("  looking for "+BINDING_FILE_JARENTRY+" or "+
-                             SCHEMA_DIR_JARENTRY);
-        }
-      }
-      jin.closeEntry();
-    }
-    if (VERBOSE) System.out.println("Done reading jar entries");
-    if (bf == null) {
-      throw new IOException
-              ("resource at '"+source+
-               "' is not a tylar: it does not contain a binding file");
-    }
-    jin.close();
-    if (VERBOSE) System.out.println("Done reading jar entries");
-    SchemaTypeSystem sts = null;
-    if (stsName != null && source != null) {
-      {
-        try {
-          URLClassLoader ucl = new URLClassLoader(new URL[] {source.toURL()});
-          sts = SchemaTypeSystemImpl.forName(stsName,ucl);
-          if (sts == null) throw new IllegalStateException("null returned by SchemaTypeSystemImpl.forName()");
-          if (VERBOSE) System.out.println("successfully loaded schema type system");
-        } catch(Exception e) {
-          ExplodedTylarImpl.showXsbError(e,source,"read",TylarConstants.SHOW_XSB_ERRORS);
-        }
-      }
-    }
-    return new TylarImpl(source,bf,schemas,sts);
-  }
-   */
-
-  // ========================================================================
-  // Private methods
-/*
-  private static Tylar load(ClassLoader loader,
-                            String stsName,
-                            String[] xsds,
-                            URI source)
-    throws XmlException, IOException
-  {
-    SchemaTypeSystem sts = null;
-    BindingFile bf = null;
-    {
-      InputStream in = loader.getResourceAsStream(BINDING_FILE_JARENTRY);
-      bf = BindingFile.forDoc(BindingConfigDocument.Factory.parse(in));
-    }
-    if (stsName != null) {
-      try {
-      sts = SchemaTypeSystemImpl.forName(stsName,loader);
-      } catch(Exception e) {
-        ExplodedTylarImpl.showXsbError(e,source,"read",TylarConstants.SHOW_XSB_ERRORS);
-      }
-    }
-    if (sts == null) {
-
-    }
-
-
-
-  }
-  */
-
-  /**
-   * Canonicalizes the given zip entry path so that we can look for what
-   * we want without having to worry about different slashes or
-   * leading slashes or anything else that can go wrong.
-
-  private static final String normalizeEntryName(String name) {
-    name = name.trim();
-    for(int i=0; i<OTHER_SEPCHARS.length; i++) {
-      name = name.replace(OTHER_SEPCHARS[i],SEPCHAR);
-    }
-    if (name.charAt(0) == SEPCHAR) name = name.substring(1);
-    return name;
-  }
-   */
-
-  /**
-   * This is another hack around what I believe is an xbeans bug - it
-   * closes the stream on us.  When we're reading out of a jar, we want
-   * to parse a whole bunch of files from the same stream - this class
-   * just intercepts the close() call and ignores it until we call
-   * reallyClose().
-
-  private static class StubbornInputStream extends FilterInputStream {
-
-    StubbornInputStream(InputStream in) { super(in); }
-
-    public void close() {}
-
-    public void reallyClose() throws IOException {
-      super.close();
-    }
-  }
-   */
-  /**
-   * Grab the contents of the current entry and stuffs them into a string -
-   * sometimes useful for debugging.
-   */
-  /*
-  private static String getEntryContents(JarInputStream in) throws IOException {
-  StringWriter output = new StringWriter();
-  byte[] buffer = new byte[2056];
-  int count = 0;
-  while ((count = in.read(buffer, 0, buffer.length)) != -1) {
-  output.write(new String(buffer, 0, count));
-  }
-  if (VERBOSE) {
-  System.out.println("=== ENTRY CONTENTS ===");
-  System.out.println(output.toString());
-  System.out.println("=== ENTRY CONTENTS ===");
-  }
-  return output.toString();
-  }
-  */
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylar.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylar.java
deleted file mode 100644
index 8c04d91..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylar.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * An extension of Tylar which is known to exist as an open directory
- * structure.  This is useful for consumers who may need additional control
- * over the generated artifacts, e.g. to manually perform compilation of
- * generated java source files.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface ExplodedTylar extends Tylar {
-
-  // ========================================================================
-  // Public methods - these services are the 'value add' we provide over
-  // just a generic Tylar.
-
-  /**
-   * Returns the directory on disk in which the tylar is stored.  Never
-   * returns null.
-   */
-  public File getRootDir();
-
-  /**
-   * Returns the directory in which generated source files are stored in
-   * the tylar.
-   */
-  public File getSourceDir();
-
-  /**
-   * Returns the directory in which generated class files are stored in
-   * the tylar.  (Note that this typically is the same as the root dir).
-   */
-  public File getClassDir();
-
-  /**
-   * Returns the directory in which generated schema files are stored in
-   * the tylar.
-   */
-  public File getSchemaDir();
-
-
-  /**
-   * Jars up the exploded tylar directory into the given file and returns
-   * a handle to the TylarImpl.  The main advantage of using this method
-   * as opposed to jarring it yourself is that you will save you the cost of
-   * reparsing the binding file and the schemas in the event that you want to
-   * immediately hand the tylar to the runtime.
-   *
-   * @param jarfile Destination file for the new jar
-   * @return A handle to the newly-created tylar
-   * @throws java.io.IOException if the specified jarfile already exists or if
-   * an error occurs while writing the file.
-   */
-  public Tylar toJar(File jarfile) throws IOException;
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylarImpl.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylarImpl.java
deleted file mode 100644
index 41346bd..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylarImpl.java
+++ /dev/null
@@ -1,402 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.FileReader;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.Collection;
-import org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.joust.FileWriterFactory;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.SourceJavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.ValidatingJavaOutputStream;
-import org.apache.xmlbeans.impl.common.JarHelper;
-import org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl;
-import org.apache.xmlbeans.impl.tool.SchemaCodeGenerator;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-/**
- * Concrete implementation of ExplodedTylar - a tylar which exists in an open
- * directory structure on disk.  Note that this class also implements
- * TylarWriter, which allows the compile time to build up the tylar files
- * and then hand them directly to the runtime if desired.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class ExplodedTylarImpl extends BaseTylarImpl
-        implements TylarConstants, ExplodedTylar, TylarWriter {
-
-  // ========================================================================
-  // Constants
-
-  private static final int XML_INDENT = 2;
-  private static final boolean VERBOSE = false;
-
-  // ========================================================================
-  // Variables
-
-  private File mRootDir;
-  private File mSourceRoot;
-  private File mSchemaDir;
-  private BindingFile mBindingFile = null;
-  private JavaOutputStream mJoust = null;
-  private Collection mSchemaDocuments = null;
-  private SchemaTypeSystem mSchemaTypeSystem = null;
-
-  // ========================================================================
-  // Factory methods
-
-  /**
-   * Creates a new tylar from the given directory.  The directory must exist
-   * or be creatable.  The default JavaOutputStream will be used for output.
-   */
-  public static ExplodedTylarImpl create(File dir) throws IOException {
-    return create(dir, createDefaultJoust(dir));
-  }
-
-  /**
-   * Loads a tylar from the given directory.  The directory must exist
-   * and contain at least a binding file.  The default JavaOutputStream
-   * will be used for output.
-   */
-  public static ExplodedTylarImpl load(File dir)
-          throws IOException, XmlException {
-    return load(dir, createDefaultJoust(dir));
-  }
-
-  /**
-   * Creates a new tylar from the given directory.  The directory must exist
-   * or be creatable.
-   */
-  public static ExplodedTylarImpl create(File dir, JavaOutputStream joust)
-          throws IOException {
-    if (dir.exists()) {
-      if (dir.isFile()) throw new IOException("Already a file at " + dir);
-    } else {
-      if (!dir.mkdirs()) throw new IOException("Failed to create " + dir);
-    }
-    return new ExplodedTylarImpl(dir, null, null, null, joust);
-  }
-
-  /**
-   * Loads a tylar from the given directory.  The directory must exist
-   * and contain at least a binding file.
-   */
-  public static ExplodedTylarImpl load(File dir, JavaOutputStream joust)
-          throws IOException, XmlException {
-    if (dir.exists()) {
-      if (dir.isFile()) throw new IOException(dir + " is a file");
-    } else {
-      throw new IOException("No such directory " + dir);
-    }
-    BindingFile bf = parseBindingFile(new File(dir, BINDING_FILE));
-    Collection schemas = new ArrayList();
-    parseSchemas(new File(dir, SCHEMA_DIR), schemas);
-    SchemaTypeSystem sts = null;
-    {
-      //try to read the xsbs.  first we need to figure out the sts name.
-      try {
-        File stsDir = new File(dir, "schema"+SEP+"system");
-        String stsName = stsDir.list()[0];
-        ClassLoader cl = new URLClassLoader(new URL[]{dir.toURL()});
-        sts = SchemaTypeSystemImpl.forName(STS_PACKAGE+"."+stsName,cl);
-        if (sts == null) throw new IllegalStateException("null returned by SchemaTypeSystemImpl.forName()");
-        if (VERBOSE) System.out.println
-          ("[XBEANS] loaded schema type system '"+stsName+"'");
-      } catch(Exception e) {
-        showXsbError(e,dir.toURI(),"read",TylarConstants.SHOW_XSB_ERRORS);
-      }
-    }
-
-    return new ExplodedTylarImpl(dir, bf, schemas, sts, joust);
-  }
-
-  // ========================================================================
-  // Constructors
-
-  /**
-   * Constructs a new ExplodedTylarImpl in the given directory and using
-   * the given JavaOutputStream.
-   */
-  private ExplodedTylarImpl(File dir, // must exist
-                            BindingFile bindingFile, // null ok
-                            Collection schemas, // null ok,
-                            SchemaTypeSystem sts, // null ok
-                            JavaOutputStream joust)    // null ok
-  {
-    mRootDir = dir;
-    mSourceRoot = new File(mRootDir, SRC_ROOT);
-    mSchemaDir = new File(mRootDir, SCHEMA_DIR);
-    mJoust = joust;
-    mBindingFile = bindingFile;
-    mSchemaDocuments = schemas;
-    mSchemaTypeSystem = sts;
-  }
-
-
-  // ========================================================================
-  // TylarWriter implementation
-
-  public void writeBindingFile(BindingFile bf) throws IOException {
-    mBindingFile = bf;
-    writeBindingFile(bf, new File(mRootDir, BINDING_FILE));
-  }
-
-  public void writeSchema(SchemaDocument xsd, String schemaFileName)
-          throws IOException {
-    if (schemaFileName == null) {
-      throw new IllegalArgumentException("null schemaFileName");
-    }
-    if (mSchemaDocuments == null) mSchemaDocuments = new ArrayList();
-    mSchemaDocuments.add(xsd);
-    writeXsd(xsd, new File(mSchemaDir, schemaFileName));
-  }
-
-  public void writeSchemaTypeSystem(SchemaTypeSystem sts) throws IOException {
-    if (sts == null) throw new IllegalArgumentException("null sts");
-    mSchemaTypeSystem = sts;
-    try {
-      SchemaCodeGenerator.saveTypeSystem(sts,
-                                         mRootDir,
-                                         null,null,null);
-    } catch(Exception e) {
-      showXsbError(e,mRootDir.toURI(),"write",TylarConstants.SHOW_XSB_ERRORS);
-    }
-  }
-
-  public JavaOutputStream getJavaOutputStream() {
-    return mJoust;
-  }
-
-  public void close() throws IOException {
-    if (mJoust != null) mJoust.close();
-  }
-
-
-  // ========================================================================
-  // Public static methods
-
-  public static void showXsbError(Throwable e,
-                                  URI where,
-                                  String readOrWrite,
-                                  boolean showTrace)
-  {
-    System.out.println
-      ("[XBEANS] Notice: an unexpected error occurred while trying to\n "+
-       readOrWrite+" a binary version of your schemas"+
-       ((where == null) ? "." : " at\n"+where+"\n")+
-       "\nYour bindings are ok, but you may suffer some performance\n" +
-       "degradation if your schemas are very large or complicated.\n"+
-       "(exception is "+e.getClass()+", message is '"+e.getMessage()+"'");
-    if (showTrace) e.printStackTrace();
-    System.out.flush();
-  }
-
-  // ========================================================================
-  // Tylar implementation
-
-  public BindingFile[] getBindingFiles() {
-    return new BindingFile[] {mBindingFile};
-  }
-
-  public SchemaDocument[] getSchemas() {
-    if (mSchemaDocuments == null) return new SchemaDocument[0];
-    SchemaDocument[] out = new SchemaDocument[mSchemaDocuments.size()];
-    mSchemaDocuments.toArray(out);
-    return out;
-  }
-
-  public SchemaTypeLoader getSchemaTypeLoader() throws IOException, XmlException {
-    if (mSchemaTypeSystem == null) {
-      mSchemaTypeSystem = getDefaultSchemaTypeSystem();
-    }
-    return mSchemaTypeSystem;
-  }
-
-  //not sure we ever need this
-  public void resetCaches() {
-    mSchemaDocuments = null;
-    mBindingFile = null;
-  }
-
-  // ========================================================================
-  // ExplodedTylar implementation
-
-  /**
-   * Returns the directory on disk in which the tylar is stored.  Never
-   * returns null.
-   */
-  public File getRootDir() {
-    return mRootDir;
-  }
-
-  public Tylar toJar(File jarfile) throws IOException {
-    JarHelper j = new JarHelper();
-    jarfile.getParentFile().mkdirs(); //make sure the path exists
-    j.jarDir(mRootDir,jarfile);
-    return new TylarImpl(new URL[]{jarfile.toURL()},mBindingFile,mSchemaDocuments);
-  }
-
-  public File getSourceDir() {
-    return mSourceRoot;
-  }
-
-  public File getClassDir() {
-    return mRootDir;
-  }
-
-  public File getSchemaDir() {
-    return mSchemaDir;
-  }
-
-  public ClassLoader createClassLoader(ClassLoader parent) {
-    try {
-      return new URLClassLoader(new URL[] {mRootDir.toURL()},parent);
-    } catch(MalformedURLException mue){
-      throw new RuntimeException(mue); //FIXME this is bad
-    }
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private static JavaOutputStream createDefaultJoust(File dir) {
-    File srcDir = new File(dir,TylarConstants.SRC_ROOT);
-    return new ValidatingJavaOutputStream
-            (new SourceJavaOutputStream(new FileWriterFactory(srcDir)));
-  }
-
-  private static SchemaTypeSystem buildSts(Collection xsds)
-    throws XmlException
-  {
-    SchemaDocument[] x = new SchemaDocument[xsds.size()];
-    xsds.toArray(x);
-    return XmlBeans.compileXsd(x,XmlBeans.getBuiltinTypeSystem(),null);
-  }
-
-  private static void parseSchemas(File schemaDir, Collection out)
-          throws IOException, XmlException {
-    File[] xsds = schemaDir.listFiles();
-    if (xsds != null) {
-      for (int i = 0; i < xsds.length; i++) {
-        if (VERBOSE) System.out.println("parsing "+xsds[i]);
-        out.add(parseXsd(xsds[i]));
-      }
-    }
-  }
-
-  private static SchemaDocument parseXsd(File file)
-          throws IOException, XmlException {
-    FileReader in = null;
-    try {
-      in = new FileReader(file);
-      return SchemaDocument.Factory.parse(in);
-    } catch (IOException ioe) {
-      throw ioe;
-    } catch (XmlException xe) {
-      throw xe;
-    } finally {
-      if (in != null) {
-        try {
-          in.close();
-        } catch (Exception ohwell) {
-          ohwell.printStackTrace();
-        }
-      }
-    }
-  }
-
-  private static void writeXsd(SchemaDocument xsd, File file)
-          throws IOException {
-    FileOutputStream out = null;
-    try {
-      file.getParentFile().mkdirs();
-      out = new FileOutputStream(file);
-      xsd.save(out,
-               new XmlOptions().setSavePrettyPrint().
-               setSavePrettyPrintIndent(XML_INDENT));
-    } catch (IOException ioe) {
-      throw ioe;
-    } finally {
-      if (out != null) {
-        try {
-          out.close();
-        } catch (Exception ohwell) {
-          ohwell.printStackTrace();
-        }
-      }
-    }
-  }
-
-  private static BindingFile parseBindingFile(File file)
-          throws IOException, XmlException {
-    FileReader in = null;
-    try {
-      in = new FileReader(file);
-      return BindingFile.forDoc(BindingConfigDocument.Factory.parse(in));
-    } catch (IOException ioe) {
-      throw ioe;
-    } catch (XmlException xe) {
-      throw xe;
-    } finally {
-      if (in != null) {
-        try {
-          in.close();
-        } catch (Exception ohwell) {
-          ohwell.printStackTrace();
-        }
-      }
-    }
-  }
-
-  private static void writeBindingFile(BindingFile bf, File file)
-          throws IOException {
-    FileWriter out = null;
-    try {
-      file.getParentFile().mkdirs();
-      out = new FileWriter(file);
-      BindingConfigDocument doc = bf.write();
-      doc.save(out,
-               new XmlOptions().setSavePrettyPrint().
-               setSavePrettyPrintIndent(XML_INDENT));
-      out.flush();
-    } catch (IOException ioe) {
-      throw ioe;
-    } finally {
-      if (out != null) {
-        try {
-          out.close();
-        } catch (Exception ohwell) {
-          ohwell.printStackTrace();
-        }
-      }
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/RuntimeTylar.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/RuntimeTylar.java
deleted file mode 100644
index d25456c..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/RuntimeTylar.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.CompositeBindingLoader;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import java.net.URI;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringWriter;
-import java.util.Enumeration;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * <p>An implementation of the Tylar interface which is designed to be used
- * at runtime (i.e. by the Un/Marshallers).  This implementation is as
- * possible about loading resources from a given classloader.  Note that it
- * is strictly read-only; a RuntimeTylar subclass should not try to also
- * implement TylarWriter.</p>
- *
- * <p>RuntimeTylar is optimized for the case where getSchemas() and
- * getBindingFiles() never get called, which is typical of the runtime
- * scenario.  Implementing these methods requires being able to scan the
- * contents of a given directory in the resource path, something not provided
- * by ClassLoader; here, that ability is delegated to subclasses who must
- * implement the abstract method listResourcesInPath().</p>
- *
- * @author Patrick Calahan &lt;email: pcal-at-bea-dot-com&gt;
- */
-public class RuntimeTylar implements Tylar, TylarConstants {
-
-  // ========================================================================
-  // Variables
-
-  private ClassLoader mClassLoader = null;
-  private String mDescription = null;
-  private URL[] mLocations = null;
-  private BindingFile[] mBindingFiles = null;
-  private SchemaTypeLoader mSchemaTypeLoader = null;
-  private BindingLoader mBindingLoader = null;
-  private JamClassLoader mJamClassLoader = null;
-
-  // ========================================================================
-  // Constructors
-
-  /*package*/ RuntimeTylar(ClassLoader loader) throws IOException {
-    if (loader == null) throw new IllegalArgumentException("null loader");
-    sanityCheck(loader);
-    mClassLoader = loader;
-    mLocations = new URL[0];
-    mDescription = "loaded from "+loader.toString();
-
-  }
-
-
-  /*package*/ RuntimeTylar(ClassLoader loader, URL[] locs)
-    throws IOException
-  {
-    if (loader == null) throw new IllegalArgumentException("null loader");
-    sanityCheck(loader);
-    if (locs == null) throw new IllegalArgumentException("null locs");
-    mClassLoader = loader;
-    mLocations = locs;
-    mDescription = "loaded from "+locs;
-  }
-
-  // ========================================================================
-  // Tylar implementation
-
-  public String getDescription() { return mDescription; }
-
-  public URL[] getLocations() { return mLocations; }
-
-  public URL getLocation() { return null; }
-
-  public BindingLoader getBindingLoader() /*throws IOException, XmlException*/ {
-try {
-    if (mBindingLoader == null) {
-      BindingFile[] bfs = getBindingFiles();
-      BindingLoader[] loaders = new BindingLoader[bfs.length+1];
-      System.arraycopy(bfs,0,loaders,0,bfs.length);
-      loaders[loaders.length-1] = BuiltinBindingLoader.getBuiltinBindingLoader(false);
-      mBindingLoader = CompositeBindingLoader.forPath(loaders);
-    }
-    return mBindingLoader;
-} catch(Exception e) { throw new RuntimeException(e); }
-  }
-
-  public BindingFile[] getBindingFiles() /*throws IOException, XmlException*/ {
-try {
-    if (mBindingFiles == null) {
-      List list = new ArrayList();
-      Enumeration urls = mClassLoader.getResources(BINDING_FILE);
-      while(urls.hasMoreElements()) {
-        URL next = (URL)urls.nextElement();
-        InputStream in = null;
-        try {
-          in = next.openStream();
-          list.add(BindingFile.forDoc(BindingConfigDocument.Factory.parse(in)));
-        } catch(IOException ioe) {
-          throw ioe;
-        } finally {
-          if (in != null) in.close();
-        }
-      }
-      mBindingFiles = new BindingFile[list.size()];
-      list.toArray(mBindingFiles);
-    }
-    return mBindingFiles;
-} catch(Exception e) { throw new RuntimeException(e); } //FIXME
-  }
-
-  public SchemaDocument[] getSchemas() {
-    // if we ever need to implement this, we should probably do it by
-    // adding an index file to the schema dir that we can read to see what
-    // schema files are out there.  don't think this should ever be needed,
-    // though.
-    throw new UnsupportedOperationException
-      ("SchemaDocuments cannot be retrieved at runtime.");
-  }
-
-  public SchemaTypeLoader getSchemaTypeLoader() {
-    if (mSchemaTypeLoader == null) {
-      mSchemaTypeLoader= SchemaTypeLoaderImpl.build
-        (new SchemaTypeLoader[] { BuiltinSchemaTypeSystem.get() } ,
-         null,
-         mClassLoader);
-    }
-    return mSchemaTypeLoader;
-  }
-
-  public JamClassLoader getJamClassLoader() {
-    if (mJamClassLoader == null) {
-     mJamClassLoader =
-       JamServiceFactory.getInstance().createJamClassLoader(mClassLoader);
-    }
-    return mJamClassLoader;
-  }
-
-  // ========================================================================
-  // Private
-
-  private static void sanityCheck(ClassLoader cl) throws IOException {
-    Enumeration urls = cl.getResources(BINDING_FILE);
-    if (urls == null || !urls.hasMoreElements()) {
-      StringWriter msg = new StringWriter();
-      msg.write("The given classloader does not contain any xbean binding\n" +
-                "files ("+BINDING_FILE+"\n");
-      if (cl instanceof URLClassLoader) {
-        msg.write("URLClassLoader path:");
-        URL[] cl_urls = ((URLClassLoader)cl).getURLs();
-        for(int i=0; i<cl_urls.length; i++) {
-          msg.write(cl_urls[i].toString());
-          msg.write("\n");
-        }
-      } else {
-        msg.write(cl.getClass().toString());
-      }
-      throw new IOException(msg.toString());
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/Tylar.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/Tylar.java
deleted file mode 100644
index b13dd00..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/Tylar.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.net.URL;
-import java.io.IOException;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-/**
- * Abstract representation of a type library archive.  This is the interface
- * which is used by the binding runtime for retrieving information about a
- * tylar.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface Tylar {
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Returns the binding files contained in this Tylar.
-   */
-  public BindingFile[] getBindingFiles() /*throws IOException, XmlException*/;
-
-  /**
-   * Returns the schema documents contained in this Tylar.  Note that this
-   * is an optional operation; Tylars used at runtime (i.e. created by
-   * a TylarLoader) will typically throw UnsupportedOperationException
-   * in the implementation of this method.
-   */
-  public SchemaDocument[] getSchemas() /*throws IOException, XmlException*/;
-
-  /**
-   * Returns a BindingLoader for the bindings in this tylar.  This is really
-   * just a convenience method; it simply returns a composite of the binding
-   * files returned by getBindingFiles() plus the BuiltinBindingLoader.
-   */
-  public BindingLoader getBindingLoader() /*throws IOException, XmlException*/;
-
-  /**
-   * Returns a BindingLoader for the bindings in this tylar.  This is really
-   * just a convenience method; it simply returns a the schema type system
-   * that results from compiling all of the schemas returned by getSchemas()
-   * plus the BuiltinSchemaTypeSystem.
-   */
-  public SchemaTypeLoader getSchemaTypeLoader() throws IOException, XmlException;
-
-
-  /**
-   * Returns a JClassLoader which can be used to load descriptions of the
-   * java types contained in this tylar.
-   */
-  public JamClassLoader getJamClassLoader();
-
-
-  /**
-   * Returns a short textual description of this tylar.  This is primarily
-   * useful for logging and debugging.
-   */
-  public String getDescription();
-
-  /**
-   * Returns an array of URLs describing where the tylar resources are being
-   * loaded from.  This is generally only useful for debugging purposes.
-   * This method may return null.
-   */
-  public URL[] getLocations();
-
-  /**
-   * @deprecated
-   */ 
-  public URL getLocation();
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarConstants.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarConstants.java
deleted file mode 100644
index ab69950..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarConstants.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.File;
-
-/**
- * These constants describe the physical structure of the tylar archive.
- * The values are subject to change at any time and should not be used
- * outside of this package.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface TylarConstants {
-
-  // ========================================================================
-  // Constants
-
-  public static final char SEP = '/';
-
-  public static final String SRC_ROOT     = "META-INF"+SEP+"src";
-  public static final String BINDING_FILE = "META-INF"+SEP+"binding-file.xml";
-  public static final String SCHEMA_DIR   = "META-INF"+SEP+"schemas";
-
-  public static final String STS_PACKAGE  = "schema.system";
-
-
-  public static final boolean SHOW_XSB_ERRORS = false;
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarImpl.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarImpl.java
deleted file mode 100644
index af3d2e7..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarImpl.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.Collection;
-import java.util.ArrayList;
-import java.io.IOException;
-
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-/**
- * @deprecated phasing this out in favor of RuntimeTylar and BuildtimeTylar.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class TylarImpl extends BaseTylarImpl implements Tylar, TylarWriter {
-
-  // ========================================================================
-  // Variables
-
-  private URL[] mLocations;
-  private BindingFile mBindingFile = null;
-  private Collection mSchemas = null;
-  private SchemaTypeSystem mSts = null;
-
-  // ========================================================================
-  // Constructors
-
-  public TylarImpl() {}
-
-
-  /**
-   * @param locations source uri or null
-   * @param bf the binding file
-   * @param schemas the schemas
-   * @param sts schema type system (or null)
-   */
-  public TylarImpl(URL[] locations,
-                   BindingFile bf,
-                   Collection schemas,
-                   SchemaTypeSystem sts)
-  {
-    mLocations = locations;
-    mBindingFile = bf;
-    mSchemas = schemas;
-    mSts = sts;
-  }
-
-  // ========================================================================
-  // Tylar implementation
-
-  public BindingFile[] getBindingFiles() {
-    return new BindingFile[] {mBindingFile};
-  }
-
-  public SchemaDocument[] getSchemas() {
-    if (mSchemas == null) return new SchemaDocument[0];
-    SchemaDocument[] out = new SchemaDocument[mSchemas.size()];
-    mSchemas.toArray(out);
-    return out;
-  }
-
-  public SchemaTypeLoader getSchemaTypeLoader() throws IOException, XmlException {
-    if (mSts == null) {
-      mSts = getDefaultSchemaTypeSystem();
-    }
-    return mSts;
-  }
-
-  public URL[] getLocations() {
-    return mLocations;
-  }
-
-  // ========================================================================
-  // TylarWriter implementation
-  //
-  //  This is useful in the case where we want to build up an in-memory tylar
-  //  that does not need to be persisted.
-
-  public void writeBindingFile(BindingFile bf) {
-    mBindingFile = bf;
-  }
-
-  public void writeSchema(SchemaDocument xsd, String path) {
-    if (mSchemas == null) mSchemas = new ArrayList();
-    mSchemas.add(xsd);
-  }
-
-  public void writeSchemaTypeSystem(SchemaTypeSystem sts) {
-    mSts = sts;
-  }
-
-  public JavaOutputStream getJavaOutputStream() {
-    throw new UnsupportedOperationException
-            ("In-memory tylar does not support java code generation.");
-  }
-
-  public void close() {}
-
-  // ========================================================================
-  // Deprecated methods
-  
-  /**
-   * @deprecated
-   */
-  public TylarImpl(URL[] sourceUrls,
-                   BindingFile bf,
-                   Collection schemas)
-  {
-    this(sourceUrls,bf,schemas,null);
-  }
-
-}
\ No newline at end of file
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarLoader.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarLoader.java
deleted file mode 100644
index 952c0b6..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarLoader.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URI;
-
-import org.apache.xmlbeans.XmlException;
-
-/**
- * Abstraction which can load a tylar from some location specified in a
- * URI.
- *
- * @author Patrick Calaham <pcal@bea.com>
- */
-public interface TylarLoader {
-
-  /**
-   * Loads a single tylar out of the given ClassLoader.
-   *
-   * @param cl ClassLoader from which to load the tylar
-   * @return
-   * @throws IOException if an i/o error occurs while processing
-   * @throws XmlException if an error occurs parsing the contents of the tylar.
-   */
-  public Tylar load(ClassLoader cl) throws IOException, XmlException;
-
-  /**
-   * @deprecated
-   */
-  public Tylar load(URI uri) throws IOException, XmlException;
-
-}
diff --git a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarWriter.java b/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarWriter.java
deleted file mode 100644
index f2c4401..0000000
--- a/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/TylarWriter.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.binding.tylar;
-
-import java.io.IOException;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-/**
- * Interface which is used at compile time for building a tylar.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public interface TylarWriter {
-
-  /**
-   * Writes the given BindingFile into the tylar.
-   *
-   * @param bf The binding file
-   * @throws IOException
-   */
-  public void writeBindingFile(BindingFile bf) throws IOException;
-
-  /**
-   * Writes the given schema into the tylar.
-   *
-   * @param xsd  The schema
-   * @param filepath Path relative to the 'schemas' directory of the tylar
-   * @throws IOException
-   */
-  public void writeSchema(SchemaDocument xsd, String filepath) throws IOException;
-
-  /**
-   * Writes the given schema type system into the tylar in a binary format.
-   * Note that this functionality is completely independent of writeSchema() -
-   * if you want both, you need to write them separately.
-   *
-   * @param sts  The schema type system to write.
-   */
-  public void writeSchemaTypeSystem(SchemaTypeSystem sts) throws IOException;
-
-  /**
-   * Returns the JavaOutputStream which should be used for creating new java
-   * code to be stored in this tylar.  Note that the caller should never
-   * close this stream directly; it will be closed by TylarWriter.close();
-   * This method may return null, indicating the output does not support
-   * java code generation.
-   */
-  public JavaOutputStream getJavaOutputStream();
-
-  /**
-   * Should be exactly once called when the tylar is complete.  This signals
-   * the implementation that any outstanding files should be flushed to disk,
-   * for example.  It also signals that the JavaOutputStream associated with
-   * this tylar should be closed (which in some cases may trigger compilation
-   * of java sources).
-   */
-  public void close() throws IOException;
-
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/ConcurrentReaderHashMap.java b/v2/src/common/org/apache/xmlbeans/impl/common/ConcurrentReaderHashMap.java
deleted file mode 100644
index 3e3a3e4..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/ConcurrentReaderHashMap.java
+++ /dev/null
@@ -1,1287 +0,0 @@
-/*   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.
- */
-
-/*
-  File: ConcurrentReaderHashMap
-
-  Written by Doug Lea. Adapted and released, under explicit
-  permission, from JDK1.2 HashMap.java and Hashtable.java which
-  carries the following copyright:
-
-     * Copyright 1997 by Sun Microsystems, Inc.,
-     * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
-     * All rights reserved.
-     *
-     * This software is the confidential and proprietary information
-     * of Sun Microsystems, Inc. ("Confidential Information").  You
-     * shall not disclose such Confidential Information and shall use
-     * it only in accordance with the terms of the license agreement
-     * you entered into with Sun.
-
-  History:
-  Date       Who                What
-  28oct1999  dl               Created
-  14dec1999  dl               jmm snapshot
-  19apr2000  dl               use barrierLock
-  12jan2001  dl               public release
-  17nov2001  dl               Minor tunings
-  20may2002  dl               BarrierLock can now be serialized.
-  09dec2002  dl               Fix interference checks.
-*/
-
-//package EDU.oswego.cs.dl.util.concurrent;
-package org.apache.xmlbeans.impl.common;
-
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.AbstractCollection;
-import java.util.AbstractMap;
-import java.util.AbstractSet;
-import java.util.Collection;
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.NoSuchElementException;
-import java.util.Set;
-
-
-/**
- * A version of Hashtable that supports mostly-concurrent reading, but
- * exclusive writing.  Because reads are not limited to periods
- * without writes, a concurrent reader policy is weaker than a classic
- * reader/output policy, but is generally faster and allows more
- * concurrency. This class is a good choice especially for tables that
- * are mainly created by one thread during the start-up phase of a
- * program, and from then on, are mainly read (with perhaps occasional
- * additions or removals) in many threads.  If you also need concurrency
- * among writes, consider instead using ConcurrentHashMap.
- * <p>
- *
- * Successful retrievals using get(key) and containsKey(key) usually
- * run without locking. Unsuccessful ones (i.e., when the key is not
- * present) do involve brief synchronization (locking).  Also, the
- * size and isEmpty methods are always synchronized.
- *
- * <p> Because retrieval operations can ordinarily overlap with
- * writing operations (i.e., put, remove, and their derivatives),
- * retrievals can only be guaranteed to return the results of the most
- * recently <em>completed</em> operations holding upon their
- * onset. Retrieval operations may or may not return results
- * reflecting in-progress writing operations.  However, the retrieval
- * operations do always return consistent results -- either those
- * holding before any single modification or after it, but never a
- * nonsense result.  For aggregate operations such as putAll and
- * clear, concurrent reads may reflect insertion or removal of only
- * some entries. In those rare contexts in which you use a hash table
- * to synchronize operations across threads (for example, to prevent
- * reads until after clears), you should either encase operations
- * in synchronized blocks, or instead use java.util.Hashtable.
- *
- * <p>
- *
- * This class also supports optional guaranteed
- * exclusive reads, simply by surrounding a call within a synchronized
- * block, as in <br> 
- * <code>ConcurrentReaderHashMap t; ... Object v; <br>
- * synchronized(t) { v = t.get(k); } </code> <br>
- *
- * But this is not usually necessary in practice. For
- * example, it is generally inefficient to write:
- *
- * <pre>
- *   ConcurrentReaderHashMap t; ...            // Inefficient version
- *   Object key; ...
- *   Object value; ...
- *   synchronized(t) { 
- *     if (!t.containsKey(key))
- *       t.put(key, value);
- *       // other code if not previously present
- *     }
- *     else {
- *       // other code if it was previously present
- *     }
- *   }
- *</pre>
- * Instead, if the values are intended to be the same in each case, just take advantage of the fact that put returns
- * null if the key was not previously present:
- * <pre>
- *   ConcurrentReaderHashMap t; ...                // Use this instead
- *   Object key; ...
- *   Object value; ...
- *   Object oldValue = t.put(key, value);
- *   if (oldValue == null) {
- *     // other code if not previously present
- *   }
- *   else {
- *     // other code if it was previously present
- *   }
- *</pre>
- * <p>
- *
- * Iterators and Enumerations (i.e., those returned by
- * keySet().iterator(), entrySet().iterator(), values().iterator(),
- * keys(), and elements()) return elements reflecting the state of the
- * hash table at some point at or since the creation of the
- * iterator/enumeration.  They will return at most one instance of
- * each element (via next()/nextElement()), but might or might not
- * reflect puts and removes that have been processed since they were
- * created.  They do <em>not</em> throw ConcurrentModificationException.
- * However, these iterators are designed to be used by only one
- * thread at a time. Sharing an iterator across multiple threads may
- * lead to unpredictable results if the table is being concurrently
- * modified.  Again, you can ensure interference-free iteration by
- * enclosing the iteration in a synchronized block.  <p>
- *
- * This class may be used as a direct replacement for any use of
- * java.util.Hashtable that does not depend on readers being blocked
- * during updates. Like Hashtable but unlike java.util.HashMap,
- * this class does NOT allow <tt>null</tt> to be used as a key or
- * value.  This class is also typically faster than ConcurrentHashMap
- * when there is usually only one thread updating the table, but 
- * possibly many retrieving values from it.
- * <p>
- *
- * Implementation note: A slightly faster implementation of
- * this class will be possible once planned Java Memory Model
- * revisions are in place.
- *
- * <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
-
- **/
-
-
-public class ConcurrentReaderHashMap 
-  extends AbstractMap 
-  implements Map, Cloneable, Serializable {
-
-
-  /*
-    The basic strategy is an optimistic-style scheme based on
-    the guarantee that the hash table and its lists are always
-    kept in a consistent enough state to be read without locking:
-
-    * Read operations first proceed without locking, by traversing the
-       apparently correct list of the apparently correct bin. If an
-       entry is found, but not invalidated (value field null), it is
-       returned. If not found, operations must recheck (after a memory
-       barrier) to make sure they are using both the right list and
-       the right table (which can change under resizes). If
-       invalidated, reads must acquire main update lock to wait out
-       the update, and then re-traverse.
-
-    * All list additions are at the front of each bin, making it easy
-       to check changes, and also fast to traverse.  Entry next
-       pointers are never assigned. Remove() builds new nodes when
-       necessary to preserve this.
-
-    * Remove() (also clear()) invalidates removed nodes to alert read
-       operations that they must wait out the full modifications.
- 
-  */
-
-  /** A Serializable class for barrier lock **/
-  protected static class BarrierLock implements java.io.Serializable { }
-
-  /**
-   * Lock used only for its memory effects.
-   **/
-  protected final BarrierLock barrierLock = new BarrierLock();
-
-  /**
-   * field written to only to guarantee lock ordering.
-   **/
-
-  protected transient Object lastWrite;
-
-  /**
-   * Force a memory synchronization that will cause
-   * all readers to see table. Call only when already
-   * holding main synch lock.
-   **/
-  protected final void recordModification(Object x) { 
-    synchronized(barrierLock) {
-      lastWrite = x;
-    }
-  }
-
-  /**
-   * Get ref to table; the reference and the cells it
-   * accesses will be at least as fresh as from last
-   * use of barrierLock
-   **/
-  protected final Entry[] getTableForReading() { 
-    synchronized(barrierLock) {
-      return table; 
-    }
-  }
-
-
-  /**
-   * The default initial number of table slots for this table (32).
-   * Used when not otherwise specified in constructor.
-   **/
-  public static int DEFAULT_INITIAL_CAPACITY = 32; 
-
-
-  /**
-   * The minimum capacity, used if a lower value is implicitly specified
-   * by either of the constructors with arguments.  
-   * MUST be a power of two.
-   */
-  private static final int MINIMUM_CAPACITY = 4;
-  
-  /**
-   * The maximum capacity, used if a higher value is implicitly specified
-   * by either of the constructors with arguments.
-   * MUST be a power of two <= 1<<30.
-   */
-  private static final int MAXIMUM_CAPACITY = 1 << 30;
-  
-  /**
-   * The default load factor for this table (1.0).
-   * Used when not otherwise specified in constructor.
-   **/
-
-  public static final float DEFAULT_LOAD_FACTOR = 0.75f; 
-
-
-  /**
-   * The hash table data.
-   */
-  protected transient Entry[] table;
-
-  /**
-   * The total number of mappings in the hash table.
-   */
-  protected transient int count;
-
-  /**
-   * The table is rehashed when its size exceeds this threshold.  (The
-   * value of this field is always (int)(capacity * loadFactor).)
-   *
-   * @serial
-   */
-  protected int threshold;
-
-  /**
-   * The load factor for the hash table.
-   *
-   * @serial
-   */
-  protected float loadFactor;
-
-  /**
-   * Returns the appropriate capacity (power of two) for the specified 
-   * initial capacity argument.
-   */
-  private int p2capacity(int initialCapacity) {
-    int cap = initialCapacity;
-    
-    // Compute the appropriate capacity
-    int result;
-    if (cap > MAXIMUM_CAPACITY || cap < 0) {
-      result = MAXIMUM_CAPACITY;
-    } else {
-      result = MINIMUM_CAPACITY;
-      while (result < cap)
-        result <<= 1;
-    }
-    return result;
-  }
-
-  /**
-   * Return hash code for Object x. Since we are using power-of-two
-   * tables, it is worth the effort to improve hashcode via
-   * the same multiplicative scheme as used in IdentityHashMap.
-   */
-  private static int hash(Object x) {
-    int h = x.hashCode();
-    // Multiply by 127 (quickly, via shifts), and mix in some high
-    // bits to help guard against bunching of codes that are
-    // consecutive or equally spaced.
-    return ((h << 7) - h + (h >>> 9) + (h >>> 17));
-  }
-
-  /** 
-   * Check for equality of non-null references x and y. 
-   **/
-  protected boolean eq(Object x, Object y) {
-    return x == y || x.equals(y);
-  }
-
-  /**
-   * Constructs a new, empty map with the specified initial 
-   * capacity and the specified load factor. 
-   *
-   * @param initialCapacity the initial capacity
-   *  The actual initial capacity is rounded to the nearest power of two.
-   * @param loadFactor  the load factor of the ConcurrentReaderHashMap
-   * @throws IllegalArgumentException  if the initial maximum number 
-   *               of elements is less
-   *               than zero, or if the load factor is nonpositive.
-   */
-
-  public ConcurrentReaderHashMap(int initialCapacity, float loadFactor) {
-    if (loadFactor <= 0)
-      throw new IllegalArgumentException("Illegal Load factor: "+
-                                         loadFactor);
-    this.loadFactor = loadFactor;
-
-    int cap = p2capacity(initialCapacity);
-
-    table = new Entry[cap];
-    threshold = (int)(cap * loadFactor);
-  }
-
-  /**
-   * Constructs a new, empty map with the specified initial 
-   * capacity and default load factor.
-   *
-   * @param   initialCapacity   the initial capacity of the 
-   *                            ConcurrentReaderHashMap.
-   * @throws    IllegalArgumentException if the initial maximum number 
-   *              of elements is less
-   *              than zero.
-   */
-
-  public ConcurrentReaderHashMap(int initialCapacity) {
-    this(initialCapacity, DEFAULT_LOAD_FACTOR);
-  }
-
-  /**
-   * Constructs a new, empty map with a default initial capacity
-   * and load factor.
-   */
-
-  public ConcurrentReaderHashMap() {
-    this(DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
-  }
-
-  /**
-   * Constructs a new map with the same mappings as the given map.  The
-   * map is created with a capacity of twice the number of mappings in
-   * the given map or 16 (whichever is greater), and a default load factor.
-   */
-
-  public ConcurrentReaderHashMap(Map t) {
-        this(Math.max((int) (t.size() / DEFAULT_LOAD_FACTOR) + 1, 16),
-             DEFAULT_LOAD_FACTOR);
-    putAll(t);
-  }
-
-  /**
-   * Returns the number of key-value mappings in this map.
-   *
-   * @return the number of key-value mappings in this map.
-   */
-
-  public synchronized int size() {
-    return count;
-  }
-
-  /**
-   * Returns <tt>true</tt> if this map contains no key-value mappings.
-   *
-   * @return <tt>true</tt> if this map contains no key-value mappings.
-   */
-
-  public synchronized boolean isEmpty() {
-    return count == 0;
-  }
-  
-
-
-  /**
-   * Returns the value to which the specified key is mapped in this table.
-   *
-   * @param   key   a key in the table.
-   * @return  the value to which the key is mapped in this table;
-   *          <code>null</code> if the key is not mapped to any value in
-   *          this table.
-   * @exception  NullPointerException  if the key is
-   *               <code>null</code>.
-   * @see     #put(Object, Object)
-   */
-  
-
-  public Object get(Object key) {
-
-    // throw null pointer exception if key null
-    int hash = hash(key);
-
-    /* 
-       Start off at the apparently correct bin.  If entry is found, we
-       need to check after a barrier anyway.  If not found, we need a
-       barrier to check if we are actually in right bin. So either
-       way, we encounter only one barrier unless we need to retry.
-       And we only need to fully synchronize if there have been
-       concurrent modifications.
-    */
-
-    Entry[] tab = table;
-    int index = hash & (tab.length - 1);
-    Entry first = tab[index];
-    Entry e = first;
-
-    for (;;) {
-      if (e == null) {
-
-        // If key apparently not there, check to
-        // make sure this was a valid read
-
-        Entry[] reread = getTableForReading();
-        if (tab == reread && first == tab[index])
-          return null;
-        else {
-          // Wrong list -- must restart traversal at new first
-          tab = reread;
-          e = first = tab[index = hash & (tab.length-1)];
-        }
-
-      }
-
-      else if (e.hash == hash && eq(key, e.key)) {
-        Object value = e.value;
-        if (value != null) 
-          return value;
-
-        // Entry was invalidated during deletion. But it could
-        // have been re-inserted, so we must retraverse.
-        // To avoid useless contention, get lock to wait out modifications
-        // before retraversing.
-
-        synchronized(this) {
-          tab = table;
-        }
-        e = first = tab[index = hash & (tab.length-1)];
-
-      }
-      else
-        e = e.next;
-    }
-  }
-
-
-  /**
-   * Tests if the specified object is a key in this table.
-   * 
-   * @param   key   possible key.
-   * @return  <code>true</code> if and only if the specified object 
-   *          is a key in this table, as determined by the 
-   *          <tt>equals</tt> method; <code>false</code> otherwise.
-   * @exception  NullPointerException  if the key is
-   *               <code>null</code>.
-   * @see     #contains(Object)
-   */
-
-
-  public boolean containsKey(Object key) {
-    return get(key) != null;
-  }
-
-  /**
-   * Maps the specified <code>key</code> to the specified 
-   * <code>value</code> in this table. Neither the key nor the 
-   * value can be <code>null</code>. <p>
-   *
-   * The value can be retrieved by calling the <code>get</code> method 
-   * with a key that is equal to the original key. 
-   *
-   * @param      key     the table key.
-   * @param      value   the value.
-   * @return     the previous value of the specified key in this table,
-   *             or <code>null</code> if it did not have one.
-   * @exception  NullPointerException  if the key or value is
-   *               <code>null</code>.
-   * @see     Object#equals(Object)
-   * @see     #get(Object)
-   */
-
-  public Object put(Object key, Object value) {
-    if (value == null) 
-      throw new NullPointerException();
-    
-    int hash = hash(key);
-    Entry[] tab = table;
-    int index = hash & (tab.length-1);
-    Entry first = tab[index];
-    Entry e;
-
-    for (e = first; e != null; e = e.next)
-      if (e.hash == hash && eq(key, e.key))
-        break;
-
-    synchronized(this) {
-      if (tab == table) {
-        if (e == null) {
-          //  make sure we are adding to correct list
-          if (first == tab[index]) {
-            //  Add to front of list
-            Entry newEntry = new Entry(hash, key, value, first);
-            tab[index] = newEntry;
-            if (++count >= threshold) rehash();
-            else recordModification(newEntry);
-            return null;
-          }
-        }
-        else {
-          Object oldValue = e.value; 
-          if (first == tab[index] && oldValue != null) {
-            e.value = value;
-            return oldValue;
-          }
-        }
-      }
-      
-      // retry if wrong list or lost race against concurrent remove
-      return sput(key, value, hash);
-    }
-  }
-
-
-  /**
-   * Continuation of put(), called only when synch lock is
-   * held and interference has been detected.
-   **/
-  protected Object sput(Object key, Object value, int hash) { 
-
-    Entry[] tab = table;
-    int index = hash & (tab.length-1);
-    Entry first = tab[index];
-    Entry e = first;
-
-    for (;;) {
-      if (e == null) {
-        Entry newEntry = new Entry(hash, key, value, first);
-        tab[index] = newEntry;
-        if (++count >= threshold) rehash();
-        else recordModification(newEntry);
-        return null;
-      }
-      else if (e.hash == hash && eq(key, e.key)) {
-        Object oldValue = e.value; 
-        e.value = value;
-        return oldValue;
-      }
-      else
-        e = e.next;
-    }
-  }
-
-
-  /**
-   * Rehashes the contents of this map into a new table
-   * with a larger capacity. This method is called automatically when the
-   * number of keys in this map exceeds its capacity and load factor.
-   */
-  protected void rehash() { 
-    Entry[] oldTable = table;
-    int oldCapacity = oldTable.length;
-    if (oldCapacity >= MAXIMUM_CAPACITY) {
-      threshold = Integer.MAX_VALUE; // avoid retriggering
-      return;
-    }
-
-    int newCapacity = oldCapacity << 1;
-    int mask = newCapacity - 1;
-    threshold = (int)(newCapacity * loadFactor);
-
-    Entry[] newTable = new Entry[newCapacity];
-    /*
-     * Reclassify nodes in each list to new Map.  Because we are
-     * using power-of-two expansion, the elements from each bin
-     * must either stay at same index, or move to
-     * oldCapacity+index. We also eliminate unnecessary node
-     * creation by catching cases where old nodes can be reused
-     * because their next fields won't change. Statistically, at
-     * the default threshhold, only about one-sixth of them need
-     * cloning. (The nodes they replace will be garbage
-     * collectable as soon as they are no longer referenced by any
-     * reader thread that may be in the midst of traversing table
-     * right now.)
-     */
-    
-    for (int i = 0; i < oldCapacity ; i++) {
-      // We need to guarantee that any existing reads of old Map can
-      //  proceed. So we cannot yet null out each bin.  
-      Entry e = oldTable[i];
-      
-      if (e != null) {
-        int idx = e.hash & mask;
-        Entry next = e.next;
-        
-        //  Single node on list
-        if (next == null) 
-          newTable[idx] = e;
-        
-        else {    
-          // Reuse trailing consecutive sequence of all same bit
-          Entry lastRun = e;
-          int lastIdx = idx;
-          for (Entry last = next; last != null; last = last.next) {
-            int k = last.hash & mask;
-            if (k != lastIdx) {
-              lastIdx = k;
-              lastRun = last;
-            }
-          }
-          newTable[lastIdx] = lastRun;
-          
-          // Clone all remaining nodes
-          for (Entry p = e; p != lastRun; p = p.next) {
-            int k = p.hash & mask;
-            newTable[k] = new Entry(p.hash, p.key, 
-                                    p.value, newTable[k]);
-          }
-        }
-      }
-    }
-
-    table = newTable;
-    recordModification(newTable);
-  }
-
-  /**
-   * Removes the key (and its corresponding value) from this 
-   * table. This method does nothing if the key is not in the table.
-   *
-   * @param   key   the key that needs to be removed.
-   * @return  the value to which the key had been mapped in this table,
-   *          or <code>null</code> if the key did not have a mapping.
-   * @exception  NullPointerException  if the key is
-   *               <code>null</code>.
-   */
-
-  public Object remove(Object key) {
-    /*
-      Find the entry, then 
-        1. Set value field to null, to force get() to retry
-        2. Rebuild the list without this entry.
-           All entries following removed node can stay in list, but
-           all preceeding ones need to be cloned.  Traversals rely
-           on this strategy to ensure that elements will not be
-          repeated during iteration.
-    */
-          
-
-    int hash = hash(key);
-    Entry[] tab = table;
-    int index = hash & (tab.length-1);
-    Entry first = tab[index];
-    Entry e = first;
-      
-    for (e = first; e != null; e = e.next) 
-      if (e.hash == hash && eq(key, e.key)) 
-        break;
-
-
-    synchronized(this) {
-      if (tab == table) {
-        if (e == null) {
-          if (first == tab[index])
-            return null;
-        }
-        else {
-          Object oldValue = e.value;
-          if (first == tab[index] && oldValue != null) {
-            e.value = null;
-            count--;
-            
-            Entry head = e.next;
-            for (Entry p = first; p != e; p = p.next) 
-              head = new Entry(p.hash, p.key, p.value, head);
-            
-            tab[index] = head;
-            recordModification(head);
-            return oldValue;
-          }
-        }
-      }
-    
-      // Wrong list or interference
-      return sremove(key, hash);
-    }
-  }
-
-  /**
-   * Continuation of remove(), called only when synch lock is
-   * held and interference has been detected.
-   **/
-
-  protected Object sremove(Object key, int hash) {
-    Entry[] tab = table;
-    int index = hash & (tab.length-1);
-    Entry first = tab[index];
-      
-    for (Entry e = first; e != null; e = e.next) {
-      if (e.hash == hash && eq(key, e.key)) {
-        Object oldValue = e.value;
-        e.value = null;
-        count--;
-        Entry head = e.next;
-        for (Entry p = first; p != e; p = p.next) 
-          head = new Entry(p.hash, p.key, p.value, head);
-        
-        tab[index] = head;
-        recordModification(head);
-        return oldValue;
-      }
-    }
-    return null;
-  }
-
-
-  /**
-   * Returns <tt>true</tt> if this map maps one or more keys to the
-   * specified value. Note: This method requires a full internal
-   * traversal of the hash table, and so is much slower than
-   * method <tt>containsKey</tt>.
-   *
-   * @param value value whose presence in this map is to be tested.
-   * @return <tt>true</tt> if this map maps one or more keys to the
-   * specified value.  
-   * @exception  NullPointerException  if the value is <code>null</code>.
-   */
-
-  public boolean containsValue(Object value) {
-    if (value == null) throw new NullPointerException();
-
-    Entry tab[] = getTableForReading();
-    
-    for (int i = 0 ; i < tab.length; ++i) {
-      for (Entry e = tab[i] ; e != null ; e = e.next) 
-        if (value.equals(e.value))
-          return true;
-    }
-
-    return false;
-  }
-
-  /**
-   * Tests if some key maps into the specified value in this table.
-   * This operation is more expensive than the <code>containsKey</code>
-   * method.<p>
-   *
-   * Note that this method is identical in functionality to containsValue,
-   * (which is part of the Map interface in the collections framework).
-   * 
-   * @param      value   a value to search for.
-   * @return     <code>true</code> if and only if some key maps to the
-   *             <code>value</code> argument in this table as 
-   *             determined by the <tt>equals</tt> method;
-   *             <code>false</code> otherwise.
-   * @exception  NullPointerException  if the value is <code>null</code>.
-   * @see        #containsKey(Object)
-   * @see        #containsValue(Object)
-   * @see	   Map
-   */
-
-  public boolean contains(Object value) {
-    return containsValue(value);
-  }
-
-
-  /**
-   * Copies all of the mappings from the specified map to this one.
-   * 
-   * These mappings replace any mappings that this map had for any of the
-   * keys currently in the specified Map.
-   *
-   * @param t Mappings to be stored in this map.
-   */
-
-  public synchronized void putAll(Map t) {
-    int n = t.size();
-    if (n == 0)
-      return;
-
-    // Expand enough to hold at least n elements without resizing.
-    // We can only resize table by factor of two at a time.
-    // It is faster to rehash with fewer elements, so do it now.
-    while (n >= threshold)
-      rehash();
-
-    for (Iterator it = t.entrySet().iterator(); it.hasNext();) {
-      Map.Entry entry = (Map.Entry) it.next();
-      Object key = entry.getKey();
-      Object value = entry.getValue();
-      put(key, value);
-    }
-  }
-
-
-  /**
-   * Removes all mappings from this map.
-   */
-  public synchronized void clear() {
-    Entry tab[] = table;
-    for (int i = 0; i < tab.length ; ++i) { 
-
-      // must invalidate all to force concurrent get's to wait and then retry
-      for (Entry e = tab[i]; e != null; e = e.next) 
-        e.value = null; 
-
-      tab[i] = null;
-    }
-    count = 0;
-    recordModification(tab);
-  }
-
-  /**
-   * Returns a shallow copy of this 
-   * <tt>ConcurrentReaderHashMap</tt> instance: the keys and
-   * values themselves are not cloned.
-   *
-   * @return a shallow copy of this map.
-   */
-
-  public synchronized Object clone() {
-    try { 
-      ConcurrentReaderHashMap t = (ConcurrentReaderHashMap)super.clone();
-
-      t.keySet = null;
-      t.entrySet = null;
-      t.values = null;
-
-      Entry[] tab = table;
-      t.table = new Entry[tab.length];
-      Entry[] ttab = t.table;
-
-      for (int i = 0; i < tab.length; ++i) {
-        Entry first = null;
-        for (Entry e = tab[i]; e != null; e = e.next) 
-          first = new Entry(e.hash, e.key, e.value, first);
-        ttab[i] = first;
-      }
-
-      return t;
-    } 
-    catch (CloneNotSupportedException e) { 
-      // this shouldn't happen, since we are Cloneable
-      throw new InternalError();
-    }
-  }
-
-  // Views
-
-  protected transient Set keySet = null;
-  protected transient Set entrySet = null;
-  protected transient Collection values = null;
-
-  /**
-   * Returns a set view of the keys contained in this map.  The set is
-   * backed by the map, so changes to the map are reflected in the set, and
-   * vice-versa.  The set supports element removal, which removes the
-   * corresponding mapping from this map, via the <tt>Iterator.remove</tt>,
-   * <tt>Set.remove</tt>, <tt>removeAll</tt>, <tt>retainAll</tt>, and
-   * <tt>clear</tt> operations.  It does not support the <tt>add</tt> or
-   * <tt>addAll</tt> operations.
-   *
-   * @return a set view of the keys contained in this map.
-   */
-  
-  public Set keySet() {
-    Set ks = keySet;
-    return (ks != null)? ks : (keySet = new KeySet());
-  }
-  
-  private class KeySet extends AbstractSet {
-    public Iterator iterator() {
-      return new KeyIterator();
-    }
-    public int size() {
-      return ConcurrentReaderHashMap.this.size();
-    }
-    public boolean contains(Object o) {
-      return ConcurrentReaderHashMap.this.containsKey(o);
-    }
-    public boolean remove(Object o) {
-      return ConcurrentReaderHashMap.this.remove(o) != null;
-    }
-    public void clear() {
-      ConcurrentReaderHashMap.this.clear();
-    }
-  }
-
-  /**
-   * Returns a collection view of the values contained in this map.  The
-   * collection is backed by the map, so changes to the map are reflected in
-   * the collection, and vice-versa.  The collection supports element
-   * removal, which removes the corresponding mapping from this map, via the
-   * <tt>Iterator.remove</tt>, <tt>Collection.remove</tt>,
-   * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt> operations.
-   * It does not support the <tt>add</tt> or <tt>addAll</tt> operations.
-   *
-   * @return a collection view of the values contained in this map.
-   */
-  
-  public Collection values() {
-    Collection vs = values;
-    return (vs != null)? vs : (values = new Values());
-  }
-  
-  private class Values extends AbstractCollection {
-    public Iterator iterator() {
-      return new ValueIterator();
-    }
-    public int size() {
-      return ConcurrentReaderHashMap.this.size();
-    }
-    public boolean contains(Object o) {
-      return ConcurrentReaderHashMap.this.containsValue(o);
-    }
-    public void clear() {
-      ConcurrentReaderHashMap.this.clear();
-    }
-  }
-
-  /**
-   * Returns a collection view of the mappings contained in this map.  Each
-   * element in the returned collection is a <tt>Map.Entry</tt>.  The
-   * collection is backed by the map, so changes to the map are reflected in
-   * the collection, and vice-versa.  The collection supports element
-   * removal, which removes the corresponding mapping from the map, via the
-   * <tt>Iterator.remove</tt>, <tt>Collection.remove</tt>,
-   * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt> operations.
-   * It does not support the <tt>add</tt> or <tt>addAll</tt> operations.
-   *
-   * @return a collection view of the mappings contained in this map.
-   */
-  
-  public Set entrySet() {
-    Set es = entrySet;
-    return (es != null) ? es : (entrySet = new EntrySet());
-  }
-
-  private class EntrySet extends AbstractSet {
-    public Iterator iterator() {
-      return new HashIterator();
-    }
-    public boolean contains(Object o) {
-      if (!(o instanceof Map.Entry))
-        return false;
-      Map.Entry entry = (Map.Entry)o;
-      Object v = ConcurrentReaderHashMap.this.get(entry.getKey());
-      return v != null && v.equals(entry.getValue());
-    }
-    public boolean remove(Object o) {
-      if (!(o instanceof Map.Entry))
-        return false;
-      return ConcurrentReaderHashMap.this.findAndRemoveEntry((Map.Entry)o);
-    }
-    public int size() {
-      return ConcurrentReaderHashMap.this.size();
-    }
-    public void clear() {
-      ConcurrentReaderHashMap.this.clear();
-    }
-  }
-
-  /**
-   * Helper method for entrySet.remove
-   **/
-  protected synchronized boolean findAndRemoveEntry(Map.Entry entry) {
-    Object key = entry.getKey();
-    Object v = get(key);
-    if (v != null && v.equals(entry.getValue())) {
-      remove(key);
-      return true;
-    }
-    else
-      return false;
-  }
-
-  /**
-   * Returns an enumeration of the keys in this table.
-   *
-   * @return  an enumeration of the keys in this table.
-   * @see     Enumeration
-   * @see     #elements()
-   * @see	#keySet()
-   * @see	Map
-   */
-  public Enumeration keys() {
-    return new KeyIterator();
-  }
-
-  /**
-   * Returns an enumeration of the values in this table.
-   * Use the Enumeration methods on the returned object to fetch the elements
-   * sequentially.
-   *
-   * @return  an enumeration of the values in this table.
-   * @see     java.util.Enumeration
-   * @see     #keys()
-   * @see	#values()
-   * @see	Map
-   */
-  
-  public Enumeration elements() {
-    return new ValueIterator();
-  }
-
-
-  /**
-   * ConcurrentReaderHashMap collision list entry.
-   */
-
-  protected static class Entry implements Map.Entry {
-
-    /* 
-       The use of volatile for value field ensures that
-       we can detect status changes without synchronization.
-       The other fields are never changed, and are
-       marked as final. 
-    */
-
-    protected final int hash;
-    protected final Object key;
-    protected final Entry next;
-    protected volatile Object value;
-
-    Entry(int hash, Object key, Object value, Entry next) {
-      this.hash = hash;
-      this.key = key;
-      this.next = next;
-      this.value = value;
-    }
-
-    // Map.Entry Ops 
-
-    public Object getKey() {
-      return key;
-    }
-
-    /**
-     * Get the value.  Note: In an entrySet or entrySet.iterator,
-     * unless the set or iterator is used under synchronization of the
-     * table as a whole (or you can otherwise guarantee lack of
-     * concurrent modification), <tt>getValue</tt> <em>might</em>
-     * return null, reflecting the fact that the entry has been
-     * concurrently removed. However, there are no assurances that
-     * concurrent removals will be reflected using this method.
-     * 
-     * @return     the current value, or null if the entry has been 
-     * detectably removed.
-     **/
-    public Object getValue() {
-      return value; 
-    }
-
-    /**
-     * Set the value of this entry.  Note: In an entrySet or
-     * entrySet.iterator), unless the set or iterator is used under
-     * synchronization of the table as a whole (or you can otherwise
-     * guarantee lack of concurrent modification), <tt>setValue</tt>
-     * is not strictly guaranteed to actually replace the value field
-     * obtained via the <tt>get</tt> operation of the underlying hash
-     * table in multithreaded applications.  If iterator-wide
-     * synchronization is not used, and any other concurrent
-     * <tt>put</tt> or <tt>remove</tt> operations occur, sometimes
-     * even to <em>other</em> entries, then this change is not
-     * guaranteed to be reflected in the hash table. (It might, or it
-     * might not. There are no assurances either way.)
-     *
-     * @param      value   the new value.
-     * @return     the previous value, or null if entry has been detectably
-     * removed.
-     * @exception  NullPointerException  if the value is <code>null</code>.
-     * 
-     **/
-
-    public Object setValue(Object value) {
-      if (value == null)
-        throw new NullPointerException();
-      Object oldValue = this.value;
-      this.value = value;
-      return oldValue;
-    }
-
-    public boolean equals(Object o) {
-      if (!(o instanceof Map.Entry))
-        return false;
-      Map.Entry e = (Map.Entry)o;
-      return (key.equals(e.getKey()) && value.equals(e.getValue()));
-    }
-    
-    public int hashCode() {
-      return  key.hashCode() ^ value.hashCode();
-    }
-    
-    public String toString() {
-      return key + "=" + value;
-    }
-
-  }
-
-  protected class HashIterator implements Iterator, Enumeration {
-    protected final Entry[] tab;           // snapshot of table
-    protected int index;                   // current slot 
-    protected Entry entry = null;          // current node of slot
-    protected Object currentKey;           // key for current node
-    protected Object currentValue;         // value for current node
-    protected Entry lastReturned = null;   // last node returned by next
-
-    protected HashIterator() {
-      tab = ConcurrentReaderHashMap.this.getTableForReading();
-      index = tab.length - 1;
-    }
-
-    public boolean hasMoreElements() { return hasNext(); }
-    public Object nextElement() { return next(); }
-
-
-    public boolean hasNext() {
-
-      /*
-        currentkey and currentValue are set here to ensure that next()
-        returns normally if hasNext() returns true. This avoids
-        surprises especially when final element is removed during
-        traversal -- instead, we just ignore the removal during
-        current traversal.  
-      */
-
-      for (;;) {
-        if (entry != null) {
-          Object v = entry.value;
-          if (v != null) {
-            currentKey = entry.key;
-            currentValue = v;
-            return true;
-          }
-          else
-            entry = entry.next;
-        }
-
-        while (entry == null && index >= 0)
-          entry = tab[index--];
-
-        if (entry == null) {
-          currentKey = currentValue = null;
-          return false;
-        }
-      }
-    }
-
-    protected Object returnValueOfNext() { return entry; }
-
-    public Object next() {
-      if (currentKey == null && !hasNext())
-        throw new NoSuchElementException();
-
-      Object result = returnValueOfNext();
-      lastReturned = entry;
-      currentKey = currentValue = null;
-      entry = entry.next;
-      return result;
-    }
-
-    public void remove() {
-      if (lastReturned == null)
-        throw new IllegalStateException();
-      ConcurrentReaderHashMap.this.remove(lastReturned.key);
-      lastReturned = null;
-    }
-
-  }
-
-
-  protected class KeyIterator extends HashIterator {
-    protected Object returnValueOfNext() { return currentKey; }
-  }
-  
-  protected class ValueIterator extends HashIterator {
-    protected Object returnValueOfNext() { return currentValue; }
-  }
-  
-
-
-  /**
-   * Save the state of the <tt>ConcurrentReaderHashMap</tt> 
-   * instance to a stream (i.e.,
-   * serialize it).
-   *
-   * @serialData The <i>capacity</i> of the 
-   * ConcurrentReaderHashMap (the length of the
-   * bucket array) is emitted (int), followed  by the
-   * <i>size</i> of the ConcurrentReaderHashMap (the number of key-value
-   * mappings), followed by the key (Object) and value (Object)
-   * for each key-value mapping represented by the ConcurrentReaderHashMap
-   * The key-value mappings are emitted in no particular order.
-   */
-
-  private synchronized void writeObject(java.io.ObjectOutputStream s)
-    throws IOException  {
-    // Write out the threshold, loadfactor, and any hidden stuff
-    s.defaultWriteObject();
-    
-    // Write out number of buckets
-    s.writeInt(table.length);
-    
-    // Write out size (number of Mappings)
-    s.writeInt(count);
-    
-    // Write out keys and values (alternating)
-    for (int index = table.length-1; index >= 0; index--) {
-      Entry entry = table[index];
-      
-      while (entry != null) {
-        s.writeObject(entry.key);
-        s.writeObject(entry.value);
-        entry = entry.next;
-      }
-    }
-  }
-
-  /**
-   * Reconstitute the <tt>ConcurrentReaderHashMap</tt> 
-   * instance from a stream (i.e.,
-   * deserialize it).
-   */
-  private synchronized void readObject(java.io.ObjectInputStream s)
-    throws IOException, ClassNotFoundException  {
-    // Read in the threshold, loadfactor, and any hidden stuff
-    s.defaultReadObject();
-
-    // Read in number of buckets and allocate the bucket array;
-    int numBuckets = s.readInt();
-    table = new Entry[numBuckets];
-    
-    // Read in size (number of Mappings)
-    int size = s.readInt();
-    
-    // Read the keys and values, and put the mappings in the table
-    for (int i=0; i<size; i++) {
-      Object key = s.readObject();
-      Object value = s.readObject();
-      put(key, value);
-    }
-  }
-  
-  /** 
-   * Return the number of slots in this table 
-   **/
-
-  public synchronized int capacity() {
-    return table.length;
-  }
-
-  /** 
-   * Return the load factor 
-   **/
-  public float loadFactor() {
-    return loadFactor;
-  }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/EncodingMap.java b/v2/src/common/org/apache/xmlbeans/impl/common/EncodingMap.java
deleted file mode 100644
index 51ff8af..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/EncodingMap.java
+++ /dev/null
@@ -1,400 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.util.HashMap;
-import java.util.Iterator;
-
-public class EncodingMap
-{
-    public static String getJava2IANAMapping ( String java )
-    {
-        return (String) _java_to_iana.get( java.toUpperCase() );
-    }
-    
-    public static String getIANA2JavaMapping ( String iana )
-    {
-        return (String) _iana_to_java.get( iana.toUpperCase() );
-    }
-
-    private EncodingMap ( ) { }
-    
-    private final static HashMap _iana_to_java = new HashMap();
-    private final static HashMap _java_to_iana = new HashMap();
-
-    private final static void addMapping (
-        String java, String iana, boolean isDefault )
-    {
-        assert !_iana_to_java.containsKey( iana );
-        assert java.toUpperCase().equals( java );
-        assert iana.toUpperCase().equals( iana );
-        
-        _iana_to_java.put( iana, java );
-
-        if (isDefault)
-        {
-            assert !_java_to_iana.containsKey( java );
-            _java_to_iana.put( java, iana );
-        }
-    }
-
-    private final static boolean completeMappings ( )
-    {
-        HashMap m = new HashMap();
-
-        for ( Iterator i = _iana_to_java.keySet().iterator() ; i.hasNext() ; )
-            m.put( _iana_to_java.get( i.next() ), null );
-
-        for ( Iterator i = m.keySet().iterator() ; i.hasNext() ; )
-        {
-            Object k = i.next();
-            assert _java_to_iana.containsKey( k ): k;
-        }
-
-        return true;
-    }
-
-    static
-    {
-        addMapping( "ASCII",         "ANSI_X3.4-1986",         false );
-        addMapping( "ASCII",         "ASCII",                  true  );
-        addMapping( "ASCII",         "CP367",                  false );
-        addMapping( "ASCII",         "CSASCII",                false );
-        addMapping( "ASCII",         "IBM-367",                false );
-        addMapping( "ASCII",         "IBM367",                 false );
-        addMapping( "ASCII",         "ISO-IR-6",               false );
-        addMapping( "ASCII",         "ISO646-US",              false );
-        addMapping( "ASCII",         "ISO_646.IRV:1991",       false );
-        addMapping( "ASCII",         "US",                     false );
-        addMapping( "ASCII",         "US-ASCII",               false );
-        addMapping( "BIG5",          "BIG5",                   true  );
-        addMapping( "BIG5",          "CSBIG5",                 false );
-        addMapping( "CP037",         "CP037",                  false );
-        addMapping( "CP037",         "CSIBM037",               false );
-        addMapping( "CP037",         "EBCDIC-CP-CA",           false );
-        addMapping( "CP037",         "EBCDIC-CP-NL",           false );
-        addMapping( "CP037",         "EBCDIC-CP-US",           true  );
-        addMapping( "CP037",         "EBCDIC-CP-WT",           false );
-        addMapping( "CP037",         "IBM-37",                 false );
-        addMapping( "CP037",         "IBM037",                 false );
-        addMapping( "CP1026",        "CP1026",                 false );
-        addMapping( "CP1026",        "CSIBM1026",              false );
-        addMapping( "CP1026",        "IBM-1026",               false );
-        addMapping( "CP1026",        "IBM1026",                true  );
-        addMapping( "CP1047",        "CP1047",                 false );
-        addMapping( "CP1047",        "IBM-1047",               false );
-        addMapping( "CP1047",        "IBM1047",                true  );
-        addMapping( "CP1140",        "CCSID01140",             false );
-        addMapping( "CP1140",        "CP01140",                false );
-        addMapping( "CP1140",        "IBM-1140",               false );
-        addMapping( "CP1140",        "IBM01140",               true  );
-        addMapping( "CP1141",        "CCSID01141",             false );
-        addMapping( "CP1141",        "CP01141",                false );
-        addMapping( "CP1141",        "IBM-1141",               false );
-        addMapping( "CP1141",        "IBM01141",               true  );
-        addMapping( "CP1142",        "CCSID01142",             false );
-        addMapping( "CP1142",        "CP01142",                false );
-        addMapping( "CP1142",        "IBM-1142",               false );
-        addMapping( "CP1142",        "IBM01142",               true  );
-        addMapping( "CP1143",        "CCSID01143",             false );
-        addMapping( "CP1143",        "CP01143",                false );
-        addMapping( "CP1143",        "IBM-1143",               false );
-        addMapping( "CP1143",        "IBM01143",               true  );
-        addMapping( "CP1144",        "CCSID01144",             false );
-        addMapping( "CP1144",        "CP01144",                false );
-        addMapping( "CP1144",        "IBM-1144",               false );
-        addMapping( "CP1144",        "IBM01144",               true  );
-        addMapping( "CP1145",        "CCSID01145",             false );
-        addMapping( "CP1145",        "CP01145",                false );
-        addMapping( "CP1145",        "IBM-1145",               false );
-        addMapping( "CP1145",        "IBM01145",               true  );
-        addMapping( "CP1146",        "CCSID01146",             false );
-        addMapping( "CP1146",        "CP01146",                false );
-        addMapping( "CP1146",        "IBM-1146",               false );
-        addMapping( "CP1146",        "IBM01146",               true  );
-        addMapping( "CP1147",        "CCSID01147",             false );
-        addMapping( "CP1147",        "CP01147",                false );
-        addMapping( "CP1147",        "IBM-1147",               false );
-        addMapping( "CP1147",        "IBM01147",               true  );
-        addMapping( "CP1148",        "CCSID01148",             false );
-        addMapping( "CP1148",        "CP01148",                false );
-        addMapping( "CP1148",        "IBM-1148",               false );
-        addMapping( "CP1148",        "IBM01148",               true  );
-        addMapping( "CP1149",        "CCSID01149",             false );
-        addMapping( "CP1149",        "CP01149",                false );
-        addMapping( "CP1149",        "IBM-1149",               false );
-        addMapping( "CP1149",        "IBM01149",               true  );
-        addMapping( "CP1250",        "WINDOWS-1250",           true );
-        addMapping( "CP1251",        "WINDOWS-1251",           true );
-        addMapping( "CP1252",        "WINDOWS-1252",           true );
-        addMapping( "CP1253",        "WINDOWS-1253",           true );
-        addMapping( "CP1254",        "WINDOWS-1254",           true );
-        addMapping( "CP1255",        "WINDOWS-1255",           true );
-        addMapping( "CP1256",        "WINDOWS-1256",           true );
-        addMapping( "CP1257",        "WINDOWS-1257",           true );
-        addMapping( "CP1258",        "WINDOWS-1258",           true );
-        addMapping( "CP273",         "CP273",                  false );
-        addMapping( "CP273",         "CSIBM273",               false );
-        addMapping( "CP273",         "IBM-273",                false );
-        addMapping( "CP273",         "IBM273",                 true  );
-        addMapping( "CP277",         "CP277",                  false );
-        addMapping( "CP277",         "CSIBM277",               false );
-        addMapping( "CP277",         "EBCDIC-CP-DK",           true  );
-        addMapping( "CP277",         "EBCDIC-CP-NO",           false );
-        addMapping( "CP277",         "IBM-277",                false );
-        addMapping( "CP277",         "IBM277",                 false );
-        addMapping( "CP278",         "CP278",                  false );
-        addMapping( "CP278",         "CSIBM278",               false );
-        addMapping( "CP278",         "EBCDIC-CP-FI",           true  );
-        addMapping( "CP278",         "EBCDIC-CP-SE",           false );
-        addMapping( "CP278",         "IBM-278",                false );
-        addMapping( "CP278",         "IBM278",                 false );
-        addMapping( "CP280",         "CP280",                  false );
-        addMapping( "CP280",         "CSIBM280",               false );
-        addMapping( "CP280",         "EBCDIC-CP-IT",           true  );
-        addMapping( "CP280",         "IBM-280",                false );
-        addMapping( "CP280",         "IBM280",                 false );
-        addMapping( "CP284",         "CP284",                  false );
-        addMapping( "CP284",         "CSIBM284",               false );
-        addMapping( "CP284",         "EBCDIC-CP-ES",           true  );
-        addMapping( "CP284",         "IBM-284",                false );
-        addMapping( "CP284",         "IBM284",                 false );
-        addMapping( "CP285",         "CP285",                  false );
-        addMapping( "CP285",         "CSIBM285",               false );
-        addMapping( "CP285",         "EBCDIC-CP-GB",           true  );
-        addMapping( "CP285",         "IBM-285",                false );
-        addMapping( "CP285",         "IBM285",                 false );
-        addMapping( "CP290",         "CP290",                  false );
-        addMapping( "CP290",         "CSIBM290",               false );
-        addMapping( "CP290",         "EBCDIC-JP-KANA",         true  );
-        addMapping( "CP290",         "IBM-290",                false );
-        addMapping( "CP290",         "IBM290",                 false );
-        addMapping( "CP297",         "CP297",                  false );
-        addMapping( "CP297",         "CSIBM297",               false );
-        addMapping( "CP297",         "EBCDIC-CP-FR",           true  );
-        addMapping( "CP297",         "IBM-297",                false );
-        addMapping( "CP297",         "IBM297",                 false );
-        addMapping( "CP420",         "CP420",                  false );
-        addMapping( "CP420",         "CSIBM420",               false );
-        addMapping( "CP420",         "EBCDIC-CP-AR1",          true  );
-        addMapping( "CP420",         "IBM-420",                false );
-        addMapping( "CP420",         "IBM420",                 false );
-        addMapping( "CP424",         "CP424",                  false );
-        addMapping( "CP424",         "CSIBM424",               false );
-        addMapping( "CP424",         "EBCDIC-CP-HE",           true  );
-        addMapping( "CP424",         "IBM-424",                false );
-        addMapping( "CP424",         "IBM424",                 false );
-        addMapping( "CP437",         "437",                    false );
-        addMapping( "CP437",         "CP437",                  false );
-        addMapping( "CP437",         "CSPC8CODEPAGE437",       false );
-        addMapping( "CP437",         "IBM-437",                false );
-        addMapping( "CP437",         "IBM437",                 true  );
-        addMapping( "CP500",         "CP500",                  false );
-        addMapping( "CP500",         "CSIBM500",               false );
-        addMapping( "CP500",         "EBCDIC-CP-BE",           false );
-        addMapping( "CP500",         "EBCDIC-CP-CH",           true  );
-        addMapping( "CP500",         "IBM-500",                false );
-        addMapping( "CP500",         "IBM500",                 false );
-        addMapping( "CP775",         "CP775",                  false );
-        addMapping( "CP775",         "CSPC775BALTIC",          false );
-        addMapping( "CP775",         "IBM-775",                false );
-        addMapping( "CP775",         "IBM775",                 true  );
-        addMapping( "CP850",         "850",                    false );
-        addMapping( "CP850",         "CP850",                  false );
-        addMapping( "CP850",         "CSPC850MULTILINGUAL",    false );
-        addMapping( "CP850",         "IBM-850",                false );
-        addMapping( "CP850",         "IBM850",                 true  );
-        addMapping( "CP852",         "852",                    false );
-        addMapping( "CP852",         "CP852",                  false );
-        addMapping( "CP852",         "CSPCP852",               false );
-        addMapping( "CP852",         "IBM-852",                false );
-        addMapping( "CP852",         "IBM852",                 true  );
-        addMapping( "CP855",         "855",                    false );
-        addMapping( "CP855",         "CP855",                  false );
-        addMapping( "CP855",         "CSIBM855",               false );
-        addMapping( "CP855",         "IBM-855",                false );
-        addMapping( "CP855",         "IBM855",                 true  );
-        addMapping( "CP857",         "857",                    false );
-        addMapping( "CP857",         "CP857",                  false );
-        addMapping( "CP857",         "CSIBM857",               false );
-        addMapping( "CP857",         "IBM-857",                false );
-        addMapping( "CP857",         "IBM857",                 true  );
-        addMapping( "CP858",         "CCSID00858",             false );
-        addMapping( "CP858",         "CP00858",                false );
-        addMapping( "CP858",         "IBM-858",                false );
-        addMapping( "CP858",         "IBM00858",               true  );
-        addMapping( "CP860",         "860",                    false );
-        addMapping( "CP860",         "CP860",                  false );
-        addMapping( "CP860",         "CSIBM860",               false );
-        addMapping( "CP860",         "IBM-860",                false );
-        addMapping( "CP860",         "IBM860",                 true  );
-        addMapping( "CP861",         "861",                    false );
-        addMapping( "CP861",         "CP-IS",                  false );
-        addMapping( "CP861",         "CP861",                  false );
-        addMapping( "CP861",         "CSIBM861",               false );
-        addMapping( "CP861",         "IBM-861",                false );
-        addMapping( "CP861",         "IBM861",                 true  );
-        addMapping( "CP862",         "862",                    false );
-        addMapping( "CP862",         "CP862",                  false );
-        addMapping( "CP862",         "CSPC862LATINHEBREW",     false );
-        addMapping( "CP862",         "IBM-862",                false );
-        addMapping( "CP862",         "IBM862",                 true  );
-        addMapping( "CP863",         "863",                    false );
-        addMapping( "CP863",         "CP863",                  false );
-        addMapping( "CP863",         "CSIBM863",               false );
-        addMapping( "CP863",         "IBM-863",                false );
-        addMapping( "CP863",         "IBM863",                 true  );
-        addMapping( "CP864",         "CP864",                  false );
-        addMapping( "CP864",         "CSIBM864",               false );
-        addMapping( "CP864",         "IBM-864",                false );
-        addMapping( "CP864",         "IBM864",                 true  );
-        addMapping( "CP865",         "865",                    false );
-        addMapping( "CP865",         "CP865",                  false );
-        addMapping( "CP865",         "CSIBM865",               false );
-        addMapping( "CP865",         "IBM-865",                false );
-        addMapping( "CP865",         "IBM865",                 true  );
-        addMapping( "CP866",         "866",                    false );
-        addMapping( "CP866",         "CP866",                  false );
-        addMapping( "CP866",         "CSIBM866",               false );
-        addMapping( "CP866",         "IBM-866",                false );
-        addMapping( "CP866",         "IBM866",                 true  );
-        addMapping( "CP868",         "CP-AR",                  false );
-        addMapping( "CP868",         "CP868",                  false );
-        addMapping( "CP868",         "CSIBM868",               false );
-        addMapping( "CP868",         "IBM-868",                false );
-        addMapping( "CP868",         "IBM868",                 true  );
-        addMapping( "CP869",         "CP-GR",                  false );
-        addMapping( "CP869",         "CP869",                  false );
-        addMapping( "CP869",         "CSIBM869",               false );
-        addMapping( "CP869",         "IBM-869",                false );
-        addMapping( "CP869",         "IBM869",                 true  );
-        addMapping( "CP870",         "CP870",                  false );
-        addMapping( "CP870",         "CSIBM870",               false );
-        addMapping( "CP870",         "EBCDIC-CP-ROECE",        true  );
-        addMapping( "CP870",         "EBCDIC-CP-YU",           false );
-        addMapping( "CP870",         "IBM-870",                false );
-        addMapping( "CP870",         "IBM870",                 false );
-        addMapping( "CP871",         "CP871",                  false );
-        addMapping( "CP871",         "CSIBM871",               false );
-        addMapping( "CP871",         "EBCDIC-CP-IS",           true  );
-        addMapping( "CP871",         "IBM-871",                false );
-        addMapping( "CP871",         "IBM871",                 false );
-        addMapping( "CP918",         "CP918",                  false );
-        addMapping( "CP918",         "CSIBM918",               false );
-        addMapping( "CP918",         "EBCDIC-CP-AR2",          true  );
-        addMapping( "CP918",         "IBM-918",                false );
-        addMapping( "CP918",         "IBM918",                 false );
-        addMapping( "CP924",         "CCSID00924",             false );
-        addMapping( "CP924",         "CP00924",                false );
-        addMapping( "CP924",         "EBCDIC-LATIN9--EURO",    false );
-        addMapping( "CP924",         "IBM-924",                false );
-        addMapping( "CP924",         "IBM00924",               true  );
-        addMapping( "EUCJIS",        "CSEUCPKDFMTJAPANESE",    false );
-        addMapping( "EUCJIS",        "EUC-JP",                 true  );
-        addMapping( "EUCJIS",        "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", false );
-        addMapping( "GB18030",       "GB18030",                true  );
-        addMapping( "GB2312",        "CSGB2312",               false );
-        addMapping( "GB2312",        "GB2312",                 true  );
-        addMapping( "ISO2022CN",     "ISO-2022-CN",            true  );
-        addMapping( "ISO2022KR",     "CSISO2022KR",            false );
-        addMapping( "ISO2022KR",     "ISO-2022-KR",            true  );
-        addMapping( "ISO8859_1",     "CP819",                  false );
-        addMapping( "ISO8859_1",     "CSISOLATIN1",            false );
-        addMapping( "ISO8859_1",     "IBM-819",                false );
-        addMapping( "ISO8859_1",     "IBM819",                 false );
-        addMapping( "ISO8859_1",     "ISO-8859-1",             true  );
-        addMapping( "ISO8859_1",     "ISO-IR-100",             false );
-        addMapping( "ISO8859_1",     "ISO_8859-1",             false );
-        addMapping( "ISO8859_1",     "L1",                     false );
-        addMapping( "ISO8859_1",     "LATIN1",                 false );
-        addMapping( "ISO8859_2",     "CSISOLATIN2",            false );
-        addMapping( "ISO8859_2",     "ISO-8859-2",             true  );
-        addMapping( "ISO8859_2",     "ISO-IR-101",             false );
-        addMapping( "ISO8859_2",     "ISO_8859-2",             false );
-        addMapping( "ISO8859_2",     "L2",                     false );
-        addMapping( "ISO8859_2",     "LATIN2",                 false );
-        addMapping( "ISO8859_3",     "CSISOLATIN3",            false );
-        addMapping( "ISO8859_3",     "ISO-8859-3",             true  );
-        addMapping( "ISO8859_3",     "ISO-IR-109",             false );
-        addMapping( "ISO8859_3",     "ISO_8859-3",             false );
-        addMapping( "ISO8859_3",     "L3",                     false );
-        addMapping( "ISO8859_3",     "LATIN3",                 false );
-        addMapping( "ISO8859_4",     "CSISOLATIN4",            false );
-        addMapping( "ISO8859_4",     "ISO-8859-4",             true  );
-        addMapping( "ISO8859_4",     "ISO-IR-110",             false );
-        addMapping( "ISO8859_4",     "ISO_8859-4",             false );
-        addMapping( "ISO8859_4",     "L4",                     false );
-        addMapping( "ISO8859_4",     "LATIN4",                 false );
-        addMapping( "ISO8859_5",     "CSISOLATINCYRILLIC",     false );
-        addMapping( "ISO8859_5",     "CYRILLIC",               false );
-        addMapping( "ISO8859_5",     "ISO-8859-5",             true  );
-        addMapping( "ISO8859_5",     "ISO-IR-144",             false );
-        addMapping( "ISO8859_5",     "ISO_8859-5",             false );
-        addMapping( "ISO8859_6",     "ARABIC",                 false );
-        addMapping( "ISO8859_6",     "ASMO-708",               false );
-        addMapping( "ISO8859_6",     "CSISOLATINARABIC",       false );
-        addMapping( "ISO8859_6",     "ECMA-114",               false );
-        addMapping( "ISO8859_6",     "ISO-8859-6",             true  );
-        addMapping( "ISO8859_6",     "ISO-IR-127",             false );
-        addMapping( "ISO8859_6",     "ISO_8859-6",             false );
-        addMapping( "ISO8859_7",     "CSISOLATINGREEK",        false );
-        addMapping( "ISO8859_7",     "ECMA-118",               false );
-        addMapping( "ISO8859_7",     "ELOT_928",               false );
-        addMapping( "ISO8859_7",     "GREEK",                  false );
-        addMapping( "ISO8859_7",     "GREEK8",                 false );
-        addMapping( "ISO8859_7",     "ISO-8859-7",             true  );
-        addMapping( "ISO8859_7",     "ISO-IR-126",             false );
-        addMapping( "ISO8859_7",     "ISO_8859-7",             false );
-        addMapping( "ISO8859_8",     "CSISOLATINHEBREW",       false );
-        addMapping( "ISO8859_8",     "HEBREW",                 false );
-        addMapping( "ISO8859_8",     "ISO-8859-8",             true  );
-        addMapping( "ISO8859_8",     "ISO-8859-8-I",           false );
-        addMapping( "ISO8859_8",     "ISO-IR-138",             false );
-        addMapping( "ISO8859_8",     "ISO_8859-8",             false );
-        addMapping( "ISO8859_9",     "CSISOLATIN5",            false );
-        addMapping( "ISO8859_9",     "ISO-8859-9",             true  );
-        addMapping( "ISO8859_9",     "ISO-IR-148",             false );
-        addMapping( "ISO8859_9",     "ISO_8859-9",             false );
-        addMapping( "ISO8859_9",     "L5",                     false );
-        addMapping( "ISO8859_9",     "LATIN5",                 false );
-        addMapping( "JIS",           "CSISO2022JP",            false );
-        addMapping( "JIS",           "ISO-2022-JP",            true  );
-        addMapping( "JIS0201",       "CSISO13JISC6220JP",      false );
-        addMapping( "JIS0201",       "X0201",                  true  );
-        addMapping( "JIS0208",       "CSISO87JISX0208",        false );
-        addMapping( "JIS0208",       "ISO-IR-87",              false );
-        addMapping( "JIS0208",       "X0208",                  true  );
-        addMapping( "JIS0208",       "X0208DBIJIS_X0208-1983", false );
-        addMapping( "JIS0212",       "CSISO159JISX02121990",   false );
-        addMapping( "JIS0212",       "ISO-IR-159",             true  );
-        addMapping( "JIS0212",       "X0212",                  false );
-        addMapping( "KOI8_R",        "CSKOI8R",                false );
-        addMapping( "KOI8_R",        "KOI8-R",                 true  );
-        addMapping( "KSC5601",       "EUC-KR",                 true  );
-        addMapping( "MS932",         "CSWINDOWS31J",           false );
-        addMapping( "MS932",         "WINDOWS-31J",            true  );
-        addMapping( "SJIS",          "CSSHIFTJIS",             false );
-        addMapping( "SJIS",          "MS_KANJI",               false );
-        addMapping( "SJIS",          "SHIFT_JIS",              true  );
-        addMapping( "TIS620",        "TIS-620",                true );
-        addMapping( "UNICODE",       "UTF-16",                 true  );
-        addMapping( "UNICODEBIG",    "UTF-16BE",               true  );
-        addMapping( "UNICODELITTLE", "UTF-16LE",               true  );
-        addMapping( "UTF8",          "UTF-8",                  true  );
-
-        assert completeMappings();
-    };
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/GenericXmlInputStream.java b/v2/src/common/org/apache/xmlbeans/impl/common/GenericXmlInputStream.java
deleted file mode 100644
index 2804b7e..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/GenericXmlInputStream.java
+++ /dev/null
@@ -1,240 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.xml.stream.ReferenceResolver;
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLName;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-public class GenericXmlInputStream implements XMLInputStream
-{
-    public GenericXmlInputStream ( )
-    {
-        _master = this;
-        _elementCount = 1; // Go all the way
-    }
-
-    private GenericXmlInputStream ( GenericXmlInputStream master )
-    {
-        (_master = master).ensureInit();
-        _nextEvent = master._nextEvent;
-    }
-    
-    //
-    // The source for all events
-    //
-
-    protected XMLEvent nextEvent ( ) throws XMLStreamException
-    {
-        throw new RuntimeException( "nextEvent not overridden" );
-    }
-
-    //
-    //
-    //
-
-    private class EventItem
-    {
-        EventItem ( XMLEvent e )
-        {
-            _event = e;
-        }
-                   
-        int     getType ( ) { return _event.getType(); }
-        boolean hasName ( ) { return _event.hasName(); }
-        XMLName getName ( ) { return _event.getName(); }
-        
-        final XMLEvent _event;
-        
-        EventItem _next;
-    }
-
-    private void ensureInit ( )
-    {
-        if (!_master._initialized)
-        {
-            try
-            {
-                _master._nextEvent = getNextEvent();
-            }
-            catch ( XMLStreamException e )
-            {
-                throw new RuntimeException( e );
-            }
-            
-            _master._initialized = true;
-        }
-    }
-
-    private EventItem getNextEvent ( ) throws XMLStreamException
-    {
-        XMLEvent e = nextEvent();
-
-        return e == null ? null : new EventItem( e );
-    }
-
-    public XMLEvent next ( ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        EventItem currentEvent = _nextEvent;
-
-        if (_nextEvent != null)
-        {
-            if (_nextEvent._next == null)
-                _nextEvent._next = _master.getNextEvent();
-
-            _nextEvent = _nextEvent._next;
-        }
-
-        if (currentEvent == null)
-            return null;
-
-        if (currentEvent.getType() == XMLEvent.END_ELEMENT)
-        {
-            if (--_elementCount <= 0)
-                _nextEvent = null;
-        }
-        else if (currentEvent.getType() == XMLEvent.START_ELEMENT)
-            _elementCount++;
-
-        return currentEvent._event;
-    }
-
-    public boolean hasNext ( ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        return _nextEvent != null;
-    }
-
-    public void skip ( ) throws XMLStreamException
-    {
-        next();
-    }
-
-    public void skipElement ( ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        for ( ; _nextEvent != null ; next() )
-        {
-            if (_nextEvent.getType() == XMLEvent.START_ELEMENT)
-                break;
-        }
-
-        int count = 0;
-
-        for ( ; _nextEvent != null ; next() )
-        {
-            int type = next().getType();
-
-            if (type == XMLEvent.START_ELEMENT)
-                count++;
-            else if (type == XMLEvent.END_ELEMENT && --count == 0)
-                break;
-        }
-    }
-
-    public XMLEvent peek ( ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        return _nextEvent._event;
-    }
-
-    public boolean skip ( int eventType ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        for ( ; _nextEvent != null ; next() )
-        {
-            if (_nextEvent.getType() == eventType)
-                return true;
-        }
-
-        return false;
-    }
-
-    public boolean skip ( XMLName name ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        for ( ; _nextEvent != null ; next() )
-        {
-            if (_nextEvent.hasName() && _nextEvent.getName().equals( name ))
-                return true;
-        }
-
-        return false;
-    }
-
-    public boolean skip ( XMLName name, int eventType ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        for ( ; _nextEvent != null ; next() )
-        {
-            if (_nextEvent.getType() == eventType &&
-                  _nextEvent.hasName() &&
-                    _nextEvent.getName().equals( name ))
-            {
-                return true;
-            }
-        }
-
-        return false;
-    }
-
-    public XMLInputStream getSubStream ( ) throws XMLStreamException
-    {
-        ensureInit();
-        
-        GenericXmlInputStream subStream = new GenericXmlInputStream( this );
-
-        subStream.skip( XMLEvent.START_ELEMENT );
-
-        return subStream;
-    }
-
-    public void close ( ) throws XMLStreamException
-    {
-        // BUGBUG - can I do anything here, really?
-        // SHould I count the number of open sub streams?
-        // I have no destructor, how can I close properly?
-    }
-
-    public ReferenceResolver getReferenceResolver ( )
-    {
-        ensureInit();
-        
-        throw new RuntimeException( "Not impl" );
-    }
-
-    public void setReferenceResolver ( ReferenceResolver resolver )
-    {
-        ensureInit();
-        
-        throw new RuntimeException( "Not impl" );
-    }
-
-    private boolean               _initialized;
-    private EventItem             _nextEvent;
-    private int                   _elementCount;
-    private GenericXmlInputStream _master;
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/GlobalLock.java b/v2/src/common/org/apache/xmlbeans/impl/common/GlobalLock.java
deleted file mode 100644
index e9d889b..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/GlobalLock.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-/**
- * Whenever multiple locks must be acquired within the implementation of
- * XML Beans, this GlobalLock is acquired first, and then released when all
- * the acutally-needed locks have been acquired.  This prevents deadlocks.
- */ 
-public class GlobalLock
-{
-    private static final Mutex GLOBAL_MUTEX = new Mutex();
-    
-    public static void acquire() throws InterruptedException { GLOBAL_MUTEX.acquire(); }
-    public static void tryToAcquire() { GLOBAL_MUTEX.tryToAcquire(); }
-    public static void release() { GLOBAL_MUTEX.release(); }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/IOUtil.java b/v2/src/common/org/apache/xmlbeans/impl/common/IOUtil.java
deleted file mode 100644
index 3e890f6..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/IOUtil.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.IOException;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.Writer;
-import java.io.Reader;
-import java.io.FileWriter;
-import java.io.FileReader;
-import java.net.URI;
-import java.nio.channels.FileChannel;
-
-public class IOUtil
-{
-    public static void copyCompletely(InputStream input, OutputStream output)
-        throws IOException
-    {
-        //if both are file streams, use channel IO
-        if ((output instanceof FileOutputStream) && (input instanceof FileInputStream))
-        {
-            try
-            {
-                FileChannel target = ((FileOutputStream) output).getChannel();
-                FileChannel source = ((FileInputStream) input).getChannel();
-                
-                source.transferTo(0, Integer.MAX_VALUE, target);
-                
-                source.close();
-                target.close();
-                
-                return;
-            }
-            catch (Exception e)
-            { /* failover to byte stream version */ }
-        }
-        
-        byte[] buf = new byte[8192];
-        while (true)
-        {
-            int length = input.read(buf);
-            if (length < 0)
-                break;
-            output.write(buf, 0, length);
-        }
-        
-        try { input.close(); } catch (IOException ignore) {}
-        try { output.close(); } catch (IOException ignore) {}
-    }
-
-    public static void copyCompletely(Reader input, Writer output)
-        throws IOException
-    {
-        char[] buf = new char[8192];
-        while (true)
-        {
-            int length = input.read(buf);
-            if (length < 0)
-                break;
-            output.write(buf, 0, length);
-        }
-
-        try { input.close(); } catch (IOException ignore) {}
-        try { output.close(); } catch (IOException ignore) {}
-    }
-
-    public static void copyCompletely(URI input, URI output)
-        throws IOException
-    {
-        try
-        {
-            InputStream in = null;
-            try
-            {
-                File f = new File(input);
-                if (f.exists())
-                    in = new FileInputStream(f);
-            }
-            catch (Exception notAFile)
-            {}
-            
-            File out = new File(output);
-            File dir = out.getParentFile();
-            dir.mkdirs();
-            
-            if (in == null)
-                in = input.toURL().openStream();
-                
-            IOUtil.copyCompletely(in, new FileOutputStream(out));
-        }
-        catch (IllegalArgumentException e)
-        {
-            throw new IOException("Cannot copy to " + output);
-        }
-    }
-
-    public static File createDir(File rootdir, String subdir)
-    {
-        File newdir = (subdir == null) ? rootdir : new File(rootdir, subdir);
-        boolean created = (newdir.exists() && newdir.isDirectory()) || newdir.mkdirs();
-        assert(created) : "Could not create " + newdir.getAbsolutePath();
-        return newdir;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/IdentityConstraint.java b/v2/src/common/org/apache/xmlbeans/impl/common/IdentityConstraint.java
deleted file mode 100644
index 18c719c..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/IdentityConstraint.java
+++ /dev/null
@@ -1,586 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.impl.common.ValidatorListener.Event;
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-
-import org.apache.xmlbeans.*;
-import java.util.*;
-
-/**
- * Identity constraint engine. Performs streaming validation of identity constraints.
- * This includes key, keyref, & unique, as well as ID & IDRef.
- */
-public class IdentityConstraint {
-
-    private ConstraintState _constraintStack;
-    private ElementState _elementStack;
-    private Collection _errorListener;
-    private boolean _invalid;
-    private boolean _trackIdrefs; // We only track idrefs if validating from the root element
-
-    public IdentityConstraint(Collection  errorListener, boolean trackIdrefs) {
-        _errorListener = errorListener;
-        _trackIdrefs = trackIdrefs;
-    }
-
-    public void element(Event e, SchemaType st, SchemaIdentityConstraint[] ics) {
-
-        // Construct a new state for the element
-        newState();
-
-        // First dispatch this element event
-        for (ConstraintState cs = _constraintStack ; cs != null ; cs = cs._next)
-            cs.element(e, st);
-
-        // Create a new SelectorState for each new Identity Constraint
-
-        for (int i = 0 ; ics != null && i < ics.length ; i++)
-            newConstraintState(ics[i], e, st);
-    }
-
-    public void endElement(Event e) {
-        // Pop the element state stack and any constraints at this depth
-        if (_elementStack._hasConstraints)
-        {
-            for (ConstraintState cs = _constraintStack ; cs != null && cs != _elementStack._savePoint ; cs = cs._next)
-                cs.remove( e );
-
-            _constraintStack = _elementStack._savePoint;
-        }
-
-        _elementStack = _elementStack._next;
-
-        // Dispatch the event
-        for (ConstraintState cs = _constraintStack ; cs != null ; cs = cs._next)
-            cs.endElement(e);
-
-    }
-
-    public void attr(Event e, QName name, SchemaType st, String value) {
-        for (ConstraintState cs = _constraintStack ; cs != null ; cs = cs._next)
-            cs.attr(e, name, st, value);
-    }
-
-    public void text(Event e, SchemaType st, String value, boolean emptyContent) {
-        for (ConstraintState cs = _constraintStack ; cs != null ; cs = cs._next)
-            cs.text(e, st, value, emptyContent);
-    }
-
-    public boolean isValid() {
-        return !_invalid;
-    }
-
-    private void newConstraintState(SchemaIdentityConstraint ic, Event e, SchemaType st)
-    {
-        if (ic.getConstraintCategory() == SchemaIdentityConstraint.CC_KEYREF)
-            new KeyrefState(ic, e, st);
-        else
-            new SelectorState(ic, e, st);
-    }
-
-    private void buildIdStates()
-    {
-        // Construct states to hold the values for IDs and IDRefs
-        IdState ids = new IdState();
-        if (_trackIdrefs)
-            new IdRefState(ids);
-    }
-
-    private void newState() {
-        boolean firstTime = _elementStack == null;
-
-        ElementState st = new ElementState();
-        st._next = _elementStack;
-        _elementStack = st;
-
-        if (firstTime)
-            buildIdStates();
-    }
-
-    private void emitError ( Event event, String msg )
-    {
-        _invalid = true;
-
-        if (_errorListener != null)
-        {
-            assert event != null;
-            
-            _errorListener.add(errorForEvent(msg, XmlError.SEVERITY_ERROR, event));
-        }
-    }
-
-    public static XmlError errorForEvent(String msg, int severity, Event event)
-    {
-        XmlCursor loc = event.getLocationAsCursor();
-        XmlError error;
-        if (loc!=null)
-            error = XmlError.forCursor(msg, severity, loc);
-        else
-        {
-            Location location = event.getLocation();
-            if (location!=null)
-            {
-                error = XmlError.forLocation(msg, severity,
-                    location.getSystemId(), location.getLineNumber(),
-                    location.getColumnNumber(), location.getCharacterOffset());
-            }
-            else
-            {
-                error = XmlError.forMessage(msg, severity);
-            }
-        }
-        return error;
-    }
-
-    private void setSavePoint( ConstraintState cs )
-    {
-        if (! _elementStack._hasConstraints)
-            _elementStack._savePoint = cs;
-
-        _elementStack._hasConstraints = true;
-    }
-
-    private static XmlObject newValue(SchemaType st, String value)
-    {
-        try {
-            return st.newValue(value);
-        }
-        catch (IllegalArgumentException e) {
-            // This is a bit hacky. newValue throws XmlValueOutOfRangeException which is 
-            // unchecked and declared in typeimpl. I can only catch its parent class, 
-            // typeimpl is built after common.
-
-            // Ignore these exceptions. Assume that validation will catch them.
-            return null;
-        }
-    }
-
-    /**
-     * Return the simple type for schema type. If the schema type is already
-     * simple, just return it. If it is a complex type with simple content,
-     * return the simple type it extends.
-     */
-    static SchemaType getSimpleType(SchemaType st) 
-    {
-        assert st.isSimpleType() || st.getContentType() == SchemaType.SIMPLE_CONTENT : 
-            st + " does not have simple content.";
-
-        while (! st.isSimpleType() )
-            st = st.getBaseType();
-
-        return st;
-    }
-
-    static boolean hasSimpleContent(SchemaType st)
-    {
-        return st.isSimpleType() || st.getContentType() == SchemaType.SIMPLE_CONTENT;
-    }
-
-    public abstract class ConstraintState {
-        ConstraintState _next;
-
-        ConstraintState()
-        {
-            setSavePoint(_constraintStack);
-            _next = _constraintStack;
-            _constraintStack = this;
-        }
-
-        abstract void element(Event e, SchemaType st);
-        abstract void endElement(Event e);
-        abstract void attr(Event e, QName name, SchemaType st, String value);
-        abstract void text(Event e, SchemaType st, String value, boolean emptyContent);
-        abstract void remove(Event e);
-
-    }
-
-    public class SelectorState extends ConstraintState {
-        SchemaIdentityConstraint _constraint;
-        Set _values = new LinkedHashSet();
-        XPath.ExecutionContext _context;
-
-        SelectorState(SchemaIdentityConstraint constraint, Event e, SchemaType st) {
-            _constraint = constraint;
-            _context = new XPath.ExecutionContext();
-            _context.init((XPath)_constraint.getSelectorPath());
-
-            if ( ( _context.start() & XPath.ExecutionContext.HIT ) != 0 )
-                createFieldState(e, st);
-        }
-
-        void addFields(XmlObjectList fields, Event e) 
-        {
-            if (_constraint.getConstraintCategory() == SchemaIdentityConstraint.CC_KEYREF)
-                _values.add(fields);
-            else if (_values.contains(fields)) 
-                emitError(e, "Duplicate key '" + fields + "' for key or unique constraint " + QNameHelper.pretty(_constraint.getName()));
-            else
-                _values.add(fields);
-        }
-
-        void element(Event e, SchemaType st) 
-        {
-            if ( ( _context.element(e.getName()) & XPath.ExecutionContext.HIT) != 0 )
-                createFieldState(e, st);
-        }
-
-        void endElement(Event e) 
-        {
-            _context.end();
-        }
-
-        void createFieldState(Event e, SchemaType st) {
-            new FieldState(this, e, st);
-        }
-
-        void remove(Event e) {
-            // Bubble up key, unique values to keyrefs
-            for (ConstraintState cs = _next ; cs != null ; cs = cs._next )
-            {
-                if (cs instanceof KeyrefState)
-                {
-                    KeyrefState kr = (KeyrefState)cs;
-                    if (kr._constraint.getReferencedKey() == this)
-                        kr.addKeyValues(_values);
-                }
-            }
-        }
-
-        void attr(Event e, QName name, SchemaType st, String value) {}
-        void text(Event e, SchemaType st, String value, boolean emptyContent) {}
-    }
-
-    public class KeyrefState extends SelectorState {
-        Set _keyValues = new HashSet();
-
-        KeyrefState(SchemaIdentityConstraint constraint, Event e, SchemaType st) {
-            super(constraint, e, st);
-        }
-
-        void addKeyValues(final Set values)
-        {
-            // BUG: remove duplicates
-            _keyValues.addAll(values);
-        }
-
-        void remove(Event e) {
-            // First check if there are any keys at the same stack level as this
-            // that may contribute key values to me
-            for (ConstraintState cs = _next ; cs != null && cs != _elementStack._savePoint ; cs = cs._next)
-            {
-                if (cs instanceof SelectorState)
-                {
-                    SelectorState sel = (SelectorState)cs;
-                    if (sel._constraint == _constraint.getReferencedKey())
-                        addKeyValues(sel._values);
-                }
-            }
-
-
-            // validate all values have been seen
-            for (Iterator it = _values.iterator() ; it.hasNext() ; )
-            {
-
-                XmlObjectList fields = (XmlObjectList)it.next();
-                if (fields.unfilled() < 0 && ! _keyValues.contains(fields))
-                {
-                    emitError(e, "Key '" + fields + "' not found (keyRef " + QNameHelper.pretty(_constraint.getName()) + ")");
-                    return;
-                }
-            }
-        }
-    }
-
-    public class FieldState extends ConstraintState {
-        SelectorState _selector;
-        XPath.ExecutionContext[] _contexts;
-        boolean[] _needsValue;
-        XmlObjectList _value;
-
-        FieldState(SelectorState selector, Event e, SchemaType st) {
-
-            // System.out.println("Creating new Field State for: " + e.getName());
-
-            _selector = selector;
-            SchemaIdentityConstraint ic = selector._constraint;
-
-            int fieldCount = ic.getFields().length;
-            _contexts = new XPath.ExecutionContext[fieldCount];
-            _needsValue = new boolean[fieldCount];
-            _value = new XmlObjectList(fieldCount);
-
-            for (int i = 0 ; i < fieldCount ; i++)
-            {
-                _contexts[i] = new XPath.ExecutionContext();
-                _contexts[i].init((XPath)ic.getFieldPath(i));
-                if ( ( _contexts[i].start() & XPath.ExecutionContext.HIT ) != 0 )
-                {
-                    // System.out.println("hit for element: " + e.getName());
-
-                    if (!hasSimpleContent(st))
-                        emitError(e, "Identity constraint field must have simple content");
-                    else
-                        _needsValue[i] = true;
-                }
-            }
-
-        }
-
-        void element(Event e, SchemaType st)
-        {
-            for (int i = 0 ; i < _contexts.length ; i++) {
-                if (_needsValue[i])
-                {
-                    emitError(e, "Identity constraint field must have simple content");
-                    _needsValue[i] = false;
-                }
-            }
-
-            for (int i = 0 ; i < _contexts.length ; i++) {
-                if ( ( _contexts[i].element(e.getName()) & XPath.ExecutionContext.HIT) != 0 )
-                {
-                    if (! hasSimpleContent(st))
-                        emitError(e, "Identity constraint field must have simple content");
-                    else
-                        _needsValue[i] = true;
-                }
-            }
-        }
-
-        void attr(Event e, QName name, SchemaType st, String value) {
-
-            // Null value indicates previously reported validation problem
-            if (value == null) return;
-
-            for (int i = 0 ; i < _contexts.length ; i++) {
-                if ( _contexts[i].attr(name) ) {
-                    XmlObject o = newValue(st, value);
-
-                    // Ignore invalid values. Assume that validation catches these
-                    if (o == null) return;
-
-                    boolean set = _value.set(o, i);
-
-                    if (! set)
-                        emitError(e, "Multiple instances of field with xpath: '" 
-                            + _selector._constraint.getFields()[i] + "' for a selector");
-                }
-
-            }
-        }
-
-
-        void text(Event e, SchemaType st, String value, boolean emptyContent) {
-
-            // Null value indicates previously reported validation problem
-            if (value == null && !emptyContent) return;
-
-            for (int i = 0 ; i < _contexts.length ; i++) {
-                if ( _needsValue[i] ) {
-
-                    if (emptyContent || !hasSimpleContent(st))
-                    {
-                        emitError(e, "Identity constraint field must have simple content");
-                        return;
-                    }
-
-                    SchemaType simpleType = getSimpleType(st);
-                    XmlObject o = newValue(simpleType, value);
-
-                    // Ignore invalid values. Assume that validation catches these
-                    if (o == null) return;
-
-                    boolean set = _value.set(o, i);
-
-                    if (! set)
-                        emitError(e, "Multiple instances of field with xpath: '" 
-                            + _selector._constraint.getFields()[i] + "' for a selector");
-                }
-            }
-        }
-
-        void endElement(Event e) {
-            // reset any  _needsValue flags 
-            // assume that if we didn't see the text, it was because of another validation
-            // error, so don't emit another one.
-            for (int i = 0 ; i < _needsValue.length ; i++)
-            {
-                _contexts[i].end();
-                _needsValue[i] = false;
-            }
-
-        }
-
-        void remove(Event e) 
-        {
-
-            if (_selector._constraint.getConstraintCategory() == SchemaIdentityConstraint.CC_KEY &&
-                _value.unfilled() >= 0 )
-            {
-                // keys must have all values supplied
-                emitError(e, "Key " + QNameHelper.pretty(_selector._constraint.getName()) + " is missing field with xpath: '" + _selector._constraint.getFields()[_value.unfilled()] + "'");
-            }
-            else
-            {
-                // Finished. Add these fields to the selector state
-                _selector.addFields(_value, e);
-            }
-        }
-
-    }
-
-    public class IdState extends ConstraintState
-    {
-        Set _values = new LinkedHashSet();
-
-        IdState() { }
-
-        void attr(Event e, QName name, SchemaType st, String value)
-        {
-            handleValue(e, st, value);
-        }
-
-        void text(Event e, SchemaType st, String value, boolean emptyContent)
-        {
-            if (emptyContent)
-                return;
-
-            handleValue(e, st, value);
-        }
-
-        private void handleValue(Event e, SchemaType st, String value)
-        {
-
-            // Null value indicates previously reported validation problem
-            if (value == null) return;
-
-            if (st == null || st.isNoType())
-            {
-                // ignore invalid values. Assume that validation catches these
-                return;
-            }
-
-            if (XmlID.type.isAssignableFrom(st))
-            {
-                XmlObjectList xmlValue = new XmlObjectList(1);
-                XmlObject o = newValue(XmlID.type, value);
-
-                // Ignore invalid values. Assume that validation catches these
-                if (o == null) return;
-
-                xmlValue.set(o, 0);
-
-                if (_values.contains(xmlValue))
-                    emitError(e, "Duplicate ID value '" + value + "'");
-                else
-                    _values.add(xmlValue);
-            }
-        }
-
-        void element(Event e, SchemaType st) {}
-        void endElement(Event e){}
-        void remove(Event e){}
-
-    }
-
-    public class IdRefState extends ConstraintState
-    {
-        IdState _ids;
-        List _values;
-
-        IdRefState(IdState ids)
-        {
-            _ids = ids;
-            _values = new ArrayList();
-        }
-
-        private void handleValue(Event e, SchemaType st, String value)
-        {
-            // Null value indicates previously reported validation problem
-            if (value == null) return;
-
-            if (st == null || st.isNoType())
-            {
-                // ignore invalid values. Assume that validation catches these
-                return;
-            }
-            if (XmlIDREFS.type.isAssignableFrom(st))
-            {
-                XmlIDREFS lv = (XmlIDREFS)newValue(XmlIDREFS.type, value);
-
-                // Ignore invalid values. Assume that validation catches these
-                if (lv == null) return;
-
-                List l = lv.xgetListValue();
-
-                // Add one value for each idref in the list
-                for (int i = 0 ; i < l.size() ; i++)
-                {
-                    XmlObjectList xmlValue = new XmlObjectList(1);
-                    XmlIDREF idref = (XmlIDREF)l.get(i);
-                    xmlValue.set(idref, 0);
-                    _values.add(xmlValue);
-                }
-            }
-            else if (XmlIDREF.type.isAssignableFrom(st))
-            {
-                XmlObjectList xmlValue = new XmlObjectList(1);
-                XmlIDREF idref = (XmlIDREF)st.newValue(value);
-
-                // Ignore invalid values. Assume that validation catches these
-                if (idref == null) return;
-
-                xmlValue.set(idref, 0);
-                _values.add(xmlValue);
-            }
-        }
-
-        void attr(Event e, QName name, SchemaType st, String value) 
-        {
-            handleValue(e, st, value);
-        }
-        void text(Event e, SchemaType st, String value, boolean emptyContent) 
-        {
-            if (emptyContent)
-                return;
-
-            handleValue(e, st, value);
-        }
-        void remove(Event e) 
-        { 
-            // Validate each ref has a corresponding ID
-            for (Iterator it = _values.iterator() ; it.hasNext() ; )
-            {
-                Object o = it.next();
-                if (! _ids._values.contains(o))
-                {
-                    emitError(e, "ID not found for IDRef value '" + o + "'");
-                }
-            }
-        }
-        void element(Event e, SchemaType st) { }
-        void endElement(Event e) { }
-    }
-
-    private static class ElementState {
-        ElementState _next;
-        boolean _hasConstraints;
-        ConstraintState _savePoint;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/InvalidLexicalValueException.java b/v2/src/common/org/apache/xmlbeans/impl/common/InvalidLexicalValueException.java
deleted file mode 100644
index 25b9ba4..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/InvalidLexicalValueException.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.stream.Location;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 24, 2003
- */
-public class InvalidLexicalValueException
-    extends RuntimeException
-{
-    private Location _location;
-
-    public InvalidLexicalValueException()
-    {
-        super();
-    }
-
-    public InvalidLexicalValueException(String msg)
-    {
-        super(msg);
-    }
-
-    public InvalidLexicalValueException(String msg, Throwable cause)
-    {
-        super(msg, cause);
-    }
-
-    public InvalidLexicalValueException(Throwable cause)
-    {
-        super(cause);
-    }
-
-    public InvalidLexicalValueException(String msg, Location location)
-    {
-        super(msg);
-        setLocation(location);
-    }
-
-    public InvalidLexicalValueException(String msg, Throwable cause, Location location)
-    {
-        super(msg, cause);
-        setLocation(location);
-    }
-
-    public InvalidLexicalValueException(Throwable cause, Location location)
-    {
-        super(cause);
-        setLocation(location);
-    }
-
-    public Location getLocation()
-    {
-        return _location;
-    }
-
-    public void setLocation(Location location)
-    {
-        this._location = location;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/JarHelper.java b/v2/src/common/org/apache/xmlbeans/impl/common/JarHelper.java
deleted file mode 100644
index b4dc039..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/JarHelper.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.*;
-import java.util.jar.JarOutputStream;
-import java.util.jar.JarEntry;
-import java.util.jar.JarInputStream;
-
-/**
- * Provides utility services for jarring and unjarring files and directories.
- * Note that a given instance of JarHelper is not threadsafe with respect to
- * multiple jar operations.
- *
- * @author Patrick Calahan <pcal@bea.com>
- */
-public class JarHelper
-{
-  // ========================================================================
-  // Constants
-
-  private static final int BUFFER_SIZE = 2156;
-
-  // ========================================================================
-  // Variables
-
-  private byte[] mBuffer = new byte[BUFFER_SIZE];
-  private int mByteCount = 0;
-  private boolean mVerbose = false;
-
-  // ========================================================================
-  // Constructor
-
-  /**
-   * Instantiates a new JarHelper.
-   */
-  public JarHelper() {}
-
-  // ========================================================================
-  // Public methods
-
-  /**
-   * Jars a given directory or single file into a JarOutputStream.
-   */
-  public void jarDir(File dirOrFile2Jar, File destJar)
-          throws IOException {
-    FileOutputStream fout = new FileOutputStream(destJar);
-    JarOutputStream jout = new JarOutputStream(fout);
-    //jout.setLevel(0);
-    try {
-      jarDir(dirOrFile2Jar, jout, null);
-    } catch(IOException ioe) {
-      throw ioe;
-    } finally {
-      jout.close();
-      fout.close();
-    }
-  }
-
-  /**
-   * Unjars a given jar file into a given directory.
-   */
-  public void unjarDir(File jarFile, File destDir) throws IOException {
-    BufferedOutputStream dest = null;
-    FileInputStream fis = new FileInputStream(jarFile);
-    unjar(fis,destDir);
-  }
-
-  /**
-   * Given an InputStream on a jar file, unjars the contents into the given
-   * directory.
-   */
-  public void unjar(InputStream in, File destDir) throws IOException {
-    BufferedOutputStream dest = null;
-    JarInputStream jis = new JarInputStream(in);
-    JarEntry entry;
-    while ((entry = jis.getNextJarEntry()) != null) {
-      if (entry.isDirectory()) {
-        File dir = new File(destDir,entry.getName());
-        dir.mkdir();
-        if (entry.getTime() != -1) dir.setLastModified(entry.getTime());
-        continue;
-      }
-      int count;
-      byte data[] = new byte[BUFFER_SIZE];
-      File destFile = new File(destDir, entry.getName());
-      if (mVerbose)
-        System.out.println("unjarring " + destFile +
-                           " from " + entry.getName());
-      FileOutputStream fos = new FileOutputStream(destFile);
-      dest = new BufferedOutputStream(fos, BUFFER_SIZE);
-      while ((count = jis.read(data, 0, BUFFER_SIZE)) != -1) {
-        dest.write(data, 0, count);
-      }
-      dest.flush();
-      dest.close();
-      if (entry.getTime() != -1) destFile.setLastModified(entry.getTime());
-    }
-    jis.close();
-  }
-
-  public void setVerbose(boolean b) {
-    mVerbose = b;
-  }
-
-  // ========================================================================
-  // Private methods
-
-  private static final char SEP = '/';
-  /**
-   * Recursively jars up the given path under the given directory.
-   */
-  private void jarDir(File dirOrFile2jar, JarOutputStream jos, String path)
-          throws IOException {
-    if (mVerbose) System.out.println("checking " + dirOrFile2jar);
-    if (dirOrFile2jar.isDirectory()) {
-      String[] dirList = dirOrFile2jar.list();
-      String subPath = (path == null)? "" : (path+dirOrFile2jar.getName()+SEP);
-      if (path != null) {
-        JarEntry je = new JarEntry(subPath);
-        je.setTime(dirOrFile2jar.lastModified());
-        jos.putNextEntry(je);
-        jos.flush();
-        jos.closeEntry();
-      }
-      for (int i = 0; i < dirList.length; i++) {
-        File f = new File(dirOrFile2jar, dirList[i]);
-        jarDir(f,jos,subPath);
-      }
-    } else {
-      if (mVerbose) System.out.println("adding " + dirOrFile2jar);
-      FileInputStream fis = new FileInputStream(dirOrFile2jar);
-      try {
-        JarEntry entry = new JarEntry(path+dirOrFile2jar.getName());
-        entry.setTime(dirOrFile2jar.lastModified());
-        jos.putNextEntry(entry);
-        while ((mByteCount = fis.read(mBuffer)) != -1) {
-          jos.write(mBuffer, 0, mByteCount);
-          if (mVerbose) System.out.println("wrote " + mByteCount + " bytes");
-        }
-        jos.flush();
-        jos.closeEntry();
-      } catch (IOException ioe) {
-        throw ioe;
-      } finally {
-        fis.close();
-      }
-    }
-  }
-}
\ No newline at end of file
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/Levenshtein.java b/v2/src/common/org/apache/xmlbeans/impl/common/Levenshtein.java
deleted file mode 100644
index 6360b0e..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/Levenshtein.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-public class Levenshtein
-{
-    //****************************
-    // Get minimum of three values
-    //****************************
-
-    private static int minimum(int a, int b, int c)
-    {
-        int mi = a;
-        if (b < mi)
-            mi = b;
-        if (c < mi)
-            mi = c;
-        return mi;
-    }
-
-    //*****************************
-    // Compute Levenshtein distance
-    //*****************************
-    public static int distance(String s, String t)
-    {
-        int d[][]; // matrix
-        int n; // length of s
-        int m; // length of t
-        int i; // iterates through s
-        int j; // iterates through t
-        char s_i; // ith character of s
-        char t_j; // jth character of t
-        int cost; // cost
-
-        // Step 1
-        n = s.length();
-        m = t.length();
-        if (n == 0)
-            return m;
-        if (m == 0)
-            return n;
-        d = new int[n+1][m+1];
-
-        // Step 2
-        for (i = 0; i <= n; i++)
-            d[i][0] = i;
-        for (j = 0; j <= m; j++)
-            d[0][j] = j;
-
-        // Step 3
-        for (i = 1; i <= n; i++)
-        {
-            s_i = s.charAt (i - 1);
-
-            // Step 4
-            for (j = 1; j <= m; j++)
-            {
-                t_j = t.charAt(j - 1);
-
-                // Step 5
-                if (s_i == t_j)
-                    cost = 0;
-                else
-                    cost = 1;
-
-                // Step 6
-                d[i][j] = minimum(d[i-1][j]+1, d[i][j-1]+1, d[i-1][j-1] + cost);
-            }
-        }
-
-        // Step 7
-        return d[n][m];
-    }
-
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/LoadSaveUtils.java b/v2/src/common/org/apache/xmlbeans/impl/common/LoadSaveUtils.java
deleted file mode 100644
index 74b5274..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/LoadSaveUtils.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Nov 11, 2003
- */
-package org.apache.xmlbeans.impl.common;
-
-import org.w3c.dom.Document;
-import org.xml.sax.SAXException;
-
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import java.io.File;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.InputStream;
-
-
-public class LoadSaveUtils
-{
-    public static Document xmlText2GenericDom(InputStream is, Document emptyDoc)
-            throws SAXException, ParserConfigurationException, IOException
-    {
-        SAXParserFactory factory = SAXParserFactory.newInstance();
-        factory.setNamespaceAware(true);
-
-        SAXParser parser = factory.newSAXParser();
-
-        Sax2Dom handler = new Sax2Dom(emptyDoc);
-
-        parser.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
-        parser.parse(is, handler);
-
-        return (Document) handler.getDOM();
-    }
-
-    public static void xmlStreamReader2XmlText(XMLStreamReader xsr, OutputStream os)
-            throws XMLStreamException
-    {
-        //REVIEW (zieg): I think we can cache this factory
-        XMLStreamWriter xsw = XMLOutputFactory.newInstance().createXMLStreamWriter(os);
-
-        while (xsr.hasNext())
-        {
-            switch( xsr.getEventType() )
-            {
-                case XMLStreamReader.ATTRIBUTE:
-                    xsw.writeAttribute(xsr.getPrefix(), xsr.getNamespaceURI(), xsr.getLocalName(), xsr.getText());
-                    break;
-
-                case XMLStreamReader.CDATA:
-                    xsw.writeCData(xsr.getText());
-                    break;
-
-                case XMLStreamReader.CHARACTERS:
-                    xsw.writeCharacters(xsr.getText());
-                    break;
-
-                case XMLStreamReader.COMMENT:
-                    xsw.writeComment(xsr.getText());
-                    break;
-
-                case XMLStreamReader.DTD:
-                    xsw.writeDTD(xsr.getText());
-                    break;
-
-                case XMLStreamReader.END_DOCUMENT:
-                    xsw.writeEndDocument();
-                    break;
-
-                case XMLStreamReader.END_ELEMENT:
-                    xsw.writeEndElement();
-                    break;
-
-                case XMLStreamReader.ENTITY_DECLARATION:
-                    break;
-
-                case XMLStreamReader.ENTITY_REFERENCE:
-                    xsw.writeEntityRef(xsr.getText());
-                    break;
-
-                case XMLStreamReader.NAMESPACE:
-                    xsw.writeNamespace(xsr.getPrefix(), xsr.getNamespaceURI());
-                    break;
-
-                case XMLStreamReader.NOTATION_DECLARATION:
-                    break;
-
-                case XMLStreamReader.PROCESSING_INSTRUCTION:
-                    xsw.writeProcessingInstruction(xsr.getPITarget(), xsr.getPIData());
-                    break;
-
-                case XMLStreamReader.SPACE:
-                    xsw.writeCharacters(xsr.getText());
-                    break;
-
-                case XMLStreamReader.START_DOCUMENT:
-                    xsw.writeStartDocument();
-                    break;
-
-                case XMLStreamReader.START_ELEMENT:
-                    xsw.writeStartElement(xsr.getPrefix()==null ? "" : xsr.getPrefix(), xsr.getLocalName(), xsr.getNamespaceURI());
-
-                    int attrs = xsr.getAttributeCount();
-                    for ( int i = attrs-1; i>=0; i--)
-                    {
-                        xsw.writeAttribute(xsr.getAttributePrefix(i)==null ? "" : xsr.getAttributePrefix(i), xsr.getAttributeNamespace(i), xsr.getAttributeLocalName(i), xsr.getAttributeValue(i));
-                    }
-
-                    int nses = xsr.getNamespaceCount();
-                    for ( int i = 0; i<nses; i++)
-                    {
-                        xsw.writeNamespace(xsr.getNamespacePrefix(i), xsr.getNamespaceURI(i));
-                    }
-                    break;
-            }
-            xsr.next();
-        }
-        xsw.flush();
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/Mutex.java b/v2/src/common/org/apache/xmlbeans/impl/common/Mutex.java
deleted file mode 100644
index b98e90c..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/Mutex.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-public class Mutex
-{
-    private Thread  owner      = null;  // Owner of mutex, null if nobody
-    private int     lock_count = 0;
-
-    /**
-     * Acquire the mutex. The mutex can be acquired multiple times
-     * by the same thread, provided that it is released as many
-     * times as it is acquired. The calling thread blocks until
-     * it has acquired the mutex. (There is no timeout).
-     */
-    public synchronized void acquire() throws InterruptedException
-    {
-        while (tryToAcquire() == false)
-        {
-            this.wait();
-        }
-    }
-
-    /**
-     * Attempts to acquire the mutex. Returns false (and does not
-     * block) if it can't get it.
-     */
-
-    public synchronized boolean tryToAcquire()
-    {
-        // Try to get the mutex. Return true if you got it.
-
-        if( owner == null )
-        {
-            owner = Thread.currentThread();
-            lock_count = 1;
-            return true;
-        }
-
-        if( owner == Thread.currentThread() )
-        {
-            ++lock_count;
-            return true;
-        }
-
-        return false;
-    }
-
-    /**
-     * Release the mutex. The mutex has to be released as many times
-     * as it was acquired to actually unlock the resource. The mutex
-     * must be released by the thread that acquired it
-     *
-     * @throws IllegalStateException (a RuntimeException) if a thread
-     *      other than the current owner tries to release the mutex.
-     */
-
-    public synchronized void release()
-    {
-        if (owner != Thread.currentThread())
-            throw new IllegalStateException("Thread calling release() doesn't own mutex");
-
-        if (--lock_count <= 0)
-        {
-            owner = null;
-            notify();
-        }
-    }
-}
-
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/NameUtil.java b/v2/src/common/org/apache/xmlbeans/impl/common/NameUtil.java
deleted file mode 100644
index efe7571..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/NameUtil.java
+++ /dev/null
@@ -1,760 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.namespace.QName;
-
-import java.util.*;
-
-public class NameUtil
-{
-    // punctuation characters
-    public final static char HYPHEN = '\u002D';
-    public final static char PERIOD = '\u002E';
-    public final static char COLON  = '\u003A';
-    public final static char USCORE = '\u005F';
-    public final static char DOT    = '\u00B7';
-    public final static char TELEIA = '\u0387';
-    public final static char AYAH   = '\u06DD';
-    public final static char ELHIZB = '\u06DE';
-
-    private final static boolean DEBUG = false;
-
-    private final static Set javaWords = new HashSet(Arrays.asList(
-        new String[]
-        {
-              "abstract",
-              "boolean",
-              "break",
-              "byte",
-              "case",
-              "catch",
-              "char",
-              "class",
-              "const",
-              "continue",
-              "default",
-              "do",
-              "double",
-              "else",
-              "extends",
-              "false", // not a keyword
-              "final",
-              "finally",
-              "float",
-              "for",
-              "goto",
-              "if",
-              "implements",
-              "import",
-              "instanceof",
-              "int",
-              "interface",
-              "long",
-              "native",
-              "new",
-              "null", // not a keyword
-              "package",
-              "private",
-              "protected",
-              "public",
-              "return",
-              "short",
-              "static",
-              "super",
-              "switch",
-              "synchronized",
-              "this",
-              "threadsafe",
-              "throw",
-              "throws",
-              "transient",
-              "true", // not a keyword
-              "try",
-              "void",
-              "volatile",
-              "while",
-        }
-    ));
-
-    /*
-    private final static Set javaNames = new HashSet(Arrays.asList(
-        new String[]
-        {
-            "CharSequence",
-            "Cloneable",
-            "Comparable",
-            "Runnable",
-
-            "Boolean",
-            "Byte",
-            "Character",
-            "Class",
-            "ClassLoader",
-            "Compiler",
-            "Double",
-            "Float",
-            "InheritableThreadLocal",
-            "Integer",
-            "Long",
-            "Math",
-            "Number",
-            "Object",
-            "Package",
-            "Process",
-            "Runtime",
-            "RuntimePermission",
-            "SecurityManager",
-            "Short",
-            "StackTraceElement",
-            "StrictMath",
-            "String",
-            "StringBuffer",
-            "System",
-            "Thread",
-            "ThreadGroup",
-            "ThreadLocal",
-            "Throwable",
-            "Void",
-
-            "ArithmeticException",
-            "ArrayIndexOutOfBoundsException",
-            "ArrayStoreException",
-            "ClassCastException",
-            "ClassNotFoundException",
-            "CloneNotSupportedException",
-            "Exception",
-            "IllegalAccessException",
-            "IllegalArgumentException",
-            "IllegalMonitorStateException",
-            "IllegalStateException",
-            "IllegalThreadStateException",
-            "IndexOutOfBoundsException",
-            "InstantiationException",
-            "InterruptedException",
-            "NegativeArraySizeException",
-            "NoSuchFieldException",
-            "NoSuchMethodException",
-            "NullPointerException",
-            "NumberFormatException",
-            "RuntimeException",
-            "SecurityException",
-            "StringIndexOutOfBoundsException",
-            "UnsupportedOperationException",
-
-            "AbstractMethodError",
-            "AssertionError",
-            "ClassCircularityError",
-            "ClassFormatError",
-            "Error",
-            "ExceptionInInitializerError",
-            "IllegalAccessError",
-            "IncompatibleClassChangeError",
-            "InstantiationError",
-            "InternalError",
-            "LinkageError",
-            "NoClassDefFoundError",
-            "NoSuchFieldError",
-            "NoSuchMethodError",
-            "OutOfMemoryError",
-            "StackOverflowError",
-            "ThreadDeath",
-            "UnknownError",
-            "UnsatisfiedLinkError",
-            "UnsupportedClassVersionError",
-            "VerifyError",
-            "VirtualMachineError",
-        }
-    ));
-    */
-
-    private final static Set javaNames = new HashSet(Arrays.asList(
-        new String[]
-        {
-            // 1. all the Java.lang classes [1.4.1 JDK].
-            "CharSequence",
-            "Cloneable",
-            "Comparable",
-            "Runnable",
-
-            "Boolean",
-            "Byte",
-            "Character",
-            "Class",
-            "ClassLoader",
-            "Compiler",
-            "Double",
-            "Float",
-            "InheritableThreadLocal",
-            "Integer",
-            "Long",
-            "Math",
-            "Number",
-            "Object",
-            "Package",
-            "Process",
-            "Runtime",
-            "RuntimePermission",
-            "SecurityManager",
-            "Short",
-            "StackTraceElement",
-            "StrictMath",
-            "String",
-            "StringBuffer",
-            "System",
-            "Thread",
-            "ThreadGroup",
-            "ThreadLocal",
-            "Throwable",
-            "Void",
-
-            "ArithmeticException",
-            "ArrayIndexOutOfBoundsException",
-            "ArrayStoreException",
-            "ClassCastException",
-            "ClassNotFoundException",
-            "CloneNotSupportedException",
-            "Exception",
-            "IllegalAccessException",
-            "IllegalArgumentException",
-            "IllegalMonitorStateException",
-            "IllegalStateException",
-            "IllegalThreadStateException",
-            "IndexOutOfBoundsException",
-            "InstantiationException",
-            "InterruptedException",
-            "NegativeArraySizeException",
-            "NoSuchFieldException",
-            "NoSuchMethodException",
-            "NullPointerException",
-            "NumberFormatException",
-            "RuntimeException",
-            "SecurityException",
-            "StringIndexOutOfBoundsException",
-            "UnsupportedOperationException",
-
-            "AbstractMethodError",
-            "AssertionError",
-            "ClassCircularityError",
-            "ClassFormatError",
-            "Error",
-            "ExceptionInInitializerError",
-            "IllegalAccessError",
-            "IncompatibleClassChangeError",
-            "InstantiationError",
-            "InternalError",
-            "LinkageError",
-            "NoClassDefFoundError",
-            "NoSuchFieldError",
-            "NoSuchMethodError",
-            "OutOfMemoryError",
-            "StackOverflowError",
-            "ThreadDeath",
-            "UnknownError",
-            "UnsatisfiedLinkError",
-            "UnsupportedClassVersionError",
-            "VerifyError",
-            "VirtualMachineError",
-
-            // 2. other classes used as primitive types by xml beans
-            "BigInteger",
-            "BigDecimal",
-            "Enum",
-            "Date",
-            "GDate",
-            "GDuration",
-            "QName",
-            "List",
-
-            // 3. the top few org.apache.xmlbeans names
-            "XmlObject",
-            "XmlCursor",
-            "XmlBeans",
-            "SchemaType",
-        }
-    ));
-
-    public static boolean isValidJavaIdentifier(String id)
-    {
-        if (id == null)
-            throw new IllegalArgumentException("id cannot be null");
-
-        int len = id.length();
-        if (len == 0)
-            return false;
-
-        if (javaWords.contains(id))
-            return false;
-
-        if (!Character.isJavaIdentifierStart(id.charAt(0)))
-            return false;
-
-        for (int i = 1; i < len; i++)
-        {
-            if (!Character.isJavaIdentifierPart(id.charAt(i)))
-                return false;
-        }
-
-        return true;
-    }
-
-    public static String getClassNameFromQName(QName qname)
-    {
-        return getClassNameFromQName(qname, false);
-    }
-
-    public static String getClassNameFromQName(QName qname, boolean useJaxRpcRules)
-    {
-        String java_type = upperCamelCase(qname.getLocalPart(), useJaxRpcRules);
-
-        String uri = qname.getNamespaceURI();
-        String java_pkg = null;
-
-        java_pkg = getPackageFromNamespace(uri, useJaxRpcRules);
-
-        if (java_pkg != null)
-            return java_pkg + "." + java_type;
-        else
-            return java_type;
-    }
-
-    private static final String JAVA_NS_PREFIX="java:";
-    private static final String LANG_PREFIX = "java.";
-
-    public static String getNamespaceFromPackage(final Class clazz)
-    {
-        Class curr_clazz = clazz;
-
-        while (curr_clazz.isArray())
-            curr_clazz = curr_clazz.getComponentType();
-
-        String fullname = clazz.getName();
-        int lastdot = fullname.lastIndexOf('.');
-        String pkg_name = lastdot < 0 ? "" : fullname.substring(0, lastdot);
-
-        //special case for builtin types
-        /*
-        if (curr_clazz.isPrimitive())
-        {
-            pkg_name = c.getJavaLanguageNamespaceUri();
-        }
-        else if (pkg_name.startsWith(LANG_PREFIX))
-        {
-            final String rem_str = pkg_name.substring(LANG_PREFIX.length());
-            pkg_name = c.getJavaLanguageNamespaceUri() + "." + rem_str;
-        }
-        */
-        return JAVA_NS_PREFIX + pkg_name;
-    }
-
-    private static boolean isUriSchemeChar(char ch)
-    {
-        return (ch >= 'a' && ch <='z' ||
-            ch >= 'A' && ch <='Z' ||
-            ch >= '0' && ch <='9' ||
-            ch == '-' || ch == '.' || ch == '+');
-    }
-
-    private static boolean isUriAlphaChar(char ch)
-    {
-        return (ch >= 'a' && ch <='z' || ch >= 'A' && ch <= 'Z');
-    }
-
-    private static int findSchemeColon(String uri)
-    {
-        int len = uri.length();
-        if (len == 0)
-            return -1;
-        if (!isUriAlphaChar(uri.charAt(0)))
-            return -1;
-        int i;
-        for (i = 1; i < len; i++)
-            if (!isUriSchemeChar(uri.charAt(i)))
-                break;
-        if (i == len)
-            return -1;
-        if (uri.charAt(i) != ':')
-            return -1;
-        return i;
-    }
-
-    private static String jls77String(String name)
-    {
-        StringBuffer buf = new StringBuffer(name);
-        for (int i = 0; i < name.length(); i++)
-        {
-            if (!Character.isJavaIdentifierPart(buf.charAt(i)))
-                buf.setCharAt(i, '_');
-        }
-        if (buf.length() == 0 || !Character.isJavaIdentifierStart(buf.charAt(0)))
-            buf.insert(0, '_');
-        if (isJavaReservedWord(name))
-            buf.append('_');
-        return buf.toString();
-    }
-
-    private static List splitDNS(String dns)
-    {
-        // JAXB says: only split+reverse DNS if TLD matches known TLDs or ISO 3166
-        // We are ignoring this now (TH)
-
-        List result = new ArrayList();
-
-        int end = dns.length();
-        int begin = dns.lastIndexOf('.');
-        for ( ; begin != -1 ; begin--)
-        {
-            if (dns.charAt(begin) == '.') {
-                result.add(jls77String(dns.substring(begin + 1, end)));
-                end = begin;
-            }
-        }
-        result.add(jls77String(dns.substring(0, end)));
-
-        // JAXB draft example implies removal of www
-        if (result.size() >= 3 &&
-                ((String)result.get(result.size() - 1)).toLowerCase().equals("www"))
-            result.remove(result.size() - 1);
-
-        return result;
-    }
-
-    private static String processFilename(String filename)
-    {
-        // JAXB says: strip 2 or 3 letter extension or ".html"
-
-        int i = filename.lastIndexOf('.');
-        if (i > 0 && (
-                i + 1 + 2 == filename.length() ||
-                i + 1 + 3 == filename.length() ||
-                filename.substring(i + 1).toLowerCase() == "html"))
-        {
-            return filename.substring(0, i);
-        }
-
-        return filename;
-    }
-
-    public static String getPackageFromNamespace(String uri)
-    {
-        return getPackageFromNamespace(uri, false);
-    }
-
-    public static String getPackageFromNamespace(String uri, boolean useJaxRpcRules)
-    {
-        // special case: no namespace -> package "noNamespace"
-        if (uri == null || uri.length() == 0)
-            return "noNamespace";
-
-        // apply draft JAXB rules
-        int len = uri.length();
-        int i = findSchemeColon(uri);
-        List result = null;
-
-        if ( i >= 0 && uri.substring(0, i).equals("java"))
-            result =  Arrays.asList(uri.substring(i + 1).split("\\."));
-
-        else {
-            result = new ArrayList();
-            outer: for (i = i + 1; i < len; )
-            {
-                while (uri.charAt(i) == '/')
-                    if (++i >= len) break outer;
-                int start = i;
-                while (uri.charAt(i) != '/')
-                    if (++i >= len) break;
-                int end = i;
-                result.add(uri.substring(start, end));
-            }
-            if (result.size() > 1)
-                result.set(result.size() - 1, processFilename((String)result.get(result.size() - 1)));
-
-            if (result.size() > 0)
-            {
-                List splitdns = splitDNS((String)result.get(0));
-                result.remove(0);
-                result.addAll(0, splitdns);
-            }
-        }
-
-        StringBuffer buf = new StringBuffer();
-        for (Iterator it = result.iterator(); it.hasNext(); )
-        {
-            buf.append(nonJavaKeyword(lowerCamelCase((String)it.next(), useJaxRpcRules, true)));
-            buf.append('.');
-        }
-        return buf.substring(0, buf.length() - 1); // chop off extra dot
-    }
-
-    public static void main(String[] args)
-    {
-        for (int i = 0; i < args.length; i++)
-            System.out.println(upperCaseUnderbar(args[i]));
-    }
-
-    /**
-     * Returns a upper-case-and-underbar string using the JAXB rules.
-     * Always starts with a capital letter that is a valid
-     * java identifier start. (If JAXB rules don't produce
-     * one, then "X_" is prepended.)
-     */
-    public static String upperCaseUnderbar(String xml_name)
-    {
-        StringBuffer buf = new StringBuffer();
-        List words = splitWords(xml_name, false);
-
-        final int sz = words.size() - 1;
-        if (sz >= 0 && !Character.isJavaIdentifierStart(((String)words.get(0)).charAt(0)))
-            buf.append("X_");
-
-        for(int i = 0 ; i < sz ; i++)
-        {
-            buf.append((String)words.get(i));
-            buf.append(USCORE);
-        }
-
-        if (sz >= 0)
-        {
-            buf.append((String)words.get(sz));
-        }
-
-        //upcase entire buffer
-        final int len = buf.length();
-        for(int j = 0 ; j < len ; j++)
-        {
-            char c = buf.charAt(j);
-            buf.setCharAt(j, Character.toUpperCase(c));
-        }
-
-        return buf.toString();
-    }
-
-    /**
-     * Returns a camel-cased string using the JAXB rules.
-     * Always starts with a capital letter that is a valid
-     * java identifier start. (If JAXB rules don't produce
-     * one, then "X" is prepended.)
-     */
-    public static String upperCamelCase(String xml_name)
-    {
-        return upperCamelCase(xml_name, false);
-    }
-
-    /**
-     * Returns a camel-cased string, but either JAXB or JAX-RPC rules
-     * are used
-     */
-    public static String upperCamelCase(String xml_name, boolean useJaxRpcRules)
-    {
-        StringBuffer buf = new StringBuffer();
-        List words = splitWords(xml_name, useJaxRpcRules);
-
-        if (words.size() > 0)
-        {
-            if (!Character.isJavaIdentifierStart(((String)words.get(0)).charAt(0)))
-                buf.append("X");
-
-            Iterator itr = words.iterator();
-            while(itr.hasNext())
-                buf.append((String)itr.next());
-        }
-        return buf.toString();
-    }
-
-    /**
-     * Returns a camel-cased string using the JAXB rules,
-     * where the first component is lowercased. Note that
-     * if the first component is an acronym, the whole
-     * thigns gets lowercased.
-     * Always starts with a lowercase letter that is a valid
-     * java identifier start. (If JAXB rules don't produce
-     * one, then "x" is prepended.)
-     */
-    public static String lowerCamelCase(String xml_name)
-    {
-        return lowerCamelCase(xml_name, false, true);
-    }
-
-    /**
-     * Returns a camel-cased string using the JAXB or JAX-RPC rules
-     */
-    public static String lowerCamelCase(String xml_name, boolean useJaxRpcRules,
-                                        boolean fixGeneratedName)
-    {
-        StringBuffer buf = new StringBuffer();
-        List words = splitWords(xml_name, useJaxRpcRules);
-
-        if (words.size() > 0)
-        {
-            String first = ((String)words.get(0)).toLowerCase();
-            char f = first.charAt(0);
-            if (!Character.isJavaIdentifierStart(f) && fixGeneratedName)
-                buf.append("x");
-            buf.append(first);
-
-            Iterator itr = words.iterator();
-            itr.next(); // skip already-lowercased word
-            while(itr.hasNext())
-                buf.append((String)itr.next());
-        }
-        return buf.toString();
-    }
-
-    public static String upperCaseFirstLetter(String s)
-    {
-        if (s.length() == 0 || Character.isUpperCase(s.charAt(0)))
-            return s;
-
-        StringBuffer buf = new StringBuffer(s);
-        buf.setCharAt(0, Character.toUpperCase(buf.charAt(0)));
-        return buf.toString();
-    }
-
-
-    /**
-       split an xml name into words via JAXB approach, upcasing first
-       letter of each word as needed, if upcase is true
-
-       ncname is xml ncname (i.e. no colons).
-    */
-    private static void addCapped(List list, String str)
-    {
-        if (str.length() > 0)
-            list.add(upperCaseFirstLetter(str));
-    }
-
-    public static List splitWords(String name, boolean useJaxRpcRules)
-    {
-        List list = new ArrayList();
-        int len = name.length();
-        int start = 0;
-        int prefix = START;
-        for (int i = 0; i < len; i++)
-        {
-            int current = getCharClass(name.charAt(i), useJaxRpcRules);
-            if (prefix != PUNCT && current == PUNCT)
-            {
-                addCapped(list, name.substring(start, i));
-                while ((current = getCharClass(name.charAt(i), useJaxRpcRules)) == PUNCT)
-                    if (++i >= len) return list;
-                start = i;
-            }
-            else if ((prefix == DIGIT) != (current == DIGIT) ||
-                     (prefix == LOWER && current != LOWER) ||
-                     (isLetter(prefix) != isLetter(current)))
-            {
-                addCapped(list, name.substring(start, i));
-                start = i;
-            }
-            else if (prefix == UPPER && current == LOWER && i > start + 1)
-            {
-                addCapped(list, name.substring(start, i - 1));
-                start = i - 1;
-            }
-            prefix = current;
-        }
-        addCapped(list, name.substring(start));
-        return list;
-    }
-
-    //char classes
-    private final static int START = 0;
-    private final static int PUNCT = 1;
-    private final static int DIGIT = 2;
-    private final static int MARK = 3;
-    private final static int UPPER = 4;
-    private final static int LOWER= 5;
-    private final static int NOCASE= 6;
-
-    public static int getCharClass(char c, boolean useJaxRpcRules)
-    {
-        //ordering is important here.
-        if (isPunctuation(c, useJaxRpcRules))
-            return PUNCT;
-        else if (Character.isDigit(c))
-            return DIGIT;
-        else if (Character.isUpperCase(c))
-            return UPPER;
-        else if (Character.isLowerCase(c))
-            return LOWER;
-        else if (Character.isLetter(c))
-            return NOCASE;
-        else if (Character.isJavaIdentifierPart(c))
-            return MARK;
-        else
-            return PUNCT; // not covered by JAXB: treat it as punctuation
-    }
-
-    private static boolean isLetter(int state)
-    {
-        return (state==UPPER
-              || state==LOWER
-              || state==NOCASE);
-    }
-
-    public static boolean isPunctuation(char c, boolean useJaxRpcRules)
-    {
-        return (c == HYPHEN
-              || c == PERIOD
-              || c == COLON
-              || c == DOT
-              || (c == USCORE && !useJaxRpcRules)
-              || c == TELEIA
-              || c == AYAH
-              || c == ELHIZB);
-    }
-
-    /**
-     * Intended to be applied to a lowercase-starting identifier that
-     * may collide with a Java keyword.  If it does collide, this
-     * prepends the letter "x".
-     */
-    public static String nonJavaKeyword(String word)
-    {
-        if (isJavaReservedWord(word))
-            return 'x' + word;
-        return word;
-    }
-
-    /**
-     * Intended to be applied to an uppercase-starting identifier that
-     * may collide with a java.lang.* classname.  If it does collide, this
-     * prepends the letter "X".
-     */
-    public static String nonJavaCommonClassName(String name)
-    {
-        if (isJavaCommonClassName(name))
-            return "X" + name;
-        return name;
-    }
-
-    private static boolean isJavaReservedWord(String word)
-    {
-        return isJavaReservedWord(word, true);
-    }
-
-    private static boolean isJavaReservedWord(String word, boolean ignore_case)
-    {
-        if (ignore_case)
-            word = word.toLowerCase();
-        return javaWords.contains(word);
-    }
-
-    public static boolean isJavaCommonClassName(String word)
-    {
-        return javaNames.contains(word);
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/PrefixResolver.java b/v2/src/common/org/apache/xmlbeans/impl/common/PrefixResolver.java
deleted file mode 100644
index 32af527..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/PrefixResolver.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-public interface PrefixResolver
-{
-    /**
-     * Caled when the user has a prefix and needs to look up the corresponding
-     * namespace URI. If the prefix is not defined in this context, then this
-     * method may return null.  The no-namespace is represented by the empty
-     * string return result.
-     * 
-     * If the prefix is null or "", then the default namespace is being
-     * requested.  To conform with the XML spec, the default namespace will
-     * return the no-namespace ("") if it is not mapped.
-     */
-    String getNamespaceForPrefix(String prefix);
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/PushedInputStream.java b/v2/src/common/org/apache/xmlbeans/impl/common/PushedInputStream.java
deleted file mode 100644
index db06677..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/PushedInputStream.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.InputStream;
-
-
-public abstract class PushedInputStream extends InputStream
-{
-    private static int defaultBufferSize = 2048;
-    protected byte buf[];
-    protected int writepos;
-    protected int readpos;
-    protected int markpos = -1;
-    protected int marklimit;
-    protected OutputStream outputStream = new InternalOutputStream();
-
-    /**
-     * Called when more bytes need to be written into this stream
-     * (as an OutputStream).
-     *
-     * This method must write at least one byte if the stream is
-     * not ended, and it must not write any bytes if the stream has
-     * already ended.
-     */
-    protected abstract void fill(int requestedBytes) throws IOException;
-
-    /**
-     * Returns the linked output stream.
-     *
-     * This is the output stream that must be written to whenever
-     * the fill method is called.
-     */
-    public final OutputStream getOutputStream()
-    {
-        return outputStream;
-    }
-
-    public PushedInputStream()
-    {
-        this(defaultBufferSize);
-    }
-
-    public PushedInputStream(int size)
-    {
-        if (size < 0)
-        {
-            throw new IllegalArgumentException("Negative initial buffer size");
-        }
-        buf = new byte[size];
-    }
-
-    /**
-     * Makes room for cb more bytes of data
-     */
-    private void shift(int cb)
-    {
-        int savepos = readpos;
-        if (markpos > 0)
-        {
-            if (readpos - markpos > marklimit)
-                markpos = -1;
-            else
-                savepos = markpos;
-        }
-
-        int size = writepos - savepos;
-
-        if (savepos > 0 && buf.length - size >= cb && size <= cb)
-        {
-            System.arraycopy(buf, savepos, buf, 0, size);
-        }
-        else
-        {
-            int newcount = size + cb;
-            byte newbuf[] = new byte[Math.max(buf.length << 1, newcount)];
-            System.arraycopy(buf, savepos, newbuf, 0, size);
-            buf = newbuf;
-        }
-
-        if (savepos > 0)
-        {
-            readpos -= savepos;
-            if (markpos > 0)
-                markpos -= savepos;
-            writepos -= savepos;
-        }
-    }
-
-    public synchronized int read() throws IOException
-    {
-        if (readpos >= writepos)
-        {
-            fill(1);
-            if (readpos >= writepos)
-                return -1;
-        }
-        return buf[readpos++] & 0xff;
-    }
-
-    /**
-     * Read characters into a portion of an array, reading from the underlying
-     * stream at most once if necessary.
-     */
-    public synchronized int read(byte[] b, int off, int len) throws IOException
-    {
-        int avail = writepos - readpos;
-        if (avail < len)
-        {
-            fill(len - avail);
-            avail = writepos - readpos;
-            if (avail <= 0) return -1;
-        }
-        int cnt = (avail < len) ? avail : len;
-        System.arraycopy(buf, readpos, b, off, cnt);
-        readpos += cnt;
-        return cnt;
-    }
-
-    public synchronized long skip(long n) throws IOException
-    {
-        if (n <= 0)
-            return 0;
-
-        long avail = writepos - readpos;
-
-        if (avail < n)
-        {
-            // Fill in buffer to save bytes for reset
-            long req = n - avail;
-            if (req > Integer.MAX_VALUE)
-                req = Integer.MAX_VALUE;
-            fill((int)req);
-            avail = writepos - readpos;
-            if (avail <= 0)
-                return 0;
-        }
-
-        long skipped = (avail < n) ? avail : n;
-        readpos += skipped;
-        return skipped;
-    }
-
-    public synchronized int available()
-    {
-        return writepos - readpos;
-    }
-
-    public synchronized void mark(int readlimit)
-    {
-        marklimit = readlimit;
-        markpos = readpos;
-    }
-
-    public synchronized void reset() throws IOException
-    {
-        if (markpos < 0)
-            throw new IOException("Resetting to invalid mark");
-        readpos = markpos;
-    }
-
-    public boolean markSupported()
-    {
-        return true;
-    }
-
-    private class InternalOutputStream extends OutputStream
-    {
-        public synchronized void write(int b) throws IOException
-        {
-            if (writepos + 1 > buf.length)
-            {
-                shift(1);
-            }
-            buf[writepos] = (byte)b;
-            writepos += 1;
-        }
-
-        public synchronized void write(byte b[], int off, int len)
-        {
-            if ((off < 0) || (off > b.length) || (len < 0) ||
-                ((off + len) > b.length) || ((off + len) < 0))
-                throw new IndexOutOfBoundsException();
-            else if (len == 0)
-                return;
-
-            if (writepos + len > buf.length)
-                shift(len);
-
-            System.arraycopy(b, off, buf, writepos, len);
-            writepos += len;
-        }
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/QNameHelper.java b/v2/src/common/org/apache/xmlbeans/impl/common/QNameHelper.java
deleted file mode 100644
index 4af8829..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/QNameHelper.java
+++ /dev/null
@@ -1,404 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.xml.stream.XMLName;
-
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collections;
-import java.io.UnsupportedEncodingException;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaField;
-
-public class QNameHelper
-{
-    private static final Map WELL_KNOWN_PREFIXES = buildWKP();
-
-    public static XMLName getXMLName(QName qname)
-    {
-        if (qname == null)
-            return null;
-        
-        return XMLNameHelper.forLNS( qname.getLocalPart(), qname.getNamespaceURI() );
-    }
-    
-    public static QName forLNS(String localname, String uri)
-    {
-        if (uri == null)
-            uri = "";
-        return new QName(uri, localname);
-    }
-
-    public static QName forLN(String localname)
-    {
-        return new QName("", localname);
-    }
-
-    public static QName forPretty(String pretty, int offset)
-    {
-        int at = pretty.indexOf('@', offset);
-        if (at < 0)
-            return new QName("", pretty.substring(offset));
-        return new QName(pretty.substring(at + 1), pretty.substring(offset, at));
-    }
-
-    public static String pretty(QName name)
-    {
-        if (name == null)
-            return "null";
-
-        if (name.getNamespaceURI() == null || name.getNamespaceURI().length() == 0)
-            return name.getLocalPart();
-        
-        return name.getLocalPart() + "@" + name.getNamespaceURI();
-    }
-
-    private static final char[] hexdigits = new char[]
-        {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
-
-    private static boolean isSafe(int c)
-    {
-        if (c >= 'a' && c <= 'z')
-            return true;
-        if (c >= 'A' && c <= 'Z')
-            return true;
-        if (c >= '0' && c <= '9')
-            return true;
-        return false;
-    }
-
-    // This produces a string which is a safe filename from the given string s.
-    // To make it a safe filename, the following two transformations are applied:
-    //
-    // 1. First all non-ascii-alphanumeric characters are escaped using
-    //    their UTF8 byte sequence, in the form _xx_xx_xx, for example,
-    //    "Hello_20There" for "Hello There".  (Obviously, a single unicode
-    //    character may expand into as many as three escape patterns.)
-    //    If the resulting string is 64 characters or fewer, that's the result.
-    //
-    // 2. If the resulting string is longer than 64 characters, then it is
-    //    discarded.  Instead, the SHA1 algorithm is run on the original
-    //    string's UTF8 representation, and then the resulting 20-byte message
-    //    digest is turned into a 40-character hex string; then "URI_SHA_1_" is
-    //    prepended.
-    //
-    // The reason for the "shortening" is to avoid filenames longer than about
-    // 256 characters, which are prohibited on Windows NT.
-   
-    public static final int MAX_NAME_LENGTH = 64;
-    
-    public static String hexsafe(String s)
-    {
-        StringBuffer result = new StringBuffer();
-        for (int i = 0; i < s.length(); i++)
-        {
-            char ch = s.charAt(i);
-            if (isSafe(ch))
-            {
-                result.append(ch);
-            }
-            else
-            {
-                byte[] utf8 = null;
-                try
-                {
-                    utf8 = s.substring(i, i + 1).getBytes("UTF-8");
-                for (int j = 0; j < utf8.length; j++)
-                {
-                    result.append('_');
-                    result.append(hexdigits[(utf8[j] >> 4) & 0xF]);
-                    result.append(hexdigits[utf8[j] & 0xF]);
-                }
-            }
-                catch(UnsupportedEncodingException uee)
-                {
-                    // should never happen - UTF-8 i always supported
-                    result.append("_BAD_UTF8_CHAR");
-                }
-            }
-        }
-        
-        // short enough? Done!
-        if (result.length() <= MAX_NAME_LENGTH)
-            return result.toString();
-        
-        // too long? use SHA1
-        try
-        {
-            MessageDigest md = MessageDigest.getInstance("SHA");
-            byte[] inputBytes = null;
-            try
-            {
-                inputBytes = s.getBytes("UTF-8");
-            }
-            catch(UnsupportedEncodingException uee)
-            {
-                // should never happen - UTF-8 is always supported
-                inputBytes = new byte[0];
-            }
-            byte[] digest = md.digest(inputBytes);
-            assert(digest.length == 20); // SHA1 160 bits == 20 bytes
-            result = new StringBuffer("URI_SHA_1_");
-            for (int j = 0; j < digest.length; j++)
-            {
-                result.append(hexdigits[(digest[j] >> 4) & 0xF]);
-                result.append(hexdigits[digest[j] & 0xF]);
-            }
-            return result.toString();
-        }
-        catch (NoSuchAlgorithmException e)
-        {
-            throw new IllegalStateException("Using in a JDK without an SHA implementation");
-        }
-    }
-
-    public static String hexsafedir(QName name)
-    {
-        if (name.getNamespaceURI() == null || name.getNamespaceURI().length() == 0)
-            return "_nons/" + hexsafe(name.getLocalPart());
-        return hexsafe(name.getNamespaceURI()) + "/" + hexsafe(name.getLocalPart());
-    }
-
-    private static Map buildWKP()
-    {
-        Map result = new HashMap();
-        result.put("http://www.w3.org/XML/1998/namespace", "xml");
-        result.put("http://www.w3.org/2001/XMLSchema", "xs");
-        result.put("http://www.w3.org/2001/XMLSchema-instance", "xsi");
-        result.put("http://schemas.xmlsoap.org/wsdl/", "wsdl");
-        result.put("http://schemas.xmlsoap.org/soap/encoding/", "soapenc");
-        result.put("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        return Collections.unmodifiableMap(result);
-    }
-
-    public static String readable(SchemaType sType)
-    {
-        return readable(sType, WELL_KNOWN_PREFIXES);
-    }
-
-    public static String readable(SchemaType sType, Map nsPrefix)
-    {
-        if (sType.getName() != null)
-        {
-            return readable(sType.getName(), nsPrefix);
-        }
-        
-        if (sType.isAttributeType())
-        {
-            return "attribute type " + readable(sType.getAttributeTypeAttributeName(), nsPrefix);
-        }
-        
-        if (sType.isDocumentType())
-        {
-            return "document type " + readable(sType.getDocumentElementName(), nsPrefix);
-        }
-        
-        if (sType.isNoType() || sType.getOuterType() == null)
-        {
-            return "invalid type";
-        }
-        
-        SchemaType outerType = sType.getOuterType();
-        SchemaField container = sType.getContainerField();
-        
-        if (outerType.isAttributeType())
-        {
-            return "type of attribute " + readable(container.getName(), nsPrefix);
-        }
-        else if (outerType.isDocumentType())
-        {
-            return "type of element " + readable(container.getName(), nsPrefix);
-        }
-            
-        if (container != null)
-        {
-            if (container.isAttribute())
-            {
-                return "type of " + container.getName().getLocalPart() + " attribute in " + readable(outerType, nsPrefix);
-            }
-            else
-            {
-                return "type of " + container.getName().getLocalPart() + " element in " + readable(outerType, nsPrefix);
-            }
-        }
-        
-        if (outerType.getBaseType() == sType)
-            return "base type of " + readable(outerType, nsPrefix);
-        else if (outerType.getSimpleVariety() == SchemaType.LIST)
-            return "item type of " + readable(outerType, nsPrefix);
-        else if (outerType.getSimpleVariety() == SchemaType.UNION)
-            return "member type " + sType.getAnonymousUnionMemberOrdinal() + " of " + readable(outerType, nsPrefix);
-        else
-            return "inner type in " + readable(outerType, nsPrefix); 
-    }
-    
-    public static String readable(QName name)
-    {
-        return readable(name, WELL_KNOWN_PREFIXES);
-    }
-
-    public static String readable(QName name, Map prefixes)
-    {
-        if (name.getNamespaceURI().length() == 0)
-            return name.getLocalPart();
-        String prefix = (String)prefixes.get(name.getNamespaceURI());
-        if (prefix != null)
-            return prefix + ":" + name.getLocalPart();
-        return name.getLocalPart() + " in namespace " + name.getNamespaceURI();
-    }
-    
-    public static String suggestPrefix(String namespace)
-    {
-        String result = (String)WELL_KNOWN_PREFIXES.get(namespace);
-        if (result != null)
-            return result;
-        
-        int len = namespace.length();
-        int i = namespace.lastIndexOf('/');
-        if (i > 0 && i == namespace.length() - 1)
-        {
-            len = i;
-            i = namespace.lastIndexOf('/', i - 1);
-        }
-        
-        i += 1; // skip '/', also covers -1 case.
-        
-        if (namespace.startsWith("www.", i))
-        {
-            i += 4; // "www.".length()
-        }
-        
-        while (i < len)
-        {
-            if (XMLChar.isNCNameStart(namespace.charAt(i)))
-                break;
-            i += 1;
-        }
-        
-        for (int end = i + 1; end < len; end += 1)
-        {
-            if (!XMLChar.isNCName(namespace.charAt(end)) || !Character.isLetterOrDigit(namespace.charAt(end)))
-            {
-                len = end;
-                break;
-            }
-        }
-        
-        // prefixes starting with "xml" are forbidden, so change "xmls" -> "xs"
-        if (namespace.length() >= i + 3 && startsWithXml(namespace, i))
-        {
-            if (namespace.length() >= i + 4)
-                return "x" + Character.toLowerCase(namespace.charAt(i + 3));
-            return "ns";
-        }
-        
-        if (len - i > 4) // four or less? leave it.
-        {
-            if (isVowel(namespace.charAt(i + 2)) && !isVowel(namespace.charAt(i + 3)))
-                len = i + 4;
-            else
-                len = i + 3; // more than four? truncate to 3.
-        }
-        
-        if (len - i == 0)
-            return "ns";
-        
-        return namespace.substring(i, len).toLowerCase();
-    }
-    
-    private static boolean startsWithXml(String s, int i)
-    {
-        if (s.length() < i + 3)
-            return false;
-        
-        if (s.charAt(i) != 'X' && s.charAt(i) != 'x')
-            return false;
-        if (s.charAt(i + 1) != 'M' && s.charAt(i + 1) != 'm')
-            return false;
-        if (s.charAt(i + 2) != 'L' && s.charAt(i + 2) != 'l')
-            return false;
-        
-        return true;
-    }
-    
-    private static boolean isVowel(char ch)
-    {
-        switch (ch)
-        {
-            case 'a':
-            case 'e':
-            case 'i':
-            case 'o':
-            case 'u':
-            case 'A':
-            case 'E':
-            case 'I':
-            case 'O':
-            case 'U':
-                return true;
-            default:
-                return false;
-        }
-    }
-    
-    public static String namespace(SchemaType sType)
-    {
-        while (sType != null)
-        {
-            if (sType.getName() != null)
-                return sType.getName().getNamespaceURI();
-            if (sType.getContainerField() != null && sType.getContainerField().getName().getNamespaceURI().length() > 0)
-                return sType.getContainerField().getName().getNamespaceURI();
-            sType = sType.getOuterType();
-        }
-        return "";
-    }
-
-    /**
-     * Returns the local name of the given node.
-     *
-     * @param qname Input name
-     *
-     * @return Local part of the name if prefixed, or the given name if not
-     */
-    public static String getLocalPart(String qname)
-    {
-
-        int index = qname.indexOf(':');
-
-        return (index < 0) ? qname : qname.substring(index + 1);
-    }
-
-    /**
-     * Returns the local name of the given node.
-     *
-     * @param qname Input name
-     *
-     * @return Prefix of name or empty string if none there
-     */
-    public static String getPrefixPart(String qname)
-    {
-
-        int index = qname.indexOf(':');
-
-        return (index >= 0) ? qname.substring(0, index) : "";
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/ReaderInputStream.java b/v2/src/common/org/apache/xmlbeans/impl/common/ReaderInputStream.java
deleted file mode 100644
index 275d8d6..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/ReaderInputStream.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.Reader;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.io.UnsupportedEncodingException;
-import java.io.IOException;
-
-public class ReaderInputStream extends PushedInputStream
-{
-    private Reader reader;
-    private Writer writer;
-    private char[] buf;
-    public static int defaultBufferSize = 2048;
-
-    public ReaderInputStream(Reader reader, String encoding) throws UnsupportedEncodingException
-    {
-        this(reader, encoding, defaultBufferSize);
-    }
-
-    public ReaderInputStream(Reader reader, String encoding, int bufferSize) throws UnsupportedEncodingException
-    {
-        if (bufferSize <= 0)
-            throw new IllegalArgumentException("Buffer size <= 0");
-
-        this.reader = reader;
-        this.writer = new OutputStreamWriter(getOutputStream(), encoding);
-        buf = new char[bufferSize];
-    }
-
-    public void fill(int requestedBytes) throws IOException
-    {
-        do
-        {
-            int chars = reader.read(buf);
-            if (chars < 0)
-                return;
-
-            writer.write(buf, 0, chars);
-            writer.flush();
-        }
-        while (available() <= 0); // loop for safety, in case encoding didn't produce any bytes yet
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/ResolverUtil.java b/v2/src/common/org/apache/xmlbeans/impl/common/ResolverUtil.java
deleted file mode 100644
index d1250fe..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/ResolverUtil.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.xml.sax.EntityResolver;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Method;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Dec 3, 2003
- */
-public class ResolverUtil
-{
-    private static EntityResolver _entityResolver = null;
-
-    static
-    {
-        try
-        {
-            Object o = Class.forName(System.getProperty("xmlbean.entityResolver")).newInstance();
-            _entityResolver = (EntityResolver)o;
-        }
-        catch (Exception e)
-        {
-            _entityResolver = null;
-        }
-    }
-
-    public static EntityResolver getGlobalEntityResolver()
-    {
-        return _entityResolver;
-    }
-
-    public static EntityResolver resolverForCatalog(String catalogFile)
-    {
-        if (catalogFile==null)
-            return null;
-
-        try
-        {
-            Class cmClass = Class.forName("org.apache.xml.resolver.CatalogManager");
-            Constructor cstrCm = cmClass.getConstructor(new Class[] {});
-            Object cmObj = cstrCm.newInstance(new Object[] {});
-            Method cmMethod = cmClass.getMethod("setCatalogFiles", new Class[] {String.class});
-            cmMethod.invoke(cmObj, new String[] {catalogFile});
-
-            Class crClass = Class.forName("org.apache.xml.resolver.tools.CatalogResolver");
-            Constructor cstrCr = crClass.getConstructor(new Class[] {cmClass});
-            Object crObj = cstrCr.newInstance(new Object[] {cmObj});
-
-            return (EntityResolver)crObj;
-        }
-        catch( Exception e )
-        {
-            return null;
-        }
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/Sax2Dom.java b/v2/src/common/org/apache/xmlbeans/impl/common/Sax2Dom.java
deleted file mode 100644
index 67294bb..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/Sax2Dom.java
+++ /dev/null
@@ -1,246 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.w3c.dom.Node;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.ProcessingInstruction;
-import org.w3c.dom.Comment;
-import org.xml.sax.Attributes;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.helpers.DefaultHandler;
-import org.xml.sax.ext.LexicalHandler;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.util.Stack;
-import java.util.Vector;
-
-public class Sax2Dom
-        extends DefaultHandler
-        implements ContentHandler, LexicalHandler
-{
-    public static final String EMPTYSTRING = "";
-    public static final String XML_PREFIX = "xml";
-    public static final String XMLNS_PREFIX = "xmlns";
-    public static final String XMLNS_STRING = "xmlns:";
-    public static final String XMLNS_URI = "http://www.w3.org/2000/xmlns/";
-
-    private Node _root = null;
-    private Document _document = null;
-    private Stack _nodeStk = new Stack();
-    private Vector _namespaceDecls = null;
-
-    public Sax2Dom() throws ParserConfigurationException
-    {
-        final DocumentBuilderFactory factory =
-                DocumentBuilderFactory.newInstance();
-        _document = factory.newDocumentBuilder().newDocument();
-        _root = _document;
-    }
-
-    public Sax2Dom(Node root) throws ParserConfigurationException
-    {
-        _root = root;
-        if (root instanceof Document)
-        {
-            _document = (Document) root;
-        }
-        else if (root != null)
-        {
-            _document = root.getOwnerDocument();
-        }
-        else
-        {
-            final DocumentBuilderFactory factory =
-                    DocumentBuilderFactory.newInstance();
-            _document = factory.newDocumentBuilder().newDocument();
-            _root = _document;
-        }
-    }
-
-    public Node getDOM()
-    {
-        return _root;
-    }
-
-    public void characters(char[] ch, int start, int length)
-    {
-        final Node last = (Node) _nodeStk.peek();
-
-        // No text nodes can be children of root (DOM006 exception)
-        if (last != _document)
-        {
-            final String text = new String(ch, start, length);
-            last.appendChild(_document.createTextNode(text));
-        }
-    }
-
-    public void startDocument()
-    {
-        _nodeStk.push(_root);
-    }
-
-    public void endDocument()
-    {
-        _nodeStk.pop();
-    }
-
-    public void startElement(String namespace, String localName, String qName,
-                             Attributes attrs)
-    {
-        final Element tmp = (Element) _document.createElementNS(namespace, qName);
-
-        // Add namespace declarations first
-        if (_namespaceDecls != null)
-        {
-            final int nDecls = _namespaceDecls.size();
-            for (int i = 0; i < nDecls; i++)
-            {
-                final String prefix = (String) _namespaceDecls.elementAt(i++);
-
-                if (prefix == null || prefix.equals(EMPTYSTRING))
-                {
-                    tmp.setAttributeNS(XMLNS_URI, XMLNS_PREFIX,
-                            (String) _namespaceDecls.elementAt(i));
-                }
-                else
-                {
-                    tmp.setAttributeNS(XMLNS_URI, XMLNS_STRING + prefix,
-                            (String) _namespaceDecls.elementAt(i));
-                }
-            }
-            _namespaceDecls.clear();
-        }
-
-        // Add attributes to element
-        final int nattrs = attrs.getLength();
-        for (int i = 0; i < nattrs; i++)
-        {
-            if (attrs.getLocalName(i) == null)
-            {
-                tmp.setAttribute(attrs.getQName(i), attrs.getValue(i));
-            }
-            else
-            {
-                tmp.setAttributeNS(attrs.getURI(i), attrs.getQName(i),
-                        attrs.getValue(i));
-            }
-        }
-
-        // Append this new node onto current stack node
-        Node last = (Node) _nodeStk.peek();
-        last.appendChild(tmp);
-
-        // Push this node onto stack
-        _nodeStk.push(tmp);
-    }
-
-    public void endElement(String namespace, String localName, String qName)
-    {
-        _nodeStk.pop();
-    }
-
-    public void startPrefixMapping(String prefix, String uri)
-    {
-        if (_namespaceDecls == null)
-        {
-            _namespaceDecls = new Vector(2);
-        }
-        _namespaceDecls.addElement(prefix);
-        _namespaceDecls.addElement(uri);
-    }
-
-    public void endPrefixMapping(String prefix)
-    {
-        // do nothing
-    }
-
-    /**
-     * This class is only used internally so this method should never
-     * be called.
-     */
-    public void ignorableWhitespace(char[] ch, int start, int length)
-    {
-    }
-
-    /**
-     * adds processing instruction node to DOM.
-     */
-    public void processingInstruction(String target, String data)
-    {
-        final Node last = (Node) _nodeStk.peek();
-        ProcessingInstruction pi = _document.createProcessingInstruction(
-                target, data);
-        if (pi != null) last.appendChild(pi);
-    }
-
-    /**
-     * This class is only used internally so this method should never
-     * be called.
-     */
-    public void setDocumentLocator(Locator locator)
-    {
-    }
-
-    /**
-     * This class is only used internally so this method should never
-     * be called.
-     */
-    public void skippedEntity(String name)
-    {
-    }
-
-
-    /**
-     * Lexical Handler method to create comment node in DOM tree.
-     */
-    public void comment(char[] ch, int start, int length)
-    {
-        final Node last = (Node) _nodeStk.peek();
-        Comment comment = _document.createComment(new String(ch, start, length));
-        if (comment != null) last.appendChild(comment);
-    }
-
-    // Lexical Handler methods- not implemented
-    public void startCDATA()
-    {
-    }
-
-    public void endCDATA()
-    {
-    }
-
-    public void startEntity(java.lang.String name)
-    {
-    }
-
-    public void endEntity(String name)
-    {
-    }
-
-    public void startDTD(String name, String publicId, String systemId)
-            throws SAXException
-    {
-    }
-
-    public void endDTD()
-    {
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlInputStream.java b/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlInputStream.java
deleted file mode 100644
index 611af92..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlInputStream.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.InputStream;
-import java.io.BufferedInputStream;
-import java.io.IOException;
-import java.io.ByteArrayInputStream;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.nio.charset.Charset;
-
-public class SniffedXmlInputStream extends BufferedInputStream
-{
-    // We don't sniff more than 192 bytes.
-    public static int MAX_SNIFFED_BYTES = 192;
-
-    public SniffedXmlInputStream(InputStream stream) throws IOException
-    {
-        super(stream);
-
-        // read byte order marks and detect EBCDIC etc
-        _encoding = sniffFourBytes();
-
-        if (_encoding != null && _encoding.equals("IBM037"))
-        {
-            // First four bytes suggest EBCDIC with <?xm at start
-            String encoding = sniffForXmlDecl(_encoding);
-            if (encoding != null)
-                _encoding = encoding;
-        }
-
-        if (_encoding == null)
-        {
-            // Haven't yet determined encoding: sniff for <?xml encoding="..."?>
-            // assuming we can read it as UTF-8.
-            _encoding = sniffForXmlDecl("UTF-8");
-        }
-
-        if (_encoding == null)
-        {
-            // The XML spec says these two things:
-
-            // (1) "In the absence of external character encoding information
-            // (such as MIME headers), parsed entities which are stored in an
-            // encoding other than UTF-8 or UTF-16 must begin with a text
-            // declaration (see 4.3.1 The Text Declaration) containing an
-            // encoding declaration:"
-
-            // (2) "In the absence of information provided by an external
-            // transport protocol (e.g. HTTP or MIME), it is an error
-            // for an entity including an encoding declaration to be
-            // presented to the XML processor in an encoding other than
-            // that named in the declaration, or for an entity which begins
-            // with neither a Byte Order Mark nor an encoding declaration
-            // to use an encoding other than UTF-8."
-
-            // Since we're using a sniffed stream, we do not have external
-            // character encoding information.
-
-            // Since we're here, we also don't have a recognized byte order
-            // mark or an explicit encoding declaration that can be read in
-            // either ASCII or EBDIC style.
-
-            // Therefore, we must use UTF-8.
-
-            _encoding = "UTF-8";
-        }
-    }
-
-    private int readAsMuchAsPossible(byte[] buf, int startAt, int len) throws IOException
-    {
-        int total = 0;
-        while (total < len)
-        {
-            int count = read(buf, startAt + total, len - total);
-            if (count < 0)
-                break;
-            total += count;
-        }
-        return total;
-    }
-
-    private String sniffFourBytes() throws IOException
-    {
-        mark(4);
-        int skip = 0;
-        try
-        {
-            byte[] buf = new byte[4];
-            if (readAsMuchAsPossible(buf, 0, 4) < 4)
-                return null;
-            long result = 0xFF000000 & (buf[0] << 24) | 0x00FF0000 & (buf[1] << 16) | 0x0000FF00 & (buf[2] << 8) | 0x000000FF & buf[3];
-
-            if (result == 0x0000FEFF)
-                return "UCS-4";
-            else if (result == 0xFFFE0000)
-                return "UCS-4";
-            else if (result == 0x0000003C)
-                return "UCS-4BE";
-            else if (result == 0x3C000000)
-                return "UCS-4LE";
-            else if (result == 0x003C003F)
-                return "UTF-16BE";
-            else if (result == 0x3C003F00)
-                return "UTF-16LE";
-            else if (result == 0x3C3F786D)
-                return null; // looks like US-ASCII with <?xml: sniff
-            else if (result == 0x4C6FA794)
-                return "IBM037"; // Sniff for ebdic codepage
-            else if ((result & 0xFFFF0000) == 0xFEFF0000)
-                return "UTF-16";
-            else if ((result & 0xFFFF0000) == 0xFFFE0000)
-                return "UTF-16";
-            else if ((result & 0xFFFFFF00) == 0xEFBBBF00)
-                return "UTF-8";
-            else return null;
-        }
-        finally
-        {
-            reset();
-        }
-    }
-
-    // BUGBUG in JDK: Charset.forName is not threadsafe, so we'll prime it
-    // with the common charsets.
-
-    private static Charset dummy1 = Charset.forName("UTF-8");
-    private static Charset dummy2 = Charset.forName("UTF-16");
-    private static Charset dummy3 = Charset.forName("UTF-16BE");
-    private static Charset dummy4 = Charset.forName("UTF-16LE");
-    private static Charset dummy5 = Charset.forName("ISO-8859-1");
-    private static Charset dummy6 = Charset.forName("US-ASCII");
-    private static Charset dummy7 = Charset.forName("Cp1252");
-
-
-    private String sniffForXmlDecl(String encoding) throws IOException
-    {
-        mark(MAX_SNIFFED_BYTES);
-        try
-        {
-            byte[] bytebuf = new byte[MAX_SNIFFED_BYTES];
-            int bytelimit = readAsMuchAsPossible(bytebuf, 0, MAX_SNIFFED_BYTES);
-
-            // BUGBUG in JDK: Charset.forName is not threadsafe.
-            Charset charset = Charset.forName(encoding);
-            Reader reader = new InputStreamReader(new ByteArrayInputStream(bytebuf, 0, bytelimit), charset);
-            char[] buf = new char[bytelimit];
-            int limit = 0;
-            while (limit < bytelimit)
-            {
-                int count = reader.read(buf, limit, bytelimit - limit);
-                if (count < 0)
-                    break;
-                limit += count;
-            }
-
-            return extractXmlDeclEncoding(buf, 0, limit);
-        }
-        finally
-        {
-            reset();
-        }
-    }
-
-    private String _encoding;
-
-    public String getXmlEncoding()
-    {
-        return _encoding;
-    }
-
-    /* package */ static String extractXmlDeclEncoding(char[] buf, int offset, int size)
-    {
-        int limit = offset + size;
-        int xmlpi = firstIndexOf("<?xml", buf, offset, limit);
-        if (xmlpi >= 0)
-        {
-            int i = xmlpi + 5;
-            ScannedAttribute attr = new ScannedAttribute();
-            while (i < limit)
-            {
-                i = scanAttribute(buf, i, limit, attr);
-                if (i < 0)
-                    return null;
-                if (attr.name.equals("encoding"))
-                    return attr.value;
-            }
-        }
-        return null;
-    }
-
-    private static int firstIndexOf(String s, char[] buf, int startAt, int limit)
-    {
-        assert(s.length() > 0);
-        char[] lookFor = s.toCharArray();
-
-        char firstchar = lookFor[0];
-        searching: for (limit -= lookFor.length; startAt < limit; startAt++)
-        {
-            if (buf[startAt] == firstchar)
-            {
-                for (int i = 1; i < lookFor.length; i++)
-                {
-                    if (buf[startAt + i] != lookFor[i])
-                    {
-                        continue searching;
-                    }
-                }
-                return startAt;
-            }
-        }
-
-        return -1;
-    }
-
-    private static int nextNonmatchingByte(char[] lookFor, char[] buf, int startAt, int limit)
-    {
-        searching: for (; startAt < limit; startAt++)
-        {
-            int thischar = buf[startAt];
-            for (int i = 0; i < lookFor.length; i++)
-                if (thischar == lookFor[i])
-                    continue searching;
-            return startAt;
-        }
-        return -1;
-    }
-
-    private static int nextMatchingByte(char[] lookFor, char[] buf, int startAt, int limit)
-    {
-        searching: for (; startAt < limit; startAt++)
-        {
-            int thischar = buf[startAt];
-            for (int i = 0; i < lookFor.length; i++)
-                if (thischar == lookFor[i])
-                    return startAt;
-        }
-        return -1;
-    }
-
-    private static int nextMatchingByte(char lookFor, char[] buf, int startAt, int limit)
-    {
-        searching: for (; startAt < limit; startAt++)
-        {
-            if (buf[startAt] == lookFor)
-                return startAt;
-        }
-        return -1;
-    }
-    private static char[] WHITESPACE = new char[] { ' ', '\r', '\t', '\n' };
-    private static char[] NOTNAME = new char[] { '=', ' ', '\r', '\t', '\n', '?', '>', '<', '\'', '\"' };
-
-    private static class ScannedAttribute
-    {
-        public String name;
-        public String value;
-    }
-
-    private static int scanAttribute(char[] buf, int startAt, int limit, ScannedAttribute attr)
-    {
-        int nameStart = nextNonmatchingByte(WHITESPACE, buf, startAt, limit);
-        if (nameStart < 0)
-            return -1;
-        int nameEnd = nextMatchingByte(NOTNAME, buf, nameStart, limit);
-        if (nameEnd < 0)
-            return -1;
-        int equals = nextNonmatchingByte(WHITESPACE, buf, nameEnd, limit);
-        if (equals < 0)
-            return -1;
-        if (buf[equals] != '=')
-            return -1;
-        int valQuote = nextNonmatchingByte(WHITESPACE, buf, equals + 1, limit);
-        if (buf[valQuote] != '\'' && buf[valQuote] != '\"')
-            return -1;
-        int valEndquote = nextMatchingByte(buf[valQuote], buf, valQuote + 1, limit);
-        if (valEndquote < 0)
-            return -1;
-        attr.name = new String(buf, nameStart, nameEnd - nameStart);
-        attr.value = new String(buf, valQuote + 1, valEndquote - valQuote - 1);
-        return valEndquote + 1;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlReader.java b/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlReader.java
deleted file mode 100644
index b497814..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/SniffedXmlReader.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.IOException;
-import java.io.Reader;
-import java.io.BufferedReader;
-import java.nio.charset.Charset;
-
-public class SniffedXmlReader extends BufferedReader
-{
-    // We don't sniff more than 192 bytes.
-    public static int MAX_SNIFFED_CHARS = 192;
-
-    public SniffedXmlReader(Reader reader) throws IOException
-    {
-        super(reader);
-        _encoding = sniffForXmlDecl();
-    }
-
-    private int readAsMuchAsPossible(char[] buf, int startAt, int len) throws IOException
-    {
-        int total = 0;
-        while (total < len)
-        {
-            int count = read(buf, startAt + total, len - total);
-            if (count < 0)
-                break;
-            total += count;
-        }
-        return total;
-    }
-
-    // BUGBUG in JDK: Charset.forName is not threadsafe, so we'll prime it
-    // with the common charsets.
-
-    private static Charset dummy1 = Charset.forName("UTF-8");
-    private static Charset dummy2 = Charset.forName("UTF-16");
-    private static Charset dummy3 = Charset.forName("UTF-16BE");
-    private static Charset dummy4 = Charset.forName("UTF-16LE");
-    private static Charset dummy5 = Charset.forName("ISO-8859-1");
-    private static Charset dummy6 = Charset.forName("US-ASCII");
-    private static Charset dummy7 = Charset.forName("Cp1252");
-
-
-    private String sniffForXmlDecl() throws IOException
-    {
-        mark(MAX_SNIFFED_CHARS);
-        try
-        {
-            char[] buf = new char[MAX_SNIFFED_CHARS];
-            int limit = readAsMuchAsPossible(buf, 0, MAX_SNIFFED_CHARS);
-            return SniffedXmlInputStream.extractXmlDeclEncoding(buf, 0, limit);
-        }
-        finally
-        {
-            reset();
-        }
-    }
-
-    private String _encoding;
-
-    public String getXmlEncoding()
-    {
-        return _encoding;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/ValidationContext.java b/v2/src/common/org/apache/xmlbeans/impl/common/ValidationContext.java
deleted file mode 100644
index 9c3d067..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/ValidationContext.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-public interface ValidationContext
-{
-    public void invalid ( String message );
-}
\ No newline at end of file
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/ValidatorListener.java b/v2/src/common/org/apache/xmlbeans/impl/common/ValidatorListener.java
deleted file mode 100644
index 2290282..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/ValidatorListener.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.XmlCursor;
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-
-/**
- * First event must be a BEGIN with no name (to communicate any xsi
- * information).  BEGIN and END need to match.
- */
-
-public interface ValidatorListener
-{
-    public static final int BEGIN    = 1; // Begin element
-    public static final int END      = 2; // End element
-    public static final int TEXT     = 3; // Text
-    public static final int ATTR     = 4; // Attr (non-namespaces, non xsi only)
-    public static final int ENDATTRS = 5; // after BEGIN, after attrs
-
-    void nextEvent ( int kind, Event event );
-
-    public interface Event extends PrefixResolver
-    {
-        public static final int PRESERVE = 1;
-        public static final int REPLACE  = 2;
-        public static final int COLLAPSE = 3;
-
-        XmlCursor getLocationAsCursor ( );
-        Location getLocation();
-
-        String getXsiType  ( ); // BEGIN xsi:type
-        String getXsiNil   ( ); // BEGIN xsi:nil
-        String getXsiLoc   ( ); // BEGIN xsi:schemaLocation
-        String getXsiNoLoc ( ); // BEGIN xsi:noNamespaceSchemaLocation
-                
-        // On START and ATTR
-        QName getName ( );
-        
-        // On TEXT and ATTR
-        String getText ( );
-        String getText (int wsr );
-
-        boolean textIsWhitespace ( );
-    }
-}
\ No newline at end of file
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XBeanDebug.java b/v2/src/common/org/apache/xmlbeans/impl/common/XBeanDebug.java
deleted file mode 100644
index d2467a0..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XBeanDebug.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.File;
-import java.io.PrintStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-
-public class XBeanDebug
-{
-    public static final int TRACE_SCHEMA_LOADING = 0x0001;
-    public static final String traceProp = "org.apache.xmlbeans.impl.debug";
-    public static final String defaultProp = ""; // "TRACE_SCHEMA_LOADING";
-
-    private static int _enabled = initializeBitsFromProperty();
-    private static int _indent = 0;
-    private static String _indentspace = "                                                                                ";
-
-    private static int initializeBitsFromProperty()
-    {
-        int bits = 0;
-        String prop = System.getProperty(traceProp, defaultProp);
-        if (prop.indexOf("TRACE_SCHEMA_LOADING") >= 0)
-            bits |= TRACE_SCHEMA_LOADING;
-        return bits;
-    }
-    public static void enable(int bits)
-    {
-        _enabled = _enabled | bits;
-    }
-
-    public static void disable(int bits)
-    {
-        _enabled = _enabled & ~bits;
-    }
-
-    public static void trace(int bits, String message, int indent)
-    {
-        if (test(bits))
-        {
-            synchronized (XBeanDebug.class)
-            {
-                if (indent < 0)
-                    _indent += indent;
-
-                String spaces = _indent < 0 ? "" : _indent > _indentspace.length() ? _indentspace : _indentspace.substring(0, _indent);
-                String logmessage = Thread.currentThread().getName() + ": " + spaces + message + "\n";
-                System.err.print(logmessage);
-
-                if (indent > 0)
-                    _indent += indent;
-            }
-        }
-    }
-
-    public static boolean test(int bits)
-    {
-        return (_enabled & bits) != 0;
-    }
-    
-    static PrintStream _err;
-    
-    public static String log(String message)
-    {
-        log(message, null);
-        return message;
-    }
-    
-    public static String logStackTrace(String message)
-    {
-        log(message, new Throwable());
-        return message;
-    }
-    
-    private synchronized static String log(String message, Throwable stackTrace)
-    {
-        if (_err == null)
-        {
-            try
-            {
-                File diagnosticFile = File.createTempFile("xmlbeandebug", ".log");
-                _err = new PrintStream(new FileOutputStream(diagnosticFile));
-                System.err.println("Diagnostic XML Bean debug log file created: " + diagnosticFile);
-            }
-            catch (IOException e)
-            {
-                _err = System.err;
-            }
-        }
-        _err.println(message);
-        if (stackTrace != null)
-        {
-            stackTrace.printStackTrace(_err);
-        }
-        return message;
-    }
-    
-    public static Throwable logException(Throwable t)
-    {
-        log(t.getMessage(), t);
-        return t;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XMLChar.java b/v2/src/common/org/apache/xmlbeans/impl/common/XMLChar.java
deleted file mode 100644
index 7a56d8d..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XMLChar.java
+++ /dev/null
@@ -1,650 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-/**
- * This class defines the basic XML character properties. The data
- * in this class can be used to verify that a character is a valid
- * XML character or if the character is a space, name start, or name
- * character.
- * <p>
- * A series of convenience methods are supplied to ease the burden
- * of the developer. Because inlining the checks can improve per
- * character performance, the tables of character properties are
- * public. Using the character as an index into the <code>CHARS</code>
- * array and applying the appropriate mask flag (e.g.
- * <code>MASK_VALID</code>), yields the same results as calling the
- * convenience methods. There is one exception: check the comments
- * for the <code>isValid</code> method for details.
- *
- * @author Glenn Marcy, IBM
- * @author Andy Clark, IBM
- * @author Eric Ye, IBM
- * @author Arnaud  Le Hors, IBM
- * @author Rahul Srivastava, Sun Microsystems Inc.
- *
- * @version $Id: XMLChar.java,v 1.3 2004/02/12 20:06:08 ericvas Exp $
- */
-public class XMLChar {
-
-    //
-    // Constants
-    //
-
-    /** Character flags. */
-    private static final byte[] CHARS = new byte[1 << 16];
-
-    /** Valid character mask. */
-    public static final int MASK_VALID = 0x01;
-
-    /** Space character mask. */
-    public static final int MASK_SPACE = 0x02;
-
-    /** Name start character mask. */
-    public static final int MASK_NAME_START = 0x04;
-
-    /** Name character mask. */
-    public static final int MASK_NAME = 0x08;
-
-    /** Pubid character mask. */
-    public static final int MASK_PUBID = 0x10;
-    
-    /** 
-     * Content character mask. Special characters are those that can
-     * be considered the start of markup, such as '&lt;' and '&amp;'. 
-     * The various newline characters are considered special as well.
-     * All other valid XML characters can be considered content.
-     * <p>
-     * This is an optimization for the inner loop of character scanning.
-     */
-    public static final int MASK_CONTENT = 0x20;
-
-    /** NCName start character mask. */
-    public static final int MASK_NCNAME_START = 0x40;
-
-    /** NCName character mask. */
-    public static final int MASK_NCNAME = 0x80;
-
-    //
-    // Static initialization
-    //
-
-    static {
-        
-        //
-        // [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] |
-        //              [#xE000-#xFFFD] | [#x10000-#x10FFFF]
-        //
-
-        int charRange[] = { 
-            0x0009, 0x000A, 0x000D, 0x000D, 0x0020, 0xD7FF, 0xE000, 0xFFFD,
-        };
-
-        //
-        // [3] S ::= (#x20 | #x9 | #xD | #xA)+
-        //
-
-        int spaceChar[] = { 
-            0x0020, 0x0009, 0x000D, 0x000A,
-        };
-
-        //
-        // [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
-        //                  CombiningChar | Extender
-        //
-
-        int nameChar[] = { 
-            0x002D, 0x002E, // '-' and '.'
-        };
-
-        //
-        // [5] Name ::= (Letter | '_' | ':') (NameChar)*
-        //
-
-        int nameStartChar[] = { 
-            0x003A, 0x005F, // ':' and '_'
-        };
-
-        //
-        // [13] PubidChar ::= #x20 | 0xD | 0xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
-        //
-
-        int pubidChar[] = {
-            0x000A, 0x000D, 0x0020, 0x0021, 0x0023, 0x0024, 0x0025, 0x003D,
-            0x005F
-        };
-
-        int pubidRange[] = {
-            0x0027, 0x003B, 0x003F, 0x005A, 0x0061, 0x007A
-        };
-
-        //
-        // [84] Letter ::= BaseChar | Ideographic
-        //
-
-        int letterRange[] = {
-            // BaseChar
-            0x0041, 0x005A, 0x0061, 0x007A, 0x00C0, 0x00D6, 0x00D8, 0x00F6,
-            0x00F8, 0x0131, 0x0134, 0x013E, 0x0141, 0x0148, 0x014A, 0x017E,
-            0x0180, 0x01C3, 0x01CD, 0x01F0, 0x01F4, 0x01F5, 0x01FA, 0x0217,
-            0x0250, 0x02A8, 0x02BB, 0x02C1, 0x0388, 0x038A, 0x038E, 0x03A1,
-            0x03A3, 0x03CE, 0x03D0, 0x03D6, 0x03E2, 0x03F3, 0x0401, 0x040C,
-            0x040E, 0x044F, 0x0451, 0x045C, 0x045E, 0x0481, 0x0490, 0x04C4,
-            0x04C7, 0x04C8, 0x04CB, 0x04CC, 0x04D0, 0x04EB, 0x04EE, 0x04F5,
-            0x04F8, 0x04F9, 0x0531, 0x0556, 0x0561, 0x0586, 0x05D0, 0x05EA,
-            0x05F0, 0x05F2, 0x0621, 0x063A, 0x0641, 0x064A, 0x0671, 0x06B7,
-            0x06BA, 0x06BE, 0x06C0, 0x06CE, 0x06D0, 0x06D3, 0x06E5, 0x06E6,
-            0x0905, 0x0939, 0x0958, 0x0961, 0x0985, 0x098C, 0x098F, 0x0990,
-            0x0993, 0x09A8, 0x09AA, 0x09B0, 0x09B6, 0x09B9, 0x09DC, 0x09DD,
-            0x09DF, 0x09E1, 0x09F0, 0x09F1, 0x0A05, 0x0A0A, 0x0A0F, 0x0A10,
-            0x0A13, 0x0A28, 0x0A2A, 0x0A30, 0x0A32, 0x0A33, 0x0A35, 0x0A36,
-            0x0A38, 0x0A39, 0x0A59, 0x0A5C, 0x0A72, 0x0A74, 0x0A85, 0x0A8B,
-            0x0A8F, 0x0A91, 0x0A93, 0x0AA8, 0x0AAA, 0x0AB0, 0x0AB2, 0x0AB3,
-            0x0AB5, 0x0AB9, 0x0B05, 0x0B0C, 0x0B0F, 0x0B10, 0x0B13, 0x0B28,
-            0x0B2A, 0x0B30, 0x0B32, 0x0B33, 0x0B36, 0x0B39, 0x0B5C, 0x0B5D,
-            0x0B5F, 0x0B61, 0x0B85, 0x0B8A, 0x0B8E, 0x0B90, 0x0B92, 0x0B95,
-            0x0B99, 0x0B9A, 0x0B9E, 0x0B9F, 0x0BA3, 0x0BA4, 0x0BA8, 0x0BAA,
-            0x0BAE, 0x0BB5, 0x0BB7, 0x0BB9, 0x0C05, 0x0C0C, 0x0C0E, 0x0C10,
-            0x0C12, 0x0C28, 0x0C2A, 0x0C33, 0x0C35, 0x0C39, 0x0C60, 0x0C61,
-            0x0C85, 0x0C8C, 0x0C8E, 0x0C90, 0x0C92, 0x0CA8, 0x0CAA, 0x0CB3,
-            0x0CB5, 0x0CB9, 0x0CE0, 0x0CE1, 0x0D05, 0x0D0C, 0x0D0E, 0x0D10,
-            0x0D12, 0x0D28, 0x0D2A, 0x0D39, 0x0D60, 0x0D61, 0x0E01, 0x0E2E,
-            0x0E32, 0x0E33, 0x0E40, 0x0E45, 0x0E81, 0x0E82, 0x0E87, 0x0E88,
-            0x0E94, 0x0E97, 0x0E99, 0x0E9F, 0x0EA1, 0x0EA3, 0x0EAA, 0x0EAB,
-            0x0EAD, 0x0EAE, 0x0EB2, 0x0EB3, 0x0EC0, 0x0EC4, 0x0F40, 0x0F47,
-            0x0F49, 0x0F69, 0x10A0, 0x10C5, 0x10D0, 0x10F6, 0x1102, 0x1103,
-            0x1105, 0x1107, 0x110B, 0x110C, 0x110E, 0x1112, 0x1154, 0x1155,
-            0x115F, 0x1161, 0x116D, 0x116E, 0x1172, 0x1173, 0x11AE, 0x11AF,
-            0x11B7, 0x11B8, 0x11BC, 0x11C2, 0x1E00, 0x1E9B, 0x1EA0, 0x1EF9,
-            0x1F00, 0x1F15, 0x1F18, 0x1F1D, 0x1F20, 0x1F45, 0x1F48, 0x1F4D,
-            0x1F50, 0x1F57, 0x1F5F, 0x1F7D, 0x1F80, 0x1FB4, 0x1FB6, 0x1FBC,
-            0x1FC2, 0x1FC4, 0x1FC6, 0x1FCC, 0x1FD0, 0x1FD3, 0x1FD6, 0x1FDB,
-            0x1FE0, 0x1FEC, 0x1FF2, 0x1FF4, 0x1FF6, 0x1FFC, 0x212A, 0x212B,
-            0x2180, 0x2182, 0x3041, 0x3094, 0x30A1, 0x30FA, 0x3105, 0x312C,
-            0xAC00, 0xD7A3,
-            // Ideographic
-            0x3021, 0x3029, 0x4E00, 0x9FA5,
-        };
-        int letterChar[] = {
-            // BaseChar
-            0x0386, 0x038C, 0x03DA, 0x03DC, 0x03DE, 0x03E0, 0x0559, 0x06D5,
-            0x093D, 0x09B2, 0x0A5E, 0x0A8D, 0x0ABD, 0x0AE0, 0x0B3D, 0x0B9C,
-            0x0CDE, 0x0E30, 0x0E84, 0x0E8A, 0x0E8D, 0x0EA5, 0x0EA7, 0x0EB0,
-            0x0EBD, 0x1100, 0x1109, 0x113C, 0x113E, 0x1140, 0x114C, 0x114E,
-            0x1150, 0x1159, 0x1163, 0x1165, 0x1167, 0x1169, 0x1175, 0x119E,
-            0x11A8, 0x11AB, 0x11BA, 0x11EB, 0x11F0, 0x11F9, 0x1F59, 0x1F5B,
-            0x1F5D, 0x1FBE, 0x2126, 0x212E,
-            // Ideographic
-            0x3007,
-        };
-
-        //
-        // [87] CombiningChar ::= ...
-        //
-
-        int combiningCharRange[] = {
-            0x0300, 0x0345, 0x0360, 0x0361, 0x0483, 0x0486, 0x0591, 0x05A1,
-            0x05A3, 0x05B9, 0x05BB, 0x05BD, 0x05C1, 0x05C2, 0x064B, 0x0652,
-            0x06D6, 0x06DC, 0x06DD, 0x06DF, 0x06E0, 0x06E4, 0x06E7, 0x06E8,
-            0x06EA, 0x06ED, 0x0901, 0x0903, 0x093E, 0x094C, 0x0951, 0x0954,
-            0x0962, 0x0963, 0x0981, 0x0983, 0x09C0, 0x09C4, 0x09C7, 0x09C8,
-            0x09CB, 0x09CD, 0x09E2, 0x09E3, 0x0A40, 0x0A42, 0x0A47, 0x0A48,
-            0x0A4B, 0x0A4D, 0x0A70, 0x0A71, 0x0A81, 0x0A83, 0x0ABE, 0x0AC5,
-            0x0AC7, 0x0AC9, 0x0ACB, 0x0ACD, 0x0B01, 0x0B03, 0x0B3E, 0x0B43,
-            0x0B47, 0x0B48, 0x0B4B, 0x0B4D, 0x0B56, 0x0B57, 0x0B82, 0x0B83,
-            0x0BBE, 0x0BC2, 0x0BC6, 0x0BC8, 0x0BCA, 0x0BCD, 0x0C01, 0x0C03,
-            0x0C3E, 0x0C44, 0x0C46, 0x0C48, 0x0C4A, 0x0C4D, 0x0C55, 0x0C56,
-            0x0C82, 0x0C83, 0x0CBE, 0x0CC4, 0x0CC6, 0x0CC8, 0x0CCA, 0x0CCD,
-            0x0CD5, 0x0CD6, 0x0D02, 0x0D03, 0x0D3E, 0x0D43, 0x0D46, 0x0D48,
-            0x0D4A, 0x0D4D, 0x0E34, 0x0E3A, 0x0E47, 0x0E4E, 0x0EB4, 0x0EB9,
-            0x0EBB, 0x0EBC, 0x0EC8, 0x0ECD, 0x0F18, 0x0F19, 0x0F71, 0x0F84,
-            0x0F86, 0x0F8B, 0x0F90, 0x0F95, 0x0F99, 0x0FAD, 0x0FB1, 0x0FB7,
-            0x20D0, 0x20DC, 0x302A, 0x302F,
-        };
-
-        int combiningCharChar[] = {
-            0x05BF, 0x05C4, 0x0670, 0x093C, 0x094D, 0x09BC, 0x09BE, 0x09BF,
-            0x09D7, 0x0A02, 0x0A3C, 0x0A3E, 0x0A3F, 0x0ABC, 0x0B3C, 0x0BD7,
-            0x0D57, 0x0E31, 0x0EB1, 0x0F35, 0x0F37, 0x0F39, 0x0F3E, 0x0F3F,
-            0x0F97, 0x0FB9, 0x20E1, 0x3099, 0x309A,
-        };
-
-        //
-        // [88] Digit ::= ...
-        //
-
-        int digitRange[] = {
-            0x0030, 0x0039, 0x0660, 0x0669, 0x06F0, 0x06F9, 0x0966, 0x096F,
-            0x09E6, 0x09EF, 0x0A66, 0x0A6F, 0x0AE6, 0x0AEF, 0x0B66, 0x0B6F,
-            0x0BE7, 0x0BEF, 0x0C66, 0x0C6F, 0x0CE6, 0x0CEF, 0x0D66, 0x0D6F,
-            0x0E50, 0x0E59, 0x0ED0, 0x0ED9, 0x0F20, 0x0F29,
-        };
-
-        //
-        // [89] Extender ::= ...
-        //
-
-        int extenderRange[] = {
-            0x3031, 0x3035, 0x309D, 0x309E, 0x30FC, 0x30FE,
-        };
-
-        int extenderChar[] = {
-            0x00B7, 0x02D0, 0x02D1, 0x0387, 0x0640, 0x0E46, 0x0EC6, 0x3005,
-        };
-
-        //
-        // SpecialChar ::= '<', '&', '\n', '\r', ']'
-        //
-
-        int specialChar[] = {
-            '<', '&', '\n', '\r', ']',
-        };
-
-        //
-        // Initialize
-        //
-
-        // set valid characters
-        for (int i = 0; i < charRange.length; i += 2) {
-            for (int j = charRange[i]; j <= charRange[i + 1]; j++) {
-                CHARS[j] |= MASK_VALID | MASK_CONTENT;
-            }
-        }
-
-        // remove special characters
-        for (int i = 0; i < specialChar.length; i++) {
-            CHARS[specialChar[i]] = (byte)(CHARS[specialChar[i]] & ~MASK_CONTENT);
-        }
-
-        // set space characters
-        for (int i = 0; i < spaceChar.length; i++) {
-            CHARS[spaceChar[i]] |= MASK_SPACE;
-        }
-
-        // set name start characters
-        for (int i = 0; i < nameStartChar.length; i++) {
-            CHARS[nameStartChar[i]] |= MASK_NAME_START | MASK_NAME | 
-                                       MASK_NCNAME_START | MASK_NCNAME;
-        }
-        for (int i = 0; i < letterRange.length; i += 2) {
-            for (int j = letterRange[i]; j <= letterRange[i + 1]; j++) {
-                CHARS[j] |= MASK_NAME_START | MASK_NAME |
-                            MASK_NCNAME_START | MASK_NCNAME;
-            }
-        }
-        for (int i = 0; i < letterChar.length; i++) {
-            CHARS[letterChar[i]] |= MASK_NAME_START | MASK_NAME |
-                                    MASK_NCNAME_START | MASK_NCNAME;
-        }
-
-        // set name characters
-        for (int i = 0; i < nameChar.length; i++) {
-            CHARS[nameChar[i]] |= MASK_NAME | MASK_NCNAME;
-        }
-        for (int i = 0; i < digitRange.length; i += 2) {
-            for (int j = digitRange[i]; j <= digitRange[i + 1]; j++) {
-                CHARS[j] |= MASK_NAME | MASK_NCNAME;
-            }
-        }
-        for (int i = 0; i < combiningCharRange.length; i += 2) {
-            for (int j = combiningCharRange[i]; j <= combiningCharRange[i + 1]; j++) {
-                CHARS[j] |= MASK_NAME | MASK_NCNAME;
-            }
-        }
-        for (int i = 0; i < combiningCharChar.length; i++) {
-            CHARS[combiningCharChar[i]] |= MASK_NAME | MASK_NCNAME;
-        }
-        for (int i = 0; i < extenderRange.length; i += 2) {
-            for (int j = extenderRange[i]; j <= extenderRange[i + 1]; j++) {
-                CHARS[j] |= MASK_NAME | MASK_NCNAME;
-            }
-        }
-        for (int i = 0; i < extenderChar.length; i++) {
-            CHARS[extenderChar[i]] |= MASK_NAME | MASK_NCNAME;
-        }
-
-        // remove ':' from allowable MASK_NCNAME_START and MASK_NCNAME chars
-        CHARS[':'] &= ~(MASK_NCNAME_START | MASK_NCNAME);
-
-        // set Pubid characters
-        for (int i = 0; i < pubidChar.length; i++) {
-            CHARS[pubidChar[i]] |= MASK_PUBID;
-        }
-        for (int i = 0; i < pubidRange.length; i += 2) {
-            for (int j = pubidRange[i]; j <= pubidRange[i + 1]; j++) {
-                CHARS[j] |= MASK_PUBID;
-            }
-        }
-
-    } // <clinit>()
-
-    //
-    // Public static methods
-    //
-
-    /**
-     * Returns true if the specified character is a supplemental character.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isSupplemental(int c) {
-        return (c >= 0x10000 && c <= 0x10FFFF);
-    }
-
-    /**
-     * Returns true the supplemental character corresponding to the given
-     * surrogates.
-     *
-     * @param h The high surrogate.
-     * @param l The low surrogate.
-     */
-    public static int supplemental(char h, char l) {
-        return (h - 0xD800) * 0x400 + (l - 0xDC00) + 0x10000;
-    }
-
-    /**
-     * Returns the high surrogate of a supplemental character
-     *
-     * @param c The supplemental character to "split".
-     */
-    public static char highSurrogate(int c) {
-        return (char) (((c - 0x00010000) >> 10) + 0xD800);
-    }
-
-    /**
-     * Returns the low surrogate of a supplemental character
-     *
-     * @param c The supplemental character to "split".
-     */
-    public static char lowSurrogate(int c) {
-        return (char) (((c - 0x00010000) & 0x3FF) + 0xDC00);
-    }
-
-    /**
-     * Returns whether the given character is a high surrogate
-     *
-     * @param c The character to check.
-     */
-    public static boolean isHighSurrogate(int c) {
-        return (0xD800 <= c && c <= 0xDBFF);
-    }
-
-    /**
-     * Returns whether the given character is a low surrogate
-     *
-     * @param c The character to check.
-     */
-    public static boolean isLowSurrogate(int c) {
-        return (0xDC00 <= c && c <= 0xDFFF);
-    }
-
-
-    /**
-     * Returns true if the specified character is valid. This method
-     * also checks the surrogate character range from 0x10000 to 0x10FFFF.
-     * <p>
-     * If the program chooses to apply the mask directly to the
-     * <code>CHARS</code> array, then they are responsible for checking
-     * the surrogate character range.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isValid(int c) {
-        return (c < 0x10000 && (CHARS[c] & MASK_VALID) != 0) ||
-               (0x10000 <= c && c <= 0x10FFFF);
-    } // isValid(int):boolean
-
-    /**
-     * Returns true if the specified character is invalid.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isInvalid(int c) {
-        return !isValid(c);
-    } // isInvalid(int):boolean
-
-    /**
-     * Returns true if the specified character can be considered content.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isContent(int c) {
-        return (c < 0x10000 && (CHARS[c] & MASK_CONTENT) != 0) ||
-               (0x10000 <= c && c <= 0x10FFFF);
-    } // isContent(int):boolean
-
-    /**
-     * Returns true if the specified character can be considered markup.
-     * Markup characters include '&lt;', '&amp;', and '%'.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isMarkup(int c) {
-        return c == '<' || c == '&' || c == '%';
-    } // isMarkup(int):boolean
-
-    /**
-     * Returns true if the specified character is a space character
-     * as defined by production [3] in the XML 1.0 specification.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isSpace(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_SPACE) != 0;
-    } // isSpace(int):boolean
-
-    /**
-     * Returns true if the specified character is a space character
-     * as amdended in the XML 1.1 specification.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isXML11Space(int c) {
-        return (c < 0x10000 && (CHARS[c] & MASK_SPACE) != 0) ||
-            c == 0x85 || c == 0x2028;
-    } // isXML11Space(int):boolean
-
-    /**
-     * Returns true if the specified character is a valid name start
-     * character as defined by production [5] in the XML 1.0
-     * specification.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isNameStart(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_NAME_START) != 0;
-    } // isNameStart(int):boolean
-
-    /**
-     * Returns true if the specified character is a valid name
-     * character as defined by production [4] in the XML 1.0
-     * specification.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isName(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_NAME) != 0;
-    } // isName(int):boolean
-
-    /**
-     * Returns true if the specified character is a valid NCName start
-     * character as defined by production [4] in Namespaces in XML
-     * recommendation.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isNCNameStart(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_NCNAME_START) != 0;
-    } // isNCNameStart(int):boolean
-
-    /**
-     * Returns true if the specified character is a valid NCName
-     * character as defined by production [5] in Namespaces in XML
-     * recommendation.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isNCName(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_NCNAME) != 0;
-    } // isNCName(int):boolean
-
-    /**
-     * Returns true if the specified character is a valid Pubid
-     * character as defined by production [13] in the XML 1.0
-     * specification.
-     *
-     * @param c The character to check.
-     */
-    public static boolean isPubid(int c) {
-        return c < 0x10000 && (CHARS[c] & MASK_PUBID) != 0;
-    } // isPubid(int):boolean
-
-    /*
-     * [5] Name ::= (Letter | '_' | ':') (NameChar)*
-     */
-    /**
-     * Check to see if a string is a valid Name according to [5]
-     * in the XML 1.0 Recommendation
-     *
-     * @param name string to check
-     * @return true if name is a valid Name
-     */
-    public static boolean isValidName(String name) {
-        if (name.length() == 0)
-            return false;
-        char ch = name.charAt(0);
-        if( isNameStart(ch) == false)
-           return false;
-        for (int i = 1; i < name.length(); i++ ) {
-           ch = name.charAt(i);
-           if( isName( ch ) == false ){
-              return false;
-           }
-        }
-        return true;
-    } // isValidName(String):boolean
-    
-
-    /*
-     * from the namespace rec
-     * [4] NCName ::= (Letter | '_') (NCNameChar)*
-     */
-    /**
-     * Check to see if a string is a valid NCName according to [4]
-     * from the XML Namespaces 1.0 Recommendation
-     *
-     * @param ncName string to check
-     * @return true if name is a valid NCName
-     */
-    public static boolean isValidNCName(String ncName) {
-        if (ncName.length() == 0)
-            return false;
-        char ch = ncName.charAt(0);
-        if( isNCNameStart(ch) == false)
-           return false;
-        for (int i = 1; i < ncName.length(); i++ ) {
-           ch = ncName.charAt(i);
-           if( isNCName( ch ) == false ){
-              return false;
-           }
-        }
-        return true;
-    } // isValidNCName(String):boolean
-
-    /*
-     * [7] Nmtoken ::= (NameChar)+
-     */
-    /**
-     * Check to see if a string is a valid Nmtoken according to [7]
-     * in the XML 1.0 Recommendation
-     *
-     * @param nmtoken string to check
-     * @return true if nmtoken is a valid Nmtoken 
-     */
-    public static boolean isValidNmtoken(String nmtoken) {
-        if (nmtoken.length() == 0)
-            return false;
-        for (int i = 0; i < nmtoken.length(); i++ ) {
-           char ch = nmtoken.charAt(i);
-           if(  ! isName( ch ) ){
-              return false;
-           }
-        }
-        return true;
-    } // isValidName(String):boolean
-
-
-
-
-
-    // encodings
-
-    /**
-     * Returns true if the encoding name is a valid IANA encoding.
-     * This method does not verify that there is a decoder available
-     * for this encoding, only that the characters are valid for an
-     * IANA encoding name.
-     *
-     * @param ianaEncoding The IANA encoding name.
-     */
-    public static boolean isValidIANAEncoding(String ianaEncoding) {
-        if (ianaEncoding != null) {
-            int length = ianaEncoding.length();
-            if (length > 0) {
-                char c = ianaEncoding.charAt(0);
-                if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')) {
-                    for (int i = 1; i < length; i++) {
-                        c = ianaEncoding.charAt(i);
-                        if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
-                            (c < '0' || c > '9') && c != '.' && c != '_' &&
-                            c != '-') {
-                            return false;
-                        }
-                    }
-                    return true;
-                }
-            }
-        }
-        return false;
-    } // isValidIANAEncoding(String):boolean
-
-    /**
-     * Returns true if the encoding name is a valid Java encoding.
-     * This method does not verify that there is a decoder available
-     * for this encoding, only that the characters are valid for an
-     * Java encoding name.
-     *
-     * @param javaEncoding The Java encoding name.
-     */
-    public static boolean isValidJavaEncoding(String javaEncoding) {
-        if (javaEncoding != null) {
-            int length = javaEncoding.length();
-            if (length > 0) {
-                for (int i = 1; i < length; i++) {
-                    char c = javaEncoding.charAt(i);
-                    if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
-                        (c < '0' || c > '9') && c != '.' && c != '_' &&
-                        c != '-') {
-                        return false;
-                    }
-                }
-                return true;
-            }
-        }
-        return false;
-    } // isValidIANAEncoding(String):boolean
-
-} // class XMLChar
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XMLNameHelper.java b/v2/src/common/org/apache/xmlbeans/impl/common/XMLNameHelper.java
deleted file mode 100644
index 505c76c..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XMLNameHelper.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.xml.stream.XMLName;
-import javax.xml.namespace.QName;
-import java.io.UnsupportedEncodingException;
-
-public class XMLNameHelper
-{
-    public static QName getQName(XMLName xmlName)
-    {
-        if (xmlName == null)
-            return null;
-        
-        return QNameHelper.forLNS( xmlName.getLocalName(), xmlName.getNamespaceUri() );
-    }
-    
-    public static XMLName forLNS(String localname, String uri)
-    {
-        if (uri == null)
-            uri = "";
-        return new XmlNameImpl(uri, localname);
-    }
-
-    public static XMLName forLN(String localname)
-    {
-        return new XmlNameImpl("", localname);
-    }
-
-    public static XMLName forPretty(String pretty, int offset)
-    {
-        int at = pretty.indexOf('@', offset);
-        if (at < 0)
-            return new XmlNameImpl("", pretty.substring(offset));
-        return new XmlNameImpl(pretty.substring(at + 1), pretty.substring(offset, at));
-    }
-
-    public static String pretty(XMLName name)
-    {
-        if (name == null)
-            return "null";
-
-        if (name.getNamespaceUri() == null || name.getNamespaceUri().length() == 0)
-            return name.getLocalName();
-        
-        return name.getLocalName() + "@" + name.getNamespaceUri();
-    }
-
-    private static final char[] hexdigits = new char[]
-        {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
-
-    private static boolean isSafe(int c)
-    {
-        if (c >= 'a' && c <= 'z')
-            return true;
-        if (c >= 'A' && c <= 'Z')
-            return true;
-        if (c >= '0' && c <= '9')
-            return true;
-        return false;
-    }
-
-    public static String hexsafe(String s)
-    {
-        StringBuffer result = new StringBuffer();
-        for (int i = 0; i < s.length(); i++)
-        {
-            char ch = s.charAt(i);
-            if (isSafe(ch))
-            {
-                result.append(ch);
-            }
-            else
-            {
-                byte[] utf8 = null;
-                try
-                {
-                    utf8 = s.substring(i, i + 1).getBytes("UTF-8");
-                for (int j = 0; j < utf8.length; j++)
-                {
-                    result.append('_');
-                    result.append(hexdigits[(utf8[j] >> 4) & 0xF]);
-                    result.append(hexdigits[utf8[j] & 0xF]);
-                    }
-                }
-                catch(UnsupportedEncodingException uee)
-                {
-                    // should never happen - UTF-8 is always supported
-                    result.append("_BAD_UTF8_CHAR");
-                }
-            }
-        }
-        return result.toString();
-    }
-
-    public static String hexsafedir(XMLName name)
-    {
-        if (name.getNamespaceUri() == null || name.getNamespaceUri().length() == 0)
-            return "_nons/" + hexsafe(name.getLocalName());
-        return hexsafe(name.getNamespaceUri()) + "/" + hexsafe(name.getLocalName());
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XPath.java b/v2/src/common/org/apache/xmlbeans/impl/common/XPath.java
deleted file mode 100644
index 7f958fe..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XPath.java
+++ /dev/null
@@ -1,1006 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.namespace.QName;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-public class XPath
-{
-    public static class XPathCompileException extends XmlException
-    {
-        XPathCompileException ( XmlError err )
-        {
-            super( err.toString(), null, err );
-        }
-    }
-
-    //
-    //
-    //
-
-    public static class ExecutionContext
-    {
-        public ExecutionContext ( )
-        {
-            _stack = new ArrayList();
-        }
-
-        public static final int HIT     = 0x1;
-        public static final int DESCEND = 0x2;
-        public static final int ATTRS   = 0x4;
-        
-        public final void init ( XPath xpath )
-        {
-            if (_xpath != xpath)
-            {
-                _xpath = xpath;
-                
-                _paths = new PathContext [ xpath._selector._paths.length ];
-                
-                for ( int i = 0 ; i < _paths.length ; i++ )
-                    _paths[ i ] = new PathContext();
-            }
-
-            _stack.clear();
-
-            for ( int i = 0 ; i < _paths.length ; i++ )
-                _paths[ i ].init( xpath._selector._paths[ i ] );
-        }
-
-        public final int start ( )
-        {
-            int result = 0;
-            
-            for ( int i = 0 ; i < _paths.length ; i++ )
-                result |= _paths[ i ].start();
-
-            return result;
-        }
-        
-        public final int element ( QName name )
-        {
-            assert name != null;
-            
-            _stack.add( name );
-            
-            int result = 0;
-            
-            for ( int i = 0 ; i < _paths.length ; i++ )
-                result |= _paths[ i ].element( name );
-
-            return result;
-        }
-        
-        public final boolean attr ( QName name )
-        {
-            boolean hit = false;
-            
-            for ( int i = 0 ; i < _paths.length ; i++ )
-                hit = hit | _paths[ i ].attr( name );
-
-            return hit;
-        }
-
-        public final void end ( )
-        {
-            _stack.remove( _stack.size() - 1 );
-            
-            for ( int i = 0 ; i < _paths.length ; i++ )
-                _paths[ i ].end();
-        }
-        
-        private final class PathContext
-        {
-            PathContext ( )
-            {
-                _prev = new ArrayList();
-            }
-            
-            void init ( Step steps )
-            {
-                _curr = steps;
-                _prev.clear();
-            }
-
-            private QName top ( int i )
-            {
-                return (QName) ExecutionContext.this._stack.get( _stack.size() - 1 - i );
-            }
-
-            private void backtrack ( )
-            {
-                assert _curr != null;
-                
-                if (_curr._hasBacktrack)
-                {
-                    _curr = _curr._backtrack;
-                    return;
-                }
-
-                assert !_curr._deep;
-
-                _curr = _curr._prev;
-
-                search: for ( ; !_curr._deep ; _curr = _curr._prev )
-                {
-                    int t = 0;
-                    
-                    for ( Step s = _curr ; !s._deep ; s = s._prev )
-                    {
-                        if (!s.match( top( t++ )))
-                            continue search;
-                    }
-
-                    break;
-                }
-            }
-            
-            int start ( )
-            {
-                assert _curr != null;
-                assert _curr._prev == null;
-
-                if (_curr._name != null)
-                    return _curr._flags;
-
-                // If the steps consist on only a terminator, then the path can
-                // only be '.'.  In this case, we get a hit, but there is
-                // nothing else to match.  No need to backtrack.
-
-                _curr = null;
-
-                return HIT;
-            }
-            
-            int element ( QName name )
-            {
-                _prev.add( _curr );
-
-                if (_curr == null)
-                    return 0;
-
-                assert _curr._name != null;
-
-                if (!_curr._attr && _curr.match( name ))
-                {
-                    if ((_curr = _curr._next)._name != null)
-                        return _curr._flags;
-                    
-                    backtrack();
-                    
-                    return _curr == null ? HIT : HIT | _curr._flags;
-                }
-
-                for ( ; ; )
-                {
-                    backtrack();
-
-                    if (_curr == null)
-                        return 0;
-
-                    if (_curr.match( name ))
-                    {
-                        _curr = _curr._next;
-                        break;
-                    }
-
-                    if (_curr._deep)
-                        break;
-                }
-                
-                return _curr._flags;
-            }
-            
-            boolean attr ( QName name )
-            {
-                return _curr != null && _curr._attr && _curr.match( name );
-            }
-
-            void end ( )
-            {
-                _curr = (Step) _prev.remove( _prev.size() - 1 );
-            }
-            
-            private Step _curr;
-            private List _prev;
-        }
-
-        private XPath         _xpath;
-        private ArrayList     _stack;
-        private PathContext[] _paths;
-    }
-
-    //
-    //
-    //
-
-    public static XPath compileXPath ( String xpath )
-        throws XPathCompileException
-    {
-        return compileXPath( xpath, "$this", null );
-    }
-    
-    public static XPath compileXPath ( String xpath, String currentNodeVar )
-        throws XPathCompileException
-    {
-        return compileXPath( xpath, currentNodeVar, null );
-    }
-
-    public static XPath compileXPath ( String xpath, Map namespaces )
-            throws XPathCompileException
-    {
-        return compileXPath( xpath, "$this", namespaces );
-    }
-    
-    public static XPath compileXPath (
-        String xpath, String currentNodeVar, Map namespaces )
-            throws XPathCompileException
-    {
-        return
-            new CompilationContext( namespaces, currentNodeVar ).
-                compile( xpath );
-    }
-
-    private static class CompilationContext
-    {
-        CompilationContext ( Map namespaces, String currentNodeVar )
-        {
-            assert
-                _currentNodeVar == null ||
-                    _currentNodeVar.startsWith( "$" );
-
-            if (currentNodeVar == null)
-                _currentNodeVar = "$this";
-            else
-                _currentNodeVar = currentNodeVar;
-
-            _namespaces = new HashMap();
-            
-            _externalNamespaces =
-                namespaces == null ? new HashMap() : namespaces;
-        }
-
-        XPath compile ( String expr ) throws XPathCompileException
-        {
-            _offset = 0;
-            _line = 1;
-            _column = 1;
-            _expr = expr;
-
-            return tokenizeXPath();
-        }
-        
-        int currChar ( )
-        {
-            return currChar( 0 );
-        }
-        
-        int currChar ( int offset )
-        {
-            return
-                _offset + offset >= _expr.length()
-                    ? -1
-                    : _expr.charAt( _offset + offset );
-        }
-        
-        void advance ( )
-        {
-            if (_offset < _expr.length())
-            {
-                char ch = _expr.charAt( _offset );
-                
-                _offset++;
-                _column++;
-
-                if (ch == '\r' || ch == '\n')
-                {
-                    _line++;
-                    _column = 1;
-
-                    if (_offset + 1 < _expr.length())
-                    {
-                        char nextCh = _expr.charAt( _offset + 1 );
-
-                        if ((nextCh == '\r' || nextCh == '\n') && ch != nextCh)
-                            _offset++;
-                    }
-                }
-            }
-        }
-
-        void advance ( int count )
-        {
-            assert count >= 0;
-            
-            while ( count-- > 0 )
-                advance();
-        }
-                
-        boolean isWhitespace ( )
-        {
-            return isWhitespace( 0 );
-        }
-        
-        boolean isWhitespace ( int offset )
-        {
-            int ch = currChar( offset );
-            return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r';
-        }
-
-        boolean isNCNameStart ( )
-        {
-            return
-                currChar() == -1
-                    ? false :
-                    XMLChar.isNCNameStart( currChar() );
-        }
-        
-        boolean isNCName ( )
-        {
-            return
-                currChar() == -1
-                    ? false :
-                    XMLChar.isNCName( currChar() );
-        }
-        
-        boolean startsWith ( String s )
-        {
-            return startsWith( s, 0 );
-        }
-        
-        boolean startsWith ( String s, int offset )
-        {
-            if (_offset + offset >= _expr.length())
-                return false;
-            
-            return _expr.startsWith( s, _offset + offset );
-        }
-
-        private XPathCompileException newError ( String msg )
-        {
-            XmlError err =
-                XmlError.forLocation(
-                    msg, XmlError.SEVERITY_ERROR, null,
-                    _line, _column, _offset );
-                                     
-            return new XPathCompileException( err );
-        }
-
-        String lookupPrefix ( String prefix ) throws XPathCompileException
-        {
-            if (_namespaces.containsKey( prefix ))
-                return (String) _namespaces.get( prefix );
-            
-            if (_externalNamespaces.containsKey( prefix ))
-                return (String) _externalNamespaces.get( prefix );
-
-            if (prefix.equals( "xml" ))
-                  return "http://www.w3.org/XML/1998/namespace";
-            
-            if (prefix.equals( "xs" ))
-                  return "http://www.w3.org/2001/XMLSchema";
-            
-            if (prefix.equals( "xsi" ))
-                  return "http://www.w3.org/2001/XMLSchema-instance";
-            
-            if (prefix.equals( "fn" ))
-                  return "http://www.w3.org/2002/11/xquery-functions";
-
-            if (prefix.equals( "xdt" ))
-                  return "http://www.w3.org/2003/11/xpath-datatypes";
-
-            if (prefix.equals( "local" ))
-                  return "http://www.w3.org/2003/11/xquery-local-functions";
-
-            throw newError( "Undefined prefix: " + prefix );
-        }
-
-        private boolean parseWhitespace ( ) throws XPathCompileException
-        {
-            boolean sawSpace = false;
-            
-            while ( isWhitespace() )
-            {
-                advance();
-                sawSpace = true;
-            }
-
-            return sawSpace;
-        }
-        
-        //
-        // Tokenizing will consume whitespace followed by the tokens, separated
-        // by whitespace.  The whitespace following the last token is not
-        // consumed.
-        //
-        
-        private boolean tokenize ( String s )
-        {
-            assert s.length() > 0;
-            
-            int offset = 0;
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s, offset ))
-                return false;
-
-            offset += s.length();
-
-            advance( offset );
-
-            return true;
-        }
-
-        private boolean tokenize ( String s1, String s2 )
-        {
-            assert s1.length() > 0;
-            assert s2.length() > 0;
-            
-            int offset = 0;
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s1, offset ))
-                return false;
-
-            offset += s1.length();
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s2, offset ))
-                return false;
-                
-            offset += s2.length();
-
-            advance( offset );
-
-            return true;
-        }
-
-        private boolean tokenize ( String s1, String s2, String s3 )
-        {
-            assert s1.length() > 0;
-            assert s2.length() > 0;
-            assert s3.length() > 0;
-            
-            int offset = 0;
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s1, offset ))
-                return false;
-
-            offset += s1.length();
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s2, offset ))
-                return false;
-                
-            offset += s2.length();
-
-            while ( isWhitespace( offset ) )
-                offset++;
-            
-            if (!startsWith( s3, offset ))
-                return false;
-            
-            offset += s3.length();
-                
-            advance( offset );
-
-            return true;
-        }
-
-        private String tokenizeNCName ( ) throws XPathCompileException
-        {
-            parseWhitespace();
-            
-            if (!isNCNameStart())
-                throw newError( "Expected non-colonized name" );
-
-            StringBuffer sb = new StringBuffer();
-
-            sb.append( (char) currChar() );
-
-            for ( advance() ; isNCName() ; advance() )
-                sb.append( (char) currChar() );
-
-            return sb.toString();
-        }
-
-        private QName getAnyQName ( )
-        {
-            return new QName( "", "" );
-        }
-        
-        private QName tokenizeQName ( ) throws XPathCompileException
-        {
-            if (tokenize( "*" ))
-                return getAnyQName();
-            
-            String ncName = tokenizeNCName();
-
-            if (!tokenize( ":" ))
-                return new QName( lookupPrefix( "" ), ncName );
-            
-            return
-                new QName(
-                    lookupPrefix( ncName ),
-                    tokenize( "*" ) ? "" : tokenizeNCName() );
-        }
-        
-        private String tokenizeQuotedUri ( ) throws XPathCompileException
-        {
-            char quote;
-            
-            if (tokenize( "\"" ))
-                quote = '"';
-            else  if (tokenize( "'" ))
-                quote = '\'';
-            else
-                throw newError( "Expected quote (\" or ')" );
-
-            StringBuffer sb = new StringBuffer();
-
-            for ( ; ; )
-            {
-                if (currChar() == -1)
-                    throw newError( "Path terminated in URI literal" );
-                
-                if (currChar() == quote)
-                {
-                    advance();
-                    
-                    if (currChar() != quote)
-                        break;
-                }
-                
-                sb.append( (char) currChar() );
-                
-                advance();
-            }
-
-            return sb.toString();
-        }
-
-        private Step addStep ( boolean deep, boolean attr, QName name, Step steps )
-        {
-            Step step = new Step( deep, attr, name );
-
-            if (steps == null)
-                return step;
-
-            Step s = steps;
-            
-            while ( steps._next != null )
-                steps = steps._next;
-
-            steps._next = step;
-            step._prev = steps;
-
-            return s;
-        }
-
-        private Step tokenizeSteps ( ) throws XPathCompileException
-        {
-            if (tokenize( "/" ))
-                throw newError( "Absolute paths unsupported" );
-
-            boolean deep;
-
-            if (tokenize( "$", _currentNodeVar, "//" ) || tokenize( ".", "//" ))
-                deep = true;
-            else if (tokenize( "$", _currentNodeVar, "/" ) || tokenize( ".", "/" ))
-                deep = false;
-            else if (tokenize( "$", _currentNodeVar ) || tokenize( "." ))
-                return addStep( false, false, null, null );
-            else
-                deep = false;
-
-            Step steps = null;
-
-            // Compile the steps removing /. and mergind //. with the next step
-
-            boolean deepDot = false;
-
-            for ( ; ; )
-            {
-                if (tokenize( "attribute", "::" ) || tokenize( "@" ))
-                {
-                    steps = addStep( deep, true, tokenizeQName(), steps );
-                    break;
-                }
-
-                QName name;
-                
-                if (tokenize( "." ))
-                    deepDot = deepDot || deep;
-                else if (tokenize( "child", "::" ) && (name = tokenizeQName()) != null)
-                    steps = addStep( deep, false, name, steps );
-                else if ((name = tokenizeQName()) != null)
-                    steps = addStep( deep, false, name, steps );
-
-                if (tokenize( "//" ))
-                {
-                    deep = true;
-                    deepDot = false;
-                }
-                else if (tokenize( "/" ))
-                {
-                    if (deepDot)
-                        deep = true;
-                }
-                else
-                    break;
-            }
-
-            // If there was a //. at the end of th path, then we need to make
-            // two paths, one with * at the end and another with @* at the end.
-
-            if ((_lastDeepDot = deepDot))
-            {
-                _lastDeepDot = true;
-                steps = addStep( true, false, getAnyQName(), steps );
-            }
-
-            // Add sentinal step (_name == null)
-            
-            return addStep( false, false, null, steps );
-        }
-
-        private void computeBacktrack ( Step steps )
-            throws XPathCompileException
-        {
-            //
-            // Compute static backtrack information
-            //
-            // Note that I use the fact that _hasBacktrack is initialized to
-            // false and _backtrack to null in the following code.
-            //
-
-            Step s, t;
-            
-            for ( s = steps ; s != null ; s = t )
-            {
-                // Compute the segment from [ s, t )
-                
-                for ( t = s._next ; t != null && !t._deep ; )
-                    t = t._next;
-
-                // If the segment is NOT rooted at //, then the backtrack is
-                // null for the entire segment, including possible attr and/or
-                // sentinal
-
-                if (!s._deep)
-                {
-                    for ( Step u = s ; u != t ; u = u._next )
-                        u._hasBacktrack = true;
-
-                    continue;
-                }
-
-                // Compute the sequence [ s, u ) of length n which contain no
-                // wild steps.
-
-                int n = 0;
-                Step u = s;
-
-                while ( u != t && u._name != null && !u.isWild() && !u._attr )
-                {
-                    n++;
-                    u = u._next;
-                }
-
-                // Now, apply KMP to [ s, u ) for fast backtracking
-
-                QName [] pattern = new QName [ n + 1 ];
-                int [] kmp = new int [ n + 1 ];
-
-                Step v = s;
-                
-                for ( int i = 0 ; i < n ; i++ )
-                {
-                    pattern[ i ] = v._name;
-                    v = v._next;
-                }
-
-                pattern[ n ] = getAnyQName();
-
-                int i = 0;
-                int j = kmp[ 0 ] = -1;
-
-                while ( i < n )
-                {
-                    while ( j > -1 && !pattern[ i ].equals( pattern[ j ] ) )
-                        j = kmp[ j ];
-
-                    if (pattern[ ++i ].equals( pattern[ ++j ] ))
-                        kmp[ i ] = kmp[ j ];
-                    else
-                        kmp[ i ] = j;
-                }
-
-                i = 0;
-                
-                for ( v = s ; v != u ; v = v._next )
-                {
-                    v._hasBacktrack = true;
-                    v._backtrack = s;
-                    
-                    for ( j = kmp[ i ] ; j > 0 ; j-- )
-                        v._backtrack = v._backtrack._next;
-                    
-                    i++;
-                }
-
-                // Compute the success backtrack and stuff it into an attr and
-                // sentinal if they exist for this segment
-                
-                v = s;
-
-                if (n > 1)
-                {
-                    for ( j = kmp[ n - 1 ] ; j > 0 ; j-- )
-                        v = v._next;
-                }
-
-                if (u != t && u._attr)
-                {
-                    u._hasBacktrack = true;
-                    u._backtrack = v;
-                    u = u._next;
-                }
-
-                if (u != t && u._name == null)
-                {
-                    u._hasBacktrack = true;
-                    u._backtrack = v;
-                }
-
-                // The first part of a deep segment always backtracks to itself
-                
-                assert s._deep;
-
-                s._hasBacktrack = true;
-                s._backtrack = s;
-            }
-        }
-
-        private void tokenizePath ( ArrayList paths )
-            throws XPathCompileException
-        {
-            _lastDeepDot = false;
-            
-            Step steps = tokenizeSteps();
-            
-            computeBacktrack( steps );
-
-            paths.add( steps );
-
-            // If the last path ended in //., that path will match all
-            // elements, here I make a path which matches all attributes.
-
-            if (_lastDeepDot)
-            {
-                _sawDeepDot = true;
-                
-                Step s = null;
-
-                for ( Step t = steps ; t != null ; t = t._next )
-                {
-                    if (t._next != null && t._next._next == null)
-                        s = addStep( t._deep, true, t._name, s );
-                    else
-                        s = addStep( t._deep, t._attr, t._name, s );
-                }
-
-                computeBacktrack( s );
-
-                paths.add( s );
-            }
-        }
-        
-        private Selector tokenizeSelector ( ) throws XPathCompileException
-        {
-            ArrayList paths = new ArrayList();
-
-            tokenizePath( paths );
-
-            while ( tokenize( "|" ) )
-                tokenizePath( paths );
-
-            return new Selector( (Step[]) paths.toArray( new Step [ 0 ] ) );
-        }
-
-        private XPath tokenizeXPath ( ) throws XPathCompileException
-        {
-            for ( ; ; )
-            {
-                if (tokenize( "declare", "namespace" ))
-                {
-                    if (!parseWhitespace())
-                        throw newError( "Expected prefix after 'declare namespace'" );
-
-                    String prefix = tokenizeNCName();
-
-                    if (!tokenize( "=" ))
-                        throw newError( "Expected '='" );
-
-                    String uri = tokenizeQuotedUri();
-                    
-                    if (_namespaces.containsKey( prefix ))
-                    {
-                        throw newError(
-                            "Redefinition of namespace prefix: " + prefix );
-                    }
-
-                    _namespaces.put( prefix, uri );
-
-                    continue;
-                }
-                
-                if (tokenize( "default", "element", "namespace" ))
-                {
-                    if (!tokenize( "=" ))
-                        throw newError( "Expected '='" );
-                    
-                    String uri = tokenizeQuotedUri();
-                    
-                    if (_namespaces.containsKey( "" ))
-                    {
-                        throw newError(
-                            "Redefinition of default element namespace" );
-                    }
-
-                    _namespaces.put( "", uri );
-
-                    continue;
-                }
-                
-                break;
-            }
-
-            // Add the default prefix mapping if it has not been redefined
-            
-            if (!_namespaces.containsKey( "" ))
-                _namespaces.put( "", "" );
-
-            Selector selector = tokenizeSelector();
-
-            parseWhitespace();
-            
-            if (currChar() != -1)
-            {
-                throw newError(
-                    "Unexpected char '" + (char) currChar() + "'" );
-            }
-
-            return new XPath( selector, _sawDeepDot );
-        }
-
-        private String _expr;
-
-        private boolean _sawDeepDot;  // Saw one overall
-        private boolean _lastDeepDot;
-
-        private String _currentNodeVar;
-        
-        private Map _namespaces;
-        private Map _externalNamespaces;
-        
-        private int _offset;
-        private int _line;
-        private int _column;
-    }
-
-    private static final class Step
-    {
-        Step ( boolean deep, boolean attr, QName name )
-        {
-            _name = name;
-
-            _deep = deep;
-            _attr = attr;
-
-            int flags = 0;
-
-            if (_deep || !_attr)
-                flags |= ExecutionContext.DESCEND;
-
-            if (_attr)
-                flags |= ExecutionContext.ATTRS;
-
-            _flags = flags;
-        }
-
-        boolean isWild ( )
-        {
-            return _name.getLocalPart().length() == 0;
-        }
-
-        boolean match ( QName name )
-        {
-            String local = _name.getLocalPart();
-
-            if (local.length() == 0)
-            {
-                String uri = _name.getNamespaceURI();
-
-                if (uri.length() == 0)
-                    return true;
-
-                return uri.equals( name.getNamespaceURI() );
-            }
-
-            return _name.equals( name );
-        }
-
-        final boolean _attr;
-        final boolean _deep;
-
-        int _flags;
-        
-        final QName _name;
-
-        Step _next, _prev;
-
-        boolean _hasBacktrack;
-        Step    _backtrack;
-    }
-
-    private static final class Selector
-    {
-        Selector ( Step[] paths )
-        {
-            _paths = paths;
-        }
-
-        final Step[] _paths;
-    }
-
-    //
-    //
-    //
-    
-    private XPath ( Selector selector, boolean sawDeepDot )
-    {
-        _selector = selector;
-        _sawDeepDot = sawDeepDot;
-    }
-
-    public boolean sawDeepDot ( )
-    {
-        return _sawDeepDot;
-    }
-
-    private final Selector _selector;
-    private final boolean  _sawDeepDot;
-}
\ No newline at end of file
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlEncodingSniffer.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlEncodingSniffer.java
deleted file mode 100644
index 614bbfe..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlEncodingSniffer.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import java.io.Reader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.UnsupportedEncodingException;
-import java.io.IOException;
-
-public class XmlEncodingSniffer
-{
-    private String      _xmlencoding;
-    private String      _javaencoding;
-    private InputStream _stream;
-    private Reader      _reader;
-
-    /**
-     * Sniffs the given XML stream for encoding information.
-     *
-     * After a sniffer is constructed, it can return either a stream
-     * (which is a buffered stream wrapper of the original) or a reader
-     * (which applies the proper encoding).
-     *
-     * @param stream           The stream to sniff
-     * @param encodingOverride The XML (IANA) name for the overriding encoding
-     * @throws IOException
-     * @throws UnsupportedEncodingException
-     */
-    public XmlEncodingSniffer(InputStream stream, String encodingOverride)
-        throws IOException, UnsupportedEncodingException
-    {
-        _stream = stream;
-        
-        if (encodingOverride != null)
-            _xmlencoding = EncodingMap.getJava2IANAMapping(encodingOverride);
-
-        if (_xmlencoding == null)
-            _xmlencoding = encodingOverride;
-
-        if (_xmlencoding == null)
-        {
-            SniffedXmlInputStream sniffed = new SniffedXmlInputStream(_stream);
-            _xmlencoding = sniffed.getXmlEncoding();
-            assert(_xmlencoding != null);
-            _stream = sniffed;
-        }
-
-        _javaencoding = EncodingMap.getIANA2JavaMapping(_xmlencoding);
-        
-        // we allow you to use Java's encoding names in XML even though you're
-        // not supposed to.
-        
-        if (_javaencoding == null)
-            _javaencoding = _xmlencoding;
-    }
-
-    /**
-     * Sniffs the given XML stream for encoding information.
-     *
-     * After a sniffer is constructed, it can return either a reader
-     * (which is a buffered stream wrapper of the original) or a stream
-     * (which applies the proper encoding).
-     *
-     * @param reader           The reader to sniff
-     * @param encodingDefault  The Java name for the default encoding to apply, UTF-8 if null.
-     * @throws IOException
-     * @throws UnsupportedEncodingException
-     */
-    public XmlEncodingSniffer(Reader reader, String encodingDefault)
-            throws IOException, UnsupportedEncodingException
-    {
-        if (encodingDefault == null)
-            encodingDefault = "UTF-8";
-        
-        SniffedXmlReader sniffedReader = new SniffedXmlReader(reader);
-        _reader = sniffedReader;
-        _xmlencoding = sniffedReader.getXmlEncoding();
-
-        if (_xmlencoding == null)
-        {
-            _xmlencoding = EncodingMap.getJava2IANAMapping(encodingDefault);
-            if (_xmlencoding != null)
-                _javaencoding = encodingDefault;
-            else
-                _xmlencoding = encodingDefault;
-        }
-
-        if (_xmlencoding == null)
-            _xmlencoding = "UTF-8";
-        
-        // we allow you to use Java's encoding names in XML even though you're
-        // not supposed to.
-        
-        _javaencoding = EncodingMap.getIANA2JavaMapping(_xmlencoding);
-        
-        if (_javaencoding == null)
-            _javaencoding = _xmlencoding;
-    }
-
-    public String getXmlEncoding()
-    {
-        return _xmlencoding;
-    }
-
-    public String getJavaEncoding()
-    {
-        return _javaencoding;
-    }
-
-    public InputStream getStream()
-            throws UnsupportedEncodingException
-    {
-        if (_stream != null)
-        {
-            InputStream is = _stream;
-            _stream = null;
-            return is;
-        }
-
-        if (_reader != null)
-        {
-            InputStream is = new ReaderInputStream( _reader, _javaencoding );
-            _reader = null;
-            return is;
-        }
-
-        return null;
-    }
-
-
-    public Reader getReader ( )
-        throws UnsupportedEncodingException
-    {
-        if (_reader != null)
-        {
-            Reader reader = _reader;
-            _reader = null;
-            return reader;
-        }
-
-        if (_stream != null)
-        {
-            Reader reader = new InputStreamReader( _stream, _javaencoding );
-            _stream = null;
-            return reader;
-        }
-
-        return null;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorContext.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorContext.java
deleted file mode 100644
index 60e343b..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorContext.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-public abstract class XmlErrorContext
-{
-    public static final int CANNOT_LOAD_XSD_FILE              =   1;
-    public static final int CANNOT_LOAD_XSD_CONFIG_FILE       =   2;
-    public static final int NO_SCHEMA_ELEMENT                 =   3;
-    public static final int MISMATCHED_TARGET_NAMESPACE       =   4;
-    public static final int GLOBAL_TYPE_MISSING_NAME          =   5;
-    public static final int TYPE_NOT_FOUND                    =   6;
-    public static final int REDUNDANT_NESTED_TYPE             =   7;
-    public static final int ELEMENT_MISSING_NAME              =   8;
-    public static final int REDUNDANT_DEFAULT_FIXED           =   9;
-    public static final int MODEL_GROUP_MISSING_NAME          =  10;
-    public static final int ATTRIBUTE_MISSING_NAME            =  11;
-    public static final int ATTRIBUTE_GROUP_MISSING_NAME      =  12;
-    public static final int CYCLIC_DEPENDENCY                 =  13;
-    public static final int UNION_MEMBER_NOT_SIMPLE           =  14;
-    public static final int RESTRICTION_REDUNDANT_BASE        =  15;
-    public static final int RESTRICTION_MISSING_BASE          =  16;
-    public static final int SIMPLE_RESTRICTION_NOT_SIMPLE     =  17;
-    public static final int FACET_DOES_NOT_APPLY              =  18;
-    public static final int FACET_DUPLICATED                  =  19;
-    public static final int FACET_VALUE_MALFORMED             =  20;
-    public static final int FACET_FIXED                       =  21;
-    public static final int MALFORMED_NUMBER                  =  21;
-    public static final int LIST_MISSING_ITEM                 =  22;
-    public static final int LIST_ITEM_NOT_SIMPLE              =  23;
-    public static final int LIST_OF_LIST                      =  24;
-    public static final int LIST_WHITESPACE                   =  25;
-    public static final int REDUNDANT_CONTENT_MODEL           =  26;
-    public static final int MISSING_RESTRICTION_OR_EXTENSION  =  27;
-    public static final int MISSING_BASE                      =  28;
-    public static final int ELEMENT_REF_NOT_FOUND             =  29;
-    public static final int ELEMENT_EXTRA_REF                 =  30;
-    public static final int ALL_CONTENTS                      =  31;
-    public static final int EXPLICIT_GROUP_NEEDED             =  32;
-    public static final int GROUP_MISSING_REF                 =  33;
-    public static final int MODEL_GROUP_NOT_FOUND             =  34;
-    public static final int MIN_MAX_OCCURS                    =  35;
-    public static final int ATTRIBUTE_REF_NOT_FOUND           =  36;
-    public static final int DUPLICATE_ATTRIBUTE_NAME          =  37;
-    public static final int DUPLICATE_ANY_ATTRIBUTE           =  38;
-    public static final int ATTRIBUTE_GROUP_MISSING_REF       =  39;
-    public static final int ATTRIBUTE_GROUP_NOT_FOUND         =  40;
-    public static final int COMPLEX_BASE_NOT_COMPLEX          =  41;
-    public static final int CANNOT_EXTEND_ALL                 =  42;
-    public static final int SIMPLE_BASE_NOT_SIMPLE            =  43;
-    public static final int RESERVED_TYPE_NAME                =  44;
-    public static final int ILLEGAL_RESTRICTION               =  45;
-    public static final int INVALID_SCHEMA                    =  46;
-    public static final int DUPLICATE_GLOBAL_ELEMENT          =  47;
-    public static final int DUPLICATE_GLOBAL_ATTRIBUTE        =  48;
-    public static final int DUPLICATE_GLOBAL_TYPE             =  49;
-    public static final int INCONSISTENT_TYPE                 =  50;
-    public static final int UNSUPPORTED_FEATURE               =  51;
-    public static final int MALFORMED_SIMPLE_TYPE_DEFN        =  52;
-    public static final int INVALID_NAME                      =  53;
-    public static final int CANNOT_DERIVE_FINAL               =  54;
-    public static final int IDC_NOT_FOUND                     =  55;
-    public static final int CANNOT_FIND_RESOURCE              =  56;
-    public static final int NONDETERMINISTIC_MODEL            =  57;
-    public static final int XPATH_COMPILATION_FAILURE         =  58;
-    public static final int DUPLICATE_IDENTITY_CONSTRAINT     =  59;
-    public static final int GENERIC_ERROR                     =  60;
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorPrinter.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorPrinter.java
deleted file mode 100644
index eae88ac..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorPrinter.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.XmlError;
-
-import java.util.AbstractCollection;
-import java.util.Iterator;
-import java.util.Collections;
-import java.net.URI;
-
-public class XmlErrorPrinter extends AbstractCollection
-{
-    private boolean _noisy;
-    private URI _baseURI;
-
-    public XmlErrorPrinter(boolean noisy, URI baseURI)
-    {
-        _noisy = noisy;
-        _baseURI = baseURI;
-    }
-
-    public boolean add(Object o)
-    {
-        if (o instanceof XmlError)
-        {
-            XmlError err = (XmlError)o;
-            if (err.getSeverity() == XmlError.SEVERITY_ERROR ||
-                err.getSeverity() == XmlError.SEVERITY_WARNING)
-                System.err.println(err.toString(_baseURI));
-            else if (_noisy)
-                System.out.println(err.toString(_baseURI));
-        }
-        return false;
-    }
-
-    public Iterator iterator()
-    {
-        return Collections.EMPTY_LIST.iterator();
-    }
-
-    public int size()
-    {
-        return 0;
-    }
-}
-
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorWatcher.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorWatcher.java
deleted file mode 100644
index d802590..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlErrorWatcher.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.XmlError;
-
-import java.util.AbstractCollection;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.Collections;
-
-public class XmlErrorWatcher extends AbstractCollection
-{
-    private Collection _underlying;
-    private XmlError _firstError;
-
-    public XmlErrorWatcher(Collection underlying)
-    {
-        _underlying = underlying;
-    }
-
-    public boolean add(Object o)
-    {
-        if (_firstError == null && o instanceof XmlError && ((XmlError)o).getSeverity() == XmlError.SEVERITY_ERROR)
-            _firstError = (XmlError)o;
-        if (_underlying == null)
-            return false;
-        return _underlying.add(o);
-    }
-
-    public Iterator iterator()
-    {
-        if (_underlying == null)
-            return Collections.EMPTY_LIST.iterator();
-
-        return _underlying.iterator();
-    }
-
-    public int size()
-    {
-        if (_underlying == null)
-            return 0;
-
-        return _underlying.size();
-    }
-
-    public boolean hasError()
-    {
-        return _firstError != null;
-    }
-
-    public XmlError firstError()
-    {
-        return _firstError;
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlEventBase.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlEventBase.java
deleted file mode 100644
index 9a771d2..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlEventBase.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.events.ElementTypeNames;
-
-/**
- * Abstract base class which implements the type part XMLEvent.
- */
-
-public abstract class XmlEventBase implements XMLEvent
-{
-    public XmlEventBase ( )
-    {
-    }
-    
-    public XmlEventBase ( int type )
-    {
-        _type = type;
-    }
-
-    public void setType ( int type )
-    {
-        _type = type;
-    }
-    
-    public int getType ( )
-    {
-        return _type;
-    }
-
-    public String getTypeAsString ( )
-    {
-        return ElementTypeNames.getName( _type );
-    }
-            
-    public boolean isStartElement ( )
-    {
-        return _type == XMLEvent.START_ELEMENT;
-    }
-    
-    public boolean isEndElement ( )
-    {
-        return _type == XMLEvent.END_ELEMENT;
-    }
-    
-    public boolean isEntityReference ( )
-    {
-        return _type == XMLEvent.ENTITY_REFERENCE;
-    }
-    
-    public boolean isStartPrefixMapping ( )
-    {
-        return _type == XMLEvent.START_PREFIX_MAPPING;
-    }
-    
-    public boolean isEndPrefixMapping ( )
-    {
-        return _type == XMLEvent.END_PREFIX_MAPPING;
-    }
-    
-    public boolean isChangePrefixMapping ( )
-    {
-        return _type == XMLEvent.CHANGE_PREFIX_MAPPING;
-    }
-    
-    public boolean isProcessingInstruction ( )
-    {
-        return _type == XMLEvent.PROCESSING_INSTRUCTION;
-    }
-    
-    public boolean isCharacterData ( )
-    {
-        return _type == XMLEvent.CHARACTER_DATA;
-    }
-    
-    public boolean isSpace ( )
-    {
-        return _type == XMLEvent.SPACE;
-    }
-    
-    public boolean isNull ( )
-    {
-        return _type == XMLEvent.NULL_ELEMENT;
-    }
-    
-    public boolean isStartDocument ( )
-    {
-        return _type == XMLEvent.START_DOCUMENT;
-    }
-    
-    public boolean isEndDocument ( )
-    {
-        return _type == XMLEvent.END_DOCUMENT;
-    }
-
-    private int _type;
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlLocale.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlLocale.java
deleted file mode 100755
index 800d202..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlLocale.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.

- */

-

-// TODO - consider moving this to public ....

-

-package org.apache.xmlbeans.impl.common;

-

-public interface XmlLocale

-{

-    boolean sync   ( );

-    boolean noSync ( );

-    

-    void enter ( );

-    void exit  ( );

-}
\ No newline at end of file
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlNameImpl.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlNameImpl.java
deleted file mode 100644
index 13970cc..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlNameImpl.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.xml.stream.XMLName;
-
-public class XmlNameImpl implements XMLName {
-
-  private String namespaceUri=null;
-  private String localName=null;
-  private String prefix=null;
-  private int hash = 0;
-
-  public XmlNameImpl () {}
-  public XmlNameImpl (String localName) {
-    this.localName = localName;
-  }
-  public XmlNameImpl (String namespaceUri,String localName) {
-    setNamespaceUri(namespaceUri);
-    this.localName = localName;
-  }
-  public XmlNameImpl (String namespaceUri,
-               String localName,
-               String prefix) {
-    setNamespaceUri(namespaceUri);
-    this.localName = localName;
-    this.prefix = prefix;
-  }
-
-  public String getNamespaceUri() { return namespaceUri; }
-  public String getLocalName() { return localName; }
-  public String getPrefix() { return prefix; }
-
-  public void setNamespaceUri(String namespaceUri) {
-    hash = 0;
-    if (namespaceUri != null && namespaceUri.equals("")) return;
-    this.namespaceUri = namespaceUri; 
-  }
-  public void setLocalName(String localName) { 
-    this.localName = localName; 
-    hash = 0;
-  }
-  public void setPrefix(String prefix) { this.prefix = prefix; }
-
-  public String getQualifiedName() {
-    if (prefix != null && prefix.length() > 0)
-      return prefix + ":" + localName;
-    else
-      return localName;
-  }
-  public String toString() {
-    if (getNamespaceUri() != null)
-      return "['"+getNamespaceUri()+"']:"+getQualifiedName();
-    else 
-      return getQualifiedName();
-  }
-
-  public final int hashCode() {
-    int tmp_hash = hash;
-    if (tmp_hash == 0) {
-      tmp_hash = 17;
-      if (namespaceUri != null) {
-	tmp_hash = 37*tmp_hash + namespaceUri.hashCode();
-      }
-      if (localName != null) {
-	tmp_hash = 37*tmp_hash + localName.hashCode();
-      }
-      hash = tmp_hash;
-    }
-    return tmp_hash;
-  }
-
-  public final boolean equals(Object obj) {
-    if (obj == this) return true;
-
-    if (obj instanceof XMLName) {
-      final XMLName name= (XMLName) obj;
-
-      final String lname = localName;
-      if (!(lname==null ? name.getLocalName()==null : 
-	    lname.equals(name.getLocalName())))
-	return false;
-
-      final String uri = namespaceUri;
-      return (uri==null ? name.getNamespaceUri()==null :
-	      uri.equals(name.getNamespaceUri()));
-	
-    }
-    return false;
-  }
-
-
-
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlObjectList.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlObjectList.java
deleted file mode 100644
index b8a6e77..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlObjectList.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SimpleValue;
-
-/**
- * A class to hold and compare a list of XmlObjects for use by keys
- * keyrefs during validation.
- */
-public class XmlObjectList
-{
-    private final XmlObject[] _objects;
-
-    /**
-     * Construct a new empty object list of the given fixed size.
-     */
-    public XmlObjectList(int objectCount) {
-        _objects = new XmlObject[objectCount];
-    }
-
-    /**
-     * Set an object by index unless a value has been previously
-     * set at that location.
-     * 
-     * @return true if the value was set, false if the value has
-     * already been set
-     */
-    public boolean set(XmlObject o, int index)
-    {
-        if (_objects[index] != null)
-            return false;
-
-        _objects[index] = o;
-        return true;
-    }
-
-    /**
-     * Tests that all values have been set. Needed for keys.
-     */
-    public boolean filled() {
-        for (int i = 0 ; i < _objects.length ; i++)
-            if (_objects[i] == null) return false;
-
-        return true;
-    }
-    
-    /**
-     * Tests that all values have been set. Needed for keys.
-     */
-    public int unfilled()
-    {
-        for (int i = 0 ; i < _objects.length ; i++)
-            if (_objects[i] == null) return i;
-
-        return -1;
-    }
-
-    public boolean equals(Object o) {
-        if (!( o instanceof XmlObjectList))
-            return false;
-
-        XmlObjectList other = (XmlObjectList)o;
-
-        if (other._objects.length != this._objects.length)
-            return false;
-
-        for (int i = 0 ; i < _objects.length ; i++) {
-            // Ignore missing values
-            if (_objects[i] == null || other._objects[i] == null)
-                return false;
-
-            if (! _objects[i].valueEquals(other._objects[i]))
-                return false;
-        }
-
-        return true;
-    }
-
-    public int hashCode()
-    {
-        int h = 0;
-
-        for (int i = 0 ; i < _objects.length ; i++)
-            if (_objects[i] != null)
-                h = 31 * h + _objects[i].valueHashCode();
-
-        return h;
-    }
-    
-    private static String prettytrim(String s)
-    {
-        int end;
-        for (end = s.length(); end > 0; end -= 1)
-        {
-            if (!XMLChar.isSpace(s.charAt(end - 1)))
-                break;
-        }
-        int start;
-        for (start = 0; start < end; start += 1)
-        {
-            if (!XMLChar.isSpace(s.charAt(start)))
-                break;
-        }
-        return s.substring(start, end);
-    }
-
-    public String toString() {
-        StringBuffer b = new StringBuffer();
-
-        for (int i = 0 ; i < _objects.length ; i++)
-        {
-            if (i != 0) b.append(" ");
-            b.append(prettytrim(((SimpleValue)_objects[i]).stringValue()));
-        }
-
-        return b.toString();
-    }
-}
-
-
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlReaderToWriter.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlReaderToWriter.java
deleted file mode 100644
index 567de58..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlReaderToWriter.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import javax.xml.stream.events.XMLEvent;
-
-
-public final class XmlReaderToWriter
-{
-    private XmlReaderToWriter()
-    {
-    }
-
-    public static void writeAll(XMLStreamReader xmlr, XMLStreamWriter writer)
-        throws XMLStreamException
-    {
-        while (xmlr.hasNext()) {
-            write(xmlr, writer);
-            xmlr.next();
-        }
-        write(xmlr, writer); // write the last element
-        writer.flush();
-    }
-
-    public static void write(XMLStreamReader xmlr, XMLStreamWriter writer)
-        throws XMLStreamException
-    {
-        switch (xmlr.getEventType()) {
-            case XMLEvent.START_ELEMENT:
-                final String localName = xmlr.getLocalName();
-                final String namespaceURI = xmlr.getNamespaceURI();
-                if (namespaceURI != null && namespaceURI.length() > 0) {
-                    final String prefix = xmlr.getPrefix();
-                    if (prefix != null)
-                        writer.writeStartElement(prefix, localName,
-                                                 namespaceURI);
-                    else
-                        writer.writeStartElement(namespaceURI, localName);
-                } else {
-                    writer.writeStartElement(localName);
-                }
-
-                for (int i = 0, len = xmlr.getNamespaceCount(); i < len; i++) {
-                    writer.writeNamespace(xmlr.getNamespacePrefix(i),
-                                          xmlr.getNamespaceURI(i));
-                }
-
-                for (int i = 0, len = xmlr.getAttributeCount(); i < len; i++) {
-                    String attUri = xmlr.getAttributeNamespace(i);
-                    if (attUri != null)
-                        writer.writeAttribute(attUri,
-                                              xmlr.getAttributeLocalName(i),
-                                              xmlr.getAttributeValue(i));
-                    else
-                        writer.writeAttribute(xmlr.getAttributeLocalName(i),
-                                              xmlr.getAttributeValue(i));
-                }
-                break;
-            case XMLEvent.END_ELEMENT:
-                writer.writeEndElement();
-                break;
-            case XMLEvent.SPACE:
-            case XMLEvent.CHARACTERS:
-                writer.writeCharacters(xmlr.getTextCharacters(),
-                                       xmlr.getTextStart(),
-                                       xmlr.getTextLength());
-                break;
-            case XMLEvent.PROCESSING_INSTRUCTION:
-                writer.writeProcessingInstruction(xmlr.getPITarget(),
-                                                  xmlr.getPIData());
-                break;
-            case XMLEvent.CDATA:
-                writer.writeCData(xmlr.getText());
-                break;
-
-            case XMLEvent.COMMENT:
-                writer.writeComment(xmlr.getText());
-                break;
-            case XMLEvent.ENTITY_REFERENCE:
-                writer.writeEntityRef(xmlr.getLocalName());
-                break;
-            case XMLEvent.START_DOCUMENT:
-                String encoding = xmlr.getCharacterEncodingScheme();
-                String version = xmlr.getVersion();
-
-                if (encoding != null && version != null)
-                    writer.writeStartDocument(encoding,
-                                              version);
-                else if (version != null)
-                    writer.writeStartDocument(xmlr.getVersion());
-                break;
-            case XMLEvent.END_DOCUMENT:
-                writer.writeEndDocument();
-                break;
-            case XMLEvent.DTD:
-                writer.writeDTD(xmlr.getText());
-                break;
-        }
-    }
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlStreamUtils.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlStreamUtils.java
deleted file mode 100644
index 6647305..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlStreamUtils.java
+++ /dev/null
@@ -1,215 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import javax.xml.stream.XMLStreamReader;
-
-/**
- * debugging utilities for XmlStreamReader
- */
-public final class XmlStreamUtils
-{
-  public static String printEvent(XMLStreamReader xmlr)
-  {
-    StringBuffer b = new StringBuffer();
-    b.append("EVENT:[" + xmlr.getLocation().getLineNumber() + "][" +
-             xmlr.getLocation().getColumnNumber() + "] ");
-    b.append(getName(xmlr.getEventType()));
-    b.append(" [");
-    switch (xmlr.getEventType()) {
-      case XMLStreamReader.START_ELEMENT:
-        b.append("<");
-        printName(xmlr, b);
-        for (int i = 0; i < xmlr.getNamespaceCount(); i++) {
-          b.append(" ");
-          String n = xmlr.getNamespacePrefix(i);
-          if ("xmlns".equals(n)) {
-            b.append("xmlns=\"" + xmlr.getNamespaceURI(i) + "\"");
-          } else {
-            b.append("xmlns:" + n);
-            b.append("=\"");
-            b.append(xmlr.getNamespaceURI(i));
-            b.append("\"");
-          }
-        }
-
-        for (int i = 0; i < xmlr.getAttributeCount(); i++) {
-          b.append(" ");
-          printName(xmlr.getAttributePrefix(i),
-                    xmlr.getAttributeNamespace(i),
-                    xmlr.getAttributeLocalName(i),
-                    b);
-          b.append("=\"");
-          b.append(xmlr.getAttributeValue(i));
-          b.append("\"");
-        }
-
-        b.append(">");
-        break;
-      case XMLStreamReader.END_ELEMENT:
-        b.append("</");
-        printName(xmlr, b);
-        for (int i = 0; i < xmlr.getNamespaceCount(); i++) {
-          b.append(" ");
-          String n = xmlr.getNamespacePrefix(i);
-          if ("xmlns".equals(n)) {
-            b.append("xmlns=\"" + xmlr.getNamespaceURI(i) + "\"");
-          } else {
-            b.append("xmlns:" + n);
-            b.append("=\"");
-            b.append(xmlr.getNamespaceURI(i));
-            b.append("\"");
-          }
-        }
-        b.append(">");
-        break;
-      case XMLStreamReader.SPACE:
-      case XMLStreamReader.CHARACTERS:
-        //b.append(xmlr.getText());
-        int start = xmlr.getTextStart();
-        int length = xmlr.getTextLength();
-        b.append(new String(xmlr.getTextCharacters(),
-                            start,
-                            length));
-        break;
-      case XMLStreamReader.PROCESSING_INSTRUCTION:
-        String target = xmlr.getPITarget();
-        if (target == null) target = "";
-        String data = xmlr.getPIData();
-        if (data == null) data = "";
-        b.append("<?");
-        b.append(target + " " + data);
-        b.append("?>");
-        break;
-      case XMLStreamReader.CDATA:
-        b.append("<![CDATA[");
-        if (xmlr.hasText())
-          b.append(xmlr.getText());
-        b.append("]]>");
-        break;
-
-      case XMLStreamReader.COMMENT:
-        b.append("<!--");
-        if (xmlr.hasText())
-          b.append(xmlr.getText());
-        b.append("-->");
-        break;
-      case XMLStreamReader.ENTITY_REFERENCE:
-        b.append(xmlr.getLocalName() + "=");
-        if (xmlr.hasText())
-          b.append("[" + xmlr.getText() + "]");
-        break;
-      case XMLStreamReader.START_DOCUMENT:
-        b.append("<?xml");
-        b.append(" version='" + xmlr.getVersion() + "'");
-        b.append(" encoding='" + xmlr.getCharacterEncodingScheme() + "'");
-        if (xmlr.isStandalone())
-          b.append(" standalone='yes'");
-        else
-          b.append(" standalone='no'");
-        b.append("?>");
-        break;
-
-    }
-    b.append("]");
-    return b.toString();
-  }
-
-
-  private static void printName(String prefix,
-                                String uri,
-                                String localName,
-                                StringBuffer b)
-  {
-    if (uri != null && !("".equals(uri))) b.append("['" + uri + "']:");
-    if (prefix != null && !("".equals(prefix))) b.append(prefix + ":");
-    if (localName != null) b.append(localName);
-  }
-
-  private static void printName(XMLStreamReader xmlr, StringBuffer b)
-  {
-    if (xmlr.hasName()) {
-      String prefix = xmlr.getPrefix();
-      String uri = xmlr.getNamespaceURI();
-      String localName = xmlr.getLocalName();
-      printName(prefix, uri, localName, b);
-    }
-  }
-
-  public static String getName(int eventType)
-  {
-    switch (eventType) {
-      case XMLStreamReader.START_ELEMENT:
-        return "START_ELEMENT";
-      case XMLStreamReader.END_ELEMENT:
-        return "END_ELEMENT";
-      case XMLStreamReader.PROCESSING_INSTRUCTION:
-        return "PROCESSING_INSTRUCTION";
-      case XMLStreamReader.CHARACTERS:
-        return "CHARACTERS";
-      case XMLStreamReader.SPACE:
-        return "SPACE";
-      case XMLStreamReader.COMMENT:
-        return "COMMENT";
-      case XMLStreamReader.START_DOCUMENT:
-        return "START_DOCUMENT";
-      case XMLStreamReader.END_DOCUMENT:
-        return "END_DOCUMENT";
-      case XMLStreamReader.ENTITY_REFERENCE:
-        return "ENTITY_REFERENCE";
-      case XMLStreamReader.ATTRIBUTE:
-        return "ATTRIBUTE";
-      case XMLStreamReader.DTD:
-        return "DTD";
-      case XMLStreamReader.CDATA:
-        return "CDATA";
-      case XMLStreamReader.NAMESPACE:
-        return "NAMESPACE";
-    }
-    return "UNKNOWN_EVENT_TYPE";
-  }
-
-  public static int getType(String val)
-  {
-    if (val.equals("START_ELEMENT"))
-      return XMLStreamReader.START_ELEMENT;
-    if (val.equals("SPACE"))
-      return XMLStreamReader.SPACE;
-    if (val.equals("END_ELEMENT"))
-      return XMLStreamReader.END_ELEMENT;
-    if (val.equals("PROCESSING_INSTRUCTION"))
-      return XMLStreamReader.PROCESSING_INSTRUCTION;
-    if (val.equals("CHARACTERS"))
-      return XMLStreamReader.CHARACTERS;
-    if (val.equals("COMMENT"))
-      return XMLStreamReader.COMMENT;
-    if (val.equals("START_DOCUMENT"))
-      return XMLStreamReader.START_DOCUMENT;
-    if (val.equals("END_DOCUMENT"))
-      return XMLStreamReader.END_DOCUMENT;
-    if (val.equals("ATTRIBUTE"))
-      return XMLStreamReader.ATTRIBUTE;
-    if (val.equals("DTD"))
-      return XMLStreamReader.DTD;
-    if (val.equals("CDATA"))
-      return XMLStreamReader.CDATA;
-    if (val.equals("NAMESPACE"))
-      return XMLStreamReader.NAMESPACE;
-    return -1;
-  }
-
-
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/XmlWhitespace.java b/v2/src/common/org/apache/xmlbeans/impl/common/XmlWhitespace.java
deleted file mode 100644
index 598b9e7..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/XmlWhitespace.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.common;
-
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlWhitespace
-{
-    public static final int WS_UNSPECIFIED = SchemaType.WS_UNSPECIFIED;
-    public static final int WS_PRESERVE = SchemaType.WS_PRESERVE;
-    public static final int WS_REPLACE = SchemaType.WS_REPLACE;
-    public static final int WS_COLLAPSE = SchemaType.WS_COLLAPSE;
-
-
-    public static boolean isSpace(char ch)
-    {
-        switch (ch)
-        {
-            case ' ':
-            case '\n':
-            case '\r':
-            case '\t':
-                return true;
-        }
-        return false;
-    }
-
-    public static boolean isAllSpace(String v)
-    {
-        for (int i = 0, len = v.length(); i < len; i++)
-        {
-            if (!isSpace(v.charAt(i)))
-                return false;
-        }
-        return true;
-    }
-
-    public static boolean isAllSpace(CharSequence v)
-    {
-        for (int i = 0, len = v.length(); i < len; i++)
-        {
-            if (!isSpace(v.charAt(i)))
-                return false;
-        }
-        return true;
-    }
-
-    public static String collapse(String v)
-    {
-        return collapse(v, XmlWhitespace.WS_COLLAPSE);
-    }
-
-    /**
-     * The algorithm used by apply_wscanon: sometimes used in impls.
-     */
-    public static String collapse(String v, int wsr)
-    {
-        if (wsr == SchemaType.WS_PRESERVE || wsr == SchemaType.WS_UNSPECIFIED)
-            return v;
-
-        if (v.indexOf('\n') >= 0)
-            v = v.replace('\n', ' ');
-        if (v.indexOf('\t') >= 0)
-            v = v.replace('\t', ' ');
-        if (v.indexOf('\r') >= 0)
-            v = v.replace('\r', ' ');
-
-        if (wsr == SchemaType.WS_REPLACE)
-            return v;
-
-        int j = 0;
-        int len = v.length();
-        if (len == 0)
-            return v;
-
-        int i;
-
-        /* a trick: examine every other character looking for pairs of spaces */
-        if (v.charAt(0) != ' ')
-        {
-            examine: {
-                for (j = 2; j < len; j += 2)
-                {
-                    if (v.charAt(j) == ' ')
-                    {
-                        if (v.charAt(j - 1) == ' ')
-                            break examine;
-                        if (j == len - 1)
-                            break examine;
-                        j++;
-                        if (v.charAt(j) == ' ')
-                            break examine;
-                    }
-                }
-                if (j == len && v.charAt(j - 1) == ' ')
-                    break examine;
-                return v;
-            }
-            /* j is pointing at the first ws to be removed, or past end */
-            i = j;
-        }
-        else
-        {
-            /**
-             * j is pointing at the last whitespace in the initial run
-             */
-            while (j + 1 < v.length() && v.charAt(j + 1) == ' ')
-                j += 1;
-            i = 0;
-        }
-
-        char[] ch = v.toCharArray();
-
-        shifter: for (;;)
-        {
-            for (;;)
-            {
-                /* j was ws or past end */
-                j++;
-                if (j >= len)
-                    break shifter;
-                if (v.charAt(j) != ' ')
-                    break;
-            }
-            for (;;)
-            {
-                /* j was nonws */
-                ch[i++] = ch[j++];
-                if (j >= len)
-                    break shifter;
-                if (ch[j] == ' ')
-                {
-                    ch[i++] = ch[j++];
-                    if (j >= len)
-                        break shifter;
-                    if (ch[j] == ' ')
-                        break;
-                }
-            }
-        }
-
-        return new String(ch, 0, (i == 0 || ch[i - 1] != ' ') ? i : i - 1);
-    }
-
-}
diff --git a/v2/src/common/org/apache/xmlbeans/impl/common/readme.txt b/v2/src/common/org/apache/xmlbeans/impl/common/readme.txt
deleted file mode 100644
index ea25143..0000000
--- a/v2/src/common/org/apache/xmlbeans/impl/common/readme.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-There are isolated files in this directory taken from the Apache
-Xerces-J 2.0 project
-
-It contains very minor modifications including a change in namespace.
-
diff --git a/v2/src/configschema/schema/binding-config.xsd b/v2/src/configschema/schema/binding-config.xsd
deleted file mode 100644
index 4d0bd99..0000000
--- a/v2/src/configschema/schema/binding-config.xsd
+++ /dev/null
@@ -1,296 +0,0 @@
-<xs:schema
-  xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  xmlns:tns="http://xml.apache.org/xmlbeans/binding-config"
-  targetNamespace="http://xml.apache.org/xmlbeans/binding-config"
-  elementFormDefault="qualified">
-
-  <xs:element name="binding-config">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="bindings" type="tns:binding-table"/>
-        <xs:element name="xml-to-pojo" type="tns:mapping-table"/>
-        <xs:element name="xml-to-xmlobj" type="tns:mapping-table"/>
-        <xs:element name="java-to-xml" type="tns:mapping-table"/>
-        <xs:element name="java-to-element" type="tns:mapping-table"/>
-      </xs:sequence>
-    </xs:complexType>
-  </xs:element>
-
-
-  <xs:complexType name="binding-table">
-    <xs:sequence>
-      <xs:element name="binding-type" type="tns:binding-type" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="mapping-table">
-    <xs:sequence>
-      <xs:element name="mapping" type="tns:mapping" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="mapping">
-    <xs:sequence>
-      <xs:element name="xmlcomponent" type="tns:xml-signature"/>
-      <xs:element name="javatype" type="tns:java-class-name"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="binding-type" abstract="true">
-    <xs:sequence>
-      <xs:element name="xmlcomponent" type="tns:xml-signature"/>
-      <xs:element name="javatype" type="tns:java-class-name"/>
-      <!-- todo: maybe more java info, e.g., instanceType, is-interface, is-xmlobj etc? -->
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="simple-type">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="as-xml" type="tns:as-xml-type"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="jaxrpc-enum-type">
-    <xs:annotation>
-      <xs:documentation>represents the binding of a enumerated type in schema to
-        a JAX-RPC style typesafe enum class.  See JAX-RPC 1.1 Section 4.2.4
-      </xs:documentation>
-    </xs:annotation>
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="base-xmlcomponent" type="tns:xml-signature"/>
-          <xs:element name="base-javatype" type="tns:java-class-name"/>
-          <xs:element name="getValue-method" type="tns:java-method-name"/>
-          <xs:element name="fromValue-method" type="tns:java-method-name"/>
-          <xs:element name="fromString-method" type="tns:java-method-name"/>
-          <xs:element name="toXML-method" type="tns:java-method-name" minOccurs="0">
-            <xs:annotation>
-              <xs:documentation>not required by jax-rpc, but used if present
-                for more efficient serialization of an enumeration value to xml.
-                Must return a String value that will be used as the xml
-                serialization for the given enum value (method is not static).
-              </xs:documentation>
-            </xs:annotation>
-          </xs:element>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="simple-document-binding">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="type-of-element" type="tns:xml-signature"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="by-name-bean">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="any-property" type="tns:generic-xml-property" minOccurs="0"/>
-          <xs:element name="anyAttribute-property" type="tns:generic-xml-property" minOccurs="0"/>
-          <xs:choice minOccurs="0" maxOccurs="unbounded">
-            <xs:element name="qname-property" type="tns:qname-property"/>
-          </xs:choice>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="simple-content-bean">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="anyAttribute-property" type="tns:generic-xml-property" minOccurs="0"/>
-          <xs:element name="simple-content-property" type="tns:simple-content-property"/>
-          <xs:element name="attribute-property" type="tns:qname-property"
-            minOccurs="0" maxOccurs="unbounded"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="wrapped-array">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="item-name" type="xs:QName"/>
-          <xs:element name="item-type" type="tns:mapping"/>
-          <xs:element name="item-nillable" type="xs:boolean" default="false" minOccurs="0"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="soap-array">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="item-name" type="xs:QName" minOccurs="0"/>
-          <xs:element name="item-type" type="tns:mapping" minOccurs="0"/>
-          <xs:element name="item-nillable" type="xs:boolean" default="false" minOccurs="0"/>
-          <xs:element name="ranks" type="xs:int" minOccurs="0"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="list-array">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:sequence>
-          <xs:element name="item-type" type="tns:mapping"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="jaxb-bean">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-type">
-        <xs:choice minOccurs="0" maxOccurs="unbounded">
-          <xs:element name="particle-property" type="tns:particle-property"/>
-          <xs:element name="qname-property" type="tns:qname-property"/>
-        </xs:choice>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="binding-property" abstract="true">
-    <xs:sequence>
-      <xs:element name="xmlcomponent" type="tns:xml-signature"/>
-      <xs:element name="javatype" type="tns:java-class-name"/>
-      <xs:choice>
-        <xs:sequence>
-          <xs:element name="getter" type="tns:java-method-name"/>
-          <xs:element name="setter" type="tns:java-method-name" minOccurs="0"/>
-          <xs:element name="issetter" type="tns:java-method-name" minOccurs="0"/>
-        </xs:sequence>
-        <xs:element name="field" type="tns:java-field-name"/>
-        <xs:element name="static" type="tns:java-field-name"/>
-      </xs:choice>
-      <xs:element name="collection" type="tns:java-class-name" minOccurs="0"/>
-      <xs:element name="factory" type="tns:java-instance-factory" minOccurs="0"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="java-instance-factory" abstract="true">
-    <xs:sequence>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="parent-instance-factory">
-    <xs:complexContent>
-      <xs:extension base="tns:java-instance-factory">
-        <xs:sequence>
-          <xs:element name="create-object-method" type="tns:java-method-name">
-            <xs:annotation>
-              <xs:documentation>
-                The create method will not be static, and will be invoked on
-                the parent object.  It can optionally have one argument, which
-                will be of type java.lang.Class.  The runtime will pass the java
-                class to be created.
-              </xs:documentation>
-            </xs:annotation>
-          </xs:element>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-
-  <!--  type must be a simple or builtin type-->
-  <xs:complexType name="simple-content-property">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-property">
-        <xs:sequence>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="qname-property">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-property">
-        <xs:sequence>
-          <xs:element name="qname" type="xs:QName"/>
-          <xs:element name="attribute" type="xs:boolean" default="false" minOccurs="0"/>
-          <xs:element name="multiple" type="xs:boolean" default="false" minOccurs="0"/>
-          <xs:element name="nillable" type="xs:boolean" default="false" minOccurs="0"/>
-          <xs:element name="optional" type="xs:boolean" default="false" minOccurs="0"/>
-          <xs:element name="default" type="xs:string" minOccurs="0"/>
-        </xs:sequence>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="generic-xml-property">
-    <xs:complexContent>
-      <xs:extension base="tns:binding-property">
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="particle-property">
-    <xs:complexContent>
-      <!-- implicit restriction: xmlcomponent must be a particle -->
-      <xs:extension base="tns:binding-property">
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-
-  <xs:simpleType name="java-class-name">
-    <xs:restriction base="xs:token">
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:complexType name="java-method-name">
-    <xs:sequence>
-      <xs:element name="method-name" type="xs:token" minOccurs="1"/>
-      <xs:element name="param-type" type="tns:java-class-name" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:simpleType name="xml-signature">
-    <xs:restriction base="xs:token">
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:complexType name="as-xml-type">
-    <xs:simpleContent>
-      <xs:extension base="tns:xml-signature">
-        <xs:attribute name="whitespace">
-          <xs:simpleType>     <!--type defn copied from schema for schemas-->
-            <xs:restriction base="xs:NMTOKEN">
-              <xs:enumeration value="preserve"/>
-              <xs:enumeration value="replace"/>
-              <xs:enumeration value="collapse"/>
-            </xs:restriction>
-          </xs:simpleType>
-        </xs:attribute>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-
-  <xs:simpleType name="java-property-name">
-    <xs:restriction base="xs:token">
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="java-field-name">
-    <xs:restriction base="xs:token">
-    </xs:restriction>
-  </xs:simpleType>
-
-
-</xs:schema>
diff --git a/v2/src/configschema/schema/xmlconfig.xsd b/v2/src/configschema/schema/xmlconfig.xsd
deleted file mode 100644
index 1bece9c..0000000
--- a/v2/src/configschema/schema/xmlconfig.xsd
+++ /dev/null
@@ -1,227 +0,0 @@
-<xs:schema
-   xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config"
-   targetNamespace="http://xml.apache.org/xmlbeans/2004/02/xbean/config"
-   elementFormDefault="qualified">
-  
-  <xs:import namespace="http://www.w3.org/2001/XMLSchema"/> 
-
-  <xs:element name="config">
-    <xs:annotation>
-      <xs:documentation>
-         The config element is the top-level element for an .xsdconfig file.
-         It contains configuration information that guides the xsd compiler
-         when it generates Java classes. You can specify package names to
-         be used for whole xml namespaces; you can specify class names
-         to use for individual schema types; and you can supply extension
-         interfaces and implementations to be extended by the generated
-         Java classes.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-
-        <xs:element name="namespace" type="xb:nsconfig">
-          <xs:annotation>
-            <xs:documentation>
-              Specifies configuration for a namespace.
-            </xs:documentation>
-          </xs:annotation>
-        </xs:element>
-
-        <xs:element name="qname" type="xb:qnameconfig">
-          <xs:annotation>
-            <xs:documentation>
-              Specifies java mapping for a qname.
-            </xs:documentation>
-          </xs:annotation>
-        </xs:element>
-
-        <xs:element name="extension" type="xb:extensionconfig">
-          <xs:annotation>
-              <xs:documentation>
-                  Specifies extensions for the generated types in the 'for' attribute.
-              </xs:documentation>
-          </xs:annotation>
-        </xs:element>
-
-      </xs:choice>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="nsconfig">
-
-    <xs:sequence>
-
-      <xs:element name="package" type="xs:string" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            The package name to be used for types generated in this
-            namespace.
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      
-      <xs:element name="prefix" type="xs:string" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            A prefix to be used to prepend to top-level Java type names
-            generated in this namespace.  (The prefix is not used for
-            inner Java type definitions.)
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-
-      <xs:element name="suffix" type="xs:string" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            A suffix to be used to append to top-level Java type names
-            generated in this namespace. (The suffix is not used for
-            inner Java type definitions.)
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-
-    </xs:sequence>
-
-    <xs:attribute name="uri" type="xb:namespaceList">
-      <xs:annotation>
-        <xs:documentation>
-          A list of any number of namespace URIs or ##local for the no-namespace,
-          or ##any for all namespaces.
-        </xs:documentation>
-      </xs:annotation>
-    </xs:attribute>
-
-  </xs:complexType>
-
-  <xs:complexType name="qnameconfig">
-    <xs:sequence/>
-    <xs:attribute name="name" type="xs:QName"/>
-    <xs:attribute name="javaname" type="xs:string"/>
-  </xs:complexType>
-
-  <xs:simpleType name="namespaceList">
-    <xs:annotation>
-     <xs:documentation>
-     A list of namespace URIs, with ##local for no-uri; or ##any for all URIs.
-     </xs:documentation>
-    </xs:annotation>
-    <xs:union>
-     <xs:simpleType>
-      <xs:restriction base="xs:token">
-       <xs:enumeration value="##any"/>
-      </xs:restriction>
-     </xs:simpleType>
-     <xs:simpleType>
-      <xs:list>
-       <xs:simpleType>
-        <xs:union memberTypes="xs:anyURI">
-         <xs:simpleType>
-          <xs:restriction base="xs:token">
-           <xs:enumeration value="##local"/>
-          </xs:restriction>
-         </xs:simpleType>
-        </xs:union>
-       </xs:simpleType>
-      </xs:list>
-     </xs:simpleType>
-    </xs:union>
-   </xs:simpleType>
-
-    <xs:complexType name="extensionconfig">
-       <xs:sequence>
-          <xs:element name="interface" minOccurs="0" maxOccurs="unbounded" >
-              <xs:annotation>
-                  <xs:documentation>
-                      The extension interface (it has to be on the classpath).
-                      All the generated types in this domain will implement this interface,
-                      the calls will be redirected to the handler.
-                  </xs:documentation>
-              </xs:annotation>
-               <xs:complexType>
-                   <xs:choice>
-                       <xs:element name="staticHandler" type="xs:string">
-                           <xs:annotation>
-                               <xs:documentation>
-                                   The name of the handler class for this extension interface.
-                                   The handler must contain public static methods for each method
-                                   in the interface, and they have to have the following signature.
-                                   Example:
-                                   - method in the extension interface:
-                                         public String foo(String s)
-                                   - method in the handler:
-                                         public static String foo(XmlObject xo, String s)
-                               </xs:documentation>
-                           </xs:annotation>
-                        </xs:element>
-                       <!--xs:element name="implementationClass" type="xs:string" /-->
-                   </xs:choice>
-                   <xs:attribute name="name" type="xs:string">
-                       <xs:annotation>
-                           <xs:documentation>
-                               The extension interface name (it has to be on the classpath).
-                           </xs:documentation>
-                       </xs:annotation>
-                   </xs:attribute>
-               </xs:complexType>
-           </xs:element>
-           <xs:element name="prePostSet" minOccurs="0" maxOccurs="1" >
-               <xs:annotation>
-                   <xs:documentation>
-                       preSet and postSet calls will get generated in the implementation classes. (Only for setter methods).
-                   </xs:documentation>
-               </xs:annotation>
-               <xs:complexType>
-                   <xs:sequence>
-                       <xs:element name="staticHandler" type="xs:string">
-                           <xs:annotation>
-                               <xs:documentation>
-                                   The name of the handler class for preSet and postSet methods.
-                                   The handler must contain the following public static methods.
-                                   public static boolean preSet(int opType, XmlObject xo, QName prop, boolean isAttr, int index)
-                                   {
-                                       ...
-                                       return true; // true to execute store implementation code, false to skip it
-                                   }
-
-                                   public static void postSet(int opType, XmlObject xo, QName prop, boolean isAttr, int index)
-                                   {...}
-                               </xs:documentation>
-                           </xs:annotation>
-                        </xs:element>
-                   </xs:sequence>
-               </xs:complexType>
-           </xs:element>
-       </xs:sequence>
-       <xs:attribute name="for" type="xb:javaNameList">
-         <xs:annotation>
-            <xs:documentation>
-                '*' or a list of generated java types (interfaces) that reprezents this extension domain.
-            </xs:documentation>
-         </xs:annotation>
-       </xs:attribute>
-    </xs:complexType>
-
-     <xs:simpleType name="javaNameList">
-         <xs:annotation>
-             <xs:documentation>
-                 A list of generated java interface names or '*' for all interfaces.
-             </xs:documentation>
-         </xs:annotation>
-         <xs:union>
-             <xs:simpleType>
-                 <xs:restriction base="xs:token">
-                     <xs:enumeration value="*" />
-                 </xs:restriction>
-             </xs:simpleType>
-             <xs:simpleType>
-                 <xs:list itemType="xb:javaName" />
-             </xs:simpleType>
-         </xs:union>
-     </xs:simpleType>
-
-     <xs:simpleType name="javaName">
-         <xs:restriction base="xs:token" />
-     </xs:simpleType>
-</xs:schema>
diff --git a/v2/src/license/LICENSE.txt b/v2/src/license/LICENSE.txt
deleted file mode 100755
index fef8c29..0000000
--- a/v2/src/license/LICENSE.txt
+++ /dev/null
@@ -1,202 +0,0 @@
-                                 Apache License

-                           Version 2.0, January 2004

-                        http://www.apache.org/licenses/

-

-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

-

-   1. Definitions.

-

-      "License" shall mean the terms and conditions for use, reproduction,

-      and distribution as defined by Sections 1 through 9 of this document.

-

-      "Licensor" shall mean the copyright owner or entity authorized by

-      the copyright owner that is granting the License.

-

-      "Legal Entity" shall mean the union of the acting entity and all

-      other entities that control, are controlled by, or are under common

-      control with that entity. For the purposes of this definition,

-      "control" means (i) the power, direct or indirect, to cause the

-      direction or management of such entity, whether by contract or

-      otherwise, or (ii) ownership of fifty percent (50%) or more of the

-      outstanding shares, or (iii) beneficial ownership of such entity.

-

-      "You" (or "Your") shall mean an individual or Legal Entity

-      exercising permissions granted by this License.

-

-      "Source" form shall mean the preferred form for making modifications,

-      including but not limited to software source code, documentation

-      source, and configuration files.

-

-      "Object" form shall mean any form resulting from mechanical

-      transformation or translation of a Source form, including but

-      not limited to compiled object code, generated documentation,

-      and conversions to other media types.

-

-      "Work" shall mean the work of authorship, whether in Source or

-      Object form, made available under the License, as indicated by a

-      copyright notice that is included in or attached to the work

-      (an example is provided in the Appendix below).

-

-      "Derivative Works" shall mean any work, whether in Source or Object

-      form, that is based on (or derived from) the Work and for which the

-      editorial revisions, annotations, elaborations, or other modifications

-      represent, as a whole, an original work of authorship. For the purposes

-      of this License, Derivative Works shall not include works that remain

-      separable from, or merely link (or bind by name) to the interfaces of,

-      the Work and Derivative Works thereof.

-

-      "Contribution" shall mean any work of authorship, including

-      the original version of the Work and any modifications or additions

-      to that Work or Derivative Works thereof, that is intentionally

-      submitted to Licensor for inclusion in the Work by the copyright owner

-      or by an individual or Legal Entity authorized to submit on behalf of

-      the copyright owner. For the purposes of this definition, "submitted"

-      means any form of electronic, verbal, or written communication sent

-      to the Licensor or its representatives, including but not limited to

-      communication on electronic mailing lists, source code control systems,

-      and issue tracking systems that are managed by, or on behalf of, the

-      Licensor for the purpose of discussing and improving the Work, but

-      excluding communication that is conspicuously marked or otherwise

-      designated in writing by the copyright owner as "Not a Contribution."

-

-      "Contributor" shall mean Licensor and any individual or Legal Entity

-      on behalf of whom a Contribution has been received by Licensor and

-      subsequently incorporated within the Work.

-

-   2. Grant of Copyright License. Subject to the terms and conditions of

-      this License, each Contributor hereby grants to You a perpetual,

-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

-      copyright license to reproduce, prepare Derivative Works of,

-      publicly display, publicly perform, sublicense, and distribute the

-      Work and such Derivative Works in Source or Object form.

-

-   3. Grant of Patent License. Subject to the terms and conditions of

-      this License, each Contributor hereby grants to You a perpetual,

-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

-      (except as stated in this section) patent license to make, have made,

-      use, offer to sell, sell, import, and otherwise transfer the Work,

-      where such license applies only to those patent claims licensable

-      by such Contributor that are necessarily infringed by their

-      Contribution(s) alone or by combination of their Contribution(s)

-      with the Work to which such Contribution(s) was submitted. If You

-      institute patent litigation against any entity (including a

-      cross-claim or counterclaim in a lawsuit) alleging that the Work

-      or a Contribution incorporated within the Work constitutes direct

-      or contributory patent infringement, then any patent licenses

-      granted to You under this License for that Work shall terminate

-      as of the date such litigation is filed.

-

-   4. Redistribution. You may reproduce and distribute copies of the

-      Work or Derivative Works thereof in any medium, with or without

-      modifications, and in Source or Object form, provided that You

-      meet the following conditions:

-

-      (a) You must give any other recipients of the Work or

-          Derivative Works a copy of this License; and

-

-      (b) You must cause any modified files to carry prominent notices

-          stating that You changed the files; and

-

-      (c) You must retain, in the Source form of any Derivative Works

-          that You distribute, all copyright, patent, trademark, and

-          attribution notices from the Source form of the Work,

-          excluding those notices that do not pertain to any part of

-          the Derivative Works; and

-

-      (d) If the Work includes a "NOTICE" text file as part of its

-          distribution, then any Derivative Works that You distribute must

-          include a readable copy of the attribution notices contained

-          within such NOTICE file, excluding those notices that do not

-          pertain to any part of the Derivative Works, in at least one

-          of the following places: within a NOTICE text file distributed

-          as part of the Derivative Works; within the Source form or

-          documentation, if provided along with the Derivative Works; or,

-          within a display generated by the Derivative Works, if and

-          wherever such third-party notices normally appear. The contents

-          of the NOTICE file are for informational purposes only and

-          do not modify the License. You may add Your own attribution

-          notices within Derivative Works that You distribute, alongside

-          or as an addendum to the NOTICE text from the Work, provided

-          that such additional attribution notices cannot be construed

-          as modifying the License.

-

-      You may add Your own copyright statement to Your modifications and

-      may provide additional or different license terms and conditions

-      for use, reproduction, or distribution of Your modifications, or

-      for any such Derivative Works as a whole, provided Your use,

-      reproduction, and distribution of the Work otherwise complies with

-      the conditions stated in this License.

-

-   5. Submission of Contributions. Unless You explicitly state otherwise,

-      any Contribution intentionally submitted for inclusion in the Work

-      by You to the Licensor shall be under the terms and conditions of

-      this License, without any additional terms or conditions.

-      Notwithstanding the above, nothing herein shall supersede or modify

-      the terms of any separate license agreement you may have executed

-      with Licensor regarding such Contributions.

-

-   6. Trademarks. This License does not grant permission to use the trade

-      names, trademarks, service marks, or product names of the Licensor,

-      except as required for reasonable and customary use in describing the

-      origin of the Work and reproducing the content of the NOTICE file.

-

-   7. Disclaimer of Warranty. Unless required by applicable law or

-      agreed to in writing, Licensor provides the Work (and each

-      Contributor provides its Contributions) on an "AS IS" BASIS,

-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or

-      implied, including, without limitation, any warranties or conditions

-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A

-      PARTICULAR PURPOSE. You are solely responsible for determining the

-      appropriateness of using or redistributing the Work and assume any

-      risks associated with Your exercise of permissions under this License.

-

-   8. Limitation of Liability. In no event and under no legal theory,

-      whether in tort (including negligence), contract, or otherwise,

-      unless required by applicable law (such as deliberate and grossly

-      negligent acts) or agreed to in writing, shall any Contributor be

-      liable to You for damages, including any direct, indirect, special,

-      incidental, or consequential damages of any character arising as a

-      result of this License or out of the use or inability to use the

-      Work (including but not limited to damages for loss of goodwill,

-      work stoppage, computer failure or malfunction, or any and all

-      other commercial damages or losses), even if such Contributor

-      has been advised of the possibility of such damages.

-

-   9. Accepting Warranty or Additional Liability. While redistributing

-      the Work or Derivative Works thereof, You may choose to offer,

-      and charge a fee for, acceptance of support, warranty, indemnity,

-      or other liability obligations and/or rights consistent with this

-      License. However, in accepting such obligations, You may act only

-      on Your own behalf and on Your sole responsibility, not on behalf

-      of any other Contributor, and only if You agree to indemnify,

-      defend, and hold each Contributor harmless for any liability

-      incurred by, or claims asserted against, such Contributor by reason

-      of your accepting any such warranty or additional liability.

-

-   END OF TERMS AND CONDITIONS

-

-   APPENDIX: How to apply the Apache License to your work.

-

-      To apply the Apache License to your work, attach the following

-      boilerplate notice, with the fields enclosed by brackets "[]"

-      replaced with your own identifying information. (Don't include

-      the brackets!)  The text should be enclosed in the appropriate

-      comment syntax for the file format. We also recommend that a

-      file or class name and description of purpose be included on the

-      same "printed page" as the copyright notice for easier

-      identification within third-party archives.

-

-   Copyright [yyyy] [name of copyright owner]

-

-   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.

-

diff --git a/v2/src/license/NOTICE.txt b/v2/src/license/NOTICE.txt
deleted file mode 100644
index ff28850..0000000
--- a/v2/src/license/NOTICE.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This software consists of voluntary contributions made by many
-individuals on behalf of the Apache Software Foundation and was
-originally based on software copyright (c) 2000-2003 BEA Systems 
-Inc., <http://www.bea.com/>. For more information on the Apache 
-Software Foundation, please see <http://www.apache.org/>.
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnySimpleTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnySimpleTypeConverter.java
deleted file mode 100644
index 2b85f7a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnySimpleTypeConverter.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class AnySimpleTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getStringValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAttributeStringValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return XsTypeConverter.lexString(lexical_value, result.getErrors());
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        String val = (String)value;
-        return XsTypeConverter.printString(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyTypeRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyTypeRuntimeBindingType.java
deleted file mode 100644
index ff4b99e..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyTypeRuntimeBindingType.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingType;
-
-import javax.xml.namespace.QName;
-
-final class AnyTypeRuntimeBindingType
-    extends RuntimeBindingType
-{
-    static final QName ANY_TYPE_NAME =
-        new QName(RuntimeBindingTypeTable.XSD_NS, "anyType");
-
-    AnyTypeRuntimeBindingType(BuiltinBindingType type,
-                              TypeConverter converter)
-        throws XmlException
-    {
-        super(type, converter, converter);
-        assert converter != null;
-        assert ANY_TYPE_NAME.equals(type.getName().getXmlName().getQName());
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-        throws XmlException
-    {
-    }
-
-    boolean hasElementChildren()
-    {
-        return true;
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToStringTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToStringTypeConverter.java
deleted file mode 100644
index bc9952a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToStringTypeConverter.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-
-final class AnyUriToStringTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAnyUriValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAttributeAnyUriValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return lexical_value.toString();
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        String val = (String)value;
-        return XsTypeConverter.printString(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToUriTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToUriTypeConverter.java
deleted file mode 100644
index cffcefa..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AnyUriToUriTypeConverter.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-
-
-final class AnyUriToUriTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        final String uri_val = context.getAnyUriValue();
-        return stringToUri(uri_val, context);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        final String uri_val = context.getAttributeAnyUriValue();
-        return stringToUri(uri_val, context);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return stringToUri(lexical_value.toString(), result);
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        URI val = (URI)value;
-        return XsTypeConverter.printString(val.toString());
-    }
-
-    private static Object stringToUri(final String uri_val,
-                                      UnmarshalResult context)
-    {
-        try {
-            return new URI(uri_val);
-        }
-        catch (URISyntaxException e) {
-            throw new InvalidLexicalValueException(e, context.getLocation());
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeRuntimeBindingType.java
deleted file mode 100644
index e8aa4f6..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeRuntimeBindingType.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.QNameProperty;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-import java.util.Iterator;
-
-/**
- * base type for complex types with attributes (with QNameProperties)
- */
-abstract class AttributeRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final AttributeQNameProperty[] attributeProperties;
-    private final boolean hasDefaultAttributes;  //has any attributes with defaults
-
-    AttributeRuntimeBindingType(BindingType btype)
-        throws XmlException
-    {
-        super(btype);
-
-        final Class java_type = getJavaType();
-        if (java_type.isPrimitive() || java_type.isArray()) {
-            final String msg = "invalid ByNameBean java type: " + java_type +
-                " found in " + btype;
-            throw new XmlException(msg);
-        }
-
-        int att_prop_cnt = 0;
-        boolean has_attribute_defaults = false;
-        final Collection type_props = getQNameProperties();
-        for (Iterator itr = type_props.iterator(); itr.hasNext();) {
-            QNameProperty p =
-                (QNameProperty)itr.next();
-            if (p.isAttribute()) {
-                att_prop_cnt++;
-                if (p.getDefault() != null) {
-                    has_attribute_defaults = true;
-                }
-            }
-        }
-
-        attributeProperties = new AttributeQNameProperty[att_prop_cnt];
-        hasDefaultAttributes = has_attribute_defaults;
-    }
-
-
-    //prepare internal data structures for use
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader loader
-                           )
-        throws XmlException
-    {
-        int att_idx = 0;
-        int elem_idx = 0;
-        Collection properties = getQNameProperties();
-        for (Iterator itr = properties.iterator(); itr.hasNext();) {
-            QNameProperty bprop = (QNameProperty)itr.next();
-            final boolean is_att = bprop.isAttribute();
-
-            if (is_att) {
-                final AttributeQNameProperty aprop =
-                    new AttributeQNameProperty(
-                        getJavaType(), hasMulti(),
-                        bprop, this,
-                        typeTable, loader);
-                initAttributeProperty(aprop, att_idx++);
-            } else {
-                initElementProperty(bprop, elem_idx++,
-                                    typeTable, loader
-                );
-            }
-
-        }
-    }
-
-    protected abstract void initElementProperty(final QNameProperty prop,
-                                                int elem_idx,
-                                                RuntimeBindingTypeTable typeTable,
-                                                BindingLoader loader)
-        throws XmlException;
-
-    private void initAttributeProperty(final AttributeQNameProperty prop,
-                                       int att_idx)
-    {
-        attributeProperties[att_idx] = prop;
-    }
-
-    protected abstract Collection getQNameProperties();
-
-
-    final RuntimeBindingProperty getAttributeProperty(int index)
-    {
-        return attributeProperties[index];
-    }
-
-    //TODO: optimize this linear scan
-    final RuntimeBindingProperty getMatchingAttributeProperty(String uri,
-                                                              String localname,
-                                                              UnmarshalResult context)
-    {
-        for (int i = 0, len = attributeProperties.length; i < len; i++) {
-            final QNameRuntimeProperty prop = attributeProperties[i];
-
-            if (doesPropMatch(uri, localname, prop)) {
-                if (hasDefaultAttributes && (prop.typedDefaultValue != null)) {
-                    context.attributePresent(i);
-                }
-                return prop;
-            }
-        }
-        return null;
-    }
-
-    private static boolean doesPropMatch(String uri,
-                                         String localname,
-                                         QNameRuntimeProperty prop)
-    {
-        assert localname != null;
-
-        final QName qn = prop.getQName();
-
-        return UnmarshalResult.doesElementMatch(qn, localname, uri);
-    }
-
-    abstract int getElementPropertyCount();
-
-    final int getAttributePropertyCount()
-    {
-        return attributeProperties.length;
-    }
-
-    final void fillDefaultAttributes(Object inter,
-                                     UnmarshalResult context)
-        throws XmlException
-    {
-        if (!hasDefaultAttributes) return;
-
-        for (int aidx = 0, alen = attributeProperties.length; aidx < alen; aidx++) {
-            final QNameRuntimeProperty p = attributeProperties[aidx];
-
-            if (p.typedDefaultValue == null) continue;
-            if (context.isAttributePresent(aidx)) continue;
-
-            p.fillDefaultValue(inter);
-        }
-    }
-
-    protected abstract boolean hasMulti();
-
-    protected static final class AttributeQNameProperty
-        extends QNameRuntimeProperty
-    {
-        AttributeQNameProperty(Class beanClass,
-                               boolean bean_has_multis,
-                               QNameProperty prop,
-                               RuntimeBindingType containing_type,
-                               RuntimeBindingTypeTable typeTable,
-                               BindingLoader loader)
-            throws XmlException
-        {
-            super(beanClass, bean_has_multis,
-                  prop, containing_type, typeTable, loader
-            );
-            assert prop.isAttribute();
-        }
-
-    }
-
-
-    protected static abstract class QNameRuntimeProperty
-        extends BeanRuntimeProperty
-    {
-        protected final boolean beanHasMulti;          //consider a subclass
-        protected final QNameProperty bindingProperty;
-        protected final String lexicalDefaultValue;
-        protected final Object typedDefaultValue;
-
-        QNameRuntimeProperty(Class beanClass,
-                             boolean bean_has_multis,
-                             QNameProperty prop,
-                             RuntimeBindingType containing_type,
-                             RuntimeBindingTypeTable typeTable,
-                             BindingLoader loader)
-            throws XmlException
-        {
-            super(beanClass, prop, containing_type, typeTable, loader
-            );
-
-            if (prop.getQName() == null) {
-                final String msg = "property " + prop + " of " +
-                    beanClass + " has no qname";
-                throw new IllegalArgumentException(msg);
-            }
-
-            this.beanHasMulti = bean_has_multis;
-            this.bindingProperty = prop;
-
-            lexicalDefaultValue = bindingProperty.getDefault();
-            if (lexicalDefaultValue != null) {
-                typedDefaultValue = extractDefaultObject(lexicalDefaultValue,
-                                                         runtimeBindingType.getBindingType(),
-                                                         typeTable, loader);
-            } else {
-                typedDefaultValue = null;
-            }
-
-        }
-
-
-        final QName getName()
-        {
-            return bindingProperty.getQName();
-        }
-
-
-        final void fillDefaultValue(Object inter)
-            throws XmlException
-        {
-            assert (typedDefaultValue != null);
-
-            this.fill(inter, typedDefaultValue);
-        }
-
-        final void fillCollection(final Object inter,
-                                  final Object prop_obj)
-            throws XmlException
-        {
-            assert isMultiple();
-            setValue(inter, prop_obj);
-        }
-
-        final boolean isMultiple()
-        {
-            return bindingProperty.isMultiple();
-        }
-
-        final boolean isNillable()
-        {
-            return bindingProperty.isNillable();
-        }
-
-        final String getLexicalDefault()
-        {
-            return lexicalDefaultValue;
-        }
-
-        final QName getQName()
-        {
-            return bindingProperty.getQName();
-        }
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeUnmarshaller.java
deleted file mode 100644
index b03ef03..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/AttributeUnmarshaller.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-//TODO: rename this class
-
-abstract class AttributeUnmarshaller
-    implements TypeUnmarshaller
-{
-    private final AttributeRuntimeBindingType type;
-
-    public AttributeUnmarshaller(AttributeRuntimeBindingType type)
-    {
-        this.type = type;
-    }
-
-    public Object unmarshal(UnmarshalResult context)
-        throws XmlException
-    {
-        final Object inter = type.createIntermediary(context);
-        deserializeAttributes(inter, context);
-        deserializeContents(inter, context);
-        return type.getFinalObjectFromIntermediary(inter, context);
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-        throws XmlException
-    {
-        deserializeAttributes(intermediary, result);
-        deserializeContents(intermediary, result);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-    {
-        throw new UnsupportedOperationException("not an attribute: " +
-                                                type.getSchemaTypeName());
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not an attribute: " +
-                                                type.getSchemaTypeName());
-    }
-
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not an attribute: " +
-                                                type.getSchemaTypeName());
-    }
-
-    protected abstract void deserializeContents(Object inter,
-                                                UnmarshalResult context)
-        throws XmlException;
-
-
-    protected void deserializeAttributes(Object inter, UnmarshalResult context)
-        throws XmlException
-    {
-        while (context.hasMoreAttributes()) {
-            RuntimeBindingProperty prop = findMatchingAttributeProperty(context);
-
-            if (prop != null) {
-                prop.extractAndFillAttributeProp(context, inter);
-            }
-
-            context.advanceAttribute();
-        }
-
-        type.fillDefaultAttributes(inter, context);
-    }
-
-    protected RuntimeBindingProperty findMatchingAttributeProperty(UnmarshalResult context)
-    {
-        String uri = context.getCurrentAttributeNamespaceURI();
-        String lname = context.getCurrentAttributeLocalName();
-
-        return type.getMatchingAttributeProperty(uri, lname, context);
-    }
-
-    //prepare internal data structures for use
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Base64BinaryTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Base64BinaryTypeConverter.java
deleted file mode 100644
index c593c5b..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Base64BinaryTypeConverter.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-/**
- * converter for: byte[] <-> base64Binary
- */
-final class Base64BinaryTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        final InputStream val = context.getBase64Value();
-        try {
-            return MarshalStreamUtils.inputStreamToBytes(val);
-        }
-        catch (IOException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        final InputStream val = context.getAttributeBase64Value();
-        try {
-            return MarshalStreamUtils.inputStreamToBytes(val);
-        }
-        catch (IOException e) {
-            throw new XmlException(e);
-        }
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return XsTypeConverter.lexBase64Binary(lexical_value);
-        }
-        catch (InvalidLexicalValueException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-    }
-
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        byte[] val = (byte[])value;
-        return XsTypeConverter.printBase64Binary(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BaseSimpleTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BaseSimpleTypeConverter.java
deleted file mode 100644
index 00dd4f0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BaseSimpleTypeConverter.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-
-/**
- * Basic XmlStreamReader based impl that can handle converting
- * simple types of the form <a>4.54</a>.
- */
-abstract class BaseSimpleTypeConverter
-    implements TypeConverter
-{
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-
-    public final Object unmarshal(UnmarshalResult context)
-        throws XmlException
-    {
-        try {
-            return getObject(context);
-        }
-        catch (InvalidLexicalValueException ilve) {
-            context.addError(ilve.getMessage(), ilve.getLocation());
-            throw ilve;
-        }
-        finally {
-            //Note that this assertion can be trigger by invalid xml input,
-            //so we've disabled it.
-            //assert context.isEndElement();
-
-            if (context.hasNext()) context.next();
-        }
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-    {
-        throw new UnsupportedOperationException("not used: " + this);
-    }
-
-    //subclass should override this where appropriate
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-
-    protected abstract Object getObject(UnmarshalResult context)
-        throws XmlException;
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextFactoryImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextFactoryImpl.java
deleted file mode 100644
index 6712846..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextFactoryImpl.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument;
-import org.apache.xmlbeans.BindingContext;
-import org.apache.xmlbeans.BindingContextFactory;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.CompositeBindingLoader;
-import org.apache.xmlbeans.impl.binding.tylar.DefaultTylarLoader;
-import org.apache.xmlbeans.impl.binding.tylar.Tylar;
-import org.apache.xmlbeans.impl.binding.tylar.TylarLoader;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URL;
-import java.util.jar.JarInputStream;
-
-/**
- * creates BindingContext objects from various inputs.
- */
-public final class BindingContextFactoryImpl extends BindingContextFactory
-{
-    public BindingContext createBindingContext(ClassLoader cl) throws IOException, XmlException
-    {
-        if (cl == null) throw new IllegalArgumentException("null uris");
-        //FIXME loader class needs to be pluggable
-        TylarLoader loader = DefaultTylarLoader.getInstance();
-        if (loader == null) throw new IllegalStateException("null loader");
-        return createBindingContext(loader.load(cl));
-    }
-
-    // REVIEW It's unfortunate that we can't expose this method to the public
-    // at the moment.  It's easy to imagine cases where one has already built
-    // up the tylar and doesn't want to pay the cost of re-parsing it.
-    // Of course, exposing it means we expose Tylar to the public as well,
-    // and this should be done with caution.
-    public BindingContext createBindingContext(Tylar tylar)
-        throws IOException, XmlException
-    {
-        // build the loader chain - this is the binding files plus
-        // the builtin loader
-        BindingLoader loader = tylar.getBindingLoader();
-        // finally, glue it all together
-        TylarSchemaTypeLoaderProvider provider =
-            new TylarSchemaTypeLoaderProvider(tylar);
-        return new BindingContextImpl(loader, provider);
-    }
-
-    public BindingContext createBindingContext()
-    {
-        BindingFile empty = new BindingFile();
-        SchemaTypeLoaderProvider provider =
-            BuiltinSchemaTypeLoaderProvider.getInstance();
-        return createBindingContext(empty, provider);
-    }
-
-    // ========================================================================
-    // Private methods
-
-    private static BindingContextImpl createBindingContext(BindingFile bf,
-                                                           SchemaTypeLoaderProvider provider)
-    {
-        BindingLoader bindingLoader = buildBindingLoader(bf);
-        return new BindingContextImpl(bindingLoader, provider);
-    }
-
-    private static BindingLoader buildBindingLoader(BindingFile bf)
-    {
-        // todo(radup) save the "jaxRpc" setting in the binding file and
-        // load it from there
-        BindingLoader builtins = BuiltinBindingLoader.getBuiltinBindingLoader(false);
-        return CompositeBindingLoader.forPath(new BindingLoader[]{builtins, bf});
-    }
-
-    /**
-     * @deprecated We no longer support naked config files.  This is currently
-     * only used by MarshalTests
-     */
-    public BindingContext createBindingContextFromConfig(File bindingConfig)
-        throws IOException, XmlException
-    {
-        BindingConfigDocument doc =
-            BindingConfigDocument.Factory.parse(bindingConfig);
-        BindingFile bf = BindingFile.forDoc(doc);
-        SchemaTypeLoaderProvider provider =
-            UnusedSchemaTypeLoaderProvider.getInstance();
-        return createBindingContext(bf, provider);
-    }
-
-
-    // ========================================================================
-    // Deprecated methods
-
-    /**
-     * @deprecated
-     */
-    public BindingContext createBindingContext(URI tylarUri)
-        throws IOException, XmlException
-    {
-        return createBindingContext(new URI[]{tylarUri});
-    }
-
-    /**
-     * @deprecated
-     */
-    public BindingContext createBindingContext(URI[] tylarUris)
-        throws IOException, XmlException
-    {
-        if (tylarUris == null) throw new IllegalArgumentException("null uris");
-        //FIXME loader class needs to be pluggable
-        TylarLoader loader = DefaultTylarLoader.getInstance();
-        if (loader == null) throw new IllegalStateException("null loader");
-        return createBindingContext(((DefaultTylarLoader)loader).load(tylarUris));
-    }
-
-    /**
-     * @deprecated
-     */
-    public BindingContext createBindingContext(JarInputStream jar)
-        throws IOException, XmlException
-    {
-        if (jar == null) throw new IllegalArgumentException("null InputStream");
-        //FIXME loader class needs to be pluggable
-        TylarLoader loader = DefaultTylarLoader.getInstance();
-        if (loader == null) throw new IllegalStateException("null TylarLoader");
-        return createBindingContext(((DefaultTylarLoader)loader).load(jar));
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextImpl.java
deleted file mode 100644
index bdb1eb6..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BindingContextImpl.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.BindingContext;
-import org.apache.xmlbeans.EncodingStyle;
-import org.apache.xmlbeans.Marshaller;
-import org.apache.xmlbeans.SoapMarshaller;
-import org.apache.xmlbeans.SoapUnmarshaller;
-import org.apache.xmlbeans.Unmarshaller;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.w3c.dom.Node;
-
-import java.util.Collection;
-
-/**
- * Main entry point into marshalling framework.
- * Use the BindingContextFactory to create one
- */
-final class BindingContextImpl implements BindingContext
-{
-    private final BindingLoader bindingLoader;
-    private final RuntimeBindingTypeTable typeTable;
-    private final SchemaTypeLoaderProvider schemaTypeLoaderProvider;
-
-
-    /* package protected -- use the factory */
-    BindingContextImpl(BindingLoader bindingLoader,
-                       SchemaTypeLoaderProvider provider)
-    {
-        this.bindingLoader = bindingLoader;
-        this.typeTable = RuntimeBindingTypeTable.createTable();
-        this.schemaTypeLoaderProvider = provider;
-    }
-
-
-    public Unmarshaller createUnmarshaller()
-        throws XmlException
-    {
-        return new UnmarshallerImpl(bindingLoader,
-                                    typeTable,
-                                    schemaTypeLoaderProvider);
-    }
-
-    public Unmarshaller createUnmarshaller(XmlOptions options)
-        throws XmlException
-    {
-        if (options == null) {
-            throw new IllegalArgumentException("options must not be null");
-        }
-
-        return createUnmarshaller();
-    }
-
-    public Marshaller createMarshaller()
-        throws XmlException
-    {
-        return new MarshallerImpl(bindingLoader, typeTable);
-    }
-
-
-    public Marshaller createMarshaller(XmlOptions options)
-        throws XmlException
-    {
-        if (options == null) {
-            throw new IllegalArgumentException("null options");
-        }
-
-        return createMarshaller();
-    }
-
-    public SoapMarshaller createSoapMarshaller(EncodingStyle encodingStyle)
-        throws XmlException
-    {
-        if (encodingStyle == null) {
-            throw new IllegalArgumentException("null encodingStyle");
-        }
-
-        return new SoapMarshallerImpl(bindingLoader,
-                                      typeTable,
-                                      encodingStyle);
-    }
-
-    public SoapUnmarshaller createSoapUnmarshaller(EncodingStyle encodingStyle,
-                                                   Node referenceRoot)
-        throws XmlException
-    {
-        if (encodingStyle == null) {
-            throw new IllegalArgumentException("null encodingStyle");
-        }
-
-        if (referenceRoot == null) {
-            throw new IllegalArgumentException("null referenceRoot");
-        }
-
-
-        return new SoapUnmarshallerImpl(bindingLoader,
-                                        typeTable,
-                                        encodingStyle,
-                                        referenceRoot);
-    }
-
-    static Collection extractErrorHandler(XmlOptions options)
-    {
-        if (options != null) {
-            Collection underlying = (Collection)options.get(XmlOptions.ERROR_LISTENER);
-            if (underlying != null)
-                return underlying;
-        }
-
-        return FailFastErrorHandler.getInstance();
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BooleanTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BooleanTypeConverter.java
deleted file mode 100644
index d09a748..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BooleanTypeConverter.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class BooleanTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        boolean b = context.getBooleanValue();
-        return Boolean.valueOf(b);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        boolean b = context.getAttributeBooleanValue();
-        return Boolean.valueOf(b);
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        final boolean b = XsTypeConverter.lexBoolean(lexical_value);
-        return Boolean.valueOf(b);
-    }
-
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Boolean b = (Boolean)value;
-        return XsTypeConverter.printBoolean(b.booleanValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinRuntimeBindingType.java
deleted file mode 100644
index e04bf88..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinRuntimeBindingType.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingType;
-
-final class BuiltinRuntimeBindingType
-    extends RuntimeBindingType
-{
-    BuiltinRuntimeBindingType(BuiltinBindingType type,
-                              TypeConverter converter)
-        throws XmlException
-    {
-        super(type, converter, converter);
-        assert converter != null;
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-        throws XmlException
-    {
-    }
-
-    boolean hasElementChildren()
-    {
-        return false;
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinSchemaTypeLoaderProvider.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinSchemaTypeLoaderProvider.java
deleted file mode 100644
index 33603a5..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/BuiltinSchemaTypeLoaderProvider.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-
-final class BuiltinSchemaTypeLoaderProvider
-    implements SchemaTypeLoaderProvider
-{
-    private final SchemaTypeLoader builtinLoader;
-
-    private BuiltinSchemaTypeLoaderProvider()
-    {
-        builtinLoader = XmlBeans.getBuiltinTypeSystem();
-        assert builtinLoader != null;
-    }
-
-    private static final BuiltinSchemaTypeLoaderProvider INSTANCE =
-        new BuiltinSchemaTypeLoaderProvider();
-
-    static SchemaTypeLoaderProvider getInstance()
-    {
-        return INSTANCE;
-    }
-
-    public SchemaTypeLoader getSchemaTypeLoader()
-    {
-        return builtinLoader;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameRuntimeBindingType.java
deleted file mode 100644
index ec94881..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameRuntimeBindingType.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.ByNameBean;
-import org.apache.xmlbeans.impl.binding.bts.QNameProperty;
-import org.apache.xmlbeans.impl.marshal.util.collections.Accumulator;
-import org.apache.xmlbeans.impl.marshal.util.collections.AccumulatorFactory;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-import java.util.Iterator;
-
-
-final class ByNameRuntimeBindingType
-    extends AttributeRuntimeBindingType
-{
-    private final ElementQNameProperty[] elementProperties;
-    private final boolean hasMulti;  //has any multi properties
-
-    //DO NOT CALL THIS CONSTRUCTOR, use the RuntimeTypeFactory
-    ByNameRuntimeBindingType(ByNameBean btype)
-        throws XmlException
-    {
-        super(btype);
-
-        final Class java_type = getJavaType();
-        if (java_type.isPrimitive() || java_type.isArray()) {
-            final String msg = "invalid ByNameBean java type: " + java_type +
-                " found in " + btype;
-            throw new XmlException(msg);
-        }
-
-        int elem_prop_cnt = 0;
-        boolean has_multi = false;
-        final Collection type_props = getQNameProperties();
-        for (Iterator itr = type_props.iterator(); itr.hasNext();) {
-            QNameProperty p =
-                (QNameProperty)itr.next();
-            if (p.isAttribute()) continue;
-            if (p.isMultiple()) has_multi = true;
-            elem_prop_cnt++;
-        }
-
-        elementProperties = new ElementQNameProperty[elem_prop_cnt];
-        hasMulti = has_multi;
-    }
-
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    Object getObjectFromIntermediate(Object inter)
-    {
-        if (hasMulti()) {
-            UResultHolder res = (UResultHolder)inter;
-            return res.getValue();
-        } else {
-            return inter;
-        }
-    }
-
-    boolean hasElementChildren()
-    {
-        return true;
-    }
-
-
-    protected Collection getQNameProperties()
-    {
-        ByNameBean narrowed_type = (ByNameBean)getBindingType();
-        return narrowed_type.getProperties();
-    }
-
-
-    protected void initElementProperty(QNameProperty prop,
-                                       int elem_idx,
-                                       RuntimeBindingTypeTable typeTable,
-                                       BindingLoader loader
-                                       )
-        throws XmlException
-    {
-        elementProperties[elem_idx] =
-            new ElementQNameProperty(elem_idx, getJavaType(), hasMulti(), prop,
-                                     this, typeTable, loader);
-    }
-
-    protected Object createIntermediary(UnmarshalResult context)
-    {
-        if (hasMulti) {
-            return new UResultHolder(this);
-        } else {
-            return ClassLoadingUtils.newInstance(getJavaType());
-        }
-    }
-
-    protected Object createIntermediary(UnmarshalResult context,
-                                        Object actual_object)
-    {
-        if (hasMulti) {
-            return new UResultHolder(this, actual_object);
-        } else {
-            return actual_object;
-        }
-    }
-
-    protected Object getFinalObjectFromIntermediary(Object retval,
-                                                    UnmarshalResult context)
-        throws XmlException
-    {
-        if (hasMulti) {
-            UResultHolder rh = (UResultHolder)retval;
-            return rh.getFinalValue();
-        } else {
-            return retval;
-        }
-    }
-
-
-    RuntimeBindingProperty getElementProperty(int index)
-    {
-        return elementProperties[index];
-    }
-
-    //TODO: optimize this linear scan
-    RuntimeBindingProperty getMatchingElementProperty(String uri,
-                                                      String localname)
-    {
-        for (int i = 0, len = elementProperties.length; i < len; i++) {
-            final ElementQNameProperty prop = elementProperties[i];
-
-            if (doesPropMatch(uri, localname, prop))
-                return prop;
-        }
-        return null;
-    }
-
-
-    private static boolean doesPropMatch(String uri,
-                                         String localname,
-                                         QNameRuntimeProperty prop)
-    {
-        assert localname != null;
-
-        final QName qn = prop.getQName();
-
-        return UnmarshalResult.doesElementMatch(qn, localname, uri);
-    }
-
-    public int getElementPropertyCount()
-    {
-        return elementProperties.length;
-    }
-
-    protected boolean hasMulti()
-    {
-        return hasMulti;
-    }
-
-
-    protected static final class ElementQNameProperty
-        extends QNameRuntimeProperty
-    {
-        protected final int propertyIndex;
-
-        ElementQNameProperty(int property_index,
-                             Class beanClass,
-                             boolean bean_has_multis,
-                             QNameProperty prop,
-                             RuntimeBindingType containing_type,
-                             RuntimeBindingTypeTable typeTable,
-                             BindingLoader loader)
-            throws XmlException
-        {
-            super(beanClass, bean_has_multis,
-                  prop, containing_type, typeTable, loader);
-            propertyIndex = property_index;
-            assert !prop.isAttribute();
-        }
-
-
-        public void fill(final Object inter, final Object prop_obj)
-            throws XmlException
-        {
-            //means xsi:nil was true but we're a primtive.
-            //schema should have nillable="false" so this
-            //is a validation problem
-            if (prop_obj == null && runtimeBindingType.isJavaPrimitive())
-                return;
-
-            if (beanHasMulti) {
-                final UResultHolder rh = (UResultHolder)inter;
-
-                if (isMultiple()) {
-                    rh.addItem(propertyIndex, prop_obj);
-                } else {
-                    setValue(rh.getValue(), prop_obj);
-                }
-            } else {
-                setValue(inter, prop_obj);
-            }
-        }
-
-
-    }
-
-
-    protected static final class UResultHolder
-    {
-        private final ByNameRuntimeBindingType runtimeBindingType;
-        private final Object value;
-        private Accumulator[] accumulators;
-
-        UResultHolder(ByNameRuntimeBindingType type)
-        {
-            this(type, ClassLoadingUtils.newInstance(type.getJavaType()));
-        }
-
-        UResultHolder(ByNameRuntimeBindingType type, Object actual_obj)
-        {
-            runtimeBindingType = type;
-            value = actual_obj;
-        }
-
-
-        Object getFinalValue() throws XmlException
-        {
-            if (accumulators != null) {
-                final QNameRuntimeProperty[] props =
-                    runtimeBindingType.elementProperties;
-                for (int i = 0, len = accumulators.length; i < len; i++) {
-                    final Accumulator accum = accumulators[i];
-                    if (accum != null) {
-                        final QNameRuntimeProperty prop = props[i];
-                        prop.fillCollection(value, accum.getFinalArray());
-                    }
-                }
-            }
-            return value;
-        }
-
-        void addItem(int elem_idx, Object value)
-        {
-            initAccumulator(elem_idx);
-            accumulators[elem_idx].append(value);
-        }
-
-        private void initAccumulator(int elem_idx)
-        {
-            Accumulator[] accs = accumulators;
-            if (accs == null) {
-                accs = new Accumulator[runtimeBindingType.getElementPropertyCount()];
-                accumulators = accs;
-            }
-            if (accs[elem_idx] == null) {
-                final QNameRuntimeProperty p =
-                    runtimeBindingType.elementProperties[elem_idx];
-                accs[elem_idx] =
-                    AccumulatorFactory.createAccumulator(p.propertyClass,
-                                                         p.collectionElementClass);
-            }
-        }
-
-        Object getValue()
-        {
-            return value;
-        }
-
-        public Object getActualObject()
-        {
-            return null;
-        }
-
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameTypeVisitor.java
deleted file mode 100644
index 87ef193..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameTypeVisitor.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-
-import java.util.Collection;
-import java.util.Iterator;
-
-final class ByNameTypeVisitor
-    extends NamedXmlTypeVisitor
-{
-    private final ByNameRuntimeBindingType type;
-    private final int maxElementPropCount;
-    private final int maxAttributePropCount;
-    private int elemPropIdx = -1;
-    private Iterator currMultipleIterator;
-    private Object currMultipleItem;
-    private boolean haveMultipleItem;
-
-
-    ByNameTypeVisitor(RuntimeBindingProperty property,
-                      Object obj,
-                      PullMarshalResult result)
-        throws XmlException
-    {
-        super(obj, property, result);
-
-        type = (ByNameRuntimeBindingType)getActualRuntimeBindingType();
-        maxElementPropCount = obj == null ? 0 : type.getElementPropertyCount();
-        maxAttributePropCount = obj == null ? 0 : type.getAttributePropertyCount();
-    }
-
-
-    protected int getState()
-    {
-        assert elemPropIdx <= maxElementPropCount; //ensure we don't go past the end
-
-        if (elemPropIdx < 0) return START;
-
-        if (elemPropIdx >= maxElementPropCount) return END;
-
-        return CONTENT;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        assert elemPropIdx < maxElementPropCount; //ensure we don't go past the end
-
-        do {
-            boolean hit_end = advanceToNextItem();
-            if (hit_end) return END;
-        }
-        while (!currentPropHasMore());
-
-        assert elemPropIdx >= 0;
-
-        return getState();
-    }
-
-    private boolean advanceToNextItem()
-        throws XmlException
-    {
-        if (haveMultipleItem && currMultipleIterator.hasNext()) {
-            currMultipleItem = currMultipleIterator.next();
-            haveMultipleItem = true;
-            return false;
-        } else {
-            return (advanceToNextProperty());
-        }
-    }
-
-    //return true if we hit the end of our properties
-    private boolean advanceToNextProperty()
-        throws XmlException
-    {
-        elemPropIdx++;
-        currMultipleIterator = null;
-        haveMultipleItem = false;
-
-        if (elemPropIdx >= maxElementPropCount) return true;
-
-        updateCurrIterator();
-
-        return false;
-    }
-
-    private void updateCurrIterator()
-        throws XmlException
-    {
-        final RuntimeBindingProperty property = getCurrentElementProperty();
-        if (property.isMultiple()) {
-            final Object parent = getParentObject();
-            final Object prop_obj = property.isSet(parent, marshalResult) ?
-                property.getValue(parent, marshalResult) : null;
-            final Iterator itr = ArrayUtils.getCollectionIterator(prop_obj);
-            currMultipleIterator = itr;
-            if (itr.hasNext()) {
-                currMultipleItem = itr.next();
-                haveMultipleItem = true;
-            } else {
-                haveMultipleItem = false;
-            }
-        }
-    }
-
-    private boolean currentPropHasMore()
-        throws XmlException
-    {
-        if (elemPropIdx < 0) return false;
-
-        if (haveMultipleItem) {
-            if (currMultipleItem != null) return true;
-            //skip null items in a collection if this element is not nillable
-            return (getCurrentElementProperty().isNillable());
-        }
-        if (currMultipleIterator != null) return false;  //an empty collection
-
-        final RuntimeBindingProperty property = getCurrentElementProperty();
-
-        return property.isSet(getParentObject(), marshalResult);
-    }
-
-    public XmlTypeVisitor getCurrentChild() throws XmlException
-    {
-        final RuntimeBindingProperty property = getCurrentElementProperty();
-
-        if (haveMultipleItem) {
-            return marshalResult.createVisitor(property, currMultipleItem);
-        } else {
-            Object prop_obj = property.getValue(getParentObject(), marshalResult);
-            if (prop_obj instanceof Collection) {
-                throw new AssertionError("not good: " + prop_obj);
-            }
-            return marshalResult.createVisitor(property, prop_obj);
-        }
-    }
-
-    private RuntimeBindingProperty getCurrentElementProperty()
-    {
-        final RuntimeBindingProperty property = type.getElementProperty(elemPropIdx);
-        assert property != null;
-        return property;
-    }
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        initAttributesInternal(this,
-                               type,
-                               maxAttributePropCount,
-                               marshalResult);
-
-    }
-
-    static void initAttributesInternal(NamedXmlTypeVisitor typeVisitor,
-                                       AttributeRuntimeBindingType rtt,
-                                       int maxAttributePropCount,
-                                       PullMarshalResult marshalResult)
-        throws XmlException
-    {
-        final Object parent = typeVisitor.getParentObject();
-        if (parent == null) {
-            marshalResult.addXsiNilAttribute();
-        } else {
-            if (typeVisitor.needsXsiType()) {
-                marshalResult.addXsiTypeAttribute(rtt);
-            }
-
-            for (int i = 0, len = maxAttributePropCount; i < len; i++) {
-                final RuntimeBindingProperty prop = rtt.getAttributeProperty(i);
-
-                if (!prop.isSet(parent, marshalResult)) continue;
-
-                final Object value = prop.getValue(parent,
-                                                   marshalResult);
-
-                final CharSequence val = prop.getLexical(value,
-                                                         marshalResult);
-
-                if (val == null) continue;
-
-                //REVIEW: defer toString call until actually used?
-                marshalResult.fillAndAddAttribute(prop.getName(),
-                                                  val.toString());
-            }
-        }
-    }
-
-    protected CharSequence getCharData()
-    {
-        throw new IllegalStateException("not text: " + this);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameUnmarshaller.java
deleted file mode 100644
index caca45c..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameUnmarshaller.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class ByNameUnmarshaller
-    extends AttributeUnmarshaller
-{
-    private final ByNameRuntimeBindingType byNameType;
-
-    public ByNameUnmarshaller(ByNameRuntimeBindingType type)
-    {
-        super(type);
-        this.byNameType = type;
-    }
-
-    //TODO: cleanup this code.  We are doing extra work for assertion checking
-    protected void deserializeContents(Object inter, UnmarshalResult context)
-        throws XmlException
-    {
-        assert context.isStartElement();
-        final String ourStartUri = context.getNamespaceURI();
-        final String ourStartLocalName = context.getLocalName();
-        context.next();
-
-        while (context.advanceToNextStartElement()) {
-            assert context.isStartElement();
-
-            RuntimeBindingProperty prop = findMatchingElementProperty(context);
-            if (prop == null) {
-                context.skipElement();
-            } else {
-                //TODO: implement first one wins?, this is last one wins
-                context.extractAndFillElementProp(prop, inter);
-            }
-        }
-
-        assert context.isEndElement();
-        final String ourEndUri = context.getNamespaceURI();
-        final String ourEndLocalName = context.getLocalName();
-        assert ourStartUri.equals(ourEndUri) :
-            "expected=" + ourStartUri + " got=" + ourEndUri;
-        assert ourStartLocalName.equals(ourEndLocalName) :
-            "expected=" + ourStartLocalName + " got=" + ourEndLocalName;
-
-        if (context.hasNext()) context.next();
-    }
-
-
-    private RuntimeBindingProperty findMatchingElementProperty(UnmarshalResult context)
-    {
-        String uri = context.getNamespaceURI();
-        String lname = context.getLocalName();
-        return byNameType.getMatchingElementProperty(uri, lname);
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByteTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByteTypeConverter.java
deleted file mode 100644
index 581a45d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByteTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class ByteTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        byte val = context.getByteValue();
-        return new Byte(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        byte val = context.getAttributeByteValue();
-        return new Byte(val);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final byte b = XsTypeConverter.lexByte(lexical_value);
-            return new Byte(b);
-        }
-        catch (NumberFormatException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Byte val = (Byte)value;
-        return XsTypeConverter.printByte(val.byteValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CharacterVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CharacterVisitor.java
deleted file mode 100644
index 35da69d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CharacterVisitor.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-
-final class CharacterVisitor
-    extends XmlTypeVisitor
-{
-    private final CharSequence chars;
-
-    CharacterVisitor(RuntimeBindingProperty property,
-                     Object parentObject,
-                     PullMarshalResult result)
-        throws XmlException
-    {
-        super(parentObject, property, result);
-        assert (!(parentObject instanceof Collection));
-
-        //we are getting the lexical value here because in certain cases
-        //this action could end up modifying the namespace context.
-        //(qname, type substitution).
-        if (parentObject == null) {
-            //REVIEW: should this be a special subclass for nil types?
-            //Any use of this value should cause an npe later on.
-            chars = null;
-        } else {
-            chars = grabChars();
-        }
-    }
-
-    protected int getState()
-    {
-        return CHARS;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        return CHARS;
-    }
-
-    public XmlTypeVisitor getCurrentChild()
-        throws XmlException
-    {
-        throw new AssertionError("no children");
-    }
-
-    protected QName getName()
-    {
-        throw new AssertionError("no name on " + this);
-    }
-
-    protected String getLocalPart()
-    {
-        throw new AssertionError("no name on " + this);
-    }
-
-    protected String getNamespaceURI()
-    {
-        throw new AssertionError("no name on " + this);
-    }
-
-    protected String getPrefix()
-    {
-        throw new AssertionError("no name on " + this);
-    }
-
-    protected CharSequence getCharData()
-    {
-        return chars;
-    }
-
-    private CharSequence grabChars()
-        throws XmlException
-    {
-        final Object parent = getParentObject();
-        assert parent != null : "bad visitor: this=" + this;
-        return getBindingProperty().getLexical(parent, marshalResult);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ClassLoadingUtils.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ClassLoadingUtils.java
deleted file mode 100644
index 95fb8d7..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ClassLoadingUtils.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlRuntimeException;
-
-import java.lang.reflect.Array;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-final class ClassLoadingUtils
-{
-    private static final Map PRIMITIVES = new HashMap();
-
-    static
-    {
-        PRIMITIVES.put(boolean.class.getName(), boolean.class);
-        PRIMITIVES.put(char.class.getName(), char.class);
-        PRIMITIVES.put(byte.class.getName(), byte.class);
-        PRIMITIVES.put(short.class.getName(), short.class);
-        PRIMITIVES.put(int.class.getName(), int.class);
-        PRIMITIVES.put(long.class.getName(), long.class);
-        PRIMITIVES.put(float.class.getName(), float.class);
-        PRIMITIVES.put(double.class.getName(), double.class);
-    }
-
-
-    public static Class loadClass(String className,
-                                  ClassLoader backup_classloader)
-        throws ClassNotFoundException
-    {
-        Class prim_class = loadPrimitiveClass(className);
-        if (prim_class != null) return prim_class;
-
-        Class array_class = loadArrayClass(className, backup_classloader);
-        if (array_class != null)
-            return array_class;
-        else
-            return loadNonArrayClass(className, backup_classloader);
-    }
-
-    private static Class loadPrimitiveClass(String className)
-    {
-        return (Class)PRIMITIVES.get(className);
-    }
-
-    private static Class loadNonArrayClass(String className,
-                                           ClassLoader backup_classloader)
-        throws ClassNotFoundException
-    {
-        Class prim_class = loadPrimitiveClass(className);
-
-        if (prim_class != null) {
-            return prim_class;
-        }
-
-        ClassLoader cl = Thread.currentThread().getContextClassLoader();
-
-        if (cl == null) {
-            cl = backup_classloader;
-        }
-
-        try {
-            return cl.loadClass(className);
-        }
-        catch (ClassNotFoundException e) {
-            return Class.forName(className);
-        }
-    }
-
-    private static Class loadArrayClass(String className,
-                                        ClassLoader backup_classloader)
-        throws ClassNotFoundException
-    {
-        StringBuffer component = new StringBuffer(className.length());
-        int rank = getArrayComponentNameFromDecl(component, className);
-
-        if (rank < 1) return null; //not an array
-
-        int[] ranks = new int[rank];
-
-        Arrays.fill(ranks, 1);
-
-        Class component_class = loadNonArrayClass(component.toString(),
-                                                  backup_classloader);
-        Object instance = Array.newInstance(component_class, ranks);
-        return instance.getClass();
-    }
-
-    //TODO: make sure we don't have a another version of this method somewhere
-    //compname holds return value
-    //return int is number of dimensions of array
-    private static int getArrayComponentNameFromDecl(StringBuffer compname,
-                                                     String aname)
-    {
-        compname.setLength(0);
-
-        final int first_bracket = aname.indexOf('[');
-
-        if (first_bracket <= 0) {
-            compname.append(aname);
-            return 0;
-        }
-
-        final String base = aname.substring(0, first_bracket).trim();
-        compname.append(base);
-
-        int rank = 0;
-        for (int idx = aname.indexOf(']'); idx >= 0;
-             idx = aname.indexOf(']', idx + 1)) {
-            rank++;
-        }
-
-        assert compname.length() > 0;
-        assert rank > 0;
-        return rank;
-    }
-
-    static Object newInstance(Class javaClass)
-    {
-        try {
-            return javaClass.newInstance();
-        }
-        catch (InstantiationException e) {
-            throw new XmlRuntimeException(e);
-        }
-        catch (IllegalAccessException e) {
-            throw new XmlRuntimeException(e);
-        }
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CollapseStringTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CollapseStringTypeConverter.java
deleted file mode 100644
index 0e7077d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/CollapseStringTypeConverter.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-
-final class CollapseStringTypeConverter
-    extends StringTypeConverter
-{
-    private static final TypeConverter INSTANCE
-        = new CollapseStringTypeConverter();
-
-    static TypeConverter getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private CollapseStringTypeConverter()
-    {
-    }
-
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAttributeStringValue(XmlWhitespace.WS_COLLAPSE);
-    }
-
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getStringValue(XmlWhitespace.WS_COLLAPSE);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DecimalTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DecimalTypeConverter.java
deleted file mode 100644
index 935e226..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DecimalTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.math.BigDecimal;
-
-final class DecimalTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        BigDecimal val = context.getBigDecimalValue();
-        return val;
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeBigDecimalValue();
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return XsTypeConverter.lexDecimal(lexical_value);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        BigDecimal val = (BigDecimal)value;
-        return XsTypeConverter.printDecimal(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DoubleTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DoubleTypeConverter.java
deleted file mode 100644
index e94554d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DoubleTypeConverter.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class DoubleTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        double val = context.getDoubleValue();
-        return new Double(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        double val = context.getAttributeDoubleValue();
-        return new Double(val);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final double f = XsTypeConverter.lexDouble(lexical_value);
-            return new Double(f);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Double val = (Double)value;
-        return XsTypeConverter.printDouble(val.doubleValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DurationTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DurationTypeConverter.java
deleted file mode 100644
index 525ca31..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/DurationTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-
-
-/**
- * convert between schema Duration and GDuration
- */
-final class DurationTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return context.getGDurationValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeGDurationValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return new GDuration(lexical_value);
-        }
-        catch (IllegalArgumentException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        GDuration cal = (GDuration)value;
-        return cal.toString();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyLocation.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyLocation.java
deleted file mode 100644
index a702ef3..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyLocation.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import javax.xml.stream.Location;
-
-final class EmptyLocation
-    implements Location
-{
-    private static final Location INSTANCE = new EmptyLocation();
-
-    private EmptyLocation()
-    {
-    }
-
-    public static Location getInstance()
-    {
-        return INSTANCE;
-    }
-
-    public int getLineNumber()
-    {
-        return -1;
-    }
-
-    public int getColumnNumber()
-    {
-        return -1;
-    }
-
-    public int getCharacterOffset()
-    {
-        return -1;
-    }
-
-    public String getPublicId()
-    {
-        return null;
-    }
-
-    public String getSystemId()
-    {
-        return null;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyNamespaceContext.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyNamespaceContext.java
deleted file mode 100644
index 92c7478..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/EmptyNamespaceContext.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.impl.marshal.util.collections.EmptyIterator;
-
-import javax.xml.namespace.NamespaceContext;
-import java.util.Iterator;
-
-final class EmptyNamespaceContext
-    implements NamespaceContext
-{
-    private static final NamespaceContext INSTANCE =
-        new EmptyNamespaceContext();
-
-    public static NamespaceContext getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private EmptyNamespaceContext()
-    {
-    }
-
-    public String getNamespaceURI(String s)
-    {
-        return null;
-    }
-
-    public String getPrefix(String s)
-    {
-        return null;
-    }
-
-    public Iterator getPrefixes(String s)
-    {
-        return EmptyIterator.getInstance();
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FailFastErrorHandler.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FailFastErrorHandler.java
deleted file mode 100644
index 589b4a0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FailFastErrorHandler.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.impl.marshal.util.collections.EmptyIterator;
-
-import java.util.AbstractCollection;
-import java.util.Iterator;
-
-public class FailFastErrorHandler extends AbstractCollection
-{
-    private static final FailFastErrorHandler INSTANCE =
-        new FailFastErrorHandler();
-
-    public static FailFastErrorHandler getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private FailFastErrorHandler()
-    {
-    }
-
-    //TODO: this is pretty ugly in that we are throwing a Runtime Exception
-    //we really need to revisit the entire error propogation strategy.
-    public boolean add(Object obj)
-    {
-        if (obj instanceof XmlError) {
-            XmlError err = (XmlError)obj;
-            throw new XmlRuntimeException(err);
-        }
-        throw new XmlRuntimeException("unknown error: " + obj);
-    }
-
-    public Iterator iterator()
-    {
-        return EmptyIterator.getInstance();
-    }
-
-    public int size()
-    {
-        return 0;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FloatTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FloatTypeConverter.java
deleted file mode 100644
index 0a0bc39..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/FloatTypeConverter.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class FloatTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        float val = context.getAttributeFloatValue();
-        return new Float(val);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final float f = XsTypeConverter.lexFloat(lexical_value);
-            return new Float(f);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Float val = (Float)value;
-        return XsTypeConverter.printFloat(val.floatValue());
-    }
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        float val = context.getFloatValue();
-        return new Float(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/HexBinaryTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/HexBinaryTypeConverter.java
deleted file mode 100644
index 5d969de..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/HexBinaryTypeConverter.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-/**
- * converter for: byte[] <-> hexBinary
- */
-final class HexBinaryTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        final InputStream val = context.getHexBinaryValue();
-        try {
-            return MarshalStreamUtils.inputStreamToBytes(val);
-        }
-        catch (IOException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        final InputStream val = context.getAttributeHexBinaryValue();
-        try {
-            return MarshalStreamUtils.inputStreamToBytes(val);
-        }
-        catch (IOException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return XsTypeConverter.lexHexBinary(lexical_value);
-        }
-        catch (InvalidLexicalValueException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        byte[] val = (byte[])value;
-        return XsTypeConverter.printHexBinary(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntDateTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntDateTypeConverter.java
deleted file mode 100644
index adc86da..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntDateTypeConverter.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-
-/**
- * convert between schema date/time types and java.util.Date
- */
-final class IntDateTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    private final int schemaType;
-
-    /**
-     *
-     * @param schemaType  use codes from SchemaType
-     */
-    IntDateTypeConverter(int schemaType)
-    {
-        this.schemaType = schemaType;
-    }
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        final GDate gdate = context.getGDateValue();
-        return extractIntValue(gdate);
-    }
-
-    private Object extractIntValue(final GDateSpecification gdate)
-    {
-        final int val;
-        //REVIEW: consider subclasses to avoid this switch
-        switch (schemaType) {
-            case SchemaType.BTC_G_DAY:
-                val = gdate.getDay();
-                break;
-            case SchemaType.BTC_G_MONTH:
-                val = gdate.getMonth();
-                break;
-            case SchemaType.BTC_G_YEAR:
-                val = gdate.getYear();
-                break;
-            default:
-                throw new AssertionError("inapplicable type: " + schemaType);
-        }
-        return new Integer(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        final GDate gdate = context.getAttributeGDateValue();
-        return extractIntValue(gdate);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            GDateSpecification gd =
-                XsTypeConverter.getGDateValue(lexical_value, schemaType);
-            return extractIntValue(gd);
-        }
-        catch (IllegalArgumentException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-        throws XmlException
-    {
-        final int i = ((Integer)value).intValue();
-        //REVIEW: consider subclasses to avoid this switch
-        try {
-            GDateBuilder b = new GDateBuilder();
-            switch (schemaType) {
-                case SchemaType.BTC_G_DAY:
-                    b.setDay(i);
-                    break;
-                case SchemaType.BTC_G_MONTH:
-                    b.setMonth(i);
-                    break;
-                case SchemaType.BTC_G_YEAR:
-                    b.setYear(i);
-                    break;
-                default:
-                    throw new AssertionError("inapplicable type: " + schemaType);
-            }
-            b.setBuiltinTypeCode(schemaType);
-            return b.toString();
-        }
-        catch (IllegalArgumentException iae) {
-            throw new XmlException(iae);
-        }
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntTypeConverter.java
deleted file mode 100644
index 61fb5e7..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class IntTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        int val = context.getIntValue();
-        return new Integer(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        int val = context.getAttributeIntValue();
-        return new Integer(val);
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final int f = XsTypeConverter.lexInt(lexical_value);
-            return new Integer(f);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Integer val = (Integer)value;
-        return XsTypeConverter.printInt(val.intValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerToIntTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerToIntTypeConverter.java
deleted file mode 100644
index def0481..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerToIntTypeConverter.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.math.BigInteger;
-
-/**
- * used to convert xsd:integer and derived types to/from java.lang.Integer
- *
- * follows BigInteger.intValue() semantics for out of range values (for now)
- */
-final class IntegerToIntTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return BigIntegerToInteger(context.getBigIntegerValue());
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return BigIntegerToInteger(context.getAttributeBigIntegerValue());
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return XsTypeConverter.lexInteger(lexical_value);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Number val = (Number)value;
-        return XsTypeConverter.printInt(val.intValue());
-    }
-
-
-    private static Object BigIntegerToInteger(BigInteger val)
-    {
-        final int ival = val.intValue();
-        return new Integer(ival);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerTypeConverter.java
deleted file mode 100644
index 93ecf52..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/IntegerTypeConverter.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.math.BigInteger;
-
-final class IntegerTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        BigInteger val = context.getBigIntegerValue();
-        return val;
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeBigIntegerValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            return XsTypeConverter.lexInteger(lexical_value);
-        }
-        catch (NumberFormatException ne) {
-            throw new InvalidLexicalValueException(ne, result.getLocation());
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        BigInteger val = (BigInteger)value;
-        return XsTypeConverter.printInteger(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaCalendarTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaCalendarTypeConverter.java
deleted file mode 100644
index 1e5a1b1..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaCalendarTypeConverter.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.util.Calendar;
-
-
-/**
- * convert between schema date/time types and java.util.Calendar
- */
-final class JavaCalendarTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    private final int schemaType;
-
-    /**
-     *
-     * @param schemaType  use codes from SchemaType
-     */
-    JavaCalendarTypeConverter(int schemaType)
-    {
-        this.schemaType = schemaType;
-    }
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return context.getCalendarValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeCalendarValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            GDateSpecification gd =
-                XsTypeConverter.getGDateValue(lexical_value, schemaType);
-            return gd.getCalendar();
-        }
-        catch (IllegalArgumentException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Calendar cal = (Calendar)value;
-        GDateSpecification gd = XsTypeConverter.getGDateValue(cal, schemaType);
-        return gd.toString();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaDateTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaDateTypeConverter.java
deleted file mode 100644
index 6a9132e..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JavaDateTypeConverter.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.util.Date;
-
-
-/**
- * convert between schema date/time types and java.util.Date
- */
-final class JavaDateTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    private final int schemaType;
-
-    /**
-     *
-     * @param schemaType  use codes from SchemaType
-     */
-    JavaDateTypeConverter(int schemaType)
-    {
-        this.schemaType = schemaType;
-    }
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return context.getDateValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeDateValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            GDateSpecification gd =
-                XsTypeConverter.getGDateValue(lexical_value, schemaType);
-            return gd.getDate();
-        }
-        catch (IllegalArgumentException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Date d = (Date)value;
-        GDateSpecification gd = XsTypeConverter.getGDateValue(d, schemaType);
-        return gd.toString();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumMarsahller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumMarsahller.java
deleted file mode 100644
index 06f3059..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumMarsahller.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class JaxrpcEnumMarsahller
-    implements TypeMarshaller
-{
-    private final JaxrpcEnumRuntimeBindingType enumType;
-
-
-    public JaxrpcEnumMarsahller(JaxrpcEnumRuntimeBindingType rtt)
-    {
-        enumType = rtt;
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-        throws XmlException
-    {
-        return enumType.print(value, result);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumRuntimeBindingType.java
deleted file mode 100644
index 9f99ee9..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumRuntimeBindingType.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.JaxrpcEnumType;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.marshal.util.ReflectionUtils;
-
-import java.lang.reflect.Method;
-
-final class JaxrpcEnumRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final JaxrpcEnumType jaxrpcEnumType;
-    private ItemInfo itemInfo;
-
-    JaxrpcEnumRuntimeBindingType(JaxrpcEnumType type)
-        throws XmlException
-    {
-        super(type);
-        jaxrpcEnumType = type;
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader
-                           )
-        throws XmlException
-    {
-        itemInfo = new ItemInfo(jaxrpcEnumType, getJavaType(), typeTable,
-                                bindingLoader);
-    }
-
-    boolean hasElementChildren()
-    {
-        return false;
-    }
-
-    CharSequence print(Object value,
-                       MarshalResult result)
-        throws XmlException
-    {
-        if (itemInfo.hasToXmlMethod()) {
-            return (String)ReflectionUtils.invokeMethod(value,
-                                                        itemInfo.getToXmlMethod());
-        } else {
-            final Object simple_content = extractValue(value);
-            return itemInfo.getItemMarshaller().print(simple_content, result);
-        }
-    }
-
-    private Object extractValue(Object value)
-        throws XmlException
-    {
-        return ReflectionUtils.invokeMethod(value,
-                                            itemInfo.getGetValueMethod());
-    }
-
-    TypeUnmarshaller getItemUnmarshaller()
-    {
-        return itemInfo.getItemUnmarshaller();
-    }
-
-    Object fromValue(Object itemValue, UnmarshalResult context)
-        throws XmlException
-    {
-        assert itemValue != null;
-        assert context != null;
-        try {
-            return ReflectionUtils.invokeMethod(null, itemInfo.getFromValueMethod(),
-                                                new Object[]{itemValue});
-        }
-        catch (XmlException iae) {
-            throw new InvalidLexicalValueException(iae, context.getLocation());
-        }
-    }
-
-
-    private static final class ItemInfo
-    {
-        private final RuntimeBindingType itemType;
-        private final Method getValueMethod;
-        private final Method fromValueMethod;
-        private final Method toXmlMethod;
-
-        ItemInfo(JaxrpcEnumType jaxrpcEnumType,
-                 Class enum_java_class,
-                 RuntimeBindingTypeTable typeTable,
-                 BindingLoader loader)
-            throws XmlException
-        {
-            final BindingTypeName base_name = jaxrpcEnumType.getBaseTypeName();
-            if (base_name == null) {
-                throw new XmlException("null base type for " + jaxrpcEnumType);
-            }
-            final BindingType item_type = loader.getBindingType(base_name);
-            if (item_type == null) {
-                final String msg = "unable to load type " + base_name +
-                    " for " + jaxrpcEnumType;
-                throw new XmlException(msg);
-            }
-
-            itemType =
-                typeTable.createRuntimeType(item_type, loader);
-
-            fromValueMethod =
-                ReflectionUtils.getMethodOnClass(jaxrpcEnumType.getFromValueMethod(),
-                                                 enum_java_class);
-            if (!ReflectionUtils.isMethodStatic(fromValueMethod)) {
-                String e = "fromValue method must be static.  invalid " +
-                    "method: " + fromValueMethod + " in type " + jaxrpcEnumType;
-                throw new XmlException(e);
-            }
-
-            getValueMethod =
-                ReflectionUtils.getMethodOnClass(jaxrpcEnumType.getGetValueMethod(),
-                                                 enum_java_class);
-            toXmlMethod =
-                ReflectionUtils.getMethodOnClass(jaxrpcEnumType.getToXMLMethod(),
-                                                 enum_java_class);
-
-            //final sanity checks
-            TypeMarshaller itemMarshaller = itemType.getMarshaller();
-            if (itemMarshaller == null) {
-                String m = "unable to locate marshaller for " + item_type;
-                throw new XmlException(m);
-            }
-
-            final Class[] parms = fromValueMethod.getParameterTypes();
-            if (parms.length != 1) {
-                throw new XmlException("invalid fromValue method, must have" +
-                                       " one parameter: " + fromValueMethod +
-                                       " for type " + jaxrpcEnumType);
-            }
-            if (!parms[0].isAssignableFrom(itemType.getJavaType())) {
-                String m =
-                    "invalid fromValue method:" + fromValueMethod +
-                    " --  type mismatch between: " + parms[0] +
-                    " and " + itemType.getJavaType() +
-                    " for type " + jaxrpcEnumType;
-                throw new XmlException(m);
-            }
-        }
-
-        TypeMarshaller getItemMarshaller()
-        {
-            return itemType.getMarshaller();
-        }
-
-        TypeUnmarshaller getItemUnmarshaller()
-        {
-            return itemType.getUnmarshaller();
-        }
-
-        Method getGetValueMethod()
-        {
-            return getValueMethod;
-        }
-
-        Method getFromValueMethod()
-        {
-            return fromValueMethod;
-        }
-
-        Method getToXmlMethod()
-        {
-            return toXmlMethod;
-        }
-
-        boolean hasToXmlMethod()
-        {
-            return toXmlMethod != null;
-        }
-
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumUnmarshaller.java
deleted file mode 100644
index 5dd3448..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/JaxrpcEnumUnmarshaller.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-
-final class JaxrpcEnumUnmarshaller
-    implements TypeUnmarshaller
-{
-    private final JaxrpcEnumRuntimeBindingType runtimeType;
-
-    public JaxrpcEnumUnmarshaller(JaxrpcEnumRuntimeBindingType rtt)
-    {
-        runtimeType = rtt;
-    }
-
-    public Object unmarshal(UnmarshalResult result)
-        throws XmlException
-    {
-        final TypeUnmarshaller item_um = runtimeType.getItemUnmarshaller();
-        final Object itemValue = item_um.unmarshal(result);
-        try {
-            return runtimeType.fromValue(itemValue, result);
-        }
-        catch (InvalidLexicalValueException e) {
-            result.addError(e.getMessage(), e.getLocation());
-            throw e;
-        }
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException
-    {
-        final TypeUnmarshaller item_um = runtimeType.getItemUnmarshaller();
-        final Object itemValue = item_um.unmarshalAttribute(result);
-        return runtimeType.fromValue(itemValue, result);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        final TypeUnmarshaller item_um = runtimeType.getItemUnmarshaller();
-        final Object itemValue = item_um.unmarshalAttribute(lexical_value, result);
-        return runtimeType.fromValue(itemValue, result);
-    }
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayConverter.java
deleted file mode 100644
index 8bb5958..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayConverter.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-import org.apache.xmlbeans.impl.marshal.util.collections.Accumulator;
-import org.apache.xmlbeans.impl.marshal.util.collections.AccumulatorFactory;
-import org.apache.xmlbeans.impl.values.XmlListImpl;
-
-import java.util.Iterator;
-
-//TODO: optimize list processing to use CharSequence and avoid extra String objects
-
-
-final class ListArrayConverter
-    extends BaseSimpleTypeConverter
-{
-    private final ListArrayRuntimeBindingType listType;
-
-    private static final char SPACE = ' ';
-
-
-    ListArrayConverter(ListArrayRuntimeBindingType rtt)
-    {
-        listType = rtt;
-    }
-
-
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        final String str = context.getStringValue();
-
-        return getObjectFromListContent(str, context);
-    }
-
-
-    public Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException
-    {
-        final String str = result.getAttributeStringValue();
-        return getObjectFromListContent(str, result);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return getObjectFromListContent(lexical_value.toString(), result
-        );
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-        throws XmlException
-    {
-        final Iterator itr = ArrayUtils.getCollectionIterator(value);
-        if (!itr.hasNext()) return "";
-
-
-        final RuntimeBindingProperty item_prop = listType.getItemProperty();
-        StringBuffer buf = new StringBuffer();
-
-        final Object first = itr.next();
-        if (first != null) {
-            final CharSequence lex = item_prop.getLexical(first, result);
-            buf.append(lex);
-        }
-
-        while (itr.hasNext()) {
-            final Object item = itr.next();
-            if (item == null) continue;
-            final CharSequence lex = item_prop.getLexical(item, result);
-            buf.append(SPACE);
-            buf.append(lex);
-        }
-        return buf;
-    }
-
-    protected Object getObjectFromListContent(final String str,
-                                              UnmarshalResult context)
-        throws XmlException
-    {
-        final RuntimeBindingProperty item_prop = listType.getItemProperty();
-
-        final Class list_java_type = listType.getJavaType();
-        final Class item_java_type = item_prop.getRuntimeBindingType().getJavaType();
-
-        final TypeUnmarshaller item_um =
-            item_prop.getRuntimeBindingType().getUnmarshaller();
-
-        return unmarshalListString(str, list_java_type, item_java_type,
-                                   item_um, context);
-
-    }
-
-    protected static Object unmarshalListString(final CharSequence str,
-                                                final Class list_java_type,
-                                                final Class item_java_type,
-                                                final TypeUnmarshaller item_um,
-                                                final UnmarshalResult context)
-        throws XmlException
-    {
-        final Accumulator accum =
-            AccumulatorFactory.createAccumulator(list_java_type,
-                                                 item_java_type);
-
-        return unmarshalListString(accum, str, item_um, context);
-    }
-
-    protected static Object unmarshalListString(final Accumulator accum,
-                                                final CharSequence str,
-                                                final TypeUnmarshaller item_um,
-                                                final UnmarshalResult context)
-        throws XmlException
-    {
-        final String lex = str.toString();//TODO: avoid this call
-        final String[] strings = XmlListImpl.split_list(lex);
-        for (int i = 0, alen = strings.length; i < alen; i++) {
-            final String s = strings[i];
-            final Object val = item_um.unmarshalAttribute(s, context);
-            accum.append(val);
-        }
-        return accum.getFinalArray();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayRuntimeBindingType.java
deleted file mode 100644
index 759ee18..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayRuntimeBindingType.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.ListArrayType;
-import org.apache.xmlbeans.impl.marshal.util.collections.Accumulator;
-
-import javax.xml.namespace.QName;
-
-final class ListArrayRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final ListArrayType listArrayType;
-
-    private LAProperty itemProperty;
-
-    ListArrayRuntimeBindingType(ListArrayType binding_type)
-        throws XmlException
-    {
-        super(binding_type);
-        listArrayType = binding_type;
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader
-                           )
-        throws XmlException
-    {
-        final BindingTypeName item_type_name = listArrayType.getItemType();
-        assert item_type_name != null;
-
-        final BindingType item_type = bindingLoader.getBindingType(item_type_name);
-        if (item_type == null) {
-            final String msg = "unable to lookup " + item_type_name +
-                " from type " + listArrayType;
-            throw new XmlException(msg);
-        }
-
-        final RuntimeBindingType item_rtt =
-            typeTable.createRuntimeType(item_type, bindingLoader);
-
-        itemProperty = new LAProperty(this, item_rtt);
-    }
-
-    boolean hasElementChildren()
-    {
-        return false;
-    }
-
-
-    RuntimeBindingProperty getItemProperty()
-    {
-        assert itemProperty != null;
-        return itemProperty;
-    }
-
-    private static final class LAProperty
-        extends RuntimeBindingProperty
-    {
-        private final RuntimeBindingType itemType;
-
-        LAProperty(RuntimeBindingType containing_type,
-                   RuntimeBindingType item_type)
-            throws XmlException
-        {
-            super(containing_type);
-
-            itemType = item_type;
-
-            assert item_type.getMarshaller() != null;
-        }
-
-        Class getItemClass()
-        {
-            return itemType.getJavaType();
-        }
-
-        RuntimeBindingType getRuntimeBindingType()
-        {
-            return itemType;
-        }
-
-        RuntimeBindingType getActualRuntimeType(Object property_value,
-                                                MarshalResult result)
-            throws XmlException
-        {
-            return result.determineRuntimeBindingType(itemType, property_value);
-        }
-
-        QName getName()
-        {
-            throw new UnsupportedOperationException("no name");
-        }
-
-
-        public void fill(Object inter, Object prop_obj)
-            throws XmlException
-        {
-            Accumulator acc = (Accumulator)inter;
-            acc.append(prop_obj);
-        }
-
-        Object getValue(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new AssertionError("not used");
-        }
-
-        boolean isSet(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new AssertionError("not used");
-        }
-
-        boolean isMultiple()
-        {
-            return true;
-        }
-
-        boolean isNillable()
-        {
-            return false;
-        }
-
-        String getLexicalDefault()
-        {
-            return null;
-        }
-
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralMarshalResult.java
deleted file mode 100644
index 68de255..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralMarshalResult.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.NamespaceContext;
-
-final class LiteralMarshalResult
-    extends PullMarshalResult
-{
-
-    //TODO: REVIEW: consider ways to reduce the number of parameters here
-    LiteralMarshalResult(BindingLoader loader,
-                         RuntimeBindingTypeTable tbl,
-                         NamespaceContext root_nsctx,
-                         RuntimeBindingProperty property,
-                         Object obj,
-                         XmlOptions options)
-        throws XmlException
-    {
-        super(loader, tbl, root_nsctx, property, obj, options);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralPushMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralPushMarshalResult.java
deleted file mode 100644
index 51bd522..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralPushMarshalResult.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.stream.XMLStreamWriter;
-
-final class LiteralPushMarshalResult
-    extends PushMarshalResult
-{
-    LiteralPushMarshalResult(BindingLoader bindingLoader,
-                             RuntimeBindingTypeTable typeTable,
-                             XMLStreamWriter writer,
-                             XmlOptions options)
-        throws XmlException
-    {
-        super(bindingLoader,
-              typeTable,
-              writer,
-              options);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralUnmarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralUnmarshalResult.java
deleted file mode 100644
index f94868f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LiteralUnmarshalResult.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-final class LiteralUnmarshalResult
-    extends UnmarshalResult
-{
-    private final SchemaTypeLoaderProvider schemaTypeLoaderProvider;
-
-
-    LiteralUnmarshalResult(BindingLoader bindingLoader,
-                           RuntimeBindingTypeTable typeTable,
-                           SchemaTypeLoaderProvider provider,
-                           XmlOptions options)
-    {
-
-        super(bindingLoader, typeTable, options);
-        this.schemaTypeLoaderProvider = provider;
-
-    }
-
-    protected XMLStreamReader getValidatingStream(XMLStreamReader reader)
-        throws XmlException
-    {
-        if (isValidating()) {
-            ValidatingXMLStreamReader vr = new ValidatingXMLStreamReader();
-            final SchemaTypeLoader schemaTypeLoader =
-                schemaTypeLoaderProvider.getSchemaTypeLoader();
-            if (schemaTypeLoader == null) {
-                final String msg = "null schema type loader from " +
-                    "schemaTypeLoaderProvider " + schemaTypeLoaderProvider;
-                throw new XmlException(msg);
-            }
-            vr.init(reader, false, null, schemaTypeLoader, options, errors);
-            return vr;
-        } else {
-            return reader;
-        }
-    }
-
-    protected XMLStreamReader getValidatingStream(QName schemaType,
-                                                  XMLStreamReader reader)
-        throws XmlException
-    {
-        if (isValidating()) {
-            ValidatingXMLStreamReader vr = new ValidatingXMLStreamReader();
-            SchemaTypeLoader schemaTypeLoader =
-                schemaTypeLoaderProvider.getSchemaTypeLoader();
-            SchemaType schema_type = schemaTypeLoader.findType(schemaType);
-            if (schema_type == null) {
-                String e = "unable to locate definition of type " +
-                    schemaType + " in supplied schema type system";
-                throw new XmlException(e);
-            }
-            vr.init(reader, false, schema_type, schemaTypeLoader, options, errors);
-            return vr;
-        } else {
-            return reader;
-        }
-    }
-
-
-    private boolean isValidating()
-    {
-        if (options == null) return false;
-
-        return options.hasOption(XmlOptions.UNMARSHAL_VALIDATE);
-    }
-
-    void extractAndFillElementProp(final RuntimeBindingProperty prop,
-                                   Object inter)
-        throws XmlException
-    {
-        try {
-            final RuntimeBindingType actual_rtt =
-                this.determineActualRuntimeType(prop.getRuntimeBindingType());
-
-            final Object this_val =
-                unmarshalElementProperty(prop, inter, actual_rtt);
-
-            prop.fill(inter, this_val);
-        }
-        catch (InvalidLexicalValueException ilve) {
-            //unlike attributes, the error has been added to the this
-            //already via BaseSimpleTypeConveter...
-        }
-    }
-
-    //TODO: move to RuntimeBindingProperty?
-    protected Object unmarshalElementProperty(RuntimeBindingProperty prop,
-                                              Object inter,
-                                              RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        final String lexical_default = prop.getLexicalDefault();
-        if (lexical_default != null) {
-            setNextElementDefault(lexical_default);
-        }
-
-        final Object this_val;
-        if (prop.hasFactory()) {
-            final Object prop_inter =
-                prop.createIntermediary(inter, actual_rtt, this);
-            actual_rtt.getUnmarshaller().unmarshalIntoIntermediary(prop_inter, this);
-            this_val = actual_rtt.getFinalObjectFromIntermediary(prop_inter, this);
-        } else {
-            TypeUnmarshaller um = getUnmarshaller(actual_rtt);
-            this_val = um.unmarshal(this);
-        }
-        return this_val;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LongTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LongTypeConverter.java
deleted file mode 100644
index 90c0fd0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/LongTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class LongTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        long val = context.getLongValue();
-        return new Long(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        long val = context.getAttributeLongValue();
-        return new Long(val);
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final long b = XsTypeConverter.lexLong(lexical_value);
-            return new Long(b);
-        }
-        catch (NumberFormatException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-    }
-
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Long val = (Long)value;
-        return XsTypeConverter.printLong(val.longValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalResult.java
deleted file mode 100644
index cbacf40..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalResult.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import java.util.Collection;
-
-
-abstract class MarshalResult
-{
-    //per binding context constants
-    private final BindingLoader bindingLoader;
-    private final RuntimeBindingTypeTable typeTable;
-
-
-    //state fields
-    private final Collection errors;
-    private int prefixCnt = 0;
-
-    private static final String NSPREFIX = "n";
-    private static final boolean PRETTY_PREFIX = false;
-
-
-    //TODO: REVIEW: consider ways to reduce the number of parameters here
-    MarshalResult(BindingLoader loader,
-                  RuntimeBindingTypeTable tbl,
-                  XmlOptions options)
-        throws XmlException
-    {
-        bindingLoader = loader;
-        typeTable = tbl;
-        errors = BindingContextImpl.extractErrorHandler(options);
-    }
-
-    protected final void resetPrefixCount()
-    {
-        prefixCnt = 0;
-    }
-
-    public abstract NamespaceContext getNamespaceContext();
-
-    protected final String ensurePrefix(String uri)
-        throws XmlException
-    {
-        assert uri != null;  //QName's should use "" for no namespace
-        assert (uri.length() > 0);
-
-        String prefix = getNamespaceContext().getPrefix(uri);
-        if (prefix == null) {
-            prefix = bindNextPrefix(uri);
-        }
-        assert prefix != null;
-        return prefix;
-    }
-
-    private String bindNextPrefix(final String uri)
-        throws XmlException
-    {
-        String prefix = findNextPrefix(uri);
-        bindNamespace(prefix, uri);
-        return prefix;
-    }
-
-    protected final String findNextPrefix(final String uri)
-    {
-        assert uri != null;
-
-        String prefix =
-            PRETTY_PREFIX ? QNameHelper.suggestPrefix(uri) : nextNumberedPrefix();
-
-        for (; ;) {
-            String testuri = getNamespaceContext().getNamespaceURI(prefix);
-
-            if (testuri == null) {
-                assert prefix != null;
-                return prefix;
-            }
-
-            prefix = nextNumberedPrefix();
-        }
-    }
-
-    private String nextNumberedPrefix()
-    {
-        return NSPREFIX + (++prefixCnt);
-    }
-
-    protected abstract void bindNamespace(String prefix, String uri)
-        throws XmlException;
-
-
-    final void addXsiNilAttribute()
-        throws XmlException
-    {
-        addAttribute(MarshalStreamUtils.XSI_NS,
-                     MarshalStreamUtils.XSI_NIL_ATTR,
-                     ensurePrefix(MarshalStreamUtils.XSI_NS),
-                     NamedXmlTypeVisitor.TRUE_LEX);
-    }
-
-    final void addXsiTypeAttribute(RuntimeBindingType rtt)
-        throws XmlException
-    {
-        final QName schema_type = rtt.getSchemaTypeName();
-        final String type_uri = schema_type.getNamespaceURI();
-
-        //TODO: what about types from a schema with no targetNamespace??
-        assert type_uri != null;
-        assert type_uri.length() > 0;
-
-        final String aval =
-            XsTypeConverter.getQNameString(type_uri,
-                                           schema_type.getLocalPart(),
-                                           ensurePrefix(type_uri));
-
-        addAttribute(MarshalStreamUtils.XSI_NS,
-                     MarshalStreamUtils.XSI_TYPE_ATTR,
-                     ensurePrefix(MarshalStreamUtils.XSI_NS),
-                     aval);
-    }
-
-
-    final void fillAndAddAttribute(QName qname_without_prefix,
-                                   String value)
-        throws XmlException
-    {
-        final String uri = qname_without_prefix.getNamespaceURI();
-        if (uri.length() == 0) {
-            addAttribute(qname_without_prefix.getLocalPart(), value);
-        } else {
-            addAttribute(uri, qname_without_prefix.getLocalPart(),
-                         ensurePrefix(uri), value);
-        }
-    }
-
-
-    protected abstract void addAttribute(String lname,
-                                         String value)
-        throws XmlException;
-
-    protected abstract void addAttribute(String uri,
-                                         String lname,
-                                         String prefix,
-                                         String value)
-        throws XmlException;
-
-
-    final RuntimeBindingType determineRuntimeBindingType(RuntimeBindingType expected,
-                                                         Object instance)
-        throws XmlException
-    {
-        if (instance == null || !expected.canHaveSubtype()) {
-            return expected;
-        }
-
-        final Class instance_class = instance.getClass();
-        if (instance_class.equals(expected.getJavaType())) {
-            return expected;
-        }
-
-        final BindingTypeName type_name = expected.getBindingType().getName();
-        //TODO: avoid expensive comparison here by having RuntimeBindingType
-        //cache stuff to make it faster.
-        if (!type_name.getJavaName().isNameForClass(instance_class)) {
-            //NOTE: lookupBindingType will go up the type heirarchy
-            final BindingType actual_type =
-                MarshallerImpl.lookupBindingType(instance_class,
-                                                 type_name.getJavaName(),
-                                                 type_name.getXmlName(),
-                                                 bindingLoader);
-            if (actual_type != null) {
-                return typeTable.createRuntimeType(actual_type, bindingLoader);
-            }
-            //else go with original type and hope for the best...
-        }
-        return expected;
-    }
-
-
-    final Collection getErrorCollection()
-    {
-        return errors;
-    }
-
-    void addError(final String msg)
-    {
-        final XmlError err = XmlError.forMessage(msg);
-        getErrorCollection().add(err);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalStreamUtils.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalStreamUtils.java
deleted file mode 100644
index b3369fb..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshalStreamUtils.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Collection;
-
-final class MarshalStreamUtils
-{
-    static final String XSI_NS = "http://www.w3.org/2001/XMLSchema-instance";
-    static final String XSI_TYPE_ATTR = "type";
-    static final String XSI_NIL_ATTR = "nil";
-    static final String XSI_SCHEMA_LOCATION_ATTR = "schemaLocation";
-    static final String XSI_NO_NS_SCHEMA_LOCATION_ATTR =
-        "noNamespaceSchemaLocation";
-
-    static final QName XSI_NIL_QNAME = new QName(XSI_NS, XSI_NIL_ATTR);
-    static final QName XSI_TYPE_QNAME = new QName(XSI_NS, XSI_TYPE_ATTR);
-
-
-    static void getXsiAttributes(XsiAttributeHolder holder,
-                                 XMLStreamReaderExt reader,
-                                 Collection errors)
-        throws XMLStreamException
-    {
-        assert reader.isStartElement();
-
-        holder.reset();
-
-        final int att_cnt = reader.getAttributeCount();
-        for (int att_idx = 0; att_idx < att_cnt; att_idx++) {
-            if (!XSI_NS.equals(reader.getAttributeNamespace(att_idx)))
-                continue;
-
-            try {
-                final String lname = reader.getAttributeLocalName(att_idx);
-                if (XSI_TYPE_ATTR.equals(lname)) {
-                    holder.xsiType = reader.getAttributeQNameValue(att_idx);
-                } else if (XSI_NIL_ATTR.equals(lname)) {
-                    holder.hasXsiNil = reader.getAttributeBooleanValue(att_idx);
-                } else if (XSI_SCHEMA_LOCATION_ATTR.equals(lname)) {
-                    holder.schemaLocation =
-                        reader.getAttributeStringValue(att_idx,
-                                                       XmlWhitespace.WS_COLLAPSE);
-                } else if (XSI_NO_NS_SCHEMA_LOCATION_ATTR.equals(lname)) {
-                    holder.noNamespaceSchemaLocation =
-                        reader.getAttributeStringValue(att_idx,
-                                                       XmlWhitespace.WS_COLLAPSE);
-                }
-            }
-                //nothing should have been assigned, so keep going
-                //TODO: use real location (maybe just pass context to this method).
-            catch (InvalidLexicalValueException ilve) {
-                addError(errors, ilve.getMessage(),
-                         ilve.getLocation());
-            }
-        }
-    }
-
-    static QName getXsiType(XMLStreamReader reader, Collection errors)
-    {
-        assert reader.isStartElement();
-
-        final int att_cnt = reader.getAttributeCount();
-        for (int att_idx = 0; att_idx < att_cnt; att_idx++) {
-            if (!XSI_NS.equals(reader.getAttributeNamespace(att_idx)))
-                continue;
-
-            final String lname = reader.getAttributeLocalName(att_idx);
-            if (XSI_TYPE_ATTR.equals(lname)) {
-                final String type_str = reader.getAttributeValue(att_idx);
-                return XsTypeConverter.lexQName(type_str, errors,
-                                                reader.getNamespaceContext());
-            }
-        }
-
-        return null;
-    }
-
-    /**
-     * go to next start element.  if reader is sitting on a start element
-     * then no advancing will be done.  returns false if we hit an end element,
-     * or the end of the steam, otherwise returns true
-     *
-     * @param reader
-     * @return
-     */
-    static boolean advanceToNextStartElement(XMLStreamReader reader)
-        throws XmlException
-    {
-        try {
-            for (int state = reader.getEventType();
-                 reader.hasNext();
-                 state = reader.next()) {
-                switch (state) {
-                    case XMLStreamReader.START_ELEMENT:
-                        return true;
-                    case XMLStreamReader.END_ELEMENT:
-                        return false;
-                    case XMLStreamReader.END_DOCUMENT:
-                        throw new XmlException("unexpected end of XML");
-                    default:
-                        break;
-                }
-            }
-        }
-        catch (XMLStreamException xse) {
-            throw new XmlException(xse);
-        }
-
-        //end of the steam
-        return false;
-    }
-
-
-    /**
-     * Skip current element node and all its contents.
-     * Reader must be on start element.
-     * Skips just past the matching end element.
-     * We are just counting start/end -- the parser is
-     * dealing with well-formedness.
-     *
-     * @param reader
-     */
-    static void skipElement(XMLStreamReader reader)
-        throws XmlException
-    {
-        assert reader.isStartElement();
-
-        int cnt = -1;
-
-        //TODO: seem to be rechecking assertion, why not skip one ahead...
-
-        try {
-            int event = reader.getEventType();
-
-            while (true) {
-                switch (event) {
-                    case XMLStreamReader.START_ELEMENT:
-                        cnt++;
-                        break;
-                    case XMLStreamReader.END_ELEMENT:
-                        if (cnt == 0) {
-                            if (reader.hasNext())
-                                reader.next(); // move past end element
-                            return;
-                        } else {
-                            cnt--;
-                        }
-                        break;
-                    case XMLStreamReader.END_DOCUMENT:
-                        //should not happen for well-formed xml
-                        throw new XmlException("unexpected end of xml document");
-                    default:
-                        break;
-                }
-
-                if (reader.hasNext()) {
-                    event = reader.next();
-                } else {
-                    throw new XmlException("unexpected end of xml stream");
-                }
-            }
-        }
-        catch (XMLStreamException xse) {
-            throw new XmlException(xse);
-        }
-    }
-
-
-    static void advanceToFirstItemOfInterest(XMLStreamReader rdr)
-        throws XmlException
-    {
-        try {
-            for (int state = rdr.getEventType(); rdr.hasNext(); state = rdr.next()) {
-                switch (state) {
-                    case XMLStreamReader.START_ELEMENT:
-                        return;
-                    case XMLStreamReader.END_ELEMENT:
-                        throw new XmlException("unexpected end of XML");
-
-                    case XMLStreamReader.PROCESSING_INSTRUCTION:
-                        break;
-                    case XMLStreamReader.CHARACTERS:
-                        if (rdr.isWhiteSpace()) break;
-                        {
-                            final String text = rdr.getText();
-                            final Location loc = rdr.getLocation();
-                            String msg = "unexpected character data: " + text +
-                                " at line " + loc.getLineNumber() +
-                                " column " + loc.getColumnNumber();
-                            throw new XmlException(msg);
-                        }
-                    case XMLStreamReader.COMMENT:
-                    case XMLStreamReader.SPACE:
-                    case XMLStreamReader.START_DOCUMENT:
-                        break;
-                    case XMLStreamReader.END_DOCUMENT:
-                        throw new XmlException("unexpected end of XML");
-
-                    case XMLStreamReader.ENTITY_REFERENCE:
-                        break;
-
-                    case XMLStreamReader.ATTRIBUTE:
-                        throw new AssertionError("NAKED ATTRIBUTE UNIMPLEMENTED");
-
-                    case XMLStreamReader.DTD:
-                    case XMLStreamReader.CDATA:
-                    case XMLStreamReader.NAMESPACE:
-                    case XMLStreamReader.NOTATION_DECLARATION:
-                    case XMLStreamReader.ENTITY_DECLARATION:
-                        break;
-
-                    default:
-                        throw new XmlException("unexpected xml state:" + state +
-                                               "in" + rdr);
-                }
-            }
-        }
-        catch (XMLStreamException xse) {
-            throw new XmlException(xse);
-        }
-        throw new XmlException("unexpected end of xml stream");
-    }
-
-
-    static void addError(Collection errors,
-                         String msg,
-                         Location location)
-    {
-        addError(errors, msg, XmlError.SEVERITY_ERROR, location);
-    }
-
-    static void addError(Collection errors,
-                         String msg,
-                         int severity,
-                         Location location)
-    {
-        assert location != null;
-
-        String systemId = location.getSystemId();
-        if (systemId == null) {
-            systemId = "<unknown>"; // without this we get no line numbers
-        }
-
-        final XmlError err =
-            XmlError.forLocation(msg,
-                                 severity,
-                                 systemId,
-                                 location.getLineNumber(),
-                                 location.getColumnNumber(),
-                                 location.getCharacterOffset());
-        errors.add(err);
-    }
-
-    static Object inputStreamToBytes(final InputStream val)
-        throws IOException
-    {
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-        int b;
-
-        while ((b = val.read()) != -1) {
-            baos.write(b);
-        }
-
-        return baos.toByteArray();
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshallerImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshallerImpl.java
deleted file mode 100644
index e8ee76f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/MarshallerImpl.java
+++ /dev/null
@@ -1,512 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.Marshaller;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.bts.SimpleDocumentBinding;
-import org.apache.xmlbeans.impl.binding.bts.XmlTypeName;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import java.io.IOException;
-import java.io.OutputStream;
-
-final class MarshallerImpl
-    implements Marshaller
-{
-    //per binding context constants
-    private final BindingLoader loader;
-    private final RuntimeBindingTypeTable typeTable;
-
-    private static final XMLOutputFactory XML_OUTPUT_FACTORY =
-        XMLOutputFactory.newInstance();
-
-    private static final String XML_VERSION = "1.0";
-
-    public MarshallerImpl(BindingLoader loader,
-                          RuntimeBindingTypeTable typeTable)
-    {
-        this.loader = loader;
-        this.typeTable = typeTable;
-    }
-
-    public XMLStreamReader marshal(Object obj,
-                                   NamespaceContext nscontext)
-        throws XmlException
-    {
-        final JavaTypeName jname = determineJavaType(obj);
-        final XmlTypeName elem = lookupRootElementName(jname);
-        final BindingType btype = loadBindingTypeForGlobalElem(elem, jname, obj);
-        return createMarshalResult(btype, elem.getQName(), nscontext, obj);
-    }
-
-    private XmlTypeName lookupRootElementName(final JavaTypeName jname)
-        throws XmlException
-    {
-        final BindingTypeName root_elem_btype = loader.lookupElementFor(jname);
-        if (root_elem_btype == null) {
-            final String msg = "failed to find root " +
-                "element corresponding to " + jname;
-            throw new XmlException(msg);
-        }
-
-        final XmlTypeName elem = root_elem_btype.getXmlName();
-        assert elem.getComponentType() == XmlTypeName.ELEMENT;
-        return elem;
-    }
-
-
-    private PullMarshalResult createMarshalResult(final BindingType btype,
-                                                  QName elem_qn,
-                                                  NamespaceContext nscontext,
-                                                  Object obj)
-        throws XmlException
-    {
-        assert btype != null;
-
-        final RuntimeBindingType runtime_type =
-            typeTable.createRuntimeType(btype, loader);
-
-        runtime_type.checkInstance(obj);
-
-        RuntimeGlobalProperty prop =
-            new RuntimeGlobalProperty(elem_qn, runtime_type);
-
-        return new LiteralMarshalResult(loader, typeTable,
-                                        nscontext, prop, obj, null);
-    }
-
-
-    public XMLStreamReader marshal(Object obj,
-                                   XmlOptions options)
-        throws XmlException
-    {
-        //TODO: actually use the options!
-        NamespaceContext nscontext = getNamespaceContextFromOptions(options);
-        return marshal(obj, nscontext);
-    }
-
-    private static JavaTypeName determineJavaType(Object obj)
-    {
-        return determineJavaType(obj.getClass());
-    }
-
-    private static JavaTypeName determineJavaType(Class clazz)
-    {
-        return JavaTypeName.forClassName(clazz.getName());
-    }
-
-    public void marshal(XMLStreamWriter writer, Object obj)
-        throws XmlException
-    {
-        marshal(writer, obj, null);
-    }
-
-    public void marshal(XMLStreamWriter writer, Object obj, XmlOptions options)
-        throws XmlException
-    {
-        //TODO: javadoc that pretty is not supported here.
-
-        final JavaTypeName jname = determineJavaType(obj);
-        final XmlTypeName elem = lookupRootElementName(jname);
-        BindingType btype = loadBindingTypeForGlobalElem(elem, jname, obj);
-
-        String encoding = getEncoding(options);
-        try {
-            if (encoding != null) {
-                writer.writeStartDocument(encoding, XML_VERSION);
-            }
-            marshalBindingType(writer, btype, obj, elem.getQName());
-            writer.writeEndDocument();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    private BindingType loadBindingTypeForGlobalElem(final XmlTypeName elem,
-                                                     final JavaTypeName jname,
-                                                     Object obj)
-        throws XmlException
-    {
-        final XmlTypeName elem_type =
-            determineDocumentType(elem).getTypeOfElement();
-        final BindingType btype = loadBindingType(elem_type, jname, loader);
-        if (btype == null) {
-            final String msg = "failed to find a suitable binding type for" +
-                " use in marshalling object \"" + obj + "\". " +
-                " using schema type: " + elem_type;
-            throw new XmlException(msg);
-        }
-        return btype;
-    }
-
-    private static String getEncoding(XmlOptions options)
-    {
-        return (String)XmlOptions.safeGet(options,
-                                          XmlOptions.CHARACTER_ENCODING);
-    }
-
-    public void marshal(OutputStream out, Object obj)
-        throws XmlException
-    {
-        marshal(out, obj, (XmlOptions)null);
-    }
-
-    public void marshal(OutputStream out, Object obj, XmlOptions options)
-        throws XmlException
-    {
-        if (options != null && options.hasOption(XmlOptions.SAVE_PRETTY_PRINT)) {
-            marshalPretty(out, obj, options);
-        } else {
-            final String encoding = getEncoding(options);
-            final XMLStreamWriter writer;
-            try {
-                writer = createXmlStreamWriter(out, encoding);
-                marshal(writer, obj);
-                writer.close();
-            }
-            catch (XMLStreamException e) {
-                throw new XmlException(e);
-            }
-        }
-    }
-
-
-    private void marshalPretty(OutputStream out,
-                               Object obj,
-                               XmlOptions options)
-        throws XmlException
-    {
-        NamespaceContext nscontext = getNamespaceContextFromOptions(options);
-        XMLStreamReader rdr = marshal(obj, nscontext);
-        XmlObject xobj = XmlObject.Factory.parse(rdr);
-        try {
-            xobj.save(out, options);
-        }
-        catch (IOException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    private static XMLStreamWriter createXmlStreamWriter(OutputStream out,
-                                                         final String encoding)
-        throws XMLStreamException
-    {
-        final XMLStreamWriter writer;
-        if (encoding != null) {
-            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(out, encoding);
-        } else {
-            writer = XML_OUTPUT_FACTORY.createXMLStreamWriter(out);
-        }
-        return writer;
-    }
-
-    public void marshal(OutputStream out, Object obj, String encoding)
-        throws XmlException
-    {
-        if (encoding == null) {
-            throw new IllegalArgumentException("null encoding");
-        }
-
-        XmlOptions opts = new XmlOptions();
-        opts.setCharacterEncoding(encoding);
-
-        marshal(out, obj, opts);
-    }
-
-
-    public XMLStreamReader marshalType(Object obj,
-                                       QName elementName,
-                                       QName schemaType,
-                                       String javaType,
-                                       NamespaceContext namespaceContext)
-        throws XmlException
-    {
-        BindingType type = lookupBindingType(schemaType, javaType,
-                                             elementName, obj, loader);
-
-        return createMarshalResult(type, elementName, namespaceContext, obj);
-    }
-
-    static BindingType lookupBindingType(QName schemaType,
-                                         String javaType,
-                                         QName elementName,
-                                         Object obj,
-                                         BindingLoader loader)
-        throws XmlException
-    {
-        return lookupBindingType(XmlTypeName.forTypeNamed(schemaType),
-                                 javaType,
-                                 elementName, obj, loader);
-    }
-
-    private static BindingType lookupBindingType(XmlTypeName schema_type,
-                                                 String javaType,
-                                                 QName elementName,
-                                                 Object obj,
-                                                 BindingLoader loader)
-        throws XmlException
-    {
-        final BindingType type =
-            loadBindingType(schema_type,
-                            JavaTypeName.forClassName(javaType),
-                            loader);
-
-        if (type == null) {
-            final String msg = "failed to find a suitable binding type for" +
-                " use in marshalling \"" + elementName + "\". " +
-                " using java type: " + javaType +
-                " schema type: " + schema_type +
-                " instance type: " + obj.getClass().getName();
-            throw new XmlException(msg);
-        }
-        return type;
-    }
-
-    public void marshalType(XMLStreamWriter writer,
-                            Object obj,
-                            QName elementName,
-                            QName schemaType,
-                            String javaType)
-        throws XmlException
-    {
-        final BindingType btype = lookupBindingType(schemaType, javaType,
-                                                    elementName, obj, loader);
-        assert btype != null;
-
-        marshalBindingType(writer, btype, obj, elementName);
-    }
-
-    private void marshalBindingType(XMLStreamWriter writer,
-                                    final BindingType btype,
-                                    final Object obj,
-                                    QName elementName)
-        throws XmlException
-    {
-        final RuntimeBindingType runtime_type =
-            typeTable.createRuntimeType(btype, loader);
-
-        runtime_type.checkInstance(obj);
-
-        final RuntimeGlobalProperty prop =
-            new RuntimeGlobalProperty(elementName, runtime_type);
-
-        final PushMarshalResult pmr =
-            new LiteralPushMarshalResult(loader, typeTable, writer, null);
-
-        final RuntimeBindingType actual_rtt =
-            prop.getActualRuntimeType(obj, pmr);
-        pmr.marshalType(obj, prop, actual_rtt);
-    }
-
-    public void marshalElement(XMLStreamWriter writer,
-                               Object obj,
-                               QName elementName,
-                               String javaType,
-                               XmlOptions options)
-        throws XmlException
-    {
-        if (writer == null)
-            throw new IllegalArgumentException("null writer");
-
-        final XmlTypeName elem_name =
-            XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, elementName);
-
-        final BindingType btype =
-            loadBindingTypeForGlobalElem(elem_name,
-                                         determineJavaType(obj), obj);
-
-        marshalBindingType(writer, btype, obj, elementName);
-    }
-
-    public void marshalType(XMLStreamWriter writer,
-                            Object obj,
-                            QName elementName,
-                            QName schemaType,
-                            String javaType,
-                            XmlOptions options)
-        throws XmlException
-    {
-        marshalType(writer, obj, elementName, schemaType, javaType);
-    }
-
-    public XMLStreamReader marshalType(Object obj,
-                                       QName elementName,
-                                       QName schemaType,
-                                       String javaType,
-                                       XmlOptions options)
-        throws XmlException
-    {
-        NamespaceContext nscontext = getNamespaceContextFromOptions(options);
-
-        return marshalType(obj, elementName, schemaType, javaType,
-                           nscontext);
-    }
-
-    public XMLStreamReader marshalElement(Object obj,
-                                          QName elementName,
-                                          String javaType,
-                                          XmlOptions options)
-        throws XmlException
-    {
-        if (elementName == null)
-            throw new IllegalArgumentException("null elementName");
-
-        //TODO: we could allow javaType to be null in which case we could
-        //use our usual lookup methods (as in plain marshal)
-        if (javaType == null)
-            throw new IllegalArgumentException("null javaType");
-
-
-        final SimpleDocumentBinding doc_binding =
-            determineDocumentType(elementName);
-
-        final XmlTypeName elem_type = doc_binding.getTypeOfElement();
-
-        final BindingType type =
-            lookupBindingType(elem_type, javaType, elementName, obj, loader);
-
-        NamespaceContext nscontext = getNamespaceContextFromOptions(options);
-        return createMarshalResult(type, elementName,
-                                   nscontext, obj);
-    }
-
-    static NamespaceContext getNamespaceContextFromOptions(XmlOptions options)
-    {
-        //TODO: do this properly
-        return EmptyNamespaceContext.getInstance();
-    }
-
-    private SimpleDocumentBinding determineDocumentType(QName global_element)
-        throws XmlException
-    {
-        final XmlTypeName type_name =
-            XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, global_element);
-        return determineDocumentType(type_name);
-    }
-
-    private SimpleDocumentBinding determineDocumentType(XmlTypeName global_element)
-        throws XmlException
-    {
-        BindingType doc_binding_type = getPojoBindingType(global_element);
-        assert doc_binding_type != null;
-        return (SimpleDocumentBinding)doc_binding_type;
-    }
-
-
-    private BindingType getPojoBindingType(final XmlTypeName type_name)
-        throws XmlException
-    {
-        final BindingTypeName btName = loader.lookupPojoFor(type_name);
-        if (btName == null) {
-            final String msg = "failed to load java type corresponding " +
-                "to " + type_name;
-            throw new XmlException(msg);
-        }
-
-        BindingType bt = loader.getBindingType(btName);
-
-        if (bt == null) {
-            final String msg = "failed to load BindingType for " + btName;
-            throw new XmlException(msg);
-        }
-
-        assert bt != null;
-        return bt;
-    }
-
-
-
-
-    //TODO: refine this algorithm to deal better
-    //with primitives/interfaces/other oddities
-    //we are basically just walking up the super types
-    //till we hit a class that we can deal with.
-
-    //returns null if we fail
-    static BindingType lookupBindingType(Class instance_type,
-                                         JavaTypeName java_type,
-                                         XmlTypeName xml_type,
-                                         BindingLoader loader)
-        throws XmlException
-    {
-        //look first for exact match
-        {
-            JavaTypeName jname = determineJavaType(instance_type);
-            BindingType bt = loadBindingType(xml_type, jname, loader);
-            if (bt != null) return bt;  //success!
-        }
-
-
-        BindingType binding_type = null;
-        Class curr_class = instance_type;
-        Class super_type = null;
-
-        while (true) {
-            JavaTypeName jname = determineJavaType(curr_class);
-
-            BindingTypeName btype_name = loader.lookupTypeFor(jname);
-            if (btype_name != null) {
-                binding_type = loader.getBindingType(btype_name);
-                if (binding_type == null) {
-                    String e = "binding configuration inconsistency: found " +
-                        btype_name + " defined for " + jname + " but failed " +
-                        "to load the type";
-                    throw new XmlException(e);
-                } else {
-                    return binding_type; //success!
-                }
-            }
-
-            super_type = curr_class.getSuperclass();
-
-            //note that we check that this super-super type check is to avoid
-            //getting a match on java.lang.Object, which doesn't do us any good
-            if (super_type == null || (super_type.getSuperclass() == null)) {
-                break;
-            }
-
-            curr_class = super_type;
-        }
-
-        //reaching here means that we've failed using the actual instance,
-        //so let's try the expected type
-        assert (binding_type == null);
-        return loadBindingType(xml_type, java_type, loader);
-    }
-
-
-    private static BindingType loadBindingType(XmlTypeName xname,
-                                               JavaTypeName jname,
-                                               BindingLoader loader)
-    {
-        BindingTypeName btname = BindingTypeName.forPair(jname, xname);
-        return loader.getBindingType(btname);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamedXmlTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamedXmlTypeVisitor.java
deleted file mode 100644
index f60b7cc..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamedXmlTypeVisitor.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import javax.xml.namespace.QName;
-
-//named means we have an actual start/end element versus just characters
-
-abstract class NamedXmlTypeVisitor
-    extends XmlTypeVisitor
-{
-    private final String prefix;
-
-    private final RuntimeBindingType actualRuntimeBindingType;
-
-    protected static final String TRUE_LEX =
-        XsTypeConverter.printBoolean(true).intern();
-
-    NamedXmlTypeVisitor(Object parentObject,
-                        RuntimeBindingProperty property,
-                        PullMarshalResult result)
-        throws XmlException
-    {
-        super(parentObject, property, result);
-
-        actualRuntimeBindingType =
-            property.getActualRuntimeType(parentObject, result);
-
-        final String uri = getBindingProperty().getName().getNamespaceURI();
-        if (uri.length() > 0) {
-            prefix = marshalResult.ensurePrefix(uri);
-        } else {
-            prefix = null;
-        }
-    }
-
-    protected QName getName()
-    {
-        final QName name = getBindingProperty().getName();
-        if (prefix == null)
-            return name;
-        else
-            return new QName(name.getNamespaceURI(), name.getLocalPart(), prefix);
-    }
-
-    protected String getLocalPart()
-    {
-        return getBindingProperty().getName().getLocalPart();
-    }
-
-    protected String getNamespaceURI()
-    {
-        return getBindingProperty().getName().getNamespaceURI();
-    }
-
-    protected String getPrefix()
-    {
-        return prefix;
-    }
-
-    protected final RuntimeBindingType getActualRuntimeBindingType()
-    {
-        return actualRuntimeBindingType;
-    }
-
-    protected final boolean needsXsiType()
-    {
-        return (actualRuntimeBindingType !=
-            getBindingProperty().getRuntimeBindingType());
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamespaceTests.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamespaceTests.java
deleted file mode 100644
index 61d29e1..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NamespaceTests.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-class NamespaceTests
-{
-    public static void main(String[] args)
-    {
-
-        ScopedNamespaceContext ctx = new ScopedNamespaceContext();
-
-        assert (0 == ctx.getCurrentScopeNamespaceCount());
-        ctx.openScope();
-        assert (0 == ctx.getCurrentScopeNamespaceCount());
-
-        ctx.bindNamespace("p1.1", "n1.1");
-        assert (1 == ctx.getCurrentScopeNamespaceCount());
-
-        ctx.bindNamespace("p1.2", "n1.2");
-        assert (2 == ctx.getCurrentScopeNamespaceCount());
-
-        ctx.openScope();
-
-        ctx.bindNamespace("p2.1", "n2.1");
-        assert (1 == ctx.getCurrentScopeNamespaceCount());
-        ctx.bindNamespace("p2.2", "n2.2");
-        assert (2 == ctx.getCurrentScopeNamespaceCount());
-
-        assert "n1.1".equals(ctx.getNamespaceURI("p1.1"));
-        assert "n2.1".equals(ctx.getNamespaceURI("p2.1"));
-
-        ctx.closeScope();
-
-        assert "n1.1".equals(ctx.getNamespaceURI("p1.1"));
-        assert (ctx.getNamespaceURI("p2.1") == null);
-
-//        final int trials = 100000000;
-//        for(int i = 1 ; i < trials ; i++) {
-//            ctx.openScope();
-//            ctx.bindNamespace("p1.1", "n2.1");
-//            ctx.openScope();
-//            ctx.bindNamespace("p2.2", "n2.2");
-//            ctx.closeScope();
-//            ctx.closeScope();
-//        }
-
-
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NullUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NullUnmarshaller.java
deleted file mode 100644
index 2862ace..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/NullUnmarshaller.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-/**
- * Used to unmarshall objects with xsi:nil="true"
- * Just skips the contents and returns null
- */
-final class NullUnmarshaller
-    implements TypeUnmarshaller
-{
-    private static final TypeUnmarshaller INSTANCE = new NullUnmarshaller();
-
-    private NullUnmarshaller()
-    {
-    }
-
-    public Object unmarshal(UnmarshalResult context)
-        throws XmlException
-    {
-        context.skipElement();
-        return null;
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-        throws XmlException
-    {
-        result.skipElement();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-
-    public static TypeUnmarshaller getInstance()
-    {
-        return INSTANCE;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectAnyTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectAnyTypeConverter.java
deleted file mode 100644
index 39402b9..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectAnyTypeConverter.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-
-import javax.xml.namespace.QName;
-
-public final class ObjectAnyTypeConverter
-    implements TypeConverter
-{
-    public ObjectAnyTypeConverter()
-    {
-    }
-
-    public Object unmarshal(UnmarshalResult result)
-        throws XmlException
-    {
-        //TODO: return SOAPElement!!
-        final QName xsi_type = result.getXsiType();
-        assert xsi_type == null : " xsi-type is " + xsi_type;
-        String lname = result.getLocalName();
-        throw new AssertionError("GENERIC XML UNIMPLEMENTED: " + lname +
-                                 " at " + XmlStreamUtils.printEvent(result.baseReader));
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-    {
-        throw new UnsupportedOperationException("not used: " + this);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("unused");
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("unused");
-    }
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException("not supported: this=" + this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        //TODO: REVIEW: is this the right thing here?
-        return value.toString();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectRefTable.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectRefTable.java
deleted file mode 100644
index fba3465..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ObjectRefTable.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import java.util.IdentityHashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-final class ObjectRefTable
-{
-    private final IdentityHashMap table = new IdentityHashMap();
-    private boolean haveMultiplyRefdObj = false;
-    private int idcnt;
-
-
-    public boolean hasMultiplyRefdObjects()
-    {
-        return haveMultiplyRefdObj;
-    }
-
-    public Iterator getMultipleRefTableEntries()
-    {
-        return new MultiRefIterator(table);
-    }
-
-    //returns new count
-    public int incrementRefCount(final Object keyobj,
-                                 RuntimeBindingProperty property,
-                                 boolean needs_xsi_type)
-    {
-        if (keyobj == null) return 0;
-
-        Value val = (Value)table.get(keyobj);
-        if (val == null) {
-            val = new Value(keyobj, ++idcnt, property);
-            table.put(keyobj, val);
-        } else {
-            assert val.cnt > 0;
-            haveMultiplyRefdObj = true;
-        }
-
-        assert table.get(keyobj) == val;
-
-        if (needs_xsi_type) {
-            val.needsXsiType = true;
-        }
-
-        return (++val.cnt);
-    }
-
-    public int getRefCount(Object obj)
-    {
-        if (obj == null) return 0;
-
-        Value val = (Value)table.get(obj);
-        if (val == null) {
-            return 0;
-        }
-        return val.cnt;
-    }
-
-
-    /**
-     * Returns -1 if ref count for obj is <= 1
-     *
-     * @param obj
-     * @return
-     */
-    public int getId(Object obj)
-    {
-        int retval = -1;
-
-        if (obj != null) {
-            Value val = (Value)table.get(obj);
-            if (val != null && val.cnt > 1) {
-                retval = val.id;
-            }
-        }
-        return retval;
-    }
-
-
-    public static final class Value
-    {
-        final Object object;
-        final int id;
-        final RuntimeBindingProperty prop;
-        int cnt;
-        boolean needsXsiType;
-
-        public int getId()
-        {
-            return id;
-        }
-
-        public int getCnt()
-        {
-            return cnt;
-        }
-
-        public RuntimeBindingProperty getProp()
-        {
-            return prop;
-        }
-
-        public Value(Object obj, int id, RuntimeBindingProperty prop)
-        {
-            this.object = obj;
-            this.id = id;
-            this.prop = prop;
-        }
-
-    }
-
-
-    private static final class MultiRefIterator
-        implements Iterator
-    {
-        private final Iterator baseItr;
-        private Value nextValue = null;
-
-        MultiRefIterator(IdentityHashMap table)
-        {
-            baseItr = table.entrySet().iterator();
-            updateNext();
-        }
-
-        public boolean hasNext()
-        {
-            return (nextValue != null);
-        }
-
-        public Object next()
-        {
-            final Value retval = this.nextValue;
-
-            assert retval.getCnt() > 1;
-
-            updateNext();
-
-            assert (nextValue == null || nextValue.getCnt() > 1);
-
-            return retval;
-        }
-
-        private void updateNext()
-        {
-            while (baseItr.hasNext()) {
-                final Map.Entry map_entry = (Map.Entry)baseItr.next();
-                final ObjectRefTable.Value val =
-                    (ObjectRefTable.Value)map_entry.getValue();
-                if (val.cnt > 1) {
-                    nextValue = val;
-                    return;
-                }
-            }
-            nextValue = null;
-        }
-
-
-        public void remove()
-        {
-            throw new UnsupportedOperationException();
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PreserveStringTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PreserveStringTypeConverter.java
deleted file mode 100644
index b4cb9fd..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PreserveStringTypeConverter.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-
-final class PreserveStringTypeConverter
-    extends StringTypeConverter
-{
-    private static final TypeConverter INSTANCE
-        = new PreserveStringTypeConverter();
-
-    static TypeConverter getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private PreserveStringTypeConverter()
-    {
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAttributeStringValue(XmlWhitespace.WS_PRESERVE);
-    }
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return context.getStringValue(XmlWhitespace.WS_PRESERVE);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullMarshalResult.java
deleted file mode 100644
index 65f62e5..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullMarshalResult.java
+++ /dev/null
@@ -1,654 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingType;
-import org.apache.xmlbeans.impl.binding.bts.ByNameBean;
-import org.apache.xmlbeans.impl.binding.bts.JaxrpcEnumType;
-import org.apache.xmlbeans.impl.binding.bts.ListArrayType;
-import org.apache.xmlbeans.impl.binding.bts.SimpleBindingType;
-import org.apache.xmlbeans.impl.binding.bts.SimpleContentBean;
-import org.apache.xmlbeans.impl.binding.bts.SimpleDocumentBinding;
-import org.apache.xmlbeans.impl.binding.bts.SoapArrayType;
-import org.apache.xmlbeans.impl.binding.bts.WrappedArrayType;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.marshal.util.AttributeHolder;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.util.Stack;
-
-
-abstract class PullMarshalResult
-    extends MarshalResult
-    implements XMLStreamReader
-{
-    private final BindingTypeVisitor bindingTypeVisitor =
-        new BindingTypeVisitor(this);
-    private final ScopedNamespaceContext namespaceContext;
-    private final Stack visitorStack = new Stack();
-
-    private XmlTypeVisitor currVisitor;
-    private int currentEventType = XMLStreamReader.START_ELEMENT;
-    private boolean initedAttributes = false;
-    private AttributeHolder attributeHolder;
-
-    private static final String ATTRIBUTE_XML_TYPE = "CDATA";
-
-
-    //TODO: REVIEW: consider ways to reduce the number of parameters here
-    PullMarshalResult(BindingLoader loader,
-                      RuntimeBindingTypeTable tbl,
-                      NamespaceContext root_nsctx,
-                      RuntimeBindingProperty property,
-                      Object obj,
-                      XmlOptions options)
-        throws XmlException
-    {
-        super(loader, tbl, options);
-        namespaceContext = new ScopedNamespaceContext(root_nsctx);
-        namespaceContext.openScope();
-        currVisitor = createInitialVisitor(property, obj);
-    }
-
-    //reset to initial state but with new property and object
-    protected void reset(RuntimeBindingProperty property, Object obj)
-        throws XmlException
-    {
-        resetPrefixCount();
-        namespaceContext.clear();
-        namespaceContext.openScope();
-        visitorStack.clear();
-        currVisitor = createInitialVisitor(property, obj);
-        currentEventType = XMLStreamReader.START_ELEMENT;
-        initedAttributes = false;
-        if (attributeHolder != null) attributeHolder.clear();
-    }
-
-    protected XmlTypeVisitor createInitialVisitor(RuntimeBindingProperty property,
-                                                  Object obj)
-        throws XmlException
-    {
-        return createVisitor(property, obj);
-    }
-
-    protected XmlTypeVisitor createVisitor(RuntimeBindingProperty property,
-                                           Object obj)
-        throws XmlException
-    {
-        assert property != null;
-
-        BindingType btype = property.getRuntimeBindingType().getBindingType();
-        final BindingTypeVisitor type_visitor = bindingTypeVisitor;
-        type_visitor.setParentObject(obj);
-        type_visitor.setRuntimeBindingProperty(property);
-        btype.accept(type_visitor);
-        return type_visitor.getXmlTypeVisitor();
-    }
-
-
-    public Object getProperty(String s)
-        throws IllegalArgumentException
-    {
-        throw new UnsupportedOperationException("UNIMPLEMENTED");
-    }
-
-    public int next()
-        throws XMLStreamException
-    {
-        switch (currVisitor.getState()) {
-            case XmlTypeVisitor.START:
-                break;
-            case XmlTypeVisitor.CHARS:
-            case XmlTypeVisitor.END:
-                currVisitor = popVisitor();
-                break;
-            default:
-                throw new AssertionError("invalid: " + currVisitor.getState());
-        }
-
-        try {
-            return (currentEventType = advanceToNext());
-        }
-        catch (XmlException e) {
-            //TODO: consider passing Location to exception ctor
-            XMLStreamException xse = new XMLStreamException(e);
-            xse.initCause(e);
-            throw xse;
-        }
-    }
-
-    private int advanceToNext()
-        throws XmlException
-    {
-        final int next_state = currVisitor.advance();
-        switch (next_state) {
-            case XmlTypeVisitor.CONTENT:
-                pushVisitor(currVisitor);
-                currVisitor = currVisitor.getCurrentChild();
-                return START_ELEMENT;
-            case XmlTypeVisitor.CHARS:
-                pushVisitor(currVisitor);
-                currVisitor = currVisitor.getCurrentChild();
-                return CHARACTERS;
-            case XmlTypeVisitor.END:
-                return END_ELEMENT;
-            default:
-                throw new AssertionError("bad state: " + next_state);
-        }
-    }
-
-    private void pushVisitor(XmlTypeVisitor v)
-    {
-        visitorStack.push(v);
-        namespaceContext.openScope();
-        initedAttributes = false;
-    }
-
-    private XmlTypeVisitor popVisitor()
-    {
-        namespaceContext.closeScope();
-        final XmlTypeVisitor tv = (XmlTypeVisitor)visitorStack.pop();
-        return tv;
-    }
-
-
-    public void require(int i, String s, String s1)
-        throws XMLStreamException
-    {
-        throw new UnsupportedOperationException("UNIMPLEMENTED");
-    }
-
-    public String getElementText() throws XMLStreamException
-    {
-        throw new UnsupportedOperationException("UNIMPLEMENTED");
-    }
-
-    public int nextTag() throws XMLStreamException
-    {
-        throw new UnsupportedOperationException("UNIMPLEMENTED");
-    }
-
-    public boolean hasNext() throws XMLStreamException
-    {
-        if (visitorStack.isEmpty()) {
-            return (currVisitor.getState() != XmlTypeVisitor.END);
-        } else {
-            return true;
-        }
-    }
-
-    public void close() throws XMLStreamException
-    {
-        //TODO: consider freeing memory
-    }
-
-    public String getNamespaceURI(String s)
-    {
-        if (s == null)
-            throw new IllegalArgumentException("prefix cannot be null");
-
-        return getNamespaceContext().getNamespaceURI(s);
-    }
-
-    public boolean isStartElement()
-    {
-        return currentEventType == START_ELEMENT;
-    }
-
-    public boolean isEndElement()
-    {
-        return currentEventType == END_ELEMENT;
-    }
-
-    public boolean isCharacters()
-    {
-        return currentEventType == CHARACTERS;
-    }
-
-    public boolean isWhiteSpace()
-    {
-        if (!isCharacters()) return false;
-        CharSequence seq = currVisitor.getCharData();
-        return XmlWhitespace.isAllSpace(seq);
-    }
-
-    public String getAttributeValue(String uri, String lname)
-    {
-        initAttributes();
-
-        //TODO: do better than this basic and slow implementation
-        for (int i = 0, len = getAttributeCount(); i < len; i++) {
-            final QName aname = getAttributeName(i);
-
-            if (lname.equals(aname.getLocalPart())) {
-                if (uri == null || uri.equals(aname.getNamespaceURI()))
-                    return getAttributeValue(i);
-            }
-        }
-        return null;
-    }
-
-    public int getAttributeCount()
-    {
-        initAttributes();
-        if (attributeHolder == null)
-            return 0;
-        else
-            return attributeHolder.getAttributeCount();
-    }
-
-    public QName getAttributeName(int i)
-    {
-        initAttributes();
-        assert attributeHolder != null;
-        return attributeHolder.getAttributeName(i);
-    }
-
-    public String getAttributeNamespace(int i)
-    {
-        initAttributes();
-        assert attributeHolder != null;
-        return attributeHolder.getAttributeNamespace(i);
-    }
-
-    public String getAttributeLocalName(int i)
-    {
-        initAttributes();
-        assert attributeHolder != null;
-        return attributeHolder.getAttributeLocalName(i);
-    }
-
-    public String getAttributePrefix(int i)
-    {
-        initAttributes();
-        assert attributeHolder != null;
-        return attributeHolder.getAttributePrefix(i);
-    }
-
-    public String getAttributeType(int i)
-    {
-        attributeRangeCheck(i);
-        return ATTRIBUTE_XML_TYPE;
-    }
-
-    public String getAttributeValue(int i)
-    {
-        initAttributes();
-        assert attributeHolder != null;
-        return attributeHolder.getAttributeValue(i);
-    }
-
-    public boolean isAttributeSpecified(int i)
-    {
-        initAttributes();
-
-        assert attributeHolder != null;
-        return attributeHolder.isAttributeSpecified(i);
-    }
-
-    public int getNamespaceCount()
-    {
-        initAttributes();
-        return namespaceContext.getCurrentScopeNamespaceCount();
-    }
-
-
-    public String getNamespacePrefix(int i)
-    {
-        initAttributes();
-        return namespaceContext.getCurrentScopeNamespacePrefix(i);
-    }
-
-    public String getNamespaceURI(int i)
-    {
-        initAttributes();
-        return namespaceContext.getCurrentScopeNamespaceURI(i);
-    }
-
-    public NamespaceContext getNamespaceContext()
-    {
-        return namespaceContext;
-    }
-
-    protected void bindNamespace(String prefix, String uri)
-        throws XmlException
-    {
-        namespaceContext.bindNamespace(prefix, uri);
-    }
-
-    protected void addAttribute(String lname,
-                                String value)
-        throws XmlException
-    {
-        addAttribute(null, lname, null, value);
-    }
-
-    public int getEventType()
-    {
-        return currentEventType;
-    }
-
-    public String getText()
-    {
-        CharSequence seq = currVisitor.getCharData();
-        return seq.toString();
-    }
-
-    public char[] getTextCharacters()
-    {
-        CharSequence seq = currVisitor.getCharData();
-        if (seq instanceof String) {
-            return seq.toString().toCharArray();
-        }
-
-        final int len = seq.length();
-        char[] val = new char[len];
-        for (int i = 0; i < len; i++) {
-            val[i] = seq.charAt(i);
-        }
-        return val;
-    }
-
-
-    public int getTextCharacters(int sourceStart,
-                                 char[] target,
-                                 int targetStart,
-                                 int length)
-        throws XMLStreamException
-    {
-        if (length < 0)
-            throw new IndexOutOfBoundsException("negative length: " + length);
-
-        if (targetStart < 0)
-            throw new IndexOutOfBoundsException("negative targetStart: " + targetStart);
-
-        final int target_length = target.length;
-        if (targetStart >= target_length)
-            throw new IndexOutOfBoundsException("targetStart(" + targetStart + ") past end of target(" + target_length + ")");
-
-        if ((targetStart + length) > target_length) {
-            throw new IndexOutOfBoundsException("insufficient data in target(length is " + target_length + ")");
-        }
-
-        CharSequence seq = currVisitor.getCharData();
-        if (seq instanceof String) {
-            final String s = seq.toString();
-            s.getChars(sourceStart, sourceStart + length, target, targetStart);
-            return length;
-        }
-
-        //TODO: review this code
-        int cnt = 0;
-        for (int src_idx = sourceStart, dest_idx = targetStart; cnt < length; cnt++) {
-            target[dest_idx++] = seq.charAt(src_idx++);
-        }
-        return cnt;
-    }
-
-    public int getTextStart()
-    {
-        return 0;
-    }
-
-    public int getTextLength()
-    {
-        return currVisitor.getCharData().length();
-    }
-
-    public String getEncoding()
-    {
-        return null;
-    }
-
-    public boolean hasText()
-    {
-        //we'll likely never return some of these but just in case...
-        switch (currentEventType) {
-            case CHARACTERS:
-            case COMMENT:
-            case SPACE:
-            case ENTITY_REFERENCE:
-            case DTD:
-                return true;
-            default:
-                return false;
-        }
-    }
-
-    public Location getLocation()
-    {
-        //TODO: something better than this, like give the object instance
-        return EmptyLocation.getInstance();
-    }
-
-    public QName getName()
-    {
-        return currVisitor.getName();
-    }
-
-    public String getLocalName()
-    {
-        return currVisitor.getLocalPart();
-    }
-
-    public boolean hasName()
-    {
-        return ((currentEventType == XMLStreamReader.START_ELEMENT) ||
-            (currentEventType == XMLStreamReader.END_ELEMENT));
-    }
-
-    public String getNamespaceURI()
-    {
-        return currVisitor.getNamespaceURI();
-    }
-
-    public String getPrefix()
-    {
-        return currVisitor.getPrefix();
-    }
-
-    public String getVersion()
-    {
-        return null;
-    }
-
-    public boolean isStandalone()
-    {
-        return false;
-    }
-
-    public boolean standaloneSet()
-    {
-        return false;
-    }
-
-    public String getCharacterEncodingScheme()
-    {
-        return null;
-    }
-
-    public String getPITarget()
-    {
-        throw new IllegalStateException();
-    }
-
-    public String getPIData()
-    {
-        throw new IllegalStateException();
-    }
-
-    protected void initAttributes()
-    {
-        if (!initedAttributes) {
-            try {
-                if (attributeHolder != null) {
-                    attributeHolder.clear();
-                }
-                currVisitor.initAttributes();
-            }
-            catch (XmlException e) {
-                //public attribute interfaces of XMLStreamReader
-                //force us into this behavior
-                throw new XmlRuntimeException(e);
-            }
-            initedAttributes = true;
-        }
-    }
-
-    private void attributeRangeCheck(int i)
-    {
-        final int att_cnt = getAttributeCount();
-        if (i >= att_cnt) {
-            String msg = "index" + i + " invalid. " +
-                " attribute count is " + att_cnt;
-            throw new IndexOutOfBoundsException(msg);
-        }
-    }
-
-
-    public String toString()
-    {
-        return "org.apache.xmlbeans.impl.marshal.MarshalResult{" +
-            "currentEvent=" + XmlStreamUtils.printEvent(this) +
-            ", visitorStack=" + (visitorStack == null ? null : "size:" + visitorStack.size() + visitorStack) +
-            ", currVisitor=" + currVisitor +
-            "}";
-    }
-
-    protected void addAttribute(String namespaceURI,
-                                String localPart,
-                                String prefix,
-                                String value)
-    {
-        if (attributeHolder == null) {
-            attributeHolder = new AttributeHolder();
-        }
-        attributeHolder.add(namespaceURI, localPart, prefix, value);
-    }
-
-    private static final class BindingTypeVisitor
-        implements org.apache.xmlbeans.impl.binding.bts.BindingTypeVisitor
-    {
-        private final PullMarshalResult marshalResult;
-
-        private Object parentObject;
-        private RuntimeBindingProperty runtimeBindingProperty;
-
-        private XmlTypeVisitor xmlTypeVisitor;
-
-        public BindingTypeVisitor(PullMarshalResult marshalResult)
-        {
-            this.marshalResult = marshalResult;
-        }
-
-        public void setParentObject(Object parentObject)
-        {
-            this.parentObject = parentObject;
-        }
-
-        public void setRuntimeBindingProperty(RuntimeBindingProperty runtimeBindingProperty)
-        {
-            this.runtimeBindingProperty = runtimeBindingProperty;
-        }
-
-        public XmlTypeVisitor getXmlTypeVisitor()
-        {
-            return xmlTypeVisitor;
-        }
-
-        public void visit(BuiltinBindingType builtinBindingType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SimpleTypeVisitor(runtimeBindingProperty,
-                                                   parentObject,
-                                                   marshalResult);
-        }
-
-        public void visit(ByNameBean byNameBean)
-            throws XmlException
-        {
-            xmlTypeVisitor = new ByNameTypeVisitor(runtimeBindingProperty,
-                                                   parentObject,
-                                                   marshalResult);
-        }
-
-        public void visit(SimpleContentBean simpleContentBean)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SimpleContentTypeVisitor(runtimeBindingProperty,
-                                                          parentObject,
-                                                          marshalResult);
-        }
-
-        public void visit(SimpleBindingType simpleBindingType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SimpleTypeVisitor(runtimeBindingProperty,
-                                                   parentObject,
-                                                   marshalResult);
-        }
-
-        public void visit(JaxrpcEnumType jaxrpcEnumType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SimpleTypeVisitor(runtimeBindingProperty,
-                                                   parentObject,
-                                                   marshalResult);
-        }
-
-        public void visit(SimpleDocumentBinding simpleDocumentBinding)
-            throws XmlException
-        {
-            throw new AssertionError("unexpected type: " + simpleDocumentBinding);
-        }
-
-        public void visit(WrappedArrayType wrappedArrayType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new WrappedArrayTypeVisitor(runtimeBindingProperty,
-                                                         parentObject,
-                                                         marshalResult);
-        }
-
-        public void visit(SoapArrayType soapArrayType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SoapArrayTypeVisitor(runtimeBindingProperty,
-                                                      parentObject,
-                                                      marshalResult);
-        }
-
-        public void visit(ListArrayType listArrayType)
-            throws XmlException
-        {
-            xmlTypeVisitor = new SimpleTypeVisitor(runtimeBindingProperty,
-                                                   parentObject,
-                                                   marshalResult);
-        }
-
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullSoapMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullSoapMarshalResult.java
deleted file mode 100644
index bf5a9d2..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PullSoapMarshalResult.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-
-abstract class PullSoapMarshalResult
-    extends PullMarshalResult
-{
-    private final ObjectRefTable objectRefTable;
-    private final boolean writingMultiRefdObjs;
-
-    //TODO: REVIEW: consider ways to reduce the number of parameters here
-    PullSoapMarshalResult(BindingLoader loader,
-                          RuntimeBindingTypeTable tbl,
-                          NamespaceContext root_nsctx,
-                          RuntimeBindingProperty property,
-                          Object obj,
-                          XmlOptions options,
-                          ObjectRefTable object_ref_table,
-                          boolean writingMultiRefdObjs)
-        throws XmlException
-    {
-        super(loader, tbl, root_nsctx, property, obj, options);
-
-        this.objectRefTable = object_ref_table;
-        this.writingMultiRefdObjs = writingMultiRefdObjs;
-        if (writingMultiRefdObjs) topLevelIdInit(obj);
-    }
-
-
-    protected void reset(RuntimeBindingProperty property,
-                         Object obj,
-                         boolean writingMultiRefdObjs)
-        throws XmlException
-    {
-        reset(property, obj);
-        if (writingMultiRefdObjs) topLevelIdInit(obj);
-    }
-
-    private void topLevelIdInit(Object top_lvl_obj)
-        throws XmlException
-    {
-        initAttributes();
-
-        if (objectRefTable != null) {
-            int id = objectRefTable.getId(top_lvl_obj);
-            if (id >= 0) {
-                fillAndAddAttribute(getIdAttributeName(),
-                                    Soap11Constants.constructIdValueFromId(id));
-            }
-        }
-
-    }
-
-
-    //somewhat ugly way to "un-override" our createVisitor override, since
-    //we don't want the special behavior when writing top lvl id parts.
-    protected XmlTypeVisitor createInitialVisitor(RuntimeBindingProperty property,
-                                                  Object obj)
-        throws XmlException
-    {
-        if (writingMultiRefdObjs)
-            return super.createVisitor(property, obj);
-        else
-            return createVisitor(property, obj);
-    }
-
-
-    protected XmlTypeVisitor createVisitor(RuntimeBindingProperty property,
-                                           Object obj)
-        throws XmlException
-    {
-        if (objectRefTable != null) {
-            final int id = objectRefTable.getId(obj);
-            if (id >= 0) {
-                return createRefdObjectVisitor(property, obj, id);
-            }
-        }
-
-        return super.createVisitor(property, obj);
-
-    }
-
-    protected abstract XmlTypeVisitor createRefdObjectVisitor(RuntimeBindingProperty property,
-                                                              Object obj,
-                                                              int id)
-        throws XmlException;
-
-    protected abstract QName getIdAttributeName();
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushMarshalResult.java
deleted file mode 100644
index b91333b..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushMarshalResult.java
+++ /dev/null
@@ -1,335 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-import java.util.Iterator;
-
-abstract class PushMarshalResult
-    extends MarshalResult
-    implements RuntimeTypeVisitor
-{
-    //state fields
-    private final XMLStreamWriter writer;
-    private Object currObject;
-    private RuntimeBindingProperty currProp;
-
-    PushMarshalResult(BindingLoader bindingLoader,
-                      RuntimeBindingTypeTable typeTable,
-                      XMLStreamWriter writer,
-                      XmlOptions options)
-        throws XmlException
-    {
-        super(bindingLoader,
-              typeTable,
-              options);
-        this.writer = writer;
-    }
-
-
-    //this method can be called recursively
-    final void marshalType(final Object obj,
-                           final RuntimeBindingProperty prop,
-                           final RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        marshalTypeWithName(obj, prop, actual_rtt, prop.getName());
-    }
-
-
-    //this method can be called recursively
-    private void marshalTypeWithName(final Object obj,
-                                     final RuntimeBindingProperty prop,
-                                     final RuntimeBindingType actual_rtt,
-                                     QName name)
-        throws XmlException
-    {
-        try {
-            writeStartElement(name);
-            updateState(obj, prop);
-            writeContents(actual_rtt);
-            writeEndElement();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    protected final void writeEndElement() throws XMLStreamException
-    {
-        writer.writeEndElement();
-    }
-
-    protected final void updateState(final Object obj,
-                                     final RuntimeBindingProperty prop)
-    {
-        currObject = obj;
-        currProp = prop;
-    }
-
-    protected final void writeXsiAttributes(final RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        if (currObject == null) {
-            addXsiNilAttribute();
-        } else if (actual_rtt != currProp.getRuntimeBindingType()) {
-            addXsiTypeAttribute(actual_rtt);
-        }
-    }
-
-    protected void writeContents(final RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        writeXsiAttributes(actual_rtt);
-        actual_rtt.accept(this);
-    }
-
-    protected final Object getCurrObject()
-    {
-        return currObject;
-    }
-
-    protected void writeStartElement(QName name)
-        throws XMLStreamException, XmlException
-    {
-        final String uri = name.getNamespaceURI();
-        if (uri.length() > 0) {
-            String prefix = getNamespaceContext().getPrefix(uri);
-            final String new_prefix;
-            if (prefix == null) {
-                new_prefix = findNextPrefix(uri);
-                prefix = new_prefix;
-            } else {
-                new_prefix = null;
-            }
-            assert prefix != null;
-            writer.writeStartElement(prefix,
-                                     name.getLocalPart(),
-                                     name.getNamespaceURI());
-            if (new_prefix != null) {
-                bindNamespace(new_prefix, uri);
-            }
-        } else {
-            writer.writeStartElement(name.getLocalPart());
-        }
-    }
-
-
-    public NamespaceContext getNamespaceContext()
-    {
-        return writer.getNamespaceContext();
-    }
-
-    protected void bindNamespace(String prefix, String uri)
-        throws XmlException
-    {
-        try {
-            writer.writeNamespace(prefix, uri);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    protected void addAttribute(String lname,
-                                String value)
-        throws XmlException
-    {
-        try {
-            writer.writeAttribute(lname, value);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    protected void addAttribute(String uri,
-                                String lname,
-                                String prefix,
-                                String value)
-        throws XmlException
-    {
-        assert uri != null;
-        assert lname != null;
-        assert prefix != null;
-        assert value != null;
-
-        try {
-            writer.writeAttribute(prefix, uri, lname, value);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-
-    //====== visitor methods =======
-
-    public void visit(BuiltinRuntimeBindingType builtinRuntimeBindingType)
-        throws XmlException
-    {
-        writeCharData();
-    }
-
-    public void visit(AnyTypeRuntimeBindingType builtinRuntimeBindingType)
-        throws XmlException
-    {
-        final Object curr_obj = currObject;
-
-        if (curr_obj == null) {
-            return;
-        }
-
-        final String msg = "unknown java type: " + curr_obj.getClass();
-        addError(msg);
-        return;  // skip this one...
-    }
-
-    public void visit(ByNameRuntimeBindingType byNameRuntimeBindingType)
-        throws XmlException
-    {
-        final Object curr_obj = currObject;
-
-        writeAttributes(byNameRuntimeBindingType);
-
-
-        final int elem_cnt =
-            byNameRuntimeBindingType.getElementPropertyCount();
-        for (int i = 0; i < elem_cnt; i++) {
-            final RuntimeBindingProperty prop =
-                byNameRuntimeBindingType.getElementProperty(i);
-
-            if (!prop.isSet(curr_obj, this)) continue;
-
-            final Object prop_val = prop.getValue(curr_obj, this);
-            if (prop.isMultiple()) {
-                final Iterator itr = ArrayUtils.getCollectionIterator(prop_val);
-                while (itr.hasNext()) {
-                    visitProp(itr.next(), prop);
-                }
-            } else {
-                visitProp(prop_val, prop);
-            }
-        }
-    }
-
-    public void visit(SimpleContentRuntimeBindingType simpleContentRuntimeBindingType)
-        throws XmlException
-    {
-        writeAttributes(simpleContentRuntimeBindingType);
-        writeCharData();
-    }
-
-    public void visit(SimpleRuntimeBindingType simpleRuntimeBindingType)
-        throws XmlException
-    {
-        writeCharData();
-    }
-
-    public void visit(JaxrpcEnumRuntimeBindingType jaxrpcEnumRuntimeBindingType)
-        throws XmlException
-    {
-        writeCharData();
-    }
-
-    public void visit(WrappedArrayRuntimeBindingType wrappedArrayRuntimeBindingType)
-        throws XmlException
-    {
-        final RuntimeBindingProperty elem_prop =
-            wrappedArrayRuntimeBindingType.getElementProperty();
-
-        //REVIEW: consider direct array access
-        final Iterator itr = ArrayUtils.getCollectionIterator(currObject);
-        while (itr.hasNext()) {
-            final Object item = itr.next();
-            final RuntimeBindingType actual_rtt =
-                elem_prop.getActualRuntimeType(item, this);
-            marshalType(item, elem_prop, actual_rtt);
-        }
-    }
-
-    public void visit(SoapArrayRuntimeBindingType soapArrayRuntimeBindingType)
-        throws XmlException
-    {
-        final RuntimeBindingProperty elem_prop =
-            soapArrayRuntimeBindingType.getElementProperty();
-
-        //REVIEW: consider direct array access
-        final Iterator itr = ArrayUtils.getCollectionIterator(currObject);
-        while (itr.hasNext()) {
-            final Object item = itr.next();
-            final RuntimeBindingType actual_rtt =
-                elem_prop.getActualRuntimeType(item, this);
-            marshalType(item, elem_prop, actual_rtt);
-        }
-    }
-
-    public void visit(ListArrayRuntimeBindingType listArrayRuntimeBindingType)
-        throws XmlException
-    {
-        writeCharData();
-    }
-
-    private void writeAttributes(AttributeRuntimeBindingType att_rtt)
-        throws XmlException
-    {
-        final Object curr_obj = currObject;
-        final int att_cnt = att_rtt.getAttributePropertyCount();
-        for (int i = 0; i < att_cnt; i++) {
-            final RuntimeBindingProperty prop =
-                att_rtt.getAttributeProperty(i);
-            if (!prop.isSet(curr_obj, this)) continue;
-
-            final Object prop_val = prop.getValue(curr_obj, this);
-            final CharSequence att_val = prop.getLexical(prop_val,
-                                                         this);
-
-            if (att_val == null) continue;
-            fillAndAddAttribute(prop.getName(), att_val.toString());
-        }
-    }
-
-    private void visitProp(final Object prop_val,
-                           final RuntimeBindingProperty prop)
-        throws XmlException
-    {
-        RuntimeBindingType rtt = prop.getActualRuntimeType(prop_val, this);
-        marshalType(prop_val, prop, rtt);
-    }
-
-    private void writeCharData() throws XmlException
-    {
-        if (currObject == null) return;
-
-        final CharSequence lexical = currProp.getLexical(currObject, this);
-        try {
-            //too bad writer can't take a CharSequence.
-            writer.writeCharacters(lexical.toString());
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoap11MarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoap11MarshalResult.java
deleted file mode 100644
index d221889..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoap11MarshalResult.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamWriter;
-
-final class PushSoap11MarshalResult
-    extends PushSoapMarshalResult
-{
-    PushSoap11MarshalResult(BindingLoader bindingLoader,
-                            RuntimeBindingTypeTable typeTable,
-                            XMLStreamWriter writer,
-                            XmlOptions options,
-                            ObjectRefTable objectRefTable)
-        throws XmlException
-    {
-        super(bindingLoader, typeTable, writer, options, objectRefTable);
-    }
-
-    protected QName getRefQName()
-    {
-        return Soap11Constants.REF_NAME;
-    }
-
-    protected String getRefValue(int id)
-    {
-        return Soap11Constants.constructRefValueFromId(id);
-    }
-
-    protected QName getIdQName()
-    {
-        return Soap11Constants.ID_NAME;
-    }
-
-    protected String getIdValue(int id)
-    {
-        return Soap11Constants.constructIdValueFromId(id);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoapMarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoapMarshalResult.java
deleted file mode 100644
index a5ff11a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/PushSoapMarshalResult.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamWriter;
-import java.util.Iterator;
-
-abstract class PushSoapMarshalResult
-    extends PushMarshalResult
-{
-    private final ObjectRefTable objectRefTable;
-
-    PushSoapMarshalResult(BindingLoader bindingLoader,
-                          RuntimeBindingTypeTable typeTable,
-                          XMLStreamWriter writer,
-                          XmlOptions options,
-                          ObjectRefTable objectRefTable)
-        throws XmlException
-    {
-        super(bindingLoader, typeTable, writer, options);
-        this.objectRefTable = objectRefTable;
-    }
-
-    final void writeIdParts()
-        throws XmlException
-    {
-        final Iterator itr = objectRefTable.getMultipleRefTableEntries();
-
-        while (itr.hasNext()) {
-            final ObjectRefTable.Value cur_val =
-                (ObjectRefTable.Value)itr.next();
-            marshalTypeWithId(cur_val);
-        }
-    }
-
-    private void marshalTypeWithId(ObjectRefTable.Value val)
-        throws XmlException
-    {
-        final RuntimeBindingProperty prop = val.getProp();
-        final Object obj = val.object;
-
-        final RuntimeBindingType actual_rtt =
-            prop.getActualRuntimeType(obj, this);
-
-        try {
-            writeStartElement(actual_rtt.getSchemaTypeName());
-            fillAndAddAttribute(getIdQName(),
-                                getIdValue(val.getId()));
-            updateState(obj, prop);
-            if (obj == null) {
-                addXsiNilAttribute();
-            } else if (val.needsXsiType) {
-                addXsiTypeAttribute(actual_rtt);
-            }
-            actual_rtt.accept(this);
-            writeEndElement();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-
-    protected final void writeContents(final RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        final int id =
-            objectRefTable == null ? -1 : objectRefTable.getId(getCurrObject());
-
-        if (id < 0) {
-            super.writeContents(actual_rtt);
-        } else {
-            fillAndAddAttribute(getRefQName(), getRefValue(id));
-        }
-    }
-
-
-    protected abstract QName getRefQName();
-
-    protected abstract String getRefValue(int id);
-
-    protected abstract QName getIdQName();
-
-    protected abstract String getIdValue(int id);
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/QNameTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/QNameTypeConverter.java
deleted file mode 100644
index 44f8a16..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/QNameTypeConverter.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import javax.xml.namespace.QName;
-
-final class QNameTypeConverter
-    extends BaseSimpleTypeConverter
-{
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        QName val = context.getQNameValue();
-        return val;
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeQNameValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return XsTypeConverter.lexQName(lexical_value,
-                                        result.getNamespaceContext());
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-        throws XmlException
-    {
-        QName val = (QName)value;
-        final String uri = val.getNamespaceURI();
-        if (uri.length() > 0) {
-            result.ensurePrefix(uri);
-        }
-        return XsTypeConverter.printQName(val,
-                                          result.getNamespaceContext(),
-                                          result.getErrorCollection());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefObjectTable.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefObjectTable.java
deleted file mode 100644
index 2c2cb1f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefObjectTable.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import java.util.HashMap;
-import java.util.Map;
-
-final class RefObjectTable
-{
-    private final Map refTable = new HashMap();
-
-    Object getObjectForRef(String ref)
-    {
-        assert ref != null;
-        RefEntry e = getEntryForRef(ref);
-        if (e == null) return null;
-        return e.final_obj;
-    }
-
-    Object getInterForRef(String ref)
-    {
-        assert ref != null;
-
-        RefEntry e = getEntryForRef(ref);
-        if (e == null) return null;
-        return e.inter;
-    }
-
-    RefEntry getEntryForRef(String ref)
-    {
-        assert ref != null;
-        return (RefEntry)refTable.get(ref);
-    }
-
-    void putForRef(String ref, Object inter, Object actual_obj)
-    {
-        assert ref != null;
-        refTable.put(ref, new RefEntry(inter, actual_obj));
-    }
-
-    void putObjectForRef(String ref, Object val)
-    {
-        assert ref != null;
-        RefEntry e = (RefEntry)refTable.get(ref);
-        assert e != null;
-        assert e.inter != null;
-        e.final_obj = val;
-    }
-
-    void putIntermediateForRef(String ref, Object inter)
-    {
-        assert ref != null;
-        refTable.put(ref, new RefEntry(inter));
-    }
-
-    final static class RefEntry
-    {
-        RefEntry(Object inter, Object final_obj)
-        {
-            this.inter = inter;
-            this.final_obj = final_obj;
-        }
-
-        RefEntry(Object inter)
-        {
-            this.inter = inter;
-        }
-
-        Object inter;
-        Object final_obj;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefdObjectVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefdObjectVisitor.java
deleted file mode 100644
index 6510616..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RefdObjectVisitor.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-abstract class RefdObjectVisitor
-    extends NamedXmlTypeVisitor
-{
-    protected final int id;
-
-    private int state = START;
-
-
-    public RefdObjectVisitor(RuntimeBindingProperty property,
-                             Object obj,
-                             PullMarshalResult result,
-                             int id)
-        throws XmlException
-    {
-        super(obj, property, result);
-        assert obj != null;  //cannot have multiple refs to null
-        assert id >= 0 ;
-        this.id = id;
-    }
-
-    protected int getState()
-    {
-        return state;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        if (state == START) {
-            return (state = END);
-        } else {
-            throw new AssertionError("invalid state: " + state);
-        }
-    }
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        marshalResult.fillAndAddAttribute(getRefQName(), getRefValue());
-    }
-
-    protected abstract QName getRefQName();
-
-    protected abstract String getRefValue();
-
-    public XmlTypeVisitor getCurrentChild()
-        throws XmlException
-    {
-        throw new AssertionError("no children");
-    }
-
-    protected CharSequence getCharData()
-    {
-        throw new AssertionError("no char data");
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ReplaceStringTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ReplaceStringTypeConverter.java
deleted file mode 100644
index 4f53d60..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ReplaceStringTypeConverter.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-
-final class ReplaceStringTypeConverter
-    extends StringTypeConverter
-{
-    private static final TypeConverter INSTANCE
-        = new ReplaceStringTypeConverter();
-
-    static TypeConverter getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private ReplaceStringTypeConverter()
-    {
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getAttributeStringValue(XmlWhitespace.WS_REPLACE);
-    }
-
-    protected Object getObject(UnmarshalResult context)
-        throws XmlException
-    {
-        return context.getStringValue(XmlWhitespace.WS_REPLACE);
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingProperty.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingProperty.java
deleted file mode 100644
index a96a945..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingProperty.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.JavaInstanceFactory;
-import org.apache.xmlbeans.impl.binding.bts.MethodName;
-import org.apache.xmlbeans.impl.binding.bts.ParentInstanceFactory;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.marshal.util.ReflectionUtils;
-
-import javax.xml.namespace.QName;
-import java.lang.reflect.Method;
-
-
-abstract class RuntimeBindingProperty
-{
-    private final RuntimeBindingType containingType;
-
-    //TODO: when we have other types of factories,
-    //this will need to more general
-    private final Method parentFactoryMethod;
-    private final boolean parentFactoryMethodTakesClassArg;
-
-    protected RuntimeBindingProperty(RuntimeBindingType containingType)
-    {
-        this.containingType = containingType;
-        parentFactoryMethod = null;
-        parentFactoryMethodTakesClassArg = false;
-    }
-
-    protected RuntimeBindingProperty(BindingProperty prop,
-                                     RuntimeBindingType containingType)
-        throws XmlException
-    {
-        this.containingType = containingType;
-        final JavaInstanceFactory jif = prop.getJavaInstanceFactory();
-        if (jif == null) {
-            parentFactoryMethod = null;
-            parentFactoryMethodTakesClassArg = false;
-        } else {
-            if (jif instanceof ParentInstanceFactory) {
-                ParentInstanceFactory pif = (ParentInstanceFactory)jif;
-                final MethodName create_method = pif.getCreateObjectMethod();
-                final Class container_class = containingType.getJavaType();
-                parentFactoryMethod =
-                    ReflectionUtils.getMethodOnClass(create_method,
-                                                     container_class);
-                Class[] param_types = parentFactoryMethod.getParameterTypes();
-                if (param_types.length > 1) {
-                    String msg = "too many args for parent factory method: " +
-                        parentFactoryMethod;
-                    throw new XmlException(msg);
-                }
-                if (param_types.length == 1 && !Class.class.equals(param_types[0])) {
-                    String msg = "arg must be java.lang.Class for " +
-                        "parent factory method: " + parentFactoryMethod;
-                    throw new XmlException(msg);
-                }
-
-                parentFactoryMethodTakesClassArg = param_types.length > 0;
-            } else {
-                throw new AssertionError("FACTORY UNIMP: " + jif);
-            }
-        }
-    }
-
-    abstract RuntimeBindingType getRuntimeBindingType();
-
-
-    //TODO: consider inlining this method since every impl is the same
-    //or moving it to the type?
-    abstract RuntimeBindingType getActualRuntimeType(Object property_value,
-                                                     MarshalResult result)
-        throws XmlException;
-
-
-    abstract QName getName();
-
-
-    protected final Object createIntermediary(Object parent_inter,
-                                              RuntimeBindingType actual_rtt,
-                                              UnmarshalResult context)
-        throws XmlException
-    {
-        if (hasFactory()) {
-            final Object obj = createObjectViaFactory(parent_inter, actual_rtt);
-            return actual_rtt.createIntermediary(context, obj);
-        } else {
-            return actual_rtt.createIntermediary(context);
-        }
-    }
-
-
-    //non simple type props can throw an exception
-    final CharSequence getLexical(Object value,
-                                  MarshalResult result)
-        throws XmlException
-    {
-        assert value != null :
-            "null value for " + getName();
-
-        assert  result != null;
-
-        final RuntimeBindingType actualRuntimeType =
-            getActualRuntimeType(value, result);
-
-        assert actualRuntimeType.getMarshaller() != null :
-            "null marshaller for prop=" + getName() +
-            " propType=" + actualRuntimeType;
-
-        return actualRuntimeType.getMarshaller().print(value, result);
-    }
-
-    abstract Object getValue(Object parentObject, MarshalResult result)
-        throws XmlException;
-
-    abstract boolean isSet(Object parentObject, MarshalResult result)
-        throws XmlException;
-
-    abstract boolean isMultiple();
-
-    abstract boolean isNillable();
-
-    /**
-     * returns null if this property has no default
-     *
-     * @return
-     */
-    abstract String getLexicalDefault();
-
-    final void extractAndFillAttributeProp(UnmarshalResult context,
-                                           Object inter)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt = getRuntimeBindingType();
-        final TypeUnmarshaller um = rtt.getUnmarshaller();
-        assert um != null;
-
-        try {
-            final Object this_val;
-            if (hasFactory()) {
-                this_val = createObjectViaFactory(inter, rtt);
-                um.unmarshalAttribute(this_val, context);
-            } else {
-                this_val = um.unmarshalAttribute(context);
-            }
-            fill(inter, this_val);
-        }
-        catch (InvalidLexicalValueException ilve) {
-            String msg = "invalid value for " + this.getName() +
-                ": " + ilve.getMessage();
-            context.addError(msg, ilve.getLocation());
-        }
-    }
-
-
-    protected abstract void fill(Object inter, Object prop_obj)
-        throws XmlException;
-
-
-    protected void fillPlaceholder(Object inter)
-    {
-        throw new UnsupportedOperationException("not used.  this=" + this);
-    }
-
-    //non index properties can return unsupported...
-    protected int getSize(Object inter)
-    {
-        throw new UnsupportedOperationException("this=" + this);
-    }
-
-    //non index properties can return unsupported...
-    protected void fill(Object final_obj, int index, Object prop_val)
-    {
-        throw new UnsupportedOperationException("this=" + this);
-    }
-
-
-    protected final boolean hasFactory()
-    {
-        return parentFactoryMethod != null;
-    }
-
-    private Object createObjectViaFactory(Object inter,
-                                          final RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        final Object actual_obj =
-            containingType.getObjectFromIntermediate(inter);
-
-        assert actual_obj != null;
-        assert parentFactoryMethod != null;
-
-
-        final Object[] params;
-        if (parentFactoryMethodTakesClassArg) {
-            params = new Object[]{actual_rtt.getJavaType()};
-        } else {
-            params = null;
-        }
-
-        return ReflectionUtils.invokeMethod(actual_obj,
-                                            parentFactoryMethod,
-                                            params);
-
-    }
-
-    public String toString()
-    {
-        return "RuntimeBindingProperty{" +
-            "bindingType=" + this.getRuntimeBindingType().getBindingType() +
-            "containingType=" + containingType +
-            "}";
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingType.java
deleted file mode 100644
index f941fd6..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingType.java
+++ /dev/null
@@ -1,459 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.bts.SimpleBindingType;
-import org.apache.xmlbeans.impl.binding.bts.XmlTypeName;
-import org.apache.xmlbeans.impl.marshal.util.ReflectionUtils;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.StringReader;
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-
-/**
- * what we need to know about a binding type at runtime.
- * No marshalling state should be stored here.
- * This object will be shared by many threads
- */
-abstract class RuntimeBindingType
-{
-    private final BindingType bindingType;
-    private final Class javaClass;
-    private final boolean javaPrimitive;
-    private final boolean canHaveSubtype;
-
-    private TypeMarshaller marshaller;
-    private TypeUnmarshaller unmarshaller;
-
-    RuntimeBindingType(BindingType binding_type)
-        throws XmlException
-    {
-        this(binding_type, null, null);
-    }
-
-    RuntimeBindingType(BindingType binding_type,
-                       TypeMarshaller m,
-                       TypeUnmarshaller um)
-        throws XmlException
-    {
-        bindingType = binding_type;
-
-        try {
-            javaClass = getJavaClass(binding_type, getClass().getClassLoader());
-        }
-        catch (ClassNotFoundException e) {
-            ClassLoader context_cl =
-                Thread.currentThread().getContextClassLoader();
-            final String msg = "failed to load " +
-                binding_type.getName().getJavaName() + " from " + context_cl;
-            throw new XmlException(msg, e);
-        }
-
-        javaPrimitive = javaClass.isPrimitive();
-        canHaveSubtype = !(javaPrimitive ||
-            ReflectionUtils.isClassFinal(javaClass) ||
-            isTypeAnonymous(bindingType));
-
-        unmarshaller = um;
-        marshaller = m;
-    }
-
-
-    abstract void accept(RuntimeTypeVisitor visitor)
-        throws XmlException;
-
-
-    protected Object createIntermediary(UnmarshalResult context)
-    {
-        //TODO: make this abstract
-        throw new UnsupportedOperationException("this=" + this + " at " + XmlStreamUtils.printEvent(context.baseReader));
-
-    }
-
-
-    //some subclass will certainly need to override this
-    protected Object createIntermediary(UnmarshalResult context,
-                                        Object actual_object)
-    {
-        return actual_object;
-    }
-
-
-    Object getObjectFromIntermediate(Object inter)
-    {
-        return inter;
-    }
-
-    protected Object getFinalObjectFromIntermediary(Object inter,
-                                                    UnmarshalResult context)
-        throws XmlException
-    {
-        return inter;
-    }
-
-    boolean isObjectFromIntermediateIdempotent()
-    {
-        return true;
-    }
-
-    final BindingType getBindingType()
-    {
-        return bindingType;
-    }
-
-    /**
-     * prepare internal data structures for use
-     *
-     * @param typeTable
-     * @param bindingLoader
-     */
-    protected abstract void initialize(RuntimeBindingTypeTable typeTable,
-                                       BindingLoader bindingLoader)
-        throws XmlException;
-
-    /**
-     * prepare internal data structures for use
-     *
-     * @param typeTable
-     * @param bindingLoader
-     */
-    final void external_initialize(RuntimeBindingTypeTable typeTable,
-                                   BindingLoader bindingLoader)
-        throws XmlException
-    {
-        this.initialize(typeTable, bindingLoader);
-
-        if (marshaller == null)
-            marshaller = typeTable.createMarshaller(bindingType, bindingLoader);
-
-        if (bindingType instanceof SimpleBindingType) {
-            if (marshaller == null) {
-                throw new AssertionError("null marshaller for " + bindingType);
-            }
-        }
-
-        if (unmarshaller == null)
-            unmarshaller = typeTable.createUnmarshaller(bindingType, bindingLoader);
-
-        assert unmarshaller != null;
-    }
-
-    final Class getJavaType()
-    {
-        return javaClass;
-    }
-
-    final boolean isJavaPrimitive()
-    {
-        return javaPrimitive;
-    }
-
-    final boolean canHaveSubtype()
-    {
-        return canHaveSubtype;
-    }
-
-    private static boolean isTypeAnonymous(BindingType btype)
-    {
-        final XmlTypeName xml_type = btype.getName().getXmlName();
-        assert xml_type.isSchemaType();
-        return !xml_type.isGlobal();
-    }
-
-    final protected TypeUnmarshaller getUnmarshaller()
-    {
-        assert unmarshaller != null;
-        return unmarshaller;
-    }
-
-    final protected TypeMarshaller getMarshaller()
-    {
-        return marshaller;
-    }
-
-    private static Class getJavaClass(BindingType btype, ClassLoader backup)
-        throws ClassNotFoundException
-    {
-        final JavaTypeName javaName = btype.getName().getJavaName();
-        String jclass = javaName.toString();
-        return ClassLoadingUtils.loadClass(jclass, backup);
-    }
-
-    protected QName getSchemaTypeName()
-    {
-        return getBindingType().getName().getXmlName().getQName();
-    }
-
-    //REVIEW: find a shorter path to our goal.
-    protected static Object extractDefaultObject(String value,
-                                                 BindingType bindingType,
-                                                 RuntimeBindingTypeTable typeTable,
-                                                 BindingLoader loader)
-        throws XmlException
-    {
-        final String xmldoc = "<a>" + value + "</a>";
-        try {
-            final SchemaTypeLoaderProvider provider =
-                UnusedSchemaTypeLoaderProvider.getInstance();
-            final UnmarshallerImpl um =
-                new UnmarshallerImpl(loader, typeTable, provider);
-            final StringReader sr = new StringReader(xmldoc);
-            final XMLStreamReader reader =
-                um.getXmlInputFactory().createXMLStreamReader(sr);
-            boolean ok =
-                MarshalStreamUtils.advanceToNextStartElement(reader);
-            assert ok;
-            final BindingTypeName btname = bindingType.getName();
-            final Object obj =
-                um.unmarshalType(reader, btname.getXmlName().getQName(),
-                                 btname.getJavaName().toString());
-            reader.close();
-            sr.close();
-            return obj;
-        }
-        catch (XmlRuntimeException re) {
-            //TODO: improve error handling using custom error handler
-            //esp nice to provide error info from config file
-            final String msg = "invalid default value: " + value +
-                " for type " + bindingType.getName();
-            throw new XmlException(msg, re);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public String toString()
-    {
-        return this.getClass().getName() +
-            "{" +
-            "bindingType=" + bindingType +
-            "}";
-    }
-
-    protected void checkInstance(Object obj)
-        throws XmlException
-    {
-        final Class java_type = getJavaType();
-        if (obj != null &&
-            !isJavaPrimitive() &&
-            !java_type.isInstance(obj)) {
-            String m = "instance type: " + obj.getClass() +
-                " not an instance of expected type: " + java_type;
-            throw new XmlException(m);
-        }
-    }
-
-    //really means "can have element children"
-    abstract boolean hasElementChildren();
-
-
-    protected abstract static class BeanRuntimeProperty
-        extends RuntimeBindingProperty
-    {
-        private final Class beanClass;
-        private final RuntimeBindingType containingType;
-        private final Method getMethod;
-        private final Method setMethod;
-        private final Method issetMethod;
-        private final Field field;
-        protected final RuntimeBindingType runtimeBindingType;
-        protected final Class propertyClass;
-        protected final Class collectionElementClass; //null for non collections
-
-        BeanRuntimeProperty(Class beanClass,
-                            BindingProperty prop,
-                            RuntimeBindingType containingType,
-                            RuntimeBindingTypeTable typeTable,
-                            BindingLoader loader)
-            throws XmlException
-        {
-            super(prop, containingType);
-            this.beanClass = beanClass;
-            this.containingType = containingType;
-            final BindingTypeName type_name = prop.getTypeName();
-
-
-            final BindingType binding_type = loader.getBindingType(type_name);
-            if (binding_type == null) {
-                throw new XmlException("unable to load " + type_name);
-            }
-
-            runtimeBindingType =
-                typeTable.createRuntimeType(binding_type, loader);
-            assert runtimeBindingType != null;
-
-            propertyClass = getPropertyClass(prop, binding_type);
-            collectionElementClass = getCollectionElementClass(prop, binding_type);
-
-
-            //we may revisit whether this is an error
-            if (prop.isField()) {
-                getMethod = null;
-                setMethod = null;
-                issetMethod = null;
-                field = ReflectionUtils.getField(prop, beanClass);
-            } else {
-                getMethod = ReflectionUtils.getGetterMethod(prop, beanClass);
-                setMethod = ReflectionUtils.getSetterMethod(prop, beanClass);
-                issetMethod = ReflectionUtils.getIssetterMethod(prop, beanClass);
-                field = null;
-
-                if (getMethod == null) {
-                    String e = "no getter found for " + prop + " on " + beanClass;
-                    throw new XmlException(e);
-                }
-
-                //we no doubt will revisit whether this is an error, esp for exceptions
-                if (setMethod == null) {
-                    String e = "no setter found for " + prop + " on " + beanClass;
-                    throw new XmlException(e);
-                }
-            }
-
-        }
-
-
-        public void fill(final Object inter, final Object prop_obj)
-            throws XmlException
-        {
-            Object inst = containingType.getObjectFromIntermediate(inter);
-            setValue(inst, prop_obj);
-        }
-
-
-        protected void setValue(final Object target, final Object prop_obj)
-            throws XmlException
-        {
-            assert prop_obj == null || propertyClass.isPrimitive() || propertyClass.isInstance(prop_obj) :
-                " wrong property type: " + prop_obj.getClass() + " expected " + propertyClass;
-
-            if (field == null) {
-                ReflectionUtils.invokeMethod(target, setMethod,
-                                             new Object[]{prop_obj});
-            } else {
-                ReflectionUtils.setFieldValue(target, field, prop_obj);
-            }
-        }
-
-        final Object getValue(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            assert parentObject != null;
-            assert beanClass.isInstance(parentObject) :
-                parentObject.getClass() + " is not a " + beanClass;
-
-            if (field == null) {
-                return ReflectionUtils.invokeMethod(parentObject, getMethod);
-            } else {
-                return ReflectionUtils.getFieldValue(parentObject, field);
-            }
-        }
-
-        protected Class getPropertyClass(BindingProperty prop, BindingType btype)
-            throws XmlException
-        {
-            assert btype != null;
-
-            final Class propertyClass;
-            try {
-                final ClassLoader our_cl = getClass().getClassLoader();
-                final JavaTypeName collectionClass = prop.getCollectionClass();
-
-                if (collectionClass == null) {
-                    propertyClass = getJavaClass(btype, our_cl);
-                } else {
-                    final String col = collectionClass.toString();
-                    propertyClass = ClassLoadingUtils.loadClass(col, our_cl);
-                }
-            }
-            catch (ClassNotFoundException ex) {
-                throw new XmlException(ex);
-            }
-            return propertyClass;
-        }
-
-        protected Class getCollectionElementClass(BindingProperty prop,
-                                                  BindingType btype)
-            throws XmlException
-        {
-            assert btype != null;
-
-            try {
-                final JavaTypeName collectionClass = prop.getCollectionClass();
-
-                if (collectionClass == null) {
-                    return null;
-                } else {
-                    final ClassLoader our_cl = getClass().getClassLoader();
-                    return getJavaClass(btype, our_cl);
-                }
-            }
-            catch (ClassNotFoundException ex) {
-                throw new XmlException(ex);
-            }
-        }
-
-        final RuntimeBindingType getRuntimeBindingType()
-        {
-            return runtimeBindingType;
-        }
-
-        final RuntimeBindingType getActualRuntimeType(Object property_value,
-                                                      MarshalResult result)
-            throws XmlException
-        {
-            return result.determineRuntimeBindingType(runtimeBindingType, property_value);
-        }
-
-        final boolean isSet(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            //TODO: can we just return true if this property is not optional?
-
-            if (issetMethod == null)
-                return isSetFallback(parentObject, result);
-
-            final Boolean isset =
-                (Boolean)ReflectionUtils.invokeMethod(parentObject, issetMethod);
-            return isset.booleanValue();
-        }
-
-        private boolean isSetFallback(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            //REVIEW: nillable is winning over minOccurs="0".  Is this correct?
-            if (isNillable()) return true;
-
-            Object val = getValue(parentObject, result);
-            return (val != null);
-        }
-
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingTypeTable.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingTypeTable.java
deleted file mode 100644
index b897ee0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeBindingTypeTable.java
+++ /dev/null
@@ -1,825 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeVisitor;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingType;
-import org.apache.xmlbeans.impl.binding.bts.ByNameBean;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.bts.JaxrpcEnumType;
-import org.apache.xmlbeans.impl.binding.bts.ListArrayType;
-import org.apache.xmlbeans.impl.binding.bts.SimpleBindingType;
-import org.apache.xmlbeans.impl.binding.bts.SimpleContentBean;
-import org.apache.xmlbeans.impl.binding.bts.SimpleDocumentBinding;
-import org.apache.xmlbeans.impl.binding.bts.SoapArrayType;
-import org.apache.xmlbeans.impl.binding.bts.WrappedArrayType;
-import org.apache.xmlbeans.impl.binding.bts.XmlTypeName;
-import org.apache.xmlbeans.impl.common.ConcurrentReaderHashMap;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-import javax.xml.namespace.QName;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Table of TypeMarshaller and TypeUnmarshaller objects keyed by BindingType
- */
-final class RuntimeBindingTypeTable
-{
-    //concurrent hashMap allows us to do hash lookups outside of any sync blocks,
-    //and successful lookups involve no locking, which should be
-    //99% of the cases in any sort of long running process
-    private final Map initedTypeMap;
-
-    private final Map tempTypeMap = new HashMap();
-
-    //access to this object must be inside a synchronized block.
-    private final FactoryTypeVisitor typeVisitor = new FactoryTypeVisitor();
-
-
-    static final String XSD_NS = "http://www.w3.org/2001/XMLSchema";
-    private static final String SOAPENC_NS = "http://schemas.xmlsoap.org/soap/encoding/";
-
-
-    private static final ConcurrentReaderHashMap BUILTIN_TYPE_MAP;
-
-    static
-    {
-        final RuntimeBindingTypeTable tbl =
-            new RuntimeBindingTypeTable();
-        tbl.addBuiltinTypes();
-        BUILTIN_TYPE_MAP = (ConcurrentReaderHashMap)tbl.initedTypeMap;
-    }
-
-
-    static RuntimeBindingTypeTable createTable()
-    {
-        final RuntimeBindingTypeTable tbl =
-            new RuntimeBindingTypeTable(
-                (Map)BUILTIN_TYPE_MAP.clone()
-            );
-        return tbl;
-    }
-
-
-    private RuntimeBindingTypeTable(Map typeMap)
-    {
-        this.initedTypeMap = typeMap;
-    }
-
-    private RuntimeBindingTypeTable()
-    {
-        this(new ConcurrentReaderHashMap());
-    }
-
-    RuntimeBindingType createRuntimeType(BindingType type,
-                                         BindingLoader binding_loader)
-        throws XmlException
-    {
-        //return runtimeTypeFactory.createRuntimeType(type, this, binding_loader);
-
-        assert type != null;
-        RuntimeBindingType rtype = (RuntimeBindingType)initedTypeMap.get(type);
-        if (rtype != null) return rtype;
-
-        //safe but slow creation of new type.
-        synchronized (this) {
-            rtype = (RuntimeBindingType)tempTypeMap.get(type);
-            if (rtype == null) {
-                rtype = allocateType(type);
-                tempTypeMap.put(type, rtype);
-                rtype.external_initialize(this, binding_loader);
-                initedTypeMap.put(type, rtype);
-                tempTypeMap.remove(type); // save some memory.
-            }
-        }
-        assert rtype != null;
-        return rtype;
-    }
-
-    private RuntimeBindingType allocateType(BindingType type)
-        throws XmlException
-    {
-        type.accept(typeVisitor);
-        return typeVisitor.getRuntimeBindingType();
-    }
-
-
-    //overloaded, more strongly typed versions of createRuntimeType.
-    //the idea being that this class maintains the matching of the
-    //two type hiearchies and all casting is done here.
-    private WrappedArrayRuntimeBindingType createRuntimeType(WrappedArrayType type,
-                                                             BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (WrappedArrayRuntimeBindingType)rtt;
-    }
-
-    private SoapArrayRuntimeBindingType createRuntimeType(SoapArrayType type,
-                                                          BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (SoapArrayRuntimeBindingType)rtt;
-    }
-
-    private ListArrayRuntimeBindingType createRuntimeType(ListArrayType type,
-                                                          BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (ListArrayRuntimeBindingType)rtt;
-    }
-
-
-    private ByNameRuntimeBindingType createRuntimeType(ByNameBean type,
-                                                       BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (ByNameRuntimeBindingType)rtt;
-    }
-
-    private SimpleContentRuntimeBindingType createRuntimeType(SimpleContentBean type,
-                                                              BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (SimpleContentRuntimeBindingType)rtt;
-    }
-
-    private JaxrpcEnumRuntimeBindingType createRuntimeType(JaxrpcEnumType type,
-                                                           BindingLoader binding_loader)
-        throws XmlException
-    {
-        final RuntimeBindingType rtt =
-            createRuntimeTypeInternal(type, binding_loader);
-        return (JaxrpcEnumRuntimeBindingType)rtt;
-    }
-
-
-    //avoids a cast to deal with overloaded methods
-    private RuntimeBindingType createRuntimeTypeInternal(BindingType type,
-                                                         BindingLoader loader)
-        throws XmlException
-    {
-        return createRuntimeType(type, loader);
-    }
-
-
-    private void addBuiltinType(String xsdType,
-                                JavaTypeName jName,
-                                TypeConverter converter)
-    {
-        QName xml_type = new QName(XSD_NS, xsdType);
-        addBuiltinType(xml_type, jName, converter);
-    }
-
-    private void addBuiltinSoapType(String xsdType,
-                                    JavaTypeName jName,
-                                    TypeConverter converter)
-    {
-        QName xml_type = new QName(SOAPENC_NS, xsdType);
-        addBuiltinType(xml_type, jName, converter);
-    }
-
-    private void addBuiltinType(QName xml_type,
-                                JavaTypeName jName,
-                                TypeConverter converter)
-    {
-        final BindingLoader default_builtin_loader =
-            BuiltinBindingLoader.getBuiltinBindingLoader(false);
-
-        XmlTypeName xName = XmlTypeName.forTypeNamed(xml_type);
-        final BindingTypeName btname = BindingTypeName.forPair(jName, xName);
-        BindingType btype = default_builtin_loader.getBindingType(btname);
-        if (btype == null) {
-            final BindingLoader jaxrpc_builtin_loader =
-                BuiltinBindingLoader.getBuiltinBindingLoader(true);
-            btype = jaxrpc_builtin_loader.getBindingType(btname);
-        }
-        if (btype == null) {
-            throw new AssertionError("failed to find builtin for java:" + jName +
-                                     " - xsd:" + xName);
-        }
-        assert (btype instanceof BuiltinBindingType) :
-            "unexpected type: " + btype;
-
-        final RuntimeBindingType builtin;
-        try {
-            if (xml_type.equals(AnyTypeRuntimeBindingType.ANY_TYPE_NAME)) {
-                builtin = new AnyTypeRuntimeBindingType((BuiltinBindingType)btype,
-                                                        converter);
-            } else {
-                builtin = new BuiltinRuntimeBindingType((BuiltinBindingType)btype,
-                                                        converter);
-            }
-        }
-        catch (XmlException e) {
-            throw new AssertionError(e);
-        }
-        initedTypeMap.put(btype, builtin);
-    }
-
-
-    private void addBuiltinSoapType(String xsdType,
-                                    Class javaClass,
-                                    TypeConverter converter)
-    {
-        final JavaTypeName jName = JavaTypeName.forClassName(javaClass.getName());
-        addBuiltinSoapType(xsdType, jName, converter);
-    }
-
-    private void addBuiltinType(String xsdType,
-                                Class javaClass,
-                                TypeConverter converter)
-    {
-        final JavaTypeName jName = JavaTypeName.forClassName(javaClass.getName());
-        addBuiltinType(xsdType, jName, converter);
-    }
-
-    private void addBuiltinTypes()
-    {
-        addBuiltinType("anyType", Object.class, new ObjectAnyTypeConverter());
-
-        final FloatTypeConverter float_conv = new FloatTypeConverter();
-        addBuiltinType("float", float.class, float_conv);
-        addBuiltinType("float", Float.class, float_conv);
-
-        final DoubleTypeConverter double_conv = new DoubleTypeConverter();
-        addBuiltinType("double", double.class, double_conv);
-        addBuiltinType("double", Double.class, double_conv);
-
-        final IntegerTypeConverter integer_conv = new IntegerTypeConverter();
-        final Class bigint = BigInteger.class;
-        addBuiltinType("integer", bigint, integer_conv);
-        addBuiltinType("nonPositiveInteger", bigint, integer_conv);
-        addBuiltinType("negativeInteger", bigint, integer_conv);
-        addBuiltinType("nonNegativeInteger", bigint, integer_conv);
-        addBuiltinType("positiveInteger", bigint, integer_conv);
-        addBuiltinType("unsignedLong", bigint, integer_conv);
-
-        final TypeConverter i2iconv = new IntegerToIntTypeConverter();
-        addBuiltinType("integer", int.class, i2iconv);
-        addBuiltinType("nonPositiveInteger", int.class, i2iconv);
-        addBuiltinType("negativeInteger", int.class, i2iconv);
-        addBuiltinType("nonNegativeInteger", int.class, i2iconv);
-        addBuiltinType("positiveInteger", int.class, i2iconv);
-        addBuiltinType("unsignedLong", int.class, i2iconv);
-
-        final DecimalTypeConverter decimal_conv = new DecimalTypeConverter();
-        addBuiltinType("decimal", BigDecimal.class, decimal_conv);
-
-        final LongTypeConverter long_conv = new LongTypeConverter();
-        addBuiltinType("long", long.class, long_conv);
-        addBuiltinType("long", Long.class, long_conv);
-        addBuiltinType("unsignedInt", long.class, long_conv);
-        addBuiltinType("unsignedInt", Long.class, long_conv);
-
-        final IntTypeConverter int_conv = new IntTypeConverter();
-        addBuiltinType("int", int.class, int_conv);
-        addBuiltinType("int", Integer.class, int_conv);
-        addBuiltinType("unsignedShort", int.class, int_conv);
-        addBuiltinType("unsignedShort", Integer.class, int_conv);
-
-        final ShortTypeConverter short_conv = new ShortTypeConverter();
-        addBuiltinType("short", short.class, short_conv);
-        addBuiltinType("short", Short.class, short_conv);
-        addBuiltinType("unsignedByte", short.class, short_conv);
-        addBuiltinType("unsignedByte", Short.class, short_conv);
-
-        final ByteTypeConverter byte_conv = new ByteTypeConverter();
-        addBuiltinType("byte", byte.class, byte_conv);
-        addBuiltinType("byte", Byte.class, byte_conv);
-
-        final BooleanTypeConverter boolean_conv = new BooleanTypeConverter();
-        addBuiltinType("boolean", boolean.class, boolean_conv);
-        addBuiltinType("boolean", Boolean.class, boolean_conv);
-
-        final AnyUriToUriTypeConverter uri_uri_conv =
-            new AnyUriToUriTypeConverter();
-        addBuiltinType("anyURI", java.net.URI.class, uri_uri_conv);
-
-        final Class str = String.class;
-        addBuiltinType("anySimpleType", str, new AnySimpleTypeConverter());
-        final StringTypeConverter string_conv = new StringTypeConverter();
-        addBuiltinType("string", str, string_conv);
-        addBuiltinType("normalizedString", str, string_conv);
-        addBuiltinType("token", str, string_conv);
-        addBuiltinType("language", str, string_conv);
-        addBuiltinType("Name", str, string_conv);
-        addBuiltinType("NCName", str, string_conv);
-        addBuiltinType("NMTOKEN", str, string_conv);
-        addBuiltinType("ID", str, string_conv);
-        addBuiltinType("IDREF", str, string_conv);
-        addBuiltinType("ENTITY", str, string_conv);
-
-        final TypeConverter collapsing_string_conv =
-            CollapseStringTypeConverter.getInstance();
-
-        addBuiltinType("NOTATION", str, collapsing_string_conv);
-        addBuiltinType("duration", str, collapsing_string_conv);
-        addBuiltinType("gDay", str, collapsing_string_conv);
-        addBuiltinType("gMonth", str, collapsing_string_conv);
-        addBuiltinType("gMonthDay", str, collapsing_string_conv);
-        addBuiltinType("gYear", str, collapsing_string_conv);
-        addBuiltinType("gYearMonth", str, collapsing_string_conv);
-
-        final AnyUriToStringTypeConverter uri_conv =
-            new AnyUriToStringTypeConverter();
-        addBuiltinType("anyURI", str, uri_conv);
-
-        final Class str_array = (new String[0]).getClass();
-        final StringListArrayConverter string_list_array_conv =
-            new StringListArrayConverter();
-        addBuiltinType("ENTITIES", str_array,
-                       string_list_array_conv);
-        addBuiltinType("IDREFS", str_array,
-                       string_list_array_conv);
-        addBuiltinType("NMTOKENS", str_array,
-                       string_list_array_conv);
-
-        final DurationTypeConverter gduration_conv =
-            new DurationTypeConverter();
-        addBuiltinType("duration", GDuration.class, gduration_conv);
-
-        final Class calendar_class = java.util.Calendar.class;
-        final JavaCalendarTypeConverter date_time_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_DATE_TIME);
-        addBuiltinType("dateTime", calendar_class, date_time_conv);
-
-        final JavaDateTypeConverter date_datetime_conv =
-            new JavaDateTypeConverter(SchemaType.BTC_DATE_TIME);
-        addBuiltinType("dateTime", java.util.Date.class, date_datetime_conv);
-
-        final JavaCalendarTypeConverter time_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_TIME);
-        addBuiltinType("time", calendar_class, time_conv);
-
-        final JavaCalendarTypeConverter date_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_DATE);
-        addBuiltinType("date", calendar_class, date_conv);
-
-        final JavaDateTypeConverter date_date_conv =
-            new JavaDateTypeConverter(SchemaType.BTC_DATE);
-        addBuiltinType("date", java.util.Date.class, date_date_conv);
-
-        final JavaCalendarTypeConverter gday_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_G_DAY);
-        addBuiltinType("gDay", calendar_class, gday_conv);
-
-        final JavaCalendarTypeConverter gmonth_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_G_MONTH);
-        addBuiltinType("gMonth", calendar_class, gmonth_conv);
-
-        final JavaCalendarTypeConverter gmonth_day_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_G_MONTH_DAY);
-        addBuiltinType("gMonthDay", calendar_class, gmonth_day_conv);
-
-        final JavaCalendarTypeConverter gyear_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_G_YEAR);
-        addBuiltinType("gYear", calendar_class, gyear_conv);
-
-        final JavaCalendarTypeConverter gyearmonth_conv =
-            new JavaCalendarTypeConverter(SchemaType.BTC_G_YEAR_MONTH);
-        addBuiltinType("gYearMonth", calendar_class, gyearmonth_conv);
-
-
-        addBuiltinType("gDay",
-                       int.class,
-                       new IntDateTypeConverter(SchemaType.BTC_G_DAY));
-        addBuiltinType("gMonth",
-                       int.class,
-                       new IntDateTypeConverter(SchemaType.BTC_G_MONTH));
-        addBuiltinType("gYear",
-                       int.class,
-                       new IntDateTypeConverter(SchemaType.BTC_G_YEAR));
-
-
-        final QNameTypeConverter qname_conv = new QNameTypeConverter();
-        addBuiltinType("QName", QName.class, qname_conv);
-
-        final JavaTypeName byte_array_jname =
-            JavaTypeName.forArray(JavaTypeName.forString("byte"), 1);
-
-        final Base64BinaryTypeConverter base64_conv =
-            new Base64BinaryTypeConverter();
-        addBuiltinType("base64Binary", byte_array_jname, base64_conv);
-
-        final HexBinaryTypeConverter hexbin_conv = new HexBinaryTypeConverter();
-        addBuiltinType("hexBinary", byte_array_jname, hexbin_conv);
-
-        //TODO: InputStream based hexBinary and base64Binary converters
-
-        //SOAPENC additions...
-        addBuiltinSoapType("float", Float.class, float_conv);
-        addBuiltinSoapType("double", Double.class, double_conv);
-        addBuiltinSoapType("integer", bigint, integer_conv);
-        addBuiltinSoapType("nonPositiveInteger", bigint, integer_conv);
-        addBuiltinSoapType("negativeInteger", bigint, integer_conv);
-        addBuiltinSoapType("nonNegativeInteger", bigint, integer_conv);
-        addBuiltinSoapType("positiveInteger", bigint, integer_conv);
-        addBuiltinSoapType("unsignedLong", bigint, integer_conv);
-        addBuiltinSoapType("decimal", BigDecimal.class,
-                           decimal_conv);
-        addBuiltinSoapType("long", Long.class, long_conv);
-        addBuiltinSoapType("unsignedInt", Long.class, long_conv);
-        addBuiltinSoapType("int", Integer.class, int_conv);
-        addBuiltinSoapType("unsignedShort", Integer.class, int_conv);
-        addBuiltinSoapType("short", Short.class, short_conv);
-        addBuiltinSoapType("unsignedByte", Short.class, short_conv);
-        addBuiltinSoapType("byte", Byte.class, byte_conv);
-        addBuiltinSoapType("boolean", Boolean.class, boolean_conv);
-
-        addBuiltinSoapType("anyURI", java.net.URI.class, uri_uri_conv);
-
-        addBuiltinSoapType("string", str, string_conv);
-        addBuiltinSoapType("normalizedString", str, string_conv);
-        addBuiltinSoapType("token", str, string_conv);
-        addBuiltinSoapType("language", str, string_conv);
-        addBuiltinSoapType("Name", str, string_conv);
-        addBuiltinSoapType("NCName", str, string_conv);
-        addBuiltinSoapType("NMTOKEN", str, string_conv);
-        addBuiltinSoapType("ID", str, string_conv);
-        addBuiltinSoapType("IDREF", str, string_conv);
-        addBuiltinSoapType("ENTITY", str, string_conv);
-
-        addBuiltinSoapType("NOTATION", str, collapsing_string_conv);
-        addBuiltinSoapType("duration", str, collapsing_string_conv);
-        addBuiltinSoapType("gDay", str, collapsing_string_conv);
-        addBuiltinSoapType("gMonth", str, collapsing_string_conv);
-        addBuiltinSoapType("gMonthDay", str, collapsing_string_conv);
-        addBuiltinSoapType("gYear", str, collapsing_string_conv);
-        addBuiltinSoapType("gYearMonth", str, collapsing_string_conv);
-
-        addBuiltinSoapType("anyURI", str, uri_conv);
-
-        addBuiltinSoapType("ENTITIES", str_array, string_list_array_conv);
-        addBuiltinSoapType("IDREFS", str_array, string_list_array_conv);
-        addBuiltinSoapType("NMTOKENS", str_array, string_list_array_conv);
-
-        addBuiltinSoapType("duration", GDuration.class, gduration_conv);
-        addBuiltinSoapType("dateTime", calendar_class, date_time_conv);
-        addBuiltinSoapType("dateTime", java.util.Date.class, date_datetime_conv);
-        addBuiltinSoapType("time", calendar_class, time_conv);
-        addBuiltinSoapType("date", calendar_class, date_conv);
-        addBuiltinSoapType("date", java.util.Date.class, date_date_conv);
-        addBuiltinSoapType("gDay", calendar_class, gday_conv);
-        addBuiltinSoapType("gMonth", calendar_class, gmonth_conv);
-        addBuiltinSoapType("gMonthDay", calendar_class, gmonth_day_conv);
-        addBuiltinSoapType("gYear", calendar_class, gyear_conv);
-        addBuiltinSoapType("gYearMonth", calendar_class, gyearmonth_conv);
-
-        addBuiltinSoapType("QName", QName.class, qname_conv);
-
-        addBuiltinSoapType("base64Binary", byte_array_jname, base64_conv);
-        addBuiltinSoapType("hexBinary", byte_array_jname, hexbin_conv);
-
-    }
-
-    private static TypeUnmarshaller createSimpleTypeUnmarshaller(SimpleBindingType stype,
-                                                                 BindingLoader loader,
-                                                                 RuntimeBindingTypeTable table)
-        throws XmlException
-    {
-
-        int curr_ws = XmlWhitespace.WS_UNSPECIFIED;
-        SimpleBindingType curr = stype;
-        BuiltinBindingType resolved;
-
-        while (true) {
-            //we want to keep the first whitespace setting as we walk up
-            if (curr_ws == XmlWhitespace.WS_UNSPECIFIED) {
-                curr_ws = curr.getWhitespace();
-            }
-
-            BindingTypeName asif_name = curr.getAsIfBindingTypeName();
-            if (asif_name != null) {
-                BindingType asif_new = loader.getBindingType(asif_name);
-                if (asif_new instanceof BuiltinBindingType) {
-                    resolved = (BuiltinBindingType)asif_new;
-                    break;
-                } else if (asif_new instanceof SimpleBindingType) {
-                    curr = (SimpleBindingType)asif_new;
-                } else {
-                    String msg = "invalid as-xml type: " + asif_name +
-                        " on type: " + curr.getName();
-                    throw new XmlException(msg);
-                }
-            } else {
-                throw new XmlException("missing as-xml type on " +
-                                       curr.getName());
-            }
-        }
-        assert resolved != null;
-
-        //special processing for whitespace facets.
-        //TODO: assert that our type is derived from xsd:string
-        //for actual ws facet cases
-        switch (curr_ws) {
-            case XmlWhitespace.WS_UNSPECIFIED:
-                break;
-            case XmlWhitespace.WS_PRESERVE:
-                return PreserveStringTypeConverter.getInstance();
-            case XmlWhitespace.WS_REPLACE:
-                return ReplaceStringTypeConverter.getInstance();
-            case XmlWhitespace.WS_COLLAPSE:
-                return CollapseStringTypeConverter.getInstance();
-            default:
-                throw new AssertionError("invalid whitespace: " + curr_ws);
-        }
-
-        TypeUnmarshaller um =
-            table.createRuntimeType(resolved, loader).getUnmarshaller();
-        if (um != null) return um;
-
-        String msg = "unable to get simple type unmarshaller for " + stype +
-            " resolved to " + resolved;
-        throw new AssertionError(msg);
-    }
-
-    TypeUnmarshaller createUnmarshaller(BindingType binding_type,
-                                        BindingLoader loader)
-        throws XmlException
-    {
-        TypeVisitor type_visitor = new TypeVisitor(this, loader);
-        binding_type.accept(type_visitor);
-        final TypeUnmarshaller type_um = type_visitor.getUnmarshaller();
-
-        type_um.initialize(this, loader);
-        return type_um;
-    }
-
-    /**
-     *
-     * find marshaller for given type.  Can return null if not found
-     *
-     * @param type_name
-     * @param loader
-     * @return marshaller or null if not found.
-     * @throws XmlException
-     */
-    private TypeMarshaller createMarshaller(BindingTypeName type_name,
-                                            BindingLoader loader)
-        throws XmlException
-    {
-        final BindingType binding_type = loader.getBindingType(type_name);
-        if (binding_type == null) {
-            final String msg = "unable to load type for " + type_name;
-            throw new XmlException(msg);
-        }
-
-        return createMarshaller(binding_type, loader);
-    }
-
-    /**
-     * find marshaller for given type.  Can return null if not found
-     *
-     * @param binding_type
-     * @param loader
-     * @return  marshaller or null if not found.
-     * @throws XmlException
-     */
-    TypeMarshaller createMarshaller(BindingType binding_type,
-                                    BindingLoader loader)
-        throws XmlException
-    {
-        final TypeMarshaller m;
-
-        //REVIEW: consider using visitor
-
-        if (binding_type instanceof SimpleContentBean) {
-            SimpleContentBean scb = (SimpleContentBean)binding_type;
-            final SimpleContentRuntimeBindingType rtt =
-                createRuntimeType(scb, loader);
-            m = new SimpleContentBeanMarshaller(rtt);
-        } else if (binding_type instanceof SimpleBindingType) {
-            SimpleBindingType stype = (SimpleBindingType)binding_type;
-
-            final BindingTypeName asif_name = stype.getAsIfBindingTypeName();
-            if (asif_name == null)
-                throw new XmlException("no asif for " + stype);
-
-            m = createMarshaller(asif_name, loader);
-        } else if (binding_type instanceof JaxrpcEnumType) {
-            JaxrpcEnumType enum_type = (JaxrpcEnumType)binding_type;
-            final JaxrpcEnumRuntimeBindingType rtt =
-                createRuntimeType(enum_type, loader);
-            m = new JaxrpcEnumMarsahller(rtt);
-        } else if (binding_type instanceof ListArrayType) {
-            ListArrayType la_type = (ListArrayType)binding_type;
-            final ListArrayRuntimeBindingType rtt =
-                createRuntimeType(la_type, loader);
-            m = new ListArrayConverter(rtt);
-        } else if (binding_type instanceof BuiltinBindingType) {
-            final RuntimeBindingType rtt =
-                createRuntimeType(binding_type, loader);
-            m = rtt.getMarshaller();
-            assert m != null;
-        } else {
-            //not a known simple type
-            m = null;
-        }
-
-        return m;
-    }
-
-
-    private static final class TypeVisitor
-        implements BindingTypeVisitor
-    {
-        private final BindingLoader loader;
-        private final RuntimeBindingTypeTable typeTable;
-
-        private TypeUnmarshaller typeUnmarshaller;
-
-        public TypeVisitor(RuntimeBindingTypeTable runtimeBindingTypeTable,
-                           BindingLoader loader)
-        {
-            this.typeTable = runtimeBindingTypeTable;
-            this.loader = loader;
-        }
-
-        public void visit(BuiltinBindingType builtinBindingType)
-            throws XmlException
-        {
-            throw new AssertionError("internal error: no builtin unmarshaller for " +
-                                     builtinBindingType);
-        }
-
-        public void visit(ByNameBean byNameBean)
-            throws XmlException
-        {
-            ByNameRuntimeBindingType rtt =
-                typeTable.createRuntimeType(byNameBean, loader);
-
-            typeUnmarshaller = new ByNameUnmarshaller(rtt);
-        }
-
-
-        public void visit(SimpleContentBean simpleContentBean)
-            throws XmlException
-        {
-            SimpleContentRuntimeBindingType rtt =
-                typeTable.createRuntimeType(simpleContentBean, loader);
-
-            typeUnmarshaller = new SimpleContentUnmarshaller(rtt);
-        }
-
-        public void visit(SimpleBindingType simpleBindingType)
-            throws XmlException
-        {
-            typeUnmarshaller =
-                typeTable.createSimpleTypeUnmarshaller(simpleBindingType,
-                                                       loader,
-                                                       typeTable);
-        }
-
-        public void visit(JaxrpcEnumType jaxrpcEnumType)
-            throws XmlException
-        {
-            JaxrpcEnumRuntimeBindingType rtt =
-                typeTable.createRuntimeType(jaxrpcEnumType,
-                                            loader);
-
-            typeUnmarshaller = new JaxrpcEnumUnmarshaller(rtt);
-        }
-
-        public void visit(SimpleDocumentBinding simpleDocumentBinding)
-            throws XmlException
-        {
-            throw new AssertionError("type not allowed here" +
-                                     simpleDocumentBinding);
-        }
-
-        public void visit(WrappedArrayType wrappedArrayType)
-            throws XmlException
-        {
-            WrappedArrayRuntimeBindingType rtt =
-                typeTable.createRuntimeType(wrappedArrayType, loader);
-            typeUnmarshaller = new WrappedArrayUnmarshaller(rtt);
-        }
-
-        public void visit(SoapArrayType soapArrayType)
-            throws XmlException
-        {
-            SoapArrayRuntimeBindingType rtt =
-                typeTable.createRuntimeType(soapArrayType, loader);
-            typeUnmarshaller = new SoapArrayUnmarshaller(rtt);
-        }
-
-        public void visit(ListArrayType listArrayType)
-            throws XmlException
-        {
-            ListArrayRuntimeBindingType rtt =
-                typeTable.createRuntimeType(listArrayType, loader);
-            typeUnmarshaller = new ListArrayConverter(rtt);
-        }
-
-        public TypeUnmarshaller getUnmarshaller()
-        {
-            assert typeUnmarshaller != null;
-            return typeUnmarshaller;
-        }
-
-    }
-
-
-    private static final class FactoryTypeVisitor
-        implements BindingTypeVisitor
-    {
-        private RuntimeBindingType runtimeBindingType;
-
-
-        public RuntimeBindingType getRuntimeBindingType()
-        {
-            return runtimeBindingType;
-        }
-
-        public void visit(BuiltinBindingType builtinBindingType)
-            throws XmlException
-        {
-            throw new AssertionError("not used");
-
-        }
-
-        public void visit(ByNameBean byNameBean)
-            throws XmlException
-        {
-            runtimeBindingType = new ByNameRuntimeBindingType(byNameBean);
-        }
-
-        public void visit(SimpleContentBean simpleContentBean)
-            throws XmlException
-        {
-            runtimeBindingType = new SimpleContentRuntimeBindingType(simpleContentBean);
-        }
-
-        public void visit(SimpleBindingType simpleBindingType)
-            throws XmlException
-        {
-            runtimeBindingType = new SimpleRuntimeBindingType(simpleBindingType);
-        }
-
-        public void visit(JaxrpcEnumType jaxrpcEnumType)
-            throws XmlException
-        {
-            runtimeBindingType = new JaxrpcEnumRuntimeBindingType(jaxrpcEnumType);
-        }
-
-        public void visit(SimpleDocumentBinding simpleDocumentBinding)
-            throws XmlException
-        {
-            throw new AssertionError("not valid here: " + simpleDocumentBinding);
-        }
-
-        public void visit(WrappedArrayType wrappedArrayType)
-            throws XmlException
-        {
-            runtimeBindingType = new WrappedArrayRuntimeBindingType(wrappedArrayType);
-        }
-
-        public void visit(SoapArrayType soapArrayType)
-            throws XmlException
-        {
-            runtimeBindingType = new SoapArrayRuntimeBindingType(soapArrayType);
-        }
-
-        public void visit(ListArrayType listArrayType)
-            throws XmlException
-        {
-            runtimeBindingType = new ListArrayRuntimeBindingType(listArrayType);
-        }
-
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeGlobalProperty.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeGlobalProperty.java
deleted file mode 100644
index 6a2eda2..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeGlobalProperty.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-final class RuntimeGlobalProperty
-    extends RuntimeBindingProperty
-{
-    private final QName rootElement;
-    private final RuntimeBindingType runtimeBindingType;
-
-    public RuntimeGlobalProperty(QName rootElement,
-                                 RuntimeBindingType runtimeBindingType)
-    {
-        //We can pass null becuase the global element properties never have
-        //a parent object, so this resolve should never be needed.
-        //If it is somehow used we'll find out thanks to NPE.
-        super(null);
-        this.rootElement = rootElement;
-        this.runtimeBindingType = runtimeBindingType;
-    }
-
-    public RuntimeBindingType getRuntimeBindingType()
-    {
-        return runtimeBindingType;
-    }
-
-    public RuntimeBindingType getActualRuntimeType(Object parentObject,
-                                                   MarshalResult result)
-        throws XmlException
-    {
-        return result.determineRuntimeBindingType(runtimeBindingType,
-                                                  parentObject);
-    }
-
-    public QName getName()
-    {
-        return rootElement;
-    }
-
-    public void fill(Object inter, Object prop_obj)
-        throws XmlException
-    {
-        throw new UnsupportedOperationException();
-    }
-
-    public Object getValue(Object parent_obj, MarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("UNIMP: " + this);
-    }
-
-    public boolean isSet(Object parentObject, MarshalResult result)
-        throws XmlException
-    {
-        return true;
-    }
-
-    public boolean isMultiple()
-    {
-        return false;
-    }
-
-    public boolean isNillable()
-    {
-        //TODO & FIXME: we need the real information from the schema here
-        return true;
-    }
-
-    public String getLexicalDefault()
-    {
-        throw new AssertionError("UNIMP");
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeTypeVisitor.java
deleted file mode 100644
index ba1e895..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/RuntimeTypeVisitor.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-public interface RuntimeTypeVisitor
-{
-    void visit(BuiltinRuntimeBindingType builtinRuntimeBindingType)
-        throws XmlException;
-
-    void visit(AnyTypeRuntimeBindingType builtinRuntimeBindingType)
-        throws XmlException;
-
-    void visit(ByNameRuntimeBindingType byNameRuntimeBindingType)
-        throws XmlException;
-
-    void visit(SimpleContentRuntimeBindingType simpleContentRuntimeBindingType)
-        throws XmlException;
-
-    void visit(SimpleRuntimeBindingType simpleRuntimeBindingType)
-        throws XmlException;
-
-    void visit(JaxrpcEnumRuntimeBindingType jaxrpcEnumRuntimeBindingType)
-        throws XmlException;
-
-    void visit(WrappedArrayRuntimeBindingType wrappedArrayRuntimeBindingType)
-        throws XmlException;
-
-    void visit(SoapArrayRuntimeBindingType soapArrayRuntimeBindingType)
-        throws XmlException;
-
-    void visit(ListArrayRuntimeBindingType listArrayRuntimeBindingType)
-        throws XmlException;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SchemaTypeLoaderProvider.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SchemaTypeLoaderProvider.java
deleted file mode 100644
index d6c5237..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SchemaTypeLoaderProvider.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-
-interface SchemaTypeLoaderProvider
-{
-    /**
-     * get the SchemaTypeLoader
-     *
-     * @return the SchemaTypeLoader
-     * @throws IllegalStateException  if schema type system not available
-     */
-    SchemaTypeLoader getSchemaTypeLoader()
-        throws XmlException;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ScopedNamespaceContext.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ScopedNamespaceContext.java
deleted file mode 100644
index 9fb0429..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ScopedNamespaceContext.java
+++ /dev/null
@@ -1,282 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import javax.xml.namespace.NamespaceContext;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Set;
-import java.util.Stack;
-
-final class ScopedNamespaceContext
-    implements NamespaceContext
-{
-
-    public static final String DEFAULT_NAMESPACE = "";
-
-    private final Stack scopeStack;
-    private LLNamespaceContext current = null;
-
-    private static final String XML_NS = "http://www.w3.org/XML/1998/namespace";
-    private static final String XMLNS_URI = "http://www.w3.org/2000/xmlns/";
-    private static final String XML_PREFIX = "xml";
-    private static final String XMLNS_PREFIX = "xmlns";
-
-    public ScopedNamespaceContext()
-    {
-        this(null, new Stack());
-    }
-
-    private ScopedNamespaceContext(LLNamespaceContext head, Stack scopeStack)
-    {
-        this.current = head;
-        this.scopeStack = scopeStack;
-    }
-
-    public ScopedNamespaceContext(NamespaceContext root_nsctx)
-    {
-        //TODO: copy or use initial context!
-        this(null, new Stack());
-    }
-
-    public void clear()
-    {
-        scopeStack.clear();
-        current = null;
-    }
-
-    public String getNamespaceURI(String prefix)
-    {
-        //two special cases from JSR 173
-        if (XML_PREFIX.equals(prefix))
-            return XML_NS;
-
-        if (XMLNS_PREFIX.equals(prefix))
-            return XMLNS_URI;
-
-        if (current == null) return null;
-
-        return current.getNamespaceURI(prefix);
-    }
-
-    public String getPrefix(String namespaceURI)
-    {
-        //two special cases from JSR 173
-
-        if (XML_NS.equals(namespaceURI))
-            return XML_PREFIX;
-
-        if (XMLNS_URI.equals(namespaceURI))
-            return XMLNS_PREFIX;
-
-
-        if (current == null)
-            return null;
-        else
-            return current.getPrefix(namespaceURI);
-    }
-
-    public Iterator getPrefixes(String namespaceURI)
-    {
-        return current.getPrefixes(namespaceURI);
-    }
-
-    public boolean scopeOpened()
-    {
-        return !scopeStack.isEmpty();
-    }
-
-    public void openScope()
-    {
-        scopeStack.push(current);
-    }
-
-    public void closeScope()
-    {
-        if (!scopeOpened())
-            throw new IllegalStateException("no scope currently open");
-
-        final LLNamespaceContext previous = (LLNamespaceContext)scopeStack.pop();
-        current = previous;
-    }
-
-    public void bindNamespace(String prefix, String namespace)
-    {
-        if (!scopeOpened())
-            throw new IllegalStateException("no scope currently open");
-        if (namespace == null)
-            throw new IllegalArgumentException("null namespace not allowed");
-        if (prefix == DEFAULT_NAMESPACE || prefix == null) {
-            final String msg = "Cannot use empty string or null as a prefix; " +
-                "use bindDefaultNamespace() to bind the default namespace";
-            throw new IllegalArgumentException(msg);
-        }
-        current = new LLNamespaceContext(prefix, namespace, current);
-    }
-
-    public void unbindNamespace(String prefix)
-    {
-        bindNamespace(prefix, null);
-    }
-
-    public void bindDefaultNamespace(String uri)
-    {
-        bindNamespace(DEFAULT_NAMESPACE, uri);
-    }
-
-    public void unbindDefaultNamespace()
-    {
-        //TODO: FIXME
-        bindDefaultNamespace(null);
-    }
-
-    public int getDepth()
-    {
-        return scopeStack.size();
-    }
-
-    public Map getNamespaceMap()
-    {
-        return getNamespaceMap(current);
-    }
-
-
-    public int getCurrentScopeNamespaceCount()
-    {
-        if (current == null) return 0;
-
-        final LLNamespaceContext top = (LLNamespaceContext)scopeStack.peek();
-        int cnt = 0;
-        for (LLNamespaceContext cur = current; cur != top; cur = cur.getPredecessor()) {
-            ++cnt;
-        }
-        return cnt;
-    }
-
-    public String getCurrentScopeNamespacePrefix(int i)
-    {
-        return getCurrentScopeNamespace(i).getPrefix();
-    }
-
-    public String getCurrentScopeNamespaceURI(int i)
-    {
-        return getCurrentScopeNamespace(i).getNamespace();
-    }
-
-    private LLNamespaceContext getCurrentScopeNamespace(int i)
-    {
-        if (i < 0) throw new IllegalArgumentException("negative index: " + i);
-
-        final LLNamespaceContext top = (LLNamespaceContext)scopeStack.peek();
-        int cnt = 0;
-        for (LLNamespaceContext cur = current; cur != top; cur = cur.getPredecessor()) {
-            if (cnt == i) {
-                return cur;
-            }
-            ++cnt;
-        }
-        throw new IndexOutOfBoundsException("index of out range: " + i);
-    }
-
-
-    private static final Map getNamespaceMap(LLNamespaceContext ctx)
-    {
-        if (ctx == null)
-            return new HashMap();
-        else {
-            final Map result = getNamespaceMap(ctx.predecessor);
-            result.put(ctx.prefix, ctx.namespace);
-            return result;
-        }
-    }
-
-    private static final class LLNamespaceContext
-    {
-        private final String prefix;
-        private final String namespace;
-        private final LLNamespaceContext predecessor;
-
-
-        public LLNamespaceContext(String prefix, String namespace,
-                                  LLNamespaceContext predecessor)
-        {
-            this.prefix = prefix;
-            this.namespace = namespace;
-            this.predecessor = predecessor;
-        }
-
-        public final String getNamespace()
-        {
-            return namespace;
-        }
-
-        public final String getPrefix()
-        {
-            return prefix;
-        }
-
-        final LLNamespaceContext getPredecessor()
-        {
-            return predecessor;
-        }
-
-        public String getNamespaceURI(String prefix)
-        {
-            for (LLNamespaceContext entry = this; entry != null; entry = entry.predecessor) {
-                if (prefix.equals(entry.prefix)) return entry.namespace;
-            }
-            return null;
-        }
-
-        public String getPrefix(String namespaceURI)
-        {
-            for (LLNamespaceContext entry = this; entry != null; entry = entry.predecessor) {
-                if (namespaceURI.equals(entry.namespace)) return entry.prefix;
-            }
-            return null;
-        }
-
-        public Iterator getPrefixes(String namespaceURI)
-        {
-            final Set result = getPrefixSet(namespaceURI, this);
-            return result.iterator();
-        }
-
-        static final Set getPrefixSet(String namespace,
-                                      LLNamespaceContext context)
-        {
-            final Stack reversed = new Stack();
-            LLNamespaceContext current = context;
-            while (current != null) {
-                reversed.push(current);
-                current = current.predecessor;
-            }
-            Set result = new HashSet(4);
-            while (!reversed.isEmpty()) {
-                current = (LLNamespaceContext)reversed.pop();
-                if (namespace.equals(current.namespace))
-                    result.add(current.prefix);
-                else
-                    result.remove(current.prefix);
-            }
-
-            return result;
-        }
-
-    }
-}
\ No newline at end of file
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ShortTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ShortTypeConverter.java
deleted file mode 100644
index 005094d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ShortTypeConverter.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-final class ShortTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        short val = context.getShortValue();
-        return new Short(val);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        short val = context.getAttributeShortValue();
-        return new Short(val);
-    }
-
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        try {
-            final short b = XsTypeConverter.lexShort(lexical_value);
-            return new Short(b);
-        }
-        catch (NumberFormatException e) {
-            throw new InvalidLexicalValueException(e, result.getLocation());
-        }
-    }
-
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        Short val = (Short)value;
-        return XsTypeConverter.printShort(val.shortValue());
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentBeanMarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentBeanMarshaller.java
deleted file mode 100644
index 799f1d6..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentBeanMarshaller.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class SimpleContentBeanMarshaller implements TypeMarshaller
-{
-    private final SimpleContentRuntimeBindingType simpleContentType;
-
-    public SimpleContentBeanMarshaller(SimpleContentRuntimeBindingType rtt)
-        throws XmlException
-    {
-        simpleContentType = rtt;
-        final RuntimeBindingType content_rtt =
-            rtt.getSimpleContentProperty().getRuntimeBindingType();
-        final TypeMarshaller marshaller = content_rtt.getMarshaller();
-        if (marshaller == null) {
-            String e = "failed to find marshaller for " +
-                content_rtt.getBindingType();
-            throw new AssertionError(e);
-        }
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-        throws XmlException
-    {
-        final RuntimeBindingProperty simple_content_prop =
-            simpleContentType.getSimpleContentProperty();
-
-        final Object simple_content_val =
-            simple_content_prop.getValue(value, result);
-
-        final RuntimeBindingType actual_prop_rtt =
-            result.determineRuntimeBindingType(simple_content_prop.getRuntimeBindingType(),
-                                               simple_content_val);
-
-        return actual_prop_rtt.getMarshaller().print(simple_content_val, result);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentRuntimeBindingType.java
deleted file mode 100644
index 48615dd..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentRuntimeBindingType.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.QNameProperty;
-import org.apache.xmlbeans.impl.binding.bts.SimpleContentBean;
-import org.apache.xmlbeans.impl.binding.bts.SimpleContentProperty;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-
-class SimpleContentRuntimeBindingType
-    extends AttributeRuntimeBindingType
-{
-    private SimpleContentRuntimeProperty simpleTypeProperty;
-
-    SimpleContentRuntimeBindingType(SimpleContentBean simpleContentBean)
-        throws XmlException
-    {
-        super(simpleContentBean);
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    //prepare internal data structures for use
-    public final void initialize(RuntimeBindingTypeTable typeTable,
-                                 BindingLoader loader)
-        throws XmlException
-    {
-        super.initialize(typeTable, loader);
-        SimpleContentBean scb = getSimpleContentBean();
-        final SimpleContentProperty simpleContentProperty =
-            scb.getSimpleContentProperty();
-        simpleTypeProperty =
-            new SimpleContentRuntimeProperty(getJavaType(),
-                                             simpleContentProperty, this,
-                                             typeTable, loader);
-    }
-
-    boolean hasElementChildren()
-    {
-        return false;
-    }
-
-    private SimpleContentBean getSimpleContentBean()
-    {
-        return (SimpleContentBean)getBindingType();
-    }
-
-    protected void initElementProperty(QNameProperty prop,
-                                       int elem_idx,
-                                       RuntimeBindingTypeTable typeTable,
-                                       BindingLoader loader
-                                       )
-        throws XmlException
-    {
-        throw new AssertionError("invalid property for this type: " + prop);
-    }
-
-    protected Collection getQNameProperties()
-    {
-        SimpleContentBean narrowed_type = (SimpleContentBean)getBindingType();
-        return narrowed_type.getAttributeProperties();
-    }
-
-    protected Object createIntermediary(UnmarshalResult context)
-    {
-        return ClassLoadingUtils.newInstance(getJavaType());
-    }
-
-    protected Object getFinalObjectFromIntermediary(Object retval,
-                                                    UnmarshalResult context)
-        throws XmlException
-    {
-        return retval;
-    }
-
-    int getElementPropertyCount()
-    {
-        return 0;
-    }
-
-    protected boolean hasMulti()
-    {
-        return false;
-    }
-
-    RuntimeBindingProperty getSimpleContentProperty()
-    {
-        return simpleTypeProperty;
-    }
-
-    private static final class SimpleContentRuntimeProperty
-        extends BeanRuntimeProperty
-    {
-
-        SimpleContentRuntimeProperty(Class beanClass,
-                                     BindingProperty prop,
-                                     RuntimeBindingType containing_type,
-                                     RuntimeBindingTypeTable typeTable,
-                                     BindingLoader loader)
-            throws XmlException
-        {
-            super(beanClass, prop, containing_type, typeTable, loader);
-        }
-
-        QName getName()
-        {
-            throw new AssertionError("prop has no name by design");
-        }
-
-        boolean isMultiple()
-        {
-            return false;
-        }
-
-        boolean isNillable()
-        {
-            return false;
-        }
-
-        String getLexicalDefault()
-        {
-            return null;
-        }
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentTypeVisitor.java
deleted file mode 100644
index def86d7..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentTypeVisitor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class SimpleContentTypeVisitor
-    extends SimpleContentVisitor
-{
-    private final SimpleContentRuntimeBindingType type;
-
-    public SimpleContentTypeVisitor(RuntimeBindingProperty property,
-                                    Object obj,
-                                    PullMarshalResult result)
-        throws XmlException
-    {
-        super(property, obj, result);
-
-        type = (SimpleContentRuntimeBindingType)getActualRuntimeBindingType();
-    }
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        ByNameTypeVisitor.initAttributesInternal(this,
-                                                 type,
-                                                 getMaxAttributePropCount(),
-                                                 marshalResult);
-
-    }
-
-
-    private int getMaxAttributePropCount()
-    {
-        return getParentObject() == null ? 0 : type.getAttributePropertyCount();
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentUnmarshaller.java
deleted file mode 100644
index ad52887..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentUnmarshaller.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class SimpleContentUnmarshaller
-    extends AttributeUnmarshaller
-{
-
-    private final SimpleContentRuntimeBindingType simpleContentRuntimeBindingType;
-
-    public SimpleContentUnmarshaller(SimpleContentRuntimeBindingType type)
-    {
-        super(type);
-        simpleContentRuntimeBindingType = type;
-    }
-
-
-    protected void deserializeContents(Object inter,
-                                       UnmarshalResult context)
-        throws XmlException
-    {
-        RuntimeBindingProperty scprop =
-            simpleContentRuntimeBindingType.getSimpleContentProperty();
-        context.extractAndFillElementProp(scprop, inter);
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentVisitor.java
deleted file mode 100644
index a0e68f3..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleContentVisitor.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-abstract class SimpleContentVisitor
-    extends NamedXmlTypeVisitor
-{
-    private final CharSequence chars;
-
-    private int state = START;
-
-    public SimpleContentVisitor(RuntimeBindingProperty property,
-                                Object obj,
-                                PullMarshalResult result)
-        throws XmlException
-    {
-        super(obj, property, result);
-
-        //we are getting the lexical value here because in certain cases
-        //this action could end up modifying the namespace context.
-        //(qname, type substitution).
-        if (obj == null) {
-            //REVIEW: should this be a special subclass for nil types?
-            //Any use of this value should cause an npe later on.
-            chars = null;
-        } else {
-            chars = property.getLexical(obj, marshalResult);
-        }
-    }
-
-    protected int getState()
-    {
-        return state;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        final int newstate;
-        switch (state) {
-            case START:
-                if (getParentObject() == null) {
-                    newstate = END;
-                } else {
-                    newstate = CHARS;
-                }
-                break;
-            case CHARS:
-                newstate = END;
-                break;
-            default:
-                throw new AssertionError("invalid state: " + state);
-        }
-        state = newstate;
-        return newstate;
-    }
-
-    public XmlTypeVisitor getCurrentChild()
-        throws XmlException
-    {
-        assert state == CHARS;
-        return this;
-    }
-
-    protected CharSequence getCharData()
-    {
-        assert state == CHARS;
-        assert getParentObject() != null; // should have skipped this
-        return chars;
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleRuntimeBindingType.java
deleted file mode 100644
index 30cc72c..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleRuntimeBindingType.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.SimpleBindingType;
-
-class SimpleRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final SimpleBindingType simpleBindingType;
-
-    public SimpleRuntimeBindingType(SimpleBindingType type)
-        throws XmlException
-    {
-        super(type);
-        simpleBindingType = type;
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader
-                           )
-        throws XmlException
-    {
-    }
-
-    boolean hasElementChildren()
-    {
-        return false;
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleTypeVisitor.java
deleted file mode 100644
index 6fa982a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SimpleTypeVisitor.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-final class SimpleTypeVisitor
-    extends SimpleContentVisitor
-{
-
-    public SimpleTypeVisitor(RuntimeBindingProperty property,
-                             Object obj,
-                             PullMarshalResult result)
-        throws XmlException
-    {
-        super(property, obj, result);
-    }
-
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        if (getParentObject() == null) {
-            marshalResult.addXsiNilAttribute();
-        } else if (needsXsiType()) {
-            marshalResult.addXsiTypeAttribute(getActualRuntimeBindingType());
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11Constants.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11Constants.java
deleted file mode 100644
index 3fbea03..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11Constants.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import javax.xml.namespace.QName;
-
-final class Soap11Constants
-{
-    static final QName ID_NAME = new QName("id");
-    static final QName REF_NAME = new QName("href");
-
-    private static final char REF_PREFIX_CHAR = '#';
-    private static final String ID_PREFIX = "i";
-    private static final String REF_PREFIX = REF_PREFIX_CHAR + ID_PREFIX;
-
-    private Soap11Constants()
-    {
-    }
-
-    static String constructRefValueFromId(int id)
-    {
-        return REF_PREFIX + Integer.toString(id);
-    }
-
-    static String constructIdValueFromId(int id)
-    {
-        return ID_PREFIX + Integer.toString(id);
-    }
-
-
-    //returns null on error
-    static String extractIdFromRef(String attval)
-    {
-        char firstchar = attval.charAt(0);
-        if (REF_PREFIX_CHAR == firstchar) {
-            return attval.substring(1);
-        } else {
-            return null;
-        }
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11MarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11MarshalResult.java
deleted file mode 100644
index 7f8834a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11MarshalResult.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-
-final class Soap11MarshalResult
-    extends PullSoapMarshalResult
-{
-
-    private static final QName ID_NAME = new QName("id");
-
-    //TODO: REVIEW: consider ways to reduce the number of parameters here
-    Soap11MarshalResult(BindingLoader loader,
-                        RuntimeBindingTypeTable tbl,
-                        NamespaceContext root_nsctx,
-                        RuntimeBindingProperty property,
-                        Object obj,
-                        XmlOptions options,
-                        ObjectRefTable object_ref_table,
-                        boolean writingMultiRefdObjs)
-        throws XmlException
-    {
-        super(loader, tbl, root_nsctx, property, obj,
-              options, object_ref_table, writingMultiRefdObjs);
-    }
-
-    protected XmlTypeVisitor createRefdObjectVisitor(RuntimeBindingProperty property,
-                                                     Object obj,
-                                                     int id)
-        throws XmlException
-    {
-        return new Soap11RefdObjectVisitor(property, obj, this, id);
-    }
-
-    protected QName getIdAttributeName()
-    {
-        return ID_NAME;
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11RefdObjectVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11RefdObjectVisitor.java
deleted file mode 100644
index 9a206fb..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11RefdObjectVisitor.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-class Soap11RefdObjectVisitor
-    extends RefdObjectVisitor
-{
-    public Soap11RefdObjectVisitor(RuntimeBindingProperty property,
-                                   Object obj,
-                                   PullMarshalResult result,
-                                   int id)
-        throws XmlException
-    {
-        super(property, obj, result, id);
-    }
-
-    protected QName getRefQName()
-    {
-        return Soap11Constants.REF_NAME;
-    }
-
-    protected String getRefValue()
-    {
-        return Soap11Constants.constructRefValueFromId(id);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11UnmarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11UnmarshalResult.java
deleted file mode 100644
index b75fd21..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/Soap11UnmarshalResult.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-
-import javax.xml.namespace.QName;
-
-final class Soap11UnmarshalResult
-    extends SoapUnmarshalResult
-{
-
-    Soap11UnmarshalResult(BindingLoader loader,
-                          RuntimeBindingTypeTable typeTable,
-                          RefObjectTable refObjectTable,
-                          StreamRefNavigator refNavigator,
-                          XmlOptions opts)
-    {
-        super(loader, typeTable, refObjectTable, refNavigator, opts);
-    }
-
-    protected String getReferencedIdFromAttributeValue(String attval)
-    {
-        final String idstr = Soap11Constants.extractIdFromRef(attval);
-        if (idstr == null) {
-            throw new InvalidLexicalValueException("invalid reference",
-                                                   getLocation());
-        }
-        return idstr;
-    }
-
-    protected String getIdFromAttributeValue(String attval)
-    {
-        return attval;
-    }
-
-    protected QName getIdAttributeName()
-    {
-        return Soap11Constants.ID_NAME;
-    }
-
-    protected QName getRefAttributeName()
-    {
-        return Soap11Constants.REF_NAME;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayRuntimeBindingType.java
deleted file mode 100644
index 817b0e4..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayRuntimeBindingType.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.SoapArrayType;
-import org.apache.xmlbeans.impl.marshal.util.collections.Accumulator;
-import org.apache.xmlbeans.impl.marshal.util.collections.AccumulatorFactory;
-
-import javax.xml.namespace.QName;
-import java.lang.reflect.Array;
-
-final class SoapArrayRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final SoapArrayType soapArrayType;
-
-    private ItemProperty elementProperty;
-
-    SoapArrayRuntimeBindingType(SoapArrayType binding_type)
-        throws XmlException
-    {
-        super(binding_type);
-        soapArrayType = binding_type;
-    }
-
-
-    int[] getRanks() {
-      throw new AssertionError("INVALID CALL");
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-        throws XmlException
-    {
-        final BindingTypeName item_type_name = soapArrayType.getItemType();
-        assert item_type_name != null;
-
-        final BindingType item_type = bindingLoader.getBindingType(item_type_name);
-        if (item_type == null) {
-            final String msg = "unable to lookup " + item_type_name +
-                " from type " + soapArrayType;
-            throw new XmlException(msg);
-        }
-
-        final RuntimeBindingType item_rtt =
-            typeTable.createRuntimeType(item_type, bindingLoader);
-
-        elementProperty =
-            new ItemProperty(this, soapArrayType.getItemName(),
-                             item_rtt,
-                             soapArrayType.isItemNillable());
-
-
-    }
-
-    boolean hasElementChildren()
-    {
-        return true;
-    }
-
-    ItemProperty getElementProperty()
-    {
-        assert elementProperty != null;
-        return elementProperty;
-    }
-
-    Object createIntermediary()
-    {
-        return AccumulatorFactory.createAccumulator(getJavaType(),
-                                                    elementProperty.getElementClass());
-
-    }
-
-    static Object getFinalObjectFromIntermediary(Object inter)
-    {
-        Accumulator acc = (Accumulator)inter;
-        return acc.getFinalArray();
-    }
-
-    boolean isObjectFromIntermediateIdempotent()
-    {
-        return false;
-    }
-
-    static final class ItemProperty
-        extends RuntimeBindingProperty
-    {
-        private final QName itemName;
-        private final RuntimeBindingType itemType;
-        private final boolean nillable;
-
-        ItemProperty(RuntimeBindingType containing_type,
-                     QName item_name,
-                     RuntimeBindingType item_type,
-                     boolean nillable)
-            throws XmlException
-        {
-            super(containing_type);
-
-            itemName = item_name;
-            itemType = item_type;
-            this.nillable = nillable;
-
-        }
-
-        Class getElementClass()
-        {
-            return itemType.getJavaType();
-        }
-
-        RuntimeBindingType getRuntimeBindingType()
-        {
-            return itemType;
-        }
-
-        RuntimeBindingType getActualRuntimeType(Object property_value,
-                                                MarshalResult result)
-            throws XmlException
-        {
-            return result.determineRuntimeBindingType(itemType, property_value);
-        }
-
-        QName getName()
-        {
-            return itemName;
-        }
-
-        public void fill(Object inter, Object prop_obj)
-            throws XmlException
-        {
-            Accumulator acc = (Accumulator)inter;
-            acc.append(prop_obj);
-        }
-
-        Object getValue(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new UnsupportedOperationException("use 3 arg getValue");
-        }
-
-        Object getValue(Object parentObject, MarshalResult result, int item_index)
-            throws XmlException
-        {
-            return Array.get(parentObject, item_index);
-        }
-
-        boolean isSet(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new UnsupportedOperationException("use 3 arg isSet");
-        }
-
-        boolean isSet(Object parentObject, MarshalResult result, int item_index)
-            throws XmlException
-        {
-            if (nillable) return true;
-            if (itemType.isJavaPrimitive()) return true;
-
-            //TODO: consider isSet for array elements?
-
-            return getValue(parentObject, result, item_index) != null;
-        }
-
-        boolean isMultiple()
-        {
-            return true;
-        }
-
-        boolean isNillable()
-        {
-            return nillable;
-        }
-
-        String getLexicalDefault()
-        {
-            return null;
-        }
-
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayTypeVisitor.java
deleted file mode 100644
index 71254b5..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayTypeVisitor.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import java.lang.reflect.Array;
-
-//TODO: finish this class
-
-class SoapArrayTypeVisitor
-    extends NamedXmlTypeVisitor
-{
-    private final SoapArrayRuntimeBindingType type;
-    private final int arrayLength;
-
-    private int currIndex = -1;
-
-    SoapArrayTypeVisitor(RuntimeBindingProperty property,
-                         Object obj,
-                         PullMarshalResult result)
-        throws XmlException
-    {
-        super(obj, property, result);
-
-        type = (SoapArrayRuntimeBindingType)getActualRuntimeBindingType();
-        arrayLength = getArrayLength(obj);
-    }
-
-    private static int getArrayLength(Object obj)
-    {
-        if (obj == null) return 0;
-
-        return Array.getLength(obj);
-    }
-
-    protected int getState()
-    {
-        assert currIndex <= arrayLength; //ensure we don't go past the end
-
-        if (currIndex < 0) return START;
-
-        if (currIndex >= arrayLength) return END;
-
-        return CONTENT;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        assert currIndex < arrayLength; //ensure we don't go past the end
-
-        do {
-            currIndex++;
-            if (currIndex == arrayLength) return END;
-        }
-        while (!currentItemHasValue());
-
-
-        assert currIndex >= 0;
-        assert (getState() == CONTENT);
-
-        return CONTENT;
-    }
-
-    private boolean currentItemHasValue()
-        throws XmlException
-    {
-        return type.getElementProperty().isSet(getParentObject(),
-                                               marshalResult,
-                                               currIndex);
-    }
-
-    private Object getCurrentValue()
-        throws XmlException
-    {
-        return type.getElementProperty().getValue(getParentObject(),
-                                                  marshalResult,
-                                                  currIndex);
-    }
-
-    public XmlTypeVisitor getCurrentChild()
-        throws XmlException
-    {
-        final Object value = getCurrentValue();
-        //TODO: avoid excessive object creation
-        return marshalResult.createVisitor(type.getElementProperty(), value);
-    }
-
-    protected CharSequence getCharData()
-    {
-        throw new IllegalStateException("not text: " + this);
-    }
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        if (getParentObject() == null) {
-            marshalResult.addXsiNilAttribute();
-        } else if (needsXsiType()) {
-            marshalResult.addXsiTypeAttribute(getActualRuntimeBindingType());
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayUnmarshaller.java
deleted file mode 100644
index a823e64..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapArrayUnmarshaller.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-public class SoapArrayUnmarshaller
-    implements TypeUnmarshaller
-{
-    private final SoapArrayRuntimeBindingType type;
-
-
-    public SoapArrayUnmarshaller(SoapArrayRuntimeBindingType rtt)
-    {
-        type = rtt;
-    }
-
-    public Object unmarshal(UnmarshalResult result)
-        throws XmlException
-    {
-        final Object inter = type.createIntermediary();
-        deserializeContents(inter, result);
-        return type.getFinalObjectFromIntermediary(inter);
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("UNIMP!!");
-    }
-
-    private void deserializeContents(Object inter,
-                                     UnmarshalResult context)
-        throws XmlException
-    {
-        throw new AssertionError("UNIMP");
-    }
-
-
-    public Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapMarshallerImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapMarshallerImpl.java
deleted file mode 100644
index c221f6e..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapMarshallerImpl.java
+++ /dev/null
@@ -1,450 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.EncodingStyle;
-import org.apache.xmlbeans.SoapMarshaller;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-import org.apache.xmlbeans.impl.marshal.util.collections.EmptyIterator;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import java.util.Iterator;
-
-//this class is not thread safe and doesn't have to be per javadocs
-
-final class SoapMarshallerImpl
-    implements SoapMarshaller
-{
-    //per binding context constants
-    private final BindingLoader loader;
-    private final RuntimeBindingTypeTable typeTable;
-    private final EncodingStyle encodingStyle;
-    private final InstanceVisitor instanceVisitor = new InstanceVisitor();
-
-    private ObjectRefTable objectRefTable;
-
-
-    SoapMarshallerImpl(BindingLoader loader,
-                       RuntimeBindingTypeTable typeTable,
-                       EncodingStyle encodingStyle)
-    {
-        this.loader = loader;
-        this.typeTable = typeTable;
-        this.encodingStyle = encodingStyle;
-    }
-
-
-    public void marshalType(XMLStreamWriter writer,
-                            Object obj,
-                            QName elementName,
-                            QName schemaType,
-                            String javaType,
-                            XmlOptions options)
-        throws XmlException
-    {
-        final RuntimeGlobalProperty prop =
-            createGlobalProperty(schemaType, javaType, elementName, obj);
-
-        if (prop.getRuntimeBindingType().hasElementChildren()) {
-            objectRefTable = new ObjectRefTable();
-        }
-
-        final PushSoapMarshalResult result =
-            createPushSoapResult(writer, options);
-
-        RuntimeBindingType actual_rtt = prop.getActualRuntimeType(obj, result);
-        addObjectGraphToRefTable(obj, prop, actual_rtt, result);
-
-        result.marshalType(obj, prop, actual_rtt);
-
-    }
-
-    private RuntimeGlobalProperty createGlobalProperty(QName schemaType, String javaType, QName elementName, Object obj) throws XmlException
-    {
-        final BindingType btype =
-            MarshallerImpl.lookupBindingType(schemaType, javaType,
-                                             elementName, obj, loader);
-
-        assert btype != null;
-
-        final RuntimeBindingType runtime_type =
-            typeTable.createRuntimeType(btype, loader);
-
-        runtime_type.checkInstance(obj);
-
-        RuntimeGlobalProperty prop =
-            new RuntimeGlobalProperty(elementName, runtime_type);
-        return prop;
-    }
-
-    private PushSoapMarshalResult createPushSoapResult(XMLStreamWriter writer,
-                                                       XmlOptions options)
-        throws XmlException
-    {
-        final PushSoapMarshalResult result;
-        if (EncodingStyle.SOAP11.equals(encodingStyle)) {
-            result = new PushSoap11MarshalResult(loader,
-                                                 typeTable,
-                                                 writer,
-                                                 options,
-                                                 objectRefTable);
-        } else if (EncodingStyle.SOAP12.equals(encodingStyle)) {
-            throw new AssertionError("UNIMP");
-        } else {
-            throw new AssertionError("UNKNOWN ENCODING: " + encodingStyle);
-        }
-        return result;
-    }
-
-    public void marshalReferenced(XMLStreamWriter writer,
-                                  XmlOptions options)
-        throws XmlException
-    {
-        if (objectRefTable == null || !objectRefTable.hasMultiplyRefdObjects())
-            return;
-
-        final PushSoapMarshalResult result =
-            createPushSoapResult(writer, options);
-        result.writeIdParts();
-    }
-
-    public XMLStreamReader marshalType(Object obj,
-                                       QName elementName,
-                                       QName schemaType,
-                                       String javaType,
-                                       XmlOptions options)
-        throws XmlException
-    {
-        final RuntimeGlobalProperty prop =
-            createGlobalProperty(schemaType, javaType, elementName, obj);
-
-        if (prop.getRuntimeBindingType().hasElementChildren()) {
-            objectRefTable = new ObjectRefTable();
-        }
-
-        final NamespaceContext nscontext =
-            MarshallerImpl.getNamespaceContextFromOptions(options);
-        final PullSoapMarshalResult retval =
-            createPullMarshalResult(nscontext, prop, obj, options, false);
-
-        addObjectGraphToRefTable(obj, prop,
-                                 prop.getActualRuntimeType(obj, retval),
-                                 retval);
-
-        return retval;
-    }
-
-    private PullSoapMarshalResult createPullMarshalResult(NamespaceContext nscontext,
-                                                          RuntimeBindingProperty prop,
-                                                          Object obj,
-                                                          XmlOptions options,
-                                                          boolean doing_id_parts)
-        throws XmlException
-    {
-        final PullSoapMarshalResult retval;
-
-        if (EncodingStyle.SOAP11.equals(encodingStyle)) {
-            retval = new Soap11MarshalResult(loader, typeTable,
-                                             nscontext, prop, obj, options,
-                                             objectRefTable, doing_id_parts);
-        } else if (EncodingStyle.SOAP12.equals(encodingStyle)) {
-            throw new AssertionError("UNIMP");
-        } else {
-            throw new AssertionError("UNKNOWN ENCODING: " + encodingStyle);
-        }
-        return retval;
-    }
-
-    private void addObjectGraphToRefTable(Object obj,
-                                          RuntimeBindingProperty prop,
-                                          RuntimeBindingType actual_rtt,
-                                          MarshalResult result)
-        throws XmlException
-    {
-        if (objectRefTable == null) return;
-
-        //traverse graph...
-        instanceVisitor.setCurrObject(obj, prop);
-        instanceVisitor.setMarshalResult(result);
-        actual_rtt.accept(instanceVisitor);
-    }
-
-    public Iterator marshalReferenced(XmlOptions options)
-        throws XmlException
-    {
-        if (objectRefTable == null || !objectRefTable.hasMultiplyRefdObjects())
-            return EmptyIterator.getInstance();
-
-        return new ReaderIterator(options);
-    }
-
-    private final class ReaderIterator
-        implements Iterator
-    {
-        private final XmlOptions options;
-        private final NamespaceContext nscontext;
-        private final Iterator tblItr = objectRefTable.getMultipleRefTableEntries();
-        private PullSoapMarshalResult marshalResult;
-
-        public ReaderIterator(XmlOptions options)
-        {
-            this.options = options;
-            nscontext = MarshallerImpl.getNamespaceContextFromOptions(options);
-        }
-
-        public boolean hasNext()
-        {
-            return tblItr.hasNext();
-        }
-
-        public Object next()
-        {
-            final ObjectRefTable.Value cur_val =
-                (ObjectRefTable.Value)tblItr.next();
-            assert cur_val.getCnt() > 1;
-
-            try {
-                if (marshalResult == null) {
-                    marshalResult = createPullMarshalResult(nscontext,
-                                                            cur_val.getProp(),
-                                                            cur_val.object,
-                                                            options, true);
-                } else {
-                    marshalResult.reset(cur_val.getProp(), cur_val.object, true);
-                }
-                return marshalResult;
-            }
-            catch (XmlException e) {
-                //TODO: REVIEW: is there a better way to do this?
-                //maybe write out own typesafe iterator...
-                throw new XmlRuntimeException(e);
-            }
-
-        }
-
-        public void remove()
-        {
-            throw new UnsupportedOperationException();
-        }
-
-    }
-
-
-    //NOTE that each call into a visit method should be done with
-    //the actual runtime type
-
-    private final class InstanceVisitor
-        implements RuntimeTypeVisitor
-    {
-        private Object currObject;
-        private RuntimeBindingProperty currProp;
-        private MarshalResult marshalResult;
-
-        public void setCurrObject(Object obj,
-                                  RuntimeBindingProperty prop)
-        {
-            this.currObject = obj;
-            this.currProp = prop;
-        }
-
-        public void setMarshalResult(MarshalResult marshalResult)
-        {
-            this.marshalResult = marshalResult;
-        }
-
-        public void visit(BuiltinRuntimeBindingType builtinRuntimeBindingType)
-            throws XmlException
-        {
-            firstVisit(currObject, currProp, builtinRuntimeBindingType);
-            //no element children so we are finished.
-        }
-
-        public void visit(AnyTypeRuntimeBindingType builtinRuntimeBindingType)
-            throws XmlException
-        {
-            if (currObject == null)
-                return;
-
-            //we didn't find anything better than the any type
-            final String msg = "unknown type: " + currObject.getClass() +
-                " for property " + currProp;
-            marshalResult.addError(msg);
-            return;
-        }
-
-        public void visit(ByNameRuntimeBindingType byNameRuntimeBindingType)
-            throws XmlException
-        {
-            final Object curr_obj = currObject;
-            final RuntimeBindingProperty curr_prop = currProp;
-
-            if (firstVisit(curr_obj, curr_prop, byNameRuntimeBindingType)) {
-                return;
-            }
-
-            final int elem_cnt =
-                byNameRuntimeBindingType.getElementPropertyCount();
-            for (int i = 0; i < elem_cnt; i++) {
-                final RuntimeBindingProperty prop =
-                    byNameRuntimeBindingType.getElementProperty(i);
-
-                if (prop.getRuntimeBindingType().isJavaPrimitive()) continue;
-                if (!prop.isSet(curr_obj, marshalResult)) continue;
-
-                final Object prop_val = prop.getValue(curr_obj, marshalResult);
-                if (prop.isMultiple()) {
-                    //NOTE: we don't add the array itself becuase there is no
-                    //actual element on which to put the id or href attribute.
-                    final Iterator itr = ArrayUtils.getCollectionIterator(prop_val);
-                    while (itr.hasNext()) {
-                        visitProp(itr.next(), prop, curr_obj, curr_prop);
-                    }
-                } else {
-                    visitProp(prop_val, prop, curr_obj, curr_prop);
-                }
-            }
-        }
-
-        private void visitProp(final Object prop_val,
-                               final RuntimeBindingProperty prop,
-                               final Object curr_obj,
-                               final RuntimeBindingProperty curr_prop)
-            throws XmlException
-        {
-            setCurrObject(prop_val, prop);
-            RuntimeBindingType rtt = prop.getRuntimeBindingType();
-            if (rtt.hasElementChildren()) {
-                prop.getActualRuntimeType(prop_val, marshalResult).accept(this);
-            } else {
-                rtt.accept(this);
-            }
-            setCurrObject(curr_obj, curr_prop);
-        }
-
-        public void visit(SimpleContentRuntimeBindingType simpleContentRuntimeBindingType)
-            throws XmlException
-        {
-            firstVisit(currObject, currProp, simpleContentRuntimeBindingType);
-            //no element children so we are finished.
-        }
-
-        public void visit(SimpleRuntimeBindingType simpleRuntimeBindingType)
-            throws XmlException
-        {
-            firstVisit(currObject, currProp, simpleRuntimeBindingType);
-            //no element children so we are finished.
-        }
-
-        public void visit(JaxrpcEnumRuntimeBindingType jaxrpcEnumRuntimeBindingType)
-            throws XmlException
-        {
-            firstVisit(currObject, currProp, jaxrpcEnumRuntimeBindingType);
-            //no element children so we are finished.
-        }
-
-        public void visit(WrappedArrayRuntimeBindingType wrappedArrayRuntimeBindingType)
-            throws XmlException
-        {
-            final Object curr_obj = currObject;
-            final RuntimeBindingProperty curr_prop = currProp;
-
-            if (firstVisit(curr_obj, curr_prop, wrappedArrayRuntimeBindingType)) {
-                return;
-            }
-
-            final RuntimeBindingProperty elem_prop =
-                wrappedArrayRuntimeBindingType.getElementProperty();
-
-            if (elem_prop.getRuntimeBindingType().isJavaPrimitive()) return;
-
-
-            //REVIEW: consider direct array access
-            final Iterator itr = ArrayUtils.getCollectionIterator(curr_obj);
-            while (itr.hasNext()) {
-                final Object item = itr.next();
-                setCurrObject(item, elem_prop);
-                elem_prop.getActualRuntimeType(item, marshalResult).accept(this);
-            }
-            setCurrObject(curr_obj, curr_prop);
-        }
-
-        public void visit(SoapArrayRuntimeBindingType soapArrayRuntimeBindingType)
-            throws XmlException
-        {
-            final Object curr_obj = currObject;
-            final RuntimeBindingProperty curr_prop = currProp;
-
-            if (firstVisit(curr_obj, curr_prop, soapArrayRuntimeBindingType)) {
-                return;
-            }
-
-            final RuntimeBindingProperty elem_prop =
-                soapArrayRuntimeBindingType.getElementProperty();
-
-            if (elem_prop.getRuntimeBindingType().isJavaPrimitive()) return;
-
-
-            throw new AssertionError("UNIMP");
-
-
-//
-//            //REVIEW: consider direct array access
-//            final Iterator itr = ArrayUtils.getCollectionIterator(curr_obj);
-//            while (itr.hasNext()) {
-//                final Object item = itr.next();
-//                setCurrObject(item, elem_prop);
-//                elem_prop.getActualRuntimeType(item, marshalResult).accept(this);
-//            }
-//
-//
-
-
-            //setCurrObject(curr_obj, curr_prop);
-        }
-
-        public void visit(ListArrayRuntimeBindingType listArrayRuntimeBindingType)
-            throws XmlException
-        {
-            firstVisit(currObject, currProp, listArrayRuntimeBindingType);
-            //no element children so we are finished.
-        }
-
-        //return true if we should stop processing!
-        private boolean firstVisit(Object obj,
-                                   RuntimeBindingProperty property,
-                                   final RuntimeBindingType actual_rtt)
-
-        {
-            final boolean needs_xsi_type =
-                (actual_rtt != property.getRuntimeBindingType());
-
-            //TODO: consider adding actual_rtt to ref table so we don't have
-            //to calc it again
-
-            return objectRefTable.incrementRefCount(obj, property, needs_xsi_type) > 1;
-        }
-
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshalResult.java
deleted file mode 100644
index 003d90b..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshalResult.java
+++ /dev/null
@@ -1,406 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.ObjectFactory;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExtImpl;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.util.ArrayList;
-import java.util.IdentityHashMap;
-import java.util.List;
-
-abstract class SoapUnmarshalResult
-    extends UnmarshalResult
-{
-    private final SoapAttributeHolder soapAttributeHolder =
-        new SoapAttributeHolder();
-    private final RefObjectTable refObjectTable;
-    private final StreamRefNavigator streamRefNavigator;
-    private List fillEvents;
-    private IdentityHashMap interToFinalMap;
-
-    SoapUnmarshalResult(BindingLoader loader,
-                        RuntimeBindingTypeTable typeTable,
-                        RefObjectTable refObjectTable,
-                        StreamRefNavigator refNavigator,
-                        XmlOptions options)
-    {
-        super(loader, typeTable, options);
-        this.refObjectTable = refObjectTable;
-        assert refNavigator != null;
-        this.streamRefNavigator = refNavigator;
-    }
-
-    protected XMLStreamReader getValidatingStream(XMLStreamReader reader)
-    {
-        return reader;
-    }
-
-    protected XMLStreamReader getValidatingStream(QName schemaType,
-                                                  XMLStreamReader reader)
-        throws XmlException
-    {
-        return reader;
-    }
-
-    protected Object unmarshalBindingType(BindingType bindingType)
-        throws XmlException
-    {
-        updateSoapAttributes();
-
-        {
-            final String ref = soapAttributeHolder.ref;
-            if (ref != null) {
-                baseReader = relocateStreamToRef(ref);
-                updateSoapAttributes();
-            }
-        }
-
-        updateAttributeState();
-
-        final TypeUnmarshaller um;
-        final ObjectFactory of = extractObjectFactory();
-
-        Object retval;
-
-        try {
-            final RuntimeBindingType rtt = getRuntimeType(bindingType);
-            if (of == null) {
-                if (hasXsiNil())
-                    um = NullUnmarshaller.getInstance();
-                else
-                    um = rtt.getUnmarshaller();
-                retval = um.unmarshal(this);
-            } else {
-                final Object initial_obj = of.createObject(rtt.getJavaType());
-                um = rtt.getUnmarshaller();
-                final Object inter = rtt.createIntermediary(this, initial_obj);
-                um.unmarshalIntoIntermediary(inter, this);
-                retval = rtt.getFinalObjectFromIntermediary(inter, this);
-            }
-        }
-        catch (InvalidLexicalValueException ilve) {
-            //top level simple types can end up here for invalid lexical values
-            assert !errors.isEmpty();
-            retval = null;
-        }
-
-        fireFillEvents();
-
-        return retval;
-    }
-
-    private void fireFillEvents()
-
-    {
-        if (fillEvents == null || fillEvents.isEmpty()) return;
-
-        for (int i = 0, len = fillEvents.size(); i < len; i++) {
-            final FillEvent event = (FillEvent)fillEvents.get(i);
-            final Object prop_val = refObjectTable.getObjectForRef(event.ref);
-            assert prop_val != null; //TODO: unmask null values
-
-            event.prop.fill(getFinalObjForInter(event.inter),
-                            event.index, prop_val);
-        }
-    }
-
-    private Object getFinalObjForInter(Object inter)
-    {
-        assert interToFinalMap != null;
-        final Object final_obj = interToFinalMap.get(inter);
-        assert final_obj != null;
-        return final_obj;
-    }
-
-
-    void extractAndFillElementProp(final RuntimeBindingProperty prop,
-                                   Object inter)
-        throws XmlException
-    {
-        assert baseReader != null;
-
-        final XMLStreamReaderExt curr_reader = baseReader;
-
-        if (!processRef(prop, inter)) {
-            basicExtractAndFill(prop, inter);
-        }
-
-        if (baseReader != curr_reader) {
-            baseReader = curr_reader;
-            skipElement();
-        }
-    }
-
-    //beware this method  has side effects.
-    //returns true iff this method filled the prop value (from ref cache).
-    private boolean processRef(final RuntimeBindingProperty prop,
-                               final Object inter)
-        throws XmlException
-    {
-        updateSoapAttributes();
-
-        final String ref = soapAttributeHolder.ref;
-        if (ref == null) return false;
-
-        final RefObjectTable.RefEntry entry = refObjectTable.getEntryForRef(ref);
-
-        //TODO: cleanup all the null checking...
-        //TODO: mask null values in refObjectTable
-
-        final Object tmpval = entry == null ? null : entry.final_obj;
-        if (tmpval == null) {
-            final Object tmp_inter = entry == null ? null : entry.inter;
-            if (tmp_inter == null) {
-                baseReader = relocateStreamToRef(ref);
-                updateSoapAttributes();
-                updateAttributeState();
-                return false;
-            } else {
-                enqueueFillEvent(inter, ref, prop);
-                prop.fillPlaceholder(inter);
-                skipElement();
-                return true;
-            }
-        } else {
-            prop.fill(inter, tmpval);
-            skipElement();
-            return true;
-        }
-    }
-
-    private void enqueueFillEvent(Object inter,
-                                  String ref,
-                                  RuntimeBindingProperty prop)
-    {
-        if (fillEvents == null) {
-            fillEvents = new ArrayList();
-        }
-        fillEvents.add(new FillEvent(ref, prop, prop.getSize(inter), inter));
-    }
-
-    private void basicExtractAndFill(RuntimeBindingProperty prop,
-                                     Object inter)
-        throws XmlException
-    {
-        try {
-            final Object this_val =
-                unmarshalElementProperty(prop, inter);
-
-            prop.fill(inter, this_val);
-        }
-        catch (InvalidLexicalValueException ilve) {
-            //unlike attributes, the error has been added to the this
-            //already via BaseSimpleTypeConveter...
-        }
-    }
-
-    private XMLStreamReaderExt relocateStreamToRef(String ref)
-        throws XmlException
-    {
-        assert streamRefNavigator != null;
-
-        final XMLStreamReader reader = streamRefNavigator.lookupRef(ref);
-
-        if (reader == null) {
-            //TODO: better error handling in this case!!
-            throw new XmlException("failed to deref " + ref);
-        }
-
-        return new XMLStreamReaderExtImpl(reader);
-    }
-
-    private void updateSoapAttributes()
-        throws XmlException
-    {
-        final QName idname = getIdAttributeName();
-        final QName refname = getRefAttributeName();
-
-        //for perf, we assume that the id and ref attributes are
-        //in the same namespace.  This is true for soap 1.1 and 1.2
-        assert idname.getNamespaceURI().equals(refname.getNamespaceURI());
-
-        final String soap_uri = idname.getNamespaceURI();
-        assert soap_uri != null;
-        final String id_lname = idname.getLocalPart();
-        final String ref_lname = refname.getLocalPart();
-
-        final XMLStreamReaderExt reader = baseReader;
-
-        assert reader.isStartElement() :
-            " illegal state: " + XmlStreamUtils.printEvent(reader);
-
-        soapAttributeHolder.clear();
-
-
-        final int att_cnt = reader.getAttributeCount();
-        for (int att_idx = 0; att_idx < att_cnt; att_idx++) {
-            final String uri = reader.getAttributeNamespace(att_idx);
-            if (!soap_uri.equals(uri == null ? "" : uri))
-                continue;
-
-            try {
-                final String lname = reader.getAttributeLocalName(att_idx);
-                if (id_lname.equals(lname)) {
-                    String attval =
-                        reader.getAttributeStringValue(att_idx,
-                                                       XmlWhitespace.WS_COLLAPSE);
-                    soapAttributeHolder.id = getIdFromAttributeValue(attval);
-                    return; //no point in looking at the rest of the attributes
-                } else if (ref_lname.equals(lname)) {
-                    String attval =
-                        reader.getAttributeStringValue(att_idx,
-                                                       XmlWhitespace.WS_COLLAPSE);
-                    soapAttributeHolder.ref =
-                        getReferencedIdFromAttributeValue(attval);
-                    return; //no point in looking at the rest of the attributes
-                }
-            }
-
-                //nothing should have been assigned, so keep going
-            catch (InvalidLexicalValueException ilve) {
-                addError(ilve.getMessage(), ilve.getLocation());
-            }
-            catch (XMLStreamException e) {
-                throw new XmlException(e);
-            }
-        }
-
-    }
-
-
-    /**
-     * extract ref'd id from attribute value.
-     *
-     * E.g. for soap 1.1, given "#ID_10", will return "ID_10"
-     *
-     * @param attval
-     * @return
-     * @throws InvalidLexicalValueException  for bad ref
-     */
-    protected abstract String getReferencedIdFromAttributeValue(String attval);
-
-    protected abstract String getIdFromAttributeValue(String attval);
-
-    protected abstract QName getIdAttributeName();
-
-    protected abstract QName getRefAttributeName();
-
-    private Object unmarshalElementProperty(RuntimeBindingProperty prop,
-                                            Object inter)
-        throws XmlException
-    {
-        final RuntimeBindingType actual_rtt =
-            this.determineActualRuntimeType(prop.getRuntimeBindingType());
-        {
-            final String lexical_default = prop.getLexicalDefault();
-            if (lexical_default != null) {
-                setNextElementDefault(lexical_default);
-            }
-        }
-
-        final String id = soapAttributeHolder.id;
-
-        final Object this_val;
-
-        if (!hasXsiNil() && actual_rtt.hasElementChildren()) {
-            final Object prop_inter = prop.createIntermediary(inter, actual_rtt, this);
-            final boolean update_again = updateRefTable(actual_rtt, prop_inter, id);
-            actual_rtt.getUnmarshaller().unmarshalIntoIntermediary(prop_inter, this);
-            this_val = actual_rtt.getFinalObjectFromIntermediary(prop_inter, this);
-            interToFinalMap().put(prop_inter, this_val);
-            if (update_again) {
-                refObjectTable.putObjectForRef(id, this_val);
-            }
-        } else {
-            TypeUnmarshaller um = getUnmarshaller(actual_rtt);
-            this_val = um.unmarshal(this);
-            if (id != null) {
-                refObjectTable.putForRef(id, this_val, this_val);
-            }
-        }
-        return this_val;
-    }
-
-    private IdentityHashMap interToFinalMap()
-    {
-        if (interToFinalMap == null) {
-            interToFinalMap = new IdentityHashMap();
-        }
-        return interToFinalMap;
-    }
-
-    private boolean updateRefTable(RuntimeBindingType actual_rtt,
-                                   Object prop_inter,
-                                   String id)
-    {
-        boolean update_again = false;
-        if (id != null) {
-            if (actual_rtt.isObjectFromIntermediateIdempotent()) {
-                refObjectTable.putForRef(id,
-                                         prop_inter,
-                                         actual_rtt.getObjectFromIntermediate(prop_inter));
-            } else {
-                refObjectTable.putIntermediateForRef(id, prop_inter);
-                update_again = true;
-            }
-        }
-        return update_again;
-    }
-
-
-    private static final class SoapAttributeHolder
-    {
-        String id;
-        String ref;
-
-        void clear()
-        {
-            id = null;
-            ref = null;
-        }
-    }
-
-
-    private static final class FillEvent
-    {
-        final String ref;
-        final RuntimeBindingProperty prop;
-        final int index;
-        final Object inter;
-
-        public FillEvent(String ref, RuntimeBindingProperty prop, int index, Object inter)
-        {
-            this.ref = ref;
-            this.prop = prop;
-            this.index = index;
-            this.inter = inter;
-        }
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshallerImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshallerImpl.java
deleted file mode 100644
index efb787f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/SoapUnmarshallerImpl.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.EncodingStyle;
-import org.apache.xmlbeans.SoapUnmarshaller;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.marshal.util.AttrCache;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.w3c.dom.Node;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-final class SoapUnmarshallerImpl
-    implements SoapUnmarshaller, StreamRefNavigator
-
-{
-    private final BindingLoader bindingLoader;
-    private final RuntimeBindingTypeTable typeTable;
-    private final EncodingStyle encodingStyle;
-    private final RefObjectTable refObjectTable = new RefObjectTable();
-    private final Node referenceRoot;
-    private AttrCache attrCache;
-
-
-    SoapUnmarshallerImpl(BindingLoader loader,
-                         RuntimeBindingTypeTable typeTable,
-                         EncodingStyle encodingStyle,
-                         Node reference_root)
-    {
-        assert loader != null;
-        assert typeTable != null;
-        assert encodingStyle != null;
-        assert reference_root != null;
-
-        this.bindingLoader = loader;
-        this.typeTable = typeTable;
-        this.encodingStyle = encodingStyle;
-        this.referenceRoot = reference_root;
-    }
-
-    public Object unmarshalType(XMLStreamReader reader,
-                                QName schemaType,
-                                String javaType,
-                                XmlOptions options)
-        throws XmlException
-    {
-
-        if (reader == null) throw new IllegalArgumentException("null reader");
-        if (schemaType == null) throw new IllegalArgumentException("null schemaType");
-        if (javaType == null) throw new IllegalArgumentException("null javaType");
-        if (!reader.isStartElement()) {
-            throw new IllegalStateException("reader must be positioned on a start element");
-        }
-
-        final SoapUnmarshalResult result = createMarshalResult(options);
-        return result.unmarshalType(reader, schemaType, javaType);
-    }
-
-    private SoapUnmarshalResult createMarshalResult(XmlOptions options)
-    {
-        SoapUnmarshalResult result;
-        if (EncodingStyle.SOAP11 == encodingStyle) {
-            result = new Soap11UnmarshalResult(bindingLoader, typeTable,
-                                               refObjectTable, this,
-                                               options);
-        } else if (EncodingStyle.SOAP12 == encodingStyle) {
-            throw new AssertionError("soap 12 UNIMP: " + encodingStyle);
-        } else {
-            throw new AssertionError("unknown encoding style: " + encodingStyle);
-        }
-        return result;
-    }
-
-    private QName getIdQName()
-    {
-
-        if (EncodingStyle.SOAP11 == encodingStyle) {
-            return Soap11Constants.ID_NAME;
-        } else if (EncodingStyle.SOAP12 == encodingStyle) {
-            throw new AssertionError("soap 12 is unimplemented");
-        } else {
-            throw new AssertionError("unknown encoding style: " + encodingStyle);
-        }
-
-    }
-
-    public XMLStreamReader lookupRef(String ref)
-        throws XmlException
-    {
-        if (attrCache == null) {
-            attrCache = new AttrCache(referenceRoot, getIdQName());
-        }
-        final Node target_node = attrCache.lookup(ref);
-        if (target_node == null) {
-            return null;
-        }
-
-        assert target_node.getNodeType() == Node.ELEMENT_NODE;
-
-        final XMLStreamReader target_stream = Public2.getStream(target_node);
-        assert target_stream.isStartElement();
-
-        return target_stream;
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StreamRefNavigator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StreamRefNavigator.java
deleted file mode 100644
index 4b905b6..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StreamRefNavigator.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.stream.XMLStreamReader;
-
-public interface StreamRefNavigator
-{
-
-    /**
-     *
-     * @param ref
-     * @return  null if unable to locate reference, else reader at target node
-     * @throws XmlException
-     */
-    XMLStreamReader lookupRef(String ref)
-        throws XmlException;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringListArrayConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringListArrayConverter.java
deleted file mode 100644
index 4004109..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringListArrayConverter.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.marshal.util.collections.StringList;
-
-final class StringListArrayConverter
-    extends BaseSimpleTypeConverter
-{
-    private static final Class STR_ARRAY_TYPE = (new String[0]).getClass();
-
-    private static final char SPACE = ' ';
-
-    //could get more clever here but probably not worth the trouble.
-    private static final TypeUnmarshaller STR_UNMARSHALLER =
-        new StringTypeConverter();
-
-
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        //TODO: process based on CharSequence...
-        final String str = context.getStringValue();
-
-        return ListArrayConverter.unmarshalListString(new StringList(),
-                                                      str,
-                                                      STR_UNMARSHALLER,
-                                                      context);
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        final String str = context.getAttributeStringValue();
-
-        return ListArrayConverter.unmarshalListString(new StringList(),
-                                                      str,
-                                                      STR_UNMARSHALLER,
-                                                      context);
-
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-
-        return ListArrayConverter.unmarshalListString(new StringList(),
-                                                      lexical_value.toString(),
-                                                      STR_UNMARSHALLER,
-                                                      result);
-    }
-
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        String[] val = (String[])value;
-        final int alen = val.length;
-
-        if (alen == 0) return "";
-
-        StringBuffer buf = new StringBuffer();
-        buf.append(val[0]);
-
-        for (int i = 1; i < alen; i++) {
-            buf.append(SPACE);
-            buf.append(val[i]);
-        }
-
-        return buf;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringTypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringTypeConverter.java
deleted file mode 100644
index 7549792..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/StringTypeConverter.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-class StringTypeConverter
-    extends BaseSimpleTypeConverter
-{
-    protected Object getObject(UnmarshalResult context) throws XmlException
-    {
-        return context.getStringValue();
-    }
-
-    public Object unmarshalAttribute(UnmarshalResult context) throws XmlException
-    {
-        return context.getAttributeStringValue();
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        return XsTypeConverter.lexString(lexical_value);
-    }
-
-    //non simple types can throw a runtime exception
-    public CharSequence print(Object value, MarshalResult result)
-    {
-        assert value instanceof String : "expected String type, not " + value.getClass();
-        String val = (String)value;
-        return XsTypeConverter.printString(val);
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TylarSchemaTypeLoaderProvider.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TylarSchemaTypeLoaderProvider.java
deleted file mode 100644
index 0bff439..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TylarSchemaTypeLoaderProvider.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.tylar.Tylar;
-
-import java.io.IOException;
-
-final class TylarSchemaTypeLoaderProvider
-    implements SchemaTypeLoaderProvider
-{
-    private final Tylar tylar;
-    private SchemaTypeLoader schemaTypeLoader; //cached result
-
-    TylarSchemaTypeLoaderProvider(Tylar tylar)
-    {
-        this.tylar = tylar;
-    }
-
-    public SchemaTypeLoader getSchemaTypeLoader()
-        throws XmlException
-    {
-        if (schemaTypeLoader == null) {
-            try {
-                schemaTypeLoader = tylar.getSchemaTypeLoader();
-            }
-            catch (IOException ioe) {
-                throw new XmlException(ioe);
-            }
-            catch (XmlException xe) {
-                throw new XmlException(xe);
-            }
-        }
-        assert schemaTypeLoader != null;
-        return schemaTypeLoader;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeConverter.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeConverter.java
deleted file mode 100644
index 089a8d5..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeConverter.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-/**
- * convenience union of the marshalling and umarshalling interfaces
- */
-interface TypeConverter
-    extends TypeUnmarshaller, TypeMarshaller
-{
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeMarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeMarshaller.java
deleted file mode 100644
index 7ab46d8..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeMarshaller.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-
-/**
- * A TypeMarshaller knows how to marshal a java object into xml.
- */
-interface TypeMarshaller
-{
-    //non simple types can throw a runtime exception
-    CharSequence print(Object value, MarshalResult result)
-        throws XmlException;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeUnmarshaller.java
deleted file mode 100644
index bbe2bdd..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/TypeUnmarshaller.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-/**
- * A TypeUnmarshaller knows how to unmarshal an xml
- * instance of a given BindingType
- *
- * All TypeUnmarshaller objects should be immutable.
- */
-interface TypeUnmarshaller
-{
-    /**
-     * Unmarshalls the current node in the xml into a java object.
-     * The UnmarshalResult must be pointing at the start element of the node
-     * to be unmarshalled (such that XmlStreamReader.isStarteElement()
-     * returns true).  The unmarshal method must consume the entire contents
-     * of that node including the matching end element.
-     *
-     * @param result  contains that state of the document unmarshal process
-     * @return  Object representing the converted xml
-     */
-    Object unmarshal(UnmarshalResult result)
-        throws XmlException;
-
-
-    /**
-     * unmarshal into an intermediate value.  required only for types that
-     * have element children.  used for soap unmarshalling
-     *
-     * @param intermediary
-     * @param result
-     */
-    void unmarshalIntoIntermediary(Object intermediary,
-                                   UnmarshalResult result)
-        throws XmlException;
-
-
-    /**
-     * unmarshal the lexical value of an instance of xsd:anySimpleType.
-     * This could be called on an attribute value or on element content.
-     *
-     * @param result
-     * @return Object representing java value of lexical
-     *
-     * @exception UnsupportedOperationException if the
-     *            <tt>unmarshalSimpleType</tt> operation is not supported
-     *            by this TypeUnmarshaller.
-     */
-    Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException;
-
-    /**
-     * unmarshal the lexical value of an instance of xsd:anySimpleType.
-     * This could be called on an attribute value or on element content.
-     *
-     * @param lexical_value  value to be unmarshalled
-     * @param result
-     * @return Object representing java value of lexical
-     *
-     * @exception UnsupportedOperationException if the
-     *            <tt>unmarshalSimpleType</tt> operation is not supported
-     *            by this TypeUnmarshaller.
-     */
-    Object unmarshalAttribute(CharSequence lexical_value,
-                              UnmarshalResult result)
-        throws XmlException;
-
-    /**
-     * unmarshal the lexical value of an instance of xsd:anySimpleType into an
-     * existing object.  This could be called on an attribute value
-     * or on element content.
-     *
-     * This method is optional and TypeUnmarshaller's for immutable
-     * types (e.g. java.lang.String) will throw UnsupportedOperationException
-     *
-     * @param object  Object who's value will be filled.
-     * @param result
-     *
-     * @exception UnsupportedOperationException if the
-     *            <tt>unmarshalSimpleType</tt> operation is not supported
-     *            by this TypeUnmarshaller.
-     */
-    void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException;
-
-
-    /**
-     * called once per object before first use.
-     *
-     * @param typeTable
-     * @param bindingLoader
-     */
-    void initialize(RuntimeBindingTypeTable typeTable,
-                    BindingLoader bindingLoader);
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshalResult.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshalResult.java
deleted file mode 100644
index 20cdee0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshalResult.java
+++ /dev/null
@@ -1,1051 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.ObjectFactory;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.bts.SimpleDocumentBinding;
-import org.apache.xmlbeans.impl.binding.bts.XmlTypeName;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExtImpl;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.InputStream;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.BitSet;
-import java.util.Collection;
-import java.util.Date;
-
-/**
- * An UnmarshalResult holds the mutable state using by an Unmarshaller
- * during unmarshalling.  Example contents are an id -> object table
- * for href processing, and the position in the xml document.
- *
- * The UnmarshalResult is purposefullly unsynchronized.
- * Only one thread should ever be accessing this object, and a new one will be
- * required for each unmarshalling pass.
- */
-abstract class UnmarshalResult
-{
-    //per binding context objects
-    private final BindingLoader bindingLoader;
-    private final RuntimeBindingTypeTable typeTable;
-
-    //our state
-    protected XMLStreamReaderExt baseReader;
-    protected final XmlOptions options;
-    protected final Collection errors;
-    private final XsiAttributeHolder xsiAttributeHolder =
-        new XsiAttributeHolder();
-    private boolean gotXsiAttributes;
-    private BitSet defaultAttributeBits;
-    private int currentAttributeIndex = INVALID;
-    private int currentAttributeCount = INVALID;
-
-    private static final int INVALID = -1;
-
-
-    UnmarshalResult(BindingLoader bindingLoader,
-                    RuntimeBindingTypeTable typeTable,
-                    XmlOptions options)
-    {
-        this.bindingLoader = bindingLoader;
-        this.typeTable = typeTable;
-        this.options = options;
-        this.errors = BindingContextImpl.extractErrorHandler(options);
-    }
-
-    protected RuntimeBindingType getRuntimeType(BindingType type)
-        throws XmlException
-    {
-        return typeTable.createRuntimeType(type, bindingLoader);
-    }
-
-    private void enrichXmlStream(XMLStreamReader reader)
-    {
-        assert reader != null;
-
-        baseReader = createExtendedReader(reader);
-        updateAttributeState();
-    }
-
-
-    private static XMLStreamReaderExt createExtendedReader(XMLStreamReader reader)
-    {
-        if (reader instanceof XMLStreamReaderExt) {
-            return (XMLStreamReaderExt)reader;
-        } else {
-            return new XMLStreamReaderExtImpl(reader);
-        }
-    }
-
-    private BindingType lookupBindingType(QName xsi_type)
-    {
-        XmlTypeName xname = XmlTypeName.forTypeNamed(xsi_type);
-        final BindingTypeName btname = bindingLoader.lookupPojoFor(xname);
-        if (btname == null) {
-            addError("unknown type: " + xsi_type);
-            return null;
-        }
-        final BindingType binding_type = bindingLoader.getBindingType(btname);
-        if (binding_type == null) {
-            addError("unknown binding type: " + binding_type);
-        }
-        return binding_type;
-    }
-
-
-    NamespaceContext getNamespaceContext()
-    {
-        return baseReader.getNamespaceContext();
-    }
-
-    private void addError(String msg)
-    {
-        addError(msg, baseReader.getLocation());
-    }
-
-    private void addWarning(String msg)
-    {
-        Location location = baseReader.getLocation();
-        assert location != null;
-        MarshalStreamUtils.addError(errors, msg,
-                                    XmlError.SEVERITY_WARNING,
-                                    location);
-    }
-
-
-    final void addError(String msg, Location location)
-    {
-        assert location != null;
-        MarshalStreamUtils.addError(errors, msg, location);
-    }
-
-    Collection getErrors()
-    {
-        return errors;
-    }
-
-    final Object unmarshalDocument(XMLStreamReader reader)
-        throws XmlException
-    {
-        enrichXmlStream(getValidatingStream(reader));
-        advanceToFirstItemOfInterest();
-        BindingType bindingType = determineRootType();
-        return unmarshalBindingType(bindingType);
-    }
-
-
-    protected Object unmarshalBindingType(BindingType bindingType)
-        throws XmlException
-    {
-        updateAttributeState();
-
-        final TypeUnmarshaller um;
-        final ObjectFactory of = extractObjectFactory();
-
-        try {
-            final RuntimeBindingType rtt = getRuntimeType(bindingType);
-            if (of == null) {
-                if (hasXsiNil())
-                    um = NullUnmarshaller.getInstance();
-                else
-                    um = rtt.getUnmarshaller();
-                return um.unmarshal(this);
-            } else {
-                final Object initial_obj = of.createObject(rtt.getJavaType());
-                um = rtt.getUnmarshaller();
-                final Object inter = rtt.createIntermediary(this, initial_obj);
-                um.unmarshalIntoIntermediary(inter, this);
-                return rtt.getFinalObjectFromIntermediary(inter, this);
-            }
-        }
-        catch (InvalidLexicalValueException ilve) {
-            //top level simple types can end up here for invalid lexical values
-            assert !errors.isEmpty();
-            return null;
-        }
-    }
-
-    protected ObjectFactory extractObjectFactory()
-    {
-        if (options == null) return null;
-
-        return
-            (ObjectFactory)options.get(XmlOptions.UNMARSHAL_INITIAL_OBJECT_FACTORY);
-    }
-
-    final Object unmarshalType(XMLStreamReader reader,
-                               QName schemaType,
-                               String javaType)
-        throws XmlException
-    {
-        doctorStream(schemaType, reader);
-
-        final QName xsi_type = getXsiType();
-
-        BindingType btype = null;
-
-        if (xsi_type != null) {
-            btype = getPojoTypeFromXsiType(xsi_type);
-        }
-
-        if (btype == null) {
-            btype = determineBindingType(schemaType, javaType);
-        }
-
-        if (btype == null) {
-            final String msg = "unable to find binding type for " +
-                schemaType + " : " + javaType;
-            throw new XmlException(msg);
-        }
-        return unmarshalBindingType(btype);
-    }
-
-    private void doctorStream(QName schemaType,
-                              XMLStreamReader reader)
-        throws XmlException
-    {
-        reader = getValidatingStream(schemaType, reader);
-        enrichXmlStream(reader);
-    }
-
-
-    protected abstract XMLStreamReader getValidatingStream(XMLStreamReader reader)
-        throws XmlException;
-
-    protected abstract XMLStreamReader getValidatingStream(QName schemaType,
-                                                           XMLStreamReader reader)
-        throws XmlException;
-
-
-    final Object unmarshalElement(XMLStreamReader reader,
-                                  QName globalElement,
-                                  String javaType)
-        throws XmlException
-    {
-        final BindingType binding_type =
-            determineTypeForGlobalElement(globalElement);
-        final XmlTypeName type_name = binding_type.getName().getXmlName();
-        assert type_name.isGlobal();
-        assert type_name.isSchemaType();
-        final QName schema_type = type_name.getQName();
-        doctorStream(schema_type, reader);
-
-        final QName xsi_type = getXsiType();
-
-        BindingType btype = null;
-
-        if (xsi_type != null) {
-            btype = getPojoTypeFromXsiType(xsi_type);
-        }
-
-        if (btype == null) {
-            btype = determineBindingType(schema_type, javaType);
-        }
-
-        if (btype == null) {
-            final String msg = "unable to find binding type for " +
-                schema_type + " : " + javaType;
-            throw new XmlException(msg);
-        }
-        return unmarshalBindingType(btype);
-    }
-
-
-    private BindingType determineBindingType(QName schemaType, String javaType)
-    {
-        XmlTypeName xname = XmlTypeName.forTypeNamed(schemaType);
-        JavaTypeName jname = JavaTypeName.forClassName(javaType);
-        BindingTypeName btname = BindingTypeName.forPair(jname, xname);
-        return bindingLoader.getBindingType(btname);
-    }
-
-    private BindingType determineRootType()
-        throws XmlException
-    {
-        QName xsi_type = this.getXsiType();
-
-        BindingType retval = null;
-        if (xsi_type != null) {
-            retval = getPojoTypeFromXsiType(xsi_type);
-        }
-
-        if (retval == null) {
-            QName root_elem_qname = new QName(this.getNamespaceURI(),
-                                              this.getLocalName());
-            retval = determineTypeForGlobalElement(root_elem_qname);
-        }
-
-        return retval;
-    }
-
-    private BindingType determineTypeForGlobalElement(QName elem)
-        throws XmlException
-    {
-        final XmlTypeName type_name =
-            XmlTypeName.forGlobalName(XmlTypeName.ELEMENT, elem);
-        BindingType doc_binding_type = getPojoBindingType(type_name, true);
-        SimpleDocumentBinding sd = (SimpleDocumentBinding)doc_binding_type;
-        return getPojoBindingType(sd.getTypeOfElement(), true);
-    }
-
-    //will return null on error and log errors
-    private BindingType getPojoTypeFromXsiType(QName xsi_type)
-        throws XmlException
-    {
-        final XmlTypeName type_name = XmlTypeName.forTypeNamed(xsi_type);
-        final BindingType pojoBindingType = getPojoBindingType(type_name, false);
-        assert !(pojoBindingType instanceof SimpleDocumentBinding);
-        return pojoBindingType;
-    }
-
-
-    private BindingType getPojoBindingType(final XmlTypeName type_name,
-                                           boolean fail_fast)
-        throws XmlException
-    {
-        final BindingTypeName btName = bindingLoader.lookupPojoFor(type_name);
-        if (btName == null) {
-            final String msg = "failed to load java type corresponding " +
-                "to " + type_name;
-            if (fail_fast) {
-                throw new XmlException(msg);
-            } else {
-                addError(msg);
-                return null;
-            }
-
-        }
-
-        BindingType bt = bindingLoader.getBindingType(btName);
-
-        if (bt == null) {
-            final String msg = "failed to load BindingType for " + btName;
-            if (fail_fast) {
-                throw new XmlException(msg);
-            } else {
-                addError(msg);
-                return null;
-            }
-        }
-
-        return bt;
-    }
-
-
-    // ======================= xml access methods =======================
-
-
-    Location getLocation()
-    {
-        return baseReader.getLocation();
-    }
-
-    String getStringValue() throws XmlException
-    {
-        try {
-            return baseReader.getStringValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    String getStringValue(int ws) throws XmlException
-    {
-        try {
-            return baseReader.getStringValue(ws);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    boolean getBooleanValue() throws XmlException
-    {
-        try {
-            return baseReader.getBooleanValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    byte getByteValue() throws XmlException
-    {
-        try {
-            return baseReader.getByteValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    short getShortValue() throws XmlException
-    {
-        try {
-            return baseReader.getShortValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    int getIntValue() throws XmlException
-    {
-        try {
-            return baseReader.getIntValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    long getLongValue() throws XmlException
-    {
-        try {
-            return baseReader.getLongValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    BigInteger getBigIntegerValue() throws XmlException
-    {
-        try {
-            return baseReader.getBigIntegerValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    BigDecimal getBigDecimalValue() throws XmlException
-    {
-        try {
-            return baseReader.getBigDecimalValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    float getFloatValue() throws XmlException
-    {
-        try {
-            return baseReader.getFloatValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    double getDoubleValue() throws XmlException
-    {
-        try {
-            return baseReader.getDoubleValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    InputStream getHexBinaryValue() throws XmlException
-    {
-        try {
-            return baseReader.getHexBinaryValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    InputStream getBase64Value() throws XmlException
-    {
-        try {
-            return baseReader.getBase64Value();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    XmlCalendar getCalendarValue() throws XmlException
-    {
-        try {
-            return baseReader.getCalendarValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    String getAnyUriValue() throws XmlException
-    {
-        try {
-            return baseReader.getStringValue(XMLStreamReaderExt.WS_COLLAPSE);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    Date getDateValue() throws XmlException
-    {
-        try {
-            final GDate val = baseReader.getGDateValue();
-            return val == null ? null : val.getDate();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    GDate getGDateValue() throws XmlException
-    {
-        try {
-            return baseReader.getGDateValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    GDuration getGDurationValue() throws XmlException
-    {
-        try {
-            return baseReader.getGDurationValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    QName getQNameValue() throws XmlException
-    {
-        try {
-            return baseReader.getQNameValue();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    String getAttributeStringValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeStringValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    String getAttributeStringValue(int whitespace_style)
-        throws XmlException
-    {
-        try {
-            return baseReader.getAttributeStringValue(currentAttributeIndex,
-                                                      whitespace_style);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    boolean getAttributeBooleanValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeBooleanValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    byte getAttributeByteValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeByteValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    short getAttributeShortValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeShortValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    int getAttributeIntValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeIntValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    long getAttributeLongValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeLongValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    BigInteger getAttributeBigIntegerValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeBigIntegerValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    BigDecimal getAttributeBigDecimalValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeBigDecimalValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    float getAttributeFloatValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeFloatValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    double getAttributeDoubleValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeDoubleValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    String getAttributeAnyUriValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeStringValue(currentAttributeIndex,
-                                                      XMLStreamReaderExt.WS_COLLAPSE);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    InputStream getAttributeHexBinaryValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeHexBinaryValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    InputStream getAttributeBase64Value() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeBase64Value(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    XmlCalendar getAttributeCalendarValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeCalendarValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    Date getAttributeDateValue() throws XmlException
-    {
-        try {
-            GDate val = baseReader.getAttributeGDateValue(currentAttributeIndex);
-            return val == null ? null : val.getDate();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    GDate getAttributeGDateValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeGDateValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    GDuration getAttributeGDurationValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeGDurationValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    QName getAttributeQNameValue() throws XmlException
-    {
-        try {
-            return baseReader.getAttributeQNameValue(currentAttributeIndex);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-
-    /**
-     * return the QName value found for xsi:type
-     * or null if neither one was found
-     */
-    protected QName getXsiType()
-        throws XmlException
-    {
-        if (!gotXsiAttributes) {
-            getXsiAttributes();
-        }
-        assert gotXsiAttributes;
-        return xsiAttributeHolder.xsiType;
-    }
-
-    protected final boolean hasXsiNil() throws XmlException
-    {
-        if (!gotXsiAttributes) {
-            getXsiAttributes();
-        }
-        assert gotXsiAttributes;
-        return xsiAttributeHolder.hasXsiNil;
-    }
-
-    private void getXsiAttributes() throws XmlException
-    {
-        try {
-            MarshalStreamUtils.getXsiAttributes(xsiAttributeHolder,
-                                                baseReader, errors);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-        gotXsiAttributes = true;
-    }
-
-    /**
-     *
-     * @return  false if we hit an end element (any end element at all)
-     */
-    final boolean advanceToNextStartElement()
-        throws XmlException
-    {
-        final boolean ret =
-            MarshalStreamUtils.advanceToNextStartElement(baseReader);
-
-
-        updateAttributeState();
-
-        //System.out.println("AT: " + XmlStreamUtils.printEvent(baseReader));
-
-        return ret;
-    }
-
-
-    private void advanceToFirstItemOfInterest()
-        throws XmlException
-    {
-        assert baseReader != null;
-        MarshalStreamUtils.advanceToFirstItemOfInterest(baseReader);
-    }
-
-    int next() throws XmlException
-    {
-        try {
-            final int new_state = baseReader.next();
-            if (new_state == XMLStreamReader.START_ELEMENT) {
-                updateAttributeState();
-            }
-            return new_state;
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    boolean hasNext() throws XmlException
-    {
-        try {
-            return baseReader.hasNext();
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-
-    protected final void updateAttributeState()
-    {
-        xsiAttributeHolder.reset();
-        gotXsiAttributes = false;
-        if (defaultAttributeBits != null) {
-            defaultAttributeBits.clear();
-        }
-
-        //TODO: in many calls to this method, we already know that
-        //we are on a start element...
-        if (baseReader.isStartElement()) {
-            currentAttributeCount = baseReader.getAttributeCount();
-            currentAttributeIndex = 0;
-        } else {
-            currentAttributeIndex = INVALID;
-            currentAttributeCount = INVALID;
-        }
-    }
-
-
-    boolean isStartElement()
-    {
-        return baseReader.isStartElement();
-    }
-
-    boolean isEndElement()
-    {
-        return baseReader.isEndElement();
-    }
-
-    private int getAttributeCount()
-    {
-        assert baseReader.isStartElement();
-
-        return baseReader.getAttributeCount();
-    }
-
-    String getLocalName()
-    {
-        return baseReader.getLocalName();
-    }
-
-    String getNamespaceURI()
-    {
-        return baseReader.getNamespaceURI();
-    }
-
-    final void skipElement()
-        throws XmlException
-    {
-        MarshalStreamUtils.skipElement(baseReader);
-        updateAttributeState();
-    }
-
-
-    final void advanceAttribute()
-    {
-        assert hasMoreAttributes();
-        assert currentAttributeCount != INVALID;
-        assert currentAttributeIndex != INVALID;
-
-        currentAttributeIndex++;
-
-        assert currentAttributeIndex <= currentAttributeCount;
-    }
-
-    boolean hasMoreAttributes()
-    {
-        assert baseReader.isStartElement();
-
-        assert currentAttributeCount != INVALID;
-        assert currentAttributeIndex != INVALID;
-
-        return (currentAttributeIndex < currentAttributeCount);
-    }
-
-    String getCurrentAttributeNamespaceURI()
-    {
-        assert currentAttributeCount != INVALID;
-        assert currentAttributeIndex != INVALID;
-
-        return baseReader.getAttributeNamespace(currentAttributeIndex);
-    }
-
-    String getCurrentAttributeLocalName()
-    {
-        assert currentAttributeCount != INVALID;
-        assert currentAttributeIndex != INVALID;
-
-        return baseReader.getAttributeLocalName(currentAttributeIndex);
-    }
-
-    final void attributePresent(int att_idx)
-    {
-        if (defaultAttributeBits == null) {
-            int bits_size = getAttributeCount();
-            defaultAttributeBits = new BitSet(bits_size);
-        }
-
-        defaultAttributeBits.set(att_idx);
-    }
-
-    boolean isAttributePresent(int att_idx)
-    {
-        if (defaultAttributeBits == null)
-            return false;
-
-        return defaultAttributeBits.get(att_idx);
-    }
-
-    void setNextElementDefault(String lexical_default)
-        throws XmlException
-    {
-        try {
-            baseReader.setDefaultValue(lexical_default);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    /**
-     * Do the supplied localname, uri pair match the given qname?
-     *
-     * @param qn          name of element
-     * @param localname   candidate localname
-     * @param uri         candidtate uri
-     * @return
-     */
-    static boolean doesElementMatch(QName qn, String localname, String uri)
-    {
-        if (qn.getLocalPart().equals(localname)) {
-            //QNames always uses "" for no namespace, but the incoming uri
-            //might use null or "".
-            return qn.getNamespaceURI().equals(uri == null ? "" : uri);
-        }
-        return false;
-    }
-
-    final RuntimeBindingType determineActualRuntimeType(RuntimeBindingType expected)
-        throws XmlException
-    {
-        final QName xsi_type = getXsiType();
-
-
-        if (xsi_type != null && !xsi_type.equals(expected.getSchemaTypeName())) {
-            final BindingType binding_type = lookupBindingType(xsi_type);
-            if (binding_type != null) {
-                final RuntimeBindingType actual_rtt =
-                    typeTable.createRuntimeType(binding_type, bindingLoader);
-                if (isCompatibleTypeSubstitution(expected, actual_rtt)) {
-                    return actual_rtt;
-                } else {
-                    String e = "invalid type substitution: " +
-                        xsi_type + " for " + expected.getSchemaTypeName() +
-                        " due to incompatible java types (" +
-                        actual_rtt.getJavaType().getName() +
-                        " for " + expected.getJavaType().getName() +
-                        ") -- using declared type";
-                    addWarning(e);
-                }
-            }
-        }
-
-        return expected;
-    }
-
-
-    //is xsi:type substitution ok.  only checks java compat for now.
-    private static boolean isCompatibleTypeSubstitution(RuntimeBindingType expected,
-                                                        RuntimeBindingType actual)
-    {
-        if (expected == actual) return true;
-
-        final Class expected_type = expected.getJavaType();
-        final Class actual_type = actual.getJavaType();
-        if (expected_type == actual_type) return true;
-        if (expected_type.equals(actual_type)) return true;
-
-        if (expected_type.isAssignableFrom(actual_type)) return true;
-
-        //TODO: FIXME!  deal with cases where reflection gives us autoboxing.
-        if (actual_type.isPrimitive()) return true;
-
-        return false;
-    }
-
-    abstract void extractAndFillElementProp(RuntimeBindingProperty prop,
-                                            Object inter)
-        throws XmlException;
-
-
-    protected TypeUnmarshaller getUnmarshaller(RuntimeBindingType actual_rtt)
-        throws XmlException
-    {
-        final TypeUnmarshaller um;
-        if (hasXsiNil()) {
-            um = NullUnmarshaller.getInstance();
-        } else {
-            um = actual_rtt.getUnmarshaller();
-        }
-        return um;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshallerImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshallerImpl.java
deleted file mode 100644
index 4a5ff57..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnmarshallerImpl.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.Unmarshaller;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.InputStream;
-
-final class UnmarshallerImpl
-    implements Unmarshaller
-{
-    private final BindingLoader bindingLoader;
-    private final RuntimeBindingTypeTable typeTable;
-    private final SchemaTypeLoaderProvider schemaTypeLoaderProvider;
-
-    private static final XMLInputFactory XML_INPUT_FACTORY =
-        XMLInputFactory.newInstance();
-
-    public UnmarshallerImpl(BindingLoader loader,
-                            RuntimeBindingTypeTable typeTable,
-                            SchemaTypeLoaderProvider provider)
-    {
-        assert loader != null;
-        assert typeTable != null;
-
-        this.bindingLoader = loader;
-        this.typeTable = typeTable;
-        this.schemaTypeLoaderProvider = provider;
-    }
-
-    public Object unmarshal(XMLStreamReader reader)
-        throws XmlException
-    {
-        return unmarshal(reader, null);
-    }
-
-    public Object unmarshal(XMLStreamReader reader, XmlOptions options)
-        throws XmlException
-    {
-        final UnmarshalResult result =
-            new LiteralUnmarshalResult(bindingLoader, typeTable,
-                                       schemaTypeLoaderProvider, options);
-
-        return result.unmarshalDocument(reader);
-    }
-
-    public Object unmarshal(InputStream doc)
-        throws XmlException
-    {
-        return unmarshal(doc, null);
-    }
-
-    public Object unmarshal(InputStream doc, XmlOptions options)
-        throws XmlException
-    {
-        if (doc == null) throw new IllegalArgumentException("null inputStream");
-
-        try {
-            final XMLStreamReader reader =
-                XML_INPUT_FACTORY.createXMLStreamReader(doc);
-            return unmarshal(reader, options);
-        }
-        catch (XMLStreamException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public Object unmarshalType(XMLStreamReader reader,
-                                QName schemaType,
-                                String javaType)
-        throws XmlException
-    {
-        return unmarshalType(reader, schemaType, javaType, null);
-    }
-
-    public Object unmarshalType(XMLStreamReader reader,
-                                QName schemaType,
-                                String javaType,
-                                XmlOptions options)
-        throws XmlException
-    {
-        if (reader == null) throw new IllegalArgumentException("null reader");
-        if (schemaType == null) throw new IllegalArgumentException("null schemaType");
-        if (javaType == null) throw new IllegalArgumentException("null javaType");
-        if (!reader.isStartElement()) {
-            throw new IllegalStateException("reader must be positioned on a start element");
-        }
-
-        final UnmarshalResult result =
-            new LiteralUnmarshalResult(bindingLoader, typeTable,
-                                       schemaTypeLoaderProvider, options);
-
-        return result.unmarshalType(reader, schemaType, javaType);
-    }
-
-    public Object unmarshalElement(XMLStreamReader reader,
-                                   QName globalElement,
-                                   String javaType,
-                                   XmlOptions options)
-        throws XmlException
-    {
-        if (reader == null)
-            throw new IllegalArgumentException("null reader");
-        if (globalElement == null)
-            throw new IllegalArgumentException("null globalElement");
-        if (javaType == null)
-            throw new IllegalArgumentException("null javaType");
-        if (!reader.isStartElement()) {
-            throw new IllegalStateException("reader must be positioned on a start element");
-        }
-
-        final UnmarshalResult result =
-            new LiteralUnmarshalResult(bindingLoader, typeTable,
-                                       schemaTypeLoaderProvider, options);
-
-        return result.unmarshalElement(reader, globalElement, javaType);
-    }
-
-    XMLInputFactory getXmlInputFactory()
-    {
-        return XML_INPUT_FACTORY;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnusedSchemaTypeLoaderProvider.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnusedSchemaTypeLoaderProvider.java
deleted file mode 100644
index 4ee5896..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/UnusedSchemaTypeLoaderProvider.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-
-final class UnusedSchemaTypeLoaderProvider
-    implements SchemaTypeLoaderProvider
-{
-    private UnusedSchemaTypeLoaderProvider()
-    {
-    }
-
-    private static final UnusedSchemaTypeLoaderProvider INSTANCE =
-        new UnusedSchemaTypeLoaderProvider();
-
-    static SchemaTypeLoaderProvider getInstance()
-    {
-        return INSTANCE;
-    }
-
-
-    public SchemaTypeLoader getSchemaTypeLoader()
-    {
-        throw new IllegalStateException("schema type system not available");
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayRuntimeBindingType.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayRuntimeBindingType.java
deleted file mode 100644
index 2ad1310..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayRuntimeBindingType.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.WrappedArrayType;
-import org.apache.xmlbeans.impl.marshal.util.collections.Accumulator;
-import org.apache.xmlbeans.impl.marshal.util.collections.AccumulatorFactory;
-
-import javax.xml.namespace.QName;
-import java.lang.reflect.Array;
-
-final class WrappedArrayRuntimeBindingType
-    extends RuntimeBindingType
-{
-    private final WrappedArrayType wrappedArrayType;
-
-    private ItemProperty elementProperty;
-
-    WrappedArrayRuntimeBindingType(WrappedArrayType binding_type)
-        throws XmlException
-    {
-        super(binding_type);
-        wrappedArrayType = binding_type;
-    }
-
-    void accept(RuntimeTypeVisitor visitor)
-        throws XmlException
-    {
-        visitor.visit(this);
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-        throws XmlException
-    {
-        final BindingTypeName item_type_name = wrappedArrayType.getItemType();
-        assert item_type_name != null;
-
-        final BindingType item_type = bindingLoader.getBindingType(item_type_name);
-        if (item_type == null) {
-            final String msg = "unable to lookup " + item_type_name +
-                " from type " + wrappedArrayType;
-            throw new XmlException(msg);
-        }
-
-        final RuntimeBindingType item_rtt =
-            typeTable.createRuntimeType(item_type, bindingLoader);
-
-        elementProperty =
-            new ItemProperty(this, wrappedArrayType.getItemName(),
-                             item_rtt,
-                             wrappedArrayType.isItemNillable());
-
-
-    }
-
-    boolean hasElementChildren()
-    {
-        return true;
-    }
-
-    ItemProperty getElementProperty()
-    {
-        assert elementProperty != null;
-        return elementProperty;
-    }
-
-    protected Object createIntermediary(UnmarshalResult context)
-    {
-        return AccumulatorFactory.createAccumulator(getJavaType(),
-                                                    elementProperty.getElementClass());
-    }
-
-    protected Object createIntermediary(UnmarshalResult context,
-                                        Object actual_object)
-    {
-        //cannot modify the length of an array once it is created...
-        final String e = "factories not supported for array types: " +
-            getBindingType();
-        throw new UnsupportedOperationException(e);
-    }
-
-    protected Object getFinalObjectFromIntermediary(Object inter,
-                                                    UnmarshalResult context)
-        throws XmlException
-    {
-        Accumulator acc = (Accumulator)inter;
-        return acc.getFinalArray();
-    }
-
-    boolean isObjectFromIntermediateIdempotent()
-    {
-        return false;
-    }
-
-    static final class ItemProperty
-        extends RuntimeBindingProperty
-    {
-        private final QName itemName;
-        private final RuntimeBindingType itemType;
-        private final boolean nillable;
-
-        ItemProperty(RuntimeBindingType containing_type,
-                     QName item_name,
-                     RuntimeBindingType item_type,
-                     boolean nillable)
-            throws XmlException
-        {
-            super(containing_type);
-
-            itemName = item_name;
-            itemType = item_type;
-            this.nillable = nillable;
-
-        }
-
-        Class getElementClass()
-        {
-            return itemType.getJavaType();
-        }
-
-        RuntimeBindingType getRuntimeBindingType()
-        {
-            return itemType;
-        }
-
-        RuntimeBindingType getActualRuntimeType(Object property_value,
-                                                MarshalResult result)
-            throws XmlException
-        {
-            return result.determineRuntimeBindingType(itemType, property_value);
-        }
-
-        QName getName()
-        {
-            return itemName;
-        }
-
-        public void fill(Object inter, Object prop_obj)
-            throws XmlException
-        {
-            Accumulator acc = (Accumulator)inter;
-            acc.append(prop_obj);
-        }
-
-        protected void fillPlaceholder(Object inter)
-        {
-            Accumulator acc = (Accumulator)inter;
-            acc.appendDefault();
-        }
-
-        //non index properties can return unsupported...
-        protected int getSize(Object inter)
-        {
-            Accumulator acc = (Accumulator)inter;
-            return acc.size();
-        }
-
-        protected void fill(Object final_obj, int index, Object prop_val)
-        {
-            assert final_obj != null;
-            assert !(final_obj instanceof Accumulator);
-
-            //TODO: fix case for collections.  Can only work with List types
-            assert final_obj.getClass().isArray();
-
-            Array.set(final_obj, index, prop_val);
-        }
-
-
-        Object getValue(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new UnsupportedOperationException("use 3 arg getValue");
-        }
-
-        Object getValue(Object parentObject, MarshalResult result, int item_index)
-            throws XmlException
-        {
-            return Array.get(parentObject, item_index);
-        }
-
-        boolean isSet(Object parentObject, MarshalResult result)
-            throws XmlException
-        {
-            throw new UnsupportedOperationException("use 3 arg isSet");
-        }
-
-        boolean isSet(Object parentObject, MarshalResult result, int item_index)
-            throws XmlException
-        {
-            if (nillable) return true;
-            if (itemType.isJavaPrimitive()) return true;
-
-            //TODO: consider isSet for array elements?
-
-            return getValue(parentObject, result, item_index) != null;
-        }
-
-        boolean isMultiple()
-        {
-            return true;
-        }
-
-        boolean isNillable()
-        {
-            return nillable;
-        }
-
-        String getLexicalDefault()
-        {
-            return null;
-        }
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayTypeVisitor.java
deleted file mode 100644
index 01460e7..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayTypeVisitor.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import java.lang.reflect.Array;
-
-public class WrappedArrayTypeVisitor extends NamedXmlTypeVisitor
-{
-    private final WrappedArrayRuntimeBindingType type;
-    private final int arrayLength;
-
-    private int currIndex = -1;
-
-    WrappedArrayTypeVisitor(RuntimeBindingProperty property,
-                            Object obj,
-                            PullMarshalResult result)
-        throws XmlException
-    {
-        super(obj, property, result);
-
-        type = (WrappedArrayRuntimeBindingType)getActualRuntimeBindingType();
-        arrayLength = getArrayLength(obj);
-    }
-
-    private static int getArrayLength(Object obj)
-    {
-        if (obj == null) return 0;
-
-        return Array.getLength(obj);
-    }
-
-    protected int getState()
-    {
-        assert currIndex <= arrayLength; //ensure we don't go past the end
-
-        if (currIndex < 0) return START;
-
-        if (currIndex >= arrayLength) return END;
-
-        return CONTENT;
-    }
-
-    protected int advance()
-        throws XmlException
-    {
-        assert currIndex < arrayLength; //ensure we don't go past the end
-
-        do {
-            currIndex++;
-            if (currIndex == arrayLength) return END;
-        }
-        while (!currentItemHasValue());
-
-
-        assert currIndex >= 0;
-        assert (getState() == CONTENT);
-
-        return CONTENT;
-    }
-
-    private boolean currentItemHasValue()
-        throws XmlException
-    {
-        return type.getElementProperty().isSet(getParentObject(),
-                                               marshalResult,
-                                               currIndex);
-    }
-
-    private Object getCurrentValue()
-        throws XmlException
-    {
-        return type.getElementProperty().getValue(getParentObject(),
-                                                  marshalResult,
-                                                  currIndex);
-    }
-
-    public XmlTypeVisitor getCurrentChild()
-        throws XmlException
-    {
-        final Object value = getCurrentValue();
-        //TODO: avoid excessive object creation
-        return marshalResult.createVisitor(type.getElementProperty(), value);
-    }
-
-    protected CharSequence getCharData()
-    {
-        throw new IllegalStateException("not text: " + this);
-    }
-
-    protected void initAttributes()
-        throws XmlException
-    {
-        if (getParentObject() == null) {
-            marshalResult.addXsiNilAttribute();
-        } else if (needsXsiType()) {
-            marshalResult.addXsiTypeAttribute(getActualRuntimeBindingType());
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayUnmarshaller.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayUnmarshaller.java
deleted file mode 100644
index 4aa2794..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/WrappedArrayUnmarshaller.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-
-import javax.xml.namespace.QName;
-
-public class WrappedArrayUnmarshaller
-    implements TypeUnmarshaller
-{
-    private final WrappedArrayRuntimeBindingType type;
-
-
-    public WrappedArrayUnmarshaller(WrappedArrayRuntimeBindingType rtt)
-    {
-        type = rtt;
-    }
-
-    public Object unmarshal(UnmarshalResult result)
-        throws XmlException
-    {
-        final Object inter = type.createIntermediary(result);
-        unmarshalIntoIntermediary(inter, result);
-        return type.getFinalObjectFromIntermediary(inter, result);
-    }
-
-    public void unmarshalIntoIntermediary(Object intermediary,
-                                          UnmarshalResult result)
-        throws XmlException
-    {
-        deserializeContents(intermediary, result);
-    }
-
-
-    //TODO: cleanup this code.  We are doing extra work for assertion checking
-    //also might consider consolidating the common code with the ByNameUnmarshaller
-    private void deserializeContents(Object inter,
-                                     UnmarshalResult context)
-        throws XmlException
-    {
-        assert context.isStartElement();
-        final String ourStartUri = context.getNamespaceURI();
-        final String ourStartLocalName = context.getLocalName();
-        context.next();
-
-        final WrappedArrayRuntimeBindingType.ItemProperty elem_prop =
-            type.getElementProperty();
-
-        while (context.advanceToNextStartElement()) {
-            assert context.isStartElement();
-
-            if (matchesItemElement(context)) {
-                context.extractAndFillElementProp(elem_prop, inter);
-            }
-        }
-
-        assert context.isEndElement();
-        final String ourEndUri = context.getNamespaceURI();
-        final String ourEndLocalName = context.getLocalName();
-        assert ourStartUri.equals(ourEndUri) :
-            "expected=" + ourStartUri + " got=" + ourEndUri;
-        assert ourStartLocalName.equals(ourEndLocalName) :
-            "expected=" + ourStartLocalName + " got=" + ourEndLocalName;
-
-        if (context.hasNext()) context.next();
-    }
-
-    private boolean matchesItemElement(UnmarshalResult context)
-    {
-        final QName el_name = type.getElementProperty().getName();
-        return UnmarshalResult.doesElementMatch(el_name,
-                                                context.getLocalName(),
-                                                context.getNamespaceURI());
-    }
-
-
-    public Object unmarshalAttribute(UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-    public Object unmarshalAttribute(CharSequence lexical_value,
-                                     UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-
-    public void unmarshalAttribute(Object object, UnmarshalResult result)
-        throws XmlException
-    {
-        throw new AssertionError("not used");
-    }
-
-    public void initialize(RuntimeBindingTypeTable typeTable,
-                           BindingLoader bindingLoader)
-    {
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XmlTypeVisitor.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XmlTypeVisitor.java
deleted file mode 100644
index c939124..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XmlTypeVisitor.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import org.apache.xmlbeans.XmlException;
-
-import javax.xml.namespace.QName;
-
-abstract class XmlTypeVisitor
-{
-    private final Object parentObject;
-    private final RuntimeBindingProperty bindingProperty;
-    protected final PullMarshalResult marshalResult;
-
-    XmlTypeVisitor(Object obj,
-                   RuntimeBindingProperty property,
-                   PullMarshalResult result)
-        throws XmlException
-    {
-        this.parentObject = obj;
-        this.bindingProperty = property;
-        marshalResult = result;
-
-    }
-
-
-    protected final Object getParentObject()
-    {
-        return parentObject;
-    }
-
-    protected final RuntimeBindingProperty getBindingProperty()
-    {
-        return bindingProperty;
-    }
-
-    static final int START = 1;
-    static final int CONTENT = 2;
-    static final int CHARS = 3;
-    static final int END = 4;
-
-    protected abstract int getState();
-
-    /**
-     *
-     * @return  next state
-     */
-    protected abstract int advance()
-        throws XmlException;
-
-    public abstract XmlTypeVisitor getCurrentChild()
-        throws XmlException;
-
-    protected abstract QName getName();
-
-    protected abstract String getLocalPart();
-
-    protected abstract String getNamespaceURI();
-
-    protected abstract String getPrefix();
-
-
-    //guaranteed to be called before any getAttribute* or getNamespace* method
-    protected void initAttributes()
-        throws XmlException
-    {
-    }
-
-    protected abstract CharSequence getCharData();
-
-    public String toString()
-    {
-        return this.getClass().getName() +
-            " prop=" + bindingProperty.getName() +
-            " type=" + bindingProperty.getRuntimeBindingType().getBindingType();
-    }
-
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XsiAttributeHolder.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XsiAttributeHolder.java
deleted file mode 100644
index 4e6d588..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/XsiAttributeHolder.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal;
-
-import javax.xml.namespace.QName;
-
-/**
- * holder struct for results of xsi attributes
- * For internal use only!
- */
-final class XsiAttributeHolder
-{
-    boolean hasXsiNil;
-    QName xsiType;
-    String schemaLocation;
-    String noNamespaceSchemaLocation;
-
-    XsiAttributeHolder()
-    {
-    }
-
-    void reset()
-    {
-        hasXsiNil = false;
-        xsiType = null;
-        schemaLocation = null;
-        noNamespaceSchemaLocation = null;
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ArrayUtils.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ArrayUtils.java
deleted file mode 100644
index 4816120..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ArrayUtils.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util;
-
-import org.apache.xmlbeans.impl.marshal.util.collections.ArrayIterator;
-import org.apache.xmlbeans.impl.marshal.util.collections.EmptyIterator;
-import org.apache.xmlbeans.impl.marshal.util.collections.ReflectiveArrayIterator;
-
-import java.lang.reflect.Array;
-import java.util.Collection;
-import java.util.Iterator;
-
-public final class ArrayUtils
-{
-
-    public static String arrayToString(Object array)
-    {
-        if (array == null) return "null";
-        if (!array.getClass().isArray()) return array.toString();
-
-        StringBuffer buf = new StringBuffer();
-        buf.append("[");
-
-        final int lim = -1 + Array.getLength(array);
-        for (int i = 0; i <= lim; i++) {
-            Object o = Array.get(array, i);
-            buf.append((o == array) ? "(this Array)" : arrayToString(o));
-            if (i < lim)
-                buf.append(", ");
-        }
-
-        buf.append("]");
-        return buf.toString();
-    }
-
-
-    public static boolean arrayEquals(Object aa, Object bb)
-    {
-        if (aa == bb) return true;
-
-        if (aa == null)
-            return (bb == null);
-
-        if (!aa.getClass().isArray())
-            return aa.equals(bb);
-
-        if (bb == null)
-            return (aa == null);
-
-        if (!bb.getClass().isArray())
-            return bb.equals(aa);
-
-        final int lena = Array.getLength(aa);
-        final int lenb = Array.getLength(bb);
-
-        if (lena != lenb) return false;
-
-
-        for (int i = 0; i < lena; i++) {
-            final Object oa = Array.get(aa, i);
-            final Object ob = Array.get(bb, i);
-            if (!arrayEquals(oa, ob)) {
-                return false;
-            }
-        }
-        return true;
-    }
-
-    public static void main(String[] args)
-    {
-        Object a = new int[]{3, 4, 5, 34423, 45};
-        Object b = new int[]{3, 4, 5, 34423, 45};
-
-        if (a == b) throw new AssertionError("bad objs");
-        if (!arrayEquals(a, b)) throw new AssertionError("bad equals");
-
-        a = new int[][]{{1, 2, 3}, {3, 4, 5}};
-        b = new int[][]{{1, 2, 3}, {3, 4, 5}};
-
-        if (a == b) throw new AssertionError("bad objs");
-        if (!arrayEquals(a, b)) throw new AssertionError("bad equals");
-
-        System.out.println("ok");
-
-    }
-
-    public static Iterator getCollectionIterator(Object value)
-    {
-        //TODO & FIXME: refactor this into seperate classes
-        if (value == null) {
-            return EmptyIterator.getInstance();
-        } else if (value instanceof Collection) {
-            return ((Collection)value).iterator();
-        } else if (value instanceof Object[]) {
-            return new ArrayIterator((Object[])value);
-        } else if (value.getClass().isArray()) {
-            return new ReflectiveArrayIterator(value);
-        } else {
-            throw new AssertionError("bad type: " + value.getClass());
-        }
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttrCache.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttrCache.java
deleted file mode 100644
index eb0c8fb..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttrCache.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.ChangeStamp;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.w3c.dom.Node;
-
-import javax.xml.namespace.QName;
-import java.util.HashMap;
-
-public class AttrCache
-{
-    public AttrCache(Node n, QName attrName)
-    {
-        QName[] names = new QName[1];
-        names[0] = attrName;
-
-        init(n, names);
-    }
-
-    public AttrCache(Node n, QName[] attrNames)
-    {
-        init(n, attrNames);
-    }
-
-    public Node lookup(String key)
-    {
-        ensureCache();
-
-        return (Node)_map.get(key);
-    }
-
-    private void init(Node n, QName[] attrNames)
-    {
-        _node = n;
-        _map = new HashMap();
-
-        StringBuffer sb = new StringBuffer();
-
-        for (int i = 0; i < attrNames.length; i++) {
-            if (attrNames[i].getNamespaceURI().length() > 0) {
-                sb.append("declare namespace ns");
-                sb.append(i);
-                sb.append("='");
-                sb.append(attrNames[i].getNamespaceURI());
-                sb.append("' ");
-            }
-        }
-
-        for (int i = 0; i < attrNames.length; i++) {
-            if (i > 0)
-                sb.append("|");
-
-            sb.append(".//@");
-
-            if (attrNames[i].getNamespaceURI().length() > 0) {
-                sb.append("ns");
-                sb.append(i);
-                sb.append(":");
-            }
-
-            sb.append(attrNames[i].getLocalPart());
-        }
-
-        _path = Public2.compilePath(sb.toString(), null);
-    }
-
-    private void ensureCache()
-    {
-        if (_stamp != null && !_stamp.hasChanged())
-            return;
-
-        XmlCursor c = Public2.getCursor(_node);
-
-        _stamp = c.getDocChangeStamp();
-
-        _map.clear();
-
-        c.selectPath(_path);
-
-        while (c.toNextSelection()) {
-            final String attr_val = c.getTextValue();
-
-            if (c.toParent()) {
-                _map.put(attr_val, c.getDomNode());
-            } else {
-                //not sure why this will ever happen.
-                assert false : " failed to move to parent: " + c;
-            }
-        }
-
-        c.dispose();
-    }
-
-    private Node _node;
-    private String _path;
-    private ChangeStamp _stamp;
-    private HashMap _map;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttributeHolder.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttributeHolder.java
deleted file mode 100644
index 6d51baf..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/AttributeHolder.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util;
-
-import org.apache.xmlbeans.impl.marshal.util.collections.StringList;
-
-import javax.xml.namespace.QName;
-
-public final class AttributeHolder
-{
-    private final StringList data;
-
-    private static final int LOCALNAME_OFFSET = 1;
-    private static final int PREFIX_OFFSET = 2;
-    private static final int VALUE_OFFSET = 3;
-
-    public AttributeHolder(int initial_capacity)
-    {
-        data = new StringList(4 * initial_capacity);
-    }
-
-    public AttributeHolder()
-    {
-        this(4);
-    }
-
-    public void clear()
-    {
-        data.clear();
-
-        assert data.getSize() == 0;
-    }
-
-    public void add(String namespaceURI, String localPart, String prefix,
-                    String value)
-    {
-        data.add(namespaceURI);
-        data.add(localPart);
-        data.add(prefix);
-        data.add(value);
-
-        assert (data.getSize() % 4) == 0;
-    }
-
-    public void add(QName name, String value)
-    {
-        add(name.getNamespaceURI(),
-            name.getLocalPart(),
-            name.getPrefix(),
-            value);
-    }
-
-
-    public int getAttributeCount()
-    {
-        assert (data.getSize() % 4) == 0;
-        return data.getSize() / 4;
-    }
-
-    public String getAttributeValue(int idx)
-    {
-        assert (data.getSize() % 4) == 0;
-
-        return data.get(VALUE_OFFSET + idx * 4);
-    }
-
-    public QName getAttributeName(int idx)
-    {
-        //TODO: consider caching these values...
-
-        final String uri = getAttributeNamespace(idx);
-        if (uri == null || uri.length() == 0) {
-            return new QName(getAttributeLocalName(idx));
-        } else {
-            final String pfx = getAttributePrefix(idx);
-            assert pfx != null;
-            assert pfx.length() > 0;
-            return new QName(uri,
-                             getAttributeLocalName(idx),
-                             pfx);
-        }
-    }
-
-
-    public String getAttributeNamespace(int i)
-    {
-        assert (data.getSize() % 4) == 0;
-
-        return data.get(i * 4);
-    }
-
-    public String getAttributeLocalName(int i)
-    {
-        assert (data.getSize() % 4) == 0;
-
-        return data.get(LOCALNAME_OFFSET + i * 4);
-    }
-
-    public String getAttributePrefix(int i)
-    {
-        assert (data.getSize() % 4) == 0;
-
-        return data.get(PREFIX_OFFSET + i * 4);
-    }
-
-    public boolean isAttributeSpecified(int i)
-    {
-        throw new UnsupportedOperationException("UNIMPLEMENTED");
-    }
-
-
-    public String getAttributeValue(String uri, String lname)
-    {
-        //TODO: do better than this basic and slow implementation
-        for (int i = 0, len = getAttributeCount(); i < len; i++) {
-
-            if (lname.equals(getAttributeLocalName(i))) {
-                if (uri == null || uri.equals(getAttributeNamespace(i)))
-                    return getAttributeValue(i);
-            }
-        }
-        return null;
-    }
-
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ReflectionUtils.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ReflectionUtils.java
deleted file mode 100644
index 2854d44..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/ReflectionUtils.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.binding.bts.BindingProperty;
-import org.apache.xmlbeans.impl.binding.bts.MethodName;
-
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-
-public final class ReflectionUtils
-{
-
-    public static final Object[] EMPTY_OBJECT_ARRAY = new Object[]{};
-
-    public static Object invokeMethod(Object target,
-                                      Method method,
-                                      Object[] params)
-        throws XmlException
-    {
-        assert method != null : "null method";
-
-        final Class decl = method.getDeclaringClass();
-//        final Class got = target.getClass();
-//
-        assert target == null || decl.isInstance(target) : "DECL=" + decl + " GOT:" + target.getClass();
-
-        assert (checkParams(method, params));
-
-        try {
-            return method.invoke(target, params);
-        }
-        catch (IllegalAccessException e) {
-            throw new XmlException(e);
-        }
-        catch (IllegalArgumentException e) {
-            throw new XmlException(e);
-        }
-        catch (InvocationTargetException ite) {
-            throw new XmlException(ite.getTargetException());
-        }
-    }
-
-    private static boolean checkParams(Method method, Object[] params)
-    {
-        assert method != null;
-
-        final int expected_len = method.getParameterTypes().length;
-        final int actual_len = params == null ? 0 : params.length;
-
-        if (actual_len != expected_len) {
-            String msg = "Method " + method + " expects " + expected_len +
-                " parameters -- got " + actual_len;
-            throw new AssertionError(msg);
-        }
-        return true;
-    }
-
-    /**
-     * invoke method with no arguments
-     *
-     * @param target
-     * @param method
-     * @return
-     * @throws XmlException
-     */
-    public static Object invokeMethod(Object target,
-                                      Method method)
-        throws XmlException
-    {
-        return invokeMethod(target, method, EMPTY_OBJECT_ARRAY);
-    }
-
-    public static Method getSetterMethod(BindingProperty binding_prop,
-                                         Class beanClass)
-        throws XmlException
-    {
-        if (!binding_prop.hasSetter()) return null;
-
-        MethodName setterName = binding_prop.getSetterName();
-        return getMethodOnClass(setterName, beanClass);
-    }
-
-    public static Method getIssetterMethod(BindingProperty binding_prop,
-                                           Class clazz)
-        throws XmlException
-    {
-        if (!binding_prop.hasIssetter())
-            return null;
-
-        Method isset_method =
-            getMethodOnClass(binding_prop.getIssetterName(), clazz);
-
-        if (!isset_method.getReturnType().equals(Boolean.TYPE)) {
-            String msg = "invalid isset method: " + isset_method +
-                " -- return type must be boolean not " +
-                isset_method.getReturnType().getName();
-            throw new XmlException(msg);
-        }
-
-        return isset_method;
-    }
-
-    public static Method getGetterMethod(BindingProperty binding_prop,
-                                         Class beanClass)
-        throws XmlException
-    {
-        MethodName getterName = binding_prop.getGetterName();
-        return getMethodOnClass(getterName, beanClass);
-    }
-
-    public static Method getMethodOnClass(MethodName method_name,
-                                          Class clazz)
-        throws XmlException
-    {
-        if (method_name == null) return null;
-
-        try {
-            return method_name.getMethodOn(clazz);
-        }
-        catch (NoSuchMethodException e) {
-            throw new XmlException(e);
-        }
-        catch (SecurityException se) {
-            throw new XmlException(se);
-        }
-        catch (ClassNotFoundException cnfe) {
-            throw new XmlException(cnfe);
-        }
-    }
-
-    public static boolean isMethodStatic(Method m)
-    {
-        return Modifier.isStatic(m.getModifiers());
-    }
-
-    public static boolean isClassFinal(Class javaClass)
-    {
-        final int modifiers = javaClass.getModifiers();
-        return Modifier.isFinal(modifiers);
-    }
-
-    public static Field getField(BindingProperty prop, Class aClass)
-        throws XmlException
-    {
-        final String field_name = prop.getFieldName();
-        try {
-            final Field field = aClass.getField(field_name);
-            final int mods = field.getModifiers();
-            if (!Modifier.isPublic(mods) || Modifier.isStatic(mods) || Modifier.isFinal(mods)) {
-                final String msg = "only public, non-static, non-final " +
-                    "fields supported: " + field + " in property " + prop;
-                throw new XmlException(msg);
-            }
-            return field;
-        }
-        catch (NoSuchFieldException e) {
-            throw new XmlException(e);
-        }
-        catch (SecurityException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public static Object getFieldValue(Object target, Field field) throws XmlException
-    {
-        try {
-            return field.get(target);
-        }
-        catch (IllegalArgumentException e) {
-            throw new XmlException(e);
-        }
-        catch (IllegalAccessException e) {
-            throw new XmlException(e);
-        }
-    }
-
-    public static void setFieldValue(Object target, Field field, Object value) throws XmlException
-    {
-        try {
-            field.set(target, value);
-        }
-        catch (IllegalArgumentException e) {
-            throw new XmlException(e);
-        }
-        catch (IllegalAccessException e) {
-            throw new XmlException(e);
-        }
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/Accumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/Accumulator.java
deleted file mode 100644
index 9075d37..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/Accumulator.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-public interface Accumulator
-{
-
-    int DEFAULT_INITIAL_CAPACITY = 16;
-
-    void append(Object elem);
-
-    /**
-     * append default value for this type
-     * (null of Objects, normal java defaults for primtive types)
-     */
-    void appendDefault();
-
-    void set(int index, Object value);
-
-    int size();
-
-    /**
-     * This method must be idempotent between calls to add or set.
-     *
-     * @return
-     */
-    Object getFinalArray();
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/AccumulatorFactory.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/AccumulatorFactory.java
deleted file mode 100644
index e64b829..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/AccumulatorFactory.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-public final class AccumulatorFactory
-{
-
-    public static Accumulator createAccumulator(Class component_type)
-    {
-        return createAccumulator(component_type,
-                                 Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-
-    public static Accumulator createAccumulator(Class component_type,
-                                                int initial_capacity)
-    {
-        if (component_type.isPrimitive()) {
-            return createPrimtiveAccumulator(component_type, initial_capacity);
-        } else if (String.class.equals(component_type)) {
-            return new StringList(initial_capacity);
-        } else {
-            return new ArrayListBasedObjectAccumulator(component_type,
-                                                       initial_capacity,
-                                                       false);
-        }
-    }
-
-    private static Accumulator createPrimtiveAccumulator(Class component_type,
-                                                         int initial_capacity)
-    {
-        if (int.class.equals(component_type)) {
-            return new IntList(initial_capacity);
-        } else if (short.class.equals(component_type)) {
-            return new ShortList(initial_capacity);
-        } else if (long.class.equals(component_type)) {
-            return new LongList(initial_capacity);
-        } else if (float.class.equals(component_type)) {
-            return new FloatList(initial_capacity);
-        } else if (double.class.equals(component_type)) {
-            return new DoubleList(initial_capacity);
-        } else if (byte.class.equals(component_type)) {
-            return new ByteList(initial_capacity);
-        } else if (boolean.class.equals(component_type)) {
-            return new BooleanList(initial_capacity);
-        } else if (char.class.equals(component_type)) {
-            return new CharList(initial_capacity);
-        } else {
-            throw new AssertionError("unknown primitive type: " + component_type);
-        }
-    }
-
-    public static Accumulator createAccumulator(Class container_type,
-                                                Class component_type,
-                                                int initial_capacity)
-    {
-        if (container_type.isArray()) {
-            assert (container_type.getComponentType().isAssignableFrom(component_type));
-            return createAccumulator(component_type, initial_capacity);
-        } else if (java.util.Collection.class.isAssignableFrom(container_type)) {
-            return createCollectionAccumulator(container_type,
-                                               component_type,
-                                               initial_capacity);
-        } else {
-            throw new AssertionError("unsupported container type: " + container_type);
-        }
-    }
-
-    public static Accumulator createAccumulator(Class container_type,
-                                                Class component_type)
-    {
-        return createAccumulator(container_type, component_type,
-                                 Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    private static Accumulator createCollectionAccumulator(Class container_type,
-                                                           Class component_type,
-                                                           int initial_capacity)
-    {
-        assert !container_type.isArray();
-
-
-        if (java.util.Collection.class.equals(container_type) ||
-            java.util.ArrayList.class.equals(container_type) ||
-            java.util.List.class.equals(container_type)) {
-            return new ArrayListBasedObjectAccumulator(component_type,
-                                                       initial_capacity);
-        }
-
-
-        if (java.util.Set.class.equals(container_type) ||
-            java.util.HashSet.class.equals(container_type)) {
-            return new HashSetBasedObjectAccumulator(component_type,
-                                                     initial_capacity);
-        }
-
-
-        if (java.util.SortedSet.class.equals(container_type) ||
-            java.util.TreeSet.class.equals(container_type)) {
-            return new TreeSetBasedObjectAccumulator(component_type,
-                                                     initial_capacity);
-        }
-
-
-        if (java.util.Vector.class.equals(container_type)) {
-            return new VectorBasedObjectAccumulator(component_type,
-                                                    initial_capacity);
-        }
-
-        if (java.util.Stack.class.equals(container_type)) {
-            return new StackBasedObjectAccumulator(component_type,
-                                                   initial_capacity);
-        }
-
-        if (java.util.LinkedList.class.equals(container_type)) {
-            return new LinkedListBasedObjectAccumulator(component_type,
-                                                        initial_capacity);
-        }
-
-        return new GenericCollectionObjectAccumulator(container_type,
-                                                      component_type);
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayIterator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayIterator.java
deleted file mode 100644
index d4f87c8..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayIterator.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-import java.util.Iterator;
-import java.util.NoSuchElementException;
-
-public final class ArrayIterator
-    implements Iterator
-{
-    private final Object[] array;
-    private final int maxIndex;
-    private int index;
-
-    public ArrayIterator(Object[] a)
-    {
-        this(a, 0, a.length);
-    }
-
-    public ArrayIterator(Object[] a, int off, int len)
-    {
-        if (off < 0) throw new IllegalArgumentException();
-        if (off > a.length) throw new IllegalArgumentException();
-        if (len > a.length - off) throw new IllegalArgumentException();
-        array = a;
-        index = off;
-        maxIndex = len + off;
-    }
-
-    public boolean hasNext()
-    {
-        return index < maxIndex;
-    }
-
-    public Object next()
-    {
-        if (index >= maxIndex) throw new NoSuchElementException();
-        return array[index++];
-    }
-
-    public void remove()
-    {
-        throw new UnsupportedOperationException();
-    }
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayListBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayListBasedObjectAccumulator.java
deleted file mode 100644
index 425444c..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ArrayListBasedObjectAccumulator.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-
-public final class ArrayListBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-
-    public ArrayListBasedObjectAccumulator(Class component_type,
-                                           int initial_capacity,
-                                           boolean return_collection)
-    {
-        super(component_type, initial_capacity, return_collection);
-    }
-
-    public ArrayListBasedObjectAccumulator(Class component_type,
-                                           int initial_capacity)
-    {
-        this(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.ArrayList(capacity);
-    }
-
-    public ArrayList getArrayListStore()
-    {
-        assert (store instanceof ArrayList);
-        return (ArrayList)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        ArrayList l = (ArrayList)store;
-        l.set(index, value);
-        lastArray = null;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/BooleanList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/BooleanList.java
deleted file mode 100644
index 206c64d..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/BooleanList.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for booleans.
- wraps an boolean[]
-
- not syncronized.
- */
-
-
-public final class BooleanList
-    implements Accumulator
-{
-    private boolean[] store;
-    private int size = 0;
-
-
-    public BooleanList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public BooleanList(int initial_capacity)
-    {
-        store = new boolean[initial_capacity];
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public boolean[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        boolean[] new_a = new boolean[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Boolean);
-        add(((Boolean)o).booleanValue());
-    }
-
-    public void appendDefault()
-    {
-        add(false);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Boolean)value).booleanValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-    public void set(int index, boolean value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(boolean i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public boolean get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>BooleanList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            boolean oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new boolean[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ByteList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ByteList.java
deleted file mode 100644
index 70450b0..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ByteList.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for bytes.
- wraps an byte[]
-
- not syncronized.
- */
-
-
-public final class ByteList
-    implements Accumulator
-{
-    private byte[] store;
-    private int size = 0;
-
-
-    public ByteList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public ByteList(int initial_capacity)
-    {
-        store = new byte[initial_capacity];
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public byte[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        byte[] new_a = new byte[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).byteValue());
-    }
-
-    public void appendDefault()
-    {
-        add((byte)0);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).byteValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(byte i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public byte get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-    public void set(int index, byte value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>ByteList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            byte oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new byte[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/CharList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/CharList.java
deleted file mode 100644
index e971d4f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/CharList.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for chars.
- wraps an char[]
-
- not syncronized.
- */
-
-
-public final class CharList
-    implements Accumulator
-{
-    private char[] store;
-    private int size = 0;
-
-
-    public CharList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public CharList(int initial_capacity)
-    {
-        store = new char[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public char[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        char[] new_a = new char[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Character);
-        add(((Character)o).charValue());
-    }
-
-    public void appendDefault()
-    {
-        add((char)0);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Character)value).charValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-
-    public void set(int index, char value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(char i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public char get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>CharList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            char oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new char[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/DoubleList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/DoubleList.java
deleted file mode 100644
index 0170c28..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/DoubleList.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for doubles.
- wraps an double[]
-
- not syncronized.
- */
-public final class DoubleList
-    implements Accumulator
-{
-    private double[] store;
-    private int size = 0;
-
-
-    public DoubleList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public DoubleList(int initial_capacity)
-    {
-        store = new double[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public double[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        double[] new_a = new double[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).doubleValue());
-    }
-
-    public void appendDefault()
-    {
-        add(0);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).doubleValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-
-    public void set(int index, double value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(double i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public double get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>DoubleList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            double oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new double[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/EmptyIterator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/EmptyIterator.java
deleted file mode 100644
index 2b8341e..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/EmptyIterator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-import java.util.Iterator;
-import java.util.NoSuchElementException;
-
-public final class EmptyIterator
-    implements Iterator
-{
-    private static final Iterator INSTANCE = new EmptyIterator();
-
-    public static Iterator getInstance()
-    {
-        return INSTANCE;
-    }
-
-    private EmptyIterator()
-    {
-    }
-
-    public boolean hasNext()
-    {
-        return false;
-    }
-
-    public Object next()
-    {
-        throw new NoSuchElementException();
-    }
-
-    public void remove()
-    {
-        throw new UnsupportedOperationException();
-    }
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/FloatList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/FloatList.java
deleted file mode 100644
index 9fcda07..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/FloatList.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for floats.
- wraps an float[]
-
- not syncronized.
- */
-
-
-public final class FloatList
-    implements Accumulator
-{
-    private float[] store;
-    private int size = 0;
-
-
-    public FloatList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public FloatList(int initial_capacity)
-    {
-        store = new float[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public float[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        float[] new_a = new float[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).floatValue());
-    }
-
-    public void appendDefault()
-    {
-        add(0f);
-    }
-
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).floatValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-
-    public void set(int index, float value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(float i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public float get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>FloatList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            float oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new float[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/GenericCollectionObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/GenericCollectionObjectAccumulator.java
deleted file mode 100644
index e9428e4..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/GenericCollectionObjectAccumulator.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-
-
-public final class GenericCollectionObjectAccumulator
-    implements Accumulator
-{
-    private final Class componentType;
-    private final Collection container;
-
-    public GenericCollectionObjectAccumulator(Class container_type,
-                                              Class component_type)
-    {
-        assert Collection.class.isAssignableFrom(container_type);
-        componentType = component_type;
-        try {
-            container = (Collection)container_type.newInstance();
-        }
-        catch (InstantiationException e) {
-            throw (IllegalArgumentException)(new IllegalArgumentException()).initCause(e);
-        }
-        catch (IllegalAccessException e) {
-            throw (IllegalArgumentException)(new IllegalArgumentException()).initCause(e);
-        }
-    }
-
-
-    public void append(Object elem)
-    {
-        container.add(elem);
-    }
-
-    public void appendDefault()
-    {
-        append(null);
-    }
-
-    public void set(int index, Object value)
-    {
-        throw new UnsupportedOperationException("no indexed access");
-    }
-
-
-    public int size()
-    {
-        return container.size();
-    }
-
-    public Object getFinalArray()
-    {
-        return container;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/HashSetBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/HashSetBasedObjectAccumulator.java
deleted file mode 100644
index 05b3563..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/HashSetBasedObjectAccumulator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-import java.util.HashSet;
-
-
-public final class HashSetBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-
-    public HashSetBasedObjectAccumulator(Class component_type,
-                                         int initial_capacity)
-    {
-        super(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.HashSet();
-    }
-
-    public HashSet getHashSetStore()
-    {
-        assert (store instanceof HashSet);
-        return (HashSet)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        throw new UnsupportedOperationException("no indexed access");
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/IntList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/IntList.java
deleted file mode 100644
index ecb6a56..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/IntList.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for ints.
- wraps an int[]
-
- not syncronized.
- */
-public final class IntList
-    implements Accumulator
-{
-    private int[] store;
-    private int size = 0;
-
-
-    public IntList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public IntList(int initial_capacity)
-    {
-        store = new int[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public int[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        int[] new_a = new int[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).intValue());
-    }
-
-    public void appendDefault()
-    {
-        add(0);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).intValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-    public void set(int index, int value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(int i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public int get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>IntList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            int oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new int[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LinkedListBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LinkedListBasedObjectAccumulator.java
deleted file mode 100644
index 7fe437f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LinkedListBasedObjectAccumulator.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-import java.util.LinkedList;
-
-
-public final class LinkedListBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-    public LinkedListBasedObjectAccumulator(Class component_type,
-                                            int initial_capacity)
-    {
-        super(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.LinkedList();
-    }
-
-    public LinkedList getLinkedListStore()
-    {
-        assert (store instanceof LinkedList);
-        return (LinkedList)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        LinkedList l = (LinkedList)store;
-        l.set(index, value);
-        lastArray = null;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LongList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LongList.java
deleted file mode 100644
index 8ae6dcb..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/LongList.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for longs.
- wraps an long[]
-
- not syncronized.
- */
-
-
-public final class LongList
-    implements Accumulator
-{
-    private long[] store;
-    private int size = 0;
-
-
-    public LongList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public LongList(int initial_capacity)
-    {
-        store = new long[initial_capacity];
-    }
-
-    public long[] getMinSizedArray()
-    {
-        if (size == store.length) {
-            return store;
-        }
-
-        long[] new_a = new long[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        store = new_a;
-        return new_a;
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).longValue());
-    }
-
-    public void appendDefault()
-    {
-        add(0L);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).longValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-
-    public void set(int index, long value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(long i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public long get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>LongList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            long oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new long[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ObjectAccumulator.java
deleted file mode 100644
index eede426..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ObjectAccumulator.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.lang.reflect.Array;
-import java.util.Collection;
-
-
-public abstract class ObjectAccumulator
-    implements Accumulator
-{
-    private final Class componentType;
-    private final boolean returnCollectionForArray;
-    protected final Collection store;
-    protected Object[] lastArray;
-
-
-    public ObjectAccumulator(Class component_type,
-                             int initial_capacity,
-                             boolean return_collection)
-    {
-        componentType = component_type;
-        returnCollectionForArray = return_collection;
-
-        store = createNewStore(initial_capacity);
-        assert store != null;
-    }
-
-    public ObjectAccumulator(Class component_type,
-                             int initial_capacity)
-    {
-        this(component_type, initial_capacity, false);
-    }
-
-    protected abstract Collection createNewStore(int capacity);
-
-    public ObjectAccumulator(Class component_type)
-    {
-        this(component_type, Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public void append(Object o)
-    {
-        assert checkInstance(o);
-
-        lastArray = null;
-        store.add(o);
-    }
-
-    public final void appendDefault()
-    {
-        append(null);
-    }
-
-    public int size()
-    {
-        return store.size();
-    }
-
-    private boolean checkInstance(Object o)
-    {
-        if (o == null) return true;
-        if (componentType.isPrimitive()) return true; // can't quite deal with this
-        if (!componentType.isInstance(o)) {
-            String msg = "Invalid type: " + o.getClass().getName() +
-                " expecting: " + componentType.getName();
-            throw new IllegalArgumentException(msg);
-        }
-        return true;
-    }
-
-    public final Object getFinalArray()
-    {
-        if (returnCollectionForArray) {
-            return store;
-        } else {
-            if (lastArray != null) {
-                return lastArray;
-            }
-
-            Object[] out = (Object[])Array.newInstance(componentType, store.size());
-            final Object[] retval = store.toArray(out);
-            lastArray = retval;
-            return retval;
-        }
-    }
-
-    // use with caution
-    public final Collection getStore()
-    {
-        return store;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ReflectiveArrayIterator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ReflectiveArrayIterator.java
deleted file mode 100644
index a97f624..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ReflectiveArrayIterator.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-import java.lang.reflect.Array;
-import java.util.Iterator;
-import java.util.NoSuchElementException;
-
-/**
- * @author   Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
- */
-public final class ReflectiveArrayIterator
-    implements Iterator
-{
-    private final Object array;
-    private final int maxIndex;
-    private int index;
-
-    public ReflectiveArrayIterator(Object a)
-    {
-        this(a, 0, Array.getLength((a)));
-    }
-
-    public ReflectiveArrayIterator(Object a, int off, int len)
-    {
-        if (!a.getClass().isArray()) {
-            throw new IllegalArgumentException();
-        }
-        final int asize = Array.getLength(a);
-        if (off < 0) throw new IllegalArgumentException();
-        if (off > asize) throw new IllegalArgumentException();
-        if (len > asize - off) throw new IllegalArgumentException();
-
-        array = a;
-        index = off;
-        maxIndex = len + off;
-    }
-
-    public boolean hasNext()
-    {
-        return index < maxIndex;
-    }
-
-    public Object next()
-    {
-        if (index >= maxIndex) throw new NoSuchElementException();
-        return Array.get(array, index++);
-    }
-
-    public void remove()
-    {
-        throw new UnsupportedOperationException();
-    }
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ShortList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ShortList.java
deleted file mode 100644
index 764657b..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/ShortList.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for shorts.
- wraps an short[]
-
- not syncronized.
- */
-
-
-public final class ShortList
-    implements Accumulator
-{
-    private short[] store;
-    private int size = 0;
-
-
-    public ShortList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public ShortList(int initial_capacity)
-    {
-        store = new short[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public short[] getMinSizedArray()
-    {
-        short[] new_a = new short[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        return new_a;
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        assert (o instanceof Number);
-        add(((Number)o).shortValue());
-    }
-
-    public void appendDefault()
-    {
-        add((short)0);
-    }
-
-
-    public void set(int index, Object value)
-    {
-        set(index, ((Number)value).shortValue());
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-
-    public void set(int index, short value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(short i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public short get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>ShortList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            short oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new short[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StackBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StackBasedObjectAccumulator.java
deleted file mode 100644
index 5f9199b..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StackBasedObjectAccumulator.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-import java.util.Stack;
-
-
-public final class StackBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-    public StackBasedObjectAccumulator(Class component_type,
-                                       int initial_capacity)
-    {
-        super(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.Stack();
-    }
-
-    public Stack getStackStore()
-    {
-        assert (store instanceof Stack);
-        return (Stack)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        Stack s = (Stack)store;
-        s.set(index, value);
-        lastArray = null;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StringList.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StringList.java
deleted file mode 100644
index 1f67e78..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/StringList.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-import java.util.Arrays;
-
-/**
- minimal, simplisitic typesafe version of ArrayList for Strings
- wraps String[]
-
- not syncronized.
- */
-
-
-public final class StringList
-    implements Accumulator
-{
-    private String[] store;
-    private int size = 0;
-
-
-    public StringList()
-    {
-        this(Accumulator.DEFAULT_INITIAL_CAPACITY);
-    }
-
-    public StringList(int initial_capacity)
-    {
-        store = new String[initial_capacity];
-    }
-
-    public Object getFinalArray()
-    {
-        return getMinSizedArray();
-    }
-
-    /**
-     get a new array just large enough to hold the items
-     */
-    public String[] getMinSizedArray()
-    {
-        String[] new_a = new String[size];
-        System.arraycopy(store, 0, new_a, 0, size);
-        return new_a;
-    }
-
-    public int getCapacity()
-    {
-        return store.length;
-    }
-
-    public int getSize()
-    {
-        return size;
-    }
-
-    public void append(Object o)
-    {
-        add((String)o);
-    }
-
-    public void appendDefault()
-    {
-        append(null);
-    }
-
-    public void set(int index, Object value)
-    {
-        set(index, (String)value);
-    }
-
-    public int size()
-    {
-        return size;
-    }
-
-    public void set(final int index, String value)
-    {
-        ensureCapacity(index + 1);
-        if (index >= size) {
-            size = index + 1;
-        }
-        store[index] = value;
-    }
-
-    public void clear()
-    {
-        Arrays.fill(store, null);
-        size = 0;
-    }
-
-    /**
-     * Appends the specified element to the end of this list.
-     *
-     * @param i element to be appended to this list.
-     */
-    public void add(String i)
-    {
-        ensureCapacity(size + 1);
-        store[size++] = i;
-    }
-
-    public String get(int idx)
-    {
-        //let array do range checking.
-        return store[idx];
-    }
-
-
-    /**
-     * Increases the capacity of this <tt>StringList</tt> instance, if
-     * necessary, to ensure  that it can hold at least the number of elements
-     * specified by the minimum capacity argument.
-     *
-     * @param   minCapacity   the desired minimum capacity.
-     */
-    public void ensureCapacity(int minCapacity)
-    {
-        int oldCapacity = store.length;
-        if (minCapacity > oldCapacity) {
-            String oldData[] = store;
-            int newCapacity = (oldCapacity * 2) + 1;
-            if (newCapacity < minCapacity)
-                newCapacity = minCapacity;
-            store = new String[newCapacity];
-            System.arraycopy(oldData, 0, store, 0, size);
-        }
-    }
-
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/TreeSetBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/TreeSetBasedObjectAccumulator.java
deleted file mode 100644
index c22f11f..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/TreeSetBasedObjectAccumulator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-import java.util.TreeSet;
-
-
-public final class TreeSetBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-
-    public TreeSetBasedObjectAccumulator(Class component_type,
-                                         int initial_capacity)
-    {
-        super(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.TreeSet();
-    }
-
-    public TreeSet getTreeSetStore()
-    {
-        assert (store instanceof TreeSet);
-        return (TreeSet)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        throw new UnsupportedOperationException("no indexed access");
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/VectorBasedObjectAccumulator.java b/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/VectorBasedObjectAccumulator.java
deleted file mode 100644
index facc03a..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/marshal/util/collections/VectorBasedObjectAccumulator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.marshal.util.collections;
-
-
-import java.util.Collection;
-import java.util.Vector;
-
-
-public final class VectorBasedObjectAccumulator
-    extends ObjectAccumulator
-{
-    public VectorBasedObjectAccumulator(Class component_type,
-                                        int initial_capacity)
-    {
-        super(component_type, initial_capacity, true);
-    }
-
-    protected Collection createNewStore(int capacity)
-    {
-        return new java.util.Vector();
-    }
-
-    public Vector getVectorStore()
-    {
-        return (Vector)store;
-    }
-
-    public void set(int index, Object value)
-    {
-        Vector v = (Vector)store;
-        v.set(index, value);
-        lastArray = null;
-    }
-
-}
-
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExt.java b/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExt.java
deleted file mode 100644
index 058b528..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExt.java
+++ /dev/null
@@ -1,224 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.richParser;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-import java.math.BigInteger;
-import java.math.BigDecimal;
-import java.util.Date;
-import java.io.InputStream;
-
-/**
- * This interface extends the simple XMLStreamReader interface adding
- * methods to get java objects asociated with schemas simple types like:
- * ints, long, BigIntegers, Dates etc
- *
- * Note: Given the fact that an implemetation of this interface will not
- * run validation in the stream, we will not include support for lists,
- * enumeration and unions. They might be possible to introduce but the
- * user has to push the corect schema type. Because usualy the backends
- * are not list/union aware, there would be not performance win from this.
- * If interest rises for this, support should be added.
- *
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 14, 2003
- */
-public interface XMLStreamReaderExt
-    extends XMLStreamReader
-{
-     public static final int WS_PRESERVE = XmlWhitespace.WS_PRESERVE;
-     public static final int WS_REPLACE = XmlWhitespace.WS_REPLACE;
-     public static final int WS_COLLAPSE = XmlWhitespace.WS_COLLAPSE;
-
-    /** Returns the value as a {@link String}. */
-    public String getStringValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link String}, with wsStyle applied. */
-    public String getStringValue(int wsStyle) throws XMLStreamException;
-
-    /** Returns the value as a boolean. */
-    public boolean getBooleanValue() throws XMLStreamException;
-
-    /** Returns the value as a byte. */
-    public byte getByteValue() throws XMLStreamException;
-
-    /** Returns the value as a short. */
-    public short getShortValue() throws XMLStreamException;
-
-    /** Returns the value as an int. */
-    public int getIntValue() throws XMLStreamException;
-
-    /** Returns the value as a long. */
-    public long getLongValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigInteger}. */
-    public BigInteger getBigIntegerValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigDecimal}. */
-    public BigDecimal getBigDecimalValue() throws XMLStreamException;
-
-    /** Returns the value as a float. */
-    public float getFloatValue() throws XMLStreamException;
-
-    /** Returns the value as a double. */
-    public double getDoubleValue() throws XMLStreamException;
-
-    /** Returns the decoded hexbinary value as an InputStream. */
-    public InputStream getHexBinaryValue() throws XMLStreamException;
-
-    /** Returns the decoded base64 value as anInputStream. */
-    public InputStream getBase64Value() throws XMLStreamException;
-
-    /** Returns the value as an XmlCalendar which extends {@link java.util.Calendar}. */
-    public XmlCalendar getCalendarValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link java.util.Date}. */
-    public Date getDateValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDate}. */
-    public GDate getGDateValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDuration}. */
-    public GDuration getGDurationValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link javax.xml.namespace.QName}. */
-    public QName getQNameValue() throws XMLStreamException;
-
-    /** Returns the value as a {@link String}. */
-    public String getAttributeStringValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link String}, with wsStyle applied. */
-    public String getAttributeStringValue(int index, int wsStyle) throws XMLStreamException;
-
-    /** Returns the value as a boolean. */
-    public boolean getAttributeBooleanValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a byte. */
-    public byte getAttributeByteValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a short. */
-    public short getAttributeShortValue(int index) throws XMLStreamException;
-
-    /** Returns the value as an int. */
-    public int getAttributeIntValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a long. */
-    public long getAttributeLongValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigInteger}. */
-    public BigInteger getAttributeBigIntegerValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigDecimal}. */
-    public BigDecimal getAttributeBigDecimalValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a float. */
-    public float getAttributeFloatValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a double. */
-    public double getAttributeDoubleValue(int index) throws XMLStreamException;
-
-    /** Returns the decoded hexbinary value as an InputStream. */
-    public InputStream getAttributeHexBinaryValue(int index) throws XMLStreamException;
-
-    /** Returns the decoded base64 value as anInputStream. */
-    public InputStream getAttributeBase64Value(int index) throws XMLStreamException;
-
-    /** Returns the value as an XmlCalendar which extends {@link java.util.Calendar}. */
-    public XmlCalendar getAttributeCalendarValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.util.Date}. */
-    public Date getAttributeDateValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDate}. */
-    public GDate getAttributeGDateValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDuration}. */
-    public GDuration getAttributeGDurationValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link javax.xml.namespace.QName}. */
-    public QName getAttributeQNameValue(int index) throws XMLStreamException;
-
-    /** Returns the value as a {@link String}. */
-    public String getAttributeStringValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link String}, with wsStyle applied. */
-    public String getAttributeStringValue(String uri, String local, int wsStyle) throws XMLStreamException;
-
-    /** Returns the value as a boolean. */
-    public boolean getAttributeBooleanValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a byte. */
-    public byte getAttributeByteValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a short. */
-    public short getAttributeShortValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as an int. */
-    public int getAttributeIntValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a long. */
-    public long getAttributeLongValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigInteger}. */
-    public BigInteger getAttributeBigIntegerValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.math.BigDecimal}. */
-    public BigDecimal getAttributeBigDecimalValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a float. */
-    public float getAttributeFloatValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a double. */
-    public double getAttributeDoubleValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the decoded hexbinary value as an InputStream. */
-    public InputStream getAttributeHexBinaryValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the decoded base64 value as anInputStream. */
-    public InputStream getAttributeBase64Value(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as an XmlCalendar which extends {@link java.util.Calendar}. */
-    public XmlCalendar getAttributeCalendarValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link java.util.Date}. */
-    public Date getAttributeDateValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDate}. */
-    public GDate getAttributeGDateValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link org.apache.xmlbeans.GDuration}. */
-    public GDuration getAttributeGDurationValue(String uri, String local) throws XMLStreamException;
-
-    /** Returns the value as a {@link javax.xml.namespace.QName}. */
-    public QName getAttributeQNameValue(String uri, String local) throws XMLStreamException;
-
-    /** Sets the default value for the next getXXXValue() call.
-     *  For example:
-     *     setDefaultValue("7");
-     *     //the xml looks like: <int>  </int>
-     *     int i = getIntValue(); // returns 7
-     *     // from now on the default value will not apply anymore
-     * Note: Works for getAttributeXXXValue(...) too.
-     */
-    public void setDefaultValue(String defaultValue) throws XMLStreamException;
-}
diff --git a/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExtImpl.java b/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExtImpl.java
deleted file mode 100644
index 8ed99a5..0000000
--- a/v2/src/marshal/org/apache/xmlbeans/impl/richParser/XMLStreamReaderExtImpl.java
+++ /dev/null
@@ -1,1332 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.richParser;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-import org.apache.xmlbeans.impl.util.Base64;
-import org.apache.xmlbeans.impl.util.HexBin;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.Location;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Date;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 17, 2003
- */
-public class XMLStreamReaderExtImpl
-    implements XMLStreamReaderExt
-{
-    private final XMLStreamReader _xmlStream;
-    private final CharSeqTrimWS _charSeq;
-    private String _defaultValue;
-
-    public XMLStreamReaderExtImpl(XMLStreamReader xmlStream)
-    {
-        if (xmlStream==null)
-            throw new IllegalArgumentException();
-
-        _xmlStream = xmlStream;
-        _charSeq = new CharSeqTrimWS(this);
-    }
-
-    public XMLStreamReader getUnderlyingXmlStream()
-    {
-        return _xmlStream;
-    }
-
-    // XMLStreamReaderExt methods
-    public String getStringValue()
-        throws XMLStreamException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_PRESERVE);
-        return _charSeq.toString();
-    }
-
-    public String getStringValue(int wsStyle)
-        throws XMLStreamException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_PRESERVE);
-        //REVIEW zieg 2004-01-11 - we should write a collapse method
-        //that takes a CharSequence to void creating this extra String object
-        return XmlWhitespace.collapse(_charSeq.toString(), wsStyle);
-    }
-
-    public boolean getBooleanValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexBoolean(_charSeq);
-        }
-        catch(InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public byte getByteValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexByte(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public short getShortValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexShort(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public int getIntValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexInt(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public long getLongValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexLong(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigInteger getBigIntegerValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexInteger(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigDecimal getBigDecimalValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexDecimal(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public float getFloatValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexFloat(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public double getDoubleValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexDouble(_charSeq);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public InputStream getHexBinaryValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        String text = _charSeq.toString();
-        byte[] buf = HexBin.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid hexBinary value", _charSeq.getLocation());
-    }
-
-    public InputStream getBase64Value()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        String text = _charSeq.toString();
-        byte[] buf = Base64.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid base64Binary value", _charSeq.getLocation());
-    }
-
-    public XmlCalendar getCalendarValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return new GDateBuilder(_charSeq).getCalendar();
-        }
-        catch( IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public Date getDateValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return new GDateBuilder(_charSeq).getDate();
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDate getGDateValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexGDate(_charSeq);
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDuration getGDurationValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return new GDuration(_charSeq);
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public QName getQNameValue()
-        throws XMLStreamException, InvalidLexicalValueException
-    {
-        _charSeq.reload(CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexQName(_charSeq, _xmlStream.getNamespaceContext());
-        }
-        catch(InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e.getMessage(), _charSeq.getLocation());
-        }
-    }
-
-    public String getAttributeStringValue(int index) throws XMLStreamException
-    {
-        return _xmlStream.getAttributeValue(index);
-    }
-
-    public String getAttributeStringValue(int index, int wsStyle) throws XMLStreamException
-    {
-        return XmlWhitespace.collapse(_xmlStream.getAttributeValue(index), wsStyle);
-    }
-
-    public boolean getAttributeBooleanValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexBoolean(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public byte getAttributeByteValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexByte(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public short getAttributeShortValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexShort(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public int getAttributeIntValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexInt(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public long getAttributeLongValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexLong(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigInteger getAttributeBigIntegerValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexInteger(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigDecimal getAttributeBigDecimalValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexDecimal(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public float getAttributeFloatValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexFloat(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public double getAttributeDoubleValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexDouble(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public InputStream getAttributeHexBinaryValue(int index) throws XMLStreamException
-    {
-        String text = _charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM).toString();
-        byte[] buf = HexBin.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid hexBinary value", _charSeq.getLocation());
-    }
-
-    public InputStream getAttributeBase64Value(int index) throws XMLStreamException
-    {
-        String text = _charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM).toString();
-        byte[] buf = Base64.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid base64Binary value", _charSeq.getLocation());
-    }
-
-    public XmlCalendar getAttributeCalendarValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return new GDateBuilder(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM)).
-                getCalendar();
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public Date getAttributeDateValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return new GDateBuilder(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM))
-                .getDate();
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDate getAttributeGDateValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return new GDate(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDuration getAttributeGDurationValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return new GDuration(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public QName getAttributeQNameValue(int index) throws XMLStreamException
-    {
-        try
-        {
-            return XsTypeConverter.lexQName(_charSeq.reloadAtt(index, CharSeqTrimWS.XMLWHITESPACE_TRIM),
-                _xmlStream.getNamespaceContext());
-        }
-        catch(InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e.getMessage(), _charSeq.getLocation());
-        }
-    }
-
-    public String getAttributeStringValue(String uri, String local) throws XMLStreamException
-    {
-        return _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_PRESERVE).toString();
-    }
-
-    public String getAttributeStringValue(String uri, String local, int wsStyle) throws XMLStreamException
-    {
-        return XmlWhitespace.collapse(_xmlStream.getAttributeValue(uri, local), wsStyle);
-    }
-
-    public boolean getAttributeBooleanValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexBoolean(cs);
-        }
-        catch(InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public byte getAttributeByteValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexByte(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public short getAttributeShortValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexShort(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public int getAttributeIntValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexInt(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public long getAttributeLongValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexLong(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigInteger getAttributeBigIntegerValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexInteger(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public BigDecimal getAttributeBigDecimalValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexDecimal(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public float getAttributeFloatValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexFloat(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public double getAttributeDoubleValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexDouble(cs);
-        }
-        catch(NumberFormatException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public InputStream getAttributeHexBinaryValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        String text = cs.toString();
-        byte[] buf = HexBin.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid hexBinary value", _charSeq.getLocation());
-    }
-
-    public InputStream getAttributeBase64Value(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        String text = cs.toString();
-        byte[] buf = Base64.decode(text.getBytes());
-        if (buf!=null)
-            return new ByteArrayInputStream(buf);
-        else
-            throw new InvalidLexicalValueException("invalid base64Binary value", _charSeq.getLocation());
-    }
-
-    public XmlCalendar getAttributeCalendarValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return new GDateBuilder(cs).getCalendar();
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public Date getAttributeDateValue(String uri, String local) throws XMLStreamException
-    {
-        try
-        {
-            CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-            return new GDateBuilder(cs).getDate();
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDate getAttributeGDateValue(String uri, String local) throws XMLStreamException
-    {
-        try
-        {
-            CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-            return new GDate(cs);
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public GDuration getAttributeGDurationValue(String uri, String local) throws XMLStreamException
-    {
-        try
-        {
-            return new GDuration(_charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM));
-        }
-        catch(IllegalArgumentException e)
-        {
-            throw new InvalidLexicalValueException(e, _charSeq.getLocation());
-        }
-    }
-
-    public QName getAttributeQNameValue(String uri, String local) throws XMLStreamException
-    {
-        CharSequence cs = _charSeq.reloadAtt(uri, local, CharSeqTrimWS.XMLWHITESPACE_TRIM);
-        try
-        {
-            return XsTypeConverter.lexQName(cs, _xmlStream.getNamespaceContext());
-        }
-        catch (InvalidLexicalValueException e)
-        {
-            throw new InvalidLexicalValueException(e.getMessage(), _charSeq.getLocation());
-        }
-    }
-
-    public void setDefaultValue(String defaultValue) throws XMLStreamException
-    {
-        _defaultValue = defaultValue;
-    }
-
-    /**
-     * Only trims the XML whaitspace at edges, it should not be used for WS collapse
-     * Used for int, short, byte
-     */
-    private static class CharSeqTrimWS
-        implements CharSequence
-    {
-        final static int XMLWHITESPACE_PRESERVE = 1;
-        final static int XMLWHITESPACE_TRIM = 2;
-
-        private static int INITIAL_SIZE = 100;
-        private char[] _buf = new char[INITIAL_SIZE];
-        private int _start, _length = 0;
-        private int _nonWSStart = 0;
-        private int _nonWSEnd = 0;
-        private String _toStringValue;
-        private XMLStreamReaderExtImpl _xmlSteam;
-        private boolean _supportForGetTextCharacters = true;
-        private final ExtLocation _location;
-        private boolean _hasText;
-
-        CharSeqTrimWS(XMLStreamReaderExtImpl xmlSteam)
-        {
-            _xmlSteam = xmlSteam;
-            _location = new ExtLocation();
-        }
-
-        void reload(int style)
-            throws XMLStreamException
-        {
-            _toStringValue = null;
-            _location.reset();
-            _hasText = false;
-
-            fillBuffer();
-
-            if (style==XMLWHITESPACE_PRESERVE)
-            {
-                _nonWSStart = 0;
-                _nonWSEnd = _length;
-
-                // takes defaultValue only if there wasn't any text
-                if (!_hasText && _xmlSteam._defaultValue!=null)
-                {
-                    _length = 0;
-                    fillBufferFromString(_xmlSteam._defaultValue);
-                }
-            }
-            else if (style==XMLWHITESPACE_TRIM)
-            {
-                for (_nonWSStart=0; _nonWSStart<_length; _nonWSStart++)
-                    if (!XMLChar.isSpace(_buf[_nonWSStart]))
-                        break;
-                for (_nonWSEnd=_length; _nonWSEnd>_nonWSStart; _nonWSEnd--)
-                    if (!XMLChar.isSpace(_buf[_nonWSEnd-1]))
-                        break;
-
-                // takes defaultValue if length after triming is 0
-                if (length()==0 && _xmlSteam._defaultValue!=null)
-                {
-                    _length = 0;
-                    fillBufferFromString(_xmlSteam._defaultValue);
-
-                    //apply whispace rule on the default value
-                    for (_nonWSStart=0; _nonWSStart<_length; _nonWSStart++)
-                        if (!XMLChar.isSpace(_buf[_nonWSStart]))
-                            break;
-                    for (_nonWSEnd=_length; _nonWSEnd>_nonWSStart; _nonWSEnd--)
-                        if (!XMLChar.isSpace(_buf[_nonWSEnd-1]))
-                            break;
-                }
-            }
-            _xmlSteam._defaultValue = null;
-        }
-
-        private void fillBuffer()
-            throws XMLStreamException
-        {
-            _length = 0;
-
-            if (_xmlSteam.getEventType() == XMLStreamReader.START_DOCUMENT)
-                _xmlSteam.next();
-            if (_xmlSteam.isStartElement())
-                _xmlSteam.next();
-
-            int depth = 0;
-            String error = null;
-            int eventType = _xmlSteam.getEventType();
-
-            loop:
-            while(true)
-            {
-                switch(eventType)
-                {
-                case XMLStreamReader.CDATA:
-                case XMLStreamReader.CHARACTERS:
-                case XMLStreamReader.SPACE:
-                    _location.set(_xmlSteam.getLocation());
-
-                    if (depth==0)
-                        addTextToBuffer();
-
-                    break;
-
-                case XMLStreamReader.ATTRIBUTE:
-                case XMLStreamReader.COMMENT:
-                case XMLStreamReader.DTD:
-                case XMLStreamReader.ENTITY_DECLARATION:
-                case XMLStreamReader.NAMESPACE:
-                case XMLStreamReader.NOTATION_DECLARATION:
-                case XMLStreamReader.PROCESSING_INSTRUCTION:
-                case XMLStreamReader.START_DOCUMENT:
-                    // ignore
-                    break;
-
-                case XMLStreamReader.END_DOCUMENT:
-                    _location.set(_xmlSteam.getLocation());
-
-                    break loop;
-
-                case XMLStreamReader.END_ELEMENT:
-                    _location.set(_xmlSteam.getLocation());
-                    depth--;
-                    if (depth<0)
-                        break loop;
-                    break;
-
-                case XMLStreamReader.ENTITY_REFERENCE:
-                    _location.set(_xmlSteam.getLocation());
-
-                    addEntityToBuffer();
-                    break;
-
-                case XMLStreamReader.START_ELEMENT:
-                    depth++;
-                    error = "Unexpected element '" + _xmlSteam.getName() + "' in text content.";
-                    _location.set(_xmlSteam.getLocation());
-
-                    break;
-                }
-                eventType = _xmlSteam.next();
-            }
-            if (error!=null)
-                throw new XMLStreamException(error);
-        }
-
-        private void ensureBufferLength(int lengthToAdd)
-        {
-            if (_length + lengthToAdd>_buf.length)
-            {
-                char[] newBuf = new char[_length + lengthToAdd];
-                if (_length>0)
-                    System.arraycopy(_buf, 0, newBuf, 0, _length);
-                _buf = newBuf;
-            }
-        }
-
-        private void fillBufferFromString(CharSequence value)
-        {
-            int textLength = value.length();
-            ensureBufferLength(textLength);
-
-            for (int i=0; i<textLength; i++)
-            {
-                _buf[i] = value.charAt(i);
-            }
-            _length = textLength;
-        }
-
-        private void addTextToBuffer()
-        {
-            _hasText = true;
-            int textLength = _xmlSteam.getTextLength();
-            ensureBufferLength(textLength);
-
-            if (_supportForGetTextCharacters)
-                try
-                {
-                    _length = _xmlSteam.getTextCharacters(0, _buf, _length, textLength);
-                }
-                catch(Exception e)
-                {
-                    _supportForGetTextCharacters = false;
-                }
-
-            if(!_supportForGetTextCharacters)
-            {
-                System.arraycopy(_xmlSteam.getTextCharacters(), _xmlSteam.getTextStart(), _buf, _length, textLength);
-                _length = _length + textLength;
-            }
-        }
-
-        private void addEntityToBuffer()
-        {
-            String text = _xmlSteam.getText();
-
-            int textLength = text.length();
-            ensureBufferLength(textLength);
-
-            text.getChars(0, text.length(), _buf, _length);
-            _length = _length + text.length();
-        }
-
-        CharSequence reloadAtt(int index, int style)
-            throws XMLStreamException
-        {
-            _location.reset();
-            _location.set(_xmlSteam.getLocation());
-            String value = _xmlSteam.getAttributeValue(index);
-
-            if (value==null && _xmlSteam._defaultValue!=null)
-                value = _xmlSteam._defaultValue;
-
-            _xmlSteam._defaultValue = null;
-
-            int length = value.length();
-
-            if (style==XMLWHITESPACE_PRESERVE)
-            {
-                return value;
-            }
-            else if (style==XMLWHITESPACE_TRIM)
-            {
-                int nonWSStart, nonWSEnd;
-                for (nonWSStart=0; nonWSStart<length; nonWSStart++)
-                    if (!XMLChar.isSpace(value.charAt(nonWSStart)))
-                        break;
-                for (nonWSEnd=length; nonWSEnd>nonWSStart; nonWSEnd--)
-                    if (!XMLChar.isSpace(value.charAt(nonWSEnd-1)))
-                        break;
-                if (nonWSStart==0 && nonWSEnd==length)
-                    return value;
-                else
-                    return value.subSequence(nonWSStart, nonWSEnd);
-            }
-
-            throw new IllegalStateException("unknown style");
-        }
-
-        CharSequence reloadAtt(String uri, String local, int style)
-            throws XMLStreamException
-        {
-            _location.reset();
-            _location.set(_xmlSteam.getLocation());
-            String value = _xmlSteam.getAttributeValue(uri, local);
-
-            if (value==null && _xmlSteam._defaultValue!=null)
-                value = _xmlSteam._defaultValue;
-
-            _xmlSteam._defaultValue = null;
-
-            int length = value.length();
-
-            if (style==XMLWHITESPACE_PRESERVE)
-            {
-                return value;
-            }
-            else if (style==XMLWHITESPACE_TRIM)
-            {
-                for (_nonWSStart=0; _nonWSStart<length; _nonWSStart++)
-                    if (!XMLChar.isSpace(value.charAt(_nonWSStart)))
-                        break;
-                for (_nonWSEnd=length; _nonWSEnd>_nonWSStart; _nonWSEnd--)
-                    if (!XMLChar.isSpace(value.charAt(_nonWSEnd-1)))
-                        break;
-                if (_nonWSStart==0 && _nonWSEnd==length)
-                    return value;
-                else
-                    return value.subSequence(_nonWSStart, _nonWSEnd);
-            }
-            throw new IllegalStateException("unknown style");
-        }
-
-        Location getLocation()
-        {
-            ExtLocation loc = new ExtLocation();
-            loc.set(_location);
-            return loc;
-        }
-
-        public int length()
-        {
-            return _nonWSEnd - _nonWSStart;
-        }
-
-        public char charAt(int index)
-        {
-            // for each char, this has to be fast, using assert instead of if throw
-            assert (index<_nonWSEnd-_nonWSStart && -1<index) :
-                "Index " + index + " must be >-1 and <" + (_nonWSEnd - _nonWSStart);
-
-            return _buf[_nonWSStart + index];
-        }
-
-        public CharSequence subSequence(int start, int end)
-        {
-            return new String(_buf, _nonWSStart + start, end - start);
-        }
-
-        public String toString()
-        {
-            if (_toStringValue!=null)
-                return _toStringValue;
-
-            _toStringValue = new String(_buf, _nonWSStart, _nonWSEnd - _nonWSStart);
-            return _toStringValue;
-        }
-
-        private static class ExtLocation implements Location
-        {
-            private int _line;
-            private int _col;
-            private int _off;
-            private String _pid;
-            private String _sid;
-            private boolean _isSet;
-
-            ExtLocation()
-            {
-                _isSet = false;
-            }
-
-            public int getLineNumber()
-            {
-                if (_isSet)
-                    return _line;
-                else
-                    throw new IllegalStateException();
-            }
-
-            public int getColumnNumber()
-            {
-                if (_isSet)
-                    return _col;
-                else
-                    throw new IllegalStateException();
-            }
-
-            public int getCharacterOffset()
-            {
-                if (_isSet)
-                    return _off;
-                else
-                    throw new IllegalStateException();
-            }
-
-            public String getPublicId()
-            {
-                if (_isSet)
-                    return _pid;
-                else
-                    throw new IllegalStateException();
-            }
-
-            public String getSystemId()
-            {
-                if (_isSet)
-                    return _sid;
-                else
-                    throw new IllegalStateException();
-            }
-
-            void set(Location loc)
-            {
-                if (_isSet)
-                    return;
-
-                _isSet = true;
-                _line = loc.getLineNumber();
-                _col = loc.getColumnNumber();
-                _off = loc.getCharacterOffset();
-                _pid = loc.getPublicId();
-                _sid = loc.getSystemId();
-            }
-
-            void reset()
-            {
-                _isSet = false;
-            }
-        }
-    }
-
-    // XMLStreamReader methods
-    public Object getProperty(String s)
-        throws IllegalArgumentException
-    {
-        return _xmlStream.getProperty(s);
-    }
-
-    public int next()
-        throws XMLStreamException
-    {
-        return _xmlStream.next();
-    }
-
-    public void require(int i, String s, String s1)
-        throws XMLStreamException
-    {
-        _xmlStream.require(i, s, s1);
-    }
-
-    public String getElementText() throws XMLStreamException
-    {
-        return _xmlStream.getElementText();
-    }
-
-    public int nextTag() throws XMLStreamException
-    {
-        return _xmlStream.nextTag();
-    }
-
-    public boolean hasNext() throws XMLStreamException
-    {
-        return _xmlStream.hasNext();
-    }
-
-    public void close() throws XMLStreamException
-    {
-        _xmlStream.close();
-    }
-
-    public String getNamespaceURI(String s)
-    {
-        return _xmlStream.getNamespaceURI(s);
-    }
-
-    public boolean isStartElement()
-    {
-        return _xmlStream.isStartElement();
-    }
-
-    public boolean isEndElement()
-    {
-        return _xmlStream.isEndElement();
-    }
-
-    public boolean isCharacters()
-    {
-        return _xmlStream.isCharacters();
-    }
-
-    public boolean isWhiteSpace()
-    {
-        return _xmlStream.isWhiteSpace();
-    }
-
-    public String getAttributeValue(String s, String s1)
-    {
-        return _xmlStream.getAttributeValue(s, s1);
-    }
-
-    public int getAttributeCount()
-    {
-        return _xmlStream.getAttributeCount();
-    }
-
-    public QName getAttributeName(int i)
-    {
-        return _xmlStream.getAttributeName(i);
-    }
-
-    public String getAttributeNamespace(int i)
-    {
-        return _xmlStream.getAttributeNamespace(i);
-    }
-
-    public String getAttributeLocalName(int i)
-    {
-        return _xmlStream.getAttributeLocalName(i);
-    }
-
-    public String getAttributePrefix(int i)
-    {
-        return _xmlStream.getAttributePrefix(i);
-    }
-
-    public String getAttributeType(int i)
-    {
-        return _xmlStream.getAttributeType(i);
-    }
-
-    public String getAttributeValue(int i)
-    {
-        return _xmlStream.getAttributeValue(i);
-    }
-
-    public boolean isAttributeSpecified(int i)
-    {
-        return _xmlStream.isAttributeSpecified(i);
-    }
-
-    public int getNamespaceCount()
-    {
-        return _xmlStream.getNamespaceCount();
-    }
-
-    public String getNamespacePrefix(int i)
-    {
-        return _xmlStream.getNamespacePrefix(i);
-    }
-
-    public String getNamespaceURI(int i)
-    {
-        return _xmlStream.getNamespaceURI(i);
-    }
-
-    public NamespaceContext getNamespaceContext()
-    {
-        return _xmlStream.getNamespaceContext();
-    }
-
-    public int getEventType()
-    {
-        return _xmlStream.getEventType();
-    }
-
-    public String getText()
-    {
-        return _xmlStream.getText();
-    }
-
-    public char[] getTextCharacters()
-    {
-        return _xmlStream.getTextCharacters();
-    }
-
-    public int getTextCharacters(int i, char[] chars, int i1, int i2)
-        throws XMLStreamException
-    {
-        return _xmlStream.getTextCharacters(i, chars, i1, i2);
-    }
-
-    public int getTextStart()
-    {
-        return _xmlStream.getTextStart();
-    }
-
-    public int getTextLength()
-    {
-        return _xmlStream.getTextLength();
-    }
-
-    public String getEncoding()
-    {
-        return _xmlStream.getEncoding();
-    }
-
-    public boolean hasText()
-    {
-        return _xmlStream.hasText();
-    }
-
-    public Location getLocation()
-    {
-        return _xmlStream.getLocation();
-    }
-
-    public QName getName()
-    {
-        return _xmlStream.getName();
-    }
-
-    public String getLocalName()
-    {
-        return _xmlStream.getLocalName();
-    }
-
-    public boolean hasName()
-    {
-        return _xmlStream.hasName();
-    }
-
-    public String getNamespaceURI()
-    {
-        return _xmlStream.getNamespaceURI();
-    }
-
-    public String getPrefix()
-    {
-        return _xmlStream.getPrefix();
-    }
-
-    public String getVersion()
-    {
-        return _xmlStream.getVersion();
-    }
-
-    public boolean isStandalone()
-    {
-        return _xmlStream.isStandalone();
-    }
-
-    public boolean standaloneSet()
-    {
-        return _xmlStream.standaloneSet();
-    }
-
-    public String getCharacterEncodingScheme()
-    {
-        return _xmlStream.getCharacterEncodingScheme();
-    }
-
-    public String getPITarget()
-    {
-        return _xmlStream.getPITarget();
-    }
-
-    public String getPIData()
-    {
-        return _xmlStream.getPIData();
-    }
-}
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/CharUtil.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/CharUtil.java
deleted file mode 100755
index f59cf7e..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/CharUtil.java
+++ /dev/null
@@ -1,853 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import java.io.PrintStream;
-
-public final class CharUtil
-{
-    public static CharIterator getThreadLocalCharIterator ( Object src, int off, int cch )
-    {
-        CharIterator charIter = (CharIterator) tl_charIter.get();
-        charIter.init( src, off, cch );
-        return charIter;
-    }
-    
-    public static CharUtil getThreadLocalCharUtil ( )
-    {
-        return (CharUtil) tl_charUtil.get();
-    }
-
-    public static void getString ( StringBuffer sb, Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-
-        if (cch == 0)
-            return;
-
-        if (src instanceof char[])
-            sb.append( (char[]) src, off, cch );
-        else if (src instanceof String)
-        {
-            String s = (String) src;
-            
-            if (off == 0 && cch == s.length())
-                sb.append( (String) src );
-            else
-                sb.append( s.substring( off, off + cch ) );
-        }
-        else
-            ((CharJoin) src).getString( sb, off, cch );
-    }
-    
-    public static void getChars ( char[] chars, int start, Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-        assert chars != null && start >= 0 && start <= chars.length;
-
-        if (cch == 0)
-            return;
-
-        if (src instanceof char[])
-            System.arraycopy( (char[]) src, off, chars, start, cch );
-        else if (src instanceof String)
-            ((String) src).getChars( off, off + cch, chars, start );
-        else
-            ((CharJoin) src).getChars( chars, start, off, cch );
-    }
-    
-    public static String getString ( Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-
-        if (cch == 0)
-            return "";
-
-        if (src instanceof char[])
-            return new String( (char[]) src, off, cch );
-
-        if (src instanceof String)
-        {
-            String s = (String) src;
-
-            if (off == 0 && cch == s.length())
-                return s;
-
-            return s.substring( off, off + cch );
-        }
-
-        StringBuffer sb = new StringBuffer();
-        
-        ((CharJoin) src).getString( sb, off, cch );
-        
-        return sb.toString();
-    }
-
-    public static final boolean isWhiteSpace ( char ch )
-    {
-        switch ( ch )
-        {
-            case ' ': case '\t': case '\n': case '\r': return true;
-            default                                  : return false;
-        }
-    }
-
-    public static final boolean isWhiteSpace ( Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-
-        if (cch > 0)
-        {
-            if (src instanceof char[])
-            {
-                for ( char[] chars = (char[]) src ; cch > 0 ; cch-- )
-                    if (!isWhiteSpace( chars[ off++ ] ))
-                        return false;
-            }
-            else if (src instanceof String)
-            {
-                for ( String s = (String) src ; cch > 0 ; cch-- )
-                    if (!isWhiteSpace( s.charAt( off++ ) ))
-                        return false;
-            }
-            else
-            {
-                CharIterator charIter = getThreadLocalCharIterator( src, off, cch );
-                
-                while ( isWhiteSpace( charIter.currChar() ) && --cch > 0 )
-                    charIter.next();
-
-                if (cch != 0)
-                    return false;
-            }
-        }
-        
-        return true;
-    }
-
-    public Object stripLeft ( Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-
-        if (cch > 0)
-        {
-            if (src instanceof char[])
-            {
-                char[] chars = (char[]) src;
-
-                while ( cch > 0 && isWhiteSpace( chars[ off ] ) )
-                    { cch--; off++; }
-            }
-            else if (src instanceof String)
-            {
-                String s = (String) src;
-
-                while ( cch > 0 && isWhiteSpace( s.charAt( off ) ) )
-                    { cch--; off++; }
-            }
-            else
-            {
-                int oldCch = cch;
-            
-                CharIterator charIter = getThreadLocalCharIterator( src, off, cch );
-                
-                while ( isWhiteSpace( charIter.currChar() ) && --cch > 0 )
-                    charIter.next();
-                
-                off += oldCch - cch;
-            }
-        }
-
-        if (cch == 0)
-        {
-            _offSrc = 0;
-            _cchSrc = 0;
-            
-            return null;
-        }
-
-        _offSrc = off;
-        _cchSrc = cch;
-
-        return src;
-    }
-
-    public Object stripRight ( Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-        
-        if (cch > 0)
-        {
-            int oldCch = cch;
-
-            CharIterator charIter = getThreadLocalCharIterator( src, off, cch );
-            charIter.setPos( cch - 1 );
-
-            while ( isWhiteSpace( charIter.currChar() ) && --cch > 0 )
-                charIter.prev();
-        }
-        
-        if (cch == 0)
-        {
-            _offSrc = 0;
-            _cchSrc = 0;
-            
-            return null;
-        }
-
-        _offSrc = off;
-        _cchSrc = cch;
-
-        return src;
-    }
-    
-    public Object insertChars (
-        int posInsert,
-        Object src, int off, int cch,
-        Object srcInsert, int offInsert, int cchInsert )
-    {
-        assert isValid( src, off, cch );
-        assert isValid( srcInsert, offInsert, cchInsert );
-        assert posInsert >= 0 && posInsert <= cch;
-
-        // TODO - at some point, instead of creating joins, I should
-        // normalize all the text into a single buffer to stop large
-        // tree;s from being built when many modifications happen...
-
-        // TODO - actually, I should see if the size of the new char
-        // sequence is small enough to simply allocate a new contigous
-        // sequence, either in a common char[] managed by the master,
-        // or just create a new string ... this goes for remove chars
-        // as well.
-
-        if (cchInsert == 0)
-        {
-            _cchSrc = cch;
-            _offSrc = off;
-            return src;
-        }
-
-        if (cch == 0)
-        {
-            _cchSrc = cchInsert;
-            _offSrc = offInsert;
-            return srcInsert;
-        }
-
-        _cchSrc = cch + cchInsert;
-
-        Object newSrc;
-
-        if (_cchSrc <= MAX_COPY && canAllocate( _cchSrc ))
-        {
-            char[] chars = allocate( _cchSrc );
-
-            getChars( chars, _offSrc, src, off, posInsert );
-            
-            getChars( chars, _offSrc + posInsert, srcInsert, offInsert, cchInsert );
-            
-            getChars(
-                chars, _offSrc + posInsert + cchInsert, src, off + posInsert, cch - posInsert );
-
-            newSrc = chars;
-        }
-        else
-        {
-            _offSrc = 0;
-
-            CharJoin newJoin;
-
-            if (posInsert == 0)
-                newJoin = new CharJoin( srcInsert, offInsert, cchInsert, src, off, cch );
-            else if (posInsert == cch)
-                newJoin = new CharJoin( src, off, cch, srcInsert, offInsert, cchInsert );
-            else
-            {
-                newJoin =
-                    new CharJoin( 
-                        new CharJoin( src, off, posInsert, srcInsert, offInsert, cchInsert ),
-                        0, posInsert + cchInsert,
-                        src, off + posInsert, cch - posInsert );
-            }
-            
-            if (newJoin._depth > CharJoin.MAX_DEPTH)
-                newSrc = saveChars( newJoin, _offSrc, _cchSrc, null, 0, 0 );
-            else
-                newSrc = newJoin;
-        }
-
-        assert isValid( newSrc, _offSrc, _cchSrc );
-
-        return newSrc;
-    }
-
-    public Object removeChars ( int posRemove, int cchRemove, Object src, int off, int cch )
-    {
-        assert isValid( src, off, cch );
-        assert posRemove >= 0 && posRemove <= cch;
-        assert cchRemove >= 0 && posRemove + cchRemove <= cch;
-
-        Object newSrc;
-
-        _cchSrc = cch - cchRemove;
-        
-        if (_cchSrc == 0)
-        {
-            newSrc = null;
-            _offSrc = 0;
-        }
-        else if (posRemove == 0)
-        {
-            newSrc = src;
-            _offSrc = off + cchRemove;
-        }
-        else if (posRemove + cchRemove == cch)
-        {
-            newSrc = src;
-            _offSrc = off;
-        }
-        else
-        {
-            int cchAfter = cch - cchRemove;
-            
-            if (cchAfter <= MAX_COPY && canAllocate( cchAfter ))
-            {
-                char[] chars = allocate( cchAfter );
-
-                getChars( chars, _offSrc, src, off, posRemove );
-
-                getChars(
-                    chars, _offSrc + posRemove,
-                    src, off + posRemove + cchRemove, cch - posRemove - cchRemove );
-
-                newSrc = chars;
-                _offSrc = _offSrc;
-            }
-            else
-            {
-                CharJoin newJoin =
-                    new CharJoin(
-                        src, off, posRemove,
-                        src, off + posRemove + cchRemove, cch - posRemove - cchRemove );
-
-                if (newJoin._depth > CharJoin.MAX_DEPTH)
-                    newSrc = saveChars( newJoin, 0, _cchSrc, null, 0, 0 );
-                else
-                {
-                    newSrc = newJoin;
-                    _offSrc = 0;
-                }
-            }
-        }
-        
-        assert isValid( newSrc, _offSrc, _cchSrc );
-        
-        return newSrc;
-    }
-
-    private boolean canAllocate ( int cch )
-    {
-        return _currentBuffer == null || _currentBuffer.length - _currentOffset >= cch;
-    }
-    
-    private char[] allocate ( int cch )
-    {
-        assert _currentBuffer == null || _currentBuffer.length - _currentOffset > 0;
-        
-        if (_currentBuffer == null)
-        {
-            _currentBuffer = new char [ Math.max( cch, _charBufSize ) ];
-            _currentOffset = 0;
-        }
-
-        _offSrc = _currentOffset;
-        _cchSrc = Math.min( _currentBuffer.length - _currentOffset, cch );
-
-        char[] retBuf = _currentBuffer;
-
-        if ((_currentOffset += _cchSrc) == _currentBuffer.length)
-        {
-            _currentBuffer = null;
-            _currentOffset = 0;
-        }
-
-        return retBuf;
-    }
-    
-    public Object saveChars (
-        Object src, int off, int cch,
-        Object srcPrev, int offPrev, int cchPrev )
-    {
-        assert isValid( src, off, cch );
-        assert isValid( srcPrev, offPrev, cchPrev );
-
-        char[] srcAlloc = allocate( cch );
-
-        getChars( srcAlloc, _offSrc, src, off, _cchSrc );
-
-        Object srcNew;
-        int offNew;
-
-        if (cchPrev == 0)
-        {
-            srcNew = srcAlloc;
-            offNew = _offSrc;
-        }
-        else if (srcPrev == srcAlloc && offPrev + cchPrev == _offSrc)
-        {
-            srcNew = srcPrev;
-            offNew = offPrev;
-        }
-        else
-        {
-            srcNew = new CharJoin( srcPrev, offPrev, cchPrev, srcAlloc, _offSrc, _cchSrc );
-            offNew = 0;
-        }
-        
-        int cchNew = _cchSrc + cchPrev;
-        
-        int cchR = cch - _cchSrc;
-        
-        if (cchR > 0)
-        {
-            int cchL = _cchSrc;
-
-            srcAlloc = allocate( cchR );
-            
-            assert _cchSrc == cchR;
-            assert _offSrc == 0;
-
-            getChars( srcAlloc, _offSrc, src, off + cchL, _cchSrc );
-
-            srcNew = new CharJoin( srcNew, offNew, cchNew, srcAlloc, _offSrc, cchR );
-            offNew = 0;
-            cchNew += cchR;
-        }
-
-        _offSrc = offNew;
-        _cchSrc = cchNew;
-        
-        assert isValid( srcNew, _offSrc, _cchSrc );
-        
-        return srcNew;
-    }
-
-    private static void dumpText ( PrintStream o, String s )
-    {
-        o.print( "\"" );
-
-        for ( int i = 0 ; i < s.length() ; i++ )
-        {
-            char ch = s.charAt( i );
-
-            if (i == 36)
-            {
-                o.print( "..." );
-                break;
-            }
-
-            if      (ch == '\n') o.print( "\\n" );
-            else if (ch == '\r') o.print( "\\r" );
-            else if (ch == '\t') o.print( "\\t" );
-            else if (ch == '\f') o.print( "\\f" );
-            else if (ch == '\f') o.print( "\\f" );
-            else if (ch == '"' ) o.print( "\\\"" );
-            else                 o.print( ch );
-        }
-
-        o.print( "\"" );
-    }
-
-    public static void dump ( Object src, int off, int cch )
-    {
-        dumpChars( System.out, src, off, cch );
-        System.out.println();
-    }
-    
-    public static void dumpChars ( PrintStream p, Object src, int off, int cch )
-    {
-        p.print( "cch=" + cch + ", off=" + off + ": " );
-        
-        if (src == null)
-            p.print( "<null-src>" );
-        else if (src instanceof String)
-        {
-            String s = (String) src;
-
-            p.print( "String" );
-
-            if (off != 0 || cch != s.length())
-            {
-                p.print( " offf: " + off + ", cch: " + cch );
-
-                if (off < 0 || off > s.length() || off + cch < 0 || off + cch > s.length())
-                {
-                    p.print( " (Error)" );
-                    return;
-                }
-            }
-
-            p.print( ": " );
-            dumpText( p, s.substring( off, off + cch ) );
-        }
-        else if (src instanceof char[])
-        {
-            char[] chars = (char[]) src;
-
-            p.print( "char[]" );
-
-            if (off != 0 || cch != chars.length)
-            {
-                p.print( " off: " + off + ", cch: " + cch );
-
-                if (off < 0 || off > chars.length || off + cch < 0 || off + cch > chars.length)
-                {
-                    p.print( " (Error)" );
-                    return;
-                }
-            }
-
-            p.print( ": " );
-            dumpText( p, new String( chars, off, cch ) );
-        }
-        else if (src instanceof CharJoin)
-        {
-            p.print( "CharJoin" );
-
-            ((CharJoin) src).dumpChars( p, off, cch );
-        }
-        else
-        {
-            p.print( "Unknown text source" );
-        }
-    }
-
-    public static boolean isValid ( Object src, int off, int cch )
-    {
-        if (cch < 0 || off < 0)
-            return false;
-
-        if (src == null)
-            return off == 0 && cch == 0;
-
-        if (src instanceof char[])
-        {
-            char[] c = (char[]) src;
-            return off <= c.length && off + cch <= c.length;
-        }
-
-        if (src instanceof String)
-        {
-            String s = (String) src;
-            return off <= s.length() && off + cch <= s.length();
-        }
-
-        if (src instanceof CharJoin)
-        {
-            return ((CharJoin) src).isValid( off, cch );
-        }
-
-        return false;
-    }
-
-    //
-    // Private stuff
-    //
-    
-    private static final class CharJoin
-    {
-        public CharJoin (
-            Object srcLeft,  int offLeft,  int cchLeft,
-            Object srcRight, int offRight, int cchRight )
-        {
-            _srcLeft  = srcLeft;  _offLeft  = offLeft;  _cchLeft  = cchLeft;
-            _srcRight = srcRight; _offRight = offRight; _cchRight = cchRight;
-
-            int depth = 0;
-            
-            if (srcLeft instanceof CharJoin)
-                depth = ((CharJoin) srcLeft)._depth;
-            
-            if (srcRight instanceof CharJoin)
-            {
-                int rightDepth = ((CharJoin) srcRight)._depth;
-                
-                if (rightDepth > depth)
-                    depth = rightDepth;
-            }
-            
-            _depth = depth;
-
-            assert _depth <= MAX_DEPTH + 1;
-        }
-        
-        final Object _srcLeft;
-        final int    _offLeft;
-        final int    _cchLeft;
-
-        final Object _srcRight;
-        final int    _offRight;
-        final int    _cchRight;
-
-        final int _depth;
-
-        static final int MAX_DEPTH = 64;
-
-        public int length ( ) { return _cchLeft + _cchRight; }
-
-        public boolean isValid ( int off, int cch )
-        {
-            if (off < 0 || cch < 0 || off > length() || off + cch > length())
-                return false;
-
-            if (!CharUtil.isValid( _srcRight, _offRight, _cchRight ))
-                return false;
-
-            if (!CharUtil.isValid( _srcLeft, _offLeft, _cchLeft ))
-                return false;
-
-            return true;
-        }
-
-        private void getString ( StringBuffer sb, int off, int cch )
-        {
-            assert cch > 0;
-            
-            if (off < _cchLeft)
-            {
-                int cchL = _cchLeft - off;
-
-                if (cchL > cch)
-                    cchL = cch;
-
-                CharUtil.getString( sb, _srcLeft, _offLeft + off, cchL );
-
-                cch -= cchL;
-
-                if (cch > 0)
-                    CharUtil.getString( sb, _srcRight, _offRight, cch );
-            }
-            else
-                CharUtil.getString( sb, _srcRight, _offRight + off - _cchLeft, cch );
-        }
-
-        private void getChars ( char[] chars, int start, int off, int cch )
-        {
-            assert cch > 0;
-
-            if (off < _cchLeft)
-            {
-                int cchL = _cchLeft - off;
-
-                if (cchL > cch)
-                    cchL = cch;
-
-                CharUtil.getChars( chars, start, _srcLeft, _offLeft + off, cchL );
-
-                start += cchL;
-                cch -= cchL;
-
-                if (cch > 0)
-                    CharUtil.getChars( chars, start, _srcRight, _offRight, cch );
-            }
-            else
-                CharUtil.getChars( chars, start, _srcRight, _offRight + off - _cchLeft, cch );
-        }
-
-        private void dumpChars( int off, int cch )
-        {
-            dumpChars( System.out, off, cch );
-        }
-        
-        private void dumpChars( PrintStream p, int off, int cch )
-        {
-            p.print( "( " );
-            CharUtil.dumpChars( p, _srcLeft, _offLeft, _cchLeft );
-            p.print( ", " );
-            CharUtil.dumpChars( p, _srcRight, _offRight, _cchRight );
-            p.print( " )" );
-        }
-    }
-    
-    private CharUtil ( int charBufSize )
-    {
-        _charBufSize = charBufSize;
-    }
-
-    public final static class CharIterator
-    {
-        void init ( Object src, int off, int cch )
-        {
-            assert cch > 0;
-            assert isValid( src, off, cch );
-            
-            _src = src;
-            _off = off;
-            _cch = cch;
-
-            _top = -1;
-
-            while ( _src instanceof CharJoin )
-            {
-                CharJoin cj = (CharJoin) _src;
-
-                _joins[ ++_top ] = cj;
-                _poses[   _top ] = 0;
-
-                if (cj._cchLeft > 0)
-                {
-                    _src = cj._srcLeft;
-                    _off = cj._offLeft;
-                    _cch = cj._cchLeft;
-                }
-                else
-                {
-                    _src = cj._srcRight;
-                    _off = cj._offRight;
-                    _cch = cj._cchRight;
-                }
-            }
-
-            _currPos  = 0;
-            _startPos = 0;
-
-            cacheLeaf();
-        }
-
-        char currChar ( )
-        {
-            assert _src instanceof String || _src instanceof char[];
-
-            int index = _off + _currPos - _startPos;
-
-            return _chars == null ? _string.charAt( index ) : _chars[ index ];
-        }
-
-        void prev ( )
-        {
-            setPos( _currPos - 1 );
-        }
-        
-        void next ( )
-        {
-            setPos( _currPos + 1 );
-        }
-
-        void setPos ( final int newPos )
-        {
-            assert newPos >= 0;
-            assert !(_src instanceof CharJoin);
-
-            if (newPos < _startPos || newPos >= _startPos + _cch)
-            {
-                _startPos = _poses[ _top ];
-
-                while ( newPos < _startPos || newPos >= _startPos + _joins[ _top ].length() )
-                {
-                    _joins[ _top-- ] = null;
-                    _startPos = _poses[ _top ];
-                }
-
-                CharJoin cj = _joins[ _top ];
-
-                for ( ; ; )
-                {
-                    if (newPos < _startPos + cj._cchLeft)
-                    {
-                        _src = cj._srcLeft;
-                        _off = cj._offLeft;
-                        _cch = cj._offLeft;
-                    }
-                    else
-                    {
-                        _src = cj._srcRight;
-                        _off = cj._offRight;
-                        _cch = cj._offRight;
-
-                        _startPos += cj._cchLeft;
-                    }
-
-                    if (!(_src instanceof CharJoin))
-                        break;
-
-                    cj = (CharJoin) _src;
-                    
-                    _joins[ ++_top ] = cj;
-                    _poses[   _top ] = _startPos;
-                }
-
-                cacheLeaf();
-            }
-
-            assert newPos >= _startPos && newPos < _startPos + _cch;
-
-            _currPos = newPos;
-        }
-
-        private void cacheLeaf ( )
-        {
-            assert _src instanceof String || _src instanceof char[];
-            
-            if (_src instanceof char[])
-            {
-                _chars = (char[]) _src;
-                _string = null;
-            }
-            else
-            {
-                _string = (String) _src;
-                _chars = null;
-            }
-        }
-            
-        private Object _src;
-        private int    _off;
-        private int    _cch;
-        
-        private int    _startPos;
-        private int    _currPos;
-
-        private String _string;
-        private char[] _chars;
-        
-        private CharJoin[] _joins = new CharJoin[ CharJoin.MAX_DEPTH + 1 ];
-        private int[]      _poses = new int     [ CharJoin.MAX_DEPTH + 1 ];
-        private int        _top;
-    }
-    
-    private static ThreadLocal tl_charUtil =
-        new ThreadLocal() { protected Object initialValue() { return new CharUtil( 1024 * 32 ); } };
-
-    private static ThreadLocal tl_charIter =
-        new ThreadLocal() { protected Object initialValue() { return new CharIterator(); } };
-    
-    private static final int MAX_COPY = 8;
-//    private static final int MAX_COPY = 64;
-
-    // Current char buffer we're allcoating new chars to
-
-    private int    _charBufSize;
-    private int    _currentOffset;
-    private char[] _currentBuffer;
-    
-    // These members are used to communicate offset and character count
-    // information back to a caller of various methods on CharUtil.
-    // Usually, the methods returns the src Object, and these two hold
-    // the offset and the char count.
-    
-    public int _offSrc;
-    public int _cchSrc;
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java
deleted file mode 100755
index bd04d8f..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java
+++ /dev/null
@@ -1,5032 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import org.w3c.dom.Attr;
-import org.w3c.dom.CDATASection;
-import org.w3c.dom.CharacterData;
-import org.w3c.dom.Comment;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.DocumentType;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Element;
-import org.w3c.dom.EntityReference;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.ProcessingInstruction;
-import org.w3c.dom.Text;
-import org.w3c.dom.DOMImplementation;
-
-// DOM Level 3
-import org.w3c.dom.UserDataHandler;
-import org.w3c.dom.DOMConfiguration;
-import org.w3c.dom.TypeInfo;
-
-import javax.xml.soap.Detail;
-import javax.xml.soap.DetailEntry;
-import javax.xml.soap.MimeHeaders;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPBody;
-import javax.xml.soap.SOAPBodyElement;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPEnvelope;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPFault;
-import javax.xml.soap.SOAPHeader;
-import javax.xml.soap.SOAPHeaderElement;
-import javax.xml.soap.SOAPPart;
-import javax.xml.soap.SOAPFaultElement;
-
-import javax.xml.transform.Source;
-
-import java.io.PrintStream;
-
-import java.util.Iterator;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.xmlbeans.impl.newstore2.Locale.LoadContext;
-
-import org.apache.xmlbeans.impl.newstore2.DomImpl.Dom;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.CharNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.TextNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.CdataNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.SaajTextNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.SaajCdataNode;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.QNameSet;
-
-import org.apache.xmlbeans.impl.values.TypeStore;
-import org.apache.xmlbeans.impl.values.TypeStoreUser;
-import org.apache.xmlbeans.impl.values.TypeStoreVisitor;
-import org.apache.xmlbeans.impl.values.TypeStoreUserFactory;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlLocale;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-final class Cur
-{
-    static final int TEMP = 0;
-    static final int PERM = 1;
-    static final int WEAK = 2;
-
-    static final int TEXT     = 0; // Must be 0
-    static final int ROOT     = 1;
-    static final int ELEM     = 2;
-    static final int ATTR     = 3;
-    static final int COMMENT  = 4;
-    static final int PROCINST = 5;
-
-    static final int POOLED       = 0;
-    static final int UNREGISTERED = 1;
-    static final int REGISTERED   = 2;
-    static final int EMBEDDED     = 3;
-    static final int DISPOSED     = 4;
-
-    private static final int END_POS = -1;
-    private static final int NO_POS  = -2;
-    
-    Cur ( Locale l )
-    {
-        _locale = l;
-        _pos = NO_POS;
-        _state = UNREGISTERED;
-
-        // BUGBUG -- locations should be thread local ... cursors cannot be used by multiple 
-        // threads ...
-        
-        _locations = _locale._locations;
-        
-        _textLocations = -1;
-        _stackTop = -1;
-        _selectionFirst = -1;
-        _selectionN = -1;
-        _selectionNth = -1;
-        
-        assert isNormal();
-    }
-
-    boolean isPositioned ( ) { assert isNormal(); return _xobj != null; }
-
-    static boolean kindIsContainer ( int k ) { return k ==  ELEM || k ==  ROOT; }
-    static boolean kindIsFinish    ( int k ) { return k == -ELEM || k == -ROOT; }
-    static boolean kindIsUserNode  ( int k ) { return k ==  ELEM || k ==  ATTR || k == ROOT; }
-    
-    int kind ( )
-    {
-        assert isPositioned();
-        return _pos == 0 ? _xobj.kind() : _pos == END_POS ? -_xobj.kind() : TEXT;
-    }
-
-    boolean isRoot      ( ) { assert isPositioned(); return _pos == 0 && _xobj.kind() == ROOT;     }
-    boolean isElem      ( ) { assert isPositioned(); return _pos == 0 && _xobj.kind() == ELEM;     }
-    boolean isAttr      ( ) { assert isPositioned(); return _pos == 0 && _xobj.kind() == ATTR;     }
-    boolean isComment   ( ) { assert isPositioned(); return _pos == 0 && _xobj.kind() == COMMENT;  }
-    boolean isProcinst  ( ) { assert isPositioned(); return _pos == 0 && _xobj.kind() == PROCINST; }
-    boolean isText      ( ) { assert isPositioned(); return _pos > 0; }
-    boolean isEnd       ( ) { assert isPositioned(); return _pos == END_POS && _xobj.kind() ==ELEM;}
-    boolean isNode      ( ) { assert isPositioned(); return _pos == 0; }
-    boolean isContainer ( ) { assert isPositioned(); return _pos == 0       && kindIsContainer( _xobj.kind() ); }
-    boolean isFinish    ( ) { assert isPositioned(); return _pos == END_POS && kindIsContainer( _xobj.kind() ); }
-    boolean isUserNode  ( ) { assert isPositioned(); return _pos == 0       && kindIsUserNode ( _xobj.kind() ); }
-    
-    boolean isNormalAttr ( ) { assert isNode(); return _xobj.isNormalAttr(); }
-    boolean isXmlns      ( ) { assert isNode(); return _xobj.isXmlns(); }
-
-    QName   getName  ( ) { assert isNode() || isEnd(); return _xobj._name; }
-    String  getLocal ( ) { return getName().getLocalPart(); }
-    String  getUri   ( ) { return getName().getNamespaceURI(); }
-
-    String  getXmlnsPrefix ( ) { assert isXmlns(); return _xobj.getXmlnsPrefix(); }
-    String  getXmlnsUri    ( ) { assert isXmlns(); return _xobj.getXmlnsUri(); }
-
-    boolean isDomDocRoot  ( ) { return isRoot() && _xobj.getDom() instanceof Document; }
-    boolean isDomFragRoot ( ) { return isRoot() && _xobj.getDom() instanceof DocumentFragment; }
-
-    private int cchRight ( ) { assert isPositioned(); return _xobj.cchRight( _pos ); }
-    
-    private int cchLeft ( )
-    {
-        assert isPositioned();
-
-        Xobj x = getDenormal();
-
-        int pa = x.posAfter();
-
-        return _posTemp - (_posTemp < pa ? 1 : pa);
-    }
-
-    //
-    // Creation methods
-    //
-
-    void createRoot ( )
-    {
-        createDomDocFragRoot();
-    }
-    
-    void createDomDocFragRoot ( )
-    {
-        moveTo( new DocumentFragXobj( _locale ) );
-    }
-    
-    void createDomDocumentRoot ( )
-    {
-        moveTo( createDomDocumentRootXobj( _locale ) );
-    }
-    
-    void createAttr ( QName name )
-    {
-        createHelper( new AttrXobj( _locale, name ) );
-    }
-    
-    void createComment ( )
-    {
-        createHelper( new CommentXobj( _locale ) );
-    }
-    
-    void createProcinst ( String target )
-    {
-        createHelper( new ProcInstXobj( _locale, target ) );
-    }
-    
-    void createElement ( QName name )
-    {
-        createElement( name, null );
-    }
-    
-    void createElement ( QName name, QName parentName )
-    {
-        createHelper( createElementXobj( _locale, name, parentName ) );
-    }
-
-    static Xobj createDomDocumentRootXobj ( Locale l )
-    {
-        Xobj xo;
-
-        if (l._saaj == null)
-            xo = new DocumentXobj( l );
-        else
-            xo = new SoapPartDocXobj( l );
-        
-        if (l._ownerDoc == null)
-            l._ownerDoc = xo.getDom();
-
-        return xo;
-    }
-
-    static Xobj createElementXobj ( Locale l, QName name, QName parentName )
-    {
-        if (l._saaj == null)
-            return new ElementXobj( l, name );
-        
-        Class c = l._saaj.identifyElement( name, parentName );
-
-        if (c == SOAPElement.class)       return new SoapElementXobj       ( l, name );
-        if (c == SOAPBody.class)          return new SoapBodyXobj          ( l, name );
-        if (c == SOAPBodyElement.class)   return new SoapBodyElementXobj   ( l, name );
-        if (c == SOAPEnvelope.class)      return new SoapEnvelopeXobj      ( l, name );
-        if (c == SOAPHeader.class)        return new SoapHeaderXobj        ( l, name );
-        if (c == SOAPHeaderElement.class) return new SoapHeaderElementXobj ( l, name );
-        if (c == SOAPFaultElement.class)  return new SoapFaultElementXobj  ( l, name );
-        if (c == Detail.class)            return new DetailXobj            ( l, name );
-        if (c == DetailEntry.class)       return new DetailEntryXobj       ( l, name );
-        if (c == SOAPFault.class)         return new SoapFaultXobj         ( l, name );
-        
-        throw new IllegalStateException( "Unknown SAAJ element class: " + c );
-    }
-            
-    private void createHelper ( Xobj x )
-    {
-        assert x._locale == _locale;
-
-        // insert the new Xobj into an exisiting tree.
-        
-        if (isPositioned())
-        {
-            Cur from = tempCur( x, 0 );
-            from.moveNode( this );
-            from.release();
-        }
-
-        moveTo( x );
-    }
-    
-    //
-    // General operations
-    //
-
-    boolean isSamePos ( Cur that )
-    {
-        assert isNormal() && that.isNormal();
-        
-        return _xobj == that._xobj && _pos == that._pos;
-    }
-    
-    boolean isJustAfterEnd ( Cur that )
-    {
-        assert isNormal() && that.isNormal() && that.isNode();
-
-        if (_xobj == that._xobj)
-            return _pos == that._xobj.posAfter();
-
-        return getDenormal() == that._xobj && _posTemp == that._xobj.posAfter();
-    }
-    
-    boolean isAtEndOf ( Cur that )
-    {
-        assert isNormal() && that.isNormal() && that.isNode();
-
-        return _xobj == that._xobj && _pos == END_POS;
-    }
-
-    void setName ( QName newName )
-    {
-        assert isNode() && newName != null;
-
-        _xobj.setName( newName );
-    }
-    
-    void changeLocale ( Locale newLocale )
-    {
-        assert newLocale != _locale;
-
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    private void moveTo ( Xobj x )
-    {
-        moveTo( x, 0 );
-    }
-    
-    private void moveTo ( Xobj x, int p )
-    {
-        assert x == null || _locale == x._locale; // TODO - make this work across locals
-        
-        // This cursor may not be normalized upon entry, don't assert isNormal() here
-        
-        assert x != null || p == NO_POS;
-        assert x == null || x.isNormal( p );
-        
-        assert _state == UNREGISTERED || _state == REGISTERED || _state == EMBEDDED;
-
-        assert _state != REGISTERED || (_xobj == null || !isOnList( _xobj._embedded ));
-        assert _state != REGISTERED || _curKind != PERM;
-
-        if (_state == UNREGISTERED)
-        {
-            assert _xobj == null || !isOnList( _xobj._embedded );
-            assert !isOnList( _locale._registered );
-
-            if (x != null)
-            {
-                if (_curKind == PERM)
-                {
-                    x._embedded = listInsert( x._embedded );
-                    _state = EMBEDDED;
-                }
-                else if (p > 0)
-                {
-                    _locale._registered = listInsert( _locale._registered );
-                    _state = REGISTERED;
-                }
-            }
-        }
-        else if (_state == EMBEDDED)
-        {
-            assert _xobj != null && isOnList( _xobj._embedded );
-
-            if (x != _xobj)
-            {
-                _xobj._embedded = listRemove( _xobj._embedded );
-
-                if (x != null)
-                {
-                    if (_curKind == PERM)
-                    {
-                        x._embedded = listInsert( x._embedded );
-                    }
-                    else if (p > 0)
-                    {
-                        _locale._registered = listInsert( _locale._registered );
-                        _state = REGISTERED;
-                    }
-                    else
-                    {
-                        _state = UNREGISTERED;
-                    }
-                }
-                else
-                {
-                    _state = UNREGISTERED;
-                }
-            }
-        }
-        
-        _xobj = x;
-        _pos = p;
-
-// TODO - I don't think the following condition can be met (code above prohibits it), so I took
-// this out ... remove permanently later if no problems exist...  Basically, this cur will
-// never be un the unregistered state if p > 0 by the time I get here
-//
-//        if (p > 0 && _state == UNREGISTERED)
-//            registerForTextChange();
-
-        assert isNormal();
-    }
-
-    void embed ( )
-    {
-        assert isNormal();
-        assert _state == REGISTERED;
-
-        _locale._registered = listRemove( _locale._registered );
-
-        if (_pos > 0)
-        {
-            _xobj._embedded = listInsert( _xobj._embedded );
-            _state = EMBEDDED;
-        }
-        else
-            _state = UNREGISTERED;
-    }
-
-    void moveToCur ( Cur to )
-    {
-        assert isNormal();
-        assert to == null || to.isNormal();
-        
-        if (to == null)
-            moveTo( null, NO_POS );
-        else
-            moveTo( to._xobj, to._pos );
-    }
-
-    void moveToDom ( Dom d )
-    {
-        assert _locale == d.locale(); // TODO - multiple locals
-        assert d instanceof Xobj || d instanceof SoapPartDom;
-        assert d.locale() == _locale;
-
-        moveTo( d instanceof Xobj ? (Xobj) d : ((SoapPartDom) d)._docXobj );
-    }
-
-    static final class Locations
-    {
-        Locations ( )
-        {
-            _xobjs = new Xobj [ _initialSize ];
-            _ints  = new int  [ _initialSize ];
-            _curs  = new Cur  [ _initialSize ];
-            _next  = new int  [ _initialSize ];
-            _prev  = new int  [ _initialSize ];
-            _nextT = new int  [ _initialSize ];
-            _prevT = new int  [ _initialSize ];
-
-            _next [ _initialSize - 1 ] = -1;
-
-            for ( int i = _initialSize - 2 ; i >= 0 ; i-- )
-            {
-                _next  [ i ] = i + 1;
-                _prev  [ i ] = -1;
-                _nextT [ i ] = -1;
-                _prevT [ i ] = -1;
-                _ints  [ i ] = -1;
-            }
-
-            _free = 0;
-        }
-
-        boolean isSamePos ( int i, Cur c )
-        {
-            if (_curs[ i ] == null)
-                return c._xobj == _xobjs[ i ] && c._pos == _ints[ i ];
-            else
-                return c.isSamePos( _curs[ i ] );
-        }
-        
-        boolean isAtEndOf ( int i, Cur c )
-        {
-            assert _ints[ i ] == 0;
-            
-            if (_curs[ i ] == null)
-                return c._xobj == _xobjs[ i ] && c._pos == END_POS;
-            else
-                return c.isAtEndOf( _curs[ i ] );
-        }
-
-        void moveTo ( int i, Cur c )
-        {
-            if (_curs[ i ] == null)
-                c.moveTo( _xobjs[ i ], _ints[ i ] );
-            else
-                c.moveToCur( _curs[ i ] );
-        }
-
-        int insert ( int head, int before, int i )
-        {
-            return insert( head, before, i, _next, _prev );
-        }
-
-        int remove ( int head, int i, Cur owner )
-        {
-            Cur c = _curs[ i ];
-            
-            assert c != null || _xobjs[ i ] != null;
-
-            if (c != null)
-            {
-                _curs[ i ].release();
-                _curs[ i ] = null;
-
-                assert _xobjs[ i ] == null;
-                assert _ints [ i ] == -1;
-            }
-            else
-            {
-                assert _xobjs[ i ] != null;
-                
-                if (_ints[ i ] > 0)
-                    owner._textLocations = remove( owner._textLocations, i, _nextT, _prevT );
-
-                _xobjs[ i ] = null;
-                _ints [ i ] = -1;
-            }
-            
-            head = remove( head, i, _next, _prev );
-            
-            _next[ i ] = _free;
-            _free = i;
-
-            return head;
-        }
-
-        int allocate ( Cur addThis, Cur toThis )
-        {
-            assert addThis.isPositioned() && toThis.isPositioned();
-            
-            if (_free == -1)
-                makeRoom();
-
-            int i = _free;
-            
-            _free = _next [ i ];
-
-            _next [ i ] = -1;
-            assert _prev [ i ] == -1;
-
-            assert _curs [ i ] == null;
-            assert _xobjs[ i ] == null;
-            assert _ints [ i ] == -1;
-
-            _xobjs [ i ] = addThis._xobj;
-            _ints  [ i ] = addThis._pos;
-
-            if (addThis._pos > 0)
-            {
-                toThis._textLocations =
-                    insert( toThis._textLocations, toThis._textLocations, i, _nextT, _prevT );
-                
-                toThis.registerForTextChange();
-            }
-            
-            return i;
-        }
-        
-        private static int insert ( int head, int before, int i, int[] next, int[] prev )
-        {
-            if (head == -1)
-            {
-                assert before == -1;
-                prev[ i ] = i;
-                head = i;
-            }
-            else if (before != -1)
-            {
-                prev[ i ] = prev[ before ];
-                next[ i ] = before;
-                prev[ before ] = i;
-
-                if (head == before)
-                    head = i;
-            }
-            else
-            {
-                prev[ i ] = prev[ head ];
-                assert next[ i ] == -1;
-                next[ prev[ head ] ] = i;
-                prev[ head ] = i;
-            }
-
-            return head;
-        }
-
-        private static int remove ( int head, int i, int[] next, int[] prev )
-        {
-            if (prev[ i ] == i)
-            {
-                assert head == i;
-                head = -1;
-            }
-            else
-            {
-                if (head == i)
-                    head = next[ i ];
-                else
-                    next[ prev [ i ] ] = next[ i ];
-
-                if (next[ i ] == -1)
-                    prev[ head ] = prev[ i ];
-                else
-                {
-                    prev[ next[ i ] ] = prev[ i ];
-                    next[ i ] = -1;
-                }
-            }
-
-            prev[ i ] = -1;
-            assert next[ i ] == -1;
-
-            return head;
-        }
-
-        void textChangeNotification ( Cur owner )
-        {
-            while ( owner._textLocations >= 0 )
-            {
-                int i = owner._textLocations;
-                
-                Xobj x = _xobjs[ i ];
-
-                assert _curs[ i ] == null && x != null && _ints[ i ] > 0;
-                
-                _curs[ i ] = x._locale.permCur();
-                _curs[ i ].moveTo( x, _ints[ i ] );
-
-                _xobjs[ i ] = null;
-                _ints [ i ] = -1;
-
-                owner._textLocations = remove( owner._textLocations, i, _nextT, _prevT );
-            }
-        }
-        
-        int next ( int i ) { return _next[ i ]; }
-        int prev ( int i ) { return _prev[ i ]; }
-
-        private void makeRoom ( )
-        {
-            assert _free == -1;
-            
-            int l = _xobjs.length;
-
-            Xobj [] oldXobjs = _xobjs;
-            int  [] oldInts  = _ints;
-            Cur  [] oldCurs  = _curs;
-            int  [] oldNext  = _next;
-            int  [] oldPrev  = _prev;
-            int  [] oldNextT = _nextT;
-            int  [] oldPrevT = _prevT;
-
-            _xobjs = new Xobj [ l * 2 ];
-            _ints  = new int  [ l * 2 ];
-            _curs  = new Cur  [ l * 2 ];
-            _next  = new int  [ l * 2 ];
-            _prev  = new int  [ l * 2 ];
-            _nextT = new int  [ l * 2 ];
-            _prevT = new int  [ l * 2 ];
-
-            System.arraycopy( oldXobjs, 0, _xobjs, 0, l );
-            System.arraycopy( oldInts,  0, _ints,  0, l );
-            System.arraycopy( oldCurs,  0, _curs,  0, l );
-            System.arraycopy( oldNext,  0, _next,  0, l );
-            System.arraycopy( oldPrev,  0, _prev,  0, l );
-            System.arraycopy( oldNextT, 0, _nextT, 0, l );
-            System.arraycopy( oldPrevT, 0, _prevT, 0, l );
-
-            _next [ l * 2 - 1 ] = -1;
-
-            for ( int i = l * 2 - 2 ; i >= l ; i-- )
-            {
-                _next  [ i ] = i + 1;
-                _prev  [ i ] = -1;
-                _ints  [ i ] = -1;
-                _nextT [ i ] = -1;
-                _prevT [ i ] = -1;
-            }
-
-            _free = l;
-        }
-
-        private static final int _initialSize = 32;
-        
-        private Xobj [] _xobjs;
-        private int  [] _ints;
-        private Cur  [] _curs;
-        private int  [] _next;
-        private int  [] _prev;
-        private int  [] _nextT;
-        private int  [] _prevT;
-        
-        private int     _free;
-    }
-
-    void push ( )
-    {
-        assert isPositioned();
-
-        int i = _locations.allocate( this, this );
-        _stackTop = _locations.insert( _stackTop, _stackTop, i );
-    }
-
-    void popButStay ( )
-    {
-        if (_stackTop != -1)
-            _stackTop = _locations.remove( _stackTop, _stackTop, this );
-    }
-    
-    boolean pop ( )
-    {
-        if (_stackTop == -1)
-            return false;
-
-        _locations.moveTo( _stackTop, this );
-        _stackTop = _locations.remove( _stackTop, _stackTop, this );
-
-        return true;
-    }
-
-    boolean isAtLastPush ( )
-    {
-        assert _stackTop != -1;
-        
-        return _locations.isSamePos( _stackTop, this );
-    }
-    
-    boolean isAtEndOfLastPush ( )
-    {
-        assert _stackTop != -1;
-        
-        return _locations.isAtEndOf( _stackTop, this );
-    }
-
-    void addToSelection ( Cur c )
-    {
-        assert _locale == c._locale; // TODO - locales
-        assert isPositioned() && c.isPositioned();
-
-        int i = _locations.allocate( c, this );
-        _selectionFirst = _locations.insert( _selectionFirst, -1, i );
-        
-        _selectionCount++;
-    }
-    
-    void addToSelection ( )
-    {
-        assert isPositioned();
-
-        int i = _locations.allocate( this, this );
-        _selectionFirst = _locations.insert( _selectionFirst, -1, i );
-        
-        _selectionCount++;
-    }
-
-    private int selectionIndex ( int i )
-    {
-        assert _selectionN >= -1 && i >= 0 && i < _selectionCount;
-        
-        if (_selectionN == -1)
-        {
-            _selectionN = 0;
-            _selectionNth = _selectionFirst;
-        }
-
-        while ( _selectionN < i )
-        {
-            _selectionNth = _locations.next( _selectionNth );
-            _selectionN++;
-        }
-            
-        while ( _selectionN > i )
-        {
-            _selectionNth = _locations.prev( _selectionNth );
-            _selectionN--;
-        }
-
-        return _selectionNth;
-    }
-    
-    void removeSelection ( int i )
-    {
-        assert i >= 0 && i < _selectionCount;
-
-        int j = selectionIndex( i );
-
-        // Update the nth selection indices to accomodate the deletion
-        
-        if (i < _selectionN)
-            _selectionN--;
-        else if (i == _selectionN)
-        {
-            _selectionN--;
-            
-            if (i == 0)
-                _selectionNth = -1;
-            else
-                _selectionNth = _locations.prev( _selectionNth );
-        }
-
-        _selectionFirst = _locations.remove( _selectionFirst, j, this );
-        
-        _selectionCount--;
-    }
-
-    int selectionCount ( )
-    {
-        return _selectionCount;
-    }
-
-    void moveToSelection ( int i )
-    {
-        assert i >= 0 && i < _selectionCount;
-
-        _locations.moveTo( selectionIndex( i ), this );
-    }
-
-    void clearSelection ( )
-    {
-        assert _selectionCount >= 0;
-        
-        while ( _selectionCount > 0 )
-            removeSelection( 0 );
-    }
-
-    boolean toParent    ( ) { return toParent( false ); }
-    boolean toParentRaw ( ) { return toParent( true  ); }
-    
-    Xobj getParent    ( ) { return getParent( false ); }
-    Xobj getParentRaw ( ) { return getParent( true  ); }
-    
-    boolean hasParent ( )
-    {
-        assert isPositioned();
-
-        if (_pos == END_POS || (_pos >= 1 && _pos < _xobj.posAfter()))
-            return true;
-
-        assert _pos == 0 || _xobj._parent != null;
-        
-        return _xobj._parent != null;
-    }
-    
-    Xobj getParent ( boolean raw )
-    {
-        assert isPositioned();
-
-        if (_pos == END_POS || (_pos >= 1 && _pos < _xobj.posAfter()))
-            return _xobj;
-
-        assert _pos == 0 || _xobj._parent != null;
-
-        if (_xobj._parent != null)
-            return _xobj._parent;
-        
-        if (raw || _xobj.isRoot())
-            return null;
-
-        Cur r = _locale.tempCur();
-        
-        r.createRoot();
-
-        Xobj root = r._xobj;
-        
-        r.next();
-        moveNode( r );
-        r.release();
-
-        return root;
-    }
-    
-    boolean toParent ( boolean raw )
-    {
-        Xobj parent = getParent( raw );
-
-        if (parent == null)
-            return false;
-
-        moveTo( parent );
-
-        return true;
-    }
-
-    boolean hasText ( )
-    {
-        assert isNode();
-        _xobj.ensureOccupancy();
-        return _xobj.hasTextNoEnureOccupancy();
-    }
-
-    boolean hasAttrs ( )
-    {
-        assert isNode();
-        return _xobj.hasAttrs();
-    }
-    
-    boolean hasChildren ( )
-    {
-        assert isNode();
-        return _xobj.hasChildren();
-    }
-    
-    boolean toFirstChild ( )
-    {
-        assert isNode();
-
-        if (!_xobj.hasChildren())
-            return false;
-
-        for ( Xobj x = _xobj._firstChild ; ; x = x._nextSibling )
-        {
-            if (!x.isAttr())
-            {
-                moveTo( x );
-                return true;
-            }
-        }
-    }
-    
-    protected boolean toLastChild ( )
-    {
-        assert isNode();
-
-        if (!_xobj.hasChildren())
-            return false;
-
-        moveTo( _xobj._lastChild );
-
-        return true;
-    }
-
-    boolean toNextSibling ( )
-    {
-        assert isNode();
-
-        if (_xobj.isAttr())
-        {
-            if (_xobj._nextSibling != null && _xobj._nextSibling.isAttr())
-            {
-                moveTo( _xobj._nextSibling );
-                return true;
-            }
-        }
-        else if (_xobj._nextSibling != null)
-        {
-            moveTo( _xobj._nextSibling );
-            return true;
-        }
-
-        return false;
-    }
-
-    String getAttrValue ( QName name )
-    {
-        String s = null;
-        
-        push();
-
-        if (toAttr( name ))
-            s = getValueAsString();
-        
-        pop();
-
-        return s;
-    }
-
-    void setValueAsQName ( QName qname )
-    {
-        assert isNode();
-
-        String value  = qname.getLocalPart();
-        String ns     = qname.getNamespaceURI();
-        
-        String prefix =
-            prefixForNamespace(
-                ns, qname.getPrefix().length() > 0 ? qname.getPrefix() : null, true );
-
-        if (prefix.length() > 0)
-            value = prefix + ":" + value;
-
-        setValue( value );
-    }
-
-    void setValue ( String value )
-    {
-        assert isNode();
-        
-        moveNodeContents( null, false );
-        
-        next();
-        
-        insertChars( value, 0, value.length() );
-    }
-
-    private void removeFollowingAttrs ( )
-    {
-        assert isAttr();
-        
-        QName attrName = getName();
-
-        push();
-        
-        if (toNextAttr())
-        {
-            while ( isAttr() )
-            {
-                if (getName().equals( attrName ))
-                    moveNode( null );
-                else if (!toNextAttr())
-                    break;
-            }
-        }
-
-        pop();
-    }
-
-    void setAttrAsQName ( QName name, QName value )
-    {
-        assert isContainer();
-
-        if (toAttr( name ))
-            removeFollowingAttrs();
-        else
-        {
-            next();
-            createAttr( name );
-        }
-        
-        setValueAsQName( value );
-
-        toParent();
-    }
-    
-    boolean removeAttr ( QName name )
-    {
-        assert isContainer();
-
-        return _xobj.removeAttr( name );
-    }
-
-    void setAttr ( QName name, String value )
-    {
-        assert isContainer();
-
-        _xobj.setAttr( name, value );
-    }
-    
-    boolean toAttr ( QName name )
-    {
-        assert isNode();
-
-        Xobj a = _xobj.getAttr( name );
-
-        if (a == null)
-            return false;
-
-        moveTo( a );
-
-        return true;
-    }
-
-    boolean toFirstAttr ( )
-    {
-        assert isNode();
-
-        Xobj firstAttr = _xobj.firstAttr();
-
-        if (firstAttr == null)
-            return false;
-
-        moveTo( firstAttr );
-
-        return true;
-    }
-    
-    boolean toLastAttr ( )
-    {
-        assert isNode();
-
-        if (!toFirstAttr())
-            return false;
-
-        while ( toNextAttr() )
-            ;
-
-        return true;
-    }
-    
-    boolean toNextAttr ( )
-    {
-        assert isAttr();
-
-        Xobj nextAttr = _xobj.nextAttr();
-
-        if (nextAttr == null)
-            return false;
-        
-        moveTo( nextAttr );
-
-        return true;
-    }
-    
-    boolean toPrevAttr ( )
-    {
-        assert isAttr();
-        
-        if (_xobj._prevSibling == null || !_xobj._prevSibling.isAttr())
-            return false;
-        
-        moveTo( _xobj._prevSibling );
-
-        return true;
-    }
-
-    boolean skip ( )
-    {
-        assert isNode();
-
-        if (_xobj.isRoot())
-            return false;
-        
-        if (_xobj.isAttr())
-        {
-            if (_xobj._nextSibling == null || !_xobj._nextSibling.isAttr())
-                return false;
-
-            moveTo( _xobj._nextSibling, 0 );
-        }
-        else
-            moveTo( getNormal( _xobj, _xobj.posAfter() ), _posTemp );
-
-        return true;
-    }
-    
-    void toEnd ( )
-    {
-        assert isNode();
-        moveTo( _xobj, END_POS );
-    }
-    
-    void moveToCharNode ( CharNode node )
-    {
-        assert _locale == node._locale; // TODO - locales
-        assert node._src instanceof Dom;
-
-        moveToDom( (Dom) node._src );
-
-        CharNode n;
-
-        _xobj.ensureOccupancy();
-        
-        n = _xobj._charNodesValue =
-            updateCharNodes( _locale, _xobj, _xobj._charNodesValue, _xobj._cchValue );
-        
-        for ( ; n != null ; n = n._next )
-        {
-            if (node == n)
-            {
-                moveTo( getNormal( _xobj, n._off + 1 ), _posTemp );
-                return;
-            }
-        }
-
-        n = _xobj._charNodesAfter =
-            updateCharNodes( _locale, _xobj, _xobj._charNodesAfter, _xobj._cchAfter );
-
-        for ( ; n != null ; n = n._next )
-        {
-            if (node == n)
-            {
-                moveTo( getNormal( _xobj, n._off + _xobj._cchValue + 2 ), _posTemp );
-                return;
-            }
-        }
-
-        assert false;
-    }
-    
-    boolean prev ( )
-    {
-        assert isPositioned();
-
-        if (_xobj.isRoot() && _pos == 0)
-            return false;
-        
-        Xobj x = getDenormal();
-        int  p = _posTemp;
-
-        assert p > 0 && p != END_POS;
-
-        int pa = x.posAfter();
-
-        if (p > pa)
-            p = pa;
-        else if (p == pa)
-        {
-            // Text after an attr is allowed only on the last attr,
-            // and that text belongs to the parent container..  
-            //
-            // If we're a thte end of the last attr, then we were just
-            // inside the container, and we need to skip the attrs.
-            
-            if (x.isAttr() &&
-                (x._cchAfter > 0 || x._nextSibling == null || !x._nextSibling.isAttr()))
-            {
-                x = x.ensureParent();
-                p = 0;
-            }
-            else
-                p = END_POS;
-        }
-        else if (p == pa - 1)
-        {
-            x.ensureOccupancy();
-            p = x._cchValue > 0 ? 1 : 0;
-        }
-        else if (p > 1)
-            p = 1;
-        else
-        {
-            assert p == 1;
-            p = 0;
-        }
-        
-        moveTo( getNormal( x, p ), _posTemp );
-
-        return true;
-    }
-    
-    boolean nextWithAttrs ( )
-    {
-        int k = kind();
-
-        if (kindIsContainer( k ))
-        {
-            if (toFirstAttr())
-                return true;
-        }
-        else if (k == -ATTR)
-        {
-            if (next())
-                return true;
-            
-            toParent();
-            
-            if (!toParentRaw())
-                return false;
-        }
-        
-        return next();
-    }
-    
-    boolean next ( )
-    {
-        assert isNormal();
-
-        Xobj x = _xobj;
-        int  p = _pos;
-
-        int pa = x.posAfter();
-
-        if (p >= pa)
-            p = _xobj.posMax();
-        else if (p == END_POS)
-        {
-            if (x.isRoot() || (x.isAttr() && (x._nextSibling == null || !x._nextSibling.isAttr())))
-                return false;
-            
-            p = pa;
-        }
-        else if (p > 0)
-        {
-            assert x._firstChild == null || !x._firstChild.isAttr();
-
-            if (x._firstChild != null)
-            {
-                x = x._firstChild;
-                p = 0;
-            }
-            else
-                p = END_POS;
-        }
-        else
-        {
-            assert p == 0;
-
-            x.ensureOccupancy();
-            
-            p = 1;
-            
-            if (x._cchValue == 0)
-            {
-                if (x._firstChild != null)
-                {
-                    if (x._firstChild.isAttr())
-                    {
-                        Xobj a = x._firstChild;
-
-                        while ( a._nextSibling != null && a._nextSibling.isAttr() )
-                            a = a._nextSibling;
-
-                        if (a._cchAfter > 0)
-                        {
-                            x = a;
-                            p = a.posAfter();
-                        }
-                        else if (a._nextSibling != null)
-                        {
-                            x = a._nextSibling;
-                            p = 0;
-                        }
-                    }
-                    else
-                    {
-                        x = x._firstChild;
-                        p = 0;
-                    }
-                }
-            }
-        }
-
-        moveTo( getNormal( x, p ), _posTemp );
-
-        return true;
-    }
-
-    int nextChars ( int cch )
-    {
-        assert isPositioned();
-        
-        int cchRight = cchRight();
-
-        if (cchRight == 0)
-            return 0;
-
-        if (cch < 0 || cch >= cchRight)
-        {
-            // Use next to not skip over children
-            next();
-            return cchRight;
-        }
-
-        moveTo( getNormal( _xobj, _pos + cch ), _posTemp );
-        
-        return cch;
-    }
-
-    void setCharNodes ( CharNode nodes )
-    {
-        assert _locale == nodes._locale; // TODO - locales
-        assert isPositioned();
-        assert !_xobj.isRoot() || _pos > 0;
-        
-        Xobj x = getDenormal();
-        int  p = _posTemp;
-
-        if (p >= x.posAfter())
-            x._charNodesAfter = nodes;
-        else
-            x._charNodesValue = nodes;
-
-        for ( ; nodes != null ; nodes = nodes._next )
-            nodes._src = x;
-
-        // No Need to notify text change or alter version, text nodes are
-        // not part of the infoset
-    }
-
-    CharNode getCharNodes ( )
-    {
-        assert isPositioned();
-        assert !isRoot();
-        
-        Xobj x = getDenormal();
-
-        CharNode nodes;
-
-        if (_posTemp >= x.posAfter())
-        {
-            nodes = x._charNodesAfter =
-                updateCharNodes( _locale, x, x._charNodesAfter, x._cchAfter );
-        }
-        else
-        {
-            x.ensureOccupancy();
-            
-            nodes = x._charNodesValue =
-                updateCharNodes( _locale, x, x._charNodesValue, x._cchValue );
-        }
-
-        return nodes;
-    }
-    
-    private static CharNode updateCharNodes ( Locale l, Object src, CharNode nodes, int cch )
-    {
-        assert nodes == null || nodes._locale == l;
-        
-        CharNode node = nodes;
-        int i = 0;
-
-        while ( node != null && cch > 0 )
-        {
-            assert node._src == src;
-
-            if (node._cch > cch)
-                node._cch = cch;
-
-            node._off = i;
-            i += node._cch;
-            cch -= node._cch;
-
-            node = node._next;
-        }
-
-        if (cch <= 0)
-        {
-            for ( ; node != null ; node = node._next )
-            {
-                assert node._src == src;
-
-                if (node._cch != 0)
-                    node._cch = 0;
-
-                node._off = i;
-            }
-        }
-        else
-        {
-            node = l.createTextNode();
-            node._src = src;
-            node._cch = cch;
-            node._off = i;
-            nodes = CharNode.appendNode( nodes, node );
-        }
-
-        return nodes;
-    }
-
-    final QName getXsiTypeName ( )
-    {
-        assert isNode();
-
-        return _xobj.getXsiTypeName();
-    }
-    
-    final QName valueAsQName ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    final String namespaceForPrefix ( String prefix, boolean defaultAlwaysMapped )
-    {
-        assert isContainer();
-
-        return _xobj.namespaceForPrefix( prefix, defaultAlwaysMapped );
-    }
-
-    final String prefixForNamespace ( String ns, String suggestion, boolean createIfMissing )
-    {
-        if (ns == null)
-            ns = "";
-
-        // special cases
-        
-        if (ns.equals( Locale._xml1998Uri ))
-            return "xml";
-        
-        if (ns.equals( Locale._xmlnsUri ))
-            return "xmlns";
-
-        // Get the closest container for the spot we're on
-
-        Xobj base = isContainer() ? _xobj : getParent();
-
-        // Special handling for the no-namespace case
-        
-        if (ns.length() == 0)
-        {
-            // Search for a namespace decl which defines the default namespace
-
-            Xobj a = base.findXmlnsForPrefix( "" );
-
-            // If I did not find a default decl or the decl maps to the no namespace, then
-            // the default namespace is mapped to ""
-            
-            if (a == null || a.getXmlnsUri().length() == 0)
-                return "";
-
-            // At this point, I've found a default namespace which is *not* the no-namespace.
-            // If I can't modify the document to mape the desired no-namespace, I must fail.
-            
-            if (!createIfMissing)
-                return null;
-
-            // Ok, I need to make the default namespace on the nearest container map to ""
-
-            base.setAttr( _locale.createXmlns( null ), "" );
-            
-            return "";
-        }
-
-        // Look for an exisiting mapping for the desired uri which has a visible prefix 
-
-        for ( Xobj c = base ; c != null ; c = c._parent )
-            for ( Xobj a = c.firstAttr() ; a != null ; a = a.nextAttr() )
-                if (a.isXmlns() && a.getXmlnsUri().equals( ns ))
-                    if (base.findXmlnsForPrefix( a.getXmlnsPrefix() ) == a)
-                        return a.getXmlnsPrefix();
-
-        // No exisiting xmlns I can use, need to create one.  See if I can first
-
-        if (!createIfMissing)
-            return null;
-
-        // Sanitize the suggestion.
-
-        if (suggestion != null &&
-              (suggestion.length() == 0 || suggestion.toLowerCase().startsWith( "xml" ) ||
-                    base.findXmlnsForPrefix( suggestion ) != null))
-        {
-            suggestion = null;
-        }
-
-        // If no suggestion, make one up
-
-        if (suggestion == null)
-        {
-            String prefixBase = QNameHelper.suggestPrefix( ns );
-            
-            suggestion = prefixBase;
-            
-            for ( int i = 1 ; ; suggestion = prefixBase + i++ )
-                if (base.findXmlnsForPrefix( suggestion ) == null)
-                    break;
-        }
-
-        // Add a new namespace decl at the top elem if one exists, otherwise at root
-
-        Xobj c = base;
-
-        while ( !c.isRoot() && !c.ensureParent().isRoot() )
-            c = c._parent;
-        
-        base.setAttr( _locale.createXmlns( suggestion ), ns );
-
-        return suggestion;
-    }
-
-    //
-    // is this node a proper ancestor of the cursor positioned at that.  If that is just before
-    // or just after this node, then it is not an ancestor (edge case).
-    //
-
-    boolean ancestorOf ( Cur that )
-    {
-        assert isNode() && that.isPositioned();
-
-        if (_locale != that._locale)
-            return false;
-
-        if (_xobj == that._xobj)
-            return that._pos == END_POS || (that._pos > 0 && that._pos < _xobj.posAfter());
-        
-        if (_xobj._firstChild == null)
-            return false;
-
-        for ( Xobj x = that._xobj ; x != null ; x = x._parent )
-            if (x == _xobj)
-                return true;
-
-        return false;
-    }
-
-    // attr is going to be moved/removed, invalidate parent if it is a special attr
-
-    private void invalidateSpecialAttr ( Xobj attr, Cur to )
-    {
-        assert attr.isAttr();
-        assert to == null || to._pos == 0 || to._pos == END_POS;
-
-        boolean isXsiType = attr._name.equals( Locale._xsiType );
-        boolean isXsiNil  = attr._name.equals( Locale._xsiNil );
-
-        if (isXsiType || isXsiNil)
-        {
-            if (attr._parent != null)
-            {
-                if (isXsiType) attr._parent.disconnectNonRootUsers();
-                if (isXsiNil ) attr._parent.invalidateNil();
-            }
-
-            if (to != null)
-            {
-                Xobj newParent = to._pos == 0 ? to._xobj._parent : to._xobj;
-
-                if (isXsiType) newParent.disconnectNonRootUsers();
-                if (isXsiNil ) newParent.invalidateNil();
-            }
-        }
-    }
-    
-    void moveNode ( Cur to )
-    {
-        // TODO - should assert that is an attr is being moved, it is ok there
-
-        // TODO - when moving between locales, need to embed everything to make sure it moves
-        // properly
-
-        assert isNode() && !isRoot();
-        assert to == null || _locale == to._locale; // TODO - locales
-        assert to == null || to.isPositioned();
-        assert to == null || !ancestorOf( to );
-        assert to == null || (!to.isNode() || !to.isRoot());
-
-        // Check to see if to is at the edge of this node.  If so, no-op
-        
-        if (to != null && (isSamePos( to ) || to.isJustAfterEnd( this )))
-            return;
-
-        // Note that all changes to text in are handled by other fcns,
-        // thus, I do not need to notify text changes here.
-
-        notifyGeneralChange();
-        
-        // We're moving this node, if there is any text after it,
-        // move this text to before this node.
-
-        Xobj xobjToMove = _xobj;
-        
-        if (_xobj.cchAfter() > 0)
-        {
-            Cur fromChars = tempCur( _xobj, _xobj.posAfter() );
-            fromChars.moveChars( this, -1 );
-            fromChars.release();
-            moveTo( xobjToMove ); // Move back to node after text insert
-        }
-        
-        assert _xobj.cchAfter() == 0;
-
-        // I have the xobj to remove, move this cursor past the object so that
-        // it does not follow the node when I remove it.  Note that I call nextWithAttrs here.
-        // If one is removing the last attribute, next would fail to move.  In this case, I
-        // move out of the attrs into the outer container.  Wierd ...
-
-        toEnd();
-        nextWithAttrs();
-
-        if (xobjToMove._parent != null)
-            xobjToMove._parent.invalidateUser();
-
-        assert !xobjToMove.isRoot();
-
-        // Remove chars to the right of to, remembering them
-        
-        int cchRight = to == null ? 0 : to.cchRight();
-        Object srcRight = cchRight > 0 ? to.moveChars( null, cchRight ) : null;
-        int offRight = to == null ? 0 : to._offSrc;
-        
-        assert to._pos == 0 || to._pos == END_POS;
-        
-        xobjToMove.disconnectUsers( true );
-
-        if (xobjToMove.isAttr())
-            invalidateSpecialAttr( xobjToMove, to );
-
-        xobjToMove.removeXobj();
-
-        if (to != null)
-        {
-            Xobj newParent = null;
-
-            if (to._pos == 0)
-            {
-                to._xobj.insertXobj( xobjToMove );
-                newParent = to._xobj._parent;
-            }
-            else
-            {
-                to._xobj.appendXobj( xobjToMove );
-                newParent = to._xobj;
-            }
-
-            if (newParent != null)
-                newParent.invalidateUser();
-
-            if (srcRight != null)
-                to.insertChars( srcRight, offRight, cchRight );
-        }
-
-        // TODO - inc version for two locals ....
-        _locale._versionAll++;
-        _locale._versionSansText++;
-    }
-
-    void moveNodeContents ( Cur to, boolean moveAttrs )
-    {
-        // If from (this) and to are the same Cur, I need make them different Curs so I may
-        // manipulate them differently
-
-        if (to == this)
-            to = to.tempCur();
-        
-        // TODO - should assert that is an attr is being moved, it is ok there
-        assert isNode();
-        assert to == null || _locale == to._locale; // TODO - locales
-        assert to == null || to.isPositioned();
-        assert to == null || (!to.isNode() || !to.isRoot());
-
-        boolean hasAttrs = hasAttrs();
-
-        // Check for moving nothing.  Subnodes refers to children *and* attrs
-
-        boolean noSubNodesToMove = !hasChildren() && (!moveAttrs || !hasAttrs);
-
-        if (noSubNodesToMove)
-        {
-            // Special check for vacancy so that I don't pull a value from the TypeStore
-            // to just turn sround and remove it.  Because I use this fcn to clear out
-            // the contents for TypeStore invalidations, need to short circuit this.
-
-            if (_xobj.isVacant())
-            {
-                _xobj.clearBit( Xobj.VACANT ); 
-                return;
-            }
-
-            if (!hasText())
-                return;
-        }
-
-        // See if if to is just inside this node, If so, no-op
-
-        if (to != null)
-        {
-            if (_xobj == to._xobj && to._pos == END_POS)
-                return;
-
-            push();
-
-            if (moveAttrs && hasAttrs)
-                toFirstAttr();
-            else
-                next();
-
-            if (isSamePos( to ))
-            {
-                pop();
-                return;
-            }
-
-            pop();
-        }
-
-        notifyGeneralChange();
-
-        // If there is text to the right of cTo, then I need to move this text to just inside
-        // the right hand side of the node whose contents are moving
-        
-        if (to != null)
-        {
-            if (to.cchRight() > 0)
-            {
-                push();
-                toEnd();
-                to.moveChars( this, -1 );
-                pop();
-            }
-
-            // If I'm moving attrs and there is value text in the location I am inserting,
-            // then that value text must be moved to the attrs
-
-            if (hasAttrs && moveAttrs && to._pos == END_POS && to._xobj._cchValue > 0)
-            {
-                push();
-                next();
-                to.prev();
-                assert to.isText();
-                to.moveChars( this, -1 );
-                pop();
-            }
-        }
-
-        // The value text is not associated with a child, so it needs to be moved separately.
-
-        if (hasText())
-        {
-            push();
-            next();
-            moveChars( to, -1 );
-            pop();
-
-            if (to != null)
-                to.next();
-        }
-            
-        assert to == null || to._pos == 0 || to._pos == END_POS;
-
-        if (noSubNodesToMove)
-            return;
-
-        //
-
-        Xobj firstXobj = _xobj._firstChild;
-        Xobj lastXobj = _xobj._lastChild;
-
-        // Either skip past the attrs, or see if we're moving a special xsi attr
-
-        if (moveAttrs)
-        {
-            for ( Xobj x = firstXobj ; x != null && x.isAttr() ; x = x._nextSibling )
-                invalidateSpecialAttr( x, to );
-        }
-        else
-        {
-            while ( firstXobj != null && firstXobj.isAttr() )
-                firstXobj = firstXobj._nextSibling;
-        }
-
-        // What if we had only attrs as children
-
-        if (firstXobj == null)
-            return;
-
-        for ( Xobj x = firstXobj ; ; x = x._nextSibling )
-        {
-            assert !x.isRoot();
-            
-            x.disconnectUsers( true );
-            
-            if (x == lastXobj)
-                break;
-        }
-
-        // If we're just moving attrs, no content invalidation
-        
-        if (!lastXobj.isAttr())
-            _xobj.invalidateUser();
-
-        _xobj.removeXobjs( firstXobj, lastXobj );
-        
-        if (to != null)
-        {
-            if (to._pos == 0)
-            {
-                to._xobj.insertXobjs( firstXobj, lastXobj );
-
-                if (to._xobj._parent != null)
-                    to._xobj._parent.invalidateUser();
-            }
-            else
-            {
-                to._xobj.appendXobjs( firstXobj, lastXobj );
-                
-                to._xobj.invalidateUser();
-            }
-        }
-
-        _locale._versionAll++;
-        _locale._versionSansText++;
-    }
-    
-    Object moveChars ( Cur to, int cchMove )
-    {
-        assert to == null || _locale == to._locale; // TODO - locales
-        assert isPositioned();
-        assert cchMove == 0 || isText();
-        assert to == null || to.isNormal();
-
-        int cchRight = cchRight();
-
-        if (cchMove < 0)
-            cchMove = cchRight();
-        
-        assert cchMove >= 0 && cchMove <= cchRight;
-        
-        if (cchMove == 0)
-        {
-            _cchSrc = 0;
-            _offSrc = 0;
-            return null;
-        }
-
-        notifyGeneralChange();
-        
-        // No need to ensureOccupancy, because if we're at text, then
-        // we must be occupied
-        
-        assert _xobj.isOccupied();
-                    
-        if (to == null)
-        {
-            // If there is a cursor in the sequence of chars to remove,
-            // then create a new place for these chars to live and move
-            // them there, taking the cursors with them.
-            
-            notifyTextChange();
-
-            for ( Cur e = _xobj.getEmbedded() ; e != null ; e = e._next )
-            {
-                if (e != this && inChars( e, cchMove ))
-                {
-                    e = _locale.tempCur();
-                    
-                    e.createRoot();
-                    e.next();
-                    
-                    Object chars = moveChars( e, cchMove );
-                    
-                    e.release();
-                    
-                    return chars;
-                }
-            }
-        }
-        else
-        {
-            int pa = _xobj.posAfter();
-
-            // Check for no-op, but return the text "moved"
-            
-            if (inChars( to, cchMove ))
-            {
-                Object src;
-
-                if (_pos >= pa)
-                {
-                    src = _xobj._srcAfter;
-                    _offSrc = _xobj._offAfter + _pos - pa;
-                }
-                else
-                {
-                    src = _xobj._srcValue;
-                    _offSrc = _xobj._offValue + _pos - 1;
-                }
-
-                moveTo( _xobj, _pos + cchMove );
-
-                _cchSrc = cchMove;
-                
-                return src;
-            }
-
-            // Copy the chars, I'll remove the originals next
-            
-            if (_pos < pa)
-                to.insertChars( _xobj._srcValue, _xobj._offValue + _pos - 1, cchMove );
-            else
-                to.insertChars( _xobj._srcAfter, _xobj._offAfter + _pos - pa, cchMove );
-        }
-
-        notifyTextChange();
-
-        // Move any curs.  I don't have to check for a null to, because I handle that case above
-        
-        for ( Cur e = _xobj.getEmbedded() ; e != null ; e = e._next )
-            if (e != this && inChars( e, cchMove ))
-                e.moveTo( to._xobj, to._pos + e._pos - _pos );
-
-        // Now, remove the original chars
-
-        Object srcMoved;
-        int    offMoved;
-        
-        int pa = _xobj.posAfter();
-        
-        if (_pos < pa)
-        {
-            int i = _pos - 1;
-            
-            srcMoved = _xobj._srcValue;
-            offMoved = _xobj._offValue + i;
-
-            _xobj._srcValue =
-                _locale._charUtil.removeChars(
-                    i, cchMove,
-                    _xobj._srcValue, _xobj._offValue, _xobj._cchValue );
-
-            _xobj._offValue = _locale._charUtil._offSrc;
-            _xobj._cchValue = _locale._charUtil._cchSrc;
-
-            _xobj.invalidateUser();
-
-            // Perform xsi attr invalidations.  No need to check for this in the following else
-            // because it's text after which cannot be in an attr
-
-            if (_xobj._parent != null && _xobj.isAttr())
-            {
-                if (_xobj._name.equals( Locale._xsiType ))
-                    _xobj._parent.disconnectNonRootUsers();
-                
-                if (_xobj._name.equals( Locale._xsiNil ))
-                    _xobj._parent.invalidateNil();
-            }
-        }
-        else
-        {
-            int i = _pos - pa;
-            
-            srcMoved = _xobj._srcAfter;
-            offMoved = _xobj._offAfter + i;
-
-            _xobj._srcAfter =
-                _locale._charUtil.removeChars(
-                    i, cchMove,
-                    _xobj._srcAfter, _xobj._offAfter, _xobj._cchAfter );
-
-            _xobj._offAfter = _locale._charUtil._offSrc;
-            _xobj._cchAfter = _locale._charUtil._cchSrc;
-
-            if (_xobj._parent != null)
-                _xobj._parent.invalidateUser();
-        }
-        
-        // The case where I delete all value text, _pos will be at end of node,
-        // need to normalize to the first child (if any)
-        
-        if (_pos == _xobj.posAfter() - 1 && _xobj._firstChild != null)
-            moveTo( getNormal( _xobj._firstChild, 0 ), _posTemp );
-        else
-            moveTo( getNormal( _xobj, _pos ), _posTemp );
-
-        _locale._versionAll++;
-
-        _offSrc = offMoved;
-        _cchSrc = cchMove;
-
-        return srcMoved;
-    }
-
-    void insertChars ( Object src, int off, int cch )
-    {
-        assert isNormal() && cch >= 0;
-        assert !isRoot();
-
-        if (cch <= 0)
-            return;
-
-        if (!isPositioned())
-        {
-            createRoot();
-            next();
-        }
-
-        notifyGeneralChange();
-        
-        // If _pos == 0, then I'll insert in the after of the
-        // denormailzed Xobj or in the value of the container (which
-        // cannot be vacant). No need to ensureOccupancy for these
-        // cases.  The only case I need to ensuringOccupancy is if the
-        // current pos is POS_END, which is the only valid position in
-        // the value when the value is vacant.
-
-        if (_pos == END_POS)
-            _xobj.ensureOccupancy();
-        
-        Xobj x = getDenormal();
-        int p = _posTemp;
-
-        assert p > 0;
-
-        // Only need to notify a text change and update cursors if we're inserting text
-        // before any text in the node
-
-        if (x._cchValue + x._cchAfter > 0 && p != x.posMax() &&
-                (x._cchAfter != 0 || p != x.posAfter() - 1))
-        {
-            notifyTextChange();
-
-            for ( Cur e = x.getEmbedded() ; e != null ; e = e._next )
-                if (e != this && e._pos >= p)
-                    e._pos += cch;
-        }
-
-        if (p < x.posAfter())
-        {
-            x._srcValue =
-                _locale._charUtil.insertChars(
-                    p - 1,
-                    x._srcValue, x._offValue, x._cchValue, src, off, cch );
-
-            x._offValue = _locale._charUtil._offSrc;
-            x._cchValue = _locale._charUtil._cchSrc;
-
-            x.invalidateUser();
-
-            if (x._parent != null && x.isAttr())
-            {
-                if (x._name.equals( Locale._xsiType ))
-                    x._parent.disconnectNonRootUsers();
-                
-                if (x._name.equals( Locale._xsiNil ))
-                    x._parent.invalidateNil();
-            }
-        }
-        else
-        {
-            x._srcAfter =
-                _locale._charUtil.insertChars(
-                    p - x.posAfter(),
-                    x._srcAfter, x._offAfter, x._cchAfter, src, off, cch );
-
-            x._offAfter = _locale._charUtil._offSrc;
-            x._cchAfter = _locale._charUtil._cchSrc;
-
-            if (x._parent != null)
-                x.invalidateUser();
-        }
-
-        // If the normalized pos was -1 (before the end), need to set
-        // this cursor to be before the text.
-        
-        moveTo( x, p );
-
-        _locale._versionAll++;
-    }
-
-    protected final void setBookmark ( Object key, Object value )
-    {
-        assert isNormal();
-        assert key != null;
-
-        for ( Cur c = _xobj._embedded ; c != null ; c = c._next )
-        {
-            if (c._pos == _pos && c._key == key)
-            {
-                if (value == null)
-                    c.release();
-                else
-                    c._value = value;
-
-                return;
-            }
-        }
-
-        Cur cur = _locale.permCur();
-
-        cur.moveToCur( this );
-
-        assert cur._value == null && cur._key == null;
-
-        cur._key = key;
-        cur._value = value;
-    }
-    
-    final Object getBookmark ( Object key )
-    {
-        assert isNormal();
-        assert key != null;
-
-        for ( Cur c = _xobj._embedded ; c != null ; c = c._next )
-            if (c._pos == _pos && c._key == key)
-                return c._value;
-        
-        return null;
-    }
-    
-    String getString ( int cch )
-    {
-        assert isNormal() && _xobj != null;
-
-        return _xobj.getString( _pos, cch, Locale.WS_PRESERVE );
-    }
-
-    String getString ( int cch, int wsr )
-    {
-        assert isNormal() && _xobj != null;
-
-        return _xobj.getString( _pos, cch, wsr );
-    }
-
-    String getValueAsString ( int wsr )
-    {
-        assert isNode();
-
-        // TODO - make sure there are no children (ok for an element to have
-        // attrs)
-
-        assert ! hasChildren();
-
-        return _xobj.getValue( wsr );
-    }
-    
-    String getValueAsString ( )
-    {
-        return getValueAsString( Locale.WS_PRESERVE );
-    }
-
-    Object getChars ( int cch )
-    {
-        assert isPositioned();
-
-        return _xobj.getChars( _pos, cch, this );
-    }
-    
-    Object getValueChars ( )
-    {
-        assert isNode();
-        
-        _xobj.ensureOccupancy();
-        
-        return _xobj.getChars( 1, -1, this );
-    }
-    
-    void copyNode ( Cur cTo )
-    {
-        assert cTo != null;
-        assert _locale == cTo._locale; // TODO - locales
-        assert isNode();
-
-        Xobj newParent = null;
-        Xobj copy = null;
-        Xobj xo = _xobj;
-            
-        walk:
-        for ( ; ; )
-        {
-            xo.ensureOccupancy();
-            
-            Xobj newXo = xo.newNode();
-
-            newXo._srcValue = xo._srcValue;
-            newXo._offValue = xo._offValue;
-            newXo._cchValue = xo._cchValue;
-            
-            newXo._srcAfter = xo._srcAfter;
-            newXo._offAfter = xo._offAfter;
-            newXo._cchAfter = xo._cchAfter;
-
-            // TODO - strange to have charNode stuff inside here .....
-            newXo._charNodesValue = CharNode.copyNodes( xo._charNodesValue, newXo );
-            newXo._charNodesAfter = CharNode.copyNodes( xo._charNodesAfter, newXo );
-
-            if (newParent == null)
-                copy = newXo;
-            else
-                newParent.appendXobj( newXo );
-
-            if (xo._firstChild != null)
-            {
-                newParent = newXo;
-                xo = xo._firstChild;
-                continue;
-            }
-            
-            if (xo._nextSibling == null)
-            {
-                do
-                {
-                    if (xo == _xobj)
-                        break walk;
-                    
-                    xo = xo._parent;
-                    newParent = newParent._parent;
-
-                    if (xo == _xobj)
-                        break walk;
-                }
-                while ( xo._nextSibling == null );
-            }
-            else if (xo == _xobj)
-                break walk;
-            
-            xo = xo._nextSibling;
-        }
-
-        copy._srcAfter = null;
-        copy._offAfter = 0;
-        copy._cchAfter = 0;
-
-        if (cTo.isPositioned())
-        {
-            Cur from = cTo._locale.tempCur();
-            from.moveNode( cTo );
-            from.release();
-        }
-        else
-            cTo.moveTo( copy );
-    }
-
-    void notifyGeneralChange ( )
-    {
-        _locale.notifyGeneralChangeListeners();
-    }
-    
-    void notifyTextChange ( )
-    {
-        _locale.notifyTextChangeListeners();
-    }
-
-    void registerForTextChange ( )
-    {
-        // If next != null, then we're already on the list
-        
-        if (_nextTextChangeListener == null)
-            _locale.registerForTextChange( this );
-    }
-
-    public void textChangeNotification ( )
-    {
-        if (_state == UNREGISTERED)
-        {
-            _locale._registered = listInsert( _locale._registered );
-            _state = REGISTERED;
-        }
-
-        _locations.textChangeNotification( this );
-    }
-
-    Cur weakCur ( Object o )
-    {
-        Cur c = _locale.weakCur( o );
-        c.moveToCur( this );
-        return c;
-    }
-
-    Cur tempCur ( )
-    {
-        Cur c = _locale.tempCur();
-        c.moveToCur( this );
-        return c;
-    }
-
-    Cur permCur ( )
-    {
-        Cur c = _locale.permCur();
-        c.moveToCur( this );
-        return c;
-    }
-
-    private Cur tempCur ( Xobj x, int p )
-    {
-        assert _locale == x._locale; // TODO - locales
-        assert x != null || p == NO_POS;
-
-        Cur c = _locale.tempCur();
-
-        if (x == null)
-            c.moveTo( null );
-        else
-            c.moveTo( getNormal( x, p ), _posTemp );
-        
-        return c;
-    }
-
-    // Is a cursor (c) in the chars defined by cch chars after where this
-    // Cur is positioned.
-    
-    boolean inChars ( Cur c, int cch )
-    {
-        assert _locale == c._locale; // TODO - locales
-        assert isPositioned() && isText() && cchRight() >= cch;
-        assert c.isPositioned();
-
-        // No need to ensureOccupancy here
-
-        if (cch < 0)
-            cch = cchRight();
-
-        return (c._xobj != _xobj || c._pos <= 0) ? false : c._pos >= _pos && c._pos < _pos + cch;
-    }
-
-    private Xobj getNormal ( Xobj x, int p )
-    {
-        assert p == END_POS || (p >= 0 && p <= x.posMax());
-        
-        if (p == x.posMax())
-        {
-            if (x._nextSibling != null)
-            {
-                x = x._nextSibling;
-                p = 0;
-            }
-            else
-            {
-                x = x.ensureParent();
-                p = END_POS;
-            }
-        }
-        else if (p == x.posAfter() - 1)
-            p = END_POS;
-
-        _posTemp = p;
-
-        return x;
-    }
-
-    private Xobj getDenormal ( )
-    {
-        assert isPositioned();
-        assert END_POS == -1;
-        assert !_xobj.isRoot() || _pos >= END_POS;
-        
-        Xobj x = _xobj;
-        int  p = _pos;
-
-        if (p == 0)
-        {
-            if (x._prevSibling != null)
-            {
-                x = x._prevSibling;
-                p = x.posMax();
-            }
-            else
-            {
-                x = x.ensureParent();
-                p = x.posAfter() - 1;
-            }
-        }
-        else if (p == END_POS)
-        {
-            if (x._lastChild != null)
-            {
-                x = x._lastChild;
-                p = x.posMax();
-            }
-            else
-                p = x.posAfter() - 1;
-        }
-
-        _posTemp = p;
-
-        return x;
-    }
-
-    // May throw IllegalArgumentException if can't change the type
-    
-    void setType ( SchemaType type )
-    {
-        assert type != null;
-        assert isUserNode();
-
-        TypeStoreUser user = peekUser();
-
-        if (user != null && user.get_schema_type() == type)
-            return;
-
-        if (isRoot())
-        {
-            _xobj.setStableType( type );
-            return;
-        }
-
-        // Gotta get the parent user to make sure this type is ok here
-
-        TypeStoreUser parentUser = _xobj.ensureParent().getUser();
-
-        // One may only set the type of an attribute to its 'natural' type because
-        // attributes cannot take advantage of the xsiType attribute.
-
-        if (isAttr())
-        {
-            if (parentUser.get_attribute_type( getName() ) != type)
-            {
-                throw
-                    new IllegalArgumentException(
-                        "Can't set type of attribute to " + type.toString() );
-            }
-
-            return;
-        }
-
-        assert isElem();
-
-        // First check to see if this type can be here sans xsi:type.
-        // If so, make sure there is no xsi:type
-
-        if (parentUser.get_element_type( getName(), null ) == type)
-        {
-            removeAttr( Locale._xsiType );
-            return;
-        }
-
-        // If the desired type has no name, then it cannot be
-        // referenced via xsi:type
-
-        QName typeName = type.getName();
-
-        if (typeName == null)
-            throw new IllegalArgumentException( "Can't set type of element, type is un-named" );
-
-        // See if setting xsiType would result in the target type
-        
-        if (parentUser.get_element_type( getName(), typeName ) != type)
-            throw new IllegalArgumentException( "Can't set type of element, invalid type" );
-
-        setAttrAsQName( Locale._xsiType, typeName );
-    }
-
-    TypeStoreUser peekUser ( )
-    {
-        assert isUserNode();
-        
-        return _xobj._user;
-    }
-    
-    TypeStoreUser getUser ( )
-    {
-        assert isUserNode();
-
-        return _xobj.getUser();
-    }
-
-    Dom getDom ( )
-    {
-        assert isNormal();
-        assert isPositioned();
-
-        if (isText())
-        {
-            int cch = cchLeft();
-
-            for ( CharNode cn = getCharNodes() ; ; cn = cn._next )
-                if ((cch -= cn._cch) < 0)
-                    return cn;
-        }
-
-        return _xobj.getDom();
-    }
-
-    static void release ( Cur c )
-    {
-        if (c != null)
-            c.release();
-    }
-
-    void release ( )
-    {
-        assert _state != POOLED || _nextTemp == null;
-
-        if (_state == POOLED || _state == DISPOSED)
-            return;
-
-        moveToCur( null );
-
-        assert isNormal();
-
-        assert _xobj == null;
-        assert _pos  == NO_POS;
-
-        if (_value instanceof Locale.Ref)
-            ((Locale.Ref) _value).clear();
-
-        _value = null;
-        _key = null;
-
-        _curKind = -1;
-
-        assert _state == REGISTERED || _state == UNREGISTERED;
-        
-        if (_state == REGISTERED)
-            _locale._registered = listRemove( _locale._registered );
-
-        if (_locale._curPoolCount < 16)
-        {
-            _locale._curPool = listInsert( _locale._curPool );
-            _state = POOLED;
-            _locale._curPoolCount++;
-        }
-        else
-        {
-            _locale = null;
-            _state = DISPOSED;
-        }
-
-        while ( _stackTop != -1 )
-            popButStay();
-
-        clearSelection();
-    }
-
-    boolean isOnList ( Cur head )
-    {
-        for ( ; head != null ; head = head._next )
-            if (head == this)
-                return true;
-
-        return false;
-    }
-
-    Cur listInsert ( Cur head )
-    {
-        assert _next == null && _prev == null;
-
-        if (head == null)
-            head = _prev = this;
-        else
-        {
-            _prev = head._prev;
-            head._prev = head._prev._next = this;
-        }
-
-        return head;
-    }
-
-    Cur listRemove ( Cur head )
-    {
-        assert _prev != null && isOnList( head );
-
-        if (_prev == this)
-            head = null;
-        else
-        {
-            if (head == this)
-                head = _next;
-            else
-                _prev._next = _next;
-
-            if (_next == null)
-                head._prev = _prev;
-            else
-            {
-                _next._prev = _prev;
-                _next = null;
-            }
-        }
-
-        _prev = null;
-        assert _next == null;
-        
-        _state = -1;
-
-        return head;
-    }
-
-    boolean isNormal ( )
-    {
-        if (_state == POOLED || _state == DISPOSED)
-            return false;
-        
-        if (_xobj == null)
-            return _pos == NO_POS;
-
-        if (!_xobj.isNormal( _pos ))
-            return false;
-
-        if (_state == UNREGISTERED)
-            return _pos == 0 || _pos == END_POS;
-
-        if (_state == EMBEDDED)
-            return isOnList( _xobj._embedded );
-
-        assert _state == REGISTERED;
-
-        return isOnList( _locale._registered );
-    }
-
-    static final class CurLoadContext extends LoadContext
-    {
-        CurLoadContext ( Locale l, XmlOptions options )
-        {
-// TODO - use a thread local charUtil to load the xml -- don't use the
-// locales charUtil, let the Locales _charUtil be specific to it because
-// it is not thread safe to share a thread local charUtil between Locales
-            
-            options = options = XmlOptions.maskNull( options );
-
-            if (options.hasOption( XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT ))
-            {
-                _replaceDocElem = (QName) options.get( XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT );
-                _discardDocElem = true;
-            }
-
-            _stripWhitespace = options.hasOption( XmlOptions.LOAD_STRIP_WHITESPACE );
-            _stripComments   = options.hasOption( XmlOptions.LOAD_STRIP_COMMENTS   );
-            _stripProcinsts  = options.hasOption( XmlOptions.LOAD_STRIP_PROCINSTS  );
-            
-            _substituteNamespaces = (Map) options.get( XmlOptions.LOAD_SUBSTITUTE_NAMESPACES );
-            _additionalNamespaces = (Map) options.get( XmlOptions.LOAD_ADDITIONAL_NAMESPACES );
-
-            _locale = l;
-            _frontier = createDomDocumentRootXobj( l );
-            _after = false;
-            
-            _locale._versionAll++;
-            _locale._versionSansText++;
-        }
-
-        private void start ( Xobj xo )
-        {
-            assert _frontier != null;
-            assert !_after || _frontier._parent != null;
-
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-            
-            if (_after)
-            {
-                _frontier = _frontier._parent;
-                _after = false;
-            }
-
-            _frontier.appendXobj( xo );
-            _frontier = xo;
-        }
-        
-        private void end ( )
-        {
-            assert _frontier != null;
-            assert !_after || _frontier._parent != null;
-
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-            
-            if (_after)
-                _frontier = _frontier._parent;
-            else
-                _after = true;
-        }
-
-        private QName checkName ( QName name, boolean local )
-        {
-            if (_substituteNamespaces != null && (!local || name.getNamespaceURI().length() > 0))
-            {
-                String substituteUri = (String) _substituteNamespaces.get( name.getNamespaceURI() );
-
-                if (substituteUri != null)
-                    name = _locale.makeQName( substituteUri, name.getLocalPart(), name.getPrefix());
-            }
-
-            return name;
-        }
-        
-        protected void startElement ( QName name )
-        {
-            start(
-                createElementXobj(
-                    _locale, checkName( name, false ),
-                    (_after ? _frontier._parent :_frontier)._name ) );
-        }
-        
-        protected void endElement ( )
-        {
-            assert (_after ? _frontier._parent : _frontier).isElem();
-            end();
-        }
-        
-        protected void xmlns ( String prefix, String uri )
-        {
-            assert prefix == null || prefix.length() > 0;
-            assert (_after ? _frontier._parent : _frontier).isContainer();
-
-            start( new AttrXobj( _locale, checkName( _locale.createXmlns( prefix ), true ) ) );
-
-            text( uri, 0, uri.length() );
-            
-            end();
-        }
-        
-        protected void attr ( String local, String uri, String prefix, String value )
-        {
-            assert (_after ? _frontier._parent : _frontier).isContainer();
-            
-            start(
-                new AttrXobj(
-                    _locale, checkName( _locale.makeQName( uri, local, prefix ), true ) ) );
-            
-            text( value, 0, value.length() );
-            end();
-        }
-        
-        protected void procInst ( String target, String value )
-        {
-            if (!_stripProcinsts)
-            {
-                start( new ProcInstXobj( _locale, target ) );
-                text( value, 0, value.length() );
-                end();
-            }
-        }
-        
-        protected void comment ( char[] buf, int off, int cch )
-        {
-            if (!_stripComments)
-            {
-                start( new CommentXobj( _locale ) );
-                text( (Object) buf, off, cch );
-                end();
-            }
-        }
-
-        private void stripLeadingWhitespace ( )
-        {
-            if (_after)
-            {
-                _frontier._srcAfter =
-                    _locale._charUtil.stripRight(
-                        _frontier._srcAfter, _frontier._offAfter, _frontier._cchAfter );
-                
-                _frontier._offAfter = _locale._charUtil._offSrc;
-                _frontier._cchAfter = _locale._charUtil._cchSrc;
-            }
-            else
-            {
-                _frontier._srcValue =
-                    _locale._charUtil.stripRight(
-                        _frontier._srcValue, _frontier._offValue, _frontier._cchValue );
-                
-                _frontier._offValue = _locale._charUtil._offSrc;
-                _frontier._cchValue = _locale._charUtil._cchSrc;
-            }
-        }
-        
-        private void text ( Object src, int off, int cch )
-        {
-            if (cch <= 0)
-                return;
-
-            if (_after)
-            {
-                _frontier._srcAfter =
-                    _locale._charUtil.saveChars(
-                        src, off, cch,
-                        _frontier._srcAfter, _frontier._offAfter, _frontier._cchAfter );
-
-                _frontier._offAfter = _locale._charUtil._offSrc;
-                _frontier._cchAfter = _locale._charUtil._cchSrc;
-            }
-            else
-            {
-                _frontier._srcValue =
-                    _locale._charUtil.saveChars(
-                        src, off, cch,
-                        _frontier._srcValue, _frontier._offValue, _frontier._cchValue );
-
-                _frontier._offValue = _locale._charUtil._offSrc;
-                _frontier._cchValue = _locale._charUtil._cchSrc;
-            }
-        }
-        
-        protected void text ( char[] src, int off, int cch )
-        {
-            Object srcObj = src;
-            
-            if (_stripWhitespace)
-            {
-                srcObj = _locale._charUtil.stripLeft( srcObj, off, cch );
-                off = _locale._charUtil._offSrc;
-                cch = _locale._charUtil._cchSrc;
-            }
-            
-            text( srcObj, off, cch );
-        }
-        
-        protected Cur finish ( )
-        {
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-            
-            if (_after)
-                _frontier = _frontier._parent;
-
-            assert _frontier != null && _frontier._parent == null && _frontier.isRoot();
-
-            Cur c = _frontier.tempCur();
-            Locale.toFirstChildElement( c );
-
-            // See if the document element is a fragment
-
-            boolean isFrag =
-                c.getName().equals( Locale._openuriFragment ) ||
-                    c.getName().equals( Locale._xmlFragment );
-
-            if (_discardDocElem || isFrag)
-            {
-                if (_replaceDocElem != null)
-                    c.setName( _replaceDocElem );
-                else
-                {
-                    // Remove the content around the element to remove so that that content
-                    // does not appear to have been the contents of the removed element.
-
-                    while ( c.toParent() )
-                        ;
-                    
-                    c.next();
-
-                    while ( !c.isElem() )
-                        if (c.isText()) c.moveChars( null, -1 ); else c.moveNode( null );
-
-                    assert c.isElem();
-                    c.skip();
-
-                    while ( !c.isFinish() )
-                        if (c.isText()) c.moveChars( null, -1 ); else c.moveNode( null );
-
-                    c.toParent();
-
-                    c.next();
-
-                    assert c.isElem();
-                    
-                    c.moveNodeContents( c, true );
-                    
-                    c.moveNode( null );
-                }
-                
-                // Remove the fragment namespace decl
-                
-                if (isFrag)
-                {
-                    c.moveTo( _frontier );
-                    
-                    if (c.toFirstAttr())
-                    {
-                        for ( ; ; )
-                        {
-                            if (c.isXmlns() && c.getXmlnsUri().equals( Locale._openFragUri ))
-                            {
-                                c.moveNode( null );
-
-                                if (!c.isAttr())
-                                    break;
-                            }
-                            else if (!c.toNextAttr())
-                                break;
-                        }
-                    }
-                }
-            }
-            
-
-            if (_additionalNamespaces != null)
-            {
-                c.moveTo( _frontier );
-                
-                Locale.toFirstChildElement( c );
-
-                java.util.Iterator i = _additionalNamespaces.keySet().iterator();
-                
-                while ( i.hasNext() )
-                {
-                    String prefix = (String) i.next();
-
-                    // Usually, this is the predefined xml namespace
-                    if (!prefix.toLowerCase().startsWith( "xml" ))
-                    {
-                        if (c.namespaceForPrefix( prefix, false ) == null)
-                        {
-                            c.push();
-                            
-                            c.next();
-                            c.createAttr( _locale.createXmlns( prefix ) );
-                            c.next();
-                            
-                            String namespace = (String) _additionalNamespaces.get( prefix );
-                            c.insertChars( namespace, 0, namespace.length() );
-                                          
-                            c.pop();
-                        }
-                    }
-                }
-            }
-            
-            c.moveTo( _frontier );
-
-            assert c.isRoot();
-            
-            return c;
-        }
-
-        public void dump ( )
-        {
-            _frontier.dump();
-        }
-        
-        private Locale  _locale;
-        private Xobj    _frontier;
-        private boolean _after;
-        private boolean _discardDocElem;
-        private QName   _replaceDocElem;
-        private boolean _stripWhitespace;
-        private boolean _stripComments;
-        private boolean _stripProcinsts;
-        private Map     _substituteNamespaces;
-        private Map     _additionalNamespaces;
-    }
-
-    //
-    //
-    //
-
-    private abstract static class Xobj implements TypeStore
-    {
-        Xobj ( Locale l, int kind, int domType )
-        {
-            assert
-                kind == ROOT || kind == ELEM || kind == ATTR ||
-                    kind == COMMENT || kind == PROCINST;
-                    
-            _locale = l;
-            _bits = (domType << 4) + kind;
-        }
-
-        boolean entered ( ) { return _locale.entered(); }
-
-        final int kind    ( ) { return _bits & 0xF; }
-        final int domType ( ) { return (_bits & 0xF0) >> 4; }
-        
-        final boolean isRoot      ( ) { return kind() == ROOT; }
-        final boolean isAttr      ( ) { return kind() == ATTR; }
-        final boolean isElem      ( ) { return kind() == ELEM; }
-        final boolean isProcinst  ( ) { return kind() == PROCINST; }
-        final boolean isContainer ( ) { return kindIsContainer( kind() ); }
-        final boolean isUserNode  ( ) { return kindIsUserNode ( kind() ); }
-        
-        boolean isNormalAttr ( ) { return isAttr() && !isXmlns(); }
-
-        final int cchValue ( ) { return _cchValue; }
-        final int cchAfter ( ) { return _cchAfter; }
-
-        final int posAfter ( ) { return 2 + _cchValue; }
-        final int posMax   ( ) { return 2 + _cchValue + _cchAfter; }
-
-        boolean isXmlns ( ) { return isAttr() ? Locale.isXmlns( _name ) : false; }
-
-        String getXmlnsPrefix ( ) { return Locale.xmlnsPrefix( _name ); }
-        String getXmlnsUri    ( ) { return getValue(); }
-
-        boolean hasTextNoEnureOccupancy ( )
-        {
-            if (_cchValue > 0)
-                return true;
-
-            Xobj lastAttr = lastAttr();
-
-            return lastAttr != null && lastAttr._cchAfter > 0;
-        }
-
-        boolean hasAttrs    ( ) { return _firstChild != null &&  _firstChild.isAttr(); }
-        boolean hasChildren ( ) { return _lastChild  != null && !_lastChild .isAttr(); }
-
-        Xobj lastAttr ( )
-        {
-            if (_firstChild == null || !_firstChild.isAttr())
-                return null;
-
-            Xobj lastAttr = _firstChild;
-
-            while ( lastAttr._nextSibling != null && lastAttr._nextSibling.isAttr() )
-                lastAttr = lastAttr._nextSibling;
-
-            return lastAttr;
-        }
-
-        abstract Dom getDom ( );
-        
-        abstract Xobj newNode ( );
-
-        final int cchRight ( int p )
-        {
-            assert isNormal( p );
-            
-            if (p <= 0)
-                return 0;
-            
-            int pa = posAfter();
-            
-            return p < pa ? pa - p - 1 : posMax() - p;
-        }
-
-        //
-        // Dom interface
-        //
-
-        public final Locale locale   ( ) { return _locale;   }
-        public final int    nodeType ( ) { return domType(); }
-        public final QName  getQName ( ) { return _name;     }
-        
-        public final Cur tempCur ( ) { Cur c = _locale.tempCur(); c.moveTo( this ); return c; }
-
-        public void dump ( PrintStream o, Object ref ) { Cur.dump( o, (Xobj) this, ref ); }
-        public void dump ( PrintStream o ) { Cur.dump( o, this, this ); }
-        public void dump ( ) { dump( System.out ); }
-
-        //
-        //
-        //
-
-        Cur getEmbedded ( )
-        {
-            _locale.unregisterCurs();
-            
-            return _embedded;
-        }
-
-        //
-        //
-        //
-
-        final Xobj findXmlnsForPrefix ( String prefix )
-        {
-            assert isContainer() && prefix != null;
-
-            for ( Xobj c = this ; c != null ; c = c._parent )
-                for ( Xobj a = c.firstAttr() ; a != null ; a = a.nextAttr() )
-                    if (a.isXmlns() && a.getXmlnsPrefix().equals( prefix ))
-                        return a;
-
-            return null;
-        }
-
-        final boolean removeAttr ( QName name )
-        {
-            assert isContainer();
-
-            Xobj a = getAttr( name );
-
-            if (a == null)
-                return false;
-
-            Cur c = a.tempCur();
-
-            for ( ; ; )
-            {
-                c.moveNode( null );
-
-                a = getAttr( name );
-
-                if (a == null)
-                    break;
-
-                c.moveTo( a );
-            }
-
-            c.release();
-
-            return true;
-        }
-
-        final Xobj setAttr ( QName name, String value )
-        {
-            assert isContainer();
-
-            Cur c = tempCur();
-
-            if (c.toAttr( name ))
-                c.removeFollowingAttrs();
-            else
-            {
-                c.next();
-                c.createAttr( name );
-            }
-
-            c.setValue( value );
-
-            Xobj a = c._xobj;
-
-            c.release();
-
-            return a;
-        }
-
-        final void setName ( QName newName )
-        {
-            assert isAttr() || isElem() || isProcinst();
-            assert newName != null;
-
-            if (!_name.equals( newName ) || !_name.getPrefix().equals( newName.getPrefix() ))
-            {
-                _locale.notifyGeneralChangeListeners();
-
-                QName oldName = _name;
-
-                _name = newName;
-
-                if (!isProcinst())
-                {
-                    Xobj disconnectFromHere = this;
-                    
-                    if (isAttr() && _parent != null)
-                    {
-                        if (oldName.equals( Locale._xsiType ) || newName.equals( Locale._xsiType ))
-                            disconnectFromHere = _parent;
-                            
-                        if (oldName.equals( Locale._xsiNil ) || newName.equals( Locale._xsiNil ))
-                            _parent.invalidateNil();
-                    }
-
-                    disconnectFromHere.disconnectNonRootUsers();
-                }
-
-                _locale._versionAll++;
-                _locale._versionSansText++;
-            }
-        }
-
-        final Xobj ensureParent ( )
-        {
-            assert _parent != null || (!isRoot() && cchAfter() == 0);
-            return _parent == null ? new DocumentFragXobj( _locale ).appendXobj( this ) : _parent;
-        }
-
-        final Xobj firstAttr ( )
-        {
-            return _firstChild == null || !_firstChild.isAttr() ? null : _firstChild;
-        }
-        
-        final Xobj nextAttr ( )
-        {
-            return _nextSibling == null || !_nextSibling.isAttr() ? null : _nextSibling;
-        }
-
-        final boolean isValid ( )
-        {
-            if (isVacant() && (_cchValue != 0 || _user == null))
-                return false;
-
-            return true;
-        }
-
-        final boolean isNormal ( int p )
-        {
-            if (!isValid())
-                return false;
-            
-            if (p == END_POS)
-                return true;
-
-            if (p < 0 || p > posMax())
-                return false;
-
-            if (isRoot())
-            {
-                if (p >= posAfter())
-                    return false;
-            }
-            else if (!isAttr())
-            {
-                if (p >= posMax())
-                    return false;
-            }
-            else if (p >= posAfter())
-            {
-                if (_cchAfter == 0)
-                    return false;
-
-                if (_nextSibling != null && _nextSibling.isAttr())
-                    return false;
-
-                if (_parent == null || !(_parent.isRoot() || _parent.kind() == ELEM))
-                    return false;
-            }
-
-            return true;
-        }
-
-        Xobj removeXobj ( )
-        {
-            if (_parent != null)
-            {
-                if (_parent._firstChild == this)
-                    _parent._firstChild = _nextSibling;
-
-                if (_parent._lastChild == this)
-                    _parent._lastChild = _prevSibling;
-
-                if (_prevSibling != null)
-                    _prevSibling._nextSibling = _nextSibling;
-
-                if (_nextSibling != null)
-                    _nextSibling._prevSibling = _prevSibling;
-
-                _parent = null;
-                _prevSibling = null;
-                _nextSibling = null;
-            }
-
-            return this;
-        }
-
-        Xobj insertXobj ( Xobj s )
-        {
-            assert _locale == s._locale;
-            assert !s.isRoot() && !isRoot();
-            assert s._parent == null;
-            assert s._prevSibling == null;
-            assert s._nextSibling == null;
-
-            ensureParent();
-
-            s._parent = _parent;
-            s._prevSibling = _prevSibling;
-            s._nextSibling = this;
-
-            if (_prevSibling != null)
-                _prevSibling._nextSibling = s;
-            else
-                _parent._firstChild = s;
-
-            _prevSibling = s;
-
-            return this;
-        }
-
-        Xobj appendXobj ( Xobj c )
-        {
-            assert _locale == c._locale;
-            assert !c.isRoot();
-            assert c._parent == null;
-            assert c._prevSibling == null;
-            assert c._nextSibling == null;
-            assert _lastChild == null || _firstChild != null;
-
-            c._parent = this;
-            c._prevSibling = _lastChild;
-
-            if (_lastChild == null)
-                _firstChild = c;
-            else
-                _lastChild._nextSibling = c;
-
-            _lastChild = c;
-
-            return this;
-        }
-
-        void removeXobjs ( Xobj first, Xobj last )
-        {
-            assert _locale == first._locale;
-            assert last._locale == first._locale;
-            assert first._parent == this;
-            assert last._parent == this;
-
-            if (_firstChild == first)
-                _firstChild = last._nextSibling;
-
-            if (_lastChild == last)
-                _lastChild = first._prevSibling;
-
-            if (first._prevSibling != null)
-                first._prevSibling._nextSibling = last._nextSibling;
-
-            if (last._nextSibling != null)
-                last._nextSibling._prevSibling = first._prevSibling;
-
-            // Leave the children linked together
-            
-            first._prevSibling = null;
-            last._nextSibling = null;
-
-            for ( ; first != null ; first = first._nextSibling )
-                first._parent = null;
-        }
-        
-        void insertXobjs ( Xobj first, Xobj last )
-        {
-            assert _locale == first._locale;
-            assert last._locale == first._locale;
-            assert first._parent == null && last._parent == null;
-            assert first._prevSibling == null;
-            assert last._nextSibling == null;
-
-            first._prevSibling = _prevSibling;
-            last._nextSibling = this;
-
-            if (_prevSibling != null)
-                _prevSibling._nextSibling = first;
-            else
-                _parent._firstChild = first;
-
-            _prevSibling = last;
-
-            for ( ; first != this ; first = first._nextSibling )
-                first._parent = _parent;
-        }
-        
-        void appendXobjs ( Xobj first, Xobj last )
-        {
-            assert _locale == first._locale;
-            assert last._locale == first._locale;
-            assert first._parent == last._parent;
-            assert first._parent == null && last._parent == null;
-            assert first._prevSibling == null;
-            assert last._nextSibling == null;
-            assert !first.isRoot();
-
-            first._prevSibling = _lastChild;
-            
-            if (_lastChild == null)
-                _firstChild = first;
-            else
-                _lastChild._nextSibling = first;
-
-            _lastChild = last;
-
-            for ( ; first != null ; first = first._nextSibling )
-                first._parent = this;
-        }
-
-        String getValue ( int wsr )
-        {
-            ensureOccupancy();
-            return getString( 1, -1, wsr );
-        }
-        
-        String getValue ( )
-        {
-            ensureOccupancy();
-            return getString( 1, -1, Locale.WS_PRESERVE );
-        }
-        
-        String getString ( int pos, int cch, int wsr )
-        {
-            int cchRight = cchRight( pos );
-
-            if (cchRight == 0)
-                return "";
-
-            if (cch < 0 || cch > cchRight)
-                cch = cchRight;
-
-            int pa = posAfter();
-
-            assert pos > 0;
-
-            String s;
-
-            if (pos >= pa)
-            {
-                s = CharUtil.getString( _srcAfter, _offAfter + pos - pa, cch );
-
-                if (pos == pa && cch == _cchAfter)
-                {
-                    _srcAfter = s;
-                    _offAfter = 0;
-                }
-            }
-            else
-            {
-                s = CharUtil.getString( _srcValue, _offValue + pos - 1, cch );
-
-                if (pos == 1 && cch == _cchValue)
-                {
-                    _srcValue = s;
-                    _offValue = 0;
-                }
-            }
-
-            return Locale.applyWhiteSpaceRule( s, wsr );
-        }
-
-        Object getChars ( int pos, int cch, Cur c )
-        {
-            int cchRight = cchRight( pos );
-
-            if (cch < 0 || cch > cchRight)
-                cch = cchRight;
-
-            if (cch == 0)
-            {
-                c._offSrc = 0;
-                c._cchSrc = 0;
-                
-                return null;
-            }
-
-            int pa = posAfter();
-
-            Object src;
-
-            if (pos >= pa)
-            {
-                src = _srcAfter;
-                c._offSrc = _offAfter + pos - pa;
-            }
-            else
-            {
-                src = _srcValue;
-                c._offSrc = _offValue + pos - 1;
-            }
-            
-            c._cchSrc = cch;
-            
-            return src;
-        }
-
-        //
-        // 
-        //
-
-        private final void setBit     ( int mask ) { _bits |=  mask; }
-        private final void clearBit   ( int mask ) { _bits &= ~mask; }
-        
-        private final boolean bitIsSet   ( int mask ) { return (_bits & mask) != 0; }
-        private final boolean bitIsClear ( int mask ) { return (_bits & mask) == 0; }
-
-        private static final int VACANT   = 0x100;
-        private static final int STABLEUSER = 0x200;
-
-        final boolean isVacant     ( ) { return bitIsSet  ( VACANT ); }
-        final boolean isOccupied   ( ) { return bitIsClear( VACANT ); }
-        
-        final boolean isStableUser    ( ) { return bitIsSet( STABLEUSER ); }
-
-        void invalidateNil ( )
-        {
-            if (_user != null)
-                _user.invalidate_nilvalue();
-        }
-
-        void setStableType ( SchemaType type )
-        {
-            assert isValid();
-            assert isRoot(); // Only at root for now
-
-            disconnectUsers( true );
-
-            assert _user == null;
-
-            _user = ((TypeStoreUserFactory) type).createTypeStoreUser();
-
-            _user.attach_store( this );
-
-            setBit( STABLEUSER );
-        }
-
-        void disconnectNonRootUsers ( )
-        {
-            disconnectUsers( !isRoot() );
-        }
-        
-        void disconnectUsers ( boolean doMe )
-        {
-            Xobj x = this;
-
-            main_loop:
-            for ( ; ; )
-            {
-                if (x._firstChild != null && x._user != null &&
-                        (!x.isStableUser() || (x == this && doMe)))
-                {
-                    x = x._firstChild;
-                    continue;
-                }
-
-                for ( ; ; x = x._parent )
-                {
-                    // post document order process here
-
-                    if (x._user != null && (x != this || doMe))
-                    {
-                        x.ensureOccupancy();
-                        x._user.disconnect_store();
-                        x._user = null;
-                    }
-
-                    if (x == this)
-                        break main_loop;
-
-                    if (x._nextSibling != null)
-                    {
-                        x = x._nextSibling;
-                        break;
-                    }
-                }
-            }
-        }
-
-        /**
-         * Given a prefix, returns the namespace corresponding to
-         * the prefix at this location, or null if there is no mapping
-         * for this prefix.
-         * <p>
-         * prefix="" indicates the absence of a prefix.  A return value
-         * of "" indicates the no-namespace, and should not be confused
-         * with a return value of null, which indicates an illegal
-         * state, where there is no mapping for the given prefix.
-         * <p>
-         * If the the default namespace is not explicitly mapped in the xml,
-         * the xml spec says that it should be mapped to the no-namespace.
-         * When the 'defaultAlwaysMapped' parameter is true, the default namepsace
-         * will return the no-namespace even if it is not explicity
-         * mapped, otherwise the default namespace will return null.
-         * <p>
-         * This function intercepts the built-in prefixes "xml" and
-         * "xmlns" and returns their well-known namespace URIs.
-         *
-         * @param prefix The prefix to look up.
-         * @param mapDefault If true, return the no-namespace for the default namespace if not set.
-         * @return The mapped namespace URI ("" if no-namespace), or null if no mapping.
-         */
-        
-        final String namespaceForPrefix ( String prefix, boolean defaultAlwaysMapped )
-        {
-            if (prefix == null)
-                prefix = "";
-            
-            // handle built-in prefixes
-            
-            if (prefix.equals( "xml" ))
-                return Locale._xml1998Uri;
-            
-            if (prefix.equals( "xmlns" ))
-                return Locale._xmlnsUri;
-
-            for ( Xobj x = this ; x != null ; x = x._parent )
-                for ( Xobj a = x._firstChild ; a != null && a.isAttr() ; a = a._nextSibling )
-                    if (a.isXmlns() && a.getXmlnsPrefix().equals( prefix ))
-                        return a.getXmlnsUri();
-
-            return defaultAlwaysMapped && prefix.length() == 0 ? "" : null;
-        }
-
-        final QName getValueAsQName ( )
-        {
-            assert !hasChildren();
-
-            // TODO -
-            // caching the QName value in this object would prevent one from having
-            // to repeat all this string arithmatic over and over again.  Perhaps
-            // when I make the store capable of handling strong simple types this
-            // can be done ...
-
-            String value = getValue( Locale.WS_COLLAPSE );
-            
-            String prefix, localname;
-
-            int firstcolon = value.indexOf( ':' );
-
-            if (firstcolon >= 0)
-            {
-                prefix = value.substring( 0, firstcolon );
-                localname = value.substring( firstcolon + 1 );
-            }
-            else
-            {
-                prefix = "";
-                localname = value;
-            }
-
-            String uri = namespaceForPrefix( prefix, true );
-
-            if (uri == null)
-                return null; // no prefix definition found - that's illegal
-
-            return new QName( uri, localname );
-        }
-        
-        final Xobj getAttr ( QName name )
-        {
-            for ( Xobj x = _firstChild ; x != null && x.isAttr() ; x = x._nextSibling )
-                if (x._name.equals( Locale._xsiType ))
-                    return x;
-
-            return null;
-        }
-        
-        final QName getXsiTypeName ( )
-        {
-            assert isContainer();
-
-            Xobj a = getAttr( Locale._xsiType );
-
-            return a == null ? null : a.getValueAsQName();
-        }
-
-        final TypeStoreUser getUser ( )
-        {
-            assert isUserNode();
-            assert _user != null || (!isRoot() && !isStableUser());
-
-            if (_user == null)
-            {
-                // BUGBUG - this is recursive
-                
-                TypeStoreUser parentUser =
-                    _parent == null
-                        ? ((TypeStoreUserFactory) XmlBeans.NO_TYPE).createTypeStoreUser()
-                        : _parent.getUser();
-
-                _user =
-                    isElem()
-                        ? parentUser.create_element_user( _name, getXsiTypeName() )
-                        : parentUser.create_attribute_user( _name );
-                
-                _user.attach_store( this );
-            }
-
-            return _user;
-        }
-
-        final void invalidateUser ( )
-        {
-            assert isUserNode() && isValid();
-            
-            if (_user != null)
-                _user.invalidate_value();
-        }
-        
-        final void ensureOccupancy ( )
-        {
-            assert isValid();
-            
-            if (isVacant())
-            {
-                assert isUserNode();
-                
-                // In order to use Cur to set the value, I mark the
-                // value as occupied and remove the user to prohibit
-                // further user invalidations
-
-                clearBit( VACANT ); 
-
-                TypeStoreUser user = _user;
-                _user = null;
-                
-                String value = user.build_text( this );
-
-                Cur c = tempCur();
-
-                c.next();
-
-                c.insertChars( value, 0, value.length() );
-
-                c.release();
-
-                _user = user;
-            }
-        }
-        
-        //
-        // TypeStore
-        //
-        
-        public SchemaTypeLoader get_schematypeloader ( )
-        {
-            return _locale._schemaTypeLoader;
-        }
-        
-        public XmlLocale get_locale ( )
-        {
-            return _locale;
-        }
-
-        // TODO - remove this when I've replaced the old store
-        public Object get_root_object ( )
-        {
-            return _locale;
-        }
-        
-        public boolean is_attribute    ( ) { assert isValid(); return isAttr();               }
-        public boolean validate_on_set ( ) { assert isValid(); return _locale._validateOnSet; }
-
-        // TODO - need to set up the frame here for now ... when I have converted the code gen,
-        // do it there and remove it from here.
-        //
-        // Note that not all of these need the temp frame ...
-        
-        public void invalidate_text ( )
-        {
-            _locale.enter();
-
-            try
-            {
-                assert isValid();
-
-                if (!isVacant())
-                {
-                    if (hasTextNoEnureOccupancy() || hasChildren())
-                    {
-                        TypeStoreUser user = _user;
-                        _user = null;
-
-                        Cur c = tempCur();
-                        c.moveNodeContents( null, false );
-                        c.release();
-
-                        _user = user;
-                    }
-
-                    setBit( VACANT );
-                }
-
-                assert isValid();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public String fetch_text ( int whitespaceRule )
-        {
-            assert isValid() && isOccupied();
-
-            return getValue( whitespaceRule );
-        }
-        
-        public XmlCursor new_cursor ( )
-        {
-            _locale.enter();
-            
-            try
-            {
-                Cur c = tempCur();
-                XmlCursor xc = new Cursor( c );
-                c.release();
-                return xc;
-
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public SchemaField get_schema_field ( )
-        {
-            assert isValid();
-
-            if (isRoot())
-                return null;
-
-            TypeStoreUser parentUser = ensureParent().getUser();
-
-            if (isAttr())
-                return parentUser.get_attribute_field( _name );
-
-            assert isElem();
-
-            TypeStoreVisitor visitor = parentUser.new_visitor();
-
-            if (visitor == null)
-                return null;
-
-            for ( Xobj x = _parent._firstChild ; ; x = x._nextSibling )
-            {
-                if (x.isElem())
-                {
-                    visitor.visit( x._name );
-
-                    if (x == this)
-                        return visitor.get_schema_field();
-                }
-            }
-        }
-
-        public void validate ( ValidatorListener eventSink )
-        {
-            _locale.enter();
-            
-            try
-            {
-                Cur c = tempCur();
-                Validate validate = new Validate( c, eventSink );
-                c.release();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public TypeStoreUser change_type ( SchemaType type )
-        {
-            _locale.enter();
-            
-            try
-            {
-                Cur c = tempCur();
-                c.setType( type );
-                c.release();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-
-            return _user;
-        }
-        
-        public QName get_xsi_type ( )
-        {
-            return getXsiTypeName();
-        }
-
-        public void store_text ( String text )
-        {
-            _locale.enter();
-            
-            try
-            {
-                Cur c = tempCur();
-                
-                c.moveNodeContents( null, false );
-                
-                if (text != null && text.length() > 0)
-                {
-                    c.next();
-                    c.insertChars( text, 0, text.length() );
-                }
-                
-                c.release();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public int compute_flags ( )
-        {
-            if (isRoot())
-                return 0;
-            
-            TypeStoreUser parentUser = ensureParent().getUser();
-
-            if (isAttr())
-                return parentUser.get_attributeflags( _name );
-
-            int f = parentUser.get_elementflags( _name );
-
-            if (f != -1)
-                return f;
-            
-            TypeStoreVisitor visitor = parentUser.new_visitor();
-
-            if (visitor == null)
-                return 0;
-            
-            for ( Xobj x = _parent._firstChild ; ; x = x._nextSibling )
-            {
-                if (x.isElem())
-                {
-                    visitor.visit( x._name );
-
-                    if (x == this)
-                        return visitor.get_elementflags();
-                }
-            }
-        }
-        
-        public String compute_default_text ( )
-        {
-            if (isRoot())
-                return null;
-            
-            TypeStoreUser parentUser = ensureParent().getUser();
-
-            if (isAttr())
-                return parentUser.get_default_attribute_text( _name );
-
-            String result = parentUser.get_default_element_text( _name );
-
-            if (result != null)
-                return result;
-
-            TypeStoreVisitor visitor = parentUser.new_visitor();
-
-            if (visitor == null)
-                return null;
-            
-            for ( Xobj x = _parent._firstChild ; ; x = x._nextSibling )
-            {
-                if (x.isElem())
-                {
-                    visitor.visit( x._name );
-
-                    if (x == this)
-                        return visitor.get_default_text();
-                }
-            }
-        }
-        
-        public boolean find_nil ( )
-        {
-            if (isAttr())
-                return false;
-
-            _locale.enter();
-
-            try
-            {
-                Xobj a = getAttr( Locale._xsiNil );
-
-                if (a == null)
-                    return false;
-
-                String value = a.getValue( Locale.WS_COLLAPSE );
-
-                return value.equals( "true" ) || value.equals( "1" );
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public void invalidate_nil ( )
-        {
-            if (isAttr())
-                return;
-
-            _locale.enter();
-
-            try
-            {
-                if (!_user.build_nil())
-                    removeAttr( Locale._xsiNil );
-                else
-                    setAttr( Locale._xsiNil, "true" );
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public int count_elements ( QName name )
-        {
-            int count = 0;
-            
-            for ( Xobj x = _parent._firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && x._name.equals( name ))
-                    count++;
-
-            return count;
-        }
-        
-        public int count_elements ( QNameSet names )
-        {
-            int count = 0;
-            
-            for ( Xobj x = _parent._firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && names.contains( x._name ))
-                    count++;
-
-            return count;
-        }
-        
-        public TypeStoreUser find_element_user ( QName name, int i )
-        {
-            for ( Xobj x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && x._name.equals( name ) && --i < 0)
-                    return x.getUser();
-
-            return null;
-        }
-        
-        public TypeStoreUser find_element_user ( QNameSet names, int i )
-        {
-            for ( Xobj x = _parent._firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && names.contains( x._name ) && --i < 0)
-                    return x.getUser();
-
-            return null;
-        }
-        
-        public void find_all_element_users ( QName name, List fillMeUp )
-        {
-            for ( Xobj x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && x._name.equals( name ))
-                    fillMeUp.add( x.getUser() );
-        }
-        
-        public void find_all_element_users ( QNameSet names, List fillMeUp )
-        {
-            for ( Xobj x = _parent._firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && names.contains( x._name ))
-                    fillMeUp.add( x.getUser() );
-        }
-
-        private static TypeStoreUser insertElement ( QName name, Xobj x, int pos )
-        {
-            x._locale.enter();
-
-            try
-            {
-                Cur c = x._locale.tempCur();
-                c.moveTo( x, pos );
-                c.createElement( name );
-                TypeStoreUser user = c.getUser();
-                c.release();
-                return user;
-            }
-            finally
-            {
-                x._locale.exit();
-            }
-        }
-        
-        public TypeStoreUser insert_element_user ( QName name, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException();
-
-            if (!isContainer())
-                throw new IllegalStateException();
-            
-            for ( Xobj x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && x._name.equals( name ) && --i < 0)
-                    return insertElement( name, x, 0 );
-
-            return add_element_user( name );
-        }
-        
-        public TypeStoreUser insert_element_user ( QNameSet names, QName name, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException();
-
-            if (!isContainer())
-                throw new IllegalStateException();
-            
-            for ( Xobj x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && names.contains( x._name ) && --i < 0)
-                    return insertElement( name, x, 0 );
-
-            return add_element_user( name );
-        }
-        
-        public TypeStoreUser add_element_user ( QName name )
-        {
-            if (!isContainer())
-                throw new IllegalStateException();
-
-            QNameSet endSet = null;
-            Xobj candidate = null;
-
-            for ( ; ; )
-            {
-                Xobj x = candidate == null ? _lastChild : candidate._prevSibling;
-
-                while ( x != null && !x.isElem() )
-                    x = x._prevSibling;
-
-                if (x == null || x._name.equals( name ))
-                    break;
-
-                if (endSet == null)
-                    endSet = _user.get_element_ending_delimiters( name );
-
-                if (endSet.contains( x._name ))
-                    candidate = x;
-            }
-
-            return
-                candidate == null
-                    ? insertElement( name, this, END_POS )
-                    : insertElement( name, candidate, 0 );
-        }
-        
-        private static void removeElement ( Xobj x )
-        {
-            if (x == null)
-                throw new IndexOutOfBoundsException();
-            
-            x._locale.enter();
-
-            try
-            {
-                Cur c = x.tempCur();
-                c.moveNode( null );
-                c.release();
-            }
-            finally
-            {
-                x._locale.exit();
-            }
-        }
-                
-        public void remove_element ( QName name, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException();
-
-            if (!isContainer())
-                throw new IllegalStateException();
-
-            Xobj x;
-            
-            for ( x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && x._name.equals( name ) && --i < 0)
-                    break;
-
-            removeElement( x );
-        }
-        
-        public void remove_element ( QNameSet names, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException();
-
-            if (!isContainer())
-                throw new IllegalStateException();
-
-            Xobj x;
-            
-            for ( x = _firstChild ; x != null ; x = x._nextSibling )
-                if (x.isElem() && names.contains( x._name ) && --i < 0)
-                    break;
-
-            removeElement( x );
-        }
-        
-        public TypeStoreUser find_attribute_user ( QName name )
-        {
-            Xobj a = getAttr( name );
-
-            return a == null ? null : a.getUser();
-        }
-        
-        public TypeStoreUser add_attribute_user ( QName name )
-        {
-            if (getAttr( name ) != null)
-                throw new IndexOutOfBoundsException();
-
-            _locale.enter();
-
-            try
-            {
-                return setAttr( name, "" ).getUser();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public void remove_attribute ( QName name )
-        {
-            try
-            {
-                if (!removeAttr( name ))
-                    throw new IndexOutOfBoundsException();
-            }
-            finally
-            {
-                _locale.exit();
-            }
-        }
-        
-        public TypeStoreUser copy_contents_from ( TypeStore source )
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-        
-        public void array_setter ( XmlObject[] sources, QName elementName )
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-        
-        public void visit_elements ( TypeStoreVisitor visitor )
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-        
-        public XmlObject[] exec_query ( String queryExpr, XmlOptions options ) throws XmlException
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-        
-        public String find_prefix_for_nsuri ( String nsuri, String suggested_prefix )
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-        
-        public String getNamespaceForPrefix ( String prefix )
-        {
-            throw new RuntimeException( "Not implemeneted" );
-        }
-
-        //
-        //
-        //
-
-        Locale _locale;
-        QName _name;
-
-        private Cur _embedded;
-        
-        private int _bits;
-
-        private Xobj _parent;
-        private Xobj _nextSibling;
-        private Xobj _prevSibling;
-        private Xobj _firstChild;
-        private Xobj _lastChild;
-        
-        private Object _srcValue, _srcAfter;
-        private int    _offValue, _offAfter;
-        private int    _cchValue, _cchAfter;
-
-        // TODO - put this in a ptr off this node
-        private CharNode _charNodesValue;
-        private CharNode _charNodesAfter;
-
-        // TODO - put this in a ptr off this node
-        private TypeStoreUser _user;
-    }
-
-    private abstract static class NodeXobj extends Xobj implements Dom, Node, NodeList
-    {
-        NodeXobj ( Locale l, int kind, int domType )
-        {
-            super( l, kind, domType );
-        }
-
-        Dom getDom ( ) { return this; }
-
-        //
-        //
-        //
-        
-        public int getLength ( ) { return DomImpl._childNodes_getLength( this ); }
-        public Node item ( int i ) { return DomImpl._childNodes_item( this, i ); }
-
-        public Node appendChild ( Node newChild ) { return DomImpl._node_appendChild( this, newChild ); }
-        public Node cloneNode ( boolean deep ) { return DomImpl._node_cloneNode( this, deep ); }
-        public NamedNodeMap getAttributes ( ) { return null; }
-        public NodeList getChildNodes ( ) { return this; }
-        public Node getParentNode ( ) { return DomImpl._node_getParentNode( this ); }
-        public Node removeChild ( Node oldChild ) { return DomImpl._node_removeChild( this, oldChild ); }
-        public Node getFirstChild ( ) { return DomImpl._node_getFirstChild( this ); }
-        public Node getLastChild ( ) { return DomImpl._node_getLastChild( this ); }
-        public String getLocalName ( ) { return DomImpl._node_getLocalName( this ); }
-        public String getNamespaceURI ( ) { return DomImpl._node_getNamespaceURI( this ); }
-        public Node getNextSibling ( ) { return DomImpl._node_getNextSibling( this ); }
-        public String getNodeName ( ) { return DomImpl._node_getNodeName( this ); }
-        public short getNodeType ( ) { return DomImpl._node_getNodeType( this ); }
-        public String getNodeValue ( ) { return DomImpl._node_getNodeValue( this ); }
-        public Document getOwnerDocument ( ) { return DomImpl._node_getOwnerDocument( this ); }
-        public String getPrefix ( ) { return DomImpl._node_getPrefix( this ); }
-        public Node getPreviousSibling ( ) { return DomImpl._node_getPreviousSibling( this ); }
-        public boolean hasAttributes ( ) { return DomImpl._node_hasAttributes( this ); }
-        public boolean hasChildNodes ( ) { return DomImpl._node_hasChildNodes( this ); }
-        public Node insertBefore ( Node newChild, Node refChild ) { return DomImpl._node_insertBefore( this, newChild, refChild ); }
-        public boolean isSupported ( String feature, String version ) { return DomImpl._node_isSupported( this, feature, version ); }
-        public void normalize ( ) { DomImpl._node_normalize( this ); }
-        public Node replaceChild ( Node newChild, Node oldChild ) { return DomImpl._node_replaceChild( this, newChild, oldChild ); }
-        public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
-        public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
-        
-        // DOM Level 3
-        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
-        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
-        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
-        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
-        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
-        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
-        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
-        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
-        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
-        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
-        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
-        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
-    }
-
-    private final static class DocumentXobj extends NodeXobj implements Document
-    {
-        DocumentXobj ( Locale l )
-        {
-            super( l, ROOT, DomImpl.DOCUMENT );
-        }
-        
-        Xobj newNode ( ) { return new DocumentXobj( _locale ); }
-        
-        //
-        //
-        //
-        
-        public Attr createAttribute ( String name ) { return DomImpl._document_createAttribute( this, name ); }
-        public Attr createAttributeNS ( String namespaceURI, String qualifiedName ) { return DomImpl._document_createAttributeNS( this, namespaceURI, qualifiedName ); }
-        public CDATASection createCDATASection ( String data ) { return DomImpl._document_createCDATASection( this, data ); }
-        public Comment createComment ( String data ) { return DomImpl._document_createComment( this, data ); }
-        public DocumentFragment createDocumentFragment ( ) { return DomImpl._document_createDocumentFragment( this ); }
-        public Element createElement ( String tagName ) { return DomImpl._document_createElement( this, tagName ); }
-        public Element createElementNS ( String namespaceURI, String qualifiedName ) { return DomImpl._document_createElementNS( this, namespaceURI, qualifiedName ); }
-        public EntityReference createEntityReference ( String name ) { return DomImpl._document_createEntityReference( this, name ); }
-        public ProcessingInstruction createProcessingInstruction ( String target, String data ) { return DomImpl._document_createProcessingInstruction( this, target, data ); }
-        public Text createTextNode ( String data ) { return DomImpl._document_createTextNode( this, data ); }
-        public DocumentType getDoctype ( ) { return DomImpl._document_getDoctype( this ); }
-        public Element getDocumentElement ( ) { return DomImpl._document_getDocumentElement( this ); }
-        public Element getElementById ( String elementId ) { return DomImpl._document_getElementById( this, elementId ); }
-        public NodeList getElementsByTagName ( String tagname ) { return DomImpl._document_getElementsByTagName( this, tagname ); }
-        public NodeList getElementsByTagNameNS ( String namespaceURI, String localName ) { return DomImpl._document_getElementsByTagNameNS( this, namespaceURI, localName ); }
-        public DOMImplementation getImplementation ( ) { return DomImpl._document_getImplementation( this ); }
-        public Node importNode ( Node importedNode, boolean deep ) { return DomImpl._document_importNode( this, importedNode, deep ); }
-
-        // DOM Level 3
-        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-    }
-
-    private static class DocumentFragXobj extends NodeXobj implements DocumentFragment
-    {
-        DocumentFragXobj ( Locale l ) { super( l, ROOT, DomImpl.DOCFRAG ); }
-        
-        Xobj newNode ( ) { return new DocumentFragXobj( _locale ); }
-    }
-
-    private final static class ElementAttributes implements NamedNodeMap
-    {
-        ElementAttributes ( ElementXobj elementXobj )
-        {
-            _elementXobj = elementXobj;
-        }
-        
-        public int getLength ( ) { return DomImpl._attributes_getLength( _elementXobj ); }
-        public Node getNamedItem ( String name ) { return DomImpl._attributes_getNamedItem ( _elementXobj, name ); }
-        public Node getNamedItemNS ( String namespaceURI, String localName ) { return DomImpl._attributes_getNamedItemNS ( _elementXobj, namespaceURI, localName ); }
-        public Node item ( int index ) { return DomImpl._attributes_item ( _elementXobj, index ); }
-        public Node removeNamedItem ( String name ) { return DomImpl._attributes_removeNamedItem ( _elementXobj, name ); }
-        public Node removeNamedItemNS ( String namespaceURI, String localName ) { return DomImpl._attributes_removeNamedItemNS ( _elementXobj, namespaceURI, localName ); }
-        public Node setNamedItem ( Node arg ) { return DomImpl._attributes_setNamedItem ( _elementXobj, arg ); }
-        public Node setNamedItemNS ( Node arg ) { return DomImpl._attributes_setNamedItemNS ( _elementXobj, arg ); }
-
-        private ElementXobj _elementXobj;
-    }
-    
-    private static class ElementXobj extends NodeXobj implements Element
-    {
-        ElementXobj ( Locale l, QName name )
-        {
-            super( l, ELEM, DomImpl.ELEMENT );
-            _name = name;
-        }
-        
-        Xobj newNode ( ) { return new ElementXobj( _locale, _name ); }
-        
-        //
-        //
-        //
-        
-        public NamedNodeMap getAttributes ( )
-        {
-            if (_attributes == null)
-                _attributes = new ElementAttributes( this );
-            
-            return _attributes;
-        }
-        
-        public String getAttribute ( String name ) { return DomImpl._element_getAttribute( this, name ); }
-        public Attr getAttributeNode ( String name ) { return DomImpl._element_getAttributeNode( this, name ); }
-        public Attr getAttributeNodeNS ( String namespaceURI, String localName ) { return DomImpl._element_getAttributeNodeNS( this, namespaceURI, localName ); }
-        public String getAttributeNS ( String namespaceURI, String localName ) { return DomImpl._element_getAttributeNS( this, namespaceURI, localName ); }
-        public NodeList getElementsByTagName ( String name ) { return DomImpl._element_getElementsByTagName( this, name ); }
-        public NodeList getElementsByTagNameNS ( String namespaceURI, String localName ) { return DomImpl._element_getElementsByTagNameNS( this, namespaceURI, localName ); }
-        public String getTagName ( ) { return DomImpl._element_getTagName( this ); }
-        public boolean hasAttribute ( String name ) { return DomImpl._element_hasAttribute( this, name ); }
-        public boolean hasAttributeNS ( String namespaceURI, String localName ) { return DomImpl._element_hasAttributeNS( this, namespaceURI, localName ); }
-        public void removeAttribute ( String name ) { DomImpl._element_removeAttribute( this, name ); }
-        public Attr removeAttributeNode ( Attr oldAttr ) { return DomImpl._element_removeAttributeNode( this, oldAttr ); }
-        public void removeAttributeNS ( String namespaceURI, String localName ) { DomImpl._element_removeAttributeNS( this, namespaceURI, localName ); }
-        public void setAttribute ( String name, String value ) { DomImpl._element_setAttribute( this, name, value ); }
-        public Attr setAttributeNode ( Attr newAttr ) { return DomImpl._element_setAttributeNode( this, newAttr ); }
-        public Attr setAttributeNodeNS ( Attr newAttr ) { return DomImpl._element_setAttributeNodeNS( this, newAttr ); }
-        public void setAttributeNS ( String namespaceURI, String qualifiedName, String value ) { DomImpl._element_setAttributeNS( this, namespaceURI, qualifiedName, value ); }
-        
-        // DOM Level 3
-        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setIdAttribute ( String name, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setIdAttributeNS ( String namespaceURI, String localName, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setIdAttributeNode ( Attr idAttr, boolean isId ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-
-        private ElementAttributes _attributes;
-    }
-
-    private static class AttrXobj extends NodeXobj implements Attr
-    {
-        AttrXobj ( Locale l, QName name )
-        {
-            super( l, ATTR, DomImpl.ATTR );
-            _name = name;
-        }
-
-        Xobj newNode ( ) { return new AttrXobj( _locale, _name ); }
-        
-        //
-        //
-        //
-
-        public String getName ( ) { return DomImpl._node_getNodeName( this ); }
-        public Element getOwnerElement ( ) { return DomImpl._attr_getOwnerElement( this ); }
-        public boolean getSpecified ( ) { return DomImpl._attr_getSpecified( this ); }
-        public String getValue ( ) { return DomImpl._node_getNodeValue( this ); }
-        public void setValue ( String value ) { DomImpl._node_setNodeValue( this, value ); }
-        
-        // DOM Level 3
-        public TypeInfo getSchemaTypeInfo ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public boolean isId ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-    }
-    
-    private static class CommentXobj extends NodeXobj implements Comment
-    {
-        CommentXobj ( Locale l ) { super( l, COMMENT, DomImpl.COMMENT ); }
-
-        Xobj newNode ( ) { return new CommentXobj( _locale ); }
-        
-        public NodeList getChildNodes ( ) { return DomImpl._emptyNodeList; }
-        
-        public void appendData ( String arg ) { DomImpl._characterData_appendData( this, arg ); }
-        public void deleteData ( int offset, int count ) { DomImpl._characterData_deleteData( this, offset, count ); }
-        public String getData ( ) { return DomImpl._characterData_getData( this ); }
-        public int getLength ( ) { return DomImpl._characterData_getLength( this ); }
-        public void insertData ( int offset, String arg ) { DomImpl._characterData_insertData( this, offset, arg ); }
-        public void replaceData ( int offset, int count, String arg ) { DomImpl._characterData_replaceData( this, offset, count, arg ); }
-        public void setData ( String data ) { DomImpl._characterData_setData( this, data ); }
-        public String substringData ( int offset, int count ) { return DomImpl._characterData_substringData( this, offset, count ); }
-    }
-
-    private static class ProcInstXobj extends NodeXobj implements ProcessingInstruction
-    {
-        ProcInstXobj ( Locale l, String target )
-        {
-            super( l, PROCINST, DomImpl.PROCINST );
-            _name = _locale.makeQName( null, target );
-        }
-        
-        Xobj newNode ( ) { return new ProcInstXobj( _locale, _name.getLocalPart() ); }
-        
-        public String getData ( ) { return DomImpl._processingInstruction_getData( this ); }
-        public String getTarget ( ) { return DomImpl._processingInstruction_getTarget( this ); }
-        public void setData ( String data ) { DomImpl._processingInstruction_setData( this, data ); }
-    }
-    
-    //
-    // SAAJ objects
-    //
-
-    private static class SoapPartDocXobj extends Xobj
-    {
-        SoapPartDocXobj ( Locale l )
-        {
-            super( l, ROOT, DomImpl.DOCUMENT );
-            _soapPartDom = new SoapPartDom( this );
-        }
-
-        Dom getDom ( ) { return _soapPartDom; }
-
-        Xobj newNode ( ) { return new SoapPartDocXobj( _locale ); }
-        
-        SoapPartDom _soapPartDom;
-    }
-    
-    private static class SoapPartDom extends SOAPPart implements Dom, Document, NodeList
-    {
-        SoapPartDom ( SoapPartDocXobj docXobj )
-        {
-            _docXobj = docXobj;
-        }
-        
-        public int    nodeType ( ) { return DomImpl.DOCUMENT;   }
-        public Locale locale   ( ) { return _docXobj._locale;   }
-        public Cur    tempCur  ( ) { return _docXobj.tempCur(); }
-        public QName  getQName ( ) { return _docXobj._name;     }
-        
-        public void dump ( ) { dump( System.out ); }
-        public void dump ( PrintStream o ) { _docXobj.dump( o ); }
-        public void dump ( PrintStream o, Object ref ) { _docXobj.dump( o, ref ); }
-
-        public String name ( ) { return "#document"; }
-        
-        public Node appendChild ( Node newChild ) { return DomImpl._node_appendChild( this, newChild ); }
-        public Node cloneNode ( boolean deep ) { return DomImpl._node_cloneNode( this, deep ); }
-        public NamedNodeMap getAttributes ( ) { return null; }
-        public NodeList getChildNodes ( ) { return this; }
-        public Node getParentNode ( ) { return DomImpl._node_getParentNode( this ); }
-        public Node removeChild ( Node oldChild ) { return DomImpl._node_removeChild( this, oldChild ); }
-        public Node getFirstChild ( ) { return DomImpl._node_getFirstChild( this ); }
-        public Node getLastChild ( ) { return DomImpl._node_getLastChild( this ); }
-        public String getLocalName ( ) { return DomImpl._node_getLocalName( this ); }
-        public String getNamespaceURI ( ) { return DomImpl._node_getNamespaceURI( this ); }
-        public Node getNextSibling ( ) { return DomImpl._node_getNextSibling( this ); }
-        public String getNodeName ( ) { return DomImpl._node_getNodeName( this ); }
-        public short getNodeType ( ) { return DomImpl._node_getNodeType( this ); }
-        public String getNodeValue ( ) { return DomImpl._node_getNodeValue( this ); }
-        public Document getOwnerDocument ( ) { return DomImpl._node_getOwnerDocument( this ); }
-        public String getPrefix ( ) { return DomImpl._node_getPrefix( this ); }
-        public Node getPreviousSibling ( ) { return DomImpl._node_getPreviousSibling( this ); }
-        public boolean hasAttributes ( ) { return DomImpl._node_hasAttributes( this ); }
-        public boolean hasChildNodes ( ) { return DomImpl._node_hasChildNodes( this ); }
-        public Node insertBefore ( Node newChild, Node refChild ) { return DomImpl._node_insertBefore( this, newChild, refChild ); }
-        public boolean isSupported ( String feature, String version ) { return DomImpl._node_isSupported( this, feature, version ); }
-        public void normalize ( ) { DomImpl._node_normalize( this ); }
-        public Node replaceChild ( Node newChild, Node oldChild ) { return DomImpl._node_replaceChild( this, newChild, oldChild ); }
-        public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
-        public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
-        
-        // DOM Level 3
-        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
-        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
-        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
-        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
-        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
-        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
-        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
-        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
-        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
-        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
-        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
-        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
-        public Node adoptNode ( Node source ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getDocumentURI ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public DOMConfiguration getDomConfig ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getInputEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public boolean getStrictErrorChecking ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getXmlEncoding ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public boolean getXmlStandalone ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public String getXmlVersion ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void normalizeDocument ( ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public Node renameNode ( Node n, String namespaceURI, String qualifiedName ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setDocumentURI ( String documentURI ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setStrictErrorChecking ( boolean strictErrorChecking ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setXmlStandalone ( boolean xmlStandalone ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-        public void setXmlVersion ( String xmlVersion ) { throw new RuntimeException( "DOM Level 3 Not implemented" ); }
-                
-        public Attr createAttribute ( String name ) { return DomImpl._document_createAttribute( this, name ); }
-        public Attr createAttributeNS ( String namespaceURI, String qualifiedName ) { return DomImpl._document_createAttributeNS( this, namespaceURI, qualifiedName ); }
-        public CDATASection createCDATASection ( String data ) { return DomImpl._document_createCDATASection( this, data ); }
-        public Comment createComment ( String data ) { return DomImpl._document_createComment( this, data ); }
-        public DocumentFragment createDocumentFragment ( ) { return DomImpl._document_createDocumentFragment( this ); }
-        public Element createElement ( String tagName ) { return DomImpl._document_createElement( this, tagName ); }
-        public Element createElementNS ( String namespaceURI, String qualifiedName ) { return DomImpl._document_createElementNS( this, namespaceURI, qualifiedName ); }
-        public EntityReference createEntityReference ( String name ) { return DomImpl._document_createEntityReference( this, name ); }
-        public ProcessingInstruction createProcessingInstruction ( String target, String data ) { return DomImpl._document_createProcessingInstruction( this, target, data ); }
-        public Text createTextNode ( String data ) { return DomImpl._document_createTextNode( this, data ); }
-        public DocumentType getDoctype ( ) { return DomImpl._document_getDoctype( this ); }
-        public Element getDocumentElement ( ) { return DomImpl._document_getDocumentElement( this ); }
-        public Element getElementById ( String elementId ) { return DomImpl._document_getElementById( this, elementId ); }
-        public NodeList getElementsByTagName ( String tagname ) { return DomImpl._document_getElementsByTagName( this, tagname ); }
-        public NodeList getElementsByTagNameNS ( String namespaceURI, String localName ) { return DomImpl._document_getElementsByTagNameNS( this, namespaceURI, localName ); }
-        public DOMImplementation getImplementation ( ) { return DomImpl._document_getImplementation( this ); }
-        public Node importNode ( Node importedNode, boolean deep ) { return DomImpl._document_importNode( this, importedNode, deep ); }
-
-        public int getLength ( ) { return DomImpl._childNodes_getLength( this ); }
-        public Node item ( int i ) { return DomImpl._childNodes_item( this, i ); }
-
-        public void removeAllMimeHeaders ( ) { DomImpl._soapPart_removeAllMimeHeaders( this ); }
-        public void removeMimeHeader ( String name ) { DomImpl._soapPart_removeMimeHeader( this, name ); }
-        public Iterator getAllMimeHeaders ( ) { return DomImpl._soapPart_getAllMimeHeaders( this ); }
-        public SOAPEnvelope getEnvelope ( ) { return DomImpl._soapPart_getEnvelope( this ); }
-        public Source getContent ( ) { return DomImpl._soapPart_getContent( this ); }
-        public void setContent ( Source source ) { DomImpl._soapPart_setContent( this, source ); }
-        public String[] getMimeHeader ( String name ) { return DomImpl._soapPart_getMimeHeader( this, name ); }
-        public void addMimeHeader ( String name, String value ) { DomImpl._soapPart_addMimeHeader( this, name,value ); }
-        public void setMimeHeader ( String name, String value ) { DomImpl._soapPart_setMimeHeader( this, name, value ); }
-        public Iterator getMatchingMimeHeaders ( String[] names ) { return DomImpl._soapPart_getMatchingMimeHeaders( this, names ); }
-        public Iterator getNonMatchingMimeHeaders ( String[] names ) { return DomImpl._soapPart_getNonMatchingMimeHeaders( this, names ); }
-    
-        SoapPartDocXobj _docXobj;
-    }
-
-    private static class SoapElementXobj
-        extends ElementXobj implements SOAPElement, javax.xml.soap.Node
-    {
-        SoapElementXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapElementXobj( _locale, _name ); }
-        
-        public void detachNode ( ) { DomImpl._soapNode_detachNode( this ); }
-        public void recycleNode ( ) { DomImpl._soapNode_recycleNode( this ); }
-        public String getValue ( ) { return DomImpl._soapNode_getValue( this ); }
-        public void setValue ( String value ) { DomImpl._soapNode_setValue( this, value ); }
-        public SOAPElement getParentElement ( ) { return DomImpl._soapNode_getParentElement( this ); }
-        public void setParentElement ( SOAPElement p ) { DomImpl._soapNode_setParentElement( this, p ); }
-        
-        public void removeContents ( ) { DomImpl._soapElement_removeContents( this ); }
-        public String getEncodingStyle ( ) { return DomImpl._soapElement_getEncodingStyle( this ); }
-        public void setEncodingStyle ( String encodingStyle ) { DomImpl._soapElement_setEncodingStyle( this, encodingStyle ); }
-        public boolean removeNamespaceDeclaration ( String prefix ) { return DomImpl._soapElement_removeNamespaceDeclaration( this, prefix ); }
-        public Iterator getAllAttributes ( ) { return DomImpl._soapElement_getAllAttributes( this ); }
-        public Iterator getChildElements ( ) { return DomImpl._soapElement_getChildElements( this ); }
-        public Iterator getNamespacePrefixes ( ) { return DomImpl._soapElement_getNamespacePrefixes( this ); }
-        public SOAPElement addAttribute ( Name name, String value ) throws SOAPException { return DomImpl._soapElement_addAttribute( this, name, value ); }
-        public SOAPElement addChildElement ( SOAPElement oldChild ) throws SOAPException { return DomImpl._soapElement_addChildElement( this, oldChild ); }
-        public SOAPElement addChildElement ( Name name ) throws SOAPException { return DomImpl._soapElement_addChildElement( this, name ); }
-        public SOAPElement addChildElement ( String localName ) throws SOAPException { return DomImpl._soapElement_addChildElement( this, localName ); }
-        public SOAPElement addChildElement ( String localName, String prefix ) throws SOAPException { return DomImpl._soapElement_addChildElement( this, localName, prefix ); }
-        public SOAPElement addChildElement ( String localName, String prefix, String uri ) throws SOAPException { return DomImpl._soapElement_addChildElement( this, localName, prefix, uri ); }
-        public SOAPElement addNamespaceDeclaration ( String prefix, String uri ) { return DomImpl._soapElement_addNamespaceDeclaration( this, prefix, uri ); }
-        public SOAPElement addTextNode ( String data ) { return DomImpl._soapElement_addTextNode( this, data ); }
-        public String getAttributeValue ( Name name ) { return DomImpl._soapElement_getAttributeValue( this, name ); }
-        public Iterator getChildElements ( Name name ) { return DomImpl._soapElement_getChildElements( this, name ); }
-        public Name getElementName ( ) { return DomImpl._soapElement_getElementName( this ); }
-        public String getNamespaceURI ( String prefix ) { return DomImpl._soapElement_getNamespaceURI( this, prefix ); }
-        public Iterator getVisibleNamespacePrefixes ( ) { return DomImpl._soapElement_getVisibleNamespacePrefixes( this ); }
-        public boolean removeAttribute ( Name name ) { return DomImpl._soapElement_removeAttribute( this, name ); }
-    }
-    
-    private static class SoapBodyXobj extends SoapElementXobj implements SOAPBody
-    {
-        SoapBodyXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapBodyXobj( _locale, _name ); }
-        
-        public boolean hasFault ( ) { return DomImpl.soapBody_hasFault( this ); }
-        public SOAPFault addFault ( ) throws SOAPException { return DomImpl.soapBody_addFault( this ); }
-        public SOAPFault getFault ( ) { return DomImpl.soapBody_getFault( this ); }
-        public SOAPBodyElement addBodyElement ( Name name ) { return DomImpl.soapBody_addBodyElement( this, name ); }
-        public SOAPBodyElement addDocument ( Document document ) { return DomImpl.soapBody_addDocument( this, document ); }
-        public SOAPFault addFault ( Name name, String s ) throws SOAPException { return DomImpl.soapBody_addFault( this, name, s ); }
-        public SOAPFault addFault ( Name faultCode, String faultString, java.util.Locale locale ) throws SOAPException { return DomImpl.soapBody_addFault( this, faultCode, faultString, locale ); }
-    }
-    
-    private static class SoapBodyElementXobj extends SoapElementXobj implements SOAPBodyElement
-    {
-        SoapBodyElementXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapBodyElementXobj( _locale, _name ); }
-    }
-    
-    private static class SoapEnvelopeXobj extends SoapElementXobj implements SOAPEnvelope
-    {
-        SoapEnvelopeXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapEnvelopeXobj( _locale, _name ); }
-        
-        public SOAPBody addBody ( ) throws SOAPException { return DomImpl._soapEnvelope_addBody( this ); }
-        public SOAPBody getBody ( ) throws SOAPException { return DomImpl._soapEnvelope_getBody( this ); }
-        public SOAPHeader getHeader ( ) throws SOAPException { return DomImpl._soapEnvelope_getHeader( this ); }
-        public SOAPHeader addHeader ( ) throws SOAPException { return DomImpl._soapEnvelope_addHeader( this ); }
-        public Name createName ( String localName ) { return DomImpl._soapEnvelope_createName( this, localName ); }
-        public Name createName ( String localName, String prefix, String namespaceURI ) { return DomImpl._soapEnvelope_createName( this, localName, prefix, namespaceURI ); }
-    }
-
-    private static class SoapHeaderXobj extends SoapElementXobj implements SOAPHeader
-    {
-        SoapHeaderXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapHeaderXobj( _locale, _name ); }
-        
-        public Iterator examineAllHeaderElements ( ) { return DomImpl.soapHeader_examineAllHeaderElements( this ); }
-        public Iterator extractAllHeaderElements ( ) { return DomImpl.soapHeader_extractAllHeaderElements( this ); }
-        public Iterator examineHeaderElements ( String actor ) { return DomImpl.soapHeader_examineHeaderElements( this, actor ); }
-        public Iterator examineMustUnderstandHeaderElements ( String mustUnderstandString ) { return DomImpl.soapHeader_examineMustUnderstandHeaderElements( this, mustUnderstandString ); }
-        public Iterator extractHeaderElements ( String actor ) { return DomImpl.soapHeader_extractHeaderElements( this, actor ); }
-        public SOAPHeaderElement addHeaderElement ( Name name ) { return DomImpl.soapHeader_addHeaderElement( this, name ); }
-    }
-    
-    private static class SoapHeaderElementXobj extends SoapElementXobj implements SOAPHeaderElement
-    {
-        SoapHeaderElementXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapHeaderElementXobj( _locale, _name ); }
-        
-        public void setMustUnderstand ( boolean mustUnderstand ) { DomImpl.soapHeaderElement_setMustUnderstand( this, mustUnderstand ); }
-        public boolean getMustUnderstand ( ) { return DomImpl.soapHeaderElement_getMustUnderstand( this ); }
-        public void setActor ( String actor ) { DomImpl.soapHeaderElement_setActor( this, actor ); }
-        public String getActor ( ) { return DomImpl.soapHeaderElement_getActor( this ); }
-    }
-    
-    private static class SoapFaultXobj extends SoapBodyElementXobj implements SOAPFault
-    {
-        SoapFaultXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new SoapFaultXobj( _locale, _name ); }
-
-        public void setFaultString ( String faultString ) { DomImpl.soapFault_setFaultString( this, faultString ); }
-        public void setFaultString ( String faultString, java.util.Locale locale ) { DomImpl.soapFault_setFaultString( this, faultString, locale ); }
-        public void setFaultCode ( Name faultCodeName ) throws SOAPException { DomImpl.soapFault_setFaultCode( this, faultCodeName ); }
-        public void setFaultActor ( String faultActorString ) { DomImpl.soapFault_setFaultActor( this, faultActorString ); }
-        public String getFaultActor ( ) { return DomImpl.soapFault_getFaultActor( this ); }
-        public String getFaultCode ( ) { return DomImpl.soapFault_getFaultCode( this ); }
-        public void setFaultCode ( String faultCode ) throws SOAPException { DomImpl.soapFault_setFaultCode( this, faultCode ); }
-        public java.util.Locale getFaultStringLocale ( ) { return DomImpl.soapFault_getFaultStringLocale( this ); }
-        public Name getFaultCodeAsName ( ) { return DomImpl.soapFault_getFaultCodeAsName( this ); }
-        public String getFaultString ( ) { return DomImpl.soapFault_getFaultString( this ); }
-        public Detail addDetail ( ) throws SOAPException { return DomImpl.soapFault_addDetail( this ); }
-        public Detail getDetail ( ) { return DomImpl.soapFault_getDetail( this ); }
-    }
-
-    private static class SoapFaultElementXobj extends SoapElementXobj implements SOAPFaultElement
-    {
-        SoapFaultElementXobj ( Locale l, QName name ) { super( l, name ); }
-
-        Xobj newNode ( ) { return new SoapFaultElementXobj( _locale, _name ); }
-    }
-    
-    private static class DetailXobj extends SoapFaultElementXobj implements Detail
-    {
-        DetailXobj ( Locale l, QName name ) { super( l, name ); }
-        
-        Xobj newNode ( ) { return new DetailXobj( _locale, _name ); }
-        
-        public DetailEntry addDetailEntry ( Name name ) { return DomImpl.detail_addDetailEntry( this, name ); }
-        public Iterator getDetailEntries ( ) { return DomImpl.detail_getDetailEntries( this ); }
-    }
-
-    private static class DetailEntryXobj extends SoapElementXobj implements DetailEntry
-    {
-        Xobj newNode ( ) { return new DetailEntryXobj( _locale, _name ); }
-
-        DetailEntryXobj ( Locale l, QName name ) { super( l, name ); }
-    }
-
-    //
-    //
-    //
-
-    static String kindName ( int kind )
-    {
-        switch ( kind )
-        {
-            case ROOT     : return "ROOT";
-            case ELEM     : return "ELEM";
-            case ATTR     : return "ATTR";
-            case COMMENT  : return "COMMENT";
-            case PROCINST : return "PROCINST";
-            case TEXT     : return "TEXT";
-            default       : return "<< Unknown Kind (" + kind + ") >>";
-        }
-    }
-
-    static void dump ( PrintStream o, Dom d, Object ref )
-    {
-    }
-    
-    static void dump ( PrintStream o, Dom d )
-    {
-        d.dump( o );
-    }
-
-    static void dump ( Dom d )
-    {
-        dump( System.out, d );
-    }
-
-    static void dump ( Node n )
-    {
-        dump( System.out, n );
-    }
-
-    static void dump ( PrintStream o, Node n )
-    {
-        dump( o, (Dom) n );
-    }
-
-    void dump ( )
-    {
-        dump( System.out, _xobj, this );
-    }
-
-    void dump ( PrintStream o )
-    {
-        if (_xobj == null)
-        {
-            o.println( "Unpositioned xptr" );
-            return;
-        }
-
-        dump( o, _xobj, this );
-    }
-
-    public static void dump ( PrintStream o, Xobj xo, Object ref )
-    {
-        if (ref == null)
-            ref = xo;
-        
-        while ( xo._parent != null )
-            xo = xo._parent;
-
-        dumpXobj( o, xo, 0, ref );
-        
-        o.println();
-    }
-    
-    private static void dumpCur ( PrintStream o, String prefix, Cur c, Object ref )
-    {
-        o.print( " " );
-        
-        if (ref == c)
-            o.print( "*:" );
-        
-        o.print( prefix + "cur[" + c._pos + "]" );
-    }
-    
-    private static void dumpCurs ( PrintStream o, Xobj xo, Object ref )
-    {
-        for ( Cur c = xo._embedded ; c != null ; c = c._next )
-            dumpCur( o, "E:", c, ref );
-        
-        for ( Cur c = xo._locale._registered ; c != null ; c = c._next )
-        {
-            if (c._xobj == xo)
-                dumpCur( o, "R:", c, ref );
-        }
-    }
-    
-    private static void dumpCharNodes ( PrintStream o, CharNode nodes, Object ref )
-    {
-        for ( CharNode n = nodes ; n != null ; n = n._next )
-        {
-            o.print( " " );
-            
-            if (n == ref)
-                o.print( "*" );
-            
-            o.print( (n instanceof TextNode ? "TEXT" : "CDATA") + "[" + n._cch + "]" );
-        }
-    }
-    
-    private static void dumpXobj ( PrintStream o, Xobj xo, int level, Object ref )
-    {
-        if (xo == null)
-            return;
-
-        if (ref instanceof Cur)
-        {
-            Cur c = (Cur) ref;
-
-            if (c._state == UNREGISTERED)
-            {
-                c._locale._registered = c.listInsert( c._locale._registered );
-                c._state = REGISTERED;
-            }
-        }
-
-        if (xo == ref)
-            o.print( "* " );
-        else
-            o.print( "  " );
-        
-        for ( int i = 0 ; i < level ; i++ )
-            o.print( "  " );
-
-        o.print( kindName( xo.kind() ) );
-
-        if (xo._name != null)
-        {
-            o.print( " " );
-            
-            if (xo._name.getPrefix().length() > 0)
-                o.print( xo._name.getPrefix() + ":" );
-            
-            o.print( xo._name.getLocalPart() );
-
-            if (xo._name.getNamespaceURI().length() > 0)
-                o.print( "@" + xo._name.getNamespaceURI() );
-        }
-
-        if (xo._srcValue != null || xo._charNodesValue != null)
-        {
-            o.print( " Value( " );
-            o.print( "\"" + CharUtil.getString( xo._srcValue, xo._offValue, xo._cchValue ) + "\"" );
-//            CharUtil.dumpChars( o, xo._srcValue, xo._offValue, xo._cchValue );
-            dumpCharNodes( o, xo._charNodesValue, ref );
-            o.print( " )" );
-        }
-
-        if (xo._srcAfter != null || xo._charNodesAfter != null)
-        {
-            o.print( " After( " );
-            o.print( "\"" + CharUtil.getString( xo._srcAfter, xo._offAfter, xo._cchAfter ) + "\"" );
-//            CharUtil.dumpChars( o, xo._srcAfter, xo._offAfter, xo._cchAfter );
-            dumpCharNodes( o, xo._charNodesAfter, ref );
-            o.print( " )" );
-        }
-
-        dumpCurs( o, xo, ref );
-
-        String className = xo.getClass().getName();
-        
-        int i = className.lastIndexOf( '.' );
-        
-        if (i > 0)
-        {
-            className = className.substring( i + 1 );
-            
-            i = className.lastIndexOf( '$' );
-
-            if (i > 0)
-                className = className.substring( i + 1 );
-        }
-
-        o.print( " (" );
-        o.print( className );
-        o.print( ")" );
-        
-        o.println();
-
-        for ( xo = xo._firstChild ; xo != null ; xo = xo._nextSibling )
-            dumpXobj( o, xo, level + 1, ref );
-    }
-    
-    //
-    //
-    //
-
-    Locale _locale;
-    
-    private Xobj _xobj;
-    private int _pos;
-
-    int _state;
-    int _curKind;
-
-    Cur _nextTemp;
-    int _tempFrame;
-
-    Cur _next;
-    Cur _prev;
-    
-    Object _key;
-    Object _value;
-
-    Cur _nextTextChangeListener;
-
-    Locations _locations;
-    int       _textLocations;
-
-    int _stackTop;
-
-    int _selectionFirst;
-    int _selectionN;       // the selection user index 0 .. N
-    int _selectionNth;     // Index in _locations
-    int _selectionCount;
-    
-    private int _posTemp;
-    
-    int _offSrc;
-    int _cchSrc;
-}  
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java
deleted file mode 100755
index df1e335..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java
+++ /dev/null
@@ -1,1537 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import java.io.PrintStream;
-
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlCursor.ChangeStamp;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlDocumentProperties;
-
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.impl.common.GlobalLock;
-
-import java.util.Map;
-import java.util.Collection;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.Writer;
-import java.io.File;
-import java.io.IOException;
-import java.io.FileOutputStream;
-
-import org.w3c.dom.Node;
-
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXException;
-
-import org.apache.xmlbeans.impl.newstore2.Saver.TextSaver;
-import org.apache.xmlbeans.impl.newstore2.Locale.GeneralChangeListener;
-import org.apache.xmlbeans.impl.newstore2.Path.PathEngine;
-
-public final class Cursor implements XmlCursor, GeneralChangeListener
-{
-    static final int ROOT     = Cur.ROOT;
-    static final int ELEM     = Cur.ELEM;
-    static final int ATTR     = Cur.ATTR;
-    static final int COMMENT  = Cur.COMMENT;
-    static final int PROCINST = Cur.PROCINST;
-    static final int TEXT     = Cur.TEXT;
-
-    Cursor ( Cur c )
-    {
-        _cur = c.weakCur( this );
-        _currentSelection = -1;
-    }
-
-    private static boolean isValid ( Cur c )
-    {
-        if (c.kind() <= 0)
-        {
-            c.push();
-            
-            if (c.toParentRaw())
-            {
-                int pk = c.kind();
-
-                if (pk == COMMENT || pk == PROCINST || pk == ATTR)
-                    return false;
-            }
-                
-            c.pop();
-        }
-        
-        return true;
-    }
-    
-    private boolean isValid ( )
-    {
-        return isValid( _cur );
-    }
-
-    Locale locale ( )
-    {
-        return _cur._locale;
-    }
-    
-    Cur tempCur ( )
-    {
-        return _cur.tempCur();
-    }
-
-    public void dump ( PrintStream o )
-    {
-        _cur.dump( o );
-    }
-    
-    public void dump ( )
-    {
-        dump( System.out );
-    }
-
-    static void validateLocalName ( QName name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "QName is null" );
-
-        validateLocalName( name.getLocalPart() );
-    }
-
-    static void validateLocalName ( String name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Name is null" );
-
-        if (name.length() == 0)
-            throw new IllegalArgumentException( "Name is empty" );
-
-        if (!XMLChar.isValidNCName( name ))
-            throw new IllegalArgumentException( "Name is not valid" );
-    }
-
-    static void validatePrefix ( String name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Prefix is null" );
-
-        if (name.length() == 0)
-            throw new IllegalArgumentException( "Prefix is empty" );
-
-        if (Locale.beginsWithXml( name ))
-            throw new IllegalArgumentException( "Prefix begins with 'xml'" );
-
-        if (!XMLChar.isValidNCName( name ))
-            throw new IllegalArgumentException( "Prefix is not valid" );
-    }
-
-    private static void complain ( String msg )
-    {
-        throw new IllegalArgumentException( msg );
-    }
-
-    private void checkInsertionValidity ( Cur thisStuff )
-    {
-        int thisKind = thisStuff.kind();
-
-        if (thisKind < 0)
-            complain( "Can't move/copy/insert an end token." );
-
-        if (thisKind == ROOT)
-            complain( "Can't move/copy/insert a whole document." );
-
-        int k = _cur.kind();
-
-        if (k == ROOT)
-            complain( "Can't insert before the start of the document." );
-
-        if (thisKind == ATTR)
-        {
-            _cur.prev();
-            int pk = _cur.kind();
-            _cur.next();
-
-            if (pk != ELEM && pk != ROOT && pk != -ATTR)
-            {
-                complain(
-                    "Can only insert attributes before other attributes or after containers." );
-            }
-        }
-    }
-    
-    private void insertNode ( Cur thisStuff, String text )
-    {
-        assert thisStuff.isNode();
-        assert isValid( thisStuff );
-        assert isValid();
-
-        if (text != null && text.length() > 0)
-        {
-            thisStuff.next();
-            thisStuff.insertChars( text, 0, text.length() );
-            thisStuff.toParent();
-        }
-
-        checkInsertionValidity( thisStuff );
-
-        thisStuff.moveNode( _cur );
-    }
-    
-    //
-    //
-    //
-
-    // TODO - deal with cursors moving to other documents upon release?
-    // Can I move the ref from one q to another?  If not I will have to
-    // change from a phantom ref to a soft/weak ref so I can know what
-    // to do when I dequeue from the old q.
-    
-    public void _dispose ( )
-    {
-        _cur.release();
-        _cur = null;
-    }
-    
-    public XmlCursor _newCursor ( )
-    {
-        return new Cursor( _cur );
-    }
-
-    public QName _getName ( )
-    {
-        // TODO - consider taking this out of the gateway
-        return _cur.getName();
-    }
-    
-    public void _setName ( QName name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Name is null" );
-
-        switch ( _cur.kind() )
-        {
-        case ELEM :
-        case ATTR :
-        {
-            validateLocalName( name.getLocalPart() );
-            break;
-        }
-                    
-        case PROCINST :
-        {
-            validatePrefix( name.getLocalPart() );
-
-            if (name.getNamespaceURI().length() > 0)
-                throw new IllegalArgumentException( "Procinst name must have no URI" );
-            
-            if (name.getPrefix().length() > 0)
-                throw new IllegalArgumentException( "Procinst name must have no prefix" );
-
-            break;
-        }
-
-        default :
-            throw
-                new IllegalStateException(
-                    "Can set name on element, atrtribute and procinst only" );
-        }
-
-        _cur.setName( name );
-    }
-    
-    public TokenType _currentTokenType ( )
-    {
-        assert isValid();
-        
-        switch ( _cur.kind() )
-        {
-        case   ROOT     : return TokenType.STARTDOC;
-        case - ROOT     : return TokenType.ENDDOC;
-        case   ELEM     : return TokenType.START;
-        case - ELEM     : return TokenType.END;
-        case   TEXT     : return TokenType.TEXT;
-        case   ATTR     : return _cur.isXmlns() ? TokenType.NAMESPACE : TokenType.ATTR;
-        case   COMMENT  : return TokenType.COMMENT;
-        case   PROCINST : return TokenType.PROCINST;
-
-        default :
-            throw new IllegalStateException();
-        }
-    }
-
-    public boolean _isStartdoc   ( ){ return _currentTokenType().isStartdoc();  }
-    public boolean _isEnddoc     ( ){ return _currentTokenType().isEnddoc();    }
-    public boolean _isStart      ( ){ return _currentTokenType().isStart();     }
-    public boolean _isEnd        ( ){ return _currentTokenType().isEnd();       }
-    public boolean _isText       ( ){ return _currentTokenType().isText();      }
-    public boolean _isAttr       ( ){ return _currentTokenType().isAttr();      }
-    public boolean _isNamespace  ( ){ return _currentTokenType().isNamespace(); }
-    public boolean _isComment    ( ){ return _currentTokenType().isComment();   }
-    public boolean _isProcinst   ( ){ return _currentTokenType().isProcinst();  }
-    public boolean _isContainer  ( ){ return _currentTokenType().isContainer(); }
-    public boolean _isFinish     ( ){ return _currentTokenType().isFinish();    }
-    public boolean _isAnyAttr    ( ){ return _currentTokenType().isAnyAttr();   }
-    
-    public TokenType _toNextToken ( )
-    {
-        assert isValid();
-        
-        switch ( _cur.kind() )
-        {
-        case ROOT :
-        case ELEM :
-        {
-            if (!_cur.toFirstAttr())
-                _cur.next();
-
-            break;
-        }
-        
-        case ATTR :
-        {
-            if (!_cur.toNextSibling())
-            {
-                _cur.toParent();
-                _cur.next();
-            }
-
-            break;
-        }
-
-        case COMMENT :
-        case PROCINST :
-        {
-            _cur.skip();
-            break;
-        }
-        
-        default :
-        {
-            if (!_cur.next())
-                return TokenType.NONE;
-                        
-            break;
-        }
-        }
-
-        return _currentTokenType();
-    }
-
-    public TokenType _toPrevToken ( )
-    {
-        assert isValid();
-
-        if (!_cur.prev())
-        {
-            if (_cur.kind() == ATTR)
-                _cur.toParent();
-            else
-                return TokenType.NONE;
-        }
-
-        int k = _cur.kind();
-
-        if (k == -COMMENT || k == -PROCINST)
-            _cur.toParent();
-        else if (_cur.isContainer())
-            _cur.toLastAttr();
-        
-        return _currentTokenType();
-    }
-    
-    public Object _monitor ( )
-    {
-        // TODO - some of these methods need not be protected by a
-        // gatway.  This is one of them.  Inline this.
-
-        return _cur._locale;
-    }
-    
-    public boolean _toParent ( )
-    {
-        Cur c = _cur.tempCur();
-
-        if (!c.toParent())
-            return false;
-
-        _cur.moveToCur( c );
-
-        c.release();
-
-        return true;
-    }
-
-    private static final class ChangeStampImpl implements ChangeStamp
-    {
-        ChangeStampImpl ( Locale l )
-        {
-            _locale = l;
-            _versionStamp = _locale.version();
-        }
-
-        public boolean hasChanged ( )
-        {
-            return _versionStamp != _locale.version();
-        }
-
-        private final Locale _locale;
-        private final long   _versionStamp;
-    }
-
-    public ChangeStamp _getDocChangeStamp ( )
-    {
-        return new ChangeStampImpl( _cur._locale );
-    }
-    
-    public XmlDocumentProperties _documentProperties ( )
-    {
-        return Locale.getDocProps( _cur, true );
-    }
-    
-    public XMLStreamReader _newXMLStreamReader ( )
-    {
-        return _newXMLStreamReader( null );
-    }
-    
-    public XMLStreamReader _newXMLStreamReader ( XmlOptions options )
-    {
-        return Jsr173.newXmlStreamReader( _cur, options );
-    }
-
-    public XMLInputStream _newXMLInputStream ( )
-    {
-        return _newXMLInputStream( null );
-    }
-    
-    public XMLInputStream _newXMLInputStream ( XmlOptions options )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public String _xmlText ( )
-    {
-        return _xmlText( null );
-    }
-    
-    public String _xmlText ( XmlOptions options )
-    {
-        assert isValid();
-        
-        return new TextSaver( _cur, options, null ).saveToString();
-    }
-    
-    public InputStream _newInputStream ( XmlOptions options )
-    {
-        return new Saver.InputStreamSaver( _cur, options );
-    }
-    
-    public InputStream _newInputStream ( )
-    {
-        return _newInputStream( null );
-    }
-    
-    public Reader _newReader ( )
-    {
-        return _newReader( null );
-    }
-    
-    public Reader _newReader( XmlOptions options )
-    {
-        return new Saver.TextReader( _cur, options );
-    }
-    
-    public Node _newDomNode ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _save ( ContentHandler ch, LexicalHandler lh ) throws SAXException
-    {
-        _save( ch, lh, null );
-    }
-    
-    public void _save ( File file ) throws IOException
-    {
-        _save( file, null );
-    }
-    
-    public void _save ( OutputStream os ) throws IOException
-    {
-        _save( os, null );
-    }
-    
-    public void _save ( Writer w ) throws IOException
-    {
-        _save( w, null );
-    }
-    
-    public void _save ( ContentHandler ch, LexicalHandler lh, XmlOptions options ) throws SAXException
-    {
-        throw new RuntimeException( "Not implemented" );
-//        new Saver.SaxSaver( _cur, options, ch, lh );
-    }
-    
-    public void _save ( File file, XmlOptions options ) throws IOException
-    {
-        OutputStream os = new FileOutputStream( file );
-
-        try
-        {
-            _save( os, options );
-        }
-        finally
-        {
-            os.close();
-        }
-    }
-    
-    public void _save ( OutputStream os, XmlOptions options ) throws IOException
-    {
-        InputStream is = _newInputStream( options );
-
-        try
-        {
-            byte[] bytes = new byte[ 8192 ];
-
-            for ( ; ; )
-            {
-                int n = is.read( bytes );
-
-                if (n < 0)
-                    break;
-
-                os.write( bytes, 0, n );
-            }
-        }
-        finally
-        {
-            is.close();
-        }
-    }
-    
-    public void _save ( Writer w, XmlOptions options ) throws IOException
-    {
-        Reader r = _newReader( options );
-
-        try
-        {
-            char[] chars = new char[ 8192 ];
-
-            for ( ; ; )
-            {
-                int n = r.read( chars );
-
-                if (n < 0)
-                    break;
-
-                w.write( chars, 0, n );
-            }
-        }
-        finally
-        {
-            r.close();
-        }
-    }
-    
-    public Node _newDomNode ( XmlOptions options )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public Node _getDomNode ( )
-    {
-        return (Node) _cur.getDom();
-    }
-    
-    public boolean _toCursor ( XmlCursor moveTo )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _push ( )
-    {
-        _cur.push();
-    }
-    
-    public boolean _pop ( )
-    {
-        return _cur.pop();
-    }
-    
-    public void notifyGeneralChange ( )
-    {
-        // Noit sure why I need a general change notification .. .is text enuf?
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    public void setNextGeneralChangeListener ( GeneralChangeListener listener )
-    {
-        _nextGeneralChangeListener = listener;
-    }
-        
-    public GeneralChangeListener getNextGeneralChangeListener ( )
-    {
-        return _nextGeneralChangeListener;
-    }
-    
-    public void _selectPath ( String path )
-    {
-        _selectPath( path, null );
-    }
-    
-    public void _selectPath ( String pathExpr, XmlOptions options )
-    {
-        _cur.clearSelection();
-        _pathEngine = Path.getCompiledPath( pathExpr, options ).execute( _cur );
-    }
-    
-    public boolean _hasNextSelection ( )
-    {
-        push();
-
-        try
-        {
-            return toNextSelection();
-        }
-        finally
-        {
-            pop();
-        }
-    }
-    
-    public boolean _toNextSelection ( )
-    {
-        return _toSelection( _currentSelection + 1 );
-    }
-    
-    public boolean _toSelection ( int i )
-    {
-        while ( i >= _cur.selectionCount() )
-        {
-            if (_pathEngine == null || !_pathEngine.next( _cur ))
-                return false;
-        }
-
-        _cur.moveToSelection( _currentSelection = i );
-        
-        return true;
-    }
-    
-    public int _getSelectionCount ( )
-    {
-        _toSelection( Integer.MAX_VALUE );
-        
-        return _cur.selectionCount();
-    }
-    
-    public void _addToSelection ( )
-    {
-        _toSelection( Integer.MAX_VALUE );
-
-        _cur.addToSelection();
-    }
-    
-    public void _clearSelections ( )
-    {
-        _cur.clearSelection();
-        _pathEngine.release();
-        _pathEngine = null;
-        _currentSelection = 0;
-    }
-    
-    public boolean _toBookmark ( XmlBookmark bookmark )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public XmlBookmark _toNextBookmark ( Object key )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public XmlBookmark _toPrevBookmark ( Object key )
-    {
-        // TODO - implement me!
-        return null;
-    }
-    
-    public String _namespaceForPrefix ( String prefix )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public String _prefixForNamespace ( String namespaceURI )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _getAllNamespaces ( Map addToThis )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public XmlObject _getObject ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public TokenType _prevTokenType ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _hasNextToken ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _hasPrevToken ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public TokenType _toFirstContentToken ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public TokenType _toEndToken ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _toNextChar ( int maxCharacterCount )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _toPrevChar ( int maxCharacterCount )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toNextSibling ( )
-    {
-        assert isValid();
-        
-        return Locale.toNextSiblingElement( _cur );
-    }
-    
-    public boolean _toPrevSibling ( )
-    {
-        assert isValid();
-
-        if (!_cur.hasParent())
-            return false;
-
-        Cur c = tempCur();
-
-        boolean moved = false;
-        
-        int k = c.kind();
-
-        if (k != ATTR)
-        {
-            for ( ; ; )
-            {
-                if (!c.prev())
-                    break;
-
-                k = c.kind();
-
-                if (k == ROOT || k == ELEM)
-                    break;
-
-                if (c.kind() == -ELEM)
-                {
-                    c.toParent();
-
-                    _cur.moveToCur( c );
-                    moved = true;
-
-                    break;
-                }
-            }
-        }
-
-        c.release();
-
-        return moved;
-    }
-    
-    public boolean _toLastChild ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toFirstChild ( )
-    {
-        return Locale.toFirstChildElement( _cur );
-    }
-
-    public boolean _toChild ( String local )
-    {
-        return Locale.toChild( _cur, null, local, 0 );
-    }
-    
-    public boolean _toChild ( QName name )
-    {
-        return Locale.toChild( _cur, name, 0 );
-    }
-    
-    public boolean _toChild ( String namespace, String local )
-    {
-        return Locale.toChild( _cur, namespace, local, 0 );
-    }
-    
-    public boolean _toChild ( int index )
-    {
-        return Locale.toChild( _cur, null, null, index );
-    }
-    
-    public boolean _toChild ( QName name, int index )
-    {
-        return Locale.toChild( _cur, name.getNamespaceURI(), name.getLocalPart(), index );
-    }
-    
-    public boolean _toNextSibling ( String name )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toNextSibling ( String namespace, String name )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toNextSibling ( QName name )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toFirstAttribute ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toLastAttribute ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toNextAttribute ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _toPrevAttribute ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public String _getAttributeText ( QName attrName )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _setAttributeText ( QName attrName, String value )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _removeAttribute ( QName attrName )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public String _getTextValue ( )
-    {
-        if (_cur.isText())
-            return _getChars();
-        
-        if (!_cur.isNode())
-        {
-            throw new IllegalStateException(
-                "Can't get text value, current token can have no text value" );
-        }
-
-        return Locale.getTextValue( _cur, Locale.WS_PRESERVE );
-    }
-    
-    public int _getTextValue ( char[] returnedChars, int offset, int maxCharacterCount )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _setTextValue ( String text )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _setTextValue ( char[] sourceChars, int offset, int length )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public String _getChars ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _getChars ( char[] returnedChars, int offset, int maxCharacterCount )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _toStartDoc ( )
-    {
-        while ( _cur.toParent() )
-            ;
-    }
-    
-    public void _toEndDoc ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _comparePosition ( XmlCursor cursor )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _isLeftOf ( XmlCursor cursor )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _isAtSamePositionAs ( XmlCursor cursor )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _isRightOf ( XmlCursor cursor )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public XmlCursor _execQuery ( String query )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public XmlCursor _execQuery ( String query, XmlOptions options )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _setBookmark ( XmlBookmark bookmark )
-    {
-        if (bookmark != null)
-        {
-            if (bookmark.getKey() == null)
-                throw new IllegalArgumentException( "Annotation key is null" );
-            
-            _clearBookmark( bookmark.getKey() );
-
-            // TODO - I Don't do weak bookmarks yet ...
-            _cur.setBookmark( bookmark.getKey(), bookmark );
-        }
-    }
-    
-    public XmlBookmark _getBookmark ( Object key )
-    {
-        // TODO - I Don't do weak bookmarks yet ...
-        return key == null ? null : (XmlBookmark) _cur.getBookmark( key );
-    }
-    
-    public void _clearBookmark ( Object key )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _getAllBookmarkRefs ( Collection listToFill )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _removeXml ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _moveXml ( Cursor to )
-    {
-        to.checkInsertionValidity( _cur );
-
-        // Check for a no-op
-        
-        if (_cur.isText())
-        {
-            if (_cur.inChars( to._cur, -1 ))
-                return false;
-
-            _cur.moveChars( to._cur, -1 );
-        }
-        else if (_cur.ancestorOf( to._cur ) ||
-                    _cur.isSamePos( to._cur ) || to._cur.isJustAfterEnd( _cur ))
-        {
-            return false;
-        }
-        
-        _cur.moveNode( to._cur );
-
-        return true;
-    }
-    
-    public boolean _copyXml ( XmlCursor toHere )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _removeXmlContents ( )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _moveXmlContents ( XmlCursor toHere )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public boolean _copyXmlContents ( XmlCursor toHere )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _removeChars ( int maxCharacterCount )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _moveChars ( int maxCharacterCount, XmlCursor toHere )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public int _copyChars ( int maxCharacterCount, XmlCursor toHere )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-    
-    public void _insertChars ( String text )
-    {
-        int l = text == null ? 0 : text.length();
-        
-        if (l > 0)
-        {
-            if (_cur.isRoot() || _cur.isAttr())
-                complain( "Can't insert before the document or an attribute." );
-
-            _cur.insertChars( text, 0, l );
-            _cur.nextChars( l );
-        }
-    }
-
-    //
-    // Inserting elements
-    //
-    
-    public void _beginElement          ( String localName                          ) { _insertElementWithText( localName, null, null ); _toPrevToken(); }
-    public void _beginElement          ( String localName, String uri              ) { _insertElementWithText( localName, uri ); _toPrevToken(); }
-    public void _beginElement          ( QName  name                               ) { _insertElementWithText( name, null ); _toPrevToken(); }
-    public void _insertElement         ( String localName                          ) { _insertElementWithText( localName, null, null ); }
-    public void _insertElement         ( String localName, String uri              ) { _insertElementWithText( localName, uri, null ); }
-    public void _insertElement         ( QName  name                               ) { _insertElementWithText( name, null ); }
-    public void _insertElementWithText ( String localName, String text             ) { _insertElementWithText( localName, null, text ); }
-    public void _insertElementWithText ( String localName, String uri, String text ) { _insertElementWithText( _cur._locale.makeQName( uri, localName ), text ); }
-    
-    public void _insertElementWithText ( QName name, String text )
-    {
-        validateLocalName( name.getLocalPart() );
-
-        Cur c = _cur._locale.tempCur();
-
-        c.createElement( name );
-
-        insertNode( c, text );
-
-        c.release();
-    }
-
-    //
-    //
-    //
-    
-    public void _insertAttribute          ( String localName )                           { _insertAttributeWithValue( localName, null ); }
-    public void _insertAttribute          ( String localName, String uri )               { _insertAttributeWithValue( localName, uri, null ); }
-    public void _insertAttribute          ( QName name )                                 { _insertAttributeWithValue( name, null ); }
-    public void _insertAttributeWithValue ( String localName, String value )             { _insertAttributeWithValue( localName, null, value ); }
-    public void _insertAttributeWithValue ( String localName, String uri, String value ) { _insertAttributeWithValue( _cur._locale.makeQName( uri, localName ), value ); }
-    
-    public void _insertAttributeWithValue ( QName name, String text )
-    {
-        Cur c = _cur._locale.tempCur();
-
-        c.createAttr( name );
-
-        insertNode( c, text );
-        
-        c.release();
-    }
-
-    //
-    //
-    //
-    
-    public void _insertNamespace ( String prefix, String namespace )
-    {
-        _insertAttributeWithValue( _cur._locale.createXmlns( prefix ), namespace );
-    }
-    
-    public void _insertComment ( String text )
-    {
-        Cur c = _cur._locale.tempCur();
-
-        c.createComment();
-        
-        insertNode( c, text );
-        
-        c.release();
-    }
-    
-    public void _insertProcInst ( String target, String text )
-    {
-        validateLocalName( target );
-
-        if (Locale.beginsWithXml( target ) && target.length() == 3)
-            throw new IllegalArgumentException( "Target is 'xml'" );
-        
-        Cur c = _cur._locale.tempCur();
-
-        c.createProcinst( target );
-
-        insertNode( c, text );
-        
-        c.release();
-    }
-
-    //
-    //
-    //
-    //
-    //
-    //
-    //
-
-    public void dispose ( )
-    {
-        if (preCheck())
-        {
-            Locale l = _cur._locale;
-            
-            l.enter();
-
-            try
-            {
-                _dispose();
-            }
-            finally
-            {
-                l.exit();
-            }
-        }
-        else
-        {
-            Locale l = _cur._locale;
-            
-            synchronized ( l )
-            {
-                l.enter();
-
-                try
-                {
-                    _dispose();
-                }
-                finally
-                {
-                    l.exit();
-                }
-            }
-        }
-    }
-    
-    private void checkThisCursor ( )
-    {
-        if (_cur == null)
-            throw new IllegalStateException( "This cursor has been disposed" );
-    }
-    
-    private Cursor checkCursors ( XmlCursor xOther )
-    {
-        checkThisCursor();
-
-        if (xOther == null)
-            throw new IllegalArgumentException( "Other cursor is <null>" );
-        
-        if (!(xOther instanceof Cursor))
-            throw new IllegalArgumentException( "Incompatible cursors: " + xOther );
-            
-        Cursor other = (Cursor) xOther;
-        
-        if (other._cur == null)
-            throw new IllegalStateException( "Other cursor has been disposed" );
-
-        return other;
-    }
-    
-    public boolean toCursor ( XmlCursor xOther )
-    {
-        throw new RuntimeException( "Not implemented" );
-        
-//        Cursor other = checkCursors( xOther );
-//
-//        if (preCheck())
-//        {
-//            _locale.enter();
-//
-//            try
-//            {
-//                return _toCursor( moveTo );
-//            }
-//            finally
-//            {
-//                _locale.exit();
-//            }
-//        }
-//        else
-//        {
-//            synchronized ( _locale )
-//            {
-//                _locale.enter();
-//
-//                try
-//                {
-//                    return _toCursor( moveTo );
-//                }
-//                finally
-//                {
-//                    _locale.exit();
-//                }
-//            }
-//        }
-    }
-    
-    public boolean isInSameDocument ( XmlCursor xOther )
-    {
-        Cursor other = checkCursors( xOther );
-        
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    private static final int MOVE_XML          = 0;
-    private static final int COPY_XML          = 1;
-    private static final int MOVE_XML_CONTENTS = 2;
-    private static final int COPY_XML_CONTENTS = 3;
-    private static final int MOVE_CHARS        = 4;
-    private static final int COPY_CHARS        = 5;
-    
-    private int twoCursorOp ( XmlCursor xOther, int op, int arg )
-    {
-        Cursor other = checkCursors( xOther );
-
-        Locale locale = _cur._locale;
-        Locale otherLocale = other._cur._locale;
-        
-        if (locale == otherLocale)
-        {
-            if (locale.noSync())
-                return twoCursorOp( other, op, arg );
-            else
-            {
-                synchronized ( locale )
-                {
-                    return twoCursorOp( other, op, arg );
-                }
-            }
-        }
-        
-        if (locale.noSync())
-        {
-            if (otherLocale.noSync())
-                return twoCursorOp( other, op, arg );
-            else
-            {
-                synchronized ( otherLocale )
-                {
-                    return twoCursorOp( other, op, arg );
-                }
-            }
-        }
-        else if (otherLocale.noSync())
-        {
-            synchronized ( locale )
-            {
-                return twoCursorOp( other, op, arg );
-            }
-        }
-        
-        boolean acquired = false;
-
-        try
-        {
-            GlobalLock.acquire();
-            acquired = true;
-            
-            synchronized ( locale )
-            {
-                synchronized ( otherLocale )
-                {
-                    GlobalLock.release();
-                    acquired = false;
-                    
-                    return twoCursorOp( other, op, arg );
-                }
-            }
-        }
-        catch ( InterruptedException e )
-        {
-            throw new RuntimeException( e.getMessage(), e );
-        }
-        finally
-        {
-            if (acquired)
-                GlobalLock.release();
-        }
-    }
-    
-    private int twoCursorOp ( Cursor other, int op, int arg )
-    {
-        Locale locale = _cur._locale;
-        Locale otherLocale = other._cur._locale;
-        
-        locale.enter( otherLocale );
-        
-        try
-        {
-            switch ( op )
-            {
-                case MOVE_XML          : return _moveXml         ( other ) ? 1 : 0;
-                case COPY_XML          : return _copyXml         ( other ) ? 1 : 0;
-                case MOVE_XML_CONTENTS : return _moveXmlContents ( other ) ? 1 : 0;
-                case COPY_XML_CONTENTS : return _copyXmlContents ( other ) ? 1 : 0;
-                case MOVE_CHARS        : return _moveChars       ( arg, other );
-                case COPY_CHARS        : return _copyChars       ( arg, other );
-                                         
-                default : throw new RuntimeException( "Unknown operation: " + op );
-            }
-        }
-        finally
-        {
-            locale.exit( otherLocale );
-        }
-    }
-    
-    public boolean moveXml ( XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, MOVE_XML, 0 ) == 1;
-    }
-    
-    public boolean copyXml ( XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, COPY_XML, 0 ) == 1;
-    }
-    
-    public boolean moveXmlContents ( XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, MOVE_XML_CONTENTS, 0 ) == 1;
-    }
-    
-    public boolean copyXmlContents ( XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, COPY_XML_CONTENTS, 0 ) == 1;
-    }
-    
-    public int moveChars ( int maxCharacterCount, XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, MOVE_CHARS, maxCharacterCount );
-    }
-    
-    public int copyChars ( int maxCharacterCount, XmlCursor xTo )
-    {
-        return twoCursorOp( xTo, COPY_CHARS, maxCharacterCount );
-    }
-    
-    private boolean preCheck ( )
-    {
-        checkThisCursor();
-        return _cur._locale.noSync();
-    }
-
-    // TODO - make sure _cur._locale does not change between operations ... some of these
-    // methods might actually be two Locale (or multiple Locale) operations.  In particular,
-    // clearSelection might be a multiple Locale operation
-    
-    public Object monitor ( ) { if (preCheck()) { _cur._locale.enter(); try { return _monitor(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _monitor(); } finally { _cur._locale.exit(); } } }
-    public XmlDocumentProperties documentProperties ( ) { if (preCheck()) { _cur._locale.enter(); try { return _documentProperties(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _documentProperties(); } finally { _cur._locale.exit(); } } }
-    public XmlCursor newCursor ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newCursor(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newCursor(); } finally { _cur._locale.exit(); } } }
-    public XMLStreamReader newXMLStreamReader ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newXMLStreamReader(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newXMLStreamReader(); } finally { _cur._locale.exit(); } } }
-    public XMLStreamReader newXMLStreamReader ( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _newXMLStreamReader( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newXMLStreamReader( options ); } finally { _cur._locale.exit(); } } }
-    public XMLInputStream newXMLInputStream ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newXMLInputStream(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newXMLInputStream(); } finally { _cur._locale.exit(); } } }
-    public String xmlText ( ) { if (preCheck()) { _cur._locale.enter(); try { return _xmlText(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _xmlText(); } finally { _cur._locale.exit(); } } }
-    public InputStream newInputStream ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newInputStream(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newInputStream(); } finally { _cur._locale.exit(); } } }
-    public Reader newReader ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newReader(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newReader(); } finally { _cur._locale.exit(); } } }
-    public Node newDomNode ( ) { if (preCheck()) { _cur._locale.enter(); try { return _newDomNode(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newDomNode(); } finally { _cur._locale.exit(); } } }
-    public Node getDomNode ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getDomNode(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newDomNode(); } finally { _cur._locale.exit(); } } }
-    public void save ( ContentHandler ch, LexicalHandler lh ) throws SAXException { if (preCheck()) { _cur._locale.enter(); try { _save( ch, lh ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( ch, lh ); } finally { _cur._locale.exit(); } } }
-    public void save ( File file ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( file ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( file ); } finally { _cur._locale.exit(); } } }
-    public void save ( OutputStream os ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( os ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( os ); } finally { _cur._locale.exit(); } } }
-    public void save ( Writer w ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( w ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( w ); } finally { _cur._locale.exit(); } } }
-    public XMLInputStream newXMLInputStream ( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _newXMLInputStream( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newXMLInputStream( options ); } finally { _cur._locale.exit(); } } }
-    public String xmlText ( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _xmlText( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _xmlText( options ); } finally { _cur._locale.exit(); } } }
-    public InputStream newInputStream ( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _newInputStream( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newInputStream( options ); } finally { _cur._locale.exit(); } } }
-    public Reader newReader( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _newReader( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newReader( options ); } finally { _cur._locale.exit(); } } }
-    public Node newDomNode ( XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _newDomNode( options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _newDomNode( options ); } finally { _cur._locale.exit(); } } }
-    public void save ( ContentHandler ch, LexicalHandler lh, XmlOptions options ) throws SAXException { if (preCheck()) { _cur._locale.enter(); try { _save( ch, lh, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( ch, lh, options ); } finally { _cur._locale.exit(); } } }
-    public void save ( File file, XmlOptions options ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( file, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( file, options ); } finally { _cur._locale.exit(); } } }
-    public void save ( OutputStream os, XmlOptions options ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( os, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( os, options ); } finally { _cur._locale.exit(); } } }
-    public void save ( Writer w, XmlOptions options ) throws IOException { if (preCheck()) { _cur._locale.enter(); try { _save( w, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _save( w, options ); } finally { _cur._locale.exit(); } } }
-    public void push ( ) { if (preCheck()) { _cur._locale.enter(); try { _push(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _push(); } finally { _cur._locale.exit(); } } }
-    public boolean pop ( ) { if (preCheck()) { _cur._locale.enter(); try { return _pop(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _pop(); } finally { _cur._locale.exit(); } } }
-    public void selectPath ( String path ) { if (preCheck()) { _cur._locale.enter(); try { _selectPath( path ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _selectPath( path ); } finally { _cur._locale.exit(); } } }
-    public void selectPath ( String path, XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { _selectPath( path, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _selectPath( path, options ); } finally { _cur._locale.exit(); } } }
-    public boolean hasNextSelection ( ) { if (preCheck()) { _cur._locale.enter(); try { return _hasNextSelection(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _hasNextSelection(); } finally { _cur._locale.exit(); } } }
-    public boolean toNextSelection ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextSelection(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextSelection(); } finally { _cur._locale.exit(); } } }
-    public boolean toSelection ( int i ) { if (preCheck()) { _cur._locale.enter(); try { return _toSelection( i ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toSelection( i ); } finally { _cur._locale.exit(); } } }
-    public int getSelectionCount ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getSelectionCount(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getSelectionCount(); } finally { _cur._locale.exit(); } } }
-    public void addToSelection ( ) { if (preCheck()) { _cur._locale.enter(); try { _addToSelection(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _addToSelection(); } finally { _cur._locale.exit(); } } }
-    public void clearSelections ( ) { if (preCheck()) { _cur._locale.enter(); try { _clearSelections(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _clearSelections(); } finally { _cur._locale.exit(); } } }
-    public boolean toBookmark ( XmlBookmark bookmark ) { if (preCheck()) { _cur._locale.enter(); try { return _toBookmark( bookmark ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toBookmark( bookmark ); } finally { _cur._locale.exit(); } } }
-    public XmlBookmark toNextBookmark ( Object key ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextBookmark( key ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextBookmark( key ); } finally { _cur._locale.exit(); } } }
-    public XmlBookmark toPrevBookmark ( Object key ) { if (preCheck()) { _cur._locale.enter(); try { return _toPrevBookmark( key ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toPrevBookmark( key ); } finally { _cur._locale.exit(); } } }
-    public QName getName ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getName(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getName(); } finally { _cur._locale.exit(); } } }
-    public void setName ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { _setName( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _setName( name ); } finally { _cur._locale.exit(); } } }
-    public String namespaceForPrefix ( String prefix ) { if (preCheck()) { _cur._locale.enter(); try { return _namespaceForPrefix( prefix ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _namespaceForPrefix( prefix ); } finally { _cur._locale.exit(); } } }
-    public String prefixForNamespace ( String namespaceURI ) { if (preCheck()) { _cur._locale.enter(); try { return _prefixForNamespace( namespaceURI ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _prefixForNamespace( namespaceURI ); } finally { _cur._locale.exit(); } } }
-    public void getAllNamespaces ( Map addToThis ) { if (preCheck()) { _cur._locale.enter(); try { _getAllNamespaces( addToThis ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _getAllNamespaces( addToThis ); } finally { _cur._locale.exit(); } } }
-    public XmlObject getObject ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getObject(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getObject(); } finally { _cur._locale.exit(); } } }
-    public TokenType currentTokenType ( ) { if (preCheck()) { _cur._locale.enter(); try { return _currentTokenType(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _currentTokenType(); } finally { _cur._locale.exit(); } } }
-    public boolean isStartdoc ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isStartdoc(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isStartdoc(); } finally { _cur._locale.exit(); } } }
-    public boolean isEnddoc ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isEnddoc(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isEnddoc(); } finally { _cur._locale.exit(); } } }
-    public boolean isStart ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isStart(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isStart(); } finally { _cur._locale.exit(); } } }
-    public boolean isEnd ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isEnd(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isEnd(); } finally { _cur._locale.exit(); } } }
-    public boolean isText ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isText(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isText(); } finally { _cur._locale.exit(); } } }
-    public boolean isAttr ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isAttr(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isAttr(); } finally { _cur._locale.exit(); } } }
-    public boolean isNamespace ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isNamespace(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isNamespace(); } finally { _cur._locale.exit(); } } }
-    public boolean isComment ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isComment(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isComment(); } finally { _cur._locale.exit(); } } }
-    public boolean isProcinst ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isProcinst(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isProcinst(); } finally { _cur._locale.exit(); } } }
-    public boolean isContainer ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isContainer(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isContainer(); } finally { _cur._locale.exit(); } } }
-    public boolean isFinish ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isFinish(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isFinish(); } finally { _cur._locale.exit(); } } }
-    public boolean isAnyAttr ( ) { if (preCheck()) { _cur._locale.enter(); try { return _isAnyAttr(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isAnyAttr(); } finally { _cur._locale.exit(); } } }
-    public TokenType prevTokenType ( ) { if (preCheck()) { _cur._locale.enter(); try { return _prevTokenType(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _prevTokenType(); } finally { _cur._locale.exit(); } } }
-    public boolean hasNextToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _hasNextToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _hasNextToken(); } finally { _cur._locale.exit(); } } }
-    public boolean hasPrevToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _hasPrevToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _hasPrevToken(); } finally { _cur._locale.exit(); } } }
-    public TokenType toNextToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextToken(); } finally { _cur._locale.exit(); } } }
-    public TokenType toPrevToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toPrevToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toPrevToken(); } finally { _cur._locale.exit(); } } }
-    public TokenType toFirstContentToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toFirstContentToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toFirstContentToken(); } finally { _cur._locale.exit(); } } }
-    public TokenType toEndToken ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toEndToken(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toEndToken(); } finally { _cur._locale.exit(); } } }
-    public int toNextChar ( int maxCharacterCount ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextChar( maxCharacterCount ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextChar( maxCharacterCount ); } finally { _cur._locale.exit(); } } }
-    public int toPrevChar ( int maxCharacterCount ) { if (preCheck()) { _cur._locale.enter(); try { return _toPrevChar( maxCharacterCount ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toPrevChar( maxCharacterCount ); } finally { _cur._locale.exit(); } } }
-    public boolean toNextSibling ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextSibling(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextSibling(); } finally { _cur._locale.exit(); } } }
-    public boolean toPrevSibling ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toPrevSibling(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toPrevSibling(); } finally { _cur._locale.exit(); } } }
-    public boolean toParent ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toParent(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toParent(); } finally { _cur._locale.exit(); } } }
-    public boolean toFirstChild ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toFirstChild(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toFirstChild(); } finally { _cur._locale.exit(); } } }
-    public boolean toLastChild ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toLastChild(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toLastChild(); } finally { _cur._locale.exit(); } } }
-    public boolean toChild ( String name ) { if (preCheck()) { _cur._locale.enter(); try { return _toChild( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toChild( name ); } finally { _cur._locale.exit(); } } }
-    public boolean toChild ( String namespace, String name ) { if (preCheck()) { _cur._locale.enter(); try { return _toChild( namespace, name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toChild( namespace, name ); } finally { _cur._locale.exit(); } } }
-    public boolean toChild ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { return _toChild( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toChild( name ); } finally { _cur._locale.exit(); } } }
-    public boolean toChild ( int index ) { if (preCheck()) { _cur._locale.enter(); try { return _toChild( index ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toChild( index ); } finally { _cur._locale.exit(); } } }
-    public boolean toChild ( QName name, int index ) { if (preCheck()) { _cur._locale.enter(); try { return _toChild( name, index ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toChild( name, index ); } finally { _cur._locale.exit(); } } }
-    public boolean toNextSibling ( String name ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextSibling( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextSibling( name ); } finally { _cur._locale.exit(); } } }
-    public boolean toNextSibling ( String namespace, String name ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextSibling( namespace, name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextSibling( namespace, name ); } finally { _cur._locale.exit(); } } }
-    public boolean toNextSibling ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextSibling( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextSibling( name ); } finally { _cur._locale.exit(); } } }
-    public boolean toFirstAttribute ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toFirstAttribute(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toFirstAttribute(); } finally { _cur._locale.exit(); } } }
-    public boolean toLastAttribute ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toLastAttribute(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toLastAttribute(); } finally { _cur._locale.exit(); } } }
-    public boolean toNextAttribute ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toNextAttribute(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toNextAttribute(); } finally { _cur._locale.exit(); } } }
-    public boolean toPrevAttribute ( ) { if (preCheck()) { _cur._locale.enter(); try { return _toPrevAttribute(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _toPrevAttribute(); } finally { _cur._locale.exit(); } } }
-    public String getAttributeText ( QName attrName ) { if (preCheck()) { _cur._locale.enter(); try { return _getAttributeText( attrName ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getAttributeText( attrName ); } finally { _cur._locale.exit(); } } }
-    public boolean setAttributeText ( QName attrName, String value ) { if (preCheck()) { _cur._locale.enter(); try { return _setAttributeText( attrName, value ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _setAttributeText( attrName, value ); } finally { _cur._locale.exit(); } } }
-    public boolean removeAttribute ( QName attrName ) { if (preCheck()) { _cur._locale.enter(); try { return _removeAttribute( attrName ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _removeAttribute( attrName ); } finally { _cur._locale.exit(); } } }
-    public String getTextValue ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getTextValue(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getTextValue(); } finally { _cur._locale.exit(); } } }
-    public int getTextValue ( char[] returnedChars, int offset, int maxCharacterCount ) { if (preCheck()) { _cur._locale.enter(); try { return _getTextValue( returnedChars, offset, maxCharacterCount ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getTextValue( returnedChars, offset, maxCharacterCount ); } finally { _cur._locale.exit(); } } }
-    public void setTextValue ( String text ) { if (preCheck()) { _cur._locale.enter(); try { _setTextValue( text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _setTextValue( text ); } finally { _cur._locale.exit(); } } }
-    public void setTextValue ( char[] sourceChars, int offset, int length ) { if (preCheck()) { _cur._locale.enter(); try { _setTextValue( sourceChars, offset, length ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _setTextValue( sourceChars, offset, length ); } finally { _cur._locale.exit(); } } }
-    public String getChars ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getChars(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getChars(); } finally { _cur._locale.exit(); } } }
-    public int getChars ( char[] returnedChars, int offset, int maxCharacterCount ) { if (preCheck()) { _cur._locale.enter(); try { return _getChars( returnedChars, offset, maxCharacterCount ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getChars( returnedChars, offset, maxCharacterCount ); } finally { _cur._locale.exit(); } } }
-    public void toStartDoc ( ) { if (preCheck()) { _cur._locale.enter(); try { _toStartDoc(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _toStartDoc(); } finally { _cur._locale.exit(); } } }
-    public void toEndDoc ( ) { if (preCheck()) { _cur._locale.enter(); try { _toEndDoc(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _toEndDoc(); } finally { _cur._locale.exit(); } } }
-    
-    public int comparePosition ( XmlCursor cursor ) { if (preCheck()) { _cur._locale.enter(); try { return _comparePosition( cursor ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _comparePosition( cursor ); } finally { _cur._locale.exit(); } } }
-    public boolean isLeftOf ( XmlCursor cursor ) { if (preCheck()) { _cur._locale.enter(); try { return _isLeftOf( cursor ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isLeftOf( cursor ); } finally { _cur._locale.exit(); } } }
-    public boolean isAtSamePositionAs ( XmlCursor cursor ) { if (preCheck()) { _cur._locale.enter(); try { return _isAtSamePositionAs( cursor ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isAtSamePositionAs( cursor ); } finally { _cur._locale.exit(); } } }
-    public boolean isRightOf ( XmlCursor cursor ) { if (preCheck()) { _cur._locale.enter(); try { return _isRightOf( cursor ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _isRightOf( cursor ); } finally { _cur._locale.exit(); } } }
-    
-    public XmlCursor execQuery ( String query ) { if (preCheck()) { _cur._locale.enter(); try { return _execQuery( query ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _execQuery( query ); } finally { _cur._locale.exit(); } } }
-    public XmlCursor execQuery ( String query, XmlOptions options ) { if (preCheck()) { _cur._locale.enter(); try { return _execQuery( query, options ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _execQuery( query, options ); } finally { _cur._locale.exit(); } } }
-    public ChangeStamp getDocChangeStamp ( ) { if (preCheck()) { _cur._locale.enter(); try { return _getDocChangeStamp(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getDocChangeStamp(); } finally { _cur._locale.exit(); } } }
-    public void setBookmark ( XmlBookmark bookmark ) { if (preCheck()) { _cur._locale.enter(); try { _setBookmark( bookmark ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _setBookmark( bookmark ); } finally { _cur._locale.exit(); } } }
-    public XmlBookmark getBookmark ( Object key ) { if (preCheck()) { _cur._locale.enter(); try { return _getBookmark( key ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _getBookmark( key ); } finally { _cur._locale.exit(); } } }
-    public void clearBookmark ( Object key ) { if (preCheck()) { _cur._locale.enter(); try { _clearBookmark( key ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _clearBookmark( key ); } finally { _cur._locale.exit(); } } }
-    public void getAllBookmarkRefs ( Collection listToFill ) { if (preCheck()) { _cur._locale.enter(); try { _getAllBookmarkRefs( listToFill ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _getAllBookmarkRefs( listToFill ); } finally { _cur._locale.exit(); } } }
-    public boolean removeXml ( ) { if (preCheck()) { _cur._locale.enter(); try { return _removeXml(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _removeXml(); } finally { _cur._locale.exit(); } } }
-
-    public boolean removeXmlContents ( ) { if (preCheck()) { _cur._locale.enter(); try { return _removeXmlContents(); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _removeXmlContents(); } finally { _cur._locale.exit(); } } }
-    public int removeChars ( int maxCharacterCount ) { if (preCheck()) { _cur._locale.enter(); try { return _removeChars( maxCharacterCount ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { return _removeChars( maxCharacterCount ); } finally { _cur._locale.exit(); } } }
-    public void insertChars ( String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertChars( text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertChars( text ); } finally { _cur._locale.exit(); } } }
-    public void insertElement ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { _insertElement( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElement( name ); } finally { _cur._locale.exit(); } } }
-    public void insertElement ( String localName ) { if (preCheck()) { _cur._locale.enter(); try { _insertElement( localName ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElement( localName ); } finally { _cur._locale.exit(); } } }
-    public void insertElement ( String localName, String uri ) { if (preCheck()) { _cur._locale.enter(); try { _insertElement( localName, uri ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElement( localName, uri ); } finally { _cur._locale.exit(); } } }
-    public void beginElement ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { _beginElement( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _beginElement( name ); } finally { _cur._locale.exit(); } } }
-    public void beginElement ( String localName ) { if (preCheck()) { _cur._locale.enter(); try { _beginElement( localName ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _beginElement( localName ); } finally { _cur._locale.exit(); } } }
-    public void beginElement ( String localName, String uri ) { if (preCheck()) { _cur._locale.enter(); try { _beginElement( localName, uri ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _beginElement( localName, uri ); } finally { _cur._locale.exit(); } } }
-    public void insertElementWithText ( QName name, String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertElementWithText( name, text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElementWithText( name, text ); } finally { _cur._locale.exit(); } } }
-    public void insertElementWithText ( String localName, String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertElementWithText( localName, text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElementWithText( localName, text ); } finally { _cur._locale.exit(); } } }
-    public void insertElementWithText ( String localName, String uri, String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertElementWithText( localName, uri, text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertElementWithText( localName, uri, text ); } finally { _cur._locale.exit(); } } }
-    public void insertAttribute ( String localName ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttribute( localName ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttribute( localName ); } finally { _cur._locale.exit(); } } }
-    public void insertAttribute ( String localName, String uri ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttribute( localName, uri ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttribute( localName, uri ); } finally { _cur._locale.exit(); } } }
-    public void insertAttribute ( QName name ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttribute( name ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttribute( name ); } finally { _cur._locale.exit(); } } }
-    public void insertAttributeWithValue ( String Name, String value ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttributeWithValue( Name, value ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttributeWithValue( Name, value ); } finally { _cur._locale.exit(); } } }
-    public void insertAttributeWithValue ( String name, String uri, String value ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttributeWithValue( name, uri, value ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttributeWithValue( name, uri, value ); } finally { _cur._locale.exit(); } } }
-    public void insertAttributeWithValue ( QName name, String value ) { if (preCheck()) { _cur._locale.enter(); try { _insertAttributeWithValue( name, value ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertAttributeWithValue( name, value ); } finally { _cur._locale.exit(); } } }
-    public void insertNamespace ( String prefix, String namespace ) { if (preCheck()) { _cur._locale.enter(); try { _insertNamespace( prefix, namespace ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertNamespace( prefix, namespace ); } finally { _cur._locale.exit(); } } }
-    public void insertComment ( String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertComment( text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertComment( text ); } finally { _cur._locale.exit(); } } }
-    public void insertProcInst ( String target, String text ) { if (preCheck()) { _cur._locale.enter(); try { _insertProcInst( target, text ); } finally { _cur._locale.exit(); } } else synchronized ( _cur._locale ) { _cur._locale.enter(); try { _insertProcInst( target, text ); } finally { _cur._locale.exit(); } } }
-    
-    //
-    //
-    //
-
-    private Cur        _cur;
-    private PathEngine _pathEngine;
-    private int        _currentSelection;
-
-    private GeneralChangeListener _nextGeneralChangeListener;
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java
deleted file mode 100755
index e45504b..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java
+++ /dev/null
@@ -1,4791 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import org.w3c.dom.Attr;
-import org.w3c.dom.CDATASection;
-import org.w3c.dom.CharacterData;
-import org.w3c.dom.Comment;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.DocumentType;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Element;
-import org.w3c.dom.EntityReference;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.ProcessingInstruction;
-import org.w3c.dom.Text;
-import org.w3c.dom.DOMImplementation;
-
-// DOM Level 3
-import org.w3c.dom.UserDataHandler;
-
-import javax.xml.soap.Detail;
-import javax.xml.soap.DetailEntry;
-import javax.xml.soap.MimeHeaders;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPBody;
-import javax.xml.soap.SOAPBodyElement;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPEnvelope;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPFault;
-import javax.xml.soap.SOAPHeader;
-import javax.xml.soap.SOAPHeaderElement;
-import javax.xml.soap.SOAPPart;
-
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-import javax.xml.stream.XMLStreamReader;
-
-import java.io.PrintStream;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-
-import javax.xml.transform.Source;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.XmlCursor;
-
-final class DomImpl
-{
-    static final int ELEMENT   = Node.ELEMENT_NODE;
-    static final int ATTR      = Node.ATTRIBUTE_NODE;
-    static final int TEXT      = Node.TEXT_NODE;
-    static final int CDATA     = Node.CDATA_SECTION_NODE;
-    static final int ENTITYREF = Node.ENTITY_REFERENCE_NODE;
-    static final int ENTITY    = Node.ENTITY_NODE;
-    static final int PROCINST  = Node.PROCESSING_INSTRUCTION_NODE;
-    static final int COMMENT   = Node.COMMENT_NODE;
-    static final int DOCUMENT  = Node.DOCUMENT_NODE;
-    static final int DOCTYPE   = Node.DOCUMENT_TYPE_NODE;
-    static final int DOCFRAG   = Node.DOCUMENT_FRAGMENT_NODE;
-    static final int NOTATION  = Node.NOTATION_NODE;
-
-    interface Dom
-    {
-        Locale locale   ( );
-        int    nodeType ( );
-        Cur    tempCur  ( );
-        QName  getQName ( );
-
-        void   dump ( );
-        void   dump ( PrintStream o );
-        void   dump ( PrintStream o, Object ref );
-    };
-    
-    static Dom parent      ( Dom d ) { return node_getParentNode ( d ); }
-    static Dom firstChild  ( Dom d ) { return node_getFirstChild ( d ); }
-    static Dom nextSibling ( Dom d ) { return node_getNextSibling( d ); }
-
-    public static Dom append ( Dom n, Dom p )
-    {
-        return node_insertBefore( p, n, null );
-    }
-
-    public static Dom insert ( Dom n, Dom b )
-    {
-        assert b != null;
-        return node_insertBefore( parent( b ), n, b );
-    }
-
-    public static Dom remove ( Dom n )
-    {
-        Dom p = parent( n );
-
-        if (p != null)
-            node_removeChild( p, n );
-
-        return n;
-    }
-
-    //
-    // Handy dandy Dom exceptions
-    //
-
-    static class HierarchyRequestErr extends DOMException
-    {
-        HierarchyRequestErr ( ) { this( "This node isn't allowed there" ); }
-        HierarchyRequestErr ( String message ) { super( HIERARCHY_REQUEST_ERR, message ); }
-    }
-    
-    static class WrongDocumentErr extends DOMException
-    {
-        WrongDocumentErr ( ) { this( "Nodes do not belong to the same document" ); }
-        WrongDocumentErr ( String message ) { super( WRONG_DOCUMENT_ERR, message ); }
-    }
-    
-    static class NotFoundErr extends DOMException
-    {
-        NotFoundErr ( ) { this( "Node not found" ); }
-        NotFoundErr ( String message ) { super( NOT_FOUND_ERR, message ); }
-    }
-
-    static class NamespaceErr extends DOMException
-    {
-        NamespaceErr ( ) { this( "Namespace error" ); }
-        NamespaceErr ( String message ) { super( NAMESPACE_ERR, message ); }
-    }
-
-    static class NoModificationAllowedErr extends DOMException
-    {
-        NoModificationAllowedErr ( ) { this( "No modification allowed error" ); }
-        NoModificationAllowedErr ( String message ) { super( NO_MODIFICATION_ALLOWED_ERR, message ); }
-    }
-    
-    static class InuseAttributeError extends DOMException
-    {
-        InuseAttributeError ( ) { this( "Attribute currently in use error" ); }
-        InuseAttributeError ( String message ) { super( INUSE_ATTRIBUTE_ERR, message ); }
-    }
-    
-    static class IndexSizeError extends DOMException
-    {
-        IndexSizeError ( ) { this( "Index Size Error" ); }
-        IndexSizeError ( String message ) { super( INDEX_SIZE_ERR, message ); }
-    }
-
-    static class NotSupportedError extends DOMException
-    {
-        NotSupportedError ( ) { this( "This operation is not supported" ); }
-        NotSupportedError ( String message ) { super( NOT_SUPPORTED_ERR, message ); }
-    }
-
-    static class InvalidCharacterError extends DOMException
-    {
-        InvalidCharacterError ( ) { this( "The name contains an invalid character" ); }
-        InvalidCharacterError ( String message ) { super( INVALID_CHARACTER_ERR, message ); }
-    }
-
-    //
-    // Helper fcns
-    //
-    
-    private static final class EmptyNodeList implements NodeList
-    {
-        public int getLength ( ) { return 0; }
-        public Node item ( int i ) { return null; }
-    }
-
-    public static NodeList _emptyNodeList = new EmptyNodeList();
-    
-    static String nodeKindName ( int t )
-    {
-        switch ( t )
-        {
-        case ATTR      : return "attribute";
-        case CDATA     : return "cdata section";
-        case COMMENT   : return "comment";
-        case DOCFRAG   : return "document fragment";
-        case DOCUMENT  : return "document";
-        case DOCTYPE   : return "document type";
-        case ELEMENT   : return "element";
-        case ENTITY    : return "entity";
-        case ENTITYREF : return "entity reference";
-        case NOTATION  : return "notation";
-        case PROCINST  : return "processing instruction";
-        case TEXT      : return "text";
-                                           
-        default : throw new RuntimeException( "Unknown node type" );
-        }
-    }
-
-    private static String isValidChild ( Dom parent, Dom child )
-    {
-        int pk = parent.nodeType();
-        int ck = child.nodeType();
-
-        switch ( pk )
-        {
-        case DOCUMENT :
-        {
-            switch ( ck )
-            {
-            case ELEMENT :
-            {
-                if (document_getDocumentElement( parent ) != null)
-                    return "Documents may only have a maximum of one document element";
-
-                return null;
-            }
-            case DOCTYPE :
-            {
-                if (document_getDoctype( parent ) != null)
-                    return "Documents may only have a maximum of one document type node";
-                
-                return null;
-            }
-            case PROCINST :
-            case COMMENT  :
-                return null;
-            }
-
-            break;
-        }
-
-        case ATTR :
-        {
-            if (ck == TEXT || ck == ENTITYREF)
-                return null;
-
-            // TODO -- traverse the entity tree, making sure that there are
-            // only entity refs and text nodes in it.
-
-            break;
-        }
-            
-        case DOCFRAG   :
-        case ELEMENT   :
-        case ENTITY    :
-        case ENTITYREF :
-        {
-            switch ( ck )
-            {
-            case ELEMENT :
-            case ENTITYREF:
-            case CDATA :
-            case TEXT :
-            case COMMENT :
-            case PROCINST :
-                return null;
-            }
-
-            break;
-        }
-
-        case CDATA :
-        case TEXT :
-        case COMMENT :
-        case PROCINST :
-        case DOCTYPE :
-        case NOTATION :
-            return nodeKindName( pk ) + " nodes may not have any children";
-        }
-
-        return
-            nodeKindName( pk ) + " nodes may not have " +
-                nodeKindName( ck ) + " nodes as children";
-    }
-
-    private static void validateNewChild ( Dom parent, Dom child )
-    {
-        String msg = isValidChild( parent, child );
-
-        if (msg != null)
-            throw new HierarchyRequestErr( msg );
-
-        if (parent == child)
-            throw new HierarchyRequestErr( "New child and parent are the same node" );
-
-        while ( (child = parent( child )) != null )
-        {
-            // TODO - use read only state on a node to know if it is under an
-            // entity ref
-            
-            if (child.nodeType() == ENTITYREF)
-                throw new NoModificationAllowedErr( "Entity reference trees may not be modified" );
-
-            if (child == parent)
-                throw new HierarchyRequestErr( "New child is an ancestor node of the parent node" );
-        }
-    }
-
-    private static String validatePrefix (
-        String prefix, String uri, String local, boolean isAttr )
-    {
-        validateNcName( prefix );
-        
-        if (prefix == null)
-            prefix = "";
-
-        if (uri == null)
-            uri = "";
-
-        if (prefix.length() > 0 && uri.length() == 0)
-            throw new NamespaceErr( "Attempt to give a prefix for no namespace" );
-
-        if (prefix.equals( "xml" ) && !uri.equals( Locale._xml1998Uri ))
-            throw new NamespaceErr( "Invalid prefix - begins with 'xml'" );
-
-        if (isAttr)
-        {
-            if (prefix.length() > 0)
-            {
-                if (local.equals( "xmlns" ))
-                    throw new NamespaceErr( "Invalid namespace - attr is default namespace already" );
-
-                if (Locale.beginsWithXml( local ))
-                    throw new NamespaceErr( "Invalid namespace - attr prefix begins with 'xml'" );
-
-                if (prefix.equals( "xmlns" ) && !uri.equals( Locale._xmlnsUri ))
-                    throw new NamespaceErr( "Invalid namespace - uri is not '" + Locale._xmlnsUri+";" );
-            }
-            else
-            {
-                if (local.equals( "xmlns" ) && !uri.equals( Locale._xmlnsUri ))
-                    throw new NamespaceErr( "Invalid namespace - uri is not '" + Locale._xmlnsUri+";" );
-            }
-        }
-        else if (Locale.beginsWithXml( prefix ))
-            throw new NamespaceErr( "Invalid prefix - begins with 'xml'" );
-
-        return prefix;
-    }
-    
-    private static void validateName ( String name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Target is null" );
-            
-        if (name.length() == 0)
-            throw new IllegalArgumentException( "Target is empty" );
-            
-        if (!XMLChar.isValidName( name ))
-            throw new InvalidCharacterError( "Target has an invalid character" );
-    }
-    
-    private static void validateNcName ( String name )
-    {
-        if (name != null && name.length() > 0 && !XMLChar.isValidNCName( name ))
-            throw new InvalidCharacterError();
-    }
-    
-    private static void validateQualifiedName ( String name )
-    {
-        assert name != null;
-        
-        int i = name.indexOf( ':' );
-
-        if (i < 0)
-            validateNcName( name );
-        else
-        {
-            validateNcName( name.substring( 0, i ) );
-            
-            String local = name.substring( i + 1 );
-            
-            if (local.indexOf( ':' ) >= 0)
-                throw new NamespaceErr( "Invalid qualified name, more than one colon" );
-            
-            validateNcName( local );
-        }
-    }
-
-    private static void removeNode ( Dom n )
-    {
-        assert n.nodeType() != TEXT && n.nodeType() != CDATA;
-        
-        Cur cTo = n.tempCur();
-        Cur cFrom = n.tempCur();
-
-        cFrom.toEnd();
-
-        if (cFrom.next())
-        {
-            CharNode fromNodes = cFrom.getCharNodes();
-
-            if (fromNodes != null)
-            {
-                cFrom.setCharNodes( null );
-                cTo.setCharNodes( CharNode.appendNodes( cTo.getCharNodes(), fromNodes ) );
-            }
-        }
-
-        cTo.moveNode( null );
-
-        cTo.release();
-        cFrom.release();
-    }
-
-    private abstract static class ElementsNodeList implements NodeList
-    {
-        ElementsNodeList ( Dom root )
-        {
-            assert root.nodeType() == DOCUMENT || root.nodeType() == ELEMENT;
-
-            _root = root;
-            _locale = _root.locale();
-            _version = 0;
-        }
-
-        public int getLength ( )
-        {
-            ensureElements();
-
-            return _elements.size();
-        }
-        
-        public Node item ( int i )
-        {
-            ensureElements();
-
-            return i < 0 || i >= _elements.size() ? (Node) null : (Node) _elements.get( i );
-        }
-        
-        private void ensureElements ( )
-        {
-            if (_version == _locale.version())
-                return;
-
-            _version = _locale.version();
-
-            _elements = new ArrayList();
-
-            Locale l = _locale;
-
-            if (l.noSync())         { l.enter(); try { addElements( _root ); } finally { l.exit(); } }
-            else synchronized ( l ) { l.enter(); try { addElements( _root ); } finally { l.exit(); } }
-        }
-
-        private void addElements ( Dom node )
-        {
-            for ( Dom c = firstChild( node ) ; c != null ; c = nextSibling( c ) )
-            {
-                if (c.nodeType() == ELEMENT)
-                {
-                    if (match( c ))
-                        _elements.add( c );
-
-                    addElements( c );
-                }
-            }
-        }
-
-        protected abstract boolean match ( Dom element );
-
-        private Dom       _root;
-        private Locale    _locale;
-        private long      _version;
-        private ArrayList _elements;
-    }
-
-    private static class ElementsByTagNameNodeList extends ElementsNodeList
-    {
-        ElementsByTagNameNodeList ( Dom root, String name )
-        {
-            super( root );
-
-            _name = name;
-        }
-
-        protected boolean match ( Dom element )
-        {
-            return _name.equals( "*" ) ? true : _node_getNodeName( element ).equals( _name );
-        }
-
-        private String _name;
-    }
-    
-    private static class ElementsByTagNameNSNodeList extends ElementsNodeList
-    {
-        ElementsByTagNameNSNodeList ( Dom root, String uri, String local )
-        {
-            super( root );
-
-            _uri = uri == null ? "" : uri;
-            _local = local;
-        }
-
-        protected boolean match ( Dom element )
-        {
-            if (!(_uri.equals( "*" ) ? true : _node_getNamespaceURI( element ).equals( _uri )))
-                return false;
-
-            return _local.equals( "*" ) ? true : _node_getLocalName( element ).equals( _local );
-        }
-
-        private String _uri;
-        private String _local;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Document _domImplementation_createDocument (
-        Locale l, String u, String n, DocumentType t )
-    {
-        Document d;
-
-        if (l.noSync())         { l.enter(); try { d = domImplementation_createDocument( l, u, n, t ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = domImplementation_createDocument( l, u, n, t ); } finally { l.exit(); } }
-
-        return d;
-    }
-
-    public static Document domImplementation_createDocument (
-        Locale l, String namespaceURI, String qualifiedName, DocumentType doctype )
-    {
-        validateQualifiedName( qualifiedName );
-        
-        Cur c = l.tempCur();
-
-        c.createDomDocumentRoot();
-
-        Document doc = (Document) c.getDom();
-        
-        c.next();
-
-        c.createElement( l.makeQualifiedQName( namespaceURI, qualifiedName ) );
-
-        if (doctype != null)
-            throw new RuntimeException( "Not impl" );
-
-        c.release();
-        
-        return doc;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _domImplementation_hasFeature ( Locale l, String feature, String version )
-    {
-        if (feature == null)
-            return false;
-        
-        if (version != null && version.length() > 0 &&
-              !version.equals( "1.0" ) && !version.equals( "2.0" ))
-        {
-            return false;
-        }
-
-        if (feature.equalsIgnoreCase( "core" ))
-            return true;
-        
-        if (feature.equalsIgnoreCase( "xml" ))
-            return true;
-
-        return false;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    
-    public static Element _document_getDocumentElement ( Dom d )
-    {
-        Locale l = d.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = document_getDocumentElement( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = document_getDocumentElement( d ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-
-    public static Dom document_getDocumentElement ( Dom d )
-    {
-        for ( d = firstChild( d ) ; d != null ; d = nextSibling( d ) )
-        {
-            if (d.nodeType() == ELEMENT)
-                return d;
-        }
-
-        return null;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static DocumentFragment _document_createDocumentFragment ( Dom d )
-    {
-        Locale l = d.locale();
-
-        Dom f;
-
-        if (l.noSync())         { l.enter(); try { f = document_createDocumentFragment( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { f = document_createDocumentFragment( d ); } finally { l.exit(); } }
-
-        return (DocumentFragment) f;
-    }
-    
-    public static Dom document_createDocumentFragment ( Dom d )
-    {
-        Cur c = d.locale().tempCur();
-
-        c.createDomDocFragRoot();
-
-        Dom f = c.getDom();
-        
-        c.release();
-
-        return f;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Element _document_createElement ( Dom d, String name )
-    {
-        Locale l = d.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = document_createElement( d, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = document_createElement( d, name ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-
-    public static Dom document_createElement ( Dom d, String name )
-    {
-        validateQualifiedName( name );
-        
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.createElement( l.makeQualifiedQName( "", name ) );
-
-        Dom e = c.getDom();
-
-        c.release();
-
-        return e;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Element _document_createElementNS ( Dom d, String uri, String qname )
-    {
-        Locale l = d.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = document_createElementNS( d, uri, qname ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = document_createElementNS( d, uri, qname ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-
-    public static Dom document_createElementNS ( Dom d, String uri, String qname )
-    {
-        validateQualifiedName( qname );
-        
-        Locale l = d.locale();
-        
-        Cur c = l.tempCur();
-        
-        c.createElement( l.makeQualifiedQName( uri, qname ) );
-
-        Dom e = c.getDom();
-        
-        c.release();
-        
-        return e;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _document_createAttribute ( Dom d, String name )
-    {
-        Locale l = d.locale();
-
-        Dom a;
-
-        if (l.noSync())         { l.enter(); try { a = document_createAttribute( d, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { a = document_createAttribute( d, name ); } finally { l.exit(); } }
-
-        return (Attr) a;
-    }
-
-    public static Dom document_createAttribute ( Dom d, String name )
-    {
-        validateQualifiedName( name );
-
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.createAttr( l.makeQualifiedQName( "", name ) );
-
-        Dom e = c.getDom();
-
-        c.release();
-
-        return e;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _document_createAttributeNS ( Dom d, String uri, String qname )
-    {
-        Locale l = d.locale();
-
-        Dom a;
-
-        if (l.noSync())         { l.enter(); try { a = document_createAttributeNS( d, uri, qname ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { a = document_createAttributeNS( d, uri, qname ); } finally { l.exit(); } }
-
-        return (Attr) a;
-    }
-    
-    public static Dom document_createAttributeNS ( Dom d, String uri, String qname )
-    {
-        validateQualifiedName( qname );
-
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.createAttr( l.makeQualifiedQName( uri, qname ) );
-
-        Dom e = c.getDom();
-
-        c.release();
-
-        return e;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Comment _document_createComment ( Dom d, String data )
-    {
-        Locale l = d.locale();
-
-        Dom c;
-
-        if (l.noSync())         { l.enter(); try { c = document_createComment( d, data ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { c = document_createComment( d, data ); } finally { l.exit(); } }
-
-        return (Comment) c;
-    }
-    
-    public static Dom document_createComment ( Dom d, String data )
-    {
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.createComment();
-
-        Dom comment = c.getDom();
-
-        if (data != null)
-        {
-            c.next();
-            c.insertChars( data, 0, data.length() );
-        }
-
-        c.release();
-
-        return comment;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static ProcessingInstruction _document_createProcessingInstruction ( Dom d, String target, String data )
-    {
-        Locale l = d.locale();
-
-        Dom pi;
-
-        if (l.noSync())         { l.enter(); try { pi = document_createProcessingInstruction( d, target, data ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { pi = document_createProcessingInstruction( d, target, data ); } finally { l.exit(); } }
-
-        return (ProcessingInstruction) pi;
-    }
-    
-    public static Dom document_createProcessingInstruction ( Dom d, String target, String data )
-    {
-        validateName( target );
-        
-        if (Locale.beginsWithXml( target ) && target.length() == 3)
-            throw new InvalidCharacterError( "Invalid target - is 'xml'" );
-        
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.createProcinst( target );
-
-        Dom pi = c.getDom();
-
-        if (data != null)
-        {
-            c.next();
-            c.insertChars( data, 0, data.length() );
-        }
-
-        c.release();
-
-        return pi;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static CDATASection _document_createCDATASection ( Dom d, String data )
-    {
-        return (CDATASection) document_createCDATASection( d, data );
-    }
-    
-    public static Dom document_createCDATASection ( Dom d, String data )
-    {
-        TextNode t = d.locale().createCdataNode();
-
-        if (data == null)
-            data = "";
-
-        t._src = data;
-        t._off = 0;
-        t._cch = data.length();
-
-        return t;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Text _document_createTextNode ( Dom d, String data )
-    {
-        return (Text) document_createTextNode( d, data );
-    }
-
-    public static CharNode document_createTextNode ( Dom d, String data )
-    {
-        TextNode t = d.locale().createTextNode();
-
-        if (data == null)
-            data = "";
-
-        t._src = data;
-        t._off = 0;
-        t._cch = data.length();
-
-        return t;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static EntityReference _document_createEntityReference ( Dom d, String name )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Element _document_getElementById ( Dom d, String elementId )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static NodeList _document_getElementsByTagName ( Dom d, String name )
-    {
-        Locale l = d.locale();
-
-        NodeList nl;
-
-        if (l.noSync())         { l.enter(); try { nl = document_getElementsByTagName( d, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { nl = document_getElementsByTagName( d, name ); } finally { l.exit(); } }
-
-        return nl;
-    }
-    
-    public static NodeList document_getElementsByTagName ( Dom d, String name )
-    {
-        return new ElementsByTagNameNodeList( d, name );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static NodeList _document_getElementsByTagNameNS ( Dom d, String uri, String local )
-    {
-        Locale l = d.locale();
-
-        NodeList nl;
-
-        if (l.noSync())         { l.enter(); try { nl = document_getElementsByTagNameNS( d, uri, local ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { nl = document_getElementsByTagNameNS( d, uri, local ); } finally { l.exit(); } }
-
-        return nl;
-    }
-    
-    public static NodeList document_getElementsByTagNameNS ( Dom d, String uri, String local )
-    {
-        return new ElementsByTagNameNSNodeList( d, uri, local );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static DOMImplementation _document_getImplementation ( Dom d )
-    {
-        return (DOMImplementation) d.locale();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _document_importNode ( Dom d, Node n, boolean deep )
-    {
-        Locale l = d.locale();
-        Dom i;
-
-//        // TODO - need to wrap this in sync ..
-//        if (n instanceof Dom)
-//            i = node_cloneNode( (Dom) n, deep, m );
-//        else
-// TODO -- I'm importing my own nodes through DOM methods!  -- make this faster
-        {
-            if (l.noSync())         { l.enter(); try { i = document_importNode( d, n, deep ); } finally { l.exit(); } }
-            else synchronized ( l ) { l.enter(); try { i = document_importNode( d, n, deep ); } finally { l.exit(); } }
-        }
-
-        return (Node) i;
-    }
-
-    public static Dom document_importNode ( Dom d, Node n, boolean deep )
-    {
-        if (n == null)
-            return null;
-        
-        Dom i;
-
-        boolean copyChildren = false;
-        
-        switch ( n.getNodeType() )
-        {
-        case DOCUMENT :
-            throw new NotSupportedError( "Document nodes may not be imported" );
-
-        case DOCTYPE :
-            throw new NotSupportedError( "Document type nodes may not be imported" );
-
-        case ELEMENT :
-        {
-            String local = n.getLocalName();
-
-            if (local == null || local.length() == 0)
-                i = document_createElement( d, n.getNodeName() );
-            else
-            {
-                i = document_createElementNS( d, n.getNamespaceURI(), local );
-                
-                // TODO - unify creating element and setting prefix for perf ...
-
-                String prefix = n.getPrefix();
-                
-                if (prefix != null && prefix.length() > 0)
-                    node_setPrefix( i, prefix );
-            }
-
-            NamedNodeMap attrs = n.getAttributes();
-
-            for ( int a = 0 ; a < attrs.getLength() ; a++ )
-                attributes_setNamedItem( i, document_importNode( d, attrs.item( a ), true ) );
-
-            copyChildren = deep;
-            
-            break;
-        }
-
-        case ATTR :
-        {
-            String local = n.getLocalName();
-
-            if (local == null || local.length() == 0)
-                i = document_createAttribute( d, n.getNodeName() );
-            else
-            {
-                i = document_createAttributeNS( d, n.getNamespaceURI(), local );
-                
-                // TODO - unify creating attr and setting prefix for perf ...
-
-                String prefix = n.getPrefix();
-                
-                if (prefix != null && prefix.length() > 0)
-                    node_setPrefix( i, prefix );
-            }
-
-            copyChildren = true;
-            
-            break;
-        }
-        
-        case DOCFRAG :
-        {
-            i = document_createDocumentFragment( d );
-            
-            copyChildren = deep;
-
-            break;
-        }
-        
-        case PROCINST :
-        {
-            i = document_createProcessingInstruction( d, n.getNodeName(), n.getNodeValue() );
-            break;
-        }
-        
-        case COMMENT :
-        {
-            i = document_createComment( d, n.getNodeValue() );
-            break;
-        }
-        
-        case TEXT :
-        {
-            i = document_createTextNode( d, n.getNodeValue() );
-            break;
-        }
-        
-        case CDATA :
-        {
-            i = document_createCDATASection( d, n.getNodeValue() );
-            break;
-        }
-            
-        case ENTITYREF :
-        case ENTITY :
-        case NOTATION :
-            throw new RuntimeException( "Not impl" );
-
-        default : throw new RuntimeException( "Unknown kind" );
-        }
-
-        if (copyChildren)
-        {
-            NodeList children = n.getChildNodes();
-            
-            for ( int c = 0 ; c < children.getLength() ; c++ )
-                node_insertBefore( i, document_importNode( d, children.item( c ), true ), null);
-        }
-
-        return i;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static DocumentType _document_getDoctype ( Dom n )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    public static Dom document_getDoctype ( Dom n )
-    {
-        throw new RuntimeException( "Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Document _node_getOwnerDocument ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = node_getOwnerDocument( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = node_getOwnerDocument( n ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Dom node_getOwnerDocument ( Dom n )
-    {
-        if (n.nodeType() == DOCUMENT)
-            return null;
-        
-        Locale l = n.locale();
-
-        if (l._ownerDoc == null)
-        {
-            Cur c = l.tempCur();
-            c.createDomDocumentRoot();
-            l._ownerDoc = c.getDom();
-            c.release();
-        }
-
-        return l._ownerDoc;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_getParentNode ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom p;
-        
-        if (l.noSync())         { l.enter(); try { p = node_getParentNode( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { p = node_getParentNode( n ); } finally { l.exit(); } }
-
-        return (Node) p;
-    }
-
-    public static Dom node_getParentNode ( Dom n )
-    {
-        Cur c = null;
-
-        switch ( n.nodeType() )
-        {
-        case DOCUMENT :
-        case DOCFRAG :
-        case ATTR :
-            break;
-            
-        case PROCINST :
-        case COMMENT :
-        case ELEMENT :
-        {
-            if (!(c = n.tempCur()).toParentRaw())
-            {
-                c.release();
-                c = null;
-            }
-
-            break;
-        }
-
-        case TEXT :
-        case CDATA :
-        {
-            if ((c = n.tempCur()) != null)
-                c.toParent();
-
-            break;
-        }
-            
-        case ENTITYREF :
-            throw new RuntimeException( "Not impl" );
-            
-        case ENTITY :
-        case DOCTYPE :
-        case NOTATION :
-            throw new RuntimeException( "Not impl" );
-            
-        default : throw new RuntimeException( "Unknown kind" );
-        }
-
-        if (c == null)
-            return null;
-        
-        Dom d = c.getDom();
-        
-        c.release();
-        
-        return d;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_getFirstChild ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom fc;
-        
-        if (l.noSync())         { l.enter(); try { fc = node_getFirstChild( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { fc = node_getFirstChild( n ); } finally { l.exit(); } }
-
-        return (Node) fc;
-    }
-
-    public static Dom node_getFirstChild ( Dom n )
-    {
-        Dom fc = null;
-
-        switch ( n.nodeType() )
-        {
-        case TEXT :
-        case CDATA :
-        case PROCINST :
-        case COMMENT :
-            break;
-            
-        case ENTITYREF :
-            throw new RuntimeException( "Not impl" );
-            
-        case ENTITY :
-        case DOCTYPE :
-        case NOTATION :
-            throw new RuntimeException( "Not impl" );
-            
-        case ELEMENT :
-        case DOCUMENT :
-        case DOCFRAG :
-        case ATTR :
-        {
-            Cur c = n.tempCur();
-            
-            c.next();
-
-            if ((fc = c.getCharNodes()) == null)
-            {
-                c.moveToDom( n );
-                
-                if (c.toFirstChild())
-                    fc = c.getDom();
-            }
-
-            c.release();
-            
-            break;
-        }
-        }
-
-        // TODO - handle entity refs here ...
-
-        return fc;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_getLastChild ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom lc;
-
-        if (l.noSync())         { l.enter(); try { lc = node_getLastChild( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { lc = node_getLastChild( n ); } finally { l.exit(); } }
-
-        return (Node) lc;
-    }
-    
-    public static Dom node_getLastChild ( Dom n )
-    {
-        switch ( n.nodeType() )
-        {
-            case TEXT :
-            case CDATA :
-            case PROCINST :
-            case COMMENT :
-                return null;
-
-            case ENTITYREF :
-                throw new RuntimeException( "Not impl" );
-
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                throw new RuntimeException( "Not impl" );
-
-            case ELEMENT :
-            case DOCUMENT :
-            case DOCFRAG :
-            case ATTR :
-                break;
-        }
-        
-        Dom lc = null;
-        CharNode nodes;
-
-        Cur c = n.tempCur();
-
-        if (c.toLastChild())
-        {
-            lc = c.getDom();
-            
-            c.skip();
-
-            if ((nodes = c.getCharNodes()) != null)
-                lc = null;
-        }
-        else
-        {
-            c.next();
-            nodes = c.getCharNodes();
-        }
-
-        if (lc == null && nodes != null)
-        {
-            while ( nodes._next != null )
-                nodes = nodes._next;
-
-            lc = nodes;
-        }
-
-        c.release();
-
-        // TODO - handle entity refs here ...
-
-        return lc;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_getNextSibling ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom ns;
-
-        if (l.noSync())         { l.enter(); try { ns = node_getNextSibling( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { ns = node_getNextSibling( n ); } finally { l.exit(); } }
-
-        return (Node) ns;
-    }
-
-    public static Dom node_getNextSibling ( Dom n )
-    {
-        Dom ns = null;
-
-        switch ( n.nodeType() )
-        {
-        case DOCUMENT :
-        case DOCFRAG :
-        case ATTR :
-            break;
-            
-        case TEXT :
-        case CDATA :
-        {
-            CharNode cn = (CharNode) n;
-
-            Cur c;
-
-            if ((c = cn.tempCur()) != null)
-            {
-                if ((ns = cn._next) == null)
-                {
-                    if (c.kind() == Cur.TEXT)
-                        c.next();
-
-                    if (c.kind() > 0)
-                        ns = c.getDom();
-                }
-                
-                c.release();
-            }
-            
-            break;
-        }
-            
-        case PROCINST :
-        case COMMENT :
-        case ELEMENT :
-        {
-            Cur c = n.tempCur();
-
-            c.skip();
-
-            if ((ns = c.getCharNodes()) == null)
-            {
-                c.moveToDom( n );
-                
-                if (c.toNextSibling())
-                    ns = c.getDom();
-            }
-
-            c.release();
-
-            break;
-        }
-            
-        case ENTITY :
-        case NOTATION :
-        case ENTITYREF :
-        case DOCTYPE :
-            throw new RuntimeException( "Not implemented" );
-        }
-
-        // TODO - handle entity refs here ...
-
-        return ns;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_getPreviousSibling ( Dom n )
-    {
-        Locale l = n.locale();
-
-        Dom ps;
-
-        if (l.noSync())         { l.enter(); try { ps = node_getPreviousSibling( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { ps = node_getPreviousSibling( n ); } finally { l.exit(); } }
-
-        return (Node) ps;
-    }
-    
-    public static Dom node_getPreviousSibling ( Dom n )
-    {
-        // TODO - horribly inefficient impl .. make this O(1)
-
-        Dom p = parent( n );
-
-        if (p == null)
-            return null;
-
-        Dom c = firstChild( p );
-
-        assert c != null;
-
-        if (c == n)
-            return null;
-
-        for ( ; ; )
-        {
-            Dom ns = nextSibling( c );
-
-            if (ns == n)
-                return c;
-
-            c = ns;
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_hasAttributes ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { return node_hasAttributes( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return node_hasAttributes( n ); } finally { l.exit(); } }
-    }
-    
-    public static boolean node_hasAttributes ( Dom n )
-    {
-        boolean hasAttrs = false;
-        
-        if (n.nodeType() == ELEMENT)
-        {
-            Cur c = n.tempCur();
-            
-            if (c.toFirstAttr())
-                hasAttrs = true;
-
-            c.release();
-        }
-
-        return hasAttrs;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_isSupported ( Dom n, String feature, String version )
-    {
-        return _domImplementation_hasFeature( n.locale(), feature, version );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _node_normalize ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { node_normalize( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { node_normalize( n ); } finally { l.exit(); } }
-    }
-    
-    public static void node_normalize ( Dom n )
-    {
-        switch ( n.nodeType() )
-        {
-            case TEXT :
-            case CDATA :
-            case PROCINST :
-            case COMMENT :
-                return;
-
-            case ENTITYREF :
-                throw new RuntimeException( "Not impl" );
-
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                throw new RuntimeException( "Not impl" );
-
-            case ELEMENT :
-            case DOCUMENT :
-            case DOCFRAG :
-            case ATTR :
-                break;
-        }
-
-        Cur c = n.tempCur();
-
-        c.push();
-
-        for ( c.nextWithAttrs() ; ! c.isAtEndOfLastPush() ; c.nextWithAttrs() )
-        {
-            CharNode cn = c.getCharNodes();
-
-            if (cn != null)
-            {
-                if (!c.isText())
-                {
-                    while ( cn != null )
-                    {
-                        cn._src = null;
-                        cn._off = 0;
-                        cn._cch = 0;
-
-                        cn = CharNode.remove( cn, cn );
-                    }
-                }
-                else if (cn._next != null)
-                {
-                    while ( cn._next != null )
-                    {
-                        cn._next._src = null;
-                        cn._next._off = 0;
-                        cn._next._cch = 0;
-
-                        cn = CharNode.remove( cn, cn._next );
-                    }
-
-                    cn._cch = Integer.MAX_VALUE;
-                }
-
-                c.setCharNodes( cn );
-            }
-        }
-        
-        c.release();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_hasChildNodes ( Dom n )
-    {
-        // TODO - make this faster
-        return _node_getFirstChild( n ) != null;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_appendChild ( Dom p, Node newChild )
-    {
-        return _node_insertBefore( p, newChild, null );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_replaceChild ( Dom p, Node newChild, Node oldChild )
-    {
-        Locale l = p.locale();
-
-        if (newChild == null)
-            throw new IllegalArgumentException( "Child to add is null" );
-
-        if (oldChild == null)
-            throw new NotFoundErr( "Child to replace is null" );
-
-        Dom nc;
-
-        if (!(newChild instanceof Dom) || (nc = (Dom) newChild).locale() != l)
-            throw new WrongDocumentErr( "Child to add is from another document" );
-
-        Dom oc = null;
-
-        if (!(oldChild instanceof Dom) || (oc = (Dom) oldChild).locale() != l)
-            throw new WrongDocumentErr( "Child to replace is from another document" );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = node_replaceChild( p, nc, oc ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = node_replaceChild( p, nc, oc ); } finally { l.exit(); } }
-
-        return (Node) d;
-        
-    }
-    
-    public static Dom node_replaceChild ( Dom p, Dom newChild, Dom oldChild )
-    {
-        // Remove the old child firest to avoid a dom exception raised
-        // when inserting two document elements
-        
-        Dom nextNode = node_getNextSibling( oldChild );
-        
-        node_removeChild( p, oldChild );
-
-        try
-        {
-            node_insertBefore( p, newChild, nextNode );
-        }
-        catch ( DOMException e )
-        {
-            node_insertBefore( p, oldChild, nextNode );
-
-            throw e;
-        }
-
-        return oldChild;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_insertBefore ( Dom p, Node newChild, Node refChild )
-    {
-        Locale l = p.locale();
-
-        if (newChild == null)
-            throw new IllegalArgumentException( "Child to add is null" );
-
-        Dom nc;
-        
-        if (!(newChild instanceof Dom) || (nc = (Dom) newChild).locale() != l)
-            throw new WrongDocumentErr( "Child to add is from another document" );
-
-        Dom rc = null;
-
-        if (refChild != null)
-        {
-            if (!(refChild instanceof Dom) || (rc = (Dom) refChild).locale() != l)
-                throw new WrongDocumentErr( "Reference child is from another document" );
-        }
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = node_insertBefore( p, nc, rc ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = node_insertBefore( p, nc, rc ); } finally { l.exit(); } }
-
-        return (Node) d;
-    }
-
-    public static Dom node_insertBefore ( Dom p, Dom nc, Dom rc )
-    {
-        assert nc != null;
-
-        if (rc != null && parent( rc ) != p)
-            throw new NotFoundErr( "RefChild is not a child of this node" );
-
-        // TODO - obey readonly status of a substree
-
-        int nck = nc.nodeType();
-
-        if (nck == DOCFRAG)
-        {
-            for ( Dom c = firstChild( nc ) ; c != null ; c = nextSibling( c ) )
-                validateNewChild( p, c );
-
-            for ( Dom c = firstChild( nc ) ; c != null ;  )
-            {
-                Dom n = nextSibling( c );
-
-                if (rc == null)
-                    append( c, p );
-                else
-                    insert( c, rc );
-                
-                c = n;
-            }
-            
-            return nc;
-        }
-
-        //
-        // Make sure the new child is allowed here
-        //
-
-        validateNewChild( p, nc );
-
-        //
-        // Orphan the child before establishing a new parent
-        //
-
-        remove( nc );
-        
-        int pk = p.nodeType();
-
-        // Only these nodes can be modifiable parents
-        assert pk == ATTR || pk == DOCFRAG || pk == DOCUMENT || pk == ELEMENT;
-
-        switch ( nck )
-        {
-        case ELEMENT :
-        case COMMENT :
-        case PROCINST :
-        {
-            if (rc == null)
-            {
-                Cur cTo = p.tempCur();
-                cTo.toEnd();
-                Cur cFrom = nc.tempCur();
-                cFrom.moveNode( cTo );
-                cFrom.release();
-                cTo.release();
-            }
-            else
-            {
-                int rck = rc.nodeType();
-
-                if (rck == TEXT || rck == CDATA)
-                {
-                    // Quick and dirty impl....
-                    
-                    ArrayList charNodes = new ArrayList();
-                    
-                    while ( rc != null && (rc.nodeType() == TEXT || rc.nodeType() == CDATA ) )
-                    {
-                        Dom next = nextSibling( rc );
-                        charNodes.add( remove( rc ) );
-                        rc = next;
-                    }
-
-                    if (rc == null)
-                        append( nc, p );
-                    else
-                        insert( nc, rc );
-
-                    rc = nextSibling( nc );
-
-                    for ( int i = 0 ; i < charNodes.size() ; i++ )
-                    {
-                        Dom n = (Dom) charNodes.get( i );
-
-                        if (rc == null)
-                            append( n, p );
-                        else
-                            insert( n, rc );
-                    }
-                }
-                else if (rck == ENTITYREF)
-                {
-                    throw new RuntimeException( "Not implemented" );
-                }
-                else
-                {
-                    assert rck == ELEMENT || rck == PROCINST || rck == COMMENT;
-                    Cur cFrom = nc.tempCur();
-                    Cur cTo = rc.tempCur();
-                    cFrom.moveNode( cTo );
-                    cFrom.release();
-                    cTo.release();
-                }
-            }
-
-            break;
-        }
-        
-        case TEXT :
-        case CDATA :
-        {
-            CharNode n = (CharNode) nc;
-
-            assert n._prev == null && n._next == null;
-
-            CharNode refCharNode = null;
-            Cur c = p.tempCur();
-            
-            if (rc == null)
-                c.toEnd();
-            else
-            {
-                int rck = rc.nodeType();
-                
-                if (rck == TEXT || rck == CDATA)
-                    c.moveToCharNode( refCharNode = (CharNode) rc );
-                else if (rck == ENTITYREF)
-                    throw new RuntimeException( "Not implemented" );
-                else
-                    c.moveToDom( rc );
-            }
-
-            CharNode nodes = c.getCharNodes();
-
-            nodes = CharNode.insertNode( nodes, n, refCharNode );
-
-            c.insertChars( n._src, n._off, n._cch );
-
-            c.setCharNodes( nodes );
-
-            c.release();
-
-            break;
-        }
-
-        case ENTITYREF :
-        {
-            throw new RuntimeException( "Not implemented" );
-        }
-            
-        case DOCTYPE :
-        {
-            // TODO - don't actually insert this here, associate it with the
-            // doc??  Hmm .. Perhaps I should disallow insertion into the tree
-            // at all.
-            
-            throw new RuntimeException( "Not implemented" );
-        }
-            
-        default : throw new RuntimeException( "Unexpected child node type" );
-        }
-        
-        return nc;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_removeChild ( Dom p, Node child )
-    {
-        Locale l = p.locale();
-
-        if (child == null)
-            throw new NotFoundErr( "Child to remove is null" );
-
-        Dom c;
-        
-        if (!(child instanceof Dom) || (c = (Dom) child).locale() != l)
-            throw new WrongDocumentErr( "Child to remove is from another document" );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = node_removeChild( p, c ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = node_removeChild( p, c ); } finally { l.exit(); } }
-
-        return (Node) d;
-    }
-
-    public static Dom node_removeChild ( Dom parent, Dom child )
-    {
-        if (parent( child ) != parent)
-            throw new NotFoundErr( "Child to remove is not a child of given parent" );
-        
-        switch ( child.nodeType() )
-        {
-        case DOCUMENT :
-        case DOCFRAG :
-        case ATTR :
-            throw new IllegalStateException();
-            
-        case ELEMENT :
-        case PROCINST :
-        case COMMENT :
-            removeNode( child );
-            break;
-
-        case TEXT :
-        case CDATA :
-        {
-            Cur c = child.tempCur();
-            
-            CharNode nodes = c.getCharNodes();
-
-            CharNode cn = (CharNode) child;
-
-            assert cn._src instanceof Dom;
-
-            cn._src = c.moveChars( null, cn._cch );
-            cn._off = c._offSrc;
-            cn._cch = c._cchSrc;
-            
-            c.setCharNodes( CharNode.remove( nodes, cn ) );
-
-            c.release();
-
-            break;
-        }
-            
-        case ENTITYREF :
-            throw new RuntimeException( "Not impl" );
-            
-        case ENTITY :
-        case DOCTYPE :
-        case NOTATION :
-            throw new RuntimeException( "Not impl" );
-            
-        default : throw new RuntimeException( "Unknown kind" );
-        }
-
-        return child;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _node_cloneNode ( Dom n, boolean deep )
-    {
-        Locale l = n.locale();
-
-        Dom c;
-
-        if (l.noSync())         { l.enter(); try { c = node_cloneNode( n, deep ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { c = node_cloneNode( n, deep ); } finally { l.exit(); } }
-
-        return (Node) c;
-    }
-    
-    public static Dom node_cloneNode ( Dom n, boolean deep )
-    {
-        Locale l = n.locale();
-        
-        Dom clone = null;
-        
-        if (!deep)
-        {
-            Cur shallow = null;
-            
-            switch ( n.nodeType() )
-            {
-            case DOCUMENT :
-                shallow = l.tempCur();
-                shallow.createDomDocumentRoot();
-                break;
-                
-            case DOCFRAG :
-                shallow = l.tempCur();
-                shallow.createDomDocFragRoot();
-                break;
-                
-            case ELEMENT :
-            {
-                shallow = l.tempCur();
-                shallow.createElement( n.getQName() );
-
-                Element elem = (Element) shallow.getDom();
-                NamedNodeMap attrs = ((Element) n).getAttributes();
-                
-                for ( int i = 0 ; i < attrs.getLength() ; i++ )
-                    elem.setAttributeNodeNS( (Attr) attrs.item( i ).cloneNode( true ) );
-                
-                break;
-            }
-                
-            case ATTR :
-                shallow = l.tempCur();
-                shallow.createAttr( n.getQName() );
-                break;
-
-            case PROCINST :
-            case COMMENT :
-            case TEXT :
-            case CDATA :
-            case ENTITYREF :
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                break;
-            }
-
-            if (shallow != null)
-            {
-                clone = shallow.getDom();
-                shallow.release();
-            }
-        }
-
-        if (clone == null)
-        {
-            switch ( n.nodeType() )
-            {
-            case DOCUMENT :
-            case DOCFRAG :
-            case ATTR :
-            case ELEMENT :
-            case PROCINST :
-            case COMMENT :
-            {
-                Cur cClone = l.tempCur();
-                Cur cSrc = n.tempCur();
-                cSrc.copyNode( cClone );
-                clone = cClone.getDom();
-                cClone.release();
-                cSrc.release();
-
-                break;
-            }
-
-            case TEXT :
-            case CDATA :
-            {
-                Cur c = n.tempCur();
-
-                CharNode cn = n.nodeType() == TEXT ? l.createTextNode() : l.createCdataNode();
-
-                cn._src = c.getChars( ((CharNode) n)._cch );
-                cn._off = c._offSrc;
-                cn._cch = c._cchSrc;
-
-                clone = cn;
-
-                c.release();
-
-                break;
-            }
-
-            case ENTITYREF :
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                throw new RuntimeException( "Not impl" );
-
-            default : throw new RuntimeException( "Unknown kind" );
-            }
-        }
-
-        return clone;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getLocalName ( Dom n )
-    {
-        QName name = n.getQName();
-        return name == null ? "" : name.getLocalPart();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getNamespaceURI ( Dom n )
-    {
-        QName name = n.getQName();
-        // TODO - should return the correct namespace for xmlns ...
-        return name == null ? "" : name.getNamespaceURI();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _node_setPrefix ( Dom n, String prefix )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { node_setPrefix( n, prefix ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { node_setPrefix( n, prefix ); } finally { l.exit(); } }
-    }
-    
-    public static void node_setPrefix ( Dom n, String prefix )
-    {
-        // TODO - make it possible to set the prefix of an xmlns
-        // TODO - test to make use prefix: xml maps to the predefined namespace
-        // if set???? hmmm ... perhaps I should not allow the setting of any
-        // prefixes which start with xml unless the namespace is the predefined
-        // one and the prefix is 'xml' all other prefixes which start with
-        // 'xml' should fail.
-
-        if (n.nodeType() == ELEMENT || n.nodeType() == ATTR)
-        {
-            Cur c = n.tempCur();
-            QName name = c.getName();
-            String uri = name.getNamespaceURI();
-            String local = name.getLocalPart();
-            
-            prefix = validatePrefix( prefix, uri, local, n.nodeType() == ATTR );
-                                  
-            c.setName( n.locale().makeQName( uri, local, prefix ) );
-            
-            c.release();
-        }
-        else
-            validatePrefix( prefix, "", "", false );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getPrefix ( Dom n )
-    {
-        QName name = n.getQName();
-        return name == null ? "" : name.getPrefix();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getNodeName ( Dom n )
-    {
-        switch ( n.nodeType() )
-        {
-        case CDATA     : return "#cdata-section";
-        case COMMENT   : return "#comment";
-        case DOCFRAG   : return "#document-fragment";
-        case DOCUMENT  : return "#document";
-        case PROCINST  : return n.getQName().getLocalPart();
-        case TEXT      : return "#text";
-                         
-        case ATTR      :
-        case ELEMENT   :
-        {
-            QName name = n.getQName();
-            String prefix = name.getPrefix();
-            return prefix.length() == 0 ? name.getLocalPart() : prefix + ":" + name.getLocalPart();
-        }
-
-        case DOCTYPE   :
-        case ENTITY    :
-        case ENTITYREF :
-        case NOTATION  :
-            throw new RuntimeException( "Not impl" );
-                                           
-        default : throw new RuntimeException( "Unknown node type" );
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static short _node_getNodeType ( Dom n )
-    {
-        return (short) n.nodeType();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _node_setNodeValue ( Dom n, String nodeValue )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { node_setNodeValue( n, nodeValue ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { node_setNodeValue( n, nodeValue ); } finally { l.exit(); } }
-    }
-    
-    public static void node_setNodeValue ( Dom n, String nodeValue )
-    {
-        if (nodeValue == null)
-            nodeValue = "";
-        
-        switch ( n.nodeType() )
-        {
-            case TEXT :
-            case CDATA :
-            {
-                CharNode cn = (CharNode) n;
-
-                Cur c;
-
-                if ((c = cn.tempCur()) != null)
-                {
-                    c.moveChars( null, cn._cch );
-                    c.insertChars( nodeValue, 0, cn._cch = nodeValue.length() );
-                    c.release();
-                }
-                else
-                {
-                    cn._src = nodeValue;
-                    cn._off = 0;
-                    cn._cch = nodeValue.length();
-                }
-
-                break;
-            }
-                
-            case ATTR :
-            {
-                // Try to set an exisiting text node to contain the new value
-                
-                NodeList children = ((Node) n).getChildNodes();
-
-                while ( children.getLength() > 1 )
-                    node_removeChild( n, (Dom) children.item( 1 ) );
-                
-                if (children.getLength() == 0)
-                {
-                    TextNode tn = n.locale().createTextNode();
-                    tn._src = nodeValue;
-                    tn._off = 0;
-                    tn._cch = nodeValue.length();
-                    
-                    node_insertBefore( n, tn, null );
-                }
-                else
-                {
-                    assert children.getLength() == 1;
-                    children.item( 0 ).setNodeValue( nodeValue );
-                }
-
-                break;
-            }
-            
-            case PROCINST :
-            case COMMENT :
-            {
-                Cur c = n.tempCur();
-                c.next();
-                
-                c.getChars( -1 );
-                c.moveChars( null, c._cchSrc );
-                c.insertChars( nodeValue, 0, nodeValue.length() );
-                
-                c.release();
-
-                break;
-            }
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getNodeValue ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { return node_getNodeValue( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return node_getNodeValue( n ); } finally { l.exit(); } }
-    }
-
-    public static String node_getNodeValue ( Dom n )
-    {
-        String s = null;
-        
-        switch ( n.nodeType() )
-        {
-        case ATTR :
-        case PROCINST :
-        case COMMENT :
-        {
-            Cur c = n.tempCur();
-            s = c.getValueAsString();
-            c.release();
-
-            break;
-        }
-            
-        case TEXT :
-        case CDATA :
-        {
-            CharNode node = (CharNode) n;
-
-            Cur c;
-
-            if ((c = node.tempCur()) == null)
-                s = CharUtil.getString( node._src, node._off, node._cch );
-            else
-            {
-                s = c.getString( node._cch );
-                c.release();
-            }
-
-            break;
-        }
-        }
-        
-        return s;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Object _node_getUserData ( Dom n, String key )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Object _node_setUserData ( Dom n, String key, Object data, UserDataHandler handler )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Object _node_getFeature ( Dom n, String feature, String version )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_isEqualNode ( Dom n, Node arg )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_isSameNode ( Dom n, Node arg )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_lookupNamespaceURI ( Dom n, String prefix )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _node_isDefaultNamespace ( Dom n, String namespaceURI )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_lookupPrefix ( Dom n, String namespaceURI )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _node_setTextContent ( Dom n, String textContent )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getTextContent ( Dom n )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static short _node_compareDocumentPosition ( Dom n, Node other )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _node_getBaseURI ( Dom n )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _childNodes_item ( Dom n, int i )
-    {
-        Locale l = n.locale();
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = childNodes_item( n, i ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = childNodes_item( n, i ); } finally { l.exit(); } }
-
-        return (Node) d;
-    }
-    
-    public static Dom childNodes_item ( Dom n, int i )
-    {
-        if (i < 0)
-            return null;
-        
-        switch ( n.nodeType() )
-        {
-            case TEXT :
-            case CDATA :
-            case PROCINST :
-            case COMMENT :
-                return null;
-
-            case ENTITYREF :
-                throw new RuntimeException( "Not impl" );
-
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                throw new RuntimeException( "Not impl" );
-
-            case ELEMENT :
-            case DOCUMENT :
-            case DOCFRAG :
-            case ATTR :
-                break;
-        }
-
-        // TODO - make a couple of caches in master which can cache the
-        // last child for a given index for a given node.  Need to so
-        // one may iterate efficiently over to lists
-
-        // *Really* inefficient impl for now
-
-        for ( Dom c = node_getFirstChild( n ) ; c != null ; c = node_getNextSibling( c ) )
-            if (i-- == 0)
-                return c;
-
-        return null;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static int _childNodes_getLength ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { return childNodes_getLength( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return childNodes_getLength( n ); } finally { l.exit(); } }
-    }
-    
-    public static int childNodes_getLength ( Dom n )
-    {
-        switch ( n.nodeType() )
-        {
-            case TEXT :
-            case CDATA :
-            case PROCINST :
-            case COMMENT :
-                return 0;
-
-            case ENTITYREF :
-                throw new RuntimeException( "Not impl" );
-
-            case ENTITY :
-            case DOCTYPE :
-            case NOTATION :
-                throw new RuntimeException( "Not impl" );
-
-            case ELEMENT :
-            case DOCUMENT :
-            case DOCFRAG :
-            case ATTR :
-                break;
-        }
-
-        // TODO - make a couple of caches in master which can cache the
-        // last child for a given index for a given node.  Need to so
-        // one may iterate efficiently over to lists
-
-        // *Really* inefficient impl for now
-
-        int len = 0;
-
-        for ( Dom c = node_getFirstChild( n ) ; c != null ; c = node_getNextSibling( c ) )
-            len++;
-
-        return len;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _element_getTagName ( Dom e )
-    {
-        return _node_getNodeName( e );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _element_getAttributeNode ( Dom e, String name )
-    {
-        return (Attr) _attributes_getNamedItem( e, name );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _element_getAttributeNodeNS ( Dom e, String uri, String local )
-    {
-        return (Attr) _attributes_getNamedItemNS( e, uri, local );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _element_setAttributeNode ( Dom e, Attr newAttr )
-    {
-        return (Attr) _attributes_setNamedItem( e, newAttr );
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _element_setAttributeNodeNS ( Dom e, Attr newAttr )
-    {
-        return (Attr) _attributes_setNamedItemNS( e, newAttr );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _element_getAttribute ( Dom e, String name )
-    {
-        Node a = _attributes_getNamedItem( e, name );
-        return a == null ? "" : a.getNodeValue();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _element_getAttributeNS ( Dom e, String uri, String local )
-    {
-        Node a = _attributes_getNamedItemNS( e, uri, local );
-        return a == null ? "" : a.getNodeValue();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _element_hasAttribute ( Dom e, String name )
-    {
-        return _attributes_getNamedItem( e, name ) != null;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _element_hasAttributeNS ( Dom e, String uri, String local )
-    {
-        return _attributes_getNamedItemNS( e, uri, local ) != null;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _element_removeAttribute ( Dom e, String name )
-    {
-        try
-        {
-            _attributes_removeNamedItem( e, name );
-        }
-        catch ( NotFoundErr ex )
-        {
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _element_removeAttributeNS ( Dom e, String uri, String local )
-    {
-        try
-        {
-            _attributes_removeNamedItemNS( e, uri, local );
-        }
-        catch ( NotFoundErr ex )
-        {
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Attr _element_removeAttributeNode ( Dom e, Attr oldAttr )
-    {
-        if (oldAttr == null)
-            throw new NotFoundErr( "Attribute to remove is null" );
-        
-        if (oldAttr.getOwnerElement() != e)
-            throw new NotFoundErr( "Attribute to remove does not belong to this element" );
-
-        return (Attr) _attributes_removeNamedItem( e, oldAttr.getNodeName() );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _element_setAttribute ( Dom e, String name, String value )
-    {
-        // TODO - validate all attr/element names in all apprpraite
-        // methdos
-
-        Locale l = e.locale();
-
-        if (l.noSync())         { l.enter(); try { element_setAttribute( e, name, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { element_setAttribute( e, name, value ); } finally { l.exit(); } }
-    }
-    
-    public static void element_setAttribute ( Dom e, String name, String value )
-    {
-        Dom a = attributes_getNamedItem( e, name );
-
-        if (a == null)
-        {
-            a = document_createAttribute( node_getOwnerDocument( e ), name );
-            attributes_setNamedItem( e, a );
-        }
-        
-        node_setNodeValue( a, value );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _element_setAttributeNS ( Dom e, String uri, String qName, String value )
-    {
-        Locale l = e.locale();
-
-        if (l.noSync())         { l.enter(); try { element_setAttributeNS( e, uri, qName, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { element_setAttributeNS( e, uri, qName, value ); } finally { l.exit(); } }
-    }
-    
-    public static void element_setAttributeNS ( Dom e, String uri, String qName, String value )
-    {
-        QName name = e.locale().makeQualifiedQName( uri, qName );
-        String local = name.getLocalPart();
-        String prefix = validatePrefix( name.getPrefix(), uri, local, true );
-
-        Dom a = attributes_getNamedItemNS( e, uri, local );
-
-        if (a == null)
-        {
-            a = document_createAttributeNS( node_getOwnerDocument( e ), uri, local );
-            attributes_setNamedItemNS( e, a );
-        }
-
-        node_setPrefix( a, prefix );
-        node_setNodeValue( a, value );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static NodeList _element_getElementsByTagName ( Dom e, String name )
-    {
-        Locale l = e.locale();
-
-        NodeList nl;
-
-        if (l.noSync())         { l.enter(); try { nl = element_getElementsByTagName( e, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { nl = element_getElementsByTagName( e, name ); } finally { l.exit(); } }
-
-        return nl;
-
-    }
-    public static NodeList element_getElementsByTagName ( Dom e, String name )
-    {
-        return new ElementsByTagNameNodeList( e, name );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static NodeList _element_getElementsByTagNameNS ( Dom e, String uri, String local )
-    {
-        Locale l = e.locale();
-
-        NodeList nl;
-
-        if (l.noSync())         { l.enter(); try { nl = element_getElementsByTagNameNS( e, uri, local ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { nl = element_getElementsByTagNameNS( e, uri, local ); } finally { l.exit(); } }
-
-        return nl;
-    }
-    
-    public static NodeList element_getElementsByTagNameNS ( Dom e, String uri, String local )
-    {
-        return new ElementsByTagNameNSNodeList( e, uri, local );
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static int _attributes_getLength ( Dom e )
-    {
-        Locale l = e.locale();
-
-        if (l.noSync())         { l.enter(); try { return attributes_getLength( e ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return attributes_getLength( e ); } finally { l.exit(); } }
-    }
-    
-    public static int attributes_getLength ( Dom e )
-    {
-        Cur c = e.tempCur();
-
-        int n = 0;
-
-        if (c.toFirstAttr())
-        {
-            for ( ; ; )
-            {
-                n++;
-                
-                if (!c.toNextSibling())
-                    break;
-            }
-        }
-
-        c.release();
-
-        return n;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_setNamedItem ( Dom e, Node attr )
-    {
-        Locale l = e.locale();
-
-        if (attr == null)
-            throw new IllegalArgumentException( "Attr to set is null" );
-
-        Dom a;
-        
-        if (!(attr instanceof Dom) || (a = (Dom) attr).locale() != l)
-            throw new WrongDocumentErr( "Attr to set is from another document" );
-        
-        Dom oldA;
-
-        if (l.noSync())         { l.enter(); try { oldA = attributes_setNamedItem( e, a ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { oldA = attributes_setNamedItem( e, a ); } finally { l.exit(); } }
-
-        return (Node) oldA;
-    }
-    
-    public static Dom attributes_setNamedItem ( Dom e, Dom a )
-    {
-        if (attr_getOwnerElement( a ) != null)
-            throw new InuseAttributeError();
-
-        if (a.nodeType() != ATTR)
-            throw new HierarchyRequestErr( "Node is not an attribute" );
-
-        String name = _node_getNodeName( a );
-        Dom oldAttr = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            while ( c.isAttr() )
-            {
-                Dom aa = c.getDom();
-
-                boolean hasNext = c.toNextSibling();
-                
-                if (_node_getNodeName( aa ).equals( name ))
-                {
-                    if (oldAttr == null)
-                        oldAttr = aa;
-                    else
-                        removeNode( aa );
-                }
-
-                if (!hasNext)
-                    break;
-            }
-        }
-
-        Cur ac = a.tempCur();
-
-        if (oldAttr == null)
-        {
-            c.moveToDom( e );
-            
-            if (!c.toFirstChild())
-                c.toEnd();
-
-            ac.moveNode( c );
-        }
-        else
-        {
-            c.moveToDom( oldAttr );
-            ac.moveNode( c );
-            removeNode( oldAttr );
-        }
-
-        c.release();
-        ac.release();
-        
-        return oldAttr;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_getNamedItem ( Dom e, String name )
-    {
-        Locale l = e.locale();
-
-        Dom n;
-
-        if (l.noSync())         { l.enter(); try { n = attributes_getNamedItem( e, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { n = attributes_getNamedItem( e, name ); } finally { l.exit(); } }
-
-        return (Node) n;
-    }
-    
-    public static Dom attributes_getNamedItem ( Dom e, String name )
-    {
-        Dom a = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            for ( ; ; )
-            {
-                Dom d = c.getDom();
-                
-                if (_node_getNodeName( d ).equals( name ))
-                {
-                    a = d;
-                    break;
-                }
-                
-                if (!c.toNextSibling())
-                    break;
-            }
-        }
-
-        c.release();
-
-        return a;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_getNamedItemNS ( Dom e, String uri, String local )
-    {
-        Locale l = e.locale();
-
-        Dom n;
-
-        if (l.noSync())         { l.enter(); try { n = attributes_getNamedItemNS( e, uri, local ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { n = attributes_getNamedItemNS( e, uri, local ); } finally { l.exit(); } }
-
-        return (Node) n;
-    }
-    
-    public static Dom attributes_getNamedItemNS ( Dom e, String uri, String local )
-    {
-        if (uri == null)
-            uri = "";
-        
-        Dom a = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            for ( ; ; )
-            {
-                Dom d = c.getDom();
-
-                QName n = d.getQName();
-
-                if (n.getNamespaceURI().equals( uri ) && n.getLocalPart().equals( local ))
-                {
-                    a = d;
-                    break;
-                }
-
-                if (!c.toNextSibling())
-                    break;
-            }
-        }
-
-        c.release();
-
-        return a;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_removeNamedItem ( Dom e, String name )
-    {
-        Locale l = e.locale();
-
-        Dom n;
-
-        if (l.noSync())         { l.enter(); try { n = attributes_removeNamedItem( e, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { n = attributes_removeNamedItem( e, name ); } finally { l.exit(); } }
-
-        return (Node) n;
-    }
-    
-    public static Dom attributes_removeNamedItem ( Dom e, String name )
-    {
-        Dom oldAttr = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            while ( c.isAttr() )
-            {
-                Dom aa = c.getDom();
-
-                boolean hasNext = c.toNextSibling();
-
-                if (_node_getNodeName( aa ).equals( name ))
-                {
-                    if (oldAttr == null)
-                        oldAttr = aa;
-                    
-                    removeNode( aa );
-                }
-
-                if (!hasNext)
-                    break;
-            }
-        }
-        
-        c.release();
-
-        if (oldAttr == null)
-            throw new NotFoundErr( "Named item not found: " + name );
-
-        return oldAttr;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_removeNamedItemNS ( Dom e, String uri, String local )
-    {
-        Locale l = e.locale();
-
-        Dom n;
-
-        if (l.noSync())         { l.enter(); try { n = attributes_removeNamedItemNS( e, uri, local ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { n = attributes_removeNamedItemNS( e, uri, local ); } finally { l.exit(); } }
-
-        return (Node) n;
-    }
-    
-    public static Dom attributes_removeNamedItemNS ( Dom e, String uri, String local )
-    {
-        if (uri == null)
-            uri = "";
-        
-        Dom oldAttr = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            while ( c.isAttr() )
-            {
-                Dom aa = c.getDom();
-
-                boolean hasNext = c.toNextSibling();
-
-                QName qn = aa.getQName();
-
-                if (qn.getNamespaceURI().equals( uri ) && qn.getLocalPart().equals( local ))
-                {
-                    if (oldAttr == null)
-                        oldAttr = aa;
-                    
-                    removeNode( aa );
-                }
-
-                if (!hasNext)
-                    break;
-            }
-        }
-
-        c.release();
-
-        if (oldAttr == null)
-            throw new NotFoundErr( "Named item not found: uri=" + uri + ", local=" + local );
-
-        return oldAttr;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_setNamedItemNS ( Dom e, Node attr )
-    {
-        Locale l = e.locale();
-
-        if (attr == null)
-            throw new IllegalArgumentException( "Attr to set is null" );
-
-        Dom a;
-
-        if (!(attr instanceof Dom) || (a = (Dom) attr).locale() != l)
-            throw new WrongDocumentErr( "Attr to set is from another document" );
-
-        Dom oldA;
-
-        if (l.noSync())         { l.enter(); try { oldA = attributes_setNamedItemNS( e, a ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { oldA = attributes_setNamedItemNS( e, a ); } finally { l.exit(); } }
-
-        return (Node) oldA;
-    }
-    
-    public static Dom attributes_setNamedItemNS ( Dom e, Dom a )
-    {
-        Dom owner = attr_getOwnerElement( a );
-
-        if (owner == e)
-            return a;
-        
-        if (owner != null)
-            throw new InuseAttributeError();
-
-        if (a.nodeType() != ATTR)
-            throw new HierarchyRequestErr( "Node is not an attribute" );
-
-        QName name = a.getQName();
-        Dom oldAttr = null;
-
-        Cur c = e.tempCur();
-
-        if (c.toFirstAttr())
-        {
-            while ( c.isAttr() )
-            {
-                Dom aa = c.getDom();
-
-                boolean hasNext = c.toNextSibling();
-
-                if (aa.getQName().equals( name ))
-                {
-                    if (oldAttr == null)
-                        oldAttr = aa;
-                    else
-                        removeNode( aa );
-                }
-
-                if (!hasNext)
-                    break;
-            }
-        }
-
-        Cur ac = a.tempCur();
-
-        if (oldAttr == null)
-        {
-            c.moveToDom( e );
-            c.next();
-            ac.moveNode( c );
-        }
-        else
-        {
-            c.moveToDom( oldAttr );
-            ac.moveNode( c );
-            removeNode( oldAttr );
-        }
-
-        c.release();
-        ac.release();
-
-        return oldAttr;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Node _attributes_item ( Dom e, int index )
-    {
-        Locale l = e.locale();
-
-        Dom a;
-        
-        if (l.noSync())         { l.enter(); try { a = attributes_item( e, index ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { a = attributes_item( e, index ); } finally { l.exit(); } }
-
-        return (Node) a;
-    }
-    
-    public static Dom attributes_item ( Dom e, int index )
-    {
-        if (index < 0)
-            return null;
-        
-        Cur c = e.tempCur();
-
-        Dom a = null;
-
-        if (c.toFirstAttr())
-        {
-            for ( ; ; )
-            {
-                if (index-- == 0)
-                {
-                    a = c.getDom();
-                    break;
-                }
-
-                if (!c.toNextSibling())
-                    break;
-            }
-        }
-
-        c.release();
-
-        return a;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _processingInstruction_getData ( Dom p )
-    {
-        return _node_getNodeValue( p );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _processingInstruction_getTarget ( Dom p )
-    {
-        return _node_getNodeName( p );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _processingInstruction_setData ( Dom p, String data )
-    {
-        _node_setNodeValue( p, data );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static boolean _attr_getSpecified ( Dom a )
-    {
-        // Can't tell the difference
-        return true;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Element _attr_getOwnerElement ( Dom a )
-    {
-        Locale l = a.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = attr_getOwnerElement( a ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = attr_getOwnerElement( a ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-
-    public static Dom attr_getOwnerElement ( Dom n )
-    {
-        Cur c = n.tempCur();
-
-        if (!c.toParentRaw())
-            return null;
-
-        Dom p = c.getDom();
-
-        c.release();
-
-        return p;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _characterData_appendData ( Dom cd, String arg )
-    {
-        // TODO - fix this *really* cheesy/bad/lousy perf impl
-        //        also fix all the funcitons which follow
-
-        if (arg != null && arg.length() != 0)
-            _node_setNodeValue( cd, _node_getNodeValue( cd ) + arg );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _characterData_deleteData ( Dom c, int offset, int count )
-    {
-        String s = _characterData_getData( c );
-
-        if (offset < 0 || offset > s.length() || count < 0)
-            throw new IndexSizeError();
-
-        if (offset + count > s.length())
-            count = s.length() - offset;
-
-        if (count > 0)
-            _characterData_setData( c, s.substring( 0, offset ) + s.substring( offset + count ) );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _characterData_getData ( Dom c )
-    {
-        return _node_getNodeValue( c );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static int _characterData_getLength ( Dom c )
-    {
-        return _characterData_getData( c ).length();
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _characterData_insertData ( Dom c, int offset, String arg )
-    {
-        String s = _characterData_getData( c );
-        
-        if (offset < 0 || offset > s.length())
-            throw new IndexSizeError();
-
-        if (arg != null && arg.length() > 0)
-            _characterData_setData( c, s.substring( 0, offset ) + arg + s.substring( offset ) );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _characterData_replaceData ( Dom c, int offset, int count, String arg )
-    {
-        String s = _characterData_getData( c );
-
-        if (offset < 0 || offset > s.length() || count < 0)
-            throw new IndexSizeError();
-
-        if (offset + count > s.length())
-            count = s.length() - offset;
-
-        if (count > 0)
-        {
-            _characterData_setData(
-                c, s.substring( 0, offset ) + (arg == null ? "" : arg)
-                    + s.substring( offset + count ) );
-        }
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static void _characterData_setData ( Dom c, String data )
-    {
-        _node_setNodeValue( c, data );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static String _characterData_substringData ( Dom c, int offset, int count )
-    {
-        String s = _characterData_getData( c );
-
-        if (offset < 0 || offset > s.length() || count < 0)
-            throw new IndexSizeError();
-
-        if (offset + count > s.length())
-            count = s.length() - offset;
-
-        return s.substring( offset, offset + count );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static Text _text_splitText ( Dom t, int offset )
-    {
-        assert t.nodeType() == TEXT;
-        
-        String s = _characterData_getData( t );
-
-        if (offset < 0 || offset > s.length())
-            throw new IndexSizeError();
-
-        _characterData_deleteData( t, offset, s.length() - offset );
-
-        // Don't need to pass a doc here, any node will do..
-        
-        Dom t2 = (Dom) _document_createTextNode( t, s.substring( offset ) );
-
-        Dom p = (Dom) _node_getParentNode( t );
-
-        if (p != null)
-            _node_insertBefore( p, (Text) t2, _node_getNextSibling( t ) );
-
-        return (Text) t2;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    
-    public static String _text_getWholeText ( Dom t )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    
-    public static boolean _text_isElementContentWhitespace ( Dom t )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    
-    public static Text _text_replaceWholeText ( Dom t, String content )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    
-    public static XMLStreamReader _getXmlStreamReader ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { return getXmlStreamReader( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return getXmlStreamReader( n ); } finally { l.exit(); } }
-    }
-    
-    public static XMLStreamReader getXmlStreamReader ( Dom n )
-    {
-        XMLStreamReader xs;
-        
-        switch ( n.nodeType() )
-        {
-        case DOCUMENT :
-        case DOCFRAG :
-        case ATTR :
-        case ELEMENT :
-        case PROCINST :
-        case COMMENT :
-        {
-            Cur c = n.tempCur();
-            xs = Jsr173.newXmlStreamReader( c, null );
-            c.release();
-            break;
-        }
-            
-        case TEXT :
-        case CDATA :
-        {
-            CharNode cn = (CharNode) n;
-
-            Cur c;
-
-            if ((c = cn.tempCur()) == null)
-            {
-                c = n.locale().tempCur();
-                
-                xs = Jsr173.newXmlStreamReader( c, cn._src, cn._off, cn._cch );
-            }
-            else
-            {
-                xs =
-                    Jsr173.newXmlStreamReader(
-                        c , c.getChars( cn._cch ), c._offSrc, c._cchSrc );
-                
-            }
-
-            c.release();
-            
-            break;
-        }
-            
-        case ENTITYREF :
-        case ENTITY :
-        case DOCTYPE :
-        case NOTATION :
-            throw new RuntimeException( "Not impl" );
-            
-        default : throw new RuntimeException( "Unknown kind" );
-        }
-
-        return xs;
-    }
-    
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    public static XmlCursor _getXmlCursor ( Dom n )
-    {
-        Locale l = n.locale();
-
-        if (l.noSync())         { l.enter(); try { return getXmlCursor( n ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return getXmlCursor( n ); } finally { l.exit(); } }
-    }
-
-    public static XmlCursor getXmlCursor ( Dom n )
-    {
-        Cur c = n.tempCur();
-
-        Cursor xc = new Cursor( c );
-
-        c.release();
-
-        return xc;
-    }
-
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-    //////////////////////////////////////////////////////////////////////////////////////
-
-    static abstract class CharNode implements Dom, Node, CharacterData
-    {
-        public CharNode ( Locale l )
-        {
-            _locale = l;
-        }
-        
-        public QName getQName ( )
-        {
-            return null;
-        }
-
-        public Locale locale ( )
-        {
-            return _locale;
-        }
-
-        public Cur tempCur ( )
-        {
-            Cur c;
-
-            if (_src instanceof Dom)
-            {
-                c = _locale.tempCur();
-                c.moveToCharNode( this );
-            }
-            else
-                c = null;
-
-            return c;
-        }
-
-        public static boolean isOnList ( CharNode nodes, CharNode node )
-        {
-            assert node != null;
-            
-            for ( CharNode cn = nodes ; cn != null ; cn = cn._next )
-                if (cn == node)
-                    return true;
-
-            return false;
-        }
-
-        public static CharNode remove ( CharNode nodes, CharNode node )
-        {
-            assert isOnList( nodes, node );
-            
-            if (nodes == node)
-                nodes = node._next;
-            else
-                node._prev._next = node._next;
-
-            if (node._next != null)
-                node._next._prev = node._prev;
-
-            node._prev = node._next = null;
-
-            return nodes;
-        }
-
-        public static CharNode insertNode ( CharNode nodes, CharNode newNode, CharNode before )
-        {
-            assert !isOnList( nodes, newNode );
-            assert before == null || isOnList( nodes, before );
-            assert newNode != null;
-            assert newNode._prev == null && newNode._next == null;
-
-            if (nodes == null)
-            {
-                assert before == null;
-                nodes = newNode;
-            }
-            else if (nodes == before)
-            {
-                nodes._prev = newNode;
-                newNode._next = nodes;
-                nodes = newNode;
-            }
-            else
-            {
-                CharNode n = nodes;
-
-                while ( n._next != before )
-                    n = n._next;
-
-                if ((newNode._next = n._next) != null)
-                    n._next._prev = newNode;
-
-                newNode._prev = n;
-                n._next = newNode;
-            }
-
-            return nodes;
-        }
-
-        public static CharNode appendNode ( CharNode nodes, CharNode newNode )
-        {
-            return insertNode( nodes, newNode, null );
-        }
-
-        public static CharNode appendNodes ( CharNode nodes, CharNode newNodes )
-        {
-            assert newNodes != null;
-            assert newNodes._prev == null;
-
-            if (nodes == null)
-                return newNodes;
-
-            CharNode n = nodes;
-
-            while ( n._next != null )
-                n = n._next;
-
-            n._next = newNodes;
-            newNodes._prev = n;
-
-            return nodes;
-        }
-
-        public static CharNode copyNodes ( CharNode nodes, Object newSrc )
-        {
-            CharNode newNodes = null;
-
-            for ( CharNode n = null ; nodes != null ; nodes = nodes._next )
-            {
-                CharNode newNode;
-
-                if (nodes instanceof TextNode)
-                    newNode = nodes._locale.createTextNode();
-                else
-                    newNode = nodes._locale.createCdataNode();
-
-                // How to deal with entity refs??
-
-                newNode._src = newSrc;
-                newNode._off = nodes._off;
-                newNode._cch = nodes._cch;
-
-                if (newNodes == null)
-                    newNodes = newNode;
-
-                if (n != null)
-                {
-                    n._next = newNode;
-                    newNode._prev = n;
-                }
-
-                n = newNode;
-            }
-
-            return newNodes;
-        }
-
-        public void dump ( PrintStream o, Object ref )
-        {
-            if (_src instanceof Dom)
-                ((Dom) _src).dump( o, ref );
-            else
-                o.println( "Lonely CharNode: \"" + CharUtil.getString( _src, _off, _cch ) + "\"" );
-        }
-        
-        public void dump ( PrintStream o )
-        {
-            dump( o, (Object) this );
-        }
-
-        public void dump ( )
-        {
-            dump( System.out );
-        }
-
-        public Node appendChild ( Node newChild ) { return DomImpl._node_appendChild( this, newChild ); }
-        public Node cloneNode ( boolean deep ) { return DomImpl._node_cloneNode( this, deep ); }
-        public NamedNodeMap getAttributes ( ) { return null; }
-        public NodeList getChildNodes ( ) { return DomImpl._emptyNodeList; }
-        public Node getParentNode ( ) { return DomImpl._node_getParentNode( this ); }
-        public Node removeChild ( Node oldChild ) { return DomImpl._node_removeChild( this, oldChild ); }
-        public Node getFirstChild ( ) { return DomImpl._node_getFirstChild( this ); }
-        public Node getLastChild ( ) { return DomImpl._node_getLastChild( this ); }
-        public String getLocalName ( ) { return DomImpl._node_getLocalName( this ); }
-        public String getNamespaceURI ( ) { return DomImpl._node_getNamespaceURI( this ); }
-        public Node getNextSibling ( ) { return DomImpl._node_getNextSibling( this ); }
-        public String getNodeName ( ) { return DomImpl._node_getNodeName( this ); }
-        public short getNodeType ( ) { return DomImpl._node_getNodeType( this ); }
-        public String getNodeValue ( ) { return DomImpl._node_getNodeValue( this ); }
-        public Document getOwnerDocument ( ) { return DomImpl._node_getOwnerDocument( this ); }
-        public String getPrefix ( ) { return DomImpl._node_getPrefix( this ); }
-        public Node getPreviousSibling ( ) { return DomImpl._node_getPreviousSibling( this ); }
-        public boolean hasAttributes ( ) { return DomImpl._node_hasAttributes( this ); }
-        public boolean hasChildNodes ( ) { return DomImpl._node_hasChildNodes( this ); }
-        public Node insertBefore ( Node newChild, Node refChild ) { return DomImpl._node_insertBefore( this, newChild, refChild ); }
-        public boolean isSupported ( String feature, String version ) { return DomImpl._node_isSupported( this, feature, version ); }
-        public void normalize ( ) { DomImpl._node_normalize( this ); }
-        public Node replaceChild ( Node newChild, Node oldChild ) { return DomImpl._node_replaceChild( this, newChild, oldChild ); }
-        public void setNodeValue ( String nodeValue ) { DomImpl._node_setNodeValue( this, nodeValue ); }
-        public void setPrefix ( String prefix ) { DomImpl._node_setPrefix( this, prefix ); }
-
-        // DOM Level 3
-        public Object getUserData ( String key ) { return DomImpl._node_getUserData( this, key ); }
-        public Object setUserData ( String key, Object data, UserDataHandler handler ) { return DomImpl._node_setUserData( this, key, data, handler ); }
-        public Object getFeature ( String feature, String version ) { return DomImpl._node_getFeature( this, feature, version ); }
-        public boolean isEqualNode ( Node arg ) { return DomImpl._node_isEqualNode( this, arg ); }
-        public boolean isSameNode ( Node arg ) { return DomImpl._node_isSameNode( this, arg ); }
-        public String lookupNamespaceURI ( String prefix ) { return DomImpl._node_lookupNamespaceURI( this, prefix ); }
-        public String lookupPrefix ( String namespaceURI ) { return DomImpl._node_lookupPrefix( this, namespaceURI ); }
-        public boolean isDefaultNamespace ( String namespaceURI ) { return DomImpl._node_isDefaultNamespace( this, namespaceURI ); }
-        public void setTextContent ( String textContent ) { DomImpl._node_setTextContent( this, textContent ); }
-        public String getTextContent ( ) { return DomImpl._node_getTextContent( this ); }
-        public short compareDocumentPosition ( Node other ) { return DomImpl._node_compareDocumentPosition( this, other ); }
-        public String getBaseURI ( ) { return DomImpl._node_getBaseURI( this ); }
-
-        public void appendData ( String arg ) { DomImpl._characterData_appendData( this, arg ); }
-        public void deleteData ( int offset, int count ) { DomImpl._characterData_deleteData( this, offset, count ); }
-        public String getData ( ) { return DomImpl._characterData_getData( this ); }
-        public int getLength ( ) { return DomImpl._characterData_getLength( this ); }
-        public void insertData ( int offset, String arg ) { DomImpl._characterData_insertData( this, offset, arg ); }
-        public void replaceData ( int offset, int count, String arg ) { DomImpl._characterData_replaceData( this, offset, count, arg ); }
-        public void setData ( String data ) { DomImpl._characterData_setData( this, data ); }
-        public String substringData ( int offset, int count ) { return DomImpl._characterData_substringData( this, offset, count ); }
-
-        Locale _locale;
-
-        CharNode _next;
-        CharNode _prev;
-
-        Object _src;
-        int    _off;
-        int    _cch;
-    }
-    
-    static class TextNode extends CharNode implements Text
-    {
-        TextNode ( Locale l )
-        {
-            super( l );
-        }
-
-        public int nodeType ( ) { return DomImpl.TEXT; }
-
-        public String name ( ) { return "#text"; }
-
-        public Text splitText ( int offset ) { return DomImpl._text_splitText ( this, offset ); }
-        public String getWholeText ( ) { return DomImpl._text_getWholeText( this ); }
-        public boolean isElementContentWhitespace ( ) { return DomImpl._text_isElementContentWhitespace( this ); }
-        public Text replaceWholeText ( String content ) { return DomImpl._text_replaceWholeText( this, content ); }
-    }
-
-    static class CdataNode extends TextNode implements CDATASection
-    {
-        CdataNode ( Locale l )
-        {
-            super( l );
-        }
-
-        public int nodeType ( ) { return DomImpl.CDATA; }
-
-        public String name ( ) { return "#cdata-section"; }
-    }
-    
-    static class SaajTextNode extends TextNode implements javax.xml.soap.Text
-    {
-        SaajTextNode ( Locale l )
-        {
-            super( l );
-        }
-
-        public boolean isComment ( ) { return DomImpl._soapText_isComment( this ); }
-        
-        public void detachNode ( ) { DomImpl._soapNode_detachNode( this ); }
-        public void recycleNode ( ) { DomImpl._soapNode_recycleNode( this ); }
-        public String getValue ( ) { return DomImpl._soapNode_getValue( this ); }
-        public void setValue ( String value ) { DomImpl._soapNode_setValue( this, value ); }
-        public SOAPElement getParentElement ( ) { return DomImpl._soapNode_getParentElement( this ); }
-        public void setParentElement ( SOAPElement p ) { DomImpl._soapNode_setParentElement( this, p ); }
-    }
-    
-    static class SaajCdataNode extends CdataNode implements javax.xml.soap.Text
-    {
-        public SaajCdataNode ( Locale l )
-        {
-            super( l );
-        }
-
-        public boolean isComment ( ) { return DomImpl._soapText_isComment( this ); }
-        
-        public void detachNode ( ) { DomImpl._soapNode_detachNode( this ); }
-        public void recycleNode ( ) { DomImpl._soapNode_recycleNode( this ); }
-        public String getValue ( ) { return DomImpl._soapNode_getValue( this ); }
-        public void setValue ( String value ) { DomImpl._soapNode_setValue( this, value ); }
-        public SOAPElement getParentElement ( ) { return DomImpl._soapNode_getParentElement( this ); }
-        public void setParentElement ( SOAPElement p ) { DomImpl._soapNode_setParentElement( this, p ); }
-    }
-
-    //
-    // Soap Text Node
-    //
-
-    public static boolean _soapText_isComment ( Dom n )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Text text = (javax.xml.soap.Text) n;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapText_isComment( text ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapText_isComment( text ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Node
-    //
-    
-    public static void _soapNode_detachNode ( Dom n )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapNode_detachNode( node ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapNode_detachNode( node ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapNode_recycleNode ( Dom n )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapNode_recycleNode( node ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapNode_recycleNode( node ); } finally { l.exit(); } }
-    }
-    
-    public static String _soapNode_getValue ( Dom n )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapNode_getValue( node ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapNode_getValue( node ); } finally { l.exit(); } }
-    }
-
-    public static void _soapNode_setValue ( Dom n, String value )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapNode_setValue( node, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapNode_setValue( node, value ); } finally { l.exit(); } }
-    }
-
-    public static SOAPElement _soapNode_getParentElement ( Dom n )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapNode_getParentElement( node ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapNode_getParentElement( node ); } finally { l.exit(); } }
-    }
-
-    public static void _soapNode_setParentElement ( Dom n, SOAPElement p )
-    {
-        Locale l = n.locale();
-
-        javax.xml.soap.Node node = (javax.xml.soap.Node) n;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapNode_setParentElement( node, p ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapNode_setParentElement( node, p ); } finally { l.exit(); } }
-    }
-
-    //
-    // Soap Element
-    //
-
-    public static void _soapElement_removeContents ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapElement_removeContents( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapElement_removeContents( se ); } finally { l.exit(); } }
-    }
-    
-    public static String _soapElement_getEncodingStyle ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getEncodingStyle( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getEncodingStyle( se ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapElement_setEncodingStyle ( Dom d, String encodingStyle )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapElement_setEncodingStyle( se, encodingStyle ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapElement_setEncodingStyle( se, encodingStyle ); } finally { l.exit(); } }
-    }
-    
-    public static boolean _soapElement_removeNamespaceDeclaration ( Dom d, String prefix )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_removeNamespaceDeclaration( se, prefix ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_removeNamespaceDeclaration( se, prefix ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapElement_getAllAttributes ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getAllAttributes( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getAllAttributes( se ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapElement_getChildElements ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getChildElements( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getChildElements( se ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapElement_getNamespacePrefixes ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getNamespacePrefixes( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getNamespacePrefixes( se ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addAttribute ( Dom d, Name name, String value ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addAttribute( se, name, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addAttribute( se, name, value ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addChildElement ( Dom d, SOAPElement oldChild ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addChildElement( se, oldChild ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addChildElement( se, oldChild ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addChildElement ( Dom d, Name name ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addChildElement( se, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addChildElement( se, name ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addChildElement ( Dom d, String localName ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addChildElement ( Dom d, String localName, String prefix ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName, prefix ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName, prefix ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addChildElement ( Dom d, String localName, String prefix, String uri ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName, prefix, uri ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addChildElement( se, localName, prefix, uri ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addNamespaceDeclaration ( Dom d, String prefix, String uri )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addNamespaceDeclaration( se, prefix, uri ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addNamespaceDeclaration( se, prefix, uri ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPElement _soapElement_addTextNode ( Dom d, String data )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_addTextNode( se, data ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_addTextNode( se, data ); } finally { l.exit(); } }
-    }
-    
-    public static String _soapElement_getAttributeValue ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getAttributeValue( se, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getAttributeValue( se, name ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapElement_getChildElements ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getChildElements( se, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getChildElements( se, name ); } finally { l.exit(); } }
-    }
-    
-    public static Name _soapElement_getElementName ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getElementName( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getElementName( se ); } finally { l.exit(); } }
-    }
-    
-    public static String _soapElement_getNamespaceURI ( Dom d, String prefix )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getNamespaceURI( se, prefix ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getNamespaceURI( se, prefix ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapElement_getVisibleNamespacePrefixes ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_getVisibleNamespacePrefixes( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_getVisibleNamespacePrefixes( se ); } finally { l.exit(); } }
-    }
-    
-    public static boolean _soapElement_removeAttribute ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        SOAPElement se = (SOAPElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapElement_removeAttribute( se, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapElement_removeAttribute( se, name ); } finally { l.exit(); } }
-    }
-
-    //
-    // Soap Envelope
-    //
-
-    public static SOAPBody _soapEnvelope_addBody ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_addBody( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_addBody( se ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPBody _soapEnvelope_getBody ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_getBody( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_getBody( se ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPHeader _soapEnvelope_getHeader ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_getHeader( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_getHeader( se ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPHeader _soapEnvelope_addHeader ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_addHeader( se ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_addHeader( se ); } finally { l.exit(); } }
-    }
-    
-    public static Name _soapEnvelope_createName ( Dom d, String localName )
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_createName( se, localName ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_createName( se, localName ); } finally { l.exit(); } }
-    }
-    
-    public static Name _soapEnvelope_createName ( Dom d, String localName, String prefix, String namespaceURI )
-    {
-        Locale l = d.locale();
-
-        SOAPEnvelope se = (SOAPEnvelope) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapEnvelope_createName( se, localName, prefix, namespaceURI ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapEnvelope_createName( se, localName, prefix, namespaceURI ); } finally { l.exit(); } }
-    }
-
-    //
-    // Soap Header
-    //
-
-    public static Iterator soapHeader_examineAllHeaderElements ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_examineAllHeaderElements( sh ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_examineAllHeaderElements( sh ); } finally { l.exit(); } }
-    }
-
-    public static Iterator soapHeader_extractAllHeaderElements ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_extractAllHeaderElements( sh ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_extractAllHeaderElements( sh ); } finally { l.exit(); } }
-    }
-
-    public static Iterator soapHeader_examineHeaderElements ( Dom d, String actor )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_examineHeaderElements( sh, actor ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_examineHeaderElements( sh, actor ); } finally { l.exit(); } }
-    }
-
-    public static Iterator soapHeader_examineMustUnderstandHeaderElements ( Dom d, String mustUnderstandString )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_examineMustUnderstandHeaderElements( sh, mustUnderstandString ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_examineMustUnderstandHeaderElements( sh, mustUnderstandString ); } finally { l.exit(); } }
-    }
-
-    public static Iterator soapHeader_extractHeaderElements ( Dom d, String actor )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_extractHeaderElements( sh, actor ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_extractHeaderElements( sh, actor ); } finally { l.exit(); } }
-    }
-
-    public static SOAPHeaderElement soapHeader_addHeaderElement ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        SOAPHeader sh = (SOAPHeader) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeader_addHeaderElement( sh, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeader_addHeaderElement( sh, name ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Body
-    //
-
-    public static boolean soapBody_hasFault ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_hasFault( sb ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_hasFault( sb ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPFault soapBody_addFault ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_addFault( sb ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_addFault( sb ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPFault soapBody_getFault ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_getFault( sb ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_getFault( sb ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPBodyElement soapBody_addBodyElement ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_addBodyElement( sb, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_addBodyElement( sb, name ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPBodyElement soapBody_addDocument ( Dom d, Document document )
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_addDocument( sb, document ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_addDocument( sb, document ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPFault soapBody_addFault ( Dom d, Name name, String s ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_addFault( sb, name, s ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_addFault( sb, name, s ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPFault soapBody_addFault ( Dom d, Name faultCode, String faultString, java.util.Locale locale ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPBody sb = (SOAPBody) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapBody_addFault( sb, faultCode, faultString, locale ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapBody_addFault( sb, faultCode, faultString, locale ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Fault
-    //
-
-    public static void soapFault_setFaultString ( Dom d, String faultString )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapFault_setFaultString( sf, faultString ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapFault_setFaultString( sf, faultString ); } finally { l.exit(); } }
-    }
-    
-    public static void soapFault_setFaultString ( Dom d, String faultString, java.util.Locale locale )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapFault_setFaultString( sf, faultString, locale ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapFault_setFaultString( sf, faultString, locale ); } finally { l.exit(); } }
-    }
-    
-    public static void soapFault_setFaultCode ( Dom d, Name faultCodeName ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapFault_setFaultCode( sf, faultCodeName ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapFault_setFaultCode( sf, faultCodeName ); } finally { l.exit(); } }
-    }
-    
-    public static void soapFault_setFaultActor ( Dom d, String faultActorString )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapFault_setFaultActor( sf, faultActorString ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapFault_setFaultActor( sf, faultActorString ); } finally { l.exit(); } }
-    }
-    
-    public static String soapFault_getFaultActor ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getFaultActor( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getFaultActor( sf ); } finally { l.exit(); } }
-    }
-    
-    public static String soapFault_getFaultCode ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getFaultCode( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getFaultCode( sf ); } finally { l.exit(); } }
-    }
-    
-    public static void soapFault_setFaultCode ( Dom d, String faultCode ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapFault_setFaultCode( sf, faultCode ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapFault_setFaultCode( sf, faultCode ); } finally { l.exit(); } }
-    }
-    
-    public static java.util.Locale soapFault_getFaultStringLocale ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getFaultStringLocale( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getFaultStringLocale( sf ); } finally { l.exit(); } }
-    }
-    
-    public static Name soapFault_getFaultCodeAsName ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getFaultCodeAsName( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getFaultCodeAsName( sf ); } finally { l.exit(); } }
-    }
-    
-    public static String soapFault_getFaultString ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getFaultString( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getFaultString( sf ); } finally { l.exit(); } }
-    }
-    
-    public static Detail soapFault_addDetail ( Dom d ) throws SOAPException
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_addDetail( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_addDetail( sf ); } finally { l.exit(); } }
-    }
-    
-    public static Detail soapFault_getDetail ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPFault sf = (SOAPFault) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapFault_getDetail( sf ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapFault_getDetail( sf ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Header Element
-    //
-
-    public static void soapHeaderElement_setMustUnderstand ( Dom d, boolean mustUnderstand )
-    {
-        Locale l = d.locale();
-
-        SOAPHeaderElement she = (SOAPHeaderElement) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapHeaderElement_setMustUnderstand( she, mustUnderstand ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapHeaderElement_setMustUnderstand( she, mustUnderstand ); } finally { l.exit(); } }
-    }
-    
-    public static boolean soapHeaderElement_getMustUnderstand ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPHeaderElement she = (SOAPHeaderElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeaderElement_getMustUnderstand( she ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeaderElement_getMustUnderstand( she ); } finally { l.exit(); } }
-    }
-    
-    public static void soapHeaderElement_setActor ( Dom d, String actor )
-    {
-        Locale l = d.locale();
-
-        SOAPHeaderElement she = (SOAPHeaderElement) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapHeaderElement_setActor( she, actor ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapHeaderElement_setActor( she, actor ); } finally { l.exit(); } }
-    }
-    
-    public static String soapHeaderElement_getActor ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPHeaderElement she = (SOAPHeaderElement) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapHeaderElement_getActor( she ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapHeaderElement_getActor( she ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Header Element
-    //
-
-    public static DetailEntry detail_addDetailEntry ( Dom d, Name name )
-    {
-        Locale l = d.locale();
-
-        Detail detail = (Detail) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.detail_addDetailEntry( detail, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.detail_addDetailEntry( detail, name ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator detail_getDetailEntries ( Dom d )
-    {
-        Locale l = d.locale();
-
-        Detail detail = (Detail) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.detail_getDetailEntries( detail ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.detail_getDetailEntries( detail ); } finally { l.exit(); } }
-    }
-    
-    //
-    // Soap Header Element
-    //
-
-    public static void _soapPart_removeAllMimeHeaders ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapPart_removeAllMimeHeaders( sp ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapPart_removeAllMimeHeaders( sp ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapPart_removeMimeHeader ( Dom d, String name )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapPart_removeMimeHeader( sp, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapPart_removeMimeHeader( sp, name ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapPart_getAllMimeHeaders ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getAllMimeHeaders( sp ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getAllMimeHeaders( sp ); } finally { l.exit(); } }
-    }
-    
-    public static SOAPEnvelope _soapPart_getEnvelope ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getEnvelope( sp ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getEnvelope( sp ); } finally { l.exit(); } }
-    }
-    
-    public static Source _soapPart_getContent ( Dom d )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getContent( sp ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getContent( sp ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapPart_setContent ( Dom d, Source source )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapPart_setContent( sp, source ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapPart_setContent( sp, source ); } finally { l.exit(); } }
-    }
-    
-    public static String[] _soapPart_getMimeHeader ( Dom d, String name )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getMimeHeader( sp, name ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getMimeHeader( sp, name ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapPart_addMimeHeader ( Dom d, String name, String value )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapPart_addMimeHeader( sp, name, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapPart_addMimeHeader( sp, name, value ); } finally { l.exit(); } }
-    }
-    
-    public static void _soapPart_setMimeHeader ( Dom d, String name, String value )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { l._saaj.soapPart_setMimeHeader( sp, name, value ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { l._saaj.soapPart_setMimeHeader( sp, name, value ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapPart_getMatchingMimeHeaders ( Dom d, String[] names )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getMatchingMimeHeaders( sp, names ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getMatchingMimeHeaders( sp, names ); } finally { l.exit(); } }
-    }
-    
-    public static Iterator _soapPart_getNonMatchingMimeHeaders ( Dom d, String[] names )
-    {
-        Locale l = d.locale();
-
-        SOAPPart sp = (SOAPPart) d;
-
-        if (l.noSync())         { l.enter(); try { return l._saaj.soapPart_getNonMatchingMimeHeaders( sp, names ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l._saaj.soapPart_getNonMatchingMimeHeaders( sp, names ); } finally { l.exit(); } }
-    }
-
-    //
-    // Saaj callback
-    //
-    
-    private static class SaajData
-    {
-        Object _obj;
-    }
-
-    public static void saajCallback_setSaajData ( Dom d, Object o )
-    {
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { impl_saajCallback_setSaajData( d, o ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { impl_saajCallback_setSaajData( d, o ); } finally { l.exit(); } }
-    }
-    
-    public static void impl_saajCallback_setSaajData ( Dom d, Object o )
-    {
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.moveToDom( d );
-
-        SaajData sd = null;
-
-        if (o != null)
-        {
-            sd = (SaajData) c.getBookmark( SaajData.class );
-
-            if (sd == null)
-                sd = new SaajData();
-
-            sd._obj = o;
-        }
-        
-        c.setBookmark( SaajData.class, sd );
-
-        c.release();
-    }
-
-    public static Object saajCallback_getSaajData ( Dom d )
-    {
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { return impl_saajCallback_getSaajData( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return impl_saajCallback_getSaajData( d ); } finally { l.exit(); } }
-    }
-    
-    public static Object impl_saajCallback_getSaajData ( Dom d )
-    {
-        Locale l = d.locale();
-
-        Cur c = l.tempCur();
-
-        c.moveToDom( d );
-
-        SaajData sd = (SaajData) c.getBookmark( SaajData.class );
-
-        Object o = sd == null ? null : sd._obj;
-
-        c.release();
-
-        return o;
-    }
-
-    public static Element saajCallback_createSoapElement ( Dom d, QName name, QName parentName )
-    {
-        Locale l = d.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = impl_saajCallback_createSoapElement( d, name, parentName ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = impl_saajCallback_createSoapElement( d, name, parentName ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-    
-    public static Dom impl_saajCallback_createSoapElement ( Dom d, QName name, QName parentName )
-    {
-        Cur c = d.locale().tempCur();
-        
-        c.createElement( name, parentName );
-        
-        Dom e = c.getDom();
-        
-        c.release();
-        
-        return e;
-    }
-        
-    public static Element saajCallback_importSoapElement (
-        Dom d, Element elem, boolean deep, QName parentName )
-    {
-        Locale l = d.locale();
-
-        Dom e;
-
-        if (l.noSync())         { l.enter(); try { e = impl_saajCallback_importSoapElement( d, elem, deep, parentName ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { e = impl_saajCallback_importSoapElement( d, elem, deep, parentName ); } finally { l.exit(); } }
-
-        return (Element) e;
-    }
-    
-    public static Dom impl_saajCallback_importSoapElement (
-        Dom d, Element elem, boolean deep, QName parentName )
-    {
-        // TODO -- need to rewrite DomImpl.document_importNode to use an Xcur
-        // to create the new tree.  Then, I can pass the parentName to the new
-        // fcn and use it to create the correct root parent
-        
-        throw new RuntimeException( "Not impl" );
-    }
-
-    
-    public static Text saajCallback_ensureSoapTextNode ( Dom d )
-    {
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { return impl_saajCallback_ensureSoapTextNode( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return impl_saajCallback_ensureSoapTextNode( d ); } finally { l.exit(); } }
-    }
-    
-    public static Text impl_saajCallback_ensureSoapTextNode ( Dom d )
-    {
-//        if (!(d instanceof Text))
-//        {
-//            Xcur x = d.tempCur();
-//
-//            x.moveTo
-//
-//            x.release();
-//        }
-//        
-//        return (Text) d;
-
-        return null;
-    }
-    
-}
- 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Jsr173.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Jsr173.java
deleted file mode 100755
index 7258732..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Jsr173.java
+++ /dev/null
@@ -1,1252 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import java.io.Reader;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.ConcurrentModificationException;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.Location;
-
-import org.apache.xmlbeans.XmlOptions;
-
-import org.w3c.dom.Node;
-
-public class Jsr173
-{
-    public static Node nodeFromStream ( XMLStreamReader xs )
-    {
-        assert xs instanceof Jsr173GateWay;
-
-        Jsr173GateWay gw = (Jsr173GateWay) xs;
-
-        Locale l = gw._l;
-                  
-        if (l.noSync())         { l.enter(); try { return nodeFromStreamImpl( gw ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return nodeFromStreamImpl( gw ); } finally { l.exit(); } }
-        
-    }
-    
-    public static Node nodeFromStreamImpl ( Jsr173GateWay gw )
-    {
-        Cur c = gw._xs.getCur();
-
-        return c.isNode() ? (Node) c.getDom() : (Node) null;
-    }
-
-    public static XMLStreamReader newXmlStreamReader ( Cur c, Object src, int off, int cch )
-    {
-        XMLStreamReaderBase xs = new XMLStreamReaderForString( c, src, off, cch );
-        
-        if (c._locale.noSync())
-            return new UnsyncedJsr173( c._locale, xs );
-        else
-            return new SyncedJsr173( c._locale, xs );
-    }
-    
-    public static XMLStreamReader newXmlStreamReader ( Cur c, XmlOptions options )
-    {
-        options = XmlOptions.maskNull( options );
-        
-        boolean inner = 
-            options.hasOption( XmlOptions.SAVE_INNER ) &&
-                !options.hasOption( XmlOptions.SAVE_OUTER );
-
-        XMLStreamReaderBase xs;
-
-        int k = c.kind();
-        
-        if (k == Cur.TEXT)
-        {
-            xs = new XMLStreamReaderForString( c, c.getChars( -1 ), c._offSrc, c._cchSrc );
-        }
-        else if (inner)
-        {
-            if (!c.hasAttrs() && !c.hasChildren())
-                xs = new XMLStreamReaderForString( c, c.getValueChars(), c._offSrc, c._cchSrc );
-            else
-            {
-                assert c.isContainer();
-                xs = new XMLStreamReaderForNode( c, true );
-            }
-        }
-        else
-            xs = new XMLStreamReaderForNode( c, false );
-        
-        if (c._locale.noSync())
-            return new UnsyncedJsr173( c._locale, xs );
-        else
-            return new SyncedJsr173( c._locale, xs );
-    }
-    
-    //
-    //
-    //
-    
-    private static final class XMLStreamReaderForNode extends XMLStreamReaderBase
-    {
-        public XMLStreamReaderForNode ( Cur c, boolean inner )
-        {
-            super( c );
-
-            assert c.isContainer() || c.isComment() || c.isProcinst() || c.isAttr();
-
-            // Iterate over everything *between* _cur and _end.  Do
-            // not iterate the thing to the right of _end
-
-            if (inner)
-            {
-                assert c.isContainer();
-                
-                _cur = c.weakCur( this );
-
-                if (!_cur.toFirstAttr())
-                    _cur.next();
-            
-                _end = c.weakCur( this );
-                _end.toEnd();
-            }
-            else
-            {
-                _cur = c.weakCur( this );
-
-                if (c.isRoot())
-                    _wholeDoc = true;
-                else
-                {
-                    _end = c.weakCur( this );
-
-                    if (c.isAttr())
-                    {
-                        if (!_end.toNextAttr())
-                        {
-                            _end.toParent();
-                            _end.next();
-                        }
-                    }
-                    else
-                        _end.skip();
-                }
-            }
-
-            if (!_wholeDoc)
-            {
-                // Set the _done bit properly
-                
-                _cur.push();
-                
-                try
-                {
-                    next();
-                }
-                catch ( XMLStreamException e )
-                {
-                    throw new RuntimeException( e.getMessage(), e );
-                }
-                    
-                _cur.pop();
-            }
-
-            assert _wholeDoc || !_cur.isSamePos( _end );
-        }
-
-        protected Cur getCur ( )
-        {
-            return _cur;
-        }
-
-        //
-        //
-        //
-
-        public boolean hasNext ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            return !_done;
-        }
-
-        public int getEventType ( )
-        {
-            switch ( _cur.kind() )
-            {
-                case  Cur.ROOT     : return START_DOCUMENT;
-                case -Cur.ROOT     : return END_DOCUMENT;
-                case  Cur.ELEM     : return START_ELEMENT;
-                case -Cur.ELEM     : return END_ELEMENT;
-                case  Cur.ATTR     : return _cur.isXmlns() ? NAMESPACE : ATTRIBUTE;
-                case  Cur.TEXT     : return CHARACTERS;
-                case  Cur.COMMENT  : return COMMENT;
-                case  Cur.PROCINST : return PROCESSING_INSTRUCTION;
-                default            : throw new IllegalStateException();
-            }
-        }
-
-        public int next ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            if (!hasNext())
-                throw new IllegalStateException();
-
-            int kind = _cur.kind();
-
-            if (kind == -Cur.ROOT)
-            {
-                assert _wholeDoc;
-                _done = true;
-            }
-            else
-            {
-                if (kind == Cur.ATTR)
-                {
-                    if (!_cur.toNextAttr())
-                    {
-                        _cur.toParent();
-                        _cur.next();
-                    }
-                }
-                else if (kind == Cur.COMMENT || kind == Cur.PROCINST)
-                    _cur.skip();
-                else if (kind == Cur.ROOT)
-                {
-                    if (!_cur.toFirstAttr())
-                        _cur.next();
-                }
-                else
-                    _cur.next();
-                
-                _done = _end != null && _cur.isSamePos( _end );
-            }
-
-            _textFetched = false;
-            _srcFetched = false;
-
-            return getEventType();
-        }
-
-        public String getText ( )
-        {
-            checkChanged();
-
-            int k = _cur.kind();
-
-            if (k == Cur.COMMENT)
-                return _cur.getValueAsString();
-
-            if (k == Cur.TEXT)
-                return _cur.getString( -1 );
-
-            throw new IllegalStateException();
-        }
-
-        public boolean isStartElement ( )
-        {
-            return getEventType() == START_ELEMENT;
-        }
-
-        public boolean isEndElement ( )
-        {
-            return getEventType() == END_ELEMENT;
-        }
-
-        public boolean isCharacters ( )
-        {
-            return getEventType() == CHARACTERS;
-        }
-
-        public String getElementText ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            if (!isStartElement())
-                throw new IllegalStateException();
-
-            StringBuffer sb = new StringBuffer();
-
-            for ( int depth = 1 ; depth > 0 ; )
-            {
-                if (!hasNext())
-                    throw new XMLStreamException();
-
-                int e = next();
-
-                if (e == END_ELEMENT)
-                {
-                    depth--;
-                    continue;
-                }
-
-                if (e == START_ELEMENT)
-                    depth++;
-
-                if (e != CHARACTERS)
-                    throw new XMLStreamException();
-
-                sb.append( getText() );
-            }
-
-            return sb.toString();
-        }
-
-        public int nextTag ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            for ( ; ; )
-            {
-                if (isStartElement() || isEndElement())
-                    return getEventType();
-
-                if (!isWhiteSpace())
-                    throw new XMLStreamException();
-
-                if (!hasNext())
-                    throw new XMLStreamException();
-
-                next();
-            }
-        }
-
-        private static boolean matchAttr ( Cur c, String uri, String local )
-        {
-            assert c.isNormalAttr();
-
-            QName name = c.getName();
-
-            return
-                name.getLocalPart().equals( local ) &&
-                    (uri == null || name.getNamespaceURI().equals( uri ));
-        }
-
-        private static Cur toAttr ( Cur c, String uri, String local )
-        {
-            if (uri == null || local == null || local.length() == 0)
-                throw new IllegalArgumentException();
-
-            Cur ca = c.tempCur();
-            boolean match = false;
-
-            if (c.isElem())
-            {
-                if (ca.toFirstAttr())
-                {
-                    do
-                    {
-                        if (ca.isNormalAttr() && matchAttr( ca, uri, local ))
-                        {
-                            match = true;
-                            break;
-                        }
-                    }
-                    while ( ca.toNextSibling() );
-                }
-            }
-            else if (c.isNormalAttr())
-                match = matchAttr( c, uri, local );
-            else
-                throw new IllegalStateException();
-
-            if (!match)
-            {
-                ca.release();
-                ca = null;
-            }
-
-            return ca;
-        }
-        
-        public String getAttributeValue ( String uri, String local )
-        {
-            Cur ca = toAttr( _cur, uri, local );
-
-            String value = null;
-
-            if (ca != null)
-            {
-                value = ca.getValueAsString();
-                ca.release();
-            }
-
-            return value;
-        }
-
-        private static Cur toAttr ( Cur c, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException( "Attribute index is negative" );
-
-            Cur ca = c.tempCur();
-            boolean match = false;
-
-            if (c.isElem())
-            {
-                if (ca.toFirstAttr())
-                {
-                    do
-                    {
-                        if (ca.isNormalAttr() && i-- == 0)
-                        {
-                            match = true;
-                            break;
-                        }
-                    }
-                    while ( ca.toNextSibling() );
-                }
-            }
-            else if (c.isNormalAttr())
-                match = i == 0;
-            else
-                throw new IllegalStateException();
-
-            if (!match)
-            {
-                ca.release();
-                throw new IndexOutOfBoundsException( "Attribute index is too large" );
-            }
-
-            return ca;
-        }
-
-        public int getAttributeCount ( )
-        {
-            int n = 0;
-            
-            if (_cur.isElem())
-            {
-                Cur ca = _cur.tempCur();
-                
-                if (ca.toFirstAttr())
-                {
-                    do
-                    {
-                        if (ca.isNormalAttr())
-                            n++;
-                    }
-                    while ( ca.toNextSibling() );
-                }
-
-                ca.release();
-            }
-            else if (_cur.isNormalAttr())
-                n++;
-            else
-                throw new IllegalStateException();
-
-            return n;
-        }
-
-        public QName getAttributeName ( int index )
-        {
-            Cur ca = toAttr( _cur, index );
-            QName name = ca.getName();
-            ca.release();
-            return name;
-        }
-
-        public String getAttributeNamespace ( int index )
-        {
-            return getAttributeName( index ).getNamespaceURI();
-        }
-
-        public String getAttributeLocalName ( int index )
-        {
-            return getAttributeName( index ).getLocalPart();
-        }
-
-        public String getAttributePrefix ( int index )
-        {
-            return getAttributeName( index ).getPrefix();
-        }
-
-        public String getAttributeType ( int index )
-        {
-            toAttr( _cur, index ).release();
-            return "CDATA";
-        }
-
-        public String getAttributeValue ( int index )
-        {
-            Cur ca = toAttr( _cur, index );
-
-            String value = null;
-
-            if (ca != null)
-            {
-                value = ca.getValueAsString();
-                ca.release();
-            }
-
-            return value;
-        }
-
-        public boolean isAttributeSpecified ( int index )
-        {
-            return false;
-        }
-
-        public int getNamespaceCount ( )
-        {
-            int n = 0;
-
-            if (_cur.isElem())
-            {
-                Cur ca = _cur.tempCur();
-
-                if (ca.toFirstAttr())
-                {
-                    do
-                    {
-                        if (ca.isXmlns())
-                            n++;
-                    }
-                    while ( ca.toNextSibling() );
-                }
-
-                ca.release();
-            }
-            else if (_cur.isXmlns())
-                n++;
-            else
-                throw new IllegalStateException();
-
-            return n;
-        }
-
-        private static Cur toXmlns ( Cur c, int i )
-        {
-            if (i < 0)
-                throw new IndexOutOfBoundsException( "Namespace index is negative" );
-
-            Cur ca = c.tempCur();
-            boolean match = false;
-
-            if (c.isElem())
-            {
-                if (ca.toFirstAttr())
-                {
-                    do
-                    {
-                        if (ca.isXmlns() && i-- == 0)
-                        {
-                            match = true;
-                            break;
-                        }
-                    }
-                    while ( ca.toNextSibling() );
-                }
-            }
-            else if (c.isXmlns())
-                match = i == 0;
-            else
-                throw new IllegalStateException();
-
-            if (!match)
-            {
-                ca.release();
-                throw new IndexOutOfBoundsException( "Namespace index is too large" );
-            }
-
-            return ca;
-        }
-
-        public String getNamespacePrefix ( int index )
-        {
-            Cur ca = toXmlns( _cur, index );
-            QName name = ca.getName();
-            ca.release();
-            return name.getLocalPart();
-        }
-
-        public String getNamespaceURI ( int index )
-        {
-            Cur ca = toXmlns( _cur, index );
-            String uri = ca.getValueAsString();
-            ca.release();
-            return uri;
-        }
-
-        private void fetchChars ( )
-        {
-            if (!_textFetched)
-            {
-                int k = _cur.kind();
-
-                Cur cText = null;
-
-                if (k == Cur.COMMENT)
-                {
-                    cText = _cur.tempCur();
-                    cText.next();
-                }
-                else if (k == Cur.TEXT)
-                    cText = _cur;
-                else
-                    throw new IllegalStateException();
-
-                Object src = cText.getChars( -1 );
-                
-                ensureCharBufLen( cText._cchSrc );
-
-                CharUtil.getChars(
-                    _chars, _offChars = 0, src, cText._offSrc, _cchChars = cText._cchSrc );
-
-                if (cText != _cur)
-                    cText.release();
-
-                _textFetched = true;
-            }
-        }
-        
-        private void ensureCharBufLen ( int cch )
-        {
-            if (_chars == null || _chars.length < cch)
-            {
-                int l = 256;
-
-                while ( l < cch )
-                    l *= 2;
-                
-                _chars = new char [ l ];
-            }
-        }
-
-        public char[] getTextCharacters ( )
-        {
-            checkChanged();
-
-            fetchChars();
-
-            return _chars;
-        }
-
-        public int getTextStart ( )
-        {
-            checkChanged();
-
-            fetchChars();
-
-            return _offChars;
-        }
-
-        public int getTextLength ( )
-        {
-            checkChanged();
-
-            fetchChars();
-
-            return _cchChars;
-        }
-
-        public int getTextCharacters (
-            int sourceStart, char[] target, int targetStart, int length )
-                throws XMLStreamException
-        {
-            if (length < 0)
-                throw new IndexOutOfBoundsException();
-
-            if (!_srcFetched)
-            {
-                int k = _cur.kind();
-
-                Cur cText = null;
-
-                if (k == Cur.COMMENT)
-                {
-                    cText = _cur.tempCur();
-                    cText.next();
-                }
-                else if (k == Cur.TEXT)
-                    cText = _cur;
-                else
-                    throw new IllegalStateException();
-            
-                _src = cText.getChars( -1 );
-                _offSrc = cText._offSrc;
-                _cchSrc = cText._cchSrc;
-                         
-                if (cText != _cur)
-                    cText.release();
-                
-                _srcFetched = true;
-            }
-
-            if (sourceStart > _cchSrc)
-                throw new IndexOutOfBoundsException();
-
-            if (sourceStart + length > _cchSrc)
-                length = _cchSrc - sourceStart;
-
-            CharUtil.getChars( target, targetStart, _src, _offSrc, length );
-            
-            return length;
-        }
-
-        public boolean hasText ( )
-        {
-            int k = _cur.kind();
-            
-            return k == Cur.COMMENT || k == Cur.TEXT;
-        }
-
-        public boolean hasName ( )
-        {
-            int k = _cur.kind();
-            return k == Cur.ELEM || k == -Cur.ELEM;
-        }
-
-        public QName getName ( )
-        {
-            if (!hasName())
-                throw new IllegalStateException();
-
-            return _cur.getName();
-        }
-
-        public String getNamespaceURI ( )
-        {
-            return getName().getNamespaceURI();
-        }
-
-        public String getLocalName ( )
-        {
-            return getName().getLocalPart();
-        }
-
-        public String getPrefix ( )
-        {
-            return getName().getPrefix();
-        }
-
-        public String getPITarget ( )
-        {
-            return _cur.kind() == Cur.PROCINST ? _cur.getName().getLocalPart() : null;
-        }
-
-        public String getPIData ( )
-        {
-            return _cur.kind() == Cur.PROCINST ? _cur.getValueAsString() : null;
-        }
-
-        //
-        //
-        //
-
-        private boolean _wholeDoc;
-        private boolean _done;
-                
-        private Cur _cur;
-        private Cur _end;
-
-        private boolean _srcFetched;
-        private Object  _src;
-        private int     _offSrc;
-        private int     _cchSrc;
-        
-        private boolean _textFetched;
-        private char[]  _chars;
-        private int     _offChars;
-        private int     _cchChars;
-    }
-    
-    //
-    //
-    //
-
-    private static abstract class XMLStreamReaderBase
-        implements XMLStreamReader, NamespaceContext, Location
-    {
-        XMLStreamReaderBase ( Cur c )
-        {
-            _locale = c._locale;
-            _version = _locale.version();
-        }
-
-        protected final void checkChanged ( )
-        {
-            if (_version != _locale.version())
-                throw new ConcurrentModificationException( "Document changed while streaming" );
-        }
-
-        //
-        // XMLStreamReader methods
-        //
-
-        public void close ( ) throws XMLStreamException
-        {
-            checkChanged();
-        }
-
-        public boolean isWhiteSpace ( )
-        {
-            throw new RuntimeException( "Not implemented" );
-
-//            checkChanged();
-//
-//            // TODO - avoid creating a string here
-//            String s = getText();
-//
-//            for ( int i = 0 ; i < s.length() ; i++ )
-//            {
-//                if (!Splay.isWhiteSpace( s.charAt( i ) ))
-//                    return false;
-//            }
-//
-//            return true;
-        }
-
-        public Location getLocation ( )
-        {
-            checkChanged();
-            
-            return this;
-
-//            XmlCursor c = getCursor();
-//
-//            XmlLineNumber ln = (XmlLineNumber) c.getBookmark( XmlLineNumber.class );
-//
-//            // BUGBUG - put source name here
-//            _uri = null;
-//
-//            if (ln != null)
-//            {
-//                _line = ln.getLine();
-//                _column = ln.getColumn();
-//                _offset = ln.getOffset();
-//            }
-//            else
-//            {
-//                _line = -1;
-//                _column = -1;
-//                _offset = -1;
-//            }
-//
-//            return this;
-        }
-
-
-        public Object getProperty ( String name )
-        {
-            checkChanged();
-
-            throw new RuntimeException( "Not implemented" );
-        }
-
-        public String getCharacterEncodingScheme ( )
-        {
-            checkChanged();
-
-            // TODO - implement this properly
-            return "utf-8";
-            
-//            XmlDocumentProperties props = getCursor().documentProperties();
-//
-//            return props == null ? null : props.getEncoding();
-        }
-
-        public String getEncoding ( )
-        {
-            checkChanged();
-
-            // TODO - implement this properly
-            return "utf-8";
-        }
-
-        public String getVersion ( )
-        {
-            checkChanged();
-
-            // TODO - implement this properly
-            return "1.0";
-            
-//            XmlDocumentProperties props = getCursor().documentProperties();
-//
-//            return props == null ? null : props.getVersion();
-        }
-
-        public boolean isStandalone ( )
-        {
-            checkChanged();
-
-            throw new RuntimeException( "Not implemented" );
-            
-//            return false;
-        }
-
-        public boolean standaloneSet ( )
-        {
-            checkChanged();
-            
-            throw new RuntimeException( "Not implemented" );
-//
-//            return false;
-        }
-
-        public void require ( int type, String namespaceURI, String localName )
-            throws XMLStreamException
-        {
-            checkChanged();
-
-            if (type != getEventType())
-                throw new XMLStreamException();
-
-            if (namespaceURI != null && !getNamespaceURI().equals( namespaceURI ))
-                throw new XMLStreamException();
-
-            if (localName != null && !getLocalName().equals( localName ))
-                throw new XMLStreamException();
-        }
-
-        //
-        // Location methods do not need a gatway
-        //
-
-        public int    getCharacterOffset ( ) { return _offset; }
-        public int    getColumnNumber    ( ) { return _column; }
-        public int    getLineNumber      ( ) { return _line;   }
-        public String getLocationURI     ( ) { return _uri;    }
-        
-        public String getPublicId() { return null; }
-        public String getSystemId() { return null; }
-
-        public NamespaceContext getNamespaceContext ( )
-        {
-            throw new RuntimeException( "This version of getNamespaceContext should not be called");
-        }
-
-        public String getNamespaceURI ( String prefix )
-        {
-            checkChanged();
-
-            Cur c = getCur();
-
-            c.push();
-
-            if (!c.isContainer())
-                c.toParent();
-            
-            String ns = c.namespaceForPrefix( prefix, true );
-
-            c.pop();
-
-            return ns;
-        }
-
-        public String getPrefix ( String namespaceURI )
-        {
-            checkChanged();
-
-            Cur c = getCur();
-
-            c.push();
-
-            if (!c.isContainer())
-                c.toParent();
-            
-            String prefix = c.prefixForNamespace( namespaceURI, null, false );
-            
-            c.pop();
-
-            return prefix;
-        }
-
-        public Iterator getPrefixes ( String namespaceURI )
-        {
-            checkChanged();
-
-            // BUGBUG - get only one for now ...
-
-            HashMap map = new HashMap();
-
-            map.put( namespaceURI, getPrefix( namespaceURI ) );
-
-            return map.values().iterator();
-        }
-
-        //
-        //
-        //
-
-        protected abstract Cur getCur ( );
-
-        //
-        //
-        //
-
-        private Locale _locale;
-        private long   _version;
-        
-        String _uri;
-        int _line=-1;
-        int _column=-1;
-        int _offset=-1;
-    }
-    
-    //
-    //
-    //
-
-    private static final class XMLStreamReaderForString extends XMLStreamReaderBase
-    {
-        XMLStreamReaderForString ( Cur c, Object src, int off, int cch )
-        {
-            super( c );
-
-            _src = src;
-            _off = off;
-            _cch = cch;
-
-            _cur = c;
-        }
-
-        protected Cur getCur ( )
-        {
-            return _cur;
-        }
-
-        //
-        // Legal stream methods
-        //
-
-        public String getText ( )
-        {
-            checkChanged();
-
-            return CharUtil.getString( _src, _off, _cch );
-        }
-        
-        public char[] getTextCharacters ( )
-        {
-            checkChanged();
-
-            char[] chars = new char [ _cch ];
-
-            CharUtil.getChars( chars, 0, _src, _off, _cch );
-
-            return chars;
-        }
-        public int getTextStart ( )
-        {
-            checkChanged();
-
-            return _off;
-        }
-        public int getTextLength ( )
-        {
-            checkChanged();
-
-            return _cch;
-        }
-        
-        public int getTextCharacters ( int sourceStart, char[] target, int targetStart, int length )
-        {
-            checkChanged();
-
-            if (length < 0)
-                throw new IndexOutOfBoundsException();
-            
-            if (sourceStart > _cch)
-                throw new IndexOutOfBoundsException();
-
-            if (sourceStart + length > _cch)
-                length = _cch - sourceStart;
-            
-            CharUtil.getChars( target, targetStart, _src, _off + sourceStart, length );
-
-            return length;
-        }
-
-        public int     getEventType      ( ) { checkChanged(); return CHARACTERS; }
-        public boolean hasName           ( ) { checkChanged(); return false;      }
-        public boolean hasNext           ( ) { checkChanged(); return false;      }
-        public boolean hasText           ( ) { checkChanged(); return true;       }
-        public boolean isCharacters      ( ) { checkChanged(); return true;       }
-        public boolean isEndElement      ( ) { checkChanged(); return false;      }
-        public boolean isStartElement    ( ) { checkChanged(); return false;      }
-
-        //
-        // Illegal stream methods
-        //
-
-        public int     getAttributeCount ( ) { throw new IllegalStateException(); }
-        public String  getAttributeLocalName ( int index ) { throw new IllegalStateException(); }
-        public QName   getAttributeName ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeNamespace ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributePrefix ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeType ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeValue ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeValue ( String namespaceURI, String localName ) { throw new IllegalStateException(); }
-        public String  getElementText ( ) { throw new IllegalStateException(); }
-        public String  getLocalName ( ) { throw new IllegalStateException(); }
-        public QName   getName ( ) { throw new IllegalStateException(); }
-        public int     getNamespaceCount ( ) { throw new IllegalStateException(); }
-        public String  getNamespacePrefix ( int index ) { throw new IllegalStateException(); }
-        public String  getNamespaceURI ( int index ) { throw new IllegalStateException(); }
-        public String  getNamespaceURI ( ) { throw new IllegalStateException(); }
-        public String  getPIData ( ) { throw new IllegalStateException(); }
-        public String  getPITarget ( ) { throw new IllegalStateException(); }
-        public String  getPrefix ( ) { throw new IllegalStateException(); }
-        public boolean isAttributeSpecified ( int index ) { throw new IllegalStateException(); }
-        public int     next ( ) { throw new IllegalStateException(); }
-        public int     nextTag ( ) { throw new IllegalStateException(); }
-        public String  getPublicId() { throw new IllegalStateException();  }
-        public String  getSystemId() { throw new IllegalStateException();  }
-
-        private Cur    _cur;
-        private Object _src;
-        private int    _off;
-        private int    _cch;
-    }
-
-    //
-    //
-    //
-
-    private static abstract class Jsr173GateWay
-    {
-        public Jsr173GateWay ( Locale l, XMLStreamReaderBase xs ) { _l = l; _xs = xs; }
-        
-        Locale              _l;
-        XMLStreamReaderBase _xs;
-    }
-
-    private static final class SyncedJsr173 extends Jsr173GateWay implements XMLStreamReader, Location, NamespaceContext
-    {
-        public SyncedJsr173 ( Locale l, XMLStreamReaderBase xs ) { super( l, xs ); }
-        
-        public Object getProperty ( java.lang.String name ) { synchronized ( _l ) { _l.enter(); try { return _xs.getProperty( name ); } finally { _l.exit(); } } }
-        public int next ( ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { return _xs.next(); } finally { _l.exit(); } } }
-        public void require ( int type, String namespaceURI, String localName ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { _xs.require( type, namespaceURI, localName ); } finally { _l.exit(); } } }
-        public String getElementText ( ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { return _xs.getElementText(); } finally { _l.exit(); } } }
-        public int nextTag ( ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { return _xs.nextTag(); } finally { _l.exit(); } } }
-        public boolean hasNext ( ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { return _xs.hasNext(); } finally { _l.exit(); } } }
-        public void close ( ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { _xs.close(); } finally { _l.exit(); } } }
-        public String getNamespaceURI ( String prefix ) { synchronized ( _l ) { _l.enter(); try { return _xs.getNamespaceURI ( prefix ); } finally { _l.exit(); } } }
-        public boolean isStartElement ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.isStartElement(); } finally { _l.exit(); } } }
-        public boolean isEndElement ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.isEndElement(); } finally { _l.exit(); } } }
-        public boolean isCharacters ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.isCharacters(); } finally { _l.exit(); } } }
-        public boolean isWhiteSpace ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.isWhiteSpace(); } finally { _l.exit(); } } }
-        public String getAttributeValue ( String namespaceURI, String localName ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeValue ( namespaceURI, localName ); } finally { _l.exit(); } } }
-        public int getAttributeCount ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeCount(); } finally { _l.exit(); } } }
-        public QName getAttributeName ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeName ( index ); } finally { _l.exit(); } } }
-        public String getAttributeNamespace ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeNamespace ( index ); } finally { _l.exit(); } } }
-        public String getAttributeLocalName ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeLocalName ( index ); } finally { _l.exit(); } } }
-        public String getAttributePrefix ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributePrefix ( index ); } finally { _l.exit(); } } }
-        public String getAttributeType ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeType ( index ); } finally { _l.exit(); } } }
-        public String getAttributeValue ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getAttributeValue ( index ); } finally { _l.exit(); } } }
-        public boolean isAttributeSpecified ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.isAttributeSpecified ( index ); } finally { _l.exit(); } } }
-        public int getNamespaceCount ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getNamespaceCount(); } finally { _l.exit(); } } }
-        public String getNamespacePrefix ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getNamespacePrefix ( index ); } finally { _l.exit(); } } }
-        public String getNamespaceURI ( int index ) { synchronized ( _l ) { _l.enter(); try { return _xs.getNamespaceURI ( index ); } finally { _l.exit(); } } }
-        public NamespaceContext getNamespaceContext ( ) { return this; }
-        public int getEventType ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getEventType(); } finally { _l.exit(); } } }
-        public String getText ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getText(); } finally { _l.exit(); } } }
-        public char[] getTextCharacters ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getTextCharacters(); } finally { _l.exit(); } } }
-        public int getTextCharacters ( int sourceStart, char[] target, int targetStart, int length ) throws XMLStreamException { synchronized ( _l ) { _l.enter(); try { return _xs.getTextCharacters ( sourceStart, target, targetStart, length ); } finally { _l.exit(); } } }
-        public int getTextStart ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getTextStart(); } finally { _l.exit(); } } }
-        public int getTextLength ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getTextLength(); } finally { _l.exit(); } } }
-        public String getEncoding ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getEncoding(); } finally { _l.exit(); } } }
-        public boolean hasText ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.hasText(); } finally { _l.exit(); } } }
-        public Location getLocation ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLocation(); } finally { _l.exit(); } } }
-        public QName getName ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getName(); } finally { _l.exit(); } } }
-        public String getLocalName ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLocalName(); } finally { _l.exit(); } } }
-        public boolean hasName ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.hasName(); } finally { _l.exit(); } } }
-        public String getNamespaceURI ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getNamespaceURI(); } finally { _l.exit(); } } }
-        public String getPrefix ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getPrefix(); } finally { _l.exit(); } } }
-        public String getVersion ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getVersion(); } finally { _l.exit(); } } }
-        public boolean isStandalone ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.isStandalone(); } finally { _l.exit(); } } }
-        public boolean standaloneSet ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.standaloneSet(); } finally { _l.exit(); } } }
-        public String getCharacterEncodingScheme ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getCharacterEncodingScheme(); } finally { _l.exit(); } } }
-        public String getPITarget ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getPITarget(); } finally { _l.exit(); } } }
-        public String getPIData ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getPIData(); } finally { _l.exit(); } } }
-        public String getPrefix ( String namespaceURI ) { synchronized ( _l ) { _l.enter(); try { return _xs.getPrefix( namespaceURI ); } finally { _l.exit(); } } }
-        public Iterator getPrefixes ( String namespaceURI ) { synchronized ( _l ) { _l.enter(); try { return _xs.getPrefixes( namespaceURI ); } finally { _l.exit(); } } }
-        public int getCharacterOffset ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getCharacterOffset(); } finally { _l.exit(); } } }
-        public int getColumnNumber ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getColumnNumber(); } finally { _l.exit(); } } }
-        public int getLineNumber ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLineNumber(); } finally { _l.exit(); } } }
-        public String getLocationURI ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLocationURI(); } finally { _l.exit(); } } }
-        public String getPublicId() { synchronized ( _l ) { _l.enter(); try { return _xs.getPublicId(); } finally { _l.exit(); } } }
-        public String getSystemId() { synchronized ( _l ) { _l.enter(); try { return _xs.getSystemId(); } finally { _l.exit(); } } }
-    }
-
-    private static final class UnsyncedJsr173 extends Jsr173GateWay implements XMLStreamReader, Location, NamespaceContext
-    {
-        public UnsyncedJsr173 ( Locale l, XMLStreamReaderBase xs ) { super( l, xs ); }
-        
-        public Object getProperty ( java.lang.String name ) { try { _l.enter(); return _xs.getProperty( name ); } finally { _l.exit(); } }
-        public int next ( ) throws XMLStreamException { try { _l.enter(); return _xs.next(); } finally { _l.exit(); } }
-        public void require ( int type, String namespaceURI, String localName ) throws XMLStreamException { try { _l.enter(); _xs.require( type, namespaceURI, localName ); } finally { _l.exit(); } }
-        public String getElementText ( ) throws XMLStreamException { try { _l.enter(); return _xs.getElementText(); } finally { _l.exit(); } }
-        public int nextTag ( ) throws XMLStreamException { try { _l.enter(); return _xs.nextTag(); } finally { _l.exit(); } }
-        public boolean hasNext ( ) throws XMLStreamException { try { _l.enter(); return _xs.hasNext(); } finally { _l.exit(); } }
-        public void close ( ) throws XMLStreamException { try { _l.enter(); _xs.close(); } finally { _l.exit(); } }
-        public String getNamespaceURI ( String prefix ) { try { _l.enter(); return _xs.getNamespaceURI ( prefix ); } finally { _l.exit(); } }
-        public boolean isStartElement ( ) { try { _l.enter(); return _xs.isStartElement(); } finally { _l.exit(); } }
-        public boolean isEndElement ( ) { try { _l.enter(); return _xs.isEndElement(); } finally { _l.exit(); } }
-        public boolean isCharacters ( ) { try { _l.enter(); return _xs.isCharacters(); } finally { _l.exit(); } }
-        public boolean isWhiteSpace ( ) { try { _l.enter(); return _xs.isWhiteSpace(); } finally { _l.exit(); } }
-        public String getAttributeValue ( String namespaceURI, String localName ) { try { _l.enter(); return _xs.getAttributeValue ( namespaceURI, localName ); } finally { _l.exit(); } }
-        public int getAttributeCount ( ) { try { _l.enter(); return _xs.getAttributeCount(); } finally { _l.exit(); } }
-        public QName getAttributeName ( int index ) { try { _l.enter(); return _xs.getAttributeName ( index ); } finally { _l.exit(); } }
-        public String getAttributeNamespace ( int index ) { try { _l.enter(); return _xs.getAttributeNamespace ( index ); } finally { _l.exit(); } }
-        public String getAttributeLocalName ( int index ) { try { _l.enter(); return _xs.getAttributeLocalName ( index ); } finally { _l.exit(); } }
-        public String getAttributePrefix ( int index ) { try { _l.enter(); return _xs.getAttributePrefix ( index ); } finally { _l.exit(); } }
-        public String getAttributeType ( int index ) { try { _l.enter(); return _xs.getAttributeType ( index ); } finally { _l.exit(); } }
-        public String getAttributeValue ( int index ) { try { _l.enter(); return _xs.getAttributeValue ( index ); } finally { _l.exit(); } }
-        public boolean isAttributeSpecified ( int index ) { try { _l.enter(); return _xs.isAttributeSpecified ( index ); } finally { _l.exit(); } }
-        public int getNamespaceCount ( ) { try { _l.enter(); return _xs.getNamespaceCount(); } finally { _l.exit(); } }
-        public String getNamespacePrefix ( int index ) { try { _l.enter(); return _xs.getNamespacePrefix ( index ); } finally { _l.exit(); } }
-        public String getNamespaceURI ( int index ) { try { _l.enter(); return _xs.getNamespaceURI ( index ); } finally { _l.exit(); } }
-        public NamespaceContext getNamespaceContext ( ) { return this; }
-        public int getEventType ( ) { try { _l.enter(); return _xs.getEventType(); } finally { _l.exit(); } }
-        public String getText ( ) { try { _l.enter(); return _xs.getText(); } finally { _l.exit(); } }
-        public char[] getTextCharacters ( ) { try { _l.enter(); return _xs.getTextCharacters(); } finally { _l.exit(); } }
-        public int getTextCharacters ( int sourceStart, char[] target, int targetStart, int length ) throws XMLStreamException { try { _l.enter(); return _xs.getTextCharacters ( sourceStart, target, targetStart, length ); } finally { _l.exit(); } }
-        public int getTextStart ( ) { try { _l.enter(); return _xs.getTextStart(); } finally { _l.exit(); } }
-        public int getTextLength ( ) { try { _l.enter(); return _xs.getTextLength(); } finally { _l.exit(); } }
-        public String getEncoding ( ) { try { _l.enter(); return _xs.getEncoding(); } finally { _l.exit(); } }
-        public boolean hasText ( ) { try { _l.enter(); return _xs.hasText(); } finally { _l.exit(); } }
-        public Location getLocation ( ) { try { _l.enter(); return _xs.getLocation(); } finally { _l.exit(); } }
-        public QName getName ( ) { try { _l.enter(); return _xs.getName(); } finally { _l.exit(); } }
-        public String getLocalName ( ) { try { _l.enter(); return _xs.getLocalName(); } finally { _l.exit(); } }
-        public boolean hasName ( ) { try { _l.enter(); return _xs.hasName(); } finally { _l.exit(); } }
-        public String getNamespaceURI ( ) { try { _l.enter(); return _xs.getNamespaceURI(); } finally { _l.exit(); } }
-        public String getPrefix ( ) { try { _l.enter(); return _xs.getPrefix(); } finally { _l.exit(); } }
-        public String getVersion ( ) { try { _l.enter(); return _xs.getVersion(); } finally { _l.exit(); } }
-        public boolean isStandalone ( ) { try { _l.enter(); return _xs.isStandalone(); } finally { _l.exit(); } }
-        public boolean standaloneSet ( ) { try { _l.enter(); return _xs.standaloneSet(); } finally { _l.exit(); } }
-        public String getCharacterEncodingScheme ( ) { try { _l.enter(); return _xs.getCharacterEncodingScheme(); } finally { _l.exit(); } }
-        public String getPITarget ( ) { try { _l.enter(); return _xs.getPITarget(); } finally { _l.exit(); } }
-        public String getPIData ( ) { try { _l.enter(); return _xs.getPIData(); } finally { _l.exit(); } }
-        public String getPrefix ( String namespaceURI ) { try { _l.enter(); return _xs.getPrefix( namespaceURI ); } finally { _l.exit(); } }
-        public Iterator getPrefixes ( String namespaceURI ) { try { _l.enter(); return _xs.getPrefixes( namespaceURI ); } finally { _l.exit(); } }
-        public int getCharacterOffset ( ) { try { _l.enter(); return _xs.getCharacterOffset(); } finally { _l.exit(); } }
-        public int getColumnNumber ( ) { try { _l.enter(); return _xs.getColumnNumber(); } finally { _l.exit(); } }
-        public int getLineNumber ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLineNumber(); } finally { _l.exit(); } } }
-        public String getLocationURI ( ) { synchronized ( _l ) { _l.enter(); try { return _xs.getLocationURI(); } finally { _l.exit(); } } }
-        public String getPublicId() { synchronized ( _l ) { _l.enter(); try { return _xs.getPublicId(); } finally { _l.exit(); } } }
-        public String getSystemId() { synchronized ( _l ) { _l.enter(); try { return _xs.getSystemId(); } finally { _l.exit(); } } }
-    }
-}
-
- 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java
deleted file mode 100755
index 3bac348..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java
+++ /dev/null
@@ -1,2030 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import org.xml.sax.Locator;
-import org.xml.sax.Attributes;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.SAXException;
-
-import java.util.HashMap;
-
-import java.lang.ref.ReferenceQueue;
-import java.lang.ref.Reference;
-import java.lang.ref.PhantomReference;
-
-import java.lang.reflect.Method;
-
-import javax.xml.parsers.SAXParserFactory;
-
-import java.io.InputStream;
-import java.io.Reader;
-import java.io.StringReader;
-import java.io.IOException;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentType;
-import org.w3c.dom.Node;
-import org.w3c.dom.Element;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XmlLocale;
-import org.apache.xmlbeans.impl.common.ResolverUtil;
-
-import org.apache.xmlbeans.impl.newstore2.Saaj.SaajCallback;
-
-import org.apache.xmlbeans.impl.newstore2.DomImpl.Dom;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.TextNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.CdataNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.SaajTextNode;
-import org.apache.xmlbeans.impl.newstore2.DomImpl.SaajCdataNode;
-
-import org.apache.xmlbeans.impl.newstore2.Cur.Locations;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlSaxHandler;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlTokenSource;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.QNameCache;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.XmlDocumentProperties;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.values.TypeStore;
-import org.apache.xmlbeans.impl.values.TypeStoreUser;
-import org.apache.xmlbeans.impl.values.TypeStoreUserFactory;
-
-public final class Locale implements DOMImplementation, SaajCallback, XmlLocale
-{
-    static final int ROOT     = Cur.ROOT;
-    static final int ELEM     = Cur.ELEM;
-    static final int ATTR     = Cur.ATTR;
-    static final int COMMENT  = Cur.COMMENT;
-    static final int PROCINST = Cur.PROCINST;
-    static final int TEXT     = Cur.TEXT;
-
-    static final int WS_UNSPECIFIED = TypeStore.WS_UNSPECIFIED;
-    static final int WS_PRESERVE    = TypeStore.WS_PRESERVE;
-    static final int WS_REPLACE     = TypeStore.WS_REPLACE;
-    static final int WS_COLLAPSE    = TypeStore.WS_COLLAPSE;
-                                        
-    static final String _xsi         = "http://www.w3.org/2001/XMLSchema-instance";
-    static final String _schema      = "http://www.w3.org/2001/XMLSchema";
-    static final String _openFragUri = "http://www.openuri.org/fragment";
-    static final String _xml1998Uri  = "http://www.w3.org/XML/1998/namespace";
-    static final String _xmlnsUri    = "http://www.w3.org/2000/xmlns/";
-    
-    static final QName _xsiNil          = new QName( _xsi, "nil", "xsi" );
-    static final QName _xsiType         = new QName( _xsi, "type", "xsi" );
-    static final QName _xsiLoc          = new QName( _xsi, "schemaLocation", "xsi" );
-    static final QName _xsiNoLoc        = new QName( _xsi, "noNamespaceSchemaLocation", "xsi" );
-    static final QName _openuriFragment = new QName( _openFragUri, "fragment", "frag" );
-    static final QName _xmlFragment     = new QName( "xml-fragment" );
-
-    private Locale ( SchemaTypeLoader stl, XmlOptions options )
-    {
-        options = XmlOptions.maskNull( options );
-
-        //
-        //
-        //
-
-        // TODO - add option for no=sync, or make it all thread safe
-        //
-        // Also - have a thread local setting for thread safety?  .. Perhaps something
-        // in the type loader which defines whether ot not sync is on????
-        
-        _noSync = true;
-        
-        _tempFrames = new Cur [ _numTempFramesLeft = 8 ];
-
-        // BUGBUG - this cannot be thread locale ....
-        // BUGBUG - this cannot be thread locale ....
-        // BUGBUG - this cannot be thread locale ....
-        // 
-        // Lazy create this (loading up a locale should use the thread locale one)
-        // same goes for the qname factory .. use thread local for hte most part when loading
-        
-        _charUtil = CharUtil.getThreadLocalCharUtil();
-        
-        _qnameFactory = new DefaultQNameFactory();
-        
-        _locations = new Locations();
-
-        _schemaTypeLoader = stl;
-
-        _validateOnSet = options.hasOption( XmlOptions.VALIDATE_ON_SET );
-        
-        //
-        // Check for Saaj implementation request
-        //
-        
-        Object saajObj = options.get( Public2.SAAJ_IMPL );
-
-        if (saajObj != null)
-        {
-            if (!(saajObj instanceof Saaj))
-                throw new IllegalStateException( "Saaj impl not correct type: " + saajObj );
-
-            _saaj = (Saaj) saajObj;
-            
-            _saaj.setCallback( this );
-        }
-    }
-
-    //
-    //
-    //
-
-    public static final String USE_SAME_LOCALE = "USE_SAME_LOCALE";
-    
-    static Locale getLocale ( SchemaTypeLoader stl, XmlOptions options )
-    {
-        if (stl == null)
-            stl = XmlBeans.getContextTypeLoader();
-        
-        options = XmlOptions.maskNull( options );
-        
-        Locale l = null;
-        
-        if (options.hasOption( USE_SAME_LOCALE ))
-        {
-            Object source = options.get( USE_SAME_LOCALE );
-
-            if (source instanceof Locale)
-                l = (Locale) source;
-            else if (source instanceof XmlTokenSource)
-                l = (Locale) ((XmlTokenSource) source).monitor();
-            else
-                throw new IllegalArgumentException( "Source locale not understood: " + source );
-
-            if (l._schemaTypeLoader != stl)
-                throw new IllegalArgumentException( "Source locale does not support same schema type loader" );
-            
-            if (l._saaj != null && l._saaj != options.get( Public2.SAAJ_IMPL ))
-                throw new IllegalArgumentException( "Source locale does not support same saaj" );
-
-            if (l._validateOnSet && !options.hasOption( XmlOptions.VALIDATE_ON_SET ))
-                throw new IllegalArgumentException( "Source locale does not support same validate on set" );
-
-            // TODO - other things to check?
-        }
-        else
-            l = new Locale( stl, options );
-
-        return l;
-    }
-
-    //
-    //
-    //
-    
-    private void autoTypeDocument ( Cur c, SchemaType requestedType, XmlOptions options )
-        throws XmlException
-    {
-        assert c.isRoot();
-
-        // The type in the options overrides all sniffing
-
-        options = XmlOptions.maskNull( options );
-        
-        SchemaType optionType = (SchemaType) options.get( XmlOptions.DOCUMENT_TYPE );
-
-        if (optionType != null)
-        {
-            c.setType( optionType );
-            return;
-        }
-
-        SchemaType type = null;
-
-        // An xsi:type can be used to pick a type out of the loader, or used to refine
-        // a type with a name.
-
-        if (requestedType == null || requestedType.getName() != null)
-        {
-            QName xsiTypeName = c.getXsiTypeName();
-
-            SchemaType xsiSchemaType =
-                xsiTypeName == null ? null : _schemaTypeLoader.findType( xsiTypeName );
-
-            if (requestedType == null || requestedType.isAssignableFrom( xsiSchemaType ))
-                type = xsiSchemaType;
-        }
-
-        // Look for a document element to establish type
-        
-        if (type == null && (requestedType == null || requestedType.isDocumentType()))
-        {
-            assert c.isRoot();
-            
-            c.push();
-
-            QName docElemName =
-                !c.hasAttrs() && Locale.toFirstChildElement( c ) &&
-                    !Locale.toNextSiblingElement( c )
-                        ? c.getName() : null;
-
-            c.pop();
-
-            if (docElemName != null)
-            {
-                type = _schemaTypeLoader.findDocumentType( docElemName );
-
-                if (type != null && requestedType != null)
-                {
-                    QName requesteddocElemNameName = requestedType.getDocumentElementName();
-                    
-                    if (!requesteddocElemNameName.equals( docElemName ) &&
-                            !requestedType.isValidSubstitution( docElemName ))
-                    {
-                        throw
-                            new XmlException(
-                                "Element " + QNameHelper.pretty( docElemName ) +
-                                " is not a valid " + QNameHelper.pretty( requesteddocElemNameName ) +
-                                " document or a valid substitution.");
-                    }
-                }
-            }
-        }
-        
-        if (type == null && requestedType == null)
-        {
-            c.push();
-
-            type =
-                Locale.toFirstNormalAttr( c ) && !Locale.toNextNormalAttr( c )
-                  ? _schemaTypeLoader.findAttributeType( c.getName() ) : null;
-
-            c.pop();
-        }
-
-        if (type == null)
-            type = requestedType;
-
-        if (type == null)
-            type = XmlBeans.NO_TYPE;
-
-        c.setType( type );
-
-        if (requestedType != null)
-        {
-            if (type.isDocumentType())
-                verifyDocumentType( c, type.getDocumentElementName() );
-            else if (type.isAttributeType())
-                verifyAttributeType( c, type.getAttributeTypeAttributeName() );
-        }
-    }
-    
-    private boolean namespacesSame ( QName n1, QName n2 )
-    {
-        if (n1 == n2)
-            return true;
-
-        if (n1 == null || n2 == null)
-            return false;
-
-        if (n1.getNamespaceURI() == n2.getNamespaceURI())
-            return true;
-
-        if (n1.getNamespaceURI() == null || n2.getNamespaceURI() == null)
-            return false;
-
-        return n1.getNamespaceURI().equals( n2.getNamespaceURI() );
-    }
-
-    private void addNamespace ( StringBuffer sb, QName name )
-    {
-        if (name.getNamespaceURI() == null)
-            sb.append( "<no namespace>" );
-        else
-        {
-            sb.append( "\"" );
-            sb.append( name.getNamespaceURI() );
-            sb.append( "\"" );
-        }
-    }
-
-    private void verifyDocumentType ( Cur c, QName docElemName ) throws XmlException
-    {
-        assert c.isRoot();
-        
-        c.push();
-
-        try
-        {
-            StringBuffer sb = null;
-
-            if (!Locale.toFirstChildElement( c ) || Locale.toNextSiblingElement( c ))
-            {
-                sb = new StringBuffer();
-
-                sb.append( "The document is not a " );
-                sb.append( QNameHelper.pretty( docElemName ) );
-                sb.append( c.isRoot() ? ": no document element" : ": multiple document elements" );
-            }
-            else
-            {
-                QName name = c.getName();
-
-                if (!name.equals( docElemName ))
-                {
-                    sb = new StringBuffer();
-
-                    sb.append( "The document is not a " );
-                    sb.append( QNameHelper.pretty( docElemName ) );
-
-                    if (docElemName.getLocalPart().equals( name.getLocalPart() ))
-                    {
-                        sb.append( ": document element namespace mismatch " );
-                        sb.append( "expected " );
-                        addNamespace( sb, docElemName );
-                        sb.append( " got " );
-                        addNamespace(sb,  name );
-                    }
-                    else if (namespacesSame( docElemName, name ))
-                    {
-                        sb.append( ": document element local name mismatch " );
-                        sb.append( "expected " + docElemName.getLocalPart() );
-                        sb.append( " got " + name.getLocalPart() );
-                    }
-                    else
-                    {
-                        sb.append( ": document element mismatch " );
-                        sb.append( "got " );
-                        sb.append( QNameHelper.pretty( name ) );
-                    }
-                }
-            }
-
-            if (sb != null)
-            {
-                XmlError err = XmlError.forCursor( sb.toString(), new Cursor( c ) );
-                throw new XmlException( err.toString(), null, err );
-            }
-        }
-        finally
-        {
-            c.pop();
-        }
-    }
-
-    private void verifyAttributeType ( Cur c, QName attrName ) throws XmlException
-    {
-        assert c.isRoot();
-
-        c.push();
-
-        try
-        {
-            StringBuffer sb = null;
-
-            if (!Locale.toFirstNormalAttr( c ) || Locale.toNextNormalAttr( c ))
-            {
-                sb = new StringBuffer();
-
-                sb.append( "The document is not a " );
-                sb.append( QNameHelper.pretty( attrName ) );
-                sb.append( c.isRoot() ? ": no attributes" : ": multiple attributes" );
-            }
-            else
-            {
-                QName name = c.getName();
-
-                if (!name.equals( attrName ))
-                {
-                    sb = new StringBuffer();
-
-                    sb.append( "The document is not a " );
-                    sb.append( QNameHelper.pretty( attrName ) );
-
-                    if (attrName.getLocalPart().equals( name.getLocalPart() ))
-                    {
-                        sb.append( ": attribute namespace mismatch " );
-                        sb.append( "expected " );
-                        addNamespace( sb, attrName );
-                        sb.append( " got " );
-                        addNamespace(sb,  name );
-                    }
-                    else if (namespacesSame( attrName, name ))
-                    {
-                        sb.append( ": attribute local name mismatch " );
-                        sb.append( "expected " + attrName.getLocalPart() );
-                        sb.append( " got " + name.getLocalPart() );
-                    }
-                    else
-                    {
-                        sb.append( ": attribute element mismatch " );
-                        sb.append( "got " );
-                        sb.append( QNameHelper.pretty( name ) );
-                    }
-                }
-            }
-
-            if (sb != null)
-            {
-                XmlError err = XmlError.forCursor( sb.toString(), new Cursor( c ) );
-                throw new XmlException( err.toString(), null, err );
-            }
-        }
-        finally
-        {
-            c.pop();
-        }
-    }
-
-    //
-    //
-    //
-    
-    public static XmlObject newInstance (
-        SchemaTypeLoader stl, SchemaType type, XmlOptions options )
-    {
-        Locale l = getLocale( stl, options );
-
-        if (l.noSync())         { l.enter(); try { return l.newInstance( type, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l.newInstance( type, options ); } finally { l.exit(); } }
-    }
-
-    private XmlObject newInstance ( SchemaType type, XmlOptions options )
-    {
-        options = XmlOptions.maskNull( options );
-        
-        Cur c = tempCur();
-
-        c.createRoot();
-
-        SchemaType sType = (SchemaType) options.get( XmlOptions.DOCUMENT_TYPE );
-
-        if (sType == null)
-            sType = type == null ? XmlObject.type : type;
-
-        c.setType( sType );
-
-        XmlObject x = (XmlObject) c.getUser();
-
-        c.release();
-
-        return x;
-    }
-                                   
-    //
-    //
-    //
-    
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, String xmlText, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        Locale l = getLocale( stl, options );
-
-        if (l.noSync())         { l.enter(); try { return l.parseToXmlObject( xmlText, type, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return l.parseToXmlObject( xmlText, type, options ); } finally { l.exit(); } }
-    }
-
-    private XmlObject parseToXmlObject ( String xmlText, SchemaType type, XmlOptions options )
-        throws XmlException
-    {
-        Cur c = parse( xmlText, type, options );
-
-        XmlObject x = (XmlObject) c.getUser();
-
-        c.release();
-
-        return x;
-    }
-    
-    private Cur parse ( String xmlText, SchemaType type, XmlOptions options )
-        throws XmlException
-    {
-        Cur c =
-            getSaxLoader( options ).
-                load( this, new InputSource( new StringReader( xmlText ) ), options );
-
-        autoTypeDocument( c, type, options );
-
-        return c;
-    }
-    
-    //
-    //
-    //
-            
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, XMLInputStream xis, SchemaType type, XmlOptions options )
-            throws XmlException, XMLStreamException
-    {
-        throw new RuntimeException( "Not impl" );
-//        Root r = new Root( stl, null, options );
-//        r.loadXml( xis, type, options );
-//        return r.getObject();
-    }
-
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, XMLStreamReader xsr, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        throw new RuntimeException( "Not impl" );
-//        Root r = new Root( stl, null, options );
-//        r.loadXml( xsr, type, options );
-//        return r.getObject();
-    }
-
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, InputStream is, SchemaType type, XmlOptions options )
-            throws XmlException, IOException
-    {
-        throw new RuntimeException( "Not impl" );
-//        Root r = new Root( stl, null, options );
-//        r.loadXml( is, type, options );
-//        return r.getObject();
-    }
-
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, Reader reader, SchemaType type, XmlOptions options )
-            throws XmlException, IOException
-    {
-        throw new RuntimeException( "Not impl" );
-//        Root r = new Root( stl, null, options );
-//        r.loadXml( reader, type, options );
-//        return r.getObject();
-    }
-
-    public static XmlObject parseToXmlObject (
-        SchemaTypeLoader stl, Node node, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        throw new RuntimeException( "Not impl" );
-//        Root r = new Root( stl, null, options );
-//        r.loadXml( node, type, options );
-//        return r.getObject();
-    }
-
-    public static XmlSaxHandler newSaxHandler (
-        SchemaTypeLoader stl, SchemaType type, XmlOptions options )
-    {
-        throw new RuntimeException( "Not impl" );
-//        return new Root( stl, null, options ).newSaxHandler( type, options );
-    }
-
-    // TODO (ericvas ) - have a qname factory here so that the same factory may be
-    // used by the parser.  This factory would probably come from my
-    // high speed parser.  Otherwise, use a thread local on
-    
-    QName makeQName ( String uri, String localPart )
-    {
-        assert localPart != null && localPart.length() > 0;
-        // TODO - make sure name is a well formed name?
-
-        return _qnameFactory.getQName( uri, localPart );
-    }
-
-    QName makeQName ( String uri, String local, String prefix )
-    {
-        return _qnameFactory.getQName( uri, local, prefix == null ? "" : prefix );
-    }
-
-    QName makeQualifiedQName ( String uri, String qname )
-    {
-        if (qname == null)
-            qname = "";
-
-        int i = qname.indexOf( ':' );
-
-        return i < 0
-            ? _qnameFactory.getQName( uri, qname )
-            : _qnameFactory.getQName( uri, qname.substring( i + 1 ), qname.substring( 0, i ) );
-    }
-
-    static private class DocProps extends XmlDocumentProperties
-    {
-        private HashMap _map = new HashMap();
-
-        public Object put    ( Object key, Object value ) { return _map.put( key, value ); }
-        public Object get    ( Object key )               { return _map.get( key ); }
-        public Object remove ( Object key )               { return _map.remove( key ); }
-    }
-
-    static XmlDocumentProperties getDocProps ( Cur c, boolean ensure )
-    {
-        c.push();
-
-        while ( c.toParent() )
-            ;
-
-        DocProps props = (DocProps) c.getBookmark( DocProps.class );
-
-        if (props == null)
-            c.setBookmark( DocProps.class, props = new DocProps() );
-
-        c.pop();
-
-        return props;
-    }
-
-    void registerForTextChange ( Cur c )
-    {
-        // The end of this list points to itself so that I can know if
-        // any cur is on the list by seeing if netx != null.
-        
-        assert c._nextTextChangeListener == null;
-        
-        if (_textChangeListeners == null)
-            _textChangeListeners = c._nextTextChangeListener = c;
-        else
-        {
-            c._nextTextChangeListener = _textChangeListeners;
-            _textChangeListeners = c;
-        }
-    }
-
-    interface GeneralChangeListener
-    {
-        void notifyGeneralChange ( );
-
-        void setNextGeneralChangeListener ( GeneralChangeListener listener );
-        
-        GeneralChangeListener getNextGeneralChangeListener ( );
-    }
-
-    void registerForGeneralChange ( GeneralChangeListener listener )
-    {
-        if (listener.getNextGeneralChangeListener() == null)
-        {
-            if (_generalChangeListeners == null)
-                listener.setNextGeneralChangeListener( listener );
-            else
-                listener.setNextGeneralChangeListener( _generalChangeListeners );
-        
-            _generalChangeListeners = listener;
-        }
-    }
-
-    void notifyGeneralChangeListeners ( )
-    {
-        while ( _generalChangeListeners != null )
-        {
-            _generalChangeListeners.notifyGeneralChange();
-
-            if (_generalChangeListeners.getNextGeneralChangeListener() == _generalChangeListeners)
-                _generalChangeListeners.setNextGeneralChangeListener( null );
-
-            GeneralChangeListener next = _generalChangeListeners.getNextGeneralChangeListener();
-
-            _generalChangeListeners.setNextGeneralChangeListener( null );
-
-            _generalChangeListeners = next;
-        }
-    }
-    
-    void notifyTextChangeListeners ( )
-    {
-        while ( _textChangeListeners != null )
-        {
-            _textChangeListeners.textChangeNotification();
-
-            if (_textChangeListeners._nextTextChangeListener == _textChangeListeners)
-                _textChangeListeners._nextTextChangeListener = null;
-
-            _textChangeListeners = _textChangeListeners._nextTextChangeListener;
-        }
-    }
-
-    //
-    // Cursor helpers
-    //
-
-    static String getTextValue ( Cur c, int wsr )
-    {
-        assert c.isNode();
-
-        if (!c.hasChildren())
-            return c.getValueAsString( wsr );
-
-        ScrubBuffer sb = getScrubBuffer( wsr );
-
-        c.push();
-
-        for ( c.next() ; !c.isAtEndOfLastPush() ; c.next() )
-            if (c.isText())
-                sb.scrub( c.getChars( -1 ), c._offSrc, c._cchSrc );
-
-        c.pop();
-                
-        return sb.getResultAsString();
-    }
-
-    static String applyWhiteSpaceRule ( String s, int wsr )
-    {
-        int l = s.length();
-
-        if (l == 0)
-            return s;
-        
-        char ch;
-
-        if (wsr == Locale.WS_REPLACE)
-        {
-            for ( int i = 0 ; i < l ; i++ )
-                if ((ch = s.charAt( i )) == '\n' || ch == '\r' || ch == '\t')
-                    return processWhiteSpaceRule( s, wsr );
-        }
-        else if (wsr == Locale.WS_COLLAPSE)
-        {
-            if (CharUtil.isWhiteSpace( s.charAt( 0 ) ) || CharUtil.isWhiteSpace( s.charAt( l - 1 )))
-                return processWhiteSpaceRule( s, wsr );
-            
-            boolean lastWasWhite = false;
-            
-            for ( int i = 1 ; i < l ; i++ )
-            {
-                boolean isWhite = CharUtil.isWhiteSpace( s.charAt( i ) );
-                
-                if (isWhite && lastWasWhite)
-                    return processWhiteSpaceRule( s, wsr );
-
-                lastWasWhite = isWhite;
-            }
-        }
-
-        return s;
-    }
-
-    static String processWhiteSpaceRule ( String s, int wsr )
-    {
-        ScrubBuffer sb = getScrubBuffer( wsr );
-        
-        sb.scrub( s, 0, s.length() );
-
-        return sb.getResultAsString();
-    }
-
-    private static final class ScrubBuffer
-    {
-        void init ( int wsr )
-        {
-            assert wsr == Locale.WS_REPLACE || wsr == Locale.WS_COLLAPSE;
-
-            _dstOff = 0;
-            _replace = wsr == Locale.WS_REPLACE;
-        }
-
-        void scrub ( Object src, int off, int cch )
-        {
-            char[] chars;
-
-            if (cch == 0)
-                return;
-
-            if (src instanceof char[])
-                chars = (char[]) src;
-            else if (cch < _srcBuf.length)
-                chars = _srcBuf;
-            else if (cch < 16384)
-                chars = _srcBuf = new char [ 16384 ];
-            else
-                chars = new char [ cch ];
-
-            if (src != chars)
-            {
-                CharUtil.getChars( chars, 0, src, off, cch );
-                off = 0;
-            }
-
-            char ch;
-            
-            while ( cch > 0 && CharUtil.isWhiteSpace( chars[ off ] ) )
-                { off++; cch--; }
-
-            while ( cch > 0 && CharUtil.isWhiteSpace( chars[ off + cch - 1 ] ) )
-                cch--;
-
-            boolean lastWasWhite = _dstOff > 0 && CharUtil.isWhiteSpace( _dstBuf[ _dstOff ] );
-            
-            while ( cch-- > 0 )
-            {
-                ch = chars[ off++ ];
-
-                if (CharUtil.isWhiteSpace( ch ))
-                {
-                    if (_replace || !lastWasWhite)
-                        _dstBuf[ _dstOff++ ] = ' ';
-
-                    lastWasWhite = true;
-                }
-                else
-                {
-                    _dstBuf[ _dstOff++ ] = ch;
-                    lastWasWhite = false;
-                }
-            }
-        }
-
-        String getResultAsString ( )
-        {
-            return new String( _dstBuf, 0, _dstOff );
-        }
-        
-        private static final int START_STATE = 0;
-        private static final int SPACE_SEEN_STATE = 1;
-        private static final int NOSPACE_STATE = 2;
-
-        private boolean _replace;
-
-        private char[] _srcBuf = new char [ 1024 ];
-        private char[] _dstBuf = new char [ 1024 ];
-        private int    _dstOff;
-    }
-
-    private static ThreadLocal tl_scrubBuffer =
-        new ThreadLocal ( ) { protected Object initialValue ( ) { return new ScrubBuffer(); } };
-
-    static ScrubBuffer getScrubBuffer ( int wsr )
-    {
-        ScrubBuffer sb = (ScrubBuffer) tl_scrubBuffer.get();
-        sb.init( wsr );
-        return sb;
-    }
-
-    static final int scrubText(
-        Object src, int off, int cch, int wsRule, StringBuffer sb, int state )
-    {
-        char[] chars = cch < 1024 ? (char[]) tl_scrubBuffer.get() : new char [ cch ];
-
-        if (chars.length > 1024 && cch < 16384)
-            tl_scrubBuffer.set( chars );
-
-        CharUtil.getChars( chars, 0, src, off, cch );
-        
-
-
-        
-        throw new RuntimeException( "Not impl" );
-        
-//        assert text != null;
-//
-//        if (text._buf == null)
-//        {
-//            assert cch == 0;
-//            assert cp == 0;
-//            return state;
-//        }
-//
-//        if (cch == 0)
-//            return state;
-//
-//        boolean replace = false;
-//        boolean collapse = false;
-//
-//        switch ( ws )
-//        {
-//        case TypeStore.WS_UNSPECIFIED :                            break;
-//        case TypeStore.WS_PRESERVE    :                            break;
-//        case TypeStore.WS_REPLACE     :            replace = true; break;
-//        case TypeStore.WS_COLLAPSE    : collapse = replace = true; break;
-//
-//		default : assert false: "Unknown white space rule " +ws;
-//        }
-//
-//        if (!replace && !collapse)
-//        {
-//            text.fetch(sb, cp, cch);
-//            return state;
-//        }
-//
-//        int off = text.unObscure( cp, cch );
-//        int startpt = 0;
-//
-//        for ( int i = 0 ; i < cch ; i++ )
-//        {
-//            char ch = text._buf[ off + i ];
-//
-//            if (ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t')
-//            {
-//                sb.append(text._buf, off + startpt, i - startpt);
-//                startpt = i + 1;
-//
-//                if (collapse)
-//                {
-//                    if (state == NOSPACE_STATE)
-//                        state = SPACE_SEEN_STATE;
-//                }
-//                else
-//                    sb.append(' ');
-//            }
-//            else
-//            {
-//                if (state == SPACE_SEEN_STATE)
-//                    sb.append( ' ' );
-//
-//                state = NOSPACE_STATE;
-//            }
-//        }
-//
-//        sb.append( text._buf, off + startpt, cch - startpt );
-//
-//        return state;
-    }
-
-    static boolean pushToContainer ( Cur c )
-    {
-        c.push();
-        
-        for ( ; ; )
-        {
-            switch ( c.kind() )
-            {
-            case    ROOT : case     ELEM : return true;
-            case  - ROOT : case   - ELEM : c.pop(); return false;
-            case COMMENT : case PROCINST : c.skip(); break;
-            default                      : c.nextWithAttrs();   break;
-            }
-        }
-    }
-
-    static boolean toFirstNormalAttr ( Cur c )
-    {
-        c.push();
-
-        if (c.toFirstAttr())
-        {
-            do
-            {
-                if (!c.isXmlns())
-                {
-                    c.popButStay();
-                    return true;
-                }
-            }
-            while ( c.toNextAttr() );
-        }
-
-        c.pop();
-
-        return false;
-    }
-
-    static boolean toNextNormalAttr ( Cur c )
-    {
-        c.push();
-
-        while ( c.toNextAttr() )
-        {
-            if (!c.isXmlns())
-            {
-                c.popButStay();
-                return true;
-            }
-        }
-        
-        c.pop();
-
-        return false;
-    }
-
-    static boolean toFirstChildElement ( Cur c )
-    {
-        if (!pushToContainer( c ))
-            return false;
-
-        if (!c.toFirstChild() || (!c.isElem() && !toNextSiblingElement( c )))
-        {
-            c.pop();
-            return false;
-        }
-
-        c.popButStay();
-
-        return true;
-    }
-    
-    static boolean toNextSiblingElement ( Cur c )
-    {
-        if (!c.hasParent())
-            return false;
-
-        c.push();
-
-        int k = c.kind();
-
-        if (k == ATTR)
-            c.toParent();
-        else if (k == ELEM)
-            c.skip();
-
-        while ( (k = c.kind()) > 0 )
-        {
-            if (k == ELEM)
-            {
-                c.popButStay();
-                return true;
-            }
-
-            if (k > 0)
-                c.toEnd();
-
-            c.next();
-        }
-
-        c.pop();
-
-        return false;
-    }
-
-    static boolean toChild ( Cur c, String uri, String local, int i )
-    {
-        return toChild( c, c._locale.makeQName( uri, local ), i );
-    }
-    
-    static boolean toChild ( Cur c, QName name, int i )
-    {
-//        if (!c.pushToContainer())
-//            return false;
-//
-        throw new RuntimeException( "Not implemented" );
-//        c.pop....
-    }
-
-//    private final class NthChildCache
-//    {
-//        private boolean namesSame ( QName pattern, QName name )
-//        {
-//            return pattern == null || pattern.equals( name );
-//        }
-//
-//        private boolean setsSame ( QNameSet patternSet, QNameSet set)
-//        {
-//            // value equality is probably too expensive. Since the use case
-//            // involves QNameSets that are generated by the compiler, we
-//            // can use identity comparison.
-//            return patternSet != null && patternSet == set;
-//        }
-//
-//        private boolean nameHit(QName namePattern,  QNameSet setPattern, QName name)
-//        {
-//            if (setPattern == null)
-//                return namesSame(namePattern, name);
-//            else
-//                return setPattern.contains(name);
-//        }
-//
-//        private boolean cacheSame (QName namePattern,  QNameSet setPattern)
-//        {
-//            return setPattern == null ? namesSame(namePattern, _name) :
-//                setsSame(setPattern, _set);
-//        }
-//
-//        int distance ( Splay parent, QName name, QNameSet set, int n )
-//        {
-//            assert n >= 0;
-//
-//            if (_version != Root.this.getVersion())
-//                return Integer.MAX_VALUE - 1;
-//
-//            if (parent != _parent || !cacheSame(name, set))
-//                return Integer.MAX_VALUE;
-//
-//            return n > _n ? n - _n : _n - n;
-//        }
-//
-//        Begin fetch ( Splay parent, QName name, QNameSet set, int n )
-//        {
-//            assert n >= 0;
-//
-//            if (_version != Root.this.getVersion() || _parent != parent ||
-//                  ! cacheSame(name, set) || n == 0)
-//            {
-//                _version = Root.this.getVersion();
-//                _parent = parent;
-//                _name = name;
-//                _child = null;
-//                _n = -1;
-//
-//                if (!parent.isLeaf())
-//                {
-//                    loop:
-//                    for ( Splay s = parent.nextSplay() ; ; s = s.nextSplay() )
-//                    {
-//                        switch ( s.getKind() )
-//                        {
-//                        case END  :
-//                        case ROOT : break loop;
-//
-//                        case BEGIN :
-//                            if (nameHit( name, set, s.getName() ))
-//                            {
-//                                _child = s;
-//                                _n = 0;
-//                                break loop;
-//                            }
-//
-//                            s = s.getFinishSplay();
-//                            break;
-//                        }
-//                    }
-//                }
-//            }
-//
-//            if (_n < 0)
-//                return null;
-//
-//            if (n > _n)
-//            {
-//                while ( n > _n )
-//                {
-//                    for ( Splay s = _child.getFinishSplay().nextSplay() ; ;
-//                          s = s.nextSplay() )
-//                    {
-//                        if (s.isFinish())
-//                            return null;
-//
-//                        if (s.isBegin())
-//                        {
-//                            if (nameHit( name, set, s.getName() ))
-//                            {
-//                                _child = s;
-//                                _n++;
-//                                break;
-//                            }
-//
-//                            s = s.getFinishSplay();
-//                        }
-//                    }
-//                }
-//            }
-//            else if (n < _n)
-//            {
-//                while ( n < _n )
-//                {
-//                    Splay s = _child;
-//
-//                    for ( ; ; )
-//                    {
-//                        s = s.prevSplay();
-//
-//                        if (s.isLeaf() || s.isEnd())
-//                        {
-//                            if (s.isEnd())
-//                                s = s.getContainer();
-//
-//                            if (nameHit( name, set, s.getName() ))
-//                            {
-//                                _child = s;
-//                                _n--;
-//                                break;
-//                            }
-//                        }
-//                        else if (s.isContainer())
-//                            return null;
-//                    }
-//                }
-//            }
-//
-//            return (Begin) _child;
-//        }
-//
-//        private long     _version;
-//        private Splay    _parent;
-//        private QName    _name;
-//        private QNameSet _set;
-//        
-//        private Splay _child;
-//        private int   _n;
-//    }
-    
-    //
-    // 
-    //
-
-    long version ( )
-    {
-        return _versionAll;
-    }
-
-    Cur permCur ( )
-    {
-        return getCur( Cur.PERM );
-    }
-    
-    Cur weakCur ( Object o )
-    {
-        assert o != null && !(o instanceof Ref);
-        
-        Cur c = getCur( Cur.WEAK );
-        
-        assert c._value == null;
-
-        c._value = new Ref( c, o );
-        
-        return c;
-    }
-
-    final ReferenceQueue refQueue ( )
-    {
-        if (_refQueue == null)
-            _refQueue = new ReferenceQueue();
-
-        return _refQueue;
-    }
-
-    final static class Ref extends PhantomReference
-    {
-        Ref ( Cur c, Object obj )
-        {
-            super( obj, c._locale.refQueue() );
-
-            _cur = c;
-        }
-
-        final Cur _cur;
-    }
-
-    Cur tempCur ( )
-    {
-        Cur c = getCur( Cur.TEMP );
-
-        if (c._tempFrame < 0)
-        {
-            assert _numTempFramesLeft < _tempFrames.length;
-                
-            int frame = _tempFrames.length - _numTempFramesLeft - 1;
-
-            assert frame >= 0 && frame < _tempFrames.length;
-
-            c._nextTemp = _tempFrames[ frame ];
-            _tempFrames[ frame ] = c;
-        
-            c._tempFrame = frame;
-        }
-        
-        return c;
-    }
-
-    void unregisterCurs ( )
-    {
-        while ( _registered != null )
-            _registered.embed();
-        
-        assert _registered == null;
-    }
-
-    private Cur getCur ( int curKind )
-    {
-        assert curKind == Cur.TEMP || curKind == Cur.PERM || curKind == Cur.WEAK;
-        assert _curPool == null || _curPoolCount > 0;
-        
-        Cur c;
-        
-        if (_curPool == null)
-        {
-            c = new Cur( this );
-            c._tempFrame = -1;
-        }
-        else
-        {
-            c = _curPool;
-            _curPool = c.listRemove( _curPool );
-            c._state = Cur.UNREGISTERED;
-            _curPoolCount--;
-        }
-
-        assert c._state == Cur.UNREGISTERED;
-        assert c._prev == null && c._next == null;
-        assert !c.isPositioned();
-        assert c._value == null;
-                
-        c._curKind = curKind;
-
-        return c;
-    }
-
-    TextNode createTextNode ( )
-    {
-        return _saaj == null ? new TextNode( this ) : new SaajTextNode( this );
-    }
-
-    CdataNode createCdataNode ( )
-    {
-        return _saaj == null ? new CdataNode( this ) : new SaajCdataNode( this );
-    }
-
-    boolean entered ( )
-    {
-        return _tempFrames.length - _numTempFramesLeft > 0;
-    }
-
-    public void enter ( Locale otherLocale )
-    {
-        enter();
-
-        if (otherLocale != this)
-            otherLocale.enter();
-    }
-    
-    public void enter ( )
-    {
-        assert _numTempFramesLeft >= 0;
-        
-        if (--_numTempFramesLeft <= 0)
-        {
-            Cur[] newTempFrames = new Cur [ (_numTempFramesLeft = _tempFrames.length) * 2 ];
-            System.arraycopy( _tempFrames, 0, newTempFrames, 0, _tempFrames.length );
-            _tempFrames = newTempFrames;
-        }
-        
-        if (++_entryCount > 1000)
-        {
-            _entryCount = 0;
-
-            if (_refQueue != null)
-            {
-                for ( ; ; )
-                {
-                    Ref ref = (Ref) _refQueue.poll();
-
-                    if (ref == null)
-                        break;
-
-                    ref._cur.release();
-                }
-            }
-        }
-    }
-    
-    public void exit ( Locale otherLocale )
-    {
-        exit();
-
-        if (otherLocale != this)
-            otherLocale.exit();
-    }
-    
-    public void exit ( )
-    {
-        assert _numTempFramesLeft >= 0;
-
-        int frame = _tempFrames.length - ++_numTempFramesLeft;
-
-        Cur c = _tempFrames [ frame ];
-
-        _tempFrames [ frame ] = null;
-        
-        while ( c != null )
-        {
-            assert c._tempFrame == frame;
-
-            Cur next = c._nextTemp;
-
-            c._nextTemp = null;
-            c._tempFrame = -1;
-
-            c.release();
-
-            c = next;
-        }
-    }
-    
-    //
-    //
-    //
-
-    public boolean noSync ( )
-    {
-        return _noSync;
-    }
-    
-    public boolean sync ( )
-    {
-        return !_noSync;
-    }
-    
-    static final boolean isWhiteSpace ( String s )
-    {
-        int l = s.length();
-
-        while ( l-- > 0)
-            if (!CharUtil.isWhiteSpace( s.charAt( l )))
-                  return false;
-
-        return true;
-    }
-
-    static final boolean isWhiteSpace ( StringBuffer sb )
-    {
-        int l = sb.length();
-
-        while ( l-- > 0)
-            if (!CharUtil.isWhiteSpace( sb.charAt( l )))
-                  return false;
-
-        return true;
-    }
-
-    static boolean beginsWithXml ( String name )
-    {
-        if (name.length() < 3)
-            return false;
-
-        char ch;
-
-        if (((ch = name.charAt( 0 )) == 'x' || ch == 'X') &&
-                ((ch = name.charAt( 1 )) == 'm' || ch == 'M') &&
-                ((ch = name.charAt( 2 )) == 'l' || ch == 'L'))
-        {
-            return true;
-        }
-
-        return false;
-    }
-
-    static boolean isXmlns ( QName name )
-    {
-        String prefix = name.getPrefix();
-
-        if (prefix.equals( "xmlns" ))
-            return true;
-
-        return prefix.length() == 0 && name.getLocalPart().equals( "xmlns" );
-    }
-
-    QName createXmlns ( String prefix )
-    {
-        if (prefix == null)
-            prefix = "";
-        
-        return
-            prefix.length() == 0
-                ? makeQName( _xmlnsUri, "xmlns", "" )
-                : makeQName( _xmlnsUri, prefix, "xmlns" );
-    }
-    
-    static String xmlnsPrefix ( QName name )
-    {
-        return name.getPrefix().equals( "xmlns" ) ? name.getLocalPart() : "";
-    }
-
-    //
-    // Loading/parsing
-    //
-
-    static abstract class LoadContext
-    {
-        protected abstract void startElement ( QName name                             );
-        protected abstract void endElement   (                                        );
-        
-        protected abstract void attr         ( String local, String uri, String prefix,
-                                               String value );
-        
-        protected abstract void comment      ( char[] buff, int off, int cch          );
-        protected abstract void procInst     ( String target, String value            );
-        protected abstract void text         ( char[] buff, int off, int cch          );
-        protected abstract Cur  finish       (                                        );
-        
-    }
-
-    private static ThreadLocal tl_saxLoadersDefaultResolver =
-        new ThreadLocal ( ) { protected Object initialValue ( ) { return newSaxLoader(); } };
-
-    private static ThreadLocal tl_saxLoaders =
-        new ThreadLocal ( ) { protected Object initialValue ( ) { return newSaxLoader(); } };
-    
-    private static SaxLoader getSaxLoader ( XmlOptions options )
-    {
-        // XMLReader.setEntityResolver() cannot be passed null.
-        // Because of this, I cannot reset the entity resolver to be
-        // that which was default.  Thus, I need to cache two
-        // SaxLoaders.  One which uses the default entity resolver and
-        // one which I can change the resolve to whatever I want for a
-        // given parse.
-
-        options = XmlOptions.maskNull( options );
-
-        EntityResolver er = (EntityResolver) options.get( XmlOptions.ENTITY_RESOLVER );
-
-        if (er == null)
-            er = ResolverUtil.getGlobalEntityResolver();
-
-        if (er == null && options.hasOption( XmlOptions.LOAD_USE_DEFAULT_RESOLVER ))
-            return (SaxLoader) tl_saxLoadersDefaultResolver.get();
-
-        SaxLoader sl = (SaxLoader) tl_saxLoaders.get();
-
-        if (er == null)
-            er = sl;
-
-        sl.setEntityResolver( er );
-
-        return sl;
-    }
-
-    private static SaxLoader newSaxLoader ( )
-    {
-        SaxLoader sl = null;
-        
-        try
-        {
-            sl = PiccoloSaxLoader.newInstance();
-
-            if (sl == null)
-                sl = DefaultSaxLoader.newInstance();
-        }
-        catch ( Exception e )
-        {
-            throw new RuntimeException( "Can't find an XML parser", e );
-        }
-
-        if (sl == null)
-            throw new RuntimeException( "Can't find an XML parser" );
-        
-        return sl;
-    }
-
-    private static class DefaultSaxLoader extends SaxLoader
-    {
-        private DefaultSaxLoader ( XMLReader xr )
-        {
-            super( xr, null );
-        }
-        
-        static SaxLoader newInstance ( ) throws Exception
-        {
-            return
-                new DefaultSaxLoader(
-                    SAXParserFactory.newInstance().newSAXParser().getXMLReader() );
-        }
-    }
-    
-    private static class PiccoloSaxLoader extends SaxLoader
-    {
-        // TODO - Need to look at root.java to bring this loader up to
-        // date with all needed features
-
-        private PiccoloSaxLoader (
-            XMLReader xr, Locator startLocator, Method m_getEncoding, Method m_getVersion )
-        {
-            super( xr, startLocator );
-
-            _m_getEncoding = m_getEncoding;
-            _m_getVersion = m_getVersion;
-        }
-
-        static SaxLoader newInstance ( ) throws Exception
-        {
-            Class pc = null;
-            
-            try
-            {
-                pc = Class.forName( "com.bluecast.xml.Piccolo" );
-            }
-            catch ( ClassNotFoundException e )
-            {
-                return null;
-            }
-                
-            XMLReader xr = (XMLReader) pc.newInstance();
-
-            Method m_getEncoding     = pc.getMethod( "getEncoding", null );
-            Method m_getVersion      = pc.getMethod( "getVersion", null );
-            Method m_getStartLocator = pc.getMethod( "getStartLocator", null );
-
-            Locator startLocator =
-                (Locator) m_getStartLocator.invoke( xr, null );
-
-            return new PiccoloSaxLoader( xr, startLocator, m_getEncoding, m_getVersion );
-        }
-        
-        private Method _m_getEncoding;
-        private Method _m_getVersion;
-    }
-    
-    private static abstract class SaxLoader
-            implements ContentHandler, LexicalHandler, ErrorHandler, EntityResolver
-    {
-        SaxLoader ( XMLReader xr, Locator startLocator )
-        {
-            _xr = xr;
-            _startLocator = startLocator;
-            
-            try
-            {
-                _xr.setFeature( "http://xml.org/sax/features/namespace-prefixes", true );
-                _xr.setFeature( "http://xml.org/sax/features/namespaces", true );
-                _xr.setFeature( "http://xml.org/sax/features/validation", false );
-                _xr.setProperty( "http://xml.org/sax/properties/lexical-handler", this );
-                _xr.setContentHandler( this );
-                _xr.setErrorHandler( this );
-            }
-            catch ( Throwable e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-
-        void setEntityResolver ( EntityResolver er )
-        {
-            _xr.setEntityResolver( er );
-        }
-
-        public Cur load ( Locale l, InputSource is, XmlOptions options )
-        {
-            _locale = l;
-            _context = new Cur.CurLoadContext( _locale, options );
-
-            try
-            {
-                _xr.parse( is );
-            }
-            catch ( Exception e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-
-            return _context.finish();
-        }
-
-        public void setDocumentLocator ( Locator locator )
-        {
-            // TODO - hook up locator ...
-        }
-
-        public void startDocument ( ) throws SAXException
-        {
-            // Do nothing ... start of document is implicit
-        }
-
-        public void endDocument ( ) throws SAXException
-        {
-            // Do nothing ... end of document is implicit
-        }
-
-        public void startElement ( String uri, String local, String qName, Attributes atts )
-            throws SAXException
-        {
-            if (local.length() == 0)
-                local = qName;
-            
-            // Out current parser (Piccolo) does not error when a
-            // namespace is used and not defined.  Check for these here
-
-            if (qName.indexOf( ':' ) >= 0 && uri.length() == 0)
-            {
-                XmlError err =
-                    XmlError.forMessage(
-                        "Use of undefined namespace prefix: " +
-                            qName.substring( 0, qName.indexOf( ':' ) ));
-
-                throw new XmlRuntimeException( err.toString(), null, err );
-            }
-
-            _context.startElement( _locale.makeQualifiedQName( uri, qName ) );
-
-            for ( int i = 0, len = atts.getLength() ; i < len ; i++ )
-            {
-                String aqn = atts.getQName( i );
-
-                if (aqn.equals( "xmlns" ))
-                {
-                    _context.attr( "xmlns", _xmlnsUri, null, atts.getValue( i ) );
-                }
-                else if (aqn.startsWith( "xmlns:" ))
-                {
-                    String prefix = aqn.substring( 6 );
-
-                    if (prefix.length() == 0)
-                    {
-                        XmlError err =
-                            XmlError.forMessage( "Prefix not specified", XmlError.SEVERITY_ERROR );
-
-                        throw new XmlRuntimeException( err.toString(), null, err );
-                    }
-
-                    String attrUri = atts.getValue( i );
-                    
-                    if (attrUri.length() == 0)
-                    {
-                        XmlError err =
-                            XmlError.forMessage(
-                                "Prefix can't be mapped to no namespace: " + prefix,
-                                XmlError.SEVERITY_ERROR );
-
-                        throw new XmlRuntimeException( err.toString(), null, err );
-                    }
-
-                    _context.attr( prefix, _xmlnsUri, "xmlns", attrUri );
-                }
-                else
-                {
-                    int colon = aqn.indexOf( ':' );
-
-                    if (colon < 0)
-                        _context.attr( aqn, atts.getURI( i ), null, atts.getValue( i ) );
-                    else
-                    {
-                        _context.attr(
-                            aqn.substring( colon + 1 ), atts.getURI( i ), aqn.substring( 0, colon ),
-                            atts.getValue( i ) );
-                    }
-                }
-            }
-        }
-
-        public void endElement ( String namespaceURI, String localName, String qName )
-            throws SAXException
-        {
-            _context.endElement();
-        }
-
-        public void characters ( char ch[], int start, int length ) throws SAXException
-        {
-            _context.text( ch, start, length );
-        }
-
-        public void ignorableWhitespace ( char ch[], int start, int length ) throws SAXException
-        {
-        }
-
-        public void comment ( char ch[], int start, int length ) throws SAXException
-        {
-            _context.comment( ch, start, length );
-        }
-
-        public void processingInstruction ( String target, String data ) throws SAXException
-        {
-            _context.procInst( target, data );
-        }
-
-        public void startDTD ( String name, String publicId, String systemId ) throws SAXException
-        {
-        }
-
-        public void endDTD ( ) throws SAXException
-        {
-        }
-
-        public void startPrefixMapping ( String prefix, String uri ) throws SAXException
-        {
-            if (beginsWithXml( prefix ) && ! ( "xml".equals( prefix ) && _xml1998Uri.equals( uri )))
-            {
-                XmlError err =
-                    XmlError.forMessage(
-                        "Prefix can't begin with XML: " + prefix, XmlError.SEVERITY_ERROR );
-
-                throw new XmlRuntimeException( err.toString(), null, err );
-            }
-        }
-
-        public void endPrefixMapping ( String prefix ) throws SAXException
-        {
-        }
-
-        public void skippedEntity ( String name ) throws SAXException
-        {
-//            throw new RuntimeException( "Not impl: skippedEntity" );
-        }
-
-        public void startCDATA ( ) throws SAXException
-        {
-        }
-
-        public void endCDATA ( ) throws SAXException
-        {
-        }
-
-        public void startEntity ( String name ) throws SAXException
-        {
-//            throw new RuntimeException( "Not impl: startEntity" );
-        }
-
-        public void endEntity ( String name ) throws SAXException
-        {
-//            throw new RuntimeException( "Not impl: endEntity" );
-        }
-
-        public void fatalError ( SAXParseException e ) throws SAXException
-        {
-            throw e;
-        }
-
-        public void error ( SAXParseException e ) throws SAXException
-        {
-            throw e;
-        }
-
-        public void warning ( SAXParseException e ) throws SAXException
-        {
-            throw e;
-        }
-
-        public InputSource resolveEntity ( String publicId, String systemId )
-        {
-            return new InputSource( new StringReader( "" ) );
-        }
-
-        private Locale      _locale;
-        private XMLReader   _xr;
-        private LoadContext _context;
-        private Locator     _startLocator;
-    }
-
-    private Dom load ( InputSource is, XmlOptions options )
-    {
-        return getSaxLoader( options ).load( this, is, options ).getDom();
-    }
-
-    public Dom load ( Reader r )
-    {
-        return load( new InputSource( r ), null );
-    }
-
-    public Dom load ( String s )
-    {
-        return load( new InputSource( new StringReader( s ) ), null );
-    }
-
-    public Dom load ( InputStream in )
-    {
-        return load( in, null );
-    }
-
-    public Dom load ( InputStream in, XmlOptions options )
-    {
-        return load( new InputSource( in ), options );
-    }
-
-    public Dom load ( String s, XmlOptions options )
-    {
-        return load( new InputSource( new StringReader( s ) ), options );
-    }
-
-    //
-    // DOMImplementation methods
-    //
-
-    public Document createDocument ( String uri, String qname, DocumentType doctype )
-    {
-        return DomImpl._domImplementation_createDocument( this, uri, qname, doctype );
-    }
-
-    public DocumentType createDocumentType ( String qname, String publicId, String systemId )
-    {
-        throw new RuntimeException( "Not implemented" );
-//        return DomImpl._domImplementation_createDocumentType( this, qname, publicId, systemId );
-    }
-
-    public boolean hasFeature ( String feature, String version )
-    {
-        return DomImpl._domImplementation_hasFeature( this, feature, version );
-    }
-
-    public Object getFeature ( String feature, String version )
-    {
-        throw new RuntimeException( "DOM Level 3 Not implemented" );
-    }
-
-
-    //
-    // SaajCallback methods
-    //
-
-    public void setSaajData ( Node n, Object o )
-    {
-        assert n instanceof Dom;
-
-        DomImpl.saajCallback_setSaajData( (Dom) n, o );
-    }
-
-    public Object getSaajData ( Node n )
-    {
-        assert n instanceof Dom;
-
-        return DomImpl.saajCallback_getSaajData( (Dom) n );
-    }
-
-    public Element createSoapElement ( QName name, QName parentName )
-    {
-        assert _ownerDoc != null;
-
-        return DomImpl.saajCallback_createSoapElement( _ownerDoc, name, parentName );
-    }
-
-    public Element importSoapElement ( Document doc, Element elem, boolean deep, QName parentName )
-    {
-        assert doc instanceof Dom;
-
-        return DomImpl.saajCallback_importSoapElement( (Dom) doc, elem, deep, parentName );
-    }
-
-    
-    private static final class DefaultQNameFactory implements QNameFactory
-    {
-        private QNameCache _cache = XmlBeans.getQNameCache();
-        
-        public QName getQName ( String uri, String local )
-        {
-            return _cache.getName( uri, local, "" );
-        }
-
-        public QName getQName ( String uri, String local, String prefix )
-        {
-            return _cache.getName( uri, local, prefix );
-        }
-
-        public QName getQName (
-            char[] uriSrc,   int uriPos,   int uriCch,
-            char[] localSrc, int localPos, int localCch )
-        {
-            return
-                _cache.getName(
-                    new String( uriSrc, uriPos, uriCch ),
-                    new String( localSrc, localPos, localCch ),
-                    "" );
-        }
-
-        public QName getQName (
-            char[] uriSrc,    int uriPos,    int uriCch,
-            char[] localSrc,  int localPos,  int localCch,
-            char[] prefixSrc, int prefixPos, int prefixCch )
-        {
-            return
-                _cache.getName(
-                    new String( uriSrc, uriPos, uriCch ),
-                    new String( localSrc, localPos, localCch ),
-                    new String( prefixSrc, prefixPos, prefixCch ) );
-        }
-    }
-    
-    //
-    //
-    //
-
-    boolean _noSync;
-
-    SchemaTypeLoader _schemaTypeLoader;
-
-    private ReferenceQueue _refQueue;
-    private int            _entryCount;
-   
-    private int   _numTempFramesLeft;
-    private Cur[] _tempFrames;
-
-    Cur _curPool;
-    int _curPoolCount;
-
-    Cur _registered;
-
-    GeneralChangeListener _generalChangeListeners;
-    
-    Cur _textChangeListeners;
-    
-    long _versionAll;
-    long _versionSansText;
-
-    Locations _locations;
-    
-    CharUtil _charUtil;
-    
-    Saaj _saaj;
-    
-    Dom _ownerDoc;
-
-    QNameFactory _qnameFactory;
-
-    boolean _validateOnSet;
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Path.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Path.java
deleted file mode 100755
index 3681cb9..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Path.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import org.apache.xmlbeans.impl.common.XPath;
-import org.apache.xmlbeans.impl.common.XPath.XPathCompileException;
-import org.apache.xmlbeans.impl.common.XPath.ExecutionContext;
-
-import org.apache.xmlbeans.XmlOptions;
-
-import java.util.ConcurrentModificationException;
-import java.util.HashMap;
-
-// TODO - This class handled query *and* path ... rename it?
-
-public abstract class Path
-{
-    Path ( String key )
-    {
-        _pathKey = key;
-    }
-
-    public static String _useXqrlForXpath = "use xqrl for xpath";
-
-    public static String _useXbeanForXpath = "use xbean for xpath";
-
-    static interface PathEngine
-    {
-        void release ( );
-        boolean next ( Cur c );
-    }
-
-    abstract PathEngine execute ( Cur c );
-
-    static Path getCompiledPath ( String pathExpr, XmlOptions options )
-    {
-        options = XmlOptions.maskNull( options );
-
-        int force = 
-            options.hasOption( _useXqrlForXpath )
-                ? FORCE_XQRL
-                : options.hasOption( _useXbeanForXpath )
-                   ? FORCE_XBEAN
-                   : FORCE_NEITHER;
-
-        return getCompiledPath( pathExpr, force, getCurrentNodeVar( options ) );
-    }
-
-    private static final int FORCE_XQRL    = 0;
-    private static final int FORCE_XBEAN   = 1;
-    private static final int FORCE_NEITHER = 2;
-
-
-    // TODO - This is a global lock ... make it not be a global lock?
-    static synchronized Path getCompiledPath ( String pathExpr, int force, String currentVar )
-    {
-        Path path = null;
-
-        // TODO - remove this when integrate xqrl
-        if (force == FORCE_XQRL)
-            throw new RuntimeException( "Not XQRL support yet" );
-
-        // TODO - when integrate xqrl, add this back
-//        if (force != FORCE_XQRL)
-            path = (Path) _xbeanPathCache.get( pathExpr );
-
-        // Check for other engine caches here .. make sure to check  force
-
-        // Could not find the path in the caches, try to compile it
-            
-        if (path == null && force != FORCE_XQRL)
-        {
-            path = XbeanPath.create( pathExpr, currentVar );
-
-            if (path != null)
-                _xbeanPathCache.put( pathExpr, path );
-        }
-
-        // TODO - for xqrl integ, check for null and try to compile
-        
-        if (path == null)
-            throw new RuntimeException( "XQRL no integrated yet, path too complex or invalid" );
-
-        return path;
-   }
-    
-    public static synchronized String compilePath ( String pathExpr, XmlOptions options )
-    {
-        return getCompiledPath( pathExpr, options )._pathKey;
-    }
-
-    //
-    // Xbean store specific implementation of compiled path
-    //
-
-    private static final class XbeanPath extends Path
-    {
-        static Path create ( String pathExpr, String currentVar )
-        {
-            try
-            {
-                return
-                    new XbeanPath(
-                        pathExpr, currentVar, XPath.compileXPath( pathExpr, currentVar ) );
-            }
-            catch ( XPathCompileException e )
-            {
-                return null;
-            }
-        }
-        
-        private XbeanPath ( String pathExpr, String currentVar, XPath xpath )
-        {
-            super( pathExpr );
-
-            _currentVar = currentVar;
-            _compiledPath = xpath;
-        }
-        
-        PathEngine execute ( Cur c )
-        {
-            // The builtin XPath engine works only on containers.  Delegate to
-            // xqrl otherwise.  Also, if the path had a //. at the end, the
-            // simple xpath engine can't do the generate case, it only handles
-            // attrs and elements.
-
-            if (!c.isContainer() || _compiledPath.sawDeepDot())
-                return getCompiledPath( _pathKey, FORCE_XQRL, _currentVar ).execute( c );
-
-            return new XbeanPathEngine( _compiledPath, c );
-        }
-
-        private final String _currentVar;
-        private final XPath  _compiledPath;
-    }
-
-    private static final class XbeanPathEngine extends ExecutionContext implements PathEngine
-    {
-        XbeanPathEngine ( XPath xpath, Cur c )
-        {
-            assert c.isContainer();
-            
-            _version = c._locale.version();
-            _cur = c.weakCur( this );
-
-            _cur.push();
-            
-            init( xpath );
-
-            int ret = start();
-
-            if ((ret & HIT) != 0)
-                c.addToSelection();
-
-            doAttrs( ret, c );
-
-            if ((ret & DESCEND) == 0 || !Locale.toFirstChildElement( _cur ))
-                release();
-        }
-
-        private void advance ( Cur c )
-        {
-            assert _cur != null;
-
-            if (_cur.isFinish())
-            {
-                if (_cur.isAtEndOfLastPush())
-                    release();
-                else
-                {
-                    end();
-                    _cur.next();
-                }
-            }
-            else if (_cur.isElem())
-            {
-                int ret = element( _cur.getName() );
-                
-                if ((ret & HIT) != 0)
-                    c.addToSelection( _cur );
-
-                doAttrs( ret, c );
-                
-                if ((ret & DESCEND) == 0 || !Locale.toFirstChildElement( _cur ))
-                    _cur.skip();
-            }
-            else
-                _cur.next();
-        }
-        
-        private void doAttrs ( int ret, Cur c )
-        {
-            assert _cur.isContainer();
-            
-            if ((ret & ATTRS) != 0)
-            {
-                if (_cur.toFirstAttr())
-                {
-                    do
-                    {
-                        if (attr( _cur.getName() ))
-                            c.addToSelection( _cur );
-                    }
-                    while ( _cur.toNextAttr() );
-
-                    _cur.toParent();
-                }
-            }
-        }
-
-        public boolean next ( Cur c )
-        {
-            if (_version != _cur._locale.version())
-                throw new ConcurrentModificationException( "Document changed during select" );
-            
-            int startCount = c.selectionCount();
-
-            while ( _cur != null )
-            {
-                advance( c );
-
-                if (startCount != c.selectionCount())
-                    return true;
-            }
-
-            return false;
-        }
-
-        public void release( )
-        {
-            if (_cur != null)
-            {
-                _cur.release();
-                _cur = null;
-            }
-        }
-        
-        private final long _version;
-        private       Cur  _cur;
-    }
-
-    //
-    //
-    //
-
-    private static String getCurrentNodeVar ( XmlOptions options )
-    {
-        String currentNodeVar = "this";
-
-        options = XmlOptions.maskNull( options );
-        
-        if (options.hasOption( XmlOptions.XQUERY_CURRENT_NODE_VAR ))
-        {
-            currentNodeVar = (String) options.get( XmlOptions.XQUERY_CURRENT_NODE_VAR );
-
-            if (currentNodeVar.startsWith( "$" ))
-            {
-                throw
-                    new IllegalArgumentException(
-                        "Omit the '$' prefix for the current node variable" );
-            }
-        }
-
-        return currentNodeVar;
-    }
-
-    //
-    //
-    //
-    
-    protected final String _pathKey;
-    
-    private static HashMap _xbeanPathCache = new HashMap();
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Public2.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Public2.java
deleted file mode 100755
index a254791..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Public2.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import javax.xml.stream.XMLStreamReader;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.IOException;
-
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Node;
-import org.w3c.dom.Document;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-
-import java.io.PrintStream;
-
-import org.apache.xmlbeans.impl.newstore2.DomImpl.Dom;
-
-import org.apache.xmlbeans.impl.newstore2.Saver.TextSaver;
-
-import org.apache.xmlbeans.impl.values.TypeStore;
-import org.apache.xmlbeans.impl.values.TypeStoreUser;
-import org.apache.xmlbeans.impl.values.TypeStoreVisitor;
-import org.apache.xmlbeans.impl.values.TypeStoreUserFactory;
-
-import org.apache.xmlbeans.SchemaType;
-
-import org.apache.xmlbeans.impl.values.NamespaceManager;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.SchemaField;
-
-import org.apache.xmlbeans.QNameSet;
-
-public final class Public2
-{
-    public static final String SAAJ_IMPL = "SAAJ_IMPL";
-    
-    private static Locale newLocale ( Saaj saaj )
-    {
-        XmlOptions options = null;
-        
-        if (saaj != null)
-        {
-            options = new XmlOptions();
-            options.put( SAAJ_IMPL, saaj );
-        }
-        
-        return Locale.getLocale( null, options );
-    }
-
-    public static void setSync ( Document doc, boolean sync )
-    {
-        assert doc instanceof Dom;
-
-        Locale l = ((Dom) doc).locale();
-
-        l._noSync = ! sync;
-    }
-
-    public static String compilePath ( String path, XmlOptions options )
-    {
-        return Path.compilePath( path, options );
-    }
-
-    public static DOMImplementation getDomImplementation ( )
-    {
-        return newLocale( null );
-    }
-    
-    public static DOMImplementation getDomImplementation ( Saaj saaj )
-    {
-        return newLocale( saaj );
-    }
-    
-    public static Document parse ( String s )
-    {
-        Locale l = newLocale( null );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = l.load( s ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = l.load( s ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Document parse ( String s, XmlOptions options )
-    {
-        Locale l = newLocale( null );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = l.load( s, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = l.load( s, options ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Document parse ( String s, Saaj saaj )
-    {
-        Locale l = newLocale( saaj );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = l.load( s ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = l.load( s ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Document parse ( InputStream is, XmlOptions options )
-    {
-        Locale l = newLocale( null );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = l.load( is, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = l.load( is, options ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Document parse ( InputStream is, Saaj saaj )
-    {
-        Locale l = newLocale( saaj );
-
-        Dom d;
-
-        if (l.noSync())         { l.enter(); try { d = l.load( is ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { d = l.load( is ); } finally { l.exit(); } }
-
-        return (Document) d;
-    }
-    
-    public static Node getNode ( XMLStreamReader s )
-    {
-        return Jsr173.nodeFromStream( s );
-    }
-    
-    public static XMLStreamReader getStream ( Node n )
-    {
-        assert n instanceof Dom;
-
-        Dom d = (Dom) n;
-        
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { return DomImpl.getXmlStreamReader( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return DomImpl.getXmlStreamReader( d ); } finally { l.exit(); } }
-    }
-
-    public static String save ( Node n )
-    {
-        return save( n, null );
-    }
-    
-    public static void save ( Node n, OutputStream os, XmlOptions options ) throws IOException
-    {
-        XmlCursor c = getCursor( n );
-
-        c.save( os, options );
-
-        c.dispose();
-    }
-    
-    public static String save ( Node n, XmlOptions options )
-    {
-        assert n instanceof Dom;
-
-        Dom d = (Dom) n;
-        
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { return saveImpl( d, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return saveImpl( d, options ); } finally { l.exit(); } }
-    }
-    
-    private static String saveImpl ( Dom d, XmlOptions options )
-    {
-        Cur c = d.tempCur();
-        
-        String s = new TextSaver( c, options, null ).saveToString();
-
-        c.release();
-
-        return s;
-    }
-    
-    public static String save ( XmlCursor c )
-    {
-        return save( c, null );
-    }
-    
-    public static String save ( XmlCursor xc, XmlOptions options )
-    {
-        Cursor cursor = (Cursor) xc;
-        
-        Locale l = cursor.locale();
-
-        if (l.noSync())         { l.enter(); try { return saveImpl( cursor, options ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return saveImpl( cursor, options ); } finally { l.exit(); } }
-    }
-    
-    private static String saveImpl ( Cursor cursor, XmlOptions options )
-    {
-        Cur c = cursor.tempCur();
-
-        String s = new TextSaver( c, options, null ).saveToString();
-        
-        c.release();
-
-        return s;
-    }
-    
-    public static XmlCursor newStore ( )
-    {
-        return newStore( null );
-    }
-    
-    public static XmlCursor newStore ( Saaj saaj )
-    {
-        Locale l = newLocale( saaj );
-
-        Cur c = l.permCur();
-
-        c.createRoot();
-
-        Cursor cursor = new Cursor( c );
-
-        c.release();
-
-        return cursor;
-    }
-
-    public static XmlCursor getCursor ( Node n )
-    {
-        assert n instanceof Dom;
-
-        Dom d = (Dom) n;
-
-        Locale l = d.locale();
-
-        if (l.noSync())         { l.enter(); try { return DomImpl.getXmlCursor( d ); } finally { l.exit(); } }
-        else synchronized ( l ) { l.enter(); try { return DomImpl.getXmlCursor( d ); } finally { l.exit(); } }
-    }
-    
-    public static void dump ( PrintStream o, Dom d )
-    {
-        d.dump( o );
-    }
-
-    public static void dump ( PrintStream o, Node n )
-    {
-        dump( o, (Dom) n );
-    }
-
-    public static void dump ( PrintStream o, XmlCursor c )
-    {
-        ((Cursor) c).dump( o );
-    }
-
-    public static void dump ( Dom  d )      { dump( System.out, d ); }
-    public static void dump ( Node n )      { dump( System.out, n ); }
-    public static void dump ( XmlCursor c ) { dump( System.out, c ); }
-
-    public static void test ( ) throws Exception
-    {
-        Locale l1 = newLocale( null );
-
-        Cur c = l1.tempCur();
-        c.next();
-        c.createElement( new QName( "foo" ) );
-
-        Locale lTo = newLocale( null );
-        Cur cTo = lTo.tempCur();
-        cTo.next();
-        c.moveNode( cTo );
-    }
-}
- 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/QNameFactory.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/QNameFactory.java
deleted file mode 100755
index 972b2e3..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/QNameFactory.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import javax.xml.namespace.QName;
-
-public interface QNameFactory
-{
-    public QName getQName ( String uri, String local );
-    
-    public QName getQName ( String uri, String local, String prefix );
-
-    public QName getQName (
-        char[] uriSrc,   int uriPos,   int uriCch,
-        char[] localSrc, int localPos, int localCch );
-    
-    public QName getQName (
-        char[] uriSrc,    int uriPos,    int uriCch,
-        char[] localSrc,  int localPos,  int localCch,
-        char[] prefixSrc, int prefixPos, int prefixCch );
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saaj.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saaj.java
deleted file mode 100755
index 99eade9..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saaj.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import javax.xml.namespace.QName;
-
-import java.util.Iterator;
-import java.util.Locale;
-
-import javax.xml.soap.Detail;
-import javax.xml.soap.DetailEntry;
-import javax.xml.soap.MimeHeaders;
-import javax.xml.soap.Name;
-import javax.xml.soap.SOAPBody;
-import javax.xml.soap.SOAPBodyElement;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPEnvelope;
-import javax.xml.soap.SOAPException;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPFault;
-import javax.xml.soap.SOAPHeader;
-import javax.xml.soap.SOAPHeaderElement;
-import javax.xml.soap.SOAPPart;
-
-import javax.xml.transform.Source;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.Element;
-import org.w3c.dom.Text;
-
-public interface Saaj
-{
-    public interface SaajCallback
-    {
-        void   setSaajData ( Node n, Object o );
-        Object getSaajData ( Node n );
-
-        Element createSoapElement ( QName name, QName parentName );
-
-        Element importSoapElement ( Document doc, Element elem, boolean deep, QName parentName );
-    }
-
-    void setCallback ( SaajCallback callback );
-
-    Class identifyElement ( QName name, QName parentName );
-    
-    void        soapNode_detachNode       ( javax.xml.soap.Node soapNode );
-    void        soapNode_recycleNode      ( javax.xml.soap.Node node );
-    String      soapNode_getValue         ( javax.xml.soap.Node node );
-    void        soapNode_setValue         ( javax.xml.soap.Node node, String value );
-    SOAPElement soapNode_getParentElement ( javax.xml.soap.Node node );
-    void        soapNode_setParentElement ( javax.xml.soap.Node node, SOAPElement soapElement );
-
-    void        soapElement_removeContents              ( SOAPElement soapElement );
-    String      soapElement_getEncodingStyle            ( SOAPElement soapElement );
-    void        soapElement_setEncodingStyle            ( SOAPElement soapElement, String encodingStyle );
-    boolean     soapElement_removeNamespaceDeclaration  ( SOAPElement soapElement, String prefix );
-    Iterator    soapElement_getAllAttributes            ( SOAPElement soapElement );
-    Iterator    soapElement_getChildElements            ( SOAPElement parent );
-    Iterator    soapElement_getNamespacePrefixes        ( SOAPElement soapElement );
-    SOAPElement soapElement_addAttribute                ( SOAPElement soapElement, Name name, String value ) throws SOAPException;
-    SOAPElement soapElement_addChildElement             ( SOAPElement parent, SOAPElement oldChild ) throws SOAPException;
-    SOAPElement soapElement_addChildElement             ( SOAPElement soapElement, Name name ) throws SOAPException;
-    SOAPElement soapElement_addChildElement             ( SOAPElement soapElement, String localName ) throws SOAPException;
-    SOAPElement soapElement_addChildElement             ( SOAPElement soapElement, String localName, String prefix ) throws SOAPException;
-    SOAPElement soapElement_addChildElement             ( SOAPElement soapElement, String localName, String prefix, String uri ) throws SOAPException;
-    SOAPElement soapElement_addNamespaceDeclaration     ( SOAPElement soapElement, String prefix, String uri );
-    SOAPElement soapElement_addTextNode                 ( SOAPElement soapElement, String data );
-    String      soapElement_getAttributeValue           ( SOAPElement soapElement, Name name );
-    Iterator    soapElement_getChildElements            ( SOAPElement parent, Name name );
-    Name        soapElement_getElementName              ( SOAPElement soapElement );
-    String      soapElement_getNamespaceURI             ( SOAPElement soapElement, String prefix );
-    Iterator    soapElement_getVisibleNamespacePrefixes ( SOAPElement soapElement );
-    boolean     soapElement_removeAttribute             ( SOAPElement soapElement, Name name );
-
-    SOAPBody   soapEnvelope_addBody    ( SOAPEnvelope soapEnvelope ) throws SOAPException;
-    SOAPBody   soapEnvelope_getBody    ( SOAPEnvelope soapEnvelope ) throws SOAPException;
-    SOAPHeader soapEnvelope_getHeader  ( SOAPEnvelope soapEnvelope ) throws SOAPException;
-    SOAPHeader soapEnvelope_addHeader  ( SOAPEnvelope soapEnvelope ) throws SOAPException;
-    Name       soapEnvelope_createName ( SOAPEnvelope soapEnvelope, String localName );
-    Name       soapEnvelope_createName ( SOAPEnvelope soapEnvelope, String localName, String prefix, String namespaceURI );
-
-    Iterator          soapHeader_examineAllHeaderElements            ( SOAPHeader soapHeader );
-    Iterator          soapHeader_extractAllHeaderElements            ( SOAPHeader soapHeader );
-    Iterator          soapHeader_examineHeaderElements               ( SOAPHeader soapHeader, String actor );
-    Iterator          soapHeader_examineMustUnderstandHeaderElements ( SOAPHeader soapHeader, String mustUnderstandString );
-    Iterator          soapHeader_extractHeaderElements               ( SOAPHeader soapHeader, String actor );
-    SOAPHeaderElement soapHeader_addHeaderElement                    ( SOAPHeader soapHeader, Name name );
-
-    void         soapPart_removeAllMimeHeaders      ( SOAPPart soapPart );
-    void         soapPart_removeMimeHeader          ( SOAPPart soapPart, String name );
-    Iterator     soapPart_getAllMimeHeaders         ( SOAPPart soapPart );
-    SOAPEnvelope soapPart_getEnvelope               ( SOAPPart soapPart );
-    Source       soapPart_getContent                ( SOAPPart soapPart );
-    void         soapPart_setContent                ( SOAPPart soapPart, Source source );
-    String[]     soapPart_getMimeHeader             ( SOAPPart soapPart, String name );
-    void         soapPart_addMimeHeader             ( SOAPPart soapPart, String name, String value );
-    void         soapPart_setMimeHeader             ( SOAPPart soapPart, String name, String value );
-    Iterator     soapPart_getMatchingMimeHeaders    ( SOAPPart soapPart, String[] names );
-    Iterator     soapPart_getNonMatchingMimeHeaders ( SOAPPart soapPart, String[] names );
-
-    boolean         soapBody_hasFault       ( SOAPBody soapBody );
-    SOAPFault       soapBody_addFault       ( SOAPBody soapBody ) throws SOAPException;
-    SOAPFault       soapBody_getFault       ( SOAPBody soapBody );
-    SOAPBodyElement soapBody_addBodyElement ( SOAPBody soapBody, Name name );
-    SOAPBodyElement soapBody_addDocument    ( SOAPBody soapBody, Document document );
-    SOAPFault       soapBody_addFault       ( SOAPBody soapBody, Name name, String s ) throws SOAPException;
-    SOAPFault       soapBody_addFault       ( SOAPBody soapBody, Name faultCode, String faultString, Locale locale ) throws SOAPException;
-
-    Detail   soapFault_addDetail            ( SOAPFault soapFault ) throws SOAPException;
-    Detail   soapFault_getDetail            ( SOAPFault soapFault );
-    String   soapFault_getFaultActor        ( SOAPFault soapFault );
-    String   soapFault_getFaultCode         ( SOAPFault soapFault );
-    Name     soapFault_getFaultCodeAsName   ( SOAPFault soapFault );
-    String   soapFault_getFaultString       ( SOAPFault soapFault );
-    Locale   soapFault_getFaultStringLocale ( SOAPFault soapFault );
-    void     soapFault_setFaultActor        ( SOAPFault soapFault, String faultActorString );
-    void     soapFault_setFaultCode         ( SOAPFault soapFault, Name faultCodeName ) throws SOAPException;
-    void     soapFault_setFaultCode         ( SOAPFault soapFault, String faultCode ) throws SOAPException;
-    void     soapFault_setFaultString       ( SOAPFault soapFault, String faultString );
-    void     soapFault_setFaultString       ( SOAPFault soapFault, String faultString, Locale locale );
-
-    void    soapHeaderElement_setMustUnderstand ( SOAPHeaderElement soapHeaderElement, boolean mustUnderstand );
-    boolean soapHeaderElement_getMustUnderstand ( SOAPHeaderElement soapHeaderElement );
-    void    soapHeaderElement_setActor          ( SOAPHeaderElement soapHeaderElement, String actor );
-    String  soapHeaderElement_getActor          ( SOAPHeaderElement soapHeaderElement );
-
-    boolean soapText_isComment (javax.xml.soap.Text text );
-
-    DetailEntry detail_addDetailEntry   ( Detail detail, Name name );
-    Iterator    detail_getDetailEntries ( Detail detail );
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saver.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saver.java
deleted file mode 100755
index d310ab6..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saver.java
+++ /dev/null
@@ -1,2566 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlOptions;
-
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.EncodingMap;
-
-import java.io.Writer;
-import java.io.Reader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.UnsupportedEncodingException;
-
-import java.util.Iterator;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.LinkedHashMap;
-import java.util.ConcurrentModificationException;
-
-abstract class Saver
-{
-    static final int ROOT     = Cur.ROOT;
-    static final int ELEM     = Cur.ELEM;
-    static final int ATTR     = Cur.ATTR;
-    static final int COMMENT  = Cur.COMMENT;
-    static final int PROCINST = Cur.PROCINST;
-    static final int TEXT     = Cur.TEXT;
-
-    protected abstract boolean emitElement ( SaveCur c, ArrayList attrNames, ArrayList attrValues );
-    protected abstract void emitFinish     ( SaveCur c );
-    protected abstract void emitText       ( SaveCur c );
-    protected abstract void emitComment    ( SaveCur c );
-    protected abstract void emitProcinst   ( SaveCur c );
-
-    protected void syntheticNamespace ( String prefix, String uri, boolean considerDefault ) { }
-
-    Saver ( Cur c, XmlOptions options )
-    {
-        options = XmlOptions.maskNull( options );
-        
-        _cur = createSaveCur( c, options );
-
-        _locale = c._locale;
-        _version = _locale.version();
-
-        _namespaceStack = new ArrayList();
-        _uriMap = new HashMap();
-        _prefixMap = new HashMap();
-
-        _attrNames = new ArrayList();
-        _attrValues = new ArrayList ();
-
-        // Define implicit xml prefixed namespace
-        
-        addMapping( "xml", Locale._xml1998Uri );
-
-        if (options.hasOption( XmlOptions.SAVE_IMPLICIT_NAMESPACES ))
-        {
-            Map m = (Map) options.get( XmlOptions.SAVE_IMPLICIT_NAMESPACES );
-            
-            for ( Iterator i = m.keySet().iterator() ; i.hasNext() ; )
-            {
-                String prefix = (String) i.next();
-                addMapping( prefix, (String) m.get( prefix ) );
-            }
-        }
-
-        // If the default prefix has not been mapped, do so now
-        
-        if (getNamespaceForPrefix( "" ) == null)
-        {
-            _initialDefaultUri = new String( "" );
-            addMapping( "", _initialDefaultUri );
-        }
-        
-        if (options.hasOption( XmlOptions.SAVE_AGGRESSIVE_NAMESPACES ) &&
-                !(this instanceof SynthNamespaceSaver))
-        {
-            SynthNamespaceSaver saver = new SynthNamespaceSaver( c, options );
-
-            while ( saver.process() )
-                ;
-
-            if (!saver._synthNamespaces.isEmpty())
-                _preComputedNamespaces = saver._synthNamespaces;
-        }
-        
-        _useDefaultNamespace =
-            options.hasOption( XmlOptions.SAVE_USE_DEFAULT_NAMESPACE );
-
-        _saveNamespacesFirst = options.hasOption( XmlOptions.SAVE_NAMESPACES_FIRST );
-        
-        if (options.hasOption( XmlOptions.SAVE_SUGGESTED_PREFIXES ))
-            _suggestedPrefixes = (Map) options.get( XmlOptions.SAVE_SUGGESTED_PREFIXES);
-        
-        _ancestorNamespaces = _cur.getAncestorNamespaces();
-    }
-
-    private static SaveCur createSaveCur ( Cur c, XmlOptions options )
-    {
-        QName synthName = (QName) options.get( XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT );
-
-        QName fragName = synthName;
-
-        if (fragName == null)
-        {
-            fragName = 
-                options.hasOption( XmlOptions.SAVE_USE_OPEN_FRAGMENT )
-                    ? Locale._openuriFragment
-                    : Locale._xmlFragment;
-        }
-
-        boolean saveInner = 
-            options.hasOption( XmlOptions.SAVE_INNER ) &&
-                !options.hasOption( XmlOptions.SAVE_OUTER );
-
-        Cur start = c.tempCur();
-        Cur end   = c.tempCur();
-
-        SaveCur cur = null;
-
-        int k = c.kind();
-
-        switch ( k )
-        {
-        case ROOT :
-        {
-            positionToInner( c, start, end );
-
-            if (isFragment( start, end ))
-            {
-                positionToInner( c, start, end );
-                cur = new FragSaveCur( start, end, fragName );
-            }
-            else if (synthName != null)
-            {
-                positionToInner( c, start, end );
-                cur = new FragSaveCur( start, end, synthName );
-            }
-            else
-                cur = new DocSaveCur( c );
-
-            break;
-        }
-        
-        case ELEM :
-        {
-            if (saveInner)
-            {
-                positionToInner( c, start, end );
-                boolean isFrag = isFragment( start, end );
-                cur = new FragSaveCur( start, end, isFragment( start, end ) ? fragName : synthName);
-            }
-            else if (synthName != null)
-            {
-                positionToInner( c, start, end );
-                cur = new FragSaveCur( start, end, synthName );
-            }
-            else
-            {
-                start.moveToCur( c );
-                end.moveToCur( c );
-                end.skip();
-
-                cur = new FragSaveCur( start, end, null );
-            }
-
-            break;
-        }
-        }
-
-        if (cur == null)
-        {
-            assert k < 0 || k == ATTR || k == COMMENT || k == PROCINST || k == TEXT;
-
-            if (k < 0)
-            {
-                // Save out ""
-                start.moveToCur( c );
-                end.moveToCur( c );
-            }
-            else if (k == TEXT)
-            {
-                start.moveToCur( c );
-                end.moveToCur( c );
-                end.next();
-            }
-            else if (saveInner)
-            {
-                start.moveToCur( c );
-                start.next();
-                
-                end.moveToCur( c );
-                end.toEnd();
-            }
-            else if (k == ATTR)
-            {
-                start.moveToCur( c );
-                end.moveToCur( c );
-            }
-            else
-            {
-                assert k == COMMENT || k == PROCINST;
-                
-                start.moveToCur( c );
-                end.moveToCur( c );
-                end.skip();
-            }
-
-            cur = new FragSaveCur( start, end, fragName );
-        }
-
-        String filterPI = (String) options.get( XmlOptions.SAVE_FILTER_PROCINST );
-
-        if (filterPI != null)
-            cur = new FilterPiSaveCur( cur, filterPI );
-
-        if (options.hasOption( XmlOptions.SAVE_PRETTY_PRINT ))
-            cur = new PrettySaveCur( cur, options );
-
-        start.release();
-        end.release();
-
-        return cur;
-    }
-
-    private static void positionToInner ( Cur c, Cur start, Cur end )
-    {
-        assert c.isContainer();
-
-        start.moveToCur( c );
-
-        if (!start.toFirstAttr())
-            start.next();
-
-        end.moveToCur( c );
-        end.toEnd();
-    }
-
-    private static boolean isFragment ( Cur start, Cur end )
-    {
-        assert !end.isAttr();
-
-        int numDocElems = 0;
-        
-        while ( ! start.isSamePos( end ) )
-        {
-            int k = start.kind();
-
-            if (k == ATTR)
-                break;
-            
-            if (k == TEXT && !Locale.isWhiteSpace( start.getString( -1 )))
-                break;
-
-            if (k == ELEM && ++numDocElems > 1)
-                break;
-
-            // Move to next token
-
-            assert k != ATTR;
-            
-            if (k != TEXT)
-                start.toEnd();
-            
-            start.next();
-        }
-
-        return numDocElems != 1;
-    }
-
-    protected boolean saveNamespacesFirst ( )
-    {
-        return _saveNamespacesFirst;
-    }
-
-    protected final boolean process ( )
-    {
-        assert _locale.entered();
-
-        if (_cur == null)
-            return false;
-        
-        if (_version != _locale.version())
-            throw new ConcurrentModificationException( "Document changed during save" );
-        
-        switch ( _cur.kind() )
-        {
-            case   ROOT     : {                                       break; }
-            case   ELEM     : { processElement();                     break; }
-            case - ELEM     : { processFinish ();                     break; }
-            case   TEXT     : { emitText      ( _cur );               break; }
-            case   COMMENT  : { emitComment   ( _cur ); _cur.toEnd(); break; }
-            case   PROCINST : { emitProcinst  ( _cur ); _cur.toEnd(); break; }
-                              
-            case - ROOT :
-            {
-                _cur.release();
-                _cur = null;
-                
-                return false;
-            }
-                
-            default : throw new RuntimeException( "Unexpected kind" );
-        }
-
-        _cur.next();
-        
-        return true;
-    }
-
-    private final void processFinish ( )
-    {
-        emitFinish( _cur );
-        popMappings();
-    }
-    
-    private final void processElement ( )
-    {
-        assert _cur.isElem() && _cur.getName() != null;
-
-        QName name = _cur.getName();
-
-        // TODO - check for doctype to save out here
-        // TODO - check for doctype to save out here
-        // TODO - check for doctype to save out here
-
-        ;
-
-        // Add a new entry to the frontier.  If this element has a name
-        // which has no namespace, then we must make sure that pushing
-        // the mappings causes the default namespace to be empty
-
-        boolean ensureDefaultEmpty = name.getNamespaceURI().length() == 0;
-
-        pushMappings( _cur, ensureDefaultEmpty );
-
-        //
-        // There are four things which use mappings:
-        //
-        //   1) The element name
-        //   2) The element value (qname based)
-        //   3) Attribute names
-        //   4) The attribute values (qname based)
-        //
-
-        // 1) The element name (not for starts)
-
-        ensureMapping( name.getNamespaceURI(), name.getPrefix(), !ensureDefaultEmpty, false );
-
-        //
-        //
-        //
-
-        _attrNames.clear();
-        _attrValues.clear();
-
-        _cur.push();
-
-        attrs:
-        for ( boolean A = _cur.toFirstAttr() ; A ; A = _cur.toNextAttr() )
-        {
-            if (_cur.isNormalAttr())
-            {
-                QName attrName = _cur.getName();
-
-                _attrNames.add( attrName );
-                               
-                for ( int i = _attrNames.size() - 2 ; i >= 0 ; i-- )
-                {
-                    if (_attrNames.get( i ).equals( attrName ))
-                    {
-                        _attrNames.remove( _attrNames.size() - 1 );
-                        continue attrs;
-                    }
-                }
-
-                _attrValues.add( _cur.getAttrValue() );
-                
-                ensureMapping( attrName.getNamespaceURI(), attrName.getPrefix(), false, true );
-            }
-        }
-        
-        _cur.pop();
-
-        // If I am doing aggressive namespaces and we're emitting a
-        // container which can contain content, add the namespaces
-        // we've computed.  Basically, I'm making sure the pre-computed
-        // namespaces are mapped on the first container which has a name.
-
-        if (_preComputedNamespaces != null)
-        {
-            for ( Iterator i = _preComputedNamespaces.keySet().iterator() ; i.hasNext() ; )
-            {
-                String uri = (String) i.next();
-                String prefix = (String) _preComputedNamespaces.get( uri );
-                boolean considerDefault = prefix.length() == 0 && !ensureDefaultEmpty;
-                
-                ensureMapping( uri, prefix, considerDefault, false );
-            }
-
-            // Set to null so we do this once at the top
-            _preComputedNamespaces = null;
-        }
-
-        if (emitElement( _cur, _attrNames, _attrValues ))
-        {
-            popMappings();
-            _cur.toEnd();
-        }
-    }
-
-    //
-    // Layout of namespace stack:
-    //
-    //    URI Undo
-    //    URI Rename
-    //    Prefix Undo
-    //    Mapping
-    //
-
-    boolean hasMappings ( )
-    {
-        int i = _namespaceStack.size();
-
-        return i > 0 && _namespaceStack.get( i - 1 ) != null;
-    }
-
-    void iterateMappings ( )
-    {
-        _currentMapping = _namespaceStack.size();
-
-        while ( _currentMapping > 0 &&
-                  _namespaceStack.get( _currentMapping - 1 ) != null )
-        {
-            _currentMapping -= 8;
-        }
-    }
-
-    boolean hasMapping ( )
-    {
-        return _currentMapping < _namespaceStack.size();
-    }
-
-    void nextMapping ( )
-    {
-        _currentMapping += 8;
-    }
-
-    String mappingPrefix ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 6 );
-    }
-
-    String mappingUri ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 7 );
-    }
-
-    String mappingPrevPrefixUri ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 5 );
-    }
-
-    private final void pushMappings ( SaveCur c, boolean ensureDefaultEmpty )
-    {
-        assert c.isContainer();
-        
-        _namespaceStack.add( null );
-
-        c.push();
-
-        namespaces:
-        for ( boolean A = c.toFirstAttr() ; A ; A = c.toNextAttr() )
-        {
-            if (c.isXmlns())
-            {
-                String prefix = c.getXmlnsPrefix();
-                String uri = c.getXmlnsUri();
-
-                if (!ensureDefaultEmpty || prefix.length() > 0 || uri.length() == 0)
-                    addNewFrameMapping( prefix, uri );
-            }
-        }
-
-        c.pop();
-
-        if (_ancestorNamespaces != null)
-        {
-            for ( int i = 0 ; i < _ancestorNamespaces.size() ; i += 2 )
-            {
-                String prefix = (String) _ancestorNamespaces.get( i );
-                String uri    = (String) _ancestorNamespaces.get( i + 1 );
-                
-                if (!ensureDefaultEmpty || prefix.length() > 0 || uri.length() == 0)
-                    addNewFrameMapping( prefix, uri );
-            }
-
-            _ancestorNamespaces = null;
-        }
-        
-        if (ensureDefaultEmpty)
-        {
-            String defaultUri = (String) _prefixMap.get( "" );
-
-            // I map the default to "" at the very beginning
-            assert defaultUri != null;
-
-            if (defaultUri.length() > 0)
-                addMapping( "", "" );
-        }
-    }
-
-    private final void addNewFrameMapping ( String prefix, String uri )
-    {
-        // Make sure the prefix is not already mapped in this frame
-
-        for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            if (mappingPrefix().equals( prefix ))
-                return;;
-
-        addMapping( prefix, uri );
-    }
-
-    private final void addMapping ( String prefix, String uri )
-    {
-        assert uri != null;
-        assert prefix != null;
-
-        // If the prefix being mapped here is already mapped to a uri,
-        // that uri will either go out of scope or be mapped to another
-        // prefix.
-
-        String renameUri = (String) _prefixMap.get( prefix );
-        String renamePrefix = null;
-
-        if (renameUri != null)
-        {
-            // See if this prefix is already mapped to this uri.  If
-            // so, then add to the stack, but there is nothing to rename
-        
-            if (renameUri.equals( uri ))
-                renameUri = null;
-            else
-            {
-                int i = _namespaceStack.size();
-
-                while ( i > 0 )
-                {
-                    if (_namespaceStack.get( i - 1 ) == null)
-                    {
-                        i--;
-                        continue;
-                    }
-
-                    if (_namespaceStack.get( i - 7 ).equals( renameUri ))
-                    {
-                        renamePrefix = (String) _namespaceStack.get( i - 8 );
-
-                        if (renamePrefix == null || !renamePrefix.equals( prefix ))
-                            break;
-                    }
-
-                    i -= 8;
-                }
-
-                assert i > 0;
-            }
-        }
-
-        _namespaceStack.add( _uriMap.get( uri ) );
-        _namespaceStack.add( uri );
-
-        if (renameUri != null)
-        {
-            _namespaceStack.add( _uriMap.get( renameUri ) );
-            _namespaceStack.add( renameUri );
-        }
-        else
-        {
-            _namespaceStack.add( null );
-            _namespaceStack.add( null );
-        }
-
-        _namespaceStack.add( prefix );
-        _namespaceStack.add( _prefixMap.get( prefix ) );
-
-        _namespaceStack.add( prefix );
-        _namespaceStack.add( uri );
-
-        _uriMap.put( uri, prefix );
-        _prefixMap.put( prefix, uri );
-
-        if (renameUri != null)
-            _uriMap.put( renameUri, renamePrefix );
-    }
-    
-    private final void popMappings ( )
-    {
-        for ( ; ; )
-        {
-            int i = _namespaceStack.size();
-
-            if (i == 0)
-                break;
-
-            if (_namespaceStack.get( i - 1 ) == null)
-            {
-                _namespaceStack.remove( i - 1 );
-                break;
-            }
-
-            Object oldUri = _namespaceStack.get( i - 7 ); 
-            Object oldPrefix = _namespaceStack.get( i - 8 ); 
-
-            if (oldPrefix == null) 
-                _uriMap.remove( oldUri ); 
-            else 
-                _uriMap.put( oldUri, oldPrefix ); 
-
-            oldPrefix = _namespaceStack.get( i - 4 ); 
-            oldUri = _namespaceStack.get( i - 3 ); 
-
-            if (oldUri == null) 
-                _prefixMap.remove( oldPrefix ); 
-            else 
-                _prefixMap.put( oldPrefix, oldUri ); 
-
-            String uri = (String) _namespaceStack.get( i - 5 );
-
-            if (uri != null)
-                _uriMap.put( uri, _namespaceStack.get( i - 6 ) );
-
-            // Hahahahahaha -- :-(
-            _namespaceStack.remove( i - 1 );
-            _namespaceStack.remove( i - 2 );
-            _namespaceStack.remove( i - 3 );
-            _namespaceStack.remove( i - 4 );
-            _namespaceStack.remove( i - 5 );
-            _namespaceStack.remove( i - 6 );
-            _namespaceStack.remove( i - 7 );
-            _namespaceStack.remove( i - 8 );
-        }
-    }
-    
-    private final void dumpMappings ( )
-    {
-        for ( int i = _namespaceStack.size() ; i > 0 ; )
-        {
-            if (_namespaceStack.get( i - 1 ) == null)
-            {
-                System.out.println( "----------------" );
-                i--;
-                continue;
-            }
-
-            System.out.print( "Mapping: " );
-            System.out.print( _namespaceStack.get( i - 2 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 1 ) );
-            System.out.println();
-
-            System.out.print( "Prefix Undo: " );
-            System.out.print( _namespaceStack.get( i - 4 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 3 ) );
-            System.out.println();
-
-            System.out.print( "Uri Rename: " );
-            System.out.print( _namespaceStack.get( i - 5 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 6 ) );
-            System.out.println();
-
-            System.out.print( "UriUndo: " );
-            System.out.print( _namespaceStack.get( i - 7 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 8 ) );
-            System.out.println();
-
-            System.out.println();
-
-            i -= 8;
-        }
-    }
-
-    private final String ensureMapping (
-        String uri, String candidatePrefix,
-        boolean considerCreatingDefault, boolean mustHavePrefix )
-    {
-        assert uri != null;
-
-        // Can be called for no-namespaced things
-
-        if (uri.length() == 0)
-            return null;
-
-        String prefix = (String) _uriMap.get( uri );
-
-        if (prefix != null && (prefix.length() > 0 || !mustHavePrefix))
-            return prefix;
-
-        //
-        // I try prefixes from a number of places, in order:
-        //
-        //  1) What was passed in
-        //  2) The optional suggestions (for uri's)
-        //  3) The default mapping is allowed
-        //  4) ns#++
-        //
-        
-        if (candidatePrefix != null && candidatePrefix.length() == 0)
-            candidatePrefix = null;
-        
-        if (candidatePrefix == null || !tryPrefix( candidatePrefix ))
-        {
-            if (_suggestedPrefixes != null &&
-                    _suggestedPrefixes.containsKey( uri ) &&
-                        tryPrefix( (String) _suggestedPrefixes.get( uri ) ))
-            {
-                candidatePrefix = (String) _suggestedPrefixes.get( uri );
-            }
-            else if (considerCreatingDefault && _useDefaultNamespace && tryPrefix( "" ))
-                candidatePrefix = "";
-            else
-            {
-                String basePrefix = QNameHelper.suggestPrefix( uri );
-                candidatePrefix = basePrefix;
-                
-                for ( int i = 1 ; ; i++ )
-                {
-                    if (tryPrefix( candidatePrefix ))
-                        break;
-                    
-                    candidatePrefix = basePrefix + i;
-                }
-            }
-        }
-
-        assert candidatePrefix != null;
-
-        syntheticNamespace( candidatePrefix, uri, considerCreatingDefault );
-
-        addMapping( candidatePrefix, uri );
-
-        return candidatePrefix;
-    }
-    
-    protected final String getUriMapping ( String uri )
-    {
-        assert _uriMap.get( uri ) != null;
-        return (String) _uriMap.get( uri );
-    }
-
-    private final boolean tryPrefix ( String prefix )
-    {
-        if (prefix == null || Locale.beginsWithXml( prefix ))
-            return false;
-
-        String existingUri = (String) _prefixMap.get( prefix );
-
-        // If the prefix is currently mapped, then try another prefix.  A
-        // special case is that of trying to map the default prefix ("").
-        // Here, there always exists a default mapping.  If this is the
-        // mapping we found, then remap it anyways. I use != to compare
-        // strings because I want to test for the specific initial default
-        // uri I added when I initialized the saver.
-
-        if (existingUri != null && (prefix.length() > 0 || existingUri != _initialDefaultUri))
-            return false;
-
-        return true;
-    }
-
-    public final String getNamespaceForPrefix ( String prefix )
-    {
-        assert !prefix.equals( "xml" ) || _prefixMap.get( prefix ).equals( Locale._xml1998Uri );
-        
-        return (String) _prefixMap.get( prefix );
-    }
-
-    //
-    //
-    //
-    
-    static final class SynthNamespaceSaver extends Saver
-    {
-        LinkedHashMap _synthNamespaces = new LinkedHashMap();
-        
-        SynthNamespaceSaver ( Cur c, XmlOptions options )
-        {
-            super( c, options );
-        }
-        
-        protected void syntheticNamespace (
-            String prefix, String uri, boolean considerCreatingDefault )
-        {
-            _synthNamespaces.put( uri, considerCreatingDefault ? "" : prefix );
-        }
-        
-        protected boolean emitElement (
-            SaveCur c, ArrayList attrNames, ArrayList attrValues ) { return false; }
-        
-        protected void emitFinish    ( SaveCur c ) { }
-        protected void emitText      ( SaveCur c ) { }
-        protected void emitComment   ( SaveCur c ) { }
-        protected void emitProcinst  ( SaveCur c ) { }
-    }
-
-    //
-    //
-    //
-
-    static final class TextSaver extends Saver
-    {
-        TextSaver ( Cur c, XmlOptions options, String encoding )
-        {
-            super( c, options );
-
-            boolean noSaveDecl =
-                options != null && options.hasOption( XmlOptions.SAVE_NO_XML_DECL );
-            
-            if (encoding != null && !noSaveDecl)
-            {
-                XmlDocumentProperties props = Locale.getDocProps( c, false );
-                
-                String version = props == null ? null : props.getVersion();
-
-                if (version == null)
-                    version = "1.0";
-                
-                emit( "<?xml version=\"" );
-                emit( version );
-                emit( "\" encoding=\"" + encoding + "\"?>" + _newLine );
-            }
-        }
-        
-        protected boolean emitElement (
-            SaveCur c, ArrayList attrNames, ArrayList attrValues )
-        {
-            assert c.isElem();
-
-            emit( '<' );
-            emitName( c.getName() );
-
-            if (saveNamespacesFirst())
-                emitNamespacesHelper();
-
-            for ( int i = 0 ; i < attrNames.size() ; i++ )
-                emitAttrHelper( (QName) attrNames.get( i ), (String) attrValues.get( i ) );
-
-            if (!saveNamespacesFirst())
-                emitNamespacesHelper();
-
-            if (!c.hasChildren() && !c.hasText())
-            {
-                emit( "/>" );
-                return true;
-            }
-            else
-            {
-                emit( '>' );
-                return false;
-            }
-        }
-        
-        protected void emitFinish ( SaveCur c )
-        {
-            emit( "</" );
-            emitName( c.getName() );
-            emit( '>' );
-        }
-        
-        protected void emitXmlns ( String prefix, String uri )
-        {
-            assert prefix != null;
-            assert uri != null;
-
-            emit( "xmlns" );
-
-            if (prefix.length() > 0)
-            {
-                emit( ":" );
-                emit( prefix );
-            }
-
-            emit( "=\"" );
-
-            // TODO - must encode uri properly
-
-            emit( uri );
-            entitizeAttrValue();
-
-            emit( '"' );
-        }
-
-        private void emitNamespacesHelper ( )
-        {
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            {
-                emit( ' ' );
-                emitXmlns( mappingPrefix(), mappingUri() );
-            }
-        }
-                                     
-        private void emitAttrHelper ( QName attrName, String attrValue )
-        {
-            emit( ' ' );
-            emitName( attrName );
-            emit( "=\"" );
-            emit( attrValue );
-            entitizeAttrValue();
-            emit( '"' );
-        }
-
-        protected void emitText ( SaveCur c )
-        {
-            assert c.isText();
-            
-            emit( c );
-
-            entitizeContent();
-        }
-        
-        protected void emitComment ( SaveCur c )
-        {
-            assert c.isComment();
-
-            emit( "<!--" );
-
-            c.push();
-            c.next();
-
-            emit( c );
-
-            c.pop();
-            
-            entitizeComment();
-            emit( "-->" );
-        }
-
-        protected void emitProcinst ( SaveCur c )
-        {
-            assert c.isProcinst();
-            
-            emit( "<?" );
-            
-            // TODO - encoding issues here?
-            emit( c.getName().getLocalPart() );
-
-            c.push();
-
-            c.next();
-
-            if (c.isText())
-            {
-                emit( " " );
-                emit( c );
-                entitizeProcinst();
-            }
-
-            c.pop();
-            
-            emit( "?>" );
-        }
-
-        //
-        //
-        //
-        
-        private void emitName ( QName name )
-        {
-            assert name != null;
-
-            String uri = name.getNamespaceURI();
-
-            assert uri != null;
-
-            if (uri.length() != 0)
-            {
-                String prefix = name.getPrefix();
-                String mappedUri = getNamespaceForPrefix( prefix );
-
-                if (mappedUri == null || !mappedUri.equals( uri ))
-                    prefix = getUriMapping( uri );
-
-                if (prefix.length() > 0)
-                {
-                    emit( prefix );
-                    emit( ":" );
-                }
-            }
-
-            assert name.getLocalPart().length() > 0;
-
-            emit( name.getLocalPart() );
-        }
-
-        private void emit ( char ch )
-        {
-            preEmit( 1 );
-
-            _buf[ _in ] = ch;
-
-            _in = (_in + 1) % _buf.length;
-        }
-        
-        private void emit ( String s )
-        {
-            int cch = s == null ? 0 : s.length();
-
-            if (preEmit( cch ))
-                return;
-
-            int chunk;
-
-            if (_in <= _out || cch < (chunk = _buf.length - _in))
-            {
-                s.getChars( 0, cch, _buf, _in );
-                _in += cch;
-            }
-            else
-            {
-                s.getChars( 0, chunk, _buf, _in );
-                s.getChars( chunk, cch, _buf, 0 );
-                _in = (_in + cch) % _buf.length;
-            }
-        }
-        
-        private void emit ( SaveCur c )
-        {
-            if (c.isText())
-            {
-                Object src = c.getChars();
-                int cch = c._cchSrc;
-                
-                if (preEmit( cch ))
-                    return;
-
-                int chunk;
-
-                if (_in <= _out || cch < (chunk = _buf.length - _in))
-                {
-                    CharUtil.getChars( _buf, _in, src, c._offSrc, cch );
-                    _in += cch;
-                }
-                else
-                {
-                    CharUtil.getChars( _buf, _in, src, c._offSrc, chunk );
-                    CharUtil.getChars( _buf, 0, src, c._offSrc + chunk, cch - chunk );
-                    _in = (_in + cch) % _buf.length;
-                }
-            }
-            else
-                preEmit( 0 );
-        }
-        
-        private boolean preEmit ( int cch )
-        {
-            assert cch >= 0;
-            
-            _lastEmitCch = cch;
-
-            if (cch == 0)
-                return true;
-
-            if (_free < cch)
-                resize( cch, -1 );
-
-            assert cch <= _free;
-
-            int used = getAvailable();
-
-            // if we are about to emit and there is noting in the buffer, reset
-            // the buffer to be at the beginning so as to not grow it anymore
-            // than needed.
-            
-            if (used == 0)
-            {
-                assert _in == _out;
-                assert _free == _buf.length;
-                _in = _out = 0;
-            }
-
-            _lastEmitIn = _in;
-
-            _free -= cch;
-            
-            assert _free >= 0;
-
-            return false;
-        }
-        
-        private void entitizeContent ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-            final int n = _buf.length;
-
-            boolean hasOutOfRange = false;
-            
-            int count = 0;
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (ch == '<' || ch == '&')
-                    count++;
-                else if (isBadChar( ch ))
-                    hasOutOfRange = true;
-
-                if (++i == n)
-                    i = 0;
-            }
-
-            if (count == 0 && !hasOutOfRange)
-                return;
-
-            i = _lastEmitIn;
-
-            //
-            // Heuristic for knowing when to save out stuff as a CDATA.
-            //
-
-            if (_lastEmitCch > 32 && count > 5 &&
-                  count * 100 / _lastEmitCch > 1)
-            {
-                boolean lastWasBracket = _buf[ i ] == ']';
-
-                i = replace( i, "<![CDATA[" + _buf[ i ] );
-
-                boolean secondToLastWasBracket = lastWasBracket;
-
-                lastWasBracket = _buf[ i ] == ']';
-
-                if (++i == _buf.length)
-                    i = 0;
-
-                for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-                {
-                    char ch = _buf[ i ];
-
-                    if (ch == '>' && secondToLastWasBracket && lastWasBracket)
-                        i = replace( i, "&gt;" );
-                    else if (isBadChar( ch ))
-                        i = replace( i, "?" );
-                    else
-                        i++;
-
-                    secondToLastWasBracket = lastWasBracket;
-                    lastWasBracket = ch == ']';
-
-                    if (i == _buf.length)
-                        i = 0;
-                }
-
-                emit( "]]>" );
-            }
-            else
-            {
-                for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-                {
-                    char ch = _buf[ i ];
-
-                    if (ch == '<')
-                        i = replace( i, "&lt;" );
-                    else if (ch == '&')
-                        i = replace( i, "&amp;" );
-                    else if (isBadChar( ch ))
-                        i = replace( i, "?" );
-                    else
-                        i++;
-
-                    if (i == _buf.length)
-                        i = 0;
-                }
-            }
-        }
-
-        private void entitizeAttrValue ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (ch == '<')
-                    i = replace( i, "&lt;" );
-                else if (ch == '&')
-                    i = replace( i, "&amp;" );
-                else if (ch == '"')
-                    i = replace( i, "&quot;" );
-                else
-                    i++;
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-        }
-
-        private void entitizeComment ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            boolean lastWasDash = false;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (isBadChar( ch ))
-                    i = replace( i, "?" );
-                else if (ch == '-')
-                {
-                    if (lastWasDash)
-                    {
-                        // Replace "--" with "- " to make well formed
-                        i = replace( i, " " );
-                        lastWasDash = false;
-                    }
-                    else
-                    {
-                        lastWasDash = true;
-                        i++;
-                    }
-                }
-                else
-                {
-                    lastWasDash = false;
-                    i++;
-                }
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-
-            // Because I have only replaced chars with single chars,
-            // _lastEmitIn will still be ok
-
-            if (_buf[ _lastEmitIn + _lastEmitCch - 1 ] == '-')
-                i = replace( _lastEmitIn + _lastEmitCch - 1, " " );
-        }
-
-        private void entitizeProcinst ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            boolean lastWasQuestion = false;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (isBadChar( ch ))
-                    i = replace( i, "?" );
-
-                if (ch == '>')
-                {
-    // TODO - Had to convert to a space here ... imples not well formed XML
-                    if (lastWasQuestion)
-                        i = replace( i, " " );
-                    else
-                        i++;
-
-                    lastWasQuestion = false;
-                }
-                else
-                {
-                    lastWasQuestion = ch == '?';
-                    i++;
-                }
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-        }
-
-        /**
-         * Test if a character is valid in xml character content. See
-         * http://www.w3.org/TR/REC-xml#NT-Char
-         */
-        
-        private boolean isBadChar ( char ch )
-        {
-            return ! (
-                (ch >= 0x20 && ch <= 0xD7FF ) ||
-                (ch >= 0xE000 && ch <= 0xFFFD) ||
-                (ch >= 0x10000 && ch <= 0x10FFFF) ||
-                (ch == 0x9) || (ch == 0xA) || (ch == 0xD)
-                );
-        }
-
-        private int replace ( int i, String replacement )
-        {
-            assert replacement.length() > 0;
-
-            int dCch = replacement.length() - 1;
-
-            if (dCch == 0)
-            {
-                _buf[ i ] = replacement.charAt( 0 );
-                return i + 1;
-            }
-
-            assert _free >= 0;
-
-            if (dCch > _free)
-                i = resize( dCch, i );
-            
-            assert _free >= 0;
-
-            assert _free >= dCch;
-            assert getAvailable() > 0;
-
-            if (_out > _in && i >= _out)
-            {
-                System.arraycopy( _buf, _out, _buf, _out - dCch, i - _out );
-                _out -= dCch;
-                i -= dCch;
-            }
-            else
-            {
-                assert i < _in;
-                System.arraycopy( _buf, i, _buf, i + dCch, _in - i );
-                _in += dCch;
-            }
-
-            replacement.getChars( 0, dCch + 1, _buf, i );
-
-            _free -= dCch;
-            
-            assert _free >= 0;
-
-            return i + dCch + 1;
-        }
-        //
-        //
-        //
-
-        private int ensure ( int cch )
-        {
-            // Even if we're asked to ensure nothing, still try to ensure
-            // atleast one character so we can determine if we're at the
-            // end of the stream.
-
-            if (cch <= 0)
-                cch = 1;
-
-            int available = getAvailable();
-
-            for ( ; available < cch ; available = getAvailable() )
-                if (!process())
-                    break;
-
-            assert available == getAvailable();
-
-            if (available == 0)
-                return 0;
-
-            return available;
-        }
-
-        int getAvailable ( )
-        {
-            return _buf == null ? 0 : _buf.length - _free;
-        }
-
-        private int resize ( int cch, int i )
-        {
-            assert _free >= 0;
-            assert cch > 0;
-            assert cch > _free;
-
-            int newLen = _buf == null ? _initialBufSize : _buf.length * 2;
-            int used = getAvailable();
-
-            while ( newLen - used < cch )
-                newLen *= 2;
-
-            char[] newBuf = new char [ newLen ];
-
-            if (used > 0)
-            {
-                if (_in > _out)
-                {
-                    assert i == -1 || (i >= _out && i < _in);
-                    System.arraycopy( _buf, _out, newBuf, 0, used );
-                    i -= _out;
-                }
-                else
-                {
-                    assert i == -1 || (i >= _out || i < _in);
-                    System.arraycopy( _buf, _out, newBuf, 0, used - _in );
-                    System.arraycopy( _buf, 0, newBuf, used - _in, _in );
-                    i = i >= _out ? i - _out : i + _out;
-                }
-                
-                _out = 0;
-                _in = used;
-                _free += newBuf.length - _buf.length;
-            }
-            else
-            {
-                _free += newBuf.length;
-                assert _in == 0 && _out == 0;
-                assert i == -1;
-            }
-
-            _buf = newBuf;
-
-            assert _free >= 0;
-
-            return i;
-        }
-
-        public int read ( )
-        {
-            if (ensure( 1 ) == 0)
-                return -1;
-
-            assert getAvailable() > 0;
-
-            int ch = _buf[ _out ];
-
-            _out = (_out + 1) % _buf.length;
-            _free++;
-
-            return ch;
-        }
-
-        public int read ( char[] cbuf, int off, int len )
-        {
-            // Check for end of stream even if there is no way to return
-            // characters because the Reader doc says to return -1 at end of
-            // stream.
-
-            int n;
-
-            if ((n = ensure( len )) == 0)
-                return -1;
-
-            if (cbuf == null || len <= 0)
-                return 0;
-
-            if (n < len)
-                len = n;
-
-            if (_out < _in)
-            {
-                System.arraycopy( _buf, _out, cbuf, off, len );
-            }
-            else
-            {
-                int chunk = _buf.length - _out;
-
-                if (chunk >= len)
-                    System.arraycopy( _buf, _out, cbuf, off, len );
-                else
-                {
-                    System.arraycopy( _buf, _out, cbuf, off, chunk );
-                    System.arraycopy( _buf, 0, cbuf, off + chunk, len - chunk );
-                }
-            }
-
-            _out = (_out + len) % _buf.length;
-            _free += len;
-
-            assert _free >= 0;
-
-            return len;
-        }
-
-        public int write ( Writer writer, int cchMin )
-        {
-            while ( getAvailable() < cchMin)
-            {
-                if (!process())
-                    break;
-            }
-
-            int charsAvailable = getAvailable();
-
-            if (charsAvailable > 0)
-            {
-                // I don't want to deal with the circular cases
-
-                assert _out == 0;
-
-                try
-                {
-                    writer.write( _buf, 0, charsAvailable );
-                    writer.flush();
-                }
-                catch ( IOException e )
-                {
-                    throw new RuntimeException( e );
-                }
-
-                _free += charsAvailable;
-                
-                assert _free >= 0;
-                
-                _in = 0;
-            }
-
-            return charsAvailable;
-        }
-
-        public String saveToString ( )
-        {
-            // We're gonna build a string.  Instead of using StringBuffer, may
-            // as well use my buffer here.  Fill the whole sucker up and
-            // create a String!
-
-            while ( process() )
-                ;
-
-            assert _out == 0;
-
-            int available = getAvailable();
-
-            return available == 0 ? "" : new String( _buf, _out, available );
-        }
-
-        //
-        //
-        //
-
-        private static final int _initialBufSize = 4096;
-
-        private int _lastEmitIn;
-        private int _lastEmitCch;
-
-        private int    _free;
-        private int    _in;
-        private int    _out;
-        private char[] _buf;
-    }
-    
-    static final class TextReader extends Reader
-    {
-        TextReader ( Cur c, XmlOptions options )
-        {
-            _textSaver = new TextSaver( c, options, null );
-        }
-
-        public void close ( ) throws IOException { }
-
-        public boolean ready ( ) throws IOException { return true; }
-
-        public int read ( ) throws IOException
-        {
-            return _textSaver.read();
-        }
-
-        public int read ( char[] cbuf ) throws IOException
-        {
-            return _textSaver.read( cbuf, 0, cbuf == null ? 0 : cbuf.length );
-        }
-
-        public int read ( char[] cbuf, int off, int len ) throws IOException
-        {
-            return _textSaver.read( cbuf, off, len );
-        }
-
-        private TextSaver _textSaver;
-    }
-    
-    static final class InputStreamSaver extends InputStream
-    {
-        InputStreamSaver ( Cur c, XmlOptions options )
-        {
-            options = XmlOptions.maskNull( options );
-            
-            _outStreamImpl = new OutputStreamImpl();
-
-            String encoding = null;
-
-            XmlDocumentProperties props = Locale.getDocProps( c, false );
-            
-            if (props != null && props.getEncoding() != null)
-                encoding = EncodingMap.getIANA2JavaMapping( props.getEncoding() );
-
-            if (options.hasOption( XmlOptions.CHARACTER_ENCODING ))
-                encoding = (String) options.get( XmlOptions.CHARACTER_ENCODING );
-
-            if (encoding != null)
-            {
-                String ianaEncoding = EncodingMap.getJava2IANAMapping( encoding );
-
-                if (ianaEncoding != null)
-                    encoding = ianaEncoding;
-            }
-
-            if (encoding == null)
-                encoding = EncodingMap.getJava2IANAMapping( "UTF8" );
-
-            String javaEncoding = EncodingMap.getIANA2JavaMapping( encoding );
-
-            if (javaEncoding == null)
-                throw new IllegalStateException( "Unknown encoding: " + encoding );
-
-            try
-            {
-                _converter = new OutputStreamWriter( _outStreamImpl, javaEncoding );
-            }
-            catch ( UnsupportedEncodingException e )
-            {
-                throw new RuntimeException( e );
-            }
-
-            _textSaver = new TextSaver( c, options, encoding );
-        }
-
-        public int read ( )
-        {
-            return _outStreamImpl.read();
-        }
-
-        public int read ( byte[] bbuf, int off, int len )
-        {
-            return _outStreamImpl.read ( bbuf, off, len );
-        }
-
-        private int ensure ( int cbyte )
-        {
-            // Even if we're asked to ensure nothing, still try to ensure
-            // atleast one byte so we can determine if we're at the
-            // end of the stream.
-
-            if (cbyte <= 0)
-                cbyte = 1;
-
-            int bytesAvailable = _outStreamImpl.getAvailable();
-
-            for ( ; bytesAvailable < cbyte ;
-                  bytesAvailable = _outStreamImpl.getAvailable() )
-            {
-                if (_textSaver.write( _converter, 2048 ) < 2048)
-                    break;
-            }
-
-            bytesAvailable = _outStreamImpl.getAvailable();
-
-            if (bytesAvailable == 0)
-                return 0;
-
-            return bytesAvailable;
-        }
-
-        private final class OutputStreamImpl extends OutputStream
-        {
-            int read ( )
-            {
-                if (InputStreamSaver.this.ensure( 1 ) == 0)
-                    return -1;
-
-                assert getAvailable() > 0;
-
-                int bite = _buf[ _out ];
-
-                _out = (_out + 1) % _buf.length;
-                _free++;
-
-                return bite;
-            }
-
-            int read ( byte[] bbuf, int off, int len )
-            {
-                // Check for end of stream even if there is no way to return
-                // characters because the Reader doc says to return -1 at end of
-                // stream.
-
-                int n;
-
-                if ((n = ensure( len )) == 0)
-                    return -1;
-
-                if (bbuf == null || len <= 0)
-                    return 0;
-
-                if (n < len)
-                    len = n;
-
-                if (_out < _in)
-                {
-                    System.arraycopy( _buf, _out, bbuf, off, len );
-                }
-                else
-                {
-                    int chunk = _buf.length - _out;
-
-                    if (chunk >= len)
-                        System.arraycopy( _buf, _out, bbuf, off, len );
-                    else
-                    {
-                        System.arraycopy( _buf, _out, bbuf, off, chunk );
-
-                        System.arraycopy(
-                            _buf, 0, bbuf, off + chunk, len - chunk );
-                    }
-                }
-
-                _out = (_out + len) % _buf.length;
-                _free += len;
-
-                return len;
-            }
-
-            int getAvailable ( )
-            {
-                return _buf == null ? 0 : _buf.length - _free;
-            }
-
-            public void write ( int bite )
-            {
-                if (_free == 0)
-                    resize( 1 );
-
-                assert _free > 0;
-
-                _buf[ _in ] = (byte) bite;
-
-                _in = (_in + 1) % _buf.length;
-                _free--;
-            }
-
-            public void write ( byte[] buf, int off, int cbyte )
-            {
-                assert cbyte >= 0;
-
-                if (cbyte == 0)
-                    return;
-
-                if (_free < cbyte)
-                    resize( cbyte );
-
-                if (_in == _out)
-                {
-                    assert getAvailable() == 0;
-                    assert _free == _buf.length - getAvailable();
-                    _in = _out = 0;
-                }
-
-                int chunk;
-
-                if (_in <= _out || cbyte < (chunk = _buf.length - _in))
-                {
-                    System.arraycopy( buf, off, _buf, _in, cbyte );
-                    _in += cbyte;
-                }
-                else
-                {
-                    System.arraycopy( buf, off, _buf, _in, chunk );
-
-                    System.arraycopy(
-                        buf, off + chunk, _buf, 0, cbyte - chunk );
-
-                    _in = (_in + cbyte) % _buf.length;
-                }
-
-                _free -= cbyte;
-            }
-
-            void resize ( int cbyte )
-            {
-                assert cbyte > _free;
-
-                int newLen = _buf == null ? _initialBufSize : _buf.length * 2;
-                int used = getAvailable();
-
-                while ( newLen - used < cbyte )
-                    newLen *= 2;
-
-                byte[] newBuf = new byte [ newLen ];
-
-                if (used > 0)
-                {
-                    if (_out == _in)
-                        System.arraycopy( _buf, 0, newBuf, 0, used );
-                    else if (_in > _out)
-                        System.arraycopy( _buf, _out, newBuf, 0, used );
-                    else
-                    {
-                        System.arraycopy(
-                            _buf, _out, newBuf, 0, used - _in );
-
-                        System.arraycopy(
-                            _buf, 0, newBuf, used - _in, _in );
-                    }
-
-                    _out = 0;
-                    _in = used;
-                    _free += newBuf.length - _buf.length;
-                }
-                else
-                {
-                    _free += newBuf.length;
-                    assert _in == 0 && _out == 0;
-                }
-
-                _buf = newBuf;
-            }
-
-            private static final int _initialBufSize = 4096;
-
-            int    _free;
-            int    _in;
-            int    _out;
-            byte[] _buf;
-        }
-
-        private OutputStreamImpl   _outStreamImpl;
-        private TextSaver          _textSaver;
-        private OutputStreamWriter _converter;
-    }
-
-//    static final class SaxSaver extends Saver
-//    {
-//        SaxSaver (
-//            Root r, Splay s, int p, XmlOptions options,
-//            ContentHandler contentHandler, LexicalHandler lexicalhandler )
-//                throws SAXException
-//        {
-//            super( r, s, p, options );
-//        }
-//    }
-    
-    //
-    //
-    //
-
-    private static abstract class SaveCur
-    {
-        final boolean isRoot       ( ) { return kind() == ROOT;     }
-        final boolean isElem       ( ) { return kind() == ELEM;     }
-        final boolean isAttr       ( ) { return kind() == ATTR;     }
-        final boolean isText       ( ) { return kind() == TEXT;     }
-        final boolean isComment    ( ) { return kind() == COMMENT;  }
-        final boolean isProcinst   ( ) { return kind() == PROCINST; }
-        final boolean isFinish     ( ) { return Cur.kindIsFinish( kind() ); }
-        final boolean isContainer  ( ) { return Cur.kindIsContainer( kind() ); }
-        final boolean isNormalAttr ( ) { return kind() == ATTR && !isXmlns(); }
-
-        final boolean skip ( ) { toEnd(); return next(); }
-
-        abstract void release ( );
-        
-        abstract int kind ( );
-        
-        abstract QName  getName ( );
-        abstract String getXmlnsPrefix ( );
-        abstract String getXmlnsUri ( );
-        
-        abstract boolean isXmlns ( );
-        
-        abstract boolean hasChildren  ( );
-        abstract boolean hasText      ( );
-        
-        abstract boolean toFirstAttr ( );
-        abstract boolean toNextAttr ( );
-        abstract String  getAttrValue ( );
-        
-        abstract boolean next  ( );
-        abstract void    toEnd ( );
-
-        abstract void push ( );
-        abstract void pop ( );
-
-        abstract Object getChars ( );
-        abstract List  getAncestorNamespaces ( );
-
-        int _offSrc;
-        int _cchSrc;
-    }
-    
-    // TODO - saving a fragment need to take namesapces from root and
-    // reflect them on the document element
-    
-    private static final class DocSaveCur extends SaveCur
-    {
-        DocSaveCur ( Cur c )
-        {
-            assert c.isRoot();
-            _cur = c.weakCur( this );
-        }
-
-        void release ( )
-        {
-            _cur.release();
-            _cur = null;
-        }
-        
-        int kind ( ) { return _cur.kind(); }
-        
-        QName  getName        ( ) { return _cur.getName(); }
-        String getXmlnsPrefix ( ) { return _cur.getXmlnsPrefix(); }
-        String getXmlnsUri    ( ) { return _cur.getXmlnsUri(); }
-        
-        boolean isXmlns       ( ) { return _cur.isXmlns();     }
-        
-        boolean hasChildren   ( ) { return _cur.hasChildren(); }
-        boolean hasText       ( ) { return _cur.hasText();     }
-        
-        boolean toFirstAttr   ( ) { return _cur.toFirstAttr(); }
-        boolean toNextAttr    ( ) { return _cur.toNextAttr();  }
-        String  getAttrValue  ( ) { assert _cur.isAttr(); return _cur.getValueAsString(); }
-        
-        void    toEnd         ( ) { _cur.toEnd();              }
-        boolean next          ( ) { return _cur.next();        }
-        
-        void push ( )         { _cur.push(); }
-        void pop  ( )         { _cur.pop(); }
-
-        List getAncestorNamespaces ( ) { return null; }
-        
-        Object getChars ( )
-        {
-            Object o = _cur.getChars( -1 );
-            
-            _offSrc = _cur._offSrc;
-            _cchSrc = _cur._cchSrc;
-
-            return o;
-        }
-
-        private Cur _cur;
-    }
-
-    private static abstract class FilterSaveCur extends SaveCur
-    {
-        FilterSaveCur ( SaveCur c )
-        {
-            assert c.isRoot();
-            _cur = c;
-        }
-
-        // Can filter anything by root and attributes and text
-        protected abstract boolean filter ( );
-
-        void release ( )
-        {
-            _cur.release();
-            _cur = null;
-        }
-        
-        int kind ( ) { return _cur.kind(); }
-        
-        QName  getName        ( ) { return _cur.getName();        }
-        String getXmlnsPrefix ( ) { return _cur.getXmlnsPrefix(); }
-        String getXmlnsUri    ( ) { return _cur.getXmlnsUri();    }
-        
-        boolean isXmlns       ( ) { return _cur.isXmlns();      }
-        
-        boolean hasChildren   ( ) { return _cur.hasChildren();  }
-        boolean hasText       ( ) { return _cur.hasText();      }
-        
-        boolean toFirstAttr   ( ) { return _cur.toFirstAttr();  }
-        boolean toNextAttr    ( ) { return _cur.toNextAttr();   }
-        String  getAttrValue  ( ) { return _cur.getAttrValue(); }
-        
-        void toEnd ( ) { _cur.toEnd(); }
-        
-        boolean next ( )
-        {
-            if (!_cur.next())
-                return false;
-
-            if (!filter())
-                return true;
-            
-            assert !isRoot() && !isText() && !isAttr();
-                
-            toEnd();
-            
-            return next();
-        }
-        
-        void push ( ) { _cur.push(); }
-        void pop  ( ) { _cur.pop(); }
-
-        List getAncestorNamespaces ( ) { return _cur.getAncestorNamespaces(); }
-        
-        Object getChars ( )
-        {
-            Object o = _cur.getChars();
-            
-            _offSrc = _cur._offSrc;
-            _cchSrc = _cur._cchSrc;
-
-            return o;
-        }
-        
-        private SaveCur _cur;
-    }
-
-    private static final class FilterPiSaveCur extends FilterSaveCur
-    {
-        FilterPiSaveCur ( SaveCur c, String target )
-        {
-            super( c );
-            
-            _piTarget = target;
-        }
-
-        protected boolean filter ( )
-        {
-            return kind() == PROCINST && getName().getLocalPart().equals( _piTarget );
-        }
-
-        private String _piTarget;
-    }
-
-    private static final class FragSaveCur extends SaveCur
-    {
-        FragSaveCur ( Cur start, Cur end, QName synthElem )
-        {
-            _saveAttr = start.isAttr() && start.isSamePos( end );
-
-            _cur = start.weakCur( this );
-            _end = end.weakCur( this );
-
-            _elem = synthElem;
-            
-            _state = ROOT_START;
-            
-            _stateStack = new int [ 8 ];
-
-            start.push();
-            computeAncestorNamespaces( start );
-            start.pop();
-        }
-
-        List getAncestorNamespaces ( )
-        {
-            return _ancestorNamespaces;
-        }
-        
-        private void computeAncestorNamespaces ( Cur c )
-        {
-            _ancestorNamespaces = new ArrayList();
-            
-            while ( c.toParentRaw() )
-            {
-                if (c.toFirstAttr())
-                {
-                    do
-                    {
-                        if (c.isXmlns())
-                        {
-                            _ancestorNamespaces.add( c.getXmlnsPrefix() );
-                            _ancestorNamespaces.add( c.getXmlnsUri() );
-                        }
-                    }
-                    while ( c.toNextAttr() );
-                    
-                    c.toParent();
-                }
-            }
-        }
-        
-        //
-        //
-        //
-        
-        void release ( )
-        {
-            _cur.release();
-            _cur = null;
-
-            _end.release();
-            _end = null;
-        }
-
-        int kind ( )
-        {
-            switch ( _state )
-            {
-            case ROOT_START : return  ROOT;
-            case ELEM_START : return  ELEM;
-            case ELEM_END   : return -ELEM;
-            case ROOT_END   : return -ROOT;
-            }
-            
-            assert _state == CUR;
-            
-            return _cur.kind();
-        }
-        
-        QName getName ( )
-        {
-            switch ( _state )
-            {
-            case ROOT_START :
-            case ROOT_END   : return null;
-            case ELEM_START : 
-            case ELEM_END   : return _elem;
-            }
-            
-            assert _state == CUR;
-
-            return _cur.getName();
-        }
-        
-        String getXmlnsPrefix ( )
-        {
-            assert _state == CUR && _cur.isAttr();
-            return _cur.getXmlnsPrefix();
-        }
-        
-        String getXmlnsUri ( )
-        {
-            assert _state == CUR && _cur.isAttr();
-            return _cur.getXmlnsUri();
-        }
-        
-        boolean isXmlns ( )
-        {
-            assert _state == CUR && _cur.isAttr();
-            return _cur.isXmlns();
-        }
-        
-        boolean hasChildren ( )
-        {
-            boolean hasChildren = false;
-            
-            if (isContainer())
-            {
-                push();
-                next();
-
-                if (!isText() && !isFinish())
-                    hasChildren = true;
-                
-                pop();
-            }
-
-            return hasChildren;
-        }
-        
-        boolean hasText ( )
-        {
-            boolean hasText = false;
-            
-            if (isContainer())
-            {
-                push();
-                next();
-
-                if (isText())
-                    hasText = true;
-                
-                pop();
-            }
-
-            return hasText;
-        }
-        
-        Object getChars ( )
-        {
-            assert _state == CUR && _cur.isText();
-
-            Object src = _cur.getChars( -1 );
-            
-            _offSrc = _cur._offSrc;
-            _cchSrc = _cur._cchSrc;
-
-            return src;
-        }
-        
-        boolean next ( )
-        {
-            switch ( _state )
-            {
-            case ROOT_START :
-            {
-                _state = _elem == null ? CUR : ELEM_START;
-                break;
-            }
-
-            case ELEM_START :
-            {
-                if (_saveAttr)
-                    _state = ELEM_END;
-                else
-                {
-                    if (_cur.isAttr())
-                    {
-                        _cur.toParent();
-                        _cur.next();
-                    }
-
-                    if (_cur.isSamePos( _end ))
-                        _state = ELEM_END;
-                    else
-                        _state = CUR;
-                }
-
-                break;
-            }
-
-            case CUR :
-            {
-                assert !_cur.isAttr();
-
-                _cur.next();
-
-                if (_cur.isSamePos( _end ))
-                    _state = _elem == null ? ROOT_END : ELEM_END;
-
-                break;
-            }
-            
-            case ELEM_END :
-            {
-                _state = ROOT_END;
-                break;
-            }
-            case ROOT_END :
-                return false;
-            }
-
-            return true;
-        }
-        
-        void toEnd ( )
-        {
-            switch ( _state )
-            {
-            case ROOT_START : _state = ROOT_END; return;
-            case ELEM_START : _state = ELEM_END; return;
-            case ROOT_END   :
-            case ELEM_END   : return;
-            }
-
-            assert _state == CUR && !_cur.isAttr() && !_cur.isText();
-
-            _cur.toEnd();
-        }
-        
-        boolean toFirstAttr ( )
-        {
-            switch ( _state )
-            {
-            case ROOT_END   :
-            case ELEM_END   : 
-            case ROOT_START : return false;
-            case CUR        : return _cur.toFirstAttr();
-            }
-            
-            assert _state == ELEM_START;
-
-            if (!_cur.isAttr())
-                return false;
-            
-            _state = CUR;
-                
-            return true;
-        }
-        
-        boolean toNextAttr ( )
-        {
-            assert _state == CUR;
-            return !_saveAttr && _cur.toNextAttr();
-        }
-        
-        String getAttrValue ( )
-        {
-            assert _state == CUR && _cur.isAttr();
-            return _cur.getValueAsString();
-        }
-
-        void push ( )
-        {
-            if (_stateStackSize == _stateStack.length)
-            {
-                int[] newStateStack = new int [ _stateStackSize * 2 ];
-                System.arraycopy( _stateStack, 0, newStateStack, 0, _stateStackSize );
-                _stateStack = newStateStack;
-            }
-
-            _stateStack [ _stateStackSize++ ] = _state;
-            _cur.push();
-        }
-
-        void pop ()
-        {
-            _cur.pop();
-            _state = _stateStack [ --_stateStackSize ];
-        }
-        
-        //
-        //
-        //
-
-        private Cur _cur;
-        private Cur _end;
-
-        private ArrayList _ancestorNamespaces;
-
-        private QName _elem;
-
-        private boolean _saveAttr;
-        
-        private static final int ROOT_START = 1;
-        private static final int ELEM_START = 2;
-        private static final int ROOT_END   = 3;
-        private static final int ELEM_END   = 4;
-        private static final int CUR        = 5;
-        
-        private int _state;
-
-        private int[] _stateStack;
-        private int   _stateStackSize;
-    }
-    
-    private static final class PrettySaveCur extends SaveCur
-    {
-        PrettySaveCur ( SaveCur c, XmlOptions options )
-        {
-            _sb = new StringBuffer();
-            _stack = new ArrayList();
-            
-            _cur = c;
-
-            assert options != null;
-
-            _prettyIndent = 2;
-
-            if (options.hasOption( XmlOptions.SAVE_PRETTY_PRINT_INDENT ))
-            {
-                _prettyIndent =
-                    ((Integer) options.get( XmlOptions.SAVE_PRETTY_PRINT_INDENT )).intValue();
-            }
-
-            if (options.hasOption( XmlOptions.SAVE_PRETTY_PRINT_OFFSET ))
-            {
-                _prettyOffset =
-                    ((Integer) options.get( XmlOptions.SAVE_PRETTY_PRINT_OFFSET )).intValue();
-            }
-        }
-
-        List getAncestorNamespaces ( ) { return _cur.getAncestorNamespaces(); }
-        
-        void release ( ) { _cur.release(); }
-        
-        int kind ( ) { return _txt == null ? _cur.kind() : TEXT; }
-        
-        QName  getName        ( ) { assert _txt == null; return _cur.getName(); }
-        String getXmlnsPrefix ( ) { assert _txt == null; return _cur.getXmlnsPrefix(); }
-        String getXmlnsUri    ( ) { assert _txt == null; return _cur.getXmlnsUri(); }
-        
-        boolean isXmlns       ( ) { return _txt == null ? _cur.isXmlns()      : false; }
-        
-        boolean hasChildren   ( ) { return _txt == null ? _cur.hasChildren() : false; }
-        boolean hasText       ( ) { return _txt == null ? _cur.hasText()     : false; }
-        
-        boolean toFirstAttr   ( ) { assert _txt == null; return _cur.toFirstAttr(); }
-        boolean toNextAttr    ( ) { assert _txt == null; return _cur.toNextAttr(); }
-        String  getAttrValue  ( ) { assert _txt == null; return _cur.getAttrValue(); }
-        
-        void toEnd ( )
-        {
-            assert _txt == null;
-            _cur.toEnd();
-            
-            if (_cur.kind() == -ELEM)
-                _depth--;
-        }
-        
-        boolean next ( )
-        {
-            int k;
-            
-            if (_txt != null)
-            {
-                assert _txt.length() > 0;
-                assert !_cur.isText();
-                _txt = null;
-                k = _cur.kind();
-            }
-            else
-            {
-                int prevKind = k = _cur.kind();
-
-                if (!_cur.next())
-                    return false;
-
-                _sb.delete( 0, _sb.length() );
-
-                assert _txt == null;
-
-                // place any text encountered in the buffer
-                if (_cur.isText())
-                {
-                    CharUtil.getString( _sb, _cur.getChars(), _cur._offSrc, _cur._cchSrc );
-                    _cur.next();
-                    trim( _sb );
-                }
-
-                k = _cur.kind();
-
-                // Check for non leaf
-                if (prevKind != COMMENT && prevKind != PROCINST && (prevKind != ELEM || k != -ELEM))
-                {
-                    if (_sb.length() > 0)
-                    {
-                        _sb.insert( 0, _newLine );
-                        spaces( _sb, _newLine.length(), _prettyOffset + _prettyIndent * _depth );
-                    }
-                    
-                    if (prevKind != ROOT)
-                        _sb.append( _newLine );
-                    
-                    int d = k < 0 ? _depth - 1 : _depth;
-                    spaces( _sb, _sb.length(), _prettyOffset + _prettyIndent * d );
-                }
-
-                if (_sb.length() > 0)
-                {
-                    _txt = _sb.toString();
-                    k = TEXT;
-                }
-            }
-
-            if (k == ELEM)
-                _depth++;
-            else if (k == -ELEM)
-                _depth--;
-
-            return true;
-        }
-        
-        void push ( )
-        {
-            _cur.push();
-            _stack.add( _txt );
-            _stack.add( new Integer( _depth ) );
-        }
-        
-        void pop ( )
-        {
-            _cur.pop();
-            _depth = ((Integer) _stack.remove( _stack.size() - 1 )).intValue();
-            _txt = (String) _stack.remove( _stack.size() - 1 );
-        }
-        
-        Object getChars ( )
-        {
-            if (_txt != null)
-            {
-                _offSrc = 0;
-                _cchSrc = _txt.length();
-                return _txt;
-            }
-            
-            Object o = _cur.getChars();
-            
-            _offSrc = _cur._offSrc;
-            _cchSrc = _cur._cchSrc;
-
-            return o;
-        }
-        
-        final static void spaces ( StringBuffer sb, int offset, int count )
-        {
-            while ( count-- > 0 )
-                sb.insert( offset, ' ' );
-        }
-
-        final static void trim ( StringBuffer sb )
-        {
-            int i;
-
-            for ( i = 0 ; i < sb.length() ; i++ )
-                if (!CharUtil.isWhiteSpace( sb.charAt( i ) ))
-                    break;
-
-            sb.delete( 0, i );
-
-            for ( i = sb.length() ; i > 0 ; i-- )
-                if (!CharUtil.isWhiteSpace( sb.charAt( i - 1 ) ))
-                    break;
-
-            sb.delete( i, sb.length() );
-        }
-
-        private SaveCur _cur;
-
-        private int _prettyIndent;
-        private int _prettyOffset;
-
-        private String       _txt;
-        private StringBuffer _sb;
-
-        private int          _depth;
-        
-        private ArrayList    _stack;
-    }
-    
-    //
-    //
-    //
-
-    private final Locale _locale;
-    private final long   _version;
-    
-    private SaveCur _cur;
-
-    private List    _ancestorNamespaces;
-    private Map     _suggestedPrefixes;
-    private boolean _useDefaultNamespace;
-    private Map     _preComputedNamespaces;
-    private boolean _saveNamespacesFirst;
-
-    private ArrayList _attrNames;
-    private ArrayList _attrValues;
-
-    private ArrayList _namespaceStack;
-    private int       _currentMapping;
-    private HashMap   _uriMap;
-    private HashMap   _prefixMap;
-    private String    _initialDefaultUri;
-
-    static String _newLine =
-        System.getProperty( "line.separator" ) == null
-            ? "\n"
-            : System.getProperty( "line.separator" );
-} 
\ No newline at end of file
diff --git a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Validate.java b/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Validate.java
deleted file mode 100644
index bb2d4aa..0000000
--- a/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Validate.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.newstore2;
-
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import javax.xml.stream.Location;
-import org.apache.xmlbeans.XmlCursor;
-import javax.xml.namespace.QName;
-
-final class Validate implements ValidatorListener.Event
-{
-    Validate ( Cur c, ValidatorListener sink )
-    {
-        if (!c.isUserNode())
-            throw new IllegalStateException( "Inappropriate location to validate" );
-
-        _cur = c;
-
-        c.push();
-
-        sink.nextEvent( ValidatorListener.BEGIN, this );
-        
-        if (c.isAttr())
-        {
-            c.next();
-
-            if (c.isText())
-                sink.nextEvent( ValidatorListener.TEXT, this );
-        }
-        else
-        {
-            assert c.isContainer();
-
-            doAttrs( sink, c );
-
-            for ( c.next() ; ! c.isAtEndOfLastPush() ; c.next() )
-            {
-                switch ( c.kind() )
-                {
-                case Cur.ELEM :
-                    doAttrs( sink, c );
-                    sink.nextEvent( ValidatorListener.BEGIN, this );
-                    break;
-                
-                case - Cur.ELEM :
-                    sink.nextEvent( ValidatorListener.END, this );
-                    break;
-                
-                case Cur.TEXT :
-                    sink.nextEvent( ValidatorListener.TEXT, this );
-                    break;
-                    
-                case Cur.COMMENT  :
-                case Cur.PROCINST :
-                    c.skip();
-                    break;
-
-                default :
-                    throw new RuntimeException( "Unexpected kind: " + c.kind() );
-                }
-            }
-        }
-        
-        sink.nextEvent( ValidatorListener.END, this );
-
-        c.pop();
-    }
-
-    private void doAttrs ( ValidatorListener sink, Cur c )
-    {
-        if (c.toFirstAttr())
-        {
-            do
-            {
-                if (c.isNormalAttr() && !c.getUri().equals( Locale._xsi ))
-                    sink.nextEvent( ValidatorListener.ATTR, this );
-            }
-            while ( c.toNextAttr() );
-
-            c.toParent();
-        }
-        
-        sink.nextEvent( ValidatorListener.ENDATTRS, this );
-    }
-
-    public String getNamespaceForPrefix ( String prefix )
-    {
-        throw new RuntimeException( "Not implemeneted" );
-    }
-
-    public XmlCursor getLocationAsCursor ( )
-    {
-        throw new RuntimeException( "Not implemeneted" );
-    }
-
-    public Location getLocation ( )
-    {
-        throw new RuntimeException( "Not implemeneted" );
-    }
-
-    public String getXsiType ( )
-    {
-        return _cur.getAttrValue( Locale._xsiType );
-    }
-
-    public String getXsiNil ( )
-    {
-        return _cur.getAttrValue( Locale._xsiNil );
-    }
-
-    public String getXsiLoc ( )
-    {
-        return _cur.getAttrValue( Locale._xsiLoc );
-    }
-
-    public String getXsiNoLoc ( )
-    {
-        return _cur.getAttrValue( Locale._xsiNoLoc );
-    }
-
-    public QName getName ( )
-    {
-        return _cur.isAtLastPush() ? null : _cur.getName();
-    }
-
-    public String getText ( )
-    {
-        return _cur.isAttr() ? _cur.getValueAsString() : _cur.getString( -1 );
-    }
-
-    public String getText ( int wsr )
-    {
-        return _cur.isAttr() ? _cur.getValueAsString( wsr ) : _cur.getString( -1, wsr );
-    }
-
-    public boolean textIsWhitespace ( )
-    {
-        return
-            CharUtil.isWhiteSpace(
-                _cur.isAttr() ? _cur.getValueChars() : _cur.getChars( -1 ),
-                _cur._offSrc, _cur._cchSrc );
-    }
-
-    private Cur _cur;
-}
\ No newline at end of file
diff --git a/v2/src/newstore2/org/w3c/dom/DOMConfiguration.java b/v2/src/newstore2/org/w3c/dom/DOMConfiguration.java
deleted file mode 100755
index 8f7fb09..0000000
--- a/v2/src/newstore2/org/w3c/dom/DOMConfiguration.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.

- */

-

-package org.w3c.dom;

-

-public interface DOMConfiguration

-{

-    public boolean canSetParameter ( String name, Object value );

-    

-    public Object getParameter ( String name );

-    

-    public DOMStringList getParameterNames (  );

-    

-    public void setParameter ( String name, Object value );

-}
\ No newline at end of file
diff --git a/v2/src/newstore2/org/w3c/dom/DOMStringList.java b/v2/src/newstore2/org/w3c/dom/DOMStringList.java
deleted file mode 100755
index e230ab1..0000000
--- a/v2/src/newstore2/org/w3c/dom/DOMStringList.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.

- */

-

-package org.w3c.dom;

-

-public interface DOMStringList

-{

-    public boolean contains ( String str );

-    

-    public int getLength (  );

-    

-    public String item ( int index );

-}
\ No newline at end of file
diff --git a/v2/src/newstore2/org/w3c/dom/TypeInfo.java b/v2/src/newstore2/org/w3c/dom/TypeInfo.java
deleted file mode 100755
index 4303786..0000000
--- a/v2/src/newstore2/org/w3c/dom/TypeInfo.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.

- */

-

-package org.w3c.dom;

-

-public interface TypeInfo

-{

-    public static final int DERIVATION_EXTENSION   = 2;

-    public static final int DERIVATION_LIST        = 8;

-    public static final int DERIVATION_RESTRICTION = 1;

-    public static final int DERIVATION_UNION       = 4;

-            

-    public String getTypeName ( );

-    

-    public String getTypeNamespace ( );

-    

-    public boolean isDerivedFrom (

-        String typeNamespaceArg, String typeNameArg, int derivationMethod );

-}
\ No newline at end of file
diff --git a/v2/src/newstore2/org/w3c/dom/UserDataHandler.java b/v2/src/newstore2/org/w3c/dom/UserDataHandler.java
deleted file mode 100755
index a9ecc02..0000000
--- a/v2/src/newstore2/org/w3c/dom/UserDataHandler.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.

- */

-

-package org.w3c.dom;

-

-public interface UserDataHandler

-{

-    public static final short NODE_ADOPTED  = 5;

-    public static final short NODE_CLONED   = 1;

-    public static final short NODE_DELETED  = 3;

-    public static final short NODE_IMPORTED = 2;

-    public static final short NODE_RENAMED  = 4;

-

-    public void handle ( short operation, String key, Object data, Node src, Node dst );

-}
\ No newline at end of file
diff --git a/v2/src/repackage/repackage/EditBuildScript.java b/v2/src/repackage/repackage/EditBuildScript.java
deleted file mode 100644
index 6df16e8..0000000
--- a/v2/src/repackage/repackage/EditBuildScript.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*   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.
- */
-
-package repackage;
-
-import java.io.*;
-
-public class EditBuildScript
-{
-    //
-    // usgae: edit buildfile token new-value
-    //
-
-    public static void main ( String[] args )
-        throws Exception
-    {
-        if (args.length != 3)
-            throw new IllegalArgumentException( "Wrong number of arguments" );
-
-        args[ 0 ] = args[ 0 ].replace( '/', File.separatorChar );
-
-        File buildFile = new File( args[ 0 ] );
-
-        StringBuffer sb = readFile( buildFile );
-
-        String tokenStr = "<property name=\"" + args[ 1 ] + "\" value=\"";
-                         
-        int i = sb.indexOf( tokenStr );
-
-        if (i < 0)
-            throw new IllegalArgumentException( "Can't find token: " + tokenStr );
-
-        int j = i + tokenStr.length();
-
-        while ( sb.charAt( j ) != '"' )
-            j++;
-
-        sb.replace( i + tokenStr.length(), j, args[ 2 ] );
-
-        writeFile( buildFile, sb );
-    }
-    
-    static StringBuffer readFile ( File f )
-        throws IOException
-    {
-        InputStream in = new FileInputStream( f );
-        Reader r = new InputStreamReader( in );
-        StringWriter w = new StringWriter();
-
-        copy( r, w );
-
-        w.close();
-        r.close();
-        in.close();
-
-        return w.getBuffer();
-    }
-    
-    static void writeFile ( File f, StringBuffer chars )
-        throws IOException
-    {
-        OutputStream out = new FileOutputStream( f );
-        Writer w = new OutputStreamWriter( out );
-        Reader r = new StringReader( chars.toString() );
-
-        copy( r, w );
-
-        r.close();
-        w.close();
-        out.close();
-    }
-    
-    static void copy ( Reader r, Writer w ) throws IOException
-    {
-        char[] buffer = new char [ 1024 * 16 ];
-
-        for ( ; ; )
-        {
-            int n = r.read( buffer, 0, buffer.length );
-
-            if (n < 0)
-                break;
-
-            w.write( buffer, 0, n );
-        }
-    }
-}
diff --git a/v2/src/repackage/repackage/Repackage.java b/v2/src/repackage/repackage/Repackage.java
deleted file mode 100644
index 97b73ed..0000000
--- a/v2/src/repackage/repackage/Repackage.java
+++ /dev/null
@@ -1,440 +0,0 @@
-/*   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.
- */
-
-package repackage;
-
-import java.io.*;
-import java.util.*;
-import java.util.regex.*;
-
-public class Repackage
-{
-    public static void main ( String[] args ) throws Exception
-    {
-        new Repackage(args).repackage();
-    }
-    
-    private Repackage(String[] args)
-    {
-        String sourceDir = null;
-        String targetDir = null;
-        String repackageSpec = null;
-        boolean failure = false;
-        
-        for (int i = 0; i < args.length; i++)
-        {
-            if (args[i].equals("-repackage") && i + 1 < args.length)
-                repackageSpec = args[++i];
-            else if (args[i].equals("-f") && i + 1 < args.length)
-                sourceDir = args[++i];
-            else if (args[i].equals("-t") && i + 1 < args.length)
-                targetDir = args[++i];
-            else
-                failure = true;
-        }
-        
-        if (failure || sourceDir == null || targetDir == null || repackageSpec == null)
-            throw new RuntimeException("Usage: repackage -repackage [spec] -f [sourcedir] -t [targetdir]");
-        
-        _repackager = new Repackager(repackageSpec);
-        
-        _sourceBase = new File(sourceDir);
-        _targetBase = new File(targetDir);
-    }
-  
-    
-    public void repackage () throws Exception
-    {
-        _fromPackages = _repackager.getFromPackages();
-        _toPackages = _repackager.getToPackages();
-        
-        _packagePattern =
-            Pattern.compile( "^\\s*package\\s+((?:\\w|\\.)*)\\s*;", Pattern.MULTILINE );
-        
-        _moveAlongFiles = new ArrayList();
-        _movedDirs = new HashMap();
-        
-//        System.out.println( "Deleting repackage dir ..." );
-//        recursiveDelete( _targetBase );
-        
-        _targetBase.mkdirs();
-        
-        ArrayList files = new ArrayList();
-
-        fillFiles( files, _sourceBase );
-        
-        System.out.println( "Repackaging " + files.size() + " files ..." );
-
-        int prefixLength = _sourceBase.getCanonicalPath().length();
-
-        for ( int i = 0 ; i < files.size() ; i++ )
-        {
-            File from = (File) files.get( i );
-
-            String name = from.getCanonicalPath().substring( prefixLength + 1 );
-
-            repackageFile( name );
-        }
-        
-        finishMovingFiles();
-        
-        if (_skippedFiles > 0)
-            System.out.println("Skipped " + _skippedFiles + " unmodified files.");
-    }
-    
-    private boolean fileIsUnchanged(String name)
-    {
-        File sourceFile = new File( _sourceBase, name );
-        File targetFile = new File( _targetBase, name );
-        return (sourceFile.lastModified() < targetFile.lastModified());
-    }
-
-    public void repackageFile ( String name )
-        throws IOException
-    {
-        if (name.endsWith( ".java" ))
-            repackageJavaFile( name );
-        else if (name.endsWith( ".xsdconfig" ) ||
-                (name.endsWith(".xml") &&
-                //REVIEW skip repackaging the main build file because it
-                //does some complicated things already and we don't want
-                //to mess with it right now.  This feels a little gross,
-                //though.  pcal 2/18/04
-                !name.equals("build.xml")) ||
-                name.endsWith(".g") )
-            repackageNonJavaFile( name );
-        else if (name.startsWith( "bin" + File.separatorChar ))
-            repackageNonJavaFile( name );
-        else
-            moveAlongWithJavaFiles( name );
-    }
-
-    public void moveAlongWithJavaFiles( String name )
-    {
-        _moveAlongFiles.add(name);
-    }
-    
-    public void finishMovingFiles ( )
-        throws IOException
-    {
-        for ( Iterator i = _moveAlongFiles.iterator(); i.hasNext(); )
-        {
-            String name = (String) i.next();
-            String toName = name;
-            
-            String srcDir = Repackager.dirForPath( name );
-            String toDir = (String) _movedDirs.get( srcDir );
-            
-            if (toDir != null)
-                toName = new File( toDir, new File( name ).getName() ).toString(); 
-
-            if (name.endsWith( ".html" ))
-                repackageNonJavaFile(name, toName);
-            else
-                justMoveNonJavaFile(name, toName);
-        }
-    }
-
-    public void repackageNonJavaFile(String name)
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, name );
-        File targetFile = new File( _targetBase, name );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            writeFile( targetFile, _repackager.repackage( readFile( sourceFile ) ) );
-    }
-    
-    public void repackageNonJavaFile ( String sourceName, String targetName )
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, sourceName );
-        File targetFile = new File( _targetBase, targetName );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            writeFile( targetFile, _repackager.repackage( readFile( sourceFile ) ) );
-    }
-    
-    public void justMoveNonJavaFile ( String sourceName, String targetName )
-        throws IOException
-    {
-        File sourceFile = new File( _sourceBase, sourceName );
-        File targetFile = new File( _targetBase, targetName );
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-            _skippedFiles += 1;
-        else
-            copyFile( sourceFile, targetFile );
-    }
-    
-    public void repackageJavaFile ( String name )
-        throws IOException
-    {
-        File sourceFile = new File(_sourceBase, name);
-        StringBuffer sb = readFile(sourceFile);
-
-        Matcher packageMatcher = _packagePattern.matcher( sb );
-
-        if (packageMatcher.find())
-        {
-            String pkg = packageMatcher.group( 1 );
-            int pkgStart = packageMatcher.start( 1 );
-            int pkgEnd = packageMatcher.end( 1 );
-            
-            if (packageMatcher.find())
-                throw new RuntimeException( "Two package specifications found: " + name );
-            
-            List filePath = Repackager.splitPath( name, File.separatorChar );
-            String srcDir = Repackager.dirForPath( name );
-            
-            // Sort the repackage spec so that longer from's are first to match
-            // longest package first
-
-            for ( ; ; )
-            {
-                boolean swapped = false;
-
-                for ( int i = 1 ; i < filePath.size() ; i++ )
-                {
-                    String spec1 = (String) filePath.get( i - 1 );
-                    String spec2 = (String) filePath.get( i );
-
-                    if (spec1.indexOf( ':' ) < spec2.indexOf( ':' ))
-                    {
-                        filePath.set( i - 1, spec2 );
-                        filePath.set( i, spec1 );
-
-                        swapped = true;
-                    }
-                }
-
-                if (!swapped)
-                    break;
-            }
-
-            List pkgPath = Repackager.splitPath( pkg, '.' );
-
-            int f = filePath.size() - 2;
-
-            for ( int i = pkgPath.size() - 1 ; i >= 0 ; i-- )
-            {
-                if (!pkgPath.get( i ).equals( filePath.get( f-- ) ))
-                    throw new RuntimeException( "Package spec differs from file path: " + name );
-            }
-
-            List changeTo = null;
-            List changeFrom = null;
-            
-            from:
-            for ( int i = 0 ; i < _fromPackages.size() ; i ++ )
-            {
-                List from = (List) _fromPackages.get( i );
-
-                if (from.size() <= pkgPath.size())
-                {
-                    for ( int j = 0 ; j < from.size() ; j++ )
-                        if (!from.get( j ).equals( pkgPath.get( j )))
-                            continue from;
-
-                    changeFrom = from;
-                    changeTo = (List) _toPackages.get( i );
-
-                    break;
-                }
-            }
-
-            if (changeTo != null)
-            {
-                String newPkg = "";
-                String newName = "";
-
-                for ( int i = 0 ; i < changeTo.size() ; i++ )
-                {
-                    if (i > 0)
-                    {
-                        newPkg += ".";
-                        newName += File.separatorChar;
-                    }
-                    
-                    newPkg += changeTo.get( i );
-                    newName += changeTo.get( i );
-                }
-                
-                for ( int i = filePath.size() - pkgPath.size() - 2 ; i >= 0 ; i-- )
-                    newName = (String) filePath.get( i ) + File.separatorChar + newName;
-
-                for ( int i = changeFrom.size() ; i < pkgPath.size() ; i++ )
-                {
-                    newName += File.separatorChar + (String) pkgPath.get( i );
-                    newPkg += '.' + (String) pkgPath.get( i );
-                }
-
-                newName += File.separatorChar + (String) filePath.get( filePath.size() - 1 );
-
-                sb.replace( pkgStart, pkgEnd, newPkg );
-
-                name = newName;
-                String newDir = Repackager.dirForPath( name );
-                
-                if (!srcDir.equals(newDir))
-                {
-                    _movedDirs.put(srcDir, newDir);
-                }
-            }
-        }
-        
-        File targetFile = new File(_targetBase, name); // new name
-        
-        if (sourceFile.lastModified() < targetFile.lastModified())
-        {
-            _skippedFiles += 1;
-            return;
-        }
-
-        writeFile( new File( _targetBase, name ), _repackager.repackage( sb ) );
-    }
-
-    void writeFile ( File f, StringBuffer chars )
-        throws IOException
-    {
-        f.getParentFile().mkdirs();
-        
-        OutputStream out = new FileOutputStream( f );
-        Writer w = new OutputStreamWriter( out );
-        Reader r = new StringReader( chars.toString() );
-
-        copy( r, w );
-
-        r.close();
-        w.close();
-        out.close();
-    }
-    
-    StringBuffer readFile ( File f )
-        throws IOException
-    {
-        InputStream in = new FileInputStream( f );
-        Reader r = new InputStreamReader( in );
-        StringWriter w = new StringWriter();
-
-        copy( r, w );
-
-        w.close();
-        r.close();
-        in.close();
-
-        return w.getBuffer();
-    }
-    
-    public static void copyFile ( File from, File to ) throws IOException
-    {
-        to.getParentFile().mkdirs();
-        
-        FileInputStream in = new FileInputStream( from );
-        FileOutputStream out = new FileOutputStream( to );
-
-        copy( in, out );
-        
-        out.close();
-        in.close();
-    }
-    
-    public static void copy ( InputStream in, OutputStream out ) throws IOException
-    {
-        byte[] buffer = new byte [ 1024 * 16 ];
-
-        for ( ; ; )
-        {
-            int n = in.read( buffer, 0, buffer.length );
-
-            if (n < 0)
-                break;
-
-            out.write( buffer, 0, n );
-        }
-    }
-    
-    public static void copy ( Reader r, Writer w ) throws IOException
-    {
-        char[] buffer = new char [ 1024 * 16 ];
-
-        for ( ; ; )
-        {
-            int n = r.read( buffer, 0, buffer.length );
-
-            if (n < 0)
-                break;
-
-            w.write( buffer, 0, n );
-        }
-    }
-    
-    public void fillFiles ( ArrayList files, File file ) throws IOException
-    {
-        if (!file.isDirectory())
-        {
-            files.add( file );
-            return;
-        }
-
-        // Exclude the build directory
-
-        if (file.getName().equals( "build" ))
-            return;
-        
-        // Exclude CVS directories
-        if (file.getName().equals( "CVS" ))
-            return;
-
-        String[] entries = file.list();
-
-        for ( int i = 0 ; i < entries.length ; i++ )
-            fillFiles( files, new File( file, entries[ i ] ) );
-    }
-
-    public void recursiveDelete ( File file ) throws IOException
-    {
-        if (!file.exists())
-            return;
-
-        if (file.isDirectory())
-        {
-            String[] entries = file.list();
-
-            for ( int i = 0 ; i < entries.length ; i++ )
-                recursiveDelete( new File( file, entries[ i ] ) );
-        }
-
-        file.delete();
-    }
-
-    private File _sourceBase;
-    private File _targetBase;
-
-    private List _fromPackages;
-    private List _toPackages;
-    
-    private Pattern _packagePattern;
-
-    private Repackager _repackager;
-    
-    private Map _movedDirs;
-    private List _moveAlongFiles;
-    private int _skippedFiles;
-}
diff --git a/v2/src/repackage/repackage/Repackager.java b/v2/src/repackage/repackage/Repackager.java
deleted file mode 100644
index d1a815d..0000000
--- a/v2/src/repackage/repackage/Repackager.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*   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.
- */
-
-package repackage;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.regex.Pattern;
-import java.util.regex.Matcher;
-import java.io.File;
-
-public class Repackager
-{
-    public Repackager ( String repackageSpecs )
-    {
-        _fromPackages = new ArrayList();
-        _toPackages = new ArrayList();
-        
-        List repackages = splitPath( repackageSpecs, ';' );
-
-        // Sort the repackage spec so that longer from's are first to match
-        // longest package first
-        
-        for ( ; ; )
-        {
-            boolean swapped = false;
-
-            for ( int i = 1 ; i < repackages.size() ; i++ )
-            {
-                String spec1 = (String) repackages.get( i - 1 );
-                String spec2 = (String) repackages.get( i );
-                
-                if (spec1.indexOf( ':' ) < spec2.indexOf( ':' ))
-                {
-                    repackages.set( i - 1, spec2 );
-                    repackages.set( i, spec1 );
-                    
-                    swapped = true;
-                }
-            }
-
-            if (!swapped)
-                break;
-        }
-
-        for ( int i = 0 ; i < repackages.size() ; i++ )
-        {
-            String spec = (String) repackages.get( i );
-            
-            int j = spec.indexOf( ':' );
-
-            if (j < 0 || spec.indexOf( ':', j + 1 ) >= 0)
-                throw new RuntimeException( "Illegal repackage specification: " + spec );
-
-            String from = spec.substring( 0, j );
-            String to = spec.substring( j + 1 );
-
-            _fromPackages.add( Repackager.splitPath( from, '.' ) );
-            _toPackages.add( Repackager.splitPath( to, '.' ) );
-        }
-
-        _fromMatchers = new Matcher [ _fromPackages.size() * 2 ];
-        _toPackageNames = new String [ _fromPackages.size() * 2 ];
-
-        addPatterns( '.', 0 );
-        addPatterns( '/', _fromPackages.size() );
-    }
-
-    void addPatterns ( char sep, int off )
-    {
-        for ( int i = 0 ; i < _fromPackages.size() ; i++ )
-        {
-            List from = (List) _fromPackages.get( i );
-            List to = (List) _toPackages.get( i );
-
-            String pattern = "";
-            
-            for ( int j = 0 ; j < from.size() ; j++ )
-            {
-                if (j > 0)
-                    pattern += "\\" + sep;
-
-                pattern += from.get( j );
-            }
-            
-            String toPackage = "";
-            
-            for ( int j = 0 ; j < to.size() ; j++ )
-            {
-                if (j > 0)
-                    toPackage += sep;
-
-                toPackage += to.get( j );
-            }
-
-            _fromMatchers[ off + i ] = Pattern.compile( pattern ).matcher( "" );
-            _toPackageNames[ off + i ] = toPackage;
-        }
-    }
-
-    public StringBuffer repackage ( StringBuffer sb )
-    {
-        StringBuffer result = null;
-
-        for ( int i = 0 ; i < _fromMatchers.length ; i++ )
-        {
-            Matcher m = (Matcher) _fromMatchers[ i ];
-            
-            m.reset( sb );
-            
-            for ( boolean found = m.find() ; found ; found = m.find() )
-            {
-                if (result == null)
-                    result = new StringBuffer();
-
-                m.appendReplacement( result, _toPackageNames[ i ] );
-            }
-
-            if (result != null)
-            {
-                m.appendTail( result );
-                sb = result;
-                result = null;
-            }
-        }
-
-        return sb;
-    }
-
-    public List getFromPackages ( )
-    {
-        return _fromPackages;
-    }
-
-    public List getToPackages ( )
-    {
-        return _toPackages;
-    }
-    
-    public static ArrayList splitPath ( String path, char separator )
-    {
-        ArrayList components = new ArrayList();
-        
-        for ( ; ; )
-        {
-            int i = path.indexOf( separator );
-
-            if (i < 0)
-                break;
-
-            components.add( path.substring( 0, i ) );
-            
-            path = path.substring( i + 1 );
-        }
-
-        if (path.length() > 0)
-            components.add( path );
-
-        return components;
-    }
-    
-    public static String dirForPath ( String path )
-    {
-        return new File(path).getParent();
-    }
-
-    private List _fromPackages;
-    private List _toPackages;
-    
-    private Matcher[] _fromMatchers;
-    private String[]  _toPackageNames;
-}
\ No newline at end of file
diff --git a/v2/src/saaj_api/javax/xml/soap/AttachmentPart.java b/v2/src/saaj_api/javax/xml/soap/AttachmentPart.java
deleted file mode 100644
index ac40bfe..0000000
--- a/v2/src/saaj_api/javax/xml/soap/AttachmentPart.java
+++ /dev/null
@@ -1,410 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-// ericvas
-//import javax.activation.DataHandler;
-import java.util.Iterator;
-
-/**
- * <P>A single attachment to a <CODE>SOAPMessage</CODE> object. A
- *   <CODE>SOAPMessage</CODE> object may contain zero, one, or many
- *   <CODE>AttachmentPart</CODE> objects. Each <CODE>
- *   AttachmentPart</CODE> object consists of two parts,
- *   application-specific content and associated MIME headers. The
- *   MIME headers consists of name/value pairs that can be used to
- *   identify and describe the content.</P>
- *
- *   <P>An <CODE>AttachmentPart</CODE> object must conform to
- *   certain standards.</P>
- *
- *   <OL>
- *     <LI>It must conform to <A href=
- *     "http://www.ietf.org/rfc/rfc2045.txt">MIME [RFC2045]
- *     standards</A></LI>
- *
- *     <LI>It MUST contain content</LI>
- *
- *     <LI>
- *       The header portion MUST include the following header:
- *
- *       <UL>
- *         <LI>
- *           <CODE>Content-Type</CODE><BR>
- *            This header identifies the type of data in the content
- *           of an <CODE>AttachmentPart</CODE> object and MUST
- *           conform to [RFC2045]. The following is an example of a
- *           Content-Type header:
- * <PRE>
- *      Content-Type:  application/xml
- *
- * </PRE>
- *           The following line of code, in which <CODE>ap</CODE> is
- *           an <CODE>AttachmentPart</CODE> object, sets the header
- *           shown in the previous example.
- * <PRE>
- *      ap.setMimeHeader("Content-Type", "application/xml");
- *
- * </PRE>
- *
- *           <P></P>
- *         </LI>
- *       </UL>
- *     </LI>
- *   </OL>
- *
- *   <P>There are no restrictions on the content portion of an
- *   <CODE>AttachmentPart</CODE> object. The content may be anything
- *   from a simple plain text object to a complex XML document or
- *   image file.</P>
- *
- *   <P>An <CODE>AttachmentPart</CODE> object is created with the
- *   method <CODE>SOAPMessage.createAttachmentPart</CODE>. After
- *   setting its MIME headers, the <CODE>AttachmentPart</CODE>
- *   object is added to the message that created it with the method
- *   <CODE>SOAPMessage.addAttachmentPart</CODE>.</P>
- *
- *   <P>The following code fragment, in which <CODE>m</CODE> is a
- *   <CODE>SOAPMessage</CODE> object and <CODE>contentStringl</CODE>
- *   is a <CODE>String</CODE>, creates an instance of <CODE>
- *   AttachmentPart</CODE>, sets the <CODE>AttachmentPart</CODE>
- *   object with some content and header information, and adds the
- *   <CODE>AttachmentPart</CODE> object to the <CODE>
- *   SOAPMessage</CODE> object.</P>
- * <PRE>
- *    AttachmentPart ap1 = m.createAttachmentPart();
- *    ap1.setContent(contentString1, "text/plain");
- *    m.addAttachmentPart(ap1);
- * </PRE>
- *
- *   <P>The following code fragment creates and adds a second <CODE>
- *   AttachmentPart</CODE> instance to the same message. <CODE>
- *   jpegData</CODE> is a binary byte buffer representing the jpeg
- *   file.</P>
- * <PRE>
- *    AttachmentPart ap2 = m.createAttachmentPart();
- *    byte[] jpegData =  ...;
- *    ap2.setContent(new ByteArrayInputStream(jpegData), "image/jpeg");
- *    m.addAttachmentPart(ap2);
- * </PRE>
- *
- *   <P>The <CODE>getContent</CODE> method retrieves the contents
- *   and header from an <CODE>AttachmentPart</CODE> object.
- *   Depending on the <CODE>DataContentHandler</CODE> objects
- *   present, the returned <CODE>Object</CODE> can either be a typed
- *   Java object corresponding to the MIME type or an <CODE>
- *   InputStream</CODE> object that contains the content as
- *   bytes.</P>
- * <PRE>
- *    String content1 = ap1.getContent();
- *    java.io.InputStream content2 = ap2.getContent();
- * </PRE>
- *   The method <CODE>clearContent</CODE> removes all the content
- *   from an <CODE>AttachmentPart</CODE> object but does not affect
- *   its header information.
- * <PRE>
- *    ap1.clearContent();
- * </PRE>
- */
-public abstract class AttachmentPart {
-
-    // fixme: should this constructor be protected?
-    /** Create a new AttachmentPart. */
-    public AttachmentPart() {}
-
-    /**
-     * Returns the number of bytes in this <CODE>
-     * AttachmentPart</CODE> object.
-     * @return the size of this <CODE>AttachmentPart</CODE> object
-     *     in bytes or -1 if the size cannot be determined
-     * @throws  SOAPException  if the content of this
-     *     attachment is corrupted of if there was an exception
-     *     while trying to determine the size.
-     */
-    public abstract int getSize() throws SOAPException;
-
-    /**
-     * Clears out the content of this <CODE>
-     * AttachmentPart</CODE> object. The MIME header portion is left
-     * untouched.
-     */
-    public abstract void clearContent();
-
-    /**
-     * Gets the content of this <code>AttachmentPart</code> object as a Java
-     * object. The type of the returned Java object depends on (1) the
-     * <code>DataContentHandler</code> object that is used to interpret the bytes
-     * and (2) the <code>Content-Type</code> given in the header.
-     * <p>
-     * For the MIME content types "text/plain", "text/html" and "text/xml", the
-     * <code>DataContentHandler</code> object does the conversions to and
-     * from the Java types corresponding to the MIME types.
-     * For other MIME types,the <code>DataContentHandler</code> object
-     * can return an <code>InputStream</code> object that contains the content data
-     * as raw bytes.
-     * <p>
-     * A JAXM-compliant implementation must, as a minimum, return a
-     * <code>java.lang.String</code> object corresponding to any content
-     * stream with a <code>Content-Type</code> value of
-     * <code>text/plain</code>, a
-     * <code>javax.xml.transform.StreamSource</code> object corresponding to a
-     * content stream with a <code>Content-Type</code> value of
-     * <code>text/xml</code>, a <code>java.awt.Image</code> object
-     * corresponding to a content stream with a
-     * <code>Content-Type</code> value of <code>image/gif</code> or
-     * <code>image/jpeg</code>.  For those content types that an
-     * installed <code>DataContentHandler</code> object does not understand, the
-     * <code>DataContentHandler</code> object is required to return a
-     * <code>java.io.InputStream</code> object with the raw bytes.
-     *
-     * @return a Java object with the content of this <CODE>
-     *     AttachmentPart</CODE> object
-     * @throws  SOAPException  if there is no content set
-     *     into this <CODE>AttachmentPart</CODE> object or if there
-     *     was a data transformation error
-     */
-    public abstract Object getContent() throws SOAPException;
-
-    /**
-     * Sets the content of this attachment part to that of the
-     * given <CODE>Object</CODE> and sets the value of the <CODE>
-     * Content-Type</CODE> header to the given type. The type of the
-     * <CODE>Object</CODE> should correspond to the value given for
-     * the <CODE>Content-Type</CODE>. This depends on the particular
-     * set of <CODE>DataContentHandler</CODE> objects in use.
-     * @param  object  the Java object that makes up
-     * the content for this attachment part
-     * @param  contentType the MIME string that
-     * specifies the type of the content
-     * @throws java.lang.IllegalArgumentException if
-     *     the contentType does not match the type of the content
-     *     object, or if there was no <CODE>
-     *     DataContentHandler</CODE> object for this content
-     *     object
-     * @see #getContent() getContent()
-     */
-    public abstract void setContent(Object object, String contentType);
-
-    /**
-     * Gets the <CODE>DataHandler</CODE> object for this <CODE>
-     * AttachmentPart</CODE> object.
-     * @return the <CODE>DataHandler</CODE> object associated with
-     *     this <CODE>AttachmentPart</CODE> object
-     * @throws  SOAPException  if there is
-     *     no data in this <CODE>AttachmentPart</CODE> object
-     */
-// ericvas
-//    public abstract DataHandler getDataHandler() throws SOAPException;
-
-    /**
-     * Sets the given <CODE>DataHandler</CODE> object as the
-     * data handler for this <CODE>AttachmentPart</CODE> object.
-     * Typically, on an incoming message, the data handler is
-     * automatically set. When a message is being created and
-     * populated with content, the <CODE>setDataHandler</CODE>
-     * method can be used to get data from various data sources into
-     * the message.
-     * @param  datahandler  <CODE>DataHandler</CODE> object to
-     *     be set
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified <CODE>
-     *     DataHandler</CODE> object
-     */
-// ericvas
-//    public abstract void setDataHandler(DataHandler datahandler);
-
-    /**
-     * Gets the value of the MIME header whose name is
-     * "Content-Id".
-     * @return  a <CODE>String</CODE> giving the value of the
-     *     "Content-Id" header or <CODE>null</CODE> if there is
-     *     none
-     * @see #setContentId(java.lang.String) setContentId(java.lang.String)
-     */
-    public String getContentId() {
-
-        String as[] = getMimeHeader("Content-Id");
-
-        if (as != null && as.length > 0) {
-            return as[0];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Gets the value of the MIME header
-     * "Content-Location".
-     * @return  a <CODE>String</CODE> giving the value of the
-     *     "Content-Location" header or <CODE>null</CODE> if there
-     *     is none
-     */
-    public String getContentLocation() {
-
-        String as[] = getMimeHeader("Content-Location");
-
-        if (as != null && as.length > 0) {
-            return as[0];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Gets the value of the MIME header "Content-Type".
-     * @return  a <CODE>String</CODE> giving the value of the
-     *     "Content-Type" header or <CODE>null</CODE> if there is
-     *     none
-     */
-    public String getContentType() {
-
-        String as[] = getMimeHeader("Content-Type");
-
-        if (as != null && as.length > 0) {
-            return as[0];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Sets the MIME header "Content-Id" with the given
-     * value.
-     * @param  contentId a <CODE>String</CODE> giving
-     *     the value of the "Content-Id" header
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified <CODE>
-     *     contentId</CODE> value
-     * @see #getContentId() getContentId()
-     */
-    public void setContentId(String contentId) {
-        setMimeHeader("Content-Id", contentId);
-    }
-
-    /**
-     * Sets the MIME header "Content-Location" with the given
-     * value.
-     * @param  contentLocation a <CODE>String</CODE>
-     *     giving the value of the "Content-Location" header
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified content
-     *     location
-     */
-    public void setContentLocation(String contentLocation) {
-        setMimeHeader("Content-Location", contentLocation);
-    }
-
-    /**
-     * Sets the MIME header "Content-Type" with the given
-     * value.
-     * @param  contentType  a <CODE>String</CODE>
-     *     giving the value of the "Content-Type" header
-     * @throws java.lang.IllegalArgumentException if
-     * there was a problem with the specified content type
-     */
-    public void setContentType(String contentType) {
-        setMimeHeader("Content-Type", contentType);
-    }
-
-    /**
-     * Removes all MIME headers that match the given name.
-     * @param  header - the string name of the MIME
-     *     header/s to be removed
-     */
-    public abstract void removeMimeHeader(String header);
-
-    /** Removes all the MIME header entries. */
-    public abstract void removeAllMimeHeaders();
-
-    /**
-     * Gets all the values of the header identified by the given
-     * <CODE>String</CODE>.
-     * @param   name  the name of the header; example:
-     *     "Content-Type"
-     * @return a <CODE>String</CODE> array giving the value for the
-     *     specified header
-     * @see #setMimeHeader(java.lang.String, java.lang.String) setMimeHeader(java.lang.String, java.lang.String)
-     */
-    public abstract String[] getMimeHeader(String name);
-
-    /**
-     * Changes the first header entry that matches the given name
-     *   to the given value, adding a new header if no existing
-     *   header matches. This method also removes all matching
-     *   headers but the first.
-     *
-     *   <P>Note that RFC822 headers can only contain US-ASCII
-     *   characters.</P>
-     * @param  name   a <CODE>String</CODE> giving the
-     *     name of the header for which to search
-     * @param  value  a <CODE>String</CODE> giving the
-     *     value to be set for the header whose name matches the
-     *     given name
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified mime header name
-     *     or value
-     */
-    public abstract void setMimeHeader(String name, String value);
-
-    /**
-     * Adds a MIME header with the specified name and value to
-     *   this <CODE>AttachmentPart</CODE> object.
-     *
-     *   <P>Note that RFC822 headers can contain only US-ASCII
-     *   characters.</P>
-     * @param  name   a <CODE>String</CODE> giving the
-     *     name of the header to be added
-     * @param  value  a <CODE>String</CODE> giving the
-     *     value of the header to be added
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified mime header name
-     *     or value
-     */
-    public abstract void addMimeHeader(String name, String value);
-
-    /**
-     * Retrieves all the headers for this <CODE>
-     * AttachmentPart</CODE> object as an iterator over the <CODE>
-     * MimeHeader</CODE> objects.
-     * @return  an <CODE>Iterator</CODE> object with all of the Mime
-     *     headers for this <CODE>AttachmentPart</CODE> object
-     */
-    public abstract Iterator getAllMimeHeaders();
-
-    /**
-     * Retrieves all <CODE>MimeHeader</CODE> objects that match
-     * a name in the given array.
-     * @param   names a <CODE>String</CODE> array with
-     *     the name(s) of the MIME headers to be returned
-     * @return all of the MIME headers that match one of the names
-     *     in the given array as an <CODE>Iterator</CODE>
-     *     object
-     */
-    public abstract Iterator getMatchingMimeHeaders(String names[]);
-
-    /**
-     * Retrieves all <CODE>MimeHeader</CODE> objects whose name
-     * does not match a name in the given array.
-     * @param   names  a <CODE>String</CODE> array with
-     *     the name(s) of the MIME headers not to be returned
-     * @return all of the MIME headers in this <CODE>
-     *     AttachmentPart</CODE> object except those that match one
-     *     of the names in the given array. The nonmatching MIME
-     *     headers are returned as an <CODE>Iterator</CODE>
-     *     object.
-     */
-    public abstract Iterator getNonMatchingMimeHeaders(String names[]);
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/Detail.java b/v2/src/saaj_api/javax/xml/soap/Detail.java
deleted file mode 100644
index 8d9c166..0000000
--- a/v2/src/saaj_api/javax/xml/soap/Detail.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.util.Iterator;
-
-/**
- * A container for <code>DetailEntry</code> objects. <code>DetailEntry</code>
- * objects give detailed error information that is application-specific and
- * related to the <code>SOAPBody</code> object that contains it.
- * <P>
- * A <code>Detail</code> object, which is part of a <code>SOAPFault</code>
- * object, can be retrieved using the method <code>SOAPFault.getDetail</code>.
- * The <code>Detail</code> interface provides two methods. One creates a new
- * <code>DetailEntry</code> object and also automatically adds it to
- * the <code>Detail</code> object. The second method gets a list of the
- * <code>DetailEntry</code> objects contained in a <code>Detail</code>
- * object.
- * <P>
- * The following code fragment, in which <i>sf</i> is a <code>SOAPFault</code>
- * object, gets its <code>Detail</code> object (<i>d</i>), adds a new
- * <code>DetailEntry</code> object to <i>d</i>, and then gets a list of all the
- * <code>DetailEntry</code> objects in <i>d</i>. The code also creates a
- * <code>Name</code> object to pass to the method <code>addDetailEntry</code>.
- * The variable <i>se</i>, used to create the <code>Name</code> object,
- * is a <code>SOAPEnvelope</code> object.
- * <PRE>
- *    Detail d = sf.getDetail();
- *    Name name = se.createName("GetLastTradePrice", "WOMBAT",
- *                                "http://www.wombat.org/trader");
- *    d.addDetailEntry(name);
- *    Iterator it = d.getDetailEntries();
- * </PRE>
- */
-public interface Detail extends SOAPFaultElement {
-
-    /**
-     * Creates a new <code>DetailEntry</code> object with the given
-     * name and adds it to this <code>Detail</code> object.
-     * @param   name a <code>Name</code> object identifying the new <code>DetailEntry</code> object
-     * @return DetailEntry.
-     * @throws SOAPException  thrown when there is a problem in adding a DetailEntry object to this Detail object.
-     */
-    public abstract DetailEntry addDetailEntry(Name name) throws SOAPException;
-
-    /**
-     * Gets a list of the detail entries in this <code>Detail</code> object.
-     * @return  an <code>Iterator</code> object over the <code>DetailEntry</code>
-     *        objects in this <code>Detail</code> object
-     */
-    public abstract Iterator getDetailEntries();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/DetailEntry.java b/v2/src/saaj_api/javax/xml/soap/DetailEntry.java
deleted file mode 100644
index 0273338..0000000
--- a/v2/src/saaj_api/javax/xml/soap/DetailEntry.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * The content for a <code>Detail</code> object, giving details for
- * a <code>SOAPFault</code> object.  A <code>DetailEntry</code> object,
- * which carries information about errors related to the <code>SOAPBody</code>
- * object that contains it, is application-specific.
- * <P>
- */
-public interface DetailEntry extends SOAPElement {}
diff --git a/v2/src/saaj_api/javax/xml/soap/FactoryFinder.java b/v2/src/saaj_api/javax/xml/soap/FactoryFinder.java
deleted file mode 100644
index bedea7a..0000000
--- a/v2/src/saaj_api/javax/xml/soap/FactoryFinder.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-
-import java.util.Properties;
-
-/**
- * This class is used to locate factory classes for javax.xml.soap.
- * It has package scope since it is not part of JAXM and should not
- * be accessed from other packages.
- */
-class FactoryFinder {
-    /**
-     * instantiates an object go the given classname.
-     *
-     * @param factoryClassName
-     * @return a factory object
-     * @throws SOAPException
-     */
-    private static Object newInstance(String factoryClassName) throws SOAPException {
-        ClassLoader classloader = null;
-        try {
-            classloader = Thread.currentThread().getContextClassLoader();
-        } catch (Exception exception) {
-            throw new SOAPException(exception.toString(), exception);
-        }
-
-        try {
-            Class factory = null;
-            if (classloader == null) {
-                factory = Class.forName(factoryClassName);
-            } else {
-                try {
-                    factory = classloader.loadClass(factoryClassName);
-                } catch (ClassNotFoundException cnfe) {}
-            }
-            if (factory == null) {
-                classloader = FactoryFinder.class.getClassLoader();
-                factory = classloader.loadClass(factoryClassName);
-            }
-            return factory.newInstance();
-        } catch (ClassNotFoundException classnotfoundexception) {
-            throw new SOAPException("Provider " + factoryClassName + " not found", classnotfoundexception);
-        } catch (Exception exception) {
-            throw new SOAPException("Provider " + factoryClassName + " could not be instantiated: " + exception, exception);
-        }
-    }
-
-    /**
-     * Instantiates a factory object given the factory's property name and the
-     * default class name.
-     *
-     * @param factoryPropertyName
-     * @param defaultFactoryClassName
-     * @return a factory object
-     * @throws SOAPException
-     */
-    static Object find(String factoryPropertyName, String defaultFactoryClassName) throws SOAPException {
-        try {
-            String factoryClassName = System.getProperty(factoryPropertyName);
-            if (factoryClassName != null) {
-                return newInstance(factoryClassName);
-            }
-        } catch (SecurityException securityexception) {}
-
-        try {
-            String propertiesFileName = System.getProperty("java.home")
-                                        + File.separator + "lib"
-                                        + File.separator + "jaxm.properties";
-            File file = new File(propertiesFileName);
-            if (file.exists()) {
-                FileInputStream fileInput = new FileInputStream(file);
-                Properties properties = new Properties();
-                properties.load(fileInput);
-                fileInput.close();
-                String factoryClassName = properties.getProperty(factoryPropertyName);
-                return newInstance(factoryClassName);
-            }
-        } catch (Exception exception1) {}
-
-        String factoryResource = "META-INF/services/" + factoryPropertyName;
-
-        try {
-            InputStream inputstream = getResource(factoryResource);
-            if (inputstream != null) {
-                BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(inputstream, "UTF-8"));
-                String factoryClassName = bufferedreader.readLine();
-                bufferedreader.close();
-                if ((factoryClassName != null) && !"".equals(factoryClassName)) {
-                    return newInstance(factoryClassName);
-                }
-            }
-        } catch (Exception exception2) {}
-
-        if (defaultFactoryClassName == null) {
-            throw new SOAPException("Provider for " + factoryPropertyName + " cannot be found", null);
-        } else {
-            return newInstance(defaultFactoryClassName);
-        }
-    }
-
-    /**
-     * Returns an input stream for the specified resource.
-     *
-     * <p>This method will firstly try
-     * <code>ClassLoader.getSystemResourceAsStream()</code> then
-     * the class loader of the current thread with
-     * <code>getResourceAsStream()</code> and finally attempt
-     * <code>getResourceAsStream()</code> on
-     * <code>FactoryFinder.class.getClassLoader()</code>.
-     *
-     * @param factoryResource  the resource name
-     * @return  an InputStream that can be used to read that resource, or
-     *              <code>null</code> if the resource could not be resolved
-     */
-    private static InputStream getResource(String factoryResource) {
-        ClassLoader classloader = null;
-        try {
-            classloader = Thread.currentThread().getContextClassLoader();
-        } catch (SecurityException securityexception) {}
-
-        InputStream inputstream;
-        if (classloader == null) {
-            inputstream = ClassLoader.getSystemResourceAsStream(factoryResource);
-        } else {
-            inputstream = classloader.getResourceAsStream(factoryResource);
-        }
-
-        if (inputstream == null) {
-            inputstream = FactoryFinder.class.getClassLoader().getResourceAsStream(factoryResource);
-        }
-        return inputstream;
-    }
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/MessageFactory.java b/v2/src/saaj_api/javax/xml/soap/MessageFactory.java
deleted file mode 100644
index 5363900..0000000
--- a/v2/src/saaj_api/javax/xml/soap/MessageFactory.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-/**
- * <P>A factory for creating <CODE>SOAPMessage</CODE> objects.</P>
- *
- *   <P>A JAXM client performs the following steps to create a
- *   message.</P>
- *
- *   <UL>
- *     <LI>
- *       Creates a <CODE>MessageFactory</CODE> object from a <CODE>
- *       ProviderConnection</CODE> object (<CODE>con</CODE> in the
- *       following line of code). The <CODE>String</CODE> passed to
- *       the <CODE>createMessageFactory</CODE> method is the name of
- *       of a messaging profile, which must be the URL for the
- *       schema.
- * <PRE>
- *      MessageFactory mf = con.createMessageFactory(schemaURL);
- * </PRE>
- *     </LI>
- *
- *     <LI>
- *       Calls the method <CODE>createMessage</CODE> on the <CODE>
- *       MessageFactory</CODE> object. All messages produced by this
- *       <CODE>MessageFactory</CODE> object will have the header
- *       information appropriate for the messaging profile that was
- *       specified when the <CODE>MessageFactory</CODE> object was
- *       created.
- * <PRE>
- *      SOAPMessage m = mf.createMessage();
- * </PRE>
- *     </LI>
- *   </UL>
- *   It is also possible to create a <CODE>MessageFactory</CODE>
- *   object using the method <CODE>newInstance</CODE>, as shown in
- *   the following line of code.
- * <PRE>
- *      MessageFactory mf = MessageFactory.newInstance();
- * </PRE>
- *   A standalone client (a client that is not running in a
- *   container) can use the <CODE>newInstance</CODE> method to
- *   create a <CODE>MessageFactory</CODE> object.
- *
- *   <P>All <CODE>MessageFactory</CODE> objects, regardless of how
- *   they are created, will produce <CODE>SOAPMessage</CODE> objects
- *   that have the following elements by default:</P>
- *
- *   <UL>
- *     <LI>A <CODE>SOAPPart</CODE> object</LI>
- *
- *     <LI>A <CODE>SOAPEnvelope</CODE> object</LI>
- *
- *     <LI>A <CODE>SOAPBody</CODE> object</LI>
- *
- *     <LI>A <CODE>SOAPHeader</CODE> object</LI>
- *   </UL>
- *   If a <CODE>MessageFactory</CODE> object was created using a
- *   <CODE>ProviderConnection</CODE> object, which means that it was
- *   initialized with a specified profile, it will produce messages
- *   that also come prepopulated with additional entries in the
- *   <CODE>SOAPHeader</CODE> object and the <CODE>SOAPBody</CODE>
- *   object. The content of a new <CODE>SOAPMessage</CODE> object
- *   depends on which of the two <CODE>MessageFactory</CODE> methods
- *   is used to create it.
- *
- *   <UL>
- *     <LI><CODE>createMessage()</CODE> -- message has no
- *     content<BR>
- *      This is the method clients would normally use to create a
- *     request message.</LI>
- *
- *     <LI><CODE>createMessage(MimeHeaders,
- *     java.io.InputStream)</CODE> -- message has content from the
- *     <CODE>InputStream</CODE> object and headers from the <CODE>
- *     MimeHeaders</CODE> object<BR>
- *      This method can be used internally by a service
- *     implementation to create a message that is a response to a
- *     request.</LI>
- *   </UL>
- */
-public abstract class MessageFactory {
-
-    // fixme: this should be protected as the class is abstract.
-    /** Create a new MessageFactory. */
-    public MessageFactory() {}
-
-    /**
-     * Creates a new <CODE>MessageFactory</CODE> object that is
-     * an instance of the default implementation.
-     * @return a new <CODE>MessageFactory</CODE> object
-     * @throws  SOAPException  if there was an error in
-     *     creating the default implementation of the <CODE>
-     *     MessageFactory</CODE>
-     */
-    public static MessageFactory newInstance() throws SOAPException {
-
-        try {
-            return (MessageFactory) FactoryFinder.find(MESSAGE_FACTORY_PROPERTY,
-                                                       DEFAULT_MESSAGE_FACTORY);
-        } catch (Exception exception) {
-            throw new SOAPException(
-                "Unable to create message factory for SOAP: "
-                + exception.getMessage());
-        }
-    }
-
-    /**
-     * Creates a new <CODE>SOAPMessage</CODE> object with the
-     *   default <CODE>SOAPPart</CODE>, <CODE>SOAPEnvelope</CODE>,
-     *   <CODE>SOAPBody</CODE>, and <CODE>SOAPHeader</CODE> objects.
-     *   Profile-specific message factories can choose to
-     *   prepopulate the <CODE>SOAPMessage</CODE> object with
-     *   profile-specific headers.
-     *
-     *   <P>Content can be added to this message's <CODE>
-     *   SOAPPart</CODE> object, and the message can be sent "as is"
-     *   when a message containing only a SOAP part is sufficient.
-     *   Otherwise, the <CODE>SOAPMessage</CODE> object needs to
-     *   create one or more <CODE>AttachmentPart</CODE> objects and
-     *   add them to itself. Any content that is not in XML format
-     *   must be in an <CODE>AttachmentPart</CODE> object.</P>
-     * @return  a new <CODE>SOAPMessage</CODE> object
-     * @throws  SOAPException if a SOAP error occurs
-     */
-    public abstract SOAPMessage createMessage() throws SOAPException;
-
-    /**
-     * Internalizes the contents of the given <CODE>
-     * InputStream</CODE> object into a new <CODE>SOAPMessage</CODE>
-     * object and returns the <CODE>SOAPMessage</CODE> object.
-     * @param   mimeheaders    the transport-specific headers
-     *     passed to the message in a transport-independent fashion
-     *     for creation of the message
-     * @param   inputstream    the <CODE>InputStream</CODE> object
-     *     that contains the data for a message
-     * @return a new <CODE>SOAPMessage</CODE> object containing the
-     *     data from the given <CODE>InputStream</CODE> object
-     * @throws  IOException    if there is a
-     *     problem in reading data from the input stream
-     * @throws  SOAPException  if the message is invalid
-     */
-    public abstract SOAPMessage createMessage(
-        MimeHeaders mimeheaders, InputStream inputstream)
-            throws IOException, SOAPException;
-
-    private static final String DEFAULT_MESSAGE_FACTORY =
-        "org.apache.axis.soap.MessageFactoryImpl";
-
-    private static final String MESSAGE_FACTORY_PROPERTY =
-        "javax.xml.soap.MessageFactory";
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/MimeHeader.java b/v2/src/saaj_api/javax/xml/soap/MimeHeader.java
deleted file mode 100644
index eaa53ee..0000000
--- a/v2/src/saaj_api/javax/xml/soap/MimeHeader.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * An object that stores a MIME header name and its value. One
- *   or more <CODE>MimeHeader</CODE> objects may be contained in a
- *   <CODE>MimeHeaders</CODE> object.
- * @see MimeHeaders MimeHeaders
- */
-public class MimeHeader {
-
-    /**
-     * Constructs a <CODE>MimeHeader</CODE> object initialized
-     * with the given name and value.
-     * @param  name a <CODE>String</CODE> giving the
-     *     name of the header
-     * @param  value a <CODE>String</CODE> giving the
-     *     value of the header
-     */
-    public MimeHeader(String name, String value) {
-        this.name  = name;
-        this.value = value;
-    }
-
-    /**
-     * Returns the name of this <CODE>MimeHeader</CODE>
-     * object.
-     * @return  the name of the header as a <CODE>String</CODE>
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * Returns the value of this <CODE>MimeHeader</CODE>
-     * object.
-     * @return the value of the header as a <CODE>String</CODE>
-     */
-    public String getValue() {
-        return value;
-    }
-
-    private String name;
-
-    private String value;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/MimeHeaders.java b/v2/src/saaj_api/javax/xml/soap/MimeHeaders.java
deleted file mode 100644
index e1533c0..0000000
--- a/v2/src/saaj_api/javax/xml/soap/MimeHeaders.java
+++ /dev/null
@@ -1,310 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.util.Iterator;
-import java.util.Vector;
-
-/**
- * A container for <CODE>MimeHeader</CODE> objects, which
- *   represent the MIME headers present in a MIME part of a
- *   message.</P>
- *
- *   <P>This class is used primarily when an application wants to
- *   retrieve specific attachments based on certain MIME headers and
- *   values. This class will most likely be used by implementations
- *   of <CODE>AttachmentPart</CODE> and other MIME dependent parts
- *   of the JAXM API.
- * @see SOAPMessage#getAttachments() SOAPMessage.getAttachments()
- * @see AttachmentPart AttachmentPart
- */
-public class MimeHeaders {
-
-    class MatchingIterator implements Iterator {
-
-        private Object nextMatch() {
-
-            label0:
-            while (iterator.hasNext()) {
-                MimeHeader mimeheader = (MimeHeader) iterator.next();
-
-                if (names == null) {
-                    return match
-                           ? null
-                           : mimeheader;
-                }
-
-                for (int i = 0; i < names.length; i++) {
-                    if (!mimeheader.getName().equalsIgnoreCase(names[i])) {
-                        continue;
-                    }
-
-                    if (match) {
-                        return mimeheader;
-                    }
-
-                    continue label0;
-                }
-
-                if (!match) {
-                    return mimeheader;
-                }
-            }
-
-            return null;
-        }
-
-        public boolean hasNext() {
-
-            if (nextHeader == null) {
-                nextHeader = nextMatch();
-            }
-
-            return nextHeader != null;
-        }
-
-        public Object next() {
-
-            if (nextHeader != null) {
-                Object obj = nextHeader;
-
-                nextHeader = null;
-
-                return obj;
-            }
-
-            if (hasNext()) {
-                return nextHeader;
-            } else {
-                return null;
-            }
-        }
-
-        public void remove() {
-            iterator.remove();
-        }
-
-        private boolean match;
-
-        private Iterator iterator;
-
-        private String names[];
-
-        private Object nextHeader;
-
-        MatchingIterator(String as[], boolean flag) {
-
-            match    = flag;
-            names    = as;
-            iterator = headers.iterator();
-        }
-    }
-
-    /**
-     * Constructs
-     *   a default <CODE>MimeHeaders</CODE> object initialized with
-     *   an empty <CODE>Vector</CODE> object.
-     */
-    public MimeHeaders() {
-        headers = new Vector();
-    }
-
-    /**
-     * Returns all of the values for the specified header as an
-     * array of <CODE>String</CODE> objects.
-     * @param   name  the name of the header for which
-     *     values will be returned
-     * @return a <CODE>String</CODE> array with all of the values
-     *     for the specified header
-     * @see #setHeader(java.lang.String, java.lang.String) setHeader(java.lang.String, java.lang.String)
-     */
-    public String[] getHeader(String name) {
-
-        Vector vector = new Vector();
-
-        for (int i = 0; i < headers.size(); i++) {
-            MimeHeader mimeheader = (MimeHeader) headers.elementAt(i);
-
-            if (mimeheader.getName().equalsIgnoreCase(name)
-                    && (mimeheader.getValue() != null)) {
-                vector.addElement(mimeheader.getValue());
-            }
-        }
-
-        if (vector.size() == 0) {
-            return null;
-        } else {
-            String as[] = new String[vector.size()];
-
-            vector.copyInto(as);
-
-            return as;
-        }
-    }
-
-    /**
-     * Replaces the current value of the first header entry whose
-     *   name matches the given name with the given value, adding a
-     *   new header if no existing header name matches. This method
-     *   also removes all matching headers after the first one.
-     *
-     *   <P>Note that RFC822 headers can contain only US-ASCII
-     *   characters.</P>
-     * @param  name a <CODE>String</CODE> with the
-     *     name of the header for which to search
-     * @param  value a <CODE>String</CODE> with the
-     *     value that will replace the current value of the
-     *     specified header
-     * @throws java.lang.IllegalArgumentException if there was a
-     * problem in the mime header name or the value being set
-     * @see #getHeader(java.lang.String) getHeader(java.lang.String)
-     */
-    public void setHeader(String name, String value) {
-
-        boolean flag = false;
-
-        if ((name == null) || name.equals("")) {
-            throw new IllegalArgumentException(
-                "Illegal MimeHeader name");
-        }
-
-        for (int i = 0; i < headers.size(); i++) {
-            MimeHeader mimeheader = (MimeHeader) headers.elementAt(i);
-
-            if (mimeheader.getName().equalsIgnoreCase(name)) {
-                if (!flag) {
-                    headers.setElementAt(new MimeHeader(mimeheader
-                        .getName(), value), i);
-
-                    flag = true;
-                } else {
-                    headers.removeElementAt(i--);
-                }
-            }
-        }
-
-        if (!flag) {
-            addHeader(name, value);
-        }
-    }
-
-    /**
-     * Adds a <CODE>MimeHeader</CODE> object with the specified
-     *   name and value to this <CODE>MimeHeaders</CODE> object's
-     *   list of headers.
-     *
-     *   <P>Note that RFC822 headers can contain only US-ASCII
-     *   characters.</P>
-     * @param  name   a <CODE>String</CODE> with the
-     *     name of the header to be added
-     * @param  value  a <CODE>String</CODE> with the
-     *     value of the header to be added
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem in the mime header name or value
-     *     being added
-     */
-    public void addHeader(String name, String value) {
-
-        if ((name == null) || name.equals("")) {
-            throw new IllegalArgumentException(
-                "Illegal MimeHeader name");
-        }
-
-        int i = headers.size();
-
-        for (int j = i - 1; j >= 0; j--) {
-            MimeHeader mimeheader = (MimeHeader) headers.elementAt(j);
-
-            if (mimeheader.getName().equalsIgnoreCase(name)) {
-                headers.insertElementAt(new MimeHeader(name, value), j + 1);
-
-                return;
-            }
-        }
-
-        headers.addElement(new MimeHeader(name, value));
-    }
-
-    /**
-     * Remove all <CODE>MimeHeader</CODE> objects whose name
-     * matches the the given name.
-     * @param  name  a <CODE>String</CODE> with the
-     *     name of the header for which to search
-     */
-    public void removeHeader(String name) {
-
-        for (int i = 0; i < headers.size(); i++) {
-            MimeHeader mimeheader = (MimeHeader) headers.elementAt(i);
-
-            if (mimeheader.getName().equalsIgnoreCase(name)) {
-                headers.removeElementAt(i--);
-            }
-        }
-    }
-
-    /**
-     * Removes all the header entries from this <CODE>
-     * MimeHeaders</CODE> object.
-     */
-    public void removeAllHeaders() {
-        headers.removeAllElements();
-    }
-
-    /**
-     * Returns all the headers in this <CODE>MimeHeaders</CODE>
-     * object.
-     * @return  an <CODE>Iterator</CODE> object over this <CODE>
-     *     MimeHeaders</CODE> object's list of <CODE>
-     *     MimeHeader</CODE> objects
-     */
-    public Iterator getAllHeaders() {
-        return headers.iterator();
-    }
-
-    /**
-     * Returns all the <CODE>MimeHeader</CODE> objects whose
-     * name matches a name in the given array of names.
-     * @param   names an array of <CODE>String</CODE>
-     *    objects with the names for which to search
-     * @return  an <CODE>Iterator</CODE> object over the <CODE>
-     *     MimeHeader</CODE> objects whose name matches one of the
-     *     names in the given list
-     */
-    public Iterator getMatchingHeaders(String names[]) {
-        return new MatchingIterator(names, true);
-    }
-
-    /**
-     * Returns all of the <CODE>MimeHeader</CODE> objects whose
-     * name does not match a name in the given array of names.
-     * @param   names  an array of <CODE>String</CODE>
-     *     objects with the names for which to search
-     * @return an <CODE>Iterator</CODE> object over the <CODE>
-     *     MimeHeader</CODE> objects whose name does not match one
-     *     of the names in the given list
-     */
-    public Iterator getNonMatchingHeaders(String names[]) {
-        return new MatchingIterator(names, false);
-    }
-
-    // fixme: does this need to be a Vector? Will a non-synchronized impl of
-    // List do?
-    /**
-     * A <code>Vector</code> containing the headers as <code>MimeHeader</code>
-     *              instances.
-     */
-    protected Vector headers;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/Name.java b/v2/src/saaj_api/javax/xml/soap/Name.java
deleted file mode 100644
index 163083d..0000000
--- a/v2/src/saaj_api/javax/xml/soap/Name.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A representation of an XML name.  This interface provides methods for
- * getting the local and namespace-qualified names and also for getting the
- * prefix associated with the namespace for the name. It is also possible
- * to get the URI of the namespace.
- * <P>
- * The following is an example of a namespace declaration in an element.
- * <PRE>
- *  &lt;wombat:GetLastTradePrice xmlns:wombat="http://www.wombat.org/trader"&gt;
- * </PRE>
- * ("xmlns" stands for "XML namespace".)
- * The following
- * shows what the methods in the <code>Name</code> interface will return.
- * <UL>
- * <LI><code>getQualifiedName</code> will return "prefix:LocalName" =
- *     "WOMBAT:GetLastTradePrice"
- * <LI><code>getURI</code> will return "http://www.wombat.org/trader"
- * <LI><code>getLocalName</code> will return "GetLastTracePrice"
- * <LI><code>getPrefix</code> will return "WOMBAT"
- * </UL>
- * <P>
- * XML namespaces are used to disambiguate SOAP identifiers from
- * application-specific identifiers.
- * <P>
- * <code>Name</code> objects are created using the method
- * <code>SOAPEnvelope.createName</code>, which has two versions.
- * One method creates <code>Name</code> objects with
- * a local name, a namespace prefix, and a namespace URI.
- * and the second creates <code>Name</code> objects with just a local name.
- * The following line of
- * code, in which <i>se</i> is a <code>SOAPEnvelope</code> object, creates a new
- * <code>Name</code> object with all three.
- * <PRE>
- *    Name name = se.createName("GetLastTradePrice", "WOMBAT",
- *                               "http://www.wombat.org/trader");
- * </PRE>
- * The following line of code gives an example of how a <code>Name</code> object
- * can be used. The variable <i>element</i> is a <code>SOAPElement</code> object.
- * This code creates a new <code>SOAPElement</code> object with the given name and
- * adds it to <i>element</i>.
- * <PRE>
- *    element.addChildElement(name);
- * </PRE>
- */
-public interface Name {
-
-    /**
-     * Gets the local name part of the XML name that this <code>Name</code>
-     * object represents.
-     * @return  a string giving the local name
-     */
-    public abstract String getLocalName();
-
-    /**
-     * Gets the namespace-qualified name of the XML name that this
-     * <code>Name</code> object represents.
-     * @return  the namespace-qualified name as a string
-     */
-    public abstract String getQualifiedName();
-
-    /**
-     * Returns the prefix associated with the namespace for the XML
-     * name that this <code>Name</code> object represents.
-     * @return  the prefix as a string
-     */
-    public abstract String getPrefix();
-
-    /**
-     * Returns the URI of the namespace for the XML
-     * name that this <code>Name</code> object represents.
-     * @return  the URI as a string
-     */
-    public abstract String getURI();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/Node.java b/v2/src/saaj_api/javax/xml/soap/Node.java
deleted file mode 100644
index ce4b7fa..0000000
--- a/v2/src/saaj_api/javax/xml/soap/Node.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A representation of a node (element) in a DOM representation of an XML document
- * that provides some tree manipulation methods.
- * This interface provides methods for getting the value of a node, for
- * getting and setting the parent of a node, and for removing a node.
- */
-public interface Node extends org.w3c.dom.Node {
-
-    /**
-     * Returns the the value of the immediate child of this <code>Node</code>
-     * object if a child exists and its value is text.
-     * @return  a <code>String</code> with the text of the immediate child of
-     *    this <code>Node</code> object if (1) there is a child and
-     *    (2) the child is a <code>Text</code> object;
-     *      <code>null</code> otherwise
-     */
-    public abstract String getValue();
-
-    /**
-     * Sets the parent of this <code>Node</code> object to the given
-     * <code>SOAPElement</code> object.
-     * @param parent the <code>SOAPElement</code> object to be set as
-     *  the parent of this <code>Node</code> object
-     * @throws SOAPException if there is a problem in setting the
-     *                     parent to the given element
-     * @see #getParentElement() getParentElement()
-     */
-    public abstract void setParentElement(SOAPElement parent)
-        throws SOAPException;
-
-    /**
-     * Returns the parent element of this <code>Node</code> object.
-     * This method can throw an <code>UnsupportedOperationException</code>
-     * if the tree is not kept in memory.
-     * @return  the <code>SOAPElement</code> object that is the parent of
-     *    this <code>Node</code> object or <code>null</code> if this
-     *    <code>Node</code> object is root
-     * @throws java.lang.UnsupportedOperationException if the whole tree is not kept in memory
-     * @see #setParentElement(javax.xml.soap.SOAPElement) setParentElement(javax.xml.soap.SOAPElement)
-     */
-    public abstract SOAPElement getParentElement();
-
-    /**
-     * Removes this <code>Node</code> object from the tree. Once
-     * removed, this node can be garbage collected if there are no
-     * application references to it.
-     */
-    public abstract void detachNode();
-
-    /**
-     * Notifies the implementation that this <code>Node</code>
-     * object is no longer being used by the application and that the
-     * implementation is free to reuse this object for nodes that may
-     * be created later.
-     * <P>
-     * Calling the method <code>recycleNode</code> implies that the method
-     * <code>detachNode</code> has been called previously.
-     */
-    public abstract void recycleNode();
-
-    /**
-     * If this is a Text node then this method will set its value, otherwise it
-     * sets the value of the immediate (Text) child of this node. The value of
-     * the immediate child of this node can be set only if, there is one child
-     * node and that node is a Text node, or if there are no children in which
-     * case a child Text node will be created.
-     *
-     * @param value the text to set
-     * @throws IllegalStateException   if the node is not a Text  node and
-     *              either has more than one child node or has a child node that
-     *              is not a Text node
-     */
-
-    public abstract void setValue(String value);
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPBody.java b/v2/src/saaj_api/javax/xml/soap/SOAPBody.java
deleted file mode 100644
index 944243d..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPBody.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import org.w3c.dom.Document;
-
-import java.util.Locale;
-
-/**
- * An object that represents the contents of the SOAP body
- * element in a SOAP message. A SOAP body element consists of XML data
- * that affects the way the application-specific content is processed.
- * <P>
- * A <code>SOAPBody</code> object contains <code>SOAPBodyElement</code>
- * objects, which have the content for the SOAP body.
- * A <code>SOAPFault</code> object, which carries status and/or
- * error information, is an example of a <code>SOAPBodyElement</code> object.
- * @see SOAPFault SOAPFault
- */
-public interface SOAPBody extends SOAPElement {
-
-    /**
-     * Creates a new <code>SOAPFault</code> object and adds it to
-     * this <code>SOAPBody</code> object.
-     * @return the new <code>SOAPFault</code> object
-     * @throws  SOAPException if there is a SOAP error
-     */
-    public abstract SOAPFault addFault() throws SOAPException;
-
-    /**
-     * Indicates whether a <code>SOAPFault</code> object exists in
-     * this <code>SOAPBody</code> object.
-     * @return <code>true</code> if a <code>SOAPFault</code> object exists in
-     *     this <code>SOAPBody</code> object; <code>false</code>
-     *     otherwise
-     */
-    public abstract boolean hasFault();
-
-    /**
-     * Returns the <code>SOAPFault</code> object in this <code>SOAPBody</code>
-     * object.
-     * @return the <code>SOAPFault</code> object in this <code>SOAPBody</code>
-     *    object
-     */
-    public abstract SOAPFault getFault();
-
-    /**
-     * Creates a new <code>SOAPBodyElement</code> object with the
-     * specified name and adds it to this <code>SOAPBody</code> object.
-     * @param name a <code>Name</code> object with the name for the new
-     *   <code>SOAPBodyElement</code> object
-     * @return the new <code>SOAPBodyElement</code> object
-     * @throws SOAPException  if a SOAP error occurs
-     */
-    public abstract SOAPBodyElement addBodyElement(Name name)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>SOAPFault</code> object and adds it to this
-     * <code>SOAPBody</code> object. The new <code>SOAPFault</code> will have a
-     * <code>faultcode</code> element that is set to the <code>faultCode</code>
-     * parameter and a <code>faultstring</code> set to <code>faultstring</code>
-     * and localized to <code>locale</code>.
-     *
-     * @param faultCode a <code>Name</code> object giving the fault code to be
-     *              set; must be one of the fault codes defined in the SOAP 1.1
-     *              specification and of type QName
-     * @param faultString a <code>String</code> giving an explanation of the
-     *              fault
-     * @param locale a <code>Locale</code> object indicating the native language
-     *              of the <ocde>faultString</code>
-     * @return the new <code>SOAPFault</code> object
-     * @throws SOAPException  if there is a SOAP error
-     */
-    public abstract SOAPFault addFault(Name faultCode,
-                                       String faultString,
-                                       Locale locale) throws SOAPException;
-
-    /**
-     * Creates a new <code>SOAPFault</code> object and adds it to this
-     * <code>SOAPBody</code> object. The new <code>SOAPFault</code> will have a
-     * <code>faultcode</code> element that is set to the <code>faultCode</code>
-     * parameter and a <code>faultstring</code> set to <code>faultstring</code>.
-     *
-     * @param faultCode a <code>Name</code> object giving the fault code to be
-     *              set; must be one of the fault codes defined in the SOAP 1.1
-     *              specification and of type QName
-     * @param faultString a <code>String</code> giving an explanation of the
-     *              fault
-     * @return the new <code>SOAPFault</code> object
-     * @throws SOAPException  if there is a SOAP error
-     */
-    public abstract SOAPFault addFault(Name faultCode, String faultString) throws SOAPException;
-
-    /**
-     * Adds the root node of the DOM <code>Document</code> to this
-     * <code>SOAPBody</code> object.
-     * <p>
-     * Calling this method invalidates the <code>document</code> parameter. The
-     * client application should discard all references to this
-     * <code>Document</code> and its contents upon calling
-     * <code>addDocument</code>. The behavior of an application that continues
-     * to use such references is undefined.
-     *
-     * @param document the <code>Document</code> object whose root node will be
-     *              added to this <code>SOAPBody</code>
-     * @return the <code>SOAPBodyElement</code> that represents the root node
-     *              that was added
-     * @throws SOAPException if the <code>Document</code> cannot be added
-     */
-    public abstract SOAPBodyElement addDocument(Document document) throws SOAPException;
-    }
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPBodyElement.java b/v2/src/saaj_api/javax/xml/soap/SOAPBodyElement.java
deleted file mode 100644
index 4114032..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPBodyElement.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A <code>SOAPBodyElement</code> object represents the contents in
- * a <code>SOAPBody</code> object.  The <code>SOAPFault</code> interface
- * is a <code>SOAPBodyElement</code> object that has been defined.
- * <P>
- * A new <code>SOAPBodyElement</code> object can be created and added
- * to a <code>SOAPBody</code> object with the <code>SOAPBody</code>
- * method <code>addBodyElement</code>. In the following line of code,
- * <code>sb</code> is a <code>SOAPBody</code> object, and
- * <code>myName</code> is a <code>Name</code> object.
- * <PRE>
- *   SOAPBodyElement sbe = sb.addBodyElement(myName);
- * </PRE>
- */
-public interface SOAPBodyElement extends SOAPElement {}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPConnection.java b/v2/src/saaj_api/javax/xml/soap/SOAPConnection.java
deleted file mode 100644
index d653b54..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPConnection.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A point-to-point connection that a client can use for sending messages
- * directly to a remote party (represented by a URL, for instance).
- * <p>
- * A client can obtain a <code>SOAPConnection</code> object simply by
- * calling the following static method.
- * <pre>
- *
- *      SOAPConnection con = SOAPConnection.newInstance();
- * </pre>
- * A <code>SOAPConnection</code> object can be used to send messages
- * directly to a URL following the request/response paradigm.  That is,
- * messages are sent using the method <code>call</code>, which sends the
- * message and then waits until it gets a reply.
- */
-public abstract class SOAPConnection {
-
-    public SOAPConnection() {}
-
-    /**
-     * Sends the given message to the specified endpoint and
-     * blocks until it has returned the response.
-     * @param request the <CODE>SOAPMessage</CODE>
-     *     object to be sent
-     * @param endpoint an <code>Object</code> that identifies
-     *            where the message should be sent. It is required to
-     *            support Objects of type
-     *            <code>java.lang.String</code>,
-     *            <code>java.net.URL</code>, and when JAXM is present
-     *            <code>javax.xml.messaging.URLEndpoint</code>
-     * @return the <CODE>SOAPMessage</CODE> object that is the
-     *     response to the message that was sent
-     * @throws  SOAPException if there is a SOAP error
-     */
-    public abstract SOAPMessage call(SOAPMessage request, Object endpoint)
-        throws SOAPException;
-
-    /**
-     * Closes this <CODE>SOAPConnection</CODE> object.
-     * @throws  SOAPException if there is a SOAP error
-     */
-    public abstract void close() throws SOAPException;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPConnectionFactory.java b/v2/src/saaj_api/javax/xml/soap/SOAPConnectionFactory.java
deleted file mode 100644
index d3e5167..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPConnectionFactory.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A factory for creating <code>SOAPConnection</code> objects. Implementation of
- * this class is optional. If <code>SOAPConnectionFactory.newInstance()</code>
- * throws an <code>UnsupportedOperationException</code> then the implementation
- * does not support the SAAJ communication infrastructure. Otherwise
- * <code>SOAPConnection</code> objects can be created by calling
- * <code>createConnection()</code> on the newly created
- * <code>SOAPConnectionFactory</code> object.
- */
-public abstract class SOAPConnectionFactory {
-
-    public SOAPConnectionFactory() {}
-
-    /**
-     * Creates an instance of the default <CODE>
-     * SOAPConnectionFactory</CODE> object.
-     * @return a new instance of a default <CODE>
-     *     SOAPConnectionFactory</CODE> object
-     * @throws  SOAPException  if there was an error creating
-     *     the <CODE>SOAPConnectionFactory
-     * @throws UnsupportedOperationException  if newInstance is not supported.
-     */
-    public static SOAPConnectionFactory newInstance()
-            throws SOAPException, UnsupportedOperationException {
-
-        try {
-            return (SOAPConnectionFactory) FactoryFinder.find(SF_PROPERTY,
-                    DEFAULT_SOAP_CONNECTION_FACTORY);
-        } catch (Exception exception) {
-            throw new SOAPException("Unable to create SOAP connection factory: "
-                                    + exception.getMessage());
-        }
-    }
-
-    /**
-     * Create a new <CODE>SOAPConnection</CODE>.
-     * @return the new <CODE>SOAPConnection</CODE> object.
-     * @throws  SOAPException if there was an exception
-     *     creating the <CODE>SOAPConnection</CODE> object.
-     */
-    public abstract SOAPConnection createConnection() throws SOAPException;
-
-    private static final String DEFAULT_SOAP_CONNECTION_FACTORY =
-        "org.apache.axis.soap.SOAPConnectionFactoryImpl";
-
-    private static final String SF_PROPERTY =
-        "javax.xml.soap.SOAPConnectionFactory";
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPConstants.java b/v2/src/saaj_api/javax/xml/soap/SOAPConstants.java
deleted file mode 100644
index 6051423..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPConstants.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/** The definition of constants pertaining to the SOAP 1.1 protocol. */
-public interface SOAPConstants {
-
-    /** The namespace identifier for the SOAP envelope. */
-    public static final String URI_NS_SOAP_ENVELOPE =
-        "http://schemas.xmlsoap.org/soap/envelope/";
-
-    /**
-     * The namespace identifier for the SOAP encoding (see section 5 of
-     * the SOAP 1.1 specification).
-     */
-    public static final String URI_NS_SOAP_ENCODING =
-        "http://schemas.xmlsoap.org/soap/encoding/";
-
-    /**
-     * The URI identifying the first application processing a SOAP request as the intended
-     * actor for a SOAP header entry (see section 4.2.2 of the SOAP 1.1 specification).
-     */
-    public static final String URI_SOAP_ACTOR_NEXT =
-        "http://schemas.xmlsoap.org/soap/actor/next";
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPElement.java b/v2/src/saaj_api/javax/xml/soap/SOAPElement.java
deleted file mode 100644
index 52139ed..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPElement.java
+++ /dev/null
@@ -1,288 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.util.Iterator;
-
-/**
- * An object representing the contents in a
- * <code>SOAPBody</code> object, the contents in a <code>SOAPHeader</code>
- * object, the content that can follow the <code>SOAPBody</code> object in a
- * <code>SOAPEnvelope</code> object, or what can follow the detail element
- * in a <code>SOAPFault</code> object. It is
- * the base class for all of the classes that represent the SOAP objects as
- * defined in the SOAP specification.
- */
-public interface SOAPElement extends Node, org.w3c.dom.Element {
-
-    /**
-     * Creates a new <code>SOAPElement</code> object initialized with the
-     * given <code>Name</code> object and adds the new element to this
-     * <code>SOAPElement</code> object.
-     * @param   name a <code>Name</code> object with the XML name for the
-     *   new element
-     * @return the new <code>SOAPElement</code> object that was created
-     * @throws  SOAPException  if there is an error in creating the
-     *                     <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement addChildElement(Name name) throws SOAPException;
-
-    /**
-     * Creates a new <code>SOAPElement</code> object initialized with the
-     * given <code>String</code> object and adds the new element to this
-     * <code>SOAPElement</code> object.
-     * @param   localName a <code>String</code> giving the local name for
-     *     the element
-     * @return the new <code>SOAPElement</code> object that was created
-     * @throws  SOAPException  if there is an error in creating the
-     *                     <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement addChildElement(String localName)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>SOAPElement</code> object initialized with the
-     * specified local name and prefix and adds the new element to this
-     * <code>SOAPElement</code> object.
-     * @param   localName a <code>String</code> giving the local name for
-     *   the new element
-     * @param   prefix a <code>String</code> giving the namespace prefix for
-     *   the new element
-     * @return the new <code>SOAPElement</code> object that was created
-     * @throws  SOAPException  if there is an error in creating the
-     *                     <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement addChildElement(String localName, String prefix)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>SOAPElement</code> object initialized with the
-     * specified local name, prefix, and URI and adds the new element to this
-     * <code>SOAPElement</code> object.
-     * @param   localName a <code>String</code> giving the local name for
-     *   the new element
-     * @param   prefix  a <code>String</code> giving the namespace prefix for
-     *   the new element
-     * @param   uri  a <code>String</code> giving the URI of the namespace
-     *   to which the new element belongs
-     * @return the new <code>SOAPElement</code> object that was created
-     * @throws  SOAPException  if there is an error in creating the
-     *                     <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement addChildElement(
-        String localName, String prefix, String uri) throws SOAPException;
-
-    /**
-     * Add a <code>SOAPElement</code> as a child of this
-     * <code>SOAPElement</code> instance. The <code>SOAPElement</code>
-     * is expected to be created by a
-     * <code>SOAPElementFactory</code>. Callers should not rely on the
-     * element instance being added as is into the XML
-     * tree. Implementations could end up copying the content
-     * of the <code>SOAPElement</code> passed into an instance of
-     * a different <code>SOAPElement</code> implementation. For
-     * instance if <code>addChildElement()</code> is called on a
-     * <code>SOAPHeader</code>, <code>element</code> will be copied
-     * into an instance of a <code>SOAPHeaderElement</code>.
-     *
-     * <P>The fragment rooted in <code>element</code> is either added
-     * as a whole or not at all, if there was an error.
-     *
-     * <P>The fragment rooted in <code>element</code> cannot contain
-     * elements named "Envelope", "Header" or "Body" and in the SOAP
-     * namespace. Any namespace prefixes present in the fragment
-     * should be fully resolved using appropriate namespace
-     * declarations within the fragment itself.
-     * @param   element the <code>SOAPElement</code> to be added as a
-     *           new child
-     * @return  an instance representing the new SOAP element that was
-     *    actually added to the tree.
-     * @throws  SOAPException if there was an error in adding this
-     *                     element as a child
-     */
-    public abstract SOAPElement addChildElement(SOAPElement element)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>Text</code> object initialized with the given
-     * <code>String</code> and adds it to this <code>SOAPElement</code> object.
-     * @param   text a <code>String</code> object with the textual content to be added
-     * @return  the <code>SOAPElement</code> object into which
-     *    the new <code>Text</code> object was inserted
-     * @throws  SOAPException  if there is an error in creating the
-     *               new <code>Text</code> object
-     */
-    public abstract SOAPElement addTextNode(String text) throws SOAPException;
-
-    /**
-     * Adds an attribute with the specified name and value to this
-     * <code>SOAPElement</code> object.
-     * <p>
-     * @param   name a <code>Name</code> object with the name of the attribute
-     * @param   value a <code>String</code> giving the value of the attribute
-     * @return  the <code>SOAPElement</code> object into which the attribute was
-     *    inserted
-     * @throws  SOAPException  if there is an error in creating the
-     *                     Attribute
-     */
-    public abstract SOAPElement addAttribute(Name name, String value)
-        throws SOAPException;
-
-    /**
-     * Adds a namespace declaration with the specified prefix and URI to this
-     * <code>SOAPElement</code> object.
-     * <p>
-     * @param   prefix a <code>String</code> giving the prefix of the namespace
-     * @param  uri a <CODE>String</CODE> giving
-     *     the prefix of the namespace
-     * @return  the <code>SOAPElement</code> object into which this
-     *     namespace declaration was inserted.
-     * @throws  SOAPException  if there is an error in creating the
-     *                     namespace
-     */
-    public abstract SOAPElement addNamespaceDeclaration(
-        String prefix, String uri) throws SOAPException;
-
-    /**
-     * Returns the value of the attribute with the specified
-     * name.
-     * @param   name  a <CODE>Name</CODE> object with
-     *     the name of the attribute
-     * @return a <CODE>String</CODE> giving the value of the
-     *     specified attribute
-     */
-    public abstract String getAttributeValue(Name name);
-
-    /**
-     * Returns an iterator over all of the attribute names in
-     * this <CODE>SOAPElement</CODE> object. The iterator can be
-     * used to get the attribute names, which can then be passed to
-     * the method <CODE>getAttributeValue</CODE> to retrieve the
-     * value of each attribute.
-     * @return  an iterator over the names of the attributes
-     */
-    public abstract Iterator getAllAttributes();
-
-    /**
-     * Returns the URI of the namespace that has the given
-     * prefix.
-     *
-     * @param prefix a <CODE>String</CODE> giving
-     *     the prefix of the namespace for which to search
-     * @return a <CODE>String</CODE> with the uri of the namespace
-     *     that has the given prefix
-     */
-    public abstract String getNamespaceURI(String prefix);
-
-    /**
-     * Returns an iterator of namespace prefixes. The iterator
-     * can be used to get the namespace prefixes, which can then be
-     * passed to the method <CODE>getNamespaceURI</CODE> to retrieve
-     * the URI of each namespace.
-     * @return  an iterator over the namespace prefixes in this
-     *     <CODE>SOAPElement</CODE> object
-     */
-    public abstract Iterator getNamespacePrefixes();
-
-    /**
-     * Returns the name of this <CODE>SOAPElement</CODE>
-     * object.
-     * @return  a <CODE>Name</CODE> object with the name of this
-     *     <CODE>SOAPElement</CODE> object
-     */
-    public abstract Name getElementName();
-
-    /**
-     * Removes the attribute with the specified name.
-     * @param   name  the <CODE>Name</CODE> object with
-     *     the name of the attribute to be removed
-     * @return <CODE>true</CODE> if the attribute was removed
-     *     successfully; <CODE>false</CODE> if it was not
-     */
-    public abstract boolean removeAttribute(Name name);
-
-    /**
-     * Removes the namespace declaration corresponding to the
-     * given prefix.
-     * @param   prefix  a <CODE>String</CODE> giving
-     *     the prefix for which to search
-     * @return <CODE>true</CODE> if the namespace declaration was
-     *     removed successfully; <CODE>false</CODE> if it was
-     *     not
-     */
-    public abstract boolean removeNamespaceDeclaration(String prefix);
-
-    /**
-     * Returns an iterator over all the immediate content of
-     * this element. This includes <CODE>Text</CODE> objects as well
-     * as <CODE>SOAPElement</CODE> objects.
-     * @return  an iterator with the content of this <CODE>
-     *     SOAPElement</CODE> object
-     */
-    public abstract Iterator getChildElements();
-
-    /**
-     * Returns an iterator over all the child elements with the
-     * specified name.
-     * @param   name  a <CODE>Name</CODE> object with
-     *     the name of the child elements to be returned
-     * @return an <CODE>Iterator</CODE> object over all the elements
-     *     in this <CODE>SOAPElement</CODE> object with the
-     *     specified name
-     */
-    public abstract Iterator getChildElements(Name name);
-
-    /**
-     * Sets the encoding style for this <CODE>SOAPElement</CODE>
-     * object to one specified.
-     * @param   encodingStyle a <CODE>String</CODE>
-     *     giving the encoding style
-     * @throws  java.lang.IllegalArgumentException  if
-     *     there was a problem in the encoding style being set.
-     * @see #getEncodingStyle() getEncodingStyle()
-     */
-    public abstract void setEncodingStyle(String encodingStyle)
-        throws SOAPException;
-
-    /**
-     * Returns the encoding style for this <CODE>
-     * SOAPElement</CODE> object.
-     * @return  a <CODE>String</CODE> giving the encoding style
-     * @see #setEncodingStyle(java.lang.String) setEncodingStyle(java.lang.String)
-     */
-    public abstract String getEncodingStyle();
-
-    /**
-     * Detaches all children of this <code>SOAPElement</code>.
-     * <p>
-     * This method is useful for rolling back the construction of partially
-     * completed <code>SOAPHeaders</code> and <code>SOAPBodys</code> in
-     * reparation for sending a fault when an error condition is detected. It is
-     * also useful for recycling portions of a document within a SOAP message.
-     */
-    public abstract void removeContents();
-
-    /**
-     * Returns an <code>Iterator</code> over the namespace prefix
-     * <code>String</code>s visible to this element. The prefixes returned by
-     * this iterator can be passed to the method <code>getNamespaceURI()</code>
-     * to retrieve the URI of each namespace.
-     *
-     * @return an iterator over the namespace prefixes are within scope of this
-     *              <code>SOAPElement</code> object
-     */
-    public abstract Iterator getVisibleNamespacePrefixes();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPElementFactory.java b/v2/src/saaj_api/javax/xml/soap/SOAPElementFactory.java
deleted file mode 100644
index 4966df3..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPElementFactory.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * <P><CODE>SOAPElementFactory</CODE> is a factory for XML
- * fragments that will eventually end up in the SOAP part. These
- * fragments can be inserted as children of the <CODE>
- * SOAPHeader</CODE> or <CODE>SOAPBody</CODE> or <CODE>
- * SOAPEnvelope</CODE>.</P>
- *
- * <P>Elements created using this factory do not have the
- * properties of an element that lives inside a SOAP header
- * document. These elements are copied into the XML document tree
- * when they are inserted.</P>
- * @deprecated - Use javax.xml.soap.SOAPFactory for creating SOAPElements.
- * @see SOAPFactory SOAPFactory
- */
-public class SOAPElementFactory {
-
-    /**
-     * Create a new <code>SOAPElementFactory from a <code>SOAPFactory</code>.
-     *
-     * @param soapfactory  the <code>SOAPFactory</code> to use
-     */
-    private SOAPElementFactory(SOAPFactory soapfactory) {
-        sf = soapfactory;
-    }
-
-    /**
-     * Create a <CODE>SOAPElement</CODE> object initialized with
-     * the given <CODE>Name</CODE> object.
-     * @param   name a <CODE>Name</CODE> object with
-     *     the XML name for the new element
-     * @return the new <CODE>SOAPElement</CODE> object that was
-     *     created
-     * @throws  SOAPException if there is an error in
-     *     creating the <CODE>SOAPElement</CODE> object
-     * @deprecated Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) instead
-     * @see SOAPFactory#createElement(javax.xml.soap.Name) SOAPFactory.createElement(javax.xml.soap.Name)
-     */
-    public SOAPElement create(Name name) throws SOAPException {
-        return sf.createElement(name);
-    }
-
-    /**
-     * Create a <CODE>SOAPElement</CODE> object initialized with
-     * the given local name.
-     * @param   localName a <CODE>String</CODE> giving
-     *     the local name for the new element
-     * @return the new <CODE>SOAPElement</CODE> object that was
-     *     created
-     * @throws  SOAPException if there is an error in
-     *     creating the <CODE>SOAPElement</CODE> object
-     * @deprecated Use javax.xml.soap.SOAPFactory.createElement(String localName) instead
-     * @see SOAPFactory#createElement(java.lang.String) SOAPFactory.createElement(java.lang.String)
-     */
-    public SOAPElement create(String localName) throws SOAPException {
-        return sf.createElement(localName);
-    }
-
-    /**
-     * Create a new <CODE>SOAPElement</CODE> object with the
-     * given local name, prefix and uri.
-     * @param   localName a <CODE>String</CODE> giving
-     *     the local name for the new element
-     * @param   prefix the prefix for this <CODE>
-     *     SOAPElement</CODE>
-     * @param   uri a <CODE>String</CODE> giving the
-     *     URI of the namespace to which the new element
-     *     belongs
-     * @return the new <CODE>SOAPElement</CODE> object that was
-     *     created
-     * @throws  SOAPException if there is an error in
-     *     creating the <CODE>SOAPElement</CODE> object
-     * @deprecated Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) instead
-     * @see SOAPFactory#createElement(java.lang.String, java.lang.String, java.lang.String) SOAPFactory.createElement(java.lang.String, java.lang.String, java.lang.String)
-     */
-    public SOAPElement create(String localName, String prefix, String uri)
-            throws SOAPException {
-        return sf.createElement(localName, prefix, uri);
-    }
-
-    /**
-     * Creates a new instance of <CODE>SOAPElementFactory</CODE>.
-     *
-     * @return a new instance of a <CODE>
-     *     SOAPElementFactory</CODE>
-     * @throws  SOAPException if there was an error creating
-     *     the default <CODE>SOAPElementFactory
-     * @deprecated
-     */
-    public static SOAPElementFactory newInstance() throws SOAPException {
-
-        try {
-            return new SOAPElementFactory(SOAPFactory.newInstance());
-        } catch (Exception exception) {
-            throw new SOAPException("Unable to create SOAP Element Factory: "
-                                    + exception.getMessage());
-        }
-    }
-
-    private SOAPFactory sf;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPEnvelope.java b/v2/src/saaj_api/javax/xml/soap/SOAPEnvelope.java
deleted file mode 100644
index 8455226..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPEnvelope.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * The container for the SOAPHeader and SOAPBody portions of a
- *   <CODE>SOAPPart</CODE> object. By default, a <CODE>
- *   SOAPMessage</CODE> object is created with a <CODE>
- *   SOAPPart</CODE> object that has a <CODE>SOAPEnvelope</CODE>
- *   object. The <CODE>SOAPEnvelope</CODE> object by default has an
- *   empty <CODE>SOAPBody</CODE> object and an empty <CODE>
- *   SOAPHeader</CODE> object. The <CODE>SOAPBody</CODE> object is
- *   required, and the <CODE>SOAPHeader</CODE> object, though
- *   optional, is used in the majority of cases. If the <CODE>
- *   SOAPHeader</CODE> object is not needed, it can be deleted,
- *   which is shown later.</P>
- *
- *   <P>A client can access the <CODE>SOAPHeader</CODE> and <CODE>
- *   SOAPBody</CODE> objects by calling the methods <CODE>
- *   SOAPEnvelope.getHeader</CODE> and <CODE>
- *   SOAPEnvelope.getBody</CODE>. The following lines of code use
- *   these two methods after starting with the <CODE>
- *   SOAPMessage</CODE> object <I>message</I> to get the <CODE>
- *   SOAPPart</CODE> object <I>sp</I>, which is then used to get the
- *   <CODE>SOAPEnvelope</CODE> object <I>se</I>.</P>
- * <PRE>
- *    SOAPPart sp = message.getSOAPPart();
- *    SOAPEnvelope se = sp.getEnvelope();
- *    SOAPHeader sh = se.getHeader();
- *    SOAPBody sb = se.getBody();
- * </PRE>
- *
- *   <P>It is possible to change the body or header of a <CODE>
- *   SOAPEnvelope</CODE> object by retrieving the current one,
- *   deleting it, and then adding a new body or header. The <CODE>
- *   javax.xml.soap.Node</CODE> method <CODE>detachNode</CODE>
- *   detaches the XML element (node) on which it is called. For
- *   example, the following line of code deletes the <CODE>
- *   SOAPBody</CODE> object that is retrieved by the method <CODE>
- *   getBody</CODE>.</P>
- * <PRE>
- *     se.getBody().detachNode();
- * </PRE>
- *   To create a <CODE>SOAPHeader</CODE> object to replace the one
- *   that was removed, a client uses the method <CODE>
- *   SOAPEnvelope.addHeader</CODE>, which creates a new header and
- *   adds it to the <CODE>SOAPEnvelope</CODE> object. Similarly, the
- *   method <CODE>addBody</CODE> creates a new <CODE>SOAPBody</CODE>
- *   object and adds it to the <CODE>SOAPEnvelope</CODE> object. The
- *   following code fragment retrieves the current header, removes
- *   it, and adds a new one. Then it retrieves the current body,
- *   removes it, and adds a new one.
- * <PRE>
- *    SOAPPart sp = message.getSOAPPart();
- *    SOAPEnvelope se = sp.getEnvelope();
- *    se.getHeader().detachNode();
- *    SOAPHeader sh = se.addHeader();
- *    se.getBody().detachNode();
- *    SOAPBody sb = se.addBody();
- * </PRE>
- *   It is an error to add a <CODE>SOAPBody</CODE> or <CODE>
- *   SOAPHeader</CODE> object if one already exists.
- *
- *   <P>The <CODE>SOAPEnvelope</CODE> interface provides three
- *   methods for creating <CODE>Name</CODE> objects. One method
- *   creates <CODE>Name</CODE> objects with a local name, a
- *   namespace prefix, and a namesapce URI. The second method
- *   creates <CODE>Name</CODE> objects with a local name and a
- *   namespace prefix, and the third creates <CODE>Name</CODE>
- *   objects with just a local name. The following line of code, in
- *   which <I>se</I> is a <CODE>SOAPEnvelope</CODE> object, creates
- *   a new <CODE>Name</CODE> object with all three.</P>
- * <PRE>
- *    Name name = se.createName("GetLastTradePrice", "WOMBAT",
- *                               "http://www.wombat.org/trader");
- * </PRE>
- */
-public interface SOAPEnvelope extends SOAPElement {
-
-    /**
-     * Creates a new <CODE>Name</CODE> object initialized with the
-     *   given local name, namespace prefix, and namespace URI.
-     *
-     *   <P>This factory method creates <CODE>Name</CODE> objects
-     *   for use in the SOAP/XML document.
-     * @param   localName a <CODE>String</CODE> giving
-     *     the local name
-     * @param   prefix a <CODE>String</CODE> giving
-     *     the prefix of the namespace
-     * @param   uri  a <CODE>String</CODE> giving the
-     *     URI of the namespace
-     * @return a <CODE>Name</CODE> object initialized with the given
-     *     local name, namespace prefix, and namespace URI
-     * @throws  SOAPException  if there is a SOAP error
-     */
-    public abstract Name createName(String localName, String prefix, String uri)
-        throws SOAPException;
-
-    /**
-     * Creates a new <CODE>Name</CODE> object initialized with the
-     *   given local name.
-     *
-     *   <P>This factory method creates <CODE>Name</CODE> objects
-     *   for use in the SOAP/XML document.
-     *
-     * @param localName a <CODE>String</CODE> giving
-     * the local name
-     * @return a <CODE>Name</CODE> object initialized with the given
-     *     local name
-     * @throws  SOAPException  if there is a SOAP error
-     */
-    public abstract Name createName(String localName) throws SOAPException;
-
-    /**
-     * Returns the <CODE>SOAPHeader</CODE> object for this <CODE>
-     *   SOAPEnvelope</CODE> object.
-     *
-     *   <P>A new <CODE>SOAPMessage</CODE> object is by default
-     *   created with a <CODE>SOAPEnvelope</CODE> object that
-     *   contains an empty <CODE>SOAPHeader</CODE> object. As a
-     *   result, the method <CODE>getHeader</CODE> will always
-     *   return a <CODE>SOAPHeader</CODE> object unless the header
-     *   has been removed and a new one has not been added.
-     * @return the <CODE>SOAPHeader</CODE> object or <CODE>
-     *     null</CODE> if there is none
-     * @throws  SOAPException if there is a problem
-     *     obtaining the <CODE>SOAPHeader</CODE> object
-     */
-    public abstract SOAPHeader getHeader() throws SOAPException;
-
-    /**
-     * Returns the <CODE>SOAPBody</CODE> object associated with
-     *   this <CODE>SOAPEnvelope</CODE> object.
-     *
-     *   <P>A new <CODE>SOAPMessage</CODE> object is by default
-     *   created with a <CODE>SOAPEnvelope</CODE> object that
-     *   contains an empty <CODE>SOAPBody</CODE> object. As a
-     *   result, the method <CODE>getBody</CODE> will always return
-     *   a <CODE>SOAPBody</CODE> object unless the body has been
-     *   removed and a new one has not been added.
-     * @return the <CODE>SOAPBody</CODE> object for this <CODE>
-     *     SOAPEnvelope</CODE> object or <CODE>null</CODE> if there
-     *     is none
-     * @throws  SOAPException  if there is a problem
-     *     obtaining the <CODE>SOAPBody</CODE> object
-     */
-    public abstract SOAPBody getBody() throws SOAPException;
-
-    /**
-     * Creates a <CODE>SOAPHeader</CODE> object and sets it as the
-     *   <CODE>SOAPHeader</CODE> object for this <CODE>
-     *   SOAPEnvelope</CODE> object.
-     *
-     *   <P>It is illegal to add a header when the envelope already
-     *   contains a header. Therefore, this method should be called
-     *   only after the existing header has been removed.
-     * @return the new <CODE>SOAPHeader</CODE> object
-     * @throws  SOAPException  if this <CODE>
-     *     SOAPEnvelope</CODE> object already contains a valid
-     *     <CODE>SOAPHeader</CODE> object
-     */
-    public abstract SOAPHeader addHeader() throws SOAPException;
-
-    /**
-     * Creates a <CODE>SOAPBody</CODE> object and sets it as the
-     *   <CODE>SOAPBody</CODE> object for this <CODE>
-     *   SOAPEnvelope</CODE> object.
-     *
-     *   <P>It is illegal to add a body when the envelope already
-     *   contains a body. Therefore, this method should be called
-     *   only after the existing body has been removed.
-     * @return  the new <CODE>SOAPBody</CODE> object
-     * @throws  SOAPException  if this <CODE>
-     *     SOAPEnvelope</CODE> object already contains a valid
-     *     <CODE>SOAPBody</CODE> object
-     */
-    public abstract SOAPBody addBody() throws SOAPException;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPException.java b/v2/src/saaj_api/javax/xml/soap/SOAPException.java
deleted file mode 100644
index 1210981..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPException.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * An exception that signals that a SOAP exception has
- *   occurred. A <CODE>SOAPException</CODE> object may contain a
- *   <CODE>String</CODE> that gives the reason for the exception, an
- *   embedded <CODE>Throwable</CODE> object, or both. This class
- *   provides methods for retrieving reason messages and for
- *   retrieving the embedded <CODE>Throwable</CODE> object.</P>
- *
- *   <P>Typical reasons for throwing a <CODE>SOAPException</CODE>
- *   object are problems such as difficulty setting a header, not
- *   being able to send a message, and not being able to get a
- *   connection with the provider. Reasons for embedding a <CODE>
- *   Throwable</CODE> object include problems such as input/output
- *   errors or a parsing problem, such as an error in parsing a
- *   header.
- */
-public class SOAPException extends Exception {
-
-    /**
-     * Constructs a <CODE>SOAPException</CODE> object with no
-     * reason or embedded <CODE>Throwable</CODE> object.
-     */
-    public SOAPException() {
-        cause = null;
-    }
-
-    /**
-     * Constructs a <CODE>SOAPException</CODE> object with the
-     * given <CODE>String</CODE> as the reason for the exception
-     * being thrown.
-     * @param  reason  a description of what caused
-     *     the exception
-     */
-    public SOAPException(String reason) {
-
-        super(reason);
-
-        cause = null;
-    }
-
-    /**
-     * Constructs a <CODE>SOAPException</CODE> object with the
-     * given <CODE>String</CODE> as the reason for the exception
-     * being thrown and the given <CODE>Throwable</CODE> object as
-     * an embedded exception.
-     * @param  reason a description of what caused
-     *     the exception
-     * @param  cause  a <CODE>Throwable</CODE> object
-     *     that is to be embedded in this <CODE>SOAPException</CODE>
-     *     object
-     */
-    public SOAPException(String reason, Throwable cause) {
-
-        super(reason);
-
-        initCause(cause);
-    }
-
-    /**
-     * Constructs a <CODE>SOAPException</CODE> object
-     * initialized with the given <CODE>Throwable</CODE>
-     * object.
-     * @param  cause  a <CODE>Throwable</CODE> object
-     *     that is to be embedded in this <CODE>SOAPException</CODE>
-     *     object
-     */
-    public SOAPException(Throwable cause) {
-
-        super(cause.toString());
-
-        initCause(cause);
-    }
-
-    /**
-     * Returns the detail message for this <CODE>
-     *   SOAPException</CODE> object.
-     *
-     *   <P>If there is an embedded <CODE>Throwable</CODE> object,
-     *   and if the <CODE>SOAPException</CODE> object has no detail
-     *   message of its own, this method will return the detail
-     *   message from the embedded <CODE>Throwable</CODE>
-     *   object.</P>
-     * @return  the error or warning message for this <CODE>
-     *     SOAPException</CODE> or, if it has none, the message of
-     *     the embedded <CODE>Throwable</CODE> object, if there is
-     *     one
-     */
-    public String getMessage() {
-
-        String s = super.getMessage();
-
-        if ((s == null) && (cause != null)) {
-            return cause.getMessage();
-        } else {
-            return s;
-        }
-    }
-
-    /**
-     * Returns the <CODE>Throwable</CODE> object embedded in
-     * this <CODE>SOAPException</CODE> if there is one. Otherwise,
-     * this method returns <CODE>null</CODE>.
-     * @return  the embedded <CODE>Throwable</CODE> object or <CODE>
-     *     null</CODE> if there is none
-     */
-    public Throwable getCause() {
-        return cause;
-    }
-
-    /**
-     * Initializes the <CODE>cause</CODE> field of this <CODE>
-     *   SOAPException</CODE> object with the given <CODE>
-     *   Throwable</CODE> object.
-     *
-     *   <P>This method can be called at most once. It is generally
-     *   called from within the constructor or immediately after the
-     *   constructor has returned a new <CODE>SOAPException</CODE>
-     *   object. If this <CODE>SOAPException</CODE> object was
-     *   created with the constructor {@link #SOAPException(java.lang.Throwable) SOAPException(java.lang.Throwable)}
-     *   or {@link #SOAPException(java.lang.String, java.lang.Throwable) SOAPException(java.lang.String, java.lang.Throwable)}, meaning
-     *   that its <CODE>cause</CODE> field already has a value, this
-     *   method cannot be called even once.
-     *
-     * @param cause  the <CODE>Throwable</CODE>
-     *     object that caused this <CODE>SOAPException</CODE> object
-     *     to be thrown. The value of this parameter is saved for
-     *     later retrieval by the <A href=
-     *     "../../../javax/xml/soap/SOAPException.html#getCause()">
-     *     <CODE>getCause()</CODE></A> method. A <TT>null</TT> value
-     *     is permitted and indicates that the cause is nonexistent
-     *     or unknown.
-     * @return a reference to this <CODE>SOAPException</CODE>
-     *     instance
-     * @throws java.lang.IllegalArgumentException if
-     *     <CODE>cause</CODE> is this <CODE>Throwable</CODE> object.
-     *     (A <CODE>Throwable</CODE> object cannot be its own
-     *     cause.)
-     * @throws java.lang.IllegalStateException if this <CODE>
-     *     SOAPException</CODE> object was created with {@link #SOAPException(java.lang.Throwable) SOAPException(java.lang.Throwable)}
-     *   or {@link #SOAPException(java.lang.String, java.lang.Throwable) SOAPException(java.lang.String, java.lang.Throwable)}, or this
-     *     method has already been called on this <CODE>
-     *     SOAPException</CODE> object
-     */
-    public synchronized Throwable initCause(Throwable cause) {
-
-        if (this.cause != null) {
-            throw new IllegalStateException("Can't override cause");
-        }
-
-        if (cause == this) {
-            throw new IllegalArgumentException("Self-causation not permitted");
-        } else {
-            this.cause = cause;
-
-            return this;
-        }
-    }
-
-    private Throwable cause;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPFactory.java b/v2/src/saaj_api/javax/xml/soap/SOAPFactory.java
deleted file mode 100644
index 9533309..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPFactory.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * <code>SOAPFactory</code> is a factory for creating various objects
- * that exist in the SOAP XML tree.
- *
- * <code>SOAPFactory</code> can be
- * used to create XML fragments that will eventually end up in the
- * SOAP part. These fragments can be inserted as children of the
- * <code>SOAPHeaderElement</code> or <code>SOAPBodyElement</code> or
- * <code>SOAPEnvelope</code>.
- *
- * <code>SOAPFactory</code> also has methods to create
- * <code>javax.xml.soap.Detail</code> objects as well as
- * <code>java.xml.soap.Name</code> objects.
- *
- */
-public abstract class SOAPFactory {
-
-    public SOAPFactory() {}
-
-    /**
-     * Create a <code>SOAPElement</code> object initialized with the
-     * given <code>Name</code> object.
-     *
-     * @param name a <code>Name</code> object with the XML name for
-     *        the new element
-     * @return  the new <code>SOAPElement</code> object that was
-     *    created
-     * @throws SOAPException if there is an error in creating the
-     *       <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement createElement(Name name) throws SOAPException;
-
-    /**
-     * Create a <code>SOAPElement</code> object initialized with the
-     * given local name.
-     *
-     * @param localName a <code>String</code> giving the local name for
-     *       the new element
-     * @return the new <code>SOAPElement</code> object that was
-     *    created
-     * @throws SOAPException if there is an error in creating the
-     *       <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement createElement(String localName) throws SOAPException;
-
-    /**
-     * Create a new <code>SOAPElement</code> object with the given
-     * local name, prefix and uri.
-     *
-     * @param localName a <code>String</code> giving the local name
-     *            for the new element
-     * @param prefix the prefix for this <code>SOAPElement</code>
-     * @param uri a <code>String</code> giving the URI of the
-     *      namespace to which the new element belongs
-     * @return the new <code>SOAPElement</code> object that was
-     *    created
-     * @throws SOAPException if there is an error in creating the
-     *      <code>SOAPElement</code> object
-     */
-    public abstract SOAPElement createElement(String localName, String prefix, String uri)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>Detail</code> object which serves as a container
-     * for <code>DetailEntry</code> objects.
-     * <p>
-     * This factory method creates <code>Detail</code> objects for use in
-     * situations where it is not practical to use the <code>SOAPFault</code>
-     * abstraction.
-     *
-     * @return a <code>Detail</code> object
-     * @throws SOAPException if there is a SOAP error
-     */
-    public abstract Detail createDetail() throws SOAPException;
-
-    /**
-     * Creates a new <code>Name</code> object initialized with the
-     * given local name, namespace prefix, and namespace URI.
-     * <p>
-     * This factory method creates <code>Name</code> objects for use in
-     * situations where it is not practical to use the <code>SOAPEnvelope</code>
-     * abstraction.
-     *
-     * @param localName a <code>String</code> giving the local name
-     * @param prefix a <code>String</code> giving the prefix of the namespace
-     * @param uri a <code>String</code> giving the URI of the namespace
-     * @return a <code>Name</code> object initialized with the given
-     *   local name, namespace prefix, and namespace URI
-     * @throws SOAPException if there is a SOAP error
-     */
-    public abstract Name createName(String localName, String prefix, String uri)
-        throws SOAPException;
-
-    /**
-     * Creates a new <code>Name</code> object initialized with the
-     * given local name.
-     * <p>
-     * This factory method creates <code>Name</code> objects for use in
-     * situations where it is not practical to use the <code>SOAPEnvelope</code>
-     * abstraction.
-     *
-     * @param localName a <code>String</code> giving the local name
-     * @return a <code>Name</code> object initialized with the given
-     *    local name
-     * @throws SOAPException if there is a SOAP error
-     */
-    public abstract Name createName(String localName) throws SOAPException;
-
-    /**
-     * Creates a new instance of <code>SOAPFactory</code>.
-     *
-     * @return a new instance of a <code>SOAPFactory</code>
-     * @throws SOAPException if there was an error creating the
-     *       default <code>SOAPFactory</code>
-     */
-    public static SOAPFactory newInstance() throws SOAPException {
-
-        try {
-            return (SOAPFactory) FactoryFinder.find(SF_PROPERTY, DEFAULT_SF);
-        } catch (Exception exception) {
-            throw new SOAPException("Unable to create SOAP Factory: "
-                                    + exception.getMessage());
-        }
-    }
-
-    private static final String SF_PROPERTY = "javax.xml.soap.SOAPFactory";
-
-    private static final String DEFAULT_SF =
-        "org.apache.axis.soap.SOAPFactoryImpl";
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPFault.java b/v2/src/saaj_api/javax/xml/soap/SOAPFault.java
deleted file mode 100644
index f4233f4..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPFault.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.util.Locale;
-
-/**
- * An element in the <CODE>SOAPBody</CODE> object that contains
- *   error and/or status information. This information may relate to
- *   errors in the <CODE>SOAPMessage</CODE> object or to problems
- *   that are not related to the content in the message itself.
- *   Problems not related to the message itself are generally errors
- *   in processing, such as the inability to communicate with an
- *   upstream server.
- *   <P>
- *   The <CODE>SOAPFault</CODE> interface provides methods for
- *   retrieving the information contained in a <CODE>
- *   SOAPFault</CODE> object and for setting the fault code, the
- *   fault actor, and a string describing the fault. A fault code is
- *   one of the codes defined in the SOAP 1.1 specification that
- *   describe the fault. An actor is an intermediate recipient to
- *   whom a message was routed. The message path may include one or
- *   more actors, or, if no actors are specified, the message goes
- *   only to the default actor, which is the final intended
- *   recipient.
- */
-public interface SOAPFault extends SOAPBodyElement {
-
-    /**
-     * Sets this <CODE>SOAPFault</CODE> object with the given
-     *   fault code.
-     *
-     *   <P>Fault codes, which given information about the fault,
-     *   are defined in the SOAP 1.1 specification.</P>
-     * @param   faultCode a <CODE>String</CODE> giving
-     *     the fault code to be set; must be one of the fault codes
-     *     defined in the SOAP 1.1 specification
-     * @throws  SOAPException if there was an error in
-     *     adding the <CODE>faultCode</CODE> to the underlying XML
-     *     tree.
-     * @see #getFaultCode() getFaultCode()
-     */
-    public abstract void setFaultCode(String faultCode) throws SOAPException;
-
-    /**
-     * Gets the fault code for this <CODE>SOAPFault</CODE>
-     * object.
-     * @return a <CODE>String</CODE> with the fault code
-     * @see #setFaultCode(java.lang.String) setFaultCode(java.lang.String)
-     */
-    public abstract String getFaultCode();
-
-    /**
-     *  Sets this <CODE>SOAPFault</CODE> object with the given
-     *   fault actor.
-     *
-     *   <P>The fault actor is the recipient in the message path who
-     *   caused the fault to happen.</P>
-     * @param   faultActor a <CODE>String</CODE>
-     *     identifying the actor that caused this <CODE>
-     *     SOAPFault</CODE> object
-     * @throws  SOAPException  if there was an error in
-     *     adding the <CODE>faultActor</CODE> to the underlying XML
-     *     tree.
-     * @see #getFaultActor() getFaultActor()
-     */
-    public abstract void setFaultActor(String faultActor) throws SOAPException;
-
-    /**
-     * Gets the fault actor for this <CODE>SOAPFault</CODE>
-     * object.
-     * @return  a <CODE>String</CODE> giving the actor in the message
-     *     path that caused this <CODE>SOAPFault</CODE> object
-     * @see #setFaultActor(java.lang.String) setFaultActor(java.lang.String)
-     */
-    public abstract String getFaultActor();
-
-    /**
-     * Sets the fault string for this <CODE>SOAPFault</CODE>
-     * object to the given string.
-     *
-     * @param faultString a <CODE>String</CODE>
-     *     giving an explanation of the fault
-     * @throws  SOAPException  if there was an error in
-     *     adding the <CODE>faultString</CODE> to the underlying XML
-     *     tree.
-     * @see #getFaultString() getFaultString()
-     */
-    public abstract void setFaultString(String faultString)
-        throws SOAPException;
-
-    /**
-     * Gets the fault string for this <CODE>SOAPFault</CODE>
-     * object.
-     * @return a <CODE>String</CODE> giving an explanation of the
-     *     fault
-     */
-    public abstract String getFaultString();
-
-    /**
-     * Returns the detail element for this <CODE>SOAPFault</CODE>
-     *   object.
-     *
-     *   <P>A <CODE>Detail</CODE> object carries
-     *   application-specific error information related to <CODE>
-     *   SOAPBodyElement</CODE> objects.</P>
-     * @return  a <CODE>Detail</CODE> object with
-     *     application-specific error information
-     */
-    public abstract Detail getDetail();
-
-    /**
-     * Creates a <CODE>Detail</CODE> object and sets it as the
-     *   <CODE>Detail</CODE> object for this <CODE>SOAPFault</CODE>
-     *   object.
-     *
-     *   <P>It is illegal to add a detail when the fault already
-     *   contains a detail. Therefore, this method should be called
-     *   only after the existing detail has been removed.</P>
-     * @return the new <CODE>Detail</CODE> object
-     * @throws  SOAPException  if this
-     *     <CODE>SOAPFault</CODE> object already contains a valid
-     *     <CODE>Detail</CODE> object
-     */
-    public abstract Detail addDetail() throws SOAPException;
-
-    /**
-     * Sets this <code>SOAPFault</code> object with the given fault code.
-     *
-     * Fault codes, which give information about the fault, are defined in the
-     * SOAP 1.1 specification. A fault code is mandatory and must be of type
-     * <code>QName</code>. This method provides a convenient way to set a fault
-     * code. For example,
-     *
-     * <pre>
-     SOAPEnvelope se = ...;
-     // Create a qualified name in the SOAP namespace with a localName
-     // of "Client".  Note that prefix parameter is optional and is null
-     // here which causes the implementation to use an appropriate prefix.
-     Name qname = se.createName("Client", null,
-     SOAPConstants.URI_NS_SOAP_ENVELOPE);
-     SOAPFault fault = ...;
-     fault.setFaultCode(qname);
-     *
-     * It is preferable to use this method over setFaultCode(String).
-     *
-     * @param name a <code>Name</code> object giving the fault code to be set.
-     *              It must be namespace qualified.
-     * @throws SOAPException if there was an error in adding the
-     *              <code>faultcode</code> element to the underlying XML tree
-     */
-    public abstract void setFaultCode(Name name) throws SOAPException;
-
-    /**
-     * Gets the mandatory SOAP 1.1 fault code for this <code>SOAPFault</code>
-     * object as a SAAJ <code>Name</code> object. The SOAP 1.1 specification
-     * requires the value of the "faultcode" element to be of type QName. This
-     * method returns the content of the element as a QName in the form of a
-     * SAAJ <code>Name</code> object. This method should be used instead of the
-     * <code>getFaultCode()</code> method since it allows applications to easily
-     * access the namespace name without additional parsing.
-     * <p>
-     * In the future, a QName object version of this method may also be added.
-     * @return a <code>Name</code> representing the faultcode
-     */
-    public abstract Name getFaultCodeAsName();
-
-    /**
-     * Sets the fault string for this <code>SOAPFault</code> object to the given
-     * string and localized to the given locale.
-     *
-     * @param faultString       a <code>String</code> giving an explanation of
-     *              the fault
-     * @param locale            a <code>Locale</code> object indicating the
-     *              native language of the <code>faultString</code>
-     * @throws SOAPException    if there was an error in adding the
-     *              <code>faultString</code> to the underlying XML tree
-     */
-    public abstract void setFaultString(String faultString, Locale locale) throws SOAPException;
-
-    /**
-     * Returns the optional detail element for this <code>SOAPFault</code>
-     * object.
-     *
-     * @return a <code>Locale</code> object indicating the native language of
-     *              the fault string or <code>null</code> if no locale was
-     *              specified
-     */
-    public abstract Locale getFaultStringLocale();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPFaultElement.java b/v2/src/saaj_api/javax/xml/soap/SOAPFaultElement.java
deleted file mode 100644
index f33b85e..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPFaultElement.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A representation of the contents in
- * a <code>SOAPFault</code> object.  The <code>Detail</code> interface
- * is a <code>SOAPFaultElement</code> object that has been defined.
- * <p>
- * Content is added to a <code>SOAPFaultElement</code> using the
- * <code>SOAPElement</code> method <code>addTextNode</code>.
- */
-public interface SOAPFaultElement extends SOAPElement {}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPHeader.java b/v2/src/saaj_api/javax/xml/soap/SOAPHeader.java
deleted file mode 100644
index 5462ac3..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPHeader.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import java.util.Iterator;
-
-/**
- * <P>A representation of the SOAP header element. A SOAP header
- *   element consists of XML data that affects the way the
- *   application-specific content is processed by the message
- *   provider. For example, transaction semantics, authentication
- *   information, and so on, can be specified as the content of a
- *   <CODE>SOAPHeader</CODE> object.</P>
- *
- *   <P>A <CODE>SOAPEnvelope</CODE> object contains an empty <CODE>
- *   SOAPHeader</CODE> object by default. If the <CODE>
- *   SOAPHeader</CODE> object, which is optional, is not needed, it
- *   can be retrieved and deleted with the following line of code.
- *   The variable <I>se</I> is a <CODE>SOAPEnvelope</CODE>
- *   object.</P>
- * <PRE>
- *     se.getHeader().detachNode();
- * </PRE>
- *   A <CODE>SOAPHeader</CODE> object is created with the <CODE>
- *   SOAPEnvelope</CODE> method <CODE>addHeader</CODE>. This method,
- *   which creates a new header and adds it to the envelope, may be
- *   called only after the existing header has been removed.
- * <PRE>
- *     se.getHeader().detachNode();
- *     SOAPHeader sh = se.addHeader();
- * </PRE>
- *
- *   <P>A <CODE>SOAPHeader</CODE> object can have only <CODE>
- *   SOAPHeaderElement</CODE> objects as its immediate children. The
- *   method <CODE>addHeaderElement</CODE> creates a new <CODE>
- *   HeaderElement</CODE> object and adds it to the <CODE>
- *   SOAPHeader</CODE> object. In the following line of code, the
- *   argument to the method <CODE>addHeaderElement</CODE> is a
- *   <CODE>Name</CODE> object that is the name for the new <CODE>
- *   HeaderElement</CODE> object.</P>
- * <PRE>
- *     SOAPHeaderElement shElement = sh.addHeaderElement(name);
- * </PRE>
- * @see SOAPHeaderElement SOAPHeaderElement
- */
-public interface SOAPHeader extends SOAPElement {
-
-    /**
-     * Creates a new <CODE>SOAPHeaderElement</CODE> object
-     * initialized with the specified name and adds it to this
-     * <CODE>SOAPHeader</CODE> object.
-     * @param   name a <CODE>Name</CODE> object with
-     *     the name of the new <CODE>SOAPHeaderElement</CODE>
-     *     object
-     * @return the new <CODE>SOAPHeaderElement</CODE> object that
-     *     was inserted into this <CODE>SOAPHeader</CODE>
-     *     object
-     * @throws  SOAPException if a SOAP error occurs
-     */
-    public abstract SOAPHeaderElement addHeaderElement(Name name)
-        throws SOAPException;
-
-    /**
-     * Returns a list of all the <CODE>SOAPHeaderElement</CODE>
-     * objects in this <CODE>SOAPHeader</CODE> object that have the
-     * the specified actor. An actor is a global attribute that
-     * indicates the intermediate parties to whom the message should
-     * be sent. An actor receives the message and then sends it to
-     * the next actor. The default actor is the ultimate intended
-     * recipient for the message, so if no actor attribute is
-     * included in a <CODE>SOAPHeader</CODE> object, the message is
-     * sent to its ultimate destination.
-     * @param   actor  a <CODE>String</CODE> giving the
-     *     URI of the actor for which to search
-     * @return an <CODE>Iterator</CODE> object over all the <CODE>
-     *     SOAPHeaderElement</CODE> objects that contain the
-     *     specified actor
-     * @see #extractHeaderElements(java.lang.String) extractHeaderElements(java.lang.String)
-     */
-    public abstract Iterator examineHeaderElements(String actor);
-
-    /**
-     * Returns a list of all the <CODE>SOAPHeaderElement</CODE>
-     *   objects in this <CODE>SOAPHeader</CODE> object that have
-     *   the the specified actor and detaches them from this <CODE>
-     *   SOAPHeader</CODE> object.
-     *
-     *   <P>This method allows an actor to process only the parts of
-     *   the <CODE>SOAPHeader</CODE> object that apply to it and to
-     *   remove them before passing the message on to the next
-     *   actor.
-     * @param   actor  a <CODE>String</CODE> giving the
-     *     URI of the actor for which to search
-     * @return an <CODE>Iterator</CODE> object over all the <CODE>
-     *     SOAPHeaderElement</CODE> objects that contain the
-     *     specified actor
-     * @see #examineHeaderElements(java.lang.String) examineHeaderElements(java.lang.String)
-     */
-    public abstract Iterator extractHeaderElements(String actor);
-
-    /**
-     * Returns an <code>Iterator</code> over all the
-     * <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
-     * object that have the specified actor and that have a MustUnderstand
-     * attribute whose value is equivalent to <code>true</code>.
-     *
-     * @param actor a <code>String</code> giving the URI of the actor for which
-     *              to search
-     * @return an <code>Iterator</code> object over all the
-     *              <code>SOAPHeaderElement</code> objects that contain the
-     *              specified actor and are marked as MustUnderstand
-     */
-    public abstract Iterator examineMustUnderstandHeaderElements(String actor);
-
-    /**
-     * Returns an <code>Iterator</code> over all the
-     * <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader</code>
-     * object.
-     *
-     * @return an <code>Iterator</code> object over all the
-     *              <code>SOAPHeaderElement</code> objects contained by this
-     *              <code>SOAPHeader</code>
-     */
-    public abstract Iterator examineAllHeaderElements();
-
-    /**
-     * Returns an <code>Iterator</code> over all the
-     * <code>SOAPHeaderElement</code> objects in this <code>SOAPHeader </code>
-     * object and detaches them from this <code>SOAPHeader</code> object.
-     *
-     * @return an <code>Iterator</code> object over all the
-     *              <code>SOAPHeaderElement</code> objects contained by this
-     *              <code>SOAPHeader</code>
-     */
-    public abstract Iterator extractAllHeaderElements();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPHeaderElement.java b/v2/src/saaj_api/javax/xml/soap/SOAPHeaderElement.java
deleted file mode 100644
index 68bc3f6..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPHeaderElement.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- *     <P>An object representing the contents in the SOAP header part
- *   of the SOAP envelope. The immediate children of a <CODE>
- *   SOAPHeader</CODE> object can be represented only as <CODE>
- *   SOAPHeaderElement</CODE> objects.</P>
- *
- *   <P>A <CODE>SOAPHeaderElement</CODE> object can have other
- *   <CODE>SOAPElement</CODE> objects as its children.</P>
- */
-public interface SOAPHeaderElement extends SOAPElement {
-
-    /**
-     * Sets the actor associated with this <CODE>
-     * SOAPHeaderElement</CODE> object to the specified actor. The
-     * default value of an actor is: <CODE>
-     * SOAPConstants.URI_SOAP_ACTOR_NEXT</CODE>
-     * @param  actorURI  a <CODE>String</CODE> giving
-     *     the URI of the actor to set
-     * @see #getActor() getActor()
-     * @throws java.lang.IllegalArgumentException if
-     *     there is a problem in setting the actor.
-     */
-    public abstract void setActor(String actorURI);
-
-    /**
-     * Returns the uri of the actor associated with this <CODE>
-     * SOAPHeaderElement</CODE> object.
-     * @return  a <CODE>String</CODE> giving the URI of the
-     *     actor
-     * @see #setActor(java.lang.String) setActor(java.lang.String)
-     */
-    public abstract String getActor();
-
-    /**
-     * Sets the mustUnderstand attribute for this <CODE>
-     *   SOAPHeaderElement</CODE> object to be on or off.
-     *
-     *   <P>If the mustUnderstand attribute is on, the actor who
-     *   receives the <CODE>SOAPHeaderElement</CODE> must process it
-     *   correctly. This ensures, for example, that if the <CODE>
-     *   SOAPHeaderElement</CODE> object modifies the message, that
-     *   the message is being modified correctly.</P>
-     * @param  mustUnderstand  <CODE>true</CODE> to
-     *     set the mustUnderstand attribute on; <CODE>false</CODE>
-     *     to turn if off
-     * @throws java.lang.IllegalArgumentException if
-     *     there is a problem in setting the actor.
-     * @see #getMustUnderstand() getMustUnderstand()
-     */
-    public abstract void setMustUnderstand(boolean mustUnderstand);
-
-    /**
-     * Returns whether the mustUnderstand attribute for this
-     * <CODE>SOAPHeaderElement</CODE> object is turned on.
-     * @return  <CODE>true</CODE> if the mustUnderstand attribute of
-     *     this <CODE>SOAPHeaderElement</CODE> object is turned on;
-     *     <CODE>false</CODE> otherwise
-     */
-    public abstract boolean getMustUnderstand();
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPMessage.java b/v2/src/saaj_api/javax/xml/soap/SOAPMessage.java
deleted file mode 100644
index 4805924..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPMessage.java
+++ /dev/null
@@ -1,372 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-// ericvas
-//import javax.activation.DataHandler;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.Iterator;
-
-/**
- * <P>The root class for all SOAP messages. As transmitted on the
- * "wire", a SOAP message is an XML document or a MIME message
- * whose first body part is an XML/SOAP document.</P>
- *
- * <P>A <CODE>SOAPMessage</CODE> object consists of a SOAP part
- * and optionally one or more attachment parts. The SOAP part for
- * a <CODE>SOAPMessage</CODE> object is a <CODE>SOAPPart</CODE>
- * object, which contains information used for message routing and
- * identification, and which can contain application-specific
- * content. All data in the SOAP Part of a message must be in XML
- * format.</P>
- *
- * <P>A new <CODE>SOAPMessage</CODE> object contains the following
- * by default:</P>
- *
- * <UL>
- *  <LI>A <CODE>SOAPPart</CODE> object</LI>
- *
- *  <LI>A <CODE>SOAPEnvelope</CODE> object</LI>
- *
- *  <LI>A <CODE>SOAPBody</CODE> object</LI>
- *
- *  <LI>A <CODE>SOAPHeader</CODE> object</LI>
- * </UL>
- * The SOAP part of a message can be retrieved by calling the
- * method <CODE>SOAPMessage.getSOAPPart()</CODE>. The <CODE>
- * SOAPEnvelope</CODE> object is retrieved from the <CODE>
- * SOAPPart</CODE> object, and the <CODE>SOAPEnvelope</CODE>
- * object is used to retrieve the <CODE>SOAPBody</CODE> and <CODE>
- * SOAPHeader</CODE> objects.
- * <PRE>
- * SOAPPart sp = message.getSOAPPart();
- * SOAPEnvelope se = sp.getEnvelope();
- * SOAPBody sb = se.getBody();
- * SOAPHeader sh = se.getHeader();
- * </PRE>
- *
- * <P>In addition to the mandatory <CODE>SOAPPart</CODE> object, a
- * <CODE>SOAPMessage</CODE> object may contain zero or more <CODE>
- * AttachmentPart</CODE> objects, each of which contains
- * application-specific data. The <CODE>SOAPMessage</CODE>
- * interface provides methods for creating <CODE>
- * AttachmentPart</CODE> objects and also for adding them to a
- * <CODE>SOAPMessage</CODE> object. A party that has received a
- * <CODE>SOAPMessage</CODE> object can examine its contents by
- * retrieving individual attachment parts.</P>
- *
- * <P>Unlike the rest of a SOAP message, an attachment is not
- * required to be in XML format and can therefore be anything from
- * simple text to an image file. Consequently, any message content
- * that is not in XML format must be in an <CODE>
- * AttachmentPart</CODE> object.</P>
- *
- * <P>A <CODE>MessageFactory</CODE> object creates new <CODE>
- * SOAPMessage</CODE> objects. If the <CODE>MessageFactory</CODE>
- * object was initialized with a messaging Profile, it produces
- * <CODE>SOAPMessage</CODE> objects that conform to that Profile.
- * For example, a <CODE>SOAPMessage</CODE> object created by a
- * <CODE>MessageFactory</CODE> object initialized with the ebXML
- * Profile will have the appropriate ebXML headers.</P>
- * @see MessageFactory MessageFactory
- * @see AttachmentPart AttachmentPart
- */
-public abstract class SOAPMessage {
-
-    public SOAPMessage() {}
-
-    /**
-     * Retrieves a description of this <CODE>SOAPMessage</CODE>
-     * object's content.
-     * @return  a <CODE>String</CODE> describing the content of this
-     *     message or <CODE>null</CODE> if no description has been
-     *     set
-     * @see #setContentDescription(java.lang.String) setContentDescription(java.lang.String)
-     */
-    public abstract String getContentDescription();
-
-    /**
-     * Sets the description of this <CODE>SOAPMessage</CODE>
-     * object's content with the given description.
-     * @param  description a <CODE>String</CODE>
-     *     describing the content of this message
-     * @see #getContentDescription() getContentDescription()
-     */
-    public abstract void setContentDescription(String description);
-
-    /**
-     * Gets the SOAP part of this <CODE>SOAPMessage</CODE> object.
-     *
-     *
-     *   <P>If a <CODE>SOAPMessage</CODE> object contains one or
-     *   more attachments, the SOAP Part must be the first MIME body
-     *   part in the message.</P>
-     * @return the <CODE>SOAPPart</CODE> object for this <CODE>
-     *     SOAPMessage</CODE> object
-     */
-    public abstract SOAPPart getSOAPPart();
-
-    /**
-     * Removes all <CODE>AttachmentPart</CODE> objects that have
-     *   been added to this <CODE>SOAPMessage</CODE> object.
-     *
-     *   <P>This method does not touch the SOAP part.</P>
-     */
-    public abstract void removeAllAttachments();
-
-    /**
-     * Gets a count of the number of attachments in this
-     * message. This count does not include the SOAP part.
-     * @return  the number of <CODE>AttachmentPart</CODE> objects
-     *     that are part of this <CODE>SOAPMessage</CODE>
-     *     object
-     */
-    public abstract int countAttachments();
-
-    /**
-     * Retrieves all the <CODE>AttachmentPart</CODE> objects
-     * that are part of this <CODE>SOAPMessage</CODE> object.
-     * @return  an iterator over all the attachments in this
-     *     message
-     */
-    public abstract Iterator getAttachments();
-
-    /**
-     * Retrieves all the <CODE>AttachmentPart</CODE> objects
-     * that have header entries that match the specified headers.
-     * Note that a returned attachment could have headers in
-     * addition to those specified.
-     * @param   headers a <CODE>MimeHeaders</CODE>
-     *     object containing the MIME headers for which to
-     *     search
-     * @return an iterator over all attachments that have a header
-     *     that matches one of the given headers
-     */
-    public abstract Iterator getAttachments(MimeHeaders headers);
-
-    /**
-     * Adds the given <CODE>AttachmentPart</CODE> object to this
-     * <CODE>SOAPMessage</CODE> object. An <CODE>
-     * AttachmentPart</CODE> object must be created before it can be
-     * added to a message.
-     * @param  attachmentpart an <CODE>
-     *     AttachmentPart</CODE> object that is to become part of
-     *     this <CODE>SOAPMessage</CODE> object
-     * @throws java.lang.IllegalArgumentException
-     */
-    public abstract void addAttachmentPart(AttachmentPart attachmentpart);
-
-    /**
-     * Creates a new empty <CODE>AttachmentPart</CODE> object.
-     * Note that the method <CODE>addAttachmentPart</CODE> must be
-     * called with this new <CODE>AttachmentPart</CODE> object as
-     * the parameter in order for it to become an attachment to this
-     * <CODE>SOAPMessage</CODE> object.
-     * @return  a new <CODE>AttachmentPart</CODE> object that can be
-     *     populated and added to this <CODE>SOAPMessage</CODE>
-     *     object
-     */
-    public abstract AttachmentPart createAttachmentPart();
-
-    /**
-     * Creates an <CODE>AttachmentPart</CODE> object and
-     * populates it using the given <CODE>DataHandler</CODE>
-     * object.
-     * @param   datahandler  the <CODE>
-     *     javax.activation.DataHandler</CODE> object that will
-     *     generate the content for this <CODE>SOAPMessage</CODE>
-     *     object
-     * @return a new <CODE>AttachmentPart</CODE> object that
-     *     contains data generated by the given <CODE>
-     *     DataHandler</CODE> object
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified <CODE>
-     *     DataHandler</CODE> object
-     * @see DataHandler DataHandler
-     * @see javax.activation.DataContentHandler DataContentHandler
-     */
-// ericvas
-//    public AttachmentPart createAttachmentPart(DataHandler datahandler) {
-//
-//        AttachmentPart attachmentpart = createAttachmentPart();
-//
-//        attachmentpart.setDataHandler(datahandler);
-//
-//        return attachmentpart;
-//    }
-
-    /**
-     * Returns all the transport-specific MIME headers for this
-     * <CODE>SOAPMessage</CODE> object in a transport-independent
-     * fashion.
-     * @return a <CODE>MimeHeaders</CODE> object containing the
-     *     <CODE>MimeHeader</CODE> objects
-     */
-    public abstract MimeHeaders getMimeHeaders();
-
-    /**
-     * Creates an <CODE>AttachmentPart</CODE> object and
-     * populates it with the specified data of the specified content
-     * type.
-     * @param   content  an <CODE>Object</CODE>
-     *     containing the content for this <CODE>SOAPMessage</CODE>
-     *     object
-     * @param   contentType a <CODE>String</CODE>
-     *     object giving the type of content; examples are
-     *     "text/xml", "text/plain", and "image/jpeg"
-     * @return a new <CODE>AttachmentPart</CODE> object that
-     *     contains the given data
-     * @throws java.lang.IllegalArgumentException if the contentType does not match the type of the content
-     *     object, or if there was no <CODE>
-     *     DataContentHandler</CODE> object for the given content
-     *     object
-     * @see DataHandler DataHandler
-     * @see javax.activation.DataContentHandler DataContentHandler
-     */
-    public AttachmentPart createAttachmentPart(Object content,
-                                               String contentType) {
-
-        AttachmentPart attachmentpart = createAttachmentPart();
-
-        attachmentpart.setContent(content, contentType);
-
-        return attachmentpart;
-    }
-
-    /**
-     * Updates this <CODE>SOAPMessage</CODE> object with all the
-     *   changes that have been made to it. This method is called
-     *   automatically when a message is sent or written to by the
-     *   methods <CODE>ProviderConnection.send</CODE>, <CODE>
-     *   SOAPConnection.call</CODE>, or <CODE>
-     *   SOAPMessage.writeTo</CODE>. However, if changes are made to
-     *   a message that was received or to one that has already been
-     *   sent, the method <CODE>saveChanges</CODE> needs to be
-     *   called explicitly in order to save the changes. The method
-     *   <CODE>saveChanges</CODE> also generates any changes that
-     *   can be read back (for example, a MessageId in profiles that
-     *   support a message id). All MIME headers in a message that
-     *   is created for sending purposes are guaranteed to have
-     *   valid values only after <CODE>saveChanges</CODE> has been
-     *   called.
-     *
-     *   <P>In addition, this method marks the point at which the
-     *   data from all constituent <CODE>AttachmentPart</CODE>
-     *   objects are pulled into the message.</P>
-     * @throws  SOAPException if there
-     *     was a problem saving changes to this message.
-     */
-    public abstract void saveChanges() throws SOAPException;
-
-    /**
-     * Indicates whether this <CODE>SOAPMessage</CODE> object
-     * has had the method <CODE>saveChanges</CODE> called on
-     * it.
-     * @return <CODE>true</CODE> if <CODE>saveChanges</CODE> has
-     *     been called on this message at least once; <CODE>
-     *     false</CODE> otherwise.
-     */
-    public abstract boolean saveRequired();
-
-    /**
-     * Writes this <CODE>SOAPMessage</CODE> object to the given
-     *   output stream. The externalization format is as defined by
-     *   the SOAP 1.1 with Attachments specification.
-     *
-     *   <P>If there are no attachments, just an XML stream is
-     *   written out. For those messages that have attachments,
-     *   <CODE>writeTo</CODE> writes a MIME-encoded byte stream.</P>
-     * @param   out the <CODE>OutputStream</CODE>
-     *     object to which this <CODE>SOAPMessage</CODE> object will
-     *     be written
-     * @throws  SOAPException  if there was a problem in
-     *     externalizing this SOAP message
-     * @throws  IOException  if an I/O error
-     *     occurs
-     */
-    public abstract void writeTo(OutputStream out)
-        throws SOAPException, IOException;
-
-    /**
-     * Gets the SOAP Body contained in this <code>SOAPMessage</code> object.
-     *
-     * @return the <code>SOAPBody</code> object contained by this
-     *              <code>SOAPMessage</code> object
-     * @throws SOAPException if the SOAP Body does not exist or cannot be
-     *              retrieved
-     */
-    public abstract SOAPBody getSOAPBody() throws SOAPException;
-
-    /**
-     * Gets the SOAP Header contained in this <code>SOAPMessage</code> object.
-     *
-     * @return the <code>SOAPHeader</code> object contained by this
-     *              <code>SOAPMessage</code> object
-     * @throws SOAPException  if the SOAP Header does not exist or cannot be
-     *              retrieved
-     */
-    public abstract SOAPHeader getSOAPHeader() throws SOAPException;
-
-    /**
-     * Associates the specified value with the specified property. If there was
-     * already a value associated with this property, the old value is replaced.
-     * <p>
-     * The valid property names include <code>WRITE_XML_DECLARATION</code> and
-     * <code>CHARACTER_SET_ENCODING</code>. All of these standard SAAJ
-     * properties are prefixed by "javax.xml.soap". Vendors may also add
-     * implementation specific properties. These properties must be prefixed
-     * with package names that are unique to the vendor.
-     * <p>
-     * Setting the property <code>WRITE_XML_DECLARATION</code> to
-     * <code>"true"</code> will cause an XML Declaration to be written out at
-     * the start of the SOAP message. The default value of "false" suppresses
-     * this declaration.
-     * <p>
-     * The property <code>CHARACTER_SET_ENCODING</code> defaults to the value
-     * <code>"utf-8"</code> which causes the SOAP message to be encoded using
-     * UTF-8. Setting <code>CHARACTER_SET_ENCODING</code> to
-     * <code>"utf-16"</code> causes the SOAP message to be encoded using UTF-16.
-     * <p>
-     * Some implementations may allow encodings in addition to UTF-8 and UTF-16.
-     * Refer to your vendor's documentation for details.
-     *
-     * @param property the property with which the specified value is to be
-     *              associated
-     * @param value the value to be associated with the specified property
-     * @throws SOAPException if the property name is not recognized
-     */
-    public abstract void setProperty(String property, Object value)
-            throws SOAPException;
-
-    /**
-     * Retrieves value of the specified property.
-     *
-     * @param property the name of the property to retrieve
-     * @return the value of the property or <code>null</code> if no such
-     *              property exists
-     * @throws SOAPException  if the property name is not recognized
-     */
-    public abstract Object getProperty(String property) throws SOAPException;
-
-    /** Specifies the character type encoding for the SOAP Message. */
-    public static final String CHARACTER_SET_ENCODING
-            = "javax.xml.soap.character-set-encoding";
-
-    /** Specifies whether the SOAP Message should contain an XML declaration. */
-    public static final String WRITE_XML_DECLARATION
-            = "javax.xml.soap.write-xml-declaration";
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/SOAPPart.java b/v2/src/saaj_api/javax/xml/soap/SOAPPart.java
deleted file mode 100644
index fa462a3..0000000
--- a/v2/src/saaj_api/javax/xml/soap/SOAPPart.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-import javax.xml.transform.Source;
-import java.util.Iterator;
-
-/**
- * <P>The container for the SOAP-specific portion of a <CODE>
- * SOAPMessage</CODE> object. All messages are required to have a
- * SOAP part, so when a <CODE>SOAPMessage</CODE> object is
- * created, it will automatically have a <CODE>SOAPPart</CODE>
- * object.</P>
- *
- * <P>A <CODE>SOAPPart</CODE> object is a MIME part and has the
- * MIME headers Content-Id, Content-Location, and Content-Type.
- * Because the value of Content-Type must be "text/xml", a <CODE>
- * SOAPPart</CODE> object automatically has a MIME header of
- * Content-Type with its value set to "text/xml". The value must
- * be "text/xml" because content in the SOAP part of a message
- * must be in XML format. Content that is not of type "text/xml"
- * must be in an <CODE>AttachmentPart</CODE> object rather than in
- * the <CODE>SOAPPart</CODE> object.</P>
- *
- * <P>When a message is sent, its SOAP part must have the MIME
- * header Content-Type set to "text/xml". Or, from the other
- * perspective, the SOAP part of any message that is received must
- * have the MIME header Content-Type with a value of
- * "text/xml".</P>
- *
- * <P>A client can access the <CODE>SOAPPart</CODE> object of a
- * <CODE>SOAPMessage</CODE> object by calling the method <CODE>
- * SOAPMessage.getSOAPPart</CODE>. The following line of code, in
- * which <CODE>message</CODE> is a <CODE>SOAPMessage</CODE>
- * object, retrieves the SOAP part of a message.</P>
- * <PRE>
- * SOAPPart soapPart = message.getSOAPPart();
- * </PRE>
- *
- * <P>A <CODE>SOAPPart</CODE> object contains a <CODE>
- * SOAPEnvelope</CODE> object, which in turn contains a <CODE>
- * SOAPBody</CODE> object and a <CODE>SOAPHeader</CODE> object.
- * The <CODE>SOAPPart</CODE> method <CODE>getEnvelope</CODE> can
- * be used to retrieve the <CODE>SOAPEnvelope</CODE> object.</P>
- */
-public abstract class SOAPPart implements org.w3c.dom.Document {
-
-    public SOAPPart() {}
-
-    /**
-     * Gets the <CODE>SOAPEnvelope</CODE> object associated with
-     * this <CODE>SOAPPart</CODE> object. Once the SOAP envelope is
-     * obtained, it can be used to get its contents.
-     * @return the <CODE>SOAPEnvelope</CODE> object for this <CODE>
-     *     SOAPPart</CODE> object
-     * @throws  SOAPException if there is a SOAP error
-     */
-    public abstract SOAPEnvelope getEnvelope() throws SOAPException;
-
-    /**
-     * Retrieves the value of the MIME header whose name is
-     * "Content-Id".
-     * @return  a <CODE>String</CODE> giving the value of the MIME
-     *     header named "Content-Id"
-     * @see #setContentId(java.lang.String) setContentId(java.lang.String)
-     */
-    public String getContentId() {
-
-        String as[] = getMimeHeader("Content-Id");
-
-        if (as != null && as.length > 0) {
-            return as[0];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Retrieves the value of the MIME header whose name is
-     * "Content-Location".
-     * @return a <CODE>String</CODE> giving the value of the MIME
-     *     header whose name is "Content-Location"
-     * @see #setContentLocation(java.lang.String) setContentLocation(java.lang.String)
-     */
-    public String getContentLocation() {
-
-        String as[] = getMimeHeader("Content-Location");
-
-        if (as != null && as.length > 0) {
-            return as[0];
-        } else {
-            return null;
-        }
-    }
-
-    /**
-     * Sets the value of the MIME header named "Content-Id" to
-     * the given <CODE>String</CODE>.
-     * @param  contentId  a <CODE>String</CODE> giving
-     *     the value of the MIME header "Content-Id"
-     * @throws java.lang.IllegalArgumentException if
-     *     there is a problem in setting the content id
-     * @see #getContentId() getContentId()
-     */
-    public void setContentId(String contentId) {
-        setMimeHeader("Content-Id", contentId);
-    }
-
-    /**
-     * Sets the value of the MIME header "Content-Location" to
-     * the given <CODE>String</CODE>.
-     * @param  contentLocation a <CODE>String</CODE>
-     *     giving the value of the MIME header
-     *     "Content-Location"
-     * @throws java.lang.IllegalArgumentException if
-     *     there is a problem in setting the content location.
-     * @see #getContentLocation() getContentLocation()
-     */
-    public void setContentLocation(String contentLocation) {
-        setMimeHeader("Content-Location", contentLocation);
-    }
-
-    /**
-     * Removes all MIME headers that match the given name.
-     * @param  header  a <CODE>String</CODE> giving
-     *     the name of the MIME header(s) to be removed
-     */
-    public abstract void removeMimeHeader(String header);
-
-    /**
-     * Removes all the <CODE>MimeHeader</CODE> objects for this
-     * <CODE>SOAPEnvelope</CODE> object.
-     */
-    public abstract void removeAllMimeHeaders();
-
-    /**
-     * Gets all the values of the <CODE>MimeHeader</CODE> object
-     * in this <CODE>SOAPPart</CODE> object that is identified by
-     * the given <CODE>String</CODE>.
-     * @param   name  the name of the header; example:
-     *     "Content-Type"
-     * @return a <CODE>String</CODE> array giving all the values for
-     *     the specified header
-     * @see #setMimeHeader(java.lang.String, java.lang.String) setMimeHeader(java.lang.String, java.lang.String)
-     */
-    public abstract String[] getMimeHeader(String name);
-
-    /**
-     * Changes the first header entry that matches the given
-     *   header name so that its value is the given value, adding a
-     *   new header with the given name and value if no existing
-     *   header is a match. If there is a match, this method clears
-     *   all existing values for the first header that matches and
-     *   sets the given value instead. If more than one header has
-     *   the given name, this method removes all of the matching
-     *   headers after the first one.
-     *
-     *   <P>Note that RFC822 headers can contain only US-ASCII
-     *   characters.</P>
-     * @param  name a <CODE>String</CODE> giving the
-     *     header name for which to search
-     * @param  value a <CODE>String</CODE> giving the
-     *     value to be set. This value will be substituted for the
-     *     current value(s) of the first header that is a match if
-     *     there is one. If there is no match, this value will be
-     *     the value for a new <CODE>MimeHeader</CODE> object.
-     * @throws java.lang.IllegalArgumentException if
-     *     there was a problem with the specified mime header name
-     *     or value
-     * @throws java.lang.IllegalArgumentException if there was a problem with the specified mime header name or value
-     * @see #getMimeHeader(java.lang.String) getMimeHeader(java.lang.String)
-     */
-    public abstract void setMimeHeader(String name, String value);
-
-    /**
-     *  Creates a <CODE>MimeHeader</CODE> object with the specified
-     *   name and value and adds it to this <CODE>SOAPPart</CODE>
-     *   object. If a <CODE>MimeHeader</CODE> with the specified
-     *   name already exists, this method adds the specified value
-     *   to the already existing value(s).
-     *
-     *   <P>Note that RFC822 headers can contain only US-ASCII
-     *   characters.</P>
-     *
-     * @param  name a <CODE>String</CODE> giving the
-     *     header name
-     * @param  value a <CODE>String</CODE> giving the
-     *     value to be set or added
-     * @throws java.lang.IllegalArgumentException if
-     * there was a problem with the specified mime header name
-     *     or value
-     */
-    public abstract void addMimeHeader(String name, String value);
-
-    /**
-     * Retrieves all the headers for this <CODE>SOAPPart</CODE>
-     * object as an iterator over the <CODE>MimeHeader</CODE>
-     * objects.
-     * @return an <CODE>Iterator</CODE> object with all of the Mime
-     *     headers for this <CODE>SOAPPart</CODE> object
-     */
-    public abstract Iterator getAllMimeHeaders();
-
-    /**
-     * Retrieves all <CODE>MimeHeader</CODE> objects that match
-     * a name in the given array.
-     * @param   names a <CODE>String</CODE> array with
-     *     the name(s) of the MIME headers to be returned
-     * @return all of the MIME headers that match one of the names
-     *     in the given array, returned as an <CODE>Iterator</CODE>
-     *     object
-     */
-    public abstract Iterator getMatchingMimeHeaders(String names[]);
-
-    /**
-     * Retrieves all <CODE>MimeHeader</CODE> objects whose name
-     * does not match a name in the given array.
-     * @param   names a <CODE>String</CODE> array with
-     *     the name(s) of the MIME headers not to be returned
-     * @return all of the MIME headers in this <CODE>SOAPPart</CODE>
-     *     object except those that match one of the names in the
-     *     given array. The nonmatching MIME headers are returned as
-     *     an <CODE>Iterator</CODE> object.
-     */
-    public abstract Iterator getNonMatchingMimeHeaders(String names[]);
-
-    /**
-     * Sets the content of the <CODE>SOAPEnvelope</CODE> object
-     * with the data from the given <CODE>Source</CODE> object.
-     * @param   source javax.xml.transform.Source</CODE> object with the data to
-     *     be set
-     * @throws  SOAPException if there is a problem in
-     *     setting the source
-     * @see #getContent() getContent()
-     */
-    public abstract void setContent(Source source) throws SOAPException;
-
-    /**
-     * Returns the content of the SOAPEnvelope as a JAXP <CODE>
-     * Source</CODE> object.
-     * @return the content as a <CODE>
-     *     javax.xml.transform.Source</CODE> object
-     * @throws  SOAPException  if the implementation cannot
-     *     convert the specified <CODE>Source</CODE> object
-     * @see #setContent(javax.xml.transform.Source) setContent(javax.xml.transform.Source)
-     */
-    public abstract Source getContent() throws SOAPException;
-}
diff --git a/v2/src/saaj_api/javax/xml/soap/Text.java b/v2/src/saaj_api/javax/xml/soap/Text.java
deleted file mode 100644
index 4a1f12d..0000000
--- a/v2/src/saaj_api/javax/xml/soap/Text.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-
-package javax.xml.soap;
-
-/**
- * A representation of a node whose value is text. A <CODE>
- *   Text</CODE> object may represent text that is content or text
- *   that is a comment.
- */
-public interface Text extends Node, org.w3c.dom.Text {
-
-    /**
-     * Retrieves whether this <CODE>Text</CODE> object
-     * represents a comment.
-     * @return  <CODE>true</CODE> if this <CODE>Text</CODE> object is
-     *     a comment; <CODE>false</CODE> otherwise
-     */
-    public abstract boolean isComment();
-}
diff --git a/v2/src/toolschema/ltgfmt.xsd b/v2/src/toolschema/ltgfmt.xsd
deleted file mode 100644
index dc4efea..0000000
--- a/v2/src/toolschema/ltgfmt.xsd
+++ /dev/null
@@ -1,47 +0,0 @@
-<xs:schema
-   xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:tns="http://www.bea.com/2003/05/xmlbean/ltgfmt"
-   targetNamespace="http://www.bea.com/2003/05/xmlbean/ltgfmt"
-   elementFormDefault="qualified">
-
-  <xs:element name="tests">
-    <xs:complexType>
-      <xs:sequence>
-        <xs:element name="test" type="tns:test-case" minOccurs="0" maxOccurs="unbounded"/> 
-      </xs:sequence>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="test-case">
-    <xs:sequence>
-      <xs:element name="description" type="xs:string" minOccurs="0"/>
-      <xs:element name="files">
-        <xs:complexType>
-          <xs:sequence>
-            <xs:element name="file" type="tns:file-desc" minOccurs="1" maxOccurs="4"/>
-          </xs:sequence>
-        </xs:complexType>
-      </xs:element>
-    </xs:sequence>
-    <xs:attribute name="id" type="xs:ID"/>
-    <xs:attribute name="origin" type="xs:token"/>
-    <xs:attribute name="modified" type="xs:boolean"/>
-  </xs:complexType>
-  
-  <xs:complexType name="file-desc">
-    <xs:attribute name="tsDir" type="xs:token"/>
-    <xs:attribute name="folder" type="xs:token"/>
-    <xs:attribute name="fileName" type="xs:token"/>
-    <xs:attribute name="role">
-      <xs:simpleType>
-        <xs:restriction base="xs:token">
-          <xs:enumeration value="schema"/>
-          <xs:enumeration value="instance"/>
-          <xs:enumeration value="resource"/>
-        </xs:restriction>
-      </xs:simpleType>
-    </xs:attribute>
-    <xs:attribute name="validity" type="xs:boolean"/>
-  </xs:complexType>
-
-</xs:schema>
diff --git a/v2/src/toolschema/substwsdl.xsd b/v2/src/toolschema/substwsdl.xsd
deleted file mode 100644
index cbccf3c..0000000
--- a/v2/src/toolschema/substwsdl.xsd
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-   This schema stands in for a schema for WSDL.
-
-   It has none of the real structure of a WSDL except "imports" and
-   the 2nd-level tag names.
-
-   When compiling schemas within .wsdl files, we use this schema to load
-   the WSDL files.  Of course, WSDL files are actually in the
-   http://schemas.xmlsoap.org/wsdl/ namespace, but we use the
-   LoadSubstituteNamespaces option in order to internally substitute
-   the namespace below.
--->
-
-
-<xs:schema
-   xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:tns="http://www.apache.org/internal/xmlbeans/wsdlsubst"
-   targetNamespace="http://www.apache.org/internal/xmlbeans/wsdlsubst"
-   elementFormDefault="qualified">
-
-  <xs:element name="definitions">
-    <xs:complexType>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-        <xs:element name="import" type="tns:TImport"/>
-        <xs:element name="types"/>               			
-        <xs:element name="message"/>
-        <xs:element name="binding"/>
-        <xs:element name="portType"/>
-        <xs:element name="service"/>
-        <xs:any namespace="##other"/>
-      </xs:choice>
-      <xs:anyAttribute/>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="TImport">
-    <xs:attribute name="namespace" type="xs:anyURI" use="required"/>
-    <xs:attribute name="location" type="xs:anyURI" use="required"/>
-    <xs:anyAttribute namespace="##other"/>		
-  </xs:complexType>
-
-</xs:schema>
diff --git a/v2/src/toolschema/xsdownload.xsd b/v2/src/toolschema/xsdownload.xsd
deleted file mode 100644
index f169d36..0000000
--- a/v2/src/toolschema/xsdownload.xsd
+++ /dev/null
@@ -1,26 +0,0 @@
-<xs:schema
-   xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:i="http://www.bea.com/2003/01/xmlbean/xsdownload"
-   targetNamespace="http://www.bea.com/2003/01/xmlbean/xsdownload"
-   elementFormDefault="qualified">
-
-  <xs:element name="downloaded-schemas">
-    <xs:complexType>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-        <xs:element name="entry" type="i:downloaded-schema-entry"/>
-      </xs:choice>
-    <xs:attribute name="defaultDirectory" type="xs:token"/>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="downloaded-schema-entry">
-    <xs:sequence>
-      <xs:element name="filename" type="xs:token"/>
-      <xs:element name="sha1" type="xs:token"/>
-      <xs:element name="schemaLocation" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
-      <xs:element name="namespace" type="xs:anyURI" minOccurs="0"/>
-    </xs:sequence>
-  </xs:complexType>
-
-</xs:schema>
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/BMPattern.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/BMPattern.java
deleted file mode 100644
index 43e2d17..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/BMPattern.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.text.CharacterIterator;
-
-/**
- * Boyer-Moore searcher.
- */
-public class BMPattern {
-    char[] pattern;
-    int[] shiftTable;
-    boolean ignoreCase;
-
-    public BMPattern(String pat, boolean ignoreCase) {
-        this(pat, 256, ignoreCase);
-    }
-
-    public BMPattern(String pat, int tableSize, boolean ignoreCase) {
-        this.pattern = pat.toCharArray();
-        this.shiftTable = new int[tableSize];
-        this.ignoreCase = ignoreCase;
-
-        int length = pattern.length;
-        for (int i = 0;  i < this.shiftTable.length;  i ++)
-            this.shiftTable[i] = length;
-
-        for (int i = 0;  i < length;  i ++) {
-            char ch = this.pattern[i];
-            int diff = length-i-1;
-            int index = ch % this.shiftTable.length;
-            if (diff < this.shiftTable[index])
-                this.shiftTable[index] = diff;
-            if (this.ignoreCase) {
-                ch = Character.toUpperCase(ch);
-                index = ch % this.shiftTable.length;
-                if (diff < this.shiftTable[index])
-                    this.shiftTable[index] = diff;
-                ch = Character.toLowerCase(ch);
-                index = ch % this.shiftTable.length;
-                if (diff < this.shiftTable[index])
-                    this.shiftTable[index] = diff;
-            }
-        }
-    }
-
-    /**
-     *
-     * @return -1 if <var>iterator</var> does not contain this pattern.
-     */
-    public int matches(CharacterIterator iterator, int start, int limit) {
-        if (this.ignoreCase)  return this.matchesIgnoreCase(iterator, start, limit);
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                if ((ch = iterator.setIndex(--index)) != this.pattern[--pindex])
-                    break;
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-
-    /**
-     *
-     * @return -1 if <var>str</var> does not contain this pattern.
-     */
-    public int matches(String str, int start, int limit) {
-        if (this.ignoreCase)  return this.matchesIgnoreCase(str, start, limit);
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            //System.err.println("Starts at "+index);
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                if ((ch = str.charAt(--index)) != this.pattern[--pindex])
-                    break;
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-    /**
-     *
-     * @return -1 if <var>chars</char> does not contain this pattern.
-     */
-    public int matches(char[] chars, int start, int limit) {
-        if (this.ignoreCase)  return this.matchesIgnoreCase(chars, start, limit);
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            //System.err.println("Starts at "+index);
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                if ((ch = chars[--index]) != this.pattern[--pindex])
-                    break;
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-
-    int matchesIgnoreCase(CharacterIterator iterator, int start, int limit) {
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                char ch1 = ch = iterator.setIndex(--index);
-                char ch2 = this.pattern[--pindex];
-                if (ch1 != ch2) {
-                    ch1 = Character.toUpperCase(ch1);
-                    ch2 = Character.toUpperCase(ch2);
-                    if (ch1 != ch2 && Character.toLowerCase(ch1) != Character.toLowerCase(ch2))
-                        break;
-                }
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-    
-    int matchesIgnoreCase(String text, int start, int limit) {
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                char ch1 = ch = text.charAt(--index);
-                char ch2 = this.pattern[--pindex];
-                if (ch1 != ch2) {
-                    ch1 = Character.toUpperCase(ch1);
-                    ch2 = Character.toUpperCase(ch2);
-                    if (ch1 != ch2 && Character.toLowerCase(ch1) != Character.toLowerCase(ch2))
-                        break;
-                }
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-    int matchesIgnoreCase(char[] chars, int start, int limit) {
-        int plength = this.pattern.length;
-        if (plength == 0)  return start;
-        int index = start+plength;
-        while (index <= limit) {
-            int pindex = plength;
-            int nindex = index+1;
-            char ch;
-            do {
-                char ch1 = ch = chars[--index];
-                char ch2 = this.pattern[--pindex];
-                if (ch1 != ch2) {
-                    ch1 = Character.toUpperCase(ch1);
-                    ch2 = Character.toUpperCase(ch2);
-                    if (ch1 != ch2 && Character.toLowerCase(ch1) != Character.toLowerCase(ch2))
-                        break;
-                }
-                if (pindex == 0)
-                    return index;
-            } while (pindex > 0);
-            index += this.shiftTable[ch % this.shiftTable.length]+1;
-            if (index < nindex)  index = nindex;
-        }
-        return -1;
-    }
-
-    /*
-    public static void main(String[] argv) {
-        try {
-            int[] shiftTable = new int[256];
-            initializeBoyerMoore(argv[0], shiftTable, true);
-            int o = -1;
-            CharacterIterator ite = new java.text.StringCharacterIterator(argv[1]);
-            long start = System.currentTimeMillis();
-            //for (int i = 0;  i < 10000;  i ++)
-                o = searchIgnoreCasesWithBoyerMoore(ite, 0, argv[0], shiftTable);
-            start = System.currentTimeMillis()-start;
-            System.out.println("Result: "+o+", Elapsed: "+start);
-        } catch (Exception ex) {
-            ex.printStackTrace();
-        }
-    }*/
-}
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Match.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Match.java
deleted file mode 100644
index 08e9c97..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Match.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.text.CharacterIterator;
-
-/**
- * 
- * An instance of this class has ranges captured in matching.
- *
- * @see RegularExpression#matches(char[], int, int, Match)
- * @see RegularExpression#matches(char[], Match)
- * @see RegularExpression#matches(java.text.CharacterIterator, Match)
- * @see RegularExpression#matches(java.lang.String, int, int, Match)
- * @see RegularExpression#matches(java.lang.String, Match)
- * @author TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;
- */
-public class Match implements Cloneable {
-    int[] beginpos = null;
-    int[] endpos = null;
-    int nofgroups = 0;
-
-    CharacterIterator ciSource = null;
-    String strSource = null;
-    char[] charSource = null;
-
-    /**
-     * Creates an instance.
-     */
-    public Match() {
-    }
-
-    /**
-     *
-     */
-    public synchronized Object clone() {
-        Match ma = new Match();
-        if (this.nofgroups > 0) {
-            ma.setNumberOfGroups(this.nofgroups);
-            if (this.ciSource != null)  ma.setSource(this.ciSource);
-            if (this.strSource != null)  ma.setSource(this.strSource);
-            for (int i = 0;  i < this.nofgroups;  i ++) {
-                ma.setBeginning(i, this.getBeginning(i));
-                ma.setEnd(i, this.getEnd(i));
-            }
-        }
-        return ma;
-    }
-
-    /**
-     *
-     */
-    protected void setNumberOfGroups(int n) {
-        int oldn = this.nofgroups;
-        this.nofgroups = n;
-        if (oldn <= 0
-            || oldn < n || n*2 < oldn) {
-            this.beginpos = new int[n];
-            this.endpos = new int[n];
-        }
-        for (int i = 0;  i < n;  i ++) {
-            this.beginpos[i] = -1;
-            this.endpos[i] = -1;
-        }
-    }
-
-    /**
-     *
-     */
-    protected void setSource(CharacterIterator ci) {
-        this.ciSource = ci;
-        this.strSource = null;
-        this.charSource = null;
-    }
-    /**
-     *
-     */
-    protected void setSource(String str) {
-        this.ciSource = null;
-        this.strSource = str;
-        this.charSource = null;
-    }
-    /**
-     *
-     */
-    protected void setSource(char[] chars) {
-        this.ciSource = null;
-        this.strSource = null;
-        this.charSource = chars;
-    }
-
-    /**
-     *
-     */
-    protected void setBeginning(int index, int v) {
-        this.beginpos[index] = v;
-    }
-
-    /**
-     *
-     */
-    protected void setEnd(int index, int v) {
-        this.endpos[index] = v;
-    }
-
-    /**
-     * Return the number of regular expression groups.
-     * This method returns 1 when the regular expression has no capturing-parenthesis.
-     */
-    public int getNumberOfGroups() {
-        if (this.nofgroups <= 0)
-            throw new IllegalStateException("A result is not set.");
-        return this.nofgroups;
-    }
-
-    /**
-     * Return a start position in the target text matched to specified regular expression group.
-     *
-     * @param index Less than <code>getNumberOfGroups()</code>.
-     */
-    public int getBeginning(int index) {
-        if (this.beginpos == null)
-            throw new IllegalStateException("A result is not set.");
-        if (index < 0 || this.nofgroups <= index)
-            throw new IllegalArgumentException("The parameter must be less than "
-                                               +this.nofgroups+": "+index);
-        return this.beginpos[index];
-    }
-
-    /**
-     * Return an end position in the target text matched to specified regular expression group.
-     *
-     * @param index Less than <code>getNumberOfGroups()</code>.
-     */
-    public int getEnd(int index) {
-        if (this.endpos == null)
-            throw new IllegalStateException("A result is not set.");
-        if (index < 0 || this.nofgroups <= index)
-            throw new IllegalArgumentException("The parameter must be less than "
-                                               +this.nofgroups+": "+index);
-        return this.endpos[index];
-    }
-
-    /**
-     * Return an substring of the target text matched to specified regular expression group.
-     *
-     * @param index Less than <code>getNumberOfGroups()</code>.
-     */
-    public String getCapturedText(int index) {
-        if (this.beginpos == null)
-            throw new IllegalStateException("match() has never been called.");
-        if (index < 0 || this.nofgroups <= index)
-            throw new IllegalArgumentException("The parameter must be less than "
-                                               +this.nofgroups+": "+index);
-        String ret;
-        int begin = this.beginpos[index], end = this.endpos[index];
-        if (begin < 0 || end < 0)  return null;
-        if (this.ciSource != null) {
-            ret = REUtil.substring(this.ciSource, begin, end);
-        } else if (this.strSource != null) {
-            ret = this.strSource.substring(begin, end);
-        } else {
-            ret = new String(this.charSource, begin, end-begin);
-        }
-        return ret;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Op.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Op.java
deleted file mode 100644
index 428ffc9..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Op.java
+++ /dev/null
@@ -1,247 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.util.Vector;
-
-/**
- */
-class Op {
-    static final int DOT = 0;
-    static final int CHAR = 1;                  // Single character
-    static final int RANGE = 3;                 // [a-zA-Z]
-    static final int NRANGE = 4;                // [^a-zA-Z]
-    static final int ANCHOR = 5;                // ^ $ ...
-    static final int STRING = 6;                // literal String 
-    static final int CLOSURE = 7;               // X*
-    static final int NONGREEDYCLOSURE = 8;      // X*?
-    static final int QUESTION = 9;              // X?
-    static final int NONGREEDYQUESTION = 10;    // X??
-    static final int UNION = 11;                // X|Y
-    static final int CAPTURE = 15;              // ( and )
-    static final int BACKREFERENCE = 16;        // \1 \2 ...
-    static final int LOOKAHEAD = 20;            // (?=...)
-    static final int NEGATIVELOOKAHEAD = 21;    // (?!...)
-    static final int LOOKBEHIND = 22;           // (?<=...)
-    static final int NEGATIVELOOKBEHIND = 23;   // (?<!...)
-    static final int INDEPENDENT = 24;          // (?>...)
-    static final int MODIFIER = 25;             // (?ims-ims:...)
-    static final int CONDITION = 26;            // (?(..)yes|no)
-
-    static int nofinstances = 0;
-    static final boolean COUNT = false;
-
-    static Op createDot() {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new Op(Op.DOT);
-    }
-    static CharOp createChar(int data) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new CharOp(Op.CHAR, data);
-    }
-    static CharOp createAnchor(int data) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new CharOp(Op.ANCHOR, data);
-    }
-    static CharOp createCapture(int number, Op next) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        CharOp op = new CharOp(Op.CAPTURE, number);
-        op.next = next;
-        return op;
-    }
-    static UnionOp createUnion(int size) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        //System.err.println("Creates UnionOp");
-        return new UnionOp(Op.UNION, size);
-    }
-    static ChildOp createClosure(int id) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new ModifierOp(Op.CLOSURE, id, -1);
-    }
-    static ChildOp createNonGreedyClosure() {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new ChildOp(Op.NONGREEDYCLOSURE);
-    }
-    static ChildOp createQuestion(boolean nongreedy) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new ChildOp(nongreedy ? Op.NONGREEDYQUESTION : Op.QUESTION);
-    }
-    static RangeOp createRange(Token tok) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new RangeOp(Op.RANGE, tok);
-    }
-    static ChildOp createLook(int type, Op next, Op branch) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        ChildOp op = new ChildOp(type);
-        op.setChild(branch);
-        op.next = next;
-        return op;
-    }
-    static CharOp createBackReference(int refno) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new CharOp(Op.BACKREFERENCE, refno);
-    }
-    static StringOp createString(String literal) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        return new StringOp(Op.STRING, literal);
-    }
-    static ChildOp createIndependent(Op next, Op branch) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        ChildOp op = new ChildOp(Op.INDEPENDENT);
-        op.setChild(branch);
-        op.next = next;
-        return op;
-    }
-    static ModifierOp createModifier(Op next, Op branch, int add, int mask) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        ModifierOp op = new ModifierOp(Op.MODIFIER, add, mask);
-        op.setChild(branch);
-        op.next = next;
-        return op;
-    }
-    static ConditionOp createCondition(Op next, int ref, Op conditionflow, Op yesflow, Op noflow) {
-        if (Op.COUNT)  Op.nofinstances ++;
-        ConditionOp op = new ConditionOp(Op.CONDITION, ref, conditionflow, yesflow, noflow);
-        op.next = next;
-        return op;
-    }
-
-    int type;
-    Op next = null;
-
-    protected Op(int type) {
-        this.type = type;
-    }
-
-    int size() {                                // for UNION
-        return 0;
-    }
-    Op elementAt(int index) {                   // for UNIoN
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-    Op getChild() {                             // for CLOSURE, QUESTION
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-                                                // ModifierOp
-    int getData() {                             // CharOp  for CHAR, BACKREFERENCE, CAPTURE, ANCHOR, 
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-    int getData2() {                            // ModifierOp
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-    RangeToken getToken() {                     // RANGE, NRANGE
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-    String getString() {                        // STRING
-        throw new RuntimeException("Internal Error: type="+this.type);
-    }
-
-    // ================================================================
-    static class CharOp extends Op {
-        int charData;
-        CharOp(int type, int data) {
-            super(type);
-            this.charData = data;
-        }
-        int getData() {
-            return this.charData;
-        }
-    }
-
-    // ================================================================
-    static class UnionOp extends Op {
-        Vector branches;
-        UnionOp(int type, int size) {
-            super(type);
-            this.branches = new Vector(size);
-        }
-        void addElement(Op op) {
-            this.branches.addElement(op);
-        }
-        int size() {
-            return this.branches.size();
-        }
-        Op elementAt(int index) {
-            return (Op)this.branches.elementAt(index);
-        }
-    }
-
-    // ================================================================
-    static class ChildOp extends Op {
-        Op child;
-        ChildOp(int type) {
-            super(type);
-        }
-        void setChild(Op child) {
-            this.child = child;
-        }
-        Op getChild() {
-            return this.child;
-        }
-    }
-    // ================================================================
-    static class ModifierOp extends ChildOp {
-        int v1;
-        int v2;
-        ModifierOp(int type, int v1, int v2) {
-            super(type);
-            this.v1 = v1;
-            this.v2 = v2;
-        }
-        int getData() {
-            return this.v1;
-        }
-        int getData2() {
-            return this.v2;
-        }
-    }
-    // ================================================================
-    static class RangeOp extends Op {
-        Token tok;
-        RangeOp(int type, Token tok) {
-            super(type);
-            this.tok = tok;
-        }
-        RangeToken getToken() {
-            return (RangeToken)this.tok;
-        }
-    }
-    // ================================================================
-    static class StringOp extends Op {
-        String string;
-        StringOp(int type, String literal) {
-            super(type);
-            this.string = literal;
-        }
-        String getString() {
-            return this.string;
-        }
-    }
-    // ================================================================
-    static class ConditionOp extends Op {
-        int refNumber;
-        Op condition;
-        Op yes;
-        Op no;
-        ConditionOp(int type, int refno, Op conditionflow, Op yesflow, Op noflow) {
-            super(type);
-            this.refNumber = refno;
-            this.condition = conditionflow;
-            this.yes = yesflow;
-            this.no = noflow;
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParseException.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParseException.java
deleted file mode 100644
index 0d16e0d..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParseException.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-/**
- *
- * @author TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;
- */
-public class ParseException extends RuntimeException {
-    int location;
-
-    /*
-    public ParseException(String mes) {
-        this(mes, -1);
-    }
-    */
-    /**
-     *
-     */
-    public ParseException(String mes, int location) {
-        super(mes);
-        this.location = location;
-    }
-
-    /**
-     *
-     * @return -1 if location information is not available.
-     */
-    public int getLocation() {
-        return this.location;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParserForXMLSchema.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParserForXMLSchema.java
deleted file mode 100644
index c8296f8..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/ParserForXMLSchema.java
+++ /dev/null
@@ -1,462 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.util.Hashtable;
-import java.util.Locale;
-
-/**
- * A regular expression parser for the XML Shema.
- *
- * @author TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;
- */
-class ParserForXMLSchema extends RegexParser {
-
-    public ParserForXMLSchema() {
-        //this.setLocale(Locale.getDefault());
-    }
-    public ParserForXMLSchema(Locale locale) {
-        //this.setLocale(locale);
-    }
-
-    Token processCaret() throws ParseException {
-        this.next();
-        return Token.createChar('^');
-    }
-    Token processDollar() throws ParseException {
-        this.next();
-        return Token.createChar('$');
-     }
-    Token processLookahead() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processNegativelookahead() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processLookbehind() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processNegativelookbehind() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_A() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_Z() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_z() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_b() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_B() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_lt() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_gt() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processStar(Token tok) throws ParseException {
-        this.next();
-        return Token.createClosure(tok);
-    }
-    Token processPlus(Token tok) throws ParseException {
-        // X+ -> XX*
-        this.next();
-        return Token.createConcat(tok, Token.createClosure(tok));
-    }
-    Token processQuestion(Token tok) throws ParseException {
-        // X? -> X|
-        this.next();
-        Token par = Token.createUnion();
-        par.addChild(tok);
-        par.addChild(Token.createEmpty());
-        return par;
-    }
-    boolean checkQuestion(int off) {
-        return false;
-    }
-    Token processParen() throws ParseException {
-        this.next();
-        Token tok = Token.createParen(this.parseRegex(), 0);
-        if (this.read() != super.T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // Skips ')'
-        return tok;
-    }
-    Token processParen2() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processCondition() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processModifiers() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processIndependent() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_c() throws ParseException {
-        this.next();
-        return this.getTokenForShorthand('c');
-    }
-    Token processBacksolidus_C() throws ParseException {
-        this.next();
-        return this.getTokenForShorthand('C');
-    }
-    Token processBacksolidus_i() throws ParseException {
-        this.next();
-        return this.getTokenForShorthand('i');
-    }
-    Token processBacksolidus_I() throws ParseException {
-        this.next();
-        return this.getTokenForShorthand('I');
-    }
-    Token processBacksolidus_g() throws ParseException {
-        throw this.ex("parser.process.1", this.offset-2);
-    }
-    Token processBacksolidus_X() throws ParseException {
-        throw ex("parser.process.1", this.offset-2);
-    }
-    Token processBackreference() throws ParseException {
-        throw ex("parser.process.1", this.offset-4);
-    }
-
-    int processCIinCharacterClass(RangeToken tok, int c) {
-        tok.mergeRanges(this.getTokenForShorthand(c));
-        return -1;
-    }
-
-
-    /**
-     * Parses a character-class-expression, not a character-class-escape.
-     *
-     * c-c-expression   ::= '[' c-group ']'
-     * c-group          ::= positive-c-group | negative-c-group | c-c-subtraction
-     * positive-c-group ::= (c-range | c-c-escape)+
-     * negative-c-group ::= '^' positive-c-group
-     * c-c-subtraction  ::= (positive-c-group | negative-c-group) subtraction
-     * subtraction      ::= '-' c-c-expression
-     * c-range          ::= single-range | from-to-range
-     * single-range     ::= multi-c-escape | category-c-escape | block-c-escape | <any XML char>
-     * cc-normal-c      ::= <any character except [, ], \>
-     * from-to-range    ::= cc-normal-c '-' cc-normal-c
-     *
-     * @param useNrage Ignored.
-     * @return This returns no NrageToken.
-     */
-    protected RangeToken parseCharacterClass(boolean useNrange) throws ParseException {
-        this.setContext(S_INBRACKETS);
-        this.next();                            // '['
-        boolean nrange = false;
-        RangeToken base = null;
-        RangeToken tok;
-        if (this.read() == T_CHAR && this.chardata == '^') {
-            nrange = true;
-            this.next();                        // '^'
-            base = Token.createRange();
-            base.addRange(0, Token.UTF16_MAX);
-            tok = Token.createRange();
-        } else {
-            tok = Token.createRange();
-        }
-        int type;
-        boolean firstloop = true;
-        while ((type = this.read()) != T_EOF) { // Don't use 'cotinue' for this loop.
-            // single-range | from-to-range | subtraction
-            if (type == T_CHAR && this.chardata == ']' && !firstloop) {
-                if (nrange) {
-                    base.subtractRanges(tok);
-                    tok = base;
-                }
-                break;
-            }
-            int c = this.chardata;
-            boolean end = false;
-            if (type == T_BACKSOLIDUS) {
-                switch (c) {
-                  case 'd':  case 'D':
-                  case 'w':  case 'W':
-                  case 's':  case 'S':
-                    tok.mergeRanges(this.getTokenForShorthand(c));
-                    end = true;
-                    break;
-
-                  case 'i':  case 'I':
-                  case 'c':  case 'C':
-                    c = this.processCIinCharacterClass(tok, c);
-                    if (c < 0)  end = true;
-                    break;
-                    
-                  case 'p':
-                  case 'P':
-                    int pstart = this.offset;
-                    RangeToken tok2 = this.processBacksolidus_pP(c);
-                    if (tok2 == null)  throw this.ex("parser.atom.5", pstart);
-                    tok.mergeRanges(tok2);
-                    end = true;
-                    break;
-
-                  default:
-                    c = this.decodeEscaped();
-                } // \ + c
-            } // backsolidus
-            else if (type == T_XMLSCHEMA_CC_SUBTRACTION && !firstloop) {
-                                                // Subraction
-                if (nrange) {
-                    base.subtractRanges(tok);
-                    tok = base;
-                }
-                RangeToken range2 = this.parseCharacterClass(false);
-                tok.subtractRanges(range2);
-                if (this.read() != T_CHAR || this.chardata != ']')
-                    throw this.ex("parser.cc.5", this.offset);
-                break;                          // Exit this loop
-            }
-            this.next();
-            if (!end) {                         // if not shorthands...
-                if (type == T_CHAR) {
-                    if (c == '[')  throw this.ex("parser.cc.6", this.offset-2);
-                    if (c == ']')  throw this.ex("parser.cc.7", this.offset-2);
-                }
-                if (this.read() != T_CHAR || this.chardata != '-') { // Here is no '-'.
-                    tok.addRange(c, c);
-                } else {                        // Found '-'
-                                                // Is this '-' is a from-to token??
-                    this.next(); // Skips '-'
-                    if ((type = this.read()) == T_EOF)  throw this.ex("parser.cc.2", this.offset);
-                                                // c '-' ']' -> '-' is a single-range.
-                    if (type == T_CHAR && this.chardata == ']') {
-                        tok.addRange(c, c);
-                        tok.addRange('-', '-');
-                    }
-                                                // c '-' '-[' -> '-' is a single-range.
-                    else if (type == T_XMLSCHEMA_CC_SUBTRACTION) {
-                        tok.addRange(c, c);
-                        tok.addRange('-', '-');
-                    } else {
-                        int rangeend = this.chardata;
-                        if (type == T_CHAR) {
-                            if (rangeend == '[')  throw this.ex("parser.cc.6", this.offset-1);
-                            if (rangeend == ']')  throw this.ex("parser.cc.7", this.offset-1);
-                        }
-                        if (type == T_BACKSOLIDUS)
-                            rangeend = this.decodeEscaped();
-                        this.next();
-                        tok.addRange(c, rangeend);
-                    }
-                }
-            }
-            firstloop = false;
-        }
-        if (this.read() == T_EOF)
-            throw this.ex("parser.cc.2", this.offset);
-        tok.sortRanges();
-        tok.compactRanges();
-        //tok.dumpRanges();
-        this.setContext(S_NORMAL);
-        this.next();                    // Skips ']'
-
-        return tok;
-    }
-
-    protected RangeToken parseSetOperations() throws ParseException {
-        throw this.ex("parser.process.1", this.offset);
-    }
- 
-    Token getTokenForShorthand(int ch) {
-        switch (ch) {
-          case 'd':
-            return ParserForXMLSchema.getRange("xml:isDigit", true);
-          case 'D':
-            return ParserForXMLSchema.getRange("xml:isDigit", false);
-          case 'w':
-            return ParserForXMLSchema.getRange("xml:isWord", true);
-          case 'W':
-            return ParserForXMLSchema.getRange("xml:isWord", false);
-          case 's':
-            return ParserForXMLSchema.getRange("xml:isSpace", true);
-          case 'S':
-            return ParserForXMLSchema.getRange("xml:isSpace", false);
-          case 'c':
-            return ParserForXMLSchema.getRange("xml:isNameChar", true);
-          case 'C':
-            return ParserForXMLSchema.getRange("xml:isNameChar", false);
-          case 'i':
-            return ParserForXMLSchema.getRange("xml:isInitialNameChar", true);
-          case 'I':
-            return ParserForXMLSchema.getRange("xml:isInitialNameChar", false);
-          default:
-            throw new RuntimeException("Internal Error: shorthands: \\u"+Integer.toString(ch, 16));
-        }
-    }
-    int decodeEscaped() throws ParseException {
-        if (this.read() != T_BACKSOLIDUS)  throw ex("parser.next.1", this.offset-1);
-        int c = this.chardata;
-        switch (c) {
-          case 'n':  c = '\n';  break; // LINE FEED U+000A
-          case 'r':  c = '\r';  break; // CRRIAGE RETURN U+000D
-          case 't':  c = '\t';  break; // HORIZONTAL TABULATION U+0009
-
-          case 'e':
-          case 'f':
-          case 'x':
-          case 'u':
-          case 'v':
-            throw ex("parser.process.1", this.offset-2);
-          case 'A':
-          case 'Z':
-          case 'z':
-            throw ex("parser.descape.5", this.offset-2);
-          default:
-        }
-        return c;
-    }
-
-    static private Hashtable ranges = null;
-    static private Hashtable ranges2 = null;
-    static synchronized protected RangeToken getRange(String name, boolean positive) {
-        if (ranges == null) {
-            ranges = new Hashtable();
-            ranges2 = new Hashtable();
-
-            Token tok = Token.createRange();
-            setupRange(tok, SPACES);
-            ranges.put("xml:isSpace", tok);
-            ranges2.put("xml:isSpace", Token.complementRanges(tok));
-
-            tok = Token.createRange();
-            setupRange(tok, DIGITS);
-            ranges.put("xml:isDigit", tok);
-            ranges2.put("xml:isDigit", Token.complementRanges(tok));
-
-            tok = Token.createRange();
-            setupRange(tok, DIGITS);
-            ranges.put("xml:isDigit", tok);
-            ranges2.put("xml:isDigit", Token.complementRanges(tok));
-
-            tok = Token.createRange();
-            setupRange(tok, LETTERS);
-            tok.mergeRanges((Token)ranges.get("xml:isDigit"));
-            ranges.put("xml:isWord", tok);
-            ranges2.put("xml:isWord", Token.complementRanges(tok));
-
-            tok = Token.createRange();
-            setupRange(tok, NAMECHARS);
-            ranges.put("xml:isNameChar", tok);
-            ranges2.put("xml:isNameChar", Token.complementRanges(tok));
-
-            tok = Token.createRange();
-            setupRange(tok, LETTERS);
-            tok.addRange('_', '_');
-            tok.addRange(':', ':');
-            ranges.put("xml:isInitialNameChar", tok);
-            ranges2.put("xml:isInitialNameChar", Token.complementRanges(tok));
-        }
-        RangeToken tok = positive ? (RangeToken)ranges.get(name)
-            : (RangeToken)ranges2.get(name);
-        return tok;
-    }
-
-    static void setupRange(Token range, String src) {
-        int len = src.length();
-        for (int i = 0;  i < len;  i += 2)
-            range.addRange(src.charAt(i), src.charAt(i+1));
-    }
-
-    private static final String SPACES = "\t\n\r\r  ";
-    private static final String NAMECHARS =
-        "\u002d\u002e\u0030\u003a\u0041\u005a\u005f\u005f\u0061\u007a\u00b7\u00b7\u00c0\u00d6"
-        +"\u00d8\u00f6\u00f8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0"
-        +"\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u02d0\u02d1\u0300\u0345\u0360\u0361"
-        +"\u0386\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc"
-        +"\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481"
-        +"\u0483\u0486\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9"
-        +"\u0531\u0556\u0559\u0559\u0561\u0586\u0591\u05a1\u05a3\u05b9\u05bb\u05bd\u05bf\u05bf"
-        +"\u05c1\u05c2\u05c4\u05c4\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0640\u0652\u0660\u0669"
-        +"\u0670\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06e8\u06ea\u06ed\u06f0\u06f9"
-        +"\u0901\u0903\u0905\u0939\u093c\u094d\u0951\u0954\u0958\u0963\u0966\u096f\u0981\u0983"
-        +"\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09bc\u09bc"
-        +"\u09be\u09c4\u09c7\u09c8\u09cb\u09cd\u09d7\u09d7\u09dc\u09dd\u09df\u09e3\u09e6\u09f1"
-        +"\u0a02\u0a02\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36"
-        +"\u0a38\u0a39\u0a3c\u0a3c\u0a3e\u0a42\u0a47\u0a48\u0a4b\u0a4d\u0a59\u0a5c\u0a5e\u0a5e"
-        +"\u0a66\u0a74\u0a81\u0a83\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0"
-        +"\u0ab2\u0ab3\u0ab5\u0ab9\u0abc\u0ac5\u0ac7\u0ac9\u0acb\u0acd\u0ae0\u0ae0\u0ae6\u0aef"
-        +"\u0b01\u0b03\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39"
-        +"\u0b3c\u0b43\u0b47\u0b48\u0b4b\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f\u0b61\u0b66\u0b6f"
-        +"\u0b82\u0b83\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f"
-        +"\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0bbe\u0bc2\u0bc6\u0bc8\u0bca\u0bcd"
-        +"\u0bd7\u0bd7\u0be7\u0bef\u0c01\u0c03\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33"
-        +"\u0c35\u0c39\u0c3e\u0c44\u0c46\u0c48\u0c4a\u0c4d\u0c55\u0c56\u0c60\u0c61\u0c66\u0c6f"
-        +"\u0c82\u0c83\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cbe\u0cc4"
-        +"\u0cc6\u0cc8\u0cca\u0ccd\u0cd5\u0cd6\u0cde\u0cde\u0ce0\u0ce1\u0ce6\u0cef\u0d02\u0d03"
-        +"\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d3e\u0d43\u0d46\u0d48\u0d4a\u0d4d"
-        +"\u0d57\u0d57\u0d60\u0d61\u0d66\u0d6f\u0e01\u0e2e\u0e30\u0e3a\u0e40\u0e4e\u0e50\u0e59"
-        +"\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f"
-        +"\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb9\u0ebb\u0ebd"
-        +"\u0ec0\u0ec4\u0ec6\u0ec6\u0ec8\u0ecd\u0ed0\u0ed9\u0f18\u0f19\u0f20\u0f29\u0f35\u0f35"
-        +"\u0f37\u0f37\u0f39\u0f39\u0f3e\u0f47\u0f49\u0f69\u0f71\u0f84\u0f86\u0f8b\u0f90\u0f95"
-        +"\u0f97\u0f97\u0f99\u0fad\u0fb1\u0fb7\u0fb9\u0fb9\u10a0\u10c5\u10d0\u10f6\u1100\u1100"
-        +"\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e"
-        +"\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161"
-        +"\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175"
-        +"\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2"
-        +"\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d"
-        +"\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d"
-        +"\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb"
-        +"\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u20d0\u20dc\u20e1\u20e1\u2126\u2126\u212a\u212b"
-        +"\u212e\u212e\u2180\u2182\u3005\u3005\u3007\u3007\u3021\u302f\u3031\u3035\u3041\u3094"
-        +"\u3099\u309a\u309d\u309e\u30a1\u30fa\u30fc\u30fe\u3105\u312c\u4e00\u9fa5\uac00\ud7a3"
-        +"";
-    private static final String LETTERS =
-        "\u0041\u005a\u0061\u007a\u00c0\u00d6\u00d8\u00f6\u00f8\u0131\u0134\u013e\u0141\u0148"
-        +"\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1"
-        +"\u0386\u0386\u0388\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da"
-        +"\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c"
-        +"\u045e\u0481\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9"
-        +"\u0531\u0556\u0559\u0559\u0561\u0586\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0641\u064a"
-        +"\u0671\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06d5\u06e5\u06e6\u0905\u0939"
-        +"\u093d\u093d\u0958\u0961\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2"
-        +"\u09b6\u09b9\u09dc\u09dd\u09df\u09e1\u09f0\u09f1\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28"
-        +"\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59\u0a5c\u0a5e\u0a5e\u0a72\u0a74"
-        +"\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9"
-        +"\u0abd\u0abd\u0ae0\u0ae0\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33"
-        +"\u0b36\u0b39\u0b3d\u0b3d\u0b5c\u0b5d\u0b5f\u0b61\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95"
-        +"\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9"
-        +"\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c60\u0c61\u0c85\u0c8c"
-        +"\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cde\u0cde\u0ce0\u0ce1\u0d05\u0d0c"
-        +"\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d60\u0d61\u0e01\u0e2e\u0e30\u0e30\u0e32\u0e33"
-        +"\u0e40\u0e45\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97"
-        +"\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb0"
-        +"\u0eb2\u0eb3\u0ebd\u0ebd\u0ec0\u0ec4\u0f40\u0f47\u0f49\u0f69\u10a0\u10c5\u10d0\u10f6"
-        +"\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c"
-        +"\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159"
-        +"\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173"
-        +"\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba"
-        +"\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15"
-        +"\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d"
-        +"\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3"
-        +"\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u2126\u2126\u212a\u212b\u212e\u212e"
-        +"\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30a1\u30fa\u3105\u312c\u4e00\u9fa5"
-        +"\uac00\ud7a3";
-    private static final String DIGITS =
-        "\u0030\u0039\u0660\u0669\u06F0\u06F9\u0966\u096F\u09E6\u09EF\u0A66\u0A6F\u0AE6\u0AEF"
-        +"\u0B66\u0B6F\u0BE7\u0BEF\u0C66\u0C6F\u0CE6\u0CEF\u0D66\u0D6F\u0E50\u0E59\u0ED0\u0ED9"
-        +"\u0F20\u0F29";
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/README.txt b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/README.txt
deleted file mode 100644
index 6cf1167..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/README.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-This is an isolated directory that was taken from the
-Apache Xerces-J 2.0 project.
-
-It contains the following modifications:
-
-(1) a change in namespace.
-(2) the addition of a SchemaRegularExpression class for fast
-    detection of NCNAME, etc.
-
-No xbean code outside this directory or other directories with
-similar README notices was taken from Apache.
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/REUtil.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/REUtil.java
deleted file mode 100644
index ca0dd2e..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/REUtil.java
+++ /dev/null
@@ -1,326 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.text.CharacterIterator;
-
-public final class REUtil {
-    private REUtil() {
-    }
-
-    static final int composeFromSurrogates(int high, int low) {
-        return 0x10000 + ((high-0xd800)<<10) + low-0xdc00;
-    }
-
-    static final boolean isLowSurrogate(int ch) {
-        return (ch & 0xfc00) == 0xdc00;
-    }
-
-    static final boolean isHighSurrogate(int ch) {
-        return (ch & 0xfc00) == 0xd800;
-    }
-
-    static final String decomposeToSurrogates(int ch) {
-        char[] chs = new char[2];
-        ch -= 0x10000;
-        chs[0] = (char)((ch>>10)+0xd800);
-        chs[1] = (char)((ch&0x3ff)+0xdc00);
-        return new String(chs);
-    }
-
-    static final String substring(CharacterIterator iterator, int begin, int end) {
-        char[] src = new char[end-begin];
-        for (int i = 0;  i < src.length;  i ++)
-            src[i] = iterator.setIndex(i+begin);
-        return new String(src);
-    }
-
-    // ================================================================
-
-    static final int getOptionValue(int ch) {
-        int ret = 0;
-        switch (ch) {
-          case 'i':
-            ret = RegularExpression.IGNORE_CASE;
-            break;
-          case 'm':
-            ret = RegularExpression.MULTIPLE_LINES;
-            break;
-          case 's':
-            ret = RegularExpression.SINGLE_LINE;
-            break;
-          case 'x':
-            ret = RegularExpression.EXTENDED_COMMENT;
-            break;
-          case 'u':
-            ret = RegularExpression.USE_UNICODE_CATEGORY;
-            break;
-          case 'w':
-            ret = RegularExpression.UNICODE_WORD_BOUNDARY;
-            break;
-          case 'F':
-            ret = RegularExpression.PROHIBIT_FIXED_STRING_OPTIMIZATION;
-            break;
-          case 'H':
-            ret = RegularExpression.PROHIBIT_HEAD_CHARACTER_OPTIMIZATION;
-            break;
-          case 'X':
-            ret = RegularExpression.XMLSCHEMA_MODE;
-            break;
-          case ',':
-            ret = RegularExpression.SPECIAL_COMMA;
-            break;
-          default:
-        }
-        return ret;
-    }
-
-    static final int parseOptions(String opts) throws ParseException {
-        if (opts == null)  return 0;
-        int options = 0;
-        for (int i = 0;  i < opts.length();  i ++) {
-            int v = getOptionValue(opts.charAt(i));
-            if (v == 0)
-                throw new ParseException("Unknown Option: "+opts.substring(i), -1);
-            options |= v;
-        }
-        return options;
-    }
-
-    static final String createOptionString(int options) {
-        StringBuffer sb = new StringBuffer(9);
-        if ((options & RegularExpression.PROHIBIT_FIXED_STRING_OPTIMIZATION) != 0)
-            sb.append((char)'F');
-        if ((options & RegularExpression.PROHIBIT_HEAD_CHARACTER_OPTIMIZATION) != 0)
-            sb.append((char)'H');
-        if ((options & RegularExpression.XMLSCHEMA_MODE) != 0)
-            sb.append((char)'X');
-        if ((options & RegularExpression.IGNORE_CASE) != 0)
-            sb.append((char)'i');
-        if ((options & RegularExpression.MULTIPLE_LINES) != 0)
-            sb.append((char)'m');
-        if ((options & RegularExpression.SINGLE_LINE) != 0)
-            sb.append((char)'s');
-        if ((options & RegularExpression.USE_UNICODE_CATEGORY) != 0)
-            sb.append((char)'u');
-        if ((options & RegularExpression.UNICODE_WORD_BOUNDARY) != 0)
-            sb.append((char)'w');
-        if ((options & RegularExpression.EXTENDED_COMMENT) != 0)
-            sb.append((char)'x');
-        if ((options & RegularExpression.SPECIAL_COMMA) != 0)
-            sb.append((char)',');
-        return sb.toString().intern();
-    }
-
-    // ================================================================
-
-    static String stripExtendedComment(String regex) {
-        int len = regex.length();
-        StringBuffer buffer = new StringBuffer(len);
-        int offset = 0;
-        while (offset < len) {
-            int ch = regex.charAt(offset++);
-                                                // Skips a white space.
-            if (ch == '\t' || ch == '\n' || ch == '\f' || ch == '\r' || ch == ' ')
-                continue;
-
-            if (ch == '#') {                    // Skips chracters between '#' and a line end.
-                while (offset < len) {
-                    ch = regex.charAt(offset++);
-                    if (ch == '\r' || ch == '\n')
-                        break;
-                }
-                continue;
-            }
-
-            int next;                           // Strips an escaped white space.
-            if (ch == '\\' && offset < len) {
-                if ((next = regex.charAt(offset)) == '#'
-                    || next == '\t' || next == '\n' || next == '\f'
-                    || next == '\r' || next == ' ') {
-                    buffer.append((char)next);
-                    offset ++;
-                } else {                        // Other escaped character.
-                    buffer.append((char)'\\');
-                    buffer.append((char)next);
-                    offset ++;
-                }
-            } else                              // As is.
-                buffer.append((char)ch);
-        }
-        return buffer.toString();
-    }
-
-    // ================================================================
-
-    /**
-     * Sample entry.
-     * <div>Usage: <KBD>org.apache.xerces.utils.regex.REUtil &lt;regex&gt; &lt;string&gt;</KBD></div>
-     */
-    public static void main(String[] argv) {
-        String pattern = null;
-        try {
-            String options = "";
-            String target = null;
-            if( argv.length == 0 ) {
-                System.out.println( "Error:Usage: java REUtil -i|-m|-s|-u|-w|-X regularExpression String" );
-                System.exit( 0 );
-            }
-            for (int i = 0;  i < argv.length;  i ++) {
-                if (argv[i].length() == 0 || argv[i].charAt(0) != '-') {
-                    if (pattern == null)
-                        pattern = argv[i];
-                    else if (target == null)
-                        target = argv[i];
-                    else
-                        System.err.println("Unnecessary: "+argv[i]);
-                } else if (argv[i].equals("-i")) {
-                    options += "i";
-                } else if (argv[i].equals("-m")) {
-                    options += "m";
-                } else if (argv[i].equals("-s")) {
-                    options += "s";
-                } else if (argv[i].equals("-u")) {
-                    options += "u";
-                } else if (argv[i].equals("-w")) {
-                    options += "w";
-                } else if (argv[i].equals("-X")) {
-                    options += "X";
-                } else {
-                    System.err.println("Unknown option: "+argv[i]);
-                }
-            }
-            RegularExpression reg = new RegularExpression(pattern, options);
-            System.out.println("RegularExpression: "+reg);
-            Match match = new Match();
-            reg.matches(target, match);
-            for (int i = 0;  i < match.getNumberOfGroups();  i ++) {
-                if (i == 0 )  System.out.print("Matched range for the whole pattern: ");
-                else System.out.print("["+i+"]: ");
-                if (match.getBeginning(i) < 0)
-                    System.out.println("-1");
-                else {
-                    System.out.print(match.getBeginning(i)+", "+match.getEnd(i)+", ");
-                    System.out.println("\""+match.getCapturedText(i)+"\"");
-                }
-            }
-        } catch (ParseException pe) {
-            if (pattern == null) {
-                pe.printStackTrace();
-            } else {
-                System.err.println("org.apache.xerces.utils.regex.ParseException: "+pe.getMessage());
-                String indent = "        ";
-                System.err.println(indent+pattern);
-                int loc = pe.getLocation();
-                if (loc >= 0) {
-                    System.err.print(indent);
-                    for (int i = 0;  i < loc;  i ++)  System.err.print("-");
-                    System.err.println("^");
-                }
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-
-    static final int CACHESIZE = 20;
-    static final RegularExpression[] regexCache = new RegularExpression[CACHESIZE];
-    /**
-     * Creates a RegularExpression instance.
-     * This method caches created instances.
-     *
-     * @seeq RegularExpression#RegularExpression(java.lang.String, java.lang.String)
-     */
-    public static RegularExpression createRegex(String pattern, String options)
-        throws ParseException {
-        RegularExpression re = null;
-        int intOptions = REUtil.parseOptions(options);
-        synchronized (REUtil.regexCache) {
-            int i;
-            for (i = 0;  i < REUtil.CACHESIZE;  i ++) {
-                RegularExpression cached = REUtil.regexCache[i];
-                if (cached == null) {
-                    i = -1;
-                    break;
-                }
-                if (cached.equals(pattern, intOptions)) {
-                    re = cached;
-                    break;
-                }
-            }
-            if (re != null) {
-                if (i != 0) {
-                    System.arraycopy(REUtil.regexCache, 0, REUtil.regexCache, 1, i);
-                    REUtil.regexCache[0] = re;
-                }
-            } else {
-                re = new RegularExpression(pattern, options);
-                System.arraycopy(REUtil.regexCache, 0, REUtil.regexCache, 1, REUtil.CACHESIZE-1);
-                REUtil.regexCache[0] = re;
-            }
-        }
-        return re;
-    }
-
-    /**
-     *
-     * @see RegularExpression#matches(java.lang.String)
-     */
-    public static boolean matches(String regex, String target) throws ParseException {
-        return REUtil.createRegex(regex, null).matches(target);
-    }
-
-    /**
-     *
-     * @see RegularExpression#matches(java.lang.String)
-     */
-    public static boolean matches(String regex, String options, String target) throws ParseException {
-        return REUtil.createRegex(regex, options).matches(target);
-    }
-
-    // ================================================================
-
-    /**
-     *
-     */
-    public static String quoteMeta(String literal) {
-        int len = literal.length();
-        StringBuffer buffer = null;
-        for (int i = 0;  i < len;  i ++) {
-            int ch = literal.charAt(i);
-            if (".*+?{[()|\\^$".indexOf(ch) >= 0) {
-                if (buffer == null) {
-                    buffer = new StringBuffer(i+(len-i)*2);
-                    if (i > 0)  buffer.append(literal.substring(0, i));
-                }
-                buffer.append((char)'\\');
-                buffer.append((char)ch);
-            } else if (buffer != null)
-                buffer.append((char)ch);
-        }
-        return buffer != null ? buffer.toString() : literal;
-    }
-
-    // ================================================================
-
-    static void dumpString(String v) {
-        for (int i = 0;  i < v.length();  i ++) {
-            System.out.print(Integer.toHexString(v.charAt(i)));
-            System.out.print(" ");
-        }
-        System.out.println();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RangeToken.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RangeToken.java
deleted file mode 100644
index 21f7b98..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RangeToken.java
+++ /dev/null
@@ -1,607 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-/**
- * This class represents a character class such as [a-z] or a period.
- */
-final class RangeToken extends Token implements java.io.Serializable {
-
-    int[] ranges;
-    boolean sorted;
-    boolean compacted;
-    RangeToken icaseCache = null;
-    int[] map = null;
-    int nonMapIndex;
-
-    RangeToken(int type) {
-        super(type);
-        this.setSorted(false);
-    }
-
-                                                // for RANGE or NRANGE
-    protected void addRange(int start, int end) {
-        this.icaseCache = null;
-        //System.err.println("Token#addRange(): "+start+" "+end);
-        int r1, r2;
-        if (start <= end) {
-            r1 = start;
-            r2 = end;
-        } else {
-            r1 = end;
-            r2 = start;
-        }
-
-        int pos = 0;
-        if (this.ranges == null) {
-            this.ranges = new int[2];
-            this.ranges[0] = r1;
-            this.ranges[1] = r2;
-            this.setSorted(true);
-        } else {
-            pos = this.ranges.length;
-            if (this.ranges[pos-1]+1 == r1) {
-                this.ranges[pos-1] = r2;
-                return;
-            }
-            int[] temp = new int[pos+2];
-            System.arraycopy(this.ranges, 0, temp, 0, pos);
-            this.ranges = temp;
-            if (this.ranges[pos-1] >= r1)
-                this.setSorted(false);
-            this.ranges[pos++] = r1;
-            this.ranges[pos] = r2;
-            if (!this.sorted)
-                this.sortRanges();
-        }
-    }
-
-    private final boolean isSorted() {
-        return this.sorted;
-    }
-    private final void setSorted(boolean sort) {
-        this.sorted = sort;
-        if (!sort)  this.compacted = false;
-    }
-    private final boolean isCompacted() {
-        return this.compacted;
-    }
-    private final void setCompacted() {
-        this.compacted = true;
-    }
-
-    protected void sortRanges() {
-        if (this.isSorted())
-            return;
-        if (this.ranges == null)
-            return;
-        //System.err.println("Do sorting: "+this.ranges.length);
-
-                                                // Bubble sort
-                                                // Why? -- In many cases,
-                                                //         this.ranges has few elements.
-        for (int i = this.ranges.length-4;  i >= 0;  i -= 2) {
-            for (int j = 0;  j <= i;  j += 2) {
-                if (this.ranges[j] > this.ranges[j+2]
-                    || this.ranges[j] == this.ranges[j+2] && this.ranges[j+1] > this.ranges[j+3]) {
-                    int tmp;
-                    tmp = this.ranges[j+2];
-                    this.ranges[j+2] = this.ranges[j];
-                    this.ranges[j] = tmp;
-                    tmp = this.ranges[j+3];
-                    this.ranges[j+3] = this.ranges[j+1];
-                    this.ranges[j+1] = tmp;
-                }
-            }
-        }
-        this.setSorted(true);
-    }
-
-    /**
-     * this.ranges is sorted.
-     */
-    protected void compactRanges() {
-        boolean DEBUG = false;
-        if (this.ranges == null || this.ranges.length <= 2)
-            return;
-        if (this.isCompacted())
-            return;
-        int base = 0;                           // Index of writing point
-        int target = 0;                         // Index of processing point
-
-        while (target < this.ranges.length) {
-            if (base != target) {
-                this.ranges[base] = this.ranges[target++];
-                this.ranges[base+1] = this.ranges[target++];
-            } else
-                target += 2;
-            int baseend = this.ranges[base+1];
-            while (target < this.ranges.length) {
-                if (baseend+1 < this.ranges[target])
-                    break;
-                if (baseend+1 == this.ranges[target]) {
-                    if (DEBUG)
-                        System.err.println("Token#compactRanges(): Compaction: ["+this.ranges[base]
-                                           +", "+this.ranges[base+1]
-                                           +"], ["+this.ranges[target]
-                                           +", "+this.ranges[target+1]
-                                           +"] -> ["+this.ranges[base]
-                                           +", "+this.ranges[target+1]
-                                           +"]");
-                    this.ranges[base+1] = this.ranges[target+1];
-                    baseend = this.ranges[base+1];
-                    target += 2;
-                } else if (baseend >= this.ranges[target+1]) {
-                    if (DEBUG)
-                        System.err.println("Token#compactRanges(): Compaction: ["+this.ranges[base]
-                                           +", "+this.ranges[base+1]
-                                           +"], ["+this.ranges[target]
-                                           +", "+this.ranges[target+1]
-                                           +"] -> ["+this.ranges[base]
-                                           +", "+this.ranges[base+1]
-                                           +"]");
-                    target += 2;
-                } else if (baseend < this.ranges[target+1]) {
-                    if (DEBUG)
-                        System.err.println("Token#compactRanges(): Compaction: ["+this.ranges[base]
-                                           +", "+this.ranges[base+1]
-                                           +"], ["+this.ranges[target]
-                                           +", "+this.ranges[target+1]
-                                           +"] -> ["+this.ranges[base]
-                                           +", "+this.ranges[target+1]
-                                           +"]");
-                    this.ranges[base+1] = this.ranges[target+1];
-                    baseend = this.ranges[base+1];
-                    target += 2;
-                } else {
-                    throw new RuntimeException("Token#compactRanges(): Internel Error: ["
-                                               +this.ranges[base]
-                                               +","+this.ranges[base+1]
-                                               +"] ["+this.ranges[target]
-                                               +","+this.ranges[target+1]+"]");
-                }
-            } // while
-            base += 2;
-        }
-
-        if (base != this.ranges.length) {
-            int[] result = new int[base];
-            System.arraycopy(this.ranges, 0, result, 0, base);
-            this.ranges = result;
-        }
-        this.setCompacted();
-    }
-
-    protected void mergeRanges(Token token) {
-        RangeToken tok = (RangeToken)token;
-        this.sortRanges();
-        tok.sortRanges();
-        if (tok.ranges == null)
-            return;
-        this.icaseCache = null;
-        this.setSorted(true);
-        if (this.ranges == null) {
-            this.ranges = new int[tok.ranges.length];
-            System.arraycopy(tok.ranges, 0, this.ranges, 0, tok.ranges.length);
-            return;
-        }
-        int[] result = new int[this.ranges.length+tok.ranges.length];
-        for (int i = 0, j = 0, k = 0;  i < this.ranges.length || j < tok.ranges.length;) {
-            if (i >= this.ranges.length) {
-                result[k++] = tok.ranges[j++];
-                result[k++] = tok.ranges[j++];
-            } else if (j >= tok.ranges.length) {
-                result[k++] = this.ranges[i++];
-                result[k++] = this.ranges[i++];
-            } else if (tok.ranges[j] < this.ranges[i]
-                       || tok.ranges[j] == this.ranges[i] && tok.ranges[j+1] < this.ranges[i+1]) {
-                result[k++] = tok.ranges[j++];
-                result[k++] = tok.ranges[j++];
-            } else {
-                result[k++] = this.ranges[i++];
-                result[k++] = this.ranges[i++];
-            }
-        }
-        this.ranges = result;
-    }
-
-    protected void subtractRanges(Token token) {
-        if (token.type == NRANGE) {
-            this.intersectRanges(token);
-            return;
-        }
-        RangeToken tok = (RangeToken)token;
-        if (tok.ranges == null || this.ranges == null)
-            return;
-        this.icaseCache = null;
-        this.sortRanges();
-        this.compactRanges();
-        tok.sortRanges();
-        tok.compactRanges();
-
-        //System.err.println("Token#substractRanges(): Entry: "+this.ranges.length+", "+tok.ranges.length);
-
-        int[] result = new int[this.ranges.length+tok.ranges.length];
-        int wp = 0, src = 0, sub = 0;
-        while (src < this.ranges.length && sub < tok.ranges.length) {
-            int srcbegin = this.ranges[src];
-            int srcend = this.ranges[src+1];
-            int subbegin = tok.ranges[sub];
-            int subend = tok.ranges[sub+1];
-            if (srcend < subbegin) {            // Not overlapped
-                                                // src: o-----o
-                                                // sub:         o-----o
-                                                // res: o-----o
-                                                // Reuse sub
-                result[wp++] = this.ranges[src++];
-                result[wp++] = this.ranges[src++];
-            } else if (srcend >= subbegin
-                       && srcbegin <= subend) { // Overlapped
-                                                // src:    o--------o
-                                                // sub:  o----o
-                                                // sub:      o----o
-                                                // sub:          o----o
-                                                // sub:  o------------o
-                if (subbegin <= srcbegin && srcend <= subend) {
-                                                // src:    o--------o
-                                                // sub:  o------------o
-                                                // res: empty
-                                                // Reuse sub
-                    src += 2;
-                } else if (subbegin <= srcbegin) {
-                                                // src:    o--------o
-                                                // sub:  o----o
-                                                // res:       o-----o
-                                                // Reuse src(=res)
-                    this.ranges[src] = subend+1;
-                    sub += 2;
-                } else if (srcend <= subend) {
-                                                // src:    o--------o
-                                                // sub:          o----o
-                                                // res:    o-----o
-                                                // Reuse sub
-                    result[wp++] = srcbegin;
-                    result[wp++] = subbegin-1;
-                    src += 2;
-                } else {
-                                                // src:    o--------o
-                                                // sub:      o----o
-                                                // res:    o-o    o-o
-                                                // Reuse src(=right res)
-                    result[wp++] = srcbegin;
-                    result[wp++] = subbegin-1;
-                    this.ranges[src] = subend+1;
-                    sub += 2;
-                }
-            } else if (subend < srcbegin) {
-                                                // Not overlapped
-                                                // src:          o-----o
-                                                // sub: o----o
-                sub += 2;
-            } else {
-                throw new RuntimeException("Token#subtractRanges(): Internal Error: ["+this.ranges[src]
-                                           +","+this.ranges[src+1]
-                                           +"] - ["+tok.ranges[sub]
-                                           +","+tok.ranges[sub+1]
-                                           +"]");
-            }
-        }
-        while (src < this.ranges.length) {
-            result[wp++] = this.ranges[src++];
-            result[wp++] = this.ranges[src++];
-        }
-        this.ranges = new int[wp];
-        System.arraycopy(result, 0, this.ranges, 0, wp);
-                                                // this.ranges is sorted and compacted.
-    }
-
-    /**
-     * @param tok Ignore whether it is NRANGE or not.
-     */
-    protected void intersectRanges(Token token) {
-        RangeToken tok = (RangeToken)token;
-        if (tok.ranges == null || this.ranges == null)
-            return;
-        this.icaseCache = null;
-        this.sortRanges();
-        this.compactRanges();
-        tok.sortRanges();
-        tok.compactRanges();
-
-        int[] result = new int[this.ranges.length+tok.ranges.length];
-        int wp = 0, src1 = 0, src2 = 0;
-        while (src1 < this.ranges.length && src2 < tok.ranges.length) {
-            int src1begin = this.ranges[src1];
-            int src1end = this.ranges[src1+1];
-            int src2begin = tok.ranges[src2];
-            int src2end = tok.ranges[src2+1];
-            if (src1end < src2begin) {          // Not overlapped
-                                                // src1: o-----o
-                                                // src2:         o-----o
-                                                // res:  empty
-                                                // Reuse src2
-                src1 += 2;
-            } else if (src1end >= src2begin
-                       && src1begin <= src2end) { // Overlapped
-                                                // src1:    o--------o
-                                                // src2:  o----o
-                                                // src2:      o----o
-                                                // src2:          o----o
-                                                // src2:  o------------o
-                if (src2begin <= src2begin && src1end <= src2end) {
-                                                // src1:    o--------o
-                                                // src2:  o------------o
-                                                // res:     o--------o
-                                                // Reuse src2
-                    result[wp++] = src1begin;
-                    result[wp++] = src1end;
-                    src1 += 2;
-                } else if (src2begin <= src1begin) {
-                                                // src1:    o--------o
-                                                // src2:  o----o
-                                                // res:     o--o
-                                                // Reuse the rest of src1
-                    result[wp++] = src1begin;
-                    result[wp++] = src2end;
-                    this.ranges[src1] = src2end+1;
-                    src2 += 2;
-                } else if (src1end <= src2end) {
-                                                // src1:    o--------o
-                                                // src2:          o----o
-                                                // res:           o--o
-                                                // Reuse src2
-                    result[wp++] = src2begin;
-                    result[wp++] = src1end;
-                    src1 += 2;
-                } else {
-                                                // src1:    o--------o
-                                                // src2:      o----o
-                                                // res:       o----o
-                                                // Reuse the rest of src1
-                    result[wp++] = src2begin;
-                    result[wp++] = src2end;
-                    this.ranges[src1] = src2end+1;
-                }
-            } else if (src2end < src1begin) {
-                                                // Not overlapped
-                                                // src1:          o-----o
-                                                // src2: o----o
-                src2 += 2;
-            } else {
-                throw new RuntimeException("Token#intersectRanges(): Internal Error: ["
-                                           +this.ranges[src1]
-                                           +","+this.ranges[src1+1]
-                                           +"] & ["+tok.ranges[src2]
-                                           +","+tok.ranges[src2+1]
-                                           +"]");
-            }
-        }
-        while (src1 < this.ranges.length) {
-            result[wp++] = this.ranges[src1++];
-            result[wp++] = this.ranges[src1++];
-        }
-        this.ranges = new int[wp];
-        System.arraycopy(result, 0, this.ranges, 0, wp);
-                                                // this.ranges is sorted and compacted.
-    }
-
-    /**
-     * for RANGE: Creates complement.
-     * for NRANGE: Creates the same meaning RANGE.
-     */
-    static Token complementRanges(Token token) {
-        if (token.type != RANGE && token.type != NRANGE)
-            throw new IllegalArgumentException("Token#complementRanges(): must be RANGE: "+token.type);
-        RangeToken tok = (RangeToken)token;
-        tok.sortRanges();
-        tok.compactRanges();
-        int len = tok.ranges.length+2;
-        if (tok.ranges[0] == 0)
-            len -= 2;
-        int last = tok.ranges[tok.ranges.length-1];
-        if (last == UTF16_MAX)
-            len -= 2;
-        RangeToken ret = Token.createRange();
-        ret.ranges = new int[len];
-        int wp = 0;
-        if (tok.ranges[0] > 0) {
-            ret.ranges[wp++] = 0;
-            ret.ranges[wp++] = tok.ranges[0]-1;
-        }
-        for (int i = 1;  i < tok.ranges.length-2;  i += 2) {
-            ret.ranges[wp++] = tok.ranges[i]+1;
-            ret.ranges[wp++] = tok.ranges[i+1]-1;
-        }
-        if (last != UTF16_MAX) {
-            ret.ranges[wp++] = last+1;
-            ret.ranges[wp] = UTF16_MAX;
-        }
-        ret.setCompacted();
-        return ret;
-    }
-
-    synchronized RangeToken getCaseInsensitiveToken() {
-        if (this.icaseCache != null)
-            return this.icaseCache;
-            
-        RangeToken uppers = this.type == Token.RANGE ? Token.createRange() : Token.createNRange();
-        for (int i = 0;  i < this.ranges.length;  i += 2) {
-            for (int ch = this.ranges[i];  ch <= this.ranges[i+1];  ch ++) {
-                if (ch > 0xffff)
-                    uppers.addRange(ch, ch);
-                else {
-                    char uch = Character.toUpperCase((char)ch);
-                    uppers.addRange(uch, uch);
-                }
-            }
-        }
-        RangeToken lowers = this.type == Token.RANGE ? Token.createRange() : Token.createNRange();
-        for (int i = 0;  i < uppers.ranges.length;  i += 2) {
-            for (int ch = uppers.ranges[i];  ch <= uppers.ranges[i+1];  ch ++) {
-                if (ch > 0xffff)
-                    lowers.addRange(ch, ch);
-                else {
-                    char uch = Character.toUpperCase((char)ch);
-                    lowers.addRange(uch, uch);
-                }
-            }
-        }
-        lowers.mergeRanges(uppers);
-        lowers.mergeRanges(this);
-        lowers.compactRanges();
-
-        this.icaseCache = lowers;
-        return lowers;
-    }
-
-    void dumpRanges() {
-        System.err.print("RANGE: ");
-        if (this.ranges == null)
-            System.err.println(" NULL");
-        for (int i = 0;  i < this.ranges.length;  i += 2) {
-            System.err.print("["+this.ranges[i]+","+this.ranges[i+1]+"] ");
-        }
-        System.err.println("");
-    }
-
-    boolean match(int ch) {
-        if (this.map == null)  this.createMap();
-        boolean ret;
-        if (this.type == RANGE) {
-            if (ch < MAPSIZE)
-                return (this.map[ch/32] & (1<<(ch&0x1f))) != 0;
-            ret = false;
-            for (int i = this.nonMapIndex;  i < this.ranges.length;  i += 2) {
-                if (this.ranges[i] <= ch && ch <= this.ranges[i+1])
-                    return true;
-            }
-        } else {
-            if (ch < MAPSIZE)
-                return (this.map[ch/32] & (1<<(ch&0x1f))) == 0;
-            ret = true;
-            for (int i = this.nonMapIndex;  i < this.ranges.length;  i += 2) {
-                if (this.ranges[i] <= ch && ch <= this.ranges[i+1])
-                    return false;
-            }
-        }
-        return ret;
-    }
-
-    private static final int MAPSIZE = 256;
-    private void createMap() {
-        int asize = MAPSIZE/32;                 // 32 is the number of bits in `int'.
-        this.map = new int[asize];
-        this.nonMapIndex = this.ranges.length;
-        for (int i = 0;  i < asize;  i ++)  this.map[i] = 0;
-        for (int i = 0;  i < this.ranges.length;  i += 2) {
-            int s = this.ranges[i];
-            int e = this.ranges[i+1];
-            if (s < MAPSIZE) {
-                for (int j = s;  j <= e && j < MAPSIZE;  j ++)
-                    this.map[j/32] |= 1<<(j&0x1f); // s&0x1f : 0-31
-            } else {
-                this.nonMapIndex = i;
-                break;
-            }
-            if (e >= MAPSIZE) {
-                this.nonMapIndex = i;
-                break;
-            }
-        }
-        //for (int i = 0;  i < asize;  i ++)  System.err.println("Map: "+Integer.toString(this.map[i], 16));
-    }
-
-    public String toString(int options) {
-        String ret;
-        if (this.type == RANGE) {
-            if (this == Token.token_dot)
-                ret = ".";
-            else if (this == Token.token_0to9)
-                ret = "\\d";
-            else if (this == Token.token_wordchars)
-                ret = "\\w";
-            else if (this == Token.token_spaces)
-                ret = "\\s";
-            else {
-                StringBuffer sb = new StringBuffer();
-                sb.append("[");
-                for (int i = 0;  i < this.ranges.length;  i += 2) {
-                    if ((options & RegularExpression.SPECIAL_COMMA) != 0 && i > 0)  sb.append(",");
-                    if (this.ranges[i] == this.ranges[i+1]) {
-                        sb.append(escapeCharInCharClass(this.ranges[i]));
-                    } else {
-                        sb.append(escapeCharInCharClass(this.ranges[i]));
-                        sb.append((char)'-');
-                        sb.append(escapeCharInCharClass(this.ranges[i+1]));
-                    }
-                }
-                sb.append("]");
-                ret = sb.toString();
-            }
-        } else {
-            if (this == Token.token_not_0to9)
-                ret = "\\D";
-            else if (this == Token.token_not_wordchars)
-                ret = "\\W";
-            else if (this == Token.token_not_spaces)
-                ret = "\\S";
-            else {
-                StringBuffer sb = new StringBuffer();
-                sb.append("[^");
-                for (int i = 0;  i < this.ranges.length;  i += 2) {
-                    if ((options & RegularExpression.SPECIAL_COMMA) != 0 && i > 0)  sb.append(",");
-                    if (this.ranges[i] == this.ranges[i+1]) {
-                        sb.append(escapeCharInCharClass(this.ranges[i]));
-                    } else {
-                        sb.append(escapeCharInCharClass(this.ranges[i]));
-                        sb.append('-');
-                        sb.append(escapeCharInCharClass(this.ranges[i+1]));
-                    }
-                }
-                sb.append("]");
-                ret = sb.toString();
-            }
-        }
-        return ret;
-    }
-
-    private static String escapeCharInCharClass(int ch) {
-        String ret;
-        switch (ch) {
-          case '[':  case ']':  case '-':  case '^':
-          case ',':  case '\\':
-            ret = "\\"+(char)ch;
-            break;
-          case '\f':  ret = "\\f";  break;
-          case '\n':  ret = "\\n";  break;
-          case '\r':  ret = "\\r";  break;
-          case '\t':  ret = "\\t";  break;
-          case 0x1b:  ret = "\\e";  break;
-          //case 0x0b:  ret = "\\v";  break;
-          default:
-            if (ch < 0x20) {
-                String pre = "0"+Integer.toHexString(ch);
-                ret = "\\x"+pre.substring(pre.length()-2, pre.length());
-            } else if (ch >= 0x10000) {
-                String pre = "0"+Integer.toHexString(ch);
-                ret = "\\v"+pre.substring(pre.length()-6, pre.length());
-            } else
-                ret = ""+(char)ch;
-        }
-        return ret;
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegexParser.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegexParser.java
deleted file mode 100644
index a2716de..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegexParser.java
+++ /dev/null
@@ -1,1092 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.util.Locale;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-import java.util.Vector;
-
-/**
- * A Regular Expression Parser.
- */
-class RegexParser {
-    static final int T_CHAR = 0;
-    static final int T_EOF = 1;
-    static final int T_OR = 2;                  // '|'
-    static final int T_STAR = 3;                // '*'
-    static final int T_PLUS = 4;                // '+'
-    static final int T_QUESTION = 5;            // '?'
-    static final int T_LPAREN = 6;              // '('
-    static final int T_RPAREN = 7;              // ')'
-    static final int T_DOT = 8;                 // '.'
-    static final int T_LBRACKET = 9;            // '['
-    static final int T_BACKSOLIDUS = 10;        // '\'
-    static final int T_CARET = 11;              // '^'
-    static final int T_DOLLAR = 12;             // '$'
-    static final int T_LPAREN2 = 13;            // '(?:'
-    static final int T_LOOKAHEAD = 14;          // '(?='
-    static final int T_NEGATIVELOOKAHEAD = 15;  // '(?!'
-    static final int T_LOOKBEHIND = 16;         // '(?<='
-    static final int T_NEGATIVELOOKBEHIND = 17; // '(?<!'
-    static final int T_INDEPENDENT = 18;        // '(?>'
-    static final int T_SET_OPERATIONS = 19;     // '(?['
-    static final int T_POSIX_CHARCLASS_START = 20; // '[:' in a character class
-    static final int T_COMMENT = 21;            // '(?#'
-    static final int T_MODIFIERS = 22;          // '(?' [\-,a-z,A-Z]
-    static final int T_CONDITION = 23;          // '(?('
-    static final int T_XMLSCHEMA_CC_SUBTRACTION = 24; // '-[' in a character class
-
-    static class ReferencePosition {
-        int refNumber;
-        int position;
-        ReferencePosition(int n, int pos) {
-            this.refNumber = n;
-            this.position = pos;
-        }
-    }
-
-    int offset;
-    String regex;
-    int regexlen;
-    int options;
-    ResourceBundle resources;
-    int chardata;
-    int nexttoken;
-    static protected final int S_NORMAL = 0;
-    static protected final int S_INBRACKETS = 1;
-    static protected final int S_INXBRACKETS = 2;
-    int context = S_NORMAL;
-    int parennumber = 1;
-    boolean hasBackReferences;
-    Vector references = null;
-
-    public RegexParser() {
-        this.setLocale(Locale.getDefault());
-    }
-    public RegexParser(Locale locale) {
-        this.setLocale(locale);
-    }
-
-    public void setLocale(Locale locale) {
-        try {
-            this.resources = ResourceBundle.getBundle("org.apache.xmlbeans.impl.regex.message", locale);
-        } catch (MissingResourceException mre) {
-            throw new RuntimeException("Installation Problem???  Couldn't load messages: "
-                                       +mre.getMessage());
-        }
-    }
-
-    final ParseException ex(String key, int loc) {
-        return new ParseException(this.resources.getString(key), loc);
-    }
-
-    private final boolean isSet(int flag) {
-        return (this.options & flag) == flag;
-    }
-
-    synchronized Token parse(String regex, int options) throws ParseException {
-        this.options = options;
-        this.offset = 0;
-        this.setContext(S_NORMAL);
-        this.parennumber = 1;
-        this.hasBackReferences = false;
-        this.regex = regex;
-        if (this.isSet(RegularExpression.EXTENDED_COMMENT))
-            this.regex = REUtil.stripExtendedComment(this.regex);
-        this.regexlen = this.regex.length();
-
-
-        this.next();
-        Token ret = this.parseRegex();
-        if (this.offset != this.regexlen)
-            throw ex("parser.parse.1", this.offset);
-        if (this.references != null) {
-            for (int i = 0;  i < this.references.size();  i ++) {
-                ReferencePosition position = (ReferencePosition)this.references.elementAt(i);
-                if (this.parennumber <= position.refNumber)
-                    throw ex("parser.parse.2", position.position);
-            }
-            this.references.removeAllElements();
-        }
-        return ret;
-    }
-
-    /*
-    public RegularExpression createRegex(String regex, int options) throws ParseException {
-        Token tok = this.parse(regex, options);
-        return new RegularExpression(regex, tok, this.parennumber, this.hasBackReferences, options);
-    }
-    */
-
-    protected final void setContext(int con) {
-        this.context = con;
-    }
-
-    final int read() {
-        return this.nexttoken;
-    }
-
-    final void next() {
-        if (this.offset >= this.regexlen) {
-            this.chardata = -1;
-            this.nexttoken = T_EOF;
-            return;
-        }
-
-        int ret;
-        int ch = this.regex.charAt(this.offset++);
-        this.chardata = ch;
-
-        if (this.context == S_INBRACKETS) {
-            // In a character class, this.chardata has one character, that is to say,
-            // a pair of surrogates is composed and stored to this.chardata.
-            switch (ch) {
-              case '\\':
-                ret = T_BACKSOLIDUS;
-                if (this.offset >= this.regexlen)
-                    throw ex("parser.next.1", this.offset-1);
-                this.chardata = this.regex.charAt(this.offset++);
-                break;
-
-              case '-':
-                if (this.isSet(RegularExpression.XMLSCHEMA_MODE)
-                    && this.offset < this.regexlen && this.regex.charAt(this.offset) == '[') {
-                    this.offset++;
-                    ret = T_XMLSCHEMA_CC_SUBTRACTION;
-                } else
-                    ret = T_CHAR;
-                break;
-
-              case '[':
-                if (!this.isSet(RegularExpression.XMLSCHEMA_MODE)
-                    && this.offset < this.regexlen && this.regex.charAt(this.offset) == ':') {
-                    this.offset++;
-                    ret = T_POSIX_CHARCLASS_START;
-                    break;
-                } // Through down
-              default:
-                if (REUtil.isHighSurrogate(ch) && this.offset < this.regexlen) {
-                    int low = this.regex.charAt(this.offset);
-                    if (REUtil.isLowSurrogate(low)) {
-                        this.chardata = REUtil.composeFromSurrogates(ch, low);
-                        this.offset ++;
-                    }
-                }
-                ret = T_CHAR;
-            }
-            this.nexttoken = ret;
-            return;
-        }
-
-        switch (ch) {
-          case '|': ret = T_OR;             break;
-          case '*': ret = T_STAR;           break;
-          case '+': ret = T_PLUS;           break;
-          case '?': ret = T_QUESTION;       break;
-          case ')': ret = T_RPAREN;         break;
-          case '.': ret = T_DOT;            break;
-          case '[': ret = T_LBRACKET;       break;
-          case '^': ret = T_CARET;          break;
-          case '$': ret = T_DOLLAR;         break;
-          case '(':
-            ret = T_LPAREN;
-            if (this.offset >= this.regexlen)
-                break;
-            if (this.regex.charAt(this.offset) != '?')
-                break;
-            if (++this.offset >= this.regexlen)
-                throw ex("parser.next.2", this.offset-1);
-            ch = this.regex.charAt(this.offset++);
-            switch (ch) {
-              case ':':  ret = T_LPAREN2;            break;
-              case '=':  ret = T_LOOKAHEAD;          break;
-              case '!':  ret = T_NEGATIVELOOKAHEAD;  break;
-              case '[':  ret = T_SET_OPERATIONS;     break;
-              case '>':  ret = T_INDEPENDENT;        break;
-              case '<':
-                if (this.offset >= this.regexlen)
-                    throw ex("parser.next.2", this.offset-3);
-                ch = this.regex.charAt(this.offset++);
-                if (ch == '=') {
-                    ret = T_LOOKBEHIND;
-                } else if (ch == '!') {
-                    ret = T_NEGATIVELOOKBEHIND;
-                } else
-                    throw ex("parser.next.3", this.offset-3);
-                break;
-              case '#':
-                while (this.offset < this.regexlen) {
-                    ch = this.regex.charAt(this.offset++);
-                    if (ch == ')')  break;
-                }
-                if (ch != ')')
-                    throw ex("parser.next.4", this.offset-1);
-                ret = T_COMMENT;
-                break;
-              default:
-                if (ch == '-' || 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z') {// Options
-                    this.offset --;
-                    ret = T_MODIFIERS;
-                    break;
-                } else if (ch == '(') {         // conditional
-                    ret = T_CONDITION;          // this.offsets points the next of '('.
-                    break;
-                }
-                throw ex("parser.next.2", this.offset-2);
-            }
-            break;
-            
-          case '\\':
-            ret = T_BACKSOLIDUS;
-            if (this.offset >= this.regexlen)
-                throw ex("parser.next.1", this.offset-1);
-            this.chardata = this.regex.charAt(this.offset++);
-            break;
-
-          default:
-            ret = T_CHAR;
-        }
-        this.nexttoken = ret;
-    }
-
-    /**
-     * regex ::= term (`|` term)*
-     * term ::= factor+
-     * factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>'
-     *            | atom (('*' | '+' | '?' | minmax ) '?'? )?)
-     *            | '(?=' regex ')'  | '(?!' regex ')'  | '(?&lt;=' regex ')'  | '(?&lt;!' regex ')'
-     * atom ::= char | '.' | range | '(' regex ')' | '(?:' regex ')' | '\' [0-9]
-     *          | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block 
-     */
-    Token parseRegex() throws ParseException {
-        Token tok = this.parseTerm();
-        Token parent = null;
-        while (this.read() == T_OR) {
-            this.next();                    // '|'
-            if (parent == null) {
-                parent = Token.createUnion();
-                parent.addChild(tok);
-                tok = parent;
-            }
-            tok.addChild(this.parseTerm());
-        }
-        return tok;
-    }
-
-    /**
-     * term ::= factor+
-     */
-    Token parseTerm() throws ParseException {
-        int ch = this.read();
-        if (ch == T_OR || ch == T_RPAREN || ch == T_EOF) {
-            return Token.createEmpty();
-        } else {
-            Token tok = this.parseFactor();
-            Token concat = null;
-            while ((ch = this.read()) != T_OR && ch != T_RPAREN && ch != T_EOF) {
-                if (concat == null) {
-                    concat = Token.createConcat();
-                    concat.addChild(tok);
-                    tok = concat;
-                }
-                concat.addChild(this.parseFactor());
-                //tok = Token.createConcat(tok, this.parseFactor());
-            }
-            return tok;
-        }
-    }
-
-    // ----------------------------------------------------------------
-
-    Token processCaret() throws ParseException {
-        this.next();
-        return Token.token_linebeginning;
-    }
-    Token processDollar() throws ParseException {
-        this.next();
-        return Token.token_lineend;
-    }
-    Token processLookahead() throws ParseException {
-        this.next();
-        Token tok = Token.createLook(Token.LOOKAHEAD, this.parseRegex());
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // ')'
-        return tok;
-    }
-    Token processNegativelookahead() throws ParseException {
-        this.next();
-        Token tok = Token.createLook(Token.NEGATIVELOOKAHEAD, this.parseRegex());
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // ')'
-        return tok;
-    }
-    Token processLookbehind() throws ParseException {
-        this.next();
-        Token tok = Token.createLook(Token.LOOKBEHIND, this.parseRegex());
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // ')'
-        return tok;
-    }
-    Token processNegativelookbehind() throws ParseException {
-        this.next();
-        Token tok = Token.createLook(Token.NEGATIVELOOKBEHIND, this.parseRegex());
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                    // ')'
-        return tok;
-    }
-    Token processBacksolidus_A() throws ParseException {
-        this.next();
-        return Token.token_stringbeginning;
-    }
-    Token processBacksolidus_Z() throws ParseException {
-        this.next();
-        return Token.token_stringend2;
-    }
-    Token processBacksolidus_z() throws ParseException {
-        this.next();
-        return Token.token_stringend;
-    }
-    Token processBacksolidus_b() throws ParseException {
-        this.next();
-        return Token.token_wordedge;
-    }
-    Token processBacksolidus_B() throws ParseException {
-        this.next();
-        return Token.token_not_wordedge;
-    }
-    Token processBacksolidus_lt() throws ParseException {
-        this.next();
-        return Token.token_wordbeginning;
-    }
-    Token processBacksolidus_gt() throws ParseException {
-        this.next();
-        return Token.token_wordend;
-    }
-    Token processStar(Token tok) throws ParseException {
-        this.next();
-        if (this.read() == T_QUESTION) {
-            this.next();
-            return Token.createNGClosure(tok);
-        } else
-            return Token.createClosure(tok);
-    }
-    Token processPlus(Token tok) throws ParseException {
-        // X+ -> XX*
-        this.next();
-        if (this.read() == T_QUESTION) {
-            this.next();
-            return Token.createConcat(tok, Token.createNGClosure(tok));
-        } else
-            return Token.createConcat(tok, Token.createClosure(tok));
-    }
-    Token processQuestion(Token tok) throws ParseException {
-        // X? -> X|
-        this.next();
-        Token par = Token.createUnion();
-        if (this.read() == T_QUESTION) {
-            this.next();
-            par.addChild(Token.createEmpty());
-            par.addChild(tok);
-        } else {
-            par.addChild(tok);
-            par.addChild(Token.createEmpty());
-        }
-        return par;
-    }
-    boolean checkQuestion(int off) {
-        return off < this.regexlen && this.regex.charAt(off) == '?';
-    }
-    Token processParen() throws ParseException {
-        this.next();
-        int p = this.parennumber++;
-        Token tok = Token.createParen(this.parseRegex(), p);
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // Skips ')'
-        return tok;
-    }
-    Token processParen2() throws ParseException {
-        this.next();
-        Token tok = Token.createParen(this.parseRegex(), 0);
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // Skips ')'
-        return tok;
-    }
-    Token processCondition() throws ParseException {
-                                                // this.offset points the next of '('
-        if (this.offset+1 >= this.regexlen)  throw ex("parser.factor.4", this.offset);
-                                                // Parses a condition.
-        int refno = -1;
-        Token condition = null;
-        int ch = this.regex.charAt(this.offset);
-        if ('1' <= ch && ch <= '9') {
-            refno = ch-'0';
-            this.hasBackReferences = true;
-            if (this.references == null)  this.references = new Vector();
-            this.references.addElement(new ReferencePosition(refno, this.offset));
-            this.offset ++;
-            if (this.regex.charAt(this.offset) != ')')  throw ex("parser.factor.1", this.offset);
-            this.offset ++;
-        } else {
-            if (ch == '?')  this.offset --; // Points '('.
-            this.next();
-            condition = this.parseFactor();
-            switch (condition.type) {
-              case Token.LOOKAHEAD:
-              case Token.NEGATIVELOOKAHEAD:
-              case Token.LOOKBEHIND:
-              case Token.NEGATIVELOOKBEHIND:
-                break;
-              case Token.ANCHOR:
-                if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-                break;
-              default:
-                throw ex("parser.factor.5", this.offset);
-            }
-        }
-                                                // Parses yes/no-patterns.
-        this.next();
-        Token yesPattern = this.parseRegex();
-        Token noPattern = null;
-        if (yesPattern.type == Token.UNION) {
-            if (yesPattern.size() != 2)  throw ex("parser.factor.6", this.offset);
-            noPattern = yesPattern.getChild(1);
-            yesPattern = yesPattern.getChild(0);
-        }
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();
-        return Token.createCondition(refno, condition, yesPattern, noPattern);
-    }
-    Token processModifiers() throws ParseException {
-                                                // this.offset points the next of '?'.
-                                                // modifiers ::= [imsw]* ('-' [imsw]*)? ':'
-        int add = 0, mask = 0, ch = -1;
-        while (this.offset < this.regexlen) {
-            ch = this.regex.charAt(this.offset);
-            int v = REUtil.getOptionValue(ch);
-            if (v == 0)  break;                 // '-' or ':'?
-            add |= v;
-            this.offset ++;
-        }
-        if (this.offset >= this.regexlen)  throw ex("parser.factor.2", this.offset-1);
-        if (ch == '-') {
-            this.offset ++;
-            while (this.offset < this.regexlen) {
-                ch = this.regex.charAt(this.offset);
-                int v = REUtil.getOptionValue(ch);
-                if (v == 0)  break;             // ':'?
-                mask |= v;
-                this.offset ++;
-            }
-            if (this.offset >= this.regexlen)  throw ex("parser.factor.2", this.offset-1);
-        }
-        Token tok;
-        if (ch == ':') {
-            this.offset ++;
-            this.next();
-            tok = Token.createModifierGroup(this.parseRegex(), add, mask);
-            if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-            this.next();
-        } else if (ch == ')') {                 // such as (?-i)
-            this.offset ++;
-            this.next();
-            tok = Token.createModifierGroup(this.parseRegex(), add, mask);
-        } else
-            throw ex("parser.factor.3", this.offset);
-
-        return tok;
-    }
-    Token processIndependent() throws ParseException {
-        this.next();
-        Token tok = Token.createLook(Token.INDEPENDENT, this.parseRegex());
-        if (this.read() != T_RPAREN)  throw ex("parser.factor.1", this.offset-1);
-        this.next();                            // Skips ')'
-        return tok;
-    }
-    Token processBacksolidus_c() throws ParseException {
-        int ch2;                                // Must be in 0x0040-0x005f
-        if (this.offset >= this.regexlen
-            || ((ch2 = this.regex.charAt(this.offset++)) & 0xffe0) != 0x0040)
-            throw ex("parser.atom.1", this.offset-1);
-        this.next();
-        return Token.createChar(ch2-0x40);
-    }
-    Token processBacksolidus_C() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_i() throws ParseException {
-        Token tok = Token.createChar('i');
-        this.next();
-        return tok;
-    }
-    Token processBacksolidus_I() throws ParseException {
-        throw ex("parser.process.1", this.offset);
-    }
-    Token processBacksolidus_g() throws ParseException {
-        this.next();
-        return Token.getGraphemePattern();
-    }
-    Token processBacksolidus_X() throws ParseException {
-        this.next();
-        return Token.getCombiningCharacterSequence();
-    }
-    Token processBackreference() throws ParseException {
-        int refnum = this.chardata-'0';
-        Token tok = Token.createBackReference(refnum);
-        this.hasBackReferences = true;
-        if (this.references == null)  this.references = new Vector();
-        this.references.addElement(new ReferencePosition(refnum, this.offset-2));
-        this.next();
-        return tok;
-    }
-
-    // ----------------------------------------------------------------
-
-    /**
-     * factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>'
-     *            | atom (('*' | '+' | '?' | minmax ) '?'? )?)
-     *            | '(?=' regex ')'  | '(?!' regex ')'  | '(?&lt;=' regex ')'  | '(?&lt;!' regex ')'
-     *            | '(?#' [^)]* ')'
-     * minmax ::= '{' min (',' max?)? '}'
-     * min ::= [0-9]+
-     * max ::= [0-9]+
-     */
-    Token parseFactor() throws ParseException {        
-        int ch = this.read();
-        Token tok;
-        switch (ch) {
-          case T_CARET:         return this.processCaret();
-          case T_DOLLAR:        return this.processDollar();
-          case T_LOOKAHEAD:     return this.processLookahead();
-          case T_NEGATIVELOOKAHEAD: return this.processNegativelookahead();
-          case T_LOOKBEHIND:    return this.processLookbehind();
-          case T_NEGATIVELOOKBEHIND: return this.processNegativelookbehind();
-
-          case T_COMMENT:
-            this.next();
-            return Token.createEmpty();
-
-          case T_BACKSOLIDUS:
-            switch (this.chardata) {
-              case 'A': return this.processBacksolidus_A();
-              case 'Z': return this.processBacksolidus_Z();
-              case 'z': return this.processBacksolidus_z();
-              case 'b': return this.processBacksolidus_b();
-              case 'B': return this.processBacksolidus_B();
-              case '<': return this.processBacksolidus_lt();
-              case '>': return this.processBacksolidus_gt();
-            }
-                                                // through down
-        }
-        tok = this.parseAtom();
-        ch = this.read();
-        switch (ch) {
-          case T_STAR:  return this.processStar(tok);
-          case T_PLUS:  return this.processPlus(tok);
-          case T_QUESTION: return this.processQuestion(tok);
-          case T_CHAR:
-            if (this.chardata == '{') {
-                                                // this.offset -> next of '{'
-                int off = this.offset;
-                int min = 0, max = -1;
-                if (off >= this.regexlen)  break;
-                ch = this.regex.charAt(off++);
-                if (ch != ',' && (ch < '0' || ch > '9'))  break;
-                if (ch != ',') {                // 0-9
-                    min = ch-'0';
-                    while (off < this.regexlen
-                           && (ch = this.regex.charAt(off++)) >= '0' && ch <= '9') {
-                        min = min*10 +ch-'0';
-                        ch = -1;
-                    }
-                    if (ch < 0)  break;
-                }
-                //if (off >= this.regexlen)  break;
-                max = min;
-                if (ch == ',') {
-                    if (off >= this.regexlen
-                        || ((ch = this.regex.charAt(off++)) < '0' || ch > '9')
-                        && ch != '}')
-                        break;
-                    if (ch == '}') {
-                        max = -1;           // {min,}
-                    } else {
-                        max = ch-'0';       // {min,max}
-                        while (off < this.regexlen
-                               && (ch = this.regex.charAt(off++)) >= '0'
-                               && ch <= '9') {
-                            max = max*10 +ch-'0';
-                            ch = -1;
-                        }
-                        if (ch < 0)  break;
-                        //if (min > max)
-                        //    throw new ParseException("parseFactor(): min > max: "+min+", "+max);
-                    }
-                }
-                if (ch != '}')  break;
-                                                // off -> next of '}'
-                if (this.checkQuestion(off)) {
-                    tok = Token.createNGClosure(tok);
-                    this.offset = off+1;
-                } else {
-                    tok = Token.createClosure(tok);
-                    this.offset = off;
-                }
-                tok.setMin(min);
-                tok.setMax(max);
-                //System.err.println("CLOSURE: "+min+", "+max);
-                this.next();
-            }
-        }
-        return tok;
-    }
-
-    /**
-     * atom ::= char | '.' | char-class | '(' regex ')' | '(?:' regex ')' | '\' [0-9]
-     *          | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block
-     *          | '(?>' regex ')'
-     * char ::= '\\' | '\' [efnrt] | bmp-code | character-1
-     */
-    Token parseAtom() throws ParseException {
-        int ch = this.read();
-        Token tok = null;
-        switch (ch) {
-          case T_LPAREN:        return this.processParen();
-          case T_LPAREN2:       return this.processParen2(); // '(?:'
-          case T_CONDITION:     return this.processCondition(); // '(?('
-          case T_MODIFIERS:     return this.processModifiers(); // (?modifiers ... )
-          case T_INDEPENDENT:   return this.processIndependent();
-          case T_DOT:
-            this.next();                    // Skips '.'
-            tok = Token.token_dot;
-            break;
-
-            /**
-             * char-class ::= '[' ( '^'? range ','?)+ ']'
-             * range ::= '\d' | '\w' | '\s' | category-block | range-char
-             *           | range-char '-' range-char
-             * range-char ::= '\[' | '\]' | '\\' | '\' [,-efnrtv] | bmp-code | character-2
-             * bmp-char ::= '\' 'u' [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]
-             */
-          case T_LBRACKET:      return this.parseCharacterClass(true);
-          case T_SET_OPERATIONS: return this.parseSetOperations();
-
-          case T_BACKSOLIDUS:
-            switch (this.chardata) {
-              case 'd':  case 'D':
-              case 'w':  case 'W':
-              case 's':  case 'S':
-                tok = this.getTokenForShorthand(this.chardata);
-                this.next();
-                return tok;
-
-              case 'e':  case 'f':  case 'n':  case 'r':
-              case 't':  case 'u':  case 'v':  case 'x':
-                {
-                    int ch2 = this.decodeEscaped();
-                    if (ch2 < 0x10000) {
-                        tok = Token.createChar(ch2);
-                    } else {
-                        tok = Token.createString(REUtil.decomposeToSurrogates(ch2));
-                    }
-                }
-                break;
-
-              case 'c': return this.processBacksolidus_c();
-              case 'C': return this.processBacksolidus_C();
-              case 'i': return this.processBacksolidus_i();
-              case 'I': return this.processBacksolidus_I();
-              case 'g': return this.processBacksolidus_g();
-              case 'X': return this.processBacksolidus_X();
-              case '1':  case '2':  case '3':  case '4':
-              case '5':  case '6':  case '7':  case '8':  case '9':
-                return this.processBackreference();
-
-              case 'P':
-              case 'p':
-                int pstart = this.offset;
-                tok = processBacksolidus_pP(this.chardata);
-                if (tok == null)  throw this.ex("parser.atom.5", pstart);
-                break;
-
-              default:
-                tok = Token.createChar(this.chardata);
-            }
-            this.next();
-            break;
-
-          case T_CHAR:
-            tok = Token.createChar(this.chardata);
-            int high = this.chardata;
-            this.next();
-            if (REUtil.isHighSurrogate(high)
-                && this.read() == T_CHAR && REUtil.isLowSurrogate(this.chardata)) {
-                char[] sur = new char[2];
-                sur[0] = (char)high;
-                sur[1] = (char)this.chardata;
-                tok = Token.createParen(Token.createString(new String(sur)), 0);
-                this.next();
-            }
-            break;
-
-          default:
-            throw this.ex("parser.atom.4", this.offset-1);
-        }
-        return tok;
-    }
-
-    protected RangeToken processBacksolidus_pP(int c) throws ParseException {
-        boolean positive = c == 'p';
-        this.next();
-        if (this.read() != T_CHAR)  throw this.ex("parser.atom.2", this.offset-1);
-        RangeToken tok;
-        switch (this.chardata) {
-          case 'L':                             // Letter
-            tok = Token.getRange("L", positive);  break;
-          case 'M':                             // Mark
-            tok = Token.getRange("M", positive);  break;
-          case 'N':                             // Number
-            tok = Token.getRange("N", positive);  break;
-          case 'Z':                             // Separator
-            tok = Token.getRange("Z", positive);  break;
-          case 'C':                             // Other
-            tok = Token.getRange("C", positive);  break;
-          case 'P':                             // Punctuation
-            tok = Token.getRange("P", positive);  break;
-          case 'S':                             // Symbol
-            tok = Token.getRange("S", positive);  break;
-          case '{':
-            // this.offset points the next of '{'.
-            //pstart = this.offset;
-            int namestart = this.offset;
-            int nameend = this.regex.indexOf('}', namestart);
-            if (nameend < 0)  throw this.ex("parser.atom.3", this.offset);
-            String pname = this.regex.substring(namestart, nameend);
-            this.offset = nameend+1;
-            tok = Token.getRange(pname, positive,
-                                 this.isSet(RegularExpression.XMLSCHEMA_MODE));
-            /*
-              if (this.isSet(RegularExpression.IGNORE_CASE))
-              tok = RangeToken.createCaseInsensitiveToken(tok);
-            */
-            break;
-
-          default:
-            throw this.ex("parser.atom.2", this.offset-1);
-        }
-        return tok;
-    }
-
-    int processCIinCharacterClass(RangeToken tok, int c) {
-        return this.decodeEscaped();
-    }
-
-    /**
-     * char-class ::= '[' ( '^'? range ','?)+ ']'
-     * range ::= '\d' | '\w' | '\s' | category-block | range-char
-     *           | range-char '-' range-char
-     * range-char ::= '\[' | '\]' | '\\' | '\' [,-efnrtv] | bmp-code | character-2
-     * bmp-code ::= '\' 'u' [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]
-     */
-    protected RangeToken parseCharacterClass(boolean useNrange) throws ParseException {
-        this.setContext(S_INBRACKETS);
-        this.next();                            // '['
-        boolean nrange = false;
-        RangeToken base = null;
-        RangeToken tok;
-        if (this.read() == T_CHAR && this.chardata == '^') {
-            nrange = true;
-            this.next();                        // '^'
-            if (useNrange) {
-                tok = Token.createNRange();
-            } else {
-                base = Token.createRange();
-                base.addRange(0, Token.UTF16_MAX);
-                tok = Token.createRange();
-            }
-        } else {
-            tok = Token.createRange();
-        }
-        int type;
-        boolean firstloop = true;
-        while ((type = this.read()) != T_EOF) {
-            if (type == T_CHAR && this.chardata == ']' && !firstloop)
-                break;
-            firstloop = false;
-            int c = this.chardata;
-            boolean end = false;
-            if (type == T_BACKSOLIDUS) {
-                switch (c) {
-                  case 'd':  case 'D':
-                  case 'w':  case 'W':
-                  case 's':  case 'S':
-                    tok.mergeRanges(this.getTokenForShorthand(c));
-                    end = true;
-                    break;
-
-                  case 'i':  case 'I':
-                  case 'c':  case 'C':
-                    c = this.processCIinCharacterClass(tok, c);
-                    if (c < 0)  end = true;
-                    break;
-                    
-                  case 'p':
-                  case 'P':
-                    int pstart = this.offset;
-                    RangeToken tok2 = this.processBacksolidus_pP(c);
-                    if (tok2 == null)  throw this.ex("parser.atom.5", pstart);
-                    tok.mergeRanges(tok2);
-                    end = true;
-                    break;
-
-                  default:
-                    c = this.decodeEscaped();
-                } // \ + c
-            } // backsolidus
-                                                // POSIX Character class such as [:alnum:]
-            else if (type == T_POSIX_CHARCLASS_START) {
-                int nameend = this.regex.indexOf(':', this.offset);
-                if (nameend < 0) throw this.ex("parser.cc.1", this.offset);
-                boolean positive = true;
-                if (this.regex.charAt(this.offset) == '^') {
-                    this.offset ++;
-                    positive = false;
-                }
-                String name = this.regex.substring(this.offset, nameend);
-                RangeToken range = Token.getRange(name, positive,
-                                                  this.isSet(RegularExpression.XMLSCHEMA_MODE));
-                if (range == null)  throw this.ex("parser.cc.3", this.offset);
-                tok.mergeRanges(range);
-                end = true;
-                if (nameend+1 >= this.regexlen || this.regex.charAt(nameend+1) != ']')
-                    throw this.ex("parser.cc.1", nameend);
-                this.offset = nameend+2;
-            }
-            this.next();
-            if (!end) {                         // if not shorthands...
-                if (this.read() != T_CHAR || this.chardata != '-') { // Here is no '-'.
-                    tok.addRange(c, c);
-                } else {
-                    this.next(); // Skips '-'
-                    if ((type = this.read()) == T_EOF)  throw this.ex("parser.cc.2", this.offset);
-                    if (type == T_CHAR && this.chardata == ']') {
-                        tok.addRange(c, c);
-                        tok.addRange('-', '-');
-                    } else {
-                        int rangeend = this.chardata;
-                        if (type == T_BACKSOLIDUS)
-                            rangeend = this.decodeEscaped();
-                        this.next();
-                        tok.addRange(c, rangeend);
-                    }
-                }
-            }
-            if (this.isSet(RegularExpression.SPECIAL_COMMA)
-                && this.read() == T_CHAR && this.chardata == ',')
-                this.next();
-        }
-        if (this.read() == T_EOF)
-            throw this.ex("parser.cc.2", this.offset);
-        if (!useNrange && nrange) {
-            base.subtractRanges(tok);
-            tok = base;
-        }
-        tok.sortRanges();
-        tok.compactRanges();
-        //tok.dumpRanges();
-        /*
-        if (this.isSet(RegularExpression.IGNORE_CASE))
-            tok = RangeToken.createCaseInsensitiveToken(tok);
-        */
-        this.setContext(S_NORMAL);
-        this.next();                    // Skips ']'
-
-        return tok;
-    }
-
-    /**
-     * '(?[' ... ']' (('-' | '+' | '&') '[' ... ']')? ')'
-     */
-    protected RangeToken parseSetOperations() throws ParseException {
-        RangeToken tok = this.parseCharacterClass(false);
-        int type;
-        while ((type = this.read()) != T_RPAREN) {
-            int ch = this.chardata;
-            if (type == T_CHAR && (ch == '-' || ch == '&')
-                || type == T_PLUS) {
-                this.next();
-                if (this.read() != T_LBRACKET) throw ex("parser.ope.1", this.offset-1);
-                RangeToken t2 = this.parseCharacterClass(false);
-                if (type == T_PLUS)
-                    tok.mergeRanges(t2);
-                else if (ch == '-')
-                    tok.subtractRanges(t2);
-                else if (ch == '&')
-                    tok.intersectRanges(t2);
-                else
-                    throw new RuntimeException("ASSERT");
-            } else {
-                throw ex("parser.ope.2", this.offset-1);
-            }
-        }
-        this.next();
-        return tok;
-    }
-
-    Token getTokenForShorthand(int ch) {
-        Token tok;
-        switch (ch) {
-          case 'd':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("Nd", true) : Token.token_0to9;
-            break;
-          case 'D':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("Nd", false) : Token.token_not_0to9;
-            break;
-          case 'w':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("IsWord", true) : Token.token_wordchars;
-            break;
-          case 'W':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("IsWord", false) : Token.token_not_wordchars;
-            break;
-          case 's':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("IsSpace", true) : Token.token_spaces;
-            break;
-          case 'S':
-            tok = this.isSet(RegularExpression.USE_UNICODE_CATEGORY)
-                ? Token.getRange("IsSpace", false) : Token.token_not_spaces;
-            break;
-
-          default:
-            throw new RuntimeException("Internal Error: shorthands: \\u"+Integer.toString(ch, 16));
-        }
-        return tok;
-    }
-
-    /**
-     */
-    int decodeEscaped() throws ParseException {
-        if (this.read() != T_BACKSOLIDUS)  throw ex("parser.next.1", this.offset-1);
-        int c = this.chardata;
-        switch (c) {
-          case 'e':  c = 0x1b;  break; // ESCAPE U+001B
-          case 'f':  c = '\f';  break; // FORM FEED U+000C
-          case 'n':  c = '\n';  break; // LINE FEED U+000A
-          case 'r':  c = '\r';  break; // CRRIAGE RETURN U+000D
-          case 't':  c = '\t';  break; // HORIZONTAL TABULATION U+0009
-          //case 'v':  c = 0x0b;  break; // VERTICAL TABULATION U+000B
-          case 'x':
-            this.next();
-            if (this.read() != T_CHAR)  throw ex("parser.descape.1", this.offset-1);
-            if (this.chardata == '{') {
-                int v1 = 0;
-                int uv = 0;
-                do {
-                    this.next();
-                    if (this.read() != T_CHAR)  throw ex("parser.descape.1", this.offset-1);
-                    if ((v1 = hexChar(this.chardata)) < 0)
-                        break;
-                    if (uv > uv*16) throw ex("parser.descape.2", this.offset-1);
-                    uv = uv*16+v1;
-                } while (true);
-                if (this.chardata != '}')  throw ex("parser.descape.3", this.offset-1);
-                if (uv > Token.UTF16_MAX)  throw ex("parser.descape.4", this.offset-1);
-                c = uv;
-            } else {
-                int v1 = 0;
-                if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                    throw ex("parser.descape.1", this.offset-1);
-                int uv = v1;
-                this.next();
-                if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                    throw ex("parser.descape.1", this.offset-1);
-                uv = uv*16+v1;
-                c = uv;
-            }
-            break;
-
-          case 'u':
-            int v1 = 0;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            int uv = v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            c = uv;
-            break;
-
-          case 'v':
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            this.next();
-            if (this.read() != T_CHAR || (v1 = hexChar(this.chardata)) < 0)
-                throw ex("parser.descape.1", this.offset-1);
-            uv = uv*16+v1;
-            if (uv > Token.UTF16_MAX)  throw ex("parser.descappe.4", this.offset-1);
-            c = uv;
-            break;
-          case 'A':
-          case 'Z':
-          case 'z':
-            throw ex("parser.descape.5", this.offset-2);
-          default:
-        }
-        return c;
-    }
-
-    static private final int hexChar(int ch) {
-        if (ch < '0')  return -1;
-        if (ch > 'f')  return -1;
-        if (ch <= '9')  return ch-'0';
-        if (ch < 'A')  return -1;
-        if (ch <= 'F')  return ch-'A'+10;
-        if (ch < 'a')  return -1;
-        return ch-'a'+10;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegularExpression.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegularExpression.java
deleted file mode 100644
index 146f1d7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/RegularExpression.java
+++ /dev/null
@@ -1,3147 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.text.CharacterIterator;
-
-/**
- * A regular expression matching engine using Non-deterministic Finite Automaton (NFA).
- * This engine does not conform to the POSIX regular expression.
- *
- * <hr width="50%">
- * <h3>How to use</h3>
- *
- * <dl>
- *   <dt>A. Standard way
- *   <dd>
- * <pre>
- * RegularExpression re = new RegularExpression(<var>regex</var>);
- * if (re.matches(text)) { ... }
- * </pre>
- *
- *   <dt>B. Capturing groups
- *   <dd>
- * <pre>
- * RegularExpression re = new RegularExpression(<var>regex</var>);
- * Match match = new Match();
- * if (re.matches(text, match)) {
- *     ... // You can refer captured texts with methods of the <code>Match</code> class.
- * }
- * </pre>
- *
- * </dl>
- *
- * <h4>Case-insensitive matching</h4>
- * <pre>
- * RegularExpression re = new RegularExpression(<var>regex</var>, "i");
- * if (re.matches(text) >= 0) { ...}
- * </pre>
- *
- * <h4>Options</h4>
- * <p>You can specify options to <a href="#RegularExpression(java.lang.String, java.lang.String)"><code>RegularExpression(</code><var>regex</var><code>, </code><var>options</var><code>)</code></a>
- *    or <a href="#setPattern(java.lang.String, java.lang.String)"><code>setPattern(</code><var>regex</var><code>, </code><var>options</var><code>)</code></a>.
- *    This <var>options</var> parameter consists of the following characters.
- * </p>
- * <dl>
- *   <dt><a name="I_OPTION"><code>"i"</code></a>
- *   <dd>This option indicates case-insensitive matching.
- *   <dt><a name="M_OPTION"><code>"m"</code></a>
- *   <dd class="REGEX"><kbd>^</kbd> and <kbd>$</kbd> consider the EOL characters within the text.
- *   <dt><a name="S_OPTION"><code>"s"</code></a>
- *   <dd class="REGEX"><kbd>.</kbd> matches any one character.
- *   <dt><a name="U_OPTION"><code>"u"</code></a>
- *   <dd class="REGEX">Redefines <Kbd>\d \D \w \W \s \S \b \B \&lt; \></kbd> as becoming to Unicode.
- *   <dt><a name="W_OPTION"><code>"w"</code></a>
- *   <dd class="REGEX">By this option, <kbd>\b \B \&lt; \></kbd> are processed with the method of
- *      'Unicode Regular Expression Guidelines' Revision 4.
- *      When "w" and "u" are specified at the same time,
- *      <kbd>\b \B \&lt; \></kbd> are processed for the "w" option.
- *   <dt><a name="COMMA_OPTION"><code>","</code></a>
- *   <dd>The parser treats a comma in a character class as a range separator.
- *      <kbd class="REGEX">[a,b]</kbd> matches <kbd>a</kbd> or <kbd>,</kbd> or <kbd>b</kbd> without this option.
- *      <kbd class="REGEX">[a,b]</kbd> matches <kbd>a</kbd> or <kbd>b</kbd> with this option.
- *
- *   <dt><a name="X_OPTION"><code>"X"</code></a>
- *   <dd class="REGEX">
- *       By this option, the engine confoms to <a href="http://www.w3.org/TR/2000/WD-xmlschema-2-20000407/#regexs">XML Schema: Regular Expression</a>.
- *       The <code>match()</code> method does not do subsring matching
- *       but entire string matching.
- *
- * </dl>
- * 
- * <hr width="50%">
- * <h3>Syntax</h3>
- * <table border="1" bgcolor="#ddeeff">
- *   <tr>
- *    <td>
- *     <h4>Differences from the Perl 5 regular expression</h4>
- *     <ul>
- *      <li>There is 6-digit hexadecimal character representation  (<kbd>\u005cv</kbd><var>HHHHHH</var>.)
- *      <li>Supports subtraction, union, and intersection operations for character classes.
- *      <li>Not supported: <kbd>\</kbd><var>ooo</var> (Octal character representations),
- *          <Kbd>\G</kbd>, <kbd>\C</kbd>, <kbd>\l</kbd><var>c</var>,
- *          <kbd>\u005c u</kbd><var>c</var>, <kbd>\L</kbd>, <kbd>\U</kbd>,
- *          <kbd>\E</kbd>, <kbd>\Q</kbd>, <kbd>\N{</kbd><var>name</var><kbd>}</kbd>,
- *          <Kbd>(?{<kbd><var>code</var><kbd>})</kbd>, <Kbd>(??{<kbd><var>code</var><kbd>})</kbd>
- *     </ul>
- *    </td>
- *   </tr>
- * </table>
- *
- * <P>Meta characters are `<KBD>. * + ? { [ ( ) | \ ^ $</KBD>'.</P>
- * <ul>
- *   <li>Character
- *     <dl>
- *       <dt class="REGEX"><kbd>.</kbd> (A period)
- *       <dd>Matches any one character except the following characters.
- *       <dd>LINE FEED (U+000A), CARRIAGE RETURN (U+000D),
- *           PARAGRAPH SEPARATOR (U+2029), LINE SEPARATOR (U+2028)
- *       <dd>This expression matches one code point in Unicode. It can match a pair of surrogates.
- *       <dd>When <a href="#S_OPTION">the "s" option</a> is specified,
- *           it matches any character including the above four characters.
- *
- *       <dt class="REGEX"><Kbd>\e \f \n \r \t</kbd>
- *       <dd>Matches ESCAPE (U+001B), FORM FEED (U+000C), LINE FEED (U+000A),
- *           CARRIAGE RETURN (U+000D), HORIZONTAL TABULATION (U+0009)
- *
- *       <dt class="REGEX"><kbd>\c</kbd><var>C</var>
- *       <dd>Matches a control character.
- *           The <var>C</var> must be one of '<kbd>@</kbd>', '<kbd>A</kbd>'-'<kbd>Z</kbd>',
- *           '<kbd>[</kbd>', '<kbd>\u005c</kbd>', '<kbd>]</kbd>', '<kbd>^</kbd>', '<kbd>_</kbd>'.
- *           It matches a control character of which the character code is less than
- *           the character code of the <var>C</var> by 0x0040.
- *       <dd class="REGEX">For example, a <kbd>\cJ</kbd> matches a LINE FEED (U+000A),
- *           and a <kbd>\c[</kbd> matches an ESCAPE (U+001B).
- *
- *       <dt class="REGEX">a non-meta character
- *       <dd>Matches the character.
- *
- *       <dt class="REGEX"><KBD>\</KBD> + a meta character
- *       <dd>Matches the meta character.
- *
- *       <dt class="REGEX"><kbd>\u005cx</kbd><var>HH</var> <kbd>\u005cx{</kbd><var>HHHH</var><kbd>}</kbd>
- *       <dd>Matches a character of which code point is <var>HH</var> (Hexadecimal) in Unicode.
- *           You can write just 2 digits for <kbd>\u005cx</kbd><var>HH</var>, and
- *           variable length digits for <kbd>\u005cx{</kbd><var>HHHH</var><kbd>}</kbd>.
- *
- *       <!--
- *       <dt class="REGEX"><kbd>\u005c u</kbd><var>HHHH</var>
- *       <dd>Matches a character of which code point is <var>HHHH</var> (Hexadecimal) in Unicode.
- *       -->
- *
- *       <dt class="REGEX"><kbd>\u005cv</kbd><var>HHHHHH</var>
- *       <dd>Matches a character of which code point is <var>HHHHHH</var> (Hexadecimal) in Unicode.
- *
- *       <dt class="REGEX"><kbd>\g</kbd>
- *       <dd>Matches a grapheme.
- *       <dd class="REGEX">It is equivalent to <kbd>(?[\p{ASSIGNED}]-[\p{M}\p{C}])?(?:\p{M}|[\x{094D}\x{09CD}\x{0A4D}\x{0ACD}\x{0B3D}\x{0BCD}\x{0C4D}\x{0CCD}\x{0D4D}\x{0E3A}\x{0F84}]\p{L}|[\x{1160}-\x{11A7}]|[\x{11A8}-\x{11FF}]|[\x{FF9E}\x{FF9F}])*</kbd>
- *
- *       <dt class="REGEX"><kbd>\X</kbd>
- *       <dd class="REGEX">Matches a combining character sequence.
- *       It is equivalent to <kbd>(?:\PM\pM*)</kbd>
- *     </dl>
- *   </li>
- *
- *   <li>Character class
- *     <dl>
-+ *       <dt class="REGEX"><kbd>[</kbd><var>R<sub>1</sub></var><var>R<sub>2</sub></var><var>...</var><var>R<sub>n</sub></var><kbd>]</kbd> (without <a href="#COMMA_OPTION">"," option</a>)
-+ *       <dt class="REGEX"><kbd>[</kbd><var>R<sub>1</sub></var><kbd>,</kbd><var>R<sub>2</sub></var><kbd>,</kbd><var>...</var><kbd>,</kbd><var>R<sub>n</sub></var><kbd>]</kbd> (with <a href="#COMMA_OPTION">"," option</a>)
- *       <dd>Positive character class.  It matches a character in ranges.
- *       <dd><var>R<sub>n</sub></var>:
- *       <ul>
- *         <li class="REGEX">A character (including <Kbd>\e \f \n \r \t</kbd> <kbd>\u005cx</kbd><var>HH</var> <kbd>\u005cx{</kbd><var>HHHH</var><kbd>}</kbd> <!--kbd>\u005c u</kbd><var>HHHH</var--> <kbd>\u005cv</kbd><var>HHHHHH</var>)
- *             <p>This range matches the character.
- *         <li class="REGEX"><var>C<sub>1</sub></var><kbd>-</kbd><var>C<sub>2</sub></var>
- *             <p>This range matches a character which has a code point that is >= <var>C<sub>1</sub></var>'s code point and &lt;= <var>C<sub>2</sub></var>'s code point.
-+ *         <li class="REGEX">A POSIX character class: <Kbd>[:alpha:] [:alnum:] [:ascii:] [:cntrl:] [:digit:] [:graph:] [:lower:] [:print:] [:punct:] [:space:] [:upper:] [:xdigit:]</kbd>,
-+ *             and negative POSIX character classes in Perl like <kbd>[:^alpha:]</kbd>
- *             <p>...
- *         <li class="REGEX"><kbd>\d \D \s \S \w \W \p{</kbd><var>name</var><kbd>} \P{</kbd><var>name</var><kbd>}</kbd>
- *             <p>These expressions specifies the same ranges as the following expressions.
- *       </ul>
- *       <p class="REGEX">Enumerated ranges are merged (union operation).
- *          <kbd>[a-ec-z]</kbd> is equivalent to <kbd>[a-z]</kbd>
- *
- *       <dt class="REGEX"><kbd>[^</kbd><var>R<sub>1</sub></var><var>R<sub>2</sub></var><var>...</var><var>R<sub>n</sub></var><kbd>]</kbd> (without a <a href="#COMMA_OPTION">"," option</a>)
- *       <dt class="REGEX"><kbd>[^</kbd><var>R<sub>1</sub></var><kbd>,</kbd><var>R<sub>2</sub></var><kbd>,</kbd><var>...</var><kbd>,</kbd><var>R<sub>n</sub></var><kbd>]</kbd> (with a <a href="#COMMA_OPTION">"," option</a>)
- *       <dd>Negative character class.  It matches a character not in ranges.
- *
- *       <dt class="REGEX"><kbd>(?[</kbd><var>ranges</var><kbd>]</kbd><var>op</var><kbd>[</kbd><var>ranges</var><kbd>]</kbd><var>op</var><kbd>[</kbd><var>ranges</var><kbd>]</kbd> ... <Kbd>)</kbd>
- *       (<var>op</var> is <kbd>-</kbd> or <kbd>+</kbd> or <kbd>&</kbd>.)
- *       <dd>Subtraction or union or intersection for character classes.
- *       <dd class="REGEX">For exmaple, <kbd>(?[A-Z]-[CF])</kbd> is equivalent to <kbd>[A-BD-EG-Z]</kbd>, and <kbd>(?[0x00-0x7f]-[K]&[\p{Lu}])</kbd> is equivalent to <kbd>[A-JL-Z]</kbd>.
- *       <dd>The result of this operations is a <u>positive character class</u>
- *           even if an expression includes any negative character classes.
- *           You have to take care on this in case-insensitive matching.
- *           For instance, <kbd>(?[^b])</kbd> is equivalent to <kbd>[\x00-ac-\x{10ffff}]</kbd>,
- *           which is equivalent to <kbd>[^b]</kbd> in case-sensitive matching.
- *           But, in case-insensitive matching, <kbd>(?[^b])</kbd> matches any character because
- *           it includes '<kbd>B</kbd>' and '<kbd>B</kbd>' matches '<kbd>b</kbd>'
- *           though <kbd>[^b]</kbd> is processed as <kbd>[^Bb]</kbd>.
- *
- *       <dt class="REGEX"><kbd>[</kbd><var>R<sub>1</sub>R<sub>2</sub>...</var><kbd>-[</kbd><var>R<sub>n</sub>R<sub>n+1</sub>...</var><kbd>]]</kbd> (with an <a href="#X_OPTION">"X" option</a>)</dt>
- *       <dd>Character class subtraction for the XML Schema.
- *           You can use this syntax when you specify an <a href="#X_OPTION">"X" option</a>.
- *           
- *       <dt class="REGEX"><kbd>\d</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[0-9]</kbd>.
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>\p{Nd}</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\D</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[^0-9]</kbd>
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>\P{Nd}</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\s</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[ \f\n\r\t]</kbd>
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>[ \f\n\r\t\p{Z}]</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\S</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[^ \f\n\r\t]</kbd>
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>[^ \f\n\r\t\p{Z}]</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\w</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[a-zA-Z0-9_]</kbd>
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>[\p{Lu}\p{Ll}\p{Lo}\p{Nd}_]</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\W</kbd>
- *       <dd class="REGEX">Equivalent to <kbd>[^a-zA-Z0-9_]</kbd>
- *       <dd>When <a href="#U_OPTION">a "u" option</a> is set, it is equivalent to
- *           <span class="REGEX"><kbd>[^\p{Lu}\p{Ll}\p{Lo}\p{Nd}_]</kbd></span>.
- *
- *       <dt class="REGEX"><kbd>\p{</kbd><var>name</var><kbd>}</kbd>
- *       <dd>Matches one character in the specified General Category (the second field in <a href="ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt"><kbd>UnicodeData.txt</kbd></a>) or the specified <a href="ftp://ftp.unicode.org/Public/UNIDATA/Blocks.txt">Block</a>.
- *       The following names are available:
- *       <dl>
- *         <dt>Unicode General Categories:
- *         <dd><kbd>
- *       L, M, N, Z, C, P, S, Lu, Ll, Lt, Lm, Lo, Mn, Me, Mc, Nd, Nl, No, Zs, Zl, Zp,
- *       Cc, Cf, Cn, Co, Cs, Pd, Ps, Pe, Pc, Po, Sm, Sc, Sk, So,
- *         </kbd>
- *         <dd>(Currently the Cn category includes U+10000-U+10FFFF characters)
- *         <dt>Unicode Blocks:
- *         <dd><kbd>
- *       Basic Latin, Latin-1 Supplement, Latin Extended-A, Latin Extended-B,
- *       IPA Extensions, Spacing Modifier Letters, Combining Diacritical Marks, Greek,
- *       Cyrillic, Armenian, Hebrew, Arabic, Devanagari, Bengali, Gurmukhi, Gujarati,
- *       Oriya, Tamil, Telugu, Kannada, Malayalam, Thai, Lao, Tibetan, Georgian,
- *       Hangul Jamo, Latin Extended Additional, Greek Extended, General Punctuation,
- *       Superscripts and Subscripts, Currency Symbols, Combining Marks for Symbols,
- *       Letterlike Symbols, Number Forms, Arrows, Mathematical Operators,
- *       Miscellaneous Technical, Control Pictures, Optical Character Recognition,
- *       Enclosed Alphanumerics, Box Drawing, Block Elements, Geometric Shapes,
- *       Miscellaneous Symbols, Dingbats, CJK Symbols and Punctuation, Hiragana,
- *       Katakana, Bopomofo, Hangul Compatibility Jamo, Kanbun,
- *       Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs,
- *       Hangul Syllables, High Surrogates, High Private Use Surrogates, Low Surrogates,
- *       Private Use, CJK Compatibility Ideographs, Alphabetic Presentation Forms,
- *       Arabic Presentation Forms-A, Combining Half Marks, CJK Compatibility Forms,
- *       Small Form Variants, Arabic Presentation Forms-B, Specials,
- *       Halfwidth and Fullwidth Forms
- *         </kbd>
- *         <dt>Others:
- *         <dd><kbd>ALL</kbd> (Equivalent to <kbd>[\u005cu0000-\u005cv10FFFF]</kbd>)
- *         <dd><kbd>ASSGINED</kbd> (<kbd>\p{ASSIGNED}</kbd> is equivalent to <kbd>\P{Cn}</kbd>)
- *         <dd><kbd>UNASSGINED</kbd>
- *             (<kbd>\p{UNASSIGNED}</kbd> is equivalent to <kbd>\p{Cn}</kbd>)
- *       </dl>
- *
- *       <dt class="REGEX"><kbd>\P{</kbd><var>name</var><kbd>}</kbd>
- *       <dd>Matches one character not in the specified General Category or the specified Block.
- *     </dl>
- *   </li>
- *
- *   <li>Selection and Quantifier
- *     <dl>
- *       <dt class="REGEX"><VAR>X</VAR><kbd>|</kbd><VAR>Y</VAR>
- *       <dd>...
- *
- *       <dt class="REGEX"><VAR>X</VAR><kbd>*</KBD>
- *       <dd>Matches 0 or more <var>X</var>.
- *
- *       <dt class="REGEX"><VAR>X</VAR><kbd>+</KBD>
- *       <dd>Matches 1 or more <var>X</var>.
- *
- *       <dt class="REGEX"><VAR>X</VAR><kbd>?</KBD>
- *       <dd>Matches 0 or 1 <var>X</var>.
- *
- *       <dt class="REGEX"><var>X</var><kbd>{</kbd><var>number</var><kbd>}</kbd>
- *       <dd>Matches <var>number</var> times.
- *
- *       <dt class="REGEX"><var>X</var><kbd>{</kbd><var>min</var><kbd>,}</kbd>
- *       <dd>...
- *
- *       <dt class="REGEX"><var>X</var><kbd>{</kbd><var>min</var><kbd>,</kbd><var>max</var><kbd>}</kbd>
- *       <dd>...
- *
- *       <dt class="REGEX"><VAR>X</VAR><kbd>*?</kbd>
- *       <dt class="REGEX"><VAR>X</VAR><kbd>+?</kbd>
- *       <dt class="REGEX"><VAR>X</VAR><kbd>??</kbd>
- *       <dt class="REGEX"><var>X</var><kbd>{</kbd><var>min</var><kbd>,}?</kbd>
- *       <dt class="REGEX"><var>X</var><kbd>{</kbd><var>min</var><kbd>,</kbd><var>max</var><kbd>}?</kbd>
- *       <dd>Non-greedy matching.
- *     </dl>
- *   </li>
- *
- *   <li>Grouping, Capturing, and Back-reference
- *     <dl>
- *       <dt class="REGEX"><KBD>(?:</kbd><VAR>X</VAR><kbd>)</KBD>
- *       <dd>Grouping. "<KBD>foo+</KBD>" matches "<KBD>foo</KBD>" or "<KBD>foooo</KBD>".
- *       If you want it matches "<KBD>foofoo</KBD>" or "<KBD>foofoofoo</KBD>",
- *       you have to write "<KBD>(?:foo)+</KBD>".
- *
- *       <dt class="REGEX"><KBD>(</kbd><VAR>X</VAR><kbd>)</KBD>
- *       <dd>Grouping with capturing.
- * It make a group and applications can know
- * where in target text a group matched with methods of a <code>Match</code> instance
- * after <code><a href="#matches(java.lang.String, org.apache.xerces.utils.regex.Match)">matches(String,Match)</a></code>.
- * The 0th group means whole of this regular expression.
- * The <VAR>N</VAR>th gorup is the inside of the <VAR>N</VAR>th left parenthesis.
- * 
- *   <p>For instance, a regular expression is
- *   "<FONT color=blue><KBD> *([^&lt;:]*) +&lt;([^&gt;]*)&gt; *</KBD></FONT>"
- *   and target text is
- *   "<FONT color=red><KBD>From: TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;</KBD></FONT>":
- *   <ul>
- *     <li><code>Match.getCapturedText(0)</code>:
- *     "<FONT color=red><KBD> TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;</KBD></FONT>"
- *     <li><code>Match.getCapturedText(1)</code>: "<FONT color=red><KBD>TAMURA Kent</KBD></FONT>"
- *     <li><code>Match.getCapturedText(2)</code>: "<FONT color=red><KBD>kent@trl.ibm.co.jp</KBD></FONT>"
- *   </ul>
- *
- *       <dt class="REGEX"><kbd>\1 \2 \3 \4 \5 \6 \7 \8 \9</kbd>
- *       <dd>
- *
- *       <dt class="REGEX"><kbd>(?></kbd><var>X</var><kbd>)</kbd>
- *       <dd>Independent expression group. ................
- *
- *       <dt class="REGEX"><kbd>(?</kbd><var>options</var><kbd>:</kbd><var>X</var><kbd>)</kbd>
- *       <dt class="REGEX"><kbd>(?</kbd><var>options</var><kbd>-</kbd><var>options2</var><kbd>:</kbd><var>X</var><kbd>)</kbd>
- *       <dd>............................
- *       <dd>The <var>options</var> or the <var>options2</var> consists of 'i' 'm' 's' 'w'.
- *           Note that it can not contain 'u'.
- *
- *       <dt class="REGEX"><kbd>(?</kbd><var>options</var><kbd>)</kbd>
- *       <dt class="REGEX"><kbd>(?</kbd><var>options</var><kbd>-</kbd><var>options2</var><kbd>)</kbd>
- *       <dd>......
- *       <dd>These expressions must be at the beginning of a group.
- *     </dl>
- *   </li>
- *
- *   <li>Anchor
- *     <dl>
- *       <dt class="REGEX"><kbd>\A</kbd>
- *       <dd>Matches the beginnig of the text.
- *
- *       <dt class="REGEX"><kbd>\Z</kbd>
- *       <dd>Matches the end of the text, or before an EOL character at the end of the text,
- *           or CARRIAGE RETURN + LINE FEED at the end of the text.
- *
- *       <dt class="REGEX"><kbd>\z</kbd>
- *       <dd>Matches the end of the text.
- *
- *       <dt class="REGEX"><kbd>^</kbd>
- *       <dd>Matches the beginning of the text.  It is equivalent to <span class="REGEX"><Kbd>\A</kbd></span>.
- *       <dd>When <a href="#M_OPTION">a "m" option</a> is set,
- *           it matches the beginning of the text, or after one of EOL characters (
- *           LINE FEED (U+000A), CARRIAGE RETURN (U+000D), LINE SEPARATOR (U+2028),
- *           PARAGRAPH SEPARATOR (U+2029).)
- *
- *       <dt class="REGEX"><kbd>$</kbd>
- *       <dd>Matches the end of the text, or before an EOL character at the end of the text,
- *           or CARRIAGE RETURN + LINE FEED at the end of the text.
- *       <dd>When <a href="#M_OPTION">a "m" option</a> is set,
- *           it matches the end of the text, or before an EOL character.
- *
- *       <dt class="REGEX"><kbd>\b</kbd>
- *       <dd>Matches word boundary.
- *           (See <a href="#W_OPTION">a "w" option</a>)
- *
- *       <dt class="REGEX"><kbd>\B</kbd>
- *       <dd>Matches non word boundary.
- *           (See <a href="#W_OPTION">a "w" option</a>)
- *
- *       <dt class="REGEX"><kbd>\&lt;</kbd>
- *       <dd>Matches the beginning of a word.
- *           (See <a href="#W_OPTION">a "w" option</a>)
- *
- *       <dt class="REGEX"><kbd>\&gt;</kbd>
- *       <dd>Matches the end of a word.
- *           (See <a href="#W_OPTION">a "w" option</a>)
- *     </dl>
- *   </li>
- *   <li>Lookahead and lookbehind
- *     <dl>
- *       <dt class="REGEX"><kbd>(?=</kbd><var>X</var><kbd>)</kbd>
- *       <dd>Lookahead.
- *
- *       <dt class="REGEX"><kbd>(?!</kbd><var>X</var><kbd>)</kbd>
- *       <dd>Negative lookahead.
- *
- *       <dt class="REGEX"><kbd>(?&lt;=</kbd><var>X</var><kbd>)</kbd>
- *       <dd>Lookbehind.
- *       <dd>(Note for text capturing......)
- *
- *       <dt class="REGEX"><kbd>(?&lt;!</kbd><var>X</var><kbd>)</kbd>
- *       <dd>Negative lookbehind.
- *     </dl>
- *   </li>
- *
- *   <li>Misc.
- *     <dl>
- *       <dt class="REGEX"><kbd>(?(</Kbd><var>condition</var><Kbd>)</kbd><var>yes-pattern</var><kbd>|</kbd><var>no-pattern</var><kbd>)</kbd>,
- *       <dt class="REGEX"><kbd>(?(</kbd><var>condition</var><kbd>)</kbd><var>yes-pattern</var><kbd>)</kbd>
- *       <dd>......
- *       <dt class="REGEX"><kbd>(?#</kbd><var>comment</var><kbd>)</kbd>
- *       <dd>Comment.  A comment string consists of characters except '<kbd>)</kbd>'.
- *           You can not write comments in character classes and before quantifiers.
- *     </dl>
- *   </li>
- * </ul>
- *
- *
- * <hr width="50%">
- * <h3>BNF for the regular expression</h3>
- * <pre>
- * regex ::= ('(?' options ')')? term ('|' term)*
- * term ::= factor+
- * factor ::= anchors | atom (('*' | '+' | '?' | minmax ) '?'? )?
- *            | '(?#' [^)]* ')'
- * minmax ::= '{' ([0-9]+ | [0-9]+ ',' | ',' [0-9]+ | [0-9]+ ',' [0-9]+) '}'
- * atom ::= char | '.' | char-class | '(' regex ')' | '(?:' regex ')' | '\' [0-9]
- *          | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block | '\X'
- *          | '(?>' regex ')' | '(?' options ':' regex ')'
- *          | '(?' ('(' [0-9] ')' | '(' anchors ')' | looks) term ('|' term)? ')'
- * options ::= [imsw]* ('-' [imsw]+)?
- * anchors ::= '^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\&lt;' | '\>'
- * looks ::= '(?=' regex ')'  | '(?!' regex ')'
- *           | '(?&lt;=' regex ')' | '(?&lt;!' regex ')'
- * char ::= '\\' | '\' [efnrtv] | '\c' [@-_] | code-point | character-1
- * category-block ::= '\' [pP] category-symbol-1
- *                    | ('\p{' | '\P{') (category-symbol | block-name
- *                                       | other-properties) '}'
- * category-symbol-1 ::= 'L' | 'M' | 'N' | 'Z' | 'C' | 'P' | 'S'
- * category-symbol ::= category-symbol-1 | 'Lu' | 'Ll' | 'Lt' | 'Lm' | Lo'
- *                     | 'Mn' | 'Me' | 'Mc' | 'Nd' | 'Nl' | 'No'
- *                     | 'Zs' | 'Zl' | 'Zp' | 'Cc' | 'Cf' | 'Cn' | 'Co' | 'Cs'
- *                     | 'Pd' | 'Ps' | 'Pe' | 'Pc' | 'Po'
- *                     | 'Sm' | 'Sc' | 'Sk' | 'So'
- * block-name ::= (See above)
- * other-properties ::= 'ALL' | 'ASSIGNED' | 'UNASSIGNED'
- * character-1 ::= (any character except meta-characters)
- *
- * char-class ::= '[' ranges ']'
- *                | '(?[' ranges ']' ([-+&] '[' ranges ']')? ')'
- * ranges ::= '^'? (range <a href="#COMMA_OPTION">','?</a>)+
- * range ::= '\d' | '\w' | '\s' | '\D' | '\W' | '\S' | category-block
- *           | range-char | range-char '-' range-char
- * range-char ::= '\[' | '\]' | '\\' | '\' [,-efnrtv] | code-point | character-2
- * code-point ::= '\x' hex-char hex-char
- *                | '\x{' hex-char+ '}'
- * <!--               | '\u005c u' hex-char hex-char hex-char hex-char
- * -->               | '\v' hex-char hex-char hex-char hex-char hex-char hex-char
- * hex-char ::= [0-9a-fA-F]
- * character-2 ::= (any character except \[]-,)
- * </pre>
- *
- * <hr width="50%">
- * <h3>TODO</h3>
- * <ul>
- *   <li><a href="http://www.unicode.org/unicode/reports/tr18/">Unicode Regular Expression Guidelines</a>
- *     <ul>
- *       <li>2.4 Canonical Equivalents
- *       <li>Level 3
- *     </ul>
- *   <li>Parsing performance
- * </ul>
- *
- * <hr width="50%">
- *
- * @author TAMURA Kent &lt;kent@trl.ibm.co.jp&gt;
- * @version $Id: RegularExpression.java,v 1.2 2004/02/12 20:06:20 ericvas Exp $
- */
-public class RegularExpression implements java.io.Serializable {
-    static final boolean DEBUG = false;
-
-    /**
-     * Compiles a token tree into an operation flow.
-     */
-    private synchronized void compile(Token tok) {
-        if (this.operations != null)
-            return;
-        this.numberOfClosures = 0;
-        this.operations = this.compile(tok, null, false);
-    }
-
-    /**
-     * Converts a token to an operation.
-     */
-    private Op compile(Token tok, Op next, boolean reverse) {
-        Op ret;
-        switch (tok.type) {
-        case Token.DOT:
-            ret = Op.createDot();
-            ret.next = next;
-            break;
-
-        case Token.CHAR:
-            ret = Op.createChar(tok.getChar());
-            ret.next = next;
-            break;
-
-        case Token.ANCHOR:
-            ret = Op.createAnchor(tok.getChar());
-            ret.next = next;
-            break;
-
-        case Token.RANGE:
-        case Token.NRANGE:
-            ret = Op.createRange(tok);
-            ret.next = next;
-            break;
-
-        case Token.CONCAT:
-            ret = next;
-            if (!reverse) {
-                for (int i = tok.size()-1;  i >= 0;  i --) {
-                    ret = compile(tok.getChild(i), ret, false);
-                }
-            } else {
-                for (int i = 0;  i < tok.size();  i ++) {
-                    ret = compile(tok.getChild(i), ret, true);
-                }
-            }
-            break;
-
-        case Token.UNION:
-            Op.UnionOp uni = Op.createUnion(tok.size());
-            for (int i = 0;  i < tok.size();  i ++) {
-                uni.addElement(compile(tok.getChild(i), next, reverse));
-            }
-            ret = uni;                          // ret.next is null.
-            break;
-
-        case Token.CLOSURE:
-        case Token.NONGREEDYCLOSURE:
-            Token child = tok.getChild(0);
-            int min = tok.getMin();
-            int max = tok.getMax();
-            if (min >= 0 && min == max) { // {n}
-                ret = next;
-                for (int i = 0; i < min;  i ++) {
-                    ret = compile(child, ret, reverse);
-                }
-                break;
-            }
-            if (min > 0 && max > 0)
-                max -= min;
-            if (max > 0) {
-                // X{2,6} -> XX(X(X(XX?)?)?)?
-                ret = next;
-                for (int i = 0;  i < max;  i ++) {
-                    Op.ChildOp q = Op.createQuestion(tok.type == Token.NONGREEDYCLOSURE);
-                    q.next = next;
-                    q.setChild(compile(child, ret, reverse));
-                    ret = q;
-                }
-            } else {
-                Op.ChildOp op;
-                if (tok.type == Token.NONGREEDYCLOSURE) {
-                    op = Op.createNonGreedyClosure();
-                } else {                        // Token.CLOSURE
-                    if (child.getMinLength() == 0)
-                        op = Op.createClosure(this.numberOfClosures++);
-                    else
-                        op = Op.createClosure(-1);
-                }
-                op.next = next;
-                op.setChild(compile(child, op, reverse));
-                ret = op;
-            }
-            if (min > 0) {
-                for (int i = 0;  i < min;  i ++) {
-                    ret = compile(child, ret, reverse);
-                }
-            }
-            break;
-
-        case Token.EMPTY:
-            ret = next;
-            break;
-
-        case Token.STRING:
-            ret = Op.createString(tok.getString());
-            ret.next = next;
-            break;
-
-        case Token.BACKREFERENCE:
-            ret = Op.createBackReference(tok.getReferenceNumber());
-            ret.next = next;
-            break;
-
-        case Token.PAREN:
-            if (tok.getParenNumber() == 0) {
-                ret = compile(tok.getChild(0), next, reverse);
-            } else if (reverse) {
-                next = Op.createCapture(tok.getParenNumber(), next);
-                next = compile(tok.getChild(0), next, reverse);
-                ret = Op.createCapture(-tok.getParenNumber(), next);
-            } else {
-                next = Op.createCapture(-tok.getParenNumber(), next);
-                next = compile(tok.getChild(0), next, reverse);
-                ret = Op.createCapture(tok.getParenNumber(), next);
-            }
-            break;
-
-        case Token.LOOKAHEAD:
-            ret = Op.createLook(Op.LOOKAHEAD, next, compile(tok.getChild(0), null, false));
-            break;
-        case Token.NEGATIVELOOKAHEAD:
-            ret = Op.createLook(Op.NEGATIVELOOKAHEAD, next, compile(tok.getChild(0), null, false));
-            break;
-        case Token.LOOKBEHIND:
-            ret = Op.createLook(Op.LOOKBEHIND, next, compile(tok.getChild(0), null, true));
-            break;
-        case Token.NEGATIVELOOKBEHIND:
-            ret = Op.createLook(Op.NEGATIVELOOKBEHIND, next, compile(tok.getChild(0), null, true));
-            break;
-
-        case Token.INDEPENDENT:
-            ret = Op.createIndependent(next, compile(tok.getChild(0), null, reverse));
-            break;
-
-        case Token.MODIFIERGROUP:
-            ret = Op.createModifier(next, compile(tok.getChild(0), null, reverse),
-                                    ((Token.ModifierToken)tok).getOptions(),
-                                    ((Token.ModifierToken)tok).getOptionsMask());
-            break;
-
-        case Token.CONDITION:
-            Token.ConditionToken ctok = (Token.ConditionToken)tok;
-            int ref = ctok.refNumber;
-            Op condition = ctok.condition == null ? null : compile(ctok.condition, null, reverse);
-            Op yes = compile(ctok.yes, next, reverse);
-            Op no = ctok.no == null ? null : compile(ctok.no, next, reverse);
-            ret = Op.createCondition(next, ref, condition, yes, no);
-            break;
-
-        default:
-            throw new RuntimeException("Unknown token type: "+tok.type);
-        } // switch (tok.type)
-        return ret;
-    }
-
-
-//Public
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @return true if the target is matched to this regular expression.
-     */
-    public boolean matches(char[]  target) {
-        return this.matches(target, 0,  target .length , (Match)null);
-    }
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern
-     * in specified range or not.
-     *
-     * @param start Start offset of the range.
-     * @param end  End offset +1 of the range.
-     * @return true if the target is matched to this regular expression.
-     */
-    public boolean matches(char[]  target, int start, int end) {
-        return this.matches(target, start, end, (Match)null);
-    }
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @param match A Match instance for storing matching result.
-     * @return Offset of the start position in <VAR>target</VAR>; or -1 if not match.
-     */
-    public boolean matches(char[]  target, Match match) {
-        return this.matches(target, 0,  target .length , match);
-    }
-
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern
-     * in specified range or not.
-     *
-     * @param start Start offset of the range.
-     * @param end  End offset +1 of the range.
-     * @param match A Match instance for storing matching result.
-     * @return Offset of the start position in <VAR>target</VAR>; or -1 if not match.
-     */
-    public boolean matches(char[]  target, int start, int end, Match match) {
-
-        synchronized (this) {
-            if (this.operations == null)
-                this.prepare();
-            if (this.context == null)
-                this.context = new Context();
-        }
-        Context con = null;
-        synchronized (this.context) {
-            con = this.context.inuse ? new Context() : this.context;
-            con.reset(target, start, end, this.numberOfClosures);
-        }
-        if (match != null) {
-            match.setNumberOfGroups(this.nofparen);
-            match.setSource(target);
-        } else if (this.hasBackReferences) {
-            match = new Match();
-            match.setNumberOfGroups(this.nofparen);
-            // Need not to call setSource() because
-            // a caller can not access this match instance.
-        }
-        con.match = match;
-
-        if (this.isSet(this.options, XMLSCHEMA_MODE)) {
-            int matchEnd = this. matchCharArray (con, this.operations, con.start, 1, this.options);
-            //System.err.println("DEBUG: matchEnd="+matchEnd);
-            if (matchEnd == con.limit) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, con.start);
-                    con.match.setEnd(0, matchEnd);
-                }
-                con.inuse = false;
-                return true;
-            }
-            return false;
-        }
-
-        /*
-         * The pattern has only fixed string.
-         * The engine uses Boyer-Moore.
-         */
-        if (this.fixedStringOnly) {
-            //System.err.println("DEBUG: fixed-only: "+this.fixedString);
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o >= 0) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, o);
-                    con.match.setEnd(0, o+this.fixedString.length());
-                }
-                con.inuse = false;
-                return true;
-            }
-            con.inuse = false;
-            return false;
-        }
-
-        /*
-         * The pattern contains a fixed string.
-         * The engine checks with Boyer-Moore whether the text contains the fixed string or not.
-         * If not, it return with false.
-         */
-        if (this.fixedString != null) {
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o < 0) {
-                //System.err.println("Non-match in fixed-string search.");
-                con.inuse = false;
-                return false;
-            }
-        }
-
-        int limit = con.limit-this.minlength;
-        int matchStart;
-        int matchEnd = -1;
-
-        /*
-         * Checks whether the expression starts with ".*".
-         */
-        if (this.operations != null
-            && this.operations.type == Op.CLOSURE && this.operations.getChild().type == Op.DOT) {
-            if (isSet(this.options, SINGLE_LINE)) {
-                matchStart = con.start;
-                matchEnd = this. matchCharArray (con, this.operations, con.start, 1, this.options);
-            } else {
-                boolean previousIsEOL = true;
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target [  matchStart ] ;
-                    if (isEOLChar(ch)) {
-                        previousIsEOL = true;
-                    } else {
-                        if (previousIsEOL) {
-                            if (0 <= (matchEnd = this. matchCharArray (con, this.operations,
-                                                                       matchStart, 1, this.options)))
-                                break;
-                        }
-                        previousIsEOL = false;
-                    }
-                }
-            }
-        }
-
-        /*
-         * Optimization against the first character.
-         */
-        else if (this.firstChar != null) {
-            //System.err.println("DEBUG: with firstchar-matching: "+this.firstChar);
-            RangeToken range = this.firstChar;
-            if (this.isSet(this.options, IGNORE_CASE)) {
-                range = this.firstChar.getCaseInsensitiveToken();
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target [  matchStart ] ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit) {
-                        ch = REUtil.composeFromSurrogates(ch,  target [  matchStart+1 ] );
-                        if (!range.match(ch))  continue;
-                    } else {
-                        if (!range.match(ch)) {
-                            char ch1 = Character.toUpperCase((char)ch);
-                            if (!range.match(ch1))
-                                if (!range.match(Character.toLowerCase(ch1)))
-                                    continue;
-                        }
-                    }
-                    if (0 <= (matchEnd = this. matchCharArray (con, this.operations,
-                                                               matchStart, 1, this.options)))
-                        break;
-                }
-            } else {
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target [  matchStart ] ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target [  matchStart+1 ] );
-                    if (!range.match(ch))  continue;
-                    if (0 <= (matchEnd = this. matchCharArray (con, this.operations,
-                                                               matchStart, 1, this.options)))
-                        break;
-                }
-            }
-        }
-
-        /*
-         * Straightforward matching.
-         */
-        else {
-            for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                if (0 <= (matchEnd = this. matchCharArray (con, this.operations, matchStart, 1, this.options)))
-                    break;
-            }
-        }
-
-        if (matchEnd >= 0) {
-            if (con.match != null) {
-                con.match.setBeginning(0, matchStart);
-                con.match.setEnd(0, matchEnd);
-            }
-            con.inuse = false;
-            return true;
-        } else {
-            con.inuse = false;
-            return false;
-        }
-    }
-
-/**
- * @return -1 when not match; offset of the end of matched string when match.
- */
-    private int matchCharArray (Context con, Op op, int offset, int dx, int opts) {
-
-        char[] target = con.charTarget;
-
-
-        while (true) {
-            if (op == null)
-                return isSet(opts, XMLSCHEMA_MODE) && offset != con.limit ? -1 : offset;
-            if (offset > con.limit || offset < con.start)
-                return -1;
-            switch (op.type) {
-            case Op.CHAR:
-                if (isSet(opts, IGNORE_CASE)) {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || !matchIgnoreCase(ch,  target [  offset ] ))
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || !matchIgnoreCase(ch,  target [  o1 ] ))
-                            return -1;
-                        offset = o1;
-                    }
-                } else {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || ch !=  target [  offset ] )
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || ch !=  target [  o1 ] )
-                            return -1;
-                        offset = o1;
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.DOT:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target [  offset ] ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            offset ++;
-                    } else {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            ch = REUtil.composeFromSurrogates(ch,  target [  ++offset ] );
-                        if (isEOLChar(ch))
-                            return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target [  o1 ] ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            o1 --;
-                    } else {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            ch = REUtil.composeFromSurrogates( target [  --o1 ] , ch);
-                        if (!isEOLChar(ch))
-                            return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.RANGE:
-            case Op.NRANGE:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target [  offset ] ;
-                    if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target [  ++offset ] );
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target [  o1 ] ;
-                    if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                        ch = REUtil.composeFromSurrogates( target [  --o1 ] , ch);
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.ANCHOR:
-                boolean go = false;
-                switch (op.getData()) {
-                case '^':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.start
-                              || offset > con.start && isEOLChar( target [  offset-1 ] )))
-                            return -1;
-                    } else {
-                        if (offset != con.start)
-                            return -1;
-                    }
-                    break;
-
-                case '@':                         // Internal use only.
-                    // The @ always matches line beginnings.
-                    if (!(offset == con.start
-                          || offset > con.start && isEOLChar( target [  offset-1 ] )))
-                        return -1;
-                    break;
-
-                case '$':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.limit
-                              || offset < con.limit && isEOLChar( target [  offset ] )))
-                            return -1;
-                    } else {
-                        if (!(offset == con.limit
-                              || offset+1 == con.limit && isEOLChar( target [  offset ] )
-                              || offset+2 == con.limit &&  target [  offset ]  == CARRIAGE_RETURN
-                              &&  target [  offset+1 ]  == LINE_FEED))
-                            return -1;
-                    }
-                    break;
-
-                case 'A':
-                    if (offset != con.start)  return -1;
-                    break;
-
-                case 'Z':
-                    if (!(offset == con.limit
-                          || offset+1 == con.limit && isEOLChar( target [  offset ] )
-                          || offset+2 == con.limit &&  target [  offset ]  == CARRIAGE_RETURN
-                          &&  target [  offset+1 ]  == LINE_FEED))
-                        return -1;
-                    break;
-
-                case 'z':
-                    if (offset != con.limit)  return -1;
-                    break;
-
-                case 'b':
-                    if (con.length == 0)  return -1;
-                    {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        if (after == WT_IGNORE)  return -1;
-                        int before = getPreviousWordType(target, con.start, con.limit, offset, opts);
-                        if (after == before)  return -1;
-                    }
-                    break;
-
-                case 'B':
-                    if (con.length == 0)
-                        go = true;
-                    else {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        go = after == WT_IGNORE
-                             || after == getPreviousWordType(target, con.start, con.limit, offset, opts);
-                    }
-                    if (!go)  return -1;
-                    break;
-
-                case '<':
-                    if (con.length == 0 || offset == con.limit)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_LETTER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_OTHER)
-                        return -1;
-                    break;
-
-                case '>':
-                    if (con.length == 0 || offset == con.start)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_OTHER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_LETTER)
-                        return -1;
-                    break;
-                } // switch anchor type
-                op = op.next;
-                break;
-
-            case Op.BACKREFERENCE:
-                {
-                    int refno = op.getData();
-                    if (refno <= 0 || refno >= this.nofparen)
-                        throw new RuntimeException("Internal Error: Reference number must be more than zero: "+refno);
-                    if (con.match.getBeginning(refno) < 0
-                        || con.match.getEnd(refno) < 0)
-                        return -1;                // ********
-                    int o2 = con.match.getBeginning(refno);
-                    int literallen = con.match.getEnd(refno)-o2;
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-            case Op.STRING:
-                {
-                    String literal = op.getString();
-                    int literallen = literal.length();
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.CLOSURE:
-                {
-                    /*
-                     * Saves current position to avoid
-                     * zero-width repeats.
-                     */
-                    int id = op.getData();
-                    if (id >= 0) {
-                        int previousOffset = con.offsets[id];
-                        if (previousOffset < 0 || previousOffset != offset) {
-                            con.offsets[id] = offset;
-                        } else {
-                            con.offsets[id] = -1;
-                            op = op.next;
-                            break;
-                        }
-                    }
-
-                    int ret = this. matchCharArray (con, op.getChild(), offset, dx, opts);
-                    if (id >= 0)  con.offsets[id] = -1;
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.QUESTION:
-                {
-                    int ret = this. matchCharArray (con, op.getChild(), offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.NONGREEDYCLOSURE:
-            case Op.NONGREEDYQUESTION:
-                {
-                    int ret = this. matchCharArray (con, op.next, offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.getChild();
-                }
-                break;
-
-            case Op.UNION:
-                for (int i = 0;  i < op.size();  i ++) {
-                    int ret = this. matchCharArray (con, op.elementAt(i), offset, dx, opts);
-                    if (DEBUG) {
-                        System.err.println("UNION: "+i+", ret="+ret);
-                    }
-                    if (ret >= 0)  return ret;
-                }
-                return -1;
-
-            case Op.CAPTURE:
-                int refno = op.getData();
-                if (con.match != null && refno > 0) {
-                    int save = con.match.getBeginning(refno);
-                    con.match.setBeginning(refno, offset);
-                    int ret = this. matchCharArray (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setBeginning(refno, save);
-                    return ret;
-                } else if (con.match != null && refno < 0) {
-                    int index = -refno;
-                    int save = con.match.getEnd(index);
-                    con.match.setEnd(index, offset);
-                    int ret = this. matchCharArray (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setEnd(index, save);
-                    return ret;
-                }
-                op = op.next;
-                break;
-
-            case Op.LOOKAHEAD:
-                if (0 > this. matchCharArray (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKAHEAD:
-                if (0 <= this. matchCharArray (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.LOOKBEHIND:
-                if (0 > this. matchCharArray (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKBEHIND:
-                if (0 <= this. matchCharArray (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-
-            case Op.INDEPENDENT:
-                {
-                    int ret = this. matchCharArray (con, op.getChild(), offset, dx, opts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.MODIFIER:
-                {
-                    int localopts = opts;
-                    localopts |= op.getData();
-                    localopts &= ~op.getData2();
-                    //System.err.println("MODIFIER: "+Integer.toString(opts, 16)+" -> "+Integer.toString(localopts, 16));
-                    int ret = this. matchCharArray (con, op.getChild(), offset, dx, localopts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.CONDITION:
-                {
-                    Op.ConditionOp cop = (Op.ConditionOp)op;
-                    boolean matchp = false;
-                    if (cop.refNumber > 0) {
-                        if (cop.refNumber >= this.nofparen)
-                            throw new RuntimeException("Internal Error: Reference number must be more than zero: "+cop.refNumber);
-                        matchp = con.match.getBeginning(cop.refNumber) >= 0
-                                 && con.match.getEnd(cop.refNumber) >= 0;
-                    } else {
-                        matchp = 0 <= this. matchCharArray (con, cop.condition, offset, dx, opts);
-                    }
-
-                    if (matchp) {
-                        op = cop.yes;
-                    } else if (cop.no != null) {
-                        op = cop.no;
-                    } else {
-                        op = cop.next;
-                    }
-                }
-                break;
-
-            default:
-                throw new RuntimeException("Unknown operation type: "+op.type);
-            } // switch (op.type)
-        } // while
-    }
-
-    private static final int getPreviousWordType(char[]  target, int begin, int end,
-                                                 int offset, int opts) {
-        int ret = getWordType(target, begin, end, --offset, opts);
-        while (ret == WT_IGNORE)
-            ret = getWordType(target, begin, end, --offset, opts);
-        return ret;
-    }
-
-    private static final int getWordType(char[]  target, int begin, int end,
-                                         int offset, int opts) {
-        if (offset < begin || offset >= end)  return WT_OTHER;
-        return getWordType0( target [  offset ] , opts);
-    }
-
-
-
-    private static final boolean regionMatches(char[]  target, int offset, int limit,
-                                               String part, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = 0;
-        while (partlen-- > 0) {
-            if ( target [  offset++ ]  != part.charAt(i++))
-                return false;
-        }
-        return true;
-    }
-
-    private static final boolean regionMatches(char[]  target, int offset, int limit,
-                                               int offset2, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = offset2;
-        while (partlen-- > 0) {
-            if ( target [  offset++ ]  !=  target [  i++ ] )
-                return false;
-        }
-        return true;
-    }
-
-/**
- * @see java.lang.String#regionMatches
- */
-    private static final boolean regionMatchesIgnoreCase(char[]  target, int offset, int limit,
-                                                         String part, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = 0;
-        while (partlen-- > 0) {
-            char ch1 =  target [  offset++ ] ;
-            char ch2 = part.charAt(i++);
-            if (ch1 == ch2)
-                continue;
-            char uch1 = Character.toUpperCase(ch1);
-            char uch2 = Character.toUpperCase(ch2);
-            if (uch1 == uch2)
-                continue;
-            if (Character.toLowerCase(uch1) != Character.toLowerCase(uch2))
-                return false;
-        }
-        return true;
-    }
-
-    private static final boolean regionMatchesIgnoreCase(char[]  target, int offset, int limit,
-                                                         int offset2, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = offset2;
-        while (partlen-- > 0) {
-            char ch1 =  target [  offset++ ] ;
-            char ch2 =  target [  i++ ] ;
-            if (ch1 == ch2)
-                continue;
-            char uch1 = Character.toUpperCase(ch1);
-            char uch2 = Character.toUpperCase(ch2);
-            if (uch1 == uch2)
-                continue;
-            if (Character.toLowerCase(uch1) != Character.toLowerCase(uch2))
-                return false;
-        }
-        return true;
-    }
-
-
-
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @return true if the target is matched to this regular expression.
-     */
-    public boolean matches(String  target) {
-        return this.matches(target, 0,  target .length() , (Match)null);
-    }
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern
-     * in specified range or not.
-     *
-     * @param start Start offset of the range.
-     * @param end  End offset +1 of the range.
-     * @return true if the target is matched to this regular expression.
-     */
-    public boolean matches(String  target, int start, int end) {
-        return this.matches(target, start, end, (Match)null);
-    }
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @param match A Match instance for storing matching result.
-     * @return Offset of the start position in <VAR>target</VAR>; or -1 if not match.
-     */
-    public boolean matches(String  target, Match match) {
-        return this.matches(target, 0,  target .length() , match);
-    }
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern
-     * in specified range or not.
-     *
-     * @param start Start offset of the range.
-     * @param end  End offset +1 of the range.
-     * @param match A Match instance for storing matching result.
-     * @return Offset of the start position in <VAR>target</VAR>; or -1 if not match.
-     */
-    public boolean matches(String  target, int start, int end, Match match) {
-
-        synchronized (this) {
-            if (this.operations == null)
-                this.prepare();
-            if (this.context == null)
-                this.context = new Context();
-        }
-        Context con = null;
-        synchronized (this.context) {
-            con = this.context.inuse ? new Context() : this.context;
-            con.reset(target, start, end, this.numberOfClosures);
-        }
-        if (match != null) {
-            match.setNumberOfGroups(this.nofparen);
-            match.setSource(target);
-        } else if (this.hasBackReferences) {
-            match = new Match();
-            match.setNumberOfGroups(this.nofparen);
-            // Need not to call setSource() because
-            // a caller can not access this match instance.
-        }
-        con.match = match;
-
-        if (this.isSet(this.options, XMLSCHEMA_MODE)) {
-            if (DEBUG) {
-                System.err.println("target string="+target);
-            }
-            int matchEnd = this. matchString (con, this.operations, con.start, 1, this.options);
-            if (DEBUG) {
-                System.err.println("matchEnd="+matchEnd);
-                System.err.println("con.limit="+con.limit);
-            }
-            if (matchEnd == con.limit) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, con.start);
-                    con.match.setEnd(0, matchEnd);
-                }
-                con.inuse = false;
-                return true;
-            }
-            return false;
-        }
-
-        /*
-         * The pattern has only fixed string.
-         * The engine uses Boyer-Moore.
-         */
-        if (this.fixedStringOnly) {
-            //System.err.println("DEBUG: fixed-only: "+this.fixedString);
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o >= 0) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, o);
-                    con.match.setEnd(0, o+this.fixedString.length());
-                }
-                con.inuse = false;
-                return true;
-            }
-            con.inuse = false;
-            return false;
-        }
-
-        /*
-         * The pattern contains a fixed string.
-         * The engine checks with Boyer-Moore whether the text contains the fixed string or not.
-         * If not, it return with false.
-         */
-        if (this.fixedString != null) {
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o < 0) {
-                //System.err.println("Non-match in fixed-string search.");
-                con.inuse = false;
-                return false;
-            }
-        }
-
-        int limit = con.limit-this.minlength;
-        int matchStart;
-        int matchEnd = -1;
-
-        /*
-         * Checks whether the expression starts with ".*".
-         */
-        if (this.operations != null
-            && this.operations.type == Op.CLOSURE && this.operations.getChild().type == Op.DOT) {
-            if (isSet(this.options, SINGLE_LINE)) {
-                matchStart = con.start;
-                matchEnd = this. matchString (con, this.operations, con.start, 1, this.options);
-            } else {
-                boolean previousIsEOL = true;
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .charAt(  matchStart ) ;
-                    if (isEOLChar(ch)) {
-                        previousIsEOL = true;
-                    } else {
-                        if (previousIsEOL) {
-                            if (0 <= (matchEnd = this. matchString (con, this.operations,
-                                                                    matchStart, 1, this.options)))
-                                break;
-                        }
-                        previousIsEOL = false;
-                    }
-                }
-            }
-        }
-
-        /*
-         * Optimization against the first character.
-         */
-        else if (this.firstChar != null) {
-            //System.err.println("DEBUG: with firstchar-matching: "+this.firstChar);
-            RangeToken range = this.firstChar;
-            if (this.isSet(this.options, IGNORE_CASE)) {
-                range = this.firstChar.getCaseInsensitiveToken();
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .charAt(  matchStart ) ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit) {
-                        ch = REUtil.composeFromSurrogates(ch,  target .charAt(  matchStart+1 ) );
-                        if (!range.match(ch))  continue;
-                    } else {
-                        if (!range.match(ch)) {
-                            char ch1 = Character.toUpperCase((char)ch);
-                            if (!range.match(ch1))
-                                if (!range.match(Character.toLowerCase(ch1)))
-                                    continue;
-                        }
-                    }
-                    if (0 <= (matchEnd = this. matchString (con, this.operations,
-                                                            matchStart, 1, this.options)))
-                        break;
-                }
-            } else {
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .charAt(  matchStart ) ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target .charAt(  matchStart+1 ) );
-                    if (!range.match(ch))  continue;
-                    if (0 <= (matchEnd = this. matchString (con, this.operations,
-                                                            matchStart, 1, this.options)))
-                        break;
-                }
-            }
-        }
-
-        /*
-         * Straightforward matching.
-         */
-        else {
-            for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                if (0 <= (matchEnd = this. matchString (con, this.operations, matchStart, 1, this.options)))
-                    break;
-            }
-        }
-
-        if (matchEnd >= 0) {
-            if (con.match != null) {
-                con.match.setBeginning(0, matchStart);
-                con.match.setEnd(0, matchEnd);
-            }
-            con.inuse = false;
-            return true;
-        } else {
-            con.inuse = false;
-            return false;
-        }
-    }
-
-    /**
-     * @return -1 when not match; offset of the end of matched string when match.
-     */
-    private int matchString (Context con, Op op, int offset, int dx, int opts) {
-
-
-
-
-        String target = con.strTarget;
-
-
-
-
-        while (true) {
-            if (op == null)
-                return isSet(opts, XMLSCHEMA_MODE) && offset != con.limit ? -1 : offset;
-            if (offset > con.limit || offset < con.start)
-                return -1;
-            switch (op.type) {
-            case Op.CHAR:
-                if (isSet(opts, IGNORE_CASE)) {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || !matchIgnoreCase(ch,  target .charAt(  offset ) ))
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || !matchIgnoreCase(ch,  target .charAt(  o1 ) ))
-                            return -1;
-                        offset = o1;
-                    }
-                } else {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || ch !=  target .charAt(  offset ) )
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || ch !=  target .charAt(  o1 ) )
-                            return -1;
-                        offset = o1;
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.DOT:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target .charAt(  offset ) ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            offset ++;
-                    } else {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            ch = REUtil.composeFromSurrogates(ch,  target .charAt(  ++offset ) );
-                        if (isEOLChar(ch))
-                            return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target .charAt(  o1 ) ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            o1 --;
-                    } else {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            ch = REUtil.composeFromSurrogates( target .charAt(  --o1 ) , ch);
-                        if (!isEOLChar(ch))
-                            return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.RANGE:
-            case Op.NRANGE:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target .charAt(  offset ) ;
-                    if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target .charAt(  ++offset ) );
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target .charAt(  o1 ) ;
-                    if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                        ch = REUtil.composeFromSurrogates( target .charAt(  --o1 ) , ch);
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.ANCHOR:
-                boolean go = false;
-                switch (op.getData()) {
-                case '^':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.start
-                              || offset > con.start && isEOLChar( target .charAt(  offset-1 ) )))
-                            return -1;
-                    } else {
-                        if (offset != con.start)
-                            return -1;
-                    }
-                    break;
-
-                case '@':                         // Internal use only.
-                    // The @ always matches line beginnings.
-                    if (!(offset == con.start
-                          || offset > con.start && isEOLChar( target .charAt(  offset-1 ) )))
-                        return -1;
-                    break;
-
-                case '$':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.limit
-                              || offset < con.limit && isEOLChar( target .charAt(  offset ) )))
-                            return -1;
-                    } else {
-                        if (!(offset == con.limit
-                              || offset+1 == con.limit && isEOLChar( target .charAt(  offset ) )
-                              || offset+2 == con.limit &&  target .charAt(  offset )  == CARRIAGE_RETURN
-                              &&  target .charAt(  offset+1 )  == LINE_FEED))
-                            return -1;
-                    }
-                    break;
-
-                case 'A':
-                    if (offset != con.start)  return -1;
-                    break;
-
-                case 'Z':
-                    if (!(offset == con.limit
-                          || offset+1 == con.limit && isEOLChar( target .charAt(  offset ) )
-                          || offset+2 == con.limit &&  target .charAt(  offset )  == CARRIAGE_RETURN
-                          &&  target .charAt(  offset+1 )  == LINE_FEED))
-                        return -1;
-                    break;
-
-                case 'z':
-                    if (offset != con.limit)  return -1;
-                    break;
-
-                case 'b':
-                    if (con.length == 0)  return -1;
-                    {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        if (after == WT_IGNORE)  return -1;
-                        int before = getPreviousWordType(target, con.start, con.limit, offset, opts);
-                        if (after == before)  return -1;
-                    }
-                    break;
-
-                case 'B':
-                    if (con.length == 0)
-                        go = true;
-                    else {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        go = after == WT_IGNORE
-                             || after == getPreviousWordType(target, con.start, con.limit, offset, opts);
-                    }
-                    if (!go)  return -1;
-                    break;
-
-                case '<':
-                    if (con.length == 0 || offset == con.limit)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_LETTER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_OTHER)
-                        return -1;
-                    break;
-
-                case '>':
-                    if (con.length == 0 || offset == con.start)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_OTHER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_LETTER)
-                        return -1;
-                    break;
-                } // switch anchor type
-                op = op.next;
-                break;
-
-            case Op.BACKREFERENCE:
-                {
-                    int refno = op.getData();
-                    if (refno <= 0 || refno >= this.nofparen)
-                        throw new RuntimeException("Internal Error: Reference number must be more than zero: "+refno);
-                    if (con.match.getBeginning(refno) < 0
-                        || con.match.getEnd(refno) < 0)
-                        return -1;                // ********
-                    int o2 = con.match.getBeginning(refno);
-                    int literallen = con.match.getEnd(refno)-o2;
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-            case Op.STRING:
-                {
-                    String literal = op.getString();
-                    int literallen = literal.length();
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.CLOSURE:
-                {
-                    /*
-                     * Saves current position to avoid
-                     * zero-width repeats.
-                     */
-                    int id = op.getData();
-                    if (id >= 0) {
-                        int previousOffset = con.offsets[id];
-                        if (previousOffset < 0 || previousOffset != offset) {
-                            con.offsets[id] = offset;
-                        } else {
-                            con.offsets[id] = -1;
-                            op = op.next;
-                            break;
-                        }
-                    }
-                    int ret = this. matchString (con, op.getChild(), offset, dx, opts);
-                    if (id >= 0)  con.offsets[id] = -1;
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.QUESTION:
-                {
-                    int ret = this. matchString (con, op.getChild(), offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.NONGREEDYCLOSURE:
-            case Op.NONGREEDYQUESTION:
-                {
-                    int ret = this. matchString (con, op.next, offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.getChild();
-                }
-                break;
-
-            case Op.UNION:
-                for (int i = 0;  i < op.size();  i ++) {
-                    int ret = this. matchString (con, op.elementAt(i), offset, dx, opts);
-                    if (DEBUG) {
-                        System.err.println("UNION: "+i+", ret="+ret);
-                    }
-                    if (ret >= 0)  return ret;
-                }
-                return -1;
-
-            case Op.CAPTURE:
-                int refno = op.getData();
-                if (con.match != null && refno > 0) {
-                    int save = con.match.getBeginning(refno);
-                    con.match.setBeginning(refno, offset);
-                    int ret = this. matchString (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setBeginning(refno, save);
-                    return ret;
-                } else if (con.match != null && refno < 0) {
-                    int index = -refno;
-                    int save = con.match.getEnd(index);
-                    con.match.setEnd(index, offset);
-                    int ret = this. matchString (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setEnd(index, save);
-                    return ret;
-                }
-                op = op.next;
-                break;
-
-            case Op.LOOKAHEAD:
-                if (0 > this. matchString (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKAHEAD:
-                if (0 <= this. matchString (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.LOOKBEHIND:
-                if (0 > this. matchString (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKBEHIND:
-                if (0 <= this. matchString (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-
-            case Op.INDEPENDENT:
-                {
-                    int ret = this. matchString (con, op.getChild(), offset, dx, opts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.MODIFIER:
-                {
-                    int localopts = opts;
-                    localopts |= op.getData();
-                    localopts &= ~op.getData2();
-                    //System.err.println("MODIFIER: "+Integer.toString(opts, 16)+" -> "+Integer.toString(localopts, 16));
-                    int ret = this. matchString (con, op.getChild(), offset, dx, localopts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.CONDITION:
-                {
-                    Op.ConditionOp cop = (Op.ConditionOp)op;
-                    boolean matchp = false;
-                    if (cop.refNumber > 0) {
-                        if (cop.refNumber >= this.nofparen)
-                            throw new RuntimeException("Internal Error: Reference number must be more than zero: "+cop.refNumber);
-                        matchp = con.match.getBeginning(cop.refNumber) >= 0
-                                 && con.match.getEnd(cop.refNumber) >= 0;
-                    } else {
-                        matchp = 0 <= this. matchString (con, cop.condition, offset, dx, opts);
-                    }
-
-                    if (matchp) {
-                        op = cop.yes;
-                    } else if (cop.no != null) {
-                        op = cop.no;
-                    } else {
-                        op = cop.next;
-                    }
-                }
-                break;
-
-            default:
-                throw new RuntimeException("Unknown operation type: "+op.type);
-            } // switch (op.type)
-        } // while
-    }
-
-    private static final int getPreviousWordType(String  target, int begin, int end,
-                                                 int offset, int opts) {
-        int ret = getWordType(target, begin, end, --offset, opts);
-        while (ret == WT_IGNORE)
-            ret = getWordType(target, begin, end, --offset, opts);
-        return ret;
-    }
-
-    private static final int getWordType(String  target, int begin, int end,
-                                         int offset, int opts) {
-        if (offset < begin || offset >= end)  return WT_OTHER;
-        return getWordType0( target .charAt(  offset ) , opts);
-    }
-
-
-    private static final boolean regionMatches(String text, int offset, int limit,
-                                               String part, int partlen) {
-        if (limit-offset < partlen)  return false;
-        return text.regionMatches(offset, part, 0, partlen);
-    }
-
-    private static final boolean regionMatches(String text, int offset, int limit,
-                                               int offset2, int partlen) {
-        if (limit-offset < partlen)  return false;
-        return text.regionMatches(offset, text, offset2, partlen);
-    }
-
-    private static final boolean regionMatchesIgnoreCase(String text, int offset, int limit,
-                                                         String part, int partlen) {
-        return text.regionMatches(true, offset, part, 0, partlen);
-    }
-
-    private static final boolean regionMatchesIgnoreCase(String text, int offset, int limit,
-                                                         int offset2, int partlen) {
-        if (limit-offset < partlen)  return false;
-        return text.regionMatches(true, offset, text, offset2, partlen);
-    }
-
-
-
-
-
-
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @return true if the target is matched to this regular expression.
-     */
-    public boolean matches(CharacterIterator target) {
-        return this.matches(target, (Match)null);
-    }
-
-
-    /**
-     * Checks whether the <var>target</var> text <strong>contains</strong> this pattern or not.
-     *
-     * @param match A Match instance for storing matching result.
-     * @return Offset of the start position in <VAR>target</VAR>; or -1 if not match.
-     */
-    public boolean matches(CharacterIterator  target, Match match) {
-        int start = target.getBeginIndex();
-        int end = target.getEndIndex();
-
-
-
-        synchronized (this) {
-            if (this.operations == null)
-                this.prepare();
-            if (this.context == null)
-                this.context = new Context();
-        }
-        Context con = null;
-        synchronized (this.context) {
-            con = this.context.inuse ? new Context() : this.context;
-            con.reset(target, start, end, this.numberOfClosures);
-        }
-        if (match != null) {
-            match.setNumberOfGroups(this.nofparen);
-            match.setSource(target);
-        } else if (this.hasBackReferences) {
-            match = new Match();
-            match.setNumberOfGroups(this.nofparen);
-            // Need not to call setSource() because
-            // a caller can not access this match instance.
-        }
-        con.match = match;
-
-        if (this.isSet(this.options, XMLSCHEMA_MODE)) {
-            int matchEnd = this. matchCharacterIterator (con, this.operations, con.start, 1, this.options);
-            //System.err.println("DEBUG: matchEnd="+matchEnd);
-            if (matchEnd == con.limit) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, con.start);
-                    con.match.setEnd(0, matchEnd);
-                }
-                con.inuse = false;
-                return true;
-            }
-            return false;
-        }
-
-        /*
-         * The pattern has only fixed string.
-         * The engine uses Boyer-Moore.
-         */
-        if (this.fixedStringOnly) {
-            //System.err.println("DEBUG: fixed-only: "+this.fixedString);
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o >= 0) {
-                if (con.match != null) {
-                    con.match.setBeginning(0, o);
-                    con.match.setEnd(0, o+this.fixedString.length());
-                }
-                con.inuse = false;
-                return true;
-            }
-            con.inuse = false;
-            return false;
-        }
-
-        /*
-         * The pattern contains a fixed string.
-         * The engine checks with Boyer-Moore whether the text contains the fixed string or not.
-         * If not, it return with false.
-         */
-        if (this.fixedString != null) {
-            int o = this.fixedStringTable.matches(target, con.start, con.limit);
-            if (o < 0) {
-                //System.err.println("Non-match in fixed-string search.");
-                con.inuse = false;
-                return false;
-            }
-        }
-
-        int limit = con.limit-this.minlength;
-        int matchStart;
-        int matchEnd = -1;
-
-        /*
-         * Checks whether the expression starts with ".*".
-         */
-        if (this.operations != null
-            && this.operations.type == Op.CLOSURE && this.operations.getChild().type == Op.DOT) {
-            if (isSet(this.options, SINGLE_LINE)) {
-                matchStart = con.start;
-                matchEnd = this. matchCharacterIterator (con, this.operations, con.start, 1, this.options);
-            } else {
-                boolean previousIsEOL = true;
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .setIndex(  matchStart ) ;
-                    if (isEOLChar(ch)) {
-                        previousIsEOL = true;
-                    } else {
-                        if (previousIsEOL) {
-                            if (0 <= (matchEnd = this. matchCharacterIterator (con, this.operations,
-                                                                               matchStart, 1, this.options)))
-                                break;
-                        }
-                        previousIsEOL = false;
-                    }
-                }
-            }
-        }
-
-        /*
-         * Optimization against the first character.
-         */
-        else if (this.firstChar != null) {
-            //System.err.println("DEBUG: with firstchar-matching: "+this.firstChar);
-            RangeToken range = this.firstChar;
-            if (this.isSet(this.options, IGNORE_CASE)) {
-                range = this.firstChar.getCaseInsensitiveToken();
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .setIndex(  matchStart ) ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit) {
-                        ch = REUtil.composeFromSurrogates(ch,  target .setIndex(  matchStart+1 ) );
-                        if (!range.match(ch))  continue;
-                    } else {
-                        if (!range.match(ch)) {
-                            char ch1 = Character.toUpperCase((char)ch);
-                            if (!range.match(ch1))
-                                if (!range.match(Character.toLowerCase(ch1)))
-                                    continue;
-                        }
-                    }
-                    if (0 <= (matchEnd = this. matchCharacterIterator (con, this.operations,
-                                                                       matchStart, 1, this.options)))
-                        break;
-                }
-            } else {
-                for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                    int ch =  target .setIndex(  matchStart ) ;
-                    if (REUtil.isHighSurrogate(ch) && matchStart+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target .setIndex(  matchStart+1 ) );
-                    if (!range.match(ch))  continue;
-                    if (0 <= (matchEnd = this. matchCharacterIterator (con, this.operations,
-                                                                       matchStart, 1, this.options)))
-                        break;
-                }
-            }
-        }
-
-        /*
-         * Straightforward matching.
-         */
-        else {
-            for (matchStart = con.start;  matchStart <= limit;  matchStart ++) {
-                if (0 <= (matchEnd = this. matchCharacterIterator (con, this.operations, matchStart, 1, this.options)))
-                    break;
-            }
-        }
-
-        if (matchEnd >= 0) {
-            if (con.match != null) {
-                con.match.setBeginning(0, matchStart);
-                con.match.setEnd(0, matchEnd);
-            }
-            con.inuse = false;
-            return true;
-        } else {
-            con.inuse = false;
-            return false;
-        }
-    }
-
-    /**
-     * @return -1 when not match; offset of the end of matched string when match.
-     */
-    private int matchCharacterIterator (Context con, Op op, int offset, int dx, int opts) {
-
-
-        CharacterIterator target = con.ciTarget;
-
-
-
-
-
-
-        while (true) {
-            if (op == null)
-                return isSet(opts, XMLSCHEMA_MODE) && offset != con.limit ? -1 : offset;
-            if (offset > con.limit || offset < con.start)
-                return -1;
-            switch (op.type) {
-            case Op.CHAR:
-                if (isSet(opts, IGNORE_CASE)) {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || !matchIgnoreCase(ch,  target .setIndex(  offset ) ))
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || !matchIgnoreCase(ch,  target .setIndex(  o1 ) ))
-                            return -1;
-                        offset = o1;
-                    }
-                } else {
-                    int ch = op.getData();
-                    if (dx > 0) {
-                        if (offset >= con.limit || ch !=  target .setIndex(  offset ) )
-                            return -1;
-                        offset ++;
-                    } else {
-                        int o1 = offset-1;
-                        if (o1 >= con.limit || o1 < 0 || ch !=  target .setIndex(  o1 ) )
-                            return -1;
-                        offset = o1;
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.DOT:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target .setIndex(  offset ) ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            offset ++;
-                    } else {
-                        if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                            ch = REUtil.composeFromSurrogates(ch,  target .setIndex(  ++offset ) );
-                        if (isEOLChar(ch))
-                            return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target .setIndex(  o1 ) ;
-                    if (isSet(opts, SINGLE_LINE)) {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            o1 --;
-                    } else {
-                        if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                            ch = REUtil.composeFromSurrogates( target .setIndex(  --o1 ) , ch);
-                        if (!isEOLChar(ch))
-                            return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.RANGE:
-            case Op.NRANGE:
-                if (dx > 0) {
-                    if (offset >= con.limit)
-                        return -1;
-                    int ch =  target .setIndex(  offset ) ;
-                    if (REUtil.isHighSurrogate(ch) && offset+1 < con.limit)
-                        ch = REUtil.composeFromSurrogates(ch,  target .setIndex(  ++offset ) );
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset ++;
-                } else {
-                    int o1 = offset-1;
-                    if (o1 >= con.limit || o1 < 0)
-                        return -1;
-                    int ch =  target .setIndex(  o1 ) ;
-                    if (REUtil.isLowSurrogate(ch) && o1-1 >= 0)
-                        ch = REUtil.composeFromSurrogates( target .setIndex(  --o1 ) , ch);
-                    RangeToken tok = op.getToken();
-                    if (isSet(opts, IGNORE_CASE)) {
-                        tok = tok.getCaseInsensitiveToken();
-                        if (!tok.match(ch)) {
-                            if (ch >= 0x10000)  return -1;
-                            char uch;
-                            if (!tok.match(uch = Character.toUpperCase((char)ch))
-                                && !tok.match(Character.toLowerCase(uch)))
-                                return -1;
-                        }
-                    } else {
-                        if (!tok.match(ch))  return -1;
-                    }
-                    offset = o1;
-                }
-                op = op.next;
-                break;
-
-            case Op.ANCHOR:
-                boolean go = false;
-                switch (op.getData()) {
-                case '^':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.start
-                              || offset > con.start && isEOLChar( target .setIndex(  offset-1 ) )))
-                            return -1;
-                    } else {
-                        if (offset != con.start)
-                            return -1;
-                    }
-                    break;
-
-                case '@':                         // Internal use only.
-                    // The @ always matches line beginnings.
-                    if (!(offset == con.start
-                          || offset > con.start && isEOLChar( target .setIndex(  offset-1 ) )))
-                        return -1;
-                    break;
-
-                case '$':
-                    if (isSet(opts, MULTIPLE_LINES)) {
-                        if (!(offset == con.limit
-                              || offset < con.limit && isEOLChar( target .setIndex(  offset ) )))
-                            return -1;
-                    } else {
-                        if (!(offset == con.limit
-                              || offset+1 == con.limit && isEOLChar( target .setIndex(  offset ) )
-                              || offset+2 == con.limit &&  target .setIndex(  offset )  == CARRIAGE_RETURN
-                              &&  target .setIndex(  offset+1 )  == LINE_FEED))
-                            return -1;
-                    }
-                    break;
-
-                case 'A':
-                    if (offset != con.start)  return -1;
-                    break;
-
-                case 'Z':
-                    if (!(offset == con.limit
-                          || offset+1 == con.limit && isEOLChar( target .setIndex(  offset ) )
-                          || offset+2 == con.limit &&  target .setIndex(  offset )  == CARRIAGE_RETURN
-                          &&  target .setIndex(  offset+1 )  == LINE_FEED))
-                        return -1;
-                    break;
-
-                case 'z':
-                    if (offset != con.limit)  return -1;
-                    break;
-
-                case 'b':
-                    if (con.length == 0)  return -1;
-                    {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        if (after == WT_IGNORE)  return -1;
-                        int before = getPreviousWordType(target, con.start, con.limit, offset, opts);
-                        if (after == before)  return -1;
-                    }
-                    break;
-
-                case 'B':
-                    if (con.length == 0)
-                        go = true;
-                    else {
-                        int after = getWordType(target, con.start, con.limit, offset, opts);
-                        go = after == WT_IGNORE
-                             || after == getPreviousWordType(target, con.start, con.limit, offset, opts);
-                    }
-                    if (!go)  return -1;
-                    break;
-
-                case '<':
-                    if (con.length == 0 || offset == con.limit)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_LETTER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_OTHER)
-                        return -1;
-                    break;
-
-                case '>':
-                    if (con.length == 0 || offset == con.start)  return -1;
-                    if (getWordType(target, con.start, con.limit, offset, opts) != WT_OTHER
-                        || getPreviousWordType(target, con.start, con.limit, offset, opts) != WT_LETTER)
-                        return -1;
-                    break;
-                } // switch anchor type
-                op = op.next;
-                break;
-
-            case Op.BACKREFERENCE:
-                {
-                    int refno = op.getData();
-                    if (refno <= 0 || refno >= this.nofparen)
-                        throw new RuntimeException("Internal Error: Reference number must be more than zero: "+refno);
-                    if (con.match.getBeginning(refno) < 0
-                        || con.match.getEnd(refno) < 0)
-                        return -1;                // ********
-                    int o2 = con.match.getBeginning(refno);
-                    int literallen = con.match.getEnd(refno)-o2;
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, o2, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         o2, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-            case Op.STRING:
-                {
-                    String literal = op.getString();
-                    int literallen = literal.length();
-                    if (!isSet(opts, IGNORE_CASE)) {
-                        if (dx > 0) {
-                            if (!regionMatches(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatches(target, offset-literallen, con.limit, literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    } else {
-                        if (dx > 0) {
-                            if (!regionMatchesIgnoreCase(target, offset, con.limit, literal, literallen))
-                                return -1;
-                            offset += literallen;
-                        } else {
-                            if (!regionMatchesIgnoreCase(target, offset-literallen, con.limit,
-                                                         literal, literallen))
-                                return -1;
-                            offset -= literallen;
-                        }
-                    }
-                }
-                op = op.next;
-                break;
-
-            case Op.CLOSURE:
-                {
-                    /*
-                     * Saves current position to avoid
-                     * zero-width repeats.
-                     */
-                    int id = op.getData();
-                    if (id >= 0) {
-                        int previousOffset = con.offsets[id];
-                        if (previousOffset < 0 || previousOffset != offset) {
-                            con.offsets[id] = offset;
-                        } else {
-                            con.offsets[id] = -1;
-                            op = op.next;
-                            break;
-                        }
-                    }
-                    
-                    int ret = this. matchCharacterIterator (con, op.getChild(), offset, dx, opts);
-                    if (id >= 0)  con.offsets[id] = -1;
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.QUESTION:
-                {
-                    int ret = this. matchCharacterIterator (con, op.getChild(), offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.NONGREEDYCLOSURE:
-            case Op.NONGREEDYQUESTION:
-                {
-                    int ret = this. matchCharacterIterator (con, op.next, offset, dx, opts);
-                    if (ret >= 0)  return ret;
-                    op = op.getChild();
-                }
-                break;
-
-            case Op.UNION:
-                for (int i = 0;  i < op.size();  i ++) {
-                    int ret = this. matchCharacterIterator (con, op.elementAt(i), offset, dx, opts);
-                    if (DEBUG) {
-                        System.err.println("UNION: "+i+", ret="+ret);
-                    }
-                    if (ret >= 0)  return ret;
-                }
-                return -1;
-
-            case Op.CAPTURE:
-                int refno = op.getData();
-                if (con.match != null && refno > 0) {
-                    int save = con.match.getBeginning(refno);
-                    con.match.setBeginning(refno, offset);
-                    int ret = this. matchCharacterIterator (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setBeginning(refno, save);
-                    return ret;
-                } else if (con.match != null && refno < 0) {
-                    int index = -refno;
-                    int save = con.match.getEnd(index);
-                    con.match.setEnd(index, offset);
-                    int ret = this. matchCharacterIterator (con, op.next, offset, dx, opts);
-                    if (ret < 0)  con.match.setEnd(index, save);
-                    return ret;
-                }
-                op = op.next;
-                break;
-
-            case Op.LOOKAHEAD:
-                if (0 > this. matchCharacterIterator (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKAHEAD:
-                if (0 <= this. matchCharacterIterator (con, op.getChild(), offset, 1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.LOOKBEHIND:
-                if (0 > this. matchCharacterIterator (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-            case Op.NEGATIVELOOKBEHIND:
-                if (0 <= this. matchCharacterIterator (con, op.getChild(), offset, -1, opts))  return -1;
-                op = op.next;
-                break;
-
-            case Op.INDEPENDENT:
-                {
-                    int ret = this. matchCharacterIterator (con, op.getChild(), offset, dx, opts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.MODIFIER:
-                {
-                    int localopts = opts;
-                    localopts |= op.getData();
-                    localopts &= ~op.getData2();
-                    //System.err.println("MODIFIER: "+Integer.toString(opts, 16)+" -> "+Integer.toString(localopts, 16));
-                    int ret = this. matchCharacterIterator (con, op.getChild(), offset, dx, localopts);
-                    if (ret < 0)  return ret;
-                    offset = ret;
-                    op = op.next;
-                }
-                break;
-
-            case Op.CONDITION:
-                {
-                    Op.ConditionOp cop = (Op.ConditionOp)op;
-                    boolean matchp = false;
-                    if (cop.refNumber > 0) {
-                        if (cop.refNumber >= this.nofparen)
-                            throw new RuntimeException("Internal Error: Reference number must be more than zero: "+cop.refNumber);
-                        matchp = con.match.getBeginning(cop.refNumber) >= 0
-                                 && con.match.getEnd(cop.refNumber) >= 0;
-                    } else {
-                        matchp = 0 <= this. matchCharacterIterator (con, cop.condition, offset, dx, opts);
-                    }
-
-                    if (matchp) {
-                        op = cop.yes;
-                    } else if (cop.no != null) {
-                        op = cop.no;
-                    } else {
-                        op = cop.next;
-                    }
-                }
-                break;
-
-            default:
-                throw new RuntimeException("Unknown operation type: "+op.type);
-            } // switch (op.type)
-        } // while
-    }
-
-    private static final int getPreviousWordType(CharacterIterator  target, int begin, int end,
-                                                 int offset, int opts) {
-        int ret = getWordType(target, begin, end, --offset, opts);
-        while (ret == WT_IGNORE)
-            ret = getWordType(target, begin, end, --offset, opts);
-        return ret;
-    }
-
-    private static final int getWordType(CharacterIterator  target, int begin, int end,
-                                         int offset, int opts) {
-        if (offset < begin || offset >= end)  return WT_OTHER;
-        return getWordType0( target .setIndex(  offset ) , opts);
-    }
-
-
-
-    private static final boolean regionMatches(CharacterIterator  target, int offset, int limit,
-                                               String part, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = 0;
-        while (partlen-- > 0) {
-            if ( target .setIndex(  offset++ )  != part.charAt(i++))
-                return false;
-        }
-        return true;
-    }
-
-    private static final boolean regionMatches(CharacterIterator  target, int offset, int limit,
-                                               int offset2, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = offset2;
-        while (partlen-- > 0) {
-            if ( target .setIndex(  offset++ )  !=  target .setIndex(  i++ ) )
-                return false;
-        }
-        return true;
-    }
-
-    /**
-     * @see java.lang.String#regionMatches
-     */
-    private static final boolean regionMatchesIgnoreCase(CharacterIterator  target, int offset, int limit,
-                                                         String part, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = 0;
-        while (partlen-- > 0) {
-            char ch1 =  target .setIndex(  offset++ ) ;
-            char ch2 = part.charAt(i++);
-            if (ch1 == ch2)
-                continue;
-            char uch1 = Character.toUpperCase(ch1);
-            char uch2 = Character.toUpperCase(ch2);
-            if (uch1 == uch2)
-                continue;
-            if (Character.toLowerCase(uch1) != Character.toLowerCase(uch2))
-                return false;
-        }
-        return true;
-    }
-
-    private static final boolean regionMatchesIgnoreCase(CharacterIterator  target, int offset, int limit,
-                                                         int offset2, int partlen) {
-        if (offset < 0)  return false;
-        if (limit-offset < partlen)
-            return false;
-        int i = offset2;
-        while (partlen-- > 0) {
-            char ch1 =  target .setIndex(  offset++ ) ;
-            char ch2 =  target .setIndex(  i++ ) ;
-            if (ch1 == ch2)
-                continue;
-            char uch1 = Character.toUpperCase(ch1);
-            char uch2 = Character.toUpperCase(ch2);
-            if (uch1 == uch2)
-                continue;
-            if (Character.toLowerCase(uch1) != Character.toLowerCase(uch2))
-                return false;
-        }
-        return true;
-    }
-
-
-
-
-    // ================================================================
-
-    /**
-     * A regular expression.
-     * @serial
-     */
-    String regex;
-    /**
-     * @serial
-     */
-    int options;
-
-    /**
-     * The number of parenthesis in the regular expression.
-     * @serial
-     */
-    int nofparen;
-    /**
-     * Internal representation of the regular expression.
-     * @serial
-     */
-    Token tokentree;
-
-    boolean hasBackReferences = false;
-
-    transient int minlength;
-    transient Op operations = null;
-    transient int numberOfClosures;
-    transient Context context = null;
-    transient RangeToken firstChar = null;
-
-    transient String fixedString = null;
-    transient int fixedStringOptions;
-    transient BMPattern fixedStringTable = null;
-    transient boolean fixedStringOnly = false;
-
-
-    static final class Context {
-        CharacterIterator ciTarget;
-        String strTarget;
-        char[] charTarget;
-        int start;
-        int limit;
-        int length;
-        Match match;
-        boolean inuse = false;
-        int[] offsets;
-
-        Context() {
-        }
-
-        private void resetCommon(int nofclosures) {
-            this.length = this.limit-this.start;
-            this.inuse = true;
-            this.match = null;
-            if (this.offsets == null || this.offsets.length != nofclosures)
-                this.offsets = new int[nofclosures];
-            for (int i = 0;  i < nofclosures;  i ++)  this.offsets[i] = -1;
-        }
-        void reset(CharacterIterator target, int start, int limit, int nofclosures) {
-            this.ciTarget = target;
-            this.start = start;
-            this.limit = limit;
-            this.resetCommon(nofclosures);
-        }
-        void reset(String target, int start, int limit, int nofclosures) {
-            this.strTarget = target;
-            this.start = start;
-            this.limit = limit;
-            this.resetCommon(nofclosures);
-        }
-        void reset(char[] target, int start, int limit, int nofclosures) {
-            this.charTarget = target;
-            this.start = start;
-            this.limit = limit;
-            this.resetCommon(nofclosures);
-        }
-    }
-
-    /**
-     * Prepares for matching.  This method is called just before starting matching.
-     */
-    void prepare() {
-        if (Op.COUNT)  Op.nofinstances = 0;
-        this.compile(this.tokentree);
-        /*
-        if  (this.operations.type == Op.CLOSURE && this.operations.getChild().type == Op.DOT) { // .*
-            Op anchor = Op.createAnchor(isSet(this.options, SINGLE_LINE) ? 'A' : '@');
-            anchor.next = this.operations;
-            this.operations = anchor;
-        }
-        */
-        if (Op.COUNT)  System.err.println("DEBUG: The number of operations: "+Op.nofinstances);
-
-        this.minlength = this.tokentree.getMinLength();
-
-        this.firstChar = null;
-        if (!isSet(this.options, PROHIBIT_HEAD_CHARACTER_OPTIMIZATION)
-            && !isSet(this.options, XMLSCHEMA_MODE)) {
-            RangeToken firstChar = Token.createRange();
-            int fresult = this.tokentree.analyzeFirstCharacter(firstChar, this.options);
-            if (fresult == Token.FC_TERMINAL) {
-                firstChar.compactRanges();
-                this.firstChar = firstChar;
-                if (DEBUG)
-                    System.err.println("DEBUG: Use the first character optimization: "+firstChar);
-            }
-        }
-
-        if (this.operations != null
-            && (this.operations.type == Op.STRING || this.operations.type == Op.CHAR)
-            && this.operations.next == null) {
-            if (DEBUG)
-                System.err.print(" *** Only fixed string! *** ");
-            this.fixedStringOnly = true;
-            if (this.operations.type == Op.STRING)
-                this.fixedString = this.operations.getString();
-            else if (this.operations.getData() >= 0x10000) { // Op.CHAR
-                this.fixedString = REUtil.decomposeToSurrogates(this.operations.getData());
-            } else {
-                char[] ac = new char[1];
-                ac[0] = (char)this.operations.getData();
-                this.fixedString = new String(ac);
-            }
-            this.fixedStringOptions = this.options;
-            this.fixedStringTable = new BMPattern(this.fixedString, 256,
-                                                  isSet(this.fixedStringOptions, IGNORE_CASE));
-        } else if (!isSet(this.options, PROHIBIT_FIXED_STRING_OPTIMIZATION)
-                   && !isSet(this.options, XMLSCHEMA_MODE)) {
-            Token.FixedStringContainer container = new Token.FixedStringContainer();
-            this.tokentree.findFixedString(container, this.options);
-            this.fixedString = container.token == null ? null : container.token.getString();
-            this.fixedStringOptions = container.options;
-            if (this.fixedString != null && this.fixedString.length() < 2)
-                this.fixedString = null;
-            // This pattern has a fixed string of which length is more than one.
-            if (this.fixedString != null) {
-                this.fixedStringTable = new BMPattern(this.fixedString, 256,
-                                                      isSet(this.fixedStringOptions, IGNORE_CASE));
-                if (DEBUG) {
-                    System.err.println("DEBUG: The longest fixed string: "+this.fixedString.length()
-                                       +"/" //+this.fixedString
-                                       +"/"+REUtil.createOptionString(this.fixedStringOptions));
-                    System.err.print("String: ");
-                    REUtil.dumpString(this.fixedString);
-                }
-            }
-        }
-    }
-
-    /**
-     * An option.
-     * If you specify this option, <span class="REGEX"><kbd>(</kbd><var>X</var><kbd>)</kbd></span>
-     * captures matched text, and <span class="REGEX"><kbd>(:?</kbd><var>X</var><kbd>)</kbd></span>
-     * does not capture.
-     *
-     * @see #RegularExpression(java.lang.String,int)
-     * @see #setPattern(java.lang.String,int)
-    static final int MARK_PARENS = 1<<0;
-     */
-
-    /**
-     * "i"
-     */
-    static final int IGNORE_CASE = 1<<1;
-
-    /**
-     * "s"
-     */
-    static final int SINGLE_LINE = 1<<2;
-
-    /**
-     * "m"
-     */
-    static final int MULTIPLE_LINES = 1<<3;
-
-    /**
-     * "x"
-     */
-    static final int EXTENDED_COMMENT = 1<<4;
-
-    /**
-     * This option redefines <span class="REGEX"><kbd>\d \D \w \W \s \S</kbd></span>.
-     *
-     * @see #RegularExpression(java.lang.String,int)
-     * @see #setPattern(java.lang.String,int)
-     * @see #UNICODE_WORD_BOUNDARY
-     */
-    static final int USE_UNICODE_CATEGORY = 1<<5; // "u"
-
-    /**
-     * An option.
-     * This enables to process locale-independent word boundary for <span class="REGEX"><kbd>\b \B \&lt; \></kbd></span>.
-     * <p>By default, the engine considers a position between a word character
-     * (<span class="REGEX"><Kbd>\w</kbd></span>) and a non word character
-     * is a word boundary.
-     * <p>By this option, the engine checks word boundaries with the method of
-     * 'Unicode Regular Expression Guidelines' Revision 4.
-     *
-     * @see #RegularExpression(java.lang.String,int)
-     * @see #setPattern(java.lang.String,int)
-     */
-    static final int UNICODE_WORD_BOUNDARY = 1<<6; // "w"
-
-    /**
-     * "H"
-     */
-    static final int PROHIBIT_HEAD_CHARACTER_OPTIMIZATION = 1<<7;
-    /**
-     * "F"
-     */
-    static final int PROHIBIT_FIXED_STRING_OPTIMIZATION = 1<<8;
-    /**
-     * "X". XML Schema mode.
-     */
-    static final int XMLSCHEMA_MODE = 1<<9;
-    /**
-     * ",".
-     */
-    static final int SPECIAL_COMMA = 1<<10;
-
-
-    private static final boolean isSet(int options, int flag) {
-        return (options & flag) == flag;
-    }
-
-    /**
-     * Creates a new RegularExpression instance.
-     *
-     * @param regex A regular expression
-     * @exception org.apache.xerces.utils.regex.ParseException <VAR>regex</VAR> is not conforming to the syntax.
-     */
-    public RegularExpression(String regex) throws ParseException {
-        this.setPattern(regex, null);
-    }
-
-    /**
-     * Creates a new RegularExpression instance with options.
-     *
-     * @param regex A regular expression
-     * @param options A String consisted of "i" "m" "s" "u" "w" "," "X"
-     * @exception org.apache.xerces.utils.regex.ParseException <VAR>regex</VAR> is not conforming to the syntax.
-     */
-    public RegularExpression(String regex, String options) throws ParseException {
-        this.setPattern(regex, options);
-    }
-
-    RegularExpression(String regex, Token tok, int parens, boolean hasBackReferences, int options) {
-        this.regex = regex;
-        this.tokentree = tok;
-        this.nofparen = parens;
-        this.options = options;
-        this.hasBackReferences = hasBackReferences;
-    }
-
-    /**
-     *
-     */
-    public void setPattern(String newPattern) throws ParseException {
-        this.setPattern(newPattern, this.options);
-    }
-
-    private void setPattern(String newPattern, int options) throws ParseException {
-        this.regex = newPattern;
-        this.options = options;
-        RegexParser rp = this.isSet(this.options, RegularExpression.XMLSCHEMA_MODE)
-                         ? new ParserForXMLSchema() : new RegexParser();
-        this.tokentree = rp.parse(this.regex, this.options);
-        this.nofparen = rp.parennumber;
-        this.hasBackReferences = rp.hasBackReferences;
-
-        this.operations = null;
-        this.context = null;
-    }
-    /**
-     *
-     */
-    public void setPattern(String newPattern, String options) throws ParseException {
-        this.setPattern(newPattern, REUtil.parseOptions(options));
-    }
-
-    /**
-     *
-     */
-    public String getPattern() {
-        return this.regex;
-    }
-
-    /**
-     * Represents this instence in String.
-     */
-    public String toString() {
-        return this.tokentree.toString(this.options);
-    }
-
-    /**
-     * Returns a option string.
-     * The order of letters in it may be different from a string specified
-     * in a constructor or <code>setPattern()</code>.
-     *
-     * @see #RegularExpression(java.lang.String,java.lang.String)
-     * @see #setPattern(java.lang.String,java.lang.String)
-     */
-    public String getOptions() {
-        return REUtil.createOptionString(this.options);
-    }
-
-    /**
-     *  Return true if patterns are the same and the options are equivalent.
-     */
-    public boolean equals(Object obj) {
-        if (obj == null)  return false;
-        if (!(obj instanceof RegularExpression))
-            return false;
-        RegularExpression r = (RegularExpression)obj;
-        return this.regex.equals(r.regex) && this.options == r.options;
-    }
-
-    boolean equals(String pattern, int options) {
-        return this.regex.equals(pattern) && this.options == options;
-    }
-
-    /**
-     *
-     */
-    public int hashCode() {
-        return (this.regex+"/"+this.getOptions()).hashCode();
-    }
-
-    /**
-     * Return the number of regular expression groups.
-     * This method returns 1 when the regular expression has no capturing-parenthesis.
-     *
-     */
-    public int getNumberOfGroups() {
-        return this.nofparen;
-    }
-
-    // ================================================================
-
-    private static final int WT_IGNORE = 0;
-    private static final int WT_LETTER = 1;
-    private static final int WT_OTHER = 2;
-    private static final int getWordType0(char ch, int opts) {
-        if (!isSet(opts, UNICODE_WORD_BOUNDARY)) {
-            if (isSet(opts, USE_UNICODE_CATEGORY)) {
-                return (Token.getRange("IsWord", true).match(ch)) ? WT_LETTER : WT_OTHER;
-            }
-            return isWordChar(ch) ? WT_LETTER : WT_OTHER;
-        }
-
-        switch (Character.getType(ch)) {
-        case Character.UPPERCASE_LETTER:      // L
-        case Character.LOWERCASE_LETTER:      // L
-        case Character.TITLECASE_LETTER:      // L
-        case Character.MODIFIER_LETTER:       // L
-        case Character.OTHER_LETTER:          // L
-        case Character.LETTER_NUMBER:         // N
-        case Character.DECIMAL_DIGIT_NUMBER:  // N
-        case Character.OTHER_NUMBER:          // N
-        case Character.COMBINING_SPACING_MARK: // Mc
-            return WT_LETTER;
-
-        case Character.FORMAT:                // Cf
-        case Character.NON_SPACING_MARK:      // Mn
-        case Character.ENCLOSING_MARK:        // Mc
-            return WT_IGNORE;
-
-        case Character.CONTROL:               // Cc
-            switch (ch) {
-            case '\t':
-            case '\n':
-            case '\u000B':
-            case '\f':
-            case '\r':
-                return WT_OTHER;
-            default:
-                return WT_IGNORE;
-            }
-
-        default:
-            return WT_OTHER;
-        }
-    }
-
-    // ================================================================
-
-    static final int LINE_FEED = 0x000A;
-    static final int CARRIAGE_RETURN = 0x000D;
-    static final int LINE_SEPARATOR = 0x2028;
-    static final int PARAGRAPH_SEPARATOR = 0x2029;
-
-    private static final boolean isEOLChar(int ch) {
-        return ch == LINE_FEED || ch == CARRIAGE_RETURN || ch == LINE_SEPARATOR
-        || ch == PARAGRAPH_SEPARATOR;
-    }
-
-    private static final boolean isWordChar(int ch) { // Legacy word characters
-        if (ch == '_')  return true;
-        if (ch < '0')  return false;
-        if (ch > 'z')  return false;
-        if (ch <= '9')  return true;
-        if (ch < 'A')  return false;
-        if (ch <= 'Z')  return true;
-        if (ch < 'a')  return false;
-        return true;
-    }
-
-    private static final boolean matchIgnoreCase(int chardata, int ch) {
-        if (chardata == ch)  return true;
-        if (chardata > 0xffff || ch > 0xffff)  return false;
-        char uch1 = Character.toUpperCase((char)chardata);
-        char uch2 = Character.toUpperCase((char)ch);
-        if (uch1 == uch2)  return true;
-        return Character.toLowerCase(uch1) == Character.toLowerCase(uch2);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/SchemaRegularExpression.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/SchemaRegularExpression.java
deleted file mode 100644
index 7aa1557..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/SchemaRegularExpression.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class SchemaRegularExpression extends RegularExpression
-{
-    private SchemaRegularExpression(String pattern)
-    {
-        super(pattern, "X");
-    }
-
-    public static RegularExpression forPattern(String s)
-    {
-        SchemaRegularExpression tre = (SchemaRegularExpression)knownPatterns.get(s);
-        if (tre != null)
-            return tre;
-        return new RegularExpression(s, "X");
-    }
-
-    static final Map knownPatterns = buildKnownPatternMap();
-
-    private static Map buildKnownPatternMap()
-    {
-        Map result = new HashMap();
-        result.put("\\c+", new SchemaRegularExpression("\\c+")
-            { public boolean matches(String s) { return XMLChar.isValidNmtoken(s); } } );
-        result.put("\\i\\c*", new SchemaRegularExpression("\\i\\c*")
-            { public boolean matches(String s) { return XMLChar.isValidName(s); } } );
-        result.put("[\\i-[:]][\\c-[:]]*", new SchemaRegularExpression("[\\i-[:]][\\c-[:]]*")
-            { public boolean matches(String s) { return XMLChar.isValidNCName(s); } } );
-        return result;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Token.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Token.java
deleted file mode 100644
index 5113590..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/Token.java
+++ /dev/null
@@ -1,1521 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.regex;
-
-import java.util.Vector;
-import java.util.Hashtable;
-
-/**
- * This class represents a node in parse tree.
- */
-class Token implements java.io.Serializable {
-    static final boolean COUNTTOKENS = true;
-    static int tokens = 0;
-
-    static final int CHAR = 0;                  // Literal char
-    static final int DOT = 11;                  // .
-    static final int CONCAT = 1;                // XY
-    static final int UNION = 2;                 // X|Y|Z
-    static final int CLOSURE = 3;               // X*
-    static final int RANGE = 4;                 // [a-zA-Z] etc.
-    static final int NRANGE = 5;                // [^a-zA-Z] etc.
-    static final int PAREN = 6;                 // (X) or (?:X)
-    static final int EMPTY = 7;                 //
-    static final int ANCHOR = 8;                // ^ $ \b \B \< \> \A \Z \z
-    static final int NONGREEDYCLOSURE = 9;      // *? +?
-    static final int STRING = 10;               // strings
-    static final int BACKREFERENCE = 12;        // back references
-    static final int LOOKAHEAD = 20;            // (?=...)
-    static final int NEGATIVELOOKAHEAD = 21;    // (?!...)
-    static final int LOOKBEHIND = 22;           // (?<=...)
-    static final int NEGATIVELOOKBEHIND = 23;   // (?<!...)
-    static final int INDEPENDENT = 24;          // (?>...)
-    static final int MODIFIERGROUP = 25;        // (?ims-ims:...)
-    static final int CONDITION = 26;            // (?(...)yes|no)
-
-    static final int UTF16_MAX = 0x10ffff;
-
-    int type;
-
-    static Token token_dot;
-    static Token token_0to9;
-    static Token token_wordchars;
-    static Token token_not_0to9;
-    static Token token_not_wordchars;
-    static Token token_spaces;
-    static Token token_not_spaces;
-    static Token token_empty;
-    static Token token_linebeginning;
-    static Token token_linebeginning2;
-    static Token token_lineend;
-    static Token token_stringbeginning;
-    static Token token_stringend;
-    static Token token_stringend2;
-    static Token token_wordedge;
-    static Token token_not_wordedge;
-    static Token token_wordbeginning;
-    static Token token_wordend;
-    static {
-        Token.token_empty = new Token(Token.EMPTY);
-
-        Token.token_linebeginning = Token.createAnchor('^');
-        Token.token_linebeginning2 = Token.createAnchor('@');
-        Token.token_lineend = Token.createAnchor('$');
-        Token.token_stringbeginning = Token.createAnchor('A');
-        Token.token_stringend = Token.createAnchor('z');
-        Token.token_stringend2 = Token.createAnchor('Z');
-        Token.token_wordedge = Token.createAnchor('b');
-        Token.token_not_wordedge = Token.createAnchor('B');
-        Token.token_wordbeginning = Token.createAnchor('<');
-        Token.token_wordend = Token.createAnchor('>');
-
-        Token.token_dot = new Token(Token.DOT);
-
-        Token.token_0to9 = Token.createRange();
-        Token.token_0to9.addRange('0', '9');
-        Token.token_wordchars = Token.createRange();
-        Token.token_wordchars.addRange('0', '9');
-        Token.token_wordchars.addRange('A', 'Z');
-        Token.token_wordchars.addRange('_', '_');
-        Token.token_wordchars.addRange('a', 'z');
-        Token.token_spaces = Token.createRange();
-        Token.token_spaces.addRange('\t', '\t');
-        Token.token_spaces.addRange('\n', '\n');
-        Token.token_spaces.addRange('\f', '\f');
-        Token.token_spaces.addRange('\r', '\r');
-        Token.token_spaces.addRange(' ', ' ');
-
-        Token.token_not_0to9 = Token.complementRanges(Token.token_0to9);
-        Token.token_not_wordchars = Token.complementRanges(Token.token_wordchars);
-        Token.token_not_spaces = Token.complementRanges(Token.token_spaces);
-    }
-
-    static Token.ParenToken createLook(int type, Token child) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ParenToken(type, child, 0);
-    }
-    static Token.ParenToken createParen(Token child, int pnumber) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ParenToken(Token.PAREN, child, pnumber);
-    }
-    static Token.ClosureToken createClosure(Token tok) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ClosureToken(Token.CLOSURE, tok);
-    }
-    static Token.ClosureToken createNGClosure(Token tok) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ClosureToken(Token.NONGREEDYCLOSURE, tok);
-    }
-    static Token.ConcatToken createConcat(Token tok1, Token tok2) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ConcatToken(tok1, tok2);
-    }
-    static Token.UnionToken createConcat() {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.UnionToken(Token.CONCAT); // *** It is not a bug.
-    }
-    static Token.UnionToken createUnion() {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.UnionToken(Token.UNION);
-    }
-    static Token createEmpty() {
-        return Token.token_empty;
-    }
-    static RangeToken createRange() {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new RangeToken(Token.RANGE);
-    }
-    static RangeToken createNRange() {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new RangeToken(Token.NRANGE);
-    }
-    static Token.CharToken createChar(int ch) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.CharToken(Token.CHAR, ch);
-    }
-    static private Token.CharToken createAnchor(int ch) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.CharToken(Token.ANCHOR, ch);
-    }
-    static Token.StringToken createBackReference(int refno) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.StringToken(Token.BACKREFERENCE, null, refno);
-    }
-    static Token.StringToken createString(String str) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.StringToken(Token.STRING, str, 0);
-    }
-    static Token.ModifierToken createModifierGroup(Token child, int add, int mask) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ModifierToken(child, add, mask);
-    }
-    static Token.ConditionToken createCondition(int refno, Token condition,
-                                                Token yespat, Token nopat) {
-        if (COUNTTOKENS)  Token.tokens ++;
-        return new Token.ConditionToken(refno, condition, yespat, nopat);
-    }
-
-    protected Token(int type) {
-        this.type = type;
-    }
-
-    /**
-     * A number of children.
-     */
-    int size() {
-        return 0;
-    }
-    Token getChild(int index) {
-        return null;
-    }
-    void addChild(Token tok) {
-        throw new RuntimeException("Not supported.");
-    }
-
-                                                // for RANGE or NRANGE
-    protected void addRange(int start, int end) {
-        throw new RuntimeException("Not supported.");
-    }
-    protected void sortRanges() {
-        throw new RuntimeException("Not supported.");
-    }
-    protected void compactRanges() {
-        throw new RuntimeException("Not supported.");
-    }
-    protected void mergeRanges(Token tok) {
-        throw new RuntimeException("Not supported.");
-    }
-    protected void subtractRanges(Token tok) {
-        throw new RuntimeException("Not supported.");
-    }
-    protected void intersectRanges(Token tok) {
-        throw new RuntimeException("Not supported.");
-    }
-    static Token complementRanges(Token tok) {
-        return RangeToken.complementRanges(tok);
-    }
-
-
-    void setMin(int min) {                      // for CLOSURE
-    }
-    void setMax(int max) {                      // for CLOSURE
-    }
-    int getMin() {                              // for CLOSURE
-        return -1;
-    }
-    int getMax() {                              // for CLOSURE
-        return -1;
-    }
-    int getReferenceNumber() {                  // for STRING
-        return 0;
-    }
-    String getString() {                        // for STRING
-        return null;
-    }
-
-    int getParenNumber() {
-        return 0;
-    }
-    int getChar() {
-        return -1;
-    }
-
-    public String toString() {
-        return this.toString(0);
-    }
-    public String toString(int options) {
-        return this.type == Token.DOT ? "." : "";
-    }
-
-    /**
-     * How many characters are needed?
-     */
-    final int getMinLength() {
-        switch (this.type) {
-          case CONCAT:
-            int sum = 0;
-            for (int i = 0;  i < this.size();  i ++)
-                sum += this.getChild(i).getMinLength();
-            return sum;
-
-          case CONDITION:
-          case UNION:
-            if (this.size() == 0)
-                return 0;
-            int ret = this.getChild(0).getMinLength();
-            for (int i = 1;  i < this.size();  i ++) {
-                int min = this.getChild(i).getMinLength();
-                if (min < ret)  ret = min;
-            }
-            return ret;
-
-          case CLOSURE:
-          case NONGREEDYCLOSURE:
-            if (this.getMin() >= 0)
-                return this.getMin() * this.getChild(0).getMinLength();
-            return 0;
-
-          case EMPTY:
-          case ANCHOR:
-            return 0;
-
-          case DOT:
-          case CHAR:
-          case RANGE:
-          case NRANGE:
-            return 1;
-
-          case INDEPENDENT:
-          case PAREN:
-          case MODIFIERGROUP:
-            return this.getChild(0).getMinLength();
-
-          case BACKREFERENCE:
-            return 0;                           // *******
-
-          case STRING:
-            return this.getString().length();
-
-          case LOOKAHEAD:
-          case NEGATIVELOOKAHEAD:
-          case LOOKBEHIND:
-          case NEGATIVELOOKBEHIND:
-            return 0;                           // ***** Really?
-
-          default:
-            throw new RuntimeException("Token#getMinLength(): Invalid Type: "+this.type);
-        }
-    }
-
-    final int getMaxLength() {
-        switch (this.type) {
-          case CONCAT:
-            int sum = 0;
-            for (int i = 0;  i < this.size();  i ++) {
-                int d = this.getChild(i).getMaxLength();
-                if (d < 0)  return -1;
-                sum += d;
-            }
-            return sum;
-
-          case CONDITION:
-          case UNION:
-            if (this.size() == 0)
-                return 0;
-            int ret = this.getChild(0).getMaxLength();
-            for (int i = 1;  ret >= 0 && i < this.size();  i ++) {
-                int max = this.getChild(i).getMaxLength();
-                if (max < 0) {                  // infinity
-                    ret = -1;
-                    break;
-                }
-                if (max > ret)  ret = max;
-            }
-            return ret;
-
-          case CLOSURE:
-          case NONGREEDYCLOSURE:
-            if (this.getMax() >= 0)
-                                                // When this.child.getMaxLength() < 0,
-                                                // this returns minus value
-                return this.getMax() * this.getChild(0).getMaxLength();
-            return -1;
-
-          case EMPTY:
-          case ANCHOR:
-            return 0;
-
-          case CHAR:
-            return 1;
-          case DOT:
-          case RANGE:
-          case NRANGE:
-            return 2;
-
-          case INDEPENDENT:
-          case PAREN:
-          case MODIFIERGROUP:
-            return this.getChild(0).getMaxLength();
-
-          case BACKREFERENCE:
-            return -1;                          // ******
-
-          case STRING:
-            return this.getString().length();
-
-          case LOOKAHEAD:
-          case NEGATIVELOOKAHEAD:
-          case LOOKBEHIND:
-          case NEGATIVELOOKBEHIND:
-            return 0;                           // ***** Really?
-
-          default:
-            throw new RuntimeException("Token#getMaxLength(): Invalid Type: "+this.type);
-        }
-    }
-
-    static final int FC_CONTINUE = 0;
-    static final int FC_TERMINAL = 1;
-    static final int FC_ANY = 2;
-    private static final boolean isSet(int options, int flag) {
-        return (options & flag) == flag;
-    }
-    final int analyzeFirstCharacter(RangeToken result, int options) {
-        switch (this.type) {
-          case CONCAT:
-            int ret = FC_CONTINUE;
-            for (int i = 0;  i < this.size();  i ++)
-                if ((ret = this.getChild(i).analyzeFirstCharacter(result, options)) != FC_CONTINUE)
-                    break;
-            return ret;
-
-          case UNION:
-            if (this.size() == 0)
-                return FC_CONTINUE;
-            /*
-             *  a|b|c -> FC_TERMINAL
-             *  a|.|c -> FC_ANY
-             *  a|b|  -> FC_CONTINUE
-             */
-            int ret2 = FC_CONTINUE;
-            boolean hasEmpty = false;
-            for (int i = 0;  i < this.size();  i ++) {
-                ret2 = this.getChild(i).analyzeFirstCharacter(result, options);
-                if (ret2 == FC_ANY)
-                    break;
-                else if (ret2 == FC_CONTINUE)
-                    hasEmpty = true;
-            }
-            return hasEmpty ? FC_CONTINUE : ret2;
-
-          case CONDITION:
-            int ret3 = this.getChild(0).analyzeFirstCharacter(result, options);
-            if (this.size() == 1)  return FC_CONTINUE;
-            if (ret3 == FC_ANY)  return ret3;
-            int ret4 = this.getChild(1).analyzeFirstCharacter(result, options);
-            if (ret4 == FC_ANY)  return ret4;
-            return ret3 == FC_CONTINUE || ret4 == FC_CONTINUE ? FC_CONTINUE : FC_TERMINAL;
-
-          case CLOSURE:
-          case NONGREEDYCLOSURE:
-            this.getChild(0).analyzeFirstCharacter(result, options);
-            return FC_CONTINUE;
-
-          case EMPTY:
-          case ANCHOR:
-            return FC_CONTINUE;
-
-          case CHAR:
-            int ch = this.getChar();
-            result.addRange(ch, ch);
-            if (ch < 0x10000 && isSet(options, RegularExpression.IGNORE_CASE)) {
-                ch = Character.toUpperCase((char)ch);
-                result.addRange(ch, ch);
-                ch = Character.toLowerCase((char)ch);
-                result.addRange(ch, ch);
-            }
-            return FC_TERMINAL;
-
-          case DOT:                             // ****
-            if (isSet(options, RegularExpression.SINGLE_LINE)) {
-                return FC_CONTINUE;             // **** We can not optimize.
-            } else {
-                return FC_CONTINUE;
-                /*
-                result.addRange(0, RegularExpression.LINE_FEED-1);
-                result.addRange(RegularExpression.LINE_FEED+1, RegularExpression.CARRIAGE_RETURN-1);
-                result.addRange(RegularExpression.CARRIAGE_RETURN+1,
-                                RegularExpression.LINE_SEPARATOR-1);
-                result.addRange(RegularExpression.PARAGRAPH_SEPARATOR+1, UTF16_MAX);
-                return 1;
-                */
-            }
-
-          case RANGE:
-            if (isSet(options, RegularExpression.IGNORE_CASE)) {
-                result.mergeRanges(((RangeToken)this).getCaseInsensitiveToken());
-            } else {
-                result.mergeRanges(this);
-            }
-            return FC_TERMINAL;
-
-          case NRANGE:                          // ****
-            if (isSet(options, RegularExpression.IGNORE_CASE)) {
-                result.mergeRanges(Token.complementRanges(((RangeToken)this).getCaseInsensitiveToken()));
-            } else {
-                result.mergeRanges(Token.complementRanges(this));
-            }
-            return FC_TERMINAL;
-
-          case INDEPENDENT:
-          case PAREN:
-            return this.getChild(0).analyzeFirstCharacter(result, options);
-
-          case MODIFIERGROUP:
-            options |= ((ModifierToken)this).getOptions();
-            options &= ~((ModifierToken)this).getOptionsMask();
-            return this.getChild(0).analyzeFirstCharacter(result, options);
-
-          case BACKREFERENCE:
-            result.addRange(0, UTF16_MAX);  // **** We can not optimize.
-            return FC_ANY;
-
-          case STRING:
-            int cha = this.getString().charAt(0);
-            int ch2;
-            if (REUtil.isHighSurrogate(cha)
-                && this.getString().length() >= 2
-                && REUtil.isLowSurrogate((ch2 = this.getString().charAt(1))))
-                cha = REUtil.composeFromSurrogates(cha, ch2);
-            result.addRange(cha, cha);
-            if (cha < 0x10000 && isSet(options, RegularExpression.IGNORE_CASE)) {
-                cha = Character.toUpperCase((char)cha);
-                result.addRange(cha, cha);
-                cha = Character.toLowerCase((char)cha);
-                result.addRange(cha, cha);
-            }
-            return FC_TERMINAL;
-
-          case LOOKAHEAD:
-          case NEGATIVELOOKAHEAD:
-          case LOOKBEHIND:
-          case NEGATIVELOOKBEHIND:
-            return FC_CONTINUE;
-
-          default:
-            throw new RuntimeException("Token#analyzeHeadCharacter(): Invalid Type: "+this.type);
-        }
-    }
-
-    private final boolean isShorterThan(Token tok) {
-        if (tok == null)  return false;
-        /*
-        int mylength;
-        if (this.type == STRING)  mylength = this.getString().length();
-        else if (this.type == CHAR)  mylength = this.getChar() >= 0x10000 ? 2 : 1;
-        else throw new RuntimeException("Internal Error: Illegal type: "+this.type);
-        int otherlength;
-        if (tok.type == STRING)  otherlength = tok.getString().length();
-        else if (tok.type == CHAR)  otherlength = tok.getChar() >= 0x10000 ? 2 : 1;
-        else throw new RuntimeException("Internal Error: Illegal type: "+tok.type);
-        */
-        int mylength;
-        if (this.type == STRING)  mylength = this.getString().length();
-        else throw new RuntimeException("Internal Error: Illegal type: "+this.type);
-        int otherlength;
-        if (tok.type == STRING)  otherlength = tok.getString().length();
-        else throw new RuntimeException("Internal Error: Illegal type: "+tok.type);
-        return mylength < otherlength;
-    }
-
-    static class FixedStringContainer {
-        Token token = null;
-        int options = 0;
-        FixedStringContainer() {
-        }
-    }
-
-    final void findFixedString(FixedStringContainer container, int options) {
-        switch (this.type) {
-          case CONCAT:
-            Token prevToken = null;
-            int prevOptions = 0;
-            for (int i = 0;  i < this.size();  i ++) {
-                this.getChild(i).findFixedString(container, options);
-                if (prevToken == null || prevToken.isShorterThan(container.token)) {
-                    prevToken = container.token;
-                    prevOptions = container.options;
-                }
-            }
-            container.token = prevToken;
-            container.options = prevOptions;
-            return;
-
-          case UNION:
-          case CLOSURE:
-          case NONGREEDYCLOSURE:
-          case EMPTY:
-          case ANCHOR:
-          case RANGE:
-          case DOT:
-          case NRANGE:
-          case BACKREFERENCE:
-          case LOOKAHEAD:
-          case NEGATIVELOOKAHEAD:
-          case LOOKBEHIND:
-          case NEGATIVELOOKBEHIND:
-          case CONDITION:
-            container.token = null;
-            return;
-
-          case CHAR:                            // Ignore CHAR tokens.
-            container.token = null;             // **
-            return;                             // **
-
-          case STRING:
-            container.token = this;
-            container.options = options;
-            return;
-
-          case INDEPENDENT:
-          case PAREN:
-            this.getChild(0).findFixedString(container, options);
-            return;
-
-          case MODIFIERGROUP:
-            options |= ((ModifierToken)this).getOptions();
-            options &= ~((ModifierToken)this).getOptionsMask();
-            this.getChild(0).findFixedString(container, options);
-            return;
-
-          default:
-            throw new RuntimeException("Token#findFixedString(): Invalid Type: "+this.type);
-        }
-    }
-
-    boolean match(int ch) {
-        throw new RuntimeException("NFAArrow#match(): Internal error: "+this.type);
-    }
-
-    // ------------------------------------------------------
-    private final static Hashtable categories = new Hashtable();
-    private final static Hashtable categories2 = new Hashtable();
-    private static final String[] categoryNames = {
-        "Cn", "Lu", "Ll", "Lt", "Lm", "Lo", "Mn", "Me", "Mc", "Nd",
-        "Nl", "No", "Zs", "Zl", "Zp", "Cc", "Cf", null, "Co", "Cs",
-        "Pd", "Ps", "Pe", "Pc", "Po", "Sm", "Sc", "Sk", "So", // 28
-        "Pi", "Pf",  // 29, 30
-        "L", "M", "N", "Z", "C", "P", "S",      // 31-37
-    };
-
-    // Schema Rec. {Datatypes} - Punctuation 
-    static final int CHAR_INIT_QUOTE  = 29;     // Pi - initial quote
-    static final int CHAR_FINAL_QUOTE = 30;     // Pf - final quote
-    static final int CHAR_LETTER = 31;
-    static final int CHAR_MARK = 32;
-    static final int CHAR_NUMBER = 33;
-    static final int CHAR_SEPARATOR = 34;
-    static final int CHAR_OTHER = 35;
-    static final int CHAR_PUNCTUATION = 36;
-    static final int CHAR_SYMBOL = 37;
-    
-    //blockNames in UNICODE 3.1 that supported by XML Schema REC             
-    private static final String[] blockNames = {
-        /*0000..007F;*/ "Basic Latin",
-        /*0080..00FF;*/ "Latin-1 Supplement",
-        /*0100..017F;*/ "Latin Extended-A",
-        /*0180..024F;*/ "Latin Extended-B",
-        /*0250..02AF;*/ "IPA Extensions",
-        /*02B0..02FF;*/ "Spacing Modifier Letters",
-        /*0300..036F;*/ "Combining Diacritical Marks",
-        /*0370..03FF;*/ "Greek",
-        /*0400..04FF;*/ "Cyrillic",
-        /*0530..058F;*/ "Armenian",
-        /*0590..05FF;*/ "Hebrew",
-        /*0600..06FF;*/ "Arabic",
-        /*0700..074F;*/ "Syriac",  
-        /*0780..07BF;*/ "Thaana",
-        /*0900..097F;*/ "Devanagari",
-        /*0980..09FF;*/ "Bengali",
-        /*0A00..0A7F;*/ "Gurmukhi",
-        /*0A80..0AFF;*/ "Gujarati",
-        /*0B00..0B7F;*/ "Oriya",
-        /*0B80..0BFF;*/ "Tamil",
-        /*0C00..0C7F;*/ "Telugu",
-        /*0C80..0CFF;*/ "Kannada",
-        /*0D00..0D7F;*/ "Malayalam",
-        /*0D80..0DFF;*/ "Sinhala",
-        /*0E00..0E7F;*/ "Thai",
-        /*0E80..0EFF;*/ "Lao",
-        /*0F00..0FFF;*/ "Tibetan",
-        /*1000..109F;*/ "Myanmar", 
-        /*10A0..10FF;*/ "Georgian",
-        /*1100..11FF;*/ "Hangul Jamo",
-        /*1200..137F;*/ "Ethiopic",
-        /*13A0..13FF;*/ "Cherokee",
-        /*1400..167F;*/ "Unified Canadian Aboriginal Syllabics",
-        /*1680..169F;*/ "Ogham",
-        /*16A0..16FF;*/ "Runic",
-        /*1780..17FF;*/ "Khmer",
-        /*1800..18AF;*/ "Mongolian",
-        /*1E00..1EFF;*/ "Latin Extended Additional",
-        /*1F00..1FFF;*/ "Greek Extended",
-        /*2000..206F;*/ "General Punctuation",
-        /*2070..209F;*/ "Superscripts and Subscripts",
-        /*20A0..20CF;*/ "Currency Symbols",
-        /*20D0..20FF;*/ "Combining Marks for Symbols",
-        /*2100..214F;*/ "Letterlike Symbols",
-        /*2150..218F;*/ "Number Forms",
-        /*2190..21FF;*/ "Arrows",
-        /*2200..22FF;*/ "Mathematical Operators",
-        /*2300..23FF;*/ "Miscellaneous Technical",
-        /*2400..243F;*/ "Control Pictures",
-        /*2440..245F;*/ "Optical Character Recognition",
-        /*2460..24FF;*/ "Enclosed Alphanumerics",
-        /*2500..257F;*/ "Box Drawing",
-        /*2580..259F;*/ "Block Elements",
-        /*25A0..25FF;*/ "Geometric Shapes",
-        /*2600..26FF;*/ "Miscellaneous Symbols",
-        /*2700..27BF;*/ "Dingbats",
-        /*2800..28FF;*/ "Braille Patterns",
-        /*2E80..2EFF;*/ "CJK Radicals Supplement",
-        /*2F00..2FDF;*/ "Kangxi Radicals",
-        /*2FF0..2FFF;*/ "Ideographic Description Characters",
-        /*3000..303F;*/ "CJK Symbols and Punctuation",
-        /*3040..309F;*/ "Hiragana",
-        /*30A0..30FF;*/ "Katakana",
-        /*3100..312F;*/ "Bopomofo",
-        /*3130..318F;*/ "Hangul Compatibility Jamo",
-        /*3190..319F;*/ "Kanbun",
-        /*31A0..31BF;*/ "Bopomofo Extended",
-        /*3200..32FF;*/ "Enclosed CJK Letters and Months",
-        /*3300..33FF;*/ "CJK Compatibility",
-        /*3400..4DB5;*/ "CJK Unified Ideographs Extension A",
-        /*4E00..9FFF;*/ "CJK Unified Ideographs",
-        /*A000..A48F;*/ "Yi Syllables",
-        /*A490..A4CF;*/ "Yi Radicals",
-        /*AC00..D7A3;*/ "Hangul Syllables",
-        /*D800..DB7F;*/ "High Surrogates",
-        /*DB80..DBFF;*/ "High Private Use Surrogates",
-        /*DC00..DFFF;*/ "Low Surrogates",
-        /*E000..F8FF;*/ "Private Use",
-        /*F900..FAFF;*/ "CJK Compatibility Ideographs",
-        /*FB00..FB4F;*/ "Alphabetic Presentation Forms",
-        /*FB50..FDFF;*/ "Arabic Presentation Forms-A",
-        /*FE20..FE2F;*/ "Combining Half Marks",
-        /*FE30..FE4F;*/ "CJK Compatibility Forms",
-        /*FE50..FE6F;*/ "Small Form Variants",
-        /*FE70..FEFE;*/ "Arabic Presentation Forms-B",
-        /*FEFF..FEFF;*/ "Specials",
-        /*FF00..FFEF;*/ "Halfwidth and Fullwidth Forms",
-         //missing Specials add manually
-        /*10300..1032F;*/ "Old Italic",		// 87
-        /*10330..1034F;*/ "Gothic",
-        /*10400..1044F;*/ "Deseret",
-        /*1D000..1D0FF;*/ "Byzantine Musical Symbols",
-        /*1D100..1D1FF;*/ "Musical Symbols",
-        /*1D400..1D7FF;*/ "Mathematical Alphanumeric Symbols",
-        /*20000..2A6D6;*/ "CJK Unified Ideographs Extension B",
-        /*2F800..2FA1F;*/ "CJK Compatibility Ideographs Supplement",
-        /*E0000..E007F;*/ "Tags",
-        //missing 2 private use add manually
-
-    };
-    //ADD THOSE MANUALLY
-    //F0000..FFFFD; "Private Use",
-    //100000..10FFFD; "Private Use"
-    //FFF0..FFFD; "Specials", 
-    static final String blockRanges = 
-       "\u0000\u007F\u0080\u00FF\u0100\u017F\u0180\u024F\u0250\u02AF\u02B0\u02FF\u0300\u036F"
-        +"\u0370\u03FF\u0400\u04FF\u0530\u058F\u0590\u05FF\u0600\u06FF\u0700\u074F\u0780\u07BF"
-        +"\u0900\u097F\u0980\u09FF\u0A00\u0A7F\u0A80\u0AFF\u0B00\u0B7F\u0B80\u0BFF\u0C00\u0C7F\u0C80\u0CFF"
-        +"\u0D00\u0D7F\u0D80\u0DFF\u0E00\u0E7F\u0E80\u0EFF\u0F00\u0FFF\u1000\u109F\u10A0\u10FF\u1100\u11FF"
-        +"\u1200\u137F\u13A0\u13FF\u1400\u167F\u1680\u169F\u16A0\u16FF\u1780\u17FF\u1800\u18AF\u1E00\u1EFF"
-        +"\u1F00\u1FFF\u2000\u206F\u2070\u209F\u20A0\u20CF\u20D0\u20FF\u2100\u214F\u2150\u218F\u2190\u21FF\u2200\u22FF"
-        +"\u2300\u23FF\u2400\u243F\u2440\u245F\u2460\u24FF\u2500\u257F\u2580\u259F\u25A0\u25FF\u2600\u26FF\u2700\u27BF"
-        +"\u2800\u28FF\u2E80\u2EFF\u2F00\u2FDF\u2FF0\u2FFF\u3000\u303F\u3040\u309F\u30A0\u30FF\u3100\u312F\u3130\u318F"
-        +"\u3190\u319F\u31A0\u31BF\u3200\u32FF\u3300\u33FF\u3400\u4DB5\u4E00\u9FFF\uA000\uA48F\uA490\uA4CF"
-        +"\uAC00\uD7A3\uD800\uDB7F\uDB80\uDBFF\uDC00\uDFFF\uE000\uF8FF\uF900\uFAFF\uFB00\uFB4F\uFB50\uFDFF"
-        +"\uFE20\uFE2F\uFE30\uFE4F\uFE50\uFE6F\uFE70\uFEFE\uFEFF\uFEFF\uFF00\uFFEF";
-    static final int[] nonBMPBlockRanges = {
-        0x10300, 0x1032F,       // 87
-        0x10330, 0x1034F,
-        0x10400, 0x1044F,
-        0x1D000, 0x1D0FF,
-        0x1D100, 0x1D1FF,
-        0x1D400, 0x1D7FF,
-        0x20000, 0x2A6D6,
-        0x2F800, 0x2FA1F,
-        0xE0000, 0xE007F
-    };
-    private static final int NONBMP_BLOCK_START = 87;
-
-    static protected RangeToken getRange(String name, boolean positive) {
-        if (Token.categories.size() == 0) {
-            synchronized (Token.categories) {
-                Token[] ranges = new Token[Token.categoryNames.length];
-                for (int i = 0;  i < ranges.length;  i ++) {
-                    ranges[i] = Token.createRange();
-                }
-                int type;
-                for (int i = 0;  i < 0x10000;  i ++) {
-                    type = Character.getType((char)i);
-                    if (type == Character.START_PUNCTUATION || 
-                        type == Character.END_PUNCTUATION) {
-                        //build table of Pi values
-                        if (i == 0x00AB || i == 0x2018 || i == 0x201B || i == 0x201C ||
-                            i == 0x201F || i == 0x2039) {
-                            type = CHAR_INIT_QUOTE;
-                        }
-                        //build table of Pf values
-                        if (i == 0x00BB || i == 0x2019 || i == 0x201D || i == 0x203A ) {
-                            type = CHAR_FINAL_QUOTE;
-                        }
-                    }
-                    ranges[type].addRange(i, i);
-                    switch (type) {
-                      case Character.UPPERCASE_LETTER:
-                      case Character.LOWERCASE_LETTER:
-                      case Character.TITLECASE_LETTER:
-                      case Character.MODIFIER_LETTER:
-                      case Character.OTHER_LETTER:
-                        type = CHAR_LETTER;
-                        break;
-                      case Character.NON_SPACING_MARK:
-                      case Character.COMBINING_SPACING_MARK:
-                      case Character.ENCLOSING_MARK:
-                        type = CHAR_MARK;
-                        break;
-                      case Character.DECIMAL_DIGIT_NUMBER:
-                      case Character.LETTER_NUMBER:
-                      case Character.OTHER_NUMBER:
-                        type = CHAR_NUMBER;
-                        break;
-                      case Character.SPACE_SEPARATOR:
-                      case Character.LINE_SEPARATOR:
-                      case Character.PARAGRAPH_SEPARATOR:
-                        type = CHAR_SEPARATOR;
-                        break;
-                      case Character.CONTROL:
-                      case Character.FORMAT:
-                      case Character.SURROGATE:
-                      case Character.PRIVATE_USE:
-                      case Character.UNASSIGNED:
-                        type = CHAR_OTHER;
-                        break;
-                      case Character.CONNECTOR_PUNCTUATION:
-                      case Character.DASH_PUNCTUATION:
-                      case Character.START_PUNCTUATION:
-                      case Character.END_PUNCTUATION:
-                      case CHAR_INIT_QUOTE:
-                      case CHAR_FINAL_QUOTE:
-                      case Character.OTHER_PUNCTUATION:
-                        type = CHAR_PUNCTUATION;
-                        break;
-                      case Character.MATH_SYMBOL:
-                      case Character.CURRENCY_SYMBOL:
-                      case Character.MODIFIER_SYMBOL:
-                      case Character.OTHER_SYMBOL:
-                        type = CHAR_SYMBOL;
-                        break;
-                      default:
-                        throw new RuntimeException("org.apache.xerces.utils.regex.Token#getRange(): Unknown Unicode category: "+type);
-                    }
-                    ranges[type].addRange(i, i);
-                } // for all characters
-                ranges[Character.UNASSIGNED].addRange(0x10000, Token.UTF16_MAX);
-
-                for (int i = 0;  i < ranges.length;  i ++) {
-                    if (Token.categoryNames[i] != null) {
-                        if (i == Character.UNASSIGNED) { // Unassigned
-                            ranges[i].addRange(0x10000, Token.UTF16_MAX);
-                        }
-                        Token.categories.put(Token.categoryNames[i], ranges[i]);
-                        Token.categories2.put(Token.categoryNames[i],
-                                              Token.complementRanges(ranges[i]));
-                    }
-                }
-                //REVISIT: do we really need to support block names as in Unicode 3.1
-                //         or we can just create all the names in IsBLOCKNAME format (XML Schema REC)?
-                //
-                StringBuffer buffer = new StringBuffer(50);
-                for (int i = 0;  i < Token.blockNames.length;  i ++) {
-                    Token r1 = Token.createRange();
-                    int location;
-                    if (i < NONBMP_BLOCK_START) {
-                        location = i*2;
-                        int rstart = Token.blockRanges.charAt(location);
-                        int rend = Token.blockRanges.charAt(location+1);
-                        //DEBUGING
-                        //System.out.println(n+" " +Integer.toHexString(rstart)
-                        //                     +"-"+ Integer.toHexString(rend));
-                        r1.addRange(rstart, rend);
-                    } else {
-                        location = (i - NONBMP_BLOCK_START) * 2;
-                        r1.addRange(Token.nonBMPBlockRanges[location],
-                                    Token.nonBMPBlockRanges[location + 1]);
-                    }
-                    String n = Token.blockNames[i];
-                    if (n.equals("Specials"))
-                        r1.addRange(0xfff0, 0xfffd);
-                    if (n.equals("Private Use")) {
-                        r1.addRange(0xF0000,0xFFFFD);
-                        r1.addRange(0x100000,0x10FFFD);
-                    }
-                    Token.categories.put(n, r1);
-                    Token.categories2.put(n, Token.complementRanges(r1));
-                    buffer.setLength(0);
-                    buffer.append("Is");
-                    if (n.indexOf(' ') >= 0) {
-                        for (int ci = 0;  ci < n.length();  ci ++)
-                            if (n.charAt(ci) != ' ')  buffer.append((char)n.charAt(ci));
-                    }
-                    else {
-                        buffer.append(n);
-                    }
-                    Token.setAlias(buffer.toString(), n, true);
-                }
-
-                // TR#18 1.2
-                Token.setAlias("ASSIGNED", "Cn", false);
-                Token.setAlias("UNASSIGNED", "Cn", true);
-                Token all = Token.createRange();
-                all.addRange(0, Token.UTF16_MAX);
-                Token.categories.put("ALL", all);
-                Token.categories2.put("ALL", Token.complementRanges(all));
-                Token.registerNonXS("ASSIGNED");
-                Token.registerNonXS("UNASSIGNED");
-                Token.registerNonXS("ALL");
-
-                Token isalpha = Token.createRange();
-                isalpha.mergeRanges(ranges[Character.UPPERCASE_LETTER]); // Lu
-                isalpha.mergeRanges(ranges[Character.LOWERCASE_LETTER]); // Ll
-                isalpha.mergeRanges(ranges[Character.OTHER_LETTER]); // Lo
-                Token.categories.put("IsAlpha", isalpha);
-                Token.categories2.put("IsAlpha", Token.complementRanges(isalpha));
-                Token.registerNonXS("IsAlpha");
-
-                Token isalnum = Token.createRange();
-                isalnum.mergeRanges(isalpha);   // Lu Ll Lo
-                isalnum.mergeRanges(ranges[Character.DECIMAL_DIGIT_NUMBER]); // Nd
-                Token.categories.put("IsAlnum", isalnum);
-                Token.categories2.put("IsAlnum", Token.complementRanges(isalnum));
-                Token.registerNonXS("IsAlnum");
-
-                Token isspace = Token.createRange();
-                isspace.mergeRanges(Token.token_spaces);
-                isspace.mergeRanges(ranges[CHAR_SEPARATOR]); // Z
-                Token.categories.put("IsSpace", isspace);
-                Token.categories2.put("IsSpace", Token.complementRanges(isspace));
-                Token.registerNonXS("IsSpace");
-
-                Token isword = Token.createRange();
-                isword.mergeRanges(isalnum);     // Lu Ll Lo Nd
-                isword.addRange('_', '_');
-                Token.categories.put("IsWord", isword);
-                Token.categories2.put("IsWord", Token.complementRanges(isword));
-                Token.registerNonXS("IsWord");
-
-                Token isascii = Token.createRange();
-                isascii.addRange(0, 127);
-                Token.categories.put("IsASCII", isascii);
-                Token.categories2.put("IsASCII", Token.complementRanges(isascii));
-                Token.registerNonXS("IsASCII");
-
-                Token isnotgraph = Token.createRange();
-                isnotgraph.mergeRanges(ranges[CHAR_OTHER]);
-                isnotgraph.addRange(' ', ' ');
-                Token.categories.put("IsGraph", Token.complementRanges(isnotgraph));
-                Token.categories2.put("IsGraph", isnotgraph);
-                Token.registerNonXS("IsGraph");
-
-                Token isxdigit = Token.createRange();
-                isxdigit.addRange('0', '9');
-                isxdigit.addRange('A', 'F');
-                isxdigit.addRange('a', 'f');
-                Token.categories.put("IsXDigit", Token.complementRanges(isxdigit));
-                Token.categories2.put("IsXDigit", isxdigit);
-                Token.registerNonXS("IsXDigit");
-
-                Token.setAlias("IsDigit", "Nd", true);
-                Token.setAlias("IsUpper", "Lu", true);
-                Token.setAlias("IsLower", "Ll", true);
-                Token.setAlias("IsCntrl", "C", true);
-                Token.setAlias("IsPrint", "C", false);
-                Token.setAlias("IsPunct", "P", true);
-                Token.registerNonXS("IsDigit");
-                Token.registerNonXS("IsUpper");
-                Token.registerNonXS("IsLower");
-                Token.registerNonXS("IsCntrl");
-                Token.registerNonXS("IsPrint");
-                Token.registerNonXS("IsPunct");
-
-                Token.setAlias("alpha", "IsAlpha", true);
-                Token.setAlias("alnum", "IsAlnum", true);
-                Token.setAlias("ascii", "IsASCII", true);
-                Token.setAlias("cntrl", "IsCntrl", true);
-                Token.setAlias("digit", "IsDigit", true);
-                Token.setAlias("graph", "IsGraph", true);
-                Token.setAlias("lower", "IsLower", true);
-                Token.setAlias("print", "IsPrint", true);
-                Token.setAlias("punct", "IsPunct", true);
-                Token.setAlias("space", "IsSpace", true);
-                Token.setAlias("upper", "IsUpper", true);
-                Token.setAlias("word", "IsWord", true); // Perl extension
-                Token.setAlias("xdigit", "IsXDigit", true);
-                Token.registerNonXS("alpha");
-                Token.registerNonXS("alnum");
-                Token.registerNonXS("ascii");
-                Token.registerNonXS("cntrl");
-                Token.registerNonXS("digit");
-                Token.registerNonXS("graph");
-                Token.registerNonXS("lower");
-                Token.registerNonXS("print");
-                Token.registerNonXS("punct");
-                Token.registerNonXS("space");
-                Token.registerNonXS("upper");
-                Token.registerNonXS("word");
-                Token.registerNonXS("xdigit");
-            } // synchronized
-        } // if null
-        RangeToken tok = positive ? (RangeToken)Token.categories.get(name)
-            : (RangeToken)Token.categories2.get(name);
-        //if (tok == null) System.out.println(name);
-        return tok;
-    }
-    static protected RangeToken getRange(String name, boolean positive, boolean xs) {
-        RangeToken range = Token.getRange(name, positive);
-        if (xs && range != null && Token.isRegisterNonXS(name))
-            range = null;
-        return range;
-    }
-
-    static Hashtable nonxs = null;
-    /**
-     * This method is called by only getRange().
-     * So this method need not MT-safe.
-     */
-    static protected void registerNonXS(String name) {
-        if (Token.nonxs == null)
-            Token.nonxs = new Hashtable();
-        Token.nonxs.put(name, name);
-    }
-    static protected boolean isRegisterNonXS(String name) {
-        if (Token.nonxs == null)
-            return false;
-        //DEBUG
-        //System.err.println("isRegisterNonXS: "+name);
-        return Token.nonxs.containsKey(name);
-    }
-
-    private static void setAlias(String newName, String name, boolean positive) {
-        Token t1 = (Token)Token.categories.get(name);
-        Token t2 = (Token)Token.categories2.get(name);
-        if (positive) {
-            Token.categories.put(newName, t1);
-            Token.categories2.put(newName, t2);
-        } else {
-            Token.categories2.put(newName, t1);
-            Token.categories.put(newName, t2);
-        }
-    }
-
-    // ------------------------------------------------------
-
-    static final String viramaString =
-    "\u094D"// ;DEVANAGARI SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u09CD"//;BENGALI SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0A4D"//;GURMUKHI SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0ACD"//;GUJARATI SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0B4D"//;ORIYA SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0BCD"//;TAMIL SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0C4D"//;TELUGU SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0CCD"//;KANNADA SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0D4D"//;MALAYALAM SIGN VIRAMA;Mn;9;ON;;;;;N;;;;;
-    +"\u0E3A"//;THAI CHARACTER PHINTHU;Mn;9;ON;;;;;N;THAI VOWEL SIGN PHINTHU;;;;
-    +"\u0F84";//;TIBETAN MARK HALANTA;Mn;9;ON;;;;;N;TIBETAN VIRAMA;;;;
-
-    static private Token token_grapheme = null;
-    static synchronized Token getGraphemePattern() {
-        if (Token.token_grapheme != null)
-            return Token.token_grapheme;
-
-        Token base_char = Token.createRange();  // [{ASSIGNED}]-[{M},{C}]
-        base_char.mergeRanges(Token.getRange("ASSIGNED", true));
-        base_char.subtractRanges(Token.getRange("M", true));
-        base_char.subtractRanges(Token.getRange("C", true));
-
-        Token virama = Token.createRange();
-        for (int i = 0;  i < Token.viramaString.length();  i ++) {
-            int ch = viramaString.charAt(i);
-            virama.addRange(i, i);
-        }
-
-        Token combiner_wo_virama = Token.createRange();
-        combiner_wo_virama.mergeRanges(Token.getRange("M", true));
-        combiner_wo_virama.addRange(0x1160, 0x11ff); // hangul_medial and hangul_final
-        combiner_wo_virama.addRange(0xff9e, 0xff9f); // extras
-
-        Token left = Token.createUnion();       // base_char?
-        left.addChild(base_char);
-        left.addChild(Token.token_empty);
-
-        Token foo = Token.createUnion();
-        foo.addChild(Token.createConcat(virama, Token.getRange("L", true)));
-        foo.addChild(combiner_wo_virama);
-
-        foo = Token.createClosure(foo);
-
-        foo = Token.createConcat(left, foo);
-
-        Token.token_grapheme = foo;
-        return Token.token_grapheme;
-    }
-
-    /**
-     * Combing Character Sequence in Perl 5.6.
-     */
-    static private Token token_ccs = null;
-    static synchronized Token getCombiningCharacterSequence() {
-        if (Token.token_ccs != null)
-            return Token.token_ccs;
-
-        Token foo = Token.createClosure(Token.getRange("M", true)); // \pM*
-        foo = Token.createConcat(Token.getRange("M", false), foo); // \PM + \pM*
-        Token.token_ccs = foo;
-        return Token.token_ccs;
-    }
-
-    // ------------------------------------------------------
-
-    // ------------------------------------------------------
-    /**
-     * This class represents a node in parse tree.
-     */
-    static class StringToken extends Token implements java.io.Serializable {
-        String string;
-        int refNumber;
-
-        StringToken(int type, String str, int n) {
-            super(type);
-            this.string = str;
-            this.refNumber = n;
-        }
-
-        int getReferenceNumber() {              // for STRING
-            return this.refNumber;
-        }
-        String getString() {                    // for STRING
-            return this.string;
-        }
-        
-        public String toString(int options) {
-            if (this.type == BACKREFERENCE)
-                return "\\"+this.refNumber;
-            else
-                return REUtil.quoteMeta(this.string);
-        }
-    }
-
-    /**
-     * This class represents a node in parse tree.
-     */
-    static class ConcatToken extends Token implements java.io.Serializable {
-        Token child;
-        Token child2;
-        
-        ConcatToken(Token t1, Token t2) {
-            super(Token.CONCAT);
-            this.child = t1;
-            this.child2 = t2;
-        }
-
-        int size() {
-            return 2;
-        }
-        Token getChild(int index) {
-            return index == 0 ? this.child : this.child2;
-        }
-
-        public String toString(int options) {
-            String ret;
-            if (this.child2.type == CLOSURE && this.child2.getChild(0) == this.child) {
-                ret = this.child.toString(options)+"+";
-            } else if (this.child2.type == NONGREEDYCLOSURE && this.child2.getChild(0) == this.child) {
-                ret = this.child.toString(options)+"+?";
-            } else
-                ret = this.child.toString(options)+this.child2.toString(options);
-            return ret;
-        }
-    }
-
-    /**
-     * This class represents a node in parse tree.
-     */
-    static class CharToken extends Token implements java.io.Serializable {
-        int chardata;
-
-        CharToken(int type, int ch) {
-            super(type);
-            this.chardata = ch;
-        }
-
-        int getChar() {
-            return this.chardata;
-        }
-
-        public String toString(int options) {
-            String ret;
-            switch (this.type) {
-              case CHAR:
-                switch (this.chardata) {
-                  case '|':  case '*':  case '+':  case '?':
-                  case '(':  case ')':  case '.':  case '[':
-                  case '{':  case '\\':
-                    ret = "\\"+(char)this.chardata;
-                    break;
-                  case '\f':  ret = "\\f";  break;
-                  case '\n':  ret = "\\n";  break;
-                  case '\r':  ret = "\\r";  break;
-                  case '\t':  ret = "\\t";  break;
-                  case 0x1b:  ret = "\\e";  break;
-                    //case 0x0b:  ret = "\\v";  break;
-                  default:
-                    if (this.chardata >= 0x10000) {
-                        String pre = "0"+Integer.toHexString(this.chardata);
-                        ret = "\\v"+pre.substring(pre.length()-6, pre.length());
-                    } else
-                        ret = ""+(char)this.chardata;
-                }
-                break;
-
-              case ANCHOR:
-                if (this == Token.token_linebeginning || this == Token.token_lineend)
-                    ret = ""+(char)this.chardata;
-                else 
-                    ret = "\\"+(char)this.chardata;
-                break;
-
-              default:
-                ret = null;
-            }
-            return ret;
-        }
-
-        boolean match(int ch) {
-            if (this.type == CHAR) {
-                return ch == this.chardata;
-            } else
-                throw new RuntimeException("NFAArrow#match(): Internal error: "+this.type);
-        }
-    }
-
-    /**
-     * This class represents a node in parse tree.
-     */
-    static class ClosureToken extends Token implements java.io.Serializable {
-        int min;
-        int max;
-        Token child;
-
-        ClosureToken(int type, Token tok) {
-            super(type);
-            this.child = tok;
-            this.setMin(-1);
-            this.setMax(-1);
-        }
-
-        int size() {
-            return 1;
-        }
-        Token getChild(int index) {
-            return this.child;
-        }
-
-        final void setMin(int min) {
-            this.min = min;
-        }
-        final void setMax(int max) {
-            this.max = max;
-        }
-        final int getMin() {
-            return this.min;
-        }
-        final int getMax() {
-            return this.max;
-        }
-
-        public String toString(int options) {
-            String ret;
-            if (this.type == CLOSURE) {
-                if (this.getMin() < 0 && this.getMax() < 0) {
-                    ret = this.child.toString(options)+"*";
-                } else if (this.getMin() == this.getMax()) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+"}";
-                } else if (this.getMin() >= 0 && this.getMax() >= 0) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+","+this.getMax()+"}";
-                } else if (this.getMin() >= 0 && this.getMax() < 0) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+",}";
-                } else
-                    throw new RuntimeException("Token#toString(): CLOSURE "
-                                               +this.getMin()+", "+this.getMax());
-            } else {
-                if (this.getMin() < 0 && this.getMax() < 0) {
-                    ret = this.child.toString(options)+"*?";
-                } else if (this.getMin() == this.getMax()) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+"}?";
-                } else if (this.getMin() >= 0 && this.getMax() >= 0) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+","+this.getMax()+"}?";
-                } else if (this.getMin() >= 0 && this.getMax() < 0) {
-                    ret = this.child.toString(options)+"{"+this.getMin()+",}?";
-                } else
-                    throw new RuntimeException("Token#toString(): NONGREEDYCLOSURE "
-                                               +this.getMin()+", "+this.getMax());
-            }
-            return ret;
-        }
-    }
-
-    /**
-     * This class represents a node in parse tree.
-     */
-    static class ParenToken extends Token implements java.io.Serializable {
-        Token child;
-        int parennumber;
-
-        ParenToken(int type, Token tok, int paren) {
-            super(type);
-            this.child = tok;
-            this.parennumber = paren;
-        }
-
-        int size() {
-            return 1;
-        }
-        Token getChild(int index) {
-            return this.child;
-        }
-
-        int getParenNumber() {
-            return this.parennumber;
-        }
-
-        public String toString(int options) {
-            String ret = null;
-            switch (this.type) {
-              case PAREN:
-                if (this.parennumber == 0) {
-                    ret = "(?:"+this.child.toString(options)+")";
-                } else {
-                    ret = "("+this.child.toString(options)+")";
-                }
-                break;
-
-              case LOOKAHEAD:
-                ret = "(?="+this.child.toString(options)+")";
-                break;
-              case NEGATIVELOOKAHEAD:
-                ret = "(?!"+this.child.toString(options)+")";
-                break;
-              case LOOKBEHIND:
-                ret = "(?<="+this.child.toString(options)+")";
-                break;
-              case NEGATIVELOOKBEHIND:
-                ret = "(?<!"+this.child.toString(options)+")";
-                break;
-              case INDEPENDENT:
-                ret = "(?>"+this.child.toString(options)+")";
-                break;
-            }
-            return ret;
-        }
-    }
-
-    /**
-     * (?(condition)yes-pattern|no-pattern)
-     */
-    static class ConditionToken extends Token implements java.io.Serializable {
-        int refNumber;
-        Token condition;
-        Token yes;
-        Token no;
-        ConditionToken(int refno, Token cond, Token yespat, Token nopat) {
-            super(Token.CONDITION);
-            this.refNumber = refno;
-            this.condition = cond;
-            this.yes = yespat;
-            this.no = nopat;
-        }
-        int size() {
-            return this.no == null ? 1 : 2;
-        }
-        Token getChild(int index) {
-            if (index == 0)  return this.yes;
-            if (index == 1)  return this.no;
-            throw new RuntimeException("Internal Error: "+index);
-        }
-
-        public String toString(int options) {
-            String ret;
-            if (refNumber > 0) {
-                ret = "(?("+refNumber+")";
-            } else if (this.condition.type == Token.ANCHOR) {
-                ret = "(?("+this.condition+")";
-            } else {
-                ret = "(?"+this.condition;
-            }
-
-            if (this.no == null) {
-                ret += this.yes+")";
-            } else {
-                ret += this.yes+"|"+this.no+")";
-            }
-            return ret;
-        }
-    }
-
-    /**
-     * (ims-ims: .... )
-     */
-    static class ModifierToken extends Token implements java.io.Serializable {
-        Token child;
-        int add;
-        int mask;
-
-        ModifierToken(Token tok, int add, int mask) {
-            super(Token.MODIFIERGROUP);
-            this.child = tok;
-            this.add = add;
-            this.mask = mask;
-        }
-
-        int size() {
-            return 1;
-        }
-        Token getChild(int index) {
-            return this.child;
-        }
-
-        int getOptions() {
-            return this.add;
-        }
-        int getOptionsMask() {
-            return this.mask;
-        }
-
-        public String toString(int options) {
-            return "(?"
-                +(this.add == 0 ? "" : REUtil.createOptionString(this.add))
-                +(this.mask == 0 ? "" : REUtil.createOptionString(this.mask))
-                +":"
-                +this.child.toString(options)
-                +")";
-        }
-    }
-
-    /**
-     * This class represents a node in parse tree.
-     * for UNION or CONCAT.
-     */
-    static class UnionToken extends Token implements java.io.Serializable {
-        Vector children;
-
-        UnionToken(int type) {
-            super(type);
-        }
-
-        void addChild(Token tok) {
-            if (tok == null)  return;
-            if (this.children == null)  this.children = new Vector();
-            if (this.type == UNION) {
-                this.children.addElement(tok);
-                return;
-            }
-                                                // This is CONCAT, and new child is CONCAT.
-            if (tok.type == CONCAT) {
-                for (int i = 0;  i < tok.size();  i ++)
-                    this.addChild(tok.getChild(i)); // Recursion
-                return;
-            }
-            int size = this.children.size();
-            if (size == 0) {
-                this.children.addElement(tok);
-                return;
-            }
-            Token previous = (Token)this.children.elementAt(size-1);
-            if (!((previous.type == CHAR || previous.type == STRING)
-                  && (tok.type == CHAR || tok.type == STRING))) {
-                this.children.addElement(tok);
-                return;
-            }
-            
-            //System.err.println("Merge '"+previous+"' and '"+tok+"'.");
-
-            StringBuffer buffer;
-            int nextMaxLength = (tok.type == CHAR ? 2 : tok.getString().length());
-            if (previous.type == CHAR) {        // Replace previous token by STRING
-                buffer = new StringBuffer(2 + nextMaxLength);
-                int ch = previous.getChar();
-                if (ch >= 0x10000)
-                    buffer.append(REUtil.decomposeToSurrogates(ch));
-                else
-                    buffer.append((char)ch);
-                previous = Token.createString(null);
-                this.children.setElementAt(previous, size-1);
-            } else {                            // STRING
-                buffer = new StringBuffer(previous.getString().length() + nextMaxLength);
-                buffer.append(previous.getString());
-            }
-
-            if (tok.type == CHAR) {
-                int ch = tok.getChar();
-                if (ch >= 0x10000)
-                    buffer.append(REUtil.decomposeToSurrogates(ch));
-                else
-                    buffer.append((char)ch);
-            } else {
-                buffer.append(tok.getString());
-            }
-
-            ((StringToken)previous).string = new String(buffer);
-        }
-
-        int size() {
-            return this.children == null ? 0 : this.children.size();
-        }
-        Token getChild(int index) {
-            return (Token)this.children.elementAt(index);
-        }
-
-        public String toString(int options) {
-            String ret;
-            if (this.type == CONCAT) {
-                if (this.children.size() == 2) {
-                    Token ch = this.getChild(0);
-                    Token ch2 = this.getChild(1);
-                    if (ch2.type == CLOSURE && ch2.getChild(0) == ch) {
-                        ret = ch.toString(options)+"+";
-                    } else if (ch2.type == NONGREEDYCLOSURE && ch2.getChild(0) == ch) {
-                        ret = ch.toString(options)+"+?";
-                    } else
-                        ret = ch.toString(options)+ch2.toString(options);
-                } else {
-                    StringBuffer sb = new StringBuffer();
-                    for (int i = 0;  i < this.children.size();  i ++) {
-                        sb.append(((Token)this.children.elementAt(i)).toString(options));
-                    }
-                    ret = new String(sb);
-                }
-                return ret;
-            }
-            if (this.children.size() == 2 && this.getChild(1).type == EMPTY) {
-                ret = this.getChild(0).toString(options)+"?";
-            } else if (this.children.size() == 2
-                       && this.getChild(0).type == EMPTY) {
-                ret = this.getChild(1).toString(options)+"??";
-            } else {
-                StringBuffer sb = new StringBuffer();
-                sb.append(((Token)this.children.elementAt(0)).toString(options));
-                for (int i = 1;  i < this.children.size();  i ++) {
-                    sb.append((char)'|');
-                    sb.append(((Token)this.children.elementAt(i)).toString(options));
-                }
-                ret = new String(sb);
-            }
-            return ret;
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message.properties b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message.properties
deleted file mode 100644
index abe4880..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-parser.parse.1=Wrong character.
-parser.parse.2=Invalid reference number.
-parser.next.1=A character is required after \\.
-parser.next.2='?' is not expected.  '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?
-parser.next.3='(?<=' or '(?<!' is expected.
-parser.next.4=A comment is not terminated.
-parser.factor.1=')' is expected.
-parser.factor.2=Unexpected end of the pattern in a modifier group.
-parser.factor.3=':' is expected.
-parser.factor.4=Unexpected end of the pattern in a conditional group.
-parser.factor.5=A back reference or an anchor or a lookahead or a lookbehind is expected in a conditional pattern.
-parser.factor.6=There are more than three choises in a conditional group.
-parser.atom.1=A character in U+0040-U+005f must follow \\c.
-parser.atom.2=A Category character or '{' is required.
-parser.atom.3=A property name is not closed by '}'.
-parser.atom.4=Unexpected meta character.
-parser.atom.5=Unknown property.
-parser.cc.1=A POSIX character class must be closed by ':]'.
-parser.cc.2=Unexpected end of the pattern in a character class.
-parser.cc.3=Unknown name for a POSIX character class.
-parser.cc.4='-' is invalid here.
-parser.cc.5=']' is expected.
-parser.cc.6='[' is invalid in a characer class.  Write '\\['.
-parser.cc.7=']' is invalid in a characer class.  Write '\\]'.
-parser.ope.1='[' is expected.
-parser.ope.2=')' or '-[' or '+[' or '&[' is expected.
-parser.descape.1=Invalid Unicode hex notation.
-parser.descape.2=Overflow in a hex notation.
-parser.descape.3='\\x{' must be closed by '}'.
-parser.descape.4=Invalid Unicode code point.
-parser.descape.5=An anchor must not be here.
-parser.process.1=This expression is not supported in the current option setting.
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_fr.properties b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_fr.properties
deleted file mode 100644
index fd3e981..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_fr.properties
+++ /dev/null
@@ -1,32 +0,0 @@
- parser.parse.1=Caract\u00e8re invalide.
-parser.parse.2=Num\u00e9ro de r\u00e9f\u00e9rence invalide.
-parser.next.1=Un \\ doit \u00eatre suivi d'un caract\u00e8re.
-parser.next.2='?' n'est pas possible ici.  '(?:' ou '(?=' ou '(?!' ou '(?<' ou '(?#' ou '(?>'?
-parser.next.3='(?<=' ou '(?<!' sont attendus.
-parser.next.4=Un commentaire n'est pas ferm\u00e9.
-parser.factor.1=')' manquant.
-parser.factor.2=Fin pr\u00e9matur\u00e9e de motif dans un groupe modifiant.
-parser.factor.3=':' manquant.
-parser.factor.4=Fin pr\u00e9matur\u00e9e de motif dans un groupe conditionel.
-parser.factor.5=Une r\u00e9f\u00e9rence arri\u00e8re ou une ancre ou un lookahead ou un lookbehind est attendu dans un groupe conditionel.
-parser.factor.6=Il y a plus de trois choix dans un groupe conditionel.
-parser.atom.1=\\c doit \u00eatre suivi d'un caract\u00e8re dans l'intervalle U+0040-U+005f .
-parser.atom.2=Un caract\u00e8re de cat\u00e9gorie ou '{' est requis.
-parser.atom.3=Un nom de propri\u00e9t\u00e9 ne se termine pas par '}'.
-parser.atom.4=M\u00e9tacaract\u00e8re interdit.
-parser.atom.5=Propri\u00e9t\u00e9 inconnue.
-parser.cc.1=Une classe de caract\u00e8re POSIX doit \u00eatre termin\u00e9e par ':]'.
-parser.cc.2=Fin pr\u00e9matur\u00e9e de motif dans une classe de caract\u00e8re.
-parser.cc.3=Nom inconnu pour une classe de caract\u00e8re POSIX.
-parser.cc.4='-' est invalide, dans ce cas.
-parser.cc.5=']' manquant.
-parser.cc.6='[' est invalide dans une classe de caract\u00e8re. Ecrivez '\\['.
-parser.cc.7=']' est invalide dans une classe de caract\u00e8re. Ecrivez '\\]'.
-parser.ope.1='[' est attendu.
-parser.ope.2=')' ou '-[' ou '+[' ou '&[' sont attendus.
-parser.descape.1=Notation hexad\u00e9cimale Unicode invalide.
-parser.descape.2=D\u00e9passement de capacit\u00e9 dans une expression hexad\u00e9cimale.
-parser.descape.3='\\x{' doit se terminer par un '}'.
-parser.descape.4=Point de code Unicode invalide.
-parser.descape.5=Ancre interdite ici.
-parser.process.1=Cette expression n'est pas autoris\u00e9e compte tenu des options en cours.
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_ja.properties b/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_ja.properties
deleted file mode 100644
index 9be8394..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/regex/message_ja.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-parser.parse.1=\u3078\u3093\u306a\u6587\u5b57.
-parser.parse.2=\u5b58\u5728\u3057\u306a\u3044\u30b0\u30eb\u30fc\u30d7\u756a\u53f7\u3067\u3059.
-parser.next.1=\\ \u306e\u5f8c\u306b1\u6587\u5b57\u5fc5\u8981\u3067\u3059.
-parser.next.2='?' \u3092\u3053\u3053\u306b\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093. \u3082\u3057\u304b\u3057\u3066 '(?:' \u304b '(?=' \u304b '(?!' \u304b '(?<' \u304b '(?#' \u304b '(?>' \u3067\u3059\u304b?
-parser.next.3='(?<=' \u304b '(?<!' \u304c\u5fc5\u8981\u3067\u3059.
-parser.next.4=\u8a3b\u91c8\u304c\u9589\u3058\u3066\u3044\u307e\u305b\u3093.
-parser.factor.1=')' \u304c\u5fc5\u8981\u3067\u3059.
-parser.factor.2=\u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u304d\u30b0\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u30d1\u30bf\u30fc\u30f3\u304c\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059.
-parser.factor.3=':' \u304c\u5fc5\u8981\u3067\u3059.
-parser.factor.4=\u6761\u4ef6\u4ed8\u304d\u30b0\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u30d1\u30bf\u30fc\u30f3\u304c\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059.
-parser.factor.5=\u6761\u4ef6\u30d1\u30bf\u30fc\u30f3\u306b\u306f\u3001\u5f8c\u65b9\u53c2\u7167\u30fb\u30a2\u30f3\u30ab\u30fc\u30fb\u5148\u8aad\u307f\u30fb\u5f8c\u8aad\u307f\u306e\u307f\u4f7f\u7528\u3067\u304d\u307e\u3059.
-parser.factor.6=\u6761\u4ef6\u4ed8\u304d\u30b0\u30eb\u30fc\u30d7\u306e\u4e2d\u306b3\u500b\u4ee5\u4e0a\u306e\u9078\u629e\u3092\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093.
-parser.atom.1=\\c \u306e\u5f8c\u306b\u306f\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u304c U+0040\uff5eU+005f \u306e\u7bc4\u56f2\u306e\u6587\u5b57\u304c\u5fc5\u8981\u3067\u3059.
-parser.atom.2=1\u6587\u5b57\u306e\u30ab\u30c6\u30b4\u30ea\u6587\u5b57\u304b '{' \u304c\u5fc5\u8981\u3067\u3059.
-parser.atom.3=\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u304c '}' \u3067\u9589\u3058\u3066\u3044\u307e\u305b\u3093.
-parser.atom.4=\u30e1\u30bf\u6587\u5b57\u304c\u5909\u306a\u3068\u3053\u308d\u306b\u3042\u308a\u307e\u3059.
-parser.atom.5=\u672a\u77e5\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u3067\u3059.
-parser.cc.1=POSIX \u6587\u5b57\u30af\u30e9\u30b9\u306f ':]' \u3067\u9589\u3058\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059.
-parser.cc.2=\u6587\u5b57\u30af\u30e9\u30b9\u5185\u3067\u30d1\u30bf\u30fc\u30f3\u304c\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059.
-parser.cc.3=\u672a\u77e5\u306e POSIX \u6587\u5b57\u30af\u30e9\u30b9\u540d\u3067\u3059.
-parser.cc.4=\u3053\u3053\u306b '-' \u3092\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093.
-parser.cc.5=']' \u304c\u5fc5\u8981\u3067\u3059.
-parser.cc.6=\u6587\u5b57\u30af\u30e9\u30b9\u5185\u3067\u306f '[' \u3092\u76f4\u63a5\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093. '\\[' \u3068\u66f8\u3044\u3066\u304f\u3060\u3055\u3044.
-parser.cc.7=\u6587\u5b57\u30af\u30e9\u30b9\u5185\u3067\u306f ']' \u3092\u76f4\u63a5\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093. '\\]' \u3068\u66f8\u3044\u3066\u304f\u3060\u3055\u3044.
-parser.ope.1='[' \u304c\u5fc5\u8981\u3067\u3059.
-parser.ope.2=')' \u304b '-[' \u304b '+[' \u304b '&[' \u304c\u5fc5\u8981\u3067\u3059.
-parser.descape.1=\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306e16\u9032\u6570\u8868\u8a18\u4e2d\u306b\u9593\u9055\u3063\u305f\u6587\u5b57\u304c\u3042\u308a\u307e\u3059.
-parser.descape.2=\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u6570\u5024\u304c\u5927\u304d\u3059\u304e\u307e\u3059.
-parser.descape.3='\\x{' \u306f '}' \u3067\u9589\u3058\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093.
-parser.descape.4=Unicode \u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u4e0d\u6b63\u3067\u3059.
-parser.descape.5=\u30a2\u30f3\u30ab\u30fc\u3092\u3053\u3053\u306b\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093.
-parser.process.1=\u3053\u306e\u8868\u73fe\u306f\u73fe\u5728\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093.
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/BuiltinSchemaTypeSystem.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/BuiltinSchemaTypeSystem.java
deleted file mode 100644
index 3c5695c..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/BuiltinSchemaTypeSystem.java
+++ /dev/null
@@ -1,1061 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.values.XmlIntegerImpl;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.values.XmlStringImpl;
-import org.apache.xmlbeans.impl.regex.RegularExpression;
-import org.apache.xmlbeans.impl.regex.SchemaRegularExpression;
-
-import javax.xml.namespace.QName;
-
-import java.io.File;
-import java.io.InputStream;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collections;
-import java.math.BigInteger;
-
-public class BuiltinSchemaTypeSystem extends SchemaTypeLoaderBase implements SchemaTypeSystem
-{
-    // The global builtin type system
-    public static SchemaTypeSystem get()
-        { return _global; }
-
-    // some constants that need to be initialized early
-    private static final SchemaType[] EMPTY_SCHEMATYPE_ARRAY = new SchemaType[0];
-    private static final SchemaType.Ref[] EMPTY_SCHEMATYPEREF_ARRAY = new SchemaType.Ref[0];
-    private static final SchemaGlobalElement[] EMPTY_SCHEMAELEMENT_ARRAY = new SchemaGlobalElement[0];
-    private static final SchemaGlobalAttribute[] EMPTY_SCHEMAATTRIBUTE_ARRAY = new SchemaGlobalAttribute[0];
-    private static final SchemaModelGroup[] EMPTY_SCHEMAMODELGROUP_ARRAY = new SchemaModelGroup[0];
-    private static final SchemaAttributeGroup[] EMPTY_SCHEMAATTRIBUTEGROUP_ARRAY = new SchemaAttributeGroup[0];
-    private static final SchemaAnnotation[] EMPTY_SCHEMAANNOTATION_ARRAY = new SchemaAnnotation[0];
-
-    private static BuiltinSchemaTypeSystem _global = new BuiltinSchemaTypeSystem();
-
-    // UR types
-    public static final SchemaTypeImpl ST_ANY_TYPE = _global.getBuiltinType(SchemaType.BTC_ANY_TYPE);
-    public static final SchemaTypeImpl ST_ANY_SIMPLE = _global.getBuiltinType(SchemaType.BTC_ANY_SIMPLE);
-
-    // primitives
-    public static final SchemaTypeImpl ST_BOOLEAN = _global.getBuiltinType(SchemaType.BTC_BOOLEAN);
-    public static final SchemaTypeImpl ST_BASE_64_BINARY = _global.getBuiltinType(SchemaType.BTC_BASE_64_BINARY);
-    public static final SchemaTypeImpl ST_HEX_BINARY = _global.getBuiltinType(SchemaType.BTC_HEX_BINARY);
-    public static final SchemaTypeImpl ST_ANY_URI = _global.getBuiltinType(SchemaType.BTC_ANY_URI);
-    public static final SchemaTypeImpl ST_QNAME = _global.getBuiltinType(SchemaType.BTC_QNAME);
-    public static final SchemaTypeImpl ST_NOTATION = _global.getBuiltinType(SchemaType.BTC_NOTATION);
-    public static final SchemaTypeImpl ST_FLOAT = _global.getBuiltinType(SchemaType.BTC_FLOAT);
-    public static final SchemaTypeImpl ST_DOUBLE = _global.getBuiltinType(SchemaType.BTC_DOUBLE);
-    public static final SchemaTypeImpl ST_DECIMAL = _global.getBuiltinType(SchemaType.BTC_DECIMAL);
-    public static final SchemaTypeImpl ST_STRING = _global.getBuiltinType(SchemaType.BTC_STRING);
-
-    public static final SchemaTypeImpl ST_DURATION = _global.getBuiltinType(SchemaType.BTC_DURATION);
-    public static final SchemaTypeImpl ST_DATE_TIME = _global.getBuiltinType(SchemaType.BTC_DATE_TIME);
-    public static final SchemaTypeImpl ST_TIME = _global.getBuiltinType(SchemaType.BTC_TIME);
-    public static final SchemaTypeImpl ST_DATE = _global.getBuiltinType(SchemaType.BTC_DATE);
-    public static final SchemaTypeImpl ST_G_YEAR_MONTH = _global.getBuiltinType(SchemaType.BTC_G_YEAR_MONTH);
-    public static final SchemaTypeImpl ST_G_YEAR = _global.getBuiltinType(SchemaType.BTC_G_YEAR);
-    public static final SchemaTypeImpl ST_G_MONTH_DAY = _global.getBuiltinType(SchemaType.BTC_G_MONTH_DAY);
-    public static final SchemaTypeImpl ST_G_DAY = _global.getBuiltinType(SchemaType.BTC_G_DAY);
-    public static final SchemaTypeImpl ST_G_MONTH = _global.getBuiltinType(SchemaType.BTC_G_MONTH);
-
-    // derived numerics
-    public static final SchemaTypeImpl ST_INTEGER = _global.getBuiltinType(SchemaType.BTC_INTEGER);
-    public static final SchemaTypeImpl ST_LONG = _global.getBuiltinType(SchemaType.BTC_LONG);
-    public static final SchemaTypeImpl ST_INT = _global.getBuiltinType(SchemaType.BTC_INT);
-    public static final SchemaTypeImpl ST_SHORT = _global.getBuiltinType(SchemaType.BTC_SHORT);
-    public static final SchemaTypeImpl ST_BYTE = _global.getBuiltinType(SchemaType.BTC_BYTE);
-    public static final SchemaTypeImpl ST_NON_POSITIVE_INTEGER = _global.getBuiltinType(SchemaType.BTC_NON_POSITIVE_INTEGER);
-    public static final SchemaTypeImpl ST_NEGATIVE_INTEGER = _global.getBuiltinType(SchemaType.BTC_NEGATIVE_INTEGER);
-    public static final SchemaTypeImpl ST_NON_NEGATIVE_INTEGER = _global.getBuiltinType(SchemaType.BTC_NON_NEGATIVE_INTEGER);
-    public static final SchemaTypeImpl ST_POSITIVE_INTEGER = _global.getBuiltinType(SchemaType.BTC_POSITIVE_INTEGER);
-    public static final SchemaTypeImpl ST_UNSIGNED_LONG = _global.getBuiltinType(SchemaType.BTC_UNSIGNED_LONG);
-    public static final SchemaTypeImpl ST_UNSIGNED_INT = _global.getBuiltinType(SchemaType.BTC_UNSIGNED_INT);
-    public static final SchemaTypeImpl ST_UNSIGNED_SHORT = _global.getBuiltinType(SchemaType.BTC_UNSIGNED_SHORT);
-    public static final SchemaTypeImpl ST_UNSIGNED_BYTE = _global.getBuiltinType(SchemaType.BTC_UNSIGNED_BYTE);
-
-    // derived strings
-    public static final SchemaTypeImpl ST_NORMALIZED_STRING = _global.getBuiltinType(SchemaType.BTC_NORMALIZED_STRING);
-    public static final SchemaTypeImpl ST_TOKEN = _global.getBuiltinType(SchemaType.BTC_TOKEN);
-    public static final SchemaTypeImpl ST_NAME = _global.getBuiltinType(SchemaType.BTC_NAME);
-    public static final SchemaTypeImpl ST_NCNAME = _global.getBuiltinType(SchemaType.BTC_NCNAME);
-    public static final SchemaTypeImpl ST_LANGUAGE = _global.getBuiltinType(SchemaType.BTC_LANGUAGE);
-    public static final SchemaTypeImpl ST_ID = _global.getBuiltinType(SchemaType.BTC_ID);
-    public static final SchemaTypeImpl ST_IDREF = _global.getBuiltinType(SchemaType.BTC_IDREF);
-    public static final SchemaTypeImpl ST_IDREFS = _global.getBuiltinType(SchemaType.BTC_IDREFS);
-    public static final SchemaTypeImpl ST_ENTITY = _global.getBuiltinType(SchemaType.BTC_ENTITY);
-    public static final SchemaTypeImpl ST_ENTITIES = _global.getBuiltinType(SchemaType.BTC_ENTITIES);
-    public static final SchemaTypeImpl ST_NMTOKEN = _global.getBuiltinType(SchemaType.BTC_NMTOKEN);
-    public static final SchemaTypeImpl ST_NMTOKENS = _global.getBuiltinType(SchemaType.BTC_NMTOKENS);
-
-    // the no-type
-    public static final SchemaTypeImpl ST_NO_TYPE = _global.getBuiltinType(SchemaType.BTC_NOT_BUILTIN);
-
-    private final static XmlValueRef XMLSTR_PRESERVE = buildString("preserve");
-    private final static XmlValueRef XMLSTR_REPLACE = buildString("preserve");
-    private final static XmlValueRef XMLSTR_COLLAPSE = buildString("preserve");
-
-    private final static XmlValueRef[] FACETS_NONE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          null, null, null };
-
-    private final static boolean[] FIXED_FACETS_NONE = new boolean[]
-        { false, false, false, false, false, false, false, false, false,
-          false, false, false };
-
-    private final static XmlValueRef[] FACETS_WS_COLLAPSE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_WS_REPLACE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          build_wsstring(SchemaType.WS_REPLACE), null, null };
-
-    private final static XmlValueRef[] FACETS_WS_PRESERVE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          build_wsstring(SchemaType.WS_PRESERVE), null, null };
-
-    private final static XmlValueRef[] FACETS_INTEGER = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_LONG = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.valueOf(Long.MIN_VALUE)), buildInteger(BigInteger.valueOf(Long.MAX_VALUE)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_INT = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.valueOf(Integer.MIN_VALUE)), buildInteger(BigInteger.valueOf(Integer.MAX_VALUE)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_SHORT = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.valueOf(Short.MIN_VALUE)), buildInteger(BigInteger.valueOf(Short.MAX_VALUE)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_BYTE = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.valueOf(Byte.MIN_VALUE)), buildInteger(BigInteger.valueOf(Byte.MAX_VALUE)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_NONNEGATIVE = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ZERO), null, null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_POSITIVE = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ONE), null, null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_NONPOSITIVE = new XmlValueRef[]
-        { null, null, null, null, null, buildInteger(BigInteger.ZERO), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_NEGATIVE = new XmlValueRef[]
-        { null, null, null, null, null, buildInteger(BigInteger.ONE.negate()), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_UNSIGNED_LONG = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ZERO), buildInteger(new BigInteger("18446744073709551615")), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_UNSIGNED_INT = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ZERO), buildInteger(BigInteger.valueOf(4294967295L)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_UNSIGNED_SHORT = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ZERO), buildInteger(BigInteger.valueOf(65535)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_UNSIGNED_BYTE = new XmlValueRef[]
-        { null, null, null, null, buildInteger(BigInteger.ZERO), buildInteger(BigInteger.valueOf(255)), null, null, buildNnInteger(BigInteger.ZERO),
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static XmlValueRef[] FACETS_BUILTIN_LIST = new XmlValueRef[]
-        { null, buildNnInteger(BigInteger.ONE), null, null, null, null, null, null, null,
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static boolean[] FIXED_FACETS_WS = new boolean[]
-        { false, false, false, false, false, false, false, false, false,
-          true, false, false };
-
-    private final static boolean[] FIXED_FACETS_INTEGER = new boolean[]
-        { false, false, false, false, false, false, false, false, true,
-          true, false, false };
-
-    final static XmlValueRef[] FACETS_UNION = FACETS_NONE;
-    final static boolean[] FIXED_FACETS_UNION = FIXED_FACETS_NONE;
-
-    final static XmlValueRef[] FACETS_LIST = FACETS_WS_COLLAPSE;
-    final static boolean[] FIXED_FACETS_LIST = FIXED_FACETS_WS;
-
-
-    /*
-     * LAST Static initializer
-     */
-    static {
-        for (int i = SchemaType.BTC_NOT_BUILTIN; i <= SchemaType.BTC_LAST_BUILTIN; i++)
-        {
-            _global.fillInType(i);
-        }
-    }
-
-    private Map _typeMap = new HashMap();
-    private SchemaTypeImpl[] _typeArray = new SchemaTypeImpl[SchemaType.BTC_LAST_BUILTIN + 1];
-    private Map _handlesToObjects = new HashMap();
-    private Map _objectsToHandles = new HashMap();
-    private Map _typesByClassname = new HashMap();
-
-    private SchemaTypeImpl getBuiltinType(int btc)
-    {
-        return _typeArray[btc];
-    }
-
-    private BuiltinSchemaTypeSystem()
-    {
-        // UR types
-        setupBuiltin(SchemaType.BTC_ANY_TYPE, "anyType", "org.apache.xmlbeans.XmlObject");
-        setupBuiltin(SchemaType.BTC_ANY_SIMPLE, "anySimpleType", "org.apache.xmlbeans.XmlAnySimpleType");
-
-        // primitives
-        setupBuiltin(SchemaType.BTC_BOOLEAN, "boolean", "org.apache.xmlbeans.XmlBoolean");
-        setupBuiltin(SchemaType.BTC_BASE_64_BINARY, "base64Binary", "org.apache.xmlbeans.XmlBase64Binary");
-        setupBuiltin(SchemaType.BTC_HEX_BINARY, "hexBinary", "org.apache.xmlbeans.XmlHexBinary");
-        setupBuiltin(SchemaType.BTC_ANY_URI, "anyURI", "org.apache.xmlbeans.XmlAnyURI");
-        setupBuiltin(SchemaType.BTC_QNAME, "QName", "org.apache.xmlbeans.XmlQName");
-        setupBuiltin(SchemaType.BTC_NOTATION, "NOTATION", "org.apache.xmlbeans.XmlNOTATION");
-        setupBuiltin(SchemaType.BTC_FLOAT, "float", "org.apache.xmlbeans.XmlFloat");
-        setupBuiltin(SchemaType.BTC_DOUBLE, "double", "org.apache.xmlbeans.XmlDouble");
-        setupBuiltin(SchemaType.BTC_DECIMAL, "decimal", "org.apache.xmlbeans.XmlDecimal");
-        setupBuiltin(SchemaType.BTC_STRING, "string", "org.apache.xmlbeans.XmlString");
-
-        setupBuiltin(SchemaType.BTC_DURATION, "duration", "org.apache.xmlbeans.XmlDuration");
-        setupBuiltin(SchemaType.BTC_DATE_TIME, "dateTime", "org.apache.xmlbeans.XmlDateTime");
-        setupBuiltin(SchemaType.BTC_TIME, "time", "org.apache.xmlbeans.XmlTime");
-        setupBuiltin(SchemaType.BTC_DATE, "date", "org.apache.xmlbeans.XmlDate");
-        setupBuiltin(SchemaType.BTC_G_YEAR_MONTH, "gYearMonth", "org.apache.xmlbeans.XmlGYearMonth");
-        setupBuiltin(SchemaType.BTC_G_YEAR, "gYear", "org.apache.xmlbeans.XmlGYear");
-        setupBuiltin(SchemaType.BTC_G_MONTH_DAY, "gMonthDay", "org.apache.xmlbeans.XmlGMonthDay");
-        setupBuiltin(SchemaType.BTC_G_DAY, "gDay", "org.apache.xmlbeans.XmlGDay");
-        setupBuiltin(SchemaType.BTC_G_MONTH, "gMonth", "org.apache.xmlbeans.XmlGMonth");
-
-        // derived numerics
-        setupBuiltin(SchemaType.BTC_INTEGER, "integer", "org.apache.xmlbeans.XmlInteger");
-        setupBuiltin(SchemaType.BTC_LONG, "long", "org.apache.xmlbeans.XmlLong");
-        setupBuiltin(SchemaType.BTC_INT, "int", "org.apache.xmlbeans.XmlInt");
-        setupBuiltin(SchemaType.BTC_SHORT, "short", "org.apache.xmlbeans.XmlShort");
-        setupBuiltin(SchemaType.BTC_BYTE, "byte", "org.apache.xmlbeans.XmlByte");
-        setupBuiltin(SchemaType.BTC_NON_POSITIVE_INTEGER, "nonPositiveInteger", "org.apache.xmlbeans.XmlNonPositiveInteger");
-        setupBuiltin(SchemaType.BTC_NEGATIVE_INTEGER, "negativeInteger", "org.apache.xmlbeans.XmlNegativeInteger");
-        setupBuiltin(SchemaType.BTC_NON_NEGATIVE_INTEGER, "nonNegativeInteger", "org.apache.xmlbeans.XmlNonNegativeInteger");
-        setupBuiltin(SchemaType.BTC_POSITIVE_INTEGER, "positiveInteger", "org.apache.xmlbeans.XmlPositiveInteger");
-        setupBuiltin(SchemaType.BTC_UNSIGNED_LONG, "unsignedLong", "org.apache.xmlbeans.XmlUnsignedLong");
-        setupBuiltin(SchemaType.BTC_UNSIGNED_INT, "unsignedInt", "org.apache.xmlbeans.XmlUnsignedInt");
-        setupBuiltin(SchemaType.BTC_UNSIGNED_SHORT, "unsignedShort", "org.apache.xmlbeans.XmlUnsignedShort");
-        setupBuiltin(SchemaType.BTC_UNSIGNED_BYTE, "unsignedByte", "org.apache.xmlbeans.XmlUnsignedByte");
-
-        // derived strings
-        setupBuiltin(SchemaType.BTC_NORMALIZED_STRING, "normalizedString", "org.apache.xmlbeans.XmlNormalizedString");
-        setupBuiltin(SchemaType.BTC_TOKEN, "token", "org.apache.xmlbeans.XmlToken");
-        setupBuiltin(SchemaType.BTC_NAME, "Name", "org.apache.xmlbeans.XmlName");
-        setupBuiltin(SchemaType.BTC_NCNAME, "NCName", "org.apache.xmlbeans.XmlNCName");
-        setupBuiltin(SchemaType.BTC_LANGUAGE, "language", "org.apache.xmlbeans.XmlLanguage");
-        setupBuiltin(SchemaType.BTC_ID, "ID", "org.apache.xmlbeans.XmlID");
-        setupBuiltin(SchemaType.BTC_IDREF, "IDREF", "org.apache.xmlbeans.XmlIDREF");
-        setupBuiltin(SchemaType.BTC_IDREFS, "IDREFS", "org.apache.xmlbeans.XmlIDREFS");
-        setupBuiltin(SchemaType.BTC_ENTITY, "ENTITY", "org.apache.xmlbeans.XmlENTITY");
-        setupBuiltin(SchemaType.BTC_ENTITIES, "ENTITIES", "org.apache.xmlbeans.XmlENTITIES");
-        setupBuiltin(SchemaType.BTC_NMTOKEN, "NMTOKEN", "org.apache.xmlbeans.XmlNMTOKEN");
-        setupBuiltin(SchemaType.BTC_NMTOKENS, "NMTOKENS", "org.apache.xmlbeans.XmlNMTOKENS");
-
-        // the no-type
-        setupBuiltin(SchemaType.BTC_NOT_BUILTIN, null, null);
-    }
-
-
-    /**
-     * Returns the name of this loader.
-     */
-    public String getName()
-    {
-        return "schema.typesystem.builtin";
-    }
-
-    public boolean isNamespaceDefined(String namespace)
-    {
-        return namespace.equals("http://www.w3.org/2001/XMLSchema");
-    }
-
-    public SchemaType findType(QName name)
-    {
-        return (SchemaType)_typeMap.get(name);
-    }
-
-
-    public SchemaType findDocumentType(QName name)
-    {
-        return null;
-    }
-
-    public SchemaType findAttributeType(QName name)
-    {
-        return null;
-    }
-
-    public SchemaGlobalElement findElement(QName name)
-    {
-        return null;
-    }
-
-    public SchemaGlobalAttribute findAttribute(QName name)
-    {
-        return null;
-    }
-
-    public SchemaType.Ref findTypeRef(QName name)
-    {
-        SchemaType type = findType(name);
-        return (type == null ? null : type.getRef());
-    }
-
-    public SchemaType.Ref findDocumentTypeRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaType.Ref findAttributeTypeRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaGlobalElement.Ref findElementRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaGlobalAttribute.Ref findAttributeRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaModelGroup.Ref findModelGroupRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaAttributeGroup.Ref findAttributeGroupRef(QName name)
-    {
-        return null;
-    }
-
-    public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName name) 
-    {
-        return null;
-    }
-
-    public SchemaType typeForClassname(String classname)
-    {
-        return (SchemaType)_typesByClassname.get(classname);
-    }
-
-    public InputStream getSourceAsStream(String sourceName)
-    {
-        return null; // builtin schema type system has no source.
-    }
-
-    /**
-     * Returns the global types defined in this loader.
-     */
-    public SchemaType[] globalTypes()
-    {
-        SchemaType[] result = new SchemaType[_typeArray.length - 1];
-        System.arraycopy(_typeArray, 1, result, 0, result.length);
-        return result;
-    }
-
-    /**
-     * Returns the document types defined in this loader.
-     */
-    public SchemaType[] documentTypes()
-    {
-        return EMPTY_SCHEMATYPE_ARRAY;
-    }
-
-    /**
-     * Returns the attribute types defined in this loader.
-     */
-    public SchemaType[] attributeTypes()
-    {
-        return EMPTY_SCHEMATYPE_ARRAY;
-    }
-
-    /**
-     * Returns the global elements defined in this loader.
-     */
-    public SchemaGlobalElement[] globalElements()
-    {
-        return EMPTY_SCHEMAELEMENT_ARRAY;
-    }
-
-    /**
-     * Returns the global attributes defined in this loader.
-     */
-    public SchemaGlobalAttribute[] globalAttributes()
-    {
-        return EMPTY_SCHEMAATTRIBUTE_ARRAY;
-    }
-
-    /**
-     * Returns the model groups defined in this loader.
-     */
-    public SchemaModelGroup[] modelGroups()
-    {
-        return EMPTY_SCHEMAMODELGROUP_ARRAY;
-    }
-
-    /**
-     * Returns the attribute groups defined in this loader.
-     */
-    public SchemaAttributeGroup[] attributeGroups()
-    {
-        return EMPTY_SCHEMAATTRIBUTEGROUP_ARRAY;
-    }
-
-    /*
-     * Returns the top-level annotations.
-     */
-    public SchemaAnnotation[] annotations()
-    {
-        return EMPTY_SCHEMAANNOTATION_ARRAY;
-    }
-
-    /**
-     * Returns the handle for the given type within this loader.
-     */
-    public String handleForType(SchemaType type)
-    {
-        return (String)_objectsToHandles.get(type);
-    }
-
-    /**
-     * Returns the classloader used by this loader for resolving types.
-     */
-    public ClassLoader getClassLoader()
-    {
-        return BuiltinSchemaTypeSystem.class.getClassLoader();
-    }
-
-    /**
-     * Saves this type to a directory.
-     */
-    public void saveToDirectory(File classDir)
-    {
-        throw new UnsupportedOperationException("The builtin schema type system cannot be saved.");
-    }
-
-    private static XmlValueRef build_wsstring(int wsr)
-    {
-        switch (wsr)
-        {
-            case SchemaType.WS_PRESERVE:
-                return XMLSTR_PRESERVE;
-            case SchemaType.WS_REPLACE:
-                return XMLSTR_REPLACE;
-            case SchemaType.WS_COLLAPSE:
-                return XMLSTR_COLLAPSE;
-        }
-        return null;
-    }
-
-    private static XmlValueRef buildNnInteger(BigInteger bigInt)
-    {
-        if (bigInt == null)
-            return null;
-        if (bigInt.signum() < 0)
-            return null;
-        try
-        {
-            XmlIntegerImpl i = new XmlIntegerImpl();
-            i.set(bigInt);
-            i.setImmutable();
-            return new XmlValueRef(i);
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            return null;
-        }
-    }
-
-    private static XmlValueRef buildInteger(BigInteger bigInt)
-    {
-        if (bigInt == null)
-            return null;
-        try
-        {
-            XmlIntegerImpl i = new XmlIntegerImpl();
-            i.set(bigInt);
-            i.setImmutable();
-            return new XmlValueRef(i);
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            return null;
-        }
-    }
-
-    private static XmlValueRef buildString(String str)
-    {
-        if (str == null)
-            return null;
-
-        try
-        {
-            XmlStringImpl i = new XmlStringImpl();
-            i.set(str);
-            i.setImmutable();
-            return new XmlValueRef(i);
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            return null;
-        }
-    }
-
-    private void setupBuiltin(int btc, String localname, String classname)
-    {
-        SchemaTypeImpl result = new SchemaTypeImpl(this, true);
-        QName name = localname == null ? null : QNameHelper.forLNS(localname, "http://www.w3.org/2001/XMLSchema");
-        String handle = "_BI_" + (localname == null ? "NO_TYPE" : localname);
-        result.setName(name);
-        result.setBuiltinTypeCode(btc);
-        if (classname != null)
-            result.setFullJavaName(classname);
-
-        _typeArray[btc] = result;
-        _typeMap.put(name, result);
-        _handlesToObjects.put(handle, result);
-        _objectsToHandles.put(result, handle);
-        if (classname != null)
-            _typesByClassname.put(classname, result);
-    }
-
-    public void resolve()
-    {
-        // we're born resolved and don't need to do anything.
-    }
-
-    public SchemaType typeForHandle(String handle)
-    {
-        return (SchemaType)_handlesToObjects.get(handle);
-    }
-
-    public SchemaComponent resolveHandle(String handle)
-    {
-        return (SchemaComponent)_handlesToObjects.get(handle);
-    }
-
-    /**
-     * Links a type.
-     */
-    public void fillInType(int btc)
-    {
-        SchemaTypeImpl result = getBuiltinType(btc);
-        SchemaType base;
-        SchemaType item = null;
-        int variety = SchemaType.ATOMIC;
-        int derivationType = SchemaType.DT_RESTRICTION;
-
-        switch (btc)
-        {
-            case SchemaType.BTC_NOT_BUILTIN:
-                variety = SchemaType.NOT_SIMPLE;
-                base = ST_ANY_TYPE;
-                break;
-
-            case SchemaType.BTC_ANY_TYPE:
-                variety = SchemaType.NOT_SIMPLE;
-                base = null;
-                derivationType = SchemaType.DT_RESTRICTION;
-                break;
-
-            default:
-                assert(false);
-
-            case SchemaType.BTC_ANY_SIMPLE:
-                base = ST_ANY_TYPE; break;
-
-            case SchemaType.BTC_BOOLEAN:
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_NOTATION:
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-            case SchemaType.BTC_DECIMAL:
-            case SchemaType.BTC_STRING:
-            case SchemaType.BTC_DURATION:
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                base = ST_ANY_SIMPLE; break;
-
-            // derived numerics
-            case SchemaType.BTC_INTEGER:
-                base = ST_DECIMAL; break;
-
-            case SchemaType.BTC_LONG:
-                base = ST_INTEGER; break;
-
-            case SchemaType.BTC_INT:
-                base = ST_LONG; break;
-
-            case SchemaType.BTC_SHORT:
-                base = ST_INT; break;
-
-            case SchemaType.BTC_BYTE:
-                base = ST_SHORT; break;
-
-            case SchemaType.BTC_NON_POSITIVE_INTEGER:
-                base = ST_INTEGER; break;
-
-            case SchemaType.BTC_NEGATIVE_INTEGER:
-                base = ST_NON_POSITIVE_INTEGER; break;
-
-            case SchemaType.BTC_NON_NEGATIVE_INTEGER:
-                base = ST_INTEGER; break;
-
-            case SchemaType.BTC_POSITIVE_INTEGER:
-                base = ST_NON_NEGATIVE_INTEGER; break;
-
-            case SchemaType.BTC_UNSIGNED_LONG:
-                base = ST_NON_NEGATIVE_INTEGER; break;
-
-            case SchemaType.BTC_UNSIGNED_INT:
-                base = ST_UNSIGNED_LONG; break;
-
-            case SchemaType.BTC_UNSIGNED_SHORT:
-                base = ST_UNSIGNED_INT; break;
-
-            case SchemaType.BTC_UNSIGNED_BYTE:
-                base = ST_UNSIGNED_SHORT; break;
-
-            // derived strings
-            case SchemaType.BTC_NORMALIZED_STRING:
-                base = ST_STRING; break;
-
-            case SchemaType.BTC_TOKEN:
-                base = ST_NORMALIZED_STRING; break;
-
-            case SchemaType.BTC_NAME:
-                base = ST_TOKEN; break;
-
-            case SchemaType.BTC_NCNAME:
-                base = ST_NAME; break;
-
-            case SchemaType.BTC_ID:
-            case SchemaType.BTC_IDREF:
-            case SchemaType.BTC_ENTITY:
-                base = ST_NCNAME; break;
-
-            case SchemaType.BTC_LANGUAGE:
-            case SchemaType.BTC_NMTOKEN:
-                base = ST_TOKEN; break;
-
-            case SchemaType.BTC_IDREFS:
-            case SchemaType.BTC_ENTITIES:
-            case SchemaType.BTC_NMTOKENS:
-                variety = SchemaType.LIST;
-                base = ST_ANY_SIMPLE;
-                if (btc == SchemaType.BTC_IDREFS)
-                    item = ST_IDREF;
-                else if (btc == SchemaType.BTC_ENTITIES)
-                    item = ST_ENTITY;
-                else
-                    item = ST_NMTOKEN;
-                break;
-        }
-
-        result.setDerivationType(derivationType);
-        result.setSimpleTypeVariety(variety);
-        if (variety != SchemaType.NOT_SIMPLE)
-        {
-            result.setSimpleType(true);
-        }
-        else
-        {
-            assert (btc == SchemaType.BTC_ANY_TYPE || btc == SchemaType.BTC_NOT_BUILTIN);
-        }
-        result.setBaseTypeRef(base == null ? null : base.getRef());
-        result.setBaseDepth(base == null ? 0 : ((SchemaTypeImpl)base).getBaseDepth() + 1);
-        result.setListItemTypeRef(item == null ? null : item.getRef());
-        if (btc >= SchemaType.BTC_FIRST_PRIMITIVE && btc <= SchemaType.BTC_LAST_PRIMITIVE)
-            result.setPrimitiveTypeRef(result.getRef());
-        else if (variety == SchemaType.ATOMIC)
-        {
-            if (base == null)
-                throw new IllegalStateException("Base was null for " + btc);
-            if (base.getPrimitiveType() == null)
-                throw new IllegalStateException("Base.gpt was null for " + btc);
-            result.setPrimitiveTypeRef(base.getPrimitiveType().getRef());
-        }
-
-        XmlValueRef[] facets;
-        boolean[] fixedf;
-        int wsr = SchemaType.WS_COLLAPSE;
-        int decimalSize = SchemaType.NOT_DECIMAL;
-
-        // now set up facets
-        switch (btc)
-        {
-            default:
-                assert(false);
-
-            case SchemaType.BTC_ANY_TYPE:
-            case SchemaType.BTC_ANY_SIMPLE:
-            case SchemaType.BTC_NOT_BUILTIN:
-                facets = FACETS_NONE;
-                fixedf = FIXED_FACETS_NONE;
-                wsr = SchemaType.WS_UNSPECIFIED;
-                break;
-
-            case SchemaType.BTC_STRING:
-                facets = FACETS_WS_PRESERVE;
-                fixedf = FIXED_FACETS_NONE;
-                wsr = SchemaType.WS_PRESERVE;
-                break;
-
-            case SchemaType.BTC_BOOLEAN:
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-            case SchemaType.BTC_NOTATION:
-            case SchemaType.BTC_DURATION:
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                facets = FACETS_WS_COLLAPSE;
-                fixedf = FIXED_FACETS_WS;
-                break;
-
-            case SchemaType.BTC_DECIMAL:
-                facets = FACETS_WS_COLLAPSE;
-                fixedf = FIXED_FACETS_WS;
-                decimalSize = SchemaType.SIZE_BIG_DECIMAL;
-                break;
-
-            // derived numerics
-            case SchemaType.BTC_INTEGER:
-                facets = FACETS_INTEGER;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_LONG:
-                facets = FACETS_LONG;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_LONG;
-                break;
-
-            case SchemaType.BTC_INT:
-                facets = FACETS_INT;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_INT;
-                break;
-
-            case SchemaType.BTC_SHORT:
-                facets = FACETS_SHORT;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_SHORT;
-                break;
-
-            case SchemaType.BTC_BYTE:
-                facets = FACETS_BYTE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BYTE;
-                break;
-
-            case SchemaType.BTC_NON_POSITIVE_INTEGER:
-                facets = FACETS_NONPOSITIVE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_NEGATIVE_INTEGER:
-                facets = FACETS_NEGATIVE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_NON_NEGATIVE_INTEGER:
-                facets = FACETS_NONNEGATIVE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_POSITIVE_INTEGER:
-                facets = FACETS_POSITIVE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_UNSIGNED_LONG:
-                facets = FACETS_UNSIGNED_LONG;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_BIG_INTEGER;
-                break;
-
-            case SchemaType.BTC_UNSIGNED_INT:
-                facets = FACETS_UNSIGNED_INT;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_LONG;
-                break;
-
-            case SchemaType.BTC_UNSIGNED_SHORT:
-                facets = FACETS_UNSIGNED_SHORT;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_INT;
-                break;
-
-            case SchemaType.BTC_UNSIGNED_BYTE:
-                facets = FACETS_UNSIGNED_BYTE;
-                fixedf = FIXED_FACETS_INTEGER;
-                decimalSize = SchemaType.SIZE_SHORT;
-                break;
-
-
-            // derived strings
-            case SchemaType.BTC_NORMALIZED_STRING:
-                facets = FACETS_WS_REPLACE;
-                fixedf = FIXED_FACETS_NONE;
-                wsr = SchemaType.WS_REPLACE;
-                break;
-
-            case SchemaType.BTC_TOKEN:
-            case SchemaType.BTC_NAME:
-            case SchemaType.BTC_NCNAME:
-            case SchemaType.BTC_LANGUAGE:
-            case SchemaType.BTC_ID:
-            case SchemaType.BTC_IDREF:
-            case SchemaType.BTC_IDREFS:
-            case SchemaType.BTC_ENTITY:
-            case SchemaType.BTC_NMTOKEN:
-                facets = FACETS_WS_COLLAPSE;
-                fixedf = FIXED_FACETS_NONE;
-                wsr = SchemaType.WS_COLLAPSE;
-                break;
-
-            case SchemaType.BTC_ENTITIES:
-            case SchemaType.BTC_NMTOKENS:
-                facets = FACETS_BUILTIN_LIST;
-                fixedf = FIXED_FACETS_NONE;
-                wsr = SchemaType.WS_UNSPECIFIED;
-                break;
-        }
-
-        // fundamental facets
-        int ordered = SchemaType.UNORDERED;
-        boolean isNumeric = false;
-        boolean isFinite = false;
-        boolean isBounded = false;
-
-        switch (btc)
-        {
-            default:
-                assert(false);
-
-            case SchemaType.BTC_ANY_TYPE:
-            case SchemaType.BTC_NOT_BUILTIN:
-            case SchemaType.BTC_ANY_SIMPLE:
-            case SchemaType.BTC_STRING:
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_NOTATION:
-            case SchemaType.BTC_NORMALIZED_STRING:
-            case SchemaType.BTC_TOKEN:
-            case SchemaType.BTC_NAME:
-            case SchemaType.BTC_NCNAME:
-            case SchemaType.BTC_LANGUAGE:
-            case SchemaType.BTC_ID:
-            case SchemaType.BTC_IDREF:
-            case SchemaType.BTC_IDREFS:
-            case SchemaType.BTC_ENTITY:
-            case SchemaType.BTC_NMTOKEN:
-            case SchemaType.BTC_ENTITIES:
-            case SchemaType.BTC_NMTOKENS:
-                break;
-
-            case SchemaType.BTC_BOOLEAN:
-                isFinite = true;
-                break;
-
-
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-            case SchemaType.BTC_DECIMAL:
-            case SchemaType.BTC_INTEGER:
-                isNumeric = true;
-                ordered = SchemaType.TOTAL_ORDER;
-                break;
-
-            case SchemaType.BTC_DURATION:
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                ordered = SchemaType.PARTIAL_ORDER;
-                break;
-
-            case SchemaType.BTC_LONG:
-            case SchemaType.BTC_INT:
-            case SchemaType.BTC_SHORT:
-            case SchemaType.BTC_BYTE:
-            case SchemaType.BTC_NON_POSITIVE_INTEGER:
-            case SchemaType.BTC_NEGATIVE_INTEGER:
-            case SchemaType.BTC_NON_NEGATIVE_INTEGER:
-            case SchemaType.BTC_POSITIVE_INTEGER:
-            case SchemaType.BTC_UNSIGNED_LONG:
-            case SchemaType.BTC_UNSIGNED_INT:
-            case SchemaType.BTC_UNSIGNED_SHORT:
-            case SchemaType.BTC_UNSIGNED_BYTE:
-                isNumeric = true;
-                ordered = SchemaType.TOTAL_ORDER;
-                isFinite = true;
-                isBounded = true;
-                break;
-        }
-
-        result.setBasicFacets(facets, fixedf);
-        result.setWhiteSpaceRule(wsr);
-        result.setOrdered(ordered);
-        result.setBounded(isBounded);
-        result.setNumeric(isNumeric);
-        result.setFinite(isFinite);
-        result.setDecimalSize(decimalSize);
-        result.setAnonymousTypeRefs(EMPTY_SCHEMATYPEREF_ARRAY);
-
-        // TODO: set up patterns for NCNAME, language, etc.
-
-        String pattern = null;
-        boolean hasPattern = false;
-
-        switch (btc)
-        {
-            case SchemaType.BTC_LANGUAGE:
-                pattern = "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"; // we used to have ([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*", but s4s uses the more lenient pattern to the left. 
-                hasPattern = true;
-                break;
-            case SchemaType.BTC_NMTOKEN:
-                pattern = "\\c+"; 
-                hasPattern = true;
-                break;
-            case SchemaType.BTC_NAME:
-                pattern = "\\i\\c*";
-                hasPattern = true;
-                break;
-            case SchemaType.BTC_NCNAME:
-                pattern = "[\\i-[:]][\\c-[:]]*";
-                hasPattern = true;
-                break;
-
-            // These types inherit their patterns
-            case SchemaType.BTC_ID:
-            case SchemaType.BTC_IDREF:
-            case SchemaType.BTC_ENTITY:
-                hasPattern = true;
-                break;
-        }
-
-        if (pattern != null)
-        {
-            org.apache.xmlbeans.impl.regex.RegularExpression p = null;
-            try { p = org.apache.xmlbeans.impl.regex.SchemaRegularExpression.forPattern(pattern); }
-            catch (org.apache.xmlbeans.impl.regex.ParseException e) { assert false; }
-            result.setPatterns(new org.apache.xmlbeans.impl.regex.RegularExpression[] {p});
-        }
-        result.setPatternFacet(hasPattern);
-
-
-
-        // ANY_TYPE has to be able to act like a complex type
-        if (btc == SchemaType.BTC_ANY_TYPE)
-        {
-            SchemaParticleImpl contentModel = new SchemaParticleImpl();
-            contentModel.setParticleType(SchemaParticle.WILDCARD);
-            contentModel.setWildcardSet(QNameSet.ALL);
-            contentModel.setWildcardProcess(SchemaParticle.LAX);
-            contentModel.setMinOccurs(BigInteger.ZERO);
-            contentModel.setMaxOccurs(null);
-            contentModel.setTransitionRules(QNameSet.ALL, true);
-            contentModel.setTransitionNotes(QNameSet.ALL, true);
-
-            SchemaAttributeModelImpl attrModel = new SchemaAttributeModelImpl();
-            attrModel.setWildcardProcess(SchemaAttributeModel.LAX);
-            attrModel.setWildcardSet(QNameSet.ALL);
-
-            result.setComplexTypeVariety(SchemaType.MIXED_CONTENT);
-            result.setContentModel(contentModel, attrModel, Collections.EMPTY_MAP, Collections.EMPTY_MAP, false);
-            result.setAnonymousTypeRefs(EMPTY_SCHEMATYPEREF_ARRAY);
-            result.setWildcardSummary(QNameSet.ALL, true, QNameSet.ALL, true);
-        }
-        else if (btc == SchemaType.BTC_NOT_BUILTIN)
-        {
-            // so does the no_type : it permits no contents (and even empty contents is invalid, but that's special-cased)
-            SchemaParticleImpl contentModel = null; // empty
-            SchemaAttributeModelImpl attrModel = new SchemaAttributeModelImpl(); // empty
-            result.setComplexTypeVariety(SchemaType.EMPTY_CONTENT);
-            result.setContentModel(contentModel, attrModel, Collections.EMPTY_MAP, Collections.EMPTY_MAP, false);
-            result.setAnonymousTypeRefs(EMPTY_SCHEMATYPEREF_ARRAY);
-            result.setWildcardSummary(QNameSet.EMPTY, false, QNameSet.EMPTY, false);
-        }
-
-        result.setOrderSensitive(false);
-    }
-
-    public static SchemaType getNoType()
-    {
-        return ST_NO_TYPE;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ClassLoaderResourceLoader.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ClassLoaderResourceLoader.java
deleted file mode 100644
index 32be2a4..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ClassLoaderResourceLoader.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.InputStream;
-
-public class ClassLoaderResourceLoader implements ResourceLoader
-{
-    ClassLoader _classLoader;
-
-    ClassLoaderResourceLoader(ClassLoader classLoader)
-    {
-        _classLoader = classLoader;
-    }
-
-    public InputStream getResourceAsStream(String resourceName)
-    {
-        return _classLoader.getResourceAsStream(resourceName);
-    }
-
-    public void close() {}
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/FileResourceLoader.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/FileResourceLoader.java
deleted file mode 100644
index 314acda..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/FileResourceLoader.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.InputStream;
-import java.io.FileInputStream;
-import java.io.File;
-import java.io.IOException;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipEntry;
-
-public class FileResourceLoader implements ResourceLoader
-{
-    private File _directory;
-    private ZipFile _zipfile;
-
-    public FileResourceLoader(File file) throws IOException
-    {
-        if (file.isDirectory())
-            _directory = file;
-        else
-        {
-            _zipfile = new ZipFile(file);
-        }
-    }
-
-    public InputStream getResourceAsStream(String resourceName)
-    {
-        try
-        {
-            if (_zipfile != null)
-            {
-                ZipEntry entry = _zipfile.getEntry(resourceName);
-                if (entry == null)
-                    return null;
-                return _zipfile.getInputStream(entry);
-            }
-            else
-            {
-                return new FileInputStream(new File(_directory, resourceName));
-            }
-        }
-        catch (IOException e)
-        {
-            return null;
-        }
-    }
-
-    public void close()
-    {
-        if (_zipfile != null)
-        {
-            try
-            {
-                _zipfile.close();
-            }
-            catch (IOException e)
-            {
-                // oh well.
-            }
-            _zipfile = null;
-        }
-    }
-}
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/PathResourceLoader.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/PathResourceLoader.java
deleted file mode 100644
index 526d891..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/PathResourceLoader.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.InputStream;
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-public class PathResourceLoader implements ResourceLoader
-{
-    private ResourceLoader[] _path;
-
-    public PathResourceLoader(ResourceLoader[] loaderpath) throws IOException
-    {
-        _path = new ResourceLoader[loaderpath.length];
-        System.arraycopy(loaderpath, 0, _path, 0, _path.length);
-    }
-
-    public PathResourceLoader(File[] filepath)
-    {
-        List pathlist = new ArrayList();
-        for (int i = 0; i < filepath.length; i++)
-        {
-            try
-            {
-                ResourceLoader path = new FileResourceLoader(filepath[i]);
-                pathlist.add(path);
-            }
-            catch (IOException e)
-            {
-                continue; // can't read a file on classpath? skip it.
-            }
-        }
-        _path = (ResourceLoader[])pathlist.toArray(new ResourceLoader[pathlist.size()]);
-    }
-
-    public InputStream getResourceAsStream(String resourceName)
-    {
-        for (int i = 0; i < _path.length; i++)
-        {
-            InputStream result = _path[i].getResourceAsStream(resourceName);
-            if (result != null)
-                return result;
-        }
-        return null;
-    }
-
-    public void close()
-    {
-        for (int i = 0; i < _path.length; i++)
-        {
-            try
-            {
-                _path[i].close();
-            }
-            catch (Exception e)
-            {
-                // oh well.
-            }
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ResourceLoader.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ResourceLoader.java
deleted file mode 100644
index 6f5ab27..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/ResourceLoader.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.InputStream;
-
-public interface ResourceLoader
-{
-    InputStream getResourceAsStream(String resourceName);
-    void close();
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAnnotationImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAnnotationImpl.java
deleted file mode 100755
index 6d52b10..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAnnotationImpl.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.w3.x2001.xmlSchema.AppinfoDocument;
-import org.w3.x2001.xmlSchema.Annotated;
-import org.w3.x2001.xmlSchema.AnnotationDocument;
-import org.w3.x2001.xmlSchema.DocumentationDocument;
-import org.apache.xmlbeans.SchemaComponent;
-
-public class SchemaAnnotationImpl implements SchemaAnnotation
-{
-    private SchemaTypeSystem _typeSystem;
-    private AppinfoDocument.Appinfo[] _appInfo;
-    private DocumentationDocument.Documentation[] _documentation;
-    private Attribute[] _attributes;
-
-    public XmlObject[] getApplicationInformation()
-    {   return _appInfo; }
-
-    public XmlObject[] getUserInformation()
-    {   return _documentation; }
-
-    public Attribute[] getAttributes()
-    {   return _attributes; }
-
-    public int getComponentType()
-    {   return ANNOTATION; }
-
-    public SchemaTypeSystem getTypeSystem()
-    {   return _typeSystem; }
-
-    public QName getName()
-    {   return null; }
-
-    public SchemaComponent.Ref getComponentRef()
-    {   return null; }
-
-    public static SchemaAnnotationImpl getAnnotation(SchemaTypeSystem ts,
-        Annotated elem)
-    {
-        AnnotationDocument.Annotation ann = elem.getAnnotation();
-
-        return getAnnotation(ts, elem, ann);
-    }
-
-    public static SchemaAnnotationImpl getAnnotation(SchemaTypeSystem ts,
-        XmlObject elem, AnnotationDocument.Annotation ann)
-    {
-        // Check option
-        if (StscState.get().noAnn())
-            return null;
-
-        SchemaAnnotationImpl result = new SchemaAnnotationImpl(ts);
-        // Retrieving attributes, first attributes on the enclosing element
-        ArrayList attrArray = new ArrayList(2);
-        addNoSchemaAttributes(elem, attrArray);
-        if (ann == null)
-        {
-            if (attrArray.size() == 0)
-                return null; // no annotation present
-            // no annotation element present, but attributes on the enclosing
-            // element present, so we have an annotation component
-            result._appInfo = new AppinfoDocument.Appinfo[0];
-            result._documentation = new DocumentationDocument.Documentation[0];
-        }
-        else
-        {
-            result._appInfo = ann.getAppinfoArray();
-            result._documentation = ann.getDocumentationArray();
-            // Now the attributes on the annotation element
-            addNoSchemaAttributes(ann, attrArray);
-        }
-        
-        result._attributes =
-            (AttributeImpl[]) attrArray.toArray(new AttributeImpl[attrArray.size()]);
-        return result;
-    }
-
-    private static void addNoSchemaAttributes(XmlObject elem, List attrList)
-    {
-        XmlCursor cursor = elem.newCursor();
-        boolean hasAttributes = cursor.toFirstAttribute();
-        while (hasAttributes)
-        {
-            QName name = cursor.getName();
-            String namespaceURI = name.getNamespaceURI();
-            if ("".equals(namespaceURI) ||
-                "http://www.w3.org/2001/XMLSchema".equals(namespaceURI))
-                ; // no nothing
-            else
-                attrList.add(new AttributeImpl(name, cursor.getTextValue())); //add the attribute
-            hasAttributes = cursor.toNextAttribute();
-        }
-        cursor.dispose();
-    }
-
-    private SchemaAnnotationImpl(SchemaTypeSystem ts)
-    {
-        _typeSystem = ts;
-    }
-
-    /*package*/ SchemaAnnotationImpl(SchemaTypeSystem ts,
-        AppinfoDocument.Appinfo[] aap,
-        DocumentationDocument.Documentation[] adoc,
-        Attribute[] aat)
-    {
-        _typeSystem = ts;
-        _appInfo = aap;
-        _documentation = adoc;
-        _attributes = aat;
-    }
-
-    /*package*/ static class AttributeImpl implements Attribute
-    {
-        private QName _name;
-        private String _value;
-
-        /*package*/ AttributeImpl(QName name, String value)
-        {
-            _name = name;
-            _value = value;
-        }
-
-        public QName getName()
-        {   return _name; }
-
-        public String getValue()
-        {   return _value; }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeGroupImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeGroupImpl.java
deleted file mode 100644
index a71942d..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeGroupImpl.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaTypeSystem;
-
-public class SchemaAttributeGroupImpl implements SchemaAttributeGroup
-{
-    private SchemaTypeSystem _typeSystem;
-    private QName _name;
-    private XmlObject _parseObject;
-    private String _parseTNS;
-    private boolean _chameleon;
-    private boolean _redefinition;
-    private SchemaAnnotation _annotation;
-
-    public SchemaAttributeGroupImpl(SchemaTypeSystem typeSystem)
-    {
-        _typeSystem = typeSystem;
-    }
-
-    public SchemaAttributeGroupImpl(SchemaTypeSystem typeSystem, QName name)
-    {
-        this(typeSystem);
-        _name = name;
-    }
-
-    public void init(QName name, String targetNamespace, boolean chameleon, boolean redefinition, XmlObject x, SchemaAnnotation a)
-    {
-        assert _name == null || name.equals( _name );
-
-        _name = name;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-        _redefinition = redefinition;
-        _parseObject = x;
-        _annotation = a;
-    }
-
-    public SchemaTypeSystem getTypeSystem()
-    {
-        return _typeSystem;
-    }
-
-    public int getComponentType()
-        { return SchemaComponent.ATTRIBUTE_GROUP; }
-
-    public QName getName()
-        { return _name; }
-
-    public XmlObject getParseObject()
-        { return _parseObject; }
-
-    public String getTargetNamespace()
-        { return _parseTNS; }
-
-    public String getChameleonNamespace()
-        { return _chameleon ? _parseTNS : null; }
-
-    public SchemaAnnotation getAnnotation()
-        { return _annotation; }
-
-    private SchemaAttributeGroup.Ref _selfref = new SchemaAttributeGroup.Ref(this);
-    
-    public SchemaAttributeGroup.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-
-    public boolean isRedefinition()
-        { return _redefinition; }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeModelImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeModelImpl.java
deleted file mode 100644
index cca4eda..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaAttributeModelImpl.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import javax.xml.namespace.QName;
-
-import java.util.Map;
-import java.util.LinkedHashMap;
-
-public class SchemaAttributeModelImpl implements SchemaAttributeModel
-{
-    private Map attrMap;
-    private QNameSet wcSet;
-    private int wcProcess;
-
-    public SchemaAttributeModelImpl()
-    {
-        attrMap = new LinkedHashMap();
-        wcSet = null;
-        wcProcess = NONE;
-    }
-
-    public SchemaAttributeModelImpl(SchemaAttributeModel sam)
-    {
-        attrMap = new LinkedHashMap();
-        if (sam == null)
-        {
-            wcSet = null;
-            wcProcess = NONE;
-        }
-        else
-        {
-            SchemaLocalAttribute[] attrs = sam.getAttributes();
-            for (int i = 0; i < attrs.length; i++)
-            {
-                attrMap.put(attrs[i].getName(), attrs[i]);
-            }
-
-            if (sam.getWildcardProcess() != SchemaAttributeModel.NONE)
-            {
-                wcSet = sam.getWildcardSet();
-                wcProcess = sam.getWildcardProcess();
-            }
-        }
-    }
-    
-    private static final SchemaLocalAttribute[] EMPTY_SLA_ARRAY = new SchemaLocalAttribute[0];
-
-    public SchemaLocalAttribute[] getAttributes()
-    {
-        return (SchemaLocalAttribute[])attrMap.values().toArray(EMPTY_SLA_ARRAY);
-    }
-
-    public SchemaLocalAttribute getAttribute(QName name)
-    {
-        return (SchemaLocalAttribute)attrMap.get(name);
-    }
-
-    public void addAttribute(SchemaLocalAttribute attruse)
-    {
-        attrMap.put(attruse.getName(), attruse);
-    }
-    
-    public void removeProhibitedAttribute(QName name)
-    {
-        attrMap.remove(name);
-    }
-
-    public QNameSet getWildcardSet()
-    {
-        return wcSet == null ? QNameSet.EMPTY : wcSet;
-    }
-
-    public void setWildcardSet(QNameSet set)
-    {
-        wcSet = set;
-    }
-
-    public int getWildcardProcess()
-    {
-        return wcProcess;
-    }
-
-    public void setWildcardProcess(int proc)
-    {
-        wcProcess = proc;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalAttributeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalAttributeImpl.java
deleted file mode 100644
index 4015016..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalAttributeImpl.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlObject;
-
-public class SchemaGlobalAttributeImpl extends SchemaLocalAttributeImpl
-        implements SchemaGlobalAttribute
-{
-    SchemaTypeSystem _typeSystem;
-    String _filename;
-    private String _parseTNS;
-    private boolean _chameleon;
-
-    public SchemaGlobalAttributeImpl(SchemaTypeSystem typeSystem)
-    {
-        _typeSystem = typeSystem;
-    }
-
-    public SchemaTypeSystem getTypeSystem()
-    {
-        return _typeSystem;
-    }
-
-
-    public int getComponentType()
-    {
-        return SchemaComponent.ATTRIBUTE;
-    }
-
-    public String getSourceName()
-    {
-        return _filename;
-    }
-
-    public void setFilename(String filename)
-    {
-        _filename = filename;
-    }
-
-    public void setParseContext(XmlObject parseObject, String targetNamespace, boolean chameleon)
-    {
-        _parseObject = parseObject;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-    }
-
-    public XmlObject getParseObject()
-        { return _parseObject; }
-
-    public String getTargetNamespace()
-        { return _parseTNS; }
-
-    public String getChameleonNamespace()
-        { return _chameleon ? _parseTNS : null; }
-
-    private SchemaGlobalAttribute.Ref _selfref = new SchemaGlobalAttribute.Ref(this);
-
-    public SchemaGlobalAttribute.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalElementImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalElementImpl.java
deleted file mode 100644
index 34931c3..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaGlobalElementImpl.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlObject;
-import javax.xml.namespace.QName;
-
-import java.util.LinkedHashSet;
-import java.util.Set;
-
-public class SchemaGlobalElementImpl extends SchemaLocalElementImpl
-        implements SchemaGlobalElement
-{
-    private Set _sgMembers = new LinkedHashSet();
-    private static final QName[] _namearray = new QName[0];
-    private boolean _finalExt;
-    private boolean _finalRest;
-    private SchemaTypeSystem _typeSystem;
-    private String _filename;
-    // private XmlObject _parseObject; now inherited from base
-    private String _parseTNS;
-    private boolean _chameleon;
-    private SchemaGlobalElement.Ref _sg;
-
-    public SchemaGlobalElementImpl(SchemaTypeSystem typeSystem)
-    {
-        _typeSystem = typeSystem;
-    }
-
-    public SchemaTypeSystem getTypeSystem()
-    {
-        return _typeSystem;
-    }
-
-    public String getSourceName()
-    {
-        return _filename;
-    }
-
-    public void setFilename(String filename)
-    {
-        _filename = filename;
-    }
-
-    void setFinal(boolean finalExt, boolean finalRest)
-    {
-        mutate(); _finalExt = finalExt; _finalRest = finalRest;
-    }
-
-    public int getComponentType()
-    {
-        return SchemaComponent.ELEMENT;
-    }
-
-    public SchemaGlobalElement substitutionGroup()
-    {
-        return _sg == null ? null : _sg.get();
-    }
-
-    public void setSubstitutionGroup(SchemaGlobalElement.Ref sg) 
-    {
-        _sg = sg;
-    }
-
-    public QName[] substitutionGroupMembers()
-    {
-        return (QName[])_sgMembers.toArray(_namearray);
-    }
-
-    public void addSubstitutionGroupMember(QName name)
-    {
-        mutate(); _sgMembers.add(name);
-    }
-
-
-    public boolean finalExtension()
-    {
-        return _finalExt;
-    }
-
-    public boolean finalRestriction()
-    {
-        return _finalRest;
-    }
-
-    public void setParseContext(XmlObject parseObject, String targetNamespace, boolean chameleon)
-    {
-        _parseObject = parseObject;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-    }
-
-    public XmlObject getParseObject()
-        { return _parseObject; }
-
-    public String getTargetNamespace()
-        { return _parseTNS; }
-
-    public String getChameleonNamespace()
-        { return _chameleon ? _parseTNS : null; }
-
-    private SchemaGlobalElement.Ref _selfref = new SchemaGlobalElement.Ref(this);
-
-    public SchemaGlobalElement.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaIdentityConstraintImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaIdentityConstraintImpl.java
deleted file mode 100644
index 5607aa1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaIdentityConstraintImpl.java
+++ /dev/null
@@ -1,194 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.XPath;
-import javax.xml.namespace.QName;
-import java.util.Map;
-import java.util.Collections;
-
-public class SchemaIdentityConstraintImpl implements SchemaIdentityConstraint
-{
-    private SchemaTypeSystem _typeSystem;
-    private String _selector;
-    private String[] _fields;
-    private SchemaIdentityConstraint.Ref _key;
-    private QName _name;
-    private int _type;
-    private XmlObject _parse;
-    private SchemaAnnotation _annotation;
-    private Map _nsMap = Collections.EMPTY_MAP;
-    private String _parseTNS;
-    private boolean _chameleon;
-
-    // Lazily computed paths
-    private volatile XPath _selectorPath;
-    private volatile XPath[] _fieldPaths;
-
-    public SchemaIdentityConstraintImpl(SchemaTypeSystem sys) {
-        _typeSystem = sys;
-    }
-
-    public String getSelector() {
-        return _selector;
-    }
-
-    public Object getSelectorPath() {
-        XPath p = _selectorPath;
-        if (p == null) {
-            try {
-                buildPaths();
-                p = _selectorPath;
-            }
-            catch (XPath.XPathCompileException e) {
-                assert false: "Failed to compile xpath. Should be caught by compiler " + e;
-                return null;
-            }
-        }
-        return p;
-    }
-
-    public void setAnnotation(SchemaAnnotation ann)
-    {
-        _annotation = ann;
-    }
-
-    public SchemaAnnotation getAnnotation()
-    {
-        return _annotation;
-    }
-
-    public void setNSMap(Map nsMap) {
-        _nsMap = nsMap;
-    }
-
-    public Map getNSMap() {
-        return Collections.unmodifiableMap(_nsMap);
-    }
-
-    public void setSelector(String selector) {
-        assert selector != null;
-        _selector = selector;
-    }
-
-    public void setFields(String[] fields) {
-        assert fields != null && fields.length > 0;
-        _fields = fields;
-    }
-
-    public String[] getFields() {
-        String[] fields = new String[_fields.length];
-        System.arraycopy(_fields, 0, fields, 0, fields.length);
-        return fields;
-    }
-
-    public Object getFieldPath(int index) {
-        XPath[] p = _fieldPaths;
-        if (p == null) {
-            try {
-                buildPaths();
-                p = _fieldPaths;
-            }
-            catch (XPath.XPathCompileException e) {
-                assert false: "Failed to compile xpath. Should be caught by compiler " + e;
-                return null;
-            }
-        }
-        return p[index];
-    }
-
-    public void buildPaths() throws XPath.XPathCompileException {
-        // TODO: Need the namespace map - requires store support
-        _selectorPath = XPath.compileXPath(_selector, _nsMap);
-
-        _fieldPaths = new XPath[_fields.length];
-        for (int i = 0 ; i < _fieldPaths.length ; i++)
-            _fieldPaths[i] = XPath.compileXPath(_fields[i], _nsMap);
-    }
-
-    public void setReferencedKey(SchemaIdentityConstraint.Ref key) {
-        _key = key;
-    }
-
-    public SchemaIdentityConstraint getReferencedKey() {
-        return _key.get();
-    }
-
-    public void setConstraintCategory(int type) {
-        assert type >= CC_KEY && type <= CC_UNIQUE;
-        _type = type;
-    }
-
-    public int getConstraintCategory() {
-        return _type;
-    }
-
-    public void setName(QName name) {
-        assert name != null;
-        _name = name;
-    }
-
-    public QName getName() {
-        return _name;
-    }
-
-    public int getComponentType() {
-        return IDENTITY_CONSTRAINT;
-    }
-
-    public SchemaTypeSystem getTypeSystem() {
-        return _typeSystem;
-    }
-
-    public void setParseContext(XmlObject o, String targetNamespace, boolean chameleon) {
-        _parse = o;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-    }
-
-    public XmlObject getParseObject() {
-        return _parse;
-    }
-
-    public String getTargetNamespace() {
-        return _parseTNS;
-    }
-
-    public String getChameleonNamespace() {
-        return _chameleon ? _parseTNS : null;
-    }
-
-
-    /**
-     * Only applicable to keyrefs. Other types are implicitly resolved.
-     */
-    public boolean isResolved() {
-        return getConstraintCategory() != CC_KEYREF || _key != null;
-    }
-
-    private SchemaIdentityConstraint.Ref _selfref = new SchemaIdentityConstraint.Ref(this);
-
-    public SchemaIdentityConstraint.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalAttributeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalAttributeImpl.java
deleted file mode 100644
index 7829030..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalAttributeImpl.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.soap.SchemaWSDLArrayType;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-
-import java.math.BigInteger;
-
-public class SchemaLocalAttributeImpl implements SchemaLocalAttribute, SchemaWSDLArrayType
-{
-    public SchemaLocalAttributeImpl()
-    {
-    }
-
-    public void init(QName name, SchemaType.Ref typeref, int use, String deftext, XmlObject parseObject, XmlValueRef defvalue, boolean isFixed, SOAPArrayType wsdlArray, SchemaAnnotation ann)
-    {
-        if (_xmlName != null || _typeref != null)
-            throw new IllegalStateException("Already initialized");
-        _use = use;
-        _typeref = typeref;
-        _defaultText = deftext;
-        _parseObject = parseObject;
-        _defaultValue = defvalue;
-        _isDefault = (deftext != null);
-        _isFixed = isFixed;
-        _xmlName = name;
-        _wsdlArrayType = wsdlArray;
-        _annotation = ann;
-    }
-
-    private String _defaultText;
-    /* package */ XmlValueRef _defaultValue;
-    private boolean _isFixed;
-    private boolean _isDefault;
-    private QName _xmlName;
-    private SchemaType.Ref _typeref;
-    private SOAPArrayType _wsdlArrayType;
-    private int _use;
-    private SchemaAnnotation _annotation;
-    protected XmlObject _parseObject; // for QName resolution
-
-    public boolean isTypeResolved()
-    {
-        return (_typeref != null);
-    }
-
-    public void resolveTypeRef(SchemaType.Ref typeref)
-    {
-        if (_typeref != null)
-            throw new IllegalStateException();
-        _typeref = typeref;
-    }
-
-    public int getUse()
-        { return _use; }
-
-    public QName getName()
-        { return _xmlName; }
-
-    public String getDefaultText()
-        { return _defaultText; }
-
-    public boolean isDefault()
-        { return _isDefault; }
-
-    public boolean isFixed()
-        { return _isFixed; }
-
-    public boolean isAttribute()
-        { return true; }
-
-    public SchemaAnnotation getAnnotation()
-        { return _annotation; }
-
-    public SchemaType getType()
-        { return _typeref.get(); }
-
-    public SchemaType.Ref getTypeRef()
-        { return _typeref; }
-
-    public BigInteger getMinOccurs()
-        { return _use == REQUIRED ? BigInteger.ONE : BigInteger.ZERO; }
-
-    public BigInteger getMaxOccurs()
-        { return _use == PROHIBITED ? BigInteger.ZERO : BigInteger.ONE; }
-
-    public boolean isNillable()
-        { return false; }
-
-    public SOAPArrayType getWSDLArrayType()
-        { return _wsdlArrayType; }
-    
-    public XmlAnySimpleType getDefaultValue()
-    {
-        if (_defaultValue != null)
-            return _defaultValue.get();
-        if (_defaultText != null && XmlAnySimpleType.type.isAssignableFrom(getType()))
-        {
-            if (_parseObject != null)
-            {
-                try
-                {
-                    NamespaceContext.push(new NamespaceContext(_parseObject));
-                    return getType().newValue(_defaultText);
-                }
-                finally
-                {
-                    NamespaceContext.pop();
-                }
-            }
-            return getType().newValue(_defaultText);
-        }
-        return null;
-    }
-
-    public void setDefaultValue(XmlValueRef defaultRef)
-        { _defaultValue = defaultRef; }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalElementImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalElementImpl.java
deleted file mode 100644
index 4aa51f5..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaLocalElementImpl.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.soap.SchemaWSDLArrayType;
-
-public class SchemaLocalElementImpl extends SchemaParticleImpl
-        implements SchemaLocalElement, SchemaWSDLArrayType
-{
-    private boolean _blockExt;
-    private boolean _blockRest;
-    private boolean _blockSubst;
-    protected boolean _abs;
-    private SchemaAnnotation _annotation;
-    private SOAPArrayType _wsdlArrayType;
-    private SchemaIdentityConstraint.Ref[] _constraints = new SchemaIdentityConstraint.Ref[0];
-
-
-    public SchemaLocalElementImpl()
-    {
-        setParticleType(SchemaParticle.ELEMENT);
-    }
-
-    public boolean blockExtension()
-    {
-        return _blockExt;
-    }
-
-    public boolean blockRestriction()
-    {
-        return _blockRest;
-    }
-
-    public boolean blockSubstitution()
-    {
-        return _blockSubst;
-    }
-
-    public boolean isAbstract()
-    {
-        return _abs;
-    }
-
-    public void setAbstract(boolean abs)
-    {
-        _abs = abs;
-    }
-
-    public void setBlock(boolean extension, boolean restriction, boolean substitution)
-    {
-        mutate();
-        _blockExt = extension;
-        _blockRest = restriction;
-        _blockSubst = substitution;
-    }
-
-    public void setAnnotation(SchemaAnnotation ann)
-    {
-        _annotation = ann;
-    }
-
-    public void setWsdlArrayType(SOAPArrayType arrayType)
-    {
-        _wsdlArrayType = arrayType;
-    }
-
-    public SchemaAnnotation getAnnotation()
-    {
-        return _annotation;
-    }
-
-    public SOAPArrayType getWSDLArrayType()
-    {
-        return _wsdlArrayType;
-    }
-
-    public void setIdentityConstraints(SchemaIdentityConstraint.Ref[] constraints) {
-        mutate();
-        _constraints = constraints;
-    }
-
-    public SchemaIdentityConstraint[] getIdentityConstraints() {
-        SchemaIdentityConstraint[] result = new SchemaIdentityConstraint[_constraints.length];
-        for (int i = 0 ; i < result.length ; i++)
-            result[i] = _constraints[i].get();
-        return result;
-    }
-
-    public SchemaIdentityConstraint.Ref[] getIdentityConstraintRefs() {
-        SchemaIdentityConstraint.Ref[] result = new SchemaIdentityConstraint.Ref[_constraints.length];
-        System.arraycopy(_constraints, 0, result, 0, result.length);
-        return result;
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaModelGroupImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaModelGroupImpl.java
deleted file mode 100644
index 1374cbc..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaModelGroupImpl.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import javax.xml.namespace.QName;
-
-public class SchemaModelGroupImpl implements SchemaModelGroup
-{
-    private SchemaTypeSystem _typeSystem;
-    private QName _name;
-    private XmlObject _parseObject;
-    private String _parseTNS;
-    private boolean _chameleon;
-    private boolean _redefinition;
-    private SchemaAnnotation _annotation;
-
-    public SchemaModelGroupImpl(SchemaTypeSystem typeSystem)
-    {
-        _typeSystem = typeSystem;
-    }
-
-    public SchemaModelGroupImpl(SchemaTypeSystem typeSystem, QName name)
-    {
-        this(typeSystem);
-        _name = name;
-    }
-
-    public void init(QName name, String targetNamespace, boolean chameleon, boolean redefinition, XmlObject x, SchemaAnnotation a)
-    {
-        assert _name == null || name.equals( _name );
-        
-        _name = name;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-        _redefinition = redefinition;
-        _parseObject = x;
-        _annotation = a;
-    }
-
-    public SchemaTypeSystem getTypeSystem()
-    {
-        return _typeSystem;
-    }
-
-    public int getComponentType()
-        { return SchemaComponent.MODEL_GROUP; }
-
-    public QName getName()
-        { return _name; }
-
-    public XmlObject getParseObject()
-        { return _parseObject; }
-
-    public String getTargetNamespace()
-        { return _parseTNS; }
-
-    public String getChameleonNamespace()
-        { return _chameleon ? _parseTNS : null; }
-    
-    public boolean isRedefinition()
-        { return _redefinition; }
-
-    public SchemaAnnotation getAnnotation()
-        { return _annotation; }
-
-    private SchemaModelGroup.Ref _selfref = new SchemaModelGroup.Ref(this);
-    
-    public SchemaModelGroup.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaParticleImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaParticleImpl.java
deleted file mode 100644
index ccf6899..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaParticleImpl.java
+++ /dev/null
@@ -1,240 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-
-public class SchemaParticleImpl implements SchemaParticle
-{
-    private int _particleType;
-    private BigInteger _minOccurs;
-    private BigInteger _maxOccurs;
-    private SchemaParticle[] _particleChildren;
-    private boolean _isImmutable;
-    private QNameSet _startSet;
-    private QNameSet _excludeNextSet;
-    private boolean _isSkippable;
-    private boolean _isDeterministic;
-    private int _intMinOccurs;
-    private int _intMaxOccurs;
-    private QNameSet _wildcardSet;
-    private int _wildcardProcess;
-    private String _defaultText;
-    private boolean _isDefault;
-    private boolean _isFixed;
-    private QName _qName;
-    private boolean _isNillable;
-    private SchemaType.Ref _typeref;
-    protected XmlObject _parseObject;
-    private XmlValueRef _defaultValue;
-
-    protected void mutate()
-        { if (_isImmutable) throw new IllegalStateException(); }
-
-    public void setImmutable()
-        { mutate(); _isImmutable = true; }
-
-    public boolean hasTransitionRules()
-        { return (_startSet != null); }
-
-    public boolean hasTransitionNotes()
-        { return (_excludeNextSet != null); }
-
-    public void setTransitionRules(QNameSet start,
-                                   boolean isSkippable)
-    {
-        _startSet = start;
-        _isSkippable = isSkippable;
-    }
-
-    public void setTransitionNotes(QNameSet excludeNext, boolean isDeterministic)
-    {
-        _excludeNextSet = excludeNext;
-        _isDeterministic = isDeterministic;
-    }
-
-    public boolean canStartWithElement(QName name)
-        { return name != null && _startSet.contains(name); }
-
-    public QNameSet acceptedStartNames()
-        { return _startSet; }
-
-    public QNameSet getExcludeNextSet()
-        { return _excludeNextSet; }
-
-    public boolean isSkippable()
-        { return _isSkippable; }
-
-    public boolean isDeterministic()
-        { return _isDeterministic; }
-
-    public int getParticleType()
-        { return _particleType; }
-
-    public void setParticleType(int pType)
-        { mutate(); _particleType = pType; }
-
-    public boolean isSingleton()
-        { return _maxOccurs != null &&
-                 _maxOccurs.compareTo(BigInteger.ONE) == 0 &&
-                 _minOccurs.compareTo(BigInteger.ONE) == 0; }
-
-    public BigInteger getMinOccurs()
-        { return _minOccurs; }
-
-    public void setMinOccurs(BigInteger min)
-        { mutate(); _minOccurs = min; _intMinOccurs = pegBigInteger(min); }
-
-    public int getIntMinOccurs()
-        { return _intMinOccurs; }
-
-    public BigInteger getMaxOccurs()
-        { return _maxOccurs; }
-
-    public int getIntMaxOccurs()
-        { return _intMaxOccurs; }
-
-    public void setMaxOccurs(BigInteger max)
-        { mutate(); _maxOccurs = max; _intMaxOccurs = pegBigInteger(max); }
-
-    public SchemaParticle[] getParticleChildren()
-    {
-        SchemaParticle[] result = new SchemaParticle[_particleChildren.length];
-        System.arraycopy(_particleChildren, 0, result, 0, _particleChildren.length);
-        return result;
-    }
-
-    public void setParticleChildren(SchemaParticle[] children)
-        { mutate(); _particleChildren = children; }
-
-    public SchemaParticle getParticleChild(int i)
-        { return _particleChildren[i]; }
-
-    public int countOfParticleChild()
-        { return _particleChildren == null ? 0 : _particleChildren.length; }
-
-    public void setWildcardSet(QNameSet set)
-        { mutate(); _wildcardSet = set; }
-
-    public QNameSet getWildcardSet()
-        { return _wildcardSet; }
-
-    public void setWildcardProcess(int process)
-        { mutate(); _wildcardProcess = process; }
-
-    public int getWildcardProcess()
-        { return _wildcardProcess; }
-
-    private static final BigInteger _maxint = BigInteger.valueOf(Integer.MAX_VALUE);
-
-    private static final int pegBigInteger(BigInteger bi)
-    {
-        if (bi == null)
-            return Integer.MAX_VALUE;
-        if (bi.signum() <= 0)
-            return 0;
-        if (bi.compareTo(_maxint) >= 0)
-            return Integer.MAX_VALUE;
-        return bi.intValue();
-    }
-
-    public QName getName()
-        { return _qName; }
-
-    public void setNameAndTypeRef(QName formname, SchemaType.Ref typeref)
-        { mutate(); _qName = formname; _typeref = typeref; }
-
-    public boolean isTypeResolved()
-    {
-        return (_typeref != null);
-    }
-
-    public void resolveTypeRef(SchemaType.Ref typeref)
-    {
-        if (_typeref != null)
-            throw new IllegalStateException();
-        _typeref = typeref;
-    }
-
-    public boolean isAttribute()
-        { return false; }
-
-    public SchemaType getType()
-        { if (_typeref == null) return null; return _typeref.get(); }
-
-    public String getDefaultText()
-        { return _defaultText; }
-
-    public boolean isDefault()
-        { return _isDefault; }
-
-    public boolean isFixed()
-        { return _isFixed; }
-
-    public void setDefault(String deftext, boolean isFixed, XmlObject parseObject)
-    {
-        mutate();
-        _defaultText = deftext;
-        _isDefault = (deftext != null);
-        _isFixed = isFixed;
-        _parseObject = parseObject;
-    }
-
-    public boolean isNillable()
-        { return _isNillable; }
-
-    public void setNillable(boolean nillable)
-        { mutate(); _isNillable = nillable; }
-
-    public XmlAnySimpleType getDefaultValue()
-    {
-        if (_defaultValue != null)
-            return _defaultValue.get();
-        if (_defaultText != null && XmlAnySimpleType.type.isAssignableFrom(getType()))
-        {
-            if (_parseObject != null && XmlQName.type.isAssignableFrom(getType()))
-            {
-                try
-                {
-                    NamespaceContext.push(new NamespaceContext(_parseObject));
-                    return getType().newValue(_defaultText);
-                }
-                finally
-                {
-                    NamespaceContext.pop();
-                }
-            }
-            return getType().newValue(_defaultText);
-        }
-        return null;
-    }
-    
-    public void setDefaultValue(XmlValueRef defaultRef)
-    {
-        mutate();
-        _defaultValue = defaultRef;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaPropertyImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaPropertyImpl.java
deleted file mode 100644
index 1836cdb..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaPropertyImpl.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-
-import java.math.BigInteger;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-
-public class SchemaPropertyImpl implements SchemaProperty
-{
-    private QName _name;
-    private SchemaType.Ref _typeref;
-    private boolean _isAttribute;
-    private SchemaType.Ref _containerTypeRef;
-    private String _javaPropertyName;
-    private BigInteger _minOccurs;
-    private BigInteger _maxOccurs;
-    private int _hasNillable;
-    private int _hasDefault;
-    private int _hasFixed;
-    private String _defaultText;
-    private boolean _isImmutable;
-    private SchemaType.Ref _javaBasedOnTypeRef;
-    private boolean _extendsSingleton;
-    private boolean _extendsArray;
-    private boolean _extendsOption;
-    private int _javaTypeCode;
-    private QNameSet _javaSetterDelimiter;
-    private XmlValueRef _defaultValue;
-    private Set _acceptedNames;
-
-    private void mutate()
-        { if (_isImmutable) throw new IllegalStateException(); }
-
-    public void setImmutable()
-        { mutate(); _isImmutable = true; }
-
-    public SchemaType getContainerType()
-        { return _containerTypeRef.get(); }
-
-    public void setContainerTypeRef(SchemaType.Ref typeref)
-        { mutate(); _containerTypeRef = typeref; }
-
-    public QName getName()
-        { return _name; }
-
-    public void setName(QName name)
-        { mutate(); _name = name; }
-
-    public String getJavaPropertyName()
-        { return _javaPropertyName; }
-
-    public void setJavaPropertyName(String name)
-        { mutate(); _javaPropertyName = name; }
-
-    public boolean isAttribute()
-        { return _isAttribute; }
-
-    public void setAttribute(boolean isAttribute)
-        { mutate(); _isAttribute = isAttribute; }
-
-    public boolean isReadOnly()
-        { return false; }
-
-    public SchemaType getType()
-        { return _typeref.get(); }
-
-    public void setTypeRef(SchemaType.Ref typeref)
-        { mutate(); _typeref = typeref; }
-
-    public SchemaType javaBasedOnType()
-        { return _javaBasedOnTypeRef == null ? null : _javaBasedOnTypeRef.get(); }
-
-    public boolean extendsJavaSingleton()
-        { return _extendsSingleton; }
-
-    public boolean extendsJavaArray()
-        { return _extendsArray; }
-
-    public boolean extendsJavaOption()
-        { return _extendsOption; }
-
-    public void setExtendsJava(SchemaType.Ref javaBasedOnTypeRef, boolean singleton, boolean option, boolean array)
-    {
-        mutate();
-        _javaBasedOnTypeRef = javaBasedOnTypeRef;
-        _extendsSingleton = singleton;
-        _extendsOption = option;
-        _extendsArray = array;
-    }
-
-    public QNameSet getJavaSetterDelimiter()
-        { return _javaSetterDelimiter == null ? QNameSet.EMPTY : _javaSetterDelimiter; }
-
-    public void setJavaSetterDelimiter(QNameSet set)
-        { mutate(); _javaSetterDelimiter = set; }
-
-    public QName[] acceptedNames()
-    { 
-        if (_acceptedNames == null)
-            return new QName[] { _name };
-
-        return (QName[])_acceptedNames.toArray(new QName[_acceptedNames.size()]); 
-    }
-
-    public void setAcceptedNames(Set set)
-    {
-        mutate(); 
-        _acceptedNames = set;
-    }
-    public void setAcceptedNames(QNameSet set)
-    { 
-        mutate(); 
-        _acceptedNames = set.includedQNamesInExcludedURIs();
-    }
-
-    public BigInteger getMinOccurs()
-        { return _minOccurs; }
-
-    public void setMinOccurs(BigInteger min)
-        { mutate(); _minOccurs = min; }
-
-    public BigInteger getMaxOccurs()
-        { return _maxOccurs; }
-
-    public void setMaxOccurs(BigInteger max)
-        { mutate(); _maxOccurs = max; }
-
-    public int hasNillable()
-        { return _hasNillable; }
-
-    public void setNillable(int when)
-        { mutate(); _hasNillable = when; }
-
-    public int hasDefault()
-        { return _hasDefault; }
-
-    public void setDefault(int when)
-        { mutate(); _hasDefault = when; }
-
-    public int hasFixed()
-        { return _hasFixed; }
-
-    public void setFixed(int when)
-        { mutate(); _hasFixed = when; }
-
-    public String getDefaultText()
-        { return _defaultText; }
-
-    public void setDefaultText(String val)
-        { mutate(); _defaultText = val; }
-
-    public XmlAnySimpleType getDefaultValue()
-    {
-        if (_defaultValue != null)
-            return _defaultValue.get();
-        return null;
-    }
-    
-    public void setDefaultValue(XmlValueRef defaultRef)
-    {
-        mutate();
-        _defaultValue = defaultRef;
-    }
-
-    public int getJavaTypeCode()
-        { return _javaTypeCode; }
-
-    public void setJavaTypeCode(int code)
-        { mutate(); _javaTypeCode = code; }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaStringEnumEntryImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaStringEnumEntryImpl.java
deleted file mode 100644
index 6ac2c70..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaStringEnumEntryImpl.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-
-public class SchemaStringEnumEntryImpl implements SchemaStringEnumEntry
-{
-    private String _string;
-    private int _int;
-    private String _enumName;
-
-    public SchemaStringEnumEntryImpl(String str, int i, String enumName)
-    {
-        _string = str;
-        _int = i;
-        _enumName = enumName;
-    }
-
-    public String getString()
-    {
-        return _string;
-    }
-
-    public int getIntValue()
-    {
-        return _int;
-    }
-
-    public String getEnumName()
-    {
-        return _enumName;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
deleted file mode 100644
index 8e9b47d..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
+++ /dev/null
@@ -1,2296 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.Writer;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.common.NameUtil;
-import org.apache.xmlbeans.impl.config.ExtensionHolder;
-import org.apache.xmlbeans.impl.config.InterfaceExtension;
-import org.apache.xmlbeans.impl.config.PrePostExtension;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaCodePrinter;
-
-/**
- * Prints the java code for a single schema type
- */
-public final class SchemaTypeCodePrinter implements SchemaCodePrinter
-{
-    Writer _writer;
-    int    _indent;
-
-    static final String LINE_SEPARATOR =
-        System.getProperty("line.separator") == null
-            ? "\n"
-            : System.getProperty("line.separator");
-
-    static final String MAX_SPACES = "                                        ";
-    static final int INDENT_INCREMENT = 4;
-
-    public static final String INDEX_CLASSNAME = "TypeSystemHolder";
-
-    public static void printTypeImpl ( Writer writer, SchemaType sType,
-                                       XmlOptions opt )
-        throws IOException
-    {
-        getPrinter(opt).printTypeImpl( writer, sType );
-    }
-
-    public static void printType ( Writer writer, SchemaType sType,
-                                   XmlOptions opt )
-        throws IOException
-    {
-        getPrinter(opt).printType( writer, sType );
-    }
-
-    public static void printLoader ( Writer writer, SchemaTypeSystem system,
-                                     XmlOptions opt )
-        throws IOException
-    {
-        getPrinter(opt).printLoader( writer, system );
-    }
-
-    private static SchemaCodePrinter getPrinter(XmlOptions opt)
-    {
-        Object printer = XmlOptions.safeGet
-            (opt, XmlOptions.SCHEMA_CODE_PRINTER);
-        if (printer == null || !(printer instanceof SchemaCodePrinter))
-        {
-            printer = new SchemaTypeCodePrinter();
-        }
-        return (SchemaCodePrinter) printer;
-    }
-
-    public SchemaTypeCodePrinter ()
-    {
-        _indent = 0;
-    }
-
-    void indent()
-    {
-        _indent += INDENT_INCREMENT;
-    }
-
-    void outdent()
-    {
-        _indent -= INDENT_INCREMENT;
-    }
-
-    String encodeString ( String s )
-    {
-        StringBuffer sb = new StringBuffer();
-
-        sb.append( '"' );
-
-        for ( int i = 0 ; i < s.length() ; i++ )
-        {
-            char ch = s.charAt( i );
-
-            if (ch == '"')
-            {
-                sb.append( '\\' );
-                sb.append( '\"' );
-            }
-            else if (ch == '\\')
-            {
-                sb.append( '\\' );
-                sb.append( '\\' );
-            }
-            else if (ch == '\r')
-            {
-                sb.append( '\\' );
-                sb.append( 'r' );
-            }
-            else if (ch == '\n')
-            {
-                sb.append( '\\' );
-                sb.append( 'n' );
-            }
-            else if (ch == '\t')
-            {
-                sb.append( '\\' );
-                sb.append( 't' );
-            }
-            else
-                sb.append( ch );
-        }
-
-        sb.append( '"' );
-
-        return sb.toString();
-    }
-
-    void emit(String s) throws IOException
-    {
-        int indent = _indent;
-        
-        if (indent > MAX_SPACES.length() / 2)
-            indent = MAX_SPACES.length() / 4 + indent / 2;
-        
-        if (indent > MAX_SPACES.length())
-            indent = MAX_SPACES.length();
-        
-        _writer.write(MAX_SPACES.substring(0, indent));
-        _writer.write(s);
-        _writer.write(LINE_SEPARATOR);
-        
-        // System.out.print(MAX_SPACES.substring(0, indent));
-        // System.out.println(s);
-    }
-
-    public void printType(Writer writer, SchemaType sType) throws IOException
-    {
-        _writer = writer;
-        printTopComment(sType);
-        printPackage(sType, true);
-        emit("");
-        printInnerType(sType, sType.getTypeSystem());
-        _writer.flush();
-    }
-
-    public void printTypeImpl(Writer writer, SchemaType sType) 
-        throws IOException
-    {
-        _writer = writer;
-        printTopComment(sType);
-        printPackage(sType, false);
-        printInnerTypeImpl(sType, sType.getTypeSystem(), false);
-    }
-
-    /**
-     * Since not all schema types have java types, this skips
-     * over any that don't and gives you the nearest java base type.
-     */
-    String findJavaType ( SchemaType sType )
-    {
-        while ( sType.getFullJavaName() == null )
-            sType = sType.getBaseType();
-        
-        return sType.getFullJavaName();
-    }
-
-    static String prettyQName(QName qname)
-    {
-        String result = qname.getLocalPart();
-        if (qname.getNamespaceURI() != null)
-            result += "(@" + qname.getNamespaceURI() + ")";
-        return result;
-    }
-
-    void printInnerTypeJavaDoc(SchemaType sType) throws IOException
-    {
-        QName name = sType.getName();
-        if (name == null)
-        {
-            if (sType.isDocumentType())
-                name = sType.getDocumentElementName();
-            else if (sType.isAttributeType())
-                name = sType.getAttributeTypeAttributeName();
-            else if (sType.getContainerField() != null)
-                name = sType.getContainerField().getName();
-        }
-
-        emit("/**");
-        if (sType.isDocumentType())
-            emit(" * A document containing one " + prettyQName(name) + " element.");
-        else if (sType.isAttributeType())
-            emit(" * A document containing one " + prettyQName(name) + " attribute.");
-        else if (name != null)
-            emit(" * An XML " + prettyQName(name) + ".");
-        else
-            emit(" * An anonymous inner XML type.");
-        emit(" *");
-        switch (sType.getSimpleVariety())
-        {
-            case SchemaType.NOT_SIMPLE:
-                emit(" * This is a complex type.");
-                break;
-            case SchemaType.ATOMIC:
-                emit(" * This is an atomic type that is a restriction of " + sType.getBaseType().getFullJavaName() + ".");
-                break;
-            case SchemaType.LIST:
-                emit(" * This is a list type whose items are " + sType.getListItemType().getFullJavaName() + ".");
-                break;
-            case SchemaType.UNION:
-                emit(" * This is a union type. Instances are of one of the following types:");
-                SchemaType[] members = sType.getUnionConstituentTypes();
-                for (int i = 0; i < members.length; i++)
-                    emit(" *     " + members[i].getFullJavaName());
-                break;
-        }
-        emit(" */");
-    }
-
-    public static String indexClassForSystem(SchemaTypeSystem system)
-    {
-        String name = system.getName();
-        return name + "." + INDEX_CLASSNAME;
-    }
-
-    static String shortIndexClassForSystem(SchemaTypeSystem system)
-    {
-        return INDEX_CLASSNAME;
-    }
-
-    void printStaticTypeDeclaration(SchemaType sType, SchemaTypeSystem system) throws IOException
-    {
-        emit("public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)" +
-                indexClassForSystem(system) +
-                ".typeSystem.resolveHandle(\"" +
-                ((SchemaTypeSystemImpl)system).handleForType(sType) + "\");");
-    }
-
-    public void printLoader(Writer writer, SchemaTypeSystem system)
-        throws IOException
-    {
-        _writer = writer;
-        String shortName = shortIndexClassForSystem(system);
-        emit("package " + system.getName() + ";");
-        emit("");
-        emit("public final class " + shortName);
-        emit("{");
-        indent();
-        emit("private " + shortName + "() { }");
-        emit("public static final org.apache.xmlbeans.SchemaTypeSystem typeSystem = loadTypeSystem();");
-        emit("static { typeSystem.resolve(); }");
-        emit("private static final org.apache.xmlbeans.SchemaTypeSystem loadTypeSystem()");
-        emit("{");
-        indent();
-        emit("try { return (org.apache.xmlbeans.SchemaTypeSystem)Class.forName(\"org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl\", true, " + shortName + ".class.getClassLoader()).getConstructor(new Class[] { Class.class }).newInstance(new java.lang.Object[] { " + shortName + ".class }); }");
-        emit("catch (ClassNotFoundException e) { throw new RuntimeException(\"Cannot load org.apache.xmlbeans.impl.SchemaTypeSystemImpl: make sure xbean.jar is on the classpath.\", e); }");
-        emit("catch (Exception e) { throw new RuntimeException(\"Could not instantiate SchemaTypeSystemImpl (\" + e.toString() + \"): is the version of xbean.jar correct?\", e); }");
-        outdent();
-        emit("}");
-        outdent();
-        emit("}");
-    }
-
-    void printInnerType(SchemaType sType, SchemaTypeSystem system) throws IOException
-    {
-        emit("");
-
-        printInnerTypeJavaDoc(sType);
-
-        startInterface(sType);
-        
-        printStaticTypeDeclaration(sType, system);
-
-        if (sType.isSimpleType())
-        {
-            if (sType.hasStringEnumValues())
-                printStringEnumeration(sType);
-        }
-        else
-        {
-            SchemaProperty[] props = getDerivedProperties(sType);
-
-            for (int i = 0; i < props.length; i++)
-            {
-                SchemaProperty prop = props[i];
-
-                printPropertyGetters(
-                    prop.getName(),
-                    prop.isAttribute(),
-                    prop.getJavaPropertyName(),
-                    prop.getJavaTypeCode(),
-                    javaTypeForProperty(prop),
-                    xmlTypeForProperty(prop),
-                    prop.hasNillable() != SchemaProperty.NEVER,
-                    prop.extendsJavaOption(),
-                    prop.extendsJavaArray(),
-                    prop.extendsJavaSingleton()
-                );
-
-                if (!prop.isReadOnly())
-                {
-                    printPropertySetters(
-                        prop.getName(),
-                        prop.isAttribute(),
-                        prop.getJavaPropertyName(),
-                        prop.getJavaTypeCode(),
-                        javaTypeForProperty(prop),
-                        xmlTypeForProperty(prop),
-                        prop.hasNillable() != SchemaProperty.NEVER,
-                        prop.extendsJavaOption(),
-                        prop.extendsJavaArray(),
-                        prop.extendsJavaSingleton()
-                    );
-                }
-            }
-
-        }
-        
-        printNestedInnerTypes(sType, system);
-
-        printFactory(sType);
-
-        endBlock();
-    }
-
-    void printFactory(SchemaType sType) throws IOException
-    {
-        // Only need full factories for top-level types
-        boolean fullFactory = true;
-        if (sType.isAnonymousType() && ! sType.isDocumentType() && !sType.isAttributeType())
-            fullFactory = false;
-
-        String fullName = sType.getFullJavaName().replace('$', '.');
-
-        emit("");
-        emit("/**");
-        emit(" * A factory class with static methods for creating instances");
-        emit(" * of this type.");
-        emit(" */");
-        emit("");
-        // BUGBUG - Can I use the name loader here?  could it be a
-        // nested type name?  It is lower case!
-        emit("public static final class Factory");
-        emit("{");
-        indent();
-
-        if (sType.isSimpleType())
-        {
-            emit("public static " + fullName + " newValue(java.lang.Object obj) {");
-            emit("  return (" + fullName + ") type.newValue( obj ); }");
-            emit("");
-        }
-
-        emit("public static " + fullName + " newInstance() {");
-        emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }");
-        emit("");
-
-        emit("public static " + fullName + " newInstance(org.apache.xmlbeans.XmlOptions options) {");
-        emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }");
-        emit("");
-
-        if (fullFactory)
-        {
-            emit("public static " + fullName + " parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }");
-            emit("");
-
-            emit("public static " + fullName + " parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {");
-            emit("  return (" + fullName + ") org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }");
-            emit("");
-
-            emit("public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {");
-            emit("  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }");
-            emit("");
-
-            emit("public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {");
-            emit("  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }");
-            emit("");
-        }
-
-        emit("private Factory() { } // No instance of this class allowed");
-        outdent();
-        emit("}");
-    }
-
-    void printNestedInnerTypes(SchemaType sType, SchemaTypeSystem system) throws IOException
-    {
-        SchemaType[] anonTypes = sType.getAnonymousTypes();
-        for (int i = 0; i < anonTypes.length; i++)
-        {
-            if (anonTypes[i].isSkippedAnonymousType())
-                printNestedInnerTypes(anonTypes[i], system);
-            else
-                printInnerType(anonTypes[i], system);
-        }
-    }
-
-    void printTopComment(SchemaType sType) throws IOException
-    {
-        emit("/*");
-        if (sType.getName() != null)
-        {
-            emit(" * XML Type:  " + sType.getName().getLocalPart());
-            emit(" * Namespace: " + sType.getName().getNamespaceURI());
-        }
-        else
-        {
-            QName thename = null;
-
-            if (sType.isDocumentType())
-            {
-                thename = sType.getDocumentElementName();
-                emit(" * An XML document type.");
-            }
-            else if (sType.isAttributeType())
-            {
-                thename = sType.getAttributeTypeAttributeName();
-                emit(" * An XML attribute type.");
-            }
-            else
-                assert false;
-
-            assert( thename != null );
-            
-            emit(" * Localname: " + thename.getLocalPart());
-            emit(" * Namespace: " + thename.getNamespaceURI());
-        }
-        emit(" * Java type: " + sType.getFullJavaName());
-        emit(" *");
-        emit(" * Automatically generated - do not modify.");
-        emit(" */");
-    }
-
-    void printPackage(SchemaType sType, boolean intf) throws IOException
-    {
-        String fqjn;
-        if (intf)
-            fqjn = sType.getFullJavaName();
-        else
-            fqjn = sType.getFullJavaImplName();
-
-        int lastdot = fqjn.lastIndexOf('.');
-        if (lastdot < 0)
-            return;
-        String pkg = fqjn.substring(0, lastdot);
-        emit("package " + pkg + ";");
-    }
-
-    void startInterface(SchemaType sType) throws IOException
-    {
-        String shortName = sType.getShortJavaName();
-        
-        String baseInterface = findJavaType(sType.getBaseType());
-
-        /*
-        StringBuffer specializedInterfaces = new StringBuffer();
-
-        if (sType.getSimpleVariety() == SchemaType.ATOMIC &&
-            sType.getPrimitiveType().getBuiltinTypeCode() == SchemaType.BTC_DECIMAL)
-        {
-            int bits = sType.getDecimalSize();
-            if (bits == SchemaType.SIZE_BIG_INTEGER)
-                specializedInterfaces.append(", org.apache.xmlbeans.BigIntegerValue");
-            if (bits == SchemaType.SIZE_LONG)
-                specializedInterfaces.append(", org.apache.xmlbeans.LongValue");
-            if (bits <= SchemaType.SIZE_INT)
-                specializedInterfaces.append(", org.apache.xmlbeans.IntValue");
-        }
-        if (sType.getSimpleVariety() == SchemaType.LIST)
-            specializedInterfaces.append(", org.apache.xmlbeans.ListValue");
-
-        if (sType.getSimpleVariety() == SchemaType.UNION)
-        {
-            SchemaType ctype = sType.getUnionCommonBaseType();
-            String javaTypeHolder = javaTypeHolderForType(ctype);
-            if (javaTypeHolder != null)
-                specializedInterfaces.append(", " + javaTypeHolder);
-        }
-        */
-
-        emit("public interface " + shortName + " extends " + baseInterface + getExtensionInterfaces(sType));
-        emit("{");
-        indent();
-        emitSpecializedAccessors(sType);
-    }
-
-    private static String getExtensionInterfaces(SchemaType sType)
-    {
-        SchemaTypeImpl sImpl = getImpl(sType);
-        if (sImpl == null)
-            return "";
-
-        StringBuffer sb = new StringBuffer();
-
-        ExtensionHolder extHolder = sImpl.getExtensionHolder();
-        if (extHolder != null)
-        {
-            List exts = extHolder.getInterfaceExtensionsFor(sType.getFullJavaName());
-            for (Iterator i = exts.iterator(); i.hasNext();)
-            {
-                InterfaceExtension ext = (InterfaceExtension) i.next();
-                sb.append(", " + ext.getInterfaceNameForJavaSource());
-            }
-        }
-        return sb.toString();
-    }
-
-    private static SchemaTypeImpl getImpl(SchemaType sType)
-    {
-        if (sType instanceof SchemaTypeImpl)
-            return (SchemaTypeImpl) sType;
-        else
-            return null;
-    }
-
-    private void emitSpecializedAccessors(SchemaType sType) throws IOException
-    {
-        if (sType.getSimpleVariety() == SchemaType.ATOMIC &&
-            sType.getPrimitiveType().getBuiltinTypeCode() == SchemaType.BTC_DECIMAL)
-        {
-            int bits = sType.getDecimalSize();
-            int parentBits = sType.getBaseType().getDecimalSize();
-            if (bits != parentBits || sType.getBaseType().getFullJavaName() == null)
-            {
-                if (bits == SchemaType.SIZE_BIG_INTEGER)
-                {
-                    emit("java.math.BigInteger getBigIntegerValue();");
-                    emit("void setBigIntegerValue(java.math.BigInteger bi);");
-                    emit("/** @deprecated */");
-                    emit("java.math.BigInteger bigIntegerValue();");
-                    emit("/** @deprecated */");
-                    emit("void set(java.math.BigInteger bi);");
-                }
-                else if (bits == SchemaType.SIZE_LONG)
-                {
-                    emit("long getLongValue();");
-                    emit("void setLongValue(long l);");
-                    emit("/** @deprecated */");
-                    emit("long longValue();");
-                    emit("/** @deprecated */");
-                    emit("void set(long l);");
-                }
-                else if (bits == SchemaType.SIZE_INT)
-                {
-                    emit("int getIntValue();");
-                    emit("void setIntValue(int i);");
-                    emit("/** @deprecated */");
-                    emit("int intValue();");
-                    emit("/** @deprecated */");
-                    emit("void set(int i);");
-                }
-                else if (bits == SchemaType.SIZE_SHORT)
-                {
-                    emit("short getShortValue();");
-                    emit("void setShortValue(short s);");
-                    emit("/** @deprecated */");
-                    emit("short shortValue();");
-                    emit("/** @deprecated */");
-                    emit("void set(short s);");
-                }
-                else if (bits == SchemaType.SIZE_BYTE)
-                {
-                    emit("byte getByteValue();");
-                    emit("void setByteValue(byte b);");
-                    emit("/** @deprecated */");
-                    emit("byte byteValue();");
-                    emit("/** @deprecated */");
-                    emit("void set(byte b);");
-                }
-            }
-        }
-
-        if (sType.getSimpleVariety() == SchemaType.UNION)
-        {
-            emit("java.lang.Object getObjectValue();");
-            emit("void setObjectValue(java.lang.Object val);");
-            emit("/** @deprecated */");
-            emit("java.lang.Object objectValue();");
-            emit("/** @deprecated */");
-            emit("void objectSet(java.lang.Object val);");
-            emit("org.apache.xmlbeans.SchemaType instanceType();");
-            SchemaType ctype = sType.getUnionCommonBaseType();
-            if (ctype != null && ctype.getSimpleVariety() != SchemaType.UNION);
-                emitSpecializedAccessors(ctype);
-        }
-
-        if (sType.getSimpleVariety() == SchemaType.LIST)
-        {
-            emit("java.util.List getListValue();");
-            emit("java.util.List xgetListValue();");
-            emit("void setListValue(java.util.List list);");
-            emit("/** @deprecated */");
-            emit("java.util.List listValue();");
-            emit("/** @deprecated */");
-            emit("java.util.List xlistValue();");
-            emit("/** @deprecated */");
-            emit("void set(java.util.List list);");
-        }
-    }
-
-    void startBlock() throws IOException
-    {
-        emit("{");
-        indent();
-    }
-    void endBlock() throws IOException
-    {
-        outdent();
-        emit("}");
-    }
-
-    void printJavaDoc(String sentence) throws IOException
-    {
-        emit("");
-        emit("/**");
-        emit(" * " + sentence);
-        emit(" */");
-    }
-
-    void printShortJavaDoc(String sentence) throws IOException
-    {
-        emit("/** " + sentence + " */");
-    }
-
-    static SchemaType findBaseEnumType(SchemaType sType)
-    {
-        while (sType.getBaseType().hasStringEnumValues())
-            sType = sType.getBaseType();
-        return sType;
-    }
-
-    public static String javaStringEscape(String str)
-    {
-        // forbidden: \n, \r, \", \\.
-        test: {
-            for (int i = 0; i < str.length(); i++)
-            {
-                switch (str.charAt(i))
-                {
-                    case '\n':
-                    case '\r':
-                    case '\"':
-                    case '\\':
-                        break test;
-                }
-            }
-            return str;
-        }
-        StringBuffer sb = new StringBuffer();
-        for (int i = 0; i < str.length(); i++)
-        {
-            char ch = str.charAt(i);
-            switch (ch)
-            {
-                default:
-                    sb.append(ch);
-                    break;
-                case '\n':
-                    sb.append("\\n");
-                    break;
-                case '\r':
-                    sb.append("\\r");
-                    break;
-                case '\"':
-                    sb.append("\\\"");
-                    break;
-                case '\\':
-                    sb.append("\\\\");
-                    break;
-            }
-        }
-        return sb.toString();
-    }
-
-    void printStringEnumeration(SchemaType sType) throws IOException
-    {
-        SchemaType baseEnumType = findBaseEnumType(sType);
-        String baseEnumClass = baseEnumType.getFullJavaName();
-
-        if (baseEnumType == sType)
-        {
-            emit("");
-            emit("org.apache.xmlbeans.StringEnumAbstractBase enumValue();");
-            emit("void set(org.apache.xmlbeans.StringEnumAbstractBase e);");
-        }
-
-        emit("");
-        SchemaStringEnumEntry[] entries = sType.getStringEnumEntries();
-        for (int i = 0; i < entries.length; i++)
-        {
-            String enumValue = entries[i].getString();
-            String constName = entries[i].getEnumName();
-            if (baseEnumType != sType)
-                emit("static final " + baseEnumClass + ".Enum " + constName + " = " + baseEnumClass + "." + constName + ";");
-            else
-                emit("static final Enum " + constName + " = Enum.forString(\"" + javaStringEscape(enumValue) + "\");");
-        }
-        emit("");
-        for (int i = 0; i < entries.length; i++)
-        {
-            String constName = "INT_" + entries[i].getEnumName();
-            if (baseEnumType != sType)
-                emit("static final int " + constName + " = " + baseEnumClass + "." + constName + ";");
-            else
-                emit("static final int " + constName + " = Enum." + constName + ";");
-        }
-        if (baseEnumType == sType)
-        {
-            emit("");
-            emit("/**");
-            emit(" * Enumeration value class for " + baseEnumClass + ".");
-            emit(" * These enum values can be used as follows:");
-            emit(" * <pre>");
-            emit(" * enum.toString(); // returns the string value of the enum");
-            emit(" * enum.intValue(); // returns an int value, useful for switches");
-            if (entries.length > 0)
-            emit(" * // e.g., case Enum.INT_" + entries[0].getEnumName());
-            emit(" * Enum.forString(s); // returns the enum value for a string");
-            emit(" * Enum.forInt(i); // returns the enum value for an int");
-            emit(" * </pre>");
-            emit(" * Enumeration objects are immutable singleton objects that");
-            emit(" * can be compared using == object equality. They have no");
-            emit(" * public constructor. See the constants defined within this");
-            emit(" * class for all the valid values.");
-            emit(" */");
-            emit("static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase");
-            emit("{");
-            indent();
-            emit("/**");
-            emit(" * Returns the enum value for a string, or null if none.");
-            emit(" */");
-            emit("public static Enum forString(java.lang.String s)");
-            emit("    { return (Enum)table.forString(s); }");
-            emit("/**");
-            emit(" * Returns the enum value corresponding to an int, or null if none.");
-            emit(" */");
-            emit("public static Enum forInt(int i)");
-            emit("    { return (Enum)table.forInt(i); }");
-            emit("");
-            emit("private Enum(java.lang.String s, int i)");
-            emit("    { super(s, i); }");
-            emit("");
-            for (int i = 0; i < entries.length; i++)
-            {
-                String constName = "INT_" + entries[i].getEnumName();
-                int intValue = entries[i].getIntValue();
-                emit("static final int " + constName + " = " + intValue + ";");
-            }
-            emit("");
-            emit("public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =");
-            emit("    new org.apache.xmlbeans.StringEnumAbstractBase.Table");
-            emit("(");
-            indent();
-            emit("new Enum[]");
-            emit("{");
-            indent();
-            for (int i = 0; i < entries.length; i++)
-            {
-                String enumValue = entries[i].getString();
-                String constName = "INT_" + entries[i].getEnumName();
-                emit("new Enum(\"" + javaStringEscape(enumValue) + "\", " + constName + "),");
-            }
-            outdent();
-            emit("}");
-            outdent();
-            emit(");");
-            emit("private static final long serialVersionUID = 1L;");
-            emit("private java.lang.Object readResolve() { return forInt(intValue()); } ");
-            outdent();
-            emit("}");
-        }
-    }
-
-    String xmlTypeForProperty(SchemaProperty sProp)
-    {
-        SchemaType sType = sProp.javaBasedOnType();
-        return findJavaType(sType).replace('$', '.');
-    }
-
-    static boolean xmlTypeForPropertyIsUnion(SchemaProperty sProp)
-    {
-        SchemaType sType = sProp.javaBasedOnType();
-        return (sType.isSimpleType() && sType.getSimpleVariety() == SchemaType.UNION);
-    }
-
-    String javaTypeForProperty(SchemaProperty sProp)
-    {
-        // The type to use is the XML object....
-        if (sProp.getJavaTypeCode() == SchemaProperty.XML_OBJECT)
-        {
-            SchemaType sType = sProp.javaBasedOnType();
-            return findJavaType(sType).replace('$', '.');
-        }
-
-        switch (sProp.getJavaTypeCode())
-        {
-            case SchemaProperty.JAVA_BOOLEAN:
-                return "boolean";
-            case SchemaProperty.JAVA_FLOAT:
-                return "float";
-            case SchemaProperty.JAVA_DOUBLE:
-                return "double";
-            case SchemaProperty.JAVA_BYTE:
-                return "byte";
-            case SchemaProperty.JAVA_SHORT:
-                return "short";
-            case SchemaProperty.JAVA_INT:
-                return "int";
-            case SchemaProperty.JAVA_LONG:
-                return "long";
-
-            case SchemaProperty.JAVA_BIG_DECIMAL:
-                return "java.math.BigDecimal";
-            case SchemaProperty.JAVA_BIG_INTEGER:
-                return "java.math.BigInteger";
-            case SchemaProperty.JAVA_STRING:
-                return "java.lang.String";
-            case SchemaProperty.JAVA_BYTE_ARRAY:
-                return "byte[]";
-            case SchemaProperty.JAVA_GDATE:
-                return "org.apache.xmlbeans.GDate";
-            case SchemaProperty.JAVA_GDURATION:
-                return "org.apache.xmlbeans.GDuration";
-            case SchemaProperty.JAVA_DATE:
-                return "java.util.Date";
-            case SchemaProperty.JAVA_QNAME:
-                return "javax.xml.namespace.QName";
-            case SchemaProperty.JAVA_LIST:
-                return "java.util.List";
-            case SchemaProperty.JAVA_CALENDAR:
-                return "java.util.Calendar";
-
-            case SchemaProperty.JAVA_ENUM:
-                SchemaType sType = sProp.javaBasedOnType().getBaseEnumType();
-                return findJavaType(sType).replace('$', '.') + ".Enum";
-
-            case SchemaProperty.JAVA_OBJECT:
-                return "java.lang.Object";
-
-            default:
-                assert(false);
-                throw new IllegalStateException();
-        }
-    }
-
-    void printPropertyGetters(QName qName, boolean isAttr,
-                       String propertyName, int javaType,
-                       String type, String xtype,
-                       boolean nillable, boolean optional,
-                       boolean several, boolean singleton)
-       throws IOException
-    {
-        String propdesc = "\"" + qName.getLocalPart() + "\"" + (isAttr ? " attribute" : " element");
-        boolean xmltype = (javaType == SchemaProperty.XML_OBJECT);
-
-        if (singleton)
-        {
-            printJavaDoc((several ? "Gets first " : "Gets the ") + propdesc);
-            emit(type + " get" + propertyName + "();");
-
-            if (!xmltype)
-            {
-                printJavaDoc((several ? "Gets (as xml) first " : "Gets (as xml) the ") + propdesc);
-                emit(xtype + " xget" + propertyName + "();");
-            }
-
-            if (nillable)
-            {
-                printJavaDoc((several ? "Tests for nil first " : "Tests for nil ") + propdesc);
-                emit("boolean isNil" + propertyName + "();");
-            }
-        }
-
-        if (optional)
-        {
-            printJavaDoc((several ? "True if has at least one " : "True if has ") + propdesc);
-            emit("boolean isSet" + propertyName + "();");
-        }
-
-        if (several)
-        {
-            String arrayName = propertyName + "Array";
-
-            printJavaDoc("Gets array of all " + propdesc + "s");
-            emit(type + "[] get" + arrayName + "();");
-
-            printJavaDoc("Gets ith " + propdesc);
-            emit(type + " get" + arrayName + "(int i);");
-
-            if (!xmltype)
-            {
-                printJavaDoc("Gets (as xml) array of all " + propdesc + "s");
-                emit(xtype + "[] xget" + arrayName + "();");
-
-                printJavaDoc("Gets (as xml) ith " + propdesc);
-                emit(xtype + " xget" + arrayName + "(int i);");
-            }
-
-            if (nillable)
-            {
-                printJavaDoc("Tests for nil ith " + propdesc);
-                emit("boolean isNil" + arrayName + "(int i);");
-            }
-
-            printJavaDoc("Returns number of " + propdesc);
-            emit("int sizeOf" + arrayName + "();");
-        }
-    }
-
-    void printPropertySetters(QName qName, boolean isAttr,
-                       String propertyName, int javaType, String type, String xtype,
-                       boolean nillable, boolean optional,
-                       boolean several, boolean singleton)
-       throws IOException
-    {
-        String safeVarName = NameUtil.nonJavaKeyword(NameUtil.lowerCamelCase(propertyName));
-        if (safeVarName.equals("i"))
-            safeVarName = "iValue";
-        boolean xmltype = (javaType == SchemaProperty.XML_OBJECT);
-
-        String propdesc = "\"" + qName.getLocalPart() + "\"" + (isAttr ? " attribute" : " element");
-
-        if (singleton)
-        {
-            printJavaDoc((several ? "Sets first " : "Sets the ") + propdesc);
-            emit("void set" + propertyName + "(" + type + " " + safeVarName + ");");
-
-            if (!xmltype)
-            {
-                printJavaDoc((several ? "Sets (as xml) first " : "Sets (as xml) the ") + propdesc);
-                emit("void xset" + propertyName + "(" + xtype + " " + safeVarName + ");");
-            }
-            
-            if (xmltype && !several)
-            {
-                printJavaDoc("Appends and returns a new empty " + propdesc);
-                emit(xtype + " addNew" + propertyName + "();");
-            }
-
-            if (nillable)
-            {
-                printJavaDoc((several ? "Nils the first " : "Nils the ") + propdesc);
-                emit("void setNil" + propertyName + "();");
-            }
-        }
-
-        if (optional)
-        {
-            printJavaDoc((several ? "Removes first " : "Unsets the ") + propdesc);
-            emit("void unset" + propertyName + "();");
-        }
-
-        if (several)
-        {
-            String arrayName = propertyName + "Array";
-
-            printJavaDoc("Sets array of all " + propdesc);
-            emit("void set" + arrayName + "(" + type + "[] " + safeVarName + "Array);");
-
-            printJavaDoc("Sets ith " + propdesc);
-            emit("void set" + arrayName + "(int i, " + type + " " + safeVarName + ");");
-
-            if (!xmltype)
-            {
-                printJavaDoc("Sets (as xml) array of all " + propdesc);
-                emit("void xset" + arrayName + "(" + xtype + "[]" + safeVarName + "Array);");
-
-                printJavaDoc("Sets (as xml) ith " + propdesc);
-                emit("void xset" + arrayName + "(int i, " + xtype + " " + safeVarName + ");");
-            }
-
-            if (nillable)
-            {
-                printJavaDoc("Nils the ith " + propdesc);
-                emit("void setNil" + arrayName + "(int i);");
-            }
-
-            if (!xmltype)
-            {
-                printJavaDoc("Inserts the value as the ith " + propdesc);
-                emit("void insert" + propertyName + "(int i, " + type + " " + safeVarName + ");");
-
-                printJavaDoc("Appends the value as the last " + propdesc);
-                emit("void add" + propertyName + "(" + type + " " + safeVarName + ");");
-            }
-
-            if (xmltype)
-            {
-                printJavaDoc("Inserts and returns a new empty value (as xml) as the ith " + propdesc);
-                emit(xtype + " insertNew" + propertyName + "(int i);");
-    
-                printJavaDoc("Appends and returns a new empty value (as xml) as the last " + propdesc);
-                emit(xtype + " addNew" + propertyName + "();");
-            }
-
-            printJavaDoc("Removes the ith " + propdesc);
-            emit("void remove" + propertyName + "(int i);");
-        }
-    }
-
-    String getAtomicRestrictionType(SchemaType sType) {
-        SchemaType pType = sType.getPrimitiveType();
-        switch (pType.getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_ANY_SIMPLE:
-                return "org.apache.xmlbeans.impl.values.XmlAnySimpleTypeImpl";
-            case SchemaType.BTC_BOOLEAN:
-                return "org.apache.xmlbeans.impl.values.JavaBooleanHolderEx";
-            case SchemaType.BTC_BASE_64_BINARY:
-                return "org.apache.xmlbeans.impl.values.JavaBase64HolderEx";
-            case SchemaType.BTC_HEX_BINARY:
-                return "org.apache.xmlbeans.impl.values.JavaHexBinaryHolderEx";
-            case SchemaType.BTC_ANY_URI:
-                return "org.apache.xmlbeans.impl.values.JavaUriHolderEx";
-            case SchemaType.BTC_QNAME:
-                return "org.apache.xmlbeans.impl.values.JavaQNameHolderEx";
-            case SchemaType.BTC_NOTATION:
-                return "org.apache.xmlbeans.impl.values.JavaNotationHolderEx";
-            case SchemaType.BTC_FLOAT:
-                return "org.apache.xmlbeans.impl.values.JavaFloatHolderEx";
-            case SchemaType.BTC_DOUBLE:
-                return "org.apache.xmlbeans.impl.values.JavaDoubleHolderEx";
-            case SchemaType.BTC_DECIMAL:
-                switch (sType.getDecimalSize())
-                {
-                    default:
-                        assert(false);
-                    case SchemaType.SIZE_BIG_DECIMAL:
-                        return "org.apache.xmlbeans.impl.values.JavaDecimalHolderEx";
-                    case SchemaType.SIZE_BIG_INTEGER:
-                        return "org.apache.xmlbeans.impl.values.JavaIntegerHolderEx";
-                    case SchemaType.SIZE_LONG:
-                        return "org.apache.xmlbeans.impl.values.JavaLongHolderEx";
-                    case SchemaType.SIZE_INT:
-                    case SchemaType.SIZE_SHORT:
-                    case SchemaType.SIZE_BYTE:
-                        return "org.apache.xmlbeans.impl.values.JavaIntHolderEx";
-                }
-            case SchemaType.BTC_STRING:
-                if (sType.hasStringEnumValues())
-                    return "org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx";
-                else
-                    return "org.apache.xmlbeans.impl.values.JavaStringHolderEx";
-
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                return "org.apache.xmlbeans.impl.values.JavaGDateHolderEx";
-
-            case SchemaType.BTC_DURATION:
-                return "org.apache.xmlbeans.impl.values.JavaGDurationHolderEx";
-            default:
-                assert(false) : "unrecognized primitive type";
-                return null;
-        }
-    }
-
-    static SchemaType findBaseType(SchemaType sType)
-    {
-        while (sType.getFullJavaName() == null)
-            sType = sType.getBaseType();
-        return sType;
-    }
-
-    String getBaseClass(SchemaType sType) {
-        SchemaType baseType = findBaseType(sType.getBaseType());
-
-        switch (sType.getSimpleVariety())
-        {
-            case SchemaType.NOT_SIMPLE:
-                // non-simple-content: inherit from base type impl
-                if (!XmlObject.type.equals(baseType))
-                    return baseType.getFullJavaImplName();
-                return "org.apache.xmlbeans.impl.values.XmlComplexContentImpl";
-
-            case SchemaType.ATOMIC:
-                // We should only get called for restrictions
-                assert(! sType.isBuiltinType());
-                return getAtomicRestrictionType(sType);
-
-            case SchemaType.LIST:
-                return "org.apache.xmlbeans.impl.values.XmlListImpl";
-
-            case SchemaType.UNION:
-                return "org.apache.xmlbeans.impl.values.XmlUnionImpl";
-
-            default:
-                throw new IllegalStateException();
-        }
-    }
-
-    void printConstructor(SchemaType sType, String shortName) throws IOException {
-        emit("");
-        emit("public " + shortName + "(org.apache.xmlbeans.SchemaType sType)");
-        startBlock();
-        emit("super(sType" + (sType.getSimpleVariety() == SchemaType.NOT_SIMPLE ?
-                             "":
-                             ", " + !sType.isSimpleType()) +
-             ");");
-        endBlock();
-
-        if (sType.getSimpleVariety() != SchemaType.NOT_SIMPLE)
-        {
-            emit("");
-            emit("protected " + shortName + "(org.apache.xmlbeans.SchemaType sType, boolean b)");
-            startBlock();
-            emit("super(sType, b);");
-            endBlock();
-        }
-    }
-
-    void startClass(SchemaType sType, boolean isInner) throws IOException
-    {
-        String shortName = sType.getShortJavaImplName();
-        String baseClass = getBaseClass(sType);
-        StringBuffer interfaces = new StringBuffer();
-        interfaces.append(sType.getFullJavaName().replace('$', '.'));
-
-        if (sType.getSimpleVariety() == SchemaType.UNION) {
-            SchemaType[] memberTypes = sType.getUnionMemberTypes();
-            for (int i = 0 ; i < memberTypes.length ; i++)
-                interfaces.append(", " + memberTypes[i].getFullJavaName().replace('$', '.'));
-        }
-
-        emit("public " + ( isInner ? "static ": "" ) + "class " + shortName +
-            " extends " + baseClass + " implements " + interfaces.toString());
-
-        startBlock();
-    }
-
-    void makeAttributeDefaultValue(String jtargetType, SchemaProperty prop, String identifier) throws IOException
-    {
-        String fullName = jtargetType;
-        if (fullName == null)
-            fullName = prop.javaBasedOnType().getFullJavaName().replace('$', '.');
-
-        emit("target = (" + fullName + ")get_default_attribute_value(" + identifier + ");");
-    }
-
-    void makeMissingValue(int javaType) throws IOException
-    {
-        switch (javaType)
-        {
-            case SchemaProperty.JAVA_BOOLEAN:
-                emit("return false;"); break;
-
-            case SchemaProperty.JAVA_FLOAT:
-                emit("return 0.0f;"); break;
-
-            case SchemaProperty.JAVA_DOUBLE:
-                emit("return 0.0;"); break;
-
-            case SchemaProperty.JAVA_BYTE:
-            case SchemaProperty.JAVA_SHORT:
-            case SchemaProperty.JAVA_INT:
-                emit("return 0;"); break;
-
-            case SchemaProperty.JAVA_LONG:
-                emit("return 0L;"); break;
-
-            default:
-            case SchemaProperty.XML_OBJECT:
-            case SchemaProperty.JAVA_BIG_DECIMAL:
-            case SchemaProperty.JAVA_BIG_INTEGER:
-            case SchemaProperty.JAVA_STRING:
-            case SchemaProperty.JAVA_BYTE_ARRAY:
-            case SchemaProperty.JAVA_GDATE:
-            case SchemaProperty.JAVA_GDURATION:
-            case SchemaProperty.JAVA_DATE:
-            case SchemaProperty.JAVA_QNAME:
-            case SchemaProperty.JAVA_LIST:
-            case SchemaProperty.JAVA_CALENDAR:
-            case SchemaProperty.JAVA_ENUM:
-            case SchemaProperty.JAVA_OBJECT:
-                emit("return null;"); break;
-        }
-    }
-
-    void printJGetArrayValue(int javaType, String type) throws IOException {
-        switch (javaType)
-        {
-            case SchemaProperty.XML_OBJECT:
-                emit(type + "[] result = new " + type + "[targetList.size()];");
-                emit("targetList.toArray(result);");
-                break;
-
-            case SchemaProperty.JAVA_ENUM:
-                emit(type + "[] result = new " + type + "[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = (" + type + ")((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getEnumValue();");
-                break;
-                
-            case SchemaProperty.JAVA_BOOLEAN:
-                emit("boolean[] result = new boolean[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBooleanValue();");
-                break;
-
-            case SchemaProperty.JAVA_FLOAT:
-                emit("float[] result = new float[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getFloatValue();");
-                break;
-
-            case SchemaProperty.JAVA_DOUBLE:
-                emit("double[] result = new double[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getDoubleValue();");
-                break;
-
-            case SchemaProperty.JAVA_BYTE:
-                emit("byte[] result = new byte[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getByteValue();");
-                break;
-
-            case SchemaProperty.JAVA_SHORT:
-                emit("short[] result = new short[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getShortValue();");
-                break;
-
-            case SchemaProperty.JAVA_INT:
-                emit("int[] result = new int[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getIntValue();");
-                break;
-
-            case SchemaProperty.JAVA_LONG:
-                emit("long[] result = new long[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getLongValue();");
-                break;
-
-            case SchemaProperty.JAVA_BIG_DECIMAL:
-                emit("java.math.BigDecimal[] result = new java.math.BigDecimal[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBigDecimalValue();");
-                break;
-
-            case SchemaProperty.JAVA_BIG_INTEGER:
-                emit("java.math.BigInteger[] result = new java.math.BigInteger[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBigIntegerValue();");
-                break;
-
-            case SchemaProperty.JAVA_STRING:
-                emit("java.lang.String[] result = new java.lang.String[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();");
-                break;
-
-            case SchemaProperty.JAVA_BYTE_ARRAY:
-                emit("byte[][] result = new byte[targetList.size()][];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getByteArrayValue();");
-                break;
-
-            case SchemaProperty.JAVA_CALENDAR:
-                emit("java.util.Calendar[] result = new java.util.Calendar[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getCalendarValue();");
-                break;
-
-            case SchemaProperty.JAVA_DATE:
-                emit("java.util.Date[] result = new java.util.Date[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getDateValue();");
-                break;
-
-            case SchemaProperty.JAVA_GDATE:
-                emit("org.apache.xmlbeans.GDate[] result = new org.apache.xmlbeans.GDate[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getGDateValue();");
-                break;
-
-            case SchemaProperty.JAVA_GDURATION:
-                emit("org.apache.xmlbeans.GDuration[] result = new org.apache.xmlbeans.GDuration[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getGDurationValue();");
-                break;
-
-            case SchemaProperty.JAVA_QNAME:
-                emit("javax.xml.namespace.QName[] result = new javax.xml.namespace.QName[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getQNameValue();");
-                break;
-
-            case SchemaProperty.JAVA_LIST:
-                emit("java.util.List[] result = new java.util.List[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getListValue();");
-                break;
-
-            case SchemaProperty.JAVA_OBJECT:
-                emit("java.lang.Object[] result = new java.lang.Object[targetList.size()];");
-                emit("for (int i = 0, len = targetList.size() ; i < len ; i++)");
-                emit("    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getObjectValue();");
-                break;
-
-        }
-        emit("return result;");
-    }
-    void printJGetValue(int javaType, String type) throws IOException {
-        switch (javaType)
-        {
-        case SchemaProperty.XML_OBJECT:
-            emit("return target;"); break;
-
-        case SchemaProperty.JAVA_BOOLEAN:
-            emit("return target.getBooleanValue();"); break;
-
-        case SchemaProperty.JAVA_FLOAT:
-            emit("return target.getFloatValue();"); break;
-
-        case SchemaProperty.JAVA_DOUBLE:
-            emit("return target.getDoubleValue();"); break;
-
-        case SchemaProperty.JAVA_BYTE:
-            emit("return target.getByteValue();"); break;
-
-        case SchemaProperty.JAVA_SHORT:
-            emit("return target.getShortValue();"); break;
-
-        case SchemaProperty.JAVA_INT:
-            emit("return target.getIntValue();"); break;
-
-        case SchemaProperty.JAVA_LONG:
-            emit("return target.getLongValue();"); break;
-
-        case SchemaProperty.JAVA_BIG_DECIMAL:
-            emit("return target.getBigDecimalValue();"); break;
-
-        case SchemaProperty.JAVA_BIG_INTEGER:
-            emit("return target.getBigIntegerValue();"); break;
-
-        case SchemaProperty.JAVA_STRING:
-            emit("return target.getStringValue();"); break;
-
-        case SchemaProperty.JAVA_BYTE_ARRAY:
-            emit("return target.getByteArrayValue();"); break;
-
-        case SchemaProperty.JAVA_GDATE:
-            emit("return target.getGDateValue();"); break;
-
-        case SchemaProperty.JAVA_GDURATION:
-            emit("return target.getGDurationValue();"); break;
-
-        case SchemaProperty.JAVA_CALENDAR:
-            emit("return target.getCalendarValue();"); break;
-
-        case SchemaProperty.JAVA_DATE:
-            emit("return target.getDateValue();"); break;
-
-        case SchemaProperty.JAVA_QNAME:
-            emit("return target.getQNameValue();"); break;
-
-        case SchemaProperty.JAVA_LIST:
-            emit("return target.getListValue();"); break;
-
-        case SchemaProperty.JAVA_ENUM:
-            emit("return (" + type + ")target.getEnumValue();"); break;
-
-        case SchemaProperty.JAVA_OBJECT:
-            emit("return target.getObjectValue();"); break;
-        }
-    }
-
-    String jsetMethod(int javaType) throws IOException
-    {
-        switch (javaType)
-        {
-            case SchemaProperty.XML_OBJECT:
-                return "target.set";
-
-            case SchemaProperty.JAVA_BOOLEAN:
-                return "target.setBooleanValue";
-
-            case SchemaProperty.JAVA_FLOAT:
-                return "target.setFloatValue";
-
-            case SchemaProperty.JAVA_DOUBLE:
-                return "target.setDoubleValue";
-
-            case SchemaProperty.JAVA_BYTE:
-                return "target.setByteValue";
-
-            case SchemaProperty.JAVA_SHORT:
-                return "target.setShortValue";
-
-            case SchemaProperty.JAVA_INT:
-                return "target.setIntValue";
-
-            case SchemaProperty.JAVA_LONG:
-                return "target.setLongValue";
-
-            case SchemaProperty.JAVA_BIG_DECIMAL:
-                return "target.setBigDecimalValue";
-
-            case SchemaProperty.JAVA_BIG_INTEGER:
-                return "target.setBigIntegerValue";
-
-            case SchemaProperty.JAVA_STRING:
-                return "target.setStringValue";
-
-            case SchemaProperty.JAVA_BYTE_ARRAY:
-                return "target.setByteArrayValue";
-
-            case SchemaProperty.JAVA_GDATE:
-                return "target.setGDateValue";
-
-            case SchemaProperty.JAVA_GDURATION:
-                return "target.setGDurationValue";
-
-            case SchemaProperty.JAVA_CALENDAR:
-                return "target.setCalendarValue";
-
-            case SchemaProperty.JAVA_DATE:
-                return "target.setDateValue";
-
-            case SchemaProperty.JAVA_QNAME:
-                return "target.setQNameValue";
-
-            case SchemaProperty.JAVA_LIST:
-                return "target.setListValue";
-
-            case SchemaProperty.JAVA_ENUM:
-                return "target.setEnumValue";
-
-            case SchemaProperty.JAVA_OBJECT:
-                return "target.setObjectValue";
-
-            default:
-                throw new IllegalStateException();
-        }
-    }
-
-    String getIdentifier(Map qNameMap, QName qName) {
-        return ((String[])qNameMap.get(qName))[0];
-    }
-
-    String getSetIdentifier(Map qNameMap, QName qName) {
-        String[] identifiers = (String[])qNameMap.get(qName);
-        return identifiers[1] == null ? identifiers[0] : identifiers[1];
-    }
-
-    Map printStaticFields(SchemaProperty[] properties) throws IOException {
-        final Map results = new HashMap();
-
-        emit("");
-        for (int i = 0; i < properties.length; i++)
-        {
-            final String[] identifiers = new String[2];
-            final SchemaProperty prop = properties[i];
-            final QName name = prop.getName();
-            results.put(name, identifiers);
-            final String javaName = prop.getJavaPropertyName();
-            identifiers[0] = (javaName + "$" + (i * 2)).toUpperCase();
-            final String uriString =  "\"" + name.getNamespaceURI() + "\"";
-
-            emit("private static final javax.xml.namespace.QName " + identifiers[0] +
-                 " = " );
-            indent();
-            emit("new javax.xml.namespace.QName(" +
-                 uriString + ", \"" + name.getLocalPart() + "\");");
-            outdent();
-
-            if (properties[i].acceptedNames() != null)
-            {
-                final QName[] qnames = properties[i].acceptedNames();
-
-                if (qnames.length > 1)
-                {
-                    identifiers[1] = (javaName + "$" + (i*2+1)).toUpperCase();
-
-                    emit("private static final org.apache.xmlbeans.QNameSet " + identifiers[1] +
-                        " = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { " );
-                    indent();
-                    for (int j = 0 ; j < qnames.length ; j++)
-                    {
-                        emit("new javax.xml.namespace.QName(\"" + qnames[j].getNamespaceURI() +
-                            "\", \"" + qnames[j].getLocalPart() + "\"),");
-                    }
-
-                    outdent();
-
-                    emit("});");
-                }
-            }
-        }
-        emit("");
-        return results;
-    }
-
-    void emitImplementationPreamble() throws IOException
-    {
-        emit("synchronized (monitor())");
-        emit("{");
-        indent();
-        emit("check_orphaned();");
-    }
-    
-    void emitImplementationPostamble() throws IOException
-    {
-        outdent();
-        emit("}");
-    }
-
-    void emitDeclareTarget(boolean declareTarget, String xtype)
-        throws IOException
-    {
-         if (declareTarget)
-             emit(xtype + " target = null;");
-  	}
-
-    void emitAddTarget(String identifier, boolean isAttr, boolean declareTarget, String xtype)
-        throws IOException
-    {
-        if (isAttr)
-            emit("target = (" + xtype + ")get_store().add_attribute_user(" + identifier + ");");
-        else
-            emit("target = (" + xtype + ")get_store().add_element_user(" + identifier + ");");
-    }
-
-    void emitPre(SchemaType sType, int opType, String identifier, boolean isAttr) throws IOException
-    {
-        emitPre(sType, opType, identifier, isAttr, "-1");
-    }
-
-    void emitPre(SchemaType sType, int opType, String identifier, boolean isAttr, String index) throws IOException
-    {
-        SchemaTypeImpl sImpl = getImpl(sType);
-        if (sImpl == null)
-            return;
-
-        ExtensionHolder extHolder = sImpl.getExtensionHolder();
-        if (extHolder == null)
-            return;
-
-        PrePostExtension ext = extHolder.getPrePostExtensionsFor(sType.getFullJavaName());
-        if (ext != null)
-        {
-            if (ext.hasPreCall())
-            {
-                emit("if ( " + ext.getPreCall(opType, identifier, isAttr, index) + " )");
-                startBlock();
-            }
-        }
-    }
-
-    void emitPost(SchemaType sType, int opType, String identifier, boolean isAttr) throws IOException
-    {
-        emitPost(sType, opType, identifier, isAttr, "-1");
-    }
-
-    void emitPost(SchemaType sType, int opType, String identifier, boolean isAttr, String index) throws IOException
-    {
-        SchemaTypeImpl sImpl = getImpl(sType);
-        if (sImpl == null)
-            return;
-
-        ExtensionHolder extHolder = sImpl.getExtensionHolder();
-        if (extHolder == null)
-            return;
-
-        PrePostExtension ext = extHolder.getPrePostExtensionsFor(sType.getFullJavaName());
-        if (ext != null)
-        {
-            if (ext.hasPreCall())
-            {
-                endBlock();
-            }
-
-            if (ext.hasPostCall())
-                emit(ext.getPostCall(opType, identifier, isAttr, index));
-        }
-    }
-
-    private static final int NOTHING = 1;
-    private static final int ADD_NEW_VALUE = 3;
-    private static final int THROW_EXCEPTION = 4;
-
-    void emitGetTarget(String setIdentifier, 
-                       String identifier,
-                       boolean isAttr, 
-                       String index, 
-                       int nullBehaviour,
-                       String xtype)
-        throws IOException
-    {
-        assert setIdentifier != null && identifier != null;
-
-        emit(xtype + " target = null;");
-
-        if (isAttr)
-            emit("target = (" + xtype + ")get_store().find_attribute_user(" + identifier + ");");
-        else
-            emit("target = (" + xtype + ")get_store().find_element_user(" + setIdentifier + ", " + index + ");");
-
-        if (nullBehaviour == NOTHING)
-            return;
-
-        emit("if (target == null)");
-
-        startBlock();
-
-        switch (nullBehaviour)
-        {
-            case ADD_NEW_VALUE:
-                // target already emited, no need for emitDeclareTarget(false, xtype);
-                emitAddTarget(identifier, isAttr, false, xtype);
-                break;
-
-            case THROW_EXCEPTION:
-                emit("throw new IndexOutOfBoundsException();");
-                break;
-
-            case NOTHING:
-                break;
-
-            default:
-                assert false : "Bad behaviour type: " + nullBehaviour;
-        }
-
-        endBlock();
-    }
-
-    void printGetterImpls(
-        SchemaProperty prop, QName qName, boolean isAttr, String propertyName,
-        int javaType, String type, String xtype, boolean nillable,
-        boolean optional, boolean several, boolean singleton,
-        boolean isunion,
-        String identifier, String setIdentifier )
-            throws IOException
-    {
-        String propdesc = "\"" + qName.getLocalPart() + "\"" + (isAttr ? " attribute" : " element");
-        boolean xmltype = (javaType == SchemaProperty.XML_OBJECT);
-        String jtargetType = (isunion || !xmltype) ? "org.apache.xmlbeans.SimpleValue" : xtype;
-
-        if (singleton)
-        {
-            // Value getProp()
-            printJavaDoc((several ? "Gets first " : "Gets the ") + propdesc);
-            emit("public " + type + " get" + propertyName + "()");
-            startBlock();
-            emitImplementationPreamble();
-
-            emitGetTarget(setIdentifier, identifier, isAttr, "0", NOTHING, jtargetType);
-
-            if (isAttr && (prop.hasDefault() == SchemaProperty.CONSISTENTLY ||
-                    prop.hasFixed() == SchemaProperty.CONSISTENTLY))
-            {
-                emit("if (target == null)");
-                startBlock();
-                makeAttributeDefaultValue(jtargetType, prop, identifier);
-                endBlock();
-            }
-            emit("if (target == null)");
-            startBlock();
-            makeMissingValue(javaType);
-            endBlock();
-
-
-            printJGetValue(javaType, type);
-            
-            emitImplementationPostamble();
-
-            endBlock();
-
-            if (!xmltype)
-            {
-                // Value xgetProp()
-                printJavaDoc((several ? "Gets (as xml) first " : "Gets (as xml) the ") + propdesc);
-                emit("public " + xtype + " xget" + propertyName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emitGetTarget(setIdentifier, identifier, isAttr, "0", NOTHING, xtype);
-
-                if (isAttr && (prop.hasDefault() == SchemaProperty.CONSISTENTLY ||
-                        prop.hasFixed() == SchemaProperty.CONSISTENTLY))
-                {
-                    emit("if (target == null)");
-                    startBlock();
-                    makeAttributeDefaultValue(xtype, prop, identifier);
-                    endBlock();
-                }
-
-                emit("return target;");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            if (nillable)
-            {
-                // boolean isNilProp()
-                printJavaDoc((several ? "Tests for nil first " : "Tests for nil ") + propdesc);
-                emit("public boolean isNil" + propertyName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emitGetTarget(setIdentifier, identifier, isAttr, "0", NOTHING, xtype);
-
-                emit("if (target == null) return false;");
-                emit("return target.isNil();");
-                emitImplementationPostamble();
-                endBlock();
-            }
-        }
-
-        if (optional)
-        {
-            // boolean isSetProp()
-            printJavaDoc((several ? "True if has at least one " : "True if has ") + propdesc);
-            emit("public boolean isSet" + propertyName + "()");
-
-            startBlock();
-            emitImplementationPreamble();
-
-            if (isAttr)
-                emit("return get_store().find_attribute_user(" + identifier +") != null;");
-            else
-                emit("return get_store().count_elements(" + setIdentifier + ") != 0;");
-
-            emitImplementationPostamble();
-            endBlock();
-        }
-
-        if (several)
-        {
-            String arrayName = propertyName + "Array";
-
-            // Value[] getProp()
-            printJavaDoc("Gets array of all " + propdesc + "s");
-            emit("public " + type + "[] get" + arrayName + "()");
-            startBlock();
-            emitImplementationPreamble();
-
-            emit("java.util.List targetList = new java.util.ArrayList();");
-            emit("get_store().find_all_element_users(" + setIdentifier + ", targetList);");
-
-            printJGetArrayValue(javaType, type);
-
-            emitImplementationPostamble();
-            endBlock();
-
-            // Value getProp(int i)
-            printJavaDoc("Gets ith " + propdesc);
-            emit("public " + type + " get" + arrayName + "(int i)");
-            startBlock();
-            emitImplementationPreamble();
-
-            emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, jtargetType);
-            printJGetValue(javaType, type);
-
-            emitImplementationPostamble();
-            endBlock();
-
-            if (!xmltype)
-            {
-                // Value[] xgetProp()
-                printJavaDoc("Gets (as xml) array of all " + propdesc + "s");
-                emit("public " + xtype + "[] xget" + arrayName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emit("java.util.List targetList = new java.util.ArrayList();");
-                emit("get_store().find_all_element_users(" + setIdentifier + ", targetList);");
-                emit(xtype + "[] result = new " + xtype + "[targetList.size()];");
-                emit("targetList.toArray(result);");
-                emit("return result;");
-                emitImplementationPostamble();
-                endBlock();
-
-                // Value xgetProp(int i)
-                printJavaDoc("Gets (as xml) ith " + propdesc);
-                emit("public " + xtype + " xget" + arrayName + "(int i)");
-                startBlock();
-                emitImplementationPreamble();
-                emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, xtype);
-                emit("return (" + xtype + ")target;");
-                emitImplementationPostamble();
-                endBlock();
-
-            }
-
-            if (nillable)
-            {
-                // boolean isNil(int i);
-                printJavaDoc("Tests for nil ith " + propdesc);
-                emit("public boolean isNil" + arrayName + "(int i)");
-                startBlock();
-                emitImplementationPreamble();
-                emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, xtype);
-                emit("return target.isNil();");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            // int countProp();
-            printJavaDoc("Returns number of " + propdesc);
-            emit("public int sizeOf" + arrayName + "()");
-            startBlock();
-            emitImplementationPreamble();
-            emit("return get_store().count_elements(" + setIdentifier +");");
-            emitImplementationPostamble();
-            endBlock();
-        }
-    }
-
-    void printSetterImpls(QName qName, boolean isAttr,
-                       String propertyName, int javaType, String type, String xtype,
-                       boolean nillable, boolean optional, boolean several, boolean singleton,
-                       boolean isunion, String identifier, String setIdentifier, SchemaType sType)
-        throws IOException
-    {
-        String safeVarName = NameUtil.nonJavaKeyword(NameUtil.lowerCamelCase(propertyName));
-        if (safeVarName.equals("i"))
-            safeVarName = "iValue";
-        else if (safeVarName.equals("target"))
-            safeVarName = "targetValue";
-
-        boolean xmltype = (javaType == SchemaProperty.XML_OBJECT);
-        boolean isobj = (javaType == SchemaProperty.JAVA_OBJECT);
-        boolean isSubstGroup = identifier != setIdentifier;
-        String jSet = jsetMethod(javaType);
-        String jtargetType = (isunion || !xmltype) ? "org.apache.xmlbeans.SimpleValue" : xtype;
-
-        String propdesc = "\"" + qName.getLocalPart() + "\"" + (isAttr ? " attribute" : " element");
-
-        if (singleton)
-        {
-            // void setProp(Value v);
-            printJavaDoc((several ? "Sets first " : "Sets the ") + propdesc);
-            emit("public void set" + propertyName + "(" + type + " " + safeVarName + ")");
-            startBlock();
-            emitImplementationPreamble();
-            emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-            emitGetTarget(setIdentifier, identifier, isAttr, "0", ADD_NEW_VALUE, jtargetType);
-            emit(jSet + "(" + safeVarName + ");");
-            emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-            emitImplementationPostamble();
-            endBlock();
-
-            if (!xmltype)
-            {
-                // void xsetProp(Value v)
-                printJavaDoc((several ? "Sets (as xml) first " : "Sets (as xml) the ") + propdesc);
-                emit("public void xset" + propertyName + "(" + xtype + " " + safeVarName + ")");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-                emitGetTarget(setIdentifier, identifier, isAttr, "0", ADD_NEW_VALUE, xtype);
-                emit("target.set(" + safeVarName + ");");
-                emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-                emitImplementationPostamble();
-                endBlock();
-
-            }
-            
-            if (xmltype && !several)
-            {
-                // Value addNewProp()
-                printJavaDoc("Appends and returns a new empty " + propdesc);
-                emit("public " + xtype + " addNew" + propertyName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emitDeclareTarget(true, xtype);
-  	            emitPre(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emitAddTarget(identifier, isAttr, true, xtype);
-                emitPost(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emit("return target;");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            if (nillable)
-            {
-                printJavaDoc((several ? "Nils the first " : "Nils the ") + propdesc);
-                emit("public void setNil" + propertyName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-                emitGetTarget(setIdentifier, identifier, isAttr, "0", ADD_NEW_VALUE, xtype);
-                emit("target.setNil();");
-                emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, several ? "0" : "-1");
-                emitImplementationPostamble();
-                endBlock();
-            }
-        }
-
-        if (optional)
-        {
-            printJavaDoc((several ? "Removes first " : "Unsets the ") + propdesc);
-            emit("public void unset" + propertyName + "()");
-            startBlock();
-            emitImplementationPreamble();
-            emitPre(sType, PrePostExtension.OPERATION_REMOVE, identifier, isAttr, several ? "0" : "-1");
-            if (isAttr)
-                emit("get_store().remove_attribute(" + identifier + ");");
-            else
-                emit("get_store().remove_element(" + setIdentifier + ", 0);");
-            emitPost(sType, PrePostExtension.OPERATION_REMOVE, identifier, isAttr, several ? "0" : "-1");
-            emitImplementationPostamble();
-            endBlock();
-        }
-
-        if (several)
-        {
-            String arrayName = propertyName + "Array";
-
-            // JSET_INDEX
-            printJavaDoc("Sets array of all " + propdesc);
-            emit("public void set" + arrayName + "(" + type + "[] " + safeVarName + "Array)");
-            startBlock();
-            emitImplementationPreamble();
-            emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr);
-
-            if (isobj)
-            {
-                if (!isSubstGroup)
-                    emit("unionArraySetterHelper(" + safeVarName + "Array" + ", " + identifier + ");" );
-                else
-                    emit("unionArraySetterHelper(" + safeVarName + "Array" + ", " + identifier + ", " + setIdentifier + ");" );
-            }
-            else
-            {
-                if (!isSubstGroup)
-                    emit("arraySetterHelper(" + safeVarName + "Array" + ", " + identifier + ");" );
-                else
-                    emit("arraySetterHelper(" + safeVarName + "Array" + ", " + identifier + ", " + setIdentifier + ");" );
-            }
-
-            emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr);
-            emitImplementationPostamble();
-            endBlock();
-
-            printJavaDoc("Sets ith " + propdesc);
-            emit("public void set" + arrayName + "(int i, " + type + " " + safeVarName + ")");
-            startBlock();
-            emitImplementationPreamble();
-            emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-            emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, jtargetType);
-            emit(jSet + "(" + safeVarName + ");");
-            emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-            emitImplementationPostamble();
-            endBlock();
-
-            if (!xmltype)
-            {
-                printJavaDoc("Sets (as xml) array of all " + propdesc);
-                emit("public void xset" + arrayName + "(" + xtype + "[]" + safeVarName + "Array)");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr);
-                emit("arraySetterHelper(" + safeVarName + "Array" + ", " + identifier + ");" );
-                emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr);
-                emitImplementationPostamble();
-                endBlock();
-
-                printJavaDoc("Sets (as xml) ith " + propdesc);
-                emit("public void xset" + arrayName + "(int i, " + xtype + " " + safeVarName + ")");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-                emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, xtype);
-                emit("target.set(" + safeVarName + ");");
-                emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            if (nillable)
-            {
-                printJavaDoc("Nils the ith " + propdesc);
-                emit("public void setNil" + arrayName + "(int i)");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-                emitGetTarget(setIdentifier, identifier, isAttr, "i", THROW_EXCEPTION, xtype);
-                emit("target.setNil();");
-                emitPost(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            if (!xmltype)
-            {
-                printJavaDoc("Inserts the value as the ith " + propdesc);
-                emit("public void insert" + propertyName + "(int i, " + type + " " + safeVarName + ")");
-                startBlock();
-                emitImplementationPreamble();
-                emitPre(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr, "i");
-                emit(jtargetType + " target = ");
-                indent();
-                if (!isSubstGroup)
-                    emit("(" + jtargetType + ")get_store().insert_element_user(" + identifier + ", i);");
-                else // This is a subst group case
-                    emit ("(" + jtargetType +")get_store().insert_element_user(" + setIdentifier + ", " +
-                            identifier + ", i);");
-                outdent();
-                emit(jSet + "(" + safeVarName + ");");
-                emitPost(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr, "i");
-                emitImplementationPostamble();
-                endBlock();
-
-                printJavaDoc("Appends the value as the last " + propdesc);
-                emit("public void add" + propertyName + "(" + type + " " + safeVarName + ")");
-                startBlock();
-                emitImplementationPreamble();
-                emitDeclareTarget(true, jtargetType);
-  	            emitPre(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emitAddTarget(identifier, isAttr, true, jtargetType);
-                emit(jSet + "(" + safeVarName + ");");
-                emitPost(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            if (xmltype)
-            {
-                printJavaDoc("Inserts and returns a new empty value (as xml) as the ith " + propdesc);
-                emit("public " + xtype + " insertNew" + propertyName + "(int i)");
-                startBlock();
-                emitImplementationPreamble();
-                emitDeclareTarget(true, xtype);
-  	            emitPre(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr, "i");
-                emit("target = (" + xtype + ")get_store().insert_element_user(" + identifier + ", i);");
-                emitPost(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr, "i");
-                emit("return target;");
-                emitImplementationPostamble();
-                endBlock();
-    
-                printJavaDoc("Appends and returns a new empty value (as xml) as the last " + propdesc);
-                emit("public " + xtype + " addNew" + propertyName + "()");
-                startBlock();
-                emitImplementationPreamble();
-                emitDeclareTarget(true, xtype);
-  	            emitPre(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emitAddTarget(identifier, isAttr, true, xtype);
-                emitPost(sType, PrePostExtension.OPERATION_INSERT, identifier, isAttr);
-                emit("return target;");
-                emitImplementationPostamble();
-                endBlock();
-            }
-
-            printJavaDoc("Removes the ith " + propdesc);
-            emit("public void remove" + propertyName + "(int i)");
-            startBlock();
-            emitImplementationPreamble();
-            emitPre(sType, PrePostExtension.OPERATION_REMOVE, identifier, isAttr, "i");
-            emit("get_store().remove_element(" + setIdentifier + ", i);");
-            emitPost(sType, PrePostExtension.OPERATION_REMOVE, identifier, isAttr, "i");
-            emitImplementationPostamble();
-            endBlock();
-        }
-    }
-
-    static void getTypeName(Class c, StringBuffer sb) {
-        int arrayCount = 0;
-        while (c.isArray()) {
-            c = c.getComponentType();
-            arrayCount++;
-        }
-
-        sb.append(c.getName());
-
-        for (int i = 0 ; i < arrayCount; i++)
-            sb.append("[]");
-
-    }
-
-    void printInnerTypeImpl(
-        SchemaType sType, SchemaTypeSystem system, boolean isInner ) throws IOException
-    {
-        String shortName = sType.getShortJavaImplName();
-
-        printInnerTypeJavaDoc(sType);
-
-        startClass(sType, isInner);
-
-        printConstructor(sType, shortName);
-
-        printExtensionImplMethods(sType);
-
-        if (!sType.isSimpleType())
-        {
-            SchemaProperty[] properties;
-            
-            if (sType.getContentType() == SchemaType.SIMPLE_CONTENT)
-            {
-                // simple content types impls derive directly from "holder" impls
-                // in order to handle the case (for ints or string enums e.g.) where
-                // there is a simple type restriction.  So property getters need to
-                // be implemented "from scratch" for each derived complex type
-                
-                properties = sType.getProperties();
-            }
-            else
-            {
-                // complex content type implementations derive from base type impls
-                // so derived property impls can be reused
-                
-                properties = getDerivedProperties(sType);
-            }
-            
-            Map qNameMap = printStaticFields(properties);
-
-            for (int i = 0; i < properties.length; i++)
-            {
-                SchemaProperty prop = properties[i];
-
-                QName name = prop.getName();
-                String xmlType = xmlTypeForProperty( prop );
-                
-                printGetterImpls(
-                    prop,
-                    name,
-                    prop.isAttribute(),
-                    prop.getJavaPropertyName(),
-                    prop.getJavaTypeCode(),
-                    javaTypeForProperty(prop),
-                    xmlType,
-                    prop.hasNillable() != SchemaProperty.NEVER,
-                    prop.extendsJavaOption(),
-                    prop.extendsJavaArray(),
-                    prop.extendsJavaSingleton(),
-                    xmlTypeForPropertyIsUnion(prop),
-                    getIdentifier(qNameMap, name),
-                    getSetIdentifier(qNameMap, name)
-                );
-
-                if (!prop.isReadOnly())
-                {
-                    printSetterImpls(
-                        name,
-                        prop.isAttribute(),
-                        prop.getJavaPropertyName(),
-                        prop.getJavaTypeCode(),
-                        javaTypeForProperty(prop),
-                        xmlType,
-                        prop.hasNillable() != SchemaProperty.NEVER,
-                        prop.extendsJavaOption(),
-                        prop.extendsJavaArray(),
-                        prop.extendsJavaSingleton(),
-                        xmlTypeForPropertyIsUnion(prop),
-                        getIdentifier(qNameMap, name),
-                        getSetIdentifier(qNameMap, name),
-  	                    sType
-                    );
-                }
-            }
-        }
-
-        printNestedTypeImpls(sType, system);
-
-        endBlock();
-    }
-
-    private SchemaProperty[] getDerivedProperties(SchemaType sType)
-    {
-        // We have to see if this is redefined, because if it is we have
-        // to include all properties associated to its supertypes
-        QName name = sType.getName();
-        if (name != null && name.equals(sType.getBaseType().getName()))
-        {
-            SchemaType sType2 = sType.getBaseType();
-            List allProps = new ArrayList(Arrays.asList(sType.getDerivedProperties()));
-            while (sType2 != null && name.equals(sType2.getName()))
-            {
-                allProps.addAll(Arrays.asList(sType2.getDerivedProperties()));
-                sType2 = sType2.getBaseType();
-            }
-            return (SchemaProperty[]) allProps.toArray(new SchemaProperty[allProps.size()]);
-        }
-        else
-            return sType.getDerivedProperties();
-    }
-
-    private void printExtensionImplMethods(SchemaType sType) throws IOException
-    {
-        SchemaTypeImpl sImpl = getImpl(sType);
-        if (sImpl == null)
-            return;
-
-        ExtensionHolder extHolder = sImpl.getExtensionHolder();
-        if (extHolder == null)
-            return;
-
-        List exts = extHolder.getInterfaceExtensionsFor(sType.getFullJavaName());
-        for (Iterator i = exts.iterator(); i.hasNext();)
-        {
-            InterfaceExtension ext = (InterfaceExtension) i.next();
-            for (int j = 0; j < ext.getInterfaceMethodCount(); j++)
-            {
-                printJavaDoc("Implementation method for interface " + ext.getInterfaceNameForJavaSource());
-                emit(ext.getInterfaceMethodDecl(j));
-                startBlock();
-                emit(ext.getInterfaceMethodImpl(j));
-                endBlock();
-            }
-        }
-    }
-
-    void printNestedTypeImpls(SchemaType sType, SchemaTypeSystem system) throws IOException
-    {
-        SchemaType[] anonTypes = sType.getAnonymousTypes();
-        for (int i = 0; i < anonTypes.length; i++)
-        {
-            if (anonTypes[i].isSkippedAnonymousType())
-                printNestedTypeImpls(anonTypes[i], system);
-            else
-                printInnerTypeImpl(anonTypes[i], system, true);
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeImpl.java
deleted file mode 100644
index 68f0158..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeImpl.java
+++ /dev/null
@@ -1,2118 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeElementSequencer;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.StringEnumAbstractBase;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.values.*;
-import org.apache.xmlbeans.impl.config.ExtensionHolder;
-
-import javax.xml.namespace.QName;
-import java.lang.reflect.Constructor;
-import java.math.BigInteger;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedHashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public final class SchemaTypeImpl implements SchemaType, TypeStoreUserFactory
-{
-    // global types have names
-    private QName _name;
-
-    // annotation on the type
-    private SchemaAnnotation _annotation;
-
-    // compilation support
-    private int _resolvePhase;
-    private static final int UNRESOLVED = 0;
-    private static final int RESOLVING_SGS = 1; // For document types only
-    private static final int RESOLVED_SGS = 2;  // For document types only
-    private static final int RESOLVING = 3;
-    private static final int RESOLVED = 4;
-    private static final int JAVAIZING = 5;
-    private static final int JAVAIZED = 6;
-
-    // anonymous type support
-    private SchemaType.Ref _outerSchemaTypeRef;
-    private volatile SchemaComponent.Ref _containerFieldRef;
-    private volatile SchemaField _containerField;
-    private volatile int _containerFieldCode;
-    private volatile int _containerFieldIndex;
-    private SchemaType.Ref[] _anonymousTyperefs;
-    private boolean _isDocumentType;
-    private boolean _isAttributeType;
-    // private boolean _skippedAnonymousType;
-
-    // compiletime java type support
-    private boolean _isCompiled;
-    private String _shortJavaName;
-    private String _fullJavaName;
-    private String _shortJavaImplName;
-    private String _fullJavaImplName;
-    private ExtensionHolder _extensionHolder;
-
-    // runtime java type support: volatile because they're cached
-    private volatile Class _javaClass;
-    private volatile Class _javaEnumClass;
-    private volatile Class _javaImplClass;
-    private volatile Constructor _javaImplConstructor;
-    private volatile Constructor _javaImplConstructor2;
-    private volatile boolean _implNotAvailable;
-
-    private final Object[] _ctrArgs = new Object[] { this };
-
-    // reflective support
-    private SchemaTypeSystem _typeSystem;
-    private String _filename;
-
-    // complex content support
-    private SchemaParticle _contentModel;
-    private volatile SchemaLocalElement[] _localElts; // lazily computed
-    private volatile Map _eltToIndexMap; // lazily computed
-    private volatile Map _attrToIndexMap; // lazily computed
-    private Map _propertyModelByElementName;
-    private Map _propertyModelByAttributeName;
-    private boolean _hasAllContent;
-    private boolean _orderSensitive;
-    private QNameSet _typedWildcardElements;
-    private QNameSet _typedWildcardAttributes;
-    private boolean _hasWildcardElements;
-    private boolean _hasWildcardAttributes;
-    // set of valid QNames that can be substituted for a property
-    private Set _validSubstitutions = Collections.EMPTY_SET;
-
-    // simple content support
-    private int _complexTypeVariety;
-    private SchemaAttributeModel _attributeModel;
-
-    // simple type support
-    private int _builtinTypeCode;
-
-    private int _simpleTypeVariety;
-    private boolean _isSimpleType;
-
-    private SchemaType.Ref _baseTyperef; // via restriction or extension
-    private int _baseDepth; // how many inheritance steps to AnyType
-    private int _derivationType;
-
-    // facets
-    private XmlValueRef[] _facetArray;
-    private boolean[] _fixedFacetArray;
-
-    // fundamental facets
-    private int _ordered;
-    private boolean _isFinite;
-    private boolean _isBounded;
-    private boolean _isNumeric;
-
-    private boolean _abs;
-    private boolean _finalExt;
-    private boolean _finalRest;
-    private boolean _finalList;
-    private boolean _finalUnion;
-    private boolean _blockExt;
-    private boolean _blockRest;
-
-    // whitespace facet
-    private int _whiteSpaceRule;
-
-    // regex patterns
-    private boolean _hasPatterns; // also takes into account base classes
-    private org.apache.xmlbeans.impl.regex.RegularExpression[] _patterns;
-
-    // enumerated values
-    private XmlValueRef[] _enumerationValues;
-    private SchemaType.Ref _baseEnumTyperef;
-    private boolean _stringEnumEnsured;
-    private volatile Map _lookupStringEnum;
-    private volatile List _listOfStringEnum;
-    private volatile Map _lookupStringEnumEntry;
-    private SchemaStringEnumEntry[] _stringEnumEntries;
-
-    // for lists only
-    private SchemaType.Ref _listItemTyperef;
-
-    // for unions only
-    private boolean _isUnionOfLists;
-    private SchemaType.Ref[] _unionMemberTyperefs;
-    private int _anonymousUnionMemberOrdinal;
-    private volatile SchemaType[] _unionConstituentTypes;
-    private volatile SchemaType[] _unionSubTypes;
-    private volatile SchemaType _unionCommonBaseType;
-
-    // for atomic types only
-    private SchemaType.Ref _primitiveTypeRef;
-
-    // for decimal restrictions only
-    private int _decimalSize;
-
-    // lazy loading support
-    private volatile boolean _unloaded;
-
-    // for document types only - only valid during compilation
-    private QName _sg;
-    private List _sgMembers = new ArrayList();
-
-    public boolean isUnloaded()
-    {
-        return _unloaded;
-    }
-
-    public void finishLoading()
-    {
-        _unloaded = false;
-    }
-
-
-
-    SchemaTypeImpl(SchemaTypeSystem typeSystem)
-    {
-        _typeSystem = typeSystem;
-    }
-
-    SchemaTypeImpl(SchemaTypeSystem typeSystem, boolean unloaded)
-    {
-        _typeSystem = typeSystem;
-        _unloaded = unloaded;
-        if (unloaded)
-            finishQuick();
-    }
-
-    public boolean isSGResolved()
-        { return _resolvePhase >= RESOLVED_SGS; }
-
-    public boolean isSGResolving()
-        { return _resolvePhase >= RESOLVING_SGS; }
-
-    public boolean isResolved()
-        { return _resolvePhase >= RESOLVED; }
-
-    public boolean isResolving()
-        { return _resolvePhase == RESOLVING; }
-
-    public boolean isUnjavaized()
-        { return _resolvePhase < JAVAIZED; }
-
-    public boolean isJavaized()
-        { return _resolvePhase == JAVAIZED; }
-
-    public void startResolvingSGs()
-    {
-        if (_resolvePhase != UNRESOLVED)
-            throw new IllegalStateException();
-        _resolvePhase = RESOLVING_SGS;
-    }
-
-    public void finishResolvingSGs()
-    {
-        if (_resolvePhase != RESOLVING_SGS)
-            throw new IllegalStateException();
-        _resolvePhase = RESOLVED_SGS;
-    }
-
-    public void startResolving()
-    {
-        if ( (_isDocumentType && _resolvePhase != RESOLVED_SGS) ||
-             (!_isDocumentType && _resolvePhase != UNRESOLVED))
-            throw new IllegalStateException();
-        _resolvePhase = RESOLVING;
-    }
-
-    public void finishResolving()
-    {
-        if (_resolvePhase != RESOLVING)
-            throw new IllegalStateException();
-        _resolvePhase = RESOLVED;
-    }
-
-    public void startJavaizing()
-    {
-        if (_resolvePhase != RESOLVED)
-            throw new IllegalStateException();
-        _resolvePhase = JAVAIZING;
-    }
-
-    public void finishJavaizing()
-    {
-        if (_resolvePhase != JAVAIZING)
-            throw new IllegalStateException();
-        _resolvePhase = JAVAIZED;
-    }
-
-    private void finishQuick()
-    {
-        _resolvePhase = JAVAIZED;
-    }
-
-    private void assertUnresolved()
-    {
-        if (_resolvePhase != UNRESOLVED && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    private void assertSGResolving()
-    {
-        if (_resolvePhase != RESOLVING_SGS && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    private void assertSGResolved()
-    {
-        if (_resolvePhase != RESOLVED_SGS && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    private void assertResolving()
-    {
-        if (_resolvePhase != RESOLVING && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    private void assertResolved()
-    {
-        if (_resolvePhase != RESOLVED && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    private void assertJavaizing()
-    {
-        if (_resolvePhase != JAVAIZING && !_unloaded)
-            throw new IllegalStateException();
-    }
-
-    public QName getName()
-        { return _name; }
-
-    public void setName(QName name)
-        { assertUnresolved(); _name = name; }
-
-    public String getSourceName()
-    {
-        if (_filename != null)
-            return _filename;
-        if (getOuterType() != null)
-            return getOuterType().getSourceName();
-
-        SchemaField field = getContainerField();
-        if (field != null)
-        {
-            if (field instanceof SchemaGlobalElement)
-                return ((SchemaGlobalElement)field).getSourceName();
-            if (field instanceof SchemaGlobalAttribute)
-                return ((SchemaGlobalAttribute)field).getSourceName();
-        }
-        return null;
-    }
-
-    public void setFilename(String filename)
-        { assertUnresolved(); _filename = filename; }
-
-    public int getComponentType()
-        { return SchemaComponent.TYPE; }
-
-    public boolean isAnonymousType()
-        { return _name == null; }
-
-    public boolean isDocumentType()
-        { return _isDocumentType; }
-
-    public boolean isAttributeType()
-        { return _isAttributeType; }
-
-    public QName getDocumentElementName()
-    {
-        if (_isDocumentType)
-        {
-            SchemaParticle sp = getContentModel();
-            if (sp != null)
-                return sp.getName();
-        }
-
-        return null;
-    }
-
-    public QName getAttributeTypeAttributeName()
-    {
-        if (_isAttributeType)
-        {
-            SchemaAttributeModel sam = getAttributeModel();
-            if (sam != null)
-            {
-                SchemaLocalAttribute[] slaArray = sam.getAttributes();
-                if (slaArray != null && slaArray.length > 0)
-                {
-                    SchemaLocalAttribute sla = slaArray[0];
-                    return sla.getName();
-                }
-            }
-        }
-
-        return null;
-    }
-
-    public void setAnnotation(SchemaAnnotation ann)
-        { assertUnresolved(); _annotation = ann; }
-
-    public SchemaAnnotation getAnnotation()
-        { return _annotation; }
-
-    public void setDocumentType(boolean isDocument)
-        { assertUnresolved(); _isDocumentType = isDocument; }
-
-    public void setAttributeType(boolean isAttribute)
-        { assertUnresolved(); _isAttributeType = isAttribute; }
-
-    public int getContentType()
-        { return _complexTypeVariety; }
-
-    public void setComplexTypeVariety(int complexTypeVariety)
-        { assertResolving(); _complexTypeVariety = complexTypeVariety; }
-
-    public SchemaTypeElementSequencer getElementSequencer()
-    {
-        if (_complexTypeVariety == NOT_COMPLEX_TYPE)
-            return new SequencerImpl(null);
-
-        return new SequencerImpl(new SchemaTypeVisitorImpl(_contentModel));
-    }
-
-    /** Set the abstract and final flags for a complex type */
-    void setAbstractFinal(
-        boolean abs, boolean finalExt, boolean finalRest, boolean finalList, boolean finalUnion)
-    {
-        assertResolving();
-        _abs = abs;
-        _finalExt = finalExt; _finalRest = finalRest;
-        _finalList = finalList; _finalUnion = finalUnion;
-    }
-
-    /** Set the final flags for a simple type */
-    void setSimpleFinal(boolean finalRest, boolean finalList, boolean finalUnion)
-    {
-        assertResolving(); _finalRest = finalRest; _finalList = finalList ; _finalUnion = finalUnion;
-    }
-
-    void setBlock(boolean blockExt, boolean blockRest)
-    {
-        assertResolving(); _blockExt = blockExt ; _blockRest = blockRest;
-    }
-
-    public boolean blockRestriction()
-    { return _blockRest; }
-
-    public boolean blockExtension()
-    { return _blockExt; }
-
-    public boolean isAbstract()
-    { return _abs; }
-
-    public boolean finalExtension()
-    { return _finalExt; }
-
-    public boolean finalRestriction()
-    { return _finalRest; }
-
-    public boolean finalList()
-    { return _finalList; }
-
-    public boolean finalUnion()
-    { return _finalUnion; }
-
-    public synchronized SchemaField getContainerField()
-    {
-        if (_containerFieldCode != -1)
-        {
-            SchemaType outer = getOuterType();
-            if (_containerFieldCode == 0)
-                _containerField = _containerFieldRef == null ? null : (SchemaField)_containerFieldRef.getComponent();
-            else if (_containerFieldCode == 1)
-                _containerField = outer.getAttributeModel().getAttributes()[_containerFieldIndex];
-            else
-                _containerField = ((SchemaTypeImpl)outer).getLocalElementByIndex(_containerFieldIndex);
-            _containerFieldCode = -1;
-        }
-        return _containerField;
-    }
-
-    public void setContainerField(SchemaField field)
-    {
-        assertUnresolved();
-        _containerField = field;
-        _containerFieldCode = -1;
-    }
-
-    public void setContainerFieldRef(SchemaComponent.Ref ref)
-    {
-        assertUnresolved();
-        _containerFieldRef = ref;
-        _containerFieldCode = 0;
-    }
-
-    public void setContainerFieldIndex(short code, int index)
-    {
-        assertUnresolved();
-        _containerFieldCode = code;
-        _containerFieldIndex = index;
-    }
-
-    public SchemaType getOuterType()
-        { return _outerSchemaTypeRef == null ? null : _outerSchemaTypeRef.get(); }
-
-    public void setOuterSchemaTypeRef(SchemaType.Ref typeref)
-        { assertUnresolved(); _outerSchemaTypeRef = typeref; }
-
-    public boolean isCompiled()
-        { return _isCompiled; }
-
-    public void setCompiled(boolean f)
-        { assertJavaizing(); _isCompiled = f; }
-
-    public boolean isSkippedAnonymousType()
-        { return _outerSchemaTypeRef.get().getBaseType() == this; }
-
-    public String getShortJavaName()
-        { return _shortJavaName; }
-
-    public void setShortJavaName(String name)
-    {
-        assertResolved();
-        _shortJavaName = name;
-        SchemaType outer = _outerSchemaTypeRef.get();
-        while (outer.getFullJavaName() == null)
-            outer = outer.getOuterType();
-
-        _fullJavaName = outer.getFullJavaName() + "$" + _shortJavaName;
-    }
-
-    public String getFullJavaName()
-        { return _fullJavaName; }
-
-    public void setFullJavaName(String name)
-    {
-        assertResolved();
-        _fullJavaName = name;
-        int index = Math.max(_fullJavaName.lastIndexOf('$'),
-                             _fullJavaName.lastIndexOf('.')) + 1;
-        _shortJavaName = _fullJavaName.substring(index);
-    }
-
-    public void setExtensionHolder(ExtensionHolder extHolder)
-    {
-        assertResolved();
-        _extensionHolder = extHolder;
-    }
-
-    public ExtensionHolder getExtensionHolder()
-    {
-        return _extensionHolder;
-    }
-
-    public void setShortJavaImplName(String name)
-    {
-        assertResolved();
-        _shortJavaImplName = name;
-        SchemaType outer = _outerSchemaTypeRef.get();
-        while (outer.getFullJavaImplName() == null)
-            outer = outer.getOuterType();
-
-        _fullJavaImplName = outer.getFullJavaImplName() + "$" + _shortJavaImplName;
-    }
-
-    public void setFullJavaImplName(String name)
-    {
-        assertResolved();
-        _fullJavaImplName = name;
-        int index = Math.max(_fullJavaImplName.lastIndexOf('$'),
-                             _fullJavaImplName.lastIndexOf('.')) + 1;
-        _shortJavaImplName = _fullJavaImplName.substring(index);
-    }
-
-    public String getFullJavaImplName() { return _fullJavaImplName;}
-    public String getShortJavaImplName() { return _shortJavaImplName;}
-
-    public SchemaTypeSystem getTypeSystem()
-        { return _typeSystem; }
-
-    public SchemaParticle getContentModel()
-        { return _contentModel; }
-
-    private static void buildEltList(List eltList, SchemaParticle contentModel)
-    {
-        if (contentModel == null)
-            return;
-
-        switch (contentModel.getParticleType())
-        {
-            case SchemaParticle.ELEMENT:
-                eltList.add(contentModel);
-                return;
-            case SchemaParticle.ALL:
-            case SchemaParticle.CHOICE:
-            case SchemaParticle.SEQUENCE:
-                for (int i = 0; i < contentModel.countOfParticleChild(); i++)
-                    buildEltList(eltList, contentModel.getParticleChild(i));
-                return;
-            default:
-                return;
-        }
-    }
-
-    private void buildLocalElts()
-    {
-        List eltList = new ArrayList();
-        buildEltList(eltList, _contentModel);
-        _localElts = (SchemaLocalElement[])eltList.toArray(new SchemaLocalElement[eltList.size()]);
-    }
-
-    public SchemaLocalElement getLocalElementByIndex(int i)
-    {
-        SchemaLocalElement[] elts = _localElts;
-        if (elts == null)
-        {
-            buildLocalElts();
-            elts = _localElts;
-        }
-        return elts[i];
-    }
-
-    public int getIndexForLocalElement(SchemaLocalElement elt)
-    {
-        Map localEltMap = _eltToIndexMap;
-        if (localEltMap == null)
-        {
-            if (_localElts == null)
-                buildLocalElts();
-            localEltMap = new HashMap();
-            for (int i = 0; i < _localElts.length; i++)
-            {
-                localEltMap.put(_localElts[i], new Integer(i));
-            }
-            _eltToIndexMap = localEltMap;
-        }
-        return ((Integer)localEltMap.get(elt)).intValue();
-    }
-
-    public int getIndexForLocalAttribute(SchemaLocalAttribute attr)
-    {
-        Map localAttrMap = _attrToIndexMap;
-        if (localAttrMap == null)
-        {
-            localAttrMap = new HashMap();
-            SchemaLocalAttribute[] attrs = this._attributeModel.getAttributes();
-            for (int i = 0; i < attrs.length; i++)
-            {
-                localAttrMap.put(attrs[i], new Integer(i));
-            }
-            _attrToIndexMap = localAttrMap;
-        }
-        return ((Integer)localAttrMap.get(attr)).intValue();
-    }
-
-    public SchemaAttributeModel getAttributeModel()
-        { return _attributeModel; }
-
-    public SchemaProperty[] getProperties()
-    {
-        if (_propertyModelByElementName == null)
-            return getAttributeProperties();
-
-        if (_propertyModelByAttributeName == null)
-            return getElementProperties();
-
-        List list = new ArrayList();
-        list.addAll(_propertyModelByElementName.values());
-        list.addAll(_propertyModelByAttributeName.values());
-        return (SchemaProperty[])list.toArray(new SchemaProperty[list.size()]);
-    }
-
-    private static final SchemaProperty[] NO_PROPERTIES = new SchemaProperty[0];
-
-    public SchemaProperty[] getDerivedProperties()
-    {
-        SchemaType baseType = getBaseType();
-        if (baseType == null)
-            return getProperties();
-
-        List results = new ArrayList();
-
-        if (_propertyModelByElementName != null)
-            results.addAll(_propertyModelByElementName.values());
-
-        if (_propertyModelByAttributeName != null)
-            results.addAll(_propertyModelByAttributeName.values());
-
-        for (Iterator it = results.iterator() ; it.hasNext() ; )
-        {
-            SchemaProperty prop = (SchemaProperty)it.next();
-            SchemaProperty baseProp = prop.isAttribute() ?
-                baseType.getAttributeProperty(prop.getName()) :
-                baseType.getElementProperty(prop.getName());
-
-
-            // Remove the derived property from the results if it is
-            // A) present in the base type and
-            // B) all the details are the same (cardinality, nillability)
-
-            if (baseProp != null)
-            {
-                if ( eq(prop.getMinOccurs(), baseProp.getMinOccurs()) &&
-                     eq(prop.getMaxOccurs(), baseProp.getMaxOccurs()) &&
-                     prop.hasNillable() == baseProp.hasNillable())
-                {
-                    it.remove();
-                }
-
-            }
-
-        }
-
-        return (SchemaProperty[])results.toArray(new SchemaProperty[results.size()]);
-    }
-
-    private static boolean eq(BigInteger a, BigInteger b)
-    {
-        if (a == null && b == null)
-            return true;
-        if (a== null || b == null)
-            return false;
-        return a.equals(b);
-    }
-
-    public SchemaProperty[] getElementProperties()
-    {
-        if (_propertyModelByElementName == null)
-            return NO_PROPERTIES;
-
-        return (SchemaProperty[])
-                _propertyModelByElementName.values().toArray(new SchemaProperty[_propertyModelByElementName.size()]);
-    }
-
-    public SchemaProperty[] getAttributeProperties()
-    {
-        if (_propertyModelByAttributeName == null)
-            return NO_PROPERTIES;
-
-        return (SchemaProperty[])
-                _propertyModelByAttributeName.values().toArray(new SchemaProperty[_propertyModelByAttributeName.size()]);
-    }
-
-    public SchemaProperty getElementProperty(QName eltName)
-        { return _propertyModelByElementName == null ? null : (SchemaProperty)_propertyModelByElementName.get(eltName); }
-
-    public SchemaProperty getAttributeProperty(QName attrName)
-        { return _propertyModelByAttributeName == null ? null : (SchemaProperty)_propertyModelByAttributeName.get(attrName); }
-
-    public boolean hasAllContent()
-        { return _hasAllContent; }
-
-    public boolean isOrderSensitive()
-        { return _orderSensitive; }
-
-    public void setOrderSensitive(boolean sensitive)
-        { assertJavaizing(); _orderSensitive = sensitive; }
-
-    public void setContentModel(
-            SchemaParticle contentModel,
-            SchemaAttributeModel attrModel,
-            Map propertyModelByElementName,
-            Map propertyModelByAttributeName,
-            boolean isAll)
-    {
-        assertResolving();
-        _contentModel = contentModel;
-        _attributeModel = attrModel;
-        _propertyModelByElementName = propertyModelByElementName;
-        _propertyModelByAttributeName = propertyModelByAttributeName;
-        _hasAllContent = isAll;
-
-
-        // Add entries for each element property for substitution group members
-        if (_propertyModelByElementName != null)
-        {
-            _validSubstitutions = new LinkedHashSet();
-            Collection eltProps = _propertyModelByElementName.values();
-            for (Iterator it = eltProps.iterator() ; it.hasNext() ; )
-            {
-                SchemaProperty prop = (SchemaProperty)it.next();
-                QName[] names = prop.acceptedNames();
-                for (int i = 0 ; i < names.length ; i++)
-                {
-                    if (! _propertyModelByElementName.containsKey(names[i]))
-                        _validSubstitutions.add(names[i]);
-                }
-            }
-        }
-    }
-
-    private boolean containsElements()
-    {
-        return getContentType() == ELEMENT_CONTENT ||
-               getContentType() == MIXED_CONTENT;
-    }
-
-    public boolean hasAttributeWildcards()
-    {
-        return _hasWildcardAttributes;
-    }
-
-    public boolean hasElementWildcards()
-    {
-        return _hasWildcardElements;
-    }
-
-    public boolean isValidSubstitution(QName name)
-    {
-        return _validSubstitutions.contains(name);
-    }
-
-    public SchemaType getElementType(QName eltName, QName xsiType, SchemaTypeLoader wildcardTypeLoader)
-    {
-        if (isSimpleType() || !containsElements() || isNoType())
-            return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-
-        SchemaType type;
-        SchemaProperty prop = (SchemaProperty)_propertyModelByElementName.get(eltName);
-        if (prop != null)
-        {
-            type = prop.getType();
-        }
-        else
-        {
-            if (!_typedWildcardElements.contains(eltName) || wildcardTypeLoader == null)
-                return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-
-            SchemaGlobalElement elt = wildcardTypeLoader.findElement(eltName);
-            if (elt == null)
-                return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-            // According to http://www.w3.org/TR/xmlschema-1/#key-lva,
-            // the line above should return ST_ANY_TYPE.
-            type = elt.getType();
-        }
-
-        if (xsiType != null && wildcardTypeLoader != null)
-        {
-            SchemaType itype = wildcardTypeLoader.findType(xsiType);
-
-            // NOTE: a previous version of XMLBeans used ST_NO_TYPE if the
-            // xsiType was not derived from 'type', but this results in a
-            // ClassCastException.  Instead we ignore xsi:type if it's not
-            // found or a derived type.
-            if (itype != null && type.isAssignableFrom(itype)) {
-                return itype;
-            }
-        }
-
-        return type;
-    }
-
-    public SchemaType getAttributeType(QName attrName, SchemaTypeLoader wildcardTypeLoader)
-    {
-        if (isSimpleType() || isNoType())
-            return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-
-        if (isURType())
-            return BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-
-        SchemaProperty prop = (SchemaProperty)_propertyModelByAttributeName.get(attrName);
-        if (prop != null)
-            return prop.getType();
-
-        if (!_typedWildcardAttributes.contains(attrName) || wildcardTypeLoader == null)
-            return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-        // For symmetry with the element case (as well as with URType), perhaps
-        // the above line should be returning ST_ANY_SIMPLE
-        
-        SchemaGlobalAttribute attr = wildcardTypeLoader.findAttribute(attrName);
-        if (attr == null)
-            return BuiltinSchemaTypeSystem.ST_NO_TYPE;
-        return attr.getType();
-    }
-
-    public XmlObject createElementType(QName eltName, QName xsiType, SchemaTypeLoader wildcardTypeLoader)
-    {
-        SchemaType type = null;
-        SchemaProperty prop = null;
-        if (isSimpleType() || !containsElements() || isNoType())
-        {
-            type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-        }
-        else
-        {
-            prop = (SchemaProperty)_propertyModelByElementName.get(eltName);
-            if (prop != null)
-            {
-                type = prop.getType();
-            }
-            else if (!_typedWildcardElements.contains(eltName) &&
-                     !_validSubstitutions.contains(eltName))
-            {
-                type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-            }
-            else
-            {
-                SchemaGlobalElement elt = wildcardTypeLoader.findElement(eltName);
-                if (elt != null)
-                    type = elt.getType();
-                else
-                    type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-            }
-
-            if (xsiType != null)
-            {
-                SchemaType itype = wildcardTypeLoader.findType(xsiType);
-
-                // NOTE: a previous version of XMLBeans used ST_NO_TYPE if the
-                // xsiType was not derived from 'type', but this results in a
-                // ClassCastException.  Instead we ignore xsi:type if it's not
-                // found or a derived type.
-                if (itype != null && type.isAssignableFrom(itype)) {
-                    type = itype;
-                }
-            }
-        }
-
-        if (type != null)
-            return ((SchemaTypeImpl)type).createUnattachedNode(prop);
-        return null;
-    }
-
-    public XmlObject createAttributeType(QName attrName, SchemaTypeLoader wildcardTypeLoader)
-    {
-        SchemaTypeImpl type = null;
-        SchemaProperty prop = null;
-        if (isSimpleType() || isNoType())
-        {
-            type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-        }
-        else if (isURType())
-        {
-            type = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-        else
-        {
-            prop = (SchemaProperty)_propertyModelByAttributeName.get(attrName);
-            if (prop != null)
-            {
-                type = (SchemaTypeImpl)prop.getType();
-            }
-            else if (!_typedWildcardAttributes.contains(attrName))
-            {
-                type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-            }
-            else
-            {
-                SchemaGlobalAttribute attr = wildcardTypeLoader.findAttribute(attrName);
-                if (attr != null)
-                    type = (SchemaTypeImpl)attr.getType();
-                else
-                    type = BuiltinSchemaTypeSystem.ST_NO_TYPE;
-            }
-        }
-
-        if (type != null)
-            return type.createUnattachedNode(prop);
-
-        return null;
-    }
-
-    public void setWildcardSummary(QNameSet elementSet, boolean haswcElt, QNameSet attributeSet, boolean haswcAtt)
-    {
-        assertResolving(); _typedWildcardElements = elementSet; _hasWildcardElements = haswcElt; _typedWildcardAttributes = attributeSet; _hasWildcardAttributes = haswcAtt;
-    }
-
-    public SchemaType[] getAnonymousTypes()
-    {
-        SchemaType[] result = new SchemaType[_anonymousTyperefs.length];
-        for (int i = 0; i < result.length; i++)
-            result[i] = _anonymousTyperefs[i].get();
-        return result;
-    }
-
-    public void setAnonymousTypeRefs(SchemaType.Ref[] anonymousTyperefs)
-    {
-        _anonymousTyperefs = anonymousTyperefs;
-    }
-
-
-    private static SchemaType[] staCopy(SchemaType[] a)
-    {
-        if (a == null)
-            return null;
-
-        SchemaType[] result = new SchemaType[a.length];
-        System.arraycopy(a, 0, result, 0, a.length);
-        return result;
-    }
-
-    private static boolean[] boaCopy(boolean[] a)
-    {
-        if (a == null)
-            return null;
-
-        boolean[] result = new boolean[a.length];
-        System.arraycopy(a, 0, result, 0, a.length);
-        return result;
-    }
-
-
-
-    public void setSimpleTypeVariety(int variety)
-        { assertResolving(); _simpleTypeVariety = variety; }
-
-    public int getSimpleVariety()
-        { return _simpleTypeVariety; }
-
-    public boolean isURType()
-        { return _builtinTypeCode == BTC_ANY_TYPE || _builtinTypeCode == BTC_ANY_SIMPLE; }
-
-    public boolean isNoType()
-        { return this == BuiltinSchemaTypeSystem.ST_NO_TYPE; }
-
-    public boolean isSimpleType()
-        { return _isSimpleType; }
-
-    public void setSimpleType(boolean f)
-        { assertUnresolved(); _isSimpleType = f; }
-
-    public boolean isUnionOfLists()
-        { return _isUnionOfLists; }
-
-    public void setUnionOfLists(boolean f)
-        { assertResolving(); _isUnionOfLists = f; }
-
-    public SchemaType getPrimitiveType()
-        { return _primitiveTypeRef == null ? null : _primitiveTypeRef.get(); }
-
-    public void setPrimitiveTypeRef(SchemaType.Ref typeref)
-        { assertResolving(); _primitiveTypeRef = typeref; }
-
-    public int getDecimalSize()
-        { return _decimalSize; }
-
-    public void setDecimalSize(int bits)
-        { assertResolving(); _decimalSize = bits; }
-
-    public SchemaType getBaseType()
-        { return _baseTyperef == null ? null : _baseTyperef.get(); }
-
-    public void setBaseTypeRef(SchemaType.Ref typeref)
-        { assertResolving(); _baseTyperef = typeref; }
-
-    public int getBaseDepth()
-        { return _baseDepth; }
-
-    public void setBaseDepth(int depth)
-        { assertResolving(); _baseDepth = depth; }
-
-    public int getDerivationType()
-        { return _derivationType; }
-
-    public void setDerivationType(int type)
-        { assertResolving(); _derivationType = type; }
-
-    public SchemaType getListItemType()
-        { return _listItemTyperef == null ? null : _listItemTyperef.get(); }
-
-    public void setListItemTypeRef(SchemaType.Ref typeref)
-        { assertResolving(); _listItemTyperef = typeref; }
-
-    public SchemaType[] getUnionMemberTypes()
-    {
-        SchemaType[] result = new SchemaType[_unionMemberTyperefs ==null ? 0 : _unionMemberTyperefs.length];
-        for (int i = 0; i < result.length; i++)
-            result[i] = _unionMemberTyperefs[i].get();
-        return result;
-    }
-
-    public void setUnionMemberTypeRefs(SchemaType.Ref[] typerefs)
-        { assertResolving(); _unionMemberTyperefs = typerefs; }
-
-    public int getAnonymousUnionMemberOrdinal()
-        { return _anonymousUnionMemberOrdinal; }
-
-    public void setAnonymousUnionMemberOrdinal(int i)
-        { assertUnresolved(); _anonymousUnionMemberOrdinal = i; }
-
-    public synchronized SchemaType[] getUnionConstituentTypes()
-    {
-        if (_unionCommonBaseType == null)
-            computeFlatUnionModel();
-        return staCopy(_unionConstituentTypes);
-    }
-
-    private void setUnionConstituentTypes(SchemaType[] types)
-        { _unionConstituentTypes = types; }
-
-    public synchronized SchemaType[] getUnionSubTypes()
-    {
-        if (_unionCommonBaseType == null)
-            computeFlatUnionModel();
-        return staCopy(_unionSubTypes);
-    }
-
-    private void setUnionSubTypes(SchemaType[] types)
-        { _unionSubTypes = types; }
-
-    public synchronized SchemaType getUnionCommonBaseType()
-    {
-        if (_unionCommonBaseType == null)
-            computeFlatUnionModel();
-        return _unionCommonBaseType;
-    }
-
-    private void setUnionCommonBaseType(SchemaType type)
-        { _unionCommonBaseType = type; }
-
-    private void computeFlatUnionModel()
-    {
-        Set constituentMemberTypes = new LinkedHashSet();
-        Set allSubTypes = new LinkedHashSet();
-        SchemaType commonBaseType = null;
-
-        allSubTypes.add(this);
-
-        for (int i = 0; i < _unionMemberTyperefs.length; i++)
-        {
-            SchemaTypeImpl mImpl = (SchemaTypeImpl)_unionMemberTyperefs[i].get();
-
-            switch (mImpl.getSimpleVariety())
-            {
-                case SchemaType.LIST:
-                    constituentMemberTypes.add(mImpl);
-                    allSubTypes.add(mImpl);
-                    commonBaseType = mImpl.getCommonBaseType(commonBaseType);
-                    break;
-                case SchemaType.UNION:
-                    constituentMemberTypes.addAll(Arrays.asList(mImpl.getUnionConstituentTypes()));
-                    allSubTypes.addAll(Arrays.asList(mImpl.getUnionSubTypes()));
-                    SchemaType otherCommonBaseType = mImpl.getUnionCommonBaseType();
-                    if (otherCommonBaseType != null)
-                        commonBaseType = otherCommonBaseType.getCommonBaseType(commonBaseType);
-                    break;
-                case SchemaType.ATOMIC:
-                    constituentMemberTypes.add(mImpl);
-                    allSubTypes.add(mImpl);
-                    commonBaseType = mImpl.getCommonBaseType(commonBaseType);
-                    break;
-                default:
-                    assert(false);
-            }
-        }
-
-        setUnionConstituentTypes((SchemaType[])
-                constituentMemberTypes.toArray(StscState.EMPTY_ST_ARRAY));
-        setUnionSubTypes((SchemaType[])
-                allSubTypes.toArray(StscState.EMPTY_ST_ARRAY));
-        setUnionCommonBaseType(commonBaseType);
-    }
-
-    public QName getSubstitutionGroup()
-        { return _sg; }
-
-    public void setSubstitutionGroup(QName sg)
-        { assertSGResolving(); _sg = sg; }
-
-    public void addSubstitutionGroupMember(QName member)
-        { assertSGResolved(); _sgMembers.add(member); }
-
-    public QName[] getSubstitutionGroupMembers()
-    {
-        QName[] result = new QName[_sgMembers.size()];
-        return (QName[])_sgMembers.toArray(result);
-    }
-
-    public int getWhiteSpaceRule()
-        { return _whiteSpaceRule; }
-
-    public void setWhiteSpaceRule(int ws)
-        { assertResolving(); _whiteSpaceRule = ws; }
-
-    public XmlAnySimpleType getFacet(int facetCode)
-    {
-        if (_facetArray == null)
-            return null;
-        XmlValueRef ref = _facetArray[facetCode];
-        if (ref == null)
-            return null;
-        return ref.get();
-    }
-
-    public boolean isFacetFixed(int facetCode)
-    {
-        return _fixedFacetArray[facetCode];
-    }
-
-    public XmlAnySimpleType[] getBasicFacets()
-    {
-        XmlAnySimpleType[] result = new XmlAnySimpleType[SchemaType.LAST_FACET + 1];
-        for (int i = 0; i <= SchemaType.LAST_FACET; i++)
-        {
-            result[i] = getFacet(i);
-        }
-        return result;
-    }
-
-    public boolean[] getFixedFacets()
-    {
-        return boaCopy(_fixedFacetArray);
-    }
-
-    public void setBasicFacets(XmlValueRef[] values, boolean[] fixed)
-    {
-        assertResolving();
-        _facetArray = values;
-        _fixedFacetArray = fixed;
-    }
-
-    public int ordered()
-        { return _ordered; }
-
-    public void setOrdered(int ordering)
-        { assertResolving(); _ordered = ordering; }
-
-    public boolean isBounded()
-        { return _isBounded; }
-
-    public void setBounded(boolean f)
-        { assertResolving(); _isBounded = f; }
-
-    public boolean isFinite()
-        { return _isFinite; }
-
-    public void setFinite(boolean f)
-        { assertResolving(); _isFinite = f; }
-
-    public boolean isNumeric()
-        { return _isNumeric; }
-
-    public void setNumeric(boolean f)
-        { assertResolving(); _isNumeric = f; }
-
-
-    public boolean hasPatternFacet()
-        { return _hasPatterns; }
-
-    public void setPatternFacet(boolean hasPatterns)
-        { assertResolving(); _hasPatterns = hasPatterns; }
-
-    public boolean matchPatternFacet(String s)
-    {
-        if (!_hasPatterns)
-            return true;
-
-        if (_patterns != null && _patterns.length > 0)
-        {
-            int i;
-            for (i = 0; i < _patterns.length; i++)
-            {
-                if (_patterns[i].matches(s))
-                    break;
-            }
-            if (i >= _patterns.length)
-                return false;
-        }
-
-        return getBaseType().matchPatternFacet(s);
-    }
-
-    public String[] getPatterns()
-    {
-        if (_patterns == null)
-            return new String[0];
-        String[] patterns = new String[_patterns.length];
-        for (int i=0; i< _patterns.length; i++)
-            patterns[i] = _patterns[i].getPattern();
-        return patterns;
-    }
-
-    public org.apache.xmlbeans.impl.regex.RegularExpression[] getPatternExpressions()
-    {
-        if (_patterns == null)
-            return new org.apache.xmlbeans.impl.regex.RegularExpression[0];
-        org.apache.xmlbeans.impl.regex.RegularExpression[] result = new org.apache.xmlbeans.impl.regex.RegularExpression[_patterns.length];
-        System.arraycopy(_patterns, 0, result, 0, _patterns.length);
-        return result;
-    }
-
-    public void setPatterns(org.apache.xmlbeans.impl.regex.RegularExpression[] list)
-        { assertResolving(); _patterns = list; }
-
-    public XmlAnySimpleType[] getEnumerationValues()
-    {
-        if (_enumerationValues == null)
-            return null;
-        XmlAnySimpleType[] result = new XmlAnySimpleType[_enumerationValues.length];
-        for (int i = 0; i < result.length; i++)
-        {
-            XmlValueRef ref = _enumerationValues[i];
-            result[i] = (ref == null ? null : ref.get());
-
-        }
-        return result;
-    }
-
-    public void setEnumerationValues(XmlValueRef[] a)
-        { assertResolving(); _enumerationValues = a; }
-
-    public StringEnumAbstractBase enumForString(String s)
-    {
-        ensureStringEnumInfo();
-        if (_lookupStringEnum == null)
-            return null;
-        return (StringEnumAbstractBase)_lookupStringEnum.get(s);
-    }
-
-    public StringEnumAbstractBase enumForInt(int i)
-    {
-        ensureStringEnumInfo();
-        if (_listOfStringEnum == null || i < 0 || i >= _listOfStringEnum.size())
-            return null;
-        return (StringEnumAbstractBase)_listOfStringEnum.get(i);
-    }
-
-    public SchemaStringEnumEntry enumEntryForString(String s)
-    {
-        ensureStringEnumInfo();
-        if (_lookupStringEnumEntry == null)
-            return null;
-        return (SchemaStringEnumEntry)_lookupStringEnumEntry.get(s);
-    }
-
-    public SchemaType getBaseEnumType()
-    {
-        return _baseEnumTyperef == null ? null : _baseEnumTyperef.get();
-    }
-
-    public void setBaseEnumTypeRef(SchemaType.Ref baseEnumTyperef)
-    {
-        _baseEnumTyperef = baseEnumTyperef;
-    }
-
-    public SchemaStringEnumEntry[] getStringEnumEntries()
-    {
-        if (_stringEnumEntries == null)
-            return null;
-        SchemaStringEnumEntry[] result = new SchemaStringEnumEntry[_stringEnumEntries.length];
-        System.arraycopy(_stringEnumEntries, 0, result, 0, result.length);
-        return result;
-    }
-
-    public void setStringEnumEntries(SchemaStringEnumEntry sEnums[])
-    {
-        assertJavaizing();
-        _stringEnumEntries = sEnums;
-    }
-
-    private void ensureStringEnumInfo()
-    {
-        if (_stringEnumEnsured)
-            return;
-
-        SchemaStringEnumEntry[] sEnums = _stringEnumEntries;
-        if (sEnums == null)
-        {
-            _stringEnumEnsured = true;
-            return;
-        }
-
-        Map lookupStringEnum = new HashMap(sEnums.length);
-        List listOfStringEnum = new ArrayList(sEnums.length + 1);
-        Map lookupStringEnumEntry = new HashMap(sEnums.length);
-
-        for (int i = 0; i < sEnums.length; i++)
-        {
-            lookupStringEnumEntry.put(sEnums[i].getString(), sEnums[i]);
-        }
-
-        Class jc = _baseEnumTyperef.get().getEnumJavaClass();
-        if (jc != null)
-        {
-            try
-            {
-                StringEnumAbstractBase.Table table = (StringEnumAbstractBase.Table)jc.getField("table").get(null);
-                for (int i = 0; i < sEnums.length; i++)
-                {
-                    int j = sEnums[i].getIntValue();
-                    StringEnumAbstractBase enumVal = table.forInt(j);
-                    lookupStringEnum.put(sEnums[i].getString(), enumVal);
-                    while (listOfStringEnum.size() <= j)
-                        listOfStringEnum.add(null);
-                    listOfStringEnum.set(j, enumVal);
-                }
-            }
-            catch (Exception e)
-            {
-                System.err.println("Something wrong: could not locate enum table for " + jc);
-                jc = null;
-                lookupStringEnum.clear();
-                listOfStringEnum.clear();
-            }
-        }
-
-        if (jc == null)
-        {
-            for (int i = 0; i < sEnums.length; i++)
-            {
-                int j = sEnums[i].getIntValue();
-                String s = sEnums[i].getString();
-                StringEnumAbstractBase enumVal = new StringEnumValue(s, j);
-                lookupStringEnum.put(s, enumVal);
-                while (listOfStringEnum.size() <= j)
-                    listOfStringEnum.add(null);
-                listOfStringEnum.set(j, enumVal);
-            }
-        }
-
-        synchronized (this)
-        {
-            if (!_stringEnumEnsured)
-            {
-                _lookupStringEnum = lookupStringEnum;
-                _listOfStringEnum = listOfStringEnum;
-                _lookupStringEnumEntry = lookupStringEnumEntry;
-            }
-        }
-        // HACKHACK: two syncrhonized blocks force a memory barrier:
-        // BUGBUG: this behavior is likely to change in future VMs
-        synchronized (this)
-        {
-            _stringEnumEnsured = true;
-        }
-    }
-
-    public boolean hasStringEnumValues()
-    {
-        return _stringEnumEntries != null;
-    }
-
-    public void copyEnumerationValues(SchemaTypeImpl baseImpl)
-    {
-        assertResolving();
-        _enumerationValues = baseImpl._enumerationValues;
-        _baseEnumTyperef = baseImpl._baseEnumTyperef;
-    }
-
-    public int getBuiltinTypeCode()
-        { return _builtinTypeCode; } // special: set up pre-init
-
-    public void setBuiltinTypeCode(int builtinTypeCode)
-        { assertResolving(); _builtinTypeCode = builtinTypeCode; }
-
-    public Class getJavaClass()
-    {
-        // This field is declared volatile and Class is immutable so this is allowed.
-        if (_javaClass == null && getFullJavaName() != null)
-        {
-            try
-                { _javaClass = Class.forName(getFullJavaName(), false, _typeSystem.getClassLoader()); }
-            catch (ClassNotFoundException e)
-            {
-                System.err.println("Could not find class name " + getFullJavaName());
-                System.err.println("Searched in classloader " + _typeSystem.getClassLoader());
-                e.printStackTrace(System.err);
-                _javaClass = null;
-            }
-        }
-
-        return _javaClass;
-    }
-
-    public Class getJavaImplClass() {
-        if (_implNotAvailable)
-            return null;
-
-        if (_javaImplClass == null)
-        {
-            try {
-                if (getFullJavaImplName() != null)
-                    _javaImplClass = Class.forName(getFullJavaImplName(), false, _typeSystem.getClassLoader());
-                else
-                    _implNotAvailable = true;
-            }
-            catch (ClassNotFoundException e) {
-                _implNotAvailable = true;
-            }
-        }
-
-        return _javaImplClass;
-    }
-
-    public Constructor getJavaImplConstructor()
-    {
-        if (_javaImplConstructor == null && !_implNotAvailable)
-        {
-            final Class impl = getJavaImplClass();
-            if (impl == null) return null;
-            try
-            {
-                _javaImplConstructor = impl.getConstructor(new Class[] { SchemaType.class });
-            }
-            catch (NoSuchMethodException e)
-            {
-                e.printStackTrace();
-            }
-        }
-
-        return _javaImplConstructor;
-
-    }
-
-    public Constructor getJavaImplConstructor2()
-    {
-        if (_javaImplConstructor2 == null && !_implNotAvailable)
-        {
-            final Class impl = getJavaImplClass();
-            if (impl == null) return null;
-            try
-            {
-                _javaImplConstructor2 = impl.getConstructor(new Class[] { SchemaType.class, boolean.class });
-            }
-            catch (NoSuchMethodException e)
-            {
-                e.printStackTrace();
-            }
-        }
-
-        return _javaImplConstructor2;
-
-    }
-
-    public Class getEnumJavaClass()
-    {
-        // This field is declared volatile and Class is immutable so this is allowed.
-        if (_javaEnumClass == null)
-        {
-            try
-                { _javaEnumClass = Class.forName(getBaseEnumType().getFullJavaName() + "$Enum", false, _typeSystem.getClassLoader()); }
-            catch (ClassNotFoundException e)
-                { _javaEnumClass = null; }
-        }
-
-        return _javaEnumClass;
-    }
-
-    public void setJavaClass(Class javaClass)
-    {
-        assertResolved();
-        _javaClass = javaClass;
-        setFullJavaName(javaClass.getName());
-    }
-
-    public boolean isPrimitiveType()
-    {
-        return (getBuiltinTypeCode() >= BTC_FIRST_PRIMITIVE &&
-                getBuiltinTypeCode() <= BTC_LAST_PRIMITIVE);
-    }
-
-    public boolean isBuiltinType()
-    {
-        return getBuiltinTypeCode() != 0;
-    }
-
-    public XmlObject createUnwrappedNode()
-    {
-        // Todo: attach a new xml store!
-        XmlObject result = createUnattachedNode(null);
-        return result;
-    }
-
-    /**
-     * TypeStoreUserFactory implementation
-     */
-    public TypeStoreUser createTypeStoreUser()
-    {
-        return (TypeStoreUser)createUnattachedNode(null);
-    }
-
-
-    public XmlAnySimpleType newValidatingValue(Object obj)
-    {
-        return newValue(obj, true);
-    }
-    /**
-     * Creates an immutable simple value.
-     */
-    public XmlAnySimpleType newValue(Object obj)
-    {
-        return newValue(obj, false);
-    }
-
-    public XmlAnySimpleType newValue(Object obj, boolean validateOnSet)
-    {
-        if (!isSimpleType() && getContentType() != SchemaType.SIMPLE_CONTENT)
-            throw new XmlValueOutOfRangeException(); // values must be simple
-
-        XmlObjectBase result = (XmlObjectBase)createUnattachedNode(null);
-        if (validateOnSet)
-            result.setValidateOnSet();
-
-        // In the case of tree copy, need to call a specla setter to avoid
-        // set(XmlObject)
-        if (obj instanceof XmlObject)
-            result.set_newValue((XmlObject)obj);
-        else
-            result.objectSet(obj);
-
-        result.check_dated();
-        result.setImmutable();
-
-        return (XmlAnySimpleType) result;
-    }
-
-    /**
-     * Creates an instance of this type.
-     */
-    private XmlObject createUnattachedNode(SchemaProperty prop)
-    {
-        XmlObject result = null;
-
-        if (!isBuiltinType() && !isNoType())
-        {
-            // System.out.println("Attempting to load impl class: " + getFullJavaImplName());
-            Constructor ctr = getJavaImplConstructor();
-            if (ctr != null)
-            {
-                try
-                {
-                    // System.out.println("Succeeded!");
-                    return (XmlObject)ctr.newInstance(_ctrArgs);
-                }
-                catch (Exception e)
-                {
-                    System.out.println("Exception trying to instantiate impl class.");
-                    e.printStackTrace();
-                }
-            }
-        }
-        else
-        {
-            result = createBuiltinInstance();
-        }
-
-        // if no result, we must be a restriction of some compiled type
-        for (SchemaType sType = this; result == null; sType = sType.getBaseType())
-            result = ((SchemaTypeImpl)sType).createUnattachedSubclass(this);
-
-        ((XmlObjectBase)result).init_flags(prop);
-        return result;
-    }
-
-    private XmlObject createUnattachedSubclass(SchemaType sType)
-    {
-        if (!isBuiltinType() && !isNoType())
-        {
-            // System.out.println("Attempting to load impl class: " + getFullJavaImplName());
-            Constructor ctr = getJavaImplConstructor2();
-            if (ctr != null)
-            {
-                try
-                {
-                    // System.out.println("Succeeded!");
-                    return (XmlObject)ctr.newInstance(new Object[] { sType, sType.isSimpleType() ? Boolean.FALSE : Boolean.TRUE });
-                }
-                catch (Exception e)
-                {
-                    System.out.println("Exception trying to instantiate impl class.");
-                    e.printStackTrace();
-                }
-            }
-            return null;
-        }
-        else
-        {
-            return createBuiltinSubclass(sType);
-        }
-    }
-
-    private XmlObject createBuiltinInstance()
-    {
-        switch (getBuiltinTypeCode())
-        {
-            case BTC_NOT_BUILTIN:
-                return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
-            case BTC_ANY_TYPE:
-                return new XmlAnyTypeImpl();
-            case BTC_ANY_SIMPLE:
-                return new XmlAnySimpleTypeImpl();
-            case BTC_BOOLEAN:
-                return new XmlBooleanImpl();
-            case BTC_BASE_64_BINARY:
-                return new XmlBase64BinaryImpl();
-            case BTC_HEX_BINARY:
-                return new XmlHexBinaryImpl();
-            case BTC_ANY_URI:
-                return new XmlAnyUriImpl();
-            case BTC_QNAME:
-                return new XmlQNameImpl();
-            case BTC_NOTATION:
-                return new XmlNotationImpl();
-            case BTC_FLOAT:
-                return new XmlFloatImpl();
-            case BTC_DOUBLE:
-                return new XmlDoubleImpl();
-            case BTC_DECIMAL:
-                return new XmlDecimalImpl();
-            case BTC_STRING:
-                return new XmlStringImpl();
-            case BTC_DURATION:
-                return new XmlDurationImpl();
-            case BTC_DATE_TIME:
-                return new XmlDateTimeImpl();
-            case BTC_TIME:
-                return new XmlTimeImpl();
-            case BTC_DATE:
-                return new XmlDateImpl();
-            case BTC_G_YEAR_MONTH:
-                return new XmlGYearMonthImpl();
-            case BTC_G_YEAR:
-                return new XmlGYearImpl();
-            case BTC_G_MONTH_DAY:
-                return new XmlGMonthDayImpl();
-            case BTC_G_DAY:
-                return new XmlGDayImpl();
-            case BTC_G_MONTH:
-                return new XmlGMonthImpl();
-            case BTC_INTEGER:
-                return new XmlIntegerImpl();
-            case BTC_LONG:
-                return new XmlLongImpl();
-            case BTC_INT:
-                return new XmlIntImpl();
-            case BTC_SHORT:
-                return new XmlShortImpl();
-            case BTC_BYTE:
-                return new XmlByteImpl();
-            case BTC_NON_POSITIVE_INTEGER:
-                return new XmlNonPositiveIntegerImpl();
-            case BTC_NEGATIVE_INTEGER:
-                return new XmlNegativeIntegerImpl();
-            case BTC_NON_NEGATIVE_INTEGER:
-                return new XmlNonNegativeIntegerImpl();
-            case BTC_POSITIVE_INTEGER:
-                return new XmlPositiveIntegerImpl();
-            case BTC_UNSIGNED_LONG:
-                return new XmlUnsignedLongImpl();
-            case BTC_UNSIGNED_INT:
-                return new XmlUnsignedIntImpl();
-            case BTC_UNSIGNED_SHORT:
-                return new XmlUnsignedShortImpl();
-            case BTC_UNSIGNED_BYTE:
-                return new XmlUnsignedByteImpl();
-            case BTC_NORMALIZED_STRING:
-                return new XmlNormalizedStringImpl();
-            case BTC_TOKEN:
-                return new XmlTokenImpl();
-            case BTC_NAME:
-                return new XmlNameImpl();
-            case BTC_NCNAME:
-                return new XmlNCNameImpl();
-            case BTC_LANGUAGE:
-                return new XmlLanguageImpl();
-            case BTC_ID:
-                return new XmlIdImpl();
-            case BTC_IDREF:
-                return new XmlIdRefImpl();
-            case BTC_IDREFS:
-                return new XmlIdRefsImpl();
-            case BTC_ENTITY:
-                return new XmlEntityImpl();
-            case BTC_ENTITIES:
-                return new XmlEntitiesImpl();
-            case BTC_NMTOKEN:
-                return new XmlNmTokenImpl();
-            case BTC_NMTOKENS:
-                return new XmlNmTokensImpl();
-            default:
-                throw new IllegalStateException("Unrecognized builtin type: " + getBuiltinTypeCode());
-        }
-    }
-
-    private XmlObject createBuiltinSubclass(SchemaType sType)
-    {
-        boolean complex = !sType.isSimpleType();
-        switch (getBuiltinTypeCode())
-        {
-            case BTC_NOT_BUILTIN:
-                return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
-            case BTC_ANY_TYPE:
-            case BTC_ANY_SIMPLE:
-                switch (sType.getSimpleVariety())
-                {
-                    case NOT_SIMPLE:
-                        return new XmlComplexContentImpl(sType);
-                    case ATOMIC:
-                        return new XmlAnySimpleTypeRestriction(sType, complex);
-                    case LIST:
-                        return new XmlListImpl(sType, complex);
-                    case UNION:
-                        return new XmlUnionImpl(sType, complex);
-                    default:
-                        throw new IllegalStateException();
-                }
-            case BTC_BOOLEAN:
-                return new XmlBooleanRestriction(sType, complex);
-            case BTC_BASE_64_BINARY:
-                return new XmlBase64BinaryRestriction(sType, complex);
-            case BTC_HEX_BINARY:
-                return new XmlHexBinaryRestriction(sType, complex);
-            case BTC_ANY_URI:
-                return new XmlAnyUriRestriction(sType, complex);
-            case BTC_QNAME:
-                return new XmlQNameRestriction(sType, complex);
-            case BTC_NOTATION:
-                return new XmlNotationRestriction(sType, complex);
-            case BTC_FLOAT:
-                return new XmlFloatRestriction(sType, complex);
-            case BTC_DOUBLE:
-                return new XmlDoubleRestriction(sType, complex);
-            case BTC_DECIMAL:
-                return new XmlDecimalRestriction(sType, complex);
-            case BTC_STRING:
-                if (sType.hasStringEnumValues())
-                    return new XmlStringEnumeration(sType, complex);
-                else
-                    return new XmlStringRestriction(sType, complex);
-            case BTC_DURATION:
-                return new XmlDurationImpl(sType, complex);
-            case BTC_DATE_TIME:
-                return new XmlDateTimeImpl(sType, complex);
-            case BTC_TIME:
-                return new XmlTimeImpl(sType, complex);
-            case BTC_DATE:
-                return new XmlDateImpl(sType, complex);
-            case BTC_G_YEAR_MONTH:
-                return new XmlGYearMonthImpl(sType, complex);
-            case BTC_G_YEAR:
-                return new XmlGYearImpl(sType, complex);
-            case BTC_G_MONTH_DAY:
-                return new XmlGMonthDayImpl(sType, complex);
-            case BTC_G_DAY:
-                return new XmlGDayImpl(sType, complex);
-            case BTC_G_MONTH:
-                return new XmlGMonthImpl(sType, complex);
-            case BTC_INTEGER:
-                return new XmlIntegerRestriction(sType, complex);
-            case BTC_LONG:
-                return new XmlLongRestriction(sType, complex);
-            case BTC_INT:
-                return new XmlIntRestriction(sType, complex);
-            case BTC_SHORT:
-                return new XmlShortImpl(sType, complex);
-            case BTC_BYTE:
-                return new XmlByteImpl(sType, complex);
-            case BTC_NON_POSITIVE_INTEGER:
-                return new XmlNonPositiveIntegerImpl(sType, complex);
-            case BTC_NEGATIVE_INTEGER:
-                return new XmlNegativeIntegerImpl(sType, complex);
-            case BTC_NON_NEGATIVE_INTEGER:
-                return new XmlNonNegativeIntegerImpl(sType, complex);
-            case BTC_POSITIVE_INTEGER:
-                return new XmlPositiveIntegerImpl(sType, complex);
-            case BTC_UNSIGNED_LONG:
-                return new XmlUnsignedLongImpl(sType, complex);
-            case BTC_UNSIGNED_INT:
-                return new XmlUnsignedIntImpl(sType, complex);
-            case BTC_UNSIGNED_SHORT:
-                return new XmlUnsignedShortImpl(sType, complex);
-            case BTC_UNSIGNED_BYTE:
-                return new XmlUnsignedByteImpl(sType, complex);
-            case BTC_NORMALIZED_STRING:
-                return new XmlNormalizedStringImpl(sType, complex);
-            case BTC_TOKEN:
-                return new XmlTokenImpl(sType, complex);
-            case BTC_NAME:
-                return new XmlNameImpl(sType, complex);
-            case BTC_NCNAME:
-                return new XmlNCNameImpl(sType, complex);
-            case BTC_LANGUAGE:
-                return new XmlLanguageImpl(sType, complex);
-            case BTC_ID:
-                return new XmlIdImpl(sType, complex);
-            case BTC_IDREF:
-                return new XmlIdRefImpl(sType, complex);
-            case BTC_IDREFS:
-                return new XmlIdRefsImpl(sType, complex);
-            case BTC_ENTITY:
-                return new XmlEntityImpl(sType, complex);
-            case BTC_ENTITIES:
-                return new XmlEntitiesImpl(sType, complex);
-            case BTC_NMTOKEN:
-                return new XmlNmTokenImpl(sType, complex);
-            case BTC_NMTOKENS:
-                return new XmlNmTokensImpl(sType, complex);
-            default:
-                throw new IllegalStateException("Unrecognized builtin type: " + getBuiltinTypeCode());
-        }
-    }
-
-    public SchemaType getCommonBaseType(SchemaType type)
-    {
-        // null type is treated as the no-type
-        if (this == BuiltinSchemaTypeSystem.ST_ANY_TYPE || type == null || type.isNoType())
-            return this;
-
-        // any type is the universal base type; noType is the universal derived type
-        if (type == BuiltinSchemaTypeSystem.ST_ANY_TYPE || isNoType())
-            return type;
-
-        // the regular case:
-        SchemaTypeImpl sImpl1 = (SchemaTypeImpl)type;
-        while (sImpl1.getBaseDepth() > getBaseDepth())
-            sImpl1 = (SchemaTypeImpl)sImpl1.getBaseType();
-        SchemaTypeImpl sImpl2 = this;
-        while (sImpl2.getBaseDepth() > sImpl1.getBaseDepth())
-            sImpl2 = (SchemaTypeImpl)sImpl2.getBaseType();
-        for (;;)
-        {
-            if (sImpl1.equals(sImpl2))
-                break;
-            sImpl1 = (SchemaTypeImpl)sImpl1.getBaseType();
-            sImpl2 = (SchemaTypeImpl)sImpl2.getBaseType();
-            assert(sImpl1 != null && sImpl2 != null); // must meet at anyType
-        }
-        return sImpl1;
-    }
-
-    public boolean isAssignableFrom(SchemaType type)
-    {
-        if (type == null || type.isNoType())
-            return true;
-
-        if (isNoType())
-            return false;
-
-        int depth = ((SchemaTypeImpl)type).getBaseDepth() - getBaseDepth();
-        if (depth < 0)
-            return false;
-        while (depth > 0)
-        {
-            type = type.getBaseType();
-            depth -= 1;
-        }
-        return (type.equals(this));
-    }
-
-
-    public String toString()
-    {
-        if (getName() != null)
-            return "T=" + QNameHelper.pretty(getName());
-
-        if (isDocumentType())
-            return "D=" + QNameHelper.pretty(getDocumentElementName());
-
-        if (isAttributeType())
-            return "R=" + QNameHelper.pretty(getAttributeTypeAttributeName());
-
-        String prefix;
-
-        if (getContainerField() != null)
-        {
-            prefix = (getContainerField().getName().getNamespaceURI().length() > 0 ?
-                            (getContainerField().isAttribute() ? "Q=" : "E=") :
-                            (getContainerField().isAttribute() ? "A=" : "U="))
-                    + getContainerField().getName().getLocalPart();
-            if (getOuterType() == null)
-                return prefix + "@" + getContainerField().getName().getNamespaceURI();
-        }
-        else if (isNoType())
-            return "N=";
-        else if (getOuterType() == null)
-            return "noouter";
-        else if (getOuterType().getBaseType() == this)
-            prefix = "B=";
-        else if (getOuterType().getSimpleVariety() == SchemaType.LIST)
-            prefix = "I=";
-        else if (getOuterType().getSimpleVariety() == SchemaType.UNION)
-            prefix = "M=" + getAnonymousUnionMemberOrdinal();
-        else
-            prefix = "strange=";
-
-        return prefix + "|" + getOuterType().toString();
-    }
-
-    private XmlObject _parseObject;
-    private String _parseTNS;
-    private boolean _chameleon;
-    private boolean _redefinition;
-
-    public void setParseContext(XmlObject parseObject, String targetNamespace, boolean chameleon, boolean redefinition)
-    {
-        _parseObject = parseObject;
-        _parseTNS = targetNamespace;
-        _chameleon = chameleon;
-        _redefinition = redefinition;
-    }
-
-    public XmlObject getParseObject()
-        { return _parseObject; }
-
-    public String getTargetNamespace()
-        { return _parseTNS; }
-
-    public boolean isChameleon ( )
-        { return _chameleon; }
-
-    public String getChameleonNamespace()
-        { return _chameleon ? _parseTNS : null; }
-
-    public boolean isRedefinition()
-        { return _redefinition; }
-
-    private SchemaType.Ref _selfref = new SchemaType.Ref(this);
-
-    public SchemaType.Ref getRef()
-        { return _selfref; }
-
-    public SchemaComponent.Ref getComponentRef()
-        { return getRef(); }
-
-    /**
-     * Gives access to the internals of element validation
-     */
-    private static class SequencerImpl implements SchemaTypeElementSequencer
-    {
-        private SchemaTypeVisitorImpl _visitor;
-
-        private SequencerImpl(SchemaTypeVisitorImpl visitor)
-        {
-            _visitor = visitor;
-        }
-
-        public boolean next(QName elementName)
-        {
-            if (_visitor == null)
-                return false;
-
-            return _visitor.visit(elementName);
-        }
-
-        public boolean peek(QName elementName)
-        {
-            if (_visitor == null)
-                return false;
-
-            return _visitor.testValid(elementName);
-        }
-    }
-
-    /**
-     * Returns a QNameSet of elements that may exist in wildcard
-     * buchets and are not explicitly defined in this schema type.
-     * Note: In this example:
-     *  <xs:complexType name="exampleType">
-     *    <xs:sequence>
-     *      <xs:element name="someElement" type='xs:string' />
-     *      <xs:any namespace="##targetNamespace" />
-     *    </xs:sequence>
-     *  </xs:complexType>
-     *  the returned QNameSet will not contain the qname of 'someElement'.
-     * @return the constructed QNameSet
-     */
-    public QNameSet qnameSetForWildcardElements()
-    {
-        SchemaParticle model = this.getContentModel();
-        QNameSetBuilder wildcardSet = new QNameSetBuilder();
-        computeWildcardSet(model, wildcardSet);
-
-        QNameSetBuilder qnsb = new QNameSetBuilder( wildcardSet );
-        SchemaProperty[] props = this.getElementProperties();
-
-        for (int i = 0; i < props.length; i++)
-        {
-            SchemaProperty prop = props[i];
-            qnsb.remove(prop.getName());
-        }
-
-        return qnsb.toQNameSet();
-    }
-
-    private static void computeWildcardSet(SchemaParticle model, QNameSetBuilder result)
-    {
-        for (int i = 0; i < model.countOfParticleChild(); i++)
-        {
-            SchemaParticle child = model.getParticleChild(i);
-            if (child.getParticleType()==SchemaParticle.WILDCARD)
-            {
-                QNameSet cws = child.getWildcardSet();
-                result.addAll(cws);
-            }
-            else
-            {
-                computeWildcardSet(child, result);
-            }
-        }
-    }
-
-    /**
-     * Returns a QNameSet of attributes that may exist in wildcard
-     * buchets and are not explicitly defined in this schema type.
-     * Note: In this example:
-     *  <xs:complexType name="exampleType">
-     *    ...
-     *    <xs:attribute name='someAttribute' type='xs:string' />
-     *    <xs:anyAttribute namespace="##targetNamespace" />
-     *  </xs:complexType>
-     *  the returned QNameSet will not contain the qname of 'someAttribute'.
-     * @return the constructed QNameSet
-     */
-    public QNameSet qnameSetForWildcardAttributes()
-    {
-        SchemaAttributeModel model = this.getAttributeModel();
-        QNameSet wildcardSet = model.getWildcardSet();
-
-        if (wildcardSet==null)
-            return QNameSet.EMPTY;
-
-        QNameSetBuilder qnsb = new QNameSetBuilder( wildcardSet );
-
-        SchemaProperty[] props = this.getAttributeProperties();
-
-        for (int i = 0; i < props.length; i++)
-        {
-            SchemaProperty prop = props[i];
-            qnsb.remove(prop.getName());
-        }
-
-        return qnsb.toQNameSet();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderBase.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderBase.java
deleted file mode 100644
index f29a5ce..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderBase.java
+++ /dev/null
@@ -1,613 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.validator.ValidatingXMLInputStream;
-
-// NEWSTORE START
-//import org.apache.xmlbeans.impl.newstore2.Locale;
-import org.apache.xmlbeans.impl.store.Root;
-// NEWSTORE END
-
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlSaxHandler;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlFactoryHook;
-
-import java.lang.reflect.Method;
-import java.lang.reflect.InvocationTargetException;
-import java.io.InputStream;
-import java.io.Reader;
-import java.io.File;
-import java.io.IOException;
-import java.io.FileInputStream;
-import java.util.List;
-import java.util.ArrayList;
-import java.net.URL;
-import java.net.URLConnection;
-import java.net.HttpURLConnection;
-import java.security.DigestInputStream;
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-import org.w3c.dom.Node;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-public abstract class SchemaTypeLoaderBase implements SchemaTypeLoader
-{
-    private static final Method _pathCompiler = getMethod( "org.apache.xmlbeans.impl.store.Path", "getCompiledPath", new Class[] { String.class, XmlOptions.class } );
-    private static final Method _queryCompiler = getMethod( "org.apache.xmlbeans.impl.store.Path", "getCompiledQuery", new Class[] { String.class, XmlOptions.class } );
-
-    private static Method getMethod ( String className, String methodName, Class[] args )
-    {
-        try
-        {
-            return
-                Class.forName( className ).
-                    getDeclaredMethod( methodName, args );
-        }
-        catch (Exception e)
-        {
-            throw new IllegalStateException(
-                "Cannot find " + className + "." + methodName +
-                    ".  verify that xmlstore " +
-                        "(from xbean.jar) is on classpath" );
-        }
-    }
-
-    private static Object invokeMethod ( Method method, Object[] args )
-    {
-        try
-        {
-            return method.invoke( method, args );
-        }
-        catch ( InvocationTargetException e )
-        {
-            IllegalStateException ise = new IllegalStateException( e.getCause().getMessage() );
-            ise.initCause( e );
-            throw ise;
-        }
-        catch ( Exception e )
-        {
-            IllegalStateException ise = new IllegalStateException( e.getMessage() );
-            ise.initCause( e );
-            throw ise;
-        }
-    }
-
-    private static String doCompilePath ( String pathExpr, XmlOptions options ) { return (String) invokeMethod( _pathCompiler, new Object[] { pathExpr, options } ); }
-    private static String doCompileQuery ( String queryExpr, XmlOptions options ) { return (String) invokeMethod( _queryCompiler, new Object[] { queryExpr, options } ); }
-
-    public SchemaType findType(QName name)
-    {
-        SchemaType.Ref ref = findTypeRef(name);
-        if (ref == null)
-            return null;
-        SchemaType result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaType findDocumentType(QName name)
-    {
-        SchemaType.Ref ref = findDocumentTypeRef(name);
-        if (ref == null)
-            return null;
-        SchemaType result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaType findAttributeType(QName name)
-    {
-        SchemaType.Ref ref = findAttributeTypeRef(name);
-        if (ref == null)
-            return null;
-        SchemaType result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaModelGroup findModelGroup(QName name)
-    {
-        SchemaModelGroup.Ref ref = findModelGroupRef(name);
-        if (ref == null)
-            return null;
-        SchemaModelGroup result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaAttributeGroup findAttributeGroup(QName name)
-    {
-        SchemaAttributeGroup.Ref ref = findAttributeGroupRef(name);
-        if (ref == null)
-            return null;
-        SchemaAttributeGroup result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaGlobalElement findElement(QName name)
-    {
-        SchemaGlobalElement.Ref ref = findElementRef(name);
-        if (ref == null)
-            return null;
-        SchemaGlobalElement result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    public SchemaGlobalAttribute findAttribute(QName name)
-    {
-        SchemaGlobalAttribute.Ref ref = findAttributeRef(name);
-        if (ref == null)
-            return null;
-        SchemaGlobalAttribute result = ref.get();
-        assert(result != null);
-        return result;
-    }
-
-    //
-    //
-    //
-
-    public XmlObject newInstance ( SchemaType type, XmlOptions options )
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.newInstance( this, type, options );
-
-// NEWSTORE START
-//        return Locale.newInstance( this, type, options );
-        return Root.newInstance( this, type, options );
-// NEWSTORE END
-    }
-
-    public XmlObject parse ( String xmlText, SchemaType type, XmlOptions options ) throws XmlException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.parse( this, xmlText, type, options );
-
-// NEWSTORE START
-//        return Locale.parseToXmlObject( this, xmlText, type, options );
-        return Root.parse( this, xmlText, type, options );
-// NEWSTORE END
-    }
-
-    public XmlObject parse ( XMLInputStream xis, SchemaType type, XmlOptions options ) throws XmlException, XMLStreamException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.parse( this, xis, type, options );
-        
-// NEWSTORE START
-//        return Locale.parseToXmlObject( this, xis, type, options );
-        return Root.parse( this, xis, type, options );
-// NEWSTORE END
-    }
-
-    public XmlObject parse ( XMLStreamReader xsr, SchemaType type, XmlOptions options ) throws XmlException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.parse( this, xsr, type, options );
-
-// NEWSTORE START
-//        return Locale.parseToXmlObject( this, xsr, type, options );
-        return Root.parse( this, xsr, type, options );
-// NEWSTORE END
-    }
-    
-    public XmlObject parse ( File file, SchemaType type, XmlOptions options ) throws XmlException, IOException
-    {
-        if (options == null)
-        {
-            options = new XmlOptions();
-            options.put( XmlOptions.DOCUMENT_SOURCE_NAME, file.toURI().normalize().toString() );
-        }
-
-        else if (! options.hasOption(XmlOptions.DOCUMENT_SOURCE_NAME))
-        {
-            options = new XmlOptions( options );
-            options.put( XmlOptions.DOCUMENT_SOURCE_NAME, file.toURI().normalize().toString() );
-        }
-
-        InputStream fis = new FileInputStream( file );
-
-        try
-        {
-            return parse( fis, type, options );
-        }
-        finally
-        {
-            fis.close();
-        }
-    }
-
-    public XmlObject parse ( URL url, SchemaType type, XmlOptions options ) throws XmlException, IOException
-    {
-        if (options == null)
-        {
-            options = new XmlOptions();
-            options.put( XmlOptions.DOCUMENT_SOURCE_NAME, url.toString() );
-        }
-
-        else if (! options.hasOption(XmlOptions.DOCUMENT_SOURCE_NAME))
-        {
-            options = new XmlOptions( options );
-            options.put( XmlOptions.DOCUMENT_SOURCE_NAME, url.toString() );
-        }
-
-        URLConnection conn = null;
-        InputStream stream = null;
-        download: try
-        {
-
-            boolean redirected = false;
-            int count = 0;
-
-            do {
-                conn = url.openConnection();
-                conn.addRequestProperty("User-Agent", "BEA XML Beans/1.0");
-                conn.addRequestProperty("Accept", "application/xml, text/xml, */*");
-                if (conn instanceof HttpURLConnection)
-                {
-                    HttpURLConnection httpcon = (HttpURLConnection)conn;
-                    int code = httpcon.getResponseCode();
-                    redirected = (code == HttpURLConnection.HTTP_MOVED_PERM || code == HttpURLConnection.HTTP_MOVED_TEMP);
-                    if (redirected && count > 5)
-                        redirected = false;
-
-                    if (redirected)
-                    {
-                        String newLocation = httpcon.getHeaderField("Location");
-                        if (newLocation == null)
-                            redirected = false;
-                        else
-                        {
-                            url = new URL(newLocation);
-                            count ++;
-                        }
-                    }
-                }
-            } while (redirected);
-
-            stream = conn.getInputStream();
-            return parse( stream, type, options );
-        }
-        finally
-        {
-            if (stream != null)
-                stream.close();
-        }
-    }
-
-    public XmlObject parse ( InputStream jiois, SchemaType type, XmlOptions options ) throws XmlException, IOException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        DigestInputStream digestStream = null;
-        
-        setupDigest:
-        if (options != null && options.hasOption( XmlOptions.LOAD_MESSAGE_DIGEST ))
-        {
-            MessageDigest sha;
-            
-            try
-            {
-                sha = MessageDigest.getInstance("SHA");
-            }
-            catch (NoSuchAlgorithmException e)
-            {
-                break setupDigest;
-            }
-
-            digestStream = new DigestInputStream( jiois, sha );
-            jiois = digestStream;
-        }
-
-        if (hook != null)
-            return hook.parse( this, jiois, type, options );
-
-// NEWSTORE START
-//        XmlObject result = Locale.parseToXmlObject( this, jiois, type, options );
-        XmlObject result = Root.parse( this, jiois, type, options );
-// NEWSTORE END
-
-        if (digestStream != null)
-            result.documentProperties().setMessageDigest( digestStream.getMessageDigest().digest() );
-
-        return result;
-    }
-
-    public XmlObject parse ( Reader jior, SchemaType type, XmlOptions options ) throws XmlException, IOException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.parse( this, jior, type, options );
-
-// NEWSTORE START
-//        return Locale.parseToXmlObject( this, jior, type, options );
-        return Root.parse( this, jior, type, options );
-// NEWSTORE END
-    }
-
-    public XmlObject parse ( Node node, SchemaType type, XmlOptions options ) throws XmlException
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.parse( this, node, type, options );
-
-// NEWSTORE START
-//        return Locale.parseToXmlObject( this, node, type, options );
-        return Root.parse( this, node, type, options );
-// NEWSTORE END
-    }
-
-    public XmlSaxHandler newXmlSaxHandler ( SchemaType type, XmlOptions options )
-    {
-        XmlFactoryHook hook = XmlFactoryHook.ThreadContext.getHook();
-        
-        if (hook != null)
-            return hook.newXmlSaxHandler( this, type, options );
-
-// NEWSTORE START
-//        return Locale.newSaxHandler( this, type, options );
-        return Root.newSaxHandler( this, type, options );
-// NEWSTORE END
-    }
-
-    public XMLInputStream newValidatingXMLInputStream ( XMLInputStream xis, SchemaType type, XmlOptions options ) throws XmlException, XMLStreamException
-    {
-        return new ValidatingXMLInputStream( xis, this, type, options );
-    }
-
-    //
-    //
-    //
-
-    public String compilePath ( String pathExpr )
-    {
-        return compilePath( pathExpr, null );
-    }
-
-    public String compilePath ( String pathExpr, XmlOptions options )
-    {
-        return doCompilePath( pathExpr, options );
-    }
-
-    public String compileQuery ( String queryExpr )
-    {
-        return compileQuery( queryExpr, null );
-    }
-
-    public String compileQuery ( String queryExpr, XmlOptions options )
-    {
-        return doCompileQuery( queryExpr, options );
-    }
-
-    /**
-     * Utility function to load a type from a signature.
-     *
-     * A signature is the string you get from type.toString().
-     */
-    public SchemaType typeForSignature(String signature)
-    {
-        int end = signature.indexOf('@');
-        String uri;
-
-        if (end < 0)
-        {
-            uri = "";
-            end = signature.length();
-        }
-        else
-        {
-            uri = signature.substring(end + 1);
-        }
-
-        List parts = new ArrayList();
-
-        for (int index = 0; index < end; )
-        {
-            int nextc = signature.indexOf(':', index);
-            int nextd = signature.indexOf('|', index);
-            int next = (nextc < 0 ? nextd : nextd < 0 ? nextc : nextc < nextd ? nextc : nextd);
-            if (next < 0 || next > end)
-                next = end;
-            String part = signature.substring(index, next);
-            parts.add(part);
-            index = next + 1;
-        }
-
-        SchemaType curType = null;
-
-        outer: for (int i = parts.size() - 1; i >= 0; i -= 1)
-        {
-            String part = (String)parts.get(i);
-            if (part.length() < 1)
-                throw new IllegalArgumentException();
-            int offset = (part.length() >= 2 && part.charAt(1) == '=') ? 2 : 1;
-            cases: switch (part.charAt(0))
-            {
-                case 'T':
-                    if (curType != null)
-                        throw new IllegalArgumentException();
-                    curType = findType(QNameHelper.forLNS(part.substring(offset), uri));
-                    if (curType == null)
-                        return null;
-                    break;
-
-                case 'D':
-                    if (curType != null)
-                        throw new IllegalArgumentException();
-                    curType = findDocumentType(QNameHelper.forLNS(part.substring(offset), uri));
-                    if (curType == null)
-                        return null;
-                    break;
-
-                case 'C': // deprecated
-                case 'R': // current
-                    if (curType != null)
-                        throw new IllegalArgumentException();
-                    curType = findAttributeType(QNameHelper.forLNS(part.substring(offset), uri));
-                    if (curType == null)
-                        return null;
-                    break;
-
-                case 'E':
-                case 'U': // distinguish qualified/unqualified TBD
-                    if (curType != null)
-                    {
-                        if (curType.getContentType() < SchemaType.ELEMENT_CONTENT)
-                            return null;
-                        SchemaType[] subTypes = curType.getAnonymousTypes();
-                        String localName = part.substring(offset);
-                        for (int j = 0; j < subTypes.length; j++)
-                        {
-                            SchemaField field = subTypes[j].getContainerField();
-                            if (field != null && !field.isAttribute() && field.getName().getLocalPart().equals(localName))
-                            {
-                                curType = subTypes[j];
-                                break cases;
-                            }
-                        }
-                        return null;
-                    }
-                    else
-                    {
-                        SchemaGlobalElement elt = findElement(QNameHelper.forLNS(part.substring(offset), uri));
-                        if (elt == null)
-                            return null;
-                        curType = elt.getType();
-                    }
-                    break;
-
-                case 'A':
-                case 'Q': // distinguish qualified/unqualified TBD
-                    if (curType != null)
-                    {
-                        if (curType.isSimpleType())
-                            return null;
-                        SchemaType[] subTypes = curType.getAnonymousTypes();
-                        String localName = part.substring(offset);
-                        for (int j = 0; j < subTypes.length; j++)
-                        {
-                            SchemaField field = subTypes[j].getContainerField();
-                            if (field != null && field.isAttribute() && field.getName().getLocalPart().equals(localName))
-                            {
-                                curType = subTypes[j];
-                                break cases;
-                            }
-                        }
-                        return null;
-                    }
-                    else
-                    {
-                        SchemaGlobalAttribute attr = findAttribute(QNameHelper.forLNS(part.substring(offset), uri));
-                        if (attr == null)
-                            return null;
-                        curType = attr.getType();
-                    }
-                    break;
-
-                case 'B':
-                    if (curType == null)
-                    {
-                        throw new IllegalArgumentException();
-                    }
-                    else
-                    {
-                        if (curType.getSimpleVariety() != SchemaType.ATOMIC)
-                            return null;
-                        SchemaType[] subTypes = curType.getAnonymousTypes();
-                        if (subTypes.length != 1)
-                            return null;
-                        curType = subTypes[0];
-                    }
-                    break;
-
-                case 'I':
-                    if (curType == null)
-                    {
-                        throw new IllegalArgumentException();
-                    }
-                    else
-                    {
-                        if (curType.getSimpleVariety() != SchemaType.LIST)
-                            return null;
-                        SchemaType[] subTypes = curType.getAnonymousTypes();
-                        if (subTypes.length != 1)
-                            return null;
-                        curType = subTypes[0];
-                    }
-                    break;
-
-                case 'M':
-                    if (curType == null)
-                    {
-                        throw new IllegalArgumentException();
-                    }
-                    else
-                    {
-                        int index;
-                        try
-                        {
-                            index = Integer.parseInt(part.substring(offset));
-                        }
-                        catch (Exception e)
-                        {
-                            throw new IllegalArgumentException();
-                        }
-
-                        if (curType.getSimpleVariety() != SchemaType.UNION)
-                            return null;
-                        SchemaType[] subTypes = curType.getAnonymousTypes();
-                        if (subTypes.length <= index)
-                            return null;
-                        curType = subTypes[index];
-                    }
-                    break;
-
-                default:
-                    throw new IllegalArgumentException();
-            }
-        }
-        return curType;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderImpl.java
deleted file mode 100644
index 24cca19..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderImpl.java
+++ /dev/null
@@ -1,508 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XBeanDebug;
-import javax.xml.namespace.QName;
-
-import java.io.InputStream;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Collections;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.IdentityHashMap;
-
-public class SchemaTypeLoaderImpl extends SchemaTypeLoaderBase
-{
-    private ResourceLoader _resourceLoader;
-    private ClassLoader _classLoader;
-    private SchemaTypeLoader[] _searchPath;
-
-    private Map _classpathTypeSystems;
-    private Map _classLoaderTypeSystems;
-    private Map _elementCache;
-    private Map _attributeCache;
-    private Map _modelGroupCache;
-    private Map _attributeGroupCache;
-    private Map _idConstraintCache;
-    private Map _typeCache;
-    private Map _documentCache;
-    private Map _classnameCache;
-
-    private static SchemaTypeLoaderImpl buildContextTypeLoader()
-    {
-        return new SchemaTypeLoaderImpl(new SchemaTypeLoader[] { BuiltinSchemaTypeSystem.get() } , null, Thread.currentThread().getContextClassLoader());
-    }
-
-    private static ThreadLocal _threadTypeSystems =
-        new ThreadLocal()
-        {
-            protected Object initialValue() { return new HashMap(); }
-        };
-
-    public static SchemaTypeLoaderImpl getContextTypeLoader()
-    {
-        HashMap candidates = (HashMap) _threadTypeSystems.get();
-        ClassLoader threadContextClassLoader = Thread.currentThread().getContextClassLoader();
-        SchemaTypeLoaderImpl candidate = (SchemaTypeLoaderImpl) candidates.get( threadContextClassLoader );
-
-        if (candidate == null)
-        {
-            candidate = buildContextTypeLoader();
-            candidates.put( threadContextClassLoader, candidate );
-        }
-        return candidate;
-    }
-    
-    public static SchemaTypeLoader build(SchemaTypeLoader[] searchPath, ResourceLoader resourceLoader, ClassLoader classLoader)
-    {
-        if (searchPath == null)
-        {
-            searchPath = EMPTY_SCHEMATYPELOADER_ARRAY;
-        }
-        else
-        {
-            // assemble a flattened search path with no duplicates
-            SubLoaderList list = new SubLoaderList();
-            for (int i = 0; i < searchPath.length; i++)
-            {
-                if (searchPath[i] == null)
-                    throw new IllegalArgumentException("searchPath[" + i + "] is null");
-                if (!(searchPath[i] instanceof SchemaTypeLoaderImpl))
-                    list.add(searchPath[i]);
-                else
-                {
-                    SchemaTypeLoaderImpl sub = (SchemaTypeLoaderImpl)searchPath[i];
-                    if (sub._classLoader != null || sub._resourceLoader != null)
-                        list.add(sub);
-                    else for (int j = 0; j < sub._searchPath.length; j++)
-                        list.add(sub._searchPath[j]);
-                }
-            }
-            searchPath = list.toArray();
-        }
-
-        if (searchPath.length == 1 && resourceLoader == null && classLoader == null)
-            return searchPath[0];
-
-        return new SchemaTypeLoaderImpl(searchPath, resourceLoader, classLoader);
-    }
-
-    /**
-     * Just used to avoid duplicate path entries
-     */
-    private static class SubLoaderList
-    {
-        private List theList = new ArrayList();
-        private Map seen = new IdentityHashMap();
-
-        private boolean add(SchemaTypeLoader loader)
-        {
-            if (seen.containsKey(loader))
-                return false;
-            theList.add(loader);
-            seen.put(loader, null);
-            return true;
-        }
-
-        private SchemaTypeLoader[] toArray()
-        {
-            return (SchemaTypeLoader[])theList.toArray(EMPTY_SCHEMATYPELOADER_ARRAY);
-        }
-    }
-
-    /**
-     * Constructs a SchemaTypeLoaderImpl that searches for objects
-     * in the following order:
-     *
-     * (1) First on the searchPath of other SchemaTypeSystems supplied,
-     *     in order that they are listed.
-     * (2) Next on the classpath of .jar files or directories supplied,
-     *     in the order that they are listed. When types are returned in
-     *     this way, they are instantiated from a private typesystem.
-     *     In other words, if a type is loaded from another SchemaTypeLoaderImpl
-     *     that was initialized on the same file, the instance of the type will
-     *     be different.
-     * (3) Finally on the classloader supplied.
-     */
-    private SchemaTypeLoaderImpl(SchemaTypeLoader[] searchPath, ResourceLoader resourceLoader, ClassLoader classLoader)
-    {
-        if (searchPath == null)
-            _searchPath = EMPTY_SCHEMATYPELOADER_ARRAY;
-        else
-            _searchPath = searchPath;
-        _resourceLoader = resourceLoader;
-        _classLoader = classLoader;
-
-        initCaches();
-    }
-
-    /**
-     * Initializes the caches.
-     */
-    private final void initCaches()
-    {
-        _classpathTypeSystems = Collections.synchronizedMap(new HashMap());
-        _classLoaderTypeSystems = Collections.synchronizedMap(new HashMap());
-        _elementCache = Collections.synchronizedMap(new HashMap());
-        _attributeCache = Collections.synchronizedMap(new HashMap());
-        _modelGroupCache = Collections.synchronizedMap(new HashMap());
-        _attributeGroupCache = Collections.synchronizedMap(new HashMap());
-        _idConstraintCache = Collections.synchronizedMap(new HashMap());
-        _typeCache = Collections.synchronizedMap(new HashMap());
-        _documentCache = Collections.synchronizedMap(new HashMap());
-        _classnameCache = Collections.synchronizedMap(new HashMap());
-    }
-
-    SchemaTypeSystemImpl typeSystemForComponent(String searchdir, QName name)
-    {
-        String searchfor = searchdir + QNameHelper.hexsafedir(name) + ".xsb";
-        String tsname = null;
-
-        if (_resourceLoader != null)
-            tsname = crackEntry(_resourceLoader, searchfor);
-
-        if (_classLoader != null)
-            tsname = crackEntry(_classLoader, searchfor);
-
-        if (tsname != null)
-            return (SchemaTypeSystemImpl)typeSystemForName(tsname);
-
-        return null;
-    }
-
-    public SchemaTypeSystem typeSystemForName(String name)
-    {
-        if (_resourceLoader != null)
-        {
-            SchemaTypeSystem result = getTypeSystemOnClasspath(name);
-            if (result != null)
-                return result;
-        }
-
-        if (_classLoader != null)
-        {
-            SchemaTypeSystem result = getTypeSystemOnClassloader(name);
-            if (result != null)
-                return result;
-        }
-        return null;
-    }
-
-    SchemaTypeSystemImpl typeSystemForClassname(String searchdir, String name)
-    {
-        String searchfor = searchdir + name.replace('.', '/') + ".xsb";
-
-        if (_resourceLoader != null)
-        {
-            String tsname = crackEntry(_resourceLoader, searchfor);
-            if (tsname != null)
-                return getTypeSystemOnClasspath(tsname);
-        }
-
-        if (_classLoader != null)
-        {
-            String tsname = crackEntry(_classLoader, searchfor);
-            if (tsname != null)
-                return getTypeSystemOnClassloader(tsname);
-        }
-
-        return null;
-    }
-
-    SchemaTypeSystemImpl getTypeSystemOnClasspath(String name)
-    {
-        SchemaTypeSystemImpl result = (SchemaTypeSystemImpl)_classpathTypeSystems.get(name);
-        if (result == null)
-        {
-            result = new SchemaTypeSystemImpl(_resourceLoader, name, this);
-            _classpathTypeSystems.put(name, result);
-        }
-        return result;
-    }
-
-    SchemaTypeSystemImpl getTypeSystemOnClassloader(String name)
-    {
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Finding type system " + name + " on classloader", 0);
-        SchemaTypeSystemImpl result = (SchemaTypeSystemImpl)_classLoaderTypeSystems.get(name);
-        if (result == null)
-        {
-            XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Type system " + name + " not cached - consulting field", 0);
-            result = SchemaTypeSystemImpl.forName(name, _classLoader);
-            _classLoaderTypeSystems.put(name, result);
-        }
-        return result;
-    }
-
-    static String crackEntry(ResourceLoader loader, String searchfor)
-    {
-        InputStream is = loader.getResourceAsStream(searchfor);
-        if (is == null)
-            return null;
-        return crackPointer(is);
-    }
-
-    static String crackEntry(ClassLoader loader, String searchfor)
-    {
-        InputStream stream = loader.getResourceAsStream(searchfor);
-        if (stream == null)
-            return null;
-        return crackPointer(stream);
-    }
-
-    static String crackPointer(InputStream stream)
-    {
-        return SchemaTypeSystemImpl.crackPointer(stream);
-    }
-
-    public boolean isNamespaceDefined(String namespace)
-    {
-        for (int i = 0; i < _searchPath.length; i++)
-            if (_searchPath[i].isNamespaceDefined(namespace))
-                return true;
-        
-        SchemaTypeSystem sts = typeSystemForComponent("schema/namespace/", new QName(namespace, "xmlns"));
-        return (sts != null);
-    }
-
-    public SchemaType.Ref findTypeRef(QName name)
-    {
-        SchemaType.Ref result = (SchemaType.Ref)_typeCache.get(name);
-        if (result == null && !_typeCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findTypeRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/type/", name);
-                if (ts != null)
-                {
-                    result = ts.findTypeRef(name);
-                    assert(result != null) : "Type system registered type " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _typeCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaType typeForClassname(String classname)
-    {
-        classname = classname.replace('$', '.');
-
-        SchemaType result = (SchemaType)_classnameCache.get(classname);
-        if (result == null && !_classnameCache.containsKey(classname))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].typeForClassname(classname)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForClassname("schema/javaname/", classname);
-                if (ts != null)
-                {
-                    result = ts.typeForClassname(classname);
-                    assert(result != null) : "Type system registered type " + classname + " but does not return it";
-                }
-            }
-            _classnameCache.put(classname, result);
-        }
-        return result;
-    }
-
-    public SchemaType.Ref findDocumentTypeRef(QName name)
-    {
-        SchemaType.Ref result = (SchemaType.Ref)_documentCache.get(name);
-        if (result == null && !_documentCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findDocumentTypeRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/element/", name);
-                if (ts != null)
-                {
-                    result = ts.findDocumentTypeRef(name);
-                    assert(result != null) : "Type system registered element " + QNameHelper.pretty(name) + " but does not contain document type";
-                }
-            }
-            _documentCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaType.Ref findAttributeTypeRef(QName name)
-    {
-        SchemaType.Ref result = (SchemaType.Ref)_attributeCache.get(name);
-        if (result == null && !_attributeCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findAttributeTypeRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/attribute/", name);
-                if (ts != null)
-                {
-                    result = ts.findAttributeTypeRef(name);
-                    assert(result != null) : "Type system registered attribute " + QNameHelper.pretty(name) + " but does not contain attribute type";
-                }
-            }
-            _attributeCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaGlobalElement.Ref findElementRef(QName name)
-    {
-        SchemaGlobalElement.Ref result = (SchemaGlobalElement.Ref)_elementCache.get(name);
-        if (result == null && !_elementCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findElementRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/element/", name);
-                if (ts != null)
-                {
-                    result = ts.findElementRef(name);
-                    assert(result != null) : "Type system registered element " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _elementCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaGlobalAttribute.Ref findAttributeRef(QName name)
-    {
-        SchemaGlobalAttribute.Ref result = (SchemaGlobalAttribute.Ref)_attributeCache.get(name);
-        if (result == null && !_attributeCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findAttributeRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/attribute/", name);
-                if (ts != null)
-                {
-                    result = ts.findAttributeRef(name);
-                    assert(result != null) : "Type system registered attribute " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _attributeCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaModelGroup.Ref findModelGroupRef(QName name)
-    {
-        SchemaModelGroup.Ref result = (SchemaModelGroup.Ref)_modelGroupCache.get(name);
-        if (result == null && !_modelGroupCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findModelGroupRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/modelgroup/", name);
-                if (ts != null)
-                {
-                    result = ts.findModelGroupRef(name);
-                    assert(result != null) : "Type system registered model group " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _modelGroupCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaAttributeGroup.Ref findAttributeGroupRef(QName name)
-    {
-        SchemaAttributeGroup.Ref result = (SchemaAttributeGroup.Ref)_attributeGroupCache.get(name);
-        if (result == null && !_attributeGroupCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findAttributeGroupRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/attributegroup/", name);
-                if (ts != null)
-                {
-                    result = ts.findAttributeGroupRef(name);
-                    assert(result != null) : "Type system registered attribute group " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _attributeGroupCache.put(name, result);
-        }
-        return result;
-    }
-
-    public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName name)
-    {
-        SchemaIdentityConstraint.Ref result = (SchemaIdentityConstraint.Ref)_idConstraintCache.get(name);
-        if (result == null && !_idConstraintCache.containsKey(name))
-        {
-            for (int i = 0; i < _searchPath.length; i++)
-                if (null != (result = _searchPath[i].findIdentityConstraintRef(name)))
-                    break;
-            if (result == null)
-            {
-                SchemaTypeSystem ts = typeSystemForComponent("schema/identityconstraint/", name);
-                if (ts != null)
-                {
-                    result = ts.findIdentityConstraintRef(name);
-                    assert(result != null) : "Type system registered identity constraint " + QNameHelper.pretty(name) + " but does not return it";
-                }
-            }
-            _idConstraintCache.put(name, result);
-        }
-        return result;
-    }
-
-    public InputStream getSourceAsStream(String sourceName)
-    {
-        InputStream result = null;
-
-        if (!sourceName.startsWith("/"))
-            sourceName = "/" + sourceName;
-
-        if (_resourceLoader != null)
-            result = _resourceLoader.getResourceAsStream("schema/src" + sourceName);
-
-        if (result == null && _classLoader != null)
-            return _classLoader.getResourceAsStream("schema/src" + sourceName);
-
-        return result;
-    }
-
-    private static final SchemaTypeLoader[] EMPTY_SCHEMATYPELOADER_ARRAY = new SchemaTypeLoader[0];
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemCompiler.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemCompiler.java
deleted file mode 100644
index 5cb8af5..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemCompiler.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeSystem;
-
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.List;
-import java.util.Arrays;
-import java.net.URI;
-
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument.Config;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument;
-import org.apache.xmlbeans.impl.common.XmlErrorWatcher;
-import org.apache.xmlbeans.impl.config.SchemaConfig;
-
-import java.util.Collection;
-import java.io.File;
-
-public class SchemaTypeSystemCompiler
-{
-    public static class Parameters
-    {
-        private String name;
-        private Schema[] schemas;
-        private Config[] configs;
-        private File[] javaFiles;
-        private SchemaTypeLoader linkTo;
-        private XmlOptions options;
-        private Collection errorListener;
-        private boolean javaize;
-        private URI baseURI;
-        private Map sourcesToCopyMap;
-        private File schemasDir;
-        private File[] classpath;
-
-        public String getName()
-        {
-            return name;
-        }
-
-        public void setName(String name)
-        {
-            this.name = name;
-        }
-
-        public SchemaDocument.Schema[] getSchemas()
-        {
-            return schemas;
-        }
-
-        public void setSchemas(SchemaDocument.Schema[] schemas)
-        {
-            this.schemas = schemas;
-        }
-
-        public ConfigDocument.Config[] getConfigs()
-        {
-            return configs;
-        }
-
-        public void setConfigs(ConfigDocument.Config[] configs)
-        {
-            this.configs = configs;
-        }
-
-        public File[] getJavaFiles()
-        {
-            return javaFiles;
-        }
-
-        public void setJavaFiles(File[] javaFiles)
-        {
-            this.javaFiles = javaFiles;
-        }
-
-        public SchemaTypeLoader getLinkTo()
-        {
-            return linkTo;
-        }
-
-        public void setLinkTo(SchemaTypeLoader linkTo)
-        {
-            this.linkTo = linkTo;
-        }
-
-        public XmlOptions getOptions()
-        {
-            return options;
-        }
-
-        public void setOptions(XmlOptions options)
-        {
-            this.options = options;
-        }
-
-        public Collection getErrorListener()
-        {
-            return errorListener;
-        }
-
-        public void setErrorListener(Collection errorListener)
-        {
-            this.errorListener = errorListener;
-        }
-
-        public boolean isJavaize()
-        {
-            return javaize;
-        }
-
-        public void setJavaize(boolean javaize)
-        {
-            this.javaize = javaize;
-        }
-
-        public URI getBaseURI()
-        {
-            return baseURI;
-        }
-
-        public void setBaseURI(URI baseURI)
-        {
-            this.baseURI = baseURI;
-        }
-
-        public Map getSourcesToCopyMap()
-        {
-            return sourcesToCopyMap;
-        }
-
-        public void setSourcesToCopyMap(Map sourcesToCopyMap)
-        {
-            this.sourcesToCopyMap = sourcesToCopyMap;
-        }
-
-        public File getSchemasDir()
-        {
-            return schemasDir;
-        }
-
-        public void setSchemasDir(File schemasDir)
-        {
-            this.schemasDir = schemasDir;
-        }
-
-        public File[] getClasspath()
-        {
-            return classpath;
-        }
-
-        public void setClasspath(File[] classpath)
-        {
-            this.classpath = classpath;
-        }
-    }
-
-    public static SchemaTypeSystem compile(Parameters params)
-    {
-        return compileImpl(params.getName(), params.getSchemas(), params.getConfigs(),
-            params.getJavaFiles(), params.getLinkTo(), params.getOptions(),
-            params.getErrorListener(), params.isJavaize(), params.getBaseURI(),
-            params.getSourcesToCopyMap(), params.getSchemasDir(), params.getClasspath());
-    }
-    
-    /* package!!! */ static SchemaTypeSystemImpl compileImpl( String name, Schema[] schemas,
-         Config[] configs, File[] javaFiles, SchemaTypeLoader linkTo, XmlOptions options, Collection outsideErrors,
-         boolean javaize, URI baseURI, Map sourcesToCopyMap, File schemasDir, File[] classpath)
-    {
-        if (linkTo == null)
-            throw new IllegalArgumentException("Must supply linkTo");
-
-        XmlErrorWatcher errorWatcher = new XmlErrorWatcher(outsideErrors);
-
-        // construct the state
-        StscState state = StscState.start();
-        boolean validate = (options == null || !options.hasOption(XmlOptions.COMPILE_NO_VALIDATION));
-        try
-        {
-            state.setErrorListener(errorWatcher);
-            state.setSchemaConfig(SchemaConfig.forConfigDocuments(configs, javaFiles, classpath));
-            state.setOptions(options);
-            state.setGivenTypeSystemName(name);
-            state.setSchemasDir(schemasDir);
-            if (baseURI != null)
-                state.setBaseUri(baseURI);
-
-            // construct the classpath (you always get the builtin types)
-            linkTo = SchemaTypeLoaderImpl.build(new SchemaTypeLoader[] { BuiltinSchemaTypeSystem.get(), linkTo }, null, null);
-            state.setImportingTypeLoader(linkTo);
-
-            List validSchemas = new ArrayList(schemas.length);
-
-            // load all the xsd files into it
-            if (validate)
-            {
-                for (int i = 0; i < schemas.length; i++)
-                {
-                    if (schemas[i].validate(new XmlOptions().setErrorListener(errorWatcher)))
-                        validSchemas.add(schemas[i]);
-                }
-            }
-            else
-            {
-                validSchemas.addAll(Arrays.asList(schemas));
-            }
-
-            Schema[] startWith = (Schema[])validSchemas.toArray(new Schema[validSchemas.size()]);
-
-            // deal with imports and includes
-            StscImporter.SchemaToProcess[] schemasAndChameleons = StscImporter.resolveImportsAndIncludes(startWith);
-
-            // call the translator so that it may also perform magic
-            StscTranslator.addAllDefinitions(schemasAndChameleons);
-
-            // call the resolver to do its magic
-            StscResolver.resolveAll();
-            
-            // call the checker to check both restrictions and defaults
-            StscChecker.checkAll();
-
-            // call the javaizer to do its magic
-            StscJavaizer.javaizeAllTypes(javaize);
-
-            // construct the loader out of the state
-            state.get().sts().loadFromStscState(state);
-
-            // fill in the source-copy map
-            if (sourcesToCopyMap != null)
-                sourcesToCopyMap.putAll(state.sourceCopyMap());
-
-            // if any errors, return null
-            if (errorWatcher.hasError())
-                return null;
-
-            return state.get().sts();
-        }
-        finally
-        {
-            StscState.end();
-        }
-    }
-
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
deleted file mode 100644
index 6500ac1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
+++ /dev/null
@@ -1,3288 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.common.NameUtil;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XBeanDebug;
-import org.apache.xmlbeans.impl.common.XmlErrorWatcher;
-
-import java.io.InputStream;
-import java.io.DataInputStream;
-import java.io.DataOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.ByteArrayOutputStream;
-import java.util.*;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipEntry;
-import java.math.BigInteger;
-
-
-import org.apache.xmlbeans.impl.regex.RegularExpression;
-import org.apache.xmlbeans.impl.util.HexBin;
-import org.apache.xmlbeans.impl.values.XmlObjectBase;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.SchemaTypeLoaderException;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.soap.SchemaWSDLArrayType;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument.Config;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.w3.x2001.xmlSchema.GroupDocument;
-import org.w3.x2001.xmlSchema.AttributeGroupDocument;
-import org.w3.x2001.xmlSchema.AppinfoDocument;
-import org.w3.x2001.xmlSchema.DocumentationDocument;
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-
-public class SchemaTypeSystemImpl extends SchemaTypeLoaderBase implements SchemaTypeSystem
-{
-    public static final int DATA_BABE = 0xDA7ABABE;
-    public static final int MAJOR_VERSION = 2;  // must match == to be compatible
-    public static final int MINOR_VERSION = 19; // must be <= to be compatible
-    public static final int RELEASE_NUMBER = 0; // should be compatible even if < or >
-
-    public static final int FILETYPE_SCHEMAINDEX = 1;
-    public static final int FILETYPE_SCHEMATYPE = 2;
-    public static final int FILETYPE_SCHEMAELEMENT = 3;
-    public static final int FILETYPE_SCHEMAATTRIBUTE = 4;
-    public static final int FILETYPE_SCHEMAPOINTER = 5;
-    public static final int FILETYPE_SCHEMAMODELGROUP = 6;
-    public static final int FILETYPE_SCHEMAATTRIBUTEGROUP = 7;
-    public static final int FILETYPE_SCHEMAIDENTITYCONSTRAINT = 8;
-
-    public static final int FLAG_PART_SKIPPABLE = 1;
-    public static final int FLAG_PART_FIXED = 4;
-    public static final int FLAG_PART_NILLABLE = 8;
-    public static final int FLAG_PART_BLOCKEXT = 16;
-    public static final int FLAG_PART_BLOCKREST = 32;
-    public static final int FLAG_PART_BLOCKSUBST = 64;
-    public static final int FLAG_PART_ABSTRACT = 128;
-    public static final int FLAG_PART_FINALEXT = 256;
-    public static final int FLAG_PART_FINALREST = 512;
-
-    public static final int FLAG_PROP_ISATTR = 1;
-    public static final int FLAG_PROP_JAVASINGLETON = 2;
-    public static final int FLAG_PROP_JAVAOPTIONAL = 4;
-    public static final int FLAG_PROP_JAVAARRAY = 8;
-
-    public static final int FIELD_NONE = 0;
-    public static final int FIELD_GLOBAL = 1;
-    public static final int FIELD_LOCALATTR = 2;
-    public static final int FIELD_LOCALELT = 3;
-
-    // type flags
-    static final int FLAG_SIMPLE_TYPE     = 0x1;
-    static final int FLAG_DOCUMENT_TYPE   = 0x2;
-    static final int FLAG_ORDERED         = 0x4;
-    static final int FLAG_BOUNDED         = 0x8;
-    static final int FLAG_FINITE          = 0x10;
-    static final int FLAG_NUMERIC         = 0x20;
-    static final int FLAG_STRINGENUM      = 0x40;
-    static final int FLAG_UNION_OF_LISTS  = 0x80;
-    static final int FLAG_HAS_PATTERN     = 0x100;
-    static final int FLAG_ORDER_SENSITIVE = 0x200;
-    static final int FLAG_TOTAL_ORDER     = 0x400;
-    static final int FLAG_COMPILED        = 0x800;
-    static final int FLAG_BLOCK_EXT       = 0x1000;
-    static final int FLAG_BLOCK_REST      = 0x2000;
-    static final int FLAG_FINAL_EXT       = 0x4000;
-    static final int FLAG_FINAL_REST      = 0x8000;
-    static final int FLAG_FINAL_UNION     = 0x10000;
-    static final int FLAG_FINAL_LIST      = 0x20000;
-    static final int FLAG_ABSTRACT        = 0x40000;
-    static final int FLAG_ATTRIBUTE_TYPE  = 0x80000;
-
-
-    private static String nameToPathString(String nameForSystem)
-    {
-        nameForSystem = nameForSystem.replace('.', '/');
-
-        if (!nameForSystem.endsWith("/") && nameForSystem.length() > 0)
-            nameForSystem = nameForSystem + "/";
-
-        return nameForSystem;
-    }
-
-    public SchemaTypeSystemImpl(Class indexclass)
-    {
-        String fullname = indexclass.getName();
-        _name = fullname.substring(0, fullname.lastIndexOf('.'));
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Loading type system " + _name, 1);
-        _basePackage = nameToPathString(_name);
-        _classloader = indexclass.getClassLoader();
-        _linker = SchemaTypeLoaderImpl.build(null, null, _classloader);
-        _resourceLoader = new ClassLoaderResourceLoader(_classloader);
-        initFromHeader();
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Finished loading type system " + _name, -1);
-    }
-
-    private static final Schema[] EMPTY_SCHEMA_ARRAY = new Schema[0];
-    private static final Config[] EMPTY_CONFIG_ARRAY = new Config[0];
-
-    public static SchemaTypeSystemImpl forSchemaXml(
-        XmlObject[] input, SchemaTypeLoader linkTo, XmlOptions options)
-            throws XmlException
-    {
-        options = XmlOptions.maskNull(options);
-        ArrayList schemas = new ArrayList();
-        ArrayList configs = new ArrayList();
-
-        for (int i = 0; i < input.length; i++)
-        {
-            if (input[i] instanceof Schema)
-                schemas.add(input[i]);
-            else if (input[i] instanceof SchemaDocument && ((SchemaDocument)input[i]).getSchema() != null)
-                schemas.add(((SchemaDocument)input[i]).getSchema());
-            else if (input[i] instanceof Config)
-                configs.add(input[i]);
-            else if (input[i] instanceof ConfigDocument && ((ConfigDocument)input[i]).getConfig() != null)
-                configs.add(((ConfigDocument)input[i]).getConfig());
-            else
-                throw new XmlException("Thread " + Thread.currentThread().getName() +  ": The " + i + "th supplied input is not a schema or a config document: its type is " + input[i].schemaType());
-        }
-
-
-
-        Collection userErrors = (Collection)options.get(XmlOptions.ERROR_LISTENER);
-        XmlErrorWatcher errorWatcher = new XmlErrorWatcher(userErrors);
-
-        SchemaTypeSystemImpl stsi =
-            SchemaTypeSystemCompiler.compileImpl(
-                null, (Schema[])schemas.toArray(EMPTY_SCHEMA_ARRAY),
-                (Config[])configs.toArray(EMPTY_CONFIG_ARRAY), null, 
-                linkTo, options, errorWatcher, false, null, null, null, null);
-
-        if (errorWatcher.hasError())
-        {
-            throw new XmlException(errorWatcher.firstError());
-        }
-
-        return stsi;
-    }
-
-    public static boolean fileContainsTypeSystem(File file, String name)
-    {
-        String indexname = nameToPathString(name) + "index.xsb";
-
-        if (file.isDirectory())
-        {
-            return (new File(file, indexname)).isFile();
-        }
-        else
-        {
-            ZipFile zipfile = null;
-            try
-            {
-                zipfile = new ZipFile(file);
-                ZipEntry entry = zipfile.getEntry(indexname);
-                return (entry != null && !entry.isDirectory());
-            }
-            catch (IOException e)
-            {
-                XBeanDebug.log("Problem loading SchemaTypeSystem, zipfilename " + file);
-                XBeanDebug.logException(e);
-                throw new SchemaTypeLoaderException(e.getMessage(), name, "index", SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-            finally
-            {
-                if (zipfile != null)
-                    try { zipfile.close(); } catch (IOException e) {}
-            }
-        }
-    }
-
-    public static SchemaTypeSystemImpl forName(String name, ClassLoader loader)
-    {
-        try
-        {
-            Class c = Class.forName(name + "." + SchemaTypeCodePrinter.INDEX_CLASSNAME, true, loader);
-            return (SchemaTypeSystemImpl)c.getField("typeSystem").get(null);
-        }
-        catch (Exception e)
-        {
-            return null;
-        }
-    }
-
-    public SchemaTypeSystemImpl(ResourceLoader resourceLoader, String name, SchemaTypeLoader linker)
-    {
-        _name = name;
-        _basePackage = nameToPathString(_name);
-        _linker = linker;
-        _resourceLoader = resourceLoader;
-        try
-        {
-            initFromHeader();
-        }
-        catch (RuntimeException e)
-        {
-            XBeanDebug.logException(e);
-            throw e;
-        }
-        catch (Error e)
-        {
-            XBeanDebug.logException(e);
-            throw e;
-        }
-    }
-
-    private void initFromHeader()
-    {
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Reading unresolved handles for type system " + _name, 0);
-        XsbReader reader = null;
-        try
-        {
-            // Read the index file, which starts with a header.
-            reader = new XsbReader("index", FILETYPE_SCHEMAINDEX);
-
-            // has a handle pool (count, handle/type, handle/type...)
-            _localHandles = new HandlePool();
-            reader.readHandlePool(_localHandles);
-
-            // then a qname map of global elements (count, qname/handle, qname/handle...)
-            _globalElements = reader.readQNameRefMap();
-
-            // qname map of global attributes
-            _globalAttributes = reader.readQNameRefMap();
-
-            // qname map of model groups
-            _modelGroups = reader.readQNameRefMap();
-
-            // qname map of attribute groups
-            _attributeGroups = reader.readQNameRefMap();
-
-            _identityConstraints = reader.readQNameRefMap();
-
-            // qname map of global types
-            _globalTypes = reader.readQNameRefMap();
-
-            // qname map of document types, by the qname of the contained element
-            _documentTypes = reader.readQNameRefMap();
-
-            // qname mape of attribute types, by the qname of the contained attribute
-            _attributeTypes = reader.readQNameRefMap();
-
-            // string map of all types, by fully qualified classname
-            _typeRefsByClassname = reader.readClassnameRefMap();
-
-            _namespaces = reader.readNamespaces();
-
-            // support for redefine, at the end of the file
-            if (reader.atLeast(2, 15, 0))
-            {
-                _redefinedGlobalTypes = reader.readQNameRefMapAsList();
-                _redefinedModelGroups = reader.readQNameRefMapAsList();
-                _redefinedAttributeGroups = reader.readQNameRefMapAsList();
-            }
-            if (reader.atLeast(2, 19, 0))
-            {
-                _annotations = reader.readAnnotations();
-            }
-        }
-        finally
-        {
-            if (reader != null)
-                reader.readEnd();
-        }
-    }
-
-    void saveIndex()
-    {
-        String handle = "index";
-        XsbReader saver = new XsbReader(handle);
-        saver.writeIndexData();
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAINDEX);
-        saver.writeIndexData();
-        saver.writeEnd();
-    }
-
-    void savePointers()
-    {
-        savePointersForComponents(globalElements(), "schema/element/");
-        savePointersForComponents(globalAttributes(), "schema/attribute/");
-        savePointersForComponents(modelGroups(), "schema/modelgroup/");
-        savePointersForComponents(attributeGroups(), "schema/attributegroup/");
-        savePointersForComponents(globalTypes(), "schema/type/");
-        savePointersForComponents(identityConstraints(), "schema/identityconstraint/");
-        savePointersForNamespaces(_namespaces, "schema/namespace/");
-        savePointersForClassnames(_typeRefsByClassname.keySet(), "schema/javaname/");
-        savePointersForComponents(redefinedModelGroups(), "schema/redefinedmodelgroup/");
-        savePointersForComponents(redefinedAttributeGroups(), "schema/redefinedattributegroup/");
-        savePointersForComponents(redefinedGlobalTypes(), "schema/redefinedtype/");
-    }
-
-    void savePointersForComponents(SchemaComponent[] components, String dir)
-    {
-        for (int i = 0; i < components.length; i++)
-        {
-            savePointerFile(dir + QNameHelper.hexsafedir(components[i].getName()), _name);
-        }
-    }
-
-    void savePointersForClassnames(Set classnames, String dir)
-    {
-        for (Iterator i = classnames.iterator(); i.hasNext(); )
-        {
-            String classname = (String)i.next();
-            savePointerFile(dir + classname.replace('.', '/'), _name);
-        }
-    }
-
-    void savePointersForNamespaces(Set namespaces, String dir)
-    {
-        for (Iterator i = namespaces.iterator(); i.hasNext(); )
-        {
-            String ns = (String)i.next();
-            savePointerFile(dir + QNameHelper.hexsafedir(new QName(ns, "xmlns")), _name);
-        }
-    }
-
-    void savePointerFile(String filename, String name)
-    {
-        XsbReader saver = new XsbReader(filename);
-        saver.writeString(name);
-        saver.writeRealHeader(filename, FILETYPE_SCHEMAPOINTER);
-        saver.writeString(name);
-        saver.writeEnd();
-    }
-
-    /**
-     * Only used in the nonbootstrapped case.
-     */
-    private Map buildTypeRefsByClassname()
-    {
-        List allSeenTypes = new ArrayList();
-        Map result = new LinkedHashMap();
-        allSeenTypes.addAll(Arrays.asList(documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(globalTypes()));
-
-        // now fully javaize everything deeply.
-        for (int i = 0; i < allSeenTypes.size(); i++)
-        {
-            SchemaType gType = (SchemaType)allSeenTypes.get(i);
-            String className = gType.getFullJavaName();
-            if (className != null)
-            {
-                result.put(className.replace('$', '.'), gType.getRef());
-            }
-            allSeenTypes.addAll(Arrays.asList(gType.getAnonymousTypes()));
-        }
-        return result;
-    }
-
-    private Map buildTypeRefsByClassname(Map typesByClassname)
-    {
-        Map result = new LinkedHashMap();
-        for (Iterator i = typesByClassname.keySet().iterator(); i.hasNext(); )
-        {
-            String className = (String)i.next();
-            result.put(className, ((SchemaType)typesByClassname.get(className)).getRef());
-        }
-        return result;
-    }
-
-    private static Map buildComponentRefMap(SchemaComponent[] components)
-    {
-        Map result = new LinkedHashMap();
-        for (int i = 0; i < components.length; i++)
-            result.put(components[i].getName(), components[i].getComponentRef());
-        return result;
-    }
-
-    private static List buildComponentRefList(SchemaComponent[] components)
-    {
-        List result = new ArrayList();
-        for (int i = 0; i < components.length; i++)
-            result.add(components[i].getComponentRef());
-        return result;
-    }
-
-    private static Map buildDocumentMap(SchemaType[] types)
-    {
-        Map result = new LinkedHashMap();
-        for (int i = 0; i < types.length; i++)
-            result.put(types[i].getDocumentElementName(), types[i].getRef());
-        return result;
-    }
-
-    private static Map buildAttributeTypeMap(SchemaType[] types)
-    {
-        Map result = new LinkedHashMap();
-        for (int i = 0; i < types.length; i++)
-            result.put(types[i].getAttributeTypeAttributeName(), types[i].getRef());
-        return result;
-    }
-
-    private static Random _random;
-    private static byte[] _mask = new byte[128 / 8];
-
-    /**
-     * Fun, fun.  Produce 128 bits of uniqueness randomly.
-     * We used to use SecureRandom, but now we don't because SecureRandom
-     * hits the filesystem and hangs us on a filesystem lock.  It also eats
-     * a thread and other expensive resources.. :-).
-     *
-     * We don't really care that non-secure Random() can only do 48 bits of
-     * randomness, since we're certainly not going to be called more than 2^48
-     * times within our process lifetime.
-     *
-     * Our real concern is that by seeding Random() with the current
-     * time, two users will end up with the same bits if they start a
-     * schema compilation within the same millisecond.  That makes the
-     * probability of collision in the real world slightly too high.
-     * We're going to have millions of users, remember?  With a million
-     * users, and one-compilation-per-day each, we'd see a collision every
-     * few months.
-     *
-     * So we'll just xor the results of random with our few extra
-     * bits of information computed below to help reduce the probability
-     * of collision by a few decimal places.  To collide, you will have had
-     * to have the same amount of free memory, the same user name, timezone,
-     * and country, the same current directory, the same java classpath,
-     * the same operating system and jvm version, and the same choices of
-     * identity hashcodes for a few objects. And be started within the same
-     * millisecond. Or you can collide if you have a cosmic 128-bit mathematical
-     * coincidence. No worries.
-     */
-    private static synchronized void nextBytes(byte[] result)
-    {
-        if (_random == null)
-        {
-            try
-            {
-                ByteArrayOutputStream baos = new ByteArrayOutputStream();
-                DataOutputStream daos = new DataOutputStream(baos);
-
-                // at least 10 bits of unqieueness, right?  Maybe even 50 or 60.
-                daos.writeInt(System.identityHashCode(SchemaTypeSystemImpl.class));
-                String[] props = new String[] { "user.name", "user.dir", "user.timezone", "user.country", "java.class.path", "java.home", "java.vendor", "java.version", "os.version" };
-                for (int i = 0; i < props.length; i++)
-                {
-                    String prop = System.getProperty(props[i]);
-                    if (prop != null)
-                    {
-                        daos.writeUTF(prop);
-                        daos.writeInt(System.identityHashCode(prop));
-                    }
-                }
-                daos.writeLong(Runtime.getRuntime().freeMemory());
-                daos.close();
-                byte[] bytes = baos.toByteArray();
-                for (int i = 0; i < bytes.length; i++)
-                {
-                    int j = i % _mask.length;
-                    _mask[j] *= 21;
-                    _mask[j] += i;
-                }
-            }
-            catch (IOException e)
-            {
-                XBeanDebug.logException(e);
-            }
-
-            _random = new Random(System.currentTimeMillis());
-        }
-        _random.nextBytes(result);
-        for (int i = 0; i < result.length; i++)
-        {
-            int j = i & _mask.length;
-            result[i] ^= _mask[j];
-        }
-    }
-
-    public SchemaTypeSystemImpl(String nameForSystem)
-    {
-        // if we have no name, select a random one
-        if (nameForSystem == null)
-        {
-            // get 128 random bits (that'll be 32 hex digits)
-            byte[] bytes = new byte[128/8];
-            nextBytes(bytes);
-            nameForSystem = "s" + new String(HexBin.encode(bytes));
-        }
-
-        _name = "schema.system." + nameForSystem;
-        _basePackage = nameToPathString(_name);
-        _classloader = null;
-
-    }
-
-    public void loadFromBuilder(SchemaGlobalElement[] globalElements,
-                                SchemaGlobalAttribute[] globalAttributes,
-                                SchemaType[] globalTypes,
-                                SchemaType[] documentTypes,
-                                SchemaType[] attributeTypes)
-    {
-        assert(_classloader == null);
-        _localHandles = new HandlePool();
-        _globalElements = buildComponentRefMap(globalElements);
-        _globalAttributes = buildComponentRefMap(globalAttributes);
-        _globalTypes = buildComponentRefMap(globalTypes);
-        _documentTypes = buildDocumentMap(documentTypes);
-        _attributeTypes = buildDocumentMap(attributeTypes);
-        _typeRefsByClassname = buildTypeRefsByClassname();
-        _namespaces = new HashSet();
-    }
-
-    public void loadFromStscState(StscState state)
-    {
-        assert(_classloader == null);
-        _localHandles = new HandlePool();
-        _globalElements = buildComponentRefMap(state.globalElements());
-        _globalAttributes = buildComponentRefMap(state.globalAttributes());
-        _modelGroups = buildComponentRefMap(state.modelGroups());
-        _redefinedModelGroups = buildComponentRefList(state.redefinedModelGroups());
-        _attributeGroups = buildComponentRefMap(state.attributeGroups());
-        _redefinedAttributeGroups = buildComponentRefList(state.redefinedAttributeGroups());
-        _globalTypes = buildComponentRefMap(state.globalTypes());
-        _redefinedGlobalTypes = buildComponentRefList(state.redefinedGlobalTypes());
-        _documentTypes = buildDocumentMap(state.documentTypes());
-        _attributeTypes = buildAttributeTypeMap(state.attributeTypes());
-        _typeRefsByClassname = buildTypeRefsByClassname(state.typesByClassname());
-        _identityConstraints = buildComponentRefMap(state.idConstraints());
-        _annotations = state.annotations();
-        _namespaces = new HashSet(Arrays.asList(state.getNamespaces()));
-    }
-
-    final SchemaTypeSystemImpl getTypeSystem()
-    {
-        return this;
-    }
-
-    static class StringPool
-    {
-        private List intsToStrings = new ArrayList();
-        private Map stringsToInts = new HashMap();
-        private String _handle;
-        private String _name;
-
-        /**
-         * Constructs an empty StringPool to be filled with strings.
-         */
-        StringPool(String handle, String name)
-        {
-            _handle = handle;
-            _name = name;
-            intsToStrings.add(null);
-        }
-
-        int codeForString(String str)
-        {
-            if (str == null)
-                return 0;
-            Integer result = (Integer)stringsToInts.get(str);
-            if (result == null)
-            {
-                result = new Integer(intsToStrings.size());
-                intsToStrings.add(str);
-                stringsToInts.put(str, result);
-            }
-            return result.intValue();
-        }
-
-        String stringForCode(int code)
-        {
-            if (code == 0)
-                return null;
-            return (String)intsToStrings.get(code);
-        }
-
-        void writeTo(DataOutputStream output)
-        {
-            if (intsToStrings.size() > Short.MAX_VALUE)
-                throw new SchemaTypeLoaderException("Too many strings (" + intsToStrings.size() + ")", _name, _handle, SchemaTypeLoaderException.INT_TOO_LARGE);
-
-            try
-            {
-                output.writeShort(intsToStrings.size());
-                Iterator i = intsToStrings.iterator();
-                for (i.next(); i.hasNext(); )
-                {
-                    String str = (String)i.next();
-                    output.writeUTF(str);
-                }
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        void readFrom(DataInputStream input)
-        {
-            if (intsToStrings.size() != 1 || stringsToInts.size() != 0)
-                throw new IllegalStateException();
-
-            try
-            {
-                int size = input.readShort();
-                for (int i = 1; i < size; i++)
-                {
-                    String str = input.readUTF().intern();
-                    int code = codeForString(str);
-                    if (code != i)
-                        throw new IllegalStateException();
-                }
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage() == null ? e.getMessage() : "IO Exception", _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION, e);
-            }
-        }
-    }
-
-    class HandlePool
-    {
-        private Map _handlesToRefs = new LinkedHashMap();
-        private Map _componentsToHandles = new LinkedHashMap(); // populated on write
-        private boolean _started;
-
-        /**
-         * Constructs an empty HandlePool to be populated.
-         */
-        HandlePool()
-        {
-        }
-
-        private String addUniqueHandle(SchemaComponent obj, String base)
-        {
-            base = base.toLowerCase();  // we lowercase handles because of case-insensitive Windows filenames!!!
-            String handle = base;
-            for (int index = 2; _handlesToRefs.containsKey(handle); index++)
-            {
-                handle = base + index;
-            }
-            _handlesToRefs.put(handle, obj.getComponentRef());
-            _componentsToHandles.put(obj, handle);
-            return handle;
-        }
-
-        String handleForComponent(SchemaComponent comp)
-        {
-            if (comp == null)
-                return null;
-            if (comp.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            if (comp instanceof SchemaType)
-                return handleForType((SchemaType)comp);
-            if (comp instanceof SchemaGlobalElement)
-                return handleForElement((SchemaGlobalElement)comp);
-            if (comp instanceof SchemaGlobalAttribute)
-                return handleForAttribute((SchemaGlobalAttribute)comp);
-            if (comp instanceof SchemaModelGroup)
-                return handleForModelGroup((SchemaModelGroup)comp);
-            if (comp instanceof SchemaAttributeGroup)
-                return handleForAttributeGroup((SchemaAttributeGroup)comp);
-            if (comp instanceof SchemaIdentityConstraint)
-                return handleForIdentityConstraint((SchemaIdentityConstraint)comp);
-            throw new IllegalStateException("Component type cannot have a handle");
-        }
-
-        String handleForElement(SchemaGlobalElement element)
-        {
-            if (element == null)
-                return null;
-            if (element.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(element);
-            if (handle == null)
-                handle = addUniqueHandle(element, NameUtil.upperCamelCase(element.getName().getLocalPart()) + "Element");
-            return handle;
-        }
-
-        String handleForAttribute(SchemaGlobalAttribute attribute)
-        {
-            if (attribute == null)
-                return null;
-            if (attribute.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(attribute);
-            if (handle == null)
-                handle = addUniqueHandle(attribute, NameUtil.upperCamelCase(attribute.getName().getLocalPart()) + "Attribute");
-            return handle;
-        }
-
-        String handleForModelGroup(SchemaModelGroup group)
-        {
-            if (group == null)
-                return null;
-            if (group.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(group);
-            if (handle == null)
-                handle = addUniqueHandle(group, NameUtil.upperCamelCase(group.getName().getLocalPart()) + "ModelGroup");
-            return handle;
-        }
-
-        String handleForAttributeGroup(SchemaAttributeGroup group)
-        {
-            if (group == null)
-                return null;
-            if (group.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(group);
-            if (handle == null)
-                handle = addUniqueHandle(group, NameUtil.upperCamelCase(group.getName().getLocalPart()) + "AttributeGroup");
-            return handle;
-        }
-
-        String handleForIdentityConstraint(SchemaIdentityConstraint idc)
-        {
-            if (idc == null)
-                return null;
-            if (idc.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(idc);
-            if (handle == null)
-                handle = addUniqueHandle(idc, NameUtil.upperCamelCase(idc.getName().getLocalPart()) + "IdentityConstraint");
-            return handle;
-        }
-
-        String handleForType(SchemaType type)
-        {
-            if (type == null)
-                return null;
-            if (type.getTypeSystem() != getTypeSystem())
-                throw new IllegalArgumentException("Cannot supply handles for types from another type system");
-            String handle = (String)_componentsToHandles.get(type);
-            if (handle == null)
-            {
-                QName name = type.getName();
-                String suffix = "";
-                if (name == null)
-                {
-                    if (type.isDocumentType())
-                    {
-                        name = type.getDocumentElementName();
-                        suffix = "Doc";
-                    }
-                    else if (type.isAttributeType())
-                    {
-                        name = type.getAttributeTypeAttributeName();
-                        suffix = "AttrType";
-                    }
-                    else if (type.getContainerField() != null)
-                    {
-                        name = type.getContainerField().getName();
-                        suffix = type.getContainerField().isAttribute() ? "Attr" : "Elem";
-                    }
-                }
-
-                String baseName;
-                String uniq = Integer.toHexString(type.toString().hashCode() | 0x80000000).substring(4).toUpperCase();
-                if (name == null)
-                    baseName = "Anon" + uniq + "Type";
-                else
-                    baseName = NameUtil.upperCamelCase(name.getLocalPart()) + uniq + suffix + "Type";
-
-                handle = addUniqueHandle(type, baseName);
-            }
-
-            return handle;
-        }
-
-        SchemaComponent.Ref refForHandle(String handle)
-        {
-            if (handle == null)
-                return null;
-
-            return (SchemaComponent.Ref)_handlesToRefs.get(handle);
-        }
-
-        Set getAllHandles()
-        {
-            return _handlesToRefs.keySet();
-        }
-
-        void startWriteMode()
-        {
-            _started = true;
-            _componentsToHandles = new LinkedHashMap();
-            for (Iterator i = _handlesToRefs.keySet().iterator(); i.hasNext(); )
-            {
-                String handle = (String)i.next();
-//                System.err.println("Writing preexisting handle " + handle);
-                SchemaComponent comp = ((SchemaComponent.Ref)_handlesToRefs.get(handle)).getComponent();
-                _componentsToHandles.put(comp, handle);
-            }
-        }
-
-    }
-
-    private String _name;
-    private String _basePackage;
-
-    // classloader is available for sts's that were compiled and loaded, not dynamic ones
-    private ClassLoader _classloader;
-
-    // the loader for loading .xsb resources
-    private ResourceLoader _resourceLoader;
-
-    // the following is used to link references during load
-    SchemaTypeLoader _linker;
-
-    private HandlePool _localHandles;
-    private File _baseSaveDir;
-
-    // top-level annotations
-    private List _annotations;
-
-    // actual type system data, map QNames -> SchemaComponent.Ref
-    private List _redefinedModelGroups;
-    private List _redefinedAttributeGroups;
-    private List _redefinedGlobalTypes;
-
-    private Map _globalElements;
-    private Map _globalAttributes;
-    private Map _modelGroups;
-    private Map _attributeGroups;
-    private Map _globalTypes;
-    private Map _documentTypes;
-    private Map _attributeTypes;
-    private Map _identityConstraints = Collections.EMPTY_MAP;
-    private Map _typeRefsByClassname = new HashMap();
-    private Set _namespaces;
-
-    static private final SchemaType[] EMPTY_ST_ARRAY = new SchemaType[0];
-    static private final SchemaGlobalElement[] EMPTY_GE_ARRAY = new SchemaGlobalElement[0];
-    static private final SchemaGlobalAttribute[] EMPTY_GA_ARRAY = new SchemaGlobalAttribute[0];
-    static private final SchemaModelGroup[] EMPTY_MG_ARRAY = new SchemaModelGroup[0];
-    static private final SchemaAttributeGroup[] EMPTY_AG_ARRAY = new SchemaAttributeGroup[0];
-    static private final SchemaIdentityConstraint[] EMPTY_IC_ARRAY = new SchemaIdentityConstraint[0];
-    static private final SchemaAnnotation[] EMPTY_ANN_ARRAY = new SchemaAnnotation[0];
-
-    public void saveToDirectory(File classDir)
-    {
-        _baseSaveDir = classDir;
-
-        _localHandles.startWriteMode();
-        saveTypesRecursively(globalTypes());
-        saveTypesRecursively(documentTypes());
-        saveTypesRecursively(attributeTypes());
-        saveGlobalElements(globalElements());
-        saveGlobalAttributes(globalAttributes());
-        saveModelGroups(modelGroups());
-        saveAttributeGroups(attributeGroups());
-        saveIdentityConstraints(identityConstraints());
-
-        saveTypesRecursively(redefinedGlobalTypes());
-        saveModelGroups(redefinedModelGroups());
-        saveAttributeGroups(redefinedAttributeGroups());
-
-        saveIndex();
-        savePointers();
-    }
-
-    void saveTypesRecursively(SchemaType[] types)
-    {
-        for (int i = 0; i < types.length; i++)
-        {
-            if (types[i].getTypeSystem() != getTypeSystem())
-                continue;
-            saveType(types[i]);
-            saveTypesRecursively(types[i].getAnonymousTypes());
-        }
-    }
-
-    public void saveGlobalElements(SchemaGlobalElement[] elts)
-    {
-        for (int i = 0; i < elts.length; i++)
-        {
-            saveGlobalElement(elts[i]);
-        }
-    }
-
-    public void saveGlobalAttributes(SchemaGlobalAttribute[] attrs)
-    {
-        for (int i = 0; i < attrs.length; i++)
-        {
-            saveGlobalAttribute(attrs[i]);
-        }
-    }
-
-    public void saveModelGroups(SchemaModelGroup[] groups)
-    {
-        for (int i = 0; i < groups.length; i++)
-        {
-            saveModelGroup(groups[i]);
-        }
-    }
-
-    public void saveAttributeGroups(SchemaAttributeGroup[] groups)
-    {
-        for (int i = 0; i < groups.length; i++)
-        {
-            saveAttributeGroup(groups[i]);
-        }
-    }
-
-    public void saveIdentityConstraints(SchemaIdentityConstraint[] idcs)
-    {
-        for (int i = 0; i < idcs.length; i++)
-        {
-            saveIdentityConstraint(idcs[i]);
-        }
-    }
-
-    public void saveGlobalElement(SchemaGlobalElement elt)
-    {
-        String handle = _localHandles.handleForElement(elt);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeParticleData((SchemaParticle)elt);
-        saver.writeString(elt.getSourceName());
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAELEMENT);
-        saver.writeParticleData((SchemaParticle)elt);
-        saver.writeString(elt.getSourceName());
-        saver.writeEnd();
-    }
-
-    public void saveGlobalAttribute(SchemaGlobalAttribute attr)
-    {
-        String handle = _localHandles.handleForAttribute(attr);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeAttributeData(attr);
-        saver.writeString(attr.getSourceName());
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAATTRIBUTE);
-        saver.writeAttributeData(attr);
-        saver.writeString(attr.getSourceName());
-        saver.writeEnd();
-    }
-
-    public void saveModelGroup(SchemaModelGroup grp)
-    {
-        String handle = _localHandles.handleForModelGroup(grp);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeModelGroupData(grp);
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAMODELGROUP);
-        saver.writeModelGroupData(grp);
-        saver.writeEnd();
-    }
-
-    public void saveAttributeGroup(SchemaAttributeGroup grp)
-    {
-        String handle = _localHandles.handleForAttributeGroup(grp);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeAttributeGroupData(grp);
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAATTRIBUTEGROUP);
-        saver.writeAttributeGroupData(grp);
-        saver.writeEnd();
-    }
-
-    public void saveIdentityConstraint(SchemaIdentityConstraint idc)
-    {
-        String handle = _localHandles.handleForIdentityConstraint(idc);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeIdConstraintData(idc);
-        saver.writeRealHeader(handle, FILETYPE_SCHEMAIDENTITYCONSTRAINT);
-        saver.writeIdConstraintData(idc);
-        saver.writeEnd();
-    }
-
-    void saveType(SchemaType type)
-    {
-        String handle = _localHandles.handleForType(type);
-        XsbReader saver = new XsbReader(handle);
-        saver.writeTypeData(type);
-        saver.writeRealHeader(handle, FILETYPE_SCHEMATYPE);
-        saver.writeTypeData(type);
-        saver.writeEnd();
-    }
-
-    public static String crackPointer(InputStream stream)
-    {
-        DataInputStream input = null;
-        try
-        {
-            input = new DataInputStream(stream);
-
-            int magic = input.readInt();
-            if (magic != DATA_BABE)
-                return null;
-
-            int majorver = input.readShort();
-            int minorver = input.readShort();
-
-            if (majorver != MAJOR_VERSION)
-                return null;
-
-            if (minorver > MINOR_VERSION)
-                return null;
-
-            if (majorver > 2 || majorver == 2 && minorver >= 18)
-                input.readShort(); // release number present in atLeast(2, 18, 0)
-
-            int actualfiletype = input.readShort();
-            if (actualfiletype != FILETYPE_SCHEMAPOINTER)
-                return null;
-
-            StringPool stringPool = new StringPool("pointer", "unk");
-            stringPool.readFrom(input);
-
-            return stringPool.stringForCode(input.readShort());
-        }
-        catch (IOException e)
-        {
-            return null;
-        }
-        finally
-        {
-            if (input != null)
-                try { input.close(); } catch (IOException e) {}
-        }
-    }
-
-    private class XsbReader
-    {
-        DataInputStream _input;
-        DataOutputStream _output;
-        StringPool _stringPool;
-        String _handle;
-        private int _majorver;
-        private int _minorver;
-        private int _releaseno;
-        int _actualfiletype;
-
-        public XsbReader(String handle, int filetype)
-        {
-            String resourcename = _basePackage + handle + ".xsb";
-            InputStream rawinput = getLoaderStream(resourcename);
-            if (rawinput == null)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: Could not locate compiled schema resource " + resourcename, _name, handle, SchemaTypeLoaderException.NO_RESOURCE);
-
-            _input = new DataInputStream(rawinput);
-            _handle = handle;
-
-            int magic = readInt();
-            if (magic != DATA_BABE)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: Wrong magic cookie", _name, handle, SchemaTypeLoaderException.WRONG_MAGIC_COOKIE);
-
-            _majorver = readShort();
-            _minorver = readShort();
-
-            if (_majorver != MAJOR_VERSION)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: Wrong major version - expecting " + MAJOR_VERSION + ", got " + _majorver, _name, handle, SchemaTypeLoaderException.WRONG_MAJOR_VERSION);
-
-            if (_minorver > MINOR_VERSION)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: Incompatible minor version - expecting up to " + MINOR_VERSION + ", got " + _minorver, _name, handle, SchemaTypeLoaderException.WRONG_MINOR_VERSION);
-
-            // Clip to 14 because we're not backward compatible with earlier
-            // minor versions.  Remove this when upgrading to a new major
-            // version
-
-            if (_minorver < 14)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: Incompatible minor version - expecting at least 14, got " + _minorver, _name, handle, SchemaTypeLoaderException.WRONG_MINOR_VERSION);
-
-            if (atLeast(2, 18, 0))
-                _releaseno = readShort();
-
-            int actualfiletype = readShort();
-            if (actualfiletype != filetype && filetype != -1)
-                throw new SchemaTypeLoaderException("XML-BEANS compiled schema: File has the wrong type - expecting type " + filetype + ", got type " + actualfiletype, _name, handle, SchemaTypeLoaderException.WRONG_FILE_TYPE);
-
-            _stringPool = new StringPool(_handle, _name);
-            _stringPool.readFrom(_input);
-
-            _actualfiletype = actualfiletype;
-        }
-
-        protected boolean atLeast(int majorver, int minorver, int releaseno)
-        {
-            if (_majorver > majorver)
-                return true;
-            if (_majorver < majorver)
-                return false;
-            if (_minorver > minorver)
-                return true;
-            if (_minorver < minorver)
-                return false;
-            return (_releaseno >= releaseno);
-        }
-
-        protected boolean atMost(int majorver, int minorver, int releaseno)
-        {
-            if (_majorver > majorver)
-                return false;
-            if (_majorver < majorver)
-                return true;
-            if (_minorver > minorver)
-                return false;
-            if (_minorver < minorver)
-                return true;
-            return (_releaseno <= releaseno);
-        }
-
-        int getActualFiletype()
-        {
-            return _actualfiletype;
-        }
-
-        XsbReader(String handle)
-        {
-            _handle = handle;
-            _stringPool = new StringPool(_handle, _name);
-        }
-
-        void writeRealHeader(String handle, int filetype)
-        {
-            // hackeroo: if handle contains a "/" it's not relative.
-            String resourcename;
-
-            if (handle.indexOf('/') >= 0)
-                resourcename = handle + ".xsb";
-            else
-                resourcename = _basePackage + handle + ".xsb";
-
-            OutputStream rawoutput = getSaverStream(resourcename);
-            if (rawoutput == null)
-                throw new SchemaTypeLoaderException("Could not write compiled schema resource " + resourcename, _name, handle, SchemaTypeLoaderException.NOT_WRITEABLE);
-
-            _output = new DataOutputStream(rawoutput);
-            _handle = handle;
-
-            writeInt(DATA_BABE);
-            writeShort(MAJOR_VERSION);
-            writeShort(MINOR_VERSION);
-            writeShort(RELEASE_NUMBER);
-            writeShort(filetype);
-
-            _stringPool.writeTo(_output);
-        }
-
-        void readEnd()
-        {
-            try
-            {
-                if (_input != null)
-                    _input.close();
-            }
-            catch (IOException e)
-            {
-                // oh, well.
-            }
-            _input = null;
-            _stringPool = null;
-            _handle = null;
-        }
-
-        void writeEnd()
-        {
-            try
-            {
-                if (_output != null)
-                {
-                    _output.flush();
-                    _output.close();
-                }
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-            _output = null;
-            _stringPool = null;
-            _handle = null;
-        }
-
-        int fileTypeFromComponentType(int componentType)
-        {
-            switch (componentType)
-            {
-                case SchemaComponent.TYPE:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMATYPE;
-                case SchemaComponent.ELEMENT:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMAELEMENT;
-                case SchemaComponent.ATTRIBUTE:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMAATTRIBUTE;
-                case SchemaComponent.MODEL_GROUP:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMAMODELGROUP;
-                case SchemaComponent.ATTRIBUTE_GROUP:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMAATTRIBUTEGROUP;
-                case SchemaComponent.IDENTITY_CONSTRAINT:
-                    return SchemaTypeSystemImpl.FILETYPE_SCHEMAIDENTITYCONSTRAINT;
-                default:
-                    throw new IllegalStateException("Unexpected component type");
-            }
-        }
-
-        void writeIndexData()
-        {
-            // has a handle pool (count, handle/type, handle/type...)
-            writeHandlePool(_localHandles);
-
-            // then a qname map of global elements (count, qname/handle, qname/handle...)
-            writeQNameMap(globalElements());
-
-            // qname map of global attributes
-            writeQNameMap(globalAttributes());
-
-            // qname map of model groups
-            writeQNameMap(modelGroups());
-
-            // qname map of attribute groups
-            writeQNameMap(attributeGroups());
-
-            // qname map of identity constraints
-            writeQNameMap(identityConstraints());
-
-            // qname map of global types
-            writeQNameMap(globalTypes());
-
-            // qname map of document types, by the qname of the contained element
-            writeDocumentTypeMap(documentTypes());
-
-            // qname map of attribute types, by the qname of the contained attribute
-            writeAttributeTypeMap(attributeTypes());
-
-            // all the types by classname
-            writeClassnameMap(_typeRefsByClassname);
-
-            // all the namespaces
-            writeNamespaces(_namespaces);
-
-            // VERSION 2.15 and newer below
-            writeQNameMap(redefinedGlobalTypes());
-            writeQNameMap(redefinedModelGroups());
-            writeQNameMap(redefinedAttributeGroups());
-            writeAnnotations(annotations());
-        }
-
-        void writeHandlePool(HandlePool pool)
-        {
-            writeShort(pool._componentsToHandles.size());
-            for (Iterator i = pool._componentsToHandles.keySet().iterator(); i.hasNext(); )
-            {
-                SchemaComponent comp = (SchemaComponent)i.next();
-                String handle = (String)pool._componentsToHandles.get(comp);
-                int code = fileTypeFromComponentType(comp.getComponentType());
-                writeString(handle);
-                writeShort(code);
-            }
-        }
-
-        void readHandlePool(HandlePool pool)
-        {
-            if (pool._handlesToRefs.size() != 0 || pool._started)
-                throw new IllegalStateException("Nonempty handle set before read");
-
-            int size = readShort();
-            for (int i = 0; i < size; i++)
-            {
-                String handle = readString();
-                short code = readShort();
-                Object result;
-                switch (code)
-                {
-                    case FILETYPE_SCHEMATYPE:
-                        result = new SchemaType.Ref(getTypeSystem(), handle);
-                        break;
-                    case FILETYPE_SCHEMAELEMENT:
-                        result = new SchemaGlobalElement.Ref(getTypeSystem(), handle);
-                        break;
-                    case FILETYPE_SCHEMAATTRIBUTE:
-                        result = new SchemaGlobalAttribute.Ref(getTypeSystem(), handle);
-                        break;
-                    case FILETYPE_SCHEMAMODELGROUP:
-                        result = new SchemaModelGroup.Ref(getTypeSystem(), handle);
-                        break;
-                    case FILETYPE_SCHEMAATTRIBUTEGROUP:
-                        result = new SchemaAttributeGroup.Ref(getTypeSystem(), handle);
-                        break;
-                    case FILETYPE_SCHEMAIDENTITYCONSTRAINT:
-                        result = new SchemaIdentityConstraint.Ref(getTypeSystem(), handle);
-                        break;
-                    default:
-                        throw new SchemaTypeLoaderException("Schema index has an unrecognized entry of type " + code, _name, handle, SchemaTypeLoaderException.UNRECOGNIZED_INDEX_ENTRY);
-                }
-                pool._handlesToRefs.put(handle, result);
-            }
-        }
-
-        short readShort()
-        {
-            try
-            {
-                return _input.readShort();
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        void writeShort(int s)
-        {
-            if (s > Short.MAX_VALUE || s < Short.MIN_VALUE)
-                throw new SchemaTypeLoaderException("Value " + s + " out of range: must fit in a 16-bit short.", _name, _handle, SchemaTypeLoaderException.INT_TOO_LARGE);
-            if (_output != null)
-            {
-                try
-                {
-                    _output.writeShort(s);
-                }
-                catch (IOException e)
-                {
-                    throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-                }
-            }
-        }
-
-        int readInt()
-        {
-            try
-            {
-                return _input.readInt();
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        void writeInt(int i)
-        {
-            if (_output != null)
-            {
-                try
-                {
-                    _output.writeInt(i);
-                }
-                catch (IOException e)
-                {
-                    throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-                }
-            }
-        }
-
-        String readString()
-        {
-            return _stringPool.stringForCode(readShort());
-        }
-
-        void writeString(String str)
-        {
-            int code = _stringPool.codeForString(str);
-            writeShort(code);
-        }
-
-        QName readQName()
-        {
-            String namespace = readString();
-            String localname = readString();
-            if (localname == null)
-                return null;
-            return new QName(namespace, localname);
-        }
-
-        void writeQName(QName qname)
-        {
-            if (qname == null)
-            {
-                writeString(null);
-                writeString(null);
-                return;
-            }
-            writeString(qname.getNamespaceURI());
-            writeString(qname.getLocalPart());
-        }
-
-        SOAPArrayType readSOAPArrayType()
-        {
-            QName qName = readQName();
-            String dimensions = readString();
-            if (qName == null)
-                return null;
-            return new SOAPArrayType(qName, dimensions);
-        }
-
-        void writeSOAPArrayType(SOAPArrayType arrayType)
-        {
-            if (arrayType == null)
-            {
-                writeQName(null);
-                writeString(null);
-            }
-            else
-            {
-                writeQName(arrayType.getQName());
-                writeString(arrayType.soap11DimensionString());
-            }
-        }
-
-        void writeAnnotation(SchemaAnnotation a)
-        {
-            // Write attributes
-            if (a == null)
-            {
-                writeInt(-1);
-                return;
-            }
-            SchemaAnnotation.Attribute[] attributes = a.getAttributes();
-            writeInt(attributes.length);
-            for (int i = 0; i < attributes.length; i++)
-            {
-                QName name = attributes[i].getName();
-                String value = attributes[i].getValue();
-                writeQName(name);
-                writeString(value);
-            }
-
-            // Write documentation items
-            XmlObject[] documentationItems = a.getUserInformation();
-            writeInt(documentationItems.length);
-            XmlOptions opt = new XmlOptions().setSaveOuter().
-                setSaveAggresiveNamespaces();
-            for (int i = 0; i < documentationItems.length; i++)
-            {
-                XmlObject doc = documentationItems[i];
-                writeString(doc.xmlText(opt));
-            }
-
-            // Write application info items
-            XmlObject[] appInfoItems = a.getApplicationInformation();
-            writeInt(appInfoItems.length);
-            for (int i = 0; i < appInfoItems.length; i++)
-            {
-                XmlObject doc = appInfoItems[i];
-                writeString(doc.xmlText(opt));
-            }
-        }
-
-        SchemaAnnotation readAnnotation()
-        {
-            if (!atLeast(2, 19, 0))
-                return null; // no annotations for this version of the file
-            // Read attributes
-            int n = readInt();
-            if (n == -1)
-                return null;
-            SchemaAnnotation.Attribute[] attributes =
-                new SchemaAnnotation.Attribute[n];
-            for (int i = 0; i < n; i++)
-            {
-                QName name = readQName();
-                String value = readString();
-                attributes[i] = new SchemaAnnotationImpl.AttributeImpl(name, value);
-            }
-
-            // Read documentation items
-            n = readInt();
-            DocumentationDocument.Documentation[] documentationItems =
-                new DocumentationDocument.Documentation[n];
-            for (int i = 0; i <  n; i++)
-            {
-                String doc = readString();
-                try 
-                {
-                    documentationItems[i] = DocumentationDocument.Factory.
-                        parse(doc).getDocumentation();
-                }
-                catch (XmlException e)
-                {
-                    throw new RuntimeException( e.getMessage(), e );
-                }
-            }
-
-            // Read application info items
-            n = readInt();
-            AppinfoDocument.Appinfo[] appInfoItems =
-                new AppinfoDocument.Appinfo[n];
-            for (int i = 0; i < n; i++)
-            {
-                String appInfo = readString();
-                try
-                {
-                    appInfoItems[i] = AppinfoDocument.Factory.
-                        parse(appInfo).getAppinfo();
-                }
-                catch(XmlException e)
-                {
-                    throw new RuntimeException( e.getMessage(), e );
-                }
-            }
-
-            return new SchemaAnnotationImpl(getTypeSystem(), appInfoItems,
-                documentationItems, attributes);
-        }
-
-        void writeAnnotations(SchemaAnnotation[] anns)
-        {
-            writeInt(anns.length);
-            for (int i = 0; i < anns.length; i++)
-                writeAnnotation(anns[i]);
-        }
-
-        List readAnnotations()
-        {
-            int n = readInt();
-            List result = new ArrayList(n);
-            for (int i = 0; i < n; i++)
-                result.add(readAnnotation());
-            return result;
-        }
-
-        SchemaComponent.Ref readHandle()
-        {
-            String handle = readString();
-            if (handle == null)
-                return null;
-
-            if (handle.charAt(0) != '_')
-                return _localHandles.refForHandle(handle);
-
-            switch (handle.charAt(2))
-            {
-                case 'I': // _BI_ - built-in schema type system
-                    return ((SchemaType)BuiltinSchemaTypeSystem.get().resolveHandle(handle)).getRef();
-                case 'T': // _XT_ - external type
-                    return _linker.findTypeRef(QNameHelper.forPretty(handle, 4));
-                case 'E': // _XE_ - external element
-                    return _linker.findElementRef(QNameHelper.forPretty(handle, 4));
-                case 'A': // _XA_ - external attribute
-                    return _linker.findAttributeRef(QNameHelper.forPretty(handle, 4));
-                case 'M': // _XM_ - external model group
-                    return _linker.findModelGroupRef(QNameHelper.forPretty(handle, 4));
-                case 'N': // _XN_ - external attribute group
-                    return _linker.findAttributeGroupRef(QNameHelper.forPretty(handle, 4));
-                case 'D': // _XD_ - external identity constraint
-                    return _linker.findIdentityConstraintRef(QNameHelper.forPretty(handle, 4));
-                case 'R': // _XR_ - external ref to attribute's type
-                    return _linker.findAttribute(QNameHelper.forPretty(handle, 4)).getType().getRef();
-                case 'S': // _XS_ - external ref to element's type
-                    return _linker.findElement(QNameHelper.forPretty(handle, 4)).getType().getRef();
-                default:
-                    throw new SchemaTypeLoaderException("Cannot resolve handle " + handle, _name, _handle, SchemaTypeLoaderException.BAD_HANDLE);
-            }
-        }
-
-        void writeHandle(SchemaComponent comp)
-        {
-            if (comp == null || comp.getTypeSystem() == getTypeSystem())
-            {
-                writeString(_localHandles.handleForComponent(comp));
-                return;
-            }
-
-            switch (comp.getComponentType())
-            {
-                case SchemaComponent.ATTRIBUTE:
-                    writeString("_XA_" + QNameHelper.pretty(comp.getName()));
-                    return;
-                case SchemaComponent.MODEL_GROUP:
-                    writeString("_XM_" + QNameHelper.pretty(comp.getName()));
-                    return;
-                case SchemaComponent.ATTRIBUTE_GROUP:
-                    writeString("_XN_" + QNameHelper.pretty(comp.getName()));
-                    return;
-                case SchemaComponent.ELEMENT:
-                    writeString("_XE_" + QNameHelper.pretty(comp.getName()));
-                    return;
-                case SchemaComponent.IDENTITY_CONSTRAINT:
-                    writeString("_XD_" + QNameHelper.pretty(comp.getName()));
-                    return;
-                case SchemaComponent.TYPE:
-                    SchemaType type = (SchemaType)comp;
-                    if (type.isBuiltinType())
-                    {
-                        writeString("_BI_" + type.getName().getLocalPart());
-                        return;
-                    }
-
-                    // fix for CR120759 - added output of types _XR_ & _XS_
-                    // when an attribute (_XR_) or element (_XS_) declaration
-                    // uses ref to refer to an attribute or element in another
-                    // schema and the type of that attribute or element
-                    // is an anonymous (local) type
-                    if (type.getName() != null)
-                    {
-                        writeString("_XT_" + QNameHelper.pretty(type.getName()));
-                    }
-                    else
-                    {
-                        SchemaField sf = type.getContainerField();
-                        assert (sf != null);
-                        if (sf.isAttribute())
-                        {
-                            writeString("_XR_" + QNameHelper.pretty(sf.getName()));
-                        }
-                        else
-                        {
-                            writeString("_XS_" + QNameHelper.pretty(sf.getName()));
-                        }
-                    }
-
-                    return;
-
-                default:
-                    assert(false);
-                    throw new SchemaTypeLoaderException("Cannot write handle for component " + comp, _name, _handle, SchemaTypeLoaderException.BAD_HANDLE);
-            }
-        }
-
-        SchemaType.Ref readTypeRef()
-        {
-            return (SchemaType.Ref)readHandle();
-        }
-
-        void writeType(SchemaType type)
-        {
-            writeHandle(type);
-        }
-
-        Map readQNameRefMap()
-        {
-            Map result = new HashMap();
-            int size = readShort();
-            for (int i = 0; i < size; i++)
-            {
-                QName name = readQName();
-                SchemaComponent.Ref obj = readHandle();
-                result.put(name, obj);
-            }
-            return result;
-        }
-
-        List readQNameRefMapAsList()
-        {
-            int size = readShort();
-            List result = new ArrayList(size);
-            for (int i = 0; i < size; i++)
-            {
-                readQName();
-                SchemaComponent.Ref obj = readHandle();
-                result.add(obj);
-            }
-            return result;
-        }
-
-        void writeQNameMap(SchemaComponent[] components)
-        {
-            writeShort(components.length);
-            for (int i = 0; i < components.length; i++)
-            {
-                writeQName(components[i].getName());
-                writeHandle(components[i]);
-            }
-        }
-
-        void writeDocumentTypeMap(SchemaType[] doctypes)
-        {
-            writeShort(doctypes.length);
-            for (int i = 0; i < doctypes.length; i++)
-            {
-                writeQName(doctypes[i].getDocumentElementName());
-                writeHandle(doctypes[i]);
-            }
-        }
-
-        void writeAttributeTypeMap(SchemaType[] attrtypes)
-        {
-            writeShort(attrtypes.length);
-            for (int i = 0; i < attrtypes.length; i++)
-            {
-                writeQName(attrtypes[i].getAttributeTypeAttributeName());
-                writeHandle(attrtypes[i]);
-            }
-        }
-
-        SchemaType.Ref[] readTypeRefArray()
-        {
-            int size = readShort();
-            SchemaType.Ref[] result = new SchemaType.Ref[size];
-            for (int i = 0; i < size; i++)
-            {
-                result[i] = readTypeRef();
-            }
-            return result;
-        }
-
-        void writeTypeArray(SchemaType[] array)
-        {
-            writeShort(array.length);
-            for (int i = 0; i < array.length; i++)
-            {
-                writeHandle(array[i]);
-            }
-        }
-
-        Map readClassnameRefMap()
-        {
-            Map result = new HashMap();
-            int size = readShort();
-            for (int i = 0; i < size; i++)
-            {
-                String name = readString();
-                SchemaComponent.Ref obj = readHandle();
-                result.put(name, obj);
-            }
-            return result;
-        }
-
-        void writeClassnameMap(Map typesByClass)
-        {
-            writeShort(typesByClass.size());
-            for (Iterator i = typesByClass.keySet().iterator(); i.hasNext(); )
-            {
-                String className = (String)i.next();
-                writeString(className);
-                writeHandle(((SchemaType.Ref)typesByClass.get(className)).get());
-            }
-        }
-
-        Set readNamespaces()
-        {
-            Set result = new HashSet();
-            int size = readShort();
-            for (int i = 0; i < size; i++)
-            {
-                String ns = readString();
-                result.add(ns);
-            }
-            return result;
-        }
-
-        void writeNamespaces(Set namespaces)
-        {
-            writeShort(namespaces.size());
-            for (Iterator i = namespaces.iterator(); i.hasNext(); )
-            {
-                String ns = (String)i.next();
-                writeString(ns);
-            }
-        }
-
-        OutputStream getSaverStream(String name)
-        {
-            File targetFile = new File(_baseSaveDir, name);
-            try
-            {
-                targetFile.getParentFile().mkdirs();
-                return new FileOutputStream(targetFile);
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        InputStream getLoaderStream(String resourcename)
-        {
-            return _resourceLoader.getResourceAsStream(resourcename);
-        }
-
-        /**
-         * Finishes loading an element after the header has already been loaded.
-         */
-        public SchemaGlobalElement finishLoadingElement()
-        {
-            String handle = null;
-            try
-            {
-                SchemaGlobalElementImpl impl = new SchemaGlobalElementImpl(getTypeSystem());
-                short particleType = readShort();
-                if (particleType != SchemaParticle.ELEMENT)
-                    throw new SchemaTypeLoaderException("Wrong particle type ", _name, _handle, SchemaTypeLoaderException.BAD_PARTICLE_TYPE);
-                loadParticle(impl, SchemaParticle.ELEMENT, true);
-                impl.setFilename(readString());
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        public SchemaGlobalAttribute finishLoadingAttribute()
-        {
-            SchemaGlobalAttributeImpl impl = new SchemaGlobalAttributeImpl(getTypeSystem());
-            try
-            {
-                loadAttribute(impl);
-                impl.setFilename(readString());
-
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, _handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        SchemaModelGroup finishLoadingModelGroup()
-        {
-            SchemaModelGroupImpl impl = new SchemaModelGroupImpl(getTypeSystem());
-
-            try
-            {
-                loadModelGroup(impl);
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, _handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        SchemaIdentityConstraint finishLoadingIdentityConstraint()
-        {
-            try {
-                SchemaIdentityConstraintImpl impl = new SchemaIdentityConstraintImpl(getTypeSystem());
-                impl.setName(readQName());
-                impl.setConstraintCategory(readShort());
-                impl.setSelector(readString());
-                impl.setAnnotation(readAnnotation());
-
-                String[] fields = new String[readShort()];
-                for (int i = 0 ; i < fields.length ; i++)
-                    fields[i] = readString();
-                impl.setFields(fields);
-
-                if (impl.getConstraintCategory() == SchemaIdentityConstraint.CC_KEYREF)
-                    impl.setReferencedKey((SchemaIdentityConstraint.Ref)readHandle());
-
-                int mapCount = readShort();
-                Map nsMappings = new HashMap();
-                for (int i = 0 ; i < mapCount ; i++)
-                {
-                    String prefix = readString();
-                    String uri = readString();
-                    nsMappings.put(prefix, uri);
-                }
-                impl.setNSMap(nsMappings);
-
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, _handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        SchemaAttributeGroup finishLoadingAttributeGroup()
-        {
-            SchemaAttributeGroupImpl impl = new SchemaAttributeGroupImpl(getTypeSystem());
-
-            try
-            {
-                loadAttributeGroup(impl);
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, _handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        public SchemaType finishLoadingType()
-        {
-            try
-            {
-                SchemaTypeImpl impl = new SchemaTypeImpl(getTypeSystem(), true);
-                impl.setName(readQName());
-                impl.setOuterSchemaTypeRef(readTypeRef());
-                impl.setBaseDepth(readShort());
-                impl.setBaseTypeRef(readTypeRef());
-                impl.setDerivationType(readShort());
-                impl.setAnnotation(readAnnotation());
-
-                switch (readShort())
-                {
-                    case FIELD_GLOBAL:
-                        impl.setContainerFieldRef(readHandle());
-                        break;
-                    case FIELD_LOCALATTR:
-                        impl.setContainerFieldIndex((short)1, readShort());
-                        break;
-                    case FIELD_LOCALELT:
-                        impl.setContainerFieldIndex((short)2, readShort());
-                        break;
-                }
-                // TODO (radup) find the right solution here
-                String jn = readString();
-                impl.setFullJavaName(jn == null ? "" : jn);
-                jn = readString();
-                impl.setFullJavaImplName(jn == null? "" : jn);
-
-                impl.setAnonymousTypeRefs(readTypeRefArray());
-
-                impl.setAnonymousUnionMemberOrdinal(readShort());
-
-                int flags;
-                flags = readInt();
-
-
-                boolean isComplexType = ((flags & FLAG_SIMPLE_TYPE) == 0);
-                impl.setCompiled((flags & FLAG_COMPILED) != 0);
-                impl.setDocumentType((flags & FLAG_DOCUMENT_TYPE) != 0);
-                impl.setAttributeType((flags & FLAG_ATTRIBUTE_TYPE) != 0);
-                impl.setSimpleType(!isComplexType);
-
-                short complexVariety = SchemaType.NOT_COMPLEX_TYPE;
-                if (isComplexType)
-                {
-                    impl.setAbstractFinal((flags & FLAG_ABSTRACT) != 0,
-                        (flags & FLAG_FINAL_EXT) != 0,
-                        (flags & FLAG_FINAL_REST) != 0,
-                        (flags & FLAG_FINAL_LIST) != 0,
-                        (flags & FLAG_FINAL_UNION) != 0);
-                    impl.setBlock((flags & FLAG_BLOCK_EXT) != 0,
-                        (flags & FLAG_BLOCK_REST) != 0);
-
-                    impl.setOrderSensitive((flags & FLAG_ORDER_SENSITIVE) != 0);
-                    complexVariety = readShort();
-                    impl.setComplexTypeVariety(complexVariety);
-
-                    // Attribute Model Table
-                    SchemaAttributeModelImpl attrModel = new SchemaAttributeModelImpl();
-
-                    short attrCount = readShort();
-                    for (int i = 0; i < attrCount; i++)
-                        attrModel.addAttribute(readAttributeData());
-
-                    attrModel.setWildcardSet(readQNameSet());
-                    attrModel.setWildcardProcess(readShort());
-
-                    // Attribute Property Table
-                    Map attrProperties = new LinkedHashMap();
-                    short attrPropCount = readShort();
-                    for (int i = 0; i < attrPropCount; i++)
-                    {
-                        SchemaProperty prop = readPropertyData();
-                        if (!prop.isAttribute())
-                            throw new SchemaTypeLoaderException("Attribute property " + i + " is not an attribute", _name, _handle, SchemaTypeLoaderException.WRONG_PROPERTY_TYPE);
-                        attrProperties.put(prop.getName(), prop);
-                    }
-
-                    SchemaParticle contentModel = null;
-                    Map elemProperties = null;
-                    short isAll = 0;
-
-                    if (complexVariety == SchemaType.ELEMENT_CONTENT || complexVariety == SchemaType.MIXED_CONTENT)
-                    {
-                        // Content Model Tree
-                        isAll = readShort();
-                        SchemaParticle[] parts = readParticleArray();
-                        if (parts.length == 1)
-                            contentModel = parts[0];
-                        else if (parts.length == 0)
-                            contentModel = null;
-                        else
-                            throw new SchemaTypeLoaderException("Content model not well-formed", _name, _handle, SchemaTypeLoaderException.MALFORMED_CONTENT_MODEL);
-
-                        // Element Property Table
-
-                        elemProperties = new LinkedHashMap();
-                        short elemPropCount = readShort();
-                        for (int i = 0; i < elemPropCount; i++)
-                        {
-                            SchemaProperty prop = readPropertyData();
-                            if (prop.isAttribute())
-                                throw new SchemaTypeLoaderException("Element property " + i + " is not an element", _name, _handle, SchemaTypeLoaderException.WRONG_PROPERTY_TYPE);
-                            elemProperties.put(prop.getName(), prop);
-                        }
-                    }
-
-                    impl.setContentModel(contentModel, attrModel, elemProperties, attrProperties, isAll == 1);
-                    StscComplexTypeResolver.WildcardResult wcElt = StscComplexTypeResolver.summarizeEltWildcards(contentModel);
-                    StscComplexTypeResolver.WildcardResult wcAttr = StscComplexTypeResolver.summarizeAttrWildcards(attrModel);
-                    impl.setWildcardSummary(wcElt.typedWildcards, wcElt.hasWildcards, wcAttr.typedWildcards, wcAttr.hasWildcards);
-                }
-
-                if (!isComplexType || complexVariety == SchemaType.SIMPLE_CONTENT)
-                {
-                    short simpleVariety = readShort();
-                    impl.setSimpleTypeVariety(simpleVariety);
-
-                    boolean isStringEnum = ((flags & FLAG_STRINGENUM) != 0);
-
-                    impl.setOrdered((flags & FLAG_ORDERED) != 0 ? SchemaType.UNORDERED : ((flags & FLAG_TOTAL_ORDER) != 0 ? SchemaType.TOTAL_ORDER : SchemaType.PARTIAL_ORDER));
-                    impl.setBounded((flags & FLAG_BOUNDED) != 0);
-                    impl.setFinite((flags & FLAG_FINITE) != 0);
-                    impl.setNumeric((flags & FLAG_NUMERIC) != 0);
-                    impl.setUnionOfLists((flags & FLAG_UNION_OF_LISTS) != 0);
-                    impl.setSimpleFinal((flags & FLAG_FINAL_REST) != 0,
-                        (flags & FLAG_FINAL_LIST) != 0,
-                        (flags & FLAG_FINAL_UNION) != 0);
-
-                    XmlValueRef[] facets = new XmlValueRef[SchemaType.LAST_FACET + 1];
-                    boolean[] fixedFacets = new boolean[SchemaType.LAST_FACET + 1];
-                    short facetCount = readShort();
-                    for (int i = 0; i < facetCount; i++)
-                    {
-                        short facetCode = readShort();
-                        facets[facetCode] = readXmlValueObject();
-                        fixedFacets[facetCode] = (readShort() == 1);
-                    }
-                    impl.setBasicFacets(facets, fixedFacets);
-
-                    impl.setWhiteSpaceRule(readShort());
-
-                    impl.setPatternFacet((flags & FLAG_HAS_PATTERN) != 0);
-
-                    short patternCount = readShort();
-                    org.apache.xmlbeans.impl.regex.RegularExpression[] patterns = new org.apache.xmlbeans.impl.regex.RegularExpression[patternCount];
-                    for (int i = 0; i < patternCount; i++)
-                    {
-                        patterns[i] = new org.apache.xmlbeans.impl.regex.RegularExpression(readString(), "X");
-                    }
-                    impl.setPatterns(patterns);
-
-                    short enumCount = readShort();
-                    XmlValueRef[] enumValues = new XmlValueRef[enumCount];
-                    for (int i = 0; i < enumCount; i++)
-                    {
-                        enumValues[i] = readXmlValueObject();
-                    }
-                    impl.setEnumerationValues(enumCount == 0 ? null : enumValues);
-
-                    impl.setBaseEnumTypeRef(readTypeRef());
-                    if (isStringEnum)
-                    {
-                        short seCount = readShort();
-                        SchemaStringEnumEntry[] entries = new SchemaStringEnumEntry[seCount];
-                        for (int i = 0; i < seCount; i++)
-                        {
-                            entries[i] = new SchemaStringEnumEntryImpl(readString(), readShort(), readString());
-                        }
-                        impl.setStringEnumEntries(entries);
-                    }
-
-                    switch (simpleVariety)
-                    {
-                        case SchemaType.ATOMIC:
-                            impl.setPrimitiveTypeRef(readTypeRef());
-                            impl.setDecimalSize(readInt());
-                            break;
-
-                        case SchemaType.LIST:
-                            impl.setPrimitiveTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-                            impl.setListItemTypeRef(readTypeRef());
-                            break;
-
-                        case SchemaType.UNION:
-                            impl.setPrimitiveTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-                            impl.setUnionMemberTypeRefs(readTypeRefArray());
-                            break;
-
-                        default:
-                            throw new SchemaTypeLoaderException("Simple type does not have a recognized variety", _name, _handle, SchemaTypeLoaderException.WRONG_SIMPLE_VARIETY);
-                    }
-                }
-
-                impl.setFilename(readString());
-
-                return impl;
-            }
-            catch (SchemaTypeLoaderException e)
-            {
-                throw e;
-            }
-            catch (Exception e)
-            {
-                throw new SchemaTypeLoaderException("Cannot load type from typesystem", _name, _handle, SchemaTypeLoaderException.NESTED_EXCEPTION, e);
-            }
-            finally
-            {
-                readEnd();
-            }
-        }
-
-        void writeTypeData(SchemaType type)
-        {
-            writeQName(type.getName());
-            writeType(type.getOuterType());
-            writeShort(((SchemaTypeImpl)type).getBaseDepth());
-            writeType(type.getBaseType());
-            writeShort(type.getDerivationType());
-            writeAnnotation(type.getAnnotation());
-            if (type.getContainerField() == null)
-            {
-                writeShort(FIELD_NONE);
-            }
-            else if (type.getOuterType().isAttributeType() || type.getOuterType().isDocumentType())
-            {
-                writeShort(FIELD_GLOBAL);
-                writeHandle((SchemaComponent)type.getContainerField());
-            }
-            else if (type.getContainerField().isAttribute())
-            {
-                writeShort(FIELD_LOCALATTR);
-                writeShort(((SchemaTypeImpl)type.getOuterType()).getIndexForLocalAttribute((SchemaLocalAttribute)type.getContainerField()));
-            }
-            else
-            {
-                writeShort(FIELD_LOCALELT);
-                writeShort(((SchemaTypeImpl)type.getOuterType()).getIndexForLocalElement((SchemaLocalElement)type.getContainerField()));
-            }
-            writeString(type.getFullJavaName());
-            writeString(type.getFullJavaImplName());
-            writeTypeArray(type.getAnonymousTypes());
-            writeShort(type.getAnonymousUnionMemberOrdinal());
-
-            int flags = 0;
-            if (type.isSimpleType())
-                flags |= FLAG_SIMPLE_TYPE;
-            if (type.isDocumentType())
-                flags |= FLAG_DOCUMENT_TYPE;
-            if (type.isAttributeType())
-                flags |= FLAG_ATTRIBUTE_TYPE;
-            if (type.ordered() != SchemaType.UNORDERED)
-                flags |= FLAG_ORDERED;
-            if (type.ordered() == SchemaType.TOTAL_ORDER)
-                flags |= FLAG_TOTAL_ORDER;
-            if (type.isBounded())
-                flags |= FLAG_BOUNDED;
-            if (type.isFinite())
-                flags |= FLAG_FINITE;
-            if (type.isNumeric())
-                flags |= FLAG_NUMERIC;
-            if (type.hasStringEnumValues())
-                flags |= FLAG_STRINGENUM;
-            if (((SchemaTypeImpl)type).isUnionOfLists())
-                flags |= FLAG_UNION_OF_LISTS;
-            if (type.hasPatternFacet())
-                flags |= FLAG_HAS_PATTERN;
-            if (type.isOrderSensitive())
-                flags |= FLAG_ORDER_SENSITIVE;
-
-            if (type.blockExtension())
-                flags |= FLAG_BLOCK_EXT;
-            if (type.blockRestriction())
-                flags |= FLAG_BLOCK_REST;
-            if (type.finalExtension())
-                flags |= FLAG_FINAL_EXT;
-            if (type.finalRestriction())
-                flags |= FLAG_FINAL_EXT;
-            if (type.finalList())
-                flags |= FLAG_FINAL_LIST;
-            if (type.finalUnion())
-                flags |= FLAG_FINAL_UNION;
-            if (type.isAbstract())
-                flags |= FLAG_ABSTRACT;
-
-            writeInt(flags);
-
-            if (!type.isSimpleType())
-            {
-                writeShort(type.getContentType());
-
-                // Attribute Model Table
-                SchemaAttributeModel attrModel = type.getAttributeModel();
-                SchemaLocalAttribute[] attrs = attrModel.getAttributes();
-
-                writeShort(attrs.length);
-                for (int i = 0; i < attrs.length; i++)
-                    writeAttributeData(attrs[i]);
-
-                writeQNameSet(attrModel.getWildcardSet());
-                writeShort(attrModel.getWildcardProcess());
-
-                // Attribute Property Table
-                SchemaProperty[] attrProperties = type.getAttributeProperties();
-                writeShort(attrProperties.length);
-                for (int i = 0; i < attrProperties.length; i++)
-                    writePropertyData(attrProperties[i]);
-
-                if (type.getContentType() == SchemaType.ELEMENT_CONTENT ||
-                    type.getContentType() == SchemaType.MIXED_CONTENT)
-                {
-                    // Content Model Tree
-                    writeShort(type.hasAllContent() ? 1 : 0);
-                    SchemaParticle[] parts;
-                    if (type.getContentModel() != null)
-                        parts = new SchemaParticle[] { type.getContentModel() };
-                    else
-                        parts = new SchemaParticle[0];
-
-                    writeParticleArray(parts);
-
-                    // Element Property Table
-                    SchemaProperty[] eltProperties = type.getElementProperties();
-                    writeShort(eltProperties.length);
-                    for (int i = 0; i < eltProperties.length; i++)
-                        writePropertyData(eltProperties[i]);
-                }
-            }
-
-            if (type.isSimpleType() || type.getContentType() == SchemaType.SIMPLE_CONTENT)
-            {
-                writeShort(type.getSimpleVariety());
-
-                int facetCount = 0;
-                for (int i = 0; i <= SchemaType.LAST_FACET; i++)
-                    if (type.getFacet(i) != null)
-                        facetCount++;
-                writeShort(facetCount);
-                for (int i = 0; i <= SchemaType.LAST_FACET; i++)
-                {
-                    XmlAnySimpleType facet = type.getFacet(i);
-                    if (facet != null)
-                    {
-                        writeShort(i);
-                        writeXmlValueObject(facet);
-                        writeShort(type.isFacetFixed(i) ? 1 : 0);
-                    }
-                }
-
-                writeShort(type.getWhiteSpaceRule());
-
-                org.apache.xmlbeans.impl.regex.RegularExpression[] patterns = ((SchemaTypeImpl)type).getPatternExpressions();
-                writeShort(patterns.length);
-                for (int i = 0; i < patterns.length; i++)
-                    writeString(patterns[i].getPattern());
-
-                XmlAnySimpleType[] enumValues = type.getEnumerationValues();
-                if (enumValues == null)
-                    writeShort(0);
-                else
-                {
-                    writeShort(enumValues.length);
-                    for (int i = 0; i < enumValues.length; i++)
-                        writeXmlValueObject(enumValues[i]);
-                }
-
-                // new for version 2.3
-                writeType(type.getBaseEnumType());
-                if (type.hasStringEnumValues())
-                {
-                    SchemaStringEnumEntry[] entries = type.getStringEnumEntries();
-                    writeShort(entries.length);
-                    for (int i = 0; i < entries.length; i++)
-                    {
-                        writeString(entries[i].getString());
-                        writeShort(entries[i].getIntValue());
-                        writeString(entries[i].getEnumName());
-                    }
-                }
-
-                switch (type.getSimpleVariety())
-                {
-                    case SchemaType.ATOMIC:
-                        writeType(type.getPrimitiveType());
-                        writeInt(type.getDecimalSize());
-                        break;
-
-                    case SchemaType.LIST:
-                        writeType(type.getListItemType());
-                        break;
-
-                    case SchemaType.UNION:
-                        writeTypeArray(type.getUnionMemberTypes());
-                        break;
-                }
-            }
-
-            writeString(type.getSourceName());
-        }
-
-        void readExtensionsList()
-        {
-            int count = readShort();
-            assert count == 0;
-
-            for (int i = 0; i < count; i++)
-            {
-                readString();
-                readString();
-                readString();
-            }
-        }
-
-        SchemaLocalAttribute readAttributeData()
-        {
-            SchemaLocalAttributeImpl result = new SchemaLocalAttributeImpl();
-            loadAttribute(result);
-            return result;
-        }
-
-        void loadModelGroup(SchemaModelGroupImpl result)
-        {
-            try
-            {
-                result.init(readQName(), readString(), readShort() == 1, atLeast(2, 15, 0) ? readShort() == 1 : false, GroupDocument.Factory.parse( readString() ).getGroup(), readAnnotation());
-            }
-            catch ( XmlException e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-
-        void loadAttributeGroup(SchemaAttributeGroupImpl result)
-        {
-            try
-            {
-                result.init( readQName(), readString(), readShort() == 1, atLeast(2, 15, 0) ? readShort() == 1 : false, AttributeGroupDocument.Factory.parse( readString() ).getAttributeGroup(), readAnnotation());
-            }
-            catch ( XmlException e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-
-        void loadAttribute(SchemaLocalAttributeImpl result)
-        {
-            // name, type, use, deftext, defval, fixed, soaparraytype, annotation
-            result.init(readQName(), readTypeRef(), readShort(), readString(), null, atLeast(2, 16, 0) ? readXmlValueObject() : null, readShort() == 1, readSOAPArrayType(), readAnnotation());
-        }
-
-        void writeAttributeData(SchemaLocalAttribute attr)
-        {
-            writeQName(attr.getName());
-            writeType(attr.getType());
-            writeShort(attr.getUse());
-            writeString(attr.getDefaultText());
-            writeXmlValueObject(attr.getDefaultValue());
-            writeShort(attr.isFixed() ? 1 : 0);
-            writeSOAPArrayType(((SchemaWSDLArrayType)attr).getWSDLArrayType());
-            writeAnnotation(attr.getAnnotation());
-        }
-
-        void writeIdConstraintData(SchemaIdentityConstraint idc)
-        {
-            writeQName(idc.getName());
-            writeShort(idc.getConstraintCategory());
-            writeString(idc.getSelector());
-            writeAnnotation(idc.getAnnotation());
-
-            String[] fields = idc.getFields();
-            writeShort(fields.length);
-            for (int i = 0 ; i < fields.length ; i++)
-                writeString(fields[i]);
-
-
-            if (idc.getConstraintCategory() == SchemaIdentityConstraint.CC_KEYREF)
-                writeHandle(idc.getReferencedKey());
-
-            Set mappings = idc.getNSMap().entrySet();
-            writeShort(mappings.size());
-            for (Iterator it = mappings.iterator() ; it.hasNext() ; ) {
-                Map.Entry e = (Map.Entry)it.next();
-                String prefix = (String)e.getKey();
-                String uri = (String)e.getValue();
-
-                writeString(prefix);
-                writeString(uri);
-            }
-
-        }
-
-        SchemaParticle[] readParticleArray()
-        {
-            SchemaParticle[] result = new SchemaParticle[readShort()];
-            for (int i = 0; i < result.length; i++)
-                result[i] = readParticleData();
-            return result;
-        }
-
-        void writeParticleArray(SchemaParticle[] spa)
-        {
-            writeShort(spa.length);
-            for (int i = 0; i < spa.length; i++)
-                writeParticleData(spa[i]);
-        }
-
-        SchemaParticle readParticleData()
-        {
-            short particleType = readShort();
-            SchemaParticleImpl result;
-            if (particleType != SchemaParticle.ELEMENT)
-                result = new SchemaParticleImpl();
-            else
-                result = new SchemaLocalElementImpl();
-            loadParticle(result, particleType, false);
-            return result;
-        }
-
-        void loadParticle(SchemaParticleImpl result, int particleType, boolean global)
-        {
-            short particleFlags = readShort();
-
-            result.setParticleType(particleType);
-            result.setMinOccurs(readBigInteger());
-            result.setMaxOccurs(readBigInteger());
-
-            result.setTransitionRules(readQNameSet(),
-                                      (particleFlags & FLAG_PART_SKIPPABLE) != 0);
-
-            switch (particleType)
-            {
-                case SchemaParticle.WILDCARD:
-                    result.setWildcardSet(readQNameSet());
-                    result.setWildcardProcess(readShort());
-                    break;
-
-                case SchemaParticle.ELEMENT:
-                    SchemaLocalElementImpl lresult = (SchemaLocalElementImpl)result;
-                    lresult.setNameAndTypeRef(readQName(), readTypeRef());
-                    lresult.setDefault(readString(), (particleFlags & FLAG_PART_FIXED) != 0, null);
-                    if (atLeast(2, 16, 0))
-                        lresult.setDefaultValue(readXmlValueObject());
-                    lresult.setNillable((particleFlags & FLAG_PART_NILLABLE) != 0);
-                    lresult.setBlock((particleFlags & FLAG_PART_BLOCKEXT) != 0,
-                                     (particleFlags & FLAG_PART_BLOCKREST) != 0,
-                                     (particleFlags & FLAG_PART_BLOCKSUBST) != 0);
-                    lresult.setWsdlArrayType(readSOAPArrayType());
-                    lresult.setAbstract((particleFlags & FLAG_PART_ABSTRACT) != 0);
-                    lresult.setAnnotation(readAnnotation());
-                    if (global)
-                    {
-                        SchemaGlobalElementImpl gresult = (SchemaGlobalElementImpl)lresult;
-                        gresult.setFinal(
-                                     (particleFlags & FLAG_PART_FINALEXT) != 0,
-                                     (particleFlags & FLAG_PART_FINALREST) != 0);
-
-                        if (atLeast(2, 17, 0))
-                            gresult.setSubstitutionGroup((SchemaGlobalElement.Ref)readHandle());
-
-                        short substGroupCount = readShort();
-                        for (int i = 0; i < substGroupCount; i++)
-                        {
-                            gresult.addSubstitutionGroupMember(readQName());
-                        }
-                    }
-
-                    SchemaIdentityConstraint.Ref[] idcs = new SchemaIdentityConstraint.Ref[readShort()];
-
-                    for (int i = 0 ; i < idcs.length ; i++)
-                        idcs[i] = (SchemaIdentityConstraint.Ref)readHandle();
-
-                    lresult.setIdentityConstraints(idcs);
-
-                    break;
-
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                case SchemaParticle.CHOICE:
-                    result.setParticleChildren(readParticleArray());
-                    break;
-
-                default:
-                    throw new SchemaTypeLoaderException("Unrecognized particle type ", _name, _handle, SchemaTypeLoaderException.BAD_PARTICLE_TYPE);
-            }
-        }
-
-        void writeParticleData(SchemaParticle part)
-        {
-            writeShort(part.getParticleType());
-            short flags = 0;
-            if (part.isSkippable())
-                flags |= FLAG_PART_SKIPPABLE;
-            if (part.getParticleType() == SchemaParticle.ELEMENT)
-            {
-                SchemaLocalElement lpart = (SchemaLocalElement)part;
-                if (lpart.isFixed())
-                    flags |= FLAG_PART_FIXED;
-                if (lpart.isNillable())
-                    flags |= FLAG_PART_NILLABLE;
-                if (lpart.blockExtension())
-                    flags |= FLAG_PART_BLOCKEXT;
-                if (lpart.blockRestriction())
-                    flags |= FLAG_PART_BLOCKREST;
-                if (lpart.blockSubstitution())
-                    flags |= FLAG_PART_BLOCKSUBST;
-                if (lpart.isAbstract())
-                    flags |= FLAG_PART_ABSTRACT;
-
-                if (lpart instanceof SchemaGlobalElement)
-                {
-                    SchemaGlobalElement gpart = (SchemaGlobalElement)lpart;
-                    if (gpart.finalExtension())
-                        flags |= FLAG_PART_FINALEXT;
-                    if (gpart.finalRestriction())
-                        flags |= FLAG_PART_FINALREST;
-                }
-            }
-            writeShort(flags);
-            writeBigInteger(part.getMinOccurs());
-            writeBigInteger(part.getMaxOccurs());
-            writeQNameSet(part.acceptedStartNames());
-
-            switch (part.getParticleType())
-            {
-                case SchemaParticle.WILDCARD:
-                    writeQNameSet(part.getWildcardSet());
-                    writeShort(part.getWildcardProcess());
-                    break;
-
-                case SchemaParticle.ELEMENT:
-                    SchemaLocalElement lpart = (SchemaLocalElement)part;
-                    writeQName(lpart.getName());
-                    writeType(lpart.getType());
-                    writeString(lpart.getDefaultText());
-                    writeXmlValueObject(lpart.getDefaultValue());
-                    writeSOAPArrayType(((SchemaWSDLArrayType)lpart).getWSDLArrayType());
-                    writeAnnotation(lpart.getAnnotation());
-                    if (lpart instanceof SchemaGlobalElement)
-                    {
-                        SchemaGlobalElement gpart = (SchemaGlobalElement)lpart;
-
-                        writeHandle(gpart.substitutionGroup());
-
-                        QName[] substGroupMembers = gpart.substitutionGroupMembers();
-                        writeShort(substGroupMembers.length);
-                        for (int i = 0; i < substGroupMembers.length; i++)
-                            writeQName(substGroupMembers[i]);
-                    }
-
-                    SchemaIdentityConstraint[] idcs = lpart.getIdentityConstraints();
-
-                    writeShort(idcs.length);
-                    for (int i = 0 ; i < idcs.length ; i++)
-                        writeHandle(idcs[i]);
-
-                    break;
-
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                case SchemaParticle.CHOICE:
-                    writeParticleArray(part.getParticleChildren());
-                    break;
-
-                default:
-                    throw new SchemaTypeLoaderException("Unrecognized particle type ", _name, _handle, SchemaTypeLoaderException.BAD_PARTICLE_TYPE);
-            }
-        }
-
-        SchemaProperty readPropertyData()
-        {
-            SchemaPropertyImpl prop = new SchemaPropertyImpl();
-            prop.setName(readQName());
-            prop.setTypeRef(readTypeRef());
-            short propflags = readShort();
-            prop.setAttribute((propflags & FLAG_PROP_ISATTR) != 0);
-            prop.setContainerTypeRef(readTypeRef());
-            prop.setMinOccurs(readBigInteger());
-            prop.setMaxOccurs(readBigInteger());
-            prop.setNillable(readShort());
-            prop.setDefault(readShort());
-            prop.setFixed(readShort());
-            prop.setDefaultText(readString());
-
-            prop.setJavaPropertyName(readString());
-            prop.setJavaTypeCode(readShort());
-            prop.setExtendsJava(readTypeRef(),
-                    (propflags & FLAG_PROP_JAVASINGLETON) != 0,
-                    (propflags & FLAG_PROP_JAVAOPTIONAL) != 0,
-                    (propflags & FLAG_PROP_JAVAARRAY) != 0);
-            prop.setJavaSetterDelimiter(readQNameSet());
-            if (atLeast(2, 16, 0))
-                prop.setDefaultValue(readXmlValueObject());
-
-            if (!prop.isAttribute() && atLeast(2, 17, 0))
-            {
-                short size = readShort();
-                LinkedHashSet qnames = new LinkedHashSet(size);
-                for (int i = 0 ; i < size ; i++)
-                    qnames.add(readQName());
-                prop.setAcceptedNames(qnames);
-            }
-            prop.setImmutable();
-            return prop;
-        }
-
-        void writePropertyData(SchemaProperty prop)
-        {
-            writeQName(prop.getName());
-            writeType(prop.getType());
-            writeShort((prop.isAttribute() ? FLAG_PROP_ISATTR : 0) |
-                       (prop.extendsJavaSingleton() ? FLAG_PROP_JAVASINGLETON : 0) |
-                       (prop.extendsJavaOption() ? FLAG_PROP_JAVAOPTIONAL : 0) |
-                       (prop.extendsJavaArray() ? FLAG_PROP_JAVAARRAY : 0));
-            writeType(prop.getContainerType());
-            writeBigInteger(prop.getMinOccurs());
-            writeBigInteger(prop.getMaxOccurs());
-            writeShort(prop.hasNillable());
-            writeShort(prop.hasDefault());
-            writeShort(prop.hasFixed());
-            writeString(prop.getDefaultText());
-
-            writeString(prop.getJavaPropertyName());
-            writeShort(prop.getJavaTypeCode());
-            writeType(prop.javaBasedOnType());
-            writeQNameSet(prop.getJavaSetterDelimiter());
-            writeXmlValueObject(prop.getDefaultValue());
-
-            if (! prop.isAttribute())
-            {
-                QName[] names = prop.acceptedNames();
-                writeShort(names.length);
-                for (int i = 0 ; i < names.length ; i++)
-                    writeQName(names[i]);
-            }
-        }
-
-        void writeModelGroupData(SchemaModelGroup grp)
-        {
-            SchemaModelGroupImpl impl = (SchemaModelGroupImpl)grp;
-            writeQName(impl.getName());
-            writeString(impl.getTargetNamespace());
-            writeShort(impl.getChameleonNamespace() != null ? 1 : 0);
-            writeShort(impl.isRedefinition() ? 1 : 0); // new for version 2.15
-            writeString(impl.getParseObject().xmlText(new XmlOptions().setSaveOuter()));
-            writeAnnotation(impl.getAnnotation());
-        }
-
-        void writeAttributeGroupData(SchemaAttributeGroup grp)
-        {
-            SchemaAttributeGroupImpl impl = (SchemaAttributeGroupImpl)grp;
-            writeQName(impl.getName());
-            writeString(impl.getTargetNamespace());
-            writeShort(impl.getChameleonNamespace() != null ? 1 : 0);
-            writeShort(impl.isRedefinition() ? 1 : 0); // new for version 2.15
-            writeString(impl.getParseObject().xmlText(new XmlOptions().setSaveOuter()));
-            writeAnnotation(impl.getAnnotation());
-        }
-
-        XmlValueRef readXmlValueObject()
-        {
-            SchemaType.Ref typeref = readTypeRef();
-            if (typeref == null)
-                return null;
-            int btc = readShort();
-            switch (btc)
-            {
-                default:
-                    assert(false);
-                case 0:
-                    return new XmlValueRef(typeref, null);
-                case -1:
-                    {
-                        int size = readShort();
-                        List values = new ArrayList();
-                        writeShort(values.size());
-                        for (int i = 0; i < size; i++)
-                        {
-                            values.add(readXmlValueObject());
-                        }
-                        return new XmlValueRef(typeref, values);
-                    }
-
-
-                case SchemaType.BTC_ANY_SIMPLE:
-                case SchemaType.BTC_ANY_URI:
-                case SchemaType.BTC_STRING:
-                case SchemaType.BTC_DURATION:
-                case SchemaType.BTC_DATE_TIME:
-                case SchemaType.BTC_TIME:
-                case SchemaType.BTC_DATE:
-                case SchemaType.BTC_G_YEAR_MONTH:
-                case SchemaType.BTC_G_YEAR:
-                case SchemaType.BTC_G_MONTH_DAY:
-                case SchemaType.BTC_G_DAY:
-                case SchemaType.BTC_G_MONTH:
-                case SchemaType.BTC_DECIMAL:
-                case SchemaType.BTC_BOOLEAN:
-                    return new XmlValueRef(typeref, readString());
-
-                case SchemaType.BTC_BASE_64_BINARY:
-                case SchemaType.BTC_HEX_BINARY:
-                    return new XmlValueRef(typeref, readByteArray());
-
-                case SchemaType.BTC_QNAME:
-                case SchemaType.BTC_NOTATION:
-                    return new XmlValueRef(typeref, readQName());
-
-                case SchemaType.BTC_FLOAT:
-                case SchemaType.BTC_DOUBLE:
-                    return new XmlValueRef(typeref, new Double(readDouble()));
-            }
-        }
-
-        void writeXmlValueObject(XmlAnySimpleType value)
-        {
-            SchemaType type = value == null ? null : value.schemaType();
-            writeType(type);
-            if (type == null)
-                return;
-
-            SchemaType iType = ((SimpleValue)value).instanceType();
-            if (iType == null)
-            {
-                writeShort(0);
-            }
-            else if (iType.getSimpleVariety() == SchemaType.LIST)
-            {
-                writeShort(-1);
-                List values = ((XmlObjectBase)value).xgetListValue();
-                writeShort(values.size());
-                for (Iterator i = values.iterator(); i.hasNext(); )
-                {
-                    writeXmlValueObject((XmlAnySimpleType)i.next());
-                }
-            }
-            else
-            {
-                int btc = iType.getPrimitiveType().getBuiltinTypeCode();
-                writeShort(btc);
-                switch (btc)
-                {
-                    case SchemaType.BTC_ANY_SIMPLE:
-                    case SchemaType.BTC_ANY_URI:
-                    case SchemaType.BTC_STRING:
-                    case SchemaType.BTC_DURATION:
-                    case SchemaType.BTC_DATE_TIME:
-                    case SchemaType.BTC_TIME:
-                    case SchemaType.BTC_DATE:
-                    case SchemaType.BTC_G_YEAR_MONTH:
-                    case SchemaType.BTC_G_YEAR:
-                    case SchemaType.BTC_G_MONTH_DAY:
-                    case SchemaType.BTC_G_DAY:
-                    case SchemaType.BTC_G_MONTH:
-                    case SchemaType.BTC_DECIMAL:
-                    case SchemaType.BTC_BOOLEAN:
-                        writeString(value.getStringValue());
-                        break;
-
-                    case SchemaType.BTC_BASE_64_BINARY:
-                    case SchemaType.BTC_HEX_BINARY:
-                        writeByteArray(((SimpleValue)value).getByteArrayValue());
-                        break;
-
-                    case SchemaType.BTC_QNAME:
-                    case SchemaType.BTC_NOTATION:
-                        writeQName(((SimpleValue)value).getQNameValue());
-                        break;
-
-                    case SchemaType.BTC_FLOAT:
-                        writeDouble(((SimpleValue)value).getFloatValue());
-                        break;
-
-                    case SchemaType.BTC_DOUBLE:
-                        writeDouble(((SimpleValue)value).getDoubleValue());
-                        break;
-                }
-            }
-        }
-
-        double readDouble()
-        {
-            try
-            {
-                return _input.readDouble();
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        void writeDouble(double d)
-        {
-            if (_output != null)
-            {
-                try
-                {
-                    _output.writeDouble(d);
-                }
-                catch (IOException e)
-                {
-                    throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-                }
-            }
-        }
-
-        QNameSet readQNameSet()
-        {
-            short flag = readShort();
-
-            Set uriSet = new HashSet();
-            short uriCount = readShort();
-            for (int i = 0; i < uriCount; i++)
-                uriSet.add(readString());
-
-            Set qnameSet1 = new HashSet();
-            short qncount1 = readShort();
-            for (int i = 0; i < qncount1; i++)
-                qnameSet1.add(readQName());
-
-            Set qnameSet2 = new HashSet();
-            short qncount2 = readShort();
-            for (int i = 0; i < qncount2; i++)
-                qnameSet2.add(readQName());
-
-            if (flag == 1)
-                return QNameSet.forSets(uriSet, null, qnameSet1, qnameSet2);
-            else
-                return QNameSet.forSets(null, uriSet, qnameSet2, qnameSet1);
-        }
-
-        void writeQNameSet(QNameSet set)
-        {
-            boolean invert = (set.excludedURIs() != null);
-            writeShort(invert ? 1 : 0);
-
-            Set uriSet = invert ? set.excludedURIs() : set.includedURIs();
-            writeShort(uriSet.size());
-            for (Iterator i = uriSet.iterator(); i.hasNext(); )
-                writeString((String)i.next());
-
-            Set qnameSet1 = invert ? set.excludedQNamesInIncludedURIs() : set.includedQNamesInExcludedURIs();
-            writeShort(qnameSet1.size());
-            for (Iterator i = qnameSet1.iterator(); i.hasNext(); )
-                writeQName((QName)i.next());
-
-            Set qnameSet2 = invert ? set.includedQNamesInExcludedURIs() : set.excludedQNamesInIncludedURIs();
-            writeShort(qnameSet2.size());
-            for (Iterator i = qnameSet2.iterator(); i.hasNext(); )
-                writeQName((QName)i.next());
-        }
-
-        byte[] readByteArray()
-        {
-            try
-            {
-                short len = _input.readShort();
-                byte[] result = new byte[len];
-                _input.readFully(result);
-                return result;
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        void writeByteArray(byte[] ba)
-        {
-            try
-            {
-                writeShort(ba.length);
-                if (_output != null)
-                    _output.write(ba);
-            }
-            catch (IOException e)
-            {
-                throw new SchemaTypeLoaderException(e.getMessage(), _name, _handle, SchemaTypeLoaderException.IO_EXCEPTION);
-            }
-        }
-
-        BigInteger readBigInteger()
-        {
-            byte[] result = readByteArray();
-            if (result.length == 0)
-                return null;
-            if (result.length == 1 && result[0] == 0)
-                return BigInteger.ZERO;
-            if (result.length == 1 && result[0] == 1)
-                return BigInteger.ONE;
-            return new BigInteger(result);
-        }
-
-        void writeBigInteger(BigInteger bi)
-        {
-            if (bi == null)
-            {
-                writeShort(0);
-            }
-            else if (bi.signum() == 0)
-            {
-                writeByteArray(SINGLE_ZERO_BYTE);
-            }
-            else
-            {
-                writeByteArray(bi.toByteArray());
-            }
-        }
-
-    }
-
-    static final byte[] SINGLE_ZERO_BYTE = new byte[] { (byte)0 };
-
-    public SchemaType typeForHandle(String handle)
-    {
-        synchronized (_resolvedHandles)
-        {
-            return (SchemaType)_resolvedHandles.get(handle);
-        }
-    }
-
-    public SchemaType typeForClassname(String classname)
-    {
-        SchemaType.Ref ref = (SchemaType.Ref)_typeRefsByClassname.get(classname);
-        return (ref != null) ? ref.get() : null;
-    }
-
-    public SchemaComponent resolveHandle(String handle)
-    {
-        SchemaComponent result;
-
-        synchronized (_resolvedHandles)
-        {
-            result = (SchemaComponent)_resolvedHandles.get(handle);
-        }
-        if (result == null)
-        {
-            XsbReader reader = new XsbReader(handle, -1);
-            int filetype = reader.getActualFiletype();
-            switch (filetype)
-            {
-                case FILETYPE_SCHEMATYPE:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving type for handle " + handle, 0);
-                    result = reader.finishLoadingType();
-                    break;
-                case FILETYPE_SCHEMAELEMENT:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving element for handle " + handle, 0);
-                    result = reader.finishLoadingElement();
-                    break;
-                case FILETYPE_SCHEMAATTRIBUTE:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving attribute for handle " + handle, 0);
-                    result = reader.finishLoadingAttribute();
-                    break;
-                case FILETYPE_SCHEMAMODELGROUP:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving model group for handle " + handle, 0);
-                    result = reader.finishLoadingModelGroup();
-                    break;
-                case FILETYPE_SCHEMAATTRIBUTEGROUP:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving attribute group for handle " + handle, 0);
-                    result = reader.finishLoadingAttributeGroup();
-                    break;
-                case FILETYPE_SCHEMAIDENTITYCONSTRAINT:
-                    XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving id constraint for handle " + handle, 0);
-                    result = reader.finishLoadingIdentityConstraint();
-                    break;
-                default:
-                    throw new IllegalStateException("Illegal handle type");
-            }
-
-            synchronized (_resolvedHandles)
-            {
-                if (!_resolvedHandles.containsKey(handle))
-                    _resolvedHandles.put(handle, result);
-                else
-                    result = (SchemaComponent)_resolvedHandles.get(handle);
-            }
-        }
-        return result;
-    }
-
-    private final Map _resolvedHandles = new HashMap();
-    private boolean _allNonGroupHandlesResolved = false;
-
-    public void resolve()
-    {
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolve called type system " + _name, 0);
-        if (_allNonGroupHandlesResolved)
-            return;
-
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Resolving all handles for type system " + _name, 1);
-
-        List refs = new ArrayList();
-        refs.addAll(_globalElements.values());
-        refs.addAll(_globalAttributes.values());
-        refs.addAll(_globalTypes.values());
-        refs.addAll(_documentTypes.values());
-        refs.addAll(_attributeTypes.values());
-        refs.addAll(_identityConstraints.values());
-
-        for (Iterator i = refs.iterator(); i.hasNext(); )
-        {
-            SchemaComponent.Ref ref = (SchemaComponent.Ref)i.next();
-            ref.getComponent(); // Forces ref to be resolved
-        }
-
-        XBeanDebug.trace(XBeanDebug.TRACE_SCHEMA_LOADING, "Finished resolving type system " + _name, -1);
-        _allNonGroupHandlesResolved = true;
-    }
-
-
-    public boolean isNamespaceDefined(String namespace)
-    {
-        return _namespaces.contains(namespace);
-    }
-
-    public SchemaType.Ref findTypeRef(QName name)
-    {
-        return (SchemaType.Ref)_globalTypes.get(name);
-    }
-
-    public SchemaType.Ref findDocumentTypeRef(QName name)
-    {
-        return (SchemaType.Ref)_documentTypes.get(name);
-    }
-
-    public SchemaType.Ref findAttributeTypeRef(QName name)
-    {
-        return (SchemaType.Ref)_attributeTypes.get(name);
-    }
-
-    public SchemaGlobalElement.Ref findElementRef(QName name)
-    {
-        return (SchemaGlobalElement.Ref)_globalElements.get(name);
-    }
-
-    public SchemaGlobalAttribute.Ref findAttributeRef(QName name)
-    {
-        return (SchemaGlobalAttribute.Ref)_globalAttributes.get(name);
-    }
-
-    public SchemaModelGroup.Ref findModelGroupRef(QName name)
-    {
-        return (SchemaModelGroup.Ref)_modelGroups.get(name);
-    }
-
-    public SchemaAttributeGroup.Ref findAttributeGroupRef(QName name)
-    {
-        return (SchemaAttributeGroup.Ref)_attributeGroups.get(name);
-    }
-
-    public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName name)
-    {
-        return (SchemaIdentityConstraint.Ref)_identityConstraints.get(name);
-    }
-
-    public SchemaType[] globalTypes()
-    {
-        if (_globalTypes.isEmpty())
-            return EMPTY_ST_ARRAY;
-
-        SchemaType[] result = new SchemaType[_globalTypes.size()];
-        int j = 0;
-        for (Iterator i = _globalTypes.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaType[] redefinedGlobalTypes()
-    {
-        if (_redefinedGlobalTypes.isEmpty())
-            return EMPTY_ST_ARRAY;
-
-        SchemaType[] result = new SchemaType[_redefinedGlobalTypes.size()];
-        int j = 0;
-        for (Iterator i = _redefinedGlobalTypes.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType.Ref)i.next()).get();
-        return result;
-    }
-
-    public InputStream getSourceAsStream(String sourceName)
-    {
-        if (!sourceName.startsWith("/"))
-            sourceName = "/" + sourceName;
-
-        return _resourceLoader.getResourceAsStream("schema/src" + sourceName);
-    }
-
-    public SchemaType[] documentTypes()
-    {
-        if (_documentTypes.isEmpty())
-            return EMPTY_ST_ARRAY;
-
-        SchemaType[] result = new SchemaType[_documentTypes.size()];
-        int j = 0;
-        for (Iterator i = _documentTypes.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaType[] attributeTypes()
-    {
-        if (_attributeTypes.isEmpty())
-            return EMPTY_ST_ARRAY;
-
-        SchemaType[] result = new SchemaType[_attributeTypes.size()];
-        int j = 0;
-        for (Iterator i = _attributeTypes.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaGlobalElement[] globalElements()
-    {
-        if (_globalElements.isEmpty())
-            return EMPTY_GE_ARRAY;
-
-        SchemaGlobalElement[] result = new SchemaGlobalElement[_globalElements.size()];
-        int j = 0;
-        for (Iterator i = _globalElements.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaGlobalElement.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaGlobalAttribute[] globalAttributes()
-    {
-        if (_globalAttributes.isEmpty())
-            return EMPTY_GA_ARRAY;
-
-        SchemaGlobalAttribute[] result = new SchemaGlobalAttribute[_globalAttributes.size()];
-        int j = 0;
-        for (Iterator i = _globalAttributes.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaGlobalAttribute.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaModelGroup[] modelGroups()
-    {
-        if (_modelGroups.isEmpty())
-            return EMPTY_MG_ARRAY;
-
-        SchemaModelGroup[] result = new SchemaModelGroup[_modelGroups.size()];
-        int j = 0;
-        for (Iterator i = _modelGroups.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaModelGroup.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaModelGroup[] redefinedModelGroups()
-    {
-        if (_redefinedModelGroups.isEmpty())
-            return EMPTY_MG_ARRAY;
-
-        SchemaModelGroup[] result = new SchemaModelGroup[_redefinedModelGroups.size()];
-        int j = 0;
-        for (Iterator i = _redefinedModelGroups.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaModelGroup.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaAttributeGroup[] attributeGroups()
-    {
-        if (_attributeGroups.isEmpty())
-            return EMPTY_AG_ARRAY;
-
-        SchemaAttributeGroup[] result = new SchemaAttributeGroup[_attributeGroups.size()];
-        int j = 0;
-        for (Iterator i = _attributeGroups.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaAttributeGroup.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaAttributeGroup[] redefinedAttributeGroups()
-    {
-        if (_redefinedAttributeGroups.isEmpty())
-            return EMPTY_AG_ARRAY;
-
-        SchemaAttributeGroup[] result = new SchemaAttributeGroup[_redefinedAttributeGroups.size()];
-        int j = 0;
-        for (Iterator i = _redefinedAttributeGroups.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaAttributeGroup.Ref)i.next()).get();
-        return result;
-    }
-
-    public SchemaAnnotation[] annotations()
-    {
-        if (_annotations.isEmpty())
-            return EMPTY_ANN_ARRAY;
-
-        SchemaAnnotation[] result = new SchemaAnnotation[_annotations.size()];
-        result = (SchemaAnnotation[]) _annotations.toArray(result);
-        return result;
-    }
-
-    public SchemaIdentityConstraint[] identityConstraints()
-    {
-        if (_identityConstraints.isEmpty())
-            return EMPTY_IC_ARRAY;
-
-        SchemaIdentityConstraint[] result = new SchemaIdentityConstraint[_identityConstraints.size()];
-        int j = 0;
-        for (Iterator i = _identityConstraints.values().iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaIdentityConstraint.Ref)i.next()).get();
-        return result;
-    }
-
-    public ClassLoader getClassLoader()
-    {
-        return _classloader;
-    }
-
-    /**
-     * Used INTERNALLY ONLY by the code output AFTER the type system has
-     * been saved and a handle has been established for each type.
-     */
-    public String handleForType(SchemaType type)
-    {
-        return _localHandles.handleForType(type);
-    }
-
-    public String getName()
-    {
-        return _name;
-    }
-
-    public SchemaTypeSystem typeSystemForName(String name)
-    {
-        if (_name != null && name.equals(_name))
-            return this;
-        return null;
-    }
-}
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeVisitorImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeVisitorImpl.java
deleted file mode 100644
index 8bbdb40..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeVisitorImpl.java
+++ /dev/null
@@ -1,491 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.impl.values.TypeStoreVisitor;
-import org.apache.xmlbeans.impl.values.TypeStore;
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.SchemaField;
-
-import java.util.Arrays;
-
-/**
- * This state machine validates element order based on a deterministic
- * content model.
- */
-public class SchemaTypeVisitorImpl implements TypeStoreVisitor
-{
-    /**
-     * Construct it by passing the root of the content model.
-     */
-    public SchemaTypeVisitorImpl(SchemaParticle part)
-    {
-        init(part);
-    }
-
-    public SchemaTypeVisitorImpl()
-    {
-
-    }
-
-    public void init(SchemaParticle part)
-    {
-        if (_stack == null)
-        {
-            _stack = expand(null);
-        }
-        if (_rollback == null)
-        {
-            _rollback = expand(null);
-        }
-
-        _stackSize = 0;
-        _rollbackSize = 0;
-
-        if (part != null)
-        {
-            push(part);
-            _rollbackIndex = 1;
-        }
-    }
-
-    public VisitorState[] expand(VisitorState[] orig)
-    {
-        int newsize = (orig == null ? 4 : orig.length * 2);
-        VisitorState[] result = new VisitorState[newsize];
-        if (orig != null)
-            System.arraycopy(orig, 0, result, 0, orig.length);
-        for (int i = (orig == null ? 0 : orig.length); i < newsize; i++)
-        {
-            result[i] = new VisitorState();
-        }
-        return result;
-    }
-
-
-    final static boolean PROBE_VALIDITY = true;
-    final static boolean CHECK_VALIDITY = false;
-
-    private VisitorState[] _stack;
-    private VisitorState[] _rollback;
-    int _stackSize;
-    int _rollbackSize;
-    private boolean _isValid;
-    private SchemaParticle _matchedParticle;
-    private VisitorState _top;
-    private int _rollbackIndex;
-
-    private static class VisitorState
-    {
-        public void copy(VisitorState orig)
-        {
-            _curPart = orig._curPart;
-            _curCount = orig._curCount;
-            _curMin = orig._curMin;
-            _curMax = orig._curMax;
-            _processedChildCount = orig._processedChildCount;
-            _childCount = orig._childCount;
-            _seen = orig._seen;
-        }
-
-        public void init(SchemaParticle part)
-        {
-            _curPart = part;
-            _curMin = part.getIntMinOccurs();
-            _curMax = part.getIntMaxOccurs();
-            _curCount = 0;
-            _processedChildCount = 0;
-            _childCount = part.countOfParticleChild();
-            _seen = part.getParticleType() == SchemaParticle.ALL ?
-                        new boolean[_childCount] : null;
-        }
-
-        SchemaParticle _curPart;
-        int _curCount;
-        int _curMax;
-        int _curMin;
-        int _processedChildCount;
-        int _childCount;
-        boolean[] _seen;
-    }
-
-    VisitorState topRef()
-    {
-        return _stack[_stackSize - 1];
-    }
-
-    void saveCopy(VisitorState ref)
-    {
-        if (_rollback.length == _rollbackSize)
-            _rollback = expand(_rollback);
-
-        _rollback[_rollbackSize].copy(ref);
-        _rollbackSize += 1;
-    }
-
-    void addParticle(SchemaParticle part)
-    {
-        if (_stack.length == _stackSize)
-            _stack = expand(_stack);
-        _stack[_stackSize].init(part);
-        _stackSize += 1;
-    }
-
-    /**
-     * Precondition:
-     * stack:    (R1 R2 R3 R4)
-     * top:      null or discardable due to pop in progress
-     * rollback: (R8 R7 R6 R5) (empty at the start of "visit")
-     *
-     * Postcondition:
-     * stack:    (R1 R2 R3)
-     * top:      D4 = mutable copy of R4
-     * rollback  (R8 R7 R6 R5 R4)
-     */
-    boolean prepare()
-    {
-        if (_rollbackIndex == 0)
-        {
-            _top = null;
-            return false;
-        }
-
-        _top = topRef();
-        saveCopy(_top);
-        _rollbackIndex = _stackSize - 1;
-        return true;
-    }
-
-    /**
-     * Precondition:
-     * stack:    (R1 R2 R3 R4 D5 D6)
-     * top:      D7
-     * rollback: (R8 R7 R6 R5)
-     *
-     * Postcondition:
-     * stack:    (R1 R2 R3 R4 D5 D6 D7)
-     * top:      D8 = new state based on part
-     * rollback  (R8 R7 R6 R5)
-     */
-    void push(SchemaParticle part)
-    {
-        addParticle(part);
-        _top = topRef();
-    }
-
-    /**
-     * Precondition:
-     * stack:    (R1 R2 R3 R4 D5 D6)
-     * top:      D7 is discardable
-     * rollback: (R8 R7 R6 R5)
-     *
-     * Postcondition:
-     * stack:    (R1 R2 R3 R4 D5)
-     * top:      D6 (see prepare in case it's an R state)
-     * rollback  (R8 R7 R6 R5)
-     */
-    boolean pop()
-    {
-        _stackSize -= 1;
-        if (_stackSize <= _rollbackIndex)
-            return prepare();
-        _top = topRef();
-        return true;
-    }
-
-    /**
-     * Precondition:
-     * stack:    (R1 R2 R3 R4 D5 D6)
-     * top:      D7
-     * rollback: (R8 R7 R6 R5)
-     *
-     * Postcondition:
-     * stack:    (R1 R2 R3 R4 D5 D6 D7) -> and rename to D's to R's
-     * top:      null
-     * rollback  ()
-     */
-    void commit()
-    {
-        _top = null;
-        _rollbackIndex = _stackSize;
-        _rollbackSize = 0;
-    }
-
-    /**
-     * Precondition:
-     * stack:    (R1 R2 R3 R4 D5 D6)
-     * top:      D7 is discardable
-     * rollback: (R8 R7 R6 R5)
-     *
-     * Postcondition:
-     * stack:    (R1 R2 R3 R4 R5 R6 R7 R8)
-     * top:      null
-     * rollback  ()
-     */
-    void rollback()
-    {
-        while (_rollbackSize > 0)
-        {
-            _rollbackSize -= 1;
-            VisitorState temp = _stack[_rollbackIndex];
-            _stack[_rollbackIndex] = _rollback[_rollbackSize];
-            _rollback[_rollbackSize] = temp;
-            _rollbackIndex += 1;
-        }
-        _stackSize = _rollbackIndex;
-        _top = null;
-    }
-
-    /**
-     * When no valid next state can be found, then "notValid"
-     * is returned. It rolls back any changes to the state
-     * machine stack, sets to false the valid bit, and clears
-     * the matched element state before returning false.
-     */
-    boolean notValid()
-    {
-        _isValid = false;
-        _matchedParticle = null;
-        rollback();
-        return false;
-    }
-
-    /**
-     * When a valid state transition has been done, then "ok"
-     * is returned. It commits the changed state machine state,
-     * stores the matched element state, and returns true.
-     */
-    boolean ok(SchemaParticle part, boolean testValidity)
-    {
-        if ( ! testValidity )
-        {
-            _matchedParticle = part;
-            commit();
-        }
-        else
-        {
-            rollback();
-        }
-        return true;
-    }
-
-    /*== VISITOR IMPLEMENTATION ==*/
-
-    /**
-     * Traverses a deterministic content model, checking for
-     * validity at any given point.
-     *
-     * Call visit(null) once at the end if you're checking for
-     * complete validity of the sequence of elements.
-     *
-     * This is a wrapper for the actual visit implementation.
-     */
-    public boolean visit(QName eltName)
-    {
-      return visit(eltName, CHECK_VALIDITY);
-    }
-
-    /**
-     * The actual implementation that
-     * traverses a deterministic content model, checking for
-     * validity at any given point.
-     *
-     * When testValidity is false then this method will change states
-     * if the current state is valid
-     *
-     * When testValidity is true then this method will not change states
-     * and will return if a particular state is valid or invalid
-     */
-
-    public boolean visit(QName eltName ,boolean testValidity)
-    {
-        if (!prepare())
-            return notValid();
-
-        traversing: for (;;)
-        {
-            while (_top._curCount >= _top._curMax)
-            {
-                if (!pop())
-                    break traversing;
-            }
-
-            minmax: switch (_top._curPart.getParticleType())
-            {
-                default:
-                    assert(false);
-
-                case SchemaParticle.WILDCARD:
-                    if (!_top._curPart.canStartWithElement(eltName))
-                    {
-                        if (_top._curCount < _top._curMin)
-                            return notValid();
-                        break minmax;
-                    }
-                    _top._curCount++;
-                    return ok(_top._curPart, testValidity);
-
-                case SchemaParticle.ELEMENT:
-                    if (!_top._curPart.canStartWithElement(eltName))
-                    {
-                        if (_top._curCount < _top._curMin)
-                            return notValid();
-                        break minmax;
-                    }
-                    _top._curCount++;
-                    return ok(_top._curPart, testValidity);
-
-                case SchemaParticle.SEQUENCE:
-                    for (int i = _top._processedChildCount; i < _top._childCount; i++)
-                    {
-                        SchemaParticle candidate = _top._curPart.getParticleChild(i);
-                        if (candidate.canStartWithElement(eltName))
-                        {
-                            _top._processedChildCount = i + 1;
-                            push(candidate);
-                            continue traversing;
-                        }
-                        if (!candidate.isSkippable())
-                        {
-                            if (_top._processedChildCount != 0 || _top._curCount < _top._curMin)
-                                return notValid();
-                            break minmax;
-                        }
-                    }
-                    _top._curCount++;
-                    _top._processedChildCount = 0;
-                    continue traversing;
-
-                case SchemaParticle.CHOICE:
-                    for (int i = 0; i < _top._childCount; i++)
-                    {
-                        SchemaParticle candidate = _top._curPart.getParticleChild(i);
-                        if (candidate.canStartWithElement(eltName))
-                        {
-                            _top._curCount++;
-                            push(candidate);
-                            continue traversing;
-                        }
-                    }
-                    if (_top._curCount < _top._curMin && !_top._curPart.isSkippable())
-                        return notValid();
-                    break minmax;
-
-                case SchemaParticle.ALL:
-
-                    int skipped = _top._processedChildCount;
-                    allscan: for (int i = 0; i < _top._childCount; i++)
-                    {
-                        if (_top._seen[i])
-                            continue allscan;
-
-                        SchemaParticle candidate = _top._curPart.getParticleChild(i);
-                        if (candidate.canStartWithElement(eltName))
-                        {
-                            _top._processedChildCount++;
-                            _top._seen[i] = true;
-                            push(candidate);
-                            continue traversing;
-                        }
-                        else if (candidate.isSkippable())
-                        {
-                            skipped += 1;
-                        }
-                    }
-                    if (skipped < _top._childCount)
-                    {
-                        if (_top._curCount < _top._curMin)
-                            return notValid();
-                        break minmax;
-                    }
-                    _top._curCount++;
-                    _top._processedChildCount = 0;
-                    Arrays.fill(_top._seen, false);
-                    continue traversing;
-            }
-
-            // somebody called "break minmax", so pop out of loop
-            if (!pop())
-                break traversing;
-        }
-
-        // we've completed the outermost loop
-        if (eltName == null)
-            return ok(null, testValidity);
-
-        // this means we have extra elements at the end
-        return notValid();
-    }
-
-    public boolean testValid(QName eltName)
-    {
-      return visit(eltName,PROBE_VALIDITY);
-    }
-
-    /**
-     * Constructs elementflags
-     */
-    public int get_elementflags()
-    {
-        if (currentParticle() == null || currentParticle().getParticleType() != SchemaParticle.ELEMENT)
-            return 0;
-
-        SchemaLocalElement elt = (SchemaLocalElement)currentParticle();
-
-        return (elt.isNillable() ? TypeStore.NILLABLE : 0) |
-               (elt.isDefault() ? TypeStore.HASDEFAULT : 0) |
-               (elt.isFixed() ? TypeStore.FIXED : 0);
-    }
-
-    /**
-     * Returns default text
-     */
-    public String get_default_text()
-    {
-        if (currentParticle() == null || currentParticle().getParticleType() != SchemaParticle.ELEMENT)
-            return null;
-
-        return ((SchemaLocalElement)currentParticle()).getDefaultText();
-    }
-
-    /**
-     * Returns the schema field for this field.
-     */
-    public SchemaField get_schema_field() {
-        if (currentParticle() instanceof SchemaField)
-            return (SchemaField)currentParticle();
-        
-        return null;
-    }
-
-    /**
-     * Returns the current schema element
-     */
-    public SchemaParticle currentParticle()
-    {
-        return _matchedParticle;
-    }
-
-    /**
-     * Returns true if the entire content up to now is valid.
-     */
-    public boolean isAllValid()
-    {
-        return _isValid;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SoapEncSchemaTypeSystem.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SoapEncSchemaTypeSystem.java
deleted file mode 100644
index 3d60191..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/SoapEncSchemaTypeSystem.java
+++ /dev/null
@@ -1,337 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.io.InputStream;
-import java.io.File;
-import java.math.BigInteger;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Collections;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaAnnotation;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlObject;
-
-public class SoapEncSchemaTypeSystem extends SchemaTypeLoaderBase
-    implements SchemaTypeSystem
-{
-    public static final String SOAPENC = "http://schemas.xmlsoap.org/soap/encoding/";
-    public static final String SOAP_ARRAY = "Array";
-    public static final String ARRAY_TYPE = "arrayType";
-    private static final String ATTR_ID = "id";
-    private static final String ATTR_HREF = "href";
-    private static final String ATTR_OFFSET = "offset";
-
-    private static final SchemaType[] EMPTY_SCHEMATYPE_ARRAY = new SchemaType[0];
-    private static final SchemaGlobalElement[] EMPTY_SCHEMAELEMENT_ARRAY = new SchemaGlobalElement[0];
-    private static final SchemaModelGroup[] EMPTY_SCHEMAMODELGROUP_ARRAY = new SchemaModelGroup[0];
-    private static final SchemaAttributeGroup[] EMPTY_SCHEMAATTRIBUTEGROUP_ARRAY = new SchemaAttributeGroup[0];
-    private static final SchemaAnnotation[] EMPTY_SCHEMAANNOTATION_ARRAY = new SchemaAnnotation[0];
-
-    // The global builtin type system
-    public static SchemaTypeSystem get()
-    {   return _global; }
-
-    private static SoapEncSchemaTypeSystem _global = new SoapEncSchemaTypeSystem();
-
-    private SchemaTypeImpl soapArray;
-    private SchemaGlobalAttributeImpl arrayType;
-    private Map _handlesToObjects = new HashMap();
-    private String soapArrayHandle;
-
-    private SoapEncSchemaTypeSystem()
-    {
-        // soapenc:Array
-        soapArray = new SchemaTypeImpl(this, true);
-        soapArray.setName(new QName(SOAPENC, SOAP_ARRAY));
-        soapArrayHandle = SOAP_ARRAY.toLowerCase() + "type";
-        soapArray.setComplexTypeVariety(SchemaType.ELEMENT_CONTENT);
-        soapArray.setBaseTypeRef(BuiltinSchemaTypeSystem.ST_ANY_TYPE.getRef());
-        soapArray.setBaseDepth(1);
-        soapArray.setDerivationType(SchemaType.DT_EXTENSION);
-        soapArray.setSimpleTypeVariety(SchemaType.NOT_SIMPLE);
-        SchemaParticleImpl contentModel = new SchemaParticleImpl();
-        contentModel.setParticleType(SchemaParticle.SEQUENCE);
-        contentModel.setMinOccurs(BigInteger.ZERO);
-        contentModel.setMaxOccurs(BigInteger.ONE);
-        contentModel.setTransitionRules(QNameSet.ALL, true);
-        SchemaParticleImpl[] children = new SchemaParticleImpl[1];
-        contentModel.setParticleChildren(children);
-        SchemaParticleImpl contentModel2 = new SchemaParticleImpl();
-        contentModel2.setParticleType(SchemaParticle.WILDCARD);
-        contentModel2.setWildcardSet(QNameSet.ALL);
-        contentModel2.setWildcardProcess(SchemaParticle.LAX);
-        contentModel2.setMinOccurs(BigInteger.ZERO);
-        contentModel2.setMaxOccurs(null);
-        contentModel2.setTransitionRules(QNameSet.ALL, true);
-        children[0] = contentModel2;
-
-        SchemaAttributeModelImpl attrModel = new SchemaAttributeModelImpl();
-        attrModel.setWildcardProcess(SchemaAttributeModel.LAX);
-        HashSet excludedURI = new HashSet();
-        excludedURI.add(SOAPENC);
-        attrModel.setWildcardSet(QNameSet.forSets(excludedURI, null, Collections.EMPTY_SET,
-                Collections.EMPTY_SET));
-        SchemaLocalAttributeImpl attr = new SchemaLocalAttributeImpl();
-        attr.init(new QName("", ATTR_ID), BuiltinSchemaTypeSystem.ST_ID.getRef(),
-            SchemaLocalAttribute.OPTIONAL, null, null, null, false, null, null);
-        attrModel.addAttribute(attr);
-        attr = new SchemaLocalAttributeImpl();
-        attr.init(new QName("", ATTR_HREF), BuiltinSchemaTypeSystem.ST_ANY_URI.getRef(),
-            SchemaLocalAttributeImpl.OPTIONAL, null, null, null, false, null, null);
-        attrModel.addAttribute(attr);
-        attr = new SchemaLocalAttributeImpl();
-        attr.init(new QName(SOAPENC, ARRAY_TYPE), BuiltinSchemaTypeSystem.ST_STRING.getRef(),
-            SchemaLocalAttributeImpl.OPTIONAL, null, null, null, false, null, null);
-        attrModel.addAttribute(attr);
-        attr = new SchemaLocalAttributeImpl();
-        attr.init(new QName(SOAPENC, ATTR_OFFSET), BuiltinSchemaTypeSystem.ST_STRING.getRef(),
-            SchemaLocalAttributeImpl.OPTIONAL, null, null, null, false, null, null);
-        attrModel.addAttribute(attr);
-        soapArray.setContentModel(contentModel, attrModel, Collections.EMPTY_MAP, Collections.EMPTY_MAP, false);
-
-        // soapenc:arrayType
-        arrayType = new SchemaGlobalAttributeImpl(this);
-        arrayType.init(new QName(SOAPENC, ARRAY_TYPE), BuiltinSchemaTypeSystem.ST_STRING.getRef(),
-            SchemaLocalAttributeImpl.OPTIONAL, null, null, null, false, null, null);
-        _handlesToObjects.put(soapArrayHandle, soapArray);
-        _handlesToObjects.put(ARRAY_TYPE.toLowerCase() + "attribute", arrayType);
-    }
-
-    /**
-     * Returns the name of this loader.
-     */
-    public String getName()
-    {
-        return "schema.typesystem.soapenc.builtin";
-    }
-
-    public SchemaType findType(QName qName)
-    {
-        if (SOAPENC.equals(qName.getNamespaceURI()) &&
-            SOAP_ARRAY.equals(qName.getLocalPart()))
-            return soapArray;
-        else
-            return null;
-    }
-
-    public SchemaType findDocumentType(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaType findAttributeType(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaGlobalElement findElement(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaGlobalAttribute findAttribute(QName qName)
-    {
-        if (SOAPENC.equals(qName.getNamespaceURI()) &&
-            ARRAY_TYPE.equals(qName.getLocalPart()))
-            return arrayType;
-        else
-            return null;
-    }
-
-    public SchemaModelGroup findModelGroup(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaAttributeGroup findAttributeGroup(QName qName)
-    {
-        return null;
-    }
-
-    public boolean isNamespaceDefined(String string)
-    {
-        return SOAPENC.equals(string);
-    }
-
-    public SchemaType.Ref findTypeRef(QName qName)
-    {
-        SchemaType type = findType(qName);
-        return (type == null ? null : type.getRef());
-    }
-
-    public SchemaType.Ref findDocumentTypeRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaType.Ref findAttributeTypeRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaGlobalElement.Ref findElementRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaGlobalAttribute.Ref findAttributeRef(QName qName)
-    {
-        SchemaGlobalAttribute attr = findAttribute(qName);
-        return (attr == null ? null : attr.getRef());
-    }
-
-    public SchemaModelGroup.Ref findModelGroupRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaAttributeGroup.Ref findAttributeGroupRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName qName)
-    {
-        return null;
-    }
-
-    public SchemaType typeForClassname(String string)
-    {
-        return null;
-    }
-
-    public InputStream getSourceAsStream(String string)
-    {
-        return null;            // no source
-    }
-
-    /**
-     * Returns the classloader used by this loader for resolving types.
-     */
-    public ClassLoader getClassLoader()
-    {
-        return SoapEncSchemaTypeSystem.class.getClassLoader();
-    }
-
-    /**
-     * Describe <code>resolve</code> method here.
-     *
-     */
-    public void resolve()
-    {
-                                // don't need to do anything; already resolved
-    }
-
-    /**
-     * @return an array consisting of a single type
-     */
-    public SchemaType[] globalTypes()
-    {
-        return new SchemaType[] {soapArray};
-    }
-
-    public SchemaType[] documentTypes()
-    {
-        return EMPTY_SCHEMATYPE_ARRAY;
-    }
-
-    public SchemaType[] attributeTypes()
-    {
-        return EMPTY_SCHEMATYPE_ARRAY;
-    }
-
-    public SchemaGlobalElement[] globalElements()
-    {
-        return EMPTY_SCHEMAELEMENT_ARRAY;
-    }
-
-    public SchemaGlobalAttribute[] globalAttributes()
-    {
-        return new SchemaGlobalAttribute[] {arrayType};
-    }
-
-    public SchemaModelGroup[] modelGroups()
-    {
-        return EMPTY_SCHEMAMODELGROUP_ARRAY;
-    }
-
-    public SchemaAttributeGroup[] attributeGroups()
-    {
-        return EMPTY_SCHEMAATTRIBUTEGROUP_ARRAY;
-    }
-
-    public SchemaAnnotation[] annotations()
-    {
-        return EMPTY_SCHEMAANNOTATION_ARRAY;
-    }
-
-    /**
-     * Returns the handle for the given type within this loader.
-     */
-    public String handleForType(SchemaType type)
-    {
-        if (soapArray.equals(type))
-            return soapArrayHandle;
-        else
-            return null;
-    }
-
-    /**
-     * 
-     */
-    public SchemaComponent resolveHandle(String string)
-    {
-        return (SchemaComponent) _handlesToObjects.get(string);
-    }
-
-    /**
-     *
-     */
-    public SchemaType typeForHandle(String string)
-    {
-        return (SchemaType) _handlesToObjects.get(string);
-    }
-
-    /**
-     * Describe <code>saveToDirectory</code> method here.
-     *
-     * @param file a <code>File</code> value
-     */
-    public void saveToDirectory(File file)
-    {
-        throw new UnsupportedOperationException("The builtin soap encoding schema type system cannot be saved.");
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscChecker.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscChecker.java
deleted file mode 100644
index 344daec..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscChecker.java
+++ /dev/null
@@ -1,1573 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.XmlID;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.XBeanDebug;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.QName;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Set;
-import java.math.BigInteger;
-
-public class StscChecker
-{
-    public static void checkAll()
-    {
-        // walk the tree of types
-        StscState state = StscState.get();
-
-        List allSeenTypes = new ArrayList();
-        allSeenTypes.addAll(Arrays.asList(state.documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.redefinedGlobalTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.globalTypes()));
-
-        for (int i = 0; i < allSeenTypes.size(); i++)
-        {
-            SchemaType gType = (SchemaType)allSeenTypes.get(i);
-            if (!state.noPvr() &&  // option to turn off particle restriction checking
-                !gType.isDocumentType()) // Don't check doc types for restriction. 
-            {
-                checkRestriction((SchemaTypeImpl)gType);
-            }
-            checkFields((SchemaTypeImpl)gType);
-            allSeenTypes.addAll(Arrays.asList(gType.getAnonymousTypes()));
-        }
-
-        checkSubstitutionGroups(state.globalElements());
-    }
-    
-    /**
-     * The following code checks rule #5 of http://www.w3.org/TR/xmlschema-1/#coss-ct
-     * as well as attribute + element default/fixed validity.
-     */
-    public static void checkFields(SchemaTypeImpl sType)
-    {
-        if (sType.isSimpleType())
-            return;
-        
-        XmlObject location = sType.getParseObject();
-        
-        SchemaAttributeModel sAttrModel = sType.getAttributeModel();
-        if (sAttrModel != null)
-        {
-            SchemaLocalAttribute[] sAttrs  = sAttrModel.getAttributes();
-            QName idAttr = null;
-            for (int i = 0; i < sAttrs.length; i++)
-            {
-                if (XmlID.type.isAssignableFrom(sAttrs[i].getType()))
-                {
-                    if (idAttr == null)
-                        idAttr = sAttrs[i].getName();
-                    else
-                        StscState.get().error("Both " + QNameHelper.pretty(idAttr) + " and " + sAttrs[i].getName() + " are xs:ID attributes; only one ID attribute is allowed on a type.", XmlErrorContext.GENERIC_ERROR, location);
-                    if (sAttrs[i].getDefaultText() != null)
-                        StscState.get().error("An attribute of type xs:ID is not allowed to have a default or fixed constraint.", XmlErrorContext.GENERIC_ERROR, location);
-                }
-                else
-                {
-                    String valueConstraint = sAttrs[i].getDefaultText();
-                    if (valueConstraint != null)
-                    {
-                        try
-                        {
-                            XmlAnySimpleType val = sAttrs[i].getDefaultValue();
-                            if (!val.validate())
-                                throw new Exception();
-                            
-                            SchemaPropertyImpl sProp = (SchemaPropertyImpl)sType.getAttributeProperty(sAttrs[i].getName());
-                            if (sProp != null && sProp.getDefaultText() != null)
-                            {
-                                sProp.setDefaultValue(new XmlValueRef(val));
-                            }
-                        }
-                        catch (Exception e)
-                        {
-                            if (sAttrs[i].isFixed())
-                                StscState.get().error("The " + QNameHelper.pretty(sAttrs[i].getName()) + " element fixed value '" + valueConstraint + "' is not a valid value for " + QNameHelper.readable(sAttrs[i].getType()), XmlErrorContext.GENERIC_ERROR, location);
-                            else
-                                StscState.get().error("The " + QNameHelper.pretty(sAttrs[i].getName()) + " element default value '" + valueConstraint + "' is not a valid value for " + QNameHelper.readable(sAttrs[i].getType()), XmlErrorContext.GENERIC_ERROR, location);
-                        }
-                    }
-                }
-            }
-        }
-        
-        checkElementDefaults(sType.getContentModel(), location, sType);
-    }
-    
-    private static void checkElementDefaults(SchemaParticle model, XmlObject location, SchemaType parentType)
-    {
-        if (model == null)
-            return;
-        switch (model.getParticleType())
-        {
-            case SchemaParticle.SEQUENCE:
-            case SchemaParticle.CHOICE:
-            case SchemaParticle.ALL:
-                SchemaParticle[] children = model.getParticleChildren();
-                for (int i = 0; i < children.length; i++)
-                {
-                    checkElementDefaults(children[i], location, parentType);
-                }
-                break;
-           case SchemaParticle.ELEMENT:
-                String valueConstraint = model.getDefaultText();
-                if (valueConstraint != null)
-                {
-                    if (model.getType().isSimpleType() || model.getType().getContentType() == SchemaType.SIMPLE_CONTENT)
-                    {
-                        try
-                        {
-                            XmlAnySimpleType val = model.getDefaultValue();
-                            if (!val.validate())
-                                throw new Exception();
-                            
-                            SchemaPropertyImpl sProp = (SchemaPropertyImpl)parentType.getElementProperty(model.getName());
-                            if (sProp != null && sProp.getDefaultText() != null)
-                            {
-                                sProp.setDefaultValue(new XmlValueRef(val));
-                            }
-                        }
-                        catch (Exception e)
-                        {
-                            if (model.isFixed())
-                                StscState.get().error("The " + QNameHelper.pretty(model.getName()) + " element fixed value '" + valueConstraint + "' is not a valid value for " + QNameHelper.readable(model.getType()), XmlErrorContext.GENERIC_ERROR, location);
-                            else
-                                StscState.get().error("The " + QNameHelper.pretty(model.getName()) + " element default value '" + valueConstraint + "' is not a valid value for " + QNameHelper.readable(model.getType()), XmlErrorContext.GENERIC_ERROR, location);
-                        }
-                    }
-                    else if (model.getType().getContentType() == SchemaType.ELEMENT_CONTENT)
-                    {
-                        StscState.get().error("The " + QNameHelper.pretty(model.getName()) + " element cannot have a default value '" + valueConstraint + "' because its type has element content only.", XmlErrorContext.GENERIC_ERROR, location);
-                    }
-                    else if (model.getType().getContentType() == SchemaType.EMPTY_CONTENT)
-                    {
-                        StscState.get().error("The " + QNameHelper.pretty(model.getName()) + " element cannot have a default value '" + valueConstraint + "' because its type has empty content only.", XmlErrorContext.GENERIC_ERROR, location);
-                    }
-                }
-                break;
-                
-           default:
-                // nothing to do.
-                break;
-        }
-    }
-    
-    /**
-     * The following code only checks rule #5 of http://www.w3.org/TR/xmlschema-1/#derivation-ok-restriction
-     *  (Everything else can and should be done in StscResolver, because we can give more detailed line # info there
-     */
-    public static boolean checkRestriction(SchemaTypeImpl sType)
-    {
-        if (sType.getDerivationType() == SchemaType.DT_RESTRICTION && !sType.isSimpleType())
-        {
-            StscState state = StscState.get();
-            
-            // we don't remember very precise line number information, but it's better than nothin.
-            XmlObject location = sType.getParseObject();
-        
-            SchemaType baseType = sType.getBaseType();
-            if (baseType.isSimpleType())
-            {
-                state.error("The base type of a complex type restriction must be a complex type.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                return false;
-            }
-            
-            // 5 The appropriate case among the following must be true:
-            switch (sType.getContentType())
-            {
-                case SchemaType.SIMPLE_CONTENT:
-                    // 5.1 If the {content type} of the complex type definition is a simple type definition, then one of the following must be true:
-                    switch (baseType.getContentType())
-                    {
-                        case SchemaType.SIMPLE_CONTENT:
-                            // 5.1.1 The {content type} of the {base type definition} must be a simple type definition of which the {content type} is a ·valid restriction· as defined in Derivation Valid (Restriction, Simple) (§3.14.6).
-                            // todo: we don't allow the content type to be an "on the side" simple type, so nothing fancy to check here
-                            break;
-                            
-                        case SchemaType.MIXED_CONTENT:
-                            // 5.1.2 The {base type definition} must be mixed and have a particle which is ·emptiable· as defined in Particle Emptiable (§3.9.6).
-                            if (baseType.getContentModel() != null && !baseType.getContentModel().isSkippable())
-                            {
-                                state.error("A type with a simple content model can only restrict a mixed content model that has skippable elements.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                                return false;
-                            }
-                            break;
-                            
-                        default:
-                            state.error("A type with a simple content model can only restrict a simple or mixed content model.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                            return false;
-                    }
-                    break;
-                    
-                case SchemaType.EMPTY_CONTENT:
-                    // 5.2 If the {content type} of the complex type itself is empty , then one of the following must be true:
-                    switch (baseType.getContentType())
-                    {
-                        case SchemaType.EMPTY_CONTENT:
-                            // 5.2.1 The {content type} of the {base type definition} must also be empty.
-                            break;
-                        case SchemaType.MIXED_CONTENT:
-                        case SchemaType.ELEMENT_CONTENT:
-                            // 5.2.2 The {content type} of the {base type definition} must be elementOnly or mixed and have a particle which is ·emptiable· as defined in Particle Emptiable (§3.9.6).
-                            if (baseType.getContentModel() != null && !baseType.getContentModel().isSkippable())
-                            {
-                                state.error("A type with an empty content model can only restrict a content model that has skippable elements.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                                return false;
-                            }
-                            break;
-                        default:                            
-                            state.error("A type with an empty content model cannot restrict a type with a simple content model.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                            return false;
-                    }
-                    break;
-                    
-                case SchemaType.MIXED_CONTENT:
-                    // 5.3 If the {content type} of the {base type definition} is mixed...
-                    if (baseType.getContentType() != SchemaType.MIXED_CONTENT)
-                    {
-                        state.error("A type with a mixed content model can only restrict another type with a mixed content model.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                        return false;
-                    }
-                    
-                    // FALLTHROUGH
-                case SchemaType.ELEMENT_CONTENT:
-                    // 5.3 ... or the {content type} of the complex type definition itself is element-only,...
-                    if (baseType.getContentType() == SchemaType.EMPTY_CONTENT)
-                    {
-                        state.error("A type with element or mixed content cannot restrict an empty type.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                        return false;
-                    }
-                    if (baseType.getContentType() == SchemaType.SIMPLE_CONTENT)
-                    {
-                        state.error("A type with element or mixed content cannot restrict a simple type.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                        return false;
-                    }
-                    
-                    // 5.3 ... then the particle of the complex type definition itself must be a ·valid restriction· of the particle of the {content type} of the {base type definition}
-                    SchemaParticle baseModel = baseType.getContentModel();
-                    SchemaParticle derivedModel = sType.getContentModel();
-                    assert(baseModel != null && derivedModel != null);
-                    if (baseModel == null || derivedModel == null)
-                    {
-                        XBeanDebug.logStackTrace("Null models that weren't caught by EMPTY_CONTENT: " + baseType + " (" + baseModel + "), " + sType + " (" + derivedModel + ")");
-                        state.error("Illegal restriction.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                        return false;
-                    }
-                    
-                    // 5.3 ...  as defined in Particle Valid (Restriction) (§3.9.6).
-                    List errors = new ArrayList();
-                    boolean isValid = isParticleValidRestriction(baseModel, derivedModel, errors, location);
-                    if (!isValid)
-                    {
-                        // we only add the last error, because isParticleValidRestriction may add errors
-                        // to the collection that it later changes its mind about, or it may (inadvertently)
-                        // forget to describe an error into the collection....
-                        if (errors.size() == 0)
-                            state.error("Invalid restriction.", XmlErrorContext.ILLEGAL_RESTRICTION, location);
-                        else
-                            state.getErrorListener().add(errors.get(errors.size() - 1));
-                    }
-            }
-        }
-        return true;
-    }
-    
-    /**
-     * This function takes in two schema particle types, a baseModel, and a derived model and returns true if the
-     * derivedModel can be egitimately be used for restriction.  Errors are put into the errors collections.
-     * @param baseModel - The base schema particle
-     * @param derivedModel - The derived (restricted) schema particle
-     * @param errors - Invalid restriction errors are put into this collection
-     * @param context
-     * @return boolean, true if valid restruction, false if invalid restriction
-     * @
-     */
-    public static boolean isParticleValidRestriction(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context)  {
-        boolean restrictionValid = false;
-        // 1 They are the same particle.
-        if (baseModel.equals(derivedModel)) {
-            restrictionValid = true;
-        } else {
-            // Implement table defined in schema spec on restrictions at:
-            //   http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict
-            switch (baseModel.getParticleType()) {
-                case SchemaParticle.ELEMENT:
-                    switch (derivedModel.getParticleType()) {
-                        case SchemaParticle.ELEMENT:
-                            restrictionValid = nameAndTypeOK((SchemaLocalElement) baseModel, (SchemaLocalElement) derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.WILDCARD:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.ALL:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.CHOICE:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.SEQUENCE:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        default:
-                            assert false : XBeanDebug.logStackTrace("Unknown schema type for Derived Type");
-                    }
-                    break;
-                case SchemaParticle.WILDCARD:
-                    switch (derivedModel.getParticleType()) {
-                        case SchemaParticle.ELEMENT:
-                            restrictionValid = nsCompat(baseModel, (SchemaLocalElement) derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.WILDCARD:
-                            restrictionValid = nsSubset(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.ALL:
-                            restrictionValid = nsRecurseCheckCardinality(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.CHOICE:
-                            restrictionValid = nsRecurseCheckCardinality(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.SEQUENCE:
-                            restrictionValid = nsRecurseCheckCardinality(baseModel, derivedModel, errors, context);
-                            break;
-                        default:
-                            assert false : XBeanDebug.logStackTrace("Unknown schema type for Derived Type");
-                    }
-                    break;
-                case SchemaParticle.ALL:
-                    switch (derivedModel.getParticleType()) {
-                        case SchemaParticle.ELEMENT:
-                            restrictionValid = recurseAsIfGroup(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.WILDCARD:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.ALL:
-                            restrictionValid = recurse(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.CHOICE:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.SEQUENCE:
-                            restrictionValid = recurseUnordered(baseModel, derivedModel, errors, context);
-                            break;
-                        default:
-                            assert false : XBeanDebug.logStackTrace("Unknown schema type for Derived Type");
-                    }
-                    break;
-                case SchemaParticle.CHOICE:
-                    switch (derivedModel.getParticleType()) {
-                        case SchemaParticle.ELEMENT:
-                            restrictionValid = recurseAsIfGroup(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.WILDCARD:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.ALL:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.CHOICE:
-                            restrictionValid = recurseLax(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.SEQUENCE:
-                            restrictionValid = mapAndSum(baseModel, derivedModel, errors, context);
-                            break;
-                        default:
-                            assert false : XBeanDebug.logStackTrace("Unknown schema type for Derived Type");
-                    }
-                    break;
-                case SchemaParticle.SEQUENCE:
-                    switch (derivedModel.getParticleType()) {
-                        case SchemaParticle.ELEMENT:
-                            restrictionValid = recurseAsIfGroup(baseModel, derivedModel, errors, context);
-                            break;
-                        case SchemaParticle.WILDCARD:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.ALL:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.CHOICE:
-                            errors.add(XmlError.forObject(formatInvalidCombinationError(baseModel, derivedModel), context));
-                            restrictionValid = false;
-                            break;
-                        case SchemaParticle.SEQUENCE:
-                            restrictionValid = recurse(baseModel, derivedModel, errors, context);
-                            break;
-                        default:
-                            assert false : XBeanDebug.logStackTrace("Unknown schema type for Derived Type");
-                    }
-                    break;
-                default:
-                    assert false : XBeanDebug.logStackTrace("Unknown schema type for Base Type");
-
-            }
-        }
-
-        return restrictionValid;
-    }
-
-    private static boolean mapAndSum(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context)  {
-        // mapAndSum is call if base: CHOICE, derived: SEQUENCE
-        assert baseModel.getParticleType() == SchemaParticle.CHOICE;
-        assert derivedModel.getParticleType() == SchemaParticle.SEQUENCE;
-        boolean mapAndSumValid = true;
-        // Schema Component Constraint: Particle Derivation OK (Sequence:Choice -- MapAndSum)
-        // For a sequence group particle to be a ·valid restriction· of a choice group particle all of the following
-        // must be true:
-        // 1 There is a complete functional mapping from the particles in the {particles} of R to the particles in the
-        // {particles} of B such that each particle in the {particles} of R is a ·valid restriction· of the particle in
-        // the {particles} of B it maps to as defined by Particle Valid (Restriction) (§3.9.6).
-        // interpretation:  each particle child in derived should have a match in base.
-        // 2 The pair consisting of the product of the {min occurs} of R and the length of its {particles} and unbounded
-        // if {max occurs} is unbounded otherwise the product of the {max occurs} of R and the length of its {particles}
-        // is a valid restriction of B's occurrence range as defined by Occurrence Range OK (§3.9.6).
-        // NOTE: This clause is in principle more restrictive than absolutely necessary, but in practice will cover
-        // all the likely cases, and is much easier to specify than the fully general version.
-        // NOTE: This case allows the "unfolding" of iterated disjunctions into sequences. It may be particularly useful
-        // when the disjunction is an implicit one arising from the use of substitution groups.
-
-        // Map step - for each member of the derived model's particle children search base model's particle children
-        //  for match
-        SchemaParticle[] derivedParticleArray = derivedModel.getParticleChildren();
-        SchemaParticle[] baseParticleArray = baseModel.getParticleChildren();
-        for (int i = 0; i < derivedParticleArray.length; i++) {
-            SchemaParticle derivedParticle = derivedParticleArray[i];
-            boolean foundMatch = false;
-            for (int j = 0; j < baseParticleArray.length; j++) {
-                SchemaParticle baseParticle = baseParticleArray[j];
-                // recurse to check if there is a match
-                if (isParticleValidRestriction(baseParticle, derivedParticle, errors, context)) {
-                    // if there is a match then no need to check base particles anymore
-                    foundMatch = true;
-                    break;
-                }
-            }
-            if (!foundMatch) {
-                mapAndSumValid = false;
-                errors.add(XmlError.forObject(formatMappingError(), context));
-                break;
-            }
-        }
-
-        // Sum step
-        BigInteger derivedRangeMin = derivedModel.getMinOccurs().multiply(BigInteger.valueOf(derivedModel.getParticleChildren().length));
-        BigInteger derivedRangeMax = null;
-        BigInteger UNBOUNDED = null;
-        if (derivedModel.getMaxOccurs() == UNBOUNDED) {
-            derivedRangeMax = null;
-        } else {
-            derivedRangeMax = derivedModel.getMaxOccurs().multiply(BigInteger.valueOf(derivedModel.getParticleChildren().length));
-        }
-
-        // Now check derivedRange (derivedRangeMin and derivedRangeMax) against base model occurrence range
-        // Schema Component Constraint: Occurrence Range OK
-        // For a particle's occurrence range to be a valid restriction of another's occurrence range all of the following must be true:
-        // 1 Its {min occurs} is greater than or equal to the other's {min occurs}.
-        // 2 one of the following must be true:
-        //   2.1 The other's {max occurs} is unbounded.
-        //   2.2 Both {max occurs} are numbers, and the particle's is less than or equal to the other's.
-
-        if (derivedRangeMin.compareTo(baseModel.getMinOccurs()) < 0) {
-            mapAndSumValid = false;
-            errors.add(XmlError.forObject(formatOccurenceRangeMinErrorChoiceSequence(derivedRangeMin, baseModel), context));
-        } else if (baseModel.getMaxOccurs() == UNBOUNDED || derivedRangeMax != UNBOUNDED && derivedRangeMax.compareTo(baseModel.getMaxOccurs()) > 0) {
-            mapAndSumValid = false;
-            errors.add(XmlError.forObject(formatOccurenceRangeMaxErrorChoiceSequence(derivedRangeMax, baseModel), context));
-        }
-
-        return mapAndSumValid;
-    }
-
-    private static String formatOccurenceRangeMinErrorChoiceSequence(BigInteger derivedRangeMin, SchemaParticle baseModel) {
-        return "Invalid Restriction.  The total minOccurs for the derived <sequence>'s elements: "
-                + derivedRangeMin.toString()
-                + "must not be less than the base <choice>'s minOccurs ("
-                + baseModel.getMinOccurs().toString() + ")";
-    }
-
-    private static String formatOccurenceRangeMaxErrorChoiceSequence(BigInteger derivedRangeMax, SchemaParticle baseModel) {
-        return "Invalid Restriction.  The total maxOccurs for the derived <sequence>'s elements ("
-                + derivedRangeMax.toString()
-                + ") must not be greater than the base <choice>'s maxOccurs ("
-                + printMaxOccurs(baseModel.getMaxOccurs()) + ")";
-       
-    }
-
-    private static String formatMappingError() {
-        return "Invalid Restriction.  At least one restricted type does not match.";
-    }
-
-    private static boolean recurseAsIfGroup(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        // recurseAsIfGroup is called if:
-        // base: ALL, derived: ELEMENT
-        // base: CHOICE, derived: ELEMENT
-        // base: SEQUENCE, derived: ELEMENT
-        assert (baseModel.getParticleType() == SchemaParticle.ALL && derivedModel.getParticleType() == SchemaParticle.ELEMENT)
-                || (baseModel.getParticleType() == SchemaParticle.CHOICE && derivedModel.getParticleType() == SchemaParticle.ELEMENT)
-                || (baseModel.getParticleType() == SchemaParticle.SEQUENCE && derivedModel.getParticleType() == SchemaParticle.ELEMENT);
-        // Schema Component Constraint: Particle Derivation OK (Elt:All/Choice/Sequence -- RecurseAsIfGroup)
-
-        // For an element declaration particle to be a ·valid restriction· of a group particle
-        // (all, choice or sequence) a group particle of the variety corresponding to B's, with {min occurs} and
-        // {max occurs} of 1 and with {particles} consisting of a single particle the same as the element declaration
-        // must be a ·valid restriction· of the group as defined by Particle Derivation OK
-        // (All:All,Sequence:Sequence -- Recurse) (§3.9.6), Particle Derivation OK (Choice:Choice -- RecurseLax)
-        // (§3.9.6) or Particle Derivation OK (All:All,Sequence:Sequence -- Recurse) (§3.9.6), depending on whether
-        // the group is all, choice or sequence
-
-        // interpretation:  make a fake group of the right type, with min occurs and max occurs of 1
-        SchemaParticleImpl asIfPart = new SchemaParticleImpl();
-        asIfPart.setParticleType(baseModel.getParticleType());
-        asIfPart.setMinOccurs(BigInteger.ONE);
-        asIfPart.setMaxOccurs(BigInteger.ONE);
-        asIfPart.setParticleChildren(new SchemaParticle[] { derivedModel });
-        
-        // the recurse
-        return isParticleValidRestriction(baseModel, asIfPart, errors, context); 
-    }
-
-    private static boolean recurseLax(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context)  {
-        // recurseLax is called if base: CHOICE, derived: CHOICE
-        assert baseModel.getParticleType() == SchemaParticle.CHOICE && derivedModel.getParticleType() == SchemaParticle.CHOICE;
-        boolean recurseLaxValid = true;
-        //Schema Component Constraint: Particle Derivation OK (Choice:Choice -- RecurseLax)
-        // For a choice group particle to be a ·valid restriction· of another choice group particle all of the
-        // following must be true:
-        // 1 R's occurrence range is a valid restriction of B's occurrence range as defined by Occurrence
-        // Range OK (§3.9.6);
-        // 2 There is a complete ·order-preserving· functional mapping from the particles in the {particles} of R
-        // to the particles in the {particles} of B such that each particle in the {particles} of R is a
-        // ·valid restriction· of the particle in the {particles} of B it maps to as defined by
-        // Particle Valid (Restriction) (§3.9.6).
-        // NOTE: Although the ·validation· semantics of a choice group does not depend on the order of its particles,
-        // derived choice groups are required to match the order of their base in order to simplify
-        // checking that the derivation is OK.
-        // interpretation:  check derived choices for match in order, must get an in order match on a base particle,
-        //                  don't need to check if base particles are skippable.  a lot like recurse
-
-        if (!occurrenceRangeOK(baseModel, derivedModel, errors, context)) {
-            return false;
-        }
-        // cycle thru both derived particle children and base particle children looking for matches
-        //  if the derived particle does not match the base particle then base particle can be skipped
-
-        SchemaParticle[] derivedParticleArray = derivedModel.getParticleChildren();
-        SchemaParticle[] baseParticleArray = baseModel.getParticleChildren();
-        int i = 0, j = 0;
-        for (; i < derivedParticleArray.length && j < baseParticleArray.length;) {
-            SchemaParticle derivedParticle = derivedParticleArray[i];
-            SchemaParticle baseParticle = baseParticleArray[j];
-            // try to match the two particles by recursing
-            if (isParticleValidRestriction(baseParticle, derivedParticle, errors, context)) {
-                // cool found a match, increment both indexes
-                i++;
-                j++;
-            } else {
-                // did not match, increment the base particle array index only
-                // Ok, let's skip this base particle, increment base particle array index only
-                j++;
-            }
-        }
-
-        // ok, got to the end of one of the arrays
-        // if at end of base particle array and not at the end of derived particle array then remaining derived
-        //  particles must not match
-        if (i < derivedParticleArray.length) {
-            recurseLaxValid = false;
-            String message = "Found derived particles that are not matched in the base content model.";
-            errors.add(XmlError.forObject(formatDerivedMappingError(message, baseModel, derivedModel), context));
-        }
-
-
-        return recurseLaxValid;
-    }
-
-    private static boolean recurseUnordered(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        // recurseUnorder is called when base: ALL and derived: SEQ
-        assert baseModel.getParticleType() == SchemaParticle.ALL && derivedModel.getParticleType() == SchemaParticle.SEQUENCE;
-        boolean recurseUnorderedValid = true;
-        // Schema Component Constraint: Particle Derivation OK (Sequence:All -- RecurseUnordered)
-        // For a sequence group particle to be a ·valid restriction· of an all group particle all of the
-        // following must be true:
-        // 1 R's occurrence range is a valid restriction of B's occurrence range as defined by
-        // Occurrence Range OK (§3.9.6).
-        // 2 There is a complete functional mapping from the particles in the {particles} of R to the particles
-        // in the {particles} of B such that all of the following must be true:
-        // 2.1 No particle in the {particles} of B is mapped to by more than one of the particles in
-        // the {particles} of R;
-        // 2.2 Each particle in the {particles} of R is a ·valid restriction· of the particle in the {particles} of B
-        // it maps to as defined by Particle Valid (Restriction) (§3.9.6);
-        // 2.3 All particles in the {particles} of B which are not mapped to by any particle in the {particles}
-        // of R are ·emptiable· as defined by Particle Emptiable (§3.9.6).
-        // NOTE: Although this clause allows reordering, because of the limits on the contents of all groups the
-        // checking process can still be deterministic.
-        // 1, 2.2, and 2.3 are the same as recurse, so do 2.1 and then call recurse
-
-        if (!occurrenceRangeOK(baseModel, derivedModel, errors, context)) {
-            return false;
-        }
-
-        // read baseParticle array QNames into hashmap
-        SchemaParticle[] baseParticles = baseModel.getParticleChildren();
-        HashMap baseParticleMap = new HashMap(10);
-        Object MAPPED = new Object();
-        // Initialize the hashmap
-        for (int i = 0; i < baseParticles.length; i++)
-            baseParticleMap.put(baseParticles[i].getName(), baseParticles[i]);
-        
-        // go thru the sequence (derived model's children) and check off from base particle map
-        SchemaParticle[] derivedParticles = derivedModel.getParticleChildren();
-        for (int i = 0; i < derivedParticles.length; i++) {
-            SchemaParticle matchedBaseParticle = (SchemaParticle) baseParticleMap.get(derivedParticles[i].getName());
-            if (matchedBaseParticle == null) {
-                recurseUnorderedValid = false;
-                errors.add(XmlError.forObject(formatInvalidAllSeqMappingError(), context));
-                break;
-            } else {
-                // got a match
-                if (matchedBaseParticle == MAPPED) {
-                    // whoa, this base particle has already been matched (see 2.1 above)
-                    recurseUnorderedValid = false;
-                    errors.add(XmlError.forObject(formatMappedMoreThanOnceError(baseModel, derivedModel), context));
-                    break;
-                } else {
-                    if (derivedParticles[i].getMaxOccurs() == null ||
-                            derivedParticles[i].getMaxOccurs().compareTo(BigInteger.ONE) > 0) {
-                        // no derived particles can have a max occurs greater than 1
-                        recurseUnorderedValid = false;
-                        errors.add(XmlError.forObject(formatAllSeqMaxOccursGreaterThan1Error(derivedParticles[i]), context));
-                        break;
-                    }
-                    if (!isParticleValidRestriction(matchedBaseParticle, derivedParticles[i], errors, context))
-                    {
-                        // already have an error
-                        recurseUnorderedValid = false;
-                        break;
-                    }
-                    // everything is cool, got a match, update to MAPPED
-                    baseParticleMap.put(derivedParticles[i].getName(), MAPPED);
-                }
-            }
-        }
-
-        // if everything is cool so far then check to see if any base particles are not matched
-        if (recurseUnorderedValid) {
-            // get all the hashmap keys and loop thru looking for NOT_MAPPED
-            Set baseParticleCollection = baseParticleMap.keySet();
-            for (Iterator iterator = baseParticleCollection.iterator(); iterator.hasNext();) {
-                QName baseParticleQName = (QName) iterator.next();
-                if (baseParticleMap.get(baseParticleQName) != MAPPED && !((SchemaParticle)baseParticleMap.get(baseParticleQName)).isSkippable()) {
-                    // this base particle was not mapped and is not "particle emptiable" (skippable)
-                    recurseUnorderedValid = false;
-                    errors.add(XmlError.forObject(formatGroupMappingError(baseModel, derivedModel), context));
-                }
-            }
-        }
-
-        return recurseUnorderedValid;
-    }
-
-    private static String formatAllSeqMaxOccursGreaterThan1Error(SchemaParticle derivedModel) {
-        return "Invalid Restriction.  The "
-                + printParticle(derivedModel)
-                + " has a maxOccurs great than 1 ("
-                + printMaxOccurs(derivedModel.getMaxOccurs())
-                + ").  When restricting an <all> with a <sequence>, no <element> can have a maxOccurs > 1";
-    }
-
-    private static String formatInvalidAllSeqMappingError() {
-        return "Invalid Restriction.  Each element in the derived content model must match an element in the base "
-                + "content model.";
-    }
-
-    private static String formatGroupMappingError(SchemaParticle baseModel, SchemaParticle derivedModel) {
-        return "Invalid Restriction.  The members of the derived content model must match the members of the base "
-                + " content model unless the member of the base content model is optional (particle emptiable).";
-    }
-
-    private static String formatMappedMoreThanOnceError(SchemaParticle baseModel, SchemaParticle derivedModel) {
-        return "Invalid Restriction.  When using a <sequence> to restrict an <all> the elements in the <all> can be mapped only once. "
-                + " Found element in the <sequence> that maps an element in the <all> more than once.";
-    }
-
-    private static boolean recurse(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        // recurse is called when base: ALL derived: ALL or base: SEQUENCE derived: SEQUENCE
-        boolean recurseValid = true;
-        // For an all or sequence group particle to be a ·valid restriction· of another group particle with the same
-        // {compositor} all of the following must be true:
-        // 1 R's occurrence range is a valid restriction of B's occurrence range as defined by
-        // Occurrence Range OK (§3.9.6).
-        // 2 There is a complete ·order-preserving· functional mapping from the particles in the {particles} of R to
-        // the particles in the {particles} of B such that all of the following must be true:
-        //   2.1 Each particle in the {particles} of R is a ·valid restriction· of the particle in the {particles}
-        //   of B it maps to as defined by Particle Valid (Restriction) (§3.9.6).
-        //   2.2 All particles in the {particles} of B which are not mapped to by any particle in the {particles}
-        //   of R are ·emptiable· as defined by Particle Emptiable (§3.9.6).
-        // NOTE: Although the ·validation· semantics of an all group does not depend on the order of its particles,
-        // derived all groups are required to match the order of their base in order to simplify checking that
-        // the derivation is OK.
-        // [Definition:]  A complete functional mapping is order-preserving if each particle r in the domain R maps
-        // to a particle b in the range B which follows (not necessarily immediately) the particle in the range B
-        // mapped to by the predecessor of r, if any, where "predecessor" and "follows" are defined with respect to
-        // the order of the lists which constitute R and B.
-
-        if (!occurrenceRangeOK(baseModel, derivedModel, errors, context)) {
-            // error message is formatted in occurrencRangeOK ...
-            return false;
-        }
-        // cycle thru both derived particle children and base particle children looking for matches
-        //  if the derived particle does not match the base particle then base particle can be skipped if it is
-        //  skippable (same as "particle emptiable") otherwise is an invalid restriction.
-        // after the derived particles have been cycled if there are any base particles left over then they
-        //  must be skippable or invalid restriction
-
-        SchemaParticle[] derivedParticleArray = derivedModel.getParticleChildren();
-        SchemaParticle[] baseParticleArray = baseModel.getParticleChildren();
-        int i = 0, j = 0;
-        for (; i < derivedParticleArray.length && j < baseParticleArray.length;) {
-            SchemaParticle derivedParticle = derivedParticleArray[i];
-            SchemaParticle baseParticle = baseParticleArray[j];
-            // try to match the two particles by recursing
-            if (isParticleValidRestriction(baseParticle, derivedParticle, errors, context)) {
-                // cool found a match, increment both indexes
-                i++;
-                j++;
-            } else {
-                // did not match, increment the base particle array index only
-                //  that's ok if the base particle is skippable
-                if (baseParticle.isSkippable()) {
-                    // Ok, let's skip this base particle, increment base particle array index only
-                    j++;
-                } else {
-                    // whoa, particles are not valid restrictions and base is not skippable - ERROR
-                    recurseValid = false;
-                    String message = "Found non-optional particle that is not mapped in base content model.";
-                    errors.add(XmlError.forObject(formatDerivedMappingError(message, baseModel, derivedModel), context));
-                    break;
-                }
-            }
-        }
-
-        // ok, got to the end of one of the arrays
-        // if at end of base particle array and not at the end of derived particle array then remaining derived
-        //  particles must not match
-        if (i < derivedParticleArray.length) {
-            recurseValid = false;
-            String message = "Found derived particles that are not matched in the base content model.";
-            errors.add(XmlError.forObject(formatDerivedMappingError(message, baseModel, derivedModel), context));
-        } else {
-            // if at end of derived particle array and not at end of base particle array then chck remaining
-            //  base particles to assure they are skippable
-            if (j < baseParticleArray.length) {
-                for (int k = j; k < baseParticleArray.length; k++) {
-                    if (!baseParticleArray[k].isSkippable()) {
-                        recurseValid = false;
-                        String message = "Found trailing base particles that are not optional and are not " +
-                                "represented in the derived content model.";
-                        errors.add(XmlError.forObject(formatDerivedMappingError(message, baseModel, derivedModel), context));
-                    }
-
-                }
-            }
-        }
-
-        return recurseValid;
-    }
-
-    private static String formatDerivedMappingError(String message, SchemaParticle baseModel, SchemaParticle derivedModel) {
-        return "Invalid Restriction.  The derived (restricted) content model must match the base content model unless "
-                + "the part of the base content model that does not match is optional.  A mismatch found between a base " +
-                printParticle(baseModel) + " and a derived " + printParticle(derivedModel) + ".  " + message;
-    }
-
-    private static boolean nsRecurseCheckCardinality(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        // nsRecurseCheckCardinality is called when:
-        // base: ANY, derived: ALL
-        // base: ANY, derived: CHOICE
-        // base: ANY, derived: SEQUENCE
-        assert baseModel.getParticleType() == SchemaParticle.WILDCARD;
-        assert (derivedModel.getParticleType() == SchemaParticle.ALL)
-                || (derivedModel.getParticleType() == SchemaParticle.CHOICE)
-                || (derivedModel.getParticleType() == SchemaParticle.SEQUENCE);
-        boolean nsRecurseCheckCardinality = true;
-        // For a group particle to be a ·valid restriction· of a wildcard particle all of the following must be true:
-        // 1 Every member of the {particles} of the group is a ·valid restriction· of the wildcard as defined by Particle Valid (Restriction) (§3.9.6).
-        //  Note:  not positive what this means.  Interpreting to mean that every particle of the group must adhere to wildcard derivation rules
-        //         in a recursive manner
-        //  Loop thru the children particles of the group and invoke the appropriate function to check for wildcard restriction validity
-        
-        // BAU - an errata should be submitted on this clause of the spec, because the
-        // spec makes no sense, as the xstc particlesR013.xsd test exemplifies.
-        // what we _should_ so is an "as if" on the wildcard, allowing it minOccurs="0" maxOccurs="unbounded"
-        // before recursing
-        SchemaParticleImpl asIfPart = new SchemaParticleImpl();
-        asIfPart.setParticleType(baseModel.getParticleType());
-        asIfPart.setWildcardProcess(baseModel.getWildcardProcess());
-        asIfPart.setWildcardSet(baseModel.getWildcardSet());
-        asIfPart.setMinOccurs(BigInteger.ZERO);
-        asIfPart.setMaxOccurs(null);
-        asIfPart.setTransitionRules(baseModel.getWildcardSet(), true);
-        asIfPart.setTransitionNotes(baseModel.getWildcardSet(), true);
-
-        SchemaParticle[] particleChildren = derivedModel.getParticleChildren();
-        for (int i = 0; i < particleChildren.length; i++) {
-            SchemaParticle particle = particleChildren[i];
-            switch (particle.getParticleType()) {
-                case SchemaParticle.ELEMENT:
-                    // Check for valid Wildcard/Element derivation
-                    nsRecurseCheckCardinality = nsCompat(asIfPart, (SchemaLocalElement) particle, errors, context);
-                    break;
-                case SchemaParticle.WILDCARD:
-                    // Check for valid Wildcard/Wildcard derivation
-                    nsRecurseCheckCardinality = nsSubset(asIfPart, particle, errors, context);
-                    break;
-                case SchemaParticle.ALL:
-                case SchemaParticle.CHOICE:
-                case SchemaParticle.SEQUENCE:
-                    // Check for valid Wildcard/Group derivation
-                    nsRecurseCheckCardinality = nsRecurseCheckCardinality(asIfPart, derivedModel, errors, context);
-                    break;
-            }
-            // If any particle is invalid then break the loop
-            if (!nsRecurseCheckCardinality) {
-                break;
-            }
-        }
-
-        // 2 The effective total range of the group, as defined by Effective Total Range (all and sequence) (§3.8.6)
-        // (if the group is all or sequence) or Effective Total Range (choice) (§3.8.6) (if it is choice) is a valid
-        // restriction of B's occurrence range as defined by Occurrence Range OK (§3.9.6).
-
-        if (nsRecurseCheckCardinality) {
-            nsRecurseCheckCardinality = checkGroupOccurrenceOK(baseModel, derivedModel, errors, context);
-        }
-
-        return nsRecurseCheckCardinality;
-    }
-
-    private static boolean checkGroupOccurrenceOK(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        boolean groupOccurrenceOK = true;
-        BigInteger minRange = BigInteger.ZERO;
-        BigInteger maxRange = BigInteger.ZERO;
-        switch (derivedModel.getParticleType()) {
-            case SchemaParticle.ALL:
-            case SchemaParticle.SEQUENCE:
-                minRange = getEffectiveMinRangeAllSeq(derivedModel);
-                maxRange = getEffectiveMaxRangeAllSeq(derivedModel);
-                break;
-            case SchemaParticle.CHOICE:
-                minRange = getEffectiveMinRangeChoice(derivedModel);
-                maxRange = getEffectiveMaxRangeChoice(derivedModel);
-                break;
-        }
-
-        // Check min occurs for validity
-        // derived min occurs is valid if its {min occurs} is greater than or equal to the other's {min occurs}.
-        if (minRange.compareTo(baseModel.getMinOccurs()) < 0) {
-            groupOccurrenceOK = false;
-            errors.add(XmlError.forObject(formatGroupMinOccursError(derivedModel, baseModel), context));
-        }
-        // Check max occurs for validity
-        // one of the following must be true:
-        // The base model's {max occurs} is unbounded.
-        // or both {max occurs} are numbers, and the particle's is less than or equal to the other's
-        BigInteger UNBOUNDED = null;
-        if (baseModel.getMaxOccurs() != UNBOUNDED) {
-            if (maxRange == UNBOUNDED) {
-                groupOccurrenceOK = false;
-                errors.add(XmlError.forObject(formatGroupMaxOccursError(derivedModel, baseModel), context));
-            } else {
-                if (maxRange.compareTo(baseModel.getMaxOccurs()) > 0) {
-                    groupOccurrenceOK = false;
-                    errors.add(XmlError.forObject(formatGroupMaxOccursError(derivedModel, baseModel), context));
-                }
-            }
-        }
-        return groupOccurrenceOK;
-    }
-
-    private static String formatGroupMaxOccursError(SchemaParticle derivedModel, SchemaParticle baseModel) {
-        return "Invalid Restriction.  The maxOccurs for the derived group "
-                + printParticle(derivedModel)
-                + " is great than the base maxOccurs of "
-                + printMaxOccurs(baseModel.getMaxOccurs());
-    }
-
-    private static String formatGroupMinOccursError(SchemaParticle derivedModel, SchemaParticle baseModel) {
-        return "Invalid Restriction.  The minOccurs for the derived group "
-                + printParticle(derivedModel)
-                + " is less than the base minOccurs of "
-                + baseModel.getMinOccurs();
-    }
-
-    private static BigInteger getEffectiveMaxRangeChoice(SchemaParticle derivedModel) {
-        BigInteger maxRange = BigInteger.ZERO;
-        BigInteger UNBOUNDED = null;
-        // Schema Component Constraint: Effective Total Range (choice)
-        // The effective total range of a particle whose {term} is a group whose {compositor} is choice
-        // is a pair of minimum and maximum, as follows:
-        // MAXIMUM
-        // 1) unbounded if the {max occurs} of any wildcard or element declaration particle in the group's {particles} or
-        // the maximum part of the effective total range of any of the group particles in the group's {particles} is
-        // unbounded (note: seems to be the same as Max Range All or Sequence),
-        // or 2) if any of those is non-zero and the {max occurs} of the particle itself is unbounded,
-        // otherwise 3) the product of the particle's {max occurs} and the maximum of the {max occurs} of every
-        // wildcard or element declaration particle in the group's {particles} and the *maximum* (note: this is the difference
-        // between MaxRange Choice ans MaxRange All or Sequence) part of the
-        // effective total range of each of the group particles in the group's {particles}
-        // (or 0 if there are no {particles}).
-
-        boolean nonZeroParticleChildFound = false;
-        BigInteger maxOccursInWildCardOrElement = BigInteger.ZERO;
-        BigInteger maxOccursInGroup = BigInteger.ZERO;
-        SchemaParticle[] particleChildren = derivedModel.getParticleChildren();
-        for (int i = 0; i < particleChildren.length; i++) {
-            SchemaParticle particle = particleChildren[i];
-            switch (particle.getParticleType()) {
-                case SchemaParticle.WILDCARD:
-                case SchemaParticle.ELEMENT:
-                    // if unbounded then maxoccurs will be null
-                    if (particle.getMaxOccurs() == UNBOUNDED) {
-                        maxRange = UNBOUNDED;
-                    } else {
-                        if (particle.getIntMaxOccurs() > 0) {
-                            // show tht at least one non-zero particle is found for later test
-                            nonZeroParticleChildFound = true;
-                            if (particle.getMaxOccurs().compareTo(maxOccursInWildCardOrElement) > 0) {
-                                maxOccursInWildCardOrElement = particle.getMaxOccurs();
-                            }
-                        }
-                    }
-                    break;
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                    maxRange = getEffectiveMaxRangeAllSeq(derivedModel);
-                    if (maxRange != UNBOUNDED) {
-                        // keep highest maxoccurs found
-                        if (maxRange.compareTo(maxOccursInGroup) > 0) {
-                            maxOccursInGroup = maxRange;
-                        }
-                    }
-                    break;
-                case SchemaParticle.CHOICE:
-                    maxRange = getEffectiveMaxRangeChoice(derivedModel);
-                    if (maxRange != UNBOUNDED) {
-                        // keep highest maxoccurs found
-                        if (maxRange.compareTo(maxOccursInGroup) > 0) {
-                            maxOccursInGroup = maxRange;
-                        }
-                    }
-                    break;
-            }
-            // if an unbounded has been found then we are done
-            if (maxRange == UNBOUNDED) {
-                break;
-            }
-        }
-
-        // 1) unbounded if the {max occurs} of any wildcard or element declaration particle in the group's {particles} or
-        // the maximum part of the effective total range of any of the group particles in the group's {particles} is
-        // unbounded
-        if (maxRange != UNBOUNDED) {
-            // 2) if any of those is non-zero and the {max occurs} of the particle itself is unbounded
-            if (nonZeroParticleChildFound && derivedModel.getMaxOccurs() == UNBOUNDED) {
-                maxRange = UNBOUNDED;
-            } else {
-                // 3) the product of the particle's {max occurs} and the maximum of the {max occurs} of every
-                // wildcard or element declaration particle in the group's {particles} and the *maximum*
-                // part of the effective total range of each of the group particles in the group's {particles}
-                maxRange = derivedModel.getMaxOccurs().multiply(maxOccursInWildCardOrElement.add(maxOccursInGroup));
-            }
-        }
-
-        return maxRange;
-    }
-
-    private static BigInteger getEffectiveMaxRangeAllSeq(SchemaParticle derivedModel) {
-        BigInteger maxRange = BigInteger.ZERO;
-        BigInteger UNBOUNDED = null;
-        // Schema Component Constraint: Effective Total Range (all and sequence)
-        // The effective total range of a particle whose {term} is a group whose {compositor} is all or sequence is a
-        // pair of minimum and maximum, as follows:
-        // MAXIMUM
-        // 1) unbounded if the {max occurs} of any wildcard or element declaration particle in the group's {particles} or
-        // the maximum part of the effective total range of any of the group particles in the group's {particles} is
-        // unbounded, or 2) if any of those is non-zero and the {max occurs} of the particle itself is unbounded, otherwise
-        // 3) the product of the particle's {max occurs} and the *sum* of the {max occurs} of every wildcard or element
-        // declaration particle in the group's {particles} and the maximum part of the effective total range of each of
-        // the group particles in the group's {particles} (or 0 if there are no {particles}).
-
-        boolean nonZeroParticleChildFound = false;
-        BigInteger maxOccursTotal = BigInteger.ZERO;
-        BigInteger maxOccursInGroup = BigInteger.ZERO;
-        SchemaParticle[] particleChildren = derivedModel.getParticleChildren();
-        for (int i = 0; i < particleChildren.length; i++) {
-            SchemaParticle particle = particleChildren[i];
-            switch (particle.getParticleType()) {
-                case SchemaParticle.WILDCARD:
-                case SchemaParticle.ELEMENT:
-                    // if unbounded then maxoccurs will be null
-                    if (particle.getMaxOccurs() == UNBOUNDED) {
-                        maxRange = UNBOUNDED;
-                    } else {
-                        if (particle.getIntMaxOccurs() > 0) {
-                            // show tht at least one non-zero particle is found for later test
-                            nonZeroParticleChildFound = true;
-                            maxOccursTotal = maxOccursTotal.add(particle.getMaxOccurs());
-                        }
-                    }
-                    break;
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                    maxRange = getEffectiveMaxRangeAllSeq(derivedModel);
-                    if (maxRange != UNBOUNDED) {
-                        // keep highest maxoccurs found
-                        if (maxRange.compareTo(maxOccursInGroup) > 0) {
-                            maxOccursInGroup = maxRange;
-                        }
-                    }
-                    break;
-                case SchemaParticle.CHOICE:
-                    maxRange = getEffectiveMaxRangeChoice(derivedModel);
-                    if (maxRange != UNBOUNDED) {
-                        // keep highest maxoccurs found
-                        if (maxRange.compareTo(maxOccursInGroup) > 0) {
-                            maxOccursInGroup = maxRange;
-                        }
-                    }
-                    break;
-            }
-            // if an unbounded has been found then we are done
-            if (maxRange == UNBOUNDED) {
-                break;
-            }
-        }
-
-        // 1) unbounded if the {max occurs} of any wildcard or element declaration particle in the group's {particles} or
-        // the maximum part of the effective total range of any of the group particles in the group's {particles} is
-        // unbounded
-        if (maxRange != UNBOUNDED) {
-            // 2) if any of those is non-zero and the {max occurs} of the particle itself is unbounded
-            if (nonZeroParticleChildFound && derivedModel.getMaxOccurs() == UNBOUNDED) {
-                maxRange = UNBOUNDED;
-            } else {
-                // 3) the product of the particle's {max occurs} and the sum of the {max occurs} of every wildcard or element
-                // declaration particle in the group's {particles} and the maximum part of the effective total range of each of
-                // the group particles in the group's {particles}
-                maxRange = derivedModel.getMaxOccurs().multiply(maxOccursTotal.add(maxOccursInGroup));
-            }
-        }
-
-        return maxRange;
-
-    }
-
-    private static BigInteger getEffectiveMinRangeChoice(SchemaParticle derivedModel) {
-        // Schema Component Constraint: Effective Total Range (choice)
-        // The effective total range of a particle whose {term} is a group whose {compositor} is choice is a pair of
-        // minimum and maximum, as follows:
-        // MINIMUM
-        // The product of the particle's {min occurs}
-        // and the *minimum* of the {min occurs} of every wildcard or element
-        // declaration particle in the group's {particles} and the minimum part of the effective total range of each of
-        // the group particles in the group's {particles} (or 0 if there are no {particles}).
-        SchemaParticle[] particleChildren = derivedModel.getParticleChildren();
-        if (particleChildren.length == 0)
-            return BigInteger.ZERO;
-        BigInteger minRange = null;
-        // get the minimum of every wildcard or element
-        // total up the effective total range for each group
-        for (int i = 0; i < particleChildren.length; i++) {
-            SchemaParticle particle = particleChildren[i];
-            switch (particle.getParticleType()) {
-                case SchemaParticle.WILDCARD:
-                case SchemaParticle.ELEMENT:
-                    if (minRange == null || minRange.compareTo(particle.getMinOccurs()) > 0) {
-                        minRange = particle.getMinOccurs();
-                    }
-                    break;
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                    BigInteger mrs = getEffectiveMinRangeAllSeq(derivedModel);
-                    if (minRange == null || minRange.compareTo(mrs) > 0) {
-                        minRange = mrs;
-                    }
-                    break;
-                case SchemaParticle.CHOICE:
-                    BigInteger mrc = getEffectiveMinRangeChoice(derivedModel);
-                    if (minRange == null || minRange.compareTo(mrc) > 0) {
-                        minRange = mrc;
-                    }
-                    break;
-            }
-        }
-        if (minRange == null)
-            minRange = BigInteger.ZERO;
-
-        // calculate the total
-        minRange = derivedModel.getMinOccurs().multiply(minRange);
-        return minRange;
-    }
-
-    private static BigInteger getEffectiveMinRangeAllSeq(SchemaParticle derivedModel) {
-        BigInteger minRange = BigInteger.ZERO;
-        // Schema Component Constraint: Effective Total Range (all and sequence)
-        // The effective total range of a particle whose {term} is a group whose {compositor} is all or sequence is a
-        // pair of minimum and maximum, as follows:
-        // MINIMUM
-        // The product of the particle's {min occurs}
-        // and the *sum* of the {min occurs} of every wildcard or element
-        // declaration particle in the group's {particles}
-        // and the minimum part of the effective total range of each
-        // of the group particles in the group's {particles} (or 0 if there are no {particles}).
-        SchemaParticle[] particleChildren = derivedModel.getParticleChildren();
-        BigInteger particleTotalMinOccurs = BigInteger.ZERO;
-        for (int i = 0; i < particleChildren.length; i++) {
-            SchemaParticle particle = particleChildren[i];
-            switch (particle.getParticleType()) {
-                case SchemaParticle.WILDCARD:
-                case SchemaParticle.ELEMENT:
-                    particleTotalMinOccurs = particleTotalMinOccurs.add(particle.getMinOccurs());
-                    break;
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                    particleTotalMinOccurs = particleTotalMinOccurs.add(getEffectiveMinRangeAllSeq(derivedModel));
-                    break;
-                case SchemaParticle.CHOICE:
-                    particleTotalMinOccurs = particleTotalMinOccurs.add(getEffectiveMinRangeChoice(derivedModel));
-                    break;
-            }
-        }
-
-        minRange = derivedModel.getMinOccurs().multiply(particleTotalMinOccurs);
-
-        return minRange;
-    }
-
-    private static boolean nsSubset(SchemaParticle baseModel, SchemaParticle derivedModel, Collection errors, XmlObject context) {
-        // nsSubset is called when base: ANY, derived: ANY
-        assert baseModel.getParticleType() == SchemaParticle.WILDCARD;
-        assert derivedModel.getParticleType() == SchemaParticle.WILDCARD;
-        boolean nsSubset = false;
-        // For a wildcard particle to be a ·valid restriction· of another wildcard particle all of the following must be true:
-        // 1 R's occurrence range must be a valid restriction of B's occurrence range as defined by Occurrence Range OK (§3.9.6).
-        if (occurrenceRangeOK(baseModel, derivedModel, errors, context)) {
-            // 2 R's {namespace constraint} must be an intensional subset of B's {namespace constraint} as defined
-            // by Wildcard Subset (§3.10.6).
-            if (baseModel.getWildcardSet().inverse().isDisjoint(derivedModel.getWildcardSet())) {
-                nsSubset = true;
-            } else {
-                nsSubset = false;
-                errors.add(XmlError.forObject(formatNSIsNotSubsetError(baseModel, derivedModel), context));
-            }
-        } else {
-            nsSubset = false;
-            errors.add(XmlError.forObject(formatNSIsNotSubsetError(baseModel, derivedModel), context));
-        }
-
-
-        return nsSubset;
-    }
-
-    private static boolean nsCompat(SchemaParticle baseModel, SchemaLocalElement derivedElement, Collection errors, XmlObject context) {
-        // nsCompat is called when base: ANY, derived: ELEMENT
-        assert baseModel.getParticleType() == SchemaParticle.WILDCARD;
-        boolean nsCompat = false;
-        // For an element declaration particle to be a ·valid restriction· of a wildcard particle all of the following must be true:
-        // 1 The element declaration's {target namespace} is ·valid· with respect to the wildcard's {namespace constraint}
-        // as defined by Wildcard allows Namespace Name (§3.10.4).
-        if (baseModel.getWildcardSet().contains(derivedElement.getName())) {
-            // 2 R's occurrence range is a valid restriction of B's occurrence range as defined by Occurrence Range OK (§3.9.6).
-            if (occurrenceRangeOK(baseModel, (SchemaParticle) derivedElement, errors, context)) {
-                nsCompat = true;
-            } else {
-                errors.add(XmlError.forObject(formatOccurenceRangeMinError(baseModel, (SchemaParticle) derivedElement), context));
-            }
-        } else {
-            nsCompat = false;
-            errors.add(XmlError.forObject(formatNSIsNotSubsetError(baseModel, (SchemaParticle) derivedElement), context));
-        }
-
-
-        return nsCompat;
-    }
-
-    private static String formatNSIsNotSubsetError(SchemaParticle baseParticle, SchemaParticle derivedParticle) {
-        return "Invalid Restriction. The namespace(s) of the derived field: " + printParticle(derivedParticle)
-                + " are not a subset of the namespace(s) of the base field: " + printParticle(baseParticle);
-    }
-
-    private static String formatInvalidCombinationError(SchemaParticle baseModel, SchemaParticle derivedModel) {
-        return "Invalid Restriction.  The derived content model "
-                + printParticle(derivedModel)
-                + " cannot restrict base content model "
-                + printParticle(baseModel);
-    }
-
-    private static boolean nameAndTypeOK(SchemaLocalElement baseElement, SchemaLocalElement derivedElement, Collection errors, XmlObject context) {
-        // nameAndTypeOK called when base: ELEMENT and derived: ELEMENT
-        boolean nameAndTypeOK = false;
-        // Schema Component Constraint: Particle Restriction OK (Elt:Elt -- NameAndTypeOK)
-        // 1 The declarations' {name}s and {target namespace}s are the same.
-        if (((SchemaParticle)baseElement).canStartWithElement(derivedElement.getName())) {
-            // 2 Either B's {nillable} is true or R's {nillable} is false.
-            if (baseElement.isNillable() || !derivedElement.isNillable()) {
-                // 3 R's occurrence range is a valid restriction of B's occurrence range as defined by Occurrence Range OK (§3.9.6).
-                if (occurrenceRangeOK((SchemaParticle) baseElement, (SchemaParticle) derivedElement, errors, context)) {
-                    // 4 either B's declaration's {value constraint} is absent, or is not fixed,
-                    // or R's declaration's {value constraint} is fixed with the same value.
-                    nameAndTypeOK = checkFixed(baseElement, derivedElement, errors, context);
-                    if (nameAndTypeOK) {
-                        // 5 R's declaration's {identity-constraint definitions} is a subset of B's declaration's {identity-constraint definitions}, if any.
-                        nameAndTypeOK = checkIdentityConstraints(baseElement, derivedElement, errors, context);
-                        if (nameAndTypeOK) {
-                            // 7 R's {type definition} is validly derived given {extension, list, union} from B's {type definition} as
-                            // defined by Type Derivation OK (Complex) (§3.4.6) or Type Derivation OK (Simple) (§3.14.6), as appropriate.
-                            nameAndTypeOK = typeDerivationOK(baseElement.getType(), derivedElement.getType(), errors, context);
-                            if (nameAndTypeOK) {
-                                // 6 R's declaration's {disallowed substitutions} is a superset of B's declaration's {disallowed substitutions}.
-                                nameAndTypeOK = blockSetOK(baseElement, derivedElement, errors, context);
-                            }
-                        }
-                    }
-                }
-            }
-        }
-        return nameAndTypeOK;
-    }
-    
-    private static boolean blockSetOK(SchemaLocalElement baseElement, SchemaLocalElement derivedElement, Collection errors, XmlObject context)
-    {
-        if (baseElement.blockRestriction() && !derivedElement.blockRestriction())
-        {
-            errors.add(XmlError.forObject("Restriction Invalid.  Derived " + printParticle((SchemaParticle)derivedElement) + " does not block restriction as does the base " + printParticle((SchemaParticle)baseElement), context));
-            return false;
-        }
-        if (baseElement.blockExtension() && !derivedElement.blockExtension())
-        {
-            errors.add(XmlError.forObject("Restriction Invalid.  Derived " + printParticle((SchemaParticle)derivedElement) + " does not block extension as does the base " + printParticle((SchemaParticle)baseElement), context));
-            return false;
-        }
-        if (baseElement.blockSubstitution() && !derivedElement.blockSubstitution())
-        {
-            errors.add(XmlError.forObject("Restriction Invalid.  Derived " + printParticle((SchemaParticle)derivedElement) + " does not block substitution as does the base " + printParticle((SchemaParticle)baseElement), context));
-            return false;
-        }
-        return true;    
-    }
-
-    private static boolean typeDerivationOK(SchemaType baseType, SchemaType derivedType, Collection errors, XmlObject context) {
-        boolean typeDerivationOK = false;
-        // 1 If B and D are not the same type definition, then the {derivation method} of D must not be in the subset.
-        // 2 One of the following must be true:
-        // 2.1 B and D must be the same type definition.
-        // 2.2 B must be D's {base type definition}.
-        // 2.3 All of the following must be true:
-        // 2.3.1 D's {base type definition} must not be the ·ur-type definition·.
-        // 2.3.2 The appropriate case among the following must be true:
-        // 2.3.2.1 If D's {base type definition} is complex, then it must be validly derived from B given the subset as defined by this constraint.
-        // 2.3.2.2 If D's {base type definition} is simple, then it must be validly derived from B given the subset as defined in Type Derivation OK (Simple) (§3.14.6).
-        //   This line will check if derivedType is a subType of baseType (should handle all of the 2.xx checks above)
-        if (baseType.isAssignableFrom(derivedType)) {
-            // Ok derived type is subtype but need to make sure that all of the derivations between the two types are by
-            // Restriction.
-            typeDerivationOK = checkAllDerivationsForRestriction(baseType, derivedType, errors, context);
-        } else {
-            // derived type is not a sub-type of base type
-            typeDerivationOK = false;
-            errors.add(XmlError.forObject(formatDerivedTypeNotSubTypeError(baseType, derivedType), context));
-        }
-
-        return typeDerivationOK;
-    }
-
-    private static String formatDerivedTypeNotSubTypeError(SchemaType baseType, SchemaType derivedType) {
-        return "Restriction Invalid.  Derived Type: " + printType(derivedType) + " is not a sub-type of Base Type: " + printType(baseType);
-    }
-
-    private static boolean checkAllDerivationsForRestriction(SchemaType baseType, SchemaType derivedType, Collection errors, XmlObject context) {
-
-        boolean allDerivationsAreRestrictions = true;
-        SchemaType currentType = derivedType;
-        // run up the types hierarchy from derived Type to base Type and make sure that all are derived by
-        //   restriction.  If any are not then this is not a valid restriction.
-        while (!baseType.equals(currentType)) {
-            if (currentType.getDerivationType() == SchemaType.DT_RESTRICTION) {
-                currentType = currentType.getBaseType();
-            } else {
-                allDerivationsAreRestrictions = false;
-                errors.add(XmlError.forObject(formatAllDerivationsAreNotRestrictionsError(baseType, derivedType, currentType), context));
-                break;
-            }
-        }
-        return allDerivationsAreRestrictions;
-    }
-
-    private static String formatAllDerivationsAreNotRestrictionsError(SchemaType baseType, SchemaType derivedType, SchemaType currentType) {
-        return "Invalid Restriction.  The type " + printType(derivedType) + " derived from base type "
-                + printType(baseType) + " has an intermediary type " + printType(currentType)
-                + "that is not derived by restriction.";
-    }
-
-    private static boolean checkIdentityConstraints(SchemaLocalElement baseElement, SchemaLocalElement derivedElement, Collection errors, XmlObject context) {
-        // 5 R's declaration's {identity-constraint definitions} is a subset of B's declaration's {identity-constraint definitions}, if any.
-        boolean identityConstraintsOK = true;
-
-        SchemaIdentityConstraint[] baseConstraints = baseElement.getIdentityConstraints();
-        SchemaIdentityConstraint[] derivedConstraints = derivedElement.getIdentityConstraints();
-        // cycle thru derived's identity constraints and check each to assure they in the array of base constraints
-        for (int i = 0; i < derivedConstraints.length; i++) {
-            SchemaIdentityConstraint derivedConstraint = derivedConstraints[i];
-            if (checkForIdentityConstraintExistence(baseConstraints, derivedConstraint)) {
-                identityConstraintsOK = false;
-                errors.add(XmlError.forObject(formatIdentityConstraintsNotSubsetError(baseElement, derivedElement), context));
-                break;
-            }
-        }
-        return identityConstraintsOK;
-    }
-
-    private static String formatIdentityConstraintsNotSubsetError(SchemaLocalElement baseElement, SchemaLocalElement derivedElement) {
-        return "Restriction Invalid.  The identity constraints for " + printParticle((SchemaParticle)derivedElement)
-                + " are not a subset of the identity constraints for " + printParticle((SchemaParticle)baseElement);
-    }
-
-    private static boolean checkForIdentityConstraintExistence(SchemaIdentityConstraint[] baseConstraints, SchemaIdentityConstraint derivedConstraint) {
-        // spin thru the base identity constraints check to see if derived constraint exists
-        boolean identityConstraintExists = false;
-        for (int i = 0; i < baseConstraints.length; i++) {
-            SchemaIdentityConstraint baseConstraint = baseConstraints[i];
-            if (baseConstraint.getName().equals(derivedConstraint.getName())) {
-                identityConstraintExists = true;
-                break;
-            }
-        }
-        return identityConstraintExists;
-    }
-
-
-    private static boolean checkFixed(SchemaLocalElement baseModel, SchemaLocalElement derivedModel, Collection errors, XmlObject context) {
-        // 4 either B's declaration's {value constraint} is absent, or is not fixed,
-        // or R's declaration's {value constraint} is fixed with the same value.
-        boolean checkFixed = false;
-        if (baseModel.isFixed()) {
-            if (baseModel.getDefaultText().equals(derivedModel.getDefaultText())) {
-                //  R's declaration's {value constraint} is fixed with the same value.
-                checkFixed = true;
-            } else {
-                // The derived element has a fixed value that is different than the base element
-                errors.add(XmlError.forObject(formatInvalidFixedError(baseModel, derivedModel), context));
-                checkFixed = false;
-            }
-        } else {
-            //  B's declaration's {value constraint} is absent, or is not fixed,
-            checkFixed = true;
-        }
-        return checkFixed;
-    }
-
-    private static String formatInvalidFixedError(SchemaLocalElement baseModel, SchemaLocalElement derivedModel) {
-        return "The Derived Content Model on Element: '"
-                + printParticle((SchemaParticle)derivedModel)
-                + "' has a fixed value of: '"
-                + derivedModel.getDefaultText()
-                + "' which does not match the Base Content Model: '"
-                + printParticle((SchemaParticle)baseModel)
-                + "' what has a fixed value of: '"
-                + baseModel.getDefaultText() + "'";
-    }
-
-    private static boolean occurrenceRangeOK(SchemaParticle baseParticle, SchemaParticle derivedParticle, Collection errors, XmlObject context) {
-        boolean occurrenceRangeOK = false;
-        // Note: in the following comments (from the schema spec) other is the baseModel
-        // 1 Its {min occurs} is greater than or equal to the other's {min occurs}.
-        if (derivedParticle.getMinOccurs().compareTo(baseParticle.getMinOccurs()) >= 0) {
-            // 2 one of the following must be true:
-            // 2.1 The other's {max occurs} is unbounded.
-            if (baseParticle.getMaxOccurs() == null) {
-                occurrenceRangeOK = true;
-            } else {
-                // 2.2 Both {max occurs} are numbers, and the particle's is less than or equal to the other's.
-                if (derivedParticle.getMaxOccurs() != null && baseParticle.getMaxOccurs() != null &&
-                        derivedParticle.getMaxOccurs().compareTo(baseParticle.getMaxOccurs()) <= 0) {
-                    occurrenceRangeOK = true;
-                } else {
-                    occurrenceRangeOK = false;
-                    if (baseParticle.getName() == null || derivedParticle.getName() == null) {
-                        errors.add(XmlError.forObject(formatOccurenceRangeMaxErrorGroup(baseParticle, derivedParticle), context));
-                    } else {
-                        errors.add(XmlError.forObject(formatOccurenceRangeMaxError(baseParticle, derivedParticle), context));
-                    }
-                }
-            }
-        } else {
-            occurrenceRangeOK = false;
-            if (baseParticle.getName() == null || derivedParticle.getName() == null) {
-                errors.add(XmlError.forObject(formatOccurenceRangeMinErrorGroup(baseParticle, derivedParticle), context));
-            } else {
-                errors.add(XmlError.forObject(formatOccurenceRangeMinError(baseParticle, derivedParticle), context));
-            }
-        }
-        return occurrenceRangeOK;
-    }
-
-    private static String formatOccurenceRangeMaxErrorGroup(SchemaParticle baseParticle, SchemaParticle derivedParticle) {
-        return "Invalid Restriction.  The maxOccurs for the "
-                + printParticle(derivedParticle)
-                + " (" + printMaxOccurs(derivedParticle.getMaxOccurs())
-                + ") is greater than than the maxOccurs for the base "
-                + printParticle(baseParticle)
-                + " (" + printMaxOccurs(baseParticle.getMaxOccurs()) + ")";
-    }
-
-    private static String formatOccurenceRangeMinErrorGroup(SchemaParticle baseParticle, SchemaParticle derivedParticle) {
-        return "Invalid Restriction.  The minOccurs for the "
-                + printParticle(derivedParticle)
-                + " (" + derivedParticle.getMinOccurs().toString()
-                + ") is less than than the minOccurs for the base "
-                + printParticle(baseParticle)
-                + " (" + baseParticle.getMinOccurs().toString() + ")";
-    }
-
-    private static String formatOccurenceRangeMinError(SchemaParticle baseField, SchemaParticle derivedField) {
-        return "Invalid Restriction.  The minOccurs for the element: '"
-                + printParticle(derivedField)
-                + "' (" + derivedField.getMinOccurs().toString()
-                + ") is less than than the minOccurs for the base element: '"
-                + printParticle(baseField)
-                + "' (" + baseField.getMinOccurs().toString() + ")";
-    }
-
-    private static String formatOccurenceRangeMaxError(SchemaParticle baseField, SchemaParticle derivedField) {
-        return "Invalid Restriction.  The maxOccurs for the element: '"
-                + printParticle(derivedField)
-                + "' (" + printMaxOccurs(derivedField.getMaxOccurs())
-                + ") is greater than than the maxOccurs for the base element: '"
-                + printParticle(baseField) + "' (" + printMaxOccurs(baseField.getMaxOccurs()) + ")";
-    }
-    
-    private static String printParticle(SchemaParticle part)
-    {
-        switch (part.getParticleType()) {
-            case SchemaParticle.ALL:
-                return "<all>";
-            case SchemaParticle.CHOICE:
-                return "<choice>";
-            case SchemaParticle.ELEMENT:
-                return "<element name=\"" + QNameHelper.pretty(part.getName()) + "\">";
-            case SchemaParticle.SEQUENCE:
-                return "<sequence>";
-            case SchemaParticle.WILDCARD:
-                return "<any>";
-            default :
-                return "??";
-        }
-    }
-    
-    private static String printMaxOccurs(BigInteger bi)
-    {
-        if (bi == null)
-            return "unbounded";
-        return bi.toString();
-    }
-    
-    private static String printType(SchemaType type)
-    {
-        if (type.getName() != null)
-            return QNameHelper.pretty(type.getName());
-        return type.toString();
-    }
-
-    private static void checkSubstitutionGroups(SchemaGlobalElement[] elts)
-    {
-        StscState state = StscState.get();
-
-        for (int i = 0 ; i < elts.length ; i++)
-        {
-            SchemaGlobalElement elt = elts[i];
-            SchemaGlobalElement head = elt.substitutionGroup();
-
-            if (head != null)
-            {
-                SchemaType headType = head.getType();
-                SchemaType tailType = elt.getType();
-                XmlObject parseTree = ((SchemaGlobalElementImpl)elt)._parseObject;
-
-                if (! headType.isAssignableFrom(tailType))
-                {
-                    state.error("Element " + QNameHelper.pretty(elt.getName()) +
-                        " must have a type that is derived from the type of its substitution group.",
-                        XmlErrorContext.INCONSISTENT_TYPE, parseTree);
-                    
-                }
-                else if (head.finalExtension() && head.finalRestriction())
-                {
-                    state.error("Element " + QNameHelper.pretty(elt.getName()) + 
-                        " cannot be substituted for element with final='#all'",
-                        XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree);
-                }
-                else if (! headType.equals(tailType))
-                {
-                    if (head.finalExtension() && 
-                             tailType.getDerivationType() == SchemaType.DT_EXTENSION)
-                    {
-                        state.error("Element " + QNameHelper.pretty(elt.getName()) + 
-                            " cannot be substituted for element with final='extension'",
-                            XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree);
-                    }
-                    else if (head.finalRestriction() &&
-                             tailType.getDerivationType() == SchemaType.DT_RESTRICTION)
-                    {
-                        state.error("Element " + QNameHelper.pretty(elt.getName()) + 
-                            " cannot be substituted for element with final='restriction'",
-                            XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree);
-                    }
-                }
-            }
-
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java
deleted file mode 100644
index d115241..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java
+++ /dev/null
@@ -1,1967 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.math.BigInteger;
-import java.util.*;
-import java.util.List;
-
-import org.w3.x2001.xmlSchema.*;
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.AnyDocument.Any;
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.XmlInteger;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.XmlNonNegativeInteger;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.QNameSetSpecification;
-
-public class StscComplexTypeResolver
-{
-    public static Group getContentModel(ComplexType parseCt)
-    {
-        if (parseCt.getAll() != null)
-            return parseCt.getAll();
-
-        if (parseCt.getSequence() != null)
-            return parseCt.getSequence();
-
-        if (parseCt.getChoice() != null)
-            return parseCt.getChoice();
-
-        if (parseCt.getGroup() != null)
-            return parseCt.getGroup();
-
-        return null;
-    }
-
-    public static Group getContentModel(ComplexRestrictionType parseRest)
-    {
-        if (parseRest.getAll() != null)
-            return parseRest.getAll();
-
-        if (parseRest.getSequence() != null)
-            return parseRest.getSequence();
-
-        if (parseRest.getChoice() != null)
-            return parseRest.getChoice();
-
-        if (parseRest.getGroup() != null)
-            return parseRest.getGroup();
-
-        return null;
-
-    }
-
-    public static Group getContentModel(ExtensionType parseExt)
-    {
-        if (parseExt.getAll() != null)
-            return parseExt.getAll();
-
-        if (parseExt.getSequence() != null)
-            return parseExt.getSequence();
-
-        if (parseExt.getChoice() != null)
-            return parseExt.getChoice();
-
-        if (parseExt.getGroup() != null)
-            return parseExt.getGroup();
-
-        return null;
-
-    }
-
-    private static Schema getSchema(XmlObject o)
-    {
-        XmlCursor c = o.newCursor();
-        
-        try
-        {
-            while ( c.toParent() )
-            {
-                o = c.getObject();
-                
-                if (o.schemaType().equals(Schema.type))
-                    return (Schema) o;
-            }
-        }
-        finally
-        {
-            c.dispose();
-        }
-        
-        return null;
-    }
-
-    public static void resolveComplexType(SchemaTypeImpl sImpl)
-    {
-        ComplexType parseCt = (ComplexType)sImpl.getParseObject();
-        StscState state = StscState.get();
-        Schema schema = getSchema(parseCt);
-
-        // Set abstract & final flags
-        boolean abs = parseCt.isSetAbstract() ? parseCt.getAbstract() : false;
-        boolean finalExt = false;
-        boolean finalRest = false;
-        boolean finalList = false;
-        boolean finalUnion = false;
-
-        Object ds = null;
-        if (parseCt.isSetFinal())
-        {
-            ds = parseCt.getFinal();
-        }
-        // Inspect the final default attribute on the schema
-        else if (schema != null && schema.isSetFinalDefault())
-        {
-            ds = schema.getFinalDefault();
-        }
-
-        if (ds != null)
-        {
-            if (ds instanceof String && ds.equals("#all"))
-            {
-                // #ALL value
-                finalExt = finalRest = finalList = finalUnion = true;
-            }
-            else if (ds instanceof List)
-            {
-                if (((List)ds).contains("extension"))
-                    finalExt = true;
-                
-                if (((List)ds).contains("restriction"))
-                    finalRest = true;
-
-// Since complex types don't participate in list and unions, these can remain
-// false.  Perhaps we should throw an error.
-
-//                if (((List)ds).contains("list"))
-//                    finalList = true;
-//                
-//                if (((List)ds).contains("union"))
-//                    finalUnion = true;
-            }
-        }
-
-        sImpl.setAbstractFinal(abs, finalExt, finalRest, finalList, finalUnion);
-
-        // Set block flags
-        boolean blockExt = false;
-        boolean blockRest = false;
-        Object block = null;
-
-        if (parseCt.isSetBlock())
-            block = parseCt.getBlock();
-        else if (schema != null && schema.isSetBlockDefault())
-            block = schema.getBlockDefault();
-
-        if (block != null)
-        {
-            if (block instanceof String && block.equals("#all"))
-            {
-                // #ALL value
-                blockExt = blockRest = true;
-            }
-            else if (block instanceof List)
-            {
-                if (((List)block).contains("extension"))
-                    blockExt = true;
-                if (((List)block).contains("restriction"))
-                    blockRest = true;
-            }
-        }
-
-        sImpl.setBlock(blockExt, blockRest);
-
-        // Verify: have simpleContent, complexContent, or direct stuff
-        ComplexContentDocument.ComplexContent parseCc = parseCt.getComplexContent();
-        SimpleContentDocument.SimpleContent parseSc = parseCt.getSimpleContent();
-        Group parseGroup = getContentModel(parseCt);
-        int count =
-                (parseCc != null ? 1 : 0) +
-                (parseSc != null ? 1 : 0) +
-                (parseGroup != null ? 1 : 0);
-        if (count > 1)
-        {
-            state.error("A complex type must define either a content model, " +
-                      "or a simpleContent or complexContent derivation: " +
-                      "more than one found.",
-                    XmlErrorContext.REDUNDANT_CONTENT_MODEL, parseCt);
-            // recovery: treat it as the first of complexContent, simpleContent, model
-            parseGroup = null;
-            if (parseCc != null && parseSc != null)
-                parseSc = null;
-        }
-        
-        if (parseCc != null)
-        {
-            if (parseCc.getExtension() != null && parseCc.getRestriction() != null)
-                state.error("Restriction conflicts with extension", XmlErrorContext.REDUNDANT_CONTENT_MODEL, parseCc.getRestriction());
-            
-            // Mixed can be specified in two places: the rules are that Cc wins over Ct if present
-            // http://www.w3.org/TR/xmlschema-1/#c-mve
-            boolean mixed = parseCc.isSetMixed() ? parseCc.getMixed() : parseCt.getMixed();
-            
-            if (parseCc.getExtension() != null)
-                resolveCcExtension(sImpl, parseCc.getExtension(), mixed);
-            else if (parseCc.getRestriction() != null)
-                resolveCcRestriction(sImpl, parseCc.getRestriction(), mixed);
-            else
-            {
-                state.error("Missing restriction or extension", XmlErrorContext.MISSING_RESTRICTION_OR_EXTENSION, parseCc);
-                resolveErrorType(sImpl);
-            }
-            return;
-        }
-        else if (parseSc != null)
-        {
-            if (parseSc.getExtension() != null && parseSc.getRestriction() != null)
-                state.error("Restriction conflicts with extension", XmlErrorContext.REDUNDANT_CONTENT_MODEL, parseSc.getRestriction());
-
-            if (parseSc.getExtension() != null)
-                resolveScExtension(sImpl, parseSc.getExtension());
-            else if (parseSc.getRestriction() != null)
-                resolveScRestriction(sImpl, parseSc.getRestriction());
-            else
-            {
-                state.error("Missing restriction or extension", XmlErrorContext.MISSING_RESTRICTION_OR_EXTENSION, parseSc);
-                resolveErrorType(sImpl);
-            }
-            return;
-        }
-        else
-            resolveBasicComplexType(sImpl);
-    }
-
-    static void resolveErrorType(SchemaTypeImpl sImpl)
-    {
-        throw new RuntimeException("This type of error recovery not yet implemented.");
-    }
-
-    private static SchemaType.Ref[] makeRefArray(Collection typeList)
-    {
-        SchemaType.Ref[] result = new SchemaType.Ref[typeList.size()];
-        int j = 0;
-        for (Iterator i = typeList.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType)i.next()).getRef();
-        return result;
-    }
-
-
-    static void resolveBasicComplexType(SchemaTypeImpl sImpl)
-    {
-        List anonymousTypes = new ArrayList();
-        ComplexType parseTree = (ComplexType)sImpl.getParseObject();
-        String targetNamespace = sImpl.getTargetNamespace();
-        boolean chameleon = (sImpl.getChameleonNamespace() != null);
-        Group parseGroup = getContentModel(parseTree);
-
-        if (sImpl.isRedefinition())
-        {
-            StscState.get().error("A type redefinition must extend or restrict the original definition of the type.", XmlErrorContext.GENERIC_ERROR, parseTree);
-            // recovery: oh well.
-        }
-
-        int particleCode = translateParticleCode(parseGroup);
-
-        // used to ensure consistency (doesn't become part of the result)
-        Map elementModel = new LinkedHashMap();
-
-        // build content model and anonymous types
-        SchemaParticle contentModel = translateContentModel(sImpl, parseGroup, targetNamespace, chameleon, particleCode, anonymousTypes, elementModel, false, null);
-
-        // detect the nonempty "all" case (empty <all> doesn't count - it needs to be eliminated to match XSD test cases)
-        boolean isAll = contentModel != null && contentModel.getParticleType() == SchemaParticle.ALL;
-        
-        // build attr model and anonymous types
-        SchemaAttributeModelImpl attrModel = new SchemaAttributeModelImpl();
-        translateAttributeModel(parseTree, targetNamespace, chameleon, anonymousTypes, sImpl, null, attrModel, null, true, null);
-
-        // summarize wildcard information
-        WildcardResult wcElt = summarizeEltWildcards(contentModel);
-        WildcardResult wcAttr = summarizeAttrWildcards(attrModel);
-
-        // build state machine and verify that content model is deterministic
-        if (contentModel != null)
-        {
-            buildStateMachine(contentModel);
-            if (!StscState.get().noUpa() && !((SchemaParticleImpl)contentModel).isDeterministic())
-                StscState.get().error("Content model violates the unique particle attribution rule", XmlErrorContext.NONDETERMINISTIC_MODEL, parseGroup);
-        }
-
-        // build property model
-        // emitDBG("Building content Model for " + sImpl);
-        Map elementPropertyModel = buildContentPropertyModelByQName(contentModel, sImpl);
-
-        // add attribute property model
-        Map attributePropertyModel = buildAttributePropertyModelByQName(attrModel, sImpl);
-
-        // figure out content type
-        int complexVariety =
-            parseTree.getMixed()
-                ? SchemaType.MIXED_CONTENT
-                : contentModel == null
-                    ? SchemaType.EMPTY_CONTENT
-                    : SchemaType.ELEMENT_CONTENT;
-
-        // now fill in the actual schema type implementation
-        sImpl.setBaseTypeRef(BuiltinSchemaTypeSystem.ST_ANY_TYPE.getRef());
-        sImpl.setBaseDepth(BuiltinSchemaTypeSystem.ST_ANY_TYPE.getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_EXTENSION);
-        sImpl.setComplexTypeVariety(complexVariety);
-        sImpl.setContentModel(contentModel, attrModel, elementPropertyModel, attributePropertyModel, isAll);
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonymousTypes));
-        sImpl.setWildcardSummary(wcElt.typedWildcards, wcElt.hasWildcards, wcAttr.typedWildcards, wcAttr.hasWildcards);
-    }
-
-    static void resolveCcRestriction(SchemaTypeImpl sImpl, ComplexRestrictionType parseTree, boolean mixed)
-    {
-        StscState state = StscState.get();
-        String targetNamespace = sImpl.getTargetNamespace();
-        boolean chameleon = (sImpl.getChameleonNamespace() != null);
-
-        // BUGBUG: NOT YET REALLY IMPLEMENTED
-        // throw new RuntimeException("Not yet implemented.");
-
-        SchemaType baseType;
-        if (parseTree.getBase() == null)
-        {
-            state.error("A complexContent must define a base type", XmlErrorContext.MISSING_BASE, parseTree);
-            baseType = null; // recovery: no inheritance.
-        }
-        else
-        {
-            if (sImpl.isRedefinition())
-            {
-                baseType = state.findRedefinedGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace(), sImpl);
-                if (baseType != null && !baseType.getName().equals(sImpl.getName()))
-                    state.error("A type redefinition must extend the original type definition", XmlErrorContext.GENERIC_ERROR, parseTree);
-            }
-            else
-            {
-                baseType = state.findGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace());
-            }
-            
-            if (baseType == null)
-                state.notFoundError(parseTree.getBase(), XmlErrorContext.TYPE_NOT_FOUND, parseTree.xgetBase());
-        }
-
-        if (baseType == null)
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_TYPE;
-
-        if (baseType != null && baseType.finalRestriction())
-        {
-            state.error("Cannot restrict a final type", XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree.xgetBase());
-            // recovery: just keep going
-        }
-
-        // Recursion
-        if (baseType != null)
-        {
-            if (!StscResolver.resolveType((SchemaTypeImpl)baseType))
-                baseType = null; // circular dependency: no inheritance
-        }
-
-        List anonymousTypes = new ArrayList();
-        Group parseEg = getContentModel(parseTree);
-
-        // detect the "all" case
-        int particleCode = translateParticleCode(parseEg);
-
-        // used to ensure consistency (doesn't become part of the result)
-        Map elementModel = new LinkedHashMap();
-
-        // build content model and anonymous types
-        SchemaParticle contentModel = translateContentModel(
-            sImpl, parseEg, targetNamespace, chameleon, particleCode, anonymousTypes, elementModel, false, null);
-
-        // detect the nonempty "all" case (empty <all> doesn't count - it needs to be eliminated to match XSD test cases)
-        boolean isAll = contentModel != null && contentModel.getParticleType() == SchemaParticle.ALL;
-        
-        // build attr model and anonymous types
-        SchemaAttributeModelImpl attrModel;
-        if (baseType == null)
-            attrModel = new SchemaAttributeModelImpl();
-        else
-            attrModel = new SchemaAttributeModelImpl(baseType.getAttributeModel());
-        translateAttributeModel(parseTree, targetNamespace, chameleon, anonymousTypes, sImpl, null, attrModel, baseType, false, null);
-
-        // summarize wildcard information
-        WildcardResult wcElt = summarizeEltWildcards(contentModel);
-        WildcardResult wcAttr = summarizeAttrWildcards(attrModel);
-
-        // build state machine and verify that content model is deterministic
-        if (contentModel != null)
-        {
-            buildStateMachine(contentModel);
-            if (!StscState.get().noUpa() && !((SchemaParticleImpl)contentModel).isDeterministic())
-                StscState.get().error("Content model violates the unique particle attribution rule", XmlErrorContext.NONDETERMINISTIC_MODEL, parseEg);
-        }
-
-        // build property model
-        // emitDBG("Building content Model for " + sImpl);
-        Map elementPropertyModel = buildContentPropertyModelByQName(contentModel, sImpl);
-
-        // add attribute property model
-        Map attributePropertyModel = buildAttributePropertyModelByQName(attrModel, sImpl);
-
-        // compute empty/element/mixed
-        int complexVariety = (contentModel == null ? SchemaType.EMPTY_CONTENT :
-            (mixed ? SchemaType.MIXED_CONTENT : SchemaType.ELEMENT_CONTENT));
-
-        // now fill in the actual schema type implementation
-        sImpl.setBaseTypeRef(baseType.getRef());
-        sImpl.setBaseDepth(((SchemaTypeImpl)baseType).getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_RESTRICTION);
-        sImpl.setComplexTypeVariety(complexVariety);
-        sImpl.setContentModel(contentModel, attrModel, elementPropertyModel, attributePropertyModel, isAll);
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonymousTypes));
-        sImpl.setWildcardSummary(wcElt.typedWildcards, wcElt.hasWildcards, wcAttr.typedWildcards, wcAttr.hasWildcards);
-    }
-
-    static Map extractElementModel(SchemaType sType)
-    {
-        Map elementModel = new HashMap();
-        if (sType != null)
-        {
-            SchemaProperty[] sProps = sType.getProperties();
-            for (int i = 0; i < sProps.length; i++)
-            {
-                if (sProps[i].isAttribute())
-                    continue;
-                elementModel.put(sProps[i].getName(),
-                                 sProps[i].getType());
-            }
-        }
-        return elementModel;
-    }
-
-    static void resolveCcExtension(SchemaTypeImpl sImpl, ExtensionType parseTree, boolean mixed)
-    {
-        SchemaType baseType;
-        StscState state = StscState.get();
-        String targetNamespace = sImpl.getTargetNamespace();
-        boolean chameleon = (sImpl.getChameleonNamespace() != null);
-
-        if (parseTree.getBase() == null)
-        {
-            state.error("A complexContent must define a base type", XmlErrorContext.MISSING_BASE, parseTree);
-            baseType = null; // recovery: no inheritance.
-        }
-        else
-        {
-            if (sImpl.isRedefinition())
-            {
-                baseType = state.findRedefinedGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace(), sImpl);
-                if (baseType != null && !baseType.getName().equals(sImpl.getName()))
-                    state.error("A type redefinition must extend the original type definition", XmlErrorContext.GENERIC_ERROR, parseTree);
-            }
-            else
-            {
-                baseType = state.findGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace());
-            }
-            if (baseType == null)
-                state.notFoundError(parseTree.getBase(), XmlErrorContext.TYPE_NOT_FOUND, parseTree.xgetBase());
-        }
-
-        // Recursion
-        if (baseType != null)
-        {
-            if (!StscResolver.resolveType((SchemaTypeImpl)baseType))
-                baseType = null; // circular dependency: no inheritance
-        }
-
-        if (baseType != null && (baseType.isSimpleType() || baseType.getContentType() == SchemaType.SIMPLE_CONTENT))
-        {
-            state.error("The specified base type is not a complex type with complex content.", XmlErrorContext.COMPLEX_BASE_NOT_COMPLEX, parseTree.xgetBase());
-            baseType = null; // recovery: no inheritance.
-        }
-
-        if (baseType != null && baseType.finalExtension())
-        {
-            state.error("Cannot extend a final type", XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree.xgetBase());
-            // recovery: just keep going
-        }
-        
-        // get base content model
-        SchemaParticle baseContentModel = (baseType == null ? null : baseType.getContentModel());
-        // TODO: attribute model also
-
-        List anonymousTypes = new ArrayList();
-        Map baseElementModel = extractElementModel(baseType);
-        Group parseEg = getContentModel(parseTree);
-        
-        // build extension model
-        SchemaParticle extensionModel = translateContentModel(
-                sImpl, parseEg, targetNamespace, chameleon, translateParticleCode(parseEg),
-                anonymousTypes, baseElementModel, false, null);
-        
-        // apply rule #2 near http://www.w3.org/TR/xmlschema-1/#c-mve: empty ext model -> mixed taken from base
-        if (extensionModel == null && !mixed)
-            mixed = (baseType != null && baseType.getContentType() == SchemaType.MIXED_CONTENT);
-        
-        // apply Derivation Valid (Extension) rule 1.4.2.2
-        if (baseType != null && (baseType.getContentType() != SchemaType.EMPTY_CONTENT) &&
-                ((baseType.getContentType() == SchemaType.MIXED_CONTENT) != mixed))
-        {
-            state.error("Cannot extend an element-only type with a mixed type or vice-versa", XmlErrorContext.INCONSISTENT_TYPE, parseTree.xgetBase());
-            // recovery: just keep going
-        }
-
-        // detect the "all" base case
-        if (baseType != null && baseType.hasAllContent() && extensionModel != null)
-        {
-            state.error("Cannot extend a type with 'all' content model", XmlErrorContext.CANNOT_EXTEND_ALL, parseTree.xgetBase());
-            extensionModel = null; // recovery: drop extension
-        }
-
-        // build content model and anonymous types
-        SchemaParticle contentModel = extendContentModel(baseContentModel, extensionModel, parseTree);
-
-        // detect the nonempty "all" case (empty <all> doesn't count - it needs to be eliminated to match XSD test cases)
-        boolean isAll = contentModel != null && contentModel.getParticleType() == SchemaParticle.ALL;
-        
-        // build attr model and anonymous types
-        SchemaAttributeModelImpl attrModel;
-        if (baseType == null)
-            attrModel = new SchemaAttributeModelImpl();
-        else
-            attrModel = new SchemaAttributeModelImpl(baseType.getAttributeModel());
-        translateAttributeModel(parseTree, targetNamespace, chameleon, anonymousTypes, sImpl, null, attrModel, baseType, true, null);
-
-        // summarize wildcard information
-        WildcardResult wcElt = summarizeEltWildcards(contentModel);
-        WildcardResult wcAttr = summarizeAttrWildcards(attrModel);
-
-        // build state machine and verify that content model is deterministic
-        if (contentModel != null)
-        {
-            buildStateMachine(contentModel);
-            if (!StscState.get().noUpa() && !((SchemaParticleImpl)contentModel).isDeterministic())
-                StscState.get().error("Content model violates the unique particle attribution rule", XmlErrorContext.NONDETERMINISTIC_MODEL, parseEg);
-        }
-
-        // build property model
-        // emitDBG("Building content Model for " + sImpl);
-        Map elementPropertyModel = buildContentPropertyModelByQName(contentModel, sImpl);
-
-        // add attribute property model
-        Map attributePropertyModel = buildAttributePropertyModelByQName(attrModel, sImpl);
-
-        // compute empty/element/mixed
-        int complexVariety =  ( mixed ? SchemaType.MIXED_CONTENT :
-            (contentModel == null ? SchemaType.EMPTY_CONTENT : SchemaType.ELEMENT_CONTENT));
-
-        // now fill in the actual schema type implementation
-        if (baseType == null)
-            baseType = XmlObject.type;
-        sImpl.setBaseTypeRef(baseType.getRef());
-        sImpl.setBaseDepth(((SchemaTypeImpl)baseType).getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_EXTENSION);
-        sImpl.setComplexTypeVariety(complexVariety);
-        sImpl.setContentModel(contentModel, attrModel, elementPropertyModel, attributePropertyModel, isAll);
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonymousTypes));
-        sImpl.setWildcardSummary(wcElt.typedWildcards, wcElt.hasWildcards, wcAttr.typedWildcards, wcAttr.hasWildcards);
-    }
-
-    static void resolveScRestriction(SchemaTypeImpl sImpl, SimpleRestrictionType parseTree)
-    {
-        SchemaType baseType;
-        StscState state = StscState.get();
-        String targetNamespace = sImpl.getTargetNamespace();
-        boolean chameleon = (sImpl.getChameleonNamespace() != null);
-        if (parseTree.getSimpleType() != null)
-        {
-            state.warning("Nested simple types inside simple content restrictions are unsupported - ignoring", XmlErrorContext.ILLEGAL_RESTRICTION, parseTree);
-            // recovery: ignore the nested simple type element.
-        }
-        if (parseTree.getBase() == null)
-        {
-            state.error("A simpleContent restriction must define a base type", XmlErrorContext.MISSING_BASE, parseTree);
-            // recovery: extends ANY_SIMPLE type
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-        else
-        {
-            if (sImpl.isRedefinition())
-            {
-                baseType = state.findRedefinedGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace(), sImpl);
-                if (baseType != null && !baseType.getName().equals(sImpl.getName()))
-                    state.error("A type redefinition must restrict the original type definition", XmlErrorContext.GENERIC_ERROR, parseTree);
-            }
-            else
-            {
-                baseType = state.findGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace());
-            }
-            if (baseType == null)
-            {
-                state.notFoundError(parseTree.getBase(), XmlErrorContext.TYPE_NOT_FOUND, parseTree.xgetBase());
-                // recovery: extends ANY_SIMPLE type
-                baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-            }
-        }
-
-        // Recursion
-        StscResolver.resolveType((SchemaTypeImpl)baseType);
-
-        if (baseType.isSimpleType())
-        {
-            state.error("Simple type '" + baseType.getName() + "' cannot be used as the base type of a simple content restriction. (Use extension instead.)", XmlErrorContext.SIMPLE_BASE_NOT_SIMPLE, parseTree);
-            // recovery: extends ANY_SIMPLE type
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-        // BUGBUG: can restrict mixed content as long as all child elements are optional
-        else if (baseType.getContentType() != SchemaType.SIMPLE_CONTENT)
-        {
-            state.error("The specified base type " + baseType.toString() + " does not have simple content.", XmlErrorContext.SIMPLE_BASE_NOT_SIMPLE, parseTree);
-            // recovery: extends ANY_SIMPLE type
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-
-        if (baseType != null && baseType.finalRestriction())
-        {
-            state.error("Cannot restrict a final type", XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree.xgetBase());
-            // recovery: just keep going
-        }
-
-        // build attr model and anonymous types
-        List anonymousTypes = new ArrayList();
-        SchemaAttributeModelImpl attrModel;
-        if (baseType == null)
-            attrModel = new SchemaAttributeModelImpl();
-        else
-            attrModel = new SchemaAttributeModelImpl(baseType.getAttributeModel());
-        translateAttributeModel(parseTree, targetNamespace, chameleon, anonymousTypes, sImpl, null, attrModel, baseType, false, null);
-
-        // summarize wildcard information
-        WildcardResult wcAttr = summarizeAttrWildcards(attrModel);
-
-        // add attribute property model
-        Map attributePropertyModel = buildAttributePropertyModelByQName(attrModel, sImpl);
-
-        // now fill in the actual schema type implementation
-        sImpl.setBaseTypeRef(baseType.getRef());
-        sImpl.setBaseDepth(((SchemaTypeImpl)baseType).getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_RESTRICTION);
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonymousTypes));
-        sImpl.setWildcardSummary(QNameSet.EMPTY, false, wcAttr.typedWildcards, wcAttr.hasWildcards);
-        sImpl.setComplexTypeVariety(SchemaType.SIMPLE_CONTENT);
-        sImpl.setContentModel(null, attrModel, null, attributePropertyModel, false);
-        sImpl.setSimpleTypeVariety(baseType.getSimpleVariety());
-        sImpl.setPrimitiveTypeRef(baseType.getPrimitiveType() == null ? null : baseType.getPrimitiveType().getRef());
-        switch (sImpl.getSimpleVariety())
-        {
-            case SchemaType.LIST:
-                sImpl.setListItemTypeRef(baseType.getListItemType().getRef());
-                break;
-
-            case SchemaType.UNION:
-                sImpl.setUnionMemberTypeRefs(makeRefArray(Arrays.asList(baseType.getUnionMemberTypes())));
-                break;
-        }
-
-        // deal with facets
-        StscSimpleTypeResolver.resolveFacets(sImpl, parseTree, (SchemaTypeImpl)baseType);
-
-        // now compute our intrinsic properties
-        StscSimpleTypeResolver.resolveFundamentalFacets(sImpl);
-    }
-
-    static void resolveScExtension(SchemaTypeImpl sImpl, SimpleExtensionType parseTree)
-    {
-        SchemaType baseType;
-        StscState state = StscState.get();
-        String targetNamespace = sImpl.getTargetNamespace();
-        boolean chameleon = (sImpl.getChameleonNamespace() != null);
-        if (parseTree.getBase() == null)
-        {
-            state.error("A simpleContent extension must define a base type", XmlErrorContext.MISSING_BASE, parseTree);
-            // recovery: extends ANY_SIMPLE type
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-        else
-        {
-            if (sImpl.isRedefinition())
-            {
-                baseType = state.findRedefinedGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace(), sImpl);
-                if (baseType != null && !baseType.getName().equals(sImpl.getName()))
-                    state.error("A type redefinition must extend the original type definition", XmlErrorContext.GENERIC_ERROR, parseTree);
-            }
-            else
-            {
-                baseType = state.findGlobalType(parseTree.getBase(), sImpl.getChameleonNamespace());
-            }
-            if (baseType == null)
-            {
-                state.notFoundError(parseTree.getBase(), XmlErrorContext.TYPE_NOT_FOUND, parseTree.xgetBase());
-                // recovery: extends ANY_SIMPLE type
-                baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-            }
-        }
-
-        // Recursion
-        StscResolver.resolveType((SchemaTypeImpl)baseType);
-
-        if (!baseType.isSimpleType() && baseType.getContentType() != SchemaType.SIMPLE_CONTENT)
-        {
-            state.error("The specified base type " + baseType.toString() + " does not have simple content.", XmlErrorContext.SIMPLE_BASE_NOT_SIMPLE, parseTree);
-            // recovery: extends ANY_SIMPLE type
-            baseType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-
-        if (baseType != null && baseType.finalExtension())
-        {
-            state.error("Cannot extend a final type", XmlErrorContext.CANNOT_DERIVE_FINAL, parseTree.xgetBase());
-            // recovery: just keep going
-        }
-
-        // build attr model and anonymous types
-        List anonymousTypes = new ArrayList();
-        SchemaAttributeModelImpl attrModel;
-        attrModel = new SchemaAttributeModelImpl(baseType.getAttributeModel());
-        translateAttributeModel(parseTree, targetNamespace, chameleon, anonymousTypes, sImpl, null, attrModel, baseType, true, null);
-
-        // summarize wildcard information
-        WildcardResult wcAttr = summarizeAttrWildcards(attrModel);
-
-        // add attribute property model
-        Map attributePropertyModel = buildAttributePropertyModelByQName(attrModel, sImpl);
-
-        // now fill in the actual schema type implementation
-        sImpl.setBaseTypeRef(baseType.getRef());
-        sImpl.setBaseDepth(((SchemaTypeImpl)baseType).getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_EXTENSION);
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonymousTypes));
-        sImpl.setWildcardSummary(QNameSet.EMPTY, false, wcAttr.typedWildcards, wcAttr.hasWildcards);
-        sImpl.setComplexTypeVariety(SchemaType.SIMPLE_CONTENT);
-        sImpl.setContentModel(null, attrModel, null, attributePropertyModel, false);
-        sImpl.setSimpleTypeVariety(baseType.getSimpleVariety());
-        sImpl.setPrimitiveTypeRef(baseType.getPrimitiveType() == null ? null : baseType.getPrimitiveType().getRef());
-        switch (sImpl.getSimpleVariety())
-        {
-            case SchemaType.LIST:
-                sImpl.setListItemTypeRef(baseType.getListItemType().getRef());
-                break;
-
-            case SchemaType.UNION:
-                sImpl.setUnionMemberTypeRefs(makeRefArray(Arrays.asList(baseType.getUnionMemberTypes())));
-                break;
-        }
-
-        // deal with facets
-        StscSimpleTypeResolver.resolveFacets(sImpl, null, (SchemaTypeImpl)baseType);
-
-        // now compute our intrinsic properties
-        StscSimpleTypeResolver.resolveFundamentalFacets(sImpl);
-    }
-
-    static class WildcardResult
-    {
-        WildcardResult(QNameSet typedWildcards, boolean hasWildcards)
-        {
-            this.typedWildcards = typedWildcards;
-            this.hasWildcards = hasWildcards;
-        }
-        QNameSet typedWildcards;
-        boolean hasWildcards;
-    }
-
-    static WildcardResult summarizeAttrWildcards(SchemaAttributeModel attrModel)
-    {
-        if (attrModel.getWildcardProcess() == SchemaAttributeModel.NONE)
-            return new WildcardResult(QNameSet.EMPTY, false);
-        if (attrModel.getWildcardProcess() == SchemaAttributeModel.SKIP)
-            return new WildcardResult(QNameSet.EMPTY, true);
-        return new WildcardResult(attrModel.getWildcardSet(), true);
-    }
-
-    static WildcardResult summarizeEltWildcards(SchemaParticle contentModel)
-    {
-        if (contentModel == null)
-        {
-            return new WildcardResult(QNameSet.EMPTY, false);
-        }
-
-        switch (contentModel.getParticleType())
-        {
-            case SchemaParticle.ALL:
-            case SchemaParticle.SEQUENCE:
-            case SchemaParticle.CHOICE:
-                QNameSetBuilder set = new QNameSetBuilder();
-                boolean hasWildcards = false;
-                for (int i = 0; i < contentModel.countOfParticleChild(); i++)
-                {
-                    WildcardResult inner = summarizeEltWildcards(contentModel.getParticleChild(i));
-                    set.addAll(inner.typedWildcards);
-                    hasWildcards |= inner.hasWildcards;
-                }
-                return new WildcardResult(set.toQNameSet(), hasWildcards);
-            case SchemaParticle.WILDCARD:
-                return new WildcardResult(
-                    (contentModel.getWildcardProcess() == SchemaParticle.SKIP) ?
-                    QNameSet.EMPTY : contentModel.getWildcardSet(), true);
-                // otherwise fallthrough
-
-            default:
-                return new WildcardResult(QNameSet.EMPTY, false);
-        }
-    }
-
-    static void translateAttributeModel(
-            XmlObject parseTree, String targetNamespace, boolean chameleon,
-            List anonymousTypes, SchemaType outerType,
-            Set seenAttributes, SchemaAttributeModelImpl result,
-            SchemaType baseType, boolean extension,
-            SchemaAttributeGroupImpl redefinitionFor)
-    {
-        StscState state = StscState.get();
-        if (seenAttributes == null)
-            seenAttributes = new HashSet();
-        boolean seenWildcard = false;
-        boolean seenRedefinition = false;
-        SchemaAttributeModel baseModel = null;
-        if (baseType != null)
-            baseModel = baseType.getAttributeModel();
-
-        XmlCursor cur = parseTree.newCursor();
-
-        for (boolean more = cur.toFirstChild(); more; more = cur.toNextSibling())
-        {
-            switch (translateAttributeCode(cur.getName()))
-            {
-                case ATTRIBUTE_CODE:
-                {
-                    Attribute xsdattr = (Attribute)cur.getObject();
-
-                    SchemaLocalAttribute sAttr = StscTranslator.translateAttribute(xsdattr, targetNamespace, chameleon, anonymousTypes, outerType, baseModel, true);
-                    if (sAttr == null)
-                        continue;
-
-                    if (seenAttributes.contains(sAttr.getName()))
-                    {
-                        state.error("Attribute with the same name already defined ", XmlErrorContext.DUPLICATE_ATTRIBUTE_NAME, xsdattr.xgetName());
-                        continue; // ignore the duplicate attr
-                    }
-
-                    seenAttributes.add(sAttr.getName());
-                    
-                    if (baseModel != null)
-                    {
-                        SchemaLocalAttribute baseAttr = baseModel.getAttribute(sAttr.getName());
-                        if (baseAttr == null)
-                        {
-                            if (!extension)
-                            {
-                                if (!baseModel.getWildcardSet().contains(sAttr.getName()))
-                                    state.error("A restriction cannot introduce a new attribute that would not be allowed in the base type.", XmlErrorContext.DUPLICATE_ATTRIBUTE_NAME, xsdattr);
-                            }
-                        }
-                        else
-                        {
-                            if (extension)
-                            {
-                                if (sAttr.getUse() == SchemaLocalAttribute.PROHIBITED)
-                                    state.error("An extension cannot prohibit an attribute from the base type; use restriction instead.", XmlErrorContext.DUPLICATE_ATTRIBUTE_NAME, xsdattr.xgetUse());
-                            }
-                            else
-                            {
-                                if (sAttr.getUse() != SchemaLocalAttribute.REQUIRED)
-                                {
-                                    if (baseAttr.getUse() == SchemaLocalAttribute.REQUIRED)
-                                        state.error("A restriction cannot modify an attribute that is required in the base type to be prohibited or optional.", XmlErrorContext.DUPLICATE_ATTRIBUTE_NAME, xsdattr.xgetUse());
-                                    
-                                    if (sAttr.getUse() == SchemaLocalAttribute.PROHIBITED)
-                                        result.removeProhibitedAttribute(sAttr.getName());
-                                }
-                            }
-                        }
-                    }
-
-                    if (sAttr.getUse() != SchemaLocalAttribute.PROHIBITED)
-                        result.addAttribute(sAttr);
-                        
-                    if (sAttr.getDefaultText() != null && !sAttr.isFixed())
-                    {
-                        if (sAttr.getUse() != SchemaLocalAttribute.OPTIONAL)
-                            state.error("An attribute declaration must be optional in order to specify a default", XmlErrorContext.GENERIC_ERROR, xsdattr);
-                    }
-                        
-
-                    break;
-                }
-                case ANY_ATTRIBUTE_CODE:
-                {
-                    Wildcard xsdwc = (Wildcard)cur.getObject();
-                    if (seenWildcard)
-                    {
-                        state.error("Only one attribute wildcard allowed", XmlErrorContext.DUPLICATE_ANY_ATTRIBUTE, xsdwc);
-                        continue; // ignore the extra wildcard
-                    }
-                    seenWildcard = true;
-                    NamespaceList nsList = xsdwc.xgetNamespace();
-                    String nsText;
-                    if (nsList == null)
-                        nsText = "##any";
-                    else
-                        nsText = nsList.getStringValue();
-                    QNameSet wcset = QNameSet.forWildcardNamespaceString(nsText, targetNamespace);
-                    
-                    if (baseModel != null && !extension)
-                    {
-                        if (baseModel.getWildcardSet() == null)
-                        {
-                            state.error("A restriction cannot add anyAttribute when the base type does not have anyAttribute", XmlErrorContext.DUPLICATE_ANY_ATTRIBUTE, xsdwc);
-                            continue; // ignore the extra wildcard
-                        }
-                        else if (!baseModel.getWildcardSet().containsAll(wcset))
-                        {
-                            state.error("The anyAttribute namespace='" + nsText + "' is not a subset of the base type anyAttribute", XmlErrorContext.DUPLICATE_ANY_ATTRIBUTE, xsdwc);
-                            continue; // ignore the restriction
-                        }
-                    }
-                    
-                    int wcprocess = translateWildcardProcess(xsdwc.xgetProcessContents());
-                    if (result.getWildcardProcess() == SchemaAttributeModel.NONE)
-                    {
-                        result.setWildcardSet(wcset);
-                        result.setWildcardProcess(wcprocess);
-                    }
-                    else
-                    {
-                        if (extension)
-                        {
-                            result.setWildcardSet(wcset.union(result.getWildcardSet()));
-                            result.setWildcardProcess(wcprocess);
-                        }
-                        else
-                        {
-                            result.setWildcardSet(wcset.intersect(result.getWildcardSet()));
-                            // keep old process
-                        }
-                    }
-                    break;
-                }
-                case ATTRIBUTE_GROUP_CODE:
-                {
-                    AttributeGroupRef xsdag = (AttributeGroupRef)cur.getObject();
-                    QName ref = xsdag.getRef();
-                    if (ref == null)
-                    {
-                        state.error("Attribute group reference must have a ref attribute", XmlErrorContext.ATTRIBUTE_GROUP_MISSING_REF, xsdag);
-                        continue;
-                    }
-                    SchemaAttributeGroupImpl group;
-                    if (redefinitionFor != null)
-                    {
-                        group = state.findRedefinedAttributeGroup(ref, chameleon ? targetNamespace : null, redefinitionFor);
-                        if (group != null &&
-                            redefinitionFor.getName().equals(group.getName()))
-                        {
-                            if (seenRedefinition)
-                                state.error("An attribute group redefinition must include at most one reference to the original definition.", XmlErrorContext.GENERIC_ERROR, xsdag);
-                            seenRedefinition = true;
-                        }
-                    }
-                    else
-                    {
-                        group = state.findAttributeGroup(ref, chameleon ? targetNamespace : null);
-                    }
-                    if (group == null)
-                    {
-                        state.notFoundError(ref, XmlErrorContext.ATTRIBUTE_GROUP_NOT_FOUND, xsdag.xgetRef());
-                        continue;
-                    }
-                    if (state.isProcessing(group))
-                    {
-                        state.error("Attribute group " + QNameHelper.pretty(group.getName()) + " references itself", XmlErrorContext.CYCLIC_DEPENDENCY, group.getParseObject());
-                        continue;
-                    }
-                    String subTargetNamespace = targetNamespace;
-                    if (group.getTargetNamespace() != null)
-                    {
-                        subTargetNamespace = group.getTargetNamespace();
-                        chameleon = group.getChameleonNamespace() != null;
-                    }
-
-                    state.startProcessing(group);
-                    SchemaAttributeGroupImpl nestedRedefinitionFor = null;
-                    if (group.isRedefinition())
-                        nestedRedefinitionFor = group;
-                    translateAttributeModel(group.getParseObject(), subTargetNamespace, chameleon, anonymousTypes, outerType, seenAttributes, result, baseType, extension, nestedRedefinitionFor);
-                    state.finishProcessing(group);
-                    break;
-                }
-                default:
-                {
-                    continue; // skip things that are not part of the attribute model.
-                }
-            }
-        }
-    }
-
-    static SchemaParticle extendContentModel(SchemaParticle baseContentModel, SchemaParticle extendedContentModel, XmlObject parseTree)
-    {
-        // http://www.w3.org/TR/xmlschema-1/#element-complexContent::extension
-        
-        // 2.1 If the ·explicit content· is empty, then the {content type} of the type definition ·resolved· to by the ·actual value· of the base [attribute] 
-        if (extendedContentModel == null)
-            return baseContentModel;
-        
-        // 2.2 If the type definition ·resolved· to by the ·actual value· of the base [attribute] has a {content type} of empty, then a pair of mixed or elementOnly (determined as per clause 1.2.1 above) and the ·explicit content· itself;
-        if (baseContentModel == null)
-            return extendedContentModel;
-        
-        // 2.3 otherwise a pair of mixed or elementOnly (determined as per clause 1.2.1 above) and a particle whose properties are as follows:  
-        SchemaParticleImpl sPart = new SchemaParticleImpl();
-        sPart.setParticleType(SchemaParticle.SEQUENCE);
-
-        List accumulate = new ArrayList();
-        addMinusPointlessParticles(accumulate, baseContentModel, SchemaParticle.SEQUENCE);
-        addMinusPointlessParticles(accumulate, extendedContentModel, SchemaParticle.SEQUENCE);
-        sPart.setMinOccurs(BigInteger.ONE);
-        sPart.setMaxOccurs(BigInteger.ONE);
-        sPart.setParticleChildren((SchemaParticle[])
-                accumulate.toArray(new SchemaParticle[accumulate.size()]));
-
-        return filterPointlessParticlesAndVerifyAllParticles(sPart, parseTree);
-    }
-
-    static BigInteger extractMinOccurs(XmlNonNegativeInteger nni)
-    {
-        if (nni == null)
-            return BigInteger.ONE;
-        BigInteger result = nni.getBigIntegerValue();
-        if (result == null)
-            return BigInteger.ONE;
-        return result;
-    }
-
-    static BigInteger extractMaxOccurs(AllNNI allNNI)
-    {
-        if (allNNI == null)
-            return BigInteger.ONE;
-
-        if (allNNI.instanceType().getPrimitiveType().getBuiltinTypeCode() == SchemaType.BTC_DECIMAL)
-            return ((XmlInteger)allNNI).getBigIntegerValue();
-        else
-            return null;
-    }
-    
-    private static class RedefinitionForGroup
-    {
-        private SchemaModelGroupImpl group;
-        private boolean seenRedefinition = false;
-
-        public RedefinitionForGroup(SchemaModelGroupImpl group)
-        {
-            this.group = group;
-        }
-
-        public SchemaModelGroupImpl getGroup()
-        {
-            return group;
-        }
-
-        public boolean isSeenRedefinition()
-        {
-            return seenRedefinition;
-        }
-
-        public void setSeenRedefinition(boolean seenRedefinition)
-        {
-            this.seenRedefinition = seenRedefinition;
-        }
-    }
-
-    static SchemaParticle translateContentModel(
-            SchemaType outerType,
-            XmlObject parseTree, String targetNamespace, boolean chameleon,
-            int particleCode,
-            List anonymousTypes, Map elementModel,
-            boolean allowElt, RedefinitionForGroup redefinitionFor)
-    {
-        if (parseTree == null || particleCode == 0)
-            return null;
-
-        StscState state = StscState.get();
-
-        // emitDBG("Translating content model for " + outerType);
-        // indentDBG();
-        assert(particleCode != 0);
-
-        boolean hasChildren = false;
-        BigInteger minOccurs;
-        BigInteger maxOccurs;
-        SchemaModelGroupImpl group = null;
-
-        SchemaParticleImpl sPart;
-
-        if (particleCode == SchemaParticle.ELEMENT)
-        {
-            if (!allowElt)
-                state.error("Must be a sequence, choice or all here", XmlErrorContext.EXPLICIT_GROUP_NEEDED, parseTree);
-
-            // TODO: detect substitution group for this element and construct a choice
-
-            LocalElement parseElt = (LocalElement)parseTree;
-            sPart = StscTranslator.translateElement(parseElt, targetNamespace, chameleon, anonymousTypes, outerType);
-            if (sPart == null)
-                return null;
-            minOccurs = extractMinOccurs(parseElt.xgetMinOccurs());
-            maxOccurs = extractMaxOccurs(parseElt.xgetMaxOccurs());
-
-            SchemaType oldType = (SchemaType)elementModel.get(sPart.getName());
-            if (oldType == null)
-            {
-                elementModel.put(sPart.getName(), sPart.getType());
-            }
-            else if (!sPart.getType().equals(oldType))
-            {
-                state.error("Type of " + QNameHelper.pretty(sPart.getName()) + " is inconsistent with another element with the same name in this content model", XmlErrorContext.INCONSISTENT_TYPE, parseTree);
-                return null;
-            }
-        }
-        else if (particleCode == SchemaParticle.WILDCARD)
-        {
-            if (!allowElt)
-                state.error("Must be a sequence, choice or all here", XmlErrorContext.EXPLICIT_GROUP_NEEDED, parseTree);
-            Any parseAny = (Any)parseTree;
-            sPart = new SchemaParticleImpl();
-            sPart.setParticleType(SchemaParticle.WILDCARD);
-            QNameSet wcset;
-            NamespaceList nslist = parseAny.xgetNamespace();
-            if (nslist == null)
-                wcset = QNameSet.ALL;
-            else
-                wcset = QNameSet.forWildcardNamespaceString(nslist.getStringValue(), targetNamespace);
-            sPart.setWildcardSet(wcset);
-            sPart.setWildcardProcess(translateWildcardProcess(parseAny.xgetProcessContents()));
-            minOccurs = extractMinOccurs(parseAny.xgetMinOccurs());
-            maxOccurs = extractMaxOccurs(parseAny.xgetMaxOccurs());
-        }
-        else
-        {
-            Group parseGroup = (Group)parseTree;
-            sPart = new SchemaParticleImpl();
-
-            // grab min/maxOccurs before dereferencign group ref
-            minOccurs = extractMinOccurs(parseGroup.xgetMinOccurs());
-            maxOccurs = extractMaxOccurs(parseGroup.xgetMaxOccurs());
-            
-            if (particleCode == MODEL_GROUP_CODE)
-            {
-                QName ref = parseGroup.getRef();
-                if (ref == null)
-                {
-                    state.error("Group reference must have a ref attribute", XmlErrorContext.GROUP_MISSING_REF, parseTree);
-                    return null;
-                }
-                
-                if (redefinitionFor != null)
-                {
-                    group = state.findRedefinedModelGroup(ref, chameleon ? targetNamespace : null, redefinitionFor.getGroup());
-                    if (group != null && group.getName().equals(redefinitionFor.getGroup().getName()))
-                    {
-                        if (redefinitionFor.isSeenRedefinition())
-                            state.error("Group redefinition must refer to the original definition at most once", XmlErrorContext.GENERIC_ERROR, parseTree);
-                        if (!BigInteger.ONE.equals(maxOccurs) || !BigInteger.ONE.equals(minOccurs))
-                            state.error("When referencing the original group definition in a redefinition, maxOccurs and minOccurs must be 1", XmlErrorContext.GENERIC_ERROR, parseTree);
-                        redefinitionFor.setSeenRedefinition(true);
-                    }
-                }
-                else
-                {
-                    group = state.findModelGroup(ref, chameleon ? targetNamespace : null);
-                }
-                if (group == null)
-                {
-                    state.notFoundError(ref, XmlErrorContext.MODEL_GROUP_NOT_FOUND, ((Group)parseTree).xgetRef());
-                    return null;
-                }
-                if (state.isProcessing(group))
-                {
-                    state.error("Model group " + QNameHelper.pretty(group.getName()) + " references itself", XmlErrorContext.CYCLIC_DEPENDENCY, group.getParseObject());
-                    return null;
-                }
-                
-                // no go to the child.
-                XmlCursor cur = group.getParseObject().newCursor();
-                for (boolean more = cur.toFirstChild(); more; more = cur.toNextSibling())
-                {
-                    particleCode = translateParticleCode(cur.getName());
-                    if (particleCode != 0)
-                    {
-                        parseTree = parseGroup = (Group)cur.getObject();
-                        break;
-                    }
-                }
-                if (particleCode == 0)
-                {
-                    state.error("Model group " + QNameHelper.pretty(group.getName()) + " is empty", XmlErrorContext.EXPLICIT_GROUP_NEEDED, group.getParseObject());
-                    return null;
-                }
-                if (particleCode != SchemaParticle.ALL && particleCode != SchemaParticle.SEQUENCE && particleCode != SchemaParticle.CHOICE)
-                {
-                    state.error("Model group " + QNameHelper.pretty(group.getName()) + " is not a sequence, all, or choice", XmlErrorContext.EXPLICIT_GROUP_NEEDED, group.getParseObject());
-                }
-                
-                String newTargetNamespace = group.getTargetNamespace();
-                if (newTargetNamespace != null)
-                    targetNamespace = newTargetNamespace;
-            }
-
-            switch (particleCode)
-            {
-                case SchemaParticle.ALL:
-                case SchemaParticle.SEQUENCE:
-                case SchemaParticle.CHOICE:
-                    sPart.setParticleType(particleCode);
-                    hasChildren = true;
-                    break;
-
-                default:
-                    assert(false);
-                    throw new IllegalStateException();
-            }
-        }
-
-        if (maxOccurs != null && minOccurs.compareTo(maxOccurs) > 0)
-        {
-            state.error("maxOccurs must not be less than minOccurs", XmlErrorContext.MIN_MAX_OCCURS, parseTree);
-            maxOccurs = minOccurs; // remedy: pin max up to min
-        }
-
-        if (maxOccurs != null && maxOccurs.compareTo(BigInteger.ONE) < 0)
-        {
-            // remove from the list of anonymous types if it was added
-            anonymousTypes.remove(sPart.getType());
-            return null; // maxOccurs == minOccurs == 0, same as no particle at all.
-        }
-
-        sPart.setMinOccurs(minOccurs);
-        sPart.setMaxOccurs(maxOccurs);
-        
-        if (group != null)
-        {
-            state.startProcessing(group);
-            redefinitionFor = null;
-            if (group.isRedefinition())
-                redefinitionFor = new RedefinitionForGroup(group);
-        }
-
-        if (hasChildren)
-        {
-            XmlCursor cur = parseTree.newCursor();
-            List accumulate = new ArrayList();
-            for (boolean more = cur.toFirstChild(); more; more = cur.toNextSibling())
-            {
-                int code = translateParticleCode(cur.getName());
-                if (code == 0)
-                    continue;
-                addMinusPointlessParticles(accumulate,
-                        translateContentModel(outerType,
-                                cur.getObject(), targetNamespace, chameleon, code,
-                                anonymousTypes, elementModel, true, redefinitionFor),
-                        sPart.getParticleType());
-            }
-            sPart.setParticleChildren((SchemaParticle[])
-                    accumulate.toArray(new SchemaParticle[accumulate.size()]));
-            cur.dispose();
-        }
-        
-
-        SchemaParticle result = filterPointlessParticlesAndVerifyAllParticles(sPart, parseTree);
-
-        if (group != null)
-        {
-            state.finishProcessing(group);
-        }
-        // outdentDBG();
-        return result;
-    }
-    
-    static int translateWildcardProcess(Any.ProcessContents process)
-    {
-        if (process == null)
-            return SchemaParticle.STRICT;
-
-        String processValue = process.getStringValue();
-
-        if ("lax".equals(processValue))
-            return SchemaParticle.LAX;
-
-        if ("skip".equals(processValue))
-            return SchemaParticle.SKIP;
-
-        return SchemaParticle.STRICT;
-    }
-
-    static SchemaParticle filterPointlessParticlesAndVerifyAllParticles(SchemaParticle part, XmlObject parseTree)
-    {
-        if (part.getMaxOccurs() != null && part.getMaxOccurs().signum() == 0)
-            return null;
-
-        switch (part.getParticleType())
-        {
-            case SchemaParticle.SEQUENCE:
-            case SchemaParticle.ALL:
-                if (part.getParticleChildren().length == 0)
-                    return null;
-                if (part.isSingleton() && part.countOfParticleChild() == 1)
-                    return part.getParticleChild(0);
-                break;
-
-            case SchemaParticle.CHOICE:
-                if (part.getParticleChildren().length == 0 &&
-                    part.getMinOccurs().compareTo(BigInteger.ZERO) == 0)
-                    return null;
-                if (part.isSingleton() && part.countOfParticleChild() == 1)
-                    return part.getParticleChild(0);
-                break;
-
-            case SchemaParticle.ELEMENT:
-            case SchemaParticle.WILDCARD:
-                return part;
-
-            default:
-                assert(false);
-                throw new IllegalStateException();
-        }
-        
-        boolean isAll = part.getParticleType() == SchemaParticle.ALL;
-        
-        if (isAll)
-        {
-            // http://www.w3.org/TR/xmlschema-1/#cos-all-limited
-            if (part.getMaxOccurs() == null || part.getMaxOccurs().compareTo(BigInteger.ONE) > 0)
-            {
-                StscState.get().error("An all group must have maxOccurs <= 1", XmlErrorContext.ALL_CONTENTS, parseTree);
-            }
-        }
-        
-        for (int i = 0; i < part.countOfParticleChild(); i++)
-        {
-            SchemaParticle child = part.getParticleChild(i);
-            if (child.getParticleType() == SchemaParticle.ALL)
-            {
-                StscState.get().error("An all group is only allowed at the top level of the content model", XmlErrorContext.CANNOT_EXTEND_ALL, parseTree);
-            }
-            else if (isAll && (child.getParticleType() != SchemaParticle.ELEMENT || child.getMaxOccurs() == null || child.getMaxOccurs().compareTo(BigInteger.ONE) > 0))
-            {
-                StscState.get().error("An all group can contain only element particles with maxOccurs <= 1", XmlErrorContext.ALL_CONTENTS, parseTree);
-            }
-        }
-        
-        return part;
-    }
-
-    static void addMinusPointlessParticles(
-            List list, SchemaParticle part, int parentParticleType)
-    {
-        if (part == null)
-            return;
-
-        switch (part.getParticleType())
-        {
-            case SchemaParticle.SEQUENCE:
-                if (parentParticleType == SchemaParticle.SEQUENCE && part.isSingleton())
-                {
-                    // emitDBG("dropping redundant sequence");
-                    list.addAll(Arrays.asList(part.getParticleChildren()));
-                    return;
-                }
-                break;
-
-            case SchemaParticle.CHOICE:
-                if (parentParticleType == SchemaParticle.CHOICE && part.isSingleton())
-                {
-                    // emitDBG("dropping redundant choice");
-                    list.addAll(Arrays.asList(part.getParticleChildren()));
-                    return;
-                }
-                break;
-                
-            case SchemaParticle.ALL:
-            default:                
-        }
-        list.add(part);
-    }
-
-    static Map buildAttributePropertyModelByQName(SchemaAttributeModel attrModel, SchemaType owner)
-    {
-        Map result = new LinkedHashMap();
-        SchemaLocalAttribute[] attruses = attrModel.getAttributes();
-
-        for (int i = 0; i < attruses.length; i++)
-            result.put(attruses[i].getName(), buildUseProperty(attruses[i], owner));
-
-        return result;
-    }
-
-    static Map buildContentPropertyModelByQName(SchemaParticle part, SchemaType owner)
-    {
-        if (part == null)
-            return Collections.EMPTY_MAP;
-
-        boolean asSequence = false;
-        Map model = null;
-
-        switch (part.getParticleType())
-        {
-            case SchemaParticle.ALL:
-            case SchemaParticle.SEQUENCE:
-                asSequence = true;
-                break;
-            case SchemaParticle.CHOICE:
-                asSequence = false;
-                break;
-            case SchemaParticle.ELEMENT:
-                model = buildElementPropertyModel((SchemaLocalElement)part, owner);
-                break;
-            case SchemaParticle.WILDCARD:
-                model = Collections.EMPTY_MAP;
-                break;
-            default:
-                assert(false);
-                throw new IllegalStateException();
-        }
-
-        if (model == null)
-        {
-            // build model for children
-            model = new LinkedHashMap();
-            SchemaParticle[] children = part.getParticleChildren();
-
-            for (int i = 0; i < children.length; i++)
-            {
-                // indentDBG();
-                Map childModel = buildContentPropertyModelByQName(children[i], owner);
-                // outdentDBG();
-                for (Iterator j = childModel.values().iterator(); j.hasNext(); )
-                {
-                    SchemaProperty iProp = (SchemaProperty)j.next();
-                    SchemaPropertyImpl oProp = (SchemaPropertyImpl)model.get(iProp.getName());
-                    if (oProp == null)
-                    {
-                        if (!asSequence)
-                            ((SchemaPropertyImpl)iProp).setMinOccurs(BigInteger.ZERO);
-                        model.put(iProp.getName(), iProp);
-                        continue;
-                    }
-                    // consistency verified in an earlier step
-                    assert(oProp.getType().equals(iProp.getType()));
-
-                    mergeProperties(oProp, iProp, asSequence);
-                }
-            }
-
-            // finally deal with minOccurs, maxOccurs over whole group
-            BigInteger min = part.getMinOccurs();
-            BigInteger max = part.getMaxOccurs();
-
-            for (Iterator j = model.values().iterator(); j.hasNext(); )
-            {
-                SchemaProperty oProp = (SchemaProperty)j.next();
-                BigInteger minOccurs = oProp.getMinOccurs();
-                BigInteger maxOccurs = oProp.getMaxOccurs();
-
-                minOccurs = minOccurs.multiply(min);
-                if (max != null && max.equals(BigInteger.ZERO))
-                    maxOccurs = BigInteger.ZERO;
-                else if (maxOccurs != null && !maxOccurs.equals(BigInteger.ZERO))
-                    maxOccurs = max == null ? null : maxOccurs.multiply(max);
-
-                ((SchemaPropertyImpl)oProp).setMinOccurs(minOccurs);
-                ((SchemaPropertyImpl)oProp).setMaxOccurs(maxOccurs);
-            }
-        }
-
-        return model;
-    }
-
-    static Map buildElementPropertyModel(SchemaLocalElement epart, SchemaType owner)
-    {
-        Map result = new HashMap(1);
-
-        SchemaProperty sProp = buildUseProperty(epart, owner);
-        result.put(sProp.getName(), sProp);
-        return result;
-    }
-
-    static SchemaProperty buildUseProperty(SchemaField use, SchemaType owner)
-    {
-        SchemaPropertyImpl sPropImpl = new SchemaPropertyImpl();
-        sPropImpl.setName(use.getName());
-        sPropImpl.setContainerTypeRef(owner.getRef());
-        sPropImpl.setTypeRef(use.getType().getRef());
-        sPropImpl.setAttribute(use.isAttribute());
-        sPropImpl.setDefault(use.isDefault() ? SchemaProperty.CONSISTENTLY : SchemaProperty.NEVER);
-        sPropImpl.setFixed(use.isFixed() ? SchemaProperty.CONSISTENTLY : SchemaProperty.NEVER);
-        sPropImpl.setNillable(use.isNillable() ? SchemaProperty.CONSISTENTLY : SchemaProperty.NEVER);
-        sPropImpl.setDefaultText(use.getDefaultText());
-        sPropImpl.setMinOccurs(use.getMinOccurs());
-        sPropImpl.setMaxOccurs(use.getMaxOccurs());
-
-        if (use instanceof SchemaLocalElementImpl)
-        {
-            SchemaLocalElementImpl elt = (SchemaLocalElementImpl)use;
-            sPropImpl.setAcceptedNames(elt.acceptedStartNames());
-        }
-
-        return sPropImpl;
-    }
-
-    static void mergeProperties(SchemaPropertyImpl into, SchemaProperty from, boolean asSequence)
-    {
-        // minoccur, maxoccur
-        BigInteger minOccurs = into.getMinOccurs();
-        BigInteger maxOccurs = into.getMaxOccurs();
-        if (asSequence)
-        {
-            minOccurs = minOccurs.add(from.getMinOccurs());
-            if (maxOccurs != null)
-                maxOccurs = (from.getMaxOccurs() == null ? null :
-                                  maxOccurs.add(from.getMaxOccurs()));
-        }
-        else
-        {
-            minOccurs = minOccurs.min(from.getMinOccurs());
-            if (maxOccurs != null)
-                maxOccurs = (from.getMaxOccurs() == null ? null :
-                                maxOccurs.max(from.getMaxOccurs()));
-        }
-        into.setMinOccurs(minOccurs);
-        into.setMaxOccurs(maxOccurs);
-
-        // nillable, default, fixed
-        if (from.hasNillable() != into.hasNillable())
-            into.setNillable(SchemaProperty.VARIABLE);
-        if (from.hasDefault() != into.hasDefault())
-            into.setDefault(SchemaProperty.VARIABLE);
-        if (from.hasFixed() != into.hasFixed())
-            into.setFixed(SchemaProperty.VARIABLE);
-
-        // default value
-        if (into.getDefaultText() != null)
-        {
-            if (from.getDefaultText() == null ||
-                !into.getDefaultText().equals(from.getDefaultText()))
-                into.setDefaultText(null);
-        }
-    }
-
-    static SchemaParticle[] ensureStateMachine(SchemaParticle[] children)
-    {
-        for (int i = 0; i < children.length; i++)
-        {
-            buildStateMachine(children[i]);
-        }
-        return children;
-    }
-
-    static void buildStateMachine(SchemaParticle contentModel)
-    {
-        if (contentModel == null)
-            return;
-
-        SchemaParticleImpl partImpl = (SchemaParticleImpl)contentModel;
-        if (partImpl.hasTransitionNotes())
-            return;
-
-        QNameSetBuilder start = new QNameSetBuilder();
-        QNameSetBuilder excludenext = new QNameSetBuilder();
-        boolean deterministic = true;
-        SchemaParticle[] children = null;
-        boolean canskip = (partImpl.getMinOccurs().signum() == 0);
-
-        switch (partImpl.getParticleType())
-        {
-            case SchemaParticle.ELEMENT:
-                // compute start and excludeNext; canskip is already correct
-                if (partImpl.hasTransitionRules())
-                    start.addAll(partImpl.acceptedStartNames());
-                else
-                    start.add(partImpl.getName());
-
-                break;
-
-            case SchemaParticle.WILDCARD:
-                // compute start and excludeNext; canskip is already correct
-                start.addAll(partImpl.getWildcardSet());
-                break;
-
-            case SchemaParticle.SEQUENCE:
-                children = ensureStateMachine(partImpl.getParticleChildren());
-
-                // adjust canskip if all children are skippable
-                canskip = true;
-                for (int i = 0; canskip && i < children.length; i++)
-                {
-                    if (!(children[i]).isSkippable())
-                        canskip = false;
-                }
-                
-                // bubble up nondeterministic bit
-                for (int i = 0; deterministic && i < children.length; i++)
-                {
-                    if (!((SchemaParticleImpl)children[i]).isDeterministic())
-                        deterministic = false;
-                }
-                
-                // verify deterministic and compute excludeNext set
-                for (int i = 1; i < children.length; i++)
-                {
-                    excludenext.addAll(((SchemaParticleImpl)children[i - 1]).getExcludeNextSet());
-                    if (deterministic && !excludenext.isDisjoint((children[i]).acceptedStartNames()))
-                        deterministic = false;
-                    if ((children[i]).isSkippable())
-                        excludenext.addAll((children[i]).acceptedStartNames());
-                    else
-                        excludenext.clear();
-                }
-
-                // next, compute start set
-                for (int i = 0; i < children.length; i++)
-                {
-                    start.addAll((children[i]).acceptedStartNames());
-                    if (!(children[i]).isSkippable())
-                        break;
-                }
-                break;
-
-            case SchemaParticle.CHOICE:
-                children = ensureStateMachine(partImpl.getParticleChildren());
-
-                // adjust canskip if any children are skippable
-                canskip = false;
-                for (int i = 0; !canskip && i < children.length; i++)
-                {
-                    if ((children[i]).isSkippable())
-                        canskip = true;
-                }
-
-                // bubble up nondeterministic bit
-                for (int i = 0; deterministic && i < children.length; i++)
-                {
-                    if (!((SchemaParticleImpl)children[i]).isDeterministic())
-                        deterministic = false;
-                }
-                
-                // compute start and excludeNext sets, verify deterministic
-                for (int i = 0; i < children.length; i++)
-                {
-                    if (deterministic && !start.isDisjoint((children[i]).acceptedStartNames()))
-                        deterministic = false;
-                    start.addAll((children[i]).acceptedStartNames());
-                    excludenext.addAll(((SchemaParticleImpl)children[i]).getExcludeNextSet());
-                }
-
-                break;
-
-            case SchemaParticle.ALL:
-                children = ensureStateMachine(partImpl.getParticleChildren());
-
-                // adjust canskip if all children are skippable
-                canskip = true;
-                for (int i = 0; !canskip && i < children.length; i++)
-                {
-                    if (!(children[i]).isSkippable())
-                        canskip = false;
-                }
-
-                // bubble up nondeterministic bit
-                for (int i = 0; deterministic && i < children.length; i++)
-                {
-                    if (!((SchemaParticleImpl)children[i]).isDeterministic())
-                        deterministic = false;
-                }
-                
-                // compute start and excludeNext sets, verify deterministic
-                for (int i = 0; i < children.length; i++)
-                {
-                    if (deterministic && !start.isDisjoint((children[i]).acceptedStartNames()))
-                        deterministic = false;
-                    start.addAll((children[i]).acceptedStartNames());
-                    excludenext.addAll(((SchemaParticleImpl)children[i]).getExcludeNextSet());
-                }
-                if (canskip)
-                    excludenext.addAll(start);
-
-                break;
-
-            default:
-                // wildcard, all cases nyi
-                throw new IllegalStateException("Unrecognized schema particle");
-        }
-
-        // apply looping logic
-
-        BigInteger minOccurs = partImpl.getMinOccurs();
-        BigInteger maxOccurs = partImpl.getMaxOccurs();
-        boolean canloop = (maxOccurs == null || maxOccurs.compareTo(BigInteger.ONE) > 0);
-        boolean varloop = (maxOccurs == null || minOccurs.compareTo(maxOccurs) < 0);
-
-        if (canloop && deterministic && !excludenext.isDisjoint(start))
-        {
-            // we have a possible looping nondeterminism.
-            // let's take some time now to see if it's actually caused
-            // by non-unique-particle-attribute or not.
-            QNameSet suspectSet = excludenext.intersect(start);
-            
-            // compute the set of all particles that could start this group
-            Map startMap = new HashMap();
-            particlesMatchingStart(partImpl, suspectSet, startMap, new QNameSetBuilder());
-            
-            // compute the set of all particles that could have been repeated rather than ending this group
-            Map afterMap = new HashMap();
-            particlesMatchingAfter(partImpl, suspectSet, afterMap, new QNameSetBuilder(), true);
-            
-            // see if we can find a member of after that is not a member of start
-            // if we can, then particle attribution is not unique
-            deterministic = afterMapSubsumedByStartMap(startMap, afterMap);
-        }
-
-        if (varloop)
-            excludenext.addAll(start);
-
-        canskip = canskip || minOccurs.signum() == 0;
-
-        partImpl.setTransitionRules(start.toQNameSet(), canskip);
-        partImpl.setTransitionNotes(excludenext.toQNameSet(), deterministic);
-    }
-    
-    private static boolean afterMapSubsumedByStartMap(Map startMap, Map afterMap)
-    {
-        if (afterMap.size() > startMap.size())
-            return false;
-        
-        if (afterMap.isEmpty())
-            return true;
-        
-        for (Iterator i = startMap.keySet().iterator(); i.hasNext(); )
-        {
-            SchemaParticle part = (SchemaParticle)i.next();
-            if (part.getParticleType() == SchemaParticle.WILDCARD)
-            {
-                if (afterMap.containsKey(part))
-                {
-                    QNameSet startSet = (QNameSet)startMap.get(part);
-                    QNameSet afterSet = (QNameSet)afterMap.get(part);
-                    if (!startSet.containsAll(afterSet))
-                        return false;
-                }
-            }
-            afterMap.remove(part);
-            if (afterMap.isEmpty())
-                return true;
-        }
-        return (afterMap.isEmpty());
-    }
-    
-    private static void particlesMatchingStart(SchemaParticle part, QNameSetSpecification suspectSet, Map result, QNameSetBuilder eliminate)
-    {
-        switch (part.getParticleType())
-        {
-            case SchemaParticle.ELEMENT:
-                if (!suspectSet.contains(part.getName()))
-                    return;
-                result.put(part, null);
-                eliminate.add(part.getName());
-                return;
-                
-            case SchemaParticle.WILDCARD:
-                if (suspectSet.isDisjoint(part.getWildcardSet()))
-                    return;
-                result.put(part, part.getWildcardSet().intersect(suspectSet));
-                eliminate.addAll(part.getWildcardSet());
-                return;
-                
-            case SchemaParticle.CHOICE:
-            case SchemaParticle.ALL:
-                {
-                    SchemaParticle[] children = part.getParticleChildren();
-                    for (int i = 0; i < children.length; i++)
-                        particlesMatchingStart(children[i], suspectSet, result, eliminate);
-                    return;
-                }
-                
-            case SchemaParticle.SEQUENCE:
-                {
-                    SchemaParticle[] children = part.getParticleChildren();
-                    if (children.length == 0)
-                        return;
-                    if (!children[0].isSkippable())
-                    {
-                        particlesMatchingStart(children[0], suspectSet, result, eliminate);
-                        return;
-                    }
-                    QNameSetBuilder remainingSuspects = new QNameSetBuilder(suspectSet);
-                    QNameSetBuilder suspectsToEliminate = new QNameSetBuilder();
-                    for (int i = 0; i < children.length; i++)
-                    {
-                        particlesMatchingStart(children[i], remainingSuspects, result, suspectsToEliminate);
-                        eliminate.addAll(suspectsToEliminate);
-                        if (!children[i].isSkippable())
-                            return;
-                        remainingSuspects.removeAll(suspectsToEliminate);
-                        if (remainingSuspects.isEmpty())
-                            return;
-                        suspectsToEliminate.clear();
-                    }
-                    return;
-                }
-        }
-    }
-    
-    private static void particlesMatchingAfter(SchemaParticle part, QNameSetSpecification suspectSet, Map result, QNameSetBuilder eliminate, boolean top)
-    {
-        recurse: switch (part.getParticleType())
-        {
-            case SchemaParticle.CHOICE:
-            case SchemaParticle.ALL:
-                {
-                    SchemaParticle[] children = part.getParticleChildren();
-                    for (int i = 0; i < children.length; i++)
-                        particlesMatchingAfter(children[i], suspectSet, result, eliminate, false);
-                    break recurse;
-                }
-                
-            case SchemaParticle.SEQUENCE:
-                {
-                    SchemaParticle[] children = part.getParticleChildren();
-                    if (children.length == 0)
-                        break recurse;
-                    if (!children[children.length - 1].isSkippable())
-                    {
-                        particlesMatchingAfter(children[0], suspectSet, result, eliminate, false);
-                        break recurse;
-                    }
-                    QNameSetBuilder remainingSuspects = new QNameSetBuilder(suspectSet);
-                    QNameSetBuilder suspectsToEliminate = new QNameSetBuilder();
-                    for (int i = children.length - 1; i >= 0; i--)
-                    {
-                        particlesMatchingAfter(children[i], remainingSuspects, result, suspectsToEliminate, false);
-                        eliminate.addAll(suspectsToEliminate);
-                        if (!children[i].isSkippable())
-                            break recurse;
-                        remainingSuspects.removeAll(suspectsToEliminate);
-                        if (remainingSuspects.isEmpty())
-                            break recurse;
-                        suspectsToEliminate.clear();
-                    }
-                    break recurse;
-                }
-        }
-
-        if (!top)
-        {
-            BigInteger minOccurs = part.getMinOccurs();
-            BigInteger maxOccurs = part.getMaxOccurs();
-            boolean varloop = (maxOccurs == null || minOccurs.compareTo(maxOccurs) < 0);
-            if (varloop)
-            {
-                particlesMatchingStart(part, suspectSet, result, eliminate);
-            }
-        }
-    }
-
-    private static class CodeForNameEntry
-    {
-        CodeForNameEntry(QName name, int code)
-            { this.name = name; this.code = code; }
-        public QName name;
-        public int code;
-    }
-
-    private static final int MODEL_GROUP_CODE = 100;
-
-    private static CodeForNameEntry[] particleCodes = new CodeForNameEntry[]
-    {
-        new CodeForNameEntry(QNameHelper.forLNS("all", "http://www.w3.org/2001/XMLSchema"), SchemaParticle.ALL),
-        new CodeForNameEntry(QNameHelper.forLNS("sequence", "http://www.w3.org/2001/XMLSchema"), SchemaParticle.SEQUENCE),
-        new CodeForNameEntry(QNameHelper.forLNS("choice", "http://www.w3.org/2001/XMLSchema"), SchemaParticle.CHOICE),
-        new CodeForNameEntry(QNameHelper.forLNS("element", "http://www.w3.org/2001/XMLSchema"), SchemaParticle.ELEMENT),
-        new CodeForNameEntry(QNameHelper.forLNS("any", "http://www.w3.org/2001/XMLSchema"), SchemaParticle.WILDCARD),
-        new CodeForNameEntry(QNameHelper.forLNS("group", "http://www.w3.org/2001/XMLSchema"), MODEL_GROUP_CODE),
-    };
-
-    private static Map particleCodeMap = buildParticleCodeMap();
-
-    private static Map buildParticleCodeMap()
-    {
-        Map result = new HashMap();
-        for (int i = 0; i < particleCodes.length; i++)
-            result.put(particleCodes[i].name,  new Integer(particleCodes[i].code));
-        return result;
-    }
-
-    private static int translateParticleCode(Group parseEg)
-    {
-        if (parseEg == null)
-            return 0;
-        return translateParticleCode(parseEg.newCursor().getName());
-    }
-
-    private static int translateParticleCode(QName name)
-    {
-        Integer result = (Integer)particleCodeMap.get(name);
-        if (result == null)
-            return 0;
-        return result.intValue();
-    }
-
-    private static final int ATTRIBUTE_CODE = 100;
-    private static final int ATTRIBUTE_GROUP_CODE = 101;
-    private static final int ANY_ATTRIBUTE_CODE = 102;
-
-    private static CodeForNameEntry[] attributeCodes = new CodeForNameEntry[]
-    {
-        new CodeForNameEntry(QNameHelper.forLNS("attribute", "http://www.w3.org/2001/XMLSchema"), ATTRIBUTE_CODE),
-        new CodeForNameEntry(QNameHelper.forLNS("attributeGroup", "http://www.w3.org/2001/XMLSchema"), ATTRIBUTE_GROUP_CODE),
-        new CodeForNameEntry(QNameHelper.forLNS("anyAttribute", "http://www.w3.org/2001/XMLSchema"), ANY_ATTRIBUTE_CODE),
-    };
-
-    private static Map attributeCodeMap = buildAttributeCodeMap();
-
-    private static Map buildAttributeCodeMap()
-    {
-        Map result = new HashMap();
-        for (int i = 0; i < attributeCodes.length; i++)
-            result.put(attributeCodes[i].name,  new Integer(attributeCodes[i].code));
-        return result;
-    }
-
-    static int translateAttributeCode(QName currentName)
-    {
-        Integer result = (Integer)attributeCodeMap.get(currentName);
-        if (result == null)
-            return 0;
-        return result.intValue();
-    }
-
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscImporter.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscImporter.java
deleted file mode 100644
index d28867f..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscImporter.java
+++ /dev/null
@@ -1,878 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.w3.x2001.xmlSchema.RedefineDocument.Redefine;
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.w3.x2001.xmlSchema.ImportDocument.Import;
-import org.w3.x2001.xmlSchema.IncludeDocument.Include;
-
-import java.util.Map;
-import java.util.List;
-import java.util.LinkedList;
-import java.util.Set;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.Arrays;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.net.MalformedURLException;
-import java.io.IOException;
-import java.io.Reader;
-import java.io.InputStream;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.CharArrayReader;
-import java.io.FileWriter;
-import java.io.Writer;
-import java.io.CharArrayWriter;
-import java.io.OutputStreamWriter;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.IOUtil;
-import org.apache.xmlbeans.impl.common.XmlEncodingSniffer;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-public class StscImporter
-{
-    public static SchemaToProcess[] resolveImportsAndIncludes(Schema[] startWith)
-    {
-        DownloadTable engine = new DownloadTable(startWith);
-        return engine.resolveImportsAndIncludes();
-    }
-
-    public static class SchemaToProcess
-    {
-        private Schema schema;
-        private String chameleonNamespace;
-        private Redefine redefine;
-        private int redefinedBy;
-
-        public SchemaToProcess(Schema schema, String chameleonNamespace, Redefine redefine)
-        {
-            this.schema = schema;
-            this.chameleonNamespace = chameleonNamespace;
-            this.redefine = redefine;
-            this.redefinedBy = -1;
-        }
-
-        // This makes sense only when part of a list, which is always the case
-        public SchemaToProcess(Schema schema, String chameleonNamespace, Redefine redefine, int redefinedBy)
-        {
-            this.schema = schema;
-            this.chameleonNamespace = chameleonNamespace;
-            this.redefine = redefine;
-            this.redefinedBy = redefinedBy;
-        }
-
-        /**
-         * The schema to parse.
-         */
-        public Schema getSchema()
-        {
-            return schema;
-        }
-
-        /**
-         * The base URI for this stp
-         */
-        public String getSourceName()
-        {
-            return schema.documentProperties().getSourceName();
-        }
-        
-        /**
-         * The redefine element, if processed via redefine
-         */
-        public Redefine getRedefine()
-        {
-            return redefine;
-        }
-
-        /**
-         * The index of the redefining schema if processed via redefine
-         */
-        public int getRedefinedBy()
-        {
-            return redefinedBy;
-        }
-
-        /**
-         * The chameleon namespace. Null if this schema is not being treated
-         * as a chameleon. (The ordinary targetNamespace will just be extracted
-         * from the syntax of the schema.)
-         */
-        public String getChameleonNamespace()
-        {
-            return chameleonNamespace;
-        }
-
-        public boolean equals(Object o)
-        {
-            if (this == o) return true;
-            if (!(o instanceof SchemaToProcess)) return false;
-
-            final SchemaToProcess schemaToProcess = (SchemaToProcess) o;
-
-            if (chameleonNamespace != null ? !chameleonNamespace.equals(schemaToProcess.chameleonNamespace) : schemaToProcess.chameleonNamespace != null) return false;
-            if (redefine != null ? !redefine.equals(schemaToProcess.redefine) : schemaToProcess.redefine != null) return false;
-            if (!schema.equals(schemaToProcess.schema)) return false;
-
-            return true;
-        }
-
-        public int hashCode()
-        {
-            int result;
-            result = schema.hashCode();
-            result = 29 * result + (chameleonNamespace != null ? chameleonNamespace.hashCode() : 0);
-            result = 29 * result + (redefine != null ? redefine.hashCode() : 0);
-            return result;
-        }
-    }
-
-    private final static String PROJECT_URL_PREFIX = "project://local";
-
-    private static String baseURLForDoc(XmlObject obj)
-    {
-        String path = obj.documentProperties().getSourceName();
-
-        if (path == null)
-            return null;
-
-        if (path.startsWith("/"))
-            return PROJECT_URL_PREFIX + path.replace('\\', '/');
-
-        // looks like a URL?
-        int colon = path.indexOf(':');
-        if (colon > 1 && path.substring(0, colon).matches("^\\w+$"))
-            return path;
-
-        return PROJECT_URL_PREFIX + "/" + path.replace('\\', '/');
-    }
-
-    private static URI parseURI(String s)
-    {
-        if (s == null)
-            return null;
-
-        try
-        {
-            return new URI(s);
-        }
-        catch (URISyntaxException syntax)
-        {
-                return null;
-        }
-    }
-    
-    //workaround for Sun bug # 4723726
-    private static URI resolve(URI base, String child)
-    {
-        URI childUri = URI.create(child);
-        URI ruri = base.resolve(childUri);
-
-        // if the child fragment is relative (which we'll assume is the case
-        // if URI.resolve doesn't do anything useful with it) and the base
-        // URI is pointing at something nested inside a jar, we seem to have
-        // to this ourselves to make sure that the nested jar url gets
-        // resolved correctly   
-        if (childUri.equals(ruri) &&
-          (base.getScheme().equals("jar") || base.getScheme().equals("zip"))) {
-            String r = base.toString();
-            int lastslash = r.lastIndexOf('/');
-            r = r.substring(0,lastslash) + "/" + childUri;
-            return URI.create(r);
-        }
-
-        //fix up normalization bug
-        if ("file".equals(ruri.getScheme()) && ! child.equals(ruri))
-        {
-            if (base.getPath().startsWith("//") && !ruri.getPath().startsWith("//"))
-            {
-                String path = "///".concat(ruri.getPath());
-                try
-                {
-                    ruri = new URI("file", null, path, ruri.getQuery(), ruri.getFragment());
-                }
-                catch(URISyntaxException uris)
-                {}
-            }
-        }
-        return ruri;
-    }
-
-    public static class DownloadTable
-    {
-        /**
-         * Namespace/schemaLocation pair.
-         *
-         * Downloaded schemas are indexed by namespace, schemaLocation, and both.
-         *
-         * A perfect match is preferred, but a match-by-namespace is accepted.
-         * A match-by-schemaLocation is only accepted for includes (not imports).
-         */
-        private static class NsLocPair
-        {
-            private String namespaceURI;
-            private String locationURL;
-
-            public NsLocPair(String namespaceURI, String locationURL)
-            {
-                this.namespaceURI = namespaceURI;
-                this.locationURL = locationURL;
-            }
-
-            /**
-             * Empty string for no-namespace, null for namespace-not-part-of-key
-             */
-            public String getNamespaceURI()
-            {
-                return namespaceURI;
-            }
-
-            public String getLocationURL()
-            {
-                return locationURL;
-            }
-
-            public boolean equals(Object o)
-            {
-                if (this == o) return true;
-                if (!(o instanceof NsLocPair)) return false;
-
-                final NsLocPair nsLocPair = (NsLocPair) o;
-
-                if (locationURL != null ? !locationURL.equals(nsLocPair.locationURL) : nsLocPair.locationURL != null) return false;
-                if (namespaceURI != null ? !namespaceURI.equals(nsLocPair.namespaceURI) : nsLocPair.namespaceURI != null) return false;
-
-                return true;
-            }
-
-            public int hashCode()
-            {
-                int result;
-                result = (namespaceURI != null ? namespaceURI.hashCode() : 0);
-                result = 29 * result + (locationURL != null ? locationURL.hashCode() : 0);
-                return result;
-            }
-        }
-
-        private static class DigestKey
-        {
-            byte[] _digest;
-            int _hashCode;
-            DigestKey(byte[] digest)
-            {
-                _digest = digest;
-                for (int i = 0; i < 4 && i < digest.length; i++)
-                {
-                    _hashCode = _hashCode << 8;
-                    _hashCode = _hashCode + digest[i];
-                }
-            }
-
-            public boolean equals(Object o)
-            {
-                if (this == o) return true;
-                if (!(o instanceof DigestKey)) return false;
-                return Arrays.equals(_digest, ((DigestKey)o)._digest);
-            }
-
-            public int hashCode()
-            {
-                return _hashCode;
-            }
-        }
-
-        private Map schemaByNsLocPair = new HashMap();
-        private Map schemaByDigestKey = new HashMap();
-        private LinkedList scanNeeded = new LinkedList();
-        private Set emptyNamespaceSchemas = new HashSet();
-        private Set scannedAlready = new HashSet();
-        private Set failedDownloads = new HashSet();
-
-        private Schema downloadSchema(XmlObject referencedBy, String targetNamespace, String locationURL)
-        {
-            // no location URL provided?  Then nothing to do.
-            if (locationURL == null)
-                return null;
-            
-            // First resolve relative URLs with respect to base URL for doc
-            URI baseURI = parseURI(baseURLForDoc(referencedBy));
-            String absoluteURL = baseURI == null ? locationURL : resolve(baseURI, locationURL).toString();
-            // probe 1: ns+url - perfect match
-            if (absoluteURL != null && targetNamespace != null)
-            {
-                Schema result = (Schema)schemaByNsLocPair.get(new NsLocPair(targetNamespace, absoluteURL));
-                if (result != null)
-                    return result;
-            }
-
-            StscState state = StscState.get();
-
-            // probe 2: we have preexisting knowledge of this namespace,
-            // either from another schema file or from the linker.
-            // If we're not downloading the given URL, skip it silently if the
-            // namespace is already represented by a file we have.
-            // Also, suppress downloads of URLs to namespaces that are already
-            // known by the linker.
-            // (We never assume preexisting knowledge of the no-namespace,
-            // even if we have some definitions, since it's likely that
-            // more than one person is playing in the no-namespace at once.)
-            if (targetNamespace != null && !targetNamespace.equals(""))
-            {
-                // the URL is not one to download; should we assume we know about the namespace?
-                if (!state.shouldDownloadURI(absoluteURL))
-                {
-                    // If we already have a schema representing this namespace,
-                    // then skip this URL silently without producing an error.
-                    Schema result = (Schema)schemaByNsLocPair.get(new NsLocPair(targetNamespace, null));
-                    if (result != null)
-                        return result;
-                }
-
-                // If the linker already knows about this namespace, skip
-                // this URL.
-                if (state.linkerDefinesNamespace(targetNamespace))
-                    return null;
-            }
-
-            // probe 3: url only
-            if (absoluteURL != null)
-            {
-                Schema result = (Schema)schemaByNsLocPair.get(new NsLocPair(null, absoluteURL));
-                if (result != null)
-                    return result;
-            }
-
-            // no match: error if we can't or won't download.
-            if (absoluteURL == null)
-            {
-                state.error("Could not find resource - no valid location URL.", XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-                return null;
-            }
-
-            if (previouslyFailedToDownload(absoluteURL))
-            {
-                // an error message has already been produced.
-                return null;
-            }
-
-            if (!state.shouldDownloadURI(absoluteURL))
-            {
-                state.error("Could not load resource \"" + absoluteURL + "\" (network downloads disabled).", XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-                addFailedDownload(absoluteURL);
-                return null;
-            }
-
-            // try to download
-            download: try
-            {
-                XmlObject xdoc = downloadDocument(state.getS4SLoader(), targetNamespace, absoluteURL);
-
-                Schema result = findMatchByDigest(xdoc);
-                String shortname = state.relativize(absoluteURL);
-                if (result != null)
-                {
-                    // if an exactly-the-same document has already been loaded, use the original and spew
-                    String dupname = state.relativize(result.documentProperties().getSourceName());
-                    if (dupname != null)
-                        state.info(shortname + " is the same as " + dupname + " (ignoring the duplicate file)");
-                    else
-                        state.info(shortname + " is the same as another schema");
-                }
-                else
-                {
-                    // otherwise, it's a new document: validate it and grab the contents
-                    XmlOptions voptions = new XmlOptions();
-                    voptions.setErrorListener(state.getErrorListener());
-                    if (!(xdoc instanceof SchemaDocument) || !xdoc.validate(voptions))
-                    {
-                        state.error("Referenced document is not a valid schema", XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-                        break download;
-                    }
-
-                    SchemaDocument sDoc = (SchemaDocument)xdoc;
-
-                    result = sDoc.getSchema();
-                    state.info("Loading referenced file " + shortname);
-                }
-                NsLocPair key = new NsLocPair(emptyStringIfNull(result.getTargetNamespace()), absoluteURL);
-                addSuccessfulDownload(key, result);
-                return result;
-            }
-            catch (MalformedURLException malformed)
-            {
-                state.error("URL \"" + absoluteURL + "\" is not well-formed", XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-            }
-            catch (IOException connectionProblem)
-            {
-                state.error(connectionProblem.toString(), XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-            }
-            catch (XmlException e)
-            {
-                state.error("Problem parsing referenced XML resource - " + e.getMessage(), XmlErrorContext.CANNOT_FIND_RESOURCE, referencedBy);
-            }
-
-            // record failure so that we don't try to download this URL again
-            addFailedDownload(absoluteURL);
-            return null;
-        }
-        
-        private XmlObject downloadDocument(SchemaTypeLoader loader, String namespace, String absoluteURL)
-                throws MalformedURLException, IOException, XmlException
-        {
-            StscState state = StscState.get();
-            
-            EntityResolver resolver = state.getEntityResolver();
-            if (resolver != null)
-            {
-                InputSource source;
-                try
-                {
-                    source = resolver.resolveEntity(namespace, absoluteURL);
-                    if (source==null)
-                         throw new XmlException("Unresolvable entity for: " + namespace + " : " + absoluteURL);
-                }   // TODO (cezar)add check source==null
-                catch (SAXException e)
-                {
-                    throw new XmlException(e);
-                }
-                    
-                state.addSourceUri(absoluteURL, null);
-
-                // first preference for InputSource contract: character stream
-                Reader reader = source.getCharacterStream();
-                if (reader != null)
-                {
-                    reader = copySchemaSource(absoluteURL, reader, state);
-                    XmlOptions options = new XmlOptions();
-                    options.setLoadLineNumbers();
-                    options.setDocumentSourceName(absoluteURL);
-                    return loader.parse(reader, null, options);
-                }
-                
-                // second preference for InputSource contract: 
-                InputStream bytes = source.getByteStream();
-                if (bytes != null)
-                {
-                    bytes = copySchemaSource(absoluteURL, bytes, state);
-                    String encoding = source.getEncoding();
-                    XmlOptions options = new XmlOptions();
-                    options.setLoadLineNumbers();
-                    options.setLoadMessageDigest();
-                    options.setDocumentSourceName(absoluteURL);
-                    if (encoding != null)
-                        options.setCharacterEncoding(encoding);
-                    return loader.parse(bytes, null, options);
-                }
-                
-                // third preference: use the (possibly redirected) url
-                String urlToLoad = source.getSystemId();
-                if (urlToLoad == null)
-                    throw new IOException("EntityResolver unable to resolve " + absoluteURL + " (for namespace " + namespace + ")");
-
-                copySchemaSource(absoluteURL, state);
-                XmlOptions options = new XmlOptions();
-                options.setLoadLineNumbers();
-                options.setLoadMessageDigest();
-                options.setDocumentSourceName(absoluteURL);
-                URL urlDownload = new URL(urlToLoad);
-                return loader.parse(urlDownload, null, options);
-            }
-
-            // no resolver - just use the URL directly, no substitution
-            state.addSourceUri(absoluteURL, null);
-            copySchemaSource(absoluteURL, state);
-
-            XmlOptions options = new XmlOptions();
-            options.setLoadLineNumbers();
-            options.setLoadMessageDigest();
-            URL urlDownload = new URL(absoluteURL);
-
-            return loader.parse(urlDownload, null, options);
-        }
-
-        private void addSuccessfulDownload(NsLocPair key, Schema schema)
-        {
-            byte[] digest = schema.documentProperties().getMessageDigest();
-            if (digest == null)
-            {
-                StscState.get().addSchemaDigest(null);
-            }
-            else
-            {
-                DigestKey dk = new DigestKey(digest);
-                if (!schemaByDigestKey.containsKey(dk))
-                {
-                    schemaByDigestKey.put(new DigestKey(digest), schema);
-                    StscState.get().addSchemaDigest(digest);
-                }
-            }
-
-            schemaByNsLocPair.put(key, schema);
-            NsLocPair key1 = new NsLocPair(key.getNamespaceURI(), null);
-            if (!schemaByNsLocPair.containsKey(key1))
-                schemaByNsLocPair.put(key1, schema);
-            NsLocPair key2 = new NsLocPair(null, key.getLocationURL());
-            if (!schemaByNsLocPair.containsKey(key2))
-                schemaByNsLocPair.put(key2, schema);
-        }
-
-        private Schema findMatchByDigest(XmlObject original)
-        {
-            byte[] digest = original.documentProperties().getMessageDigest();
-            if (digest == null)
-                return null;
-            return (Schema)schemaByDigestKey.get(new DigestKey(digest));
-        }
-
-        private void addFailedDownload(String locationURL)
-        {
-            failedDownloads.add(locationURL);
-        }
-
-        private boolean previouslyFailedToDownload(String locationURL)
-        {
-            return failedDownloads.contains(locationURL);
-        }
-
-        private static boolean nullableStringsMatch(String s1, String s2)
-        {
-            if (s1 == null && s2 == null)
-                return true;
-            if (s1 == null || s2 == null)
-                return false;
-            return (s1.equals(s2));
-        }
-
-        private static String emptyStringIfNull(String s)
-        {
-            if (s == null)
-                return "";
-            return s;
-        }
-
-        private void addScanNeeded(SchemaToProcess stp)
-        {
-            if (!scannedAlready.contains(stp))
-            {
-                scannedAlready.add(stp);
-                scanNeeded.add(stp);
-            }
-        }
-
-        private void addEmptyNamespaceSchema(Schema s)
-        {
-            emptyNamespaceSchemas.add(s);
-        }
-
-        private void usedEmptyNamespaceSchema(Schema s)
-        {
-            emptyNamespaceSchemas.remove(s);
-        }
-
-        private boolean fetchRemainingEmptyNamespaceSchemas()
-        {
-            if (emptyNamespaceSchemas.isEmpty())
-                return false;
-
-            for (Iterator i = emptyNamespaceSchemas.iterator(); i.hasNext();)
-            {
-                Schema schema = (Schema)i.next();
-                addScanNeeded(new SchemaToProcess(schema, null, null));
-            }
-
-            emptyNamespaceSchemas.clear();
-            return true;
-        }
-
-        private boolean hasNextToScan()
-        {
-            return !scanNeeded.isEmpty();
-        }
-
-        private SchemaToProcess nextToScan()
-        {
-            SchemaToProcess next = (SchemaToProcess)scanNeeded.removeFirst();
-            return next;
-        }
-
-        public DownloadTable(Schema[] startWith)
-        {
-            for (int i = 0; i < startWith.length; i++)
-            {
-                String targetNamespace = startWith[i].getTargetNamespace();
-                NsLocPair key = new NsLocPair(targetNamespace, baseURLForDoc(startWith[i]));
-                addSuccessfulDownload(key, startWith[i]);
-                if (targetNamespace != null)
-                    addScanNeeded(new SchemaToProcess(startWith[i], null, null));
-                else
-                    addEmptyNamespaceSchema(startWith[i]);
-            }
-        }
-
-        public SchemaToProcess[] resolveImportsAndIncludes()
-        {
-            StscState state = StscState.get();
-            List result = new ArrayList();
-
-            // algorithm is to scan through each schema document and
-            // 1. download each import and include (if not already downloaded)
-            // 2. queue each imported or included schema to be process (if not already queued)
-
-            // The algorithm is run twice twice: first we begin with non-empty
-            // namespace schemas only.  Then we repeat starting with any
-            // empty empty-namespace schemas that have NOT been chameleon-
-            // included by other schemas and process them.
-
-            for (;;)
-            {
-                while (hasNextToScan())
-                {
-                    SchemaToProcess stp = nextToScan();
-                    String uri = stp.getSourceName();
-                    state.addSourceUri(uri, null);
-                    result.add(stp);
-                    copySchemaSource(uri, state);
-
-                    {
-                        // handle imports
-                        Import[] imports = stp.getSchema().getImportArray();
-                        for (int i = 0; i < imports.length; i++)
-                        {
-                            Schema imported = downloadSchema(imports[i], emptyStringIfNull(imports[i].getNamespace()), imports[i].getSchemaLocation());
-    
-                            // if download fails, an error has already been reported.
-                            if (imported == null)
-                                continue;
-    
-                            if (!nullableStringsMatch(imported.getTargetNamespace(), imports[i].getNamespace()))
-                            {
-                                StscState.get().error("Imported schema has a target namespace \"" + imported.getTargetNamespace() + "\" that does not match the specified \"" + imports[i].getNamespace() + "\"", XmlErrorContext.MISMATCHED_TARGET_NAMESPACE, imports[i]);
-                            }
-                            else
-                            {
-                                addScanNeeded(new SchemaToProcess(imported, null, null));
-                            }
-                        }
-                    }
-                    
-                    {
-                        // handle includes
-                        Include[] includes = stp.getSchema().getIncludeArray();
-                        String sourceNamespace = stp.getChameleonNamespace();
-                        if (sourceNamespace == null)
-                            sourceNamespace = emptyStringIfNull(stp.getSchema().getTargetNamespace());
-    
-                        for (int i = 0; i < includes.length; i++)
-                        {
-                            Schema included = downloadSchema(includes[i], null, includes[i].getSchemaLocation());
-                            // if download fails, an error has already been reported.
-                            if (included == null)
-                                continue;
-    
-                            if (emptyStringIfNull(included.getTargetNamespace()).equals(sourceNamespace))
-                            {
-                                // non-chameleon case - just like an import
-                                addScanNeeded(new SchemaToProcess(included, null, null));
-                            }
-                            else if (included.getTargetNamespace() != null)
-                            {
-                                // illegal include: included schema in wrong namespace.
-                                StscState.get().error("Included schema has a target namespace \"" + included.getTargetNamespace() + "\" that does not match the source namespace \"" + sourceNamespace + "\"", XmlErrorContext.MISMATCHED_TARGET_NAMESPACE, includes[i]);
-                            }
-                            else
-                            {
-                                // chameleon include
-                                addScanNeeded(new SchemaToProcess(included, sourceNamespace, null));
-                                usedEmptyNamespaceSchema(included);
-                            }
-                        }
-                    }
-                    
-                    {
-                        // handle redefines
-                        Redefine[] redefines = stp.getSchema().getRedefineArray();
-                        String sourceNamespace = stp.getChameleonNamespace();
-                        if (sourceNamespace == null)
-                            sourceNamespace = emptyStringIfNull(stp.getSchema().getTargetNamespace());
-                        for (int i = 0; i < redefines.length; i++)
-                        {
-                            Schema redefined = downloadSchema(redefines[i], null, redefines[i].getSchemaLocation());
-                            // if download fails, an error has already been reported.
-                            if (redefined == null)
-                                continue;
-    
-                            if (emptyStringIfNull(redefined.getTargetNamespace()).equals(sourceNamespace))
-                            {
-                                // non-chameleon case
-                                addScanNeeded(new SchemaToProcess(redefined, null, redefines[i], result.size()-1));
-                            }
-                            else if (redefined.getTargetNamespace() != null)
-                            {
-                                // illegal include: included schema in wrong namespace.
-                                StscState.get().error("Redefined schema has a target namespace \"" + redefined.getTargetNamespace() + "\" that does not match the source namespace \"" + sourceNamespace + "\"", XmlErrorContext.MISMATCHED_TARGET_NAMESPACE, redefines[i]);
-                            }
-                            else
-                            {
-                                // chameleon redefine
-                                addScanNeeded(new SchemaToProcess(redefined, sourceNamespace, redefines[i], result.size()-1));
-                                usedEmptyNamespaceSchema(redefined);
-                            }
-                        }
-                    }
-                }
-
-                if (!fetchRemainingEmptyNamespaceSchemas())
-                    break;
-            }
-
-            return (SchemaToProcess[])result.toArray(new SchemaToProcess[result.size()]);
-        }
-
-        private static Reader copySchemaSource(String url, Reader reader, StscState state)
-        {
-            //Copy the schema file if it wasn't already copied
-            if (state.getSchemasDir() == null)
-                return reader;
-
-            String schemalocation = state.sourceNameForUri(url);
-            File targetFile = new File(state.getSchemasDir(), schemalocation);
-            if (targetFile.exists())
-                return reader;
-
-            try
-            {
-                File parentDir = new File(targetFile.getParent());
-                IOUtil.createDir(parentDir, null);
-
-                CharArrayReader car = copy(reader);
-                XmlEncodingSniffer xes = new XmlEncodingSniffer(car, null);
-                Writer out = new OutputStreamWriter(new FileOutputStream(targetFile), xes.getXmlEncoding());
-                IOUtil.copyCompletely(car, out);
-
-                car.reset();
-                return car;
-            }
-            catch (IOException e)
-            {
-                System.err.println("IO Error " + e);
-                return reader;
-            }
-        }
-
-        private static InputStream copySchemaSource(String url, InputStream bytes, StscState state)
-        {
-            //Copy the schema file if it wasn't already copied
-            if (state.getSchemasDir() == null)
-                return bytes;
-
-            String schemalocation = state.sourceNameForUri(url);
-            File targetFile = new File(state.getSchemasDir(), schemalocation);
-            if (targetFile.exists())
-                return bytes;
-
-            try
-            {
-                File parentDir = new File(targetFile.getParent());
-                IOUtil.createDir(parentDir, null);
-
-                ByteArrayInputStream bais = copy(bytes);
-
-                FileOutputStream out = new FileOutputStream(targetFile);
-                IOUtil.copyCompletely(bais, out);
-
-                bais.reset();
-                return bais;
-            }
-            catch (IOException e)
-            {
-                System.err.println("IO Error " + e);
-                return bytes;
-            }
-        }
-
-        private static void copySchemaSource(String urlLoc, StscState state)
-        {
-            //Copy the schema file if it wasn't already copied
-            if (state.getSchemasDir()!=null)
-            {
-                String schemalocation = state.sourceNameForUri(urlLoc);
-
-                File targetFile = new File(state.getSchemasDir(), schemalocation);
-                if (!targetFile.exists())
-                {
-                    try
-                    {
-                        File parentDir = new File(targetFile.getParent());
-                        IOUtil.createDir(parentDir, null);
-
-                        InputStream in = null;
-                        URL url = new URL(urlLoc);
-                        // Copy the file from filepath to schema/src/<schemaFile>
-                        in = url.openStream();
-
-                        FileOutputStream out = new FileOutputStream(targetFile);
-                        IOUtil.copyCompletely(in, out);
-                    }
-                    catch (IOException e)
-                    {
-                        System.err.println("IO Error " + e);
-                        // failure = true; - not cause for failure
-                    }
-                }
-            }
-        }
-
-        private static ByteArrayInputStream copy(InputStream is) throws IOException
-        {
-            byte [] buf = new byte[1024];
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-            int bytesRead;
-            while(( bytesRead = is.read(buf, 0, 1024)) > 0)
-                baos.write(buf, 0, bytesRead);
-
-            return new ByteArrayInputStream(baos.toByteArray());
-        }
-
-        private static CharArrayReader copy(Reader is) throws IOException
-        {
-            char[] buf = new char[1024];
-            CharArrayWriter baos = new CharArrayWriter();
-
-            int bytesRead;
-            while(( bytesRead = is.read(buf, 0, 1024)) > 0)
-                baos.write(buf, 0, bytesRead);
-
-            return new CharArrayReader(baos.toCharArray());
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java
deleted file mode 100644
index a3dc441..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java
+++ /dev/null
@@ -1,941 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.impl.common.NameUtil;
-import org.apache.xmlbeans.impl.config.ExtensionHolder;
-import org.apache.xmlbeans.impl.config.InterfaceExtension;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.SchemaStringEnumEntry;
-import org.apache.xmlbeans.XmlByte;
-import org.apache.xmlbeans.XmlShort;
-
-import java.util.*;
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-
-public class StscJavaizer
-{
-    /**
-     * Does a topo walk of all the types to resolve them.
-     */
-    public static void javaizeAllTypes(boolean javaize)
-    {
-        StscState state = StscState.get();
-
-        List allSeenTypes = new ArrayList();
-        allSeenTypes.addAll(Arrays.asList(state.documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.globalTypes()));
-
-        // First distribute the global names among the top entities.
-        if (javaize)
-            assignGlobalJavaNames(allSeenTypes);
-
-        // now fully javaize everything deeply.
-        for (int i = 0; i < allSeenTypes.size(); i++)
-        {
-            SchemaType gType = (SchemaType)allSeenTypes.get(i);
-            if (javaize)
-            {
-                javaizeType((SchemaTypeImpl)gType);
-                String className = gType.getFullJavaName();
-                if (className != null)
-                    state.addClassname(className.replace('$', '.'), gType);
-            }
-            else
-                skipJavaizingType((SchemaTypeImpl)gType);
-            allSeenTypes.addAll(Arrays.asList(gType.getAnonymousTypes()));
-        }
-    }
-
-    static void assignGlobalJavaNames(Collection schemaTypes)
-    {
-        HashSet usedNames = new HashSet();
-        StscState state = StscState.get();
-
-        for (Iterator i = schemaTypes.iterator(); i.hasNext(); )
-        {
-            SchemaTypeImpl sImpl = (SchemaTypeImpl)i.next();
-            QName topName = findTopName(sImpl);
-            String pickedName = state.getJavaname(topName);
-            if (sImpl.isUnjavaized())
-            {
-                sImpl.setFullJavaName(pickFullJavaClassName(usedNames, findTopName(sImpl), pickedName, sImpl.isDocumentType(), sImpl.isAttributeType()));
-                sImpl.setFullJavaImplName(pickFullJavaImplName(usedNames, sImpl.getFullJavaName()));
-                setExtensions(sImpl, state);
-            }
-        }
-
-        verifyInterfaceNameCollisions(usedNames, state);
-    }
-
-    private static void verifyInterfaceNameCollisions(Set usedNames, StscState state)
-    {
-        state.getExtensionHolder().verifyInterfaceNameCollisions(usedNames);
-    }
-
-    private static void setExtensions(SchemaTypeImpl sImpl, StscState state)
-    {
-        String javaName = sImpl.getFullJavaName();
-
-        if (javaName != null)
-        {
-            sImpl.setExtensionHolder(state.getExtensionHolder(javaName));
-        }
-    }
-
-    private static boolean isStringType(SchemaType type)
-    {
-        if (type == null || type.getSimpleVariety() != SchemaType.ATOMIC)
-            return false;
-        return (type.getPrimitiveType().getBuiltinTypeCode() == SchemaType.BTC_STRING);
-    }
-
-    static String pickConstantName(Set usedNames, String words)
-    {
-        String base = NameUtil.upperCaseUnderbar(words);
-
-        if (base.length() == 0)
-        {
-            base = "X";
-        }
-
-        if (base.startsWith("INT_")) // reserved for int codes
-        {
-            base = "X_" + base;
-        }
-
-        String uniqName;
-        int index = 1;
-        for (uniqName = base; usedNames.contains(uniqName); )
-        {
-            index++;
-            uniqName = base + "_" + index;
-        }
-
-        usedNames.add(uniqName);
-
-        return uniqName;
-    }
-
-    static void skipJavaizingType(SchemaTypeImpl sImpl)
-    {
-        if (sImpl.isJavaized())
-            return;
-        
-        SchemaTypeImpl baseType = (SchemaTypeImpl)sImpl.getBaseType();
-        if (baseType != null)
-            skipJavaizingType(baseType);
-        
-        sImpl.startJavaizing();
-        secondPassProcessType(sImpl);
-        sImpl.finishJavaizing();
-    }
-
-    static void secondPassProcessType(SchemaTypeImpl sImpl)
-    {
-        if (isStringType(sImpl))
-        {
-            XmlAnySimpleType[] enumVals = sImpl.getEnumerationValues();
-
-            // if this is an enumerated string type, values are to be
-            // javaized as constants.
-            if (enumVals != null)
-            {
-                SchemaStringEnumEntry[] entryArray = new SchemaStringEnumEntry[enumVals.length];
-                SchemaType basedOn = sImpl.getBaseEnumType();
-                if (basedOn == sImpl)
-                {
-                    Set usedNames = new HashSet();
-                    for (int i = 0; i < enumVals.length; i++)
-                    {
-                        String val = enumVals[i].getStringValue();
-
-                        entryArray[i] = new SchemaStringEnumEntryImpl(val, i + 1, pickConstantName(usedNames, val));
-                    }
-                }
-                else
-                {
-                    for (int i = 0; i < enumVals.length; i++)
-                    {
-                        String val = enumVals[i].getStringValue();
-                        entryArray[i] = basedOn.enumEntryForString(val);
-                    }
-                }
-                sImpl.setStringEnumEntries(entryArray);
-            }
-        }
-    }
-
-    static void javaizeType(SchemaTypeImpl sImpl)
-    {
-        if (sImpl.isJavaized())
-            return;
-
-        SchemaTypeImpl baseType = (SchemaTypeImpl)sImpl.getBaseType();
-        if (baseType != null)
-            javaizeType(baseType);
-
-        sImpl.startJavaizing();
-
-        sImpl.setCompiled(true);
-
-        secondPassProcessType(sImpl);
-
-        if (!sImpl.isSimpleType())
-        {
-            SchemaProperty[] eltProps = sImpl.getElementProperties();
-            SchemaProperty[] attrProps = sImpl.getAttributeProperties();
-
-            // element setters result from a computation
-            if (eltProps.length > 0)
-                assignJavaElementSetterModel(eltProps, sImpl.getContentModel());
-
-            // Handing out java names - this permits us to avoid collisions.
-            Set usedPropNames = new HashSet();
-
-            // count in the methods from extension interfaces
-            avoidExtensionMethods(usedPropNames, sImpl);
-
-            // Assign names in two passes: first inherited names, then others.
-            for (boolean doInherited = true; ; doInherited = false)
-            {
-                if (eltProps.length > 0)
-                    assignJavaPropertyNames(usedPropNames, eltProps, baseType, doInherited);
-
-                assignJavaPropertyNames(usedPropNames, attrProps, baseType, doInherited);
-
-                if (doInherited == false)
-                    break;
-            }
-
-            SchemaProperty[] allprops = sImpl.getProperties();
-
-            // determine whether order insensitive
-            boolean insensitive = isPropertyModelOrderInsensitive(allprops);
-
-            // Fill in the java type codes now.
-            // This depends on recursive type information, so it's done in typechecking
-            assignJavaTypeCodes(allprops);
-
-            sImpl.setOrderSensitive(!insensitive);
-        }
-
-        // assign java type names to anonymous types
-        assignJavaAnonymousTypeNames(sImpl);
-
-        sImpl.finishJavaizing();
-    }
-
-    private static final String[] PREFIXES = new String[]{"get", "xget", "isNil", "isSet", "sizeOf", "set",
-                "xset", "addNew", "setNil", "unset", "insert", "add", "insertNew", "addNew", "remove"};
-
-    private static void avoidExtensionMethods(Set usedPropNames, SchemaTypeImpl sImpl)
-    {
-        ExtensionHolder extHolder = sImpl.getExtensionHolder();
-        if (extHolder != null)
-        {
-            List exts = extHolder.getInterfaceExtensionsFor(sImpl.getFullJavaName());
-            for (int i = 0; i < exts.size(); i++)
-            {
-                InterfaceExtension ext = (InterfaceExtension) exts.get(i);
-                int methodCount = ext.getInterfaceMethodCount();
-                for (int j = 0; j < methodCount; j++)
-                {
-                    String methodName = ext.getInterfaceMethodName(j);
-                    for (int k = 0; k < PREFIXES.length; k++)
-                    {
-                        String prefix = PREFIXES[k];
-                        if (methodName.startsWith(prefix))
-                            usedPropNames.add(methodName.substring(prefix.length()));
-                    }
-                }
-            }
-        }
-    }
-
-    static void assignJavaAnonymousTypeNames(SchemaTypeImpl outerType)
-    {
-        Set usedTypeNames = new HashSet();
-        SchemaType[] anonymousTypes = outerType.getAnonymousTypes();
-        StscState state = StscState.get();
-
-        // Because we generate nested java interfaces, and nested
-        // interface names must not be the same as an ancestor, use up
-        // the ancestors
-
-        for ( SchemaType scanOuterType = outerType ;
-              scanOuterType != null ;
-              scanOuterType = scanOuterType.getOuterType() )
-        {
-            usedTypeNames.add( scanOuterType.getShortJavaName() );
-        }
-
-        for ( SchemaType scanOuterType = outerType ;
-              scanOuterType != null ;
-              scanOuterType = scanOuterType.getOuterType() )
-        {
-            usedTypeNames.add( scanOuterType.getShortJavaImplName() );
-        }
-
-        // and because things are problematic if an inner type name
-        // is the same as a top-level package name, also get rid of that
-        // collision
-        usedTypeNames.add(getOutermostPackage(outerType.getFullJavaName()));
-
-        // assign names
-        for (int i = 0; i < anonymousTypes.length; i++)
-        {
-            SchemaTypeImpl sImpl = (SchemaTypeImpl)anonymousTypes[i];
-            if (sImpl == null) // already handled in first pass
-                continue;
-            if (sImpl.isSkippedAnonymousType())
-                continue;
-            String localname = null;
-            String javaname = null;
-
-            SchemaField containerField = sImpl.getContainerField();
-            if (containerField != null)
-            {
-                QName qname = sImpl.getContainerField().getName();
-                localname = qname.getLocalPart();
-                javaname = state.getJavaname(sImpl.getContainerField().getName());
-            }
-            else
-            {
-                // not defined inside an Elt or Attr: must be a nested simple type
-                switch (sImpl.getOuterType().getSimpleVariety())
-                {
-                    case SchemaType.UNION:
-                        javaname = "Member"; break;
-                    case SchemaType.LIST:
-                        javaname = "Item"; break;
-                    case SchemaType.ATOMIC:
-                    default:
-                        assert(false) : "Weird type " + sImpl.toString();
-                        javaname = "Base"; break;
-                }
-            }
-            sImpl.setShortJavaName(
-                    pickInnerJavaClassName(usedTypeNames, localname, javaname));
-            sImpl.setShortJavaImplName(
-                    pickInnerJavaImplName(usedTypeNames, localname, javaname == null ? null : javaname + "Impl"));
-            setExtensions(sImpl, state);
-        }
-    }
-
-    /**
-     * Used to compute the setter model.
-     *
-     * Returns the set of all QNames of elements that could possibly be
-     * contained in the given contentModel. The state variable is used
-     * to record the results, so that if they are needed again later,
-     * they do not need to be recomputed.
-     */
-    static QNameSet computeAllContainedElements(SchemaParticle contentModel, Map state)
-    {
-        // Remember previously computed results to avoid complexity explosion
-        QNameSet result = (QNameSet)state.get(contentModel);
-        if (result != null)
-            return result;
-
-        QNameSetBuilder builder;
-
-        switch (contentModel.getParticleType())
-        {
-            case SchemaParticle.ALL:
-            case SchemaParticle.CHOICE:
-            case SchemaParticle.SEQUENCE:
-            default:
-                builder = new QNameSetBuilder();
-                for (int i = 0; i < contentModel.countOfParticleChild(); i++)
-                {
-                    builder.addAll(computeAllContainedElements(contentModel.getParticleChild(i), state));
-                }
-                result = builder.toQNameSet();
-                break;
-
-            case SchemaParticle.WILDCARD:
-                result = contentModel.getWildcardSet();
-                break;
-
-            case SchemaParticle.ELEMENT:
-                result = QNameSet.singleton(contentModel.getName());
-                break;
-        }
-        state.put(contentModel, result);
-        return result;
-    }
-
-    /**
-     * Used to compute setter model.
-     *
-     * Returns the QNameSet of all elements that can possibly come before an
-     * element whose name is given by the target in a valid instance of the
-     * contentModel.  When appending an element, it comes before the first
-     * one that is not in this set.
-     */
-    static QNameSet computeNondelimitingElements(QName target, SchemaParticle contentModel, Map state)
-    {
-        QNameSet allContents = computeAllContainedElements(contentModel, state);
-        if (!allContents.contains(target))
-            return QNameSet.EMPTY;
-
-        // If iterated, then all contents are delimiting.
-        if (contentModel.getMaxOccurs() == null ||
-            contentModel.getMaxOccurs().compareTo(BigInteger.ONE) > 0)
-            return allContents;
-
-        QNameSetBuilder builder;
-
-        switch (contentModel.getParticleType())
-        {
-            case SchemaParticle.ALL:
-            case SchemaParticle.ELEMENT:
-            default:
-                return allContents;
-
-            case SchemaParticle.WILDCARD:
-                return QNameSet.singleton(target);
-
-            case SchemaParticle.CHOICE:
-                builder = new QNameSetBuilder();
-                for (int i = 0; i < contentModel.countOfParticleChild(); i++)
-                {
-                    QNameSet childContents = computeAllContainedElements(contentModel.getParticleChild(i), state);
-                    if (childContents.contains(target))
-                        builder.addAll(computeNondelimitingElements(target, contentModel.getParticleChild(i), state));
-                }
-                return builder.toQNameSet();
-
-            case SchemaParticle.SEQUENCE:
-                builder = new QNameSetBuilder();
-                boolean seenTarget = false;
-                for (int i = contentModel.countOfParticleChild(); i > 0; )
-                {
-                    i--;
-                    QNameSet childContents = computeAllContainedElements(contentModel.getParticleChild(i), state);
-                    if (seenTarget)
-                    {
-                        builder.addAll(childContents);
-                    }
-                    else if (childContents.contains(target))
-                    {
-                        builder.addAll(computeNondelimitingElements(target, contentModel.getParticleChild(i), state));
-                        seenTarget = true;
-                    }
-                }
-                return builder.toQNameSet();
-        }
-    }
-
-    static void assignJavaElementSetterModel(SchemaProperty[] eltProps, SchemaParticle contentModel)
-    {
-        // To compute the element setter model, we need to compute the
-        // delimiting elements for each element.
-
-        Map state = new HashMap();
-        QNameSet allContents = computeAllContainedElements(contentModel, state);
-
-        for (int i = 0; i < eltProps.length; i++)
-        {
-            SchemaPropertyImpl sImpl = (SchemaPropertyImpl)eltProps[i];
-            QNameSet nde = computeNondelimitingElements(sImpl.getName(), contentModel, state);
-            QNameSetBuilder builder = new QNameSetBuilder(allContents);
-            builder.removeAll(nde);
-            sImpl.setJavaSetterDelimiter(builder.toQNameSet());
-        }
-    }
-
-    static void assignJavaPropertyNames(Set usedNames, SchemaProperty[] props, SchemaType baseType, boolean doInherited)
-    {
-        StscState state = StscState.get();
-
-        // We have to special case the document types. The reason is that a
-        // document type can inherit from another document type without
-        // containing all of the base type's properties (which is impossible
-        // for normal types)
-        if (baseType.isDocumentType() && !doInherited)
-        {
-            SchemaProperty s = baseType.getElementProperties()[0];
-            usedNames.add(s.getJavaPropertyName());
-        }
-
-        // two passes: first deal with inherited properties, then with new ones.
-        // this ensures that we match up with base class definitions cleanly
-        // BUGBUG(radup) We have to look for particles that have been removed
-        // in the derivation tree for this type using derivation by restriction,
-        // because they have not been removed in Java and may collide with 
-        // this type's properties.
-
-        for (int i = 0; i < props.length; i++)
-        {
-            SchemaPropertyImpl sImpl = (SchemaPropertyImpl)props[i];
-
-            SchemaProperty baseProp =
-               (sImpl.isAttribute() ?
-                    baseType.getAttributeProperty(sImpl.getName()) :
-                    baseType.getElementProperty(sImpl.getName()));
-
-            if ((baseProp != null) != doInherited)
-                continue;
-
-            QName propQName = sImpl.getName();
-
-            String theName;
-
-            if (baseProp == null)
-                theName = pickJavaPropertyName(usedNames, propQName.getLocalPart(), state.getJavaname(propQName));
-            else
-            {
-                theName = baseProp.getJavaPropertyName();
-                assert(!usedNames.contains(theName));
-                usedNames.add(theName);
-            }
-
-            sImpl.setJavaPropertyName(theName);
-
-            boolean isArray = (sImpl.getMaxOccurs() == null ||
-                sImpl.getMaxOccurs().compareTo(BigInteger.ONE) > 0);
-            boolean isSingleton = !isArray && (sImpl.getMaxOccurs().signum() > 0);
-            boolean isOption = isSingleton && (sImpl.getMinOccurs().signum() == 0);
-            SchemaType javaBasedOnType = sImpl.getType();
-
-            if (baseProp != null)
-            {
-                if (baseProp.extendsJavaArray())
-                {
-                    isSingleton = false;
-                    isOption = false;
-                    isArray = true;
-                }
-                if (baseProp.extendsJavaSingleton())
-                {
-                    isSingleton = true;
-                }
-                if (baseProp.extendsJavaOption())
-                {
-                    isOption = true;
-                }
-                javaBasedOnType = baseProp.javaBasedOnType();
-            }
-
-            sImpl.setExtendsJava(javaBasedOnType.getRef(), isSingleton, isOption, isArray);
-        }
-
-    }
-
-    static void assignJavaTypeCodes(SchemaProperty[] properties)
-    {
-        for (int i = 0; i < properties.length; i++)
-        {
-            SchemaPropertyImpl sImpl = (SchemaPropertyImpl)properties[i];
-            SchemaType sType = sImpl.javaBasedOnType();
-            sImpl.setJavaTypeCode(javaTypeCodeForType(sType));
-        }
-    }
-
-    static int javaTypeCodeInCommon(SchemaType[] types)
-    {
-        if (types == null || types.length == 0)
-            return SchemaProperty.XML_OBJECT;
-
-        int code = javaTypeCodeForType(types[0]);
-        if (code == SchemaProperty.JAVA_OBJECT)
-            return code;
-        for (int i = 1; i < types.length; i++)
-        {
-            // if any two are different, the answer is java.lang.Object
-            if (code != javaTypeCodeForType(types[i]))
-                return SchemaProperty.JAVA_OBJECT;
-        }
-        return code;
-    }
-
-    static int javaTypeCodeForType(SchemaType sType)
-    {
-        if (!sType.isSimpleType())
-            return SchemaProperty.XML_OBJECT;
-
-        if (sType.getSimpleVariety() == SchemaType.UNION)
-        {
-            // see if we can find an interesting common base type, e.g., for string enums
-            SchemaType baseType = sType.getUnionCommonBaseType();
-            if (baseType != null && !baseType.isURType())
-                sType = baseType;
-            else
-                return javaTypeCodeInCommon(sType.getUnionConstituentTypes());
-        }
-
-        if (sType.getSimpleVariety() == SchemaType.LIST)
-            return SchemaProperty.JAVA_LIST;
-
-        if (sType.isURType())
-            return SchemaProperty.XML_OBJECT;
-
-        switch (sType.getPrimitiveType().getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_ANY_SIMPLE:
-                // return SchemaProperty.XML_OBJECT;
-                return SchemaProperty.JAVA_STRING;
-
-            case SchemaType.BTC_BOOLEAN:
-                return SchemaProperty.JAVA_BOOLEAN;
-
-            case SchemaType.BTC_BASE_64_BINARY:
-                return SchemaProperty.JAVA_BYTE_ARRAY;
-
-            case SchemaType.BTC_HEX_BINARY:
-                return SchemaProperty.JAVA_BYTE_ARRAY;
-
-            case SchemaType.BTC_ANY_URI:
-                return SchemaProperty.JAVA_STRING;
-
-            case SchemaType.BTC_QNAME:
-                return SchemaProperty.JAVA_QNAME;
-
-            case SchemaType.BTC_NOTATION:
-                return SchemaProperty.XML_OBJECT;
-
-            case SchemaType.BTC_FLOAT:
-                return SchemaProperty.JAVA_FLOAT;
-
-            case SchemaType.BTC_DOUBLE:
-                return SchemaProperty.JAVA_DOUBLE;
-
-            case SchemaType.BTC_DECIMAL:
-                switch (sType.getDecimalSize())
-                {
-                    case SchemaType.SIZE_BYTE:
-                        return SchemaProperty.JAVA_BYTE;
-                    case SchemaType.SIZE_SHORT:
-                        return SchemaProperty.JAVA_SHORT;
-                    case SchemaType.SIZE_INT:
-                        return SchemaProperty.JAVA_INT;
-                    case SchemaType.SIZE_LONG:
-                        return SchemaProperty.JAVA_LONG;
-                    case SchemaType.SIZE_BIG_INTEGER:
-                        return SchemaProperty.JAVA_BIG_INTEGER;
-                    case SchemaType.SIZE_BIG_DECIMAL:
-                    default:
-                        return SchemaProperty.JAVA_BIG_DECIMAL;
-                }
-
-            case SchemaType.BTC_STRING:
-                if (isStringType(sType.getBaseEnumType()))
-                    return SchemaProperty.JAVA_ENUM;
-                return SchemaProperty.JAVA_STRING;
-
-            case SchemaType.BTC_DURATION:
-                return SchemaProperty.JAVA_GDURATION;
-
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_DATE:
-                // return SchemaProperty.JAVA_DATE; // converted to calendar
-
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                // return SchemaProperty.JAVA_GDATE; // converted to calendar (JAX-B)
-                return SchemaProperty.JAVA_CALENDAR;
-
-            default:
-                assert(false) : "unrecognized code " + sType.getPrimitiveType().getBuiltinTypeCode();
-                throw new IllegalStateException("unrecognized code " + sType.getPrimitiveType().getBuiltinTypeCode() + " of " + sType.getPrimitiveType().getName());
-        }
-    }
-
-    static boolean isPropertyModelOrderInsensitive(SchemaProperty[] properties)
-    {
-        for (int i = 0; i < properties.length; i++)
-        {
-            SchemaProperty prop = properties[i];
-            if (prop.hasNillable() == SchemaProperty.VARIABLE)
-                return false;
-            if (prop.hasDefault() == SchemaProperty.VARIABLE)
-                return false;
-            if (prop.hasFixed() == SchemaProperty.VARIABLE)
-                return false;
-            if (prop.hasDefault() != SchemaProperty.NEVER &&
-                prop.getDefaultText() == null)
-                return false;
-        }
-        return true;
-    }
-
-    static boolean protectReservedGlobalClassNames(String name)
-    {
-        int i = name.lastIndexOf('.');
-        String lastSegment = name.substring(i + 1);
-        if (lastSegment.endsWith("Document") && !lastSegment.equals("Document"))
-            return true;
-        return false;
-    }
-
-    static boolean protectReservedInnerClassNames(String name)
-    {
-        return (name.equals("Enum") || name.equals("Factory"));
-    }
-
-    static String[] PROTECTED_PROPERTIES = {
-        "StringValue",
-        "BooleanValue",
-        "ByteValue",
-        "ShortValue",
-        "IntValue",
-        "LongValue",
-        "BigIntegerValue",
-        "BigDecimalValue",
-        "FloatValue",
-        "DoubleValue",
-        "ByteArrayValue",
-        "EnumValue",
-        "CalendarValue",
-        "DateValue",
-        "GDateValue",
-        "GDurationValue",
-        "QNameValue",
-        "ListValue",
-        "ObjectValue",
-        "Class",
-    };
-    static Set PROTECTED_PROPERTIES_SET = new HashSet(Arrays.asList(PROTECTED_PROPERTIES));
-
-    static boolean protectReservedPropertyNames(String name)
-    {
-        return PROTECTED_PROPERTIES_SET.contains(name) ||
-            (name.endsWith("Array") && !name.equals("Array"));
-    }
-
-    static String pickFullJavaClassName(Set usedNames, QName qName, String configname, boolean isDocument, boolean isAttrType)
-    {
-        String base;
-        boolean protect;
-
-        if (configname != null && configname.indexOf('.') >= 0)
-        {
-            // a configname with dots defines the fully qualified java class name
-            base = configname;
-            protect = protectReservedGlobalClassNames(base);
-        }
-        else
-        {
-            StscState state = StscState.get();
-            String uri = qName.getNamespaceURI();
-
-            base = NameUtil.getClassNameFromQName(qName);
-
-            // Check to see if we have a mapping from namespace URI to Java package
-            // name. If so, apply the mapped package prefix at the beginning of
-            // the base name
-
-            String pkgPrefix = state.getPackageOverride(uri);
-
-            if (pkgPrefix != null)
-            {
-                // Form the new qualified class name from the new package name
-                // and the old class name
-                base = pkgPrefix + "." + base.substring(base.lastIndexOf('.') + 1);
-            }
-
-            // See if there is a prefix...
-            String javaPrefix = state.getJavaPrefix(uri);
-            if (javaPrefix != null)
-                base = base.substring(0, base.lastIndexOf('.') + 1) + javaPrefix + base.substring(base.lastIndexOf('.') + 1);
-
-            // a configname without dots may override the shortname part.
-            if (configname != null)
-            {
-                base = base.substring(0, base.lastIndexOf('.') + 1) + configname;
-            }
-
-            protect = protectReservedGlobalClassNames(base);
-            if (configname == null)
-            {
-                // add special suffix
-                if (isDocument)
-                    base = base + "Document";
-                else if (isAttrType)
-                    base = base + "Attribute";
-
-                // add configured suffix
-                String javaSuffix = state.getJavaSuffix(uri);
-                if (javaSuffix != null)
-                    base = base + javaSuffix;
-            }
-        }
-
-        String outermostPkg = getOutermostPackage(base);
-
-        int index = 1;
-        String uniqName;
-        if (protect)
-            uniqName = base + index;
-        else
-            uniqName = base;
-        while (usedNames.contains(uniqName.toLowerCase()) || uniqName.equals(outermostPkg))
-        {
-            index++;
-            uniqName = base + index;
-        }
-
-        usedNames.add(uniqName.toLowerCase());
-
-        return uniqName;
-    }
-
-    static String getOutermostPackage(String fqcn)
-    {
-        if (fqcn == null)
-            return "";
-
-        // remove class name
-        int lastdot = fqcn.indexOf('.');
-        if (lastdot < 0)
-            return "";
-
-        // remove outer package names
-        return fqcn.substring(0, lastdot);
-    }
-
-    static String pickFullJavaImplName(Set usedNames, String intfName)
-    {
-        // Strip off the package from the class name so we can replace it
-        String className = intfName;
-        String pkgName = null;
-        int index = intfName.lastIndexOf('.');
-        if (index >= 0)
-        {
-            className = intfName.substring(index + 1);
-            pkgName = intfName.substring(0, index);
-        }
-
-        // Form the new qualified class name from the new package name
-        // and the old class name
-        String base = pkgName + ".impl." + className + "Impl";
-
-        index = 1;
-        String uniqName = base;
-        while (usedNames.contains(uniqName.toLowerCase()))
-        {
-            index++;
-            uniqName = base + index;
-        }
-
-        usedNames.add(uniqName.toLowerCase());
-
-        return uniqName;
-    }
-
-    static String pickJavaPropertyName(Set usedNames, String localName, String javaName)
-    {
-        if (javaName == null)
-            javaName = NameUtil.upperCamelCase(localName);
-        boolean protect = protectReservedPropertyNames(javaName);
-        String uniqName;
-        int index = 1;
-        if (protect)
-            uniqName = javaName + index;
-        else
-            uniqName = javaName;
-        while (usedNames.contains(uniqName))
-        {
-            index++;
-            uniqName = javaName + index;
-        }
-
-        usedNames.add(uniqName);
-
-        return uniqName;
-    }
-
-    static String pickInnerJavaClassName(Set usedNames, String localName, String javaName)
-    {
-        if (javaName == null)
-            javaName = NameUtil.upperCamelCase(localName);
-        boolean protect = protectReservedInnerClassNames(javaName);
-        String uniqName;
-        int index = 1;
-        if (protect)
-            uniqName = javaName + index;
-        else
-            uniqName = javaName;
-        while (usedNames.contains(uniqName))
-        {
-            index++;
-            uniqName = javaName + index;
-        }
-
-        usedNames.add(uniqName);
-
-        return uniqName;
-    }
-
-    static String pickInnerJavaImplName(Set usedNames, String localName, String javaName)
-    {
-        if (javaName == null)
-            javaName = NameUtil.upperCamelCase(localName) + "Impl";
-        String uniqName = javaName;
-        int index = 1;
-        while (usedNames.contains(uniqName))
-        {
-            index++;
-            uniqName = javaName + index;
-        }
-
-        usedNames.add(uniqName);
-
-        return uniqName;
-    }
-
-    static QName findTopName(SchemaType sType)
-    {
-        if (sType.getName() != null)
-            return sType.getName();
-
-        if (sType.isDocumentType())
-        {
-            // A document type must have a content model consisting of a single elt
-            if (sType.getContentModel() == null || sType.getContentModel().getParticleType() != SchemaParticle.ELEMENT)
-                throw new IllegalStateException();
-            return (sType.getDocumentElementName());
-        }
-
-        if (sType.isAttributeType())
-        {
-            if (sType.getAttributeModel() == null || sType.getAttributeModel().getAttributes().length != 1)
-                throw new IllegalStateException();
-            return sType.getAttributeTypeAttributeName();
-        }
-
-        SchemaField sElt = sType.getContainerField();
-        assert(sElt != null);
-        assert(sType.getOuterType() == null);
-        return sElt.getName();
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscResolver.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscResolver.java
deleted file mode 100644
index 5868d8b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscResolver.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.QNameSet;
-
-import java.math.BigInteger;
-
-import java.util.*;
-
-import org.w3.x2001.xmlSchema.TopLevelElement;
-import org.w3.x2001.xmlSchema.TopLevelAttribute;
-import org.w3.x2001.xmlSchema.SimpleType;
-import org.w3.x2001.xmlSchema.Attribute;
-import org.w3.x2001.xmlSchema.Element;
-import org.w3.x2001.xmlSchema.KeyrefDocument.Keyref;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import javax.xml.namespace.QName;
-
-public class StscResolver
-{
-    /**
-     * Does a topo walk of all the types to resolve them.
-     */
-    public static void resolveAll()
-    {
-        // resolve tree of types
-        StscState state = StscState.get();
-
-        SchemaType[] documentTypes = state.documentTypes();
-        for (int i = 0 ; i < documentTypes.length ; i++)
-            resolveSubstitutionGroup((SchemaTypeImpl)documentTypes[i]);
-
-        List allSeenTypes = new ArrayList();
-        allSeenTypes.addAll(Arrays.asList(state.documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.redefinedGlobalTypes()));
-        allSeenTypes.addAll(Arrays.asList(state.globalTypes()));
-
-        for (int i = 0; i < allSeenTypes.size(); i++)
-        {
-            SchemaType gType = (SchemaType)allSeenTypes.get(i);
-            resolveType((SchemaTypeImpl)gType);
-            allSeenTypes.addAll(Arrays.asList(gType.getAnonymousTypes()));
-        }
-
-        // Resolve all keyref refs
-        resolveIdentityConstraints();
-    }
-
-    public static boolean resolveType(SchemaTypeImpl sImpl)
-    {
-        if (sImpl.isResolved())
-            return true;
-        if (sImpl.isResolving())
-        {
-            StscState.get().error("Cyclic dependency error", XmlErrorContext.CYCLIC_DEPENDENCY, sImpl.getParseObject());
-            return false; // cyclic dependency error
-        }
-        // System.out.println("Resolving " + sImpl);
-
-        sImpl.startResolving();
-
-        if (sImpl.isDocumentType())
-            resolveDocumentType(sImpl);
-        else if (sImpl.isAttributeType())
-            resolveAttributeType(sImpl);
-        else if (sImpl.isSimpleType())
-            StscSimpleTypeResolver.resolveSimpleType(sImpl);
-        else
-            StscComplexTypeResolver.resolveComplexType(sImpl);
-
-        sImpl.finishResolving();
-        // System.out.println("Finished resolving " + sImpl);
-        return true;
-    }
-
-    public static boolean resolveSubstitutionGroup(SchemaTypeImpl sImpl)
-    {
-        assert sImpl.isDocumentType();
-
-        if (sImpl.isSGResolved())
-            return true;
-        if (sImpl.isSGResolving())
-        {
-            StscState.get().error("Cyclic dependency error", XmlErrorContext.CYCLIC_DEPENDENCY, sImpl.getParseObject());
-            return false; // cyclic dependency error
-        }
-
-        sImpl.startResolvingSGs();
-
-        // Resolve substitution group
-
-        TopLevelElement elt = (TopLevelElement)sImpl.getParseObject();
-        SchemaTypeImpl substitutionGroup = null;
-        QName eltName = new QName(sImpl.getTargetNamespace(), elt.getName());
-
-        // BUG: How do I tell if the type is in this compilation unit?
-        if (elt.isSetSubstitutionGroup())
-        {
-            substitutionGroup = StscState.get().findDocumentType(elt.getSubstitutionGroup(), 
-                sImpl.getChameleonNamespace());
-
-            if (substitutionGroup == null)
-                StscState.get().notFoundError(elt.getSubstitutionGroup(), XmlErrorContext.ELEMENT_REF_NOT_FOUND, elt.xgetSubstitutionGroup());
-                // recovery - ignore substitution group
-            else if (! resolveSubstitutionGroup(substitutionGroup) )
-                substitutionGroup = null;
-            else
-                sImpl.setSubstitutionGroup(elt.getSubstitutionGroup());
-        }
-
-        // Walk up the chain of subtitution groups adding this schematype to each head's
-        // member list
-        while (substitutionGroup != null)
-        {
-
-            substitutionGroup.addSubstitutionGroupMember(eltName);
-
-            if (substitutionGroup.getSubstitutionGroup() == null)
-                break;
-
-            substitutionGroup = StscState.get().findDocumentType(
-                substitutionGroup.getSubstitutionGroup(), substitutionGroup.getChameleonNamespace());
-
-            assert substitutionGroup != null : "Could not find document type for: " + substitutionGroup.getSubstitutionGroup();
-
-            if (! resolveSubstitutionGroup(substitutionGroup) )
-                substitutionGroup = null; // cyclic dependency - no subst group
-
-        }
-
-        sImpl.finishResolvingSGs();
-        return true;
-
-    }
-
-    public static void resolveDocumentType ( SchemaTypeImpl sImpl )
-    {
-        assert sImpl.isResolving();
-        
-        assert sImpl.isDocumentType();
-        
-
-        // translate the global element associated with this document type
-        // and construct a content model which allows just that element
-        
-        List anonTypes = new ArrayList();
-
-        SchemaGlobalElementImpl element =
-            (SchemaGlobalElementImpl)
-                StscTranslator.translateElement(
-                    (Element) sImpl.getParseObject(),
-                    sImpl.getTargetNamespace(), sImpl.isChameleon(),
-                    anonTypes, sImpl );
-
-        SchemaLocalElementImpl contentModel = null;
-
-        if (element != null)
-        {
-            StscState.get().addGlobalElement( element );
-                    
-            contentModel = new SchemaLocalElementImpl();
-        
-            contentModel.setParticleType( SchemaParticle.ELEMENT );
-            StscTranslator.copyGlobalElementToLocalElement( element, contentModel );
-            contentModel.setMinOccurs( BigInteger.ONE );
-            contentModel.setMaxOccurs( BigInteger.ONE );
-
-            contentModel.setTransitionNotes(QNameSet.EMPTY, true);
-        }
-
-        Map elementPropertyModel =
-            StscComplexTypeResolver.buildContentPropertyModelByQName(
-                contentModel, sImpl );
-
-        SchemaTypeImpl baseType = sImpl.getSubstitutionGroup() == null ?
-            BuiltinSchemaTypeSystem.ST_ANY_TYPE :
-            StscState.get().findDocumentType(sImpl.getSubstitutionGroup(), 
-                 sImpl.isChameleon() ? sImpl.getTargetNamespace() : null)
-            ;
-
-        sImpl.setBaseTypeRef( baseType.getRef() );
-        sImpl.setBaseDepth( baseType.getBaseDepth() + 1 );
-        sImpl.setDerivationType( SchemaType.DT_RESTRICTION );
-        sImpl.setComplexTypeVariety( SchemaType.ELEMENT_CONTENT );
-
-        sImpl.setContentModel(
-            contentModel, new SchemaAttributeModelImpl(),
-            elementPropertyModel, Collections.EMPTY_MAP, false );
-        
-        sImpl.setWildcardSummary(
-            QNameSet.EMPTY, false, QNameSet.EMPTY, false );
-
-        sImpl.setAnonymousTypeRefs( makeRefArray( anonTypes ) );
-
-
-
-    }
-    
-    public static void resolveAttributeType ( SchemaTypeImpl sImpl )
-    {
-        assert sImpl.isResolving();
-
-        assert sImpl.isAttributeType();
-        
-        List anonTypes = new ArrayList();
-
-        SchemaGlobalAttributeImpl attribute =
-            (SchemaGlobalAttributeImpl) StscTranslator.translateAttribute(
-                (Attribute) sImpl.getParseObject(), sImpl.getTargetNamespace(),
-                sImpl.isChameleon(), anonTypes, sImpl, null, false );
-
-        SchemaAttributeModelImpl attributeModel = new SchemaAttributeModelImpl();
-
-        if (attribute != null)
-        {
-            StscState.get().addGlobalAttribute( attribute );
-            
-            SchemaLocalAttributeImpl attributeCopy = new SchemaLocalAttributeImpl();
-            StscTranslator.copyGlobalAttributeToLocalAttribute( attribute, attributeCopy );
-            attributeModel.addAttribute( attributeCopy );
-        }
-
-        sImpl.setBaseTypeRef( BuiltinSchemaTypeSystem.ST_ANY_TYPE.getRef() );
-        sImpl.setBaseDepth( sImpl.getBaseDepth() + 1 );
-        sImpl.setDerivationType( SchemaType.DT_RESTRICTION );
-        sImpl.setComplexTypeVariety( SchemaType.EMPTY_CONTENT );
-        
-        Map attributePropertyModel =
-            StscComplexTypeResolver.buildAttributePropertyModelByQName(
-                attributeModel, sImpl );
-
-        sImpl.setContentModel(
-            null, attributeModel, Collections.EMPTY_MAP, attributePropertyModel, false );
-
-        sImpl.setWildcardSummary(
-            QNameSet.EMPTY, false, QNameSet.EMPTY, false );
-        
-        sImpl.setAnonymousTypeRefs( makeRefArray( anonTypes ) );
-    }
-    
-    private static SchemaType.Ref[] makeRefArray(Collection typeList)
-    {
-        SchemaType.Ref[] result = new SchemaType.Ref[typeList.size()];
-        int j = 0;
-        for (Iterator i = typeList.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType)i.next()).getRef();
-        return result;
-    }
-
-
-    public static void resolveIdentityConstraints()
-    {
-        StscState state = StscState.get();
-        SchemaIdentityConstraintImpl[] idcs = state.idConstraints();
-
-        for (int i = 0 ; i < idcs.length ; i++)
-        {
-            if (!idcs[i].isResolved())
-            {
-                Keyref xsdkr = (Keyref)idcs[i].getParseObject();
-                QName keyName = xsdkr.getRefer();
-                SchemaIdentityConstraintImpl key = null;
-
-                key = state.findIdConstraint(keyName, idcs[i].getChameleonNamespace());
-                if (key == null)
-                {
-                    state.notFoundError(keyName, XmlErrorContext.IDC_NOT_FOUND, xsdkr);
-                }
-                else 
-                {
-                    if (key.getConstraintCategory() == SchemaIdentityConstraintImpl.CC_KEYREF)
-                        state.error("Keyref cannot refer to another keyref.", 
-                            XmlErrorContext.IDC_NOT_FOUND, idcs[i].getParseObject());
-
-                    if (key.getFields().length != idcs[i].getFields().length)
-                        state.error("Keyref does not have same number of fields as key",
-                            XmlErrorContext.IDC_NOT_FOUND, idcs[i].getParseObject());
-
-                    idcs[i].setReferencedKey(key.getRef());
-                }
-            }
-        }
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.java
deleted file mode 100644
index 6d73b8a..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.java
+++ /dev/null
@@ -1,1106 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.util.*;
-import java.util.List;
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.regex.RegularExpression;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlInteger;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.XmlByte;
-import org.apache.xmlbeans.XmlShort;
-import org.apache.xmlbeans.XmlUnsignedByte;
-import org.w3.x2001.xmlSchema.*;
-
-public class StscSimpleTypeResolver
-{
-
-    /**************************************************************************
-     * SIMPLE TYPE RESOLUTION HERE
-     *
-     * Simple types can be declared as lists, unions, or restrictions.
-     * These three cases are treated separately in resolveListType,
-     * resolveUnionType, and resolveSimpleRestrictionType.
-     *
-     * The intricate work with facets is done in the restriction case,
-     * using method called resolveFacets (the union and list cases have
-     * trivial facet rules). Then all simple types call resolveProperties
-     * in the end to have their "fundamental facets" resolved.
-     */
-
-    public static void resolveSimpleType(SchemaTypeImpl sImpl)
-    {
-        SimpleType parseSt = (SimpleType)sImpl.getParseObject();
-        
-        assert sImpl.isSimpleType();
-
-        // Verify: have list, union, or restriction, but not more than one
-        int count =
-                (parseSt.isSetList() ? 1 : 0) +
-                (parseSt.isSetUnion() ? 1 : 0) +
-                (parseSt.isSetRestriction() ? 1 : 0);
-        if (count > 1)
-        {
-            StscState.get().error(
-                    "A simple type must define either a list, a union, or a restriction: more than one found.",
-                    XmlErrorContext.MALFORMED_SIMPLE_TYPE_DEFN,
-                    parseSt);
-            // recovery: treat it as the first of list, union, restr
-        }
-        else if (count < 1)
-        {
-            StscState.get().error("A simple type must define either a list, a union, or a restriction: none was found.",
-                    XmlErrorContext.MALFORMED_SIMPLE_TYPE_DEFN,
-                    parseSt);
-            // recovery: treat it as restriction of anySimpleType
-            resolveErrorSimpleType(sImpl);
-            return;
-        }
-
-        // Set final flags
-        boolean finalRest = false;
-        boolean finalList = false;
-        boolean finalUnion = false;
-
-        if (parseSt.isSetFinal())
-        {
-            String value = parseSt.getFinal();
-            if (value.equals("#all"))
-                finalRest = finalList = finalUnion = true;
-            else if (value.equals("restriction"))
-                finalRest = true;
-            else if (value.equals("list"))
-                finalList = true;
-            else if (value.equals("union"))
-                finalUnion = true;
-        }
-        sImpl.setSimpleFinal(finalRest, finalList, finalUnion);
-
-        List anonTypes = new ArrayList();
-
-        if (parseSt.getList() != null)
-            resolveListType(sImpl, parseSt.getList(), anonTypes);
-        else if (parseSt.getUnion() != null)
-            resolveUnionType(sImpl, parseSt.getUnion(), anonTypes);
-        else if (parseSt.getRestriction() != null)
-            resolveSimpleRestrictionType(sImpl, parseSt.getRestriction(), anonTypes);
-
-        sImpl.setAnonymousTypeRefs(makeRefArray(anonTypes));
-    }
-
-    private static SchemaType.Ref[] makeRefArray(Collection typeList)
-    {
-        SchemaType.Ref[] result = new SchemaType.Ref[typeList.size()];
-        int j = 0;
-        for (Iterator i = typeList.iterator(); i.hasNext(); j++)
-            result[j] = ((SchemaType)i.next()).getRef();
-        return result;
-    }
-
-    static void resolveErrorSimpleType(SchemaTypeImpl sImpl)
-    {
-        sImpl.setSimpleTypeVariety(SchemaType.ATOMIC);
-        sImpl.setBaseTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-        sImpl.setBaseDepth(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getBaseDepth() + 1);
-        sImpl.setPrimitiveTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-    }
-
-    static void resolveListType(SchemaTypeImpl sImpl, org.w3.x2001.xmlSchema.ListDocument.List parseList, List anonTypes)
-    {
-        StscState state = StscState.get();
-
-        sImpl.setSimpleTypeVariety(SchemaType.LIST);
-        sImpl.setBaseTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-        sImpl.setBaseDepth(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_RESTRICTION);
-
-        if (sImpl.isRedefinition())
-        {
-            StscState.get().error("A type redefinition must restrict the original definition of the type.", XmlErrorContext.GENERIC_ERROR, parseList);
-            // recovery: oh well.
-        }
-        
-        QName itemName = parseList.getItemType();
-        LocalSimpleType parseInner = parseList.getSimpleType();
-
-        if (itemName != null && parseInner != null)
-        {
-            state.error("List type definitions provide either an itemType attribute " +
-                    "or contain a nested simpleType: both were found.",
-                    XmlErrorContext.REDUNDANT_NESTED_TYPE,
-                    parseList);
-            // recovery: ignore the inner simple type.
-            parseInner = null;
-        }
-
-        SchemaTypeImpl itemImpl;
-        XmlObject errorLoc;
-
-        if (itemName != null)
-        {
-            itemImpl = state.findGlobalType(itemName, sImpl.getChameleonNamespace());
-            errorLoc = parseList.xgetItemType();
-            if (itemImpl == null)
-            {
-                state.notFoundError(itemName, XmlErrorContext.TYPE_NOT_FOUND, parseList.xgetItemType());
-                // recovery: treat it as a list of anySimpleType
-                itemImpl = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-            }
-        }
-        else if (parseInner != null)
-        {
-            itemImpl = new SchemaTypeImpl(state.sts());
-            errorLoc = parseInner;
-            itemImpl.setSimpleType(true);
-            itemImpl.setParseContext(parseInner, sImpl.getTargetNamespace(), sImpl.getChameleonNamespace() != null, false);
-            itemImpl.setOuterSchemaTypeRef(sImpl.getRef());
-            SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(), parseInner);
-            itemImpl.setAnnotation(ann);
-            anonTypes.add(itemImpl);
-        }
-        else
-        {
-            state.error("List type definitions provide either an itemType attribute " +
-                    "or contain a nested simpleType: neither was found.",
-                    XmlErrorContext.LIST_MISSING_ITEM,
-                    parseList);
-            // recovery: treat it as an extension of anySimpleType
-            resolveErrorSimpleType(sImpl);
-            return;
-        }
-
-        // Verify final restrictions
-        if (itemImpl.finalList())
-            state.error("Cannot derive by list a final type.", XmlErrorContext.CANNOT_DERIVE_FINAL, parseList);
-
-        // Recursion...
-        StscResolver.resolveType(itemImpl);
-
-        if (!itemImpl.isSimpleType())
-        {
-            state.error("Item type for this list type is not simple",
-                    XmlErrorContext.LIST_ITEM_NOT_SIMPLE, errorLoc);
-            // recovery: treat the item type as anySimpleType
-            sImpl = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-
-        switch (itemImpl.getSimpleVariety())
-        {
-            case SchemaType.LIST:
-                state.error("This item type is another list type; lists of lists are not allowed.", XmlErrorContext.LIST_OF_LIST, errorLoc);
-                // recovery: treat the list as an anySimpleType
-                resolveErrorSimpleType(sImpl);
-                return;
-            case SchemaType.UNION:
-                if (itemImpl.isUnionOfLists())
-                {
-                    state.error("This item type is a union containing a list; lists of lists are not allowed.", XmlErrorContext.LIST_OF_LIST, errorLoc);
-                    resolveErrorSimpleType(sImpl);
-                    return;
-                }
-                // fallthrough: nonlist unions are just like atomic items
-            case SchemaType.ATOMIC:
-                sImpl.setListItemTypeRef(itemImpl.getRef());
-                break;
-            default:
-                assert(false);
-                sImpl.setListItemTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-        }
-
-        // now deal with facets
-        sImpl.setBasicFacets(StscState.FACETS_LIST, StscState.FIXED_FACETS_LIST);
-        sImpl.setWhiteSpaceRule( SchemaType.WS_COLLAPSE );
-
-        // now compute our intrinsic properties
-        resolveFundamentalFacets(sImpl);
-    }
-
-
-
-
-    static void resolveUnionType(SchemaTypeImpl sImpl, UnionDocument.Union parseUnion, List anonTypes)
-    {
-        sImpl.setSimpleTypeVariety(SchemaType.UNION);
-        sImpl.setBaseTypeRef(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getRef());
-        sImpl.setBaseDepth(BuiltinSchemaTypeSystem.ST_ANY_SIMPLE.getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_RESTRICTION);
-
-        StscState state = StscState.get();
-        
-        if (sImpl.isRedefinition())
-        {
-            StscState.get().error("A type redefinition must restrict the original definition of the type.", XmlErrorContext.GENERIC_ERROR, parseUnion);
-            // recovery: oh well.
-        }
-        
-        List memberTypes = parseUnion.getMemberTypes();
-        SimpleType[] simpleTypes = parseUnion.getSimpleTypeArray();
-
-        List memberImplList = new ArrayList();
-        
-        if (simpleTypes.length == 0 && (memberTypes == null || memberTypes.size() == 0))
-        {
-            state.error("A union type must specify at least one member type", XmlErrorContext.UNION_MEMBER_NOT_SIMPLE, parseUnion);
-            // recovery: oh well, zero member types is fine.
-        }
-
-        if (memberTypes != null)
-        {
-            for (Iterator mNames = memberTypes.iterator(); mNames.hasNext(); )
-            {
-                QName mName = (QName)mNames.next();
-                SchemaTypeImpl memberImpl = state.findGlobalType(mName, sImpl.getChameleonNamespace());
-                if (memberImpl == null)
-                    // recovery: skip member
-                    state.notFoundError(mName, XmlErrorContext.TYPE_NOT_FOUND, parseUnion.xgetMemberTypes());
-                else
-                    memberImplList.add(memberImpl);
-            }
-        }
-
-        for (int i = 0; i < simpleTypes.length; i++)
-        {
-            // BUGBUG: see if non<simpleType> children can leak through
-            SchemaTypeImpl mImpl = new SchemaTypeImpl(state.sts());
-            mImpl.setSimpleType(true);
-            mImpl.setParseContext(simpleTypes[i], sImpl.getTargetNamespace(), sImpl.getChameleonNamespace() != null, false);
-            memberImplList.add(mImpl);
-            mImpl.setOuterSchemaTypeRef(sImpl.getRef());
-            mImpl.setAnonymousUnionMemberOrdinal(i + 1);
-            SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(), simpleTypes[i]);
-            mImpl.setAnnotation(ann);
-            anonTypes.add(mImpl);
-        }
-
-        // Recurse and resolve all member types
-        for (Iterator mImpls = memberImplList.iterator(); mImpls.hasNext(); )
-        {
-            SchemaTypeImpl mImpl = (SchemaTypeImpl)mImpls.next();
-            if (!StscResolver.resolveType(mImpl))
-            {
-                if (mImpl.getOuterType().equals(sImpl))
-                    state.error("Member has a cyclic dependency on the containing union",  XmlErrorContext.CYCLIC_DEPENDENCY, mImpl.getParseObject());
-                else
-                    state.error("Member " + QNameHelper.pretty(mImpl.getName()) + " has a cyclic dependency on the union", XmlErrorContext.CYCLIC_DEPENDENCY, parseUnion.xgetMemberTypes());
-
-                // recovery: ignore the errant union member
-                mImpls.remove();
-                continue;
-            }
-        }
-
-        // Now verify members
-        boolean isUnionOfLists = false;
-
-        for (Iterator mImpls = memberImplList.iterator(); mImpls.hasNext(); )
-        {
-            SchemaTypeImpl mImpl = (SchemaTypeImpl)mImpls.next();
-
-            if (!mImpl.isSimpleType())
-            {
-                if (mImpl.getOuterType() != null && mImpl.getOuterType().equals(sImpl))
-                    state.error("Member is not simple", XmlErrorContext.UNION_MEMBER_NOT_SIMPLE, mImpl.getParseObject());
-                else
-                    state.error("Member " + QNameHelper.pretty(mImpl.getName()) + " is not simple", XmlErrorContext.UNION_MEMBER_NOT_SIMPLE, parseUnion.xgetMemberTypes());
-
-                // recovery: ignore the errant union member
-                mImpls.remove();
-                continue;
-            }
-
-            if (mImpl.getSimpleVariety() == SchemaType.LIST ||
-                mImpl.getSimpleVariety() == SchemaType.UNION && mImpl.isUnionOfLists())
-                isUnionOfLists = true;
-        }
-
-        // Verify any final restrictions
-        for (int i = 0 ; i < memberImplList.size() ; i++)
-        {
-            SchemaTypeImpl mImpl = (SchemaTypeImpl)memberImplList.get(i);
-            if (mImpl.finalUnion())
-                state.error("Cannot derive by union a final type.", XmlErrorContext.CANNOT_DERIVE_FINAL, parseUnion);
-        }
-
-        sImpl.setUnionOfLists(isUnionOfLists);
-
-        sImpl.setUnionMemberTypeRefs(makeRefArray(memberImplList));
-
-        // now deal with facets
-        sImpl.setBasicFacets(StscState.FACETS_UNION, StscState.FIXED_FACETS_UNION);
-
-        // now compute our intrinsic properties
-        resolveFundamentalFacets(sImpl);
-    }
-
-    static void resolveSimpleRestrictionType(SchemaTypeImpl sImpl, RestrictionDocument.Restriction parseRestr, List anonTypes)
-    {
-        QName baseName = parseRestr.getBase();
-        SimpleType parseInner = parseRestr.getSimpleType();
-        StscState state = StscState.get();
-
-        if (baseName != null && parseInner != null)
-        {
-            state.error("Simple type restrictions must name a base type " +
-                    "or contain a nested simple type: both were found.",
-                    XmlErrorContext.RESTRICTION_REDUNDANT_BASE,
-                    parseRestr);
-            // recovery: ignore the inner simple type.
-            parseInner = null;
-        }
-
-        SchemaTypeImpl baseImpl;
-
-        if (baseName != null)
-        {
-            if (sImpl.isRedefinition())
-            {
-                baseImpl = state.findRedefinedGlobalType(parseRestr.getBase(), sImpl.getChameleonNamespace(), sImpl);
-                if (baseImpl != null && !baseImpl.getName().equals(sImpl.getName()))
-                    state.error("A type redefinition must restrict the original type definition", XmlErrorContext.GENERIC_ERROR, parseRestr);
-            }
-            else
-            {
-                baseImpl = state.findGlobalType(baseName, sImpl.getChameleonNamespace());
-            }
-            if (baseImpl == null)
-            {
-                state.notFoundError(baseName, XmlErrorContext.TYPE_NOT_FOUND, parseRestr.xgetBase());
-                // recovery: treat it as an extension of anySimpleType
-                baseImpl = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-            }
-        }
-        else if (parseInner != null)
-        {
-            if (sImpl.isRedefinition())
-            {
-                StscState.get().error("A type redefinition must restrict the original definition of the type.", XmlErrorContext.GENERIC_ERROR, parseInner);
-                // recovery: oh well.
-            }
-            
-            baseImpl = new SchemaTypeImpl(state.sts());
-            baseImpl.setSimpleType(true);
-            baseImpl.setParseContext(parseInner, sImpl.getTargetNamespace(), sImpl.getChameleonNamespace() != null, false);
-            // baseImpl.setSkippedAnonymousType(true);
-            baseImpl.setOuterSchemaTypeRef(sImpl.getRef());
-            SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(), parseInner);
-            baseImpl.setAnnotation(ann);
-            anonTypes.add(baseImpl);
-        }
-        else
-        {
-            state.error("Simple type restrictions must name a base type " +
-                    "or contain a nested simple type: neither were found.",
-                    XmlErrorContext.RESTRICTION_MISSING_BASE,
-                    parseRestr);
-            // recovery: treat it as an extension of anySimpleType
-            baseImpl = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-
-        // Recursion!
-        if (!StscResolver.resolveType(baseImpl))
-        {
-            // cyclic dependency recovery: treat it as an extension of anySimpleType
-            baseImpl = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-
-        if (baseImpl.finalRestriction())
-            state.error("Cannot restrict a final type", XmlErrorContext.CANNOT_DERIVE_FINAL, parseRestr);
-
-        sImpl.setBaseTypeRef(baseImpl.getRef());
-        sImpl.setBaseDepth(baseImpl.getBaseDepth() + 1);
-        sImpl.setDerivationType(SchemaType.DT_RESTRICTION);
-
-        if (!baseImpl.isSimpleType())
-        {
-            state.error("Base type for this simple type restriction is not simple",
-                    XmlErrorContext.SIMPLE_RESTRICTION_NOT_SIMPLE,
-                    parseRestr.xgetBase());
-            // recovery: treat it as a restriction of anySimpleType
-            resolveErrorSimpleType(sImpl);
-            return;
-        }
-
-        sImpl.setSimpleTypeVariety(baseImpl.getSimpleVariety());
-
-        // copy variety-specific properties
-        switch (baseImpl.getSimpleVariety())
-        {
-            case SchemaType.ATOMIC:
-                sImpl.setPrimitiveTypeRef(baseImpl.getPrimitiveType().getRef());
-                break;
-            case SchemaType.UNION:
-                sImpl.setUnionOfLists(baseImpl.isUnionOfLists());
-                sImpl.setUnionMemberTypeRefs(makeRefArray(Arrays.asList(baseImpl.getUnionMemberTypes())));
-                break;
-            case SchemaType.LIST:
-                sImpl.setListItemTypeRef(baseImpl.getListItemType().getRef());
-                break;
-        }
-
-        // deal with facets
-        resolveFacets(sImpl, parseRestr, baseImpl);
-
-        // now compute our intrinsic properties
-        resolveFundamentalFacets(sImpl);
-    }
-
-    static int translateWhitespaceCode(XmlAnySimpleType value)
-    {
-        // BUGBUG: add whitespace rule to textvalue.
-        String textval = value.getStringValue();
-
-        if (textval.equals("collapse"))
-            return SchemaType.WS_COLLAPSE;
-
-        if (textval.equals("preserve"))
-            return SchemaType.WS_PRESERVE;
-
-        if (textval.equals("replace"))
-            return SchemaType.WS_REPLACE;
-
-        StscState.get().error("Unrecognized whitespace value \"" + textval + "\"", XmlErrorContext.FACET_VALUE_MALFORMED, value);
-        return SchemaType.WS_UNSPECIFIED;
-    }
-
-    static boolean isMultipleFacet(int facetcode)
-    {
-        return (facetcode == SchemaType.FACET_ENUMERATION ||
-                facetcode == SchemaType.FACET_PATTERN);
-    }
-
-    static boolean facetAppliesToType(int facetCode, SchemaTypeImpl baseImpl)
-    {
-        switch (baseImpl.getSimpleVariety())
-        {
-            case SchemaType.LIST:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_LENGTH:
-                    case SchemaType.FACET_MIN_LENGTH:
-                    case SchemaType.FACET_MAX_LENGTH:
-                    case SchemaType.FACET_ENUMERATION:
-                    case SchemaType.FACET_PATTERN:
-                    case SchemaType.FACET_WHITE_SPACE:
-                        return true;
-                }
-                return false;
-
-            case SchemaType.UNION:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_ENUMERATION:
-                    case SchemaType.FACET_PATTERN:
-                        return true;
-                }
-                return false;
-        }
-
-        // the atomic case
-
-        switch (baseImpl.getPrimitiveType().getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_ANY_SIMPLE:
-                return false;
-
-            case SchemaType.BTC_BOOLEAN:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_PATTERN:
-                    case SchemaType.FACET_WHITE_SPACE:
-                        return true;
-                }
-                return false;
-
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-            case SchemaType.BTC_DURATION:
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_MIN_EXCLUSIVE:
-                    case SchemaType.FACET_MIN_INCLUSIVE:
-                    case SchemaType.FACET_MAX_INCLUSIVE:
-                    case SchemaType.FACET_MAX_EXCLUSIVE:
-                    case SchemaType.FACET_ENUMERATION:
-                    case SchemaType.FACET_PATTERN:
-                    case SchemaType.FACET_WHITE_SPACE:
-                        return true;
-                }
-                return false;
-
-            case SchemaType.BTC_DECIMAL:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_MIN_EXCLUSIVE:
-                    case SchemaType.FACET_MIN_INCLUSIVE:
-                    case SchemaType.FACET_MAX_INCLUSIVE:
-                    case SchemaType.FACET_MAX_EXCLUSIVE:
-                    case SchemaType.FACET_TOTAL_DIGITS:
-                    case SchemaType.FACET_FRACTION_DIGITS:
-                    case SchemaType.FACET_ENUMERATION:
-                    case SchemaType.FACET_PATTERN:
-                    case SchemaType.FACET_WHITE_SPACE:
-                        return true;
-                }
-                return false;
-
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_NOTATION:
-            case SchemaType.BTC_STRING:
-                switch (facetCode)
-                {
-                    case SchemaType.FACET_LENGTH:
-                    case SchemaType.FACET_MIN_LENGTH:
-                    case SchemaType.FACET_MAX_LENGTH:
-                    case SchemaType.FACET_ENUMERATION:
-                    case SchemaType.FACET_PATTERN:
-                    case SchemaType.FACET_WHITE_SPACE:
-                        return true;
-                }
-                return false;
-            default:
-                assert(false);
-                return false;
-        }
-    }
-
-    private static int other_similar_limit(int facetcode)
-    {
-        switch (facetcode)
-        {
-            case SchemaType.FACET_MIN_EXCLUSIVE:
-                return SchemaType.FACET_MIN_INCLUSIVE;
-            case SchemaType.FACET_MIN_INCLUSIVE:
-                return SchemaType.FACET_MIN_EXCLUSIVE;
-            case SchemaType.FACET_MAX_INCLUSIVE:
-                return SchemaType.FACET_MAX_EXCLUSIVE;
-            case SchemaType.FACET_MAX_EXCLUSIVE:
-                return SchemaType.FACET_MAX_INCLUSIVE;
-            default:
-                assert(false);
-                throw new IllegalStateException();
-        }
-    }
-
-    static void resolveFacets(SchemaTypeImpl sImpl, XmlObject restriction, SchemaTypeImpl baseImpl)
-    {
-        StscState state = StscState.get();
-
-        boolean[] seenFacet = new boolean[SchemaType.LAST_FACET + 1];
-        XmlAnySimpleType[] myFacets = baseImpl.getBasicFacets(); // makes a copy
-        boolean[] fixedFacets = baseImpl.getFixedFacets();
-        int wsr = SchemaType.WS_UNSPECIFIED;
-        List enumeratedValues = null;
-        List patterns = null;
-
-        if (restriction != null)
-        {
-            XmlCursor cur = restriction.newCursor();
-            for (boolean more = cur.toFirstChild(); more; more = cur.toNextSibling())
-            {
-                int code = translateFacetCode(cur.getName());
-                if (code == -1)
-                    continue;
-
-                Facet facet = (Facet)cur.getObject();
-
-                if (!facetAppliesToType(code, baseImpl))
-                {
-                    state.error("The facet " + facet.newCursor().getName().getLocalPart() + " does not apply to the base type " + baseImpl, XmlErrorContext.FACET_DOES_NOT_APPLY, facet);
-                    continue;
-                }
-                if (seenFacet[code] && !isMultipleFacet(code))
-                {
-                    state.error("Facet specified multiple times", XmlErrorContext.FACET_DUPLICATED, facet);
-                    continue;
-                }
-                seenFacet[code] = true;
-
-                switch (code)
-                {
-                    case SchemaType.FACET_LENGTH:
-                        if (myFacets[SchemaType.FACET_MIN_LENGTH] != null ||
-                            myFacets[SchemaType.FACET_MAX_LENGTH] != null)
-                        {
-                            state.error("Cannot specify length in addition to minLength or maxLength", XmlErrorContext.FACET_DUPLICATED, facet);
-                            continue;
-                        }
-                        XmlInteger len = StscTranslator.buildNnInteger(facet.getValue());
-                        if (len == null)
-                        {
-                            state.error("Must be a nonnegative integer", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            continue;
-                        }
-                        if (fixedFacets[code] && !myFacets[code].valueEquals(len))
-                        {
-                            state.error("This facet is fixed and cannot be overridden", XmlErrorContext.FACET_FIXED, facet);
-                            continue;
-                        }
-                        myFacets[code] = len;
-                        break;
-
-                    case SchemaType.FACET_MIN_LENGTH:
-                    case SchemaType.FACET_MAX_LENGTH:
-                        if (myFacets[SchemaType.FACET_LENGTH] != null)
-                        {
-                            state.error("Cannot specify minLength or maxLength in addition to length", XmlErrorContext.FACET_DUPLICATED, facet);
-                            continue;
-                        }
-                        XmlInteger mlen = StscTranslator.buildNnInteger(facet.getValue());
-                        if (mlen == null)
-                        {
-                            state.error("Must be a nonnegative integer", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            continue;
-                        }
-                        if (fixedFacets[code] && !myFacets[code].valueEquals(mlen))
-                        {
-                            state.error("This facet is fixed and cannot be overridden", XmlErrorContext.FACET_FIXED, facet);
-                            continue;
-                        }
-                        if (myFacets[SchemaType.FACET_MAX_LENGTH] != null)
-                        {
-                            if (mlen.compareValue(myFacets[SchemaType.FACET_MAX_LENGTH]) > 0)
-                            {
-                                state.error("Larger than prior maxLength", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                                continue;
-                            }
-                        }
-                        if (myFacets[SchemaType.FACET_MIN_LENGTH] != null)
-                        {
-                            if (mlen.compareValue(myFacets[SchemaType.FACET_MIN_LENGTH]) < 0)
-                            {
-                                state.error("Smaller than prior minLength", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                                continue;
-                            }
-                        }
-                        myFacets[code] = mlen;
-                        break;
-
-                    case SchemaType.FACET_TOTAL_DIGITS:
-                    case SchemaType.FACET_FRACTION_DIGITS:
-                        boolean istotaldig = (code == SchemaType.FACET_TOTAL_DIGITS);
-                        XmlInteger dig = StscTranslator.buildNnInteger(facet.getValue());
-                        if (dig == null)
-                        {
-                            state.error("Must be a nonnegative integer", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            break;
-                        }
-                        if (fixedFacets[code] && !myFacets[code].valueEquals(dig))
-                        {
-                            state.error("This facet is fixed and cannot be overridden", XmlErrorContext.FACET_FIXED, facet);
-                            continue;
-                        }
-                        if (myFacets[SchemaType.FACET_TOTAL_DIGITS] != null)
-                        {
-                            if (dig.compareValue(myFacets[SchemaType.FACET_TOTAL_DIGITS]) > 0)
-                                state.error("Larger than prior totalDigits", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                        }
-                        if (!istotaldig && myFacets[SchemaType.FACET_FRACTION_DIGITS] != null)
-                        {
-                            if (dig.compareValue(myFacets[SchemaType.FACET_FRACTION_DIGITS]) > 0)
-                                state.error("Larger than prior fractionDigits", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                        }
-                        myFacets[code] = dig;
-                        break;
-
-                    case SchemaType.FACET_MIN_EXCLUSIVE:
-                    case SchemaType.FACET_MIN_INCLUSIVE:
-                    case SchemaType.FACET_MAX_INCLUSIVE:
-                    case SchemaType.FACET_MAX_EXCLUSIVE:
-
-                        if (seenFacet[other_similar_limit(code)])
-                        {
-                            state.error("Cannot define both inclusive and exclusive limit in the same restriciton", XmlErrorContext.FACET_DUPLICATED, facet);
-                            continue;
-                        }
-                        boolean ismin = (code == SchemaType.FACET_MIN_EXCLUSIVE || code == SchemaType.FACET_MIN_INCLUSIVE);
-                        boolean isexclusive = (code == SchemaType.FACET_MIN_EXCLUSIVE || code == SchemaType.FACET_MAX_EXCLUSIVE);
-
-                        XmlAnySimpleType limit;
-                        try
-                        {
-                            limit = baseImpl.newValue(facet.getValue());
-                        }
-                        catch (XmlValueOutOfRangeException e)
-                        {
-                            // note: this guarantees that the limit is a valid number in the
-                            // base data type!!
-                            state.error("Must be valid value in base type", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-
-                            // BUGBUG: if there are actual schemas that redefine min/maxExclusive,
-                            // they will need this rule relaxed for them!!
-                            continue;
-                        }
-                        if (fixedFacets[code] && !myFacets[code].valueEquals(limit))
-                        {
-                            state.error("This facet is fixed and cannot be overridden", XmlErrorContext.FACET_FIXED, facet);
-                            continue;
-                        }
-                        if (myFacets[code] != null)
-                        {
-                            int comparison = limit.compareValue(myFacets[code]);
-                            if (comparison == 2 || comparison == (ismin ? -1 : 1))
-                            {
-                                state.error(ismin ?
-                                        (isexclusive ?
-                                            "Must be greater than or equal to previous minExclusive" :
-                                            "Must be greater than or equal to previous minInclusive") :
-                                        (isexclusive ?
-                                            "Must be less than or equal to previous maxExclusive" :
-                                            "Must be less than or equal to previous maxInclusive"),
-                                        XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                                continue;
-                            }
-                        }
-                        myFacets[code] = limit;
-                        myFacets[other_similar_limit(code)] = null;
-                        break;
-
-                    case SchemaType.FACET_WHITE_SPACE:
-                        wsr = translateWhitespaceCode(facet.getValue());
-                        if (baseImpl.getWhiteSpaceRule() > wsr)
-                        {
-                            wsr = SchemaType.WS_UNSPECIFIED;
-                            state.error("Cannot apply this whitespace facet over the previous one", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            continue;
-                        }
-                        myFacets[code] = StscState.build_wsstring(wsr).get();
-                        break;
-
-                    case SchemaType.FACET_ENUMERATION:
-                        XmlObject enumval;
-                        try
-                        {
-                            enumval = baseImpl.newValue(facet.getValue());
-                            // enumval.set(facet.getValue());
-                            // ((XmlObjectBase)enumval).setImmutable();
-                        }
-                        catch (XmlValueOutOfRangeException e)
-                        {
-                            state.error("Enumerated value invalid in base type", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            continue;
-                        }
-                        if (enumeratedValues == null)
-                            enumeratedValues = new ArrayList();
-                        enumeratedValues.add(enumval);
-                        break;
-
-                    case SchemaType.FACET_PATTERN:
-                        org.apache.xmlbeans.impl.regex.RegularExpression p;
-                        try { p = new org.apache.xmlbeans.impl.regex.RegularExpression(facet.getValue().getStringValue(), "X"); }
-                        catch (org.apache.xmlbeans.impl.regex.ParseException e)
-                        {
-                            state.error("Malformed regular expression", XmlErrorContext.FACET_VALUE_MALFORMED, facet);
-                            continue;
-                        }
-                        if (patterns == null)
-                            patterns = new ArrayList();
-                        patterns.add(p);
-                        break;
-                }
-
-                if (facet.getFixed())
-                    fixedFacets[code] = true;
-            }
-        }
-
-        // Store the array of basic facets
-
-        sImpl.setBasicFacets(makeValueRefArray(myFacets), fixedFacets);
-
-        // Update the numeric whitespace rule
-        if (wsr == SchemaType.WS_UNSPECIFIED)
-            wsr = baseImpl.getWhiteSpaceRule();
-        sImpl.setWhiteSpaceRule(wsr);
-
-        // store away the enumerated values
-        if (enumeratedValues != null)
-        {
-            sImpl.setEnumerationValues(makeValueRefArray((XmlAnySimpleType[])
-                enumeratedValues.toArray(new XmlAnySimpleType[enumeratedValues.size()])));
-
-            SchemaType beType = sImpl;
-            if (sImpl.getBaseType().getBaseEnumType() != null)
-                beType = sImpl.getBaseType().getBaseEnumType();
-            sImpl.setBaseEnumTypeRef(beType.getRef());
-        }
-        else
-        {
-            sImpl.copyEnumerationValues(baseImpl);
-        }
-
-        // store the pattern list
-        org.apache.xmlbeans.impl.regex.RegularExpression[] patternArray;
-        if (patterns != null)
-            patternArray = (org.apache.xmlbeans.impl.regex.RegularExpression[])patterns.toArray(EMPTY_REGEX_ARRAY);
-        else
-            patternArray = EMPTY_REGEX_ARRAY;
-        sImpl.setPatternFacet((patternArray.length > 0 || baseImpl.hasPatternFacet()));
-        sImpl.setPatterns(patternArray);
-    }
-
-    private static XmlValueRef[] makeValueRefArray(XmlAnySimpleType[] source)
-    {
-        XmlValueRef[] result = new XmlValueRef[source.length];
-        for (int i = 0; i < result.length; i++)
-            result[i] = (source[i] == null ? null : new XmlValueRef(source[i]));
-        return result;
-    }
-
-    private static final org.apache.xmlbeans.impl.regex.RegularExpression[] EMPTY_REGEX_ARRAY = new org.apache.xmlbeans.impl.regex.RegularExpression[0];
-
-    private static boolean isDiscreteType(SchemaTypeImpl sImpl)
-    {
-        if (sImpl.getFacet(SchemaType.FACET_FRACTION_DIGITS) != null)
-            return true;
-        // BUGBUG: spec is silent on enumerations; they're finite too.
-        switch (sImpl.getPrimitiveType().getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-            case SchemaType.BTC_BOOLEAN:
-                return true;
-        }
-        return false;
-    }
-
-    private static boolean isNumericPrimitive(SchemaType sImpl)
-    {
-        switch (sImpl.getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_DECIMAL:
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-                return true;
-        }
-        return false;
-    }
-
-    private static int decimalSizeOfType(SchemaTypeImpl sImpl)
-    {
-        int size = mathematicalSizeOfType(sImpl);
-        
-        // byte and short are inconvenient, because setByte((byte)4) requires a cast.
-        // So use "int" unless you're really a xs:byte, xs:short, or an xs:unsignedByte
-        // (the last case is included for alignment with JAXB)
-        
-        if (size == SchemaType.SIZE_BYTE && !XmlByte.type.isAssignableFrom(sImpl))
-            size = SchemaType.SIZE_SHORT;
-        if (size == SchemaType.SIZE_SHORT && !XmlShort.type.isAssignableFrom(sImpl) && !XmlUnsignedByte.type.isAssignableFrom(sImpl))
-            size = SchemaType.SIZE_INT;
-        
-        return size;
-    }
-    
-    private static int mathematicalSizeOfType(SchemaTypeImpl sImpl)
-    {
-        if (sImpl.getPrimitiveType().getBuiltinTypeCode() != SchemaType.BTC_DECIMAL)
-            return SchemaType.NOT_DECIMAL;
-
-        if (sImpl.getFacet(SchemaType.FACET_FRACTION_DIGITS) == null ||
-            ((SimpleValue)sImpl.getFacet(SchemaType.FACET_FRACTION_DIGITS)).getBigIntegerValue().signum() != 0)
-            return SchemaType.SIZE_BIG_DECIMAL;
-
-        BigInteger min = null;
-        BigInteger max = null;
-
-        if (sImpl.getFacet(SchemaType.FACET_MIN_EXCLUSIVE) != null)
-            min = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)).getBigIntegerValue(); // .add(BigInteger.ONE);
-        if (sImpl.getFacet(SchemaType.FACET_MIN_INCLUSIVE) != null)
-            min = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MIN_INCLUSIVE)).getBigIntegerValue();
-        if (sImpl.getFacet(SchemaType.FACET_MAX_INCLUSIVE) != null)
-            max = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MAX_INCLUSIVE)).getBigIntegerValue();
-        if (sImpl.getFacet(SchemaType.FACET_MAX_EXCLUSIVE) != null)
-            max = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)).getBigIntegerValue(); // .subtract(BigInteger.ONE);
-
-        if (sImpl.getFacet(SchemaType.FACET_TOTAL_DIGITS) != null)
-        {
-            BigInteger peg = null;
-            try
-            {
-                BigInteger totalDigits = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_TOTAL_DIGITS)).getBigIntegerValue();
-
-                switch (totalDigits.intValue())
-                {
-                    case 0: case 1: case 2:
-                         peg = BigInteger.valueOf(99L); // BYTE size
-                         break;
-                    case 3: case 4:
-                         peg = BigInteger.valueOf(9999L); // SHORT size
-                         break;
-                    case 5: case 6: case 7: case 8: case 9:
-                         peg = BigInteger.valueOf(999999999L); // INT size
-                         break;
-                    case 10: case 11: case 12: case 13: case 14:
-                    case 15: case 16: case 17: case 18:
-                         peg = BigInteger.valueOf(999999999999999999L); // LONG size
-                         break;
-                }
-            }
-            catch (XmlValueOutOfRangeException e) {}
-            if (peg != null)
-            {
-                min = (min == null ? peg.negate() : min.max(peg.negate()));
-                max = (max == null ? peg : max.min(peg));
-            }
-        }
-
-        if (min != null && max != null)
-        {
-            // find the largest "absolute value" number that must be dealt with
-            if (min.signum() < 0)
-                min = min.negate().subtract(BigInteger.ONE);
-            if (max.signum() < 0)
-                max = max.negate().subtract(BigInteger.ONE);
-
-            max = max.max(min);
-            if (max.compareTo(BigInteger.valueOf(Byte.MAX_VALUE)) <= 0)
-                return SchemaType.SIZE_BYTE;
-            if (max.compareTo(BigInteger.valueOf(Short.MAX_VALUE)) <= 0)
-                return SchemaType.SIZE_SHORT;
-            if (max.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) <= 0)
-                return SchemaType.SIZE_INT;
-            if (max.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) <= 0)
-                return SchemaType.SIZE_LONG;
-        }
-
-        return SchemaType.SIZE_BIG_INTEGER;
-    }
-
-
-    static void resolveFundamentalFacets(SchemaTypeImpl sImpl)
-    {
-        // deal with, isOrdered, isBounded, isFinite, isNumeric
-        // also deal with
-        switch (sImpl.getSimpleVariety())
-        {
-            case SchemaType.ATOMIC:
-                SchemaTypeImpl baseImpl = (SchemaTypeImpl)sImpl.getBaseType();
-                sImpl.setOrdered(baseImpl.ordered());
-                sImpl.setBounded(
-                    (sImpl.getFacet(SchemaType.FACET_MIN_EXCLUSIVE) != null ||
-                     sImpl.getFacet(SchemaType.FACET_MIN_INCLUSIVE) != null) &&
-                    (sImpl.getFacet(SchemaType.FACET_MAX_INCLUSIVE) != null ||
-                     sImpl.getFacet(SchemaType.FACET_MAX_EXCLUSIVE) != null));
-                sImpl.setFinite(baseImpl.isFinite() ||
-                                sImpl.isBounded() && isDiscreteType(sImpl));
-                sImpl.setNumeric(baseImpl.isNumeric() ||
-                                isNumericPrimitive(sImpl.getPrimitiveType()));
-                sImpl.setDecimalSize(decimalSizeOfType(sImpl));
-                break;
-            case SchemaType.UNION:
-                SchemaType[] mTypes = sImpl.getUnionMemberTypes();
-                int ordered = SchemaType.UNORDERED;
-                boolean isBounded = true;
-                boolean isFinite = true;
-                boolean isNumeric = true;
-                // ordered if any is ordered, bounded if all are bounded.
-                for (int i = 0; i < mTypes.length; i++)
-                {
-                    if (mTypes[i].ordered() != SchemaType.UNORDERED)
-                        ordered = SchemaType.PARTIAL_ORDER;
-                    if (!mTypes[i].isBounded())
-                        isBounded = false;
-                    if (!mTypes[i].isFinite())
-                        isFinite = false;
-                    if (!mTypes[i].isNumeric())
-                        isNumeric = false;
-                }
-                sImpl.setOrdered(ordered);
-                sImpl.setBounded(isBounded);
-                sImpl.setFinite(isFinite);
-                sImpl.setNumeric(isNumeric);
-                sImpl.setDecimalSize(SchemaType.NOT_DECIMAL);
-                break;
-            case SchemaType.LIST:
-                sImpl.setOrdered(SchemaType.UNORDERED);
-                // BUGBUG: the schema spec is wrong here: MIN_LENGTH is not needed, beause len >=0
-                sImpl.setBounded(sImpl.getFacet(SchemaType.FACET_LENGTH) != null ||
-                    sImpl.getFacet(SchemaType.FACET_MAX_LENGTH) != null);
-                // BUGBUG: the schema spec is wrong here: finite cardinality requires item type is finite
-                sImpl.setFinite(sImpl.getListItemType().isFinite() && sImpl.isBounded());
-                sImpl.setNumeric(false);
-                sImpl.setDecimalSize(SchemaType.NOT_DECIMAL);
-                break;
-        }
-    }
-
-    private static class CodeForNameEntry
-    {
-        CodeForNameEntry(QName name, int code)
-            { this.name = name; this.code = code; }
-        public QName name;
-        public int code;
-    }
-
-    private static CodeForNameEntry[] facetCodes = new CodeForNameEntry[]
-    {
-        new CodeForNameEntry(QNameHelper.forLNS("length", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_LENGTH),
-        new CodeForNameEntry(QNameHelper.forLNS("minLength", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MIN_LENGTH),
-        new CodeForNameEntry(QNameHelper.forLNS("maxLength", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MAX_LENGTH),
-        new CodeForNameEntry(QNameHelper.forLNS("pattern", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_PATTERN),
-        new CodeForNameEntry(QNameHelper.forLNS("enumeration", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_ENUMERATION),
-        new CodeForNameEntry(QNameHelper.forLNS("whiteSpace", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_WHITE_SPACE),
-        new CodeForNameEntry(QNameHelper.forLNS("maxInclusive", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MAX_INCLUSIVE),
-        new CodeForNameEntry(QNameHelper.forLNS("maxExclusive", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MAX_EXCLUSIVE),
-        new CodeForNameEntry(QNameHelper.forLNS("minInclusive", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MIN_INCLUSIVE),
-        new CodeForNameEntry(QNameHelper.forLNS("minExclusive", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_MIN_EXCLUSIVE),
-        new CodeForNameEntry(QNameHelper.forLNS("totalDigits", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_TOTAL_DIGITS),
-        new CodeForNameEntry(QNameHelper.forLNS("fractionDigits", "http://www.w3.org/2001/XMLSchema"), SchemaType.FACET_FRACTION_DIGITS),
-    };
-
-    private static final Map facetCodeMap = buildFacetCodeMap();
-
-    private static Map buildFacetCodeMap()
-    {
-        Map result = new HashMap();
-        for (int i = 0; i < facetCodes.length; i++)
-            result.put(facetCodes[i].name,  new Integer(facetCodes[i].code));
-        return result;
-    }
-
-    private static int translateFacetCode(QName name)
-    {
-        Integer result = ((Integer)facetCodeMap.get(name));
-        if (result == null)
-            return -1;
-        return result.intValue();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscState.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscState.java
deleted file mode 100644
index da9483b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscState.java
+++ /dev/null
@@ -1,1130 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.ResolverUtil;
-import org.apache.xmlbeans.impl.config.SchemaConfig;
-import org.apache.xmlbeans.impl.config.ExtensionHolder;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaComponent;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.SchemaAttributeGroup;
-import org.apache.xmlbeans.SchemaModelGroup;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.values.XmlStringImpl;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.util.HexBin;
-
-import java.util.*;
-import java.net.URISyntaxException;
-import java.net.URI;
-import java.io.File;
-
-
-import javax.xml.namespace.QName;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.xml.sax.EntityResolver;
-
-/**
- * This class represents the state of the SchemaTypeSystemCompiler as it's
- * going.
- */
-public class StscState
-{
-    private String _givenStsName;
-    private Collection _errorListener;
-    private SchemaTypeSystemImpl _target;
-    private SchemaConfig _config;
-    private Map _compatMap;
-    private boolean _doingDownloads;
-    private byte[] _digest = null;
-    private boolean _noDigest = false;
-
-    private SchemaTypeLoader _importingLoader;
-
-    private Map _redefinedGlobalTypes        = new LinkedHashMap();
-    private Map _redefinedModelGroups        = new LinkedHashMap();
-    private Map _redefinedAttributeGroups    = new LinkedHashMap();
-        
-    private Map _globalTypes        = new LinkedHashMap();
-    private Map _globalElements     = new LinkedHashMap();
-    private Map _globalAttributes   = new LinkedHashMap();
-    private Map _modelGroups        = new LinkedHashMap();
-    private Map _attributeGroups    = new LinkedHashMap();
-    private Map _documentTypes      = new LinkedHashMap();
-    private Map _attributeTypes     = new LinkedHashMap();
-    private Map _typesByClassname   = new LinkedHashMap();
-    private Map _misspelledNames    = new HashMap();
-    private Set _processingGroups   = new HashSet();
-    private Map _idConstraints      = new LinkedHashMap();
-    private Set _namespaces         = new HashSet();
-    private List _annotations       = new ArrayList();
-    private boolean _noUpa;
-    private boolean _noPvr;
-    private boolean _noAnn;
-    private Set _mdefNamespaces     = buildDefaultMdefNamespaces();
-    private EntityResolver _entityResolver;
-    private File _schemasDir;
-
-    private static Set buildDefaultMdefNamespaces()
-    {
-        // namespaces which are known to appear in WSDLs redundantly
-        return new HashSet(
-                Arrays.asList( new String[] {
-                    "http://www.openuri.org/2002/04/soap/conversation/",
-                }));
-    }
-
-    /**
-     * Used to store the new target namespace for a chameleon
-     * included schema.
-     */
-    public static final Object CHAMELEON_INCLUDE_URI = new Object();
-
-    /**
-     * Only constructed via StscState.start().
-     */
-    private StscState()
-    {
-    }
-
-    /**
-     * Initializer for schematypepath
-     */
-    public void setImportingTypeLoader(SchemaTypeLoader loader)
-    {
-        _importingLoader = loader;
-    }
-
-    /**
-     * Initializer for error handling.
-     */
-    public void setErrorListener(Collection errorListener)
-        { _errorListener = errorListener; }
-
-    /**
-     * Passes an error on to the current XmlErrorContext.
-     */
-    public void error(String message, int code, XmlObject loc)
-        { addError(_errorListener, message, code, loc); }
-
-    /**
-     * Passes a warning on to the current XmlErrorContext.
-     */
-    public void warning(String message, int code, XmlObject loc)
-    {
-        // it's OK for XMLSchema.xsd itself to have reserved type names
-        if (code == XmlErrorContext.RESERVED_TYPE_NAME &&
-                loc.documentProperties().getSourceName() != null &&
-                loc.documentProperties().getSourceName().indexOf("XMLSchema.xsd") > 0)
-            return;
-
-        addWarning(_errorListener, message, code, loc);
-    }
-
-    /**
-     * Passes a warning on to the current XmlErrorContext.
-     */
-    public void info(String message)
-        { addInfo(_errorListener, message); }
-
-    public static void addError(Collection errorListener, String message, int code, XmlObject location)
-    {
-        XmlError err =
-            XmlError.forObject(
-              message,
-              XmlError.SEVERITY_ERROR,
-              location);
-        errorListener.add(err);
-    }
-
-    public static void addError(Collection errorListener, String message, int code, File location)
-    {
-        XmlError err =
-            XmlError.forLocation(
-              message,
-              XmlError.SEVERITY_ERROR,
-              location.toURI().toString(), 0, 0, 0);
-        errorListener.add(err);
-    }
-
-    public static void addWarning(Collection errorListener, String message, int code, XmlObject location)
-    {
-        XmlError err =
-            XmlError.forObject(
-              message,
-              XmlError.SEVERITY_WARNING,
-              location);
-        errorListener.add(err);
-    }
-
-    public static void addInfo(Collection errorListener, String message)
-    {
-        XmlError err = XmlError.forMessage(message, XmlError.SEVERITY_INFO);
-        errorListener.add(err);
-    }
-    
-    public void setGivenTypeSystemName(String name)
-        { _givenStsName = name; }
-
-    /**
-     * Initializer for references to the SchemaTypeLoader
-     */
-    public void setTargetSchemaTypeSystem(SchemaTypeSystemImpl target)
-        { _target = target; }
-    
-    /**
-     * Accumulates a schema digest...
-     */
-    public void addSchemaDigest(byte[] digest)
-    {
-        if (_noDigest)
-            return;
-        
-        if (digest == null)
-        {
-            _noDigest = true;
-            _digest = null;
-            return;
-        }
-        
-        if (_digest == null)
-            _digest = new byte[128/8]; // 128 bits.
-        int len = _digest.length;
-        if (digest.length < len)
-            len = digest.length;
-        for (int i = 0; i < len; i++)
-            _digest[i] ^= digest[i];
-    }
-    
-    /**
-     * The SchemaTypeSystem which we're building types on behalf of.
-     */
-    public SchemaTypeSystemImpl sts()
-    {
-        if (_target != null)
-            return _target;
-        
-        String name = _givenStsName;
-        if (name == null && _digest != null)
-            name = "s" + new String(HexBin.encode(_digest));
-        
-        _target = new SchemaTypeSystemImpl(name);
-        return _target;
-    }
-
-    /**
-     * True if the given URI is a local file
-     */
-    public boolean shouldDownloadURI(String uriString)
-    {
-        if (_doingDownloads)
-            return true;
-
-        if (uriString == null)
-            return false;
-
-        try
-        {
-            URI uri = new URI(uriString);
-            return uri.getScheme().equalsIgnoreCase("file");
-        }
-        catch (Exception e)
-        {
-            return false;
-        }
-    }
-
-    /**
-     * Initializer for compatMap.
-     */
-    public void setOptions(XmlOptions options)
-    {
-        if (options == null)
-        {
-            return; // defaults are all false. 
-        }
-        
-        _compatMap = (Map)options.get(XmlOptions.COMPILE_SUBSTITUTE_NAMES);
-        _noUpa = options.hasOption(XmlOptions.COMPILE_NO_UPA_RULE) ? true :
-                !"true".equals(System.getProperty("xmlbean.uniqueparticleattribution", "true"));
-        _noPvr = options.hasOption(XmlOptions.COMPILE_NO_PVR_RULE) ? true :
-                !"true".equals(System.getProperty("xmlbean.particlerestriction", "true"));
-        _noAnn = options.hasOption(XmlOptions.COMPILE_NO_ANNOTATIONS) ? true :
-            !"true".equals(System.getProperty("xmlbean.schemaannotations", "true"));
-        _doingDownloads = options.hasOption(XmlOptions.COMPILE_DOWNLOAD_URLS) ? true :
-                "true".equals(System.getProperty("xmlbean.downloadurls", "false"));
-        _entityResolver = (EntityResolver)options.get(XmlOptions.ENTITY_RESOLVER);
-
-        if (_entityResolver == null)
-            _entityResolver = ResolverUtil.getGlobalEntityResolver();
-
-        if (_entityResolver != null)
-            _doingDownloads = true;
-        
-        if (options.hasOption(XmlOptions.COMPILE_MDEF_NAMESPACES))
-            _mdefNamespaces.addAll((Collection)options.get(XmlOptions.COMPILE_MDEF_NAMESPACES));
-    }
-    
-    /**
-     * May return null if there is no custom entity resolver.
-     */ 
-    public EntityResolver getEntityResolver()
-    {
-        return _entityResolver;
-    }
-    
-    /**
-     * True if no unique particle attribution option is set
-     */
-    public boolean noUpa()
-    {
-        return _noUpa;
-    }
-    
-    /**
-     * True if no particle valid (restriciton) option is set
-     */
-    public boolean noPvr()
-    {
-        return _noPvr;
-    }
-
-    /**
-     * True if annotations should be skipped
-     */
-    public boolean noAnn()
-    {
-        return _noAnn;
-    }
-
-    /**
-     * Intercepts XML names and translates them
-     * through the compat map, if any.
-     *
-     * Also looks for a default namespace for global definitions.
-     */
-    private QName compatName(QName name, String chameleonNamespace)
-    {
-        // first check for a chameleonNamespace namespace
-        if (name.getNamespaceURI().length() == 0 && chameleonNamespace != null && chameleonNamespace.length() > 0)
-            name = new QName(chameleonNamespace, name.getLocalPart());
-
-        if (_compatMap == null)
-            return name;
-
-        QName subst = (QName)_compatMap.get(name);
-        if (subst == null)
-            return name;
-        return subst;
-    }
-
-    /**
-     * Initializer for the schema config object.
-     */
-    public void setSchemaConfig(SchemaConfig config)
-        throws IllegalArgumentException
-    {
-        _config = config;
-    }
-
-    /**
-     * Looks up package override for a namespace URI
-     */
-    public String getPackageOverride(String namespace)
-    {
-        return _config.lookupPackageForNamespace(namespace);
-    }
-
-    /**
-     * Looks up package override for a namespace URI
-     */
-    public String getJavaPrefix(String namespace)
-    {
-        return _config.lookupPrefixForNamespace(namespace);
-    }
-
-    /**
-     * Looks up package override for a namespace URI
-     */
-    public String getJavaSuffix(String namespace)
-    {
-        return _config.lookupSuffixForNamespace(namespace);
-    }
-
-    /**
-     * Looks up configured java name for the given qname.
-     */
-    public String getJavaname(QName qname)
-    {
-        return _config.lookupJavanameForQName(qname);
-    }
-
-    /**
-     * Gets configured extension set, null if javaName is not contained in any extension.
-     */
-    public ExtensionHolder getExtensionHolder(String javaName)
-    {
-        return _config.extensionHolderFor(javaName);
-    }
-
-    /**
-     * Gets configured extension set.
-     */
-    public ExtensionHolder getExtensionHolder()
-    {
-        return _config.getExtensionHolder();
-    }
-
-    /* SPELLINGS ======================================================*/
-
-    private static String crunchName(QName name)
-    {
-        // lowercase, and drop namespace.
-        return name.getLocalPart().toLowerCase();
-    }
-
-    void addSpelling(QName name, SchemaComponent comp)
-    {
-        _misspelledNames.put(crunchName(name), comp);
-    }
-
-    SchemaComponent findSpelling(QName name)
-    {
-        return (SchemaComponent)_misspelledNames.get(crunchName(name));
-    }
-
-    /* NAMESPACES ======================================================*/
-
-    void addNamespace(String targetNamespace)
-    {
-        _namespaces.add(targetNamespace);
-    }
-
-    String[] getNamespaces()
-    {
-        return (String[])_namespaces.toArray(new String[_namespaces.size()]);
-    }
-
-    boolean linkerDefinesNamespace(String namespace)
-    {
-        return _importingLoader.isNamespaceDefined(namespace);
-    }
-
-    /* TYPES ==========================================================*/
-
-    SchemaTypeImpl findGlobalType(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaTypeImpl result = (SchemaTypeImpl)_globalTypes.get(name);
-        if (result == null)
-            result = (SchemaTypeImpl)_importingLoader.findType(name);
-        return result;
-    }
-    
-    SchemaTypeImpl findRedefinedGlobalType(QName name, String chameleonNamespace, SchemaTypeImpl redefinedBy)
-    {
-        QName redefinedName = redefinedBy.getName();
-        name = compatName(name, chameleonNamespace);
-        if (name.equals(redefinedName))
-        {
-            return (SchemaTypeImpl)_redefinedGlobalTypes.get(redefinedBy);
-            // BUGBUG: should also link against _importingLoader.findRedefinedType
-        }
-        SchemaTypeImpl result = (SchemaTypeImpl)_globalTypes.get(name);
-        if (result == null)
-            result = (SchemaTypeImpl)_importingLoader.findType(name);
-        return result;
-    }
-
-    void addGlobalType(SchemaTypeImpl type, SchemaTypeImpl redefined)
-    {
-        if (type != null)
-        {
-            QName name = type.getName();
-            
-            if (redefined != null)
-            {
-                if (_redefinedGlobalTypes.containsKey(redefined))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate global type: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                    _redefinedGlobalTypes.put(redefined, type);
-            }
-            else
-            {
-                if (_globalTypes.containsKey(name))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate global type: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                {
-                    _globalTypes.put(name, type);
-                    addSpelling(name, type);
-                }
-            }
-        }
-    }
-
-    private boolean ignoreMdef(QName name)
-    {
-        return _mdefNamespaces.contains(name.getNamespaceURI());
-    }
-
-    SchemaType[] globalTypes()
-        { return (SchemaType[])_globalTypes.values().toArray(new SchemaType[_globalTypes.size()]); }
-
-    SchemaType[] redefinedGlobalTypes()
-        { return (SchemaType[])_redefinedGlobalTypes.values().toArray(new SchemaType[_redefinedGlobalTypes.size()]); }
-    
-    /* DOCUMENT TYPES =================================================*/
-
-    SchemaTypeImpl findDocumentType(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaTypeImpl result = (SchemaTypeImpl)_documentTypes.get(name);
-        if (result == null)
-            result = (SchemaTypeImpl)_importingLoader.findDocumentType(name);
-        return result;
-    }
-
-    void addDocumentType(SchemaTypeImpl type, QName name)
-    {
-        if (_documentTypes.containsKey(name))
-        {
-            if (!ignoreMdef(name))
-                error("Duplicate global element: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_ELEMENT, null);
-        }
-        else
-            _documentTypes.put(name, type);
-    }
-
-    SchemaType[] documentTypes()
-        { return (SchemaType[])_documentTypes.values().toArray(new SchemaType[_documentTypes.size()]); }
-
-    /* ATTRIBUTE TYPES =================================================*/
-
-    SchemaTypeImpl findAttributeType(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaTypeImpl result = (SchemaTypeImpl)_attributeTypes.get(name);
-        if (result == null)
-            result = (SchemaTypeImpl)_importingLoader.findAttributeType(name);
-        return result;
-    }
-
-    void addAttributeType(SchemaTypeImpl type, QName name)
-    {
-        if (_attributeTypes.containsKey(name))
-        {
-            if (!ignoreMdef(name))
-                error("Duplicate global attribute: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_ATTRIBUTE, null);
-        }
-        else
-            _attributeTypes.put(name, type);
-    }
-
-    SchemaType[] attributeTypes()
-        { return (SchemaType[])_attributeTypes.values().toArray(new SchemaType[_attributeTypes.size()]); }
-
-    /* ATTRIBUTES =====================================================*/
-
-    SchemaGlobalAttributeImpl findGlobalAttribute(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaGlobalAttributeImpl result = (SchemaGlobalAttributeImpl)_globalAttributes.get(name);
-        if (result == null)
-            result = (SchemaGlobalAttributeImpl)_importingLoader.findAttribute(name);
-        return result;
-    }
-
-    void addGlobalAttribute(SchemaGlobalAttributeImpl attribute)
-    {
-        if (attribute != null)
-        {
-            QName name = attribute.getName();
-            _globalAttributes.put(name, attribute);
-            addSpelling(name, attribute);
-        }
-    }
-
-    SchemaGlobalAttribute[] globalAttributes()
-        { return (SchemaGlobalAttribute[])_globalAttributes.values().toArray(new SchemaGlobalAttribute[_globalAttributes.size()]); }
-
-    /* ELEMENTS =======================================================*/
-
-    SchemaGlobalElementImpl findGlobalElement(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaGlobalElementImpl result = (SchemaGlobalElementImpl)_globalElements.get(name);
-        if (result == null)
-            result = (SchemaGlobalElementImpl)_importingLoader.findElement(name);
-        return result;
-    }
-
-    void addGlobalElement(SchemaGlobalElementImpl element)
-    {
-        if (element != null)
-        {
-            QName name = element.getName();
-            _globalElements.put(name, element);
-            addSpelling(name, element);
-        }
-    }
-
-    SchemaGlobalElement[] globalElements()
-        { return (SchemaGlobalElement[])_globalElements.values().toArray(new SchemaGlobalElement[_globalElements.size()]); }
-
-    /* ATTRIBUTE GROUPS ===============================================*/
-
-    SchemaAttributeGroupImpl findAttributeGroup(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaAttributeGroupImpl result = (SchemaAttributeGroupImpl)_attributeGroups.get(name);
-        if (result == null)
-            result = (SchemaAttributeGroupImpl)_importingLoader.findAttributeGroup(name);
-        return result;
-    }
-
-    SchemaAttributeGroupImpl findRedefinedAttributeGroup(QName name, String chameleonNamespace, SchemaAttributeGroupImpl redefinedBy)
-    {
-        QName redefinitionFor = redefinedBy.getName();
-        name = compatName(name, chameleonNamespace);
-        if (name.equals(redefinitionFor))
-        {
-            return (SchemaAttributeGroupImpl)_redefinedAttributeGroups.get(redefinedBy);
-            // BUGBUG: should also link against _importingLoader.findRedefinedAttributeGroup
-        }
-        SchemaAttributeGroupImpl result = (SchemaAttributeGroupImpl)_attributeGroups.get(name);
-        if (result == null)
-            result = (SchemaAttributeGroupImpl)_importingLoader.findAttributeGroup(name);
-        return result;
-    }
-
-    void addAttributeGroup(SchemaAttributeGroupImpl attributeGroup, SchemaAttributeGroupImpl redefined)
-    {
-        if (attributeGroup != null)
-        {
-            QName name = attributeGroup.getName();
-            if (redefined != null)
-            {
-                if (_redefinedAttributeGroups.containsKey(redefined))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate attribute group: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                    _redefinedAttributeGroups.put(redefined, attributeGroup);
-                
-            }
-            else
-            {
-                if (_attributeGroups.containsKey( name ))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate attribute group: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                {
-                    _attributeGroups.put(attributeGroup.getName(), attributeGroup);
-                    addSpelling(attributeGroup.getName(), attributeGroup);
-                }
-            }
-        }
-    }
-
-    SchemaAttributeGroup[] attributeGroups()
-        { return (SchemaAttributeGroup[])_attributeGroups.values().toArray(new SchemaAttributeGroup[_attributeGroups.size()]); }
-
-    SchemaAttributeGroup[] redefinedAttributeGroups()
-        { return (SchemaAttributeGroup[])_redefinedAttributeGroups.values().toArray(new SchemaAttributeGroup[_redefinedAttributeGroups.size()]); }
-
-    /* MODEL GROUPS ===================================================*/
-
-    SchemaModelGroupImpl findModelGroup(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        SchemaModelGroupImpl result = (SchemaModelGroupImpl)_modelGroups.get(name);
-        if (result == null)
-            result = (SchemaModelGroupImpl)_importingLoader.findModelGroup(name);
-        return result;
-    }
-
-    SchemaModelGroupImpl findRedefinedModelGroup(QName name, String chameleonNamespace, SchemaModelGroupImpl redefinedBy)
-    {
-        QName redefinitionFor = redefinedBy.getName();
-        name = compatName(name, chameleonNamespace);
-        if (name.equals(redefinitionFor))
-        {
-            return (SchemaModelGroupImpl)_redefinedModelGroups.get(redefinedBy);
-            // BUGBUG: should also link against _importingLoader.findRedefinedModelGroup
-        }
-        SchemaModelGroupImpl result = (SchemaModelGroupImpl)_modelGroups.get(name);
-        if (result == null)
-            result = (SchemaModelGroupImpl)_importingLoader.findModelGroup(name);
-        return result;
-    }
-
-    void addModelGroup(SchemaModelGroupImpl modelGroup, SchemaModelGroupImpl redefined)
-    {
-        if (modelGroup != null)
-        {
-            QName name = modelGroup.getName();
-            if (redefined != null)
-            {
-                if (_redefinedModelGroups.containsKey(redefined))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate model group: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                    _redefinedModelGroups.put(redefined, modelGroup);
-            }
-            else
-            {
-                if (_modelGroups.containsKey(name))
-                {
-                    if (!ignoreMdef(name))
-                        error("Duplicate model group: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                }
-                else
-                {
-                    _modelGroups.put(modelGroup.getName(), modelGroup);
-                    addSpelling(modelGroup.getName(), modelGroup);
-                }
-            }
-        }
-    }
-
-    SchemaModelGroup[] modelGroups()
-        { return (SchemaModelGroup[])_modelGroups.values().toArray(new SchemaModelGroup[_modelGroups.size()]); }
-    
-    SchemaModelGroup[] redefinedModelGroups()
-        { return (SchemaModelGroup[])_redefinedModelGroups.values().toArray(new SchemaModelGroup[_redefinedModelGroups.size()]); }
-
-    /* IDENTITY CONSTRAINTS ===========================================*/
-
-    SchemaIdentityConstraintImpl findIdConstraint(QName name, String chameleonNamespace)
-    {
-        name = compatName(name, chameleonNamespace);
-        return (SchemaIdentityConstraintImpl)_idConstraints.get(name);
-    }
-
-    void addIdConstraint(SchemaIdentityConstraintImpl idc)
-    {
-        if (idc != null)
-        {
-            QName name = idc.getName();
-            if (_idConstraints.containsKey(name))
-            {
-                if (!ignoreMdef(name))
-                    warning("Duplicate identity constraint: " + QNameHelper.pretty(name), XmlErrorContext.DUPLICATE_IDENTITY_CONSTRAINT, null);
-            }
-            else
-            {
-                _idConstraints.put(name, idc);
-                addSpelling(idc.getName(), idc);
-            }
-        }
-    }
-
-    SchemaIdentityConstraintImpl[] idConstraints()
-        { return (SchemaIdentityConstraintImpl[])_idConstraints.values().toArray(new SchemaIdentityConstraintImpl[_idConstraints.size()]); }
-
-    /* ANNOTATIONS ===========================================*/
-
-    void addAnnotation(SchemaAnnotationImpl ann)
-    {
-        if (ann != null)
-            _annotations.add(ann);
-    }
-
-    List annotations()
-    { return _annotations; }
-
-    /* RECURSION AVOIDANCE ============================================*/
-    boolean isProcessing(Object obj)
-    {
-        return _processingGroups.contains(obj);
-    }
-
-    void startProcessing(Object obj)
-    {
-        assert(!_processingGroups.contains(obj));
-        _processingGroups.add(obj);
-    }
-
-    void finishProcessing(Object obj)
-    {
-        assert(_processingGroups.contains(obj));
-        _processingGroups.remove(obj);
-    }
-
-    /* JAVAIZATION ====================================================*/
-
-    Map typesByClassname()
-        { return Collections.unmodifiableMap(_typesByClassname); }
-
-    void addClassname(String classname, SchemaType type)
-        { _typesByClassname.put(classname, type); }
-
-
-
-    /**
-     * Stack management if (heaven help us) we ever need to do
-     * nested compilation of schema type system.
-     */
-    private static final class StscStack
-    {
-        StscState current;
-        ArrayList stack = new ArrayList();
-        final StscState push()
-        {
-            stack.add(current);
-            current = new StscState();
-            return current;
-        }
-        final void pop()
-        {
-            current = (StscState)stack.get(stack.size() - 1);
-            stack.remove(stack.size() - 1);
-        }
-    }
-
-    private static ThreadLocal stscStack = new ThreadLocal()
-    {
-        protected Object initialValue() { return new StscStack(); }
-    };
-
-    public static StscState start()
-    {
-        return ((StscStack)stscStack.get()).push();
-    }
-
-    public static StscState get()
-    {
-        return ((StscStack)stscStack.get()).current;
-    }
-
-    public static void end()
-    {
-        ((StscStack)stscStack.get()).pop();
-    }
-
-    private final static XmlValueRef XMLSTR_PRESERVE = buildString("preserve");
-    private final static XmlValueRef XMLSTR_REPLACE = buildString("preserve");
-    private final static XmlValueRef XMLSTR_COLLAPSE = buildString("preserve");
-
-    static final SchemaType[] EMPTY_ST_ARRAY = new SchemaType[0];
-    static final SchemaType.Ref[] EMPTY_STREF_ARRAY = new SchemaType.Ref[0];
-
-    private final static XmlValueRef[] FACETS_NONE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          null, null, null };
-
-    private final static boolean[] FIXED_FACETS_NONE = new boolean[]
-        { false, false, false, false, false, false, false, false, false,
-          false, false, false };
-
-    private final static XmlValueRef[] FACETS_WS_COLLAPSE = new XmlValueRef[]
-        { null, null, null, null, null, null, null, null, null,
-          build_wsstring(SchemaType.WS_COLLAPSE), null, null };
-
-    private final static boolean[] FIXED_FACETS_WS = new boolean[]
-        { false, false, false, false, false, false, false, false, false,
-          true, false, false };
-
-    final static XmlValueRef[] FACETS_UNION = FACETS_NONE;
-    final static boolean[] FIXED_FACETS_UNION = FIXED_FACETS_NONE;
-    final static XmlValueRef[] FACETS_LIST = FACETS_WS_COLLAPSE;
-    final static boolean[] FIXED_FACETS_LIST = FIXED_FACETS_WS;
-
-    static XmlValueRef build_wsstring(int wsr)
-    {
-        switch (wsr)
-        {
-            case SchemaType.WS_PRESERVE:
-                return XMLSTR_PRESERVE;
-            case SchemaType.WS_REPLACE:
-                return XMLSTR_REPLACE;
-            case SchemaType.WS_COLLAPSE:
-                return XMLSTR_COLLAPSE;
-        }
-        return null;
-    }
-
-    static XmlValueRef buildString(String str)
-    {
-        if (str == null)
-            return null;
-
-        try
-        {
-            XmlStringImpl i = new XmlStringImpl();
-            i.set(str);
-            i.setImmutable();
-            return new XmlValueRef(i);
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            return null;
-        }
-    }
-
-    public void notFoundError(QName itemName, int code, XmlObject loc)
-    {
-        String basicMessage;
-
-        switch (code)
-        {
-            case XmlErrorContext.TYPE_NOT_FOUND:
-                basicMessage = "Type " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-            case XmlErrorContext.ELEMENT_REF_NOT_FOUND:
-                basicMessage = "Element " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-            case XmlErrorContext.ATTRIBUTE_REF_NOT_FOUND:
-                basicMessage = "Attribute " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-            case XmlErrorContext.MODEL_GROUP_NOT_FOUND:
-                basicMessage = "Model group " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-            case XmlErrorContext.ATTRIBUTE_GROUP_NOT_FOUND:
-                basicMessage = "Attribute group " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-            case XmlErrorContext.IDC_NOT_FOUND:
-                basicMessage = "Identity constraint '" + QNameHelper.pretty(itemName) + "' not found.";
-                break;
-            default:
-                assert(false);
-                basicMessage = "Definition " + QNameHelper.pretty(itemName) + " not found.";
-                break;
-        }
-
-        String helpfulMessage = "";
-        SchemaComponent foundComponent = findSpelling(itemName);
-        QName name;
-        if (foundComponent != null)
-        {
-            name = foundComponent.getName();
-            if (name != null)
-            {
-                String sourceName = null;
-                switch (foundComponent.getComponentType())
-                {
-                    case SchemaComponent.TYPE:
-                        sourceName = ((SchemaType)foundComponent).getSourceName();
-                        break;
-                    case SchemaComponent.ELEMENT:
-                        sourceName = ((SchemaGlobalElement)foundComponent).getSourceName();
-                        break;
-                    case SchemaComponent.ATTRIBUTE:
-                        sourceName = ((SchemaGlobalAttribute)foundComponent).getSourceName();
-                        break;
-                }
-                String source = "";
-                if (sourceName != null)
-                {
-                    source = " (in " +  sourceName.substring(sourceName.lastIndexOf('/') + 1) + ")";
-                }
-                
-                if (name.equals(itemName))
-                {
-                    switch (foundComponent.getComponentType())
-                    {
-                        case SchemaComponent.TYPE:
-                            helpfulMessage = "  Do you mean to refer to the type with that name" + source + "?";
-                            break;
-                        case SchemaComponent.ELEMENT:
-                            helpfulMessage = "  Do you mean to refer to the element with that name" + source + "?";
-                            break;
-                        case SchemaComponent.ATTRIBUTE:
-                            helpfulMessage = "  Do you mean to refer to the attribute with that name" + source + "?";
-                            break;
-                        case SchemaComponent.ATTRIBUTE_GROUP:
-                            helpfulMessage = "  Do you mean to refer to the attribute group with that name" + source + "?";
-                            break;
-                        case SchemaComponent.MODEL_GROUP:
-                            helpfulMessage = "  Do you mean to refer to the model group with that name" + source + "?";
-                            break;
-                    }
-                }
-                else
-                {
-                    switch (foundComponent.getComponentType())
-                    {
-                        case SchemaComponent.TYPE:
-                            helpfulMessage = "  Do you mean to refer to the type named " + QNameHelper.pretty(name) + source + "?";
-                            break;
-                        case SchemaComponent.ELEMENT:
-                            helpfulMessage = "  Do you mean to refer to the element named " + QNameHelper.pretty(name) + source + "?";
-                            break;
-                        case SchemaComponent.ATTRIBUTE:
-                            helpfulMessage = "  Do you mean to refer to the attribute named " + QNameHelper.pretty(name) + source + "?";
-                            break;
-                        case SchemaComponent.ATTRIBUTE_GROUP:
-                            helpfulMessage = "  Do you mean to refer to the attribute group named " + QNameHelper.pretty(name) + source + "?";
-                            break;
-                        case SchemaComponent.MODEL_GROUP:
-                            helpfulMessage = "  Do you mean to refer to the model group named " + QNameHelper.pretty(name) + source + "?";
-                            break;
-                    }
-                }
-            }
-        }
-
-        error(basicMessage + helpfulMessage, code, loc);
-    }
-
-    /**
-     * Produces the "sourceName" (to be used within the schema project
-     * source file copies) from the URI of the original source.
-     *
-     * Returns null if none.
-     */
-    public String sourceNameForUri(String uri)
-    {
-        return (String)_sourceForUri.get(uri);
-    }
-
-    /**
-     * Returns the whole sourceCopyMap, mapping URI's that have
-     * been read to "sourceName" local names that have been used
-     * to tag the types.
-     */
-    public Map sourceCopyMap()
-    {
-        return Collections.unmodifiableMap(_sourceForUri);
-    }
-
-    /**
-     * The base URI to use for nice filenames when saving sources.
-     */
-    public void setBaseUri(URI uri)
-    {
-        _baseURI = uri;
-    }
-
-    private final static String PROJECT_URL_PREFIX = "project://local";
-    
-    public String relativize(String uri)
-    {
-        return relativize(uri, false);
-    }
-    
-    public String computeSavedFilename(String uri)
-    {
-        return relativize(uri, true);
-    }
-    
-    private String relativize(String uri, boolean forSavedFilename)
-    {
-        if (uri == null)
-            return null;
-
-        // deal with things that do not look like absolute uris
-        if (uri.startsWith("/"))
-        {
-            uri = PROJECT_URL_PREFIX + uri.replace('\\', '/');
-        }
-        else
-        {
-            // looks like a URL?
-            int colon = uri.indexOf(':');
-            if (colon <= 1 || !uri.substring(0, colon).matches("^\\w+$"))
-                uri = PROJECT_URL_PREFIX + "/" + uri.replace('\\', '/');
-        }
-
-        // now relativize against that...
-        if (_baseURI != null)
-        {
-            try
-            {
-                URI relative = _baseURI.relativize(new URI(uri));
-                if (!relative.isAbsolute())
-                    return relative.toString();
-                else
-                    uri = relative.toString();
-            }
-            catch (URISyntaxException e)
-            {
-            }
-        }
-        
-        if (!forSavedFilename)
-            return uri;
-
-        int lastslash = uri.lastIndexOf('/');
-        String dir = QNameHelper.hexsafe(lastslash == -1 ? "" : uri.substring(0, lastslash));
-        return dir + "/" + uri.substring(lastslash + 1);
-    }
-
-    /**
-     * Notes another URI that has been consumed during compilation
-     * (this is the URI that is in the document .NAME property)
-     */
-    public void addSourceUri(String uri, String nameToUse)
-    {
-        if (uri == null)
-            return;
-
-        if (nameToUse == null)
-            nameToUse = computeSavedFilename(uri);
-
-        _sourceForUri.put(uri, nameToUse);
-    }
-
-    /**
-     * Returns the error listener being filled in during this compilation
-     */
-    public Collection getErrorListener()
-    {
-        return _errorListener;
-    }
-
-    /**
-     * Returns the schema type loader to use for processing s4s
-     */
-    public SchemaTypeLoader getS4SLoader()
-    {
-        return _s4sloader;
-    }
-
-    Map _sourceForUri = new HashMap();
-    URI _baseURI = URI.create(PROJECT_URL_PREFIX + "/");
-    SchemaTypeLoader _s4sloader = XmlBeans.typeLoaderForClassLoader(SchemaDocument.class.getClassLoader());
-
-    public File getSchemasDir()
-    {
-        return _schemasDir;
-    }
-
-    public void setSchemasDir(File _schemasDir)
-    {
-        this._schemasDir = _schemasDir;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscTranslator.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscTranslator.java
deleted file mode 100644
index aafa4ce..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/StscTranslator.java
+++ /dev/null
@@ -1,1219 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import java.util.*;
-import java.util.List;
-import java.math.BigInteger;
-
-import org.w3.x2001.xmlSchema.*;
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.RedefineDocument.Redefine;
-
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.impl.common.XPath;
-import org.apache.xmlbeans.impl.values.XmlIntegerImpl;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-import org.apache.xmlbeans.impl.regex.RegularExpression;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.SchemaIdentityConstraint;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaGlobalAttribute;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlInteger;
-
-import javax.xml.namespace.QName;
-
-public class StscTranslator
-{
-    private static final QName WSDL_ARRAYTYPE_NAME =
-        QNameHelper.forLNS("arrayType", "http://schemas.xmlsoap.org/wsdl/");
-
-    public static void addAllDefinitions(StscImporter.SchemaToProcess[] schemasAndChameleons)
-    {
-        // Build all redefine objects
-        RedefinitionHolder redefinitions[] =
-            new RedefinitionHolder[schemasAndChameleons.length];
-        for (int i = 0; i < schemasAndChameleons.length; i++)
-            redefinitions[i] = new RedefinitionHolder(schemasAndChameleons[i].getRedefine());
-
-        StscState state = StscState.get();
-        for (int j = 0; j < schemasAndChameleons.length; j++)
-        {
-            Schema schema = schemasAndChameleons[j].getSchema();
-            String givenTargetNamespace = schemasAndChameleons[j].getChameleonNamespace();
-
-        // quick check for a few unsupported features
-
-        if (schema.sizeOfNotationArray() > 0)
-        {
-            state.warning("Schema <notation> is not yet supported for this release.", XmlErrorContext.UNSUPPORTED_FEATURE, schema.getNotationArray(0));
-        }
-        
-        // figure namespace (taking into account chameleons)
-        String targetNamespace = schema.getTargetNamespace();
-        boolean chameleon = false;
-        if (givenTargetNamespace != null && targetNamespace == null)
-        {
-            targetNamespace = givenTargetNamespace;
-            chameleon = true;
-        }
-        if (targetNamespace == null)
-            targetNamespace = "";
-        
-        state.addNamespace(targetNamespace);
-
-        List redefChain = new ArrayList();
-        TopLevelComplexType[] complexTypes = schema.getComplexTypeArray();
-        for (int i = 0; i < complexTypes.length; i++)
-        {
-            TopLevelComplexType type = complexTypes[i];
-            TopLevelComplexType redef= redefinitions[j].redefineComplexType(type.getName());
-
-            if (redef != null)
-            {
-                int p = schemasAndChameleons[j].getRedefinedBy();
-                while (redef != null)
-                {
-                    redefChain.add(type);
-                    type = redef;
-                    redef = redefinitions[p].redefineComplexType(type.getName());
-                    p = schemasAndChameleons[p].getRedefinedBy();
-                }
-            }
-
-            SchemaTypeImpl t = translateGlobalComplexType(type, targetNamespace, chameleon, redefChain.size() > 0);
-            state.addGlobalType(t, null);
-            SchemaTypeImpl r;
-            for (int k = redefChain.size()-1; k >= 0; k--)
-            {
-                redef = (TopLevelComplexType) redefChain.remove(k);
-                r = translateGlobalComplexType(redef, targetNamespace, chameleon, k > 0);
-                state.addGlobalType(r, t);
-                t = r;
-            }
-        }
-
-        TopLevelSimpleType[] simpleTypes = schema.getSimpleTypeArray();
-        for (int i = 0; i < simpleTypes.length; i++)
-        {
-            TopLevelSimpleType type = simpleTypes[i];
-            TopLevelSimpleType redef = redefinitions[j].redefineSimpleType(type.getName());
-
-            if (redef != null)
-            {
-                int p = schemasAndChameleons[j].getRedefinedBy();
-                while (redef != null)
-                {
-                    redefChain.add(type);
-                    type = redef;
-                    redef = redefinitions[p].redefineSimpleType(type.getName());
-                    p = schemasAndChameleons[p].getRedefinedBy();
-                }
-            }
-
-            SchemaTypeImpl t = translateGlobalSimpleType(type, targetNamespace, chameleon,redefChain.size() > 0);
-            state.addGlobalType(t, null);
-            SchemaTypeImpl r;
-            for (int k = redefChain.size()-1; k >= 0; k--)
-            {
-                redef = (TopLevelSimpleType) redefChain.remove(k);
-                r = translateGlobalSimpleType(redef, targetNamespace, chameleon, k > 0);
-                state.addGlobalType(r, t);
-                t = r;
-            }
-        }
-
-        TopLevelElement[] elements = schema.getElementArray();
-        for (int i = 0; i < elements.length; i++)
-        {
-            TopLevelElement element = elements[i];
-            state.addDocumentType(translateDocumentType(element, targetNamespace, chameleon), QNameHelper.forLNS(element.getName(), targetNamespace));
-        }
-
-        TopLevelAttribute[] attributes = schema.getAttributeArray();
-        for (int i = 0; i < attributes.length ; i++)
-        {
-            TopLevelAttribute attribute = attributes[i];
-            state.addAttributeType(translateAttributeType(attribute, targetNamespace, chameleon), QNameHelper.forLNS(attribute.getName(), targetNamespace));
-        }
-
-        NamedGroup[] modelgroups = schema.getGroupArray();
-        for (int i = 0; i < modelgroups.length; i++)
-        {
-            NamedGroup group = modelgroups[i];
-            NamedGroup redef = redefinitions[j].redefineModelGroup(group.getName());
-
-            if (redef != null)
-            {
-                int p = schemasAndChameleons[j].getRedefinedBy();
-                while (redef != null)
-                {
-                    redefChain.add(group);
-                    group = redef;
-                    redef = redefinitions[p].redefineModelGroup(group.getName());
-                    p = schemasAndChameleons[p].getRedefinedBy();
-                }
-            }
-
-            SchemaModelGroupImpl g = translateModelGroup(group, targetNamespace, chameleon, redefChain.size() > 0);
-            state.addModelGroup(g, null);
-            SchemaModelGroupImpl r;
-            for (int k = redefChain.size()-1; k >= 0; k--)
-            {
-                redef = (NamedGroup) redefChain.remove(k);
-                r = translateModelGroup(redef, targetNamespace, chameleon, k > 0);
-                state.addModelGroup(r, g);
-                g = r;
-            }
-        }
-
-        NamedAttributeGroup[] attrgroups = schema.getAttributeGroupArray();
-        for (int i = 0; i < attrgroups.length; i++)
-        {
-            NamedAttributeGroup group = attrgroups[i];
-            NamedAttributeGroup redef = redefinitions[j].redefineAttributeGroup(group.getName());
-
-            if (redef != null)
-            {
-                int p = schemasAndChameleons[j].getRedefinedBy();
-                while (redef != null)
-                {
-                    redefChain.add(group);
-                    group = redef;
-                    redef = redefinitions[p].redefineAttributeGroup(group.getName());
-                    p = schemasAndChameleons[p].getRedefinedBy();
-                }
-            }
-
-            SchemaAttributeGroupImpl g = translateAttributeGroup(group, targetNamespace, chameleon, redefChain.size() > 0);
-            state.addAttributeGroup(g, null);
-            SchemaAttributeGroupImpl r;
-            for (int k = redefChain.size()-1; k >= 0; k--)
-            {
-                redef = (NamedAttributeGroup) redefChain.remove(k);
-                r = translateAttributeGroup(redef, targetNamespace, chameleon, k > 0);
-                state.addAttributeGroup(r, g);
-                g = r;
-            }
-        }
-
-        AnnotationDocument.Annotation[] annotations = schema.getAnnotationArray();
-        for (int i = 0; i < annotations.length; i++)
-            state.addAnnotation(SchemaAnnotationImpl.getAnnotation(state.sts(), schema, annotations[i]));
-        }
-
-        for (int i = 0; i < redefinitions.length; i++)
-            redefinitions[i].complainAboutMissingDefinitions();
-    }
-    
-    private static class RedefinitionHolder
-    {
-        // record redefinitions
-        private Map stRedefinitions = Collections.EMPTY_MAP;
-        private Map ctRedefinitions = Collections.EMPTY_MAP;
-        private Map agRedefinitions = Collections.EMPTY_MAP;
-        private Map mgRedefinitions = Collections.EMPTY_MAP;
-        private String schemaLocation = "";
-        
-        // first build set of redefined components
-        RedefinitionHolder(Redefine redefine)
-        {
-            if (redefine != null)
-            {
-                StscState state = StscState.get();
-            
-                stRedefinitions = new HashMap();
-                ctRedefinitions = new HashMap();
-                agRedefinitions = new HashMap();
-                mgRedefinitions = new HashMap();
-                if (redefine.getSchemaLocation() != null)
-                    schemaLocation = redefine.getSchemaLocation();
-                
-                TopLevelComplexType[] complexTypes = redefine.getComplexTypeArray();
-                for (int i = 0; i < complexTypes.length; i++)
-                {
-                    if (complexTypes[i].getName() != null)
-                    {
-                        if (ctRedefinitions.containsKey(complexTypes[i].getName()))
-                            state.error("Duplicate type redefinition: " + complexTypes[i].getName(), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                        else
-                            ctRedefinitions.put(complexTypes[i].getName(), complexTypes[i]);
-                    }
-                }
-    
-                TopLevelSimpleType[] simpleTypes = redefine.getSimpleTypeArray();
-                for (int i = 0; i < simpleTypes.length; i++)
-                {
-                    if (simpleTypes[i].getName() != null)
-                    {
-                        if (stRedefinitions.containsKey(simpleTypes[i].getName()))
-                            state.error("Duplicate type redefinition: " + simpleTypes[i].getName(), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                        else
-                            stRedefinitions.put(simpleTypes[i].getName(), simpleTypes[i]);
-                    }
-                }
-                
-                NamedGroup[] modelgroups = redefine.getGroupArray();
-                for (int i = 0; i < modelgroups.length; i++)
-                {
-                    if (modelgroups[i].getName() != null)
-                    {
-                        if (mgRedefinitions.containsKey(modelgroups[i].getName()))
-                            state.error("Duplicate type redefinition: " + modelgroups[i].getName(), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                        else
-                            mgRedefinitions.put(modelgroups[i].getName(), modelgroups[i]);
-                    }
-                }
-    
-                NamedAttributeGroup[] attrgroups = redefine.getAttributeGroupArray();
-                for (int i = 0; i < attrgroups.length; i++)
-                {
-                    if (attrgroups[i].getName() != null)
-                    {
-                        if (agRedefinitions.containsKey(attrgroups[i].getName()))
-                            state.error("Duplicate type redefinition: " + attrgroups[i].getName(), XmlErrorContext.DUPLICATE_GLOBAL_TYPE, null);
-                        else
-                            agRedefinitions.put(attrgroups[i].getName(), attrgroups[i]);
-                    }
-                }
-            }
-        }
-        
-        public TopLevelSimpleType redefineSimpleType(String name)
-        {
-            if (name == null || !stRedefinitions.containsKey(name))
-                return null;
-            return (TopLevelSimpleType)stRedefinitions.remove(name);
-        }
-        
-        public TopLevelComplexType redefineComplexType(String name)
-        {
-            if (name == null || !ctRedefinitions.containsKey(name))
-                return null;
-            return (TopLevelComplexType)ctRedefinitions.remove(name);
-        }
-        
-        public NamedGroup redefineModelGroup(String name)
-        {
-            if (name == null || !mgRedefinitions.containsKey(name))
-                return null;
-            return (NamedGroup)mgRedefinitions.remove(name);
-        }
-        
-        public NamedAttributeGroup redefineAttributeGroup(String name)
-        {
-            if (name == null || !agRedefinitions.containsKey(name))
-                return null;
-            return (NamedAttributeGroup)agRedefinitions.remove(name);
-        }
-        
-        public void complainAboutMissingDefinitions()
-        {
-            if (stRedefinitions.isEmpty() && ctRedefinitions.isEmpty() &&
-                    agRedefinitions.isEmpty() && mgRedefinitions.isEmpty())
-                return;
-            
-            StscState state = StscState.get();
-            
-            for (Iterator i = stRedefinitions.keySet().iterator(); i.hasNext(); )
-            {
-                String name = (String)i.next();
-                state.error("Redefined simple type " + name + " not found in " + schemaLocation, XmlErrorContext.GENERIC_ERROR, (XmlObject)stRedefinitions.get(name));
-            }
-
-            for (Iterator i = ctRedefinitions.keySet().iterator(); i.hasNext(); )
-            {
-                String name = (String)i.next();
-                state.error("Redefined complex type " + name + " not found in " + schemaLocation, XmlErrorContext.GENERIC_ERROR, (XmlObject)ctRedefinitions.get(name));
-            }
-            
-            for (Iterator i = agRedefinitions.keySet().iterator(); i.hasNext(); )
-            {
-                String name = (String)i.next();
-                state.error("Redefined attribute group " + name + " not found in " + schemaLocation, XmlErrorContext.GENERIC_ERROR, (XmlObject)agRedefinitions.get(name));
-            }
-            
-            for (Iterator i = mgRedefinitions.keySet().iterator(); i.hasNext(); )
-            {
-                String name = (String)i.next();
-                state.error("Redefined model group " + name + " not found in " + schemaLocation, XmlErrorContext.GENERIC_ERROR, (XmlObject)mgRedefinitions.get(name));
-            }
-        }
-    }
-
-    private static String findFilename(XmlObject xobj)
-    {
-        return StscState.get().sourceNameForUri(xobj.documentProperties().getSourceName());
-    }
-
-    private static SchemaTypeImpl translateDocumentType ( TopLevelElement xsdType, String targetNamespace, boolean chameleon )
-    {
-        SchemaTypeImpl sType = new SchemaTypeImpl( StscState.get().sts() );
-        
-        sType.setDocumentType(true);
-        sType.setParseContext( xsdType, targetNamespace, chameleon, false);
-        sType.setFilename( findFilename( xsdType ) );
-
-        return sType;
-    }
-    
-    private static SchemaTypeImpl translateAttributeType ( TopLevelAttribute xsdType, String targetNamespace, boolean chameleon )
-    {
-        SchemaTypeImpl sType = new SchemaTypeImpl( StscState.get().sts() );
-        
-        sType.setAttributeType(true);
-        sType.setParseContext( xsdType, targetNamespace, chameleon, false);
-        sType.setFilename( findFilename( xsdType ) );
-        
-        return sType;
-    }
-    
-    private static SchemaTypeImpl translateGlobalComplexType(TopLevelComplexType xsdType, String targetNamespace, boolean chameleon, boolean redefinition)
-    {
-        StscState state = StscState.get();
-
-        String localname = xsdType.getName();
-        if (localname == null)
-        {
-            state.error("Global type missing a name", XmlErrorContext.GLOBAL_TYPE_MISSING_NAME, xsdType);
-            // recovery: ignore unnamed types.
-            return null;
-        }
-        if (!XMLChar.isValidNCName(localname))
-        {
-            state.error("Invalid type name \"" + localname + "\"", XmlErrorContext.INVALID_NAME, xsdType.xgetName());
-            // recovery: let the name go through anyway.
-        }
-
-        QName name = QNameHelper.forLNS(localname, targetNamespace);
-        
-        if (isReservedTypeName(name))
-        {
-            state.warning("Skipping definition of built-in type " + QNameHelper.pretty(name), XmlErrorContext.RESERVED_TYPE_NAME, xsdType);
-            return null;
-        }
-        // System.err.println("Recording type " + QNameHelper.pretty(name));
-
-        SchemaTypeImpl sType = new SchemaTypeImpl(state.sts());
-        sType.setParseContext(xsdType, targetNamespace, chameleon, redefinition);
-        sType.setFilename(findFilename(xsdType));
-        sType.setName(QNameHelper.forLNS(localname, targetNamespace));
-        sType.setAnnotation(SchemaAnnotationImpl.getAnnotation(state.sts(), xsdType));
-        return sType;
-    }
-
-    private static SchemaTypeImpl translateGlobalSimpleType(TopLevelSimpleType xsdType, String targetNamespace, boolean chameleon, boolean redefinition)
-    {
-        StscState state = StscState.get();
-
-        String localname = xsdType.getName();
-        if (localname == null)
-        {
-            state.error("Global type missing a name", XmlErrorContext.GLOBAL_TYPE_MISSING_NAME, xsdType);
-            // recovery: ignore unnamed types.
-            return null;
-        }
-        if (!XMLChar.isValidNCName(localname))
-        {
-            state.error("Invalid type name \"" + localname + "\"", XmlErrorContext.INVALID_NAME, xsdType.xgetName());
-            // recovery: let the name go through anyway.
-        }
-        
-        QName name = QNameHelper.forLNS(localname, targetNamespace);
-        
-        if (isReservedTypeName(name))
-        {
-            state.warning("Skipping definition of built-in type " + QNameHelper.pretty(name), XmlErrorContext.RESERVED_TYPE_NAME, xsdType);
-            return null;
-        }
-        // System.err.println("Recording type " + QNameHelper.pretty(name));
-
-        SchemaTypeImpl sType = new SchemaTypeImpl(state.sts());
-        sType.setSimpleType(true);
-        sType.setParseContext(xsdType, targetNamespace, chameleon, redefinition);
-        sType.setFilename(findFilename(xsdType));
-        sType.setName(name);
-        sType.setAnnotation(SchemaAnnotationImpl.getAnnotation(state.sts(), xsdType));
-        return sType;
-    }
-
-    static FormChoice findElementFormDefault(XmlObject obj)
-    {
-        XmlCursor cur = obj.newCursor();
-        while (cur.getObject().schemaType() != Schema.type)
-            if (!cur.toParent())
-                return null;
-        return ((Schema)cur.getObject()).xgetElementFormDefault();
-    }
-
-    public static boolean uriMatch(String s1, String s2)
-    {
-        if (s1 == null)
-            return s2 == null || s2.equals("");
-        if (s2 == null)
-            return s1.equals("");
-        return s1.equals(s2);
-    }
-
-    public static void copyGlobalElementToLocalElement(SchemaGlobalElement referenced, SchemaLocalElementImpl target )
-    {
-
-        target.setNameAndTypeRef(referenced.getName(), referenced.getType().getRef());
-        target.setNillable(referenced.isNillable());
-        target.setDefault(referenced.getDefaultText(), referenced.isFixed(), ((SchemaGlobalElementImpl)referenced).getParseObject());
-        target.setIdentityConstraints(((SchemaLocalElementImpl)referenced).getIdentityConstraintRefs());
-        target.setBlock(referenced.blockExtension(),  referenced.blockRestriction(),  referenced.blockSubstitution());
-        target.setAbstract(referenced.isAbstract());
-        target.setTransitionRules(((SchemaParticle)referenced).acceptedStartNames(),
-            ((SchemaParticle)referenced).isSkippable());
-        target.setAnnotation(referenced.getAnnotation());
-    }
-
-    public static void copyGlobalAttributeToLocalAttribute(SchemaGlobalAttributeImpl referenced, SchemaLocalAttributeImpl target )
-    {
-        target.init(
-            referenced.getName(), referenced.getTypeRef(), referenced.getUse(),
-            referenced.getDefaultText(),
-                referenced.getParseObject(), referenced._defaultValue,
-            referenced.isFixed(),
-            referenced.getWSDLArrayType(),
-            referenced.getAnnotation());
-    }
-
-    /**
-     * Translates a local or global schema element.
-     */
-    // check rule 3.3.3
-    // http://www.w3c.org/TR/#section-Constraints-on-XML-Representations-of-Element-Declarations
-    public static SchemaLocalElementImpl translateElement(
-        Element xsdElt, String targetNamespace, boolean chameleon,
-        List anonymousTypes, SchemaType outerType)
-    {
-        StscState state = StscState.get();
-
-        SchemaTypeImpl sgHead = null;
-
-        // translate sg head
-        if (xsdElt.isSetSubstitutionGroup())
-        {
-            sgHead = state.findDocumentType(xsdElt.getSubstitutionGroup(),
-                ((SchemaTypeImpl)outerType).getChameleonNamespace());
-
-            if (sgHead != null)
-                StscResolver.resolveType(sgHead);
-        }
-
-        String name = xsdElt.getName();
-        QName ref = xsdElt.getRef();
-
-
-        if (ref != null && name != null)
-        {
-            // if (name.equals(ref.getLocalPart()) && uriMatch(targetNamespace, ref.getNamespaceURI()))
-            //     state.warning("Element " + name + " specifies both a ref and a name", XmlErrorContext.ELEMENT_EXTRA_REF, xsdElt.xgetRef());
-            // else
-                state.error("Element " + name + " specifies both a ref and a name", XmlErrorContext.ELEMENT_EXTRA_REF, xsdElt.xgetRef());
-            // ignore name
-            name = null;
-        }
-        if (ref == null && name == null)
-        {
-            state.error("Element has no name", XmlErrorContext.ELEMENT_MISSING_NAME, xsdElt);
-            // recovery: ignore this element
-            return null;
-        }
-        if (name != null && !XMLChar.isValidNCName(name))
-        {
-            state.error("Invalid element name \"" + name + "\"", XmlErrorContext.INVALID_NAME, xsdElt.xgetName());
-            // recovery: let the name go through anyway.
-        }
-
-        if (ref != null)
-        {
-            if (xsdElt.getType() != null || xsdElt.getSimpleType() != null || xsdElt.getComplexType() != null)
-            {
-                state.error("Element reference cannot also specify a type", XmlErrorContext.INVALID_NAME, xsdElt);
-                // recovery: let the name go through anyway.
-            }
-            
-            if (xsdElt.getForm() != null)
-            {
-                state.error("Element reference cannot also specify form", XmlErrorContext.INVALID_NAME, xsdElt);
-                // recovery: let the name go through anyway.
-            }
-            
-            if (xsdElt.sizeOfKeyArray() > 0 || xsdElt.sizeOfKeyrefArray() > 0 || xsdElt.sizeOfUniqueArray() > 0)
-            {
-                state.warning("Element reference cannot also contain key, keyref, or unique", XmlErrorContext.GENERIC_ERROR, xsdElt);
-                // recovery: ignore
-            }
-            
-            if (xsdElt.isSetDefault())
-            {
-                state.warning("Element with reference to '" + ref.getLocalPart() + "' cannot also specify default", XmlErrorContext.GENERIC_ERROR, xsdElt);
-                // recovery: ignore
-            }
-            
-            if (xsdElt.isSetFixed())
-            {
-                state.warning("Element with reference to '" + ref.getLocalPart() + "' cannot also specify fixed", XmlErrorContext.GENERIC_ERROR, xsdElt);
-                // recovery: ignore
-            }
-            
-            if (xsdElt.isSetBlock())
-            {
-                state.warning("Element with reference to '" + ref.getLocalPart() + "' cannot also specify block", XmlErrorContext.GENERIC_ERROR, xsdElt);
-                // recovery: ignore
-            }
-            
-            if (xsdElt.isSetNillable())
-            {
-                state.warning("Element with reference to '" + ref.getLocalPart() + "' cannot also specify nillable", XmlErrorContext.GENERIC_ERROR, xsdElt);
-                // recovery: ignore
-            }
-            
-            assert(xsdElt instanceof LocalElement);
-            SchemaGlobalElement referenced = state.findGlobalElement(ref, chameleon ? targetNamespace : null);
-            if (referenced == null)
-            {
-                state.notFoundError(ref, XmlErrorContext.ELEMENT_REF_NOT_FOUND, xsdElt.xgetRef());
-                // recovery: ignore this element
-                return null;
-            }
-            SchemaLocalElementImpl target = new SchemaLocalElementImpl();
-            target.setParticleType(SchemaParticle.ELEMENT);
-            copyGlobalElementToLocalElement( referenced, target );
-            return target;
-        }
-
-        QName qname;
-        SchemaLocalElementImpl impl;
-        SchemaType sType = null;
-
-        if (xsdElt instanceof LocalElement)
-        {
-            impl = new SchemaLocalElementImpl();
-            FormChoice form = xsdElt.xgetForm();
-            if (form == null)
-                form = findElementFormDefault(xsdElt);
-            if (form == null || form.getStringValue().equals("unqualified"))
-                qname = QNameHelper.forLN(name);
-            else
-                qname = QNameHelper.forLNS(name, targetNamespace);
-        }
-        else
-        {
-            SchemaGlobalElementImpl gelt = new SchemaGlobalElementImpl(state.sts());
-            impl = gelt;
-
-            // Set subst group head
-            if (sgHead != null)
-            {
-                SchemaGlobalElementImpl head = state.findGlobalElement(xsdElt.getSubstitutionGroup(), chameleon ? targetNamespace : null);
-                if (head != null)
-                    gelt.setSubstitutionGroup(head.getRef());
-            }
-
-            // Set subst group members
-            qname = QNameHelper.forLNS(name, targetNamespace);
-            SchemaTypeImpl docType = (SchemaTypeImpl)outerType;
-
-            QName[] sgMembers = docType.getSubstitutionGroupMembers();
-            QNameSetBuilder transitionRules = new QNameSetBuilder();
-            transitionRules.add(qname);
-
-            for (int i = 0 ; i < sgMembers.length ; i++)
-            {
-                gelt.addSubstitutionGroupMember(sgMembers[i]);
-                transitionRules.add(sgMembers[i]);
-            }
-
-            impl.setTransitionRules(QNameSet.forSpecification(transitionRules), false);
-            impl.setTransitionNotes(QNameSet.EMPTY, true);
-
-            boolean finalExt = false;
-            boolean finalRest = false;
-            Object ds = xsdElt.getFinal();
-            if (ds != null)
-            {
-                if (ds instanceof String && ds.equals("#all"))
-                {
-                    // #ALL value
-                    finalExt = finalRest = true;
-                }
-                else if (ds instanceof List)
-                {
-                    if (((List)ds).contains("extension"))
-                        finalExt = true;
-                    if (((List)ds).contains("restriction"))
-                        finalRest = true;
-                }
-            }
-
-            gelt.setFinal(finalExt, finalRest);
-            gelt.setAbstract(xsdElt.getAbstract());
-            gelt.setFilename(findFilename(xsdElt));
-            gelt.setParseContext(xsdElt, targetNamespace, chameleon);
-        }
-
-        SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(), xsdElt);
-        impl.setAnnotation(ann);
-        if (xsdElt.getType() != null)
-        {
-            sType = state.findGlobalType(xsdElt.getType(), chameleon ? targetNamespace : null );
-            if (sType == null)
-                state.notFoundError(xsdElt.getType(), XmlErrorContext.TYPE_NOT_FOUND, xsdElt.xgetType());
-        }
-
-        boolean simpleTypedef = false;
-        Annotated typedef = xsdElt.getComplexType();
-        if (typedef == null)
-        {
-            typedef = xsdElt.getSimpleType();
-            simpleTypedef = true;
-        }
-
-        if ((sType != null) && typedef != null)
-        {
-            state.error("Illegal to define a nested type when a type attribute is specified", XmlErrorContext.REDUNDANT_NESTED_TYPE, typedef);
-            typedef = null;
-        }
-
-        if (typedef != null)
-        {
-            SchemaTypeImpl sTypeImpl = new SchemaTypeImpl(state.sts());
-            sType = sTypeImpl;
-            sTypeImpl.setContainerField(impl);
-            sTypeImpl.setOuterSchemaTypeRef(outerType == null ? null : outerType.getRef());
-            // leave the anonymous type unresolved: it will be resolved later.
-            anonymousTypes.add(sType);
-            sTypeImpl.setSimpleType(simpleTypedef);
-            sTypeImpl.setParseContext(typedef, targetNamespace, chameleon, false);
-            sTypeImpl.setAnnotation(SchemaAnnotationImpl.getAnnotation(state.sts(), typedef));
-        }
-
-        if (sType == null)
-        {
-            // type may inherit from substitution group head
-            if (sgHead != null)
-            {
-                SchemaGlobalElement head = state.findGlobalElement(xsdElt.getSubstitutionGroup(), chameleon ? targetNamespace : null);
-
-                // Bug - Do I need to copy the type if it's anonymous?
-                // If element does not exist, error has already been reported
-                if (head != null)
-                    sType = head.getType();
-            }
-
-        }
-
-
-
-        if (sType == null)
-            sType = BuiltinSchemaTypeSystem.ST_ANY_TYPE;
-
-        SOAPArrayType wat = null;
-        XmlCursor c = xsdElt.newCursor();
-        String arrayType = c.getAttributeText(WSDL_ARRAYTYPE_NAME);
-        c.dispose();
-        if (arrayType != null)
-        {
-            wat = new SOAPArrayType(arrayType, new NamespaceContext(xsdElt));
-        }
-        impl.setWsdlArrayType(wat);
-
-        boolean isFixed = xsdElt.isSetFixed();
-        if (xsdElt.isSetDefault() && isFixed)
-        {
-            state.error("Should not set both default and fixed on the same element", XmlErrorContext.REDUNDANT_DEFAULT_FIXED, xsdElt.xgetFixed());
-            // recovery: ignore fixed
-            isFixed = false;
-        }
-        impl.setParticleType(SchemaParticle.ELEMENT);
-        impl.setNameAndTypeRef(qname, sType.getRef());
-        impl.setNillable(xsdElt.getNillable());
-        impl.setDefault(isFixed ? xsdElt.getFixed() : xsdElt.getDefault(), isFixed, xsdElt);
-
-        Object block = xsdElt.getBlock();
-        boolean blockExt = false;
-        boolean blockRest = false;
-        boolean blockSubst = false;
-
-        if (block != null)
-        {
-            if (block instanceof String && block.equals("#all"))
-            {
-                // #ALL value
-                blockExt = blockRest = blockSubst = true;
-            }
-            else if (block instanceof List)
-            {
-                if (((List)block).contains("extension"))
-                    blockExt = true;
-                if (((List)block).contains("restriction"))
-                    blockRest = true;
-                if (((List)block).contains("substitution"))
-                    blockSubst = true;
-            }
-        }
-        
-        impl.setBlock(blockExt, blockRest, blockSubst);
-
-        boolean constraintFailed = false;
-
-        // Translate Identity constraints
-
-        int length = xsdElt.sizeOfKeyArray() + xsdElt.sizeOfKeyrefArray() + xsdElt.sizeOfUniqueArray();
-        SchemaIdentityConstraintImpl[] constraints = new SchemaIdentityConstraintImpl[length];
-        int cur = 0;
-
-        // Handle key constraints
-        Keybase[] keys = xsdElt.getKeyArray();
-        for (int i = 0 ; i < keys.length ; i++, cur++) {
-            constraints[cur] = translateIdentityConstraint(keys[i], targetNamespace, chameleon);
-            if (constraints[cur] != null)
-                constraints[cur].setConstraintCategory(SchemaIdentityConstraint.CC_KEY);
-            else
-                constraintFailed = true;
-        }
-
-        // Handle unique constraints
-        Keybase[] uc = xsdElt.getUniqueArray();
-        for (int i = 0 ; i < uc.length ; i++, cur++) {
-            constraints[cur] = translateIdentityConstraint(uc[i], targetNamespace, chameleon);
-            if (constraints[cur] != null)
-                constraints[cur].setConstraintCategory(SchemaIdentityConstraint.CC_UNIQUE);
-            else
-                constraintFailed = true;
-        }
-
-        // Handle keyref constraints
-        KeyrefDocument.Keyref[] krs = xsdElt.getKeyrefArray();
-        for (int i = 0 ; i < krs.length ; i++, cur++) {
-            constraints[cur] = translateIdentityConstraint(krs[i], targetNamespace, chameleon);
-            if (constraints[cur] != null)
-                constraints[cur].setConstraintCategory(SchemaIdentityConstraint.CC_KEYREF);
-            else
-                constraintFailed = true;
-        }
-
-        if (!constraintFailed)
-        {
-            SchemaIdentityConstraint.Ref[] refs = new SchemaIdentityConstraint.Ref[length];
-            for (int i = 0 ; i < refs.length ; i++)
-                refs[i] = constraints[i].getRef();
-
-            impl.setIdentityConstraints(refs);
-        }
-
-        return impl;
-    }
-    
-    private static String removeWhitespace(String xpath)
-    {
-        StringBuffer sb = new StringBuffer();
-        for (int i = 0; i < xpath.length(); i++)
-        {
-            char ch = xpath.charAt(i);
-            if (XMLChar.isSpace(ch))
-                continue;
-            sb.append(ch);
-        }
-        return sb.toString();
-    }
-    
-    public static final org.apache.xmlbeans.impl.regex.RegularExpression XPATH_REGEXP = new org.apache.xmlbeans.impl.regex.RegularExpression("(\\.//)?((((child::)?((\\i\\c*:)?(\\i\\c*|\\*)))|\\.)/)*((((child::)?((\\i\\c*:)?(\\i\\c*|\\*)))|\\.)|((attribute::|@)((\\i\\c*:)?(\\i\\c*|\\*))))(\\|(\\.//)?((((child::)?((\\i\\c*:)?(\\i\\c*|\\*)))|\\.)/)*((((child::)?((\\i\\c*:)?(\\i\\c*|\\*)))|\\.)|((attribute::|@)((\\i\\c*:)?(\\i\\c*|\\*)))))*", "X");
-    
-    private static boolean checkXPathSyntax(String xpath)
-    {
-        if (xpath == null)
-            return false;
-        
-        // strip whitespace from xpath
-        xpath = removeWhitespace(xpath);
-        
-        // apply regexp
-        synchronized (XPATH_REGEXP)
-        {
-            return (XPATH_REGEXP.matches(xpath));
-        }
-    }
-
-    private static SchemaIdentityConstraintImpl translateIdentityConstraint(Keybase parseIC, 
-        String targetNamespace, boolean chameleon)
-    {
-        StscState state = StscState.get();
-        
-        // first do some checking
-        String selector = parseIC.getSelector() == null ? null : parseIC.getSelector().getXpath();
-        if (!checkXPathSyntax(selector))
-        {
-            StscState.get().error("Invalid xpath in selector.",
-                XmlErrorContext.XPATH_COMPILATION_FAILURE, parseIC.getSelector().xgetXpath());
-            return null;
-        }
-        
-        FieldDocument.Field[] fieldElts = parseIC.getFieldArray();
-        for (int j = 0; j < fieldElts.length; j++)
-        {
-            if (!checkXPathSyntax(fieldElts[j].getXpath()))
-            {
-                StscState.get().error("Invalid xpath in field.",
-                    XmlErrorContext.XPATH_COMPILATION_FAILURE, fieldElts[j].xgetXpath());
-                return null;
-            }
-        }
-        
-        // then translate.
-        SchemaIdentityConstraintImpl ic = new SchemaIdentityConstraintImpl(state.sts());
-        ic.setName(QNameHelper.forLNS(parseIC.getName(), targetNamespace));
-        ic.setSelector(parseIC.getSelector().getXpath());
-        ic.setParseContext(parseIC, targetNamespace, chameleon);
-        SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(), parseIC);
-        ic.setAnnotation(ann);
-
-        // Set the ns map
-        XmlCursor c = parseIC.newCursor();
-        Map nsMap = new HashMap();
-
-        c.getAllNamespaces(nsMap);
-        nsMap.remove(""); // Remove the default mapping. This cannot be used by the xpath expressions.
-        ic.setNSMap(nsMap);
-        c.dispose();
-
-        String[] fields = new String[fieldElts.length];
-        for (int j = 0 ; j < fields.length ; j++)
-            fields[j] = fieldElts[j].getXpath();
-        ic.setFields(fields);
-
-        try {
-            ic.buildPaths();
-        }
-        catch (XPath.XPathCompileException e) {
-            StscState.get().error("Invalid xpath in identity constraint: " + e.getMessage(),
-                XmlErrorContext.XPATH_COMPILATION_FAILURE, parseIC);
-
-            return null;
-        }
-
-        state.addIdConstraint(ic);
-
-        return state.findIdConstraint(ic.getName(), targetNamespace);
-
-    }
-
-    public static SchemaModelGroupImpl translateModelGroup(NamedGroup namedGroup, String targetNamespace, boolean chameleon, boolean redefinition)
-    {
-        String name = namedGroup.getName();
-        if (name == null)
-        {
-            StscState.get().error("Model groups must be named", XmlErrorContext.MODEL_GROUP_MISSING_NAME, namedGroup);
-            return null;
-        }
-        SchemaTypeSystemImpl sts = StscState.get().sts();
-        SchemaModelGroupImpl result = new SchemaModelGroupImpl(sts);
-        SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(sts, namedGroup);
-        result.init(QNameHelper.forLNS(name, targetNamespace), targetNamespace, chameleon, redefinition, namedGroup, ann);
-        return result;
-    }
-
-    public static SchemaAttributeGroupImpl translateAttributeGroup(AttributeGroup attrGroup, String targetNamespace, boolean chameleon, boolean redefinition)
-    {
-        String name = attrGroup.getName();
-        if (name == null)
-        {
-            StscState.get().error("Attribute groups must be named", XmlErrorContext.ATTRIBUTE_GROUP_MISSING_NAME, attrGroup);
-            return null;
-        }
-        SchemaTypeSystemImpl ts = StscState.get().sts();
-        SchemaAttributeGroupImpl result = new SchemaAttributeGroupImpl(ts);
-        SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(ts, attrGroup);
-        result.init(QNameHelper.forLNS(name, targetNamespace), targetNamespace, chameleon, redefinition, attrGroup, ann);
-        return result;
-    }
-
-    static FormChoice findAttributeFormDefault(XmlObject obj)
-    {
-        XmlCursor cur = obj.newCursor();
-        while (cur.getObject().schemaType() != Schema.type)
-            if (!cur.toParent())
-                return null;
-        return ((Schema)cur.getObject()).xgetAttributeFormDefault();
-    }
-
-    static SchemaLocalAttributeImpl translateAttribute(
-        Attribute xsdAttr, String targetNamespace, boolean chameleon, List anonymousTypes,
-        SchemaType outerType, SchemaAttributeModel baseModel, boolean local)
-    {
-        StscState state = StscState.get();
-
-        String name = xsdAttr.getName();
-        QName ref = xsdAttr.getRef();
-
-        if (ref != null && name != null)
-        {
-            if (name.equals(ref.getLocalPart()) && uriMatch(targetNamespace, ref.getNamespaceURI()))
-                state.warning("Attribute " + name + " specifies both a ref and a name", XmlErrorContext.ELEMENT_EXTRA_REF, xsdAttr.xgetRef());
-            else
-                state.error("Attribute " + name + " specifies both a ref and a name", XmlErrorContext.ELEMENT_EXTRA_REF, xsdAttr.xgetRef());
-            // ignore name
-            name = null;
-        }
-        if (ref == null && name == null)
-        {
-            state.error("Attribute has no name", XmlErrorContext.ELEMENT_MISSING_NAME, xsdAttr);
-            // recovery: ignore this element
-            return null;
-        }
-        if (name != null && !XMLChar.isValidNCName(name))
-        {
-            state.error("Invalid attribute name \"" + name + "\"", XmlErrorContext.INVALID_NAME, xsdAttr.xgetName());
-            // recovery: let the name go through anyway.
-        }
-
-        boolean isFixed = false;
-        String deftext = null;
-        QName qname;
-        SchemaLocalAttributeImpl sAttr;
-        SchemaType sType = null;
-        int use = SchemaLocalAttribute.OPTIONAL;
-
-        if (local)
-            sAttr = new SchemaLocalAttributeImpl();
-        else
-        {
-            sAttr = new SchemaGlobalAttributeImpl(state.sts());
-            ((SchemaGlobalAttributeImpl)sAttr).setParseContext(xsdAttr, targetNamespace, chameleon);
-        }
-
-        if (ref != null)
-        {
-            if (xsdAttr.getType() != null || xsdAttr.getSimpleType() != null)
-            {
-                state.error("Attribute reference cannot also specify type", XmlErrorContext.INVALID_NAME, xsdAttr);
-                // recovery: ignore type, simpleType
-            }
-            
-            if (xsdAttr.getForm() != null)
-            {
-                state.error("Attribute reference cannot also specify form", XmlErrorContext.INVALID_NAME, xsdAttr);
-                // recovery: ignore form
-            }
-            
-            SchemaGlobalAttribute referenced = state.findGlobalAttribute(ref, chameleon ? targetNamespace : null);
-            if (referenced == null)
-            {
-                state.notFoundError(ref, XmlErrorContext.ATTRIBUTE_REF_NOT_FOUND, xsdAttr.xgetRef());
-                // recovery: ignore this element
-                return null;
-            }
-
-            qname = ref;
-            use = referenced.getUse();
-            sType = referenced.getType();
-            deftext = referenced.getDefaultText();
-            if (deftext != null)
-            {
-                isFixed = referenced.isFixed();
-            }
-        }
-        else
-        {
-            if (local)
-            {
-                FormChoice form = xsdAttr.xgetForm();
-                if (form == null)
-                    form = findAttributeFormDefault(xsdAttr);
-                if (form == null || form.getStringValue().equals("unqualified"))
-                    qname = QNameHelper.forLN(name);
-                else
-                    qname = QNameHelper.forLNS(name, targetNamespace);
-            }
-            else
-            {
-                qname = QNameHelper.forLNS(name, targetNamespace);
-            }
-
-            if (xsdAttr.getType() != null)
-            {
-                sType = state.findGlobalType(xsdAttr.getType(), chameleon ? targetNamespace : null );
-                if (sType == null)
-                    state.notFoundError(xsdAttr.getType(), XmlErrorContext.TYPE_NOT_FOUND, xsdAttr.xgetType());
-            }
-            
-            if (qname.getNamespaceURI().equals("http://www.w3.org/2001/XMLSchema-instance"))
-            {
-                state.error("Illegal namespace for attribute declaration.", XmlErrorContext.INVALID_NAME, xsdAttr.xgetName());
-            }
-            
-            if (qname.getNamespaceURI().length() == 0 && qname.getLocalPart().equals("xmlns"))
-            {
-                state.error("Illegal name for attribute declaration.", XmlErrorContext.INVALID_NAME, xsdAttr.xgetName());
-            }
-            
-            LocalSimpleType typedef = xsdAttr.getSimpleType();
-
-            if ((sType != null) && typedef != null)
-            {
-                state.error("Illegal to define a nested type when a type attribute is specified", XmlErrorContext.REDUNDANT_NESTED_TYPE, typedef);
-                typedef = null;
-            }
-
-            if (typedef != null)
-            {
-                SchemaTypeImpl sTypeImpl = new SchemaTypeImpl(state.sts());
-                sType = sTypeImpl;
-                sTypeImpl.setContainerField(sAttr);
-                sTypeImpl.setOuterSchemaTypeRef(outerType == null ? null : outerType.getRef());
-                // leave the anonymous type unresolved: it will be resolved later.
-                anonymousTypes.add(sType);
-                sTypeImpl.setSimpleType(true);
-                sTypeImpl.setParseContext(typedef, targetNamespace, chameleon, false);
-                sTypeImpl.setAnnotation(SchemaAnnotationImpl.getAnnotation(state.sts(), typedef));
-            }
-            
-            if (sType == null && baseModel != null && baseModel.getAttribute(qname) != null)
-                sType = baseModel.getAttribute(qname).getType();
-        }
-
-        if (sType == null)
-            sType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-
-        if (!sType.isSimpleType())
-        {
-            state.error("Attributes must have a simple type (not complex).", XmlErrorContext.INVALID_SCHEMA, xsdAttr);
-            // recovery: switch to the any-type
-            sType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE;
-        }
-        
-        if (xsdAttr.isSetUse())
-        {
-            use = translateUseCode(xsdAttr.xgetUse());
-            
-            // ignore referenced default if no longer optional
-            if (use != SchemaLocalAttribute.OPTIONAL && !isFixed)
-                deftext = null;
-        }
-        
-        if (xsdAttr.isSetDefault() || xsdAttr.isSetFixed())
-        {
-            if (isFixed && !xsdAttr.isSetFixed())
-                state.error("A use of a fixed attribute definition must also be fixed", XmlErrorContext.REDUNDANT_DEFAULT_FIXED, xsdAttr.xgetFixed());
-            
-            isFixed = xsdAttr.isSetFixed();
-            
-            if (xsdAttr.isSetDefault() && isFixed)
-            {
-                state.error("Should not set both default and fixed on the same attribute", XmlErrorContext.REDUNDANT_DEFAULT_FIXED, xsdAttr.xgetFixed());
-                // recovery: ignore fixed
-                isFixed = false;
-            }
-            deftext = isFixed ? xsdAttr.getFixed() : xsdAttr.getDefault();
-        }
-
-        if (!local)
-        {
-            ((SchemaGlobalAttributeImpl)sAttr).setFilename(findFilename(xsdAttr));
-        }
-
-        SOAPArrayType wat = null;
-        XmlCursor c = xsdAttr.newCursor();
-        String arrayType = c.getAttributeText(WSDL_ARRAYTYPE_NAME);
-        c.dispose();
-        if (arrayType != null)
-        {
-            wat = new SOAPArrayType(arrayType, new NamespaceContext(xsdAttr));
-        }
-
-        SchemaAnnotationImpl ann = SchemaAnnotationImpl.getAnnotation(state.sts(),
-            xsdAttr);
-        sAttr.init(
-            qname,
-            sType.getRef(),
-            use,
-            deftext, xsdAttr, null, isFixed,
-            wat, ann);
-
-        return sAttr;
-    }
-
-    static int translateUseCode(Attribute.Use attruse)
-    {
-        if (attruse == null)
-            return SchemaLocalAttribute.OPTIONAL;
-
-        String val = attruse.getStringValue();
-        if (val.equals("optional"))
-            return SchemaLocalAttribute.OPTIONAL;
-        if (val.equals("required"))
-            return SchemaLocalAttribute.REQUIRED;
-        if (val.equals("prohibited"))
-            return SchemaLocalAttribute.PROHIBITED;
-        return SchemaLocalAttribute.OPTIONAL;
-    }
-
-    static XmlInteger buildNnInteger(XmlAnySimpleType value)
-    {
-        if (value == null)
-            return null;
-        String text = value.getStringValue();
-        BigInteger bigInt;
-        try
-        {
-            bigInt = new BigInteger(text);
-        }
-        catch (NumberFormatException e)
-        {
-            StscState.get().error("Must be nonnegative integer", XmlErrorContext.MALFORMED_NUMBER, value);
-            return null;
-        }
-
-        if (bigInt.signum() < 0)
-        {
-            StscState.get().error("Must be nonnegative integer", XmlErrorContext.MALFORMED_NUMBER, value);
-            return null;
-        }
-        try
-        {
-            XmlIntegerImpl i = new XmlIntegerImpl();
-            i.set(bigInt);
-            i.setImmutable();
-            return i;
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            StscState.get().error("Internal error processing number", XmlErrorContext.MALFORMED_NUMBER, value);
-            return null;
-        }
-    }
-
-    private static boolean isReservedTypeName(QName name)
-    {
-        return (BuiltinSchemaTypeSystem.get().findType(name) != null);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/XmlValueRef.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/XmlValueRef.java
deleted file mode 100644
index 12355ad..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/schema/XmlValueRef.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.schema;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlAnySimpleType;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-
-public class XmlValueRef
-{
-    XmlAnySimpleType _obj;
-    SchemaType.Ref _typeref;
-    Object _initVal;
-
-    XmlValueRef(XmlAnySimpleType xobj)
-    {
-        if (xobj == null)
-            throw new IllegalArgumentException();
-        _obj = xobj;
-    }
-
-    XmlValueRef(SchemaType.Ref typeref, Object initVal)
-    {
-        if (typeref == null)
-            throw new IllegalArgumentException();
-        _typeref = typeref;
-        _initVal = initVal;
-    }
-
-    synchronized XmlAnySimpleType get()
-    {
-        if (_obj == null)
-        {
-            SchemaType type = _typeref.get();
-            if (type.getSimpleVariety() != SchemaType.LIST)
-                _obj = type.newValue(_initVal);
-            else
-            {
-                List actualVals = new ArrayList();
-                for (Iterator i = ((List)_initVal).iterator(); i.hasNext(); )
-                {
-                    XmlValueRef ref = (XmlValueRef)i.next();
-                    actualVals.add(ref.get());
-                }
-                _obj = type.newValue(actualVals);
-            }
-        }
-        return _obj;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/Base64.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/util/Base64.java
deleted file mode 100644
index 9f448d3..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/Base64.java
+++ /dev/null
@@ -1,361 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.util;
-
-import java.io.UnsupportedEncodingException;
-/**
- * This class provides encode/decode for RFC 2045 Base64 as
- * defined by RFC 2045, N. Freed and N. Borenstein.
- * RFC 2045: Multipurpose Internet Mail Extensions (MIME)
- * Part One: Format of Internet Message Bodies. Reference
- * 1996 Available at: http://www.ietf.org/rfc/rfc2045.txt
- * This class is used by XML Schema binary format validation
- *
- * This implementation does not encode/decode streaming
- * data. You need the data that you will encode/decode
- * already on a byte arrray.
- *
- * @author Jeffrey Rodriguez
- * @author Sandy Gao
- * @version $Id: Base64.java,v 1.2 2004/02/12 20:06:22 ericvas Exp $
- */
-public final class  Base64 {
-
-    static private final int  BASELENGTH         = 255;
-    static private final int  LOOKUPLENGTH       = 64;
-    static private final int  TWENTYFOURBITGROUP = 24;
-    static private final int  EIGHTBIT           = 8;
-    static private final int  SIXTEENBIT         = 16;
-    //static private final int  SIXBIT             = 6;
-    static private final int  FOURBYTE           = 4;
-    static private final int  SIGN               = -128;
-    static private final byte PAD                = ( byte ) '=';
-    static private final boolean fDebug          = false;
-    static private byte [] base64Alphabet        = new byte[BASELENGTH];
-    static private byte [] lookUpBase64Alphabet  = new byte[LOOKUPLENGTH];
-
-    static {
-
-        for (int i = 0; i<BASELENGTH; i++) {
-            base64Alphabet[i] = -1;
-        }
-        for (int i = 'Z'; i >= 'A'; i--) {
-            base64Alphabet[i] = (byte) (i-'A');
-        }
-        for (int i = 'z'; i>= 'a'; i--) {
-            base64Alphabet[i] = (byte) ( i-'a' + 26);
-        }
-
-        for (int i = '9'; i >= '0'; i--) {
-            base64Alphabet[i] = (byte) (i-'0' + 52);
-        }
-
-        base64Alphabet['+']  = 62;
-        base64Alphabet['/']  = 63;
-
-        for (int i = 0; i<=25; i++)
-            lookUpBase64Alphabet[i] = (byte) ('A'+i );
-
-        for (int i = 26,  j = 0; i<=51; i++, j++)
-            lookUpBase64Alphabet[i] = (byte) ('a'+ j );
-
-        for (int i = 52,  j = 0; i<=61; i++, j++)
-            lookUpBase64Alphabet[i] = (byte) ('0' + j );
-        lookUpBase64Alphabet[62] = (byte) '+';
-        lookUpBase64Alphabet[63] = (byte) '/';
-
-    }
-
-    protected static boolean isWhiteSpace(byte octect) {
-        return (octect == 0x20 || octect == 0xd || octect == 0xa || octect == 0x9);
-    }
-
-    protected static boolean isPad(byte octect) {
-        return (octect == PAD);
-    }
-
-    protected static boolean isData(byte octect) {
-        return (base64Alphabet[octect] != -1);
-    }
-
-    protected static boolean isBase64(byte octect) {
-        return (isWhiteSpace(octect) || isPad(octect) || isData(octect));
-    }
-
-    /**
-     * Encodes hex octects into Base64
-     *
-     * @param binaryData Array containing binaryData
-     * @return Encoded Base64 array
-     */
-    public static byte[] encode(byte[] binaryData) {
-
-        if (binaryData == null)
-            return null;
-
-        int      lengthDataBits    = binaryData.length*EIGHTBIT;
-        int      fewerThan24bits   = lengthDataBits%TWENTYFOURBITGROUP;
-        int      numberTriplets    = lengthDataBits/TWENTYFOURBITGROUP;
-        byte     encodedData[]     = null;
-
-        if (fewerThan24bits != 0) //data not divisible by 24 bit
-            encodedData = new byte[ (numberTriplets + 1 )*4  ];
-        else // 16 or 8 bit
-            encodedData = new byte[ numberTriplets*4 ];
-
-        byte k=0, l=0, b1=0,b2=0,b3=0;
-
-        int encodedIndex = 0;
-        int dataIndex   = 0;
-        int i           = 0;
-        if (fDebug) {
-            System.out.println("number of triplets = " + numberTriplets );
-        }
-        for (i = 0; i<numberTriplets; i++) {
-
-            dataIndex = i*3;
-            b1 = binaryData[dataIndex];
-            b2 = binaryData[dataIndex + 1];
-            b3 = binaryData[dataIndex + 2];
-
-            if (fDebug) {
-                System.out.println( "b1= " + b1 +", b2= " + b2 + ", b3= " + b3 );
-            }
-
-            l  = (byte)(b2 & 0x0f);
-            k  = (byte)(b1 & 0x03);
-
-            encodedIndex = i*4;
-            byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);
-
-            byte val2 = ((b2 & SIGN)==0)?(byte)(b2>>4):(byte)((b2)>>4^0xf0);
-            byte val3 = ((b3 & SIGN)==0)?(byte)(b3>>6):(byte)((b3)>>6^0xfc);
-
-            encodedData[encodedIndex]   = lookUpBase64Alphabet[ val1 ];
-            if (fDebug) {
-                System.out.println( "val2 = " + val2 );
-                System.out.println( "k4   = " + (k<<4));
-                System.out.println( "vak  = " + (val2 | (k<<4)));
-            }
-
-            encodedData[encodedIndex+1] = lookUpBase64Alphabet[ val2 | ( k<<4 )];
-            encodedData[encodedIndex+2] = lookUpBase64Alphabet[ (l <<2 ) | val3 ];
-            encodedData[encodedIndex+3] = lookUpBase64Alphabet[ b3 & 0x3f ];
-        }
-
-        // form integral number of 6-bit groups
-        dataIndex    = i*3;
-        encodedIndex = i*4;
-        if (fewerThan24bits == EIGHTBIT) {
-            b1 = binaryData[dataIndex];
-            k = (byte) ( b1 &0x03 );
-            if (fDebug) {
-                System.out.println("b1=" + b1);
-                System.out.println("b1<<2 = " + (b1>>2) );
-            }
-            byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);
-            encodedData[encodedIndex]     = lookUpBase64Alphabet[ val1 ];
-            encodedData[encodedIndex + 1] = lookUpBase64Alphabet[ k<<4 ];
-            encodedData[encodedIndex + 2] = PAD;
-            encodedData[encodedIndex + 3] = PAD;
-        } else if (fewerThan24bits == SIXTEENBIT) {
-
-            b1 = binaryData[dataIndex];
-            b2 = binaryData[dataIndex +1 ];
-            l = ( byte ) ( b2 &0x0f );
-            k = ( byte ) ( b1 &0x03 );
-
-            byte val1 = ((b1 & SIGN)==0)?(byte)(b1>>2):(byte)((b1)>>2^0xc0);
-            byte val2 = ((b2 & SIGN)==0)?(byte)(b2>>4):(byte)((b2)>>4^0xf0);
-
-            encodedData[encodedIndex]     = lookUpBase64Alphabet[ val1 ];
-            encodedData[encodedIndex + 1] = lookUpBase64Alphabet[ val2 | ( k<<4 )];
-            encodedData[encodedIndex + 2] = lookUpBase64Alphabet[ l<<2 ];
-            encodedData[encodedIndex + 3] = PAD;
-        }
-
-        return encodedData;
-    }
-
-    /**
-     * Decodes Base64 data into octects
-     *
-     * @param base64Data Byte array containing Base64 data
-     * @return Array containind decoded data.
-     */
-    public static byte[] decode(byte[] base64Data) {
-
-        if (base64Data == null)
-            return null;
-
-        // remove white spaces
-        base64Data = removeWhiteSpace(base64Data);
-
-        if (base64Data.length%FOURBYTE != 0) {
-            return null;//should be divisible by four
-        }
-
-        int      numberQuadruple    = (base64Data.length/FOURBYTE );
-
-        if (numberQuadruple == 0)
-            return new byte[0];
-
-        byte     decodedData[]      = null;
-        byte     b1=0,b2=0,b3=0, b4=0;//, marker0=0, marker1=0;
-        byte     d1=0,d2=0,d3=0,d4=0;
-
-        // Throw away anything not in normalizedBase64Data
-        // Adjust size
-        int i = 0;
-        int encodedIndex = 0;
-        int dataIndex    = 0;
-        decodedData      = new byte[ (numberQuadruple)*3];
-
-        for (; i<numberQuadruple-1; i++) {
-
-            if (!isData( (d1 = base64Data[dataIndex++]) )||
-                !isData( (d2 = base64Data[dataIndex++]) )||
-                !isData( (d3 = base64Data[dataIndex++]) )||
-                !isData( (d4 = base64Data[dataIndex++]) ))
-                return null;//if found "no data" just return null
-
-            b1 = base64Alphabet[d1];
-            b2 = base64Alphabet[d2];
-            b3 = base64Alphabet[d3];
-            b4 = base64Alphabet[d4];
-
-            decodedData[encodedIndex++] = (byte)(  b1 <<2 | b2>>4 ) ;
-            decodedData[encodedIndex++] = (byte)(((b2 & 0xf)<<4 ) |( (b3>>2) & 0xf) );
-            decodedData[encodedIndex++] = (byte)( b3<<6 | b4 );
-        }
-
-        if (!isData( (d1 = base64Data[dataIndex++]) ) ||
-            !isData( (d2 = base64Data[dataIndex++]) )) {
-            return null;//if found "no data" just return null
-        }
-
-        b1 = base64Alphabet[d1];
-        b2 = base64Alphabet[d2];
-
-        d3 = base64Data[dataIndex++];
-        d4 = base64Data[dataIndex++];
-        if (!isData( (d3 ) ) ||
-            !isData( (d4 ) )) {//Check if they are PAD characters
-            if (isPad( d3 ) && isPad( d4)) {               //Two PAD e.g. 3c[Pad][Pad]
-                if ((b2 & 0xf) != 0)//last 4 bits should be zero
-                    return null;
-                byte[] tmp = new byte[ i*3 + 1 ];
-                System.arraycopy( decodedData, 0, tmp, 0, i*3 );
-                tmp[encodedIndex]   = (byte)(  b1 <<2 | b2>>4 ) ;
-                return tmp;
-            } else if (!isPad( d3) && isPad(d4)) {               //One PAD  e.g. 3cQ[Pad]
-                b3 = base64Alphabet[ d3 ];
-                if ((b3 & 0x3 ) != 0)//last 2 bits should be zero
-                    return null;
-                byte[] tmp = new byte[ i*3 + 2 ];
-                System.arraycopy( decodedData, 0, tmp, 0, i*3 );
-                tmp[encodedIndex++] = (byte)(  b1 <<2 | b2>>4 );
-                tmp[encodedIndex]   = (byte)(((b2 & 0xf)<<4 ) |( (b3>>2) & 0xf) );
-                return tmp;
-            } else {
-                return null;//an error  like "3c[Pad]r", "3cdX", "3cXd", "3cXX" where X is non data
-            }
-        } else { //No PAD e.g 3cQl
-            b3 = base64Alphabet[ d3 ];
-            b4 = base64Alphabet[ d4 ];
-            decodedData[encodedIndex++] = (byte)(  b1 <<2 | b2>>4 ) ;
-            decodedData[encodedIndex++] = (byte)(((b2 & 0xf)<<4 ) |( (b3>>2) & 0xf) );
-            decodedData[encodedIndex++] = (byte)( b3<<6 | b4 );
-
-        }
-
-        return decodedData;
-    }
-
-    /**
-     * Decodes Base64 data into octects
-     *
-     * @param base64Data String containing Base64 data
-     * @return string containing decoded data.
-     */
-    public static String decode(String base64Data) {
-        if (base64Data == null)
-            return null;
-
-        byte[] decoded = null;
-        try {
-            decoded = decode(base64Data.getBytes("utf-8"));
-        }
-        catch(UnsupportedEncodingException e) {
-        }
-        finally {
-            return decoded == null ? null : new String(decoded);
-        }
-    }
-
-    /**
-     * Encodes octects (using utf-8) into Base64 data
-     *
-     * @param binaryData String containing Hex data
-     * @return string containing decoded data.
-     */
-    public static String encode(String binaryData) {
-        if (binaryData == null)
-            return null;
-
-        byte[] encoded = null;
-         try {
-          encoded = encode(binaryData.getBytes("utf-8"));
-        }
-        catch(UnsupportedEncodingException e) {}
-        finally {
-            return encoded == null ? null : new String(encoded);
-        }
-    }
-
-    /**
-     * remove WhiteSpace from MIME containing encoded Base64 data.
-     *
-     * @param data  the byte array of base64 data (with WS)
-     * @return      the byte array of base64 data (without WS)
-     */
-    protected static byte[] removeWhiteSpace(byte[] data) {
-        if (data == null)
-            return null;
-
-        // count characters that's not whitespace
-        int newSize = 0;
-        int len = data.length;
-        for (int i = 0; i < len; i++) {
-            if (!isWhiteSpace(data[i]))
-                newSize++;
-        }
-
-        // if no whitespace, just return the input array
-        if (newSize == len)
-            return data;
-
-        // create the array to return
-        byte[] newArray = new byte[newSize];
-
-        int j = 0;
-        for (int i = 0; i < len; i++) {
-            if (!isWhiteSpace(data[i]))
-                newArray[j++] = data[i];
-        }
-        return newArray;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/HexBin.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/util/HexBin.java
deleted file mode 100644
index d546e8a..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/HexBin.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.util;
-
-import java.io.UnsupportedEncodingException;
-/**
- * format validation
- *
- * This class encodes/decodes hexadecimal data
- * @author Jeffrey Rodriguez
- * @version $Id: HexBin.java,v 1.2 2004/02/12 20:06:22 ericvas Exp $
- */
-public final class  HexBin {
-    static private final int  BASELENGTH   = 255;
-    static private final int  LOOKUPLENGTH = 16;
-    static private byte [] hexNumberTable    = new byte[BASELENGTH];
-    static private byte [] lookUpHexAlphabet = new byte[LOOKUPLENGTH];
-
-
-    static {
-        for (int i = 0; i<BASELENGTH; i++ ) {
-            hexNumberTable[i] = -1;
-        }
-        for ( int i = '9'; i >= '0'; i--) {
-            hexNumberTable[i] = (byte) (i-'0');
-        }
-        for ( int i = 'F'; i>= 'A'; i--) {
-            hexNumberTable[i] = (byte) ( i-'A' + 10 );
-        }
-        for ( int i = 'f'; i>= 'a'; i--) {
-           hexNumberTable[i] = (byte) ( i-'a' + 10 );
-        }
-
-        for(int i = 0; i<10; i++ )
-            lookUpHexAlphabet[i] = (byte) ('0'+i );
-        for(int i = 10; i<=15; i++ )
-            lookUpHexAlphabet[i] = (byte) ('A'+i -10);
-    }
-
-    /**
-     * byte to be tested if it is Base64 alphabet
-     *
-     * @param octect
-     * @return
-     */
-    static boolean isHex(byte octect) {
-        return (hexNumberTable[octect] != -1);
-    }
-
-    /**
-     * Converts bytes to a hex string
-     */
-    static public String bytesToString(byte[] binaryData)
-    {
-        if (binaryData == null)
-            return null;
-        return new String(encode(binaryData));
-    }
-
-    /**
-     * Converts a hex string to a byte array.
-     */
-    static public byte[] stringToBytes(String hexEncoded)
-    {
-        return decode(hexEncoded.getBytes());
-    }
-
-    /**
-     * array of byte to encode
-     *
-     * @param binaryData
-     * @return return encode binary array
-     */
-    static public byte[] encode(byte[] binaryData) {
-        if (binaryData == null)
-            return null;
-        int lengthData   = binaryData.length;
-        int lengthEncode = lengthData * 2;
-        byte[] encodedData = new byte[lengthEncode];
-        for( int i = 0; i<lengthData; i++ ){
-            encodedData[i*2] = lookUpHexAlphabet[(binaryData[i] >> 4) & 0xf];
-            encodedData[i*2+1] = lookUpHexAlphabet[ binaryData[i] & 0xf];
-        }
-        return encodedData;
-    }
-
-    static public byte[] decode(byte[] binaryData) {
-        if (binaryData == null)
-            return null;
-        int lengthData   = binaryData.length;
-        if (lengthData % 2 != 0)
-            return null;
-
-        int lengthDecode = lengthData / 2;
-        byte[] decodedData = new byte[lengthDecode];
-        for( int i = 0; i<lengthDecode; i++ ){
-            if (!isHex(binaryData[i*2]) || !isHex(binaryData[i*2+1])) {
-                return null;
-            }
-            decodedData[i] = (byte)((hexNumberTable[binaryData[i*2]] << 4) | hexNumberTable[binaryData[i*2+1]]);
-        }
-        return decodedData;
-    }
-
-    /**
-     * Decodes Hex data into octects
-     *
-     * @param binaryData String containing Hex data
-     * @return string containing decoded data.
-     */
-    public static String decode(String binaryData) {
-        if (binaryData == null)
-            return null;
-
-        byte[] decoded = null;
-         try {
-          decoded = decode(binaryData.getBytes("utf-8"));
-        }
-        catch(UnsupportedEncodingException e) {
-         }
-        finally {
-        return decoded == null ? null : new String(decoded);
-        }
-    }
-
-    /**
-     * Encodes octects (using utf-8) into Hex data
-     *
-     * @param binaryData String containing Hex data
-     * @return string containing decoded data.
-     */
-    public static String encode(String binaryData) {
-        if (binaryData == null)
-            return null;
-
-        byte[] encoded = null;
-         try {
-          encoded = encode(binaryData.getBytes("utf-8"));
-        }
-        catch(UnsupportedEncodingException e) {}
-        finally {
-            return encoded == null ? null : new String(encoded);
-        }
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java
deleted file mode 100644
index e29d331..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java
+++ /dev/null
@@ -1,682 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.util;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Date;
-
-public final class XsTypeConverter
-{
-    private static final String POS_INF_LEX = "INF";
-    private static final String NEG_INF_LEX = "-INF";
-    private static final String NAN_LEX = "NaN";
-
-    private static final char NAMESPACE_SEP = ':';
-    private static final String EMPTY_PREFIX = "";
-    private static final BigDecimal DECIMAL__ZERO = new BigDecimal(0.0);
-
-    // ======================== float ========================
-    public static float lexFloat(CharSequence cs)
-        throws NumberFormatException
-    {
-        final String v = cs.toString();
-        try {
-            //current jdk impl of parseFloat calls trim() on the string.
-            //Any other space is illegal anyway, whether there are one or more spaces.
-            //so no need to do a collapse pass through the string.
-            if (cs.length() > 0) {
-                char ch = cs.charAt(cs.length() - 1);
-                if (ch == 'f' || ch == 'F') {
-                    if (cs.charAt(cs.length() - 2) != 'N')
-                        throw new NumberFormatException("Invalid char '" + ch + "' in float.");
-                }
-            }
-            return Float.parseFloat(v);
-        }
-        catch (NumberFormatException e) {
-            if (v.equals(POS_INF_LEX)) return Float.POSITIVE_INFINITY;
-            if (v.equals(NEG_INF_LEX)) return Float.NEGATIVE_INFINITY;
-            if (v.equals(NAN_LEX)) return Float.NaN;
-
-            throw e;
-        }
-    }
-
-    public static float lexFloat(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexFloat(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid float: " + cs;
-            errors.add(XmlError.forMessage(msg));
-
-            return Float.NaN;
-        }
-    }
-
-    public static String printFloat(float value)
-    {
-        if (value == Float.POSITIVE_INFINITY)
-            return POS_INF_LEX;
-        else if (value == Float.NEGATIVE_INFINITY)
-            return NEG_INF_LEX;
-        else if (value == Float.NaN)
-            return NAN_LEX;
-        else
-            return Float.toString(value);
-    }
-
-
-    // ======================== double ========================
-    public static double lexDouble(CharSequence cs)
-        throws NumberFormatException
-    {
-        final String v = cs.toString();
-
-        try {
-            //current jdk impl of parseDouble calls trim() on the string.
-            //Any other space is illegal anyway, whether there are one or more spaces.
-            //so no need to do a collapse pass through the string.
-            if (cs.length() > 0) {
-                char ch = cs.charAt(cs.length() - 1);
-                if (ch == 'd' || ch == 'D')
-                    throw new NumberFormatException("Invalid char '" + ch + "' in double.");
-            }
-            return Double.parseDouble(v);
-        }
-        catch (NumberFormatException e) {
-            if (v.equals(POS_INF_LEX)) return Double.POSITIVE_INFINITY;
-            if (v.equals(NEG_INF_LEX)) return Double.NEGATIVE_INFINITY;
-            if (v.equals(NAN_LEX)) return Double.NaN;
-
-            throw e;
-        }
-    }
-
-    public static double lexDouble(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexDouble(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid double: " + cs;
-            errors.add(XmlError.forMessage(msg));
-
-            return Double.NaN;
-        }
-    }
-
-    public static String printDouble(double value)
-    {
-        if (value == Double.POSITIVE_INFINITY)
-            return POS_INF_LEX;
-        else if (value == Double.NEGATIVE_INFINITY)
-            return NEG_INF_LEX;
-        else if (value == Double.NaN)
-            return NAN_LEX;
-        else
-            return Double.toString(value);
-    }
-
-
-    // ======================== decimal ========================
-    public static BigDecimal lexDecimal(CharSequence cs)
-        throws NumberFormatException
-    {
-        final String v = cs.toString();
-
-        //TODO: review this
-        //NOTE: we trim unneeded zeros from the string because
-        //java.math.BigDecimal considers them significant for its
-        //equals() method, but the xml value
-        //space does not consider them significant.
-        //See http://www.w3.org/2001/05/xmlschema-errata#e2-44
-        return new BigDecimal(trimTrailingZeros(v));
-    }
-
-    public static BigDecimal lexDecimal(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexDecimal(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid long: " + cs;
-            errors.add(XmlError.forMessage(msg));
-            return DECIMAL__ZERO;
-        }
-    }
-
-    public static String printDecimal(BigDecimal value)
-    {
-        return value.toString();
-    }
-
-    // ======================== integer ========================
-    public static BigInteger lexInteger(CharSequence cs)
-        throws NumberFormatException
-    {
-        if (cs.length() > 1) {
-            if (cs.charAt(0) == '+' && cs.charAt(1) == '-')
-                throw new NumberFormatException("Illegal char sequence '+-'");
-        }
-        final String v = cs.toString();
-
-        //TODO: consider special casing zero and one to return static values
-        //from BigInteger to avoid object creation.
-        return new BigInteger(trimInitialPlus(v));
-    }
-
-    public static BigInteger lexInteger(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexInteger(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid long: " + cs;
-            errors.add(XmlError.forMessage(msg));
-            return BigInteger.ZERO;
-        }
-    }
-
-    public static String printInteger(BigInteger value)
-    {
-        return value.toString();
-    }
-
-    // ======================== long ========================
-    public static long lexLong(CharSequence cs)
-        throws NumberFormatException
-    {
-        final String v = cs.toString();
-        return Long.parseLong(trimInitialPlus(v));
-    }
-
-    public static long lexLong(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexLong(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid long: " + cs;
-            errors.add(XmlError.forMessage(msg));
-            return 0L;
-        }
-    }
-
-    public static String printLong(long value)
-    {
-        return Long.toString(value);
-    }
-
-
-    // ======================== short ========================
-    public static short lexShort(CharSequence cs)
-        throws NumberFormatException
-    {
-        return parseShort(cs);
-    }
-
-    public static short lexShort(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexShort(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid short: " + cs;
-            errors.add(XmlError.forMessage(msg));
-            return 0;
-        }
-    }
-
-    public static String printShort(short value)
-    {
-        return Short.toString(value);
-    }
-
-
-    // ======================== int ========================
-    public static int lexInt(CharSequence cs)
-        throws NumberFormatException
-    {
-        return parseInt(cs);
-    }
-
-    public static int lexInt(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexInt(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid int:" + cs;
-            errors.add(XmlError.forMessage(msg));
-            return 0;
-        }
-    }
-
-    public static String printInt(int value)
-    {
-        return Integer.toString(value);
-    }
-
-
-    // ======================== byte ========================
-    public static byte lexByte(CharSequence cs)
-        throws NumberFormatException
-    {
-        return parseByte(cs);
-    }
-
-    public static byte lexByte(CharSequence cs, Collection errors)
-    {
-        try {
-            return lexByte(cs);
-        }
-        catch (NumberFormatException e) {
-            String msg = "invalid byte: " + cs;
-            errors.add(XmlError.forMessage(msg));
-            return 0;
-        }
-    }
-
-    public static String printByte(byte value)
-    {
-        return Byte.toString(value);
-    }
-
-
-    // ======================== boolean ========================
-    public static boolean lexBoolean(CharSequence v)
-    {
-        switch (v.length()) {
-            case 1:  // "0" or "1"
-                final char c = v.charAt(0);
-                if ('0' == c) return false;
-                if ('1' == c) return true;
-                break;
-            case 4:  //"true"
-                if ('t' == v.charAt(0) &&
-                    'r' == v.charAt(1) &&
-                    'u' == v.charAt(2) &&
-                    'e' == v.charAt(3)) {
-                    return true;
-                }
-                break;
-            case 5:  //"false"
-                if ('f' == v.charAt(0) &&
-                    'a' == v.charAt(1) &&
-                    'l' == v.charAt(2) &&
-                    's' == v.charAt(3) &&
-                    'e' == v.charAt(4)) {
-                    return false;
-                }
-                break;
-        }
-
-        //reaching here means an invalid boolean lexical
-        String msg = "invalid boolean: " + v;
-        throw new InvalidLexicalValueException(msg);
-    }
-
-    public static boolean lexBoolean(CharSequence value, Collection errors)
-    {
-        try {
-            return lexBoolean(value);
-        }
-        catch (InvalidLexicalValueException e) {
-            errors.add(XmlError.forMessage(e.getMessage()));
-            return false;
-        }
-    }
-
-    public static String printBoolean(boolean value)
-    {
-        return (value ? "true" : "false");
-    }
-
-
-    // ======================== string ========================
-    public static String lexString(CharSequence cs, Collection errors)
-    {
-        final String v = cs.toString();
-
-        return v;
-    }
-
-
-    public static String lexString(CharSequence lexical_value)
-    {
-        return lexical_value.toString();
-    }
-
-    public static String printString(String value)
-    {
-        return value;
-    }
-
-
-    // ======================== QName ========================
-    public static QName lexQName(CharSequence charSeq, NamespaceContext nscontext)
-    {
-        String prefix, localname;
-
-        int firstcolon;
-        boolean hasFirstCollon = false;
-        for (firstcolon = 0; firstcolon < charSeq.length(); firstcolon++)
-            if (charSeq.charAt(firstcolon) == NAMESPACE_SEP) {
-                hasFirstCollon = true;
-                break;
-            }
-
-        if (hasFirstCollon) {
-            prefix = charSeq.subSequence(0, firstcolon).toString();
-            localname = charSeq.subSequence(firstcolon + 1, charSeq.length()).toString();
-            if (firstcolon == 0) {
-                throw new InvalidLexicalValueException("invalid xsd:QName '" + charSeq.toString() + "'");
-            }
-        } else {
-            prefix = EMPTY_PREFIX;
-            localname = charSeq.toString();
-        }
-
-        String uri = nscontext.getNamespaceURI(prefix);
-
-        if (uri == null) {
-            if (prefix != null && prefix.length() > 0)
-                throw new InvalidLexicalValueException("Can't resolve prefix: " + prefix);
-
-            uri = "";
-        }
-
-        return new QName(uri, localname);
-    }
-
-    public static QName lexQName(String xsd_qname, Collection errors,
-                                 NamespaceContext nscontext)
-    {
-        try {
-            return lexQName(xsd_qname, nscontext);
-        }
-        catch (InvalidLexicalValueException e) {
-            errors.add(XmlError.forMessage(e.getMessage()));
-            final int idx = xsd_qname.indexOf(NAMESPACE_SEP);
-            return new QName(null, xsd_qname.substring(idx));
-        }
-    }
-
-    public static String printQName(QName qname, NamespaceContext nsContext,
-                                    Collection errors)
-    {
-        final String uri = qname.getNamespaceURI();
-        assert uri != null; //qname is not allowed to have null uri values
-        final String prefix;
-        if (uri.length() > 0) {
-            prefix = nsContext.getPrefix(uri);
-            if (prefix == null) {
-                String msg = "NamespaceContext does not provide" +
-                    " prefix for namespaceURI " + uri;
-                errors.add(XmlError.forMessage(msg));
-            }
-        } else {
-            prefix = null;
-        }
-        return getQNameString(uri, qname.getLocalPart(), prefix);
-
-    }
-
-    public static String getQNameString(String uri,
-                                        String localpart,
-                                        String prefix)
-    {
-        if (prefix != null &&
-            uri != null &&
-            uri.length() > 0 &&
-            prefix.length() > 0) {
-            return (prefix + NAMESPACE_SEP + localpart);
-        } else {
-            return localpart;
-        }
-    }
-
-    // ======================== GDate ========================
-    public static GDate lexGDate(CharSequence charSeq)
-    {
-        return new GDate(charSeq);
-    }
-
-    public static GDate lexGDate(String xsd_gdate, Collection errors)
-    {
-        try {
-            return lexGDate(xsd_gdate);
-        }
-        catch (IllegalArgumentException e) {
-            errors.add(XmlError.forMessage(e.getMessage()));
-            return new GDateBuilder().toGDate();
-        }
-    }
-
-    public static String printGDate(GDate gdate, Collection errors)
-    {
-        return gdate.toString();
-    }
-
-
-    // ======================== dateTime ========================
-    public static XmlCalendar lexDateTime(CharSequence v)
-    {
-        GDateSpecification value = getGDateValue(v, SchemaType.BTC_DATE_TIME);
-        return value.getCalendar();
-    }
-
-
-    public static String printDateTime(Calendar c)
-    {
-        return printDateTime(c, SchemaType.BTC_DATE_TIME);
-    }
-
-    public static String printTime(Calendar c)
-    {
-        return printDateTime(c, SchemaType.BTC_TIME);
-    }
-
-    public static String printDate(Calendar c)
-    {
-        return printDateTime(c, SchemaType.BTC_DATE);
-    }
-
-    public static String printDate(Date d)
-    {
-        GDateSpecification value = getGDateValue(d, SchemaType.BTC_DATE);
-        return value.toString();
-    }
-
-    public static String printDateTime(Calendar c, int type_code)
-    {
-        GDateSpecification value = getGDateValue(c, type_code);
-        return value.toString();
-    }
-
-    public static String printDateTime(Date c)
-    {
-        GDateSpecification value = getGDateValue(c, SchemaType.BTC_DATE_TIME);
-        return value.toString();
-    }
-
-
-    // ======================== hexBinary ========================
-    public static CharSequence printHexBinary(byte[] val)
-    {
-        return HexBin.bytesToString(val);
-    }
-
-    public static byte[] lexHexBinary(CharSequence lexical_value)
-    {
-        byte[] buf = HexBin.decode(lexical_value.toString().getBytes());
-        if (buf != null)
-            return buf;
-        else
-            throw new InvalidLexicalValueException("invalid hexBinary value");
-    }
-
-
-    // ======================== base64binary ========================
-    public static CharSequence printBase64Binary(byte[] val)
-    {
-        final byte[] bytes = Base64.encode(val);
-        return new String(bytes);
-    }
-
-    public static byte[] lexBase64Binary(CharSequence lexical_value)
-    {
-        byte[] buf = Base64.decode(lexical_value.toString().getBytes());
-        if (buf != null)
-            return buf;
-        else
-            throw new InvalidLexicalValueException("invalid base64Binary value");
-    }
-
-
-    // date utils
-    public static GDateSpecification getGDateValue(Date d,
-                                                   int builtin_type_code)
-    {
-        GDateBuilder gDateBuilder = new GDateBuilder(d);
-        gDateBuilder.setBuiltinTypeCode(builtin_type_code);
-        GDate value = gDateBuilder.toGDate();
-        return value;
-    }
-
-
-    public static GDateSpecification getGDateValue(Calendar c,
-                                                   int builtin_type_code)
-    {
-        GDateBuilder gDateBuilder = new GDateBuilder(c);
-        gDateBuilder.setBuiltinTypeCode(builtin_type_code);
-        GDate value = gDateBuilder.toGDate();
-        return value;
-    }
-
-    public static GDateSpecification getGDateValue(CharSequence v,
-                                                   int builtin_type_code)
-    {
-        GDateBuilder gDateBuilder = new GDateBuilder(v);
-        gDateBuilder.setBuiltinTypeCode(builtin_type_code);
-        GDate value = gDateBuilder.toGDate();
-        return value;
-    }
-
-    private static String trimInitialPlus(String xml)
-    {
-        if (xml.length() > 0 && xml.charAt(0) == '+') {
-            return xml.substring(1);
-        } else {
-            return xml;
-        }
-    }
-
-    private static String trimTrailingZeros(String xsd_decimal)
-    {
-        final int last_char_idx = xsd_decimal.length() - 1;
-        if (xsd_decimal.charAt(last_char_idx) == '0') {
-            final int last_point = xsd_decimal.lastIndexOf('.');
-            if (last_point >= 0) {
-                //find last trailing zero
-                for (int idx = last_char_idx; idx > last_point; idx--) {
-                    if (xsd_decimal.charAt(idx) != '0') {
-                        return xsd_decimal.substring(0, idx + 1);
-                    }
-                }
-                //reaching here means the string matched xxx.0*
-                return xsd_decimal.substring(0, last_point);
-            }
-        }
-        return xsd_decimal;
-    }
-
-    private static int parseInt(CharSequence cs)
-    {
-        return parseIntXsdNumber(cs, Integer.MIN_VALUE, Integer.MAX_VALUE);
-    }
-
-    private static short parseShort(CharSequence cs)
-    {
-        return (short)parseIntXsdNumber(cs, Short.MIN_VALUE, Short.MAX_VALUE);
-    }
-
-    private static byte parseByte(CharSequence cs)
-    {
-        return (byte)parseIntXsdNumber(cs, Byte.MIN_VALUE, Byte.MAX_VALUE);
-    }
-
-    private static int parseIntXsdNumber(CharSequence ch, int min_value, int max_value)
-    {
-        // int parser on a CharSequence
-        int length = ch.length();
-        if (length < 1)
-            throw new NumberFormatException("For input string: \"" + ch.toString() + "\"");
-
-        int sign = 1;
-        int result = 0;
-        int start = 0;
-        int limit;
-        int limit2;
-
-        char c = ch.charAt(0);
-        if (c == '-') {
-            start++;
-            limit = (min_value / 10);
-            limit2 = -(min_value % 10);
-        } else if (c == '+') {
-            start++;
-            sign = -1;
-            limit = -(max_value / 10);
-            limit2 = (max_value % 10);
-        } else {
-            sign = -1;
-            limit = -(max_value / 10);
-            limit2 = (max_value % 10);
-        }
-
-        for (int i = 0; i < length - start; i++) {
-            c = ch.charAt(i + start);
-            int v = Character.digit(c, 10);
-
-            if (v < 0)
-                throw new NumberFormatException("For input string: \"" + ch.toString() + "\"");
-
-            if (result <= limit && v > limit2)
-                throw new NumberFormatException("For input string: \"" + ch.toString() + "\"");
-
-            result = result * 10 - v;
-        }
-
-        return sign * result;
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLInputStream.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLInputStream.java
deleted file mode 100644
index 51be135..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLInputStream.java
+++ /dev/null
@@ -1,387 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.validator;
-
-import org.apache.xmlbeans.impl.common.XMLNameHelper;
-import org.apache.xmlbeans.impl.common.GenericXmlInputStream;
-import org.apache.xmlbeans.impl.common.ValidatorListener.Event;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XMLStreamValidationException;
-import java.util.Map;
-import java.util.AbstractCollection;
-import java.util.Iterator;
-import java.util.Collections;
-
-import org.apache.xmlbeans.xml.stream.Attribute;
-import org.apache.xmlbeans.xml.stream.AttributeIterator;
-import org.apache.xmlbeans.xml.stream.CharacterData;
-import org.apache.xmlbeans.xml.stream.StartElement;
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLName;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-
-
-public final class ValidatingXMLInputStream
-    extends GenericXmlInputStream implements Event
-{
-    public ValidatingXMLInputStream (
-        XMLInputStream xis,
-        SchemaTypeLoader typeLoader, SchemaType sType, XmlOptions options )
-            throws XMLStreamException
-    {
-        _source = xis;
-
-        // Figure out the root type
-
-        options = XmlOptions.maskNull( options );
-        
-        SchemaType type = (SchemaType) options.get( XmlOptions.DOCUMENT_TYPE );
-
-        if (type == null)
-            type = sType;
-
-        if (type == null)
-        {
-            type = BuiltinSchemaTypeSystem.ST_ANY_TYPE;
-
-            xis = xis.getSubStream();
-
-            if (xis.skip( XMLEvent.START_ELEMENT ))
-            {
-                SchemaType docType =
-                    typeLoader.findDocumentType(
-                        XMLNameHelper.getQName( xis.next().getName() ) );
-
-                if (docType != null)
-                    type = docType;
-            }
-
-            xis.close();
-        }
-
-        // Create the validator
-
-        _validator =
-            new Validator(
-                type, null, typeLoader, options, new ExceptionXmlErrorListener() );
-
-        nextEvent( ValidatorListener.BEGIN );
-    }
-
-    // TODO - this is the quick and dirty impl of streaming validation,
-    // may objects are created (like strings) which can be optimized
-    
-    protected XMLEvent nextEvent ( ) throws XMLStreamException
-    {
-        XMLEvent e = _source.next();
-
-        if (e == null)
-        {
-            if (!_finished)
-            {
-                flushText();
-                nextEvent( ValidatorListener.END );
-                _finished = true;
-            }
-        }
-        else
-        {
-            switch ( e.getType() )
-            {
-            case XMLEvent.CHARACTER_DATA :
-            case XMLEvent.SPACE :
-            {
-                CharacterData cd = (CharacterData) e;
-
-                if (cd.hasContent())
-                    _text.append( cd.getContent() );
-
-                break;
-            }
-            case XMLEvent.START_ELEMENT :
-            {
-                StartElement se = (StartElement) e;
-                
-                flushText();
-
-                // Used for prefix to namespace mapping
-                _startElement = se;
-
-                // Prepare the xsi:* values
-                
-                AttributeIterator attrs = se.getAttributes();
-
-                while ( attrs.hasNext() )
-                {
-                    Attribute attr = attrs.next();
-
-                    XMLName attrName = attr.getName();
-
-                    if ("http://www.w3.org/2001/XMLSchema-instance".equals(
-                            attrName.getNamespaceUri() ))
-                    {
-                        String local = attrName.getLocalName();
-
-                        if (local.equals( "type" ))
-                            _xsiType = attr.getValue();
-                        else if (local.equals( "nil" ))
-                            _xsiNil = attr.getValue();
-                        else if (local.equals( "schemaLocation" ))
-                            _xsiLoc = attr.getValue();
-                        else if (local.equals( "noNamespaceSchemaLocation" ))
-                            _xsiNoLoc = attr.getValue();
-                    }
-                }
-
-                // Emit the START
-
-                // TODO - should delay the aquisition of the name
-                _name = e.getName();
-
-                nextEvent( ValidatorListener.BEGIN );
-                
-                // Emit the attrs
-                
-                attrs = se.getAttributes();
-
-                while ( attrs.hasNext() )
-                {
-                    Attribute attr = attrs.next();
-
-                    XMLName attrName = attr.getName();
-
-                    if ("http://www.w3.org/2001/XMLSchema-instance".equals(
-                            attrName.getNamespaceUri() ))
-                    {
-                        String local = attrName.getLocalName();
-
-                        if (local.equals( "type" ))
-                            continue;
-                        else if (local.equals( "nil" ))
-                            continue;
-                        else if (local.equals( "schemaLocation" ))
-                            continue;
-                        else if (local.equals( "noNamespaceSchemaLocation" ))
-                            continue;
-                    }
-
-                    // TODO - God, this is lame :-)
-
-                    _text.append( attr.getValue() );
-                    _name = attr.getName();
-                    
-                    nextEvent( ValidatorListener.ATTR );
-                }
-
-                clearText();
-
-                _startElement = null;
-
-                break;
-            }
-
-            case XMLEvent.END_ELEMENT :
-            {
-                flushText();
-                
-                nextEvent( ValidatorListener.END );
-
-                break;
-            }
-            }
-        }
-
-        return e;
-    }
-
-    private void clearText ( )
-    {
-        _text.delete( 0, _text.length() );
-    }
-    
-    private void flushText ( ) throws XMLStreamException
-    {
-        if (_text.length() > 0)
-        {
-            nextEvent( ValidatorListener.TEXT );
-            clearText();
-        }
-    }
-    
-    public String getNamespaceForPrefix ( String prefix )
-    {
-        if (_startElement == null)
-            return null;
-
-        Map map = _startElement.getNamespaceMap();
-
-        if (map == null)
-            return null;
-
-        return (String) map.get( prefix );
-    }
-
-    public XmlCursor getLocationAsCursor ( )
-    {
-        return null;
-    }
-
-    public javax.xml.stream.Location getLocation()
-    {
-        try
-        {
-            final org.apache.xmlbeans.xml.stream.Location xeLoc = _source.peek().getLocation();
-
-            if (xeLoc==null)
-                return null;
-
-            javax.xml.stream.Location loc = new javax.xml.stream.Location()
-            {
-                public int getLineNumber()
-                { return xeLoc.getLineNumber(); }
-
-                public int getColumnNumber()
-                { return xeLoc.getColumnNumber(); }
-
-                public int getCharacterOffset()
-                { return -1;}
-
-                public String getPublicId()
-                { return xeLoc.getPublicId(); }
-
-                public String getSystemId()
-                { return xeLoc.getSystemId(); }
-            };
-
-            return loc;
-        }
-        catch (XMLStreamException e)
-        {
-            return null;
-        }
-    }
-
-    public String getXsiType ( )
-    {
-        return _xsiType;
-    }
-    
-    public String getXsiNil ( )
-    {
-        return _xsiNil;
-    }
-
-    public String getXsiLoc ( )
-    {
-        return _xsiLoc;
-    }
-
-    public String getXsiNoLoc ( )
-    {
-        return _xsiNoLoc;
-    }
-
-    public QName getName ( )
-    {
-        return XMLNameHelper.getQName( _name );
-    }
-
-    public String getText ( )
-    {
-        return _text.toString();
-    }
-
-    public String getText ( int wsr )
-    {
-        return XmlWhitespace.collapse( _text.toString(), wsr );
-    }
-
-    public boolean textIsWhitespace ( )
-    {
-        for ( int i = 0 ; i < _text.length() ; i++ )
-        {
-            switch ( _text.charAt( i ) )
-            {
-                case ' ':
-                case '\n':
-                case '\r':
-                case '\t':
-                    break;
-
-                default :
-                    return false;
-            }
-        }
-        
-        return true;
-    }
-    
-    private final class ExceptionXmlErrorListener extends AbstractCollection
-    {
-        public boolean add(Object o)
-        {
-            assert ValidatingXMLInputStream.this._exception == null;
-            
-            ValidatingXMLInputStream.this._exception = 
-                new XMLStreamValidationException( (XmlError)o );
-
-            return false;
-        }
-
-        public Iterator iterator()
-        {
-            return Collections.EMPTY_LIST.iterator();
-        }
-
-        public int size()
-        {
-            return 0;
-        }
-    }
-
-    private void nextEvent ( int kind )
-        throws XMLStreamException
-    {
-        assert _exception == null;
-        
-        _validator.nextEvent( kind, this );
-
-        if (_exception != null)
-            throw _exception;
-    }
-    
-    private XMLStreamValidationException _exception;
-
-    private XMLInputStream _source;
-    private Validator      _validator;
-    private StringBuffer   _text = new StringBuffer();
-    private boolean        _finished;
-    private String         _xsiType;
-    private String         _xsiNil;
-    private String         _xsiLoc;
-    private String         _xsiNoLoc;
-    private XMLName        _name;
-    private StartElement   _startElement;
-}
\ No newline at end of file
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLStreamReader.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLStreamReader.java
deleted file mode 100644
index 12395de..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatingXMLStreamReader.java
+++ /dev/null
@@ -1,750 +0,0 @@
-/*   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.
- */
-package org.apache.xmlbeans.impl.validator;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-import javax.xml.stream.util.StreamReaderDelegate;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-/**
- * This class is a wrapper over a generic XMLStreamReader that provides validation.
- * There are 3 cases:
- * <br/> 1) the XMLStreamReader represents a document, it contains only one element document
- *          - in this case the user schema type should be null or it should be a document SchemaType
- * <br/> 2) the XMLStreamReader represents an xml-fragment (content only) - must have at least one user type or xsi:type
- * <br/>     a) it has an xsi:type - if user schema type is available it has to be a base type of xsi:type
- * <br/>     b) it doesn't have xsi:type - user must provide a schema type
- *         otherwise will error and will not do validation
- * <br/> 3) the XMLStreamReader represents a global attribute - i.e. user schema type is null and only one attribute
- * <br/>
- *
- * @author Cezar Andrei (cezar.andrei at bea.com)
- * Date: Feb 13, 2004
- */
-public class ValidatingXMLStreamReader
-    extends StreamReaderDelegate
-    implements XMLStreamReader
-{
-    private static final String URI_XSI = "http://www.w3.org/2001/XMLSchema-instance";
-    private static final QName XSI_TYPE = new QName(URI_XSI, "type");
-    private static final QName XSI_NIL  = new QName(URI_XSI, "nil");
-    private static final QName XSI_SL   = new QName(URI_XSI, "schemaLocation");
-    private static final QName XSI_NSL  = new QName(URI_XSI, "noNamespaceSchemaLocation");
-
-    private SchemaType _contentType;
-    private SchemaTypeLoader _stl;
-    private XmlOptions _options;
-    private Collection _errorListener;
-    protected Validator _validator;
-    private final ElementEventImpl _elemEvent;
-    private final AttributeEventImpl _attEvent;
-    private final SimpleEventImpl _simpleEvent;
-
-    private int _state;
-    private final int STATE_FIRSTEVENT = 0;
-    private final int STATE_VALIDATING = 1;
-    private final int STATE_ATTBUFFERING = 2;
-    private final int STATE_ERROR = 3;
-
-    private List _attNamesList;
-    private List _attValuesList;
-    private SchemaType _xsiType;
-
-    /**
-     * Default constructor. Use init(...) to set the params.
-     * See {@link #init}
-     */
-    public ValidatingXMLStreamReader()
-    {
-        super();
-        _elemEvent = new ElementEventImpl();
-        _attEvent = new AttributeEventImpl();
-        _simpleEvent = new SimpleEventImpl();
-    }
-
-    /**
-     * Used in case of reusing the same ValidatinXMLStreamReader object
-     * @param xsr The stream to be validated
-     * @param startWithCurrentEvent Validation will start if true with the current event or if false with the next event in the stream
-     * @param contentType The schemaType of the content. This can be null for document and global Att validation
-     * @param stl SchemaTypeLoader context of validation
-     * @param options Validator options
-     * @param errorListener Errors and warnings listener
-     */
-    public void init(XMLStreamReader xsr, boolean startWithCurrentEvent, SchemaType contentType,
-                     SchemaTypeLoader stl, XmlOptions options, Collection errorListener)
-    {
-        setParent(xsr);
-        _contentType = contentType;
-        _stl = stl;
-        _options = options;
-        _errorListener = errorListener;
-        _elemEvent.setXMLStreamReader(xsr);
-        _attEvent.setXMLStreamReader(xsr);
-        _simpleEvent.setXMLStreamReader(xsr);
-        _validator = null;
-        _state = STATE_FIRSTEVENT;
-        if (_attNamesList!=null)
-        {
-            _attNamesList.clear();
-            _attValuesList.clear();
-        }
-        _xsiType = null;
-
-        if (startWithCurrentEvent)
-        {
-            int evType = getEventType();
-            validate_event(evType);
-        }
-    }
-
-    private static class ElementEventImpl
-        implements ValidatorListener.Event
-    {
-        private static final int BUF_LENGTH = 1024;
-        private char[] _buf = new char[BUF_LENGTH];
-        private int _length;
-        private boolean _supportForGetTextCharacters = true;
-
-        private XMLStreamReader _xmlStream;
-
-        private void setXMLStreamReader(XMLStreamReader xsr)
-        {
-            _xmlStream = xsr;
-        }
-
-        // can return null, used only to locate errors
-        public XmlCursor getLocationAsCursor()
-        {
-            return null;
-        }
-
-        public javax.xml.stream.Location getLocation()
-        {
-            return _xmlStream.getLocation();
-        }
-
-        // fill up chars with the xsi:type attribute value if there is one othervise return false
-        public String getXsiType() // BEGIN xsi:type
-        {
-            return _xmlStream.getAttributeValue(URI_XSI, "type");
-        }
-
-        // fill up chars with xsi:nill attribute value if any
-        public String getXsiNil() // BEGIN xsi:nil
-        {
-            return _xmlStream.getAttributeValue(URI_XSI, "nil");
-        }
-
-        // not used curently
-        public String getXsiLoc() // BEGIN xsi:schemaLocation
-        {
-            return _xmlStream.getAttributeValue(URI_XSI, "schemaLocation");
-        }
-
-        // not used curently
-        public String getXsiNoLoc() // BEGIN xsi:noNamespaceSchemaLocation
-        {
-            return _xmlStream.getAttributeValue(URI_XSI, "noNamespaceSchemaLocation");
-        }
-
-        // On START and ATTR
-        public QName getName()
-        {
-            // avoid construction of a new QName object after the bug in getName() is fixed.
-            QName qname = new QName(_xmlStream.getNamespaceURI(), _xmlStream.getLocalName());
-            return qname;
-        }
-
-        // On TEXT and ATTR
-        public String getText()
-        {
-            _length = 0;
-            addTextToBuffer();
-            return new String( _buf, 0, _length );
-        }
-
-        public String getText(int wsr)
-        {
-            return XmlWhitespace.collapse( _xmlStream.getText(), wsr );
-        }
-
-        public boolean textIsWhitespace()
-        {
-            return _xmlStream.isWhiteSpace();
-        }
-
-        public String getNamespaceForPrefix(String prefix)
-        {
-            return _xmlStream.getNamespaceURI(prefix);
-        }
-
-        private void addTextToBuffer()
-        {
-            int textLength = _xmlStream.getTextLength();
-            ensureBufferLength(textLength);
-
-            if (_supportForGetTextCharacters)
-                try
-                {
-                    _length = _xmlStream.getTextCharacters(0, _buf, _length, textLength);
-                }
-                catch(Exception e)
-                {
-                    _supportForGetTextCharacters = false;
-                }
-
-            if(!_supportForGetTextCharacters)
-            {
-                System.arraycopy(_xmlStream.getTextCharacters(), _xmlStream.getTextStart(), _buf, _length, textLength);
-                _length = _length + textLength;
-            }
-        }
-
-        private void ensureBufferLength(int lengthToAdd)
-        {
-            if (_length + lengthToAdd>_buf.length)
-            {
-                char[] newBuf = new char[_length + lengthToAdd];
-                if (_length>0)
-                    System.arraycopy(_buf, 0, newBuf, 0, _length);
-                _buf = newBuf;
-            }
-        }
-    }
-
-    private static final class AttributeEventImpl
-        implements ValidatorListener.Event
-    {
-        private int _attIndex;
-        private int _length;
-        private XMLStreamReader _xmlStream;
-
-        private void setXMLStreamReader(XMLStreamReader xsr)
-        {
-            _xmlStream = xsr;
-        }
-
-        // can return null, used only to locate errors
-        public XmlCursor getLocationAsCursor()
-        {
-            return null;
-        }
-
-        public javax.xml.stream.Location getLocation()
-        {
-            return _xmlStream.getLocation();
-        }
-
-        // fill up chars with the xsi:type attribute value if there is one othervise return false
-        public String getXsiType() // BEGIN xsi:type
-        {
-            throw new IllegalStateException();
-        }
-
-        // fill up chars with xsi:nill attribute value if any
-        public String getXsiNil() // BEGIN xsi:nil
-        {
-            throw new IllegalStateException();
-        }
-
-        // not used curently
-        public String getXsiLoc() // BEGIN xsi:schemaLocation
-        {
-            throw new IllegalStateException();
-        }
-
-        // not used curently
-        public String getXsiNoLoc() // BEGIN xsi:noNamespaceSchemaLocation
-        {
-            throw new IllegalStateException();
-        }
-
-        // On START and ATTR
-        public QName getName()
-        {
-            assert _xmlStream.isStartElement() : "Not on Start Element.";
-            String uri = _xmlStream.getAttributeNamespace(_attIndex);
-            QName qn = new QName(uri==null ? "" : uri, _xmlStream.getAttributeLocalName(_attIndex));
-            //System.out.println("    Att QName: " + qn);
-            return qn;
-        }
-
-        // On TEXT and ATTR
-        public String getText()
-        {
-            assert _xmlStream.isStartElement() : "Not on Start Element.";
-            return _xmlStream.getAttributeValue(_attIndex);
-        }
-
-        public String getText(int wsr)
-        {
-            assert _xmlStream.isStartElement() : "Not on Start Element.";
-            return XmlWhitespace.collapse( _xmlStream.getAttributeValue(_attIndex), wsr );
-        }
-
-        public boolean textIsWhitespace()
-        {
-            throw new IllegalStateException();
-        }
-
-        public String getNamespaceForPrefix(String prefix)
-        {
-            assert _xmlStream.isStartElement() : "Not on Start Element.";
-            return _xmlStream.getNamespaceURI(prefix);
-        }
-
-        private void setAttributeIndex(int attIndex)
-        {
-            _attIndex = attIndex;
-        }
-    }
-
-    /**
-     * This is used as implementation of Event for validating global attributes
-     * and for pushing the buffered attributes
-     */
-    private static final class SimpleEventImpl
-        implements ValidatorListener.Event
-    {
-        private String _text;
-        private int _length;
-        private QName  _qname;
-        private XMLStreamReader _xmlStream;
-
-        private void setXMLStreamReader(XMLStreamReader xsr)
-        {
-            _xmlStream = xsr;
-        }
-
-        // should return null, getLocation will be used, used only to locate errors
-        public XmlCursor getLocationAsCursor()
-        { return null; }
-
-        public javax.xml.stream.Location getLocation()
-        {
-            return _xmlStream.getLocation();
-        }
-
-        // fill up chars with the xsi:type attribute value if there is one othervise return false
-        public String getXsiType() // BEGIN xsi:type
-        { return null; }
-
-        // fill up chars with xsi:nill attribute value if any
-        public String getXsiNil() // BEGIN xsi:nil
-        { return null; }
-
-        // not used curently
-        public String getXsiLoc() // BEGIN xsi:schemaLocation
-        { return null; }
-
-        // not used curently
-        public String getXsiNoLoc() // BEGIN xsi:noNamespaceSchemaLocation
-        { return null; }
-
-        // On START and ATTR
-        public QName getName()
-        { return _qname; }
-
-        // On TEXT and ATTR
-        public String getText()
-        {
-            return _text;
-        }
-
-        public String getText(int wsr)
-        {
-            return XmlWhitespace.collapse( _text, wsr );
-        }
-
-        public boolean textIsWhitespace()
-        { return false; }
-
-        public String getNamespaceForPrefix(String prefix)
-        {
-            return _xmlStream.getNamespaceURI(prefix);
-        }
-    }
-
-    /* public methods in XMLStreamReader */
-
-    public Object getProperty(String s) throws IllegalArgumentException
-    {
-        return super.getProperty(s);
-    }
-
-    public int next() throws XMLStreamException
-    {
-        int evType = super.next();
-        //debugEvent(evType);
-
-        validate_event(evType);
-
-        return evType;
-    }
-
-    private void validate_event(int evType)
-    {
-        if (_state==STATE_ERROR)
-            return;
-
-        switch(evType)
-        {
-        case XMLEvent.START_ELEMENT:
-            if (_state == STATE_ATTBUFFERING)
-                pushBufferedAttributes();
-
-            if (_validator==null)
-            {
-                // avoid construction of a new QName object after the bug in getName() is fixed.
-                QName qname = new QName(getNamespaceURI(), getLocalName());
-
-                if (_contentType==null)
-                    _contentType = typeForGlobalElement(qname);
-
-                if (_state==STATE_ERROR)
-                    break;
-
-                initValidator(_contentType);
-                _validator.nextEvent(Validator.BEGIN, _elemEvent);
-            }
-
-            _validator.nextEvent(Validator.BEGIN, _elemEvent);
-
-            int attCount = getAttributeCount();
-            for(int i=0; i<attCount; i++)
-            {
-                _attEvent.setAttributeIndex(i);
-                QName qn = _attEvent.getName();
-                if (isSpecialAttribute(qn))
-                    continue;
-
-                _validator.nextEvent(Validator.ATTR, _attEvent);
-            }
-            break;
-
-        case XMLEvent.ATTRIBUTE:
-            if (getAttributeCount()==0)
-                break;
-
-            if (_state == STATE_FIRSTEVENT || _state == STATE_ATTBUFFERING)
-            {
-                // buffer all Attributes
-                for (int i=0; i<getAttributeCount(); i++)
-                {
-                    // avoid construction of a new QName object after the bug in getName() is fixed.
-                    QName qname = new QName(getAttributeNamespace(i), getAttributeLocalName(i));
-
-                    if (qname.equals(XSI_TYPE))
-                    {
-                        String xsiTypeValue = getAttributeValue(i);
-                        String uri = super.getNamespaceURI(QNameHelper.getPrefixPart(xsiTypeValue));
-                        QName xsiTypeQname = new QName(uri, QNameHelper.getLocalPart(xsiTypeValue));
-                        _xsiType = _stl.findType(xsiTypeQname);
-                    }
-
-                    if (_attNamesList==null)
-                    {
-                        _attNamesList = new ArrayList();
-                        _attValuesList = new ArrayList();
-                    }
-                    // skip xsi:type xsi:nil xsi:schemaLocation xsi:noNamespaceSchemaLocation
-                    if (isSpecialAttribute(qname))
-                        continue;
-
-                    _attNamesList.add(qname);
-                    _attValuesList.add(getAttributeValue(i));
-                }
-                _state = STATE_ATTBUFFERING;
-            }
-            else
-                throw new IllegalStateException("ATT event must be only at the beggining of the stream.");
-
-            break;
-
-        case XMLEvent.END_ELEMENT:
-        case XMLEvent.END_DOCUMENT:
-            if (_state == STATE_ATTBUFFERING)
-                pushBufferedAttributes();
-
-            _validator.nextEvent(Validator.END, _elemEvent);
-            break;
-
-        case XMLEvent.CDATA:
-        case XMLEvent.CHARACTERS:
-            if (_state == STATE_ATTBUFFERING)
-                pushBufferedAttributes();
-
-            if (_validator==null)
-            {
-                if (_contentType==null)
-                {
-                    _errorListener.add(XmlError.forMessage("No content type provided for validation of a content model.",
-                        XmlError.SEVERITY_ERROR));
-                    _state = STATE_ERROR;
-                    break;
-                }
-                initValidator(_contentType);
-                _validator.nextEvent(Validator.BEGIN, _simpleEvent);
-            }
-
-            _validator.nextEvent(Validator.TEXT, _elemEvent);
-            break;
-
-        case XMLEvent.START_DOCUMENT:
-        case XMLEvent.COMMENT:
-        case XMLEvent.DTD:
-        case XMLEvent.ENTITY_DECLARATION:
-        case XMLEvent.ENTITY_REFERENCE:
-        case XMLEvent.NAMESPACE:
-        case XMLEvent.NOTATION_DECLARATION:
-        case XMLEvent.PROCESSING_INSTRUCTION:
-        case XMLEvent.SPACE:
-            //ignore
-            break;
-
-        default:
-            throw new IllegalStateException("Unknown event type.");
-        }
-    }
-
-    private void pushBufferedAttributes()
-    {
-        SchemaType validationType = null;
-
-        if (_xsiType!=null)
-        {
-            if (_contentType==null)
-            {
-                validationType = _xsiType;
-            }
-            else
-            {
-                // we have both _xsiType and _contentType
-                if (_contentType.isAssignableFrom(_xsiType))
-                {
-                    validationType = _xsiType;
-                }
-                else
-                {
-                    _errorListener.add(XmlError.forMessage("Specified type '" + _contentType +
-                        "' not compatible with found xsi:type '" + _xsiType + "'.", XmlError.SEVERITY_ERROR));
-                    _state = STATE_ERROR;
-                    return;
-                }
-            }
-        }
-        else
-        {
-            if (_contentType != null)
-            {
-                validationType = _contentType;
-            }
-            else if (_attNamesList!=null)
-            {
-                // no xsi:type, no _contentType
-                // this is the global attribute case
-                validationType = _stl.findAttributeType((QName)_attNamesList.get(0));
-                if (validationType==null)
-                {
-                    _errorListener.add(XmlError.forMessage("A schema global element with name '" + _attNamesList.get(0) +
-                        "' could not be found in the current schema type loader.", XmlError.SEVERITY_ERROR));
-                    _state = STATE_ERROR;
-                    return;
-                }
-                // if _attNamesList.size() > 1 than the validator will add an error
-            }
-            else
-            {
-                _errorListener.add(XmlError.forMessage("No content type provided for validation of a content model.",
-                    XmlError.SEVERITY_ERROR));
-                _state = STATE_ERROR;
-                return;
-            }
-        }
-
-        // here validationType is the right type, start pushing all acumulated attributes
-        _validator = new Validator(validationType, null, _stl, _options, _errorListener);
-        _validator.nextEvent(Validator.BEGIN, _simpleEvent);
-
-        for (int i=0; i<_attNamesList.size(); i++)
-        {
-            _simpleEvent._qname = (QName)_attNamesList.get(i);
-            _simpleEvent._text = (String)_attValuesList.get(i);
-            _validator.nextEvent(Validator.ATTR, _simpleEvent);
-        }
-
-        _state = STATE_VALIDATING;
-    }
-
-    private boolean isSpecialAttribute(QName qn)
-    {
-        if (qn.getNamespaceURI().equals(URI_XSI))
-            return qn.getLocalPart().equals(XSI_TYPE.getLocalPart()) ||
-                qn.getLocalPart().equals(XSI_NIL.getLocalPart()) ||
-                qn.getLocalPart().equals(XSI_SL.getLocalPart()) ||
-                qn.getLocalPart().equals(XSI_NSL.getLocalPart());
-
-        return false;
-    }
-
-    /**
-     * Initializes the validator for the given schemaType
-     * @param schemaType
-     */
-    private void initValidator(SchemaType schemaType)
-    {
-        assert schemaType!=null;
-
-        _validator = new Validator(schemaType, null, _stl, _options, _errorListener);
-    }
-
-    private SchemaType typeForGlobalElement(QName qname)
-    {
-        assert qname!=null;
-
-        SchemaType docType = _stl.findDocumentType(qname);
-
-        if (docType==null)
-        {
-            _errorListener.add(XmlError.forMessage("Schema document type not found for element '" + qname + "'.",
-                XmlError.SEVERITY_ERROR));
-            _state = STATE_ERROR;
-        }
-        return docType;
-    }
-
-    /**
-     * @return Returns the validation state up to this point.
-     * NOTE: At least one START ELEMENT should have been consumed for a valid value to be returned.
-     */
-    public boolean isValid()
-    {
-        if ( _state==STATE_ERROR || _validator==null)
-            return false;
-
-        return _validator.isValid();
-    }
-
-//    /* for unit testing */
-//    public static void main(String[] args) throws FileNotFoundException, XMLStreamException
-//    {
-//        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-//        for( int i = 0; i<args.length; i++)
-//        {
-//            validate(valXsr, args[i]);
-//        }
-//    }
-//
-//    private static void validate(ValidatingXMLStreamReader valXsr, String file)
-//        throws XMLStreamException, FileNotFoundException
-//    {
-//        Collection errors = new ArrayList();
-//        XMLStreamReader xsr = XMLInputFactory.newInstance().
-//            createXMLStreamReader(new FileInputStream(new File(file)));
-//        valXsr.init(xsr, null,
-//            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-//            null,
-//            errors);
-//
-//        while( valXsr.hasNext() )
-//        {
-//            valXsr.next();
-//        }
-//
-//        System.out.println("File '" + file + "' is: " + (valXsr.isValid() ? "Valid" : "INVALID") + "\t\t\t\t ----------");
-//        for (Iterator i = errors.iterator(); i.hasNext(); )
-//        {
-//            XmlError err = (XmlError)i.next();
-//            System.out.println("ERROR " + err.getSeverity() + " " + err.getLine() + ":" + err.getColumn() + " " +
-//                err.getMessage() + " ");
-//        }
-//    }
-//
-//    private void debugEvent(int evType)
-//    {
-//        switch(evType)
-//        {
-//        case XMLEvent.START_ELEMENT:
-//            System.out.println("SE     " + _elemEvent.getName());
-//            break;
-//        case XMLEvent.START_DOCUMENT:
-//            System.out.println("SDoc");
-//            break;
-//        case XMLEvent.END_ELEMENT:
-//            System.out.println("EE     " + _elemEvent.getName());
-//            break;
-//        case XMLEvent.END_DOCUMENT:
-//            System.out.println("EDoc");
-//            break;
-//        case XMLEvent.SPACE:
-//            System.out.println("SPACE");
-//            break;
-//        case XMLEvent.CDATA:
-//            System.out.println("CDATA");
-//            break;
-//        case XMLEvent.CHARACTERS:
-//            Chars c = new Chars();
-//            _elemEvent.getText(c);
-//            System.out.println("TEXT     " + c.asString());
-//            break;
-//
-//        case XMLEvent.ATTRIBUTE:      // global attributes
-//            System.out.println("ATT     count: " + _elemEvent._xmlStream.getAttributeCount());
-//            for(int i=0; i<_elemEvent._xmlStream.getAttributeCount(); i++)
-//            {
-//                System.out.println("\t\t" + _elemEvent._xmlStream.getAttributeNamespace(i) + ":" +
-//                    _elemEvent._xmlStream.getAttributeLocalName(i) + "  =  " +
-//                    _elemEvent._xmlStream.getAttributeValue(i));
-//            }
-//            break;
-//        case XMLEvent.COMMENT:
-//            System.out.println("COMMENT");
-//            break;
-//        case XMLEvent.DTD:
-//            System.out.println("DTD");
-//            break;
-//        case XMLEvent.ENTITY_DECLARATION:
-//            System.out.println("ENTITY_DECL");
-//            break;
-//        case XMLEvent.ENTITY_REFERENCE:
-//            System.out.println("ENTITY_REF");
-//            break;
-//        case XMLEvent.NAMESPACE:
-//            System.out.println("NS");
-//            break;
-//        case XMLEvent.NOTATION_DECLARATION:
-//            System.out.println("NOTATION_DECL");
-//            break;
-//        case XMLEvent.PROCESSING_INSTRUCTION:
-//            System.out.println("PI");
-//            break;
-//        }
-//    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/Validator.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/Validator.java
deleted file mode 100644
index 9f3225c..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/Validator.java
+++ /dev/null
@@ -1,1711 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.validator;
-
-import org.apache.xmlbeans.impl.common.IdentityConstraint;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.ValidatorListener.Event;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl;
-import org.apache.xmlbeans.impl.schema.SchemaTypeImpl;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-import org.apache.xmlbeans.impl.values.JavaUriHolderEx;
-import org.apache.xmlbeans.impl.values.JavaBase64HolderEx;
-import org.apache.xmlbeans.impl.values.JavaBooleanHolderEx;
-import org.apache.xmlbeans.impl.values.XmlDateImpl;
-import org.apache.xmlbeans.impl.values.JavaDecimalHolderEx;
-import org.apache.xmlbeans.impl.values.JavaDoubleHolderEx;
-import org.apache.xmlbeans.impl.values.XmlDurationImpl;
-import org.apache.xmlbeans.impl.values.JavaFloatHolderEx;
-import org.apache.xmlbeans.impl.values.JavaHexBinaryHolderEx;
-import org.apache.xmlbeans.impl.values.JavaBooleanHolder;
-import org.apache.xmlbeans.impl.values.XmlQNameImpl;
-import org.apache.xmlbeans.impl.values.JavaQNameHolderEx;
-import org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.values.XmlListImpl;
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaLocalElement;
-import org.apache.xmlbeans.SchemaGlobalElement;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlValidationError;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.SchemaProperty;
-
-import java.math.BigDecimal;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.ArrayList;
-import javax.xml.namespace.QName;
-
-public final class Validator
-    implements ValidatorListener
-{
-    public Validator (
-        SchemaType type, SchemaField field, SchemaTypeLoader globalLoader,
-        XmlOptions options, Collection defaultErrorListener )
-    {
-        options = XmlOptions.maskNull(options);
-        _errorListener = (Collection) options.get(XmlOptions.ERROR_LISTENER);
-
-        if (_errorListener == null)
-            _errorListener = defaultErrorListener;
-
-        _constraintEngine = new IdentityConstraint(_errorListener, type.isDocumentType());
-
-        _globalTypes = globalLoader;
-        _rootType = type;
-        _rootField = field;
-
-        _vc = new ValidatorVC();
-    }
-
-    private class ValidatorVC implements ValidationContext
-    {
-        public void invalid ( String message )
-        {
-            // TODO (dutta) Addtional Attributes for validation error have limited information
-            //at this time but will be a part of the second round of refactoring
-
-            Validator.this.emitError(_event, message, null, null, null,
-                XmlValidationError.ATTRIBUTE_TYPE_INVALID, null);
-        }
-
-        Event _event;
-    }
-
-    public boolean isValid ( )
-    {
-        return !_invalid && _constraintEngine.isValid();
-    }
-
-    private void emitError ( Event event, String msg, QName offendingQName,
-                             SchemaType expectedSchemaType, List expectedQNames,
-                             int errorType, SchemaType badSchemaType)
-    {
-        emitError(event, msg, XmlError.SEVERITY_ERROR, offendingQName , expectedSchemaType,
-            expectedQNames , errorType, badSchemaType);
-    }
-
-    private void emitError ( Event event, String msg, int severity, QName offendingQName,
-                             SchemaType expectedSchemaType, List expectedQNames,
-                             int errorType, SchemaType badSchemaType )
-    {
-        _errorState++;
-
-        if (_suspendErrors == 0)
-        {
-            if (severity == XmlError.SEVERITY_ERROR)
-                _invalid = true;
-
-            if (_errorListener != null)
-            {
-                assert event != null;
-                _errorListener.add(
-                    XmlValidationError.forCursorWithDetails( msg, severity, event.getLocationAsCursor(),
-                        offendingQName, expectedSchemaType, expectedQNames,
-                        errorType, badSchemaType));
-            }
-        }
-    }
-
-    private void emitFieldError ( Event event, String msg, QName offendingQName,
-                                  SchemaType expectedSchemaType, List expectedQNames,
-                                  int errorType, SchemaType badSchemaType )
-    {
-        emitFieldError(event, msg, XmlError.SEVERITY_ERROR, offendingQName,
-            expectedSchemaType, expectedQNames , errorType, badSchemaType);
-    }
-
-    private void emitFieldError ( Event event, String msg, int severity, QName offendingQName,
-                                  SchemaType expectedSchemaType, List expectedQNames,
-                                  int errorType, SchemaType badSchemaType )
-    {
-        if (_stateStack != null && _stateStack._field != null)
-        {
-            msg += " in element " + QNameHelper.pretty( _stateStack._field.getName() );
-        }
-
-        Validator.this.emitError( event, msg, severity, offendingQName , expectedSchemaType,
-            expectedQNames , errorType, badSchemaType);
-    }
-
-    // For XmlEventListener.error
-
-    public void error ( XmlError error )
-    {
-        _errorState++;
-
-        if (_suspendErrors == 0)
-        {
-            _invalid = true;
-
-            if (_errorListener != null)
-                _errorListener.add( error );
-        }
-    }
-
-    public void nextEvent ( int kind, Event event )
-    {
-        resetValues();
-
-        if (_eatContent > 0)
-        {
-            switch ( kind )
-            {
-            case END   : _eatContent--; break;
-            case BEGIN : _eatContent++; break;
-            }
-        }
-        else
-        {
-            assert
-                kind == BEGIN || kind == ATTR ||
-                    kind == END || kind == TEXT || kind == ENDATTRS;
-
-            switch ( kind )
-            {
-            case BEGIN    : beginEvent(    event ); break;
-            case ATTR     : attrEvent(     event ); break;
-            case ENDATTRS : endAttrsEvent( event ); break;
-            case TEXT     : textEvent(     event ); break;
-            case END      : endEvent(      event ); break;
-            }
-        }
-    }
-
-    private void beginEvent ( Event event )
-    {
-        _localElement = null;
-        _wildcardElement = null;
-        State state = topState();
-
-        SchemaType  elementType  = null;
-        SchemaField elementField = null;
-
-        if (state == null)
-        {
-            elementType = _rootType;
-            elementField = _rootField;
-        }
-        else
-        {
-
-            QName name = event.getName();
-
-            assert name != null;
-
-            state._isEmpty = false;
-
-            if (state._isNil)
-            {
-                emitFieldError(event, "Nil element cannot have element content",
-                    state._field.getName(), state._type, null,
-                    XmlValidationError.NIL_ELEMENT, state._type);
-
-                _eatContent = 1;
-                return;
-            }
-
-            if (!state.visit( name ))
-            {
-                findDetailedErrorBegin(event ,state , name);
-
-                _eatContent = 1;
-
-                return;
-            }
-
-            SchemaParticle currentParticle = state.currentParticle();
-            _wildcardElement = currentParticle;
-
-            if (currentParticle.getParticleType() == SchemaParticle.WILDCARD)
-            {
-                //_wildcardElement = currentParticle;
-                QNameSet elemWildcardSet = currentParticle.getWildcardSet();
-
-                if (!elemWildcardSet.contains( name ))
-                {
-                    // Additional processing may be needed to generate more
-                    // descriptive messages
-                    emitFieldError(event,
-                        "Element not allowed: " + QNameHelper.pretty(name) ,
-                        name, null, null,
-                        XmlValidationError.ELEMENT_NOT_ALLOWED, state._type);
-
-                    _eatContent = 1;
-
-                    return;
-                }
-
-                int wildcardProcess = currentParticle.getWildcardProcess();
-
-                if (wildcardProcess == SchemaParticle.SKIP)
-                {
-                    _eatContent = 1;
-                    return;
-                }
-
-                _localElement = _globalTypes.findElement( name );
-                elementField = _localElement;
-
-                if (elementField == null)
-                {
-                    if (wildcardProcess == SchemaParticle.STRICT)
-                    {
-                        emitFieldError( event,
-                            "Element not allowed (strict wildcard, and no definition found): " +  QNameHelper.pretty(name),
-                            name, state._type, null,
-                            XmlValidationError.ELEMENT_NOT_ALLOWED, state._type);
-                    }
-
-                    _eatContent = 1;
-
-                    return;
-                }
-            }
-            else
-            {
-                assert currentParticle.getParticleType() == SchemaParticle.ELEMENT;
-
-                // If the current element particle name does not match the name
-                // of the event, then the current element is a substitute for
-                // the current particle. Replace the field with the global
-                // element for the replacement
-
-                if (! currentParticle.getName().equals(name))
-                {
-                    if (((SchemaLocalElement)currentParticle).blockSubstitution())
-                    {
-                        emitFieldError( event,
-                            "Element substitution not allowed when group head has block='substitution'" + QNameHelper.pretty( name),
-                            name, state._type, null,
-                            XmlValidationError.ELEMENT_NOT_ALLOWED, state._type);
-
-                        _eatContent = 1;
-                        return;
-                    }
-
-                    SchemaGlobalElement newField = _globalTypes.findElement(name);
-
-                    assert newField != null;
-
-                    if (newField != null)
-                    {
-                        elementField = newField;
-                        _localElement = newField;
-                    }
-                }
-                else
-                {
-                    elementField = (SchemaField) currentParticle;
-                }
-            }
-
-            elementType = elementField.getType();
-        }
-
-        assert elementType != null;
-
-        //
-        // the no-type is always invalid (even if there is an xsi:type)
-        //
-
-        if (elementType.isNoType())
-        {
-            emitFieldError( event, "Invalid type.", event.getName(), null, null,
-                XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-            _eatContent = 1;
-        }
-
-        //
-        // See if the element has an xsi:type on it
-        //
-
-        SchemaType xsiType = null;
-
-        String value = event.getXsiType();
-        
-        if (value != null)
-        {
-            // Turn off the listener so a public error message
-            // does not get generated, but I can see if there was
-            // an error through the error state
-
-            int originalErrorState = _errorState;
-
-            _suspendErrors++;
-
-            try
-            {
-                _vc._event = null;
-
-                xsiType = _globalTypes.findType( XmlQNameImpl.validateLexical( value, _vc, event ) );
-            }
-            catch ( Throwable t )
-            {
-                _errorState++;
-            }
-            finally
-            {
-                _suspendErrors--;
-            }
-
-            if (originalErrorState != _errorState)
-            {
-                // not sure how to extract this one
-                emitFieldError( event, "Invalid xsi:type qname: '" + value + "'",
-                    event.getName(), xsiType, null,
-                    XmlValidationError.ELEMENT_TYPE_INVALID, state._type);
-
-                _eatContent = 1;
-
-                return;
-            }
-            else if (xsiType == null)
-            {
-                // NOT SURE errorAttributes._expectedSchemaType = xsiType;
-                emitError(event,  "Could not find xsi:type: '" + value + "'",
-                          event.getName(), null, null,
-                          XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-                _eatContent = 1;
-
-                return;
-            }
-        }
-
-        if (xsiType != null && !xsiType.equals(elementType))
-        {
-            if (!elementType.isAssignableFrom(xsiType))
-            {
-                emitFieldError( event, "Type '" + xsiType +
-                    "' is not derived from '" + elementType + "'",
-                    event.getName(), elementType, null,
-                    XmlValidationError.ELEMENT_TYPE_INVALID, state._type);
-
-                _eatContent = 1;
-
-                return;
-            }
-
-            if (elementType.blockExtension())
-            {
-                for ( SchemaType t = xsiType ; ! t.equals( elementType ) ;
-                      t = t.getBaseType() )
-                {
-                    if (t.getDerivationType() == SchemaType.DT_EXTENSION)
-                    {
-                        emitFieldError( event, "Extension type: '" + xsiType +
-                            "' may not be substituted for: '" + elementType + "'",
-                            event.getName(), elementType, null,
-                            XmlValidationError.ELEMENT_TYPE_INVALID,
-                            state._type);
-
-                        _eatContent = 1;
-
-                        return;
-                    }
-                }
-            }
-
-            if (elementType.blockRestriction())
-            {
-                for ( SchemaType t = xsiType ; ! t.equals( elementType ) ;
-                      t = t.getBaseType() )
-                {
-                    if (t.getDerivationType() == SchemaType.DT_RESTRICTION)
-                    {
-                        emitFieldError( event, "Restriction type: '" + xsiType +
-                            "' may not be substituted for: '" + elementType + "'",
-                            event.getName(), elementType, null,
-                            XmlValidationError.ELEMENT_TYPE_INVALID, state._type);
-
-                        _eatContent = 1;
-
-                        return;
-                    }
-                }
-            }
-
-            if (elementField instanceof SchemaLocalElement)
-            {
-                SchemaLocalElement sle  = (SchemaLocalElement)elementField;
-                _localElement = sle;
-
-                if (sle.blockExtension() || sle.blockRestriction())
-                {
-                    for ( SchemaType t = xsiType ; ! t.equals( elementType ) ;
-                          t = t.getBaseType() )
-                    {
-                        if ((t.getDerivationType() == SchemaType.DT_RESTRICTION && sle.blockRestriction()) ||
-                            (t.getDerivationType() == SchemaType.DT_EXTENSION && sle.blockExtension()))
-                        {
-                            //need to find a way to get the right type
-                            emitError( event, "Derived type: '" + xsiType +
-                                "' may not be substituted for element '" + QNameHelper.pretty(sle.getName()) + "'" ,
-                                sle.getName(), null, null, XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-                            _eatContent = 1;
-
-                            return;
-                        }
-                    }
-                }
-            }
-
-            elementType = xsiType;
-        }
-
-        if (elementField instanceof SchemaLocalElement)
-        {
-            SchemaLocalElement sle = (SchemaLocalElement)elementField;
-            _localElement = sle;
-
-            if (sle.isAbstract())
-            {
-                //todo (dutta) need to find a way to get the right type
-                emitError(event, "Element '" + QNameHelper.pretty(sle.getName()) +
-                    "' is abstract and cannot be used in an instance.",
-                    sle.getName(), null, null, XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-                _eatContent = 1;
-                return;
-            }
-        }
-
-        if (elementType != null && elementType.isAbstract())
-        {
-            emitFieldError( event, "Abstract type: " + elementType + " cannot be used in an instance",
-                event.getName(), elementType, null, XmlValidationError.ELEMENT_TYPE_INVALID, state._type);
-
-            _eatContent = 1;
-
-            return;
-        }
-
-        boolean isNil = false;
-        boolean hasNil = false;
-
-        String nilValue = event.getXsiNil();
-        
-        if (nilValue != null)
-        {
-            _vc._event = event;
-            isNil = JavaBooleanHolder.validateLexical(nilValue, _vc);
-            hasNil = true;
-        }
-
-        // note in schema spec 3.3.4, you're not even allowed to say xsi:nil="false" if you're not nillable!
-        if (hasNil && !elementField.isNillable())
-        {
-            emitFieldError( event, "Element has xsi:nil attribute but is not nillable",
-                elementField.getName(), elementField.getType(), null,
-                XmlValidationError.ELEMENT_TYPE_INVALID, state._type);
-
-            _eatContent = 1;
-            return;
-        }
-
-        newState( elementType, elementField, isNil );
-
-        // Dispatch this element event to any identity constraints
-        // As well as adding any new identity constraints that exist
-
-        _constraintEngine.element(
-            event,
-            elementType,
-            elementField instanceof SchemaLocalElement
-                ? ((SchemaLocalElement) elementField).getIdentityConstraints()
-                : null );
-    }
-
-    private void attrEvent ( Event event )
-    {
-        QName attrName = event.getName();
-
-        State state = topState();
-
-        if (state._attrs == null)
-            state._attrs = new HashSet();
-
-        if (state._attrs.contains( attrName ))
-        {
-            // todo (dutta) need additional logic to determine the expectedSchemaType
-            emitFieldError( event, "Duplicate attribute: " + QNameHelper.pretty( attrName ),
-                attrName, null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type );
-
-            return;
-        }
-
-        state._attrs.add( attrName );
-
-        if (!state._canHaveAttrs)
-        {
-            // todo (dutta) need additional logic to determine the expectedSchemaType
-            emitFieldError( event, "Can't have attributes", attrName, null, null,
-                XmlValidationError.INCORRECT_ATTRIBUTE, state._type);
-            return;
-        }
-
-        SchemaLocalAttribute attrSchema =
-            state._attrModel == null
-                ? null
-                : state._attrModel.getAttribute( attrName );
-
-        if (attrSchema != null)
-        {
-            _localAttribute = attrSchema;
-
-            if (attrSchema.getUse() == SchemaLocalAttribute.PROHIBITED)
-            {
-                // todo (dutta) need additional logic to determine the expectedSchemaType
-                emitFieldError( event, "Attribute is prohibited: " + QNameHelper.pretty( attrName ),
-                    attrName, null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type );
-
-                return;
-            }
-
-            String value =
-                validateSimpleType(
-                    attrSchema.getType(), attrSchema, event, false, false );
-
-            _constraintEngine.attr( event, attrName, attrSchema.getType(), value );
-
-            return;
-        }
-
-        int wildcardProcess = state._attrModel.getWildcardProcess();
-        _wildcardAttribute = state._attrModel;
-
-        if (wildcardProcess == SchemaAttributeModel.NONE)
-        {
-            // todo (dutta) need additional logic to determine the expectedSchemaType
-            emitFieldError( event,
-                "Attribute not allowed (no wildcards allowed): " + QNameHelper.pretty( attrName ),
-                attrName, null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type);
-
-            return;
-        }
-
-        QNameSet attrWildcardSet = state._attrModel.getWildcardSet();
-
-        if (!attrWildcardSet.contains( attrName ))
-        {
-            // todo (dutta) need additional logic to determine the expectedSchemaType
-            emitFieldError( event, "Attribute not allowed: " + QNameHelper.pretty( attrName ),
-                attrName, null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type);
-
-            return;
-        }
-
-        if (wildcardProcess == SchemaAttributeModel.SKIP)
-            return;
-
-        attrSchema = _globalTypes.findAttribute( attrName );
-        _localAttribute = attrSchema;
-
-        if (attrSchema == null)
-        {
-            if (wildcardProcess == SchemaAttributeModel.LAX)
-                return;
-
-            assert wildcardProcess == SchemaAttributeModel.STRICT;
-
-            // todo (dutta) need additional logic to determine the expectedSchemaType
-            emitFieldError( event,
-                "Attribute not allowed (strict wildcard, and no definition found): " + QNameHelper.pretty( attrName ),
-                attrName, null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type);
-
-            return;
-        }
-
-        String value =
-            validateSimpleType(
-                attrSchema.getType(), attrSchema, event, false, false );
-
-        _constraintEngine.attr( event, attrName, attrSchema.getType(), value );
-    }
-
-    private void endAttrsEvent ( Event event )
-    {
-        State state = topState();
-
-        if (state._attrModel != null)
-        {
-            SchemaLocalAttribute[] attrs = state._attrModel.getAttributes();
-
-            for ( int i = 0 ; i < attrs.length ; i++ )
-            {
-                SchemaLocalAttribute sla = attrs[ i ];
-
-                if (state._attrs == null ||
-                        !state._attrs.contains( sla.getName() ))
-                {
-                    if (sla.getUse() == SchemaLocalAttribute.REQUIRED)
-                    {
-                        emitFieldError( event, "Expected attribute: " + QNameHelper.pretty (sla.getName()),
-                            sla.getName(), null, null, XmlValidationError.INCORRECT_ATTRIBUTE, state._type);
-                    }
-                    else if (sla.isDefault() || sla.isFixed())
-                    {
-                        _constraintEngine.attr(event, sla.getName(), sla.getType(), sla.getDefaultText());
-
-                        // We don't need to validate attribute defaults because this is done at compiletime.
-                        /*
-                        String value = sla.getDefaultText();
-                        SchemaType type = sla.getType();
-
-                        if (XmlQName.type.isAssignableFrom(type))
-                        {
-                            emitFieldError(
-                                event,
-                                "Default QName values are unsupported for attribute: " +
-                                    QNameHelper.pretty(sla.getName()),
-                                XmlError.SEVERITY_INFO);
-                        }
-
-                        else
-                        {
-                            validateSimpleType(
-                                type, sla.getDefaultText(), event );
-
-                            _constraintEngine.attr( event, type, value );
-                        }
-                        */
-                    }
-                }
-            }
-        }
-    }
-
-    private void endEvent ( Event event )
-    {
-        _localElement = null;
-        _wildcardElement = null;
-        String message = null;
-        State state = topState();
-
-        if (!state._isNil)
-        {
-            if (!state.end())
-            {
-                findDetailedErrorEnd(event,state);
-            }
-
-            // This end event has no text, use this fact to pass no text to
-            // handleText
-
-            if (state._isEmpty)
-                handleText( event, true, state._field );
-        }
-
-        popState( event );
-
-        _constraintEngine.endElement( event );
-    }
-
-    private void textEvent ( Event event )
-    {
-        State state = topState();
-
-        if (state._isNil)
-        {
-          emitFieldError( event, "Nil element cannot have simple content",
-              state._field.getName(), state._type, null,
-              XmlValidationError.NIL_ELEMENT, state._type );
-        }
-        else
-            handleText( event, false, state._field );
-
-        state._isEmpty = false;
-    }
-
-
-    private void handleText (
-        Event event, boolean emptyContent, SchemaField field )
-    {
-        State state = topState();
-
-        if (!state._sawText)
-        {
-            if (state._hasSimpleContent)
-            {
-                String value =
-                    validateSimpleType(
-                        state._type, field, event, emptyContent, true );
-
-                _constraintEngine.text( event, state._type, value, false );
-            }
-            else if (emptyContent)
-            {
-                _constraintEngine.text( event, state._type, null, true );
-            }
-            else
-                _constraintEngine.text( event, state._type, "", false);
-        }
-
-        if (!emptyContent && !state._canHaveMixedContent &&
-            !event.textIsWhitespace() & !state._hasSimpleContent)
-        {
-            if (field instanceof SchemaLocalElement)
-            {
-                SchemaLocalElement e = (SchemaLocalElement)field;
-
-                emitError(event, "Element: '" + QNameHelper.pretty(e.getName()) +
-                    "' cannot have mixed content.", e.getName(), field.getType(),
-                    null, XmlValidationError.ELEMENT_TYPE_INVALID, null);
-            }
-            else
-            {
-              // todo (dutta) offendingQName = not sure how to get this(event.getName()??);
-              emitError(event, "Can't have mixed content", event.getName(),
-                  state._type, null, XmlValidationError.ELEMENT_TYPE_INVALID, null);
-            }
-        }
-
-        if (!emptyContent)
-            state._sawText = true;
-    }
-
-    private void findDetailedErrorBegin(Event event, State state, QName qName)
-    {
-        String message = null;
-        SchemaProperty[] eltProperties = state._type.getElementProperties();
-        for (int ii = 0; ii < eltProperties.length; ii++)
-        {
-            //Get the element from the schema
-            SchemaProperty sProp = eltProperties[ii];
-
-            // test if the element is valid
-            if (state.test(sProp.getName()))
-            {
-                message = "Expected element " + QNameHelper.pretty(sProp.getName()) + " instead of " + QNameHelper.pretty(qName) + " here";
-                ArrayList expectedNames = new ArrayList();
-                expectedNames.add(sProp.getName());
-
-                emitFieldError( event, message, qName, sProp.getType(),
-                    expectedNames, XmlValidationError.INCORRECT_ELEMENT, state._type);
-
-                break;
-            }
-        }
-        if (message == null)
-        {
-            emitFieldError( event, "Element not allowed: " + QNameHelper.pretty( qName),
-                qName, null, null, XmlValidationError.INCORRECT_ELEMENT, state._type);
-        }
-    }
-
-    private void findDetailedErrorEnd(Event event, State state)
-    {
-        SchemaProperty[] eltProperties  = state._type.getElementProperties();
-        String message = null;
-
-        for (int ii = 0; ii < eltProperties.length; ii++)
-        {
-            //Get the element from the schema
-            SchemaProperty sProp = eltProperties[ii];
-
-            // test if the element is valid
-            if (state.test(sProp.getName()))
-            {
-                message = "Expected element " + QNameHelper.pretty(sProp.getName()) +
-                          " at the end of the content";
-
-                ArrayList expectedNames = new ArrayList();
-                expectedNames.add(sProp.getName());
-
-                emitFieldError (event, message, null, sProp.getType(), expectedNames,
-                    XmlValidationError.INCORRECT_ELEMENT, state._type);
-
-                break;
-            }
-        }
-
-        if (message == null)
-        {
-            emitFieldError( event, "Expected element(s)", null, null, null,
-                XmlValidationError.ELEMENT_NOT_ALLOWED, state._type);
-        }
-    }
-
-
-    private final class State
-    {
-        boolean visit ( QName name )
-        {
-            return _canHaveElements && _visitor.visit( name );
-        }
-
-        boolean test( QName name )
-        {
-            return _canHaveElements && _visitor.testValid( name );
-        }
-
-        boolean end ( )
-        {
-            return !_canHaveElements || _visitor.visit( null );
-        }
-
-        SchemaParticle currentParticle ( )
-        {
-            assert _visitor != null;
-            return _visitor.currentParticle();
-        }
-
-        SchemaType  _type;
-        SchemaField _field;
-
-        boolean _canHaveAttrs;
-        boolean _canHaveMixedContent;
-        boolean _hasSimpleContent;
-
-        boolean _sawText;
-        boolean _isEmpty;
-        boolean _isNil;
-
-        SchemaTypeVisitorImpl _visitor;
-        boolean _canHaveElements;
-
-        SchemaAttributeModel _attrModel;
-
-        HashSet _attrs;
-
-        State _next;
-    }
-
-    private void newState ( SchemaType type, SchemaField field, boolean isNil )
-    {
-        State state = new State();
-
-        state._type = type;
-        state._field = field;
-        state._isEmpty = true;
-        state._isNil = isNil;
-
-        if (type.isSimpleType())
-        {
-            state._hasSimpleContent = true;
-        }
-        else
-        {
-            state._canHaveAttrs = true;
-            state._attrModel = type.getAttributeModel();
-
-            switch ( type.getContentType() )
-            {
-            case SchemaType.EMPTY_CONTENT :
-                break;
-
-            case SchemaType.SIMPLE_CONTENT :
-                state._hasSimpleContent = true;
-                break;
-
-            case SchemaType.MIXED_CONTENT :
-                state._canHaveMixedContent = true;
-                // Fall through
-
-            case SchemaType.ELEMENT_CONTENT :
-
-                SchemaParticle particle = type.getContentModel();
-
-                state._canHaveElements = particle != null;
-
-                if (state._canHaveElements)
-                    state._visitor = initVisitor( particle );
-
-                break;
-
-            default :
-                throw new RuntimeException( "Unexpected content type" );
-            }
-        }
-
-        pushState( state );
-    }
-
-    private void popState ( Event e )
-    {
-        if (_stateStack._visitor != null)
-        {
-            poolVisitor( _stateStack._visitor );
-            _stateStack._visitor = null;
-        }
-
-        _stateStack = _stateStack._next;
-    }
-
-    private void pushState ( State state )
-    {
-        state._next = _stateStack;
-        _stateStack = state;
-    }
-
-    private LinkedList _visitorPool = new LinkedList();
-
-    private void poolVisitor( SchemaTypeVisitorImpl visitor )
-    {
-        _visitorPool.add( visitor );
-    }
-
-    private SchemaTypeVisitorImpl initVisitor( SchemaParticle particle )
-    {
-        if (_visitorPool.isEmpty())
-            return new SchemaTypeVisitorImpl( particle );
-
-        SchemaTypeVisitorImpl result =
-            (SchemaTypeVisitorImpl) _visitorPool.removeLast();
-
-        result.init( particle );
-
-        return result;
-    }
-
-    private State topState ( )
-    {
-        return _stateStack;
-    }
-
-    //
-    // Simple Type Validation
-    //
-    // emptyContent means that you can't use the event to get text: there is
-    // no text, but you can use the event to do prefix resolution (in the case
-    // where the default is a qname)
-    //
-
-    private String validateSimpleType (
-        SchemaType type, SchemaField field, Event event,
-        boolean emptyContent, boolean canApplyDefault )
-    {
-        if (!type.isSimpleType() &&
-                type.getContentType() != SchemaType.SIMPLE_CONTENT)
-        {
-            assert false;
-            // throw new RuntimeException( "Not a simple type" );
-            return null; // should never happen
-        }
-
-        //
-        // the no-type is always invalid
-        //
-
-        if (type.isNoType())
-        {
-            emitError( event, "Invalid type.", field.getName(), type, null,
-                XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-            return null;
-        }
-
-        // Get the value as a string (as normalized by the white space rule
-        // TODO - will want to optimize this later
-
-        String value = "";
-
-        if (!emptyContent)
-        {
-            int wsr = type.getWhiteSpaceRule();
-            value = wsr == SchemaType.WS_PRESERVE ? event.getText() : event.getText( wsr );
-        }
-
-        // See if I can apply a default/fixed value
-
-        if (value.length() == 0 && canApplyDefault && field != null &&
-                (field.isDefault() || field.isFixed()))
-        {
-            if (XmlQName.type.isAssignableFrom(type))
-            {
-                emitError( event, "Default QName values are unsupported for " +
-                    QNameHelper.readable(type) + " - ignoring.",
-                    XmlError.SEVERITY_INFO, field.getName(), type, null,
-                    XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-                return null;
-            }
-
-            String defaultValue =
-                XmlWhitespace.collapse(
-                    field.getDefaultText(), type.getWhiteSpaceRule() );
-
-// BUGBUG - should validate defaultValue at compile time
-            return
-                validateSimpleType( type, defaultValue, event )
-                    ? defaultValue
-                    : null;
-        }
-
-        if (!validateSimpleType( type, value, event ))
-            return null;
-
-        if (field != null && field.isFixed())
-        {
-// TODO - fixed value should have been cooked at compile time
-            String fixedValue =
-                XmlWhitespace.collapse(
-                    field.getDefaultText(), type.getWhiteSpaceRule() );
-
-            if (!validateSimpleType( type, fixedValue, event ))
-                return null;
-
-            XmlObject val = type.newValue( value );
-            XmlObject def = type.newValue( fixedValue );
-
-            if (!val.valueEquals( def ))
-            {
-                // TODO (dutta) - make this more verbose
-                emitError( event, "Value not equal to fixed value. " + value,
-                    field.getName(), field.getType(), null,
-                    XmlValidationError.ELEMENT_TYPE_INVALID, null);
-
-                return null;
-            }
-        }
-
-        return value;
-    }
-
-    private boolean validateSimpleType (
-        SchemaType type, String value, Event event )
-    {
-        if (!type.isSimpleType() &&
-                type.getContentType() != SchemaType.SIMPLE_CONTENT)
-        {
-            assert false;
-            throw new RuntimeException( "Not a simple type" );
-        }
-
-        int retState = _errorState;
-
-        switch ( type.getSimpleVariety() )
-        {
-        case SchemaType.ATOMIC : validateAtomicType( type, value, event );break;
-        case SchemaType.UNION  : validateUnionType(  type, value, event );break;
-        case SchemaType.LIST   : validateListType(   type, value, event );break;
-
-        default : throw new RuntimeException( "Unexpected simple variety" );
-        }
-
-        return retState == _errorState;
-    }
-
-    private void validateAtomicType (
-        SchemaType type, String value, Event event )
-    {
-        // Now we should have only an atomic type to validate
-
-        assert type.getSimpleVariety() == SchemaType.ATOMIC;
-
-        // Record the current error state to see if any new errors are made
-        int errorState = _errorState;
-        _vc._event = event;
-
-        switch ( type.getPrimitiveType().getBuiltinTypeCode() )
-        {
-        case SchemaType.BTC_ANY_SIMPLE :
-        {
-            // Always valid!
-            break;
-        }
-        case SchemaType.BTC_STRING :
-        {
-            JavaStringEnumerationHolderEx.validateLexical( value, type, _vc );
-            _stringValue = value;
-            break;
-        }
-        case SchemaType.BTC_DECIMAL :
-        {
-            JavaDecimalHolderEx.validateLexical( value, type, _vc );
-
-            if (errorState == _errorState)
-            {
-                _decimalValue = new BigDecimal( value );
-                JavaDecimalHolderEx.validateValue( _decimalValue, type, _vc );
-            }
-
-            break;
-        }
-        case SchemaType.BTC_BOOLEAN :
-        {
-            _booleanValue = JavaBooleanHolderEx.validateLexical( value, type, _vc );
-            break;
-        }
-        case SchemaType.BTC_FLOAT :
-        {
-            float f =
-                JavaFloatHolderEx.validateLexical( value, type, _vc );
-
-            if (errorState == _errorState)
-                JavaFloatHolderEx.validateValue( f, type, _vc );
-
-            _floatValue = f;
-            break;
-        }
-        case SchemaType.BTC_DOUBLE :
-        {
-            double d =
-                JavaDoubleHolderEx.validateLexical( value, type, _vc );
-
-            if (errorState == _errorState)
-                JavaDoubleHolderEx.validateValue( d, type, _vc );
-
-            _doubleValue = d;
-            break;
-        }
-        case SchemaType.BTC_QNAME :
-        {
-            QName n =
-                JavaQNameHolderEx.validateLexical(
-                    value, type, _vc, event );
-
-            if (errorState == _errorState)
-                JavaQNameHolderEx.validateValue( n, type, _vc );
-
-            _qnameValue = n;
-            break;
-        }
-        case SchemaType.BTC_ANY_URI :
-        {
-            JavaUriHolderEx.validateLexical( value, type, _vc );
-            _stringValue = value;
-            break;
-        }
-        case SchemaType.BTC_DATE_TIME :
-        case SchemaType.BTC_TIME :
-        case SchemaType.BTC_DATE :
-        case SchemaType.BTC_G_YEAR_MONTH :
-        case SchemaType.BTC_G_YEAR :
-        case SchemaType.BTC_G_MONTH_DAY :
-        case SchemaType.BTC_G_DAY :
-        case SchemaType.BTC_G_MONTH :
-        {
-            GDate d = XmlDateImpl.validateLexical( value, type, _vc );
-
-            if (d != null)
-                XmlDateImpl.validateValue( d, type, _vc );
-
-            _gdateValue = d;
-            break;
-        }
-        case SchemaType.BTC_DURATION :
-        {
-            GDuration d = XmlDurationImpl.validateLexical( value, type, _vc );
-
-            if (d != null)
-                XmlDurationImpl.validateValue( d, type, _vc );
-
-            _gdurationValue = d;
-            break;
-        }
-        case SchemaType.BTC_BASE_64_BINARY :
-        {
-            byte[] v =
-                JavaBase64HolderEx.validateLexical( value, type, _vc );
-
-            if (v != null)
-                JavaBase64HolderEx.validateValue( v, type, _vc );
-
-            _byteArrayValue = v;
-            break;
-        }
-        case SchemaType.BTC_HEX_BINARY :
-        {
-            byte[] v =
-                JavaHexBinaryHolderEx.validateLexical( value, type, _vc );
-
-            if (v != null)
-                JavaHexBinaryHolderEx.validateValue( v, type, _vc );
-
-            _byteArrayValue = v;
-            break;
-        }
-        case SchemaType.BTC_NOTATION :
-            // Unimplemented.
-            break;
-
-        default :
-            throw new RuntimeException( "Unexpected primitive type code" );
-        }
-    }
-
-    private void validateListType (
-        SchemaType type, String value, Event event )
-    {
-        int errorState = _errorState;
-
-        if (!type.matchPatternFacet( value ))
-        {
-            emitError( event,
-                "List '" + value + "' does not match pattern for " + QNameHelper.readable(type),
-                null, type, null, XmlValidationError.LIST_INVALID, null);
-        }
-
-        String[] items = XmlListImpl.split_list(value);
-
-        int i;
-        XmlObject o;
-
-        if ((o = type.getFacet( SchemaType.FACET_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) != items.length)
-            {
-                //offending Qname not valid
-                emitError( event, "List (" + value + ") does not have " + i +
-                    " items per length facet for " + QNameHelper.readable(type),
-                    null, type, null, XmlValidationError.LIST_INVALID, null);
-            }
-        }
-
-        if ((o = type.getFacet( SchemaType.FACET_MIN_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) > items.length)
-            {
-                //offending Qname not valid
-                emitError( event, "List (" + value + ") has only " + items.length +
-                    " items, fewer than min length facet (" + i + ") for " + QNameHelper.readable(type),
-                    null, type, null, XmlValidationError.LIST_INVALID, null);
-            }
-        }
-
-        if ((o = type.getFacet( SchemaType.FACET_MAX_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) < items.length)
-            {
-                //offending Qname not valid
-                emitError( event, "List (" + value + ") has " + items.length +
-                    " items, more than max length facet (" + i + ") for " + QNameHelper.readable(type),
-                    null, type, null,  XmlValidationError.LIST_INVALID, null);
-            }
-        }
-
-        SchemaType itemType = type.getListItemType();
-        _listValue = new ArrayList();
-        _listTypes = new ArrayList();
-
-        for ( i = 0 ; i < items.length ; i++ )
-        {
-            validateSimpleType(
-                itemType, items[i], event );
-            addToList(itemType);
-        }
-
-        // If no errors up to this point, then I can create an
-        // XmlList from this value and campare it again enums.
-
-        if (errorState == _errorState)
-        {
-            if (type.getEnumerationValues() != null)
-            {
-                // Lists which contain QNames will need a resolver
-
-                NamespaceContext.push(
-                    new NamespaceContext( event ) );
-
-                try
-                {
-                    XmlObject listValue = ( (SchemaTypeImpl) type).newValidatingValue( value );
-                }
-                catch (XmlValueOutOfRangeException e)
-                {
-                    //offending Qname not valid ??
-                    emitError( event, "List value (" + value +
-                        ") is not a valid enumeration value for " + QNameHelper.readable(type),
-                        null, type, null, XmlValidationError.LIST_INVALID, null);
-                }
-                finally
-                {
-                    NamespaceContext.pop();
-                }
-            }
-        }
-    }
-
-    private void validateUnionType (
-        SchemaType type, String value, Event event )
-    {
-        // TODO - if xsi:type is specified on a union, it selects
-        // that union member type
-
-        if (!type.matchPatternFacet( value ))
-        {
-            //offending Qname not valid ??
-            emitError( event,
-                "Union '" + value + "' does not match pattern for " + QNameHelper.readable(type),
-                null, type, null, XmlValidationError.UNION_INVALID, null);
-        }
-
-        int currentWsr = SchemaType.WS_PRESERVE;
-        String currentValue = value;
-
-        SchemaType[] types = type.getUnionMemberTypes();
-
-        int originalState = _errorState;
-
-        int i;
-        for ( i = 0 ; i < types.length ; i++ )
-        {
-            int memberWsr = types[ i ].getWhiteSpaceRule();
-
-            if (memberWsr == SchemaType.WS_UNSPECIFIED)
-                memberWsr = SchemaType.WS_PRESERVE;
-
-            if (memberWsr != currentWsr)
-            {
-                currentWsr = memberWsr;
-                currentValue = XmlWhitespace.collapse( value, currentWsr );
-            }
-
-            int originalErrorState = _errorState;
-
-            _suspendErrors++;
-
-            try
-            {
-                validateSimpleType( types[ i ], currentValue, event );
-            }
-            finally
-            {
-                _suspendErrors--;
-            }
-
-            if (originalErrorState == _errorState)
-            {
-                _unionType = types[i];
-                break;
-            }
-        }
-
-        _errorState = originalState;
-
-        if (i >= types.length)
-        {
-            //offending Qname not valid ??
-            emitError( event,
-                "Union '" + value + "' does not match any members of " + QNameHelper.readable(type),
-                null, type, null, XmlValidationError.UNION_INVALID, null);
-        }
-        else
-        {
-            XmlObject[] unionEnumvals = type.getEnumerationValues();
-
-            if (unionEnumvals != null)
-            {
-                // Unions which contain QNames will need a resolver
-
-                NamespaceContext.push( new NamespaceContext( event ) );
-
-                try
-                {
-                    XmlObject unionValue = type.newValue( value );
-
-                    for ( i = 0 ; i < unionEnumvals.length ; i++ )
-                    {
-                        if (unionValue.valueEquals( unionEnumvals[ i ] ))
-                            break;
-                    }
-
-                    if (i >= unionEnumvals.length)
-                    {
-
-                        //offending Qname not valid ??
-                        emitError( event, "Union '" + value +
-                            "' is not a valid enumeration value for " + QNameHelper.readable(type),
-                            null, type, null, XmlValidationError.UNION_INVALID, null);
-                    }
-                }
-                catch (XmlValueOutOfRangeException e)
-                {
-                    // actually, the current union code always ends up here when invalid
-
-                    //offending Qname not valid ??
-                    emitError( event, "Union '" + value +
-                        "' is not a valid enumeration value for " + QNameHelper.readable(type),
-                        null, type, null, XmlValidationError.UNION_INVALID, null );
-                }
-                finally
-                {
-                    NamespaceContext.pop();
-                }
-            }
-        }
-    }
-
-    private void addToList(SchemaType type)
-    {
-        if (type.getSimpleVariety() != SchemaType.ATOMIC)
-            return;
-
-        if (type.getUnionMemberTypes().length>0 && getUnionType()!=null)
-        {
-            type = getUnionType();
-            _unionType = null;
-        }
-
-        _listTypes.add(type);
-
-        switch ( type.getPrimitiveType().getBuiltinTypeCode() )
-        {
-            case SchemaType.BTC_ANY_SIMPLE :
-                {
-                    _listValue.add(_stringValue);
-                    break;
-                }
-            case SchemaType.BTC_STRING :
-                {
-                    _listValue.add(_stringValue);
-                    _stringValue = null;
-                    break;
-                }
-            case SchemaType.BTC_DECIMAL :
-                {
-                    _listValue.add( _decimalValue );
-                    _decimalValue = null;
-                    break;
-                }
-            case SchemaType.BTC_BOOLEAN :
-                {
-                    _listValue.add(_booleanValue ? Boolean.TRUE : Boolean.FALSE);
-                    _booleanValue = false;
-                    break;
-                }
-            case SchemaType.BTC_FLOAT :
-                {
-                    _listValue.add(new Float(_floatValue));
-                    _floatValue = 0;
-                    break;
-                }
-            case SchemaType.BTC_DOUBLE :
-                {
-                    _listValue.add(new Double(_doubleValue));
-                    _doubleValue = 0;
-                    break;
-                }
-            case SchemaType.BTC_QNAME :
-                {
-                    _listValue.add(_qnameValue);
-                    _qnameValue = null;
-                    break;
-                }
-            case SchemaType.BTC_ANY_URI :
-                {
-                    _listTypes.add(_stringValue);
-                    break;
-                }
-            case SchemaType.BTC_DATE_TIME :
-            case SchemaType.BTC_TIME :
-            case SchemaType.BTC_DATE :
-            case SchemaType.BTC_G_YEAR_MONTH :
-            case SchemaType.BTC_G_YEAR :
-            case SchemaType.BTC_G_MONTH_DAY :
-            case SchemaType.BTC_G_DAY :
-            case SchemaType.BTC_G_MONTH :
-                {
-                    _listValue.add(_gdateValue);
-                    _gdateValue = null;
-                    break;
-                }
-            case SchemaType.BTC_DURATION :
-                {
-                    _listValue.add(_gdurationValue);
-                    _gdurationValue = null;
-                    break;
-                }
-            case SchemaType.BTC_BASE_64_BINARY :
-                {
-                    _listValue.add(_byteArrayValue);
-                    _byteArrayValue = null;
-                    break;
-                }
-            case SchemaType.BTC_HEX_BINARY :
-                {
-                    _listValue.add(_byteArrayValue);
-                    _byteArrayValue = null;
-                    break;
-                }
-            case SchemaType.BTC_NOTATION :
-                {
-                    _listValue.add(_stringValue);
-                    _stringValue = null;
-                    break;
-                }
-
-            default :
-                throw new RuntimeException( "Unexpected primitive type code" );
-        }
-    }
-
-    //
-    // Members of the validator class
-    //
-
-    private boolean            _invalid;
-    private SchemaType         _rootType;
-    private SchemaField        _rootField;
-    private SchemaTypeLoader   _globalTypes;
-    private State              _stateStack;
-    private int                _errorState;
-    private Collection         _errorListener;
-    private ValidatorVC        _vc;
-    private int                _suspendErrors;
-    private IdentityConstraint _constraintEngine;
-    private int                _eatContent;
-
-    private SchemaLocalElement   _localElement;
-    private SchemaParticle       _wildcardElement;
-    private SchemaLocalAttribute _localAttribute;
-    private SchemaAttributeModel _wildcardAttribute;
-    private SchemaType           _unionType;
-
-    // Strongly typed values
-    private String _stringValue;
-    private BigDecimal _decimalValue;
-    private boolean _booleanValue;
-    private float _floatValue;
-    private double _doubleValue;
-    private QName _qnameValue;
-    private GDate _gdateValue;
-    private GDuration _gdurationValue;
-    private byte[] _byteArrayValue;
-    private List _listValue;
-    private List _listTypes;
-
-    private void resetValues()
-    {
-        _localAttribute = null;
-        _wildcardAttribute = null;
-        _stringValue = null;
-        _decimalValue = null;
-        _booleanValue = false;
-        _floatValue = 0;
-        _doubleValue = 0;
-        _qnameValue = null;
-        _gdateValue = null;
-        _gdurationValue = null;
-        _byteArrayValue = null;
-        _listValue = null;
-        _listTypes = null;
-        _unionType = null;
-        _localAttribute = null;
-    }
-
-    public SchemaLocalElement getCurrentElement()
-    {
-        if (_localElement != null)
-            return _localElement;
-
-        // it means the element is to be skiped and it doesn't have a known SchemaLocalElement
-        if (_eatContent>0)
-            return null;
-
-        //try getting it from the stack (this should happen after END)
-        if (_stateStack!=null && _stateStack._field instanceof SchemaLocalElement )
-            return (SchemaLocalElement)_stateStack._field;
-
-        return null;
-    }
-
-    public SchemaParticle getCurrentWildcardElement()
-    {
-        return _wildcardElement;
-    }
-
-    public SchemaLocalAttribute getCurrentAttribute()
-    {
-        return _localAttribute;
-    }
-
-    public SchemaAttributeModel getCurrentWildcardAttribute()
-    {
-        return _wildcardAttribute;
-    }
-
-    public String getStringValue()
-    {
-        return _stringValue;
-    }
-
-    public BigDecimal getDecimalValue()
-    {
-        return _decimalValue;
-    }
-
-    public boolean getBooleanValue()
-    {
-        return _booleanValue;
-    }
-
-    public float getFloatValue()
-    {
-        return _floatValue;
-    }
-
-    public double getDoubleValue()
-    {
-        return _doubleValue;
-    }
-
-    public QName getQNameValue()
-    {
-        return _qnameValue;
-    }
-
-    public GDate getGDateValue()
-    {
-        return _gdateValue;
-    }
-
-    public GDuration getGDurationValue()
-    {
-        return _gdurationValue;
-    }
-
-    public byte[] getByteArrayValue()
-    {
-        return _byteArrayValue;
-    }
-
-    public List getListValue()
-    {
-        return _listValue;
-    }
-
-    public List getListTypes()
-    {
-        return _listTypes;
-    }
-
-    public SchemaType getUnionType()
-    {
-        return _unionType;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatorUtil.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatorUtil.java
deleted file mode 100644
index dedd373..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/validator/ValidatorUtil.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.validator;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Feb 5, 2004
- */
-public class ValidatorUtil
-{
-    private static class EventImpl implements ValidatorListener.Event
-    {
-        PrefixResolver _prefixResolver;
-        String _text;
-
-        EventImpl(PrefixResolver prefixResolver, String text)
-        {
-            _prefixResolver = prefixResolver;
-            _text = text;
-        }
-
-        // can return null, used only to locate errors
-        public XmlCursor getLocationAsCursor()
-        {
-            return null;
-        }
-
-        public javax.xml.stream.Location getLocation()
-        {
-            return null;
-        }
-
-        // fill up chars with the xsi:type attribute value if there is one othervise return false
-        public String getXsiType() // BEGIN xsi:type
-        {
-            return null;
-        }
-
-        // fill up chars with xsi:nill attribute value if any
-        public String getXsiNil() // BEGIN xsi:nil
-        {
-            return null;
-        }
-
-        public String getXsiLoc() // BEGIN xsi:schemaLocation
-        {
-            return null;
-        }
-
-        public String getXsiNoLoc() // BEGIN xsi:noNamespaceSchemaLocation
-        {
-            return null;
-        }
-
-        // On START and ATTR
-        public QName getName()
-        {
-            return null;
-        }
-
-        // On TEXT and ATTR
-        public String getText()
-        {
-            return _text;
-        }
-
-        public String getText(int wsr)
-        {
-            return XmlWhitespace.collapse( _text, wsr );
-        }
-
-        public boolean textIsWhitespace()
-        {
-            return false;
-        }
-
-        public String getNamespaceForPrefix(String prefix)
-        {
-            return _prefixResolver.getNamespaceForPrefix(prefix);
-        }
-    }
-
-    public static boolean validateSimpleType (
-        SchemaType type, String value, Collection errors, PrefixResolver prefixResolver )
-    {
-        if (!type.isSimpleType() && type.getContentType() != SchemaType.SIMPLE_CONTENT)
-        {
-            assert false;
-            throw new RuntimeException( "Not a simple type" );
-        }
-
-        Validator validator =
-                new Validator(
-                        type, null, type.getTypeSystem(), null, errors);
-
-        //make only one event at the beginning and than reuse it
-        EventImpl ev = new EventImpl(prefixResolver, value);
-
-        validator.nextEvent(ValidatorListener.BEGIN, ev);
-
-        validator.nextEvent(ValidatorListener.TEXT, ev);
-
-        validator.nextEvent(ValidatorListener.END, ev);
-
-        return validator.isValid();
-    }
-
-//    public static void main(String[] args)
-//    {
-//        String value;
-//        value = "  +1.2323 ";
-//        System.out.println("float " + validateSimpleType(XmlFloat.type, value, null , null));
-//        value = " +234  ";
-//        System.out.println("posInt " + validateSimpleType(XmlPositiveInteger.type, value, null , null));
-//        value = "2001-01-01";
-//        System.out.println("IntOrDateUnion " + validateSimpleType(DocDocument.Doc.IntOrDateUnion.type, value, null , null));
-//        value = "232321";
-//        System.out.println("IntOrDateUnion " + validateSimpleType(DocDocument.Doc.IntOrDateUnion.type, value, null , null));
-//    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64Holder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64Holder.java
deleted file mode 100644
index 243d6f4..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64Holder.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-import org.apache.xmlbeans.impl.util.Base64;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlBase64Binary;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-import java.util.Arrays;
-import java.io.UnsupportedEncodingException;
-
-public abstract class JavaBase64Holder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_BASE_64_BINARY; }
-
-    protected byte[] _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets raw text value
-    protected String compute_text(NamespaceManager nsm)
-    {
-        return new String(Base64.encode(_value));
-    }
-    protected void set_text(String s)
-    {
-        _hashcached = false;
-        if (_validateOnSet())
-            _value = validateLexical(s, schemaType(), _voorVc);
-        else
-            _value = lex(s, _voorVc);
-    }
-    protected void set_nil()
-    {
-        _hashcached = false;
-        _value = null;
-    }
-
-    public static byte[] lex(String v, ValidationContext c)
-    {
-        byte[] vBytes = null;
-        try
-        {
-            vBytes = v.getBytes("UTF-8");
-        }
-        catch(UnsupportedEncodingException uee)
-        {
-            // should never happen - UTF-8 is always supported
-        }
-        final byte[] bytes = Base64.decode(vBytes);
-
-        if (bytes == null)
-        {
-            // TODO - get a decent error with line numbers and such here
-            c.invalid("Base 64 encoded data not encoded properly");
-        }
-
-        return bytes;
-    }
-
-    public static byte[] validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        final byte[] bytes = lex(v, context);
-        if (bytes == null) return null;
-        
-        if (!sType.matchPatternFacet(v))
-        {
-            context.invalid( "Base 64 encoded data does not match pattern for " + QNameHelper.readable(sType));
-            return null;
-        }
-
-        return bytes;
-    }
-
-    public byte[] byteArrayValue()
-    {
-        check_dated();
-        if (_value == null)
-            return null;
-
-        byte[] result = new byte[_value.length];
-        System.arraycopy(_value, 0, result, 0, _value.length);
-        return result;
-    }
-
-    // setters
-    protected void set_ByteArray(byte[] ba)
-    {
-        _hashcached = false;
-        _value = new byte[ba.length];
-        System.arraycopy(ba, 0, _value, 0, ba.length);
-    }
-
-    // comparators
-    protected boolean equal_to(XmlObject i)
-    {
-        byte[] ival = ((XmlBase64Binary) i).getByteArrayValue();
-        return Arrays.equals(_value, ival);
-    }
-
-    //because computing hashcode is expensive we'll cache it
-    protected boolean _hashcached = false;
-    protected int hashcode = 0;
-    protected static MessageDigest md5;
-    static
-    {
-        try
-        {
-            md5 = MessageDigest.getInstance("MD5");
-        }
-        catch( NoSuchAlgorithmException e )
-        {
-            throw new IllegalStateException("Cannot find MD5 hash Algorithm");
-        }
-    }
-
-    protected int value_hash_code()
-    {
-        if( _hashcached )
-            return hashcode;
-
-        _hashcached = true;
-
-        if( _value == null )
-            return hashcode = 0;
-
-        byte[] res = md5.digest(_value);
-        return hashcode = res[0]<<24 + res[1]<<16 + res[2]<<8 + res[3];
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64HolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64HolderEx.java
deleted file mode 100644
index 9bff3d5..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBase64HolderEx.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-
-public abstract class JavaBase64HolderEx extends JavaBase64Holder
-{
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaBase64HolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        final byte[] v;
-
-        if (_validateOnSet())
-            v = validateLexical(s, schemaType(), _voorVc);
-        else
-            v = lex(s, _voorVc);
-
-        if (v != null && _validateOnSet())
-            validateValue(v, schemaType(), XmlObjectBase._voorVc);
-        
-        super.set_ByteArray(v);
-    }
-
-    // setters
-    protected void set_ByteArray(byte[] v)
-    {
-        if (_validateOnSet())
-            validateValue(v, schemaType(), _voorVc);
-        
-        super.set_ByteArray(v);
-    }
-
-    public static void validateValue(byte[] v, SchemaType sType, ValidationContext context)
-    {
-        int i;
-        XmlObject o;
-
-        if ((o = sType.getFacet(SchemaType.FACET_LENGTH)) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) != v.length)
-            {
-                context.invalid(
-                    "Base 64 encoded data does not have " + i +
-                        " bytes per length facet" );
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MIN_LENGTH )) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) > v.length)
-            {
-                context.invalid(
-                    "Base 64 encoded data has only " + v.length +
-                        " bytes, fewer than min length facet" );
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MAX_LENGTH )) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) < v.length)
-            {
-                context.invalid(
-                    "Base 64 encoded data has " + v.length +
-                        " bytes, more than max length facet" );
-            }
-        }
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-
-        if (vals != null)
-        {
-            enumLoop: for ( i = 0 ; i < vals.length ; i++ )
-            {
-                byte[] enumBytes = ((XmlObjectBase)vals[i]).byteArrayValue();
-
-                if (enumBytes.length != v.length)
-                    continue;
-
-                for ( int j = 0 ; j < enumBytes.length ; j++ )
-                    if (enumBytes[j] != v[j])
-                        continue enumLoop;
-                
-                break;
-            }
-            
-            if (i >= vals.length)
-                context.invalid("Base 64 encoded data does not match any of the enumeration values");
-        }
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(byteArrayValue(), schemaType(), ctx);
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolder.java
deleted file mode 100644
index 096d50e..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolder.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlBoolean;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-
-public abstract class JavaBooleanHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_BOOLEAN; }
-
-    private boolean _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets raw text value
-    protected String compute_text(NamespaceManager nsm) { return _value ? "true" : "false"; }
-    protected void set_text(String s)
-    {
-        _value = validateLexical(s, _voorVc);
-    }
-    public static boolean validateLexical(String v, ValidationContext context)
-    {
-        if (v.equals("true") || v.equals("1"))
-            return true;
-        
-        if (v.equals("false") || v.equals("0"))
-            return false;
-
-        context.invalid("Invalid value for boolean: " + v);
-
-        return false;
-    }
-    protected void set_nil()
-    {
-        _value = false;
-    }
-    // numerics: fractional
-    public boolean booleanValue() { check_dated(); return _value; }
-
-    // setters
-    protected void set_boolean(boolean f)
-    {
-        _value = f;
-    }
-
-    // comparators
-    protected int compare_to(XmlObject i)
-    {
-        // no ordering defined between true and false
-        return _value == ((XmlBoolean)i).getBooleanValue() ? 0 : 2;
-    }
-
-    protected boolean equal_to(XmlObject i)
-    {
-        return _value == ((XmlBoolean)i).getBooleanValue();
-    }
-
-    protected int value_hash_code()
-    {
-        return _value ? 957379554 : 676335975;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolderEx.java
deleted file mode 100644
index d12697c..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaBooleanHolderEx.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-
-
-public abstract class JavaBooleanHolderEx extends JavaBooleanHolder
-{
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public static boolean validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        boolean b = JavaBooleanHolder.validateLexical(v, context);
-        validatePattern(v, sType, context);
-        return b;
-    }
-    
-    public static void validatePattern(String v, SchemaType sType, ValidationContext context)
-    {
-        // the only new facet that can apply to booleans is pattern!
-        if (!sType.matchPatternFacet(v))
-            context.invalid("Boolean (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-    }
-    
-    public JavaBooleanHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-            validatePattern(s, _schemaType, _voorVc);
-        super.set_text(s);
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolder.java
deleted file mode 100644
index 8ce09d1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolder.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-public class JavaDecimalHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_DECIMAL; }
-
-    private BigDecimal _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // sets/gets raw text value
-    protected String compute_text(NamespaceManager nsm) { return _value.toString(); }
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-            validateLexical(s, _voorVc);
-
-        try {
-            set_BigDecimal(new BigDecimal(s));
-        }
-        catch (NumberFormatException e)
-        {
-            _voorVc.invalid("Invalid Decimal");
-        }
-    }
-    protected void set_nil()
-    {
-        _value = null;
-    }
-
-    /**
-     * Performs lexical validation only.
-     */
-
-    public static void validateLexical(String v, ValidationContext context)
-    {
-        // TODO - will want to validate Chars with built in white space handling
-        //        However, this fcn sometimes takes a value with wsr applied
-        //        already
-        int l = v.length();
-        int i = 0;
-        
-        if (i < l)
-        {
-            int ch = v.charAt(i);
-            
-            if (ch == '+' || ch == '-')
-                i++;
-        }
-        
-        boolean sawDot = false;
-        boolean sawDigit = false;
-
-        for ( ; i < l ; i++ )
-        {
-            int ch = v.charAt(i);
-
-            if (ch == '.')
-            {
-                if (sawDot)
-                {
-                    context.invalid("Illegal decimal, saw '.' more than once");
-                    return;
-                }
-
-                sawDot = true;
-            }
-            else if (ch >= '0' && ch <= '9')
-            {
-                sawDigit = true;
-            }
-            else
-            {
-                // TODO - may need to escape error char
-                context.invalid("Illegal decimal, unexpected char: " + ch);
-                return;
-            }
-        }
-
-        if (!sawDigit)
-        {
-            context.invalid("Illegal decimal, expected at least one digit");
-            return;
-        }
-    }
-
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return _value; }
-
-    // setters
-    protected void set_BigDecimal(BigDecimal v) { _value = v; }
-
-    // comparators
-    protected int compare_to(XmlObject decimal)
-    {
-        return _value.compareTo(((XmlObjectBase)decimal).bigDecimalValue());
-    }
-    protected boolean equal_to(XmlObject decimal)
-    {
-        return (_value.compareTo(((XmlObjectBase)decimal).bigDecimalValue())) == 0;
-    }
-
-    static private BigInteger _maxlong = BigInteger.valueOf(Long.MAX_VALUE);
-    static private BigInteger _minlong = BigInteger.valueOf(Long.MIN_VALUE);
-
-    /**
-     * Note, this is carefully aligned with hash codes for all xsd:decimal
-     * primitives.
-     */
-    protected int value_hash_code()
-    {
-        if (_value.scale() > 0)
-        {
-            if (_value.setScale(0, BigDecimal.ROUND_DOWN).compareTo(_value) != 0)
-                return decimalHashCode();
-        }
-
-        BigInteger intval = _value.toBigInteger();
-
-        if (intval.compareTo(_maxlong) > 0 ||
-            intval.compareTo(_minlong) < 0)
-            return intval.hashCode();
-
-        long longval = intval.longValue();
-
-        return (int)((longval >> 32) * 19 + longval);
-    }
-
-    /**
-     * This method will has BigDecimals with the same arithmetic value to
-     * the same hash code (eg, 2.3 & 2.30 will have the same hash.)
-     * This differs from BigDecimal.hashCode()
-     */
-    protected int decimalHashCode() {
-        assert _value.scale() > 0;
-
-        // Get decimal value as string, and strip off zeroes on the right
-        String strValue = _value.toString();
-        int i;
-        for (i = strValue.length() - 1 ; i >= 0 ; i --)
-            if (strValue.charAt(i) != '0') break;
-
-        assert strValue.indexOf('.') < i;
-
-        // Return the canonicalized string hashcode
-        return strValue.substring(0, i + 1).hashCode();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolderEx.java
deleted file mode 100644
index 3eeaaf9..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDecimalHolderEx.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-
-import java.math.BigDecimal;
-
-public abstract class JavaDecimalHolderEx extends JavaDecimalHolder
-{
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaDecimalHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-            validateLexical(s, _schemaType, _voorVc);
-
-        BigDecimal v = null;
-        try {
-            v = new BigDecimal(s);
-        }
-        catch (NumberFormatException e)
-        {
-            _voorVc.invalid("Invalid Decimal");
-        }
-
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-
-        super.set_BigDecimal(v);
-    }
-    
-    protected void set_BigDecimal(BigDecimal v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-        super.set_BigDecimal(v);
-    }
-    
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        JavaDecimalHolder.validateLexical(v, context);
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                // TODO - describe string and pattern here in error
-                context.invalid("Decimal (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-    }
-    
-    /**
-     * Performs facet validation only.
-     */
-
-    public static void validateValue(BigDecimal v, SchemaType sType, ValidationContext context)
-    {
-        // fractional digits
-        XmlObject fd = sType.getFacet(SchemaType.FACET_FRACTION_DIGITS);
-        if (fd != null)
-        {
-            int scale = ((XmlObjectBase)fd).bigIntegerValue().intValue();
-            if (v.scale() > scale)
-            {
-                context.invalid(
-                    "Decimal fractional digits (" + v.scale() + ") does not match " +
-                        "fractional digits facet (" + scale + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // total digits
-        XmlObject td = sType.getFacet(SchemaType.FACET_TOTAL_DIGITS);
-        if (td != null)
-        {
-            String temp = v.unscaledValue().toString();
-            int tdf = ((XmlObjectBase)td).bigIntegerValue().intValue();
-            int len = temp.length();
-            if (len > 0 && temp.charAt(0) == '-')
-                len -= 1;
-            if (len > tdf)
-            {
-                context.invalid(
-                    "Decimal total digits (" + temp + ") is greater than " +
-                        "total digits facet (" + tdf + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min ex
-        XmlObject mine = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE);
-        if (mine != null)
-        {
-            BigDecimal m = ((XmlObjectBase)mine).bigDecimalValue();
-            if (v.compareTo(m) <= 0)
-            {
-                context.invalid(
-                    "Decimal (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min in
-        XmlObject mini = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE);
-        if (mini != null)
-        {
-            BigDecimal m = ((XmlObjectBase)mini).bigDecimalValue();
-            if (v.compareTo(m) < 0)
-            {
-                context.invalid(
-                    "Decimal (" + v + ") is less than " +
-                        "min inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max in
-        XmlObject maxi = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE);
-        if (maxi != null)
-        {
-            BigDecimal m = ((XmlObjectBase)maxi).bigDecimalValue();
-            if (v.compareTo(m) > 0)
-            {
-                context.invalid(
-                    "Decimal (" + v + ") is greater than " +
-                        "max inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max ex
-        XmlObject maxe = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE);
-        if (maxe != null)
-        {
-            BigDecimal m = ((XmlObjectBase)maxe).bigDecimalValue();
-            if (v.compareTo(m) >= 0)
-            {
-                context.invalid(
-                    "Decimal (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // enumeration
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (v.equals(((XmlObjectBase)vals[i]).bigDecimalValue()))
-                    return;
-            context.invalid("Decimal (" + v + ") does not match any enumeration values for " + QNameHelper.readable(sType));
-        }
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(bigDecimalValue(), schemaType(), ctx);
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolder.java
deleted file mode 100644
index 285d57a..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolder.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-public abstract class JavaDoubleHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_DOUBLE; }
-
-    double _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets/sets raw text value
-    protected String compute_text(NamespaceManager nsm) { return serialize(_value); }
-
-    public static String serialize(double d)
-    {
-        if (d == Double.POSITIVE_INFINITY)
-            return "INF";
-        else if (d == Double.NEGATIVE_INFINITY)
-            return "-INF";
-        else if (d == Double.NaN)
-            return "NaN";
-        else
-            return Double.toString(d);
-    }
-    protected void set_text(String s)
-    {
-        set_double(validateLexical(s,_voorVc));
-    }
-    public static double validateLexical(String v, ValidationContext context)
-    {
-        try
-        {
-            return XsTypeConverter.lexDouble(v);
-        }
-        catch(NumberFormatException e)
-        {
-            context.invalid("Invalid double value");
-
-            return Double.NaN;
-        }
-    }
-    protected void set_nil()
-    {
-        _value = 0.0;
-    }
-
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return new BigDecimal(_value); }
-    public double doubleValue() { check_dated(); return _value; }
-    public float floatValue() { check_dated(); return (float)_value; }
-
-    // setters
-    protected void set_double(double v) { _value = v; }
-    protected void set_float(float v) { set_double((double)v); }
-    protected void set_long(long v) { set_double((double)v); }
-    protected void set_BigDecimal(BigDecimal v) { set_double(v.doubleValue()); }
-    protected void set_BigInteger(BigInteger v) { set_double(v.doubleValue()); }
-
-    // comparators
-    protected int compare_to(XmlObject d)
-    {
-        return compare(_value,((XmlObjectBase)d).doubleValue());
-    }
-    static int compare(double thisValue, double thatValue)
-    {
-        if (thisValue < thatValue) return -1;
-        if (thisValue > thatValue) return  1;
-
-        long thisBits = Double.doubleToLongBits(thisValue);
-        long thatBits = Double.doubleToLongBits(thatValue);
-
-        return thisBits == thatBits ? 0 : thisBits < thatBits ? -1 : 1;
-    }
-
-    protected boolean equal_to(XmlObject d)
-    {
-        return compare(_value, ((XmlObjectBase)d).doubleValue()) == 0;
-    }
-
-    protected int value_hash_code()
-    {
-        long v = Double.doubleToLongBits(_value);
-        return (int)((v >> 32) * 19 + v);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolderEx.java
deleted file mode 100644
index 136240b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaDoubleHolderEx.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-
-
-public abstract class JavaDoubleHolderEx extends JavaDoubleHolder
-{
-    public JavaDoubleHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-    
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    protected void set_double(double v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-        super.set_double(v);
-    }
-
-    public static double validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        double d = JavaDoubleHolder.validateLexical(v, context);
-
-        if (!sType.matchPatternFacet(v))
-            context.invalid("Double (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-        
-        return d;
-    }
-    
-    public static void validateValue(double v, SchemaType sType, ValidationContext context)
-    {
-        XmlObject x;
-        double d;
-
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)) != null)
-        {
-            if (compare(v, d = ((XmlObjectBase)x).doubleValue()) <= 0)
-            {
-                context.invalid(
-                    "Double (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + d + ") for " + QNameHelper.readable(sType));
-            }
-        }
-
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE)) != null)
-        {
-            if (compare(v, d = ((XmlObjectBase)x).doubleValue()) < 0)
-            {
-                context.invalid(
-                    "Double (" + v + ") is less than " +
-                        "min inclusive facet (" + d + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE)) != null)
-        {
-            if (compare(v, d = ((XmlObjectBase)x).doubleValue()) > 0)
-            {
-                context.invalid(
-                    "Double (" + v + ") is greater than " +
-                        "max inclusive facet (" + d + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)) != null)
-        {
-            if (compare(v, d = ((XmlObjectBase)x).doubleValue()) >= 0)
-            {
-                context.invalid(
-                    "Double (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + d + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (compare(v, ((XmlObjectBase)vals[i]).doubleValue()) == 0)
-                    return;
-            context.invalid("Double (" + v + ") is not a valid enumerated value for " + QNameHelper.readable(sType));
-        }
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(doubleValue(), schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolder.java
deleted file mode 100644
index 0e6dc70..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolder.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-public abstract class JavaFloatHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_FLOAT; }
-
-    private float _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets+sets raw text value
-    protected String compute_text(NamespaceManager nsm) {
-        return serialize(_value);
-    }
-
-    public static String serialize(float f)
-    {
-        if (f == Float.POSITIVE_INFINITY)
-            return "INF";
-        else if (f == Float.NEGATIVE_INFINITY)
-            return "-INF";
-        else if (f == Float.NaN)
-            return "NaN";
-        else
-            return Float.toString(f);
-    }
-    protected void set_text(String s)
-    {
-        set_float(validateLexical(s,_voorVc));
-    }
-    public static float validateLexical(String v, ValidationContext context)
-    {
-        try
-        {
-            return XsTypeConverter.lexFloat(v);
-        }
-        catch(NumberFormatException e)
-        {
-            context.invalid("Invalid float value");
-
-            return Float.NaN;
-        }
-    }
-    protected void set_nil()
-    {
-        _value = 0.0f;
-    }
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return new BigDecimal(_value); }
-    public double doubleValue() { check_dated(); return _value; }
-    public float floatValue() { check_dated(); return _value; }
-
-    // setters
-    protected void set_double(double v) { set_float((float)v); }
-    protected void set_float(float v) { _value = v; }
-    protected void set_long(long v) { set_float((float)v); }
-    protected void set_BigDecimal(BigDecimal v) { set_float(v.floatValue()); }
-    protected void set_BigInteger(BigInteger v) { set_float(v.floatValue()); }
-
-    // comparators
-    protected int compare_to(XmlObject f)
-    {
-        return compare(_value,((XmlObjectBase)f).floatValue());
-    }
-
-    static int compare(float thisValue, float thatValue)
-    {
-        if (thisValue < thatValue) return -1;
-        if (thisValue > thatValue) return  1;
-
-        int thisBits = Float.floatToIntBits(thisValue);
-        int thatBits = Float.floatToIntBits(thatValue);
-
-        return thisBits == thatBits ? 0 : thisBits < thatBits ? -1 : 1;
-    }
-
-    protected boolean equal_to(XmlObject f)
-    {
-        return compare(_value, ((XmlObjectBase)f).floatValue()) == 0;
-    }
-
-    protected int value_hash_code()
-    {
-        return Float.floatToIntBits(_value);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolderEx.java
deleted file mode 100644
index 42c4efc..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaFloatHolderEx.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-
-
-public abstract class JavaFloatHolderEx extends JavaFloatHolder
-{
-    public JavaFloatHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-    
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    protected void set_float(float v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-        super.set_float(v);
-    }
-    
-    public static float validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        float f = JavaFloatHolder.validateLexical(v, context);
-
-        if (!sType.matchPatternFacet(v))
-            context.invalid("Float (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-        
-        return f;
-    }
-    
-    public static void validateValue(float v, SchemaType sType, ValidationContext context)
-    {
-        XmlObject x;
-        float f;
-
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)) != null)
-        {
-            if (compare(v, f = ((XmlObjectBase)x).floatValue()) <= 0)
-            {
-                context.invalid(
-                    "Float (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + f + ") for " + QNameHelper.readable(sType));
-            }
-        }
-
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE)) != null)
-        {
-            if (compare(v, f = ((XmlObjectBase)x).floatValue()) < 0)
-            {
-                context.invalid(
-                    "Float (" + v + ") is less than " +
-                        "min inclusive facet (" + f + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE)) != null)
-        {
-            if (compare(v, f = ((XmlObjectBase)x).floatValue()) > 0)
-            {
-                context.invalid(
-                    "Float (" + v + ") is greater than " +
-                        "max inclusive facet (" + f + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)) != null)
-        {
-            if (compare(v, f = ((XmlObjectBase)x).floatValue()) >= 0)
-            {
-                context.invalid(
-                    "Float (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + f + ") for " + QNameHelper.readable(sType));
-            }
-        }
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (compare(v, ((XmlObjectBase)vals[i]).floatValue()) == 0)
-                    return;
-            context.invalid("Float (" + v + ") is not a valid enumerated value for " + QNameHelper.readable(sType));
-        }
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(floatValue(), schemaType(), ctx);
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDateHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDateHolderEx.java
deleted file mode 100644
index d78043c..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDateHolderEx.java
+++ /dev/null
@@ -1,312 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import java.util.Date;
-import java.util.Calendar;
-
-public abstract class JavaGDateHolderEx extends XmlObjectBase
-{
-    public JavaGDateHolderEx(SchemaType type, boolean complex)
-    {
-        _schemaType = type;
-        initComplexType(complex, false);
-    }
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    private SchemaType _schemaType;
-    private GDate _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // sets/gets raw text value
-    protected String compute_text(NamespaceManager nsm)
-        { return _value == null ? "" : _value.toString(); }
-
-    protected void set_text(String s)
-    {
-        GDate newVal;
-        if (_validateOnSet())
-            newVal = validateLexical(s, _schemaType, _voorVc);
-        else
-            newVal = lex(s, _schemaType, _voorVc);
-
-        if (_validateOnSet() && newVal != null)
-            validateValue(newVal, _schemaType, _voorVc);
-
-        _value = newVal;
-    }
-
-    public static GDate lex(String v, SchemaType sType, ValidationContext context)
-    {
-        GDate date = null;
-        
-        try
-        {
-            date = new GDate(v);
-        }
-        catch (Exception e)
-        {
-            context.invalid("Date value is malformed: "+v);
-        }
-
-        if (date != null)
-        {
-            if (date.getBuiltinTypeCode() != sType.getPrimitiveType().getBuiltinTypeCode())
-            {
-                context.invalid("Date value is of wrong type: " + v);
-                date = null;
-            }
-            else if (!date.isValid())
-            {
-                context.invalid("Date value is invalid: " + v);
-                date = null;
-            }
-        }
-
-        return date;
-    }
-
-    public static GDate validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-
-        GDate date = lex(v, sType, context);
-
-        if (date != null && sType.hasPatternFacet())
-            if (!sType.matchPatternFacet(v))
-                context.invalid("Date (' + v + ') does not match pattern for " + QNameHelper.readable(sType));
-        
-        return date;
-    }
-
-    public static void validateValue(GDateSpecification v, SchemaType sType, ValidationContext context)
-    {
-        XmlObject x;
-        GDate g;
-        
-        if (v.getBuiltinTypeCode() != sType.getPrimitiveType().getBuiltinTypeCode())
-            context.invalid("Date (" + v + ") does not have the set of fields required for " + QNameHelper.readable(sType));
-
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)) != null)
-            if (v.compareToGDate(g = ((XmlObjectBase)x).gDateValue()) <= 0)
-                context.invalid("Date (" + v + ") is less than or equal to min exclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE)) != null)
-            if (v.compareToGDate(g = ((XmlObjectBase)x).gDateValue()) < 0)
-                context.invalid("Date (" + v + ") is less than min inclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)) != null)
-            if (v.compareToGDate(g = ((XmlObjectBase)x).gDateValue()) >= 0)
-                context.invalid("Date (" + v + ") is greater than or equal to max exclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE)) != null)
-            if (v.compareToGDate(g = ((XmlObjectBase)x).gDateValue()) > 0)
-                context.invalid("Date (" + v + ") is greater than max inclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (v.compareToGDate(((XmlObjectBase)vals[i]).gDateValue()) == 0)
-                    return;
-            context.invalid("Date (" + v + ") is not a valid enumeration value for " + QNameHelper.readable(sType));
-        }
-    }
-
-    protected void set_nil()
-    {
-        _value = null;
-    }
-
-    // numerics: gYear, gMonth, gDay accept an integer
-    public int intValue()
-    {
-        int code = schemaType().getPrimitiveType().getBuiltinTypeCode();
-
-        if (code != SchemaType.BTC_G_DAY &&
-                code != SchemaType.BTC_G_MONTH &&
-                code != SchemaType.BTC_G_YEAR)
-            throw new XmlValueOutOfRangeException();
-
-        check_dated();
-
-        if (_value == null)
-            return 0;
-
-        switch (code)
-        {
-            case SchemaType.BTC_G_DAY:
-                return _value.getDay();
-            case SchemaType.BTC_G_MONTH:
-                return _value.getMonth();
-            case SchemaType.BTC_G_YEAR:
-                return _value.getYear();
-            default:
-                assert(false);
-                throw new IllegalStateException();
-        }
-    }
-
-    public GDate gDateValue()
-    {
-        check_dated();
-
-        if (_value == null)
-            return null;
-
-        return _value;
-    }
-    
-    public Calendar calendarValue()
-    {
-        check_dated();
-
-        if (_value == null)
-            return null;
-
-        return _value.getCalendar();
-    }
-
-    public Date dateValue()
-    {
-        check_dated();
-
-        if (_value == null)
-            return null;
-
-        return _value.getDate();
-    }
-
-    // setters
-    protected void set_int(int v)
-    {
-        int code = schemaType().getPrimitiveType().getBuiltinTypeCode();
-
-        if (code != SchemaType.BTC_G_DAY &&
-                code != SchemaType.BTC_G_MONTH &&
-                code != SchemaType.BTC_G_YEAR)
-            throw new XmlValueOutOfRangeException();
-
-        GDateBuilder value = new GDateBuilder();
-
-        switch (code)
-        {
-            case SchemaType.BTC_G_DAY:
-                value.setDay(v); break;
-            case SchemaType.BTC_G_MONTH:
-                value.setMonth(v); break;
-            case SchemaType.BTC_G_YEAR:
-                value.setYear(v); break;
-        }
-
-        if (_validateOnSet())
-            validateValue(value, _schemaType, _voorVc);
-
-        _value = value.toGDate();
-    }
-
-    protected void set_GDate(GDateSpecification v)
-    {
-        int code = schemaType().getPrimitiveType().getBuiltinTypeCode();
-
-        GDate candidate;
-
-        if (v.isImmutable() && (v instanceof GDate) && v.getBuiltinTypeCode() == code)
-            candidate = (GDate)v;
-        else
-        {
-            // truncate extra fields from the date if necessary.
-            if (v.getBuiltinTypeCode() != code)
-            {
-                GDateBuilder gDateBuilder = new GDateBuilder(v);
-                gDateBuilder.setBuiltinTypeCode(code);
-                v = gDateBuilder;
-            }
-            candidate = new GDate(v);
-        }
-
-        if (_validateOnSet())
-            validateValue(candidate, _schemaType, _voorVc);
-
-        _value = candidate;
-    }
-    
-    protected void set_Calendar(Calendar c)
-    {
-        int code = schemaType().getPrimitiveType().getBuiltinTypeCode();
-
-        GDateBuilder gDateBuilder = new GDateBuilder(c);
-        gDateBuilder.setBuiltinTypeCode(code);
-        GDate value = gDateBuilder.toGDate();
- 
-        if (_validateOnSet())
-            validateValue(value, _schemaType, _voorVc);
-
-        _value = value;
-    }
-
-    protected void set_Date(Date v)
-    {
-        int code = schemaType().getPrimitiveType().getBuiltinTypeCode();
-
-        if (code != SchemaType.BTC_DATE && code != SchemaType.BTC_DATE_TIME ||
-            v == null)
-            throw new XmlValueOutOfRangeException();
-
-        GDateBuilder gDateBuilder = new GDateBuilder(v);
-        gDateBuilder.setBuiltinTypeCode(code);
-        GDate value = gDateBuilder.toGDate();
- 
-        if (_validateOnSet())
-            validateValue(value, _schemaType, _voorVc);
-
-        _value = value;
-    }
-
-
-    // comparators
-    protected int compare_to(XmlObject obj)
-    {
-        return _value.compareToGDate(((XmlObjectBase)obj).gDateValue());
-    }
-
-    protected boolean equal_to(XmlObject obj)
-    {
-        return _value.equals(((XmlObjectBase)obj).gDateValue());
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(gDateValue(), schemaType(), ctx);
-    }
-    
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDurationHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDurationHolderEx.java
deleted file mode 100644
index deed7f3..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaGDurationHolderEx.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.GDurationSpecification;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.XmlObject;
-
-public abstract class JavaGDurationHolderEx extends XmlObjectBase
-{
-    public JavaGDurationHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    GDuration _value;
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType() { return _schemaType; }
-
-    protected void set_text(String s)
-    {
-        GDuration newVal;
-        if (_validateOnSet())
-            newVal = validateLexical(s, _schemaType, _voorVc);
-        else
-            newVal = lex(s, _voorVc);
-
-        if (_validateOnSet() && newVal != null)
-            validateValue(newVal, _schemaType, _voorVc);
-
-        _value = newVal;
-    }
-
-    protected void set_GDuration(GDurationSpecification v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-        
-        if (v.isImmutable() && (v instanceof GDuration))
-            _value = (GDuration)v;
-        else
-            _value = new GDuration(v);
-    }
-
-    protected String compute_text(NamespaceManager nsm)
-        { return _value == null ? "" : _value.toString(); }
-
-    protected void set_nil()
-    {
-        _value = null;
-    }
-
-    public GDuration gDurationValue()
-    {
-        check_dated();
-
-        return _value == null ? null : _value;
-    }
-
-    public static GDuration lex(String v, ValidationContext context)
-    {
-        GDuration duration = null;
-        
-        try
-        {
-            duration = new GDuration(v);
-        }
-        catch (Exception e)
-        {
-            context.invalid("Duration value is malformed: "+v);
-        }
-
-        return duration;
-    }
-
-    public static GDuration validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        GDuration duration = lex(v, context);
-
-        if (duration != null && sType.hasPatternFacet())
-            if (!sType.matchPatternFacet(v))
-                context.invalid("Duration (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-        
-        return duration;
-    }
-
-    public static void validateValue(GDurationSpecification v, SchemaType sType, ValidationContext context)
-    {
-        XmlObject x;
-        GDuration g;
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)) != null)
-            if (v.compareToGDuration(g = ((XmlObjectBase)x).gDurationValue()) <= 0)
-                context.invalid("Duration (" + v + ") is less than or equal to min exclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE)) != null)
-            if (v.compareToGDuration(g = ((XmlObjectBase)x).gDurationValue()) < 0)
-                context.invalid("Duration (" + v + ") is less than min inclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)) != null)
-            if (v.compareToGDuration(g = ((XmlObjectBase)x).gDurationValue()) >= 0)
-                context.invalid("Duration (" + v + ") is greater than or equal to max exclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE)) != null)
-            if (v.compareToGDuration(g = ((XmlObjectBase)x).gDurationValue()) > 0)
-                context.invalid("Duration (" + v + ") is greater than max inclusive facet (" + g + ") for " + QNameHelper.readable(sType) );
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (v.compareToGDuration(((XmlObjectBase)vals[i]).gDurationValue()) == 0)
-                    return;
-            context.invalid("Duration (" + v + ") is not a valid enumeration value for " + QNameHelper.readable(sType));
-        }
-    }
-    
-    protected int compare_to(XmlObject d)
-    {
-        return _value.compareToGDuration(((XmlObjectBase) d).gDurationValue());
-    }
-
-    protected boolean equal_to(XmlObject d)
-    {
-        return _value.equals(((XmlObjectBase) d).gDurationValue());
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(gDurationValue(), schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolder.java
deleted file mode 100644
index ef4a79d..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolder.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-import org.apache.xmlbeans.impl.util.HexBin;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlHexBinary;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import java.security.NoSuchAlgorithmException;
-import java.security.MessageDigest;
-import java.util.Arrays;
-import java.io.UnsupportedEncodingException;
-
-public abstract class JavaHexBinaryHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_HEX_BINARY; }
-
-    protected byte[] _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets raw text value
-    protected String compute_text(NamespaceManager nsm)
-    {
-        return new String(HexBin.encode(_value));
-    }
-    protected void set_text(String s)
-    {
-        _hashcached = false;
-        if (_validateOnSet())
-            _value = validateLexical(s, schemaType(), _voorVc);
-        else
-            _value = lex(s, _voorVc);
-    }
-    protected void set_nil()
-    {
-        _hashcached = false;
-        _value = null;
-    }
-
-    public static byte[] lex(String v, ValidationContext context)
-    {
-        byte[] vBytes = null;
-        try
-        {
-            vBytes = v.getBytes("UTF-8");
-        }
-        catch(UnsupportedEncodingException uee)
-        {
-            // should never happen - UTF-8 is always supported
-        }
-        byte[] bytes = HexBin.decode(vBytes);
-
-        if (bytes == null)
-        {
-            // TODO - get a decent error with line numbers and such here
-            context.invalid("Hex encoded data not encoded properly");
-        }
-
-        return bytes;
-    }
-
-    public static byte[] validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        byte[] bytes = lex(v, context);
-
-        if (bytes == null)
-            return null;
-        
-        if (!sType.matchPatternFacet(v))
-        {
-            context.invalid( "Hex encoded data does not match pattern for " + QNameHelper.readable(sType));
-            return null;
-        }
-
-        return bytes;
-    }
-
-    public byte[] byteArrayValue()
-    {
-        check_dated();
-        if (_value == null)
-            return null;
-
-        byte[] result = new byte[_value.length];
-        System.arraycopy(_value, 0, result, 0, _value.length);
-        return result;
-    }
-
-    // setters
-    protected void set_ByteArray(byte[] ba)
-    {
-        _hashcached = false;
-        _value = new byte[ba.length];
-        System.arraycopy(ba, 0, _value, 0, ba.length);
-    }
-
-    // comparators
-    protected boolean equal_to(XmlObject i)
-    {
-        byte[] ival = ((XmlHexBinary) i).getByteArrayValue();
-        return Arrays.equals(_value, ival);
-    }
-
-    //because computing hashcode is expensive we'll cache it
-    protected boolean _hashcached = false;
-    protected int hashcode = 0;
-    protected static MessageDigest md5;
-    static
-    {
-        try
-        {
-            md5 = MessageDigest.getInstance("MD5");
-        }
-        catch( NoSuchAlgorithmException e )
-        {
-            throw new IllegalStateException("Cannot find MD5 hash Algorithm");
-        }
-    }
-
-    protected int value_hash_code()
-    {
-        if( _hashcached )
-            return hashcode;
-
-        _hashcached = true;
-
-        if( _value == null )
-            return hashcode = 0;
-
-        byte[] res = md5.digest(_value);
-        return hashcode = res[0]<<24 + res[1]<<16 + res[2]<<8 + res[3];
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolderEx.java
deleted file mode 100644
index 53b307b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaHexBinaryHolderEx.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-
-
-public abstract class JavaHexBinaryHolderEx extends JavaHexBinaryHolder
-{
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaHexBinaryHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        byte[] v;
-
-        if (_validateOnSet())
-            v = validateLexical(s, schemaType(), _voorVc);
-        else
-            v = lex(s, _voorVc);
-
-        if (_validateOnSet() && v != null)
-            validateValue(v, schemaType(), XmlObjectBase._voorVc);
-        
-        super.set_ByteArray(v);
-
-        _value = v;
-    }
-
-    // setters
-    protected void set_ByteArray(byte[] v)
-    {
-        if (_validateOnSet())
-            validateValue(v, schemaType(), _voorVc);
-        
-        super.set_ByteArray(v);
-    }
-
-    public static void validateValue(byte[] v, SchemaType sType, ValidationContext context)
-    {
-        int i;
-        XmlObject o;
-
-        if ((o = sType.getFacet(SchemaType.FACET_LENGTH)) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) != v.length)
-            {
-                context.invalid(
-                    "Hex encoded data does not have " + i +
-                        " bytes per length facet" );
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MIN_LENGTH )) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) > v.length)
-            {
-                context.invalid(
-                    "Hex encoded data has only " + v.length +
-                        " bytes, fewer than min length facet" );
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MAX_LENGTH )) != null)
-        {
-            if ((i = ((XmlObjectBase)o).bigIntegerValue().intValue()) < v.length)
-            {
-                context.invalid(
-                    "Hex encoded data has " + v.length +
-                        " bytes, more than max length facet" );
-            }
-        }
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-
-        if (vals != null)
-        {
-            enumLoop: for ( i = 0 ; i < vals.length ; i++ )
-            {
-                byte[] enumBytes = ((XmlObjectBase)vals[i]).byteArrayValue();
-
-                if (enumBytes.length != v.length)
-                    continue;
-
-                for ( int j = 0 ; j < enumBytes.length ; j++ )
-                    if (enumBytes[j] != v[j])
-                        continue enumLoop;
-                
-                break;
-            }
-            
-            if (i >= vals.length)
-                context.invalid("Hex encoded data does not match any of the enumeration values");
-        }
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(byteArrayValue(), schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolder.java
deleted file mode 100644
index cac0b57..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolder.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SimpleValue;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-public abstract class JavaIntHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_INT; }
-
-    private int _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets raw text value
-    public String compute_text(NamespaceManager nsm) { return Long.toString(_value); }
-    protected void set_text(String s)
-    {
-        try { set_int(XsTypeConverter.lexInt(s)); }
-        catch (Exception e) { throw new XmlValueOutOfRangeException("invalid int: " + s); }
-    }
-    protected void set_nil()
-    {
-        _value = 0;
-    }
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return new BigDecimal(_value); }
-    public BigInteger bigIntegerValue() { check_dated(); return BigInteger.valueOf(_value); }
-    public long longValue() { check_dated(); return _value; }
-    public int intValue() { check_dated(); return _value; }
-
-    static final BigInteger _max = BigInteger.valueOf(Integer.MAX_VALUE);
-    static final BigInteger _min = BigInteger.valueOf(Integer.MIN_VALUE);
-
-    // setters
-    protected void set_BigDecimal(BigDecimal v) { set_BigInteger(v.toBigInteger()); }
-    protected void set_BigInteger(BigInteger v)
-    {
-        if (v.compareTo(_max) > 0 || v.compareTo(_min) < 0)
-            throw new XmlValueOutOfRangeException();
-        set_int(v.intValue());
-    }
-    protected void set_long(long l)
-    {
-        if (l > Integer.MAX_VALUE || l < Integer.MIN_VALUE)
-            throw new XmlValueOutOfRangeException();
-        set_int((int)l);
-    }
-    protected void set_int(int i)
-    {
-        _value = i;
-    }
-
-    // comparators
-    protected int compare_to(XmlObject i)
-    {
-        if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT)
-            return -i.compareTo(this);
-
-        return _value == ((XmlObjectBase)i).intValue() ? 0 :
-               _value < ((XmlObjectBase)i).intValue() ? -1 : 1;
-    }
-
-    protected boolean equal_to(XmlObject i)
-    {
-        if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT)
-            return i.valueEquals(this);
-
-        return _value == ((XmlObjectBase)i).intValue();
-    }
-
-    /**
-     * Note, this is carefully aligned with hash codes for all xsd:decimal
-     * primitives.
-     */
-    protected int value_hash_code()
-    {
-        return _value;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolderEx.java
deleted file mode 100644
index fec394a..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntHolderEx.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-public abstract class JavaIntHolderEx extends JavaIntHolder
-{
-    public JavaIntHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-        
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    protected void set_text(String s)
-    {
-        int v;
-
-        try { v = XsTypeConverter.lexInt(s); }
-        catch (Exception e) { throw new XmlValueOutOfRangeException(); }
-        
-        if (_validateOnSet())
-        {
-            validateValue(v, _schemaType, _voorVc);
-            validateLexical(s, _schemaType, _voorVc);
-        }
-
-        super.set_int(v);
-    }
-    
-    protected void set_int(int v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-
-        super.set_int(v);
-    }
-    
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        JavaDecimalHolder.validateLexical(v, context);
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                context.invalid("Integer (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-    }
-    
-    private static void validateValue(int v, SchemaType sType, ValidationContext context)
-    {
-        // total digits
-        XmlObject td = sType.getFacet(SchemaType.FACET_TOTAL_DIGITS);
-        if (td != null)
-        {
-            String temp = Integer.toString(v);
-            int len = temp.length();
-            if (len > 0 && temp.charAt(0) == '-')
-                len -= 1;
-            int m = getIntValue(td);
-            if (len > m)
-            {
-                context.invalid(
-                    "Integer total digits (" + temp + ") is greater than " +
-                        "total digits facet (" + getIntValue(td) + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min ex
-        XmlObject mine = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE);
-        if (mine != null)
-        {
-            int m = getIntValue(mine);
-            if (!(v > m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min in
-        XmlObject mini = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE);
-        if (mini != null)
-        {
-            int m = getIntValue(mini);
-            if (!(v >= m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than " +
-                        "min inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max in
-        XmlObject maxi = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE);
-        if (maxi != null)
-        {
-            int m = getIntValue(maxi);
-            if (!(v <= m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is greater than " +
-                        "max inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max ex
-        XmlObject maxe = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE);
-        if (maxe != null)
-        {
-            int m = getIntValue(maxe);
-            if (!(v < m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // enumeration
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-            {
-                if (v == getIntValue(vals[i]))
-                    return;
-            }
-            context.invalid("Integer (" + v + ") does not match any enumeration values for " + QNameHelper.readable(sType));
-        }
-    }
-
-    private static int getIntValue(XmlObject o) {
-        SchemaType s = o.schemaType();
-        switch (s.getDecimalSize()) 
-        {
-            case SchemaType.SIZE_BIG_DECIMAL:
-                return ((XmlObjectBase)o).bigDecimalValue().intValue();
-            case SchemaType.SIZE_BIG_INTEGER:
-                return ((XmlObjectBase)o).bigIntegerValue().intValue();
-            case SchemaType.SIZE_LONG:
-                return (int)((XmlObjectBase)o).longValue();
-            default:
-                return ((XmlObjectBase)o).intValue();
-        }
-
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(intValue(), schemaType(), ctx);
-    }
-    
-}
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolder.java
deleted file mode 100644
index 3efbe58..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolder.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-public abstract class JavaIntegerHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_INTEGER; }
-
-    private BigInteger _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets/sets raw text value
-    protected String compute_text(NamespaceManager nsm) { return _value.toString(); }
-    protected void set_text(String s)
-    {
-        set_BigInteger(lex(s, _voorVc));
-    }
-    public static BigInteger lex(String s, ValidationContext vc) 
-    {
-        if (s.length() > 0 && s.charAt( 0 ) == '+' )
-            s = s.substring(1);
-
-        try { return new BigInteger(s); }
-        catch (Exception e) { vc.invalid("Not a valid integer: " + s); return null; }
-    }
-    protected void set_nil()
-    {
-        _value = null;
-    }
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return _value == null ? null : new BigDecimal(_value); }
-    public BigInteger bigIntegerValue() { check_dated(); return _value; }
-
-    // setters
-    protected void set_BigDecimal(BigDecimal v) { _value = v.toBigInteger(); }
-    protected void set_BigInteger(BigInteger v) { _value = v; }
-
-    // comparators
-    protected int compare_to(XmlObject i)
-    {
-        if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_BIG_INTEGER)
-            return -i.compareTo(this);
-
-        return _value.compareTo(((XmlObjectBase)i).bigIntegerValue());
-    }
-
-    protected boolean equal_to(XmlObject i)
-    {
-        if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_BIG_INTEGER)
-            return i.valueEquals(this);
-
-        return _value.equals(((XmlObjectBase)i).bigIntegerValue());
-    }
-
-    static private BigInteger _maxlong = BigInteger.valueOf(Long.MAX_VALUE);
-    static private BigInteger _minlong = BigInteger.valueOf(Long.MIN_VALUE);
-
-    /**
-     * Note, this is carefully aligned with hash codes for all xsd:decimal
-     * primitives.
-     */
-    protected int value_hash_code()
-    {
-        if (_value.compareTo(_maxlong) > 0 ||
-            _value.compareTo(_minlong) < 0)
-            return _value.hashCode();
-
-        long longval = _value.longValue();
-
-        return (int)((longval >> 32) * 19 + longval);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolderEx.java
deleted file mode 100644
index 11327a1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaIntegerHolderEx.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlInt;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-public class JavaIntegerHolderEx extends JavaIntegerHolder
-{
-    public JavaIntegerHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-    
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    protected void set_text(String s)
-    {
-        BigInteger v = lex(s, _voorVc);
-        
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-    
-        if (_validateOnSet())
-            validateLexical(s, _schemaType, _voorVc);
-
-        super.set_BigInteger(v);
-    }
-    
-    protected void set_BigInteger(BigInteger v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-
-        super.set_BigInteger(v);
-    }
-    
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        JavaDecimalHolder.validateLexical(v, context);
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                context.invalid("Integer (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-    }
-
-    private static void validateValue(BigInteger v, SchemaType sType, ValidationContext context)
-    {
-        // total digits
-        XmlInt td = (XmlInt)sType.getFacet(SchemaType.FACET_TOTAL_DIGITS);
-        if (td != null)
-        {
-            String temp = v.toString();
-            int len = temp.length();
-            if (len > 0 && temp.charAt(0) == '-')
-                len -= 1;
-            if (len > td.getIntValue())
-            {
-                context.invalid(
-                    "Integer total digits (" + temp + ") is greater than " +
-                        "total digits facet (" + td.getIntValue() + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min ex
-        XmlObject mine = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE);
-        if (mine != null)
-        {
-            BigInteger m = getBigIntegerValue(mine);
-            if (!(v.compareTo(m) > 0))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min in
-        XmlObject mini = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE);
-        if (mini != null)
-        {
-            BigInteger m = getBigIntegerValue(mini);
-            if (!(v.compareTo(m) >= 0))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than " +
-                        "min inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max in
-        XmlObject maxi = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE);
-        if (maxi != null)
-        {
-            BigInteger m = getBigIntegerValue(maxi);
-            if (!(v.compareTo(m) <= 0))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is greater than " +
-                        "max inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max ex
-        XmlObject maxe = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE);
-        if (maxe != null)
-        {
-            BigInteger m = getBigIntegerValue(maxe);
-            if (!(v.compareTo(m) < 0))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // enumeration
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-            {
-                if (v.equals(getBigIntegerValue(vals[i])))
-                    return;
-            }
-            context.invalid("Integer (" + v + ") does not match any enumeration values for " + QNameHelper.readable(sType));
-        }
-    }
-
-    private static BigInteger getBigIntegerValue(XmlObject o)
-    {
-        SchemaType s = o.schemaType();
-        switch (s.getDecimalSize()) 
-        {
-            case SchemaType.SIZE_BIG_DECIMAL:
-                return ((XmlObjectBase)o).bigDecimalValue().toBigInteger();
-            case SchemaType.SIZE_BIG_INTEGER:
-                return ((XmlObjectBase)o).bigIntegerValue();
-            default:
-                throw new IllegalStateException("Bad facet type for Big Int: " + s);
-        }
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(bigIntegerValue(), schemaType(), ctx);
-    }
-    
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolder.java
deleted file mode 100644
index ae3b5e2..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolder.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SimpleValue;
-
-import java.math.BigInteger;
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-public abstract class JavaLongHolder extends XmlObjectBase
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_LONG; }
-
-    private long _value;
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // gets raw text value
-    protected String compute_text(NamespaceManager nsm) { return Long.toString(_value); }
-    protected void set_text(String s)
-    {
-        try { set_long(XsTypeConverter.lexLong(s)); }
-        catch (Exception e) { throw new XmlValueOutOfRangeException(); }
-    }
-    protected void set_nil()
-    {
-        _value = 0L;
-    }
-
-    // numerics: fractional
-    public BigDecimal bigDecimalValue() { check_dated(); return BigDecimal.valueOf(_value); }
-    public BigInteger bigIntegerValue() { check_dated(); return BigInteger.valueOf(_value); }
-    public long longValue() { check_dated(); return _value; }
-
-    private static final BigInteger _max = BigInteger.valueOf(Long.MAX_VALUE);
-    private static final BigInteger _min = BigInteger.valueOf(Long.MIN_VALUE);
-
-    // setters
-    protected void set_BigDecimal(BigDecimal v) { set_BigInteger(v.toBigInteger()); }
-    protected void set_BigInteger(BigInteger v)
-    {
-        if (v.compareTo(_max) > 0 || v.compareTo(_min) < 0)
-            throw new XmlValueOutOfRangeException();
-        _value = v.longValue();
-    }
-    protected void set_long(long l) { _value = l; }
-
-    // comparators
-    protected int compare_to(XmlObject l)
-    {
-        if (((SimpleValue)l).instanceType().getDecimalSize() > SchemaType.SIZE_LONG)
-            return -l.compareTo(this);
-
-        return _value == ((XmlObjectBase)l).longValue() ? 0 :
-               _value < ((XmlObjectBase)l).longValue() ? -1 : 1;
-    }
-
-    protected boolean equal_to(XmlObject l)
-    {
-        if (((SimpleValue)l).instanceType().getDecimalSize() > SchemaType.SIZE_LONG)
-            return l.valueEquals(this);
-
-        return _value == ((XmlObjectBase)l).longValue();
-    }
-
-    /**
-     * Note, this is carefully aligned with hash codes for all xsd:decimal
-     * primitives.
-     */
-    protected int value_hash_code()
-    {
-        return (int)((_value >> 32) * 19 + _value);
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolderEx.java
deleted file mode 100644
index 5963870..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaLongHolderEx.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.util.XsTypeConverter;
-
-public abstract class JavaLongHolderEx extends JavaLongHolder
-{
-    public JavaLongHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-        
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    protected void set_text(String s)
-    {
-        long v;
-
-        try { v = XsTypeConverter.lexLong(s); }
-        catch (Exception e) { throw new XmlValueOutOfRangeException(); }
-        
-        if (_validateOnSet())
-        {
-            validateValue(v, _schemaType, _voorVc);
-            validateLexical(s, _schemaType, _voorVc);
-        }
-
-        super.set_long(v);
-    }
-    
-    protected void set_long(long v)
-    {
-        if (_validateOnSet())
-            validateValue(v, _schemaType, _voorVc);
-
-        super.set_long(v);
-    }
-
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        JavaDecimalHolder.validateLexical(v, context);
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                context.invalid("Integer (" + v + ") does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-    }
-    
-    private static void validateValue(long v, SchemaType sType, ValidationContext context)
-    {
-        // total digits
-        XmlObject td = sType.getFacet(SchemaType.FACET_TOTAL_DIGITS);
-        if (td != null)
-        {
-            long m = getLongValue(td);
-            String temp = Long.toString(v);
-            int len = temp.length();
-            if (len > 0 && temp.charAt(0) == '-')
-                len -= 1;
-            if (len > m)
-            {
-                context.invalid(
-                    "Integer total digits (" + temp + ") is greater than " +
-                        "total digits facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min ex
-        XmlObject mine = sType.getFacet(SchemaType.FACET_MIN_EXCLUSIVE);
-        if (mine != null)
-        {
-            long m = getLongValue(mine);
-            if (!(v > m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // min in
-        XmlObject mini = sType.getFacet(SchemaType.FACET_MIN_INCLUSIVE);
-        if (mini != null)
-        {
-            long m = getLongValue(mini);
-            if (!(v >= m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than or equal to " +
-                        "min exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max in
-        XmlObject maxi = sType.getFacet(SchemaType.FACET_MAX_INCLUSIVE);
-        if (maxi != null)
-        {
-            long m = getLongValue(maxi);
-            if (!(v <= m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is less than " +
-                        "min inclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // max ex
-        XmlObject maxe = sType.getFacet(SchemaType.FACET_MAX_EXCLUSIVE);
-        if (maxe != null)
-        {
-            long m = getLongValue(maxe);
-            if (!(v < m))
-            {
-                context.invalid(
-                    "Integer (" + v + ") is greater than or equal to " +
-                        "max exclusive facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // enumeration
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-            {
-                if (v == getLongValue(vals[i]))
-                    return;
-            }
-            context.invalid("Integer (" + v + ") does not match any enumeration values for " + QNameHelper.readable(sType));
-        }
-    }
-
-    private static long getLongValue(XmlObject o) {
-        SchemaType s = o.schemaType();
-        switch (s.getDecimalSize()) 
-        {
-            case SchemaType.SIZE_BIG_DECIMAL:
-                return ((XmlObjectBase)o).bigDecimalValue().longValue();
-            case SchemaType.SIZE_BIG_INTEGER:
-                return ((XmlObjectBase)o).bigIntegerValue().longValue();
-            case SchemaType.SIZE_LONG:
-                return ((XmlObjectBase)o).longValue();
-            default:
-                throw new IllegalStateException("Bad facet type: " + s);
-        }
-
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(lexical, schemaType(), ctx);
-        validateValue(longValue(), schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolder.java
deleted file mode 100644
index ff329c1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolder.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-public abstract class JavaNotationHolder extends XmlQNameImpl
-{
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_NOTATION; }
-
-//    protected int get_wscanon_rule()
-//        { return SchemaType.WS_PRESERVE; }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolderEx.java
deleted file mode 100644
index 3448463..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaNotationHolderEx.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-
-public abstract class JavaNotationHolderEx extends JavaNotationHolder
-{
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaNotationHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-        {
-            if (!check(s, _schemaType))
-                throw new XmlValueOutOfRangeException();
-
-            if (!_schemaType.matchPatternFacet(s))
-                throw new XmlValueOutOfRangeException();
-        }
-
-        super.set_text(s);
-    }
-
-    protected void set_notation(String v)
-    { set_text(v); }
-
-    private static boolean check(String v, SchemaType sType)
-    {
-        // check against length
-        XmlObject len = sType.getFacet(SchemaType.FACET_LENGTH);
-        if (len != null)
-        {
-            int m = ((XmlObjectBase)len).bigIntegerValue().intValue();
-            if (!(v.length() != m))
-                return false;
-        }
-
-        // check against min length
-        XmlObject min = sType.getFacet(SchemaType.FACET_MIN_LENGTH);
-        if (min != null)
-        {
-            int m = ((XmlObjectBase)min).bigIntegerValue().intValue();
-            if (!(v.length() >= m))
-                return false;
-        }
-
-        // check against min length
-        XmlObject max = sType.getFacet(SchemaType.FACET_MAX_LENGTH);
-        if (max != null)
-        {
-            int m = ((XmlObjectBase)max).bigIntegerValue().intValue();
-            if (!(v.length() <= m))
-                return false;
-        }
-
-        return true;
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolder.java
deleted file mode 100644
index a07932b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolder.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.values.NamespaceContext;
-   
-public class JavaQNameHolder extends XmlObjectBase
-{
-    public JavaQNameHolder() {}
-
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_QNAME; }
-
-    private QName _value;
-
-    protected int get_wscanon_rule()
-        { return SchemaType.WS_PRESERVE; }
-    
-    // an ergonomic prefixer so that you can say stringValue() on a free-floating QName.
-    private static final NamespaceManager PRETTY_PREFIXER = new PrettyNamespaceManager();
-    
-    private static class PrettyNamespaceManager implements NamespaceManager
-    {
-        public String find_prefix_for_nsuri(String nsuri, String suggested_prefix)
-        {
-            return QNameHelper.suggestPrefix(suggested_prefix);
-        }
-        public String getNamespaceForPrefix(String prefix)
-        {
-            return prefix;
-        }
-    }
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-    public String compute_text(NamespaceManager nsm)
-    {
-        if (nsm == null)
-        {
-            // we used to: throw new IllegalStateException("Cannot create QName prefix outside of a document");
-            // but it's not nice to throw on stringValue()
-            nsm = PRETTY_PREFIXER;
-        }
-
-// TODO - what I really need to do here is that if there is no
-// namespace for this qname, then instead of finding the prefix for the
-// uri, I should make a call to set the default namespace for the
-// immediate context for this qname to be "".  
-   
-        String namespace = _value.getNamespaceURI();
-        String localPart = _value.getLocalPart();
-
-        if (namespace == null || namespace.length() == 0)
-            return localPart;
-        
-        String prefix = nsm.find_prefix_for_nsuri( namespace, null );
-
-        assert prefix != null;
-        
-        return prefix + ":" + localPart;
-    }
-
-    public static QName validateLexical(
-        String v, ValidationContext context, PrefixResolver resolver)
-    {
-        QName name;
-        
-        try
-        {
-            name = parse(v, resolver);
-        }
-        catch ( XmlValueOutOfRangeException e )
-        {
-            context.invalid(e.getMessage());
-            name = null;
-        }
-
-        return name;
-    }
-    
-    private static QName parse(String v, PrefixResolver resolver)
-    {
-        String prefix, localname;
-        int start;
-        int end;
-        for (end = v.length(); end > 0; end -= 1)
-            if (!XMLChar.isSpace(v.charAt(end-1)))
-                break;
-        for (start = 0; start < end; start += 1)
-            if (!XMLChar.isSpace(v.charAt(start)))
-                break;
-
-        int firstcolon = v.indexOf(':', start);
-        if (firstcolon >= 0)
-        {
-            prefix = v.substring(start, firstcolon);
-            localname = v.substring(firstcolon + 1, end);
-        }
-        else
-        {
-            prefix = "";
-            localname = v.substring(start, end);
-        }
-        
-        String uri =
-            resolver == null ? null : resolver.getNamespaceForPrefix(prefix);
-        
-        if (uri == null)
-        {
-            if (prefix.length() > 0)
-                throw new XmlValueOutOfRangeException("Can't resolve prefix: " + prefix);
-                        
-            uri = "";
-        }
-
-        return new QName( uri, localname );
-    }
-    
-    protected void set_text(String s)
-    {
-        PrefixResolver resolver = NamespaceContext.getCurrent();
-
-        if (resolver == null && has_store())
-            resolver = get_store();
-        
-        _value = parse(s, resolver);
-    }
-
-    // BUGBUG - having prefix here may not work
-    protected void set_QName(QName name)
-    {
-        assert name != null;
-        
-        // Sync force of creation of namesapce mapping ..
-        
-        if (has_store())
-            get_store().find_prefix_for_nsuri( name.getNamespaceURI(), null );
-        
-        _value = name;
-    }
-
-    protected void set_xmlanysimple(XmlAnySimpleType value)
-    {
-        _value = parse(value.getStringValue(), NamespaceContext.getCurrent());
-    }
-
-    protected void set_nil() { _value = null; }
-
-    // setters, getters (setter already handled via set_text)
-
-    public QName qNameValue()
-        { check_dated(); return _value; }
-
-    // comparators
-    protected boolean equal_to(XmlObject obj)
-    {
-        return _value.equals(((XmlObjectBase)obj).qNameValue());
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolderEx.java
deleted file mode 100644
index 885b9cb..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaQNameHolderEx.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.QName;
-
-public abstract class JavaQNameHolderEx extends JavaQNameHolder
-{
-    private SchemaType _schemaType;
-
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaQNameHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        PrefixResolver resolver = NamespaceContext.getCurrent();
-
-        if (resolver == null && has_store())
-            resolver = get_store();
-
-        QName v;
-        if (_validateOnSet())
-        {
-            v = validateLexical(s, _schemaType, _voorVc, resolver);
-            if (v != null)
-                validateValue(v, _schemaType, _voorVc);
-        }
-        else
-            v = JavaQNameHolder.validateLexical(s, _voorVc, resolver);
-
-        super.set_QName(v);
-    }
-
-    protected void set_QName(QName name)
-    {
-        if (_validateOnSet())
-            validateValue(name, _schemaType, _voorVc);
-        super.set_QName( name );
-    }
-
-    protected void set_xmlanysimple(XmlAnySimpleType value)
-    {
-        QName v;
-        if (_validateOnSet())
-        {
-            v = validateLexical(value.getStringValue(), _schemaType, _voorVc, NamespaceContext.getCurrent());
-
-            if (v != null)
-                validateValue(v, _schemaType, _voorVc);
-        }
-        else
-            v = JavaQNameHolder.validateLexical(value.getStringValue(), _voorVc, NamespaceContext.getCurrent());
-
-        super.set_QName(v);
-    }
-
-    public static QName validateLexical(String v, SchemaType sType, ValidationContext context, PrefixResolver resolver)
-    {
-        QName name = JavaQNameHolder.validateLexical(v, context, resolver);
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                // TODO - describe string and pattern here in error
-                context.invalid("QName '" + v + "' does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-
-        XmlObject x;
-
-        if ((x = sType.getFacet(SchemaType.FACET_LENGTH)) != null)
-            if ((((XmlObjectBase)x).bigIntegerValue().intValue()) != v.length())
-                context.invalid("QName '" + v + "' does not match length facet for " + QNameHelper.readable(sType));
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_LENGTH)) != null)
-            if ((((XmlObjectBase)x).bigIntegerValue().intValue()) > v.length())
-                context.invalid("QName '" + v + "' does not match min length facet for " + QNameHelper.readable(sType));
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_LENGTH)) != null)
-            if ((((XmlObjectBase)x).bigIntegerValue().intValue()) < v.length())
-                context.invalid("QName '" + v + "' does not match max length facet for " + QNameHelper.readable(sType));
-
-        return name;
-    }
-
-    public static void validateValue(QName v, SchemaType sType, ValidationContext context)
-    {
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-                if (v.equals(((XmlObjectBase)vals[i]).qNameValue()))
-                    return;
-            context.invalid("QName '" + v + "' is not a valid enuemrated value for " + QNameHelper.readable(sType));
-        }
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateValue(qNameValue(), schemaType(), ctx);
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringEnumerationHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringEnumerationHolderEx.java
deleted file mode 100644
index 37308fc..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringEnumerationHolderEx.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.StringEnumAbstractBase;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-
-public abstract class JavaStringEnumerationHolderEx extends JavaStringHolderEx
-{
-    public JavaStringEnumerationHolderEx(SchemaType type, boolean complex)
-    {
-        super(type, complex);
-    }
-
-    private StringEnumAbstractBase _val;
-
-    // update the intval when setting via text, nil.
-    protected void set_text(String s)
-    {
-        StringEnumAbstractBase se = schemaType().enumForString(s);
-        if (se == null)
-            throw new XmlValueOutOfRangeException("String '" + s + "' is not a valid enumerated value for " + schemaType());
-
-        super.set_text(s);
-        _val = se;
-    }
-
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        JavaStringHolderEx.validateLexical(v, sType, context);
-
-        if (sType.hasStringEnumValues())
-        {
-            if (sType.enumForString(v) == null)
-            {
-                if (context != null)
-                {
-                    context.invalid("String '" + v + "' is not a valid enumerated value for " + QNameHelper.readable(sType));
-                }
-            }
-        }
-    }
-    
-    protected void set_nil()
-    {
-        _val = null;
-        super.set_nil();
-    }
-
-    // set/get the enum
-    public StringEnumAbstractBase enumValue()
-    {
-        check_dated();
-        return _val;
-    }
-
-    protected void set_enum(StringEnumAbstractBase se)
-    {
-        Class ejc = schemaType().getEnumJavaClass();
-        if (ejc != null && !se.getClass().equals(ejc))
-            throw new XmlValueOutOfRangeException();
-
-        super.set_text(se.toString());
-        _val = se;
-    }
-}
\ No newline at end of file
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolder.java
deleted file mode 100644
index 0247270..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-public class JavaStringHolder extends XmlObjectBase
-{
-    public JavaStringHolder() {}
-
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_STRING; }
-
-    private String _value;
-
-    protected int get_wscanon_rule()
-        { return SchemaType.WS_PRESERVE; }
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-    public String compute_text(NamespaceManager nsm) { return _value; }
-    protected void set_text(String s) { _value = s; }
-    protected void set_nil() { _value = null; }
-
-    // string setter and getter already handled by XmlObjectBase
-
-    // comparators
-    protected boolean equal_to(XmlObject obj)
-    {
-        return _value.equals(((XmlObjectBase)obj).stringValue());
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-    protected boolean is_defaultable_ws(String v)
-    {
-        return false;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolderEx.java
deleted file mode 100644
index eb173eb..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaStringHolderEx.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-public abstract class JavaStringHolderEx extends JavaStringHolder
-{
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaStringHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-            validateLexical(s, _schemaType, _voorVc);
-                 
-        super.set_text(s);
-    }
-
-    protected boolean is_defaultable_ws(String v) {
-        try {
-            validateLexical(v, _schemaType, _voorVc);
-            return false;
-        }
-        catch (XmlValueOutOfRangeException e) {
-            return true;
-        }
-    }
-
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        // check against pattern
-        if (!sType.matchPatternFacet(v))
-        {
-            context.invalid( "String: '" + v + "' does not match pattern for " + QNameHelper.readable(sType));
-            return;
-        }
-
-        // check against length
-        XmlObject len = sType.getFacet(SchemaType.FACET_LENGTH);
-        if (len != null)
-        {
-            int m = ((XmlObjectBase)len).bigIntegerValue().intValue();
-            if (v.length() != m)
-            {
-                context.invalid(
-                    "String length (" + v.length() + ") does not match " +
-                        "length facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // check against min length
-        XmlObject min = sType.getFacet(SchemaType.FACET_MIN_LENGTH);
-        if (min != null)
-        {
-            int m = ((XmlObjectBase)min).bigIntegerValue().intValue();
-            if (v.length() < m)
-            {
-                context.invalid(
-                    "String length (" + v.length() + ") is less than " +
-                        "min length facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-
-        // check against min length
-        XmlObject max = sType.getFacet(SchemaType.FACET_MAX_LENGTH);
-        if (max != null)
-        {
-            int m = ((XmlObjectBase)max).bigIntegerValue().intValue();
-            if (v.length() > m)
-            {
-                context.invalid(
-                    "String length (" + v.length() + ") is greater than " +
-                        "max length facet (" + m + ") for " + QNameHelper.readable(sType));
-                return;
-            }
-        }
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(stringValue(), schemaType(), ctx);
-    }
-    
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolder.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolder.java
deleted file mode 100644
index e49dbc7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolder.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnyURI;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-public abstract class JavaUriHolder extends XmlObjectBase
-{
-    public JavaUriHolder() {}
-
-    public SchemaType schemaType()
-        { return BuiltinSchemaTypeSystem.ST_ANY_URI; }
-
-    private String _value;
-
-    public String compute_text(NamespaceManager nsm) { return _value == null ? "" : _value; }
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-            validateLexical(s, _voorVc);
-        _value = s;
-    }
-
-    public static void validateLexical(String v, ValidationContext context)
-    {
-        // Enough validation to get schema for schema working
-
-        if (v.startsWith( "##" ))
-            context.invalid("XmlAnyURI is malformed: " + v );
-
-    }
-    
-    protected void set_nil() { _value = null; }
-
-    // string setter and getter already handled by XmlObjectBase
-
-    // comparators
-    protected boolean equal_to(XmlObject obj)
-    {
-        return _value.equals(((XmlAnyURI)obj).getStringValue());
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolderEx.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolderEx.java
deleted file mode 100644
index 317138f..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/JavaUriHolderEx.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-public class JavaUriHolderEx extends JavaUriHolder
-{
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public JavaUriHolderEx(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    protected int get_wscanon_rule()
-    {
-        return schemaType().getWhiteSpaceRule();
-    }
-
-    protected void set_text(String s)
-    {
-        if (_validateOnSet())
-        {
-            if (!check(s, _schemaType))
-                throw new XmlValueOutOfRangeException();
-
-            if (!_schemaType.matchPatternFacet(s))
-                throw new XmlValueOutOfRangeException();
-        }
-
-        super.set_text(s);
-    }
-
-//    // setters
-//    protected void set_uri(URI uri)
-//    {
-//        if (!check(uri.toString(), _schemaType))
-//            throw new XmlValueOutOfRangeException();
-//
-//        super.set_uri(uri);
-//    }
-
-    public static void validateLexical(String v, SchemaType sType, ValidationContext context)
-    {
-        XmlAnyUriImpl.validateLexical(v, context);
-        
-        XmlObject[] vals = sType.getEnumerationValues();
-
-        if (vals != null)
-        {
-            int i;
-            
-            for ( i = 0 ; i < vals.length ; i++ )
-            {
-                String e = ((SimpleValue)vals[i]).getStringValue();
-
-                if (e.equals( v ))
-                    break;
-            }
-            
-            if (i >= vals.length)
-                context.invalid("anyURI '" + v + "' is not a valid enumerated value for " + QNameHelper.readable(sType));
-        }
-        
-        // check pattern
-        if (sType.hasPatternFacet())
-        {
-            if (!sType.matchPatternFacet(v))
-            {
-                // TODO - describe string and pattern here in error
-                context.invalid("anyURI value '" + v + "' does not match pattern for " + QNameHelper.readable(sType));
-            }
-        }
-
-        XmlObject x;
-
-        if ((x = sType.getFacet(SchemaType.FACET_LENGTH)) != null)
-            if ((((SimpleValue)x).getBigIntegerValue().intValue()) != v.length())
-                context.invalid("anyURI value '" + v + "' does not match length facet (" + ((SimpleValue)x).getBigIntegerValue() + ") for " + QNameHelper.readable(sType));
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MIN_LENGTH)) != null)
-            if ((((SimpleValue)x).getBigIntegerValue().intValue()) > v.length())
-                context.invalid("anyURI value '" + v + "' does not match min length facet (" + ((SimpleValue)x).getBigIntegerValue() + ") for " + QNameHelper.readable(sType));
-        
-        if ((x = sType.getFacet(SchemaType.FACET_MAX_LENGTH)) != null)
-            if ((((SimpleValue)x).getBigIntegerValue().intValue()) < v.length())
-                context.invalid("anyURI value '" + v + "' does not match max length facet (" + ((SimpleValue)x).getBigIntegerValue() + ") for " + QNameHelper.readable(sType));
-    }
-    
-    private static boolean check(String v, SchemaType sType)
-    {
-        int length = v==null ? 0 : v.length();
-        // check against length
-        XmlObject len = sType.getFacet(SchemaType.FACET_LENGTH);
-        if (len != null)
-        {
-            int m = ((SimpleValue)len).getBigIntegerValue().intValue();
-            if (!(length != m))
-                return false;
-        }
-
-        // check against min length
-        XmlObject min = sType.getFacet(SchemaType.FACET_MIN_LENGTH);
-        if (min != null)
-        {
-            int m = ((SimpleValue)min).getBigIntegerValue().intValue();
-            if (!(length >= m))
-                return false;
-        }
-
-        // check against min length
-        XmlObject max = sType.getFacet(SchemaType.FACET_MAX_LENGTH);
-        if (max != null)
-        {
-            int m = ((SimpleValue)max).getBigIntegerValue().intValue();
-            if (!(length <= m))
-                return false;
-        }
-
-        return true;
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateLexical(stringValue(), schemaType(), ctx);
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/NamespaceContext.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/NamespaceContext.java
deleted file mode 100644
index 75b5608..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/NamespaceContext.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-
-import java.util.ArrayList;
-import java.util.Map;
-import java.lang.reflect.Proxy;
-
-import org.apache.xmlbeans.xml.stream.StartElement;
-
-public class NamespaceContext implements PrefixResolver
-{
-    private static final int TYPE_STORE    = 1;
-    private static final int XML_OBJECT    = 2;
-    private static final int MAP           = 3;
-    private static final int START_ELEMENT = 4;
-    private static final int RESOLVER      = 5;
-
-    private Object _obj;
-    private int _code;
-
-    public NamespaceContext(Map prefixToUriMap)
-    {
-        _code = MAP;
-        _obj = prefixToUriMap;
-    }
-
-    public NamespaceContext(TypeStore typeStore)
-    {
-        _code = TYPE_STORE;
-        _obj = typeStore;
-    }
-
-    public NamespaceContext(XmlObject xmlObject)
-    {
-        _code = XML_OBJECT;
-        _obj = xmlObject;
-    }
-
-    public NamespaceContext(StartElement start)
-    {
-        _code = START_ELEMENT;
-        _obj = start;
-    }
-
-    public NamespaceContext(PrefixResolver resolver)
-    {
-        _code = RESOLVER;
-        _obj = resolver;
-    }
-
-    /**
-     * Stack management if (heaven help us) we ever need to do
-     * nested compilation of schema type system.
-     */
-    private static final class NamespaceContextStack
-    {
-        NamespaceContext current;
-        ArrayList stack = new ArrayList();
-        final void push(NamespaceContext next)
-        {
-            stack.add(current);
-            current = next;
-        }
-        final void pop()
-        {
-            current = (NamespaceContext)stack.get(stack.size() - 1);
-            stack.remove(stack.size() - 1);
-        }
-    }
-
-    private static ThreadLocal NamespaceContextStack = new ThreadLocal()
-    {
-        protected Object initialValue() { return new NamespaceContextStack(); }
-    };
-
-    public static void push(NamespaceContext next)
-    {
-        ((NamespaceContextStack)NamespaceContextStack.get()).push(next);
-    }
-            
-    public String getNamespaceForPrefix(String prefix)
-    {
-        if (prefix != null && prefix.equals("xml"))
-            return "http://www.w3.org/XML/1998/namespace";
-        
-        switch (_code)
-        {
-            case XML_OBJECT:
-            {
-                TypeStoreUser impl;
-                Object obj = _obj;
-                if (Proxy.isProxyClass(obj.getClass()))
-                    obj = Proxy.getInvocationHandler(obj);
-
-                if (obj instanceof TypeStoreUser)
-                    return ((TypeStoreUser)obj).get_store().getNamespaceForPrefix(prefix);
-
-                XmlCursor cur = ((XmlObject)_obj).newCursor();
-                if (cur != null)
-                {
-                    if (cur.currentTokenType() == XmlCursor.TokenType.ATTR)
-                        cur.toParent();
-                    try { return cur.namespaceForPrefix(prefix); }
-                    finally { cur.dispose(); }
-                }
-            }
-            
-            case MAP:
-                return (String)((Map)_obj).get(prefix);
-                
-            case TYPE_STORE:
-                return ((TypeStore)_obj).getNamespaceForPrefix(prefix);
-                
-            case START_ELEMENT:
-                return ((StartElement)_obj).getNamespaceUri(prefix);
-                
-            case RESOLVER:
-                return ((PrefixResolver)_obj).getNamespaceForPrefix(prefix);
-                
-            default:
-                assert false : "Improperly initialized NamespaceContext.";
-                return null;
-        }
-    }
-
-    public static PrefixResolver getCurrent()
-    {
-        return ((NamespaceContextStack)NamespaceContextStack.get()).current;
-    }
-    
-    public static void pop()
-    {
-        ((NamespaceContextStack)NamespaceContextStack.get()).pop();
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/StringEnumValue.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/StringEnumValue.java
deleted file mode 100644
index b777fc4..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/StringEnumValue.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.StringEnumAbstractBase;
-
-public class StringEnumValue extends StringEnumAbstractBase
-{
-    public StringEnumValue(String s, int i)
-        { super(s, i); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeImpl.java
deleted file mode 100644
index 3ffe7e7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeImpl.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem;
-
-/**
- * This class implements the anySimpleType for XML.
- *
- */
-public class XmlAnySimpleTypeImpl extends XmlObjectBase implements XmlAnySimpleType
-{
-    public XmlAnySimpleTypeImpl(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    public XmlAnySimpleTypeImpl()
-        { _schemaType = BuiltinSchemaTypeSystem.ST_ANY_SIMPLE; }
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    private SchemaType _schemaType;
-
-    String _textvalue = "";
-
-    protected int get_wscanon_rule()
-    {
-        return SchemaType.WS_PRESERVE;
-    }
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-    // gets raw text value
-    protected String compute_text(NamespaceManager nsm) { return _textvalue; }
-    protected void set_text(String s)
-    {
-        _textvalue = s;
-    }
-
-    protected void set_nil()
-    {
-        _textvalue = null;
-    }
-
-    // comparators
-    protected boolean equal_to(XmlObject obj)
-    {
-        // compares against another anySimpleType
-        // rule is: lexical values must match.
-        return _textvalue.equals(((XmlAnySimpleType)obj).getStringValue());
-    }
-
-    protected int value_hash_code()
-    {
-        // matches JavaStringHolder's value_hash_code, so we can be hased against strings
-        return (_textvalue == null ? 0 : _textvalue.hashCode());
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeRestriction.java
deleted file mode 100644
index 4629cb6..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnySimpleTypeRestriction.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlAnySimpleTypeRestriction extends XmlAnySimpleTypeImpl
-{
-    public XmlAnySimpleTypeRestriction(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    private SchemaType _schemaType;
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyTypeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyTypeImpl.java
deleted file mode 100644
index eaea9ba..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyTypeImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-
-/**
- * This class implements the anyType for XML.
- *
- */
-public class XmlAnyTypeImpl extends XmlComplexContentImpl implements XmlObject
-{
-    public XmlAnyTypeImpl()
-        { super(type); }
-
-    public XmlAnyTypeImpl(SchemaType type)
-        { super(type); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriImpl.java
deleted file mode 100644
index 61acd97..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriImpl.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-public class XmlAnyUriImpl extends JavaUriHolder implements org.apache.xmlbeans.XmlAnyURI
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriRestriction.java
deleted file mode 100644
index 2df9f0b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlAnyUriRestriction.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlAnyUriRestriction extends JavaUriHolderEx implements org.apache.xmlbeans.XmlAnyURI
-{
-    public XmlAnyUriRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryImpl.java
deleted file mode 100644
index 3d4e344..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryImpl.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlBase64Binary;
-
-
-public class XmlBase64BinaryImpl extends JavaBase64Holder implements XmlBase64Binary
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryRestriction.java
deleted file mode 100644
index cec661e..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBase64BinaryRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlBase64Binary;
-
-public class XmlBase64BinaryRestriction extends JavaBase64HolderEx implements XmlBase64Binary
-{
-    public XmlBase64BinaryRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanImpl.java
deleted file mode 100644
index 1002ec0..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlBoolean;
-
-public class XmlBooleanImpl extends JavaBooleanHolder implements XmlBoolean
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanRestriction.java
deleted file mode 100644
index a8da4ba..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlBooleanRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlBoolean;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlBooleanRestriction extends JavaBooleanHolderEx implements XmlBoolean
-{
-    public XmlBooleanRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlByteImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlByteImpl.java
deleted file mode 100644
index a218aac..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlByteImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlByte;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlByteImpl extends JavaIntHolderEx implements XmlByte
-{
-    public XmlByteImpl()
-        { super(XmlByte.type, false); }
-    public XmlByteImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlComplexContentImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlComplexContentImpl.java
deleted file mode 100644
index 653a592..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlComplexContentImpl.java
+++ /dev/null
@@ -1,1082 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.*;
-
-import java.lang.String;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Date;
-import java.util.List;
-import java.util.Calendar;
-import javax.xml.namespace.QName;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.schema.SchemaTypeImpl;
-import org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl;
-
-public class XmlComplexContentImpl extends XmlObjectBase
-{
-    public XmlComplexContentImpl(SchemaType type)
-    {
-        _schemaType = (SchemaTypeImpl)type;
-        initComplexType(true, true);
-    }
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    private SchemaTypeImpl _schemaType;
-
-    public String compute_text(NamespaceManager nsm)
-        { return null; }
-
-    protected final void set_String(String v)
-    {
-        assert _schemaType.getContentType() != SchemaType.SIMPLE_CONTENT;
-
-        if (_schemaType.getContentType() != SchemaType.MIXED_CONTENT &&
-                !_schemaType.isNoType())
-        {
-            throw new IllegalArgumentException(
-                "Type does not allow for textual content: " + _schemaType );
-        }
-
-        super.set_String(v);
-    }
-    
-    public void set_text(String str)
-    {
-        assert
-            _schemaType.getContentType() == SchemaType.MIXED_CONTENT ||
-                _schemaType.isNoType();
-    }
-
-    protected void update_from_complex_content()
-    {
-        // No complex caching yet ...
-    }
-    
-    public void set_nil()
-        { /* BUGBUG: what to do? */ }
-
-    // LEFT
-    public boolean equal_to(XmlObject complexObject)
-    {
-        if (!_schemaType.equals(complexObject.schemaType()))
-            return false;
-
-        // BUGBUG: by-value structure comparison undone
-        return true;
-    }
-
-    // LEFT
-    protected int value_hash_code()
-    {
-        throw new IllegalStateException("Complex types cannot be used as hash keys");
-    }
-
-    // DONE
-    public TypeStoreVisitor new_visitor()
-    {
-        return new SchemaTypeVisitorImpl(_schemaType.getContentModel());
-    }
-
-    // DONE
-    public boolean is_child_element_order_sensitive()
-    {
-        return schemaType().isOrderSensitive();
-    }
-
-    public int get_elementflags(QName eltName)
-    {
-        SchemaProperty prop = schemaType().getElementProperty(eltName);
-        if (prop == null)
-            return 0;
-        if (prop.hasDefault() == SchemaProperty.VARIABLE ||
-            prop.hasFixed() == SchemaProperty.VARIABLE ||
-            prop.hasNillable() == SchemaProperty.VARIABLE)
-            return -1;
-        return
-            (prop.hasDefault() == SchemaProperty.NEVER ? 0 : TypeStore.HASDEFAULT) |
-            (prop.hasFixed() == SchemaProperty.NEVER ? 0 : TypeStore.FIXED) |
-            (prop.hasNillable() == SchemaProperty.NEVER ? 0 : TypeStore.NILLABLE);
-    }
-
-    // DONE
-    public String get_default_attribute_text(QName attrName)
-    {
-        return super.get_default_attribute_text(attrName);
-    }
-
-    // DONE
-    public String get_default_element_text(QName eltName)
-    {
-        SchemaProperty prop = schemaType().getElementProperty(eltName);
-        if (prop == null)
-            return "";
-        return prop.getDefaultText();
-    }
-
-    //
-    // Code gen helpers
-    //
-    // So much redundant code ..... what I'd give for generics!
-    //
-
-    protected void unionArraySetterHelper ( Object[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).objectSet( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( boolean[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( float[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( double[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( byte[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( short[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( int[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( long[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( BigDecimal[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( BigInteger[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( String[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( byte[][] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( GDate[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( GDuration[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( Calendar[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( Date[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( QName[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( StringEnumAbstractBase[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( List[] sources, QName elemName )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( elemName );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( elemName, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( elemName, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void unionArraySetterHelper ( Object[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).objectSet( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( boolean[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( float[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( double[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( byte[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( short[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( int[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( long[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( BigDecimal[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( BigInteger[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( String[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( byte[][] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( GDate[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( GDuration[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( Calendar[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( Date[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( QName[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( StringEnumAbstractBase[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-    
-    protected void arraySetterHelper ( List[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-    protected void arraySetterHelper ( XmlObject[] sources, QName elemName )
-    {
-        get_store().array_setter( sources, elemName );
-    }
-
-    protected void arraySetterHelper ( XmlObject[] sources, QName elemName, QNameSet set )
-    {
-        int n = sources == null ? 0 : sources.length;
-        
-        TypeStore store = get_store();
-
-        int m = store.count_elements( set );
-
-        for ( ; m > n ; m-- )
-            store.remove_element( set, m - 1 );
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            TypeStoreUser user;
-            
-            if (i >= m)
-                user = store.add_element_user( elemName );
-            else
-                user = store.find_element_user( set, i );
-
-            ((XmlObjectBase) user).set( sources[ i ] );
-        }
-    }
-
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateImpl.java
deleted file mode 100644
index 73c217e..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDate;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlDateImpl extends JavaGDateHolderEx implements XmlDate
-{
-    public XmlDateImpl()
-        { super(XmlDate.type, false); }
-    public XmlDateImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateTimeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateTimeImpl.java
deleted file mode 100644
index 7d2db6b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDateTimeImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlDateTime;
-
-
-public class XmlDateTimeImpl extends JavaGDateHolderEx implements XmlDateTime
-{
-    public XmlDateTimeImpl()
-        { super(XmlDateTime.type, false); }
-    public XmlDateTimeImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalImpl.java
deleted file mode 100644
index d7b3ea3..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDecimal;
-
-public class XmlDecimalImpl extends JavaDecimalHolder implements XmlDecimal
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalRestriction.java
deleted file mode 100644
index a6f20c7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDecimalRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDecimal;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlDecimalRestriction extends JavaDecimalHolderEx implements XmlDecimal
-{
-    public XmlDecimalRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleImpl.java
deleted file mode 100644
index 92526f0..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDouble;
-
-public class XmlDoubleImpl extends JavaDoubleHolder implements XmlDouble
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleRestriction.java
deleted file mode 100644
index bdae890..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDoubleRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDouble;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlDoubleRestriction extends JavaDoubleHolderEx implements XmlDouble
-{
-    public XmlDoubleRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDurationImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDurationImpl.java
deleted file mode 100644
index 9db131f..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlDurationImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlDuration;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlDurationImpl extends JavaGDurationHolderEx implements XmlDuration
-{
-    public XmlDurationImpl()
-        { super(XmlDuration.type, false); }
-    public XmlDurationImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntitiesImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntitiesImpl.java
deleted file mode 100644
index a062129..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntitiesImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlENTITIES;
-
-
-public class XmlEntitiesImpl extends XmlListImpl implements XmlENTITIES
-{
-    public XmlEntitiesImpl()
-        { super(XmlENTITIES.type, false); }
-    public XmlEntitiesImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntityImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntityImpl.java
deleted file mode 100644
index 7bc7f4b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlEntityImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlENTITY;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlEntityImpl extends JavaStringHolderEx implements XmlENTITY
-{
-    public XmlEntityImpl()
-        { super(XmlENTITY.type, false); }
-    public XmlEntityImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatImpl.java
deleted file mode 100644
index 3d4343d..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlFloat;
-
-
-public class XmlFloatImpl extends JavaFloatHolder implements XmlFloat
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatRestriction.java
deleted file mode 100644
index 7a2b6a0..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlFloatRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlFloat;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlFloatRestriction extends JavaFloatHolderEx implements XmlFloat
-{
-    public XmlFloatRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGDayImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGDayImpl.java
deleted file mode 100644
index 3a66545..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGDayImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlGDay;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlGDayImpl extends JavaGDateHolderEx implements XmlGDay
-{
-    public XmlGDayImpl()
-        { super(XmlGDay.type, false); }
-    public XmlGDayImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthDayImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthDayImpl.java
deleted file mode 100644
index 58b76ed..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthDayImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlGMonthDay;
-
-public class XmlGMonthDayImpl extends JavaGDateHolderEx implements XmlGMonthDay
-{
-    public XmlGMonthDayImpl()
-        { super(XmlGMonthDay.type, false); }
-    public XmlGMonthDayImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthImpl.java
deleted file mode 100644
index 5946b51..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGMonthImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlGMonth; 
-
-public class XmlGMonthImpl extends JavaGDateHolderEx implements XmlGMonth
-{
-    public XmlGMonthImpl()
-        { super(XmlGMonth.type, false); }
-    public XmlGMonthImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearImpl.java
deleted file mode 100644
index 5c0f834..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlGYear;
-
-public class XmlGYearImpl extends JavaGDateHolderEx implements XmlGYear
-{
-    public XmlGYearImpl()
-        { super(XmlGYear.type, false); }
-    public XmlGYearImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearMonthImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearMonthImpl.java
deleted file mode 100644
index b5897c7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlGYearMonthImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlGYearMonth; 
-
-public class XmlGYearMonthImpl extends JavaGDateHolderEx implements XmlGYearMonth
-{
-    public XmlGYearMonthImpl()
-        { super(XmlGYearMonth.type, false); }
-    public XmlGYearMonthImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryImpl.java
deleted file mode 100644
index c489e34..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlHexBinary;
-
-
-public class XmlHexBinaryImpl extends JavaHexBinaryHolder implements XmlHexBinary
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryRestriction.java
deleted file mode 100644
index 4b42027..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlHexBinaryRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlHexBinary;
-
-public class XmlHexBinaryRestriction extends JavaHexBinaryHolderEx implements XmlHexBinary
-{
-    public XmlHexBinaryRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdImpl.java
deleted file mode 100644
index f260b12..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlID;
-
-
-public class XmlIdImpl extends JavaStringHolderEx implements XmlID
-{
-    public XmlIdImpl()
-        { super(XmlID.type, false); }
-    public XmlIdImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefImpl.java
deleted file mode 100644
index 6dfea62..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlIDREF;
-
-
-public class XmlIdRefImpl extends JavaStringHolderEx implements XmlIDREF
-{
-    public XmlIdRefImpl()
-        { super(XmlIDREF.type, false); }
-    public XmlIdRefImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefsImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefsImpl.java
deleted file mode 100644
index 1c9fb15..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIdRefsImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlIDREFS;
-
-public class XmlIdRefsImpl extends XmlListImpl implements XmlIDREFS
-{
-    public XmlIdRefsImpl()
-        { super(XmlIDREFS.type, false); }
-    public XmlIdRefsImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntImpl.java
deleted file mode 100644
index cb86181..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlInt;
-
-
-public class XmlIntImpl extends JavaIntHolder implements XmlInt
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntRestriction.java
deleted file mode 100644
index a608504..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlInt;
-
-public class XmlIntRestriction extends JavaIntHolderEx implements XmlInt
-{
-    public XmlIntRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerImpl.java
deleted file mode 100644
index 031f619..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlInteger;
-
-
-public class XmlIntegerImpl extends JavaIntegerHolder implements XmlInteger
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerRestriction.java
deleted file mode 100644
index 57875ac..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlIntegerRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlInteger;
-
-public class XmlIntegerRestriction extends JavaIntegerHolderEx implements XmlInteger
-{
-    public XmlIntegerRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLanguageImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLanguageImpl.java
deleted file mode 100644
index e2c5008..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLanguageImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlLanguage;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlLanguageImpl extends JavaStringHolderEx implements XmlLanguage
-{
-    public XmlLanguageImpl()
-        { super(XmlLanguage.type, false); }
-    public XmlLanguageImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlListImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlListImpl.java
deleted file mode 100644
index 4fbb8ce..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlListImpl.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.XmlSimpleList;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-import java.util.Arrays;
-import java.util.List;
-import java.util.ArrayList;
-
-public class XmlListImpl extends XmlObjectBase implements XmlAnySimpleType
-{
-    public XmlListImpl(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    private SchemaType _schemaType;
-    private XmlSimpleList _value;
-    private XmlSimpleList _jvalue;
-
-
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-    // gets raw text value
-
-    private static String nullAsEmpty(String s)
-    {
-        if (s == null)
-            return "";
-        return s;
-    }
-
-    private static String compute_list_text(List xList)
-    {
-        if (xList.size() == 0)
-            return "";
-
-        StringBuffer sb = new StringBuffer();
-        sb.append(nullAsEmpty(((SimpleValue)xList.get(0)).getStringValue()));
-
-        for (int i = 1; i < xList.size(); i++)
-        {
-            sb.append(' ');
-            sb.append(nullAsEmpty(((SimpleValue)xList.get(i)).getStringValue()));
-        }
-
-        return sb.toString();
-    }
-
-    protected String compute_text(NamespaceManager nsm)
-    {
-        return compute_list_text(_value);
-    }
-
-    protected boolean is_defaultable_ws(String v) {
-        try {
-            XmlSimpleList savedValue = _value;
-            set_text(v);
-
-            // restore the saved value
-            _value = savedValue;
-
-            return false;
-        }
-        catch (XmlValueOutOfRangeException e) {
-            return true;
-        }
-    }
-
-    protected void set_text(String s)
-    {
-        // first check against any patterns...
-        if (_validateOnSet() && !_schemaType.matchPatternFacet(s))
-            throw new XmlValueOutOfRangeException();
-
-        SchemaType itemType = _schemaType.getListItemType();
-
-        XmlSimpleList newval = lex(s, itemType, _voorVc, has_store() ? get_store() : null);
-
-        // check enumeration
-        if (_validateOnSet())
-            validateValue(newval, _schemaType, _voorVc);
-
-        // we made it all the way through; so we're OK.
-        _value = newval;
-    }
-    
-    private static final String[] EMPTY_STRINGARRAY = new String[0];
-    
-    public static String[] split_list(String s)
-    {
-        if (s.length() == 0)
-            return EMPTY_STRINGARRAY;
-                
-        List result = new ArrayList();
-        int i = 0;
-        int start = 0;
-        for (;;)
-        {
-            while (i < s.length() && XMLChar.isSpace(s.charAt(i)))
-                i += 1;
-            if (i >= s.length())
-                return (String[])result.toArray(EMPTY_STRINGARRAY);
-            start = i;
-            while (i < s.length() && !XMLChar.isSpace(s.charAt(i)))
-                i += 1;
-            result.add(s.substring(start, i));
-        }
-    }
-    
-    public static XmlSimpleList lex(String s, SchemaType itemType, ValidationContext ctx, PrefixResolver resolver)
-    {
-        String[] parts = split_list(s);
-
-        XmlAnySimpleType[] newArray = new XmlAnySimpleType[parts.length];
-        boolean pushed = false;
-        if (resolver != null)
-        {
-            NamespaceContext.push(new NamespaceContext(resolver));
-            pushed = true;
-        }
-        int i = 0;
-        try
-        {
-            for (i = 0; i < parts.length; i++)
-            {
-                try
-                {
-                    newArray[i] = itemType.newValue(parts[i]);
-                }
-                catch (XmlValueOutOfRangeException e)
-                {
-                    ctx.invalid("List item '" + parts[i] + "' is not a valid value of " + QNameHelper.readable(itemType));
-                }
-            }
-        }
-        finally
-        {
-            if (pushed)
-                NamespaceContext.pop();
-        }
-        return new XmlSimpleList(Arrays.asList(newArray));
-    }
-
-    protected void set_nil()
-    {
-        _value = null;
-    }
-
-    public List xlistValue()
-    {
-        check_dated();
-        return _value;
-    }
-
-    public List listValue()
-    {
-        check_dated();
-        if (_value == null)
-            return null;
-        if (_jvalue != null)
-            return _jvalue;
-        List javaResult = new ArrayList();
-        for (int i = 0; i < _value.size(); i++)
-            javaResult.add(java_value((XmlObject)_value.get(i)));
-        _jvalue = new XmlSimpleList(javaResult);
-        return _jvalue;
-    }
-
-    private static boolean permits_inner_space(XmlObject obj)
-    {
-        switch (((SimpleValue)obj).instanceType().getPrimitiveType().getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_STRING:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_ANY_SIMPLE:
-            case SchemaType.BTC_ANY_TYPE:
-                return true;
-            default:
-                return false;
-        }
-    }
-
-    private static boolean contains_white_space(String s)
-    {
-        return s.indexOf(' ') >= 0 ||
-                s.indexOf('\t') >= 0 ||
-                s.indexOf('\n') >= 0 ||
-                s.indexOf('\r') >= 0;
-    }
-
-    public void set_list(List list)
-    {
-        SchemaType itemType = _schemaType.getListItemType();
-        XmlSimpleList xList;
-
-        boolean pushed = false;
-        if (has_store())
-        {
-            NamespaceContext.push(new NamespaceContext(get_store()));
-            pushed = true;
-        }
-        
-        try
-        {
-            XmlAnySimpleType[] newval = new XmlAnySimpleType[list.size()];
-            for (int i = 0; i < list.size(); i++)
-            {
-                Object entry = list.get(i);
-                if ((entry instanceof XmlObject) && permits_inner_space((XmlObject)list.get(i)))
-                {
-                    String stringrep = list.get(i).toString();
-                    if (contains_white_space(stringrep))
-                        throw new XmlValueOutOfRangeException();
-                }
-                newval[i] = itemType.newValue(entry);
-            }
-            xList = new XmlSimpleList(Arrays.asList(newval));
-        }
-        finally
-        {
-            if (pushed)
-                NamespaceContext.pop();
-        }
-        
-
-        if (_validateOnSet())
-        {
-            // check enumeration + min/max/etc
-            validateValue(xList, _schemaType, _voorVc);
-        }
-
-        _value = xList;
-    }
-
-    public static void validateValue(XmlSimpleList items, SchemaType sType, ValidationContext context)
-    {
-        XmlObject[] enumvals = sType.getEnumerationValues();
-        checkEnum: if (enumvals != null)
-        {
-            for (int i = 0; i < enumvals.length; i++)
-            {
-                if (equal_xmlLists(items, ((XmlObjectBase)enumvals[i]).xlistValue()))
-                    break checkEnum;
-            }
-            context.invalid("List (" + items + ") is not a valid enumerated value for " + QNameHelper.readable(sType));
-        }
-
-        XmlObject o;
-        int i;
-
-        if ((o = sType.getFacet( SchemaType.FACET_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) != items.size())
-            {
-                context.invalid(
-                    "List (" + items + ") does not have " + i +
-                        " items per length facet for " + QNameHelper.readable(sType));
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MIN_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) > items.size())
-            {
-                context.invalid(
-                    "List (" + items + ") has only " + items.size() +
-                        " items, fewer than min length facet (" + i + ") for " + QNameHelper.readable(sType) );
-            }
-        }
-
-        if ((o = sType.getFacet( SchemaType.FACET_MAX_LENGTH )) != null)
-        {
-            if ((i = ((SimpleValue)o).getIntValue()) < items.size())
-            {
-                context.invalid(
-                    "List (" + items + ") has " + items.size() +
-                        " items, more than max length facet (" + i + ") for " + QNameHelper.readable(sType) );
-            }
-        }
-    }
-
-    // comparators
-    // protected int compare_to(XmlObject i) - no sorting order; inherit from base
-
-    protected boolean equal_to(XmlObject obj)
-    {
-        return equal_xmlLists(_value, ((XmlObjectBase)obj).xlistValue());
-    }
-
-
-    private static boolean equal_xmlLists(List a, List b)
-    {
-        if (a.size() != b.size())
-            return false;
-        for (int i = 0; i < a.size(); i++)
-        {
-            if (!a.get(i).equals(b.get(i)))
-                return false;
-        }
-        return true;
-    }
-
-    protected int value_hash_code()
-    {
-        if (_value == null)
-            return 0;
-
-        // hash code probes 9 distributed values, plus the last
-        int hash = _value.size();
-        int incr = _value.size() / 9;
-        if (incr < 1)
-            incr = 1;
-
-        int i;
-        for (i = 0; i < _value.size(); i += incr)
-        {
-            hash *= 19;
-            hash += _value.get(i).hashCode();
-        }
-
-        if (i < _value.size())
-        {
-            hash *= 19;
-            hash += _value.get(i).hashCode();
-        }
-
-        return hash;
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        validateValue((XmlSimpleList)xlistValue(), schemaType(), ctx);
-    }
-    
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongImpl.java
deleted file mode 100644
index 285b0bc..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlLong;
-
-
-public class XmlLongImpl extends JavaLongHolder implements XmlLong
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongRestriction.java
deleted file mode 100644
index 9ea36de..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlLongRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlLong;
-
-public class XmlLongRestriction extends JavaLongHolderEx implements XmlLong
-{
-    public XmlLongRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNCNameImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNCNameImpl.java
deleted file mode 100644
index 29abc2f..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNCNameImpl.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlNCName;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-public class XmlNCNameImpl extends JavaStringHolderEx implements XmlNCName
-{
-    public XmlNCNameImpl()
-        { super(XmlNCName.type, false); }
-    public XmlNCNameImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-
-    public static void validateLexical(String v, ValidationContext context)
-    {
-        if ( !XMLChar.isValidNCName(v) )
-        {
-            context.invalid("Value '" + v + "' it's not a valid NCName.");
-            return;
-        }
-    }
-}
\ No newline at end of file
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNameImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNameImpl.java
deleted file mode 100644
index 1f3a081..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNameImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlName;
-
-
-public class XmlNameImpl extends JavaStringHolderEx implements XmlName
-{
-    public XmlNameImpl()
-        { super(XmlName.type, false); }
-    public XmlNameImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNegativeIntegerImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNegativeIntegerImpl.java
deleted file mode 100644
index 20dff35..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNegativeIntegerImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlNegativeInteger;
-
-
-public class XmlNegativeIntegerImpl extends JavaIntegerHolderEx implements XmlNegativeInteger
-{
-    public XmlNegativeIntegerImpl()
-        { super(XmlNegativeInteger.type, false); }
-    public XmlNegativeIntegerImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokenImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokenImpl.java
deleted file mode 100644
index 62462c4..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokenImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlNMTOKEN;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.XMLChar;
-
-
-public class XmlNmTokenImpl extends JavaStringHolderEx implements XmlNMTOKEN
-{
-    public XmlNmTokenImpl()
-        { super(XmlNMTOKEN.type, false); }
-    public XmlNmTokenImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-
-    public static void validateLexical(String v, ValidationContext context)
-    {
-        if ( !XMLChar.isValidNmtoken(v) )
-        {
-            context.invalid("Value '" + v + "' it's not a valid NMTOKEN.");
-            return;
-        }
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokensImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokensImpl.java
deleted file mode 100644
index 3b8cd4b..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNmTokensImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlNMTOKENS;
-
-
-public class XmlNmTokensImpl extends XmlListImpl implements XmlNMTOKENS
-{
-    public XmlNmTokensImpl()
-        { super(XmlNMTOKENS.type, false);}
-    public XmlNmTokensImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonNegativeIntegerImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonNegativeIntegerImpl.java
deleted file mode 100644
index 7026b98..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonNegativeIntegerImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlNonNegativeInteger;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlNonNegativeIntegerImpl extends JavaIntegerHolderEx implements XmlNonNegativeInteger
-{
-    public XmlNonNegativeIntegerImpl()
-        { super(XmlNonNegativeInteger.type, false); }
-    public XmlNonNegativeIntegerImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonPositiveIntegerImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonPositiveIntegerImpl.java
deleted file mode 100644
index 901e5ef..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNonPositiveIntegerImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlNonPositiveInteger;
-
-
-public class XmlNonPositiveIntegerImpl extends JavaIntegerHolderEx implements XmlNonPositiveInteger
-{
-    public XmlNonPositiveIntegerImpl()
-        { super(XmlNonPositiveInteger.type, false); }
-    public XmlNonPositiveIntegerImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNormalizedStringImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNormalizedStringImpl.java
deleted file mode 100644
index 47de463..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNormalizedStringImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlNormalizedString;
-
-public class XmlNormalizedStringImpl extends JavaStringHolderEx implements XmlNormalizedString
-{
-    public XmlNormalizedStringImpl()
-        { super(XmlNormalizedString.type, false); }
-    public XmlNormalizedStringImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationImpl.java
deleted file mode 100644
index f2632b0..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlNOTATION;
-
-public class XmlNotationImpl extends JavaNotationHolder implements XmlNOTATION
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationRestriction.java
deleted file mode 100644
index 1823057..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlNotationRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlNOTATION;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlNotationRestriction extends JavaNotationHolderEx implements XmlNOTATION
-{
-    public XmlNotationRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlObjectBase.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlObjectBase.java
deleted file mode 100644
index 05c9478..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlObjectBase.java
+++ /dev/null
@@ -1,2832 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import java.math.BigInteger;
-import java.math.BigDecimal;
-import java.io.Serializable;
-import java.io.File;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.Writer;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.ObjectStreamException;
-import java.io.ByteArrayInputStream;
-import java.io.DataInputStream;
-import java.lang.reflect.Array;
-import java.util.Date;
-import java.util.List;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.ArrayList;
-
-import org.apache.xmlbeans.impl.common.XmlLocale;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.GlobalLock;
-import org.apache.xmlbeans.impl.common.XmlErrorWatcher;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.schema.SchemaTypeImpl;
-import org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl;
-import org.apache.xmlbeans.impl.validator.Validator;
-import org.apache.xmlbeans.impl.values.XmlValueNotNillableException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaAttributeModel;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.GDurationSpecification;
-import org.apache.xmlbeans.StringEnumAbstractBase;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.FilterXmlObject;
-
-import org.w3c.dom.Node;
-
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXException;
-
-public abstract class XmlObjectBase implements TypeStoreUser, Serializable, XmlObject, SimpleValue
-{
-    public static final short MAJOR_VERSION_NUMBER = (short) 1; // for serialization
-    public static final short MINOR_VERSION_NUMBER = (short) 1; // for serialization
-
-    public final Object monitor()
-    {
-        if (has_store())
-            return get_store().get_root_object();
-        return this;
-    }
-
-    private static XmlObjectBase underlying(XmlObject obj)
-    {
-        if (obj == null)
-            return null;
-        if (obj instanceof XmlObjectBase)
-            return (XmlObjectBase)obj;
-        while (obj instanceof FilterXmlObject)
-            obj = ((FilterXmlObject)obj).underlyingXmlObject();
-        if (obj instanceof XmlObjectBase)
-            return (XmlObjectBase)obj;
-        throw new IllegalStateException("Non-native implementations of XmlObject should extend FilterXmlObject");
-    }
-
-    public final XmlObject copy()
-    {
-        synchronized (monitor())
-        {
-            // immutable objects don't get copied. They're immutable
-            if (isImmutable())
-                return this;
-
-            check_orphaned();
-
-            // copy the type
-            XmlObject result = get_store().get_schematypeloader().newInstance(schemaType(), null);
-
-
-            // copy the data
-            XmlObjectBase target = underlying(result);
-            target.get_store().copy_contents_from(get_store());
-
-            return result;
-        }
-    }
-
-    public XmlDocumentProperties documentProperties()
-        { XmlCursor cur = newCursorForce(); try { return cur.documentProperties(); } finally { cur.dispose(); } }
-
-    public XMLInputStream newXMLInputStream()
-        { return newXMLInputStream(null); }
-
-    public XMLInputStream newXMLInputStream(XmlOptions options)
-        { XmlCursor cur = newCursorForce(); try { return cur.newXMLInputStream(makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public XMLStreamReader newXMLStreamReader()
-        { return newXMLStreamReader(null); }
-
-    public XMLStreamReader newXMLStreamReader(XmlOptions options)
-        { XmlCursor cur = newCursorForce(); try { return cur.newXMLStreamReader(makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public InputStream newInputStream()
-        { return newInputStream(null); }
-
-    public InputStream newInputStream(XmlOptions options)
-        { XmlCursor cur = newCursorForce(); try { return cur.newInputStream(makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public Reader newReader()
-        { return newReader(null); }
-
-    public Reader newReader(XmlOptions options)
-        { XmlCursor cur = newCursorForce(); try { return cur.newReader(makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public Node getDomNode()
-        { XmlCursor cur = newCursorForce(); try { return cur.getDomNode(); } finally { cur.dispose(); } }
-
-    public Node newDomNode()
-        { return newDomNode(null); }
-
-    public Node newDomNode(XmlOptions options)
-        { XmlCursor cur = newCursorForce(); try { return cur.newDomNode(makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public void save(ContentHandler ch, LexicalHandler lh, XmlOptions options) throws SAXException
-        { XmlCursor cur = newCursorForce(); try { cur.save(ch, lh, makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public void save(File file, XmlOptions options) throws IOException
-        { XmlCursor cur = newCursorForce(); try { cur.save(file, makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public void save(OutputStream os, XmlOptions options) throws IOException
-        { XmlCursor cur = newCursorForce(); try { cur.save(os, makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public void save(Writer w, XmlOptions options) throws IOException
-        { XmlCursor cur = newCursorForce(); try { cur.save(w, makeInnerOptions(options)); } finally { cur.dispose(); } }
-
-    public void save(ContentHandler ch, LexicalHandler lh) throws SAXException
-        { save( ch, lh, null ); }
-
-    public void save(File file) throws IOException
-        { save( file, null ); }
-
-    public void save(OutputStream os) throws IOException
-        { save( os, null ); }
-
-    public void save(Writer w) throws IOException
-        { save( w, null ); }
-
-    public XmlCursor newCursorForce()
-    {
-        synchronized (monitor())
-        {
-            return ensureStore().newCursor();
-        }
-    }
-
-    private XmlObject ensureStore()
-    {
-        if ((_flags & FLAG_STORE) != 0)
-            return this;
-
-        check_dated();
-
-        String value =
-            (_flags & FLAG_NIL) != 0
-                ? ""
-                : compute_text( has_store() ? get_store() : null );
-
-        XmlOptions options = new XmlOptions().setDocumentType(schemaType());
-
-        XmlObject x = XmlObject.Factory.newInstance( options );
-
-        XmlCursor c = x.newCursor();
-        c.toNextToken();
-        c.insertChars( value );
-
-        return x;
-    }
-
-    private static XmlOptions makeInnerOptions(XmlOptions options)
-    {
-        XmlOptions innerOptions = new XmlOptions( options );
-        innerOptions.put( XmlOptions.SAVE_INNER );
-        return innerOptions;
-    }
-
-    public XmlCursor newCursor()
-    {
-        if ((_flags & FLAG_STORE) == 0)
-            throw new IllegalStateException("XML Value Objects cannot create cursors");
-
-        check_orphaned();
-        
-// NEWSTORE START
-//        // Note that new_cursor does not really need sync ....
-//        
-//        XmlLocale l = getXmlLocale();
-//        
-//        if (l.noSync())         { l.enter(); try { return get_store().new_cursor(); } finally { l.exit(); } }
-//        else synchronized ( l ) { l.enter(); try { return get_store().new_cursor(); } finally { l.exit(); } }
-//
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().new_cursor();
-        }
-// NEWSTORE END
-    }
-
-    public abstract SchemaType schemaType();
-
-    public SchemaType instanceType()
-        { synchronized (monitor()) { return isNil() ? null : schemaType(); } }
-
-    private SchemaField schemaField() {
-        SchemaType st = schemaType();
-        SchemaField field;
-
-        // First check if this field has an anonymous type
-        field = st.getContainerField();
-
-        if (field == null)
-            field = get_store().get_schema_field();
-
-        return field;
-    }
-
-    /**
-     * Use _voorVc when you want to throw a ValueOutOfRangeException when
-     * validating a simple type.
-     */
-    private static final class ValueOutOfRangeValidationContext implements ValidationContext
-    {
-        public void invalid(String message)
-        {
-            throw new XmlValueOutOfRangeException( message );
-        }
-    }
-
-    /**
-     * Used to supply validation context for the validate_value methods
-     */
-    private static final class ImmutableValueValidationContext implements ValidationContext
-    {
-        private XmlObject _loc;
-        private Collection _coll;
-        ImmutableValueValidationContext(Collection coll, XmlObject loc)
-        {
-            _coll = coll;
-            _loc = loc;
-        }
-        public void invalid(String message)
-        {
-           _coll.add(XmlError.forObject(message, _loc));
-        }
-    }
-
-    public static final ValidationContext _voorVc = new ValueOutOfRangeValidationContext();
-
-    public boolean validate()
-        { return validate(null); }
-
-    public boolean validate(XmlOptions options)
-    {
-        if ((_flags & FLAG_STORE) == 0)
-        {
-            if ((_flags & FLAG_IMMUTABLE) != 0)
-            {
-                return validate_immutable(options);
-            }
-
-            throw new IllegalStateException(
-                    "XML objects with no underlying store cannot be validated");
-        }
-
-        synchronized (monitor())
-        {
-            if ((_flags & FLAG_ORPHANED) != 0)
-                throw new XmlValueDisconnectedException();
-
-            SchemaField field = schemaField();
-            SchemaType type = schemaType();
-
-            TypeStore typeStore = get_store();
-
-            Validator validator =
-                new Validator(
-                    type, field, typeStore.get_schematypeloader(), options, null);
-
-            typeStore.validate( validator );
-
-            return validator.isValid();
-        }
-    }
-
-    private boolean validate_immutable(XmlOptions options)
-    {
-        Collection errorListener = options == null ? null : (Collection)options.get(XmlOptions.ERROR_LISTENER);
-        XmlErrorWatcher watcher = new XmlErrorWatcher(errorListener);
-        if (!schemaType().isSimpleType())
-        {
-            // cannot have any required attributes or elements
-            SchemaProperty[] properties = schemaType().getProperties();
-            for (int i = 0; i < properties.length; i++)
-            {
-                if (properties[i].getMinOccurs().signum() > 0)
-                {
-                    if (properties[i].isAttribute())
-                        watcher.add(XmlError.forObject("Missing required attribute " + QNameHelper.pretty(properties[i].getName()), this));
-                    else
-                        watcher.add(XmlError.forObject("Missing required element " + QNameHelper.pretty(properties[i].getName()), this));
-                }
-            }
-
-            if (schemaType().getContentType() != SchemaType.SIMPLE_CONTENT)
-                return !watcher.hasError(); // don't validate non-simple-content
-        }
-
-        String text = (String)_textsource;
-        if (text == null)
-            text = "";
-        validate_simpleval(text, new ImmutableValueValidationContext(watcher, this));
-        return !watcher.hasError();
-    }
-
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        return;
-    }
-
-    private static XmlObject[] _typedArray(XmlObject[] input)
-    {
-        if (input.length == 0)
-            return input;
-        SchemaType commonType = input[0].schemaType();
-        if (commonType.equals(XmlObject.type))
-            return input;
-        for (int i = 1; i < input.length; i++)
-        {
-            commonType = commonType.getCommonBaseType(input[i].schemaType());
-            if (commonType.equals(XmlObject.type))
-                return input;
-        }
-        Class desiredClass = commonType.getJavaClass();
-        while (desiredClass == null)
-        {
-            commonType = commonType.getBaseType();
-            if (XmlObject.type.equals(commonType))
-                return input;
-            desiredClass = commonType.getJavaClass();
-        }
-
-        XmlObject[] result = (XmlObject[])Array.newInstance(desiredClass, input.length);
-        System.arraycopy(input, 0, result, 0, input.length);
-        return result;
-    }
-
-    public XmlObject[] selectPath ( String path )
-    {
-        return selectPath( path, null );
-    }
-
-    public XmlObject[] selectPath ( String path, XmlOptions options )
-    {
-        XmlObject [] selections;
-
-        // all user-level code; doesn't need to be synchronized
-
-        XmlCursor c = newCursor();
-
-        if (c == null)
-            throw new XmlValueDisconnectedException();
-
-        try
-        {
-            c.selectPath( path, options );
-
-            if (!c.hasNextSelection())
-                selections = EMPTY_RESULT;
-            else
-            {
-                selections = new XmlObject [ c.getSelectionCount() ];
-
-                for (int i = 0 ; c.toNextSelection() ; i++)
-                {
-                    if ((selections[ i ] = c.getObject()) == null)
-                    {
-                        throw
-                            new XmlRuntimeException(
-                                "Path must select only elements " +
-                                    "and attributes" );
-                    }
-                }
-            }
-        }
-        finally
-        {
-            c.dispose();
-        }
-
-        return _typedArray(selections);
-    }
-
-    public XmlObject[] execQuery ( String path )
-    {
-        return execQuery( path, null );
-    }
-
-    public XmlObject[] execQuery ( String queryExpr, XmlOptions options )
-    {
-        synchronized (monitor())
-        {
-            TypeStore typeStore = get_store();
-
-            if (typeStore == null)
-            {
-                throw
-                    new XmlRuntimeException(
-                        "Cannot do XQuery on XML Value Objects" );
-            }
-
-            try
-            {
-                return _typedArray(typeStore.exec_query( queryExpr, options ));
-            }
-            catch (XmlException e)
-            {
-                throw new XmlRuntimeException( e );
-            }
-        }
-    }
-
-    public XmlObject changeType(SchemaType type)
-    {
-        if (type == null)
-            throw new IllegalArgumentException( "Invalid type (null)" );
-
-        if ((_flags & FLAG_STORE) == 0)
-        {
-            throw
-                new IllegalStateException(
-                    "XML Value Objects cannot have thier type changed" );
-        }
-
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return (XmlObject) get_store().change_type( type );
-        }
-    }
-
-    private int _flags;
-    private Object _textsource;
-
-    protected XmlObjectBase()
-    {
-        _flags = FLAG_NILLABLE | FLAG_NIL;
-    }
-
-    public void init_flags(SchemaProperty prop)
-    {
-        if (prop == null) return;
-
-        if (prop.hasDefault() == SchemaProperty.VARIABLE ||
-            prop.hasFixed() == SchemaProperty.VARIABLE ||
-            prop.hasNillable() == SchemaProperty.VARIABLE)
-            return;
-
-        _flags |=
-            (prop.hasDefault() == SchemaProperty.NEVER ? 0 : TypeStore.HASDEFAULT) |
-            (prop.hasFixed() == SchemaProperty.NEVER ? 0 : TypeStore.FIXED) |
-            (prop.hasNillable() == SchemaProperty.NEVER ? 0 : TypeStore.NILLABLE) |
-            (FLAG_NOT_VARIABLE);
-    }
-
-    {
-        assert TypeStore.NILLABLE   == 1;
-        assert TypeStore.HASDEFAULT == 2;
-        assert TypeStore.FIXED      == 4;
-    }
-
-    private static final int FLAG_NILLABLE        = TypeStore.NILLABLE;
-    private static final int FLAG_HASDEFAULT      = TypeStore.HASDEFAULT;
-    private static final int FLAG_FIXED           = TypeStore.FIXED;
-    private static final int FLAG_ATTRIBUTE       =     8;
-    private static final int FLAG_STORE           =    16;
-    private static final int FLAG_VALUE_DATED     =    32;
-    private static final int FLAG_NIL             =    64;
-    private static final int FLAG_NIL_DATED       =   128;
-    private static final int FLAG_ISDEFAULT       =   256;
-    private static final int FLAG_ELEMENT_DATED   =   512;
-    private static final int FLAG_SETTINGDEFAULT  =  1024;
-    private static final int FLAG_ORPHANED        =  2048;
-    private static final int FLAG_IMMUTABLE       =  4096;
-    private static final int FLAG_COMPLEXTYPE     =  8192;
-    private static final int FLAG_COMPLEXCONTENT  = 16384;
-    private static final int FLAG_NOT_VARIABLE    = 32768;
-    private static final int FLAG_VALIDATE_ON_SET = 65536;
-
-
-    /**
-     * The three dated flags are always stacked:
-     *     FLAG_ELEMENT_DATED implies FLAG_NIL_DATED is set
-     *     FLAG_NIL_DATED implies FLAG_TEXT_DATED is set.
-     * checkers work on the flags from top to bottom.
-     */
-    private static final int FLAGS_DATED =
-            FLAG_VALUE_DATED | FLAG_NIL_DATED | FLAG_ELEMENT_DATED;
-
-    /**
-     * The three element status flags have one interrlationshiop:
-     *     FLAG_FIXED implies FLAG_HASDEFAULT is set.
-     * These flags are used when setting nils, defaults, strings.
-     * Since an initial get implies setting from text, they're
-     * also used during getting.
-     */
-    private static final int FLAGS_ELEMENT =
-            FLAG_NILLABLE | FLAG_FIXED | FLAG_HASDEFAULT;
-
-
-    /**
-     * Called by restriction subclasses within their constructors to enable
-     * complex type support.
-     */
-    protected void initComplexType(boolean complexType, boolean complexContent)
-    {
-        _flags |= (complexType ? FLAG_COMPLEXTYPE : 0) |
-                  (complexContent ? FLAG_COMPLEXCONTENT : 0);
-    }
-
-    protected boolean _isComplexType()
-        { return (_flags & FLAG_COMPLEXTYPE) != 0; }
-
-    protected boolean _isComplexContent()
-        { return (_flags & FLAG_COMPLEXCONTENT) != 0; }
-
-    public void setValidateOnSet() {
-        _flags |= FLAG_VALIDATE_ON_SET;
-    }
-
-    protected boolean _validateOnSet()
-        { return (_flags & FLAG_VALIDATE_ON_SET) != 0; }
-
-    /**
-     * True if the value is nilled.
-     */
-    public final boolean isNil()
-    {
-        synchronized (monitor())
-        {
-            check_dated();
-            return ((_flags & FLAG_NIL) != 0);
-        }
-    }
-
-    /**
-     * True if the value is fixed.
-     */
-    public final boolean isFixed()
-    {
-        check_element_dated();
-        return ((_flags & FLAG_FIXED) != 0);
-    }
-
-    /**
-     * True if the value is allowed to be nil.
-     */
-    public final boolean isNillable()
-    {
-        check_element_dated();
-        return ((_flags & FLAG_NILLABLE) != 0);
-    }
-
-    /**
-     * True if the value is currently defaulted.
-     */
-    public final boolean isDefaultable()
-    {
-        check_element_dated();
-        return ((_flags & FLAG_HASDEFAULT) != 0);
-    }
-
-    /**
-     * True if the value is currently defaulted.
-     */
-    public final boolean isDefault()
-    {
-        check_dated();
-        return ((_flags & FLAG_ISDEFAULT) != 0);
-    }
-
-
-    /**
-     * Nils the value.
-     */
-    public final void setNil()
-    {
-        synchronized (monitor())
-        {
-            set_prepare();
-
-            // if we're not nillable, throw exception on setNil(true)
-            if ((_flags & FLAG_NILLABLE) == 0)
-                throw new XmlValueNotNillableException();
-
-            // the implementation should zero the value to reflect nil
-            set_nil();
-
-            // set the nil flag
-            _flags |= FLAG_NIL;
-
-            // ordinary commit except no clearing of nil flag
-            if ((_flags & FLAG_STORE) != 0)
-            {
-                _flags &= ~FLAGS_DATED;
-                get_store().invalidate_nil();
-            }
-            else
-            {
-                _textsource = null;
-            }
-        }
-    }
-
-    /**
-     * Used for situations where these flags must be passed on to
-     * chained values. (See XmlAnySimpleType (allSimpleValue), union
-     * implementations).
-     */
-    protected int elementFlags()
-    {
-        check_element_dated();
-        return (_flags & FLAGS_ELEMENT);
-    }
-
-    /**
-     * Used to make a free-standing xml simple value instance immutable.
-     * This is a one-way street, and it is illegal to attempt to make a
-     * value that is embedded in an xml document immutable.
-     *
-     * Once a value is marked as immutable, it is illegal to call setters
-     * of any kind.
-     */
-    public void setImmutable()
-    {
-        if ((_flags & (FLAG_IMMUTABLE | FLAG_STORE)) != 0)
-            throw new IllegalStateException();
-
-        _flags |= FLAG_IMMUTABLE;
-    }
-
-    /**
-     * Is this instance an immutable value?
-     */
-    public boolean isImmutable()
-    {
-        return (_flags & FLAG_IMMUTABLE) != 0;
-    }
-
-
-
-
-    // TEXTUSER implementation
-
-    /**
-     * Called to initialize the TypeStore associated with this XmlObject
-     * implementation. If not called, this is a free-floating value holder.
-     *
-     * When a value is first attached, it is put in a completely invalidated
-     * state.
-     */
-    public final void attach_store(TypeStore store)
-    {
-        _textsource = store;
-        if ((_flags & FLAG_IMMUTABLE) != 0)
-            throw new IllegalStateException();
-        _flags |= FLAG_STORE | FLAG_VALUE_DATED | FLAG_NIL_DATED | FLAG_ELEMENT_DATED;
-
-        if (store.is_attribute())
-            _flags |= FLAG_ATTRIBUTE;
-
-        if (store.validate_on_set())
-            _flags |= FLAG_VALIDATE_ON_SET;
-    }
-
-    /**
-     * Called by a TypeStore to indicate that the text has been
-     * invalidated and should be fetched next time the value is
-     * needed.
-     */
-    public final void invalidate_value()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        _flags |= FLAG_VALUE_DATED;
-    }
-
-    public final boolean uses_invalidate_value()
-    {
-        SchemaType type = schemaType();
-        return type.isSimpleType() || type.getContentType() == SchemaType.SIMPLE_CONTENT;
-    }
-
-    /**
-     * Called by a TypeStore to indicate that the xsi:nil attribute
-     * on the containing element (and possibly the text) has been
-     * invalidated and both should be consulted next time the value
-     * is needed.
-     */
-    public final void invalidate_nilvalue()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        _flags |= FLAG_VALUE_DATED | FLAG_NIL_DATED;
-    }
-
-    /**
-     * Called by a TypeStore to indicate that the element's default
-     * value, nillability, fixedness, etc, may have changed by
-     * virtue of the element order changing (and xsi:nil and the
-     * text may have changed too); so the store should be consulted
-     * next time any setter or getter is called.
-     */
-    public final void invalidate_element_order()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        _flags |= FLAG_VALUE_DATED | FLAG_NIL_DATED | FLAG_ELEMENT_DATED;
-    }
-
-    /**
-     * Used by the ComplexTypeImpl subclass to get direct access
-     * to the store.
-     */
-    public final TypeStore get_store()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        return (TypeStore)_textsource;
-    }
-
-    public final XmlLocale getXmlLocale ( )
-    {
-        return get_store().get_locale();
-    }
-            
-    protected final boolean has_store()
-    {
-        return (_flags & FLAG_STORE) != 0;
-    }
-
-    /**
-     * Called by a TypeStore to pull out the most reasonable
-     * text value from us. This is done after we have invalidated
-     * the store (typically when our value has been set).
-     */
-    public final String build_text(NamespaceManager nsm)
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        assert((_flags & FLAG_VALUE_DATED) == 0);
-        if ((_flags & (FLAG_NIL | FLAG_ISDEFAULT)) != 0)
-            return "";
-        return compute_text(
-                    nsm == null ? has_store() ? get_store() : null : nsm);
-    }
-
-    /**
-     * A store will call back on build_nil after we've called invalidate_nil
-     * and it needs to know what the nil value is.
-     */
-    public boolean build_nil()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        assert((_flags & FLAG_VALUE_DATED) == 0);
-        return (_flags & FLAG_NIL) != 0;
-    }
-
-    /**
-     * A store will call back on validate_now to force us to look at
-     * the text if we're in an invalid state. We're allowed to throw
-     * an exception if the text isn't valid for our type.
-     */
-    public void validate_now()
-    {
-        check_dated();
-    }
-
-    /**
-     * A store calls back here in order to force a disconnect.
-     * After this is done, the object should be considered invalid.
-     * Any attempt to access or set a value should result in an
-     * exception.
-     *
-     * Note that this is how we handle deletions and xsi:type changes.
-     */
-    public void disconnect_store()
-    {
-        assert((_flags & FLAG_STORE) != 0);
-        _flags |= FLAGS_DATED | FLAG_ORPHANED;
-        // do NOT null out _textsource, because we need it non-null for synchronization
-    }
-
-    /**
-     * A typestore user can create a new TypeStoreUser instance for
-     * a given element child name as long as you also pass the
-     * qname contained by the xsi:type attribute, if any.
-     *
-     * Note that we will ignore the xsiType if it turns out to be invalid.
-     *
-     * Returns null if there is no strongly typed information for that
-     * given element (which implies, recusively, no strongly typed information
-     * downwards).
-     */
-    public TypeStoreUser create_element_user(QName eltName, QName xsiType)
-    {
-        return
-            (TypeStoreUser)
-                ((SchemaTypeImpl) schemaType()).createElementType(
-                    eltName, xsiType, get_store().get_schematypeloader() );
-
-        /*
-        SchemaTypeImpl stype = (SchemaTypeImpl)schemaType().getElementType(eltName, xsiType, get_store().get_schematypeloader());
-        if (stype == null)
-            return null;
-        return (TypeStoreUser)stype.createUnattachedNode();
-        */
-    }
-
-    /**
-     * A typestore user can create a new TypeStoreUser instance for
-     * a given attribute child, based on the attribute name.
-     *
-     * Returns null if there is no strongly typed information for that
-     * given attributes.
-     */
-    public TypeStoreUser create_attribute_user(QName attrName)
-    {
-        return (TypeStoreUser)((SchemaTypeImpl)schemaType()).createAttributeType(attrName, get_store().get_schematypeloader());
-    }
-
-    public SchemaType get_schema_type()
-    {
-        return schemaType();
-    }
-
-    public SchemaType get_element_type(QName eltName, QName xsiType)
-    {
-        return schemaType().getElementType(
-            eltName, xsiType, get_store().get_schematypeloader() );
-    }
-
-    public SchemaType get_attribute_type(QName attrName)
-    {
-        return schemaType().getAttributeType(
-            attrName, get_store().get_schematypeloader() );
-    }
-
-    /**
-     * Returns the default element text, if it's consistent. If it's
-     * not consistent, returns null, and requires a visitor walk.
-     *
-     * Also returns null if there is no default at all (although
-     * that can also be discovered via get_elementflags without
-     * doing a walk).
-     */
-    public String get_default_element_text(QName eltName)
-    {
-        assert(_isComplexContent());
-        if (!_isComplexContent())
-            throw new IllegalStateException();
-
-        SchemaProperty prop = schemaType().getElementProperty(eltName);
-        if (prop == null)
-            return "";
-        return prop.getDefaultText();
-    }
-
-    /**
-     * Returns the default attribute text for the attribute with
-     * the given name, or null if no default.
-     */
-    public String get_default_attribute_text(QName attrName)
-    {
-        assert(_isComplexType());
-        if (!_isComplexType())
-            throw new IllegalStateException();
-
-        SchemaProperty prop = schemaType().getAttributeProperty(attrName);
-        if (prop == null)
-            return "";
-        return prop.getDefaultText();
-    }
-
-    /**
-     * Returns the elementflags, if they're consistent. If they're
-     * not, returns -1, and requires a vistor walk.
-     */
-    public int get_elementflags(QName eltName)
-    {
-        if (!_isComplexContent())
-            return 0;
-
-        SchemaProperty prop = schemaType().getElementProperty(eltName);
-        if (prop == null)
-            return 0;
-        if (prop.hasDefault() == SchemaProperty.VARIABLE ||
-            prop.hasFixed() == SchemaProperty.VARIABLE ||
-            prop.hasNillable() == SchemaProperty.VARIABLE)
-            return -1;
-        return
-            (prop.hasDefault() == SchemaProperty.NEVER ? 0 : TypeStore.HASDEFAULT) |
-            (prop.hasFixed() == SchemaProperty.NEVER ? 0 : TypeStore.FIXED) |
-            (prop.hasNillable() == SchemaProperty.NEVER ? 0 : TypeStore.NILLABLE);
-    }
-
-    /**
-     * Returns the flags for the given attribute.
-     */
-    public int get_attributeflags(QName attrName)
-    {
-        if (!_isComplexType())
-            return 0;
-        SchemaProperty prop = schemaType().getAttributeProperty(attrName);
-        if (prop == null)
-            return 0;
-        return
-            (prop.hasDefault() == SchemaProperty.NEVER ? 0 : TypeStore.HASDEFAULT) |
-            (prop.hasFixed() == SchemaProperty.NEVER ? 0 : TypeStore.FIXED);
-        // BUGBUG: todo: hook up required?
-    }
-
-    /**
-     * Returns false if child elements are insensitive to order;
-     * if it returns true, you're required to call invalidate_element_order
-     * on children to the right of any child order rearrangement.
-     */
-    public boolean is_child_element_order_sensitive()
-    {
-        if (!_isComplexType())
-            return false;
-        return schemaType().isOrderSensitive();
-    }
-
-    /**
-     * Inserting a new element is always unambiguous except in one
-     * situation: when adding an element after the last one with
-     * that name (or the first one if there are none).
-     *
-     * In that case, add the element at the first possible slot
-     * BEFORE any element whose qname is contained in the QNameSet
-     * given. (If the QNameSet is empty, that means add the new
-     * element at the very end.)
-     *
-     * If the returned QNameSet is null, treat it as if the QNameSet
-     * contained all QNames, i.e., add the new element at the very
-     * first position possible (adjacent to the last element of the
-     * same name, or at the very first slot if it is the first elt
-     * with that name).
-     */
-    public final QNameSet get_element_ending_delimiters(QName eltname)
-    {
-        SchemaProperty prop = schemaType().getElementProperty(eltname);
-        if (prop == null)
-            return null;
-        return prop.getJavaSetterDelimiter();
-    }
-
-    /**
-     * A typestore user can return a visitor that is used to compute
-     * default text and elementflags for an arbitrary element.
-     */
-    public TypeStoreVisitor new_visitor()
-    {
-        if (!_isComplexContent())
-            return null;
-        return new SchemaTypeVisitorImpl(schemaType().getContentModel());
-    }
-
-    public SchemaField get_attribute_field(QName attrName)
-    {
-        SchemaAttributeModel model = schemaType().getAttributeModel();
-        if (model == null)
-            return null;
-        return model.getAttribute(attrName);
-    }
-
-
-    /**
-     * Setting a string preserves any noncanonical literal
-     * representation. This is done by storing the actual
-     * string in the underlying store after checking it
-     * against the primitive type for validity.
-     */
-    protected void set_String(String v)
-    {
-        if ((_flags & FLAG_IMMUTABLE) != 0)
-            throw new IllegalStateException();
-
-        boolean wasNilled = ((_flags & FLAG_NIL) != 0);
-
-        // update the underlying value from the string
-        String wscanon = apply_wscanon(v);
-        update_from_wscanon_text(wscanon);
-
-        // Now store the literal text immediately in the underlying
-        if ((_flags & FLAG_STORE) != 0)
-        {
-            _flags &= ~FLAG_VALUE_DATED;
-            get_store().store_text(v);
-            if (wasNilled)
-                get_store().invalidate_nil();
-        }
-        else
-            _textsource = v;
-    }
-
-    /**
-     * Update the value based on complex content.
-     */
-    protected void update_from_complex_content()
-    {
-        throw new XmlValueOutOfRangeException();
-    }
-
-    /**
-     * Utility to update the value based on a string that
-     * was passed either from the text store or from the user.
-     * This function handles the cases where there is a default
-     * that must be applied, and where the value must match
-     * a fixed value.
-     */
-    private final void update_from_wscanon_text(String v)
-    {
-        // Whitespace is default if this type treats this space as defaultable
-        if ((_flags & FLAG_HASDEFAULT) != 0 &&  (_flags & FLAG_SETTINGDEFAULT) == 0)
-        {
-            // This isn't quite correct since the .equals("") test should be
-            // done on the actual text, not the wscanon text
-            if ((_flags & FLAG_ATTRIBUTE) == 0 && v.equals(""))
-            {
-                String def = get_store().compute_default_text();
-                if (def == null)
-                    throw new XmlValueOutOfRangeException();
-
-                // protect against recursion with this flag
-                _flags |= FLAG_SETTINGDEFAULT;
-                try { this.set(def); }
-                finally { _flags &= ~FLAG_SETTINGDEFAULT; }
-                _flags &= ~FLAG_NIL;
-                _flags |= FLAG_ISDEFAULT;
-                return;
-            }
-        }
-        // If we haven't returned yet, the default doesn't apply.
-
-        // Ask underlying impl to parse ordinary non-default text
-        set_text(v);
-        _flags &= ~(FLAG_NIL | FLAG_ISDEFAULT);
-    }
-
-    /**
-     * Types should return false if they don't treat the given
-     * whitespace as a default value.
-     */
-    protected boolean is_defaultable_ws(String v)
-    {
-        return true;
-    }
-
-    /**
-     * Returns the whitespace rule that will be applied before
-     * building a string to pass to get_text().
-     *
-     * Overridden by subclasses that don't need their text
-     * for set_text canonicalized; perhaps they already implement
-     * scanners that can deal with whitespace, and they know
-     * they have no regex pattern restrictions.
-     */
-    protected int get_wscanon_rule()
-    {
-        return SchemaType.WS_COLLAPSE;
-    }
-
-    /**
-     * Called to canonicalize whitespace before calling set_text.
-     *
-     * Tries to avoid allocation when the string is already canonical, but
-     * otherwise this is not particularly efficient. Hopefully the common
-     * case is that we pass our wscanon rule to the store via fetch_text
-     * and it's canonicalized before we even see it as a string.
-     */
-    private final String apply_wscanon(String v)
-    {
-        return XmlWhitespace.collapse(v, get_wscanon_rule());
-    }
-
-    /**
-     * Called before every set and get, to ensure that we have
-     * a correct picture of whether we're nillable, fixed, or
-     * if we have a default that can be applied.
-     */
-    private final void check_element_dated()
-    {
-        if ((_flags & FLAG_ELEMENT_DATED) != 0 &&
-            (_flags & FLAG_NOT_VARIABLE) == 0)
-        {
-            if ((_flags & FLAG_ORPHANED) != 0)
-                throw new XmlValueDisconnectedException();
-
-            int eltflags = get_store().compute_flags();
-            // int eltflags = 0;
-            _flags &= ~(FLAGS_ELEMENT | FLAG_ELEMENT_DATED);
-            _flags |= eltflags;
-        }
-        if ((_flags & FLAG_NOT_VARIABLE) != 0)
-            _flags &= ~(FLAG_ELEMENT_DATED);
-    }
-
-    /**
-     * Describes the orphaned status of this object.
-     */
-    protected final boolean is_orphaned()
-    {
-        return (_flags & FLAG_ORPHANED) != 0;
-    }
-
-    /**
-     * Called before every getter and setter on the strongly
-     * typed classes to ensure that the object has not been
-     * orphaned.
-     */
-    protected final void check_orphaned()
-    {
-        if (is_orphaned())
-            throw new XmlValueDisconnectedException();
-    }
-
-    /**
-     * Called prior to every get operation, to ensure
-     * that the value being read is valid. If the value
-     * has been invalidated, it is re-read from the underlying
-     * text store, and this may cause an out of range exception.
-     *
-     * This method deals with nils, nillability, defaults, etc.
-     */
-    public final void check_dated()
-    {
-        if ((_flags & FLAGS_DATED) != 0)
-        {
-            if ((_flags & FLAG_ORPHANED) != 0)
-                throw new XmlValueDisconnectedException();
-
-            assert((_flags & FLAG_STORE) != 0);
-
-            check_element_dated();
-
-            if ((_flags & FLAG_ELEMENT_DATED) != 0)
-            {
-                int eltflags = get_store().compute_flags();
-                _flags &= ~(FLAGS_ELEMENT | FLAG_ELEMENT_DATED);
-                _flags |= eltflags;
-            }
-
-            boolean nilled = false;
-
-            if ((_flags & FLAG_NIL_DATED) != 0)
-            {
-                if (get_store().find_nil())
-                {
-                    if ((_flags & FLAG_NILLABLE) == 0)
-                        throw new XmlValueOutOfRangeException(); // nil not allowed
-
-                    // let the implementation know that we're nil now
-                    set_nil();
-
-                    _flags |= FLAG_NIL;
-                    nilled = true;
-                }
-                else
-                {
-                    _flags &= ~FLAG_NIL;
-                }
-                _flags &= ~FLAG_NIL_DATED;
-            }
-
-            if (!nilled)
-            {
-                String text;
-
-                if ((_flags & FLAG_COMPLEXCONTENT) != 0 || (text = get_wscanon_text()) == null)
-                    update_from_complex_content();
-                else
-                {
-                    NamespaceContext.push(new NamespaceContext(get_store()));
-                    try { update_from_wscanon_text(text); }
-                    finally { NamespaceContext.pop(); }
-                }
-            }
-
-            _flags &= ~FLAG_VALUE_DATED;
-        }
-    }
-
-    /**
-     * Called before every set operation (except for the
-     * special case of setting a string) to:
-     * (1) get the nillable, fixed, etc flags
-     * (2) throw an exception if it's fixed (not for strings)
-     */
-    private final void set_prepare()
-    {
-        check_element_dated();
-        if ((_flags & FLAG_IMMUTABLE) != 0)
-            throw new IllegalStateException();
-    }
-
-    /**
-     * Called after every set operation to invalidate
-     * the attached raw text. Also, if we were dated,
-     * we make a note that we're now current, since the
-     * latest set beats the previous invalidate. Also,
-     * if we were nil, we're no longer.
-     */
-    private final void set_commit()
-    {
-        boolean wasNilled = ((_flags & FLAG_NIL) != 0);
-          _flags &= ~(FLAG_NIL | FLAG_ISDEFAULT);
-
-        if ((_flags & FLAG_STORE) != 0)
-        {
-            _flags &= ~(FLAGS_DATED);
-            get_store().invalidate_text();
-            if (wasNilled)
-                get_store().invalidate_nil();
-        }
-        else
-        {
-            _textsource = null;
-        }
-    }
-
-    /**
-     * Grabs the undelying litral representation, applying the
-     * implementation's wscanon rule.
-     * Null if not simple content.
-     */
-    public final String get_wscanon_text()
-    {
-        if ((_flags & FLAG_STORE) == 0)
-        {
-            return apply_wscanon((String)_textsource);
-        }
-        else return get_store().fetch_text(get_wscanon_rule());
-    }
-
-    /**
-     * This should set the value of the type from text,
-     * or throw an XmlValueOutOfRangeException if it can't.
-     */
-    abstract protected void set_text(String text);
-
-    /**
-     * This should clear the value, and set it to whatever
-     * is supposed to be returned when the value is nilled.
-     */
-    abstract protected void set_nil();
-
-    /**
-     * This should return the canonical string value of the primitive.
-     * Only called when non-nil.
-     */
-    abstract protected String compute_text(NamespaceManager nsm);
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-
-    // numerics: fractional
-    public float floatValue()
-        { BigDecimal bd = bigDecimalValue(); return bd == null ? 0.0f : bd.floatValue(); }
-    public double doubleValue()
-        { BigDecimal bd = bigDecimalValue(); return bd == null ? 0.0 : bd.doubleValue(); }
-    public BigDecimal bigDecimalValue()
-        { throw new XmlValueOutOfRangeException(); }
-
-    // numerics: integral
-    public BigInteger bigIntegerValue()
-        { BigDecimal bd = bigDecimalValue(); return bd == null ? null : bd.toBigInteger(); }
-
-    public byte byteValue()
-    {
-        long l = intValue();
-        if (l > Byte.MAX_VALUE) throw new XmlValueOutOfRangeException();
-        if (l < Byte.MIN_VALUE) throw new XmlValueOutOfRangeException();
-        return (byte)l;
-    }
-
-    public short shortValue()
-    {
-        long l = intValue();
-        if (l > Short.MAX_VALUE) throw new XmlValueOutOfRangeException();
-        if (l < Short.MIN_VALUE) throw new XmlValueOutOfRangeException();
-        return (short)l;
-    }
-
-    public int intValue()
-    {
-        long l = longValue();
-        if (l > Integer.MAX_VALUE) throw new XmlValueOutOfRangeException();
-        if (l < Integer.MIN_VALUE) throw new XmlValueOutOfRangeException();
-        return (int)l;
-    }
-    private static final BigInteger _max = BigInteger.valueOf(Long.MAX_VALUE);
-    private static final BigInteger _min = BigInteger.valueOf(Long.MIN_VALUE);
-
-    public long longValue()
-    {
-        BigInteger b = bigIntegerValue();
-        if (b == null) return 0L;
-        if (b.compareTo(_max) >= 0) throw new XmlValueOutOfRangeException();
-        if (b.compareTo(_min) <= 0) throw new XmlValueOutOfRangeException();
-        return b.longValue();
-    }
-
-    private static final XmlOptions _toStringOptions =
-        buildInnerPrettyOptions();
-
-    static final XmlOptions buildInnerPrettyOptions()
-    {
-        XmlOptions options = new XmlOptions();
-        options.put( XmlOptions.SAVE_INNER );
-        options.put( XmlOptions.SAVE_PRETTY_PRINT );
-        options.put( XmlOptions.SAVE_AGGRESSIVE_NAMESPACES );
-        options.put( XmlOptions.SAVE_USE_DEFAULT_NAMESPACE );
-        return options;
-    }
-
-    /*
-    private static final void dumpStack ( String msg )
-    {
-        try
-        {
-            java.io.FileOutputStream fos = new java.io.FileOutputStream( "C:\\ee.txt", true );
-            java.io.PrintStream ps = new java.io.PrintStream( fos );
-            ps.println( "======================================" );
-            ps.println( msg );
-            new Exception().printStackTrace( ps );
-            ps.close();
-            fos.close();
-        }
-        catch ( Exception e )
-        {
-        }
-
-    }
-    */
-
-    public final String toString( )
-    {
-        synchronized (monitor())
-        {
-            return ensureStore().xmlText(_toStringOptions);
-        }
-    }
-
-    public String xmlText()
-    {
-        return xmlText(null);
-    }
-
-    public String xmlText (XmlOptions options)
-    {
-        XmlCursor cur = newCursorForce();
-
-        try
-        {
-            return cur.xmlText(makeInnerOptions(options));
-        }
-        finally
-        {
-            cur.dispose();
-        }
-    }
-
-    // enums
-    public StringEnumAbstractBase enumValue()
-        { throw new XmlValueOutOfRangeException(); }
-
-    // various
-    public String stringValue()
-    {
-        // Since complex-content types don't have a "natural" string value, we
-        // emit the deeply concatenated, tag-removed content of the tag.
-        synchronized (monitor())
-        {
-            if (_isComplexContent())
-                return get_store().fetch_text(TypeStore.WS_PRESERVE);
-
-            check_dated();
-            if ((_flags & FLAG_NIL) != 0)
-                return null;
-            return compute_text(has_store() ? get_store() : null);
-        }
-    }
-
-    public String getStringValue()
-        { return stringValue(); }
-    public boolean getBooleanValue()
-        { return booleanValue(); }
-    public byte getByteValue()
-        { return byteValue(); }
-    public short getShortValue()
-        { return shortValue(); }
-    public int getIntValue()
-        { return intValue(); }
-    public long getLongValue()
-        { return longValue(); }
-    public BigInteger getBigIntegerValue()
-        { return bigIntegerValue(); }
-    public BigDecimal getBigDecimalValue()
-        { return bigDecimalValue(); }
-    public float getFloatValue()
-        { return floatValue(); }
-    public double getDoubleValue()
-        { return doubleValue(); }
-    public byte[] getByteArrayValue()
-        { return byteArrayValue(); }
-    public StringEnumAbstractBase getEnumValue()
-        { return enumValue(); }
-    public Calendar getCalendarValue()
-        { return calendarValue(); }
-    public Date getDateValue()
-        { return dateValue(); }
-    public GDate getGDateValue()
-        { return gDateValue(); }
-    public GDuration getGDurationValue()
-        { return gDurationValue(); }
-    public QName getQNameValue()
-        { return qNameValue(); }
-    public List xgetListValue()
-        { return xlistValue(); }
-    public List getListValue()
-        { return listValue(); }
-    public Object getObjectValue()
-        { return objectValue(); }
-
-    public void setStringValue(String obj)
-        { set(obj); }
-    public void setBooleanValue(boolean v)
-        { set(v); }
-    public void setByteValue(byte v)
-        { set(v); }
-    public void setShortValue(short v)
-        { set(v); }
-    public void setIntValue(int v)
-        { set(v); }
-    public void setLongValue(long v)
-        { set(v); }
-    public void setBigIntegerValue(BigInteger obj)
-        { set(obj); }
-    public void setBigDecimalValue(BigDecimal obj)
-        { set(obj); }
-    public void setFloatValue(float v)
-        { set(v); }
-    public void setDoubleValue(double v)
-        { set(v); }
-    public void setByteArrayValue(byte[] obj)
-        { set(obj); }
-    public void setEnumValue(StringEnumAbstractBase obj)
-        { set(obj); }
-    public void setCalendarValue(Calendar obj)
-        { set(obj); }
-    public void setDateValue(Date obj)
-        { set(obj); }
-    public void setGDateValue(GDate obj)
-        { set(obj); }
-    public void setGDurationValue(GDuration obj)
-        { set(obj); }
-    public void setQNameValue(QName obj)
-        { set(obj); }
-    public void setListValue(List obj)
-        { set(obj); }
-    public void setObjectValue(Object obj)
-        { objectSet(obj); }
-
-    public byte[] byteArrayValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public boolean booleanValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public GDate gDateValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public Date dateValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public Calendar calendarValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public GDuration gDurationValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public QName qNameValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public List listValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public List xlistValue()
-        { throw new XmlValueOutOfRangeException(); }
-    public Object objectValue()
-        { return java_value(this); }
-
-    // set this value
-    public final void set(boolean v)
-        { synchronized (monitor()) { set_prepare(); set_boolean(v); set_commit(); } }
-    public final void set(byte v)
-        { synchronized (monitor()) { set_prepare(); set_byte(v); set_commit(); } }
-    public final void set(short v)
-        { synchronized (monitor()) { set_prepare(); set_short(v); set_commit(); } }
-    public final void set(int v)
-        { synchronized (monitor()) { set_prepare(); set_int(v); set_commit(); } }
-    public final void set(long v)
-        { synchronized (monitor()) { set_prepare(); set_long(v); set_commit(); } }
-    public final void set(float v)
-        { synchronized (monitor()) { set_prepare(); set_float(v); set_commit(); } }
-    public final void set(double v)
-        { synchronized (monitor()) { set_prepare(); set_double(v); set_commit(); } }
-    public final void set(byte[] obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_ByteArray(obj); set_commit(); } } }
-    public final void set(StringEnumAbstractBase obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_enum(obj); set_commit(); } } }
-    public final void set(BigInteger obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_BigInteger(obj); set_commit(); } } }
-    public final void set(BigDecimal obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_BigDecimal(obj); set_commit(); } } }
-    public final void set(Calendar obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_Calendar(obj); set_commit(); } } }
-    public final void set(Date obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_Date(obj); set_commit(); } } }
-    public final void set(GDateSpecification obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDate(obj); set_commit(); } } }
-    public final void set(GDurationSpecification obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDuration(obj); set_commit(); } } }
-    public final void set(QName obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_QName(obj); set_commit(); } } }
-    public final void set(List obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_list(obj); set_commit(); } } }
-    public final void set(String obj)
-        { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_String(obj); /* strings are special, so set_String does its own commit.*/ } } }
-
-    public void objectSet(Object o)
-    {
-        if (o == null)
-        {
-            setNil();
-            return;
-        }
-
-        if (o instanceof XmlObject)
-            set( (XmlObject) o );
-        else if (o instanceof String)
-            set( (String) o );
-        else if (o instanceof StringEnumAbstractBase)
-            set( (StringEnumAbstractBase) o );
-        else if (o instanceof BigInteger)
-            set( (BigInteger) o );
-        else if (o instanceof BigDecimal)
-            set( (BigDecimal) o );
-        else if (o instanceof Byte)
-            set( ((Byte)o).byteValue() );
-        else if (o instanceof Short)
-            set( ((Short)o).shortValue() );
-        else if (o instanceof Integer)
-            set( ((Integer)o).intValue() );
-        else if (o instanceof Long)
-            set( ((Long)o).longValue() );
-        else if (o instanceof Boolean)
-            set( ((Boolean)o).booleanValue() );
-        else if (o instanceof Float)
-            set( ((Float)o).floatValue() );
-        else if (o instanceof Double)
-            set( ((Double)o).doubleValue() );
-        else if (o instanceof Calendar)
-            set( ((Calendar)o) );
-        else if (o instanceof Date)
-            set( (Date) o );
-        else if (o instanceof GDateSpecification)
-            set( (GDateSpecification) o );
-        else if (o instanceof GDurationSpecification)
-            set( (GDurationSpecification) o );
-        else if (o instanceof QName)
-            set( (QName) o );
-        else if (o instanceof List)
-            set( (List) o );
-        else if (o instanceof byte[])
-            set( (byte[]) o );
-        else
-        {
-            throw
-                new XmlValueOutOfRangeException(
-                    "Can't set union object of class : " +
-                        o.getClass().getName() );
-        }
-    }
-
-    public final void set_newValue(XmlObject obj)
-    {
-        if (obj == null || obj.isNil())
-        {
-            setNil();
-            return;
-        }
-
-        primitive:
-        if (obj instanceof XmlAnySimpleType)
-        {
-            XmlAnySimpleType v = (XmlAnySimpleType)obj;
-            SchemaType instanceType = ((SimpleValue)v).instanceType();
-            assert(instanceType != null) : "Nil case should have been handled already";
-
-            // handle lists
-            if (instanceType.getSimpleVariety() == SchemaType.LIST)
-            {
-                synchronized (monitor())
-                {
-                    set_prepare();
-                    set_list(((SimpleValue)v).xgetListValue());
-                    set_commit();
-                    return;
-                }
-            }
-
-            // handle atomic types
-            synchronized (monitor())
-            {
-                assert(instanceType.getSimpleVariety() == SchemaType.ATOMIC);
-                switch (instanceType.getPrimitiveType().getBuiltinTypeCode())
-                {
-                    default:
-                        assert(false) : "encountered nonprimitive type.";
-                    // case SchemaType.BTC_ANY_SIMPLE:  This is handled below...
-                    // but we eventually want to handle it with a treecopy, so
-                    // eventually we should break here.
-                        break primitive;
-
-                    case SchemaType.BTC_BOOLEAN:
-                    {
-                        boolean bool = ((SimpleValue)v).getBooleanValue();
-                        set_prepare();
-                        set_boolean(bool);
-                        break;
-                    }
-                    case SchemaType.BTC_BASE_64_BINARY:
-                    {
-                        byte[] byteArr = ((SimpleValue)v).getByteArrayValue();
-                        set_prepare();
-                        set_b64(byteArr);
-                        break;
-                    }
-                    case SchemaType.BTC_HEX_BINARY:
-                    {
-                        byte[] byteArr = ((SimpleValue)v).getByteArrayValue();
-                        set_prepare();
-                        set_hex(byteArr);
-                        break;
-                    }
-                    case SchemaType.BTC_QNAME:
-                    {
-                        QName name = ((SimpleValue)v).getQNameValue();
-                        set_prepare();
-                        set_QName(name);
-                        break;
-                    }
-                    case SchemaType.BTC_FLOAT:
-                    {
-                        float f = ((SimpleValue)v).getFloatValue();
-                        set_prepare();
-                        set_float(f);
-                        break;
-                    }
-                    case SchemaType.BTC_DOUBLE:
-                    {
-                        double d = ((SimpleValue)v).getDoubleValue();
-                        set_prepare();
-                        set_double(d);
-                        break;
-                    }
-                    case SchemaType.BTC_DECIMAL:
-                    {
-                        switch (instanceType.getDecimalSize())
-                        {
-                            case SchemaType.SIZE_BYTE:
-                            {
-                                byte b = ((SimpleValue)v).getByteValue();
-                                set_prepare();
-                                set_byte(b);
-                                break;
-                            }
-                            case SchemaType.SIZE_SHORT:
-                            {
-                                short s = ((SimpleValue)v).getShortValue();
-                                set_prepare();
-                                set_short(s);
-                                break;
-                            }
-                            case SchemaType.SIZE_INT:
-                            {
-                                int i = ((SimpleValue)v).getIntValue();
-                                set_prepare();
-                                set_int(i);
-                                break;
-                            }
-                            case SchemaType.SIZE_LONG:
-                            {
-                                long l = ((SimpleValue)v).getLongValue();
-                                set_prepare();
-                                set_long(l);
-                                break;
-                            }
-                            case SchemaType.SIZE_BIG_INTEGER:
-                            {
-                                BigInteger bi = ((SimpleValue)v).getBigIntegerValue();
-                                set_prepare();
-                                set_BigInteger(bi);
-                                break;
-                            }
-                            default:
-                            {
-                                assert(false) : "invalid numeric bit count";
-                                // fallthrough
-                            }
-                            case SchemaType.SIZE_BIG_DECIMAL:
-                            {
-                                BigDecimal bd = ((SimpleValue)v).getBigDecimalValue();
-                                set_prepare();
-                                set_BigDecimal(bd);
-                                break;
-                            }
-                        }
-                        break;
-                    }
-                    case SchemaType.BTC_ANY_URI:
-                    {
-                        String uri = v.getStringValue();
-                        set_prepare();
-                        set_text(uri);
-                        break;
-                    }
-                    case SchemaType.BTC_NOTATION:
-                    {
-                        String s = v.getStringValue();
-                        set_prepare();
-                        set_notation(s);
-                        break;
-                    }
-                    case SchemaType.BTC_DURATION:
-                    {
-                        GDuration gd = ((SimpleValue)v).getGDurationValue();
-                        set_prepare();
-                        set_GDuration(gd);
-                        break;
-                    }
-                    case SchemaType.BTC_DATE_TIME:
-                    case SchemaType.BTC_TIME:
-                    case SchemaType.BTC_DATE:
-                    case SchemaType.BTC_G_YEAR_MONTH:
-                    case SchemaType.BTC_G_YEAR:
-                    case SchemaType.BTC_G_MONTH_DAY:
-                    case SchemaType.BTC_G_DAY:
-                    case SchemaType.BTC_G_MONTH:
-                    {
-                        GDate gd = ((SimpleValue)v).getGDateValue();
-                        set_prepare();
-                        set_GDate(gd);
-                        break;
-                    }
-                    case SchemaType.BTC_STRING:
-                    {
-                        String s = v.getStringValue();
-                        set_prepare();
-                        set_String(s);
-                        break;
-                    }
-                    case SchemaType.BTC_ANY_SIMPLE:
-                        {
-                            boolean pushed = false;
-                            if (!v.isImmutable())
-                            {
-                                pushed = true;
-                                NamespaceContext.push(new NamespaceContext(v));
-                            }
-                            try
-                            {
-                                set_prepare();
-                                set_xmlanysimple(v);
-                            }
-                            finally
-                            {
-                                if (pushed)
-                                    NamespaceContext.pop();
-                            }
-                            break;
-                        }
-                }
-                set_commit();
-                return; // primitive node tree copy handled.
-            }
-        }
-
-        throw new IllegalStateException("Complex type unexpected");
-    }
-
-    private TypeStoreUser setterHelper ( XmlObjectBase src )
-    {
-        check_orphaned();
-
-        src.check_orphaned();
-
-        return
-            get_store().copy_contents_from( src.get_store() ).
-                get_store().change_type( src.schemaType() );
-    }
-
-    public final XmlObject set(XmlObject src)
-    {
-        if (isImmutable())
-            throw new IllegalStateException("Cannot set the value of an immutable XmlObject");
-
-        XmlObjectBase obj = underlying(src);
-
-        TypeStoreUser newObj = this;
-
-        if (obj == null)
-        {
-            setNil();
-            return this;
-        }
-
-        if (obj.isImmutable())
-            set(obj.stringValue());
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                if (monitor() == obj.monitor())
-                {
-                    synchronized (monitor())
-                    {
-                        newObj = setterHelper( obj );
-                    }
-                }
-                else
-                {
-                    // about to grab two locks: don't deadlock ourselves
-                    GlobalLock.acquire();
-                    acquired = true;
-
-                    synchronized (monitor())
-                    {
-                        synchronized (obj.monitor())
-                        {
-                            GlobalLock.release();
-                            acquired = false;
-
-                            newObj = setterHelper( obj );
-                        }
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-
-        return (XmlObject) newObj;
-    }
-
-    protected void set_list(List list)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_boolean(boolean v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_byte(byte v)
-        { set_int((int) v); }
-    protected void set_short(short v)
-        { set_int((int) v); }
-    protected void set_int(int v)
-        { set_long((long) v); }
-    protected void set_long(long v)
-        { set_BigInteger(BigInteger.valueOf(v)); }
-    protected void set_char(char v)
-        { set_String(Character.toString(v)); }
-    protected void set_float(float v)
-        { set_BigDecimal(new BigDecimal(v)); }
-    protected void set_double(double v)
-        { set_BigDecimal(new BigDecimal(v)); }
-
-    protected void set_enum(StringEnumAbstractBase e)
-        { throw new XmlValueOutOfRangeException(); }
-
-    protected void set_ByteArray(byte[] b)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_b64(byte[] b)
-        { set_ByteArray(b); }
-    protected void set_hex(byte[] b)
-        { set_ByteArray(b); }
-    protected void set_BigInteger(BigInteger v)
-        { set(new BigDecimal(v)); }
-    protected void set_BigDecimal(BigDecimal v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_Date(Date v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_Calendar(Calendar v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_GDate(GDateSpecification v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_GDuration(GDurationSpecification v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_ComplexXml(XmlObject v)
-        { throw new XmlValueOutOfRangeException(); }
-    protected void set_QName(QName v)
-        { throw new XmlValueOutOfRangeException(); }
-
-    protected void set_notation(String v)
-        { throw new XmlValueOutOfRangeException(); }
-
-    protected void set_xmlanysimple(XmlAnySimpleType v)
-        { set_String(v.getStringValue()); }
-
-    private final boolean comparable_value_spaces(SchemaType t1, SchemaType t2)
-    {
-        assert(t1.getSimpleVariety() != SchemaType.UNION && t2.getSimpleVariety() != SchemaType.UNION);
-
-        if (!t1.isSimpleType() && !t2.isSimpleType())
-            return (t1.getContentType() == t2.getContentType());
-
-        if (!t1.isSimpleType() || !t2.isSimpleType())
-            return false;
-
-        if (t1.getSimpleVariety() == SchemaType.LIST && t2.getSimpleVariety() == SchemaType.LIST)
-            return true;
-
-        if (t1.getSimpleVariety() == SchemaType.LIST || t2.getSimpleVariety() == SchemaType.LIST)
-            return false;
-
-        return (t1.getPrimitiveType().equals(t2.getPrimitiveType()));
-    }
-
-    private final boolean valueEqualsImpl(XmlObject xmlobj)
-    {
-        check_dated();
-
-        SchemaType typethis = instanceType();
-        SchemaType typeother = ((SimpleValue)xmlobj).instanceType();
-
-        if (typethis == null && typeother == null) // detects nil
-            return true;
-
-        if (typethis == null || typeother == null)
-            return false;
-
-        if (!comparable_value_spaces(typethis, typeother))
-            return false;
-
-        if (xmlobj.schemaType().getSimpleVariety() == SchemaType.UNION)
-            return (underlying(xmlobj)).equal_to(this);
-
-        return equal_to(xmlobj);
-    }
-
-    public final boolean valueEquals(XmlObject xmlobj)
-    {
-        boolean acquired = false;
-        try
-        {
-            if (isImmutable())
-            {
-                if (xmlobj.isImmutable())
-                {
-                    return valueEqualsImpl(xmlobj);
-                }
-                else
-                {
-                    synchronized (xmlobj.monitor())
-                    {
-                        return valueEqualsImpl(xmlobj);
-                    }
-                }
-            }
-            else
-            {
-                if (xmlobj.isImmutable() || monitor() == xmlobj.monitor())
-                {
-                    synchronized (monitor())
-                    {
-                        return valueEqualsImpl(xmlobj);
-                    }
-                }
-                else
-                {
-                    GlobalLock.acquire();
-                    acquired = true;
-                    synchronized (monitor())
-                    {
-                        synchronized (xmlobj.monitor())
-                        {
-                            GlobalLock.release();
-                            acquired = false;
-                            return valueEqualsImpl(xmlobj);
-                        }
-                    }
-                }
-            }
-
-        }
-        catch (InterruptedException e)
-        {
-            throw new XmlRuntimeException(e);
-        }
-        finally
-        {
-            if (acquired)
-                GlobalLock.release();
-        }
-    }
-
-    /**
-     * Implements Comparable. This compareTo is inconsistent with
-     * equals unless isImmutable() is true.
-     */
-    public final int compareTo(Object obj)
-    {
-        int result = compareValue((XmlObject)obj); // can throw ClassCast
-        if (result == 2)
-            throw new ClassCastException();
-        return result;
-    }
-
-    /**
-     * Allowed to return 2 for incomparable.
-     */
-    private final int compareValueImpl(XmlObject xmlobj)
-    {
-        SchemaType type1, type2;
-
-        try
-        {
-            type1 = instanceType();
-            type2 = ((SimpleValue)xmlobj).instanceType();
-        }
-        catch (XmlValueOutOfRangeException e)
-        {
-            return 2;
-        }
-
-        if (type1 == null && type2 == null)
-            return 0;
-        if (type1 == null || type2 == null)
-            return 2;
-
-        if (!type1.isSimpleType() || type1.isURType())
-            return 2;
-
-        if (!type2.isSimpleType() || type2.isURType())
-            return 2;
-
-        type1 = type1.getPrimitiveType();
-        type2 = type2.getPrimitiveType();
-
-        // Different value spaces: different
-        if (type1.getBuiltinTypeCode() != type2.getBuiltinTypeCode())
-            return 2;
-
-        // now we'll depend on our impl class to do the work
-        return compare_to(xmlobj);
-    }
-
-    public final int compareValue(XmlObject xmlobj)
-    {
-        if (xmlobj == null)
-            return 2;
-
-        boolean acquired = false;
-        try
-        {
-            if (isImmutable())
-            {
-                if (xmlobj.isImmutable())
-                {
-                    return compareValueImpl(xmlobj);
-                }
-                else
-                {
-                    synchronized (xmlobj.monitor())
-                    {
-                        return compareValueImpl(xmlobj);
-                    }
-                }
-            }
-            else
-            {
-                if (xmlobj.isImmutable() || monitor() == xmlobj.monitor())
-                {
-                    synchronized (monitor())
-                    {
-                        return compareValueImpl(xmlobj);
-                    }
-                }
-                else
-                {
-                    GlobalLock.acquire();
-                    acquired = true;
-                    synchronized (monitor())
-                    {
-                        synchronized (xmlobj.monitor())
-                        {
-                            GlobalLock.release();
-                            acquired = false;
-                            return compareValueImpl(xmlobj);
-                        }
-                    }
-                }
-            }
-
-        }
-        catch (InterruptedException e)
-        {
-            throw new XmlRuntimeException(e);
-        }
-        finally
-        {
-            if (acquired)
-                GlobalLock.release();
-        }
-    }
-    /**
-     * This implementation of compare_to is allowed to do two
-     * unusual things:
-     * (1) it can assume that the xmlobj passed has a primitive
-     *     type underlying the instance type that matches the
-     *     current instance, and that neither is nil.
-     * (2) it is allowed to return 2 for "incomparable";
-     *     it should not throw an exception.
-     */
-    protected int compare_to(XmlObject xmlobj)
-    {
-        if (equal_to(xmlobj))
-            return 0;
-        return 2;
-    }
-
-    protected abstract boolean equal_to(XmlObject xmlobj);
-
-    protected abstract int value_hash_code();
-
-    public int valueHashCode()
-    {
-        synchronized (monitor())
-        {
-            return value_hash_code();
-        }
-    }
-
-
-    public boolean isInstanceOf(SchemaType type)
-    {
-        SchemaType myType;
-
-        if (type.getSimpleVariety() != SchemaType.UNION)
-        {
-            for (myType = instanceType(); myType != null; myType = myType.getBaseType())
-                if (type == myType)
-                    return true;
-            return false;
-        }
-        else
-        {
-            Set ctypes = new HashSet(Arrays.asList(type.getUnionConstituentTypes()));
-            for (myType = instanceType(); myType != null; myType = myType.getBaseType())
-                if (ctypes.contains(myType))
-                    return true;
-            return false;
-        }
-    }
-
-    public final boolean equals(Object obj)
-    {
-        if (!isImmutable())
-            return super.equals(obj);
-
-        if (!(obj instanceof XmlObject))
-            return false;
-
-        XmlObject xmlobj = (XmlObject)obj;
-        if (!xmlobj.isImmutable())
-            return false;
-
-        return valueEquals(xmlobj);
-    }
-
-    public final int hashCode()
-    {
-        if (!isImmutable())
-            return super.hashCode();
-
-        synchronized (monitor())
-        {
-            if (isNil())
-                return 0;
-
-            return value_hash_code();
-        }
-    }
-
-    private static final XmlObject[] EMPTY_RESULT = new XmlObject[0];
-
-    /**
-     * Selects the contents of the children elements with the given name.
-     */
-    public XmlObject[] selectChildren(QName elementName)
-    {
-        XmlCursor xc = this.newCursor();
-        try
-        {
-            if (!xc.isContainer())
-                return EMPTY_RESULT;
-
-            List result = new ArrayList();
-
-            if (xc.toChild(elementName))
-            {
-                // look for elements
-                do
-                {
-                    result.add(xc.getObject());
-                }
-                while (xc.toNextSibling(elementName));
-            }
-            if (result.size() == 0)
-                return EMPTY_RESULT;
-            else
-                return (XmlObject[]) result.toArray(EMPTY_RESULT);
-        }
-        finally
-        {
-            xc.dispose();
-        }
-    }
-
-    /**
-     * Selects the contents of the children elements with the given name.
-     */
-    public XmlObject[] selectChildren(String elementUri, String elementLocalName)
-    {
-        return selectChildren(new QName(elementUri, elementLocalName));
-    }
-
-    /**
-     * Selects the contents of the children elements that are contained in the elementNameSet.
-     */
-    public XmlObject[] selectChildren(QNameSet elementNameSet)
-    {
-        if (elementNameSet==null)
-            throw new IllegalArgumentException();
-
-        XmlCursor xc = this.newCursor();
-        try
-        {
-            if (!xc.isContainer())
-                return EMPTY_RESULT;
-
-            List result = new ArrayList();
-
-            if (xc.toFirstChild())
-            {
-                // look for elements
-                do
-                {
-                    assert xc.isContainer();
-                    if (elementNameSet.contains(xc.getName()))
-                    {
-                        result.add(xc.getObject());
-                    }
-                }
-                while (xc.toNextSibling());
-            }
-            if (result.size() == 0)
-                return EMPTY_RESULT;
-            else
-                return (XmlObject[]) result.toArray(EMPTY_RESULT);
-        }
-        finally
-        {
-            xc.dispose();
-        }
-    }
-
-    /**
-     * Selects the content of the attribute with the given name.
-     */
-    public XmlObject selectAttribute(QName attributeName)
-    {
-        XmlCursor xc = this.newCursor();
-
-        try
-        {
-            if (!xc.isContainer())
-                return null;
-
-            List result = new ArrayList();
-
-            if (xc.toFirstAttribute())
-            {
-                //look for attributes
-                do
-                {
-                    if (xc.getName().equals(attributeName))
-                    {
-                        return xc.getObject();
-                    }
-                }
-                while (xc.toNextAttribute());
-            }
-            return null;
-        }
-        finally
-        {
-            xc.dispose();
-        }
-    }
-
-    /**
-     * Selects the content of the attribute with the given name.
-     */
-    public XmlObject selectAttribute(String attributeUri, String attributeLocalName)
-    {
-        return selectAttribute(new QName(attributeUri, attributeLocalName));
-    }
-
-    /**
-     * Selects the contents of the attributes that are contained in the elementNameSet.
-     */
-    public XmlObject[] selectAttributes(QNameSet attributeNameSet)
-    {
-        if (attributeNameSet==null)
-            throw new IllegalArgumentException();
-
-        XmlCursor xc = this.newCursor();
-        try
-        {
-            if (!xc.isContainer())
-                return EMPTY_RESULT;
-
-            List result = new ArrayList();
-
-            if (xc.toFirstAttribute())
-            {
-                //look for attributes
-                do
-                {
-                    if (attributeNameSet.contains(xc.getName()))
-                    {
-                        result.add(xc.getObject());
-                    }
-                }
-                while (xc.toNextAttribute());
-            }
-
-            if (result.size() == 0)
-                return EMPTY_RESULT;
-            else
-                return (XmlObject[]) result.toArray(EMPTY_RESULT);
-        }
-        finally
-        {
-            xc.dispose();
-        }
-    }
-
-    /**
-     * This method can writeReplace either an unwrapped XmlObjectBase
-     * or an XBean proxy.  A "true" argument means unwrapped.
-     *
-     * The serialization strategy for XmlObjects is this:
-     *
-     * (1) Only the root XmlObject for a document actually gets
-     *     fully serialized; it is serialized as a SerializedRootObject,
-     *     which simply saves itself as XML text.
-     *
-     * (2) Interior XmlObjects get serialized as a reference to the
-     *     root XmlObject for their document, plus an integer which
-     *     indicates the position of the XmlObject within the owner
-     *     document. This pair is stored as a SerializedInteriorObject.
-     *
-     * Both objects can be maked as wrapped or unwrapped. If wrapped,
-     * then the proxy is returned when deserializing; if unwrapped, then
-     * the proxy is stripped when deserializing.
-     */
-    public Object writeReplace()
-    {
-        synchronized (monitor())
-        {
-            if (isRootXmlObject())
-                return new SerializedRootObject(this);
-
-            return new SerializedInteriorObject(this, getRootXmlObject());
-        }
-    }
-
-    /**
-     * True if the object is at the root of the document.
-     */
-    private boolean isRootXmlObject()
-    {
-        XmlCursor cur = newCursor();
-        if (cur == null)
-            return false;
-
-        boolean result = !cur.toParent();
-        cur.dispose();
-        return result;
-    }
-
-    /**
-     * Gets the root XmlObject for this document.
-     */
-    private XmlObject getRootXmlObject()
-    {
-        XmlCursor cur = newCursor();
-        if (cur == null)
-            return this;
-        cur.toStartDoc();
-        XmlObject result = cur.getObject();
-        cur.dispose();
-        return result;
-    }
-
-    /**
-     * Serializable rewrite object that knows how to resolve
-     * to an XmlObjectBase or a proxy for the root object of
-     * a document.
-     */
-    private static class SerializedRootObject implements Serializable
-    {
-        private static final long serialVersionUID = 1;
-
-        transient Class _xbeanClass;
-        transient XmlObject _impl;
-
-        private SerializedRootObject()
-        {
-        }
-
-        private SerializedRootObject(XmlObject impl)
-        {
-            _xbeanClass = impl.schemaType().getJavaClass();
-            _impl = impl;
-        }
-
-        private void writeObject(ObjectOutputStream out) throws IOException
-        {
-            out.writeObject(_xbeanClass);
-            // the first short is written out for backwards compatibility
-            // it will always be zero for objects written with
-            // this code, but it used to be the first 2 bytes of the
-            // writeUTF() method
-            out.writeShort((short)0);
-            out.writeShort(MAJOR_VERSION_NUMBER);
-            out.writeShort(MINOR_VERSION_NUMBER);
-            // CR122401 - need to use writeObject instead of writeUTF
-            // for xmlText as writeUTF has a length limitation of
-            // 65535 bytes
-            String xmlText = _impl.xmlText();
-            out.writeObject(xmlText);
-            out.writeBoolean(false);
-        }
-
-        private void readObject(ObjectInputStream in) throws IOException
-        {
-            try
-            {
-                // read class object first - this is
-                // first just for historical reasons - really
-                // it would be better to have the version numbers
-                // first
-                _xbeanClass = (Class)in.readObject();
-
-                int utfBytes = in.readUnsignedShort();
-
-                // determine version numbers
-                // if utfBytes is non-zero then we default to 0.0
-                // otherwise expect major and minor version numbers
-                // to be next entries in stream
-                int majorVersionNum = 0;
-                int minorVersionNum = 0;
-                if (utfBytes == 0)
-                {
-                    majorVersionNum = in.readUnsignedShort();
-                    minorVersionNum = in.readUnsignedShort();
-                }
-
-                String xmlText = null;
-                switch (majorVersionNum)
-                {
-                    case 0: // original, unnumbered version
-                            // minorVersionNum is always zero
-                        xmlText = readObjectV0(in, utfBytes);
-                        in.readBoolean(); // ignored
-                        break;
-
-                    case 1:
-                        switch (minorVersionNum)
-                        {
-                            case 1:
-                                xmlText = (String)in.readObject();
-                                in.readBoolean(); // ignored
-                                break;
-
-                            default:
-                                throw new IOException("Deserialization error: " +
-                                        "version number " + majorVersionNum + "." +
-                                        minorVersionNum + " not supported.");
-                        }
-                        break;
-
-                    default:
-                        throw new IOException("Deserialization error: " +
-                                "version number " + majorVersionNum + "." +
-                                minorVersionNum + " not supported.");
-                }
-
-                XmlOptions opts = new XmlOptions().setDocumentType(XmlBeans.typeForClass(_xbeanClass));
-                _impl = XmlBeans.getContextTypeLoader().parse(xmlText, null, opts);
-            }
-            catch (Exception e)
-            {
-                throw (IOException)(new IOException(e.getMessage()).initCause(e));
-            }
-        }
-
-        // this method is for reading the UTF-8 String that used to be
-        // written out for a serialized XmlObject according to the
-        // original format before this fix, i.e. it expects it
-        // to have been written using the following algorithm:
-        //
-        // writeObject(Class object)
-        // writeUTF(xmlText of object as String)
-        // writeBoolean()
-        //
-        // this method is passed the original input stream positioned as though
-        // it had just read the class object plus the next 2 bytes. Those 2
-        // bytes are interpreted as an unsigned short saying how many more
-        // bytes there are representing the bytes of the UTF-8-formatted String;
-        // this value is passed in as the argument utfBytes
-        private String readObjectV0(ObjectInputStream in, int utfBytes)
-                throws IOException
-        {
-            // allow an extra 2 bytes up front for the unsigned short
-            byte[] bArray = new byte[utfBytes+2];
-
-            // for format of these first 2 bytes see
-            // Java API docs - DataOutputStream.writeShort()
-            bArray[0] = (byte)( 0xff & (utfBytes >> 8) );
-            bArray[1] = (byte)( 0xff & utfBytes );
-
-            // read the next numBytes bytes from the input stream
-            // into the byte array starting at offset 2; this may
-            // take multiple calls to read()
-            int totalBytesRead = 0;
-            int numRead;
-            while (totalBytesRead < utfBytes)
-            {
-                numRead =
-                    in.read(bArray, 2+totalBytesRead, utfBytes-totalBytesRead);
-                if (numRead == -1) // reached end of stream
-                    break;
-
-                totalBytesRead += numRead;
-            }
-
-            if (totalBytesRead != utfBytes)
-            {
-                throw new IOException("Error reading backwards compatible " +
-                        "XmlObject: number of bytes read (" + totalBytesRead +
-                        ") != number expected (" + utfBytes + ")" );
-            }
-
-            // now set up a DataInputStream to read those
-            // bytes as a UTF-8 String i.e. as though we'd never
-            // read the first 2 bytes from the original stream
-            DataInputStream dis = null;
-            String str = null;
-            try
-            {
-                dis = new DataInputStream(new ByteArrayInputStream(bArray));
-                str = dis.readUTF();
-            }
-            finally
-            {
-                if (dis != null)
-                    dis.close();
-            }
-
-            return str;
-        }
-
-        private Object readResolve() throws ObjectStreamException
-        {
-            return _impl;
-        }
-    }
-
-    /**
-     * Serializable rewrite object that knows how to resolve
-     * to an XmlObjectBase or a proxy for an interior position
-     * within a document.
-     */
-    private static class SerializedInteriorObject implements Serializable
-    {
-        private static final long serialVersionUID = 1;
-
-        transient XmlObject _impl;
-        transient XmlObject _root;
-
-        private SerializedInteriorObject()
-        {
-        }
-
-        private SerializedInteriorObject(XmlObject impl, XmlObject root)
-        {
-            _impl = impl;
-            _root = root;
-        }
-
-        private void writeObject(ObjectOutputStream out) throws IOException
-        {
-            out.writeObject(_root);
-            out.writeBoolean(false);
-            out.writeInt(distanceToRoot());
-        }
-
-        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
-        {
-            _root = (XmlObject)in.readObject();
-            in.readBoolean();
-            _impl = objectAtDistance(in.readInt());
-        }
-
-        private Object readResolve() throws ObjectStreamException
-        {
-            return _impl;
-        }
-
-        private int distanceToRoot()
-        {
-            XmlCursor cur = _impl.newCursor();
-            int count = 0;
-            while (!cur.toPrevToken().isNone())
-            {
-                if (!cur.currentTokenType().isNamespace())
-                {
-                    count += 1;
-                    // System.out.println("Count: " + count + " " + cur.currentTokenType().toString() + " " + QName.pretty(cur.getName()));
-                }
-            }
-            cur.dispose();
-            return count;
-        }
-
-        private XmlObject objectAtDistance(int count)
-        {
-            XmlCursor cur = _root.newCursor();
-            while (count > 0)
-            {
-                cur.toNextToken();
-                if (!cur.currentTokenType().isNamespace())
-                {
-                    count -= 1;
-                    // System.out.println("Count: " + count + " " + cur.currentTokenType().toString() + " " + QName.pretty(cur.getName()));
-                }
-            }
-            XmlObject result = cur.getObject();
-            cur.dispose();
-            return result;
-        }
-    }
-
-    protected static Object java_value(XmlObject obj)
-    {
-        if (obj.isNil())
-            return null;
-
-        if (!(obj instanceof XmlAnySimpleType))
-            return obj;
-
-        SchemaType instanceType = ((SimpleValue)obj).instanceType();
-        assert(instanceType != null) : "Nil case should have been handled above";
-
-        // handle lists
-        if (instanceType.getSimpleVariety() == SchemaType.LIST)
-            return ((SimpleValue)obj).getListValue();
-
-        SimpleValue base = (SimpleValue)obj;
-
-        switch (instanceType.getPrimitiveType().getBuiltinTypeCode())
-        {
-            case SchemaType.BTC_BOOLEAN:
-                return base.getBooleanValue() ? Boolean.TRUE : Boolean.FALSE;
-
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-                return base.getByteArrayValue();
-
-            case SchemaType.BTC_QNAME:
-                return base.getQNameValue();
-
-            case SchemaType.BTC_FLOAT:
-                return new Float(base.getFloatValue());
-
-            case SchemaType.BTC_DOUBLE:
-                return new Double(base.getDoubleValue());
-
-            case SchemaType.BTC_DECIMAL:
-            {
-                switch (instanceType.getDecimalSize())
-                {
-                    case SchemaType.SIZE_BYTE:
-                        return new Byte(base.getByteValue());
-
-                    case SchemaType.SIZE_SHORT:
-                        return new Short(base.getShortValue());
-
-                    case SchemaType.SIZE_INT:
-                        return new Integer(base.getIntValue());
-
-                    case SchemaType.SIZE_LONG:
-                        return new Long(base.getLongValue());
-
-                    case SchemaType.SIZE_BIG_INTEGER:
-                        return base.getBigIntegerValue();
-
-                    default:
-                        assert(false) : "invalid numeric bit count";
-                        // fallthrough
-                    case SchemaType.SIZE_BIG_DECIMAL:
-                        return base.getBigDecimalValue();
-                }
-            }
-            case SchemaType.BTC_ANY_URI:
-                return base.getStringValue();
-
-            case SchemaType.BTC_DURATION:
-                return base.getGDurationValue();
-
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-                return base.getCalendarValue();
-
-            default:
-                assert(false) : "encountered nonprimitive type.";
-                // fallthrough
-
-            // NB: for string enums we just do java.lang.String
-            // when in the context of unions. It's easier on users.
-            case SchemaType.BTC_NOTATION:
-            case SchemaType.BTC_STRING:
-            case SchemaType.BTC_ANY_SIMPLE:
-                // return base.getStringValue();
-            return base.getStringValue();
-        }
-    }
-
-    /**
-     * Called by code generated code to get the default attribute value
-     * for a given attribute name, or null if none.
-     */
-    protected XmlAnySimpleType get_default_attribute_value(QName name)
-    {
-        SchemaType sType = schemaType();
-        SchemaAttributeModel aModel = sType.getAttributeModel();
-        if (aModel == null)
-            return null;
-        SchemaLocalAttribute sAttr = aModel.getAttribute(name);
-        if (sAttr == null)
-            return null;
-        return sAttr.getDefaultValue();
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlPositiveIntegerImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlPositiveIntegerImpl.java
deleted file mode 100644
index 08b7f35..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlPositiveIntegerImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlPositiveInteger;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlPositiveIntegerImpl extends JavaIntegerHolderEx implements XmlPositiveInteger
-{
-    public XmlPositiveIntegerImpl()
-        { super(XmlPositiveInteger.type, false); }
-    public XmlPositiveIntegerImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameImpl.java
deleted file mode 100644
index 95062eb..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlQName;
-
-
-public class XmlQNameImpl extends JavaQNameHolder implements XmlQName
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameRestriction.java
deleted file mode 100644
index 34250e5..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlQNameRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlQName;
-
-public class XmlQNameRestriction extends JavaQNameHolderEx implements XmlQName
-{
-    public XmlQNameRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlShortImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlShortImpl.java
deleted file mode 100644
index 1fa2b7f..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlShortImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlShort;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlShortImpl extends JavaIntHolderEx implements XmlShort
-{
-    public XmlShortImpl()
-        { super(XmlShort.type, false); }
-    public XmlShortImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringEnumeration.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringEnumeration.java
deleted file mode 100644
index b576a98..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringEnumeration.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlString;
-
-public class XmlStringEnumeration extends JavaStringEnumerationHolderEx implements XmlString
-{
-    public XmlStringEnumeration(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringImpl.java
deleted file mode 100644
index ac0a782..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlString;
-
-
-public class XmlStringImpl extends JavaStringHolder implements XmlString
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringRestriction.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringRestriction.java
deleted file mode 100644
index e54f670..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlStringRestriction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlString;
-
-public class XmlStringRestriction extends JavaStringHolderEx implements XmlString
-{
-    public XmlStringRestriction(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTimeImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTimeImpl.java
deleted file mode 100644
index b11c3da..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTimeImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlTime;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlTimeImpl extends JavaGDateHolderEx implements XmlTime
-{
-    public XmlTimeImpl()
-        { super(XmlTime.type, false); }
-    public XmlTimeImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTokenImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTokenImpl.java
deleted file mode 100644
index d6e78c8..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlTokenImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlToken;
-
-
-public class XmlTokenImpl extends JavaStringHolderEx implements XmlToken
-{
-    public XmlTokenImpl()
-        { super(XmlToken.type, false); }
-    public XmlTokenImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnionImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnionImpl.java
deleted file mode 100644
index 3264808..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnionImpl.java
+++ /dev/null
@@ -1,647 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import java.util.Date;
-import java.util.List;
-import java.util.Calendar;
-import java.math.BigInteger;
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.StringEnumAbstractBase;
-import org.apache.xmlbeans.GDateSpecification;
-import org.apache.xmlbeans.GDurationSpecification;
-import org.apache.xmlbeans.SimpleValue;
-
-import org.apache.xmlbeans.impl.schema.SchemaTypeImpl;
-import org.apache.xmlbeans.impl.common.ValidationContext;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import javax.xml.namespace.QName;
-
-
-/**
- * This class implements simple union types.
- *
- */
-public class XmlUnionImpl extends XmlObjectBase implements XmlAnySimpleType
-{
-    public XmlUnionImpl(SchemaType type, boolean complex)
-        { _schemaType = type; initComplexType(complex, false); }
-
-    public SchemaType schemaType()
-        { return _schemaType; }
-
-    public SchemaType instanceType()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).instanceType(); }
-
-    private SchemaType _schemaType;
-    private XmlAnySimpleType _value; // underlying value
-    private String _textvalue = ""; // textual value
-
-
-
-
-    // SIMPLE VALUE ACCESSORS BELOW -------------------------------------------
-    // gets raw text value
-
-    protected String compute_text(NamespaceManager nsm)
-        { return _textvalue; }
-
-    protected boolean is_defaultable_ws(String v) {
-        try {
-            XmlAnySimpleType savedValue = _value;
-            set_text(v);
-
-            // restore the saved value
-            _value = savedValue;
-
-            return false;
-        }
-        catch (XmlValueOutOfRangeException e) {
-            return true;
-        }
-    }
-
-    protected void set_text(String s)
-    {
-        // first check against any patterns...
-        if (!_schemaType.matchPatternFacet(s))
-            throw new XmlValueOutOfRangeException();
-
-        // save state for rollback
-        String original = _textvalue;
-        _textvalue = s;
-
-        // iterate through the types, trying to create a type
-        SchemaType[] members = _schemaType.getUnionConstituentTypes();
-        assert(members != null);
-
-        boolean pushed = false;
-        // boolean wasstrict = set_strict(true); // tell types to complain ferverently about errors
-        if (has_store())
-        {
-            NamespaceContext.push(new NamespaceContext(get_store()));
-            pushed = true;
-        }
-        try
-        {
-            for (int i = 0; i < members.length; i++)
-            {
-                // From the point of view of the following call, "this" is a generic
-                // XmlAnySimpleType implementation, for which only getText can be called.
-                // (Note that "this" is not wrapped in the proxy object.)
-                try
-                {
-                    XmlAnySimpleType newval = ((SchemaTypeImpl)members[i]).newValidatingValue(s);
-
-                    // now we need to check against (enuemration) restrictions
-                    if (!check(newval, _schemaType))
-                        continue;
-
-                    // found one that works!
-                    _value = newval;
-                    return;
-                }
-                catch (XmlValueOutOfRangeException e)
-                {
-                    continue;
-                }
-                catch (Exception e)
-                {
-                    throw new RuntimeException("Troublesome union exception caused by unexpected " + e, e);
-                    // assert(false) : "Unexpected " + e;
-                    // continue;
-                }
-            }
-        }
-        finally
-        {
-            if (pushed)
-                NamespaceContext.pop();
-            // set_strict(wasstrict);
-        }
-
-
-        // doesn't match any of the members; rollback and throw
-        _textvalue = original;
-        throw new XmlValueOutOfRangeException();
-    }
-
-    protected void set_nil()
-    {
-        _value = null;
-        _textvalue = null;
-    }
-
-    protected int get_wscanon_rule() { return SchemaType.WS_PRESERVE; }
-
-
-    // numerics
-    public float floatValue()
-        { check_dated(); return _value == null ? 0.0f : ((SimpleValue)_value).floatValue(); }
-
-    public double doubleValue()
-        { check_dated(); return _value == null ? 0.0 : ((SimpleValue)_value).doubleValue(); }
-
-    public BigDecimal bigDecimalValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).bigDecimalValue(); }
-
-    public BigInteger bigIntegerValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).bigIntegerValue(); }
-
-    public byte byteValue()
-        { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).byteValue(); }
-
-    public short shortValue()
-        { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).shortValue(); }
-
-    public int intValue()
-        { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).intValue(); }
-
-    public long longValue()
-        { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).longValue(); }
-
-
-    // various
-    public byte[] byteArrayValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).byteArrayValue(); }
-
-    public boolean booleanValue()
-        { check_dated(); return _value == null ? false : ((SimpleValue)_value).booleanValue(); }
-
-    public Calendar calendarValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).calendarValue(); }
-
-    public Date dateValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).dateValue(); }
-
-    public GDate gDateValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).gDateValue(); }
-
-    public GDuration gDurationValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).gDurationValue(); }
-
-    public QName qNameValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).qNameValue(); }
-
-    public List listValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).listValue(); }
-
-    public List xlistValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).xlistValue(); }
-
-    public StringEnumAbstractBase enumValue()
-        { check_dated(); return _value == null ? null : ((SimpleValue)_value).enumValue(); }
-
-    public String stringValue()
-        { check_dated(); return _value == null ? null : _value.stringValue(); }
-
-    /**
-     * Returns true if the space of canonical lexical forms
-     * of the first (source) type overlaps with the full lexical space
-     * of the second (target) type. Both types must be primitives.
-     */
-    static boolean lexical_overlap(int source, int target)
-    {
-        // types are the same
-        if (source == target)
-            return true;
-
-        // one of the types has the full lexical space
-        if (source == SchemaType.BTC_ANY_SIMPLE ||
-            target == SchemaType.BTC_ANY_SIMPLE ||
-            source == SchemaType.BTC_STRING ||
-            target == SchemaType.BTC_STRING ||
-            source == SchemaType.BTC_ANY_URI ||
-            target == SchemaType.BTC_ANY_URI)
-            return true;
-
-        switch (source)
-        {
-            case SchemaType.BTC_BOOLEAN: switch(target)
-            {
-                case SchemaType.BTC_QNAME:       // "true" is valid NcName and therefore QName
-                case SchemaType.BTC_NOTATION:    // "true" is valid NCName
-                    return true;
-                default:
-                    return false;
-            }
-            case SchemaType.BTC_BASE_64_BINARY: switch(target)
-            {
-                case SchemaType.BTC_BOOLEAN:     // "0" is valid boolean
-                case SchemaType.BTC_HEX_BINARY:  // "0" is valid hex
-                case SchemaType.BTC_QNAME:       // "a" is valid NcName and therefore QName
-                case SchemaType.BTC_NOTATION:    // "a" is valid NcName
-                case SchemaType.BTC_FLOAT:       // "0" is valid float
-                case SchemaType.BTC_DOUBLE:      // "0" is valid double
-                case SchemaType.BTC_DECIMAL:     // "0" is valid decimal
-                case SchemaType.BTC_DURATION:    // "P1Y2M3DT10H30M" is both b64 and duration
-                case SchemaType.BTC_G_YEAR:      // "1999" is valid year
-                    return true;
-                default:
-                    return false;           // "-" and ":" cannot come from b64
-            }
-            case SchemaType.BTC_HEX_BINARY: switch(target)
-            {
-                case SchemaType.BTC_BOOLEAN:     // "0" is valid boolean
-                case SchemaType.BTC_BASE_64_BINARY:  // "0" is valid b64
-                case SchemaType.BTC_QNAME:       // "A" is valid NcName and therefore QName
-                case SchemaType.BTC_NOTATION:    // "A" is valid NcName
-                case SchemaType.BTC_FLOAT:       // "0" is valid float
-                case SchemaType.BTC_DOUBLE:      // "0" is valid double
-                case SchemaType.BTC_DECIMAL:     // "0" is valid decimal
-                case SchemaType.BTC_G_YEAR:      // "1999" is valid year
-                    return true;
-                default:
-                    return false;           // "-" and ":" cannot come from b64
-            }
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_NOTATION: switch(target)
-            {
-                case SchemaType.BTC_BOOLEAN:     // "true" is valid boolean
-                case SchemaType.BTC_BASE_64_BINARY:  // "a" is valid b64
-                case SchemaType.BTC_HEX_BINARY:  // "a" is valid hex
-                case SchemaType.BTC_QNAME:       // "A" is valid NcName and therefore QName
-                case SchemaType.BTC_NOTATION:    // "A" is valid NcName and therefore QName
-                case SchemaType.BTC_DURATION:    // "P1Y2M3DT10H30M" is both NcName and duration
-                    return true;
-                default:
-                    return false;
-            }
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-            case SchemaType.BTC_DECIMAL:
-            case SchemaType.BTC_G_YEAR: switch(target)
-            {
-                case SchemaType.BTC_BASE_64_BINARY: // "0" is valid b64
-                case SchemaType.BTC_HEX_BINARY:  // "0" is valid hex
-                case SchemaType.BTC_FLOAT:       // "0" is valid float
-                case SchemaType.BTC_DOUBLE:      // "0" is valid double
-                case SchemaType.BTC_DECIMAL:     // "0" is valid decimal
-                case SchemaType.BTC_G_YEAR:      // "1999" is valid year
-                    return true;
-                default:
-                    return false;
-            }
-            case SchemaType.BTC_DURATION: switch(target)
-            {
-                case SchemaType.BTC_QNAME:
-                case SchemaType.BTC_NOTATION:
-                case SchemaType.BTC_BASE_64_BINARY:
-                    return true;
-                default:
-                    return false;
-            }
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-            default:
-                return false;
-        }
-    }
-
-    /**
-     * True if the given schema type's logical type is a match for
-     * the given category of java concepts.
-     */
-
-    private static final int JAVA_NUMBER = SchemaType.BTC_LAST_BUILTIN + 1;
-    private static final int JAVA_DATE = SchemaType.BTC_LAST_BUILTIN + 2;
-    private static final int JAVA_CALENDAR = SchemaType.BTC_LAST_BUILTIN + 3;
-    private static final int JAVA_BYTEARRAY = SchemaType.BTC_LAST_BUILTIN + 4;
-    private static final int JAVA_LIST = SchemaType.BTC_LAST_BUILTIN + 5;
-
-    private static boolean logical_overlap(SchemaType type, int javacode)
-    {
-        // non-union types because it's being applied on irreducible union members!
-        assert(type.getSimpleVariety() != SchemaType.UNION);
-
-        if (javacode <= SchemaType.BTC_LAST_BUILTIN)
-        {
-            if (type.getSimpleVariety() != SchemaType.ATOMIC)
-                return false;
-
-            return (type.getPrimitiveType().getBuiltinTypeCode() == javacode);
-        }
-
-        switch (javacode)
-        {
-        case JAVA_NUMBER:
-            {
-                if (type.getSimpleVariety() != SchemaType.ATOMIC)
-                    return false;
-
-                switch (type.getPrimitiveType().getBuiltinTypeCode())
-                {
-                    case SchemaType.BTC_FLOAT:
-                    case SchemaType.BTC_DOUBLE:
-                    case SchemaType.BTC_DECIMAL:
-                    case SchemaType.BTC_G_YEAR:
-                    case SchemaType.BTC_G_MONTH:
-                    case SchemaType.BTC_G_DAY:
-                        return true;
-                }
-                return false;
-            }
-        case JAVA_DATE:
-            {
-                if (type.getSimpleVariety() != SchemaType.ATOMIC)
-                    return false;
-
-                switch (type.getPrimitiveType().getBuiltinTypeCode())
-                {
-                    case SchemaType.BTC_DATE_TIME:
-                    case SchemaType.BTC_DATE:
-                        return true;
-                }
-                return false;
-            }
-        case JAVA_CALENDAR:
-            {
-                if (type.getSimpleVariety() != SchemaType.ATOMIC)
-                    return false;
-
-                switch (type.getPrimitiveType().getBuiltinTypeCode())
-                {
-                    case SchemaType.BTC_DATE_TIME:
-                    case SchemaType.BTC_DATE:
-                    case SchemaType.BTC_TIME:
-                    case SchemaType.BTC_G_YEAR_MONTH:
-                    case SchemaType.BTC_G_MONTH_DAY:
-                    case SchemaType.BTC_G_YEAR:
-                    case SchemaType.BTC_G_MONTH:
-                    case SchemaType.BTC_G_DAY:
-                        return true;
-                }
-                return false;
-            }
-                
-        case JAVA_BYTEARRAY:
-            {
-                if (type.getSimpleVariety() != SchemaType.ATOMIC)
-                    return false;
-
-                switch (type.getPrimitiveType().getBuiltinTypeCode())
-                {
-                    case SchemaType.BTC_BASE_64_BINARY:
-                    case SchemaType.BTC_HEX_BINARY:
-                        return true;
-                }
-                return false;
-            }
-        case JAVA_LIST:
-            {
-                return (type.getSimpleVariety() == SchemaType.LIST);
-            }
-        }
-
-        assert(false) : "missing case";
-        return false;
-    }
-
-    /**
-     * Grabs a chained value of type st, creating and attaching
-     * one if not present.
-     */
-    private void set_primitive(int typecode, Object val)
-    {
-        SchemaType[] members = _schemaType.getUnionConstituentTypes();
-        assert(members != null);
-
-        boolean pushed = false;
-        if (has_store())
-        {
-            NamespaceContext.push(new NamespaceContext(get_store()));
-            pushed = true;
-        }
-        try
-        {
-            outer: for (int i = 0; i < members.length; i++)
-            {
-                // candidates must be a logical match for the desired typecode
-                if (logical_overlap(members[i], typecode))
-                {
-                    XmlAnySimpleType newval;
-
-                    try
-                    {
-                        newval = members[i].newValue(val);
-                    }
-                    catch (XmlValueOutOfRangeException e)
-                    {
-                        // doesn't match this type even though logical categories
-                        // line up (probably because of restriciton); try the next type.
-                        continue outer;
-                    }
-                    catch (Exception e)
-                    {
-                        assert(false) : "Unexpected " + e;
-                        continue outer;
-                    }
-
-                    /* TODO: rethink this - disabling for now.
-
-                    // OK, now we've got a newval... We have to verify
-                    // that lexically it doesn't overlap with previous types
-
-                    String newvaltext = null;
-
-                    inner: for (int j = 0; j < i; j++)
-                    {
-                        if (members[j].getSimpleVariety() == SchemaType.LIST ||
-                            lexical_overlap(members[j].getPrimitiveType().getBuiltinTypeCode(),
-                                            newval.schemaType().getPrimitiveType().getBuiltinTypeCode()))
-                        {
-                            // there is a preceding type that may lexically overlap with ours...
-                            // if it lexically contains the string representation of our new
-                            // proposed value, then it's impossible for the union to have our
-                            // logical value (because it would have been masked) and throw an
-                            // error.
-                            if (newvaltext == null)
-                                newvaltext = newval.stringValue();
-                            try
-                            {
-                                // discard return value
-                                members[i].newValue(newvaltext);
-
-                                // oh bad, we succeeded. Our instance lexically looks like a
-                                // previous type, and this isn't a valid value. Keep on hunting.
-                                continue outer;
-                            }
-                            catch (XmlValueOutOfRangeException e)
-                            {
-                                // this is good: this error means that our value doesn't look like
-                                // the other type.
-                                continue inner;
-                            }
-                        }
-                    }
-
-                    */
-
-                    // No lexical masking: we're OK
-                    _value = newval;
-                    _textvalue = _value.stringValue();
-                    return;
-                }
-            }
-        }
-        finally
-        {
-            if (pushed)
-                NamespaceContext.pop();
-        }
-    }
-
-    // here are the setters
-
-    protected void set_boolean(boolean v)
-        { set_primitive(SchemaType.BTC_BOOLEAN, new Boolean(v)); }
-
-    protected void set_byte(byte v)
-        { set_primitive(JAVA_NUMBER, new Byte(v)); }
-    protected void set_short(short v)
-        { set_primitive(JAVA_NUMBER, new Short(v)); }
-    protected void set_int(int v)
-        { set_primitive(JAVA_NUMBER, new Integer(v)); }
-    protected void set_long(long v)
-        { set_primitive(JAVA_NUMBER, new Long(v)); }
-    protected void set_float(float v)
-        { set_primitive(JAVA_NUMBER, new Float(v)); }
-    protected void set_double(double v)
-        { set_primitive(JAVA_NUMBER, new Double(v)); }
-
-    protected void set_ByteArray(byte[] b)
-        { set_primitive(JAVA_BYTEARRAY, b); }
-    protected void set_hex(byte[] b)
-        { set_primitive(JAVA_BYTEARRAY, b); }
-    protected void set_b64(byte[] b)
-        { set_primitive(JAVA_BYTEARRAY, b); }
-    protected void set_BigInteger(BigInteger v)
-        { set_primitive(JAVA_NUMBER, v); }
-    protected void set_BigDecimal(BigDecimal v)
-        { set_primitive(JAVA_NUMBER, v); }
-    protected void set_QName(QName v)
-        { set_primitive(SchemaType.BTC_QNAME, v); }
-
-    protected void set_Calendar(Calendar c)
-        { set_primitive(JAVA_CALENDAR, c); }
-    protected void set_Date(Date d)
-        { set_primitive(JAVA_DATE, d); }
-    protected void set_GDate(GDateSpecification d)
-    {
-        int btc = d.getBuiltinTypeCode();
-        if (btc <= 0)
-            throw new XmlValueOutOfRangeException();
-        set_primitive(btc, d);
-    }
-
-    protected void set_GDuration(GDurationSpecification d)
-        { set_primitive(SchemaType.BTC_DURATION, d); }
-
-    protected void set_enum(StringEnumAbstractBase e)
-        { set_primitive(SchemaType.BTC_STRING, e); }
-
-    protected void set_list(List v)
-        { set_primitive(JAVA_LIST, v); }
-
-
-    protected void set_xmlfloat(XmlObject v)
-        { set_primitive(SchemaType.BTC_FLOAT, v); }
-    protected void set_xmldouble(XmlObject v)
-        { set_primitive(SchemaType.BTC_DOUBLE, v); }
-    protected void set_xmldecimal(XmlObject v)
-        { set_primitive(SchemaType.BTC_DECIMAL, v); }
-    protected void set_xmlduration(XmlObject v)
-        { set_primitive(SchemaType.BTC_DURATION, v); }
-    protected void set_xmldatetime(XmlObject v)
-        { set_primitive(SchemaType.BTC_DATE_TIME, v); }
-    protected void set_xmltime(XmlObject v)
-        { set_primitive(SchemaType.BTC_TIME, v); }
-    protected void set_xmldate(XmlObject v)
-        { set_primitive(SchemaType.BTC_DATE, v); }
-    protected void set_xmlgyearmonth(XmlObject v)
-        { set_primitive(SchemaType.BTC_G_YEAR_MONTH, v); }
-    protected void set_xmlgyear(XmlObject v)
-        { set_primitive(SchemaType.BTC_G_YEAR, v); }
-    protected void set_xmlgmonthday(XmlObject v)
-        { set_primitive(SchemaType.BTC_G_MONTH_DAY, v); }
-    protected void set_xmlgday(XmlObject v)
-        { set_primitive(SchemaType.BTC_G_DAY, v); }
-    protected void set_xmlgmonth(XmlObject v)
-        { set_primitive(SchemaType.BTC_G_MONTH, v); }
-
-
-
-    private static boolean check(XmlObject v, SchemaType sType)
-    {
-        XmlObject[] vals = sType.getEnumerationValues();
-        if (vals != null)
-        {
-            for (int i = 0; i < vals.length; i++)
-            {
-                if (vals[i].valueEquals(v))
-                    return true;
-            }
-            return false;
-        }
-
-        return true;
-    }
-
-    protected boolean equal_to(XmlObject xmlobj)
-    {
-        return _value.valueEquals(xmlobj);
-    }
-
-    protected int value_hash_code()
-    {
-        return _value.hashCode();
-    }
-    
-    protected void validate_simpleval(String lexical, ValidationContext ctx)
-    {
-        try
-        {
-            check_dated();
-        }
-        catch (Exception e)
-        {
-            ctx.invalid("Union value " + lexical + " does not match any of the member types for " + QNameHelper.readable(schemaType()));
-            return;
-        }
-        if (_value == null)
-        {
-            ctx.invalid("Union value " + lexical + " does not match any of the member types for " + QNameHelper.readable(schemaType()));
-            return;
-        }
-        
-        ((XmlObjectBase)_value).validate_simpleval(lexical,  ctx);
-    }
-    
-
-}
-
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedByteImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedByteImpl.java
deleted file mode 100644
index 235895a..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedByteImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlUnsignedByte;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlUnsignedByteImpl extends JavaIntHolderEx implements XmlUnsignedByte
-{
-    public XmlUnsignedByteImpl()
-        { super(XmlUnsignedByte.type, false); }
-    public XmlUnsignedByteImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedIntImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedIntImpl.java
deleted file mode 100644
index fa127d1..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedIntImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlUnsignedInt;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlUnsignedIntImpl extends JavaLongHolderEx implements XmlUnsignedInt
-{
-    public XmlUnsignedIntImpl()
-        { super(XmlUnsignedInt.type, false); }
-    public XmlUnsignedIntImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedLongImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedLongImpl.java
deleted file mode 100644
index 5f78679..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedLongImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlUnsignedLong;
-import org.apache.xmlbeans.SchemaType;
-
-
-public class XmlUnsignedLongImpl extends JavaIntegerHolderEx implements XmlUnsignedLong
-{
-    public XmlUnsignedLongImpl()
-        { super(XmlUnsignedLong.type, false); }
-    public XmlUnsignedLongImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedShortImpl.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedShortImpl.java
deleted file mode 100644
index 74a6b43..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlUnsignedShortImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.XmlUnsignedShort;
-import org.apache.xmlbeans.SchemaType;
-
-public class XmlUnsignedShortImpl extends JavaIntHolderEx implements XmlUnsignedShort
-{
-    public XmlUnsignedShortImpl()
-        { super(XmlUnsignedShort.type, false); }
-    public XmlUnsignedShortImpl(SchemaType type, boolean complex)
-        { super(type, complex); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueDisconnectedException.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueDisconnectedException.java
deleted file mode 100644
index cfa4b3e..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueDisconnectedException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-public class XmlValueDisconnectedException extends RuntimeException
-{
-    XmlValueDisconnectedException ( )
-    {
-    }
-    
-    XmlValueDisconnectedException ( String message )
-    {
-        super( message );
-    }
-    
-    XmlValueDisconnectedException ( String message, Throwable cause )
-    {
-        super( message, cause );
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueNotNillableException.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueNotNillableException.java
deleted file mode 100644
index 0f5e2ea..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueNotNillableException.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-public class XmlValueNotNillableException extends RuntimeException
-{
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueOutOfRangeException.java b/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueOutOfRangeException.java
deleted file mode 100644
index 70f1ee5..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/impl/values/XmlValueOutOfRangeException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-public class XmlValueOutOfRangeException extends IllegalArgumentException
-{
-    public XmlValueOutOfRangeException() {}
-    public XmlValueOutOfRangeException(String message) { super(message); }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/soap/SOAPArrayType.java b/v2/src/typeimpl/org/apache/xmlbeans/soap/SOAPArrayType.java
deleted file mode 100644
index 3f683d7..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/soap/SOAPArrayType.java
+++ /dev/null
@@ -1,457 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.soap;
-
-import javax.xml.namespace.QName;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-import org.apache.xmlbeans.impl.common.XmlWhitespace;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-
-public final class SOAPArrayType
-{
-    // Example foo:bar[,][][,,][7,9]
-    // -> _type = QName(foo:bar)
-    // -> _ranks = {2,1,3}
-    // -> _dimensions = {7,9}
-    private QName _type;
-    private int[] _ranks; // if ranks is empty, it means there are no nested arrays
-    private int[] _dimensions; // Any dimension can be -1 to indicate "any".
-
-    /**
-     * True if the ranks for the passed SOAPArrayType
-     * are equal to this one.
-     *
-     * Does NOT compare the _type fields.
-     */
-    public boolean isSameRankAs(SOAPArrayType otherType)
-    {
-        if (_ranks.length != otherType._ranks.length)
-            return false;
-        for (int i = 0; i < _ranks.length; i++)
-        {
-            if (_ranks[i] != otherType._ranks[i])
-                return false;
-        }
-        if (_dimensions.length != otherType._dimensions.length)
-            return false;
-        return true;
-    }
-
-    /**
-     * Given SOAP 1.1-formatted index string, returns an array
-     * index.  For example, given "[4,3,5]", returns an int array
-     * containing 4, 3, and 5.
-     */
-    public static int[] parseSoap11Index(String inbraces)
-    {
-        inbraces = XmlWhitespace.collapse(inbraces, XmlWhitespace.WS_COLLAPSE);
-        if (!inbraces.startsWith("[") || !inbraces.endsWith("]"))
-            throw new IllegalArgumentException("Misformed SOAP 1.1 index: must be contained in braces []");
-        return internalParseCommaIntString(inbraces.substring(1, inbraces.length() - 1));
-    }
-
-    private static int[] internalParseCommaIntString(String csl)
-    {
-        List dimStrings = new ArrayList();
-        int i = 0;
-        for (;;)
-        {
-            int j = csl.indexOf(',', i);
-            if (j < 0)
-            {
-                dimStrings.add(csl.substring(i));
-                break;
-            }
-            dimStrings.add(csl.substring(i, j));
-            i = j + 1;
-        }
-
-        int[] result = new int[dimStrings.size()];
-        i = 0;
-        for (Iterator it = dimStrings.iterator(); it.hasNext(); i++)
-        {
-            String dimString = XmlWhitespace.collapse((String)it.next(), XmlWhitespace.WS_COLLAPSE);
-            if (dimString.equals("*") || dimString.equals(""))
-            {
-                result[i] = -1;
-            }
-            else
-            {
-                try
-                {
-                    result[i] = Integer.parseInt(dimString);
-                }
-                catch (Exception e)
-                {
-                    throw new XmlValueOutOfRangeException("Malformed integer in SOAP array index");
-                }
-            }
-        }
-        return result;
-    }
-
-    /**
-     * Parses a SOAP 1.1 array type string.
-     *
-     * Since an array type string contains a QName, a prefix resolver
-     * must be passed.
-     */
-    public SOAPArrayType(String s, PrefixResolver m)
-    {
-        int firstbrace = s.indexOf('[');
-        if (firstbrace < 0)
-            throw new XmlValueOutOfRangeException();
-
-        // grab the QName
-        String firstpart = XmlWhitespace.collapse(s.substring(0, firstbrace), XmlWhitespace.WS_COLLAPSE);
-        int firstcolon = firstpart.indexOf(':');
-        String prefix = "";
-        if (firstcolon >= 0)
-            prefix = firstpart.substring(0, firstcolon);
-
-        String uri = m.getNamespaceForPrefix(prefix);
-        if (uri == null)
-            throw new XmlValueOutOfRangeException();
-
-        _type = QNameHelper.forLNS(firstpart.substring(firstcolon + 1), uri);
-
-        initDimensions(s, firstbrace);
-    }
-
-    private static int[] EMPTY_INT_ARRAY = new int[0];
-
-    /**
-     * Parses SOAP 1.1(advanced) array type strings.
-     *
-     * Since in SOAP 1.1(advanced) the dimension specification is separated from the
-     * QName for the underlying type, these are passed in separate
-     * arguments.
-     */
-    public SOAPArrayType(QName name, String dimensions)
-    {
-        int firstbrace = dimensions.indexOf('[');
-        if (firstbrace < 0)
-        {
-            _type = name;
-            _ranks = EMPTY_INT_ARRAY;
-            dimensions = XmlWhitespace.collapse(dimensions, XmlWhitespace.WS_COLLAPSE);
-            String[] dimStrings = dimensions.split(" ");
-            for (int i = 0; i < dimStrings.length; i++)
-            {
-                String dimString = dimStrings[i];
-                if (dimString.equals("*"))
-                {
-                    _dimensions[i] = -1;
-                    // _hasIndeterminateDimensions = true;
-                }
-                else
-                {
-                    try
-                    {
-                        _dimensions[i] = Integer.parseInt(dimStrings[i]);
-                    }
-                    catch (Exception e)
-                    {
-                        throw new XmlValueOutOfRangeException();
-                    }
-                }
-            }
-        }
-        else
-        {
-            _type = name;
-            initDimensions(dimensions, firstbrace);
-        }
-    }
-
-    /**
-     * Given a nested SOAPArrayType and a set of dimensions for the outermost
-     * array, comes up with the right SOAPArrayType for the whole thing.
-     *
-     * E.g.,
-     * Nested foo:bar[,][][,,][1,2]
-     * Dimensions [6,7,8]
-     * Result -> foo:bar[,][][,,][,][6,7,8]
-     */
-    public SOAPArrayType(SOAPArrayType nested, int[] dimensions)
-    {
-        _type = nested._type;
-
-        _ranks = new int[nested._ranks.length + 1];
-        System.arraycopy(_ranks, 0, nested._ranks, 0, nested._ranks.length);
-        _ranks[_ranks.length - 1] = nested._dimensions.length;
-
-        _dimensions = new int[dimensions.length];
-        System.arraycopy(dimensions, 0, _dimensions, 0, dimensions.length);
-    }
-
-    /**
-     * Initialize dimensions based on SOAP11 parsed dimension substring
-     */
-    private void initDimensions(String s, int firstbrace)
-    {
-        List braces = new ArrayList();
-        int lastbrace = -1;
-        for (int i = firstbrace; i >= 0; )
-        {
-            lastbrace = s.indexOf(']', i);
-            if (lastbrace < 0)
-                throw new XmlValueOutOfRangeException();
-            braces.add(s.substring(i + 1, lastbrace));
-            i = s.indexOf('[', lastbrace);
-        }
-
-        String trailer = s.substring(lastbrace + 1);
-        if (!XmlWhitespace.isAllSpace(trailer))
-            throw new XmlValueOutOfRangeException();
-
-        // now fill in rank array
-        _ranks = new int[braces.size() - 1];
-        for (int i = 0; i < _ranks.length; i++)
-        {
-            String commas = (String)braces.get(i);
-            int commacount = 0;
-            for (int j = 0; j < commas.length(); j++)
-            {
-                char ch = commas.charAt(j);
-                if (ch == ',')
-                    commacount += 1;
-                else if (!XmlWhitespace.isSpace(ch))
-                    throw new XmlValueOutOfRangeException();
-            }
-            _ranks[i] = commacount + 1;
-        }
-
-        // finally fill in dimension array
-        _dimensions = internalParseCommaIntString((String)braces.get(braces.size() - 1));
-
-        /*
-        for (int i = 0; i < _dimensions.length; i++)
-        {
-            if (_dimensions[i] < 0)
-                _hasIndeterminateDimensions = true;
-        }
-        */
-    }
-
-    /**
-     * Returns the QName for the referenced type.
-     */
-    public QName getQName()
-    {
-        return _type;
-    }
-
-    /**
-     * Returns the array of ranks for inner nested arrays.
-     * In SOAP 1.1-advanced, this is always an array of length zero.
-     * In SOAP 1.1, this array reflects the ranks of nested
-     * arrays. For example foo:bar[,][,,][][5,6] will produce
-     * a ranks result of 2, 3, 1.
-     */
-    public int[] getRanks()
-    {
-        int[] result = new int[_ranks.length];
-        System.arraycopy(_ranks, 0, result, 0, result.length);
-        return result;
-    }
-
-    /**
-     * Returns the array of dimensions.
-     */
-    public int[] getDimensions()
-    {
-        int[] result = new int[_dimensions.length];
-        System.arraycopy(_dimensions, 0, result, 0, result.length);
-        return result;
-    }
-
-    /**
-     * True if this array contains nested arrays. Equivalent
-     * to (getRanks().length > 0).
-     */
-    public boolean containsNestedArrays()
-    {
-        return (_ranks.length > 0);
-    }
-
-    /**
-     * Returns the dimensions as a string, e.g., [,][2,3,4]
-     */
-    public String soap11DimensionString()
-    {
-        return soap11DimensionString(_dimensions);
-    }
-
-    /**
-     * Given an actual set of dimensions that may differ from
-     * the default that is stored, outputs the soap arrayType
-     * string.
-     */
-    public String soap11DimensionString(int[] actualDimensions)
-    {
-        StringBuffer sb = new StringBuffer();
-        for (int i = 0; i < _ranks.length; i++)
-        {
-            sb.append('[');
-            for (int j = 1; j < _ranks[i]; j++)
-                sb.append(',');
-            sb.append(']');
-        }
-
-        sb.append('[');
-        for (int i = 0; i < actualDimensions.length; i++)
-        {
-            if (i > 0)
-                sb.append(',');
-            if (actualDimensions[i] >= 0)
-                sb.append(actualDimensions[i]);
-        }
-        sb.append(']');
-        return sb.toString();
-    }
-
-    private SOAPArrayType()
-    {
-    }
-
-    /**
-     * SOAP 1.2
-     * Constructs a SOAPArrayType from soap-enc:itemType and
-     * soap-enc:arraySize attributes
-     * @param itemType the item type QName
-     * @param arraySize a string with dimentions like: * 3 4
-     * @return a SOAPArrayType to represent this
-     */
-    public static SOAPArrayType newSoap12Array(QName itemType, String arraySize)
-    {
-        int [] ranks = EMPTY_INT_ARRAY;
-        arraySize = XmlWhitespace.collapse(arraySize, XmlWhitespace.WS_COLLAPSE);
-        String[] dimStrings = arraySize.split(" ");
-        int[] dimensions = new int[dimStrings.length];
-        for (int i = 0; i < dimStrings.length; i++)
-        {
-            String dimString = dimStrings[i];
-            if (i==0 && dimString.equals("*"))
-            {
-                dimensions[i] = -1;
-                // _hasIndeterminateDimensions = true;
-            }
-            else
-            {
-                try
-                {
-                    dimensions[i] = Integer.parseInt(dimStrings[i]);
-                }
-                catch (Exception e)
-                {
-                    throw new XmlValueOutOfRangeException();
-                }
-            }
-        }
-        SOAPArrayType sot = new SOAPArrayType();
-        sot._ranks = ranks;
-        sot._type = itemType;
-        sot._dimensions = dimensions;
-        return sot;
-    }
-
-    /**
-     * SOAP 1.2
-     * Given an actual set of dimensions that may differ from
-     * the default that is stored, outputs the soap arraySize
-     * string.
-     */
-    public String soap12DimensionString(int[] actualDimensions)
-    {
-        StringBuffer sb = new StringBuffer();
-
-        for (int i = 0; i < actualDimensions.length; i++)
-        {
-            if (i > 0)
-                sb.append(' ');
-            if (actualDimensions[i] >= 0)
-                sb.append(actualDimensions[i]);
-        }
-        return sb.toString();
-    }
-
-    /**
-     * Constructs a SOAPArrayType reflecting the dimensions
-     * of the next nested array.
-     */
-    public SOAPArrayType nestedArrayType()
-    {
-        if (!containsNestedArrays())
-            throw new IllegalStateException();
-
-        SOAPArrayType result = new SOAPArrayType();
-
-        result._type = _type;
-
-        result._ranks = new int[_ranks.length - 1];
-        System.arraycopy(_ranks, 0, result._ranks, 0, result._ranks.length);
-
-        result._dimensions = new int[_ranks[_ranks.length - 1]];
-        for (int i = 0; i < result._dimensions.length; i++)
-            result._dimensions[i] = -1;
-
-        // result._hasIndeterminateDimensions = (result._dimensions.length > 0);
-
-        return result;
-    }
-
-    public int hashCode()
-    {
-        return (_type.hashCode() + _dimensions.length + _ranks.length + (_dimensions.length == 0 ? 0 : _dimensions[0]));
-    }
-
-    public boolean equals(Object obj)
-    {
-        if (obj == this)
-            return true;
-
-        if (!obj.getClass().equals(getClass()))
-            return false;
-
-        SOAPArrayType sat = (SOAPArrayType)obj;
-
-        if (!_type.equals(sat._type))
-            return false;
-
-        if (_ranks.length != sat._ranks.length)
-            return false;
-
-        if (_dimensions.length != sat._dimensions.length)
-            return false;
-
-        for (int i = 0; i < _ranks.length; i++)
-            if (_ranks[i] != sat._ranks[i])
-                return false;
-
-        for (int i = 0; i < _dimensions.length; i++)
-            if (_dimensions[i] != sat._dimensions[i])
-                return false;
-
-        return true;
-    }
-}
diff --git a/v2/src/typeimpl/org/apache/xmlbeans/soap/SchemaWSDLArrayType.java b/v2/src/typeimpl/org/apache/xmlbeans/soap/SchemaWSDLArrayType.java
deleted file mode 100644
index 4f66243..0000000
--- a/v2/src/typeimpl/org/apache/xmlbeans/soap/SchemaWSDLArrayType.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.soap;
-
-/**
- * In the current implementation, schema elements and attributes
- * can be coerced to this interface in order to retrieve the value
- * of the wsdl:arrayType attributes on attributes and elements.
- */
-public interface SchemaWSDLArrayType
-{
-    SOAPArrayType getWSDLArrayType();
-}
diff --git a/v2/src/typestore/org/apache/xmlbeans/impl/values/NamespaceManager.java b/v2/src/typestore/org/apache/xmlbeans/impl/values/NamespaceManager.java
deleted file mode 100644
index 1ba9f3d..0000000
--- a/v2/src/typestore/org/apache/xmlbeans/impl/values/NamespaceManager.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.impl.common.PrefixResolver;
-
-public interface NamespaceManager extends PrefixResolver
-{
-    /**
-     * Caled when the user needs a prefix by which to reference a given
-     * Xml namespace. A suggested prefix is passed, which may be null;
-     * the suggestion may be ignored.
-     */
-    
-    String find_prefix_for_nsuri ( String nsuri, String suggested_prefix );
-}
-   
\ No newline at end of file
diff --git a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStore.java b/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStore.java
deleted file mode 100644
index 0d8cca4..0000000
--- a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStore.java
+++ /dev/null
@@ -1,344 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.QNameSet;
-import java.util.List;
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlLocale;
-
-public interface TypeStore extends NamespaceManager
-{
-    /**
-     * Creates a new cursor positioned just before the part of the tree
-     * where this TypeStore is located.
-     */
-    XmlCursor new_cursor();
-
-    /**
-     */
-    void validate ( ValidatorListener vEventSink );
-
-    /**
-     * Get the SchemaTypeLoader associated with the store contianing this
-     * TypeStore.
-     */
-    SchemaTypeLoader get_schematypeloader ( );
-
-    /**
-     * Change the type of this store (perhaps by applying xsi:type) and
-     * return the new TypeStoreUser (or old one if the new type is not
-     * different).
-     */
-    TypeStoreUser change_type ( SchemaType sType );
-
-    /**
-     * Tells if this store is an attribute or not
-     */
-    boolean is_attribute ( );
-
-    /**
-     * Get the value of xsi:type.  Return null if none or this is an attribute
-     * store.
-     */
-    QName get_xsi_type ( );
-
-    /**
-     * A user of a TypeStore calls invalidate_text when the underlying
-     * value has changed and he wants the textstore to call him back with
-     * a fetch_text (TypeStore/TypeStoreUsers work in pairs).
-     */
-    void invalidate_text();
-
-    /**
-     * A user of a TypeStore calls fetch_text when he knows his view
-     * of the text is invalid and he wants to see what the actual text
-     * value is.
-     */
-    // BUGBUG (ericvas) 12111
-    String fetch_text(int whitespaceRule);
-
-    public static int WS_UNSPECIFIED = 0;
-    public static int WS_PRESERVE = 1;
-    public static int WS_REPLACE = 2;
-    public static int WS_COLLAPSE = 3;
-
-    /**
-     * A user of a TypeStore calls store_text when he wants the TypeStore
-     * to remember the given text immediately. This typically happens when
-     * the user has a noncanonical (but valid) string representation to save,
-     * but doesn't have the storage in which to save it.
-     */
-    void store_text(String text);
-
-    /**
-     * Here the TypeStore is responsible for locating the default value.
-     * This is done as follows
-     * (1) go to the parent TypeStoreUser
-     * (2) ask it to get_default_element_text(qname) (or _attribute_), and return it if not null.
-     * (2) otherwise, grab a new TypeStoreUserVisitor via v = parentuser.new_visitor();
-     * (3) call v.visit(name) on _every_ element qname up to and including this one in order
-     * (4) return the result of v.get_default_text().
-     */
-    String compute_default_text();
-
-    /**
-     * Here the TypeStore is responsible for figuring if this value is
-     * nillable and/or fixed. This is done by
-     * (1) go to the parent TypeStoreUser
-     * (2) ask it to get_elementflags(qname), and return it if not -1.
-     * (2) otherwise, grab a new TypeStoreUserVisitor via v = parentuser.new_visitor();
-     * (3) call v.visit(name) on _every_ element qname up to and including this one in order
-     * (4) return the result of v.get_elementflags().
-     */
-    int compute_flags();
-
-
-    /**
-     * Tells if this store was created with this option which tells the strongly typed
-     * objects to perform lexical and value validation after a setter is called.
-     */
-    boolean validate_on_set();
-
-    /**
-     * Here the typestore is resposible for finding the schema field for
-     * this object. This is done by
-     * (1) otherwise, grab a new TypeStoreUserVisitor via v = parentuser.new_visitor();
-     * (2) call v.visit(name) on _every_ element qname up to and including this one in order
-     * (3) return the result of v.get_schema_field().
-     */
-    SchemaField get_schema_field();
-
-    public static final int NILLABLE = 1;
-    public static final int HASDEFAULT = 2;
-    public static final int FIXED = 4; // always set with HASDEFAULT
-
-    /**
-     * Called when the value has been nilled or unnilled, so the textstore
-     * knows it needs to update the xsi:nil attribute.
-     */
-    void invalidate_nil();
-
-    /**
-     * The TypeStore is reponsible for discovering if this value is nil.
-     * This is done by (1) going to the element and (2) finding the
-     * xsi:nil attribute if present and (3) return true if the collapsed
-     * textual value is either exactly the string "true" or "1".
-     */
-    boolean find_nil();
-
-    /**
-     * Returns the count of elements with the given name owned by this
-     * textstore.
-     */
-    int count_elements(QName name);
-
-    /**
-     * Returns the count of elements that match of the names.
-     */
-    int count_elements(QNameSet names);
-
-    /**
-     * Returns the TypeStoreUser underneath the ith element with the given
-     * name owned by this textstore, or null if none was found.
-     *
-     * Do not throw an IndexOutOfBoundsException if i is bad -
-     * return null instead. The reason is to allow us to fail
-     * and then follow with an add_element_etc if we choose to,
-     * without randomly catching exceptions.
-     */
-// BUGBUG - this should be called find_element
-// BUGBUG - this should be called find_element
-// BUGBUG - this should be called find_element
-// BUGBUG - this should be called find_element
-// BUGBUG - this should be called find_element
-    TypeStoreUser find_element_user(QName name, int i);
-
-    /**
-     * Like find_element_user but accepts a set of names to search for.
-     */
-    TypeStoreUser find_element_user(QNameSet names, int i);
-
-    /**
-     * Returns all the TypeStoreUsers corresponding to elements with the
-     * given name owned by this typestore, or the empty array of
-     * TypeStoreUsers if none was found.
-     */
-// BUGBUG - this should be called find_all_element
-// BUGBUG - this should be called find_all_element
-// BUGBUG - this should be called find_all_element
-// BUGBUG - this should be called find_all_element
-    void find_all_element_users(QName name, List fillMeUp);
-
-
-    /**
-     * Returns all TypeStoreUsers corresponding to elements with one
-     * of the names is the QNameSet.
-     */
-    void find_all_element_users(QNameSet name, List fillMeUp);
-
-    /**
-     * Inserts a new element at the position that will make it
-     * the ith element with the given name owned by this textstore,
-     * and returns a TypeStoreUser for that element.
-     *
-     * Note that if there are no existing elements of the given
-     * name, you may need to call back to discover the proper
-     * ordering to use to insert the first one. Otherwise,
-     * it should be inserted adjacent to existing elements with
-     * the same name.
-     *
-     * Should throw an IndexOutOfBoundsException if i < 0
-     * or if i > # of elts
-     */
-
-// BUGBUG - this should be called insert_element
-// BUGBUG - this should be called insert_element
-// BUGBUG - this should be called insert_element
-    TypeStoreUser insert_element_user(QName name, int i);
-
-    /**
-     * Like the above method, except that it inserts an element named
-     * name, after the ith member of set.
-     */
-    TypeStoreUser insert_element_user(QNameSet set, QName name, int i);
-
-    /**
-     * Adds a new element at the last position adjacent to existing
-     * elements of the same name.
-     *
-     * Note that if there are no existing elements of the given
-     * name, the same comment applies as with insert_element_user.
-     */
-// BUGBUG - this should be called add_element
-// BUGBUG - this should be called add_element
-// BUGBUG - this should be called add_element
-// BUGBUG - this should be called add_element
-    TypeStoreUser add_element_user(QName name);
-
-    /**
-     * Removes the ith element with the given name.
-     *
-     * Should throw an IndexOutOfBoundsException if i < 0
-     * or if i > # of elts-1.
-     */
-    void remove_element(QName name, int i);
-
-    /**
-     * Removes the ith element that matches names.
-     */
-    void remove_element(QNameSet names, int i);
-
-
-    /**
-     * Returns the TypeStoreUser underneath the attribute with the given
-     * name, or null if there is no such attribute.
-     */
-// BUGBUG - this should be called find_attribute
-// BUGBUG - this should be called find_attribute
-// BUGBUG - this should be called find_attribute
-// BUGBUG - this should be called find_attribute
-    TypeStoreUser find_attribute_user(QName name);
-
-    /**
-     * Adds an attribute with the given name and returns a TypeStoreUser
-     * underneath it. Should throw an IndexOutOfBoundsException if there
-     * is already an existing attribute with the given name.
-     */
-// BUGBUG - this should be called add_attribute
-// BUGBUG - this should be called add_attribute
-// BUGBUG - this should be called add_attribute
-// BUGBUG - this should be called add_attribute
-    TypeStoreUser add_attribute_user(QName name);
-
-    /**
-     * Removes the attribute with the given name.
-     */
-    void remove_attribute(QName name);
-
-    /**
-     * Copies the contents of the given TypeStore (including attributes,
-     * elements, and mixed content), to the target type store.
-     *
-     * SPECIAL NOTE: The xsi:type attribute should not be removed from
-     * the target or copied from the soruce, and the TypeStoreUser attached
-     * to this TypeStore should not be disconnected.
-     *
-     * This is for implementing obj.set(foo).
-     */
-    TypeStoreUser copy_contents_from(TypeStore source);
-    
-// BUGBUG - Need to use this in the future
-//    /**
-//     * Copies the contents of the given TypeStore (including attributes,
-//     * elemets, mixed content), to the child element given by the given
-//     * name and index. Any TypeStoreUser that might be currently attached
-//     * to that element is disconnected.  The xsi:type attribute of the
-//     * element should be set according to the given QName (or deleted if
-//     * the xsitype argument is null)
-//     */
-//    void copy_to_element(
-//        TypeStore source, QName xsitype, QName name, int i);
-
-    /**
-     * Copies the contents of the given array of XmlObject (including
-     * attributes, elements, mixed content), over all the elements of the
-     * given name under the current typestore.
-     *
-     * The lengths of the two arrays that are passed should be the same.
-     *
-     * If there are n current elements of the given name and m elements
-     * in the source array, there are several cases for individual elements:
-     *
-     * 1. If i < n and i < m, then the contents of the ith source are copied
-     *    underneath the ith element; the ith element is not moved, but its
-     *    TypeStoreUser is disconnected.
-     * 2. if i >= n and i < m, then first enough new elements are appended
-     *    so that there is an element with the name i, then rule #1 is followed.
-     * 3. if i >= m and i < n, then the element #i and all its contents
-     *    are removed.
-     */
-    
-    void array_setter ( XmlObject[] sources, QName elementName );
-
-    /**
-     * Visits all the elements immediately, using the given visitor.
-     * A TypeStoreUser calls this when somebody has requested validation.
-     */
-    void visit_elements(TypeStoreVisitor visitor);
-
-    XmlObject[] exec_query ( String queryExpr, XmlOptions options )
-        throws XmlException;
-
-    /**
-     * Returns the monitor object, used for synchronizing access to the doc.
-     */ 
-    Object get_root_object();
-
-    /**
-     * Returns the locale object which is used to manage thread safty and the
-     * gateway requirements for calls into the xml store
-     */
-    XmlLocale get_locale ( );
-}
diff --git a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUser.java b/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUser.java
deleted file mode 100644
index 97284b5..0000000
--- a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUser.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaField;
-
-/**
- * Represents the strongly-typed user of a typestore.
- * A typestore is responsible for all the lexical aspects of XML, and
- * a typestore user is responsible for all strongly-typed aspects.
- * Where there is interaction between the two models, it is represented
- * by the TypeStore and TypeStoreUser interfaces.
- */
-public interface TypeStoreUser
-{
-    /**
-     * Called to attach to the given textStore. When a TypeStoreUser is
-     * attached, it is put into a completely invalidated state.
-     */
-    void attach_store(TypeStore store);
-
-    /**
-     * Returns the schema type of this user
-     */
-    SchemaType get_schema_type();
-
-    /**
-     * Returns the store to which this typestoreuser is attached, or
-     * null if none.
-     */
-    TypeStore get_store();
-
-    /**
-     * A store will call back on invalidate_value when its text has
-     * changed and it therefore knows that any cached type value is
-     * invalid. It is the responsibilty of the type to call fetch_text
-     * and reparse next time the user does a strongly-typed get.
-     */
-    void invalidate_value();
-
-    /**
-     * A store can call uses_invalidate_value to know if calls to
-     * invalidate_value will be fruitful.  If uses_invalidate_value
-     * returns false, invalidate_value need never be called.
-     */
-    boolean uses_invalidate_value();
-
-    /**
-     * A store will call back on build_text when it knows its own text
-     * is invalid and needs to fill it in.  If forExternal is true, then
-     * the value returned will be used to replenish the store's cache of
-     * the value.  Otherwise, the value is being computed for purposes
-     * other than validation, like persistence.
-     *
-     * Also, the only member on TypeStore which may be called while build_text
-     * is on the stack is find_prefix_for_nsuri which must have the
-     * forExternal state passed to it as it is passed here.
-     */
-    String build_text(NamespaceManager nsm);
-
-    /**
-     * A store will call back on build_nil after you've called invalidate_nil
-     * and it needs to know what the nil value is.
-     */
-    boolean build_nil();
-
-    /**
-     * A store calls back on invalidate_nilvalue when the value of
-     * the xsi:nil tag has changed.
-     */
-    void invalidate_nilvalue();
-
-    /**
-     * A store calls back on invalidate_element_order when a rearrangment
-     * of sibling elements to the left of this element means that the
-     * nillable value may no longer be valid.
-     */
-    void invalidate_element_order();
-
-    /**
-     * A store will call back on validate_now to force us to look at
-     * the text if we're in an invalid state. This function is allowed
-     * and expected to throw an exception if the text isn't valid for
-     * our type.
-     */
-    void validate_now();
-
-    /**
-     * A store calls back on this call in order to force a disconnect.
-     * After this is done, the object should be considered invalid.
-     */
-    void disconnect_store();
-
-    /**
-     * A typestore user can create a new TypeStoreUser instance for
-     * a given element child name as long as you also pass the
-     * qname contained by the xsi:type attribute, if any.
-     *
-     * Note that we will ignore the xsiType if it turns out to be invalid.
-     */
-    TypeStoreUser create_element_user(QName eltName, QName xsiType);
-
-    /**
-     * A typestore user can create a new TypeStoreUser instance for
-     * a given attribute child, based on the attribute name.
-     */
-    TypeStoreUser create_attribute_user(QName attrName);
-
-    /**
-     * Return the SchemaType which a child element of this name and xsi:type
-     * would be.
-     */
-
-    SchemaType get_element_type(QName eltName, QName xsiType);
-    
-    /**
-     * Return the SchemaType which an attribute of this name would be.
-     */
-
-    SchemaType get_attribute_type(QName attrName);
-
-    /**
-     * Returns the default element text, if it's consistent. If it's
-     * not consistent, returns null, and requires a visitor walk.
-     */
-    String get_default_element_text(QName eltName);
-
-    /**
-     * Returns the default attribute text for the attribute with
-     * the given name.
-     */
-    String get_default_attribute_text(QName attrName);
-
-    /**
-     * Returns the elementflags, if they're consistent. If they're
-     * not, returns -1, and requires a vistor walk.
-     */
-    int get_elementflags(QName eltName);
-
-    /**
-     * Returns the flags for an attribute.
-     */
-    int get_attributeflags(QName attrName);
-
-    /**
-     * Returns the schema field for an attribute
-     */
-    SchemaField get_attribute_field(QName attrName);
-
-    /**
-     * Returns false if child elements are insensitive to order;
-     * if it returns true, you're required to call invalidate_element_order
-     * on children to the right of any child order rearrangement.
-     */
-    boolean is_child_element_order_sensitive();
-
-    /**
-     * A typestore user can return the element sort order to use for
-     * insertion operations if needed. Settable elements should
-     * be stored in this order if possible.
-     */
-    QNameSet get_element_ending_delimiters(QName eltname);
-
-    /**
-     * A typestore user can return a visitor that is used to compute
-     * default text and elementflags for an arbitrary element.
-     */
-    TypeStoreVisitor new_visitor();
-}
diff --git a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUserFactory.java b/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUserFactory.java
deleted file mode 100644
index b875821..0000000
--- a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreUserFactory.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-/**
- * Every SchemaTypeLoader is actually a TypeStoreUserFactory.
- *
- * To get and use the default TypeStoreUserFactory, do the following:
- *
- * TypeStoreUser user = ((TypeStoreUserFactory)SchemaTypeLoader.global()).createTypeStoreUser(store);
- */
-public interface TypeStoreUserFactory
-{
-    TypeStoreUser createTypeStoreUser();
-}
diff --git a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreVisitor.java b/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreVisitor.java
deleted file mode 100644
index f80b7ba..0000000
--- a/v2/src/typestore/org/apache/xmlbeans/impl/values/TypeStoreVisitor.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.values;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.SchemaField;
-
-/**
- * This interface is used by the TypeStore to visit every element in order
- * to compute nillable flags and default values.
- */
-public interface TypeStoreVisitor
-{
-    /**
-     * When using a visitor, you must call "visit" on every qname of
-     * every element in order up to the one you're interested in.
-     *
-     * If you're using it for validation, call visit(null) at the end
-     * of the sequence of children. If you're not validating, you can
-     * just walk away once you get the info you need.
-     */
-    boolean visit(QName eltName);
-
-    /**
-     * Returns the elementflags for this element.
-     */
-    int get_elementflags();
-
-    /**
-     * Returns the default text for this element.
-     */
-    String get_default_text();
-
-    /**
-     * Returns the schema field for this field.
-     */
-    SchemaField get_schema_field();
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/BaseSchemaResourceManager.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/BaseSchemaResourceManager.java
deleted file mode 100644
index 07ac59c..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/BaseSchemaResourceManager.java
+++ /dev/null
@@ -1,716 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import com.bea.x2003.x01.xmlbean.xsdownload.DownloadedSchemasDocument;
-import com.bea.x2003.x01.xmlbean.xsdownload.DownloadedSchemaEntry;
-import com.bea.x2003.x01.xmlbean.xsdownload.DownloadedSchemasDocument.DownloadedSchemas;
-import org.apache.xmlbeans.impl.util.HexBin;
-import org.apache.xmlbeans.impl.common.IOUtil;
-import org.apache.xmlbeans.XmlOptions;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.ByteArrayInputStream;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.HashMap;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.security.DigestInputStream;
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-public abstract class BaseSchemaResourceManager extends SchemaImportResolver
-{
-    private String _defaultCopyDirectory;
-    private DownloadedSchemasDocument _importsDoc;
-    private Map _resourceForFilename = new HashMap();
-    private Map _resourceForURL = new HashMap();
-    private Map _resourceForNamespace = new HashMap();
-    private Map _resourceForDigest = new HashMap();
-    private Map _resourceForCacheEntry = new HashMap();
-    private Set _redownloadSet = new HashSet();
-
-    protected BaseSchemaResourceManager()
-    {
-        // concrete subclasses should call init in their constructors
-    }
-
-    protected final void init()
-    {
-        if (fileExists(getIndexFilename()))
-        {
-            try
-            {
-                _importsDoc = DownloadedSchemasDocument.Factory.parse( inputStreamForFile( getIndexFilename() ) );
-            }
-            catch (IOException e)
-            {
-                _importsDoc = null;
-            }
-            catch (Exception e)
-            {
-                throw (IllegalStateException)(new IllegalStateException("Problem reading xsdownload.xml: please fix or delete this file")).initCause(e);
-            }
-        }
-        if (_importsDoc == null)
-        {
-            try
-            {
-                _importsDoc = DownloadedSchemasDocument.Factory.parse(
-                    "<dls:downloaded-schemas xmlns:dls='http://www.bea.com/2003/01/xmlbean/xsdownload' defaultDirectory='" + getDefaultSchemaDir() + "'/>"
-                );
-            }
-            catch (Exception e)
-            {
-                throw (IllegalStateException)(new IllegalStateException()).initCause(e);
-            }
-        }
-
-        String defaultDir = _importsDoc.getDownloadedSchemas().getDefaultDirectory();
-        if (defaultDir == null)
-            defaultDir = getDefaultSchemaDir();;
-        _defaultCopyDirectory = defaultDir;
-
-        // now initialize data structures
-        DownloadedSchemaEntry[] entries = _importsDoc.getDownloadedSchemas().getEntryArray();
-        for (int i = 0; i < entries.length; i++)
-        {
-            updateResource(entries[i]);
-        }
-    }
-
-    public final void writeCache() throws IOException
-    {
-        InputStream input = _importsDoc.newInputStream(new XmlOptions().setSavePrettyPrint());
-        writeInputStreamToFile(input, getIndexFilename());
-    }
-
-    public final void processAll(boolean sync, boolean refresh, boolean imports)
-    {
-        if (refresh)
-        {
-            _redownloadSet = new HashSet();
-        }
-        else
-        {
-            _redownloadSet = null;
-        }
-
-        String[] allFilenames = getAllXSDFilenames();
-
-        if (sync)
-            syncCacheWithLocalXsdFiles(allFilenames, false);
-
-        SchemaResource[] starters = (SchemaResource[])
-                _resourceForFilename.values().toArray(new SchemaResource[0]);
-
-        if (refresh)
-            redownloadEntries(starters);
-
-        if (imports)
-            resolveImports(starters);
-
-        _redownloadSet = null;
-    }
-
-    public final void process(String[] uris, String[] filenames, boolean sync, boolean refresh, boolean imports)
-    {
-        if (refresh)
-        {
-            _redownloadSet = new HashSet();
-        }
-        else
-        {
-            _redownloadSet = null;
-        }
-
-        if (filenames.length > 0)
-            syncCacheWithLocalXsdFiles(filenames, true);
-        else if (sync)
-            syncCacheWithLocalXsdFiles(getAllXSDFilenames(), false);
-
-        Set starterset = new HashSet();
-
-        for (int i = 0; i < uris.length; i++)
-        {
-            SchemaResource resource = (SchemaResource)lookupResource(null, uris[i]);
-            if (resource != null)
-                starterset.add(resource);
-        }
-
-        for (int i = 0; i < filenames.length; i++)
-        {
-            SchemaResource resource = (SchemaResource)_resourceForFilename.get(filenames);
-            if (resource != null)
-                starterset.add(resource);
-        }
-
-        SchemaResource[] starters = (SchemaResource[])
-               starterset.toArray(new SchemaResource[0]);
-
-        if (refresh)
-            redownloadEntries(starters);
-
-        if (imports)
-            resolveImports(starters);
-
-        _redownloadSet = null;
-    }
-
-    /**
-     * Adds items to the cache that point to new files that aren't
-     * described in the cache, and optionally deletes old entries.
-     *
-     * If an old file is gone and a new file is
-     * found with exactly the same contents, the cache entry is moved
-     * to point to the new file.
-     */
-    public final void syncCacheWithLocalXsdFiles(String[] filenames, boolean deleteOnlyMentioned)
-    {
-        Set seenResources = new HashSet();
-        Set vanishedResources = new HashSet();
-
-        for (int i = 0; i < filenames.length; i++)
-        {
-            String filename = filenames[i];
-
-            // first, if the filename matches exactly, trust the filename
-            SchemaResource resource = (SchemaResource)_resourceForFilename.get(filename);
-            if (resource != null)
-            {
-                if (fileExists(filename))
-                    seenResources.add(resource);
-                else
-                    vanishedResources.add(resource);
-                continue;
-            }
-
-            // new file that is not in the index?
-            // not if the digest is known to the index and the original file is gone - that's a rename!
-            String digest = null;
-            try
-            {
-                digest = shaDigestForFile(filename);
-                resource = (SchemaResource)_resourceForDigest.get(digest);
-                if (resource != null)
-                {
-                    String oldFilename = resource.getFilename();
-                    if (!fileExists(oldFilename))
-                    {
-                        warning("File " + filename + " is a rename of " + oldFilename);
-                        resource.setFilename(filename);
-                        seenResources.add(resource);
-                        if (_resourceForFilename.get(oldFilename) == resource)
-                            _resourceForFilename.remove(oldFilename);
-                        if (_resourceForFilename.containsKey(filename))
-                            _resourceForFilename.put(filename, resource);
-                        continue;
-                    }
-                }
-            }
-            catch (IOException e)
-            {
-                // unable to read digest... no problem, ignore then
-            }
-
-            // ok, this really is a new XSD file then, of unknown URL origin
-            DownloadedSchemaEntry newEntry = addNewEntry();
-            newEntry.setFilename(filename);
-            warning("Caching information on new local file " + filename);
-            if (digest != null)
-                newEntry.setSha1(digest);
-
-            seenResources.add(updateResource(newEntry));
-        }
-
-        if (deleteOnlyMentioned)
-            deleteResourcesInSet(vanishedResources, true);
-        else
-            deleteResourcesInSet(seenResources, false);
-    }
-
-    /**
-     * Iterates through every entry and refetches it from its primary URL,
-     * if known.  Replaces the contents of the file if the data is different.
-     */
-    private void redownloadEntries(SchemaResource[] resources)
-    {
-        for (int i = 0; i < resources.length; i++)
-        {
-            redownloadResource(resources[i]);
-        }
-    }
-
-    private void deleteResourcesInSet(Set seenResources, boolean setToDelete)
-    {
-        Set seenCacheEntries = new HashSet();
-        for (Iterator i = seenResources.iterator(); i.hasNext(); )
-        {
-            SchemaResource resource = (SchemaResource)i.next();
-            seenCacheEntries.add(resource._cacheEntry);
-        }
-
-        DownloadedSchemas downloadedSchemas = _importsDoc.getDownloadedSchemas();
-        for (int i = 0; i < downloadedSchemas.sizeOfEntryArray(); i++)
-        {
-            DownloadedSchemaEntry cacheEntry = downloadedSchemas.getEntryArray(i);
-
-            if (seenCacheEntries.contains(cacheEntry) == setToDelete)
-            {
-                SchemaResource resource = (SchemaResource)_resourceForCacheEntry.get(cacheEntry);
-                warning("Removing obsolete cache entry for " + resource.getFilename());
-
-                if (resource != null)
-                {
-                    _resourceForCacheEntry.remove(cacheEntry);
-
-                    if (resource == _resourceForFilename.get(resource.getFilename()))
-                        _resourceForFilename.remove(resource.getFilename());
-
-                    if (resource == _resourceForDigest.get(resource.getSha1()))
-                        _resourceForDigest.remove(resource.getSha1());
-
-                    if (resource == _resourceForNamespace.get(resource.getNamespace()))
-                        _resourceForNamespace.remove(resource.getNamespace());
-
-                    // Finally, any or all URIs
-                    String[] urls = resource.getSchemaLocationArray();
-                    for (int j = 0; j < urls.length; j++)
-                    {
-                        if (resource == _resourceForURL.get(urls[j]))
-                            _resourceForURL.remove(urls[j]);
-                    }
-                }
-
-                downloadedSchemas.removeEntry(i);
-                i -= 1;
-            }
-        }
-    }
-
-    private SchemaResource updateResource(DownloadedSchemaEntry entry)
-    {
-        // The file
-        String filename = entry.getFilename();
-        if (filename == null)
-            return null;
-
-        SchemaResource resource = new SchemaResource(entry);
-        _resourceForCacheEntry.put(entry, resource);
-
-        if (!_resourceForFilename.containsKey(filename))
-            _resourceForFilename.put(filename, resource);
-
-        // The digest
-        String digest = resource.getSha1();
-        if (digest != null)
-        {
-            if (!_resourceForDigest.containsKey(digest))
-                _resourceForDigest.put(digest, resource);
-        }
-
-        // Next, the namespace
-        String namespace = resource.getNamespace();
-        if (namespace != null)
-        {
-            if (!_resourceForNamespace.containsKey(namespace))
-                _resourceForNamespace.put(namespace, resource);
-        }
-
-        // Finally, any or all URIs
-        String[] urls = resource.getSchemaLocationArray();
-        for (int j = 0; j < urls.length; j++)
-        {
-            if (!_resourceForURL.containsKey(urls[j]))
-                _resourceForURL.put(urls[j], resource);
-        }
-
-        return resource;
-    }
-
-    private static DigestInputStream digestInputStream(InputStream input)
-    {
-        MessageDigest sha;
-        try
-        {
-            sha = MessageDigest.getInstance("SHA");
-        }
-        catch (NoSuchAlgorithmException e)
-        {
-            throw (IllegalStateException)(new IllegalStateException().initCause(e));
-        }
-
-        DigestInputStream str = new DigestInputStream(input, sha);
-
-        return str;
-    }
-
-    private DownloadedSchemaEntry addNewEntry()
-    {
-        return _importsDoc.getDownloadedSchemas().addNewEntry();
-    }
-
-    private class SchemaResource implements SchemaImportResolver.SchemaResource
-    {
-        SchemaResource(DownloadedSchemaEntry entry)
-        {
-            _cacheEntry = entry;
-        }
-
-        DownloadedSchemaEntry _cacheEntry;
-
-        public void setFilename(String filename)
-        {
-            _cacheEntry.setFilename(filename);
-        }
-
-        public String getFilename()
-        {
-            return _cacheEntry.getFilename();
-        }
-
-        public Schema getSchema()
-        {
-            if (!fileExists(getFilename()))
-                redownloadResource(this);
-
-            try
-            {
-                return SchemaDocument.Factory.parse(inputStreamForFile(getFilename())).getSchema();
-            }
-            catch (Exception e)
-            {
-                return null; // return null if _any_ problems reading schema file
-            }
-        }
-
-        public String getSha1()
-        {
-            return _cacheEntry.getSha1();
-        }
-
-        public String getNamespace()
-        {
-            return _cacheEntry.getNamespace();
-        }
-
-        public void setNamespace(String namespace)
-        {
-            _cacheEntry.setNamespace(namespace);
-        }
-
-        public String getSchemaLocation()
-        {
-            if (_cacheEntry.sizeOfSchemaLocationArray() > 0)
-                return _cacheEntry.getSchemaLocationArray(0);
-            return null;
-        }
-
-        public String[] getSchemaLocationArray()
-        {
-            return _cacheEntry.getSchemaLocationArray();
-        }
-
-        public int hashCode()
-        {
-            return getFilename().hashCode();
-        }
-
-        public boolean equals(Object obj)
-        {
-            return this == obj || getFilename().equals(((SchemaResource)obj).getFilename());
-        }
-
-        public void addSchemaLocation(String schemaLocation)
-        {
-            _cacheEntry.addSchemaLocation(schemaLocation);
-        }
-    }
-
-    /**
-     * Called when the ImportLoader wishes to resolve the
-     * given import.  Should return a SchemaResource whose
-     * "equals" relationship reveals when a SchemaResource is
-     * duplicated and shouldn't be examined again.
-     *
-     * Returns null if the resource reference should be ignored.
-     */
-    public SchemaImportResolver.SchemaResource lookupResource(String nsURI, String schemaLocation)
-    {
-        SchemaResource result = fetchFromCache(nsURI, schemaLocation);
-        if (result != null)
-        {
-            if (_redownloadSet != null)
-            {
-                redownloadResource(result);
-            }
-            return result;
-        }
-
-        if (schemaLocation == null)
-        {
-            warning("No cached schema for namespace '" + nsURI + "', and no url specified");
-            return null;
-        }
-
-        result = copyOrIdentifyDuplicateURL(schemaLocation, nsURI);
-        if (_redownloadSet != null)
-            _redownloadSet.add(result);
-        return result;
-    }
-
-    private SchemaResource fetchFromCache(String nsURI, String schemaLocation)
-    {
-        SchemaResource result;
-
-        if (schemaLocation != null)
-        {
-            result = (SchemaResource)_resourceForURL.get(schemaLocation);
-            if (result != null)
-                return result;
-        }
-
-        if (nsURI != null)
-        {
-            result = (SchemaResource)_resourceForNamespace.get(nsURI);
-            if (result != null)
-                return result;
-        }
-
-        return null;
-    }
-
-    private String uniqueFilenameForURI(String schemaLocation) throws IOException, URISyntaxException
-    {
-        String localFilename = new URI( schemaLocation ).getRawPath();
-        int i = localFilename.lastIndexOf('/');
-        if (i >= 0)
-            localFilename = localFilename.substring(i + 1);
-        if (localFilename.endsWith(".xsd"))
-            localFilename = localFilename.substring(0, localFilename.length() - 4);
-        if (localFilename.length() == 0)
-            localFilename = "schema";
-
-        // TODO: remove other unsafe characters for filenames?
-
-        String candidateFilename = localFilename;
-        int suffix = 1;
-        while (suffix < 1000)
-        {
-            String candidate = _defaultCopyDirectory + "/" + candidateFilename + ".xsd";
-            if (!fileExists(candidate))
-                return candidate;
-            suffix += 1;
-            candidateFilename = localFilename + suffix;
-        }
-
-        throw new IOException("Problem with filename " + localFilename + ".xsd");
-    }
-
-    private void redownloadResource(SchemaResource resource)
-    {
-        if (_redownloadSet != null)
-        {
-            if (_redownloadSet.contains(resource))
-                return;
-            _redownloadSet.add(resource);
-        }
-
-        String filename = resource.getFilename();
-        String schemaLocation = resource.getSchemaLocation();
-        String digest = null;
-
-        // nothing to do?
-        if (schemaLocation == null || filename == null)
-            return;
-
-        ByteArrayOutputStream buffer = new ByteArrayOutputStream();
-
-        try
-        {
-            URL url = new URL( schemaLocation );
-            URLConnection conn = url.openConnection();
-            conn.addRequestProperty("User-Agent", "BEA XML Beans/1.0");
-            conn.addRequestProperty("Accept", "application/xml, text/xml, */*");
-            DigestInputStream input = digestInputStream(conn.getInputStream());
-            IOUtil.copyCompletely(input, buffer);
-            digest = HexBin.bytesToString(input.getMessageDigest().digest());
-        }
-        catch (Exception e)
-        {
-            warning("Could not copy remote resource " + schemaLocation + ":" + e.getMessage());
-            return;
-        }
-
-        if (digest.equals(resource.getSha1()) && fileExists(filename))
-        {
-            warning("Resource " + filename + " is unchanged from " + schemaLocation + ".");
-            return;
-        }
-
-        try
-        {
-            InputStream source = new ByteArrayInputStream(buffer.toByteArray());
-            writeInputStreamToFile(source, filename);
-        }
-        catch (IOException e)
-        {
-            warning("Could not write to file " + filename + " for " + schemaLocation + ":" + e.getMessage());
-            return;
-        }
-
-        warning("Refreshed " + filename + " from " + schemaLocation);
-    }
-
-    private SchemaResource copyOrIdentifyDuplicateURL(String schemaLocation, String namespace)
-    {
-        String targetFilename;
-        String digest;
-        SchemaResource result;
-
-        try
-        {
-            targetFilename = uniqueFilenameForURI(schemaLocation);
-        }
-        catch (URISyntaxException e)
-        {
-            warning("Invalid URI '" + schemaLocation + "':" + e.getMessage());
-            return null;
-        }
-        catch (IOException e)
-        {
-            warning("Could not create local file for " + schemaLocation + ":" + e.getMessage());
-            return null;
-        }
-
-        try
-        {
-            URL url = new URL( schemaLocation );
-            DigestInputStream input = digestInputStream(url.openStream());
-            writeInputStreamToFile(input, targetFilename);
-            digest = HexBin.bytesToString(input.getMessageDigest().digest());
-        }
-        catch (Exception e)
-        {
-            warning("Could not copy remote resource " + schemaLocation + ":" + e.getMessage());
-            return null;
-        }
-
-        result = (SchemaResource)_resourceForDigest.get(digest);
-        if (result != null)
-        {
-            deleteFile(targetFilename);
-            result.addSchemaLocation(schemaLocation);
-            if (!_resourceForURL.containsKey(schemaLocation))
-                _resourceForURL.put(schemaLocation, result);
-            return result;
-        }
-
-        warning("Downloaded " + schemaLocation + " to " + targetFilename);
-
-        DownloadedSchemaEntry newEntry = addNewEntry();
-        newEntry.setFilename(targetFilename);
-        newEntry.setSha1(digest);
-        if (namespace != null)
-            newEntry.setNamespace(namespace);
-        newEntry.addSchemaLocation(schemaLocation);
-        return updateResource(newEntry);
-    }
-
-    /**
-     * Updates actual namespace in the table.
-     */
-    public void reportActualNamespace(SchemaImportResolver.SchemaResource rresource, String actualNamespace)
-    {
-        SchemaResource resource = (SchemaResource)rresource;
-        String oldNamespace = resource.getNamespace();
-        if (oldNamespace != null && _resourceForNamespace.get(oldNamespace) == resource)
-            _resourceForNamespace.remove(oldNamespace);
-        if (!_resourceForNamespace.containsKey(actualNamespace))
-            _resourceForNamespace.put(actualNamespace, resource);
-        resource.setNamespace(actualNamespace);
-    }
-
-    private String shaDigestForFile(String filename) throws IOException
-    {
-        DigestInputStream str = digestInputStream(inputStreamForFile(filename));
-
-        byte[] dummy = new byte[4096];
-        for (int i = 1; i > 0; i = str.read(dummy));
-
-        str.close();
-
-        return HexBin.bytesToString(str.getMessageDigest().digest());
-    }
-
-    // SOME METHODS TO OVERRIDE ============================
-
-    protected String getIndexFilename()
-    {
-        return "./xsdownload.xml";
-    }
-
-    protected String getDefaultSchemaDir()
-    {
-        return "./schema";
-    }
-
-    /**
-     * Produces diagnostic messages such as "downloading X to file Y".
-     */
-    abstract protected void warning(String msg);
-
-    /**
-     * Returns true if the given filename exists.  The filenames
-     * are of the form "/foo/bar/zee.xsd" and should be construed
-     * as rooted at the root of the project.
-     */
-    abstract protected boolean fileExists(String filename);
-
-    /**
-     * Gets the data in the given filename as an InputStream.
-     */
-    abstract protected InputStream inputStreamForFile(String filename) throws IOException;
-
-    /**
-     * Writes an entire file in one step.  An InputStream is passed and
-     * copied to the file.
-     */
-    abstract protected void writeInputStreamToFile(InputStream input, String filename) throws IOException;
-
-    /**
-     * Deletes a file.  Sometimes immediately after writing a new file
-     * we notice that it's exactly the same as an existing file and
-     * we delete it. We never delete a file that was given to us
-     * by the user.
-     */
-    abstract protected void deleteFile(String filename);
-
-    /**
-     * Returns a list of all the XSD filesnames in the project.
-     */
-    abstract protected String[] getAllXSDFilenames();
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CodeGenUtil.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CodeGenUtil.java
deleted file mode 100644
index 209e66a..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CodeGenUtil.java
+++ /dev/null
@@ -1,415 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-import java.util.Arrays;
-import java.io.File;
-import java.io.InputStream;
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.io.FileFilter;
-import java.io.FileWriter;
-import java.net.URI;
-import java.net.URISyntaxException;
-
-public class CodeGenUtil
-{
-    public static String DEFAULT_MEM_START = "8m";
-    public static String DEFAULT_MEM_MAX = "256m";
-    public static String DEFAULT_COMPILER = "javac";
-    public static String DEFAULT_JAR = "jar";
-
-    //workaround for Sun bug # 4723726
-    public static URI resolve(URI base, URI child)
-    {
-        URI ruri = base.resolve(child);
-        
-        //fix up normalization bug
-        if ("file".equals(ruri.getScheme()) && ! child.equals(ruri))
-        {
-            if (base.getPath().startsWith("//") && !ruri.getPath().startsWith("//"))
-            {
-                String path = "///".concat(ruri.getPath());
-                try
-                {
-                    ruri = new URI("file", null, path, ruri.getQuery(), ruri.getFragment());
-                }
-                catch(URISyntaxException uris)
-                {}
-            }
-        }
-        return ruri;
-    }
-    
-    static void addAllJavaFiles(List srcFiles, List args)
-    {
-        for (Iterator i = srcFiles.iterator(); i.hasNext(); )
-        {
-            File f = (File)i.next();
-            if (!f.isDirectory())
-            {
-                args.add(quoteAndEscapeFilename(f.getAbsolutePath()));
-            }
-            else
-            {
-                List inside = (Arrays.asList(f.listFiles(
-                    new FileFilter()
-                    {
-                        public boolean accept(File file)
-                            { return (file.isFile() && file.getName().endsWith(".java")) || file.isDirectory(); }
-                    }
-                )));
-                addAllJavaFiles(inside, args);
-            }
-        }
-    }
-
-    static private String quoteAndEscapeFilename(String filename)
-    {
-        // don't quote if there's no space
-        if (filename.indexOf(" ") < 0)
-            return filename;
-
-        // bizarre.  javac expects backslash escaping if we quote the classpath
-        // bizarre also.  replaceAll expects replacement backslashes to be double escaped.
-        return "\"" + filename.replaceAll("\\\\", "\\\\\\\\") + "\"";
-    }
-
-    static private String quoteNoEscapeFilename(String filename)
-    {
-        // don't quote if there's no space, and don't quote on linux
-        if (filename.indexOf(" ") < 0 || File.separatorChar == '/')
-            return filename;
-
-        return "\"" + filename + "\"";
-    }
-
-    /**
-     * Invokes javac on the generated source files in order to turn them
-     * into binary files in the output directory.  This will return a list of
-     * <code>GenFile</code>s for all of the classes produced or null if an
-     * error occurred.
-     *
-     * @deprecated
-     */
-    static public boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug)
-    {
-        return externalCompile(srcFiles, outdir, cp, debug, DEFAULT_COMPILER, DEFAULT_MEM_START, DEFAULT_MEM_MAX, false, false);
-    }
-
-    /**
-     * Invokes javac on the generated source files in order to turn them
-     * into binary files in the output directory.  This will return a list of
-     * <code>GenFile</code>s for all of the classes produced or null if an
-     * error occurred.
-     */
-    static public boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax,  boolean quiet, boolean verbose)
-    {
-        List args = new ArrayList();
-
-        File javac = findJavaTool(javacPath == null ? DEFAULT_COMPILER : javacPath);
-        assert (javac.exists()) : "compiler not found " + javac;
-        args.add(javac.getAbsolutePath());
-
-        if (outdir == null)
-        {
-            outdir = new File(".");
-        }
-        else
-        {
-            args.add("-d");
-            args.add(quoteAndEscapeFilename(outdir.getAbsolutePath()));
-        }
-
-        if (cp == null)
-        {
-            cp = systemClasspath();
-        }
-
-        if (cp.length > 0)
-        {
-            StringBuffer classPath = new StringBuffer();
-            // Add the output directory to the classpath.  We do this so that
-            // javac will be able to find classes that were compiled
-            // previously but are not in the list of sources this time.
-            classPath.append(outdir.getAbsolutePath());
-
-            // Add everything on our classpath.
-            for (int i = 0; i < cp.length; i++)
-            {
-                classPath.append(File.pathSeparator);
-                classPath.append(cp[i].getAbsolutePath());
-            }
-
-            args.add("-classpath");
-
-            // bizarre.  javac expects backslash escaping if we quote the classpath
-            args.add(quoteAndEscapeFilename(classPath.toString()));
-        }
-
-        args.add("-source");
-        args.add("1.4");
-
-        args.add(debug ? "-g" : "-g:none");
-
-        if (verbose)
-            args.add("-verbose");
-
-        addAllJavaFiles(srcFiles, args);
-
-        File clFile = null;
-        try
-        {
-            clFile = File.createTempFile("javac", "");
-            FileWriter fw = new FileWriter(clFile);
-            Iterator i = args.iterator();
-            for (i.next(); i.hasNext();)
-            {
-                String arg = (String)i.next();
-                fw.write(arg);
-                fw.write('\n');
-            }
-            fw.close();
-            List newargs = new ArrayList();
-            newargs.add(args.get(0));
-            
-            if (memStart != null && memStart.length() != 0)
-                newargs.add("-J-Xms" + memStart);
-            if (memMax != null && memMax.length() != 0)
-                newargs.add("-J-Xmx" + memMax);
-            
-            newargs.add("@" + clFile.getAbsolutePath());
-            args = newargs;
-        }
-        catch (Exception e)
-        {
-            System.err.println("Could not create command-line file for javac");
-        }
-
-        try
-        {
-            String[] strArgs = (String[]) args.toArray(new String[args.size()]);
-
-            if (verbose)
-            {
-                System.out.print("compile command:");
-                for (int i = 0; i < strArgs.length; i++)
-                    System.out.print(" " + strArgs[i]);
-                System.out.println();
-            }
-
-            final Process proc = Runtime.getRuntime().exec(strArgs);
-
-            StringBuffer errorBuffer = new StringBuffer();
-            StringBuffer outputBuffer = new StringBuffer();
-
-            ThreadedReader out = new ThreadedReader(proc.getInputStream(), outputBuffer);
-            ThreadedReader err = new ThreadedReader(proc.getErrorStream(), errorBuffer);
-
-            proc.waitFor();
-
-            if (verbose || proc.exitValue() != 0)
-            {
-                if (outputBuffer.length() > 0) {
-                    System.out.println(outputBuffer.toString());
-                    System.out.flush();
-                }
-                if (errorBuffer.length() > 0) {
-                    System.err.println(errorBuffer.toString());
-                    System.err.flush();
-                }
-                
-                if (proc.exitValue() != 0)
-                    return false;
-            }
-        }
-        catch (Throwable e)
-        {
-            System.err.println(e.toString());
-            System.err.println(e.getCause());
-            e.printStackTrace(System.err);
-            return false;
-        }
-
-        if (clFile != null)
-            clFile.delete();
-
-        return true;
-    }
-
-    public static File[] systemClasspath()
-    {
-        List cp = new ArrayList();
-        String[] systemcp = System.getProperty("java.class.path").split(File.pathSeparator);
-        for (int i = 0; i < systemcp.length; i++)
-        {
-            cp.add(new File(systemcp[i]));
-        }
-        return (File[])cp.toArray(new File[cp.size()]);
-    }
-
-  //Note - I have added a new class, JarHelper, in impl.common which provides
-  //more jarring functionality and does not require invoking jar.exe.  You
-  //may want to consider migrating your code to use this as it will be
-  //considerably faster.  pcal  12/10/2003
-
-  /**
-   * @deprecated Use org.apache.xmlbeans.impl.common.JarHelper instead.
-   */
-    static public boolean externalJar(File srcdir, File outfile)
-    {
-        return externalJar(srcdir, outfile, DEFAULT_JAR, false, false);
-    }
-
-  /**
-   * @deprecated Use org.apache.xmlbeans.impl.common.JarHelper instead.
-   */
-    static public boolean externalJar(File srcdir, File outfile, String jarPath, boolean quiet, boolean verbose)
-    {
-        List args = new ArrayList();
-
-        File jar = findJavaTool(jarPath == null ? DEFAULT_JAR : jarPath);
-        assert (jar.exists()) : "jar not found " + jar;
-        args.add(jar.getAbsolutePath());
-
-        args.add("cf" + (verbose ? "v" : ""));
-        args.add(quoteNoEscapeFilename(outfile.getAbsolutePath()));
-
-        args.add("-C");
-        args.add(quoteNoEscapeFilename(srcdir.getAbsolutePath()));
-
-        args.add(".");
-
-        try
-        {
-            String[] strArgs = (String[]) args.toArray(new String[args.size()]);
-
-            if (verbose)
-            {
-                System.out.print("jar command:");
-                for (int i = 0; i < strArgs.length; i++)
-                    System.out.print(" " + strArgs[i]);
-                System.out.println();
-            }
-
-            final Process proc = Runtime.getRuntime().exec(strArgs);
-
-            StringBuffer errorBuffer = new StringBuffer();
-            StringBuffer outputBuffer = new StringBuffer();
-
-            ThreadedReader out = new ThreadedReader(proc.getInputStream(), outputBuffer);
-            ThreadedReader err = new ThreadedReader(proc.getErrorStream(), errorBuffer);
-
-            proc.waitFor();
-
-            if (verbose || proc.exitValue() != 0)
-            {
-                if (outputBuffer.length() > 0) {
-                    System.out.println(outputBuffer.toString());
-                    System.out.flush();
-                }
-                if (errorBuffer.length() > 0) {
-                    System.err.println(errorBuffer.toString());
-                    System.err.flush();
-                }
-
-                if (proc.exitValue() != 0)
-                    return false;
-            }
-        }
-        catch (Throwable e)
-        {
-            e.printStackTrace(System.err);
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Look for tool in current directory and ${JAVA_HOME}/../bin and
-     * try with .exe file extension.
-     */ 
-    private static File findJavaTool(String tool)
-    {
-        File toolFile = new File(tool);
-        if (toolFile.isFile()) {
-            return toolFile;
-        }
-
-        File result = new File(tool + ".exe");
-        if (result.isFile()) {
-            return result;
-        }
-        
-        String home = System.getProperty("java.home");
-
-        String sep  = File.separator;
-        result = new File(home + sep + ".." + sep + "bin", tool);
-        
-        if (result.isFile()) {
-            return result;
-        }
-        
-        result = new File(result.getPath() + ".exe");
-        if (result.isFile()) {
-            return result;
-        }
-
-        result = new File(home + sep + "bin", tool);
-        if (result.isFile()) {
-            return result;
-        }
-
-        result = new File(result.getPath() + ".exe");
-        if (result.isFile()) {
-            return result;
-        }
-
-        // just return the original toolFile and hope that it is on the PATH.
-        return toolFile;
-    }
-
-    /**
-     * Reads the given input stream into the given buffer until there is
-     * nothing left to read.
-     */
-    static private class ThreadedReader
-    {
-        public ThreadedReader(InputStream stream, final StringBuffer output)
-        {
-            final BufferedReader reader =
-                new BufferedReader(new InputStreamReader(stream));
-
-            Thread readerThread = new Thread(new Runnable() {
-                public void run()
-                {
-                    String s;
-                    try
-                    {
-                        while ((s = reader.readLine()) != null)
-                            output.append(s + "\n");
-                    }
-                    catch (Exception e)
-                    {}
-                }
-            });
-            readerThread.start();
-        }
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CommandLine.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CommandLine.java
deleted file mode 100644
index 957ea04..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/CommandLine.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.impl.common.IOUtil;
-
-import java.util.Map;
-import java.util.LinkedHashMap;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.Collection;
-import java.io.File;
-import java.io.FileFilter;
-import java.net.URI;
-
-public class CommandLine
-{
-    public CommandLine(String[] args, Collection scheme)
-    {
-        _options = new LinkedHashMap();
-        ArrayList endargs = new ArrayList();
-
-        for (int i = 0; i < args.length; i++)
-        {
-            if (args[i].indexOf('-') == 0)
-            {
-                String opt = args[i].substring(1);
-                String val = null;
-                if (scheme != null && scheme.contains(opt) && i < args.length)
-                    val = args[++i];
-                else
-                    val = "";
-
-                _options.put(opt, val);
-            }
-            else
-            {
-                endargs.add(args[i]);
-            }
-        }
-
-        _args = (String[])endargs.toArray(new String[endargs.size()]);
-    }
-    
-    public static void printLicense()
-    {
-        try
-        {
-            IOUtil.copyCompletely(CommandLine.class.getClassLoader().getResourceAsStream("license.txt"), System.out);
-        }
-        catch (Exception e)
-        {
-            System.out.println("License available in this JAR in license.txt");
-        }
-    }
-
-    private Map _options;
-    private String[] _args;
-
-    public String[] args()
-    {
-        String[] result = new String[_args.length];
-        System.arraycopy(_args, 0, result, 0, _args.length);
-        return result;
-    }
-
-    public String getOpt(String opt)
-    {
-        return (String)_options.get(opt);
-    }
-
-    private static List collectFiles(File[] dirs)
-    {
-        List files = new ArrayList();
-        for (int i = 0; i < dirs.length; i++)
-        {
-            File f = dirs[i];
-            if (!f.isDirectory())
-            {
-                files.add(f);
-            }
-            else
-            {
-                files.addAll(collectFiles(f.listFiles()));
-            }
-        }
-        return files;
-    }
-
-    private List _files;
-    private File _baseDir;
-    private static final File[] EMPTY_FILEARRAY = new File[0];
-
-    private List getFileList()
-    {
-        if (_files == null)
-        {
-            String[] args = args();
-            File[] files = new File[args.length];
-            boolean noBaseDir = false;
-            for (int i = 0; i < args.length; i++)
-            {
-                files[i] = new File(args[i]);
-                if (!noBaseDir && (_baseDir == null)) 
-                {
-                    if (files[i].isDirectory())
-                        _baseDir = files[i];
-                    else
-                        _baseDir = files[i].getParentFile();
-                }
-                else
-                {
-                    URI currUri = files[i].toURI();
-                    
-                    // Give up on the basedir. There may be none
-                    if (_baseDir != null && _baseDir.toURI().relativize(currUri).equals(currUri))
-                    {
-                        _baseDir = null;
-                        noBaseDir = true;
-                    }
-                }
-            }
-            _files = Collections.unmodifiableList(collectFiles(files));
-        }
-        return _files;
-    }
-
-    public File[] getFiles()
-    {
-        return (File[])getFileList().toArray(EMPTY_FILEARRAY);
-    }
-
-    public File getBaseDir()
-    {
-        return _baseDir;
-    }
-
-    public File[] filesEndingWith(String ext)
-    {
-        List result = new ArrayList();
-        for (Iterator i = getFileList().iterator(); i.hasNext(); )
-        {
-            File f = (File)i.next();
-            if (f.getName().endsWith(ext))
-                result.add(f);
-        }
-        return (File[])result.toArray(EMPTY_FILEARRAY);
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Diff.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Diff.java
deleted file mode 100644
index 5415fc4..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Diff.java
+++ /dev/null
@@ -1,390 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import java.io.*;
-import java.util.List;
-import java.util.Arrays;
-import java.util.Comparator;
-import java.util.ArrayList;
-import java.util.jar.JarFile;
-import java.util.Enumeration;
-import java.util.zip.ZipEntry;
-
-public class Diff
-{
-    public static void main(String[] args)
-    {
-        if (args.length != 2)
-        {
-            System.out.println("Usage: diff <jarname1> <jarname2> to compare two jars");
-            System.out.println("  or   diff <dirname1> <dirname2> to compare two dirs");
-            return;
-        }
-        File file1 = new File(args[0]);
-        if (!file1.exists())
-        {
-            System.out.println("File \"" + args[0] + "\" not found.");
-            return;
-        }
-        File file2 = new File(args[1]);
-        if (!file2.exists())
-        {
-            System.out.println("File \"" + args[1] + "\" not found.");
-            return;
-        }
-        List result = new ArrayList();
-        if (file1.isDirectory())
-        {
-            if (!file2.isDirectory())
-            {
-                System.out.println("Both parameters have to be directories if the first parameter is a directory.");
-                return;
-            }
-            dirsAsTypeSystems(file1, file2, result);
-        }
-        else
-        {
-            if (file2.isDirectory())
-            {
-                System.out.println("Both parameters have to be jar files if the first parameter is a jar file.");
-                return;
-            }
-            try
-            {
-            JarFile jar1 = new JarFile(file1);
-            JarFile jar2 = new JarFile(file2);
-            jarsAsTypeSystems(jar1, jar2, result);
-            }
-            catch (IOException ioe)
-            { ioe.printStackTrace(); }
-        }
-        if (result.size() < 1)
-            System.out.println("No differences encountered.");
-        else
-        {
-            System.out.println("Differences:");
-            for (int i = 0; i < result.size(); i++)
-                System.out.println(result.get(i).toString());
-        }
-    }
-
-    /**
-     * Diffs the contents of two jars, looking only at the schema typesystems
-     * saved inside those jars
-     */
-    public static void jarsAsTypeSystems(JarFile jar1, JarFile jar2, List diffs)
-    {
-        Enumeration entries1 = jar1.entries();
-        Enumeration entries2 = jar2.entries();
-        List list1 = new ArrayList();
-        List list2 = new ArrayList();
-        for (; entries1.hasMoreElements(); )
-        {
-            ZipEntry ze = (ZipEntry) entries1.nextElement();
-            String name = ze.getName();
-            if (name.startsWith("schema/system/s") && name.endsWith(".xsb"))
-                list1.add(ze);
-        }
-        for (; entries2.hasMoreElements(); )
-        {
-            ZipEntry ze = (ZipEntry) entries2.nextElement();
-            String name = ze.getName();
-            if (name.startsWith("schema/system/s") && name.endsWith(".xsb"))
-                list2.add(ze);
-        }
-        ZipEntry[] files1 = (ZipEntry[]) list1.toArray(new ZipEntry[list1.size()]);
-        ZipEntry[] files2 = (ZipEntry[]) list2.toArray(new ZipEntry[list2.size()]);
-        ZipEntryNameComparator comparator = new ZipEntryNameComparator();
-        Arrays.sort(files1, comparator);
-        Arrays.sort(files2, comparator);
-        int i1 = 0;
-        int i2 = 0;
-        while (i1 < files1.length && i2 < files2.length)
-        {
-            String name1 = files1[i1].getName();
-            String name2 = files2[i2].getName();
-            int dif = name1.compareTo(name2);
-            if (dif == 0)
-            {
-                // Compare the files
-                zipEntriesAsXsb(files1[i1], jar1, files2[i2], jar2, diffs);
-                i1++; i2++; // Move to next pair
-            }
-            else if (dif < 0)
-            {
-                // dir1 contains a file that dir2 doesn't
-                diffs.add("Jar \"" + jar1.getName() + "\" contains an extra file: \"" +
-                    name1 + "\"");
-                i1++;
-            }
-            else if (dif > 0)
-            {
-                // dir2 contains a file that dir1 doesn't
-                diffs.add("Jar \"" + jar2.getName() + "\" contains an extra file: \"" +
-                    name2 + "\"");
-                i2++;
-            }
-        }
-        while (i1 < files1.length)
-        {
-            diffs.add("Jar \"" + jar1.getName() + "\" contains an extra file: \"" +
-                files1[i1].getName() + "\"");
-            i1++;
-        }
-        while (i2 < files2.length)
-        {
-            diffs.add("Jar \"" + jar2.getName() + "\" contains an extra file: \"" +
-                files2[i2].getName() + "\"");
-            i2++;
-        }
-    }
-
-    /**
-     * Diffs the contents of two dirs looking only at the xsb files
-     * contained in these two dirs
-     * Updated diffs with a list of differences (for the time being, strings
-     * describing the difference)
-     */
-    public static void dirsAsTypeSystems(File dir1, File dir2, List diffs)
-    {
-        assert dir1.isDirectory() : "Parameters must be directories";
-        assert dir2.isDirectory() : "Parameters must be directories";
-
-        /**
-         * Navigate three directories deep to get to the type system.
-         * Assume the schema/system/* structure
-         */
-        File temp1 = new File(dir1, "schema/system");
-        File temp2 = new File(dir2, "schema/system");
-        if (temp1.exists() && temp2.exists())
-        {
-            File[] files1 = temp1.listFiles();
-            File[] files2 = temp2.listFiles();
-            if (files1.length == 1 && files2.length == 1)
-            {
-                temp1 = files1[0];
-                temp2 = files2[0];
-            }
-            else
-            {
-                if (files1.length == 0)
-                    temp1 = null;
-                if (files2.length == 0)
-                    temp2 = null;
-                if (files1.length > 1)
-                {
-                    diffs.add("More than one typesystem found in dir \"" +
-                        dir1.getName() + "\"");
-                    return;
-                }
-                if (files2.length > 1)
-                {
-                    diffs.add("More than one typesystem found in dir \"" +
-                        dir2.getName() + "\"");
-                    return;
-                }                    
-            }
-        }
-        else
-        {
-            if (!temp1.exists())
-                temp1 = null;
-            if (!temp2.exists())
-                temp2 = null;
-        }
-        if (temp1 == null && temp2 == null)
-            return;
-        else if (temp1 == null || temp2 == null)
-        {
-            if (temp1 == null)
-                diffs.add("No typesystems found in dir \"" + dir1 + "\"");
-            if (temp2 == null)
-                diffs.add("No typesystems found in dir \"" + dir2 + "\"");
-            return;
-        }
-        else
-        {
-            dir1 = temp1;
-            dir2 = temp2;
-        }
-
-        XsbFilenameFilter xsbName = new XsbFilenameFilter();
-        File[] files1 = dir1.listFiles(xsbName);
-        File[] files2 = dir2.listFiles(xsbName);
-        FileNameComparator comparator = new FileNameComparator();
-        Arrays.sort(files1, comparator);
-        Arrays.sort(files2, comparator);
-        int i1 = 0;
-        int i2 = 0;
-        while (i1 < files1.length && i2 < files2.length)
-        {
-            String name1 = files1[i1].getName();
-            String name2 = files2[i2].getName();
-            int dif = name1.compareTo(name2);
-            if (dif == 0)
-            {
-                filesAsXsb(files1[i1], files2[i2], diffs); // Compare the files
-                i1++; i2++; // Move to next pair
-            }
-            else if (dif < 0)
-            {
-                // dir1 contains a file that dir2 doesn't
-                diffs.add("Dir \"" + dir1.getName() + "\" contains an extra file: \"" +
-                    name1 + "\"");
-                i1++;
-            }
-            else if (dif > 0)
-            {
-                // dir2 contains a file that dir1 doesn't
-                diffs.add("Dir \"" + dir2.getName() + "\" contains an extra file: \"" +
-                    name2 + "\"");
-                i2++;
-            }
-        }
-        while (i1 < files1.length)
-        {
-            diffs.add("Dir \"" + dir1.getName() + "\" contains an extra file: \"" +
-                files1[i1].getName() + "\"");
-            i1++;
-        }
-        while (i2 < files2.length)
-        {
-            diffs.add("Dir \"" + dir2.getName() + "\" contains an extra file: \"" +
-                files2[i2].getName() + "\"");
-            i2++;
-        }
-    }
-
-    /**
-     * Diffs the two given files assuming they are in xsb format
-     * Updates diffs with differences in string format
-     */
-    public static void filesAsXsb(File file1, File file2, List diffs)
-    {
-        assert file1.exists() : "File \"" + file1.getAbsolutePath() + "\" does not exist.";
-        assert file2.exists() : "File \"" + file2.getAbsolutePath() + "\" does not exist.";
-        try
-        {
-        FileInputStream stream1 = new FileInputStream(file1);
-        FileInputStream stream2 = new FileInputStream(file2);
-        streamsAsXsb(stream1, file1.getName(), stream2, file2.getName(), diffs);
-        }
-        catch (FileNotFoundException fnfe)
-        { }
-        catch (IOException ioe)
-        { }
-    }
-
-    public static void zipEntriesAsXsb(ZipEntry file1, JarFile jar1,
-        ZipEntry file2, JarFile jar2, List diffs)
-    {
-        try
-        {
-        InputStream stream1 = jar1.getInputStream(file1);
-        InputStream stream2 = jar2.getInputStream(file2);
-        streamsAsXsb(stream1, file1.getName(), stream2, file2.getName(), diffs);
-        }
-        catch (IOException ioe)
-        { }
-    }
-
-    public static void streamsAsXsb(InputStream stream1, String name1,
-        InputStream stream2, String name2, List diffs)
-        throws IOException
-    {
-        ByteArrayOutputStream buf1 = new ByteArrayOutputStream();
-        ByteArrayOutputStream buf2 = new ByteArrayOutputStream();
-        XsbDumper.dump(stream1, "", new PrintStream(buf1));
-        XsbDumper.dump(stream2, "", new PrintStream(buf2));
-        stream1.close();
-        stream2.close();
-        readersAsText(new StringReader(buf1.toString()), name1,
-            new StringReader(buf2.toString()), name2, diffs);
-    }
-
-    public static void readersAsText(Reader r1, String name1, Reader r2, String name2,
-        List diffs)
-        throws IOException
-    {
-        LineNumberReader reader1 = new LineNumberReader(r1);
-        LineNumberReader reader2 = new LineNumberReader(r2);
-        String line1 = reader1.readLine();
-        String line2 = reader2.readLine();
-        while (line1 != null && line2 != null)
-        {
-            if (!line1.equals(line2))
-            {
-                diffs.add("File \"" + name1 + "\" and file \"" +
-                    name2 + "\" differ at line " + reader1.getLineNumber() +
-                    ":" + "\n" + line1 + "\n========\n" + line2);
-                break;
-            }
-            line1 = reader1.readLine();
-            line2 = reader2.readLine();
-        }
-        if (line1 == null && line2 != null)
-            diffs.add("File \"" + name2 + "\" has extra lines at line " +
-                reader2.getLineNumber() + ":\n" + line2);
-        if (line1 != null && line2 == null)
-            diffs.add("File \"" + name1 + "\" has extra lines at line " +
-                reader1.getLineNumber() + ":\n" + line1);
-    }
-
-    private static class XsbFilenameFilter implements FilenameFilter
-    {
-        public boolean accept(File dir, String name)
-        {
-            return name.endsWith(".xsb");
-        }
-    }
-
-    private static class ZipEntryNameComparator implements Comparator
-    {
-        public boolean equals(Object object)
-        {
-            return this == object;
-        }
-
-        public int compare(Object object1, Object object2)
-        {
-            assert (object1 instanceof ZipEntry) : "Must pass in a java.util.zip.ZipEntry as argument";
-            assert (object2 instanceof ZipEntry) : "Must pass in a java.util.zip.ZipEntry as argument";
-
-            String name1 = ((ZipEntry) object1).getName();
-            String name2 = ((ZipEntry) object2).getName();
-            return name1.compareTo(name2);
-        }
-    }
-
-    private static class FileNameComparator implements Comparator
-    {
-        public boolean equals(Object object)
-        {
-            return this == object;
-        }
-
-        public int compare(Object object1, Object object2)
-        {
-            assert (object1 instanceof File) : "Must pass in a java.io.File as argument";
-            assert (object2 instanceof File) : "Must pass in a java.io.File as argument";
-
-            String name1 = ((File) object1).getName();
-            String name2 = ((File) object2).getName();
-            return name1.compareTo(name2);
-        }
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Extension.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Extension.java
deleted file mode 100644
index ffd7b8d..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/Extension.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import java.util.List;
-import java.util.ArrayList;
-
-
- /**
-  * An extension is a javabean that represents a SchemaCompilerExtension to be passed for callback into the
-  *  XmlBeans Schema Compiler.
-  */
-public class Extension {
-        private Class className;
-        private List params = new ArrayList();
-
-        public Class getClassName() {
-            return className;
-        }
-
-        public void setClassName(Class className) {
-            this.className = className;
-        }
-        public List getParams() {
-            return params;
-        }
-
-        public Param createParam() {
-            Param p = new Param();
-            params.add(p);
-            return p;
-        }
-
-        /**
-         * A Param is just a name value pair applicable to the extension.
-         */
-        public class Param {
-            private String name;
-            private String value;
-
-            public String getName() {
-                return name;
-            }
-
-            public void setName(String name) {
-                this.name = name;
-            }
-
-            public String getValue() {
-                return value;
-            }
-
-            public void setValue(String value) {
-                this.value = value;
-            }
-        }
-    }
\ No newline at end of file
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/FactorImports.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/FactorImports.java
deleted file mode 100644
index 0409052..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/FactorImports.java
+++ /dev/null
@@ -1,435 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.w3.x2001.xmlSchema.TopLevelComplexType;
-import org.w3.x2001.xmlSchema.TopLevelSimpleType;
-import org.w3.x2001.xmlSchema.TopLevelElement;
-import org.w3.x2001.xmlSchema.TopLevelAttribute;
-import org.w3.x2001.xmlSchema.NamedGroup;
-import org.w3.x2001.xmlSchema.NamedAttributeGroup;
-import org.w3.x2001.xmlSchema.FormChoice;
-import org.w3.x2001.xmlSchema.IncludeDocument;
-
-import java.util.Arrays;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.HashMap;
-import java.io.File;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-
-import javax.xml.namespace.QName;
-
-/**
- * This program takes a collection of .xsd files as input, finds all duplicate
- * name definitions, and factors out the first instance of each of those into
- * a common.xsd file, adding an appropriate <import> statement in the original
- * xsd file.
- */ 
-public class FactorImports
-{
-    public static void main(String[] args) throws Exception
-    {
-        CommandLine cl = new CommandLine(args, Arrays.asList(new String[] {"import", "out"}));
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-
-        args = cl.args();
-        if (args.length != 1)
-        {
-            System.out.println("Refactors a directory of .xsd files to remove name conflicts");
-            System.out.println("Usage:");
-            System.out.println("sfactor [-import common.xsd] [-out outputdir] inputdir");
-            System.out.println(" where inputdir is a directory containing .xsd files");
-            System.out.println(" and outputdir is a directory into which new xsd files,");
-            System.out.println(" plus a commonly imported common.xsd, is placed.");
-            System.out.println(" -license prints license information");
-            System.exit(0);
-            return;
-        }
-        
-        String commonName = cl.getOpt("import");
-        if (commonName == null)
-            commonName = "common.xsd";
-        
-        String out = cl.getOpt("out");
-        if (out == null)
-        {
-            System.out.println("Using output directory 'out'");
-            out = "out";
-        }
-        File outdir = new File(out);
-        File basedir = new File(args[0]);
-        
-        // first, parse all the schema files
-        File[] files = cl.getFiles();
-        Map schemaDocs = new HashMap();
-        Set elementNames = new HashSet();
-        Set attributeNames = new HashSet();
-        Set typeNames = new HashSet();
-        Set modelGroupNames = new HashSet();
-        Set attrGroupNames = new HashSet();
-        
-        Set dupeElementNames = new HashSet();
-        Set dupeAttributeNames = new HashSet();
-        Set dupeTypeNames = new HashSet();
-        Set dupeModelGroupNames = new HashSet();
-        Set dupeAttrGroupNames = new HashSet();
-        Set dupeNamespaces = new HashSet();
-        
-        for (int i = 0; i < files.length; i++)
-        {
-            try
-            {
-                // load schema
-                SchemaDocument doc = SchemaDocument.Factory.parse(files[i]);
-                schemaDocs.put(doc, files[i]);
-                
-                // warn about for imports, includes
-                if (doc.getSchema().sizeOfImportArray() > 0 || doc.getSchema().sizeOfIncludeArray() > 0)
-                    System.out.println("warning: " + files[i] + " contains imports or includes that are being ignored.");
-                
-                // collect together names
-                String targetNamespace = doc.getSchema().getTargetNamespace();
-                if (targetNamespace == null)
-                    targetNamespace = "";
-                
-                TopLevelComplexType ct[] = doc.getSchema().getComplexTypeArray();
-                for (int j = 0; j < ct.length; j++)
-                    noteName(ct[j].getName(), targetNamespace, typeNames, dupeTypeNames, dupeNamespaces);
-
-                TopLevelSimpleType st[] = doc.getSchema().getSimpleTypeArray();
-                for (int j = 0; j < st.length; j++)
-                    noteName(st[j].getName(), targetNamespace, typeNames, dupeTypeNames, dupeNamespaces);
-
-                TopLevelElement el[] = doc.getSchema().getElementArray();
-                for (int j = 0; j < el.length; j++)
-                    noteName(el[j].getName(), targetNamespace, elementNames, dupeElementNames, dupeNamespaces);
-
-                TopLevelAttribute at[] = doc.getSchema().getAttributeArray();
-                for (int j = 0; j < at.length; j++)
-                    noteName(at[j].getName(), targetNamespace, attributeNames, dupeAttributeNames, dupeNamespaces);
-                
-                NamedGroup gr[] = doc.getSchema().getGroupArray();
-                for (int j = 0; j < gr.length; j++)
-                    noteName(gr[j].getName(), targetNamespace, modelGroupNames, dupeModelGroupNames, dupeNamespaces);
-                
-                NamedAttributeGroup ag[] = doc.getSchema().getAttributeGroupArray();
-                for (int j = 0; j < ag.length; j++)
-                    noteName(ag[j].getName(), targetNamespace, attrGroupNames, dupeAttrGroupNames, dupeNamespaces);
-                
-            }
-            catch (XmlException e)
-            {
-                System.out.println("warning: " + files[i] + " is not a schema file - " + e.getError().toString());
-            }
-            catch (IOException e)
-            {
-                System.err.println("Unable to load " + files[i] + " - " + e.getMessage());
-                System.exit(1);
-                return;
-            }
-        }
-        
-        if (schemaDocs.size() == 0)
-        {
-            System.out.println("No schema files found.");
-            System.exit(0);
-            return;
-        }
-        
-        if (dupeTypeNames.size() + dupeElementNames.size() + dupeAttributeNames.size() +
-                dupeModelGroupNames.size() + dupeAttrGroupNames.size() == 0)
-        {
-            System.out.println("No duplicate names found.");
-            System.exit(0);
-            return;
-        }
-        
-        // create a schema doc for each namespace to be imported
-        Map commonDocs = new HashMap();
-        Map commonFiles = new HashMap();
-        int count = dupeNamespaces.size() == 1 ? 0 : 1;
-        for (Iterator i = dupeNamespaces.iterator(); i.hasNext(); )
-        {
-            String namespace = (String)i.next();
-            SchemaDocument commonDoc = SchemaDocument.Factory.parse(
-                    "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'/>"
-            );
-            if (namespace.length() > 0)
-                commonDoc.getSchema().setTargetNamespace(namespace);
-            commonDoc.getSchema().setElementFormDefault(FormChoice.QUALIFIED);
-            commonDocs.put(namespace, commonDoc);
-            commonFiles.put(commonDoc, commonFileFor(commonName, namespace, count++, outdir));
-        }
-        
-        // pull out all the duplicate definitions and drop them into the file
-        // we reuse the elementNames (etc) sets to keep track of which definitions
-        // we have already inserted.
-        for (Iterator i = schemaDocs.keySet().iterator(); i.hasNext(); )
-        {
-            SchemaDocument doc = (SchemaDocument)i.next();
-            
-            // collect together names
-            String targetNamespace = doc.getSchema().getTargetNamespace();
-            if (targetNamespace == null)
-                targetNamespace = "";
-            
-            SchemaDocument commonDoc = (SchemaDocument)commonDocs.get(targetNamespace);
-            
-            boolean needImport = false;
-                
-            TopLevelComplexType ct[] = doc.getSchema().getComplexTypeArray();
-            for (int j = ct.length - 1; j >= 0; j--)
-            {
-                if (!isDuplicate(ct[j].getName(), targetNamespace, dupeTypeNames))
-                    continue;
-                if (isFirstDuplicate(ct[j].getName(), targetNamespace, typeNames, dupeTypeNames))
-                    commonDoc.getSchema().addNewComplexType().set(ct[j]);
-                needImport = true;
-                doc.getSchema().removeComplexType(j);
-            }
-
-            TopLevelSimpleType st[] = doc.getSchema().getSimpleTypeArray();
-            for (int j = 0; j < st.length; j++)
-            {
-                if (!isDuplicate(st[j].getName(), targetNamespace, dupeTypeNames))
-                    continue;
-                if (isFirstDuplicate(st[j].getName(), targetNamespace, typeNames, dupeTypeNames))
-                    commonDoc.getSchema().addNewSimpleType().set(st[j]);
-                needImport = true;
-                doc.getSchema().removeSimpleType(j);
-            }
-
-            TopLevelElement el[] = doc.getSchema().getElementArray();
-            for (int j = 0; j < el.length; j++)
-            {
-                if (!isDuplicate(el[j].getName(), targetNamespace, dupeElementNames))
-                    continue;
-                if (isFirstDuplicate(el[j].getName(), targetNamespace, elementNames, dupeElementNames))
-                    commonDoc.getSchema().addNewElement().set(el[j]);
-                needImport = true;
-                doc.getSchema().removeElement(j);
-            }
-
-            TopLevelAttribute at[] = doc.getSchema().getAttributeArray();
-            for (int j = 0; j < at.length; j++)
-            {
-                if (!isDuplicate(at[j].getName(), targetNamespace, dupeAttributeNames))
-                    continue;
-                if (isFirstDuplicate(at[j].getName(), targetNamespace, attributeNames, dupeAttributeNames))
-                    commonDoc.getSchema().addNewElement().set(at[j]);
-                needImport = true;
-                doc.getSchema().removeElement(j);
-            }
-
-            NamedGroup gr[] = doc.getSchema().getGroupArray();
-            for (int j = 0; j < gr.length; j++)
-            {
-                if (!isDuplicate(gr[j].getName(), targetNamespace, dupeModelGroupNames))
-                    continue;
-                if (isFirstDuplicate(gr[j].getName(), targetNamespace, modelGroupNames, dupeModelGroupNames))
-                    commonDoc.getSchema().addNewElement().set(gr[j]);
-                needImport = true;
-                doc.getSchema().removeElement(j);
-            }
-                
-            NamedAttributeGroup ag[] = doc.getSchema().getAttributeGroupArray();
-            for (int j = 0; j < ag.length; j++)
-            {
-                if (!isDuplicate(ag[j].getName(), targetNamespace, dupeAttrGroupNames))
-                    continue;
-                if (isFirstDuplicate(ag[j].getName(), targetNamespace, attrGroupNames, dupeAttrGroupNames))
-                    commonDoc.getSchema().addNewElement().set(ag[j]);
-                needImport = true;
-                doc.getSchema().removeElement(j);
-            }
-            
-            if (needImport)
-            {
-                IncludeDocument.Include newInclude = doc.getSchema().addNewInclude();
-                File inputFile = (File)schemaDocs.get(doc);
-                File outputFile = outputFileFor(inputFile, basedir, outdir);
-                File commonFile = (File)commonFiles.get(commonDoc);
-                if (targetNamespace != null)
-                    newInclude.setSchemaLocation(relativeURIFor(outputFile, commonFile));
-            }
-        }
-        
-        // make the directory for output
-        if (!outdir.isDirectory() && !outdir.mkdirs())
-        {
-            System.err.println("Unable to makedir " + outdir);
-            System.exit(1);
-            return;
-        }
-        
-        // now write all those docs back out.
-        for (Iterator i = schemaDocs.keySet().iterator(); i.hasNext(); )
-        {
-            SchemaDocument doc = (SchemaDocument)i.next();
-            File inputFile = (File)schemaDocs.get(doc);
-            File outputFile = outputFileFor(inputFile, basedir, outdir);
-            if (outputFile == null)
-                System.out.println("Cannot copy " + inputFile);
-            else
-                doc.save(outputFile, new XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces());
-        }
-        
-        for (Iterator i = commonFiles.keySet().iterator(); i.hasNext(); )
-        {
-            SchemaDocument doc = (SchemaDocument)i.next();
-            File outputFile = (File)commonFiles.get(doc);
-            doc.save(outputFile, new XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces());
-        }
-        
-    }
-    
-    private static File outputFileFor(File file, File baseDir, File outdir)
-    {
-        URI base = baseDir.getAbsoluteFile().toURI();
-        URI abs = file.getAbsoluteFile().toURI();
-        URI rel = base.relativize(abs);
-        if (rel.isAbsolute())
-        {
-            System.out.println("Cannot relativize " + file);
-            return null;
-        }
-        
-        URI outbase = outdir.toURI();
-        URI out = CodeGenUtil.resolve(outbase, rel);
-        return new File(out);
-    }
-    
-    private static URI commonAncestor(URI first, URI second)
-    {
-        String firstStr = first.toString();
-        String secondStr = second.toString();
-        int len = firstStr.length();
-        if (secondStr.length() < len)
-            len = secondStr.length();
-        int i;
-        for (i = 0; i < len; i++)
-        {
-            if (firstStr.charAt(i) != secondStr.charAt(i))
-                break;
-        }
-        i -= 1;
-        if (i >= 0)
-            i = firstStr.lastIndexOf('/', i);
-        if (i < 0)
-            return null;
-        try
-        {
-            return new URI(firstStr.substring(0, i));
-        }
-        catch (URISyntaxException e)
-        {
-            return null;
-        }
-    }
-    
-    
-    private static String relativeURIFor(File source, File target)
-    {
-        URI base = source.getAbsoluteFile().toURI();
-        URI abs = target.getAbsoluteFile().toURI();
-        // find common substring...
-        URI commonBase = commonAncestor(base, abs);
-        if (commonBase == null)
-            return abs.toString();
-        
-        URI baserel = commonBase.relativize(base);
-        URI targetrel = commonBase.relativize(abs);
-        if (baserel.isAbsolute() || targetrel.isAbsolute())
-            return abs.toString();
-        String prefix = "";
-        String sourceRel = baserel.toString();
-        for (int i = 0; i < sourceRel.length();)
-        {
-            i = sourceRel.indexOf('/', i);
-            if (i < 0)
-                break;
-            prefix += "../";
-            i += 1;
-        }
-        return prefix + targetrel.toString();
-    }
-    
-    private static File commonFileFor(String commonName, String namespace, int i, File outdir)
-    {
-        String name = commonName;
-        if (i > 0)
-        {
-            int index = commonName.lastIndexOf('.');
-            if (index < 0)
-                index = commonName.length();
-            name = commonName.substring(0, index) + i + commonName.substring(index);
-        }
-        return new File(outdir, name);
-    }
-    
-    
-    private static void noteName(String name, String targetNamespace, Set seen, Set dupes, Set dupeNamespaces)
-    {
-        if (name == null)
-            return;
-        QName qName = new QName(targetNamespace, name);
-        if (seen.contains(qName))
-        {
-            dupes.add(qName);
-            dupeNamespaces.add(targetNamespace);
-        }
-        else
-            seen.add(qName);
-        
-    }
-        
-    private static boolean isFirstDuplicate(String name, String targetNamespace, Set notseen, Set dupes)
-    {
-        if (name == null)
-            return false;
-        QName qName = new QName(targetNamespace, name);
-        if (dupes.contains(qName) && notseen.contains(qName))
-        {
-            notseen.remove(qName);
-            return true;
-        }
-        return false;
-    }
-    
-    private static boolean isDuplicate(String name, String targetNamespace, Set dupes)
-    {
-        if (name == null)
-            return false;
-        QName qName = new QName(targetNamespace, name);
-        return (dupes.contains(qName));
-    }
-        
-    
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/InstanceValidator.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/InstanceValidator.java
deleted file mode 100644
index c23d8bf..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/InstanceValidator.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlException;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.io.File;
-
-public class InstanceValidator
-{
-    public static void main(String[] args)
-    {
-        CommandLine cl = new CommandLine(args, Collections.EMPTY_SET);
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-        if (cl.args().length == 0)
-        {
-            System.out.println("Validates a schema defintion and instances within the schema.");
-            System.out.println("Usage: validate [switches] schema.xsd instance.xml");
-            System.out.println("Switches:");
-            System.out.println("    -dl    enable network downloads for imports and includes");
-            System.out.println("    -nopvr disable particle valid (restriction) rule");
-            System.out.println("    -noupa diable unique particle attributeion rule");
-            System.out.println("    -license prints license information");
-            return;
-        }
-        
-        boolean dl = (cl.getOpt("dl") != null);
-        boolean nopvr = (cl.getOpt("nopvr") != null);
-        boolean noupa = (cl.getOpt("noupa") != null);
-        
-        File[] schemaFiles = cl.filesEndingWith(".xsd");
-        File[] instanceFiles = cl.filesEndingWith(".xml");
-        
-        List sdocs = new ArrayList();
-        
-        
-        for (int i = 0; i < schemaFiles.length; i++)
-        {
-            try
-            {
-                sdocs.add(
-                    XmlObject.Factory.parse(
-                        schemaFiles[i], (new XmlOptions()).setLoadLineNumbers().setLoadMessageDigest()));
-            }
-            catch (Exception e)
-            {
-                System.err.println( schemaFiles[i] + " not loadable: " + e );
-            }
-        }
-
-        XmlObject[] schemas = (XmlObject[])sdocs.toArray(new XmlObject[0]);
-
-        SchemaTypeLoader sLoader;
-        Collection compErrors = new ArrayList();
-        XmlOptions schemaOptions = new XmlOptions();
-        schemaOptions.setErrorListener(compErrors);
-        if (dl)
-            schemaOptions.setCompileDownloadUrls();
-        if (nopvr)
-            schemaOptions.setCompileNoPvrRule();
-        if (noupa)
-            schemaOptions.setCompileNoUpaRule();
-        
-        try
-        {
-            sLoader = XmlBeans.loadXsd(schemas, schemaOptions);
-        }
-        catch (Exception e)
-        {
-            if (compErrors.isEmpty() || !(e instanceof XmlException))
-            {
-                e.printStackTrace(System.err);
-            }
-            System.out.println("Schema invalid");
-            for (Iterator i = compErrors.iterator(); i.hasNext(); )
-                System.out.println(i.next());
-            return;
-        }
-        
-        for (int i = 0; i < instanceFiles.length; i++)
-        {
-            XmlObject xobj;
-            
-            try
-            {
-                xobj =
-                    sLoader.parse( instanceFiles[i], null, (new XmlOptions()).setLoadLineNumbers() );
-            }
-            catch (Exception e)
-            {
-                System.err.println(instanceFiles[i] + " not loadable: " + e);
-                e.printStackTrace(System.err);
-                continue;
-            }
-
-            Collection errors = new ArrayList();
-
-            if (xobj.schemaType() == XmlObject.type)
-            {
-                System.out.println(instanceFiles[i] + " NOT valid.  ");
-                System.out.println("  Document type not found." );
-            }
-            else if (xobj.validate(new XmlOptions().setErrorListener(errors)))
-                System.out.println(instanceFiles[i] + " valid.");
-            else
-            {
-                System.out.println(instanceFiles[i] + " NOT valid.");
-                for (Iterator it = errors.iterator(); it.hasNext(); )
-                {
-                    System.out.println(it.next());
-                }
-            }
-        }
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/PrettyPrinter.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/PrettyPrinter.java
deleted file mode 100644
index bb7a60b..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/PrettyPrinter.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlException;
-
-import java.util.Collections;
-import java.io.File;
-import java.io.IOException;
-import java.io.StringWriter;
-
-public class PrettyPrinter
-{
-    private static final int DEFAULT_INDENT = 2;
-
-    public static void main(String[] args)
-    {
-        CommandLine cl = new CommandLine(args, Collections.singleton("indent"));
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-        
-        if (cl.args().length == 0)
-        {
-            System.out.println("Pretty prints XML files.");
-            System.out.println("Usage: xpretty [switches] file.xml");
-            System.out.println("Switches:");
-            System.out.println("    -indent #   use the given indent");
-            System.out.println("    -license prints license information");
-            return;
-        }
-        
-        String indentStr = cl.getOpt("indent");
-        int indent;
-        if (indentStr == null)
-            indent = DEFAULT_INDENT;
-        else
-            indent = Integer.parseInt(indentStr);
-        
-        File[] files = cl.getFiles();
-        
-        for (int i = 0; i < files.length; i++)
-        {
-            XmlObject doc;
-            try
-            {
-                doc = XmlObject.Factory.parse(files[i], (new XmlOptions()).setLoadLineNumbers());
-            }
-            catch (Exception e)
-            {
-                System.err.println(files[i] + " not loadable: " + e.getMessage());
-                continue;
-            }
-            
-            try
-            {
-                doc.save(System.out, new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(indent));
-            }
-            catch (IOException e)
-            {
-                System.err.println("Unable to pretty print " + files[i] + ": " + e.getMessage());
-            }
-        }
-    }
-
-    public static String indent(String xmldoc)
-        throws IOException, XmlException
-    {
-        StringWriter sw = new StringWriter();
-        XmlObject doc = XmlObject.Factory.parse(xmldoc, (new XmlOptions()).setLoadLineNumbers());
-        doc.save(sw, new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(DEFAULT_INDENT));
-        sw.close();
-        return sw.getBuffer().toString();
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/RunXQuery.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/RunXQuery.java
deleted file mode 100644
index d2850e6..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/RunXQuery.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import java.io.*;
-import java.util.*;
-import org.apache.xmlbeans.*;
-
-public class RunXQuery
-{
-    public static void main ( String[] args ) throws Exception
-    {
-        CommandLine cl =
-            new CommandLine(
-                args,
-                Arrays.asList( new String[] { "q", "qf" } ) );
-        
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-
-        args = cl.args();
-        
-        if (args.length == 0)
-        {
-            System.out.println("Run an XQuery against an XML instance");
-            System.out.println("Usage:");
-            System.out.println("xquery [-verbose] [-pretty] [-q <query> | -qf query.xq] [file.xml]*");
-            System.out.println(" -q <query> to specify a query on the command-line");
-            System.out.println(" -qf <query> to specify a file containing a query");
-            System.out.println(" -pretty pretty-prints the results");
-            System.out.println(" -license prints license information");
-            System.out.println(" the query is run on each XML file specified");
-            System.out.println("");
-            System.exit(0);
-            return;
-        }
-
-        boolean verbose = cl.getOpt( "verbose" ) != null;
-        boolean pretty = cl.getOpt( "pretty" ) != null;
-
-        //
-        // Get and compile the query
-        //
-        
-        String query = cl.getOpt( "q" );
-        String queryfile = cl.getOpt( "qf" );
-
-        if (query == null && queryfile == null)
-        {
-            System.err.println( "No query specified" );
-            System.exit(0);
-            return;
-        }
-        
-        if (query != null && queryfile != null)
-        {
-            System.err.println( "Specify -qf or -q, not both." );
-            System.exit(0);
-            return;
-        }
-        
-        try
-        {
-            if (queryfile != null)
-            {
-                File queryFile = new File( queryfile );
-                FileInputStream is = new FileInputStream( queryFile );
-                InputStreamReader r = new InputStreamReader( is );
-                
-                StringBuffer sb = new StringBuffer();
-
-                for ( ; ; )
-                {
-                    int ch = r.read();
-
-                    if (ch < 0)
-                        break;
-
-                    sb.append( (char) ch );
-                }
-
-                r.close();
-                is.close();
-
-                query = sb.toString();
-            }
-        }
-        catch ( Throwable e )
-        {
-            System.err.println( "Cannot read query file: " + e.getMessage() );
-            System.exit(1);
-            return;
-        }
-
-        if (verbose)
-        {
-            System.out.println( "Compile Query:" );
-            System.out.println( query );
-            System.out.println();
-        }
-            
-        try
-        {
-            query= XmlBeans.compileQuery( query );
-        }
-        catch ( Exception e )
-        {
-            System.err.println( "Error compiling query: " + e.getMessage() );
-            System.exit(1);
-            return;
-        }
-
-        //
-        // Get the instance
-        //
-        
-        File[] files = cl.getFiles();
-        
-        for (int i = 0; i < files.length; i++)
-        {
-            XmlObject x;
-                
-            try
-            {
-                if (verbose)
-                {
-                    InputStream is = new FileInputStream( files[i] );
-
-                    for ( ; ; )
-                    {
-                        int ch = is.read();
-
-                        if (ch < 0)
-                            break;
-
-                        System.out.write( ch );
-                    }
-                    
-                    is.close();
-
-                    System.out.println();
-                }
-                
-                x = XmlObject.Factory.parse( files[i] );
-            }
-            catch ( Throwable e )
-            {
-                System.err.println( "Error parsing instance: " + e.getMessage() );
-                System.exit(1);
-                return;
-            }
-            
-            if (verbose)
-            {
-                System.out.println( "Executing Query..." );
-                System.err.println();
-            }
-    
-            XmlObject[] result = null;
-    
-            try
-            {
-                result = x.execQuery( query );
-            }
-            catch ( Throwable e )
-            {
-                System.err.println( "Error executing query: " + e.getMessage() );
-                System.exit(1);
-                return;
-            }
-    
-            if (verbose)
-            {
-                System.out.println( "Query Result:" );
-            }
-            
-            XmlOptions opts = new XmlOptions();
-            opts.setSaveOuter();
-            if (pretty)
-                opts.setSavePrettyPrint();
-            
-            for (int j = 0; j < result.length; j++)
-            {
-                result[j].save( System.out, opts );
-                System.out.println();
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCodeGenerator.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCodeGenerator.java
deleted file mode 100644
index 9619001..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCodeGenerator.java
+++ /dev/null
@@ -1,499 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.impl.common.IOUtil;
-import org.apache.xmlbeans.impl.common.XmlErrorWatcher;
-import org.apache.xmlbeans.impl.schema.SchemaTypeCodePrinter;
-import org.apache.xmlbeans.SchemaCodePrinter;
-import org.apache.xmlbeans.XmlOptions;
-import repackage.Repackager;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.StringWriter;
-import java.io.Reader;
-import java.io.Writer;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public class SchemaCodeGenerator
-{
-    // input directory, output dir filename
-    // todo: output jar
-    public static boolean compileTypeSystem(SchemaTypeSystem saver, File sourcedir, File[] javasrc,
-         Map sourcesToCopyMap, File[] classpath, File classesdir, File outputJar, boolean nojavac,
-         XmlErrorWatcher errors, String repackage, SchemaCodePrinter codePrinter, boolean verbose, List sourcefiles,
-        File schemasDir, boolean incrSrcGen)
-    {
-
-        if (sourcedir == null || classesdir == null)
-            throw new IllegalArgumentException("Source and class gen dir must not be null.");
-
-        boolean failure = false;
-
-        // Schema files already copyed when they where parsed
-//        if ((sourcesToCopyMap != null) && (sourcesToCopyMap.size() > 0))
-//        {
-//            for (Iterator iter = sourcesToCopyMap.keySet().iterator(); iter.hasNext();)
-//            {
-//                String key = (String)iter.next();
-//
-//                try
-//                {
-//                    String schemalocation = (String)sourcesToCopyMap.get(key);
-//
-//                    File targetFile = new File(schemasDir, schemalocation);
-//                    if (targetFile.exists())
-//                        continue;
-//
-//                    File parentDir = new File(targetFile.getParent());
-//                    IOUtil.createDir(parentDir, null);
-//
-//                    InputStream in = null;
-//                    URL url = new URL(key);
-//                    // Copy the file from filepath to schema/src/<schemaFile>
-//                    in = url.openStream();
-//
-//                    FileOutputStream out = new FileOutputStream(targetFile);
-//                    IOUtil.copyCompletely(in, out);
-//                }
-//                catch (IOException e)
-//                {
-//                    System.err.println("IO Error " + e);
-//                    // failure = true; - not cause for failure
-//                }
-//            }
-//        }
-
-        Repackager repackager = repackage == null ? null : new Repackager( repackage );
-
-        // Create XmlOptions - currently just for SchemaCodePrinter,
-        // but could be used more in future
-        XmlOptions opts = new XmlOptions();
-        if (codePrinter != null)
-        {
-            opts.setSchemaCodePrinter(codePrinter);
-        }
-
-        try
-        {
-            String filename = SchemaTypeCodePrinter.indexClassForSystem(saver).replace('.', File.separatorChar) + ".java";
-            File sourcefile = new File(sourcedir, filename);
-            sourcefile.getParentFile().mkdirs();
-
-            saveTypeSystem(saver, classesdir, sourcefile, repackager, opts);
-
-            sourcefiles.add(sourcefile);
-        }
-        catch (IOException e)
-        {
-            System.err.println("IO Error " + e);
-            failure = true;
-        }
-
-        failure &= genTypes(saver, sourcefiles, sourcedir, repackager, verbose, opts, incrSrcGen);
-
-        if (failure)
-            return false;
-
-        return true;
-    }
-
-    /**
-     * Saves a SchemaTypeSystem to the specified directory.
-     *
-     * @param system the <code>SchemaTypeSystem</code> to save
-     * @param classesDir the destination directory for xsb's
-     * @param sourceFile if present, the TypeSystemHolder source will be
-     *                   generated in this file for subsequent compilation,
-     *                   if null then the source will be generated in a temp
-     *                   directory and then compiled to the destination dir
-     * @param repackager the repackager to use when generating the holder class
-     * @param options options. Can be null
-     */
-    public static void saveTypeSystem(SchemaTypeSystem system, File classesDir,
-        File sourceFile, Repackager repackager, XmlOptions options)
-        throws IOException
-    {
-        system.saveToDirectory(classesDir);
-        options = XmlOptions.maskNull(options);
-
-        // Now generate the holder class
-        File source = sourceFile;
-        File tempDir = null;
-        if (source == null)
-        {
-            String filename = SchemaTypeCodePrinter.indexClassForSystem(system).replace('.',
-                File.separatorChar) + ".java";
-            tempDir = createTempDir();
-            File sourcedir = IOUtil.createDir(tempDir, "src");
-            source = new File(sourcedir, filename);
-            source.getParentFile().mkdirs();
-        }
-
-        Writer writer =
-            repackager == null
-                ? (Writer) new FileWriter( source )
-                : (Writer) new RepackagingWriter( source, repackager );
-
-        SchemaTypeCodePrinter.printLoader(writer, system, options);
-
-        writer.close();
-
-        if (tempDir != null)
-        {
-            // now compile the generated file to classesDir
-            List srcFiles = new ArrayList(1);
-            srcFiles.add(source);
-            CodeGenUtil.externalCompile(srcFiles, classesDir, null, false);
-            tryHardToDelete(tempDir);
-        }
-    }
-
-    private static boolean genTypes(SchemaTypeSystem saver, List sourcefiles, File sourcedir, Repackager repackager, boolean verbose, XmlOptions opts, boolean incrSrcGen)
-    {
-        boolean failure = false;
-
-        List types = new ArrayList();
-        types.addAll(Arrays.asList(saver.globalTypes()));
-        types.addAll(Arrays.asList(saver.documentTypes()));
-        types.addAll(Arrays.asList(saver.attributeTypes()));
-
-        Set seenFiles = null;
-        if (incrSrcGen)
-        {
-            seenFiles = new HashSet();
-            if (sourcefiles != null)
-                for (int i = 0; i < sourcefiles.size(); i++)
-                    seenFiles.add(sourcefiles.get(i));
-        }
-
-        for (Iterator i = types.iterator(); i.hasNext(); )
-        {
-            SchemaType type = (SchemaType)i.next();
-            if (verbose)
-                System.err.println("Compiling type " + type);
-            if (type.isBuiltinType())
-                continue;
-            if (type.getFullJavaName() == null)
-                continue;
-            
-            String fjn = type.getFullJavaName();
-
-            if (fjn.indexOf('$') > 0)
-            {
-                fjn =
-                    fjn.substring( 0, fjn.lastIndexOf( '.' ) ) + "." +
-                        fjn.substring( fjn.indexOf( '$' ) + 1 );
-            }
-            
-            String filename = fjn.replace('.', File.separatorChar) + ".java";
-            
-            Writer writer = null;
-            Reader reader = null;
-            boolean changed = true;
-            
-            try
-            {
-                File sourcefile = new File(sourcedir, filename);
-                sourcefile.getParentFile().mkdirs();
-                if (verbose)
-                    System.err.println("created " + sourcefile.getAbsolutePath());
-                if (incrSrcGen)
-                    seenFiles.add(sourcefile);
-                if (incrSrcGen && sourcefile.exists())
-                {
-                    // Generate the file in a buffer and then compare it to the
-                    // file already on disk
-                    // Generation
-                    StringWriter sw = new StringWriter();
-                    SchemaTypeCodePrinter.printType(sw, type, opts);
-                    StringBuffer buffer = sw.getBuffer();
-                    if (repackager != null)
-                        buffer = repackager.repackage(buffer);
-                    // Comparison
-                    List diffs = new ArrayList();
-                    reader = new java.io.FileReader(sourcefile);
-                    String str = buffer.toString();
-                    Diff.readersAsText(new java.io.StringReader(str), "<generated>",
-                            reader, sourcefile.getName(), diffs);
-                    reader.close();
-                    // Check the list of differences
-                    changed = (diffs.size() > 0);
-                    if (changed)
-                    {
-                        // Diffs encountered, replace the file with the text from
-                        // the buffer
-                        writer = new FileWriter( sourcefile );
-                        writer.write(str);
-                        writer.close();
-                        sourcefiles.add(sourcefile);
-                    }
-                    else
-                        ; // No diffs, don't do anything
-                }
-                else
-                {
-                writer =
-                    repackager == null
-                        ? (Writer) new FileWriter( sourcefile )
-                        : (Writer) new RepackagingWriter( sourcefile, repackager );
-                
-
-                SchemaTypeCodePrinter.printType(writer, type, opts);
-                
-                writer.close();
-
-                sourcefiles.add(sourcefile);
-                }
-            }
-            catch (IOException e)
-            {
-                System.err.println("IO Error " + e);
-                failure = true;
-            }
-            finally {
-                try {
-                    if (writer != null) writer.close();
-                    if (reader != null) reader.close();
-                } catch (IOException e) {}
-            }
-
-            try
-            {
-                // Generate Implementation class
-                filename = type.getFullJavaImplName().replace('.', File.separatorChar) + ".java";
-                File implFile = new File(sourcedir,  filename);
-                if (verbose)
-                    System.err.println("created " + implFile.getAbsolutePath());
-                implFile.getParentFile().mkdirs();
-
-                if (incrSrcGen)
-                    seenFiles.add(implFile);
-                // If the interface did not change, the implementation shouldn't either
-                if (changed)
-                {
-                writer =
-                    repackager == null
-                        ? (Writer) new FileWriter( implFile )
-                        : (Writer) new RepackagingWriter( implFile, repackager );
-                
-                SchemaTypeCodePrinter.printTypeImpl(writer, type, opts);
-                
-                writer.close();
-
-                sourcefiles.add(implFile);
-                }
-            }
-            catch (IOException e)
-            {
-                System.err.println("IO Error " + e);
-                failure = true;
-            }
-            finally {
-                try { if (writer != null) writer.close(); } catch (IOException e) {}
-            }
-        }
-
-        if (incrSrcGen)
-            deleteObsoleteFiles(sourcedir, seenFiles);
-
-        return failure;
-    }
-
-    private static void deleteObsoleteFiles(File srcDir, Set seenFiles)
-    {
-        // Go recursively starting with srcDir and delete all files that are
-        // not in the given Set
-        File[] files = srcDir.listFiles();
-        for (int i = 0; i < files.length; i++)
-        {
-            if (files[i].isDirectory())
-                deleteObsoleteFiles(files[i], seenFiles);
-            else if (seenFiles.contains(files[i]))
-                ;
-            else
-                files[i].delete();
-        }
-    }
-
-    protected static File createTempDir() throws IOException
-    {
-
-// Some beta builds of JDK1.5 are having troubles creating temp directories
-// if the java.io.tmpdir doesn't exist.  This seems to help.
-try {
-  File tmpDirFile = new File(System.getProperty("java.io.tmpdir"));
-  tmpDirFile.mkdirs();
-} catch(Exception e) { e.printStackTrace(); }
-
-        File tmpFile = File.createTempFile("xbean", null);
-        String path = tmpFile.getAbsolutePath();
-        if (!path.endsWith(".tmp"))
-            throw new IOException("Error: createTempFile did not create a file ending with .tmp");
-        path = path.substring(0, path.length() - 4);
-        File tmpSrcDir = null;
-
-        for (int count = 0; count < 100; count++)
-        {
-            String name = path + ".d" + (count == 0 ? "" : Integer.toString(count++));
-
-            tmpSrcDir = new File(name);
-
-            if (!tmpSrcDir.exists())
-            {
-                boolean created = tmpSrcDir.mkdirs();
-                assert created : "Could not create " + tmpSrcDir.getAbsolutePath();
-                break;
-            }
-        }
-        tmpFile.deleteOnExit();
-
-        return tmpSrcDir;
-    }
-
-    protected static void tryHardToDelete(File dir)
-    {
-        tryToDelete(dir);
-        if (dir.exists())
-            tryToDeleteLater(dir);
-    }
-
-    private static void tryToDelete(File dir)
-    {
-        if (dir.exists())
-        {
-            if (dir.isDirectory())
-            {
-                String[] list = dir.list();
-                for (int i = 0; i < list.length; i++)
-                    tryToDelete(new File(dir, list[i]));
-            }
-            if (!dir.delete())
-                return; // don't try very hard, because we're just deleting tmp
-        }
-    }
-    
-    private static Set deleteFileQueue = new HashSet();
-    private static int triesRemaining = 0;
-    
-    private static boolean tryNowThatItsLater()
-    {
-        List files;
-        
-        synchronized (deleteFileQueue)
-        {
-            files = new ArrayList(deleteFileQueue);
-            deleteFileQueue.clear();
-        }
-        
-        List retry = new ArrayList();
-        
-        for (Iterator i = files.iterator(); i.hasNext(); )
-        {
-            File file = (File)i.next();
-            tryToDelete(file);
-            if (file.exists())
-                retry.add(file);
-        }
-        
-        synchronized (deleteFileQueue)
-        {
-            if (triesRemaining > 0)
-                triesRemaining -= 1;
-                
-            if (triesRemaining <= 0 || retry.size() == 0) // done?
-                triesRemaining = 0;
-            else
-                deleteFileQueue.addAll(retry); // try again?
-            
-            return (triesRemaining <= 0);
-        }
-    }
-    
-    private static void giveUp()
-    {
-        synchronized (deleteFileQueue)
-        {
-            deleteFileQueue.clear();
-            triesRemaining = 0;
-        }
-    }
-    
-    private static void tryToDeleteLater(File dir)
-    {
-        synchronized (deleteFileQueue)
-        {
-            deleteFileQueue.add(dir);
-            if (triesRemaining == 0)
-            {
-                new Thread()
-                {
-                    public void run()
-                    {
-                        // repeats tryNow until triesRemaining == 0
-                        try
-                        {
-                            for (;;)
-                            {
-                                if (tryNowThatItsLater())
-                                    return; // succeeded
-                                Thread.sleep(1000 * 3); // wait three seconds
-                            }
-                        }
-                        catch (InterruptedException e)
-                        {
-                            giveUp();
-                        }
-                    }
-                };
-            }
-            
-            if (triesRemaining < 10)
-                triesRemaining = 10;
-        }
-    }
-    
-    static class RepackagingWriter extends StringWriter
-    {
-        public RepackagingWriter ( File file, Repackager repackager )
-        {
-            _file = file;
-            _repackager = repackager;
-        }
-
-        public void close ( ) throws IOException
-        {
-            super.close();
-            
-            FileWriter fw = new FileWriter( _file );
-            fw.write( _repackager.repackage( getBuffer() ).toString() );
-            fw.close();
-        }
-
-        private File _file;
-        private Repackager _repackager;
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java
deleted file mode 100644
index 6116e87..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java
+++ /dev/null
@@ -1,1002 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler;
-import org.apache.xmlbeans.impl.schema.PathResourceLoader;
-import org.apache.xmlbeans.impl.schema.ResourceLoader;
-import org.apache.xmlbeans.impl.schema.StscState;
-import org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl;
-import org.apache.xmlbeans.impl.common.XmlErrorPrinter;
-import org.apache.xmlbeans.impl.common.XmlErrorWatcher;
-import org.apache.xmlbeans.impl.common.XmlErrorContext;
-import org.apache.xmlbeans.impl.common.ResolverUtil;
-import org.apache.xmlbeans.impl.common.IOUtil;
-import org.apache.xmlbeans.impl.values.XmlListImpl;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.SchemaCodePrinter;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument;
-
-import java.io.File;
-import java.util.*;
-import java.net.URI;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.xml.sax.EntityResolver;
-
-public class SchemaCompiler
-{
-    public static void main(String[] args)
-    {
-        if (args.length == 0)
-        {
-            System.out.println("Compiles a schema into XML Bean classes and metadata.");
-            System.out.println("Usage: scomp [opts] [dirs]* [schema.xsd]* [service.wsdl]* [config.xsdconfig]*");
-            System.out.println("Options include:");
-            System.out.println("    -cp [a;b;c] - classpath");
-            System.out.println("    -d [dir] - target binary directory for .class and .xsb files");
-            System.out.println("    -src [dir] - target directory for generated .java files");
-            System.out.println("    -srconly - do not compile .java files or jar the output.");
-            System.out.println("    -out [result.jar] - the name of the output jar");
-            System.out.println("    -dl - permit network downloads for imports and includes (default is off)");
-            System.out.println("    -noupa - do not enforce the unique particle attribution rule");
-            System.out.println("    -nopvr - do not enforce the particle valid (restriction) rule");
-            System.out.println("    -noann - ignore annotations");
-            System.out.println("    -compiler - path to external java compiler");
-            System.out.println("    -jar - path to jar utility");
-            System.out.println("    -ms - initial memory for external java compiler (default '" + CodeGenUtil.DEFAULT_MEM_START + "')");
-            System.out.println("    -mx - maximum memory for external java compiler (default '" + CodeGenUtil.DEFAULT_MEM_MAX + "')");
-            System.out.println("    -debug - compile with debug symbols");
-            System.out.println("    -quiet - print fewer informational messages");
-            System.out.println("    -verbose - print more informational messages");
-            System.out.println("    -license - prints license information");
-            System.out.println("    -allowmdef \"[ns] [ns] [ns]\" - ignores multiple defs in given namespaces");
-            System.out.println("    -catalog [file] -  catalog file for org.apache.xml.resolver.tools.CatalogResolver. (Note: needs resolver.jar from http://xml.apache.org/commons/components/resolver/index.html)");
-            /* Undocumented feature - pass in one schema compiler extension and related parameters
-            System.out.println("    -repackage - repackage specification");
-            System.out.println("    -extension - registers a schema compiler extension");
-            System.out.println("    -extensionParms - specify parameters for the compiler extension");
-            System.out.println("    -schemaCodePrinter - specify SchemaCodePrinter class");
-            */
-            System.out.println();
-            System.out.println("If you require a different java compiler, use the XMLBean Ant task instead.");
-            System.exit(0);
-            return;
-        }
-
-        Set opts = new HashSet();
-        opts.add("out");
-        opts.add("name");
-        opts.add("src");
-        opts.add("d");
-        opts.add("cp");
-        opts.add("compiler");
-        opts.add("jar");
-        opts.add("ms");
-        opts.add("mx");
-        opts.add("repackage");
-        opts.add("schemaCodePrinter");
-        opts.add("extension");
-        opts.add("extensionParms");
-        opts.add("allowmdef");
-        opts.add("catalog");
-        CommandLine cl = new CommandLine(args, opts);
-
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-
-        args = cl.args();
-        boolean verbose = (cl.getOpt("verbose") != null);
-        boolean quiet = (cl.getOpt("quiet") != null);
-        if (verbose)
-            quiet = false;
-
-        String outputfilename = cl.getOpt("out");
-
-        String repackage = cl.getOpt("repackage");
-
-        String codePrinterClass = cl.getOpt("schemaCodePrinter");
-        SchemaCodePrinter codePrinter = null;
-        if (codePrinterClass != null)
-        {
-            try
-            {
-                codePrinter = (SchemaCodePrinter)
-                    Class.forName(codePrinterClass).newInstance();
-            }
-            catch (Exception e)
-            {
-                System.err.println
-                    ("Failed to load SchemaCodePrinter class " +
-                     codePrinterClass + "; proceeding with default printer");
-            }
-        }
-
-        String name = cl.getOpt("name");
-
-        boolean download = (cl.getOpt("dl") != null);
-        boolean noUpa = (cl.getOpt("noupa") != null);
-        boolean noPvr = (cl.getOpt("nopvr") != null);
-        boolean noAnn = (cl.getOpt("noann") != null);
-        boolean nojavac = (cl.getOpt("srconly") != null);
-        boolean debug = (cl.getOpt("debug") != null);
-
-        String allowmdef = cl.getOpt("allowmdef");
-        Set mdefNamespaces = (allowmdef == null ? Collections.EMPTY_SET :
-                new HashSet(Arrays.asList(XmlListImpl.split_list(allowmdef))));
-
-        List extensions = new ArrayList();
-        if (cl.getOpt("extension") != null) {
-            try {
-                Extension e = new Extension();
-                e.setClassName(Class.forName(cl.getOpt("extension"), false, Thread.currentThread().getContextClassLoader()));
-                extensions.add(e);
-            } catch (ClassNotFoundException e) {
-                System.err.println("Could not find extension class: " + cl.getOpt("extension") + "  Is it on your classpath?");
-                System.exit(1);
-            }
-        }
-
-        if (extensions.size() > 0)
-        {
-            // example: -extensionParms typeMappingFileLocation=d:\types
-            if (cl.getOpt("extensionParms") != null) {
-                Extension e = (Extension) extensions.get(0);
-                // extensionParms are delimited by ';'
-                StringTokenizer parmTokens = new StringTokenizer(cl.getOpt("extensionParms"), ";");
-                while (parmTokens.hasMoreTokens()) {
-                    // get name value pair for each extension parms and stick into extension parms
-                    String nvPair = parmTokens.nextToken();
-                    int index = nvPair.indexOf('=');
-                    if (index < 0)
-                    {
-                        System.err.println("extensionParms should be name=value;name=value");
-                        System.exit(1);
-                    }
-                    String n = nvPair.substring(0, index);
-                    String v = nvPair.substring(index + 1);
-                    Extension.Param param = e.createParam();
-                    param.setName(n);
-                    param.setValue(v);
-                }
-            }
-        }
-
-        String classesdir = cl.getOpt("d");
-        File classes = null;
-        if (classesdir != null)
-            classes = new File(classesdir);
-
-        String srcdir = cl.getOpt("src");
-        File src = null;
-        if (srcdir != null)
-            src = new File(srcdir);
-        if (nojavac && srcdir == null && classes != null)
-            src = classes;
-
-        // create temp directory
-        File tempdir = null;
-        if (src == null || classes == null)
-        {
-            try
-            {
-                tempdir = SchemaCodeGenerator.createTempDir();
-            }
-            catch (java.io.IOException e)
-            {
-                System.err.println("Error creating temp dir " + e);
-                System.exit(1);
-            }
-        }
-
-        File jarfile = null;
-        if (outputfilename == null && classes == null && !nojavac)
-            outputfilename = "xmltypes.jar";
-        if (outputfilename != null)
-            jarfile = new File(outputfilename);
-
-        if (src == null)
-            src = IOUtil.createDir(tempdir, "src");
-        if (classes == null)
-            classes = IOUtil.createDir(tempdir, "classes");
-
-        File[] classpath = null;
-        String cpString = cl.getOpt("cp");
-        if (cpString != null)
-        {
-            String[] cpparts = cpString.split(File.pathSeparator);
-            List cpList = new ArrayList();
-            for (int i = 0; i < cpparts.length; i++)
-                cpList.add(new File(cpparts[i]));
-            classpath = (File[])cpList.toArray(new File[cpList.size()]);
-        }
-        else
-        {
-            classpath = CodeGenUtil.systemClasspath();
-        }
-
-        String compiler = cl.getOpt("compiler");
-        String jar = cl.getOpt("jar");
-
-        String memoryInitialSize = cl.getOpt("ms");
-        String memoryMaximumSize = cl.getOpt("mx");
-
-        File[] xsdFiles = cl.filesEndingWith(".xsd");
-        File[] wsdlFiles = cl.filesEndingWith(".wsdl");
-        File[] javaFiles = cl.filesEndingWith(".java");
-        File[] configFiles = cl.filesEndingWith(".xsdconfig");
-
-        if (xsdFiles.length + wsdlFiles.length == 0)
-        {
-            System.err.println("Could not find any xsd or wsdl files to process.");
-            System.exit(1);
-        }
-        File baseDir = cl.getBaseDir();
-        URI baseURI = baseDir == null ? null : baseDir.toURI();
-
-        XmlErrorPrinter err = new XmlErrorPrinter(verbose, baseURI);
-
-        String catString = cl.getOpt("catalog");
-
-        Parameters params = new Parameters();
-        params.setBaseDir(baseDir);
-        params.setXsdFiles(xsdFiles);
-        params.setWsdlFiles(wsdlFiles);
-        params.setJavaFiles(javaFiles);
-        params.setConfigFiles(configFiles);
-        params.setClasspath(classpath);
-        params.setOutputJar(jarfile);
-        params.setName(name);
-        params.setSrcDir(src);
-        params.setClassesDir(classes);
-        params.setCompiler(compiler);
-        params.setJar(jar);
-        params.setMemoryInitialSize(memoryInitialSize);
-        params.setMemoryMaximumSize(memoryMaximumSize);
-        params.setNojavac(nojavac);
-        params.setQuiet(quiet);
-        params.setVerbose(verbose);
-        params.setDownload(download);
-        params.setNoUpa(noUpa);
-        params.setNoPvr(noPvr);
-        params.setNoAnn(noAnn);
-        params.setDebug(debug);
-        params.setErrorListener(err);
-        params.setRepackage(repackage);
-        params.setExtensions(extensions);
-        params.setMdefNamespaces(mdefNamespaces);
-        params.setCatalogFile(catString);
-        params.setSchemaCodePrinter(codePrinter);
-
-        boolean result = compile(params);
-
-        if (tempdir != null)
-            SchemaCodeGenerator.tryHardToDelete(tempdir);
-
-        if (!result)
-            System.exit(1);
-
-        System.exit(0);
-    }
-
-    public static class Parameters
-    {
-        private File baseDir;
-        private File[] xsdFiles;
-        private File[] wsdlFiles;
-        private File[] javaFiles;
-        private File[] configFiles;
-        private File[] classpath;
-        private File outputJar;
-        private String name;
-        private File srcDir;
-        private File classesDir;
-        private String memoryInitialSize;
-        private String memoryMaximumSize;
-        private String compiler;
-        private String jar;
-        private boolean nojavac;
-        private boolean quiet;
-        private boolean verbose;
-        private boolean download;
-        private Collection errorListener;
-        private boolean noUpa;
-        private boolean noPvr;
-        private boolean noAnn;
-        private boolean debug;
-        private boolean incrementalSrcGen;
-        private String repackage;
-        private List extensions = Collections.EMPTY_LIST;
-        private Set mdefNamespaces = Collections.EMPTY_SET;
-        private String catalogFile;
-        private SchemaCodePrinter schemaCodePrinter;
-
-        public File getBaseDir()
-        {
-            return baseDir;
-        }
-
-        public void setBaseDir(File baseDir)
-        {
-            this.baseDir = baseDir;
-        }
-
-        public File[] getXsdFiles()
-        {
-            return xsdFiles;
-        }
-
-        public void setXsdFiles(File[] xsdFiles)
-        {
-            this.xsdFiles = xsdFiles;
-        }
-
-        public File[] getWsdlFiles()
-        {
-            return wsdlFiles;
-        }
-
-        public void setWsdlFiles(File[] wsdlFiles)
-        {
-            this.wsdlFiles = wsdlFiles;
-        }
-
-        public File[] getJavaFiles()
-        {
-            return javaFiles;
-        }
-
-        public void setJavaFiles(File[] javaFiles)
-        {
-            this.javaFiles = javaFiles;
-        }
-
-        public File[] getConfigFiles()
-        {
-            return configFiles;
-        }
-
-        public void setConfigFiles(File[] configFiles)
-        {
-            this.configFiles = configFiles;
-        }
-
-        public File[] getClasspath()
-        {
-            return classpath;
-        }
-
-        public void setClasspath(File[] classpath)
-        {
-            this.classpath = classpath;
-        }
-
-        public File getOutputJar()
-        {
-            return outputJar;
-        }
-
-        public void setOutputJar(File outputJar)
-        {
-            this.outputJar = outputJar;
-        }
-
-        public String getName()
-        {
-            return name;
-        }
-
-        public void setName(String name)
-        {
-            this.name = name;
-        }
-
-        public File getSrcDir()
-        {
-            return srcDir;
-        }
-
-        public void setSrcDir(File srcDir)
-        {
-            this.srcDir = srcDir;
-        }
-
-        public File getClassesDir()
-        {
-            return classesDir;
-        }
-
-        public void setClassesDir(File classesDir)
-        {
-            this.classesDir = classesDir;
-        }
-
-        public boolean isNojavac()
-        {
-            return nojavac;
-        }
-
-        public void setNojavac(boolean nojavac)
-        {
-            this.nojavac = nojavac;
-        }
-
-        public boolean isQuiet()
-        {
-            return quiet;
-        }
-
-        public void setQuiet(boolean quiet)
-        {
-            this.quiet = quiet;
-        }
-
-        public boolean isVerbose()
-        {
-            return verbose;
-        }
-
-        public void setVerbose(boolean verbose)
-        {
-            this.verbose = verbose;
-        }
-
-        public boolean isDownload()
-        {
-            return download;
-        }
-
-        public void setDownload(boolean download)
-        {
-            this.download = download;
-        }
-
-        public boolean isNoUpa()
-        {
-            return noUpa;
-        }
-
-        public void setNoUpa(boolean noUpa)
-        {
-            this.noUpa = noUpa;
-        }
-
-        public boolean isNoPvr()
-        {
-            return noPvr;
-        }
-
-        public void setNoPvr(boolean noPvr)
-        {
-            this.noPvr = noPvr;
-        }
-
-        public boolean isNoAnn()
-        {
-            return noAnn;
-        }
-
-        public void setNoAnn(boolean noAnn)
-        {
-            this.noAnn = noAnn;
-        }
-
-        public boolean isIncrementalSrcGen()
-        {
-            return incrementalSrcGen;
-        }
-
-        public void setIncrementalSrcGen(boolean incrSrcGen)
-        {
-            this.incrementalSrcGen = incrSrcGen;
-        }
-
-        public boolean isDebug()
-        {
-            return debug;
-        }
-
-        public void setDebug(boolean debug)
-        {
-            this.debug = debug;
-        }
-
-        public String getMemoryInitialSize()
-        {
-            return memoryInitialSize;
-        }
-
-        public void setMemoryInitialSize(String memoryInitialSize)
-        {
-            this.memoryInitialSize = memoryInitialSize;
-        }
-
-        public String getMemoryMaximumSize()
-        {
-            return memoryMaximumSize;
-        }
-
-        public void setMemoryMaximumSize(String memoryMaximumSize)
-        {
-            this.memoryMaximumSize = memoryMaximumSize;
-        }
-
-        public String getCompiler()
-        {
-            return compiler;
-        }
-
-        public void setCompiler(String compiler)
-        {
-            this.compiler = compiler;
-        }
-
-        public String getJar()
-        {
-            return jar;
-        }
-
-        public void setJar(String jar)
-        {
-            this.jar = jar;
-        }
-
-        public Collection getErrorListener()
-        {
-            return errorListener;
-        }
-
-        public void setErrorListener(Collection errorListener)
-        {
-            this.errorListener = errorListener;
-        }
-
-        public String getRepackage()
-        {
-            return repackage;
-        }
-
-        public void setRepackage(String newRepackage)
-        {
-            repackage = newRepackage;
-        }
-
-        public List getExtensions() {
-            return extensions;
-        }
-
-        public void setExtensions(List extensions) {
-            this.extensions = extensions;
-        }
-
-        public Set getMdefNamespaces()
-        {
-            return mdefNamespaces;
-        }
-
-        public void setMdefNamespaces(Set mdefNamespaces)
-        {
-            this.mdefNamespaces = mdefNamespaces;
-        }
-
-        public String getCatalogFile()
-        {
-            return catalogFile;
-        }
-
-        public void setCatalogFile(String catalogPropFile)
-        {
-            this.catalogFile = catalogPropFile;
-        }
-
-        public SchemaCodePrinter getSchemaCodePrinter()
-        {
-            return schemaCodePrinter;
-        }
-
-        public void setSchemaCodePrinter(SchemaCodePrinter schemaCodePrinter)
-        {
-            this.schemaCodePrinter = schemaCodePrinter;
-        }
-    }
-
-    private static SchemaTypeSystem loadTypeSystem(
-        String name, File[] xsdFiles, File[] wsdlFiles, File[] configFiles,
-        File[] javaFiles, ResourceLoader cpResourceLoader,
-        boolean download, boolean noUpa, boolean noPvr, boolean noAnn,
-        Set mdefNamespaces, File baseDir, Map sourcesToCopyMap,
-        Collection outerErrorListener, File schemasDir, EntityResolver entResolver, File[] classpath)
-    {
-        XmlErrorWatcher errorListener = new XmlErrorWatcher(outerErrorListener);
-
-        // For parsing XSD and WSDL files, we should use the SchemaDocument
-        // classloader rather than the thread context classloader.  This is
-        // because in some situations (such as when being invoked by ant
-        // underneath the ide) the context classloader is potentially weird
-        // (because of the design of ant).
-
-        SchemaTypeLoader loader = XmlBeans.typeLoaderForClassLoader(SchemaDocument.class.getClassLoader());
-
-        // step 1, parse all the XSD files.
-        ArrayList scontentlist = new ArrayList();
-        if (xsdFiles != null)
-        {
-            for (int i = 0; i < xsdFiles.length; i++)
-            {
-                try
-                {
-                    XmlOptions options = new XmlOptions();
-                    options.setLoadLineNumbers();
-                    options.setLoadMessageDigest();
-                    options.setEntityResolver(entResolver);
-
-                    XmlObject schemadoc = loader.parse(xsdFiles[i], null, options);
-                    if (!(schemadoc instanceof SchemaDocument))
-                    {
-                        StscState.addError(errorListener, "Document " + xsdFiles[i] + " is not a schema file", XmlErrorContext.CANNOT_LOAD_XSD_FILE, schemadoc);
-                    }
-                    else
-                    {
-                        StscState.addInfo(errorListener, "Loading schema file " + xsdFiles[i]);
-                        XmlOptions opts = new XmlOptions().setErrorListener(errorListener);
-                        if (schemadoc.validate(opts))
-                            scontentlist.add(((SchemaDocument)schemadoc).getSchema());
-                    }
-                }
-                catch (XmlException e)
-                {
-                    errorListener.add(e.getError());
-                }
-                catch (Exception e)
-                {
-                    StscState.addError(errorListener, "Cannot load file " + xsdFiles[i] + ": " + e, XmlErrorContext.CANNOT_LOAD_XSD_FILE, xsdFiles[i]);
-                }
-            }
-        }
-
-        // step 2, parse all WSDL files
-        if (wsdlFiles != null)
-        {
-            for (int i = 0; i < wsdlFiles.length; i++)
-            {
-                try
-                {
-                    XmlOptions options = new XmlOptions();
-                    options.setLoadLineNumbers();
-                    options.setLoadSubstituteNamespaces(Collections.singletonMap(
-                            "http://schemas.xmlsoap.org/wsdl/", "http://www.apache.org/internal/xmlbeans/wsdlsubst"
-                    ));
-                    options.setEntityResolver(entResolver);
-
-                    XmlObject wsdldoc = loader.parse(wsdlFiles[i], null, options);
-
-                    if (!(wsdldoc instanceof org.apache.internal.xmlbeans.wsdlsubst.DefinitionsDocument))
-                        StscState.addError(errorListener, "Document " + wsdlFiles[i] + " is not a wsdl file", XmlErrorContext.CANNOT_LOAD_XSD_FILE, wsdldoc);
-                    else
-                    {
-                        if (wsdlContainsEncoded(wsdldoc))
-                            StscState.addWarning(errorListener, "The WSDL " + wsdlFiles[i] + " uses SOAP encoding. SOAP encoding is not compatible with literal XML Schema.", XmlErrorContext.CANNOT_LOAD_XSD_FILE, wsdldoc);
-                        StscState.addInfo(errorListener, "Loading wsdl file " + wsdlFiles[i]);
-                        XmlObject[] types = ((org.apache.internal.xmlbeans.wsdlsubst.DefinitionsDocument)wsdldoc).getDefinitions().getTypesArray();
-                        int count = 0;
-                        for (int j = 0; j < types.length; j++)
-                        {
-                            // explicit cast for paranoia
-                            SchemaDocument.Schema[] schemas = (SchemaDocument.Schema[])types[j].selectPath("declare namespace xs=\"http://www.w3.org/2001/XMLSchema\" xs:schema");
-                            for (int k = 0; k < schemas.length; k++)
-                            {
-                                if (schemas[k].validate(new XmlOptions().setErrorListener(errorListener)))
-                                    scontentlist.add(schemas[k]);
-                            }
-                            count += schemas.length;
-                        }
-                        StscState.addInfo(errorListener, "Processing " + count + " schema(s) in " + wsdlFiles[i].toString());
-                    }
-                }
-                catch (XmlException e)
-                {
-                    errorListener.add(e.getError());
-                }
-                catch (Exception e)
-                {
-                    StscState.addError(errorListener, "Cannot load file " + wsdlFiles[i] + ": " + e, XmlErrorContext.CANNOT_LOAD_XSD_FILE, wsdlFiles[i]);
-                }
-            }
-        }
-
-        SchemaDocument.Schema[] sdocs = (SchemaDocument.Schema[])scontentlist.toArray(new SchemaDocument.Schema[scontentlist.size()]);
-
-        // now the config files.
-        ArrayList cdoclist = new ArrayList();
-        if (configFiles != null)
-        {
-            for (int i = 0; i < configFiles.length; i++)
-            {
-                try
-                {
-                    XmlOptions options = new XmlOptions();
-                    options.put( XmlOptions.LOAD_LINE_NUMBERS );
-                    options.setEntityResolver(entResolver);
-                    options.setLoadSubstituteNamespaces(MAP_COMPATIBILITY_CONFIG_URIS);
-
-                    XmlObject configdoc = loader.parse(configFiles[i], null, options);
-                    if (!(configdoc instanceof ConfigDocument))
-                        StscState.addError(errorListener, "Document " + configFiles[i] + " is not an xsd config file", XmlErrorContext.CANNOT_LOAD_XSD_FILE, configdoc);
-                    else
-                    {
-                        StscState.addInfo(errorListener, "Loading config file " + configFiles[i]);
-                        if (configdoc.validate(new XmlOptions().setErrorListener(errorListener)))
-                            cdoclist.add(((ConfigDocument)configdoc).getConfig());
-                    }
-                }
-                catch (XmlException e)
-                {
-                    errorListener.add(e.getError());
-                }
-                catch (Exception e)
-                {
-                    StscState.addError(errorListener, "Cannot load xsd config file " + configFiles[i] + ": " + e, XmlErrorContext.CANNOT_LOAD_XSD_CONFIG_FILE, configFiles[i]);
-                }
-            }
-        }
-        ConfigDocument.Config[] cdocs = (ConfigDocument.Config[])cdoclist.toArray(new ConfigDocument.Config[cdoclist.size()]);
-
-        SchemaTypeLoader linkTo = SchemaTypeLoaderImpl.build(null, cpResourceLoader, null);
-
-        URI baseURI = null;
-        if (baseDir != null)
-            baseURI = baseDir.toURI();
-
-        XmlOptions opts = new XmlOptions();
-        if (download)
-            opts.setCompileDownloadUrls();
-        if (noUpa)
-            opts.setCompileNoUpaRule();
-        if (noPvr)
-            opts.setCompileNoPvrRule();
-        if (noAnn)
-            opts.setCompileNoAnnotations();
-        if (mdefNamespaces != null)
-            opts.setCompileMdefNamespaces(mdefNamespaces);
-        opts.setCompileNoValidation(); // already validated here
-        opts.setEntityResolver(entResolver);
-
-        // now pass it to the main compile function
-        SchemaTypeSystemCompiler.Parameters params = new SchemaTypeSystemCompiler.Parameters();
-        params.setName(name);
-        params.setSchemas(sdocs);
-        params.setConfigs(cdocs);
-        params.setJavaFiles(javaFiles);
-        params.setLinkTo(linkTo);
-        params.setOptions(opts);
-        params.setErrorListener(errorListener);
-        params.setJavaize(true);
-        params.setBaseURI(baseURI);
-        params.setSourcesToCopyMap(sourcesToCopyMap);
-        params.setSchemasDir(schemasDir);
-        params.setClasspath(classpath);
-        return SchemaTypeSystemCompiler.compile(params);
-    }
-
-    public static boolean compile(Parameters params)
-    {
-        File baseDir = params.getBaseDir();
-        File[] xsdFiles = params.getXsdFiles();
-        File[] wsdlFiles = params.getWsdlFiles();
-        File[] javaFiles = params.getJavaFiles();
-        File[] configFiles = params.getConfigFiles();
-        File[] classpath = params.getClasspath();
-        File outputJar = params.getOutputJar();
-        String name = params.getName();
-        File srcDir = params.getSrcDir();
-        File classesDir = params.getClassesDir();
-        String compiler = params.getCompiler();
-        String jar = params.getJar();
-        String memoryInitialSize = params.getMemoryInitialSize();
-        String memoryMaximumSize = params.getMemoryMaximumSize();
-        boolean nojavac = params.isNojavac();
-        boolean debug = params.isDebug();
-        boolean verbose = params.isVerbose();
-        boolean quiet = params.isQuiet();
-        boolean download = params.isDownload();
-        boolean noUpa = params.isNoUpa();
-        boolean noPvr = params.isNoPvr();
-        boolean noAnn = params.isNoAnn();
-        boolean incrSrcGen = params.isIncrementalSrcGen();
-        Collection outerErrorListener = params.getErrorListener();
-        String repackage = params.getRepackage();
-        SchemaCodePrinter codePrinter = params.getSchemaCodePrinter();
-        List extensions = params.getExtensions();
-        Set mdefNamespaces = params.getMdefNamespaces();
-
-        EntityResolver cmdLineEntRes = ResolverUtil.resolverForCatalog(params.getCatalogFile());
-
-        if (srcDir == null || classesDir == null)
-            throw new IllegalArgumentException("src and class gen directories may not be null.");
-
-        long start = System.currentTimeMillis();
-
-        // Calculate the usenames based on the relativized filenames on the filesystem
-        if (baseDir == null)
-            baseDir = new File(System.getProperty("user.dir"));
-
-        ResourceLoader cpResourceLoader = null;
-
-        Map sourcesToCopyMap = new HashMap();
-
-        if (classpath != null)
-            cpResourceLoader = new PathResourceLoader(classpath);
-
-        boolean result = true;
-
-        File schemasDir = IOUtil.createDir(classesDir, "schema/src");
-
-        // build the in-memory type system
-        XmlErrorWatcher errorListener = new XmlErrorWatcher(outerErrorListener);
-        SchemaTypeSystem system = loadTypeSystem(name, xsdFiles, wsdlFiles, configFiles,
-            javaFiles, cpResourceLoader, download, noUpa, noPvr, noAnn, mdefNamespaces,
-            baseDir, sourcesToCopyMap, errorListener, schemasDir, cmdLineEntRes, classpath);
-        if (errorListener.hasError())
-            result = false;
-        long finish = System.currentTimeMillis();
-        if (!quiet)
-            System.out.println("Time to build schema type system: " + ((double)(finish - start) / 1000.0) + " seconds" );
-
-        // now code generate and compile the JAR
-        if (result && system != null) // todo: don't check "result" here if we want to compile anyway, ignoring invalid schemas
-        {
-            start = System.currentTimeMillis();
-
-            // generate source and .xsb
-            List sourcefiles = new ArrayList();
-            result &= SchemaCodeGenerator.compileTypeSystem(system, srcDir, javaFiles, sourcesToCopyMap,
-                classpath, classesDir, outputJar, nojavac, errorListener, repackage, codePrinter, verbose,
-                sourcefiles, schemasDir, incrSrcGen);
-            result &= !errorListener.hasError();
-
-            if (result)
-            {
-                finish = System.currentTimeMillis();
-                if (!quiet)
-                    System.out.println("Time to generate code: " + ((double)(finish - start) / 1000.0) + " seconds" );
-            }
-
-            // compile source
-            if (result && !nojavac)
-            {
-                start = System.currentTimeMillis();
-
-                if (javaFiles != null)
-                    sourcefiles.addAll(java.util.Arrays.asList(javaFiles));
-                if (!CodeGenUtil.externalCompile(sourcefiles, classesDir, classpath, debug, compiler, memoryInitialSize, memoryMaximumSize, quiet, verbose))
-                    result = false;
-
-                finish = System.currentTimeMillis();
-                if (result && !params.isQuiet())
-                    System.out.println("Time to compile code: " + ((double)(finish - start) / 1000.0) + " seconds" );
-
-                // jar classes and .xsb
-                if (result && outputJar != null)
-                {
-                    if (!CodeGenUtil.externalJar(classesDir, outputJar, jar, quiet, verbose))
-                        result = false;
-
-                    if (result && !params.isQuiet())
-                        System.out.println("Compiled types to: " + outputJar);
-                }
-            }
-        }
-
-        if (!result && !quiet)
-        {
-            System.out.println("BUILD FAILED");
-        }
-        else {
-            // call schema compiler extension if registered
-            runExtensions(extensions, system, classesDir);
-        }
-
-        if (cpResourceLoader != null)
-            cpResourceLoader.close();
-        return result;
-    }
-
-    private static void runExtensions(List extensions, SchemaTypeSystem system, File classesDir)
-    {
-        if (extensions != null && extensions.size() > 0)
-        {
-            SchemaCompilerExtension sce = null;
-            Iterator i = extensions.iterator();
-            Map extensionParms = null;
-            String classesDirName = null;
-            try
-            {
-                classesDirName = classesDir.getCanonicalPath();
-            }
-            catch(java.io.IOException e)
-            {
-                System.out.println("WARNING: Unable to get the path for schema jar file");
-                classesDirName = classesDir.getAbsolutePath();
-            }
-
-            while (i.hasNext())
-            {
-                Extension extension = (Extension) i.next();
-                try
-                {
-                    sce = (SchemaCompilerExtension) extension.getClassName().newInstance();
-                }
-                catch (InstantiationException e)
-                {
-                    System.out.println("UNABLE to instantiate schema compiler extension:" + extension.getClassName().getName());
-                    System.out.println("EXTENSION Class was not run");
-                    break;
-                }
-                catch (IllegalAccessException e)
-                {
-                    System.out.println("ILLEGAL ACCESS Exception when attempting to instantiate schema compiler extension: " + extension.getClassName().getName());
-                    System.out.println("EXTENSION Class was not run");
-                    break;
-                }
-
-                System.out.println("Running Extension: " + sce.getExtensionName());
-                extensionParms = new HashMap();
-                Iterator parmsi = extension.getParams().iterator();
-                while (parmsi.hasNext())
-                {
-                    Extension.Param p = (Extension.Param) parmsi.next();
-                    extensionParms.put(p.getName(), p.getValue());
-                }
-                extensionParms.put("classesDir", classesDirName);
-                sce.schemaCompilerExtension(system, extensionParms);
-            }
-        }
-    }
-
-
-    private static boolean wsdlContainsEncoded(XmlObject wsdldoc)
-    {
-        // search for any <soap:body use="encoded"/> etc.
-        XmlObject[] useAttrs = wsdldoc.selectPath(
-                "declare namespace soap='http://schemas.xmlsoap.org/wsdl/soap/' " +
-                ".//soap:body/@use|.//soap:header/@use|.//soap:fault/@use");
-        for (int i = 0; i < useAttrs.length; i++)
-        {
-            if ("encoded".equals(((SimpleValue)useAttrs[i]).getStringValue()))
-                return true;
-        }
-        return false;
-    }
-
-    private static final String CONFIG_URI = "http://xml.apache.org/xmlbeans/2004/02/xbean/config";
-    private static final String COMPATIBILITY_CONFIG_URI = "http://www.bea.com/2002/09/xbean/config";
-    private static final Map MAP_COMPATIBILITY_CONFIG_URIS;
-    static
-    {
-        MAP_COMPATIBILITY_CONFIG_URIS = new HashMap();
-        MAP_COMPATIBILITY_CONFIG_URIS.put(COMPATIBILITY_CONFIG_URI, CONFIG_URI);
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompilerExtension.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompilerExtension.java
deleted file mode 100644
index 0641576..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompilerExtension.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.SchemaTypeSystem;
-
-import java.util.Map;
-
-
-/**
- * This interface is implemented by Schema Compiler Extensions.  By implementing this class
- *  you can then pass this class via the command line param <i>extension</i> to the SchemaCompiler class
- *  which will then in turn call this class back once the compilation is complete with the resulting
- *  SchemaTypeSystem.
- */
-public interface SchemaCompilerExtension {
-    /**
-     * Implement this function to be called back by the XmlBeans Schema Compiler with
-     *  the Schema Type System that has been created as a result of the compile.
-     * @param schemaTypeSystem - The schema type systems that has been created by the compiler just prior to calling
-     *   this extension class.
-     * @param parms - name value pairs of options to this schema compiler extension
-     */
-    public void schemaCompilerExtension(SchemaTypeSystem schemaTypeSystem, Map parms);
-    public String getExtensionName();
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCopy.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCopy.java
deleted file mode 100644
index d78cbce..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCopy.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.impl.common.IOUtil;
-import org.apache.internal.xmlbeans.wsdlsubst.DefinitionsDocument;
-import org.apache.internal.xmlbeans.wsdlsubst.TImport;
-
-import java.net.URI;
-import java.net.URL;
-import java.net.URISyntaxException;
-import java.util.Map;
-import java.util.LinkedHashMap;
-import java.util.LinkedList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.io.File;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.w3.x2001.xmlSchema.ImportDocument;
-import org.w3.x2001.xmlSchema.IncludeDocument;
-
-public class SchemaCopy
-{
-
-    public static void main(String[] args)
-    {
-        if (args.length < 1 || args.length > 2)
-        {
-            System.out.println("Usage: schemacopy sourceurl [targetfile]");
-            return;
-        }
-
-        URI source = null;
-        URI target = null;
-
-        try
-        {
-            source = new URI(args[0]);
-            source.toURL(); // to trigger exception
-        }
-        catch (Exception e)
-        {
-            System.err.println("Badly formed URL " + source);
-            return;
-        }
-
-        if (args.length < 2)
-        {
-            try
-            {
-                URI dir = new File(".").getCanonicalFile().toURI();
-                String lastPart = source.getPath();
-                lastPart = lastPart.substring(lastPart.lastIndexOf('/') + 1);
-                target = CodeGenUtil.resolve(dir, URI.create(lastPart));
-            }
-            catch (Exception e)
-            {
-                System.err.println("Cannot canonicalize current directory");
-                return;
-            }
-        }
-        else
-        {
-            try
-            {
-                target = new URI(args[1]);
-                if (!target.isAbsolute())
-                    target = null;
-                else if (!target.getScheme().equals("file"))
-                    target = null;
-            }
-            catch (Exception e)
-            {
-                target = null;
-            }
-
-            if (target == null)
-            {
-                try
-                {
-                    target = new File(target).getCanonicalFile().toURI();
-                }
-                catch (Exception e)
-                {
-                    System.err.println("Cannot canonicalize current directory");
-                    return;
-                }
-            }
-        }
-
-        Map thingsToCopy = findAllRelative(source, target);
-        copyAll(thingsToCopy, true);
-    }
-
-    private static void copyAll(Map uriMap, boolean stdout)
-    {
-        for (Iterator i = uriMap.keySet().iterator(); i.hasNext(); )
-        {
-            URI source = (URI)i.next();
-            URI target = (URI)uriMap.get(source);
-            try
-            {
-                IOUtil.copyCompletely(source, target);
-            }
-            catch (Exception e)
-            {
-                if (stdout)
-                    System.out.println("Could not copy " + source + " -> " + target);
-                continue;
-            }
-            if (stdout)
-            System.out.println("Copied " + source + " -> " + target);
-        }
-    }
-
-
-    /**
-     * Copies the schema or wsdl at the source URI to the target URI, along
-     * with any relative references.  The target URI should be a file URI.
-     * If doCopy is false, the file copies are not actually done; the map
-     * returned just describes the copies that would have been done.
-     *
-     * @param source an arbitrary URI describing a source Schema or WSDL
-     * @param target a file URI describing a target filename
-     * @return a map of all the source/target URIs needed to copy
-     * the file along with all its relative referents.
-     */
-    public static Map findAllRelative(URI source, URI target)
-    {
-        Map result = new LinkedHashMap();
-        result.put(source, target);
-
-        LinkedList process = new LinkedList();
-        process.add(source);
-
-        while (!process.isEmpty())
-        {
-            URI nextSource = (URI)process.removeFirst();
-            URI nextTarget = (URI)result.get(nextSource);
-            Map nextResults = findRelativeInOne(nextSource, nextTarget);
-            for (Iterator i = nextResults.keySet().iterator(); i.hasNext(); )
-            {
-                URI newSource = (URI)i.next();
-                if (result.containsKey(newSource))
-                    continue;
-                result.put(newSource, nextResults.get(newSource));
-                process.add(newSource);
-            }
-        }
-
-        return result;
-    }
-    
-    private static final XmlOptions loadOptions = new XmlOptions().
-            setLoadSubstituteNamespaces(Collections.singletonMap(
-                    "http://schemas.xmlsoap.org/wsdl/", "http://www.apache.org/internal/xmlbeans/wsdlsubst" 
-            ));
-
-    private static Map findRelativeInOne(URI source, URI target)
-    {
-        try
-        {
-            URL sourceURL = source.toURL();
-            XmlObject xobj = XmlObject.Factory.parse(sourceURL, loadOptions);
-            XmlCursor xcur = xobj.newCursor();
-            xcur.toFirstChild();
-
-            Map result = new LinkedHashMap();
-
-            if (xobj instanceof SchemaDocument)
-                putMappingsFromSchema(result, source, target, ((SchemaDocument)xobj).getSchema());
-            else if (xobj instanceof DefinitionsDocument)
-                putMappingsFromWsdl(result, source, target, ((DefinitionsDocument)xobj).getDefinitions());
-            return result;
-        }
-        catch (Exception e)
-        {
-            // any exceptions parsing the given URL?  Then skip this file silently
-        }
-        return Collections.EMPTY_MAP;
-    }
-
-    private static void putNewMapping(Map result, URI origSource, URI origTarget, String literalURI)
-    {
-        try
-        {
-            if (literalURI == null)
-                return;
-            URI newRelative = new URI(literalURI);
-            if (newRelative.isAbsolute())
-                return;
-            URI newSource = CodeGenUtil.resolve(origSource, newRelative);
-            URI newTarget = CodeGenUtil.resolve(origTarget, newRelative);
-            result.put(newSource, newTarget);
-        }
-        catch (URISyntaxException e)
-        {
-            // uri syntax problem? do nothing silently.
-        }
-    }
-
-    private static void putMappingsFromSchema(Map result, URI source, URI target, SchemaDocument.Schema schema)
-    {
-        ImportDocument.Import[] imports = schema.getImportArray();
-        for (int i = 0; i < imports.length; i++)
-            putNewMapping(result, source, target, imports[i].getSchemaLocation());
-
-        IncludeDocument.Include[] includes = schema.getIncludeArray();
-        for (int i = 0; i < includes.length; i++)
-            putNewMapping(result, source, target, includes[i].getSchemaLocation());
-    }
-
-    private static void putMappingsFromWsdl(Map result, URI source, URI target, DefinitionsDocument.Definitions wdoc)
-    {
-        XmlObject[] types = wdoc.getTypesArray();
-        for (int i = 0; i < types.length; i++)
-        {
-            SchemaDocument.Schema[] schemas = (SchemaDocument.Schema[])types[i].selectPath("declare namespace xs='http://www.w3.org/2001/XMLSchema' xs:schema");
-            for (int j = 0; j < schemas.length; j++)
-                putMappingsFromSchema(result, source, target, schemas[j]);
-        }
-
-        TImport[] imports = wdoc.getImportArray();
-        for (int i = 0; i < imports.length; i++)
-            putNewMapping(result, source, target, imports[i].getLocation());
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaImportResolver.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaImportResolver.java
deleted file mode 100644
index 3b8e0c2..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaImportResolver.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-import org.w3.x2001.xmlSchema.ImportDocument.Import;
-import org.w3.x2001.xmlSchema.IncludeDocument.Include;
-
-import java.util.LinkedList;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Arrays;
-
-public abstract class SchemaImportResolver
-{
-    /**
-     * Called when the ImportLoader wishes to resolve the
-     * given import.  Should return a SchemaResource whose
-     * "equals" relationship reveals when a SchemaResource is
-     * duplicated and shouldn't be examined again.
-     *
-     * Returns null if the resource reference should be ignored.
-     */
-    public abstract SchemaResource lookupResource(String nsURI, String URL);
-
-    /**
-     * Called to notify that the expected namespace is different from the
-     * actual namespace, or if no namespace is known, to report the
-     * discovered namespace.
-     */
-    public abstract void reportActualNamespace(SchemaResource resource, String actualNamespace);
-
-    /**
-     * Used to supply a schema resource with an optional associated
-     * expected-namespace-URI and original-location-URL.
-     *
-     * The equals (and hashCode) implementations of the SchemaResource
-     * objects will be used to avoid examining the same resource twice;
-     * these must be implemented according to the desired rules for
-     * determining that two resources are the same.
-     */
-    public interface SchemaResource
-    {
-        /**
-         * Returns a parsed schema object.
-         */
-
-        public Schema getSchema();
-
-        public String getNamespace();
-        public String getSchemaLocation();
-    }
-
-    protected final void resolveImports(SchemaResource[] resources)
-    {
-        LinkedList queueOfResources = new LinkedList(Arrays.asList(resources));
-        LinkedList queueOfLocators = new LinkedList();
-        Set seenResources = new HashSet();
-
-        for (;;)
-        {
-            SchemaResource nextResource;
-
-            // fetch next resource.
-            if (!queueOfResources.isEmpty())
-            {
-                // either off the initial queue
-                nextResource = (SchemaResource)queueOfResources.removeFirst();
-            }
-            else if (!queueOfLocators.isEmpty())
-            {
-                // or off the list of locators
-                SchemaLocator locator = (SchemaLocator)queueOfLocators.removeFirst();
-                nextResource = lookupResource(locator.namespace, locator.schemaLocation);
-                if (nextResource == null)
-                    continue;
-            }
-            else
-            {
-                // if no more, then terminate loop
-                break;
-            }
-
-            // track and skip duplicates
-            if (seenResources.contains(nextResource))
-                continue;
-            seenResources.add(nextResource);
-
-            // get resource contents
-            Schema schema = nextResource.getSchema();
-            if (schema == null)
-                continue;
-
-            // check actual namespace
-            String actualTargetNamespace = schema.getTargetNamespace();
-            if (actualTargetNamespace == null)
-                actualTargetNamespace = "";
-
-            // report actual namespace
-            String expectedTargetNamespace = nextResource.getNamespace();
-            if (expectedTargetNamespace == null ||
-                    !actualTargetNamespace.equals(expectedTargetNamespace))
-            {
-                reportActualNamespace(nextResource, actualTargetNamespace);
-            }
-
-            // now go through and record all the imports
-            Import[] schemaImports = schema.getImportArray();
-            for (int i = 0; i < schemaImports.length; i++)
-            {
-                queueOfLocators.add(new SchemaLocator(schemaImports[i].getNamespace() == null ? "" : schemaImports[i].getNamespace(), schemaImports[i].getSchemaLocation()));
-            }
-            
-            // and record all the includes too
-            Include[] schemaIncludes = schema.getIncludeArray();
-            for (int i = 0; i < schemaIncludes.length; i++)
-            {
-                queueOfLocators.add(new SchemaLocator(null, schemaIncludes[i].getSchemaLocation()));
-            }
-        }
-    }
-
-    private static class SchemaLocator
-    {
-        public SchemaLocator(String namespace, String schemaLocation)
-        {
-            this.namespace = namespace;
-            this.schemaLocation = schemaLocation;
-        }
-
-        public final String namespace;
-        public final String schemaLocation;
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaResourceManager.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaResourceManager.java
deleted file mode 100644
index 6c9cb32..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaResourceManager.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.impl.common.IOUtil;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.FileFilter;
-import java.io.OutputStream;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.HashSet;
-import java.util.Set;
-
-public class SchemaResourceManager extends BaseSchemaResourceManager
-{
-    public static void main(String[] args) throws IOException
-    {
-        if (args.length == 0)
-        {
-            System.out.println("Maintains \"xsdownload.xml\", an index of locally downloaded .xsd files");
-            System.out.println("usage: sdownload [-dir directory] [-refresh] [-recurse] [-sync] [url/file...]");
-            System.out.println("");
-            System.out.println("URLs that are specified are downloaded if they aren't already cached.");
-            System.out.println("In addition:");
-            System.out.println("  -dir specifies the directory for the xsdownload.xml file (default .).");
-            System.out.println("  -sync synchronizes the index to any local .xsd files in the tree.");
-            System.out.println("  -recurse recursively downloads imported and included .xsd files.");
-            System.out.println("  -refresh redownloads all indexed .xsd files.");
-            System.out.println("If no files or URLs are specified, all indexed files are relevant.");
-            System.exit(0);
-            return;
-        }
-
-        Set opts = new HashSet();
-        opts.add("dir");
-        CommandLine cl = new CommandLine(args, opts);
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-        
-        args = cl.args();
-
-        boolean sync = (cl.getOpt("sync") != null);
-        boolean refresh = (cl.getOpt("refresh") != null);
-        boolean imports = (cl.getOpt("recurse") != null);
-        String dir = cl.getOpt("dir");
-        if (dir == null)
-            dir = ".";
-        File directory = new File(dir);
-
-        SchemaResourceManager mgr;
-        try
-        {
-            mgr = new SchemaResourceManager(directory);
-        }
-        catch (IllegalStateException e)
-        {
-            if (e.getMessage() != null)
-                System.out.println(e.getMessage());
-            else
-                e.printStackTrace();
-            System.exit(1);
-            return;
-        }
-
-        List uriList = new ArrayList();
-        List fileList = new ArrayList();
-        for (int i = 0; i < args.length; i++)
-        {
-            if (looksLikeURL(args[i]))
-            {
-                uriList.add(args[i]);
-            }
-            else
-            {
-                fileList.add(new File(directory, args[i]));
-            }
-        }
-
-        // deal with files that are not in the proper directory
-        for (Iterator i = fileList.iterator(); i.hasNext(); )
-        {
-            File file = (File)i.next();
-            if (!isInDirectory(file, directory))
-            {
-                System.err.println("File not within directory: " + file);
-                i.remove();
-            }
-        }
-
-        // deal with directories
-        fileList = collectXSDFiles((File[])fileList.toArray(new File[0]));
-
-        String[] uris = (String[])uriList.toArray(new String[0]);
-        File[] files = (File[])fileList.toArray(new File[0]);
-        String[] filenames = relativeFilenames(files, directory);
-
-        if (uris.length + filenames.length > 0)
-        {
-            mgr.process(uris, filenames, sync, refresh, imports);
-        }
-        else
-        {
-            mgr.processAll(sync, refresh, imports);
-        }
-
-        mgr.writeCache();
-        System.exit(0);
-    }
-
-    private static boolean looksLikeURL(String str)
-    {
-        return str.startsWith("http:") || str.startsWith("https:") || str.startsWith("ftp:") || str.startsWith("file:");
-    }
-
-    private static String relativeFilename(File file, File directory)
-    {
-        if (file == null || file.equals(directory))
-            return ".";
-        return relativeFilename(file.getParentFile(), directory) + "/" + file.getName();
-    }
-
-    private static String[] relativeFilenames(File[] files, File directory)
-    {
-        String[] result = new String[files.length];
-        for (int i = 0; i < files.length; i++)
-        {
-            result[i] = relativeFilename(files[i], directory);
-        }
-        return result;
-    }
-
-    private static boolean isInDirectory(File file, File dir)
-    {
-        if (file == null)
-            return false;
-        if (file.equals(dir))
-            return true;
-        return isInDirectory(file.getParentFile(), dir);
-    }
-
-
-
-
-
-    public SchemaResourceManager(File directory)
-    {
-        _directory = directory;
-        init();
-    }
-
-    private File _directory;
-
-
-    // SOME METHODS TO OVERRIDE ============================
-
-    /**
-     * Sends messages to System.out.
-     */
-    protected void warning(String msg)
-    {
-        System.out.println(msg);
-    }
-
-    /**
-     * Returns true if the given filename exists.  The filenames
-     * are of the form "/foo/bar/zee.xsd" and should be construed
-     * as rooted at the root of the project.
-     */
-    protected boolean fileExists(String filename)
-    {
-        return (new File(_directory, filename)).exists();
-    }
-
-    /**
-     * Gets the data in the given filename as an InputStream.
-     */
-    protected InputStream inputStreamForFile(String filename) throws IOException
-    {
-        return new FileInputStream(new File(_directory, filename));
-    }
-
-    /**
-     * Writes an entire file in one step.  An InputStream is passed and
-     * copied to the file.
-     */
-    protected void writeInputStreamToFile(InputStream input, String filename) throws IOException
-    {
-        File targetFile = new File(_directory, filename);
-
-        File parent = targetFile.getParentFile();
-        if (!parent.exists())
-            parent.mkdirs();
-        OutputStream output = new FileOutputStream(targetFile);
-        IOUtil.copyCompletely(input, output);
-    }
-
-    /**
-     * Deletes a file.  Sometimes immediately after writing a new file
-     * we notice that it's exactly the same as an existing file and
-     * we delete it. We never delete a file that was given to us
-     * by the user.
-     */
-    protected void deleteFile(String filename)
-    {
-        new File(_directory, filename).delete();
-    }
-
-    /**
-     * Returns a list of all the XSD filesnames in the project.
-     */
-    protected String[] getAllXSDFilenames()
-    {
-        File[] allFiles = (File[])collectXSDFiles(new File[] { _directory }).toArray(new File[0]);
-        return relativeFilenames(allFiles, _directory);
-    }
-
-    /**
-     * Simple recursive file filter to do the above.
-     */
-    private static List collectXSDFiles(File[] dirs)
-    {
-        List files = new ArrayList();
-        for (int i = 0; i < dirs.length; i++)
-        {
-            File f = dirs[i];
-            if (!f.isDirectory())
-            {
-                files.add(f);
-            }
-            else
-            {
-                files.addAll(collectXSDFiles(
-                    f.listFiles(new FileFilter()
-                    {
-                        public boolean accept(File file)
-                            { return file.isDirectory() ||
-                              file.isFile() &&
-                              file.getName().endsWith(".xsd"); }
-                    }
-                )));
-            }
-        }
-        return files;
-    }
-
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/StreamInstanceValidator.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/StreamInstanceValidator.java
deleted file mode 100644
index 75d365d..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/StreamInstanceValidator.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.Location;
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-
-public class StreamInstanceValidator
-{
-    private static final XMLInputFactory XML_INPUT_FACTORY = XMLInputFactory.newInstance();
-
-    public static void main(String[] args)
-    {
-        CommandLine cl = new CommandLine(args, Collections.EMPTY_SET);
-        if (cl.getOpt("license") != null) {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-        if (cl.args().length == 0) {
-            System.out.println("Validates a schema defintion and instances within the schema.");
-            System.out.println("Usage: validate [switches] schema.xsd instance.xml");
-            System.out.println("Switches:");
-            System.out.println("    -dl    enable network downloads for imports and includes");
-            System.out.println("    -nopvr disable particle valid (restriction) rule");
-            System.out.println("    -noupa diable unique particle attributeion rule");
-            System.out.println("    -license prints license information");
-            return;
-        }
-
-        boolean dl = (cl.getOpt("dl") != null);
-        boolean nopvr = (cl.getOpt("nopvr") != null);
-        boolean noupa = (cl.getOpt("noupa") != null);
-
-        File[] schemaFiles = cl.filesEndingWith(".xsd");
-        File[] instanceFiles = cl.filesEndingWith(".xml");
-
-        List sdocs = new ArrayList();
-
-        final XmlOptions options = (new XmlOptions()).setLoadLineNumbers();
-        for (int i = 0; i < schemaFiles.length; i++) {
-            try {
-                sdocs.add(
-                    XmlObject.Factory.parse(
-                        schemaFiles[i], options.setLoadMessageDigest()));
-            }
-            catch (Exception e) {
-                System.err.println(schemaFiles[i] + " not loadable: " + e);
-            }
-        }
-
-        XmlObject[] schemas = (XmlObject[])sdocs.toArray(new XmlObject[0]);
-
-        SchemaTypeLoader sLoader;
-        Collection compErrors = new ArrayList();
-        XmlOptions schemaOptions = new XmlOptions();
-        schemaOptions.setErrorListener(compErrors);
-        if (dl)
-            schemaOptions.setCompileDownloadUrls();
-        if (nopvr)
-            schemaOptions.setCompileNoPvrRule();
-        if (noupa)
-            schemaOptions.setCompileNoUpaRule();
-
-        try {
-            sLoader = XmlBeans.loadXsd(schemas, schemaOptions);
-        }
-        catch (Exception e) {
-            if (compErrors.isEmpty() || !(e instanceof XmlException)) {
-                e.printStackTrace(System.err);
-            }
-            System.out.println("Schema invalid");
-            for (Iterator i = compErrors.iterator(); i.hasNext();)
-                System.out.println(i.next());
-            return;
-        }
-
-        validateFiles(instanceFiles, sLoader, options);
-
-    }
-
-    public static void validateFiles(File[] instanceFiles,
-                                     SchemaTypeLoader sLoader,
-                                     final XmlOptions options)
-    {
-        final ValidatingXMLStreamReader vsr = new ValidatingXMLStreamReader();
-        final Collection errors = new ArrayList();
-
-        for (int i = 0; i < instanceFiles.length; i++) {
-            final File file = instanceFiles[i];
-            final String path = file.getPath();
-
-            errors.clear();
-
-            try {
-                final FileInputStream fis = new FileInputStream(file);
-                final XMLStreamReader rdr =
-                    XML_INPUT_FACTORY.createXMLStreamReader(path, fis);
-
-                //advance to first start element.
-                while(!rdr.isStartElement()) {
-                    rdr.next();
-                }
-
-                vsr.init(rdr, true, null, sLoader, options, errors);
-                
-                while (vsr.hasNext()) {
-                    vsr.next();
-                }
-                vsr.close();
-                fis.close();
-            }
-            catch (XMLStreamException xse) {
-                final Location loc = xse.getLocation();
-                XmlError e = XmlError.forLocation(xse.getMessage(), path,
-                                                  loc.getLineNumber(),
-                                                  loc.getColumnNumber(),
-                                                  loc.getCharacterOffset());
-                errors.add(e);
-            }
-            catch (Exception e) {
-                System.err.println("error for file: " + file + ": " + e);
-                e.printStackTrace(System.err);
-                continue;
-            }
-
-
-            if (errors.isEmpty()) {
-                System.out.println(file + " valid.");
-            } else {
-                System.out.println(file + " NOT valid:");
-                for (Iterator it = errors.iterator(); it.hasNext();) {
-                    XmlError err = (XmlError)it.next();
-                    System.out.println(stringFromError(err, path));
-                }
-            }
-
-        }
-    }
-
-    private static String stringFromError(XmlError err,
-                                          final String path)
-    {
-        String s = XmlError.severityAsString(err.getSeverity()) +
-            ": " +
-            //err.getSourceName()
-            path
-            + ":" + err.getLine() + ":" + err.getColumn() + " " +
-            err.getMessage() + " ";
-        return s;
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/TypeHierarchyPrinter.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/TypeHierarchyPrinter.java
deleted file mode 100644
index 1df2514..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/TypeHierarchyPrinter.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Arrays;
-import java.io.File;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-public class TypeHierarchyPrinter
-{
-    public static void main(String[] args) throws Exception
-    {
-        CommandLine cl = new CommandLine(args, Collections.EMPTY_SET);
-        if (cl.getOpt("license") != null)
-        {
-            CommandLine.printLicense();
-            System.exit(0);
-            return;
-        }
-        if (cl.args().length == 0)
-        {
-            System.out.println("Prints inheritance hierarchy of types defined in a schema.");
-            System.out.println("Usage: xsdtree [-noanon] [-nopvr] [-noupa] [-license] file1.xsd file2.xsd ...");
-            return;
-        }
-        
-        boolean noanon = (cl.getOpt("noanon") != null);
-        boolean nopvr = (cl.getOpt("nopvr") != null);
-        boolean noupa = (cl.getOpt("noupa") != null);
-        
-        File[] schemaFiles = cl.getFiles();
-        
-        // step 1: load all the files
-        List sdocs = new ArrayList();
-        for (int i = 0; i < schemaFiles.length; i++)
-        {
-            try
-            {
-                sdocs.add(
-                    SchemaDocument.Factory.parse(
-                        schemaFiles[i], (new XmlOptions()).setLoadLineNumbers()));
-            }
-            catch (Exception e)
-            {
-                System.err.println( schemaFiles[i] + " not loadable: " + e );
-            }
-        }
-        
-
-        XmlObject[] schemas = (XmlObject[])sdocs.toArray(new XmlObject[0]);
-        
-        // step 2: compile all the schemas
-        SchemaTypeSystem typeSystem;
-        Collection compErrors = new ArrayList();
-        XmlOptions schemaOptions = new XmlOptions();
-        schemaOptions.setErrorListener(compErrors);
-        schemaOptions.setCompileDownloadUrls();
-        if (nopvr)
-            schemaOptions.setCompileNoPvrRule();
-        if (noupa)
-            schemaOptions.setCompileNoUpaRule();
-        
-        try
-        {
-            typeSystem = XmlBeans.compileXsd(schemas, XmlBeans.getBuiltinTypeSystem(), schemaOptions);
-        }
-        catch (XmlException e)
-        {
-            System.out.println("Schema invalid");
-            if (compErrors.isEmpty())
-                System.out.println(e.getMessage());
-            else for (Iterator i = compErrors.iterator(); i.hasNext(); )
-                System.out.println(i.next());
-            return;
-        }
-        
-        // step 3: go through all the types, and note their base types and namespaces
-        Map prefixes = new HashMap();
-        prefixes.put("http://www.w3.org/XML/1998/namespace", "xml");
-        prefixes.put("http://www.w3.org/2001/XMLSchema", "xs");
-        System.out.println("xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"");
-        
-        // This will be a map of (base SchemaType -> Collection of directly dervied types)
-        Map childTypes = new HashMap();
-        
-        // breadthfirst traversal of the type containment tree
-        List allSeenTypes = new ArrayList();
-        allSeenTypes.addAll(Arrays.asList(typeSystem.documentTypes()));
-        allSeenTypes.addAll(Arrays.asList(typeSystem.attributeTypes()));
-        allSeenTypes.addAll(Arrays.asList(typeSystem.globalTypes()));
-
-        for (int i = 0; i < allSeenTypes.size(); i++)
-        {
-            SchemaType sType = (SchemaType)allSeenTypes.get(i);
-            
-            // recurse through nested anonymous types as well
-            if (!noanon)
-                allSeenTypes.addAll(Arrays.asList(sType.getAnonymousTypes()));
-            
-            // we're not interested in document types, attribute types, or chasing the base type of anyType
-            if (sType.isDocumentType() || sType.isAttributeType() || sType == XmlObject.type)
-                continue;
-            
-            // assign a prefix to the namespace of this type if needed
-            noteNamespace(prefixes, sType);
-            
-            // enter this type in the list of children of its base type
-            Collection children = (Collection)childTypes.get(sType.getBaseType());
-            if (children == null)
-            {
-                children = new ArrayList();
-                childTypes.put(sType.getBaseType(), children);
-                
-                // the first time a builtin type is seen, add it too (to get a complete tree up to anyType)
-                if (sType.getBaseType().isBuiltinType())
-                    allSeenTypes.add(sType.getBaseType());
-            }
-            children.add(sType);
-        }
-        
-        // step 4: print the tree, starting from xs:anyType (i.e., XmlObject.type)
-        List typesToPrint = new ArrayList();
-        typesToPrint.add(XmlObject.type);
-        StringBuffer spaces = new StringBuffer();
-        while (!typesToPrint.isEmpty())
-        {
-            SchemaType sType = (SchemaType)typesToPrint.remove(typesToPrint.size() - 1);
-            if (sType == null)
-                spaces.setLength(Math.max(0, spaces.length() - 2));
-            else
-            {
-                System.out.println(spaces + "+-" + QNameHelper.readable(sType, prefixes) + notes(sType));
-                Collection children = (Collection)childTypes.get(sType);
-                if (children != null && children.size() > 0)
-                {
-                    spaces.append(typesToPrint.size() == 0 || typesToPrint.get(typesToPrint.size() - 1) == null ? "  " : "| ");
-                    typesToPrint.add(null);
-                    typesToPrint.addAll(children);
-                }
-            }
-        }
-    }
-    
-    private static String notes(SchemaType sType)
-    {
-        if (sType.isBuiltinType())
-            return " (builtin)";
-        
-        if (sType.isSimpleType())
-        {
-            switch (sType.getSimpleVariety())
-            {
-                case SchemaType.LIST:
-                    return " (list)";
-                case SchemaType.UNION:
-                    return " (union)";
-                default:
-                    if (sType.getEnumerationValues() != null)
-                        return " (enumeration)";
-                    return "";
-            }
-        }
-        
-        switch (sType.getContentType())
-        {
-            case SchemaType.MIXED_CONTENT:
-                return " (mixed)";
-            case SchemaType.SIMPLE_CONTENT:
-                return " (complex)";
-            default:
-                return "";
-        }
-    }
-    
-    private static void noteNamespace(Map prefixes, SchemaType sType)
-    {
-        String namespace = QNameHelper.namespace(sType);
-        if (namespace.equals("") || prefixes.containsKey(namespace))
-            return;
-        
-        String base = QNameHelper.suggestPrefix(namespace);
-        String result = base;
-        for (int n = 0; prefixes.containsValue(result); n += 1)
-        {
-            result = base + n;
-        }
-        
-        prefixes.put(namespace, result);
-        System.out.println("xmlns:" + result + "=\"" + namespace + "\"");
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java
deleted file mode 100644
index 230d5c1..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java
+++ /dev/null
@@ -1,765 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.tools.ant.types.Path;
-import org.apache.tools.ant.types.FileSet;
-import org.apache.tools.ant.types.Reference;
-import org.apache.tools.ant.taskdefs.MatchingTask;
-import org.apache.tools.ant.taskdefs.Javac;
-import org.apache.tools.ant.taskdefs.Jar;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.FileScanner;
-import org.apache.tools.ant.Project;
-
-import java.io.File;
-import java.io.StringWriter;
-import java.io.PrintWriter;
-import java.util.*;
-import java.net.URI;
-
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.impl.common.IOUtil;
-
-/**
- * Modeled after Ant's javac and zip tasks.
- *
- * Schema files to process, or directories of schema files, are set with the 'schema'
- * attribute, and can be filtered with 'includes' and 'excludes'.
- * Alternatively, one or more nested &lt;fileset&gt; elements can specify the
- * files and directories to be used to generate this XMLBean.
- * The include set can also define .java files that should be built as well.
- * See the FileSet documentation at http://jakarta.apache.org/ant/manual/index.html
- * for instructions on FileSets if you are unfamiliar with their usage.
- */
-
-public class XMLBean extends MatchingTask
-{
-    private ArrayList   schemas = new ArrayList();
-
-    private Set         mdefnamespaces;
-
-    private Path        classpath;
-
-    private File        destfile,
-                        schema,
-                        srcgendir,
-                        classgendir;
-
-    private boolean     quiet,
-                        verbose,
-                        debug,
-                        optimize,
-                        download,
-                        srconly,
-                        failonerror = true,
-                        fork = true,
-                        includeAntRuntime = true,
-                        noSrcRegen,
-                        includeJavaRuntime = false;
-
-    private String      typesystemname,
-                        forkedExecutable,
-                        compiler,
-                        debugLevel,
-                        memoryInitialSize,
-                        memoryMaximumSize,
-                        catalog;
-
-    private List        extensions = new ArrayList();
-
-    private HashMap     _extRouter = new HashMap(5);
-
-    private static final String XSD = ".xsd",
-                                WSDL = ".wsdl",
-                                JAVA = ".java",
-                                XSDCONFIG = ".xsdconfig";
-
-
-    public void execute() throws BuildException
-    {
-        /* VALIDATION */
-        //required
-        if (schemas.size() == 0
-            && schema == null
-            && fileset.getDir(project) == null)
-        {
-            String msg = "The 'schema' or 'dir' attribute or a nested fileset is required.";
-            if (failonerror)
-                throw new BuildException(msg);
-            else
-            {
-                log(msg, Project.MSG_ERR);
-                return;
-            }
-        }
-
-        _extRouter.put(XSD, new HashSet());
-        _extRouter.put(WSDL, new HashSet());
-        _extRouter.put(JAVA, new HashSet());
-        _extRouter.put(XSDCONFIG, new HashSet());
-
-        File theBasedir = schema;
-
-        if (schema != null)
-        {
-            if (schema.isDirectory())
-            {
-                FileScanner scanner = getDirectoryScanner(schema);
-                String[] paths = scanner.getIncludedFiles();
-                processPaths(paths, scanner.getBasedir());
-            }
-            else
-            {
-                theBasedir = schema.getParentFile();
-                processPaths(new String[] { schema.getName() }, theBasedir);
-            }
-        }
-
-        if (fileset.getDir(project) != null)
-            schemas.add(fileset);
-
-        Iterator si = schemas.iterator();
-        while (si.hasNext())
-        {
-            FileSet fs = (FileSet) si.next();
-            FileScanner scanner = fs.getDirectoryScanner(project);
-            File basedir = scanner.getBasedir();
-            String[] paths = scanner.getIncludedFiles();
-
-            processPaths(paths, basedir);
-        }
-
-        Set xsdList = (Set) _extRouter.get(XSD);
-        Set wsdlList = (Set) _extRouter.get(WSDL);
-
-        if (xsdList.size() + wsdlList.size() == 0)
-        {
-            log("Could not find any xsd or wsdl files to process.", Project.MSG_WARN);
-            return;
-        }
-
-        //optional
-        Set javaList = (Set) _extRouter.get(JAVA);
-        Set xsdconfigList = (Set) _extRouter.get(XSDCONFIG);
-
-        if (srcgendir == null && srconly)
-            srcgendir = classgendir;
-
-        if (destfile == null && classgendir == null && ! srconly)
-            destfile = new File("xmltypes.jar");
-
-        if (verbose)
-            quiet = false;
-
-        /* EXECUTION */
-
-        File[] xsdArray = (File[]) xsdList.toArray(new File[xsdList.size()]);
-        File[] wsdlArray = (File[]) wsdlList.toArray(new File[wsdlList.size()]);
-        File[] javaArray = (File[]) javaList.toArray(new File[javaList.size()]);
-        File[] xsdconfigArray = (File[]) xsdconfigList.toArray(new File[xsdconfigList.size()]);
-        ErrorLogger err = new ErrorLogger(verbose);
-
-        boolean success = false;
-
-        try
-        {
-            // create a temp directory
-            File tmpdir = null;
-            if (srcgendir == null || classgendir == null)
-            {
-                tmpdir = SchemaCodeGenerator.createTempDir();
-            }
-            if (srcgendir == null)
-                srcgendir = IOUtil.createDir(tmpdir, "src");
-            if (classgendir == null)
-                classgendir = IOUtil.createDir(tmpdir, "classes");
-
-            // use the system classpath if user didn't provide any
-            if (classpath == null)
-            {
-                classpath = new Path(project);
-                classpath.concatSystemClasspath();
-            }
-
-            // prepend the output directory on the classpath
-            Path.PathElement pathElement = classpath.createPathElement();
-            pathElement.setLocation(classgendir);
-
-            String[] paths = classpath.list();
-            File[] cp = new File[paths.length];
-            for (int i = 0; i < paths.length; i++)
-                cp[i] = new File(paths[i]);
-
-            // generate the source
-            SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-            params.setBaseDir(theBasedir);
-            params.setXsdFiles(xsdArray);
-            params.setWsdlFiles(wsdlArray);
-            params.setJavaFiles(javaArray);
-            params.setConfigFiles(xsdconfigArray);
-            params.setClasspath(cp);
-            //params.setOutputJar(destfile); // always use the jar task below
-            params.setName(typesystemname);
-            params.setSrcDir(srcgendir);
-            params.setClassesDir(classgendir);
-            params.setNojavac(true); // always compile using javac task below
-            params.setDebug(debug);
-            params.setVerbose(verbose);
-            params.setQuiet(quiet);
-            params.setDownload(download);
-            params.setExtensions(extensions);
-            params.setErrorListener(err);
-            params.setCatalogFile(catalog);
-            params.setIncrementalSrcGen(noSrcRegen);
-            params.setMdefNamespaces(mdefnamespaces);
-            success = SchemaCompiler.compile(params);
-
-            if (success && !srconly) {
-                long start = System.currentTimeMillis();
-
-                // compile the source
-                Javac javac = new Javac();
-                javac.setProject(project);
-                javac.setTaskName(getTaskName());
-                javac.setClasspath(classpath);
-                if (compiler != null) javac.setCompiler(compiler);
-                javac.setDebug(debug);
-                if (debugLevel != null) javac.setDebugLevel(debugLevel);
-                javac.setDestdir(classgendir);
-                javac.setExecutable(forkedExecutable);
-                javac.setFailonerror(failonerror);
-                javac.setFork(fork);
-                if (source != null) javac.setSource(source);
-                javac.setIncludeantruntime(includeAntRuntime);
-                javac.setIncludejavaruntime(includeJavaRuntime);
-                javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
-                if (memoryInitialSize != null) javac.setMemoryInitialSize(memoryInitialSize);
-                if (memoryMaximumSize != null) javac.setMemoryMaximumSize(memoryMaximumSize);
-                javac.setOptimize(optimize);
-                javac.setVerbose(verbose);
-                javac.execute();
-
-                long finish = System.currentTimeMillis();
-                if (!quiet)
-                    log("Time to compile code: " + ((double)(finish - start) / 1000.0) + " seconds");
-
-                if (destfile != null)
-                {
-                    // jar the compiled classes
-                    Jar jar = new Jar();
-                    jar.setProject(project);
-                    jar.setTaskName(getTaskName());
-                    jar.setBasedir(classgendir);
-                    jar.setDestFile(destfile);
-                    jar.execute();
-                }
-            }
-
-            if (tmpdir != null) {
-                SchemaCodeGenerator.tryHardToDelete(tmpdir);
-            }
-        }
-        catch (Throwable e)
-        {
-            //interrupted means cancel
-            if (e instanceof InterruptedException)
-                throw new BuildException(e);
-
-            log("Exception while building schemas: " + e.getMessage(), Project.MSG_ERR);
-            StringWriter sw = new StringWriter();
-            e.printStackTrace(new PrintWriter(sw));
-            log(sw.toString(), Project.MSG_VERBOSE);
-        }
-
-        if (!success && failonerror)
-            throw new BuildException(); //stop the build
-    }
-
-    private void processPaths(String[] paths, File baseDir)
-    {
-        for (int i = 0; i < paths.length; i++)
-        {
-            int dot = paths[i].lastIndexOf('.');
-            if (dot > -1)
-            {
-                String path = paths[i];
-                String possExt = path.substring(dot).toLowerCase();
-                Set set = (Set) _extRouter.get(possExt);
-
-                if (set != null)
-                    set.add(new File(baseDir, path));
-            }
-        }
-    }
-
-    public void addFileset(FileSet fileset)
-    {
-        schemas.add(fileset);
-    }
-
-    /////////////////////////////
-    //Getter/Setters
-    public File getSchema()
-    {
-        return schema;
-    }
-
-    /**
-     * A file that points to either an individual schema file or a directory of files.
-     * It is optional only if one or more &lt;fileset&gt; elements are nested in this
-     * task.
-     * @param schema Required, unless a fileset element is nested.
-     */
-    public void setSchema(File schema)
-    {
-        this.schema = schema;
-    }
-
-    /**
-     * The classpath to use if schemas in the fileset import definitions that are
-     * supplied by other compiled xml beans JAR files, or if .java files are in the
-     * schema fileset.
-     * @param classpath Optional.
-     */
-    public void setClasspath(Path classpath)
-    {
-        if (this.classpath != null)
-            this.classpath.append(classpath);
-        else
-            this.classpath = classpath;
-    }
-
-    /**
-     * Adds a path to the classpath.
-     */
-    public Path createClasspath() {
-        if (classpath == null) {
-            classpath = new Path(project);
-        }
-        return classpath.createPath();
-    }
-
-    /**
-     * Adds a reference to a classpath defined elsewhere.
-     * @param classpathref Optional.
-     */
-    public void setClasspathRef(Reference classpathref)
-    {
-        if (classpath == null)
-            classpath = new Path(project);
-
-        classpath.createPath().setRefid(classpathref);
-    }
-
-    public Path getClasspath()
-    {
-        return classpath;
-    }
-
-    public File getDestfile()
-    {
-        return destfile;
-    }
-
-    /**
-     * Define the name of the jar file created.  For instance, "myXMLBean.jar"
-     * will output the results of this task into a jar with the same name.
-     * Optional, defaults to "xmltypes.jar".
-     * @param destfile Optional.
-     */
-    public void setDestfile(File destfile)
-    {
-        this.destfile = destfile;
-    }
-
-    public File getSrcgendir()
-    {
-        return srcgendir;
-    }
-
-    /**
-     * Set a location to generate .java files into.  Optional, defaults to
-     * a temp dir.
-     * @param srcgendir Optional.
-     */
-    public void setSrcgendir(File srcgendir)
-    {
-        this.srcgendir = srcgendir;
-    }
-
-    public File getClassgendir()
-    {
-        return classgendir;
-    }
-
-    /**
-     * Set a location to generate .class files into.  Optional, defaults to
-     * a temp dir.
-     * @param classgendir Optional.
-     */
-    public void setClassgendir(File classgendir)
-    {
-        this.classgendir = classgendir;
-    }
-
-    /**
-     * Choose the implementation for this particular task.
-     *
-     * @since Ant 1.5
-     */
-    public void setCompiler(String compiler)
-    {
-        this.compiler = compiler;
-    }
-
-    public boolean isDownload()
-    {
-        return download;
-    }
-
-    /**
-     * Set to true to permit the compiler to download URLs for imports
-     * and includes.  Defaults to false, meaning all imports and includes
-     * must be copied locally.
-     * @param download Optional.
-     */
-    public void setDownload(boolean download)
-    {
-        this.download = download;
-    }
-
-    /**
-     * If true, compiles with optimization enabled.
-     */
-    public void setOptimize(boolean optimize) {
-        this.optimize = optimize;
-    }
-
-    /** Gets the optimize flag. */
-    public boolean getOptimize() {
-        return optimize;
-    }
-
-    public boolean isVerbose()
-    {
-        return verbose;
-    }
-
-    /**
-     * Controls the amount of output.  Defaults to true.
-     * @param verbose Optional.
-     */
-    public void setVerbose(boolean verbose)
-    {
-        this.verbose = verbose;
-    }
-
-    public boolean isQuiet()
-    {
-        return quiet;
-    }
-
-    /**
-     * Controls the amount of output.  Defaults to false.
-     * @param quiet Optional.
-     */
-    public void setQuiet(boolean quiet)
-    {
-        this.quiet = quiet;
-    }
-
-    public boolean isDebug()
-    {
-        return debug;
-    }
-
-    /**
-     * Get the value of debugLevel.
-     * @return value of debugLevel.
-     */
-    public String getDebugLevel() {
-        return debugLevel;
-    }
-
-    /**
-     * Keyword list to be appended to the -g command-line switch.
-     *
-     * This will be ignored by all implementations except modern
-     * and classic(ver >= 1.2). Legal values are none or a
-     * comma-separated list of the following keywords: lines, vars,
-     * and source. If debuglevel is not specified, by default, :none
-     * will be appended to -g. If debug is not turned on, this attribute
-     * will be ignored.
-     *
-     * @param v  Value to assign to debugLevel.
-     */
-    public void setDebugLevel(String  v) {
-        this.debugLevel = v;
-    }
-
-    /**
-     * Generate debugging symbols.
-     * @param debug Optional.
-     */
-    public void setDebug(boolean debug)
-    {
-        this.debug = debug;
-    }
-
-    /**
-     * If true, forks the javac compiler.
-     *
-     * @param f "true|false|on|off|yes|no"
-     */
-    public void setFork(boolean f) {
-        fork = f;
-    }
-
-    /**
-     * Sets the the name of the javac executable.
-     *
-     * <p>Ignored unless fork is true or extJavac has been specified
-     * as the compiler.</p>
-     */
-    public void setExecutable(String forkExec) {
-        forkedExecutable = forkExec;
-    }
-
-    public String getExecutable() {
-        return forkedExecutable;
-    }
-
-    public boolean isSrconly()
-    {
-        return srconly;
-    }
-
-    /**
-     * A value of true means that only source will be generated.  Optional,
-     * default is false.
-     * @param srconly Optional.
-     */
-    public void setSrconly(boolean srconly)
-    {
-        this.srconly = srconly;
-    }
-
-    public String getTypesystemname()
-    {
-        return typesystemname;
-    }
-
-    /**
-     * One or more SchemaCompiler extensions can be passed in via the &lt;extension> subelement.
-     *  Schema Compiler extensions must implement the interface com.xbean.too.SchemaCompilerExtension
-     */
-    public Extension createExtension() {
-        Extension e = new Extension();
-        extensions.add(e);
-        return e;
-    }
-
-    /**
-     * One or more namespaces in which duplicate definitions are to be ignored
-     * can be passed in via the &lt;ignoreDuplicatesInNamespaces> subelement.
-     */
-    public void setIgnoreDuplicatesInNamespaces(String namespaces) {
-        mdefnamespaces = new HashSet();
-        StringTokenizer st = new StringTokenizer(namespaces, ",");
-        while (st.hasMoreTokens())
-        {
-          String namespace = st.nextToken().trim();
-          mdefnamespaces.add(namespace);
-        }
-    }
-
-    public String getIgnoreDuplicatesInNamespaces() {
-        if (mdefnamespaces == null) {
-            return null;
-        }
-        StringBuffer buf = new StringBuffer();
-        Iterator i = mdefnamespaces.iterator();
-        while (i.hasNext()) {
-            buf.append((String)i.next());
-            if (i.hasNext()) {
-                buf.append(",");
-            }
-        }
-        return buf.toString();
-    }
-
-    /**
-     * The name of the package that the TypeSystemHolder class should be
-     * generated in. Normally this should be left unspecified.  None of
-     * the xml beans are generated in this package.
-     * <BR><BR>Use .xsdconfig files to modify xml bean package or class names.
-     * @param typesystemname Optional.
-     */
-    public void setTypesystemname(String typesystemname)
-    {
-        this.typesystemname = typesystemname;
-    }
-
-    public boolean isFailonerror()
-    {
-        return failonerror;
-    }
-
-    /**
-     * Determines whether or not the ant target will continue if the XMLBean
-     * creation encounters a build error.  Defaults to true.  Optional.
-     * @param failonerror Optional.
-     */
-    public void setFailonerror(boolean failonerror)
-    {
-        this.failonerror = failonerror;
-    }
-
-    public boolean isIncludeAntRuntime()
-    {
-        return includeAntRuntime;
-    }
-
-    public void setIncludeAntRuntime(boolean includeAntRuntime)
-    {
-        this.includeAntRuntime = includeAntRuntime;
-    }
-
-    public boolean isIncludeJavaRuntime()
-    {
-        return includeJavaRuntime;
-    }
-
-    public void setIncludeJavaRuntime(boolean includeJavaRuntime)
-    {
-        this.includeJavaRuntime = includeJavaRuntime;
-    }
-
-    public boolean isNoSrcRegen()
-    {
-        return noSrcRegen;
-    }
-
-    public void setNoSrcRegen(boolean noSrcRegen)
-    {
-        this.noSrcRegen = noSrcRegen;
-    }
-
-    /**
-     * Set the initial memory size of the underlying javac process.
-     */
-    public String getMemoryInitialSize()
-    {
-        return memoryInitialSize;
-    }
-
-    public void setMemoryInitialSize(String memoryInitialSize)
-    {
-        this.memoryInitialSize = memoryInitialSize;
-    }
-
-    /**
-     * Set the maximum memory size of the underlying javac process.
-     */
-    public String getMemoryMaximumSize()
-    {
-        return memoryMaximumSize;
-    }
-
-    public void setMemoryMaximumSize(String memoryMaximumSize)
-    {
-        this.memoryMaximumSize = memoryMaximumSize;
-    }
-
-  //REVIEW this allows people to deal with the case where they drag in
-  //more files for compilation than they should.  not sure if this is
-  //a good thing or not
-  private String source = null;
-  public void setSource(String s) { source = s; }
-
-    /**
-     * Gets the XML Catalog file for org.apache.xml.resolver.tools.CatalogResolver. (Note: needs resolver.jar from http://xml.apache.org/commons/components/resolver/index.html)
-     */
-    public String getCatalog()
-    {
-        return catalog;
-    }
-
-    /**
-     * Sets the XML Catalog file for org.apache.xml.resolver.tools.CatalogResolver. (Note: needs resolver.jar from http://xml.apache.org/commons/components/resolver/index.html)
-     */
-    public void setCatalog(String catalog)
-    {
-        this.catalog = catalog;
-    }
-
-    private static URI uriFromFile(File f)
-    {
-        if (f == null)
-            return null;
-
-        try
-        {
-            return f.getCanonicalFile().toURI();
-        }
-        catch(java.io.IOException e)
-        {
-            // Don't spit out an exception here because on Windows you'll get one
-            // if the filename is "aux", "lpt1", etc. It's the caller's responsibility
-            // to deal with those cases correctly, usually by calling FileSvc.invalidPathCheck()
-            // MessageSvc.get().logException(e);
-            return f.getAbsoluteFile().toURI();
-        }
-    }
-
-    public class ErrorLogger extends AbstractCollection
-    {
-        private boolean _noisy;
-        private URI _baseURI;
-
-        public ErrorLogger(boolean noisy)
-        {
-            _noisy = noisy;
-            _baseURI = uriFromFile(project.getBaseDir());
-        }
-
-        public boolean add(Object o)
-        {
-            if (o instanceof XmlError)
-            {
-                XmlError err = (XmlError)o;
-                if (err.getSeverity() == XmlError.SEVERITY_ERROR)
-                    log(err.toString(_baseURI), Project.MSG_ERR);
-                else if (err.getSeverity() == XmlError.SEVERITY_WARNING)
-                    log(err.toString(_baseURI), Project.MSG_WARN);
-                else if (_noisy)
-                    log(err.toString(_baseURI), Project.MSG_INFO);
-            }
-            return false;
-        }
-
-        public Iterator iterator()
-        {
-            return Collections.EMPTY_LIST.iterator();
-        }
-
-        public int size()
-        {
-            return 0;
-        }
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBeanXSTCHarness.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBeanXSTCHarness.java
deleted file mode 100644
index bf87c72..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBeanXSTCHarness.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.XmlException;
-
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-
-public class XMLBeanXSTCHarness implements XSTCTester.Harness
-{
-    public void runTestCase(XSTCTester.TestCaseResult result)
-    {
-        XSTCTester.TestCase testCase = result.getTestCase();
-        
-        // System.out.println("Running case " + testCase.getDescription());
-        
-        try
-        {
-            Collection errors = new ArrayList();
-            boolean schemaValid = true;
-            boolean instanceValid = true;
-            
-            if (testCase.getSchemaFile() == null)
-                return;
-            
-            // step 1, load schema file etc.
-            SchemaTypeLoader loader = null;
-            try
-            {
-                XmlObject schema = XmlObject.Factory.parse(testCase.getSchemaFile(), new XmlOptions().setErrorListener(errors).setLoadLineNumbers());
-                XmlObject schema2 = null;
-                if (testCase.getResourceFile() != null)
-                    schema2 = XmlObject.Factory.parse(testCase.getResourceFile(), new XmlOptions().setErrorListener(errors).setLoadLineNumbers());
-                XmlObject[] schemas = schema2 == null ? new XmlObject[] { schema } : new XmlObject[] { schema, schema2 };
-                SchemaTypeSystem system = XmlBeans.compileXsd(schemas, XmlBeans.getBuiltinTypeSystem(), new XmlOptions().setErrorListener(errors));
-                loader = XmlBeans.typeLoaderUnion(new SchemaTypeLoader[] { system, XmlBeans.getBuiltinTypeSystem() });
-            }
-            catch (Exception e)
-            {
-                schemaValid = false;
-                if (!(e instanceof XmlException) || errors.isEmpty())
-                {
-                    result.setCrash(true);
-                    StringWriter sw = new StringWriter();
-                    e.printStackTrace(new PrintWriter(sw));
-                    result.addSvMessages(Collections.singleton(sw.toString()));
-                }
-            }
-            
-            result.addSvMessages(errors);
-            result.setSvActual(schemaValid);
-            errors.clear();
-            
-            if (loader == null)
-                return;
-            
-            if (testCase.getInstanceFile() == null)
-                return;
-            
-            // step 2, load instance file and validate
-            try
-            {
-                XmlObject instance = loader.parse(testCase.getInstanceFile(), null, new XmlOptions().setErrorListener(errors).setLoadLineNumbers());
-                if (!instance.validate(new XmlOptions().setErrorListener(errors)))
-                    instanceValid = false;
-            }
-            catch (Exception e)
-            {
-                instanceValid = false;
-                if (!(e instanceof XmlException) || errors.isEmpty())
-                {
-                    result.setCrash(true);
-                    StringWriter sw = new StringWriter();
-                    e.printStackTrace(new PrintWriter(sw));
-                    result.addIvMessages(Collections.singleton(sw.toString()));
-                }
-            }
-            result.addIvMessages(errors);
-            result.setIvActual(instanceValid);
-                    
-        }
-        finally
-        {
-            // System.out.println(result.succeeded() ? "Success.": "Failure.");
-        }
-    }
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XSTCTester.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XSTCTester.java
deleted file mode 100644
index a734e48..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XSTCTester.java
+++ /dev/null
@@ -1,415 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import com.bea.x2003.x05.xmlbean.ltgfmt.TestsDocument;
-import com.bea.x2003.x05.xmlbean.ltgfmt.FileDesc;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlCalendar;
-
-import java.io.File;
-import java.io.PrintWriter;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.Date;
-import java.util.regex.Pattern;
-import java.net.URI;
-
-public class XSTCTester
-{
-    public static void main(String[] args) throws IOException
-    {
-        long start = System.currentTimeMillis();
-        
-        CommandLine cl = new CommandLine(args, Collections.EMPTY_SET);
-        boolean showpass = (cl.getOpt("showpass") != null);
-        File[] allFiles = cl.getFiles();
-        Collection ltgFiles = new ArrayList();
-        Harness harness = new XMLBeanXSTCHarness();
-        
-        for (int i = 0; i < allFiles.length; i++)
-        {
-            if (allFiles[i].getName().indexOf("LTG") >= 0)
-                ltgFiles.add(allFiles[i]);
-        }
-        
-        File resultsFile = new File("out.html");
-        PrintWriter writer = new PrintWriter(new FileWriter(resultsFile));
-        writer.println("<html>");
-        writer.println("<style>td {border-bottom: 1px solid black} xmp {white-space: normal; word-wrap: break-word; word-break: break-all} </style>");
-        writer.println("<body>");
-
-        writer.println("<script language='JavaScript' type='text/javascript'>");
-        writer.println("var w;");
-        writer.println("function openWindow(schema, instance) {");
-	    writer.println("  if (w == null) {");
-        writer.println("    w = window.open('about:blank', 'xstc');");
-	    writer.println("  }");
-	    writer.println("  if (w.closed) {");
-		writer.println("    w = window.open('about:blank', 'xstc');");
-	    writer.println("  }");
-	    writer.println("  w.document.open();");
-	    writer.println("  w.document.write(\"<frameset rows=*,*><frame src='\" + schema + \"'><frame src='\" + instance + \"'></frameset>\");");
-	    writer.println("  w.document.close();");
-	    writer.println("  w.focus();");
-        writer.println("}");
-        writer.println("</script>");
-
-        writer.println("<h1>XML Schema Test Collection Results</h1>");
-        writer.println("<p>Run on " + (new XmlCalendar(new Date())) + "</p>");
-        writer.println("<table style='border: 1px solid black' cellpadding=0 cellspacing=0>");
-        writer.println("<tr><td width=75%>Description</td><td width=12.5%>sch v</td><td width=12.5%>ins v</td></tr>");
-        int failures = 0;
-        int cases = 0;
-        for (Iterator i = ltgFiles.iterator(); i.hasNext(); )
-        {
-            File ltgFile = (File)i.next();
-            System.out.println("Processing test cases in " + ltgFile);
-            Collection ltgErrors = new ArrayList();
-            TestCase[] testCases = parseLTGFile(ltgFile, ltgErrors);
-            Collection results = new ArrayList();
-            if (testCases != null) for (int j = 0; j < testCases.length; j++)
-            {
-                TestCaseResult result = new TestCaseResult();
-                result.testCase = testCases[j];
-                harness.runTestCase(result);
-                cases += 1;
-                if (!result.succeeded())
-                    failures += 1;
-                else if (!showpass)
-                    continue;
-                results.add(result);
-            }
-            writer.println("<tr><td colspan=3 bgcolor=skyblue>" + ltgFile + "</td></tr>");
-            if (!ltgErrors.isEmpty())
-            {
-                writer.println("<tr><td>Errors within the LTG file:");
-                writer.println("<xmp>");
-                for (Iterator j = ltgErrors.iterator(); j.hasNext(); )
-                    writer.println(j.next());
-                writer.println("</xmp>");
-                writer.println("</td></tr>");
-            }
-            else
-            {
-                if (results.size() == 0)
-                    writer.println("<tr><td colspan=3 bgcolor=green>Nothing to report</td></tr>");
-            }
-            if (results == null)
-                continue;
-            for (Iterator j = results.iterator(); j.hasNext() ;)
-            {
-                summarizeResultAsHTMLTableRows((TestCaseResult)j.next(), writer);
-            }
-        }
-        writer.println("<tr><td colspan=3>Summary: " + failures + " failures out of " + cases + " cases run.</td></tr>");
-        writer.println("</table>");
-        writer.close();
-        
-        long finish = System.currentTimeMillis();
-        System.out.println("Time run tests: " + ((double)(finish - start) / 1000.0) + " seconds" );
-        
-        // Launch results
-        if (System.getProperty("os.name").toLowerCase().indexOf("windows") >= 0)
-            Runtime.getRuntime().exec("cmd /c start iexplore \"" + resultsFile.getAbsolutePath() + "\"");
-        else
-            System.out.println("Results output to " + resultsFile);
-    }
-    
-    public static class TestCase
-    {
-        private File ltgFile;
-        private String id;
-        private String origin;
-        private String description;
-        private File schemaFile;
-        private File instanceFile;
-        private File resourceFile;
-        private boolean svExpected;
-        private boolean ivExpected;
-        private boolean rvExpected;
-
-        public File getLtgFile()
-        {
-            return ltgFile;
-        }
-
-        public String getId()
-        {
-            return id;
-        }
-
-        public String getOrigin()
-        {
-            return origin;
-        }
-
-        public String getDescription()
-        {
-            return description;
-        }
-
-        public File getSchemaFile()
-        {
-            return schemaFile;
-        }
-
-        public File getInstanceFile()
-        {
-            return instanceFile;
-        }
-
-        public File getResourceFile()
-        {
-            return resourceFile;
-        }
-
-        public boolean isSvExpected()
-        {
-            return svExpected;
-        }
-
-        public boolean isIvExpected()
-        {
-            return ivExpected;
-        }
-
-        public boolean isRvExpected()
-        {
-            return rvExpected;
-        }
-    }
-    
-    public static class TestCaseResult
-    {
-        private TestCase testCase;
-        private boolean svActual;
-        private Collection svMessages = new ArrayList();
-        private boolean ivActual;
-        private Collection ivMessages = new ArrayList();
-        private boolean crash;
-
-        public TestCase getTestCase()
-        {
-            return testCase;
-        }
-
-        public boolean isSvActual()
-        {
-            return svActual;
-        }
-
-        public void setSvActual(boolean svActual)
-        {
-            this.svActual = svActual;
-        }
-
-        public boolean isIvActual()
-        {
-            return ivActual;
-        }
-
-        public void setIvActual(boolean ivActual)
-        {
-            this.ivActual = ivActual;
-        }
-
-        public Collection getSvMessages()
-        {
-            return Collections.unmodifiableCollection(svMessages);
-        }
-
-        public void addSvMessages(Collection svMessages)
-        {
-            this.svMessages.addAll(svMessages);
-        }
-
-        public Collection getIvMessages()
-        {
-            return Collections.unmodifiableCollection(ivMessages);
-        }
-
-        public void addIvMessages(Collection ivMessages)
-        {
-            this.ivMessages.addAll(ivMessages);
-        }
-        
-        public void setCrash(boolean crash)
-        {
-            this.crash = crash;
-        }
-        
-        public boolean isCrash()
-        {
-            return crash;
-        }
-        
-        public boolean succeeded()
-        {
-            return !crash && (isIvActual() == testCase.isIvExpected()) && (isSvActual() == testCase.isSvExpected());
-        }
-    }
-    
-    public static interface Harness
-    {
-        public void runTestCase(TestCaseResult result);
-    }
-    
-    public static String makeHTMLLink(File file, boolean value)
-    {
-        if (file == null)
-            return "&nbsp;";
-        URI uri = file.getAbsoluteFile().toURI();
-        return "<a href=\"" + uri + "\" target=_blank>" + Boolean.toString(value) + "</a>";
-    }
-    
-    private static final Pattern leadingSpace = Pattern.compile("^\\s+", Pattern.MULTILINE);
-    
-    public static String makeHTMLDescription(TestCase testCase)
-    {
-        StringBuffer sb = new StringBuffer();
-        sb.append("<a class=noline href='javascript:openWindow(\"");
-        if (testCase.getSchemaFile() == null)
-            sb.append("about:No schema");
-        else
-            sb.append(testCase.getSchemaFile().getAbsolutePath().replaceAll("\\\\", "\\\\\\\\"));
-
-        sb.append("\", \"");
-        if (testCase.getInstanceFile() == null)
-            sb.append("about:No instance");
-        else
-            sb.append(testCase.getInstanceFile().getAbsolutePath().replaceAll("\\\\", "\\\\\\\\"));
-        sb.append("\")'><xmp>");
-        sb.append(leadingSpace.matcher(testCase.getDescription()).replaceAll("") + "(" + testCase.getId() + ")");
-        sb.append("</xmp></a>");
-        return sb.toString();
-    }
-    
-    public static void summarizeResultAsHTMLTableRows(TestCaseResult result, PrintWriter out)
-    {
-        TestCase testCase = result.getTestCase();
-        boolean sRight = testCase.getSchemaFile() == null || testCase.isSvExpected() == result.isSvActual();
-        boolean iRight = testCase.getInstanceFile() == null || testCase.isIvExpected() == result.isIvActual();
-        
-        out.println(result.isCrash() ? "<tr bgcolor=black color=white>" : "<tr>");
-        out.println("<td valign=top>" + makeHTMLDescription(testCase) + "</td>");
-        String sLinks;
-        if (testCase.getResourceFile() == null)
-            sLinks = makeHTMLLink(testCase.getSchemaFile(), result.isSvActual());
-        else
-            sLinks = makeHTMLLink(testCase.getSchemaFile(), result.isSvActual()) + "<br>" + makeHTMLLink(testCase.getResourceFile(), result.isSvActual());
-        
-        out.println((sRight ? "<td valign=top>" : result.isSvActual() ? "<td bgcolor=orange valign=top>" : "<td bgcolor=red valign=top>") + sLinks + "</td>");
-        out.println((iRight ? "<td valign=top>" : result.isIvActual() ? "<td bgcolor=orange valign=top>" : "<td bgcolor=red valign=top>") + makeHTMLLink(testCase.getInstanceFile(), result.isIvActual()) + "</td>");
-        out.println("</tr>");
-        if (!result.getIvMessages().isEmpty() || !result.getSvMessages().isEmpty())
-        {
-            if (!result.succeeded())
-                out.println("<tr><td colspan=3 bgcolor=yellow><xmp>");
-            else
-                out.println("<tr><td colspan=3><xmp>");
-            for (Iterator j = result.getSvMessages().iterator(); j.hasNext(); )
-                out.println(j.next());
-            for (Iterator j = result.getIvMessages().iterator(); j.hasNext(); )
-                out.println(j.next());
-            out.println("</xmp></tr></td>");
-        }
-    }
-    
-    public static TestCase[] parseLTGFile(File ltgFile, Collection outerErrors)
-    {
-        Collection errors = new ArrayList();
-        try
-        {
-            XmlOptions ltgOptions = new XmlOptions();
-            ltgOptions.setLoadSubstituteNamespaces(Collections.singletonMap("", "http://www.bea.com/2003/05/xmlbean/ltgfmt"));
-            ltgOptions.setErrorListener(errors);
-            ltgOptions.setLoadLineNumbers();
-            TestsDocument doc = TestsDocument.Factory.parse(ltgFile, ltgOptions);
-            if (!doc.validate(ltgOptions))
-                throw new Exception("Document " + ltgFile + " not valid.");
-            
-            com.bea.x2003.x05.xmlbean.ltgfmt.TestCase[] testCases = doc.getTests().getTestArray();
-            
-            Collection result = new ArrayList();
-            for (int i = 0; i < testCases.length; i++)
-            {
-                TestCase newCase = new TestCase();
-                newCase.ltgFile = ltgFile;
-                newCase.id = testCases[i].getId();
-                newCase.origin = testCases[i].getOrigin();
-                newCase.description = testCases[i].getDescription();
-                FileDesc[] filedescs = testCases[i].getFiles().getFileArray();
-                testCases[i].getOrigin();
-                for (int j = 0; j < filedescs.length; j++)
-                {
-                    String dir = filedescs[j].getFolder();
-                    String filename = filedescs[j].getFileName();
-                    File theFile = new File(ltgFile.getParentFile(), dir + "/" + filename);
-                    if (!theFile.exists() || !theFile.isFile() || !theFile.canRead())
-                    {
-                        outerErrors.add(XmlError.forObject("Can't read file " + theFile, filedescs[j]).toString());
-                        continue;
-                    }
-                    
-                    switch (filedescs[j].getRole().intValue())
-                    {
-                        case FileDesc.Role.INT_INSTANCE:
-                            if (newCase.instanceFile != null)
-                                outerErrors.add(XmlError.forObject("More than one instance file speicifed - ignoring all but last", filedescs[j]).toString());
-                            newCase.instanceFile = theFile;
-                            newCase.ivExpected = filedescs[j].getValidity();
-                            break;
-                            
-                        case FileDesc.Role.INT_SCHEMA:
-                            if (newCase.schemaFile != null)
-                                outerErrors.add(XmlError.forObject("More than one schema file speicifed - ignoring all but last", filedescs[j]).toString());
-                            newCase.schemaFile = theFile;
-                            newCase.svExpected = filedescs[j].getValidity();
-                            break;
-                            
-                        case FileDesc.Role.INT_RESOURCE:
-                            if (newCase.resourceFile != null)
-                                outerErrors.add(XmlError.forObject("More than one resource file speicifed - ignoring all but last", filedescs[j]).toString());
-                            newCase.resourceFile = theFile;
-                            newCase.rvExpected = filedescs[j].getValidity();
-                            break;
-                        
-                        default:
-                            throw new XmlException(XmlError.forObject("Unexpected file role", filedescs[j]));
-                    }
-                }
-                result.add(newCase);
-            }
-            return (TestCase[])result.toArray(new TestCase[result.size()]);
-        }
-        catch (Exception e)
-        {
-            if (errors.isEmpty())
-                outerErrors.add(e.getMessage());
-            else for (Iterator i = errors.iterator(); i.hasNext(); )
-                outerErrors.add(i.next().toString());
-            return null;
-        }
-    }
-    
-}
diff --git a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XsbDumper.java b/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XsbDumper.java
deleted file mode 100644
index 99189f8..0000000
--- a/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XsbDumper.java
+++ /dev/null
@@ -1,1305 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.tool;
-
-import java.util.*;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipEntry;
-import java.io.*;
-import java.math.BigInteger;
-
-
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.util.HexBin;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaLocalAttribute;
-import org.apache.xmlbeans.SchemaParticle;
-import org.apache.xmlbeans.SchemaProperty;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.soap.SOAPArrayType;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import javax.xml.namespace.QName;
-
-public class XsbDumper
-{
-    public static void main(String[] args)
-    {
-        for (int i = 0; i < args.length; i++)
-        {
-            dump(new File(args[i]), true);
-        }
-    }
-
-    private static void dump(File file, boolean force)
-    {
-        if (file.isDirectory())
-        {
-            File[] files = file.listFiles(
-                new FileFilter()
-                {
-                    public boolean accept(File file)
-                        { return file.isDirectory() || file.isFile() && file.getName().endsWith(".xsb"); }
-                }
-            );
-            for (int i = 0; i < files.length; i++)
-            {
-                dump(files[i], false);
-            }
-        }
-        else if (file.getName().endsWith(".jar") || file.getName().endsWith(".zip"))
-        {
-            dumpZip(file);
-        }
-        else if (force || file.getName().endsWith(".xsb"))
-        {
-            try
-            {
-                System.out.println(file.toString());
-                dump(new FileInputStream(file), "  ");
-                System.out.println();
-            }
-            catch (FileNotFoundException e)
-            {
-                System.out.println(e.toString());
-            }
-        }
-    }
-
-    public static void dumpZip(File file)
-    {
-        try
-        {
-            ZipFile zipFile = new ZipFile(file);
-            Enumeration e = zipFile.entries();
-            while (e.hasMoreElements())
-            {
-                ZipEntry entry = (ZipEntry)e.nextElement();
-                if (entry.getName().endsWith(".xsb"))
-                {
-                    System.out.println(entry.getName());
-                    dump(zipFile.getInputStream(entry), "  ");
-                    System.out.println();
-                }
-            }
-        }
-        catch (IOException e)
-        {
-            System.out.println(e.toString());
-        }
-    }
-
-    public static void dump(InputStream input)
-    {
-        dump(input, "", System.out);
-    }
-
-    public static void dump(InputStream input, String indent)
-    {
-        dump(input, indent, System.out);
-    }
-
-    public static void dump(InputStream input, String indent, PrintStream output)
-    {
-        XsbDumper dumper = new XsbDumper(input, indent, output);
-        dumper.dumpAll();
-    }
-
-    private XsbDumper(InputStream stream, String indent, PrintStream ostream)
-    {
-        _input = new DataInputStream(stream);
-        _indent = indent;
-        _out = ostream;
-    }
-
-    void flush() { _out.flush(); }
-    void emit(String str) { _out.println(_indent + str); flush(); }
-    void emit() { _out.println(); flush(); }
-    void error(Exception e) { _out.println(e.toString()); flush(); IllegalStateException e2 = new IllegalStateException( e.getMessage() ); e2.initCause( e ); throw e2; }
-    void error(String str) { _out.println(str); flush(); IllegalStateException e2 = new IllegalStateException( str ); throw e2; }
-    private String _indent;
-    private PrintStream _out;
-    void indent() { _indent += "  "; }
-    void outdent() { _indent = _indent.substring(0, _indent.length() - 2); }
-
-    public static final int DATA_BABE = 0xDA7ABABE;
-    public static final int MAJOR_VERSION = 2;
-    public static final int MINOR_VERSION = 19;
-
-    public static final int FILETYPE_SCHEMAINDEX = 1;
-    public static final int FILETYPE_SCHEMATYPE = 2;
-    public static final int FILETYPE_SCHEMAELEMENT = 3;
-    public static final int FILETYPE_SCHEMAATTRIBUTE = 4;
-    public static final int FILETYPE_SCHEMAPOINTER = 5;
-    public static final int FILETYPE_SCHEMAMODELGROUP = 6;
-    public static final int FILETYPE_SCHEMAATTRIBUTEGROUP = 7;
-
-    static String filetypeString(int code)
-    {
-        switch (code)
-        {
-            case FILETYPE_SCHEMAINDEX: return "FILETYPE_SCHEMAINDEX";
-            case FILETYPE_SCHEMATYPE: return "FILETYPE_SCHEMATYPE";
-            case FILETYPE_SCHEMAELEMENT: return "FILETYPE_SCHEMAELEMENT";
-            case FILETYPE_SCHEMAATTRIBUTE: return "FILETYPE_SCHEMAATTRIBUTE";
-            case FILETYPE_SCHEMAPOINTER: return "FILETYPE_SCHEMAPOINTER";
-            case FILETYPE_SCHEMAMODELGROUP: return "FILETYPE_SCHEMAMODELGROUP";
-            case FILETYPE_SCHEMAATTRIBUTEGROUP: return "FILETYPE_SCHEMAATTRIBUTEGROUP";
-            default:
-                return "Unknown FILETYPE (" + code + ")";
-        }
-    }
-
-    public static final int FLAG_PART_SKIPPABLE = 1;
-    public static final int FLAG_PART_FIXED = 4;
-    public static final int FLAG_PART_NILLABLE = 8;
-    public static final int FLAG_PART_BLOCKEXT = 16;
-    public static final int FLAG_PART_BLOCKREST = 32;
-    public static final int FLAG_PART_BLOCKSUBST = 64;
-    public static final int FLAG_PART_ABSTRACT = 128;
-    public static final int FLAG_PART_FINALEXT = 256;
-    public static final int FLAG_PART_FINALREST = 512;
-
-    static String particleflagsString(int flags)
-    {
-        StringBuffer result = new StringBuffer();
-        if ((flags & FLAG_PART_SKIPPABLE) != 0) result.append("FLAG_PART_SKIPPABLE | ");
-        if ((flags & FLAG_PART_FIXED) != 0) result.append("FLAG_PART_FIXED | ");
-        if ((flags & FLAG_PART_NILLABLE) != 0) result.append("FLAG_PART_NILLABLE | ");
-        if ((flags & FLAG_PART_BLOCKEXT) != 0) result.append("FLAG_PART_BLOCKEXT | ");
-        if ((flags & FLAG_PART_BLOCKREST) != 0) result.append("FLAG_PART_BLOCKREST | ");
-        if ((flags & FLAG_PART_BLOCKSUBST) != 0) result.append("FLAG_PART_BLOCKSUBST | ");
-        if ((flags & FLAG_PART_ABSTRACT) != 0) result.append("FLAG_PART_ABSTRACT | ");
-        if ((flags & FLAG_PART_FINALEXT) != 0) result.append("FLAG_PART_FINALEXT | ");
-        if ((flags & FLAG_PART_FINALREST) != 0) result.append("FLAG_PART_FINALREST | ");
-        if (result.length() == 0) result.append("0 | ");
-        return result.substring(0, result.length() - 3);
-    }
-
-    public static final int FLAG_PROP_ISATTR = 1;
-    public static final int FLAG_PROP_JAVASINGLETON = 2;
-    public static final int FLAG_PROP_JAVAOPTIONAL = 4;
-    public static final int FLAG_PROP_JAVAARRAY = 8;
-
-    static String propertyflagsString(int flags)
-    {
-        StringBuffer result = new StringBuffer();
-        if ((flags & FLAG_PROP_ISATTR) != 0) result.append("FLAG_PROP_ISATTR | ");
-        if ((flags & FLAG_PROP_JAVASINGLETON) != 0) result.append("FLAG_PROP_JAVASINGLETON | ");
-        if ((flags & FLAG_PROP_JAVAOPTIONAL) != 0) result.append("FLAG_PROP_JAVAOPTIONAL | ");
-        if ((flags & FLAG_PROP_JAVAARRAY) != 0) result.append("FLAG_PROP_JAVAARRAY | ");
-        if (result.length() == 0) result.append("0 | ");
-        return result.substring(0, result.length() - 3);
-    }
-
-    public static final int FIELD_NONE = 0;
-    public static final int FIELD_GLOBAL = 1;
-    public static final int FIELD_LOCALATTR = 2;
-    public static final int FIELD_LOCALELT = 3;
-
-    static String containerfieldTypeString(int code)
-    {
-        switch (code)
-        {
-            case FIELD_NONE: return "FIELD_NONE";
-            case FIELD_GLOBAL: return "FIELD_GLOBAL";
-            case FIELD_LOCALATTR: return "FIELD_LOCALATTR";
-            case FIELD_LOCALELT: return "FIELD_LOCALELT";
-            default:
-                return "Unknown container field type (" + code + ")";
-        }
-    }
-
-    // type flags
-    static final int FLAG_SIMPLE_TYPE     = 0x1;
-    static final int FLAG_DOCUMENT_TYPE   = 0x2;
-    static final int FLAG_ORDERED         = 0x4;
-    static final int FLAG_BOUNDED         = 0x8;
-    static final int FLAG_FINITE          = 0x10;
-    static final int FLAG_NUMERIC         = 0x20;
-    static final int FLAG_STRINGENUM      = 0x40;
-    static final int FLAG_UNION_OF_LISTS  = 0x80;
-    static final int FLAG_HAS_PATTERN     = 0x100;
-    static final int FLAG_ORDER_SENSITIVE = 0x200;
-    static final int FLAG_TOTAL_ORDER     = 0x400;
-    static final int FLAG_COMPILED        = 0x800;
-    static final int FLAG_BLOCK_EXT       = 0x1000;
-    static final int FLAG_BLOCK_REST      = 0x2000;
-    static final int FLAG_FINAL_EXT       = 0x4000;
-    static final int FLAG_FINAL_REST      = 0x8000;
-    static final int FLAG_FINAL_UNION     = 0x10000;
-    static final int FLAG_FINAL_LIST      = 0x20000;
-    static final int FLAG_ABSTRACT        = 0x40000;
-    static final int FLAG_ATTRIBUTE_TYPE  = 0x80000;
-
-    static String typeflagsString(int flags)
-    {
-        StringBuffer result = new StringBuffer();
-        if ((flags & FLAG_SIMPLE_TYPE) != 0) result.append("FLAG_SIMPLE_TYPE | ");
-        if ((flags & FLAG_DOCUMENT_TYPE) != 0) result.append("FLAG_DOCUMENT_TYPE | ");
-        if ((flags & FLAG_ATTRIBUTE_TYPE) != 0) result.append("FLAG_ATTRIBUTE_TYPE | ");
-        if ((flags & FLAG_ORDERED) != 0) result.append("FLAG_ORDERED | ");
-        if ((flags & FLAG_BOUNDED) != 0) result.append("FLAG_BOUNDED | ");
-        if ((flags & FLAG_FINITE) != 0) result.append("FLAG_FINITE | ");
-        if ((flags & FLAG_NUMERIC) != 0) result.append("FLAG_NUMERIC | ");
-        if ((flags & FLAG_STRINGENUM) != 0) result.append("FLAG_STRINGENUM | ");
-        if ((flags & FLAG_UNION_OF_LISTS) != 0) result.append("FLAG_UNION_OF_LISTS | ");
-        if ((flags & FLAG_HAS_PATTERN) != 0) result.append("FLAG_HAS_PATTERN | ");
-        if ((flags & FLAG_TOTAL_ORDER) != 0) result.append("FLAG_TOTAL_ORDER | ");
-        if ((flags & FLAG_COMPILED) != 0) result.append("FLAG_COMPILED | ");
-        if ((flags & FLAG_BLOCK_EXT) != 0) result.append("FLAG_BLOCK_EXT | ");
-        if ((flags & FLAG_BLOCK_REST) != 0) result.append("FLAG_BLOCK_REST | ");
-        if ((flags & FLAG_FINAL_EXT) != 0) result.append("FLAG_FINAL_EXT | ");
-        if ((flags & FLAG_FINAL_REST) != 0) result.append("FLAG_FINAL_REST | ");
-        if ((flags & FLAG_FINAL_UNION) != 0) result.append("FLAG_FINAL_UNION | ");
-        if ((flags & FLAG_FINAL_LIST) != 0) result.append("FLAG_FINAL_LIST | ");
-        if ((flags & FLAG_ABSTRACT) != 0) result.append("FLAG_ABSTRACT | ");
-        if (result.length() == 0) result.append("0 | ");
-        return result.substring(0, result.length() - 3);
-    }
-
-    void dumpAll()
-    {
-        int filetype = dumpHeader();
-        switch (filetype)
-        {
-            case FILETYPE_SCHEMAINDEX:
-                dumpIndexData();
-                return;
-            case FILETYPE_SCHEMATYPE:
-                dumpTypeFileData();
-                break;
-            case FILETYPE_SCHEMAELEMENT:
-                dumpParticleData(true);
-                break;
-            case FILETYPE_SCHEMAATTRIBUTE:
-                dumpAttributeData(true);
-                break;
-            case FILETYPE_SCHEMAPOINTER:
-                dumpPointerData();
-                break;
-            case FILETYPE_SCHEMAMODELGROUP:
-                dumpModelGroupData();
-                break;
-            case FILETYPE_SCHEMAATTRIBUTEGROUP:
-                dumpAttributeGroupData();
-                break;
-        }
-        readEnd();
-    }
-
-    static String hex32String(int i)
-    {
-        return Integer.toHexString(i);
-    }
-
-    protected int dumpHeader()
-    {
-        int magic = readInt();
-        emit("Magic cookie: " + hex32String(magic));
-
-        if (magic != DATA_BABE)
-        {
-            emit("Wrong magic cookie.");
-            return 0;
-        }
-
-        _majorver = readShort();
-        _minorver = readShort();
-        if (atLeast(2, 18, 0))
-            _releaseno = readShort();
-
-        emit("Major version: " + _majorver);
-        emit("Minor version: " + _minorver);
-        emit("Release number: " + _releaseno);
-
-        if (_majorver != MAJOR_VERSION || _minorver > MINOR_VERSION)
-        {
-            emit("Incompatible version.");
-            return 0;
-        }
-
-        int actualfiletype = readShort();
-        emit("Filetype: " + filetypeString(actualfiletype));
-
-        _stringPool = new StringPool();
-        _stringPool.readFrom(_input);
-
-        return actualfiletype;
-    }
-
-    void dumpPointerData()
-    {
-        emit("Type system: " + readString());
-    }
-
-    protected void dumpIndexData()
-    {
-        // has a handle pool (count, handle/type, handle/type...)
-        int size = readShort();
-        emit("Handle pool (" + size + "):");
-        indent();
-        for (int i = 0; i < size; i++)
-        {
-            String handle = readString();
-            short code = readShort();
-            emit(handle + " (" + filetypeString(code) + ")");
-        }
-        outdent();
-
-        dumpQNameMap("Global elements");
-
-        // qname map of global attributes
-        dumpQNameMap("Global attributes");
-
-        // attr groups and model groups
-        dumpQNameMap("Model groups");
-        dumpQNameMap("Attribute groups");
-
-        dumpQNameMap("Identity constraints");
-
-        // qname map of global types
-        dumpQNameMap("Global types");
-
-        // qname map of document types, by the qname of the contained element
-        dumpQNameMap("Document types");
-        
-        // qname map of attribute types, by the qname of the contained attribute
-        dumpQNameMap("Attribute types");
-
-        // all the types indexed by classname
-        dumpClassnameIndex("All types by classname");
-
-        // all the namespaces
-        dumpStringArray("Defined namespaces");
-        
-        // version 15 stuff for redefines
-        if (atLeast(2, 15, 0))
-        {
-            dumpQNameMap("Redefined global types");
-            dumpQNameMap("Redfined model groups");
-            dumpQNameMap("Redfined attribute groups");
-        }
-
-        // version 19 annotations
-        if (atLeast(2, 19, 0))
-            dumpAnnotations();
-
-        readEnd();
-    }
-
-
-    class StringPool
-    {
-        private List intsToStrings = new ArrayList();
-        private Map stringsToInts = new HashMap();
-
-        StringPool()
-        {
-            intsToStrings.add(null);
-        }
-
-        String stringForCode(int code)
-        {
-            if (code == 0)
-                return null;
-            return (String)intsToStrings.get(code);
-        }
-
-        int codeForString(String str)
-        {
-            if (str == null)
-                return 0;
-            Integer result = (Integer)stringsToInts.get(str);
-            if (result == null)
-            {
-                result = new Integer(intsToStrings.size());
-                intsToStrings.add(str);
-                stringsToInts.put(str, result);
-            }
-            return result.intValue();
-        }
-
-        void readFrom(DataInputStream input)
-        {
-            if (intsToStrings.size() != 1 || stringsToInts.size() != 0)
-                throw new IllegalStateException();
-
-            try
-            {
-                int size = input.readShort();
-                emit("String pool (" + size + "):");
-                indent();
-                for (int i = 1; i < size; i++)
-                {
-                    String str = input.readUTF();
-                    int code = codeForString(str);
-                    if (code != i)
-                        throw new IllegalStateException();
-                    emit(code + " = \"" + str + "\"");
-                }
-                outdent();
-            }
-            catch (IOException e)
-            {
-                emit(e.toString());
-            }
-        }
-    }
-
-    // active while loading one type.
-    DataInputStream _input;
-    StringPool _stringPool;
-
-    short readShort()
-    {
-        try
-        {
-            return _input.readShort();
-        }
-        catch (IOException e)
-        {
-            error(e);
-            return 0;
-        }
-    }
-
-    int readInt()
-    {
-        try
-        {
-            return _input.readInt();
-        }
-        catch (IOException e)
-        {
-            error(e);
-            return 0;
-        }
-    }
-
-    String readString()
-    {
-        return _stringPool.stringForCode(readShort());
-    }
-
-    QName readQName()
-    {
-        String namespace = readString();
-        String localname = readString();
-        if (localname == null)
-            return null;
-        return new QName(namespace, localname);
-    }
-
-    String readHandle()
-    {
-        return readString();
-    }
-
-    String readType()
-    {
-        return readHandle();
-    }
-
-    static String qnameString(QName qname)
-    {
-        if (qname == null)
-            return "(null)";
-        if (qname.getNamespaceURI() != null)
-            return qname.getLocalPart() + "@" + qname.getNamespaceURI();
-        else
-            return qname.getLocalPart();
-    }
-
-    static String qnameSetString(QNameSet set)
-    {
-        return set.toString();
-    }
-
-    void dumpQNameMap(String fieldname)
-    {
-        int size = readShort();
-        emit(fieldname + " (" + size + "):");
-        indent();
-        for (int i = 0; i < size; i++)
-        {
-            emit(qnameString(readQName()) + " = " + readHandle());
-        }
-        outdent();
-    }
-
-    void dumpTypeArray(String fieldname)
-    {
-        int size = readShort();
-        emit(fieldname + " (" + size + "):");
-        indent();
-        for (int i = 0; i < size; i++)
-        {
-            emit(i + " = " + readType());
-        }
-        outdent();
-    }
-
-    void dumpClassnameIndex(String fieldname)
-    {
-        int size = readShort();
-        emit(fieldname + " (" + size + "):");
-        indent();
-        for (int i = 0; i < size; i++)
-        {
-            emit(readString() + " = " + readType());
-        }
-        outdent();
-    }
-
-    void dumpStringArray(String fieldname)
-    {
-        int size = readShort();
-        emit(fieldname + " (" + size + "):");
-        indent();
-        for (int i = 0; i < size; i++)
-        {
-            emit(readString());
-        }
-        outdent();
-    }
-
-    void readEnd()
-    {
-        try
-        {
-            _input.close();
-        }
-        catch (IOException e)
-        {
-            // oh, well.
-        }
-        _input = null;
-        _stringPool = null;
-    }
-
-    static String particleTypeString(int spt)
-    {
-        switch (spt)
-        {
-            case SchemaParticle.ALL: return "ALL";
-            case SchemaParticle.CHOICE: return "CHOICE";
-            case SchemaParticle.ELEMENT: return "ELEMENT";
-            case SchemaParticle.SEQUENCE: return "SEQUENCE";
-            case SchemaParticle.WILDCARD: return "WILDCARD";
-            default:
-                return "Unknown particle type (" + spt + ")";
-        }
-    }
-
-    static String bigIntegerString(BigInteger bigint)
-    {
-        if (bigint == null)
-            return "(null)";
-        return bigint.toString();
-    }
-
-    static String wcprocessString(int code)
-    {
-        switch (code)
-        {
-            case SchemaParticle.STRICT: return "STRICT";
-            case SchemaParticle.SKIP: return "SKIP";
-            case SchemaParticle.LAX: return "LAX";
-            case 0: return "NOT_WILDCARD";
-            default:
-                return "Unknown process type (" + code + ")";
-        }
-    }
-
-    void dumpAnnotation()
-    {
-        if (!atLeast(2, 19, 0))
-            return; // no annotations in this version of the file
-
-        int n = readInt();
-        if (n == -1)
-            return; // no annotation present
-        emit("Annotation");
-        boolean empty = true;
-        indent();
-        if (n > 0)
-        {
-            emit("Attributes (" + n + "):");
-            indent();
-            for (int i = 0; i < n; i++)
-            {
-                emit("Name: " + qnameString(readQName()) +
-                    ", Value: " + readString());
-            }
-            outdent();
-            empty = false;
-        }
-
-        n = readInt();
-        if (n > 0)
-        {
-            emit("Documentation elements (" + n + "):");
-            indent();
-            for (int i = 0; i < n; i++)
-                emit(readString());
-            outdent();
-            empty = false;
-        }
-
-        n = readInt();
-        if (n > 0)
-        {
-            emit("Appinfo elements (" + n + "):");
-            indent();
-            for (int i = 0; i < n; i++)
-                emit(readString());
-            outdent();
-            empty = false;
-        }
-        if (empty)
-            emit("<empty>");
-        outdent();
-    }
-
-    void dumpAnnotations()
-    {
-        int n = readInt();
-        if (n > 0)
-        {             
-            emit("Top-level annotations (" + n + "):");
-            indent();
-            for (int i = 0; i < n; i++)
-                dumpAnnotation();
-            outdent();
-        }
-    }
-
-    void dumpParticleData(boolean global)
-    {
-        short particleType = readShort();
-        emit(particleTypeString(particleType) + ":");
-        indent();
-        short particleFlags = readShort();
-        emit("Flags: " + particleflagsString(particleFlags));
-
-        emit("MinOccurs: " + bigIntegerString(readBigInteger()));
-        emit("MaxOccurs: " + bigIntegerString(readBigInteger()));
-
-        emit("Transition: " + qnameSetString(readQNameSet()));
-
-        switch (particleType)
-        {
-            case SchemaParticle.WILDCARD:
-                emit("Wildcard set: " + qnameSetString(readQNameSet()));
-                emit("Wildcard process: " + wcprocessString(readShort()));
-                break;
-
-            case SchemaParticle.ELEMENT:
-                emit("Name: " + qnameString(readQName()));
-                emit("Type: " + readType());
-                emit("Default: " + readString());
-                if (atLeast(2, 16, 0))
-                    emit("Default value: " + readXmlValueObject());
-                emit("WsdlArrayType: " + SOAPArrayTypeString(readSOAPArrayType()));
-                dumpAnnotation();
-                if (global)
-                {
-                    if (atLeast(2, 17, 0))
-                        emit("Substitution group ref: " + readHandle());
-                    short substGroupCount = readShort();
-                    emit("Substitution group members (" + substGroupCount + ")");
-                    indent();
-                    for (int i = 0; i < substGroupCount; i++)
-                    {
-                        emit(qnameString(readQName()));
-                    }
-                    outdent();
-                }
-                int count = readShort();
-                emit("Identity constraints (" + count + "):");
-                indent();
-                for (int i = 0; i < count; i++)
-                {
-                    emit(readHandle());
-                }
-                outdent();
-                if (global)
-                    emit("Filename: " + readString());
-                break;
-
-            case SchemaParticle.ALL:
-            case SchemaParticle.SEQUENCE:
-            case SchemaParticle.CHOICE:
-                dumpParticleArray("Particle children");
-                break;
-
-            default:
-                error("Unrecognized schema particle type");
-        }
-        outdent();
-    }
-
-    void dumpParticleArray(String fieldname)
-    {
-        int count = readShort();
-        emit(fieldname + "(" + count + "):");
-        indent();
-        for (int i = 0; i < count; i++)
-            dumpParticleData(false);
-        outdent();
-    }
-
-    static String complexVarietyString(int code)
-    {
-        switch (code)
-        {
-            case SchemaType.EMPTY_CONTENT: return "EMPTY_CONTENT";
-            case SchemaType.SIMPLE_CONTENT: return "SIMPLE_CONTENT";
-            case SchemaType.ELEMENT_CONTENT: return "ELEMENT_CONTENT";
-            case SchemaType.MIXED_CONTENT: return "MIXED_CONTENT";
-            default:
-                return "Unknown complex variety (" + code + ")";
-        }
-    }
-
-    static String simpleVarietyString(int code)
-    {
-        switch (code)
-        {
-            case SchemaType.ATOMIC: return "ATOMIC";
-            case SchemaType.LIST: return "LIST";
-            case SchemaType.UNION: return "UNION";
-            default:
-                return "Unknown simple variety (" + code + ")";
-        }
-    }
-
-    String facetCodeString(int code)
-    {
-        switch (code)
-        {
-            case SchemaType.FACET_LENGTH: return "FACET_LENGTH";
-            case SchemaType.FACET_MIN_LENGTH: return "FACET_MIN_LENGTH";
-            case SchemaType.FACET_MAX_LENGTH: return "FACET_MAX_LENGTH";
-            case SchemaType.FACET_MIN_EXCLUSIVE: return "FACET_MIN_EXCLUSIVE";
-            case SchemaType.FACET_MIN_INCLUSIVE: return "FACET_MIN_INCLUSIVE";
-            case SchemaType.FACET_MAX_INCLUSIVE: return "FACET_MAX_INCLUSIVE";
-            case SchemaType.FACET_MAX_EXCLUSIVE: return "FACET_MAX_EXCLUSIVE";
-            case SchemaType.FACET_TOTAL_DIGITS: return "FACET_TOTAL_DIGITS";
-            case SchemaType.FACET_FRACTION_DIGITS: return "FACET_FRACTION_DIGITS";
-            default:
-                return "Unknown facet code (" + code + ")";
-        }
-    }
-
-    String whitespaceCodeString(int code)
-    {
-        switch (code)
-        {
-            case SchemaType.WS_COLLAPSE: return "WS_COLLAPSE";
-            case SchemaType.WS_PRESERVE: return "WS_PRESERVE";
-            case SchemaType.WS_REPLACE: return "WS_REPLACE";
-            case SchemaType.WS_UNSPECIFIED: return "WS_UNSPECIFIED";
-            default:
-                return "Unknown whitespace code (" + code + ")";
-        }
-    }
-
-    String derivationTypeString(int code)
-    {
-        switch (code)
-        {
-            case SchemaType.DT_NOT_DERIVED: return "DT_NOT_DERIVED";
-            case SchemaType.DT_RESTRICTION: return "DT_RESTRICTION";
-            case SchemaType.DT_EXTENSION: return "DT_EXTENSION";
-            default:
-                return "Unknown derivation code (" + code + ")";
-        }
-    }
-
-    void dumpTypeFileData()
-    {
-        emit("Name: " + qnameString(readQName()));
-        emit("Outer type: " + readType());
-        emit("Depth: " + readShort());
-        emit("Base type: " + readType());
-        emit("Derivation type: " + derivationTypeString(readShort()));
-        dumpAnnotation();
-
-        emit("Container field:");
-        indent();
-        int containerfieldtype = readShort();
-        emit("Reftype: " + containerfieldTypeString(containerfieldtype));
-        switch (containerfieldtype)
-        {
-            case FIELD_GLOBAL:
-                emit("Handle: " + readHandle());
-                break;
-            case FIELD_LOCALATTR:
-                emit("Index: " + readShort());
-                break;
-            case FIELD_LOCALELT:
-                emit("Index: " + readShort());
-                break;
-        }
-        outdent();
-        emit("Java class name: " + readString());
-        emit("Java impl class name: " + readString());
-
-        dumpTypeArray("Anonymous types");
-
-        emit("Anonymous union member ordinal: " + readShort());
-
-        int flags;
-        flags = readInt();
-        emit("Flags: " + typeflagsString(flags));
-        boolean isComplexType = ((flags & FLAG_SIMPLE_TYPE) == 0);
-
-        short complexVariety = SchemaType.NOT_COMPLEX_TYPE;
-        if (isComplexType)
-        {
-            complexVariety = readShort();
-            emit("Complex variety: " + complexVarietyString(complexVariety));
-
-            short attrCount = readShort();
-            emit("Attribute model (" + attrCount + "):");
-            indent();
-            for (int i = 0; i < attrCount; i++)
-                dumpAttributeData(false);
-
-            emit("Wildcard set: " + qnameSetString(readQNameSet()));
-            emit("Wildcard process: " + wcprocessString(readShort()));
-            outdent();
-
-            // Attribute Property Table
-            short attrPropCount = readShort();
-            emit("Attribute properties (" + attrPropCount + "):");
-            indent();
-            for (int i = 0; i < attrPropCount; i++)
-            {
-                dumpPropertyData();
-            }
-            outdent();
-
-            if (complexVariety == SchemaType.ELEMENT_CONTENT || complexVariety == SchemaType.MIXED_CONTENT)
-            {
-                emit("IsAll: " + readShort());
-
-                // Content model tree
-                dumpParticleArray("Content model");
-
-                // Element Property Table
-                short elemPropCount = readShort();
-                emit("Element properties (" + elemPropCount + "):");
-                indent();
-                for (int i = 0; i < elemPropCount; i++)
-                {
-                    dumpPropertyData();
-                }
-                outdent();
-            }
-        }
-
-        if (!isComplexType || complexVariety == SchemaType.SIMPLE_CONTENT)
-        {
-            short simpleVariety = readShort();
-            emit("Simple type variety: " + simpleVarietyString(simpleVariety));
-
-            boolean isStringEnum = ((flags & FLAG_STRINGENUM) != 0);
-
-            short facetCount = readShort();
-            emit("Facets (" + facetCount + "):");
-            indent();
-            for (int i = 0; i < facetCount; i++)
-            {
-                emit(facetCodeString(readShort()));
-                emit("Value: " + readXmlValueObject());
-                emit("Fixed: " + readShort());
-            }
-            outdent();
-
-            emit("Whitespace rule: " + whitespaceCodeString(readShort()));
-
-            short patternCount = readShort();
-            emit("Patterns (" + patternCount + "):");
-            indent();
-            for (int i = 0; i < patternCount; i++)
-            {
-                emit(readString());
-            }
-            outdent();
-
-            short enumCount = readShort();
-            emit("Enumeration values (" + enumCount + "):");
-            indent();
-            for (int i = 0; i < enumCount; i++)
-            {
-                emit(readXmlValueObject());
-            }
-            outdent();
-
-            emit("Base enum type: " + readType());
-            if (isStringEnum)
-            {
-                short seCount = readShort();
-                emit("String enum entries (" + seCount + "):");
-                indent();
-                for (int i = 0; i < seCount; i++)
-                {
-                    emit("\"" + readString() + "\" -> " + readShort() + " = " + readString());
-                }
-                outdent();
-            }
-
-            switch (simpleVariety)
-            {
-                case SchemaType.ATOMIC:
-                    emit("Primitive type: " + readType());
-                    emit("Decimal size: " + readInt());
-                    break;
-
-                case SchemaType.LIST:
-                    emit("List item type: " + readType());
-                    break;
-
-                case SchemaType.UNION:
-                    dumpTypeArray("Union members");
-                    break;
-
-                default:
-                    error("Unknown simple type variety");
-            }
-        }
-
-        emit("Filename: " + readString());
-    }
-
-    static String attruseCodeString(int code)
-    {
-        switch (code)
-        {
-            case SchemaLocalAttribute.OPTIONAL: return "OPTIONAL";
-            case SchemaLocalAttribute.REQUIRED: return "REQUIRED";
-            case SchemaLocalAttribute.PROHIBITED: return "PROHIBITED";
-            default:
-                return "Unknown use code (" + code + ")";
-        }
-    }
-
-    void dumpAttributeData(boolean global)
-    {
-        emit("Name: " + qnameString(readQName()));
-        emit("Type: " + readType());
-        emit("Use: " + attruseCodeString(readShort()));
-        emit("Default: " + readString());
-        if (atLeast(2, 16, 0))
-            emit("Default value: " + readXmlValueObject());
-        emit("Fixed: " + readShort());
-        emit("WsdlArrayType: " + SOAPArrayTypeString(readSOAPArrayType()));
-        dumpAnnotation();
-        if (global)
-            emit("Filename: " + readString());
-    }
-
-    private static final XmlOptions prettyOptions =
-        new XmlOptions().setSavePrettyPrint();
-    
-    void dumpXml()
-    {
-        String xml = readString();
-        try
-        {
-            emit( XmlObject.Factory.parse( xml ).xmlText( prettyOptions ) );
-        }
-        catch ( XmlException x )
-        {
-            emit( "!!!!!! BAD XML !!!!!" );
-            emit( xml );
-        }
-    }
-    
-    void dumpModelGroupData()
-    {
-        emit("Name: " + qnameString(readQName()));
-        emit("Target namespace: " + readString());
-        emit("Chameleon: " + readShort());
-        if (atLeast(2, 15, 0))
-            emit("Redefine: " + readShort());
-        emit("Model Group Xml: ");
-        dumpXml();
-        dumpAnnotation();
-    }
-
-    void dumpAttributeGroupData()
-    {
-        emit("Name: " + qnameString(readQName()));
-        emit("Target namespace: " + readString());
-        emit("Chameleon: " + readShort());
-        if (atLeast(2, 15, 0))
-            emit("Redefine: " + readShort());
-        emit("Attribute Group Xml: ");
-        dumpXml();
-        dumpAnnotation();
-    }
-
-    static String alwaysString(int code)
-    {
-        switch (code)
-        {
-            case SchemaProperty.CONSISTENTLY: return "CONSISTENTLY";
-            case SchemaProperty.NEVER: return "NEVER";
-            case SchemaProperty.VARIABLE: return "VARIABLE";
-            default:
-                return "Unknown frequency code (" + code + ")";
-        }
-    }
-
-    static String jtcString(int code)
-    {
-        switch (code)
-        {
-            case SchemaProperty.XML_OBJECT: return "XML_OBJECT";
-            case SchemaProperty.JAVA_BOOLEAN: return "JAVA_BOOLEAN";
-            case SchemaProperty.JAVA_FLOAT: return "JAVA_FLOAT";
-            case SchemaProperty.JAVA_DOUBLE: return "JAVA_DOUBLE";
-            case SchemaProperty.JAVA_BYTE: return "JAVA_BYTE";
-            case SchemaProperty.JAVA_SHORT: return "JAVA_SHORT";
-            case SchemaProperty.JAVA_INT: return "JAVA_INT";
-            case SchemaProperty.JAVA_LONG: return "JAVA_LONG";
-
-            case SchemaProperty.JAVA_BIG_DECIMAL: return "JAVA_BIG_DECIMAL";
-            case SchemaProperty.JAVA_BIG_INTEGER: return "JAVA_BIG_INTEGER";
-            case SchemaProperty.JAVA_STRING: return "JAVA_STRING";
-            case SchemaProperty.JAVA_BYTE_ARRAY: return "JAVA_BYTE_ARRAY";
-            case SchemaProperty.JAVA_GDATE: return "JAVA_GDATE";
-            case SchemaProperty.JAVA_GDURATION: return "JAVA_GDURATION";
-            case SchemaProperty.JAVA_DATE: return "JAVA_DATE";
-            case SchemaProperty.JAVA_QNAME: return "JAVA_QNAME";
-            case SchemaProperty.JAVA_CALENDAR: return "JAVA_CALENDAR";
-            case SchemaProperty.JAVA_LIST: return "JAVA_LIST";
-
-            case SchemaProperty.JAVA_ENUM: return "JAVA_ENUM";
-            case SchemaProperty.JAVA_OBJECT: return "JAVA_OBJECT";
-
-            default:
-                return "Unknown java type code (" + code + ")";
-        }
-    }
-
-    void dumpPropertyData()
-    {
-        emit("Property");
-        indent();
-        emit("Name: " + qnameString(readQName()));
-        emit("Type: " + readType());
-        short propflags = readShort();
-        emit("Flags: " + propertyflagsString(propflags));
-        emit("Container type: " + readType());
-        emit("Min occurances: " + bigIntegerString(readBigInteger()));
-        emit("Max occurances: " + bigIntegerString(readBigInteger()));
-        emit("Nillable: " + alwaysString(readShort()));
-        emit("Default: " + alwaysString(readShort()));
-        emit("Fixed: " + alwaysString(readShort()));
-        emit("Default text: " + readString());
-        emit("Java prop name: " + readString());
-        emit("Java type code: " + jtcString(readShort()));
-        emit("Type for java signature: " + readType());
-        emit("Java setter delimiter: " + qnameSetString(readQNameSet()));
-        if (atLeast(2, 16, 0))
-            emit("Default value: " + readXmlValueObject());
-        if (((propflags & FLAG_PROP_ISATTR) == 0) && atLeast(2, 17, 0))
-        {
-            short size = readShort();
-            emit("Accepted substitutions (" + size + "):");
-            for (int i = 0 ; i < size ; i++)
-                emit("  Accepted name " + readQName());
-        }
-        outdent();
-    }
-
-    String readXmlValueObject()
-    {
-        String type = readType();
-        if (type == null)
-            return "null";
-        
-        int btc = readShort();
-        String value;
-        switch (btc)
-        {
-            default:
-                assert(false);
-            case 0:
-                value = "nil";
-                break;
-
-            case SchemaType.BTC_ANY_SIMPLE:
-            case SchemaType.BTC_ANY_URI:
-            case SchemaType.BTC_STRING:
-            case SchemaType.BTC_DURATION:
-            case SchemaType.BTC_DATE_TIME:
-            case SchemaType.BTC_TIME:
-            case SchemaType.BTC_DATE:
-            case SchemaType.BTC_G_YEAR_MONTH:
-            case SchemaType.BTC_G_YEAR:
-            case SchemaType.BTC_G_MONTH_DAY:
-            case SchemaType.BTC_G_DAY:
-            case SchemaType.BTC_G_MONTH:
-            case SchemaType.BTC_DECIMAL:
-            case SchemaType.BTC_BOOLEAN:
-                value = readString();
-                break;
-
-            case SchemaType.BTC_BASE_64_BINARY:
-            case SchemaType.BTC_HEX_BINARY:
-                {
-                    value = new String(HexBin.encode(readByteArray()));
-                    if (value.length() > 19)
-                        value = value.subSequence(0, 16) + "...";
-                    break;
-                }
-
-            case SchemaType.BTC_QNAME:
-            case SchemaType.BTC_NOTATION:
-                value = QNameHelper.pretty(readQName());
-                break;
-
-            case SchemaType.BTC_FLOAT:
-            case SchemaType.BTC_DOUBLE:
-                value = Double.toString(readDouble());
-                break;
-        }
-        return value + " (" + type + ": " + btc +")";
-    }
-
-    double readDouble()
-    {
-        try
-        {
-            return _input.readDouble();
-        }
-        catch (IOException e)
-        {
-            error(e);
-            return 0.0;
-        }
-    }
-
-    String SOAPArrayTypeString(SOAPArrayType t)
-    {
-        if (t == null)
-            return "null";
-        return QNameHelper.pretty(t.getQName()) + t.soap11DimensionString();
-    }
-
-    SOAPArrayType readSOAPArrayType()
-    {
-        QName qName = readQName();
-        String dimensions = readString();
-        if (qName == null)
-            return null;
-        return new SOAPArrayType(qName, dimensions);
-    }
-
-    QNameSet readQNameSet()
-    {
-        short flag = readShort();
-
-        Set uriSet = new HashSet();
-        short uriCount = readShort();
-        for (int i = 0; i < uriCount; i++)
-            uriSet.add(readString());
-
-        Set qnameSet1 = new HashSet();
-        short qncount1 = readShort();
-        for (int i = 0; i < qncount1; i++)
-            qnameSet1.add(readQName());
-
-        Set qnameSet2 = new HashSet();
-        short qncount2 = readShort();
-        for (int i = 0; i < qncount2; i++)
-            qnameSet2.add(readQName());
-
-        if (flag == 1)
-            return QNameSet.forSets(uriSet, null, qnameSet1, qnameSet2);
-        else
-            return QNameSet.forSets(null, uriSet, qnameSet2, qnameSet1);
-    }
-
-    byte[] readByteArray()
-    {
-        try
-        {
-            short len = _input.readShort();
-            byte[] result = new byte[len];
-            _input.readFully(result);
-            return result;
-        }
-        catch (IOException e)
-        {
-            error(e);
-            return null;
-        }
-    }
-
-    BigInteger readBigInteger()
-    {
-        byte[] result = readByteArray();
-        if (result.length == 0)
-            return null;
-        if (result.length == 1 && result[0] == 0)
-            return BigInteger.ZERO;
-        if (result.length == 1 && result[0] == 1)
-            return BigInteger.ONE;
-        return new BigInteger(result);
-    }
-
-    static final byte[] SINGLE_ZERO_BYTE = new byte[] { (byte)0 };
-
-    private int _majorver;
-    private int _minorver;
-    private int _releaseno;
-
-
-    protected boolean atLeast(int majorver, int minorver, int releaseno)
-    {
-        if (_majorver > majorver)
-            return true;
-        if (_majorver < majorver)
-            return false;
-        if (_minorver > minorver)
-            return true;
-        if (_minorver < minorver)
-            return false;
-        return (_releaseno >= releaseno);
-    }
-
-    protected boolean atMost(int majorver, int minorver, int releaseno)
-    {
-        if (_majorver > majorver)
-            return false;
-        if (_majorver < majorver)
-            return true;
-        if (_minorver > minorver)
-            return false;
-        if (_minorver < minorver)
-            return true;
-        return (_releaseno <= releaseno);
-    }
-
-}
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/ExtensionHolder.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/ExtensionHolder.java
deleted file mode 100644
index d8a5ef1..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/ExtensionHolder.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/*   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.
- */
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Apr 25, 2004
- */
-package org.apache.xmlbeans.impl.config;
-
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.JClass;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.Set;
-
-/**
- * This class reprezents all the extensions for all xbean sets.
- * This class is the root of the structure that reprezents all the extensions.
- */
-public class ExtensionHolder
-{
-    // these lists are expected to be quite small
-    private List _interfaceExtensions;
-    private List _prePostExtensions;
-
-    ExtensionHolder()
-    {
-        _interfaceExtensions = new ArrayList();
-        _prePostExtensions = new ArrayList();
-    }
-
-    void addInterfaceExtension(InterfaceExtension ext)
-    {
-        if (ext==null)
-            return;
-
-        _interfaceExtensions.add(ext);
-    }
-
-    void addPrePostExtension(PrePostExtension ext)
-    {
-        if (ext==null)
-            return;
-
-        _prePostExtensions.add(ext);
-    }
-
-    // this is used only for detecting method colisions of extending interfaces
-    private static class MethodSignature
-    {
-        private String _intfName;  // Stored only for error output, does not influence the equals or hashCode
-        private JMethod _method;
-        private final int NOTINITIALIZED = -1;
-        private int _hashCode = NOTINITIALIZED;
-        private String _signature;
-
-        MethodSignature(String intfName, JMethod method)
-        {
-            if (intfName==null || method==null)
-                throw new IllegalArgumentException("Interface: " + intfName + " method: " + method);
-
-            _intfName = intfName;
-            _method = method;
-            _hashCode = NOTINITIALIZED;
-            _signature = null;
-        }
-
-        String getInterfaceName()
-        {
-            return _intfName;
-        }
-
-        String getSignature()
-        {
-            if (_signature==null)
-                return _signature;
-
-            String sig = "";
-            JParameter[] paramTypes = _method.getParameters();
-            for (int i = 0; i < paramTypes.length; i++)
-            {
-                JClass paramType = paramTypes[i].getType();
-                sig += ( i==0 ? "" : " ," ) + paramType.getQualifiedName();
-            }
-            _signature = _method.getSimpleName() + "(" + sig + ")";
-            return _signature;
-        }
-
-        public boolean equals(Object o)
-        {
-            if ( !(o instanceof MethodSignature))
-                return false;
-
-            MethodSignature ms = (MethodSignature)o;
-
-            if (!ms._method.getSimpleName().equals(_method.getSimpleName()) )
-                return false;
-
-            JParameter[] params = _method.getParameters();
-            JParameter[] msParams = _method.getParameters();
-
-            if (msParams.length != params.length )
-                return false;
-
-            for (int i = 0; i < params.length; i++)
-            {
-                if (!msParams[i].getType().equals(params[i].getType()))
-                    return false;
-            }
-
-            return true;
-        }
-
-        public int hashCode()
-        {
-            if (_hashCode!=NOTINITIALIZED)
-                return _hashCode;
-
-            int hash = _method.getSimpleName().hashCode();
-
-            JParameter[] params = _method.getParameters();
-
-            for (int i = 0; i < params.length; i++)
-            {
-                hash *= 19;
-                hash += params[i].getType().hashCode();
-            }
-
-            _hashCode = hash;
-            return _hashCode;
-        }
-    }
-
-    void secondPhaseValidation()
-    {
-        // validate interface methods collisions
-        Map methodSignatures = new HashMap();
-
-        for (int i = 0; i < _interfaceExtensions.size(); i++)
-        {
-            InterfaceExtension interfaceExtension = (InterfaceExtension) _interfaceExtensions.get(i);
-            for (int j = 0; j < interfaceExtension.getInterfaceMethodCount(); j++)
-            {
-                MethodSignature ms = new MethodSignature(interfaceExtension.getInterfaceName(),
-                     interfaceExtension.getInterfaceMethod(j));
-
-                if ( methodSignatures.containsKey(ms) )
-                {
-                    MethodSignature ms2 = (MethodSignature) methodSignatures.get(ms);
-                    SchemaConfig.error("Colliding methods '" + ms.getSignature() + "' in interfaces " +
-                        ms.getInterfaceName() + " and " + ms2.getInterfaceName() + ".", null);
-
-                    return;
-                }
-
-                // store it into hashmap
-                methodSignatures.put(ms, ms);
-            }
-        }
-
-        // validate that PrePostExtension-s do not intersect
-        for (int i = 0; i < _prePostExtensions.size() - 1; i++)
-        {
-            PrePostExtension a = (PrePostExtension) _prePostExtensions.get(i);
-            for (int j = 1; j < _prePostExtensions.size(); j++)
-            {
-                PrePostExtension b = (PrePostExtension) _prePostExtensions.get(j);
-                if (a.hasNameSetIntersection(b))
-                    SchemaConfig.error("The applicable domain for handler '" + a.getHandlerNameForJavaSource() +
-                        "' intersects with the one for '" + b.getHandlerNameForJavaSource() + "'.", null);
-            }
-        }
-    }
-
-    void normalize()
-    {
-        //todo: not yet used, useful for optimizing jar size in case of big interfaces and big schemas
-        throw new RuntimeException("NYI");
-        // this matters only for InterfaceExtension-s
-    }
-
-    public void verifyInterfaceNameCollisions(Set genedUsedNames)
-    {
-        for (int i = 0; i < _interfaceExtensions.size(); i++)
-        {
-            InterfaceExtension interfaceExtension = (InterfaceExtension) _interfaceExtensions.get(i);
-            if ( genedUsedNames.contains(interfaceExtension.getInterfaceNameForJavaSource().toLowerCase()) )
-            {
-                SchemaConfig.error("Extension interface '" + interfaceExtension.getInterfaceNameForJavaSource() + "' creates a name collision with one of the generated interfaces or classes.", null);
-            }
-            String handlerClassName = interfaceExtension.getHandlerNameForJavaSource();
-            if ( handlerClassName!=null &&
-                genedUsedNames.contains(handlerClassName.toLowerCase()) )
-            {
-                SchemaConfig.error("Handler class '" + handlerClassName + "' creates a name collision with one of the generated interfaces or classes.", null);
-            }
-        }
-
-        for (int i = 0; i < _prePostExtensions.size(); i++)
-        {
-            PrePostExtension prePostExtension = (PrePostExtension) _prePostExtensions.get(i);
-            String handlerClassName = prePostExtension.getHandlerNameForJavaSource();
-            if ( handlerClassName!=null &&
-                genedUsedNames.contains(handlerClassName.toLowerCase()) )
-            {
-                SchemaConfig.error("Handler class '" + prePostExtension.getHandlerNameForJavaSource() + "' creates a name collision with one of the generated interfaces or classes.", null);
-            }
-        }
-    }
-
-    ExtensionHolder extensionHolderFor(String javaName)
-    {
-        for (int i = 0; i < _interfaceExtensions.size(); i++)
-        {
-            InterfaceExtension interfaceExtension = (InterfaceExtension) _interfaceExtensions.get(i);
-            if (interfaceExtension.contains(javaName))
-                return this;
-        }
-
-        for (int i = 0; i < _prePostExtensions.size(); i++)
-        {
-            PrePostExtension prePostExtension = (PrePostExtension) _prePostExtensions.get(i);
-            if (prePostExtension.contains(javaName))
-                return this;
-        }
-
-        return null;
-    }
-
-    public List getInterfaceExtensionsFor(String fullJavaName)
-    {
-        List result = new ArrayList();
-        for (int i = 0; i < _interfaceExtensions.size(); i++)
-        {
-            InterfaceExtension intfExt = (InterfaceExtension) _interfaceExtensions.get(i);
-            if (intfExt.contains(fullJavaName))
-                result.add(intfExt);
-        }
-        return result;
-    }
-
-    public PrePostExtension getPrePostExtensionsFor(String fullJavaName)
-    {
-        for (int i = 0; i < _prePostExtensions.size(); i++)
-        {
-            PrePostExtension prePostExt = (PrePostExtension) _prePostExtensions.get(i);
-            if (prePostExt.contains(fullJavaName))
-                return prePostExt;
-        }
-        return null;
-    }
-}
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtension.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtension.java
deleted file mode 100644
index 12ae3cb..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtension.java
+++ /dev/null
@@ -1,316 +0,0 @@
-/*   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.
- */
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Mar 25, 2004
- */
-package org.apache.xmlbeans.impl.config;
-
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.Extensionconfig;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JParameter;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-
-public class InterfaceExtension
-{
-    private NameSet _xbeanSet;
-    private JClass _interface;
-    private JClass _delegateToClass;
-    private String _delegateToClassName;
-    private JMethod[] _interfaceMethods;
-    private JMethod[] _delegateToMethods;
-
-    static InterfaceExtension newInstance(JamClassLoader loader, NameSet xbeanSet, Extensionconfig.Interface intfXO)
-    {
-        InterfaceExtension result = new InterfaceExtension();
-
-        result._xbeanSet = xbeanSet;
-        result._interface = validateInterface(loader, intfXO.getName(), intfXO);
-
-        if (result._interface == null)
-        {
-            SchemaConfig.error("Interface '" + intfXO.getStaticHandler() + "' not found.", intfXO);
-            return null;
-        }
-
-        result._delegateToClassName = intfXO.getStaticHandler();
-        result._delegateToClass = validateClass(loader, result._delegateToClassName, intfXO);
-
-        if ( result._delegateToClass==null ) // no HandlerClass
-        {
-            SchemaConfig.warning("Handler class '" + intfXO.getStaticHandler() + "' not found on classpath, skip validation.", intfXO);
-            return result;
-        }
-
-        if (!result.validateMethods(intfXO))
-            return null;
-
-        return result;
-    }
-
-    private static JClass validateInterface(JamClassLoader loader, String intfStr, XmlObject loc)
-    {
-        return validateJava(loader, intfStr, true, loc);
-    }
-
-    static JClass validateClass(JamClassLoader loader, String clsStr, XmlObject loc)
-    {
-        return validateJava(loader, clsStr, false, loc);
-    }
-
-    static JClass validateJava(JamClassLoader loader, String clsStr, boolean isInterface, XmlObject loc)
-    {
-        if (loader==null)
-            return null;
-
-        final String ent = isInterface ? "Interface" : "Class";
-        JClass cls = loader.loadClass(clsStr);
-
-        if (cls==null)
-        {
-            SchemaConfig.error(ent + " '" + clsStr + "' not found.", loc);
-            return null;
-        }
-
-        if ( (isInterface && !cls.isInterface()) ||
-                (!isInterface && cls.isInterface()))
-        {
-            SchemaConfig.error("'" + clsStr + "' must be " +
-                (isInterface ? "an interface" : "a class") + ".", loc);
-        }
-
-        if (!cls.isPublic())
-        {
-            SchemaConfig.error(ent + " '" + clsStr + "' is not public.", loc);
-        }
-
-        return cls;
-    }
-
-    private boolean validateMethods(XmlObject loc)
-    {
-        assert _delegateToClass != null : "Delegate to class handler expected.";
-        boolean valid = true;
-
-        _interfaceMethods = _interface.getMethods();
-        _delegateToMethods = new JMethod[_interfaceMethods.length];
-
-        for (int i = 0; i < _interfaceMethods.length; i++)
-        {
-            valid &= validateMethod(i, _interfaceMethods[i], loc);
-        }
-
-        return valid;
-    }
-
-    private boolean validateMethod(int index, JMethod method, XmlObject loc)
-    {
-        String methodName = method.getSimpleName();
-        JParameter[] params = method.getParameters();
-        JClass returnType = method.getReturnType();
-
-        JClass[] delegateParams = new JClass[params.length+1];
-        delegateParams[0] = returnType.forName("org.apache.xmlbeans.XmlObject");
-        for (int i = 1; i < delegateParams.length; i++)
-        {
-            delegateParams[i] = params[i-1].getType();
-        }
-
-        JMethod handlerMethod = null;
-        handlerMethod = getMethod(_delegateToClass, methodName, delegateParams);
-        if (handlerMethod==null)
-        {
-            SchemaConfig.error("Handler class '" + _delegateToClass.getQualifiedName() + "' does not contain method " + methodName + "(" + listTypes(delegateParams) + ")", loc);
-            return false;
-        }
-
-        // check for throws exceptions
-        JClass[] intfExceptions = method.getExceptionTypes();
-        JClass[] delegateExceptions = handlerMethod.getExceptionTypes();
-        if ( delegateExceptions.length!=intfExceptions.length )
-        {
-            SchemaConfig.error("Handler method '" + _delegateToClass.getQualifiedName() + "." + methodName + "(" + listTypes(delegateParams) +
-                ")' must declare the same exceptions as the interface method '" + _interface.getQualifiedName() + "." + methodName + "(" + listTypes(params), loc);
-            return false;
-        }
-
-        for (int i = 0; i < delegateExceptions.length; i++)
-        {
-            if ( delegateExceptions[i]!=intfExceptions[i] )
-            {
-                SchemaConfig.error("Handler method '" + _delegateToClass.getQualifiedName() + "." + methodName + "(" + listTypes(delegateParams) +
-                    ")' must declare the same exceptions as the interface method '" + _interface.getQualifiedName() + "." + methodName + "(" + listTypes(params), loc);
-                return false;
-            }
-        }
-
-        if (!handlerMethod.isPublic() || !handlerMethod.isStatic())
-        {
-            SchemaConfig.error("Method '" + _delegateToClass.getQualifiedName() + "." + methodName + "(" + listTypes(delegateParams) + ")' must be declared public and static.", loc);
-            return false;
-        }
-
-        if (!returnType.equals(handlerMethod.getReturnType()))
-        {
-            SchemaConfig.error("Return type for method '" + handlerMethod.getReturnType() + " " + _delegateToClass.getQualifiedName() +
-                    "." + methodName + "(" + listTypes(delegateParams) + ")' does not match the return type of the interface method :'" + returnType + "'.", loc);
-            return false;
-        }
-
-        _delegateToMethods[index] = method;
-
-        return true;
-    }
-
-    static JMethod getMethod(JClass cls, String name, JClass[] paramTypes)
-    {
-        JMethod[] methods = cls.getMethods();
-        for (int i = 0; i < methods.length; i++)
-        {
-            JMethod method = methods[i];
-            if (!name.equals(method.getSimpleName()))
-                continue;
-
-            JParameter[] mParams = method.getParameters();
-            for (int j = 0; j < mParams.length; j++)
-            {
-                JParameter mParam = mParams[j];
-                if (!mParam.getType().equals(paramTypes[j]))
-                    continue;
-            }
-
-            return method;
-        }
-        return null;
-    }
-
-    private static String listTypes(JClass[] types)
-    {
-        StringBuffer result = new StringBuffer();
-        for (int i = 0; i < types.length; i++)
-        {
-            JClass type = types[i];
-            if (i>0)
-                result.append(", ");
-            result.append(emitType(type));
-        }
-        return result.toString();
-    }
-
-    private static String listTypes(JParameter[] params)
-    {
-        StringBuffer result = new StringBuffer();
-        for (int i = 0; i < params.length; i++)
-        {
-            JClass type = params[i].getType();
-            if (i>0)
-                result.append(", ");
-            result.append(emitType(type));
-        }
-        return result.toString();
-    }
-
-    public static String emitType(JClass cls)
-    {
-        if (cls.isArrayType())
-            return emitType(cls.getArrayComponentType()) + "[]";
-        else
-            return cls.getQualifiedName().replace('$', '.');
-    }
-
-    /* public getters */
-    public boolean contains(String fullJavaName)
-    {
-        return _xbeanSet.contains(fullJavaName);
-    }
-
-    public String getInterfaceName()
-    {
-        return _interface.getSimpleName();
-    }
-
-    public String getInterfaceNameForJavaSource()
-    {
-        return emitType(_interface);
-    }
-
-    // used only for validation
-    public String getHandlerNameForJavaSource()
-    {
-        if (_delegateToClass==null)
-            return null;
-
-        return emitType(_delegateToClass);
-    }
-
-    public int getInterfaceMethodCount()
-    {
-        return _interfaceMethods.length;
-    }
-
-    public String getInterfaceMethodName(int methodIndex)
-    {
-        return _interfaceMethods[methodIndex].getSimpleName();
-    }
-
-    public JMethod getInterfaceMethod(int methodIndex)
-    {
-        return _interfaceMethods[methodIndex];
-    }
-
-    public String getInterfaceMethodDecl(int methodIndex)
-    {
-        StringBuffer sb = new StringBuffer();
-        JMethod m = _interfaceMethods[methodIndex];
-        JParameter[] params = m.getParameters();
-
-        for (int i = 0; i < params.length; i++)
-        {
-            JClass paramType = params[i].getType();
-            sb.append( i==0 ? "" : ", " );
-            sb.append( emitType(paramType) + " p" + i);
-        }
-
-        StringBuffer exceptions = new StringBuffer();
-        JClass[] excClasses = m.getExceptionTypes();
-
-        for (int i=0; i<excClasses.length; i++)
-            exceptions.append((i==0 ? " throws " : ", ") + emitType(excClasses[i]));
-
-        return "public " + emitType(m.getReturnType()) + " " + m.getSimpleName() + "(" + sb.toString() + ")" + exceptions.toString();
-    }
-
-    public String getInterfaceMethodImpl(int methodIndex)
-    {
-	    // use the methods from the interface for gen the call to the handler
-        StringBuffer sb = new StringBuffer();
-
-        if (!_interfaceMethods[methodIndex].getReturnType().forName("void").equals(_interfaceMethods[methodIndex].getReturnType()))
-            sb.append("return ");
-
-        sb.append(_delegateToClassName + "." + _delegateToMethods[methodIndex].getSimpleName() + "(this");
-
-        int paramCount = _interfaceMethods[methodIndex].getParameters().length;
-        for (int i=0; i<paramCount; i++)
-        {
-            sb.append(", p" + i);
-        }
-
-        sb.append(");");
-        return sb.toString();
-    }
-}
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSet.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSet.java
deleted file mode 100644
index 2b0b8d0..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSet.java
+++ /dev/null
@@ -1,224 +0,0 @@
-/*   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.
- */
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Apr 25, 2004
- */
-package org.apache.xmlbeans.impl.config;
-
-import java.util.Set;
-import java.util.Collections;
-import java.util.HashSet;
-
-/**
- * Reprezents a non finite set of names.
- * @see NameSetBuilder
- */
-public class NameSet
-{
-    /**
-     * An empty NameSet, it doesn't contain any name
-     */
-    public static NameSet EMPTY = new NameSet(true, Collections.EMPTY_SET);
-    /**
-     * The NameSet that contains any name
-     */
-    public static NameSet EVERYTHING = new NameSet(false, Collections.EMPTY_SET);
-
-    /*
-    There are two big cases:
-    1) - it reprezents "*", ie all except a finite set of names: _isFinite==false
-    2) - if reprezents only a finite set of names: _isFinite==true
-    */
-    private boolean _isFinite;
-    private Set _finiteSet;
-
-    private NameSet(boolean isFinite, Set finiteSet)
-    {
-        _isFinite = isFinite;
-        _finiteSet = finiteSet;
-    }
-
-    static NameSet newInstance(boolean isFinite, Set finiteSet)
-    {
-        if ( finiteSet.size()==0 )
-            if ( isFinite )
-                return NameSet.EMPTY;
-            else
-                return NameSet.EVERYTHING;
-        else
-        {
-            Set fs = new HashSet();
-            fs.addAll(finiteSet);
-            return new NameSet(isFinite, fs);
-        }
-    }
-
-    private static Set intersectFiniteSets(Set a, Set b)
-    {
-        Set intersection = new HashSet();
-        //compute the intersection of _finiteSet with withSet
-        while (a.iterator().hasNext())
-        {
-            String name = (String) a.iterator().next();
-            if (b.contains(name))
-                intersection.add(name);
-        }
-        return intersection;
-    }
-
-    /**
-     * Returns the union of this NameSet with the 'with' NameSet.
-     */
-    public NameSet union(NameSet with)
-    {
-        if (_isFinite)
-        {
-            if (with._isFinite)
-            {
-                Set union = new HashSet();
-                union.addAll(_finiteSet);
-                union.addAll(with._finiteSet);
-                return newInstance(true, union);
-            }
-            else
-            {
-                Set subst = new HashSet();
-                subst.addAll(with._finiteSet);
-                subst.removeAll(_finiteSet);
-                return newInstance(false, subst);
-            }
-        }
-        else
-        {
-            if (with._isFinite)
-            {
-                Set subst = new HashSet();
-                subst.addAll(_finiteSet);
-                subst.removeAll(with._finiteSet);
-                return newInstance(false, subst);
-            }
-            else
-            {
-                return newInstance(false, intersectFiniteSets(_finiteSet, with._finiteSet));
-            }
-        }
-    }
-
-    /**
-     * Returns the intersection of this NameSet with the 'with' NameSet
-     */
-    public NameSet intersect(NameSet with)
-    {
-        if (_isFinite)
-        {
-            if (with._isFinite)
-            {
-                return newInstance(true, intersectFiniteSets(_finiteSet, with._finiteSet));
-            }
-            else
-            {
-                Set subst = new HashSet();
-                subst.addAll(_finiteSet);
-                subst.removeAll(with._finiteSet);
-                return newInstance(false, subst);
-            }
-        }
-        else
-        {
-            if (with._isFinite)
-            {
-                Set subst = new HashSet();
-                subst.addAll(with._finiteSet);
-                subst.removeAll(_finiteSet);
-                return newInstance(true, subst);
-            }
-            else
-            {
-                Set union = new HashSet();
-                union.addAll(_finiteSet);
-                union.addAll(with._finiteSet);
-                return newInstance(false, union);
-            }
-        }
-    }
-
-    /**
-     * Returns the result of substracting this NameSet from 'from' NameSet
-     * @see NameSet#substract
-     */
-    public NameSet substractFrom(NameSet from)
-    {
-        return from.substract(this);
-    }
-
-    /**
-     * Returns the result of substracting 'what' NameSet from this NameSet
-     * @see NameSet#substractFrom
-     */
-    public NameSet substract(NameSet what)
-    {
-        if (_isFinite)
-        {
-            if ( what._isFinite )
-            {
-                // it's the subst of _finiteSet with what._finiteSet
-                Set subst = new HashSet();
-                subst.addAll(_finiteSet);
-                subst.removeAll(what._finiteSet);
-                return newInstance(true, subst);
-            }
-            else
-            {
-                return newInstance(true, intersectFiniteSets(_finiteSet, what._finiteSet));
-            }
-        }
-        else
-        {
-            if ( what._isFinite )
-            {
-                // it's the union of _finiteSet with what._finiteSet
-                Set union = new HashSet();
-                union.addAll(_finiteSet);
-                union.addAll(what._finiteSet);
-                return newInstance(false, union);
-            }
-            else
-            {
-                // what's in thisSet and it's not in whatSet
-                Set subst = new HashSet();
-                subst.addAll(what._finiteSet);
-                subst.removeAll(_finiteSet);
-                return newInstance(true, subst);
-            }
-        }
-    }
-
-    /**
-     * Returns an inversion of this NameSet
-     */
-    public NameSet invert()
-    {
-        return newInstance(!_isFinite, _finiteSet);
-    }
-
-    public boolean contains(String name)
-    {
-        if (_isFinite)
-            return _finiteSet.contains(name);
-        else
-            return !_finiteSet.contains(name);
-    }
-}
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSetBuilder.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSetBuilder.java
deleted file mode 100644
index da61a08..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/NameSetBuilder.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*   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.
- */
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Apr 25, 2004
- */
-package org.apache.xmlbeans.impl.config;
-
-import java.util.Set;
-import java.util.HashSet;
-
-/**
- * Used to build {@link NameSet NameSets}.
- */
-public class NameSetBuilder
-{
-    private boolean _isFinite;
-    private Set _finiteSet;
-
-    /**
-     * Creates an empty builder for a NameSet.
-     */
-    public NameSetBuilder()
-    {
-        _isFinite = true;
-        _finiteSet = new HashSet();
-    }
-
-    /**
-     * Inverts the representing NameSet
-     */
-    public void invert()
-    {
-        _isFinite = !_isFinite;
-    }
-
-    /**
-     * Adds a name to the representing NameSet
-     * @param name
-     */
-    public void add(String name)
-    {
-        if (_isFinite )
-            _finiteSet.add(name);
-        else
-            _finiteSet.remove(name);
-    }
-
-    /**
-     * Creates a new NameSet with the current state.
-     * @return created NameSet
-     */
-    public NameSet toNameSet()
-    {
-        if ( _finiteSet.size()==0 )
-            if ( _isFinite )
-                return NameSet.EMPTY;
-            else
-                return NameSet.EVERYTHING;
-        else
-            return NameSet.newInstance(_isFinite, _finiteSet);
-    }
-}
\ No newline at end of file
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/PrePostExtension.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/PrePostExtension.java
deleted file mode 100644
index f9a253f..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/PrePostExtension.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*   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.
- */
-/**
- * Author: Cezar Andrei ( cezar.andrei at bea.com )
- * Date: Apr 12, 2004
- */
-package org.apache.xmlbeans.impl.config;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.Extensionconfig;
-
-
-public class PrePostExtension
-{
-    public static int OPERATION_SET = 1;
-    public static int OPERATION_INSERT = 2;
-    public static int OPERATION_REMOVE = 3;
-
-    private static JClass[] PARAMTYPES_PREPOST = null; //new JClass[]{int.class, XmlObject.class, QName.class, boolean.class, int.class};
-    private static final String[] PARAMTYPES_STRING = new String[] {"int", "org.apache.xmlbeans.XmlObject",
-        "javax.xml.namespace.QName", "boolean", "int"};
-    private static final String SIGNATURE;
-    static
-    {
-        String sig = "(";
-        for (int i = 0; i < PARAMTYPES_STRING.length; i++)
-        {
-            String t = PARAMTYPES_STRING[i];
-            if (i!=0)
-                sig += ", ";
-            sig += t;
-        }
-        SIGNATURE = sig + ")";
-    }
-
-    private NameSet _xbeanSet;
-    private JClass _delegateToClass;
-    private String _delegateToClassName;
-    private JMethod _preSet;
-    private JMethod _postSet;
-
-    static PrePostExtension newInstance(JamClassLoader jamLoader, NameSet xbeanSet, Extensionconfig.PrePostSet prePostXO)
-    {
-        if (prePostXO==null)
-            return null;
-
-        PrePostExtension result = new PrePostExtension();
-
-        result._xbeanSet = xbeanSet;
-        result._delegateToClassName = prePostXO.getStaticHandler();
-        result._delegateToClass = InterfaceExtension.validateClass(jamLoader, result._delegateToClassName, prePostXO);
-
-        if ( result._delegateToClass==null ) // no HandlerClass
-        {
-            SchemaConfig.warning("Handler class '" + prePostXO.getStaticHandler() + "' not found on classpath, skip validation.", prePostXO);
-            return result;
-        }
-
-        if (!result.lookAfterPreAndPost(jamLoader, prePostXO))
-            return null;
-
-        return result;
-    }
-
-    private boolean lookAfterPreAndPost(JamClassLoader jamLoader, XmlObject loc)
-    {
-        assert _delegateToClass!=null : "Delegate to class handler expected.";
-        boolean valid = true;
-
-        initParamPrePost(jamLoader);
-
-        _preSet = InterfaceExtension.getMethod(_delegateToClass, "preSet", PARAMTYPES_PREPOST);
-        if (_preSet==null)
-        {} // not available is ok, _preSet will be null
-
-        if (_preSet!=null && !_preSet.getReturnType().equals(jamLoader.loadClass("boolean")))
-        {
-            // just emit an warning and don't remember as a preSet
-            SchemaConfig.warning("Method '" + _delegateToClass.getSimpleName() +
-                ".preSet" + SIGNATURE + "' " +
-                "should return boolean to be considered for a preSet handler.", loc);
-            _preSet = null;
-        }
-
-        _postSet = InterfaceExtension.getMethod(_delegateToClass, "postSet", PARAMTYPES_PREPOST);
-        if (_postSet==null)
-        {} // not available is ok, _postSet will be null
-
-        if (_preSet==null && _postSet==null)
-        {
-            SchemaConfig.error("prePostSet handler specified '" + _delegateToClass.getSimpleName() +
-                "' but no preSet" + SIGNATURE + " or " +
-                "postSet" + SIGNATURE + " methods found.", loc);
-            valid = false;
-        }
-
-        return valid;
-    }
-
-    private void initParamPrePost(JamClassLoader jamLoader)
-    {
-        if (PARAMTYPES_PREPOST==null)
-        {
-            PARAMTYPES_PREPOST = new JClass[PARAMTYPES_STRING.length];
-            for (int i = 0; i < PARAMTYPES_PREPOST.length; i++)
-            {
-                PARAMTYPES_PREPOST[i] = jamLoader.loadClass(PARAMTYPES_STRING[i]);
-                if (PARAMTYPES_PREPOST[i]==null)
-                {
-                    throw new IllegalStateException("JAM should have access to the following types " + SIGNATURE);
-                }
-            }
-        }
-    }
-
-    // public methods
-    public boolean contains(String fullJavaName)
-    {
-        return _xbeanSet.contains(fullJavaName);
-    }
-
-    public boolean hasPreCall()
-    {
-        return _preSet!=null;
-    }
-
-    public boolean hasPostCall()
-    {
-        return _postSet!=null;
-    }
-
-    /**
-     * Returns the name of the handler in a form that can be put in a java source.
-     */
-    public String getHandlerNameForJavaSource()
-    {
-        // used only in validation
-        if (_delegateToClass==null)
-            return null;
-
-        return InterfaceExtension.emitType(_delegateToClass);
-    }
-
-    /**
-     * Returns the gened code for makeing the preSet call
-     * @param identifier
-     * @param isAttr
-     * @param index usualy is 'i', or can be -1 for non array properties
-     * @return gened code
-     */
-    public String getPreCall(int opType, String identifier, boolean isAttr, String index)
-    {
-        return _delegateToClassName + ".preSet(" + opType + ", this, " + identifier + ", " + isAttr + ", " + index + ")";
-    }
-
-    /**
-     * Returns the gened code for makeing the preSet call
-     * @param identifier
-     * @param isAttr
-     * @param index usualy is 'i', or can be -1 for non array properties
-     * @return gened code
-     */
-    public String getPostCall(int opType, String identifier, boolean isAttr, String index)
-    {
-        return _delegateToClassName + ".postSet(" + opType + ", this, " + identifier + ", " + isAttr + ", " + index + ");";
-    }
-
-    public boolean hasNameSetIntersection(PrePostExtension ext)
-    {
-        return !NameSet.EMPTY.equals(_xbeanSet.intersect(ext._xbeanSet));
-    }
-}
diff --git a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/SchemaConfig.java b/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/SchemaConfig.java
deleted file mode 100644
index 3fe1dbf..0000000
--- a/v2/src/xmlconfig/org/apache/xmlbeans/impl/config/SchemaConfig.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.config;
-
-import javax.xml.namespace.QName;
-
-import java.util.Map;
-import java.util.Collections;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Iterator;
-import java.io.File;
-import java.io.IOException;
-
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.ConfigDocument.Config;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.Nsconfig;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.Qnameconfig;
-import org.apache.xml.xmlbeans.x2004.x02.xbean.config.Extensionconfig;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.schema.StscState;
-import org.apache.xmlbeans.impl.jam.JamServiceFactory;
-import org.apache.xmlbeans.impl.jam.JamServiceParams;
-import org.apache.xmlbeans.impl.jam.JamService;
-import org.apache.xmlbeans.impl.jam.JClass;
-import org.apache.xmlbeans.impl.jam.JMethod;
-import org.apache.xmlbeans.impl.jam.JamClassLoader;
-
-public class SchemaConfig
-{
-    private Map _packageMap;
-    private Map _prefixMap;
-    private Map _suffixMap;
-    private Map _qnameMap;
-    private ExtensionHolder _extensionHolder;
-
-    private SchemaConfig()
-    {
-        _packageMap = Collections.EMPTY_MAP;
-        _prefixMap = Collections.EMPTY_MAP;
-        _suffixMap = Collections.EMPTY_MAP;
-        _qnameMap = Collections.EMPTY_MAP;
-        _extensionHolder = null;
-    }
-    
-    public static SchemaConfig forConfigDocuments(Config[] configs, File[] javaFiles, File[] classpath)
-    {
-        return new SchemaConfig(configs, javaFiles, classpath);
-    }
-    
-    private SchemaConfig(Config[] configs, File[] javaFiles, File[] classpath)
-    {
-        JamClassLoader jamLoader = getJamLoader(javaFiles, classpath);
-
-        _packageMap = new LinkedHashMap();
-        _prefixMap = new LinkedHashMap();
-        _suffixMap = new LinkedHashMap();
-        _qnameMap = new LinkedHashMap();
-        _extensionHolder = new ExtensionHolder();
-
-        for (int i = 0; i < configs.length; i++)
-        {
-            Config config = configs[i];
-            Nsconfig[] nsa = config.getNamespaceArray();
-            for (int j = 0; j < nsa.length; j++)
-            {
-                recordNamespaceSetting(nsa[j].getUri(), nsa[j].getPackage(), _packageMap);
-                recordNamespaceSetting(nsa[j].getUri(), nsa[j].getPrefix(), _prefixMap);
-                recordNamespaceSetting(nsa[j].getUri(), nsa[j].getSuffix(), _suffixMap);
-            }
-            
-            Qnameconfig[] qnc = config.getQnameArray();
-            for (int j = 0; j < qnc.length; j++)
-            {
-                _qnameMap.put(qnc[j].getName(), qnc[j].getJavaname());
-            }
-
-            Extensionconfig[] ext = config.getExtensionArray();
-            for (int j = 0; j < ext.length; j++)
-            {
-                recordExtensionSetting(jamLoader, ext[j]);
-            }
-        }
-        _extensionHolder.secondPhaseValidation();
-        //todo _extensionHolder.normalize();
-    }
-
-    private static void recordNamespaceSetting(Object key, String value, Map result)
-    {
-        if (value == null)
-            return;
-        else if (key == null)
-            result.put("", value);
-        else if (key instanceof String && "##any".equals(key))
-            result.put(key, value);
-        else if (key instanceof List)
-        {
-            for (Iterator i = ((List)key).iterator(); i.hasNext(); )
-            {
-                String uri = (String)i.next();
-                if ("##local".equals(uri))
-                    uri = "";
-                result.put(uri, value);
-            }
-        }
-    }
-
-    private void recordExtensionSetting(JamClassLoader jamLoader, Extensionconfig ext)
-    {
-        NameSet xbeanSet = null;
-        Object key = ext.getFor();
-
-
-        if (key instanceof String && "*".equals(key))
-            xbeanSet = NameSet.EVERYTHING;
-        else if (key instanceof List)
-        {
-            NameSetBuilder xbeanSetBuilder = new NameSetBuilder();
-            for (Iterator i = ((List) key).iterator(); i.hasNext();)
-            {
-                String xbeanName = (String) i.next();
-                xbeanSetBuilder.add(xbeanName);
-            }
-            xbeanSet = xbeanSetBuilder.toNameSet();
-        }
-
-        if (xbeanSet == null)
-            error("Invalid value of attribute 'for' : '" + key + "'.", ext);
-
-        Extensionconfig.Interface[] intfXO = ext.getInterfaceArray();
-
-        for (int i = 0; i < intfXO.length; i++)
-        {
-            _extensionHolder.addInterfaceExtension(InterfaceExtension.newInstance(jamLoader, xbeanSet, intfXO[i]));
-        }
-
-        _extensionHolder.addPrePostExtension(PrePostExtension.newInstance(jamLoader, xbeanSet, ext.getPrePostSet()));
-    }
-
-    private String lookup(Map map, String uri)
-    {
-        if (uri == null)
-            uri = "";
-        String result = (String)map.get(uri);
-        if (result != null)
-            return result;
-        return (String) map.get("##any");
-    }
-
-    //package methods
-    static void warning(String s, XmlObject xo)
-    {
-        StscState.get().error(s, XmlError.SEVERITY_WARNING, xo);
-    }
-
-    static void error(String s, XmlObject xo)
-    {
-        StscState.get().error(s, XmlError.SEVERITY_ERROR, xo);
-    }
-
-    //public methods
-    public String lookupPackageForNamespace(String uri)
-    {
-        return lookup(_packageMap, uri);
-    }
-
-    public String lookupPrefixForNamespace(String uri)
-    {
-        return lookup(_prefixMap, uri);
-    }
-
-    public String lookupSuffixForNamespace(String uri)
-    {
-        return lookup(_suffixMap, uri);
-    }
-
-    public String lookupJavanameForQName(QName qname)
-    {
-        return (String)_qnameMap.get(qname);
-    }
-
-    public ExtensionHolder extensionHolderFor(String fullJavaName)
-    {
-        return _extensionHolder.extensionHolderFor(fullJavaName);
-    }
-
-    public ExtensionHolder getExtensionHolder()
-    {
-        return _extensionHolder;
-    }
-
-    private JamClassLoader getJamLoader(File[] javaFiles, File[] classpath)
-    {
-        JamServiceFactory jf = JamServiceFactory.getInstance();
-        JamServiceParams params = jf.createServiceParams();
-
-        // process the included sources
-        if (javaFiles!=null)
-            for (int i = 0; i < javaFiles.length; i++)
-                params.includeSourceFile(javaFiles[i]);
-
-        //params.setVerbose(DirectoryScanner.class);
-
-        // add the sourcepath and classpath, if specified
-        params.addClassLoader(this.getClass().getClassLoader());
-        if (classpath != null)
-            for (int i = 0; i < classpath.length; i++)
-                params.addClasspath(classpath[i]);
-
-        // create service, get classes, return compiler
-        JamService service;
-        try
-        {
-            service = jf.createService(params);
-        }
-        catch (IOException ioe)
-        {
-            error("Error when accessing .java files.", null);
-            return null;
-        }
-
-//        JClass[] cls = service.getAllClasses();
-//        for (int i = 0; i < cls.length; i++)
-//        {
-//            JClass cl = cls[i];
-//            System.out.println("CL: " + cl + " " + cl.getQualifiedName());
-//            JMethod[] methods = cl.getMethods();
-//            for (int j = 0; j < methods.length; j++)
-//            {
-//                JMethod method = methods[j];
-//                System.out.println("    " + method.getQualifiedName());
-//            }
-//        }
-
-        return service.getClassLoader();
-    }
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Attribute.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Attribute.java
deleted file mode 100755
index 16da4b6..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Attribute.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * An interface that contains information about an attribute
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLName
- * @see org.apache.xmlbeans.xml.stream.Attribute
- */
-public interface Attribute {
-  /**
-   * Get the XMLName of the current attribute.
-   * @see org.apache.xmlbeans.xml.stream.XMLName
-   */
-  public XMLName getName();
-
-  /**
-   * Get the attribute value of the current attribute.
-   */
-  public String getValue();
-
-  /**
-   * Get the attribute type of the current attribute
-   */
-  public String getType();
-
-  /**
-   * Get the attribute type of the current attribute
-   */
-  public XMLName getSchemaType();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/AttributeIterator.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/AttributeIterator.java
deleted file mode 100755
index 7c9b8f7..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/AttributeIterator.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This interface specifies methods for iterating over attributes.
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.Attribute
-*/
-
-public interface AttributeIterator {
-  /**
-   * Get the next Attribute on the stream
-   * @see org.apache.xmlbeans.xml.stream.Attribute
-   */
-  public Attribute next();
-
-  /**
-   * Check if there are any attributes on the stream
-   */
-  public boolean hasNext();
-
-  /**
-   * Return the next element on the stream without shifting it
-   */
-  public Attribute peek();
-
-
-  /**
-   * Skip the next element on the stream
-   */
-  public void skip();
-}
-
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/BufferedXMLInputStream.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/BufferedXMLInputStream.java
deleted file mode 100755
index c1bf9bb..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/BufferedXMLInputStream.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-import java.io.IOException;
-/**
- * Extends the XMLInputStream to allow marking and reseting of the stream.
- *
- * @since XMLInputStream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.ProcessingInstruction
- * @see org.apache.xmlbeans.xml.stream.StartElement
- * @see org.apache.xmlbeans.xml.stream.EndElement
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.XMLName
- */
-public interface BufferedXMLInputStream extends XMLInputStream {
-  /**
-   * Sets the marks a point to return to in the stream,
-   * throws an exception if the stream does not support mark.
-   * This is only supported in BufferedStreams
-   */
-  public void mark() throws XMLStreamException;
-  /**
-   * Resets the stream to the previous mark.
-   * throws an exception if the stream does not support mark;
-   */
-  public void reset() throws XMLStreamException;
-}
-
-
-
-
-
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ChangePrefixMapping.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ChangePrefixMapping.java
deleted file mode 100755
index c456876..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ChangePrefixMapping.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This event signals that a prefix mapping has changed from
- * OldNamespaceName to the NewNamespaceName
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.StartPrefixMapping
- * @see org.apache.xmlbeans.xml.stream.EndPrefixMapping
- */
-public interface ChangePrefixMapping extends XMLEvent {
-  /*
-   * returns the uri that the prefix was bound to
-   * @return String value of the uri
-   */
-  public String getOldNamespaceUri();
-  /*
-   * returns the new uri that the prefix is bound to
-   * @return String value of the uri
-   */
-  public String getNewNamespaceUri();
-  /*
-   * returns the prefix that is bound
-   * @return String value of the prefix
-   */
-  public String getPrefix();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/CharacterData.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/CharacterData.java
deleted file mode 100755
index fcb98dd..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/CharacterData.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * A marker interface for character data
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-public interface CharacterData extends XMLEvent {
-  /**
-   * Get the content of this element,
-   * returns null if the element has no content
-   */
-  public String getContent();
-
-  /**
-   * Returns true if this element has content and false otherwise
-   */
-  public boolean hasContent();
-
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Comment.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Comment.java
deleted file mode 100755
index c4541cd..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Comment.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * A marker interface for comment data
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-
-public interface Comment extends CharacterData {
-  /**
-   * No methods are defined in this interface.
-   */
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ElementFilter.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ElementFilter.java
deleted file mode 100755
index d179a5c..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ElementFilter.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- *
- * This interface defines a filter on elements
- */
-
-public interface ElementFilter {
-  /**
-   * tests whether this event is part of this stream 
-   */
-  boolean accept(XMLEvent element);
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndDocument.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndDocument.java
deleted file mode 100755
index ca98a50..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndDocument.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * A marker interface for the end of a document
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-public interface EndDocument extends XMLEvent {
-  /**
-   * No methods are defined in this interface.
-   */
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndElement.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndElement.java
deleted file mode 100755
index e8a69ac..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndElement.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * A marker interface for the end element event.
- * The name is available in the getName method of
- * org.apache.xmlbeans.xml.stream.XMLEvent interface.
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-public interface EndElement extends XMLEvent {
-  /**
-   * No methods are defined in this interface.  
-   */
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndPrefixMapping.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndPrefixMapping.java
deleted file mode 100755
index fb12fed..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EndPrefixMapping.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This event signals that a prefix mapping has gone out of scope
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.StartPrefixMapping
- * @see org.apache.xmlbeans.xml.stream.ChangePrefixMapping
- */
-
-public interface EndPrefixMapping extends XMLEvent {
-  /* 
-   * Returns the prefix that has gone out of scope
-   * @return String value of the prefix
-   */
-  public String getPrefix();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EntityReference.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EntityReference.java
deleted file mode 100755
index 40e4ec2..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/EntityReference.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * An interface for handling Entity Declarations
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- */
-
-public interface EntityReference extends XMLEvent {
-  /**
-   * Returns true if this entity was skipped
-   */
-  public boolean skipped();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Location.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Location.java
deleted file mode 100755
index dfd18d0..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Location.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * Returns the document location of the event.  This is not
- * required to be exact and is informational only.
- * 
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- *
- */
-public interface Location {
-  /*
-   * returns the current column number
-   *
-   * @return integer value of the current column number
-   */
-  public int getColumnNumber(); 
-  /*
-   * returns the current line
-   *
-   * @return integer value of the current line number
-   */
-  public int getLineNumber();
-  /*
-   * returns the String value of the public ID
-   *
-   * @return public ID or null if not set
-   */
-  public String getPublicId(); 
-  /*
-   * returns the String value of the system ID
-   *
-   * @return system ID or null if not set
-   */
-  public String getSystemId();
-}
-
-
-
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ProcessingInstruction.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ProcessingInstruction.java
deleted file mode 100755
index 4bd6256..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ProcessingInstruction.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * A marker interface for processing instructions
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-public interface ProcessingInstruction extends XMLEvent {
-  /*
-   * the target section of the processing instruction
-   *
-   * @return the String value of the PI or null
-   */
-  public String getTarget();
-  /*
-   * the data section of the processing instruction
-   *
-   * @return the String value of the PI's data or null
-   */
-  public String getData();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ReferenceResolver.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ReferenceResolver.java
deleted file mode 100755
index 36071f6..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/ReferenceResolver.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-/**
- * This interface can be implemented to allow resolution of references
- * on a stream.  
- */
-public interface ReferenceResolver {
-  /**
-   * Returns the xml pointed to by this idref as an XMLInputStream
-   * @param idref
-   */
-  XMLInputStream resolve(String idref)
-    throws XMLStreamException;
-
-  /**
-   * Returns the id that corresponds to this idref
-   * @param idref
-   */
-  String getId(String idref);
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Space.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Space.java
deleted file mode 100755
index df453ce..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/Space.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This element returns whitespace characters to allow separate
- * handling by the application
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- */
-public interface Space extends CharacterData {
-  /**
-   * Returns true if this is ignorable whitespace
-   */
-  public boolean ignorable();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartDocument.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartDocument.java
deleted file mode 100755
index e980bfc..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartDocument.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * An interface for the start document event
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
-*/
-public interface StartDocument extends XMLEvent {
-  /* 
-   * Returns the system id of the stream
-   * @return the system id, defaults to ""
-   */
-  public String getSystemId();
-  /* 
-   * Returns the encoding style of this XML stream
-   * @return the character encoding, defaults to "UTF-8"
-   */
-  public String getCharacterEncodingScheme();
-  /* 
-   * Returns if this XML is standalone
-   * @return the version of XML, defaults to "yes"
-   */
-  public boolean isStandalone();
-  /* 
-   * Returns the version of XML of this XML stream
-   * @return the version of XML, defaults to "1.0"
-   */
-  public String getVersion();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartElement.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartElement.java
deleted file mode 100755
index 14d904d..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartElement.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-import java.util.Map;
-/**
- * The StartElement interface provides access to information about
- * start elements
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.AttributeIterator
- */
-
-public interface StartElement extends XMLEvent {
-  /**
-   * Returns an AttributeIterator of non-namespace declared attributes
-   */
-  public AttributeIterator getAttributes();
-  /**
-   * Returns an AttributeIterator of namespaces declared in this element
-   */
-  public AttributeIterator getNamespaces();
-  /**
-   * Returns the union of declared attributes and namespaces
-   */
-  public AttributeIterator getAttributesAndNamespaces();
-  /**
-   * Returns the attribute referred to by this name
-   */
-  public Attribute getAttributeByName(XMLName name);
-  /**
-   * Gets the value that the prefix is bound to in the
-   * context of this element.  Returns null if 
-   * the prefix is not bound in this context
-   */
-  public String getNamespaceUri(String prefix);
-  /**
-   * Gets a java.util.Map from prefixes to URIs in scope for this
-   * element.
-   */
-  public Map getNamespaceMap();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartPrefixMapping.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartPrefixMapping.java
deleted file mode 100755
index c10661a..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/StartPrefixMapping.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This event signals that a prefix mapping has begun scope
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.EndPrefixMapping
- * @see org.apache.xmlbeans.xml.stream.ChangePrefixMapping
- */
-
-public interface StartPrefixMapping extends XMLEvent {
-  /* 
-   * Returns the uri of the prefix that is in scope for the following 
-   * element
-   * @return String value of the uri
-   */
-  public String getNamespaceUri();
-  /* 
-   * Returns the prefix that is now in scope
-   * @return String value of the prefix
-   */
-  public String getPrefix();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLEvent.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLEvent.java
deleted file mode 100755
index a0bfc24..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLEvent.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * This is the base element interface for handling markup events.
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.ProcessingInstruction
- * @see org.apache.xmlbeans.xml.stream.StartElement
- * @see org.apache.xmlbeans.xml.stream.EndElement
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.XMLName
- * @see org.apache.xmlbeans.xml.stream.StartDocument
- */
-
-public interface XMLEvent {
-  /**
-   * A constant which identifies an XMLEvent
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   */
-  public static final int XML_EVENT=0x00000001;
-  /**
-   * A constant which identifies a StartElement
-   * @see org.apache.xmlbeans.xml.stream.StartElement
-   */
-  public static final int START_ELEMENT=0x00000002;
-  /**
-   * A constant which identifies an EndElement
-   * @see org.apache.xmlbeans.xml.stream.EndElement
-   */
-  public static final int END_ELEMENT=0x00000004;
-  /**
-   * A constant which identifies a ProcessingInstruction
-   * @see org.apache.xmlbeans.xml.stream.ProcessingInstruction
-   */
-  public static final int PROCESSING_INSTRUCTION=0x00000008;
-  /**
-   * A constant which identifies a CharacterData Event
-   * @see org.apache.xmlbeans.xml.stream.CharacterData
-   */
-  public static final int CHARACTER_DATA=0x00000010;
-  /**
-   * A constant which identifies a Comment
-   * @see org.apache.xmlbeans.xml.stream.Comment
-   */
-  public static final int COMMENT=0x00000020;
-  /**
-   * A constant which identifies a Space
-   * @see org.apache.xmlbeans.xml.stream.Space
-   */
-  public static final int SPACE=0x00000040;
-  /**
-   * A constant which identifies a NullElement
-   */
-  public static final int NULL_ELEMENT=0x00000080;
-  /**
-   * A constant which identifies a StartDocument
-   * @see org.apache.xmlbeans.xml.stream.StartDocument
-   */
-  public static final int START_DOCUMENT=0x00000100;
-  /**
-   * A constant which identifies an EndDocument
-   * @see org.apache.xmlbeans.xml.stream.EndDocument
-   */
-  public static final int END_DOCUMENT=0x00000200;
-  /**
-   * A constant which identifies a StartPrefixMapping
-   * @see org.apache.xmlbeans.xml.stream.StartPrefixMapping
-   */
-  public static final int START_PREFIX_MAPPING=0x00000400;
-  /**
-   * A constant which identifies a EndPrefixMapping
-   * @see org.apache.xmlbeans.xml.stream.EndPrefixMapping
-   */
-  public static final int END_PREFIX_MAPPING=0x00000800;
-  /**
-   * A constant which identifies a ChangePrefixMapping
-   * @see org.apache.xmlbeans.xml.stream.ChangePrefixMapping
-   */
-  public static final int CHANGE_PREFIX_MAPPING=0x00001000;
-  /**
-   * A constant which identifies an EntityReference 
-   * @see org.apache.xmlbeans.xml.stream.EntityReference
-   */
-  public static final int ENTITY_REFERENCE=0x00002000;
-  /**
-   * Get the event type of the current element,
-   * returns an integer so that switch statements
-   * can be written on the result
-   */
-  public int getType();
-  /**
-   * Get the event type of the current element,
-   * returns an integer so that switch statements
-   * can be written on the result
-   */
-  public XMLName getSchemaType();
-  /**
-   * Get the string value of the type name
-   */
-  public String getTypeAsString();
-  /**
-   * Get the XMLName of the current element
-   * @see org.apache.xmlbeans.xml.stream.XMLName
-   */
-  public XMLName getName();
-
-  /**
-   * Check if this Element has a name
-   */
-  public boolean hasName();
-
-  /**
-   * Return the location of this Element
-   */
-  public Location getLocation();
-
-  /**
-   * Method access to the elements type
-   */
-  public boolean isStartElement();
-  public boolean isEndElement();
-  public boolean isEntityReference();
-  public boolean isStartPrefixMapping();
-  public boolean isEndPrefixMapping();
-  public boolean isChangePrefixMapping();
-  public boolean isProcessingInstruction();
-  public boolean isCharacterData();
-  public boolean isSpace();
-  public boolean isNull();
-  public boolean isStartDocument();
-  public boolean isEndDocument();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLInputStream.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLInputStream.java
deleted file mode 100755
index cbc2090..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLInputStream.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- *
- * This is the top level interface for iterating over XML Events
- * in an XML document.
- *
- * <p> Difference from SAX </p>
- * <p> An event stream can be thought of encapsulating SAX
- * events. It applies an iterator/pull metaphor to the parser 
- * allowing procedural, stream-based, handling of input XML rather than
- * having to write chained event handlers to handle complex XML
- * documents.
- * <p> Difference from DOM </p>
- * <p>The pull metaphor allows single-pass, stream-based  parsing of the document rather
- * than tree based manipulation.</p>
- *
- * @since XMLInputStream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.ProcessingInstruction
- * @see org.apache.xmlbeans.xml.stream.StartElement
- * @see org.apache.xmlbeans.xml.stream.EndElement
- * @see org.apache.xmlbeans.xml.stream.CharacterData
- * @see org.apache.xmlbeans.xml.stream.XMLName
- */
-
-// REVIEW pdapkus@bea.com 2002-Sep-13 -- while I like the convenience
-// of many of these methods, it strikes me that many of these methods
-// could implemented as static methods in a utility class.  the down
-// side to having them in this base interface is that it makes the
-// contract for implementers unnecessarily steap and results in
-// duplicated code in methods that can't extend one of the common base
-// classes.  
-
-public interface XMLInputStream {
-  /**
-   * Get the next XMLEvent on the stream
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   */
-  public XMLEvent next() throws XMLStreamException;
-  /**
-   * Check if there are more events to pull of the stream
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   */
-  public boolean hasNext() throws XMLStreamException;
-  /**
-   * Skip the next stream event
-   */
-  public void skip() throws XMLStreamException;
-  /**
-   * Skips the entire next start tag / end tag pair.
-   */
-  public void skipElement() throws XMLStreamException;
-  /**
-   * Check the next XMLEvent without reading it from the stream.
-   * Returns null if the stream is at EOF or has no more XMLEvents.
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   */
-  public XMLEvent peek() throws XMLStreamException;
-  /**
-   * Position the stream at the next XMLEvent of this type.  The method
-   * returns true if the stream contains another XMLEvent of this type
-   * and false otherwise.
-   * @param eventType An integer code that indicates the element type.
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   */
-  public boolean skip(int eventType) throws XMLStreamException;
-  /**
-   * Position the stream at the next element of this name.  The method
-   * returns true if the stream contains another element with this name
-   * and false otherwise.  Skip is a forward operator only.  It does
-   * not look backward in the stream.
-   * @param name An object that defines an XML name.
-   * If the XMLName.getNameSpaceName() method on the XMLName argument returns
-   * null the XMLName will match just the local name.  Prefixes are
-   * not checked for equality.
-   * @see org.apache.xmlbeans.xml.stream.XMLName
-   */
-  public boolean skip(XMLName name) throws XMLStreamException;
-  /**
-   * Position the stream at the next element of this name and this type.
-   * The method returns true if the stream contains another element 
-   * with this name of this type and false otherwise.  
-   * @param name An object that defines an XML name.
-   * If the XMLName.getNameSpaceName() method on the XMLName argument returns
-   * null the XMLName will match just the local name.  Prefixes are
-   * not checked for equality.
-   * @param eventType An integer code that indicates the element type.
-   * @see org.apache.xmlbeans.xml.stream.XMLEvent
-   * @see org.apache.xmlbeans.xml.stream.XMLName
-   */
-  public boolean skip(XMLName name, int eventType) throws XMLStreamException;
-  /**
-   * getSubStream() returns a stream which points to the entire next element in the
-   * current stream.  For example: take a document that has a root node A, where the children
-   * of A are B, C, and D. If the stream is pointing to the start element of A, getSubStream() will return 
-   * A, B, C and D including the start element of A and the end element of A.  The position of the parent
-   * stream is not changed and the events read by the substream are written back to its parent.   
-   */
-  public XMLInputStream getSubStream() throws XMLStreamException;
-  /**
-   * Closes this input stream and releases any system resources associated with the stream.
-   */
-  public void close() throws XMLStreamException;
-
-  /**
-   * Returns the reference resolver that was set for this stream,
-   * returns null if no ReferenceResolver has been set.
-   * @see org.apache.xmlbeans.xml.stream.ReferenceResolver
-   */
-  public ReferenceResolver getReferenceResolver();
-  /**
-   * Provides a way to set the ReferenceResolver of the stream,
-   * this is mostly needed for handle references to other parts of the
-   * document.
-   * @see org.apache.xmlbeans.xml.stream.ReferenceResolver
-   */
-  public void setReferenceResolver(ReferenceResolver resolver);
-}
-
-
-
-
-
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLName.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLName.java
deleted file mode 100755
index a050b40..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLName.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-/**
- * Encapsulates information about the Qualified Name of an XML event.
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- * @see org.apache.xmlbeans.xml.stream.StartElement
- * @see org.apache.xmlbeans.xml.stream.XMLEvent
- */
-
-public interface XMLName {
-  /*
-   * returns the uri of the prefix of this name
-   * 
-   * @return returns the uri, 
-   * empty string if the default namespace is bound to empty string 
-   * or null if the name does not have a namespace
-   */
-  public String getNamespaceUri();
-  /*
-   * returns the localname of the xml name
-   * 
-   * @return the localname, cannot be null
-   */
-  public String getLocalName();
-  /*
-   * returns the prefix of the xml name
-   * 
-   * @return the prefix of the xml name or null
-   */
-  public String getPrefix();
-
-  /*
-   * returns the prefix of the xml name + ':' + the local name
-   * if the prefix is not null
-   * returns the local name otherwise
-   * 
-   * @return the prefix plus the local name
-   */
-  public String getQualifiedName();
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLStreamException.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLStreamException.java
deleted file mode 100755
index 32c6f25..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/XMLStreamException.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream;
-
-import java.io.IOException;
-import java.io.PrintStream;
-import java.io.PrintWriter;
-
-import org.apache.xmlbeans.xml.stream.utils.NestedThrowable;
-
-/**
- * The base exception for unexpected input during XML handling
- *
- * @since Weblogic XML Input Stream 1.0
- * @version 1.0
- */
-
-public class XMLStreamException 
-  extends IOException 
-  implements NestedThrowable 
-{
-  protected Throwable th;
-
-  public XMLStreamException() {}
-
-  public XMLStreamException(String msg) { 
-    super(msg); 
-  }
-
-  public XMLStreamException(Throwable th) {
-    this.th = th;
-    
-  }
-
-  public XMLStreamException(String msg, Throwable th) {
-    super(msg);
-    this.th = th;
-  }
-
-  /**
-   * Gets the nested exception.
-   *
-   * @return                 Nested exception
-   */
-  public Throwable getNestedException() {
-    return getNested();
-  }
-
-  //try to do someting useful
-  public String getMessage() {
-    String msg = super.getMessage();
-
-    if (msg == null && th != null) {
-      return th.getMessage();
-    } else {
-      return msg;
-    }
-  }
-
-
-  // =================================================================
-  // NestedThrowable implementation.
-
-  /**
-   * Gets the nested Throwable.
-   *
-   * @return                 Nested exception
-   */
-  public Throwable getNested() {
-    return th;
-  }
-
-  public String superToString() {
-    return super.toString();
-  }
-
-  public void superPrintStackTrace(PrintStream ps) {
-    super.printStackTrace(ps);
-  }
-
-  public void superPrintStackTrace(PrintWriter pw) {
-    super.printStackTrace(pw);
-  }
-
-  // End NestedThrowable implementation.
-  // =================================================================
-
-  /**
-   * Prints the exception message and its nested exception message.
-   *
-   * @return                 String representation of the exception
-   */
-  public String toString() {
-    return NestedThrowable.Util.toString(this);
-  }
-
-  /**
-   * Prints the stack trace associated with this exception and
-   * its nested exception.
-   *
-   * @param s                 PrintStream
-   */
-  public void printStackTrace(PrintStream s) { 
-    NestedThrowable.Util.printStackTrace(this, s);
-  }
-
-  /**
-   * Prints the stack trace associated with this exception and
-   * its nested exception.
-   *
-   * @param s                 PrintStream
-   */
-  public void printStackTrace(PrintWriter w) { 
-    NestedThrowable.Util.printStackTrace(this, w);
-  }
-
-  /**
-   * Prints the stack trace associated with this exception and
-   * its nested exception to System.err.
-   *
-   * @param s                 PrintStream
-   */
-  public void printStackTrace() {
-    printStackTrace(System.err);
-  }
-}
-
-
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/events/ElementTypeNames.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/events/ElementTypeNames.java
deleted file mode 100755
index a465537..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/events/ElementTypeNames.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream.events;
-
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-
-public class ElementTypeNames {
-  public static String getName(int val) { 
-    switch(val) {
-    case XMLEvent.XML_EVENT: return ("XML_EVENT");
-    case XMLEvent.START_ELEMENT: return ("START_ELEMENT");
-    case XMLEvent.END_ELEMENT: return ("END_ELEMENT");
-    case XMLEvent.PROCESSING_INSTRUCTION: return ("PROCESSING_INSTRUCTION");
-    case XMLEvent.CHARACTER_DATA: return ("CHARACTER_DATA");
-    case XMLEvent.COMMENT: return ("COMMENT");
-    case XMLEvent.SPACE: return ("SPACE");
-    case XMLEvent.NULL_ELEMENT: return ("NULL_ELEMENT");
-    case XMLEvent.START_DOCUMENT: return ("START_DOCUMENT");
-    case XMLEvent.END_DOCUMENT: return ("END_DOCUMENT");
-    case XMLEvent.START_PREFIX_MAPPING: return ("START_PREFIX_MAPPING");
-    case XMLEvent.CHANGE_PREFIX_MAPPING: return ("CHANGE_PREFIX_MAPPING");
-    case XMLEvent.END_PREFIX_MAPPING: return ("END_PREFIX_MAPPING");
-    case XMLEvent.ENTITY_REFERENCE: return ("ENTITY_REFERENCE");
-    default: return "";
-    }
-  }
-  public static int getType(String val) {
-    if (val.equals("XML_EVENT")) 
-      return XMLEvent.XML_EVENT;
-    if (val.equals ("START_ELEMENT")) return 
-        XMLEvent.START_ELEMENT; 
-    if (val.equals ("END_ELEMENT")) return XMLEvent.END_ELEMENT;
-    if (val.equals ("PROCESSING_INSTRUCTION"))
-      return XMLEvent.PROCESSING_INSTRUCTION; 
-    if (val.equals ("CHARACTER_DATA"))
-      return XMLEvent.CHARACTER_DATA; 
-    if (val.equals ("COMMENT"))
-      return XMLEvent.COMMENT; 
-    if (val.equals ("SPACE"))
-      return XMLEvent.SPACE; 
-    if (val.equals ("NULL_ELEMENT"))
-      return XMLEvent.NULL_ELEMENT; 
-    if (val.equals ("START_DOCUMENT"))
-      return XMLEvent.START_DOCUMENT; 
-    if (val.equals ("END_DOCUMENT"))
-      return XMLEvent.END_DOCUMENT; 
-    if (val.equals ("START_PREFIX_MAPPING"))
-      return XMLEvent.START_PREFIX_MAPPING; 
-    if (val.equals ("CHANGE_PREFIX_MAPPING"))
-      return XMLEvent.CHANGE_PREFIX_MAPPING;
-    if (val.equals ("ENTITY_REFERENCE"))
-      return XMLEvent.ENTITY_REFERENCE; 
-    if (val.equals ("END_PREFIX_MAPPING"))
-      return XMLEvent.END_PREFIX_MAPPING;
-
-    return XMLEvent.NULL_ELEMENT;
-  }
-}
diff --git a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/utils/NestedThrowable.java b/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/utils/NestedThrowable.java
deleted file mode 100755
index 2ca73d2..0000000
--- a/v2/src/xmlinputstream/org/apache/xmlbeans/xml/stream/utils/NestedThrowable.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.xml.stream.utils;
-
-/**
- * The interface implemented by NestedException, NestedError, and
- * NestedRuntimeException largely so Util can provide a standard
- * implementation of toString() and printStackTrace()
- *
- * @deprecated use JDK 1.4 style nested throwables where possible.
- *
- */
-
-import java.io.PrintWriter;
-import java.io.PrintStream;
-import java.lang.reflect.InvocationTargetException;
-
-public interface NestedThrowable {
-
-  /** Get the nested Throwable. */
-  Throwable getNested();
-
-  /** Call super.toString(). [Kludge but necessary.] */
-  String superToString();
-
-  /** Call super.printStackTrace(). [Kludge but necessary.] */
-  void superPrintStackTrace(PrintStream ps);
-
-  /** Call super.printStackTrace(). [Kludge but necessary.] */
-  void superPrintStackTrace(PrintWriter po);
-
-  static class Util {
-
-    private static String EOL = System.getProperty("line.separator");
-
-    /**
-     * Prints the exception message and its nested exception message.
-     *
-     * @return                 String representation of the exception
-     */
-    public static String toString(NestedThrowable nt) {
-      Throwable nested = nt.getNested();
-      if (nested == null) {
-        return nt.superToString();
-      } else {
-        return nt.superToString() + " - with nested exception:" + 
-          EOL + "[" + nestedToString(nested) + "]";
-      }
-    }
-
-    private static String nestedToString(Throwable nested) {
-      if (nested instanceof InvocationTargetException) {
-        InvocationTargetException ite = (InvocationTargetException) nested;
-        return nested.toString() + " - with target exception:" + 
-          EOL + "[" + ite.getTargetException().toString() +
-          "]";
-      }
-      return nested.toString();
-    }
-
-    /**
-     * Prints the stack trace associated with this exception and
-     * its nested exception.
-     *
-     * @param s                 PrintStream
-     */
-    public static void printStackTrace(NestedThrowable nt, PrintStream s) { 
-      Throwable nested = nt.getNested();
-      if (nested != null) {
-        nested.printStackTrace(s);
-        s.println("--------------- nested within: ------------------");
-      }
-      nt.superPrintStackTrace(s);
-    }
-
-    /**
-     * Prints the stack trace associated with this exception and
-     * its nested exception.
-     *
-     * @param w                 PrintWriter
-     */
-    public static void printStackTrace(NestedThrowable nt, PrintWriter w) { 
-      Throwable nested = nt.getNested();
-      if (nested != null) {
-        nested.printStackTrace(w);
-        w.println("--------------- nested within: ------------------");
-      }
-      nt.superPrintStackTrace(w);
-    }
-  }
-
-}
diff --git a/v2/src/xmlpublic/javax/xml/namespace/QName.java b/v2/src/xmlpublic/javax/xml/namespace/QName.java
deleted file mode 100644
index 4dd9432..0000000
--- a/v2/src/xmlpublic/javax/xml/namespace/QName.java
+++ /dev/null
@@ -1,231 +0,0 @@
-/*   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.
- */
-
-package javax.xml.namespace;
-
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.Serializable;
-
-/**
- * <code>QName</code> class represents the value of a qualified name
- * as specified in <a href="http://www.w3.org/TR/xmlschema-2/#QName">XML
- * Schema Part2: Datatypes specification</a>.
- * <p>
- * The value of a QName contains a <b>namespaceURI</b>, a <b>localPart</b> and a <b>prefix</b>.
- * The localPart provides the local part of the qualified name. The
- * namespaceURI is a URI reference identifying the namespace.
- *
- * @version 1.1
- */
-public class QName implements Serializable {
-    
-    private static final long serialVersionUID = -9120448754896609940L;
-    
-    /** comment/shared empty string */
-    private static final String emptyString = "".intern();
-
-    /** Field namespaceURI */
-    private String namespaceURI;
-
-    /** Field localPart */
-    private String localPart;
-
-    /** Field prefix */
-    private String prefix;
-
-    /**
-     * Constructor for the QName.
-     *
-     * @param localPart Local part of the QName
-     */
-    public QName(String localPart) {
-        this(emptyString, localPart, emptyString);
-    }
-
-    /**
-     * Constructor for the QName.
-     *
-     * @param namespaceURI Namespace URI for the QName
-     * @param localPart Local part of the QName.
-     */
-    public QName(String namespaceURI, String localPart) {
-        this(namespaceURI, localPart, emptyString);
-    }
-
-    /**
-     * Constructor for the QName.
-     *
-     * @param namespaceURI Namespace URI for the QName
-     * @param localPart Local part of the QName.
-     * @param prefix Prefix of the QName.
-     */
-    public QName(String namespaceURI, String localPart, String prefix) {
-        this.namespaceURI = (namespaceURI == null)
-                ? emptyString
-                : namespaceURI.intern();
-        if (localPart == null) {
-            throw new IllegalArgumentException("invalid QName local part");
-        } else {
-            this.localPart = localPart.intern();
-        }
-
-        if (prefix == null) {
-            throw new IllegalArgumentException("invalid QName prefix");
-        } else {
-            this.prefix = prefix.intern();
-        }
-    }
-
-    /**
-     * Gets the Namespace URI for this QName
-     *
-     * @return Namespace URI
-     */
-    public String getNamespaceURI() {
-        return namespaceURI;
-    }
-
-    /**
-     * Gets the Local part for this QName
-     *
-     * @return Local part
-     */
-    public String getLocalPart() {
-        return localPart;
-    }
-
-    /**
-     * Gets the Prefix for this QName
-     *
-     * @return Prefix
-     */
-    public String getPrefix() {
-        return prefix;
-    }
-
-    /**
-     * Returns a string representation of this QName
-     *
-     * @return  a string representation of the QName
-     */
-    public String toString() {
-
-        return ((namespaceURI == emptyString)
-                ? localPart
-                : '{' + namespaceURI + '}' + localPart);
-    }
-
-    /**
-     * Tests this QName for equality with another object.
-     * <p>
-     * If the given object is not a QName or is null then this method
-     * returns <tt>false</tt>.
-     * <p>
-     * For two QNames to be considered equal requires that both
-     * localPart and namespaceURI must be equal. This method uses
-     * <code>String.equals</code> to check equality of localPart
-     * and namespaceURI. Any class that extends QName is required
-     * to satisfy this equality contract.
-     * <p>
-     * This method satisfies the general contract of the <code>Object.equals</code> method.
-     *
-     * @param obj the reference object with which to compare
-     *
-     * @return <code>true</code> if the given object is identical to this
-     *      QName: <code>false</code> otherwise.
-     */
-    public final boolean equals(Object obj) {
-
-        if (obj == this) {
-            return true;
-        }
-
-        if (!(obj instanceof QName)) {
-            return false;
-        }
-
-        if ((namespaceURI == ((QName) obj).namespaceURI)
-                && (localPart == ((QName) obj).localPart)) {
-            return true;
-        }
-
-        return false;
-    }
-
-    /**
-     * Returns a QName holding the value of the specified String.
-     * <p>
-     * The string must be in the form returned by the QName.toString()
-     * method, i.e. "{namespaceURI}localPart", with the "{namespaceURI}"
-     * part being optional.
-     * <p>
-     * This method doesn't do a full validation of the resulting QName.
-     * In particular, it doesn't check that the resulting namespace URI
-     * is a legal URI (per RFC 2396 and RFC 2732), nor that the resulting
-     * local part is a legal NCName per the XML Namespaces specification.
-     *
-     * @param s the string to be parsed
-     * @throws java.lang.IllegalArgumentException If the specified String cannot be parsed as a QName
-     * @return QName corresponding to the given String
-     */
-    public static QName valueOf(String s) {
-
-        if ((s == null) || s.equals("")) {
-            throw new IllegalArgumentException("invalid QName literal");
-        }
-
-        if (s.charAt(0) == '{') {
-            int i = s.indexOf('}');
-
-            if (i == -1) {
-                throw new IllegalArgumentException("invalid QName literal");
-            }
-
-            if (i == s.length() - 1) {
-                throw new IllegalArgumentException("invalid QName literal");
-            } else {
-                return new QName(s.substring(1, i), s.substring(i + 1));
-            }
-        } else {
-            return new QName(s);
-        }
-    }
-
-    /**
-     * Returns a hash code value for this QName object. The hash code
-     * is based on both the localPart and namespaceURI parts of the
-     * QName. This method satisfies the  general contract of the
-     * <code>Object.hashCode</code> method.
-     *
-     * @return a hash code value for this Qname object
-     */
-    public final int hashCode() {
-        return namespaceURI.hashCode() ^ localPart.hashCode();
-    }
-
-    /**
-     * Ensure that deserialization properly interns the results.
-     * @param in the ObjectInputStream to be read
-     */
-    private void readObject(ObjectInputStream in) throws
-            IOException, ClassNotFoundException {
-        in.defaultReadObject();
-
-        namespaceURI = namespaceURI.intern();
-        localPart = localPart.intern();
-        prefix = prefix.intern();
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/BindingContext.java b/v2/src/xmlpublic/org/apache/xmlbeans/BindingContext.java
deleted file mode 100644
index 84e1e7f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/BindingContext.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-
-import org.w3c.dom.Node;
-
-
-
-/**
- * A BindingContext contains the runtime information necessary to marshal
- * or unmarshal a set of types.
- *
- * The BindingContext is used to create Marshaller and Unmarshaller objects
- * that can be used to convert to and from java objects and xml documents.
- */
-public interface BindingContext
-{
-    /**
-     *
-     * @return Unmarshaller object
-     * @throws XmlException
-     */
-    Unmarshaller createUnmarshaller()
-        throws XmlException;
-
-    /**
-     * @deprecated options are ignored and must be passed to Unmarshaller methods
-
-     * Create an Unmarshaller object capable of unmarshalling types
-     * known by this context
-     *
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    Unmarshaller createUnmarshaller(XmlOptions options)
-        throws XmlException;
-
-    /**
-     * Create an Marshaller object capable of marshalling types
-     * known by this context
-     *
-     * @return Marshaller object
-     * @throws XmlException
-     */
-    Marshaller createMarshaller()
-        throws XmlException;
-
-    /**
-     * @deprecated options are ignored and must be passed to Marshaller methods
-     *
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    Marshaller createMarshaller(XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Create an Marshaller object capable of marshalling types
-     * known by this context
-     *
-     * @return Marshaller object
-     * @throws XmlException
-     */
-    SoapMarshaller createSoapMarshaller(EncodingStyle encodingStyle)
-        throws XmlException;
-
-
-    /**
-     * Create an Marshaller object capable of marshalling types
-     * known by this context
-     *
-     * @return Marshaller object
-     * @throws XmlException
-     */
-    SoapUnmarshaller createSoapUnmarshaller(EncodingStyle encodingStyle,
-                                            Node referenceRoot)
-        throws XmlException;
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/BindingContextFactory.java b/v2/src/xmlpublic/org/apache/xmlbeans/BindingContextFactory.java
deleted file mode 100644
index 9e6977b..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/BindingContextFactory.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-
-import java.io.IOException;
-import java.net.URI;
-import java.net.URL;
-import java.util.jar.JarInputStream;
-
-/**
- * BindingContextFactory is used to create BindingContext objects
- * from a binding configuration file.
- */
-public abstract class BindingContextFactory
-{
-  /**
-   * Create a BindingContext that only knows about builtin types
-   *
-   * @return a BindingContext object for builtin types
-   */
-  public abstract BindingContext createBindingContext();
-
-  /**
-   * Creates a BindingContext which loads tylar resources out of the
-   * given ClassLoader.
-   *
-   * @param cl the classloader on which the tylar(s) can be loaded.
-   * @throws IOException if a problem occurs while opening or parsing the
-   * contents of the tylars.
-   */
-  public abstract BindingContext createBindingContext(ClassLoader cl)
-          throws IOException, XmlException;
-
-
-  protected final static String DEFAULT_IMPL =
-          "org.apache.xmlbeans.impl.marshal.BindingContextFactoryImpl";
-
-  public static BindingContextFactory newInstance()
-  {
-    try {
-      Class default_impl = Class.forName(DEFAULT_IMPL);
-      final BindingContextFactory factory =
-              (BindingContextFactory)default_impl.newInstance();
-      return factory;
-    }
-    catch (ClassNotFoundException e) {
-      throw new XmlRuntimeException(e);
-    }
-    catch (InstantiationException e) {
-      throw new XmlRuntimeException(e);
-    }
-    catch (IllegalAccessException e) {
-      throw new XmlRuntimeException(e);
-    }
-  }
-
-
-  // ========================================================================
-  // deprecated methods
-
-  /**
-   * @deprecated
-   */
-  public abstract BindingContext createBindingContext(URI tylarUri)
-      throws IOException, XmlException;
-
-  /**
-   * @deprecated
-   */
-  public abstract BindingContext createBindingContext(URI[] tylarUris)
-      throws IOException, XmlException;
-
-  /**
-   * @deprecated
-   */
-  public abstract BindingContext createBindingContext(JarInputStream jar)
-      throws IOException, XmlException;
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/EncodingStyle.java b/v2/src/xmlpublic/org/apache/xmlbeans/EncodingStyle.java
deleted file mode 100644
index df28236..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/EncodingStyle.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-public final class EncodingStyle
-{
-    public static final EncodingStyle SOAP11 = new EncodingStyle("SOAP11");
-    public static final EncodingStyle SOAP12 = new EncodingStyle("SOAP12");
-
-    private final String myName;
-
-    private EncodingStyle(String name)
-    {
-        myName = name;
-    }
-
-    public String toString()
-    {
-        return myName;
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/FilterXmlObject.java b/v2/src/xmlpublic/org/apache/xmlbeans/FilterXmlObject.java
deleted file mode 100644
index cf8f747..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/FilterXmlObject.java
+++ /dev/null
@@ -1,694 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import java.io.InputStream;
-import java.io.Reader;
-import java.io.File;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.Writer;
-import java.math.BigInteger;
-import java.math.BigDecimal;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.List;
-
-import org.w3c.dom.Node;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.ext.LexicalHandler;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-/**
- * A FilterXmlObject delegates to some other XmlObject, which it can use as
- * its basic source of data, possibly transforming the data along the way or
- * providing additional functionality. The class FilterXmlObject itself
- * simply overrides all methods of XmlObject with versions that pass all
- * requests to the underlying XmlObject. Subclasses of FilterXmlObject may
- * further override some of these methods and may also provide additional
- * methods and fields.
- * <p>
- * Note: it is important that FilterXmlOBject has no storage (i.e., no
- * non-transient fields), because subclasses may be serializable and
- * adding storage would break the serialization format.
- */ 
-public abstract class FilterXmlObject implements XmlObject, SimpleValue
-{
-    /**
-     * This abstract method is called to obtain the underlying XmlObject.
-     * Override this method to supply or compute the wrapped object.
-     * <p>
-     * Every other method of this class delegates to the object returned
-     * from this method. It is assumed that the object implements all the
-     * methods of both XmlObject and SimpleValue.
-     */ 
-    public abstract XmlObject underlyingXmlObject();
-
-    public SchemaType schemaType()
-    {
-        return underlyingXmlObject().schemaType();
-    }
-
-    public boolean validate()
-    {
-        return underlyingXmlObject().validate();
-    }
-
-    public boolean validate(XmlOptions options)
-    {
-        return underlyingXmlObject().validate(options);
-    }
-
-    public XmlObject[] selectPath(String path)
-    {
-        return underlyingXmlObject().selectPath(path);
-    }
-
-    public XmlObject[] selectPath(String path, XmlOptions options)
-    {
-        return underlyingXmlObject().selectPath(path, options);
-    }
-
-    public XmlObject[] execQuery(String query)
-    {
-        return underlyingXmlObject().execQuery(query);
-    }
-
-    public XmlObject[] execQuery(String query, XmlOptions options)
-    {
-        return underlyingXmlObject().execQuery(query, options);
-    }
-
-    public XmlObject changeType(SchemaType newType)
-    {
-        return underlyingXmlObject().changeType(newType);
-    }
-
-    public boolean isNil()
-    {
-        return underlyingXmlObject().isNil();
-    }
-
-    public void setNil()
-    {
-        underlyingXmlObject().setNil();
-    }
-
-    public boolean isImmutable()
-    {
-        return underlyingXmlObject().isImmutable();
-    }
-
-    public XmlObject set(XmlObject srcObj)
-    {
-        return underlyingXmlObject().set(srcObj);
-    }
-
-    public XmlObject copy()
-    {
-        return underlyingXmlObject().copy();
-    }
-
-    public boolean valueEquals(XmlObject obj)
-    {
-        return underlyingXmlObject().valueEquals(obj);
-    }
-
-    public int valueHashCode()
-    {
-        return underlyingXmlObject().valueHashCode();
-    }
-
-    public int compareTo(Object obj)
-    {
-        return underlyingXmlObject().compareTo(obj);
-    }
-
-    public int compareValue(XmlObject obj)
-    {
-        return underlyingXmlObject().compareValue(obj);
-    }
-
-    public Object monitor()
-    {
-        return underlyingXmlObject().monitor();
-    }
-
-    public XmlDocumentProperties documentProperties()
-    {
-        return underlyingXmlObject().documentProperties();
-    }
-
-    public XmlCursor newCursor()
-    {
-        return underlyingXmlObject().newCursor();
-    }
-
-    public XMLInputStream newXMLInputStream()
-    {
-        return underlyingXmlObject().newXMLInputStream();
-    }
-
-    public XMLStreamReader newXMLStreamReader()
-    {
-        return underlyingXmlObject().newXMLStreamReader();
-    }
-    
-    public String xmlText()
-    {
-        return underlyingXmlObject().xmlText();
-    }
-
-    public InputStream newInputStream()
-    {
-        return underlyingXmlObject().newInputStream();
-    }
-
-    public Reader newReader()
-    {
-        return underlyingXmlObject().newReader();
-    }
-
-    public Node newDomNode()
-    {
-        return underlyingXmlObject().newDomNode();
-    }
-
-    public Node getDomNode()
-    {
-        return underlyingXmlObject().getDomNode();
-    }
-
-    public void save(ContentHandler ch, LexicalHandler lh) throws SAXException
-    {
-        underlyingXmlObject().save(ch, lh);
-    }
-
-    public void save(File file) throws IOException
-    {
-        underlyingXmlObject().save(file);
-    }
-
-    public void save(OutputStream os) throws IOException
-    {
-        underlyingXmlObject().save(os);
-    }
-
-    public void save(Writer w) throws IOException
-    {
-        underlyingXmlObject().save(w);
-    }
-
-    public XMLInputStream newXMLInputStream(XmlOptions options)
-    {
-        return underlyingXmlObject().newXMLInputStream(options);
-    }
-
-    public XMLStreamReader newXMLStreamReader(XmlOptions options)
-    {
-        return underlyingXmlObject().newXMLStreamReader(options);
-    }
-    
-    public String xmlText(XmlOptions options)
-    {
-        return underlyingXmlObject().xmlText(options);
-    }
-
-    public InputStream newInputStream(XmlOptions options)
-    {
-        return underlyingXmlObject().newInputStream(options);
-    }
-
-    public Reader newReader(XmlOptions options)
-    {
-        return underlyingXmlObject().newReader(options);
-    }
-
-    public Node newDomNode(XmlOptions options)
-    {
-        return underlyingXmlObject().newDomNode(options);
-    }
-
-    public void save(ContentHandler ch, LexicalHandler lh, XmlOptions options) throws SAXException
-    {
-        underlyingXmlObject().save(ch, lh, options);
-    }
-
-    public void save(File file, XmlOptions options) throws IOException
-    {
-        underlyingXmlObject().save(file, options);
-    }
-
-    public void save(OutputStream os, XmlOptions options) throws IOException
-    {
-        underlyingXmlObject().save(os, options);
-    }
-
-    public void save(Writer w, XmlOptions options) throws IOException
-    {
-        underlyingXmlObject().save(w, options);
-    }
-
-    public SchemaType instanceType()
-    {
-        return ((SimpleValue)underlyingXmlObject()).instanceType();
-    }
-
-    public String stringValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).stringValue();
-    }
-
-    public boolean booleanValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).booleanValue();
-    }
-
-    public byte byteValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).byteValue();
-    }
-
-    public short shortValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).shortValue();
-    }
-
-    public int intValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).intValue();
-    }
-
-    public long longValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).longValue();
-    }
-
-    public BigInteger bigIntegerValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).bigIntegerValue();
-    }
-
-    public BigDecimal bigDecimalValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).bigDecimalValue();
-    }
-
-    public float floatValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).floatValue();
-    }
-
-    public double doubleValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).doubleValue();
-    }
-
-    public byte[] byteArrayValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).byteArrayValue();
-    }
-
-    public StringEnumAbstractBase enumValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).enumValue();
-    }
-
-    public Calendar calendarValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).calendarValue();
-    }
-
-    public Date dateValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).dateValue();
-    }
-
-    public GDate gDateValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).gDateValue();
-    }
-
-    public GDuration gDurationValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).gDurationValue();
-    }
-
-    public QName qNameValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).qNameValue();
-    }
-
-    public List listValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).listValue();
-    }
-
-    public List xlistValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).xlistValue();
-    }
-
-    public Object objectValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).objectValue();
-    }
-
-    public void set(String obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(boolean v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(byte v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(short v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(int v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(long v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(BigInteger obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(BigDecimal obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(float v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(double v)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(v);
-    }
-
-    public void set(byte[] obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(StringEnumAbstractBase obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(Calendar obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(Date obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(GDateSpecification obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(GDurationSpecification obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(QName obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public void set(List obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).set(obj);
-    }
-
-    public String getStringValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getStringValue();
-    }
-
-    public boolean getBooleanValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getBooleanValue();
-    }
-
-    public byte getByteValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getByteValue();
-    }
-
-    public short getShortValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getShortValue();
-    }
-
-    public int getIntValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getIntValue();
-    }
-
-    public long getLongValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getLongValue();
-    }
-
-    public BigInteger getBigIntegerValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getBigIntegerValue();
-    }
-
-    public BigDecimal getBigDecimalValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getBigDecimalValue();
-    }
-
-    public float getFloatValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getFloatValue();
-    }
-
-    public double getDoubleValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getDoubleValue();
-    }
-
-    public byte[] getByteArrayValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getByteArrayValue();
-    }
-
-    public StringEnumAbstractBase getEnumValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getEnumValue();
-    }
-
-    public Calendar getCalendarValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getCalendarValue();
-    }
-
-    public Date getDateValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getDateValue();
-    }
-
-    public GDate getGDateValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getGDateValue();
-    }
-
-    public GDuration getGDurationValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getGDurationValue();
-    }
-
-    public QName getQNameValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getQNameValue();
-    }
-
-    public List getListValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getListValue();
-    }
-
-    public List xgetListValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).xgetListValue();
-    }
-
-    public Object getObjectValue()
-    {
-        return ((SimpleValue)underlyingXmlObject()).getObjectValue();
-    }
-
-    public void setStringValue(String obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setStringValue(obj);
-    }
-
-    public void setBooleanValue(boolean v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setBooleanValue(v);
-    }
-
-    public void setByteValue(byte v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setByteValue(v);
-    }
-
-    public void setShortValue(short v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setShortValue(v);
-    }
-
-    public void setIntValue(int v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setIntValue(v);
-    }
-
-    public void setLongValue(long v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setLongValue(v);
-    }
-
-    public void setBigIntegerValue(BigInteger obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setBigIntegerValue(obj);
-    }
-
-    public void setBigDecimalValue(BigDecimal obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setBigDecimalValue(obj);
-    }
-
-    public void setFloatValue(float v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setFloatValue(v);
-    }
-
-    public void setDoubleValue(double v)
-    {
-        ((SimpleValue)underlyingXmlObject()).setDoubleValue(v);
-    }
-
-    public void setByteArrayValue(byte[] obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setByteArrayValue(obj);
-    }
-
-    public void setEnumValue(StringEnumAbstractBase obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setEnumValue(obj);
-    }
-
-    public void setCalendarValue(Calendar obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setCalendarValue(obj);
-    }
-
-    public void setDateValue(Date obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setDateValue(obj);
-    }
-
-    public void setGDateValue(GDate obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setGDateValue(obj);
-    }
-
-    public void setGDurationValue(GDuration obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setGDurationValue(obj);
-    }
-
-    public void setQNameValue(QName obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setQNameValue(obj);
-    }
-
-    public void setListValue(List obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setListValue(obj);
-    }
-
-    public void setObjectValue(Object obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).setObjectValue(obj);
-    }
-
-    public void objectSet(Object obj)
-    {
-        ((SimpleValue)underlyingXmlObject()).objectSet(obj);
-    }
-
-    public XmlObject[] selectChildren(QName elementName)
-    {
-        return underlyingXmlObject().selectChildren(elementName);
-    }
-
-    public XmlObject[] selectChildren(String elementUri, String elementLocalName)
-    {
-        return underlyingXmlObject().selectChildren(elementUri, elementLocalName);
-    }
-
-    public XmlObject[] selectChildren(QNameSet elementNameSet)
-    {
-        return underlyingXmlObject().selectChildren(elementNameSet);
-    }
-
-    public XmlObject selectAttribute(QName attributeName)
-    {
-        return underlyingXmlObject().selectAttribute(attributeName);
-    }
-
-    public XmlObject selectAttribute(String attributeUri, String attributeLocalName)
-    {
-        return underlyingXmlObject().selectAttribute(attributeUri, attributeLocalName);
-    }
-
-    public XmlObject[] selectAttributes(QNameSet attributeNameSet)
-    {
-        return underlyingXmlObject().selectAttributes(attributeNameSet);
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDate.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDate.java
deleted file mode 100644
index 57f9620..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDate.java
+++ /dev/null
@@ -1,1063 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.GregorianCalendar;
-import java.util.TimeZone;
-
-/**
- * Represents an XML Schema-compatible Gregorian date.
- * <p>
- * There are many date types in XML Schema, and this type
- * represents the natural union of all those types.  A GDate
- * can hold any subset of date fields (Year, Month, Day, Time,
- * Timezone, or some combination). Wherever the specification
- * provides guidance, the guidelines in the
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/">XML Schema 1.0 specification</a>
- * (plus <a target="_blank" href="http://www.w3.org/2001/05/xmlschema-errata">published errata</a>) are followed.
- * <p>
- * Instances may separately have values or no values for
- * the year, month, day-of-month, and time-of-day. Not all
- * operations are meaningful on all combinations.
- */
-public final class GDate implements GDateSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    // for fast equality comparison, hashing, and serialization
-    private transient String _canonicalString;
-    private transient String _string;
-
-    private int _bits;
-    private int _CY;
-    private int _M;
-    private int _D;
-    private int _h;
-    private int _m;
-    private int _s;
-    private BigDecimal _fs;
-    private int _tzsign;
-    private int _tzh;
-    private int _tzm;
-    
-    
-    /* package */ static final BigDecimal _zero = BigDecimal.valueOf(0);
-    /* package */ static final BigDecimal _one = BigDecimal.valueOf(1);
-
-    /**
-     * Constructs a GDate based on a lexical representation.
-     */
-    public GDate(CharSequence string)
-    {
-        // first trim XML whitespace
-        int len = string.length();
-        int start = 0;
-        while (len > 0 && isSpace(string.charAt(len - 1)))
-            len -= 1;
-        while (start < len && isSpace(string.charAt(start)))
-            start += 1;
-
-        // pick optional timezone off the end
-        if (len - start >= 1 && string.charAt(len - 1) == 'Z')
-        {
-            _bits |= HAS_TIMEZONE;
-            len -= 1;
-        }
-        else if (len - start >= 6)
-        timezone: {
-            int tzsign;
-            int tzhour;
-            int tzminute;
-
-            if (string.charAt(len - 3) != ':')
-                break timezone;
-
-            switch (string.charAt(len - 6))
-            {
-                case '-':
-                    tzsign = -1; break;
-                case '+':
-                    tzsign = 1; break;
-                default:
-                    break timezone;
-            }
-
-            tzhour = twoDigit(string, len - 5);
-            tzminute = twoDigit(string, len - 2);
-            if (tzhour > 14)
-                throw new IllegalArgumentException("time zone hour must be two digits between -14 and +14");
-            if (tzminute > 59)
-                throw new IllegalArgumentException("time zone minute must be two digits between 00 and 59");
-            _bits |= HAS_TIMEZONE;
-            _tzsign = tzsign;
-            _tzh = tzhour;
-            _tzm = tzminute;
-            len -= 6;
-        }
-
-        // pick date fields off the beginning if it doesn't look like a time
-        if (start < len && (start + 2 >= len || string.charAt(start + 2) != ':'))
-        scandate:
-        {
-            // parse year sign
-            boolean negyear = false;
-            if (start < len && string.charAt(start) == '-')
-            {
-                negyear = true;
-                start += 1;
-            }
-
-            // scan year digits
-            int value = 0;
-            int digits = -start;
-            char ch;
-            for (;;)
-            {
-                ch = start < len ? string.charAt(start) : '\0';
-                if (!isDigit(ch))
-                    break;
-                value = value * 10 + digitVal(ch);
-                start += 1;
-            }
-            digits += start;
-            if (digits > 6)
-                throw new IllegalArgumentException("year too long (up to 6 digits)");
-            else if (digits >= 4)
-            {
-                _bits |= HAS_YEAR;
-                _CY =  negyear ? -value : value;
-            }
-            else if (digits > 0)
-                throw new IllegalArgumentException("year must be four digits (may pad with zeroes, e.g., 0560)");
-
-            // hyphen introduces a month
-            if (ch != '-')
-            {
-                if (negyear && !hasYear())
-                    throw new IllegalArgumentException(); // a single minus
-                else
-                    break scandate;
-            }
-            start += 1;
-
-            // two-digit month
-            if (len - start >= 2)
-            {
-                value = twoDigit(string, start);
-                if (value >= 1 && value <= 12)
-                {
-                    _bits |= HAS_MONTH;
-                    _M = value;
-                    start += 2;
-                }
-            }
-
-            // hyphen introduces a day
-            ch = start < len ? string.charAt(start) : '\0';
-            if (ch != '-')
-            {
-                if (!hasMonth())
-                    throw new IllegalArgumentException(); // minus after a year
-                else
-                    break scandate;
-            }
-            start += 1;
-
-            // two-digit day
-            if (len - start >= 2)
-            {
-                value = twoDigit(string, start);
-                if (value >= 1 && value <= 31)
-                {
-                    _bits |= HAS_DAY;
-                    _D = value;
-                    start += 2;
-                }
-            }
-
-            if (!hasDay())
-            {
-                // error in the original schema spec permits an extra '-' here
-                if (hasMonth() && !hasYear())
-                {
-                    ch = start < len ? string.charAt(start) : '\0';
-                    if (ch == '-')
-                    {
-                        start += 1;
-                        break scandate;
-                    }
-                }
-                throw new IllegalArgumentException(); // minus after a month
-            }
-        }
-
-        // time
-        if (start < len)
-        {
-            if (hasYear() || hasMonth() || hasDay())
-            {
-                if (string.charAt(start) != 'T')
-                   throw new IllegalArgumentException("date and time must be separated by 'T'");
-                start += 1;
-            }
-
-            if (len < start + 8 || string.charAt(start + 2) != ':' || string.charAt(start + 5) != ':')
-                throw new IllegalArgumentException();
-
-            int h = twoDigit(string, start);
-            if (h >= 24)
-                throw new IllegalArgumentException("hour must be between 00 and 23");
-            int m = twoDigit(string, start + 3);
-            if (m >= 60)
-                throw new IllegalArgumentException("minute must be between 00 and 59");
-            int s = twoDigit(string, start + 6);
-            if (s >= 60)
-                throw new IllegalArgumentException("second must be between 00 and 59");
-
-            start += 8;
-
-            BigDecimal fs = _zero;
-            if (start < len)
-            {
-                if (string.charAt(start) != '.')
-                    throw new IllegalArgumentException();
-                if (start + 1 < len)
-                {
-                    for (int i = start + 1; i < len; i++)
-                    {
-                        if (!isDigit(string.charAt(i)))
-                            throw new IllegalArgumentException();
-                    }
-                    try
-                    {
-                        fs = new BigDecimal(string.subSequence(start, len).toString());
-                    }
-                    catch (Throwable e)
-                    {
-                        throw new IllegalArgumentException();
-                    }
-                }
-            }
-
-            _bits |= HAS_TIME;
-            _h = h;
-            _m = m;
-            _s = s;
-            _fs = fs;
-        }
-
-        if (!isValid())
-            throw new IllegalArgumentException("invalid date");
-    }
-
-    /**
-     * Constructs a GDate with the specified year, month, day,
-     * hours, minutes, seconds, and optional fractional seconds, in
-     * an unspecified timezone.
-     * <p>
-     * Note that by not specifying the timezone the GDate
-     * becomes partially unordered with respect to times that
-     * do have a specified timezone.
-     */
-    public GDate(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction)
-    {
-        _bits = HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME;
-
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? _zero : fraction;
-
-        if (!isValid())
-            throw new IllegalArgumentException();
-    }
-
-    /**
-     * Constructs an absolute GDate with the specified year,
-     * month, day, hours, minutes, seconds, and optional fractional
-     * seconds, and in the timezone specified.
-     * <p>
-     * If you wish to have a time or date that isn't in a specified timezone,
-     * then use the constructor that does not include the timezone arguments.
-     */
-    public GDate(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction,
-            int tzSign,
-            int tzHour,
-            int tzMinute)
-    {
-        _bits = HAS_TIMEZONE | HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME;
-
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? _zero : fraction;
-        _tzsign = tzSign;
-        _tzh = tzHour;
-        _tzm = tzMinute;
-
-        if (!isValid())
-            throw new IllegalArgumentException();
-    }
-
-    /**
-     * Constructs a GDate based on a java.util.Date.
-     * <p>
-     * The current offset of the default timezone is used as the timezone.
-     * <p>
-     * For example, if eastern daylight time is in effect at the given
-     * date, the timezone on the east coast of the united states
-     * translates to GMT-05:00 (EST) + 1:00 (DT offset) == GMT-04:00.
-     */
-    public GDate(Date date)
-    {
-        // requires some date math, so ctor lives on GDateBuilder
-        this(new GDateBuilder(date));
-    }
-
-    /**
-     * Constructs a GDate based on a java.util.Calendar.
-     * <p>
-     * If the calendar does not have some fields set, the same absence
-     * of information is reflected in the GDate.  Note that
-     * java.util.GregorianCalendar fills in all fields as soon as any
-     * are fetched, so constructing a GDate with the same calendar object
-     * twice may result in a different GDate because of a changed calendar.
-     * Note that org.apache.xmlbeans.XmlCalendar is stable if you re-get a set field,
-     * so it does not have the same problem.
-     */
-    public GDate(Calendar calendar)
-    {
-        // we must scrape the "isSet" information out before accessing anything
-        boolean isSetYear = calendar.isSet(Calendar.YEAR);
-        boolean isSetEra = calendar.isSet(Calendar.ERA);
-        boolean isSetMonth = calendar.isSet(Calendar.MONTH);
-        boolean isSetDay = calendar.isSet(Calendar.DAY_OF_MONTH);
-        boolean isSetHourOfDay = calendar.isSet(Calendar.HOUR_OF_DAY);
-        boolean isSetHour = calendar.isSet(Calendar.HOUR);
-        boolean isSetAmPm = calendar.isSet(Calendar.AM_PM);
-        boolean isSetMinute = calendar.isSet(Calendar.MINUTE);
-        boolean isSetSecond = calendar.isSet(Calendar.SECOND);
-        boolean isSetMillis = calendar.isSet(Calendar.MILLISECOND);
-        boolean isSetZone = calendar.isSet(Calendar.ZONE_OFFSET);
-        boolean isSetDst = calendar.isSet(Calendar.DST_OFFSET);
-
-        if (isSetYear)
-        {
-            int y = calendar.get(Calendar.YEAR);
-            if (isSetEra && calendar instanceof GregorianCalendar)
-                if (calendar.get(Calendar.ERA) == GregorianCalendar.BC)
-                    y = 1 - y;
-            _bits |= HAS_YEAR;
-            _CY = y;
-        }
-        if (isSetMonth)
-        {
-            _bits |= HAS_MONTH;
-            _M = calendar.get(Calendar.MONTH) + 1; // !!note
-        }
-        if (isSetDay)
-        {
-            _bits |= HAS_DAY;
-            _D = calendar.get(Calendar.DAY_OF_MONTH);
-        }
-        boolean gotTime = false;
-
-        int h = 0;
-        int m = 0;
-        int s = 0;
-        BigDecimal fs = _zero;
-
-        if (isSetHourOfDay)
-        {
-            h = calendar.get(Calendar.HOUR_OF_DAY);
-            gotTime = true;
-        }
-        else if (isSetHour && isSetAmPm)
-        {
-            h = calendar.get(Calendar.HOUR) + calendar.get(Calendar.AM_PM) * 12;
-            gotTime = true;
-        }
-
-        if (isSetMinute)
-        {
-            m = calendar.get(Calendar.MINUTE);
-            gotTime = true;
-        }
-
-        if (isSetSecond)
-        {
-            s = calendar.get(Calendar.SECOND);
-            gotTime = true;
-        }
-
-        if (isSetMillis)
-        {
-            fs = BigDecimal.valueOf(calendar.get(Calendar.MILLISECOND), 3);
-            gotTime = true;
-        }
-
-        if (gotTime)
-        {
-            _bits |= HAS_TIME;
-            _h = h;
-            _m = m;
-            _s = s;
-            _fs = fs;
-        }
-
-        if (isSetZone)
-        {
-            int zoneOffsetInMilliseconds = calendar.get(Calendar.ZONE_OFFSET);
-            if (isSetDst)
-                zoneOffsetInMilliseconds += calendar.get(Calendar.DST_OFFSET);
-
-            _bits |= HAS_TIMEZONE;
-            if (zoneOffsetInMilliseconds == 0)
-            {
-                _tzsign = 0;
-                _tzh = 0;
-                _tzm = 0;
-                TimeZone zone = calendar.getTimeZone();
-                String id = zone.getID();
-                if (id != null && id.length() > 3) switch (id.charAt(3))
-                {
-                    case '+': _tzsign = 1; break;   // GMT+00:00
-                    case '-': _tzsign = -1; break;  // GMT-00:00
-                }
-            }
-            else
-            {
-                _tzsign = (zoneOffsetInMilliseconds < 0 ? -1 : +1);
-                zoneOffsetInMilliseconds = zoneOffsetInMilliseconds * _tzsign;
-                _tzh = zoneOffsetInMilliseconds / 3600000;
-                _tzm = (zoneOffsetInMilliseconds - _tzh * 3600000) / 60000;
-            }
-        }
-    }
-
-    /**
-     * Constructs a GDate based on another GDateSpecification.
-     */
-    public GDate(GDateSpecification gdate)
-    {
-        if (gdate.hasTimeZone())
-        {
-            _bits |= HAS_TIMEZONE;
-            _tzsign = gdate.getTimeZoneSign();
-            _tzh = gdate.getTimeZoneHour();
-            _tzm = gdate.getTimeZoneMinute();
-        }
-
-        if (gdate.hasTime())
-        {
-            _bits |= HAS_TIME;
-            _h = gdate.getHour();
-            _m = gdate.getMinute();
-            _s = gdate.getSecond();
-            _fs = gdate.getFraction();
-        }
-
-        if (gdate.hasDay())
-        {
-            _bits |= HAS_DAY;
-            _D = gdate.getDay();
-        }
-
-        if (gdate.hasMonth())
-        {
-            _bits |= HAS_MONTH;
-            _M = gdate.getMonth();
-        }
-
-        if (gdate.hasYear())
-        {
-            _bits |= HAS_YEAR;
-            _CY = gdate.getYear();
-        }
-    }
-
-    /* package */ static final boolean isDigit(char ch)
-    {
-        return ((char)(ch - '0') <= '9' - '0'); // char is unsigned
-    }
-
-    /* package */ static final boolean isSpace(char ch)
-    {
-        switch (ch)
-        {
-            case ' ':
-            case '\t':
-            case '\r':
-            case '\n':
-                return true;
-            default:
-                return false;
-        }
-    }
-
-    /* package */ static final int digitVal(char ch)
-    {
-        return (ch - '0');
-    }
-
-    private static final int twoDigit(CharSequence str, int index)
-    {
-        char ch1 = str.charAt(index);
-        char ch2 = str.charAt(index + 1);
-        if (!isDigit(ch1) || !isDigit(ch2))
-            return 100; // not two digits
-        return digitVal(ch1) * 10 + digitVal(ch2);
-    }
-
-    /**
-     * Returns true: all GDate instances are immutable.
-     */
-    public final boolean isImmutable()
-    {
-        return true;
-    }
-
-    /**
-     * Returns a combination of flags indicating the information
-     * contained by this GDate.  The five flags are
-     * HAS_TIMEZONE, HAS_YEAR, HAS_MONTH, HAS_DAY, and HAS_TIME.
-     */
-    public int getFlags()
-    {
-        return _bits;
-    }
-
-    /**
-     * True if this date/time specification specifies a timezone.
-     */
-    public final boolean hasTimeZone()
-        { return ((_bits & HAS_TIMEZONE) != 0); }
-
-    /**
-     * True if this date/time specification specifies a year.
-     */
-    public final boolean hasYear()
-        { return ((_bits & HAS_YEAR) != 0); }
-
-    /**
-     * True if this date/time specification specifies a month-of-year.
-     */
-    public final boolean hasMonth()
-        { return ((_bits & HAS_MONTH) != 0); }
-
-    /**
-     * True if this date/time specification specifies a day-of-month.
-     */
-    public final boolean hasDay()
-        { return ((_bits & HAS_DAY) != 0); }
-
-    /**
-     * True if this date/time specification specifies a time-of-day.
-     */
-    public final boolean hasTime()
-        { return ((_bits & HAS_TIME) != 0); }
-
-    /**
-     * True if this date/time specification specifies a full date (year, month, day)
-     */
-    public final boolean hasDate()
-        { return ((_bits & (HAS_DAY | HAS_MONTH | HAS_YEAR)) == (HAS_DAY | HAS_MONTH | HAS_YEAR)); }
-
-    /**
-     * Gets the year. Should be a four-digit year specification.
-     */
-    public final int getYear()
-        { return _CY;  }
-
-    /**
-     * Gets the month-of-year. January is 1.
-     */
-    public final int getMonth()
-        { return _M;  }
-
-    /**
-     * Gets the day-of-month. The first day of each month is 1.
-     */
-    public final int getDay()
-        { return _D; }
-
-    /**
-     * Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-     */
-    public final int getHour()
-        { return _h; }
-
-    /**
-     * Gets the minute-of-hour. Range from 0 to 59.
-     */
-    public final int getMinute()
-        { return _m; }
-
-    /**
-     * Gets the second-of-minute. Range from 0 to 59.
-     */
-    public final int getSecond()
-        { return _s; }
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    public final BigDecimal getFraction()
-        { return _fs; }
-
-    /**
-     * Gets the time zone sign. For time zones east of GMT,
-     * this is positive; for time zones west, this is negative.
-     */
-    public final int getTimeZoneSign()
-        { return _tzsign; }
-
-    /**
-     * Gets the time zone hour.
-     *
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    public final int getTimeZoneHour()
-        { return _tzh; }
-
-    /**
-     * Gets the time zone minutes.
-     *
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    public final int getTimeZoneMinute()
-        { return _tzm; }
-
-    /**
-     * Gets the rounded millisecond value. Range from 0 to 999
-     */
-    public int getMillisecond()
-    {
-        if (_fs == null)
-            return 0;
-        return _fs.setScale(3, BigDecimal.ROUND_HALF_UP).unscaledValue().intValue();
-    }
-
-    /**
-     * The canonical string representation. Specific moments or
-     * times-of-day in a specified timezone are normalized to
-     * UTC time to produce a canonical string form for them.
-     * Other recurring time specifications keep their timezone
-     * information.
-     */
-    public String canonicalString()
-    {
-        ensureCanonicalString();
-        return _canonicalString;
-    }
-
-    /**
-     * True if this GDate corresponds to a valid gregorian date value
-     * in XML schema.
-     */
-    public boolean isValid()
-    {
-        return GDateBuilder.isValidGDate(this);
-    }
-
-    /**
-     * Returns the Julian date corresponding to this Gregorian date.
-     * The Julian date (JD) is a continuous count of days from
-     * 1 January 4713 BC (= -4712 January 1).
-     */
-    public int getJulianDate()
-    {
-        return GDateBuilder.julianDateForGDate(this);
-    }
-
-    /**
-     * Retrieves the value of the current time as an {@link XmlCalendar}.
-     * <p>
-     * {@link XmlCalendar} is a subclass of {@link java.util.GregorianCalendar}
-     * which is slightly customized to match XML schema date rules.
-     * <p>
-     * The returned {@link XmlCalendar} has only those time and date fields
-     * set that are reflected in the GDate object.  Because of the way the
-     * {@link java.util.Calendar} contract works, any information in the isSet() vanishes
-     * as soon as you view any unset field using get() methods.
-     * This means that if it is important to understand which date fields
-     * are set, you must call isSet() first before get().
-     */
-    public XmlCalendar getCalendar()
-    {
-        return new XmlCalendar(this);
-    }
-
-
-    /**
-     * Retrieves the value of the current time as a java.util.Date
-     * instance.
-     */
-    public Date getDate()
-    {
-        return GDateBuilder.dateForGDate(this);
-    }
-
-    /**
-     * Comparison to another GDate.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     */
-    public int compareToGDate(GDateSpecification datespec)
-    {
-        return GDateBuilder.compareGDate(this, datespec);
-    }
-
-    /**
-     * Returns the builtin type code for the shape of the information
-     * contained in this instance, or 0 if the
-     * instance doesn't contain information corresponding to a
-     * Schema type.
-     * <p> 
-     * Value will be equal to
-     * {@link SchemaType#BTC_NOT_BUILTIN},
-     * {@link SchemaType#BTC_G_YEAR},
-     * {@link SchemaType#BTC_G_YEAR_MONTH},
-     * {@link SchemaType#BTC_G_MONTH},
-     * {@link SchemaType#BTC_G_MONTH_DAY},
-     * {@link SchemaType#BTC_G_DAY},
-     * {@link SchemaType#BTC_DATE},
-     * {@link SchemaType#BTC_DATE_TIME}, or
-     * {@link SchemaType#BTC_TIME}.
-     */
-    public int getBuiltinTypeCode()
-    {
-        return GDateBuilder.btcForFlags(_bits);
-    }
-
-    /**
-     * Adds a duration to this GDate, and returns a new GDate.
-     */
-    public GDate add(GDurationSpecification duration)
-    {
-        GDateBuilder builder = new GDateBuilder(this);
-        builder.addGDuration(duration);
-        return builder.toGDate();
-    }
-
-    /**
-     * Adds a duration to this GDate, and returns a new GDate.
-     */
-    public GDate subtract(GDurationSpecification duration)
-    {
-        GDateBuilder builder = new GDateBuilder(this);
-        builder.subtractGDuration(duration);
-        return builder.toGDate();
-    }
-
-    /**
-     * GDate is an immutable class, and equality is computed based
-     * on its canonical value.
-     */
-    public boolean equals(Object obj)
-    {
-        if (obj == this)
-            return true;
-        if (!(obj instanceof GDate))
-            return false;
-
-        ensureCanonicalString();
-        return _canonicalString.equals(((GDate)obj).canonicalString());
-    }
-
-    /**
-     * Returns a hash code for this GDate.
-     */
-    public int hashCode()
-    {
-        ensureCanonicalString();
-        return _canonicalString.hashCode();
-    }
-
-    /**
-     * The canonical string representation. Specific moments or
-     * times-of-day in a specified timezone are normalized to
-     * UTC time to produce a canonical string form for them.
-     * Other recurring time specifications keep their timezone
-     * information.
-     */
-    private void ensureCanonicalString()
-    {
-        if (_canonicalString != null)
-            return;
-
-        boolean needNormalize =
-            (hasTimeZone() && getTimeZoneSign() != 0 && hasTime() &&
-            ((hasDay() == hasMonth() && hasDay() == hasYear())));
-
-        if (!needNormalize && getFraction() != null && getFraction().scale() > 0)
-        {
-            BigInteger bi = getFraction().unscaledValue();
-            needNormalize = (bi.mod(GDateBuilder.TEN).signum() == 0);
-        }
-
-        if (!needNormalize)
-            _canonicalString = toString();
-        else
-        {
-            GDateBuilder gdb = new GDateBuilder(this);
-            gdb.normalize();
-            _canonicalString = gdb.toString();
-        }
-    }
-
-    /**
-     * The natural string representation. This represents the information
-     * that is available, including timezone. For types that correspond
-     * to defined schema types (schemaBuiltinTypeCode() > 0),
-     * this provides the natural lexical representation.
-     * <p>
-     * When both time and timezone are specified, this string is not
-     * the canonical representation unless the timezone is UTC (Z)
-     * (since the same moment in time can be expressed in different
-     * timezones). To get a canonical string, use the canonicalString()
-     * method.
-     */
-    public String toString()
-    {
-        if (_string == null)
-            _string = formatGDate(this);
-        return _string;
-    }
-
-    private final static char[] _tensDigit =
-    {
-        '0', '0', '0', '0', '0', '0', '0', '0', '0', '0',
-        '1', '1', '1', '1', '1', '1', '1', '1', '1', '1',
-        '2', '2', '2', '2', '2', '2', '2', '2', '2', '2',
-        '3', '3', '3', '3', '3', '3', '3', '3', '3', '3',
-        '4', '4', '4', '4', '4', '4', '4', '4', '4', '4',
-        '5', '5', '5', '5', '5', '5', '5', '5', '5', '5',
-        '6', '6', '6', '6', '6', '6', '6', '6', '6', '6',
-        '7', '7', '7', '7', '7', '7', '7', '7', '7', '7',
-        '8', '8', '8', '8', '8', '8', '8', '8', '8', '8',
-        '9', '9', '9', '9', '9', '9', '9', '9', '9', '9',
-    };
-    private final static char[] _onesDigit =
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-    };
-
-    private static final int _padTwoAppend(char[] b, int i, int n)
-    {
-        assert(n >= 0 && n < 100);
-        b[i] = _tensDigit[n];
-        b[i + 1] = _onesDigit[n];
-        return i + 2;
-    }
-
-    private static final int _padFourAppend(char[] b, int i, int n)
-    {
-        if (n < 0)
-        {
-            b[i++] = '-';
-            n = -n;
-        }
-        if (n >= 10000)
-        {
-            String s = Integer.toString(n);
-            s.getChars(0, s.length(), b, i);
-            return i + s.length();
-        }
-        int q = n / 100;
-        int r = n - q * 100;
-        b[i] = _tensDigit[q];
-        b[i + 1] = _onesDigit[q];
-        b[i + 2] = _tensDigit[r];
-        b[i + 3] = _onesDigit[r];
-        return i + 4;
-    }
-    
-    private static final TimeZone GMTZONE = TimeZone.getTimeZone("GMT");
-    private static final TimeZone[] MINUSZONE =
-            {
-                TimeZone.getTimeZone("GMT-00:00"),
-                TimeZone.getTimeZone("GMT-01:00"),
-                TimeZone.getTimeZone("GMT-02:00"),
-                TimeZone.getTimeZone("GMT-03:00"),
-                TimeZone.getTimeZone("GMT-04:00"),
-                TimeZone.getTimeZone("GMT-05:00"),
-                TimeZone.getTimeZone("GMT-06:00"),
-                TimeZone.getTimeZone("GMT-07:00"),
-                TimeZone.getTimeZone("GMT-08:00"),
-                TimeZone.getTimeZone("GMT-09:00"),
-                TimeZone.getTimeZone("GMT-10:00"),
-                TimeZone.getTimeZone("GMT-11:00"),
-                TimeZone.getTimeZone("GMT-12:00"),
-                TimeZone.getTimeZone("GMT-13:00"),
-                TimeZone.getTimeZone("GMT-14:00"),
-            };
-    private static final TimeZone[] PLUSZONE =
-            {
-                TimeZone.getTimeZone("GMT+00:00"),
-                TimeZone.getTimeZone("GMT+01:00"),
-                TimeZone.getTimeZone("GMT+02:00"),
-                TimeZone.getTimeZone("GMT+03:00"),
-                TimeZone.getTimeZone("GMT+04:00"),
-                TimeZone.getTimeZone("GMT+05:00"),
-                TimeZone.getTimeZone("GMT+06:00"),
-                TimeZone.getTimeZone("GMT+07:00"),
-                TimeZone.getTimeZone("GMT+08:00"),
-                TimeZone.getTimeZone("GMT+09:00"),
-                TimeZone.getTimeZone("GMT+10:00"),
-                TimeZone.getTimeZone("GMT+11:00"),
-                TimeZone.getTimeZone("GMT+12:00"),
-                TimeZone.getTimeZone("GMT+13:00"),
-                TimeZone.getTimeZone("GMT+14:00"),
-            };
-
-    /* package */ static final TimeZone timeZoneForGDate(GDateSpecification date)
-    {
-        // use a cached timezone if integral; otherwise make a new one.
-        if (!date.hasTimeZone())
-            return TimeZone.getDefault();
-        if (date.getTimeZoneSign() == 0)
-            return GMTZONE;
-        if (date.getTimeZoneMinute() == 0 && date.getTimeZoneHour() <= 14 && date.getTimeZoneHour() >= 0)
-            return date.getTimeZoneSign() < 0 ? MINUSZONE[date.getTimeZoneHour()] : PLUSZONE[date.getTimeZoneHour()];
-        
-        char[] zb = new char[9];
-        zb[0] = 'G';
-        zb[1] = 'M';
-        zb[2] = 'T';
-        zb[3] = (date.getTimeZoneSign() < 0) ? '-' : '+';
-        GDate._padTwoAppend(zb, 4, date.getTimeZoneHour());
-        zb[6] = ':';
-        GDate._padTwoAppend(zb, 7, date.getTimeZoneMinute());
-        return TimeZone.getTimeZone(new String(zb));
-    }
-    
-    /* package */ static String formatGDate(GDateSpecification spec)
-    {
-        // We've used a char[] rather than a StringBuffer for a 4x speedup
-        // -YY(10)YY-MM-DDTHH:MM:SS.FFFFFF+ZH:ZM
-        // 1 + 10   + 3+ 3+ 3+ 3+ 3+1 + s + 3+ 3 = 33 + s
-        BigDecimal fs = spec.getFraction();
-        char[] message = new char[33 + (fs == null ? 0 : fs.scale())];
-        int i = 0;
-
-        if (spec.hasYear() || spec.hasMonth() || spec.hasDay())
-        {
-            dmy: {
-                if (spec.hasYear())
-                    i = _padFourAppend(message, 0, spec.getYear());
-                else
-                    message[i++] = '-';
-
-                if (!(spec.hasMonth() || spec.hasDay()))
-                    break dmy;
-
-                message[i++] = '-';
-                if (spec.hasMonth())
-                    i = _padTwoAppend(message, i, spec.getMonth());
-
-                if (!spec.hasDay())
-                    break dmy;
-
-                message[i++] = '-';
-                i = _padTwoAppend(message, i, spec.getDay());
-                break dmy;
-            }
-            if (spec.hasTime())
-                message[i++] = 'T';
-        }
-
-        if (spec.hasTime())
-        {
-            i = _padTwoAppend(message, i, spec.getHour());
-            message[i++] = ':';
-            i = _padTwoAppend(message, i, spec.getMinute());
-            message[i++] = ':';
-            i = _padTwoAppend(message, i, spec.getSecond());
-            if (fs != _zero) // (optimization ~3%)
-            {
-                String frac = spec.getFraction().toString();
-                int point = frac.indexOf('.');
-                if (point >= 0)
-                {
-                    frac.getChars(point, frac.length(), message, i);
-                    i += frac.length() - point;
-                }
-            }
-        }
-
-        if (spec.hasTimeZone())
-        {
-            if (spec.getTimeZoneSign() == 0)
-            {
-                message[i++] = 'Z';
-            }
-            else
-            {
-                message[i++] = spec.getTimeZoneSign() > 0 ? '+' : '-';
-                i = _padTwoAppend(message, i, spec.getTimeZoneHour());
-                message[i++] = ':';
-                i = _padTwoAppend(message, i, spec.getTimeZoneMinute());
-            }
-        }
-
-        // it would be nice to use (0, i, message) ctor instead
-        return new String(message, 0, i);
-    }
-
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDateBuilder.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDateBuilder.java
deleted file mode 100644
index f564c80..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDateBuilder.java
+++ /dev/null
@@ -1,1456 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.TimeZone;
-
-/**
- * Used to build {@link GDate GDates}.
- * <p>
- * Like GDate, a GDateBuilder represents an Gregorian Date, Time,
- * and Timezone, or subset of information (Year, Month, Day,
- * Time, Timezone, or some combination). Wherever it provides
- * guidance, the XML Schema 1.0 specification (plus published
- * errata) is followed.
- * <p>
- * Instances may separately set or clear the year, month,
- * day-of-month, and time-of-day. Not all operations are
- * meaningful on all combinations. In particular, timezone
- * normalization is only possible if there is a time, or
- * a time together with a full date.
- */
-public final class GDateBuilder implements GDateSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private int _bits;
-    private int _CY;
-    private int _M;
-    private int _D;
-    private int _h;
-    private int _m;
-    private int _s;
-    private BigDecimal _fs;
-    private int _tzsign;
-    private int _tzh;
-    private int _tzm;
-
-    /**
-     * Constructs a GDateBuilder specifying no date or time
-     */
-    public GDateBuilder()
-    {
-    }
-
-    /**
-     * Builds another GDateBuilder with the same value
-     * as this one.
-     */
-    public Object clone()
-    {
-        return new GDateBuilder(this);
-    }
-
-    /**
-     * Builds a GDate from this GDateBuilder.
-     */
-    public GDate toGDate()
-    {
-        return new GDate(this);
-    }
-
-    /**
-     * Construts a GDateBuilder by copying another GDateSpecificaiton.
-     */
-    public GDateBuilder(GDateSpecification gdate)
-    {
-        if (gdate.hasTimeZone())
-            setTimeZone(gdate.getTimeZoneSign(), gdate.getTimeZoneHour(), gdate.getTimeZoneMinute());
-
-        if (gdate.hasTime())
-            setTime(gdate.getHour(), gdate.getMinute(), gdate.getSecond(), gdate.getFraction());
-
-        if (gdate.hasDay())
-            setDay(gdate.getDay());
-
-        if (gdate.hasMonth())
-            setMonth(gdate.getMonth());
-
-        if (gdate.hasYear())
-            setYear(gdate.getYear());
-    }
-
-    // Forms:
-
-    // Date part:
-    // Year:       (-?\d{4,})
-    // YearMonth:  (-?\d{4,})-(\d{2})
-    // Date:       (-?\d{4,})-(\d{2})-(\d{2})
-    // Month:      --(\d{2})(--)?              //errata R-48
-    // MonthDay:   --(\d{2})-(\d{2})
-    // Day:        ---(\d{2})
-
-    // Time part:
-    // Time:       (\d{2}):(\d{2}):(\d{2})(.\d*)?
-
-    // Timezone part:
-    // TZ:         (Z)|([+-]\d{2}):(\d{2})
-
-    /**
-     * Constructs a GDateBuilder from a lexical
-     * representation. The lexical space contains the
-     * union of the lexical spaces of all the schema
-     * date/time types (except for duration).
-     */
-    public GDateBuilder(CharSequence string)
-    {
-        this(new GDate(string));
-    }
-
-
-    public GDateBuilder(Calendar calendar)
-    {
-        this(new GDate(calendar));
-    }
-
-    /**
-     * Constructs a GDateBuilder with the specified year, month, day,
-     * hours, minutes, seconds, and optional fractional seconds, in
-     * an unspecified timezone.
-     * <p>
-     * Note that by not specifying the timezone the GDateBuilder
-     * becomes partially unordered with respect to timesthat do have a
-     * specified timezone.
-     * 
-     * @param year The year
-     * @param month The month, from 1-12
-     * @param day The day of month, from 1-31
-     * @param hour The hour of day, from 0-23
-     * @param minute The minute of hour, from 0-59
-     * @param second The second of minute, from 0-59
-     * @param fraction The fraction of second, 0.0 to 0.999... (may be null) 
-     */
-    public GDateBuilder(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction)
-    {
-        _bits = HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME;
-
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? GDate._zero : fraction;
-
-        if (!isValid())
-            throw new IllegalArgumentException();
-    }
-
-    /**
-     * Constructs an absolute GDateBuilder with the specified year,
-     * month, day, hours, minutes, seconds, and optional fractional
-     * seconds, and in the timezone specified.
-     * <p>
-     * Note that you can reexpress the GDateBuilder in any timezone using
-     * normalizeToTimeZone(). The normalize() method normalizes to UTC.
-     * <p>
-     * If you wish to have a time or date that isn't in a specified timezone,
-     * then use the constructor that does not include the timezone arguments.
-     *
-     * @param year the year
-     * @param month the month, from 1-12
-     * @param day the day of month, from 1-31
-     * @param hour the hour of day, from 0-23
-     * @param minute the minute of hour, from 0-59
-     * @param second the second of minute, from 0-59
-     * @param fraction the fraction of second, 0.0 to 0.999... (may be null)
-     * @param tzSign the timezone offset sign, either +1, 0, or -1
-     * @param tzHour the timezone offset hour
-     * @param tzMinute the timezone offset minute 
-     */
-    public GDateBuilder(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction,
-            int tzSign,
-            int tzHour,
-            int tzMinute)
-    {
-        _bits = HAS_TIMEZONE | HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME;
-
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? GDate._zero : fraction;
-        _tzsign = tzSign;
-        _tzh = tzHour;
-        _tzm = tzMinute;
-
-        if (!isValid())
-            throw new IllegalArgumentException();
-    }
-
-    /**
-     * Constructs a GDateBuilder based on a java.util.Date.
-     * <p>
-     * The current offset of the default timezone is used as the timezone.
-     * <p>
-     * For example, if eastern daylight time is in effect at the given
-     * date, the timezone on the east coast of the united states
-     * translates to GMT-05:00 (EST) + 1:00 (DT offset) == GMT-04:00.
-     * 
-     * @param date the date object to copy
-     */
-    public GDateBuilder(Date date)
-    {
-        setDate(date);
-    }
-
-    /**
-     * True if the instance is immutable.
-     */
-    public boolean isImmutable()
-    {
-        return false;
-    }
-
-    /**
-     * Returns a combination of flags indicating the information
-     * contained by this GDate.  The five flags are
-     * HAS_TIMEZONE, HAS_YEAR, HAS_MONTH, HAS_DAY, and HAS_TIME.
-     */
-    public int getFlags()
-    {
-        return _bits;
-    }
-
-    /**
-     * True if this date/time specification specifies a timezone.
-     */
-    public final boolean hasTimeZone()
-        { return ((_bits & HAS_TIMEZONE) != 0); }
-
-    /**
-     * True if this date/time specification specifies a year.
-     */
-    public final boolean hasYear()
-        { return ((_bits & HAS_YEAR) != 0); }
-
-    /**
-     * True if this date/time specification specifies a month-of-year.
-     */
-    public final boolean hasMonth()
-        { return ((_bits & HAS_MONTH) != 0); }
-
-    /**
-     * True if this date/time specification specifies a day-of-month.
-     */
-    public final boolean hasDay()
-        { return ((_bits & HAS_DAY) != 0); }
-
-    /**
-     * True if this date/time specification specifies a time-of-day.
-     */
-    public final boolean hasTime()
-        { return ((_bits & HAS_TIME) != 0); }
-
-    /**
-     * True if this date/time specification specifies a full date (year, month, day)
-     */
-    public final boolean hasDate()
-        { return ((_bits & (HAS_DAY | HAS_MONTH | HAS_YEAR)) == (HAS_DAY | HAS_MONTH | HAS_YEAR)); }
-
-    /**
-     * Gets the year. Should be a four-digit year specification.
-     */
-    public final int getYear()
-        { return _CY;  }
-
-    /**
-     * Gets the month-of-year. January is 1.
-     */
-    public final int getMonth()
-        { return _M;  }
-
-    /**
-     * Gets the day-of-month. The first day of each month is 1.
-     */
-    public final int getDay()
-        { return _D; }
-
-    /**
-     * Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-     */
-    public final int getHour()
-        { return _h; }
-
-    /**
-     * Gets the minute-of-hour. Range from 0 to 59.
-     */
-    public final int getMinute()
-        { return _m; }
-
-    /**
-     * Gets the second-of-minute. Range from 0 to 59.
-     */
-    public final int getSecond()
-        { return _s; }
-
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    public final BigDecimal getFraction()
-        { return _fs; }
-
-
-    /**
-     * Gets the rounded millisecond value. Range from 0 to 999
-     */
-    public final int getMillisecond()
-    {
-        if (_fs == null || _fs == GDate._zero)
-            return 0;
-        return _fs.setScale(3, BigDecimal.ROUND_HALF_UP).unscaledValue().intValue();
-    }
-
-    /**
-     * Gets the time zone sign. For time zones east of GMT,
-     * this is positive; for time zones west, this is negative.
-     */
-    public final int getTimeZoneSign()
-        { return _tzsign; }
-
-    /**
-     * Gets the time zone hour.
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    public final int getTimeZoneHour()
-        { return _tzh; }
-
-    /**
-     * Gets the time zone minutes.
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    public final int getTimeZoneMinute()
-        { return _tzm; }
-
-    /**
-     * Sets the year. Should be a four-digit year specification.
-     * @param year the year
-     */
-    public void setYear(int year)
-    {
-        if (year < -4712 || year > 999999)
-            throw new IllegalArgumentException("year out of range");
-        _bits |= HAS_YEAR; _CY = year;
-    }
-
-    /**
-     * Sets the month-of-year. January is 1.
-     * @param month the month, from 1-12
-     */
-    public void setMonth(int month)
-    {
-        if (month < 1 || month > 12)
-            throw new IllegalArgumentException("month out of range");
-        _bits |= HAS_MONTH; _M = month;
-    }
-
-    /**
-     * Sets the day-of-month. The first day of each month is 1.
-     * @param day the day of month, from 1-31
-     */
-    public void setDay(int day)
-    {
-        if (day < 1 || day > 31)
-            throw new IllegalArgumentException("day out of range");
-        _bits |= HAS_DAY; _D = day;
-    }
-
-    /**
-     * Sets the time. Hours in the day range from 0 to 23;
-     * minutes and seconds range from 0 to 59; and fractional
-     * seconds range from 0 (inclusive) to 1 (exclusive).
-     * The fraction can be null and is assumed to be zero.
-     * @param hour the hour of day, from 0-23
-     * @param minute the minute of hour, from 0-59
-     * @param second the second of minute, from 0-59
-     * @param fraction the fraction of second, 0.0 to 0.999... (may be null)
-     */
-    public void setTime(int hour, int minute, int second, BigDecimal fraction)
-    {
-        if (hour < 0 || hour > 23)
-            throw new IllegalArgumentException("hour out of range");
-        if (minute < 0 || minute > 59)
-            throw new IllegalArgumentException("minute out of range");
-        if (second < 0 || second > 59)
-            throw new IllegalArgumentException("second out of range");
-        if (fraction != null && (fraction.signum() < 0 || fraction.compareTo(GDate._one) > 1))
-            throw new IllegalArgumentException("fraction out of range");
-        _bits |= HAS_TIME;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? GDate._zero : fraction;
-    }
-
-    /**
-     * Sets the time zone without changing the other time
-     * fields. If you with to adjust other time fields to express
-     * the same actual moment in time in a different time zone,
-     * use normalizeToTimeZone.
-     * <p>
-     * Timezones must be between -14:00 and +14:00. Sign
-     * must be -1 or 1 (or 0 for UTC only), and the offset hours
-     * and minute arguments must be nonnegative.
-     * 
-     * @param tzSign the timezone offset sign, either +1, 0, or -1
-     * @param tzHour the timezone offset hour
-     * @param tzMinute the timezone offset minute 
-     */
-    public void setTimeZone(int tzSign, int tzHour, int tzMinute)
-    {
-        if (!((tzSign == 0 && tzHour == 0 && tzMinute == 0) ||
-              ((tzSign == -1 || tzSign == 1) &&
-               (tzHour >= 0 && tzMinute >= 0) &&
-               (tzHour == 14 && tzMinute == 0 || tzHour < 14 && tzMinute < 60))))
-            throw new IllegalArgumentException("time zone out of range (-14:00 to +14:00). (" +
-                (tzSign<0 ? "-" : "+") + tzHour + ":" + tzMinute + ")");
-
-        _bits |= HAS_TIMEZONE;
-        _tzsign = tzSign;
-        _tzh = tzHour;
-        _tzm = tzMinute;
-    }
-    
-    /**
-     * Sets the time zone based on a number of offset minutes rather
-     * than sign/hour/minute; for example, setTimeZone(-60) is the
-     * same as setTimeZone(-1, 1, 0).
-     */
-    public void setTimeZone(int tzTotalMinutes)
-    {
-        if (tzTotalMinutes < -14 * 60 || tzTotalMinutes > 14 * 60)
-            throw new IllegalArgumentException("time zone out of range (-840 to 840 minutes). (" + tzTotalMinutes + ")");
-        
-        int tzSign = tzTotalMinutes < 0 ? -1 : tzTotalMinutes > 0 ? 1 : 0;
-        tzTotalMinutes *= tzSign;
-        int tzH = tzTotalMinutes / 60;
-        int tzM = tzTotalMinutes - tzH * 60;
-        
-        setTimeZone(tzSign, tzH, tzM);
-    }
-
-    /**
-     * Clears the year. After clearing, hasYear returns false and the
-     * value of getYear is undefined.
-     */
-    public void clearYear()
-        { _bits &= ~HAS_YEAR; _CY = 0;  }
-
-    /**
-     * Clears the month-of-year. After clearing. hasMonth returns false and
-     * the value of getMonth is undefined.
-     */
-    public void clearMonth()
-        { _bits &= ~HAS_MONTH; _M = 0;  }
-
-    /**
-     * Clears the day-of-month. After clearing. hasDay returns false and
-     * the value of getDay is undefined.
-     */
-    public void clearDay()
-        { _bits &= ~HAS_DAY; _D = 0;  }
-
-    /**
-     * Clears the time-of-day.
-     * After clearing. hasTime returns false and
-     * the value of getTime is undefined.
-     */
-    public void clearTime()
-    {
-        _bits &= ~HAS_TIME;
-        _h = 0;
-        _m = 0;
-        _s = 0;
-        _fs = null;
-    }
-
-    /**
-     * Clears the timezone. After clearing. hasTimeZone returns false and
-     * the value of getTimeZoneHour and getTimeZoneMinute are undefined.
-     * Does not change the other time fields.
-     */
-    public void clearTimeZone()
-    {
-        _bits &= ~HAS_TIMEZONE;
-        _tzsign = 0;
-        _tzh = 0;
-        _tzm = 0;
-    }
-
-    /**
-     * True if all date fields lie within their legal ranges.  A GDateBuilder
-     * can be invalid, for example, if you change the month to February
-     * and the day-of-month is 31.
-     */
-    public boolean isValid()
-    {
-        return isValidGDate(this);
-    }
-
-    /* package */ static final boolean isValidGDate(GDateSpecification date)
-    {
-        if (date.hasMonth() && (date.getMonth() < 1 || date.getMonth() > 12))
-            return false;
-
-        if (date.hasDay() && (date.getDay() < 1 || date.getDay() > 31 ||
-            date.getDay() > 28 && date.hasMonth() &&
-                (date.hasYear() ? date.getDay() > _maxDayInMonthFor(date.getYear(), date.getMonth()) :
-                                  date.getDay() > _maxDayInMonth(date.getMonth()))))
-            return false;
-
-        if (date.hasTime() && (date.getHour() < 0 || date.getHour() > 23 ||
-            date.getMinute() < 0 || date.getMinute() > 59 ||
-            date.getSecond() < 0 || date.getSecond() > 59 ||
-            date.getFraction().signum() < 0 || date.getFraction().compareTo(GDate._one) >= 0))
-            return false;
-
-        if (date.hasTimeZone() &&
-            (!((date.getTimeZoneSign() == 0 && date.getTimeZoneHour() == 0 && date.getTimeZoneMinute() == 0) ||
-              ((date.getTimeZoneSign() == -1 || date.getTimeZoneSign() == +1) &&
-                // NB: allow +00:00 and -00:00
-                // (date.getTimeZoneHour() == 0 && date.getTimeZoneMinute() > 0 || date.getTimeZoneHour() > 0 && date.getTimeZoneMinute() >= 0) &&
-               (date.getTimeZoneHour() >= 0 && date.getTimeZoneMinute() >= 0) &&
-               (date.getTimeZoneHour() == 14 && date.getTimeZoneMinute() == 0 || date.getTimeZoneHour() < 14 && date.getTimeZoneMinute() < 60)))))
-            return false;
-
-        // everyting looks kosher
-        return true;
-    }
-
-
-    /**
-     * Normalizes the instance, ensuring date and time fields are within
-     * their normal ranges.
-     * <p>
-     * If no timezone or no time is specified, or if a partial date is specified, this
-     * method does nothing, and leaves the timezone information as-is.
-     * <p>
-     * If a time or time and date is specified, this method normalizes the timezone
-     * to UTC.
-     */
-    public void normalize()
-    {
-        // DateTime or Time, with TimeZone: normalize to UTC.
-        // In the process all the fields will be normalized.
-        if (hasDay() == hasMonth() && hasDay() == hasYear() &&
-            hasTimeZone() && hasTime())
-        {
-            normalizeToTimeZone(0, 0, 0);
-        }
-        else
-        {
-            // No timezone, or incomplete date.
-            long carry = 0;
-
-            if (hasTime())
-                carry = _normalizeTime();
-
-            if (hasDay())
-                _D += carry;
-
-            if (hasDate())
-            {
-                _normalizeDate();
-            }
-            else if (hasMonth())
-            {
-                // with incomplete dates, just months can be normalized:
-                // days stay denormalized.
-                if (_M < 1 || _M > 12)
-                {
-                    int temp = _M;
-                    _M = _modulo(temp, 1, 13);
-                    if (hasYear())
-                        _CY = _CY + (int)_fQuotient(temp, 1, 13);
-                }
-            }
-        }
-
-        // remove trailing zeros from fractional seconds
-        if (hasTime() && _fs != null && _fs.scale() > 0)
-        {
-            if (_fs.signum() == 0)
-                _fs = GDate._zero;
-            else
-            {
-                BigInteger bi = _fs.unscaledValue();
-                String str = bi.toString();
-                int lastzero;
-                for (lastzero = str.length(); lastzero > 0; lastzero -= 1)
-                    if (str.charAt(lastzero - 1) != '0')
-                        break;
-                if (lastzero < str.length())
-                    _fs = _fs.setScale(_fs.scale() - str.length() + lastzero);
-            }
-        }
-    }
-
-    /**
-     * If the time and timezone are known, this method changes the timezone to the
-     * specified UTC offset, altering minutes, hours, day, month, and year as
-     * necessary to ensure that the actual described moment in time is the same.
-     * <p>
-     * It is an error to operate on instances without a time or timezone, or
-     * with a partially specified date.
-     * 
-     * @param tzSign the timezone offset sign, either +1, 0, or -1
-     * @param tzHour the timezone offset hour
-     * @param tzMinute the timezone offset minute 
-     */
-    public void normalizeToTimeZone(int tzSign, int tzHour, int tzMinute)
-    {
-        if (!((tzSign == 0 && tzHour == 0 && tzMinute == 0) ||
-              ((tzSign == -1 || tzSign == 1) &&
-               (tzHour >= 0 && tzMinute >= 0) &&
-               (tzHour == 14 && tzMinute == 0 || tzHour < 14 && tzMinute < 60))))
-            throw new IllegalArgumentException("time zone must be between -14:00 and +14:00");
-
-        if (!hasTimeZone() || !hasTime())
-            throw new IllegalStateException("cannot normalize time zone without both time and timezone");
-
-        if (!(hasDay() == hasMonth() && hasDay() == hasYear()))
-            throw new IllegalStateException("cannot do date math without a complete date");
-
-        int hshift = tzSign * tzHour - _tzsign * _tzh;
-        int mshift = tzSign * tzMinute - _tzsign * _tzm;
-
-        _tzsign = tzSign;
-        _tzh = tzHour;
-        _tzm = tzMinute;
-        addDuration(1, 0, 0, 0, hshift, mshift, 0, null);
-    }
-
-    /**
-     * Normalizes to a time zone specified by a number of offset minutes rather
-     * than sign/hour/minute; for example, normalizeToTimeZone(-60) is the
-     * same as normalizeToTimeZone(-1, 1, 0).
-     */
-    public void normalizeToTimeZone(int tzTotalMinutes)
-    {
-        if (tzTotalMinutes < -14 * 60 || tzTotalMinutes > 14 * 60)
-            throw new IllegalArgumentException("time zone out of range (-840 to 840 minutes). (" + tzTotalMinutes + ")");
-        
-        int tzSign = tzTotalMinutes < 0 ? -1 : tzTotalMinutes > 0 ? 1 : 0;
-        tzTotalMinutes *= tzSign;
-        int tzH = tzTotalMinutes / 60;
-        int tzM = tzTotalMinutes - tzH * 60;
-        
-        normalizeToTimeZone(tzSign, tzH, tzM);
-    }
-
-
-    /**
-     * Adds a given duration to the date/time.
-     * 
-     * @param duration the duration to add
-     */
-    public void addGDuration(GDurationSpecification duration)
-    {
-        addDuration(duration.getSign(), duration.getYear(), duration.getMonth(), duration.getDay(),
-                    duration.getHour(), duration.getMinute(), duration.getSecond(), duration.getFraction());
-    }
-
-    /**
-     * Subtracts a given duration from the date/time.
-     * 
-     * @param duration the duration to subtract
-     */
-    public void subtractGDuration(GDurationSpecification duration)
-    {
-        addDuration(-duration.getSign(), duration.getYear(), duration.getMonth(), duration.getDay(),
-                    duration.getHour(), duration.getMinute(), duration.getSecond(), duration.getFraction());
-    }
-
-
-    /**
-     * Normalizes the date by carrying over to the year any months outside 1..12
-     * and carrying over to the month any days outside 1..(days-in-month).
-     */
-    private void _normalizeDate()
-    {
-        if (_M < 1 || _M > 12 || _D < 1 || _D > _maxDayInMonthFor(_CY, _M))
-        {
-            // fix months first
-            int temp = _M;
-            _M = _modulo(temp, 1, 13);
-            _CY = _CY + (int)_fQuotient(temp, 1, 13);
-
-            // then pull days out
-            int extradays = _D - 1;
-            _D = 1;
-
-            // then use the julian date function to fix
-            setJulianDate(getJulianDate() + extradays);
-        }
-    }
-
-    /**
-     * Normalizes time so that fractions are 0..1(exc), seconds/minutes 0..59,
-     * and hours 0..24. Returns the number of days to carry over from normalizing
-     * away more than 24 hours.
-     */
-    private long _normalizeTime()
-    {
-        long carry = 0;
-        long temp;
-
-        // fractions
-        if (_fs != null && (_fs.signum() < 0 || _fs.compareTo(GDate._one) >= 0))
-        {
-            BigDecimal bdcarry = _fs.setScale(0, BigDecimal.ROUND_FLOOR);
-            _fs = _fs.subtract(bdcarry);
-            carry = bdcarry.longValue();
-        }
-
-        if (carry != 0 || _s < 0 || _s > 59 || _m < 0 || _m > 50 || _h < 0 || _h > 23)
-        {
-            // seconds
-            temp = _s + carry;
-            carry = _fQuotient(temp, 60);
-            _s = _mod(temp, 60, carry);
-
-            // minutes
-            temp = _m + carry;
-            carry = _fQuotient(temp, 60);
-            _m = _mod(temp, 60, carry);
-
-            // hours
-            temp = _h + carry;
-            carry = _fQuotient(temp, 24);
-            _h = _mod(temp, 24, carry);
-        }
-
-        return carry;
-    }
-
-    /**
-     * Adds a given duration to the date/time.
-     * 
-     * @param sign +1 to add, -1 to subtract
-     * @param year the number of years to add
-     * @param month the number of months to add
-     * @param day the number of days to add
-     * @param hour the number of hours to add
-     * @param minute the number of minutes to add
-     * @param second the number of seconds to add
-     * @param fraction the number of fractional seconds to add (may be null)
-     */
-    public void addDuration(int sign, int year, int month, int day,
-                            int hour, int minute, int second, BigDecimal fraction)
-    {
-        boolean timemath = hour != 0 || minute != 0 || second != 0 || fraction != null && fraction.signum() != 0;
-        if (timemath && !hasTime())
-            throw new IllegalStateException("cannot do time math without a complete time");
-        boolean datemath = hasDay() && (day != 0 || timemath);
-        if (datemath && !hasDate())
-            throw new IllegalStateException("cannot do date math without a complete date");
-
-        int temp;
-
-        // months + years are easy
-        if (month != 0 || year != 0)
-        {
-            // Prepare the _D to be pegged before changing month
-            if (hasDay())
-                _normalizeDate();
-
-            // Add months and years
-            temp = _M + sign * month;
-            _M = _modulo(temp, 1, 13);
-            _CY = _CY + sign * year + (int)_fQuotient(temp, 1, 13);
-
-            // In new month, day may need to be pegged before proceeding
-            if (hasDay())
-            {
-                assert(_D >= 1);
-                temp = _maxDayInMonthFor(_CY, _M);
-                if (_D > temp)
-                    _D = temp;
-            }
-        }
-
-        long carry = 0;
-
-        if (timemath)
-        {
-            // fractions
-            if (fraction != null && fraction.signum() != 0)
-            {
-                if (_fs.signum() == 0 && sign == 1)
-                    _fs = fraction;
-                else
-                    _fs = (sign == 1) ? _fs.add(fraction) : _fs.subtract(fraction);
-            }
-
-            // seconds, minutes, hours
-            _s += sign * second;
-            _m += sign * minute;
-            _h += sign * hour;
-
-            // normalize time
-            carry = _normalizeTime();
-        }
-
-        if (datemath)
-        {
-            // days: may require renormalization
-            _D += sign * day + carry;
-            _normalizeDate();
-        }
-    }
-
-    /**
-     * Given {year,month} computes maximum
-     * number of days for given month
-     */
-    private static int _maxDayInMonthFor(int year, int month)
-    {
-        if (month == 4 || month == 6 || month == 9 || month == 11)
-            return 30;
-
-        if (month == 2)
-            return (_isLeapYear(year) ? 29 : 28);
-
-        return 31;
-    }
-
-    /**
-     * Given {year,month} computes maximum
-     * number of days for given month
-     */
-    private static int _maxDayInMonth(int month)
-    {
-        if (month == 4 || month == 6 || month == 9 || month == 11)
-            return 30;
-
-        if (month == 2)
-            return 29;
-
-        return 31;
-    }
-
-    /**
-     * Returns the Julian date corresponding to this Gregorian date.
-     * The Julian date (JD) is a continuous count of days from
-     * 1 January 4713 BC (= -4712 January 1).
-     */
-    public final int getJulianDate()
-    {
-        return julianDateForGDate(this);
-    }
-
-
-    /**
-     * Sets the Gregorian date based on the given Julian date.
-     * The Julian date (JD) is a continuous count of days from
-     * 1 January 4713 BC (= -4712 January 1).
-     * 
-     * @param julianday the julian day number
-     */
-    public void setJulianDate(int julianday)
-    {
-        if (julianday < 0)
-            throw new IllegalArgumentException("date before year -4712");
-
-        int temp;
-        int qepoc;
-
-        // from http://aa.usno.navy.mil/faq/docs/JD_Formula.html
-        temp = julianday + 68569;
-        qepoc = 4 * temp / 146097;
-        temp = temp - (146097 * qepoc + 3) / 4;
-        _CY = 4000 * (temp + 1) / 1461001;
-        temp = temp - 1461 * _CY / 4 + 31;
-        _M = 80 * temp / 2447;
-        _D = temp - 2447 * _M / 80;
-        temp = _M / 11;
-        _M = _M + 2 - 12 * temp;
-        _CY = 100 * (qepoc - 49) + _CY + temp;
-
-        _bits |= HAS_DAY | HAS_MONTH | HAS_YEAR;
-    }
-
-
-    /**
-     * Sets the current time and date based on a java.util.Date instance.
-     * <p>
-     * The timezone offset used is based on the default TimeZone. (The
-     * default TimeZone is consulted to incorporate daylight savings offsets
-     * if applicable for the current date as well as the base timezone offset.)
-     * <p>
-     * If you wish to normalize the timezone, e.g., to UTC, follow this with
-     * a call to normalizeToTimeZone.
-     * 
-     * @param date the Date object to copy
-     */
-    public void setDate(Date date)
-    {
-        // Default timezone
-        TimeZone dtz = TimeZone.getDefault();
-        int offset = dtz.getOffset(date.getTime());
-        int offsetsign = 1;
-        if (offset < 0)
-        {
-            offsetsign = -1;
-            offset = -offset;
-        }
-        int offsetmin = offset / (1000 * 60);
-        int offsethr = offsetmin / 60;
-        offsetmin = offsetmin - offsethr * 60;
-
-        setTimeZone(offsetsign, offsethr, offsetmin);
-        
-        // paranoia: tz.getOffset can return fractions of minutes, but we must round
-        int roundedoffset = offsetsign * (offsethr * 60 + offsetmin) * 60 * 1000;
-
-        // midnight
-        setTime(0, 0, 0, GDate._zero);
-
-        // Set to January 1, 1970.
-        // setJulianDate(2440588);
-        _bits |= HAS_DAY | HAS_MONTH | HAS_YEAR;
-        _CY = 1970;
-        _M = 1;
-        _D = 1;
-
-        // Add a duration representing the number of milliseconds
-        addGDuration(new GDuration(1, 0, 0, 0, 0, 0, 0,
-                BigDecimal.valueOf(date.getTime() + roundedoffset, 3)));
-
-        // special case: ss.000 -> ss
-        if (_fs.signum() == 0)
-            _fs = GDate._zero;
-    }
-    
-    /**
-     * Copies a GDateSpecification, completely replacing the current
-     * information in this GDateBuilder.
-     * 
-     * @param gdate the GDateSpecification to copy
-     */ 
-    public void setGDate(GDateSpecification gdate)
-    {
-        _bits = gdate.getFlags() & (HAS_TIMEZONE | HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME);
-        _CY = gdate.getYear();
-        _M = gdate.getMonth();
-        _D = gdate.getDay();
-        _h = gdate.getHour();
-        _m = gdate.getMinute();
-        _s = gdate.getSecond();
-        _fs = gdate.getFraction();
-        _tzsign = gdate.getTimeZoneSign();
-        _tzh = gdate.getTimeZoneHour();
-        _tzm = gdate.getTimeZoneMinute();
-    }
-
-
-    /**
-     * Retrieves the value of the current time as an {@link XmlCalendar}.
-     * <p>
-     * {@link XmlCalendar} is a subclass of {@link java.util.GregorianCalendar}
-     * which is slightly customized to match XML schema date rules.
-     * <p>
-     * The returned {@link XmlCalendar} has only those time and date fields
-     * set that are reflected in the GDate object.  Because of the way the
-     * {@link java.util.Calendar} contract works, any information in the isSet() vanishes
-     * as soon as you view any unset field using get() methods.
-     * This means that if it is important to understand which date fields
-     * are set, you must call isSet() first before get().
-     */
-    public XmlCalendar getCalendar()
-    {
-        return new XmlCalendar(this);
-    }
-
-    /**
-     * Retrieves the value of the current time as a java.util.Date
-     * instance.
-     */
-    public Date getDate()
-    {
-        return dateForGDate(this);
-    }
-
-    /* package */ static int julianDateForGDate(GDateSpecification date)
-    {
-        if (!date.hasDate())
-            throw new IllegalStateException("cannot do date math without a complete date");
-
-        // from http://aa.usno.navy.mil/faq/docs/JD_Formula.html
-        int result = date.getDay()-32075+1461*(date.getYear()+4800+(date.getMonth()-14)/12)/4+
-            367*(date.getMonth()-2-(date.getMonth()-14)/12*12)/12-3*((date.getYear()+4900+(date.getMonth()-14)/12)/100)/4;
-
-        if (result < 0)
-            throw new IllegalStateException("date too far in the past (year allowed to -4712)");
-
-        return result;
-    }
-
-    /* package */ static Date dateForGDate(GDateSpecification date)
-    {
-        long jDate = julianDateForGDate(date);
-        long to1970Date = jDate - 2440588;
-        long to1970Ms = 1000 * 60 * 60 * 24 * to1970Date;
-
-        to1970Ms += date.getMillisecond();
-        to1970Ms += date.getSecond() * 1000;
-        to1970Ms += date.getMinute() * 60 * 1000;
-        to1970Ms += date.getHour() * 60 * 60 * 1000;
-        if (date.hasTimeZone())
-        {
-            to1970Ms -= (date.getTimeZoneMinute() * date.getTimeZoneSign()) * 60 * 1000;
-            to1970Ms -= (date.getTimeZoneHour() * date.getTimeZoneSign()) * 60 * 60 * 1000;
-        }
-        else
-        {
-            TimeZone def = TimeZone.getDefault();
-            int offset = def.getOffset(to1970Ms);
-            to1970Ms -= offset;
-        }
-
-        return new Date(to1970Ms);
-    }
-
-    /**
-     * True for leap years.
-     */
-    private static boolean _isLeapYear(int year)
-    {
-        // BUGBUG: Julian calendar?
-        return ((year % 4 == 0) && ((year % 100 != 0) || (year % 400 == 0)));
-    }
-
-    /**
-     * fQuotient(a, b) = the greatest integer less than or equal to a/b
-     */
-    private static final long _fQuotient(long a, int b)
-    {
-        if ((a < 0) == (b < 0))
-            return a / b;
-
-        return -((b - a - 1) / b);
-    }
-
-    /**
-     * modulo(a, b) = a - fQuotient(a,b)*b
-     */
-    private static int _mod(long a, int b, long quotient)
-    {
-        return (int)(a - quotient*b) ;
-    }
-
-    /**
-     * modulo(a - low, high - low) + low
-     */
-    private static final int _modulo(long temp, int low, int high)
-    {
-        long a = temp - low;
-        int b = high - low;
-        return (_mod(a, b, _fQuotient(a, b)) + low) ;
-    }
-
-    /**
-     * Quotient(a - low, high - low)
-     */
-    private static final long _fQuotient(long temp, int low, int high)
-    {
-        return _fQuotient(temp - low, high - low);
-    }
-
-    /**
-     * Sets to the first possible moment that matches the given
-     * specification.
-     */
-    private void _setToFirstMoment()
-    {
-        // 1584 was the first leap year during which the Gregorian
-        // calendar was in use: seems like the most reasonable "first"
-        // year to use in absence of a year.
-
-        if (!hasYear())
-            setYear(1584);
-
-        if (!hasMonth())
-            setMonth(1);
-
-        if (!hasDay())
-            setDay(1);
-
-        if (!hasTime())
-            setTime(0, 0, 0, GDate._zero);
-    }
-
-    /**
-     * Comparison to another GDate.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     * 
-     * @param datespec the date to compare against
-     */
-    public final int compareToGDate(GDateSpecification datespec)
-    {
-        return compareGDate(this, datespec);
-    }
-
-
-    /* package */ static final int compareGDate(GDateSpecification tdate, GDateSpecification datespec)
-    {
-        // same amount of information: looks good
-        int bitdiff = tdate.getFlags() ^ datespec.getFlags();
-
-        easy: if ((bitdiff & (HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME | HAS_TIMEZONE)) == 0)
-        {
-            // If the other date needs to be normalized to
-            // our timezone, make a clone and do so if possible
-            if (tdate.hasTimeZone() &&
-                (datespec.getTimeZoneHour() != tdate.getTimeZoneHour() ||
-                 datespec.getTimeZoneMinute() != tdate.getTimeZoneMinute() ||
-                 datespec.getTimeZoneSign() != tdate.getTimeZoneSign()))
-            {
-                datespec = new GDateBuilder(datespec);
-
-                int flags = tdate.getFlags() & (HAS_YEAR | HAS_MONTH | HAS_DAY);
-                if (flags != 0 && flags != (HAS_YEAR | HAS_MONTH | HAS_DAY) || !tdate.hasTime())
-                {
-                    // in these cases we'll need to fill in fields
-                    ((GDateBuilder)datespec)._setToFirstMoment();
-                    tdate = new GDateBuilder(tdate);
-                    ((GDateBuilder)tdate)._setToFirstMoment();
-                }
-
-                ((GDateBuilder)datespec).normalizeToTimeZone(tdate.getTimeZoneSign(), tdate.getTimeZoneHour(), tdate.getTimeZoneMinute());
-            }
-
-            // compare by field
-            return fieldwiseCompare(tdate, datespec);
-        }
-
-        // different amounts of information (except timezone): not comparable
-        if ((bitdiff & (HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME)) != 0)
-            return 2;
-
-        // The schema spec says we should try to compare with-timezone and
-        // without-timezone specifications... Well, OK, sure, if they say so.
-
-        // We don't have a timezone but the other does: reverse the call
-        if (!tdate.hasTimeZone())
-        {
-            int result = compareGDate(datespec, tdate);
-            return result == 2 ? 2 : -result;
-        }
-
-        // Now tdate is guaranteed to have a timezone and datespec not.
-
-        // To muck with the times, make clones
-        GDateBuilder pdate = new GDateBuilder(tdate);
-
-        // To cover the one uncovered case: if one date is 02/28 and the
-        // other date is 03/01, shift days closer by one to simulate being
-        // the last day of the month within a leap year
-        if ((tdate.getFlags() & (HAS_YEAR | HAS_MONTH | HAS_DAY)) == (HAS_MONTH | HAS_DAY))
-        {
-            if (tdate.getDay() == 28 && tdate.getMonth() == 2)
-            {
-                if (datespec.getDay() == 01 && datespec.getMonth() == 3)
-                {
-                    pdate.setDay(29);
-                }
-            }
-            else if (datespec.getDay() == 28 && datespec.getMonth() == 2)
-            {
-                if (tdate.getDay() == 01 && tdate.getMonth() == 3)
-                {
-                    pdate.setMonth(02);
-                    pdate.setDay(29);
-                }
-            }
-        }
-
-        // For timespans, compare by first instant of time
-        // possible. Therefore, fill in Midnight, January 1, 1584 (a leap year)
-        // in absence of other information.
-        pdate._setToFirstMoment();
-
-        // P < Q if P < (Q with time zone +14:00)
-        GDateBuilder qplusdate = new GDateBuilder(datespec);
-        qplusdate._setToFirstMoment();
-        qplusdate.setTimeZone(1, 14, 0);
-        qplusdate.normalizeToTimeZone(tdate.getTimeZoneSign(), tdate.getTimeZoneHour(), tdate.getTimeZoneMinute());
-        if (fieldwiseCompare(pdate, qplusdate) == -1)
-            return -1;
-
-        // P > Q if P > (Q with time zone -14:00)
-        GDateBuilder qminusdate = qplusdate;
-        qminusdate.setGDate(datespec);
-        qminusdate._setToFirstMoment();
-        qminusdate.setTimeZone(-1, 14, 0);
-        qminusdate.normalizeToTimeZone(tdate.getTimeZoneSign(), tdate.getTimeZoneHour(), tdate.getTimeZoneMinute());
-        if (fieldwiseCompare(pdate, qminusdate) == 1)
-            return 1;
-
-        // P <> Q otherwise
-        return 2;
-    }
-
-    /**
-     * Does a simple most-significant-digit-first comparison,
-     * ignoring any timezone or has/doesn't have issues.
-     * The data must have been digested first.
-     */
-    private static int fieldwiseCompare(GDateSpecification tdate, GDateSpecification date)
-    {
-        if (tdate.hasYear())
-        {
-            int CY = date.getYear();
-            int TCY = tdate.getYear();
-            if (TCY < CY) return -1;
-            if (TCY > CY) return 1;
-        }
-        if (tdate.hasMonth())
-        {
-            int M = date.getMonth();
-            int TM = tdate.getMonth();
-            if (TM < M) return -1;
-            if (TM > M) return 1;
-        }
-        if (tdate.hasDay())
-        {
-            int D = date.getDay();
-            int TD = tdate.getDay();
-            if (TD < D) return -1;
-            if (TD > D) return 1;
-        }
-        if (tdate.hasTime())
-        {
-            int h = date.getHour();
-            int th = tdate.getHour();
-            if (th < h) return -1;
-            if (th > h) return 1;
-            int m = date.getMinute();
-            int tm = tdate.getMinute();
-            if (tm < m) return -1;
-            if (tm > m) return 1;
-            int s = date.getSecond();
-            int ts = tdate.getSecond();
-            if (ts < s) return -1;
-            if (ts > s) return 1;
-            BigDecimal fs = date.getFraction();
-            BigDecimal tfs = tdate.getFraction();
-            if (tfs == null && fs == null) return 0;
-            return (tfs == null ? GDate._zero : tfs).compareTo(fs == null ? GDate._zero : fs);
-        }
-
-        return 0;
-    }
-
-    /**
-     * Returns the builtin type code for the shape of the information
-     * contained in this instance, or 0 if the
-     * instance doesn't contain information corresponding to a
-     * Schema type.
-     * <p> 
-     * Value will be equal to
-     * {@link SchemaType#BTC_NOT_BUILTIN},
-     * {@link SchemaType#BTC_G_YEAR},
-     * {@link SchemaType#BTC_G_YEAR_MONTH},
-     * {@link SchemaType#BTC_G_MONTH},
-     * {@link SchemaType#BTC_G_MONTH_DAY},
-     * {@link SchemaType#BTC_G_DAY},
-     * {@link SchemaType#BTC_DATE},
-     * {@link SchemaType#BTC_DATE_TIME}, or
-     * {@link SchemaType#BTC_TIME}.
-     */
-    public final int getBuiltinTypeCode()
-    {
-        return btcForFlags(_bits);
-    }
-
-    /* package */ static int btcForFlags(int flags)
-    {
-        switch (flags & (HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME))
-        {
-            case HAS_YEAR:
-                return SchemaType.BTC_G_YEAR;
-            case HAS_YEAR | HAS_MONTH:
-                return SchemaType.BTC_G_YEAR_MONTH;
-            case HAS_MONTH:
-                return SchemaType.BTC_G_MONTH;
-            case HAS_MONTH | HAS_DAY:
-                return SchemaType.BTC_G_MONTH_DAY;
-            case HAS_DAY:
-                return SchemaType.BTC_G_DAY;
-            case HAS_YEAR | HAS_MONTH | HAS_DAY:
-                return SchemaType.BTC_DATE;
-            case HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME:
-                return SchemaType.BTC_DATE_TIME;
-            case HAS_TIME:
-                return SchemaType.BTC_TIME;
-            default:
-                return SchemaType.BTC_NOT_BUILTIN;
-        }
-    }
-
-    /**
-     * Clears the fields in this GDateBuilder that are not applicable
-     * for the given SchemaType date code.  The code should be
-     * {@link SchemaType#BTC_G_YEAR},
-     * {@link SchemaType#BTC_G_YEAR_MONTH},
-     * {@link SchemaType#BTC_G_MONTH},
-     * {@link SchemaType#BTC_G_MONTH_DAY},
-     * {@link SchemaType#BTC_G_DAY},
-     * {@link SchemaType#BTC_DATE},
-     * {@link SchemaType#BTC_DATE_TIME}, or
-     * {@link SchemaType#BTC_TIME}.
-     * 
-     * @param typeCode the type code to apply
-     */
-    public void setBuiltinTypeCode(int typeCode)
-    {
-        switch (typeCode)
-        {
-            case SchemaType.BTC_G_YEAR:
-                //HAS_YEAR
-                clearMonth();
-                clearDay();
-                clearTime();
-                return;
-            case SchemaType.BTC_G_YEAR_MONTH:
-                //HAS_YEAR | HAS_MONTH
-                clearDay();
-                clearTime();
-                return;
-            case SchemaType.BTC_G_MONTH:
-                //HAS_MONTH
-                clearYear();
-                clearDay();
-                clearTime();
-                return;
-            case SchemaType.BTC_G_MONTH_DAY:
-                //HAS_MONTH | HAS_DAY
-                clearYear();
-                clearTime();
-                return;
-            case SchemaType.BTC_G_DAY:
-                //HAS_DAY
-                clearYear();
-                clearMonth();
-                clearTime();
-                return;
-            case SchemaType.BTC_DATE:
-                //HAS_YEAR | HAS_MONTH | HAS_DAY
-                clearTime();
-                return;
-            case SchemaType.BTC_DATE_TIME:
-                //HAS_YEAR | HAS_MONTH | HAS_DAY | HAS_TIME
-                return;
-            case SchemaType.BTC_TIME:
-                //HAS_TIME
-                clearYear();
-                clearMonth();
-                clearDay();
-                return;
-            default:
-                throw new IllegalArgumentException("codeType must be one of SchemaType BTC_  DATE TIME related types.");
-        }
-    }
-
-
-    /* package */ static final BigInteger TEN = BigInteger.valueOf(10);
-
-    /**
-     * The canonical string representation. Specific moments or
-     * times-of-day in a specified timezone are normalized to
-     * UTC time to produce a canonical string form for them.
-     * Other recurring time specifications keep their timezone
-     * information.
-     */
-    public String canonicalString()
-    {
-        boolean needNormalize =
-            (hasTimeZone() && getTimeZoneSign() != 0 && hasTime() &&
-            ((hasDay() == hasMonth() && hasDay() == hasYear())));
-
-        if (!needNormalize && getFraction().scale() > 0)
-        {
-            BigInteger bi = getFraction().unscaledValue();
-            needNormalize = (bi.mod(TEN).signum() == 0);
-        }
-
-        if (!needNormalize)
-            return toString();
-
-        GDateBuilder cdate = new GDateBuilder(this);
-        cdate.normalize();
-        return cdate.toString();
-    }
-
-    /**
-     * The natural string representation. This represents the information
-     * that is available, including timezone. For types that correspond
-     * to defined schema types (schemaBuiltinTypeCode() > 0),
-     * this provides the natural lexical representation.
-     * <p>
-     * When both time and timezone are specified, this string is not
-     * the canonical representation unless the timezone is UTC (Z)
-     * (since the same moment in time can be expressed in different
-     * timezones). To get a canonical string, use the canonicalString()
-     * method.
-     */
-    public final String toString()
-    {
-        return GDate.formatGDate(this);
-    }
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDateSpecification.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDateSpecification.java
deleted file mode 100644
index 5caf61e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDateSpecification.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-/**
- * Represents an XML Schema-compatible Gregorian date.
- * <p>
- * Both the immutable GDate and the mutable GDateBuilder are
- * GDateSpecifications.  Use this interface where you want to
- * allow callers to pass any implementation of a GDate.
- * 
- * @see GDate
- * @see XmlCalendar
- */
-public interface GDateSpecification
-{
-    /**
-     * Returns a combination of flags indicating the information
-     * contained by this GDate.  The five flags are
-     * {@link #HAS_TIMEZONE}, {@link #HAS_YEAR}, {@link #HAS_MONTH},
-     * {@link #HAS_DAY}, and {@link #HAS_TIME}.
-     */
-    int getFlags();
-
-    /** Timezone is specified. See {@link #getFlags}. */
-    public final int HAS_TIMEZONE = 1;
-    /** Year is specified. See {@link #getFlags}. */
-    public final int HAS_YEAR = 2;
-    /** Month of year is specified. See {@link #getFlags}. */
-    public final int HAS_MONTH = 4;
-    /** Day of month is specified. See {@link #getFlags}. */
-    public final int HAS_DAY = 8;
-    /** Time of day is specified. See {@link #getFlags}. */
-    public final int HAS_TIME = 16;
-
-    /**
-     * True if this GDate specification is immutable. GDate returns true,
-     * and GDateBuilder returns false.
-     */
-    boolean isImmutable();
-
-    /**
-     * True if this GDate corresponds to a valid gregorian date value
-     * in XML schema.
-     */
-    boolean isValid();
-
-    /**
-     * True if this date/time specification specifies a timezone.
-     */
-    boolean hasTimeZone();
-
-    /**
-     * True if this date/time specification specifies a year.
-     */
-    boolean hasYear();
-
-    /**
-     * True if this date/time specification specifies a month-of-year.
-     */
-    boolean hasMonth();
-
-    /**
-     * True if this date/time specification specifies a day-of-month.
-     */
-    boolean hasDay();
-
-    /**
-     * True if this date/time specification specifies a time-of-day.
-     */
-    boolean hasTime();
-
-    /**
-     * True if this date/time specification specifies a full date (year, month, day)
-     */
-    boolean hasDate();
-
-    /**
-     * Gets the year. Should be a four-digit year specification.
-     */
-    int getYear();
-
-    /**
-     * Gets the month-of-year. January is 1.
-     */
-    int getMonth();
-
-    /**
-     * Gets the day-of-month. The first day of each month is 1.
-     */
-    int getDay();
-
-    /**
-     * Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-     */
-    int getHour();
-
-    /**
-     * Gets the minute-of-hour. Range from 0 to 59.
-     */
-    int getMinute();
-
-    /**
-     * Gets the second-of-minute. Range from 0 to 59.
-     */
-    int getSecond();
-
-    /**
-     * Gets the time zone sign. For time zones east of GMT,
-     * this is positive; for time zones west, this is negative.
-     */
-    int getTimeZoneSign();
-
-    /**
-     * Gets the time zone hour.
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    int getTimeZoneHour();
-
-    /**
-     * Gets the time zone minutes.
-     * This is always positive: for the sign, look at
-     * getTimeZoneSign().
-     */
-    int getTimeZoneMinute();
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    BigDecimal getFraction();
-
-    /**
-     * Gets the rounded millisecond value. Range from 0 to 999
-     */
-    int getMillisecond();
-
-    /**
-     * Returns the Julian date corresponding to this Gregorian date.
-     * The Julian date (JD) is a continuous count of days from
-     * 1 January 4713 BC (= -4712 January 1).
-     */
-    int getJulianDate();
-
-    /**
-     * Retrieves the value of the current time as an {@link XmlCalendar}.
-     * <p>
-     * {@link XmlCalendar} is a subclass of {@link java.util.GregorianCalendar}
-     * which is slightly customized to match XML schema date rules.
-     * <p>
-     * The returned {@link XmlCalendar} has only those time and date fields
-     * set that are reflected in the GDate object.  Because of the way the
-     * {@link java.util.Calendar} contract works, any information in the isSet() vanishes
-     * as soon as you view any unset field using get() methods.
-     * This means that if it is important to understand which date fields
-     * are set, you must call isSet() first before get().
-     */
-    XmlCalendar getCalendar();
-
-    /**
-     * Retrieves the value of the current time as a java.util.Date
-     * instance.
-     */
-    Date getDate();
-
-    /**
-     * Comparison to another GDate.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     * 
-     * @param gdatespec the date to compare against.
-     */
-    int compareToGDate(GDateSpecification gdatespec);
-
-    /**
-     * Returns the builtin type code for the shape of the information
-     * contained in this instance, or 0 if the
-     * instance doesn't contain information corresponding to a
-     * Schema type.
-     * <p> 
-     * Value will be equal to
-     * {@link SchemaType#BTC_NOT_BUILTIN},
-     * {@link SchemaType#BTC_G_YEAR},
-     * {@link SchemaType#BTC_G_YEAR_MONTH},
-     * {@link SchemaType#BTC_G_MONTH},
-     * {@link SchemaType#BTC_G_MONTH_DAY},
-     * {@link SchemaType#BTC_G_DAY},
-     * {@link SchemaType#BTC_DATE},
-     * {@link SchemaType#BTC_DATE_TIME}, or
-     * {@link SchemaType#BTC_TIME}.
-     */
-    int getBuiltinTypeCode();
-
-    /**
-     * The canonical string representation. Specific moments or
-     * times-of-day in a specified timezone are normalized to
-     * UTC time to produce a canonical string form for them.
-     * Other recurring time specifications keep their timezone
-     * information.
-     */
-    String canonicalString();
-
-    /**
-     * The natural string representation. This represents the information
-     * that is available, including timezone. For types that correspond
-     * to defined schema types (schemaBuiltinTypeCode() > 0),
-     * this provides the natural lexical representation.
-     *
-     * When both time and timezone are specified, this string is not
-     * the canonical representation unless the timezone is UTC (Z)
-     * (since the same moment in time can be expressed in different
-     * timezones). To get a canonical string, use the canonicalString()
-     * method.
-     */
-    String toString();
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDuration.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDuration.java
deleted file mode 100644
index 2e2094d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDuration.java
+++ /dev/null
@@ -1,424 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-
-/**
- * Represents an XML Schema-compatible duration.
- * <p>
- * A duration is made up of a number of years, months, days, hours,
- * minutes, seconds, and fractions of seconds. See the
- * XML Schema specification
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">section on xs:duration</a>
- * for details on the rules for
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration-order">comparing durations</a> and
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes">adding durations to dates</a>.
- */
-public final class GDuration implements GDurationSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private int _sign;
-    private int _CY;
-    private int _M;
-    private int _D;
-    private int _h;
-    private int _m;
-    private int _s;
-    private BigDecimal _fs;
-
-    /**
-     * Constructs an empty GDuration representing zero seconds.
-     */
-    public GDuration()
-    {
-        _sign = +1;
-    }
-
-    private static final int SEEN_NOTHING = 0;
-    private static final int SEEN_YEAR = 1;
-    private static final int SEEN_MONTH = 2;
-    private static final int SEEN_DAY = 3;
-    private static final int SEEN_HOUR = 4;
-    private static final int SEEN_MINUTE = 5;
-    private static final int SEEN_SECOND = 6;
-
-    /**
-     * Constructs a GDuration from a lexical
-     * representation. The lexical space contains the
-     * union of the lexical spaces of all the schema
-     * date/time types (except for duration).
-     */
-    public GDuration(CharSequence str)
-    {
-        // Form:        -PnYnMnDTnHnMnS
-        // (where each n may be preceded by a - for us, and the whole may be -)
-
-        // first trim XML whitespace
-        int len = str.length();
-        int start = 0;
-        while (len > 0 && GDate.isSpace(str.charAt(len - 1)))
-            len -= 1;
-        while (start < len && GDate.isSpace(str.charAt(start)))
-            start += 1;
-
-        _sign = 1;
-        boolean tmark = false;
-
-        if (start < len && str.charAt(start) == '-')
-        {
-            _sign = -1;
-            start += 1;
-        }
-
-        if (start >= len || str.charAt(start) != 'P')
-            throw new IllegalArgumentException("duration must begin with P");
-
-        start += 1;
-
-        int seen = SEEN_NOTHING;
-        _fs = GDate._zero;
-
-        for (;start < len; start += 1)
-        {
-            boolean negval = false;
-            char ch = str.charAt(start);
-            if (ch == 'T')
-            {
-                if (tmark)
-                    throw new IllegalArgumentException("duration must have no more than one T'");
-                if (seen > SEEN_DAY)
-                    throw new IllegalArgumentException("T in duration must precede time fields");
-                seen = SEEN_DAY;
-                tmark = true;
-                start += 1;
-                if (start >= len)
-                    throw new IllegalArgumentException("illegal duration");
-                ch = str.charAt(start);
-            }
-            if (ch == '-')
-            {
-                negval = true;
-                if (start == len)
-                    throw new IllegalArgumentException("illegal duration");
-                start += 1;
-                ch = str.charAt(start);
-            }
-            if (!GDate.isDigit(ch))
-                throw new IllegalArgumentException("illegal duration");
-            int value = GDate.digitVal(ch);
-            for (;;)
-            {
-                start += 1;
-                ch = (start < len) ? str.charAt(start) : '\0';
-                if (!GDate.isDigit(ch))
-                    break;
-                value = value * 10 + GDate.digitVal(ch);
-            }
-            if (ch == '.')
-            {
-                int i = start;
-                do i += 1;
-                while (i < len && GDate.isDigit(ch = str.charAt(i)));
-                _fs = new BigDecimal(str.subSequence(start, i).toString());
-                if (i >= len || ch != 'S')
-                    throw new IllegalArgumentException("illegal duration");
-                start = i;
-            }
-            if (negval)
-                value = -value;
-            switch (seen)
-            {
-                case SEEN_NOTHING:
-                    if (ch == 'Y')
-                    {
-                        seen = SEEN_YEAR;
-                        _CY = value;
-                        break;
-                    } // fallthrough
-                case SEEN_YEAR:
-                    if (ch == 'M')
-                    {
-                        seen = SEEN_MONTH;
-                        _M = value;
-                        break;
-                    } // fallthrough
-                case SEEN_MONTH:
-                    if (ch == 'D')
-                    {
-                        seen = SEEN_DAY;
-                        _D = value;
-                        break;
-                    } // fallthrough
-                case SEEN_DAY:
-                    if (ch == 'H')
-                    {
-                        if (!tmark)
-                            throw new IllegalArgumentException("time in duration must follow T");
-                        seen = SEEN_HOUR;
-                        _h = value;
-                        break;
-                    } // fallthrough
-                case SEEN_HOUR:
-                    if (ch == 'M')
-                    {
-                        if (!tmark)
-                            throw new IllegalArgumentException("time in duration must follow T");
-                        seen = SEEN_MINUTE;
-                        _m = value;
-                        break;
-                    } // fallthrough
-                case SEEN_MINUTE:
-                    if (ch == 'S')
-                    {
-                        if (!tmark)
-                            throw new IllegalArgumentException("time in duration must follow T");
-                        seen = SEEN_SECOND;
-                        _s = value;
-                        break;
-                    } // fallthrough
-                default:
-                    throw new IllegalArgumentException("duration must specify Y M D T H M S in order");
-            }
-        }
-    }
-
-    /**
-     * Constructs a GDuration with the specified sign,
-     * year, month, day, hours, minutes, seconds, and optional
-     * fractional seconds.
-     */
-    public GDuration(
-            int sign,
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction)
-    {
-        if (sign != 1 && sign != -1)
-            throw new IllegalArgumentException();
-        _sign = sign;
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? GDate._zero : fraction;
-    }
-
-    /**
-     * Constructs a GDuration from another GDurationSpecification.
-     */
-    public GDuration(GDurationSpecification gDuration)
-    {
-        _sign = gDuration.getSign();
-        _CY = gDuration.getYear();
-        _M = gDuration.getMonth();
-        _D = gDuration.getDay();
-        _h = gDuration.getHour();
-        _m = gDuration.getMinute();
-        _s = gDuration.getSecond();
-        _fs = gDuration.getFraction();
-    }
-
-    /**
-     * Builds another GDate with the same value
-     * as this one.
-     */
-    public Object clone()
-    {
-        return new GDuration(this);
-    }
-
-    /**
-     * All GDuration instances return true.
-     */
-    public final boolean isImmutable()
-    {
-        return true;
-    }
-
-    /**
-     * Returns the sign of the duration: +1 is forwards
-     * and -1 is backwards in time.
-     */
-    public final int getSign()
-        { return _sign; }
-
-    /**
-     * Gets the year component.
-     */
-    public final int getYear()
-        { return _CY;  }
-
-    /**
-     * Gets the month-of-year component.
-     */
-    public final int getMonth()
-        { return _M;  }
-
-    /**
-     * Gets the day-of-month component.
-     */
-    public final int getDay()
-        { return _D; }
-
-    /**
-     * Gets the hour-of-day component.
-     */
-    public final int getHour()
-        { return _h; }
-
-    /**
-     * Gets the minute-of-hour component.
-     */
-    public final int getMinute()
-        { return _m; }
-
-    /**
-     * Gets the second-of-minute component.
-     */
-    public final int getSecond()
-        { return _s; }
-
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    public BigDecimal getFraction()
-        { return _fs; }
-
-    /**
-     * Returns true if all of the individual components
-     * of the duration are nonnegative.
-     */
-    public boolean isValid()
-    {
-        return GDurationBuilder.isValidDuration(this);
-    }
-
-    /**
-     * Comparison to another GDuration.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     */
-    public final int compareToGDuration(GDurationSpecification duration)
-    {
-        return GDurationBuilder.compareDurations(this, duration);
-    }
-
-    /**
-     * The natural string representation of the duration.
-     * <p>
-     * Any components that are zero are omitted. Note that if the duration
-     * is invalid, i.e., it has negative components, those negative
-     * components are serialized out here. To check for validity, use
-     * the isValid() method; and to normalize most durations to a valid
-     * form use the normalize() method.
-     */
-    public String toString()
-    {
-        return GDurationBuilder.formatDuration(this);
-    }
-
-    /**
-     * Returns a new GDuration which is the sum of this one and the
-     * supplied duration.  Does a fieldwise addition, with no normalization.
-     */
-    public GDuration add(GDurationSpecification duration)
-    {
-        int sign = _sign * duration.getSign();
-        return _add(duration, sign);
-    }
-
-    /**
-     * Returns a new GDuration which is the result of subtracting
-     * the supplied duration from this one.  Does a fieldwise
-     * subtraction, with no normalization.
-     */
-    public GDuration subtract(GDurationSpecification duration)
-    {
-        int sign = -_sign * duration.getSign();
-        return _add(duration, sign);
-    }
-
-    private GDuration _add(GDurationSpecification duration, int sign)
-    {
-        GDuration result = new GDuration(this);
-        result._CY += sign * duration.getYear();
-        result._M += sign * duration.getMonth();
-        result._D += sign * duration.getDay();
-        result._h += sign * duration.getHour();
-        result._m += sign * duration.getMinute();
-        result._s += sign * duration.getSecond();
-
-        if (duration.getFraction().signum() == 0)
-            return result;
-
-        if (result._fs.signum() == 0 && sign == 1)
-            result._fs = duration.getFraction();
-        else
-            result._fs = sign > 0 ?
-                    result._fs.add(duration.getFraction()) :
-                    result._fs.subtract(duration.getFraction());
-        return result;
-    }
-
-    /**
-     * Two GDurations are equal if all their fields are equal.
-     * The equals function does not apply normalizatin.
-     */
-    public boolean equals(Object obj)
-    {
-        if (obj == this)
-            return true;
-        if (!(obj instanceof GDuration))
-            return false;
-
-        GDuration duration = (GDuration)obj;
-        return (_sign == duration.getSign() &&
-                _CY == duration.getYear() &&
-                _M == duration.getMonth() &&
-                _D == duration.getDay() &&
-                _h == duration.getHour() &&
-                _m == duration.getMinute() &&
-                _s == duration.getSecond() &&
-                _fs.equals(duration.getFraction()));
-    }
-
-    public int hashCode()
-    {
-        return (_s +
-                _m * (60 + 7) +
-                _h * (60 * 60 + 7) +
-                _D * (60 * 60 * 24 + 7) +
-                _M * (60 * 60 * 24 * 31 + 7) +
-                _CY *(60 * 60 * 24 * 372 + 7) +
-                _sign * 11917049);
-    }
-
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDurationBuilder.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDurationBuilder.java
deleted file mode 100644
index fc0e4df..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDurationBuilder.java
+++ /dev/null
@@ -1,594 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-
-/**
- * Used to build {@link GDuration GDurations}.
- */ 
-public class GDurationBuilder implements GDurationSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private int _sign;
-    private int _CY;
-    private int _M;
-    private int _D;
-    private int _h;
-    private int _m;
-    private int _s;
-    private BigDecimal _fs;
-
-    /**
-     * Constructs an empty GDurationBuilder representing zero seconds.
-     */
-    public GDurationBuilder()
-    {
-        _sign = +1;
-        _fs = GDate._zero;
-    }
-
-    /**
-     * Constructs a GDuration from a lexical
-     * representation.
-     */
-    public GDurationBuilder(String s)
-    {
-        this(new GDuration(s));
-    }
-
-    /**
-     * Constructs a GDurationBuilder with the specified sign,
-     * year, month, day, hours, minutes, seconds, and optional
-     * fractional seconds.
-     */
-    public GDurationBuilder(
-            int sign,
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction)
-    {
-        if (sign != 1 && sign != -1)
-            throw new IllegalArgumentException();
-        _sign = sign;
-        _CY = year;
-        _M = month;
-        _D = day;
-        _h = hour;
-        _m = minute;
-        _s = second;
-        _fs = fraction == null ? GDate._zero : fraction;
-    }
-
-    /**
-     * Constructs a GDurationBuilder from another GDurationBuilderSpecification.
-     */
-    public GDurationBuilder(GDurationSpecification gDuration)
-    {
-        _sign = gDuration.getSign();
-        _CY = gDuration.getYear();
-        _M = gDuration.getMonth();
-        _D = gDuration.getDay();
-        _h = gDuration.getHour();
-        _m = gDuration.getMinute();
-        _s = gDuration.getSecond();
-        _fs = gDuration.getFraction();
-    }
-
-    /**
-     * Builds another GDurationBuilder with the same value
-     * as this one.
-     */
-    public Object clone()
-    {
-        return new GDurationBuilder(this);
-    }
-
-    /**
-     * Builds a GDuration from this GDurationBuilder.
-     */
-    public GDuration toGDuration()
-    {
-        return new GDuration(this);
-    }
-
-    /**
-     * Adds to this duration.  Does a fieldwise add, with no
-     * normalization.
-     */
-    public void addGDuration(GDurationSpecification duration)
-    {
-        int sign = _sign * duration.getSign();
-        _add(duration, sign);
-    }
-
-    /**
-     * Subtracts from this duration.  Does a fieldwise subtraction,
-     * with no normalization.
-     */
-    public void subtractGDuration(GDurationSpecification duration)
-    {
-        int sign = -_sign * duration.getSign();
-        _add(duration, sign);
-    }
-
-    private void _add(GDurationSpecification duration, int sign)
-    {
-        _CY += sign * duration.getYear();
-        _M += sign * duration.getMonth();
-        _D += sign * duration.getDay();
-        _h += sign * duration.getHour();
-        _m += sign * duration.getMinute();
-        _s += sign * duration.getSecond();
-
-        if (duration.getFraction().signum() == 0)
-            return;
-
-        if (_fs.signum() == 0 && sign == 1)
-            _fs = duration.getFraction();
-        else
-            _fs = sign > 0 ?
-                    _fs.add(duration.getFraction()) :
-                    _fs.subtract(duration.getFraction());
-    }
-
-    /**
-     * Sets the sign.
-     */
-    public final void setSign(int sign)
-    {
-        if (sign != 1 && sign != -1)
-            throw new IllegalArgumentException();
-        _sign = sign;
-    }
-
-    /**
-     * Sets the year component.
-     */
-    public void setYear(int year)
-        { _CY = year; }
-
-    /**
-     * Sets the month component.
-     */
-    public void setMonth(int month)
-        { _M = month; }
-
-    /**
-     * Sets the day component.
-     */
-    public void setDay(int day)
-        { _D = day;  }
-
-    /**
-     * Sets the hour component.
-     */
-    public void setHour(int hour)
-        { _h = hour;  }
-
-    /**
-     * Sets the minute component.
-     */
-    public void setMinute(int minute)
-        { _m = minute; }
-
-    /**
-     * Sets the second component.
-     */
-    public void setSecond(int second)
-        { _s = second; }
-
-    /**
-     * Sets the fraction-of-second component.
-     */
-    public void setFraction(BigDecimal fraction)
-        { _fs = fraction == null ? GDate._zero : fraction; }
-
-    /**
-     * All GDuration instances return true.
-     */
-    public final boolean isImmutable()
-    {
-        return true;
-    }
-
-    /**
-     * Returns the sign of the duration: +1 is forwards
-     * and -1 is backwards in time.
-     * This value does not necessarily reflect the
-     * true direction of the duration if the duration
-     * is not normalized or not normalizable.
-     */
-    public final int getSign()
-        { return _sign; }
-
-    /**
-     * Gets the year component.
-     */
-    public final int getYear()
-        { return _CY;  }
-
-    /**
-     * Gets the month-of-year component.
-     */
-    public final int getMonth()
-        { return _M;  }
-
-    /**
-     * Gets the day-of-month component.
-     */
-    public final int getDay()
-        { return _D; }
-
-    /**
-     * Gets the hour-of-day component.
-     */
-    public final int getHour()
-        { return _h; }
-
-    /**
-     * Gets the minute-of-hour component.
-     */
-    public final int getMinute()
-        { return _m; }
-
-    /**
-     * Gets the second-of-minute component.
-     */
-    public final int getSecond()
-        { return _s; }
-
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    public BigDecimal getFraction()
-        { return _fs; }
-
-    /**
-     * Returns true if all of the individual components
-     * of the duration are nonnegative.
-     */
-    public boolean isValid()
-    {
-        return GDurationBuilder.isValidDuration(this);
-    }
-
-
-    /**
-     * Normalize a duration value. This ensures that months,
-     * hours, minutes, seconds, and fractions are positive and
-     * within the ranges 0..11, 0..23, 0..59, etc. Negative
-     * durations are indicated by a negative sign rather
-     * than negative components.
-     * <p>
-     * Most duration specifications can be normalized to
-     * valid durations with all positive components, but
-     * not all of them can.
-     * <p>
-     * The only situations which cannot be normalized are
-     * where the year/month and the day/hour/minute/second
-     * offsets are of opposite sign. Days cannot be carried
-     * into months since the length of a Gregorian month is
-     * variable depending on when the duration is applied.
-     * In these cases, this method normalizes the components
-     * so that "day" is the only negative component.
-     */
-    public void normalize()
-    {
-        _normalizeImpl(true);
-    }
-
-    /**
-     * fQuotient(a, b) = the greatest integer less than or equal to a/b
-     */
-    private static final long _fQuotient(long a, int b)
-    {
-        if ((a < 0) == (b < 0))
-            return a / b;
-
-        return -((b - a - 1) / b);
-    }
-
-    /**
-     * modulo(a, b) = a - fQuotient(a,b)*b
-     */
-    private static final int _mod(long a, int b, long quotient)
-    {
-        return (int)(a - quotient*b) ;
-    }
-
-
-    /**
-     * Private implemenation of normalize. The flag is
-     * to facilitate this method calling itself without
-     * danger of infinite recursion.
-     */
-    private void _normalizeImpl(boolean adjustSign)
-    {
-        long temp;
-
-        // months to years
-        if (_M < 0 || _M > 11)
-        {
-            temp = _M;
-            long ycarry = _fQuotient(temp, 12);
-            _M = _mod(temp, 12, ycarry);
-            _CY += ycarry;
-        }
-
-        long carry = 0;
-
-        // fractions to seconds
-        if (_fs != null && (_fs.signum() < 0 || _fs.compareTo(GDate._one) >= 0))
-        {
-            BigDecimal bdcarry = _fs.setScale(0, BigDecimal.ROUND_FLOOR);
-            _fs = _fs.subtract(bdcarry);
-            carry = bdcarry.intValue();
-        }
-
-        if (carry != 0 || _s < 0 || _s > 59 || _m < 0 || _m > 50 || _h < 0 || _h > 23)
-        {
-            // seconds
-            temp = _s + carry;
-            carry = _fQuotient(temp, 60);
-            _s = _mod(temp, 60, carry);
-
-            // minutes
-            temp = _m + carry;
-            carry = _fQuotient(temp, 60);
-            _m = _mod(temp, 60, carry);
-
-            // hours
-            temp = _h + carry;
-            carry = _fQuotient(temp, 24);
-            _h = _mod(temp, 24, carry);
-            _D += carry;
-        }
-
-        if (_CY == 0 && _M == 0 && _D == 0 && _h == 0 && _m == 0 && _s == 0 && (_fs == null || _fs.signum() == 0))
-            _sign = 1;
-
-        if (adjustSign && (_D < 0 || _CY < 0))
-        {
-            int sign = (_D <= 0 && (_CY < 0 || _CY == 0 && _M == 0)) ? -_sign : _getTotalSignSlowly();
-            if (sign == 2)
-                sign = (_CY < 0) ? -_sign : _sign;
-            if (sign == 0)
-                sign = 1;
-            if (sign != _sign)
-            {
-                _sign = sign;
-                _CY = -_CY;
-                _M = -_M;
-                _D = -_D;
-                _h = -_h;
-                _m = -_m;
-                _s = -_s;
-                if (_fs != null)
-                    _fs = _fs.negate();
-            }
-            _normalizeImpl(false);
-        }
-    }
-
-
-    /* package */ static boolean isValidDuration(GDurationSpecification spec)
-    {
-        if (!(spec.getSign() == 1 || spec.getSign() == -1))
-            return false;
-
-        return (spec.getYear() >= 0 && spec.getMonth() >= 0 && spec.getDay() >= 0 &&
-                spec.getHour() >= 0 && spec.getMinute() >= 0  && spec.getSecond() >= 0 &&
-                spec.getFraction().signum() >= 0);
-    }
-
-    /**
-     * Comparison to another GDuration.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     */
-    public final int compareToGDuration(GDurationSpecification duration)
-    {
-        return GDurationBuilder.compareDurations(this, duration);
-    }
-
-    /**
-     * The natural string representation of the duration.
-     * <p>
-     * Any components that are zero are omitted. Note that if the duration
-     * is invalid, i.e., it has negative components, those negative
-     * components are serialized out here. To check for validity, use
-     * the isValid() method; and to normalize most durations to a valid
-     * form use the normalize() method.
-     */
-    public String toString()
-    {
-        return GDurationBuilder.formatDuration(this);
-    }
-
-    /* package */ static int compareDurations(GDurationSpecification d1, GDurationSpecification d2)
-    {
-        // first do an all-fields check
-        if (d1.getFraction().signum() == 0 && d2.getFraction().signum() == 0)
-        {
-            int s1 = d1.getSign();
-            int s2 = d2.getSign();
-            long month1 = s1 * ((long)d1.getYear() * 12 + d1.getMonth());
-            long month2 = s2 * ((long)d2.getYear() * 12 + d2.getMonth());
-            long sec1 = s1 * ((((long)d1.getDay() * 24 + d1.getHour()) * 60 + d1.getMinute()) * 60 + d1.getSecond());
-            long sec2 = s2 * ((((long)d2.getDay() * 24 + d2.getHour()) * 60 + d2.getMinute()) * 60 + d2.getSecond());
-            if (month1 == month2)
-            {
-                if (sec1 == sec2)
-                    return 0;
-                if (sec1 < sec2)
-                    return -1;
-                if (sec1 > sec2)
-                    return 1;
-            }
-            if (month1 < month2 && sec1 - sec2 < 28 * 24 * 60 * 60)
-                return -1;
-            if (month1 > month2 && sec2 - sec1 < 28 * 24 * 60 * 60)
-                return 1;
-        }
-
-        // the answer isn't obvious, so then do a total-sign check
-        GDurationBuilder diff = new GDurationBuilder(d1);
-        diff.subtractGDuration(d2);
-        return diff._getTotalSignSlowly();
-    }
-
-    /**
-     * Per schema spec, comparison of durations is simply done
-     * by calculating adding the duration to these four dates and
-     * comparing the results. If the results are ambiguous, the
-     * answer is "incomparable".
-     */
-    private static final GDate[] _compDate = new GDate[]
-    {
-        new GDate(1696, 9, 1, 0, 0, 0, null, 0, 0, 0),
-        new GDate(1697, 2, 1, 0, 0, 0, null, 0, 0, 0),
-        new GDate(1903, 3, 1, 0, 0, 0, null, 0, 0, 0),
-        new GDate(1903, 7, 1, 0, 0, 0, null, 0, 0, 0)
-    };
-
-
-    /**
-     * This returns the total sign of the duration, +1
-     * if the duration moves forward in time, -1 if the
-     * duration moves backwards in time, 0 if the duration
-     * is zero-length, and 2 if the duration may be positive
-     * or negative depending on the date.
-     *
-     * (For example, one month minus 30 days is indeterminate).
-     */
-    private int _getTotalSignSlowly()
-    {
-        int pos = 0;
-        int neg = 0;
-        int zer = 0;
-
-        GDateBuilder enddate = new GDateBuilder();
-        for (int i = 0; i < _compDate.length; i++)
-        {
-            enddate.setGDate(_compDate[i]);
-            enddate.addGDuration(this);
-            switch (enddate.compareToGDate(_compDate[i]))
-            {
-                case -1:
-                    neg++; break;
-                case 0:
-                    zer++; break;
-                case 1:
-                    pos++; break;
-            }
-        }
-
-        if (pos == _compDate.length)
-            return +1;
-        if (neg == _compDate.length)
-            return -1;
-        if (zer == _compDate.length)
-            return 0;
-        return 2;
-    }
-
-    /* package */ static String formatDuration(GDurationSpecification duration)
-    {
-        // Sign+P:      (-)?P
-        // Year:        (?:(\d+)Y)?
-        // Month:       (?:(\d+)M)?
-        // Day:         (?:(\d+)D)?
-        // Time:        (?:(T)
-        // Hours:          (?:(\d+)H)?
-        // Minutes:        (?:(\d+)M)?
-        // Seconds:        (?:(\d+(?:\.\d*)?|(?:.\d+)S)?
-
-        StringBuffer message = new StringBuffer(30);
-
-        if (duration.getSign() < 0)
-            message.append('-');
-
-        message.append('P');
-
-        if (duration.getYear() != 0)
-        {
-            message.append(duration.getYear());
-            message.append('Y');
-        }
-
-        if (duration.getMonth() != 0)
-        {
-            message.append(duration.getMonth());
-            message.append('M');
-        }
-
-        if (duration.getDay() != 0)
-        {
-            message.append(duration.getDay());
-            message.append('D');
-        }
-
-        if (duration.getHour() != 0 || duration.getMinute() != 0 || duration.getSecond() != 0 ||
-             (duration.getFraction().signum() != 0))
-        {
-            message.append('T');
-        }
-
-        if (duration.getHour() != 0)
-        {
-            message.append(duration.getHour());
-            message.append('H');
-        }
-
-        if (duration.getMinute() != 0)
-        {
-            message.append(duration.getMinute());
-            message.append('M');
-        }
-
-        if (duration.getFraction().signum() != 0)
-        {
-            BigDecimal s = duration.getFraction();
-            if (duration.getSecond() != 0)
-                s = s.add(BigDecimal.valueOf(duration.getSecond()));
-            message.append(s);
-            message.append('S');
-        }
-        else if (duration.getSecond() != 0)
-        {
-            message.append(duration.getSecond());
-            message.append('S');
-        }
-        else if (message.length() <= 2)
-            // Specify zero seconds if everything was 0
-            message.append("T0S");
-
-        return message.toString();
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/GDurationSpecification.java b/v2/src/xmlpublic/org/apache/xmlbeans/GDurationSpecification.java
deleted file mode 100644
index dcc5cff..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/GDurationSpecification.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigDecimal;
-
-/**
- * Represents an XML Schema-compatible duration.
- * <p>
- * Both the immutable GDuration and the mutable GDurationBuilder are
- * GDurationSpecifications.  Use this interface where you want to
- * allow callers to pass any implementation of a GDuration.
- * 
- * @see GDuration
- */
-public interface GDurationSpecification
-{
-    /**
-     * True if this instance is immutable.
-     */
-    boolean isImmutable();
-
-    /**
-     * Returns the sign of the duration: +1 is forwards
-     * and -1 is backwards in time.
-     */
-    int getSign();
-
-    /**
-     * Gets the year component.
-     */
-    int getYear();
-
-    /**
-     * Gets the month-of-year component.
-     */
-    int getMonth();
-
-    /**
-     * Gets the day-of-month component.
-     */
-    int getDay();
-
-    /**
-     * Gets the hour-of-day component.
-     */
-    int getHour();
-
-    /**
-     * Gets the minute-of-hour component.
-     */
-    int getMinute();
-
-    /**
-     * Gets the second-of-minute component.
-     */
-    int getSecond();
-
-    /**
-     * Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-     */
-    BigDecimal getFraction();
-
-    /**
-     * Returns true if all of the individual components
-     * of the duration are nonnegative.
-     */
-    boolean isValid();
-
-    /**
-     * Comparison to another GDuration.
-     * <ul>
-     * <li>Returns -1 if this < date. (less-than)
-     * <li>Returns 0 if this == date. (equal)
-     * <li>Returns 1 if this > date. (greater-than)
-     * <li>Returns 2 if this <> date. (incomparable)
-     * </ul>
-     * Two instances are incomparable if they have different amounts
-     * of information.
-     */
-    int compareToGDuration(GDurationSpecification duration);
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/Marshaller.java b/v2/src/xmlpublic/org/apache/xmlbeans/Marshaller.java
deleted file mode 100644
index 5a9b963..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/Marshaller.java
+++ /dev/null
@@ -1,375 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import java.io.OutputStream;
-
-/**
- * A Marshaller object is used to convert Java objects to XML documents.
- * The object is thread safe and stateless.
- */
-public interface Marshaller
-{
-
-    /**
-     * @deprecated use XmlOptions based method instead
-     *
-     * Get an XMLStreamReader object that represents the Java object as XML.
-     * Note that the object's contents are accessed on demand, so modifying
-     * the object while reading from the reader will produce undefined results.
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * As of this writing (11/22/2003), the returned reader will NOT contain
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * @param obj
-     * @param nscontext  initial NamespaceContext representing initial defined namespaces
-     * @return  XMLStreamReader representing the XML content
-     * @throws XmlException
-     */
-    XMLStreamReader marshal(Object obj,
-                            NamespaceContext nscontext)
-        throws XmlException;
-
-
-    /**
-     * Get an XMLStreamReader object that represents the Java object as XML.
-     * Note that the object's contents are accessed on demand, so modifying
-     * the object while reading from the reader will produce undefined results.
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * As of this writing (11/22/2003), the returned reader will NOT contain
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * <li>The encoding for the document, as described in
-     * {@link XmlOptions#setCharacterEncoding}.</li>
-     * </ul>
-     *
-     *
-     * @param obj
-     * @param options
-     * @return  XMLStreamReader representing the XML content
-     * @throws XmlException
-     */
-    XMLStreamReader marshal(Object obj,
-                            XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     * @param obj
-     * @param writer
-     * @throws XmlException
-     */
-    void marshal(XMLStreamWriter writer, Object obj)
-        throws XmlException;
-
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * <li>The encoding for the document, as described in
-     * {@link XmlOptions#setCharacterEncoding}.</li>
-     * </ul>B
-     *
-     *
-     * @param obj
-     * @param writer
-     * @param options
-     * @throws XmlException
-     */
-    void marshal(XMLStreamWriter writer, Object obj, XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Write an XML representation of the Java object to the provided output
-     * as a complete xml document using the default encoding
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * An XML Declaration will be written declaring the encoding if one was
-     * set via XmlOptions
-     *
-     * @param out
-     * @param obj
-     * @throws XmlException
-     */
-    void marshal(OutputStream out, Object obj)
-        throws XmlException;
-
-
-    /**
-     * Write an XML representation of the Java object to the provided output
-     * as a complete xml document using the default encoding
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * An XML Declaration will be written declaring the encoding if one was
-     * set via XmlOptions
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * <li>The encoding for the document, as described in
-     * {@link XmlOptions#setCharacterEncoding}.</li>
-     * <li>Whether to pretty print the output, as described in
-     * {@link XmlOptions#setSavePrettyPrint}.</li>
-     * <li>level of indenting when pretty printing, as described in
-     * {@link XmlOptions#setSavePrettyPrintIndent}.</li>
-     * </ul>
-     *
-     * @param out
-     * @param obj
-     * @param options
-     * @throws XmlException
-     */
-    void marshal(OutputStream out, Object obj, XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * @deprecated use XmlOptions based method instead
-     *
-     * Write an XML representation of the Java object to the provided output
-     * as a complete xml document
-     *
-     * The object is expected to correspond to a global element in a schema.
-     * The first matching global element will be used as the root element.
-     *
-     * An XML Declaration will be written declaring the encoding.
-     *
-     * @param out
-     * @param obj
-     * @param encoding      encoding used when writing the document
-     * @throws XmlException
-     */
-    void marshal(OutputStream out, Object obj, String encoding)
-        throws XmlException;
-
-
-    /**
-     * @deprecated use XmlOptions version
-     *
-     * Get an XMLStreamReader object that represents the given java type.
-
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-
-     * As of this writing (11/22/2003), the returned reader will NOT contain
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType   the java type in the format returned by Class.getName()
-     * @param namespaceContext
-     * @return
-     * @throws XmlException
-     */
-    XMLStreamReader marshalType(Object obj,
-                                QName elementName,
-                                QName schemaType,
-                                String javaType,
-                                NamespaceContext namespaceContext)
-        throws XmlException;
-
-
-    /**
-     * Get an XMLStreamReader object that represents the given java type.
-
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-
-     * As of this writing (11/22/2003), the returned reader will NOT contain
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    XMLStreamReader marshalType(Object obj,
-                                QName elementName,
-                                QName schemaType,
-                                String javaType,
-                                XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Get an XMLStreamReader object that represents the given java type.
-
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-
-     * As of this writing (11/22/2003), the returned reader will NOT contain
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param obj
-     * @param elementName  name of global element from a known schema
-     * @param javaType the java type in the format returned by Class.getName()
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    XMLStreamReader marshalElement(Object obj,
-                                   QName elementName,
-                                   String javaType,
-                                   XmlOptions options)
-        throws XmlException;
-
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     * @param writer
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @throws XmlException
-     */
-    void marshalType(XMLStreamWriter writer,
-                     Object obj,
-                     QName elementName,
-                     QName schemaType,
-                     String javaType)
-        throws XmlException;
-
-
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param writer
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @throws XmlException
-     */
-    void marshalType(XMLStreamWriter writer,
-                     Object obj,
-                     QName elementName,
-                     QName schemaType,
-                     String javaType,
-                     XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param writer
-     * @param obj
-     * @param elementName  name of global element from a known schema
-     * @param javaType the java type in the format returned by Class.getName()
-     * @throws XmlException
-     */
-    void marshalElement(XMLStreamWriter writer,
-                        Object obj,
-                        QName elementName,
-                        String javaType,
-                        XmlOptions options)
-        throws XmlException;
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/ObjectFactory.java b/v2/src/xmlpublic/org/apache/xmlbeans/ObjectFactory.java
deleted file mode 100644
index c978aad..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/ObjectFactory.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * generic interface to abstract creation of an object
- */
-public interface ObjectFactory
-{
-    /**
-     * Given the type, create an object of that type.  Note that the return object
-     * might be a subclass of type, but should always be an instanceof type.
-     *
-     * @param type   type of object to create
-     * @return  instance
-     */
-    Object createObject(Class type);
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/QNameCache.java b/v2/src/xmlpublic/org/apache/xmlbeans/QNameCache.java
deleted file mode 100644
index 4bf785f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/QNameCache.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * A cache that can be used to pool QName instances.  Each thread has one.
- */ 
-public final class QNameCache
-{
-    private static final float DEFAULT_LOAD = 0.70f;
-    private final float loadFactor;
-    private int numEntries = 0;
-    private int threshold;
-    private int hashmask;
-    private QName[] table;
-
-    /**
-     * Creates a QNameCache with the given initialCapacity and loadFactor.
-     * 
-     * @param initialCapacity the number of entries to initially make space for
-     * @param loadFactor a number to control the density of the hashtable
-     */ 
-    public QNameCache(int initialCapacity, float loadFactor)
-    {
-        assert initialCapacity > 0;
-        assert loadFactor > 0 && loadFactor < 1;
-
-        // Find a power of 2 >= initialCapacity
-        int capacity = 16;
-        while (capacity < initialCapacity) 
-            capacity <<= 1;
-    
-        this.loadFactor = loadFactor;
-        this.hashmask = capacity - 1;
-        threshold = (int)(capacity * loadFactor);
-        table = new QName[capacity];
-    }
-
-    /**
-     * Creates a QNameCache with the given initialCapacity.
-     * 
-     * @param initialCapacity the number of entries to initially make space for
-     */ 
-    public QNameCache(int initialCapacity)
-    {
-        this(initialCapacity, DEFAULT_LOAD);
-    }
-
-    public QName getName(String uri, String localName)
-    {
-        return getName( uri, localName, "" );
-    }
-    
-    /**
-     * Fetches a QName with the given namespace and localname.
-     * Creates one if one is not found in the cache.
-     * 
-     * @param uri the namespace
-     * @param localName the localname
-     * @param prefix the prefix
-     * @return the cached QName
-     */ 
-    public QName getName(String uri, String localName, String prefix)
-    {
-        /*
-        return new QName(uri, localName, prefix);
-        */
-        assert localName != null;
-        
-        if (uri == null) uri = "";
-        if (prefix == null) prefix = "";
-
-        int index = hash(uri, localName, prefix) & hashmask;
-        while (true) {
-            QName q = table[index];
-            if (q == null)
-            {
-                numEntries++;
-                if (numEntries >= threshold)
-                    rehash();
-
-                return table[index] = new QName(uri, localName, prefix);
-            }
-            else if (equals(q, uri, localName, prefix))
-                return q;
-            else 
-                index = (index-1) & hashmask;
-        }
-    }
-
-    private void rehash()
-    {
-        int newLength = table.length * 2;
-        QName[] newTable = new QName[newLength];
-        int newHashmask = newLength - 1;
-
-        for (int i = 0 ; i < table.length ; i++)
-        {
-            QName q = table[i];
-            if (q != null)
-            {
-                int newIndex =
-                    hash( q.getNamespaceURI(), q.getLocalPart(), q.getPrefix() ) & newHashmask;
-                
-                while (newTable[newIndex] != null)
-                    newIndex = (newIndex - 1) & newHashmask;
-                
-                newTable[newIndex] = q;
-            }
-        }
-
-        table = newTable;
-        hashmask = newHashmask;
-        threshold = (int) (newLength * loadFactor);
-    }
-    
-    private static int hash(String uri, String localName, String prefix)
-    {
-        int h = 0;
-
-        h += prefix.hashCode() << 10;
-        h += uri.hashCode() << 5;
-        h += localName.hashCode();
-
-        return h;
-    }
-
-    private static boolean equals(QName q, String uri, String localName, String prefix)
-    {
-        return
-            q.getLocalPart().equals(localName) &&
-                q.getNamespaceURI().equals(uri) &&
-                    q.getPrefix().equals(prefix);
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSet.java b/v2/src/xmlpublic/org/apache/xmlbeans/QNameSet.java
deleted file mode 100644
index c114585..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSet.java
+++ /dev/null
@@ -1,447 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Collections;
-import java.util.Arrays;
-
-/**
- * This interface represents a lattice of finite and infinite sets of QNames.
- * The lattice the minimal one that is closed under union, intersection, and
- * inverse, and contains individual QNames as well as entire namespaces.
- * Here is a summary of the two kinds of QNameSets:
- * <ul>
- * <li>A QNameSet can cover a finite set of namespaces, additionally including a finite
- *     set of QNames outside those namespaces, and with the exception of
- *     a finite set of QNames excluded from those namespaes:
- *   <ul>
- *   <li>excludedQNamesInIncludedURIs == the set of excluded QNames from coveredURIs namespaces
- *   <li>excludedURIs == null
- *   <li>includedURIs == the set of covered namespace URIs
- *   <li>includedQNamesInExcludedURIs == set of additional QNames outside coveredURIs namespaces
- *   </ul>
- * </li>
- * <li>A QNameSet can cover all namespaces except for a finite number of excluded ones,
- *     additionally including a finite set of QNames within the excluded namespaces,
- *     and with the exception of a finite set of QNames outside the excluded namespaces:
- *   <ul>
- *   <li>excludedQNamesInIncludedURIs == the set of excluded QNames outside uncoveredURIs namespaces
- *   <li>excludedURIs == the set of uncovered namespace URIs
- *   <li>includedURIs == null
- *   <li>includedQNamesInExcludedURIs == set of additional QNames from uncoveredURIs namespaces
- *   </ul>
- * </li>
- * </ul>
- * <p>
- * Notice that a finite set of QNames is a degenerate case of the first
- * category outlined above:
- * <ul>
- * <li>A QnameSet can contain a finite number of QNames:
- *   <ul>
- *   <li>excludedQNamesInIncludedURIs == null
- *   <li>excludedURIs == null
- *   <li>includedURIs == empty set
- *   <li>includedQNamesInExcludedURIs == set of included QNames
- *   </ul>
- * </li>
- * </ul>
- *
- * @see QNameSetBuilder
- */
-public final class QNameSet implements QNameSetSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private final boolean _inverted;
-    private final Set _includedURIs;
-    private final Set _excludedQNames;
-    private final Set _includedQNames;
-
-    /**
-     * The empty QNameSet.
-     */
-    public static final QNameSet EMPTY = new QNameSet(null, Collections.EMPTY_SET, Collections.EMPTY_SET, Collections.EMPTY_SET);
-
-    /**
-     * The QNameSet containing all QNames.
-     */
-    public static final QNameSet ALL = new QNameSet(Collections.EMPTY_SET, null, Collections.EMPTY_SET, Collections.EMPTY_SET);
-
-    /**
-     * The QNameSet containing all QNames in the local (no-)namespace.
-     */
-    public static final QNameSet LOCAL = new QNameSet(null, Collections.singleton(""), Collections.EMPTY_SET, Collections.EMPTY_SET);
-
-    /**
-     * The QNameSet containing all QNames except for those in the local (no-)namespace.
-     */
-    public static final QNameSet NONLOCAL = new QNameSet(Collections.singleton(""), null, Collections.EMPTY_SET, Collections.EMPTY_SET);
-
-    /**
-     * Private function to minimize object creation when copying sets.
-     */
-    private static Set minSetCopy(Set original)
-    {
-        if (original == null)
-            return null;
-        if (original.isEmpty())
-            return Collections.EMPTY_SET;
-        if (original.size() == 1)
-            return Collections.singleton(original.iterator().next());
-        return new HashSet(original);
-    }
-
-    /**
-     * Returns a QNameSet based on the given sets of excluded URIs,
-     * included URIs, excluded QNames in included namespaces, and included
-     * QNames in excluded namespaces.
-     * 
-     * @param excludedURIs the finite set of namespace URI strings to exclude from the set, or null if this set is infinite
-     * @param includedURIs the finite set of namespace URI strings to include in the set, or null if this set is infinite
-     * @param excludedQNamesInIncludedURIs the finite set of exceptional QNames to exclude from the included namespaces
-     * @param excludedQNamesInIncludedURIs the finite set of exceptional QNames to include that are in the excluded namespaces
-     * 
-     * @return the constructed QNameSet
-     */
-    public static QNameSet forSets(Set excludedURIs, Set includedURIs, Set excludedQNamesInIncludedURIs, Set includedQNamesInExcludedURIs)
-    {
-        if ((excludedURIs != null) == (includedURIs != null))
-            throw new IllegalArgumentException("Exactly one of excludedURIs and includedURIs must be null");
-
-        if (excludedURIs == null && includedURIs.isEmpty() && includedQNamesInExcludedURIs.isEmpty())
-            return EMPTY;
-        if (includedURIs == null && excludedURIs.isEmpty() && excludedQNamesInIncludedURIs.isEmpty())
-            return ALL;
-        if (excludedURIs == null && includedURIs.size() == 1 && includedURIs.contains("") &&
-            includedQNamesInExcludedURIs.isEmpty() && excludedQNamesInIncludedURIs.isEmpty())
-            return LOCAL;
-        if (includedURIs == null && excludedURIs.size() == 1 && excludedURIs.contains("") &&
-            excludedQNamesInIncludedURIs.isEmpty() && includedQNamesInExcludedURIs.isEmpty())
-            return NONLOCAL;
-
-        return new QNameSet(
-                minSetCopy(excludedURIs),
-                minSetCopy(includedURIs),
-                minSetCopy(excludedQNamesInIncludedURIs),
-                minSetCopy(includedQNamesInExcludedURIs));
-    }
-
-    /**
-     * Returns a QNameSet based on the given array of included QNames
-     * 
-     * @param includedQNames the array of included QNames
-     */
-    public static QNameSet forArray(QName[] includedQNames)
-    {
-        if (includedQNames == null)
-            throw new IllegalArgumentException("includedQNames cannot be null");
-
-        return new QNameSet(null, new HashSet(), null, new HashSet(Arrays.asList(includedQNames)));
-    }
-
-    /**
-     * Returns a QNameSet with the same contents as the given
-     * QNameSetSpecification.
-     * @return the copied QNameSet
-     */
-    public static QNameSet forSpecification(QNameSetSpecification spec)
-    {
-        if (spec instanceof QNameSet)
-            return (QNameSet)spec;
-        return QNameSet.forSets(spec.excludedURIs(), spec.includedURIs(), spec.excludedQNamesInIncludedURIs(), spec.includedQNamesInExcludedURIs());
-    }
-
-    /**
-     * Returns a QNameSet corresponding to the given wildcard namespace string.
-     * This is a space-separated list of URIs, plus special tokens as specified
-     * in the XML Schema specification (##any, ##other, ##targetNamespace, ##local).
-     * @return the constructed QNameSet
-     */
-    public static QNameSet forWildcardNamespaceString(String wildcard, String targetURI)
-    {
-        return QNameSet.forSpecification(new QNameSetBuilder(wildcard, targetURI));
-    }
-
-    /**
-     * Returns a QNameSet containing only the given QName.
-     * @return the constructed QNameSet
-     */
-    public static QNameSet singleton(QName name)
-    {
-        return new QNameSet(null, Collections.EMPTY_SET, Collections.EMPTY_SET, Collections.singleton(name));
-    }
-
-    /**
-     * Constructs a QNameSetBuilder whose contents are given by
-     * the four sets.
-     *
-     * This constuctor is PRIVATE because it uses the given
-     * sets directly, and it trusts its callers to set only immutable values.
-     * This constructor is is only called by the static builder methods on
-     * QNameSet: those methods are all careful assign only unchanging sets.
-     */
-    private QNameSet(Set excludedURIs, Set includedURIs, Set excludedQNamesInIncludedURIs, Set includedQNamesInExcludedURIs)
-    {
-        if (includedURIs != null && excludedURIs == null)
-        {
-            _inverted = false;
-            _includedURIs = includedURIs;
-            _excludedQNames = excludedQNamesInIncludedURIs;
-            _includedQNames = includedQNamesInExcludedURIs;
-        }
-        else if (excludedURIs != null && includedURIs == null)
-        {
-            _inverted = true;
-            _includedURIs = excludedURIs;
-            _excludedQNames = includedQNamesInExcludedURIs;
-            _includedQNames = excludedQNamesInIncludedURIs;
-        }
-        else
-            throw new IllegalArgumentException("Exactly one of excludedURIs and includedURIs must be null");
-    }
-
-    /**
-     * Local xml names are hased using "" as the namespace.
-     */
-    private static String nsFromName(QName xmlName)
-    {
-        String ns = xmlName.getNamespaceURI();
-        return ns == null ? "" : ns;
-    }
-
-    /**
-     * True if this ModelTransitionSet contains the given qname.
-     */
-    public boolean contains(QName name)
-    {
-        boolean in = _includedURIs.contains(nsFromName(name)) ?
-                     !_excludedQNames.contains(name) :
-                      _includedQNames.contains(name);
-        return _inverted ^ in;
-    }
-
-    /**
-     * True if this ModelTransitionSet contains all QNames.
-     */
-    public boolean isAll()
-    {
-        return _inverted && _includedURIs.isEmpty() && _includedQNames.isEmpty();
-    }
-
-    /**
-     * True if this ModelTransitionSet contains no QNames.
-     */
-    public boolean isEmpty()
-    {
-        return !_inverted && _includedURIs.isEmpty() && _includedQNames.isEmpty();
-    }
-
-    /**
-     * Returns a new QNameSet that is the intersection of this one and another.
-     * @param set the set to insersect with
-     * @return the intersection
-     */
-    public QNameSet intersect(QNameSetSpecification set)
-    {
-        QNameSetBuilder result = new QNameSetBuilder(this);
-        result.restrict(set);
-        return result.toQNameSet();
-    }
-
-    /**
-     * Returns a new QNameSet that is the union of this one and another.
-     * @param set the set to union with
-     * @return the union
-     */
-    public QNameSet union(QNameSetSpecification set)
-    {
-        QNameSetBuilder result = new QNameSetBuilder(this);
-        result.addAll(set);
-        return result.toQNameSet();
-    }
-
-    /**
-     * Returns a new QNameSet that is the inverse of this one.
-     */
-    public QNameSet inverse()
-    {
-        if (this == EMPTY)
-            return ALL;
-        if (this == ALL)
-            return EMPTY;
-        if (this == LOCAL)
-            return NONLOCAL;
-        if (this == NONLOCAL)
-            return LOCAL;
-        return new QNameSet(includedURIs(), excludedURIs(), includedQNamesInExcludedURIs(), excludedQNamesInIncludedURIs());
-    }
-
-    /**
-     * True if the given set is a subset of this one.
-     * @param set the set to test
-     * @return true if this contains all QNames contained by the given set
-     */
-    public boolean containsAll(QNameSetSpecification set)
-    {
-        // a.contains(b) == a.inverse.isDisjoint(b)
-        if (!_inverted && set.excludedURIs() != null)
-            return false;
-        
-        return inverse().isDisjoint(set);
-    }
-
-    /**
-     * True if the given set is disjoint from this one.
-     * @param set the set to test
-     * @return true if the set is disjoint from this set
-     */
-    public boolean isDisjoint(QNameSetSpecification set)
-    {
-        if (_inverted && set.excludedURIs() != null)
-            return false;
-
-        if (_inverted)
-            return isDisjointImpl(set, this);
-        else
-            return isDisjointImpl(this, set);
-    }
-    
-    private boolean isDisjointImpl(QNameSetSpecification set1, QNameSetSpecification set2)
-    {
-        Set includeURIs = set1.includedURIs();
-        Set otherIncludeURIs = set2.includedURIs();
-        if (otherIncludeURIs != null)
-        {
-            for (Iterator i = includeURIs.iterator(); i.hasNext(); )
-            {
-                if (otherIncludeURIs.contains(i.next()))
-                    return false;
-            }
-        }
-        else
-        {
-            Set otherExcludeURIs = set2.excludedURIs();
-            for (Iterator i = includeURIs.iterator(); i.hasNext(); )
-            {
-                if (!otherExcludeURIs.contains(i.next()))
-                    return false;
-            }
-        }
-
-        for (Iterator i = set1.includedQNamesInExcludedURIs().iterator(); i.hasNext(); )
-        {
-            if (set2.contains((QName)i.next()))
-                return false;
-        }
-
-        if (includeURIs.size() > 0)
-            for (Iterator i = set2.includedQNamesInExcludedURIs().iterator(); i.hasNext(); )
-        {
-            if (set1.contains((QName)i.next()))
-                return false;
-        }
-
-        return true;
-    }
-
-    
-    /**
-     * Namespaces that are fully excluded from the set except for a finite
-     * number of individual QName exceptions.  Returns null if this set is infinite.
-     * @return the set of excluded namespace URI strings
-     */ 
-    public Set excludedURIs()
-    {
-        if (_inverted) return Collections.unmodifiableSet(_includedURIs);
-        return null;
-    }
-
-    /**
-     * Namespaces that are fully included in set except for a finite
-     * number of individual QName exceptions. Returns null if this set is infinite.
-     * @return the set of included namespace URI strings
-     */ 
-    public Set includedURIs()
-    {
-        if (!_inverted) return _includedURIs;
-        return null;
-    }
-    
-    /**
-     * The set of QNames excluded from the set even though they are within
-     * a namespace that is otherwise fully included in the set.
-     * @return the set of excluded QNames from within includedURI namespaces
-     */ 
-    public Set excludedQNamesInIncludedURIs()
-    {
-        return Collections.unmodifiableSet(_inverted ? _includedQNames : _excludedQNames);
-    }
-
-    /**
-     * The set of QNames included in the set even though they are within
-     * a namespace that is otherwise fully included in the set.
-     * @return the set of included QNames from within excludedURI namespaces
-     */ 
-    public Set includedQNamesInExcludedURIs()
-    {
-        return Collections.unmodifiableSet(_inverted ? _excludedQNames : _includedQNames);
-    }
-    
-    private String prettyQName(QName name)
-    {
-        if (name.getNamespaceURI() == null)
-            return name.getLocalPart();
-        return name.getLocalPart() + "@" + name.getNamespaceURI();
-    }
-
-    /**
-     * Returns a string representation useful for debugging, subject to change.
-     */ 
-    public String toString()
-    {
-        StringBuffer sb = new StringBuffer();
-        sb.append("QNameSet");
-        sb.append(_inverted ? "-(" : "+(");
-        for (Iterator i = _includedURIs.iterator(); i.hasNext(); )
-        {
-            sb.append("+*@");
-            sb.append(i.next());
-            sb.append(", ");
-        }
-        for (Iterator i = _excludedQNames.iterator(); i.hasNext(); )
-        {
-            sb.append("-");
-            sb.append(prettyQName((QName)i.next()));
-            sb.append(", ");
-        }
-        for (Iterator i = _includedQNames.iterator(); i.hasNext(); )
-        {
-            sb.append("+");
-            sb.append(prettyQName((QName)i.next()));
-            sb.append(", ");
-        }
-        int index = sb.lastIndexOf(", ");
-        if (index > 0)
-            sb.setLength(index);
-        sb.append(')');
-        return sb.toString();
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetBuilder.java b/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetBuilder.java
deleted file mode 100644
index 2594561..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetBuilder.java
+++ /dev/null
@@ -1,721 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * Used to build {@link QNameSet QNameSets}.
- */ 
-public class QNameSetBuilder implements QNameSetSpecification, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private boolean _inverted;
-    private Set _includedURIs;
-    private Set _excludedQNames;
-    private Set _includedQNames;
-
-    /**
-     * Constructs an empty QNameSetBuilder.
-     */
-    public QNameSetBuilder()
-    {
-        _inverted = false;
-        _includedURIs = new HashSet();
-        _excludedQNames = new HashSet();
-        _includedQNames = new HashSet();
-    }
-
-    /**
-     * Constructs a QNameSetBuilder whose initial contents are given by
-     * another QNameSetSpecification.
-     * @param set the QNameSetSpecificaiton to copy
-     */
-    public QNameSetBuilder(QNameSetSpecification set)
-    {
-        Set includedURIs = set.includedURIs();
-        if (includedURIs != null)
-        {
-            _inverted = false;
-            _includedURIs = new HashSet(includedURIs);
-            _excludedQNames = new HashSet(set.excludedQNamesInIncludedURIs());
-            _includedQNames = new HashSet(set.includedQNamesInExcludedURIs());
-        }
-        else
-        {
-            _inverted = true;
-            _includedURIs = new HashSet(set.excludedURIs());
-            _excludedQNames = new HashSet(set.includedQNamesInExcludedURIs());
-            _includedQNames = new HashSet(set.excludedQNamesInIncludedURIs());
-        }
-    }
-
-    /**
-     * Constructs a QNameSetBuilder whose inital contents are given by
-     * the four sets.  Exactly one of either excludedURIs or includedURIs must
-     * be non-null.
-     * 
-     * @param excludedURIs the finite set of namespace URI strings to exclude from the set, or null if this set is infinite
-     * @param includedURIs the finite set of namespace URI strings to include in the set, or null if this set is infinite
-     * @param excludedQNamesInIncludedURIs the finite set of exceptional QNames to exclude from the included namespaces
-     * @param excludedQNamesInIncludedURIs the finite set of exceptional QNames to include that are in the excluded namespaces
-     */
-    public QNameSetBuilder(Set excludedURIs, Set includedURIs, Set excludedQNamesInIncludedURIs, Set includedQNamesInExcludedURIs)
-    {
-        if (includedURIs != null && excludedURIs == null)
-        {
-            _inverted = false;
-            _includedURIs = new HashSet(includedURIs);
-            _excludedQNames = new HashSet(excludedQNamesInIncludedURIs);
-            _includedQNames = new HashSet(includedQNamesInExcludedURIs);
-        }
-        else if (excludedURIs != null && includedURIs == null)
-        {
-            _inverted = true;
-            _includedURIs = new HashSet(excludedURIs);
-            _excludedQNames = new HashSet(includedQNamesInExcludedURIs);
-            _includedQNames = new HashSet(excludedQNamesInIncludedURIs);
-        }
-        else
-            throw new IllegalArgumentException("Exactly one of excludedURIs and includedURIs must be null");
-    }
-
-
-    /**
-     * Constructs a QNameSetBuilder whose initial contents are given
-     * as a list of namespace URIs, using the same format used by wildcards
-     * in XSD files.
-     * 
-     * @param str a wildcard namespace specification string such as "##any",
-     *        "##other", "##local", "##targetNamespace", or a space-separated
-     *        list of URIs.
-     * @param targetURI the current targetNamespace
-     */
-    public QNameSetBuilder(String str, String targetURI)
-    {
-        this();
-
-        if (str == null)
-            str = "##any";
-
-        String[] uri = splitList(str);
-        for (int i = 0; i < uri.length; i++)
-        {
-            String adduri = uri[i];
-            if (adduri.startsWith("##"))
-            {
-                if (adduri.equals("##other"))
-                {
-                    if (targetURI == null)
-                        throw new IllegalArgumentException();
-                    QNameSetBuilder temp = new QNameSetBuilder();
-                    temp.addNamespace(targetURI);
-                    temp.addNamespace("");
-                    temp.invert();
-                    addAll(temp);
-                    continue;
-                }
-                else if (adduri.equals("##any"))
-                {
-                    clear();
-                    invert();
-                    continue;
-                }
-                else if (uri[i].equals("##targetNamespace"))
-                {
-                    if (targetURI == null)
-                        throw new IllegalArgumentException();
-                    adduri = targetURI;
-                }
-                else if (uri[i].equals("##local"))
-                {
-                    adduri = "";
-                }
-            }
-            addNamespace(adduri);
-        }
-    }
-    
-    /**
-     * Local xml names are hased using "" as the namespace.
-     */
-    private static String nsFromName(QName QName)
-    {
-        String ns = QName.getNamespaceURI();
-        return ns == null ? "" : ns;
-    }
-    
-    private static final String[] EMPTY_STRINGARRAY = new String[0];
-    
-    private static boolean isSpace(char ch)
-    {
-        switch (ch)
-        {
-            case ' ':
-            case '\t':
-            case '\r':
-            case '\n':
-                return true;
-            default:
-                return false;
-        }
-    }
-
-    private static String[] splitList(String s)
-    {
-        if (s.length() == 0)
-            return EMPTY_STRINGARRAY;
-                
-        List result = new ArrayList();
-        int i = 0;
-        int start = 0;
-        for (;;)
-        {
-            while (i < s.length() && isSpace(s.charAt(i)))
-                i += 1;
-            if (i >= s.length())
-                return (String[])result.toArray(EMPTY_STRINGARRAY);
-            start = i;
-            while (i < s.length() && !isSpace(s.charAt(i)))
-                i += 1;
-            result.add(s.substring(start, i));
-        }
-    }
-    
-    /**
-     * Remove all xml names from qnameset whose namespace matches the uri.
-     */
-    private static void removeAllMatchingNs(String uri, Set qnameset)
-    {
-        for (Iterator i = qnameset.iterator(); i.hasNext(); )
-        {
-            if (uri.equals(nsFromName((QName)i.next())))
-                i.remove();
-        }
-    }
-
-    /**
-     * Remove all xml names from qnameset whose namespace is in the
-     * first set of uris but not the second.
-     */
-    private static void removeAllMatchingFirstOnly(Set setFirst, Set setSecond, Set qnameset)
-    {
-        for (Iterator i = qnameset.iterator(); i.hasNext(); )
-        {
-            String ns = nsFromName((QName)i.next());
-            if (setFirst.contains(ns) && !setSecond.contains(ns))
-                i.remove();
-        }
-    }
-
-    /**
-     * Remove all xml names from qnameset whose namespace is in both
-     * sets of uris.
-     */
-    private static void removeAllMatchingBoth(Set setFirst, Set setSecond, Set qnameset)
-    {
-        for (Iterator i = qnameset.iterator(); i.hasNext(); )
-        {
-            String ns = nsFromName((QName)i.next());
-            if (setFirst.contains(ns) && setSecond.contains(ns))
-                i.remove();
-        }
-    }
-
-    /**
-     * Remove all xml names from qnameset whose namespace is in neither
-     * set of uris.
-     */
-    private static void removeAllMatchingNeither(Set setFirst, Set setSecond, Set qnameset)
-    {
-        for (Iterator i = qnameset.iterator(); i.hasNext(); )
-        {
-            String ns = nsFromName((QName)i.next());
-            if (!setFirst.contains(ns) && !setSecond.contains(ns))
-                i.remove();
-        }
-    }
-
-    /**
-     * True if this ModelTransitionSet contains the given qname.
-     */
-    public boolean contains(QName name)
-    {
-        boolean in = _includedURIs.contains(nsFromName(name)) ?
-                     !_excludedQNames.contains(name) :
-                      _includedQNames.contains(name);
-        return _inverted ^ in;
-    }
-
-    /**
-     * True if this ModelTransitionSet contains all QNames.
-     */
-    public boolean isAll()
-    {
-        return _inverted && _includedURIs.size() == 0 && _includedQNames.size() == 0;
-    }
-
-    /**
-     * True if this ModelTransitionSet contains no QNames.
-     */
-    public boolean isEmpty()
-    {
-        return !_inverted && _includedURIs.size() == 0 && _includedQNames.size() == 0;
-    }
-
-    /**
-     * Returns a new QNameSet that is the intersection of this one and another.
-     */
-    public QNameSet intersect(QNameSetSpecification set)
-    {
-        QNameSetBuilder result = new QNameSetBuilder(this);
-        result.restrict(set);
-        return result.toQNameSet();
-    }
-
-    /**
-     * Returns a new QNameSet that is the union of this one and another.
-     */
-    public QNameSet union(QNameSetSpecification set)
-    {
-        QNameSetBuilder result = new QNameSetBuilder(this);
-        result.addAll(set);
-        return result.toQNameSet();
-    }
-
-    /**
-     * Returns a new QNameSet that is the inverse of this one.
-     */
-    public QNameSet inverse()
-    {
-        return QNameSet.forSets(includedURIs(), excludedURIs(), includedQNamesInExcludedURIs(), excludedQNamesInIncludedURIs());
-    }
-
-    /**
-     * True if the parameter is a subset of this set.
-     */
-    public boolean containsAll(QNameSetSpecification set)
-    {
-        if (!_inverted && set.excludedURIs() != null)
-            return false;
-        
-        return inverse().isDisjoint(set);
-    }
-
-    /**
-     * True if the given set is disjoint from this one.
-     */
-    public boolean isDisjoint(QNameSetSpecification set)
-    {
-        if (_inverted && set.excludedURIs() != null)
-            return false;
-
-        if (_inverted)
-            return isDisjointImpl(set, this);
-        else
-            return isDisjointImpl(this, set);
-    }
-
-    private boolean isDisjointImpl(QNameSetSpecification set1, QNameSetSpecification set2)
-    {
-        Set includeURIs = set1.includedURIs();
-        Set otherIncludeURIs = set2.includedURIs();
-        if (otherIncludeURIs != null)
-        {
-            for (Iterator i = includeURIs.iterator(); i.hasNext(); )
-            {
-                if (otherIncludeURIs.contains(i.next()))
-                    return false;
-            }
-        }
-        else
-        {
-            Set otherExcludeURIs = set2.excludedURIs();
-            for (Iterator i = includeURIs.iterator(); i.hasNext(); )
-            {
-                if (!otherExcludeURIs.contains(i.next()))
-                    return false;
-            }
-        }
-
-        for (Iterator i = set1.includedQNamesInExcludedURIs().iterator(); i.hasNext(); )
-        {
-            if (set2.contains((QName)i.next()))
-                return false;
-        }
-
-        if (includeURIs.size() > 0)
-            for (Iterator i = set2.includedQNamesInExcludedURIs().iterator(); i.hasNext(); )
-        {
-            if (set1.contains((QName)i.next()))
-                return false;
-        }
-
-        return true;
-    }
-
-
-    /**
-     * Clears this QNameSetBuilder
-     */
-    public void clear()
-    {
-        _inverted = false;
-        _includedURIs.clear();
-        _excludedQNames.clear();
-        _includedQNames.clear();
-    }
-
-    /**
-     * Inverts this QNameSetBuilder.
-     */
-    public void invert()
-    {
-        _inverted = !_inverted;
-    }
-
-    /**
-     * Adds a single QName to this QNameSetBuilder.
-     */
-    public void add(QName qname)
-    {
-        if (!_inverted)
-            addImpl(qname);
-        else
-            removeImpl(qname);
-    }
-
-    /**
-     * Adds an entire namespace URI of QNames to this QNameSetBuilder.
-     * The empty string is used to signifiy the (local) no-namespace.
-     */
-    public void addNamespace(String uri)
-    {
-        if (!_inverted)
-            addNamespaceImpl(uri);
-        else
-            removeNamespaceImpl(uri);
-    }
-
-    /**
-     * Adds the contents of another QNameSet to this QNameSetBuilder.
-     */
-    public void addAll(QNameSetSpecification set)
-    {
-        if (_inverted)
-            removeAllImpl(set.includedURIs(), set.excludedURIs(), set.includedQNamesInExcludedURIs(), set.excludedQNamesInIncludedURIs());
-        else
-            addAllImpl(set.includedURIs(), set.excludedURIs(), set.includedQNamesInExcludedURIs(), set.excludedQNamesInIncludedURIs());
-    }
-
-    /**
-     * Removes the given qname from this QNameSetBuilder.
-     */
-    public void remove(QName qname)
-    {
-        if (_inverted)
-            addImpl(qname);
-        else
-            removeImpl(qname);
-    }
-
-    /**
-     * Removes an entire namespace URI from this QNameSetBuilder.
-     */
-    public void removeNamespace(String uri)
-    {
-        if (_inverted)
-            addNamespaceImpl(uri);
-        else
-            removeNamespaceImpl(uri);
-    }
-
-    /**
-     * Removes all contents of a given QNameSet from this QNameSetBuilder.
-     */
-    public void removeAll(QNameSetSpecification set)
-    {
-        if (_inverted)
-            addAllImpl(set.includedURIs(), set.excludedURIs(), set.includedQNamesInExcludedURIs(), set.excludedQNamesInIncludedURIs());
-        else
-            removeAllImpl(set.includedURIs(), set.excludedURIs(), set.includedQNamesInExcludedURIs(), set.excludedQNamesInIncludedURIs());
-    }
-
-    /**
-     * Restricts the contents of this QNameSetBuilder to be a subset of the
-     * given QNameSet. In other words, computes an intersection.
-     */
-    public void restrict(QNameSetSpecification set)
-    {
-        if (_inverted)
-            addAllImpl(set.excludedURIs(), set.includedURIs(), set.excludedQNamesInIncludedURIs(), set.includedQNamesInExcludedURIs());
-        else
-            removeAllImpl(set.excludedURIs(), set.includedURIs(), set.excludedQNamesInIncludedURIs(), set.includedQNamesInExcludedURIs());
-    }
-
-    /**
-     * Implementation of add(qname) that ignores inversion.
-     */
-    private void addImpl(QName qname)
-    {
-        if (_includedURIs.contains(nsFromName(qname)))
-            _excludedQNames.remove(qname);
-        else
-            _includedQNames.add(qname);
-    }
-
-    /**
-     * Implementation of add(ns) that ignores inversion.
-     */
-    private void addNamespaceImpl(String uri)
-    {
-        if (_includedURIs.contains(uri))
-        {
-            removeAllMatchingNs(uri, _excludedQNames);
-        }
-        else
-        {
-            removeAllMatchingNs(uri, _includedQNames);
-            _includedURIs.add(uri);
-        }
-    }
-
-    /**
-     * Implementation of add(set) that ignores inversion.
-     */
-    private void addAllImpl(Set includedURIs, Set excludedURIs, Set includedQNames, Set excludedQNames)
-    {
-        boolean exclude = (excludedURIs != null);
-        Set specialURIs = exclude ? excludedURIs : includedURIs;
-
-        for (Iterator i = _excludedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if ((exclude ^ specialURIs.contains(uri)) && !excludedQNames.contains(name))
-                i.remove();
-        }
-
-        for (Iterator i = excludedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if (!_includedURIs.contains(uri) && !_includedQNames.contains(name))
-                _excludedQNames.add(name);
-        }
-
-        for (Iterator i = includedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if (!_includedURIs.contains(uri))
-                _includedQNames.add(name);
-            else
-                _excludedQNames.remove(name);
-        }
-
-        if (!exclude)
-        {
-            removeAllMatchingFirstOnly(includedURIs, _includedURIs, _includedQNames);
-            _includedURIs.addAll(includedURIs);
-        }
-        else
-        {
-            removeAllMatchingNeither(excludedURIs, _includedURIs, _includedQNames);
-            for (Iterator i = _includedURIs.iterator(); i.hasNext(); )
-            {
-                String uri = (String)i.next();
-                if (!excludedURIs.contains(uri))
-                    i.remove();
-            }
-
-            for (Iterator i = excludedURIs.iterator(); i.hasNext(); )
-            {
-                String uri = (String)i.next();
-                if (!_includedURIs.contains(uri))
-                    _includedURIs.add(uri);
-                else
-                    _includedURIs.remove(uri);
-            }
-            Set temp = _excludedQNames;
-            _excludedQNames = _includedQNames;
-            _includedQNames = temp;
-            _inverted = !_inverted;
-        }
-    }
-
-    /**
-     * Implementation of remove(qname) that ignores inversion.
-     */
-    private void removeImpl(QName qname)
-    {
-        if (_includedURIs.contains(nsFromName(qname)))
-            _excludedQNames.add(qname);
-        else
-            _includedQNames.remove(qname);
-    }
-
-    /**
-     * Implementation of remove(ns) that ignores inversion.
-     */
-    private void removeNamespaceImpl(String uri)
-    {
-        if (_includedURIs.contains(uri))
-        {
-            removeAllMatchingNs(uri, _excludedQNames);
-            _includedURIs.remove(uri);
-        }
-        else
-        {
-            removeAllMatchingNs(uri, _includedQNames);
-        }
-    }
-
-    /**
-     * Implementation of remove(set) that ignores inversion.
-     */
-    private void removeAllImpl(Set includedURIs, Set excludedURIs, Set includedQNames, Set excludedQNames)
-    {
-        boolean exclude = (excludedURIs != null);
-        Set specialURIs = exclude ? excludedURIs : includedURIs;
-
-        for (Iterator i = _includedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if (exclude ^ specialURIs.contains(uri))
-            {
-                if (!excludedQNames.contains(name))
-                    i.remove();
-            }
-            else
-            {
-                if (includedQNames.contains(name))
-                    i.remove();
-            }
-        }
-
-        for (Iterator i = includedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if (_includedURIs.contains(uri))
-                _excludedQNames.add(name);
-        }
-
-        for (Iterator i = excludedQNames.iterator(); i.hasNext(); )
-        {
-            QName name = (QName)i.next();
-            String uri = nsFromName(name);
-            if (_includedURIs.contains(uri) && !_excludedQNames.contains(name))
-                _includedQNames.add(name);
-        }
-
-        if (exclude)
-        {
-            removeAllMatchingFirstOnly(_includedURIs, excludedURIs, _excludedQNames);
-        }
-        else
-        {
-            removeAllMatchingBoth(_includedURIs, includedURIs, _excludedQNames);
-        }
-
-        for (Iterator i = _includedURIs.iterator(); i.hasNext(); )
-        {
-            if (exclude ^ specialURIs.contains(i.next()))
-                i.remove();
-        }
-    }
-
-    public Set excludedURIs()
-    {
-        if (_inverted) return Collections.unmodifiableSet(_includedURIs);
-        return null;
-    }
-
-    public Set includedURIs()
-    {
-        if (!_inverted) return _includedURIs;
-        return null;
-    }
-
-    public Set excludedQNamesInIncludedURIs()
-    {
-        return Collections.unmodifiableSet(_inverted ? _includedQNames : _excludedQNames);
-    }
-
-    public Set includedQNamesInExcludedURIs()
-    {
-        return Collections.unmodifiableSet(_inverted ? _excludedQNames : _includedQNames);
-    }
-
-    private String prettyQName(QName name)
-    {
-        if (name.getNamespaceURI() == null)
-            return name.getLocalPart();
-        return name.getLocalPart() + "@" + name.getNamespaceURI();
-    }
-
-    /**
-     * Returns a string representation useful for debugging, subject to change.
-     */ 
-    public String toString()
-    {
-        StringBuffer sb = new StringBuffer();
-        sb.append("QNameSetBuilder");
-        sb.append(_inverted ? "-(" : "+(");
-        for (Iterator i = _includedURIs.iterator(); i.hasNext(); )
-        {
-            sb.append("+*@");
-            sb.append(i.next());
-            sb.append(", ");
-        }
-        for (Iterator i = _excludedQNames.iterator(); i.hasNext(); )
-        {
-            sb.append("-");
-            sb.append(prettyQName((QName)i.next()));
-            sb.append(", ");
-        }
-        for (Iterator i = _includedQNames.iterator(); i.hasNext(); )
-        {
-            sb.append("+");
-            sb.append(prettyQName((QName)i.next()));
-            sb.append(", ");
-        }
-        int index = sb.lastIndexOf(", ");
-        if (index > 0)
-            sb.setLength(index);
-        sb.append(')');
-        return sb.toString();
-    }
-    
-    /**
-     * Returns a {@link QNameSet} equivalent to the current state of this
-     * QNameSetBuilder.
-     */ 
-    public QNameSet toQNameSet()
-    {
-        return QNameSet.forSpecification(this);
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetSpecification.java b/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetSpecification.java
deleted file mode 100644
index 49d2f10..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/QNameSetSpecification.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-import java.util.Set;
-
-/**
- * Represents a lattice of finite and infinite sets of QNames.
- * 
- * @see QNameSet
- */
-public interface QNameSetSpecification
-{
-    /**
-     * True if the set contains the given QName.
-     *
-     * Roughly equivalent to:
-     *    (includedURIs() == null ?
-     *           excludedURIs().contains(namespace) :
-     *           includedURIs().contains(namespace)
-     *    ) ?
-     *        !excludedQNamesInIncludedURIs().contains(name) :
-     *         includedQNamesInExcludedURIs().contains(name)
-     */
-    boolean contains(QName name);
-
-    /**
-     * True if the set is the set of all QNames.
-     */
-    boolean isAll();
-
-    /**
-     * True if the set is empty.
-     */
-    boolean isEmpty();
-
-    /**
-     * True if the parameter is a subset of this set.
-     */ 
-    boolean containsAll(QNameSetSpecification set);
-    
-    /**
-     * True if is disjoint from the specified set.
-     */
-    boolean isDisjoint(QNameSetSpecification set);
-
-    /**
-     * Returns the intersection with another QNameSet.
-     */
-    QNameSet intersect(QNameSetSpecification set);
-
-    /**
-     * Returns the union with another QNameSet.
-     */
-    QNameSet union(QNameSetSpecification set);
-
-    /**
-     * Return the inverse of this QNameSet. That is the QNameSet which
-     * contains all the QNames not contained in this set. In other words
-     * for which set.contains(name) != set.inverse().contains(name) for
-     * all names.
-     */
-    QNameSet inverse();
-
-    /**
-     * The finite set of namespace URIs that are almost completely excluded from
-     * the set (that is, each namespace URI that included in the set with with
-     * a finite number of QName exceptions). Null if the set of namespaceURIs
-     * that are almost completely included is infinite.
-     * <p>
-     * Null (meaning almost all URIs excluded) if includedURIs() is non-null;
-     * non-null otherwise.
-     * <p>
-     * The same set as inverse().includedURIs().
-     */
-    Set excludedURIs();
-
-    /**
-     * The finite set of namespace URIs that are almost completely included in
-     * the set (that is, each namespace URI that included in the set with with
-     * a finite number of QName exceptions). Null if the set of namespaceURIs
-     * that are almost completely included is infinite.
-     * <p>
-     * Null (meaning almost all URIs included) if excludedURIs() is non-null;
-     * non-null otherwise.
-     * <p>
-     * The same as inverse.excludedURIs().
-     */
-    Set includedURIs();
-
-    /**
-     * The finite set of QNames that are excluded from the set within namespaces
-     * that are otherwise included. Should only contain QNames within namespace
-     * that are within the set includedURIs() (or any URI, if includedURIs()
-     * is null, which means that all URIs are almost completely included).
-     * <p>
-     * Never null.
-     * <p>
-     * The same set as inverse().includedQNames().
-     */
-    Set excludedQNamesInIncludedURIs();
-
-    /**
-     * The finite set of QNames that are included in the set within namespaces
-     * that are otherwise excluded. Should only contain QNames within namespace
-     * that are within the set excludedURIs() (or any URI, if excludedURIs()
-     * is null, which means that all URIs are almost completely excluded).
-     * <p>
-     * Never null.
-     * <p>
-     * The same as inverse().excludedQNames().
-     */
-    Set includedQNamesInExcludedURIs();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotated.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotated.java
deleted file mode 100755
index 72302b7..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotated.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * Marker interface denoting that an annotation can be present
- */
-public interface SchemaAnnotated
-{
-    /**
-     * Returns the Schema annotation object or null if none present
-     */
-    SchemaAnnotation getAnnotation();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotation.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotation.java
deleted file mode 100755
index e13e696..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAnnotation.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-//import org.w3.x2001.xmlSchema.AppinfoDocument;
-//import org.w3.x2001.xmlSchema.DocumentationDocument;
-
-/**
- * Represents a Schema annotation.
- */
-public interface SchemaAnnotation extends SchemaComponent
-{
-    /**
-     * Retrieves all application information items from this annotation
-     */
-    public XmlObject[] getApplicationInformation();
-
-    /**
-     * Retrieves all document information items from this annotation
-     */
-    public XmlObject[] getUserInformation();
-
-    /**
-     * Retrieves all attributes that are is a namespace other than
-     * http://www.w3.org/2001/XMLSchema
-     * from the annotation element and from the enclosing Schema component
-     */
-    public Attribute[] getAttributes();
-
-    /**
-     * Represents an attribute instance
-     */
-    public static interface Attribute
-    {
-        /**
-         * Returns the name of the attribute
-         */
-        QName getName();
-
-        /**
-         * Returns the value of the attribute
-         */
-        String getValue();
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeGroup.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeGroup.java
deleted file mode 100644
index f3fffd4..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeGroup.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents an attribute group.
- * <p>
- * An attribute group is a syntactic construct, not a part
- * of the logical model. For example, types declared within an
- * attribute group become local to the type that uses the group -
- * they're not local to the attribute group itself. Therefore
- * in the logical model of a schema type system, an attribute
- * group doesn't represent anything. Its contents are merged
- * into the logical model at parse time.
- * 
- * @see SchemaTypeLoader#findAttributeGroup
- */
-public interface SchemaAttributeGroup extends SchemaComponent, SchemaAnnotated
-{
-    /**
-     * Returns SchemaComponent.ATTRIBUTE_GROUP.
-     */
-    int getComponentType();
-
-    /**
-     * The name of the model group.
-     */
-    QName getName();
-
-    /**
-     * Used to allow on-demand loading of attribute groups.
-     * 
-     * @exclude
-     */
-    public final static class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaAttributeGroup attributeGroup)
-            { super(attributeGroup); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.ATTRIBUTE_GROUP; }
-
-        public final SchemaAttributeGroup get()
-            { return (SchemaAttributeGroup)getComponent(); }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeModel.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeModel.java
deleted file mode 100644
index 94fc61f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaAttributeModel.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents the attribute structure allowed on a complex type.
- * 
- * @see SchemaType#getAttributeModel
- */ 
-public interface SchemaAttributeModel
-{
-    /**
-     * Returns an array containing all the attributes in the model.
-     */
-    SchemaLocalAttribute[] getAttributes();
-
-    /**
-     * Returns the attribute with the given name.
-     */
-    SchemaLocalAttribute getAttribute(QName name);
-
-    /**
-     * QNameSet representing the attribute wildcard specification.
-     */
-    QNameSet getWildcardSet();
-
-    /**
-     * Returns the processing code ({@link #STRICT}, {@link #LAX}, {@link #SKIP}).
-     * Returns 0 ({@link #NONE}) if no wildcard specified.
-     */
-    int getWildcardProcess();
-
-    /** See {@link #getWildcardProcess} */
-    static final int NONE = 0;
-    /** Strict wildcard processing. See {@link #getWildcardProcess} */
-    static final int STRICT = 1;
-    /** Lax wildcard processing. See {@link #getWildcardProcess} */
-    static final int LAX = 2;
-    /** Skip wildcard processing. See {@link #getWildcardProcess} */
-    static final int SKIP = 3;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaCodePrinter.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaCodePrinter.java
deleted file mode 100755
index 7c4f8c0..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaCodePrinter.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.

- */

-

-package org.apache.xmlbeans;

-

-import java.io.Writer;

-import java.io.IOException;

-

-/**

- * This class is used to provide alternate implementations of the

- * schema Java code generation.

- */

-

-public interface SchemaCodePrinter

-{

-    public void printTypeImpl(Writer writer, SchemaType sType)

-        throws IOException;

-    

-    public void printType(Writer writer, SchemaType sType)

-        throws IOException;

-    

-    public void printLoader(Writer writer, SchemaTypeSystem system)

-        throws IOException;

-}

-

diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaComponent.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaComponent.java
deleted file mode 100644
index 021d311..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaComponent.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a global Schema Component.  That is, a type, element, attribute,
- * model group, attribute group, or identity constraint.
- * <p>
- * Note that not all types, elements, and attributes are global; local
- * types, element, and attributes do not appear in the global lookup table.
- * Also note that other information items such as particles, facets, and
- * so on are not globally indexed, so are not SchemaComponents.
- * 
- * @see SchemaType
- * @see SchemaGlobalElement
- * @see SchemaGlobalAttribute
- * @see SchemaAttributeGroup
- * @see SchemaModelGroup
- * @see SchemaIdentityConstraint
- */
-public interface SchemaComponent
-{
-    /** A type definition.  See {@link #getComponentType} */
-    static final int TYPE = 0;
-    /** An element definition.  See {@link #getComponentType} */
-    static final int ELEMENT = 1;
-    /** An attribute definition.  See {@link #getComponentType} */
-    static final int ATTRIBUTE = 3;
-    /** An attribute group definition.  See {@link #getComponentType} */
-    static final int ATTRIBUTE_GROUP = 4;
-    /** An identity constraint definition.  See {@link #getComponentType} */
-    static final int IDENTITY_CONSTRAINT = 5;
-    /** A model group definition.  See {@link #getComponentType} */
-    static final int MODEL_GROUP = 6;
-    /** A notation definition.  See {@link #getComponentType} */
-    static final int NOTATION = 7;
-    /** An annotation. See {@link #getComponentType} */
-    static final int ANNOTATION = 8;
-
-    /**
-     * Returns the type code for the schema object, either {@link #TYPE},
-     * {@link #ELEMENT}, {@link #ATTRIBUTE}, {@link #ATTRIBUTE_GROUP},
-     * {@link #MODEL_GROUP}, {@link #IDENTITY_CONSTRAINT}, or {@link #NOTATION}.
-     */
-    int getComponentType();
-
-    /**
-     * Returns the typesystem within which this component definition resides
-     */
-    SchemaTypeSystem getTypeSystem();
-
-    /**
-     * The name of the schema component
-     */
-    QName getName();
-
-    /**
-     * A lazy reference to a component. Used by SchemaTypeLoaders to
-     * avoid loading components until they are actually needed.
-     * 
-     * @exclude
-     */
-    public static abstract class Ref
-    {
-        protected Ref(SchemaComponent schemaComponent)
-            { _schemaComponent = schemaComponent; }
-
-        protected Ref(SchemaTypeSystem schemaTypeSystem, String handle)
-            { assert(handle != null); _schemaTypeSystem = schemaTypeSystem; _handle = handle; }
-
-        private SchemaComponent _schemaComponent;
-        private SchemaTypeSystem _schemaTypeSystem;
-        public String _handle;
-
-        public abstract int getComponentType();
-
-        public final SchemaTypeSystem getTypeSystem()
-            { return _schemaTypeSystem; }
-
-        public final SchemaComponent getComponent()
-        {
-            if (_schemaComponent == null && _handle != null)
-                _schemaComponent = _schemaTypeSystem.resolveHandle(_handle);
-
-            return _schemaComponent;
-        }
-    }
-    
-    /**
-     * Used for on-demand loading of schema components.
-     */ 
-    public Ref getComponentRef();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaField.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaField.java
deleted file mode 100644
index 481e4ef..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaField.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-import java.math.BigInteger;
-
-/**
- * Represents an element or an attribute declaration.
- * 
- * @see SchemaType#getContainerField
- * @see SchemaLocalElement
- * @see SchemaLocalAttribute
- */ 
-public interface SchemaField
-{
-    /**
-     * Returns the form-unqualified-or-qualified name.
-     */
-    QName getName();
-
-    /**
-     * True if this use is an attribute
-     */
-    boolean isAttribute();
-
-    /**
-     * True if nillable; always false for attributes.
-     */
-    boolean isNillable();
-
-    /**
-     * Returns the type of this use.
-     */
-    SchemaType getType();
-
-    /**
-     * Returns the minOccurs value for this particle.
-     * If it is not specified explicitly, this defaults to BigInteger.ONE.
-     */
-    BigInteger getMinOccurs();
-
-    /**
-     * Returns the maxOccurs value for this particle, or null if it
-     * is unbounded.
-     * If it is not specified explicitly, this defaults to BigInteger.ONE.
-     */
-    BigInteger getMaxOccurs();
-
-    /**
-     * The default value as plain text. See {@link #isDefault} and {@link #isFixed}.
-     */
-    String getDefaultText();
-    
-    /**
-     * The default value as a strongly-typed value.  See {@link #isDefault} and {@link #isFixed}.
-     */
-    XmlAnySimpleType getDefaultValue();
-
-    /**
-     * True if a default is supplied. If {@link #isFixed}, then isDefault is always true.
-     */
-    boolean isDefault();
-
-    /**
-     * True if the value is fixed.
-     */
-    boolean isFixed();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalAttribute.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalAttribute.java
deleted file mode 100644
index 25d932b..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalAttribute.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * Represents a global attribute definition
- * 
- * @see SchemaTypeLoader#findAttribute
- */ 
-public interface SchemaGlobalAttribute extends SchemaLocalAttribute, SchemaComponent
-{
-    /**
-     * The name of the source .xsd file within which this attribute was defined
-     */ 
-    String getSourceName();
-
-    /**
-     * Used to allow on-demand loading of elements.
-     * 
-     * @exclude
-     */
-    public final static class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaGlobalAttribute element)
-            { super(element); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.ATTRIBUTE; }
-
-        public final SchemaGlobalAttribute get()
-            { return (SchemaGlobalAttribute)getComponent(); }
-    }
-
-    /**
-     * Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-     */
-    public Ref getRef();
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalElement.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalElement.java
deleted file mode 100644
index e316052..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaGlobalElement.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a global element definition.
- * 
- * @see SchemaTypeLoader#findElement
- */
-public interface SchemaGlobalElement extends SchemaLocalElement, SchemaComponent
-{
-    /**
-     * The name of the source .xsd file within which this attribute was defined
-     */ 
-    String getSourceName();
-
-    /**
-     * Set of QNames for elements that are the members of the
-     * substitution group for which this element is the head,
-     * not including this element.
-     */
-    QName[] substitutionGroupMembers();
-
-    /**
-     * The element that is the head of this element's substitution
-     * group, or <code>null</code> if this element is not a member
-     * of a substitution group.
-     */
-    SchemaGlobalElement substitutionGroup();
-
-    /**
-     * True if using this element as the head of a substitution
-     * group for a substitution via type extension is prohibited.
-     * If both finalExtension and finalRestriction are true, this
-     * element cannot be head of a substitution group.
-     * Sensible only for global elements.
-     */
-    public boolean finalExtension();
-
-    /**
-     * True if using this element as the head of a substitution
-     * group for a substitution via type restriction is prohibited.
-     * If both finalExtension and finalRestriction are true, this
-     * element cannot be head of a substitution group.
-     * Sensible only for global elements.
-     */
-    public boolean finalRestriction();
-
-    /**
-     * Used to allow on-demand loading of elements.
-     * 
-     * @exclude
-     */
-    public final static class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaGlobalElement element)
-            { super(element); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.ELEMENT; }
-
-        public final SchemaGlobalElement get()
-            { return (SchemaGlobalElement)getComponent(); }
-    }
-
-    /**
-     * Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-     */
-    public Ref getRef();
-
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaIdentityConstraint.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaIdentityConstraint.java
deleted file mode 100644
index 634b080..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaIdentityConstraint.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import java.util.Map;
-
-/**
- * Represents an identity constraint definition.
- */ 
-public interface SchemaIdentityConstraint extends SchemaComponent, SchemaAnnotated
-{
-    /**
-     * Return the selector xpath as a string.
-     */
-    String getSelector();
-
-    /**
-     * Return a compiled xpath object for the selector.
-     */
-    Object getSelectorPath();
-
-    /**
-     * Return (a copy of) the xpaths for all the fields.
-     */
-    String[] getFields();
-
-    /**
-     * Return a compiled xpath object for the field.
-     */
-    Object getFieldPath(int index);
-
-    /**
-     * Return a read-only copy of the namespace map. This is the 
-     * set of prefix to URI mappings that were in scope in the
-     * schema at the point at which this constraint was declared
-     */
-    Map getNSMap();
-
-    /** A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:key</a> constraint.  See {@link #getConstraintCategory}. */
-    public static final int CC_KEY = 1;
-    /** A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:keyRef</a> constraint.  See {@link #getConstraintCategory}. */
-    public static final int CC_KEYREF = 2;
-    /** A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:unique</a> constraint.  See {@link #getConstraintCategory}. */
-    public static final int CC_UNIQUE = 3;
-
-    /**
-     * Return the constraint category. Either {@link #CC_KEY}, {@link #CC_KEYREF},
-     * or {@link #CC_UNIQUE}.
-     */
-    int getConstraintCategory();
-
-    /**
-     * Returns the key that a key ref refers to. Only valid for
-     * keyrefs.
-     */
-    SchemaIdentityConstraint getReferencedKey();
-
-    /**
-     * Used to allow on-demand loading of identity constraints.
-     * 
-     * @exclude
-     */
-    public static final class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaIdentityConstraint idc)
-            { super(idc); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.IDENTITY_CONSTRAINT; }
-
-        public final SchemaIdentityConstraint get()
-            { return (SchemaIdentityConstraint)getComponent(); }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalAttribute.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalAttribute.java
deleted file mode 100644
index cda2088..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalAttribute.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * Represents a local or global attribute definition.
- */ 
-public interface SchemaLocalAttribute extends SchemaField, SchemaAnnotated
-{
-    /**
-     * Returns {@link #PROHIBITED}, {@link #OPTIONAL}, or {@link #REQUIRED}.
-     * (Actually, never returns PROHIBITED because the schema specificaion
-     * states that a prohibited attribute is equivalent to no attribute
-     * at all, so a prohibited attribute will never be present in the compiled
-     * model.)
-     */
-    int getUse();
-
-    /** A prohibited attribute.  See {@link #getUse}. */
-    static final int PROHIBITED = 1;
-    /** An optional attribute.  See {@link #getUse}. */
-    static final int OPTIONAL = 2;
-    /** A required attribute.  See {@link #getUse}. */
-    static final int REQUIRED = 3;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalElement.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalElement.java
deleted file mode 100644
index 704d5d2..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaLocalElement.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * Represents a local or global element definition.
- */ 
-public interface SchemaLocalElement extends SchemaField, SchemaAnnotated
-{
-    /**
-     * True if extension is blocked.
-     */
-    boolean blockExtension();
-    /**
-     * True if restriction is blocked.
-     */
-    boolean blockRestriction();
-    /**
-     * True if element substitution is blocked.
-     */
-    boolean blockSubstitution();
-
-    /**
-     * True if this element is prohibited in content. Only
-     * sensible if this is the head of a substitution group;
-     * then only substitution group members can appear.<P>
-     * 
-     * Although local elements cannot be abstract, if an element 
-     * use is a ref to a global element, then the flag from the 
-     * global element is copied in to the local element where the 
-     * use occurs.
-     */
-    boolean isAbstract();
-
-    /**
-     * Returns all the Key, KeyRef, and Unique constraints
-     * on this element.
-     */
-    SchemaIdentityConstraint[] getIdentityConstraints();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaModelGroup.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaModelGroup.java
deleted file mode 100644
index 236cdfe..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaModelGroup.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a model group.
- * <p>
- * A model group is a syntactic construct, not a part of
- * the logical model. For example, types declared within a
- * model group become local to the type that uses the group -
- * they're not local to the model group itself. Therefore in
- * the logical model of a schema type system, a model group
- * doesn't represent anything. Its contents are merged into
- * the logical model at parse time.
- */
-public interface SchemaModelGroup extends SchemaComponent, SchemaAnnotated
-{
-    /**
-     * Returns SchemaComponent.GROUP.
-     */
-    int getComponentType();
-
-    /**
-     * The name of the model group.
-     */
-    QName getName();
-
-    /**
-     * Used to allow on-demand loading of model groups.
-     * 
-     * @exclude
-     */
-    public final static class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaModelGroup modelGroup)
-            { super(modelGroup); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.MODEL_GROUP; }
-
-        public final SchemaModelGroup get()
-            { return (SchemaModelGroup)getComponent(); }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaParticle.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaParticle.java
deleted file mode 100644
index 22dbd21..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaParticle.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a Schema particle definition.
- * <p>
- * The content model of a complex type is a tree of particles.  Each
- * particle is either an {@link #ALL}, {@link #CHOICE}, {@link #SEQUENCE},
- * {@link #ELEMENT}, or {@link #WILDCARD}.
- * All, choice and sequence particles are groups that can have child
- * particles; elements and wildcards are always leaves of the particle tree.
- * <p>
- * The tree of particles available on a schema type is minimized, that
- * is, it already has removed "pointless" particles such as empty
- * sequences, nonrepeating sequences with only one item, and so on.
- * (<a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict">Pointless particles</a>
- * are defined precisely in the XML Schema specification.)
- * 
- * @see SchemaType#getContentModel
- */
-public interface SchemaParticle
-{
-    /**
-     * Returns the particle type ({@link #ALL}, {@link #CHOICE},
-     * {@link #SEQUENCE}, {@link #ELEMENT}, or {@link #WILDCARD}). 
-     */ 
-    int getParticleType();
-    
-    /**
-     * An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:all</a> group.
-     * See {@link #getParticleType}.
-     */ 
-    static final int ALL = 1;
-    /**
-     * A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:choice</a> group.
-     * See {@link #getParticleType}.
-     */ 
-    static final int CHOICE = 2;
-    /**
-     * A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:sequence</a> group.
-     * See {@link #getParticleType}.
-     */ 
-    static final int SEQUENCE = 3;
-    /**
-     * An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-element">xs:element</a> particle.
-     * This code means the particle can be coerced to {@link SchemaLocalElement}.
-     * See {@link #getParticleType}.
-     */ 
-    static final int ELEMENT = 4;
-    /**
-     * An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-openness">xs:any</a> particle,
-     * also known as an element wildcard.
-     * See {@link #getParticleType}.
-     */ 
-    static final int WILDCARD = 5;
-
-    /**
-     * Returns the minOccurs value for this particle.
-     * If it's not specified explicitly, this returns BigInteger.ONE.
-     */
-    BigInteger getMinOccurs();
-
-    /**
-     * Returns the maxOccurs value for this particle, or null if it
-     * is unbounded.
-     * If it's not specified explicitly, this returns BigInteger.ONE.
-     */
-    BigInteger getMaxOccurs();
-
-    /**
-     * Returns the minOccurs value, pegged to a 32-bit int for
-     * convenience of a validating state machine that doesn't count
-     * higher than MAX_INT anyway.
-     */
-    public int getIntMinOccurs();
-
-    /**
-     * Returns the maxOccurs value, pegged to a 32-bit int for
-     * convenience of a validating state machine that doesn't count
-     * higher than MAX_INT anyway. Unbounded is given as MAX_INT.
-     */
-    public int getIntMaxOccurs();
-
-
-    /**
-     * One if minOccurs == maxOccurs == 1.
-     */
-    boolean isSingleton();
-
-    /**
-     * Applies to sequence, choice, and all particles only: returns an array
-     * of all the particle children in order.
-     */
-    SchemaParticle[] getParticleChildren();
-
-    /**
-     * Another way to access the particle children.
-     */
-    SchemaParticle getParticleChild(int i);
-
-    /**
-     * The number of children.
-     */
-    int countOfParticleChild();
-
-    /**
-     * True if this particle can start with the given element
-     * (taking into account the structure of all child particles
-     * of course).
-     */
-    boolean canStartWithElement(QName name);
-
-    /**
-     * Returns the QNameSet of element names that can be
-     * accepted at the beginning of this particle.
-     */
-    QNameSet acceptedStartNames();
-
-    /**
-     * True if this particle can be skipped (taking into account
-     * both the minOcurs as well as the structure of all the
-     * child particles)
-     */
-    boolean isSkippable();
-
-    /**
-     * For wildcards, returns a QNameSet representing the wildcard.
-     */
-    QNameSet getWildcardSet();
-
-    /**
-     * For wildcards, returns the processing code ({@link #STRICT}, {@link #LAX}, {@link #SKIP}).
-     */
-    int getWildcardProcess();
-
-    /** <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Strict wildcard</a> processing. See {@link #getWildcardProcess} */
-    static final int STRICT = 1;
-    /** <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Lax wildcard</a> processing. See {@link #getWildcardProcess} */
-    static final int LAX = 2;
-    /** <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Skip wildcard</a> processing. See {@link #getWildcardProcess} */
-    static final int SKIP = 3;
-
-    /**
-     * For elements only: the QName for the element use.
-     * May be unqualified version of referenced element's name.
-     */
-    QName getName();
-    
-    /**
-     * For elements only: returns the type of the element.
-     */
-    SchemaType getType();
-
-    /**
-     * For elements only: true if nillable.
-     */
-    boolean isNillable();
-
-    /**
-     * For elements only: returns the default (or fixed) text value
-     */
-    String getDefaultText();
-    
-    /**
-     * For elements only: returns the default (or fixed) strongly-typed value
-     */
-    XmlAnySimpleType getDefaultValue();
-
-    /**
-     * For elements only: True if has default. If isFixed, then isDefault is always true.
-     */
-    boolean isDefault();
-
-    /**
-     * For elements only: true if is fixed value.
-     */
-    boolean isFixed();
-    
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaProperty.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaProperty.java
deleted file mode 100644
index 3471261..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaProperty.java
+++ /dev/null
@@ -1,229 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a summary of similar SchemaFields in a complex type.
- * <p>
- * In a schema type, every element with the same name must have the
- * same type.  Therefore, all together, elements with the same name
- * form a coherent collection of similar elements.  Similarly, attributes
- * can only be defined once, so each attribute obviously is a coherent
- * group on its own.
- * <p>
- * A SchemaProperty represents a summary of the the elements with a
- * given name or the attribute with a given name.  It represents the
- * summary cardinality of the fields, the summary default and fixed
- * values, and so on.  When inferring information about an element
- * or attribute, it is typically easier to consult then SchemaProperty
- * than to hunt for the exact SchemaField in the particle tree or
- * attribute model.
- * 
- * @see SchemaType#getProperties
- * @see SchemaType#getAttributeProperties
- * @see SchemaType#getElementProperties
- * @see SchemaType#getAttributeProperty
- * @see SchemaType#getElementProperty
- */
-public interface SchemaProperty
-{
-    /**
-     * The type within which this property appears
-     */ 
-    SchemaType getContainerType();
-    
-    /**
-     * The name of this element or attribute
-     */ 
-    QName getName();
-
-    /**
-     * For element properties the set of names that are accepted for this property
-     * if this element is the head of a substitution group. This will always
-     * have at least one element, ie, the property's name.
-     */
-    QName[] acceptedNames();
-    
-    /**
-     * The Java name for this property.  For example, if the method to
-     * access this property is called getFirstName, then this method
-     * returns the string "FirstName".  May be null if the schema type
-     * has not been compiled to Java.
-     */ 
-    String getJavaPropertyName();
-    
-    /**
-     * True for read-only properties.
-     */ 
-    boolean isReadOnly();
-
-    /**
-     * True for attributes.
-     */ 
-    boolean isAttribute();
-
-    /**
-     * The schema type for the property.
-     */ 
-    SchemaType getType();
-
-    // note that in the inheritance hierarchy, if the array getter shows up first,
-    // then the singelton getter is never allowed to show up.
-
-    /**
-     * The schema type returned from the Java getter for this property.
-     * Applies only to types that have been code generated to Java; may
-     * be a base type of getType().
-     */ 
-    public SchemaType javaBasedOnType(); // Java property type based on this base type
-    
-    /**
-     * True if there is a Java getter that returns a singleton.
-     */ 
-    boolean extendsJavaSingleton(); // has singleton getter
-    
-    /**
-     * True if there is an Java isSet method that tests for presence.
-     */ 
-    boolean extendsJavaOption();    // has isSet tester
-    
-    /**
-     * True if there is a Java getter that returns an array.
-     */ 
-    boolean extendsJavaArray();     // has array getter (called -Array, if singleton is present)
-    
-    /**
-     * Returns the natural Java type for this property.  Returns either
-     * XML_OBJECT (for complex types) or one of the JAVA_* constants described
-     * in this interface.
-     */ 
-    int getJavaTypeCode();
-    
-    /**
-     * Returns the set of element names which should appear strictly after all
-     * occurences of the elements described by this property. For element properties only.
-     */ 
-    QNameSet getJavaSetterDelimiter();
-
-    /**
-     * Returns a summarized minimum occurrance number.
-     * For example, a sequence containing a nonoptional singleton element repeated twice will
-     * result in a property getMinOccurs() of 2.
-     */ 
-    BigInteger getMinOccurs();
-    
-    /**
-     * Returns a summarized minimum occurrance number.
-     * For example, a sequence containing a nonoptional singleton element repeated twice will
-     * result in a property getMaxOccurs() of 2.
-     */ 
-    BigInteger getMaxOccurs();
-
-    /**
-     * Returns {@link #NEVER}, {@link #VARIABLE}, or {@link #CONSISTENTLY} nillable, depending on the
-     * nillability of the elements in this property. 
-     */
-    int hasNillable();
-
-    /**
-     * Returns {@link #NEVER}, {@link #VARIABLE}, or {@link #CONSISTENTLY} defaulted, depending on the
-     * defaults present in the elements in this property. 
-     */
-    int hasDefault();
-
-    /**
-     * Returns {@link #NEVER}, {@link #VARIABLE}, or {@link #CONSISTENTLY} fixed, depending on the
-     * fixed constraints present in the elements in this property. 
-     */
-    int hasFixed();
-
-    /** Applies to no elements for this property.  See {@link #hasNillable}, {@link #hasDefault}, {@link #hasFixed} */
-    static final int NEVER = 0;
-    /** Applies to some, but not other elements for this property.  See {@link #hasNillable}, {@link #hasDefault}, {@link #hasFixed} */
-    static final int VARIABLE = 1;
-    /** Applies to all elements for this property.  See {@link #hasNillable}, {@link #hasDefault}, {@link #hasFixed} */
-    static final int CONSISTENTLY = 2;
-
-    /** An XML Bean type that inherits from {@link XmlObject}. See {@link #getJavaTypeCode}. */
-    static final int XML_OBJECT = 0;
-
-    /** Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive. */
-    static final int JAVA_FIRST_PRIMITIVE = 1;
-
-    /** A Java boolean. See {@link #getJavaTypeCode}. */
-    static final int JAVA_BOOLEAN = 1;
-    /** A Java float. See {@link #getJavaTypeCode}. */
-    static final int JAVA_FLOAT = 2;
-    /** A Java double. See {@link #getJavaTypeCode}. */
-    static final int JAVA_DOUBLE = 3;
-    /** A Java byte. See {@link #getJavaTypeCode}. */
-    static final int JAVA_BYTE = 4;
-    /** A Java short. See {@link #getJavaTypeCode}. */
-    static final int JAVA_SHORT = 5;
-    /** A Java int. See {@link #getJavaTypeCode}. */
-    static final int JAVA_INT = 6;
-    /** A Java long. See {@link #getJavaTypeCode}. */
-    static final int JAVA_LONG = 7;
-
-    /** Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive. */
-    static final int JAVA_LAST_PRIMITIVE = 7;
-
-    /** A {@link java.math.BigDecimal}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_BIG_DECIMAL = 8;
-    /** A {@link java.math.BigInteger}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_BIG_INTEGER = 9;
-    /** A {@link String}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_STRING = 10;
-    /** A byte[]. See {@link #getJavaTypeCode}. */
-    static final int JAVA_BYTE_ARRAY = 11;
-    /** A {@link GDate}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_GDATE = 12;
-    /** A {@link GDuration}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_GDURATION = 13;
-    /** A {@link java.util.Date}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_DATE = 14;
-    /** A {@link javax.xml.namespace.QName}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_QNAME = 15;
-    /** A {@link java.util.List}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_LIST = 16;
-    /** A {@link java.util.Calendar}. See {@link #getJavaTypeCode}. */
-    static final int JAVA_CALENDAR = 17;
-
-    /** A generated {@link StringEnumAbstractBase} subclass. See {@link #getJavaTypeCode}. */
-    static final int JAVA_ENUM = 18;
-    /** A {@link java.lang.Object}, used for some simple type unions. See {@link #getJavaTypeCode}. */
-    static final int JAVA_OBJECT = 19; // for some unions
-
-    /**
-     * Returns the default or fixed value,
-     * if it is consistent. If it is not consistent,
-     * then returns null.
-     * See {@link #hasDefault} and {@link #hasFixed}.
-     */
-    String getDefaultText();
-    
-    /**
-     * Returns the default or fixed value as a strongly-typed value,
-     * if it is consistent. If it is not consistent,
-     * then returns null.
-     * See {@link #hasDefault} and {@link #hasFixed}.
-     */
-    XmlAnySimpleType getDefaultValue();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaStringEnumEntry.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaStringEnumEntry.java
deleted file mode 100644
index 710ff56..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaStringEnumEntry.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * Describes a code-generated string enumeration
- * 
- * @see SchemaType#getStringEnumEntries
- */ 
-public interface SchemaStringEnumEntry
-{
-    /**
-     * The enumerated string value
-     */ 
-    public String getString();
-    
-    /**
-     * An integer to represent this choice in the enumeration
-     */ 
-    public int getIntValue();
-    
-    /**
-     * A capitalized name to use for the enumeration constant name
-     */ 
-    public String getEnumName();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaType.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaType.java
deleted file mode 100644
index 41fbdc2..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaType.java
+++ /dev/null
@@ -1,901 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents a schema type.
- * <p>
- * SchemaType is the metadata "type" class for {@link XmlObject}, and it plays the
- * analogous role for {@link XmlObject} that {@link java.lang.Class} plays for
- * {@link java.lang.Object}.
- * <p>
- * Every XML Bean class corresponds to a singleton SchemaType object
- * obtainable by ClassName.type (e.g., {@link XmlNonPositiveInteger#type}), and
- * every XML Bean instance has an actual SchemaType, obtainable by
- * {@link XmlObject#schemaType}.  The ClassName.type and schemaType() mechanisms are
- * analogous to the ordinary Java ClassName.class and obj.getClass() mechanisms.
- * <p>
- * All schema types are represented by a SchemaType, this includes all types
- * regardless of whether they are built-in or user-defined, compiled or
- * uncompiled, simple or complex.
- * <p>
- * In addition, a compiled XML Bean type system includes special "document" schema types
- * each representing a document containing nothing but a single element for each
- * global element, and special "attribute" schema types each representing
- * a fragment containing nothing but a single global attribute for global
- * attribute.
- * <p>
- * Do not confuse Schema Types with other types of Schema Components such as
- * {@link SchemaGlobalElement Global Elements}, {@link SchemaGlobalAttribute Global Attributes},
- * {@link SchemaModelGroup Named Model Groups}, or {@link SchemaAttributeGroup Attribute Groups}.
- * SchemaType represents a Type component, not any of the other kinds of components.
- * There are different kinds of metadata objects for the different Schema components. 
- * <p>
- * The space of SchemaTypes is divided as follows:
- * 
- * <ul>
- * <li>First, there is the universal base type and the universal
- *     subtype.  These are {@link XmlObject#type}
- *     (corresponding to xs:anyType) and {@link XmlBeans#NO_TYPE},
- *     respectively.  The first type is a base type of all other
- *     types.  The other type indicates the absence of type information
- *     and, at least in set-theoretic terms, is a subtype of all other types.
- * <li>There is another universal base type that is the base type
- *     for all simple types.  This is the {@link XmlAnySimpleType#type},
- *     corresponding to xs:anySimpleType.   Only XmlObject.type and
- *     XmlAnySimpleType.type return <code>true</code> for {@link #isURType}, and
- *     only XmlBeans.NO_TYPE returns <code>true</code> for {@link #isNoType}.
- * <li>The two "special" kinds of types that are generated that
- *     do not formally exist in the actual Schema specification are
- *     document types and global attribute types (corresponding to
- *     documents that contain a global element, or fragments that
- *     contain a global attribute).  They can be detected using
- *     {@link #isDocumentType} and {@link #isAttributeType}. Other
- *     than their anonymity (lack of a type name) and their appearance
- *     only at the root of an instance, they are otherwise just like
- *     ordinary complex types.
- * <li>Simple types can be detected using {@link #isSimpleType}.
- *     Complex types are consdered to be all the types that are
- *     not simple.
- * <li>Simple types are divided into three varieties: atomic types,
- *     list types, and union types.  Which variety of simple type
- *     you have can be discoverd using {@link #getSimpleVariety}.
- *     It will return either {@link #ATOMIC}, {@link #LIST}, or
- *     {@link #UNION}.
- * <li>An {@link #ATOMIC} simple type is always based on one of the
- *     20 built-in primitive schema types.  You can determine
- *     the underlying primitive type for an atomic simple type
- *     by calling {@link #getPrimitiveType}.  An atomic type
- *     may add facet restrictions on top of the primitive type,
- *     and these facets can be explored using {@link #getFacet},
- *     {@link #getWhiteSpaceRule}, {@link #matchPatternFacet},
- *     {@link #getEnumerationValues}, and related methods.
- * <li>A {@link #LIST} simple type is always based on another non-list
- *     simple type.  The underlying list item type can be obtained
- *     by using {@link #getListItemType}.
- * <li>A {@link #UNION} simple type is always composed out of a number of
- *     other simple types.  The direct members of the union can
- *     be obtained by {@link #getUnionMemberTypes}.  When unions
- *     consist of other unions, it is useful to know useful to know
- *     the "leaves of the union tree", so the
- *     set of non-union types making up the union can be obtained
- *     by {@link #getUnionConstituentTypes}.  The closure of the
- *     entire "union tree" is {@link #getUnionSubTypes} (this includes
- *     the type itself).  For
- *     simple unions that do not consist of other unions, all three
- *     of these sets are the same.
- * <li>Complex types have nested structure.  They are divided into
- *     four content types: empty content, simple content, element-only
- *     content, and mixed content.  All kinds of complex types may
- *     have attributes.  The content type for a complex type can
- *     be dermined using {@link #getContentType}.  This will return
- *     {@link #EMPTY_CONTENT}, {@link #SIMPLE_CONTENT},
- *     {@link #ELEMENT_CONTENT}, or {@link #MIXED_CONTENT}.
- * <li>If a complex type has {@link #EMPTY_CONTENT}, the content model will be null.
- * <li>If a complex type has {@link #SIMPLE_CONTENT}, then it will extend the
- *     simple type that describes the content.  In addition, the type
- *     may impose additional simple type facet restrictions; these can 
- *     be determined in the same way they are for a simple type.
- * <li>If a complex type has {@link #ELEMENT_CONTENT} or {@link #MIXED_CONTENT}, then
- *     the detailed content model can be determined by examining
- *     the particle tree (which may be null for MIXED_CONTENT).
- *     The particle tree can be obtained via {@link #getContentModel}.
- * <li>When working with a complex type, most users will find it
- *     sufficient to discover the summarized shape of the content model
- *     and attribute model using {@link #getElementProperties},
- *     {@link #getAttributeProperties}, and related methods rather than
- *     examining the particle tree and attribute model directly.
- * </ul>
- * 
- * @see SchemaTypeLoader
- * @see XmlObject#schemaType
- * @see SimpleValue#instanceType
- */ 
-public interface SchemaType extends SchemaComponent, SchemaAnnotated
-{
-    /**
-     * The name used to describe the type in the schema.
-     * Null if the type is anonymous (nested), or if it is a document type.
-     */
-    public abstract QName getName();
-
-    /**
-     * The parent schema element.
-     * Null for top-level (named) types and document types.
-     */
-    public abstract SchemaField getContainerField();
-
-    /**
-     * True if this is a document type.
-     * <p>
-     * Document types are generated for every global element. A document
-     * type is an unnamed complex type that contains exactly one element:
-     * we define these types, because they are the types of the "documents"
-     * which contain the defined global elements, and they all turn into
-     * Java types. (Named ElementnameDocument.)
-     */
-    public boolean isDocumentType();
-
-    /**
-     * True if this is a attribute type.
-     * <p>
-     * Attribute types are generated for every global attribute. An attribute
-     * type is an unnamed complex type that contains exactly one attribute:
-     * we define these types, because they are the types of the "attribute documents"
-     * which contain the defined global attribute, and they all turn into
-     * Java types. (Named AttributenameAttribute.)
-     */
-    public boolean isAttributeType();
-
-
-    /**
-     * Returns the document element name if this is a document type,
-     * or null otherwise.
-     */
-    public QName getDocumentElementName();
-
-    /**
-     * Returns the attribute qname if this is a attribute type,
-     * or null otherwise.
-     */
-    public QName getAttributeTypeAttributeName();
-
-    /**
-     * The outer schema type.
-     * Null for top-level (named) types.
-     */
-    public abstract SchemaType getOuterType();
-
-    /**
-     * True if this anonymous type has no corresponding Java type. True for
-     * anonymous types nested within simple type restrictions.
-     */
-    public abstract boolean isSkippedAnonymousType();
-
-    /**
-     * True if this schema type was compiled to have a corresponding
-     * Java class.
-     */
-    public abstract boolean isCompiled();
-
-    /**
-     * The fully-qualified Java type name of the class.
-     */
-    public abstract String getFullJavaName();
-
-    /**
-     * The short unqualfiied Java name for the class.
-     */
-    public abstract String getShortJavaName();
-
-    /**
-     * The fully-qualified Java type name of the implementation class.
-     */
-    public abstract String getFullJavaImplName();
-
-    /**
-     * The short unqualfiied Java name for the implementation class.
-     */
-    public abstract String getShortJavaImplName();
-
-    /**
-     * The Java class corresponding to this schema type.
-     */
-    public abstract Class getJavaClass();
-
-    /**
-     * The Java class corresponding to the enumeration type for this schema type,
-     * if applicable (or null if not an enumeration).
-     */
-    public abstract Class getEnumJavaClass();
-
-    /**
-     * True if the Xsd type is anonymous (i.e., not top-level).
-     */
-    public abstract boolean isAnonymousType();
-
-    /**
-     * True for any of the 40+ built-in types.
-     */
-    public abstract boolean isBuiltinType();
-
-    /**
-     * True for the anySimpleType and any restrictions/unions/lists.
-     */
-    public abstract boolean isSimpleType();
-
-    /**
-     * Returns base restriction or extension type. Unions and lists
-     * return the anySimpleType.
-     */
-    public abstract SchemaType getBaseType();
-
-    /**
-     * Returns common base type with the given type. The returned
-     * type is the most specific declared base type of both types.
-     */
-    public abstract SchemaType getCommonBaseType(SchemaType type);
-
-    /**
-     * True if the specified type derives from this type (or if
-     * it is the same type).
-     *
-     * Note that XmlObject.type (the anyType) is assignable
-     * from all type, and the XmlBeans.noType (the absence of
-     * a type) is assignable to all types.
-     */
-    public abstract boolean isAssignableFrom(SchemaType type);
-
-    /**
-     * Returns an integer for the derivation type, either 
-     * {@link #DT_EXTENSION}, {@link #DT_RESTRICTION}, {@link #DT_NOT_DERIVED}.
-     */
-    public int getDerivationType();
-    
-    /** Not derived.  True for XmlObject.type only. See {@link #getDerivationType}. */
-    public static final int DT_NOT_DERIVED = 0;
-    /** Derived by restriction. See {@link #getDerivationType}. */
-    public static final int DT_RESTRICTION = 1;
-    /** Derived by extension. See {@link #getDerivationType}. */
-    public static final int DT_EXTENSION = 2;
-
-    /**
-     * Returns an integer for builtin types that can be used
-     * for quick comparison.
-     */
-    public abstract int getBuiltinTypeCode();
-
-    /** Not a builtin type */ 
-    public static final int BTC_NOT_BUILTIN = 0;
-    /** xs:anyType, aka {@link XmlObject#type} */ 
-    public static final int BTC_ANY_TYPE = 1;
-    
-    /** The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive */
-    public static final int BTC_FIRST_PRIMITIVE = 2;
-
-    /** xs:anySimpleType, aka {@link XmlAnySimpleType#type} */ 
-    public static final int BTC_ANY_SIMPLE = 2;
-
-    /** xs:boolean, aka {@link XmlBoolean#type} */ 
-    public static final int BTC_BOOLEAN = 3;
-    /** xs:base64Binary, aka {@link XmlBase64Binary#type} */ 
-    public static final int BTC_BASE_64_BINARY = 4;
-    /** xs:hexBinary, aka {@link XmlBase64Binary#type} */ 
-    public static final int BTC_HEX_BINARY = 5;
-    /** xs:anyURI, aka {@link XmlAnyURI#type} */ 
-    public static final int BTC_ANY_URI = 6;
-    /** xs:QName, aka {@link XmlQName#type} */ 
-    public static final int BTC_QNAME = 7;
-    /** xs:NOTATION, aka {@link XmlNOTATION#type} */ 
-    public static final int BTC_NOTATION = 8;
-    /** xs:float, aka {@link XmlFloat#type} */ 
-    public static final int BTC_FLOAT = 9;
-    /** xs:double, aka {@link XmlDouble#type} */ 
-    public static final int BTC_DOUBLE = 10;
-    /** xs:decimal, aka {@link XmlDecimal#type} */ 
-    public static final int BTC_DECIMAL = 11;
-    /** xs:string, aka {@link XmlString#type} */ 
-    public static final int BTC_STRING = 12;
-
-    /** xs:duration, aka {@link XmlDuration#type} */ 
-    public static final int BTC_DURATION = 13;
-    /** xs:dateTime, aka {@link XmlDateTime#type} */ 
-    public static final int BTC_DATE_TIME = 14;
-    /** xs:time, aka {@link XmlTime#type} */ 
-    public static final int BTC_TIME = 15;
-    /** xs:date, aka {@link XmlDate#type} */ 
-    public static final int BTC_DATE = 16;
-    /** xs:gYearMonth, aka {@link XmlGYearMonth#type} */ 
-    public static final int BTC_G_YEAR_MONTH = 17;
-    /** xs:gYear, aka {@link XmlGYear#type} */ 
-    public static final int BTC_G_YEAR = 18;
-    /** xs:gMonthDay, aka {@link XmlGMonthDay#type} */ 
-    public static final int BTC_G_MONTH_DAY = 19;
-    /** xs:gDay, aka {@link XmlGDay#type} */ 
-    public static final int BTC_G_DAY = 20;
-    /** xs:gMonth, aka {@link XmlGMonth#type} */ 
-    public static final int BTC_G_MONTH = 21;
-
-    /** The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive */
-    public static final int BTC_LAST_PRIMITIVE = 21;
-
-    // derived numerics
-    /** xs:integer, aka {@link XmlInteger#type} */ 
-    public static final int BTC_INTEGER = 22;
-    /** xs:long, aka {@link XmlLong#type} */ 
-    public static final int BTC_LONG = 23;
-    /** xs:int, aka {@link XmlInt#type} */ 
-    public static final int BTC_INT = 24;
-    /** xs:short, aka {@link XmlShort#type} */ 
-    public static final int BTC_SHORT = 25;
-    /** xs:byte, aka {@link XmlByte#type} */ 
-    public static final int BTC_BYTE = 26;
-    /** xs:nonPositiveInteger, aka {@link XmlNonPositiveInteger#type} */ 
-    public static final int BTC_NON_POSITIVE_INTEGER = 27;
-    /** xs:NegativeInteger, aka {@link XmlNegativeInteger#type} */ 
-    public static final int BTC_NEGATIVE_INTEGER = 28;
-    /** xs:nonNegativeInteger, aka {@link XmlNonNegativeInteger#type} */ 
-    public static final int BTC_NON_NEGATIVE_INTEGER = 29;
-    /** xs:positiveInteger, aka {@link XmlPositiveInteger#type} */ 
-    public static final int BTC_POSITIVE_INTEGER = 30;
-    /** xs:unsignedLong, aka {@link XmlUnsignedLong#type} */
-    public static final int BTC_UNSIGNED_LONG = 31;
-    /** xs:unsignedInt, aka {@link XmlUnsignedInt#type} */
-    public static final int BTC_UNSIGNED_INT = 32;
-    /** xs:unsignedShort, aka {@link XmlUnsignedShort#type} */
-    public static final int BTC_UNSIGNED_SHORT = 33;
-    /** xs:unsignedByte, aka {@link XmlUnsignedByte#type} */
-    public static final int BTC_UNSIGNED_BYTE = 34;
-
-    // derived strings
-    /** xs:normalizedString, aka {@link XmlNormalizedString#type} */
-    public static final int BTC_NORMALIZED_STRING = 35;
-    /** xs:token, aka {@link XmlToken#type} */
-    public static final int BTC_TOKEN = 36;
-    /** xs:Name, aka {@link XmlName#type} */
-    public static final int BTC_NAME = 37;
-    /** xs:NCName, aka {@link XmlNCName#type} */
-    public static final int BTC_NCNAME = 38;
-    /** xs:language, aka {@link XmlLanguage#type} */
-    public static final int BTC_LANGUAGE = 39;
-    /** xs:ID, aka {@link XmlID#type} */
-    public static final int BTC_ID = 40;
-    /** xs:IDREF, aka {@link XmlIDREF#type} */
-    public static final int BTC_IDREF = 41;
-    /** xs:IDREFS, aka {@link XmlIDREFS#type} */
-    public static final int BTC_IDREFS = 42;
-    /** xs:ENTITY, aka {@link XmlENTITY#type} */
-    public static final int BTC_ENTITY = 43;
-    /** xs:ENTITIES, aka {@link XmlENTITIES#type} */
-    public static final int BTC_ENTITIES = 44;
-    /** xs:NMTOKEN, aka {@link XmlNMTOKEN#type} */
-    public static final int BTC_NMTOKEN = 45;
-    /** xs:NMTOKENS, aka {@link XmlNMTOKENS#type} */
-    public static final int BTC_NMTOKENS = 46;
-
-    public static final int BTC_LAST_BUILTIN = 46;
-
-    /**
-     * True for anyType and anySimpleType.
-     */
-    public boolean isURType();
-
-    /**
-     * True for the type object that represents a the absence of a determined type.
-     * XML Objects whose type isNoType() are never valid.
-     */
-    public boolean isNoType();
-
-    /**
-     * Returns the SchemaTypeLoader in which this type was defined.
-     * Complex types are defined and used in exactly one schema type
-     * system, but simple types are defined in one type system and can
-     * be used in any number of type systems. The most common case is
-     * the builtin types, which are defined in the builtin type system
-     * and used elsewhere.
-     */
-    public SchemaTypeSystem getTypeSystem();
-
-    /**
-     * Returns the filename for the XSD file from which this type
-     * was loaded. Intended for use when debugging.
-     */
-    public String getSourceName();
-
-    /** True if this type cannot be used directly in instances */
-    public boolean isAbstract();
-
-    /** True if other types cannot extend this type (only for complex types) */
-    public boolean finalExtension();
-
-    /** True if other types cannot restrict this type */
-    public boolean finalRestriction();
-
-    /** True if list derivation of this type is prohibited (only for simple types) */
-    public boolean finalList();
-
-    /** True if union derivation of this type is prohibited (only for simple types) */
-    public boolean finalUnion();
-
-    /** True if extensions of this type cannot be substituted for this type */
-    public boolean blockExtension();
-
-    /** True if restrictions of this type cannot be substituted for this type */
-    public boolean blockRestriction();
-
-    /**
-     * Returns {@link #EMPTY_CONTENT}, {@link #SIMPLE_CONTENT}, {@link #ELEMENT_CONTENT}, or
-     * {@link #MIXED_CONTENT} for complex types. For noncomplex types, returns
-     * {@link #NOT_COMPLEX_TYPE}.
-     */
-    public abstract int getContentType();
-    
-    /** Not a complex type.  See {@link #getContentType()}. */
-    public static final int NOT_COMPLEX_TYPE = 0;
-    /** Empty content.  See {@link #getContentType()}. */
-    public static final int EMPTY_CONTENT = 1;
-    /** Simple content.  See {@link #getContentType()}. */
-    public static final int SIMPLE_CONTENT = 2;
-    /** Element-only content.  See {@link #getContentType()}. */
-    public static final int ELEMENT_CONTENT = 3;
-    /** Mixed content.  See {@link #getContentType()}. */
-    public static final int MIXED_CONTENT = 4;
-
-
-    /**
-     * Returns a {@link SchemaTypeElementSequencer} object, which can then
-     * be used to validate complex content inside this element. This is useful
-     * for example for trying out different names and see which one would be
-     * valid as a child of this element.
-     */
-    SchemaTypeElementSequencer getElementSequencer();
-
-    /**
-     * The array of inner (anonymous) types defined
-     * within this type.
-     */
-    public abstract SchemaType[] getAnonymousTypes();
-
-    /**
-     * Returns a SchemaProperty corresponding to an element within this
-     * complex type by looking up the element name.
-     */
-    public abstract SchemaProperty getElementProperty(QName eltName);
-
-    /**
-     * Returns all the SchemaProperties corresponding to elements.
-     */
-    public abstract SchemaProperty[] getElementProperties();
-
-    /**
-     * Returns a SchemaProperty corresponding to an attribute within this
-     * complex type by looking up the attribute name.
-     */
-    public abstract SchemaProperty getAttributeProperty(QName attrName);
-
-    /**
-     * Returns all the SchemaProperties corresponding to attributes.
-     */
-    public abstract SchemaProperty[] getAttributeProperties();
-
-    /**
-     * Returns all the SchemaProperties within this complex type,
-     * elements followed by attributes.
-     */
-    public abstract SchemaProperty[] getProperties();
-
-    /**
-     * Returns the SchemaProperties defined by this complex type,
-     * exclusive of the base type (if any).
-     */
-    SchemaProperty[] getDerivedProperties();
-
-    /**
-     * Returns the attribute model for this complex type (with simple or complex content).
-     */
-    public abstract SchemaAttributeModel getAttributeModel();
-
-    /**
-     * True if this type permits wildcard attributes. See the attribute model for
-     * more information about which wildcards are allowed.
-     */
-    public abstract boolean hasAttributeWildcards();
-
-    /**
-     * Returns the complex content model for this complex type (with complex content).
-     */
-    public abstract SchemaParticle getContentModel();
-
-    /**
-     * True if this type permits element wildcards. See the content model for
-     * more information about which wildcards are allowed, and where.
-     */
-    public abstract boolean hasElementWildcards();
-
-    /**
-     * For document types, true if the given name can be substituted for the
-     * document element name.
-     */
-    public boolean isValidSubstitution(QName name);
-
-    /**
-     * True if the complex content model for this complex type is an "all" group.
-     */
-    public abstract boolean hasAllContent();
-
-    /**
-     * True if particles have same defaults, nillability, etc, that are
-     * invariant when order changes. Computed only for Javaized types.
-     */
-    public abstract boolean isOrderSensitive();
-
-    /**
-     * Returns the type of a child element based on the element name and
-     * an xsi:type attribute (and the type system within which names are
-     * resolved).
-     */
-    public abstract SchemaType getElementType(QName eltName, QName xsiType, SchemaTypeLoader wildcardTypeLoader);
-
-    /**
-     * Returns the type of an attribute based on the attribute name and
-     * the type system within which (wildcard) names are resolved.
-     */
-    public abstract SchemaType getAttributeType(QName eltName, SchemaTypeLoader wildcardTypeLoader);
-
-    /*************************************************************/
-    /* SIMPLE TYPE MODEL BELOW                                   */
-    /*************************************************************/
-
-    /** xs:length facet */
-    public static final int FACET_LENGTH = 0;
-    /** xs:minLength facet */
-    public static final int FACET_MIN_LENGTH = 1;
-    /** xs:maxLength facet */
-    public static final int FACET_MAX_LENGTH = 2;
-    /** xs:minExclusive facet */
-    public static final int FACET_MIN_EXCLUSIVE = 3;
-    /** xs:minInclusive facet */
-    public static final int FACET_MIN_INCLUSIVE = 4;
-    /** xs:maxInclusive facet */
-    public static final int FACET_MAX_INCLUSIVE = 5;
-    /** xs:maxExclusive facet */
-    public static final int FACET_MAX_EXCLUSIVE = 6;
-    /** xs:totalDigits facet */
-    public static final int FACET_TOTAL_DIGITS = 7;
-    /** xs:fractionDigits facet */
-    public static final int FACET_FRACTION_DIGITS = 8;
-
-    public static final int LAST_BASIC_FACET = 8;
-
-    /** xs:whiteSpace facet - use {@link #getWhiteSpaceRule} instead */
-    public static final int FACET_WHITE_SPACE = 9;
-    /** xs:pattern facet - use {@link #matchPatternFacet} instead */
-    public static final int FACET_PATTERN = 10;
-    /** xs:enumeration facet - use {@link #getEnumerationValues} instead */
-    public static final int FACET_ENUMERATION = 11;
-
-    /** The last ordinary facet code */ 
-    public static final int LAST_FACET = 11;
-    
-    /** @see #ordered */
-    public static final int PROPERTY_ORDERED = 12;
-    /** @see #isBounded */
-    public static final int PROPERTY_BOUNDED = 13;
-    /** @see #isFinite */
-    public static final int PROPERTY_CARDINALITY = 14;
-    /** @see #isNumeric */
-    public static final int PROPERTY_NUMERIC = 15;
-    
-    /** The last property code */
-    public static final int LAST_PROPERTY = 15;
-
-
-    /**
-     * Returns the value of the given facet, or null if
-     * none is set.
-     */
-    public abstract XmlAnySimpleType getFacet(int facetCode);
-
-    /**
-     * True if the given facet is fixed.
-     */
-    public abstract boolean isFacetFixed(int facetCode);
-
-    /**
-     * True if ordered.  Returns either {@link #UNORDERED},
-     * {@link #PARTIAL_ORDER}, or {@link #TOTAL_ORDER}.
-     */
-    public abstract int ordered();
-
-    /** Unordered. See {@link #ordered}. */
-    public static int UNORDERED = 0;
-    /** Partially ordered. See {@link #ordered}. */
-    public static int PARTIAL_ORDER = 1;
-    /** Totally ordered. See {@link #ordered}. */
-    public static int TOTAL_ORDER = 2;
-
-    /**
-     * True if bounded.
-     */
-    public abstract boolean isBounded();
-
-    /**
-     * True if finite.
-     */
-    public abstract boolean isFinite();
-
-    /**
-     * True if numeric.
-     */
-    public abstract boolean isNumeric();
-
-    /**
-     * True if there are regex pattern facents
-     */
-    public abstract boolean hasPatternFacet();
-    
-    /**
-     * True 
-     */
-    public abstract String[] getPatterns();
-
-    /**
-     * True if the given string matches the pattern facets.
-     * Always true if there are no pattern facets.
-     */
-    public abstract boolean matchPatternFacet(String s);
-
-    /**
-     * Returns the array of valid objects from the
-     * enumeration facet, null if no enumeration defined.
-     */
-    public abstract XmlAnySimpleType[] getEnumerationValues();
-
-    /**
-     * True if this is a string enum where an integer
-     * is assigned to each enumerated value.
-     */
-    public abstract boolean hasStringEnumValues();
-
-    /**
-     * If this is a string enumeration, returns the most basic base schema
-     * type that this enuemration is based on. Otherwise returns null.
-     */
-    public abstract SchemaType getBaseEnumType();
-
-    /**
-     * Returns the array of SchemaStringEnumEntries for this type: this
-     * array includes information about the java constant names used for
-     * each string enum entry.
-     */
-    public SchemaStringEnumEntry[] getStringEnumEntries();
-
-    /**
-     * Returns the string enum entry corresponding to the given enumerated
-     * string, or null if there is no match or this type is not
-     * a string enumeration.
-     */
-    public SchemaStringEnumEntry enumEntryForString(String s);
-
-    /**
-     * Returns the string enum value corresponding to the given enumerated
-     * string, or null if there is no match or this type is not
-     * a string enumeration.
-     */
-    public abstract StringEnumAbstractBase enumForString(String s);
-
-    /**
-     * Returns the string enum value corresponding to the given enumerated
-     * string, or null if there is no match or this type is not
-     * a string enumeration.
-     */
-    public abstract StringEnumAbstractBase enumForInt(int i);
-
-    /**
-     * True for any of the 20 primitive types (plus anySimpleType)
-     */
-    public abstract boolean isPrimitiveType();
-
-    /**
-     * Returns whether the simple type is ATOMIC, UNION, or LIST.
-     * Returns {@link #NOT_SIMPLE}, {@link #ATOMIC}, {@link #UNION},
-     * or {@link #LIST}.
-     */
-    public abstract int getSimpleVariety();
-    
-    /** Not a simple type or simple content. See {@link #getSimpleVariety}. */
-    public static final int NOT_SIMPLE = 0;
-    /** Atomic type.  See {@link #getSimpleVariety} */
-    public static final int ATOMIC = 1;
-    /** Union type.  See {@link #getSimpleVariety} */
-    public static final int UNION = 2;
-    /** Simple list type.  See {@link #getSimpleVariety} */
-    public static final int LIST = 3;
-
-
-    /**
-     * For atomic types only: get the primitive type underlying this one.
-     * <p>
-     * Returns null if this is not an atomic type.
-     */
-    public abstract SchemaType getPrimitiveType();
-
-    /**
-     * For atomic numeric restrictions of decimal only: the
-     * numeric size category. Takes into account min and max
-     * restrictions as well as totalDigits and fractionDigits
-     * facets.
-     * <p>
-     * Returns either {@link #NOT_DECIMAL},
-     * {@link #SIZE_BYTE}, {@link #SIZE_SHORT}, {@link #SIZE_INT},
-     * {@link #SIZE_LONG}, {@link #SIZE_BIG_INTEGER}, or
-     * {@link #SIZE_BIG_DECIMAL}.
-     */
-    public abstract int getDecimalSize();
-
-    /** Not a decimal restriction. See {@link #getDecimalSize}. */
-    public static final int NOT_DECIMAL = 0;
-    /** Fits in a byte. See {@link #getDecimalSize}. */
-    public static final int SIZE_BYTE = 8;
-    /** Fits in a short. See {@link #getDecimalSize}. */
-    public static final int SIZE_SHORT = 16;
-    /** Fits in an int. See {@link #getDecimalSize}. */
-    public static final int SIZE_INT = 32;
-    /** Fits in a long. See {@link #getDecimalSize}. */
-    public static final int SIZE_LONG = 64;
-    /** Fits in a {@link java.math.BigInteger}. See {@link #getDecimalSize}. */
-    public static final int SIZE_BIG_INTEGER = 1000000; // "millions"
-    /** Fits in a {@link java.math.BigDecimal}. See {@link #getDecimalSize}. */
-    public static final int SIZE_BIG_DECIMAL = 1000001; // "even more"
-
-    /**
-     * For union types only: get the shallow member types. This
-     * returns the declared member types of the union, so, for
-     * example if the type contains another union, the nested
-     * members of that union are NOT returned here.
-     * <p>
-     * Returns null if this type is not a union.
-     */
-    public abstract SchemaType[] getUnionMemberTypes();
-
-    /**
-     * For union types only: gets the full tree of member types.
-     * This computes the closure of the set returned by
-     * getUnionMemberTypes(), so, for example, it returns
-     * all the types nested within unions of unions as well
-     * as the top-level members; the set also includes the
-     * type itself. If you are seeking only the basic
-     * non-union consituents, use getUnionConstituentTypes.
-     * <p>
-     * Returns null if this type is not a union.
-     */
-    public abstract SchemaType[] getUnionSubTypes();
-
-    /**
-     * For union types only: get the constituent member types. This
-     * returns only non-union types, so, for example, for unions of
-     * unions, this returns the flattened list of individual member
-     * types within the innermost unions.
-     * <p>
-     * Returns null if this type is not a union.
-     */
-    public abstract SchemaType[] getUnionConstituentTypes();
-
-    /**
-     * For union types only: get the most specific common base
-     * type of the constituent member types. May return a UR type.
-     * <p>
-     * Returns null if this type is not a union.
-     */
-    public abstract SchemaType getUnionCommonBaseType();
-
-    /**
-     * For anonymous types defined inside a union only: gets
-     * the integer indicating the declaration order of this
-     * type within the outer union type, or zero if this is
-     * not applicable. The first anonymous union member within
-     * a union type is numbered "1". Used to differentiate
-     * between different anonymous types.
-     */
-    public abstract int getAnonymousUnionMemberOrdinal();
-
-    /**
-     * For list types only: get the item type. This is the atomic
-     * or union type that is the type of every entry in the list.
-     * <p>
-     * Returns null if this type is not a list.
-     */
-    public abstract SchemaType getListItemType();
-
-    /**
-     * For nonunion simple types: get the whitespace rule. This is
-     * either {@link #WS_PRESERVE}, {@link #WS_REPLACE}, or
-     * {@link #WS_COLLAPSE}. Returns {@link #WS_UNSPECIFIED}
-     * for unions and complex types.
-     */
-    public abstract int getWhiteSpaceRule();
-
-    /** Whitespace rule unspecified.  See {@link #getWhiteSpaceRule}. */
-    public static final int WS_UNSPECIFIED = 0;
-    /** Whitespace preserved.  See {@link #getWhiteSpaceRule}. */
-    public static final int WS_PRESERVE = 1;
-    /** Whitespace replaced by ordinary space.  See {@link #getWhiteSpaceRule}. */
-    public static final int WS_REPLACE = 2;
-    /** Whitespace collapsed and trimmed.  See {@link #getWhiteSpaceRule}. */
-    public static final int WS_COLLAPSE = 3;
-
-    /**
-     * Creates an immutable simple type value that does not reside in a tree.
-     */
-    public abstract XmlAnySimpleType newValue(Object v);
-    
-
-    /**
-     * Used to allow on-demand loading of types.
-     * 
-     * @exclude
-     */
-    public final static class Ref extends SchemaComponent.Ref
-    {
-        public Ref(SchemaType type)
-            { super(type); }
-
-        public Ref(SchemaTypeSystem system, String handle)
-            { super(system, handle); }
-
-        public final int getComponentType()
-            { return SchemaComponent.TYPE; }
-
-        public final SchemaType get()
-            { return (SchemaType)getComponent(); }
-    }
-
-    /**
-     * Retruns a SchemaType.Ref pointing to this schema type itself.
-     */
-    public Ref getRef();
-
-    /**
-     * Returns a QNameSet of elements that may exist in wildcard
-     * buchets and are not explicitly defined in this schema type.
-     * Note: In this example:
-     *  <xs:complexType name="exampleType">
-     *    <xs:sequence>
-     *      <xs:element name="someElement" type='xs:string' />
-     *      <xs:any namespace="##targetNamespace" />
-     *    </xs:sequence>
-     *  </xs:complexType>
-     *  the returned QNameSet will not contain the qname of 'someElement'.
-     * @return the constructed QNameSet
-     */
-    public QNameSet qnameSetForWildcardElements();
-
-    /**
-     * Returns a QNameSet of attributes that may exist in wildcard
-     * buchets and are not explicitly defined in this schema type.
-     * Note: In this example:
-     *  <xs:complexType name="exampleType">
-     *    ...
-     *    <xs:attribute name='someAttribute' type='xs:string' />
-     *    <xs:anyAttribute namespace="##targetNamespace" />
-     *  </xs:complexType>
-     *  the returned QNameSet will not contain the qname of 'someAttribute'.
-     * @return the constructed QNameSet
-     */
-    public QNameSet qnameSetForWildcardAttributes();
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeElementSequencer.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeElementSequencer.java
deleted file mode 100644
index 6e19347..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeElementSequencer.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-
-/**
- * This class is used to programatically validate the contents of an
- * XML element.Call to both {@link #next} and {@link #peek}
- * will return true if the element
- * with the provided name is allowed at the current position in the element
- * content, the difference being that {@link #next} will advance
- * the current position, while {@link #peek} won't.
- *
- * @see SchemaType#getElementSequencer
- */
-public interface SchemaTypeElementSequencer
-{
-    /**
-     * Returns true if the element with the given name is valid at the
-     * current position. Advances the current position.
-     */
-    boolean next(QName elementName);
-
-    /**
-     * Return true if the element with the given name is valid at the
-     * current position. Does not advance the current position.
-     */
-    boolean peek(QName elementName);
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoader.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoader.java
deleted file mode 100644
index 39d1461..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoader.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-import java.io.File;
-import java.io.InputStream;
-import java.io.IOException;
-import java.io.Reader;
-import java.net.URL;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.w3c.dom.Node;
-
-/**
- * Represents a searchable set of XML Schema component definitions.
- * <p>
- * SchemaTypeLoader is somewhat analogous to {@link java.lang.ClassLoader},
- * because it is responsible for finding {@link SchemaComponent} definitions
- * by name, yet it is not responsible for being able to enumerate all the
- * component definitons available. (If you wish to enumerate component
- * definitions, see {@link SchemaTypeSystem}.) There are some ways in which
- * SchemaTypeSystems are dissimilar from ClassLoaders, however.
- * Since XML Schema has a number of instance-oriented typing mechanisms
- * (such as wildcards) that do not exist in Java, a SchemaTypeLoader is
- * not associated with a type; instead, a SchemaTypeLoader is associated
- * with each XML instance.
- * <p>
- * Every XML instance is loaded within the context of a SchemaTypeLoader;
- * the SchemaTypeLoader for an instance is used to resolve all type definitions
- * within the instance and for applying type-sensitive methods such as
- * {@link XmlObject#validate}.
- * <p>
- * Normally the SchemaTypeLoader being used for all instances is the
- * context type loader (that is, the SchemaTypeLoader returned from
- * {@link XmlBeans#getContextTypeLoader()}).  The context type loader
- * consults the thread's context ClassLoader (see {@link Thread#getContextClassLoader()})
- * to find schema type defintions that are available on the classpath.
- * The net result is that you can use schema types simply by putting
- * their compiled schema JARs on your classpath.
- * If you wish to load instances using a different SchemaTypeLoader, then you must
- * call {@link #parse} methods on the SchemaTypeLoader instance explicitly
- * rather than using the normal convenient Factory methods.
- * <p>
- * A SchemaTypeLoader can be obtained by dynamically loading XSD files
- * using {@link XmlBeans#loadXsd}, or by assembling other SchemaTypeLoaders
- * or SchemaTypeSystems on a path using {@link XmlBeans#typeLoaderUnion}.
- * 
- * @see XmlBeans#loadXsd
- * @see XmlBeans#getContextTypeLoader
- * @see XmlBeans#typeLoaderUnion
- * @see SchemaTypeSystem
- */ 
-public interface SchemaTypeLoader
-{
-    /** Returns the type with the given name, or null if none. */
-    public SchemaType findType(QName name);
-
-    /** Returns the document type rooted at the given element name, or null if none. */
-    public SchemaType findDocumentType(QName name);
-    
-    /** Returns the attribute type containing the given attribute name, or null if none. */
-    public SchemaType findAttributeType(QName name);
-
-    /** Returns the global element defintion with the given name, or null if none. */
-    public SchemaGlobalElement findElement(QName name);
-
-    /** Returns the global attribute defintion with the given name, or null if none. */
-    public SchemaGlobalAttribute findAttribute(QName name);
-    
-    /** Returns the model group defintion with the given name, or null if none. */
-    public SchemaModelGroup findModelGroup(QName name);
-    
-    /** Returns the attribute group defintion with the given name, or null if none. */
-    public SchemaAttributeGroup findAttributeGroup(QName name);
-
-    /** True if the typeloader contains any definitions in the given namespace. */
-    public boolean isNamespaceDefined(String namespace);
-
-    /** Used for on-demand loading. */
-    public SchemaType.Ref findTypeRef(QName name);
-
-    /** Used for on-demand loading. */
-    public SchemaType.Ref findDocumentTypeRef(QName name);
-    
-    /** Used for on-demand loading. */
-    public SchemaType.Ref findAttributeTypeRef(QName name);
-
-    /** Used for on-demand loading. */
-    public SchemaGlobalElement.Ref findElementRef(QName name);
-
-    /** Used for on-demand loading. */
-    public SchemaGlobalAttribute.Ref findAttributeRef(QName name);
-    
-    /** Used for on-demand loading. */
-    public SchemaModelGroup.Ref findModelGroupRef(QName name);
-    
-    /** Used for on-demand loading. */
-    public SchemaAttributeGroup.Ref findAttributeGroupRef(QName name);
-
-    /** Used for on-demand loading. */
-    public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName name);
-
-    /** Finds a type for a given signature string */
-    public SchemaType typeForSignature(String signature);
-
-    /** Finds a type for a given fully-qualified XML Bean classname */
-    public SchemaType typeForClassname(String classname);
-
-    /** Loads original XSD source as a stream.  See {@link SchemaType#getSourceName}. */
-    public InputStream getSourceAsStream(String sourceName);
-    
-    /** Compiles an XPath */
-    public String compilePath(String pathExpr, XmlOptions options) throws XmlException;
-
-    /** Compiles an XQuery */
-    public String compileQuery(String queryExpr, XmlOptions options) throws XmlException;
-
-    /** Creates an instance of the given type. */
-    public XmlObject newInstance ( SchemaType type, XmlOptions options );
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( String xmlText, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( File file, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( URL file, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( InputStream jiois, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( XMLStreamReader xsr, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( Reader jior, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( Node node, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Parses an instance of the given type. */
-    public XmlObject parse ( XMLInputStream xis, SchemaType type, XmlOptions options ) throws XmlException, XMLStreamException;
-    /** Returns an XmlSaxHandler that can parse an instance of the given type. */
-    public XmlSaxHandler newXmlSaxHandler ( SchemaType type, XmlOptions options );
-    /** Returns a validating XMLInputStream that will throw an exception if the XML is not valid */
-    public XMLInputStream newValidatingXMLInputStream ( XMLInputStream xis, SchemaType type, XmlOptions options ) throws XmlException, XMLStreamException;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoaderException.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoaderException.java
deleted file mode 100644
index 0cb6e3e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeLoaderException.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * An exception that is thrown if there is corruption or a version mismatch
- * in a compiled schema type system.
- */ 
-public class SchemaTypeLoaderException extends XmlRuntimeException
-{
-    private int _code;
-    
-    /** Constructs an exception with the given message, filename, extension, and code */
-    public SchemaTypeLoaderException(String message, String name, String handle, int code)
-    {
-        super(message + " (" + name + "." + handle + ") - code " + code);
-        _code = code;
-    }
-
-    /** Constructs an exception with the given message, filename, extension, code, and cause */
-    public SchemaTypeLoaderException(String message, String name, String handle, int code, Exception cause)
-    {
-        super(message + " (" + name + "." + handle + ") - code " + code);
-        _code = code;
-        initCause(cause);
-    }
-
-    /** Returns the reason for the failure, given by one of the numeric constants in this class */
-    public int getCode()
-    {
-        return _code;
-    }
-
-    /* See {@link #getCode}. */
-    public static final int NO_RESOURCE = 0;
-    /* See {@link #getCode}. */
-    public static final int WRONG_MAGIC_COOKIE = 1;
-    /* See {@link #getCode}. */
-    public static final int WRONG_MAJOR_VERSION = 2;
-    /* See {@link #getCode}. */
-    public static final int WRONG_MINOR_VERSION = 3;
-    /* See {@link #getCode}. */
-    public static final int WRONG_FILE_TYPE = 4;
-    /* See {@link #getCode}. */
-    public static final int UNRECOGNIZED_INDEX_ENTRY = 5;
-    /* See {@link #getCode}. */
-    public static final int WRONG_PROPERTY_TYPE = 6;
-    /* See {@link #getCode}. */
-    public static final int MALFORMED_CONTENT_MODEL = 7;
-    /* See {@link #getCode}. */
-    public static final int WRONG_SIMPLE_VARIETY = 8;
-    /* See {@link #getCode}. */
-    public static final int IO_EXCEPTION = 9;
-    /* See {@link #getCode}. */
-    public static final int INT_TOO_LARGE = 10;
-    /* See {@link #getCode}. */
-    public static final int BAD_PARTICLE_TYPE = 11;
-    /* See {@link #getCode}. */
-    public static final int NOT_WRITEABLE = 12;
-    /* See {@link #getCode}. */
-    public static final int BAD_HANDLE = 13;
-    /* See {@link #getCode}. */
-    public static final int NESTED_EXCEPTION = 14;
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeSystem.java b/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeSystem.java
deleted file mode 100644
index 4b2930c..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SchemaTypeSystem.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.io.File;
-
-/**
- * A finite set of XML Schema component definitions.
- * <p>
- * Every {@link SchemaComponent} such as a {@link SchemaType},
- * {@link SchemaGlobalElement}, {@link SchemaGlobalAttribute},
- * {@link SchemaModelGroup}, {@link SchemaAttributeGroup}, or
- * {@link SchemaIdentityConstraint}, is defined in exactly one
- * SchemaTypeSystem.  (See {@link SchemaComponent#getTypeSystem()}.)
- * A single SchemaTypeSystem can include definitions
- * from any number of namespaces; one SchemaTypeSystem consists simply
- * of a set of component definitions that were compiled together.
- * <p>
- * Since every component is defined in a single SchemaTypeSystem, no
- * SchemaTypeSystem other than {@link XmlBeans#getBuiltinTypeSystem()}
- * includes any of the the built-in types.  That means
- * you cannot ordinarily load instances using a single
- * SchemaTypeSystem by itself. Instead, you will want to combine a path of
- * SchemaTypeSystems together using {@link XmlBeans#typeLoaderUnion}
- * to form a SchemaTypeLoader that can be used for loading instances.
- * <p>
- * For example, the following code compiles the schema in myXSDFile
- * in the presence of only the minimal builtin type system.
- * The resulting SchemaTypeSystem <code>sts</code> contains only the definitions
- * from myXSD file.  In order to load and validate an instance within
- * the context of those types, we must next construct a
- * {@link SchemaTypeLoader} <code>stl</code> that contains both
- * the builtin type system and the types defined within the myXSD file.
- * <pre>
- * SchemaTypeSystem sts = XmlBeans.compileXsd(new XmlObject[]
- *    { XmlObject.Factory.parse(myXSDFile) },
- *    XmlBeans.getBuiltinTypeSystem(),
- *    null);
- * SchemaTypeLoader stl = XmlBeans.typeLoaderUnion(new SchemaTypeLoader[]
- *    { sts, XmlBeans.getBuiltinTypeSystem() });
- * XmlObject mydoc = stl.parse(instanceFile, null, null);
- * System.out.println("Document valid: " + mydoc.validate());
- * </pre>
- * <p>
- * As you can see, for working with instances, you typically want to
- * work with a SchemaTypeLoader constructed from a path rather than
- * a solitary SchemaTypeSystem.  See {@link XmlBeans#loadXsd} for
- * a convenient alternative to {@link XmlBeans#compileXsd}.
- * <p>
- * A SchemaTypeSystem is useful when you need to enumerate the exact set
- * of component definitions derived from a set of XSD files, for example,
- * when you are analyzing the contents of the XSD files themselves.
- * Here is how to use a SchemaTypeSystem to inspect a set of schema
- * definitions:
- * <ol>
- * <li>First, use {@link XmlBeans#compileXsd} to compile any number
- *     of schema files.  If the schema files are valid, result will
- *     be a SchemaTypeSystem that contains all the component definitions
- *     from those files.  It will contain no other component definitions.
- * <li>Alternatively, call {@link SchemaComponent#getTypeSystem} on
- *     a precompiled schema component to discover the SchemaTypeSystem
- *     within which that component was originally compiled.
- * <li>Once you have a SchemaTypeSystem, call:
- *   <ul>
- *   <li> {@link #globalTypes()} for all the global type definitions.
- *   <li> {@link #globalElements()} for all the global element definitions.
- *   <li> {@link #globalAttributes()} for all the global attribute definitions.
- *   <li> {@link #modelGroups()} for all the named model group definitions.
- *   <li> {@link #attributeGroups()} for all the attribute group definitions.
- *   </ul>
- * <li>In addition, there are special types generated for XML Beans thare
- *     are not formally part of the Schema specification:
- *   <ul>
- *   <li> {@link #documentTypes()} returns all the document types.
- *   <li> {@link #attributeTypes()} returns all the attribute types.
- *   </ul>
- * </ol>
- * 
- * <p>
- * A document type is a type that contains a single global element; there
- * is one document type for each global element definition in a
- * SchemaTypeSystem.  In an instance document, only the root XmlObject
- * can have a document type as its type.
- * <p>
- * Similarly, an attribute type is a type that contains a single global
- * attribute, and there is one attribute type for each global attribute
- * definition in a SchemaTypeSystem.  It is possible to have a root
- * XmlObject representing a fragment whose type is an attribute type,
- * but attribute types are present mainly for symmetry and to simplify
- * code such as the type-tree-walking code below.
- * <p>
- * The global component methods above only provide a view of the top-level
- * components of a SchemaTypeSystem and do not include any nested
- * definitions.  To view all the nested definitions, you will want to
- * traverse the entire tree of {@link SchemaType} defintions within a
- * SchemaTypeSystem by examining the {@link SchemaType#getAnonymousTypes()}
- * within each {@link SchemaType} recursively.
- * <p>The following code is a standard treewalk that visits every
- * {@link SchemaType} in the SchemaTypeSystem once, including nested
- * definitions.
- * <pre>
- * List allSeenTypes = new ArrayList();
- * allSeenTypes.addAll(Arrays.asList(typeSystem.documentTypes()));
- * allSeenTypes.addAll(Arrays.asList(typeSystem.attributeTypes()));
- * allSeenTypes.addAll(Arrays.asList(typeSystem.globalTypes()));
- * for (int i = 0; i < allSeenTypes.size(); i++)
- * {
- *     SchemaType sType = (SchemaType)allSeenTypes.get(i);
- *     System.out.prinlnt("Visiting " + sType.toString());
- *     allSeenTypes.addAll(Arrays.asList(sType.getAnonymousTypes()));
- * }
- * </pre>
- *
- * @see SchemaType 
- * @see SchemaTypeLoader 
- * @see XmlBeans#compileXsd
- * @see XmlBeans#typeLoaderUnion
- * @see XmlBeans#getBuiltinTypeSystem
- */ 
-public interface SchemaTypeSystem extends SchemaTypeLoader
-{
-    /**
-     * Returns the name of this loader.
-     */
-    public String getName();
-
-    /**
-     * Returns the global types defined in this loader.
-     */
-    public org.apache.xmlbeans.SchemaType[] globalTypes();
-
-    /**
-     * Returns the document types defined in this loader.
-     */
-    public org.apache.xmlbeans.SchemaType[] documentTypes();
-
-    /**
-     * Returns the attribute types defined in this loader.
-     */
-    public org.apache.xmlbeans.SchemaType[] attributeTypes();
-
-    /**
-     * Returns the global elements defined in this loader.
-     */
-    public SchemaGlobalElement[] globalElements();
-
-    /**
-     * Returns the global attributes defined in this loader.
-     */
-    public SchemaGlobalAttribute[] globalAttributes();
-
-    /**
-     * Returns the model groups defined in this loader.
-     */
-    public SchemaModelGroup[] modelGroups();
-
-    /**
-     * Returns the attribute groups defined in this loader.
-     */
-    public SchemaAttributeGroup[] attributeGroups();
-
-    /**
-     * Returns the top-level annotations */
-    public SchemaAnnotation[] annotations();
-
-    /**
-     * Initializes a type system (resolves all handles within the type system).
-     */
-    public void resolve();
-
-    /**
-     * Locates a type, element, or attribute using the handle.
-     */
-    public SchemaComponent resolveHandle(String handle);
-
-    /**
-     * Locates a type, element, or attribute using the handle.
-     */
-    public SchemaType typeForHandle(String handle);
-
-    /**
-     * Returns the classloader used by this loader for resolving types.
-     */
-    public ClassLoader getClassLoader();
-
-    /**
-     * Saves this type to a directory.
-     */
-    public void saveToDirectory(File classDir);
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SimpleValue.java b/v2/src/xmlpublic/org/apache/xmlbeans/SimpleValue.java
deleted file mode 100644
index 8b5494a..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SimpleValue.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import java.util.List;
-import java.util.Date;
-import java.util.Calendar;
-import java.math.BigInteger;
-import java.math.BigDecimal;
-
-/**
- * All XmlObject implementations can be coerced to SimpleValue.
- * For any given schema type, only a subset of the conversion
- * methods will work.  Others will throw an exception.
- * <p>
- * SimpleValue is useful for declaring variables which can hold
- * more than one similar schema type that may not happen to
- * have a common XML base type, for example, two list types,
- * or two unrelated integer restrictions that happen to fit
- * into an int.
- */
-public interface SimpleValue extends XmlObject
-{
-    /**
-     * The same as getSchemaType unless this is a union instance
-     * or nil value.
-     * <p>
-     * For unions, this returns the non-union consituent type of
-     * this instance. This type may change if setters are called
-     * that cause the instance to change to another constituent
-     * type of the union.
-     * <p>
-     * For nil values, this returns null.
-     */
-    SchemaType instanceType();
-
-    /** Returns the value as a {@link String}. */
-    String getStringValue();
-    /** Returns the value as a boolean. */
-    boolean getBooleanValue();
-    /** Returns the value as a byte. */
-    public byte getByteValue();
-    /** Returns the value as a short. */
-    public short getShortValue();
-    /** Returns the value as an int. */
-    public int getIntValue();
-    /** Returns the value as a long. */
-    public long getLongValue();
-    /** Returns the value as a {@link BigInteger}. */
-    public BigInteger getBigIntegerValue();
-    /** Returns the value as a {@link BigDecimal}. */
-    public BigDecimal getBigDecimalValue();
-    /** Returns the value as a float. */
-    public float getFloatValue();
-    /** Returns the value as a double. */
-    public double getDoubleValue();
-    /** Returns the value as a byte array. */
-    byte[] getByteArrayValue();
-    /** Returns the value as a {@link StringEnumAbstractBase}. */
-    StringEnumAbstractBase getEnumValue();
-    /** Returns the value as a {@link Calendar}. */
-    Calendar getCalendarValue();
-    /** Returns the value as a {@link Date}. */
-    Date getDateValue();
-    /** Returns the value as a {@link GDate}. */
-    GDate getGDateValue();
-    /** Returns the value as a {@link GDuration}. */
-    GDuration getGDurationValue();
-    /** Returns the value as a {@link QName}. */
-    QName getQNameValue();
-    /** Returns the value as a {@link List} of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). */
-    List getListValue();
-    /** Returns the value as a {@link List} of XmlAnySimpleType objects. */
-    List xgetListValue();
-
-    /** Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). */
-    Object getObjectValue();
-
-    // following are simple type value setters
-
-    /** Sets the value as a {@link String}. */
-    void setStringValue(String obj);
-    /** Sets the value as a boolean. */
-    void setBooleanValue(boolean v);
-    /** Sets the value as a byte. */
-    void setByteValue(byte v);
-    /** Sets the value as a short. */
-    void setShortValue(short v);
-    /** Sets the value as an int. */
-    void setIntValue(int v);
-    /** Sets the value as a long. */
-    void setLongValue(long v);
-    /** Sets the value as a {@link BigInteger}. */
-    void setBigIntegerValue(BigInteger obj);
-    /** Sets the value as a {@link BigDecimal}. */
-    void setBigDecimalValue(BigDecimal obj);
-    /** Sets the value as a float. */
-    void setFloatValue(float v);
-    /** Sets the value as a double. */
-    void setDoubleValue(double v);
-    /** Sets the value as a byte array. */
-    void setByteArrayValue(byte[] obj);
-    /** Sets the value as a {@link StringEnumAbstractBase}. */
-    void setEnumValue(StringEnumAbstractBase obj);
-    /** Sets the value as a {@link Calendar}. */
-    void setCalendarValue(Calendar obj);
-    /** Sets the value as a {@link Date}. */
-    void setDateValue(Date obj);
-    /** Sets the value as a {@link GDate}. */
-    void setGDateValue(GDate obj);
-    /** Sets the value as a {@link GDuration}. */
-    void setGDurationValue(GDuration obj);
-    /** Sets the value as a {@link QName}. */
-    void setQNameValue(QName obj);
-    /** Sets the value as a {@link List}. */
-    void setListValue(List obj);
-    /** Sets the value as an arbitrary {@link Object}. */
-    void setObjectValue(Object obj);
-
-    /**
-     * Returns the value as a {@link String}. *
-     * @deprecated replaced with {@link #getStringValue}
-     */
-    String stringValue();
-    /**
-     * Returns the value as a boolean. *
-     * @deprecated replaced with {@link #getBooleanValue}
-     */
-    boolean booleanValue();
-    /**
-     * Returns the value as a byte. *
-     * @deprecated replaced with {@link #getByteValue}
-     */
-    public byte byteValue();
-    /**
-     * Returns the value as a short. *
-     * @deprecated replaced with {@link #getShortValue}
-     */
-    public short shortValue();
-    /**
-     * Returns the value as an int. *
-     * @deprecated replaced with {@link #getIntValue}
-     */
-    public int intValue();
-    /**
-     * Returns the value as a long. *
-     * @deprecated replaced with {@link #getLongValue}
-     */
-    public long longValue();
-    /**
-     * Returns the value as a {@link BigInteger}. *
-     * @deprecated replaced with {@link #getBigIntegerValue}
-     */
-    public BigInteger bigIntegerValue();
-    /**
-     * Returns the value as a {@link BigDecimal}. *
-     * @deprecated replaced with {@link #getBigDecimalValue}
-     */
-    public BigDecimal bigDecimalValue();
-    /**
-     * Returns the value as a float. *
-     * @deprecated replaced with {@link #getFloatValue}
-     */
-    public float floatValue();
-    /**
-     * Returns the value as a double. *
-     * @deprecated replaced with {@link #getDoubleValue}
-     */
-    public double doubleValue();
-    /**
-     * Returns the value as a byte array. *
-     * @deprecated replaced with {@link #getByteArrayValue}
-     */
-    byte[] byteArrayValue();
-    /**
-     * Returns the value as a {@link StringEnumAbstractBase}. *
-     * @deprecated replaced with {@link #getEnumValue}
-     */
-    StringEnumAbstractBase enumValue();
-    /**
-     * Returns the value as a {@link Calendar}. *
-     * @deprecated replaced with {@link #getCalendarValue}
-     */
-    Calendar calendarValue();
-    /**
-     * Returns the value as a {@link Date}. *
-     * @deprecated replaced with {@link #getDateValue}
-     */
-    Date dateValue();
-    /**
-     * Returns the value as a {@link GDate}. *
-     * @deprecated replaced with {@link #getGDateValue}
-     */
-    GDate gDateValue();
-    /**
-     * Returns the value as a {@link GDuration}. *
-     * @deprecated replaced with {@link #getGDurationValue}
-     */
-    GDuration gDurationValue();
-    /**
-     * Returns the value as a {@link QName}. *
-     * @deprecated replaced with {@link #getQNameValue}
-     */
-    QName qNameValue();
-    /**
-     * Returns the value as a {@link List} of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-     * @deprecated replaced with {@link #getListValue}
-     */
-    List listValue();
-    /**
-     * Returns the value as a {@link List} of XmlAnySimpleType objects. *
-     * @deprecated replaced with {@link #getListValue}
-     */
-    List xlistValue();
-    
-    /**
-     * Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-     * @deprecated replaced with {@link #getObjectValue}
-     */
-    Object objectValue();
-
-    // following are simple type value setters
-
-    /**
-     * Sets the value as a {@link String}. *
-     * @deprecated replaced with {@link #setStringValue}
-     */
-    void set(String obj);
-    /**
-     * Sets the value as a boolean. *
-     * @deprecated replaced with {@link #setBooleanValue}
-     */
-    void set(boolean v);
-    /**
-     * Sets the value as a byte.
-     * @deprecated replaced with {@link #setByteValue}
-     **/
-    void set(byte v);
-    /**
-     * Sets the value as a short.
-     * @deprecated replaced with {@link #setShortValue}
-     **/
-    void set(short v);
-    /**
-     * Sets the value as an int.
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-    /**
-     * Sets the value as a long.
-     * @deprecated replaced with {@link #setLongValue}
-     **/
-    void set(long v);
-    /**
-     * Sets the value as a {@link BigInteger}.
-     * @deprecated replaced with {@link #setBigIntegerValue}
-     **/
-    void set(BigInteger obj);
-    /**
-     * Sets the value as a {@link BigDecimal}
-     * @deprecated replaced with {@link #setBigDecimalValue}
-     **/
-    void set(BigDecimal obj);
-    /**
-     * Sets the value as a float.
-     * @deprecated replaced with {@link #setFloatValue}
-     **/
-    void set(float v);
-    /**
-     * Sets the value as a double.
-     * @deprecated replaced with {@link #setDoubleValue}
-     **/
-    void set(double v);
-    /**
-     * Sets the value as a byte array.
-     * @deprecated replaced with {@link #setByteArrayValue}
-     **/
-    void set(byte[] obj);
-    /**
-     * Sets the value as a {@link StringEnumAbstractBase}.
-     * @deprecated replaced with {@link #setEnumValue}
-     **/
-    void set(StringEnumAbstractBase obj);
-    /**
-     * Sets the value as a {@link Calendar}.
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar obj);
-    /**
-     * Sets the value as a {@link Date}.
-     * @deprecated replaced with {@link #setDateValue}
-     **/
-    void set(Date obj);
-    /**
-     * Sets the value as a {@link GDate}.
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification obj);
-    /**
-     * Sets the value as a {@link GDuration}.
-     * @deprecated replaced with {@link #setGDurationValue}
-     **/
-    void set(GDurationSpecification obj);
-    /**
-     * Sets the value as a {@link QName}.
-     * @deprecated replaced with {@link #setQNameValue}
-     **/
-    void set(QName obj);
-    /**
-     * Sets the value as a {@link List}.
-     * @deprecated replaced with {@link #setListValue}
-     **/
-    void set(List obj);
-    /**
-     * Sets the value as an arbitrary {@link Object}.
-     * @deprecated replaced with {@link #setObjectValue}
-     **/
-    void objectSet(Object obj);
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SoapMarshaller.java b/v2/src/xmlpublic/org/apache/xmlbeans/SoapMarshaller.java
deleted file mode 100644
index 5cf4d82..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SoapMarshaller.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import java.util.Iterator;
-
-/**
- * A SoapMarshaller object is used to convert Java objects to SOAP encoded XML documents.
- * The object is not thread safe and should not be shared between threads.
- * It can however be shared across different invocations of
- * Marshaller.marshalType() for a given document.
- */
-public interface SoapMarshaller
-{
-    /**
-     * Write an XML representation of the Java object to the provided output.
-     *
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-     *
-     * As of this writing (11/22/2003), this method will NOT write
-     * a START_DOCUMENT or END_DOCUMENT element.
-     * The first event written will be a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param writer
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @throws XmlException
-     */
-    void marshalType(XMLStreamWriter writer,
-                     Object obj,
-                     QName elementName,
-                     QName schemaType,
-                     String javaType,
-                     XmlOptions options)
-        throws XmlException;
-
-
-
-    /**
-     * Get the multiply referenced objects, usually written after the other parts.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param options
-     * @throws XmlException
-     */
-    void marshalReferenced(XMLStreamWriter writer,
-                           XmlOptions options)
-        throws XmlException;
-
-
-
-    /**
-     * Get an XMLStreamReader object that represents the given java type.
-
-     * It is the responsibility of the caller to ensure that
-     * obj is an instanceof javaType
-
-     * The returned reader will NOT contain a
-     * START_DOCUMENT or END_DOCUMENT element.
-     * The reader's first event is a START_ELEMENT event.
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param obj
-     * @param elementName
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    XMLStreamReader marshalType(Object obj,
-                                QName elementName,
-                                QName schemaType,
-                                String javaType,
-                                XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * Get the multiply referenced objects, usually written after the other parts.
-     *
-     * Returns an Iterator of XMLStreamReader objects, each reader
-     * represting an object that has been referred to more than once.
-     *
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param options
-     * @return
-     * @throws XmlException
-     */
-    Iterator marshalReferenced(XmlOptions options)
-        throws XmlException;
-
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/SoapUnmarshaller.java b/v2/src/xmlpublic/org/apache/xmlbeans/SoapUnmarshaller.java
deleted file mode 100644
index 52c857d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/SoapUnmarshaller.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-
-/**
- * An Unmarshaller is used to unmarshal xml documents into Java objects.
- * The object is not thread safe and should not be shared
- * amonst threads.  It should however be shared across different invocations of
- * unmarshalType() for a given document.  The Unmarshaller maintains a cache of
- * what objects have been deserialized, and will maintain this cache across
- * invocations of unmarshalType
- */
-public interface SoapUnmarshaller
-{
-
-    /**
-     * unmarshal an xml instance of a given schema type
-     *
-     * No attention is paid to the actual tag on which the reader is positioned.
-     * It is only the contents that matter
-     * (including attributes on that start tag).
-     *
-     *
-     * PRECONDITIONS:
-     * reader.isStartElement() must return true
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after the end element
-     * corresponding to the start element from the precondition
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     *
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @return
-     * @throws XmlException
-     */
-    Object unmarshalType(XMLStreamReader reader,
-                         QName schemaType,
-                         String javaType,
-                         XmlOptions options)
-        throws XmlException;
-
-
-    public interface StreamDeferer {
-        XMLStreamReader lookupRef(String ref);
-    }
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/StringEnumAbstractBase.java b/v2/src/xmlpublic/org/apache/xmlbeans/StringEnumAbstractBase.java
deleted file mode 100644
index f3bad8b..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/StringEnumAbstractBase.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * The base class for code-generated string enumeration value classes.
- * <p>
- * Subclasses are intended to be final types with a finite set of
- * singleton instances.  Each instance has a string value, which
- * it returns via {@link #toString}, and an int value for the purpose
- * of switching in case statements, returned via {@link #intValue}.
- * <p>
- * Each subclass manages an instance of {@link StringEnumAbstractBase.Table},
- * which holds all the singleton instances for the subclass. A Table
- * can return a singleton instance given a String or an integer code.
- */ 
-public class StringEnumAbstractBase implements java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private String _string;
-    private int _int;
-
-    /**
-     * Singleton instances should only be created by subclasses.
-     */ 
-    protected StringEnumAbstractBase(String s, int i)
-        { _string = s; _int = i; }
-
-    /** Returns the underlying string value */
-    public final String toString()
-        { return _string; }
-    /** Returns an int code that can be used for switch statements */
-    public final int intValue()
-        { return _int; }
-    /** Returns the hash code of the underlying string */
-    public final int hashCode()
-        { return _string.hashCode(); }
-
-    /**
-     * Used to manage singleton instances of enumerations.
-     * Each subclass of StringEnumAbstractBase has an instance
-     * of a table to hold the singleton instances.
-     */ 
-    public static final class Table
-    {
-        private Map _map;
-        private List _list;
-        public Table(StringEnumAbstractBase[] array)
-        {
-            _map = new HashMap(array.length);
-            _list = new ArrayList(array.length + 1);
-            for (int i = 0; i < array.length; i++)
-            {
-                _map.put(array[i].toString(), array[i]);
-                int j = array[i].intValue();
-                while (_list.size() <= j)
-                    _list.add(null);
-                _list.set(j, array[i]);
-            }
-        }
-        
-        /** Returns the singleton for a {@link String}, or null if none. */
-        public StringEnumAbstractBase forString(String s)
-        {
-            return (StringEnumAbstractBase)_map.get(s);
-        }
-        /** Returns the singleton for an int code, or null if none. */
-        public StringEnumAbstractBase forInt(int i)
-        {
-            if (i < 0 || i > _list.size())
-                return null;
-            return (StringEnumAbstractBase)_list.get(i);
-        }
-        /** Returns the last valid int code (the first is 1; zero is not used). */
-        public int lastInt()
-        {
-            return _list.size() - 1;
-        }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/Unmarshaller.java b/v2/src/xmlpublic/org/apache/xmlbeans/Unmarshaller.java
deleted file mode 100644
index 1c19521..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/Unmarshaller.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamReader;
-import java.io.InputStream;
-
-/**
- * An Unmarshaller is used to unmarshal xml documents into Java objects.
- * The object is thread safe and can be shared
- * amonst threads.  
- */
-public interface Unmarshaller
-{
-
-    /**
-     *  unmarshall an entire xml document.
-     *
-     * PRECONDITIONS:
-     * reader must be positioned at or before the root
-     * start element of the document.
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after
-     * the end element corresponding to the start element from the precondition
-     *
-     * @param reader
-     * @return
-     * @throws XmlException
-     */
-    Object unmarshal(XMLStreamReader reader)
-        throws XmlException;
-
-    /**
-     *  unmarshall an entire xml document.
-     *
-     * PRECONDITIONS:
-     * reader must be positioned at or before the root
-     * start element of the document.
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after
-     * the end element corresponding to the start element from the precondition
-     *
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     *
-     * @param reader
-     * @return
-     * @throws XmlException
-     */
-    Object unmarshal(XMLStreamReader reader, XmlOptions options)
-        throws XmlException;
-
-
-    /**
-     * unmarshall an entire xml document.  The encoding to use is determined
-     * according to the heuristic specified in the XML 1.0 recommendation.
-     *
-     * @param xmlDocument
-     * @return
-     * @throws org.apache.xmlbeans.XmlException
-     */
-    Object unmarshal(InputStream xmlDocument)
-        throws XmlException;
-
-    /**
-     * unmarshall an entire xml document.  The encoding to use is determined
-     * according to the heuristic specified in the XML 1.0 recommendation.
-     *
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     * @param xmlDocument
-     * @return
-     * @throws org.apache.xmlbeans.XmlException
-     */
-    Object unmarshal(InputStream xmlDocument, XmlOptions options)
-        throws XmlException;
-
-    /**
-     * unmarshal an xml instance of a given schema type
-     *
-     * No attention is paid to the actual tag on which the reader is positioned.
-     * It is only the contents that matter
-     * (including attributes on that start tag).
-     *
-     *
-     * PRECONDITIONS:
-     * reader.isStartElement() must return true
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after the end element
-     * corresponding to the start element from the precondition
-     *
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @return
-     * @throws org.apache.xmlbeans.XmlException
-     */
-    Object unmarshalType(XMLStreamReader reader,
-                         QName schemaType,
-                         String javaType)
-        throws XmlException;
-
-    /**
-     * unmarshal an xml instance of a given schema type
-     *
-     * No attention is paid to the actual tag on which the reader is positioned.
-     * It is only the contents that matter
-     * (including attributes on that start tag).
-     *
-     *
-     * PRECONDITIONS:
-     * reader.isStartElement() must return true
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after the end element
-     * corresponding to the start element from the precondition
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     *
-     * @param schemaType
-     * @param javaType the java type in the format returned by Class.getName()
-     * @return
-     * @throws org.apache.xmlbeans.XmlException
-     */
-    Object unmarshalType(XMLStreamReader reader,
-                         QName schemaType,
-                         String javaType,
-                         XmlOptions options)
-        throws XmlException;
-
-    /**
-     * unmarshal an xml instance of a given schema element
-     *
-     * PRECONDITIONS:
-     * reader.isStartElement() must return true
-     * reader is positioned on an element matching globalElement
-     *   (or on a a valid substitution for that element).
-     *
-     * POSTCONDITIONS:
-     * reader will be positioned immediately after the end element
-     * corresponding to the start element from the precondition
-     *
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     *
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * </ul>
-     *
-     *
-     * @param globalElement  name of a global element
-     * @param javaType the java type in the format returned by Class.getName()
-     * @return
-     * @throws org.apache.xmlbeans.XmlException
-     */
-    Object unmarshalElement(XMLStreamReader reader,
-                            QName globalElement,
-                            String javaType,
-                            XmlOptions options)
-        throws XmlException;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XMLStreamValidationException.java b/v2/src/xmlpublic/org/apache/xmlbeans/XMLStreamValidationException.java
deleted file mode 100644
index 9ec0b0e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XMLStreamValidationException.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-/**
- * An exception thrown from a validating XMLInputStream.
- * 
- * @see XmlObject.Factory#newValidatingXMLInputStream
- * @see SchemaTypeLoader#newValidatingXMLInputStream 
- */
-public class XMLStreamValidationException extends XMLStreamException
-{
-    public XMLStreamValidationException ( XmlError xmlError )
-    {
-        super( xmlError.toString() );
-        
-        _xmlError = xmlError;
-    }
-
-    public XmlError getXmlError ( )
-    {
-        return _xmlError;
-    }
-
-    private XmlError _xmlError;
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnySimpleType.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnySimpleType.java
deleted file mode 100644
index c704164..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnySimpleType.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definition">xs:anySimpleType</a> type.
- * <p>
- * All simple types are convertible to {@link String}. 
- */ 
-public interface XmlAnySimpleType extends XmlObject
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_anySimpleType");
-    
-    /**
-     * Returns the value as a {@link String}
-     * @deprecated replaced by {@link #getStringValue}
-     **/
-    String stringValue();
-    /**
-     * Sets the value as a {@link String}
-     * @deprecated replaced by {@link #setStringValue}
-     **/
-    void set(String s);
-
-    /**
-     * Returns the value as a {@link String}
-     **/
-    String getStringValue();
-
-    /**
-     * Sets the value as a {@link String}
-     **/
-    void setStringValue(String s);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlAnySimpleType}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlAnySimpleType} */
-        public static XmlAnySimpleType newInstance() {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlAnySimpleType} */
-        public static XmlAnySimpleType newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlAnySimpleType} value */
-        public static XmlAnySimpleType newValue(Object obj) {
-          return type.newValue( obj ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a String. For example: "<code>&lt;xml-fragment&gt;anything&lt;/xml-fragment&gt;</code>". */
-        public static XmlAnySimpleType parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a String. For example: "<code>&lt;xml-fragment&gt;anything&lt;/xml-fragment&gt;</code>". */
-        public static XmlAnySimpleType parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a File. */
-        public static XmlAnySimpleType parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a File. */
-        public static XmlAnySimpleType parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a URL. */
-        public static XmlAnySimpleType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlAnySimpleType} fragment from a URL. */
-        public static XmlAnySimpleType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlAnySimpleType} fragment from an InputStream. */
-        public static XmlAnySimpleType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from an InputStream. */
-        public static XmlAnySimpleType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a Reader. */
-        public static XmlAnySimpleType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a Reader. */
-        public static XmlAnySimpleType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a DOM Node. */
-        public static XmlAnySimpleType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from a DOM Node. */
-        public static XmlAnySimpleType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from an XMLInputStream. */
-        public static XmlAnySimpleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from an XMLInputStream. */
-        public static XmlAnySimpleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from an XMLStreamReader. */
-        public static XmlAnySimpleType parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlAnySimpleType} fragment from an XMLStreamReader. */
-        public static XmlAnySimpleType parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlAnySimpleType) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnyURI.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnyURI.java
deleted file mode 100644
index e65adf7..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlAnyURI.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#anyURI">xs:anyURI</a> type.
- * <p>
- * Convertible to {@link String}. 
- */ 
-public interface XmlAnyURI extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_anyURI");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlAnyURI}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlAnyURI} */
-        public static XmlAnyURI newInstance() {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlAnyURI} */
-        public static XmlAnyURI newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlAnyURI} value */
-        public static XmlAnyURI newValue(Object obj) {
-          return (XmlAnyURI) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a String. For example: "<code>&lt;xml-fragment&gt;http://www.w3.org/&lt;/xml-fragment&gt;</code>". */
-        public static XmlAnyURI parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a String. For example: "<code>&lt;xml-fragment&gt;http://www.w3.org/&lt;/xml-fragment&gt;</code>". */
-        public static XmlAnyURI parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a File. */
-        public static XmlAnyURI parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a File. */
-        public static XmlAnyURI parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a URL. */
-        public static XmlAnyURI parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlAnyURI} fragment from a URL. */
-        public static XmlAnyURI parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlAnyURI} fragment from an InputStream. */
-        public static XmlAnyURI parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from an InputStream. */
-        public static XmlAnyURI parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a Reader. */
-        public static XmlAnyURI parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a Reader. */
-        public static XmlAnyURI parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a DOM Node. */
-        public static XmlAnyURI parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from a DOM Node. */
-        public static XmlAnyURI parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from an XMLInputStream. */
-        public static XmlAnyURI parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from an XMLInputStream. */
-        public static XmlAnyURI parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from an XMLStreamReader. */
-        public static XmlAnyURI parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlAnyURI} fragment from an XMLStreamReader. */
-        public static XmlAnyURI parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlAnyURI) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBase64Binary.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlBase64Binary.java
deleted file mode 100644
index bbec236..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBase64Binary.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#base64Binary">xs:base64Binary</a> type.
- * <p>
- * Convertible to a byte array. 
- */ 
-public interface XmlBase64Binary extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_base64Binary");
-    
-    /**
-     * Returns this value as a byte array.
-     * @deprecated replaced by {@link #getByteArrayValue}
-     **/
-    byte[] byteArrayValue();
-
-    /**
-     * Sets this value as a byte array.
-     * @deprecated replaced by {@link #setByteArrayValue}
-     **/
-    void set(byte[] ba);
-
-    /** Returns this value as a byte array. **/
-    byte[] getByteArrayValue();
-    /** Sets this value as a byte array. */
-    void setByteArrayValue(byte[] ba);
-
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlBase64Binary}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlBase64Binary} */
-        public static XmlBase64Binary newInstance() {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlBase64Binary} */
-        public static XmlBase64Binary newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlBase64Binary} value */
-        public static XmlBase64Binary newValue(Object obj) {
-          return (XmlBase64Binary) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a String. For example: "<code>&lt;xml-fragment&gt;VGhpcyBzdHJp&lt;/xml-fragment&gt;</code>". */
-        public static XmlBase64Binary parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a String. For example: "<code>&lt;xml-fragment&gt;VGhpcyBzdHJp&lt;/xml-fragment&gt;</code>". */
-        public static XmlBase64Binary parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a File. */
-        public static XmlBase64Binary parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a File. */
-        public static XmlBase64Binary parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a URL. */
-        public static XmlBase64Binary parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlBase64Binary} fragment from a URL. */
-        public static XmlBase64Binary parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlBase64Binary} fragment from an InputStream. */
-        public static XmlBase64Binary parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from an InputStream. */
-        public static XmlBase64Binary parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a Reader. */
-        public static XmlBase64Binary parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a Reader. */
-        public static XmlBase64Binary parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a DOM Node. */
-        public static XmlBase64Binary parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from a DOM Node. */
-        public static XmlBase64Binary parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from an XMLInputStream. */
-        public static XmlBase64Binary parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from an XMLInputStream. */
-        public static XmlBase64Binary parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from an XMLStreamReader. */
-        public static XmlBase64Binary parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlBase64Binary} fragment from an XMLStreamReader. */
-        public static XmlBase64Binary parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlBase64Binary) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java
deleted file mode 100644
index 2535f56..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBeans.java
+++ /dev/null
@@ -1,453 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.namespace.QName;
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
-/**
- * Provides an assortment of utilities
- * for managing XML Bean types, type systems, QNames, paths,
- * and queries.
- */
-public final class XmlBeans
-{
-    /**
-     * Thread local QName cache for general use
-     */
-    private static final ThreadLocal _threadLocalLoaderQNameCache =
-        new ThreadLocal()
-        {
-            protected Object initialValue()
-            {
-                return new QNameCache( 32 );
-            }
-        };
-
-    /**
-     * Returns a thread local QNameCache
-     */
-    public static QNameCache getQNameCache ( )
-    {
-        return (QNameCache) _threadLocalLoaderQNameCache.get();
-    }
-
-    /**
-     * Obtains a name from the thread local QNameCache
-     */
-    public static QName getQName ( String localPart )
-    {
-        return getQNameCache().getName( "",  localPart );
-    }
-
-    /**
-     * Obtains a name from the thread local QNameCache
-     */
-
-    public static QName getQName ( String namespaceUri, String localPart )
-    {
-        return getQNameCache().getName( namespaceUri,  localPart );
-    }
-
-    private static final Method _getContextTypeLoaderMethod = buildGetContextTypeLoaderMethod();
-    private static final Method _getBuiltinSchemaTypeSystemMethod = buildGetBuiltinSchemaTypeSystemMethod();
-    private static final Method _getNoTypeMethod = buildGetNoTypeMethod();
-    private static final Method _typeLoaderBuilderMethod = buildTypeLoaderBuilderMethod();
-    private static final Method _compilationMethod = buildCompilationMethod();
-
-    private static RuntimeException causedException(RuntimeException e, Throwable cause)
-    {
-        e.initCause(cause);
-        return e;
-    }
-
-    private static XmlException wrappedException(Throwable e)
-    {
-        if (e instanceof XmlException)
-            return (XmlException) e;
-
-        return new XmlException( e.getMessage(), e );
-    }
-
-    private static Method buildGetContextTypeLoaderMethod()
-    {
-        try
-        {
-            return Class.forName("org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl", false, XmlBeans.class.getClassLoader()).getMethod("getContextTypeLoader", new Class[0]);
-        }
-        catch (Exception e)
-        {
-            throw causedException(new IllegalStateException("Cannot load SchemaTypeLoaderImpl: verify that xbean.jar is on the classpath"), e);
-        }
-    }
-
-
-    private static final Method buildGetBuiltinSchemaTypeSystemMethod()
-    {
-        try
-        {
-            return Class.forName("org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem", false, XmlBeans.class.getClassLoader()).getMethod("get", new Class[0]);
-        }
-        catch (Exception e)
-        {
-            throw causedException(new IllegalStateException("Cannot load BuiltinSchemaTypeSystem: verify that xbean.jar is on the classpath"), e);
-        }
-    }
-
-    private static final Method buildGetNoTypeMethod()
-    {
-        try
-        {
-            return Class.forName("org.apache.xmlbeans.impl.schema.BuiltinSchemaTypeSystem", false, XmlBeans.class.getClassLoader()).getMethod("getNoType", new Class[0]);
-        }
-        catch (Exception e)
-        {
-            throw causedException(new IllegalStateException("Cannot load BuiltinSchemaTypeSystem: verify that xbean.jar is on the classpath"), e);
-        }
-    }
-
-
-    private static final Method buildTypeLoaderBuilderMethod()
-    {
-        try
-        {
-            Class resourceLoaderClass = Class.forName("org.apache.xmlbeans.impl.schema.ResourceLoader", false, XmlBeans.class.getClassLoader());
-            return Class.forName("org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl", false, XmlBeans.class.getClassLoader()).getMethod("build", new Class[] { SchemaTypeLoader[].class, resourceLoaderClass, ClassLoader.class });
-        }
-        catch (Exception e)
-        {
-            throw causedException(new IllegalStateException("Cannot load SchemaTypeLoaderImpl: verify that xbean.jar is on the classpath"), e);
-        }
-    }
-
-
-    private static final Method buildCompilationMethod()
-    {
-        try
-        {
-            return Class.forName("org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl", false, XmlBeans.class.getClassLoader()).getMethod("forSchemaXml", new Class[] { XmlObject[].class, SchemaTypeLoader.class, XmlOptions.class });
-        }
-        catch (Exception e)
-        {
-            throw causedException(new IllegalStateException("Cannot load SchemaTypeSystemImpl: verify that xbean.jar is on the classpath"), e);
-        }
-    }
-
-    /**
-     * Compiles an XPath, returning a String equal to that which was passed,
-     * but whose identity is that of one which has been precompiled and cached.
-     */
-    public static String compilePath ( String pathExpr ) throws XmlException
-    {
-        return compilePath( pathExpr, null );
-    }
-    
-    /**
-     * Compiles an XPath, returning a String equal to that which was passed,
-     * but whose identity is that of one which has been precompiled and cached; 
-     * takes an option for specifying text that indicates the name of context node.
-     * The default is "this", as in "$this".
-     * 
-     * @param  options  Options for the path. For example, you can call 
-     * the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
-     * method to specify a particular name for the expression 
-     * variable that indicates the context node.
-     */
-    public static String compilePath ( String pathExpr, XmlOptions options )
-        throws XmlException
-    {
-        return getContextTypeLoader().compilePath( pathExpr, options );
-    }
-    
-    /**
-     * Compiles an XQuery, returning a String equal to that which was passed,
-     * but whose identity is that of one which has been precompiled and cached.
-     */
-    public static String compileQuery ( String queryExpr ) throws XmlException
-    {
-        return compileQuery( queryExpr, null );
-    }
-    
-    /**
-     * Compiles an XQuery, returning a String equal to that which was passed,
-     * but whose identity is that of one which has been precompiled and cached;
-     * takes an option for specifying text that indicates the context node.
-     * 
-     * @param  options  Options for the query. For example, you can call 
-     * the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
-     * method to specify a particular name for the expression 
-     * variable that indicates the context node.
-     */
-    public static String compileQuery ( String queryExpr, XmlOptions options )
-        throws XmlException
-    {
-        return getContextTypeLoader().compileQuery( queryExpr, options );
-    }
-    
-    /**
-     * Gets the SchemaTypeLoader based on the current thread's context
-     * ClassLoader. This is the SchemaTypeLoader that is used to assign
-     * schema types to XML documents by default. The SchemaTypeLoader is
-     * also consulted to resolve wildcards and xsi:type attributes.
-     * <p>
-     * The "parse" methods of XmlBeans all delegate to the
-     * "parseInstance" methods of the context type loader.
-     */
-    public static SchemaTypeLoader getContextTypeLoader()
-    {
-        try
-        {
-            return (SchemaTypeLoader)_getContextTypeLoaderMethod.invoke(null, null);
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to SchemaTypeLoaderImpl.getContextTypeLoader(): verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw causedException(new IllegalStateException(e.getMessage()), e.getCause());
-        }
-    }
-
-    /**
-     * Returns the builtin type system. This SchemaTypeSystem contains
-     * only the 46 builtin types defined by the XML Schema specification.
-     */
-    public static SchemaTypeSystem getBuiltinTypeSystem()
-    {
-        try
-        {
-            return (SchemaTypeSystem)_getBuiltinSchemaTypeSystemMethod.invoke(null, null);
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to BuiltinSchemaTypeSystem.get(): verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw causedException(new IllegalStateException(e.getMessage()), e.getCause());
-        }
-    }
-
-    /**
-     * Returns the SchemaTypeSystem that results from compiling the XML
-     * schema definitions passed.
-     * <p>
-     * Just like compileTypeSystem, but uses the context type loader for
-     * linking, and returns a unioned typeloader that is suitable for
-     * creating instances.
-     */
-    public static SchemaTypeLoader loadXsd(XmlObject[] schemas) throws XmlException
-    {
-        return loadXsd(schemas, null);
-    }
-    
-    /**
-     * <p>Returns the SchemaTypeSystem that results from compiling the XML
-     * schema definitions passed in <em>schemas</em>.</p>
-     * 
-     * <p>This is just like compileTypeSystem, but uses the context type loader for
-     * linking, and returns a unioned typeloader that is suitable for
-     * creating instances.</p>
-     * 
-     * <p>Use the <em>options</em> parameter to specify one or both of the following:</p>
-     * 
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * <li>Whether validation should not be done when building the SchemaTypeSystem,
-     * as described in {@link XmlOptions#setCompileNoValidation}.</li>
-     * </ul>
-     * 
-     * @param schemas The schema definitions from which to build the schema type system.
-     * @param options Options specifying an error listener and/or validation behavior.
-     */
-    public static SchemaTypeLoader loadXsd(XmlObject[] schemas, XmlOptions options) throws XmlException
-    {
-        try
-        {
-            SchemaTypeSystem sts =
-                (SchemaTypeSystem)
-                    _compilationMethod.invoke(
-                        null, new Object[] { schemas, getContextTypeLoader(), options });
-
-            if (sts == null)
-                return null;
-            
-            return
-                typeLoaderUnion(
-                    new SchemaTypeLoader[] { sts, getContextTypeLoader() } );
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to SchemaTypeLoaderImpl.forSchemaXml(): verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw wrappedException(e.getCause());
-        }
-    }
-    
-    /**
-     * <p>Returns the SchemaTypeSystem that results from compiling the XML
-     * schema definitions passed.</p>
-     * 
-     * <p>The XmlObjects passed in should be w3c &lt;schema&gt; elements whose type
-     * is org.w3c.x2001.xmlSchema.Schema. (That is, schema elements in
-     * the XML namespace http://www.w3c.org/2001/XMLSchema.)  Also
-     * org.w3c.x2001.xmlSchema.SchemaDocument is permitted.</p>
-     * 
-     * <p>The optional second argument is a SchemaTypeLoader which will be
-     * consulted for already-compiled schema types which may be linked
-     * while processing the given schemas.</p>
-     * 
-     * <p>The SchemaTypeSystem that is returned should be combined
-     * (via {@link #typeLoaderUnion}) with the typepath typeloader in order
-     * to create a typeloader that can be used for creating and validating
-     * instances.</p>
-     * 
-     * <p>Use the <em>options</em> parameter to specify the following:</p>
-     * 
-     * <ul>
-     * <li>A collection instance that should be used as an error listener during
-     * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-     * <li>Whether validation should not be done when building the SchemaTypeSystem,
-     * as described in {@link XmlOptions#setCompileNoValidation}.</li>
-     * </ul>
-     * 
-     * @param schemas The schema definitions from which to build the schema type system.
-     * @param typepath The path to already-compiled schema types for linking while processing.
-     * @param options Options specifying an error listener and/or validation behavior.
-     */
-    public static SchemaTypeSystem compileXsd(XmlObject[] schemas, SchemaTypeLoader typepath, XmlOptions options) throws XmlException
-    {
-        if (typepath == null)
-            throw new IllegalArgumentException("Must supply a SchemaTypeLoader for compiletime linking");
-
-        try
-        {
-            return (SchemaTypeSystem)_compilationMethod.invoke(null, new Object[] { schemas, typepath, options });
-        }
-        catch (IllegalAccessException e)
-        {
-            throw new IllegalStateException("No access to SchemaTypeLoaderImpl.forSchemaXml(): verify that version of xbean.jar is correct");
-        }
-        catch (InvocationTargetException e)
-        {
-            throw wrappedException(e.getCause());
-        }
-    }
-    
-    /**
-     * Returns the union of a list of typeLoaders. The returned
-     * SchemaTypeLoader searches the given list of SchemaTypeLoaders
-     * in order from first to last.
-     */
-    public static SchemaTypeLoader typeLoaderUnion(SchemaTypeLoader[] typeLoaders)
-    {
-        try
-        {
-            if (typeLoaders.length == 1)
-                return typeLoaders[0];
-
-            return (SchemaTypeLoader)_typeLoaderBuilderMethod.invoke(null, new Object[] {typeLoaders, null, null});
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to SchemaTypeLoaderImpl: verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw causedException(new IllegalStateException(e.getMessage()), e.getCause());
-        }
-    }
-
-    /**
-     * Returns a SchemaTypeLoader that searches for compiled schema types
-     * in the given ClassLoader.
-     */
-    public static SchemaTypeLoader typeLoaderForClassLoader(ClassLoader loader)
-    {
-        try
-        {
-            return (SchemaTypeLoader)_typeLoaderBuilderMethod.invoke(null, new Object[] {null, null, loader});
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to SchemaTypeLoaderImpl: verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw causedException( new IllegalStateException(e.getMessage()), e );
-        }
-    }
-
-    /**
-     * Returns the SchemaType from a corresponding XmlObject subclass,
-     * or null if none.
-     */
-    public static SchemaType typeForClass(Class c)
-    {
-        if (c == null || !XmlObject.class.isAssignableFrom(c))
-            return null;
-
-        try
-        {
-            Field typeField = c.getField("type");
-            
-            if (typeField == null)
-                return null;
-
-            return (SchemaType)typeField.get(null);
-        }
-        catch (Exception e)
-        {
-            return null;
-        }
-    }
-
-    private static SchemaType getNoType()
-    {
-        try
-        {
-            return (SchemaType)_getNoTypeMethod.invoke(null, null);
-        }
-        catch (IllegalAccessException e)
-        {
-            throw causedException(new IllegalStateException("No access to SchemaTypeLoaderImpl.getContextTypeLoader(): verify that version of xbean.jar is correct"), e);
-        }
-        catch (InvocationTargetException e)
-        {
-            throw causedException(new IllegalStateException(e.getMessage()), e.getCause());
-        }
-    }
-
-    /**
-     * The SchemaType object given to an XmlObject instance when
-     * no type can be determined.
-     * <p>
-     * The NO_TYPE is the universal derived type.  That is, it is
-     * derived from all other schema types, and no instances of the
-     * NO_TYPE are valid. (It is not to be confused with the anyType,
-     * which is the universal base type from which all other types
-     * can be derived, and of which all instances are valid.)
-     */
-    public static SchemaType NO_TYPE = getNoType();
-
-    private XmlBeans ( ) { }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBoolean.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlBoolean.java
deleted file mode 100644
index eeba89f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlBoolean.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#boolean">xs:boolean</a> type.
- * <p>
- * Naturally, convertible to Java boolean. 
- */ 
-public interface XmlBoolean extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_boolean");
-    
-    /**
-     * Returns this value as a boolean
-     * @deprecated replaced by {@link #getBooleanValue}
-     **/
-    boolean booleanValue();
-    /**
-     * Sets this value as a boolean
-     * @deprecated replaced by {@link #setBooleanValue}
-     **/
-    void set(boolean v);
-
-    /** Returns this value as a boolean */
-    boolean getBooleanValue();
-    /** Sets this value as a boolean */
-    void setBooleanValue(boolean v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlBoolean}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlBoolean} */
-        public static XmlBoolean newInstance() {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlBoolean} */
-        public static XmlBoolean newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlBoolean} value */
-        public static XmlBoolean newValue(Object obj) {
-          return (XmlBoolean) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a String. For example: "<code>&lt;xml-fragment&gt;true&lt;/xml-fragment&gt;</code>". */
-        public static XmlBoolean parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a String. For example: "<code>&lt;xml-fragment&gt;true&lt;/xml-fragment&gt;</code>". */
-        public static XmlBoolean parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a File. */
-        public static XmlBoolean parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a File. */
-        public static XmlBoolean parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a URL. */
-        public static XmlBoolean parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlBoolean} fragment from a URL. */
-        public static XmlBoolean parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlBoolean} fragment from an InputStream. */
-        public static XmlBoolean parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from an InputStream. */
-        public static XmlBoolean parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a Reader. */
-        public static XmlBoolean parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a Reader. */
-        public static XmlBoolean parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a DOM Node. */
-        public static XmlBoolean parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from a DOM Node. */
-        public static XmlBoolean parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from an XMLInputStream. */
-        public static XmlBoolean parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from an XMLInputStream. */
-        public static XmlBoolean parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from an XMLStreamReader. */
-        public static XmlBoolean parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlBoolean} fragment from an XMLStreamReader. */
-        public static XmlBoolean parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlBoolean) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlByte.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlByte.java
deleted file mode 100644
index 0ade2b0..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlByte.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#byte">xs:byte</a> type.
- * <p>
- * Naturally, convertible to Java byte. 
- */ 
-public interface XmlByte extends XmlShort
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_byte");
-    
-    /**
-     * Returns this value as a byte
-     * @deprecated replaced by {@link #getByteValue}
-     **/
-    public byte byteValue();
-    /**
-     * Sets this value as a byte
-     * @deprecated replaced by {@link #setByteValue}
-     **/
-    public void set(byte s);
-
-    /** Returns this value as a byte */
-    public byte getByteValue();
-    /** Sets this value as a byte */
-    public void setByteValue(byte s);
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlByte}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlByte} */
-        public static XmlByte newInstance() {
-          return (XmlByte) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlByte} */
-        public static XmlByte newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlByte) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlByte} value */
-        public static XmlByte newValue(Object obj) {
-          return (XmlByte) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlByte} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>". */
-        public static XmlByte parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>". */
-        public static XmlByte parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from a File. */
-        public static XmlByte parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from a File. */
-        public static XmlByte parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from a URL. */
-        public static XmlByte parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlByte} fragment from a URL. */
-        public static XmlByte parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlByte} fragment from an InputStream. */
-        public static XmlByte parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from an InputStream. */
-        public static XmlByte parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from a Reader. */
-        public static XmlByte parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from a Reader. */
-        public static XmlByte parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from a DOM Node. */
-        public static XmlByte parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from a DOM Node. */
-        public static XmlByte parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from an XMLInputStream. */
-        public static XmlByte parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from an XMLInputStream. */
-        public static XmlByte parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlByte} fragment from an XMLStreamReader. */
-        public static XmlByte parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlByte} fragment from an XMLStreamReader. */
-        public static XmlByte parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlByte) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlCalendar.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlCalendar.java
deleted file mode 100644
index 392ce28..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlCalendar.java
+++ /dev/null
@@ -1,317 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.util.GregorianCalendar;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.TimeZone;
-import java.math.BigDecimal;
-
-/**
- * An XML Schema compatible subclass of {@link java.util.GregorianCalendar GregorianCalendar}.
- * XmlCalendar modifies several key details in the behavior of
- * GregorianCalendar to make it more useful when dealing with XML dates.
- * <p>
- * It is easy to convert between XmlCalendar and {@link GDate}, or to
- * parse or emit an XmlCalendar using a standard XML Schema
- * lexical representation.
- * <ol>
- * <li>
- * To match XML Schema dates, this XmlCalendar is a fully proleptic
- * Gregorian calendar by default, which means that Gregorian calendar
- * rules are applied backwards in time as if they had always been in
- * effect, actual historical circumstances concerning the observance
- * of the 1582 decree of Pope Gregory XIII notwithstanding.
- * </li>
- * <li>
- * In order to better support partially-specified dates for XML Schema,
- * this implementation provides a stable get(field) method
- * that does not modify the instance if you are acessing a field right
- * after it was explicitly set: a set followed by a get will always
- * return the same thing and will not fill in any other fields. However,
- * if you get a field that was not explicitly set, then all the fields
- * are still automatically filled and normalized for you, just like a
- * regular GregorianCalendar. If you wish to force the completion and
- * defaulting of all the fields (without hunting to get one that happens
- * to be unset), you can always do so by calling getTime().
- * </li>
- * <li>
- * When a year is unspecified and needs to be filled in automatically
- * (for example when using a .get or .getTime method as discussed above),
- * the year is defaulted to year 0 (also known as 1 BC).  This is different
- * from {@link GregorianCalendar}, which chooses 1970. The reason 0 is preferable
- * is that it is a leap year and so it permits the date --2-29 to be specified
- * stably. A different default year can be chosen via the static method
- * {@link #setDefaultYear(int) XmlCalendar.setDefaultYear()}, or by setting the 
- * system property "user.defaultyear". If you do change this value, you should 
- * pick another leap year such as 2000 and avoid non-leap years such as 1900.
- * </li>
- * <li>
- * When constructing an XmlCalendar from an XML Schema
- * formatted date or time string or GDate object, the timezone
- * for the calendar is taken from the string if it is present, or
- * taken to be {@link java.util.TimeZone#getDefault() TimeZone.getDefault()} if not.
- * <p>
- *     For example, the XML timezone "Z" is translated to "GMT";
- *     the XML timezone "+05:00" is translated to "GMT+05:00".
- * </p>
- * </li>
- * <li>
- * Finally, this implementation provides a String constructor and a
- * toString() method that comply with the XML Schema conventions
- * for formatting a date. If only a subset of fields have been
- * explicitly set, toString() produces a string with the proper subset
- * of information.
- * </li>
- * </ol>
- */ 
-public class XmlCalendar extends GregorianCalendar
-{
-    /**
-     * Constructs an XmlCalendar for a standard XML
-     * schema formatted date string.
-     * 
-     * The parser accepts any of the following formats:
-     * 
-     * YYYY-MM-DDThh:mm:ss          - dateTime
-     * YYYY-MM-DD                   - date
-     *            hh:mm:ss          - time
-     * YYYY                         - gYear
-     *    --MM                      - gMonth
-     *      ---DD                   - gDay
-     * 
-     * The parser actually accepts all 16 combinations of subsets of
-     * fields (Y, M, D, T) using the same scheme, even for combinations
-     * that are not defined as types in the schema spec, such as
-     * year, day, and time:
-     * 
-     * YYYY--DDThh:mm:ss            - [everything but month specified]
-     * 
-     * In the string, each field must be padded to its full width, for
-     * example, January must be --01, not just --1.
-     * 
-     * In particular, a year must be padded to at least four digits, so
-     * "98" is not a valid year, although "1998" and "0098" are both valid
-     * years, unambiguously 19 centuries separated from each other.  A year
-     * may also be preceded by a minus symbol: 0000 is 1 BC and -0001 is
-     * 2 BC.
-     *
-     * Finally a timezone is always allowed (yet optional) at the end.
-     * Timezones must be either "Z" (UTC, which we translate to GMT),
-     * or simple offsets from UTC in the range "-14:00" to "+14:00",
-     * for example: "14:30:00-05:00" specifies 2:30 PM in the
-     * afternoon at UTC-05:00, which is the same as EST.
-     * 
-     * If a timezone is not specified, the default TimeZone is used.
-     */ 
-    public XmlCalendar(String xmlSchemaDateString)
-    {
-        this(new GDate(xmlSchemaDateString)); // use GDate to parse
-    }
-    
-    /**
-     * Constructs an XmlCalendar from a GDate.
-     * 
-     * If the instance is not completed, you can round-trip to an
-     * equivalent GDate by writing "new GDate(new XmlCalendar(gdate))".
-     * However, if you access any of the unset fields of the calendar, all
-     * the fields will be automatically filled in, so partial dates
-     * without timezones or other fields will not round-trip after access.
-     */ 
-    public XmlCalendar(GDateSpecification date)
-    {
-        this(GDate.timeZoneForGDate(date), date);
-    }
-    
-    private XmlCalendar(TimeZone tz, GDateSpecification date)
-    {
-        super(tz);
-        setGregorianChange(_beginningOfTime); // proleptic
-        clear();
-        
-        if (date.hasYear())
-        {
-            int y = date.getYear();
-            if (y > 0)
-            {
-                set(Calendar.ERA, GregorianCalendar.AD);
-            }
-            else
-            {
-                set(Calendar.ERA, GregorianCalendar.BC);
-                y = 1 - y;
-            }
-            set(Calendar.YEAR, y);
-        }
-        if (date.hasMonth())
-            set(Calendar.MONTH, date.getMonth() - 1); // note!!
-        if (date.hasDay())
-            set(Calendar.DAY_OF_MONTH, date.getDay());
-        if (date.hasTime())
-        {
-            set(Calendar.HOUR_OF_DAY, date.getHour());
-            set(Calendar.MINUTE, date.getMinute());
-            set(Calendar.SECOND, date.getSecond());
-            if (date.getFraction().scale() > 0)
-                set(Calendar.MILLISECOND, date.getMillisecond());
-        }
-        if (date.hasTimeZone())
-        {
-            set(Calendar.ZONE_OFFSET, date.getTimeZoneSign() * 1000 * 60 * (date.getTimeZoneHour() * 60 + date.getTimeZoneMinute()));
-            set(Calendar.DST_OFFSET, 0); // note!!  if we don't do this, then GregorianCalendar will pick up DST from the time zone
-        }
-    }
-    
-    /**
-     * Constructs an XmlCalendar from a Date.
-     * 
-     * The default TimeZone is used for computing the various fields.
-     */
-    public XmlCalendar(Date date)
-    {
-        this(TimeZone.getDefault(), new GDate(date));
-        complete();
-    }
-    
-    /**
-     * Constructs an XmlCalendar with the specified year, month, day,
-     * hours, minutes, seconds, and optional fractional seconds, in
-     * the default timezone.
-     */
-    public XmlCalendar(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction)
-    {
-        this(TimeZone.getDefault(), new GDate(year, month, day, hour, minute, second, fraction));
-    }
-    
-    /**
-     * Constructs an XmlCalendar with the specified year, month, day,
-     * hours, minutes, seconds, and optional fractional seconds, in
-     * the specified timezone.
-     */
-    public XmlCalendar(
-            int year,
-            int month,
-            int day,
-            int hour,
-            int minute,
-            int second,
-            BigDecimal fraction,
-            int tzSign,
-            int tzHour,
-            int tzMinute)
-    {
-        this(new GDate(year, month, day, hour, minute, second, fraction, tzSign, tzHour, tzMinute));
-    }
-    
-
-    /**
-     * Gets the value for a given time field.
-     * 
-     * Unlike the GregorianCalendar implementation, the get() does not
-     * force a complete of all fields.  If you wish to force a completion
-     * of all the fields, call getTime() first.
-     */
-    public int get(int field)
-    {
-        if (!isSet(field) || isTimeSet)
-            return super.get(field); // forces a complete
-        else
-            return internalGet(field); // does not force a complete.
-    }
-
-    /**
-     * Constructs an empty instance with no fields set.
-     */ 
-    public XmlCalendar()
-    {
-        setGregorianChange(_beginningOfTime); // proleptic
-        clear();
-    }
-    
-    private static int defaultYear = Integer.MIN_VALUE;
-    private static final int DEFAULT_DEFAULT_YEAR = 0; 
-    
-    /**
-     * Returns the default year that is used when no year is specified.
-     */ 
-    public static int getDefaultYear()
-    {
-        if (defaultYear == Integer.MIN_VALUE)
-        {
-            try
-            {
-                String yearstring = System.getProperty("user.defaultyear");
-                if (yearstring != null)
-                    defaultYear = Integer.parseInt(yearstring);
-                else
-                    defaultYear = DEFAULT_DEFAULT_YEAR;
-            }
-            catch (Throwable t)
-            {
-                defaultYear = DEFAULT_DEFAULT_YEAR;
-            }
-        }
-        return defaultYear;
-    }
-    
-    /**
-     * Sets the default year to be used when no year is specified.
-     */ 
-    public static void setDefaultYear(int year)
-    {
-        defaultYear = year;
-    }
-    
-    /**
-     * Overrides GregorianCalendar.computeTime to apply a different
-     * default year.  (It must be a leap year.)
-     */ 
-    protected void computeTime()
-    {
-        boolean unsetYear = !isSet(YEAR);
-        if (unsetYear)
-            set(YEAR, getDefaultYear());
-        try
-        {
-            super.computeTime();
-        }
-        finally
-        {
-            if (unsetYear)
-                clear(YEAR);
-        }
-    }
-        
-    private static Date _beginningOfTime = new Date(Long.MIN_VALUE);
-    
-    /**
-     * Prints the XmlCalendar using a standard XML Schema
-     * format, as described in XmlCalendar(String s).
-     */
-    public String toString()
-    {
-        return (new GDate(this)).toString(); // use GDate to print
-    }
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlCursor.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlCursor.java
deleted file mode 100644
index ec4da34..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlCursor.java
+++ /dev/null
@@ -1,1772 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.lang.ref.Reference;
-import java.lang.ref.WeakReference;
-import java.util.Collection;
-import java.util.Map;
-import javax.xml.namespace.QName;
-
-/**
- * Represents a position between two logical tokens in an XML document. 
- * 
- * The tokens themselves are not exposed as objects, but their type and properties
- * are discoverable through methods on the cursor.  In particular, the general
- * category of token is represented by a {@link XmlCursor.TokenType TokenType}.<br/><br/>
- * 
- * You use an XmlCursor instance to navigate through and manipulate an XML 
- * instance document. 
- * Once you obtain an XML document, you can create a cursor to represent 
- * a specific place in the XML. Because you can use a cursor with or 
- * without a schema corresponding to the XML, cursors are an ideal 
- * way to handle XML without a schema. You can create a new cursor by
- * calling the {@link XmlTokenSource#newCursor() newCursor} method 
- * exposed by an object representing
- * the XML, whether it was parsed into a strong type compiled from 
- * schema or an {@link XmlObject XmlObject} (as in the no-schema case).<br/><br/>
- * 
- * With an XmlCursor, you can also: <br/><br/>
- * 
- * <ul>
- * <li>Execute XQuery and XPath expressions against the XML with the
- * execQuery and selectPath methods.</li>
- * 
- * <li>Edit and reshape the document by inserting, moving, copying, and removing
- * XML.</li>
- * 
- * <li>Insert bookmarks that "stick" to the XML at the cursor's
- * position even if the cursor or XML moves.</li>
-
- * <li>Get and set values for containers (elements and whole documents),
- * attributes, processing instructions, and comments.</li>
- * </ul>
- * 
- * A cursor moves through XML by moving past tokens. A
- * token represents a category of XML markup, such as the start of an element, 
- * its end, an attribute, comment, and so on. XmlCursor methods such as
- * toNextToken, toNextSibling, toParent, and so on move the cursor 
- * among tokens. Each token's category is of a particular <em>type</em>, represented 
- * by one of the nine types defined by the {@link XmlCursor.TokenType TokenType} class. <br/><br/>
- * 
- * When you get a new cursor for a whole instance document, the cursor is
- * intially located before the STARTDOC token. This token, which has no analogy
- * in the XML specification, is present in this logical model of XML
- * so that you may distinguish between the document as a whole
- * and the content of the document. Terminating the document is an ENDDOC
- * token. This token is also not part of the XML specification. A cursor 
- * located immediately before this token is at the very end of the document. 
- * It is not possible to position the cursor after the ENDDOC token. 
- * Thus, the STARTDOC and ENDDOC tokens are effectively "bookends" for the content of 
- * the document.<br/><br/>
- * 
- * For example, for the following XML, if you were the navigate a cursor
- * through the XML document using toNextToken(), the list of token types that 
- * follows represents the token sequence you would encounter. <br/><br/>
- * 
- * <pre>
- * &lt;sample x='y'&gt;
- *     &lt;value&gt;foo&lt;/value&gt;
- * &lt;/sample&gt;
- * </pre>
- * 
- * STARTDOC <br/>
- * START (sample) <br/>
- * ATTR (x='y') <br/>
- * TEXT ("\n    ") <br/>
- * START (value) <br/>
- * TEXT ("foo") <br/>
- * END (value) <br/>
- * TEXT ("\n") <br/>
- * END (sample)<br/>
- * ENDDOC <br/><br/>
- *
- * When there are no more tokens available, hasNextToken() returns
- * false and toNextToken() returns the special token type NONE and does not move
- * the cursor.
- * <br/><br/>
- * 
- * The {@link #currentTokenType() currentTokenType()} method 
- * will return the type of the token that is immediately after the cursor. 
- * You can also use a number of convenience methods that test for a particular 
- * token type. These include the methods isStart(), 
- * isStartdoc(), isText(), isAttr(), and so on. Each returns a boolean 
- * value indicating whether the token that follows the cursor is the type 
- * in question. 
- * <br/><br/>
- * 
- * A few other methods determine whether the token is of a kind that may include 
- * multiple token types. The isAnyAttr() method, for example, returns true if
- * the token immediately following the cursor is any kind of attribute, 
- * including those of the ATTR token type and xmlns attributes.
- * <br/><br/>
- * 
- * Legitimate sequences of tokens for an XML document are described
- * by the following Backus-Naur Form (BNF): <br/>
- * 
- * <pre>
- * &lt;doc&gt; ::= STARTDOC &lt;attributes&gt; &lt;content&gt; ENDDOC
- * &lt;element&gt; ::= START &lt;attributes&gt; &lt;content&gt; END
- * &lt;attributes&gt; ::= ( ATTR | NAMESPACE ) *
- * &lt;content&gt; ::= ( COMMENT | PROCINST | TEXT | &lt;element&gt; ) *
- * </pre>
- * 
- * Note that a legitimate sequence is STARTDOC ENDDOC, the result of 
- * creating a brand new instance of an empty document. Also note that 
- * attributes may only follow container tokens (STARTDOC or START)
- */
-public interface XmlCursor extends XmlTokenSource
-{
-    /**
-     * An enumeration that identifies the type of an XML token.
-     */
-    public static final class TokenType
-    {
-        public String toString ( ) { return _name;  }
-
-        /**
-         * Returns one of the INT_ values defined in this class.
-         */
-        public int intValue ( ) { return _value; }
-        
-        /** No token.  See {@link #intValue}. */ 
-        public static final int INT_NONE      = 0;
-        /** The start-document token.  See {@link #intValue}. */ 
-        public static final int INT_STARTDOC  = 1;
-        /** The end-document token.  See {@link #intValue}. */ 
-        public static final int INT_ENDDOC    = 2;
-        /** The start-element token.  See {@link #intValue}. */ 
-        public static final int INT_START     = 3;
-        /** The end-element token.  See {@link #intValue}. */ 
-        public static final int INT_END       = 4;
-        /** The text token.  See {@link #intValue}. */ 
-        public static final int INT_TEXT      = 5;
-        /** The attribute token.  See {@link #intValue}. */ 
-        public static final int INT_ATTR      = 6;
-        /** The namespace declaration token.  See {@link #intValue}. */ 
-        public static final int INT_NAMESPACE = 7;
-        /** The comment token.  See {@link #intValue}. */ 
-        public static final int INT_COMMENT   = 8;
-        /** The processing instruction token.  See {@link #intValue}. */ 
-        public static final int INT_PROCINST  = 9;
-        
-        /** True if no token. */
-        public boolean isNone      ( ) { return this == NONE;      }
-        /** True if is start-document token. */
-        public boolean isStartdoc  ( ) { return this == STARTDOC;  }
-        /** True if is end-document token. */
-        public boolean isEnddoc    ( ) { return this == ENDDOC;    }
-        /** True if is start-element token. */
-        public boolean isStart     ( ) { return this == START;     }
-        /** True if is end-element token. */
-        public boolean isEnd       ( ) { return this == END;       }
-        /** True if is text token. */
-        public boolean isText      ( ) { return this == TEXT;      }
-        /** True if is attribute token. */
-        public boolean isAttr      ( ) { return this == ATTR;      }
-        /** True if is namespace declaration token. */
-        public boolean isNamespace ( ) { return this == NAMESPACE; }
-        /** True if is comment token. */
-        public boolean isComment   ( ) { return this == COMMENT;   }
-        /** True if is processing instruction token. */
-        public boolean isProcinst  ( ) { return this == PROCINST;  }
-
-        /** True if is start-document or start-element token */
-        public boolean isContainer ( ) { return this == STARTDOC  || this == START; }
-        /** True if is end-document or end-element token */
-        public boolean isFinish    ( ) { return this == ENDDOC    || this == END;   }
-        /** True if is attribute or namespace declaration token */
-        public boolean isAnyAttr   ( ) { return this == NAMESPACE || this == ATTR;  }
-
-        /** The singleton no-token type */
-        public static final TokenType NONE      = new TokenType( "NONE",      INT_NONE      );
-        /** The singleton start-document token type */
-        public static final TokenType STARTDOC  = new TokenType( "STARTDOC",  INT_STARTDOC  );
-        /** The singleton start-document token type */
-        public static final TokenType ENDDOC    = new TokenType( "ENDDOC",    INT_ENDDOC    );
-        /** The singleton start-element token type */
-        public static final TokenType START     = new TokenType( "START",     INT_START     );
-        /** The singleton end-element token type */
-        public static final TokenType END       = new TokenType( "END",       INT_END       );
-        /** The singleton text token type */
-        public static final TokenType TEXT      = new TokenType( "TEXT",      INT_TEXT      );
-        /** The singleton attribute token type */
-        public static final TokenType ATTR      = new TokenType( "ATTR",      INT_ATTR      );
-        /** The singleton namespace declaration token type */
-        public static final TokenType NAMESPACE = new TokenType( "NAMESPACE", INT_NAMESPACE );
-        /** The singleton comment token type */
-        public static final TokenType COMMENT   = new TokenType( "COMMENT",   INT_COMMENT   );
-        /** The singleton processing instruction token type */
-        public static final TokenType PROCINST  = new TokenType( "PROCINST",  INT_PROCINST  );
-
-        private TokenType ( String name, int value )
-        {
-            _name = name;
-            _value = value;
-        }
-        
-        private String _name;
-        private int    _value;
-    }
-
-    /**
-     * Deallocates resources needed to manage the cursor, rendering this cursor
-     * inoperable. Because cursors are managed by a mechanism which stores the 
-     * XML, simply letting a cursor go out of scope and having the garbage collector
-     * attempt to reclaim it may not produce desirable performance.<br/><br/>
-     *
-     * So, explicitly disposing a cursor allows the underlying implementation
-     * to release its responsibility of maintaining its position.<br/><br/>
-     *
-     * After a cursor has been disposed, it may not be used again.  It can
-     * throw IllegalStateException or NullPointerException if used after
-     * disposal.<br/><br/>
-     */
-
-    void dispose ( );
-    
-    /**
-     * Moves this cursor to the same position as the moveTo cursor.  if the
-     * moveTo cursor is in a different document from this cursor, this cursor
-     * will not be moved, and false returned.
-     * 
-     * @param  moveTo  The cursor at the location to which this cursor
-     * should be moved.
-     * @return  true if the cursor moved; otherwise, false.
-     */
-
-    boolean toCursor ( XmlCursor moveTo );
-    
-    /**
-     * Saves the current location of this cursor on an internal stack of saved
-     * positions (independent of selection). This location may be restored
-     * later by calling the pop() method.
-     */
-
-    void push ( );
-
-    /**
-     * Restores the cursor location most recently saved with the push() method.
-     * 
-     * @return  true if there was a location to restore; otherwise, false.
-     */
-
-    boolean pop ( );
-
-    /**
-     * Executes the specified XPath expression against the XML that this 
-     * cursor is in.  The cursors position does not change.  To navigate to the
-     * selections, use hasNextSelection and toNextSelection (similar to
-     * java.util.Iterator).<br/><br/>
-     * 
-     * The root referred to by the expression should be given as 
-     * a dot. The following is an example path expression:
-     * <pre>
-     * cursor.selectPath("./purchase-order/line-item[price <= 20.00]");
-     * </pre>
-     * 
-     * @param  path  The path expression to execute.
-     * @throws  XmlRuntimeException  If the query expression is invalid.
-     */
-    void selectPath ( String path );
-
-    /**
-     * Executes the specified XPath expression against the XML that this 
-     * cursor is in. The cursor's position does not change.  To navigate to the
-     * selections, use hasNextSelection and toNextSelection (similar to
-     * java.util.Iterator).<br/><br/>
-     * 
-     * The root referred to by the expression should be given as 
-     * a dot. The following is an example path expression:
-     * <pre>
-     * cursor.selectPath("./purchase-order/line-item[price <= 20.00]");
-     * </pre>
-     * 
-     * @param  path  The path expression to execute.
-     * @param  options  Options for the query. For example, you can call 
-     * the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
-     * method to specify a particular name for the query expression 
-     * variable that indicates the context node.
-     * @throws  XmlRuntimeException  If the query expression is invalid.
-     */
-    void selectPath ( String path, XmlOptions options );
-
-    /**
-     * Returns whether or not there is a next selection.
-     * 
-     * @return  true if there is a next selection; otherwise, false.
-     */
-
-    boolean hasNextSelection ( );
-    
-    /**
-     * Moves this cursor to the next location in the selection, 
-     * if any. See the selectPath() and addToSelection() methods.
-     * 
-     * @return  true if the cursor moved; otherwise, false.
-     */
-
-    boolean toNextSelection ( );
-   
-    /**
-     * Moves this cursor to the specified location in the selection. 
-     * If i is less than zero or greater than or equal to the selection
-     * count, this method returns false.
-     *  
-     * See also the selectPath() and addToSelection() methods.
-     * 
-     * @param  i  The index of the desired location.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toSelection ( int i );
-    
-    /**
-     * Returns the count of the current selection. See also the selectPath() 
-     * and addToSelection() methods.
-     * 
-     * You may experience better performance if you use the iteration
-     * model using the toNextSelection method, rather than 
-     * the indexing model using the getSelectionCount and 
-     * toSelection methods.
-     * 
-     * @return  A number indicating the size of the current selection.
-     */
-
-    int getSelectionCount ( );
-
-    
-    /**
-     * Appends the current location of the cursor to the selection.  
-     * See also the selectPath() method. You can use this as an 
-     * alternative to calling the selectPath method when you want
-     * to define your own selection.
-     */
-
-    void addToSelection ( );
-    
-    /**
-     * Clears this cursor's selection, but does not modify the document.
-     */
-    void clearSelections ( );    
-    
-    /**
-     * Moves this cursor to the same position as the bookmark.  If the
-     * bookmark is in a different document from this cursor or if the 
-     * bookmark is orphaned, this cursor
-     * will not be moved, and false will be returned.
-     * 
-     * @param  bookmark  The bookmark at the location to which this
-     * cursor should be moved.
-     * @return  true if the cursor moved; otherwise, false.
-     */
-
-    boolean toBookmark ( XmlBookmark bookmark );
-
-    /**
-     * Moves this cursor to the location after its current position
-     * where a bookmark with the given key exists.  Returns false if no
-     * such bookmark exists.
-     * 
-     * @param  key  The key held by the next bookmark at the location to 
-     * which this cursor should be moved.
-     * @return  The next corresponding bookmark, if it exists; null if there
-     * is no next bookmark with the specified key.
-     */
-
-    XmlBookmark toNextBookmark ( Object key );
-    
-    /**
-     * Moves this cursor to the location before its current position
-     * where a bookmark with the given key exists.  Returns false if no
-     * such bookmark exists.
-     * 
-     * @param  key  The key held by the previous bookmark at the location to 
-     * which this cursor should be moved.
-     * @return  The previous corresponding bookmark, if it exists; null if 
-     * there is no previous bookmark with the specified key.
-     */
-
-    XmlBookmark toPrevBookmark ( Object key );
-    
-    /**
-     * Returns the name of the current token. Names may be associated with
-     * START, ATTR, NAMESPACE or PROCINST. Returns null if there is no
-     * name associated with the current token. For START and ATTR, the 
-     * name returned identifies the name of the element or attribute. 
-     * For NAMESPACE, the local part of the name is the prefix, while 
-     * the URI is the namespace defined. For PROCINST, the local part 
-     * is the target and the uri is "".
-     * 
-     * @return  The name of the XML at this cursor's location; null if there
-     * is no name.
-     */
-
-    QName getName ( );
-    
-    /**
-     * Sets the name of the current token. This token can be START, NAMESPACE,
-     * ATTR or PROCINST.
-     * 
-     * @param  name  The new name for the current token.
-     */
-
-    void setName ( QName name );
-    
-    /**
-     * Returns the namespace URI indicated by the given prefix. The current
-     * context must be at a START or STARTDOC. Namespace prefix mappings
-     * are queried for the mappings defined at the current container first,
-     * then parents are queried. The prefix can be "" or null to indicate
-     * a search for the default namespace.  To conform with the
-     * XML spec, the default namespace will return the no-namespace ("")
-     * if it is not mapped.<br/><br/>
-     * 
-     * Note that this queries the current state of the document. When the 
-     * document is persisted, the saving mechanism may synthesize namespaces 
-     * (ns1, ns2, and so on) for the purposes of persistence. These namepaces are 
-     * only present in the serialized form, and are not reflected back into 
-     * the document being saved.
-     * 
-     * @param  prefix  The namespace prefix for the requested namespace.
-     * @return  The URI for corresponding to the specified prefix if it
-     * exists; otherwise, null.
-     */
-    String namespaceForPrefix ( String prefix );
-
-    /**
-     * Returns a prefix that can be used to indicate a namespace URI.  The
-     * current context must be at a START or STARTDOC.  If there is an
-     * existing prefix that indicates the URI in the current context, that
-     * prefix may be returned. Otherwise, a new prefix for the URI will be
-     * defined by adding an xmlns attribute to the current container or a
-     * parent container.
-     * 
-     * Note that this queries the current state of the document. When the 
-     * document is persisted, the saving mechanism may synthesize namespaces 
-     * (ns1, ns2, and so on) for the purposes of persistence. These namepaces are 
-     * only present in the serialized form, and are not reflected back into 
-     * the document being saved.
-     * 
-     * @param  namespaceURI  The namespace URI corresponding to the requested
-     * prefix.
-     * @return  The prefix corresponding to the specified URI if it exists; 
-     * otherwise, a newly generated prefix.
-     */
-    String prefixForNamespace ( String namespaceURI );
-    
-    /**
-     * Adds to the specified map, all the namespaces in scope at the container
-     * where this cursor is positioned. This method is useful for 
-     * container tokens only.
-     * 
-     * @param  addToThis  The Map to add the namespaces to.
-     */
-
-    void getAllNamespaces ( Map addToThis );
-
-    /**
-     * Returns the strongly-typed XmlObject at the current START,
-     * STARTDOC, or ATTR. <br/><br/>
-     * 
-     * The strongly-typed object can be cast to the strongly-typed
-     * XBean interface corresponding to the XML Schema Type given
-     * by result.getSchemaType().<br/><br/>
-     *
-     * If a more specific type cannot be determined, an XmlObject
-     * whose schema type is anyType will be returned.
-     * 
-     * @return  The strongly-typed object at the cursor's current location;
-     * null if the current location is not a START, STARTDOC, or ATTR.
-     */
-
-    XmlObject getObject ( );
-    
-    /**
-     * Returns the type of the current token. By definition, the current
-     * token is the token immediately to the right of the cursor. 
-     * If you're in the middle of text, before a character, you get TEXT.
-     * You can't dive into the text of an ATTR, COMMENT or PROCINST.<br/><br/>
-     * 
-     * As an alternative, it may be more convenient for you to use one of the 
-     * methods that test for a particular token type. These include the methods 
-     * isStart(), isStartdoc(), isText(), isAttr(), and so on. Each returns a boolean 
-     * value indicating whether the token that follows the cursor is the type 
-     * in question. 
-     * <br/><br/>
-     *
-     * @return  The TokenType instance for the token at the cursor's current
-     * location.
-     */
-
-    TokenType currentTokenType ( );
-    
-    /**
-     * True if the current token is a STARTDOC token type, meaning 
-     * at the very root of the document.
-     * 
-     * @return  true if this token is a STARTDOC token type; 
-     * otherwise, false.
-     */
-
-    boolean isStartdoc ( );
-    
-    /**
-     * True if this token is an ENDDOC token type, meaning 
-     * at the very end of the document.
-     * 
-     * @return  true if this token is an ENDDOC token type; 
-     * otherwise, false.
-     */
-
-    boolean isEnddoc ( );
-    
-    /**
-     * True if this token is a START token type, meaning 
-     * just before an element's start.
-     * 
-     * @return  true if this token is a START token type; 
-     * otherwise, false.
-     */
-
-    boolean isStart ( );
-    
-    /**
-     * True if this token is an END token type, meaning 
-     * just before an element's end.
-     * 
-     * @return  true if this token is an END token type; 
-     * otherwise, false.
-     */
-
-    boolean isEnd ( );
-    
-    /**
-     * True if the this token is a TEXT token type, meaning 
-     * just before or inside text.
-     * 
-     * @return  true if this token is a TEXT token type; 
-     * otherwise, false.
-     */
-
-    boolean isText ( );
-    
-    /**
-     * True if this token is an ATTR token type, meaning 
-     * just before an attribute.
-     * 
-     * @return  true if this token is an ATTR token type; 
-     * otherwise, false.
-     */
-
-    boolean isAttr ( );
-    
-    /**
-     * True if this token is a NAMESPACE token type, meaning 
-     * just before a namespace declaration.
-     * 
-     * @return  true if this token is a NAMESPACE token type; 
-     * otherwise, false.
-     */
-
-    boolean isNamespace ( );
-    
-    /**
-     * True if this token is a COMMENT token type, meaning 
-     * just before a comment.
-     * 
-     * @return  true if this token is a COMMENT token type; 
-     * otherwise, false.
-     */
-
-    boolean isComment ( );
-    
-    /**
-     * True if this token is a PROCINST token type, meaning 
-     * just before a processing instruction.
-     * 
-     * @return  true if this token is a PROCINST token type; 
-     * otherwise, false.
-     */
-
-    boolean isProcinst ( );
-    
-    /**
-     * True if this token is a container token. The STARTDOC and START 
-     * token types are containers. Containers, including documents and elements,
-     * have the same content model. In other words, a document and an element 
-     * may have the same contents. For example, a document may contain attributes 
-     * or text, without any child elements.
-     * 
-     * @return  true if this token is a container token; otherwise, false.
-     */
-
-    boolean isContainer ( );
-    
-    /**
-     * True if this token is a finish token. A finish token can be an ENDDOC
-     * or END token type.
-
-     * @return  true if this token is a finish token; otherwise, false.
-     */
-
-    boolean isFinish ( );
-    
-    /**
-     * True if this token is any attribute. This includes an ATTR token type and
-     * the NAMESPACE token type attribute.
-     * 
-     * @return  true if the current cursor is at any attribute; otherwise, false.
-     */
-
-    boolean isAnyAttr ( );
-    
-    /**
-     * Returns the type of the previous token. By definition, the previous
-     * token is the token immediately to the left of the cursor.<br/><br/>
-     *
-     * If you're in the middle of text, after a character, you get TEXT.
-     * 
-     * @return  The TokenType instance for the token immediately before the 
-     * token at the cursor's current location.
-     */
-
-    TokenType prevTokenType ( );
-    
-    /**
-     * True if there is a next token. When this is false, as when the cursor is
-     * at the ENDDOC token, the toNextToken() method returns NONE and does not 
-     * move the cursor.
-     * 
-     * @return  true if there is a next token; otherwise, false.
-     */
-
-    boolean hasNextToken ( );
-
-
-    /**
-     * True if there is a previous token. When this is false, toPrevToken
-     * returns NONE and does not move the cursor.
-     * 
-     * @return  true if there is a previous token; otherwise, false.
-     */
-
-    boolean hasPrevToken ( );
-    
-    /**
-     * Moves the cursor to the next token. When there are no more tokens 
-     * available, hasNextToken returns false and toNextToken() returns 
-     * NONE and does not move the cursor. Returns the token type 
-     * of the token to the right of the cursor upon a successful move.
-     * 
-     * @return  The token type for the next token if the cursor was moved;
-     * otherwise, NONE.
-     */
-
-    TokenType toNextToken ( );
-
-    /**
-     * Moves the cursor to the previous token. When there is no
-     * previous token, returns NONE, otherwise returns the token
-     * to the left of the new position of the cursor.
-     * 
-     * @return  The token type for the previous token if the cursor was moved;
-     * otherwise, NONE.
-     */
-
-    TokenType toPrevToken ( );
-    
-    /**
-     * Moves the cursor to the first token in the content of the current
-     * START or STARTDOC. That is, the first token after all ATTR and NAMESPACE
-     * tokens associated with this START.<br/><br/>
-     *
-     * If the current token is not a START or STARTDOC, the cursor is not
-     * moved and NONE is returned. If the current START or STARTDOC
-     * has no content, the cursor is moved to the END or ENDDOC token.<br/><br/>
-     * 
-     * @return  The new current token type.
-     */
-
-    TokenType toFirstContentToken ( );
-
-
-    /**
-     * Moves the cursor to the END or ENDDOC token corresponding to the
-     * current START or STARTDOC, and returns END or ENDDOC. <br/><br/>
-     *
-     * If the current token is not a START or STARTDOC, the cursor is not
-     * moved and NONE is returned.
-     * 
-     * @return  The new current token type.
-     */
-
-    TokenType toEndToken ( );
-    
-    /**
-     * Moves the cursor forward by the specified number of characters, and
-     * stops at the next non-TEXT token. Returns the number of characters
-     * actually moved across, which is guaranteed to be less than or equal to  
-     * <em>maxCharacterCount</em>. If there is no further text, or if 
-     * there is no text at all, returns zero.<br/><br/>
-     *
-     * Note this does not dive into attribute values, comment contents,
-     * processing instruction contents, etc., but only content text.<br/><br/>
-     *
-     * You can pass maxCharacterCount &lt; 0 to move over all the text to the 
-     * right. This has the same effect as toNextToken, but returns the amount 
-     * of text moved over.
-     *
-     * @param  maxCharacterCount  The maximum number of characters by which
-     * the cursor should be moved.
-     * @return  The actual number of characters by which the cursor was moved; 
-     * 0 if the cursor was not moved.
-     */
-
-    int toNextChar ( int maxCharacterCount );
-    
-    /**
-     * Moves the cursor backwards by the number of characters given.  Has
-     * similar characteristics to the {@link #toNextChar(int) toNextChar} method.
-     * 
-     * @param  maxCharacterCount  The maximum number of characters by which
-     * the cursor should be moved.
-     * @return  The actual number of characters by which the cursor was moved; 
-     * 0 if the cursor was not moved.
-     */
-
-    int toPrevChar ( int maxCharacterCount );
-
-    /**
-     * Moves the cursor to the next sibling element, or returns
-     * false and does not move the cursor if there is no next sibling
-     * element. (By definition the position of an element is the same
-     * as the position of its START token.)
-     *
-     * If the current token is not s START, the cursor will be 
-     * moved to the next START without moving out of the scope of the 
-     * current element.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toNextSibling ( );
-    
-    /**
-     * Moves the cursor to the previous sibling element, or returns
-     * false and does not move the cursor if there is no previous sibling
-     * element. (By definition the position of an element is the same
-     * as the position of its START token.)
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toPrevSibling ( );
-
-    /**
-     * Moves the cursor to the parent element or STARTDOC, or returns
-     * false and does not move the cursor if there is no parent.<br/><br/>
-     *
-     * Works if you're in attributes or content. Returns false only if at
-     * STARTDOC. Note that the parent of an END token is the corresponding
-     * START token.
-     * 
-     * @return  true if the cursor was moved; false if the cursor is at the STARTDOC
-     * token.
-     */
-
-    boolean toParent ( );
-
-    /**
-     * Moves the cursor to the first child element, or returns false and
-     * does not move the cursor if there are no element children. <br/><br/>
-     *
-     * If the cursor is not currently in an element, it moves into the 
-     * first child element of the next element.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toFirstChild ( );
-    
-    /**
-     * Moves the cursor to the last element child, or returns false and
-     * does not move the cursor if there are no element children.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toLastChild ( );
-    
-    /**
-     * Moves the cursor to the first child element of the specified name in 
-     * no namespace.
-     * 
-     * @param  name  The name of the element to move the cursor to.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toChild ( String name );
-    
-    /**
-     * Moves the cursor to the first child element of the specified name in the 
-     * specified namespace.
-     * 
-     * @param  namespace  The namespace URI for the element to move the cursor 
-     * to.
-     * @param  name  The name of the element to move to.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toChild ( String namespace, String name );
-
-    /**
-     * Moves the cursor to the first child element of the specified qualified name.
-     * 
-     * @param  name  The name of the element to move the cursor to.
-     */
-
-    boolean toChild ( QName name );
-
-    /**
-     * Moves the cursor to the child element specified by <em>index</em>.
-     * 
-     * @param  index  The position of the element in the sequence of child 
-     * elements.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toChild ( int index );
-    
-    /**
-     * Moves the cursor to the specified <em>index</em> child element of the 
-     * specified name, where that element is the .
-     * 
-     * @param  name  The name of the child element to move the cursor to.
-     * @param  index  The position of the element in the sequence of child
-     * elements.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toChild ( QName name, int index );
-    
-    /**
-     * Moves the cursor to the next sibling element of the specified name in no
-     * namespace.
-     * 
-     * @param  name  The name of the element to move the cursor to.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toNextSibling ( String name );
-    
-    /**
-     * Moves the cursor to the next sibling element of the specified name 
-     * in the specified namespace.
-     * 
-     * @param  namespace  The namespace URI for the element to move the cursor
-     * to.
-     * @param  name  The name of the element to move the cursor to.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toNextSibling ( String namespace, String name );
-
-    
-    /**
-     * Moves the cursor to the next sibling element of the specified 
-     * qualified name.
-     * 
-     * @param  name  The name of the element to move the cursor to.
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toNextSibling ( QName name );
-
-    /**
-     * Moves the cursor to the first attribute of this element, or
-     * returns false and does not move the cursor if there are no
-     * attributes. The order of attributes is arbitrary, but stable.<br/><br/>
-     *
-     * xmlns attributes (namespace declarations) are not considered 
-     * attributes by this function.<br/><br/>
-     *
-     * The cursor must be on a START or STARTDOC for this method to
-     * succeed.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toFirstAttribute ( );
-    
-    /**
-     * Moves the cursor to the last attribute of this element, or
-     * returns false and does not move the cursor if there are no
-     * attributes. The order of attributes is arbitrary, but stable.<br/><br/>
-     *
-     * xmlns attributes (namespace declarations) are not considered 
-     * attributes by this function.<br/><br/>
-     *
-     * The cursor must be on a START or STARTDOC for this method
-     * to succeed.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toLastAttribute ( );
-
-    /**
-     * Moves the cursor to the next sibling attribute, or returns
-     * false and does not move the cursor if there is no next
-     * sibling attribute. The order of attributes is arbitrary, but stable.<br/><br/>
-     * 
-     * xmlns attributes (namespace declarations) are not considered 
-     * attributes by this function.<br/><br/>
-     *
-     * The cursor must be on an attribute for this method to succeed.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toNextAttribute ( );
-
-    /**
-     * Moves the cursor to the previous sibling attribute, or returns
-     * false and does not move the cursor if there is no previous
-     * sibling attribute. The order of attributes is arbitrary, but stable.<br/><br/>
-     * 
-     * xmlns attributes (namespace declarations) are not considered 
-     * attributes by this function.<br/><br/>
-     *
-     * The cursor must be on an attribute for this method to succeed.
-     * 
-     * @return  true if the cursor was moved; otherwise, false.
-     */
-
-    boolean toPrevAttribute ( );
-    
-    /**
-     * When at a START or STARTDOC, returns the attribute text for the given
-     * attribute. When not at a START or STARTDOC or the attribute does not
-     * exist, returns null.  
-     * 
-     * @param  attrName  The name of the attribute whose value is requested.
-     * @return  The attribute's value if it has one; otherwise, null.
-     */
-
-    String getAttributeText ( QName attrName );
-    
-    /**
-     * When at a START or STARTDOC, sets the attribute text for the given
-     * attribute. When not at a START or STARTDOC returns false.
-     * If the attribute does not exist, one is created.
-     * 
-     * @param  attrName  The name of the attribute whose value is being set.
-     * @param  value  The new value for the attribute.
-     * @return  true if the new value was set; otherwise, false.
-     */
-
-    boolean setAttributeText ( QName attrName, String value );
-  
-    /**
-     * When at a START or STARTDOC, removes the attribute with the given name.
-     * 
-     * @param  attrName  The name of the attribute that should be removed.
-     * @return  true if the attribute was removed; otherwise, false.
-     */
-
-    boolean removeAttribute ( QName attrName );
-
-    /**
-     * Gets the text value of the current document, element, attribute,
-     * comment, procinst or text token. <br/><br/>
-     *
-     * When getting the text value of an element, non-text content such
-     * as comments and processing instructions are ignored and text is concatenated.
-     * For elements that have nested element children, this
-     * returns the concatenated text of all mixed content and the
-     * text of all the element children, recursing in first-to-last
-     * depthfirst order.<br/><br/>
-     *
-     * For attributes, this returns the attribute value.<br/><br/>
-     *
-     * For comments and processing instructions, this returns the text contents 
-     * of the comment or PI, not including the delimiting sequences &lt;!-- --&gt;, &lt;? ?&gt;.
-     *<br/><br/>
-     * If the current token is not a START, STARTDOC, TEXT, ATTR, COMMENT, or
-     * PROCINST, this returns null. The value of an empty tag is the
-     * empty string.
-     * 
-     * @return  The text value of the current token, if the token's type is
-     * START, STARTDOC, TEXT, ATTR, COMMENT, or PROCINST; null if the type is
-     * END, ENDDOC, NONE, or NAMESPACE.
-     */
-
-    String getTextValue ( );
-    
-    /**
-     * Copies the text value of the current document, element, attribute,
-     * comment, processing instruction or text token, counting right from 
-     * this cursor's location up to <em>maxCharacterCount</em>,
-     * and copies the returned text into <em>returnedChars</em>. <br/><br/>
-     * 
-     * When getting the text value of an element, non-text content such
-     * as comments and processing instructions are ignored and text is concatenated.
-     * For elements that have nested element children, this
-     * returns the concatenated text of all mixed content and the
-     * text of all the element children, recursing in first-to-last
-     * depthfirst order.<br/><br/>
-     *
-     * For attributes, this returns the attribute value.<br/><br/>
-     *
-     * For comments and processing instructions, this returns the text contents 
-     * of the comment or PI, not including the delimiting sequences &lt;!-- --&gt;, &lt;? ?&gt;.
-     * <br/><br/>
-     * 
-     * If the current token is END, ENDDOC, or NAMESPACE, this returns 0. 
-     * The value of an empty tag is the empty string.
-     * 
-     * @param  returnedChars  A character array to hold the returned characters.
-     * @param  offset  The position within returnedChars to which the first of the 
-     * returned characters should be copied.
-     * @param  maxCharacterCount  The maximum number of characters after this cursor's 
-     * location to copy.
-     * @return  The actual number of characters copied; 0 if no characters 
-     * were copied.
-     */
-
-    int getTextValue ( char[] returnedChars, int offset, int maxCharacterCount );
-    
-    /**
-     * Returns the characters of the current TEXT token.  If the current token
-     * is not TEXT, returns "".  If in the middle of a TEXT token, returns
-     * those chars to the right of the cursor of the TEXT token.
-     * 
-     * @return  The requested text; an empty string if the current token type is
-     * not TEXT.
-     */
-
-    /**
-     * Sets the text value of the XML at this cursor's location if that XML's
-     * token type is START, STARTDOC, ATTR, COMMENT or PROCINST. <br/><br/>
-     *
-     * For elements that have nested children this first removes all
-     * the content of the element and replaces it with the given text.
-     * 
-     * @param  text  The text to use as a new value.
-     * @throws  java.lang.IllegalStateException  If the token type at this
-     * cursor's location is not START, STARTDOC, ATTR, COMMENT or
-     * PROCINST.
-     */
-    void setTextValue ( String text );
-    
-    /**
-     * Sets the text value of the XML at this cursor's location (if that XML's
-     * token type is START, STARTDOC, ATTR, COMMENT or PROCINST) to the 
-     * contents of the specified character array. <br/><br/>
-     *
-     * For elements that have nested children this first removes all
-     * the content of the element and replaces it with the given text.
-     * 
-     * @param  sourceChars  A character array containing the XML's new value.
-     * @param  offset  The position within sourceChars from which the first of 
-     * the source characters should be copied.
-     * @param  length  The maximum number of characters to set as the XML's new
-     * value.
-     * @throws  java.lang.IllegalArgumentException  If the token type at this
-     * cursor's location is not START, STARTDOC, ATTR, COMMENT or
-     * PROCINST.
-     */
-    void setTextValue ( char[] sourceChars, int offset, int length );
-
-    /**
-     * Returns characters to the right of the cursor up to the next token.
-     */
-    String getChars ( );
-    
-    /**
-     * Copies characters up to the specified maximum number, counting right from 
-     * this cursor's location to the character at <em>maxCharacterCount</em>.  The 
-     * returned characters are added to <em>returnedChars</em>, with the first
-     * character copied to the <em>offset</em> position. The <em>maxCharacterCount</em> 
-     * parameter should be less than or equal to the length of <em>returnedChars</em> 
-     * minus <em>offset</em>. Copies a number of characters, which is 
-     * either <em>maxCharacterCount</em> or the number of characters up to the next token, 
-     * whichever is less.
-     * 
-     * @param  returnedChars  A character array to hold the returned characters.
-     * @param  offset  The position within returnedChars at which the first of the 
-     * returned characters should be added.
-     * @param  maxCharacterCount  The maximum number of characters after this cursor's 
-     * location to return.
-     * @return  The actual number of characters returned; 0 if no characters 
-     * were returned or if the current token is not TEXT. 
-     */
-
-    int getChars ( char[] returnedChars, int offset, int maxCharacterCount );
-    
-    /**
-     * Moves the cursor to the STARTDOC token, which is the 
-     * root of the document.
-     */
-
-    void toStartDoc ( );
-    
-    /**
-     * Moves the cursor to the ENDDOC token, which is the end
-     * of the document.
-     */
-
-    void toEndDoc ( );
-    
-    /**
-     * Determines if the specified cursor is in the same document as
-     * this cursor.
-     * 
-     * @param  cursor  The cursor that may be in the same document
-     * as this cursor.
-     * @return  true if the specified cursor is in the same document;
-     * otherwise, false.
-     */
-
-    boolean isInSameDocument ( XmlCursor cursor );
-
-    /**
-     * Returns an integer indicating whether this cursor is before, 
-     * after, or at the same position as the specified cursor. <br/><br/>
-     * 
-     * <code>a.comparePosition(b) < 0</code> means a is to the left of b.<br/>
-     * <code>a.comparePosition(b) == 0</code> means a is at the same position as b.<br/>
-     * <code>a.comparePosition(b) > 0</code> means a is to the right of b.<br/><br/>
-     *
-     * The sort order of cursors in the document is the token order.
-     * For example, if cursor "a" is at a START token and the cursor "b"
-     * is at a token within the contents of the same element, then
-     * a.comparePosition(b) will return -1, meaning that the position
-     * of a is before b.
-     * 
-     * @param  cursor  The cursor whose position should be compared
-     * with this cursor.
-     * @return  1 if this cursor is after the specified cursor; 0 if 
-     * this cursor is at the same position as the specified cursor; 
-     * -1 if this cursor is before the specified cursor.
-     * @throws  java.lang.IllegalArgumentException  If the specified
-     * cursor is not in the same document as this cursor.
-     */
-
-    int comparePosition ( XmlCursor cursor );
-    
-    /**
-     * Determines if this cursor is to the left of (or before)
-     * the specified cursor. Note that this is the same as 
-     * <code>a.comparePosition(b) &lt; 0 </code>
-     * 
-     * @param  cursor  The cursor whose position should be compared
-     * with this cursor.
-     * @return  true if this cursor is to the left of the specified
-     * cursor; otherwise, false.
-     */
-
-    boolean isLeftOf ( XmlCursor cursor );
-    
-    /**
-     * Determines if this cursor is at the same position as
-     * the specified cursor. Note that this is the same as 
-     * <code>a.comparePosition(b) == 0 </code>
-     * 
-     * @param  cursor  The cursor whose position should be compared
-     * with this cursor.
-     * @return  true if this cursor is at the same position as 
-     * the specified cursor; otherwise, false.
-     */
-
-    boolean isAtSamePositionAs ( XmlCursor cursor );
-    
-    /**
-     * Determines if this cursor is to the right of (or after)
-     * the specified cursor. Note that this is the same as 
-     * <code>a.comparePosition(b) &gt; 0 </code>
-     * 
-     * @param  cursor  The cursor whose position should be compared
-     * with this cursor.
-     * @return  true if this cursor is to the right of the specified
-     * cursor; otherwise, false.
-     */
-
-    boolean isRightOf ( XmlCursor cursor );
-    
-    /**
-     * Executes the specified XQuery expression against the XML this
-     * cursor is in. <br/><br/>
-     * 
-     * The query may be a String or a compiled query. You can precompile
-     * an XQuery expression using the XmlBeans.compileQuery method. <br/><br>
-     * 
-     * The root referred to by the expression should be given as 
-     * a dot. The following is an example path expression:
-     * <pre>
-     * XmlCursor results = cursor.execQuery("purchase-order/line-item[price &lt;= 20.00]");
-     * </pre>
-     * 
-     * @param  query  The XQuery expression to execute.
-     * @return  A cursor containing the results of the query.
-     * @throws  XmlRuntimeException  If the query expression is invalid.
-     */
-
-    XmlCursor execQuery ( String query );
-    
-    /**
-     * Executes the specified XQuery expression against the XML this
-     * cursor is in, and using the specified options. <br/><br/>
-     * 
-     * @param  query  The XQuery expression to execute.
-     * @param  options  Options for the query. For example, you can call 
-     * the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
-     * method to specify a particular name for the query expression 
-     * variable that indicates the context node.
-     * @throws  XmlRuntimeException  If the query expression is invalid.
-     */
-
-    XmlCursor execQuery ( String query, XmlOptions options );
-    
-    /**
-     * Represents the state of a dcoument at a particular point
-     * in time.  It is used to determine if a document has been changed
-     * since that point in time.
-     */
-    interface ChangeStamp
-    {
-        /**
-         * Returns whether or not the document assoiated with this ChangeStamp
-         * has been altered since the ChangeStamp had been created.
-         */
-        public boolean hasChanged ( );
-    }
-    
-    /**
-     * Returns the current change stamp for the document the current cursor is in. 
-     * This change stamp can be queried at a later point in time to find out
-     * if the document has changed.
-     * 
-     * @return  The change stamp for the document the current cursor is in.
-     */
-    ChangeStamp getDocChangeStamp ( );
-    
-    /**
-     * Subclasses of XmlBookmark can be used to annotate an XML document.
-     * This class is abstract to prevent parties from inadvertently 
-     * interfering with each others' bookmarks without explicitly
-     * sharing a bookmark class.
-     */
-
-    abstract class XmlBookmark
-    {
-        /**
-         * Constructs a strongly-referenced bookmark.
-         */ 
-        public XmlBookmark ( ) { this( false ); }
-        
-        /**
-         * Constructs a bookmark.
-         * @param weak true if the document's reference to the bookmark should be a WeakReference
-         */ 
-        public XmlBookmark ( boolean weak )
-        {
-            _ref = weak ? new WeakReference( this ) : null;
-        }
-        
-        /**
-         * Call the createCursor method to create a new cursor which is
-         * positioned at the same splace as the bookmark.  It is much more
-         * efficient to call toBookmark on an existing cursor than it
-         * is to create a new cursor.  However, toBookmark may fail if the
-         * bookmark is in a different document than the cursor.  It is
-         * under these circumstances where createCursor needs to be called
-         * on the bookmark.  Subsequent navigations to bookmark
-         * positions should attempt to reuse the last cursor to
-         * improve performace.
-         */
-        public final XmlCursor createCursor ( )
-        {
-            return _currentMark == null ? null : _currentMark.createCursor();
-        }
-
-        /**
-         * Moves the given cursor to this bookmark, and returns it.
-         */ 
-        public final XmlCursor toBookmark ( XmlCursor c )
-        {
-            return c == null || !c.toBookmark( this ) ? createCursor() : c;
-        }
-
-        /**
-         * The default key for bookmarks is the class which implements
-         * them.  This way, multiple parties using bookmarks in the
-         * same instance document will not interfere with eachother.
-         * One can, however, override getKey() to use a key other than
-         * the class.
-         */
-        public Object getKey ( )
-        {
-            return this.getClass();
-        }
-        
-        /**
-         * The mark is set by the host document; it is capable of
-         * returning an XmlCursor implementation at the location of
-         * the bookmark.
-         */ 
-        public       XmlMark   _currentMark;
-        
-        /**
-         * If non-null, the ref is used by the host document
-         * to maintain a reference to the bookmark.  If it is a weak
-         * reference, the host document will not prevent the Bookmark
-         * from being garbage collected.
-         */ 
-        public final Reference _ref;
-    }
-
-    /**
-     * An abstract {@link XmlCursor} factory.
-     * Implementations of XmlCursor implement XmlMark to be able to
-     * reconstitute a cursor from a bookmark. When content moves between
-     * implementations, the XmlMark is set to the implmentation's which
-     * recieves the new content.
-     */
-
-    interface XmlMark
-    {
-        XmlCursor createCursor ( );
-    }
-
-    /**
-     * Sets a bookmark to the document at this cursor's location.
-     *
-     * The bookmark is attached to the token in the tree immediately 
-     * after the cursor. If the tree is manipulated to move
-     * that object to a different place, the bookmark moves with it.
-     * If the tree is manipulated to delete that token from the
-     * tree, the bookmark is orphaned. Copy operations do not copy
-     * bookmarks.
-     * 
-     * @param  bookmark  The bookmark to set.
-     */
-
-    void setBookmark ( XmlBookmark bookmark );
-    
-    /**
-     * Retrieves the bookmark with the specified key 
-     * at this cursor's location. If there is no bookmark whose key is 
-     * given by the specified key at the current position, null is returned. 
-     * If the {@link XmlCursor.XmlBookmark#getKey() getKey} method is not overridden on 
-     * the bookmark, then the bookmark's class is used as the key.
-     * 
-     * @param  key  The key for the bookmark to retrieve.
-     * @return  The requested bookmark; null if there is no bookmark
-     * corresponding to the specified key.
-     */
-
-    XmlBookmark getBookmark ( Object key );
-    
-    /**
-     * Clears the bookmark whose key is specified, if the bookmark
-     * exists at this cursor's location.
-     * 
-     * @param  key  The for the bookmark to clear.
-     */
-
-    void clearBookmark ( Object key );
-
-    /**
-     * Retrieves all the bookmarks at this location, adding them to
-     * the specified collection. Bookmarks held by weak references are
-     * added to this collection as Weak referenced objects pointing to the
-     * bookmark.
-     * 
-     * @param  listToFill  The collection that will contain bookmarks
-     * returned by this method.
-     */
-
-    void getAllBookmarkRefs ( Collection listToFill );
-
-    /**
-     * Removes the XML that is immediately after this cursor.
-     * 
-     * For the TEXT, ATTR, NAMESPACE, COMMENT and PROCINST tokens, a single 
-     * token is removed. For a START token, the corresponding element and all 
-     * of its contents are removed. For all other tokens, this is a no-op. 
-     * You cannot remove a STARTDOC.
-     * 
-     * The cursors located in the XML that was removed all collapse to the 
-     * same location. All bookmarks in this XML will be orphaned.
-     * 
-     * @return true if anything was removed; false only if the cursor is 
-     * just before END or ENDDOC token.
-     * @throws java.lang.IllegalArgumentException  If the cursor is at a 
-     * STARTDOC token.
-     */
-
-    boolean removeXml ( );
-
-    /**
-     * Moves the XML immediately after this cursor to the location
-     * specified by the <em>toHere</em> cursor, shifting XML at that location 
-     * to the right to make room. For the TEXT, ATTR, NAMESPACE, 
-     * COMMENT and PROCINST tokens, a single token is moved. For a start token, the
-     * element and all of its contents are moved. For all other tokens, this
-     * is a no-op.
-     * 
-     * The bookmarks located in the XML that was moved also move to the
-     * new location; the cursors don't move with the content.
-     * 
-     * @param  toHere  The cursor at the location to which the XML should
-     * be moved.
-     * @return true if anything was moved; false only if the cursor is 
-     * just before END or ENDDOC token.
-     * @throws java.lang.IllegalArgumentException  If the operation is not allowed
-     * at the cursor's location.
-     */
-
-    boolean moveXml ( XmlCursor toHere );
-    
-    /**
-     * Copies the XML immediately after this cursor to the location
-     * specified by the <em>toHere</em> cursor. For the TEXT, ATTR, NAMESPACE, 
-     * COMMENT and PROCINST tokens, a single token is copied.  For a start token, 
-     * the element and all of its contents are copied. For all other tokens, this
-     * is a no-op.
-     * 
-     * The cursors and bookmarks located in the XML that was copied are also copied 
-     * to the new location.
-     * 
-     * @param  toHere  The cursor at the location to which the XML should
-     * be copied.
-     * @return true if anything was copied; false if the token supports the operation,
-     * but nothing was copied.
-     * @throws java.lang.IllegalArgumentException  If the operation is not allowed
-     * at the cursor's location.
-     */
-
-    boolean copyXml ( XmlCursor toHere );
-    
-    /**
-     * Removes the contents of the container (STARTDOC OR START) immediately after
-     * this cursor. For all other situations, returns false. Does
-     * not remove attributes or namspaces.
-     * 
-     * @return true if anything was copied; otherwise, false.
-     */
-
-    boolean removeXmlContents ( );
-
-    /**
-     * Moves the contents of the container (STARTDOC OR START) immediately after
-     * this cursor to the location specified by the <em>toHere</em> cursor.
-     * For all other situations, returns false. Does not move attributes or
-     * namespaces.
-     * 
-     * @param  toHere  The cursor at the location to which the XML should be moved.
-     * @return true if anything was moved; otherwise, false.
-     */
-    boolean moveXmlContents ( XmlCursor toHere );
-    
-    /**
-     * Copies the contents of the container (STARTDOC OR START) immediately to
-     * the right of the cursor to the location specified by the <em>toHere</em> cursor.
-     * For all other situations, returns false.  Does not copy attributes or
-     * namespaces.
-     * 
-     * @param  toHere  The cursor at the location to which the XML should
-     * be copied.
-     * @return true if anything was copied; otherwise, false.
-     */
-    boolean copyXmlContents ( XmlCursor toHere );
-    
-    /**
-     * Removes characters up to the specified maximum number, counting right from 
-     * this cursor's location to the character at <em>maxCharacterCount</em>. The 
-     * space remaining from removing the characters collapses up to this cursor.
-     * 
-     * @param  maxCharacterCount  The maximum number of characters after this cursor's 
-     * location to remove.
-     * @return  The actual number of characters removed.
-     * @throws java.lang.IllegalArgumentException  If the operation is not allowed
-     * at the cursor's location.
-     */
-
-    int removeChars ( int maxCharacterCount );
-
-    /**
-     * Moves characters immediately after this cursor to the position immediately 
-     * after the specified cursor. Characters are counted to the right up to the
-     * specified maximum number. XML after the destination cursor is 
-     * shifted to the right to make room. The space remaining from moving the 
-     * characters collapses up to this cursor.
-     * 
-     * @param  maxCharacterCount  The maximum number of characters after this cursor's 
-     * location to move.
-     * @param  toHere  The cursor to which the characters should be moved.
-     * @return  The actual number of characters moved.
-     * @throws java.lang.IllegalArgumentException  If the operation is not allowed
-     * at the cursor's location.
-     */
-
-    int moveChars ( int maxCharacterCount, XmlCursor toHere );
-
-    /**
-     * Copies characters to the position immediately after the specified cursor.
-     * Characters are counted to the right up to the specified maximum number. 
-     * XML after the destination cursor is shifted to the right to make room.
-     * 
-     * @param  maxCharacterCount  The maximum number of characters after this cursor's 
-     * location to copy.
-     * @param  toHere  The cursor to which the characters should be copied.
-     * @return  The actual number of characters copied.
-     * @throws java.lang.IllegalArgumentException  If the operation is not allowed
-     * at the cursor's location.
-     */
-
-    int copyChars ( int maxCharacterCount, XmlCursor toHere );
-
-    /**
-     * Inserts the specified text immediately before this cursor's location.
-     * 
-     * @param  text  The text to insert.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertChars ( String text );
-    
-    /**
-     * Inserts an element immediately before this cursor's location, giving 
-     * the element the specified qualified name.
-     * 
-     * @param  name  The qualified name for the element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElement ( QName name );
-
-    /**
-     * Inserts an element immediately before this cursor's location, giving 
-     * the element the specified local name.
-     * 
-     * @param  localName  The local name for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElement ( String localName );
-
-    /**
-     * Inserts a new element immediately before this cursor's location, giving the
-     * element the specified local name and associating it with specified namespace 
-     * 
-     * @param  localName  The local name for the new element.
-     * @param  uri  The URI for the new element's namespace.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElement ( String localName, String uri );
-    
-    /**
-     * Inserts a new element around this cursor, giving the element the specified 
-     * qualified name. After the element is inserted, this cursor is between its start 
-     * and end. This cursor can then be used to insert additional XML into 
-     * the new element.
-     * 
-     * @param  name  The qualified name for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void beginElement ( QName name );
-
-    /**
-     * Inserts a new element around this cursor, giving the element the specified 
-     * local name. After the element is inserted, this cursor is between its start 
-     * and end. This cursor can then be used to insert additional XML into 
-     * the new element.
-     * 
-     * @param  localName  The local name for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void beginElement ( String localName );
-
-    /**
-     * Inserts a new element around this cursor, giving the element the specified 
-     * local name and associating it with the specified namespace. After the element 
-     * is inserted, this cursor is between its start and end. This cursor 
-     * can then be used to insert additional XML into the new element.
-     * 
-     * @param  localName  The local name for the new element.
-     * @param  uri  The URI for the new element's namespace.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void beginElement ( String localName, String uri );
-    
-    /**
-     * Inserts a new element immediately before this cursor's location, giving the
-     * element the specified qualified name and content.
-     * 
-     * @param  name  The qualified name for the new element.
-     * @param  text  The content for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElementWithText ( QName name, String text );
-
-    /**
-     * Inserts a new element immediately before this cursor's location, giving the
-     * element the specified local name and content.
-     * 
-     * @param  localName  The local name for the new element.
-     * @param  text  The content for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElementWithText ( String localName, String text );
-
-    /**
-     * Inserts a new element immediately before this cursor's location, giving the
-     * element the specified local name, associating it with the specified namespace, 
-     * and giving it the specified content.
-     * 
-     * @param  localName  The local name for the new element.
-     * @param  uri  The URI for the new element's namespace.
-     * @param  text  The content for the new element.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertElementWithText ( String localName, String uri, String text );
-    
-    /**
-     * Inserts a new attribute immediately before this cursor's location, giving it
-     * the specified local name.
-     * 
-     * @param  localName  The local name for the new attribute.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttribute ( String localName );
-
-    /**
-     * Inserts a new attribute immediately before this cursor's location, giving it
-     * the specified local name and associating it with the specified namespace.
-     * 
-     * @param  localName  The local name for the new attribute.
-     * @param  uri  The URI for the new attribute's namespace.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttribute ( String localName, String uri );
-
-    /**
-     * Inserts a new attribute immediately before this cursor's location, giving it
-     * the specified name.
-     * 
-     * @param  name  The local name for the new attribute.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttribute ( QName name );
-
-    /**
-     * Inserts a new attribute immediately before this cursor's location, giving it
-     * the specified value and name.
-     * 
-     * @param  Name  The local name for the new attribute.
-     * @param  value  The value for the new attribute.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttributeWithValue ( String Name, String value );
-
-    /**
-     * Inserts an attribute immediately before the cursor's location, giving it
-     * the specified name and value, and associating it with the specified namespace.
-     * 
-     * @param  name  The name for the new attribute.
-     * @param  uri  The URI for the new attribute's namespace.
-     * @param  value  The value for the new attribute.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttributeWithValue ( String name, String uri, String value );
-
-    /**
-     * Inserts an attribute immediately before the cursor's location, giving it
-     * the specified name and value.
-     * 
-     * @param  name  The name for the new attribute.
-     * @param  value  The value for the new attribute.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertAttributeWithValue ( QName name, String value );
-    
-    /**
-     * Inserts a namespace declaration immediately before the cursor's location, 
-     * giving it the specified prefix and URI.
-     * 
-     * @param  prefix  The prefix for the namespace.
-     * @param  namespace  The URI for the namespace.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertNamespace ( String prefix, String namespace );
-    
-    /**
-     * Inserts an XML comment immediately before the cursor's location, 
-     * giving it the specified content.
-     * 
-     * @param  text  The new comment's content.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertComment ( String text );
-
-    /**
-     * Inserts an XML processing instruction immediately before the cursor's location, 
-     * giving it the specified target and text.
-     * 
-     * @param  target  The target for the processing instruction.
-     * @param  text  The new processing instruction's text.
-     * @throws java.lang.IllegalArgumentException  If the insertion is not allowed
-     * at the cursor's location.
-     */
-
-    void insertProcInst ( String target, String text );
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDate.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDate.java
deleted file mode 100644
index 4428857..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDate.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Date;
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#date">xs:date</a> type.
- * <p>
- * Convertible to {@link Calendar}, {@link Date}, and {@link GDate}.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlDate extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_date");
-
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-    /**
-     * Returns this value as a {@link Date}
-     * @deprecated replaced with {@link #getDateValue}
-     **/
-    Date dateValue();
-    /**
-     * Sets this value as a {@link Date}
-     * @deprecated replaced with {@link #setDateValue}
-     **/
-    void set(Date d);
-
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-    /** Returns this value as a {@link Date} */
-    Date getDateValue();
-    /** Sets this value as a {@link Date} */
-    void setDateValue(Date d);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlDate}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlDate} */
-        public static XmlDate newInstance() {
-          return (XmlDate) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlDate} */
-        public static XmlDate newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlDate) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlDate} value */
-        public static XmlDate newValue(Object obj) {
-          return (XmlDate) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlDate} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14&lt;/xml-fragment&gt;</code>". */
-        public static XmlDate parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14&lt;/xml-fragment&gt;</code>". */
-        public static XmlDate parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from a File. */
-        public static XmlDate parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from a File. */
-        public static XmlDate parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from a URL. */
-        public static XmlDate parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlDate} fragment from a URL. */
-        public static XmlDate parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlDate} fragment from an InputStream. */
-        public static XmlDate parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from an InputStream. */
-        public static XmlDate parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from a Reader. */
-        public static XmlDate parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from a Reader. */
-        public static XmlDate parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from a DOM Node. */
-        public static XmlDate parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from a DOM Node. */
-        public static XmlDate parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from an XMLInputStream. */
-        public static XmlDate parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from an XMLInputStream. */
-        public static XmlDate parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlDate} fragment from an XMLStreamReader. */
-        public static XmlDate parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlDate} fragment from an XMLStreamReader. */
-        public static XmlDate parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlDate) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDateTime.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDateTime.java
deleted file mode 100644
index 1a7388e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDateTime.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Date;
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#dateTime">xs:dateTime</a> type.
- * <p>
- * Convertible to {@link Calendar}, {@link Date}, and {@link GDate}.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlDateTime extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_dateTime");
-    
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-    /**
-     * Returns this value as a {@link Date}
-     * @deprecated replaced with {@link #getDateValue}
-     **/
-    Date dateValue();
-    /**
-     * Sets this value as a {@link Date}
-     * @deprecated replaced with {@link #setDateValue}
-     **/
-    void set(Date d);
-
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-    /** Returns this value as a {@link Date} */
-    Date getDateValue();
-    /** Sets this value as a {@link Date} */
-    void setDateValue(Date d);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlDateTime}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlDateTime} */
-        public static XmlDateTime newInstance() {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlDateTime} */
-        public static XmlDateTime newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlDateTime} value */
-        public static XmlDateTime newValue(Object obj) {
-          return (XmlDateTime) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14T12:00:00&lt;/xml-fragment&gt;</code>". */
-        public static XmlDateTime parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14T12:00:00&lt;/xml-fragment&gt;</code>". */
-        public static XmlDateTime parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a File. */
-        public static XmlDateTime parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a File. */
-        public static XmlDateTime parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a URL. */
-        public static XmlDateTime parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlDateTime} fragment from a URL. */
-        public static XmlDateTime parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlDateTime} fragment from an InputStream. */
-        public static XmlDateTime parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from an InputStream. */
-        public static XmlDateTime parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a Reader. */
-        public static XmlDateTime parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a Reader. */
-        public static XmlDateTime parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a DOM Node. */
-        public static XmlDateTime parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from a DOM Node. */
-        public static XmlDateTime parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from an XMLInputStream. */
-        public static XmlDateTime parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from an XMLInputStream. */
-        public static XmlDateTime parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from an XMLStreamReader. */
-        public static XmlDateTime parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlDateTime} fragment from an XMLStreamReader. */
-        public static XmlDateTime parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlDateTime) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDecimal.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDecimal.java
deleted file mode 100644
index 02ebffb..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDecimal.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.math.BigDecimal;
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a> type.
- * <p>
- * Convertible to {@link BigDecimal}.
- */ 
-public interface XmlDecimal extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_decimal");
-    
-    /** Returns this value as a {@link BigDecimal} */
-    BigDecimal getBigDecimalValue();
-    /** Sets this value as a {@link BigDecimal} */
-    void setBigDecimalValue(BigDecimal bd);
-
-    /**
-     * Returns this value as a {@link BigDecimal}
-     * @deprecated replaced with {@link #getBigDecimalValue}
-     **/
-    BigDecimal bigDecimalValue();
-    /**
-     * Sets this value as a {@link BigDecimal}
-     * @deprecated replaced with {@link #setBigDecimalValue}
-     **/
-    void set(BigDecimal bd);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlDecimal}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlDecimal} */
-        public static XmlDecimal newInstance() {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlDecimal} */
-        public static XmlDecimal newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlDecimal} value */
-        public static XmlDecimal newValue(Object obj) {
-          return (XmlDecimal) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234.56789&lt;/xml-fragment&gt;</code>". */
-        public static XmlDecimal parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234.56789&lt;/xml-fragment&gt;</code>". */
-        public static XmlDecimal parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a File. */
-        public static XmlDecimal parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a File. */
-        public static XmlDecimal parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a URL. */
-        public static XmlDecimal parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlDecimal} fragment from a URL. */
-        public static XmlDecimal parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlDecimal} fragment from an InputStream. */
-        public static XmlDecimal parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from an InputStream. */
-        public static XmlDecimal parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a Reader. */
-        public static XmlDecimal parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a Reader. */
-        public static XmlDecimal parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a DOM Node. */
-        public static XmlDecimal parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from a DOM Node. */
-        public static XmlDecimal parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from an XMLInputStream. */
-        public static XmlDecimal parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from an XMLInputStream. */
-        public static XmlDecimal parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from an XMLStreamReader. */
-        public static XmlDecimal parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlDecimal} fragment from an XMLStreamReader. */
-        public static XmlDecimal parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDocumentProperties.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDocumentProperties.java
deleted file mode 100644
index 75b2658..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDocumentProperties.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-/**
- * This class is used to attach arbitrary information to an XML
- * document.  It also defines several well-known types of
- * information that can be attached or found on a document.
- * <p>
- * For example, suppose you wanted to associate a filename
- * with the document containing an xml object "xobj".  This
- * could be done via the following code:
- * <p>
- * tokenSource.documentProperties().set(XmlDocumentProperties.NAME, "MyFilename.xml");
- * <p>
- * To fetch the filename later, given an xobj2 anywhere in the
- * same document, you can write:
- * <p>
- * filename = (String)tokenSource.documentProperties().get(XmlDocumentProperties.NAME);
- */
-public abstract class XmlDocumentProperties
-{
-    /**
-     * Sets the name of the XML document file.  Typically a URL, but may
-     * be any String.
-     * @param sourceName the name to set
-     * @see XmlOptions#setDocumentSourceName
-    */ 
-    public void   setSourceName ( String sourceName ) { put( SOURCE_NAME, sourceName ); }
-    /**
-     * Returns the name of the XML document file.  Typically a URL, but may
-     * be any String.
-     * @see XmlOptions#setDocumentSourceName
-     */ 
-    public String getSourceName ( ) { return (String) get( SOURCE_NAME ); }
-    
-    /**
-     * Sets the encoding to use for the XML document.  Should be a valid
-     * XML encoding string.
-     * @param encoding the ISO encoding name
-     * @see XmlOptions#setCharacterEncoding
-     */ 
-    public void   setEncoding ( String encoding ) { put( ENCODING, encoding ); }
-    /**
-     * Returns the encoding used for the XML document, as an ISO encoding name.
-     * @see XmlOptions#setCharacterEncoding
-     */ 
-    public String getEncoding ( ) { return (String) get( ENCODING ); }
-    
-    /**
-     * Sets the XML version string to use in the &lt&#63;xml&#63;&gt; declaration.
-     * (The XML specification is quite stable at "1.0".)
-     * @param version the XML version string
-     */ 
-    public void   setVersion ( String version ) { put( VERSION, version ); }
-    /**
-     * Returns the XML version string used in the &lt&#63;xml&#63;&gt; declaration.
-     */ 
-    public String getVersion ( ) { return (String) get( VERSION ); }
-    
-    /**
-     * Sets the DOCTYPE name use in the &lt&#33;DOCTYPE&gt; declaration.
-     * @param doctypename the doctypename
-     */ 
-    public void   setDoctypeName ( String doctypename ) { put( DOCTYPE_NAME, doctypename ); }
-    /**
-     * Returns the DOCTYPE name used in the &lt&#33;DOCTYPE&gt; declaration.
-     */ 
-    public String getDoctypeName ( ) { return (String) get( DOCTYPE_NAME ); }
-    
-    /**
-     * Sets the DOCTYPE public ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-     * @param publicid the public ID
-     */ 
-    public void   setDoctypePublicId ( String publicid ) { put( DOCTYPE_PUBLIC_ID, publicid ); }
-    /**
-     * Returns the DOCTYPE public ID used in the &lt&#33;DOCTYPE&gt; declaration.
-     */ 
-    public String getDoctypePublicId ( ) { return (String) get( DOCTYPE_PUBLIC_ID ); }
-    
-    /**
-     * Sets the DOCTYPE system ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-     * @param systemid the system ID
-     */ 
-    public void   setDoctypeSystemId ( String systemid ) { put( DOCTYPE_SYSTEM_ID, systemid ); }
-    /**
-     * Returns the DOCTYPE system ID used in the &lt&#33;DOCTYPE&gt; declaration.
-     */
-    public String getDoctypeSystemId ( ) { return (String) get( DOCTYPE_SYSTEM_ID ); }
-
-    /**
-     * Sets the message digest used to summarize the document.
-     * @param digest the bytes of the digest
-     * 
-     * @see XmlOptions#setLoadMessageDigest
-     */ 
-    public void   setMessageDigest( byte[] digest ) { put( MESSAGE_DIGEST, digest ); }
-    /**
-     * Returns the message digest used to summarize the document.
-     * 
-     * @see XmlOptions#setLoadMessageDigest
-     */ 
-    public byte[] getMessageDigest( ) { return (byte[]) get( MESSAGE_DIGEST ); }
-    
-    /**
-     * Used to store the original name (a String) for
-     * the source from which the XML document was loaded.
-     * This name, if present, is used to identify the
-     * document when reporting validation or comilation errors.
-     *
-     * XmlObject.Factory.parse(File) and SchemaTypeLoader.loadInstance(File)
-     * both automatically set this value to the filename.
-     */
-    public static final Object SOURCE_NAME = new Object();
-    
-    /**
-     * Document encoding
-     */
-    public static final Object ENCODING = new Object();
-    
-    /**
-     * Document version
-     */
-    public static final Object VERSION = new Object();
-    
-    /**
-     * Doc type name
-     */
-    public static final Object DOCTYPE_NAME = new Object();
-    
-    /**
-     * Doc type public id
-     */
-    public static final Object DOCTYPE_PUBLIC_ID = new Object();
-    
-    /**
-     * Doc type system id
-     */
-    public static final Object DOCTYPE_SYSTEM_ID = new Object();
-    
-    /**
-     * SHA message digest
-     */
-    public static final Object MESSAGE_DIGEST = new Object();
-
-    /**
-     * Attaches a value to the root of the document containing
-     * the given token source.
-     *
-     * @param key   The key: there can be one value for each key.
-     * @param value The value to attach to the document.
-     */
-    public abstract Object put ( Object key, Object value );
-    
-    /**
-     * Returns a value previously attached to a document using set.
-     *
-     * @param key   The key: this is the key that was previously
-     *              passed to set to store the value.
-     * @return      The saved value, or null if none is found.
-     */
-    public abstract Object get ( Object key );
-
-    /**
-     * Removes a value previously attached to a document using set.
-     *
-     * @param key   The key: this is the key that was previously
-     *              passed to set to store the value.
-     */
-    public abstract Object remove ( Object key );
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDouble.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDouble.java
deleted file mode 100644
index ccd56b6..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDouble.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#double">xs:double</a> type.
- * <p>
- * Naturally, convertible to a Java double.
- */ 
-public interface XmlDouble extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_double");
-    
-    /** Returns this value as a double */
-    double getDoubleValue();
-    /** Sets this value as a double */
-    void setDoubleValue(double v);
-
-    /**
-     * Returns this value as a double
-     * @deprecated replaced with {@link #getDoubleValue}
-     **/
-    double doubleValue();
-    /**
-     * Sets this value as a double
-     * @deprecated replaced with {@link #setDoubleValue}
-     **/
-    void set(double v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlDouble}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlDouble} */
-        public static XmlDouble newInstance() {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlDouble} */
-        public static XmlDouble newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlDouble} value */
-        public static XmlDouble newValue(Object obj) {
-          return (XmlDouble) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123.34e+57&lt;/xml-fragment&gt;</code>". */
-        public static XmlDouble parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123.34e+57&lt;/xml-fragment&gt;</code>". */
-        public static XmlDouble parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a File. */
-        public static XmlDouble parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a File. */
-        public static XmlDouble parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a URL. */
-        public static XmlDouble parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlDouble} fragment from a URL. */
-        public static XmlDouble parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlDouble} fragment from an InputStream. */
-        public static XmlDouble parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from an InputStream. */
-        public static XmlDouble parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a Reader. */
-        public static XmlDouble parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a Reader. */
-        public static XmlDouble parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a DOM Node. */
-        public static XmlDouble parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from a DOM Node. */
-        public static XmlDouble parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from an XMLInputStream. */
-        public static XmlDouble parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from an XMLInputStream. */
-        public static XmlDouble parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlDouble} fragment from an XMLStreamReader. */
-        public static XmlDouble parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlDouble} fragment from an XMLStreamReader. */
-        public static XmlDouble parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlDouble) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDuration.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlDuration.java
deleted file mode 100644
index 01be7cb..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlDuration.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">xs:duration</a> type.
- * <p>
- * Convertible to a {@link GDuration}.
- * 
- * @see GDuration
- */ 
-public interface XmlDuration extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_duration");
-    
-    /** Returns this value as a {@link GDuration} */
-    GDuration getGDurationValue();
-    /** Sets this value as a {@link GDuration} */
-    void setGDurationValue(GDuration gd);
-
-    /**
-     * Returns this value as a {@link GDuration}
-     * @deprecated replaced with {@link #getGDurationValue}
-     **/
-    GDuration gDurationValue();
-    /**
-     * Sets this value as a {@link GDuration}
-     * @deprecated replaced with {@link #setGDurationValue}
-     **/
-    void set(GDurationSpecification gd);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlDuration}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlDuration} */
-        public static XmlDuration newInstance() {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlDuration} */
-        public static XmlDuration newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlDuration} value */
-        public static XmlDuration newValue(Object obj) {
-          return (XmlDuration) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a String. For example: "<code>&lt;xml-fragment&gt;P1Y2MT2H&lt;/xml-fragment&gt;</code>". */
-        public static XmlDuration parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a String. For example: "<code>&lt;xml-fragment&gt;P1Y2MT2H&lt;/xml-fragment&gt;</code>". */
-        public static XmlDuration parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a File. */
-        public static XmlDuration parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a File. */
-        public static XmlDuration parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a URL. */
-        public static XmlDuration parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlDuration} fragment from a URL. */
-        public static XmlDuration parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlDuration} fragment from an InputStream. */
-        public static XmlDuration parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from an InputStream. */
-        public static XmlDuration parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a Reader. */
-        public static XmlDuration parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a Reader. */
-        public static XmlDuration parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a DOM Node. */
-        public static XmlDuration parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from a DOM Node. */
-        public static XmlDuration parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from an XMLInputStream. */
-        public static XmlDuration parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from an XMLInputStream. */
-        public static XmlDuration parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlDuration} fragment from an XMLStreamReader. */
-        public static XmlDuration parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlDuration} fragment from an XMLStreamReader. */
-        public static XmlDuration parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlDuration) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITIES.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITIES.java
deleted file mode 100644
index 21af254..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITIES.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.List;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITIES">xs:ENTITIES</a> type,
- * a list type.
- * <p>
- * A list type.
- */ 
-public interface XmlENTITIES extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_ENTITIES");
-    
-    /** Returns the value as a {@link List} of {@link String} values */
-    List getListValue();
-    /** Returns the value as a {@link List} of {@link XmlENTITY} values **/
-    List xgetListValue();
-    /** Sets the value as a {@link List} */
-    void setListValue(List l);
-
-    /**
-     * Returns the value as a {@link List} of {@link String} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List listValue();
-    /**
-     * Returns the value as a {@link List} of {@link XmlENTITY} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List xlistValue();
-    /**
-     * Sets the value as a {@link List}
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    void set(List l);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlENTITIES}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlENTITIES} */
-        public static XmlENTITIES newInstance() {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlENTITIES} */
-        public static XmlENTITIES newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlENTITIES} value */
-        public static XmlENTITIES newValue(Object obj) {
-          return (XmlENTITIES) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a String. */
-        public static XmlENTITIES parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a String. */
-        public static XmlENTITIES parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a File. */
-        public static XmlENTITIES parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a File. */
-        public static XmlENTITIES parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a URL. */
-        public static XmlENTITIES parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlENTITIES} fragment from a URL. */
-        public static XmlENTITIES parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlENTITIES} fragment from an InputStream. */
-        public static XmlENTITIES parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from an InputStream. */
-        public static XmlENTITIES parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a Reader. */
-        public static XmlENTITIES parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a Reader. */
-        public static XmlENTITIES parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a DOM Node. */
-        public static XmlENTITIES parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from a DOM Node. */
-        public static XmlENTITIES parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from an XMLInputStream. */
-        public static XmlENTITIES parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from an XMLInputStream. */
-        public static XmlENTITIES parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from an XMLStreamReader. */
-        public static XmlENTITIES parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlENTITIES} fragment from an XMLStreamReader. */
-        public static XmlENTITIES parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlENTITIES) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITY.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITY.java
deleted file mode 100644
index 1eec2c6..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlENTITY.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITY">xs:ENTITY</a> type.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlENTITY extends XmlNCName
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_ENTITY");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlENTITY}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlENTITY} */
-        public static XmlENTITY newInstance() {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlENTITY} */
-        public static XmlENTITY newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlENTITY} value */
-        public static XmlENTITY newValue(Object obj) {
-          return (XmlENTITY) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a String. */
-        public static XmlENTITY parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a String. */
-        public static XmlENTITY parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a File. */
-        public static XmlENTITY parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a File. */
-        public static XmlENTITY parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a URL. */
-        public static XmlENTITY parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlENTITY} fragment from a URL. */
-        public static XmlENTITY parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlENTITY} fragment from an InputStream. */
-        public static XmlENTITY parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from an InputStream. */
-        public static XmlENTITY parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a Reader. */
-        public static XmlENTITY parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a Reader. */
-        public static XmlENTITY parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a DOM Node. */
-        public static XmlENTITY parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from a DOM Node. */
-        public static XmlENTITY parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from an XMLInputStream. */
-        public static XmlENTITY parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from an XMLInputStream. */
-        public static XmlENTITY parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from an XMLStreamReader. */
-        public static XmlENTITY parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlENTITY} fragment from an XMLStreamReader. */
-        public static XmlENTITY parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlENTITY) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlError.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlError.java
deleted file mode 100644
index a831d0f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlError.java
+++ /dev/null
@@ -1,440 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.io.File;
-
-/**
- * Represents a message at a specific XML location.
- * <p>
- * The message can be an error, warning, or simple information, and
- * it may optionally be associated with a specific location in
- * an XML document.  The class includes methods for extracting
- * the location as a line number, XmlCursor, or XmlObject, as
- * well as for obtaining and message and severity of the
- * error. 
- * 
- * @see XmlOptions#setErrorListener
- * @see XmlException
- */
-public class XmlError implements java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-
-    private String _message;
-    private String _source;
-    private int    _severity = SEVERITY_ERROR;
-    private int    _line = -1;
-    private int    _column = -1;
-    private int    _offset = -1;
-    
-    private transient XmlCursor _cursor;
-    
-    /**
-     * Copy constructor.
-     * @param src The original XmlError to copy.
-     */
-    public XmlError(XmlError src)
-    {
-        _message = src.getMessage();
-        _severity = src.getSeverity();
-        _source = src.getSourceName();
-        _line = src.getLine();
-        _column = src.getColumn();
-        _offset = src.getOffset();
-        _cursor = src.getCursorLocation();
-    }
-
-    /**
-     * The static factory methods should be used instead of
-     * this constructor.
-     */
-    private XmlError(String message, int severity, String source, int line, int column, int offset, XmlCursor cursor)
-    {
-        _message = message;
-        _severity = severity;
-        _source = source;
-        _line = line;
-        _column = column;
-        _offset = offset;
-        _cursor = cursor;
-    }
-
-    /**
-     * The static factory methods should be used instead of
-     * this constructor.
-     */
-    protected XmlError(String message, int severity, XmlCursor cursor)
-    {
-        String source = null;
-        int line = -1;
-        int column = -1;
-        int offset = -1;
-
-        if (cursor != null)
-        {
-            // Hunt down the line/column/offset
-            source = cursor.documentProperties().getSourceName();
-
-            XmlCursor c = cursor.newCursor();
-
-            XmlLineNumber ln =
-                (XmlLineNumber) c.getBookmark( XmlLineNumber.class );
-
-            if (ln == null)
-                ln = (XmlLineNumber) c.toPrevBookmark( XmlLineNumber.class );
-
-            if (ln != null)
-            {
-                line = ln.getLine();
-                column = ln.getColumn();
-                offset = ln.getOffset();
-            }
-
-            c.dispose();
-        }
-
-        _message = message;
-        _severity = severity;
-        _source = source;
-        _line = line;
-        _column = column;
-        _offset = offset;
-        _cursor = cursor;
-    }
-
-    /**
-     * Returns an XmlError for the given message, with no location and {@link #SEVERITY_ERROR}.
-     * @param message the error message
-     */ 
-    public static XmlError forMessage(String message)
-    {
-        return forMessage(message, SEVERITY_ERROR);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with no location and the given severity.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     */ 
-    public static XmlError forMessage(String message, int severity)
-    {
-        return forSource(message, severity, null);
-    }
-
-    /**
-     * Returns an XmlError for the given message, located in the given file and {@link #SEVERITY_ERROR}.
-     * @param message the error message
-     * @param sourceName the URL or other name for the file
-     */ 
-    public static XmlError forSource(String message, String sourceName)
-    {
-        return forLocation(message, SEVERITY_ERROR, sourceName, -1, -1, -1);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with the given severity, located in the given file.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     * @param sourceName the URL or other name for the file
-     */ 
-    public static XmlError forSource(String message, int severity, String sourceName)
-    {
-        return forLocation(message, severity, sourceName, -1, -1, -1);
-    }
-
-    /**
-     * Returns an XmlError for the given message, located at a specific point in the given file and {@link #SEVERITY_ERROR}.
-     * @param message the error message
-     * @param sourceName the URL or other name for the file
-     * @param line the 1-based line number, or -1 if not known
-     * @param column the 1-based column number, or -1 if not known
-     * @param offset the 0-base file character offset, or -1 if not known
-     */ 
-    public static XmlError forLocation(String message, String sourceName, int line, int column, int offset)
-    {
-        return new XmlError(message, SEVERITY_ERROR, sourceName, line, column, offset, null);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with the given severity, located at a specific point in the given file.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     * @param sourceName the URL or other name for the file
-     * @param line the 1-based line number, or -1 if not known
-     * @param column the 1-based column number, or -1 if not known
-     * @param offset the 0-base file character offset, or -1 if not known
-     */ 
-    public static XmlError forLocation(String message, int severity, String sourceName, int line, int column, int offset)
-    {
-        return new XmlError(message, severity, sourceName, line, column, offset, null);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with the given severity, located at the given physcial location and XmlCursor.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     * @param sourceName the URL or other name for the file
-     * @param line the 1-based line number, or -1 if not known
-     * @param column the 1-based column number, or -1 if not known
-     * @param offset the 0-base file character offset, or -1 if not known
-     * @param cursor the XmlCursor representing the location of the error
-     */ 
-    public static XmlError forLocationAndCursor(String message, int severity, String sourceName, int line, int column, int offset, XmlCursor cursor)
-    {
-        return new XmlError(message, severity, sourceName, line, column, offset, cursor);
-    }
-
-    /**
-     * Returns an XmlError for the given message, located at the XmlObject, with {@link #SEVERITY_ERROR}.
-     * @param message the error message
-     * @param xobj the XmlObject representing the location of the error
-     */
-    public static XmlError forObject(String message, XmlObject xobj)
-    {
-        return forObject(message, SEVERITY_ERROR, xobj);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with the given severity, located at the XmlObject.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     * @param xobj the XmlObject representing the location of the error
-     */
-    public static XmlError forObject(String message, int severity, XmlObject xobj)
-    {
-        if (xobj == null)
-            return forMessage(message, severity);
-
-        XmlCursor cur = xobj.newCursor();
-        XmlError result = forCursor(message, severity, cur);
-        if (cur != null)
-            cur.dispose();
-        return result;
-    }
-
-    /**
-     * Returns an XmlError for the given message, located at the XmlCursor, with {@link #SEVERITY_ERROR}.
-     * @param message the error message
-     * @param cursor the XmlCursor representing the location of the error
-     */
-    public static XmlError forCursor(String message, XmlCursor cursor)
-    {
-        return forCursor(message, SEVERITY_ERROR, cursor);
-    }
-
-    /**
-     * Returns an XmlError for the given message, with the given severity, located at the XmlCursor.
-     * @param message the error message
-     * @param severity the severity ({@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO})
-     * @param cursor the XmlCursor representing the location of the error
-     */
-    public static XmlError forCursor(String message, int severity, XmlCursor cursor)
-    {
-        return new XmlError(message, severity, cursor);
-    }
-
-    /**
-     * Tries to produce a nicely formatted filename from the given string.
-     */
-    protected static String formattedFileName(String rawString, URI base)
-    {
-        if (rawString == null)
-            return null;
-
-        URI uri = null;
-
-        try
-        {
-            // if it looks like an absolute URI, treat it as such
-            uri = new URI(rawString);
-
-            // otherwise, treat it like a filename
-            if (!uri.isAbsolute())
-                uri = null;
-        }
-        catch (URISyntaxException e)
-        {
-            uri = null;
-        }
-
-        // looks like a filename; convert it to uri for relativization
-        if (uri == null)
-            uri = new File(rawString).toURI();
-
-        if (base != null)
-            uri = base.relativize(uri);
-
-        // filenames get their file: stripped off and their /'s turned into \'s (MSDOS)
-        if (uri.isAbsolute() ? uri.getScheme().compareToIgnoreCase("file") == 0 :
-            base != null && base.isAbsolute() && base.getScheme().compareToIgnoreCase("file") == 0)
-        {
-            try
-            {
-                return (new File(uri)).toString();
-            }
-            catch (Exception e) {};
-        }
-
-        return uri.toString();
-    }
-
-    /**
-     * An error. See {@link #getSeverity}.
-     */ 
-    public static final int SEVERITY_ERROR   = 0;
-    /**
-     * A warning. See {@link #getSeverity}.
-     */ 
-    public static final int SEVERITY_WARNING = 1;
-    /**
-     * An informational message. See {@link #getSeverity}.
-     */ 
-    public static final int SEVERITY_INFO    = 2;
-
-    /**
-     * Returns the severity.  Either {@link #SEVERITY_ERROR}, {@link #SEVERITY_WARNING}, or {@link #SEVERITY_INFO}.
-     */ 
-    public int    getSeverity   ( ) { return _severity; }
-    
-    /**
-     * Returns the error message without location information.
-     */ 
-    public String getMessage    ( ) { return _message; }
-    
-    /**
-     * Returns the URL (or other name) of the file with the error, if available.
-     */ 
-    public String getSourceName ( ) { return _source; }
-    
-    /**
-     * Returns the line number of the error, if available, -1 if not.
-     */ 
-    public int    getLine       ( ) { return _line; }
-    
-    /**
-     * Returns the column number of the error, if available, -1 if not.
-     */ 
-    public int    getColumn     ( ) { return _column; }
-    
-    /**
-     * Returns the file character offset of the error, if available, -1 if not.
-     */ 
-    public int    getOffset     ( ) { return _offset; }
-    
-    /**
-     * Returns a location object of the given type.  XmlCursor.class and
-     * XmlObject.class can be passed, for example.  Null if not available.
-     */ 
-    public Object getLocation ( Object type )
-    {
-        if (type == XmlCursor.class)
-            return _cursor;
-        if (type == XmlObject.class && _cursor != null)
-            return _cursor.getObject();
-        return null;
-    }
-
-    /**
-     * Returns a location of the error as an {@link XmlCursor}, null if
-     * not available.
-     */ 
-    public XmlCursor getCursorLocation ( )
-    {
-        return (XmlCursor) getLocation( XmlCursor.class );
-    }
-
-    /**
-     * Returns a location of the error as an {@link XmlObject}, null if
-     * not available.
-     */ 
-    public XmlObject getObjectLocation ( )
-    {
-        return (XmlObject) getLocation( XmlObject.class );
-    }
-
-    /**
-     * Produces a standard string for the error message, complete with
-     * filename and location offsets if available.
-     */
-    public String toString ( )
-    {
-        return toString( null );
-    }
-
-    /**
-     * Produces a standard string with the error message.  If a non-null
-     * URI is supplied, source names are relativized against the given
-     * URI.
-     */
-    public String toString ( URI base )
-    {
-        // modified to carefully match the IDE's
-        // workshop.workspace.ant.AntLogger regex
-        // which also matches javac (davidbau)
-
-        StringBuffer sb = new StringBuffer();
-
-        String source = formattedFileName(getSourceName(), base);
-
-        if ( source != null )
-        {
-            sb.append( source );
-            int line = getLine();
-            if ( line < 0 )
-                line = 0;
-
-            sb.append( ':' );
-            sb.append( line );
-            sb.append( ':' );
-            if (getColumn() > 0)
-            {
-                sb.append( getColumn() );
-                sb.append( ':' );
-            }
-            sb.append(" ");
-        }
-
-        switch ( getSeverity() )
-        {
-            case SEVERITY_ERROR   : sb.append( "error: " );   break;
-            case SEVERITY_WARNING : sb.append( "warning: " ); break;
-            case SEVERITY_INFO : break;
-        }
-
-        String msg = getMessage();
-
-        sb.append( msg == null ? "<Unspecified message>" : msg );
-
-        return sb.toString();
-    }
-
-    public static String severityAsString(int severity)
-    {
-        switch (severity) {
-            case SEVERITY_ERROR:
-                return ("error");
-            case SEVERITY_WARNING:
-                return ("warning");
-            case SEVERITY_INFO:
-                return "info";
-            default:
-                throw new IllegalArgumentException("unknown severity");
-        }
-    }
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlException.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlException.java
deleted file mode 100644
index de34748..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlException.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.util.List;
-import java.util.Collections;
-import java.util.Collection;
-import java.util.ArrayList;
-
-/**
- * A checked exception that can be thrown while processing,
- * parsing, or compiling XML.  May contain any number of {@link XmlError}
- * objects.
- * <p>
- * @see XmlError
- * @see XmlRuntimeException
- */
-public class XmlException extends Exception
-{
-    private static final long serialVersionUID = 1L;
-    
-    /**
-     * Constructs an XmlException from a message.
-     */ 
-    public XmlException ( String m              ) { super( m );    }
-    
-    /**
-     * Constructs an XmlException from a message and a cause.
-     */ 
-    public XmlException ( String m, Throwable t ) { super( m, t ); }
-    
-    /**
-     * Constructs an XmlException from a cause.
-     */ 
-    public XmlException ( Throwable t           ) { super( t );    }
-    
-    /**
-     * Constructs an XmlException from an {@link XmlError}.
-     */ 
-    public XmlException ( XmlError error )
-    {
-        this( error.toString(), null, error );
-    }
-
-    /**
-     * Constructs an XmlException from a message, a cause, and an {@link XmlError}.
-     */ 
-    public XmlException ( String m, Throwable t, XmlError error )
-    {
-        this( m, t, Collections.singletonList( error ) );
-    }
-    
-    /**
-     * Constructs an XmlException from a message, a cause, and a collection of {@link XmlError XmlErrors}.
-     */ 
-    public XmlException ( String m, Throwable t, Collection errors )
-    {
-        super( m, t );
-
-        if (errors != null)
-            _errors = Collections.unmodifiableList( new ArrayList( errors ) );
-    }
-
-    /**
-     * Constructs an XmlException from an {@link XmlRuntimeException}.
-     */ 
-    public XmlException ( XmlRuntimeException xmlRuntimeException )
-    {
-        super(
-            xmlRuntimeException.getMessage(), xmlRuntimeException.getCause() );
-
-        Collection errors = xmlRuntimeException.getErrors();
-
-        if (errors != null)
-            _errors = Collections.unmodifiableList( new ArrayList( errors ) );
-    }
-    
-    /**
-     * Returns the first {@link XmlError XmlErrors} that caused the exception, if any.
-     */ 
-    public XmlError getError ( )
-    {
-        if (_errors == null || _errors.size() == 0)
-            return null;
-
-        return (XmlError) _errors.get( 0 );
-    }
-    
-    /**
-     * Returns the collection of {@link XmlError XmlErrors} that caused the exception, if any.
-     */ 
-    public Collection getErrors ( )
-    {
-        return _errors;
-    }
-
-    private List _errors;
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlFactoryHook.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlFactoryHook.java
deleted file mode 100644
index eadbc44..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlFactoryHook.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.w3c.dom.Node;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.Reader;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-/**
- * A hook for the XML Bean Factory mechanism.
- * Provided for advanced users who wish to provide their own
- * implementation of the Factory.parse methods. This is used, for example,
- * to defer reading XML streams until needed.
- * <p>
- * To use the hook, call XmlFactoryHook.ThreadContext.setHook(), passing
- * your own XmlFactoryHook implementation.  Then every call to a Factory
- * method will be delgated to your hook.
- *
- * <pre>
- * MyHook hook = new MyHook();
- * XmlFactoryHook.ThreadContext.setHook(hook);
- * // this results in a call to hook.parse(...)
- * XmlObject.Factory.parse(new File("test.xml"));
- * </pre>
- * 
- * If the hook needs to turn around and invoke the built-in parsers, then
- * it should do so by calling the appropriate method on the passed
- * SchemaTypeLoader.  Since SchemaTypeLoader.parse() methods delegate
- * to the registered hook, a hook that wishes to actually invoke the
- * default parser without having itself called back again should
- * unregister itself before calling loader.parse(), and then re-register
- * itself again after the call.
- * <pre>
- * void parse(SchemaTypeLoader loader, ...)
- * {
- *     XmlFactoryHook remember = XmlFactoryHook.ThreadContext.getHook();
- *     XmlFactoryHook.ThreadContext.setHook(null);
- *     loader.parse(...); // isn't hooked.
- *     XmlFactoryHook.ThreadContext.setHook(remember);
- * }
- * </pre>
- */
-public interface XmlFactoryHook
-{
-    /** Hooks Factory.newInstance calls */
-    public XmlObject newInstance ( SchemaTypeLoader loader, SchemaType type, XmlOptions options );
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, String xmlText, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, InputStream jiois, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, XMLStreamReader xsr, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, Reader jior, SchemaType type, XmlOptions options ) throws XmlException, IOException;
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, Node node, SchemaType type, XmlOptions options ) throws XmlException;
-    /** Hooks Factory.parse calls */
-    public XmlObject parse ( SchemaTypeLoader loader, XMLInputStream xis, SchemaType type, XmlOptions options ) throws XmlException, XMLStreamException;
-    /** Hooks Factory.newXmlSaxHandler calls */
-    public XmlSaxHandler newXmlSaxHandler ( SchemaTypeLoader loader, SchemaType type, XmlOptions options );
-
-    /**
-     * Used to manage the XmlFactoryHook for the current thread.
-     */ 
-    public final static class ThreadContext
-    {
-        private static ThreadLocal threadHook = new ThreadLocal();
-        
-        /**
-         * Returns the current thread's hook, or null if none.
-         */ 
-        public static XmlFactoryHook getHook()
-        {
-            return (XmlFactoryHook)threadHook.get();
-        }
-
-        /**
-         * Sets the hook for the current thread.
-         */ 
-        public static void setHook(XmlFactoryHook hook)
-        {
-            threadHook.set(hook);
-        }
-
-        // provided to prevent unwanted construction
-        private ThreadContext()
-        {
-        }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlFloat.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlFloat.java
deleted file mode 100644
index 8d30a6d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlFloat.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#float">xs:float</a> type.
- * <p>
- * Naturally, convertible to a Java float.
- */ 
-public interface XmlFloat extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_float");
-    
-    /** Returns this value as a float */
-    float getFloatValue();
-    /** Sets this value as a float */
-    void setFloatValue(float v);
-
-    /**
-     * Returns this value as a float
-     * @deprecated replaced by {@link #getFloatValue}
-     **/
-    float floatValue();
-    /**
-     * Sets this value as a float
-     * @deprecated replaced by {@link #setFloatValue}
-     **/
-    void set(float v);
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlFloat}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlFloat} */
-        public static XmlFloat newInstance() {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlFloat} */
-        public static XmlFloat newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlFloat} value */
-        public static XmlFloat newValue(Object obj) {
-          return (XmlFloat) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12.34e+5&lt;/xml-fragment&gt;</code>". */
-        public static XmlFloat parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12.34e+5&lt;/xml-fragment&gt;</code>". */
-        public static XmlFloat parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a File. */
-        public static XmlFloat parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a File. */
-        public static XmlFloat parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a URL. */
-        public static XmlFloat parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlFloat} fragment from a URL. */
-        public static XmlFloat parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlFloat} fragment from an InputStream. */
-        public static XmlFloat parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from an InputStream. */
-        public static XmlFloat parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a Reader. */
-        public static XmlFloat parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a Reader. */
-        public static XmlFloat parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a DOM Node. */
-        public static XmlFloat parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from a DOM Node. */
-        public static XmlFloat parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from an XMLInputStream. */
-        public static XmlFloat parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from an XMLInputStream. */
-        public static XmlFloat parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlFloat} fragment from an XMLStreamReader. */
-        public static XmlFloat parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlFloat} fragment from an XMLStreamReader. */
-        public static XmlFloat parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlFloat) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGDay.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlGDay.java
deleted file mode 100644
index 388a25d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGDay.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gDay">xs:gDay</a> type.
- * A gDay specifies only a day-of-month.
- * <p>
- * Convertible to {@link Calendar}, {@link GDate}, or an int.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlGDay extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_gDay");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-    /** Returns this value as an int from 1-31 */
-    int getIntValue();
-    /** Sets this value as an int from 1-31 */
-    void setIntValue(int v);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-    /**
-     * Returns this value as an int from 1-31
-     * @deprecated replaced with {@link #getIntValue}
-     **/
-    int intValue();
-    /**
-     * Sets this value as an int from 1-31
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlGDay}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlGDay} */
-        public static XmlGDay newInstance() {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlGDay} */
-        public static XmlGDay newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlGDay} value */
-        public static XmlGDay newValue(Object obj) {
-          return (XmlGDay) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a String. For example: "<code>&lt;xml-fragment&gt;---14&lt;/xml-fragment&gt;</code>". */
-        public static XmlGDay parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a String. For example: "<code>&lt;xml-fragment&gt;---14&lt;/xml-fragment&gt;</code>". */
-        public static XmlGDay parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a File. */
-        public static XmlGDay parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a File. */
-        public static XmlGDay parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a URL. */
-        public static XmlGDay parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlGDay} fragment from a URL. */
-        public static XmlGDay parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlGDay} fragment from an InputStream. */
-        public static XmlGDay parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from an InputStream. */
-        public static XmlGDay parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a Reader. */
-        public static XmlGDay parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a Reader. */
-        public static XmlGDay parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a DOM Node. */
-        public static XmlGDay parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from a DOM Node. */
-        public static XmlGDay parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from an XMLInputStream. */
-        public static XmlGDay parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from an XMLInputStream. */
-        public static XmlGDay parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlGDay} fragment from an XMLStreamReader. */
-        public static XmlGDay parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlGDay} fragment from an XMLStreamReader. */
-        public static XmlGDay parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlGDay) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonth.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonth.java
deleted file mode 100644
index a374daa..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonth.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonth">xs:gMonth</a> type.
- * A gMonth specifies only a month-of-year.
- * <p>
- * Convertible to {@link Calendar}, {@link GDate}, or an int.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlGMonth extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_gMonth");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-    /** Returns this value as an int from 1-12 */
-    int getIntValue();
-    /** Sets this value as an int from 1-12 */
-    void setIntValue(int v);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-    /**
-     * Returns this value as an int from 1-12
-     * @deprecated replaced with {@link #getIntValue}
-     **/
-    int intValue();
-    /**
-     * Sets this value as an int from 1-12
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlGMonth}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlGMonth} */
-        public static XmlGMonth newInstance() {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlGMonth} */
-        public static XmlGMonth newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlGMonth} value */
-        public static XmlGMonth newValue(Object obj) {
-          return (XmlGMonth) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06&lt;/xml-fragment&gt;</code>". */
-        public static XmlGMonth parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06&lt;/xml-fragment&gt;</code>". */
-        public static XmlGMonth parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a File. */
-        public static XmlGMonth parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a File. */
-        public static XmlGMonth parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a URL. */
-        public static XmlGMonth parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlGMonth} fragment from a URL. */
-        public static XmlGMonth parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlGMonth} fragment from an InputStream. */
-        public static XmlGMonth parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from an InputStream. */
-        public static XmlGMonth parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a Reader. */
-        public static XmlGMonth parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a Reader. */
-        public static XmlGMonth parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a DOM Node. */
-        public static XmlGMonth parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from a DOM Node. */
-        public static XmlGMonth parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from an XMLInputStream. */
-        public static XmlGMonth parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from an XMLInputStream. */
-        public static XmlGMonth parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from an XMLStreamReader. */
-        public static XmlGMonth parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlGMonth} fragment from an XMLStreamReader. */
-        public static XmlGMonth parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlGMonth) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonthDay.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonthDay.java
deleted file mode 100644
index 75cc346..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGMonthDay.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">xs:gMonthDay</a> type.
- * A gMonthDay specifies a day of a specific month without specifying the year.
- * <p>
- * Convertible to {@link Calendar} or {@link GDate}.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlGMonthDay extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_gMonthDay");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlGMonthDay}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlGMonthDay} */
-        public static XmlGMonthDay newInstance() {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlGMonthDay} */
-        public static XmlGMonthDay newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlGMonthDay} value */
-        public static XmlGMonthDay newValue(Object obj) {
-          return (XmlGMonthDay) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06-14&lt;/xml-fragment&gt;</code>". */
-        public static XmlGMonthDay parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06-14&lt;/xml-fragment&gt;</code>". */
-        public static XmlGMonthDay parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a File. */
-        public static XmlGMonthDay parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a File. */
-        public static XmlGMonthDay parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a URL. */
-        public static XmlGMonthDay parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlGMonthDay} fragment from a URL. */
-        public static XmlGMonthDay parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlGMonthDay} fragment from an InputStream. */
-        public static XmlGMonthDay parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from an InputStream. */
-        public static XmlGMonthDay parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a Reader. */
-        public static XmlGMonthDay parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a Reader. */
-        public static XmlGMonthDay parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a DOM Node. */
-        public static XmlGMonthDay parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from a DOM Node. */
-        public static XmlGMonthDay parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from an XMLInputStream. */
-        public static XmlGMonthDay parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from an XMLInputStream. */
-        public static XmlGMonthDay parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from an XMLStreamReader. */
-        public static XmlGMonthDay parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlGMonthDay} fragment from an XMLStreamReader. */
-        public static XmlGMonthDay parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlGMonthDay) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYear.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYear.java
deleted file mode 100644
index 0331204..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYear.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gYear">xs:gYear</a> type.
- * A gYear specifies a Gregorian year (AD).
- * <p>
- * Convertible to {@link Calendar}, {@link GDate}, or an int.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlGYear extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_gYear");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-    /** Returns this value as an int from 1-31 */
-    int getIntValue();
-    /** Sets this value as an int from 1-31 */
-    void setIntValue(int v);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-    /**
-     * Returns this value as an int from 1-31
-     * @deprecated replaced with {@link #getIntValue}
-     **/
-    int intValue();
-    /**
-     * Sets this value as an int from 1-31
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlGYear}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlGYear} */
-        public static XmlGYear newInstance() {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlGYear} */
-        public static XmlGYear newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlGYear} value */
-        public static XmlGYear newValue(Object obj) {
-          return (XmlGYear) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003&lt;/xml-fragment&gt;</code>". */
-        public static XmlGYear parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003&lt;/xml-fragment&gt;</code>". */
-        public static XmlGYear parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a File. */
-        public static XmlGYear parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a File. */
-        public static XmlGYear parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a URL. */
-        public static XmlGYear parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlGYear} fragment from a URL. */
-        public static XmlGYear parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlGYear} fragment from an InputStream. */
-        public static XmlGYear parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from an InputStream. */
-        public static XmlGYear parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a Reader. */
-        public static XmlGYear parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a Reader. */
-        public static XmlGYear parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a DOM Node. */
-        public static XmlGYear parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from a DOM Node. */
-        public static XmlGYear parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from an XMLInputStream. */
-        public static XmlGYear parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from an XMLInputStream. */
-        public static XmlGYear parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlGYear} fragment from an XMLStreamReader. */
-        public static XmlGYear parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlGYear} fragment from an XMLStreamReader. */
-        public static XmlGYear parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlGYear) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYearMonth.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYearMonth.java
deleted file mode 100644
index 3899014..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlGYearMonth.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Date;
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">xs:gYearMonth</a> type.
- * A gYearMonth specifies a month in a specific year.
- * <p>
- * Convertible to {@link Calendar}, {@link GDate}.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlGYearMonth extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_gYearMonth");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlGYearMonth}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlGYearMonth} */
-        public static XmlGYearMonth newInstance() {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlGYearMonth} */
-        public static XmlGYearMonth newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlGYearMonth} value */
-        public static XmlGYearMonth newValue(Object obj) {
-          return (XmlGYearMonth) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06&lt;/xml-fragment&gt;</code>". */
-        public static XmlGYearMonth parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06&lt;/xml-fragment&gt;</code>". */
-        public static XmlGYearMonth parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a File. */
-        public static XmlGYearMonth parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a File. */
-        public static XmlGYearMonth parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a URL. */
-        public static XmlGYearMonth parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlGYearMonth} fragment from a URL. */
-        public static XmlGYearMonth parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlGYearMonth} fragment from an InputStream. */
-        public static XmlGYearMonth parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from an InputStream. */
-        public static XmlGYearMonth parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a Reader. */
-        public static XmlGYearMonth parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a Reader. */
-        public static XmlGYearMonth parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a DOM Node. */
-        public static XmlGYearMonth parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from a DOM Node. */
-        public static XmlGYearMonth parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from an XMLInputStream. */
-        public static XmlGYearMonth parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from an XMLInputStream. */
-        public static XmlGYearMonth parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from an XMLStreamReader. */
-        public static XmlGYearMonth parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlGYearMonth} fragment from an XMLStreamReader. */
-        public static XmlGYearMonth parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlGYearMonth) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlHexBinary.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlHexBinary.java
deleted file mode 100644
index 9cd4309..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlHexBinary.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#hexBinary">xs:hexBinary</a> type.
- * <p>
- * Convertible to a byte array. 
- */ 
-public interface XmlHexBinary extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_hexBinary");
-    
-    /**
-     * Returns this value as a byte array.
-     * @deprecated replaced by {@link #getByteArrayValue}
-     **/
-    byte[] byteArrayValue();
-
-    /**
-     * Sets this value as a byte array.
-     * @deprecated replaced by {@link #setByteArrayValue}
-     **/
-    void set(byte[] ba);
-
-    /** Returns this value as a byte array. **/
-    byte[] getByteArrayValue();
-    /** Sets this value as a byte array. */
-    void setByteArrayValue(byte[] ba);
-
-
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlHexBinary}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlHexBinary} */
-        public static XmlHexBinary newInstance() {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlHexBinary} */
-        public static XmlHexBinary newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlHexBinary} value */
-        public static XmlHexBinary newValue(Object obj) {
-          return (XmlHexBinary) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a String. For example: "<code>&lt;xml-fragment&gt;68656c6c6f&lt;/xml-fragment&gt;</code>". */
-        public static XmlHexBinary parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a String. For example: "<code>&lt;xml-fragment&gt;68656c6c6f&lt;/xml-fragment&gt;</code>". */
-        public static XmlHexBinary parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a File. */
-        public static XmlHexBinary parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a File. */
-        public static XmlHexBinary parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a URL. */
-        public static XmlHexBinary parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlHexBinary} fragment from a URL. */
-        public static XmlHexBinary parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlHexBinary} fragment from an InputStream. */
-        public static XmlHexBinary parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from an InputStream. */
-        public static XmlHexBinary parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a Reader. */
-        public static XmlHexBinary parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a Reader. */
-        public static XmlHexBinary parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a DOM Node. */
-        public static XmlHexBinary parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from a DOM Node. */
-        public static XmlHexBinary parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from an XMLInputStream. */
-        public static XmlHexBinary parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from an XMLInputStream. */
-        public static XmlHexBinary parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from an XMLStreamReader. */
-        public static XmlHexBinary parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlHexBinary} fragment from an XMLStreamReader. */
-        public static XmlHexBinary parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlHexBinary) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlID.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlID.java
deleted file mode 100644
index 3cc909b..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlID.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ID">xs:ID</a> type.
- * <p>
- * When validated, IDs must be unique within a document.  An element
- * may not have more than one attribute whose type is ID.
- * <p>
- * Convertible to a {@link String}. 
- */ 
-public interface XmlID extends XmlNCName
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_ID");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlID}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlID} */
-        public static XmlID newInstance() {
-          return (XmlID) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlID} */
-        public static XmlID newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlID) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlID} value */
-        public static XmlID newValue(Object obj) {
-          return (XmlID) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlID} fragment from a String. For example: "<code>&lt;xml-fragment&gt;n1&lt;/xml-fragment&gt;</code>". */
-        public static XmlID parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from a String. For example: "<code>&lt;xml-fragment&gt;n1&lt;/xml-fragment&gt;</code>". */
-        public static XmlID parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from a File. */
-        public static XmlID parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from a File. */
-        public static XmlID parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from a URL. */
-        public static XmlID parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlID} fragment from a URL. */
-        public static XmlID parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlID} fragment from an InputStream. */
-        public static XmlID parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from an InputStream. */
-        public static XmlID parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from a Reader. */
-        public static XmlID parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from a Reader. */
-        public static XmlID parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from a DOM Node. */
-        public static XmlID parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from a DOM Node. */
-        public static XmlID parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from an XMLInputStream. */
-        public static XmlID parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from an XMLInputStream. */
-        public static XmlID parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlID} fragment from an XMLStreamReader. */
-        public static XmlID parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlID} fragment from an XMLStreamReader. */
-        public static XmlID parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlID) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREF.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREF.java
deleted file mode 100644
index 415673e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREF.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREF">xs:IDREF</a> type.
- * <p>
- * When validated, IDREF values must match an ID value that is present within
- * the document. This rule is only verified when a whole document is validated
- * at once.
- * <p>
- * Convertible to a {@link String}. 
- */ 
-public interface XmlIDREF extends XmlNCName
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_IDREF");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlIDREF}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlIDREF} */
-        public static XmlIDREF newInstance() {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlIDREF} */
-        public static XmlIDREF newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlIDREF} value */
-        public static XmlIDREF newValue(Object obj) {
-          return (XmlIDREF) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a String. */
-        public static XmlIDREF parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a String. */
-        public static XmlIDREF parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a File. */
-        public static XmlIDREF parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a File. */
-        public static XmlIDREF parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a URL. */
-        public static XmlIDREF parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlIDREF} fragment from a URL. */
-        public static XmlIDREF parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlIDREF} fragment from an InputStream. */
-        public static XmlIDREF parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from an InputStream. */
-        public static XmlIDREF parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a Reader. */
-        public static XmlIDREF parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a Reader. */
-        public static XmlIDREF parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a DOM Node. */
-        public static XmlIDREF parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from a DOM Node. */
-        public static XmlIDREF parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from an XMLInputStream. */
-        public static XmlIDREF parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from an XMLInputStream. */
-        public static XmlIDREF parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from an XMLStreamReader. */
-        public static XmlIDREF parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlIDREF} fragment from an XMLStreamReader. */
-        public static XmlIDREF parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREFS.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREFS.java
deleted file mode 100644
index 8d820b2..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlIDREFS.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.List;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREFS">xs:IDREFS</a> type,
- * a list type.
- * <p>
- * When validated, IDREF values must match an ID value that is present within
- * the document. This rule is only verified when a whole document is validated
- * at once.
- * <p>
- * Convertible to a {@link List}. 
- */ 
-public interface XmlIDREFS extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_IDREFS");
-    
-    /** Returns the value as a {@link List} of {@link String} values */
-    List getListValue();
-    /** Returns the value as a {@link List} of {@link XmlIDREF} values */
-    List xgetListValue();
-    /** Sets the value as a {@link List} */
-    void setListValue(List l);
-
-    /**
-     * Returns the value as a {@link List} of {@link String} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List listValue();
-    /**
-     * Returns the value as a {@link List} of {@link XmlIDREF} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List xlistValue();
-    /**
-     * Sets the value as a {@link List}
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    void set(List l);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlIDREFS}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlIDREFS} */
-        public static XmlIDREFS newInstance() {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlIDREFS} */
-        public static XmlIDREFS newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlIDREFS} value */
-        public static XmlIDREFS newValue(Object obj) {
-          return (XmlIDREFS) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a String. */
-        public static XmlIDREFS parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a String. */
-        public static XmlIDREFS parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a File. */
-        public static XmlIDREFS parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a File. */
-        public static XmlIDREFS parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a URL. */
-        public static XmlIDREFS parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlIDREFS} fragment from a URL. */
-        public static XmlIDREFS parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlIDREFS} fragment from an InputStream. */
-        public static XmlIDREFS parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from an InputStream. */
-        public static XmlIDREFS parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a Reader. */
-        public static XmlIDREFS parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a Reader. */
-        public static XmlIDREFS parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a DOM Node. */
-        public static XmlIDREFS parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from a DOM Node. */
-        public static XmlIDREFS parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from an XMLInputStream. */
-        public static XmlIDREFS parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from an XMLInputStream. */
-        public static XmlIDREFS parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from an XMLStreamReader. */
-        public static XmlIDREFS parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlIDREFS} fragment from an XMLStreamReader. */
-        public static XmlIDREFS parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlInt.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlInt.java
deleted file mode 100644
index e649f24..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlInt.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Naturally, convertible to a Java int.
- */ 
-public interface XmlInt extends XmlLong
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_int");
-    
-    /** Returns this value as an int */
-    int getIntValue();
-    /** Sets this value as an int */
-    void setIntValue(int v);
-
-    /**
-     * Returns this value as an int
-     * @deprecated replaced with {@link #getIntValue}
-     **/
-    int intValue();
-    /**
-     * Sets this value as an int
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlInt}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlInt} */
-        public static XmlInt newInstance() {
-          return (XmlInt) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlInt} */
-        public static XmlInt newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlInt) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlInt} value */
-        public static XmlInt newValue(Object obj) {
-          return (XmlInt) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlInt} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>". */
-        public static XmlInt parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>". */
-        public static XmlInt parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from a File. */
-        public static XmlInt parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from a File. */
-        public static XmlInt parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from a URL. */
-        public static XmlInt parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlInt} fragment from a URL. */
-        public static XmlInt parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlInt} fragment from an InputStream. */
-        public static XmlInt parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from an InputStream. */
-        public static XmlInt parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from a Reader. */
-        public static XmlInt parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from a Reader. */
-        public static XmlInt parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from a DOM Node. */
-        public static XmlInt parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from a DOM Node. */
-        public static XmlInt parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from an XMLInputStream. */
-        public static XmlInt parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from an XMLInputStream. */
-        public static XmlInt parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlInt} fragment from an XMLStreamReader. */
-        public static XmlInt parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlInt} fragment from an XMLStreamReader. */
-        public static XmlInt parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlInt) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlInteger.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlInteger.java
deleted file mode 100644
index 7185d62..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlInteger.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.math.BigInteger;
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#integer">xs:integer</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * This type should not be confused with <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a>
- * or Java {@link Integer}.  This type represents an arbitrary-precision integer with
- * any number of digits, while a Java int or an xs:int is a 32-bit finite-precision integer.
- * <p>
- * Convertible to a Java {@link BigInteger}.
- */ 
-public interface XmlInteger extends XmlDecimal
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_integer");
-    
-    /** Returns this value as a {@link BigInteger} */
-    BigInteger getBigIntegerValue();
-    /** Sets this value as a {@link BigInteger} */
-    void setBigIntegerValue(BigInteger bi);
-
-    /**
-     * Returns this value as a {@link BigInteger}
-     * @deprecated replaced with {@link #getBigIntegerValue}
-     **/
-    BigInteger bigIntegerValue();
-    /**
-     * Sets this value as a {@link BigInteger}
-     * @deprecated replaced with {@link #setBigIntegerValue}
-     **/
-    void set(BigInteger bi);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlInteger}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlInteger} */
-        public static XmlInteger newInstance() {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlInteger} */
-        public static XmlInteger newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlInteger} value */
-        public static XmlInteger newValue(Object obj) {
-          return (XmlInteger) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlInteger parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlInteger parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a File. */
-        public static XmlInteger parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a File. */
-        public static XmlInteger parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a URL. */
-        public static XmlInteger parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlInteger} fragment from a URL. */
-        public static XmlInteger parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlInteger} fragment from an InputStream. */
-        public static XmlInteger parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from an InputStream. */
-        public static XmlInteger parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a Reader. */
-        public static XmlInteger parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a Reader. */
-        public static XmlInteger parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a DOM Node. */
-        public static XmlInteger parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from a DOM Node. */
-        public static XmlInteger parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from an XMLInputStream. */
-        public static XmlInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from an XMLInputStream. */
-        public static XmlInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlInteger} fragment from an XMLStreamReader. */
-        public static XmlInteger parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlInteger} fragment from an XMLStreamReader. */
-        public static XmlInteger parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLanguage.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlLanguage.java
deleted file mode 100644
index b5ce14a..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLanguage.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#language">xs:language</a> type.
- * <p>
- * This type is intended to represent an standard ISO language code string.
- * <p>
- * Convertible to a Java {@link String}.
- */ 
-public interface XmlLanguage extends XmlToken
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_language");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlLanguage}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlLanguage} */
-        public static XmlLanguage newInstance() {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlLanguage} */
-        public static XmlLanguage newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlLanguage} value */
-        public static XmlLanguage newValue(Object obj) {
-          return (XmlLanguage) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a String. For example: "<code>&lt;xml-fragment&gt;en-us&lt;/xml-fragment&gt;</code>". */
-        public static XmlLanguage parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a String. For example: "<code>&lt;xml-fragment&gt;en-us&lt;/xml-fragment&gt;</code>". */
-        public static XmlLanguage parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a File. */
-        public static XmlLanguage parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a File. */
-        public static XmlLanguage parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a URL. */
-        public static XmlLanguage parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlLanguage} fragment from a URL. */
-        public static XmlLanguage parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlLanguage} fragment from an InputStream. */
-        public static XmlLanguage parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from an InputStream. */
-        public static XmlLanguage parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a Reader. */
-        public static XmlLanguage parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a Reader. */
-        public static XmlLanguage parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a DOM Node. */
-        public static XmlLanguage parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from a DOM Node. */
-        public static XmlLanguage parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from an XMLInputStream. */
-        public static XmlLanguage parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from an XMLInputStream. */
-        public static XmlLanguage parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from an XMLStreamReader. */
-        public static XmlLanguage parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlLanguage} fragment from an XMLStreamReader. */
-        public static XmlLanguage parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlLanguage) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLineNumber.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlLineNumber.java
deleted file mode 100644
index fb22a4f..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLineNumber.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-/**
- * A subclass of XmlBookmark that holds line number information.
- * If a document is parsed with line numbers
- * enabled, these bookmarks will be placed at appropriate locations
- * within the document.
- * 
- * @see XmlOptions#setLoadLineNumbers 
- */
-public class XmlLineNumber extends XmlBookmark
-{
-    /**
-     * Constructs a line number with no column or offset information.
-     * @param line the line number - the first line is 1
-     */ 
-    public XmlLineNumber ( int line ) { this( line, -1, -1 ); }
-    
-    /**
-     * Constructs a line number and column with no file offset information.
-     * @param line the line number - the first line is 1
-     * @param line the column number - the first column is 1
-     */
-    public XmlLineNumber ( int line, int column ) { this( line, column, -1 ); }
-    
-    /**
-     * Constructs a line number and column with no file offset information.
-     * @param line the line number - the first line is 1
-     * @param line the column number - the first column is 1
-     * @param line the file character offset - the first character in the file is 0
-     */
-    public XmlLineNumber ( int line, int column, int offset )
-    {
-        super( false );
-        
-        _line = line;
-        _column = column;
-        _offset = offset;
-    }
-    
-    /**
-     * Returns the 1-based line number, or -1 if not known.
-     */ 
-    public int getLine   ( ) { return _line;   }
-    
-    /**
-     * Returns the 1-based column number, or -1 if not known.
-     */ 
-    public int getColumn ( ) { return _column; }
-    
-    /**
-     * Returns the 0-based file offset number, or -1 if not known.
-     */ 
-    public int getOffset ( ) { return _offset; }
-
-    private int _line, _column, _offset;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLong.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlLong.java
deleted file mode 100644
index 1c7ad0d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlLong.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#long">xs:long</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Naturally, convertible to a Java long.
- */ 
-public interface XmlLong extends XmlInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_long");
-    
-    /** Returns this value as a long */
-    long getLongValue();
-    /** Sets this value as a long */
-    void setLongValue(long v);
-
-    /**
-     * Returns this value as a long
-     * @deprecated replaced with {@link #getLongValue}
-     **/
-    long longValue();
-    /**
-     * Sets this value as a long
-     * @deprecated replaced with {@link #setLongValue}
-     **/
-    void set(long v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlLong}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlLong} */
-        public static XmlLong newInstance() {
-          return (XmlLong) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlLong} */
-        public static XmlLong newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlLong) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlLong} value */
-        public static XmlLong newValue(Object obj) {
-          return (XmlLong) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlLong} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>". */
-        public static XmlLong parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>". */
-        public static XmlLong parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from a File. */
-        public static XmlLong parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from a File. */
-        public static XmlLong parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from a URL. */
-        public static XmlLong parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlLong} fragment from a URL. */
-        public static XmlLong parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlLong} fragment from an InputStream. */
-        public static XmlLong parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from an InputStream. */
-        public static XmlLong parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from a Reader. */
-        public static XmlLong parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from a Reader. */
-        public static XmlLong parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from a DOM Node. */
-        public static XmlLong parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from a DOM Node. */
-        public static XmlLong parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from an XMLInputStream. */
-        public static XmlLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from an XMLInputStream. */
-        public static XmlLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlLong} fragment from an XMLStreamReader. */
-        public static XmlLong parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlLong} fragment from an XMLStreamReader. */
-        public static XmlLong parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlLong) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNCName.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNCName.java
deleted file mode 100644
index 0cffdfb..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNCName.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- * <p>
- * This kind of string is the same as the non-colonized strings that are used
- * for XML localnames and prefixes, "my-href.2".  It is just a physical
- * string, however, and it should NOT be confused with {@link XmlQName},
- * which is a logical combination of localname and namespace URI.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlNCName extends XmlName
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_NCName");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNCName}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNCName} */
-        public static XmlNCName newInstance() {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNCName} */
-        public static XmlNCName newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNCName} value */
-        public static XmlNCName newValue(Object obj) {
-          return (XmlNCName) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a String. For example: "<code>&lt;xml-fragment&gt;My-Name&lt;/xml-fragment&gt;</code>". */
-        public static XmlNCName parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a String. For example: "<code>&lt;xml-fragment&gt;My-Name&lt;/xml-fragment&gt;</code>". */
-        public static XmlNCName parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a File. */
-        public static XmlNCName parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a File. */
-        public static XmlNCName parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a URL. */
-        public static XmlNCName parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNCName} fragment from a URL. */
-        public static XmlNCName parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNCName} fragment from an InputStream. */
-        public static XmlNCName parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from an InputStream. */
-        public static XmlNCName parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a Reader. */
-        public static XmlNCName parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a Reader. */
-        public static XmlNCName parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a DOM Node. */
-        public static XmlNCName parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from a DOM Node. */
-        public static XmlNCName parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from an XMLInputStream. */
-        public static XmlNCName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from an XMLInputStream. */
-        public static XmlNCName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNCName} fragment from an XMLStreamReader. */
-        public static XmlNCName parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNCName} fragment from an XMLStreamReader. */
-        public static XmlNCName parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlNCName) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKEN.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKEN.java
deleted file mode 100644
index e677be5..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKEN.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- * <p>
- * An NMTOKEN is XML's closest concept to an "identifier"; for example,
- * it does not permit spaces and only limited punctuation.  So NMTOKEN is
- * commonly used to describe a single token or enumerated string value.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlNMTOKEN extends XmlToken
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_NMTOKEN");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNMTOKEN}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNMTOKEN} */
-        public static XmlNMTOKEN newInstance() {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNMTOKEN} */
-        public static XmlNMTOKEN newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNMTOKEN} value */
-        public static XmlNMTOKEN newValue(Object obj) {
-          return (XmlNMTOKEN) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.2&lt;/xml-fragment&gt;</code>". */
-        public static XmlNMTOKEN parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.2&lt;/xml-fragment&gt;</code>". */
-        public static XmlNMTOKEN parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a File. */
-        public static XmlNMTOKEN parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a File. */
-        public static XmlNMTOKEN parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a URL. */
-        public static XmlNMTOKEN parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNMTOKEN} fragment from a URL. */
-        public static XmlNMTOKEN parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNMTOKEN} fragment from an InputStream. */
-        public static XmlNMTOKEN parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from an InputStream. */
-        public static XmlNMTOKEN parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a Reader. */
-        public static XmlNMTOKEN parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a Reader. */
-        public static XmlNMTOKEN parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a DOM Node. */
-        public static XmlNMTOKEN parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from a DOM Node. */
-        public static XmlNMTOKEN parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from an XMLInputStream. */
-        public static XmlNMTOKEN parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from an XMLInputStream. */
-        public static XmlNMTOKEN parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from an XMLStreamReader. */
-        public static XmlNMTOKEN parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKEN} fragment from an XMLStreamReader. */
-        public static XmlNMTOKEN parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlNMTOKEN) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKENS.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKENS.java
deleted file mode 100644
index 75acf33..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNMTOKENS.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.List;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS">xs:NMTOKENS</a> type,
- * a list type.
- * <p>
- * Convertible to {@link List}.
- */ 
-public interface XmlNMTOKENS extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_NMTOKENS");
-    
-    /** Returns the value as a {@link List} of {@link String} values */
-    List getListValue();
-    /** Returns the value as a {@link List} of {@link XmlNMTOKEN} values */
-    List xgetListValue();
-    /** Sets the value as a {@link List} */
-    void setListValue(List l);
-
-    /**
-     * Returns the value as a {@link List} of {@link String} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List listValue();
-    /**
-     * Returns the value as a {@link List} of {@link XmlNMTOKEN} values
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    List xlistValue();
-    /**
-     * Sets the value as a {@link List}
-     * @deprecated replaced by {@link #getListValue}
-     **/
-    void set(List l);
-
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNMTOKENS}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNMTOKENS} */
-        public static XmlNMTOKENS newInstance() {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNMTOKENS} */
-        public static XmlNMTOKENS newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNMTOKENS} value */
-        public static XmlNMTOKENS newValue(Object obj) {
-          return (XmlNMTOKENS) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.1 sample-1.2 sample-1.3&lt;/xml-fragment&gt;</code>". */
-        public static XmlNMTOKENS parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.1 sample-1.2 sample-1.3&lt;/xml-fragment&gt;</code>". */
-        public static XmlNMTOKENS parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a File. */
-        public static XmlNMTOKENS parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a File. */
-        public static XmlNMTOKENS parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a URL. */
-        public static XmlNMTOKENS parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNMTOKENS} fragment from a URL. */
-        public static XmlNMTOKENS parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNMTOKENS} fragment from an InputStream. */
-        public static XmlNMTOKENS parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from an InputStream. */
-        public static XmlNMTOKENS parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a Reader. */
-        public static XmlNMTOKENS parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a Reader. */
-        public static XmlNMTOKENS parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a DOM Node. */
-        public static XmlNMTOKENS parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from a DOM Node. */
-        public static XmlNMTOKENS parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from an XMLInputStream. */
-        public static XmlNMTOKENS parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from an XMLInputStream. */
-        public static XmlNMTOKENS parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from an XMLStreamReader. */
-        public static XmlNMTOKENS parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNMTOKENS} fragment from an XMLStreamReader. */
-        public static XmlNMTOKENS parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlNMTOKENS) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNOTATION.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNOTATION.java
deleted file mode 100644
index 1b0796b..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNOTATION.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NOTATION">xs:NOTATION</a> type.
- * <p>
- * NOTATIONs are a mechanism in XML Schema that is provided
- * for partial backward compatibility with NOTATIONs in DTDs.  XML Schema
- * users should almost never have any reason to use this data type.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlNOTATION extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_NOTATION");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNOTATION}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNOTATION} */
-        public static XmlNOTATION newInstance() {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNOTATION} */
-        public static XmlNOTATION newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNOTATION} value */
-        public static XmlNOTATION newValue(Object obj) {
-          return (XmlNOTATION) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a String. */
-        public static XmlNOTATION parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a String. */
-        public static XmlNOTATION parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a File. */
-        public static XmlNOTATION parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a File. */
-        public static XmlNOTATION parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a URL. */
-        public static XmlNOTATION parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNOTATION} fragment from a URL. */
-        public static XmlNOTATION parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNOTATION} fragment from an InputStream. */
-        public static XmlNOTATION parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from an InputStream. */
-        public static XmlNOTATION parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a Reader. */
-        public static XmlNOTATION parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a Reader. */
-        public static XmlNOTATION parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a DOM Node. */
-        public static XmlNOTATION parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from a DOM Node. */
-        public static XmlNOTATION parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from an XMLInputStream. */
-        public static XmlNOTATION parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from an XMLInputStream. */
-        public static XmlNOTATION parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from an XMLStreamReader. */
-        public static XmlNOTATION parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNOTATION} fragment from an XMLStreamReader. */
-        public static XmlNOTATION parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlNOTATION) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlName.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlName.java
deleted file mode 100644
index 04d65a9..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlName.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- * <p>
- * This kind of string is the same as the lexical representation used for XML 1.0
- * element and attribute names, e.g., "pre:a-b.cdef".  It is just a physical
- * string, however, and it should NOT be confused with {@link XmlQName},
- * which is a logical combination of localname and namespace URI.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlName extends XmlToken
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_Name");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlName}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlName} */
-        public static XmlName newInstance() {
-          return (XmlName) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlName} */
-        public static XmlName newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlName) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlName} value */
-        public static XmlName newValue(Object obj) {
-          return (XmlName) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlName} fragment from a String. For example: "<code>&lt;xml-fragment&gt;My:Name&lt;/xml-fragment&gt;</code>". */
-        public static XmlName parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from a String. For example: "<code>&lt;xml-fragment&gt;My:Name&lt;/xml-fragment&gt;</code>". */
-        public static XmlName parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from a File. */
-        public static XmlName parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from a File. */
-        public static XmlName parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from a URL. */
-        public static XmlName parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlName} fragment from a URL. */
-        public static XmlName parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlName} fragment from an InputStream. */
-        public static XmlName parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from an InputStream. */
-        public static XmlName parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from a Reader. */
-        public static XmlName parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from a Reader. */
-        public static XmlName parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from a DOM Node. */
-        public static XmlName parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from a DOM Node. */
-        public static XmlName parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from an XMLInputStream. */
-        public static XmlName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from an XMLInputStream. */
-        public static XmlName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlName} fragment from an XMLStreamReader. */
-        public static XmlName parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlName} fragment from an XMLStreamReader. */
-        public static XmlName parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlName) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNegativeInteger.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNegativeInteger.java
deleted file mode 100644
index 15e03d7..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNegativeInteger.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#negativeInteger">xs:negativeInteger</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be negative when validating.
- * <p>
- * Convertible to {@link java.math.BigInteger}.
- */ 
-public interface XmlNegativeInteger extends XmlNonPositiveInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_negativeInteger");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNegativeInteger}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNegativeInteger} */
-        public static XmlNegativeInteger newInstance() {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNegativeInteger} */
-        public static XmlNegativeInteger newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNegativeInteger} value */
-        public static XmlNegativeInteger newValue(Object obj) {
-          return (XmlNegativeInteger) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNegativeInteger parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNegativeInteger parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a File. */
-        public static XmlNegativeInteger parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a File. */
-        public static XmlNegativeInteger parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a URL. */
-        public static XmlNegativeInteger parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNegativeInteger} fragment from a URL. */
-        public static XmlNegativeInteger parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNegativeInteger} fragment from an InputStream. */
-        public static XmlNegativeInteger parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from an InputStream. */
-        public static XmlNegativeInteger parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a Reader. */
-        public static XmlNegativeInteger parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a Reader. */
-        public static XmlNegativeInteger parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a DOM Node. */
-        public static XmlNegativeInteger parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from a DOM Node. */
-        public static XmlNegativeInteger parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from an XMLInputStream. */
-        public static XmlNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from an XMLInputStream. */
-        public static XmlNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from an XMLStreamReader. */
-        public static XmlNegativeInteger parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNegativeInteger} fragment from an XMLStreamReader. */
-        public static XmlNegativeInteger parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlNegativeInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonNegativeInteger.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonNegativeInteger.java
deleted file mode 100644
index fab8a28..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonNegativeInteger.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">xs:nonNegativeInteger</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be zero or positive when validating.
- * <p>
- * Convertible to {@link java.math.BigInteger}.
- */ 
-public interface XmlNonNegativeInteger extends XmlInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_nonNegativeInteger");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNonNegativeInteger}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNonNegativeInteger} */
-        public static XmlNonNegativeInteger newInstance() {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNonNegativeInteger} */
-        public static XmlNonNegativeInteger newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNonNegativeInteger} value */
-        public static XmlNonNegativeInteger newValue(Object obj) {
-          return (XmlNonNegativeInteger) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNonNegativeInteger parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNonNegativeInteger parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a File. */
-        public static XmlNonNegativeInteger parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a File. */
-        public static XmlNonNegativeInteger parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a URL. */
-        public static XmlNonNegativeInteger parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a URL. */
-        public static XmlNonNegativeInteger parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an InputStream. */
-        public static XmlNonNegativeInteger parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an InputStream. */
-        public static XmlNonNegativeInteger parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a Reader. */
-        public static XmlNonNegativeInteger parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a Reader. */
-        public static XmlNonNegativeInteger parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a DOM Node. */
-        public static XmlNonNegativeInteger parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from a DOM Node. */
-        public static XmlNonNegativeInteger parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an XMLInputStream. */
-        public static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an XMLInputStream. */
-        public static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an XMLStreamReader. */
-        public static XmlNonNegativeInteger parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNonNegativeInteger} fragment from an XMLStreamReader. */
-        public static XmlNonNegativeInteger parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonNegativeInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonPositiveInteger.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonPositiveInteger.java
deleted file mode 100644
index 080ecc4..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNonPositiveInteger.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">xs:nonPositiveInteger</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be zero or negative when validating.
- * <p>
- * Convertible to {@link java.math.BigInteger}.
- */ 
-public interface XmlNonPositiveInteger extends XmlInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_nonPositiveInteger");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNonPositiveInteger}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNonPositiveInteger} */
-        public static XmlNonPositiveInteger newInstance() {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNonPositiveInteger} */
-        public static XmlNonPositiveInteger newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNonPositiveInteger} value */
-        public static XmlNonPositiveInteger newValue(Object obj) {
-          return (XmlNonPositiveInteger) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNonPositiveInteger parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlNonPositiveInteger parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a File. */
-        public static XmlNonPositiveInteger parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a File. */
-        public static XmlNonPositiveInteger parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a URL. */
-        public static XmlNonPositiveInteger parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a URL. */
-        public static XmlNonPositiveInteger parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an InputStream. */
-        public static XmlNonPositiveInteger parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an InputStream. */
-        public static XmlNonPositiveInteger parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a Reader. */
-        public static XmlNonPositiveInteger parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a Reader. */
-        public static XmlNonPositiveInteger parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a DOM Node. */
-        public static XmlNonPositiveInteger parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from a DOM Node. */
-        public static XmlNonPositiveInteger parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an XMLInputStream. */
-        public static XmlNonPositiveInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an XMLInputStream. */
-        public static XmlNonPositiveInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an XMLStreamReader. */
-        public static XmlNonPositiveInteger parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNonPositiveInteger} fragment from an  XMLStreamReader. */
-        public static XmlNonPositiveInteger parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNonPositiveInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNormalizedString.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlNormalizedString.java
deleted file mode 100644
index 2224ab4..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlNormalizedString.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- * <p>
- * An normalizedString simply is a string where all the carriage return,
- * linefeed, and tab characters have been normalized (switched to) ordinary
- * space characters.  Use normalizedString for long strings to make them
- * insensitive to line breaking.  If you wish to often be insensitive to
- * runs of whitespace (as is often the case), use
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a>
- * (aka {@link XmlToken}) instead.
- * <p>
- * Convertible to {@link String}.  When obtaining the stringValue, the
- * whitespace-normalized value is returned.
- */ 
-public interface XmlNormalizedString extends XmlString
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_normalizedString");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlNormalizedString}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlNormalizedString} */
-        public static XmlNormalizedString newInstance() {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlNormalizedString} */
-        public static XmlNormalizedString newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlNormalizedString} value */
-        public static XmlNormalizedString newValue(Object obj) {
-          return (XmlNormalizedString) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a String. For example: "<code>&lt;xml-fragment&gt; string to normalize &lt;/xml-fragment&gt;</code>". */
-        public static XmlNormalizedString parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a String. For example: "<code>&lt;xml-fragment&gt; string to normalize &lt;/xml-fragment&gt;</code>". */
-        public static XmlNormalizedString parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a File. */
-        public static XmlNormalizedString parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a File. */
-        public static XmlNormalizedString parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a URL. */
-        public static XmlNormalizedString parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlNormalizedString} fragment from a URL. */
-        public static XmlNormalizedString parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlNormalizedString} fragment from an InputStream. */
-        public static XmlNormalizedString parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from an InputStream. */
-        public static XmlNormalizedString parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a Reader. */
-        public static XmlNormalizedString parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a Reader. */
-        public static XmlNormalizedString parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a DOM Node. */
-        public static XmlNormalizedString parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from a DOM Node. */
-        public static XmlNormalizedString parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from an XMLInputStream. */
-        public static XmlNormalizedString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from an XMLInputStream. */
-        public static XmlNormalizedString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from an XMLStreamReader. */
-        public static XmlNormalizedString parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlNormalizedString} fragment from an XMLStreamReader. */
-        public static XmlNormalizedString parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlObject.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlObject.java
deleted file mode 100644
index 4038f0d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlObject.java
+++ /dev/null
@@ -1,784 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Node;
-
-import java.io.InputStream;
-import java.io.File;
-import java.io.Reader;
-import java.io.IOException;
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#key-urType">xs:anyType</a>,
- * the base type for all XML Beans.
- * <p>
- * Since all XML Schema types are translated into corresponding XML Bean
- * classes, and all Schema type derivation corresponds to Java class
- * inheritance, the fact that all Schema types derive from xs:anyType means
- * that all XML Bean classes derive from XmlObject.
- * <p>
- * On this base class you will find a number of common facilities that
- * all XML Bean classes provide:
- * <p>
- * <ul>
- * <li>Every XML Bean class has an inner Factory class for creating and parsing
- *     instances, including XmlObject. Use {@link XmlObject.Factory} itself
- *     to produce untyped XML trees or XML trees that implement specific
- *     subtypes of XmlObject depending on a recognized root document element.
- *     If you depend on the automatic type inference, you will want to understand
- *     the type inference issues described below.
- * <li>To write out an accurate XML file for the XML tree under this
- *     XmlObject, use one of the {@link #save} methods,
- *     or {@link #newInputStream} or {@link #newReader}.
- *     Use {@link #toString} to produce a pretty-printed representation of the
- *     XML subtree under this XML Object.  If you save interior portions of
- *     an XML document, you will want to understand the inner contents
- *     versus outer container issues described below.
- * <li>It is also simple to copy an XmlObject instance to or from a standard
- *     DOM tree or SAX stream.  Use {@link XmlObject.Factory#parse(Node)},
- *     for example, to load from DOM; use {@link XmlObject.Factory#newXmlSaxHandler}
- *     to load from SAX; use {@link #newDomNode()} to save to DOM; and use 
- *     {@link #save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)}
- *     to save to SAX.
- * <li>Use {@link #validate} to validate the subtree of XML under this
- *     XML Object.  If you wish to get information about the location
- *     and reason for validation errors, see {@link XmlOptions#setErrorListener},
- *     and use {@link #validate(XmlOptions)}.
- * <li>Use {@link #newCursor} to access the full XML infoset, for example,
- *     if you need to determine interleaved element order or manipulate
- *     annotations, comments, or mixed content.  See {@link XmlCursor}.
- * <li>Use {@link #selectPath} to find other XmlObjects in the subtree underneath
- *     this XmlObject using relative XPaths.  (In selectPath, "." indicates
- *     the current element or attribute.)
- * </ul>
- * <p>
- * Type inference.  When using {@link XmlObject.Factory} to parse XML documents,
- * the actual document type is not {@link XmlObject#type} itself, but a subtype
- * based on the contents of the parsed document.  If the parsed document
- * contains a recognized root document element, then the actual type of the
- * loaded instance will be the matching Document type.  For example:
- * <pre>
- * XmlObject xobj = XmlObject.Factory.parse(myDocument);
- * if (xobj instanceof MyOrderDocument) // starts w/ &lt;my-order&gt;
- * {
- *     MyOrderDocument mydoc = (MyOrderDocument)xobj;
- *     if (!xobj.validate())
- *         System.out.println("Not a valid my-order document");
- * }
- * else
- * {
- *     System.out.println("Not a my-order document");
- * }
- * </pre>
- * Every XML Bean class has its own inner Factory class,
- * so if you actually know exactly which XML Bean document type
- * you want to load as in the example above, you should use the
- * the specific XML Bean Factory class instead. For example:
- * <pre>
- * MyOrderDocument mydoc = MyOrderDocument.Factory.parse(myDocument);
- * </pre>
- * The code above will throw an exception if the parsed document
- * does not begin with the proper (my-order) element.
- * <p>
- * Inner versus outer.  An XmlObject represents the
- * <em>contents</em> of an element or attribute, <em>not</em> the element
- * or attribute itself.  So when you validate or save an XmlObject, you
- * are validating or saving its contents, not its container.  For example,
- * if the XmlObject represents the contents of an element which happens
- * to itself be in the wrong order relative to its siblings, validate will
- * not complain about the misplacement of the element itself.  On the other hand, if
- * elements <em>within</em> the XmlObject are in the wrong order, validate
- * will complain.  Similarly, when saving the contents of an interior
- * XmlObject, it is the contents of an element, not the element itself,
- * which is saved by default.
- * <p>
- * Reading and writing fragments. When reading or writing the contents of a
- * whole XML document, the standard XML reprentation for a document is used.
- * However, there is no standard concrete XML representation for "just the
- * contents" of an interior element or attribute. So when one is needed,
- * the tag &lt;xml-fragment&gt; is used to wrap the contents.  This tag is used
- * can also be used to load just the contents for an XmlObject document fragment
- * of arbitrary type. If you wish to save out the XmlObject's container element
- * along with its contents, use {@link XmlOptions#setSaveOuter}.
- * <p>
- * Implementing XmlObject.  The XMLBeans library does not support arbitrary
- * implementations of XmlObject - in almost all cases, you should only use
- * the implementations of XmlObject provided by the XMLBeans compiler itself.
- * If you need to implement XmlObject yourself, you should subclass
- * FilterXmlObject in order to delegate to another underlying XmlObject
- * implementation. This technique will allow you to use your code unchanged
- * with future versions of XMLBeans that add additional methods on XmlObject. 
- */ 
-public interface XmlObject extends XmlTokenSource
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_anyType");
-
-    /**
-     * The schema type for this instance. This is a permanent,
-     * unchanging property of the instance.
-     */
-    SchemaType schemaType();
-
-    /**
-     * Returns true if the contents of this object are valid
-     * accoring to schemaType().
-     * <p>
-     * Does a deep validation of the entire subtree under the
-     * object, but does not validate the parents or siblings
-     * of the object if the object is in the interior of an xml
-     * tree.
-     */
-    boolean validate();
-    
-    /**
-     * <p>Just like validate(), but with options.</p>
-     * <p>If you wish to collect error messages and locations while validating,
-     * use the {@link XmlOptions#setErrorListener} method. With that method,
-     * you can specify an object in which to store messages related to validation.
-     * The following is a simple example.</p>
-     * 
-     * <pre>
-     * // Create an XmlOptions instance and set the error listener.
-     * XmlOptions validateOptions = new XmlOptions();
-     * ArrayList errorList = new ArrayList();
-     * validateOptions.setErrorListener(errorList);
-     * 
-     * // Validate the XML.
-     * boolean isValid = newEmp.validate(validateOptions);
-     * 
-     * // If the XML isn't valid, loop through the listener's contents,
-     * // printing contained messages.
-     * if (!isValid)
-     * {
-     *      for (int i = 0; i < errorList.size(); i++)
-     *      {
-     *          XmlError error = (XmlError)errorList.get(i);
-     *          
-     *          System.out.println("\n");
-     *          System.out.println("Message: " + error.getMessage() + "\n");
-     *          System.out.println("Location of invalid XML: " + 
-     *              error.getCursorLocation().xmlText() + "\n");
-     *      }
-     * }
-     * </pre>
-     *
-     * @param options An object that implements the {@link java.util.Collection
-     * Collection} interface.
-     */
-    boolean validate(XmlOptions options);
-
-    /**
-     * Selects a path.  Path can be a string or precompiled path String.
-     * <p>
-     * The path must be a relative path, where "." represents the
-     * element or attribute containg this XmlObject, and it must select
-     * only other elements or attributes.  If a non-element or non-attribute
-     * is selected, an unchecked exception is thrown.
-     * <p>
-     * The array that is returned contains all the selected
-     * XmlObjects, within the same document, listed in document
-     * order.  The actual array type of the result is inferred
-     * from the closest common base type of selected results.
-     * <p>
-     * Here is an example of usage.  Suppose we have a global
-     * element definition for "owner" whose type is "person":
-     * <pre>
-     *   &lt;schema targetNamespace="http://openuri.org/sample">
-     *      &lt;element name="owner" type="person"/>
-     *      &lt;complexType name="person">
-     *         [...]
-     *      &lt;/complexType>
-     *   &lt;/schema>
-     * </pre>
-     * and suppose "owner" tags can be scattered throughout the
-     * document.  Then we can write the following code to find
-     * them all:
-     * <pre>
-     * import org.openuri.sample.Person;
-     * import org.apache.xmlbeans.*;
-     * [...]
-     *   XmlObject xobj = XmlObject.Factory.parse(myFile);
-     *   Person[] results;
-     *   results = (Person[])xobj.selectPath(
-     *      "declare namespace s='http://www.openuri.org/sample' " +
-     *      ".//s:owner");
-     * </pre>
-     * Notice the way in which namespace declarations are done in XPath 2.0.
-     * Since XPath can only navigate within an XML document - it cannot
-     * construct new XML - the resulting XmlObjects all reside in
-     * the same XML document as this XmlObject itself.
-     */
-    XmlObject[] selectPath ( String path );
-
-    /**
-     * Selects a path, applying options.
-     * 
-     * @see #selectPath(String)
-     */
-    XmlObject[] selectPath ( String path, XmlOptions options );
-    
-
-    /**
-     * Executes a query.  Query can be a string or precompiled query String.
-     * <p>
-     * An XQuery is very similar to an XPath, except that it also permits
-     * construction of new XML.  As a result, the XmlObjects that are
-     * returned from execQuery are in newly created documents, separate
-     * from the XmlObject on which the query is executed.
-     * <p>
-     * Syntax and usage is otherwise similar to selectPath.
-     * <p>
-     * @see #selectPath(String)
-     */
-    XmlObject[] execQuery ( String query );
-
-    /**
-     * Executes a query with options.
-     * 
-     * Use the <em>options</em> parameter to specify the following:</p>
-     * 
-     * <table>
-     * <tr><th>To specify this</th><th>Use this method</th></tr>
-     * <tr>
-     *  <td>The document type for the root element.</td>
-     *  <td>{@link XmlOptions#setDocumentType}</td>
-     * </tr>
-     * <tr>
-     *  <td>To replace the document element with the specified QName when constructing the
-     *  resulting document.</td>
-     *  <td>{@link XmlOptions#setLoadReplaceDocumentElement}</td>
-     * </tr>
-     * <tr>
-     *  <td>To strip all insignificant whitespace when constructing a document.</td>
-     *  <td>{@link XmlOptions#setLoadStripWhitespace}</td>
-     * </tr>
-     * <tr>
-     *  <td>To strip all comments when constructing a document.</td>
-     *  <td>{@link XmlOptions#setLoadStripComments}</td>
-     * </tr>
-     * <tr>
-     *  <td>To strip all processing instructions when constructing a document.</td>
-     *  <td>{@link XmlOptions#setLoadStripProcinsts}</td>
-     * </tr>
-     * <tr>
-     *  <td>A map of namespace URI substitutions to use when constructing a document.</td>
-     *  <td>{@link XmlOptions#setLoadSubstituteNamespaces}</td>
-     * </tr>
-     * <tr>
-     *  <td>Additional namespace mappings to be added when constructing a document.</td>
-     *  <td>{@link XmlOptions#setLoadAdditionalNamespaces}</td>
-     * </tr>
-     * <tr>
-     *  <td>To trim the underlying XML text buffer immediately after constructing 
-     *  a document, resulting in a smaller memory footprint.</td>
-     *  <td>{@link XmlOptions#setLoadTrimTextBuffer}</td>
-     * </tr>
-     * <tr>
-     *  <td>Whether value facets should be checked as they are set.</td>
-     *  <td>{@link XmlOptions#setValidateOnSet}</td>
-     * </tr>
-     * </table> 
-     * 
-     * @param query The XQuery expression.
-     * @param options Options as described.
-     * 
-     * @see #execQuery(String)
-     */
-    XmlObject[] execQuery ( String query, XmlOptions options );
-    
-
-    /**
-     * Changes the schema type associated with this data and
-     * returns a new XmlObject instance whose schemaType is the
-     * new type.
-     * <p>
-     * Returns null if the type change is not allowed. Certain
-     * type changes may be prohibited on the interior of an xml
-     * tree due to schema type system constraints (that is, due
-     * to a parent container within which the newly specified
-     * type is not permissible), but there are no constraints
-     * at the roottype changes are never
-     * prohibited at the root of an xml tree.
-     * <p>
-     * If the type change is allowed, then the new XmlObject should
-     * be used rather than the old one. The old XmlObject instance and
-     * any other XmlObject instances in the subtree are permanently
-     * invalidated and should not be used. (They will return
-     * InvalidStateException if you try to use them.)
-     *
-     * If a type change is done on the interior of an Xml
-     * tree, then xsi:type attributes are updated as needed.
-     */
-    XmlObject changeType(SchemaType newType);
-
-
-    /**
-     * True if the value is nil. Note that in order to be nil,
-     * the value must be in an element, and the element containing
-     * the value must be marked as nillable in the schema.
-     */
-    boolean isNil();
-
-    /**
-     * Sets the value to nil. The element containing the value must
-     * be marked as nillable in the schema.
-     */
-    void setNil();
-
-
-    /**
-     * Returns an XML string for this XML object.
-     * <p>
-     * The string is pretty-printed.  If you want a non-pretty-printed
-     * string, or if you want to control options precisely, use the
-     * xmlText() methods.
-     * <p>
-     * Note that when producing XML any object other than very root of the
-     * document, then you are guaranteed to be looking at only a fragment
-     * of XML, i.e., just the contents of an element or attribute, and
-     * and we will produce a string that starts with an <code>&lt;xml-fragment&gt;</code> tag.
-     * The XmlOptions.setSaveOuter() option on xmlText can be used to produce
-     * the actual element name above the object if you wish.
-     */
-    String toString();
-
-    /**
-     * True if the value is an immutable value. Immutable values do not
-     * have a position in a tree; rather, they are stand-alone simple type
-     * values. If the object is immutable, the equals() methods tests for
-     * value equality, and the object can be used as the key for a hash.
-     */
-    boolean isImmutable();
-
-    /**
-     * Set the value/type of this XmlObject to be a copy of the source
-     * XmlObject.  Because the type of the source may be different than this
-     * target, this XmlObject may become defunct.  In this case the new
-     * XmlObject is returned.  If no type change happens, the same this will be
-     * returned.
-     */
-    XmlObject set(XmlObject srcObj);
-    
-    /**
-     * Returns a deep copy of this XmlObject.  The returned object has the
-     * same type as the current object, and has all the content of
-     * the XML document underneath the current object.  Note that
-     * any parts of the XML document above or outside this XmlObject are
-     * not copied.
-     */
-    XmlObject copy();
-
-    /**
-     * True if the xml values are equal. Two different objects
-     * (which are distinguished by equals(obj) == false) may of
-     * course have equal values (valueEquals(obj) == true).
-     * <p>
-     * Usually this method can be treated as an ordinary equvalence
-     * relation, but actually it is not is not transitive.
-     * Here is a precise specification:
-     * <p>
-     * There are two categories of XML object: objects with a known
-     * instance type, and objects whose only known type is one of the
-     * ur-types (either AnyType or AnySimpleType). The first category
-     * is compared in terms of logical value spaces, and the second
-     * category is compared lexically.
-     * <p>
-     * Within each of these two categories, valueEquals is a well-behaved
-     * equivalence relation. However, when comparing an object of known
-     * type with an object with ur-type, the comparison is done by attempting
-     * to convert the lexical form of the ur-typed object into the other
-     * type, and then comparing the results. Ur-typed objects are therefore
-     * treated as lexical wildcards and may be equal to objects in different
-     * value spaces, even though the objects in different value spaces are
-     * not equal to each other.
-     * <p>
-     * For example, the anySimpleType value "1" will compare as an
-     * equalValue to the string "1", the float value "1.0", the double
-     * value "1.0", the decimal "1", and the GYear "1", even though
-     * all these objects will compare unequal to each other since they
-     * lie in different value spaces.
-     */
-    boolean valueEquals(XmlObject obj);
-
-    int valueHashCode();
-
-    /**
-     * Impelements the Comparable interface by comparing two simple
-     * xml values based on their standard XML schema ordering.
-     * Throws a ClassCastException if no standard ordering applies,
-     * or if the two values are incomparable within a partial order.
-     */
-    int compareTo(Object obj);
-
-    /**
-     * This comparison method is similar to compareTo, but rather
-     * than throwing a ClassCastException when two values are incomparable,
-     * it returns the number 2. The result codes are -1 if this object
-     * is less than obj, 1 if this object is greater than obj, zero if
-     * the objects are equal, and 2 if the objects are incomparable.
-     */
-    int compareValue(XmlObject obj);
-    
-    /** LESS_THAN is -1. See {@link #compareValue}. */
-    static final int LESS_THAN = -1;
-    /** EQUAL is 0. See {@link #compareValue}. */
-    static final int EQUAL = 0;
-    /** GREATER_THAN is 1. See {@link #compareValue}. */
-    static final int GREATER_THAN = 1;
-    /** NOT_EQUAL is 2. See {@link #compareValue}. */
-    static final int NOT_EQUAL = 2;
-
-    /**
-     * Selects the contents of the children elements with the given name.
-     * @param elementName The name of the elements to be selected.
-     * @return Returns the contents of the selected elements.
-     */
-    XmlObject[] selectChildren(QName elementName);
-
-    /**
-     * Selects the contents of the children elements with the given name.
-     * @param elementUri The URI of the elements to be selected.
-     * @param elementLocalName The local name of the elements to be selected.
-     * @return Returns the contents of the selected elements.
-     */
-    XmlObject[] selectChildren(String elementUri, String elementLocalName);
-
-    /**
-     * Selects the contents of the children elements that are contained in the elementNameSet.
-     * @param elementNameSet Set of element names to be selected.
-     * @return Returns the contents of the selected elements.
-     * @see SchemaType#qnameSetForWildcardElements()
-     * @see QNameSetBuilder for creating sets of qnames
-     */
-    XmlObject[] selectChildren(QNameSet elementNameSet);
-
-    /**
-     * Selects the content of the attribute with the given name.
-     * @param attributeName The name of the attribute to be selected.
-     * @return Returns the contents of the selected attribute.
-     */
-    XmlObject selectAttribute(QName attributeName);
-
-    /**
-     * Selects the content of the attribute with the given name.
-     * @param attributeUri The URI of the attribute to be selected.
-     * @param attributeLocalName The local name of the attribute to be selected.
-     * @return Returns the content of the selected attribute.
-     */
-    XmlObject selectAttribute(String attributeUri, String attributeLocalName);
-
-    /**
-     * Selects the contents of the attributes that are contained in the elementNameSet.
-     * @param attributeNameSet Set of attribute names to be selected.
-     * @return Returns the contents of the selected attributes.
-     * @see SchemaType#qnameSetForWildcardAttributes()
-     * @see QNameSetBuilder for creating sets of qnames
-     */
-    XmlObject[] selectAttributes(QNameSet attributeNameSet);
-
-    /**
-     * Static factory class for creating new instances.  Note that if
-     * a type can be inferred from the XML being loaded (for example,
-     * by recognizing the document element QName), then the instance
-     * returned by a factory will have the inferred type.  Otherwise
-     * the Factory will returned an untyped document.
-     */
-    public static final class Factory
-    {
-        /**
-         * Creates a new, completely empty instance.
-         */ 
-        public static XmlObject newInstance ( ) {
-          return XmlBeans.getContextTypeLoader().newInstance( null, null ); }
-        
-        /**
-         * <p>Creates a new, completely empty instance, specifying options
-         * for the root element's document type and/or whether to validate
-         * value facets as they are set.</p>
-         * 
-         * Use the <em>options</em> parameter to specify the following:</p>
-         * 
-         * <table>
-         * <tr><th>To specify this</th><th>Use this method</th></tr>
-         * <tr>
-         *  <td>The document type for the root element.</td>
-         *  <td>{@link XmlOptions#setDocumentType}</td>
-         * </tr>
-         * <tr>
-         *  <td>Whether value facets should be checked as they are set.</td>
-         *  <td>{@link XmlOptions#setValidateOnSet}</td>
-         * </tr>
-         * </table> 
-         * 
-         * @param options Options specifying root document type and/or value facet 
-         * checking.
-         * @return A new, empty instance of XmlObject.</li>
-         */ 
-        public static XmlObject newInstance ( XmlOptions options ) {
-          return XmlBeans.getContextTypeLoader().newInstance( null, options ); }
-        
-        /**
-         * Creates a new immutable value.
-         */ 
-        /** Creates an immutable {@link XmlObject} value */
-        public static XmlObject newValue ( Object obj ) {
-          return type.newValue( obj ); }
-        
-        /**
-         * Parses the given {@link String} as XML.
-         */ 
-        public static XmlObject parse ( String s ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( s, null, null ); }
-        
-        /**
-         * Parses the given {@link String} as XML.
-         * 
-         * Use the <em>options</em> parameter to specify the following:</p>
-         * 
-         * <table>
-         * <tr><th>To specify this</th><th>Use this method</th></tr>
-         * <tr>
-         *  <td>The document type for the root element.</td>
-         *  <td>{@link XmlOptions#setDocumentType}</td>
-         * </tr>
-         * <tr>
-         *  <td>To place line number annotations in the store when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadLineNumbers}</td>
-         * </tr>
-         * <tr>
-         *  <td>To replace the document element with the specified QName when parsing.</td>
-         *  <td>{@link XmlOptions#setLoadReplaceDocumentElement}</td>
-         * </tr>
-         * <tr>
-         *  <td>To strip all insignificant whitespace when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripWhitespace}</td>
-         * </tr>
-         * <tr>
-         *  <td>To strip all comments when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripComments}</td>
-         * </tr>
-         * <tr>
-         *  <td>To strip all processing instructions when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripProcinsts}</td>
-         * </tr>
-         * <tr>
-         *  <td>A map of namespace URI substitutions to use when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadSubstituteNamespaces}</td>
-         * </tr>
-         * <tr>
-         *  <td>Additional namespace mappings to be added when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadAdditionalNamespaces}</td>
-         * </tr>
-         * <tr>
-         *  <td>To trim the underlying XML text buffer immediately after parsing 
-         *  a document, resulting in a smaller memory footprint.</td>
-         *  <td>{@link XmlOptions#setLoadTrimTextBuffer}</td>
-         * </tr>
-         * </table> 
-         * 
-         * @param s The string to parse.
-         * @param options Options as specified.
-         * @return A new instance containing the specified XML.
-         */ 
-        public static XmlObject parse ( String s, XmlOptions options ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( s, null, options ); }
-        
-        /**
-         * Parses the given {@link File} as XML.
-         */ 
-        public static XmlObject parse ( File f ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( f, null, null ); }
-
-        /**
-         * Parses the given {@link File} as XML.
-         */ 
-        public static XmlObject parse ( File f, XmlOptions options ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( f, null, options ); }
-        
-        /**
-         * Downloads the given {@link java.net.URL} as XML.
-         */ 
-        public static XmlObject parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return XmlBeans.getContextTypeLoader().parse( u, null, null ); }
-
-        /**
-         * Downloads the given {@link java.net.URL} as XML.
-         */ 
-        public static XmlObject parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return XmlBeans.getContextTypeLoader().parse( u, null, options ); }
-
-        /**
-         * Decodes and parses the given {@link InputStream} as XML.
-         */ 
-        public static XmlObject parse ( InputStream is ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( is, null, null ); }
-        
-        /**
-         * Decodes and parses the given {@link XMLStreamReader} as XML.
-         */ 
-        public static XmlObject parse ( XMLStreamReader xsr ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( xsr, null, null ); }
-        
-        /**
-         * Decodes and parses the given {@link InputStream} as XML.
-         * 
-         * Use the <em>options</em> parameter to specify the following:</p>
-         * 
-         * <table>
-         * <tr><th>To specify this</th><th>Use this method</th></tr>
-         * <tr>
-         *  <td>The character encoding to use when parsing or writing a document.</td>
-         *  <td>{@link XmlOptions#setCharacterEncoding}</td>
-         * </tr>
-         * <tr>
-         *  <td>The document type for the root element.</td>
-         *  <td>{@link XmlOptions#setDocumentType}</td>
-         * </tr>
-         * <tr>
-         *  <td>Place line number annotations in the store when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadLineNumbers}</td>
-         * </tr>
-         * <tr>
-         *  <td>Replace the document element with the specified QName when parsing.</td>
-         *  <td>{@link XmlOptions#setLoadReplaceDocumentElement}</td>
-         * </tr>
-         * <tr>
-         *  <td>Strip all insignificant whitespace when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripWhitespace}</td>
-         * </tr>
-         * <tr>
-         *  <td>Strip all comments when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripComments}</td>
-         * </tr>
-         * <tr>
-         *  <td>Strip all processing instructions when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadStripProcinsts}</td>
-         * </tr>
-         * <tr>
-         *  <td>Set a map of namespace URI substitutions to use when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadSubstituteNamespaces}</td>
-         * </tr>
-         * <tr>
-         *  <td>Set additional namespace mappings to be added when parsing a document.</td>
-         *  <td>{@link XmlOptions#setLoadAdditionalNamespaces}</td>
-         * </tr>
-         * <tr>
-         *  <td>Trim the underlying XML text buffer immediately after parsing 
-         *  a document, resulting in a smaller memory footprint.</td>
-         *  <td>{@link XmlOptions#setLoadTrimTextBuffer}</td>
-         * </tr>
-         * </table> 
-         */ 
-        public static XmlObject parse ( InputStream is, XmlOptions options ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( is, null, options ); }
-        
-        /**
-         * Parses the given {@link XMLStreamReader} as XML.
-         */ 
-        public static XmlObject parse ( XMLStreamReader xsr, XmlOptions options ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( xsr, null, options ); }
-        
-        /**
-         * Parses the given {@link Reader} as XML.
-         */ 
-        public static XmlObject parse ( Reader r ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( r, null, null ); }
-        
-        /**
-         * Parses the given {@link Reader} as XML.
-         */ 
-        public static XmlObject parse ( Reader r, XmlOptions options ) throws XmlException, IOException {
-          return XmlBeans.getContextTypeLoader().parse( r, null, options ); }
-        
-        /**
-         * Converts the given DOM {@link Node} into an XmlObject.
-         */ 
-        public static XmlObject parse ( Node node ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( node, null, null ); }
-        
-        /**
-         * Converts the given DOM {@link Node} into an XmlObject.
-         */ 
-        public static XmlObject parse ( Node node, XmlOptions options ) throws XmlException {
-          return XmlBeans.getContextTypeLoader().parse( node, null, options ); }
-        
-        /**
-         * Loads the given {@link XMLInputStream} into an XmlObject.
-         */ 
-        public static XmlObject parse ( XMLInputStream xis ) throws XmlException, XMLStreamException {
-          return XmlBeans.getContextTypeLoader().parse( xis, null, null ); }
-        
-        /**
-         * Loads the given {@link XMLInputStream} into an XmlObject.
-         */ 
-        public static XmlObject parse ( XMLInputStream xis, XmlOptions options ) throws XmlException, XMLStreamException {
-          return XmlBeans.getContextTypeLoader().parse( xis, null, options ); }
-
-        /**
-         * Returns an {@link XmlSaxHandler} that can load an XmlObject from SAX events.
-         */ 
-        public static XmlSaxHandler newXmlSaxHandler ( ) {
-          return XmlBeans.getContextTypeLoader().newXmlSaxHandler( null, null ); }
-            
-        /**
-         * Returns an {@link XmlSaxHandler} that can load an XmlObject from SAX events.
-         */ 
-        public static XmlSaxHandler newXmlSaxHandler ( XmlOptions options ) {
-          return XmlBeans.getContextTypeLoader().newXmlSaxHandler( null, options ); }
-            
-        /**
-         * Returns a new validating {@link XMLInputStream} that throws exceptions when the input is not valid.
-         */ 
-        public static XMLInputStream newValidatingXMLInputStream ( XMLInputStream xis ) throws XmlException, XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, null, null ); }
-        
-        /**
-         * Returns a new validating {@link XMLInputStream} that throws exceptions 
-         * when the input is not valid, specifying options
-         * for the root element's document type and/or the collection object to use
-         * as an error listener while validating.</p>
-         * 
-         * <p>Use the <em>options</em> parameter to specify the following:</p>
-         * 
-         * <ul>
-         * <li>A collection instance that should be used as an error listener during
-         * compilation, as described in {@link XmlOptions#setErrorListener}.</li>
-         * <li>The document type for the root element, as described in 
-         * {@link XmlOptions#setDocumentType(SchemaType)}.</li>
-         * </ul>
-         * 
-         * @param xis The basis for the new XMLInputStream.
-         * @param options Options specifying root document type and/or an error listener.
-         * @return A new validating XMLInputStream.
-         */ 
-        public static XMLInputStream newValidatingXMLInputStream ( XMLInputStream xis, XmlOptions options ) throws XmlException, XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, null, options ); }
-        
-        /**
-         * Instances cannot be created.
-         */ 
-        private Factory() { }
-    }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java
deleted file mode 100644
index 0608a63..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlOptions.java
+++ /dev/null
@@ -1,730 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.xml.sax.EntityResolver;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Set;
-import javax.xml.namespace.QName;
-
-/**
- * Used to supply options for loading, saving, and compiling, and validating.
- * <p>
- * There are two styles for using XmlOptions: multiline setup, and single-line use.
- * Here are two examples.  First, multiline style:
- * <pre>
- * XmlOptions opts = new XmlOptions();
- * opts.setSavePrettyPrint();
- * opts.setSavePrettyPrintIndent(4);
- * System.out.println(xobj.xmlText(opts));
- * </pre>
- * 
- * The alternative is single-line usage:
- * <pre>
- * System.out.println(xobj.xmlText(
- *     new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(4)));
- * </pre>
- */
-public class XmlOptions implements java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-    private Map _map = new HashMap();
-
-
-    /**
-     * Construct a new blank XmlOptions.
-     */
-    public XmlOptions ( ) { }
-
-    /**
-     * Construct a new XmlOptions, copying the options.
-     */
-    public XmlOptions (XmlOptions other) {
-        if (other != null) _map.putAll(other._map);
-    }
-            
-    //
-    // Handy-dandy helper methods for setting some options
-    //
-
-    /**
-     * This option will cause the saver to save namespace attributes first.
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveNamespacesFirst() { 
-        return set( SAVE_NAMESPACES_FIRST ); 
-    }
-    /**
-     * This option will cause the saver to reformat white space for easier reading.
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSavePrettyPrint() { 
-        return set( SAVE_PRETTY_PRINT ); 
-    }
-
-    /**
-     * When used with <code>setSavePrettyPrint</code> this sets the indent
-     * amount to use.
-     * 
-     * @param indent the indent amount to use
-     * @see #setSavePrettyPrint
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSavePrettyPrintIndent(int indent) { 
-        return set( SAVE_PRETTY_PRINT_INDENT, indent ); 
-    }
-
-    /**
-     * When used with <code>setSavePrettyPrint</code> this sets the offset
-     * amount to use.
-     * 
-     * @param offset the offset amount to use
-     * @see #setSavePrettyPrint
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSavePrettyPrintOffset(int offset) { 
-        return set( SAVE_PRETTY_PRINT_OFFSET, offset ); 
-    }
-
-    /**
-     * When parsing or writing a document, this sets the character
-     * encoding to use.
-     * 
-     * @param encoding the character encoding
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     */
-    public XmlOptions setCharacterEncoding(String encoding) { 
-        return set( CHARACTER_ENCODING, encoding ); 
-    }
-
-    /**
-     * When parsing a document, this sets the type of the root
-     * element. If this is set, the parser will not try to guess
-     * the type based on the document's <code>QName</code>.
-     * 
-     * @param type The root element's document type.
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setDocumentType(SchemaType type) {
-        return set( DOCUMENT_TYPE, type ); 
-    }
-
-    /**
-     * <p>Sets a collection object for collecting {@link XmlError} objects 
-     * during parsing, validation, and compilation. When set, the collection 
-     * will contain all the errors after the operation takes place.  Notice that
-     * the errors will only have line numbers if the document was
-     * loaded with line numbers enabled.</p>
-     * 
-     * <p>The following simple example illustrates using an error listener
-     * during validation.</p>
-     * 
-     * <pre>
-     * // Create an XmlOptions instance and set the error listener.
-     * XmlOptions validateOptions = new XmlOptions();
-     * ArrayList errorList = new ArrayList();
-     * validateOptions.setErrorListener(errorList);
-     * 
-     * // Validate the XML.
-     * boolean isValid = newEmp.validate(validateOptions);
-     * 
-     * // If the XML isn't valid, loop through the listener's contents,
-     * // printing contained messages.
-     * if (!isValid)
-     * {
-     *      for (int i = 0; i < errorList.size(); i++)
-     *      {
-     *          XmlError error = (XmlError)errorList.get(i);
-     *          
-     *          System.out.println("\n");
-     *          System.out.println("Message: " + error.getMessage() + "\n");
-     *          System.out.println("Location of invalid XML: " + 
-     *              error.getCursorLocation().xmlText() + "\n");
-     *      }
-     * }
-     * </pre>
-     * 
-     * @param c A collection that will be filled with {@link XmlError} objects 
-     * via {@link Collection#add}
-     * 
-     * @see XmlError
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     * @see XmlObject#validate(XmlOptions)
-     * @see XmlBeans#compileXsd
-     * @see XmlOptions#setLoadLineNumbers
-     */
-    public XmlOptions setErrorListener (Collection c) { 
-        return set( ERROR_LISTENER, c ); 
-    }
-
-    /**
-     * Causes the saver to reduce the number of namespace prefix declarations.
-     * The saver will do this by passing over the document twice, first to
-     * collect the set of needed namespace declarations, and then second
-     * to actually save the document with the declarations collected
-     * at the root.
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveAggresiveNamespaces() { 
-        return set( SAVE_AGGRESSIVE_NAMESPACES ); 
-    }
-
-    /**
-     * This option causes the saver to wrap the current fragment in
-     * an element with the given name.
-     * 
-     * @param name the name to use for the top level element
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveSyntheticDocumentElement (QName name) { 
-        return set( SAVE_SYNTHETIC_DOCUMENT_ELEMENT, name ); 
-    }
-
-    /**
-     * If this option is set, the saver will try to use the default
-     * namespace for the most commonly used URI. If it is not set
-     * the saver will always created named prefixes.
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setUseDefaultNamespace () { 
-        return set( SAVE_USE_DEFAULT_NAMESPACE ); 
-    }
-
-    /**
-     * If namespaces have already been declared outside the scope of the
-     * fragment being saved, this allows those mappings to be passed
-     * down to the saver, so the prefixes are not re-declared.
-     * 
-     * @param implicitNamespaces a map of prefixes to uris that can be
-     *  used by the saver without being declared
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */ 
-    public XmlOptions setSaveImplicitNamespaces (Map implicitNamespaces) { 
-        return set( SAVE_IMPLICIT_NAMESPACES, implicitNamespaces ); 
-    }
-
-    /**
-     * A map of hints to pass to the saver for which prefixes to use
-     * for which namespace URI.
-     * 
-     * @param suggestedPrefixes a map from URIs to prefixes
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveSuggestedPrefixes (Map suggestedPrefixes) { 
-        return set( SAVE_SUGGESTED_PREFIXES, suggestedPrefixes ); 
-    }
-
-    /**
-     * This option causes the saver to filter a Processing Instruction
-     * with the given target
-     * 
-     * @param filterProcinst the name of a Processing Instruction to filter
-     *   on save
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveFilterProcinst (String filterProcinst) { 
-        return set( SAVE_FILTER_PROCINST, filterProcinst ); 
-    }
-
-    /**
-     * When saving a fragment, this option changes the qname of the synthesized
-     * root element.  Normally &lt;xml-fragment&gt; is used.
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveUseOpenFrag () { 
-        return set( SAVE_USE_OPEN_FRAGMENT ); 
-    }
-
-    /**
-     * This option controls whether saving begins on the element or its contents
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveOuter () { 
-        return set( SAVE_OUTER ); 
-    }
-
-    /**
-     * This option controls whether saving begins on the element or its contents
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveInner () { 
-        return set( SAVE_INNER ); 
-    }
-
-    /**
-     * This option controls whether saving saves out the XML
-     * declaration (<?xml ... ?>
-     * 
-     * @see XmlTokenSource#save(java.io.File, XmlOptions)
-     * @see XmlTokenSource#xmlText(XmlOptions)
-     */
-    public XmlOptions setSaveNoXmlDecl () { 
-        return set( SAVE_NO_XML_DECL ); 
-    }
-
-    /**
-     * If this option is set, the document element is replaced with the
-     * given QName when parsing.  If null is supplied, the document element
-     * is removed.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadReplaceDocumentElement ( QName replacement ) { 
-        return set( LOAD_REPLACE_DOCUMENT_ELEMENT, replacement ); 
-    }
-
-    /**
-     * If this option is set, all insignificant whitespace is stripped
-     * when parsing a document.  Can be used to save memory on large
-     * documents when you know there is no mixed content.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadStripWhitespace () { 
-        return set( LOAD_STRIP_WHITESPACE); 
-    }
-
-    /**
-     * If this option is set, all comments are stripped when parsing
-     * a document.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadStripComments() {
-        return set( LOAD_STRIP_COMMENTS ); 
-    }
-
-    /**
-     * If this option is set, all processing instructions 
-     * are stripped when parsing a document.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadStripProcinsts () { 
-        return set( LOAD_STRIP_PROCINSTS ); 
-    }
-
-    /**
-     * If this option is set, line number annotations are placed
-     * in the store when parsing a document.  This is particularly
-     * useful when you want {@link XmlError} objects to contain
-     * line numbers.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     * @see XmlError
-     */
-    public XmlOptions setLoadLineNumbers () { 
-        return set( LOAD_LINE_NUMBERS ); 
-    }
-
-    /**
-     * This option sets a map of namespace uri substitutions that happen
-     * when parsing a document.
-     * <p>
-     * This is particularly useful if you
-     * have documents that use no namespace, but you wish to avoid
-     * the name collision problems that occur when you introduce
-     * schema definitions without a target namespace.
-     * <p>
-     * By mapping the empty string "" (the absence of a URI) to a specific
-     * namespace, you can force the parser to behave as if a no-namespace
-     * document were actually in the specified namespace. This allows you
-     * to type the instance according to a schema in a nonempty namespace,
-     * and therefore avoid the problematic practice of using schema
-     * definitions without a target namespace.
-     * 
-     * @param substNamespaces a map of document URIs to replacement URIs
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadSubstituteNamespaces (Map substNamespaces) { 
-        return set( LOAD_SUBSTITUTE_NAMESPACES, substNamespaces ); 
-    }
-
-    /**
-     * If this option is set, the underlying xml text buffer is trimmed
-     * immediately after parsing a document resulting in a smaller memory
-     * footprint.  Use this option if you are loading a large number
-     * of unchanging documents that will stay in memory for some time.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadTrimTextBuffer () { 
-        return set( LOAD_TRIM_TEXT_BUFFER ); 
-    }
-
-    /**
-     * Set additional namespace mappings to be added when parsing
-     * a document.
-     * 
-     * @param nses additional namespace mappings
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadAdditionalNamespaces (Map nses) { 
-        return set( LOAD_ADDITIONAL_NAMESPACES, nses ); 
-    }
-
-    /**
-     * If this option is set when loading from an InputStream or File, then
-     * the loader will compute a 160-bit SHA-1 message digest of the XML
-     * file while loading it and make it available via
-     * XmlObject.documentProperties().getMessageDigest();
-     * <br>
-     * The schema compiler uses message digests to detect and eliminate
-     * duplicate imported xsd files.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadMessageDigest () { 
-        return set( LOAD_MESSAGE_DIGEST ); 
-    }
-
-    /**
-     * By default, XmlBeans does not resolve entities when parsing xml
-     * documents (unless an explicit entity resolver is specified).
-     * Use this option to turn on entity resolving by default.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setLoadUseDefaultResolver () { 
-        return set( LOAD_USE_DEFAULT_RESOLVER ); 
-    }
-
-    /**
-     * If this option is set, then schema validation will be performed during
-     * unmarshalling.  Errors will be added to error collection supplied
-     * in this options instance
-     */
-    public XmlOptions setUnmarshalValidate () {
-        return set( UNMARSHAL_VALIDATE );
-    }
-
-
-    /**
-     * Provide a factory to be used for the creation of the top level object
-     * returned by the unmarshal methods.
-     */
-    public XmlOptions setUnmarshalInitialObjectFactory(ObjectFactory factory) {
-        return set( UNMARSHAL_INITIAL_OBJECT_FACTORY, factory );
-    }
-
-    /**
-     * Sets the name of the variable that represents
-     * the current node in a query expression.
-     * 
-     * @param varName The new variable name to use for the query.
-     * 
-     * @see XmlObject#execQuery
-     * @see XmlCursor#execQuery
-     */
-    public XmlOptions setXqueryCurrentNodeVar (String varName) { 
-        return set( XQUERY_CURRENT_NODE_VAR, varName ); 
-    }
-
-    /**
-     * This option sets the document source name into the xml store
-     * when parsing a document.  If a document is parsed from a
-     * File or URI, it is automatically set to the URI of the
-     * source; otherwise, for example, when parsing a String,
-     * you can use this option to specify the source name yourself. 
-     * 
-     * @see XmlObject.Factory#parse(java.lang.String, XmlOptions)
-     */
-    public XmlOptions setDocumentSourceName (String documentSourceName) { 
-        return set( DOCUMENT_SOURCE_NAME, documentSourceName ); 
-    }
-
-    /**
-     * This option allows for <code>QName</code> substitution during schema compilation.
-     * 
-     * @param nameMap a map from <code>QName</code>s to substitute <code>QName</code>s.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileSubstituteNames (Map nameMap) { 
-        return set( COMPILE_SUBSTITUTE_NAMES, nameMap ); 
-    }
-    
-    /**
-     * If this option is set, validation is not done on the Schema XmlBeans
-     * when building a <code>SchemaTypeSystem</code>
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileNoValidation () { 
-        return set( COMPILE_NO_VALIDATION ); 
-    }
-
-    /**
-     * If this option is set, the unique particle attribution rule is not
-     * enforced when building a <code>SchemaTypeSystem</code>. See
-     * <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#non-ambig">Appendix H of the XML Schema specification</a>
-     * for information on the UPA rule.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileNoUpaRule () { 
-        return set( COMPILE_NO_UPA_RULE ); 
-    }
-    
-    /**
-     * If this option is set, the particle valid (restriciton) rule is not
-     * enforced when building a <code>SchemaTypeSystem</code>. See
-     * <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict">Section 3.9.6 of the XML Schema specification</a>
-     * for information on the PVR rule.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileNoPvrRule () { 
-        return set( COMPILE_NO_PVR_RULE ); 
-    }
-
-    /**
-     * if this option is set, the schema compiler will skip annotations when
-     * processing Schema components.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileNoAnnotations() {
-        return set( COMPILE_NO_ANNOTATIONS );
-    }
-
-    /**
-     * If this option is set, then the schema compiler will try to download
-     * schemas that appear in imports and includes from network based URLs.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setCompileDownloadUrls () { 
-        return set( COMPILE_DOWNLOAD_URLS); 
-    }
-    
-    /**
-     * If this option is set, then the schema compiler will permit and
-     * ignore multiple definitions of the same component (element, attribute,
-     * type, etc) names in the given namespaces.  If multiple definitions
-     * with the same name appear, the definitions that happen to be processed
-     * last will be ignored.
-     * 
-     * @param mdefNamespaces a set of namespace URIs as Strings
-     * 
-     * @see XmlBeans#compileXsd
-     */ 
-    public XmlOptions setCompileMdefNamespaces(Set mdefNamespaces)
-    {
-        return set( COMPILE_MDEF_NAMESPACES, mdefNamespaces );
-    }
-
-    /**
-     * If this option is set when an instance is created, then value
-     * facets will be checked on each call to a setter or getter
-     * method on instances of XmlObject within the instance document.
-     * If the facets are not satisfied, then an unchecked exception is
-     * thrown immediately.  This option is useful for finding code that
-     * is introducing invalid values in an XML document, but it
-     * slows performance.
-     * 
-     * @see XmlObject.Factory#parse(java.io.File, XmlOptions)
-     */
-    public XmlOptions setValidateOnSet() {
-        return set( VALIDATE_ON_SET );
-    }
-
-    /**
-     * If this option is set when compiling a schema, then the given
-     * EntityResolver will be consulted in order to resolve any
-     * URIs while downloading imported schemas.
-     *
-     * EntityResolvers are currently only used by compileXsd; they
-     * are not consulted by other functions, for example, parse.
-     * This will likely change in the future.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setEntityResolver(EntityResolver resolver) {
-        return set( ENTITY_RESOLVER, resolver );
-    }
-    
-    /**
-     * If this option is set when compiling a schema, then the given
-     * SchemaTypeCodePrinter.Printer will be used to generate the
-     * Java code.
-     * 
-     * @see XmlBeans#compileXsd
-     */
-    public XmlOptions setSchemaCodePrinter(SchemaCodePrinter printer) {
-        return set( SCHEMA_CODE_PRINTER, printer );
-    }
-
-    //
-    // Complete set of XmlOption's
-    //
-            
-    // TODO - Add selectPath option to track the seletion (deault is to clean selections fast). 
-    
-    /** @exclude */
-    public static final String SAVE_NAMESPACES_FIRST           =  "SAVE_NAMESPACES_FIRST";
-    /** @exclude */
-    public static final String SAVE_SYNTHETIC_DOCUMENT_ELEMENT =  "SAVE_SYNTHETIC_DOCUMENT_ELEMENT";
-    /** @exclude */
-    public static final String SAVE_PRETTY_PRINT               =  "SAVE_PRETTY_PRINT";
-    /** @exclude */
-    public static final String SAVE_PRETTY_PRINT_INDENT        =  "SAVE_PRETTY_PRINT_INDENT";
-    /** @exclude */
-    public static final String SAVE_PRETTY_PRINT_OFFSET        =  "SAVE_PRETTY_PRINT_OFFSET";
-    /** @exclude */
-    public static final String SAVE_AGGRESSIVE_NAMESPACES      =  "SAVE_AGGRESSIVE_NAMESPACES";
-    /** @exclude */
-    public static final String SAVE_USE_DEFAULT_NAMESPACE      =  "SAVE_USE_DEFAULT_NAMESPACE";
-    /** @exclude */
-    public static final String SAVE_IMPLICIT_NAMESPACES        =  "SAVE_IMPLICIT_NAMESPACES";
-    /** @exclude */
-    public static final String SAVE_SUGGESTED_PREFIXES         =  "SAVE_SUGGESTED_PREFIXES";
-    /** @exclude */
-    public static final String SAVE_FILTER_PROCINST            =  "SAVE_FILTER_PROCINST";
-    /** @exclude */
-    public static final String SAVE_USE_OPEN_FRAGMENT          =  "SAVE_USE_OPEN_FRAGMENT";
-    /** @exclude */
-    public static final String SAVE_OUTER                      =  "SAVE_OUTER";
-    /** @exclude */
-    public static final String SAVE_INNER                      =  "SAVE_INNER";
-    /** @exclude */
-    public static final String SAVE_NO_XML_DECL                =  "SAVE_NO_XML_DECL";
-    
-    /** @exclude */
-    public static final String LOAD_REPLACE_DOCUMENT_ELEMENT   =  "LOAD_REPLACE_DOCUMENT_ELEMENT";
-    /** @exclude */
-    public static final String LOAD_STRIP_WHITESPACE           =  "LOAD_STRIP_WHITESPACE";
-    /** @exclude */
-    public static final String LOAD_STRIP_COMMENTS             =  "LOAD_STRIP_COMMENTS";
-    /** @exclude */
-    public static final String LOAD_STRIP_PROCINSTS            =  "LOAD_STRIP_PROCINSTS";
-    /** @exclude */
-    public static final String LOAD_LINE_NUMBERS               =  "LOAD_LINE_NUMBERS";
-    /** @exclude */
-    public static final String LOAD_SUBSTITUTE_NAMESPACES      =  "LOAD_SUBSTITUTE_NAMESPACES";
-    /** @exclude */
-    public static final String LOAD_TRIM_TEXT_BUFFER           =  "LOAD_TRIM_TEXT_BUFFER";
-    /** @exclude */
-    public static final String LOAD_ADDITIONAL_NAMESPACES      =  "LOAD_ADDITIONAL_NAMESPACES";
-    /** @exclude */
-    public static final String LOAD_MESSAGE_DIGEST             =  "LOAD_MESSAGE_DIGEST";
-    /** @exclude */
-    public static final String LOAD_USE_DEFAULT_RESOLVER       =  "LOAD_USE_DEFAULT_RESOLVER";
-
-    /** @exclude */
-    public static final String UNMARSHAL_VALIDATE              =  "UNMARSHAL_VALIDATE";
-
-    /** @exclude */
-    public static final String UNMARSHAL_INITIAL_OBJECT_FACTORY=  "UNMARSHAL_INITIAL_OBJECT_FACTORY";
-
-    /** @exclude */
-    public static final String XQUERY_CURRENT_NODE_VAR         =  "XQUERY_CURRENT_NODE_VAR";
-
-    /** @exclude */
-    public static final String CHARACTER_ENCODING              =  "CHARACTER_ENCODING";
-    /** @exclude */
-    public static final String ERROR_LISTENER                  =  "ERROR_LISTENER";
-    /** @exclude */
-    public static final String DOCUMENT_TYPE                   =  "DOCUMENT_TYPE";
-    /** @exclude */
-    public static final String DOCUMENT_SOURCE_NAME            =  "DOCUMENT_SOURCE_NAME";
-    /** @exclude */
-    public static final String COMPILE_SUBSTITUTE_NAMES        =  "COMPILE_SUBSTITUTE_NAMES";
-    /** @exclude */
-    public static final String COMPILE_NO_VALIDATION           =  "COMPILE_NO_VALIDATION";
-    /** @exclude */
-    public static final String COMPILE_NO_UPA_RULE             =  "COMPILE_NO_UPA_RULE";
-    /** @exclude */
-    public static final String COMPILE_NO_PVR_RULE             =  "COMPILE_NO_PVR_RULE";
-    /** @exclude */
-    public static final String COMPILE_NO_ANNOTATIONS          =  "COMPILE_NO_ANNOTATIONS";
-    /** @exclude */
-    public static final String COMPILE_DOWNLOAD_URLS           =  "COMPILE_DOWNLOAD_URLS";
-    /** @exclude */
-    public static final String COMPILE_MDEF_NAMESPACES         =  "COMPILE_MDEF_NAMESPACES";
-    /** @exclude */
-    public static final String VALIDATE_ON_SET                 =  "VALIDATE_ON_SET";
-    /** @exclude */
-    public static final String ENTITY_RESOLVER                 =  "ENTITY_RESOLVER";
-    /** @exclude */
-    public static final String SCHEMA_CODE_PRINTER             = "SCHEMA_CODE_PRINTER";
-
-    private static final XmlOptions EMPTY_OPTIONS;
-    static {
-        EMPTY_OPTIONS = new XmlOptions();
-        EMPTY_OPTIONS._map = Collections.unmodifiableMap(EMPTY_OPTIONS._map);
-    }
-
-    /** If passed null, returns an empty options object.  Otherwise, returns its argument. */
-    public static XmlOptions maskNull(XmlOptions o) {
-        return (o == null) ? EMPTY_OPTIONS : o;
-    }
-
-    
-    /** Used to set a generic option */
-    public void  put ( Object option               ) { put( option, null ); }
-    /** Used to set a generic option */
-    public void  put ( Object option, Object value ) { _map.put(option, value); }
-    /** Used to set a generic option */
-    public void put  ( Object option, int value    ) { put( option, new Integer( value ) ); }
-
-    private XmlOptions set(Object option)               { return set(option, null); }
-    private XmlOptions set(Object option, Object value) { _map.put(option, value); return this;}
-    private XmlOptions set(Object option, int value)    { return set(option, new Integer(value)); }
-
-    /** Used to test a generic option */
-    public boolean hasOption   ( Object option ) { return _map.containsKey( option ); }
-    /** Used to get a generic option */
-    public Object  get         ( Object option ) { return _map.get( option ); }
-
-    /** Used to test a generic option on an options object that may be null */
-    public static Object safeGet(XmlOptions o, Object option) {
-        return o == null ? null : o.get(option);
-    }
-
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlPositiveInteger.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlPositiveInteger.java
deleted file mode 100644
index 2b8b088..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlPositiveInteger.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#positiveInteger">xs:positiveInteger</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be positive when validating.
- * <p>
- * Convertible to {@link java.math.BigInteger}.
- */ 
-public interface XmlPositiveInteger extends XmlNonNegativeInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_positiveInteger");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlPositiveInteger}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlPositiveInteger} */
-        public static XmlPositiveInteger newInstance() {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlPositiveInteger} */
-        public static XmlPositiveInteger newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlPositiveInteger} value */
-        public static XmlPositiveInteger newValue(Object obj) {
-          return (XmlPositiveInteger) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlPositiveInteger parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>". */
-        public static XmlPositiveInteger parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a File. */
-        public static XmlPositiveInteger parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a File. */
-        public static XmlPositiveInteger parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a URL. */
-        public static XmlPositiveInteger parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlPositiveInteger} fragment from a URL. */
-        public static XmlPositiveInteger parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlPositiveInteger} fragment from an InputStream. */
-        public static XmlPositiveInteger parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from an InputStream. */
-        public static XmlPositiveInteger parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a Reader. */
-        public static XmlPositiveInteger parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a Reader. */
-        public static XmlPositiveInteger parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a DOM Node. */
-        public static XmlPositiveInteger parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from a DOM Node. */
-        public static XmlPositiveInteger parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from an XMLInputStream. */
-        public static XmlPositiveInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from an XMLInputStream. */
-        public static XmlPositiveInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from an XMLStreamReader. */
-        public static XmlPositiveInteger parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlPositiveInteger} fragment from an XMLStreamReader. */
-        public static XmlPositiveInteger parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlPositiveInteger) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlQName.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlQName.java
deleted file mode 100644
index 9b36542..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlQName.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import javax.xml.namespace.QName;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#QName">xs:QName</a> type.
- * <p>
- * A QName is the logical combination of an XML namespace URI and a localName.
- * Although in an XML instance document, a QName appears as "prefix:localName",
- * the logical value of a QName does NOT contain any information about the
- * prefix, only the namespace URI to which the prefix maps.  For example,
- * two QNames "a:hello" and "b:hello" are perfectly equivalent if "a:" in
- * the first instance maps to the same URI as "b:" in the second instance.
- * <p>
- * Convertible to {@link javax.xml.namespace.QName}.
- */ 
-public interface XmlQName extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_QName");
-    
-    /** Returns this value as a {@link QName} */
-    QName getQNameValue();
-    /** Sets this value as a {@link QName} */
-    void setQNameValue(QName name);
-
-    /**
-     * Returns this value as a {@link QName}
-     * @deprecated replaced with {@link #getQNameValue}
-     **/
-    QName qNameValue();
-    /**
-     * Sets this value as a {@link QName}
-     * @deprecated replaced with {@link #setQNameValue}
-     **/
-    void set(QName name);
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlQName}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlQName} */
-        public static XmlQName newInstance() {
-          return (XmlQName) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlQName} */
-        public static XmlQName newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlQName) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlQName} value */
-        public static XmlQName newValue(Object obj) {
-          return (XmlQName) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlQName} fragment from a String. For example: "<code>&lt;xml-fragment xmlns:x="http://openuri.org/"&gt;x:sample&lt;/xml-fragment&gt;</code>". */
-        public static XmlQName parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from a String. For example: "<code>&lt;xml-fragment xmlns:x="http://openuri.org/"&gt;x:sample&lt;/xml-fragment&gt;</code>". */
-        public static XmlQName parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from a File. */
-        public static XmlQName parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from a File. */
-        public static XmlQName parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from a URL. */
-        public static XmlQName parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlQName} fragment from a URL. */
-        public static XmlQName parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlQName} fragment from an InputStream. */
-        public static XmlQName parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from an InputStream. */
-        public static XmlQName parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from a Reader. */
-        public static XmlQName parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from a Reader. */
-        public static XmlQName parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from a DOM Node. */
-        public static XmlQName parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from a DOM Node. */
-        public static XmlQName parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from an XMLInputStream. */
-        public static XmlQName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from an XMLInputStream. */
-        public static XmlQName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlQName} fragment from an XMLStreamReader. */
-        public static XmlQName parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlQName} fragment from an XMLStreamReader. */
-        public static XmlQName parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlQName) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlRuntimeException.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlRuntimeException.java
deleted file mode 100644
index dcaf4cb..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlRuntimeException.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.util.List;
-import java.util.Collections;
-import java.util.Collection;
-import java.util.ArrayList;
-
-/**
- * An unchecked XML exception.
- * May contain any number of {@link XmlError} objects.
- * 
- * @see XmlError
- * @see XmlException
- */ 
-public class XmlRuntimeException extends RuntimeException
-{
-    private static final long serialVersionUID = 1L;
-    
-    /**
-     * Constructs an XmlRuntimeException from a message.
-     */ 
-    public XmlRuntimeException ( String m              ) { super( m );    }
-    
-    /**
-     * Constructs an XmlRuntimeException from a message and a cause.
-     */ 
-    public XmlRuntimeException ( String m, Throwable t ) { super( m, t ); }
-    
-    /**
-     * Constructs an XmlRuntimeException from a cause.
-     */ 
-    public XmlRuntimeException ( Throwable t           ) { super( t );    }
-    
-    /**
-     * Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.
-     */ 
-    public XmlRuntimeException ( String m, Throwable t, Collection errors )
-    {
-        super( m, t );
-
-        if (errors != null)
-            _errors = Collections.unmodifiableList( new ArrayList(errors) );
-    }
-
-    /**
-     * Constructs an XmlRuntimeException from an XmlError.
-     */ 
-    public XmlRuntimeException ( XmlError error )
-    {
-        this( error.toString(), null, error );
-    }
-
-    /**
-     * Constructs an XmlRuntimeException from a message, a cause, and an XmlError.
-     */ 
-    public XmlRuntimeException ( String m, Throwable t, XmlError error )
-    {
-        this( m, t, Collections.singletonList( error ) );
-    }
-    
-    /**
-     * Constructs an XmlRuntimeException from an {@link XmlException}.
-     */ 
-    public XmlRuntimeException ( XmlException xmlException )
-    {
-        super( xmlException.getMessage(), xmlException.getCause() );
-
-        Collection errors = xmlException.getErrors();
-
-        if (errors != null)
-            _errors = Collections.unmodifiableList( new ArrayList( errors ) );
-    }
-    
-    /**
-     * Returns the first {@link XmlError} that caused this exception, if any.
-     */ 
-    public XmlError getError ( )
-    {
-        if (_errors == null || _errors.size() == 0)
-            return null;
-
-        return (XmlError) _errors.get( 0 );
-    }
-    
-    /**
-     * Returns the collection of {@link XmlError XmlErrors} that caused this exception, if any.
-     */ 
-    public Collection getErrors ( )
-    {
-        return _errors;
-    }
-
-    private List _errors;
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlSaxHandler.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlSaxHandler.java
deleted file mode 100644
index eea45fc..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlSaxHandler.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-
-/**
- * A holder for a SAX {@link ContentHandler} and {@link LexicalHandler} that are
- * capable of loading an {@link XmlObject} instance.  Once all the SAX events are pushed
- * to the handlers, call {@link #getObject()} to get the loaded XmlObject.
- * 
- * @see XmlObject.Factory#newXmlSaxHandler
- * @see SchemaTypeLoader#newXmlSaxHandler
- */
-public interface XmlSaxHandler
-{
-    /**
-     * The ContentHandler expecting SAX content events.
-     * @see ContentHandler
-     */ 
-    ContentHandler getContentHandler ( );
-    /**
-     * The LexicalHandler expecting SAX lexical events.
-     * @see LexicalHandler
-     */ 
-    LexicalHandler getLexicalHandler ( );
-    
-    /** Returns the loaded XmlObject after all the SAX events have been finished */
-    XmlObject getObject ( ) throws XmlException;
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlShort.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlShort.java
deleted file mode 100644
index 94a4445..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlShort.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#short">xs:short</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Naturally, convertible to a Java short.
- */ 
-public interface XmlShort extends XmlInt
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_short");
-    
-    /** Returns this value as a short */
-    public short getShortValue();
-    /** Sets this value as a short */
-    public void setShortValue(short s);
-
-    /**
-     * Returns this value as a short
-     * @deprecated replaced with {@link #getShortValue}
-     **/
-    public short shortValue();
-    /**
-     * Sets this value as a short
-     * @deprecated replaced with {@link #setShortValue}
-     **/
-    public void set(short s);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlShort}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlShort} */
-        public static XmlShort newInstance() {
-          return (XmlShort) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlShort} */
-        public static XmlShort newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlShort) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlShort} value */
-        public static XmlShort newValue(Object obj) {
-          return (XmlShort) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlShort} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>". */
-        public static XmlShort parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>". */
-        public static XmlShort parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from a File. */
-        public static XmlShort parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from a File. */
-        public static XmlShort parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from a URL. */
-        public static XmlShort parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlShort} fragment from a URL. */
-        public static XmlShort parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlShort} fragment from an InputStream. */
-        public static XmlShort parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from an InputStream. */
-        public static XmlShort parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from a Reader. */
-        public static XmlShort parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from a Reader. */
-        public static XmlShort parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from a DOM Node. */
-        public static XmlShort parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from a DOM Node. */
-        public static XmlShort parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from an XMLInputStream. */
-        public static XmlShort parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from an XMLInputStream. */
-        public static XmlShort parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlShort} fragment from an XMLStreamReader. */
-        public static XmlShort parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlShort} fragment from an XMLStreamReader. */
-        public static XmlShort parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlShort) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlSimpleList.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlSimpleList.java
deleted file mode 100644
index cde96f8..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlSimpleList.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import java.util.Iterator;
-import java.util.Collection;
-import java.util.List;
-import java.util.ListIterator;
-
-/**
- * The immutable {@link List} returned for XML simple list values.
- * 
- * XmlSimpleList implements an equals() and hashCode() that compare list
- * contents, so two XmlSimpleLists are the same if they have the same
- * values in the same order.
- */ 
-public class XmlSimpleList implements List, java.io.Serializable
-{
-    private static final long serialVersionUID = 1L;
-    
-	private List underlying;
-    
-    /**
-     * Constructs an immutable XmlSimpleList that wraps (does not copy)
-     * the given {@link List}.  All non-mutating methods delegate to
-     * the underlying List instance.
-     */ 
-	public XmlSimpleList(List list)     { this.underlying = list; }
-    
-    /** Returns the number of elements in this list. */
-    public int size() 		            { return underlying.size(); }
-    /** True if the list is empty. */
-    public boolean isEmpty() 	        { return underlying.isEmpty(); }
-    /** True if the list is contains an object equal to o. */
-    public boolean contains(Object o)   { return underlying.contains(o); }
-    /** True if the list is contains all the objects in the given collection. */
-    public boolean containsAll(Collection coll) { return underlying.containsAll(coll); }
-    /** Copies the collection to an array. */
-    public Object[] toArray() 	        { return underlying.toArray(); }
-    /** Copies the collection to an array of a specified type. */
-    public Object[] toArray(Object[] a) { return underlying.toArray(a); }
-    
-    /** Unsupported because this list is immutable. */
-    public boolean add(Object o)        { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public boolean addAll(Collection coll) { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public boolean remove(Object o)     { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public boolean removeAll(Collection coll) { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public boolean retainAll(Collection coll) { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public void clear()                 { throw new UnsupportedOperationException(); }
-
-    /** Returns the object at the specified position in this list. */
-    public Object get(int index)        { return underlying.get(index); }
-    /** Unsupported because this list is immutable. */
-    public Object set(int index, Object element) { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public void add(int index, Object element) { throw new UnsupportedOperationException(); }
-    /** Unsupported because this list is immutable. */
-    public Object remove(int index)     { throw new UnsupportedOperationException(); }
-    /** Returns index of the first occurance of an object equal to o. */
-    public int indexOf(Object o)        { return underlying.indexOf(o); }
-    /** Returns index of the last occurance of an object equal to o. */
-    public int lastIndexOf(Object o)    { return underlying.lastIndexOf(o); }
-    /** Unsupported because this list is immutable. */
-    public boolean addAll(int index, Collection c) { throw new UnsupportedOperationException(); }
-    /** Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. */
-    public List subList(int from, int to) { return new XmlSimpleList(underlying.subList(from, to)); }
-
-    /** Returns an iterator over the elements in this list in proper sequence. */
-    public Iterator iterator()
-    { 
-        return new Iterator()
-        { 
-            Iterator i = underlying.iterator();
-            public boolean hasNext()    { return i.hasNext(); }
-            public Object next() 	    { return i.next(); }
-            public void remove()        { throw new UnsupportedOperationException(); }
-        };
-    }
-
-    /** Returns a list iterator of the elements in this list in proper sequence. */
-    public ListIterator listIterator() 	{ return listIterator(0); }
-    /** Returns a list iterator of the elements in this list in proper sequence, starting at the specified position in this list. */
-    public ListIterator listIterator(final int index)
-    { 
-        return new ListIterator()
-        { 
-            ListIterator i = underlying.listIterator(index);
-    
-            public boolean hasNext()    { return i.hasNext(); }
-            public Object next()        { return i.next(); }
-            public boolean hasPrevious(){ return i.hasPrevious(); }
-            public Object previous()    { return i.previous(); }
-            public int nextIndex()      { return i.nextIndex(); }
-            public int previousIndex()  { return i.previousIndex(); }
-    
-            public void remove()        { throw new UnsupportedOperationException(); }
-            public void set(Object o)   { throw new UnsupportedOperationException(); }
-            public void add(Object o)   { throw new UnsupportedOperationException(); }
-        };
-    }
-    
-    private String stringValue(Object o)
-    {
-        if (o instanceof SimpleValue)
-            return ((SimpleValue)o).stringValue();
-        return o.toString();
-    }
-    
-    /**
-     * Returns a space-separated list of the string representations of all
-     * the items in the list.  For most lists, this is a valid xml lexical
-     * value for the list. (The notable exception is a list of QNames.)
-     */ 
-    public String toString()
-    {
-        int size = underlying.size();
-        if (size == 0)
-            return "";
-        String first = stringValue(underlying.get(0));
-        if (size == 1)
-            return first;
-        StringBuffer result = new StringBuffer(first);
-        for (int i = 1; i < size; i++)
-        {
-            result.append(' ');
-            result.append(stringValue(underlying.get(i)));
-        }
-        return result.toString();
-    }
-    
-    /**
-     * Two XmlSimpleLists are equal if all their items are equal.
-     * (They must have the same number of items, and the items must be in
-     * the same order.)
-     */ 
-    public boolean equals(Object o)
-    { 
-        if (this == o) return true;
-        if (!(o instanceof XmlSimpleList)) return false;
-        final XmlSimpleList xmlSimpleList = (XmlSimpleList)o;
-        List underlying2 = xmlSimpleList.underlying;
-        int size = underlying.size();
-        if (size != underlying2.size())
-            return false;
-        for (int i = 0; i < size; i++)
-        { 
-            Object item = underlying.get(i);
-            Object item2 = underlying2.get(i);
-            if (item == null ? item2 != null : !item.equals(item2))
-                return false;
-        }
-        return true;
-    }
-    
-    /**
-     * Combines the hash codes of all the list items.
-     */ 
-    public int hashCode()
-    { 
-        int size = underlying.size();
-        int hash = 0;
-        for (int i = 0; i < size; i++)
-        { 
-            Object item = underlying.get(i);
-            hash *= 19;
-            hash += item.hashCode();
-        }
-        return hash;
-     }
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlString.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlString.java
deleted file mode 100644
index c27afef..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlString.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a> type.
- * <p>
- * A basic string in XML schema is not whitespace normalized.  If you
- * want your string type to be insensitive to variations in runs of
- * whitespace, consider using 
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a>
- * (aka {@link XmlToken}) instead.
- * To forbid whitespace and permit just alphanumeric and other
- * common identifier characters consider
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a>
- * (aka {@link XmlNMTOKEN}) instead.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlString extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_string");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlString}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlString} */
-        public static XmlString newInstance() {
-          return (XmlString) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlString} */
-        public static XmlString newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlString) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlString} value */
-        public static XmlString newValue(Object obj) {
-          return (XmlString) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlString} fragment from a String. For example: "<code>&lt;xml-fragment&gt; arbitrary string &lt;/xml-fragment&gt;</code>". */
-        public static XmlString parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from a String. For example: "<code>&lt;xml-fragment&gt; arbitrary string &lt;/xml-fragment&gt;</code>". */
-        public static XmlString parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from a File. */
-        public static XmlString parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from a File. */
-        public static XmlString parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from a URL. */
-        public static XmlString parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlString} fragment from a URL. */
-        public static XmlString parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlString} fragment from an InputStream. */
-        public static XmlString parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from an InputStream. */
-        public static XmlString parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from a Reader. */
-        public static XmlString parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from a Reader. */
-        public static XmlString parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from a DOM Node. */
-        public static XmlString parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from a DOM Node. */
-        public static XmlString parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from an XMLInputStream. */
-        public static XmlString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from an XMLInputStream. */
-        public static XmlString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlString} fragment from an XMLStreamReader. */
-        public static XmlString parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlString} fragment from an XMLStreamReader. */
-        public static XmlString parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlString) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlTime.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlTime.java
deleted file mode 100644
index 5940603..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlTime.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.util.Calendar;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#time">xs:time</a> type.
- * A gDay specifies only a day-of-month.
- * <p>
- * Convertible to {@link Calendar} or {@link GDate}.
- * 
- * @see XmlCalendar
- * @see GDate
- */ 
-public interface XmlTime extends XmlAnySimpleType
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_time");
-    
-    /** Returns this value as a {@link Calendar} */
-    Calendar getCalendarValue();
-    /** Sets this value as a {@link Calendar} */
-    void setCalendarValue(Calendar c);
-    /** Returns this value as a {@link GDate} */
-    GDate getGDateValue();
-    /** Sets this value as a {@link GDateSpecification} */
-    void setGDateValue(GDate gd);
-
-    /**
-     * Returns this value as a {@link Calendar}
-     * @deprecated replaced with {@link #getCalendarValue}
-     **/
-    Calendar calendarValue();
-    /**
-     * Sets this value as a {@link Calendar}
-     * @deprecated replaced with {@link #setCalendarValue}
-     **/
-    void set(Calendar c);
-    /**
-     * Returns this value as a {@link GDate}
-     * @deprecated replaced with {@link #getGDateValue}
-     **/
-    GDate gDateValue();
-    /**
-     * Sets this value as a {@link GDateSpecification}
-     * @deprecated replaced with {@link #setGDateValue}
-     **/
-    void set(GDateSpecification gd);
-
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlTime}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlTime} */
-        public static XmlTime newInstance() {
-          return (XmlTime) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlTime} */
-        public static XmlTime newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlTime) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlTime} value */
-        public static XmlTime newValue(Object obj) {
-          return (XmlTime) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlTime} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12:00:00&lt;/xml-fragment&gt;</code>". */
-        public static XmlTime parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12:00:00&lt;/xml-fragment&gt;</code>". */
-        public static XmlTime parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from a File. */
-        public static XmlTime parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from a File. */
-        public static XmlTime parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from a URL. */
-        public static XmlTime parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlTime} fragment from a URL. */
-        public static XmlTime parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlTime} fragment from an InputStream. */
-        public static XmlTime parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from an InputStream. */
-        public static XmlTime parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from a Reader. */
-        public static XmlTime parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from a Reader. */
-        public static XmlTime parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from a DOM Node. */
-        public static XmlTime parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from a DOM Node. */
-        public static XmlTime parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from an XMLInputStream. */
-        public static XmlTime parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from an XMLInputStream. */
-        public static XmlTime parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlTime} fragment from an XMLStreamReader. */
-        public static XmlTime parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlTime} fragment from an XMLStreamReader. */
-        public static XmlTime parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlTime) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlToken.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlToken.java
deleted file mode 100644
index 1e0298e..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlToken.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- * <p>
- * A token is XML's best representation for a "whitespace insensitive string."
- * All carriage returns, linefeeds, and tabs are converted to ordinary space
- * characters (as with <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a>),
- * and furthermore, all contiguous runs of space are collapsed to single spaces,
- * and leading and trailing spaces are trimmed.
- * <p>
- * If you want <code>"&nbsp;&nbsp;high&nbsp;&nbsp;priority&nbsp;&nbsp;"</code>
- * to be equivalent to <code>"high priority"</code>, you should consider
- * using xs:token or a subtype of xs:token.
- * <p>
- * When the {@link #stringValue} is obtained from an XmlToken, the normalized,
- * trimmed, whitespace collapsed value is returned.
- * <p>
- * Convertible to {@link String}.
- */ 
-public interface XmlToken extends XmlNormalizedString
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_token");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlToken}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlToken} */
-        public static XmlToken newInstance() {
-          return (XmlToken) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlToken} */
-        public static XmlToken newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlToken) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlToken} value */
-        public static XmlToken newValue(Object obj) {
-          return (XmlToken) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlToken} fragment from a String. For example: "<code>&lt;xml-fragment&gt;string to collapse&lt;/xml-fragment&gt;</code>". */
-        public static XmlToken parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from a String. For example: "<code>&lt;xml-fragment&gt;string to collapse&lt;/xml-fragment&gt;</code>". */
-        public static XmlToken parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from a File. */
-        public static XmlToken parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from a File. */
-        public static XmlToken parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from a URL. */
-        public static XmlToken parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlToken} fragment from a URL. */
-        public static XmlToken parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlToken} fragment from an InputStream. */
-        public static XmlToken parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from an InputStream. */
-        public static XmlToken parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from a Reader. */
-        public static XmlToken parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from a Reader. */
-        public static XmlToken parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from a DOM Node. */
-        public static XmlToken parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from a DOM Node. */
-        public static XmlToken parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from an XMLInputStream. */
-        public static XmlToken parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from an XMLInputStream. */
-        public static XmlToken parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlToken} fragment from an XMLStreamReader. */
-        public static XmlToken parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlToken} fragment from an XMLStreamReader. */
-        public static XmlToken parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlToken) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlTokenSource.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlTokenSource.java
deleted file mode 100644
index f37e112..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlTokenSource.java
+++ /dev/null
@@ -1,338 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.Writer;
-import java.io.File;
-import java.io.IOException;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.w3c.dom.Node;
-
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXException;
-
-/**
- * Represents a holder of XML that can return an {@link XmlCursor}
- * or copy itself to various media such as
- * {@link Writer Writers} or {@link File Files}.
- * Both {@link XmlObject}
- * (and thus all XML Beans) and {@link XmlCursor} are
- * XmlTokenSource implementations.
- * 
- * @see XmlObject
- * @see XmlCursor
- */ 
-public interface XmlTokenSource
-{
-    /**
-     * Returns the synchronization object for the document.  If concurrent
-     * multithreaded access to a document is required, the access should should
-     * be protected by synchronizing on this monitor() object.  There is one
-     * monitor per XML document tree.
-     */
-    Object monitor();
-    
-    /**
-     * Returns the XmlDocumentProperties object for the document this token
-     * source is associated with.
-     */
-    XmlDocumentProperties documentProperties();
-
-    /**
-     * Returns a new XML cursor.
-     *
-     * A cursor provides random access to all the tokens in the XML
-     * data, plus the ability to extract strongly-typed XmlObjects
-     * for the data. If the data is not read-only, the XML cursor
-     * also allows modifications to the data.
-     *
-     * Using a cursor for the first time typically forces the XML
-     * document into memory.
-     */
-    XmlCursor newCursor();
-
-    /**
-     * Returns a new XmlInputStream.
-     *
-     * The stream starts at the current begin-tag or begin-document
-     * position and ends at the matching end-tag or end-document.
-     *
-     * This is a fail-fast stream, so if the underlying data is changed
-     * while the stream is being read, the stream throws a
-     * ConcurrentModificationException.
-     *
-     * Throws an IllegalStateException if the XmlTokenSource is not
-     * positioned at begin-tag or begin-document (e.g., if it is at
-     * an attribute).
-     */
-    XMLInputStream newXMLInputStream();
-    
-    /**
-     * Returns a new XMLStreamReader.
-     *
-     * The stream starts at the current begin-tag or begin-document
-     * position and ends at the matching end-tag or end-document.
-     *
-     * This is a fail-fast stream, so if the underlying data is changed
-     * while the stream is being read, the stream throws a
-     * ConcurrentModificationException.
-     */
-    XMLStreamReader newXMLStreamReader();
-    
-    /**
-     * Returns standard XML text.
-     *
-     * The text returned represents the document contents starting at
-     * the current begin-tag or begin-document and ending at the matching
-     * end-tag or end-document. This is same content as newReader, but
-     * it is returned as a single string.
-     *
-     * Throws an IllegalStateException if the XmlTokenSource is not
-     * positioned at begin-tag or begin-document (e.g., if it is at
-     * an attribute).
-     */
-    String xmlText();
-
-    /**
-     * Returns a new stream containing standard XML text, encoded
-     * according to the given encoding.
-     *
-     * The byte stream contains contents starting at the current
-     * begin-tag or begin-document and ending at the matching
-     * end-tag or end-document.  The specified encoding is used
-     * and also emitted in a PI at the beginning of the stream.
-     *
-     * This is a fail-fast stream, so if the underlying data is changed
-     * while the stream is being read, the stream throws a
-     * ConcurrentModificationException.
-     *
-     * Throws an IllegalStateException if the XmlTokenSource is not
-     * positioned at begin-tag or begin-document (e.g., if it is at
-     * an attribute).
-     */
-    InputStream newInputStream();
-
-    /**
-     * Returns a new character reader containing XML text.
-     *
-     * The contents of the reader represents the document contents
-     * starting at the current begin-tag or begin-document and ending at
-     * the matching end-tag or end-document.  No encoding annotation
-     * will be made in the text itself.
-     *
-     * This is a fail-fast reader, so if the underlying data is changed
-     * while the reader is being read, the reader throws a
-     * ConcurrentModificationException.
-     *
-     * Throws an IllegalStateException if the XmlTokenSource is not
-     * positioned at begin-tag or begin-document (e.g., if it is at
-     * an attribute).
-     */
-    Reader newReader();
-    
-    /**
-     * Returns a W3C DOM Node containing the XML
-     * represented by this source.  This is a copy of the XML, it is
-     * not a live with the underlying store of this token source.
-     * If this is the document node, then a Document is returned, else
-     * a DocumentFragment is returned.
-     */
-    Node newDomNode();
-
-    /**
-     * Returns a W3C DOM Node containing the XML represented by this source.
-     * This is a live DOM node, not a copy.  Any changes made through this node
-     * are immediately reflected in the document associated with this token
-     * source.  Depending on the kind of token this XmlTokenSource represents,
-     * an appropriate node will be returned.
-     */
-    Node getDomNode();
-
-    /**
-     * Writes the XML represented by this source to the given SAX content and
-     * lexical handlers.
-     */
-    void save ( ContentHandler ch, LexicalHandler lh ) throws SAXException;
-    
-    /**
-     * Writes the XML represented by this source to the given File.
-     */
-    void save ( File file ) throws IOException;
-    
-    /**
-     * Writes the XML represented by this source to the given output stream.
-     */
-    void save ( OutputStream os ) throws IOException;
-
-    /**
-     * Writes the XML represented by this source to the given output.
-     */
-    void save ( Writer w ) throws IOException;
-
-    /**
-     * <p>Just like newXMLInputStream() but with any of a number of options. Use the 
-     * <em>options</em> parameter to specify the following:</p>
-     * 
-     * <table>
-     * <tr><th>To specify this</th><th>Use this method</th></tr>
-     * <tr>
-     *  <td>The character encoding to use when converting the character
-     *  data in the XML to bytess.</td>
-     *  <td>{@link XmlOptions#setCharacterEncoding}</td>
-     * </tr>
-     * <tr>
-     *  <td>Prefix-to-namespace mappings that should be assumed
-     *  when saving this XML. This is useful when the resulting
-     *  XML will be part of a larger XML document, ensuring that this 
-     *  inner document will take advantage of namespaces defined in 
-     *  the outer document.</td>
-     *  <td>{@link XmlOptions#setSaveImplicitNamespaces}</td>
-     * </tr>
-     * <tr>
-     *  <td>Suggested namespace prefixes to use when saving. Used only
-     *  when a namespace attribute needs to be synthesized.</td>
-     *  <td>{@link XmlOptions#setSaveSuggestedPrefixes}</td>
-     * </tr>
-     * <tr>
-     *  <td>That namespace attributes should occur first in elements when
-     * the XML is saved. By default, they occur last.</td>
-     *  <td>{@link XmlOptions#setSaveNamespacesFirst}</td>
-     * </tr>
-     * <tr>
-     *  <td>The XML should be pretty printed when saved. Note that this 
-     *  should only be used for debugging.</td>
-     *  <td>{@link XmlOptions#setSavePrettyPrint}</td>
-     * </tr>
-     * <tr>
-     *  <td>The number of spaces to use when indenting for pretty printing. 
-     *  The default is 2.</td>
-     *  <td>{@link XmlOptions#setSavePrettyPrintIndent}</td>
-     * </tr>
-     * <tr>
-     *  <td>The additional number of spaces indented from the left
-     *  for pretty printed XML.</td>
-     *  <td>{@link XmlOptions#setSavePrettyPrintOffset}</td>
-     * </tr>
-     * <tr>
-     *  <td>To minimize the number of namespace attributes generated for the 
-     *  saved XML. Note that this can reduce performance significantly.</td>
-     *  <td>{@link XmlOptions#setSaveAggresiveNamespaces}</td>
-     * </tr>
-     * <tr>
-     *  <td>To reduce the size of the saved document
-     *  by allowing the use of the default namespace. Note that this can 
-     *  potentially change the semantic meaning of the XML if unprefixed QNames are 
-     *  present as the value of an attribute or element.</td>
-     *  <td>{@link XmlOptions#setUseDefaultNamespace}</td>
-     * </tr>
-     * <tr>
-     *  <td>To filter out processing instructions with the specified target name.</td>
-     *  <td>{@link XmlOptions#setSaveFilterProcinst}</td>
-     * </tr>
-     * <tr>
-     *  <td>Change the QName of the synthesized root element when saving. This 
-     *  replaces "xml-fragment" with "fragment" in the namespace 
-     *  http://www.openuri.org/fragment</td>
-     *  <td>{@link XmlOptions#setSaveUseOpenFrag}</td>
-     * </tr>
-     * <tr>
-     *  <td>Saving should begin on the element's contents.</td>
-     *  <td>{@link XmlOptions#setSaveInner}</td>
-     * </tr>
-     * <tr>
-     *  <td>Saving should begin on the element, rather than its contents.</td>
-     *  <td>{@link XmlOptions#setSaveOuter}</td>
-     * </tr>
-     * <tr>
-     *  <td>To rename the document element, or to specify the document element
-     *  for this XML.</td>
-     *  <td>{@link XmlOptions#setSaveSyntheticDocumentElement}</td>
-     * </tr>
-     * </table>
-     * 
-     * @see XmlOptions
-     * 
-     * @param options Any of the described options.
-     * @return A new validating XMLInputStream.
-     */
-    XMLInputStream newXMLInputStream(XmlOptions options);
-
-    /**
-     * Just like newXMLInputStream() but with options.
-     * Options map may be null.
-     * @see XmlOptions
-     */
-    XMLStreamReader newXMLStreamReader(XmlOptions options);
-    
-    /**
-     * Just like xmlText() but with options.
-     * Options map may be null.
-     * @see XmlOptions
-     */
-    String xmlText(XmlOptions options);
-    
-    /**
-     *
-     * Just like newInputStream(String encoding) but with options.
-     * Options map may be null.
-     * @see XmlOptions
-     */
-    InputStream newInputStream(XmlOptions options);
-    
-    /**
-     * Just like newReader() but with options.
-     * Options map may be null.
-     * @see XmlOptions
-     */
-    Reader newReader(XmlOptions options);
-    
-    /**
-     * Just like newDomNode() but with options.
-     * Options map may be null.
-     * @see XmlOptions
-     */
-
-    Node newDomNode(XmlOptions options);
-    
-    /**
-     * Writes the XML represented by this source to the given SAX content and
-     * lexical handlers.
-     */
-    void save ( ContentHandler ch, LexicalHandler lh, XmlOptions options ) throws SAXException;
-    
-    /**
-     * Writes the XML represented by this source to the given File.
-     */
-    void save ( File file, XmlOptions options ) throws IOException;
-    
-    /**
-     * Writes the XML represented by this source to the given output stream.
-     */
-    void save ( OutputStream os, XmlOptions options ) throws IOException;
-
-    /**
-     * Writes the XML represented by this source to the given output.
-     */
-    void save ( Writer w, XmlOptions options ) throws IOException;
-}
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedByte.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedByte.java
deleted file mode 100644
index f15c4c5..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedByte.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedByte">xs:unsignedByte</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be in the range 0..255 when validating.
- * <p>
- * As suggested by JAXB, convertible to Java short.
- */ 
-public interface XmlUnsignedByte extends XmlUnsignedShort
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_unsignedByte");
-    
-    /** Returns this value as a short */
-    public short getShortValue();
-    /** Sets this value as a short */
-    public void setShortValue(short s);
-
-    /**
-     * Returns this value as a short
-     * @deprecated replaced with {@link #getShortValue}
-     **/
-    public short shortValue();
-    /**
-     * Sets this value as a short
-     * @deprecated replaced with {@link #setShortValue}
-     **/
-    public void set(short s);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlUnsignedByte}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlUnsignedByte} */
-        public static XmlUnsignedByte newInstance() {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlUnsignedByte} */
-        public static XmlUnsignedByte newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlUnsignedByte} value */
-        public static XmlUnsignedByte newValue(Object obj) {
-          return (XmlUnsignedByte) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedByte parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedByte parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a File. */
-        public static XmlUnsignedByte parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a File. */
-        public static XmlUnsignedByte parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a URL. */
-        public static XmlUnsignedByte parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlUnsignedByte} fragment from a URL. */
-        public static XmlUnsignedByte parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlUnsignedByte} fragment from an InputStream. */
-        public static XmlUnsignedByte parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from an InputStream. */
-        public static XmlUnsignedByte parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a Reader. */
-        public static XmlUnsignedByte parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a Reader. */
-        public static XmlUnsignedByte parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a DOM Node. */
-        public static XmlUnsignedByte parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from a DOM Node. */
-        public static XmlUnsignedByte parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from an XMLInputStream. */
-        public static XmlUnsignedByte parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from an XMLInputStream. */
-        public static XmlUnsignedByte parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from an XMLStreamReader. */
-        public static XmlUnsignedByte parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedByte} fragment from an XMLStreamReader. */
-        public static XmlUnsignedByte parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedInt.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedInt.java
deleted file mode 100644
index e980331..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedInt.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedInt">xs:unsignedInt</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be in the range 0..4294967295 when validating.
- * <p>
- * Convertible to Java long.
- */ 
-public interface XmlUnsignedInt extends XmlUnsignedLong
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_unsignedInt");
-    
-    /** Returns this value as a long */
-    long getLongValue();
-    /** Sets this value as a long */
-    void setLongValue(long v);
-
-    /**
-     * Returns this value as a long
-     * @deprecated replaced with {@link #getLongValue}
-     **/
-    long longValue();
-    /**
-     * Sets this value as a long
-     * @deprecated replaced with {@link #setLongValue}
-     **/
-    void set(long v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlUnsignedInt}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlUnsignedInt} */
-        public static XmlUnsignedInt newInstance() {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlUnsignedInt} */
-        public static XmlUnsignedInt newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlUnsignedInt} value */
-        public static XmlUnsignedInt newValue(Object obj) {
-          return (XmlUnsignedInt) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedInt parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedInt parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a File. */
-        public static XmlUnsignedInt parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a File. */
-        public static XmlUnsignedInt parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a URL. */
-        public static XmlUnsignedInt parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlUnsignedInt} fragment from a URL. */
-        public static XmlUnsignedInt parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlUnsignedInt} fragment from an InputStream. */
-        public static XmlUnsignedInt parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from an InputStream. */
-        public static XmlUnsignedInt parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a Reader. */
-        public static XmlUnsignedInt parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a Reader. */
-        public static XmlUnsignedInt parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a DOM Node. */
-        public static XmlUnsignedInt parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from a DOM Node. */
-        public static XmlUnsignedInt parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from an XMLInputStream. */
-        public static XmlUnsignedInt parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from an XMLInputStream. */
-        public static XmlUnsignedInt parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from an XMLStreamReader. */
-        public static XmlUnsignedInt parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedInt} fragment from an XMLStreamReader. */
-        public static XmlUnsignedInt parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlUnsignedInt) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedLong.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedLong.java
deleted file mode 100644
index 706c48d..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedLong.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-import java.math.BigInteger;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedLong">xs:unsignedLong</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be in the range 0..2<super>64</super>-1 when validating.
- * <p>
- * Convertible to {@link BigInteger}.
- */ 
-public interface XmlUnsignedLong extends XmlNonNegativeInteger
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_unsignedLong");
-    
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlUnsignedLong}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlUnsignedLong} */
-        public static XmlUnsignedLong newInstance() {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlUnsignedLong} */
-        public static XmlUnsignedLong newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlUnsignedLong} value */
-        public static XmlUnsignedLong newValue(Object obj) {
-          return (XmlUnsignedLong) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedLong parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedLong parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a File. */
-        public static XmlUnsignedLong parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a File. */
-        public static XmlUnsignedLong parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a URL. */
-        public static XmlUnsignedLong parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlUnsignedLong} fragment from a URL. */
-        public static XmlUnsignedLong parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlUnsignedLong} fragment from an InputStream. */
-        public static XmlUnsignedLong parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from an InputStream. */
-        public static XmlUnsignedLong parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a Reader. */
-        public static XmlUnsignedLong parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a Reader. */
-        public static XmlUnsignedLong parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a DOM Node. */
-        public static XmlUnsignedLong parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from a DOM Node. */
-        public static XmlUnsignedLong parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from an XMLInputStream. */
-        public static XmlUnsignedLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from an XMLInputStream. */
-        public static XmlUnsignedLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from an XMLStreamReader. */
-        public static XmlUnsignedLong parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedLong} fragment from an XMLStreamReader. */
-        public static XmlUnsignedLong parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedShort.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedShort.java
deleted file mode 100644
index 8c423f3..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlUnsignedShort.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans;
-
-import javax.xml.stream.XMLStreamReader;
-
-
-/**
- * Corresponds to the XML Schema
- * <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedShort">xs:unsignedShort</a> type.
- * One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- * <p>
- * Verified to be in the range 0..65535 when validating.
- * <p>
- * Convertible to a Java int.
- */ 
-public interface XmlUnsignedShort extends XmlUnsignedInt
-{
-    /** The constant {@link SchemaType} object representing this schema type. */
-    public static final SchemaType type = XmlBeans.getBuiltinTypeSystem().typeForHandle("_BI_unsignedShort");
-    
-    /** Returns this value as an int */
-    int getIntValue();
-    /** Sets this value as an int */
-    void setIntValue(int v);
-
-    /**
-     * Returns this value as an int
-     * @deprecated replaced with {@link #getIntValue}
-     **/
-    int intValue();
-    /**
-     * Sets this value as an int
-     * @deprecated replaced with {@link #setIntValue}
-     **/
-    void set(int v);
-
-    /**
-     * A class with methods for creating instances
-     * of {@link XmlUnsignedShort}.
-     */
-    public static final class Factory
-    {
-        /** Creates an empty instance of {@link XmlUnsignedShort} */
-        public static XmlUnsignedShort newInstance() {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        /** Creates an empty instance of {@link XmlUnsignedShort} */
-        public static XmlUnsignedShort newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** Creates an immutable {@link XmlUnsignedShort} value */
-        public static XmlUnsignedShort newValue(Object obj) {
-          return (XmlUnsignedShort) type.newValue( obj ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedShort parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( s, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>". */
-        public static XmlUnsignedShort parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( s, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a File. */
-        public static XmlUnsignedShort parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( f, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a File. */
-        public static XmlUnsignedShort parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( f, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a URL. */
-        public static XmlUnsignedShort parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-
-        /** Parses a {@link XmlUnsignedShort} fragment from a URL. */
-        public static XmlUnsignedShort parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-
-        /** Parses a {@link XmlUnsignedShort} fragment from an InputStream. */
-        public static XmlUnsignedShort parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from an InputStream. */
-        public static XmlUnsignedShort parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a Reader. */
-        public static XmlUnsignedShort parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a Reader. */
-        public static XmlUnsignedShort parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a DOM Node. */
-        public static XmlUnsignedShort parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from a DOM Node. */
-        public static XmlUnsignedShort parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from an XMLInputStream. */
-        public static XmlUnsignedShort parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from an XMLInputStream. */
-        public static XmlUnsignedShort parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from an XMLStreamReader. */
-        public static XmlUnsignedShort parse(javax.xml.stream.XMLStreamReader xsr) throws org.apache.xmlbeans.XmlException {
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( xsr, type, null ); }
-        
-        /** Parses a {@link XmlUnsignedShort} fragment from an XMLStreamReader. */
-        public static XmlUnsignedShort parse(javax.xml.stream.XMLStreamReader xsr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException{
-          return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( xsr, type, options ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** Returns a validating XMLInputStream. */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}
-
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/XmlValidationError.java b/v2/src/xmlpublic/org/apache/xmlbeans/XmlValidationError.java
deleted file mode 100644
index ee55a82..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/XmlValidationError.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*   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.
- */
-/*
-* Contributed by Dutta Satadip for adding functionality to retrieve xml validation errors
-* programatically.
-*/
-package org.apache.xmlbeans;
-
-import java.util.List;
-import org.apache.xmlbeans.XmlError;
-import javax.xml.namespace.QName;
-
-/**
- * The XmlValidationError class extends the {@link XmlError }XMLError class. The XML Validator contains
- * extra attributes that can be used to construct the XML validation error programatically.
- * <p>
- * To extract the validation error cast the errors to XmlValidationError instead of
- * XmlError for example:
- * <br/>
- * <pre>
- * xobj.validate(new XmlOptions().setErrorListener(errors))
- * for (Iterator it = errors.iterator(); it.hasNext(); )
- * {
- *      XmlError err = (XmlError)it.next());
- *      if (err instanceof XmlValidationError)
- *      {
- *          XmlValidationError validationError = (XmlValidationError) err;
- *     }
- * }
- *</pre>
- *
- *
- * Whenever an XmlValidationError is retrieved it will always be populated with
- * the following information:
- * <ul>
- * <li>Message</li>
- * <li>Severity</li>
- * <li>Error Type </li>
- * </ul>
- *
- * <p>
- *  The error type is very important because the other attributes of the
- * XMLValidationError are populated based on the error type.
- * </p>
- * if errortype == INCORRECT_ELEMENT then
- * <br/>
- *      offendingQName, badSchemaType will always be present, however expectedSchemaType and
- *      expectedQNames are available only if it is possible to determine them during vaildation.
- *<br/>
- *
- * <p>
- * if errortype == ELEMENT_NOT_ALLOWED then
- * <br/>
- *      badSchemaType will always be present, however expectedSchemaType and
- *      offendingQName are available only if it is possible to determine them during vaildation.
- * <br/>
- *
- * <p>
- * if errortype == INCORRECT_ATTRIBUTE then
- * <br/>
- *      offendingQName, badSchemaType will always be present
- * <br/>
- *
- * <p>
- * if errortype == ATTRIBUTE_TYPE_INVALID  then
- * <br/>
- *      no other addtional attributes are populated
- * <br/>
- *
- * <p>
- * if errortype == LIST_INVALID  then
- * <br/>
- *      expectedSchemaType will always be present
- * <br/>
- *
- * <p>
- * if errortype == UNION_INVALID  then
- * <br/>
- *      expectedSchemaType will always be present
- * <br/>
- *
- *
- * <p>
- * if errortype == NIL_ELEMENT  then
- * <br/>
- *      offendingQName, expectedSchemaType and badSchemaType  will always be present
- * <br/>
- *
- * <p>
- * if errortype == ELEMENT_TYPE_INVALID  then
- * <br/>
- *      offendingQName  will always be present, other attributes may be available
- * <br/>
- */
-
-public class XmlValidationError extends XmlError
-{
-
-    public static final int INCORRECT_ELEMENT = 1;
-    public static final int ELEMENT_NOT_ALLOWED = 2;
-    public static final int ELEMENT_TYPE_INVALID = 3;
-    public static final int NIL_ELEMENT = 4;
-
-    public static final int INCORRECT_ATTRIBUTE = 1000;
-    public static final int ATTRIBUTE_TYPE_INVALID = 1001;
-
-    public static final int LIST_INVALID = 2000;
-    public static final int UNION_INVALID = 3000;
-
-    public static final int UNDEFINED = 10000;
-
-    private QName _offendingQName;
-    private SchemaType _expectedSchemaType;
-
-    private List _expectedQNames;
-    private int _errorType;
-
-    private SchemaType _badSchemaType;
-
-    /**
-     * The static factory methods should be used instead of
-     * this constructor.
-     */
-    private XmlValidationError(String msg, int severity,
-        XmlCursor cursor, QName offendingQname, SchemaType expectedSchemaType,
-        List expectedQNames, int errorType, SchemaType badSchemaType)
-    {
-        super(msg, severity, cursor);
-
-        setOffendingQName(offendingQname);
-        setExpectedSchemaType(expectedSchemaType);
-        setExpectedQNames(expectedQNames);
-        setErrorType(errorType);
-        setBadSchemaType(badSchemaType);
-    }
-
-    public static XmlValidationError forCursorWithDetails( String msg, int severity,
-        XmlCursor cursor, QName offendingQname, SchemaType expectedSchemaType,
-        List expectedQNames, int errorType, SchemaType badSchemaType)
-    {
-        return new XmlValidationError(msg, severity, cursor, offendingQname,
-            expectedSchemaType, expectedQNames, errorType, badSchemaType);
-    }
-
-    public SchemaType getBadSchemaType()
-    {
-        return _badSchemaType;
-    }
-
-    public void setBadSchemaType(SchemaType _badSchemaType)
-    {
-        this._badSchemaType = _badSchemaType;
-    }
-
-    public int getErrorType()
-    {
-        return _errorType;
-    }
-
-    public void setErrorType(int _errorType)
-    {
-        this._errorType = _errorType;
-    }
-
-    public List getExpectedQNames()
-    {
-        return _expectedQNames;
-    }
-
-    public void setExpectedQNames(List _expectedQNames)
-    {
-        this._expectedQNames = _expectedQNames;
-    }
-
-    public QName getOffendingQName()
-    {
-        return _offendingQName;
-    }
-
-    public void setOffendingQName(QName _offendingQName)
-    {
-        this._offendingQName = _offendingQName;
-    }
-
-    public SchemaType getExpectedSchemaType()
-    {
-        return _expectedSchemaType;
-    }
-
-    public void setExpectedSchemaType(SchemaType _expectedSchemaType)
-    {
-        this._expectedSchemaType = _expectedSchemaType;
-    }
-}
\ No newline at end of file
diff --git a/v2/src/xmlpublic/org/apache/xmlbeans/package.html b/v2/src/xmlpublic/org/apache/xmlbeans/package.html
deleted file mode 100644
index 7276a85..0000000
--- a/v2/src/xmlpublic/org/apache/xmlbeans/package.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html>
-<head>
-</head>
-<body bgcolor="white">
-
-Provides classes for XML Beans schema, infoset, xpath, and xquery handling.
-
-<p>
-The XML Beans API is designed to work with the XML Beans <em>schema compiler</em>.
-The schema compiler produces XML Bean classes that extend and interact
-with the basic XML Bean classes and interfaces in this package.  It is
-also possible to use XML Beans without the schema compiler to manipulate
-and validate XML in a late-bound way (with no types, or with
-runtime-loaded types only).
-
-<p>
-This package contains:
-<ol>
-<li>All the built-in XML Bean classes 
-such as {@link org.apache.xmlbeans.XmlObject}, {@link org.apache.xmlbeans.XmlAnySimpleType}, and
-{@link org.apache.xmlbeans.XmlInt}
-(one for each of the 
-<a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#built-in-datatypes">46 built-in XML Schema types</a>).
-<li>Support for full XML infoset, XPath, and XQuery
-(via {@link org.apache.xmlbeans.XmlCursor}, {@link org.apache.xmlbeans.XmlObject#selectPath} and related methods).
-<li>Support for computation using XML Schema data types (via datatype
-classes such as {@link org.apache.xmlbeans.GDuration}).
-<li>Support for working with XML Schema type metadata itself
-(via {@link org.apache.xmlbeans.SchemaType}, {@link org.apache.xmlbeans.SchemaTypeSystem}, and related classes).
-</ol>
-
-<p>
-The place to begin when working with the XML Beans API is the following
-fundamental classes:
-
-<ol>
-<li>{@link org.apache.xmlbeans.XmlObject} is the base class for all XML Beans.
-<li>{@link org.apache.xmlbeans.XmlObject.Factory} is used to load and create XML Bean instances.
-Each XML Bean class has its own nested factory class.
-<li>{@link org.apache.xmlbeans.XmlCursor} is an efficient treewalking API for the full XML infoset.
-<li>{@link org.apache.xmlbeans.SchemaType} is the type metadata interface for XML Schema types
-<li>{@link org.apache.xmlbeans.XmlBeans} provides a collection of utility functions.
-</ol>
-
-</body>
-</html>
diff --git a/v2/src/xmlschema/schema/XML.xsd b/v2/src/xmlschema/schema/XML.xsd
deleted file mode 100644
index ff8add9..0000000
--- a/v2/src/xmlschema/schema/XML.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >
-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
-
- <xs:annotation>
-  <xs:documentation>
-   See http://www.w3.org/XML/1998/namespace.html and
-   http://www.w3.org/TR/REC-xml for information about this namespace.
-  </xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
-  <xs:documentation>This schema defines attributes and an attribute group
-        suitable for use by
-        schemas wishing to allow xml:base, xml:lang or xml:space attributes
-        on elements they define.
-
-        To enable this, such a schema must import this schema
-        for the XML namespace, e.g. as follows:
-        &lt;schema . . .>
-         . . .
-         &lt;import namespace="http://www.w3.org/XML/1998/namespace"
-                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
-
-        Subsequently, qualified reference to any of the attributes
-        or the group defined below will have the desired effect, e.g.
-
-        &lt;type . . .>
-         . . .
-         &lt;attributeGroup ref="xml:specialAttrs"/>
- 
-         will define a type which will schema-validate an instance
-         element with any of those attributes</xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
-  <xs:documentation>In keeping with the XML Schema WG's standard versioning
-   policy, this schema document will persist at
-   http://www.w3.org/2001/03/xml.xsd.
-   At the date of issue it can also be found at
-   http://www.w3.org/2001/xml.xsd.
-   The schema document at that URI may however change in the future,
-   in order to remain compatible with the latest version of XML Schema
-   itself.  In other words, if the XML Schema namespace changes, the version
-   of this document at
-   http://www.w3.org/2001/xml.xsd will change
-   accordingly; the version at
-   http://www.w3.org/2001/03/xml.xsd will not change.
-  </xs:documentation>
- </xs:annotation>
-
- <xs:attribute name="lang" type="xs:language">
-  <xs:annotation>
-   <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
-         codes as the enumerated possible values . . .</xs:documentation>
-  </xs:annotation>
- </xs:attribute>
-
- <xs:attribute name="space" default="preserve">
-  <xs:simpleType>
-   <xs:restriction base="xs:NCName">
-    <xs:enumeration value="default"/>
-    <xs:enumeration value="preserve"/>
-   </xs:restriction>
-  </xs:simpleType>
- </xs:attribute>
-
- <xs:attribute name="base" type="xs:anyURI">
-  <xs:annotation>
-   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
-                     information about this attribute.</xs:documentation>
-  </xs:annotation>
- </xs:attribute>
-
- <xs:attributeGroup name="specialAttrs">
-  <xs:attribute ref="xml:base"/>
-  <xs:attribute ref="xml:lang"/>
-  <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
-
-</xs:schema>
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Cursor.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Cursor.java
deleted file mode 100644
index f6a4a9b..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Cursor.java
+++ /dev/null
@@ -1,4310 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.impl.common.XMLChar;
-import org.apache.xmlbeans.impl.common.GlobalLock;
-import org.apache.xmlbeans.impl.store.Root.ChangeListener;
-import org.apache.xmlbeans.impl.store.Saver.XmlInputStreamImpl;
-import org.apache.xmlbeans.impl.store.Splay.Annotation;
-import org.apache.xmlbeans.impl.store.Splay.Attr;
-import org.apache.xmlbeans.impl.store.Splay.Begin;
-import org.apache.xmlbeans.impl.store.Splay.Comment;
-import org.apache.xmlbeans.impl.store.Splay.CursorGoober;
-import org.apache.xmlbeans.impl.store.Splay.Goober;
-import org.apache.xmlbeans.impl.store.Splay.Procinst;
-import org.apache.xmlbeans.impl.store.Splay.Xmlns;
-import org.apache.xmlbeans.XmlCursor.ChangeStamp;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlLineNumber;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlRuntimeException;
-
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.File;
-import java.io.Writer;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.ConcurrentModificationException;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.HashMap;
-import java.util.Map;
-import javax.xml.namespace.QName;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.Location;
-import org.w3c.dom.Node;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXException;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-public final class Cursor implements XmlCursor, ChangeListener
-{
-    Cursor ( Root r, Splay s )        { assert s != null; _goober = new CursorGoober( r ); set( s ); }
-    Cursor ( Root r, Splay s, int p ) { assert s != null; _goober = new CursorGoober( r ); set( s, p ); }
-
-    protected void finalize ( )
-    {
-        Splay s = getSplay();
-
-        if (s != null)
-        {
-            dispose();
-        }
-    }
-
-    //
-    //
-    //
-
-    public Object monitor()
-    {
-        return getRoot();
-    }
-
-    Root  getRoot ( ) { return _goober.getRoot(); }
-
-    Splay getSplay ( ) { return _goober.getSplay(); }
-    int   getPos   ( ) { return _goober.getPos(); }
-
-    void set ( Splay s, int p ) { _goober.set( s, p ); }
-    void set ( Splay s        ) { _goober.set( s, 0 ); }
-    void set ( int p          ) { _goober.set( p ); }
-    void set ( Goober g       ) { _goober.set( g ); }
-
-    int getPostCch ( )
-    {
-        int p = getPos();
-
-        if (p == 0)
-            return 0;
-
-        Splay s = getSplay();
-
-        int pa = s.getPosAfter();
-
-        assert p >= pa || s.isLeaf();
-
-        return p >= pa ? s.getCchAfter() - p + pa : s.getPosLeafEnd() - p;
-    }
-
-    int getPreCch ( )
-    {
-        // TODO - quick and dirty impl, improve
-
-        Splay sOrig = getSplay();
-        int   pOrig = getPos();
-
-        int n = toPrevChar( -1 );
-
-        set( sOrig, pOrig );
-
-        return n;
-    }
-
-    private void checkDisposed ( )
-    {
-        checkDisposed( this );
-    }
-
-    private static void checkDisposed ( Cursor c )
-    {
-        if (c.isDisposed())
-            throw new IllegalStateException( "Cursor has been disposed" );
-    }
-
-    boolean isDisposed ( )
-    {
-        return getSplay() == null;
-    }
-
-    //
-    // XmlCursor Methods
-    //
-
-    public void dispose ( )
-    {
-        synchronized ( monitor() )
-        {
-            if (!isDisposed())
-            {
-                clearSelections();
-
-                if (_stack != null)
-                    _stack.dispose();
-
-                set( (Splay) null );
-            }
-        }
-    }
-
-    public XmlObject getObject ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Root r = getRoot();
-
-            if (getPos() > 0)
-                return null;
-
-            Splay s = getSplay();
-
-            if (!s.isTypeable())
-                return null;
-
-            Type t = s.getType( r );
-
-            assert t != null;
-
-            XmlObject result = t.getXmlObject();
-            assert result != null;
-            return result;
-        }
-    }
-
-    public boolean toCursor ( XmlCursor moveTo )
-    {
-        if (moveTo == null)
-            throw new IllegalArgumentException( "Invalid destination cursor" );
-
-        if (monitor() == moveTo.monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return toCursorImpl( moveTo );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (moveTo.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return toCursorImpl( moveTo );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private boolean toCursorImpl ( XmlCursor moveTo )
-    {
-        checkDisposed();
-
-        Cursor c = null;
-
-        if (moveTo instanceof Cursor)
-        {
-            c = (Cursor) moveTo;
-
-            checkDisposed( c );
-
-            if (c.getRoot() != getRoot())
-                c = null;
-        }
-
-        if (c == null)
-            return false;
-
-        set( c._goober );
-
-        return true;
-    }
-
-    public XmlDocumentProperties documentProperties ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return getRoot().documentProperties();
-        }
-    }
-
-    public XmlCursor newCursor ( )
-    {   
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return new Cursor( getRoot(), getSplay(), getPos() );
-        }
-    }
-
-    public boolean toBookmark ( XmlBookmark bm )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (bm == null)
-                return false;
-
-            if (!(bm._currentMark instanceof Annotation))
-                return false;
-
-            Annotation a = (Annotation) bm._currentMark;
-
-            if (a.getRoot() != getRoot())
-                return false;
-
-            assert a.getSplay() != null;
-
-            set( a );
-
-            return true;
-        }
-    }
-
-    public XmlBookmark toNextBookmark ( Object key )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (key == null)
-                return null;
-
-            Splay sOrig = getSplay();
-            int   pOrig = getPos();
-
-            TokenType tt = currentTokenType();
-
-            // Advance the cursor past the current spot by the minimun amount
-
-            if (tt.isText())
-            {
-                toNextChar( 1 );
-                tt = currentTokenType();
-            }
-            else if ((tt = toNextToken()).isNone())
-            {
-                set( sOrig, pOrig );
-                return null;
-            }
-
-            for ( ; ; )
-            {
-                XmlBookmark bm = getBookmark( key );
-
-                if (bm != null)
-                    return bm;
-
-                int postCch;
-
-                if (tt.isText() && (postCch = getPostCch()) > 1)
-                {
-                    Splay s = getSplay();
-                    int   p = getPos();
-                    int   d = postCch;
-
-                    for ( Goober g = s.firstGoober() ; g != null ;
-                          g = s.nextGoober( g ) )
-                    {
-                        int dist;
-                        XmlBookmark mark;
-
-                        if (g.isAnnotation() && (dist = g.getPos() - p) > 1 &&
-                                dist < d && (mark = g.getBookmark()) != null &&
-                                    mark.getKey().equals( key ))
-                        {
-                            bm = mark;
-                            d = dist;
-                        }
-                    }
-
-                    if (bm != null)
-                    {
-                        set( s, p + d );
-                        return bm;
-                    }
-                }
-
-                if ((tt = toNextToken()).isNone())
-                {
-                    set( sOrig, pOrig );
-                    return null;
-                }
-            }
-        }
-    }
-
-    public XmlBookmark toPrevBookmark ( Object key )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (key == null)
-                return null;
-
-            Splay sOrig = getSplay();
-            int   pOrig = getPos();
-
-            TokenType tt = prevTokenType();
-
-            // Retreat the cursor past the current spot by the minimun amount
-
-            if (tt.isText())
-            {
-                toPrevChar( 1 );
-                tt = prevTokenType();
-            }
-            else if (toPrevToken().isNone())
-            {
-                set( sOrig, pOrig );
-                return null;
-            }
-            else
-                tt = prevTokenType();
-
-            for ( ; ; )
-            {
-                XmlBookmark bm = getBookmark( key );
-
-                if (bm != null)
-                    return bm;
-
-                int preCch;
-
-                if (tt.isText() && (preCch = getPreCch()) > 1)
-                {
-                    Splay s;
-                    int   p;
-
-                    if (getPos() == 0)
-                    {
-                        s = getSplay().prevNonAttrSplay();
-                        p = s.getEndPos();
-                    }
-                    else
-                    {
-                        s = getSplay();
-                        p = getPos();
-                    }
-
-                    int d = preCch;
-
-                    for ( Goober g = s.firstGoober() ; g != null ;
-                          g = s.nextGoober( g ) )
-                    {
-                        int dist;
-                        XmlBookmark mark;
-
-                        if (g.isAnnotation() && (dist = p - g.getPos()) > 1 &&
-                                dist < d && (mark = g.getBookmark()) != null &&
-                                    mark.getKey().equals( key ))
-                        {
-                            bm = mark;
-                            d = dist;
-                        }
-                    }
-
-                    if (bm != null)
-                    {
-                        set( s, p - d );
-                        return bm;
-                    }
-                }
-
-                if (tt.isText())
-                {
-                    toPrevChar( -1 );
-                    tt = prevTokenType();
-                }
-                else if (toPrevToken().isNone())
-                {
-                    set( sOrig, pOrig );
-                    return null;
-                }
-                else
-                    tt = prevTokenType();
-            }
-        }
-    }
-
-    public TokenType currentTokenType ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return getSplay().getTokenType( getPos() );
-        }
-    }
-
-    public boolean isStartdoc  ( ) { return currentTokenType().isStartdoc(); }
-    public boolean isEnddoc    ( ) { return currentTokenType().isEnddoc(); }
-    public boolean isStart     ( ) { return currentTokenType().isStart(); }
-    public boolean isEnd       ( ) { return currentTokenType().isEnd(); }
-    public boolean isText      ( ) { return currentTokenType().isText(); }
-    public boolean isAttr      ( ) { return currentTokenType().isAttr(); }
-    public boolean isNamespace ( ) { return currentTokenType().isNamespace(); }
-    public boolean isComment   ( ) { return currentTokenType().isComment(); }
-    public boolean isProcinst  ( ) { return currentTokenType().isProcinst(); }
-    public boolean isContainer ( ) { return currentTokenType().isContainer(); }
-    public boolean isFinish    ( ) { return currentTokenType().isFinish(); }
-    public boolean isAnyAttr   ( ) { return currentTokenType().isAnyAttr(); }
-
-    public TokenType prevTokenType ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            // TODO - quick and dirty implementation, improve
-
-            Splay sOrig = getSplay();
-            int   pOrig = getPos();
-
-            TokenType tt;
-
-            if (toPrevChar( 1 ) == 1)
-                tt = TokenType.TEXT;
-            else if (!(tt = toPrevToken()).isNone())
-                tt = currentTokenType();
-
-            set( sOrig, pOrig );
-
-            return tt;
-        }
-    }
-
-    public TokenType toNextToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay os = getSplay(); // Orignal splay
-            Splay s = os;
-            int   p = getPos();
-
-            if (p == 0)
-            {
-                if (s.isRoot())
-                    return TokenType.NONE;
-
-                //
-                // Look see if there is an attr we should visit before visiting
-                // any following content in this container.
-                //
-
-                if (s.isContainer())
-                {
-                    Splay t = s.nextSplay();
-
-                    if (t.isAttr())
-                    {
-                        set( t, 0 );
-                        return currentTokenType();
-                    }
-
-                    //
-                    // Now we're going into the content of this container.  Flush
-                    // out any cached type value.
-                    //
-
-                    s.ensureContentValid();
-                }
-
-                if (s.getMaxPos() > 0)
-                    p = 1;
-                else
-                {
-                    s = s.nextSplay();
-                    p = 0;
-                }
-            }
-            else
-            {
-                assert p > 0;
-                assert !s.isRoot();
-
-                if (p >= s.getPosAfter() && s.getCchAfter() > 0)
-                {
-                    s = s.nextSplay();
-                    p = 0;
-                }
-                else
-                {
-                    assert s.isLeaf();
-                    assert p < s.getPosAfter();
-
-                    if (p != s.getPosLeafEnd())
-                        p = s.getPosLeafEnd();
-                    else if (s.getCchAfter() > 0)
-                        p = s.getPosAfter();
-                    else
-                    {
-                        s = s.nextSplay();
-                        p = 0;
-                    }
-                }
-            }
-
-            //
-            // If we are transitioning from an attr to a non attr, see if there
-            // is content in a DOC or BEGIN which needs to be visited after
-            // the attributes.
-            //
-            // Also, if we are transitioning from an attr container (BEGIN or
-            // DOC) to an attr, where the attr container has interior content,
-            // we have already visited the attrs and must skip them now.
-            //
-            // Also, if we are transitioning from pos 0 to pos 1 on an attr
-            // container, we need to visit any attributes before visiting the
-            // interior content of the attr container.
-            //
-
-            if (p == 0)
-            {
-                if (!s.isAttr() && os.isAttr())
-                {
-                    Splay t = os.prevNonAttrSplay();
-
-                    assert t.isContainer();
-
-                    //
-                    // We're navigating to the content of a container.  Flush
-                    // out any cached type value.
-                    //
-
-                    t.ensureContentValid();
-
-                    if (t.getMaxPos() > 0)
-                    {
-                        s = t;
-                        p = 1;
-                    }
-                }
-                else if (s.isAttr() && !os.isAttr() && os.getMaxPos() > 0)
-                {
-                    assert os.isContainer();
-
-                    s = s.nextNonAttrSplay();
-                }
-            }
-
-            set( s, p );
-
-            return currentTokenType();
-        }
-    }
-
-    public TokenType toPrevToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-    // TODO - This code is not as compact as it can be, there is some redundancy
-    // -- rethink it later ...
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p == 1 && s.isInvalid())
-            {
-                assert s.isLeaf();
-                p += s.ensureContentValid();
-            }
-
-            if (p == 1 && s.isContainer())
-            {
-                Splay t = s.nextSplay();
-
-                if (t.isAttr())
-                {
-                    s = t;
-
-                    for ( t = t.nextSplay() ; t.isAttr() ; t = t.nextSplay() )
-                        s = t;
-
-                    set( s, 0 );
-
-                    return currentTokenType();
-                }
-            }
-
-            if (p == 0 && !s.isAttr())
-            {
-                if (s.isDoc())
-                    return TokenType.NONE;
-
-                Splay t = s.prevSplay();
-
-                if (t.isAttr())
-                {
-                    t = t.prevNonAttrSplay();
-
-                    assert t.isContainer();
-
-                    if (t.isDoc())
-                        t.ensureContentValid();
-
-                    if (t.getMaxPos() > 0)
-                    {
-                        set(
-                            t,
-                            t.getCchAfter() > 0 ? t.getPosAfter() : t.getMaxPos() );
-
-                        return currentTokenType();
-                    }
-                }
-            }
-
-            if (s.isAttr())
-            {
-                assert p == 0;
-
-                Splay t = s.prevSplay();
-
-                if (!t.isAttr())
-                {
-                    assert t.isContainer();
-
-                    set( t, 0 );
-                    return currentTokenType();
-                }
-            }
-
-            if (p == 0)
-            {
-                if (s.isDoc())
-                    return TokenType.NONE;
-
-                s = s.prevSplay();
-
-                if (s.isDoc())
-                    s.ensureContentValid();
-
-                p = s.getCchAfter() > 0 ? s.getPosAfter() : s.getMaxPos();
-            }
-            else
-            {
-                assert p > 0;
-                assert !s.isRoot();
-
-                int posAfter = s.getPosAfter();
-
-                if (p >= posAfter)
-                {
-                    assert s.getCchAfter() > 0;
-                    p = posAfter - 1;
-                }
-                else
-                {
-                    assert s.isValid();
-                    assert s.isLeaf();
-
-                    p = p > 1 && p == posAfter - 1 ? 1 : 0;
-                }
-            }
-
-            set( s, p );
-
-            return currentTokenType();
-        }
-    }
-
-    public void insertChars ( String text )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p == 0)
-            {
-                if (s.isDoc() || s.isAttr())
-                    throw new IllegalStateException( "Invalid location for text" );
-
-                s = s.prevNonAttrSplay();
-                p = s.getEndPos();
-            }
-
-            if (text == null)
-                return;
-
-            int cch = text.length();
-
-            if (cch > 0)
-                s.insertChars( p, getRoot(), text, 0, cch );
-        }
-    }
-
-    private static void validateLocalName ( QName name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "QName is null" );
-
-        validateLocalName( name.getLocalPart() );
-    }
-
-    private static void validateLocalName ( String name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Name is null" );
-
-        if (name.length() == 0)
-            throw new IllegalArgumentException( "Name is empty" );
-
-        if (!XMLChar.isValidNCName( name ))
-            throw new IllegalArgumentException( "Name is not valid" );
-    }
-
-    private static void validatePrefix ( String name )
-    {
-        if (name == null)
-            throw new IllegalArgumentException( "Prefix is null" );
-
-        if (name.length() == 0)
-            throw new IllegalArgumentException( "Prefix is empty" );
-
-        if (Splay.beginsWithXml( name ))
-            throw new IllegalArgumentException( "Prefix begins with 'xml'" );
-
-        if (!XMLChar.isValidNCName( name ))
-            throw new IllegalArgumentException( "Prefix is not valid" );
-    }
-
-    private void insertAttribute ( QName name, String value )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            insert( new Attr( name ), value );
-        }
-    }
-
-    public void insertAttribute ( String name )
-    {
-        insertAttributeWithValue( name, null, null );
-    }
-
-    public void insertAttribute ( String name, String uri )
-    {
-        insertAttributeWithValue( name, uri, null );
-    }
-
-    public void insertAttributeWithValue ( String name, String value )
-    {
-        insertAttributeWithValue( name, null, value );
-    }
-
-    public void insertAttributeWithValue (
-        String name, String uri, String value )
-    {
-        validateLocalName( name );
-
-        insertAttribute( new QName( uri, name ), value );
-    }
-
-    public void insertAttribute ( QName name )
-    {
-        validateLocalName( name );
-
-        insertAttribute( name, null );
-    }
-
-    public void insertAttributeWithValue ( QName name, String value )
-    {
-        validateLocalName( name );
-
-        insertAttribute( name, value );
-    }
-
-    public void insertNamespace ( String prefix, String namespace )
-    {
-        synchronized ( monitor() )
-        {
-            if (prefix == null)
-                prefix = "";
-            else if (prefix.length() > 0)
-                validatePrefix( prefix );
-
-            if (namespace == null)
-                namespace = "";
-
-            if (namespace.length() == 0 && prefix.length() > 0)
-            {
-                throw
-                    new IllegalArgumentException(
-                        "Can't map a prefix to no namespace" );
-            }
-
-            insert( new Xmlns( new QName( namespace, prefix ) ), null );
-        }
-    }
-
-    public void insertComment ( String value )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            insert( new Comment(), value );
-        }
-    }
-
-    public void insertProcInst ( String target, String value )
-    {
-        validatePrefix( target ); // used becuase "<?xml...?> is disallowed
-
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            insert( new Procinst( target ), value );
-        }
-    }
-
-    public void insertElement ( String name )
-    {
-        insertElementWithText( name, null, null );
-    }
-
-    public void insertElementWithText ( String name, String text )
-    {
-        insertElementWithText( name, null, text );
-    }
-
-    public void insertElement ( String name, String uri )
-    {
-        insertElementWithText( name, uri, null );
-    }
-
-    public void insertElement ( QName name )
-    {
-        insertElementWithText( name, null );
-    }
-
-    public void beginElement ( QName name )
-    {
-        insertElement( name );
-        toPrevToken();
-    }
-
-    public void beginElement ( String name )
-    {
-        insertElement( name );
-        toPrevToken();
-    }
-
-    public void beginElement ( String name, String uri )
-    {
-        insertElement( name, uri );
-        toPrevToken();
-    }
-
-    public void insertElementWithText ( QName name, String text )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            validateLocalName( name.getLocalPart() );
-
-            Begin b = new Begin( name, null );
-
-            b.toggleIsLeaf();
-
-            insert( b, text );
-        }
-    }
-
-    public void insertElementWithText ( String name, String uri, String text )
-    {
-        insertElementWithText( new QName( uri, name ), text );
-    }
-
-    void insert ( Splay sInsert, String value )
-    {
-        assert !isDisposed();
-        assert Root.dv > 0 || sInsert.getRootSlow() == null;
-        assert sInsert.getCch() == 0;
-
-        if (value != null)
-            sInsert.adjustCch( value.length() );
-
-        Splay s = getSplay();
-        int   p = getPos();
-
-        sInsert.checkInsertionValidity( 0, s, p, false );
-
-        if (value != null)
-            s.insert( getRoot(), p, sInsert, value, 0, value.length(), true );
-        else
-            s.insert( getRoot(), p, sInsert, null, 0, 0, true );
-
-        assert validate();
-    }
-
-    public String getTextValue ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || s.isFinish() || s.isXmlns())
-            {
-                throw new IllegalStateException(
-                    "Can't get text value, current token can have no text value" );
-            }
-
-            return getSplay().getText( getRoot() );
-        }
-    }
-
-    public int getTextValue ( char[] buf, int off, int cch )
-    {
-//        synchronized ( monitor() )
-//        {
-//            checkDisposed();
-//
-//            Splay s = getSplay();
-//
-//            if (getPos() > 0 || s.isFinish() || s.isXmlns())
-//            {
-//                throw new IllegalStateException(
-//                    "Can't get text value, current token can have no text value" );
-//            }
-//
-//            return getSplay().getText( getRoot() );
-//        }
-
-        // Hack impl for now
-
-        String s = getTextValue();
-
-        int n = s.length();
-
-        if (n > cch)
-            n = cch;
-
-        if (n <= 0)
-            return 0;
-
-        s.getChars( 0, n, buf, off );
-
-        return n;
-    }
-
-    public void setTextValue ( String text )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p > 0 || s.isXmlns() || s.isFinish())
-            {
-                throw new IllegalStateException(
-                    "Can't set text value, current token can have no text value" );
-            }
-
-
-            s.setText( getRoot(), text, 0, text == null ? 0 : text.length() );
-        }
-    }
-
-    public void setTextValue ( char[] buf, int off, int len )
-    {
-        setTextValue( String.copyValueOf( buf, off, len ) );
-    }
-
-    public String getChars ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            int cch = -1;
-
-            int postCch = getPostCch();
-
-            if (cch < 0 || cch > postCch)
-                cch = postCch;
-
-            return
-                getRoot()._text.fetch(
-                    getSplay().getCpForPos( getRoot(), getPos() ), cch );
-        }
-    }
-
-    public int getChars ( char[] buf, int off, int cch )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            int postCch = getPostCch();
-
-            if (cch < 0 || cch > postCch)
-                cch = postCch;
-
-            if (buf == null || off >= buf.length)
-                return 0;
-
-            if (buf.length - off < cch)
-                cch = buf.length - off;
-
-            getRoot()._text.fetch(
-                buf, off, getSplay().getCpForPos( getRoot(), getPos() ), cch );
-
-            return cch;
-        }
-    }
-
-    public void setBookmark ( XmlBookmark annotation )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (annotation == null)
-                return;
-
-            clearBookmark( annotation.getKey() );
-
-            Annotation a = new Annotation( getRoot(), annotation );
-
-            if (a._key == null)
-                throw new IllegalArgumentException( "Annotation key is null" );
-
-            a.set( _goober );
-            annotation._currentMark = a;
-        }
-    }
-
-    public XmlBookmark getBookmark ( Object key )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (key == null)
-                return null;
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            for ( Goober g = s.firstGoober() ; g != null ; g = s.nextGoober( g ) )
-            {
-                if (g.getKind() == Splay.ANNOTATION && g.getPos() == p)
-                {
-                    Annotation a = (Annotation) g;
-
-                    XmlBookmark xa = a.getXmlBookmark();
-
-                    if (xa != null && a._key.equals( key ))
-                        return xa;
-                }
-            }
-
-            return null;
-        }
-    }
-
-    public void clearBookmark ( Object key )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (key == null)
-                return;
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            for ( Goober g = s.firstGoober() ; g != null ; g = s.nextGoober( g ) )
-            {
-                if (g.getKind() == Splay.ANNOTATION && g.getPos() == p)
-                {
-                    Annotation a = (Annotation) g;
-
-                    XmlBookmark xa = a.getXmlBookmark();
-
-                    if (xa != null && a._key.equals( key ))
-                    {
-                        g.set( null, 0 );
-                        return;
-                    }
-                }
-            }
-        }
-    }
-
-    public void getAllBookmarkRefs ( Collection listToFill )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (listToFill == null)
-                return;
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            for ( Goober g = s.firstGoober() ; g != null ; g = s.nextGoober( g ) )
-            {
-                if (g.getKind() == Splay.ANNOTATION && g.getPos() == p)
-                    listToFill.add( ((Annotation) g).getXmlBookmark() );
-            }
-        }
-    }
-
-    public boolean hasNextToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            assert !getSplay().isRoot() || getPos() == 0;
-            return !getSplay().isRoot();
-        }
-    }
-
-    public boolean hasPrevToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return !getSplay().isDoc() || getPos() > 0;
-        }
-    }
-
-    public QName getName ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (getPos() > 0)
-                return null;
-
-            Splay s = getSplay();
-
-            switch ( s.getKind() )
-            {
-            case Splay.BEGIN :
-            case Splay.ATTR :
-            case Splay.PROCINST :
-                return s.getName();
-            }
-
-            return null;
-        }
-    }
-
-    public void setName ( QName name )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (name == null)
-                throw new IllegalArgumentException( "Name is null" );
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !(s.isBegin() || s.isAttr() || s.isProcinst()))
-            {
-                throw
-                    new IllegalStateException(
-                        "Can't set name here: " + currentTokenType() );
-            }
-
-            if (s.isProcinst())
-            {
-                validatePrefix( name.getLocalPart() );
-
-                if (name.getNamespaceURI().length() > 0)
-                {
-                    throw
-                        new IllegalArgumentException(
-                            "Procinst name must have no URI" );
-                }
-            }
-            else if (s.isXmlns())
-            {
-                if (name.getLocalPart().length() > 0)
-                    validatePrefix( name.getLocalPart() );
-            }
-            else
-                validateLocalName( name.getLocalPart() );
-
-            s.setName( getRoot(), name );
-        }
-    }
-
-    public int toNextChar ( int cch )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            int maxCch = getPostCch();
-
-            if (maxCch == 0 || cch == 0)
-                return 0;
-
-            if (cch < 0 || cch > maxCch)
-                cch = maxCch;
-
-            assert p + cch <= s.getEndPos();
-
-            if (p + cch == s.getEndPos())
-                toNextToken();
-            else
-                set( p + cch );
-
-            return cch;
-        }
-    }
-
-    public int toPrevChar ( int cch )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            Splay sText = s;  // The splay and pos where the text exists
-            int   pText = p;
-            int   maxCch = 0; // Max chars to move over
-
-            if (p == 0)
-            {
-                if (!s.isDoc() && !s.isAttr())
-                {
-                    sText = s.prevNonAttrSplay();
-                    pText = sText.getEndPos();
-                    maxCch = sText.getCchAfter();
-                }
-            }
-            else if (s.isLeaf() && p <= s.getPosLeafEnd())
-            {
-                int dCch = s.ensureContentValid();
-                p += dCch;
-                pText = p;
-                maxCch = p - 1;
-            }
-            else
-                maxCch = p - s.getPosAfter();
-
-            assert pText <= sText.getEndPos();
-
-            if (maxCch == 0 || cch == 0)
-                return 0;
-
-            if (cch < 0 || cch > maxCch)
-                cch = maxCch;
-
-            set( sText, pText - cch );
-
-            return cch;
-        }
-    }
-
-    public void toEndDoc ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            set( getRoot(), 0 );
-        }
-    }
-
-    public void toStartDoc ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            set( getRoot()._doc, 0 );
-        }
-    }
-
-    public TokenType toFirstContentToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !s.isContainer())
-                return TokenType.NONE;
-
-            s.ensureContentValid();
-
-            if (s.getCch() > 0 || s.isLeaf())
-                set( 1 );
-            else
-                set( s.nextNonAttrSplay(), 0 );
-
-            return currentTokenType();
-        }
-    }
-
-    public TokenType toEndToken ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !s.isContainer())
-                return TokenType.NONE;
-
-            if (s.isLeaf())
-                set( s.getPosLeafEnd() );
-            else
-                set( s.getFinishSplay() );
-
-            return currentTokenType();
-        }
-    }
-
-    public boolean toParent ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p == 0 && s.isDoc())
-                return false;
-
-            set( s.getContainer( p ), 0 );
-
-            return true;
-        }
-    }
-
-    public boolean toNextSibling ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p == 0)
-            {
-                if (s.isDoc())
-                    return false;
-
-                if (s.isBegin())
-                    s = s.getFinishSplay().nextSplay();
-            }
-            else
-            {
-                if (s.isLeaf() && p <= s.getPosLeafEnd())
-                    return false;
-
-                s = s.nextSplay();
-            }
-
-            for ( ; !s.isBegin() ; s = s.nextSplay() )
-            {
-                if (s.isFinish())
-                    return false;
-            }
-
-            set( s, 0 );
-
-            return true;
-        }
-    }
-
-    public boolean toNextSibling ( String name )
-    {
-        return toNextSibling( new QName( name ) );
-    }
-
-    public boolean toNextSibling ( String namespace, String name )
-    {
-        return toNextSibling( new QName( namespace, name ) );
-    }
-
-    public boolean toNextSibling ( QName name )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay sOriginal = getSplay();
-            int   pOriginal = getPos();
-
-            for ( ; ; )
-            {
-                if (!toNextSibling())
-                    break;
-
-                if (getName().equals( name ))
-                    return true;
-            }
-
-            set( sOriginal, pOriginal );
-
-            return false;
-        }
-    }
-
-    public boolean toPrevSibling ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            if (p == 0)
-            {
-                if (s.isDoc() || s.isAttr())
-                    return false;
-
-                s = s.prevSplay();
-            }
-            else
-            {
-                assert p > 0;
-
-                if (s.isContainer())
-                {
-                    if (s.isLeaf())
-                    {
-                        if (p <= s.getPosLeafEnd())
-                            return false;
-
-                        set( 0 );
-
-                        return true;
-                    }
-
-                    return false;
-                }
-            }
-
-            for ( ; ; )
-            {
-                if (s.isEnd())
-                {
-                    s = s.getContainer();
-                    break;
-                }
-
-                if (s.isLeaf())
-                    break;
-
-                if (s.isContainer())
-                    return false;
-
-                s = s.prevSplay();
-            }
-
-            set( s, 0 );
-
-            return true;
-        }
-    }
-
-    private Splay getStart ( )
-    {
-        checkDisposed();
-
-        Splay s = getSplay();
-
-        if (!s.isContainer() || getPos() != 0)
-        {
-            push();
-
-            if (toNextSibling())
-                s = getSplay();
-            else
-                s = null;
-
-            pop();
-        }
-
-        return s;
-    }
-
-    public boolean toFirstChild ( )
-    {
-        return toChild( (QName) null );
-    }
-
-    public boolean toChild ( String name )
-    {
-        return toChild( new QName( name ) );
-    }
-
-    public boolean toChild ( String namespace, String name )
-    {
-        return toChild( new QName( namespace, name ) );
-    }
-
-    public boolean toChild ( QName name )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getRoot().findNthBegin( getStart(), name, null, 0 );
-
-            if (s == null)
-                return false;
-
-            set( s, 0 );
-
-            return true;
-        }
-    }
-
-    public boolean toChild ( int n )
-    {
-        return toChild( null, n );
-    }
-
-    public boolean toChild ( QName name, int n )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getRoot().findNthBegin( getStart(), name, null, n );
-
-            if (s == null)
-                return false;
-
-            set( s, 0 );
-
-            return true;
-        }
-    }
-
-    public boolean toLastChild ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay sOriginal = getSplay();
-            int   pOriginal = getPos();
-
-            if (!sOriginal.isContainer() || pOriginal != 0)
-            {
-                if (!toNextSibling())
-                    return false;
-            }
-
-            if (!toEndToken().isNone() && toPrevSibling())
-                return true;
-
-            set( sOriginal, pOriginal );
-
-            return false;
-        }
-    }
-
-    public boolean toFirstAttribute ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay sOriginal = getSplay();
-            int   pOriginal = getPos();
-
-            if (!sOriginal.isContainer() || pOriginal != 0)
-                return false;
-
-            for ( Splay s = sOriginal.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isNormalAttr())
-                {
-                    set( s, 0 );
-                    return true;
-                }
-            }
-
-            set( sOriginal, pOriginal );
-            return false;
-        }
-    }
-
-    public boolean toLastAttribute ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay sOriginal = getSplay();
-            int   pOriginal = getPos();
-
-            if (!sOriginal.isContainer() || pOriginal != 0)
-                return false;
-
-            Splay lastNormalAttr = null;
-
-            for ( Splay s = sOriginal.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isNormalAttr())
-                    lastNormalAttr = s;
-            }
-
-            if (lastNormalAttr != null)
-            {
-                set( lastNormalAttr, 0 );
-                return true;
-            }
-
-            set( sOriginal, pOriginal );
-            return false;
-        }
-    }
-
-    public boolean toNextAttribute ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (!s.isAttr())
-                return false;
-
-            for ( s = s.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isNormalAttr())
-                {
-                    set( s, 0 );
-                    return true;
-                }
-            }
-
-            return false;
-        }
-    }
-
-    public boolean toPrevAttribute ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (!s.isAttr())
-                return false;
-
-            for ( s = s.prevSplay() ; s.isAttr() ; s = s.prevSplay() )
-            {
-                if (s.isNormalAttr())
-                {
-                    set( s, 0 );
-                    return true;
-                }
-            }
-
-            return false;
-        }
-    }
-
-    public String getAttributeText ( QName attrName )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (attrName == null)
-                throw new IllegalArgumentException( "Attr name is null" );
-
-            if (getPos() > 0)
-                return null;
-
-            Splay s = getSplay().getAttr( attrName );
-
-            return s == null ? null : s.getText( getRoot() );
-        }
-    }
-
-    public boolean setAttributeText ( QName attrName, String value )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (attrName == null)
-                throw new IllegalArgumentException( "Attr name is null" );
-
-            validateLocalName( attrName.getLocalPart() );
-
-            if (getPos() > 0)
-                return false;
-
-            Splay s = getSplay();
-
-            if (!s.isContainer())
-                return false;
-
-            if (value == null)
-                value = "";
-
-            s = getSplay().getAttr( attrName );
-
-            if (s == null)
-            {
-                XmlCursor c = newCursor();
-
-                try
-                {
-                    // Insert the new attr at the end
-
-                    do {
-                        c.toNextToken();
-                    } while ( c.isAnyAttr() );
-
-                    c.insertAttributeWithValue( attrName, value );
-                }
-                finally
-                {
-                    c.dispose();
-                }
-            }
-            else
-                s.setText( getRoot(), value, 0, value.length() );
-
-            return true;
-        }
-    }
-
-    public boolean removeAttribute ( QName attrName )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (attrName == null)
-                throw new IllegalArgumentException( "Attr name is null" );
-
-            if (getPos() > 0)
-                return false;
-
-            boolean removed = false;
-
-            for ( ; ; )
-            {
-                Splay s = getSplay().getAttr( attrName );
-
-                if (s == null)
-                    break;
-
-                s.remove( getRoot(), true );
-
-                removed = true;
-            }
-
-            return removed;
-        }
-    }
-
-    public int removeChars ( int cch )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            int postCch = getPostCch();
-
-            if (postCch == 0 || cch == 0)
-                return 0;
-
-            if (cch < 0 || cch > postCch)
-                cch = postCch;
-
-            return getSplay().removeChars( getRoot(), getPos(), cch );
-        }
-    }
-
-    public int moveChars ( int cch, XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (monitor() == dst.monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return moveCharsImpl( cch, dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return moveCharsImpl( cch, dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private int moveCharsImpl ( int cch, XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (dst == null || !(dst instanceof Cursor))
-            throw new IllegalArgumentException( "Invalid destination cursor" );
-
-        Cursor cDst = (Cursor) dst;
-
-        checkDisposed( cDst );
-
-        Root  rDst = cDst.getRoot();
-        Splay sDst = cDst.getSplay();
-        int   pDst = cDst.getPos();
-
-        if (pDst == 0 && (sDst.isDoc() || sDst.isAttr()))
-            throw new IllegalArgumentException( "Invalid destination" );
-
-        return
-            getSplay().moveChars(
-                getRoot(), getPos(), cch, rDst, sDst, pDst, false );
-    }
-
-    public int copyChars ( int cch, XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (dst.monitor() == monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return copyCharsImpl( cch, dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return copyCharsImpl( cch, dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private int copyCharsImpl ( int cch, XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (dst == null || !(dst instanceof Cursor))
-            throw new IllegalArgumentException( "Invalid destination cursor" );
-
-        Cursor cDst = (Cursor) dst;
-
-        checkDisposed( cDst );
-
-        Root  rDst = cDst.getRoot();
-        Splay sDst = cDst.getSplay();
-        int   pDst = cDst.getPos();
-
-        if (pDst == 0)
-        {
-            if (sDst.isDoc() || sDst.isAttr())
-                throw new IllegalArgumentException( "Invalid destination" );
-
-            sDst = sDst.prevNonAttrSplay();
-            pDst = sDst.getEndPos();
-        }
-
-        return
-            getSplay().copyChars( getRoot(), getPos(), cch, rDst, sDst, pDst );
-    }
-
-    public String namespaceForPrefix ( String prefix )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !s.isContainer())
-                throw new IllegalStateException( "Not on a container" );
-
-            return s.namespaceForPrefix( prefix, true );
-        }
-    }
-
-    public String prefixForNamespace ( String ns )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (ns == null || ns.length() == 0)
-                throw new IllegalArgumentException( "Must specify a namespace" );
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !s.isContainer())
-                throw new IllegalStateException( "Not on a container" );
-
-            String result = s.prefixForNamespace( getRoot(), ns, null, true);
-
-            assert result != null;
-
-            return result;
-        }
-    }
-
-    public void getAllNamespaces ( Map addToThis )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-
-            if (getPos() > 0 || !s.isContainer())
-                throw new IllegalStateException( "Not on a container" );
-
-            // Do this with cursor for now...
-
-            XmlCursor c = newCursor();
-
-            do
-            {
-                assert c.isContainer();
-
-                QName cName = c.getName();
-
-                while ( !c.toNextToken().isNone() && c.isAnyAttr() )
-                {
-                    if (c.isNamespace())
-                    {
-                        String prefix = c.getName().getLocalPart();
-                        String uri    = c.getName().getNamespaceURI();
-
-                        // Here I check to see if there is a default namespace
-                        // mapping which is not empty on a non root container which
-                        // is in a namespace.  This this case, I do not want to add
-                        // this mapping because it could not be persisted out this
-                        // way.
-
-                        if (prefix.length() == 0 && uri.length() > 0 &&
-                                cName != null && cName.getNamespaceURI().length()>0)
-                        {
-                            continue;
-                        }
-
-                        if (!addToThis.containsKey( prefix ))
-                            addToThis.put( prefix, uri );
-                    }
-                }
-
-                c.toParent();
-            }
-            while ( c.toParent() );
-
-            c.dispose();
-        }
-    }
-
-    /**
-     * Returns:
-     *
-     *   -1 is this is left of that
-     *    0 is this is left is at same position as that
-     *    1 is this is right of that
-     */
-
-    public int comparePosition ( XmlCursor xthat )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (xthat == null || !(xthat instanceof Cursor))
-                throw new IllegalArgumentException( "Invalid that cursor" );
-
-            Cursor that = (Cursor) xthat;
-
-            Root r = getRoot();
-
-            if (r != that.getRoot())
-                throw new IllegalArgumentException( "Cursors not in same document" );
-
-            checkDisposed( that );
-
-            return
-                getSplay().compare( r, getPos(), that.getSplay(), that.getPos() );
-        }
-    }
-
-    public boolean isLeftOf ( XmlCursor that )
-    {
-        return comparePosition( that ) < 0;
-    }
-
-    public boolean isAtSamePositionAs ( XmlCursor that )
-    {
-        return comparePosition( that ) == 0;
-    }
-
-    public boolean isRightOf ( XmlCursor that )
-    {
-        return comparePosition( that ) > 0;
-    }
-
-    public InputStream newInputStream ( XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return
-                new Saver.InputStreamSaver(
-                    getRoot(), getSplay(), getPos(), options );
-        }
-    }
-
-    public InputStream newInputStream ( )
-    {
-        return newInputStream( null );
-    }
-
-    public Reader newReader ( )
-    {
-        return newReader( null );
-    }
-
-    public Reader newReader ( XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return new Saver.TextReader( getRoot(), getSplay(), getPos(), options );
-        }
-    }
-
-    public XMLInputStream newXMLInputStream ( )
-    {
-        return newXMLInputStream( null );
-    }
-
-    public XMLInputStream newXMLInputStream ( XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return
-                new XmlInputStreamImpl( getRoot(), getSplay(), getPos(), options );
-        }
-    }
-
-    public XMLStreamReader newXMLStreamReader ( )
-    {
-        return newXMLStreamReader( null );
-    }
-
-    public XMLStreamReader newXMLStreamReader ( XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            boolean inner = XmlOptions.maskNull( options ).hasOption( XmlOptions.SAVE_INNER );
-
-            if (inner)
-            {
-                if (isNamespace())
-                    return new XMLStreamReaderForString( newCursor(), getName().getNamespaceURI() );
-
-                if (isAttr() || isComment() || isProcinst())
-                    return new XMLStreamReaderForString( newCursor(), getTextValue() );
-            }
-
-            if (isText())
-                return new XMLStreamReaderForString( newCursor(), getChars() );
-
-            if (isFinish())
-                return new XMLStreamReaderForString( newCursor(), "" );
-
-            assert !isText() && !isFinish();
-            assert !inner || isContainer();
-
-            XmlCursor start = newCursor();
-            XmlCursor last = newCursor();
-
-            if (inner)
-            {
-                start.toNextToken();
-                last.toEndToken();
-
-                if (start.isAtSamePositionAs( last ))
-                    return new XMLStreamReaderForString( start, "" );
-
-                last.toPrevToken();
-            }
-            else
-            {
-                if (isContainer())
-                    last.toEndToken();
-            }
-
-            return new XMLStreamReaderImpl( start, last );
-        }
-    }
-
-    private static final XmlOptions _toStringOptions =
-        buildPrettyOptions();
-
-    static final XmlOptions buildPrettyOptions ( )
-    {
-        XmlOptions options = new XmlOptions();
-        options.put( XmlOptions.SAVE_PRETTY_PRINT );
-        options.put( XmlOptions.SAVE_AGGRESSIVE_NAMESPACES );
-        options.put( XmlOptions.SAVE_USE_DEFAULT_NAMESPACE );
-        return options;
-    }
-
-    public String toString (  )
-    {
-        return xmlText( _toStringOptions );
-    }
-
-    public String xmlText (  )
-    {
-        return xmlText( null );
-    }
-
-    public String xmlText ( XmlOptions options )
-    {
-        Saver.TextSaver saver;
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            saver = new Saver.TextSaver(
-                    getRoot(), getSplay(), getPos(), options, null );
-        }
-        return saver.saveToString();
-    }
-
-    static class ChangeStampImpl implements ChangeStamp
-    {
-        ChangeStampImpl ( Root r )
-        {
-            _root = r;
-            _versionStamp = _root.getVersion();
-        }
-
-        public boolean hasChanged ( )
-        {
-            return _versionStamp != _root.getVersion();
-        }
-
-        private final Root _root;
-        private final long _versionStamp;
-    }
-
-    public ChangeStamp getDocChangeStamp ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return new ChangeStampImpl( getRoot() );
-        }
-    }
-
-    public boolean removeXml ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            Splay s = getSplay();
-            int   p = getPos();
-
-            assert p < s.getEndPos();
-
-            if (p > 0)
-            {
-                if (s.isLeaf() && p == s.getPosLeafEnd())
-                    return false;
-
-                int cchRemove = removeChars( getPostCch() );
-
-                assert cchRemove > 0;
-
-                return true;
-            }
-            else if (s.isDoc())
-            {
-                throw
-                    new IllegalStateException(
-                        "Can't remove a whole document." );
-            }
-            else if (s.isFinish())
-                return false;
-
-            s.remove( getRoot(), true );
-
-            return true;
-        }
-    }
-
-    public boolean moveXml ( XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (dst.monitor() == monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return moveXmlImpl( dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return moveXmlImpl ( dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private boolean moveXmlImpl  ( XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (dst == null || !(dst instanceof Cursor))
-        {
-            throw
-                new IllegalArgumentException(
-                    "Can't move to a foreign document" );
-        }
-
-        Cursor cDst = (Cursor) dst;
-
-        checkDisposed( cDst );
-
-        Root  rDst = cDst.getRoot();
-        Splay sDst = cDst.getSplay();
-        int   pDst = cDst.getPos();
-
-        Root  rSrc = getRoot();
-        Splay sSrc = getSplay();
-        int   pSrc = getPos();
-
-        if (sSrc.checkInsertionValidity( pSrc, sDst, pDst, true ))
-        {
-            return
-                sSrc.moveChars(
-                    rSrc, pSrc, getPostCch(), rDst, sDst, pDst, false ) > 0;
-        }
-
-        assert pSrc == 0;
-
-        // Check for a movement of stuff into itself!  This case is basically
-        // a no-op
-
-        if (rSrc == rDst && sDst.between( rDst, pDst, sSrc ))
-        {
-// TODO - I might have to orphan types in the range here ....
-            return false;
-        }
-
-        assert pSrc == 0;
-
-        sSrc.move( rSrc, cDst.getRoot(), cDst.getSplay(), cDst.getPos(), true );
-
-        return true;
-    }
-
-    public boolean copyXml ( XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (dst.monitor() == monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return copyXmlImpl( dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return copyXmlImpl( dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private boolean copyXmlImpl ( XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (dst == null || !(dst instanceof Cursor))
-        {
-            throw
-                new IllegalArgumentException( "Can't copy to a foreign document" );
-        }
-
-        Cursor cDst = (Cursor) dst;
-
-        checkDisposed( cDst );
-
-        Splay sDst = cDst.getSplay();
-        int   pDst = cDst.getPos();
-
-        Splay s = getSplay();
-        int   p = getPos();
-
-        if (s.checkInsertionValidity( p, sDst, pDst, true ))
-            return copyCharsImpl( getPostCch(), dst ) > 0;
-
-        assert p == 0;
-
-        // Need to make a splay copy before getting the text because the copy
-        // will validate invalid contents/values
-
-        Root r = getRoot();
-        Root rDst = cDst.getRoot();
-
-        Splay copy = s.copySplay();
-
-        Object txt = r._text;
-        int cp = r.getCp( s );
-        int cch = copy.getCchLeft() + copy.getCch();
-
-        //
-        // Remove text after which might be between leaf value and first attr value
-        //
-
-        if (s.isLeaf() && s.getCchAfter() > 0)
-        {
-            int cchValue = s.getCchValue();
-            int cchAfter = s.getCchAfter();
-
-            if (cchValue == 0)
-                cp += cchAfter;
-            else if (s.nextSplay().isAttr())
-            {
-                char[] buf = new char [ cch ];
-                r._text.fetch( buf, 0, cp, cchValue );
-                r._text.fetch( buf, cchValue, cp + cchValue + cchAfter, cch - cchValue );
-
-                txt = buf;
-                cp = 0;
-            }
-        }
-
-        sDst.insert( rDst, pDst, copy, txt, cp, cch, true );
-
-        return true;
-    }
-
-    public boolean removeXmlContents ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            // TODO - should implement this with internals
-
-            if (!isContainer())
-                return false;
-
-            TokenType tt = toFirstContentToken();
-            assert !tt.isNone();
-
-            boolean removed = !isFinish();
-
-            try
-            {
-                while ( !isFinish() )
-                {
-                    boolean b = removeXml();
-                    assert b;
-                }
-            }
-            finally
-            {
-                toParent();
-            }
-
-            return removed;
-        }
-    }
-
-    private boolean contains ( XmlCursor dst )
-    {
-        if (isInSameDocument( dst ))
-        {
-            dst.push();
-
-            for ( ; ; )
-            {
-// BUGBUG - contains is too wide, is incluive [] not ()
-                if (dst.isAtSamePositionAs( this ))
-                {
-                    dst.pop();
-                    return true;
-                }
-
-                if (!dst.toParent())
-                    break;
-            }
-
-            dst.pop();
-        }
-
-        return false;
-    }
-
-    public boolean moveXmlContents ( XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (dst.monitor() == monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return moveXmlContentsImpl( dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return moveXmlContentsImpl( dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private boolean moveXmlContentsImpl ( XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (!isContainer())
-            return false;
-
-        // Check to see if dst is in src!  In this case, there is nothing to
-        // do.
-
-        if (contains( dst ))
-            return false;
-
-        TokenType tt = toFirstContentToken();
-        assert !tt.isNone();
-
-        boolean moved = !isFinish();
-
-        try
-        {
-            if (!moveXmlImpl( dst ))
-                return false;
-
-            while ( !isFinish() )
-            {
-                boolean b = moveXmlImpl( dst );
-                assert b;
-            }
-        }
-        finally
-        {
-            toParent();
-        }
-
-        return moved;
-    }
-
-    public boolean copyXmlContents ( XmlCursor dst )
-    {
-        if (dst == null)
-            throw new IllegalArgumentException( "Destination is null" );
-
-        if (dst.monitor() == monitor())
-        {
-            synchronized ( monitor() )
-            {
-                return copyXmlContentsImpl( dst );
-            }
-        }
-        else
-        {
-            boolean acquired = false;
-            try
-            {
-                GlobalLock.acquire();
-                acquired = true;
-                synchronized ( monitor() )
-                {
-                    synchronized (dst.monitor())
-                    {
-                        GlobalLock.release();
-                        acquired = false;
-
-                        return copyXmlContentsImpl( dst );
-                    }
-                }
-            }
-            catch (InterruptedException e)
-            {
-                throw new XmlRuntimeException(e.getMessage(), e);
-            }
-            finally
-            {
-                if (acquired)
-                    GlobalLock.release();
-            }
-        }
-    }
-
-    private boolean copyXmlContentsImpl ( XmlCursor dst )
-    {
-        checkDisposed();
-
-        if (!isContainer())
-            return false;
-
-        // Check to see if dst is in src!  In this case, copy the src to a new
-        // document and then move the copied contents to the destination.
-
-        if (contains( dst ))
-        {
-            XmlCursor cTmp = XmlObject.Factory.newInstance().newCursor();
-
-            cTmp.toNextToken();
-
-            if (!copyXmlContentsImpl( cTmp ))
-            {
-                cTmp.dispose();
-                return false;
-            }
-
-            cTmp.toStartDoc();
-            ((Cursor)cTmp).moveXmlContentsImpl( dst );
-            cTmp.dispose();
-            return true;
-        }
-
-        TokenType tt = toFirstContentToken();
-        assert !tt.isNone();
-
-        boolean copied = !isFinish();
-
-        try
-        {
-            if (!copyXmlImpl( dst ))
-                return false;
-
-            for ( ; ; )
-            {
-                if (isStart())
-                    toEndToken();
-
-                toNextToken();
-
-                if (isFinish())
-                    break;
-
-                boolean b = copyXmlImpl( dst );
-                assert b;
-            }
-        }
-        finally
-        {
-            toParent();
-        }
-
-        return copied;
-    }
-
-    public boolean isInSameDocument ( XmlCursor xthat )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (xthat == null || !(xthat instanceof Cursor))
-                return false;
-
-            Cursor that = (Cursor) xthat;
-
-            checkDisposed( that );
-
-            return getRoot() == that.getRoot();
-        }
-    }
-
-    public void push ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_stack == null)
-                _stack = new Selections();
-
-            _stack.add( getRoot(), getSplay(), getPos() );
-
-            getRoot().registerForChange( this );
-        }
-    }
-
-    public boolean pop ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_stack == null || _stack.size() == 0)
-                return false;
-
-            _stack.setCursor( this, _stack.size() - 1 );
-
-            _stack.pop();
-
-            return true;
-        }
-    }
-
-    public int getSelectionCount ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return _selections == null ? 0 : _selections.size();
-        }
-    }
-
-    public boolean toSelection ( int i )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_selections != null && i >= 0 && _selections.setCursor( this, i ))
-            {
-                _currentSelection = i;
-                return true;
-            }
-
-            return false;
-        }
-    }
-
-    public boolean hasNextSelection ( )
-    {
-        synchronized ( monitor() )
-        {
-            push();
-            int currentSelection = _currentSelection;
-
-            try
-            {
-                return toNextSelection();
-            }
-            finally
-            {
-                pop();
-                _currentSelection = currentSelection;
-            }
-        }
-    }
-
-    public boolean toNextSelection ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_selections == null || _currentSelection < -1)
-                return false;
-
-            int nextSelection = _currentSelection + 1;
-
-            if (!_selections.setCursor( this, nextSelection ))
-            {
-                _currentSelection = -2;
-                return false;
-            }
-
-            _currentSelection = nextSelection;
-
-            return true;
-        }
-    }
-
-    public void clearSelections (  )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_selections != null)
-                _selections.dispose();
-
-            _currentSelection = -2;
-        }
-    }
-
-    public void addToSelection ( )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_selections == null)
-                _selections = Path.newSelections();
-
-            // Force any selection engine to search all...
-            _selections.size();
-
-            _selections.add( getRoot(), getSplay(), getPos() );
-
-            getRoot().registerForChange( this );
-        }
-    }
-
-    public void changeNotification ( )
-    {
-        if (_selections != null)
-        {
-            _selections.size();  // Force a full selection
-            _selections.cursify( getRoot() );
-        }
-
-        if (_stack != null)
-            _stack.cursify( getRoot() );
-    }
-
-    public void selectPath ( String path, XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            if (_selections == null)
-                _selections = Path.newSelections();
-            else
-                _selections.dispose();
-
-            _selections.init(
-                Path.select( getRoot(), getSplay(), getPos(), path, options ) );
-
-            push();
-
-            if (_selections.setCursor( this, 0 ))
-            {
-                getRoot().registerForChange( this );
-                _currentSelection = -1;
-            }
-            else
-                _currentSelection = -2;
-
-            pop();
-        }
-    }
-
-    public void selectPath ( String path )
-    {
-        selectPath( path, null );
-    }
-
-    public XmlCursor execQuery ( String queryExpr, XmlOptions options )
-    {
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            return Path.query( this, queryExpr, options );
-        }
-    }
-
-    public XmlCursor execQuery ( String query )
-    {
-        return execQuery( query, null );
-    }
-
-    public Node newDomNode ( )
-    {
-        return newDomNode( null );
-    }
-
-    public Node getDomNode ( )
-    {
-        throw new IllegalStateException( "Live DOM nodes not supported in XmlBeans V1" );
-    }
-
-    public Node newDomNode ( XmlOptions options )
-    {
-        try
-        {
-            Saver.DomSaver saver;
-
-            synchronized ( monitor() )
-            {
-                checkDisposed();
-
-                saver = new Saver.DomSaver(
-                    getRoot(), getSplay(), getPos(), !isFragment(), options );
-            }
-
-            return saver.exportDom();
-        }
-        catch ( Exception e )
-        {
-            if (e instanceof RuntimeException)
-                throw (RuntimeException) e;
-
-            throw new RuntimeException( e.getMessage(), e );
-        }
-    }
-
-    private boolean isFragment()
-    {
-        if (! isStartdoc())
-            return true;
-
-        boolean seenElement = false;
-
-        XmlCursor c = newCursor();
-        int token = c.toNextToken().intValue();
-
-        try {
-
-            LOOP:
-            while (true)
-            {
-                SWITCH:
-                switch (token)
-                {
-                    case TokenType.INT_START:
-                        if (seenElement) return true;
-                        seenElement = true;
-                        token = c.toEndToken().intValue();
-                        break SWITCH;
-
-                    case TokenType.INT_TEXT:
-                        if (! Splay.isWhiteSpace(c.getChars()))
-                            return true;
-                        token = c.toNextToken().intValue();
-                        break SWITCH;
-
-
-                    case TokenType.INT_NONE:
-                    case TokenType.INT_ENDDOC:
-                        break LOOP;
-
-
-                    case TokenType.INT_ATTR:
-                    case TokenType.INT_NAMESPACE:
-                        return true;
-
-                    case TokenType.INT_END:
-                    case TokenType.INT_COMMENT:
-                    case TokenType.INT_PROCINST:
-                        token = c.toNextToken().intValue();
-                        break SWITCH;
-
-                    case TokenType.INT_STARTDOC:
-                        assert false;
-                        break LOOP;
-
-                }
-
-            }
-        }
-
-        finally {
-            c.dispose();
-        }
-
-        return ! seenElement;
-
-    }
-
-    public void save ( ContentHandler ch, LexicalHandler lh )
-        throws SAXException
-    {
-        save( ch, lh, null );
-    }
-
-    public void save ( File file ) throws IOException
-    {
-        save( file, null );
-    }
-
-    public void save ( OutputStream os ) throws IOException
-    {
-        save( os, null );
-    }
-
-    public void save ( Writer w ) throws IOException
-    {
-        save( w, null );
-    }
-
-    public void save ( ContentHandler ch, LexicalHandler lh, XmlOptions options)
-        throws SAXException
-    {
-        // todo: don't hold the monitor all this long.
-        // Ideally, we'd release the monitor each time we're about to call the
-        // ch or lh objects.  However, the saver code isn't _quite_ structure
-        // just right to do that.  So instead, the current version will hold
-        // the monitor for the duration of the entire SAX save.
-        synchronized ( monitor() )
-        {
-            checkDisposed();
-
-            new Saver.SaxSaver( getRoot(), getSplay(), getPos(), options, ch, lh );
-        }
-    }
-
-    public void save ( File file, XmlOptions options ) throws IOException
-    {
-        OutputStream os = new FileOutputStream( file );
-
-        try
-        {
-            save( os, options );
-        }
-        finally
-        {
-            os.close();
-        }
-    }
-
-    public void save ( OutputStream os, XmlOptions options ) throws IOException
-    {
-        // note that we do not hold the monitor for the duration of a save.
-        // Instead, a concurrent modification exception is thrown if the
-        // document is modified while the save is in progress. If the user
-        // wishes to protect against this, he can synchronize on the monitor
-        // himself.
-        InputStream is = newInputStream( options );
-
-        try
-        {
-            byte[] bytes = new byte[ 8192 ];
-
-            for ( ; ; )
-            {
-                int n = is.read( bytes );
-
-                if (n < 0)
-                    break;
-
-                os.write( bytes, 0, n );
-            }
-        }
-        finally
-        {
-            is.close();
-        }
-    }
-
-    public void save ( Writer w, XmlOptions options ) throws IOException
-    {
-        Reader r = newReader( options );
-
-        try
-        {
-            char[] chars = new char[ 8192 ];
-
-            for ( ; ; )
-            {
-                int n = r.read( chars );
-
-                if (n < 0)
-                    break;
-
-                w.write( chars, 0, n );
-            }
-        }
-        finally
-        {
-            r.close();
-        }
-    }
-
-    //
-    //
-    //
-
-    private boolean validate ( )
-    {
-        assert _goober.getRoot().validate();
-        return true;
-    }
-
-    public void dump ( ) { _goober.getRoot().dump(); }
-    public void dump ( boolean verbose ) { _goober.getRoot().dump( verbose ); }
-
-    interface PathEngine
-    {
-        boolean next ( Selections selections );
-    }
-
-    static class Selections
-    {
-        void init ( PathEngine pathEngine )
-        {
-            dispose();
-
-            _pathEngine = pathEngine;
-        }
-
-        void add ( Root r, Splay s )
-        {
-            add( r, s, 0 );
-        }
-
-        void add ( Root r, Splay s, int p )
-        {
-            assert s.getRootSlow() == r;
-
-            if (_cursors != null)
-            {
-                CursorGoober g = new CursorGoober( r );
-
-                g.set( s, p );
-
-                _cursors.add( g );
-
-                return;
-            }
-
-            if (_splays == null)
-            {
-                assert _count == 0;
-                _splays = new Splay [ 16 ];
-                _positions = new int [ 16 ];
-            }
-            else if (_count == _splays.length)
-            {
-                Splay[] newSplays = new Splay [ _count * 2 ];
-                int[]   newPositions = new int [ _count * 2 ];
-
-                System.arraycopy( _splays, 0, newSplays, 0, _count );
-                System.arraycopy( _positions, 0, newPositions, 0, _count );
-
-                _splays = newSplays;
-                _positions = newPositions;
-            }
-
-            _splays[ _count ] = s;
-            _positions[ _count ] = p;
-
-            _count++;
-        }
-
-        void pop ( )
-        {
-            assert size() > 0;
-
-            if (_cursors != null)
-            {
-                int i = _cursors.size() - 1;
-                ((CursorGoober) _cursors.get( i )).set( null, 0 );
-                _cursors.remove( i );
-            }
-            else
-                _count--;
-        }
-
-        void cursify ( Root r )
-        {
-            if (_cursors != null || _count <= 0)
-                return;
-
-            _cursors = new ArrayList();
-
-            for ( int i = 0 ; i < _count ; i++ )
-            {
-                CursorGoober g = new CursorGoober( r );
-
-                g.set( _splays[ i ], _positions[ i ] );
-
-                _cursors.add( g );
-            }
-
-            _count = 0;
-        }
-
-        int size ( )
-        {
-            if (_pathEngine != null)
-            {
-                while ( _pathEngine.next( this ) )
-                    ;
-
-                _pathEngine = null;
-            }
-
-            return currentSize();
-        }
-
-        int currentSize ( )
-        {
-            return _cursors != null ? _cursors.size() : _count;
-        }
-
-        boolean setCursor ( Cursor c, int i )
-        {
-            assert i >= 0;
-
-            while ( _pathEngine != null && currentSize() <= i )
-            {
-                if (!_pathEngine.next( this ))
-                    _pathEngine = null;
-            }
-
-            if (i >= currentSize())
-                return false;
-
-            if (_cursors != null)
-            {
-                assert i < _cursors.size();
-                c.set( (CursorGoober) _cursors.get( i ) );
-            }
-            else
-            {
-                assert i < _count;
-                c.set( _splays[ i ], _positions[ i ] );
-            }
-
-            return true;
-        }
-
-        void dispose ( )
-        {
-            if (_cursors != null)
-            {
-                for ( int i = 0 ; i < _cursors.size() ; i++ )
-                    ((CursorGoober) _cursors.get( i )).set( null, 0 );
-
-                _cursors.clear();
-
-                _cursors = null;
-            }
-
-            _count = 0;
-
-            // TODO - cache unused Seleciton objects for later reuse
-        }
-
-        private Splay[] _splays;
-        private int[]   _positions;
-        private int     _count;
-
-        private ArrayList _cursors;
-
-        private PathEngine _pathEngine;
-    }
-
-    //
-    // XMLStreamReader
-    //
-
-    private static abstract class XMLStreamReaderBase
-        implements XMLStreamReader, NamespaceContext, Location
-    {
-        XMLStreamReaderBase ( XmlCursor c )
-        {
-            _changeStamp = c.getDocChangeStamp();
-        }
-
-        protected void checkChanged ( )
-        {
-            if (_changeStamp.hasChanged())
-                throw new ConcurrentModificationException( "Document changed while streaming" );
-        }
-
-        //
-        // XMLStreamReader methods
-        //
-
-        public void close ( )
-        {
-            checkChanged();
-        }
-
-        public Location getLocation ( )
-        {
-            checkChanged();
-
-            XmlCursor c = getCursor();
-
-            XmlLineNumber ln = (XmlLineNumber) c.getBookmark( XmlLineNumber.class );
-
-            // BUGBUG - put source name here
-            _uri = null;
-
-            if (ln != null)
-            {
-                _line = ln.getLine();
-                _column = ln.getColumn();
-                _offset = ln.getOffset();
-            }
-            else
-            {
-                _line = -1;
-                _column = -1;
-                _offset = -1;
-            }
-
-            return this;
-        }
-
-
-        public NamespaceContext getNamespaceContext ( )
-        {
-            checkChanged();
-
-            return this;
-        }
-
-        public Object getProperty ( String name )
-        {
-            checkChanged();
-
-            throw new RuntimeException( "Not implemented" );
-        }
-
-        public String getCharacterEncodingScheme ( )
-        {
-            checkChanged();
-
-            XmlDocumentProperties props = getCursor().documentProperties();
-
-            return props == null ? null : props.getEncoding();
-        }
-
-        public String getEncoding ( )
-        {
-            checkChanged();
-
-            return null;
-        }
-
-        public String getVersion ( )
-        {
-            checkChanged();
-
-            XmlDocumentProperties props = getCursor().documentProperties();
-
-            return props == null ? null : props.getVersion();
-        }
-
-        public boolean isStandalone ( )
-        {
-            checkChanged();
-
-            return false;
-        }
-
-        public boolean standaloneSet ( )
-        {
-            checkChanged();
-
-            return false;
-        }
-
-        public void require ( int type, String namespaceURI, String localName )
-            throws XMLStreamException
-        {
-            checkChanged();
-
-            if (type != getEventType())
-                throw new XMLStreamException();
-
-            if (namespaceURI != null && !getNamespaceURI().equals( namespaceURI ))
-                throw new XMLStreamException();
-
-            if (localName != null && !getLocalName().equals( localName ))
-                throw new XMLStreamException();
-        }
-
-        //
-        // Location and NamespaceContext methods
-        //
-
-        public int    getCharacterOffset ( ) { return _offset; }
-        public int    getColumnNumber    ( ) { return _column; }
-        public int    getLineNumber      ( ) { return _line;   }
-        public String getLocationURI     ( ) { return _uri;    }
-        public String  getPublicId() { throw new UnsupportedOperationException("NYI");  }
-        public String  getSystemId() { throw new UnsupportedOperationException("NYI");  }
-
-        public String getNamespaceURI ( String prefix )
-        {
-            checkChanged();
-
-            XmlCursor c = getCursor();
-
-            boolean pop = false;
-
-            if (!c.isContainer())
-            {
-                c.push();
-                c.toParent();
-                pop = true;
-            }
-
-            String ns = c.namespaceForPrefix( prefix );
-
-            if (pop)
-                c.pop();
-
-            return ns;
-        }
-
-        public String getPrefix ( String namespaceURI )
-        {
-            checkChanged();
-
-            XmlCursor c = getCursor();
-
-            boolean pop = false;
-
-            if (!c.isContainer())
-            {
-                c.push();
-                c.toParent();
-                pop = true;
-            }
-
-            HashMap map = new HashMap();
-
-            c.getAllNamespaces( map );
-
-            String prefix = (String) map.get( namespaceURI );
-
-            if (pop)
-                c.pop();
-
-            return prefix;
-        }
-
-        public Iterator getPrefixes ( String namespaceURI )
-        {
-            checkChanged();
-
-            // BUGBUG - get only one for now ...
-
-            HashMap map = new HashMap();
-
-            map.put( namespaceURI, getPrefix( namespaceURI ) );
-
-            return map.values().iterator();
-        }
-
-        //
-        //
-        //
-
-        protected abstract XmlCursor getCursor ( );
-
-        //
-        //
-        //
-
-        private ChangeStamp _changeStamp;
-        String _uri;
-        int _line, _column, _offset;
-    }
-
-
-    private static final class XMLStreamReaderForString extends XMLStreamReaderBase
-    {
-        XMLStreamReaderForString ( XmlCursor c, String s )
-        {
-            super( c );
-
-            _cursor = c;
-
-            _string = s == null ? "" : s;
-        }
-
-        protected XmlCursor getCursor ( )
-        {
-            return _cursor;
-        }
-
-        //
-        // Legal stream methods
-        //
-
-        public int     getEventType      ( ) { checkChanged(); return CHARACTERS;            }
-        public String  getText           ( ) { checkChanged(); return _string;               }
-        public char[]  getTextCharacters ( ) { checkChanged(); return _string.toCharArray(); }
-        public int     getTextStart      ( ) { checkChanged(); return 0;                     }
-        public int     getTextLength     ( ) { checkChanged(); return _string.length();      }
-        public boolean hasName           ( ) { checkChanged(); return false;                 }
-        public boolean hasNext           ( ) { checkChanged(); return false;                 }
-        public boolean hasText           ( ) { checkChanged(); return true;                  }
-        public boolean isCharacters      ( ) { checkChanged(); return true;                  }
-        public boolean isEndElement      ( ) { checkChanged(); return false;                 }
-        public boolean isStartElement    ( ) { checkChanged(); return false;                 }
-
-        public int getTextCharacters ( int sourceStart, char[] target, int targetStart, int length )
-        {
-            checkChanged();
-
-            int sourceEnd = sourceStart + length;
-
-            if (sourceEnd >= _string.length())
-                sourceEnd = _string.length();
-
-            _string.getChars( sourceStart, sourceEnd, target, targetStart );
-
-            return sourceEnd - sourceStart;
-        }
-
-        public boolean isWhiteSpace ( )
-        {
-            checkChanged();
-
-            for ( int i = 0 ; i < _string.length() ; i++ )
-            {
-                if (!Splay.isWhiteSpace( _string.charAt( i ) ))
-                    return false;
-            }
-
-            return true;
-        }
-
-        //
-        // Illegal stream methods
-        //
-
-        public int     getAttributeCount ( ) { throw new IllegalStateException(); }
-        public String  getAttributeLocalName ( int index ) { throw new IllegalStateException(); }
-        public QName   getAttributeName ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeNamespace ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributePrefix ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeType ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeValue ( int index ) { throw new IllegalStateException(); }
-        public String  getAttributeValue ( String namespaceURI, String localName ) { throw new IllegalStateException(); }
-        public String  getElementText ( ) { throw new IllegalStateException(); }
-        public String  getLocalName ( ) { throw new IllegalStateException(); }
-        public QName   getName ( ) { throw new IllegalStateException(); }
-        public int     getNamespaceCount ( ) { throw new IllegalStateException(); }
-        public String  getNamespacePrefix ( int index ) { throw new IllegalStateException(); }
-        public String  getNamespaceURI ( int index ) { throw new IllegalStateException(); }
-        public String  getNamespaceURI ( ) { throw new IllegalStateException(); }
-        public String  getPIData ( ) { throw new IllegalStateException(); }
-        public String  getPITarget ( ) { throw new IllegalStateException(); }
-        public String  getPrefix ( ) { throw new IllegalStateException(); }
-        public boolean isAttributeSpecified ( int index ) { throw new IllegalStateException(); }
-        public int     next ( ) { throw new IllegalStateException(); }
-        public int     nextTag ( ) { throw new IllegalStateException(); }
-        public String  getPublicId() { throw new IllegalStateException();  }
-        public String  getSystemId() { throw new IllegalStateException();  }
-
-        private XmlCursor _cursor;
-        private String    _string;
-    }
-
-    private static final class XMLStreamReaderImpl extends XMLStreamReaderBase
-    {
-        XMLStreamReaderImpl ( XmlCursor start, XmlCursor last )
-        {
-            super( start );
-
-            _cursor = start;
-            _last = last;
-            _didLast = false;
-                
-            _didLast = _cursor.isAtSamePositionAs( _last );
-        }
-
-        protected XmlCursor getCursor ( )
-        {
-            return _cursor;
-        }
-
-        //
-        //
-        //
-
-        public boolean hasNext ( )
-        {
-            checkChanged();
-
-            return !_didLast;
-        }
-
-        public int next ( )
-        {
-            checkChanged();
-
-            if (_didLast)
-                throw new IllegalStateException();
-
-            if (_cursor.isAtSamePositionAs( _last ))
-                _didLast = true;
-            else if (_cursor.isStart())
-                _cursor.toFirstContentToken();
-            else
-                _cursor.toNextToken();
-
-            return getEventType();
-        }
-
-        public int getEventType ( )
-        {
-            checkChanged();
-
-            switch ( _cursor.currentTokenType().intValue() )
-            {
-            case TokenType.INT_STARTDOC  : return START_DOCUMENT;
-            case TokenType.INT_ENDDOC    : return END_DOCUMENT;
-            case TokenType.INT_START     : return START_ELEMENT;
-            case TokenType.INT_END       : return END_ELEMENT;
-            case TokenType.INT_TEXT      : return CHARACTERS;
-            case TokenType.INT_ATTR      : return ATTRIBUTE;
-            case TokenType.INT_NAMESPACE : return NAMESPACE;
-            case TokenType.INT_COMMENT   : return COMMENT;
-            case TokenType.INT_PROCINST  : return PROCESSING_INSTRUCTION;
-
-            default                      : throw new IllegalStateException();
-            }
-        }
-
-        public int getAttributeCount ( )
-        {
-            checkChanged();
-
-            int count = 0;
-
-            if (_cursor.isAttr())
-                count = 1;
-            else if (_cursor.isStart())
-            {
-                _cursor.push();
-
-                for ( _cursor.toNextToken() ; _cursor.isAnyAttr() ; _cursor.toNextToken() )
-                    if (_cursor.isAttr())
-                        count++;
-
-                _cursor.pop();
-            }
-            else
-                throw new IllegalStateException();
-
-            return count;
-        }
-
-        public int getNamespaceCount ( )
-        {
-            checkChanged();
-
-            int count = 0;
-
-            if (_cursor.isNamespace())
-                count = 1;
-            else if (_cursor.isStart())
-            {
-                _cursor.push();
-
-                for ( _cursor.toNextToken() ; _cursor.isAnyAttr() ; _cursor.toNextToken() )
-                    if (_cursor.isNamespace())
-                        count++;
-
-                _cursor.pop();
-            }
-            else
-                throw new IllegalStateException();
-
-            return count;
-        }
-
-        private void toAttr ( int index )
-        {
-            if (index < 0)
-                throw new IllegalArgumentException();
-
-            if (_cursor.isAttr())
-            {
-                if (index > 0)
-                    throw new IllegalArgumentException();
-            }
-            else if (_cursor.isStart())
-            {
-                for ( _cursor.toNextToken() ; _cursor.isAnyAttr() ; _cursor.toNextToken() )
-                    if (_cursor.isAttr() && index-- == 0)
-                        return;
-
-                throw new IllegalArgumentException();
-            }
-            else
-                throw new IllegalStateException();
-        }
-
-        private void toNamespace ( int index )
-        {
-            if (index < 0)
-                throw new IllegalArgumentException();
-
-            if (_cursor.isNamespace())
-            {
-                if (index > 0)
-                    throw new IllegalArgumentException();
-            }
-            else if (_cursor.isStart())
-            {
-                for ( _cursor.toNextToken() ; _cursor.isAnyAttr() ; _cursor.toNextToken() )
-                    if (_cursor.isNamespace() && index-- == 0)
-                        return;
-
-                throw new IllegalArgumentException();
-            }
-            else
-                throw new IllegalStateException();
-        }
-
-        private boolean toAttr ( String namespaceURI, String localName )
-        {
-            if (namespaceURI == null || localName == null || localName.length() == 0)
-                throw new IllegalArgumentException();
-
-            QName qn = new QName( namespaceURI, localName );
-
-            if (_cursor.isAttr())
-            {
-                return _cursor.getName().equals( qn );
-            }
-            else if (_cursor.isStart())
-            {
-                _cursor.toNextToken();
-
-                while ( _cursor.isAnyAttr() )
-                {
-                    if (_cursor.isAttr() && _cursor.getName().equals( qn ))
-                        return true;
-                }
-
-                return false;
-            }
-            else
-                throw new IllegalStateException();
-        }
-
-        public String getAttributeLocalName ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return _cursor.getName().getLocalPart();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public QName getAttributeName ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return _cursor.getName();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getAttributeNamespace ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return _cursor.getName().getNamespaceURI();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getAttributePrefix ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return getPrefix( _cursor.getName().getNamespaceURI() );
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getAttributeType ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return "CDATA";
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getAttributeValue ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toAttr( index );
-
-                return _cursor.getTextValue();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getAttributeValue ( String namespaceURI, String localName )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                if (!toAttr( namespaceURI, localName ))
-                    return null;
-
-                return _cursor.getTextValue();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getNamespacePrefix ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toNamespace( index );
-
-                return _cursor.getName().getLocalPart();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getNamespaceURI ( int index )
-        {
-            checkChanged();
-
-            _cursor.push();
-
-            try
-            {
-                toNamespace( index );
-
-                return _cursor.getName().getNamespaceURI();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public String getElementText ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            if (!isStartElement())
-                throw new IllegalStateException();
-
-            StringBuffer sb = new StringBuffer();
-
-            for ( int depth = 1 ; depth > 0 ; )
-            {
-                if (!hasNext())
-                    throw new XMLStreamException();
-
-                int e = next();
-
-                if (e == END_ELEMENT)
-                {
-                    depth--;
-                    continue;
-                }
-
-                if (e == START_ELEMENT)
-                    depth++;
-
-                if (e != CHARACTERS)
-                    throw new XMLStreamException();
-
-                sb.append( getText() );
-            }
-
-            return sb.toString();
-        }
-
-        private QName getElemName ( )
-        {
-            _cursor.push();
-
-            try
-            {
-                if (_cursor.isEnd())
-                    _cursor.toParent();
-                else if (!_cursor.isStart())
-                    throw new IllegalStateException();
-
-                return _cursor.getName();
-            }
-            finally
-            {
-                _cursor.pop();
-            }
-        }
-
-        public QName getName ( )
-        {
-            checkChanged();
-
-            return getElemName();
-        }
-
-        public String getLocalName ( )
-        {
-            checkChanged();
-
-            return getElemName().getLocalPart();
-        }
-
-        public String getNamespaceURI ( )
-        {
-            checkChanged();
-
-            return getElemName().getNamespaceURI();
-        }
-
-        public String getPIData ( )
-        {
-            checkChanged();
-
-            if (!_cursor.isProcinst())
-                throw new IllegalStateException();
-
-            return _cursor.getTextValue();
-        }
-
-        public String getPITarget ( )
-        {
-            checkChanged();
-
-            if (!_cursor.isProcinst())
-                throw new IllegalStateException();
-
-            return _cursor.getName().getLocalPart();
-        }
-
-        public String getPrefix ( )
-        {
-            checkChanged();
-
-            return getPrefix( getNamespaceURI() );
-        }
-
-        public String getText ( )
-        {
-            checkChanged();
-
-            if (_cursor.isComment())
-                return _cursor.getTextValue();
-
-            if (_cursor.isText())
-                return _cursor.getChars();
-
-            throw new IllegalStateException();
-        }
-
-        public char[] getTextCharacters ( )
-        {
-            checkChanged();
-
-            return getText().toCharArray();
-        }
-
-        public int getTextCharacters ( int sourceStart, char[] target, int targetStart, int length )
-        {
-            checkChanged();
-
-            if (length < 0)
-                throw new IllegalStateException();
-
-            char[] chars = getTextCharacters();
-
-            if (length > chars.length)
-                length = chars.length;
-
-            System.arraycopy( chars, 0, target, targetStart, length );
-
-            return length;
-        }
-
-        public int getTextLength ( )
-        {
-            checkChanged();
-
-            return getText().length();
-        }
-
-        public int getTextStart ( )
-        {
-            checkChanged();
-
-            return 0;
-        }
-
-        public boolean hasName ( )
-        {
-            checkChanged();
-
-            try
-            {
-                getName();
-
-                return true;
-            }
-            catch ( IllegalStateException e )
-            {
-                return false;
-            }
-        }
-
-        public boolean hasText ( )
-        {
-            checkChanged();
-
-            try
-            {
-                getText();
-
-                return true;
-            }
-            catch ( IllegalStateException e )
-            {
-                return false;
-            }
-        }
-
-        public boolean isAttributeSpecified ( int index )
-        {
-            checkChanged();
-
-            return false;
-        }
-
-        public boolean isCharacters ( )
-        {
-            checkChanged();
-
-            return _cursor.isText();
-        }
-
-        public boolean isEndElement ( )
-        {
-            checkChanged();
-
-            return _cursor.isEnd();
-        }
-
-        public boolean isStartElement ( )
-        {
-            checkChanged();
-
-            return _cursor.isStart();
-        }
-
-        public boolean isWhiteSpace ( )
-        {
-            checkChanged();
-
-            try
-            {
-                String s = getText();
-
-                for ( int i = 0 ; i < s.length() ; i++ )
-                {
-                    if (!Splay.isWhiteSpace( s.charAt( i ) ))
-                        return false;
-                }
-
-                return true;
-            }
-            catch ( IllegalStateException e )
-            {
-                return false;
-            }
-        }
-
-        public int nextTag ( ) throws XMLStreamException
-        {
-            checkChanged();
-
-            for ( ; ; )
-            {
-                if (isStartElement() || isEndElement())
-                    return getEventType();
-
-                if (!isWhiteSpace())
-                    throw new XMLStreamException();
-
-                if (!hasNext())
-                    throw new XMLStreamException();
-
-                next();
-            }
-        }
-
-        XmlCursor _cursor;
-        XmlCursor _last;
-
-        boolean   _didLast;
-    }
-
-    //
-    //
-    //
-
-    final CursorGoober _goober;
-
-    private Selections _stack;
-
-    private Selections _selections;
-    private int        _currentSelection;
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Goobers.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Goobers.java
deleted file mode 100644
index d316d1e..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Goobers.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.impl.store.Splay.Goober;
-
-public class Goobers
-{
-    Goober _goobers;
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/JaxenXBeansDelegate.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/JaxenXBeansDelegate.java
deleted file mode 100644
index 41aae4b..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/JaxenXBeansDelegate.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import java.lang.reflect.Constructor;
-import java.util.List;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 6, 2003
- *
- * Help class to decouple from xbean_xpath.jar and jaxen.jar (version v1.1 beta2)
- */
-public final class JaxenXBeansDelegate
-{
-    private JaxenXBeansDelegate()
-    {}
-
-    static SelectPathInterface createInstance(String xpath)
-    {
-        if (_constructor==null)
-            return null;
-
-        try
-        {
-            return (JaxenXBeansDelegate.SelectPathInterface)_constructor.newInstance(new Object[] {xpath});
-        }
-        catch (Exception e)
-        {
-            throw new RuntimeException(e);
-        }
-    }
-
-
-    // Loose coupling functionality with xbean_xpath.jar
-
-    private static Constructor _constructor;
-
-    static
-    {
-        boolean hasTheJars = false;
-        Class jaxenXPathImpl = null;
-        try
-        {
-            // from jaxen.jar
-            Class.forName( "org.jaxen.BaseXPath" );
-            // from xbean_xpath.jar
-            jaxenXPathImpl = Class.forName( "org.apache.xmlbeans.impl.xpath.jaxen.XBeansXPathAdv" );
-
-            hasTheJars = true;
-        }
-        catch ( ClassNotFoundException e )
-        {
-            hasTheJars = false;
-        }
-        catch ( NoClassDefFoundError e )
-        {
-            hasTheJars = false;
-        }
-
-        if (hasTheJars)
-        {
-            try
-            {
-                _constructor =
-                    jaxenXPathImpl.getConstructor( new Class[] { String.class } );
-            }
-            catch ( Exception e )
-            {
-                throw new RuntimeException( e );
-            }
-        }
-    }
-
-    public static interface SelectPathInterface
-    {
-        public List selectPath(Object node);
-    }
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Path.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Path.java
deleted file mode 100644
index 8d5e1ac..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Path.java
+++ /dev/null
@@ -1,563 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.common.XPath;
-import org.apache.xmlbeans.impl.store.Cursor.PathEngine;
-import org.apache.xmlbeans.impl.store.Cursor.Selections;
-
-import java.util.HashMap;
-import java.util.List;
-
-/**
- * Represents a precompiled path expression
- */
-
-public abstract class Path
-{
-    static Selections newSelections ( )
-    {
-        return new Selections();
-    }
-
-    static PathEngine select (
-        Root r, Splay s, int p, String pathExpr, XmlOptions options )
-    {
-        Path path = getPath( pathExpr, options );
-        return (path == null) ? null : path.execute( r, s, p, options );
-    }
-
-    public static String _useXqrlForXpath = "use xqrl for xpath";
-
-    public static String _useXbeanForXpath = "use xbean for xpath";
-
-    public static Path getPath ( String pathExpr )
-    {
-        return getPath( pathExpr, false, null );
-    }
-    
-    public static Path getPath ( String pathExpr, XmlOptions options )
-    {
-        return
-            getPath(
-                pathExpr,
-                XmlOptions.maskNull( options ).hasOption( _useXqrlForXpath ),
-                options );
-    }
-
-    public static Path getPath ( String pathExpr, boolean xqrl, XmlOptions options )
-    {
-        Object path = null;
-        
-        synchronized ( _xbeanPathCache )
-        {
-            if (!xqrl)
-            {
-                path = _xbeanPathCache.get( pathExpr );
-            }
-
-            if (path == null)
-                path = _xqrlPathCache.get( pathExpr );
-
-            if (path == null)
-            {
-                String pathStr = getCompiledPath( pathExpr, xqrl, options );
-                
-                path =
-                    (pathStr == null)
-                        ? null
-                        : getPath( pathExpr, xqrl, options );
-            }
-        }
-
-        return (Path) path;
-    }
-    
-    public static String getCompiledPath ( String pathExpr, XmlOptions options )
-    {
-        return getCompiledPath( pathExpr, false, options );
-    }
-
-    private static String getCurrentNodeVar ( XmlOptions options )
-    {
-        String currentNodeVar = "this";
-
-        options = XmlOptions.maskNull( options );
-        
-        if (options.hasOption( XmlOptions.XQUERY_CURRENT_NODE_VAR ))
-        {
-            currentNodeVar = (String) options.get( XmlOptions.XQUERY_CURRENT_NODE_VAR );
-
-            if (currentNodeVar.startsWith( "$" ))
-            {
-                throw
-                    new IllegalArgumentException(
-                        "Omit the '$' prefix for the current node variable" );
-            }
-        }
-
-        return currentNodeVar;
-    }
-    
-    public static String getCompiledPath ( String pathExpr, boolean xqrl, XmlOptions options )
-    {
-        Path path = null;
-        
-        options = XmlOptions.maskNull( options );
-        
-        String currentNodeVar = getCurrentNodeVar( options );
-
-        synchronized ( _xbeanPathCache )
-        {
-            assert (xqrl |= options.hasOption( _useXqrlForXpath )) || true;
-
-            if (!xqrl || options.hasOption( _useXbeanForXpath ))
-            {
-                path = (Path) _xbeanPathCache.get( pathExpr );
-
-                if (path == null)
-                {
-                    path = XbeanPathImpl.create( pathExpr, currentNodeVar );
-
-                    if (path != null)
-                        _xbeanPathCache.put( path.getPathExpr(), path );
-                }
-                if (path == null)
-                {
-                    path = JaxenPathImpl.create( pathExpr, currentNodeVar );
-
-                    if (path != null)
-                        _xbeanPathCache.put( path.getPathExpr(), path );
-                }
-            }
-
-            if (path == null)
-            {
-                assert ! options.hasOption( _useXbeanForXpath );
-
-                path = (Path) _xqrlPathCache.get( pathExpr );
-
-                if (path == null)
-                {
-                    path = XqrlPathImpl.create( pathExpr, currentNodeVar );
-
-                    if (path != null)
-                        _xqrlPathCache.put( path.getPathExpr(), path );
-                }
-            }
-
-            if (path == null)
-            {
-                throw new UnsupportedOperationException(
-                    "This query is too complex to be processed." );
-            }
-        }
-
-        return path == null ? null : path.getPathExpr();
-    }
-
-    public interface Query
-    {
-        PathEngine  executePath  ( Root r, Splay s, int p, XmlOptions options );
-        XmlCursor   executeQuery ( Cursor c, XmlOptions options );
-        XmlObject[] executeQuery ( Type type, XmlOptions options );
-        String      getQueryExpr ( );
-    }
-
-//    public static Query getQuery ( String queryExpr )
-//    {
-//        return getQuery( queryExpr, null );
-//    }
-    
-    public static Query getQuery ( String queryExpr, XmlOptions options )
-    {
-        Object query = null;
-        
-        synchronized ( _xqrlQueryCache )
-        {
-            query = _xqrlQueryCache.get( queryExpr );
-
-            if (query == null)
-            {
-                String queryStr = getCompiledQuery( queryExpr, options );
-                
-                query =
-                    (queryStr == null) ? null : getQuery( queryExpr, options );
-            }
-        }
-
-        return (Query) query;
-    }
-    
-    public static String getCompiledQuery ( String queryExpr, XmlOptions options )
-    {
-        Query query = null;
-        String currentNodeVar = getCurrentNodeVar( options );
-        
-        synchronized ( _xqrlQueryCache )
-        {
-            query = (Query) _xqrlQueryCache.get( queryExpr );
-
-            if (query == null)
-            {
-                query = XqrlDelegate.compileQuery( queryExpr, currentNodeVar );
-
-                if (query != null)
-                    _xqrlQueryCache.put( query.getQueryExpr(), query );
-            }
-        }
-
-        return query == null ? null : query.getQueryExpr();
-    }
-
-    public static XmlCursor query (
-        Cursor c, String queryExpr, XmlOptions options )
-    {
-        Query query = getQuery( queryExpr, options );
-        return (query == null) ? null : query.executeQuery( c, options );
-    }
-
-    public static XmlObject[] query (
-        Type type, String queryExpr, XmlOptions options )
-    {
-        Query query = getQuery( queryExpr, options );
-        return (query == null) ? null : query.executeQuery( type, options );
-    }
-
-    protected abstract PathEngine execute (
-        Root r, Splay s, int p, XmlOptions options );
-
-    protected abstract String getPathExpr ( );
-
-    private static class XqrlPathImpl extends Path
-    {
-        private XqrlPathImpl ( String pathExpr, Query compiledPath )
-        {
-            _pathExpr = pathExpr;
-            _compiledPath = compiledPath;
-        }
-
-        private String _pathExpr;
-        private Query  _compiledPath;
-
-        static Path create ( String pathExpr, String currentNodeVar )
-        {
-            Path.Query p = XqrlDelegate.compilePath( pathExpr, currentNodeVar );
-            if (p==null)
-                return null;
-
-            return new XqrlPathImpl(pathExpr, p);
-        }
-
-        protected PathEngine execute (
-            Root r, Splay s, int p, XmlOptions options )
-        {
-            return _compiledPath.executePath( r, s, p, options );
-        }
-        
-        protected String getPathExpr ( ) { return _pathExpr; }
-    }
-
-    //
-    //
-    //
-
-    private static final class XbeanPathImpl extends Path
-    {
-        private XbeanPathImpl (
-            XPath xpath, String pathExpr, String currentNodeVar )
-        {
-            _pathExpr = pathExpr;
-            _xpath = xpath;
-            _currentNodeVar = currentNodeVar;
-        }
-
-//            try
-//            {
-//                String currentNodeVar = "this";
-//                
-//                if (XmlOptions.XQUERY_CURRENT_NODE_VAR.has( options ))
-//                {
-//                    currentNodeVar =
-//                        "$" + XmlOptions.XQUERY_CURRENT_NODE_VAR.get( options );
-//
-//                    if (currentNodeVar.startsWith( "$$" ))
-//                    {
-//                        throw
-//                            new IllegalArgumentException(
-//                                "Omit the '$p' refix for the current " +
-//                                    "node variable" );
-//                    }
-//                }
-
-        static Path create ( String pathExpr, String currentNodeVar )
-        {
-            assert !currentNodeVar.startsWith( "$" );
-
-            try
-            {
-                return
-                    new XbeanPathImpl(
-                        XPath.compileXPath( pathExpr, currentNodeVar ),
-                        pathExpr, currentNodeVar );
-            }
-            catch ( XPath.XPathCompileException e )
-            {
-                return null;
-            }
-        }
-
-        protected String getPathExpr ( ) { return _pathExpr; }
-        
-        protected PathEngine execute (
-            Root r, Splay s, int p, XmlOptions options )
-        {
-            // The builtin XPath engine works only on containers.  Delegate to
-            // xqrl otherwise.  Also, if the path had a //. at the end, the
-            // simple xpath engine can't do the generate case, it only handles
-            // attrs and elements.
-
-            if (p != 0 || !s.isContainer() || _xpath.sawDeepDot())
-            {
-                // If the xbean path compiler could could handle the path, then
-                // the xqrl compiler better be able to!
-
-                try
-                {
-                    return
-                        getPath( _pathExpr, true, null ).
-                            execute( r, s, p, options );
-                }
-                catch ( Throwable e )
-                {
-                    throw new RuntimeException( "Can't compile path", e );
-                }
-            }
-
-            return new XBeanPathEngine( _xpath, r, s );
-        }
-
-// TODO - because this xpath engine does not use a saver, any attributes in the
-// path which refer to namesapce attributes will require us to run the XQRL
-// path engine which is based on the saver.
-
-        private static class XBeanPathEngine
-            extends XPath.ExecutionContext implements PathEngine
-        {
-            XBeanPathEngine ( XPath xpath, Root r, Splay s )
-            {
-                assert s.isContainer();
-
-                _root = r;
-                _curr = _top = s;
-                _version = r.getVersion();
-
-                init( xpath );
-            }
-
-            public boolean next ( Selections selections )
-            {
-                int initialSize = selections.currentSize();
-
-                for ( ; ; )
-                {
-                    if (_root.getVersion() != _version)
-                        throw new IllegalStateException( "Document changed" );
-
-                    if (_curr == null)
-                        return false;
-
-                    advance( selections );
-
-                    if (initialSize < selections.currentSize())
-                        return true;
-                }
-            }
-
-            private Splay doAttrs ( int ret, Splay s, Selections selections )
-            {
-                if ((ret & ATTRS) == 0)
-                    return null;
-
-                for ( s = _curr.nextSplay() ; s.isAttr() ;
-                      s = s.nextSplay() )
-                {
-                    if (s.isNormalAttr() && attr( s.getName() ))
-                        selections.add( _root, s );
-                }
-
-                return s;
-            }
-
-            private void advance ( Selections selections )
-            {
-                if (_curr == _top)
-                {
-                    int ret = start();
-
-                    if ((ret & HIT) != 0)
-                        selections.add( _root, _curr );
-
-                    Splay s = doAttrs( ret, _curr, selections );
-
-                    if ((ret & DESCEND) == 0 || _curr.isLeaf())
-                        _curr = null;
-                    else
-                        _curr = s == null ? _curr.nextNonAttrSplay() : s;
-
-                    return;
-                }
-
-                for ( ; ; )
-                {
-                    if (_curr.isFinish())
-                    {
-                        if (_curr.getContainer() == _top)
-                            _curr = null;
-                        else
-                        {
-                            end();
-                            _curr = _curr.nextSplay();
-                        }
-
-                        return;
-                    }
-
-                    if (_curr.isBegin())
-                    {
-                        int ret = element( _curr.getName() );
-
-                        if ((ret & HIT) != 0)
-                            selections.add( _root, _curr );
-
-                        Splay s = doAttrs( ret, _curr, selections );
-
-                        if (_curr.isLeaf())
-                        {
-                            end();
-                            _curr = s == null ? _curr.nextNonAttrSplay() : s;
-                        }
-                        else if ((ret & DESCEND) == 0)
-                            _curr = ((Splay.Container) _curr).getFinish();
-                        else
-                            _curr = s == null ? _curr.nextNonAttrSplay() : s;
-
-                        return;
-                    }
-
-                    _curr = _curr.nextSplay();
-                }
-            }
-
-            private Root  _root;
-            private long  _version;
-            private Splay _top;
-            private Splay _curr;
-        }
-
-        private String _pathExpr;
-        private XPath  _xpath;
-        private String _currentNodeVar;
-    }
-
-
-    private static final class JaxenPathImpl extends Path
-    {
-        private String _pathExpr;
-        private JaxenXBeansDelegate.SelectPathInterface _xpathImpl;
-
-        private JaxenPathImpl (
-            JaxenXBeansDelegate.SelectPathInterface xpathImpl, String pathExpr )
-        {
-            _xpathImpl = xpathImpl;
-            _pathExpr = pathExpr;
-        }
-
-        static Path create ( String pathExpr, String currentNodeVar )
-        {
-            assert !currentNodeVar.startsWith( "$" ); // cezar review with ericvas
-
-            JaxenXBeansDelegate.SelectPathInterface impl = JaxenXBeansDelegate.createInstance( pathExpr );
-            if (impl == null)
-                return null;
-
-            return new JaxenPathImpl( impl , pathExpr );
-        }
-
-        protected String getPathExpr ( ) { return _pathExpr; }
-
-        protected PathEngine execute ( Root r, Splay s, int p, XmlOptions options )
-        {
-            return new JaxenPathEngine( _xpathImpl, r, s, p);
-        }
-
-        private static class JaxenPathEngine
-            extends XPath.ExecutionContext implements PathEngine
-        {
-            JaxenPathEngine( JaxenXBeansDelegate.SelectPathInterface xpathImpl, Root r, Splay s, int p )
-            {
-                _jaxenXpathImpl = xpathImpl;
-                _root = r;
-                _splay = s;
-                _p = p;
-                _version = r.getVersion();
-            }
-
-            public boolean next ( Selections selections )
-            {
-                if (!_firstCall)
-                    return false;
-
-                _firstCall = false;
-
-                if (_root.getVersion() != _version)
-                    throw new IllegalStateException( "Document changed" );
-
-                List resultsList;
-                Cursor cur = new Cursor(_root, _splay, _p);
-                resultsList = _jaxenXpathImpl.selectPath(cur);
-
-                int i;
-                for (i = 0; i<resultsList.size(); i++)
-                {
-                    XmlCursor.XmlBookmark b = (XmlCursor.XmlBookmark)resultsList.get(i);
-                    Splay.Annotation ann = ((Splay.Annotation)b._currentMark);
-                    selections.add(_root, ann.getSplay(), ann.getPos());
-                }
-                cur.dispose();
-                _root = null;
-                _splay = null;
-                _jaxenXpathImpl = null;
-
-                return false;
-            }
-
-            private JaxenXBeansDelegate.SelectPathInterface _jaxenXpathImpl;
-            private Root  _root;
-            private Splay _splay;
-            private int _p;
-            private long  _version;
-            private boolean _firstCall = true;
-        }
-    }
-
-    private static HashMap _xqrlPathCache = new HashMap();
-    private static HashMap _xbeanPathCache = new HashMap();
-    private static HashMap _xqrlQueryCache = new HashMap();
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Root.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Root.java
deleted file mode 100644
index 200cedf..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Root.java
+++ /dev/null
@@ -1,3687 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import java.lang.reflect.Method;
-
-import org.apache.xmlbeans.impl.common.EncodingMap;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.common.XMLNameHelper;
-import org.apache.xmlbeans.impl.common.ResolverUtil;
-import org.apache.xmlbeans.impl.store.Splay.Finish;
-import org.apache.xmlbeans.impl.values.NamespaceManager;
-import org.apache.xmlbeans.QNameCache;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlLineNumber;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlRuntimeException;
-import org.apache.xmlbeans.XmlSaxHandler;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.xml.sax.Attributes;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.ext.LexicalHandler;
-import org.apache.xmlbeans.xml.stream.Attribute;
-import org.apache.xmlbeans.xml.stream.AttributeIterator;
-import org.apache.xmlbeans.xml.stream.CharacterData;
-import org.apache.xmlbeans.xml.stream.ProcessingInstruction;
-import org.apache.xmlbeans.xml.stream.Space;
-import org.apache.xmlbeans.xml.stream.StartDocument;
-import org.apache.xmlbeans.xml.stream.StartElement;
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLName;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.SAXParserFactory;
-import javax.xml.parsers.SAXParser;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.io.Reader;
-import java.io.StringReader;
-import java.util.HashMap;
-import java.util.Map;
-
-public final class Root extends Finish
-{
-    public Root ( SchemaTypeLoader stl, SchemaType type, XmlOptions options )
-    {
-        super( ROOT );
-
-        assert stl != null;
-
-        _schemaTypeSystem = stl;
-
-        _leftOnly = true;
-
-        _props = new DocProps();
-
-        _doc = new Doc( this, null );
-
-        _leftSplay = _doc;
-        _doc._parentSplay = this;
-        adjustCdocBeginLeft( _doc.getCdocBegin() );
-
-        _text = new Text();
-
-        SchemaType sType = null;
-
-        options = XmlOptions.maskNull( options );
-        
-        if (options.hasOption( XmlOptions.DOCUMENT_TYPE ))
-            sType = (SchemaType) options.get( XmlOptions.DOCUMENT_TYPE );
-
-        if (sType == null)
-            sType = type;
-
-        if (sType == null)
-            sType = XmlObject.type;
-
-        _validateOnSet = options.hasOption( XmlOptions.VALIDATE_ON_SET );
-
-        _doc.setType( this, sType );
-    }
-
-    public static XmlObject newInstance (
-        SchemaTypeLoader stl, SchemaType type, XmlOptions options )
-    {
-        return new Root( stl, type, options ).getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, String xmlText, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( xmlText, type, options );
-        return r.getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, XMLInputStream xis, SchemaType type, XmlOptions options )
-            throws XmlException, XMLStreamException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( xis, type, options );
-        return r.getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, XMLStreamReader xsr, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( xsr, type, options );
-        return r.getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, InputStream is, SchemaType type, XmlOptions options )
-            throws XmlException, IOException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( is, type, options );
-        return r.getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, Reader reader, SchemaType type, XmlOptions options )
-            throws XmlException, IOException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( reader, type, options );
-        return r.getObject();
-    }
-
-    public static XmlObject parse (
-        SchemaTypeLoader stl, Node node, SchemaType type, XmlOptions options )
-            throws XmlException
-    {
-        Root r = new Root( stl, null, options );
-        r.loadXml( node, type, options );
-        return r.getObject();
-    }
-
-    public static XmlSaxHandler newSaxHandler (
-        SchemaTypeLoader stl, SchemaType type, XmlOptions options )
-    {
-        return new Root( stl, null, options ).newSaxHandler( type, options );
-    }
-
-    public XmlDocumentProperties documentProperties ( )
-    {
-        return _props;
-    }
-
-    public XmlCursor createCursor ( )
-    {
-        assert validate();
-        return new Cursor( this, _doc );
-    }
-
-    Container getContainer ( ) { return _doc; }
-
-    boolean validateOnSet ( ) { return _validateOnSet; }
-
-    public XmlObject getObject ( )
-    {
-        Type t = _doc.peekType();
-
-        return t == null ? null : t.getXmlObject();
-    }
-
-    public SchemaTypeLoader getSchemaTypeLoader ( )
-    {
-        return _schemaTypeSystem;
-    }
-
-    boolean isEmpty ( )
-    {
-        return _leftSplay == _doc && _doc._rightSplay == null && _doc.isValid();
-    }
-
-    boolean isLeftOnly ( ) { return _leftOnly; }
-
-    void ensureEmpty ( )
-    {
-        if (!isEmpty())
-            _doc.removeContent( this, true );
-
-        assert isEmpty();
-        assert validate();
-        assert _leftOnly;
-        assert getCchLeft() == 0;
-        assert _text.length() == 0;
-        assert getCdocBeginLeft() == 1;
-        assert _doc != null && _leftSplay == _doc;
-    }
-
-    void updateCch ( Splay s, int deltaCch )
-    {
-        assert !s.isRoot();
-
-        if (deltaCch != 0)
-        {
-            s.splay( this, this );
-
-            s.adjustCch( deltaCch );
-            adjustCchLeft( deltaCch );
-        }
-    }
-
-    int getCp ( Splay s )
-    {
-        //
-        // A left only tree has the nice property that _cchLeft is
-        // also the cp!
-        //
-
-        if (!_leftOnly && s != this)
-            s.splay( this, this );
-
-        return s.getCchLeft();
-    }
-
-    int getDocBeginIndex ( Splay s )
-    {
-        //
-        // A left only tree has the nice property that cdocBeginLeft is
-        // also the pos!
-        //
-
-        if (!_leftOnly)
-            s.splay( this, this );
-
-        return s.getCdocBeginLeft();
-    }
-    
-    Begin findNthBegin ( Splay parent, QName name, QNameSet set, int n )
-    {
-        // only one of (set or name) is not null
-        // or both are null for a wildcard
-        assert ( name == null || set == null );
-        assert n >= 0;
-
-        if (parent == null || parent.isLeaf())
-            return null;
-
-        int da = _nthCache_A.distance( parent, name, set, n );
-        int db = _nthCache_B.distance( parent, name, set, n );
-
-        Begin b =
-            da <= db
-                ? _nthCache_A.fetch( parent, name, set, n )
-                : _nthCache_B.fetch( parent, name, set, n );
-
-        if (da == db)
-        {
-            nthCache temp = _nthCache_A;
-            _nthCache_A = _nthCache_B;
-            _nthCache_B = temp;
-        }
-
-        return b;
-    }
-
-    int count ( Container parent, QName name, QNameSet set )
-    {
-        Splay s = findNthBegin( parent, name, set, 0 );
-
-        if (s == null)
-            return 0;
-
-        int n = 0;
-
-        for ( ; ; s = s.nextSplay() )
-        {
-            if (s.isFinish())
-                break;
-
-            if (!s.isBegin())
-                continue;
-
-            if (set == null)
-            {
-                if (s.getName().equals(name))
-                    n++;
-            }
-            else
-            {
-                if (set.contains(s.getName()))
-                    n++;
-            }
-
-            s = s.getFinishSplay();
-        }
-
-        return n;
-    }
-
-    /**
-     * Set up strong type information based on this schema type system.
-     */
-
-    private boolean namespacesSame ( QName n1, QName n2 )
-    {
-        if (n1 == n2)
-            return true;
-
-        if (n1 == null || n2 == null)
-            return false;
-
-        if (n1.getNamespaceURI() == n2.getNamespaceURI())
-            return true;
-
-        if (n1.getNamespaceURI() == null || n2.getNamespaceURI() == null)
-            return false;
-
-        return n1.getNamespaceURI().equals( n2.getNamespaceURI() );
-    }
-
-    private void addNamespace ( StringBuffer sb, QName name )
-    {
-        if (name.getNamespaceURI() == null)
-            sb.append( "<no namespace>" );
-        else
-        {
-            sb.append( "\"" );
-            sb.append( name.getNamespaceURI() );
-            sb.append( "\"" );
-        }
-    }
-
-    XmlObject autoTypedDocument (
-        SchemaType factoryType, XmlOptions options )
-            throws XmlException
-    {
-        // The type in the options has highest precidence because it is
-        // supplied by the user.
-        
-        SchemaType overrideType =
-            (SchemaType) XmlOptions.safeGet( options, XmlOptions.DOCUMENT_TYPE );
-
-        // precedence is given to the override above all
-        
-        SchemaType theType = overrideType;
-
-        // Document and attribute types have no name
-        
-        if (theType == null &&
-                (factoryType == null ||
-                    (!factoryType.isDocumentType() &&
-                        !factoryType.isAttributeType())))
-        {
-            // infer type from xsi:type
-            QName typeName = _doc.getXsiTypeName( this );
-
-            SchemaType sniffedType =
-                typeName == null
-                    ? null
-                    : _schemaTypeSystem.findType( typeName );
-
-            if (factoryType == null ||
-                    factoryType.isAssignableFrom( sniffedType ))
-            {
-                theType = sniffedType;
-            }
-        }
-
-        // todo:
-        // use the following when implementing subst groups:
-        //     factoryType == null || expectedType.isDocumentType()
-
-        if (factoryType == null || factoryType.isDocumentType())
-        {
-            if (theType == null)
-            {
-                // infer type based on root elt
-
-                QName docElemName = null;
-
-                XmlCursor c = createCursor();
-
-                if (c.toFirstChild() && !c.toNextSibling())
-                    docElemName = c.getName();
-
-                c.dispose();
-
-                if (docElemName != null)
-                    theType = _schemaTypeSystem.findDocumentType( docElemName );
-
-                // verify elt inheritance when implementing subst groups
-                if (factoryType != null && theType != null)
-                {
-                    QName factoryElemName = factoryType.getDocumentElementName();
-
-                    if (!factoryElemName.equals(docElemName) &&
-                        !factoryType.isValidSubstitution(docElemName))
-
-                        throw new XmlException("Element " + QNameHelper.pretty(docElemName) +
-                            " is not a valid " + QNameHelper.pretty(factoryElemName) +
-                            " document or a valid substitution.");
-                }
-
-            }
-
-            if (theType == null)
-            {
-                // infer type based on root attr
-
-                QName attrName = null;
-
-                XmlCursor c = createCursor();
-
-                if (c.toFirstAttribute() && !c.toNextAttribute())
-                    attrName = c.getName();
-
-                c.dispose();
-
-                if (attrName != null)
-                    theType = _schemaTypeSystem.findAttributeType( attrName );
-            }
-        }
-
-        // sniffing doesn't say anything: assume the expected type
-        if (theType == null)
-            theType = factoryType;
-
-        // Still nothing: the no type.
-        if (theType == null)
-            theType = XmlBeans.NO_TYPE;
-
-        // assign type
-        _doc.setType( this, theType );
-
-        // todo: Have a similar attribute type check
-        if (factoryType != null)
-        {
-            if (theType.isDocumentType())
-                verifyDocumentType( theType.getDocumentElementName() );
-            else if (theType.isAttributeType())
-                verifyAttributeType( theType.getAttributeTypeAttributeName() );
-        }
-
-        //
-        // If a type was passed in, usually from generated code which needs the
-        // type to be something specific because of a pending cast, then check
-        // the resulting type and throw a nice exception.
-        //
-
-        if (factoryType != null && !factoryType.isAssignableFrom(theType))
-        {
-            /*
-            System.out.println("Factory type = " + factoryType);
-            System.out.println("The type = " + theType);
-            System.out.println("basetype of the type = " + theType.getBaseType());
-            */
-
-            throw
-                new XmlException( "XML object is not of type " + factoryType );
-        }
-
-        return getObject();
-    }
-
-    private void verifyDocumentType ( QName docElemName )
-        throws XmlException
-    {
-        XmlCursor c = createCursor();
-
-        try
-        {
-            StringBuffer sb = null;
-
-            if (!c.toFirstChild() || c.toNextSibling())
-            {
-                sb = new StringBuffer();
-
-                sb.append( "The document is not a " );
-                sb.append( QNameHelper.pretty( docElemName ) );
-
-                if (c.currentTokenType().isStartdoc())
-                    sb.append( ": no document element" );
-                else
-                    sb.append( ": multiple document elements" );
-            }
-            else
-            {
-                QName name = c.getName();
-
-                if (!name.equals( docElemName ))
-                {
-                    sb = new StringBuffer();
-
-                    sb.append( "The document is not a " );
-                    sb.append( QNameHelper.pretty( docElemName ) );
-
-                    if (docElemName.getLocalPart().equals( name.getLocalPart() ))
-                    {
-                        sb.append( ": document element namespace mismatch " );
-                        sb.append( "expected " );
-                        addNamespace( sb, docElemName );
-                        sb.append( " got " );
-                        addNamespace(sb,  name );
-                    }
-                    else if (namespacesSame( docElemName, name ))
-                    {
-                        sb.append( ": document element local name mismatch " );
-                        sb.append( "expected " + docElemName.getLocalPart() );
-                        sb.append( " got " + name.getLocalPart() );
-                    }
-                    else
-                    {
-                        sb.append( ": document element mismatch " );
-                        sb.append( "got " );
-                        sb.append( QNameHelper.pretty( name ) );
-                    }
-                }
-            }
-
-            if (sb != null)
-            {
-                XmlError err = XmlError.forCursor(sb.toString(), c.newCursor());
-                throw new XmlException( err.toString(), null, err );
-            }
-        }
-        finally
-        {
-            c.dispose();
-        }
-    }
-
-    private void verifyAttributeType ( QName attrName )
-        throws XmlException
-    {
-        XmlCursor c = createCursor();
-
-        try
-        {
-            StringBuffer sb = null;
-
-            if (!c.toFirstAttribute() || c.toNextAttribute())
-            {
-                sb = new StringBuffer();
-
-                sb.append( "The document is not a " );
-                sb.append( QNameHelper.pretty( attrName ) );
-
-                if (c.currentTokenType().isStartdoc())
-                    sb.append( ": no attributes" );
-                else
-                    sb.append( ": multiple attributes" );
-            }
-            else
-            {
-                QName name = c.getName();
-
-                if (!name.equals( attrName ))
-                {
-                    sb = new StringBuffer();
-
-                    sb.append( "The document is not a " );
-                    sb.append( QNameHelper.pretty( attrName ) );
-
-                    if (attrName.getLocalPart().equals( name.getLocalPart() ))
-                    {
-                        sb.append( ": attribute namespace mismatch " );
-                        sb.append( "expected " );
-                        addNamespace( sb, attrName );
-                        sb.append( " got " );
-                        addNamespace(sb,  name );
-                    }
-                    else if (namespacesSame( attrName, name ))
-                    {
-                        sb.append( ": attribute local name mismatch " );
-                        sb.append( "expected " + attrName.getLocalPart() );
-                        sb.append( " got " + name.getLocalPart() );
-                    }
-                    else
-                    {
-                        sb.append( ": attribute element mismatch " );
-                        sb.append( "got " );
-                        sb.append( QNameHelper.pretty( name ) );
-                    }
-                }
-            }
-
-            if (sb != null)
-            {
-                XmlError err = XmlError.forCursor(sb.toString(), c.newCursor());
-                throw new XmlException( err.toString(), null, err );
-            }
-        }
-        finally
-        {
-            c.dispose();
-        }
-    }
-
-    //
-    //
-    //
-
-    private static ThreadLocal tl_SaxLoaders =
-        new ThreadLocal()
-        {
-            protected Object initialValue()
-            {
-                SaxLoader sl = PiccoloSaxLoader.newInstance();
-
-                if (sl == null)
-                    sl = DefaultSaxLoader.newInstance();
-
-                if (sl == null)
-                    throw new RuntimeException( "Can't find an XML parser" );
-
-                return sl;
-            }
-        };
-
-    private static SaxLoader getSaxLoader ( )
-    {
-        return (SaxLoader) tl_SaxLoaders.get();
-    }
-    
-
-    private static class PiccoloSaxLoader extends SaxLoader
-    {
-        public static SaxLoader newInstance ( )
-        {
-            try
-            {
-                Class pc = Class.forName( "com.bluecast.xml.Piccolo" );
-                
-                XMLReader xr = (XMLReader) pc.newInstance();
-
-                Method m_getEncoding     = pc.getMethod( "getEncoding", null );
-                Method m_getVersion      = pc.getMethod( "getVersion", null );
-                Method m_getStartLocator = pc.getMethod( "getStartLocator", null );
-
-                Locator startLocator =
-                    (Locator) m_getStartLocator.invoke( xr, null );
-
-                return new PiccoloSaxLoader( xr, startLocator, m_getEncoding, m_getVersion );
-            }
-            catch ( ClassNotFoundException e )
-            {
-                return null;
-            }
-            catch ( Exception e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-        
-        protected void postLoad ( Root r )
-        {
-            try
-            {
-                r._props.setEncoding( (String) _m_getEncoding.invoke( _xr, null ) );
-                r._props.setVersion ( (String) _m_getVersion .invoke( _xr, null ) );
-            }
-            catch ( Exception e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-        
-        private PiccoloSaxLoader (
-            XMLReader xr, Locator startLocator, Method m_getEncoding, Method m_getVersion )
-        {
-            super( xr, startLocator );
-
-            _m_getEncoding = m_getEncoding;
-            _m_getVersion = m_getVersion;
-        }
-
-        private Method _m_getEncoding;
-        private Method _m_getVersion;
-    }
-    
-    private static class DefaultSaxLoader extends SaxLoader
-    {
-        public static SaxLoader newInstance ( )
-        {
-            try
-            {
-                return
-                    new DefaultSaxLoader(
-                        SAXParserFactory.newInstance().newSAXParser().getXMLReader() );
-            }
-            catch ( Throwable e )
-            {
-                throw new RuntimeException( e.getMessage(), e );
-            }
-        }
-
-        private DefaultSaxLoader ( XMLReader xr )
-        {
-            super( xr, null );
-        }
-    }
-
-    private static class SaxLoader
-        implements ContentHandler, LexicalHandler, ErrorHandler, EntityResolver
-    {
-        protected SaxLoader ( XMLReader xr, Locator startLocator )
-        {
-            _xr = xr;
-            _startLocator = startLocator;
-
-            if (xr != null)
-            {
-                try
-                {
-                    xr.setFeature( "http://xml.org/sax/features/namespace-prefixes", true );
-                    xr.setFeature( "http://xml.org/sax/features/namespaces", true );
-                    xr.setFeature( "http://xml.org/sax/features/validation", false );
-                    xr.setProperty( "http://xml.org/sax/properties/lexical-handler", this );
-                    xr.setContentHandler( this );
-                    xr.setErrorHandler( this );
-                    
-                    EntityResolver entRes = ResolverUtil.getGlobalEntityResolver();
-                    
-                    if (entRes != null)
-                        xr.setEntityResolver( entRes );
-                }
-                catch ( Throwable e )
-                {
-                    throw new RuntimeException( e.getMessage(), e );
-                }
-            }
-        }
-
-        protected void setContext ( LoadContext context, XmlOptions options )
-        {
-            _context = context;
-
-            _wantLineNumbers =
-                XmlOptions.maskNull(
-                    options ).hasOption( XmlOptions.LOAD_LINE_NUMBERS ) &&
-                    _startLocator != null;
-        }
-
-        protected void postLoad ( Root r )
-        {
-        }
-
-        public void load ( Root r, InputSource inputSource, XmlOptions options )
-            throws IOException, XmlException
-        {
-            options = XmlOptions.maskNull( options );
-            
-            boolean overrodeResolver = false;
-            EntityResolver oldResolver = _xr.getEntityResolver();
-            
-            EntityResolver er = (EntityResolver) options.get( XmlOptions.ENTITY_RESOLVER );
-
-            if (er == null)
-            {
-                if (!options.hasOption( XmlOptions.LOAD_USE_DEFAULT_RESOLVER ))
-                {
-                    overrodeResolver = true;
-                    _xr.setEntityResolver( this );
-                }
-            }
-            else
-            {
-                overrodeResolver = true;
-                oldResolver = _xr.getEntityResolver();
-                
-                _xr.setEntityResolver( er );
-            }
-
-            LoadContext context = new LoadContext( r, options );
-            
-            setContext( context, options );
-            
-            try
-            {
-                assert r.disableStoreValidation();
-
-                _xr.parse( inputSource );
-
-                postLoad( r );
-
-//                // Piccolo specific access to encoding and version
-//                _props.setEncoding( piccolo.getEncoding() );
-//                _props.setVersion( piccolo.getVersion() );
-
-                context.finish();
-
-                r.associateSourceName( options );
-            }
-            catch ( XmlRuntimeException e )
-            {
-                context.abort();
-                throw new XmlException( e );
-            }
-            catch ( SAXParseException e )
-            {
-                context.abort();
-
-                XmlError err =
-                    XmlError.forLocation(
-                        e.getMessage(),
-                        (String) XmlOptions.safeGet( options, XmlOptions.DOCUMENT_SOURCE_NAME ),
-                        e.getLineNumber(), e.getColumnNumber(), -1 );
-
-                throw new XmlException( err.toString(), e, err );
-            }
-            catch ( SAXException e )
-            {
-                context.abort();
-                
-                XmlError err = XmlError.forMessage( e.getMessage() );
-                
-                throw new XmlException( err.toString(), e, err );
-            }
-            catch ( RuntimeException e )
-            {
-                context.abort();
-                throw e;
-            }
-            finally
-            {
-                assert r.enableStoreValidation();
-
-                if (overrodeResolver && oldResolver != null)
-                    _xr.setEntityResolver( oldResolver );
-            }
-        }
-
-        // Sax ContentHandler
-
-        public void startDocument ( ) throws SAXException
-        {
-        }
-
-        public void endDocument ( ) throws SAXException
-        {
-            // Set context to null
-            // This prevents the handler (which is held in TLS from keeping
-            // the entire document in memory
-            _context = null;
-        }
-
-        public void startElement (
-            String namespaceURI, String localName,
-            String qName, Attributes atts )
-                throws SAXException
-        {
-            if (localName.length() == 0)
-                localName = qName;
-
-            // Out current parser (Piccolo) does not error when a
-            // namespace is used and not defined.  Check for these here
-
-            if (qName.indexOf( ':' ) >= 0 && namespaceURI.length() == 0)
-            {
-                XmlError err =
-                    XmlError.forMessage(
-                        "Use of undefined namespace prefix: " +
-                            qName.substring( 0, qName.indexOf( ':' ) ));
-
-                throw new XmlRuntimeException( err.toString(), null, err );
-            }
-
-            _context.begin( localName, namespaceURI );
-
-            // BUGBUG - do more of the following to get line number for
-            // as many parts of the XML as we can
-            if (_wantLineNumbers)
-            {
-                _context.lineNumberAnnotation(
-                    _startLocator.getLineNumber(),
-                    _startLocator.getColumnNumber(),
-                    -1 );
-            }
-
-            for ( int i = 0, len = atts.getLength() ; i < len ; i++ )
-            {
-                String aqn = atts.getQName( i );
-
-                if (aqn.equals( "xmlns" ))
-                {
-                    _context.xmlns( "", atts.getValue( i ) );
-                }
-                else if (aqn.startsWith( "xmlns:" ))
-                {
-                    String prefix = aqn.substring( 6 );
-
-                    if (prefix.length() == 0)
-                    {
-                        XmlError err =
-                            XmlError.forMessage( "Prefix not specified", XmlError.SEVERITY_ERROR );
-
-                        throw new XmlRuntimeException( err.toString(), null, err );
-                    }
-
-                    String uri = atts.getValue( i );
-
-                    if (uri.length() == 0)
-                    {
-                        XmlError err =
-                            XmlError.forMessage(
-                                "Prefix can't be mapped to no namespace: " + prefix,
-                                XmlError.SEVERITY_ERROR );
-
-                        throw new XmlRuntimeException( err.toString(), null, err );
-                    }
-
-                    _context.xmlns( prefix, uri );
-                }
-                else
-                {
-                    String attrUri = atts.getURI( i );
-                    String attrLocal = atts.getLocalName( i );
-
-                    if (attrLocal.length() == 0)
-                        attrLocal = aqn;
-
-// given the doc <a x:y='z'/>, piccolo will report the uri of the y
-// attribute as 'x'!  Bad Piccolo.  Thus, I can't perform the undefined
-// prefix check here.
-//
-//                    if (aqn.indexOf( ':' ) >= 0 && attrUri.length() == 0)
-//                    {
-//                        XmlError err =
-//                            new CursorXmlError(
-//                                "Use of undefined namespace prefix: " +
-//                                    aqn.substring( 0, aqn.indexOf( ':' ) ),
-//                                XmlError.SEVERITY_ERROR,
-//                                null );
-//
-//                        throw
-//                            new XmlRuntimeException(
-//                                err.toString(), null, err );
-//                    }
-
-                    _context.attr( attrLocal, attrUri, atts.getValue( i ) );
-                }
-            }
-        }
-
-        public void endElement (
-            String namespaceURI, String localName, String qName )
-                throws SAXException
-        {
-            _context.end();
-        }
-        public void characters ( char ch[], int start, int length )
-
-            throws SAXException
-        {
-            _context.text( ch, start, length );
-        }
-
-        public void ignorableWhitespace ( char ch[], int start, int length )
-            throws SAXException
-        {
-            _context.text( ch, start, length );
-        }
-
-        public void comment ( char ch[], int start, int length )
-            throws SAXException
-        {
-            _context.comment( ch, start, length );
-        }
-
-        public void processingInstruction ( String target, String data )
-            throws SAXException
-        {
-            _context.procinst( target, data );
-        }
-
-        public void startDTD ( String name, String publicId, String systemId )
-            throws SAXException
-        {
-            _context.doctype( name, publicId, systemId );
-        }
-
-        public void endDTD ( ) throws SAXException
-        {
-        }
-
-        // Error Handling
-        public void fatalError ( SAXParseException e ) throws SAXException
-        {
-            throw e;
-        }
-
-        public void error ( SAXParseException e ) throws SAXException
-        {
-            // As of piccolo 1.03 this is never called
-            throw new UnsupportedOperationException( "Should not be called" );
-        }
-
-        public void warning ( SAXParseException e ) throws SAXException
-        {
-            // As of piccolo 1.03 this is never called
-            throw new UnsupportedOperationException( "Should not be called" );
-        }
-
-        // Entity Resolver
-        public InputSource resolveEntity( String publicId, String systemId )
-        {
-            // System.out.println("public id = " + publicId);
-            // System.out.println("system id = " + systemId);
-
-            return new InputSource( new StringReader( "" ) );
-        }
-
-        public void setDocumentLocator ( Locator locator )
-        {
-            _locator = locator;
-        }
-
-        public void startPrefixMapping ( String prefix, String uri )
-            throws SAXException
-        {
-            if (beginsWithXml( prefix ) &&
-                ! ( "xml".equals( prefix ) && _xml1998Uri.equals( uri ) ))
-            {
-                XmlError err =
-                    XmlError.forMessage(
-                        "Prefix can't begin with XML: " + prefix,
-                        XmlError.SEVERITY_ERROR );
-
-                throw
-                    new XmlRuntimeException(
-                        err.toString(), null, err );
-            }
-        }
-
-        // Ignored
-        public void endPrefixMapping ( String prefix ) throws SAXException {}
-        public void skippedEntity ( String name ) throws SAXException {}
-        public void startCDATA ( ) throws SAXException { }
-        public void endCDATA ( ) throws SAXException { }
-        public void startEntity ( String name ) throws SAXException { }
-        public void endEntity ( String name ) throws SAXException { }
-
-        protected XMLReader _xr;
-        
-        private Locator     _locator;
-        private LoadContext _context;
-        private boolean     _wantLineNumbers;
-        private Locator     _startLocator;
-    }
-    
-    //
-    //
-    //
-
-    public XmlObject loadXml ( InputStream in, SchemaType type, XmlOptions options )
-        throws IOException, XmlException
-    {
-        String encodingOverride =
-            (String) XmlOptions.safeGet( options, XmlOptions.CHARACTER_ENCODING );
-
-        if (encodingOverride != null)
-        {
-            String javaEncoding = EncodingMap.getIANA2JavaMapping( encodingOverride );
-
-            if (javaEncoding == null)
-                javaEncoding = encodingOverride;
-
-            return loadXml( new InputStreamReader( in, javaEncoding ), type, options );
-        }
-
-        return loadXml( new InputSource( in ), type, options );
-    }
-
-    public XmlObject loadXml ( Reader r, SchemaType type, XmlOptions options )
-        throws IOException, XmlException
-    {
-        return loadXml( new InputSource( r ), type, options );
-    }
-
-    public XmlObject loadXml ( InputSource is, SchemaType type, XmlOptions options )
-        throws IOException, XmlException
-    {
-        is.setSystemId( "file://" );
-
-        getSaxLoader().load( this, is, options );
-
-        return autoTypedDocument( type, options );
-    }
-    
-    public XmlObject loadXml ( XMLStreamReader xsr, SchemaType type, XmlOptions options )
-        throws XmlException
-    {
-        try
-        {
-            loadXMLStreamReader( xsr, options );
-        }
-        catch ( javax.xml.stream.XMLStreamException e )
-        {
-            throw new XmlException( e.getMessage(), e );
-        }
-
-        return autoTypedDocument( type, options );
-    }
-    
-    public XmlObject loadXml ( String s, SchemaType type, XmlOptions options )
-        throws XmlException
-    {
-        Reader r = new StringReader( s );
-
-        try
-        {
-            return loadXml( r, type, options );
-        }
-        catch ( IOException e )
-        {
-            assert false: "StringReader should not throw IOException";
-            throw new XmlException( e.getMessage(), e );
-        }
-        finally
-        {
-            try { r.close(); } catch ( IOException e ) { }
-        }
-    }
-
-    private void associateSourceName ( XmlOptions options )
-    {
-        String sourceName =
-            (String) XmlOptions.safeGet(
-                options, XmlOptions.DOCUMENT_SOURCE_NAME );
-
-        if (sourceName != null)
-            _props.setSourceName( sourceName );
-    }
-
-    //
-    // XmlSaxHandler is returned to a user so that user may obtain the content
-    // and lexical handlers to push content and then get the XmlObject at the
-    // end of the parse push.
-    //
-
-    private class XmlSaxHandlerImpl extends SaxLoader implements XmlSaxHandler
-    {
-        XmlSaxHandlerImpl ( SchemaType type, XmlOptions options )
-        {
-            super( null, null );
-            
-            assert isEmpty();
-
-            _options = options;
-            _type = type;
-
-            _context = new LoadContext( Root.this, options );
-
-            setContext( _context, options );
-        }
-
-        public ContentHandler getContentHandler ( )
-        {
-            return _context == null ? null : this;
-        }
-
-        public LexicalHandler getLexicalHandler ( )
-        {
-            return _context == null ? null : this;
-        }
-
-        public XmlObject getObject ( ) throws XmlException
-        {
-            if (_context == null)
-                return null;
-
-            _context.finish();
-
-            _context = null;
-
-            Root.this.associateSourceName( _options );
-
-            return Root.this.autoTypedDocument( _type, _options );
-        }
-
-        private LoadContext _context;
-        private SchemaType  _type;
-        private XmlOptions  _options;
-    }
-
-    public XmlSaxHandler newSaxHandler ( SchemaType type, XmlOptions options )
-    {
-        return new XmlSaxHandlerImpl( type, options );
-    }
-
-    //
-    //
-    //
-
-    private void newParseSax ( InputSource in, XmlOptions options )
-    {
-        LoadContext context = new LoadContext( this, options );
-    }
-
-    //
-    // Helper object for creating documents in a "load" kinda way
-    //
-
-    static final class LoadContext
-    {
-        LoadContext ( Root root, XmlOptions options )
-        {
-            assert root != null;
-
-            _options = options = XmlOptions.maskNull( options );
-
-            _qnameCache = XmlBeans.getQNameCache();
-
-            if (options.hasOption( XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT ))
-            {
-                QName name = (QName) options.get( XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT );
-
-                if (name != null && name.getLocalPart().length() == 0)
-                {
-                    throw
-                        new IllegalArgumentException(
-                            "Load Replace Document Element: Invalid name, local part empty" );
-                }
-                
-                _discardDocElem = true;
-                _replaceDocElem = name;
-            }
-
-            _stripWhitespace = options.hasOption(XmlOptions.LOAD_STRIP_WHITESPACE);
-            _stripComments = options.hasOption(XmlOptions.LOAD_STRIP_COMMENTS);
-            _stripProcinsts = options.hasOption(XmlOptions.LOAD_STRIP_PROCINSTS);
-
-            _substituteNamespaces =
-                (Map) options.get(XmlOptions.LOAD_SUBSTITUTE_NAMESPACES);
-
-            _additionalNamespaces =
-                (Map) options.get(XmlOptions.LOAD_ADDITIONAL_NAMESPACES);
-
-            _root = root;
-            _root.ensureEmpty();
-
-            _lastNonAttr = _root._doc;
-            _lastSplay = _root._doc;
-            _lastPos = 0;
-
-            _frontier = _root._doc;
-        }
-
-        private Root getRoot ( )
-        {
-            return _root;
-        }
-
-        private int getCp ( Splay s )
-        {
-            assert _root.isLeftOnly();
-            assert dv > 0 || s.getCpSlow() == s.getCchLeft();
-            return s.getCchLeft();
-        }
-
-        private void adjustCch ( Splay s, int delta )
-        {
-            assert _root.isLeftOnly();
-
-            s.adjustCch( delta );
-
-            // There may be attrs after this splay which need their cchLeft's
-            // to be updated.  To avoid splaying, update them by hand.
-
-            for ( s = s.nextSplay() ; s != null ; s = s.nextSplay() )
-            {
-                assert s.isAttr() || s.isRoot();
-                s.adjustCchLeft( delta );
-            }
-        }
-
-        private void insert ( Splay s )
-        {
-            assert !_finished;
-            assert s.getCch() == 0;
-
-            _root.insertSplay( s, _root._leftSplay );
-
-            _lastSplay = s;
-            _lastPos = 0;
-
-            if (!s.isAttr())
-                _lastNonAttr = s;
-        }
-
-        private void insert ( Splay s, char[] buf, int off, int cch )
-        {
-            assert !_finished;
-            assert s.getCch() == 0;
-            insert( s );
-            _root._text.insert( getCp( s ), buf, off, cch );
-            adjustCch( s, cch );
-        }
-
-        private void insert ( Splay s, String text )
-        {
-            assert !_finished;
-            assert s.getCch() == 0;
-            insert( s );
-            _root._text.insert( getCp( s ), text );
-            adjustCch( s, text.length() );
-        }
-
-        private void stripLeadingWhitespace ( )
-        {
-            int cchAfter = _lastNonAttr.getCchAfter();
-
-            if (cchAfter > 0)
-            {
-                int cch = cchAfter;
-
-                int cpAfter =
-                    _lastNonAttr.getCpForPos(
-                        _root, _lastNonAttr.getPosAfter() );
-
-                int off = _root._text.unObscure( cpAfter, cch );
-
-                for ( ; cch > 0 ; cch-- )
-                {
-                    if (!isWhiteSpace( _root._text._buf[ off + cch - 1 ]))
-                        break;
-                }
-
-                int delta = cch - cchAfter;
-
-                if (delta < 0)
-                {
-                    _root._text.remove( cpAfter + cchAfter + delta, - delta );
-                    _lastNonAttr.adjustCchAfter( delta );
-                    adjustCch( _lastNonAttr, delta );
-                }
-            }
-        }
-
-        void abort ( )
-        {
-            // The shit must have hit the fan ...
-
-            // Close all elements
-
-            while ( _frontier != _root._doc )
-                end();
-
-            try
-            {
-                finish();
-            }
-            catch ( XmlException e )
-            {
-                assert false;
-            }
-        }
-
-        void finish ( ) throws XmlException
-        {
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-
-            // TODO: deal with unterminated begins here
-
-            if (_frontier != _root._doc)
-                throw new XmlException( "Document not ended" );
-
-            assert _root._leftOnly;
-
-            _finished = true;
-
-            _lastSplay = _root;
-            _lastPos = 0;
-
-            if (_options.hasOption(XmlOptions.LOAD_TRIM_TEXT_BUFFER))
-                _root._text.trim();
-
-            // If we have additional namespaces, add them now, making sure we
-            // done over ride exisitng ones.
-
-            if (_additionalNamespaces != null)
-            {
-                Splay s = _root._doc;
-
-                while ( !s.isRoot() && !s.isBegin() )
-                    s = s.nextSplay();
-
-                if (s.isBegin())
-                {
-                    java.util.Iterator i =
-                        _additionalNamespaces.keySet().iterator();
-
-                    while ( i.hasNext() )
-                    {
-                        String prefix = (String) i.next();
-
-                        // Usually, this is the predefined xml namespace
-                        if (prefix.toLowerCase().startsWith( "xml" ))
-                            continue;
-
-                        String namespace =
-                            (String) _additionalNamespaces.get( prefix );
-
-                        if (s.namespaceForPrefix( prefix, false ) == null)
-                        {
-                            _root.insertSingleSplaySansSplayInLeftOnlyTree(
-                                new Xmlns( new QName( namespace, prefix ) ),
-                                s );
-
-                            // The above insert should not splay the tree
-                            assert _root.isLeftOnly();
-                        }
-                    }
-                }
-            }
-
-            // For most of loading, I don't invalidate the document
-            // version because nothing should be sensitive to it while
-            // loading.  When finished loading, bump it.
-
-            _root.invalidateVersion();
-
-            assert _root.isLeftOnly();
-        }
-
-        private QName checkName ( String local, String uri )
-        {
-            if (_substituteNamespaces != null)
-            {
-                String substituteUri =
-                    (String) _substituteNamespaces.get( uri );
-
-                if (substituteUri != null)
-                    return _qnameCache.getName( substituteUri, local );
-            }
-
-            return _qnameCache.getName( uri, local );
-        }
-
-        private QName checkName ( QName name )
-        {
-            if (_substituteNamespaces != null)
-            {
-                String substituteUri =
-                    (String)
-                        _substituteNamespaces.get( name.getNamespaceURI() );
-
-                if (substituteUri != null)
-                {
-                    name =
-                        _qnameCache.getName(
-                            substituteUri, name.getLocalPart() );
-                }
-            }
-
-            return name;
-        }
-
-        private QName checkNameAttr ( String local, String uri )
-        {
-            if (_substituteNamespaces != null && uri.length() > 0)
-            {
-                String substituteUri =
-                    (String) _substituteNamespaces.get( uri );
-
-                if (substituteUri != null)
-                    return _qnameCache.getName( substituteUri, local );
-            }
-
-            return _qnameCache.getName( uri, local );
-        }
-
-        private QName checkNameAttr ( QName name )
-        {
-            if (_substituteNamespaces != null && name.getNamespaceURI().length() > 0 )
-            {
-                String substituteUri =
-                    (String)
-                        _substituteNamespaces.get( name.getNamespaceURI() );
-
-                if (substituteUri != null)
-                {
-                    name =
-                        _qnameCache.getName(
-                            substituteUri, name.getLocalPart() );
-                }
-            }
-
-            return name;
-        }
-
-        void doctype ( String name, String publicID, String systemID )
-        {
-            _root._props.setDoctypeName( name );
-            _root._props.setDoctypePublicId( publicID );
-            _root._props.setDoctypeSystemId( systemID );
-        }
-
-        private void insertBegin ( QName name )
-        {
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-
-            if (_frontier.isDoc() && !_docElemDiscarded &&
-                    (_discardDocElem || isXmlFragment( name )))
-            {
-                _docElemDiscarded = true;
-
-                if (_replaceDocElem == null)
-                {
-                    // Remove all content up to now because the
-                    // document element is to be removed, and I dont
-                    // want that content to mix with the real content.
-                    
-                    _root.ensureEmpty();
-                    _lastNonAttr = _root._doc;
-                    _lastSplay = _root._doc;
-                    _lastPos = 0;
-                    _frontier = _root._doc;
-                    
-                    return;
-                }
-
-                name = _replaceDocElem;
-            }
-
-            insert( _frontier = new Begin( name, _frontier ) );
-        }
-
-        void begin ( String local, String uri )
-        {
-            insertBegin( checkName( local, uri ) );
-        }
-
-        void begin ( QName name )
-        {
-            insertBegin( checkName( name ) );
-        }
-
-        void end ( )
-        {
-            if (_stripWhitespace)
-                stripLeadingWhitespace();
-
-            if (_frontier.isDoc())
-            {
-                if (!_docElemDiscarded)
-                    throw new IllegalStateException( "Too many end elements" );
-            }
-            else
-            {
-                assert !_finished;
-                assert _frontier.isBegin();
-                assert !_frontier.isLeaf();
-
-                if (_lastNonAttr == _frontier)
-                {
-                    _lastSplay = _frontier;
-                    _lastPos = 1 + _frontier.getCch();
-                    _frontier.toggleIsLeaf();
-                    int cch = _frontier.getCchAfter();
-                    _frontier.adjustCchAfter( - cch );
-                }
-                else
-                {
-                    Begin b = (Begin) _frontier;
-                    End e = new End( b );
-                    b._end = e;
-                    insert( e );
-                }
-
-                _frontier = _frontier.getContainer();
-            }
-        }
-
-        void attr ( QName name, char[] buf, int off, int cch )
-        {
-            insert( new Attr( checkNameAttr( name ) ), buf, off, cch );
-        }
-
-        void attr ( QName name, String value )
-        {
-            insert( new Attr( checkNameAttr( name ) ), value );
-        }
-
-        void attr ( String local, String uri, String value )
-        {
-            insert( new Attr( checkNameAttr( local, uri ) ), value );
-        }
-
-        private boolean discardXmlns ( QName name )
-        {
-            return
-                _docElemDiscarded && _frontier.isDoc() &&
-                    name.getNamespaceURI().equals( _openFragUri );
-        }
-
-        void xmlns ( String prefix, String uri )
-        {
-            QName name = checkName( prefix, uri );
-
-            if (!discardXmlns( name ))
-                insert( new Xmlns( name ) );
-        }
-
-        void xmlns ( QName name )
-        {
-            name = checkName( name );
-
-            if (!discardXmlns( name ))
-                insert( new Xmlns( name ) );
-        }
-
-        void comment ( char[] buf, int off, int cch )
-        {
-            if (!_stripComments)
-                insert( new Comment(), buf, off, cch );
-        }
-
-        void comment ( String value )
-        {
-            if (!_stripComments)
-                insert( new Comment(), value );
-        }
-
-        void procinst ( String target, char[] buf, int off, int cch )
-        {
-            if (!_stripProcinsts)
-                insert( new Procinst( target ), buf, off, cch );
-        }
-
-        void procinst ( String target, String value )
-        {
-            if (!_stripProcinsts)
-                insert( new Procinst( target ), value );
-        }
-
-        //
-        // returns the cp where new text should go.
-        //
-
-        int preText ( )
-        {
-            assert !_finished;
-
-            return getCp( _lastNonAttr ) + _lastNonAttr.getCch();
-        }
-
-        //
-        // New text has been placed, adjust...
-        //
-
-        void postText ( int cp, int cch )
-        {
-            if (_stripWhitespace && _lastNonAttr.getCchAfter() == 0)
-            {
-                int off = _root._text.unObscure( cp, cch );
-
-                int i = 0;
-
-                while ( i < cch && isWhiteSpace( _root._text._buf[ off + i ] ) )
-                    i++;
-
-                if (i > 0)
-                {
-                    _root._text.remove( cp, i );
-                    cch -= i;
-                }
-            }
-
-            if (cch > 0)
-            {
-                _lastSplay = _lastNonAttr;
-                _lastPos = _lastNonAttr.getEndPos();
-                _lastNonAttr.adjustCchAfter( cch );
-
-                adjustCch( _lastNonAttr, cch );
-            }
-        }
-
-        void text ( char[] buf, int off, int cch )
-        {
-            assert !_finished;
-
-            int start = off;
-            int end = off + cch;
-
-            if (_stripWhitespace && _lastNonAttr.getCchAfter() == 0)
-            {
-                while ( start < end && isWhiteSpace( buf[ start ] ) )
-                    start++;
-            }
-
-            int cchText = end - start;
-
-            if (cchText > 0)
-            {
-                _lastSplay = _lastNonAttr;
-                _lastPos = _lastNonAttr.getEndPos();
-
-                _root._text.insert(
-                    getCp( _lastNonAttr ) + _lastNonAttr.getCch(),
-                    buf, start, cchText );
-
-                _lastNonAttr.adjustCchAfter( cchText );
-                adjustCch( _lastNonAttr, cchText );
-            }
-        }
-
-        void text ( String text )
-        {
-            assert !_finished;
-
-            int start = 0;
-            int end = text.length();
-
-            if (_stripWhitespace && _lastNonAttr.getCchAfter() == 0)
-            {
-                while ( start < end && isWhiteSpace( text.charAt( start ) ) )
-                    start++;
-            }
-
-            int cchText = end - start;
-
-            if (cchText > 0)
-            {
-                _lastSplay = _lastNonAttr;
-                _lastPos = _lastNonAttr.getEndPos();
-
-                _root._text.insert(
-                    getCp( _lastNonAttr ) + _lastNonAttr.getCch(),
-                    text, start, cchText );
-
-                _lastNonAttr.adjustCchAfter( cchText );
-                adjustCch( _lastNonAttr, cchText );
-            }
-        }
-
-        // Annotates the last thing inserted
-        void annotate ( XmlBookmark xmlBookmark )
-        {
-            new Annotation( _root, xmlBookmark ).
-                set( _lastSplay, _lastPos );
-        }
-
-        void lineNumberAnnotation ( int line, int column, int offset )
-        {
-            annotate( new XmlLineNumber( line, column, offset ) );
-        }
-
-        void lineNumberAnnotation ( XMLStreamReader xsr )
-        {
-            javax.xml.stream.Location loc = xsr.getLocation();
-
-            if (loc != null)
-            {
-                lineNumberAnnotation(
-                    loc.getLineNumber(), loc.getColumnNumber(), loc.getCharacterOffset() );
-            }
-        }
-        
-        void lineNumberAnnotation ( XMLEvent xe )
-        {
-            org.apache.xmlbeans.xml.stream.Location loc = xe.getLocation();
-
-            if (loc != null)
-                lineNumberAnnotation( loc.getLineNumber(), loc.getColumnNumber(), -1 );
-        }
-
-        void javelinAnnotation ( XmlCursor.XmlBookmark ja )
-        {
-            if (ja != null)
-               annotate( ja );
-        }
-
-        private Root       _root;
-        private Splay      _lastNonAttr;
-        private Container  _frontier;
-        private Splay      _lastSplay;
-        private int        _lastPos;
-        private boolean    _finished;
-        private boolean    _discardDocElem;
-        private QName      _replaceDocElem;
-        private boolean    _stripWhitespace;
-        private boolean    _stripComments;
-        private boolean    _stripProcinsts;
-        private boolean    _docElemDiscarded;
-        private Map        _substituteNamespaces;
-        private Map        _additionalNamespaces;
-        private QNameCache _qnameCache;
-        private XmlOptions _options;
-    }
-
-    private void loadNodeChildren ( Node n, LoadContext context )
-    {
-        for ( Node c = n.getFirstChild() ; c != null ; c = c.getNextSibling() )
-            loadNode( c, context );
-    }
-
-    private void loadNode ( Node n, LoadContext context )
-    {
-        switch ( n.getNodeType() )
-        {
-        case Node.DOCUMENT_NODE :
-        case Node.DOCUMENT_FRAGMENT_NODE :
-        case Node.ENTITY_REFERENCE_NODE :
-        {
-            loadNodeChildren( n, context );
-
-            break;
-        }
-        case Node.ELEMENT_NODE :
-        {
-            String localName = n.getLocalName();
-
-            if (localName == null)
-                localName = n.getNodeName();
-            
-            context.begin( localName, n.getNamespaceURI() );
-
-            NamedNodeMap attrs = n.getAttributes();
-
-            for ( int i = 0 ; i < attrs.getLength() ; i++ )
-            {
-                Node a = attrs.item( i );
-
-                String uri = a.getNamespaceURI();
-                String local = a.getLocalName();
-                String value = a.getNodeValue();
-
-                if (local == null)
-                    local = a.getNodeName();
-                
-                if (uri != null && uri.equals( _xmlnsUri ))
-                {
-                    if (local.equals( "xmlns" ))
-                        context.xmlns( "", value );
-                    else
-                        context.xmlns( local, value );
-                }
-                else
-                {
-                    context.attr( local, uri, value );
-                }
-            }
-
-            loadNodeChildren( n, context );
-
-            context.end();
-
-            break;
-        }
-        case Node.TEXT_NODE :
-        case Node.CDATA_SECTION_NODE :
-        {
-            context.text( n.getNodeValue() );
-            break;
-        }
-        case Node.COMMENT_NODE :
-        {
-            context.comment( n.getNodeValue() );
-            break;
-        }
-        case Node.PROCESSING_INSTRUCTION_NODE :
-        {
-            context.procinst( n.getNodeName(), n.getNodeValue() );
-            break;
-        }
-        case Node.DOCUMENT_TYPE_NODE :
-        case Node.ENTITY_NODE :
-        case Node.NOTATION_NODE :
-        case Node.ATTRIBUTE_NODE :
-        {
-            throw new RuntimeException( "Unexpected node" );
-        }
-        }
-    }
-
-    public XmlObject loadXml ( Node node, SchemaType type, XmlOptions options )
-        throws XmlException
-    {
-        LoadContext context = new LoadContext( this, options );
-
-        loadNode( node, context );
-
-        associateSourceName( options );
-
-        return autoTypedDocument( type, options );
-    }
-
-    public XmlObject loadXml (
-        XMLInputStream xis, SchemaType type, XmlOptions options )
-            throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
-    {
-        loadXmlInputStream( xis, options );
-
-        return autoTypedDocument( type, options );
-    }
-
-    public void loadXMLStreamReader ( XMLStreamReader xsr, XmlOptions options )
-        throws XmlException, javax.xml.stream.XMLStreamException
-    {
-        options = XmlOptions.maskNull( options );
-        
-        LoadContext context = new LoadContext( this, options );
-        
-        boolean lineNums = options.hasOption( XmlOptions.LOAD_LINE_NUMBERS );
-
-        events:
-        for ( int eventType = xsr.getEventType() ; ; eventType = xsr.next() )
-        {
-            switch ( eventType )
-            {
-            case XMLStreamReader.START_DOCUMENT :
-            {
-                _props.setEncoding( xsr.getCharacterEncodingScheme() );
-                _props.setVersion( xsr.getVersion() );
-                _standAlone = xsr.isStandalone();
-
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-
-                break;
-            }
-            
-            case XMLStreamReader.END_DOCUMENT :
-            {
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-
-                break events;
-            }
-            
-            case XMLStreamReader.START_ELEMENT :
-            {
-                context.begin( xsr.getName() );
-                
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-
-                int n = xsr.getAttributeCount();
-
-                for ( int a = 0 ; a < n ; a++ )
-                    context.attr( xsr.getAttributeName( a ), xsr.getAttributeValue( a ) );
-                
-                n = xsr.getNamespaceCount();
-
-                for ( int a = 0 ; a < n ; a++ )
-                    context.xmlns( xsr.getNamespacePrefix( a ), xsr.getNamespaceURI( a ) );
-                
-                break;
-            }
-            
-            case XMLStreamReader.END_ELEMENT :
-            {
-                context.end();
-                
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-                
-                break;
-            }
-            
-            case XMLStreamReader.CHARACTERS :
-            case XMLStreamReader.CDATA :
-            {
-                context.text( xsr.getTextCharacters(), xsr.getTextStart(), xsr.getTextLength() );
-                
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-                
-                break;
-            }
-            
-            case XMLStreamReader.COMMENT :
-            {
-                context.comment( xsr.getText() );
-                
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-                
-                break;
-            }
-            
-            case XMLStreamReader.PROCESSING_INSTRUCTION :
-            {
-                context.procinst( xsr.getPITarget(), xsr.getPIData() );
-                
-                if (lineNums)
-                    context.lineNumberAnnotation( xsr );
-                
-                break;
-            }
-            
-            case XMLStreamReader.ATTRIBUTE :
-            {
-                int n = xsr.getAttributeCount();
-
-                for ( int a = 0 ; a < n ; a++ )
-                    context.attr( xsr.getAttributeName( a ), xsr.getAttributeValue( a ) );
-                
-                break;
-            }
-            
-            case XMLStreamReader.NAMESPACE :
-            {
-                int n = xsr.getNamespaceCount();
-
-                for ( int a = 0 ; a < n ; a++ )
-                    context.xmlns( xsr.getNamespacePrefix( a ), xsr.getNamespaceURI( a ) );
-                
-                break;
-            }
-            
-            case XMLStreamReader.ENTITY_REFERENCE :
-            {
-                context.text( xsr.getText() );
-                break;
-            }
-            
-            case XMLStreamReader.SPACE :
-            case XMLStreamReader.DTD :
-                break;
-
-            default :
-                throw new RuntimeException( "Unhandled xml event type: " + eventType );
-            }
-
-            if (!xsr.hasNext())
-                break;
-        }
-        
-        context.finish();
-
-        associateSourceName( options );
-
-        assert validate();
-        assert isLeftOnly();
-    }
-    
-    public void loadXmlInputStream ( XMLInputStream xis, XmlOptions options )
-        throws org.apache.xmlbeans.xml.stream.XMLStreamException, XmlException
-    {
-        options = XmlOptions.maskNull( options );
-
-        XMLEvent x = xis.peek();
-        
-        if (x != null && x.getType() == XMLEvent.START_ELEMENT)
-        {
-            Map nsMap = ((StartElement) x).getNamespaceMap();
-
-            if (nsMap != null && nsMap.size() > 0)
-            {
-                Map namespaces = new HashMap();
-                
-                namespaces.putAll( nsMap );
-
-                options = new XmlOptions( options );
-
-                options.put( XmlOptions.LOAD_ADDITIONAL_NAMESPACES, namespaces );
-            }
-        }
-
-        LoadContext context = new LoadContext( this, options );
-
-        boolean lineNums = options.hasOption( XmlOptions.LOAD_LINE_NUMBERS );
-
-        events:
-        for ( XMLEvent xe = xis.next() ; xe != null ; xe = xis.next() )
-        {
-            switch ( xe.getType() )
-            {
-            case XMLEvent.START_DOCUMENT :
-                // BUGBUG (ericvas) 12258 - FIXED below
-                StartDocument doc = (StartDocument) xe;
-
-//                context.doctype(
-//                    doc.getname().getLocalName(),
-//                    "", doc.getPublicId()
-
-                _props.setDoctypeSystemId( doc.getSystemId() );
-//                _publicID = doc.getPublicId();
-                _props.setEncoding( doc.getCharacterEncodingScheme() );
-                _props.setVersion( doc.getVersion() );
-                _standAlone = doc.isStandalone();
-
-                if (lineNums)
-                    context.lineNumberAnnotation( xe );
-
-                break;
-
-            case XMLEvent.END_DOCUMENT :
-                if (lineNums)
-                    context.lineNumberAnnotation( xe );
-
-                break events;
-
-            case XMLEvent.NULL_ELEMENT :
-                if (!xis.hasNext())
-                    break events;
-                break;
-
-            case XMLEvent.START_ELEMENT :
-                context.begin( XMLNameHelper.getQName( xe.getName() ) );
-
-                if (lineNums)
-                    context.lineNumberAnnotation( xe );
-
-                for ( AttributeIterator ai = ((StartElement) xe).getAttributes()
-                      ; ai.hasNext() ; )
-                {
-                    Attribute attr = ai.next();
-
-                    context.attr(
-                        XMLNameHelper.getQName( attr.getName() ),
-                        attr.getValue() );
-                }
-
-                for ( AttributeIterator ai = ((StartElement) xe).getNamespaces()
-                      ; ai.hasNext() ; )
-                {
-                    Attribute attr = ai.next();
-
-                    XMLName name = attr.getName();
-                    String local = name.getLocalName();
-
-                    if (name.getPrefix() == null && local.equals( "xmlns" ))
-                        local = "";
-
-                    context.xmlns( local, attr.getValue() );
-                }
-
-                break;
-
-            case XMLEvent.END_ELEMENT :
-                context.end();
-
-                if (lineNums)
-                    context.lineNumberAnnotation( xe );
-
-                break;
-
-            case XMLEvent.SPACE :
-                if (((Space) xe).ignorable())
-                    break;
-
-                // Fall through
-
-            case XMLEvent.CHARACTER_DATA :
-                CharacterData cd = (CharacterData) xe;
-
-                if (cd.hasContent())
-                {
-                    context.text( cd.getContent() );
-
-                    if (lineNums)
-                        context.lineNumberAnnotation( xe );
-                }
-
-                break;
-
-            case XMLEvent.COMMENT :
-                org.apache.xmlbeans.xml.stream.Comment comment =
-                    (org.apache.xmlbeans.xml.stream.Comment) xe;
-
-                if (comment.hasContent())
-                {
-                    context.comment( comment.getContent() );
-
-                    if (lineNums)
-                        context.lineNumberAnnotation( xe );
-                }
-
-                break;
-
-            case XMLEvent.PROCESSING_INSTRUCTION :
-                ProcessingInstruction procInstr = (ProcessingInstruction) xe;
-
-                context.procinst( procInstr.getTarget(), procInstr.getData() );
-
-                if (lineNums)
-                    context.lineNumberAnnotation( xe );
-
-                break;
-
-            // These are ignored
-            case XMLEvent.ENTITY_REFERENCE :
-            case XMLEvent.START_PREFIX_MAPPING :
-            case XMLEvent.END_PREFIX_MAPPING :
-            case XMLEvent.CHANGE_PREFIX_MAPPING :
-            case XMLEvent.XML_EVENT :
-                break;
-
-            default :
-                throw new RuntimeException(
-                    "Unhandled xml event type: " + xe.getTypeAsString() );
-            }
-        }
-
-        context.finish();
-
-        associateSourceName( options );
-
-        assert validate();
-        assert isLeftOnly();
-    }
-
-    public static void dump ( XmlObject x )
-    {
-        dump( x, System.out );
-    }
-
-    public static void dump ( XmlObject x, PrintStream ps )
-    {
-        XmlCursor xc = x.newCursor();
-        Root r = ((Cursor) xc).getRoot();
-        r.dump( ps, null, ((Cursor) xc).getSplay(), false );
-        xc.dispose();
-    }
-
-    public static void dump ( XmlCursor xc )
-    {
-        dump( xc, System.out );
-    }
-
-    public static void dump ( XmlCursor xc, PrintStream ps )
-    {
-        Root r = ((Cursor) xc).getRoot();
-        r.dump( ps, null, ((Cursor) xc).getSplay(), false );
-    }
-
-    //
-    //
-    //
-
-    private void dumpText ( PrintStream ps, int cp, int cch, Splay s, int p )
-    {
-        if (cp >= 0 && cp + cch <= _text.length())
-            dumpString( ps, _text.fetch( cp, cch ), s, p );
-        else
-            ps.print( "[string: cp=" + cp + ", cch=" + cch + " ]" );
-    }
-
-    private void dumpText ( PrintStream ps, int cp, int cch )
-    {
-        if (cp >= 0 && cp + cch <= _text.length())
-            dumpString( ps, _text.fetch( cp, cch ), null, 0 );
-        else
-            ps.print( "[string: cp=" + cp + ", cch=" + cch + " ]" );
-    }
-
-    private void dumpString ( PrintStream ps, String s )
-    {
-        dumpString( ps, s, null, 0 );
-    }
-
-    private void dumpGoobersInline ( PrintStream ps, Splay s, int p )
-    {
-        for ( Goober g = s.firstGoober() ; g != null ;
-              g = s.nextGoober( g ) )
-        {
-            if (g.getKind() == CURSOR && g.getPos() == p)
-            {
-                CursorGoober cg = (CursorGoober) g;
-
-                ps.print( "[" + ((CursorGoober) g).getDebugId() + "]" );
-            }
-        }
-    }
-
-    private void dumpString ( PrintStream ps, String str, Splay s, int p )
-    {
-        for ( int i = 0 ; i < str.length() ; i++ )
-        {
-            if (s != null)
-                dumpGoobersInline( ps, s, i + p );
-
-            if (i == 36)
-            {
-                ps.print( "..." );
-                break;
-            }
-
-            char ch = str.charAt( i );
-
-            if (ch == '\n')
-                ps.print( "\\n" );
-            else if (ch == '\r')
-                ps.print( "\\r" );
-            else if (ch == '\t')
-                ps.print( "\\t" );
-            else if (ch == '\"')
-                ps.print( "\\\"" );
-            else
-                ps.print( ch );
-        }
-    }
-
-    private void dumpGoobers ( PrintStream ps, Goober g )
-    {
-        if (g == null)
-            return;
-
-        if (g.getKind() == AGGREGATE)
-        {
-            ps.print( " {" );
-            dumpGoobers( ps, g._goobers );
-            ps.print( "}" );
-        }
-        else
-            ps.print( " - " + g.getKindName() + " pos: " + g.getPos() );
-
-        if (g.getKind() == CURSOR)
-            ps.print( " id: " + ((CursorGoober) g).getDebugId() );
-
-        if (g._next != g._parent._goobers)
-            dumpGoobers( ps, g._next );
-    }
-
-    private void dumpSplayTree( Splay s, PrintStream ps )
-    {
-        if (s == null)
-            return;
-
-        if (s._rightSplay != null)
-            dumpSplayTree( s._rightSplay, ps );
-
-        for ( Splay t = s._parentSplay ; t != null ; t = t._parentSplay )
-            ps.print( "  " );
-
-        ps.print( "[" + s.getDebugId() );
-        ps.print( " c:" + s.getCchLeft() + "(" + s.getCch() + ")");
-        ps.print( " b:" + s.getCdocBeginLeft() + "(" + s.getCdocBegin() + ")");
-
-        if (s._parentSplay != null)
-        {
-            ps.print( " p:" + s._parentSplay.getDebugId() );
-            ps.print( s._parentSplay._leftSplay == s ? "L" : "R" );
-        }
-
-        ps.println( "]" );
-
-        if (s._leftSplay != null)
-            dumpSplayTree( s._leftSplay, ps );
-    }
-
-    public static void dump ( XmlCursor c, boolean verbose )
-    {
-        ((Cursor) c).dump( verbose );
-    }
-
-    public void dump ( )
-    {
-        dump( System.out, null, this, false );
-    }
-
-    public void dump ( boolean verbose )
-    {
-        dump( System.out, null, this, verbose );
-    }
-
-    public void dump ( PrintStream ps )
-    {
-        dump( ps, null, this, false );
-    }
-
-    public void dump ( PrintStream ps, String msg, Object src, boolean verbose )
-    {
-        // Under IntelliJ, if you call a function from the expression
-        // evaluator and it produces too much output, IntelliJ will not
-        // show you the output of the function.  So, I dump to a file
-        // here as well and the given print stream!
-
-        File f = new File( "c:\\" );
-
-        if (f.exists())
-        {
-            f = new File( f, "xbean.dmp" );
-
-            OutputStream os = null;
-            PrintStream ps2 = null;
-
-            try
-            {
-                os = new FileOutputStream( f );
-                ps2 = new PrintStream( os );
-
-                doDump( ps2, msg, src, verbose );
-            }
-            catch ( Throwable t )
-            {
-                if (ps2 != null)
-                {
-                    ps2.println( "Exception during dump." );
-                    t.printStackTrace( ps2 );
-                }
-            }
-
-            if (os != null)
-            {
-                try { os.close(); } catch ( Exception e ) { }
-            }
-        }
-
-        try
-        {
-            doDump( ps, msg, src, verbose );
-        }
-        catch ( Throwable t )
-        {
-            System.out.println( "Exception during dump." );
-            t.printStackTrace( System.out );
-        }
-    }
-
-    static class DumpNsManager implements NamespaceManager
-    {
-        DumpNsManager ( PrintStream ps )
-        {
-            this.ps = ps;
-        }
-
-        public String find_prefix_for_nsuri ( String uri, String suggestion )
-        {
-            String prefix = "debug_prefix_" + i++;
-
-            ps.print( " [find_prefix_for_nsuri: " );
-            ps.print( "\"" + uri + "\" (" + suggestion + ") -> " + prefix );
-            ps.print( "]" );
-
-            return prefix;
-        }
-
-        public String getNamespaceForPrefix ( String prefix )
-        {
-            if (prefix != null && prefix.equals( "xml" ))
-                return _xml1998Uri;
-
-            String uri = "debug_ns_" + i++;
-
-            ps.print( " [lookup_nsuri_for_prefix: " );
-            ps.print( prefix + " -> \"" + uri + "\"" );
-            ps.print( "]" );
-
-            return uri;
-        }
-
-        PrintStream ps;
-
-        private int i = 1;
-    }
-
-    public void doDump (
-        PrintStream ps, String msg, Object src, boolean verbose )
-    {
-        if (!_assertEnabled)
-        {
-            ps.println( "No dump produced (assert needs to be enabled)" );
-            return;
-        }
-
-        NamespaceManager nsm = new DumpNsManager( ps );
-
-        if (msg != null)
-            ps.println( msg );
-        else
-            ps.println( "Dump:" );
-
-        if (src != null)
-        {
-            if (src instanceof Cursor)
-            {
-                ps.println(
-                    "  from cursor " + ((CursorGoober)((Cursor) src)._goober).getDebugId() );
-            }
-            else if (src instanceof Splay)
-                ps.println( "  from splay " + ((Splay) src).getDebugId() );
-            else
-                ps.println( "  from src " + src );
-        }
-
-        int depth = 0;
-
-        for ( Splay s = _doc ; s != null ; s = s.nextSplay() )
-        {
-            int kind = s.getKind();
-
-            String ids = "" + s.getDebugId();
-            ids = "        ".substring( 0, 6 - ids.length() ) + ids;
-            ps.print( ids + ": " );
-
-            if (kind == END)
-                depth--;
-
-            if (!s.isRoot())
-            {
-                for ( int i = 0 ; i < depth ; i++ )
-                    ps.print( "  " );
-            }
-
-            dumpGoobersInline( ps, s, 0 );
-
-            switch ( kind )
-            {
-            case DOC :
-                ps.print( "DOC" );
-                break;
-
-            case BEGIN :
-            {
-                Begin b = (Begin) s;
-
-                if (!b.isLeaf())
-                    depth++;
-
-                ps.print( "<" );
-                ps.print( s.getName().toString() );
-                ps.print( ">" );
-
-                if (b.isLeaf())
-                {
-                    if (b.getCchValue() > 0)
-                    {
-                        ps.print( "\"" );
-                        dumpText( ps, s.getCpSlow(), b.getCchValue(), s, 1 );
-                        ps.print( "\"" );
-                    }
-
-                    dumpGoobersInline( ps, s, s.getPosLeafEnd() );
-
-                    ps.print( "</" );
-                    ps.print( s.getName().getLocalPart() );
-                    ps.print( "/>" );
-                }
-
-                break;
-            }
-
-            case ATTR :
-            {
-                if (s.isXmlns())
-                {
-                    ps.print( "#xmlns:" );
-                    ps.print( s.getName().getLocalPart() );
-                    ps.print( "=\"" );
-                    ps.print( s.getName().getNamespaceURI() );
-                    ps.print( "\"" );
-                }
-                else
-                {
-                    ps.print( "@" );
-                    ps.print( s.getName() );
-                    ps.print( "=\"" );
-                    dumpText( ps, s.getCpSlow(), s.getCchValue() );
-                    ps.print( "\"" );
-                }
-
-                break;
-            }
-
-            case END :
-            {
-                End es = (End) s;
-                Begin b = es._begin;
-
-                ps.print( "</" );
-                ps.print( b.getName().getLocalPart() );
-                ps.print( "/>" );
-
-                break;
-            }
-
-            case COMMENT :
-            {
-                if (s.isFragment())
-                {
-                    ps.print( "FRAG" );
-                }
-                else
-                {
-                    ps.print( "<!--" );
-                    dumpText( ps, s.getCpSlow(), s.getCchValue() );
-                    ps.print( "-->" );
-                }
-                break;
-            }
-
-            case PROCINST :
-            {
-                ps.print( "<?" );
-                ps.print( s.getLocal() );
-                ps.print( " " );
-                dumpText( ps, s.getCpSlow(), s.getCchValue() );
-                ps.print( "?>" );
-                break;
-            }
-
-            case ROOT :
-            {
-                ps.print( "ROOT" );
-                break;
-            }
-
-            default:
-                throw new RuntimeException( "Unknown splay kind" );
-            }
-
-            if (s.getCchAfter() > 0)
-            {
-                ps.print( "\"" );
-
-                dumpText(
-                    ps, s.getCpSlow() + s.getCchValue(), s.getCchAfter(),
-                    s, s.getPosAfter() );
-
-                ps.print( "\"" );
-            }
-
-            dumpGoobersInline( ps, s, s.getEndPos() );
-
-            if (s.isInvalid())
-            {
-                String value = s.peekType().build_text( nsm );
-
-                ps.print( " [invalid:" );
-                ps.print( "\"" );
-                dumpString( ps, value );
-                ps.print( "\"" );
-                ps.print( "]" );
-            }
-
-            dumpGoobers( ps, s._goobers );
-
-            if (verbose)
-            {
-                switch ( kind )
-                {
-                case BEGIN :
-                {
-                    Begin b = (Begin) s;
-
-                    if (b.getFinish() != null)
-                    {
-                        ps.print( " [end: " );
-                        ps.print( b.getFinish().getDebugId() );
-                        ps.print( "]" );
-                    }
-
-                    if (b.getContainer() != null)
-                    {
-                        ps.print(
-                            " [container: " +
-                                b.getContainer().getDebugId() + "]" );
-                    }
-
-                    break;
-                }
-
-                case END :
-                {
-                    End es = (End) s;
-                    Begin b = es._begin;
-
-                    ps.print( " [begin: " + b.getDebugId() + "]" );
-
-                    break;
-                }
-                }
-            }
-
-            ps.println();
-        }
-
-        ps.println();
-
-        if (getCchLeft() > _text.length())
-        {
-            ps.println(
-                "Text buffer has too few characters (" +
-                    (getCchLeft() - _text.length()) + ")" );
-        }
-        else if (getCchLeft() < _text.length())
-        {
-            ps.println(
-                "Text buffer has too many characters (" +
-                    (_text.length() - getCchLeft()) + "): " );
-
-            dumpString(
-                ps,
-                _text.fetch( getCchLeft(), _text.length() - getCchLeft() ) );
-        }
-
-        if (verbose)
-        {
-            ps.println( "Splay tree:" );
-
-            ps.println( "  isLeftOnly: " + _leftOnly );
-            ps.println( "  version: " + getVersion() );
-            ps.println( "  first: " + _doc.getDebugId() );
-
-            ps.println();
-            dumpSplayTree( this, ps );
-            ps.println();
-            ps.println();
-        }
-
-        ps.println();
-    }
-
-    /**
-     * Insert a splay (or splays) into the tree.  This is a low level
-     * operation, and operates only on the splay aspect of the tree.
-     * Any invalidation maintenance must be handled by callers.
-     */
-
-    void insertSplay ( Splay s, Splay a )
-    {
-        assert s != null;
-        assert !s.isRoot();
-        assert a != null;
-        assert Root.dv > 0 || validateSplayTree();
-        assert !a.isRoot();
-        assert Root.dv > 0 || a.getRootSlow() == this;
-        assert s._parentSplay == null;
-        assert s._rightSplay == null;
-        assert s._leftSplay != null || s.getCchLeft() == 0;
-        assert s._leftSplay != null || s.getCdocBeginLeft() == 0;
-
-        int cch = s.getCch();
-        int cbegin = s.getCdocBegin();
-
-        if (s._leftSplay != null)
-        {
-            cch += s.getCchLeft();
-            cbegin += s.getCdocBeginLeft();
-            _leftOnly = false;
-        }
-
-        if (_leftOnly && a == _leftSplay)
-        {
-            s._leftSplay = _leftSplay;
-            s._parentSplay = this;
-
-            assert s.getCchLeft() == 0;
-            s.adjustCchLeft(
-                _leftSplay.getCchLeft() + _leftSplay.getCch() );
-
-            assert s.getCdocBeginLeft() == 0;
-            s.adjustCdocBeginLeft(
-                _leftSplay.getCdocBeginLeft() + _leftSplay.getCdocBegin() );
-
-            _leftSplay._parentSplay = s;
-            _leftSplay = s;
-
-            adjustCchLeft( cch );
-            adjustCdocBeginLeft( cbegin );
-        }
-        else if (_leftOnly && cch == 0 && cbegin == 0)
-        {
-            //
-            // If the splay to insert has no cch or cbegin, then when
-            // the tree is left only children, I need not splay.
-            //
-
-            s._parentSplay = a._parentSplay;
-            s._leftSplay = a;
-            a._parentSplay = s;
-            s._parentSplay._leftSplay = s;
-
-            s.adjustCchLeft( a.getCchLeft() + a.getCch() );
-
-            s.adjustCdocBeginLeft(
-                a.getCdocBeginLeft() + a.getCdocBegin() );
-        }
-        else
-        {
-            Splay p;
-
-            if (a._rightSplay == null)
-            {
-                (p = a)._rightSplay = s;
-                _leftOnly = false;
-            }
-            else
-            {
-                for ( p = a._rightSplay ; p._leftSplay != null ; )
-                    p = p._leftSplay;
-
-                p._leftSplay = s;
-            }
-
-            s._parentSplay = p;
-
-            for ( p = s ; ; )
-            {
-                Splay t = p._parentSplay;
-
-                if (t == null)
-                    break;
-
-                if (t._leftSplay == p)
-                {
-                    t.adjustCchLeft( cch );
-                    t.adjustCdocBeginLeft( cbegin );
-                }
-
-                p = t;
-            }
-
-            s.splay( this, this );
-        }
-
-        assert validateSplayTree();
-    }
-
-    /**
-     * Special insert to insert a single splay into a leftonly tree without
-     * causing the tree to go non left only.  Because this does not splay,
-     * doing this too many times can be very inefficient.
-     */
-    
-    void insertSingleSplaySansSplayInLeftOnlyTree ( Splay s, Splay a )
-    {
-        assert _leftOnly;
-        assert s._rightSplay == null;
-        assert s._leftSplay == null;
-
-        s._leftSplay = a;
-        s._parentSplay = a._parentSplay;
-        a._parentSplay._leftSplay = s;
-        a._parentSplay = s;
-
-        s.adjustCchLeft( a.getCchLeft() + a.getCch() );
-        s.adjustCdocBeginLeft( a.getCdocBeginLeft() + a.getCdocBegin() );
-        
-        int cch = s.getCch();
-        int cbegin = s.getCdocBegin();
-        
-        for ( Splay p = s._parentSplay ; p != null ; p = p._parentSplay )
-        {
-            p.adjustCchLeft( cch );
-            p.adjustCdocBeginLeft( cbegin );
-        }
-    }
-            
-    /**
-     * Remove [ first, last ) splays from total sequence:
-     *
-     *     A - first - B - x - last - C
-     *
-     * where first, last and x are individual splays and A, B and C are
-     * multiple, intervening splays.  Return the result with x at the top
-     * and first his left child.  This allows x to have the splay
-     * characteristics for the whole removed tree.
-     */
-
-    Splay removeSplays ( Splay first, Splay last )
-    {
-        assert validateSplayTree();
-        assert first != last;;
-        assert !first.isRoot();
-        assert !first.isDoc();
-        assert Root.dv > 0 || first.getRootSlow() == this;
-        assert Root.dv > 0 || last.getRootSlow() == this;
-        assert Root.dv > 0 || first.compareSlow( last ) == -1;
-        assert !last.isRoot() || last == this;
-
-        Splay x = last.prevSplay();
-
-        if (x == first)
-            return x.removeSplay( this );
-
-        // Make the dog leg!
-
-        if (last != this)
-            last.splay( this, this );
-
-        x.splay( this, last );
-        first.splay( this, x );
-
-        assert this == last || this._leftSplay == last;
-        assert last._leftSplay == x;
-        assert x._leftSplay == first;
-        assert x._rightSplay == null;
-        assert first._leftSplay != null;
-
-        int firstCchLeft = first.getCchLeft();
-        int firstCbeginLeft = first.getCdocBeginLeft();
-
-        int deltaCchLeft = firstCchLeft - last.getCchLeft();
-        int deltaCbeginLeft = firstCbeginLeft - last.getCdocBeginLeft();
-
-        last.adjustCchLeft( deltaCchLeft );
-        last.adjustCdocBeginLeft( deltaCbeginLeft );
-
-        if (last != this)
-        {
-            adjustCchLeft( deltaCchLeft );
-            adjustCdocBeginLeft( deltaCbeginLeft );
-        }
-
-        x.adjustCchLeft( - firstCchLeft );
-        x.adjustCdocBeginLeft( - firstCbeginLeft );
-
-        first.adjustCchLeft( - firstCchLeft );
-        first.adjustCdocBeginLeft( - firstCbeginLeft );
-
-        assert first.getCchLeft() == 0;
-        assert first.getCdocBeginLeft() == 0;
-
-        assert x.getCchLeft() + deltaCchLeft + x.getCch() == 0;
-        assert x.getCdocBeginLeft() + deltaCbeginLeft + x.getCdocBegin() == 0;
-
-        first._leftSplay._parentSplay = last;
-        last._leftSplay = first._leftSplay;
-        x._parentSplay = null;
-
-        first._leftSplay = null;
-        first._parentSplay = null;
-
-        assert validateSplayTree();
-
-        return x;
-    }
-
-    public static synchronized boolean disableStoreValidation ( )
-        { dv++; return true; }
-
-    public static synchronized boolean enableStoreValidation  ( )
-        { dv--; return true; }
-
-    public static int dv;
-
-    {
-        if (!"true".equals( System.getProperty( "treeasserts" )))
-            disableStoreValidation();
-    }
-
-    public boolean validate ( )
-    {
-        if (dv != 0)
-            return true;
-
-        try
-        {
-            return doValidate();
-        }
-        catch ( RuntimeException rte )
-        {
-            System.out.println( "Document invalid: " + rte.getMessage() );
-            rte.printStackTrace();
-            dump( true );
-            throw rte;
-        }
-    }
-
-    //
-    // Recursive descent validation of the content of the document
-    //
-    // Grammer for valid content of a document
-    //
-    // <doc>        ::= DOC <attributes> <content> ROOT
-    // <attributes> ::= ( ATTR )*
-    // <content>    ::= ( ( COMMENT | PROCINST | <element>) )*
-    // <element>    ::= ( LEAF  <attributes> ) |
-    //                    ( BEGIN <attributes> <content> END )
-    //
-
-    private Splay validateAttributes ( Splay s )
-    {
-        while ( s.getKind() == ATTR )
-            s = s.nextSplay();
-
-        return s;
-    }
-
-    private Splay validateContent ( Splay s )
-    {
-        for ( ; ; )
-        {
-            int k = s.getKind();
-
-            if (k == COMMENT || k == PROCINST)
-                s = s.nextSplay();
-            else
-            {
-                Splay q = s;
-                s = validateElement( s );
-
-                if (q == s)
-                    break;
-            }
-        }
-
-        return s;
-    }
-
-    private Splay validateElement ( Splay s )
-    {
-        if (s.getKind() == BEGIN)
-        {
-            Splay b = s;
-
-            s = validateAttributes( s.nextSplay() );
-
-            if (!b.isLeaf())
-            {
-                s = validateContent( s );
-
-                assert s.isEnd(): "Missing END, splay: " + s.getDebugId();
-
-                s = s.nextSplay();
-            }
-        }
-
-        return s;
-    }
-
-    private boolean validateDoc ( )
-    {
-        Splay s = _doc.nextSplay();
-
-        s = validateAttributes( s );
-
-        s = validateContent( s );
-
-        assert s.isRoot(): "Expected root";
-
-        return true;
-    }
-
-    private static class ValidateContext
-    {
-        int _numSplayTypes;
-        int _cInvalidatableTypes;
-        int _cElemOrderSensitiveTypes;
-    }
-
-    private void validateGoober ( Goober g, Splay s, ValidateContext context )
-    {
-        if (g instanceof Type)
-        {
-            assert g.getKind() == TYPE;
-            assert s.isTypeable();
-
-            context._numSplayTypes++;
-
-            Type type = (Type) g;
-
-            if (type.uses_invalidate_value())
-                context._cInvalidatableTypes++;
-
-            if (type.is_child_element_order_sensitive())
-                context._cElemOrderSensitiveTypes++;
-        }
-        else
-        {
-            assert g.getKind() != TYPE;
-        }
-
-        assert g.getSplay() == s;
-        assert g.getRoot() == this;
-        assert g.getPos() >= 0;
-        assert g.getPos() <= s.getMaxPos();
-    }
-
-    private boolean doValidate ( )
-    {
-        assert validateDoc();
-        assert validateSplayTree();
-        assert getCchLeft() == _text.length();
-
-        validateChangeListenerState();
-
-// TODO: Validate that is the root type is null, there are no types in
-// tree at all
-
-// TODO: Check the invarient that if there is a Type anywhere
-// in the document, that there is an existing chain of types
-// all the way to the root and is_ok_element_user or is_ok_attribute_user,
-// depending on the case, returns ok.
-
-        ValidateContext context = new ValidateContext();
-
-        Container recentContainer = null;
-
-        for ( Splay s = _doc ; s != null ; s = s.nextSplay() )
-        {
-            if (s.isRoot())
-            {
-                assert s.getCchAfter() == 0;
-            }
-            else if (s.isBegin())
-            {
-                Begin b = (Begin) s;
-
-                assert b.getName() != null;
-
-                assert
-                    b.getFinish() == null ||
-                        b.getFinish().getContainer() == b;
-
-                if (b.isLeaf())
-                {
-                    assert b.getFinish() == null;
-                }
-                else
-                {
-                    assert b.getFinish() != null;
-                    assert b.getFinish().getContainer() == b;
-                    assert b.getCchValue() == 0;
-                }
-            }
-            else if (s.isAttr())
-            {
-                assert s.getName() != null;
-                assert s.getCchAfter() == 0;
-            }
-
-            if (s.isProcinst())
-            {
-                assert s.getName().getNamespaceURI() != null;
-                assert s.getName().getNamespaceURI().length() == 0;
-            }
-
-            if (s.isContainer())
-            {
-                assert s.getContainer() == recentContainer;
-
-                if (!s.isLeaf())
-                    recentContainer = (Container) s;
-            }
-            else if (s.isFinish())
-            {
-                assert s.getContainer() == recentContainer;
-                recentContainer = recentContainer.getContainer();
-            }
-
-            context._numSplayTypes = 0;
-
-            for ( Goober g = s.firstGoober() ; g != null ;
-                  g = s.nextGoober( g ) )
-            {
-                validateGoober( g, s, context );
-            }
-
-            if (isInvalid())
-            {
-                assert s.isTypeable();
-                assert s.peekType() != null;
-
-                assert context._numSplayTypes == 1;
-
-                if (s.isDoc())
-                {
-                    assert s.getCchAfter() == 0;
-                    Splay n = s.nextNonAttrSplay();
-
-                    assert n.isRoot();
-                }
-                else if (s.isBegin())
-                {
-                    assert s.isLeaf();
-                    assert s.getCchValue() == 0;
-                }
-                else if (s.isAttr())
-                {
-                    assert s.getCchValue() == 0;
-                }
-            }
-            else
-            {
-                assert context._numSplayTypes <= 1;
-            }
-        }
-
-        assert context._cInvalidatableTypes == _cInvalidatableTypes;
-        assert context._cElemOrderSensitiveTypes ==_cElemOrderSensitiveTypes;
-
-        // TODO: Validate indices
-
-        return true;
-    }
-
-    boolean validateSplayTree ( )
-    {
-        if (dv != 0)
-            return true;
-
-        try
-        {
-            return doValidateSplayTree();
-        }
-        catch ( RuntimeException rte )
-        {
-            System.out.println( "Splay tree invalid: " + rte );
-
-            dump( true );
-
-            throw rte;
-        }
-    }
-
-    private static class ValidateStats extends HashMap
-    {
-        int getCch ( Splay s )
-        {
-            return getStats( s )._cch;
-        }
-
-        void adjustCch ( Splay s, int cchDelta )
-        {
-            Stats stats = getStats( s );
-            stats._cch += cchDelta;
-        }
-
-        int getCbegin ( Splay s )
-        {
-            return getStats( s )._cbegin;
-        }
-
-        void adjustCbegin ( Splay s, int cbeginDelta )
-        {
-            Stats stats = getStats( s );
-            stats._cbegin += cbeginDelta;
-        }
-
-        private Stats getStats ( Splay s )
-        {
-            Stats stats = (Stats) get( s );
-
-            if (stats == null)
-                put( s, stats = new Stats() );
-
-            return stats;
-        }
-
-        private static class Stats
-        {
-            public int _cch;
-            public int _cbegin;
-        }
-    }
-
-    boolean doValidateSplayTree ( )
-    {
-        assertAssertEnabled();
-
-        ValidateStats stats = new ValidateStats();
-
-        assert _parentSplay == null;
-        assert _rightSplay  == null;
-        assert _doc._leftSplay == null;
-
-        Splay s = this;
-
-        if (s._leftSplay != null)
-        {
-            s = s._leftSplay;
-
-            while ( s != null && s._leftSplay != null )
-                s = s._leftSplay;
-        }
-
-        assert s == _doc;
-
-        loop:
-        for ( ; ; )
-        {
-            if (s._leftSplay == null && s._rightSplay == null)
-            {
-                stats.adjustCch( s, s.getCch() );
-                stats.adjustCbegin( s, s.getCdocBegin() );
-            }
-
-            if (s._rightSplay != null)
-            {
-                for ( s = s._rightSplay ; s._leftSplay != null ; )
-                    s = s._leftSplay;
-            }
-            else
-            {
-                for ( ; ; )
-                {
-                    Splay p = s._parentSplay;
-
-                    if (p == null)
-                        break loop;
-
-                    if (p._rightSplay == null || p._rightSplay == s)
-                    {
-                        s = p;
-
-                        stats.adjustCch( s, s.getCch() );
-                        stats.adjustCbegin( s, s.getCdocBegin() );
-
-                        if (s._leftSplay != null)
-                        {
-                            stats.adjustCch( s, stats.getCch( s._leftSplay ) );
-
-                            stats.adjustCbegin(
-                                s, stats.getCbegin( s._leftSplay ) );
-                        }
-
-                        if (s._rightSplay != null)
-                        {
-                            stats.adjustCch( s, stats.getCch( s._rightSplay ) );
-
-                            stats.adjustCbegin(
-                                s, stats.getCbegin( s._rightSplay ) );
-                        }
-                    }
-                    else
-                    {
-                        assert p._leftSplay == s;
-                        assert p._rightSplay != null;
-
-                        s = p._rightSplay;
-
-                        while ( s._leftSplay != null )
-                            s = s._leftSplay;
-
-                        break;
-                    }
-                }
-            }
-        }
-
-        for ( s = _doc ; s != null ; s = s.nextSplay() )
-        {
-            assert !_leftOnly || s._rightSplay == null: "" + s.getDebugId();
-            assert s._leftSplay  == null || s._leftSplay ._parentSplay == s;
-            assert s._rightSplay == null || s._rightSplay._parentSplay == s;
-
-            if (s._leftSplay == null)
-            {
-                assert s.getCchLeft() == 0;
-                assert s.getCdocBeginLeft() == 0;
-            }
-            else
-            {
-                assert
-                    s.getCchLeft() == stats.getCch( s._leftSplay ):
-                        "" + s.getDebugId();
-
-                assert s.getCdocBeginLeft() == stats.getCbegin( s._leftSplay );
-            }
-        }
-
-        return true;
-    }
-
-    //
-    //
-    //
-
-    interface ChangeListener
-    {
-        void changeNotification ( );
-    }
-
-    private static class ChangeClient
-    {
-        ChangeListener _listener;
-        ChangeClient   _next;
-    }
-
-    long getVersion ( )
-    {
-        return __version;
-    }
-
-    void invalidateVersion ( )
-    {
-        assert _changeClients == null;
-
-        __version++;
-
-        assert (_debugChangeVersion = __version) == 0 || true;
-    }
-
-    // Use this *only* if you know what you are doing!
-    void restoreVersion ( long oldVersion )
-    {
-        assert __version >= oldVersion;
-        __version = oldVersion;
-        assert (_debugChangeVersion = __version) == 0 || true;
-    }
-
-    boolean validateChangeStarted ( )
-    {
-        assert _changeClients == null;
-        return _changeClients == null;
-    }
-
-    boolean validateChangeListenerState ( )
-    {
-        assert _debugChangeVersion == __version;
-        return true;
-    }
-
-    void registerForChange ( ChangeListener listener )
-    {
-        assert validateChangeListenerState();
-
-        // See if this listener is the first one on the list.  Easy but not
-        // totally complete  optimization
-
-        if (_changeClients != null && _changeClients._listener == listener)
-            return;
-
-        ChangeClient client = new ChangeClient();
-
-        client._next = _changeClients;
-        client._listener = listener;
-        _changeClients = client;
-    }
-
-    void startChange ( )
-    {
-        assert validateChangeListenerState();
-
-        long currentVersion = 0;
-
-        assert (currentVersion = __version) == 0 || true;
-
-        while ( _changeClients != null )
-        {
-            _changeClients._listener.changeNotification();
-            _changeClients = _changeClients._next;
-        }
-
-        assert currentVersion == __version;
-    }
-
-    //
-    // Document properties
-    //
-
-    static class DocProps
-        extends XmlDocumentProperties
-    {
-        private HashMap _map = new HashMap();
-
-        public Object put ( Object key, Object value )
-        {
-            return _map.put( key, value );
-        }
-
-        public Object get ( Object key )
-        {
-            return _map.get( key );
-        }
-
-        public Object remove ( Object key )
-        {
-            return _map.remove( key );
-        }
-    }
-
-    class nthCache
-    {
-        private boolean namesSame ( QName pattern, QName name )
-        {
-            return pattern == null || pattern.equals( name );
-        }
-
-        private boolean setsSame ( QNameSet patternSet, QNameSet set)
-        {
-            // value equality is probably too expensive. Since the use case
-            // involves QNameSets that are generated by the compiler, we
-            // can use identity comparison.
-            return patternSet != null && patternSet == set;
-        }
-
-        private boolean nameHit(QName namePattern,  QNameSet setPattern, QName name)
-        {
-            if (setPattern == null)
-                return namesSame(namePattern, name);
-            else
-                return setPattern.contains(name);
-        }
-
-        private boolean cacheSame (QName namePattern,  QNameSet setPattern)
-        {
-            return setPattern == null ? namesSame(namePattern, _name) :
-                setsSame(setPattern, _set);
-        }
-
-        int distance ( Splay parent, QName name, QNameSet set, int n )
-        {
-            assert n >= 0;
-
-            if (_version != Root.this.getVersion())
-                return Integer.MAX_VALUE - 1;
-
-            if (parent != _parent || !cacheSame(name, set))
-                return Integer.MAX_VALUE;
-
-            return n > _n ? n - _n : _n - n;
-        }
-
-        Begin fetch ( Splay parent, QName name, QNameSet set, int n )
-        {
-            assert n >= 0;
-
-            if (_version != Root.this.getVersion() || _parent != parent ||
-                  ! cacheSame(name, set) || n == 0)
-            {
-                _version = Root.this.getVersion();
-                _parent = parent;
-                _name = name;
-                _child = null;
-                _n = -1;
-
-                if (!parent.isLeaf())
-                {
-                    loop:
-                    for ( Splay s = parent.nextSplay() ; ; s = s.nextSplay() )
-                    {
-                        switch ( s.getKind() )
-                        {
-                        case END  :
-                        case ROOT : break loop;
-
-                        case BEGIN :
-                            if (nameHit( name, set, s.getName() ))
-                            {
-                                _child = s;
-                                _n = 0;
-                                break loop;
-                            }
-
-                            s = s.getFinishSplay();
-                            break;
-                        }
-                    }
-                }
-            }
-
-            if (_n < 0)
-                return null;
-
-            if (n > _n)
-            {
-                while ( n > _n )
-                {
-                    for ( Splay s = _child.getFinishSplay().nextSplay() ; ;
-                          s = s.nextSplay() )
-                    {
-                        if (s.isFinish())
-                            return null;
-
-                        if (s.isBegin())
-                        {
-                            if (nameHit( name, set, s.getName() ))
-                            {
-                                _child = s;
-                                _n++;
-                                break;
-                            }
-
-                            s = s.getFinishSplay();
-                        }
-                    }
-                }
-            }
-            else if (n < _n)
-            {
-                while ( n < _n )
-                {
-                    Splay s = _child;
-
-                    for ( ; ; )
-                    {
-                        s = s.prevSplay();
-
-                        if (s.isLeaf() || s.isEnd())
-                        {
-                            if (s.isEnd())
-                                s = s.getContainer();
-
-                            if (nameHit( name, set, s.getName() ))
-                            {
-                                _child = s;
-                                _n--;
-                                break;
-                            }
-                        }
-                        else if (s.isContainer())
-                            return null;
-                    }
-                }
-            }
-
-            return (Begin) _child;
-        }
-
-        private long     _version;
-        private Splay    _parent;
-        private QName    _name;
-        private QNameSet _set;
-        
-        private Splay _child;
-        private int   _n;
-    }
-
-    //
-    // Da fields.  Da Bears.  Ditka is God.
-    //
-
-    boolean _leftOnly;
-    Doc     _doc;
-    Text    _text;
-    boolean _validateOnSet;
-
-    //
-    // Document version.  These numbers get incremented when the document
-    // changes in a variety of ways.
-    //
-
-    private long __version = 1;
-    private long _debugChangeVersion = 1; // Debug only
-
-    private ChangeClient _changeClients;
-
-    DocProps _props;
-
-    //
-    // XmlInputStream
-    //
-
-    boolean _standAlone;
-
-    //
-    //
-    //
-
-    final SchemaTypeLoader _schemaTypeSystem;
-
-    int _cInvalidatableTypes;
-    int _cElemOrderSensitiveTypes;
-
-    //
-    //
-    //
-
-    nthCache _nthCache_A = new nthCache();
-    nthCache _nthCache_B = new nthCache();
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Saver.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Saver.java
deleted file mode 100644
index 04f579e..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Saver.java
+++ /dev/null
@@ -1,4725 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.impl.common.EncodingMap;
-import org.apache.xmlbeans.impl.common.GenericXmlInputStream;
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlEventBase;
-import org.apache.xmlbeans.impl.common.XmlNameImpl;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.impl.store.Splay.Container;
-import org.apache.xmlbeans.impl.store.Splay.Xmlns;
-import org.apache.xmlbeans.impl.values.NamespaceManager;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import java.io.InputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Reader;
-import java.io.UnsupportedEncodingException;
-import java.io.Writer;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.LinkedHashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.ConcurrentModificationException;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.ParserConfigurationException;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.AttributesImpl;
-import org.apache.xmlbeans.xml.stream.Attribute;
-import org.apache.xmlbeans.xml.stream.AttributeIterator;
-import org.apache.xmlbeans.xml.stream.ChangePrefixMapping;
-import org.apache.xmlbeans.xml.stream.CharacterData;
-import org.apache.xmlbeans.xml.stream.Comment;
-import org.apache.xmlbeans.xml.stream.EndDocument;
-import org.apache.xmlbeans.xml.stream.EndElement;
-import org.apache.xmlbeans.xml.stream.EndPrefixMapping;
-import org.apache.xmlbeans.xml.stream.Location;
-import org.apache.xmlbeans.xml.stream.ProcessingInstruction;
-import org.apache.xmlbeans.xml.stream.StartDocument;
-import org.apache.xmlbeans.xml.stream.StartElement;
-import org.apache.xmlbeans.xml.stream.StartPrefixMapping;
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.XMLName;
-import org.apache.xmlbeans.xml.stream.XMLStreamException;
-
-public abstract class Saver implements NamespaceManager
-{
-    //
-    //
-    //
-    
-    private final Object monitor()
-    {
-        return _root;
-    }
-
-    Saver ( Root r, Splay s, int p, XmlOptions options )
-    {
-        assert Root.dv > 0 || s.getRootSlow() == r;
-
-        // Input s and p must be normalized already
-        assert p < s.getEndPos();
-
-        _root = r;
-        _top = _splay = s;
-        _pos = p;
-        _version = r.getVersion();
-        _sb = new StringBuffer();
-        _attrs = new LinkedHashMap();
-        _attrNames = new HashSet();
-        _firstPush = true;
-        
-        _newLine = System.getProperty( "line.separator" );
-
-        if (_newLine == null)
-            _newLine = "\n";
-
-        // Initialize the state of the namespaces
-        _namespaceStack = new ArrayList();
-        _uriMap = new HashMap();
-        _prefixMap = new HashMap();
-
-        // Stops the synthesis of this namspace and make for better
-        // roundtripping 
-        addMapping( "xml", Splay._xml1998Uri );
-
-        // Check for implicit namespaces
-        
-        options = XmlOptions.maskNull( options );
-
-        if (options.hasOption( XmlOptions.SAVE_IMPLICIT_NAMESPACES ))
-        {
-            Map m = (Map) options.get( XmlOptions.SAVE_IMPLICIT_NAMESPACES );
-            
-            for ( Iterator i = m.keySet().iterator() ; i.hasNext() ; )
-            {
-                String prefix = (String) i.next();
-                addMapping( prefix, (String) m.get( prefix ) );
-            }
-        }
-
-        if (options.hasOption( XmlOptions.SAVE_SUGGESTED_PREFIXES ))
-            _suggestedPrefixes = (Map) options.get( XmlOptions.SAVE_SUGGESTED_PREFIXES);
-        
-        // If the default prefix has not been mapped, do so now
-        
-        if (getNamespaceForPrefix( "" ) == null)
-        {
-            _initialDefaultUri = new String( "" );
-            addMapping( "", _initialDefaultUri );
-        }
-
-        _saveNamespacesFirst = options.hasOption( XmlOptions.SAVE_NAMESPACES_FIRST );
-
-        if (_prettyPrint = options.hasOption( XmlOptions.SAVE_PRETTY_PRINT ))
-        {
-            _prettyIndent = 2;
-
-            if (options.hasOption( XmlOptions.SAVE_PRETTY_PRINT_INDENT ))
-            {
-                _prettyIndent =
-                    ((Integer) options.get( XmlOptions.SAVE_PRETTY_PRINT_INDENT )).intValue();
-            }
-
-            if (options.hasOption( XmlOptions.SAVE_PRETTY_PRINT_OFFSET ))
-            {
-                _prettyOffset =
-                    ((Integer) options.get( XmlOptions.SAVE_PRETTY_PRINT_OFFSET )).intValue();
-            }
-        }
-
-        if (options.hasOption( XmlOptions.SAVE_AGGRESSIVE_NAMESPACES ) &&
-                !(this instanceof SynthNamespaceSaver))
-        {
-            SynthNamespaceSaver saver =
-                new SynthNamespaceSaver( r, s, p, options );
-
-            while ( saver.process() )
-                ;
-
-            if (!saver._synthNamespaces.isEmpty())
-                _preComputedNamespaces = saver._synthNamespaces;
-        }
-        
-        _useDefaultNamespace =
-            options.hasOption( XmlOptions.SAVE_USE_DEFAULT_NAMESPACE );
-
-        if (options.hasOption( XmlOptions.SAVE_FILTER_PROCINST ))
-        {
-            _filterProcinst =
-                (String) options.get( XmlOptions.SAVE_FILTER_PROCINST );
-        }
-
-        if (options.hasOption( XmlOptions.SAVE_USE_OPEN_FRAGMENT ))
-            _fragment = Splay._openuriFragment;
-        else
-            _fragment = Splay._xmlFragment;
-
-        // Outer overrides inner
-        
-        _inner =
-            options.hasOption( XmlOptions.SAVE_INNER ) &&
-                !options.hasOption( XmlOptions.SAVE_OUTER );
-        
-        if (_inner && !_top.isDoc())
-            _synthElem = _fragment;
-        
-        else if (options.hasOption( XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT ))
-        {
-            _fragment = _synthElem =
-                (QName) options.get( XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT );
-
-            if (_synthElem == null)
-                throw new IllegalArgumentException( "Null synthetic element" );
-        }
-        
-        _preProcess = true;
-    }
-
-    protected final void checkVersion ( )
-    {
-        if (_version != _root.getVersion())
-            throw new ConcurrentModificationException( "Document changed during save" );
-    }
-
-    protected final Root getRoot ( ) { return _root; }
-    protected final Map  getUriMap ( ) { return _uriMap; }
-    protected final Map  getPrefixMap ( ) { return _prefixMap; }
-
-    // emitContainer will process leaf contents and the text after a
-    // start.  All other text is processed with emitTextAfter.
-
-    protected abstract void emitXmlnsFragment ( Splay s );
-    protected abstract void emitAttrFragment ( Splay s );
-    protected abstract void emitTextFragment ( Splay s, int p, int cch );
-    protected abstract void emitCommentFragment ( Splay s );
-    protected abstract void emitProcinstFragment ( Splay s );
-
-    protected abstract void emitDocType(
-        String doctypeName, String publicID, String systemID );
-    
-    protected abstract void emitComment ( Splay s );
-    protected abstract void emitTextAfter ( Splay s, int p, int cch );
-    protected abstract void emitEnd ( Splay s, QName name );
-    protected abstract void emitProcinst ( Splay s );
-    protected abstract void emitContainer ( Container c, QName name );
-
-    // Called when a synthetic prefix is created.
-    
-    protected void syntheticNamespace (
-        String prefix, String uri, boolean considerCreatingDefault ) { }
-
-    /*
-     * It is vital that the saver does not modify the tree in the process of
-     * saving.  So, when there is invalid content or attr values which need
-     * new namespace/prefix mappings, I compute the content/values by passing
-     * the NamespaceManager implemented by the saver which can cons up mappings
-     * just for the purposes of saving without modifying the tree by adding
-     * Xmlns splays.
-     *
-     * Thus, I must not, as a byproduct of saving, validate any content/values
-     * into the tree which call back for namespace mappings which need to be
-     * created.
-     *
-     * Also, I need to compute the valid text (if a splay is invalid) before
-     * I have closed the attribute list of the enclosing container because
-     * I will have to persist out these temporary meppings before they are
-     * referenced by the values which need them.
-     */
-
-    final String text ( )
-    {
-        assert _text != null;
-        
-        return _text.toString();
-    }
-
-    final boolean noText ( )
-    {
-        assert _text != null || _sb.length() == 0;
-        assert _text == null || _text == _sb;
-        
-        return _text == null;
-    }
-
-    final void clearText ( )
-    {
-        _text = null;
-        _sb.delete( 0, _sb.length() );
-    }
-
-    final static void spaces ( StringBuffer sb, int offset, int count )
-    {
-        while ( count-- > 0 )
-            sb.insert( offset, ' ' );
-    }
-
-    final static void trim ( StringBuffer sb )
-    {
-        int i;
-
-        for ( i = 0 ; i < sb.length() ; i++ )
-            if (!Splay.isWhiteSpace( sb.charAt( i ) ))
-                break;
-
-        sb.delete( 0, i );
-
-        for ( i = sb.length() ; i > 0 ; i-- )
-            if (!Splay.isWhiteSpace( sb.charAt( i - 1 ) ))
-                break;
-
-        sb.delete( i, sb.length() );
-    }
-
-    // Call process until it returns false to save everything.
-
-    protected final boolean process ( )
-    {
-        synchronized (monitor())
-        {
-            checkVersion();
-    
-            if (_preProcess)
-            {
-                _preProcess = false;
-    
-                Splay s = _splay;
-                int   p = _pos;
-    
-                _splay = null;
-                _pos = 0;
-    
-                // Check for position right before end token.  Effectively there
-                // is nothing to save here, so save out the empty fragment.
-    
-                if ((p == 0 && s.isFinish()) ||
-                      (s.isLeaf() && p == s.getPosLeafEnd()))
-                {
-                    assert _splay == null;
-                    processTextFragment( null, 0, 0 );
-                    return true;
-                }
-    
-                // Here, if p > 0, then we're saving some text
-    
-                if (p > 0)
-                {
-                    assert !s.isLeaf() || p != s.getPosLeafEnd();
-                    processTextFragment( s, p, s.getPostCch( p ) );
-                    assert _splay == null;
-                    return true;
-                }
-    
-                if (_inner && (s.isAttr() || s.isComment() || s.isProcinst()))
-                {
-                    processTextFragment( s, 0, s.getCchValue() );
-                    return true;
-                }
-    
-                if (s.isXmlns())
-                {
-                    processXmlnsFragment( s );
-                    return true;
-                }
-                
-                if (s.isAttr())
-                {
-                    processAttrFragment( s );
-                    return true;
-                }
-                
-                if (s.isComment())
-                {
-                    processCommentFragment( s );
-                    return true;
-                }
-                
-                if (s.isProcinst())
-                {
-                    if (_filterProcinst != null &&
-                          s.getLocal().equals( _filterProcinst ))
-                    {
-                        processTextFragment( null, 0, 0 );
-                        return true;
-                    }
-                    else
-                        processProcinstFragment( s );
-    
-                    return true;
-                }
-    
-                assert s.isContainer();
-    
-                _splay = s;
-                _endSplay = s.isContainer() ? s.getFinishSplay() : s;
-            }
-    
-            // I need to break the processing of a splay into two parts.  The
-            // first part is the processing of the splay and the second part is
-            // the post processing of the splay.  In particular, the post
-            // processing, among other things, pops the mapping stack.  This
-            // is done so stuff 'saved' during the first part (the pre-process)
-            // can use the mapping stack.  When the next process comes around,
-            // the mapping stack will then be updated.
-    
-            if (_postPop)
-            {
-                popMappings();
-                _postPop = false;
-            }
-    
-            if (_postProcess)
-            {
-                assert _splay != null;
-    
-                boolean emitted = false;
-    
-                if (_splay == _endSplay)
-                    _splay = null;
-                else
-                {
-                    Splay s = _splay;
-    
-                    _splay = _splay.nextNonAttrSplay();
-    
-                    if (_skipContainerFinish)
-                    {
-                        assert s.isBegin() && !s.isLeaf() && s.getCchAfter() ==0;
-                        assert _splay.isFinish();
-    
-                        _splay = _splay == _endSplay ? null : _splay.nextSplay();
-                    }
-    
-                    if (_skipContainerFinish || s.isLeaf())
-                    {
-                        assert !_postPop;
-                        _postPop = true;
-                    }
-    
-                    if (!s.isDoc())
-                    {
-                        assert noText();
-    
-                        int cchAfter = s.getCchAfter();
-    
-                        if (_prettyPrint)
-                        {
-                            _text = _sb;
-    
-                            if (cchAfter > 0)
-                            {
-                                Root r = getRoot();
-    
-                                r._text.fetch(
-                                    _text,
-                                    s.getCpForPos( r, s.getPosAfter() ), cchAfter );
-    
-                                trim( _text );
-                            }
-    
-                            Container stop = (Container) _top;
-    
-                            if (!stop.isDoc())
-                                stop = stop.getContainer();
-    
-                            Container c = s.getContainer( s.getPosAfter() );
-    
-                            if (_text.length() > 0)
-                            {
-                                Container p = c;
-    
-                                for ( ; p != stop ; p = p.getContainer() )
-                                    spaces( _text, 0, _prettyIndent );
-    
-                                if (_prettyIndent >= 0)
-                                {
-                                    _text.insert( 0, _newLine );
-                                    spaces( _text, 1, _prettyOffset );
-                                }
-                            }
-    
-                            if (_prettyIndent >= 0)
-                            {
-                                _text.append( _newLine );
-                                spaces( _text, _text.length(), _prettyOffset );
-                            }
-    
-                            Container p = c;
-    
-                            if (s.nextNonAttrSplay().isEnd())
-                                p = p.getContainer();
-    
-                            for ( ; p != null && p != stop; p = p.getContainer() )
-                                spaces( _text, _text.length(), _prettyIndent );
-                        }
-    
-                        if (_text == null ? cchAfter > 0 : _text.length() > 0)
-                        {
-                            emitTextAfter( s, s.getPosAfter(), cchAfter );
-                            emitted = true;
-                        }
-    
-                        clearText();
-                    }
-                }
-    
-                _postProcess = false;
-    
-                // Make sure I only return false if there is *really* nothing more
-                // to process
-    
-                if (emitted)
-                    return true;
-    
-                if (_postPop)
-                {
-                    popMappings();
-                    _postPop = false;
-                }
-            }
-    
-            if (_splay == null)
-                return false;
-    
-            if (_version != getRoot().getVersion())
-                throw new IllegalStateException( "Document changed" );
-    
-            _skipContainerFinish = false;
-    
-            switch ( _splay.getKind() )
-            {
-            case Splay.DOC :
-            case Splay.BEGIN :
-            {
-                processContainer( (Container) _splay );
-                break;
-            }
-            case Splay.ROOT :
-            case Splay.END  :
-            {
-                processEnd( _splay );
-                break;
-            }
-            case Splay.COMMENT :
-            {
-                emitComment( _splay );
-                break;
-            }
-            case Splay.PROCINST :
-            {
-                if (_filterProcinst == null ||
-                        !_splay.getLocal().equals( _filterProcinst ))
-                {
-                    emitProcinst( _splay );
-                }
-                break;
-            }
-            case Splay.ATTR :
-            default :
-            {
-                assert false: "Unexpected splay kind " + _splay.getKind();
-                return false;
-            }
-            }
-    
-            _postProcess = true;
-    
-            return true;
-        }
-    }
-
-    private final void processContainer ( Container c )
-    {
-        assert c.isDoc() || c.isBegin();
-
-        QName name =
-            _synthElem != null && c == _top
-                ? _synthElem
-                : c.isBegin() ? c.getName() : null;
-
-        String nameUri = name == null ? null : name.getNamespaceURI();
-
-        // See if there is a doctype to save out
-
-        if (c.isDoc() )
-        {
-            String systemId = _root._props.getDoctypeSystemId();
-            String docTypeName = _root._props.getDoctypeName();
-            
-            if (systemId != null || docTypeName != null)
-            {
-                if (docTypeName == null && name != null)
-                    docTypeName = name.getLocalPart();
-
-                if (docTypeName == null)
-                {
-                    XmlCursor xc = _root.createCursor();
-                    
-                    if (xc.toFirstChild())
-                        docTypeName = xc.getName().getLocalPart();
-                    
-                    xc.dispose();
-                }
-
-                if (docTypeName == null && _fragment != null)
-                    docTypeName = _fragment.getLocalPart();
-
-                String publicId = _root._props.getDoctypePublicId();
-                
-                emitDocType( docTypeName, publicId, systemId );
-            }
-        }
-
-        // Add a new entry to the frontier.  If this element has a name
-        // which has no namespace, then we must make sure that pushing
-        // the mappings causes the default namespace to be empty
-
-        boolean ensureDefaultEmpty = name != null && nameUri.length() == 0;
-
-        pushMappings( c, ensureDefaultEmpty );
-
-        //
-        // There are four things which use mappings:
-        //
-        //   1) The element name
-        //   2) The element value (qname based)
-        //   3) Attribute names
-        //   4) The attribute values (qname based)
-        //
-
-        // 1) The element name (not for starts)
-
-        if (name != null)
-            ensureMapping( nameUri, null, !ensureDefaultEmpty, false );
-
-        assert noText();
-
-        if (c.isInvalid())
-        {
-            // 2) The element value
-            _text = _sb.append( c.peekType().build_text( this ) );
-        }
-
-        _attrs.clear();
-        _attrNames.clear();
-
-        for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-        {
-            if (s.isNormalAttr() &&
-                    (_wantDupAttrs || !_attrNames.contains( s.getName() )))
-            {
-                _attrNames.add( s.getName() );
-                
-                // 3) Attribute name
-                ensureMapping( s.getUri(), null, false, true );
-
-                String invalidValue = null;
-                
-                if (s.isInvalid())
-                    invalidValue = s.peekType().build_text( this ); // #4
-
-                _attrs.put( s, invalidValue );
-            }
-        }
-
-        // emitContainer handles text only for leaves and starts
-
-        if (_prettyPrint && (c.isDoc() || c.isLeaf()))
-        {
-            if (_text == null)
-            {
-                Root r = getRoot();
-
-                r._text.fetch(
-                    _text = _sb,
-                    r.getCp( c ),
-                    c.isLeaf() ? c.getCchValue() : c.getCch() );
-            }
-
-            trim( _text );
-
-            if (c.isDoc())
-            {
-                spaces( _text, 0, _prettyOffset );
-
-                if (_text.length() > _prettyOffset)
-                {
-                    if (_prettyIndent >= 0)
-                    {
-                        _text.insert( 0, _newLine );
-                        spaces( _text, 1, _prettyOffset );
-                        _text.append( _newLine );
-                        spaces( _text, _text.length(), _prettyOffset );
-                    }
-                }
-            }
-        }
-
-        // derived savers may want to test the stuff being stored to
-        // see if is well formed or not in order to save out a
-        // fragment.  Do this here when emitting the first container if
-        // that container is the root (if not the root, then we are
-        // well formed)
-
-        if (_wantFragTest && name == null)
-        {
-            if ((_text != null && !Splay.isWhiteSpace( _text )) ||
-                  !c.isAfterWhiteSpace( getRoot() ))
-            {
-                _needsFrag = true;
-            }
-            else
-            {
-                assert !c.isLeaf();
-                
-                Splay s = c.nextSplay();
-
-                // Check for leaf anyways -- sometimes it happens!
-                if (c.isLeaf() || s.isAttr() || hasMappings())
-                    _needsFrag = true;
-                else
-                {
-                    boolean sawBegin = false;
-                    Splay cEnd = c.getFinishSplay();
-
-                    for ( ; s != cEnd ; s = s.nextSplay() )
-                    {
-                        if (s.isBegin())
-                        {
-                            if (sawBegin)
-                            {
-                                _needsFrag = true;
-                                break;
-                            }
-
-                            sawBegin = true;
-                            s = s.getFinishSplay();
-                        }
-
-                        if (!s.isAfterWhiteSpace( getRoot() ))
-                        {
-                            _needsFrag = true;
-                            break;
-                        }
-                    }
-
-                    if (!sawBegin)
-                        _needsFrag = true;
-                }
-            }
-        }
-
-        // If I am doing aggressive namespaces and we're emitting a
-        // container which can contain content, add the namespaces
-        // we've computed.  Basically, I'm making sure the pre-computed
-        // namespaces are mapped on the first container which has a name.
-
-        if (_preComputedNamespaces != null && (name != null || _needsFrag))
-        {
-            for ( Iterator i = _preComputedNamespaces.keySet().iterator() ; i.hasNext() ; )
-            {
-                String uri = (String) i.next();
-                
-                ensureMapping(
-                    uri, null,
-                    _preComputedNamespaces.get( uri ) != null && !ensureDefaultEmpty, false );
-            }
-
-            // Set to null so we do this once at the top
-            _preComputedNamespaces = null;
-        }
-
-        if (_wantFragTest)
-        {
-            // See if I need to gen a fragment for the document
-
-            assert name != null || (c.isDoc() && _synthElem == null);
-
-            if (name == null)
-            {
-                if (_needsFrag)
-                {
-                    name = _fragment;
-                    ensureFragmentNamespace();
-                    _docElem = name;
-                }
-            }
-            else if (c.isDoc())
-                _docElem = name;
-        }
-
-        emitContainer( c, name );
-
-        clearText();
-    }
-
-    private void processEnd ( Splay s )
-    {
-        Container c = s.getContainer();
-        
-        QName name =
-            _synthElem != null && c == _top
-                ? _synthElem
-                : c.isBegin() ? c.getName() : null;
-        
-        if (_wantFragTest && name == null)
-        {
-            boolean isRoot = s.isRoot();
-
-            if (!isRoot || _docElem != null)
-            {
-                name = 
-                    isRoot
-                        ? _docElem
-                        : (s.isEnd() ? s.getContainer() : s ).getName();
-            }
-        }
-
-        emitEnd( _splay, name );
-
-        assert !_postPop;
-
-        _postPop = true;
-    }
-
-    private final void pushFragmentMappings ( Splay s )
-    {
-        // mask the initial frame to hide default mappings
-        
-        pushMappings(
-            s == null ? null : s.getContainer(),
-            _fragment.getNamespaceURI().length() == 0 );
-        
-        ensureFragmentNamespace();
-    }
-
-    private final void processXmlnsFragment ( Splay s )
-    {
-        // Saving a default xmlns mapping is dangerous, just spit out empty
-        // text
-        
-        if (s.getLocal().length() == 0)
-        {
-            pushFragmentMappings( null );
-            _text = _sb;
-            emitTextFragment( s, 0, 0 );
-        }
-        else
-        {
-            pushFragmentMappings( null );
-            ensureMapping( s.getUri(), s.getLocal(), false, true );
-            emitXmlnsFragment( s );
-        }
-    }
-
-    private final void processCommentFragment ( Splay s )
-    {
-        pushFragmentMappings( null );
-        emitCommentFragment( s );
-    }
-
-    private final void processProcinstFragment ( Splay s )
-    {
-        pushFragmentMappings( null );
-        emitProcinstFragment( s );
-    }
-    
-    /**
-     * This is called only when a single attr is being saved.  It is not called
-     * as a consequence of saving out a container.
-     */
-
-    private final void processAttrFragment ( Splay s )
-    {
-        assert s.isNormalAttr();
-
-        pushFragmentMappings( s );
-
-        ensureMapping( s.getUri(), null, false, true );
-
-        assert noText();
-
-        if (s.isInvalid())
-        {
-            // TODO - pass StringBuffer to buildText to save object creation
-            _text = _sb.append( s.peekType().build_text( this ) );
-        }
-
-        emitAttrFragment( s );
-
-        clearText();
-    }
-
-    /**
-     * This is called only when a single chunk of text is to be saved.
-     * It is not called as a consequence of saving out a container.
-     */
-
-    private final void processTextFragment ( Splay s, int p, int cch )
-    {
-        // Only need to save ancestor namespace mappings if there could be a
-        // qname here.  If the text is of length 0, then there is no qname.
-
-        Splay c = null;
-        
-        if ((_text != null && _text.length() > 0) || (s != null && cch > 0))
-            c = s.getContainer( p );
-        
-        pushFragmentMappings( c );
-
-        emitTextFragment( s, p, cch );
-    }
-
-    //
-    // Layout of namespace stack:
-    //
-    //    URI Undo
-    //    URI Rename
-    //    Prefix Undo
-    //    Mapping
-    //
-
-    boolean hasMappings ( )
-    {
-        int i = _namespaceStack.size();
-
-        return i > 0 && _namespaceStack.get( i - 1 ) != null;
-    }
-
-    void iterateMappings ( )
-    {
-        _currentMapping = _namespaceStack.size();
-
-        while ( _currentMapping > 0 &&
-                  _namespaceStack.get( _currentMapping - 1 ) != null )
-        {
-            _currentMapping -= 8;
-        }
-    }
-
-    boolean hasMapping ( )
-    {
-        return _currentMapping < _namespaceStack.size();
-    }
-
-    void nextMapping ( )
-    {
-        _currentMapping += 8;
-    }
-
-    String mappingPrefix ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 6 );
-    }
-
-    String mappingUri ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 7 );
-    }
-
-    String mappingPrevPrefixUri ( )
-    {
-        assert hasMapping();
-        return (String) _namespaceStack.get( _currentMapping + 5 );
-    }
-
-    //
-    //
-    //
-
-    private final void pushMappings ( Container c, boolean ensureDefaultEmpty )
-    {
-        _namespaceStack.add( null );
-
-        for ( ; c != null ; c = c.getContainer() )
-        {
-            namespaces:
-            for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isXmlns())
-                {
-                    Xmlns x = (Xmlns) s;
-                    String prefix = x.getLocal();
-                    String uri = x.getUri();
-
-                    if (ensureDefaultEmpty &&
-                            prefix.length() == 0 && uri.length() > 0)
-                    {
-                        continue;
-                    }
-
-                    // Make sure the prefix is not already mapped in
-                    // this frame
-
-                    for ( iterateMappings() ; hasMapping() ; nextMapping() )
-                        if (mappingPrefix().equals( prefix ))
-                            continue namespaces;
-
-                    addMapping( prefix, uri );
-                }
-            }
-
-            // Push all ancestors the first time
-            
-            if (!_firstPush)
-                break;
-        }
-
-        if (ensureDefaultEmpty)
-        {
-            String defaultUri = (String) _prefixMap.get( "" );
-
-            // I map the default to "" at the very beginning
-            assert defaultUri != null;
-
-            if (defaultUri.length() > 0)
-                addMapping( "", "" );
-        }
-
-        _firstPush = false;
-    }
-
-    private final void dumpMappings ( )
-    {
-        for ( int i = _namespaceStack.size() ; i > 0 ; )
-        {
-            if (_namespaceStack.get( i - 1 ) == null)
-            {
-                System.out.println( "----------------" );
-                i--;
-                continue;
-            }
-
-            System.out.print( "Mapping: " );
-            System.out.print( _namespaceStack.get( i - 2 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 1 ) );
-            System.out.println();
-
-            System.out.print( "Prefix Undo: " );
-            System.out.print( _namespaceStack.get( i - 4 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 3 ) );
-            System.out.println();
-
-            System.out.print( "Uri Rename: " );
-            System.out.print( _namespaceStack.get( i - 5 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 6 ) );
-            System.out.println();
-
-            System.out.print( "UriUndo: " );
-            System.out.print( _namespaceStack.get( i - 7 ) );
-            System.out.print( " -> " );
-            System.out.print( _namespaceStack.get( i - 8 ) );
-            System.out.println();
-
-            System.out.println();
-
-            i -= 8;
-        }
-    }
-
-    private final void addMapping ( String prefix, String uri )
-    {
-        assert uri != null;
-        assert prefix != null;
-
-        // If the prefix being mapped here is already mapped to a uri,
-        // that uri will either go out of scope or be mapped to another
-        // prefix.
-
-        String renameUri = (String) _prefixMap.get( prefix );
-        String renamePrefix = null;
-
-        if (renameUri != null)
-        {
-            // See if this prefix is already mapped to this uri.  If
-            // so, then add to the stack, but there is nothing to rename
-        
-            if (renameUri.equals( uri ))
-                renameUri = null;
-            else
-            {
-                int i = _namespaceStack.size();
-
-                while ( i > 0 )
-                {
-                    if (_namespaceStack.get( i - 1 ) == null)
-                    {
-                        i--;
-                        continue;
-                    }
-
-                    if (_namespaceStack.get( i - 7 ).equals( renameUri ))
-                    {
-                        renamePrefix = (String) _namespaceStack.get( i - 8 );
-
-                        if (renamePrefix == null ||
-                              !renamePrefix.equals( prefix ))
-                        {
-                            break;
-                        }
-                    }
-
-                    i -= 8;
-                }
-
-                assert i > 0;
-            }
-        }
-
-        _namespaceStack.add( _uriMap.get( uri ) );
-        _namespaceStack.add( uri );
-
-        if (renameUri != null)
-        {
-            _namespaceStack.add( _uriMap.get( renameUri ) );
-            _namespaceStack.add( renameUri );
-        }
-        else
-        {
-            _namespaceStack.add( null );
-            _namespaceStack.add( null );
-        }
-
-        _namespaceStack.add( prefix );
-        _namespaceStack.add( _prefixMap.get( prefix ) );
-
-        _namespaceStack.add( prefix );
-        _namespaceStack.add( uri );
-
-        _uriMap.put( uri, prefix );
-        _prefixMap.put( prefix, uri );
-
-        if (renameUri != null)
-            _uriMap.put( renameUri, renamePrefix );
-    }
-
-    private final void popMappings ( )
-    {
-        for ( ; ; )
-        {
-            int i = _namespaceStack.size();
-
-            if (i == 0)
-                break;
-
-            if (_namespaceStack.get( i - 1 ) == null)
-            {
-                _namespaceStack.remove( i - 1 );
-                break;
-            }
-
-            Object oldUri = _namespaceStack.get( i - 7 ); 
-            Object oldPrefix = _namespaceStack.get( i - 8 ); 
-
-            if (oldPrefix == null) 
-                _uriMap.remove( oldUri ); 
-            else 
-                _uriMap.put( oldUri, oldPrefix ); 
-
-            oldPrefix = _namespaceStack.get( i - 4 ); 
-            oldUri = _namespaceStack.get( i - 3 ); 
-
-            if (oldUri == null) 
-                _prefixMap.remove( oldPrefix ); 
-            else 
-                _prefixMap.put( oldPrefix, oldUri ); 
-
-            String uri = (String) _namespaceStack.get( i - 5 );
-
-            if (uri != null)
-                _uriMap.put( uri, _namespaceStack.get( i - 6 ) );
-
-            // Hahahahahaha -- :-(
-            _namespaceStack.remove( i - 1 );
-            _namespaceStack.remove( i - 2 );
-            _namespaceStack.remove( i - 3 );
-            _namespaceStack.remove( i - 4 );
-            _namespaceStack.remove( i - 5 );
-            _namespaceStack.remove( i - 6 );
-            _namespaceStack.remove( i - 7 );
-            _namespaceStack.remove( i - 8 );
-        }
-    }
-
-    protected final String getUriMapping ( String uri )
-    {
-        assert _uriMap.get( uri ) != null;
-        return (String) _uriMap.get( uri );
-    }
-
-    protected final boolean tryPrefix ( String prefix )
-    {
-        if (prefix == null || Splay.beginsWithXml( prefix ))
-            return false;
-
-        String existingUri = (String) _prefixMap.get( prefix );
-
-        // If the prefix is currently mapped, then try another prefix.  A
-        // special case is that of trying to map the default prefix ("").
-        // Here, there always exists a default mapping.  If this is the
-        // mapping we found, then remap it anyways. I use != to compare
-        // strings because I want to test for the specific initial default
-        // uri I added when I initialized the saver.
-
-        if (existingUri != null &&
-              (prefix.length() > 0 || existingUri != _initialDefaultUri))
-        {
-            return false;
-        }
-
-        return true;
-    }
-
-    protected final String ensureMapping (
-        String uri, String candidatePrefix,
-        boolean considerCreatingDefault, boolean mustHavePrefix )
-    {
-        assert uri != null;
-        assert candidatePrefix == null || candidatePrefix.length() > 0;
-
-        // Can be called for no-namespaced things
-
-        if (uri.length() == 0)
-            return null;
-
-        String prefix = (String) _uriMap.get( uri );
-
-        if (prefix != null && (prefix.length() > 0 || !mustHavePrefix))
-            return prefix;
-
-        //
-        // I try prefixes from a number of places, in order:
-        //
-        //  1) What was passed in
-        //  2) The optional suggestions (for uri's)
-        //  3) The default mapping is allowed
-        //  4) ns#++
-        //
-        
-        if (candidatePrefix == null || !tryPrefix( candidatePrefix ))
-        {
-            if (_suggestedPrefixes != null &&
-                    _suggestedPrefixes.containsKey( uri ) &&
-                        tryPrefix( (String) _suggestedPrefixes.get( uri ) ))
-            {
-                candidatePrefix = (String) _suggestedPrefixes.get( uri );
-            }
-            else if (considerCreatingDefault && _useDefaultNamespace && tryPrefix( "" ))
-                candidatePrefix = "";
-            else
-            {
-                String basePrefix = QNameHelper.suggestPrefix( uri );
-                candidatePrefix = basePrefix;
-                
-                for ( int i = 1 ; ; i++ )
-                {
-                    if (tryPrefix( candidatePrefix ))
-                        break;
-                    
-                    candidatePrefix = basePrefix + i;
-                }
-            }
-        }
-
-        assert candidatePrefix != null;
-
-        syntheticNamespace( candidatePrefix, uri, considerCreatingDefault );
-
-        addMapping( candidatePrefix, uri );
-
-        return candidatePrefix;
-    }
-
-    public final String find_prefix_for_nsuri ( String uri, String prefix )
-    {
-        assert uri != null;
-        assert prefix == null || prefix.length() > 0;
-
-        boolean emptyUri = uri.length() == 0;
-        
-        return ensureMapping( uri, prefix, emptyUri, !emptyUri );
-    }
-
-    public final String getNamespaceForPrefix ( String prefix )
-    {
-        if (prefix != null && prefix.equals( "xml" ))
-            return Splay._xml1998Uri;
-
-        return (String) _prefixMap.get( prefix );
-    }
-
-    protected final String ensureFragmentNamespace ( )
-    {
-        if (_fragment.getNamespaceURI().length() == 0)
-            return "";
-        
-        return ensureMapping( _fragment.getNamespaceURI(), "frag", false, false );
-    }
-
-    /**
-     * A Saver which records synthetic namespaces
-     */
-    
-    static final class SynthNamespaceSaver extends Saver
-    {
-        LinkedHashMap _synthNamespaces = new LinkedHashMap();
-        
-        SynthNamespaceSaver ( Root r, Splay s, int p, XmlOptions options )
-        {
-            super( r, s, p, options );
-        }
-        
-        protected void syntheticNamespace (
-            String prefix, String uri, boolean considerCreatingDefault )
-        {
-            _synthNamespaces.put( uri, considerCreatingDefault ? "useDefault" : null );
-        }
-        
-        protected void emitXmlnsFragment ( Splay s ) { }
-        protected void emitAttrFragment ( Splay s ) { }
-        protected void emitTextFragment ( Splay s, int p, int cch ) { }
-        protected void emitCommentFragment ( Splay s ) { }
-        protected void emitProcinstFragment ( Splay s ) { }
-        protected void emitComment ( Splay s ) { }
-        protected void emitTextAfter ( Splay s, int p, int cch ) { }
-        protected void emitEnd ( Splay s, QName name ) { }
-        protected void emitProcinst ( Splay s ) { }
-        protected void emitContainer ( Container c, QName name ) { }
-        
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID ) { }
-    }
-
-    /**
-     * A Saver which generates characters.
-     */
-
-    static final class TextSaver extends Saver
-    {
-        TextSaver (
-            Root r, Splay s, int p, XmlOptions options, String encoding )
-        {
-            super( r, s, p, options );
-
-            _wantFragTest = true;
-
-            if (encoding != null)
-            {
-                String version = r._props.getVersion();
-
-                if (version == null)
-                    version = "1.0";
-                
-                emit( "<?xml version=\"" );
-                emit( version );
-                emit( "\" encoding=\"" + encoding + "\"?>" + _newLine );
-            }
-        }
-
-        protected void emitContainer ( Container c, QName name )
-        {
-            if (c.isBegin())
-            {
-                emitContainerHelper( c, name, null, null, false );
-
-                if (c.isLeaf())
-                {
-                    int cch = _text == null ? c.getCchValue() : _text.length();
-
-                    if (cch > 0)
-                    {
-                        emit( '>' );
-
-                        if (_text == null)
-                            emit( getRoot().getCp( c ), cch );
-                        else
-                            emit( _text );
-
-                        entitizeContent();
-
-                        emit( "</" );
-                        emitName( name );
-                    }
-                    else
-                        emit( '/' );
-                }
-                else
-                {
-                    assert !c.isLeaf();
-
-                    if (c.getCchAfter() == 0 && c.nextNonAttrSplay().isEnd())
-                    {
-                        emit( '/' );
-                        _skipContainerFinish = true;
-                    }
-                }
-
-                emit( '>' );
-            }
-            else
-            {
-                assert c.isDoc();
-
-                if (name != null)
-                    emitContainerHelper( c, name, null, null, true );
-
-                if (_text == null)
-                    emit( getRoot().getCp( c ), c.getCch() );
-                else
-                    emit( _text );
-
-                entitizeContent();
-            }
-        }
-
-        private void emitAttrHelper ( Splay s, String invalidValue )
-        {
-            assert s.isNormalAttr();
-            
-            emit( ' ' );
-            emitName( s.getName() );
-            emit( "=\"" );
-
-            if (invalidValue != null)
-                emit( invalidValue );
-            else
-                emit( getRoot().getCp( s ), s.getCch() );
-
-            entitizeAttrValue();
-
-            emit( '"' );
-        }
-
-        private void emitNamespacesHelper ( )
-        {
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            {
-                emit( ' ' );
-                emitXmlns( mappingPrefix(), mappingUri() );
-            }
-        }
-                                     
-        private void emitContainerHelper (
-            Container c, QName name,
-            Splay extraAttr, StringBuffer extraAttrText,
-            boolean close )
-        {
-            assert name != null;
-
-            emit( '<' );
-            emitName( name );
-
-            if (_saveNamespacesFirst)
-                emitNamespacesHelper();
-
-            if (c != null)
-            {
-                for ( Iterator i = _attrs.keySet().iterator() ; i.hasNext() ; )
-                {
-                    Splay s = (Splay) i.next();
-                    emitAttrHelper( s, (String) _attrs.get( s ) );
-                }
-            }
-
-            if (extraAttr != null)
-            {
-                emitAttrHelper(
-                    extraAttr,
-                    extraAttrText == null ? null : extraAttrText.toString() );
-            }
-
-            if (!_saveNamespacesFirst)
-                emitNamespacesHelper();
-
-            if (close)
-                emit( '>' );
-        }
-
-        protected void emitText ( Splay s, int p, int cch )
-        {
-            emit( s.getCpForPos( getRoot(), p ), cch );
-            entitizeContent();
-        }
-
-        protected void emitTextAfter ( Splay s, int p, int cch )
-        {
-            if (_text == null)
-                emitText( s, p, cch );
-            else
-            {
-                emit( _text );
-                entitizeContent();
-            }
-        }
-
-        protected void emitTextFragment ( Splay s, int p, int cch )
-        {
-            emitContainerHelper( null, _fragment, null, null, false );
-
-            if (_text != null)
-            {
-                if (_text.length() > 0)
-                {
-                    emit( ">" );
-                    emit( _text );
-                    emitEndHelper( _fragment );
-                    return;
-                }
-            }
-            else if (s != null)
-            {
-                if (cch > 0)
-                {
-                    emit( ">" );
-                    emitText( s, p, cch );
-                    emitEndHelper( _fragment );
-                    return;
-                }
-            }
-            
-            emit( "/>" );
-        }
-
-        protected void emitAttrFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, s, _text, false );
-            emit( "/>" );
-        }
-
-        protected void emitXmlnsFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null, false );
-            emit( "/>" );
-        }
-
-        protected void emitCommentFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null, true );
-            emitComment( s );
-            emitEndHelper( _fragment );
-        }
-
-        protected void emitProcinstFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null, true );
-            emitProcinst( s );
-            emitEndHelper( _fragment );
-        }
-
-        protected void emitXmlns ( String prefix, String uri )
-        {
-            assert prefix != null;
-            assert uri != null;
-
-            emit( "xmlns" );
-
-            if (prefix.length() > 0)
-            {
-                emit( ":" );
-                emit( prefix );
-            }
-
-            emit( "=\"" );
-
-            // TODO - must encode uri properly
-
-            emit( uri );
-            entitizeAttrValue();
-
-            emit( '"' );
-        }
-
-        protected void emitEndHelper ( QName name )
-        {
-            emit( "</" );
-            emitName( name );
-            emit( '>' );
-        }
-
-        protected void emitEnd ( Splay s, QName name )
-        {
-            if (name != null)
-                emitEndHelper( name );
-        }
-
-        private void emitLiteral ( String literal )
-        {
-            if (literal.indexOf( "\"" ) < 0)
-            {
-                emit( "\"" );
-                emit( literal );
-                emit( "\"" );
-            }
-            else
-            {
-                emit( "'" );
-                emit( literal );
-                emit( "'" );
-            }
-        }
-
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID )
-        {
-            assert doctypeName != null;
-            
-            emit( "<!DOCTYPE " );
-            emit( doctypeName );
-
-            if (publicID == null && systemID != null)
-            {
-                emit( " SYSTEM " );
-                emitLiteral( systemID );
-            }
-            else if (publicID != null)
-            {
-                emit( " PUBLIC " );
-                emitLiteral( publicID );
-                emit( " " );
-                emitLiteral( systemID );
-            }
-
-            emit( ">" + _newLine );
-        }
-        
-        protected void emitComment ( Splay s )
-        {
-            assert s.isComment();
-            emit( "<!--" );
-            emit( getRoot().getCp( s ), s.getCchValue() );
-            entitizeComment();
-            emit( "-->" );
-        }
-
-        protected void emitProcinst ( Splay s )
-        {
-            assert s.isProcinst();
-            emit( "<?" );
-            // TODO - encoding issues here?
-            emit( s.getLocal() );
-
-            if (s.getCchValue() > 0)
-            {
-                emit( " " );
-                emit( getRoot().getCp( s ), s.getCchValue() );
-                entitizeProcinst();
-            }
-
-            emit( "?>" );
-        }
-
-        /**
-         * Ensure that there are at least cch chars available in the buffer.
-         * Return the actual number of characters available.  If less than cch,
-         * then that's all which will ever become available.
-         */
-
-        private int ensure ( int cch )
-        {
-            // Even if we're asked to ensure nothing, still try to ensure
-            // atleast one character so we can determine if we're at the
-            // end of the stream.
-
-            if (cch <= 0)
-                cch = 1;
-
-            int available = getAvailable();
-
-            for ( ; available < cch ; available = getAvailable() )
-                if (!process())
-                    break;
-
-            assert available == getAvailable();
-
-            if (available == 0)
-                return 0;
-
-            return available;
-        }
-
-        private void emitName ( QName name )
-        {
-            assert name != null;
-
-            String uri = name.getNamespaceURI();
-
-            assert uri != null;
-
-            if (uri.length() != 0)
-            {
-                String prefix = getUriMapping( uri );
-
-                if (prefix.length() > 0)
-                {
-                    emit( prefix );
-                    emit( ":" );
-                }
-            }
-
-            assert name.getLocalPart().length() > 0;
-
-            emit( name.getLocalPart() );
-        }
-
-        private boolean preEmit ( int cch )
-        {
-            assert cch >= 0;
-            
-            _lastEmitCch = cch;
-
-            if (cch == 0)
-                return true;
-
-            if (_free < cch)
-                resize( cch, -1 );
-
-            assert cch <= _free;
-
-            int used = getAvailable();
-
-            // if we are about to emit and there is noting in the buffer, reset
-            // the buffer to be at the beginning so as to not grow it anymore
-            // than needed.
-            
-            if (used == 0)
-            {
-                assert _in == _out;
-                assert _free == _buf.length;
-                _in = _out = 0;
-            }
-
-            _lastEmitIn = _in;
-
-            _free -= cch;
-            
-            assert _free >= 0;
-
-            return false;
-        }
-
-        private void emit ( String s )
-        {
-            int cch = s == null ? 0 : s.length();
-
-            if (preEmit( cch ))
-                return;
-
-            int chunk;
-
-            if (_in <= _out || cch < (chunk = _buf.length - _in))
-            {
-                s.getChars( 0, cch, _buf, _in );
-                _in += cch;
-            }
-            else
-            {
-                s.getChars( 0, chunk, _buf, _in );
-                s.getChars( chunk, cch, _buf, 0 );
-                _in = (_in + cch) % _buf.length;
-            }
-        }
-
-        private void emit ( StringBuffer sb )
-        {
-            int cch = sb == null ? 0 : sb.length();
-
-            if (preEmit( cch ))
-                return;
-
-            int chunk;
-
-            if (_in <= _out || cch < (chunk = _buf.length - _in))
-            {
-                sb.getChars( 0, cch, _buf, _in );
-                _in += cch;
-            }
-            else
-            {
-                sb.getChars( 0, chunk, _buf, _in );
-                sb.getChars( chunk, cch, _buf, 0 );
-                _in = (_in + cch) % _buf.length;
-            }
-        }
-
-        private void emit ( int cp, int cch )
-        {
-            emit(
-                getRoot()._text._buf,
-                getRoot()._text.unObscure( cp, cch ),
-                cch );
-        }
-
-        private void emit ( char ch )
-        {
-            preEmit( 1 );
-
-            _buf[ _in ] = ch;
-
-            _in = (_in + 1) % _buf.length;
-        }
-
-        private void emit ( char[] buf, int off, int cch )
-        {
-            assert cch >= 0;
-
-            if (preEmit( cch ))
-                return;
-
-            int chunk;
-
-            if (_in <= _out || cch < (chunk = _buf.length - _in))
-            {
-                System.arraycopy( buf, off, _buf, _in, cch );
-                _in += cch;
-            }
-            else
-            {
-                System.arraycopy( buf, off, _buf, _in, chunk );
-                System.arraycopy( buf, off + chunk, _buf, 0, cch - chunk );
-                _in = (_in + cch) % _buf.length;
-            }
-        }
-
-        private void entitizeContent ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-            final int n = _buf.length;
-
-            boolean hasOutOfRange = false;
-            
-            int count = 0;
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (ch == '<' || ch == '&')
-                    count++;
-                else if (isBadChar( ch ))
-                    hasOutOfRange = true;
-
-                if (++i == n)
-                    i = 0;
-            }
-
-            if (count == 0 && !hasOutOfRange)
-                return;
-
-            i = _lastEmitIn;
-
-            //
-            // Heuristic for knowing when to save out stuff as a CDATA.
-            //
-
-            if (_lastEmitCch > 32 && count > 5 &&
-                  count * 100 / _lastEmitCch > 1)
-            {
-                boolean lastWasBracket = _buf[ i ] == ']';
-
-                i = replace( i, "<![CDATA[" + _buf[ i ] );
-
-                boolean secondToLastWasBracket = lastWasBracket;
-
-                lastWasBracket = _buf[ i ] == ']';
-
-                if (++i == _buf.length)
-                    i = 0;
-
-                for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-                {
-                    char ch = _buf[ i ];
-
-                    if (ch == '>' && secondToLastWasBracket && lastWasBracket)
-                        i = replace( i, "&gt;" );
-                    else if (isBadChar( ch ))
-                        i = replace( i, "?" );
-                    else
-                        i++;
-
-                    secondToLastWasBracket = lastWasBracket;
-                    lastWasBracket = ch == ']';
-
-                    if (i == _buf.length)
-                        i = 0;
-                }
-
-                emit( "]]>" );
-            }
-            else
-            {
-                for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-                {
-                    char ch = _buf[ i ];
-
-                    if (ch == '<')
-                        i = replace( i, "&lt;" );
-                    else if (ch == '&')
-                        i = replace( i, "&amp;" );
-                    else if (isBadChar( ch ))
-                        i = replace( i, "?" );
-                    else
-                        i++;
-
-                    if (i == _buf.length)
-                        i = 0;
-                }
-            }
-        }
-
-        private void entitizeAttrValue ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (ch == '<')
-                    i = replace( i, "&lt;" );
-                else if (ch == '&')
-                    i = replace( i, "&amp;" );
-                else if (ch == '"')
-                    i = replace( i, "&quot;" );
-                else
-                    i++;
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-        }
-
-        private void entitizeComment ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            boolean lastWasDash = false;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (isBadChar( ch ))
-                    i = replace( i, "?" );
-                else if (ch == '-')
-                {
-                    if (lastWasDash)
-                    {
-                        // Replace "--" with "- " to make well formed
-                        i = replace( i, " " );
-                        lastWasDash = false;
-                    }
-                    else
-                    {
-                        lastWasDash = true;
-                        i++;
-                    }
-                }
-                else
-                {
-                    lastWasDash = false;
-                    i++;
-                }
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-
-            // Because I have only replaced chars with single chars,
-            // _lastEmitIn will still be ok
-
-            if (_buf[ _lastEmitIn + _lastEmitCch - 1 ] == '-')
-                i = replace( _lastEmitIn + _lastEmitCch - 1, " " );
-        }
-
-        private void entitizeProcinst ( )
-        {
-            if (_lastEmitCch == 0)
-                return;
-
-            int i = _lastEmitIn;
-
-            boolean lastWasQuestion = false;
-
-            for ( int cch = _lastEmitCch ; cch > 0 ; cch-- )
-            {
-                char ch = _buf[ i ];
-
-                if (isBadChar( ch ))
-                    i = replace( i, "?" );
-
-                if (ch == '>')
-                {
-    // TODO - Had to convert to a space here ... imples not well formed XML
-                    if (lastWasQuestion)
-                        i = replace( i, " " );
-                    else
-                        i++;
-
-                    lastWasQuestion = false;
-                }
-                else
-                {
-                    lastWasQuestion = ch == '?';
-                    i++;
-                }
-
-                if (i == _buf.length)
-                    i = 0;
-            }
-        }
-
-
-        /**
-         * Test if a character is valid in xml character content. See
-         * http://www.w3.org/TR/REC-xml#NT-Char
-         */
-        
-        private boolean isBadChar ( char ch )
-        {
-            return ! (
-                (ch >= 0x20 && ch <= 0xD7FF ) ||
-                (ch >= 0xE000 && ch <= 0xFFFD) ||
-                (ch >= 0x10000 && ch <= 0x10FFFF) ||
-                (ch == 0x9) || (ch == 0xA) || (ch == 0xD)
-                );
-        }
-
-        private int replace ( int i, String replacement )
-        {
-            assert replacement.length() > 0;
-
-            int dCch = replacement.length() - 1;
-
-            if (dCch == 0)
-            {
-                _buf[ i ] = replacement.charAt( 0 );
-                return i + 1;
-            }
-
-            assert _free >= 0;
-
-            if (dCch > _free)
-                i = resize( dCch, i );
-            
-            assert _free >= 0;
-
-            assert _free >= dCch;
-            assert getAvailable() > 0;
-
-            if (_out > _in && i >= _out)
-            {
-                System.arraycopy( _buf, _out, _buf, _out - dCch, i - _out );
-                _out -= dCch;
-                i -= dCch;
-            }
-            else
-            {
-                assert i < _in;
-                System.arraycopy( _buf, i, _buf, i + dCch, _in - i );
-                _in += dCch;
-            }
-
-            replacement.getChars( 0, dCch + 1, _buf, i );
-
-            _free -= dCch;
-            
-            assert _free >= 0;
-
-            return i + dCch + 1;
-        }
-
-        int getAvailable ( )
-        {
-            return _buf == null ? 0 : _buf.length - _free;
-        }
-
-        /**
-         * Make sure there is enough room for cch chars in the buffer
-         */
-
-        private int resize ( int cch, int i )
-        {
-            assert _free >= 0;
-            assert cch > 0;
-            assert cch > _free;
-
-            int newLen = _buf == null ? _initialBufSize : _buf.length * 2;
-            int used = getAvailable();
-
-            while ( newLen - used < cch )
-                newLen *= 2;
-
-            char[] newBuf = new char [ newLen ];
-
-            if (used > 0)
-            {
-                if (_in > _out)
-                {
-                    assert i == -1 || (i >= _out && i < _in);
-                    System.arraycopy( _buf, _out, newBuf, 0, used );
-                    i -= _out;
-                }
-                else
-                {
-                    assert i == -1 || (i >= _out || i < _in);
-                    System.arraycopy( _buf, _out, newBuf, 0, used - _in );
-                    System.arraycopy( _buf, 0, newBuf, used - _in, _in );
-                    i = i >= _out ? i - _out : i + _out;
-                }
-                
-                _out = 0;
-                _in = used;
-                _free += newBuf.length - _buf.length;
-            }
-            else
-            {
-                _free += newBuf.length;
-                assert _in == 0 && _out == 0;
-                assert i == -1;
-            }
-
-            _buf = newBuf;
-
-            assert _free >= 0;
-
-            return i;
-        }
-
-        public int read ( )
-        {
-            if (ensure( 1 ) == 0)
-                return -1;
-
-            assert getAvailable() > 0;
-
-            int ch = _buf[ _out ];
-
-            _out = (_out + 1) % _buf.length;
-            _free++;
-
-            return ch;
-        }
-
-        public int read ( char[] cbuf, int off, int len )
-        {
-            // Check for end of stream even if there is no way to return
-            // characters because the Reader doc says to return -1 at end of
-            // stream.
-
-            int n;
-
-            if ((n = ensure( len )) == 0)
-                return -1;
-
-            if (cbuf == null || len <= 0)
-                return 0;
-
-            if (n < len)
-                len = n;
-
-            if (_out < _in)
-            {
-                System.arraycopy( _buf, _out, cbuf, off, len );
-            }
-            else
-            {
-                int chunk = _buf.length - _out;
-
-                if (chunk >= len)
-                    System.arraycopy( _buf, _out, cbuf, off, len );
-                else
-                {
-                    System.arraycopy( _buf, _out, cbuf, off, chunk );
-                    System.arraycopy( _buf, 0, cbuf, off + chunk, len - chunk );
-                }
-            }
-
-            _out = (_out + len) % _buf.length;
-            _free += len;
-
-            assert _free >= 0;
-
-            return len;
-        }
-
-        public int write ( Writer writer, int cchMin )
-        {
-            while ( getAvailable() < cchMin)
-            {
-                if (!process())
-                    break;
-            }
-
-            int charsAvailable = getAvailable();
-
-            if (charsAvailable > 0)
-            {
-                // I don't want to deal with the circular cases
-
-                assert _out == 0;
-
-                try
-                {
-                    writer.write( _buf, 0, charsAvailable );
-                    writer.flush();
-                }
-                catch ( IOException e )
-                {
-                    throw new RuntimeException( e );
-                }
-
-                _free += charsAvailable;
-                
-                assert _free >= 0;
-                
-                _in = 0;
-            }
-
-            return charsAvailable;
-        }
-
-        /**
-         * Ensure all text and return it as a string.
-         */
-
-        public String saveToString ( )
-        {
-            // We're gonna build a string.  Instead of using StringBuffer, may
-            // as well use my buffer here.  Fill the whole sucker up and
-            // create a String!
-
-            while ( process() )
-                ;
-
-            assert _out == 0;
-
-            int available = getAvailable();
-
-            return available == 0 ? "" : new String( _buf, _out, available );
-        }
-
-        private static final int _initialBufSize = 4096;
-
-        private int _lastEmitIn;
-        private int _lastEmitCch;
-
-        private int    _free;
-        private int    _in;
-        private int    _out;
-        private char[] _buf;
-    }
-
-    /**
-     * A Reader which exposes the text of a part of the tree.
-     */
-
-    static final class TextReader extends Reader
-    {
-        TextReader ( Root r, Splay s, int p, XmlOptions options )
-        {
-            _textSaver = new TextSaver( r, s, p, options, null );
-        }
-
-        public void close ( ) throws IOException { }
-
-        public boolean ready ( ) throws IOException { return true; }
-
-        public int read ( ) throws IOException
-        {
-            return _textSaver.read();
-        }
-
-        public int read ( char[] cbuf ) throws IOException
-        {
-            return _textSaver.read( cbuf, 0, cbuf == null ? 0 : cbuf.length );
-        }
-
-        public int read ( char[] cbuf, int off, int len ) throws IOException
-        {
-            return _textSaver.read( cbuf, off, len );
-        }
-
-        private TextSaver _textSaver;
-    }
-
-    /**
-     *
-     */
-
-    static final class InputStreamSaver extends InputStream
-    {
-        InputStreamSaver (
-            Root r, Splay s, int p, XmlOptions options )
-        {
-            options = XmlOptions.maskNull(options);
-            _byteBuffer = new OutputStreamImpl();
-
-            String encoding = null;
-            
-            if (r._props.getEncoding() != null)
-            {
-                encoding =
-                    EncodingMap.getIANA2JavaMapping( r._props.getEncoding() );
-            }
-
-            if (options.hasOption(XmlOptions.CHARACTER_ENCODING))
-            {
-                encoding =
-                    (String) options.get(XmlOptions.CHARACTER_ENCODING);
-            }
-
-            if (encoding != null)
-            {
-                String ianaEncoding =
-                    EncodingMap.getJava2IANAMapping( encoding );
-
-                if (ianaEncoding != null)
-                    encoding = ianaEncoding;
-            }
-
-            if (encoding == null)
-                encoding = EncodingMap.getJava2IANAMapping( "UTF8" );
-
-            String javaEncoding = EncodingMap.getIANA2JavaMapping( encoding );
-
-            if (javaEncoding == null)
-            {
-                throw
-                    new IllegalStateException(
-                        "Unknown encoding: " + encoding );
-            }
-
-            try
-            {
-                _converter = new OutputStreamWriter( _byteBuffer, javaEncoding);
-            }
-            catch ( UnsupportedEncodingException e )
-            {
-                throw new RuntimeException( e );
-            }
-
-            _textSaver = new TextSaver( r, s, p, options, encoding );
-        }
-
-        public int read ( )
-        {
-            return _byteBuffer.read();
-        }
-
-        public int read ( byte[] bbuf, int off, int len )
-        {
-            return _byteBuffer.read ( bbuf, off, len );
-        }
-
-        private int ensure ( int cbyte )
-        {
-            // Even if we're asked to ensure nothing, still try to ensure
-            // atleast one byte so we can determine if we're at the
-            // end of the stream.
-
-            if (cbyte <= 0)
-                cbyte = 1;
-
-            int bytesAvailable = _byteBuffer.getAvailable();
-
-            for ( ; bytesAvailable < cbyte ;
-                  bytesAvailable = _byteBuffer.getAvailable() )
-            {
-                if (_textSaver.write( _converter, 2048 ) < 2048)
-                    break;
-            }
-
-            bytesAvailable = _byteBuffer.getAvailable();
-
-            if (bytesAvailable == 0)
-                return 0;
-
-            return bytesAvailable;
-        }
-
-        private final class OutputStreamImpl extends OutputStream
-        {
-            int read ( )
-            {
-                if (InputStreamSaver.this.ensure( 1 ) == 0)
-                    return -1;
-
-                assert getAvailable() > 0;
-
-                int bite = _buf[ _out ];
-
-                _out = (_out + 1) % _buf.length;
-                _free++;
-
-                return bite;
-            }
-
-            int read ( byte[] bbuf, int off, int len )
-            {
-                // Check for end of stream even if there is no way to return
-                // characters because the Reader doc says to return -1 at end of
-                // stream.
-
-                int n;
-
-                if ((n = ensure( len )) == 0)
-                    return -1;
-
-                if (bbuf == null || len <= 0)
-                    return 0;
-
-                if (n < len)
-                    len = n;
-
-                if (_out < _in)
-                {
-                    System.arraycopy( _buf, _out, bbuf, off, len );
-                }
-                else
-                {
-                    int chunk = _buf.length - _out;
-
-                    if (chunk >= len)
-                        System.arraycopy( _buf, _out, bbuf, off, len );
-                    else
-                    {
-                        System.arraycopy( _buf, _out, bbuf, off, chunk );
-
-                        System.arraycopy(
-                            _buf, 0, bbuf, off + chunk, len - chunk );
-                    }
-                }
-
-                _out = (_out + len) % _buf.length;
-                _free += len;
-
-                return len;
-            }
-
-            int getAvailable ( )
-            {
-                return _buf == null ? 0 : _buf.length - _free;
-            }
-
-            public void write ( int bite )
-            {
-                if (_free == 0)
-                    resize( 1 );
-
-                assert _free > 0;
-
-                _buf[ _in ] = (byte) bite;
-
-                _in = (_in + 1) % _buf.length;
-                _free--;
-            }
-
-            public void write ( byte[] buf, int off, int cbyte )
-            {
-                assert cbyte >= 0;
-
-                if (cbyte == 0)
-                    return;
-
-                if (_free < cbyte)
-                    resize( cbyte );
-
-                if (_in == _out)
-                {
-                    assert getAvailable() == 0;
-                    assert _free == _buf.length - getAvailable();
-                    _in = _out = 0;
-                }
-
-                int chunk;
-
-                if (_in <= _out || cbyte < (chunk = _buf.length - _in))
-                {
-                    System.arraycopy( buf, off, _buf, _in, cbyte );
-                    _in += cbyte;
-                }
-                else
-                {
-                    System.arraycopy( buf, off, _buf, _in, chunk );
-
-                    System.arraycopy(
-                        buf, off + chunk, _buf, 0, cbyte - chunk );
-
-                    _in = (_in + cbyte) % _buf.length;
-                }
-
-                _free -= cbyte;
-            }
-
-            void resize ( int cbyte )
-            {
-                assert cbyte > _free;
-
-                int newLen = _buf == null ? _initialBufSize : _buf.length * 2;
-                int used = getAvailable();
-
-                while ( newLen - used < cbyte )
-                    newLen *= 2;
-
-                byte[] newBuf = new byte [ newLen ];
-
-                if (used > 0)
-                {
-                    if (_out == _in)
-                        System.arraycopy( _buf, 0, newBuf, 0, used );
-                    else if (_in > _out)
-                        System.arraycopy( _buf, _out, newBuf, 0, used );
-                    else
-                    {
-                        System.arraycopy(
-                            _buf, _out, newBuf, 0, used - _in );
-
-                        System.arraycopy(
-                            _buf, 0, newBuf, used - _in, _in );
-                    }
-
-                    _out = 0;
-                    _in = used;
-                    _free += newBuf.length - _buf.length;
-                }
-                else
-                {
-                    _free += newBuf.length;
-                    assert _in == 0 && _out == 0;
-                }
-
-                _buf = newBuf;
-            }
-
-            private static final int _initialBufSize = 4096;
-
-            int    _free;
-            int    _in;
-            int    _out;
-            byte[] _buf;
-        }
-
-        private OutputStreamImpl   _byteBuffer;
-        private TextSaver          _textSaver;
-        private OutputStreamWriter _converter;
-    }
-
-    /**
-     *
-     */
-
-    static final class XmlInputStreamSaver extends Saver
-    {
-        XmlInputStreamSaver ( Root r, Splay s, int p, XmlOptions options )
-        {
-            super( r, s, p, options );
-        }
-
-        XMLEvent dequeue ( ) throws XMLStreamException
-        {
-            if (_out == null && !process())
-                return null;
-
-            if (_out == null)
-                return null;
-
-            XmlEventImpl e = _out;
-
-            if ((_out = _out._next) == null)
-                _in = null;
-
-            return e;
-        }
-
-        private void enqueue ( XmlEventImpl e )
-        {
-            assert e._next == null;
-
-            if (_in == null)
-            {
-                assert _out == null;
-                _out = _in = e;
-            }
-            else
-            {
-                _in._next = e;
-                _in = e;
-            }
-        }
-
-        //
-        //
-        //
-
-        protected void emitXmlnsFragment ( Splay s )
-        {
-            throw new IllegalStateException( "Can't stream an attribute" );
-        }
-
-        protected void emitText ( Splay s, int p, int cch )
-        {
-            assert cch > 0;
-            enqueue( new CharacterDataImpl( getRoot(), s, p, null ) );
-        }
-
-        protected void emitTextFragment ( Splay s, int p, int cch )
-        {
-            // BUGBUG - there could be namespaces pushed for this text, not
-            // sure how to communicate those, however
-
-            if (_text != null)
-            {
-                if (_text.length() > 0)
-                    emitText( s, p, cch );
-                
-                return;
-            }
-            
-            if (s != null && cch > 0)
-                emitText( s, p, cch );
-        }
-
-        protected void emitTextAfter ( Splay s, int p, int cch )
-        {
-            if (_text == null)
-                emitText( s, p, cch );
-            else
-                enqueue( new CharacterDataImpl( getRoot(), s, -1, text() ) );
-        }
-
-        protected void emitEndPrefixMappings ( )
-        {
-            Root r = getRoot();
-
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            {
-                String prevPrefixUri = mappingPrevPrefixUri();
-
-                if (prevPrefixUri == null)
-                    enqueue( new EndPrefixMappingImpl( r, mappingPrefix() ) );
-                else
-                {
-                    enqueue(
-                        new ChangePrefixMappingImpl(
-                            r, mappingPrefix(), mappingUri(), prevPrefixUri ) );
-                }
-            }
-        }
-
-        protected void emitEnd ( Splay s, QName name )
-        {
-            Root r = getRoot();
-
-            if (s.isRoot())
-                enqueue( new EndDocumentImpl( r, s ) );
-            else if (s.isEnd())
-                enqueue( new EndElementImpl( r, s, name, getUriMap() ) );
-            else
-            {
-                assert s.isLeaf();
-                enqueue( new EndElementImpl( r, s, name, getUriMap() ) );
-            }
-
-            emitEndPrefixMappings();
-        }
-
-        protected void emitCommentFragment ( Splay s )
-        {
-            emitComment( s );
-        }
-
-        protected void emitProcinstFragment ( Splay s )
-        {
-            emitProcinst( s );
-        }
-
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID )
-        {
-        }
-        
-        protected void emitComment ( Splay s )
-        {
-            enqueue( new CommentImpl( getRoot(), s ) );
-        }
-
-        protected void emitProcinst ( Splay s )
-        {
-            enqueue( new ProcessingInstructionImpl( getRoot(), s ) );
-        }
-
-        protected void emitAttrFragment ( Splay s )
-        {
-            throw new IllegalStateException( "Can't stream an attribute" );
-        }
-
-        protected void emitContainer ( Container c, QName name )
-        {
-            Root r = getRoot();
-
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            {
-                enqueue(
-                    new StartPrefixMappingImpl(
-                        r, mappingPrefix(), mappingUri() ) );
-            }
-
-            if (c.isDoc())
-                enqueue( new StartDocumentImpl( r, c ) );
-
-            if (name != null)
-            {
-                enqueue(
-                    new StartElementImpl( r, c, name, this ) );
-            }
-
-            if (c.isDoc())
-            {
-                assert c.isDoc();
-
-                if (_text != null)
-                {
-                    if (_text.length() > 0)
-                        enqueue( new CharacterDataImpl( r, c, -1, text() ) );
-                }
-                else if (c.getCch() > 0)
-                    enqueue( new CharacterDataImpl( r, c, 1, null ) );
-            }
-            else if (c.isLeaf())
-            {
-                if (_text != null)
-                {
-                    if (_text.length() > 0)
-                        enqueue( new CharacterDataImpl( r, c, -1, text() ));
-                }
-                else if (c.getCchValue() > 0)
-                    enqueue( new CharacterDataImpl( r, c, 1, null ) );
-
-                enqueue( new EndElementImpl( r, c, name, getUriMap() ) );
-
-                emitEndPrefixMappings();
-            }
-        }
-
-
-        //
-        //
-        //
-
-        private static XMLName computeName ( QName n, Map uriMap )
-        {
-            String uri = n.getNamespaceURI();
-
-            if (uri.length() == 0)
-                uri = null;
-
-            assert n.getLocalPart().length() > 0;
-
-            // The following assert may fire if someone computes a name
-            // of an element/attr too late (after other events have been
-            // enqueued and the uri map has been updated.  I check later
-            // to make sure we don't crash, however.
-
-            assert uri == null || uriMap.containsKey( uri ) : "Problem uri " + uri;
-
-            String prefix = null;
-
-            if (uri != null)
-            {
-                prefix = (String) uriMap.get( uri );
-
-                if (prefix != null && prefix.length() == 0)
-                    prefix = null;
-            }
-
-            return new XmlNameImpl( uri, n.getLocalPart(), prefix );
-        }
-
-        private static abstract class XmlEventImpl extends XmlEventBase
-        {
-            public Object monitor()
-            {
-                return _root;
-            }
-            
-            XmlEventImpl ( int type, Root r, Splay s )
-            {
-                super( type );
-                _root = r;
-                _splay = s;
-                _version = _root.getVersion();
-            }
-
-            public XMLName getName ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return null;
-                }
-            }
-
-            public XMLName getSchemaType ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    throw new RuntimeException( "NYI" );
-                }
-            }
-
-            public boolean hasName ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return false;
-                }
-            }
-
-            public final Location getLocation ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    // TODO - perhaps I can save a location goober sometimes?
-                    return null;
-                }
-            }
-
-            protected final void checkVersion ( )
-            {
-                if (_version != _root.getVersion())
-                    throw new ConcurrentModificationException( "Document changed" );
-            }
-
-            protected final Root getRoot ( )
-            {
-                return _root;
-            }
-
-            protected final Splay getSplay ( )
-            {
-                return _splay;
-            }
-
-            private Root  _root;
-            private Splay _splay;
-            private long  _version;
-
-            XmlEventImpl _next;
-        }
-
-        private static class StartDocumentImpl
-            extends XmlEventImpl implements StartDocument
-        {
-            StartDocumentImpl ( Root r, Splay s )
-            {
-                super( XMLEvent.START_DOCUMENT, r, s );
-            }
-
-            public String getSystemId ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return getRoot()._props.getDoctypeSystemId();
-                }
-            }
-
-            public String getCharacterEncodingScheme ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return getRoot()._props.getEncoding();
-                }
-            }
-
-            public boolean isStandalone ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return getRoot()._standAlone;
-                }
-            }
-
-            public String getVersion ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return getRoot()._props.getVersion();
-                }
-            }
-        }
-
-        private static class StartElementImpl
-            extends XmlEventImpl implements StartElement
-        {
-            StartElementImpl ( Root r, Splay s, QName name, Saver saver )
-            {
-                super( XMLEvent.START_ELEMENT, r, s );
-
-                _name = computeName( name, saver.getUriMap() );
-
-                _prefixMap = saver.getPrefixMap();
-
-                AttributeImpl lastAttr = null;
-
-                for ( Iterator i = saver._attrs.keySet().iterator() ;
-                      i.hasNext() ; )
-                {
-                    Splay a = (Splay) i.next();
-                    
-                    AttributeImpl attr =
-                        new NormalAttributeImpl(
-                            r, a, (String) saver._attrs.get( a ),
-                            saver.getUriMap() );
-                    
-                    if (_attributes == null)
-                        _attributes = attr;
-                    else
-                        lastAttr._next = attr;
-
-                    lastAttr = attr;
-                }
-
-                lastAttr = null;
-
-                for ( saver.iterateMappings() ;
-                      saver.hasMapping() ; saver.nextMapping() )
-                {
-                    AttributeImpl attr =
-                        new XmlnsAttributeImpl(
-                            r, saver.mappingPrefix(), saver.mappingUri(),
-                            saver.getUriMap() );
-
-                    if (_namespaces == null)
-                        _namespaces = attr;
-                    else
-                        lastAttr._next = attr;
-
-                    lastAttr = attr;
-                }
-            }
-
-            public boolean hasName()
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return true;
-                }
-            }
-
-            public XMLName getName ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _name;
-                }
-            }
-
-            public AttributeIterator getAttributes ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return
-                        new AttributeIteratorImpl( getRoot(), _attributes, null );
-                }
-            }
-
-            public AttributeIterator getNamespaces ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return
-                        new AttributeIteratorImpl( getRoot(), null, _namespaces );
-                }
-            }
-
-            public AttributeIterator getAttributesAndNamespaces ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return
-                        new AttributeIteratorImpl(
-                            getRoot(), _attributes, _namespaces );
-                }
-            }
-
-            public Attribute getAttributeByName ( XMLName xmlName )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    for ( AttributeImpl a = _attributes ; a != null ; a = a._next )
-                    {
-                        if (xmlName.equals( a.getName() ))
-                            return a;
-                    }
-    
-                    return null;
-                }
-            }
-
-            public String getNamespaceUri ( String prefix )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return
-                        (String) _prefixMap.get( prefix == null ? "" : prefix );
-                }
-            }
-
-            public Map getNamespaceMap ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return _prefixMap;
-                }
-            }
-
-            private static class AttributeIteratorImpl
-                implements AttributeIterator
-            {
-                public Object monitor()
-                {
-                    return _root;
-                }
-                
-                AttributeIteratorImpl (
-                    Root r, AttributeImpl attributes, AttributeImpl namespaces )
-                {
-                    _root = r;
-                    _version = r.getVersion();
-                    _attributes = attributes;
-                    _namespaces = namespaces;
-                }
-
-                public Attribute next ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    
-                        AttributeImpl attr = null;
-    
-                        if (_attributes != null)
-                        {
-                            attr = _attributes;
-                            _attributes = attr._next;
-                        }
-                        else if (_namespaces != null)
-                        {
-                            attr = _namespaces;
-                            _namespaces = attr._next;
-                        }
-    
-                        return attr;
-                    }
-                }
-
-                public boolean hasNext ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    
-                        return _attributes != null || _namespaces != null;
-                    }
-                }
-
-                public Attribute peek ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    
-                        if (_attributes != null)
-                            return _attributes;
-                        else if (_namespaces != null)
-                            return _namespaces;
-    
-                        return null;
-                    }
-                }
-
-                public void skip ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    
-                        if (_attributes != null)
-                            _attributes = _attributes._next;
-                        else if (_namespaces != null)
-                            _namespaces = _namespaces._next;
-                    }
-                }
-
-                private final void checkVersion ( )
-                {
-                    if (_version != _root.getVersion())
-                        throw new IllegalStateException( "Document changed" );
-                }
-
-                private Root          _root;
-                private long          _version;
-                private AttributeImpl _attributes;
-                private AttributeImpl _namespaces;
-            }
-
-            private static abstract class AttributeImpl implements Attribute
-            {
-                public Object monitor()
-                {
-                    return _root;
-                }
-                
-                AttributeImpl ( Root r )
-                {
-                    _root = r;
-                    _version = r.getVersion();
-                }
-
-                public XMLName getName ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-                        return _name;
-                    }
-                }
-
-                public String getType ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    // TODO - Make sure throwing away this DTD info is ok.
-    // Is there schema info which can return more useful info?
-                        return "CDATA";
-                    }
-                }
-
-                public XMLName getSchemaType ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    // TODO - Can I return something reasonable here?
-                        return null;
-                    }
-                }
-
-                protected final void checkVersion ( )
-                {
-                    if (_version != _root.getVersion())
-                        throw new IllegalStateException( "Document changed" );
-                }
-
-                AttributeImpl _next;
-
-                protected XMLName _name;
-
-                protected Root  _root;
-                private long  _version;
-            }
-
-            private static class XmlnsAttributeImpl extends AttributeImpl
-            {
-                XmlnsAttributeImpl (
-                    Root r, String prefix, String uri, Map uriMap )
-                {
-                    super( r );
-
-                    _uri = uri;
-
-                    String local;
-
-                    if (prefix.length() == 0)
-                    {
-                        prefix = null;
-                        local = "xmlns";
-                    }
-                    else
-                    {
-                        local = prefix;
-                        prefix = "xmlns";
-                    }
-
-                    _name = new XmlNameImpl( null, local, prefix );
-                }
-
-                public String getValue ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-                        return _uri;
-                    }
-                }
-
-                private String _uri;
-            }
-
-            private static class NormalAttributeImpl extends AttributeImpl
-            {
-                NormalAttributeImpl (
-                    Root r, Splay s, String value, Map uriMap )
-                {
-                    super( r );
-                    assert s.isNormalAttr();
-                    _splay = s;
-                    _value = value;
-                    _name = computeName( s.getName(), uriMap );
-                }
-
-                public String getValue ( )
-                {
-                    synchronized (monitor())
-                    {
-                        checkVersion();
-    
-                        return _value != null ? _value : _splay.getText( _root );
-                    }
-                }
-
-                private String _value; // If invalid in the store
-                private Splay _splay;
-            }
-
-            private XMLName _name;
-            private Map     _prefixMap;
-
-            private AttributeImpl _attributes;
-            private AttributeImpl _namespaces;
-        }
-
-        private static class StartPrefixMappingImpl
-            extends XmlEventImpl implements StartPrefixMapping
-        {
-            StartPrefixMappingImpl ( Root r, String prefix, String uri )
-            {
-                super( XMLEvent.START_PREFIX_MAPPING, r, null );
-
-                _prefix = prefix;
-                _uri = uri;
-            }
-
-            public String getNamespaceUri ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _uri;
-                }
-            }
-
-            public String getPrefix ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _prefix;
-                }
-            }
-
-            private String _prefix, _uri;
-        }
-
-        private static class ChangePrefixMappingImpl
-            extends XmlEventImpl implements ChangePrefixMapping
-        {
-            ChangePrefixMappingImpl (
-                Root r, String prefix, String oldUri, String newUri )
-            {
-                super( XMLEvent.CHANGE_PREFIX_MAPPING, r, null );
-
-                _oldUri = oldUri;
-                _newUri = newUri;
-                _prefix = prefix;
-            }
-
-            public String getOldNamespaceUri ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _oldUri;
-                }
-            }
-
-            public String getNewNamespaceUri ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _newUri;
-                }
-            }
-
-            public String getPrefix ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _prefix;
-                }
-            }
-
-            private String _oldUri, _newUri, _prefix;
-        }
-
-        private static class EndPrefixMappingImpl
-            extends XmlEventImpl implements EndPrefixMapping
-        {
-            EndPrefixMappingImpl ( Root r, String prefix )
-            {
-                super( XMLEvent.END_PREFIX_MAPPING, r, null );
-                _prefix = prefix;
-            }
-
-            public String getPrefix ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _prefix;
-                }
-            }
-
-            private String _prefix;
-        }
-
-        private static class CharacterDataImpl
-            extends XmlEventImpl implements CharacterData
-        {
-            CharacterDataImpl ( Root r, Splay s, int p, String charData )
-            {
-                super( XMLEvent.CHARACTER_DATA, r, s );
-
-                assert p > 0 || (charData != null && charData.length() > 0);
-
-                _pos = p;
-                _charData = charData;
-            }
-
-            public String getContent ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    Splay s = getSplay();
-    
-                    if (_pos == -1)
-                        return _charData;
-    
-                    Root r = getRoot();
-    
-                    return
-                        r._text.fetch(
-                            s.getCpForPos( r, _pos ), s.getPostCch( _pos ) );
-                }
-            }
-
-            public boolean hasContent ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return true;
-                }
-            }
-
-            private int    _pos;
-            private String _charData;
-        }
-
-        private static class EndElementImpl
-            extends XmlEventImpl implements EndElement
-        {
-            EndElementImpl ( Root r, Splay s, QName name, Map uriMap )
-            {
-                super( XMLEvent.END_ELEMENT, r, s );
-
-                assert s.isLeaf() || s.isEnd();
-
-                if (name == null)
-                {
-                    if (s.isEnd())
-                        s = s.getContainer();
-                    
-                    name = s.getName();
-                }
-
-                _name = computeName( name, uriMap );
-            }
-
-            public boolean hasName ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return true;
-                }
-            }
-
-            public XMLName getName ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return _name;
-                }
-            }
-
-            private XMLName _name;
-        }
-
-        private static class EndDocumentImpl
-            extends XmlEventImpl implements EndDocument
-        {
-            EndDocumentImpl ( Root r, Splay s )
-            {
-                super( XMLEvent.END_DOCUMENT, r, s );
-            }
-        }
-
-        private static class CommentImpl
-            extends XmlEventImpl implements Comment
-        {
-            CommentImpl ( Root r, Splay s )
-            {
-                super( XMLEvent.COMMENT, r, s );
-                assert s.isComment();
-            }
-
-            public String getContent ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    Splay s = getSplay();
-                    return s.getCch() == 0 ? null : s.getText( getRoot() );
-                }
-            }
-
-            public boolean hasContent ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-    
-                    return getSplay().getCch() > 0;
-                }
-            }
-        }
-
-        private static class ProcessingInstructionImpl
-            extends XmlEventImpl implements ProcessingInstruction
-        {
-            ProcessingInstructionImpl ( Root r, Splay s )
-            {
-                super( XMLEvent.PROCESSING_INSTRUCTION, r, s );
-                assert s.isProcinst();
-            }
-
-            public String getTarget ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    return getSplay().getLocal();
-                }
-            }
-
-            public String getData ( )
-            {
-                synchronized (monitor())
-                {
-                    checkVersion();
-                    Splay s = getSplay();
-                    return s.getCch() == 0 ? null : s.getText( getRoot() );
-                }
-            }
-        }
-
-        private XmlEventImpl _in, _out;
-    }
-
-    static final class XmlInputStreamImpl extends GenericXmlInputStream
-    {
-        XmlInputStreamImpl ( Root r, Splay s, int p, XmlOptions options )
-        {
-            _xmlInputStreamSaver =
-                new XmlInputStreamSaver( r, s, p, options );
-
-            // Make the saver grind away just a bit to throw any exceptions
-            // related to the inability to create a stream on this xml
-            
-            _xmlInputStreamSaver.process();
-        }
-
-        protected XMLEvent nextEvent ( ) throws XMLStreamException
-        {
-            return _xmlInputStreamSaver.dequeue();
-        }
-
-        private XmlInputStreamSaver _xmlInputStreamSaver;
-    }
-
-    //
-    //
-    //
-
-    static final class ValidatorSaver
-        extends Saver implements ValidatorListener.Event
-    {
-        ValidatorSaver (
-            Root r, Splay s, int p,
-            XmlOptions options, ValidatorListener vEventSink )
-        {
-            super( r, s, p, options );
-
-            _wantDupAttrs = true;
-
-            assert p == 0;
-
-            _startSplay = s;
-            _vEventSink = vEventSink;
-
-            while ( process() )
-                ;  // Empty
-        }
-
-        protected void emitXmlnsFragment ( Splay s )
-        {
-            throw new IllegalStateException();
-        }
-
-        protected void emitTextFragment ( Splay s, int p, int cch )
-        {
-            throw new IllegalStateException();
-        }
-
-        protected void emitCommentFragment ( Splay s )
-        {
-            throw new IllegalStateException();
-        }
-
-        protected void emitProcinstFragment ( Splay s )
-        {
-            throw new IllegalStateException();
-        }
-
-        protected void emitTextAfter ( Splay s, int p, int cch )
-        {
-            if (_text == null)
-            {
-                assert cch > 0;
-                emitEvent( ValidatorListener.TEXT, s, p, null, s, p );
-            }
-            else
-                emitEvent( ValidatorListener.TEXT, s, p, null, text() );
-        }
-
-        protected void emitEnd ( Splay s, QName name )
-        {
-            emitEvent( ValidatorListener.END, s, 0 );
-        }
-
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID )
-        {
-        }
-        
-        protected void emitComment ( Splay s )
-        {
-            if (s.getCchAfter() > 0)
-                emitEvent( ValidatorListener.TEXT, s, 0, null, s, 1 );
-        }
-
-        protected void emitProcinst ( Splay s )
-        {
-            if (s.getCchAfter() > 0)
-                emitEvent( ValidatorListener.TEXT, s, 0, null, s, 1 );
-        }
-
-        protected void emitAttrFragment ( Splay s )
-        {
-            emitEvent( ValidatorListener.BEGIN, s, 0, null );
-
-            if (_text != null)
-            {
-                if (_text.length() > 0)
-                    emitEvent( ValidatorListener.TEXT, s, 0, null, text() );
-            }
-            else if (s.getCch() > 0)
-                emitEvent( ValidatorListener.TEXT, s, 0, null, s, 0 );
-
-            emitEvent( ValidatorListener.END, s, 0 );
-        }
-
-        protected void emitContainer ( Container c, QName name )
-        {
-            assert _xsiNoLoc == null;
-            assert _xsiLoc == null;
-            assert _xsiType == null;
-            assert _xsiNil == null;
-
-            for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isXsiAttr())
-                {
-                    String local = s.getLocal();
-
-                    if (local.equals( "type" ))
-                        _xsiType = s;
-                    else if (local.equals( "nil" ))
-                        _xsiNil = s;
-                    else if (local.equals( "schemaLocation" ))
-                        _xsiLoc = s;
-                    else if (local.equals( "noNamespaceSchemaLocation" ))
-                        _xsiNoLoc = s;
-                }
-            }
-
-            emitEvent(
-                ValidatorListener.BEGIN, c, 0,
-                c == _startSplay ? null : name );
-
-            _xsiNoLoc = _xsiLoc = _xsiType = _xsiNil = null;
-
-            for ( Iterator i = _attrs.keySet().iterator() ; i.hasNext() ; )
-            {
-                Splay s = (Splay) i.next();
-                
-                if (s.isXsiAttr())
-                {
-                    String local = s.getLocal();
-
-                    if (local.equals( "type" ) ||
-                        local.equals( "nil" ) ||
-                        local.equals( "schemaLocation" ) ||
-                        local.equals( "noNamespaceSchemaLocation" ))
-                    {
-                        continue;
-                    }
-                }
-
-                String invalidAttrValue = (String) _attrs.get( s );
-
-                if (invalidAttrValue == null)
-                {
-                    emitEvent(
-                        ValidatorListener.ATTR, s, 0, s.getName(), s, 0 );
-                }
-                else
-                {
-                    emitEvent(
-                        ValidatorListener.ATTR, s, 0, s.getName(),
-                        invalidAttrValue );
-                }
-            }
-
-            emitEvent( ValidatorListener.ENDATTRS, c, 0 );
-
-            if (c.isDoc())
-            {
-                assert c.isDoc();
-
-                if (_text != null)
-                {
-                    if (_text.length() > 0)
-                        emitEvent( ValidatorListener.TEXT, c, 1, null, text() );
-                }
-                else if (c.getCch() > 0)
-                    emitEvent( ValidatorListener.TEXT, c, 1, null, c, 1 );
-            }
-            else if (c.isLeaf())
-            {
-                int cch = _text != null ? _text.length() : c.getCchValue();
-
-                if (cch > 0)
-                {
-                    if (_text != null)
-                    {
-                        emitEvent(
-                            ValidatorListener.TEXT, c, 1, null, text() );
-                    }
-                    else
-                    {
-                        emitEvent(
-                            ValidatorListener.TEXT, c, 1, null, c, 1 );
-                    }
-                }
-
-                emitEvent( ValidatorListener.END, c, c.getPosLeafEnd() );
-            }
-        }
-
-        protected void emitEvent ( int kind, Splay sLoc, int pLoc )
-            { emitEvent( kind, sLoc, pLoc, null, null, 0, null ); }
-
-        protected void emitEvent ( int kind, Splay sLoc, int pLoc, QName name )
-            { emitEvent( kind, sLoc, pLoc, name, null, 0, null ); }
-
-        protected void emitEvent (
-            int kind, Splay sLoc, int pLoc, QName name, String text )
-                { emitEvent ( kind, sLoc, pLoc, name, null, 0, text ); }
-
-        protected void emitEvent (
-            int kind, Splay sLoc, int pLoc, QName name, Splay sText, int pText )
-                { emitEvent ( kind, sLoc, pLoc, name, sText, pText, null ); }
-
-        protected void emitEvent (
-            int kind, Splay sLoc, int pLoc, QName name,
-            Splay sText, int pText, String text )
-        {
-            if (kind == ValidatorListener.TEXT && _emittedText)
-                return;
-
-            boolean hasText = text != null || sText != null;
-
-            assert
-                !hasText ||
-                    (kind == ValidatorListener.ATTR ||
-                        kind == ValidatorListener.TEXT);
-
-            assert kind != ValidatorListener.ATTR || hasText;
-            assert kind != ValidatorListener.TEXT || hasText;
-
-            assert kind != ValidatorListener.ATTR || name != null;
-
-            _name = name;
-            _sText = sText;
-            _pText = pText;
-            _eventText = text;
-            _hasText = hasText;
-            _sLoc = sLoc;
-            _pLoc = pLoc;
-
-            _vEventSink.nextEvent( kind, this );
-
-            _emittedText = kind == ValidatorListener.TEXT;
-        }
-
-        //
-        //
-        //
-
-        public XmlCursor getLocationAsCursor ( )
-        {
-            checkVersion();
-            return new Cursor( getRoot(), _sLoc, _pLoc );
-        }
-
-        public javax.xml.stream.Location getLocation()
-        {
-            return null;
-        }
-
-        public String getXsiType ( )
-            { return _xsiType == null ? null : getString( PRESERVE, null, _xsiType, 0 ); }
-
-        public String getXsiNil ( )
-            { return _xsiNil == null ? null : getString( PRESERVE, null, _xsiNil, 0 ); }
-
-        public String getXsiLoc ( )
-            { return _xsiLoc == null ? null : getString( PRESERVE, null, _xsiLoc, 0 ); }
-
-        public String getXsiNoLoc ( )
-            { return _xsiNoLoc == null ? null : getString( PRESERVE, null, _xsiNoLoc, 0 ); }
-
-        public QName getName ( ) { return _name; }
-
-        private String getString ( int wsr, String string, Splay sText, int pText )
-        {
-            setChars( wsr, string, sText, pText );
-
-            return _string == null ? new String( _buffer, _offset, _length ) : _string;
-        }
-
-        private void setChars ( int wsr, String string, Splay sText, int pText )
-        {
-            assert string != null || sText != null;
-
-            checkVersion();
-
-            Root r = getRoot();
-
-            _buffer = null;
-            _string = null;
-
-            if (string != null)
-            {
-                _string = string;
-            }
-            else if (pText == 0)
-            {
-                _buffer = r._text._buf;
-                _length = sText.getCch();
-                _offset = r._text.unObscure( r.getCp( sText ), _length );
-            }
-            else if (pText == 1 && sText.isLeaf())
-            {
-                _buffer = r._text._buf;
-                _length = sText.getCchValue();
-                _offset = r._text.unObscure( r.getCp( sText ), _length );
-            }
-            else
-            {
-                assert pText == sText.getPosAfter();
-
-                boolean moreText = false;
-
-                for ( Splay t = sText.nextNonAttrSplay() ; ; t = t.nextSplay() )
-                {
-                    if (!t.isComment() && !t.isProcinst())
-                        break;
-
-                    if (t.getCchAfter() > 0)
-                    {
-                        moreText = true;
-                        break;
-                    }
-                }
-
-                if (!moreText)
-                {
-                    _buffer = r._text._buf;
-                    _length = sText.getCchAfter();
-                    _offset = r._text.unObscure( sText.getCpForPos( r, pText ), _length );
-                }
-                else
-                {
-                    StringBuffer sb = new StringBuffer();
-
-                    int cch = sText.getCchAfter();
-
-                    int off = r._text.unObscure( sText.getCpForPos( r, pText ), cch );
-
-                    sb.append( r._text._buf, off, cch );
-
-                    for ( Splay t = sText.nextNonAttrSplay() ; ; t = t.nextSplay() )
-                    {
-                        if (!t.isComment() && !t.isProcinst())
-                            break;
-
-                        if (t.getCchAfter() > 0)
-                        {
-                            cch = t.getCchAfter();
-                            off = r._text.unObscure( t.getCpForPos( r, 1 ), cch );
-                            sb.append( r._text._buf, off, cch );
-                        }
-                    }
-
-                    _length = sb.length();
-                    _buffer = new char [ _length ];
-                    _offset = 0;
-
-                    sb.getChars( 0, _length, _buffer, 0 );
-                }
-            }
-
-            if (wsr != PRESERVE)
-            {
-                // TODO - this is quick, dirty and very inefficient
-                //        make it faster!
-
-                String str =
-                    _string == null
-                        ? _buffer == null ? "" : new String( _buffer, _offset, _length )
-                        : _string;
-                
-                StringBuffer sb = new StringBuffer();
-                int state = -1, nSpaces = 0, cch = str.length();
-
-                for ( int i = 0 ; i < cch ; i++ )
-                {
-                    char ch = str.charAt( i );
-
-                    if (ch == '\n' || ch == '\r' || ch == '\t')
-                        ch = ' ';
-
-                    if (wsr == COLLAPSE)
-                    {
-                        if (ch == ' ')
-                        {
-                            if (state == -1)
-                                continue;
-
-                            nSpaces++;
-
-                            continue;
-                        }
-
-                        if (nSpaces > 1)
-                            nSpaces = 1;
-
-                        for ( ; nSpaces > 0 ; nSpaces-- )
-                            sb.append( ' ' );
-
-                        state = 0;
-                    }
-
-                    sb.append( ch );
-                }
-
-                _string = sb.toString();
-                _buffer = null;
-            }
-        }
-
-        public String getText ( )
-        {
-            return getText( PRESERVE );
-        }
-
-        public String getText ( int wsr )
-        {
-            if (!_hasText)
-                throw new RuntimeException( "No text for this event");
-
-            return getString( wsr, _eventText, _sText, _pText );
-        }
-
-        // TODO - rather expensive to make Chars and getText and get
-        // String
-        public boolean textIsWhitespace ( )
-        {
-            String s = getText();
-
-            for ( int i = 0 ; i < s.length() ; i++ )
-            {
-                switch ( s.charAt( i ) )
-                {
-                    case ' ':
-                    case '\n':
-                    case '\r':
-                    case '\t':
-                        break;
-
-                    default :
-                        return false;
-                }
-            }
-
-            return true;
-        }
-
-        private ValidatorListener _vEventSink;
-        private Splay             _startSplay;
-        private boolean           _emittedText;
-
-        private boolean _hasText;
-        private String  _string;
-        private char[]  _buffer;
-        private int     _length;
-        private int     _offset;
-
-        private QName   _name;
-        private Splay   _xsiType;
-        private Splay   _xsiNil;
-        private Splay   _xsiLoc;
-        private Splay   _xsiNoLoc;
-        private String  _eventText;
-        private Splay   _sText;
-        private int     _pText;
-        private Splay   _sLoc;
-        private int     _pLoc;
-    }
-
-    //
-    //
-    //
-
-    static final class SaxSaver extends Saver
-    {
-        SaxSaver (
-            Root r, Splay s, int p, XmlOptions options,
-            ContentHandler contentHandler, LexicalHandler lexicalhandler )
-                throws SAXException
-        {
-            super( r, s, p, options );
-
-            _attributes = new AttributesImpl();
-            
-            _wantFragTest = true;
-            
-            _contentHandler = contentHandler;
-            _lexicalhandler = lexicalhandler;
-
-//            _contentHandler.setDocumentLocator( hhmmmm  );
-            
-            _contentHandler.startDocument();
-
-            try
-            {
-                while ( process() )
-                    ;
-            }
-            catch ( SaverSAXException e )
-            {
-                throw e._saxException;
-            }
-            
-            _contentHandler.endDocument();
-        }
-
-        private class SaverSAXException extends RuntimeException
-        {
-            SaverSAXException ( SAXException e )
-            {
-                _saxException = e;
-            }
-            
-            SAXException _saxException;
-        }
-
-        private void throwSaxException ( SAXException e )
-        {
-            throw new SaverSAXException( e );
-        }
-
-        protected void emitContainer ( Container c, QName name )
-        {
-            if (c.isBegin())
-            {
-                emitContainerHelper( c, name, null, null );
-
-                if (c.isLeaf())
-                {
-                    int cch = _text == null ? c.getCchValue() : _text.length();
-
-                    if (cch > 0)
-                    {
-                        if (_text == null)
-                            emitCharacters( c, 0, cch );
-                        else
-                            emitCharacters( _text );
-                    }
-                    
-                    emitEndElement( c.getName() );
-                }
-            }
-            else
-            {
-                assert c.isDoc();
-
-                if (name != null)
-                    emitContainerHelper( c, name, null, null );
-
-                if (_text == null)
-                    emitCharacters( c, 0, c.getCch() );
-                else
-                    emitCharacters( _text );
-            }
-        }
-
-        private void emitAttrHelper ( Splay s, String value )
-        {
-            assert s.isNormalAttr();
-            
-            String local = s.getLocal();
-            String uri = s.getUri();
-
-            _attributes.addAttribute(
-                s.getUri(), s.getLocal(),
-                getPrefixedName( s.getName() ),
-                "CDATA",
-                value == null ? s.getText( getRoot() ) : value );
-        }
-
-        private void addNamespaceAttr ( String prefix, String uri )
-        {
-            try
-            {
-                _contentHandler.startPrefixMapping( prefix, uri );
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-
-            if (prefix.length() == 0)
-                _attributes.addAttribute( "", "", "xmlns", "CDATA", uri );
-            else
-            {
-                _attributes.addAttribute(
-                    "", "", "xmlns:" + prefix, "CDATA", uri );
-            }
-        }
-        
-        private void emitNamespacesHelper ( )
-        {
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-                addNamespaceAttr( mappingPrefix(), mappingUri() );
-        }
-
-        private void emitContainerHelper (
-            Container c, QName name,
-            Splay extraAttr, StringBuffer extraAttrText )
-        {
-            assert name != null;
-            
-            _attributes.clear();
-
-            if (_saveNamespacesFirst)
-                emitNamespacesHelper();
-
-            for ( Iterator i = _attrs.keySet().iterator() ; i.hasNext() ; )
-            {
-                Splay s = (Splay) i.next();
-                emitAttrHelper( s, (String) _attrs.get( s ) );
-            }
-
-            if (extraAttr != null)
-            {
-                emitAttrHelper(
-                    extraAttr,
-                    extraAttrText == null ? null : extraAttrText.toString() );
-            }
-
-            if (!_saveNamespacesFirst)
-                emitNamespacesHelper();
-            
-            emitElement( name, getPrefixedName( name ) );
-        }
-
-        private void emitCharacters ( char[] buf, int off, int cch )
-        {
-            try
-            {
-                _contentHandler.characters( buf, off, cch );
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-        }
-        
-        private void emitCharacters ( Splay s, int p, int cch )
-        {
-            emitCharacters( s.getCpForPos( getRoot(), p ), cch );
-        }
-        
-        private void emitCharacters ( int cp, int cch )
-        {
-            if (cch == 0)
-                return;
-
-            emitCharacters(
-                getRoot()._text._buf, getRoot()._text.unObscure( cp, cch ),
-                cch );
-        }
-        
-        private void emitCharacters ( StringBuffer sb )
-        {
-            if (sb.length() == 0)
-                return;
-            
-            String text = sb.toString(); // Inefficient, use a shared char[]
-            
-            emitCharacters( text.toCharArray(), 0, text.length() );
-        }
-        
-        private void emitEndElement ( QName name )
-        {
-            try
-            {
-                _contentHandler.endElement(
-                    name.getNamespaceURI(), name.getLocalPart(),
-                    getPrefixedName( name ) );
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-            
-            for ( iterateMappings() ; hasMapping() ; nextMapping() )
-            {
-                try
-                {
-                    _contentHandler.endPrefixMapping( mappingPrefix() );
-                }
-                catch ( SAXException e )
-                {
-                    throwSaxException( e );
-                }
-            }
-        }
-        
-        private void endNamespaces ( )
-        {
-            try
-            {
-                for ( int i = 0 ; i < _attributes.getLength() ; i ++ )
-                {
-                    String qn = _attributes.getQName( i );
-                    
-                    if (!qn.startsWith( "xmlns" ))
-                        continue;
-
-                    int j = qn.indexOf( ':' );
-
-                    if (j >= 0)
-                    {
-                        _contentHandler.endPrefixMapping(
-                            qn.substring( j + 1 ) );
-                    }
-                    else
-                        _contentHandler.endPrefixMapping( "" );
-                }
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-        }
-                
-        private String getPrefixedName ( QName name )
-        {
-            String ns = name.getNamespaceURI();
-            String lp = name.getLocalPart();
-
-            if (ns.length() == 0)
-                return lp;
-
-            String prefix = getUriMapping( ns );
-
-            if (prefix.length() == 0)
-                return lp;
-
-            return prefix + ":" + lp;
-        }
-
-        private void emitElement ( QName name, String prefixedName )
-        {
-            try
-            {
-                _contentHandler.startElement(
-                    name.getNamespaceURI(), name.getLocalPart(),
-                    getPrefixedName( name ), _attributes );
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-        }
-
-        protected void emitEnd ( Splay s, QName name )
-        {
-            if (name != null)
-                emitEndElement( name );
-        }
-
-        protected void emitTextAfter ( Splay s, int p, int cch )
-        {
-            if (_text == null)
-                emitCharacters( s, p, cch );
-            else
-                emitCharacters( _text );
-        }
-
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID )
-        {
-            if (_lexicalhandler != null)
-            {
-                try
-                {
-                    _lexicalhandler.startDTD( doctypeName, publicID, systemID );
-                    _lexicalhandler.endDTD();
-                }
-                catch ( SAXException e )
-                {
-                    throwSaxException( e );
-                }
-            }
-        }
-        
-        protected void emitComment ( Splay s )
-        {
-            if (_lexicalhandler != null)
-            {
-                int cp = getRoot().getCp( s );
-                int cch = s.getCchValue();
-
-                try
-                {
-                    _lexicalhandler.comment(
-                        getRoot()._text._buf,
-                        getRoot()._text.unObscure( cp, cch ),
-                        cch );
-                }
-                catch ( SAXException e )
-                {
-                    throwSaxException( e );
-                }
-            }
-        }
-
-        protected void emitProcinst ( Splay s )
-        {
-            try
-            {
-                _contentHandler.processingInstruction(
-                    s.getLocal(), s.getText( getRoot() ) );
-            }
-            catch ( SAXException e )
-            {
-                throwSaxException( e );
-            }
-        }
-
-        protected void emitTextFragment ( Splay s, int p, int cch )
-        {
-            emitContainerHelper( null, _fragment, null, null );
-            
-            if (_text != null)
-            {
-                if (_text.length() > 0)
-                    emitCharacters( _text );
-            }
-            else if (s != null && cch > 0)
-                emitCharacters( s, p, cch );
-
-            emitEndElement( _fragment );
-        }
-
-        protected void emitXmlnsFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null );
-            emitEndElement( _fragment );
-        }
-
-        protected void emitAttrFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, s, _text );
-            emitEndElement( _fragment );
-        }
-
-        protected void emitCommentFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null );
-            emitComment( s );
-            emitEndElement( _fragment );
-        }
-
-        protected void emitProcinstFragment ( Splay s )
-        {
-            emitContainerHelper( null, _fragment, null, null );
-            emitProcinst( s );
-            emitEndElement( _fragment );
-        }
-        
-        private AttributesImpl _attributes;
-
-        private SAXException _saxException;
-        
-        private ContentHandler _contentHandler;
-        private LexicalHandler _lexicalhandler;
-    }
-
-            
-    //
-    //
-    //
-
-    private static ThreadLocal _threadDocumentBuilderFactory =
-        new ThreadLocal()
-        {
-            protected Object initialValue()
-            {
-                try
-                {
-                    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
-                }
-                catch ( ParserConfigurationException e )
-                {
-                    throw new RuntimeException( e.getMessage(), e );
-                }
-            }
-        };
-
-    static final class DomSaver extends Saver
-    {
-        DomSaver ( Root r, Splay s, int p, boolean createDoc, XmlOptions options )
-        {
-            super( r, s, p, options );
-            _createDoc = createDoc;
-        }
-
-        Node exportDom ( )
-            throws Exception
-        {
-            // TODO - add an options which specifies a Document with which
-            // to create the fragment
-
-            _doc = ((DocumentBuilder) _threadDocumentBuilderFactory.get()).newDocument();
-
-            Node result;
-
-            if (_createDoc)
-            {
-                result = _currentNode = _doc;
-            }
-            else
-            {
-                DocumentFragment frag = _doc.createDocumentFragment();
-                result = _currentNode = frag;
-            }
-
-            while ( process() )
-                ;
-
-            return result;
-        }
-
-        protected void emitContainer ( Container c, QName name )
-        {
-            Root r = getRoot();
-
-            if (c.isDoc())
-            {
-                if (hasMappings())
-                {
-                    throw new IllegalStateException(
-                        "Namespace attribute not associated with an element" );
-                }
-
-                for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                {
-                    if (s.isNormalAttr())
-                    {
-                        throw new IllegalStateException(
-                            "Attribute not associated with an element" );
-                    }
-                }
-
-                String text = null;
-
-                if (_text != null)
-                {
-                    if (_text.length() > 0)
-                        text = text();
-                }
-                else if (c.getCch() > 0)
-                    text = r._text.fetch( 0, c.getCch() );
-
-                if (text != null && _currentNode != _doc)
-                {
-                    _currentNode.insertBefore(
-                        _doc.createTextNode( text ), null );
-                }
-            }
-            else
-            {
-                assert c.isBegin();
-
-                String qname = c.getLocal();
-
-                if (c.getUri().length() > 0)
-                {
-                    // BUGBUG -- exporting a dom starting at some
-                    // element with inner turned on has a bug, where
-                    // the generic saver trys to save out a fragment,
-                    // but this code trys to save out the real element
-                    // (and thus does not obey the inner contract).
-                    // Because of this, the uri of the element may not
-                    // be ensured.  Here I ensure it again....
-                    
-                    ensureMapping( c.getUri(), null, false, false );
-                          
-                    String prefix = getUriMapping( c.getUri() );
-
-                    if (prefix.length() > 0)
-                        qname = prefix + ":" + qname;
-                }
-
-                Element e = _doc.createElementNS( c.getUri(), qname );
-
-                _currentNode.insertBefore( e, null );
-
-                for ( iterateMappings() ; hasMapping() ; nextMapping() )
-                {
-                    String prefix = mappingPrefix();
-
-                    if (prefix.length() == 0)
-                        qname = "xmlns";
-                    else
-                        qname = "xmlns:" + prefix;
-
-                    e.setAttributeNS( Splay._xmlnsUri, qname, mappingUri() );
-                }
-
-                for ( Iterator i = _attrs.keySet().iterator() ; i.hasNext() ; )
-                {
-                    Splay s = (Splay) i.next();
-                    
-                    qname = s.getLocal();
-
-                    if (s.getUri().length() > 0)
-                    {
-                        String prefix = getUriMapping( s.getUri() );
-
-                        if (prefix.length() > 0)
-                            qname = prefix + ":" + qname;
-                    }
-
-                    String invalidAttrValue = (String) _attrs.get( s );
-
-                    e.setAttributeNS(
-                        s.getUri(), qname,
-                        invalidAttrValue == null
-                            ? s.getText( r )
-                            : invalidAttrValue );
-                }
-
-                if (c.isLeaf())
-                {
-                    String text = null;
-
-                    if (_text != null)
-                    {
-                        if (_text.length() > 0)
-                            text = text();
-                    }
-                    else if (c.getCchValue() > 0)
-                    {
-                        text =
-                            r._text.fetch(
-                                c.getCpForPos( r, 1 ), c.getCchValue() );
-                    }
-
-                    if (text != null)
-                        e.insertBefore( _doc.createTextNode( text ), null );
-                }
-                else
-                {
-                    _currentNode = e;
-                }
-            }
-        }
-
-        protected void emitEnd ( Splay s, QName name )
-        {
-            _currentNode = _currentNode.getParentNode();
-        }
-
-        protected void emitTextAfter ( Splay s, int p, int cch )
-        {
-            assert cch > 0;
-
-            Root r = getRoot();
-
-            String text = null;
-
-            if (_text != null)
-            {
-                if (_text.length() > 0)
-                    text = text();
-            }
-            else if (cch > 0)
-                text = r._text.fetch( s.getCpForPos( r, p ), cch );
-
-            if (_currentNode != _doc)
-                _currentNode.insertBefore( _doc.createTextNode( text ), null );
-        }
-
-        protected void emitDocType(
-            String doctypeName, String publicID, String systemID )
-        {
-        }
-                
-        protected void emitComment ( Splay s )
-        {
-            Root r = getRoot();
-
-            _currentNode.insertBefore(
-                _doc.createComment(
-                    r._text.fetch(
-                        s.getCpForPos( r, 0 ), s.getCchValue() ) ), null );
-        }
-
-        protected void emitProcinst ( Splay s )
-        {
-            Root r = getRoot();
-
-            _currentNode.insertBefore(
-                _doc.createProcessingInstruction(
-                    s.getLocal(),
-                    r._text.fetch(
-                        s.getCpForPos( r, 0 ), s.getCchValue() ) ), null );
-        }
-
-        protected void emitXmlnsFragment ( Splay s )
-        {
-            throw new IllegalStateException(
-                "Cannot create a node for a namespace attribute" );
-        }
-
-        protected void emitAttrFragment ( Splay s )
-        {
-            throw new IllegalStateException(
-                "Cannot create a node for a attribute" );
-        }
-
-        protected void emitTextFragment ( Splay s, int p, int cch )
-        {
-            // BUGBUG - there could be namespaces pushed for this text, but not
-            // sure how to represent them here....  I should really put the
-            // fragment logic in the base saver and have the base saver
-            // synthesize well formed output...
-            
-            if (s != null)
-            {
-                Root r = getRoot();
-
-                _currentNode.insertBefore(
-                    _doc.createTextNode(
-                    _text != null
-                        ? _text.toString()
-                        : s != null
-                            ? r._text.fetch( s.getCpForPos( r, p ), cch )
-                                : "" ),
-                    null );
-            }
-        }
-
-        protected void emitCommentFragment ( Splay s )
-        {
-            Root r = getRoot();
-
-            _currentNode.insertBefore(
-                _doc.createComment(
-                    r._text.fetch(
-                        s.getCpForPos( r, 0 ), s.getCchValue() ) ), null );
-        }
-
-        protected void emitProcinstFragment ( Splay s )
-        {
-            Root r = getRoot();
-
-            _currentNode.insertBefore(
-                _doc.createProcessingInstruction(
-                    s.getLocal(),
-                    r._text.fetch(
-                        s.getCpForPos( r, 0 ), s.getCchValue() ) ), null );
-        }
-
-        Document _doc;
-        Node     _currentNode;
-        boolean  _createDoc;
-    }
-
-    //
-    //
-    //
-
-    protected StringBuffer  _text;
-    protected StringBuffer  _sb;
-    protected boolean       _skipContainerFinish;
-    protected LinkedHashMap _attrs;
-    
-    private HashSet _attrNames;
-
-    private final boolean _inner;
-    private final Root    _root;
-    private final Splay   _top;
-    private final long    _version;
-
-    protected boolean _wantDupAttrs;
-    protected boolean _wantFragTest;
-    protected boolean _needsFrag;
-    protected QName   _fragment;
-    protected QName   _docElem;
-    
-    protected QName _synthElem;
-
-    protected boolean _saveNamespacesFirst;
-    protected boolean _useDefaultNamespace;
-
-    private boolean _prettyPrint;
-    private int     _prettyIndent;
-    private int     _prettyOffset;
-
-    private Splay   _splay;
-    private int     _pos;
-    private boolean _preProcess;
-    private boolean _postProcess;
-    private boolean _postPop;
-    private Splay   _endSplay;
-
-    private ArrayList _namespaceStack;
-    private int       _currentMapping;
-    private HashMap   _uriMap;
-    private HashMap   _prefixMap;
-    private boolean   _firstPush;
-    private String    _initialDefaultUri;
-    
-    private HashMap _preComputedNamespaces;
-    private String  _filterProcinst;
-    private Map     _suggestedPrefixes;
-
-    protected String  _newLine;
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Splay.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Splay.java
deleted file mode 100644
index 33d0e92..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Splay.java
+++ /dev/null
@@ -1,4211 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.impl.values.TypeStore;
-import org.apache.xmlbeans.impl.values.TypeStoreUser;
-import org.apache.xmlbeans.impl.common.QNameHelper;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-import org.apache.xmlbeans.XmlCursor.XmlMark;
-import org.apache.xmlbeans.XmlCursor;
-import java.lang.ref.Reference;
-import java.lang.ref.WeakReference;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Iterator;
-import javax.xml.namespace.QName;
-
-public abstract class Splay extends Goobers
-{
-    //
-    // Can't change the kind of a base token
-    //
-
-    Splay ( int kind, boolean is )
-    {
-        _bits = kind;
-
-        if (is)
-            _bits += 0x8;
-    }
-
-    //
-    // Splay kinds
-    //
-
-    static final int DOC      =  0; // DOC must be 0
-    static final int BEGIN    =  1; // BEGIN must be 1
-    static final int ATTR     =  2;
-    static final int COMMENT  =  3;
-    static final int PROCINST =  4;
-    static final int ROOT     =  5; // ROOT must be second to last
-    static final int END      =  6; // END must be last
-
-    //
-    //
-    //
-
-    final int getKind ( ) { return _bits & 0x7; }
-
-    final boolean isDoc       ( ) { return getKind() == DOC;      }
-    final boolean isRoot      ( ) { return getKind() == ROOT;     }
-    final boolean isBegin     ( ) { return getKind() == BEGIN;    }
-    final boolean isEnd       ( ) { return getKind() == END;      }
-    final boolean isAttr      ( ) { return getKind() == ATTR;     }
-    final boolean isComment   ( ) { return getKind() == COMMENT;  }
-    final boolean isProcinst  ( ) { return getKind() == PROCINST; }
-    final boolean isContainer ( ) { return getKind() <= BEGIN;    }
-    final boolean isFinish    ( ) { return getKind() >= ROOT;     }
-
-    final int getCch           ( ) { return _cch;              }
-
-    final int getCdocBegin     ( ) { return 1;                 }
-    final int getCchLeft       ( ) { return _cchLeft;          }
-    final int getCdocBeginLeft ( ) { return _bits >> 5;        }
-    final int getCchAfter      ( ) { return _cchAfter;         }
-    final int getCchValue      ( ) { return _cch - _cchAfter;  }
-
-    QName  getName  ( ) { throw new IllegalStateException(); }
-    String getUri   ( ) { throw new IllegalStateException(); }
-    String getLocal ( ) { throw new IllegalStateException(); }
-
-    // Fourth bit in _bits has several meanings, depending on splay kind
-
-    final boolean isNormalAttr ( ) { return (_bits & 0xF) == (0x0 + ATTR); }
-    final boolean isXmlns      ( ) { return (_bits & 0xF) == (0x8 + ATTR); }
-    final boolean isLeaf       ( ) { return (_bits & 0xF) == (0x8 + BEGIN); }
-    final boolean isFragment   ( ) { return (_bits & 0xF) == (0x8 + COMMENT); }
-    final boolean isXsiAttr    ( ) { return isNormalAttr() && getUri().equals( _xsi ); }
-    final boolean isXsiNil     ( ) { return isNormalAttr() && getName().equals(_xsiNil ); }
-    final boolean isXsiType    ( ) { return isNormalAttr() && getName().equals( _xsiType ); }
-    final boolean isTypeable   ( ) { return isContainer() || isNormalAttr(); }
-
-    final void toggleIsLeaf ( )
-    {
-        assert isBegin();
-        _bits ^= 0x8;
-    }
-
-    final boolean isValid ( )
-    {
-        assert ((_bits & 0x10) == 0) || isTypeable();
-        return (_bits & 0x10) == 0;
-    }
-
-    final boolean isInvalid ( )
-    {
-        assert ((_bits & 0x10) == 0) || isTypeable();
-        return (_bits & 0x10) != 0;
-    }
-
-    final void toggleIsInvalid ( )
-    {
-        assert isTypeable();
-        _bits ^= 0x10;
-    }
-
-    final void adjustCch ( int delta )
-    {
-        _cch += delta;
-        assert _cch >= 0;
-    }
-
-    final void adjustCchAfter ( int delta )
-    {
-        _cchAfter += delta;
-        assert _cchAfter >= 0;
-    }
-
-    final void adjustCchLeft ( int delta )
-    {
-        _cchLeft += delta;
-        assert _cchLeft >= 0;
-    }
-
-    final void adjustCdocBeginLeft ( int d )
-    {
-        _bits += d * 32;
-        assert getCdocBeginLeft() >= 0;
-    }
-
-    final Splay getFinishSplay ( )
-    {
-        assert isContainer();
-        return isLeaf() ? this : ((Container) this).getFinish();
-    }
-
-    final int getPosAfter ( )
-    {
-        return getEndPos() - getCchAfter();
-    }
-
-    final int getPosLeafEnd ( )
-    {
-        assert isLeaf();
-        return 1 + getCchValue();
-    }
-
-    final int getCpForPos ( Root r, int p )
-    {
-        int cp = r.getCp( this );
-
-        if (p == 0)
-            return cp;
-
-        return
-            isLeaf()
-                ? p - (p <= getPosLeafEnd() ? 1 : 2) + cp
-                : p - 1 + getCchValue() + cp;
-    }
-
-    final int getPostCch ( int p )
-    {
-        assert p >= 0 && p <= getEndPos();
-
-        return
-            isLeaf() && p <= getPosLeafEnd()
-                ? getPosLeafEnd() - p
-                : getEndPos() - p;
-    }
-
-    static final String _xsi =
-        "http://www.w3.org/2001/XMLSchema-instance";
-
-    static final String _schema =
-        "http://www.w3.org/2001/XMLSchema";
-
-    static final String _openFragUri =
-        "http://www.openuri.org/fragment";
-
-    static final String _xml1998Uri =
-        "http://www.w3.org/XML/1998/namespace";
-
-    static final String _xmlnsUri =
-        "http://www.w3.org/2000/xmlns/";
-
-    static final QName _xsiNil  = new QName( _xsi, "nil" );
-    static final QName _xsiType = new QName( _xsi, "type" );
-    static final QName _openuriFragment = new QName( _openFragUri, "fragment" );
-    static final QName _xmlFragment = new QName( "", "xml-fragment" );
-
-    static final boolean isXmlFragment ( QName name )
-    {
-        return _openuriFragment.equals( name ) || _xmlFragment.equals( name );
-    }
-
-    static boolean beginsWithXml ( String name )
-    {
-        if (name.length() < 3)
-            return false;
-
-        char ch;
-
-        if (((ch = name.charAt( 0 )) == 'x' || ch == 'X') &&
-                ((ch = name.charAt( 1 )) == 'm' || ch == 'M') &&
-                ((ch = name.charAt( 2 )) == 'l' || ch == 'L'))
-        {
-            return true;
-        }
-
-        return false;
-    }
-
-    /**
-     * This returns the pos of the very end of the splay.  This is not
-     * generally a valid position to exist because in these cases, I
-     * force the position to be 0 on the next splay.
-     */
-
-    final int getEndPos ( )
-    {
-        return getMaxPos() + 1;
-    }
-
-    /**
-     * This returns the largest pos possible without actually being at
-     * the end of the splay.
-     */
-
-    final int getMaxPos ( )
-    {
-        switch ( getKind() )
-        {
-        case ATTR     :
-        case ROOT     : return 0;
-        case BEGIN    : return (isLeaf() ? 1 : 0) + getCch();
-        case DOC      :
-        case COMMENT  :
-        case PROCINST :
-        case END      : return getCchAfter();
-
-        default :
-            assert false: "Unexpected splay kind " +getKind();
-            return 0;
-        }
-    }
-
-    static final boolean isWhiteSpace ( char ch )
-    {
-        switch ( ch )
-        {
-            case ' ':
-            case '\t':
-            case '\n':
-            case '\r':
-                return true;
-            default:
-                return false;
-        }
-    }
-
-    static final boolean isWhiteSpace ( String s )
-    {
-        int l = s.length();
-
-        while ( l-- > 0)
-            if (!isWhiteSpace( s.charAt( l )))
-                  return false;
-
-        return true;
-    }
-
-    static final boolean isWhiteSpace ( StringBuffer sb )
-    {
-        int l = sb.length();
-
-        while ( l-- > 0)
-            if (!isWhiteSpace( sb.charAt( l )))
-                  return false;
-
-        return true;
-    }
-
-    final boolean isAfterWhiteSpace ( Root r )
-    {
-        int cchAfter = getCchAfter();
-
-        if (cchAfter == 0)
-            return true;
-
-        int off =
-            r._text.unObscure(
-                r.getCp( this ) + getCch() - cchAfter, cchAfter );
-
-        while ( cchAfter-- > 0 )
-            if (!isWhiteSpace( r._text._buf[ off + cchAfter ] ))
-                return false;
-
-        return true;
-    }
-
-    final void setName ( Root r, QName newName )
-    {
-        assert isBegin() || isAttr() || isProcinst();
-
-        // BUGBUG - deal with xsi:nil here too
-
-        QName oldName = getName();
-
-        if (!newName.equals( oldName ))
-        {
-            r.startChange();
-
-            ((QNameSplay) this).changeName( newName );
-
-            if (!isProcinst() && !isXmlns())
-            {
-                assert isAttr() || isBegin();
-
-                if (isBegin())
-                    disconnectTypes( r );
-
-                if (_xsiType.equals( oldName ) || _xsiType.equals( newName ))
-                    getContainer().disconnectTypes( r );
-                else if (_xsiNil.equals( oldName ) || _xsiNil.equals( newName ))
-                    getContainer().invalidateNil();
-                else
-                    disconnectTypes( r );
-            }
-
-            r.invalidateVersion();
-        }
-    }
-
-    /**
-     * If this is an invalid leaf, then refresh it's value and return the
-     * number of characters added.
-     */
-
-    final int ensureContentValid ( )
-    {
-        assert isContainer();
-
-        if (isValid())
-            return 0;
-
-        Type t = peekType();
-
-        return t.validateContent( this, t );
-    }
-
-    /**
-      * Ensure that the value (ATTR, COMMENT and PROCINST) is valid.  Really
-      * only does anything for attrs.
-      */
-
-    final void ensureValueValid ( )
-    {
-        assert isNormalAttr();
-
-        if (isInvalid())
-        {
-            Type t = peekType();
-            t.validateValue( this, t );
-        }
-    }
-
-    /**
-     * Given a position in this splay, return the TokenType associated with
-     * the content to the left of the position.
-     */
-
-    final TokenType getTokenType ( int p )
-    {
-        assert p >= 0 && p <= getMaxPos();
-
-        // No need to revalidate text value here because there can be no pos
-        // which could exists when this splay is invalid which could be on
-        // text.
-
-        // First, see if we're in/at the text after the splay
-
-        if (p >= getPosAfter())
-            return TokenType.TEXT;
-
-        switch ( getKind() )
-        {
-        case ATTR :
-            return isXmlns() ? TokenType.NAMESPACE : TokenType.ATTR;
-
-        case BEGIN :
-            if (p == 0)
-                return TokenType.START;
-
-            assert isLeaf();
-
-            return p == getPosLeafEnd() ? TokenType.END : TokenType.TEXT;
-
-        case ROOT     : return TokenType.ENDDOC;
-        case DOC      : return TokenType.STARTDOC;
-        case COMMENT  : return TokenType.COMMENT;
-        case PROCINST : return TokenType.PROCINST;
-        case END      : return TokenType.END;
-
-        default :
-            assert false: "Unexpected splay kind " + getKind();
-            return null;
-        }
-    }
-
-    /**
-     * Cause this splay to become a leaf.  This does not logically
-     * alter the document, but does alter the physical splay tree which
-     * demands that I issue a change notice.
-     */
-
-    final void foliate ( Root r )
-    {
-        assert isBegin();
-        assert !isLeaf();
-
-        Begin b = (Begin) this;
-        Splay e = b.getFinish();
-
-        assert b.nextNonAttrSplay() == e;
-        assert b._end == e;
-        assert e.isEnd();
-        assert !b.isLeaf();
-
-        // Caller must initiate change
-        assert r.validateChangeStarted();
-
-        int cchBefore = getCch();
-
-        e.saveTextAfter( r );
-
-        b._end = null;
-        b.toggleIsLeaf();
-
-        b.adjustCchAfter( - cchBefore );
-
-        // Move the goobers from the end to the begin
-
-        Goober nextGoober;
-        for ( Goober g = e.firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = e.nextGoober( g );
-
-            assert g.getPos() == 0;
-            g.set( this, cchBefore + 1 );
-        }
-
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = nextGoober( g );
-
-            int gp = g.getPos();
-
-            if (gp > cchBefore + 1)
-                g.set( this, gp + 1 );
-        }
-
-        e.removeSplay( r );
-    }
-
-    final void defoliate ( Root r )
-    {
-        assert isLeaf();
-
-        // Caller must initiate change
-        assert r.validateChangeStarted();
-
-        // Caller must ensure leaf is valid
-        assert isValid();
-
-        Begin b = (Begin) this;
-
-        int posLeafEnd = getPosLeafEnd();
-        int cchAfter = getCchAfter();
-        int cchValue = getCchValue();
-
-        Splay a = this;
-
-        int cchAttr = 0;
-
-        for ( Splay t = nextSplay() ; t.isAttr() ; t = t.nextSplay() )
-        {
-            cchAttr += t.getCch();
-            a = t;
-        }
-
-        r.insertSplay( b._end = new End( (Begin) this ), a );
-
-        b.toggleIsLeaf();
-
-        b.adjustCchAfter( cchValue - cchAfter );
-        b._end.adjustCchAfter( cchAfter );
-
-        r.updateCch( b, - cchAfter );
-        r.updateCch( b._end, cchAfter );
-
-        if (cchAttr > 0)
-        {
-            int cp = r.getCp( b );
-
-            r._text.move(
-                cp + cchValue + cchAfter + cchAttr,
-                r._text, cp + cchValue, cchAfter );
-        }
-
-        Goober nextGoober;
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = nextGoober( g );
-
-            int gp = g.getPos();
-
-            if (gp >= posLeafEnd)
-                g.set( b._end, gp - posLeafEnd );
-        }
-
-        assert validate();
-    }
-
-    /**
-     * Remove the text after *this* splay.
-     * No validation is done, caller must do that
-     */
-
-    private final void removeTextAfter ( Root r )
-    {
-        assert r != null;
-        assert Root.dv > 0 || getRootSlow() == r;
-        assert !isRoot() && !isAttr();
-
-        // Caller must initiate change
-        assert r.validateChangeStarted();
-
-        int cchTextAfter = getCchAfter();
-
-        if (cchTextAfter == 0)
-            return;
-
-        int cpTextAfter = r.getCp( this ) + getCch() - cchTextAfter;
-        int posTextAfter = getPosAfter();
-
-        adjustCchAfter( - cchTextAfter );
-
-        r.updateCch( this, - cchTextAfter );
-
-        r._text.remove( cpTextAfter, cchTextAfter );
-
-        Goober nextGoober;
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = nextGoober( g );
-
-            int k = g.getKind();
-
-            if (g.getPos() >= posTextAfter)
-            {
-                if (k == ANNOTATION)
-                    g.disconnect( r );
-                else if (k == CURSOR)
-                    g.set( nextSplay(), 0 );
-            }
-        }
-
-        assert validate();
-    }
-
-    /**
-     * Transfers the text after this "node" to be after the "node" before it.
-     * No type invalidation is done here.  No checking for isInvalid is needed
-     * either.  No validation is done, caller must do that.
-     */
-
-    private final int saveTextAfter ( Root r )
-    {
-        assert r != null;
-        assert Root.dv > 0 || getRootSlow() == r;
-
-        // Caller must initiate change
-        assert r.validateChangeStarted();
-
-        Splay endText = this;
-
-        if (isBegin() && !isLeaf())
-            endText = getFinishSplay();
-
-        int cchEndText = endText.getCchAfter();
-
-        if (cchEndText == 0)
-            return 0;
-
-        assert !isRoot() && !isDoc() && !isAttr();
-
-        Splay getsText = prevNonAttrSplay();
-        int getsTextLastPos = getsText.getEndPos();
-
-        int cpGetsText = r.getCp( getsText ) + getsText.getCch();
-        int cpEndText = r.getCp( endText ) + endText.getCch() - cchEndText;
-
-        getsText.adjustCchAfter( cchEndText );
-        endText.adjustCchAfter( - cchEndText );
-
-        r.updateCch( getsText, cchEndText );
-        r.updateCch( endText, - cchEndText );
-
-        assert cpGetsText <= cpEndText;
-
-        if (cpGetsText != cpEndText)
-        {
-            r._text.insert( cpGetsText, r._text, cpEndText, cchEndText );
-            r._text.remove( cpEndText + cchEndText, cchEndText );
-        }
-
-        int posEndText = endText.getPosAfter();
-
-        Goober nextGoober;
-        for ( Goober g = endText.firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = endText.nextGoober( g );
-
-            int gp = g.getPos();
-
-            if (gp >= posEndText)
-                g.set( getsText, getsTextLastPos + gp - posEndText );
-        }
-
-        assert validate();
-
-        return cchEndText;
-    }
-
-    /**
-     * Moves this splay, all of its content and attributes.  If no destination
-     * is provided, then only a removal is performed.
-     */
-
-    final void move (
-        Root r, Root rDst, Splay sDst, int pDst, boolean invalidate )
-    {
-        assert r != null;
-        assert Root.dv > 0 || getRootSlow() == r;
-        assert !isDoc() && !isFinish();
-
-        assert rDst == null || (r != rDst || !sDst.between( r, pDst, this ) );
-        assert rDst == null || sDst != null;
-        assert rDst == null || Root.dv > 0 || sDst.getRootSlow() == rDst;
-        assert rDst == null || pDst >= 0 && pDst < sDst.getEndPos();
-
-        assert
-            rDst == null ||
-                (true || checkInsertionValidity( 0, sDst, pDst, false ));
-
-        r.startChange();
-
-        if (rDst != null)
-            rDst.startChange();
-
-        // The text after the logical entity to move/remove is not part of
-        // this operation.  Transfer it to a previous splay.  No need to
-        // fret about invalidity here, because it's text *after*.
-
-        int cchSaved = saveTextAfter( r );
-
-        // If any text was saved, I need to move the cursors at the beginning
-        // of this splay to where the text was saved.  I do this because this
-        // content is going away and cursors need to collapse to the right
-        // location which, in this case, is before the after text.
-        //
-        // No need to deal with goobers other than cursor because annotations
-        // and types will be dealt with appropriately later.
-        //
-        // Also, update the target if it was in the moved text!
-        //
-        // TODO - if moving xsi:type or xsi:nil must do stuff
-
-        if (cchSaved > 0)
-        {
-            Splay gotText = prevNonAttrSplay();
-
-            Goober nextGoober;
-            for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-            {
-                nextGoober = nextGoober( g );
-
-                if (g.getKind() == CURSOR)
-                    g.set( gotText, gotText.getEndPos() - cchSaved );
-            }
-
-            if (rDst != null)
-            {
-                Splay hadText =
-                    isBegin() && !isLeaf() ? getFinishSplay() : this;
-
-                if (sDst == hadText && pDst >= hadText.getEndPos())
-                {
-                    sDst = gotText;
-
-                    pDst =
-                        gotText.getEndPos() -
-                            (cchSaved - (pDst - hadText.getEndPos()));
-                }
-            }
-        }
-
-        assert sDst != this;
-
-        // Compute the splay, up to which, I will remove
-
-        Splay last =
-            isBegin() ? getFinishSplay().nextNonAttrSplay() : nextSplay();
-
-        //
-        //
-        //
-
-        Container container = getContainer();
-
-        int cp = r.getCp( this );
-        int cch = 0;
-
-        for ( Splay s = this ; s != last ; s = s.nextSplay() )
-        {
-            // I'm going to blow away the Types here, make sure I have
-            // all the text.
-
-            if (s.isInvalid())
-            {
-                assert s.isLeaf() || s.isNormalAttr();
-
-                if (s.isNormalAttr())
-                    s.ensureValueValid();
-                else if (s.isLeaf())
-                    s.ensureContentValid();
-            }
-
-            cch += s.getCch();
-
-            Goober nextGoober;
-            for ( Goober g = s.firstGoober() ; g != null ; g = nextGoober )
-            {
-                nextGoober = s.nextGoober( g );
-
-                switch ( g.getKind() )
-                {
-                case TYPE :
-                    g.disconnect( r );
-                    break;
-
-                case ANNOTATION :
-                    if (rDst == null)
-                        g.disconnect( r );
-                    else
-                        g.set( rDst ); // Potential move to a new tree
-                    break;
-
-                case CURSOR :
-                    g.set( last, 0 );
-                    break;
-                }
-            }
-        }
-
-        // Remove the splays and the text.  Unfortunately, I need to remove
-        // the text here.  I can't think of a way to keep the tree valid and
-        // have the text moved in one copy .... Can you?
-
-        Splay sRemoved = r.removeSplays( this, last );
-
-        Splay first =
-            sRemoved._leftSplay == null ? sRemoved : sRemoved._leftSplay;
-
-        if (first.isBegin())
-            ((Begin) first)._container = null;
-
-        char[] textRemoved = rDst == null || cch == 0 ? null : new char [ cch ];
-
-        r._text.remove( cp, cch, textRemoved, 0 );
-
-        r.invalidateVersion();
-
-        if (rDst != null)
-        {
-            sDst.insert(
-                rDst, pDst, sRemoved, textRemoved, 0, cch, invalidate );
-        }
-
-        if (invalidate)
-        {
-            Type parentType = container.peekType();
-
-            if (parentType != null)
-            {
-                if (isBegin())
-                    parentType.invalidateElement( container, last );
-                else if (isAttr() && isXsiNil())
-                    parentType.invalidateNil();
-            }
-        }
-
-        assert r.validate();
-        assert rDst == null || rDst.validate();
-    }
-
-    /**
-     * Removes this splay, all of its content and attributes.
-     */
-
-    final void remove ( Root r, boolean invalidate )
-    {
-        move( r, null, null, 0, invalidate );
-    }
-
-    private final void complain ( String msg )
-    {
-        throw new IllegalArgumentException( msg );
-    }
-
-    /**
-     * Check to if the insertion of a "node" into the destination is allowed.
-     * This assumes that the source is a single piece of contents (like a node).
-     * Fragments are strings of content, not contained, and must not be
-     * validated by this function.
-     *
-     * Returns true if the src to copy is characters (potentially 0 chars too)
-     */
-
-    final boolean checkInsertionValidity (
-        int p, Splay sDst, int pDst, boolean endOk )
-    {
-        assert p >= 0;
-        assert p < getEndPos();
-        assert pDst >= 0;
-        assert pDst < sDst.getEndPos();
-
-        boolean srcChars = false;
-
-        if (p > 0)
-        {
-            if (!endOk && isLeaf() && p == getPosLeafEnd())
-                complain( "Can't move/copy/insert an end token." );
-
-            srcChars = true;
-
-            // valid text target will be tested for further down
-        }
-        else
-        {
-            if (isDoc())
-                complain( "Can't move/copy/insert a whole document." );
-
-            if (isFinish())
-            {
-                if (!endOk)
-                    complain( "Can't move/copy/insert an end token." );
-
-                srcChars = true;
-            }
-            else if (isFragment())
-                srcChars = true;
-        }
-
-        if (pDst == 0 && sDst.isDoc())
-            complain( "Can't insert before the start of the document." );
-
-        if (p > 0 && sDst.isAttr())
-            complain( "Can't insert text before an attribute." );
-
-        if (isAttr() && pDst > 0 && (!sDst.isContainer() || pDst != 1))
-            complain( "Can't insert an attribute in text." );
-
-        if (p <= 0 && pDst <= 0)
-        {
-            if (isAttr())
-            {
-                boolean isOk = sDst.isAttr();
-
-                if (!isOk)
-                {
-                    Splay t = sDst.prevNonAttrSplay();
-
-                    if (t.isContainer() && t.getCchAfter() == 0)
-                        isOk = true;
-                }
-
-                if (!isOk)
-                {
-                    complain(
-                        "Can only move/copy/insert attribute after another " +
-                          "attribute or start token." );
-                }
-            }
-            else if (sDst.isAttr())
-            {
-                complain(
-                    "Can't move/copy/insert a non-attribute before " +
-                        "an attribute." );
-            }
-        }
-
-        return srcChars;
-    }
-
-    /**
-     * Insert in this splay at position p whose root is r the splays rootInsert
-     * with text txt at offset cpTxt and length cchTxt
-     */
-
-    final void insert (
-        Root r, int p, Splay rootInsert,
-        Object txt, int offTxt, int cchTxt,
-        boolean invalidate )
-    {
-// BUGBUG - what is a new xsitype attr is inserted? -- must disconnect types
-
-        assert p < getEndPos();
-        assert cchTxt >= 0;
-        assert rootInsert != null;
-        assert rootInsert._parentSplay == null;
-        assert rootInsert.getCchLeft() + rootInsert.getCch() == cchTxt;
-
-        // We are inserting a tree here.  Get the first splay in the tree
-        // It must either be at the root or just to the left of the root.
-        // This is the "classic" dog leg pattern I use to pass splay trees.
-
-        assert
-            rootInsert._leftSplay == null ||
-                rootInsert._leftSplay._leftSplay == null;
-
-        r.startChange();
-
-        Splay sInsert =
-            rootInsert._leftSplay == null ? rootInsert : rootInsert._leftSplay;
-
-        assert !sInsert.isDoc() && !sInsert.isFinish();
-        assert Root.dv > 0 || getRootSlow() == r;
-
-        // When this member is called, we better be able to do the insert.
-
-        assert true || sInsert.checkInsertionValidity( 0, this, p, false );
-
-        // If there is a fragment, there better be text in it
-
-        assert !sInsert.isFragment() || sInsert.getCch() > 0;
-
-        //
-
-        Splay s = this;
-
-        assert Root.dv > 0 || sInsert.getRootSlow() == null;
-
-        Splay sOrig = null;
-        int   pOrig = 0;
-        int   cchBypassed = 0;
-
-        // Prepare for inserting into the middle of a splay
-
-        if (p > 0)
-        {
-            int ple;
-
-            if (s.isLeaf() && p <= (ple = s.getPosLeafEnd()))
-            {
-                if (s.isInvalid())
-                {
-                    assert ple == 1;
-                    assert p == 1;
-
-                    int cchValid = s.ensureContentValid();
-
-                    p += cchValid;
-                    ple += cchValid;
-                }
-
-                assert s.getFinishSplay() == s;
-
-                defoliate( r );
-
-                assert s.getFinishSplay() != s;
-
-                if (p == ple)
-                {
-                    s = getFinishSplay();
-                    p = 0;
-                }
-
-                s.insert( r, p, rootInsert, txt, offTxt, cchTxt, invalidate );
-
-                return;
-            }
-
-            // You can copy an attr to a dst where it is the first attr, or
-            // after all pre-exisitng attrs.  This these cases, p == 1 on
-            // the begin.  In this case, there is no need to move text later.
-
-            assert !sInsert.isAttr() || (p == 1 && s.isContainer());
-
-            sOrig = s;
-            pOrig = p;
-            cchBypassed = getEndPos() - p;
-
-            s = s.nextNonAttrSplay();
-            p = 0;
-        }
-
-        assert p == 0;
-        assert !s.isDoc();
-
-        // Get the container receiving all of this
-
-        Container c = s.getContainer();
-
-        // Run over the top level content, parenting any BEGINS.  Also,
-        // characterize the content being inserted for future invalidation.
-        // Only fragments will have multiple top level begins.
-
-        boolean insertingElements = false;
-        boolean insertingText = false;
-        boolean insertingNilAttr = false;
-        Splay   insertingFragment = null;
-
-        for ( Splay t = sInsert ; t != null ; t = t.nextSplay() )
-        {
-            if (t.isBegin())
-            {
-                insertingElements = true;
-
-                Begin b = (Begin) t;
-
-                assert b._container == null;
-
-                b._container = c;
-
-                t = t.getFinishSplay();
-            }
-            else if (t.isFragment())
-            {
-                assert insertingFragment == null;
-                insertingFragment = t;
-            }
-
-            if (t.isXsiNil())
-                insertingNilAttr = true;
-
-            if (t.getCchAfter() > 0)
-                insertingText = true;
-        }
-
-        // Now, insert the text (if any)
-
-        r._text.insert( r.getCp( s ), txt, offTxt, cchTxt );
-
-        // Insert the tree
-
-        r.insertSplay( rootInsert, s.prevSplay() );
-
-        // If the first splay to isnert was a fragment, remove it, leaving
-        // the text it carried in the tree.  Don't perform invalidation.
-
-        if (insertingFragment != null)
-            insertingFragment.remove( r, false );
-
-        // Invalidate the parent if requested
-
-        if (invalidate)
-        {
-            Type cType = c.peekType();
-
-            if (cType != null)
-            {
-                if (insertingElements)
-                {
-                    cType.invalidateElement( c, s );
-                    insertingText = true;
-                }
-
-                if (insertingText)
-                    cType.invalidateText();
-
-                if (insertingNilAttr)
-                    cType.invalidateNil();
-            }
-        }
-
-        // If there is post text to move, move it to the end of the stuff
-        // inserted.  Don't do this is if an attr was inserted because in this
-        // case, the attr is logically after the text to be moved anyways.
-
-        if (sOrig != null && !sInsert.isAttr())
-        {
-            int cchMoved = sOrig.moveChars( r, pOrig, -1, r, s, 0, true );
-            assert cchMoved > 0;
-            assert cchMoved == cchBypassed;
-        }
-
-        // build a leaf if possible
-
-        if (s.isEnd() && s.getContainer().nextNonAttrSplay() == s)
-            s.getContainer().foliate( r );
-
-        r.invalidateVersion();
-
-        assert r.validate();
-    }
-
-    /**
-     * Replaces the contents of this (attributes as well) with a copy of the
-     * contents of sSrc.  If preserveType is true, then the xsi:type attr
-     * of the source is not copied, and the xsi:type of the target (this)
-     * is not altered.
-     */
-
-    final void replaceContents (
-        Root r, Splay sSrc, Root rSrc,
-        boolean preserveType, boolean preserveNamespaces )
-    {
-        assert !isFinish() && !sSrc.isFinish();
-        assert Root.dv > 0 || getRootSlow() == r;
-        assert Root.dv > 0 || sSrc.getRootSlow() == rSrc;
-
-        // If the src and dst are the same splay, then there is nothing to do
-
-        if (this == sSrc)
-            return;
-
-        // If we are to preserve namespace mappings, make a copy of the
-        // namspaces in scope here
-
-        Map sourceNamespaces =
-            preserveNamespaces ? sSrc.lookupAllPrefixMappings() : null;
-
-        // If the destination is a simple container of text, then the content
-        // model is limited to text.  Handle this specially.
-
-        if (isAttr() || isComment() || isProcinst())
-        {
-            // TODO - Do this without creating a string?
-            String str = sSrc.getText( rSrc );
-            setText( r, str, 0, str.length() );
-        }
-        else
-        {
-            // No need to startChange() here, fcns I call will do it for me
-
-            assert isContainer();
-
-            // Make copy of source
-
-            CopyContext copyContext = sSrc.copySplayContents( rSrc );
-
-            // If we need to preserve the xsi:type attribute, then fetch it.
-            // If there is more than one, the first one wins.
-
-            String targetXsiType = null;
-
-            if (preserveType)
-            {
-                for ( Splay s = nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                {
-                    if (s.isXsiType())
-                    {
-                        targetXsiType = s.getText( r );
-                        break;
-                    }
-                }
-            }
-
-            // Because I have removed the entire contents of the target, I can
-            // insert fragment or node.
-
-            removeContent( r, true );
-
-            assert isLeaf() || getFinishSplay() == nextSplay();
-            assert getCchValue() == 0;
-
-            Splay copy = copyContext.getTree();
-
-            if (copy != null)
-            {
-                // Need to compute a normalized splay/pos to insert at.  Only
-                // two cases, either we're inserting in a leaf or a
-                // container/finish pair.
-
-                Splay insertSplay = this;
-                int insertPos = 1;
-
-                if (!isLeaf())
-                {
-                    insertSplay = nextSplay();
-                    insertPos = 0;
-                }
-
-                char[] textCopy = copyContext.getText();
-
-                insertSplay.insert(
-                    r, insertPos, copy,
-                    textCopy, 0, textCopy == null ? 0 : textCopy.length, true );
-
-                // Now, go thorugh all the attrs, removing types and place the
-                // original back in.
-
-                if (preserveType)
-                {
-                    Splay next = nextSplay();
-
-                    for ( Splay s = next ; s.isAttr() ; s = next )
-                    {
-                        next = s.nextSplay();
-
-                        if (s.isXsiType())
-                            s.remove( r, true );
-                    }
-
-                    if (targetXsiType != null)
-                    {
-                        Attr a = new Attr( _xsiType );
-
-                        int cchType = targetXsiType.length();
-
-                        a.adjustCch( cchType );
-
-                        if (getEndPos() > 1)
-                            insert( r, 1, a, targetXsiType, 0, cchType, true );
-                        else
-                        {
-                            nextNonAttrSplay().insert(
-                                r, 0, a, targetXsiType, 0, cchType, true );
-                        }
-                    }
-                }
-            }
-        }
-
-        if (sourceNamespaces != null)
-            applyNamespaces( r, sourceNamespaces );
-    }
-
-    static final class CopyContext
-    {
-        void copyText ( char[] text )
-        {
-            _text = text;
-        }
-
-        void copySplay ( Splay s, boolean copyTextAfter )
-        {
-            assert !s.isDoc() && !s.isRoot();
-
-            Splay t;
-
-            switch ( s.getKind() )
-            {
-            case BEGIN :
-            {
-                s.ensureContentValid();
-
-                t = _frontier = new Begin( s.getName(), _frontier );
-
-                if (s.isLeaf())
-                {
-                    t.toggleIsLeaf();
-                    _frontier = _frontier.getContainer();
-                }
-
-                break;
-            }
-            case ATTR :
-            {
-                if (s.isXmlns())
-                    t = new Xmlns( s.getName() );
-                else
-                {
-                    s.ensureValueValid();
-                    t = new Attr( s.getName() );
-                }
-                break;
-            }
-            case COMMENT :
-            {
-                t = new Comment();
-                break;
-            }
-            case PROCINST :
-            {
-                t = new Procinst( s.getName() );
-                break;
-            }
-            case END :
-            {
-                Begin b = (Begin) _frontier;
-                t = b._end = new End( b );
-                _frontier = _frontier.getContainer();
-                break;
-            }
-            default :
-                throw new IllegalStateException();
-            }
-
-            assert s.isValid();
-
-            int cch = s.getCchValue();
-
-            if (copyTextAfter)
-            {
-                int cchAfter = s.getCchAfter();
-                cch += cchAfter;
-                t.adjustCchAfter( cchAfter );
-            }
-
-            if (cch > 0)
-                t.adjustCch( cch );
-
-            copy( t );
-        }
-
-        /**
-         * May be called once before any other copy
-         */
-
-        void copyFragment ( int cch )
-        {
-            assert cch > 0;
-
-            Splay s = new Fragment();
-
-            s.adjustCchAfter( cch );
-            s.adjustCch( cch );
-
-            copy( s );
-        }
-
-        Splay getTree ( )
-        {
-            assert _frontier == null;
-
-            if (_last == null)
-                return null;
-
-            if (_first != null)
-            {
-                _last.adjustCchLeft( _first.getCchLeft() + _first.getCch() );
-
-                _last.adjustCdocBeginLeft(
-                    _first.getCdocBeginLeft() + _first.getCdocBegin() );
-
-                _last._leftSplay = _first;
-                _first._parentSplay = _last;
-
-                if (_tail != null)
-                {
-                    _last.adjustCchLeft( _tail.getCchLeft() + _tail.getCch() );
-
-                    _last.adjustCdocBeginLeft(
-                        _tail.getCdocBeginLeft() + _tail.getCdocBegin() );
-
-                    _first._rightSplay = _tail;
-                    _tail._parentSplay = _first;
-                }
-            }
-
-            return _last;
-        }
-
-        char[] getText ( )
-        {
-            return _text;
-        }
-
-        private void copy ( Splay s )
-        {
-            //
-            // Here I make sure that the structure of the splay tree returned
-            // by the copy is such that the last splay copied is at the root,
-            // the first splay copied is the left child of the last copied,
-            // the second to last splay copied is the right child of the first,
-            // and the third through the second to last are a left only list
-            // off of the left child of the second!
-            //
-            // You may be asking your self, "Self, why all this madness?"
-            //
-            // Several reasons.  First, by making the first hang off the
-            // left child of the last and have the right child of last be null,
-            // the root will have the total splay statistics for the whole
-            // tree.  Second, you have quick access to the first splay copied.
-            // Third, building the third through the second to last do
-            // not require walking to update statictics.
-            //
-            // Ultimately, I do this to be consistent with the format of the
-            // tree when a range of splays are removed from a tree.  To avoid
-            // an additional splay, the removal of a sub tree is shaped like
-            // this.
-            //
-
-            if (_last != null)
-            {
-                if (_first == null)
-                    _first = _last;
-                else if (_tail == null)
-                    _tail = _last;
-                else
-                {
-                    _last.adjustCchLeft( _tail.getCchLeft() + _tail.getCch() );
-
-                    _last.adjustCdocBeginLeft(
-                        _tail.getCdocBeginLeft() + _tail.getCdocBegin() );
-
-                    _last._leftSplay = _tail;
-                    _tail._parentSplay = _last;
-                    _tail = _last;
-                }
-            }
-
-            _last = s;
-        }
-
-        private char[]    _text;
-        private Splay     _first;
-        private Splay     _tail;
-        private Splay     _last;
-        private Container _frontier;
-    }
-
-    /**
-     * Copies the contents of this splay (deeply).
-     * This will update any invalid content.
-     *
-     * Because this can return only text, if there is text at the beginning
-     * of the contents, I will create a FRAG as the first splay (after any
-     * attributes).
-     */
-
-    final CopyContext copySplayContents ( Root r )
-    {
-        assert !isFinish() && !isXmlns();
-
-        if (isContainer())
-            ensureContentValid();
-        else if (isNormalAttr())
-            ensureValueValid();
-
-        CopyContext copyContext = new CopyContext();
-
-        if (isContainer())
-        {
-            int cchAttrs = 0;
-
-            Splay t = nextSplay(), s = t;
-
-            for ( ; s.isAttr() ; s = s.nextSplay() )
-            {
-                copyContext.copySplay( s, false );
-                cchAttrs += s.getCch();
-            }
-
-            int cchValue = isLeaf() ? getCchValue() : getCchAfter();
-
-            if (cchValue > 0)
-                copyContext.copyFragment( cchValue );
-
-            int cchContents = 0;
-
-            if (!isLeaf())
-            {
-                Splay finish = getFinishSplay();
-
-                for ( Splay u = s ; u != finish ; u = u.nextSplay() )
-                {
-                    copyContext.copySplay( u, true );
-                    cchContents += u.getCch();
-                }
-            }
-
-            int cchAll = cchAttrs + cchValue + cchContents;
-
-            if (cchAll > 0)
-            {
-                char[] text = new char [ cchAll ];
-
-                int cp = r.getCp( this );
-                int cch = getCch();
-
-                if (cchAttrs > 0)
-                    r._text.fetch( text, 0, cp + cch, cchAttrs );
-
-                if (cchValue > 0)
-                    r._text.fetch( text, cchAttrs, cp, cchValue );
-
-                if (cchContents > 0)
-                {
-                    r._text.fetch(
-                        text, cchAttrs + cchValue,
-                        cp + cch + cchAttrs, cchContents );
-                }
-
-                copyContext.copyText( text );
-            }
-        }
-        else
-        {
-            assert isNormalAttr() || isComment() || isProcinst();
-
-            int cchValue = getCchValue();
-
-            if (cchValue > 0)
-            {
-                copyContext.copyFragment( cchValue );
-
-                char[] text = new char [ cchValue ];
-
-                r._text.fetch( text, 0, r.getCp( this ), cchValue );
-
-                copyContext.copyText( text );
-            }
-        }
-
-        return copyContext;
-    }
-
-    /**
-     * Copies this splay (deeply).  Also copies attributes after a begin
-     * This will update any invalid content.
-     */
-
-    final Splay copySplay ( )
-    {
-        assert !isDoc() && !isFinish();
-
-        // Compute splay to stop at (does not get copied).  Also compute
-        // a splay, to be copied, which should not have it's text after copied.
-
-        Splay stopHere, noTextAfter;
-
-        if (isBegin())
-        {
-            noTextAfter = getFinishSplay();
-            stopHere = noTextAfter.nextNonAttrSplay();
-        }
-        else
-        {
-            noTextAfter = null;
-            stopHere = nextSplay();
-        }
-
-        // Make the copy
-
-        CopyContext copyContext = new CopyContext();
-
-        for ( Splay next, s = this ; s != stopHere ; s = next )
-        {
-            next = s.nextSplay();
-
-            copyContext.copySplay( s, s != noTextAfter );
-        }
-
-        return copyContext.getTree();
-    }
-
-    final void removeAttributes ( Root r )
-    {
-        assert isContainer();
-
-        for ( ; ; )
-        {
-            Splay s = nextSplay();
-
-            if (!s.isAttr())
-                break;
-
-            s.remove( r, true );
-        }
-    }
-
-    /**
-     * Removes all content from splay.
-     * Begin will be a leaf upon exit.
-     */
-
-    final void removeContent ( Root r, boolean removeAttrs )
-    {
-        assert Root.dv > 0 || getRootSlow() == r;
-
-        r.startChange();
-
-        if (isInvalid())
-        {
-            toggleIsInvalid();
-
-            r.invalidateVersion();
-
-            if (isContainer() && removeAttrs)
-                removeAttributes( r );
-
-            return;
-        }
-
-        switch ( getKind() )
-        {
-        case DOC :
-            break;
-
-        case BEGIN :
-        {
-            if (isLeaf())
-            {
-                removeChars( r, 1, getCchValue() );
-
-                if (removeAttrs)
-                    removeAttributes( r );
-
-                return;
-            }
-
-            break;
-        }
-
-        case ATTR :
-        {
-            if (isXmlns())
-            {
-                assert false: "Unexpected kind for removeContent";
-            }
-
-            // Fall through
-        }
-
-        case COMMENT  :
-        case PROCINST :
-        {
-            int cchValue = getCchValue();
-
-            if (cchValue == 0)
-                return;
-
-            r._text.remove( r.getCp( this ), cchValue );
-
-            r.updateCch( this, - cchValue );
-
-            if (getKind() == ATTR)
-            {
-                invalidateText();
-
-                if (isXsiType())
-                    getContainer().disconnectTypes( r );
-            }
-
-            r.invalidateVersion();
-
-            return;
-        }
-
-        default :
-            assert false: "Unexpected kind for removeContent";
-        }
-
-        assert isDoc() || (isBegin() && !isLeaf());
-
-        Splay s = nextNonAttrSplay();
-
-        if (s.isRoot())
-        {
-            assert isDoc();
-        }
-        else
-        {
-            //
-            // Remove all the splays.  Inhibit invalidation on each remove to
-            // prevent a flood of invalidations to the parent type (if there).
-            //
-
-            Splay next;
-            for ( s = nextNonAttrSplay() ; !s.isFinish() ; s = next )
-            {
-                assert !s.isAttr();
-
-                if (s.isLeaf())
-                    next = s.nextNonAttrSplay();
-                else if (s.isBegin())
-                    next = s.getFinishSplay().nextSplay();
-                else
-                    next = s.nextSplay();
-
-                s.remove( r, false );
-            }
-
-            //
-            // Have to remove the text after this here because the above
-            // removes could have suuffled text to after this.
-            //
-
-            assert !isLeaf();
-
-            if (getCchAfter() > 0)
-                removeTextAfter( r );
-
-            //
-            // Tricky code.  Merge the END and the BEGIN to form a leaf.
-            //
-
-            if (isBegin())
-                foliate( r );
-
-            invalidateText();
-
-            r.invalidateVersion();
-        }
-
-// TODO - if removing text from xsi:type or nil must do stuff
-// TODO - if removing text from xsi:type or nil must do stuff
-// TODO - if removing text from xsi:type or nil must do stuff
-// TODO - if removing text from xsi:type or nil must do stuff
-// TODO - if removing text from xsi:type or nil must do stuff
-
-
-// TODO - if removing attribute xsi:type or xsi:nil, must do stuiff
-// TODO - if removing attribute xsi:type or xsi:nil, must do stuiff
-// TODO - if removing attribute xsi:type or xsi:nil, must do stuiff
-// TODO - if removing attribute xsi:type or xsi:nil, must do stuiff
-// TODO - if removing attribute xsi:type or xsi:nil, must do stuiff
-
-        if (removeAttrs)
-            removeAttributes( r );
-
-        // If the tree became empty, reset _leftOnly
-
-        if (r._leftSplay == r._doc && r._doc._rightSplay == null)
-            r._leftOnly = true;
-
-        assert validate();
-    }
-
-    final int copyChars (
-        Root r, int p, int cch, Root rDst, Splay sDst, int pDst )
-    {
-        assert pDst > 0 && pDst <= sDst.getEndPos();
-
-        int postCch = getPostCch( p );
-
-        if (p == 0 || cch == 0 || postCch == 0)
-            return 0;
-
-        if (cch < 0 || cch > postCch)
-            cch = postCch;
-
-        assert cch > 0;
-
-// TODO - uses string to avoid problems with source and dest from same buffer
-//        rewrite to not create string object
-
-        char[] chars = new char [ cch ];
-
-        r._text.fetch( chars, 0, getCpForPos( r, p ), cch );
-
-        sDst.insertChars( pDst, rDst, chars, 0, cch );
-
-        return cch;
-    }
-
-    /**
-     * Move cch chars from pos p on this splay to pos pDst on sDst.
-     * Source and destination can be different documents.  Normally cursors
-     * stay put when their char is moved, but moveCursors can cause cursors
-     * tomove with the chars (used internally).
-     */
-
-    final int moveChars (
-        Root r, int p, int cch, Root rDst, Splay sDst, int pDst,
-        boolean moveCursors )
-    {
-        if (p == 0)
-            return 0;
-
-        int postCch = getPostCch( p );
-
-        if (cch == 0 || postCch == 0)
-            return 0;
-
-        if (cch < 0 || cch > postCch)
-            cch = postCch;
-
-        r.startChange();
-        rDst.startChange();
-
-        assert cch > 0;
-
-        // I don't have to check the invalidity of the source because the
-        // only invalid text I would have to deal with is that in a leaf, and
-        // If the source is in a leaf here, then it must be positioned at the
-        // end (1) which is not sensitive to the invalidity.
-        //
-        // However, I much check the destination for validity because I may
-        // be appending text to an existing value.
-
-        if (sDst.isContainer() && pDst == 1)
-        {
-            int cchValid = sDst.ensureContentValid();
-
-            pDst += cchValid;
-
-            if (sDst == this && p == 1)
-                p += cchValid;
-        }
-
-        //
-
-        if (pDst == 0)
-        {
-            sDst = sDst.prevNonAttrSplay();
-            pDst = sDst.getEndPos();
-        }
-
-        // If the destination if in the range of the source, then this is
-        // effectively a no-op.
-
-// TODO - Probably should disconnect Types in the range
-
-        if (sDst == this && pDst >= p && pDst <= p + cch)
-            return cch;
-
-        assert pDst > 0;
-
-        Container cDst = sDst.getContainer( pDst );
-        Container c = getContainer( p );
-
-        // Move the text
-
-        rDst._text.move(
-            sDst.getCpForPos( rDst, pDst ), r._text, getCpForPos( r, p ), cch );
-
-        // Perform the "insertion" first
-
-        if (!sDst.isLeaf() || pDst > sDst.getPosLeafEnd())
-            sDst.adjustCchAfter( cch );
-
-        rDst.updateCch( sDst, cch );
-
-        for ( Goober g = sDst.firstGoober() ; g != null ;
-              g = sDst.nextGoober( g ) )
-        {
-            int gp = g.getPos();
-
-            if (gp >= pDst)
-                g.set( gp + cch );
-        }
-
-        assert sDst != this || pDst < p || pDst > p + cch;
-
-        if (sDst == this)
-        {
-            int pDstSave = pDst;
-
-            if (pDst > p + cch)
-                pDst -= cch;
-
-            if (p >= pDstSave)
-                p += cch;
-        }
-
-        // Then perform the "removal"
-
-        if (!isLeaf() || p > getPosLeafEnd())
-            adjustCchAfter( - cch );
-
-        r.updateCch( this, - cch );
-
-        Goober nextGoober;
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = nextGoober( g );
-
-            int gp = g.getPos();
-
-            if (gp >= p + cch)
-            {
-                g.set( gp - cch );
-            }
-            else if (gp >= p)
-            {
-                if (!moveCursors && g.getKind() == CURSOR)
-                {
-                    if (p == getEndPos())
-                        g.set( nextSplay(), 0 );
-                    else
-                        g.set( p );
-                }
-                else
-                    g.set( rDst, sDst, pDst + gp - p );
-            }
-        }
-
-        cDst.invalidateText();
-        c.invalidateText();
-
-        r.invalidateVersion();
-        rDst.invalidateVersion();
-
-        return cch;
-    }
-
-    /**
-     * Remove cch chars starting at position p on this splay.
-     */
-
-    final int removeChars ( Root r, int p, int cch )
-    {
-        int maxPos = getMaxPos();
-
-        assert p > 0 && p <= maxPos;
-
-        if (p == 0)
-            return 0;
-
-        r.startChange();
-
-// TODO - merge the two following chunks of code??????
-
-        if (isLeaf())
-        {
-            int ple = getPosLeafEnd();
-
-            if (p <= ple)
-            {
-                if (cch < 0 || ple - p < cch)
-                    cch = ple - p;
-
-                if (cch == 0)
-                    return 0;
-
-                r._text.remove( r.getCp( this ) + p - 1, cch );
-
-                r.updateCch( this, - cch );
-
-                Goober nextGoober;
-
-                for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-                {
-                    nextGoober = nextGoober( g );
-
-                    int k = g.getKind();
-                    int gp = g.getPos();
-
-                    if (gp >= p + cch)
-                        g.set( gp - cch );
-                    else if (gp >= p)
-                    {
-                        if (k == CURSOR)
-                            g.set( p );
-                        else
-                        {
-                            assert k == ANNOTATION;
-                            g.disconnect( r );
-                        }
-                    }
-                }
-
-                invalidateText();
-
-                r.invalidateVersion();
-
-                return cch;
-            }
-        }
-
-        int posAfter = getPosAfter();
-
-        assert p >= posAfter;
-
-        int maxCch = maxPos - p + 1;
-
-        assert maxCch >= 0;
-
-        if (cch < 0 || cch > maxCch)
-            cch = maxCch;
-
-        if (cch <= 0)
-            return 0;
-
-        Container c = getContainer( p );
-
-        r._text.remove( getCpForPos( r, p ), cch );
-
-        adjustCchAfter( - cch );
-
-        r.updateCch( this, - cch );
-
-        Goober nextGoober;
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober )
-        {
-            nextGoober = nextGoober( g );
-
-            int k = g.getKind();
-            int gp = g.getPos();
-
-            if (gp >= p)
-            {
-                if (k == CURSOR)
-                    g.set( nextNonAttrSplay(), 0 );
-                else
-                    g.disconnect( r );
-            }
-        }
-
-        c.invalidateText();
-
-        r.invalidateVersion();
-
-        assert validate();
-
-        return cch;
-    }
-
-    /**
-     * Insert text a position p in this splay
-     */
-
-    final void insertChars ( int p, Root r, Object txt, int off, int cch )
-    {
-        assert p > 0 && p <= getEndPos();
-
-        if (cch == 0)
-            return;
-
-        r.startChange();
-
-        Container container = getContainer( p );
-
-        if (isContainer() && p == 1)
-            p += ensureContentValid();
-
-        r._text.insert( getCpForPos( r, p ), txt, off, cch );
-
-        if (p >= getPosAfter())
-            adjustCchAfter( cch );
-
-        r.updateCch( this, cch );
-
-        for ( Goober g = firstGoober() ; g != null ; g = nextGoober( g ) )
-        {
-            int gp = g.getPos();
-
-            if (gp >= p)
-                g.set( gp + cch );
-        }
-
-        container.invalidateText();
-
-        r.invalidateVersion();
-
-        assert validate();
-    }
-
-    private static final int START_STATE = 0;
-    private static final int SPACE_SEEN_STATE = 1;
-    private static final int NOSPACE_STATE = 2;
-
-    public final int scrubText(
-        Text text, int ws, int cp, int cch, StringBuffer sb, int state )
-    {
-        assert text != null;
-
-        if (text._buf == null)
-        {
-            assert cch == 0;
-            assert cp == 0;
-            return state;
-        }
-
-        if (cch == 0)
-            return state;
-
-        boolean replace = false;
-        boolean collapse = false;
-
-        switch ( ws )
-        {
-        case TypeStore.WS_UNSPECIFIED :                            break;
-        case TypeStore.WS_PRESERVE    :                            break;
-        case TypeStore.WS_REPLACE     :            replace = true; break;
-        case TypeStore.WS_COLLAPSE    : collapse = replace = true; break;
-
-		default : assert false: "Unknown white space rule " +ws;
-        }
-
-        if (!replace && !collapse)
-        {
-            text.fetch(sb, cp, cch);
-            return state;
-        }
-
-        int off = text.unObscure( cp, cch );
-        int startpt = 0;
-
-        for ( int i = 0 ; i < cch ; i++ )
-        {
-            char ch = text._buf[ off + i ];
-
-            if (ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t')
-            {
-                sb.append(text._buf, off + startpt, i - startpt);
-                startpt = i + 1;
-
-                if (collapse)
-                {
-                    if (state == NOSPACE_STATE)
-                        state = SPACE_SEEN_STATE;
-                }
-                else
-                    sb.append(' ');
-            }
-            else
-            {
-                if (state == SPACE_SEEN_STATE)
-                    sb.append( ' ' );
-
-                state = NOSPACE_STATE;
-            }
-        }
-
-        sb.append( text._buf, off + startpt, cch - startpt );
-
-        return state;
-    }
-
-    final String getText ( Root r )
-    {
-        return getText( r, TypeStore.WS_PRESERVE );
-    }
-
-//    final int getText ( Root r, char[] buf, int off, int len )
-//    {
-//        if (len <= 0)
-//            return 0;
-//
-//        if (isInvalid())
-//        {
-//            if (isNormalAttr())
-//                ensureValueValid();
-//            else if (isLeaf())
-//                ensureContentValid();
-//        }
-//
-//        int cp = r.getCp( this );
-//
-//        if (isNormalAttr() || isComment() || isProcinst() || isLeaf())
-//        {
-//            int cch = getCchValue();
-//
-//            if (cch == 0)
-//                return 0;
-//
-//            if (cch > len)
-//                cch = len;
-//
-//            r._text.fetch( buf, off, pos, cch );
-//
-//            return cch;
-//        }
-//
-//        if (!isContainer())
-//            return 0;
-//
-//        int originalLen = len;
-//        Splay last = getFinishSplay();
-//
-//        for ( Splay s = this ; len > 0 && s != last ; s = s.nextSplay() )
-//        {
-//            int srcCp, srcCch;
-//
-//            if (s.isBegin())
-//            {
-//                if (s.isInvalid())
-//                    s.ensureContentValid();
-//
-//                srcCp = cp;
-//                srcCch = s.getCch();
-//            }
-//            else
-//            {
-//                // It's ok for an attr to be invalid here, gets text after
-//
-//                srcCp = cp + s.getCchValue();
-//                srcCch = s.getCchAfter();
-//            }
-//
-//            if (srcCch > 0)
-//            {
-//                if (srcCch > len)
-//                    srcCch = len;
-//
-//                int srcOff = r._text.unObscure( srcCp, srcCch );
-//
-//                System.arrayCopy( r._text._buf, srcOff, buf, off, srcCch );
-//
-//                len -= srcCch;
-//                off += srcCch;
-//            }
-//
-//            cp += s.getCch();
-//        }
-//
-//        return sb.toString();
-//    }
-
-    final String getText ( Root r, int ws )
-    {
-        if (isInvalid())
-        {
-            if (isNormalAttr())
-                ensureValueValid();
-            else if (isLeaf())
-                ensureContentValid();
-        }
-
-        int cp = r.getCp( this );
-
-        if (isNormalAttr() || isComment() || isProcinst() || isLeaf())
-        {
-            int cch = getCchValue();
-
-            if (cch == 0)
-                return "";
-
-            if (ws == TypeStore.WS_PRESERVE || ws == TypeStore.WS_UNSPECIFIED)
-                return r._text.fetch( cp, cch );
-
-            StringBuffer sb = new StringBuffer();
-
-            scrubText( r._text, ws, cp, getCchValue(), sb, START_STATE );
-
-            return sb.toString();
-        }
-
-        if (!isContainer())
-            return null;
-
-        Splay last = getFinishSplay();
-
-        int scrubState = START_STATE;
-
-        StringBuffer sb = new StringBuffer();
-
-        for ( Splay s = this ; s != last ; s = s.nextSplay() )
-        {
-            if (s.isBegin())
-            {
-                if (s.isInvalid())
-                    s.ensureContentValid();
-
-                scrubState =
-                    scrubText(
-                        r._text, ws, cp, s.getCch(), sb, scrubState );
-            }
-            else
-            {
-                // It's ok for an attr to be invalid here, gets text after
-
-                int cchAfter = s.getCchAfter();
-
-                if (cchAfter > 0)
-                {
-                    scrubState =
-                        scrubText(
-                            r._text, ws, cp + s.getCchValue(),
-                            cchAfter, sb, scrubState );
-                }
-            }
-
-            cp += s.getCch();
-        }
-
-        return sb.toString();
-    }
-
-    /**
-     * Gets an attr splay for a given container, null otherwise.
-     */
-
-    Splay getAttr ( QName name )
-    {
-        assert name != null;
-
-        if (!isContainer())
-            return null;
-
-        for ( Splay s = nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-        {
-            if (s.isNormalAttr() && s.getName().equals( name ))
-                return s;
-        }
-
-        return null;
-    }
-
-    void setXsiNil ( Root r, boolean nil )
-    {
-        assert isContainer();
-
-        if (getXsiNil( r ) == nil)
-            return;
-
-        setAttr( r, _xsiNil, "true" );
-    }
-
-    boolean getXsiNil ( Root r )
-    {
-        assert isContainer();
-
-        Splay s;
-
-        for ( s = nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-        {
-            if (s.isXsiNil())
-                break;
-        }
-
-        if (!s.isAttr())
-            return false;
-
-        String value = s.getText( r, TypeStore.WS_COLLAPSE );
-
-        return value.equals( "true" ) ||value.equals( "1" );
-    }
-
-    QName getXsiTypeName ( Root r )
-    {
-        assert isContainer();
-
-        Splay s;
-
-        for ( s = nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-        {
-            if (s.isXsiType())
-                break;
-        }
-
-        if (!s.isAttr())
-            return null;
-
-        assert s.isXsiType();
-
-        String value = s.getText( r, TypeStore.WS_COLLAPSE );
-
-// TODO - unobscure the underlying text and use it directly
-// TODO - should I make sure the prefix is wqell formed? ie. just text
-
-        String prefix, localname;
-
-        int firstcolon = value.indexOf( ':' );
-
-        if (firstcolon >= 0)
-        {
-            prefix = value.substring( 0, firstcolon );
-            localname = value.substring( firstcolon + 1 );
-        }
-        else
-        {
-            prefix = "";
-            localname = value;
-        }
-
-        String uri = namespaceForPrefix( prefix, true );
-
-        if (uri == null)
-            return null; // no prefix definition found - that's illegal
-
-        return new QName( uri, localname );
-    }
-
-    void setXsiType ( Root r, QName typeName )
-    {
-        assert isContainer();
-
-        if (typeName == null)
-        {
-            removeAttr( r, _xsiType );
-            return;
-        }
-
-        String value = typeName.getLocalPart();
-
-        String ns = typeName.getNamespaceURI();
-
-        String prefix = prefixForNamespace( r, ns, null, true);
-
-        assert prefix != null : "Cannot establish prefix for " + ns;
-
-        if (prefix.length() > 0)
-            value = prefix + ":" + value;
-
-        boolean set = false;
-
-        setAttr( r, _xsiType, value );
-    }
-
-    void removeAttr ( Root r, QName attrName )
-    {
-        Splay next;
-        for ( Splay s = nextSplay() ; s.isAttr() ; s = next )
-        {
-            next = s.nextSplay();
-
-            if (s.getName().equals( attrName ))
-                s.remove( r, true );
-        }
-    }
-
-    void setAttr ( Root r, QName attrName, String value )
-    {
-        assert isContainer();
-        assert attrName != null;
-        assert value != null;
-
-        boolean set = false;
-
-        Splay next;
-        for ( Splay s = nextSplay() ; s.isAttr() ; s = next )
-        {
-            next = s.nextSplay();
-
-            if (s.getName().equals( attrName ))
-            {
-                if (set)
-                    s.remove( r, true );
-                else
-                {
-                    s.setText( r, value, 0, value.length() );
-                    set = true;
-                }
-            }
-        }
-
-        if (!set)
-        {
-            Splay sInsert = this;
-            int   pInsert = 1;
-
-            if (!isLeaf() && getCch() == 0)
-            {
-                sInsert = nextSplay();
-                pInsert = 0;
-            }
-
-            int cchValue = value.length();
-
-            Attr attr = new Attr( attrName );
-            attr.adjustCch( cchValue );
-
-            sInsert.insert( r, pInsert, attr, value, 0, cchValue, false );
-        }
-    }
-
-
-    /**
-     * Sets the content/value of this splay to the given text.
-     */
-
-    final void setText ( Root r, Object txt, int off, int cch )
-    {
-        removeContent( r, false );
-
-        if (txt == null || cch == 0)
-            return;
-
-        switch ( getKind() )
-        {
-        case DOC :
-        case BEGIN :
-        {
-            assert !isBegin() || isLeaf();
-            insertChars( 1, r, txt, off, cch );
-            break;
-        }
-        case ATTR :
-        {
-            if (isXmlns())
-            {
-                assert false: "Unexpected kind for setText";
-            }
-// TODO - if setting text of xsi:type or xsi:nil must do stuff
-// TODO - if setting text of xsi:type or xsi:nil must do stuff
-// TODO - if setting text of xsi:type or xsi:nil must do stuff
-// TODO - if setting text of xsi:type or xsi:nil must do stuff
-
-            // Fall through
-        }
-        case COMMENT  :
-        case PROCINST :
-        {
-            r.startChange();
-
-            assert getCchValue() == 0;
-
-            r._text.insert( r.getCp( this ), txt, off, cch );
-            r.updateCch( this, cch );
-
-            if (getKind() == ATTR)
-            {
-                invalidateText();
-
-                if (isXsiType())
-                    getContainer().disconnectTypes( r );
-            }
-
-            r.invalidateVersion();
-
-            break;
-        }
-        default :
-            assert false: "Unexpected kind for setText";
-        }
-
-        assert validate();
-    }
-
-    final Map lookupAllPrefixMappings ( )
-    {
-        Map mappings = null;
-
-        Splay container = this.isContainer() ? this : getContainer();
-
-        for ( ; container != null ; container = container.getContainer() )
-        {
-            for ( Splay s = container.nextSplay() ; s.isAttr() ;
-                  s = s.nextSplay() )
-            {
-                if (s.isXmlns())
-                {
-                    if (mappings == null)
-                        mappings = new HashMap();
-                    else if (mappings.containsKey( s.getLocal() ))
-                        continue;
-
-                    mappings.put( s.getLocal(), s.getUri() );
-                }
-            }
-        }
-
-        return mappings;
-    }
-
-    final void applyNamespaces ( Root r, Map namespaces )
-    {
-        if (namespaces == null)
-            return;
-
-        Splay container = this.isContainer() ? this : getContainer();
-
-        namespace_loop:
-        for ( Iterator i = namespaces.keySet().iterator() ; i.hasNext() ; )
-        {
-            String prefix = (String) i.next();
-
-            // Usually, this is the predefined xml namespace
-            if (prefix.toLowerCase().startsWith( "xml" ))
-                continue;
-
-            String namespace = (String) namespaces.get( prefix );
-
-            Splay candidate = container;
-
-            candidate_loop:
-            for ( Splay c = container.getContainer() ; c != null && !c.isDoc() ;
-                  c = c.getContainer() )
-            {
-                for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                {
-                    if (s.isXmlns() && prefix.equals( s.getLocal() ))
-                    {
-                        if (namespace.equals( s.getUri()))
-                              continue namespace_loop;
-
-                        break candidate_loop;
-                    }
-                }
-
-                candidate = c;
-            }
-
-            // Insert the new namespace at the end of the attr list after
-            // makeing sure all previous mappings are gone
-            QName qname = new QName( namespace, prefix );
-
-            removeAttr( r, qname );
-
-            candidate.nextNonAttrSplay().insert(
-                r, 0, new Xmlns( qname ), null, 0, 0, false );
-        }
-    }
-
-    /**
-     * Returns the prefix associated with this attr/element.
-     */
-    final String getPrefix ( Root r )
-    {
-        assert isBegin() || isAttr();
-
-        if (isXmlns())
-            return "xmlns";
-
-        // TODO - have a prefix goober to override the mapping on the frontier.
-        // Parser will add this when the natural prefix is not the real prefix.
-
-        Splay c = isBegin() ? this : getContainer();
-
-        // special case
-        String ns = getUri();
-
-        // last argument is false, which means, don't modify the tree
-        return prefixForNamespace( r, ns, null, false );
-    }
-
-    /**
-     * Given a prefix, returns the namespace corresponding to
-     * the prefix at this location, or null if there is no mapping
-     * for this prefix.
-     * <p>
-     * prefix="" indicates the absence of a prefix.  A return value
-     * of "" indicates the no-namespace, and should not be confused
-     * with a return value of null, which indicates an illegal
-     * state, where there is no mapping for the given prefix.
-     * <p>
-     * If the the default namespace is not explicitly mapped in the xml,
-     * the xml spec says that it should be mapped to the no-namespace.
-     * When the 'defaultAlwaysMapped' parameter is true, the default namepsace
-     * will return the no-namespace even if it is not explicity
-     * mapped, otherwise the default namespace will return null.
-     * <p>
-     * This function intercepts the built-in prefixes "xml" and
-     * "xmlns" and returns their well-known namespace URIs.
-     *
-     * @param prefix The prefix to look up.
-     * @param mapDefault If true, return the no-namespace for the default namespace if not set.
-     * @return The mapped namespace URI ("" if no-namespace), or null if no mapping.
-     */
-    final String namespaceForPrefix ( String prefix, boolean defaultAlwaysMapped )
-    {
-        // null same as "", means look up the default namespace
-        if (prefix == null)
-            prefix = "";
-
-        // handle built-in prefixes
-        if ("xml".equals(prefix))
-            return _xml1998Uri;
-        if ("xmlns".equals(prefix))
-            return _xmlnsUri;
-
-        assert isContainer();
-
-        // find an xmlns decl
-        for ( Container c = (Container) this ; c != null ; c = c.getContainer())
-        {
-            for ( Splay s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isXmlns() && prefix.equals( s.getLocal() ))
-                    return s.getUri();
-            }
-        }
-
-        // CR135193: if defaultAlwaysMapped, return no-namespace when no default namespace is found
-        // otherwise, return null to indicate no default namespace was found.
-        if (defaultAlwaysMapped && prefix.length() == 0) {
-                return "";
-        }
-
-        // no namespace defn found: return null
-        return null;
-    }
-
-
-    /**
-     * Returns the prefix to use for a given namespace URI.  Can either
-     * be allowed to modify the tree to ensure such a mapping (if r
-     * is non-null), or can be told to return null if there is no
-     * existing mapping (if r is null).
-     * <p>
-     * For the case where the tree may be modified, a suggested prefix
-     * can be supplied.  The suggestion may be ignored for any reason,
-     * for example, if the prefix is already in-use.
-     * <p>
-     * Returns "xml" and "xmlns" for the well-known namespace URIs
-     * corresponding to those built-in prefixes.
-     *
-     * @param r       should be null if you don't want to modify the tree.
-     *                if a prefix can't be found, null will be returned
-     *                rather than introducing an xmlns.
-     * @param ns      the namespace to look for or introduce a mapping for.
-     *                careful with "", because it may have nonlocal effects
-     *                if somebody has overridden the default namespace.
-     * @param suggestion  a suggested prefix to try first; may be null.
-     *
-     * @param createIfMissing true (normally it's true) if you want to create
-     *                an xmlns declaration when one doesn't already exist for
-     *                your requested URI.  If you don't want to modify the tree,
-     *                pass false.
-     */
-    final String prefixForNamespace (  Root r, String ns, String suggestion,
-                                       boolean createIfMissing )
-    {
-        // null same as empty string, means no-namespace
-        if (ns == null)
-            ns = "";
-
-        // special cases
-        if (_xml1998Uri.equals( ns ))
-            return "xml";
-        if (_xmlnsUri.equals( ns ))
-            return "xmlns";
-
-        assert isContainer();
-
-        Container c;
-        Splay s;
-
-        //
-        // Special handling is ns is not specified (no namespace)
-        //
-
-        if (ns.length() == 0)
-        {
-            loop:
-            for ( c = (Container) this ; c != null ; c = c.getContainer() )
-            {
-                for ( s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                {
-                    if (s.isXmlns() && s.getLocal().length() == 0)
-                    {
-                        if (s.getUri().length() == 0)
-                            return s.getLocal();
-
-                        break loop;
-                    }
-                }
-            }
-
-            //
-            // If there is no overridden default namespace in scope,
-            // return "" - the default default namespace is the no-namepsace.
-            //
-
-            if ( c == null )
-                return "";
-
-            //
-            // If we found a problematic default namespace but cannot modify
-            // the tree, return null - no prefix available.
-            //
-
-            if ( !createIfMissing )
-                return null;
-
-            //
-            // There is a default namespace which maps to a 'real' namespace,
-            // create a default namespace on this container which is "".  This
-            // can screw attributes and such, but, oh well.
-            //
-
-            for ( s = nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isXmlns() && s.getLocal().length() == 0)
-                {
-                    s.setName( r, new QName( "", "" ) );
-                    return s.getLocal();
-                }
-            }
-
-            // this is an xmlns="" declaration
-
-            Attr a = new Xmlns( new QName( "", "" ) );
-
-            r.startChange();
-
-            r.insertSplay( a, this );
-
-            r.invalidateVersion();
-
-            return a.getLocal();
-        }
-
-        //
-        // the ordinary not-a-no-namespace case
-        //
-
-        assert ns != null && ns.length() > 0;
-
-        //
-        // look for an existing prefix for the requested URI
-        //
-
-        for ( c = (Container) this ; c != null ; c = c.getContainer() )
-        {
-            findxmlns: for ( s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-            {
-                if (s.isXmlns() && s.getUri().equals( ns ))
-                {
-                    String result = s.getLocal();
-
-                    // now check to verify that the prefix isn't masked
-                    for ( Container c2 = (Container) this ; c2 != c ; c2 = c2.getContainer() )
-                    {
-                        for ( Splay s2 = c2.nextSplay() ; s2.isAttr() ; s2 = s2.nextSplay() )
-                        {
-                            if (s2.isXmlns() && s2.getLocal().equals(result))
-                                continue findxmlns;
-                        }
-                    }
-
-                    // not masked: OK.
-                    return result;
-                }
-            }
-        }
-
-        //
-        // We could not find an existing prefix in-scope that works.
-        // If !createIfMissing, don't modify the tree - return null instead.
-        //
-
-        if (!createIfMissing)
-            return null;
-
-        //
-        // We must add an xmlns:something="uri", so we must pick a prefix.
-        // We will use the suggestion if it's not already in scope and if
-        // it's not the empty string or an illegal prefix.
-        //
-
-        if (suggestion != null)
-        {
-            if (suggestion.length() == 0 || suggestion.toLowerCase().startsWith( "xml" ))
-                suggestion = null; // bad suggestion
-            else
-            {
-                for ( c = (Container) this ; c != null ; c = c.getContainer() )
-                {
-                    for ( s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                    {
-                        if (s.isXmlns() && s.getLocal().equals( suggestion ))
-                        {
-                            suggestion = null;
-                            break;
-                        }
-                    }
-                }
-            }
-        }
-
-        //
-        // If no suggestion, come up with a safe prefix to use
-        //
-
-        if (suggestion == null)
-        {
-            String base = QNameHelper.suggestPrefix(ns);
-            suggestion = base;
-            for ( int i = 1 ; ; i++ )
-            {
-                loop:
-                for ( c = (Container) this ; c != null ; c = c.getContainer() )
-                {
-                    for ( s = c.nextSplay() ; s.isAttr() ; s = s.nextSplay() )
-                    {
-                        if (s.isXmlns() && s.getLocal().equals( suggestion ))
-                        {
-                            suggestion = null;
-                            break loop;
-                        }
-                    }
-                }
-
-                if (suggestion != null)
-                    break;
-
-                suggestion = base + i;
-            }
-        }
-
-        Container target = null;
-        Container lastContainer = null;
-
-        for ( c = (Container) this ; c != null ; c = c.getContainer() )
-        {
-            lastContainer = c;
-
-            if (c.isBegin())
-                target = c;
-        }
-
-        if (target == null)
-            target = lastContainer;
-
-        Attr a = new Xmlns( new QName( ns, suggestion ) );
-
-        r.startChange();
-
-        r.insertSplay( a, target );
-
-        r.invalidateVersion();
-
-        return a.getLocal();
-    }
-
-    /**
-     * Gets the container associated with the content at pos in this
-     * splay.
-     */
-
-    final Container getContainer ( int p )
-    {
-        assert p >= 0 && p <= getEndPos();
-        assert p > 0 || !isDoc();
-
-        if (p == 0)
-            return getContainer();
-
-        if (isLeaf())
-            return p < getPosAfter() ? (Container) this : getContainer();
-
-        if (isContainer())
-            return (Container) this;
-
-        if (isFinish())
-            return getContainer().getContainer();
-
-        return getContainer();
-    }
-
-    /**
-     * Gets the splay which contains this splay.
-     */
-
-    abstract Container getContainer ( );
-
-    /**
-     * Helper fcn to locate the container this splay is container in.
-     * Should only be called by implementations of getContainer in
-     * cases where the container is not obviously computable.
-     */
-
-    Container findContainer ( )
-    {
-        assert !isContainer();
-        assert !isFinish();
-
-        Splay s = nextSplay();
-
-        while ( !s.isFinish() && !s.isBegin() )
-            s = s.nextSplay();
-
-        return s.getContainer();
-    }
-
-    final void invalidateText ( )
-    {
-        assert isValid();
-
-        Type t = peekType();
-
-        if (t != null)
-        {
-            assert isTypeable();
-
-            t.invalidateText();
-        }
-    }
-
-    final void invalidateNil ( )
-    {
-        assert isTypeable();
-
-        if (!isAttr())
-        {
-            Type t = peekType();
-
-            if (t != null)
-                t.invalidateNil();
-        }
-    }
-
-    protected final void disconnectTypes ( Root r )
-    {
-        disconnectTypes( r, false );
-    }
-    
-    protected final void disconnectTypes ( Root r, boolean disconnectDoc )
-    {
-        assert isTypeable();
-
-        Splay last = isAttr() ? this : getFinishSplay();
-
-        Splay s = this;
-
-        for ( ; ; )
-        {
-            Type t = null;
-
-            if (s.isNormalAttr() || s.isLeaf())
-            {
-                t = s.peekType();
-            }
-            else if (s.isFinish())
-            {
-                Container c = s.getContainer();
-
-                if (!c.isDoc() || disconnectDoc)
-                    t = c.peekType();
-            }
-
-            if (t != null)
-            {
-                Splay u = t.getSplay();
-
-                if (u.isInvalid())
-                {
-                    if (u.isAttr())
-                        t.validateValue( u, t );
-                    else
-                    {
-                        // The finish splay might get whacked
-                        Splay f = u.getFinishSplay();
-
-                        t.validateContent( u, t );
-
-                        if (f == last)
-                            last = f;
-                    }
-                }
-
-                t.disconnect( r );
-            }
-
-            if (s == last)
-                break;
-
-            if (s.isContainer() && !s.isLeaf() && s.peekType() == null)
-                s = s.getFinishSplay();
-            else
-                s = s.nextSplay();
-        }
-    }
-
-    /**
-     * Sets the type of of this
-     */
-
-    final void setType ( Root r, SchemaType sType )
-    {
-        setType( r, sType, true );
-    }
-    
-    final void setType ( Root r, SchemaType sType, boolean complain )
-    {
-        assert isTypeable();
-        assert sType != null;
-
-        //
-        // Is the current type already this type?
-        //
-
-        Type t = peekType();
-
-        if (t != null && t.get_schema_type() == sType)
-            return;
-
-        //
-        // Can always set an arbitrary type at the doc level
-        //
-
-        if (isDoc())
-        {
-            disconnectTypes( r, true );
-
-            assert peekType() == null;
-
-            new Type( r, sType, this );
-
-            assert validate();
-
-            return;
-        }
-
-        //
-        // Gotta get the parent type to do anything further.  If it
-        // can't be found, then barf
-        //
-
-        Type parentType = getContainer().getType( r );
-
-        assert parentType != null;
-
-        //
-        // You can set the attribute type, as long as it is the natural
-        // type.  Attributes cannot have xsi:type
-        //
-
-        if (isAttr())
-        {
-            if (parentType.get_attribute_type( getName() ) != sType && complain)
-            {
-                throw new IllegalArgumentException(
-                    "Can't set type of attribute to " + sType.toString() );
-            }
-
-            return;
-        }
-
-        assert isBegin();
-
-        //
-        // Now, for interior types, I have to deal with xsi:type and
-        // whether or not the type is allowed at this point.
-        //
-
-        // First check to see if this type can be here sans xsi:type.
-        // If so, make sure there is no xsi:type
-
-        if (parentType.get_element_type( getName(), null ) == sType)
-        {
-            setXsiType( r, null );
-
-            disconnectTypes( r );
-
-            assert validate();
-
-            return;
-        }
-
-        // If the desired type has no name, then it cannot be
-        // referenced via xsi:type
-
-        QName typeName = sType.getName();
-
-        if (typeName == null)
-        {
-            if (complain)
-            {
-                throw new IllegalArgumentException(
-                    "Can't set type of element, type is un-named" );
-            }
-
-            return;
-        }
-
-        if (parentType.get_element_type( getName(), typeName ) != sType)
-        {
-            if (complain)
-            {
-                throw new IllegalArgumentException(
-                    "Can't set type of element, invalid type" );
-            }
-
-            return;
-        }
-
-        setXsiType( r, typeName );
-
-        disconnectTypes( r );
-
-        assert validate();
-    }
-
-    /**
-     * Get the Type associated with this splay.  It does not attempt to create
-     * one and will return null is non exists.
-     */
-
-    final Type peekType ( )
-    {
-        assert isTypeable();
-
-        Type type = null;
-
-        if (_goobers != null)
-        {
-            for ( Goober g = firstGoober() ; g != null ; g = nextGoober( g ) )
-                if (g.getKind() == TYPE)
-                    return (Type) g;
-        }
-
-        assert type != null || isValid();
-
-        return type;
-    }
-
-    /**
-     * Get the Type associated with this splay.  If non exists, it attempts
-     * to create one.  Returns null if one could not be created.
-     */
-
-    final Type getType ( Root r )
-    {
-        assert isTypeable();
-
-        Type type = peekType();
-
-        if (!isDoc() && type == null)
-        {
-            Type parentType = getContainer().getType( r );
-
-            assert parentType != null;
-
-            // Defensive
-            if (parentType == null)
-                return null;
-
-            TypeStoreUser newUser;
-
-            if (isBegin())
-            {
-                newUser =
-                    parentType.create_element_user(
-                        getName(), getXsiTypeName( r ) );
-            }
-            else
-            {
-                assert isNormalAttr();
-
-                newUser = parentType.create_attribute_user( getName() );
-            }
-
-            assert newUser != null;
-
-            // Defensive
-            if (newUser == null)
-                return null;
-
-            type = new Type( r, newUser, this );
-        }
-
-        assert type != null;
-
-        return type;
-    }
-
-    /**
-     * Is this inside of the content of sRange?  Does an inclusive check.
-     */
-
-    final boolean between ( Root r, int pThis, Splay sRange )
-    {
-        assert Root.dv > 0 || getRootSlow() == r;
-        assert Root.dv > 0 || getRootSlow() == sRange.getRootSlow();
-
-        if (sRange.isDoc())
-            return true;
-
-        if (compare( r, pThis, sRange, 0 ) < 0)
-            return false;
-
-        Splay sEnd;
-        int   pEnd;
-
-        assert !sRange.isDoc();
-
-        if (sRange.isLeaf())
-        {
-            sEnd = sRange;
-            pEnd = sRange.getPosLeafEnd() + 1;
-        }
-        else if (sRange.isBegin())
-        {
-            sEnd = sRange.getFinishSplay();
-            pEnd = 1;
-        }
-        else
-        {
-            sEnd = sRange.nextSplay();
-            pEnd = 0;
-        }
-
-        return compare( r, pThis, sEnd, pEnd ) <= 0;
-    }
-
-    /**
-     * Compare two positions.  Attributes are a bitch.
-     */
-
-    final int compare ( Root r, int pThis, Splay sThat, int pThat )
-    {
-        Splay sThis = this;
-
-        assert Root.dv > 0 || sThis.getRootSlow() == r;
-        assert Root.dv > 0 || sThat.getRootSlow() == r;
-        assert pThis >= 0 && pThis <= sThis.getEndPos();
-        assert pThat >= 0 && pThat <= sThat.getEndPos();
-
-        // Normalize positions
-
-        if (pThis == sThis.getEndPos())
-        {
-            if (sThis.isAttr())
-            {
-                if ((sThis = sThis.nextSplay()).isAttr())
-                    pThis = 0;
-                else
-                {
-                    sThis = sThis.prevNonAttrSplay();
-                    pThis = 1;
-                }
-            }
-            else
-            {
-                sThis = sThis.nextNonAttrSplay();
-                pThis = 0;
-            }
-        }
-
-        if (pThat == sThat.getEndPos())
-        {
-            if (sThat.isAttr())
-            {
-                if ((sThat = sThat.nextSplay()).isAttr())
-                    pThat = 0;
-                else
-                {
-                    sThat = sThat.prevNonAttrSplay();
-                    pThat = 1;
-                }
-            }
-            else
-            {
-                sThat = sThat.nextNonAttrSplay();
-                pThat = 0;
-            }
-        }
-
-        assert pThis < sThis.getEndPos();
-        assert pThat < sThat.getEndPos();
-
-        if (sThis == sThat)
-            return pThis < pThat ? -1 : pThis > pThat ? 1 : 0;
-
-        //
-
-        if (sThis.isAttr())
-        {
-            if (sThat.isAttr())
-                return compare( r, sThat );
-
-            if (sThis.prevNonAttrSplay() != sThat)
-                return compare( r, sThat );
-
-            return pThat == 0 ? 1 : -1;
-        }
-        else if (sThat.isAttr())
-        {
-            assert !sThis.isAttr();
-
-            if (sThat.prevNonAttrSplay() != sThis)
-                return compare( r, sThat );
-
-            return pThis == 0 ? -1 : 1;
-        }
-        else
-        {
-            return compare( r, sThat );
-        }
-    }
-
-    private int compare ( Root r, Splay sThat )
-    {
-        Splay sThis = this;
-
-        if (sThis == sThat)
-            return 0;
-
-        if (r.isLeftOnly())
-        {
-            if (sThis.getCchLeft() < sThat.getCchLeft())
-                return -1;
-
-            if (sThis.getCchLeft() > sThat.getCchLeft())
-                return 1;
-
-            if (sThis.getCdocBeginLeft() < sThat.getCdocBeginLeft())
-                return -1;
-
-            if (sThis.getCdocBeginLeft() > sThat.getCdocBeginLeft())
-                return 1;
-
-            while ( sThis != r )
-            {
-                sThis = sThis.nextSplay();
-
-                if (sThis == sThat)
-                    return -1;
-
-                if (sThis.getCch() > 0 || sThis.getCdocBegin() > 0)
-                    break;
-            }
-
-            return 1;
-        }
-
-        if (sThat.isRoot())
-            return -1;
-
-        if (sThis.isRoot())
-            return 1;
-
-        sThis.splay( r, r );
-        sThat.splay( r, sThis );
-
-        assert sThis._leftSplay == sThat || sThis._rightSplay == sThat;
-
-        return sThis._leftSplay == sThat ? 1 : -1;
-    }
-
-    final Splay nextNonAttrSplay ( )
-    {
-        Splay s = nextSplay();
-
-        while ( s != null && s.isAttr() )
-            s = s.nextSplay();
-
-        return s;
-    }
-
-    final Splay prevNonAttrSplay ( )
-    {
-        Splay s = prevSplay();
-
-        while ( s != null && s.isAttr() )
-            s = s.prevSplay();
-
-        return s;
-    }
-
-    final Splay nextSplay ( )
-    {
-        Splay s = this;
-        Splay r = s._rightSplay;
-
-        if (r != null)
-        {
-            for ( Splay l = s = r ; (l = l._leftSplay) != null ; )
-                s = l;
-
-            return s;
-        }
-
-        for ( Splay p = s._parentSplay ; ; p = (s = p)._parentSplay )
-            if (p == null || p._leftSplay == s)
-                return p;
-    }
-
-    final Splay prevSplay ( )
-    {
-        Splay s = this;
-        Splay l = s._leftSplay;
-
-        if (l != null)
-        {
-            for ( Splay r = s = l ; (r = r._rightSplay) != null ; )
-                s = r;
-
-            return s;
-        }
-
-        for ( Splay p = s._parentSplay ; ; p = (s = p)._parentSplay )
-            if (p == null || p._rightSplay == s)
-                return p;
-    }
-
-    final void rotateRight ( )
-    {
-        assert _parentSplay._leftSplay == this;
-
-        Splay p = _parentSplay;
-        Splay g = p._parentSplay;
-
-        assert p != null;
-
-        p._leftSplay = _rightSplay;
-
-        if (_rightSplay != null)
-            _rightSplay._parentSplay = p;
-
-        _rightSplay = p;
-        p._parentSplay = this;
-        _parentSplay = g;
-
-        if (g != null)
-        {
-            if (g._leftSplay == p)
-                g._leftSplay = this;
-            else
-                g._rightSplay = this;
-        }
-
-        p.adjustCchLeft( - getCchLeft() - getCch() );
-        p.adjustCdocBeginLeft( - getCdocBeginLeft() - getCdocBegin() );
-    }
-
-    final void rotateLeft ( )
-    {
-        assert _parentSplay._rightSplay == this;
-
-        Splay p = _parentSplay;
-        Splay g = p._parentSplay;
-
-        assert p != null;
-
-        p._rightSplay = _leftSplay;
-
-        if (_leftSplay != null)
-            _leftSplay._parentSplay = p;
-
-        _leftSplay = p;
-        p._parentSplay = this;
-        _parentSplay = g;
-
-        if (g != null)
-        {
-            if (g._leftSplay == p)
-                g._leftSplay = this;
-            else
-                g._rightSplay = this;
-        }
-
-        adjustCchLeft( p.getCchLeft() + p.getCch() );
-        adjustCdocBeginLeft( p.getCdocBeginLeft() + p.getCdocBegin() );
-    }
-
-    //
-    // Splay this so that it's parent is pStop.
-    //
-    // This version of splay is capable of splaying this to the top.  There
-    // are two cases.  One is there r is this and this is splayed to be
-    // the left child of r.  The other case is where r is null.  In this case
-    // the tree this is in is detached from the main document, and this will be
-    // splayed to the top of that subtree such that it's parent will be null.
-    //
-
-    final void splay ( Root r, Splay pStop )
-    {
-        assert pStop != null;
-        assert this != pStop;
-        assert Root.dv > 0 || r == null || getRootSlow() == r;
-        assert Root.dv > 0 || r == null || pStop.getRootSlow() == r;
-        assert r == null || r.validateSplayTree();
-        assert !isRoot();
-
-        boolean rotated = false;
-
-        for ( ; ; )
-        {
-            assert _parentSplay != null;
-
-            Splay p = _parentSplay;
-
-            assert p != null;
-
-            // If this is a child of the stopper, then we are done
-
-            if (p == pStop)
-                break;
-
-            Splay g = p._parentSplay;
-
-            // If this is child of root, then simple rotate
-
-            rotated = true;
-
-            if (g == pStop)
-            {
-                if (p._leftSplay == this)
-                    rotateRight();
-                else
-                    rotateLeft();
-
-                break;
-            }
-
-            // Fancy splays
-
-            if (g._leftSplay == p)
-            {
-                if (p._leftSplay == this)
-                    p.rotateRight();
-                else
-                    rotateLeft();
-
-                rotateRight();
-            }
-            else
-            {
-                if (p._rightSplay == this)
-                    p.rotateLeft();
-                else
-                    rotateRight();
-
-                rotateLeft();
-            }
-        }
-
-        if (rotated && r != null)
-            r._leftOnly = false;
-
-        assert r == null || r.validateSplayTree();
-    }
-
-    /**
-     * Remove this splay where root is the splay root of the tree this splay.
-     * This may be a ROOT splay
-     */
-
-    final Splay removeSplay ( Splay r )
-    {
-        Root root = r.isRoot() ? (Root) r : null;
-
-        assert r._parentSplay == null;
-        assert root == null || root.validateSplayTree();
-        assert !isRoot();
-        assert !isDoc();
-        assert Root.dv > 0 || getSplayRootSlow() == r;
-
-        // If the splay to be removed has no cch or cbegin, then when the
-        // tree is left only children, we need not splay.
-
-        int cch = getCch();
-        int cbegin = getCdocBegin();
-
-        if (root != null && root._leftOnly && cch == 0 && cbegin == 0)
-        {
-            assert _rightSplay == null;
-            assert _parentSplay != null;
-
-            if ((_parentSplay._leftSplay = _leftSplay) != null)
-                _leftSplay._parentSplay = _parentSplay;
-        }
-        else
-        {
-            splay( root, r );
-
-            if (_leftSplay == null)
-            {
-                r.adjustCchLeft( - cch );
-                r.adjustCdocBeginLeft( - cbegin );
-
-                if ((r._leftSplay = _rightSplay) != null)
-                    _rightSplay._parentSplay = r;
-            }
-            else
-            {
-                Splay p = prevSplay();
-
-                p.splay( root, this );
-
-                assert p._rightSplay == null;
-
-                r._leftSplay = p;
-                p._parentSplay = r;
-                r.adjustCchLeft( - cch );
-                r.adjustCdocBeginLeft( - cbegin );
-                p._rightSplay = _rightSplay;
-
-                if (p._rightSplay != null)
-                    p._rightSplay._parentSplay = p;
-            }
-        }
-
-        _leftSplay = _rightSplay = _parentSplay = null;
-        adjustCchLeft( - getCchLeft() );
-        adjustCdocBeginLeft( - getCdocBeginLeft() );
-
-        assert root == null || root.validateSplayTree();
-
-        return this;
-    }
-
-    //
-    // The Zoo (more like a petting zoo now)
-    //
-
-    static abstract class QNameSplay extends Splay
-    {
-        QNameSplay ( int kind, boolean is, QName name )
-        {
-            super( kind, is );
-            _name = name;
-        }
-
-        final QName getName ( ) { return _name; }
-        final void  changeName ( QName name ) { _name = name; }
-
-        final String getUri   ( ) { return _name.getNamespaceURI(); }
-        final String getLocal ( ) { return _name.getLocalPart();    }
-
-        private QName _name;
-    }
-
-    static abstract class Container extends QNameSplay
-    {
-        Container ( int kind, boolean is, QName name )
-            { super( kind, is, name ); }
-
-        abstract Finish getFinish ( );
-    }
-
-    static final class Doc extends Container
-    {
-        Doc ( Root r, QName name )
-            { super( DOC, false, name ); _root = r; }
-
-        Container getContainer ( ) { return null; }
-        Finish    getFinish ( ) { return _root; }
-
-        Root _root;
-    }
-
-    static class Begin extends Container
-    {
-        Begin ( QName name, Container container )
-            { super( BEGIN, false, name ); _container = container; }
-
-        final Container getContainer ( ) { return _container; }
-        final Finish    getFinish    ( ) { return _end; }
-
-        End         _end;
-        Container   _container;
-    }
-
-    static abstract class Finish extends Splay
-    {
-        Finish ( int kind ) { super( kind, false ); }
-    }
-
-    static final class End extends Finish
-    {
-        End ( Begin begin ) { super( END ); _begin = begin; }
-
-        Container getContainer ( ) { return _begin; }
-
-        final Begin _begin;
-    }
-
-    static final class Comment extends Splay
-    {
-        Comment ( ) { super( COMMENT, false ); }
-
-        Container getContainer ( ) { return findContainer(); }
-    }
-
-    static final class Fragment extends Splay
-    {
-        Fragment ( ) { super( COMMENT, true ); }
-
-        Container getContainer ( ) { return null; }
-    }
-
-    static class Attr extends QNameSplay
-    {
-        Attr ( QName name ) { super( ATTR, false, name ); }
-
-        Attr ( QName name, boolean isXmlns )
-        {
-            super( ATTR, true, name );
-            assert isXmlns;
-        }
-
-        Container getContainer ( )
-        {
-            for ( Splay s = prevSplay() ; ; s = s.prevSplay() )
-                if (!s.isAttr())
-                    return (Container) s;
-        }
-    }
-
-    static final class Xmlns extends Attr
-    {
-        Xmlns ( QName name ) { super( name, true ); }
-    }
-
-    static final class Procinst extends QNameSplay
-    {
-        Procinst ( QName target )
-        {
-            super( PROCINST, false, target );
-        }
-
-        Procinst ( String target )
-        {
-            super( PROCINST, false, new QName( "", target ) );
-        }
-
-        Container getContainer ( ) { return findContainer(); }
-    }
-
-    /**
-     * Every splay points to a collection of goobers.  Goobers can be
-     * aggregated into groups which share the same state (kind and position).
-     */
-
-    static final int CURSOR     = 0;
-    static final int TYPE       = 1;
-    static final int ANNOTATION = 2;
-    static final int AGGREGATE  = 3;
-
-    static abstract class Goober extends Goobers
-    {
-        Goober ( Root r, int kind )
-        {
-            _root = r;
-            _state = kind;
-        }
-
-        final int   getKind  ( ) { return _state & 7;  }
-        final Root  getRoot  ( ) { return _root;       }
-        final Splay getSplay ( ) { return _splay;      }
-        final int   getPos   ( ) { return _state >> 3; }
-        final int   getState ( ) { return _state;      }
-
-        final boolean isAnnotation ( ) { return getKind() == ANNOTATION; }
-
-        final void set ( Root r, Splay s, int p )
-        {
-            assert s != null;
-            doSet( r, s, p );
-        }
-
-        private final void doSet ( Root r, Splay s, int p )
-        {
-            assert s != null || p == 0;
-            assert Root.dv > 0 || s == null || r == s.getRootSlow();
-            assert Root.dv > 0 || _splay == null || _root == _splay.getRootSlow();
-//            assert Root.dv > 0 || _root == r || _splay.getRootSlow() != s.getRootSlow();
-
-            _root = r;
-
-            if (_splay != s)
-            {
-                if (_splay != null)
-                    remove();
-
-                if (s != null)
-                    append( s );
-            }
-
-            assert p >= 0;
-            assert _splay == null || p <= _splay.getMaxPos();
-            _state = p * 8 + (_state & 7);
-        }
-
-        final void set ( Root r )
-        {
-            assert r != null;
-            _root = r;
-        }
-
-        final void set ( Splay s, int p ) { doSet( getRoot(), s,          p ); }
-        final void set (          int p ) { doSet( getRoot(), getSplay(), p ); }
-
-        final void set ( Goober g )
-            { doSet( g.getRoot(), g.getSplay(), g.getPos() ); }
-
-        void disconnect ( Root r )
-        {
-            doSet( r, null, 0 );
-        }
-
-        private final void append ( Splay s )
-        {
-            assert s != null;
-            assert Root.dv > 0 || s.getRootSlow() == _root;
-            assert _splay == null;
-            assert _parent == null;
-            assert _next == null && _prev == null;
-
-            if (s._goobers == null)
-            {
-                s._goobers = this;
-                _next = _prev = this;
-            }
-            else
-            {
-                _next = s._goobers;
-                _prev = _next._prev;
-                _next._prev = this;
-                _prev._next = this;
-            }
-
-            _splay = s;
-            _parent = s;
-        }
-
-        private final void remove ( )
-        {
-            assert _splay != null;
-            assert _goobers == null;
-
-            if (_next == this)
-            {
-                assert _parent._goobers == this;
-
-                _parent._goobers = null;
-
-                // If parent is an aggregate goober, remove it too
-
-                if (_parent != _splay)
-                {
-                    Goober g = (Goober) _parent;
-                    assert g.getKind() == AGGREGATE;
-                    g.remove();
-                }
-            }
-            else
-            {
-                _prev._next = _next;
-                _next._prev = _prev;
-
-                if (_parent._goobers == this)
-                    _parent._goobers = _next;
-            }
-
-            _next = _prev = null;
-
-            _parent = null;
-            _splay = null;
-        }
-
-        XmlBookmark getBookmark ( )
-        {
-            return
-                getKind() == ANNOTATION
-                    ? ((Annotation) this).getXmlBookmark()
-                    : null;
-        }
-
-        String getKindName ( )
-        {
-            switch ( getKind() )
-            {
-            case CURSOR     : return "CURSOR";
-            case TYPE       : return "TYPE";
-            case ANNOTATION : return "ANNOTATION";
-            default         : return "<unknow goober kind>";
-            }
-        }
-
-        private Root _root;
-
-        private Splay _splay;
-
-        private int _state;  // pos and kind
-
-        Goober  _next;
-        Goober  _prev;
-        Goobers _parent;
-    }
-
-    static final class CursorGoober extends Goober
-    {
-        CursorGoober ( Root r )
-        {
-            super( r, CURSOR );
-        }
-
-        private static final HashMap createDebugIdMap ( )
-        {
-            // Creepy way to discover is assert is enabled.
-            HashMap map = null;
-            assert (map = new HashMap()) != null;
-            return map;
-        }
-
-        public int getDebugId ( )
-        {
-            if (_debugIds == null)
-                return -1;
-
-            synchronized ( _debugIds )
-            {
-                if (!_debugIds.containsKey( this ))
-                    _debugIds.put( this, new Integer( _nextDebugId++ ) );
-
-                return ((Integer) _debugIds.get( this )).intValue();
-            }
-        }
-
-        private static final HashMap _debugIds = createDebugIdMap();
-        private static int   _nextDebugId = 1;
-    }
-
-    static class Annotation extends Goober implements XmlMark
-    {
-        public Object monitor()
-        {
-            return getRoot();
-        }
-
-        Annotation ( Root r )
-        {
-            super( r, ANNOTATION );
-        }
-
-        Annotation ( Root r, XmlBookmark a )
-        {
-            this( r );
-
-            if (a._ref == null)
-                _annotation = a;
-            else
-                _ref = a._ref;
-
-            _key = a.getKey();
-        }
-
-        void setKey ( Object key )
-        {
-            _key = key;
-        }
-
-        // called via bookmark (public via XmlMark)
-        public final XmlCursor createCursor ( )
-        {
-            synchronized (monitor())
-            {
-                if (getSplay() == null)
-                {
-                    throw new IllegalStateException(
-                        "Attempting to create a cursor on a bookmark that " +
-                            "has been cleared or replaced.");
-                }
-
-                return new Cursor( getRoot(), getSplay(), getPos() );
-            }
-        }
-
-        public XmlBookmark getXmlBookmark ( )
-        {
-            if (_annotation != null)
-                return _annotation;
-
-            if (_ref != null)
-                return (XmlBookmark) _ref.get();
-
-            return null;
-        }
-
-        void disconnect ( Root r )
-        {
-            super.disconnect( r );
-
-            XmlBookmark xa = getXmlBookmark();
-
-            if (xa != null)
-                xa._currentMark = null;
-        }
-
-        XmlBookmark _annotation;
-        Reference     _ref;
-
-        Object _key;
-    }
-
-    final Goober firstGoober ( )
-    {
-        if (_goobers == null || _goobers.getKind() != AGGREGATE)
-            return _goobers;
-
-        assert _goobers._goobers != null;
-        assert _goobers._goobers.getKind() != AGGREGATE;
-
-        return _goobers._goobers;
-    }
-
-    final Goober nextGoober ( Goober g )
-    {
-        assert g != null;
-
-        if ((g = g._next) != g._parent._goobers)
-            return g;
-
-        return g._parent == g._splay ? null : nextGoober( (Goober) g._parent );
-    }
-
-    static final boolean _assertEnabled = getAssertEnabled();
-
-    private static boolean getAssertEnabled ( )
-    {
-        // Creepy way to discover is assert is enabled.
-        boolean enabled = false;
-        assert (enabled = true) || true;
-        return enabled;
-    }
-
-    static void assertAssertEnabled ( )
-    {
-        if (!_assertEnabled)
-        {
-            throw
-                new RuntimeException(
-                    "Assert needs to be enabled for this operation" );
-        }
-    }
-
-    // Associate id's with splays when asserts are enabled
-
-    private static final HashMap _debugIds =
-        _assertEnabled ? new HashMap() : null;
-
-    private static int _nextDebugId = 1;
-
-    public int getDebugId ( )
-    {
-        if (_debugIds == null)
-            return -1;
-
-        synchronized ( _debugIds )
-        {
-            if (!_debugIds.containsKey( this ))
-                _debugIds.put( this, new Integer( _nextDebugId++ ) );
-
-            return ((Integer) _debugIds.get( this )).intValue();
-        }
-    }
-
-    void dump ( ) { getRootSlow().dump(); }
-    void dump ( boolean verbose ) { getRootSlow().dump( verbose ); }
-
-    public Splay getSplayRootSlow ( )
-    {
-        assertAssertEnabled();
-
-        Splay s = this;
-
-        while ( s._parentSplay != null )
-            s = s._parentSplay;
-
-        return s;
-    }
-
-    public Root getRootSlow ( )
-    {
-        assertAssertEnabled();
-
-        Splay s = getSplayRootSlow();
-
-        return s.isRoot() ? (Root) s : null;
-    }
-
-    int getCpSlow ( )
-    {
-        assertAssertEnabled();
-
-        int cch = 0;
-
-        for ( Splay s = this ; (s = s.prevSplay()) != null ; )
-            cch += s.getCch();
-
-        return cch;
-    }
-
-    int compareSlow ( Splay sThat )
-    {
-        assertAssertEnabled();
-
-        assert Root.dv > 0 || getRootSlow() == sThat.getRootSlow();
-
-        if (this == sThat)
-            return 0;
-
-        for ( Splay s = this ; s != null ; s = s.nextSplay() )
-            if (s == sThat)
-                return -1;
-
-        for ( Splay s = this ; s != null ; s = s.prevSplay() )
-            if (s == sThat)
-                return 1;
-
-        assert false: "Yikes!";
-
-        return 0;
-    }
-
-    boolean validate ( )
-    {
-        assertAssertEnabled();
-
-        return getRootSlow().validate();
-    }
-
-    //
-    // Document splay tree members
-    //
-
-    Splay _leftSplay;
-    Splay _rightSplay;
-    Splay _parentSplay;
-
-    private int _bits; // 27: cDocbeginLeft, 1: invalid, 1: multi, 3: kind
-    private int _cch;
-    private int _cchAfter;
-    private int _cchLeft;
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Text.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Text.java
deleted file mode 100644
index c4744b2..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Text.java
+++ /dev/null
@@ -1,309 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-//import org.apache.xmlbeans.impl.store.Root.WriteContext;
-//import org.apache.xmlbeans.impl.store.Root.ReadContext;
-import java.io.IOException;
-
-public final class Text
-{
-    char[] _buf;
-    int    _gap;    // Where the gap starts
-    int    _gapLen; // The length of the gap
-
-    int length ( )
-    {
-        return bufLen() - _gapLen;
-    }
-
-    private int bufLen ( )
-    {
-        return _buf == null ? 0 : _buf.length;
-    }
-
-    private void copy ( char[] newBuf )
-    {
-        assert _buf != null && newBuf.length >= length();
-        
-        System.arraycopy( _buf, 0, newBuf, 0, _gap );
-
-        int lenAfterGap = _buf.length - _gap - _gapLen;
-
-        System.arraycopy(
-            _buf, _gap + _gapLen,
-            newBuf, newBuf.length - (lenAfterGap), lenAfterGap );
-    }
-
-    void resize ( int cch )
-    {
-        assert cch > _gapLen;
-        
-        int newSize = length() + cch;
-        int newLen = _buf == null ? 1024 : _buf.length * 2;
-
-        while ( newLen < newSize )
-            newLen *= 2;
-
-        char[] newBuf = new char [ newLen ];
-
-        if (_buf != null)
-        {
-            copy( newBuf );
-            _gapLen += newBuf.length - _buf.length;
-        }
-        else
-            _gapLen += newBuf.length;
-
-        _buf = newBuf;
-    }
-
-    void trim ( )
-    {
-        if (_buf != null && _gapLen != 0)
-        {
-            char[] newBuf = new char [ length() ];
-
-            copy( newBuf );
-
-            _buf = newBuf;
-            _gap = 0;
-            _gapLen = 0;
-        }
-    }
-
-    void move ( int pos, Text src, int srcPos, int cch )
-    {
-        insert( pos, src, srcPos, cch );
-
-        if (src == this && srcPos >= pos)
-            srcPos += cch;
-
-        src.remove( srcPos, cch );
-    }
-
-    void insert ( int pos, Object txt, int off, int cch )
-    {
-        if (txt != null)
-        {
-            if (txt instanceof String)
-                insert( pos, (String) txt, off, cch );
-            else if (txt instanceof Text)
-                insert( pos, (Text) txt, off, cch );
-            else
-            {
-                assert txt instanceof char[];
-                insert( pos, (char[]) txt, off, cch );
-            }
-        }
-    }
-    
-    void insert ( int pos, Text src, int srcPos, int cch )
-    {
-        //
-        // This can deal with copying from itself
-        //
-
-        if (cch > 0)
-        {
-            if (cch > _gapLen)
-                resize( cch );
-            
-            moveGap( pos );
-
-            if (srcPos + cch < src._gap)
-                System.arraycopy( src._buf, srcPos, _buf, _gap, cch );
-            else if (srcPos >= src._gap)
-            {
-                System.arraycopy(
-                    src._buf, srcPos + src._gapLen, _buf, _gap, cch );
-            }
-            else
-            {
-                int leftLen = src._gap - srcPos;
-            
-                System.arraycopy( src._buf, srcPos, _buf, _gap, leftLen );
-            
-                System.arraycopy(
-                    src._buf, src._gap + src._gapLen,
-                    _buf, _gap + leftLen, cch - leftLen );
-            }
-
-            _gap += cch;
-            _gapLen -= cch;
-        }
-    }
-    
-    void insert ( int pos, char[] chars, int off, int cch )
-    {
-        assert chars != _buf;
-        assert pos >= 0 && pos <= length();
-        
-        if (cch > 0)
-        {
-            if (cch > _gapLen)
-                resize( cch );
-
-            moveGap( pos );
-
-            System.arraycopy( chars, off, _buf, _gap, cch );
-
-            _gap += cch;
-            _gapLen -= cch;
-        }
-    }
-
-    void insert ( int pos, String s )
-    {
-        insert( pos, s, 0, s.length() );
-    }
-    
-    void insert ( int pos, String s, int off, int cch )
-    {
-        assert pos >= 0 && pos <= length();
-        
-        if (cch > 0)
-        {
-            assert off >= 0 && off < s.length();
-            assert cch <= s.length() - off;
-            
-            if (cch > _gapLen)
-                resize( cch );
-            
-            moveGap( pos );
-
-            s.getChars( off, off + cch, _buf, _gap );
-
-            _gap += cch;
-            _gapLen -= cch;
-        }
-    }
-
-    void remove ( int pos, int cch )
-    {
-        remove( pos, cch, null, 0 );
-    }
-    
-    void remove ( int pos, int cch, char[] retBuf, int off )
-    {
-        assert pos >= 0 && pos + cch <= length();
-
-        moveGap( pos );
-
-        assert retBuf == null || retBuf.length - off >= cch;
-
-        if (cch > 0 && retBuf != null)
-            System.arraycopy( _buf, _gap + _gapLen, retBuf, off, cch );
-        
-        _gapLen += cch;
-    }
-
-    void moveGap( int pos )
-    {
-        if (pos < _gap)
-            System.arraycopy( _buf, pos, _buf, pos + _gapLen, _gap - pos );
-        else if (pos > _gap)
-            System.arraycopy( _buf, _gap + _gapLen, _buf, _gap, pos - _gap);
-
-        _gap = pos;
-    }
-
-    int unObscure ( int pos, int cch )
-    {
-        assert cch >= 0;
-        assert pos >= 0 && pos + cch <= length();
-
-        if (cch > 0 && (pos < _gap && pos + cch > _gap))
-            moveGap( pos + cch );
-
-        return pos < _gap ? pos : pos + _gapLen;
-    }
-
-    void fetch ( StringBuffer sb, int pos, int cch )
-    {
-        assert pos >= 0 && pos + cch <= length();
-
-        if (cch == 0)
-            return;
-
-        if (pos + cch <= _gap)
-        {
-            sb.append( _buf, pos, cch );
-        }
-        else
-        {
-            if (pos >= _gap)
-            {
-                sb.append( _buf, pos + _gapLen, cch );
-            }
-            else
-            {
-                sb.append( _buf, pos, _gap - pos );
-                sb.append( _buf, _gap + _gapLen, cch - _gap + pos );
-            }
-        }
-    }
-
-    String fetch ( int pos, int cch )
-    {
-        assert pos >= 0 && pos + cch <= length();
-
-        if (cch == 0)
-            return "";
-
-        if (pos + cch <= _gap)
-            return new String( _buf, pos, cch );
-
-        if (pos >= _gap)
-            return new String( _buf, pos + _gapLen, cch );
-
-        StringBuffer sb = new StringBuffer();
-
-        sb.append( _buf, pos, _gap - pos );
-        sb.append( _buf, _gap + _gapLen, cch - _gap + pos );
-
-        return sb.toString();
-    }
-
-    void fetch ( char[] buf, int off, int pos, int cch )
-    {
-        assert off >= 0;
-        assert pos >= 0 && pos + cch <= length();
-        assert buf.length - off >= cch;
-
-        if (cch == 0)
-            return;
-        
-        if (pos + cch <= _gap)
-            System.arraycopy( _buf, pos, buf, off, cch );
-        else if (pos >= _gap)
-            System.arraycopy( _buf, pos + _gapLen, buf, off, cch );
-        else
-        {
-            int chunk = _gap - pos;
-            
-            System.arraycopy( _buf, pos, buf, off, chunk );
-            
-            System.arraycopy(
-                _buf, _gap + _gapLen, buf, off + chunk, cch - chunk );
-        }
-    }
-
-    public String toString ( )
-    {
-        return fetch( 0, length() );
-    }
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Type.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Type.java
deleted file mode 100644
index 0acdecf..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/Type.java
+++ /dev/null
@@ -1,1027 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import org.apache.xmlbeans.impl.common.ValidatorListener;
-import org.apache.xmlbeans.impl.common.XmlLocale;
-import org.apache.xmlbeans.impl.store.Splay.Attr;
-import org.apache.xmlbeans.impl.store.Splay.Begin;
-import org.apache.xmlbeans.impl.store.Splay.Container;
-import org.apache.xmlbeans.impl.store.Splay.CopyContext;
-import org.apache.xmlbeans.impl.store.Splay.Goober;
-import org.apache.xmlbeans.impl.values.NamespaceManager;
-import org.apache.xmlbeans.impl.values.TypeStore;
-import org.apache.xmlbeans.impl.values.TypeStoreUser;
-import org.apache.xmlbeans.impl.values.TypeStoreUserFactory;
-import org.apache.xmlbeans.impl.values.TypeStoreVisitor;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.SchemaField;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.namespace.QName;
-
-public final class Type extends Goober implements TypeStore
-{
-    Type ( Root r, SchemaType sType, Splay s )
-    {
-        this( r, ((TypeStoreUserFactory) sType).createTypeStoreUser(), s );
-    }
-    
-    Type ( Root r, TypeStoreUser user, Splay s )
-    {
-        super( r, Splay.TYPE );
-        
-        assert s.peekType() == null;
-        assert user != null;
-        assert s.isTypeable();
-        
-        _user = user;
-        
-        set( s, 0 );
-
-        if (user.uses_invalidate_value())
-            r._cInvalidatableTypes++;
-
-        if (user.is_child_element_order_sensitive())
-            r._cElemOrderSensitiveTypes++;
-        
-        user.attach_store( this );
-    }
-
-    void disconnect ( Root r )
-    {
-        super.disconnect( r );
-        
-        if (_user.uses_invalidate_value())
-            r._cInvalidatableTypes--;
-
-        if (_user.is_child_element_order_sensitive())
-            r._cElemOrderSensitiveTypes--;
-        
-        _user.disconnect_store();
-    }
-
-    //
-    //
-    //
-
-    SchemaType get_schema_type ( )
-    {
-        return _user.get_schema_type();
-    }
-    
-    SchemaType get_element_type ( QName eltName, QName xsiType )
-    {
-        return _user.get_element_type( eltName, xsiType );
-    }
-    
-    SchemaType get_attribute_type ( QName attrName )
-    {
-        return _user.get_attribute_type( attrName );
-    }
-    
-    TypeStoreUser create_element_user ( QName eltName, QName xsiType )
-    {
-        return _user.create_element_user( eltName, xsiType );
-    }
-            
-    TypeStoreUser create_attribute_user( QName attrName )
-    {
-        return _user.create_attribute_user( attrName );
-    }
-
-    XmlObject getXmlObject ( )
-    {
-        return (XmlObject) _user;
-    }
-
-    boolean uses_invalidate_value ( )
-    {
-        return _user.uses_invalidate_value();
-    }
-
-    boolean is_child_element_order_sensitive ( )
-    {
-        return _user.is_child_element_order_sensitive();
-    }
-
-    void invalidateText ( )
-    {
-        if (_inhibitUserInvalidate == 0)
-            _user.invalidate_value();
-    }
-
-    void invalidateNil ( )
-    {
-        if (_inhibitUserInvalidate == 0)
-            _user.invalidate_nilvalue();
-    }
-    
-    void invalidateElement ( Container container, Splay s )
-    {
-        assert s.getContainer() == container;
-        
-        if (_inhibitUserInvalidate > 0)
-            return;
-
-        Type containerType = container.peekType();
-
-        if (containerType == null)
-            return;
-
-        if (!containerType.is_child_element_order_sensitive())
-            return;
-
-        containerType._user.invalidate_value();
-
-        for ( ; ; s = s.nextSplay() )
-        {
-            if (s.isFinish())
-            {
-                assert s.getContainer() == container;
-                return;
-            }
-
-            if (s.isBegin())
-            {
-                Type childType = s.peekType();
-
-                if (childType != null)
-                    childType._user.invalidate_element_order();
-
-                s = s.getFinishSplay();
-            }
-
-            break;
-        }
-    }
-
-    String build_text ( NamespaceManager nsm )
-    {
-        return _user.build_text( nsm );
-    }
-
-    boolean build_nil ( )
-    {
-        return _user.build_nil();
-    }
-    
-    int validateContent ( Splay s, NamespaceManager nsm )
-    {
-        Root r = getRoot();
-        
-        assert s.isInvalid();
-        assert s.isLeaf() || s.isDoc();
-
-        String text = build_text( nsm );
-
-        assert text != null;
-
-        _inhibitUserInvalidate++;
-
-        // Validating does not logically change the doc
-        long oldVersion = r.getVersion();
-        
-        s.toggleIsInvalid(); // Prevents infinite recursion
-        
-        s.insertChars( 1, r, text, 0, text.length() );
-
-        r.restoreVersion( oldVersion );
-        
-        _inhibitUserInvalidate--;
-
-        return text.length();
-    }
-    
-    void validateValue ( Splay s, NamespaceManager nsm )
-    {
-        Root r = getRoot();
-        
-        assert s.isInvalid();
-        assert s.isNormalAttr();
-
-        String text = build_text( nsm );
-
-        assert text != null;
-
-        // Validating does not logically change the doc
-        long oldVersion = r.getVersion();
-        
-        _inhibitUserInvalidate++;
-        
-        s.toggleIsInvalid(); // Prevents infinite recursion
-        
-        s.setText( r, text, 0, text.length() );
-        
-        r.restoreVersion( oldVersion );
-        
-        _inhibitUserInvalidate--;
-    }
-
-    QNameSet get_element_ending_delimiters( QName qname )
-    {
-        return _user.get_element_ending_delimiters( qname );
-    }
-
-    //
-    //
-    //
-    
-    public boolean is_attribute ( )
-    {
-        return getSplay().isAttr();
-    }
-
-    public boolean validate_on_set()
-    {
-        return getRoot().validateOnSet();
-    }
-
-    public XmlCursor new_cursor ( )
-    {
-        return new Cursor( getRoot(), getSplay() );
-    }
-
-    public void validate ( ValidatorListener vEventSink )
-    {
-        new Saver.ValidatorSaver( getRoot(), getSplay(), 0, null, vEventSink );
-    }
-    
-    public SchemaTypeLoader get_schematypeloader ( )
-    {
-        return getRoot().getSchemaTypeLoader();
-    }
-    
-    public QName get_xsi_type ( )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer() || s.isNormalAttr();
-
-        if (s.isNormalAttr())
-            return null;
-
-        return s.getXsiTypeName( getRoot() );
-    }
-    
-    public TypeStoreUser change_type ( SchemaType sType )
-    {
-        Splay s = getSplay();
-
-        s.setType( getRoot(), sType, false );
-
-        Type t = s.getType( getRoot() );
-
-        assert t != null;
-        
-        return t._user;
-    }
-    
-    public void invalidate_text ( )
-    {
-        Splay s = getSplay();
-
-        assert s.isTypeable();
-
-        if (s.isInvalid())
-            return;
-        
-        _inhibitUserInvalidate++;
-
-        s.removeContent( getRoot(), false );
-
-        s.toggleIsInvalid();
-        assert s.isInvalid();
-        
-        _inhibitUserInvalidate--;
-    }
-    
-    public String fetch_text ( int whitespaceRule )
-    {
-        Splay s = getSplay();
-
-        assert !s.isInvalid();
-        
-        if (s.isInvalid())
-            throw new RuntimeException( "Can't fetch text when invalid" );
-
-        return s.getText( getRoot(), whitespaceRule );
-    }
-    
-    public void store_text ( String text )
-    {
-        _inhibitUserInvalidate++;
-        getSplay().setText( getRoot(), text, 0, text.length() );
-        _inhibitUserInvalidate--;
-    }
-    
-    public int compute_flags ( )
-    {
-        Splay s = getSplay();
-        
-        assert s.isTypeable();
-
-        if (s.isDoc())
-            return 0;
-
-        Container parentContainer = s.getContainer();
-
-        Type parentType = parentContainer.getType( getRoot() );
-
-        assert parentType != null;
-
-        TypeStoreUser parentUser = parentType._user;
-
-        if (s.isAttr())
-            return parentUser.get_attributeflags( s.getName() );
-
-        int f = parentUser.get_elementflags( s.getName() );
-
-        if (f != -1)
-            return f;
-
-        TypeStoreVisitor visitor = parentUser.new_visitor();
-
-        if (visitor == null)
-            return 0;
-
-        assert !parentContainer.isLeaf();
-        
-        for ( Splay t = parentContainer.nextSplay() ; ; t = t.nextSplay() )
-        {
-            switch ( t.getKind() )
-            {
-            case Splay.END :
-                assert false;
-                break;
-
-            case Splay.BEGIN :
-                visitor.visit( t.getName() );
-
-                if (t == s)
-                    return visitor.get_elementflags();
-
-                t = t.getFinishSplay();
-
-                break;
-            }
-        }
-    }
-
-    public SchemaField get_schema_field ( )
-    {
-        Splay s = getSplay();
-        
-        assert s.isTypeable();
-
-        if (s.isDoc())
-            return null;
-        
-        Container parentContainer = s.getContainer();
-
-        TypeStoreUser parentUser = parentContainer.getType( getRoot() )._user;
-        
-        if (s.isAttr())
-            return parentUser.get_attribute_field( s.getName() );
-
-        assert s.isBegin();
-
-        assert !parentContainer.isLeaf();
-        
-        TypeStoreVisitor visitor = parentUser.new_visitor();
-
-        if (visitor == null)
-            return null;
-
-        for ( Splay t = parentContainer.nextSplay() ; ; t = t.nextSplay() )
-        {
-            switch ( t.getKind() )
-            {
-            case Splay.END :
-                assert false;
-                break;
-
-            case Splay.BEGIN :
-                visitor.visit( t.getName() );
-
-                if (t == s)
-                    return visitor.get_schema_field();
-
-                t = t.getFinishSplay();
-
-                break;
-            }
-        }
-    }
-    
-    public int count_elements ( QName name )
-    {
-        return getRoot().count( (Container) getSplay(), name, null );
-    }
-
-    public int count_elements(QNameSet names)
-    {
-        return getRoot().count((Container)getSplay(),  null, names);
-    }
-    
-    public TypeStoreUser find_element_user ( QName name, int i )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        Begin nthBegin = getRoot().findNthBegin( s, name, null, i );
-
-        if (nthBegin == null)
-            return null;
-
-        Type t = nthBegin.getType( getRoot() );
-
-        assert t != null;
-        
-        return t._user;
-    }
-
-    public TypeStoreUser find_element_user ( QNameSet names, int i )
-    {
-        Splay s = getSplay();
-        assert s.isContainer();
-
-        Begin nthBegin = getRoot().findNthBegin(s,  null, names, i);
-        if (nthBegin == null) return null;
-
-        Type t = nthBegin.getType(getRoot());
-        assert t != null;
-
-        return t._user;
-    }
-    
-    private void findAllElementTypes ( QName name, QNameSet set, List fillMeUp )
-    {
-        assert getSplay().isContainer();
-
-        Splay s = getSplay();
-
-        if (s.isLeaf())
-            return;
-
-        loop:
-        for ( s = s.nextSplay() ; ; s = s.nextSplay() )
-        {
-            switch ( s.getKind() )
-            {
-            case Splay.END  :
-            case Splay.ROOT :
-            {
-                break loop;
-            }        
-            case Splay.BEGIN :
-            {
-                if (set == null)
-                {
-                    if (s.getName().equals( name ))
-                    {
-                        Type type = s.getType( getRoot() );
-
-                        assert type != null;
-                    
-                        fillMeUp.add( type );
-                    }
-                }
-                else
-                {
-                    if (set.contains(s.getName()))
-                    {
-                        Type type = s.getType(getRoot());
-                        assert type != null;
-                        fillMeUp.add(type);
-                    }
-                }
-
-                s = s.getFinishSplay();
-                break;
-            }
-            }
-        }
-    }
-
-    public void find_all_element_users ( QName name, List fillMeUp )
-    {
-        int i = fillMeUp.size();
-        
-        findAllElementTypes( name, null, fillMeUp );
-
-        for ( int j = i ; j < fillMeUp.size() ; j++ )
-            fillMeUp.set( j, ((Type) fillMeUp.get( j ))._user );
-    }
-
-    public void find_all_element_users (QNameSet names, List fillMeUp)
-    {
-        int i = fillMeUp.size();
-        findAllElementTypes(null, names, fillMeUp);
-
-        for ( int j = i ; j < fillMeUp.size() ; j++ )
-            fillMeUp.set( j, ((Type) fillMeUp.get( j ))._user );
-    }
-
-    public TypeStoreUser find_attribute_user ( QName name )
-    {
-        assert getSplay().isContainer();
-
-        Splay a = getSplay().getAttr( name );
-
-        if (a == null)
-            return null;
-
-        Type t = a.getType( getRoot() );
-
-        assert t != null;
-
-        return t._user;
-    }
-    
-    public String compute_default_text ( )
-    {
-        Splay s = getSplay();
-        
-        assert s.isTypeable();
-
-        if (s.isDoc())
-            return null;
-
-        Container parentContainer = s.getContainer();
-
-        Type parentType = parentContainer.getType( getRoot() );
-
-        assert parentType != null;
-
-        TypeStoreUser parentUser = parentType._user;
-
-        if (s.isAttr())
-            return parentUser.get_default_attribute_text( s.getName() );
-
-        String result = parentUser.get_default_element_text( s.getName() );
-
-        if (result != null)
-            return result;
-
-        TypeStoreVisitor visitor = parentUser.new_visitor();
-
-        if (visitor == null)
-            return null;
-
-        assert !parentContainer.isLeaf();
-        
-        for ( Splay t = parentContainer.nextSplay() ; ; t = t.nextSplay() )
-        {
-            switch ( t.getKind() )
-            {
-            case Splay.END :
-                assert false;
-                break;
-
-            case Splay.BEGIN :
-                visitor.visit( t.getName() );
-
-                if (t == s)
-                    return visitor.get_default_text();
-
-                t = t.getFinishSplay();
-                
-                break;
-            }
-        }
-    }
-    
-    public void invalidate_nil ( )
-    {
-        Splay s = getSplay();
-
-        assert s.isTypeable();
-
-        if (!s.isAttr())
-            s.setXsiNil( getRoot(), build_nil() );
-    }
-      
-    public boolean find_nil ( )
-    {
-        Splay s = getSplay();
-
-        assert s.isTypeable();
-  
-        return s.isAttr() ? false : s.getXsiNil( getRoot() );
-    }
-    
-    public String find_prefix_for_nsuri (
-        String nsuri, String suggested_prefix )
-    {
-        Splay s = getSplay();
-
-        if (s.isAttr())
-            s = s.getContainer();
-
-        String result = s.prefixForNamespace( getRoot(), nsuri, suggested_prefix, true);
-
-        assert result != null;
-
-        return result;
-    }
-    
-    public String getNamespaceForPrefix ( String prefix )
-    {
-        Splay s = getSplay();
-
-        if (s.isAttr())
-            s = s.getContainer();
-        
-        return s.namespaceForPrefix( prefix, true );
-    }
-
-    public TypeStoreUser insert_element_user ( QName name, int i )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        if (i < 0)
-            throw new IndexOutOfBoundsException();
-
-        Root r = getRoot();
-        Container c = (Container) s;
-
-        Begin nthBegin = r.findNthBegin( c, name, null, i );
-
-        if (nthBegin == null)
-        {
-            if (i > r.count( c, name, null ) + 1)
-                throw new IndexOutOfBoundsException();
-
-            return add_element_user( name );
-        }
-
-        return insertElement( name, nthBegin, 0 );
-    }
-
-    public TypeStoreUser insert_element_user(QNameSet set, QName name, int i)
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        if (i < 0)
-            throw new IllegalStateException();
-
-        Root r = getRoot();
-        Container c = (Splay.Container) s;
-
-        Begin nthBegin = r.findNthBegin(c, null, set, i);
-
-        if (nthBegin == null)
-        {
-            if (i > r.count(c, null, set))
-                throw new IndexOutOfBoundsException();
-
-            return add_element_user(name);
-        }
-
-        return insertElement(name, nthBegin, 0);
-    }
-    
-// TODO - consolidate names, this fcn is very expensive in creating names
-    public TypeStoreUser add_element_user ( QName qname )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        Splay candidateSplay;
-        int candidatePos;
-            
-        if (s.isLeaf())
-        {
-            candidateSplay = s;
-            candidatePos = s.getPosLeafEnd();
-        }
-        else
-        {
-            candidateSplay = s.getFinishSplay();
-            candidatePos = 0;
-
-            QNameSet endSet = null;
-            
-            loop:
-            for ( Splay t = candidateSplay ; ; )
-            {
-                for ( ; ; )
-                {
-                    t = t.prevSplay();
-                    
-                    if (t == s)
-                        break loop;
-                    
-                    if (t.isContainer())
-                        break;
-
-                    if (t.isEnd())
-                    {
-                        t = t.getContainer();
-                        break;
-                    }
-                }
-
-                assert t.isContainer();
-
-                if (t.getName().equals( qname ))
-                    break;
-
-                if (endSet == null)
-                    endSet = get_element_ending_delimiters( qname );
-
-                if (endSet.contains( t.getName() ))
-                    candidateSplay = t;
-            }
-        }
-        
-        return insertElement( qname, candidateSplay, candidatePos );
-    }
-
-    private TypeStoreUser insertElement ( QName name, Splay s, int p )
-    {
-        Root r = getRoot();
-        
-        Begin b = new Begin( name, null );
-        b.toggleIsLeaf();
-        
-        s.insert( r, p, b, null, 0, 0, true );
-        
-        Type t = b.getType( r );
-
-        assert t != null;
-        
-        return t._user;
-    }
-    
-    public void remove_element ( QName qname, int i )
-    {
-        if (i < 0)
-            throw new IndexOutOfBoundsException();
-        
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        if (s.isLeaf())
-            throw new IndexOutOfBoundsException();
-
-        Begin b = getRoot().findNthBegin( s, qname, null, i );
-
-        if (b == null)
-            throw new IndexOutOfBoundsException();
-
-        b.remove( getRoot(), true );
-    }
-
-    public void remove_element(QNameSet names, int i)
-    {
-        if (i < 0)
-            throw new IndexOutOfBoundsException();
-
-        Splay s = getSplay();
-
-        assert s.isContainer();
-
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        if (s.isLeaf())
-            throw new IndexOutOfBoundsException();
-
-        Begin b = getRoot().findNthBegin(s, null, names, i);
-
-        if (b == null)
-            throw new IndexOutOfBoundsException();
-
-        b.remove(getRoot(), true);
-
-    }
-    
-    public TypeStoreUser add_attribute_user ( QName qname )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        Splay a = s.getAttr( qname );
-
-        if (a != null)
-            throw new IndexOutOfBoundsException();
-        
-        s.nextSplay().insert(
-            getRoot(), 0, a = new Attr( qname ), null, 0, 0, true );
-        
-        Type t = a.getType( getRoot() );
-
-        assert t != null;
-
-        return t._user;
-    }
-    
-    public void remove_attribute ( QName qname )
-    {
-        Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        Splay a = s.getAttr( qname );
-
-        if (a == null)
-            throw new IndexOutOfBoundsException();
-        
-        a.remove( getRoot(), true );
-    }
-    
-    public TypeStoreUser copy_contents_from ( TypeStore source )
-    {
-        assert source instanceof Type;
-
-        Type sourceType = (Type) source;
-
-        Splay s = getSplay();
-
-        s.replaceContents( getRoot(), sourceType.getSplay(), sourceType.getRoot(), true, true );
-        
-        return s.getType( getRoot() )._user;
-    }
-
-    public void array_setter ( XmlObject[] sources, QName elementName )
-    {
-        // TODO - this is the quick and dirty implementation, make this faster
-        
-        int m = sources.length;
-
-        ArrayList copies = new ArrayList();
-        ArrayList types = new ArrayList();
-
-        for ( int i = 0 ; i < m ; i++ )
-        {
-// TODO - deal with null sources[ i ] here -- what to do?
-
-            if (sources[ i ] == null)
-                throw new IllegalArgumentException( "Array element null" );
-            
-            else if (sources[ i ].isImmutable())
-            {
-                copies.add( null );
-                types.add( null );
-            }
-            else
-            {
-                Type type = (Type) ((TypeStoreUser) sources[ i ]).get_store();
-                
-                copies.add( type.getSplay().copySplayContents( type.getRoot()));
-                
-                types.add( sources[ i ].schemaType() );
-            }
-        }
-
-        int n = count_elements( elementName );
-
-        for ( ; n > m ; n-- )
-            remove_element( elementName, m );
-
-        for ( ; m > n ; n++ )
-            add_element_user( elementName );
-
-        assert m == n;
-        
-        ArrayList elements = new ArrayList();
-        
-        findAllElementTypes( elementName, null, elements );
-
-        Root r = getRoot();
-        
-        assert elements.size() == n;
-
-        for ( int i = 0 ; i < n ; i++ )
-        {
-            Type type = (Type) elements.get( i );
-
-            if (sources[ i ].isImmutable())
-                type.getXmlObject().set( sources[ i ] );
-            else
-            {
-                Splay s = type.getSplay();
-
-                assert r == type.getRoot();
-
-                assert s.isContainer();
-                
-                s.removeContent( r, true );
-                
-                CopyContext copyContext = (CopyContext) copies.get( i );
-
-                Splay copyTree = copyContext.getTree();
-
-                if (copyTree != null)
-                {
-                    char[] textCopy = copyContext.getText();
-
-                    s.insert(
-                        r, 1, copyTree, textCopy, 0, textCopy == null ? 0 : textCopy.length, true );
-                }
-
-                type.change_type( (SchemaType) types.get( i ) );
-            }
-        }
-    }
-    
-    public void visit_elements ( TypeStoreVisitor visitor )
-    {
-       Splay s = getSplay();
-
-        assert s.isContainer();
-        
-        if (!s.isContainer())
-            throw new IllegalStateException();
-
-        if (s.isLeaf())
-            return;
-        
-        for ( s = s.nextSplay() ; ; s = s.nextSplay() )
-        {
-            switch ( s.getKind() )
-            {
-            case Splay.END :
-                break;
-
-            case Splay.BEGIN :
-                visitor.visit( s.getName() );
-                s = s.getFinishSplay();
-                break;
-            }
-        }
-    }
-
-    public XmlObject[] exec_query ( String queryExpr, XmlOptions options )
-        throws XmlException
-    {
-        return Path.query( this, queryExpr, options );
-    }
-    
-    //
-    //
-    //
-    
-    public Object get_root_object()
-    {
-        return getRoot();
-    }
-
-    public XmlLocale get_locale ( )
-    {
-        throw new RuntimeException( "Old store does not support xml locale semantics" );
-    }
-            
-    private final TypeStoreUser _user;
-    private int _inhibitUserInvalidate;
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XmlObjectList.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XmlObjectList.java
deleted file mode 100644
index f322326..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XmlObjectList.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-// BUGBUG: ***TLL*** Why isn't this exposed in org.apache.xmlbeans????
-
-import org.apache.xmlbeans.XmlObject;
-import java.util.Iterator;
-
-
-/**
- * Interface to represent lists of XmlObject instances returned
- * from a query. Used also as a convenient typed way of collecting
- * XmlObject instances.
- */
-public interface XmlObjectList {
-
-    /**
-     * Adds a XmlObject to the end of the list.
-     *
-     * @param xml the XmlObject instance to add to the list
-     */
-    void add(XmlObject xml);
-
-    /**
-     * Appends the contents of another list to this list.
-     *
-     * @param xmlList the list which is to be appended to this list.
-     */
-    void addAll(XmlObjectList xmlList);
-
-    /**
-     * Appends an array of XmlObject instances to this list.
-     *
-     * @param xmlArray the array which is to be appended to this list.
-     */
-    void addAll(XmlObject[] xmlArray);
-
-    /**
-     * Clears out the contents of this list. After this operation,
-     * {@link #isEmpty() isEmpty()} will return <code>true</code>.
-     */
-    void clear();
-
-    /**
-     * Gets the XmlObject at a specified position in the list.
-     *
-     * @param index the specified position
-     * @return the XmlObject at the position in this list.
-     *
-     * @throws IndexOutOfBoundsException if
-     *         <code>(index < 0) || (index >= size())</code>
-     */
-    XmlObject get(int index);
-
-    /**
-     * Tests if this XmlList is empty. This is equivalent to
-     * <code>{@link #size() size()} == 0</code>.
-     *
-     * @return boolean indicating if this list is empty.
-     */
-    boolean isEmpty();
-
-    /**
-     * Returns an Iterator over all the XmlObject instances contained in this
-     * list. This iterator will throw an UnsupportedOperationException in
-     * response to its remove method.
-     *
-     * @return Iterator over the contents of this list
-     */
-    Iterator iterator();
-
-    /**
-     * Returns the number of XmlObject instances contained in this list.
-     *
-     * @return int size of the list.
-     */
-    int size();
-
-    /**
-     * Returns a copy of the contents of the XmlList in a newly created array of
-     * XmlObjects.
-     *
-     * @return array of XmlObject instances which is a copy of the contents of
-     *         the list.
-     */
-    XmlObject[] toArray();
-
-
-
-    /**
-     * Static factory class for creating new instances of XmlObjectList
-     */
-    public static final class Factory
-    {
-        // the class to instantiate
-        private static final Class CLASS;
-        static {
-            try {
-                CLASS = Class.forName("com.bea.wli.variables.XmlObjectListImpl");
-            } catch (Throwable t) {
-                IllegalStateException ise = new IllegalStateException("Cannot load XmlObjectListImpl.");
-                ise.initCause(t);
-                throw ise;
-            }
-        }
-
-
-        /**
-         * creates a new empty XmlObjectList instance.
-         *
-         * @return a new empty XmlObjectList instance
-         */
-        public static XmlObjectList newInstance() {
-            try {
-                return (XmlObjectList)CLASS.newInstance();
-            } catch (InstantiationException ie) {
-                throw new RuntimeException(ie);
-            } catch (IllegalAccessException iae) {
-                throw new RuntimeException(iae);
-            }
-        }
-
-
-        /**
-         * creates a new XmlObjectList instance, filled with the elements
-         * of the given list
-         *
-         * @return a new XmlObjectList instance.
-         */
-        public static XmlObjectList newInstance(XmlObjectList list) {
-            try {
-                XmlObjectList newList = (XmlObjectList)CLASS.newInstance();
-                newList.addAll(list);
-                return newList;
-            } catch (InstantiationException ie) {
-                throw new RuntimeException(ie);
-            } catch (IllegalAccessException iae) {
-                throw new RuntimeException(iae);
-            }
-        }
-
-
-        /**
-         * creates a new XmlObjectList instance given an array of XmlObjects.
-         *
-         * @return a new XmlObjectList instance.
-         */
-        public static XmlObjectList newInstance(XmlObject[] xmlObjects) {
-            try {
-                XmlObjectList newList = (XmlObjectList) CLASS.newInstance();
-                newList.addAll(xmlObjects);
-                return newList;
-            } catch (InstantiationException ie) {
-                throw new RuntimeException(ie);
-            } catch (IllegalAccessException iae) {
-                throw new RuntimeException(iae);
-            }
-        }
-    }
-}
diff --git a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XqrlDelegate.java b/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XqrlDelegate.java
deleted file mode 100644
index 6e39c27..0000000
--- a/v2/src/xmlstore/org/apache/xmlbeans/impl/store/XqrlDelegate.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.store;
-
-import java.lang.reflect.Method;
-
-public final class XqrlDelegate 
-{
-    private XqrlDelegate ( )
-    {
-    }
-
-//    static void check ( Object o )
-//    {
-//        if (o == null)
-//        {
-//            throw
-//                new UnsupportedOperationException(
-//                    "This operation requires xqrl.jar" );
-//        }
-//    }
-
-    static Path.Query compilePath ( String path, String currentNodeVar )
-    {
-        if (_compilePath==null)
-            return null;
-
-        return
-            (Path.Query)
-                invoke( _compilePath, new Object[] { path, currentNodeVar } );
-    }
-    
-    static Path.Query compileQuery ( String queryExpr, String currentNodeVar )
-    {
-        return
-            (Path.Query)
-                invoke(
-                    _compileQuery, new Object[] { queryExpr, currentNodeVar, new Boolean(true) } );
-    }
-    
-    private static void throwRuntimeException ( Throwable e )
-    {
-        if (e instanceof RuntimeException)
-            throw (RuntimeException) e;
-        
-        Throwable cause = e.getCause();
-        
-        RuntimeException rte = new RuntimeException( cause.getMessage() );
-        
-        rte.initCause( cause );
-
-        throw rte;
-    }
-
-    private static Object invoke ( Method method, Object[] params )
-    {
-        if (method == null)
-        {
-            throw
-                new UnsupportedOperationException(
-                    "This query is too complex to be processed." );
-        }
-
-        try
-        {
-            return method.invoke( null, params );
-        }
-        catch ( Throwable e )
-        {
-            throwRuntimeException( e );
-            
-            return null; // Unreachable
-        }
-    }
-
-    // Loose coupling functionality with xqrl.jar
-
-    private static Method _compilePath;
-    private static Method _compileQuery;
-
-    static
-    {
-        boolean hasXqrl;
-        
-        try
-        {
-            Class.forName( "org.apache.xmlbeans.impl.store.XqrlImpl" );
-            
-            hasXqrl = true;
-        }
-        catch ( ClassNotFoundException e )
-        {
-            hasXqrl = false;
-        }
-
-        if (hasXqrl)
-        {
-            try
-            {
-                Class xqrlImpl =
-                    Class.forName( "org.apache.xmlbeans.impl.store.XqrlImpl" );
-
-                _compilePath =
-                    xqrlImpl.getDeclaredMethod(
-                        "compilePath",
-                        new Class[] { String.class, String.class } );
-
-                _compileQuery =
-                    xqrlImpl.getDeclaredMethod(
-                        "compileQuery",
-                        new Class[] { String.class, String.class, Boolean.class } );
-                
-            }
-            catch ( Exception e )
-            {
-                throw new RuntimeException( e );
-            }
-        }
-    }
-}
diff --git a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansNavigator.java b/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansNavigator.java
deleted file mode 100644
index bc2d7c9..0000000
--- a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansNavigator.java
+++ /dev/null
@@ -1,814 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.xpath.jaxen;
-import org.jaxen.XPath;
-import org.jaxen.Navigator;
-import org.jaxen.DefaultNavigator;
-import org.jaxen.FunctionCallException;
-import org.jaxen.UnsupportedAxisException;
-//import org.jaxen.NamedAccessNavigator;
-import org.jaxen.util.AncestorAxisIterator;
-import org.jaxen.util.FollowingSiblingAxisIterator;
-import org.jaxen.util.PrecedingSiblingAxisIterator;
-import org.jaxen.util.FollowingAxisIterator;
-import org.jaxen.util.PrecedingAxisIterator;
-import org.jaxen.util.SelfAxisIterator;
-import org.jaxen.util.DescendantOrSelfAxisIterator;
-import org.jaxen.util.AncestorOrSelfAxisIterator;
-import org.jaxen.util.SingleObjectIterator;
-import org.jaxen.util.DescendantAxisIterator;
-import org.jaxen.saxpath.SAXPathException;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.namespace.QName;
-import java.util.Iterator;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Oct 10, 2003
- */
-public class XBeansNavigator
-    extends DefaultNavigator
-//    implements NamedAccessNavigator
-{
-    private XmlCursor _xc;
-
-    private XBeansNavigator()
-    {}
-
-    /** Retrieve an instance of this <code>DocumentNavigator</code>.
-     */
-    public static Navigator getInstance()
-    {
-        return new XBeansNavigator();
-    }
-
-
-    static class JaxenNode
-        extends XmlCursor.XmlBookmark
-    {
-        public String toString()
-        {
-            XmlCursor xc = this.createCursor();
-            return "{Node:" + xc.currentTokenType().toString() + " " + xc.toString() + "}";
-        }
-    }
-
-
-    //
-    // DefaultNavigator implementation
-    //
-
-    /** Retrieve the namespace URI of the given element node.
-     *
-     *  @param element The context element node.
-     *
-     *  @return The namespace URI of the element node.
-     */
-    public String getElementNamespaceUri(Object element)
-    {
-        ((JaxenNode)element).toBookmark(_xc);
-        return _xc.getName().getNamespaceURI();
-    }
-
-    /** Retrieve the name of the given element node.
-     *
-     *  @param element The context element node.
-     *
-     *  @return The name of the element node.
-     */
-    public String getElementName(Object element)
-    {
-        ((JaxenNode)element).toBookmark(_xc);
-        return _xc.getName().getLocalPart();
-    }
-
-    /** Retrieve the QName of the given element node.
-     *
-     *  @param element The context element node.
-     *
-     *  @return The QName of the element node.
-     */
-    public String getElementQName(Object element)
-    {
-        ((JaxenNode)element).toBookmark(_xc);
-        String prefix = _xc.getName().getPrefix();
-        return ( !"".equals(prefix) ? prefix + ":" : "" ) + _xc.getName().getLocalPart();
-    }
-
-    /** Retrieve the namespace URI of the given attribute node.
-     *
-     *  @param attr The context attribute node.
-     *
-     *  @return The namespace URI of the attribute node.
-     */
-    public String getAttributeNamespaceUri(Object attr)
-    {
-        ((JaxenNode)attr).toBookmark(_xc);
-        return _xc.getName().getNamespaceURI();
-    }
-
-    /** Retrieve the name of the given attribute node.
-     *
-     *  @param attr The context attribute node.
-     *
-     *  @return The name of the attribute node.
-     */
-    public String getAttributeName(Object attr)
-    {
-        ((JaxenNode)attr).toBookmark(_xc);
-        return _xc.getName().getLocalPart();
-    }
-
-    /** Retrieve the QName of the given attribute node.
-     *
-     *  @param attr The context attribute node.
-     *
-     *  @return The QName of the attribute node.
-     */
-    public String getAttributeQName(Object attr)
-    {
-        ((JaxenNode)attr).toBookmark(_xc);
-        String uri = _xc.getName().getNamespaceURI();
-        String prefix = _xc.prefixForNamespace(uri);
-        return ( !"".equals(prefix) ? prefix + ":" : "" ) + _xc.getName().getLocalPart();
-    }
-
-    /** Returns whether the given object is a document node. A document node
-     *  is the node that is selected by the xpath expression <code>/</code>.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is a document node,
-     *          else <code>false</code>
-     */
-    public boolean isDocument(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isStartdoc();
-    }
-
-    /** Returns whether the given object is an element node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is an element node,
-     *          else <code>false</code>
-     */
-    public boolean isElement(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isStart();
-    }
-
-    /** Returns whether the given object is an attribute node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is an attribute node,
-     *          else <code>false</code>
-     */
-    public boolean isAttribute(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isAttr();
-    }
-
-    /** Returns whether the given object is a namespace node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is a namespace node,
-     *          else <code>false</code>
-     */
-    public boolean isNamespace(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isNamespace();
-    }
-
-    /** Returns whether the given object is a comment node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is a comment node,
-     *          else <code>false</code>
-     */
-    public boolean isComment(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isComment();
-    }
-
-    /** Returns whether the given object is a text node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is a text node,
-     *          else <code>false</code>
-     */
-    public boolean isText(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isText();
-    }
-
-    /** Returns whether the given object is a processing-instruction node.
-     *
-     *  @param object The object to test.
-     *
-     *  @return <code>true</code> if the object is a processing-instruction node,
-     *          else <code>false</code>
-     */
-    public boolean isProcessingInstruction(Object object)
-    {
-        ((JaxenNode)object).toBookmark(_xc);
-        return _xc.isProcinst();
-    }
-
-    /** Retrieve the string-value of a comment node.
-     *
-     *  @param comment The comment node.
-     *
-     *  @return The string-value of the node.
-     */
-    public String getCommentStringValue(Object comment)
-    {
-        ((JaxenNode)comment).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-    /** Retrieve the string-value of an element node.
-     *
-     *  @param element The comment node.
-     *
-     *  @return The string-value of the node.
-     */
-    public String getElementStringValue(Object element)
-    {
-        ((JaxenNode)element).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-    /** Retrieve the string-value of an attribute node.
-     *
-     *  @param attr The attribute node.
-     *
-     *  @return The string-value of the node.
-     */
-    public String getAttributeStringValue(Object attr)
-    {
-        ((JaxenNode)attr).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-    /** Retrieve the string-value of a namespace node.
-     *
-     *  @param ns The namespace node.
-     *
-     *  @return The string-value of the node.
-     */
-    public String getNamespaceStringValue(Object ns)
-    {
-        ((JaxenNode)ns).toBookmark(_xc);
-        return _xc.getName().getNamespaceURI();
-    }
-
-    /** Retrieve the string-value of a text node.
-     *
-     *  @param txt The text node.
-     *
-     *  @return The string-value of the node.
-     */
-    public String getTextStringValue(Object txt)
-    {
-        ((JaxenNode)txt).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-    /** Retrieve the namespace prefix of a namespace node.
-     *
-     *  @param ns The namespace node.
-     *
-     *  @return The prefix associated with the node.
-     */
-    public String getNamespacePrefix(Object ns)
-    {
-        ((JaxenNode)ns).toBookmark(_xc);
-        return _xc.getName().getLocalPart();
-    }
-
-    /** Returns a parsed form of the given xpath string, which will be suitable
-     *  for queries on documents that use the same navigator as this one.
-     *
-     *  @see org.jaxen.XPath
-     *
-     *  @param xpath The xpath expression.
-     *
-     *  @return A new XPath expression object.
-     *
-     *  @throws org.jaxen.saxpath.SAXPathException If an error occurs while parsing the
-     *          xpath expression.
-     */
-    public XPath parseXPath(String xpath)
-            throws SAXPathException
-    {
-        return new XBeansXPath(xpath);
-    }
-
-    //
-    // Overwritten methods
-    //
-
-    public static class ChildIterator implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private XmlCursor _xc = null;
-
-        ChildIterator(XmlCursor xc)
-        {
-            _xc = xc;
-            XmlCursor.TokenType tk = _xc.toFirstContentToken(); //not including atts and ns-es
-            if (tk.isFinish())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-
-            res.toBookmark(_xc);
-
-            if (_xc.currentTokenType() == XmlCursor.TokenType.START)
-            {
-                _xc.toEndToken();
-            }
-
-            if (_xc.toNextToken().isFinish())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-
-            return res;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getChildAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        return new ChildIterator(_xc);
-    }
-
-    public Iterator getDescendantAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new DescendantAxisIterator( contextNode, this );
-        /*
-            ((JaxenNode)contextNode).toBookmark(_xc);
-            return new DescendantIterator(_xc);
-        */
-    }
-
-    public Iterator getParentAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        if (_xc.toParent())
-            return new SingleObjectIterator(getBookmarkInThisPlace(_xc));
-        else
-            return null;
-    }
-
-    public Iterator getAncestorAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new AncestorAxisIterator( contextNode, this );
-    }
-
-    public Iterator getFollowingSiblingAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new FollowingSiblingAxisIterator( contextNode, this );
-    }
-
-    public Iterator getPrecedingSiblingAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new PrecedingSiblingAxisIterator( contextNode, this );
-    }
-
-    public Iterator getFollowingAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new FollowingAxisIterator( contextNode, this );
-    }
-
-    public Iterator getPrecedingAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new PrecedingAxisIterator( contextNode, this );
-    }
-
-    public static class AttributeIterator implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private XmlCursor _xc = null;
-
-        AttributeIterator(XmlCursor xc)
-        {
-            _xc = xc;
-            if (!_xc.toFirstAttribute())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-
-            res.toBookmark(_xc);
-
-            if (!_xc.toNextAttribute())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-
-            return res;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getAttributeAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        return new AttributeIterator(_xc);
-    }
-
-    public static class NamespaceIterator implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private XmlCursor _xc = null;
-
-        NamespaceIterator(XmlCursor xc)
-        {
-            _xc = xc;
-            while (true)
-            {
-                XmlCursor.TokenType tk = _xc.toNextToken();
-                if (tk == XmlCursor.TokenType.ATTR)
-                    continue;
-                if (tk == XmlCursor.TokenType.NAMESPACE)
-                {
-                    _nextNode = getBookmarkInThisPlace(_xc);
-                    break;
-                }
-
-                _nextNode = null;
-                return;
-            }
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-            res.toBookmark(_xc);
-
-            if (_xc.toNextToken().isNamespace())
-                _nextNode = getBookmarkInThisPlace(_xc);
-            else
-                _nextNode = null;
-
-            return res;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getNamespaceAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        return new NamespaceIterator(_xc);
-    }
-
-    public Iterator getSelfAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new SelfAxisIterator( contextNode );
-    }
-
-    public static class DescendantOrSelfAxisItr implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private XmlCursor _xc = null;
-
-        DescendantOrSelfAxisItr(XmlCursor xc)
-        {
-            _xc = xc;
-            XmlCursor.TokenType tk = _xc.toFirstContentToken(); //not including atts and ns-es
-            if (tk.isFinish())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-
-            res.toBookmark(_xc);
-
-            if (_xc.currentTokenType() == XmlCursor.TokenType.START)
-            {
-                _xc.toEndToken();
-            }
-
-            if (_xc.toNextToken().isFinish())
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-
-            return res;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getDescendantOrSelfAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new DescendantOrSelfAxisIterator( contextNode, this );
-        //((JaxenNode)contextNode).toBookmark(_xc);
-        //return new DescendantOrSelfAxisIterator(_xc);
-    }
-
-    public Iterator getAncestorOrSelfAxisIterator(Object contextNode) throws UnsupportedAxisException
-    {
-        return new AncestorOrSelfAxisIterator( contextNode, this );
-        //((JaxenNode)contextNode).toBookmark(_xc);
-        //return new AncestorOrSelfAxisIterator(_xc);
-    }
-
-    public Object getDocumentNode(Object contextNode)
-    {
-            ((JaxenNode)contextNode).toBookmark(_xc);
-            _xc.toStartDoc();
-            return getBookmarkInThisPlace(_xc);
-    }
-
-    public String translateNamespacePrefixToUri(String prefix, Object element)
-    {
-            ((JaxenNode)element).toBookmark(_xc);
-            return _xc.namespaceForPrefix(prefix);
-    }
-
-    public String getProcessingInstructionTarget(Object obj)
-    {
-        ((JaxenNode)obj).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-    public String getProcessingInstructionData(Object obj)
-    {
-        ((JaxenNode)obj).toBookmark(_xc);
-        return _xc.getTextValue();
-    }
-
-
-    public Object getDocument(String url) throws FunctionCallException
-    {
-        return null;
-    }
-
-    /**
-     *  Default implementation that can not find elements. Override in subclass
-     *  if subclass does know about attribute types.
-     *
-     *  @param object   a node from the document in which to look for the
-     *                       id
-     *  @param elementId   id to look for
-     *
-     *  @return   null
-     */
-    public Object getElementById(Object object, String elementId)
-    {
-        return null;
-    }
-
-    public static class NamedChildIterator implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private QName _qname;
-        private XmlCursor _xc = null;
-
-        NamedChildIterator(XmlCursor xc, String localName, String namespaceURI)
-        {
-            _xc = xc;
-            _qname = new QName( (namespaceURI==null ? "" : namespaceURI), localName);
-
-            if (!_xc.toFirstChild())
-            {
-                _nextNode = null;
-                return;
-            }
-            if (!(_xc.currentTokenType()==XmlCursor.TokenType.START &&
-                  _xc.getName().equals(_qname)
-               ))
-            {
-                if (!_xc.toNextSibling(_qname))
-                {
-                    _nextNode = null;
-                    return;
-                }
-            }
-            _nextNode = getBookmarkInThisPlace(_xc);
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-            res.toBookmark(_xc);
-
-            if (!_xc.toNextSibling(_qname))
-                _nextNode = null;
-            else
-                _nextNode = getBookmarkInThisPlace(_xc);
-
-            return res;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getChildAxisIterator(
-            Object contextNode,
-            String localName, String namespacePrefix, String namespaceURI)
-            throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        return new NamedChildIterator(_xc, localName, namespaceURI);
-    }
-
-    public static class NamedAttributeIterator implements Iterator
-    {
-        private JaxenNode _nextNode = null;
-        private QName _qname;
-        private XmlCursor _xc;
-
-        NamedAttributeIterator(XmlCursor xc, String local, String uri)
-        {
-            _xc = xc;
-            _qname = new QName(( uri==null ? "" : uri), local);
-
-            XmlCursor.TokenType tk = _xc.toNextToken();
-            if (tk!=XmlCursor.TokenType.ATTR)
-            {
-                _nextNode = null;
-                return;
-            }
-
-            if ( _xc.getName().equals(_qname) )
-            {
-                _nextNode = getBookmarkInThisPlace(_xc);
-                return;
-            }
-            _nextNode = move(_xc);
-            return;
-        }
-
-        public boolean hasNext()
-        {
-            if (_nextNode == null)
-                return false;
-
-            return true;
-        }
-
-        public Object next()
-        {
-            if (_nextNode == null)
-                return null;
-
-            JaxenNode res = _nextNode;
-            res.toBookmark(_xc);
-
-            _nextNode = move(_xc);
-            return res;
-        }
-
-        private JaxenNode move(XmlCursor xc)
-        {
-            if (xc.currentTokenType() != XmlCursor.TokenType.ATTR )
-            {
-                return null;
-            }
-
-            while(xc.toNextToken()==XmlCursor.TokenType.ATTR)
-            {
-                if ( xc.getName().equals(_qname) )
-                {
-                    return getBookmarkInThisPlace(xc);
-                }
-            }
-            return null;
-        }
-
-        public void remove() { throw new RuntimeException("optional method not implemented"); }
-    }
-
-    public Iterator getAttributeAxisIterator(
-            Object contextNode,
-            String localName, String namespacePrefix, String namespaceURI)
-            throws UnsupportedAxisException
-    {
-        ((JaxenNode)contextNode).toBookmark(_xc);
-        return new NamedAttributeIterator(_xc, localName, namespaceURI);
-    }
-
-    static JaxenNode getBookmarkInThisPlace(XmlCursor xc)
-    {
-        JaxenNode rez = (JaxenNode)xc.getBookmark(JaxenNode.class);
-        if (rez==null)
-        {
-            rez = new JaxenNode();
-            xc.setBookmark(rez);
-        }
-
-        return rez;
-    }
-
-    XmlCursor getCursor()
-    {
-        return _xc;
-    }
-
-    void setCursor(XmlCursor xc)
-    {
-        this._xc = xc;
-    }
-}
diff --git a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPath.java b/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPath.java
deleted file mode 100644
index a40f12b..0000000
--- a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPath.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.xpath.jaxen;
-
-import org.jaxen.BaseXPath;
-import org.jaxen.JaxenException;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-
-import java.util.List;
-import java.util.AbstractList;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Oct 10, 2003
- */
-public class XBeansXPath extends BaseXPath
-{
-    /** Construct given an XPath expression string.
-     *
-     *  @param xpathExpr The XPath expression.
-     *
-     *  @throws org.jaxen.JaxenException if there is a syntax error while
-     *          parsing the expression.
-     */
-    public XBeansXPath(String xpathExpr) throws JaxenException
-    {
-        super( xpathExpr, XBeansNavigator.getInstance() );
-    }
-
-    /** Select all nodes that are selectable by this XPath
-     *  expression. If multiple nodes match, multiple nodes
-     *  will be returned.
-     *
-     *  <p>
-     *  <b>NOTE:</b> In most cases, nodes will be returned
-     *  in document-order, as defined by the XML Canonicalization
-     *  specification.  The exception occurs when using XPath
-     *  expressions involving the <code>union</code> operator
-     *  (denoted with the pipe '|' character).
-     *  </p>
-     *
-     *  @param node The node, nodeset or Context object for evaluation. This value can be null.
-     *
-     *  @return The <code>node-set</code> of all items selected
-     *          by this XPath expression.
-     *
-     *  @see #selectSingleNode
-     */
-    public List selectNodes(Object node) throws JaxenException
-    {
-        XmlCursor xc;
-        if (node instanceof XmlObject)
-        {
-            xc = ((XmlObject)node).newCursor();
-        }
-        else if (node instanceof XmlCursor)
-        {
-            xc = ((XmlCursor)node).newCursor();
-        }
-        else
-            throw new IllegalArgumentException("node must be an XmlObject or an XmlCursor, found: " + node.getClass());
-
-        ((XBeansNavigator)getNavigator()).setCursor(xc);
-        return new ListImpl(super.selectNodes( XBeansNavigator.getBookmarkInThisPlace(xc) ));
-    }
-
-    private static class ListImpl extends AbstractList
-    {
-        private List _results;
-
-        private ListImpl(List results)
-        {
-            _results = results;
-        }
-
-        public Object get(int index)
-        {
-            if (_results==null)
-                return null;
-
-            return ((XBeansNavigator.JaxenNode)_results.get(index)).createCursor();
-        }
-
-        public int size()
-        {
-            return (_results==null ? 0 : _results.size());
-        }
-    }
-}
diff --git a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPathAdv.java b/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPathAdv.java
deleted file mode 100644
index 608b619..0000000
--- a/v2/src/xpath/org/apache/xmlbeans/impl/xpath/jaxen/XBeansXPathAdv.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*   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.
- */
-
-package org.apache.xmlbeans.impl.xpath.jaxen;
-
-import org.jaxen.BaseXPath;
-import org.jaxen.JaxenException;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.impl.store.JaxenXBeansDelegate;
-
-import java.util.List;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Oct 10, 2003
- */
-public class XBeansXPathAdv
-    extends BaseXPath
-    implements JaxenXBeansDelegate.SelectPathInterface
-{
-    /** Construct given an XPath expression string.
-     *
-     *  @param xpathExpr The XPath expression.
-     *
-     *  @throws org.jaxen.JaxenException if there is a syntax error while
-     *          parsing the expression.
-     */
-    public XBeansXPathAdv(String xpathExpr) throws JaxenException
-    {
-        super( xpathExpr, XBeansNavigator.getInstance() );
-    }
-
-    /** Select all nodes that are selectable by this XPath
-     *  expression. If multiple nodes match, multiple nodes
-     *  will be returned.
-     *
-     *  <p>
-     *  <b>NOTE:</b> In most cases, nodes will be returned
-     *  in document-order, as defined by the XML Canonicalization
-     *  specification.  The exception occurs when using XPath
-     *  expressions involving the <code>union</code> operator
-     *  (denoted with the pipe '|' character).
-     *  </p>
-     *
-     *  <p>
-     *  <b>NOTE:</b> Param node must be an XmlCursor, which will be used during the xpath
-     *  execution and iteration through the results. A call of node.dispose() must be done
-     *  after reading all results.
-     *  </p>
-     *
-     *  @param node The node, nodeset or Context object for evaluation. This value can be null.
-     *
-     *  @return The <code>node-set</code> of all items selected
-     *          by this XPath expression.
-     *
-     *  @see #selectSingleNode
-     */
-    public List selectNodes(Object node) throws JaxenException
-    {
-        XmlCursor xc;
-        xc = ((XmlCursor)node);
-
-        ((XBeansNavigator)getNavigator()).setCursor(xc);
-        return super.selectNodes( XBeansNavigator.getBookmarkInThisPlace(xc) );
-    }
-
-    public List selectPath(Object node)
-    {
-        try
-        {
-            return selectNodes(node);
-        }
-        catch (JaxenException e)
-        {
-            throw new RuntimeException(e);
-        }
-    }
-}
diff --git a/v2/src/xsdschema/schema/XMLSchema.xsd b/v2/src/xsdschema/schema/XMLSchema.xsd
deleted file mode 100644
index c82b249..0000000
--- a/v2/src/xsdschema/schema/XMLSchema.xsd
+++ /dev/null
@@ -1,2549 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
-<!-- Note this schema is NOT the normative structures schema. -->
-
-<!-- The prose copy in the structures REC is the normative -->
-
-<!-- version (which shouldn't differ from this one except for -->
-
-<!-- this comment and entity expansions, but just in case -->
-
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [
-
-<!-- provide ID type information even for parsers which only read the
-     internal subset -->
-<!ATTLIST xs:schema          id  ID  #IMPLIED>
-<!ATTLIST xs:complexType     id  ID  #IMPLIED>
-<!ATTLIST xs:complexContent  id  ID  #IMPLIED>
-<!ATTLIST xs:simpleContent   id  ID  #IMPLIED>
-<!ATTLIST xs:extension       id  ID  #IMPLIED>
-<!ATTLIST xs:element         id  ID  #IMPLIED>
-<!ATTLIST xs:group           id  ID  #IMPLIED> 
-<!ATTLIST xs:all             id  ID  #IMPLIED>
-<!ATTLIST xs:choice          id  ID  #IMPLIED>
-<!ATTLIST xs:sequence        id  ID  #IMPLIED>
-<!ATTLIST xs:any             id  ID  #IMPLIED>
-<!ATTLIST xs:anyAttribute    id  ID  #IMPLIED>
-<!ATTLIST xs:attribute       id  ID  #IMPLIED>
-<!ATTLIST xs:attributeGroup  id  ID  #IMPLIED>
-<!ATTLIST xs:unique          id  ID  #IMPLIED>
-<!ATTLIST xs:key             id  ID  #IMPLIED>
-<!ATTLIST xs:keyref          id  ID  #IMPLIED>
-<!ATTLIST xs:selector        id  ID  #IMPLIED>
-<!ATTLIST xs:field           id  ID  #IMPLIED>
-<!ATTLIST xs:include         id  ID  #IMPLIED>
-<!ATTLIST xs:import          id  ID  #IMPLIED>
-<!ATTLIST xs:redefine        id  ID  #IMPLIED>
-<!ATTLIST xs:notation        id  ID  #IMPLIED>
-<!--
-     keep this schema XML1.0 DTD valid
-  -->
-        <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
-
-        <!ELEMENT hfp:hasFacet EMPTY>
-        <!ATTLIST hfp:hasFacet
-                name NMTOKEN #REQUIRED>
-
-        <!ELEMENT hfp:hasProperty EMPTY>
-        <!ATTLIST hfp:hasProperty
-                name NMTOKEN #REQUIRED
-                value CDATA #REQUIRED>
-<!--
-        Make sure that processors that do not read the external
-        subset will know about the various IDs we declare
-  -->
-        <!ATTLIST xs:simpleType id ID #IMPLIED>
-        <!ATTLIST xs:maxExclusive id ID #IMPLIED>
-        <!ATTLIST xs:minExclusive id ID #IMPLIED>
-        <!ATTLIST xs:maxInclusive id ID #IMPLIED>
-        <!ATTLIST xs:minInclusive id ID #IMPLIED>
-        <!ATTLIST xs:totalDigits id ID #IMPLIED>
-        <!ATTLIST xs:fractionDigits id ID #IMPLIED>
-        <!ATTLIST xs:length id ID #IMPLIED>
-        <!ATTLIST xs:minLength id ID #IMPLIED>
-        <!ATTLIST xs:maxLength id ID #IMPLIED>
-        <!ATTLIST xs:enumeration id ID #IMPLIED>
-        <!ATTLIST xs:pattern id ID #IMPLIED>
-        <!ATTLIST xs:appinfo id ID #IMPLIED>
-        <!ATTLIST xs:documentation id ID #IMPLIED>
-        <!ATTLIST xs:list id ID #IMPLIED>
-        <!ATTLIST xs:union id ID #IMPLIED>
-        ]>
-<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
- <xs:annotation>
-  <xs:documentation>
-    Part 1 version: Id: XMLSchema.xsd,v 1.53 2003/02/24 17:40:07 ht Exp 
-    Part 2 version: Id: datatypes.xsd,v 1.60 2003/04/05 11:02:30 ht Exp 
-  </xs:documentation>
-  <xs:documentation>
-    Apache XMLBean changes:
-
-    2003/05/14: The regular expressions that describe integrity constraint
-    xpaths has been modified to permit whitespaces in certain places, as
-    discussed in one of the errata.
-
-    2003/05/28: the type of the &lt;element> element in an &lt;all> group has
-    been given a name so that it is legal to use the type in both a base type
-    and a restriction when using the allModel (otherwise it breaks one of the
-    particle-valid (restriction) rules).
-
-    2003/09/15: finalDefault has been changed to permit "list" and "union"
-
-  </xs:documentation>
- </xs:annotation>
-
-
- <xs:annotation>
-   <xs:documentation source="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html">
-   The schema corresponding to this document is normative,
-   with respect to the syntactic constraints it expresses in the
-   XML Schema language.  The documentation (within &lt;documentation> elements)
-   below, is not normative, but rather highlights important aspects of
-   the W3C Recommendation of which this is a part</xs:documentation>
- </xs:annotation>
-
- <xs:annotation>
-   <xs:documentation>
-   The simpleType element and all of its members are defined
-      towards the end of this schema document</xs:documentation>
- </xs:annotation>
-
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
-   <xs:annotation>
-     <xs:documentation>
-       Get access to the xml: attribute groups for xml:lang
-       as declared on 'schema' and 'documentation' below
-     </xs:documentation>
-   </xs:annotation>
- </xs:import>
-
- <xs:complexType name="openAttrs">
-   <xs:annotation>
-     <xs:documentation>
-       This type is extended by almost all schema types
-       to allow attributes from other namespaces to be
-       added to user schemas.
-     </xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-     <xs:restriction base="xs:anyType">
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-     </xs:restriction>
-   </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="annotated">
-   <xs:annotation>
-     <xs:documentation>
-       This type is extended by all types which allow annotation
-       other than &lt;schema&gt; itself
-     </xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-     <xs:extension base="xs:openAttrs">
-       <xs:sequence>
-         <xs:element ref="xs:annotation" minOccurs="0"/>
-       </xs:sequence>
-       <xs:attribute name="id" type="xs:ID"/>
-     </xs:extension>
-   </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="schemaTop">
-  <xs:annotation>
-   <xs:documentation>
-   This group is for the
-   elements which occur freely at the top level of schemas.
-   All of their types are based on the "annotated" type by extension.</xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:group ref="xs:redefinable"/>
-   <xs:element ref="xs:element"/>
-   <xs:element ref="xs:attribute"/>
-   <xs:element ref="xs:notation"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:group name="redefinable">
-  <xs:annotation>
-   <xs:documentation>
-   This group is for the
-   elements which can self-redefine (see &lt;redefine> below).</xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:element ref="xs:simpleType"/>
-   <xs:element ref="xs:complexType"/>
-   <xs:element ref="xs:group"/>
-   <xs:element ref="xs:attributeGroup"/>
-  </xs:choice>
- </xs:group>
-
- <xs:simpleType name="formChoice">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:NMTOKEN">
-   <xs:enumeration value="qualified"/>
-   <xs:enumeration value="unqualified"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="defaultDerivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:derivationControl">
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-   <xs:enumeration value="list"/>
-   <xs:enumeration value="union"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="defaultDerivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>    
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list itemType="xs:defaultDerivationControl"/>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:simpleType name="reducedDerivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:derivationControl">
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="derivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>    
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list itemType="xs:reducedDerivationControl"/>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:element name="schema" id="schema">
-  <xs:annotation>
-    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:openAttrs">
-     <xs:sequence>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:element ref="xs:include"/>
-       <xs:element ref="xs:import"/>
-       <xs:element ref="xs:redefine"/>
-       <xs:element ref="xs:annotation"/>
-      </xs:choice>
-      <xs:sequence minOccurs="0" maxOccurs="unbounded">
-       <xs:group ref="xs:schemaTop"/>
-       <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-     </xs:sequence>
-     <xs:attribute name="targetNamespace" type="xs:anyURI"/>
-     <xs:attribute name="version" type="xs:normalizedString"/>
-     <xs:attribute name="finalDefault" type="xs:defaultDerivationSet" use="optional" default=""/>
-     <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>
-     <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
-     <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>
-     <xs:attribute name="id" type="xs:ID"/>
-     <xs:attribute ref="xml:lang"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
-
-  <xs:key name="element">
-   <xs:selector xpath="xs:element"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="attribute">
-   <xs:selector xpath="xs:attribute"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="type">
-   <xs:selector xpath="xs:complexType|xs:simpleType"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="group">
-   <xs:selector xpath="xs:group"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="attributeGroup">
-   <xs:selector xpath="xs:attributeGroup"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
- 
-  <xs:key name="notation">
-   <xs:selector xpath="xs:notation"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
-  <xs:key name="identityConstraint">
-   <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
-   <xs:field xpath="@name"/>
-  </xs:key>
-
- </xs:element>
-
- <xs:simpleType name="allNNI">
-  <xs:annotation><xs:documentation>
-   for maxOccurs</xs:documentation></xs:annotation>
-  <xs:union memberTypes="xs:nonNegativeInteger">
-   <xs:simpleType>
-    <xs:restriction base="xs:NMTOKEN">
-     <xs:enumeration value="unbounded"/>
-    </xs:restriction>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:attributeGroup name="occurs">
-  <xs:annotation><xs:documentation>
-   for all particles</xs:documentation></xs:annotation>
-  <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/>
-  <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/>
- </xs:attributeGroup>
-
- <xs:attributeGroup name="defRef">
-  <xs:annotation><xs:documentation>
-   for element, group and attributeGroup,
-   which both define and reference</xs:documentation></xs:annotation>
-  <xs:attribute name="name" type="xs:NCName"/>
-  <xs:attribute name="ref" type="xs:QName"/>
- </xs:attributeGroup>
-
- <xs:group name="typeDefParticle">
-  <xs:annotation>
-    <xs:documentation>
-   'complexType' uses this</xs:documentation></xs:annotation>
-  <xs:choice>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:all"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-  </xs:choice>
- </xs:group>
- 
- 
-
- <xs:group name="nestedParticle">
-  <xs:choice>
-   <xs:element name="element" type="xs:localElement"/>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-   <xs:element ref="xs:any"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:group name="particle">
-  <xs:choice>
-   <xs:element name="element" type="xs:localElement"/>
-   <xs:element name="group" type="xs:groupRef"/>
-   <xs:element ref="xs:all"/>
-   <xs:element ref="xs:choice"/>
-   <xs:element ref="xs:sequence"/>
-   <xs:element ref="xs:any"/>
-  </xs:choice>
- </xs:group>
- 
- <xs:complexType name="attribute">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
-    </xs:sequence>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attribute name="type" type="xs:QName"/>
-    <xs:attribute name="use" use="optional" default="optional">
-     <xs:simpleType>
-      <xs:restriction base="xs:NMTOKEN">
-       <xs:enumeration value="prohibited"/>
-       <xs:enumeration value="optional"/>
-       <xs:enumeration value="required"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-    <xs:attribute name="default" type="xs:string"/>
-    <xs:attribute name="fixed" type="xs:string"/>
-    <xs:attribute name="form" type="xs:formChoice"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelAttribute">
-  <xs:complexContent>
-   <xs:restriction base="xs:attribute">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="form" use="prohibited"/>
-    <xs:attribute name="use" use="prohibited"/>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="attrDecls">
-  <xs:sequence>
-   <xs:choice minOccurs="0" maxOccurs="unbounded">
-    <xs:element name="attribute" type="xs:attribute"/>
-    <xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
-   </xs:choice>
-   <xs:element ref="xs:anyAttribute" minOccurs="0"/>
-  </xs:sequence>
- </xs:group>
-
- <xs:element name="anyAttribute" type="xs:wildcard" id="anyAttribute">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:group name="complexTypeModel">
-  <xs:choice>
-      <xs:element ref="xs:simpleContent"/>
-      <xs:element ref="xs:complexContent"/>
-      <xs:sequence>
-       <xs:annotation>
-        <xs:documentation>
-   This branch is short for
-   &lt;complexContent>
-   &lt;restriction base="xs:anyType">
-   ...
-   &lt;/restriction>
-   &lt;/complexContent></xs:documentation>
-       </xs:annotation>
-       <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
-       <xs:group ref="xs:attrDecls"/>
-      </xs:sequence>
-  </xs:choice>
- </xs:group>
-
- <xs:complexType name="complexType" abstract="true">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:complexTypeModel"/>
-    <xs:attribute name="name" type="xs:NCName">
-     <xs:annotation>
-      <xs:documentation>
-      Will be restricted to required or forbidden</xs:documentation>
-     </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">
-     <xs:annotation>
-      <xs:documentation>
-      Not allowed if simpleContent child is chosen.
-      May be overriden by setting on complexContent child.</xs:documentation>
-    </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="final" type="xs:derivationSet"/>
-    <xs:attribute name="block" type="xs:derivationSet"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelComplexType">
-  <xs:complexContent>
-   <xs:restriction base="xs:complexType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:complexTypeModel"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="required"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="localComplexType">
-  <xs:complexContent>
-   <xs:restriction base="xs:complexType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:complexTypeModel"/>
-    </xs:sequence>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:attribute name="abstract" use="prohibited"/>
-    <xs:attribute name="final" use="prohibited"/>
-    <xs:attribute name="block" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="restrictionType">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:choice minOccurs="0">
-      <xs:group ref="xs:typeDefParticle"/>
-      <xs:group ref="xs:simpleRestrictionModel"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="base" type="xs:QName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:complexType name="complexRestrictionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:restrictionType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:annotation>
-       <xs:documentation>This choice is added simply to
-                   make this a valid restriction per the REC</xs:documentation>
-      </xs:annotation>
-      <xs:group ref="xs:typeDefParticle"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:complexType name="extensionType">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="base" type="xs:QName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>       
- </xs:complexType>
-
- <xs:element name="complexContent" id="complexContent">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:choice>
-      <xs:element name="restriction" type="xs:complexRestrictionType"/>
-      <xs:element name="extension" type="xs:extensionType"/>
-     </xs:choice>     
-     <xs:attribute name="mixed" type="xs:boolean">
-      <xs:annotation>
-       <xs:documentation>
-       Overrides any setting on complexType parent.</xs:documentation>
-      </xs:annotation>
-    </xs:attribute>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:complexType name="simpleRestrictionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:restrictionType">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:annotation>
-       <xs:documentation>This choice is added simply to
-                   make this a valid restriction per the REC</xs:documentation>
-      </xs:annotation>
-      <xs:group ref="xs:simpleRestrictionModel"/>
-     </xs:choice>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="simpleExtensionType">
-  <xs:complexContent>
-   <xs:restriction base="xs:extensionType">
-    <xs:sequence>
-     <xs:annotation>
-      <xs:documentation>
-      No typeDefParticle group reference</xs:documentation>
-     </xs:annotation>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="simpleContent" id="simpleContent">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:choice>
-      <xs:element name="restriction" type="xs:simpleRestrictionType"/>
-      <xs:element name="extension" type="xs:simpleExtensionType"/>
-     </xs:choice>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
- 
- <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/>
-  </xs:annotation>
- </xs:element>
-
-
-  <xs:simpleType name="blockSet">
-   <xs:annotation>
-    <xs:documentation>
-    A utility type, not for public use</xs:documentation>
-    <xs:documentation>
-    #all or (possibly empty) subset of {substitution, extension,
-    restriction}</xs:documentation>
-   </xs:annotation>
-   <xs:union>
-    <xs:simpleType>    
-     <xs:restriction base="xs:token">
-      <xs:enumeration value="#all"/>
-     </xs:restriction>
-    </xs:simpleType>
-    <xs:simpleType>
-     <xs:list>
-      <xs:simpleType>
-       <xs:restriction base="xs:derivationControl">
-        <xs:enumeration value="extension"/>
-        <xs:enumeration value="restriction"/>
-        <xs:enumeration value="substitution"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:list>
-    </xs:simpleType>
-   </xs:union>  
-  </xs:simpleType>
-
- <xs:complexType name="element" abstract="true">
-  <xs:annotation>
-   <xs:documentation>
-   The element element can be used either
-   at the top level to define an element-type binding globally,
-   or within a content model to either reference a globally-defined
-   element or type or declare an element-type binding locally.
-   The ref form is not allowed at the top level.</xs:documentation>
-  </xs:annotation>
-
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attribute name="type" type="xs:QName"/>
-    <xs:attribute name="substitutionGroup" type="xs:QName"/>
-    <xs:attributeGroup ref="xs:occurs"/>
-    <xs:attribute name="default" type="xs:string"/>
-    <xs:attribute name="fixed" type="xs:string"/>
-    <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
-    <xs:attribute name="final" type="xs:derivationSet"/>
-    <xs:attribute name="block" type="xs:blockSet"/>
-    <xs:attribute name="form" type="xs:formChoice"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="topLevelElement">
-  <xs:complexContent>
-   <xs:restriction base="xs:element">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="form" use="prohibited"/>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="localElement">
-  <xs:complexContent>
-   <xs:restriction base="xs:element">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0">
-      <xs:element name="simpleType" type="xs:localSimpleType"/>
-      <xs:element name="complexType" type="xs:localComplexType"/>
-     </xs:choice>
-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="substitutionGroup" use="prohibited"/>
-    <xs:attribute name="final" use="prohibited"/>
-    <xs:attribute name="abstract" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="element" type="xs:topLevelElement" id="element">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="group" abstract="true">
-  <xs:annotation>
-   <xs:documentation>
-   group type for explicit groups, named top-level groups and
-   group references</xs:documentation>
-  </xs:annotation>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
-    <xs:attributeGroup ref="xs:defRef"/>
-    <xs:attributeGroup ref="xs:occurs"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="realGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:group">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="0" maxOccurs="1">
-      <xs:element ref="xs:all"/>
-      <xs:element ref="xs:choice"/>
-      <xs:element ref="xs:sequence"/>
-     </xs:choice>
-    </xs:sequence>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="namedGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:realGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:choice minOccurs="1" maxOccurs="1">
-      <xs:element name="all">
-       <xs:complexType>
-        <xs:complexContent>
-         <xs:restriction base="xs:all">
-          <xs:group ref="xs:allModel"/>
-          <xs:attribute name="minOccurs" use="prohibited"/>
-          <xs:attribute name="maxOccurs" use="prohibited"/>
-          <xs:anyAttribute namespace="##other" processContents="lax"/>
-         </xs:restriction>
-        </xs:complexContent>
-       </xs:complexType>
-      </xs:element>
-      <xs:element name="choice" type="xs:simpleExplicitGroup"/>
-      <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
-     </xs:choice>
-    </xs:sequence>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="groupRef">
-  <xs:complexContent>
-   <xs:restriction base="xs:realGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="required" type="xs:QName"/>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="explicitGroup">
-  <xs:annotation>
-   <xs:documentation>
-   group type for the three kinds of group</xs:documentation>
-  </xs:annotation>
-  <xs:complexContent>
-   <xs:restriction base="xs:group">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
-    <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="simpleExplicitGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:explicitGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="minOccurs" use="prohibited"/>
-    <xs:attribute name="maxOccurs" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:group name="allModel">
-  <xs:sequence>
-      <xs:element ref="xs:annotation" minOccurs="0"/>
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:annotation>
-        <xs:documentation>This choice with min/max is here to
-                          avoid a pblm with the Elt:All/Choice/Seq
-                          Particle derivation constraint</xs:documentation>
-       </xs:annotation>
-       <xs:element name="element" type="xs:elementInAll"/>
-      </xs:choice>
-     </xs:sequence>
- </xs:group>
-
-  <xs:complexType name="elementInAll">
-   <xs:annotation>
-    <xs:documentation>restricted max/min</xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-    <xs:restriction base="xs:localElement">
-     <xs:sequence>
-      <xs:element ref="xs:annotation" minOccurs="0"/>
-      <xs:choice minOccurs="0">
-       <xs:element name="simpleType" type="xs:localSimpleType"/>
-       <xs:element name="complexType" type="xs:localComplexType"/>
-      </xs:choice>
-      <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
-     </xs:sequence>
-     <xs:attribute name="minOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:nonNegativeInteger">
-        <xs:enumeration value="0"/>
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:attribute name="maxOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:allNNI">
-        <xs:enumeration value="0"/>
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:restriction>
-   </xs:complexContent>
-  </xs:complexType>    
-
-  <xs:complexType name="all">
-   <xs:annotation>
-    <xs:documentation>
-   Only elements allowed inside</xs:documentation>
-   </xs:annotation>
-   <xs:complexContent>
-    <xs:restriction base="xs:explicitGroup">
-     <xs:group ref="xs:allModel"/>
-     <xs:attribute name="minOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:nonNegativeInteger">
-        <xs:enumeration value="0"/>
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:attribute name="maxOccurs" use="optional" default="1">
-      <xs:simpleType>
-       <xs:restriction base="xs:allNNI">
-        <xs:enumeration value="1"/>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-     <xs:anyAttribute namespace="##other" processContents="lax"/>
-    </xs:restriction>
-   </xs:complexContent>
-  </xs:complexType>
-
- <xs:element name="all" id="all" type="xs:all">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="choice" type="xs:explicitGroup" id="choice">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="sequence" type="xs:explicitGroup" id="sequence">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="group" type="xs:namedGroup" id="group">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="wildcard">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>
-    <xs:attribute name="processContents" use="optional" default="strict">
-     <xs:simpleType>
-      <xs:restriction base="xs:NMTOKEN">
-       <xs:enumeration value="skip"/>
-       <xs:enumeration value="lax"/>
-       <xs:enumeration value="strict"/>
-      </xs:restriction>
-     </xs:simpleType>
-    </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="any" id="any">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:wildcard">
-     <xs:attributeGroup ref="xs:occurs"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
-  <xs:annotation>
-   <xs:documentation>
-   simple type for the value of the 'namespace' attr of
-   'any' and 'anyAttribute'</xs:documentation>
-  </xs:annotation>
-  <xs:annotation>
-   <xs:documentation>
-   Value is
-              ##any      - - any non-conflicting WFXML/attribute at all
-
-              ##other    - - any non-conflicting WFXML/attribute from
-                              namespace other than targetNS
-
-              ##local    - - any unqualified non-conflicting WFXML/attribute 
-
-              one or     - - any non-conflicting WFXML/attribute from
-              more URI        the listed namespaces
-              references
-              (space separated)
-
-    ##targetNamespace or ##local may appear in the above list, to
-        refer to the targetNamespace of the enclosing
-        schema or an absent targetNamespace respectively</xs:documentation>
-  </xs:annotation>
-
- <xs:simpleType name="namespaceList">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="##any"/>
-     <xs:enumeration value="##other"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:list>
-     <xs:simpleType>
-      <xs:union memberTypes="xs:anyURI">
-       <xs:simpleType>
-        <xs:restriction base="xs:token">
-         <xs:enumeration value="##targetNamespace"/>
-         <xs:enumeration value="##local"/>
-        </xs:restriction>
-       </xs:simpleType>
-      </xs:union>
-     </xs:simpleType>
-    </xs:list>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
- <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:complexType name="attributeGroup" abstract="true">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:group ref="xs:attrDecls"/>
-    <xs:attributeGroup ref="xs:defRef"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- 
- <xs:complexType name="namedAttributeGroup">
-  <xs:complexContent>
-   <xs:restriction base="xs:attributeGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-     <xs:group ref="xs:attrDecls"/>
-    </xs:sequence>
-    <xs:attribute name="name" use="required" type="xs:NCName"/>
-    <xs:attribute name="ref" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="attributeGroupRef">
-  <xs:complexContent>
-   <xs:restriction base="xs:attributeGroup">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="ref" use="required" type="xs:QName"/>
-    <xs:attribute name="name" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="attributeGroup" type="xs:namedAttributeGroup" id="attributeGroup">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/>
-  </xs:annotation>
- </xs:element>
-
- <xs:element name="include" id="include">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="redefine" id="redefine">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:openAttrs">
-     <xs:choice minOccurs="0" maxOccurs="unbounded">
-      <xs:element ref="xs:annotation"/>
-      <xs:group ref="xs:redefinable"/>
-     </xs:choice>
-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
-     <xs:attribute name="id" type="xs:ID"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="import" id="import">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="namespace" type="xs:anyURI"/>
-     <xs:attribute name="schemaLocation" type="xs:anyURI"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="selector" id="selector">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>
-  </xs:annotation>
-  <xs:complexType>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-     <xs:attribute name="xpath" use="required">
-      <xs:simpleType>
-       <xs:annotation>
-        <xs:documentation>A subset of XPath expressions for use
-in selectors</xs:documentation>
-        <xs:documentation>A utility type, not for public
-use</xs:documentation>
-       </xs:annotation>
-       <xs:restriction base="xs:token">
-        <xs:annotation>
-         <xs:documentation>The following pattern is intended to allow XPath
-                           expressions per the following EBNF:
-          Selector    ::=    Path ( '|' Path )*  
-          Path    ::=    ('.//')? Step ( '/' Step )*  
-          Step    ::=    '.' | NameTest  
-          NameTest    ::=    QName | '*' | NCName ':' '*'  
-                           child:: is also allowed
-         </xs:documentation>
-        </xs:annotation>
-        <!-- TSH modified to allow white space -->
-        <xs:pattern
-            value="(\.\s*//\s*)?(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)(\s*/\s*(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.))*(\s*\|\s*(\.\s*//\s*)?(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)(\s*/\s*(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">
-        </xs:pattern>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="field" id="field">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>
-  </xs:annotation>
-  <xs:complexType>
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-     <xs:attribute name="xpath" use="required">
-      <xs:simpleType>
-       <xs:annotation>
-        <xs:documentation>A subset of XPath expressions for use
-in fields</xs:documentation>
-        <xs:documentation>A utility type, not for public
-use</xs:documentation>
-       </xs:annotation>
-       <xs:restriction base="xs:token">
-        <xs:annotation>
-         <xs:documentation>The following pattern is intended to allow XPath
-                           expressions per the same EBNF as for selector,
-                           with the following change:
-          Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 
-         </xs:documentation>
-        </xs:annotation>
-        <!-- TSH modified to allow white space -->
-        <xs:pattern value="(\.\s*//\s*)?((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)\s*/\s*)*((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute\s*::\s*|@\s*)((\i\c*:)?(\i\c*|\*))))(\s*\|\s*(\s*\.//\s*)?((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute\s*::\s*|@\s*)((\i\c*:)?(\i\c*|\*)))))*">
-        </xs:pattern>
-       </xs:restriction>
-      </xs:simpleType>
-     </xs:attribute>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:complexType name="keybase">
-  <xs:complexContent>
-   <xs:extension base="xs:annotated">
-    <xs:sequence>
-     <xs:element ref="xs:selector"/>
-     <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
-    </xs:sequence>
-    <xs:attribute name="name" type="xs:NCName" use="required"/>
-   </xs:extension>
-  </xs:complexContent>
- </xs:complexType>
-
- <xs:group name="identityConstraint">
-  <xs:annotation>
-   <xs:documentation>The three kinds of identity constraints, all with
-                     type of or derived from 'keybase'.
-   </xs:documentation>
-  </xs:annotation>
-  <xs:choice>
-   <xs:element ref="xs:unique"/>
-   <xs:element ref="xs:key"/>
-   <xs:element ref="xs:keyref"/>
-  </xs:choice>
- </xs:group>
-
- <xs:element name="unique" type="xs:keybase" id="unique">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>
-  </xs:annotation>
- </xs:element>
- <xs:element name="key" type="xs:keybase" id="key">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
-  </xs:annotation>
- </xs:element>
- <xs:element name="keyref" id="keyref">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:keybase">
-     <xs:attribute name="refer" type="xs:QName" use="required"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:element name="notation" id="notation">
-  <xs:annotation>
-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>
-  </xs:annotation>
-  <xs:complexType>
-   <xs:complexContent>
-    <xs:extension base="xs:annotated">
-     <xs:attribute name="name" type="xs:NCName" use="required"/>
-     <xs:attribute name="public" type="xs:public"/>
-     <xs:attribute name="system" type="xs:anyURI"/>
-    </xs:extension>
-   </xs:complexContent>
-  </xs:complexType>
- </xs:element>
-
- <xs:simpleType name="public">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-   <xs:documentation>
-   A public identifier, per ISO 8879</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:token"/>
- </xs:simpleType>
-
- <xs:element name="appinfo" id="appinfo">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>
-   </xs:annotation>
-   <xs:complexType mixed="true">
-    <xs:sequence minOccurs="0" maxOccurs="unbounded">
-     <xs:any processContents="lax"/>
-    </xs:sequence>
-    <xs:attribute name="source" type="xs:anyURI"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
- </xs:element>
-
- <xs:element name="documentation" id="documentation">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
-   </xs:annotation>
-   <xs:complexType mixed="true">
-    <xs:sequence minOccurs="0" maxOccurs="unbounded">
-     <xs:any processContents="lax"/>
-    </xs:sequence>
-    <xs:attribute name="source" type="xs:anyURI"/>
-    <xs:attribute ref="xml:lang"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:complexType>
- </xs:element>
-
- <xs:element name="annotation" id="annotation">
-   <xs:annotation>
-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>
-   </xs:annotation>
-   <xs:complexType>
-    <xs:complexContent>
-     <xs:extension base="xs:openAttrs">
-      <xs:choice minOccurs="0" maxOccurs="unbounded">
-       <xs:element ref="xs:appinfo"/>
-       <xs:element ref="xs:documentation"/>
-      </xs:choice>
-      <xs:attribute name="id" type="xs:ID"/>
-     </xs:extension>
-    </xs:complexContent>
-   </xs:complexType>
- </xs:element>
-
- <xs:annotation>
-  <xs:documentation>
-   notations for use within XML Schema schemas</xs:documentation>
- </xs:annotation>
-
- <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
- <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
-  
- <xs:complexType name="anyType" mixed="true">
-  <xs:annotation>
-   <xs:documentation>
-   Not the real urType, but as close an approximation as we can
-   get in the XML representation</xs:documentation>
-  </xs:annotation>
-  <xs:sequence>
-   <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
-  </xs:sequence>
-  <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
-
-  <xs:annotation>
-    <xs:documentation>
-      First the built-in primitive datatypes.  These definitions are for
-      information only, the real built-in definitions are magic.
-    </xs:documentation>
-
-    <xs:documentation>
-      For each built-in datatype in this schema (both primitive and
-      derived) can be uniquely addressed via a URI constructed
-      as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the datatype
-
-      For example, to address the int datatype, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#int
-
-      Additionally, each facet definition element can be uniquely
-      addressed via a URI constructed as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the facet
-
-      For example, to address the maxInclusive facet, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#maxInclusive
-
-      Additionally, each facet usage in a built-in datatype definition
-      can be uniquely addressed via a URI constructed as follows:
-        1) the base URI is the URI of the XML Schema namespace
-        2) the fragment identifier is the name of the datatype, followed
-           by a period (".") followed by the name of the facet
-
-      For example, to address the usage of the maxInclusive facet in
-      the definition of int, the URI is:
-
-        http://www.w3.org/2001/XMLSchema#int.maxInclusive
-
-    </xs:documentation>
-  </xs:annotation>
-
-  <xs:simpleType name="string" id="string">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality" value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#string"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="preserve" id="string.preserve"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="boolean" id="boolean">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="boolean.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="float" id="float">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#float"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="float.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="double" id="double">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#double"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="double.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="decimal" id="decimal">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="totalDigits"/>
-        <hfp:hasFacet name="fractionDigits"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="total"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="true"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="decimal.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-   <xs:simpleType name="duration" id="duration">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#duration"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="duration.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
- <xs:simpleType name="dateTime" id="dateTime">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="dateTime.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="time" id="time">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#time"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="time.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="date" id="date">
-   <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#date"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="date.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gYearMonth" id="gYearMonth">
-   <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="gYearMonth.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gYear" id="gYear">
-    <xs:annotation>
-    <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="gYear.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="gMonthDay" id="gMonthDay">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-       <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse" fixed="true"
-                id="gMonthDay.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="gDay" id="gDay">
-    <xs:annotation>
-  <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse"  fixed="true"
-                id="gDay.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="gMonth" id="gMonth">
-    <xs:annotation>
-  <xs:appinfo>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasFacet name="maxInclusive"/>
-        <hfp:hasFacet name="maxExclusive"/>
-        <hfp:hasFacet name="minInclusive"/>
-        <hfp:hasFacet name="minExclusive"/>
-        <hfp:hasProperty name="ordered" value="partial"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-         <xs:whiteSpace value="collapse"  fixed="true"
-                id="gMonth.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="hexBinary" id="hexBinary">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#binary"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="hexBinary.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
- <xs:simpleType name="base64Binary" id="base64Binary">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse" fixed="true"
-        id="base64Binary.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-   <xs:simpleType name="anyURI" id="anyURI">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="anyURI.whiteSpace"/>
-    </xs:restriction>
-   </xs:simpleType>
-
-  <xs:simpleType name="QName" id="QName">
-    <xs:annotation>
-        <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#QName"/>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="QName.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="NOTATION" id="NOTATION">
-    <xs:annotation>
-        <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="pattern"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
-      <xs:documentation>
-        NOTATION cannot be used directly in a schema; rather a type
-        must be derived from it by specifying at least one enumeration
-        facet whose value is the name of a NOTATION declared in the
-        schema.
-      </xs:documentation>
-    </xs:annotation>
-    <xs:restriction base="xs:anySimpleType">
-      <xs:whiteSpace value="collapse"  fixed="true"
-        id="NOTATION.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:annotation>
-    <xs:documentation>
-      Now the derived primitive types
-    </xs:documentation>
-  </xs:annotation>
-
-  <xs:simpleType name="normalizedString" id="normalizedString">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-      <xs:whiteSpace value="replace"
-        id="normalizedString.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="token" id="token">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#token"/>
-    </xs:annotation>
-    <xs:restriction base="xs:normalizedString">
-      <xs:whiteSpace value="collapse" id="token.whiteSpace"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="language" id="language">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#language"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern
-        value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"
-                id="language.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.w3.org/TR/REC-xml#NT-LanguageID">
-            pattern specifies the content of section 2.12 of XML 1.0e2
-            and RFC 3066 (Revised version of RFC 1766).
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="IDREFS" id="IDREFS">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:IDREF"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="IDREFS.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="ENTITIES" id="ENTITIES">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:ENTITY"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="ENTITIES.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NMTOKEN" id="NMTOKEN">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern value="\c+" id="NMTOKEN.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
-            pattern matches production 7 from the XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NMTOKENS" id="NMTOKENS">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasFacet name="length"/>
-        <hfp:hasFacet name="minLength"/>
-        <hfp:hasFacet name="maxLength"/>
-        <hfp:hasFacet name="enumeration"/>
-        <hfp:hasFacet name="whiteSpace"/>
-        <hfp:hasProperty name="ordered" value="false"/>
-        <hfp:hasProperty name="bounded" value="false"/>
-        <hfp:hasProperty name="cardinality"
-                value="countably infinite"/>
-        <hfp:hasProperty name="numeric" value="false"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
-    </xs:annotation>
-    <xs:restriction>
-      <xs:simpleType>
-        <xs:list itemType="xs:NMTOKEN"/>
-      </xs:simpleType>
-        <xs:minLength value="1" id="NMTOKENS.minLength"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="Name" id="Name">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#Name"/>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:pattern value="\i\c*" id="Name.pattern">
-        <xs:annotation>
-          <xs:documentation
-                        source="http://www.w3.org/TR/REC-xml#NT-Name">
-            pattern matches production 5 from the XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="NCName" id="NCName">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
-    </xs:annotation>
-    <xs:restriction base="xs:Name">
-      <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
-        <xs:annotation>
-          <xs:documentation
-                source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
-            pattern matches production 4 from the Namespaces in XML spec
-          </xs:documentation>
-        </xs:annotation>
-      </xs:pattern>
-    </xs:restriction>
-  </xs:simpleType>
-
-   <xs:simpleType name="ID" id="ID">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ID"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-   <xs:simpleType name="IDREF" id="IDREF">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-   <xs:simpleType name="ENTITY" id="ENTITY">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
-    </xs:annotation>
-    <xs:restriction base="xs:NCName"/>
-   </xs:simpleType>
-
-  <xs:simpleType name="integer" id="integer">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#integer"/>
-    </xs:annotation>
-    <xs:restriction base="xs:decimal">
-      <xs:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>
-      <xs:pattern value="[\-+]?[0-9]+"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="negativeInteger" id="negativeInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonPositiveInteger">
-      <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="long" id="long">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#long"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>
-      <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="int" id="int">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#int"/>
-    </xs:annotation>
-    <xs:restriction base="xs:long">
-      <xs:minInclusive value="-2147483648" id="int.minInclusive"/>
-      <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="short" id="short">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#short"/>
-    </xs:annotation>
-    <xs:restriction base="xs:int">
-      <xs:minInclusive value="-32768" id="short.minInclusive"/>
-      <xs:maxInclusive value="32767" id="short.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="byte" id="byte">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#byte"/>
-    </xs:annotation>
-    <xs:restriction base="xs:short">
-      <xs:minInclusive value="-128" id="byte.minInclusive"/>
-      <xs:maxInclusive value="127" id="byte.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:integer">
-      <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedLong" id="unsignedLong">
-    <xs:annotation>
-      <xs:appinfo>
-        <hfp:hasProperty name="bounded" value="true"/>
-        <hfp:hasProperty name="cardinality" value="finite"/>
-      </xs:appinfo>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonNegativeInteger">
-      <xs:maxInclusive value="18446744073709551615"
-        id="unsignedLong.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedInt" id="unsignedInt">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedLong">
-      <xs:maxInclusive value="4294967295"
-        id="unsignedInt.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedShort" id="unsignedShort">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedInt">
-      <xs:maxInclusive value="65535"
-        id="unsignedShort.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="unsignedByte" id="unsignedByte">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
-    </xs:annotation>
-    <xs:restriction base="xs:unsignedShort">
-      <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
-  <xs:simpleType name="positiveInteger" id="positiveInteger">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
-    </xs:annotation>
-    <xs:restriction base="xs:nonNegativeInteger">
-      <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>
-    </xs:restriction>
-  </xs:simpleType>
-
- <xs:simpleType name="derivationControl">
-  <xs:annotation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:restriction base="xs:NMTOKEN">
-   <xs:enumeration value="substitution"/>
-   <xs:enumeration value="extension"/>
-   <xs:enumeration value="restriction"/>
-   <xs:enumeration value="list"/>
-   <xs:enumeration value="union"/>
-  </xs:restriction>
- </xs:simpleType>
-
- <xs:group name="simpleDerivation">
-  <xs:choice>
-    <xs:element ref="xs:restriction"/>
-    <xs:element ref="xs:list"/>
-    <xs:element ref="xs:union"/>
-  </xs:choice>
- </xs:group>
-
- <xs:simpleType name="simpleDerivationSet">
-  <xs:annotation>
-   <xs:documentation>
-   #all or (possibly empty) subset of {restriction, union, list}
-   </xs:documentation>
-   <xs:documentation>
-   A utility type, not for public use</xs:documentation>
-  </xs:annotation>
-  <xs:union>
-   <xs:simpleType>
-    <xs:restriction base="xs:token">
-     <xs:enumeration value="#all"/>
-    </xs:restriction>
-   </xs:simpleType>
-   <xs:simpleType>
-    <xs:restriction base="xs:derivationControl">
-     <xs:enumeration value="list"/>
-     <xs:enumeration value="union"/>
-     <xs:enumeration value="restriction"/>
-    </xs:restriction>
-   </xs:simpleType>
-  </xs:union>
- </xs:simpleType>
-
-  <xs:complexType name="simpleType" abstract="true">
-    <xs:complexContent>
-      <xs:extension base="xs:annotated">
-        <xs:group ref="xs:simpleDerivation"/>
-        <xs:attribute name="final" type="xs:simpleDerivationSet"/>
-        <xs:attribute name="name" type="xs:NCName">
-          <xs:annotation>
-            <xs:documentation>
-              Can be restricted to required or forbidden
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="topLevelSimpleType">
-    <xs:complexContent>
-      <xs:restriction base="xs:simpleType">
-        <xs:sequence>
-          <xs:element ref="xs:annotation" minOccurs="0"/>
-          <xs:group ref="xs:simpleDerivation"/>
-        </xs:sequence>
-        <xs:attribute name="name" use="required"
-             type="xs:NCName">
-          <xs:annotation>
-            <xs:documentation>
-              Required at the top level
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="localSimpleType">
-    <xs:complexContent>
-      <xs:restriction base="xs:simpleType">
-        <xs:sequence>
-          <xs:element ref="xs:annotation" minOccurs="0"/>
-          <xs:group ref="xs:simpleDerivation"/>
-        </xs:sequence>
-        <xs:attribute name="name" use="prohibited">
-          <xs:annotation>
-            <xs:documentation>
-              Forbidden when nested
-            </xs:documentation>
-          </xs:annotation>
-        </xs:attribute>
-        <xs:attribute name="final" use="prohibited"/>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:group name="facets">
-   <xs:annotation>
-    <xs:documentation>
-       We should use a substitution group for facets, but
-       that's ruled out because it would allow users to
-       add their own, which we're not ready for yet.
-    </xs:documentation>
-   </xs:annotation>
-   <xs:choice>
-    <xs:element ref="xs:minExclusive"/>
-    <xs:element ref="xs:minInclusive"/>
-    <xs:element ref="xs:maxExclusive"/>
-    <xs:element ref="xs:maxInclusive"/>
-    <xs:element ref="xs:totalDigits"/>
-    <xs:element ref="xs:fractionDigits"/>
-    <xs:element ref="xs:length"/>
-    <xs:element ref="xs:minLength"/>
-    <xs:element ref="xs:maxLength"/>
-    <xs:element ref="xs:enumeration"/>
-    <xs:element ref="xs:whiteSpace"/>
-    <xs:element ref="xs:pattern"/>
-   </xs:choice>
-  </xs:group>
-
-  <xs:group name="simpleRestrictionModel">
-   <xs:sequence>
-    <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
-    <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
-   </xs:sequence>
-  </xs:group>
-
-  <xs:element name="restriction" id="restriction">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
-          base attribute and simpleType child are mutually
-          exclusive, but one or other is required
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-         <xs:group ref="xs:simpleRestrictionModel"/>
-         <xs:attribute name="base" type="xs:QName" use="optional"/>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="list" id="list">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-list">
-          itemType attribute and simpleType child are mutually
-          exclusive, but one or other is required
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-          <xs:sequence>
-            <xs:element name="simpleType" type="xs:localSimpleType"
-                minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="itemType" type="xs:QName" use="optional"/>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="union" id="union">
-   <xs:complexType>
-    <xs:annotation>
-      <xs:documentation
-                source="http://www.w3.org/TR/xmlschema-2/#element-union">
-          memberTypes attribute must be non-empty or there must be
-          at least one simpleType child
-        </xs:documentation>
-      </xs:annotation>
-      <xs:complexContent>
-        <xs:extension base="xs:annotated">
-          <xs:sequence>
-            <xs:element name="simpleType" type="xs:localSimpleType"
-                minOccurs="0" maxOccurs="unbounded"/>
-          </xs:sequence>
-          <xs:attribute name="memberTypes" use="optional">
-            <xs:simpleType>
-              <xs:list itemType="xs:QName"/>
-            </xs:simpleType>
-          </xs:attribute>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:complexType name="facet">
-    <xs:complexContent>
-      <xs:extension base="xs:annotated">
-        <xs:attribute name="value" use="required"/>
-        <xs:attribute name="fixed" type="xs:boolean" use="optional"
-                      default="false"/>
-      </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
- <xs:complexType name="noFixedFacet">
-  <xs:complexContent>
-   <xs:restriction base="xs:facet">
-    <xs:sequence>
-     <xs:element ref="xs:annotation" minOccurs="0"/>
-    </xs:sequence>
-    <xs:attribute name="fixed" use="prohibited"/>
-    <xs:anyAttribute namespace="##other" processContents="lax"/>
-   </xs:restriction>
-  </xs:complexContent>
- </xs:complexType>
-
-  <xs:element name="minExclusive" id="minExclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="minInclusive" id="minInclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:complexType name="numFacet">
-    <xs:complexContent>
-      <xs:restriction base="xs:facet">
-       <xs:sequence>
-         <xs:element ref="xs:annotation" minOccurs="0"/>
-       </xs:sequence>
-       <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
-       <xs:anyAttribute namespace="##other" processContents="lax"/>
-      </xs:restriction>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:element name="totalDigits" id="totalDigits">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:numFacet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-  <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="length" id="length" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-length"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="minLength" id="minLength" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>
-    </xs:annotation>
-  </xs:element>
-  <xs:element name="maxLength" id="maxLength" type="xs:numFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>
-    </xs:annotation>
-  </xs:element>
-
-  <xs:element name="whiteSpace" id="whiteSpace">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:facet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" use="required">
-            <xs:simpleType>
-              <xs:restriction base="xs:NMTOKEN">
-                <xs:enumeration value="preserve"/>
-                <xs:enumeration value="replace"/>
-                <xs:enumeration value="collapse"/>
-              </xs:restriction>
-            </xs:simpleType>
-          </xs:attribute>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:element name="pattern" id="pattern">
-    <xs:annotation>
-      <xs:documentation
-        source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>
-    </xs:annotation>
-    <xs:complexType>
-      <xs:complexContent>
-        <xs:restriction base="xs:noFixedFacet">
-          <xs:sequence>
-            <xs:element ref="xs:annotation" minOccurs="0"/>
-          </xs:sequence>
-          <xs:attribute name="value" type="xs:string" use="required"/>
-         <xs:anyAttribute namespace="##other" processContents="lax"/>
-        </xs:restriction>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:element>
-
-</xs:schema>
diff --git a/v2/src/zipcompare/zipcompare/ZipCompare.java b/v2/src/zipcompare/zipcompare/ZipCompare.java
deleted file mode 100644
index 27f902b..0000000
--- a/v2/src/zipcompare/zipcompare/ZipCompare.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   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.
- */
-
-package zipcompare;
-
-import java.util.zip.ZipFile;
-import java.util.zip.ZipEntry;
-import java.util.*;
-import java.io.IOException;
-import java.io.InputStream;
-
-public class ZipCompare
-{
-    public static void main(String[] args)
-    {
-        if (args.length != 2)
-        {
-            System.out.println("Usage: zipcompare [file1] [file2]");
-            System.exit(1);
-        }
-
-        ZipFile file1;
-        try { file1 = new ZipFile(args[0]); }
-        catch (IOException e) { System.out.println("Could not open zip file " + args[0] + ": " + e); System.exit(1); return; }
-
-        ZipFile file2;
-        try { file2 = new ZipFile(args[1]); }
-        catch (IOException e) { System.out.println("Could not open zip file " + args[0] + ": " + e); System.exit(1); return; }
-
-        System.out.println("Comparing " + args[0] + " with " + args[1] + ":");
-
-        Set set1 = new LinkedHashSet();
-        for (Enumeration e = file1.entries(); e.hasMoreElements(); )
-            set1.add(((ZipEntry)e.nextElement()).getName());
-
-        Set set2 = new LinkedHashSet();
-        for (Enumeration e = file2.entries(); e.hasMoreElements(); )
-            set2.add(((ZipEntry)e.nextElement()).getName());
-
-        int errcount = 0;
-        int filecount = 0;
-        for (Iterator i = set1.iterator(); i.hasNext(); )
-        {
-            String name = (String)i.next();
-            if (!set2.contains(name))
-            {
-                System.out.println(name + " not found in " + args[1]);
-                errcount += 1;
-                continue;
-            }
-            try
-            {
-                set2.remove(name);
-                if (!streamsEqual(file1.getInputStream(file1.getEntry(name)), file2.getInputStream(file2.getEntry(name))))
-                {
-                    System.out.println(name + " does not match");
-                    errcount += 1;
-                    continue;
-                }
-            }
-            catch (Exception e)
-            {
-                System.out.println(name + ": IO Error " + e);
-                e.printStackTrace();
-                errcount += 1;
-                continue;
-            }
-            filecount += 1;
-        }
-        for (Iterator i = set2.iterator(); i.hasNext(); )
-        {
-            String name = (String)i.next();
-            System.out.println(name + " not found in " + args[0]);
-            errcount += 1;
-        }
-        System.out.println(filecount + " entries matched");
-        if (errcount > 0)
-        {
-            System.out.println(errcount + " entries did not match");
-            System.exit(1);
-        }
-        System.exit(0);
-    }
-
-    static boolean streamsEqual(InputStream stream1, InputStream stream2) throws IOException
-    {
-        byte[] buf1 = new byte[4096];
-        byte[] buf2 = new byte[4096];
-        boolean done1 = false;
-        boolean done2 = false;
-
-        try
-        {
-        while (!done1)
-        {
-            int off1 = 0;
-            int off2 = 0;
-
-            while (off1 < buf1.length)
-            {
-                int count = stream1.read(buf1, off1, buf1.length - off1);
-                if (count < 0)
-                {
-                    done1 = true;
-                    break;
-                }
-                off1 += count;
-            }
-            while (off2 < buf2.length)
-            {
-                int count = stream2.read(buf2, off2, buf2.length - off2);
-                if (count < 0)
-                {
-                    done2 = true;
-                    break;
-                }
-                off2 += count;
-            }
-            if (off1 != off2 || done1 != done2)
-                return false;
-            for (int i = 0; i < off1; i++)
-            {
-                if (buf1[i] != buf2[i])
-                    return false;
-            }
-        }
-        return true;
-        }
-        finally { stream1.close(); stream2.close(); }
-    }
-}
diff --git a/v2/test/cases/schema/appview/Add_AcctSiebel7.xml b/v2/test/cases/schema/appview/Add_AcctSiebel7.xml
deleted file mode 100644
index 869a2d2..0000000
--- a/v2/test/cases/schema/appview/Add_AcctSiebel7.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Boris Portnoy (Information Builders Inc.) -->
-<?Siebel-Property-Set EscapeNames="false"?>
-<SiebelMessage MessageId="1-N" IntObjectFormat="Siebel Hierarchical" MessageType="Integration Object" IntObjectName="Sample Account" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F:\Adapters\siebel\Add_AcctSiebel7_1.xsd">
-	<ListOfSampleAccount>
-		<Account>
-			<Culture/>
-			<CurrencyCode>USD</CurrencyCode>
-			<Description/>
-			<Division/>
-			<HomePage/>
-			<IntegrationId/>
-			<LineofBusiness/>
-			<Location/>
-			<Name>Bea Demo</Name>
-			<ProjectName/>
-			<Type>Commercial</Type>
-			<ListOfAccount_Organization>
-				<Account_Organization IsPrimaryMVG="Y">
-					<IntegrationId/>
-					<Organization>Default Organization</Organization>
-				</Account_Organization>
-			</ListOfAccount_Organization>
-			<ListOfAccountAttachment/>
-			<ListOfBusinessAddress>
-				<BusinessAddress>
-					<AddressName>NY</AddressName>
-					<City>NY</City>
-					<Country>USA</Country>
-					<FaxNumber>9876543211</FaxNumber>
-					<IntegrationId/>
-					<PhoneNumber>1234567890</PhoneNumber>
-					<PostalCode>07301</PostalCode>
-					<Province/>
-					<State>NY</State>
-					<StreetAddress>2 Madision Square</StreetAddress>
-				</BusinessAddress>
-			</ListOfBusinessAddress>
-			<ListOfContact/>
-		</Account>
-	</ListOfSampleAccount>
-</SiebelMessage>
diff --git a/v2/test/cases/xbean/ValidatingStream/CarLocationMessage-inv.xml b/v2/test/cases/xbean/ValidatingStream/CarLocationMessage-inv.xml
deleted file mode 100755
index 49574a4..0000000
--- a/v2/test/cases/xbean/ValidatingStream/CarLocationMessage-inv.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<CarLocationMessage xmlns="http://www.tranxml.org/TranXML/Version4.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.tranxml.org/TranXML/Version4.0 ..\schemas\CarLocationMessage.xsd" Transaction="CLM" Version="CLM">

-	<FleetID>FLEETNAME</FleetID>

-	<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-	<EventStatus>

-		<EquipmentStructure>

-			<Initial>GATX</Initial>

-			<EquipmentNumber>123456</EquipmentNumber>

-			<LoadEmptyCode>L</LoadEmptyCode>

-		</EquipmentStructure>

-		<Date>2001-03-23</Date>

-		<Time>12:34</Time>

-		<EventStatusCode>

-			<RailStatusCode>P</RailStatusCode>

-		</EventStatusCode>

-		<ReasonCode>Q12345</ReasonCode>

-		<GeographicLocation>

-			<CityName>DALLAS</CityName>

-			<StateOrProvinceCode>TX</StateOrProvinceCode>

-		</GeographicLocation>

-		<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-		<Destination>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-		</Destination>

-		<ETA>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-			<Date>2001-03-23</Date>

-			<Time>12:34</Time>

-			<ETA_Code>P</ETA_Code>

-		</ETA>

-		<AEI_IndicatorCode>Y</AEI_IndicatorCode>

-	</EventStatus>

-</CarLocationMessage>

diff --git a/v2/test/cases/xbean/ValidatingStream/CarLocationMessage.xml b/v2/test/cases/xbean/ValidatingStream/CarLocationMessage.xml
deleted file mode 100755
index 49574a4..0000000
--- a/v2/test/cases/xbean/ValidatingStream/CarLocationMessage.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<CarLocationMessage xmlns="http://www.tranxml.org/TranXML/Version4.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.tranxml.org/TranXML/Version4.0 ..\schemas\CarLocationMessage.xsd" Transaction="CLM" Version="CLM">

-	<FleetID>FLEETNAME</FleetID>

-	<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-	<EventStatus>

-		<EquipmentStructure>

-			<Initial>GATX</Initial>

-			<EquipmentNumber>123456</EquipmentNumber>

-			<LoadEmptyCode>L</LoadEmptyCode>

-		</EquipmentStructure>

-		<Date>2001-03-23</Date>

-		<Time>12:34</Time>

-		<EventStatusCode>

-			<RailStatusCode>P</RailStatusCode>

-		</EventStatusCode>

-		<ReasonCode>Q12345</ReasonCode>

-		<GeographicLocation>

-			<CityName>DALLAS</CityName>

-			<StateOrProvinceCode>TX</StateOrProvinceCode>

-		</GeographicLocation>

-		<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-		<Destination>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-		</Destination>

-		<ETA>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-			<Date>2001-03-23</Date>

-			<Time>12:34</Time>

-			<ETA_Code>P</ETA_Code>

-		</ETA>

-		<AEI_IndicatorCode>Y</AEI_IndicatorCode>

-	</EventStatus>

-</CarLocationMessage>

diff --git a/v2/test/cases/xbean/ValidatingStream/Employees.xml b/v2/test/cases/xbean/ValidatingStream/Employees.xml
deleted file mode 100755
index d871a92..0000000
--- a/v2/test/cases/xbean/ValidatingStream/Employees.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<xq:employees xmlns:xq="http://openuri.org/bea/samples/workshop/xmlBeans/xquery">

-  <xq:employee>

-    <xq:name>Fred Jones</xq:name>

-    <xq:address location="home">

-      <xq:street>900 Aurora Ave.</xq:street>

-      <xq:city>Seattle</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98115</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>2011 152nd Avenue NE</xq:street>

-      <xq:city>Redmond</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98052</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(425)555-5665</xq:phone>

-    <xq:phone location="home">(206)555-5555</xq:phone>

-    <xq:phone location="mobile">(206)555-4321</xq:phone>

-  </xq:employee>

-  <xq:employee>

-    <xq:name>Sally Smith</xq:name>

-    <xq:address location="home">

-      <xq:street>1430 Oak Place</xq:street>

-      <xq:city>Salem</xq:city>

-      <xq:state>OR</xq:state>

-      <xq:zip>97125</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>765 Main St.</xq:street>

-      <xq:city>Kaiser</xq:city>

-      <xq:state>OR</xq:state>

-      <xq:zip>97103</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(503)555-3856</xq:phone>

-    <xq:phone location="home">(503)555-6951</xq:phone>

-    <xq:phone location="mobile">(503)555-5152</xq:phone>

-  </xq:employee>

-  <xq:employee>

-    <xq:name>Gladys Kravitz</xq:name>

-    <xq:address location="home">

-      <xq:street>1313 Mockingbird Lane</xq:street>

-      <xq:city>Seattle</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98115</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>2011 152nd Avenue NE</xq:street>

-      <xq:city>Redmond</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98052</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(425)555-6897</xq:phone>

-    <xq:phone location="home">(206)555-6594</xq:phone>

-    <xq:phone location="mobile">(206)555-7894</xq:phone>

-  </xq:employee>

-</xq:employees>

diff --git a/v2/test/cases/xbean/ValidatingStream/global-attr.xml b/v2/test/cases/xbean/ValidatingStream/global-attr.xml
deleted file mode 100755
index 1451964..0000000
--- a/v2/test/cases/xbean/ValidatingStream/global-attr.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<xml-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-              xmlns:test="http://openuri.org/testNumerals"

-              test:price="5"/>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/location-inv.xml b/v2/test/cases/xbean/ValidatingStream/location-inv.xml
deleted file mode 100755
index 14c5255..0000000
--- a/v2/test/cases/xbean/ValidatingStream/location-inv.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>

-<lo:Location xmlns:lo="http://openuri.org/test/Location"

-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-	<CityName>Bellevue</CityName>

-	<StateCode>WA</StateCode>

-	<PostalCode>98033</PostalCode>

-	<CountryCode>USA</CountryCode>

-	<LocationIdentifier>NA</LocationIdentifier>

-	<SubdivisionCode>1234</SubdivisionCode>

-    <NonExisitent/>

-</lo:Location>

diff --git a/v2/test/cases/xbean/ValidatingStream/location.xml b/v2/test/cases/xbean/ValidatingStream/location.xml
deleted file mode 100755
index 9df5c80..0000000
--- a/v2/test/cases/xbean/ValidatingStream/location.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>

-<lo:Location xmlns:lo="http://openuri.org/test/Location"

-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-	<lo:CityName>Bellevue</lo:CityName>

-	<lo:StateCode>WA</lo:StateCode>

-	<lo:PostalCode>98033</lo:PostalCode>

-	<lo:CountryCode>USA</lo:CountryCode>

-	<lo:LocationIdentifier>NA</lo:LocationIdentifier>

-	<lo:SubdivisionCode>1234</lo:SubdivisionCode>

-</lo:Location>

diff --git a/v2/test/cases/xbean/ValidatingStream/location.xsd b/v2/test/cases/xbean/ValidatingStream/location.xsd
deleted file mode 100755
index 8d3edcc..0000000
--- a/v2/test/cases/xbean/ValidatingStream/location.xsd
+++ /dev/null
@@ -1,27 +0,0 @@
-<xsd:schema targetNamespace="http://openuri.org/test/Location"

-            xmlns:tns="http://openuri.org/test/Location"

-            xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-            elementFormDefault="qualified">

-	<xsd:element name="Location">

-		<xsd:complexType>

-			<xsd:sequence>

-				<xsd:element ref="tns:CityName" minOccurs="0"/>

-				<xsd:element ref="tns:StateCode" minOccurs="0"/>

-				<xsd:element ref="tns:PostalCode" minOccurs="0"/>

-				<xsd:element ref="tns:CountryCode" minOccurs="0"/>

-				<xsd:choice minOccurs="0">

-					<xsd:element ref="tns:LocationIdentifier"/>

-					<xsd:element ref="tns:SPLC"/>

-				</xsd:choice>

-				<xsd:element ref="tns:SubdivisionCode" minOccurs="0"/>

-			</xsd:sequence>

-		</xsd:complexType>

-	</xsd:element>

-	<xsd:element name="CityName" type="xsd:string"/>

-	<xsd:element name="StateCode" type="xsd:string"/>

-	<xsd:element name="PostalCode" type="xsd:string"/>

-	<xsd:element name="CountryCode" type="xsd:string"/>

-	<xsd:element name="LocationIdentifier" type="xsd:string"/>

-	<xsd:element name="SPLC" type="xsd:string"/>

-	<xsd:element name="SubdivisionCode" type="xsd:string"/>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/ValidatingStream/mixed-content-inv.xml b/v2/test/cases/xbean/ValidatingStream/mixed-content-inv.xml
deleted file mode 100755
index ddda174..0000000
--- a/v2/test/cases/xbean/ValidatingStream/mixed-content-inv.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<mix:Letter xmlns:mix="http://openuri.org/test/MixedContent"

-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    Your Order is being Shipped.

-    <mix:name>John Doe</mix:name>

-    <mix:orderid>1000</mix:orderid>

-    Your expected Ship-date is: <mix:shipdate>2004-12-12</mix:shipdate>

-    Thank you for your order

-</mix:Letter>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/mixed-content.xml b/v2/test/cases/xbean/ValidatingStream/mixed-content.xml
deleted file mode 100755
index ddda174..0000000
--- a/v2/test/cases/xbean/ValidatingStream/mixed-content.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<mix:Letter xmlns:mix="http://openuri.org/test/MixedContent"

-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    Your Order is being Shipped.

-    <mix:name>John Doe</mix:name>

-    <mix:orderid>1000</mix:orderid>

-    Your expected Ship-date is: <mix:shipdate>2004-12-12</mix:shipdate>

-    Thank you for your order

-</mix:Letter>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/mixed-content.xsd b/v2/test/cases/xbean/ValidatingStream/mixed-content.xsd
deleted file mode 100755
index ac3d571..0000000
--- a/v2/test/cases/xbean/ValidatingStream/mixed-content.xsd
+++ /dev/null
@@ -1,25 +0,0 @@
-<xsd:schema targetNamespace="http://openuri.org/test/MixedContent"

-            xmlns:tns="http://openuri.org/test/MixedContent"

-            xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-            elementFormDefault="qualified">

-

-    <xsd:element name="Letter" type="tns:letterType"/>

-

-    <xsd:complexType name="letterType" mixed="true">

-        <xsd:sequence>

-            <xsd:element name="name" type="xsd:string"/>

-            <xsd:element name="orderid" type="xsd:positiveInteger"/>

-            <xsd:element name="shipdate" type="xsd:date"/>

-        </xsd:sequence>

-    </xsd:complexType>

-

-    <xsd:element name="NoMixed" type="tns:letterTypeNoMixed"/>

-    

-    <xsd:complexType name="letterTypeNoMixed" mixed="false">

-        <xsd:sequence>

-            <xsd:element name="name" type="xsd:string"/>

-            <xsd:element name="orderid" type="xsd:positiveInteger"/>

-            <xsd:element name="shipdate" type="xsd:date"/>

-        </xsd:sequence>

-    </xsd:complexType>

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/nomixed-content-inv.xml b/v2/test/cases/xbean/ValidatingStream/nomixed-content-inv.xml
deleted file mode 100755
index 9275dfb..0000000
--- a/v2/test/cases/xbean/ValidatingStream/nomixed-content-inv.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<mix:NoMixed xmlns:mix="http://openuri.org/test/MixedContent"

-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    Your Order is being Shipped.

-    <mix:name>John Doe</mix:name>

-    <mix:orderid>1000</mix:orderid>

-    Your expected Ship-date is: <mix:shipdate>2004-12-12</mix:shipdate>

-    Thank you for your order

-</mix:NoMixed>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/numerals.xsd b/v2/test/cases/xbean/ValidatingStream/numerals.xsd
deleted file mode 100755
index 242d8ea..0000000
--- a/v2/test/cases/xbean/ValidatingStream/numerals.xsd
+++ /dev/null
@@ -1,34 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   targetNamespace='http://openuri.org/test/Numerals'

-   elementFormDefault='qualified'>

-  <xs:element name='doc'>

-    <xs:complexType>

-      <xs:sequence>

-        <xs:choice minOccurs='0' maxOccurs='unbounded'>

-          <xs:element name='int' type='xs:int' />

-          <xs:element name='short' type='xs:short' />

-          <xs:element name='byte' type='xs:byte' />

-          <xs:element name='double' type='xs:double' />

-          <xs:element name='float' type='xs:float' />

-          <xs:element name='boolean' type='xs:boolean' />

-          <xs:element name='string' type='xs:string' />

-          <xs:element name='decimal' type='xs:decimal' />

-          <xs:element name='integer' type='xs:integer' />

-          <xs:element name='long' type='xs:long' />

-          <xs:element name='hexBinary' type='xs:hexBinary' />

-          <xs:element name='base64Binary' type='xs:base64Binary' />

-          <xs:element name='date' type='xs:date' />

-          <xs:element name='dateTime' type='xs:dateTime' />

-          <xs:element name='gYearMonth' type='xs:gYearMonth' />

-          <xs:element name='duration' type='xs:duration' />

-          <xs:element name='QName' type='xs:QName' />

-        </xs:choice>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:attribute name='price' type='xs:float' />

-  <xs:attribute name='quant' type='xs:byte' />

-    

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-frag.xml b/v2/test/cases/xbean/ValidatingStream/person-frag.xml
deleted file mode 100755
index 0b2f017..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-frag.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<xml-fragment>

-        <per:First xmlns:per="http://openuri.org/test/Person"

-                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Person</per:First>

-        <per:Last xmlns:per="http://openuri.org/test/Person"

-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Two</per:Last>

-</xml-fragment>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-frag2.xml b/v2/test/cases/xbean/ValidatingStream/person-frag2.xml
deleted file mode 100755
index 6396b2c..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-frag2.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<xml-fragment><per:First xmlns:per="http://openuri.org/test/Person"

-                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Person</per:First>

-        <per:Last xmlns:per="http://openuri.org/test/Person"

-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Two</per:Last>

-</xml-fragment>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-inv.xml b/v2/test/cases/xbean/ValidatingStream/person-inv.xml
deleted file mode 100755
index 7e54738..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-inv.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<per:Person xmlns:per="http://openuri.org/test/Person"

-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-    Sex="male" Birthday="1967-08-13">

-	<per:Name>

-		<per:First>Person</per:First>

-		<per:Last>One</per:Last>

-	</per:Name>

-	<per:Sibling Sex="male" Birthday="1967-08-13">

-		<per:Name>

-			<per:First>Person</per:First>

-			<per:Last>Two</per:Last>

-		</per:Name>

-        <per:Sibling Sex="female" Birthday="1992-14-12">

-            <per:Name>

-                <per:First>Person</per:First>

-                <per:Last>Three</per:Last>

-            </per:Name>

-        </per:Sibling>

-	</per:Sibling>

-</per:Person>

diff --git a/v2/test/cases/xbean/ValidatingStream/person-justname-inv.xml b/v2/test/cases/xbean/ValidatingStream/person-justname-inv.xml
deleted file mode 100755
index c0eb217..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-justname-inv.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<per:Name xmlns:per="http://openuri.org/test/Person"

-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    <per:First>Person</per:First>

-    <per:Last>Two</per:Last>

-    <per:Middle>M</per:Middle>

-</per:Name>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-justname.xml b/v2/test/cases/xbean/ValidatingStream/person-justname.xml
deleted file mode 100755
index ba61dac..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-justname.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<per:Name xmlns:per="http://openuri.org/test/Person"

-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-          xsi:type="per:middlename">

-    <per:First>Person</per:First>

-    <per:Last>Two</per:Last>

-    <per:Middle>M</per:Middle>

-</per:Name>

diff --git a/v2/test/cases/xbean/ValidatingStream/person-sibling-inv.xml b/v2/test/cases/xbean/ValidatingStream/person-sibling-inv.xml
deleted file mode 100755
index fcde2c5..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-sibling-inv.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<per:Sibling Sex="male" Birthday="1967-14-13"

-             xmlns:per="http://openuri.org/test/Person"

-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    <per:Name xmlns:per="http://openuri.org/test/Person"

-              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-        <per:First>Person</per:First>

-        <per:Last>Two</per:Last>

-    </per:Name>

-    <per:Sibling Sex="female" Birthday="1992-11-12"

-                xmlns:per="http://openuri.org/test/Person"

-                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-        <per:Name>

-            <per:First>Person</per:First>

-            <per:Last>Three</per:Last>

-        </per:Name>

-    </per:Sibling>

-</per:Sibling>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-sibling.xml b/v2/test/cases/xbean/ValidatingStream/person-sibling.xml
deleted file mode 100755
index 52cc9a7..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-sibling.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<per:Sibling Sex="male" Birthday="1967-08-13"

-             xmlns:per="http://openuri.org/test/Person"

-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-    <per:Name xmlns:per="http://openuri.org/test/Person"

-              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-        <per:First>Person</per:First>

-        <per:Last>Two</per:Last>

-    </per:Name>

-    <per:Sibling Sex="female" Birthday="1992-11-12"

-                xmlns:per="http://openuri.org/test/Person"

-                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-        <per:Name>

-            <per:First>Person</per:First>

-            <per:Last>Three</per:Last>

-        </per:Name>

-    </per:Sibling>

-</per:Sibling>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person-xsi-inv.xml b/v2/test/cases/xbean/ValidatingStream/person-xsi-inv.xml
deleted file mode 100755
index 6681955..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person-xsi-inv.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<per:Name xmlns:per="http://openuri.org/test/Person"

-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-          xsi:type="per:personType">

-    <per:First>Person</per:First>

-    <per:Last>Two</per:Last>

-    <per:Middle>M</per:Middle>

-</per:Name>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/person.xml b/v2/test/cases/xbean/ValidatingStream/person.xml
deleted file mode 100755
index f0de8fa..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<per:Person xmlns:per="http://openuri.org/test/Person"

-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-    Sex="male" Birthday="1967-08-13">

-	<per:Name>

-		<per:First>Person</per:First>

-		<per:Last>One</per:Last>

-	</per:Name>

-	<per:Sibling Sex="male" Birthday="1967-08-13">

-		<per:Name>

-			<per:First>Person</per:First>

-			<per:Last>Two</per:Last>

-		</per:Name>

-        <per:Sibling Sex="female" Birthday="1992-12-12">

-            <per:Name>

-                <per:First>Person</per:First>

-                <per:Last>Three</per:Last>

-            </per:Name>

-        </per:Sibling>

-	</per:Sibling>

-</per:Person>

diff --git a/v2/test/cases/xbean/ValidatingStream/person.xsd b/v2/test/cases/xbean/ValidatingStream/person.xsd
deleted file mode 100755
index a602ee2..0000000
--- a/v2/test/cases/xbean/ValidatingStream/person.xsd
+++ /dev/null
@@ -1,47 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:per="http://openuri.org/test/Person" targetNamespace="http://openuri.org/test/Person" elementFormDefault="qualified">

-

-    <xs:element name="Person" type="per:personType"/>

-

-    <xs:complexType name="personType">

-		<xs:sequence>

-			<xs:element name="Name" type="per:name"/>

-			<xs:sequence maxOccurs="unbounded" minOccurs="0">

-				<xs:element name="Sibling" type="per:personType"/>

-			</xs:sequence>

-		</xs:sequence>

-		<xs:attribute name="Sex" type="per:sex"/>

-		<xs:attribute name="Birthday" type="xs:date"/>

-	</xs:complexType>

-

-	<xs:complexType name="name">

-		<xs:sequence>

-			<xs:element name="First" type="xs:string"/>

-			<xs:element name="Last" type="xs:string"/>

-		</xs:sequence>

-	</xs:complexType>

-

-	<xs:complexType name="middlename">

-		<xs:complexContent>

-			<xs:extension base="per:name">

-				<xs:sequence>

-					<xs:element name="Middle" type="xs:string"/>

-				</xs:sequence>

-			</xs:extension>

-		</xs:complexContent>

-	</xs:complexType>

-    

-    <xs:complexType name="justName">

-        <xs:sequence>

-            <xs:element name="Name" type="per:name"/>

-        </xs:sequence>

-    </xs:complexType>

-

-	<xs:simpleType name="sex">

-		<xs:restriction base="xs:string">

-			<xs:whiteSpace value="collapse"/>

-			<xs:enumeration value="male"/>

-			<xs:enumeration value="female"/>

-		</xs:restriction>

-	</xs:simpleType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/ValidatingStream/po.xml b/v2/test/cases/xbean/ValidatingStream/po.xml
deleted file mode 100755
index 903295b..0000000
--- a/v2/test/cases/xbean/ValidatingStream/po.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>

-<po:purchaseOrder orderDate="1999-10-20"

-    xmlns:po="http://test/PurchaseOrder">

-    <shipTo country="US">

-        <name>Alice Smith</name>

-        <street>123 Maple Street</street>

-        <city>Mill Valley</city>

-        <state>CA</state>

-        <zip>90952</zip>

-    </shipTo>

-    <billTo country="US">

-        <name>Robert Smith</name>

-        <street>8 Oak Avenue</street>

-        <city>Old Town</city>

-        <state>PA</state>

-        <zip>95819</zip>

-    </billTo>

-    <comment>Hurry, my lawn is going wild!</comment>

-    <items>

-        <item partNum="872-AA">

-            <productName>Lawnmower</productName>

-            <quantity>1</quantity>

-            <USPrice>148.95</USPrice>

-            <comment>Confirm this is electric</comment>

-        </item>

-        <item partNum="926-AA">

-            <productName>Baby Monitor</productName>

-            <quantity>1</quantity>

-            <USPrice>39.98</USPrice>

-            <shipDate>1999-05-21</shipDate>

-        </item>

-    </items>

-</po:purchaseOrder>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/ValidatingStream/simpleTypes.xsd b/v2/test/cases/xbean/ValidatingStream/simpleTypes.xsd
deleted file mode 100755
index a0cd3d3..0000000
--- a/v2/test/cases/xbean/ValidatingStream/simpleTypes.xsd
+++ /dev/null
@@ -1,23 +0,0 @@
-<xsd:schema targetNamespace="http://openuri.org/test/SimType"

-            xmlns:tns="http://openuri.org/test/SimType"

-            xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-            elementFormDefault="qualified">

-

-    <xsd:simpleType name="ageType">

-        <xsd:restriction base="xsd:integer">

-            <xsd:minInclusive value="1"/>

-            <xsd:maxInclusive value="100"/>

-        </xsd:restriction>

-    </xsd:simpleType>

-

-    <xsd:simpleType name="qNameType"

-                    xmlns:my="http://openuri.org/test/My">

-        <xsd:restriction base="xsd:QName">

-            <xsd:enumeration value="my:foo"/>

-            <xsd:enumeration value="my:bar"/>

-        </xsd:restriction>

-    </xsd:simpleType>

-

-    <xsd:element name="Age" type="tns:ageType"/>

-    <xsd:element name="QN" type="tns:qNameType"/>

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/XML.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/XML.xsd
deleted file mode 100755
index 8d76b9e..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/XML.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version='1.0'?>

-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >

-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">

-

- <xs:annotation>

-  <xs:documentation>

-   See http://www.w3.org/XML/1998/namespace.html and

-   http://www.w3.org/TR/REC-xml for information about this namespace.

-  </xs:documentation>

- </xs:annotation>

-

- <xs:annotation>

-  <xs:documentation>This schema defines attributes and an attribute group

-        suitable for use by

-        schemas wishing to allow xml:base, xml:lang or xml:space attributes

-        on elements they define.

-

-        To enable this, such a schema must import this schema

-        for the XML namespace, e.g. as follows:

-        &lt;schema . . .>

-         . . .

-         &lt;import namespace="http://www.w3.org/XML/1998/namespace"

-                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>

-

-        Subsequently, qualified reference to any of the attributes

-        or the group defined below will have the desired effect, e.g.

-

-        &lt;type . . .>

-         . . .

-         &lt;attributeGroup ref="xml:specialAttrs"/>

- 

-         will define a type which will schema-validate an instance

-         element with any of those attributes</xs:documentation>

- </xs:annotation>

-

- <xs:annotation>

-  <xs:documentation>In keeping with the XML Schema WG's standard versioning

-   policy, this schema document will persist at

-   http://www.w3.org/2001/03/xml.xsd.

-   At the date of issue it can also be found at

-   http://www.w3.org/2001/xml.xsd.

-   The schema document at that URI may however change in the future,

-   in order to remain compatible with the latest version of XML Schema

-   itself.  In other words, if the XML Schema namespace changes, the version

-   of this document at

-   http://www.w3.org/2001/xml.xsd will change

-   accordingly; the version at

-   http://www.w3.org/2001/03/xml.xsd will not change.

-  </xs:documentation>

- </xs:annotation>

-

- <xs:attribute name="lang" type="xs:language">

-  <xs:annotation>

-   <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter

-         codes as the enumerated possible values . . .</xs:documentation>

-  </xs:annotation>

- </xs:attribute>

-

- <xs:attribute name="space" default="preserve">

-  <xs:simpleType>

-   <xs:restriction base="xs:NCName">

-    <xs:enumeration value="default"/>

-    <xs:enumeration value="preserve"/>

-   </xs:restriction>

-  </xs:simpleType>

- </xs:attribute>

-

- <xs:attribute name="base" type="xs:anyURI">

-  <xs:annotation>

-   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for

-                     information about this attribute.</xs:documentation>

-  </xs:annotation>

- </xs:attribute>

-

- <xs:attributeGroup name="specialAttrs">

-  <xs:attribute ref="xml:base"/>

-  <xs:attribute ref="xml:lang"/>

-  <xs:attribute ref="xml:space"/>

- </xs:attributeGroup>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/application-client_1_4.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/application-client_1_4.xsd
deleted file mode 100755
index e9ce05a..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/application-client_1_4.xsd
+++ /dev/null
@@ -1,276 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="1.4">

-<xsd:annotation>

-<xsd:documentation>

-@(#)application-client_1_4.xsds	1.7 07/08/02

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the application client 1.4

-deployment descriptor.  All application client deployment

-descriptors must indicate the application client

-schema by using the J2EE namespace:

-

-http://java.sun.com/xml/ns/j2ee

-

-and by indicating the version of the schema by

-using the version element as shown below:

-

-    <application-client xmlns="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

-       http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"

-     version="1.4">

-

-    ...

-    </application-client>

-

-The instance documents may indicate the published version of

-the schema using the xsi:schemaLocation attribute for J2EE

-namespace with the following location:

-

-http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<include schemaLocation="j2ee_1_4.xsd"/>

-

-

-<!-- **************************************************** -->

-

-

-<xsd:element name="application-client" type="j2ee:application-clientType">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The application-client element is the root element of an

-    application client deployment descriptor.  The application

-    client deployment descriptor describes the EJB components

-    and external resources referenced by the application

-    client.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-    <xsd:unique name="env-entry-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The env-entry-name element contains the name of an

-    application client's environment entry.  The name is a JNDI

-    name relative to the java:comp/env context.  The name must

-    be unique within an application client.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:env-entry"/>

-        <xsd:field    xpath="j2ee:env-entry-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="ejb-ref-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The ejb-ref-name element contains the name of an EJB

-    reference. The EJB reference is an entry in the application

-    client's environment and is relative to the

-    java:comp/env context. The name must be unique within the

-    application client.

-

-    It is recommended that name is prefixed with "ejb/".

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:ejb-ref"/>

-        <xsd:field    xpath="j2ee:ejb-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="res-ref-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The res-ref-name element specifies the name of a

-    resource manager connection factory reference.The name

-    is a JNDI name relative to the java:comp/env context.

-    The name must be unique within an application client.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:resource-ref"/>

-        <xsd:field    xpath="j2ee:res-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="resource-env-ref-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The resource-env-ref-name element specifies the name of

-    a resource environment reference; its value is the

-    environment entry name used in the application client

-    code. The name is a JNDI name relative to the

-    java:comp/env context and must be unique within an

-    application client.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:resource-env-ref"/>

-        <xsd:field    xpath="j2ee:resource-env-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="message-destination-ref-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The message-destination-ref-name element specifies the

-    name of a message destination reference; its value is

-    the message destination reference name used in the

-    application client code. The name is a JNDI name

-    relative to the java:comp/env context and must be unique

-    within an application client.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:message-destination-ref"/>

-        <xsd:field    xpath="j2ee:message-destination-ref-name"/>

-    </xsd:unique>

-

-</xsd:element>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="application-clientType">

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="env-entry"

-                     type="j2ee:env-entryType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref"

-                     type="j2ee:ejb-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="resource-ref"

-                     type="j2ee:resource-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="resource-env-ref"

-                     type="j2ee:resource-env-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref"

-                     type="j2ee:message-destination-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="callback-handler"

-                     type="j2ee:fully-qualified-classType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The callback-handler element names a class provided by

-        the application.  The class must have a no args

-        constructor and must implement the

-        javax.security.auth.callback.CallbackHandler

-        interface.  The class will be instantiated by the

-        application client container and used by the container

-        to collect authentication information from the user.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="message-destination"

-                     type="j2ee:message-destinationType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-

-    </xsd:sequence>

-

-    <xsd:attribute name="version"

-                   type="j2ee:dewey-versionType"

-                   fixed="1.4"

-                   use="required">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The required value for the version is 1.4.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-    </xsd:attribute>

-

-</xsd:complexType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/application_1_4.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/application_1_4.xsd
deleted file mode 100755
index 31d4662..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/application_1_4.xsd
+++ /dev/null
@@ -1,329 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="1.4">

-<xsd:annotation>

-<xsd:documentation>

-@(#)application_1_4.xsds	1.6 08/09/02

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the application 1.4 deployment

-descriptor.  All application deployment descriptors must

-indicate that the schema by using the J2EE namespace

-

-http://java.sun.com/xml/ns/j2ee

-

-and by indicating the version of the schema by

-using the version element as shown below:

-

-    <application xmlns="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

-        http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"

-     version="1.4">

-

-    ...

-    </application>

-

-The instance documents may indicate the published version of

-the schema using the xsi:schemaLocation attribute for J2EE

-namespace with the following location:

-

-http://java.sun.com/xml/ns/j2ee/application_1_4.xsd

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:include schemaLocation="j2ee_1_4.xsd"/>

-

-

-<!-- **************************************************** -->

-

-

-<xsd:element name="application" type="j2ee:applicationType">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The application element is the root element of a J2EE

-    application deployment descriptor.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-    <xsd:unique name="context-root-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The context-root element content must be unique

-    in the ear.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:module/j2ee:web"/>

-        <xsd:field    xpath="j2ee:context-root"/>

-    </xsd:unique>

-

-    <xsd:unique name="security-role-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The security-role-name element content

-    must be unique in the ear.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:security-role"/>

-        <xsd:field    xpath="j2ee:role-name"/>

-    </xsd:unique>

-

-</xsd:element>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="applicationType">

-<xsd:annotation>

-<xsd:documentation>

-

-The applicationType defines the structure of the

-application.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="module"

-                     type="j2ee:moduleType"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The application deployment descriptor must have one

-        module element for each J2EE module in the

-        application package. A module element is defined

-        by moduleType definition.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="security-role"

-                     type="j2ee:security-roleType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-    <xsd:attribute name="version"

-                   type="j2ee:dewey-versionType"

-                   fixed="1.4"

-                   use="required">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The required value for the version is 1.4.

-

-    </xsd:documentation>

-    </xsd:annotation>

-    </xsd:attribute>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="moduleType">

-<xsd:annotation>

-<xsd:documentation>

-

-The moduleType defines a single J2EE module and contains a

-connector, ejb, java, or web element, which indicates the

-module type and contains a path to the module file, and an

-optional alt-dd element, which specifies an optional URI to

-the post-assembly version of the deployment descriptor.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:choice>

-            <xsd:element name="connector"

-                         type="j2ee:pathType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The connector element specifies the URI of a

-            resource adapter archive file, relative to the

-            top level of the application package.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-            <xsd:element name="ejb"

-                         type="j2ee:pathType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The ejb element specifies the URI of an ejb-jar,

-            relative to the top level of the application

-            package.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-            <xsd:element name="java"

-                         type="j2ee:pathType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The java element specifies the URI of a java

-            application client module, relative to the top

-            level of the application package.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-            <xsd:element name="web"

-                         type="j2ee:webType"/>

-        </xsd:choice>

-        <xsd:element name="alt-dd"

-                     type="j2ee:pathType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The alt-dd element specifies an optional URI to the

-        post-assembly version of the deployment descriptor

-        file for a particular J2EE module.  The URI must

-        specify the full pathname of the deployment

-        descriptor file relative to the application's root

-        directory. If alt-dd is not specified, the deployer

-        must read the deployment descriptor from the default

-        location and file name required by the respective

-        component specification.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="webType">

-<xsd:annotation>

-<xsd:documentation>

-

-The webType defines the web-uri and context-root of

-a web application module.

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:sequence>

-        <xsd:element name="web-uri"

-                     type="j2ee:pathType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The web-uri element specifies the URI of a web

-        application file, relative to the top level of the

-        application package.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="context-root"

-                     type="j2ee:string">

-

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The context-root element specifies the context root

-        of a web application.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-</xsd:complexType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/connector_1_5.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/connector_1_5.xsd
deleted file mode 100755
index cebb010..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/connector_1_5.xsd
+++ /dev/null
@@ -1,1011 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="1.5">

-<xsd:annotation>

-<xsd:documentation>

-@(#)connector_1_5.xsds	1.16 07/06/02

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the Connector 1.5 deployment

-descriptor.  All Connector deployment descriptors must

-indicate the connector resource adapter schema by using the

-J2EE namespace:

-

-http://java.sun.com/xml/ns/j2ee

-

-and by indicating the version of the schema by

-using the version element as shown below:

-

-    <connector xmlns="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

-         http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"

-     version="1.5">

-    ...

-    </connector>

-

-The instance documents may indicate the published version of

-the schema using the xsi:schemaLocation attribute for J2EE

-namespace with the following location:

-

-http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<include schemaLocation="j2ee_1_4.xsd"/>

-

-

-<!-- **************************************************** -->

-

-

-<xsd:element name="connector" type="j2ee:connectorType">

-<xsd:annotation>

-<xsd:documentation>

-

-The connector element is the root element of the deployment

-descriptor for the resource adapter. This element includes

-general information - vendor name, resource adapter version,

-icon - about the resource adapter module. It also includes

-information specific to the implementation of the resource

-adapter library as specified through the element

-resourceadapter.

-

-</xsd:documentation>

-</xsd:annotation>

-

-</xsd:element>

-

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="activationspecType">

-<xsd:annotation>

-<xsd:documentation>

-

-The activationspecType specifies an activation

-specification.  The information includes fully qualified

-Java class name of an activation specification and a set of

-required configuration property names.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="activationspec-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element activationspec-class specifies the fully

-        qualified Java class name of the activation

-        specification class. This class must implement the

-        javax.resource.spi.ActivationSpec interface. The

-        implementation of this class is required to be a

-        JavaBean.

-

-        Example:

-            <activationspec-class>com.wombat.ActivationSpecImpl

-            </activationspec-class>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="required-config-property"

-                     type="j2ee:required-config-propertyType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="adminobjectType">

-<xsd:annotation>

-<xsd:documentation>

-

-The adminobjectType specifies information about an

-administered object.  Administered objects are specific to a

-messaging style or message provider.  This contains

-information on the Java type of the interface implemented by

-an administered object, its Java class name and its

-configuration properties.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="adminobject-interface"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element adminobject-interface specifies the

-        fully qualified name of the Java type of the

-        interface implemented by an administered object.

-

-         Example:

-         <adminobject-interface>javax.jms.Destination

-         </adminobject-interface>

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="adminobject-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element adminobject-class specifies the fully

-        qualified Java class name of an administered object.

-

-        Example:

-            <adminobject-class>com.wombat.DestinationImpl

-            </adminobject-class>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="config-property"

-                     type="j2ee:config-propertyType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="authentication-mechanismType">

-<xsd:annotation>

-<xsd:documentation>

-

-The authentication-mechanismType specifies an authentication

-mechanism supported by the resource adapter. Note that this

-support is for the resource adapter and not for the

-underlying EIS instance. The optional description specifies

-any resource adapter specific requirement for the support of

-security contract and authentication mechanism.

-

-Note that BasicPassword mechanism type should support the

-javax.resource.spi.security.PasswordCredential interface.

-The Kerbv5 mechanism type should support the

-org.ietf.jgss.GSSCredential interface or the deprecated

-javax.resource.spi.security.GenericCredential interface.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="authentication-mechanism-type"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element authentication-mechanism-type specifies

-        type of an authentication mechanism.

-

-        The example values are:

-

-        <authentication-mechanism-type>BasicPassword

-        </authentication-mechanism-type>

-

-        <authentication-mechanism-type>Kerbv5

-        </authentication-mechanism-type>

-

-        Any additional security mechanisms are outside the

-        scope of the Connector architecture specification.

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="credential-interface"

-                     type="j2ee:credential-interfaceType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="config-property-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The config-property-nameType contains the name of a

-configuration property.

-

-The connector architecture defines a set of well-defined

-properties all of type java.lang.String. These are as

-follows.

-

-     ServerName

-     PortNumber

-     UserName

-     Password

-     ConnectionURL

-

-A resource adapter provider can extend this property set to

-include properties specific to the resource adapter and its

-underlying EIS.

-

-Possible values include

-        ServerName

-        PortNumber

-        UserName

-        Password

-        ConnectionURL

-

-Example: <config-property-name>ServerName</config-property-name>

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:restriction base="xsd:string">

-    </xsd:restriction>

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="config-property-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The config-property-typeType contains the fully

-qualified Java type of a configuration property.

-

-The following are the legal values:

-   java.lang.Boolean, java.lang.String, java.lang.Integer,

-   java.lang.Double, java.lang.Byte, java.lang.Short,

-   java.lang.Long, java.lang.Float, java.lang.Character

-

-Used in: config-property

-

-Example:

-<config-property-type>java.lang.String</config-property-type>

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="java.lang.Boolean"/>

-        <xsd:enumeration value="java.lang.String"/>

-        <xsd:enumeration value="java.lang.Integer"/>

-        <xsd:enumeration value="java.lang.Double"/>

-        <xsd:enumeration value="java.lang.Byte"/>

-        <xsd:enumeration value="java.lang.Short"/>

-        <xsd:enumeration value="java.lang.Long"/>

-        <xsd:enumeration value="java.lang.Float"/>

-        <xsd:enumeration value="java.lang.Character"/>

-    </xsd:restriction>

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="config-propertyType">

-<xsd:annotation>

-<xsd:documentation>

-

-The config-propertyType contains a declaration of a single

-configuration property that may be used for providing

-configuration information.

-

-The declaration consists of an optional description, name,

-type and an optional value of the configuration property. If

-the resource adapter provider does not specify a value than

-the deployer is responsible for providing a valid value for

-a configuration property.

-

-Any bounds or well-defined values of properties should be

-described in the description element.

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="config-property-name"

-                     type="j2ee:config-property-nameType"/>

-        <xsd:element name="config-property-type"

-                     type="j2ee:config-property-typeType"/>

-        <xsd:element name="config-property-value"

-                     type="xsd:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element config-property-value contains the value

-        of a configuration entry. Note, it is possible for a

-        resource adapter deployer to override this

-        configuration information during deployment.

-

-        Example:

-        <config-property-value>WombatServer</config-property-value>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="connection-definitionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The connection-definitionType defines a set of connection

-interfaces and classes pertaining to a particular connection

-type. This also includes configurable properties for

-ManagedConnectionFactory instances that may be produced out

-of this set.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="managedconnectionfactory-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element managedconnectionfactory-class specifies

-        the fully qualified name of the Java class that

-        implements the

-        javax.resource.spi.ManagedConnectionFactory interface.

-        This Java class is provided as part of resource

-        adapter's implementation of connector architecture

-        specified contracts. The implementation of this

-        class is required to be a JavaBean.

-

-        Example:

-        <managedconnectionfactory-class>

-            com.wombat.ManagedConnectionFactoryImpl

-        </managedconnectionfactory-class>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="config-property"

-                     type="j2ee:config-propertyType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="connectionfactory-interface"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element connectionfactory-interface specifies

-        the fully qualified name of the ConnectionFactory

-        interface supported by the resource adapter.

-

-        Example:

-        <connectionfactory-interface>com.wombat.ConnectionFactory

-        </connectionfactory-interface>

-

-        OR

-

-        <connectionfactory-interface>javax.resource.cci.ConnectionFactory

-        </connectionfactory-interface>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="connectionfactory-impl-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element connectionfactory-impl-class specifies

-        the fully qualified name of the ConnectionFactory

-        class that implements resource adapter

-        specific ConnectionFactory interface.

-

-        Example:

-

-        <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl

-        </connectionfactory-impl-class>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="connection-interface"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The connection-interface element specifies the fully

-        qualified name of the Connection interface supported

-        by the resource adapter.

-

-        Example:

-

-            <connection-interface>javax.resource.cci.Connection

-            </connection-interface>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="connection-impl-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The connection-impl-classType specifies the fully

-        qualified name of the Connection class that

-        implements resource adapter specific Connection

-        interface.  It is used by the connection-impl-class

-        elements.

-

-        Example:

-

-            <connection-impl-class>com.wombat.ConnectionImpl

-            </connection-impl-class>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="connectorType">

-<xsd:annotation>

-<xsd:documentation>

-

-The connectorType defines a resource adapter.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="vendor-name">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element vendor-name specifies the name of

-        resource adapter provider vendor.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="eis-type"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element eis-type contains information about the

-        type of the EIS. For example, the type of an EIS can

-        be product name of EIS independent of any version

-        info.

-

-        This helps in identifying EIS instances that can be

-        used with this resource adapter.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="resourceadapter-version"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element version specifies a string-based version

-        of the resource adapter from the resource adapter

-        provider.

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="license"

-                     type="j2ee:licenseType"

-                     minOccurs="0"/>

-        <xsd:element name="resourceadapter"

-                     type="j2ee:resourceadapterType"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        Resource adapter specific extensions can be

-        specified by using the deployment-extension

-        elements.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-    <xsd:attribute name="version"

-                   type="j2ee:dewey-versionType"

-                   fixed="1.5"

-                   use="required">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The version specifies the version of the

-    connector architecture specification that is

-    supported by this resource adapter. This information

-    enables deployer to configure the resource adapter to

-    support deployment and runtime requirements of the

-    corresponding connector architecture specification.

-

-    </xsd:documentation>

-    </xsd:annotation>

-    </xsd:attribute>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="credential-interfaceType">

-<xsd:annotation>

-<xsd:documentation>

-

-The credential-interfaceType specifies the

-interface that the resource adapter implementation

-supports for the representation of the

-credentials. This element(s) that use this type,

-i.e. credential-interface,  should be used by

-application server to find out the Credential

-interface it should use as part of the security

-contract.

-

-The possible values are:

-

-javax.resource.spi.security.PasswordCredential

-org.ietf.jgss.GSSCredential

-javax.resource.spi.security.GenericCredential

-

-</xsd:documentation>

-</xsd:annotation>

-

-  <xsd:restriction base="j2ee:fully-qualified-classType">

-        <xsd:enumeration

-            value="javax.resource.spi.security.PasswordCredential"/>

-        <xsd:enumeration

-            value="org.ietf.jgss.GSSCredential"/>

-        <xsd:enumeration

-            value="javax.resource.spi.security.GenericCredential"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="inbound-resourceadapterType">

-<xsd:annotation>

-<xsd:documentation>

-

-The inbound-resourceadapterType specifies information

-about an inbound resource adapter. This contains information

-specific to the implementation of the resource adapter

-library as specified through the messageadapter element.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="messageadapter"

-                     type="j2ee:messageadapterType"

-                     minOccurs="0">

-        <xsd:unique name="messagelistener-type-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The messagelistener-type element content must be

-        unique in the messageadapter. Several messagelisteners

-        can not use the same messagelistener-type.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        <xsd:selector xpath="j2ee:messagelistener"/>

-        <xsd:field    xpath="j2ee:messagelistener-type"/>

-        </xsd:unique>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="licenseType">

-<xsd:annotation>

-<xsd:documentation>

-

-The licenseType specifies licensing requirements for the

-resource adapter module. This type specifies whether a

-license is required to deploy and use this resource adapter,

-and an optional description of the licensing terms

-(examples: duration of license, number of connection

-restrictions). It is used by the license element.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-            <xsd:element name="description"

-                         type="j2ee:descriptionType"

-                         minOccurs="0"

-                         maxOccurs="unbounded"/>

-            <xsd:element name="license-required"

-                         type="j2ee:true-falseType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The element license-required specifies whether a

-            license is required to deploy and use the

-            resource adapter. This element must be one of

-            the following, "true" or "false".

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="messageadapterType">

-<xsd:annotation>

-<xsd:documentation>

-

-The messageadapterType specifies information about the

-messaging capabilities of the resource adapter. This

-contains information specific to the implementation of the

-resource adapter library as specified through the

-messagelistener element.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="messagelistener"

-                     type="j2ee:messagelistenerType"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="messagelistenerType">

-<xsd:annotation>

-<xsd:documentation>

-

-The messagelistenerType specifies information about a

-specific message listener supported by the messaging

-resource adapter. It contains information on the Java type

-of the message listener interface and an activation

-specification.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="messagelistener-type"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element messagelistener-type specifies the fully

-        qualified name of the Java type of a message

-        listener interface.

-

-        Example:

-

-          <messagelistener-type>javax.jms.MessageListener

-          </messagelistener-type>

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="activationspec"

-                     type="j2ee:activationspecType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="outbound-resourceadapterType">

-<xsd:annotation>

-<xsd:documentation>

-

-The outbound-resourceadapterType specifies information about

-an outbound resource adapter. The information includes fully

-qualified names of classes/interfaces required as part of

-the connector architecture specified contracts for

-connection management, level of transaction support

-provided, one or more authentication mechanisms supported

-and additional required security permissions.

-

-If there is no authentication-mechanism specified as part of

-resource adapter element then the resource adapter does not

-support any standard security authentication mechanisms as

-part of security contract. The application server ignores

-the security part of the system contracts in this case.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="connection-definition"

-                     type="j2ee:connection-definitionType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="transaction-support"

-                     type="j2ee:transaction-supportType"/>

-        <xsd:element name="authentication-mechanism"

-                     type="j2ee:authentication-mechanismType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="reauthentication-support"

-                     type="j2ee:true-falseType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element reauthentication-support specifies

-        whether the resource adapter implementation supports

-        re-authentication of existing Managed- Connection

-        instance. Note that this information is for the

-        resource adapter implementation and not for the

-        underlying EIS instance. This element must have

-        either a "true" or "false" value.

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="security-permission"

-                     type="j2ee:security-permissionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded">

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="required-config-propertyType">

-<xsd:annotation>

-<xsd:documentation>

-

-The required-config-propertyType contains a declaration

-of a single configuration property used for specifying a

-required configuration property name. It is used

-by required-config-property elements.

-

-Example:

-

-<required-config-property>Destination</required-config-property>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="config-property-name"

-                     type="j2ee:config-property-nameType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="resourceadapterType">

-<xsd:annotation>

-<xsd:documentation>

-

-The resourceadapterType specifies information about the

-resource adapter. The information includes fully qualified

-resource adapter Java class name, configuration properties,

-information specific to the implementation of the resource

-adapter library as specified through the

-outbound-resourceadapter and inbound-resourceadapter

-elements, and an optional set of administered objects.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="resourceadapter-class"

-                     type="j2ee:fully-qualified-classType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element resourceadapter-class specifies the

-        fully qualified name of a Java class that implements

-        the javax.resource.spi.ResourceAdapter

-        interface. This Java class is provided as part of

-        resource adapter's implementation of connector

-        architecture specified contracts. The implementation

-        of this class is required to be a JavaBean.

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        </xsd:element>

-        <xsd:element name="config-property"

-                     type="j2ee:config-propertyType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="outbound-resourceadapter"

-                     type="j2ee:outbound-resourceadapterType"

-                     minOccurs="0"/>

-        <xsd:element name="inbound-resourceadapter"

-                     type="j2ee:inbound-resourceadapterType"

-                     minOccurs="0"/>

-        <xsd:element name="adminobject"

-                     type="j2ee:adminobjectType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="security-permissionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The security-permissionType specifies a security

-permission that is required by the resource adapter code.

-

-The security permission listed in the deployment descriptor

-are ones that are different from those required by the

-default permission set as specified in the connector

-specification. The optional description can mention specific

-reason that resource adapter requires a given security

-permission.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="security-permission-spec"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The element permission-spec specifies a security

-        permission based on the Security policy file

-        syntax. Refer to the following URL for Sun's

-        implementation of the security permission

-        specification:

-

-        http://java.sun.com/products/jdk/1.4/docs/guide/security/PolicyFiles.html#FileSyntax

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="transaction-supportType">

-<xsd:annotation>

-<xsd:documentation>

-

-The transaction-supportType specifies the level of

-transaction support provided by the resource adapter. It is

-used by transaction-support elements.

-

-The value must be one of the following:

-

-    NoTransaction

-    LocalTransaction

-    XATransaction

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="NoTransaction"/>

-        <xsd:enumeration value="LocalTransaction"/>

-        <xsd:enumeration value="XATransaction"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/ejb-jar_2_1.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/ejb-jar_2_1.xsd
deleted file mode 100755
index 5472d1e..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/ejb-jar_2_1.xsd
+++ /dev/null
@@ -1,2383 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="2.1">

-<xsd:annotation>

-<xsd:documentation>

-@(#)ejb-jar_2_1.xsds	1.10 07/24/02

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the EJB 2.1 deployment

-descriptor.  All EJB deployment descriptors must indicate

-the ejb-jar schema by using the J2EE namespace:

-

-http://java.sun.com/xml/ns/j2ee

-

-and by indicating the version of the schema by

-using the version element as shown below:

-<!--

-    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

-         http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"

-     version="2.1">

-    ...

-    </ejb-jar>

--->

-The instance documents may indicate the published version of

-the schema using the xsi:schemaLocation attribute for the

-J2EE namespace with the following location:

-

-http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<include schemaLocation="j2ee_1_4.xsd"/>

-

-

-<!-- **************************************************** -->

-

-

-<xsd:element name="ejb-jar" type="j2ee:ejb-jarType">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    This is the root of the ejb-jar deployment descriptor.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-    <xsd:key name="ejb-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The ejb-name element contains the name of an enterprise

-    bean. The name must be unique within the ejb-jar file.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:enterprise-beans/*"/>

-        <xsd:field    xpath="j2ee:ejb-name"/>

-    </xsd:key>

-

-    <xsd:keyref name="ejb-name-references"

-            refer="j2ee:ejb-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The keyref indicates the references from

-    relationship-role-source must be to a specific ejb-name

-    defined within the scope of enterprise-beans element.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector

-            xpath=".//j2ee:ejb-relationship-role/j2ee:relationship-role-source"/>

-        <xsd:field

-            xpath="j2ee:ejb-name"/>

-    </xsd:keyref>

-

-    <xsd:key name="role-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    A role-name-key is specified to allow the references

-    from the security-role-refs.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:enterprise-beans/*/j2ee:security-role"/>

-        <xsd:field    xpath="j2ee:role-name"/>

-    </xsd:key>

-

-    <xsd:keyref name="role-name-references"

-            refer="j2ee:role-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The keyref indicates the references from

-    security-role-ref to a specified role-name.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:enterprise-beans/*/j2ee:security-role-ref"/>

-        <xsd:field    xpath="j2ee:role-link"/>

-    </xsd:keyref>

-

-</xsd:element>

-

-

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="activation-config-propertyType">

-<xsd:annotation>

-<xsd:documentation>

-

-The activation-config-propertyType contains a name/value

-configuration property pair for a message-driven bean.

-

-The properties that are recognized for a particular

-message-driven bean are determined by the messaging type.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="activation-config-property-name"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The activation-config-property-name element contains

-        the name for an activation configuration property of

-        a message-driven bean.

-

-        For JMS message-driven beans, the following property

-        names are recognized: acknowledgeMode,

-        messageSelector, destinationType, subscriptionDurability

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="activation-config-property-value"

-                     type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The activation-config-property-value element

-        contains the value for an activation configuration

-        property of a message-driven bean.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="activation-configType">

-<xsd:annotation>

-<xsd:documentation>

-

-The activation-configType defines information about the

-expected configuration properties of the message-driven bean

-in its operational environment. This may include information

-about message acknowledgement, message selector, expected

-destination type, etc.

-

-The configuration information is expressed in terms of

-name/value configuration properties.

-

-The properties that are recognized for a particular

-message-driven bean are determined by the messaging type.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="activation-config-property"

-                     type="j2ee:activation-config-propertyType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="assembly-descriptorType">

-<xsd:annotation>

-<xsd:documentation>

-

-The assembly-descriptorType defines

-application-assembly information.

-

-The application-assembly information consists of the

-following parts: the definition of security roles, the

-definition of method permissions, the definition of

-transaction attributes for enterprise beans with

-container-managed transaction demarcation and a list of

-methods to be excluded from being invoked.

-

-All the parts are optional in the sense that they are

-omitted if the lists represented by them are empty.

-

-Providing an assembly-descriptor in the deployment

-descriptor is optional for the ejb-jar file producer.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="security-role"

-                     type="j2ee:security-roleType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="method-permission"

-                     type="j2ee:method-permissionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="container-transaction"

-                     type="j2ee:container-transactionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination"

-                     type="j2ee:message-destinationType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="exclude-list"

-                     type="j2ee:exclude-listType"

-                     minOccurs="0"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="cmp-fieldType">

-<xsd:annotation>

-<xsd:documentation>

-

-The cmp-fieldType describes a container-managed field. The

-cmp-fieldType contains an optional description of the field,

-and the name of the field.

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="field-name"

-                     type="j2ee:java-identifierType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The field-name element specifies the name of a

-        container managed field.

-

-        The name of the cmp-field of an entity bean with

-        cmp-version 2.x must begin with a lowercase

-        letter. This field is accessed by methods whose

-        names consists of the name of the field specified by

-        field-name in which the first letter is uppercased,

-        prefixed by "get" or "set".

-

-        The name of the cmp-field of an entity bean with

-        cmp-version 1.x must denote a public field of the

-        enterprise bean class or one of its superclasses.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="cmp-versionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The cmp-versionType specifies the version of an entity bean

-with container-managed persistence. It is used by

-cmp-version elements.

-

-The value must be one of the two following:

-

-    1.x

-    2.x

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="1.x"/>

-        <xsd:enumeration value="2.x"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="cmr-field-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The cmr-field-type element specifies the class of a

-collection-valued logical relationship field in the entity

-bean class. The value of an element using cmr-field-typeType

-must be either: java.util.Collection or java.util.Set.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="java.util.Collection"/>

-        <xsd:enumeration value="java.util.Set"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="cmr-fieldType">

-<xsd:annotation>

-<xsd:documentation>

-

-The cmr-fieldType describes the bean provider's view of

-a relationship. It consists of an optional description, and

-the name and the class type of a field in the source of a

-role of a relationship. The cmr-field-name element

-corresponds to the name used for the get and set accessor

-methods for the relationship. The cmr-field-type element is

-used only for collection-valued cmr-fields. It specifies the

-type of the collection that is used.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="cmr-field-name"

-                     type="j2ee:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The cmr-field-name element specifies the name of a

-        logical relationship field in the entity bean

-        class. The name of the cmr-field must begin with a

-        lowercase letter. This field is accessed by methods

-        whose names consist of the name of the field

-        specified by cmr-field-name in which the first

-        letter is uppercased, prefixed by "get" or "set".

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="cmr-field-type"

-                     type="j2ee:cmr-field-typeType"

-                     minOccurs="0"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="container-transactionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The container-transactionType specifies how the container

-must manage transaction scopes for the enterprise bean's

-method invocations. It defines an optional description, a

-list of method elements, and a transaction attribute. The

-transaction attribute is to be applied to all the specified

-methods.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="method"

-                     type="j2ee:methodType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="trans-attribute"

-                     type="j2ee:trans-attributeType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="ejb-classType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-classType contains the fully-qualified name of the

-enterprise bean's class. It is used by ejb-class elements.

-

-Example:

-

-    <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="ejb-jarType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-jarType defines the root element of the EJB

-deployment descriptor. It contains

-

-    - an optional description of the ejb-jar file

-    - an optional display name

-    - an optional icon that contains a small and a large

-      icon file name

-    - mandatory structural information about all included

-      enterprise beans

-    - a descriptor for container managed relationships,

-      if any

-    - an optional application-assembly descriptor

-    - an optional name of an ejb-client-jar file for the

-      ejb-jar.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="enterprise-beans"

-                     type="j2ee:enterprise-beansType"/>

-        <xsd:element name="relationships"

-                     type="j2ee:relationshipsType"

-                     minOccurs="0">

-        <xsd:unique name="relationship-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-relation-name contains the name of a

-        relation. The name must be unique within

-        relationships.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-relation"/>

-            <xsd:field    xpath="j2ee:ejb-relation-name"/>

-        </xsd:unique>

-        </xsd:element>

-        <xsd:element name="assembly-descriptor"

-                     type="j2ee:assembly-descriptorType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        Providing an assembly-descriptor in the deployment

-        descriptor is optional for the ejb-jar file

-        producer.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="ejb-client-jar"

-                     type="j2ee:pathType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The optional ejb-client-jar element specifies a JAR

-        file that contains the class files necessary for a

-        client program to access the

-        enterprise beans in the ejb-jar file.

-

-        Example:

-

-            <ejb-client-jar>employee_service_client.jar

-            </ejb-client-jar>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-

-    </xsd:sequence>

-    <xsd:attribute name="version"

-                   type="j2ee:dewey-versionType"

-                   fixed="2.1"

-                   use="required">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The version specifies the version of the

-    EJB specification that the instance document must

-    comply with. This information enables deployment tools

-    to validate a particular EJB Deployment

-    Descriptor with respect to a specific version of the EJB

-    schema.

-

-    </xsd:documentation>

-    </xsd:annotation>

-    </xsd:attribute>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="ejb-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-nameType specifies an enterprise bean's name. It is

-used by ejb-name elements. This name is assigned by the

-ejb-jar file producer to name the enterprise bean in the

-ejb-jar file's deployment descriptor. The name must be

-unique among the names of the enterprise beans in the same

-ejb-jar file.

-

-There is no architected relationship between the used

-ejb-name in the deployment descriptor and the JNDI name that

-the Deployer will assign to the enterprise bean's home.

-

-The name for an entity bean must conform to the lexical

-rules for an NMTOKEN.

-

-Example:

-

-<ejb-name>EmployeeService</ejb-name>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="xsd:NMTOKEN">

-        <xsd:whiteSpace value="collapse"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="ejb-relationType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-relationType describes a relationship between two

-entity beans with container-managed persistence.  It is used

-by ejb-relation elements. It contains a description; an

-optional ejb-relation-name element; and exactly two

-relationship role declarations, defined by the

-ejb-relationship-role elements. The name of the

-relationship, if specified, is unique within the ejb-jar

-file.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-relation-name"

-                     type="j2ee:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-relation-name element provides a unique name

-        within the ejb-jar file for a relationship.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="ejb-relationship-role"

-                     type="j2ee:ejb-relationship-roleType"/>

-        <xsd:element name="ejb-relationship-role"

-                     type="j2ee:ejb-relationship-roleType"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="ejb-relationship-roleType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-relationship-roleType describes a role within a

-relationship. There are two roles in each relationship.

-

-The ejb-relationship-roleType contains an optional

-description; an optional name for the relationship role; a

-specification of the multiplicity of the role; an optional

-specification of cascade-delete functionality for the role;

-the role source; and a declaration of the cmr-field, if any,

-by means of which the other side of the relationship is

-accessed from the perspective of the role source.

-

-The multiplicity and role-source element are mandatory.

-

-The relationship-role-source element designates an entity

-bean by means of an ejb-name element. For bidirectional

-relationships, both roles of a relationship must declare a

-relationship-role-source element that specifies a cmr-field

-in terms of which the relationship is accessed. The lack of

-a cmr-field element in an ejb-relationship-role specifies

-that the relationship is unidirectional in navigability and

-the entity bean that participates in the relationship is

-"not aware" of the relationship.

-

-Example:

-

-<ejb-relation>

-    <ejb-relation-name>Product-LineItem</ejb-relation-name>

-    <ejb-relationship-role>

-        <ejb-relationship-role-name>product-has-lineitems

-        </ejb-relationship-role-name>

-        <multiplicity>One</multiplicity>

-        <relationship-role-source>

-        <ejb-name>ProductEJB</ejb-name>

-        </relationship-role-source>

-     </ejb-relationship-role>

-</ejb-relation>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-relationship-role-name"

-                     type="j2ee:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-relationship-role-name element defines a

-        name for a role that is unique within an

-        ejb-relation. Different relationships can use the

-        same name for a role.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="multiplicity"

-                     type="j2ee:multiplicityType"/>

-        <xsd:element name="cascade-delete"

-                     type="j2ee:emptyType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The cascade-delete element specifies that, within a

-        particular relationship, the lifetime of one or more

-        entity beans is dependent upon the lifetime of

-        another entity bean. The cascade-delete element can

-        only be specified for an ejb-relationship-role

-        element contained in an ejb-relation element in

-        which the other ejb-relationship-role

-        element specifies a multiplicity of One.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="relationship-role-source"

-                     type="j2ee:relationship-role-sourceType"/>

-        <xsd:element name="cmr-field"

-                     type="j2ee:cmr-fieldType"

-                     minOccurs="0"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="enterprise-beansType">

-<xsd:annotation>

-<xsd:documentation>

-

-The enterprise-beansType declares one or more enterprise

-beans. Each bean can be a session, entity or message-driven

-bean.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:choice maxOccurs="unbounded">

-        <xsd:element name="session"

-                     type="j2ee:session-beanType">

-        <xsd:unique name="session-ejb-local-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of

-        an EJB reference. The EJB reference is an entry in

-        the component's environment and is relative to the

-        java:comp/env context.  The name must be unique within

-        the component.

-

-        It is recommended that name be prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-local-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="session-ejb-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of an EJB

-        reference. The EJB reference is an entry in the

-        component's environment and is relative to the

-        java:comp/env context. The name must be unique

-        within the component.

-

-        It is recommended that name is prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="session-resource-env-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The resource-env-ref-name element specifies the name

-        of a resource environment reference; its value is

-        the environment entry name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-env-ref"/>

-            <xsd:field    xpath="j2ee:resource-env-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="session-message-destination-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The message-destination-ref-name element specifies the name

-        of a message destination reference; its value is

-        the message destination reference name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:message-destination-ref"/>

-            <xsd:field    xpath="j2ee:message-destination-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="session-res-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The res-ref-name element specifies the name of a

-        resource manager connection factory reference.  The name

-        is a JNDI name relative to the java:comp/env context.

-        The name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-ref"/>

-            <xsd:field    xpath="j2ee:res-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="session-env-entry-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The env-entry-name element contains the name of a

-        component's environment entry.  The name is a JNDI

-        name relative to the java:comp/env context.  The

-        name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:env-entry"/>

-            <xsd:field    xpath="j2ee:env-entry-name"/>

-        </xsd:unique>

-        </xsd:element>

-

-        <xsd:element name="entity"

-                     type="j2ee:entity-beanType">

-        <xsd:unique name="entity-ejb-local-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of

-        an EJB reference. The EJB reference is an entry in

-        the component's environment and is relative to the

-        java:comp/env context.  The name must be unique within

-        the component.

-

-        It is recommended that name be prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-local-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="entity-ejb-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of an EJB

-        reference. The EJB reference is an entry in the

-        component's environment and is relative to the

-        java:comp/env context. The name must be unique

-        within the component.

-

-        It is recommended that name is prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="entity-resource-env-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The resource-env-ref-name element specifies the name

-        of a resource environment reference; its value is

-        the environment entry name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-env-ref"/>

-            <xsd:field    xpath="j2ee:resource-env-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="entity-message-destination-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The message-destination-ref-name element specifies the name

-        of a message destination reference; its value is

-        the message destination reference name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:message-destination-ref"/>

-            <xsd:field    xpath="j2ee:message-destination-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="entity-res-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The res-ref-name element specifies the name of a

-        resource manager connection factory reference.  The name

-        is a JNDI name relative to the java:comp/env context.

-        The name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-ref"/>

-            <xsd:field    xpath="j2ee:res-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="entity-env-entry-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The env-entry-name element contains the name of a

-        component's environment entry.  The name is a JNDI

-        name relative to the java:comp/env context.  The

-        name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:env-entry"/>

-            <xsd:field    xpath="j2ee:env-entry-name"/>

-        </xsd:unique>

-        </xsd:element>

-

-        <xsd:element name="message-driven"

-                     type="j2ee:message-driven-beanType">

-        <xsd:unique name="messaged-ejb-local-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of

-        an EJB reference. The EJB reference is an entry in

-        the component's environment and is relative to the

-        java:comp/env context.  The name must be unique within

-        the component.

-

-        It is recommended that name be prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-local-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="messaged-ejb-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-ref-name element contains the name of an EJB

-        reference. The EJB reference is an entry in the

-        component's environment and is relative to the

-        java:comp/env context. The name must be unique

-        within the component.

-

-        It is recommended that name is prefixed with "ejb/".

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:ejb-ref"/>

-            <xsd:field    xpath="j2ee:ejb-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="messaged-resource-env-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The resource-env-ref-name element specifies the name

-        of a resource environment reference; its value is

-        the environment entry name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-env-ref"/>

-            <xsd:field    xpath="j2ee:resource-env-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="messaged-message-destination-ref-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The message-destination-ref-name element specifies the name

-        of a message destination reference; its value is

-        the message destination reference name used in the component

-        code. The name is a JNDI name relative to the

-        java:comp/env context and must be unique within an

-        component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:message-destination-ref"/>

-            <xsd:field    xpath="j2ee:message-destination-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="messaged-res-ref-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The res-ref-name element specifies the name of a

-        resource manager connection factory reference.  The name

-        is a JNDI name relative to the java:comp/env context.

-        The name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:resource-ref"/>

-            <xsd:field    xpath="j2ee:res-ref-name"/>

-        </xsd:unique>

-

-        <xsd:unique name="messaged-env-entry-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The env-entry-name element contains the name of a

-        component's environment entry.  The name is a JNDI

-        name relative to the java:comp/env context.  The

-        name must be unique within an component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector xpath="j2ee:env-entry"/>

-            <xsd:field    xpath="j2ee:env-entry-name"/>

-        </xsd:unique>

-        </xsd:element>

-

-    </xsd:choice>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="entity-beanType">

-<xsd:annotation>

-<xsd:documentation>

-

-The entity-beanType declares an entity bean. The declaration

-consists of:

-

-    - an optional description

-    - an optional display name

-    - an optional icon element that contains a small and a large

-      icon file name

-    - a unique name assigned to the enterprise bean

-      in the deployment descriptor

-    - the names of the entity bean's remote home

-      and remote interfaces, if any

-    - the names of the entity bean's local home and local

-      interfaces, if any

-    - the entity bean's implementation class

-    - the entity bean's persistence management type

-    - the entity bean's primary key class name

-    - an indication of the entity bean's reentrancy

-    - an optional specification of the

-      entity bean's cmp-version

-    - an optional specification of the entity bean's

-      abstract schema name

-    - an optional list of container-managed fields

-    - an optional specification of the primary key

-      field

-    - an optional declaration of the bean's environment

-      entries

-    - an optional declaration of the bean's EJB

-      references

-    - an optional declaration of the bean's local

-      EJB references

-    - an optional declaration of the bean's web

-      service references

-    - an optional declaration of the security role

-      references

-    - an optional declaration of the security identity

-      to be used for the execution of the bean's methods

-    - an optional declaration of the bean's

-      resource manager connection factory references

-    - an optional declaration of the bean's

-      resource environment references

-    - an optional declaration of the bean's message

-      destination references

-    - an optional set of query declarations

-      for finder and select methods for an entity

-      bean with cmp-version 2.x.

-    - an optional set of deployment-extension

-      declarations.

-

-The optional abstract-schema-name element must be specified

-for an entity bean with container-managed persistence and

-cmp-version 2.x.

-

-The optional primkey-field may be present in the descriptor

-if the entity's persistence-type is Container.

-

-The optional cmp-version element may be present in the

-descriptor if the entity's persistence-type is Container. If

-the persistence-type is Container and the cmp-version

-element is not specified, its value defaults to 2.x.

-

-The optional home and remote elements must be specified if

-the entity bean cmp-version is 1.x.

-

-The optional home and remote elements must be specified if

-the entity bean has a remote home and remote interface.

-

-The optional local-home and local elements must be specified

-if the entity bean has a local home and local interface.

-

-Either both the local-home and the local elements or both

-the home and the remote elements must be specified.

-

-The optional query elements must be present if the

-persistence-type is Container and the cmp-version is 2.x and

-query methods other than findByPrimaryKey have been defined

-for the entity bean.

-

-The other elements that are optional are "optional" in the

-sense that they are omitted if the lists represented by them

-are empty.

-

-At least one cmp-field element must be present in the

-descriptor if the entity's persistence-type is Container and

-the cmp-version is 1.x, and none must not be present if the

-entity's persistence-type is Bean.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-name"

-                     type="j2ee:ejb-nameType"/>

-        <xsd:element name="home"

-                     type="j2ee:homeType"

-                     minOccurs="0"/>

-        <xsd:element name="remote"

-                     type="j2ee:remoteType"

-                     minOccurs="0"/>

-        <xsd:element name="local-home"

-                     type="j2ee:local-homeType"

-                     minOccurs="0"/>

-        <xsd:element name="local"

-                     type="j2ee:localType"

-                     minOccurs="0"/>

-        <xsd:element name="ejb-class"

-                     type="j2ee:ejb-classType"/>

-        <xsd:element name="persistence-type"

-                     type="j2ee:persistence-typeType"/>

-        <xsd:element name="prim-key-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The prim-key-class element contains the

-        fully-qualified name of an

-        entity bean's primary key class.

-

-        If the definition of the primary key class is

-        deferred to deployment time, the prim-key-class

-        element should specify java.lang.Object.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="reentrant"

-                     type="j2ee:true-falseType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The reentrant element specifies whether an entity

-        bean is reentrant or not.

-

-        The reentrant element must be one of the two

-        following: true or false

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="cmp-version"

-                     type="j2ee:cmp-versionType"

-                     minOccurs="0"/>

-        <xsd:element name="abstract-schema-name"

-                     type="j2ee:java-identifierType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The abstract-schema-name element specifies the name

-        of the abstract schema type of an entity bean with

-        cmp-version 2.x. It is used in EJB QL queries.

-

-        For example, the abstract-schema-name for an entity

-        bean whose local interface is

-        com.acme.commerce.Order might be Order.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="cmp-field"

-                     type="j2ee:cmp-fieldType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="primkey-field"

-                     type="j2ee:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The primkey-field element is used to specify the

-        name of the primary key field for an entity with

-        container-managed persistence.

-

-        The primkey-field must be one of the fields declared

-        in the cmp-field element, and the type of the field

-        must be the same as the primary key type.

-

-        The primkey-field element is not used if the primary

-        key maps to multiple container-managed fields

-        (i.e. the key is a compound key). In this case, the

-        fields of the primary key class must be public, and

-        their names must correspond to the field names of

-        the entity bean class that comprise the key.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="env-entry"

-                     type="j2ee:env-entryType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref"

-                     type="j2ee:ejb-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-local-ref"

-                     type="j2ee:ejb-local-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="service-ref"

-                     type="j2ee:service-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="security-role-ref"

-                     type="j2ee:security-role-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="security-identity"

-                     type="j2ee:security-identityType"

-                     minOccurs="0"/>

-        <xsd:element name="resource-ref"

-                     type="j2ee:resource-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="resource-env-ref"

-                     type="j2ee:resource-env-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref"

-                     type="j2ee:message-destination-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="query"

-                     type="j2ee:queryType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="exclude-listType">

-<xsd:annotation>

-<xsd:documentation>

-

-The exclude-listType specifies one or more methods which

-the Assembler marks to be uncallable.

-

-If the method permission relation contains methods that are

-in the exclude list, the Deployer should consider those

-methods to be uncallable.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="method"

-                     type="j2ee:methodType"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="java-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-This is a generic type that designates a Java primitive

-type or a fully qualified name of a Java interface/type.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:pattern value="[^\p{Z}]*"/>

-    </xsd:restriction>

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="message-driven-beanType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-driven element declares a message-driven

-bean. The declaration consists of:

-

-    - an optional description

-    - an optional display name

-    - an optional icon element that contains a small and a large

-      icon file name.

-    - a name assigned to the enterprise bean in

-      the deployment descriptor

-    - the message-driven bean's implementation class

-    - an optional declaration of the bean's messaging

-      type

-    - the message-driven bean's transaction management type

-    - an optional declaration of the bean's

-      message-destination-type

-    - an optional declaration of the bean's

-      message-destination-link

-    - an optional declaration of the message-driven bean's

-      activation configuration properties

-    - an optional declaration of the bean's environment

-      entries

-    - an optional declaration of the bean's EJB references

-    - an optional declaration of the bean's local EJB

-      references

-    - an optional declaration of the bean's web service

-      references

-    - an optional declaration of the security

-      identity to be used for the execution of the bean's

-      methods

-    - an optional declaration of the bean's

-      resource manager connection factory

-      references

-    - an optional declaration of the bean's resource

-      environment references.

-    - an optional declaration of the bean's message

-      destination references

-    - an optional declaration of deployment extensions

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"/>

-        <xsd:element name="ejb-name"

-                     type="j2ee:ejb-nameType"/>

-        <xsd:element name="ejb-class"

-                     type="j2ee:ejb-classType"/>

-        <xsd:element name="messaging-type"

-                     type="j2ee:fully-qualified-classType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The messaging-type element specifies the message

-        listener interface of the message-driven bean. If

-        the messaging-type element is not specified, it is

-        assumed to be javax.jms.MessageListener.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="transaction-type"

-                     type="j2ee:transaction-typeType"/>

-        <xsd:element name="message-destination-type"

-                     type="j2ee:message-destination-typeType"

-                     minOccurs="0"/>

-        <xsd:element name="message-destination-link"

-                     type="j2ee:message-destination-linkType"

-                     minOccurs="0"/>

-        <xsd:element name="activation-config"

-                     type="j2ee:activation-configType"

-                     minOccurs="0"/>

-        <xsd:element name="env-entry"

-                     type="j2ee:env-entryType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref"

-                     type="j2ee:ejb-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-local-ref"

-                     type="j2ee:ejb-local-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="service-ref"

-                     type="j2ee:service-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="security-identity"

-                     type="j2ee:security-identityType"

-                     minOccurs="0"/>

-        <xsd:element name="resource-ref"

-                     type="j2ee:resource-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="resource-env-ref"

-                     type="j2ee:resource-env-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref"

-                     type="j2ee:message-destination-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="method-intfType">

-

-<xsd:annotation>

-<xsd:documentation>

-

-The method-intf element allows a method element to

-differentiate between the methods with the same name and

-signature that are multiply defined across the home and

-component interfaces (e.g, in both an enterprise bean's

-remote and local interfaces or in both an enterprise bean's

-home and remote interfaces, etc.); the component and web

-service endpoint interfaces, and so on.

-

-The method-intf element must be one of the following:

-

-    Home

-    Remote

-    LocalHome

-    Local

-    ServiceEndpoint

-

-</xsd:documentation>

-</xsd:annotation>

-

-  <xsd:restriction base="j2ee:string">

-    <xsd:enumeration value="Home"/>

-    <xsd:enumeration value="Remote"/>

-    <xsd:enumeration value="LocalHome"/>

-    <xsd:enumeration value="Local"/>

-    <xsd:enumeration value="ServiceEndpoint"/>

-  </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="method-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The method-nameType contains a name of an enterprise

-bean method or the asterisk (*) character. The asterisk is

-used when the element denotes all the methods of an

-enterprise bean's client view interfaces.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="method-paramsType">

-<xsd:annotation>

-<xsd:documentation>

-

-The method-paramsType defines a list of the

-fully-qualified Java type names of the method parameters.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="method-param"

-                     type="j2ee:java-typeType"

-                     minOccurs="0"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The method-param element contains a primitive

-        or a fully-qualified Java type name of a method

-        parameter.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="method-permissionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The method-permissionType specifies that one or more

-security roles are allowed to invoke one or more enterprise

-bean methods. The method-permissionType consists of an

-optional description, a list of security role names or an

-indicator to state that the method is unchecked for

-authorization, and a list of method elements.

-

-The security roles used in the method-permissionType

-must be defined in the security-role elements of the

-deployment descriptor, and the methods must be methods

-defined in the enterprise bean's home, component and/or web

-service endpoint interfaces.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:choice>

-            <xsd:element name="role-name"

-                         type="j2ee:role-nameType"

-                         maxOccurs="unbounded"/>

-            <xsd:element name="unchecked"

-                         type="j2ee:emptyType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The unchecked element specifies that a method is

-            not checked for authorization by the container

-            prior to invocation of the method.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-        </xsd:choice>

-        <xsd:element name="method"

-                     type="j2ee:methodType"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="methodType">

-<xsd:annotation>

-<xsd:documentation>

-

-The methodType is used to denote a method of an enterprise

-bean's home, component, and/or web service endpoint

-interface, or, in the case of a message-driven bean, the

-bean's message listener method, or a set of such

-methods. The ejb-name element must be the name of one of the

-enterprise beans declared in the deployment descriptor; the

-optional method-intf element allows to distinguish between a

-method with the same signature that is multiply defined

-across the home, component, and/or web service endpoint

-interfaces; the method-name element specifies the method

-name; and the optional method-params elements identify a

-single method among multiple methods with an overloaded

-method name.

-

-There are three possible styles of using methodType element

-within a method element:

-

-1.

-<method>

-    <ejb-name>EJBNAME</ejb-name>

-    <method-name>*</method-name>

-</method>

-

-   This style is used to refer to all the methods of the

-   specified enterprise bean's home, component, and/or web

-   service endpoint interfaces.

-

-2.

-<method>

-    <ejb-name>EJBNAME</ejb-name>

-    <method-name>METHOD</method-name>

-</method>>

-

-   This style is used to refer to the specified method of

-   the specified enterprise bean. If there are multiple

-   methods with the same overloaded name, the element of

-   this style refers to all the methods with the overloaded

-   name.

-

-3.

-<method>

-    <ejb-name>EJBNAME</ejb-name>

-    <method-name>METHOD</method-name>

-    <method-params>

-        <method-param>PARAM-1</method-param>

-        <method-param>PARAM-2</method-param>

-        ...

-        <method-param>PARAM-n</method-param>

-    </method-params>

-</method>

-

-   This style is used to refer to a single method within a

-   set of methods with an overloaded name. PARAM-1 through

-   PARAM-n are the fully-qualified Java types of the

-   method's input parameters (if the method has no input

-   arguments, the method-params element contains no

-   method-param elements). Arrays are specified by the

-   array element's type, followed by one or more pair of

-   square brackets (e.g. int[][]). If there are multiple

-   methods with the same overloaded name, this style refers

-   to all of the overloaded methods.

-

-Examples:

-

-Style 1: The following method element refers to all the

-methods of the EmployeeService bean's home, component,

-and/or web service endpoint interfaces:

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-name>*</method-name>

-</method>

-

-Style 2: The following method element refers to all the

-create methods of the EmployeeService bean's home

-interface(s).

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-name>create</method-name>

-</method>

-

-Style 3: The following method element refers to the

-create(String firstName, String LastName) method of the

-EmployeeService bean's home interface(s).

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-name>create</method-name>

-    <method-params>

-        <method-param>java.lang.String</method-param>

-        <method-param>java.lang.String</method-param>

-    </method-params>

-</method>

-

-The following example illustrates a Style 3 element with

-more complex parameter types. The method

-foobar(char s, int i, int[] iar, mypackage.MyClass mycl,

-mypackage.MyClass[][] myclaar) would be specified as:

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-name>foobar</method-name>

-    <method-params>

-        <method-param>char</method-param>

-        <method-param>int</method-param>

-        <method-param>int[]</method-param>

-        <method-param>mypackage.MyClass</method-param>

-        <method-param>mypackage.MyClass[][]</method-param>

-    </method-params>

-</method>

-

-The optional method-intf element can be used when it becomes

-necessary to differentiate between a method that is multiply

-defined across the enterprise bean's home, component, and/or

-web service endpoint interfaces with the same name and

-signature.

-

-For example, the method element

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-intf>Remote</method-intf>

-    <method-name>create</method-name>

-    <method-params>

-        <method-param>java.lang.String</method-param>

-        <method-param>java.lang.String</method-param>

-    </method-params>

-</method>

-

-can be used to differentiate the create(String, String)

-method defined in the remote interface from the

-create(String, String) method defined in the remote home

-interface, which would be defined as

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-intf>Home</method-intf>

-    <method-name>create</method-name>

-    <method-params>

-        <method-param>java.lang.String</method-param>

-        <method-param>java.lang.String</method-param>

-    </method-params>

-</method>

-

-and the create method that is defined in the local home

-interface which would be defined as

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-intf>LocalHome</method-intf>

-    <method-name>create</method-name>

-    <method-params>

-        <method-param>java.lang.String</method-param>

-        <method-param>java.lang.String</method-param>

-    </method-params>

-</method>

-

-The method-intf element can be used with all th ree Styles

-of the method element usage. For example, the following

-method element example could be used to refer to all the

-methods of the EmployeeService bean's remote home interface.

-

-<method>

-    <ejb-name>EmployeeService</ejb-name>

-    <method-intf>Home</method-intf>

-    <method-name>*</method-name>

-</method>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="ejb-name"

-                     type="j2ee:ejb-nameType"/>

-        <xsd:element name="method-intf"

-                     type="j2ee:method-intfType"

-                     minOccurs="0">

-        </xsd:element>

-        <xsd:element name="method-name"

-                     type="j2ee:method-nameType"/>

-        <xsd:element name="method-params"

-                     type="j2ee:method-paramsType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="multiplicityType">

-<xsd:annotation>

-<xsd:documentation>

-

-The multiplicityType describes the multiplicity of the

-role that participates in a relation.

-

-The value must be one of the two following:

-

-    One

-    Many

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="One"/>

-        <xsd:enumeration value="Many"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="persistence-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The persistence-typeType specifies an entity bean's persistence

-management type.

-

-The persistence-type element must be one of the two following:

-

-    Bean

-    Container

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Bean"/>

-        <xsd:enumeration value="Container"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="query-methodType">

-<xsd:annotation>

-<xsd:documentation>

-

-The query-method specifies the method for a finder or select

-query.

-

-The method-name element specifies the name of a finder or select

-method in the entity bean's implementation class.

-

-Each method-param must be defined for a query-method using the

-method-params element.

-

-It is used by the query-method element.

-

-Example:

-

-<query>

-    <description>Method finds large orders</description>

-    <query-method>

-        <method-name>findLargeOrders</method-name>

-        <method-params></method-params>

-    </query-method>

-    <ejb-ql>SELECT OBJECT(o) FROM Order o WHERE o.amount &gt; 1000</ejb-ql>

-</query>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="method-name"

-                     type="j2ee:method-nameType"/>

-        <xsd:element name="method-params"

-                     type="j2ee:method-paramsType"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="queryType">

-<xsd:annotation>

-<xsd:documentation>

-

-The queryType defines a finder or select

-query. It contains

-    - an optional description of the query

-    - the specification of the finder or select

-      method it is used by

-        - an optional specification of the result type

-          mapping, if the query is for a select method

-          and entity objects are returned.

-        - the EJB QL query string that defines the query.

-    - an optional declaration of deployment extensions

-

-Queries that are expressible in EJB QL must use the ejb-ql

-element to specify the query. If a query is not expressible

-in EJB QL, the description element should be used to

-describe the semantics of the query and the ejb-ql element

-should be empty.

-

-The result-type-mapping is an optional element. It can only

-be present if the query-method specifies a select method

-that returns entity objects.  The default value for the

-result-type-mapping element is "Local".

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType" minOccurs="0"/>

-        <xsd:element name="query-method"

-                     type="j2ee:query-methodType"/>

-        <xsd:element name="result-type-mapping"

-                     type="j2ee:result-type-mappingType"

-                     minOccurs="0"/>

-        <xsd:element name="ejb-ql"

-                     type="xsd:string"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="relationship-role-sourceType">

-<xsd:annotation>

-<xsd:documentation>

-

-The relationship-role-sourceType designates the source of a

-role that participates in a relationship. A

-relationship-role-sourceType is used by

-relationship-role-source elements to uniquely identify an

-entity bean.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-name"

-                     type="j2ee:ejb-nameType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="relationshipsType">

-<xsd:annotation>

-<xsd:documentation>

-

-The relationshipsType describes the relationships in

-which entity beans with container-managed persistence

-participate. The relationshipsType contains an optional

-description; and a list of ejb-relation elements, which

-specify the container managed relationships.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-relation"

-                     type="j2ee:ejb-relationType"

-                     maxOccurs="unbounded">

-

-        <xsd:unique name="role-name-uniqueness">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The ejb-relationship-role-name contains the name of a

-        relationship role. The name must be unique within

-        a relationship, but can be reused in different

-        relationships.

-

-        </xsd:documentation>

-        </xsd:annotation>

-            <xsd:selector

-                xpath=".//j2ee:ejb-relationship-role-name"/>

-            <xsd:field

-                xpath="."/>

-        </xsd:unique>

-        </xsd:element>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="result-type-mappingType">

-<xsd:annotation>

-<xsd:documentation>

-

-The result-type-mappingType is used in the query element to

-specify whether an abstract schema type returned by a query

-for a select method is to be mapped to an EJBLocalObject or

-EJBObject type.

-

-The value must be one of the following:

-

-    Local

-    Remote

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Local"/>

-        <xsd:enumeration value="Remote"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="security-identityType">

-<xsd:annotation>

-<xsd:documentation>

-

-The security-identityType specifies whether the caller's

-security identity is to be used for the execution of the

-methods of the enterprise bean or whether a specific run-as

-identity is to be used. It contains an optional description

-and a specification of the security identity to be used.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:choice>

-            <xsd:element name="use-caller-identity"

-                         type="j2ee:emptyType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The use-caller-identity element specifies that

-            the caller's security identity be used as the

-            security identity for the execution of the

-            enterprise bean's methods.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-            <xsd:element name="run-as"

-                         type="j2ee:run-asType"/>

-        </xsd:choice>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="service-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-THIS IS A PLACEHOLDER TYPE which will

-be REPLACED. It will be defined based on

-definition to be supplied by JSR109.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:simpleContent>

-        <xsd:extension base="xsd:string">

-        </xsd:extension>

-    </xsd:simpleContent>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="session-beanType">

-<xsd:annotation>

-<xsd:documentation>

-

-The session-beanType declares an session bean. The

-declaration consists of:

-

-    - an optional description

-    - an optional display name

-    - an optional icon element that contains a small and a large

-      icon file name

-    - a name assigned to the enterprise bean

-      in the deployment description

-    - the names of the session bean's remote home and

-      remote interfaces, if any

-    - the names of the session bean's local home and

-      local interfaces, if any

-    - the name of the session bean's web service endpoint

-      interface, if any

-    - the session bean's implementation class

-    - the session bean's state management type

-    - the session bean's transaction management type

-    - an optional declaration of the bean's

-      environment entries

-    - an optional declaration of the bean's EJB references

-    - an optional declaration of the bean's local

-      EJB references

-    - an optional declaration of the bean's web

-      service references

-    - an optional declaration of the security role

-      references

-    - an optional declaration of the security identity

-      to be used for the execution of the bean's methods

-    - an optional declaration of the bean's resource

-      manager connection factory references

-    - an optional declaration of the bean's resource

-      environment references.

-    - an optional declaration of the bean's message

-      destination references

-    - an optional declaration deployment extensions

-

-The elements that are optional are "optional" in the sense

-that they are omitted when if lists represented by them are

-empty.

-

-Either both the local-home and the local elements or both

-the home and the remote elements must be specified for the

-session bean.

-

-The service-endpoint element may only be specified if the

-bean is a stateless session bean.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-name"

-                     type="j2ee:ejb-nameType"/>

-        <xsd:element name="home"

-                     type="j2ee:homeType"

-                     minOccurs="0"/>

-        <xsd:element name="remote"

-                     type="j2ee:remoteType"

-                     minOccurs="0"/>

-        <xsd:element name="local-home"

-                     type="j2ee:local-homeType"

-                     minOccurs="0"/>

-        <xsd:element name="local"

-                     type="j2ee:localType"

-                     minOccurs="0"/>

-        <xsd:element name="service-endpoint"

-                     type="j2ee:fully-qualified-classType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The service-endpoint element contains the

-        fully-qualified name of the enterprise bean's web

-        service endpoint interface. The service-endpoint

-        element may only be specified for a stateless

-        session bean. The specified interface must be a

-        valid JAX-RPC service endpoint interface.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="ejb-class"

-                     type="j2ee:ejb-classType"/>

-        <xsd:element name="session-type"

-                     type="j2ee:session-typeType"/>

-        <xsd:element name="transaction-type"

-                     type="j2ee:transaction-typeType"/>

-        <xsd:element name="env-entry"

-                     type="j2ee:env-entryType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref"

-                     type="j2ee:ejb-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-local-ref"

-                     type="j2ee:ejb-local-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="service-ref"

-                     type="j2ee:service-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="security-role-ref"

-                     type="j2ee:security-role-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="security-identity"

-                     type="j2ee:security-identityType"

-                     minOccurs="0"/>

-        <xsd:element name="resource-ref"

-                     type="j2ee:resource-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="resource-env-ref"

-                     type="j2ee:resource-env-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref"

-                     type="j2ee:message-destination-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="session-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The session-typeType describes whether the session bean is a

-stateful session or stateless session. It is used by

-session-type elements.

-

-The value must be one of the two following:

-

-    Stateful

-    Stateless

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Stateful"/>

-        <xsd:enumeration value="Stateless"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="trans-attributeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The trans-attributeType specifies how the container must

-manage the transaction boundaries when delegating a method

-invocation to an enterprise bean's business method.

-

-The value must be one of the following:

-

-    NotSupported

-    Supports

-    Required

-    RequiresNew

-    Mandatory

-    Never

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="NotSupported"/>

-        <xsd:enumeration value="Supports"/>

-        <xsd:enumeration value="Required"/>

-        <xsd:enumeration value="RequiresNew"/>

-        <xsd:enumeration value="Mandatory"/>

-        <xsd:enumeration value="Never"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="transaction-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The transaction-typeType specifies an enterprise bean's

-transaction management type.

-

-The transaction-type must be one of the two following:

-

-    Bean

-    Container

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Bean"/>

-        <xsd:enumeration value="Container"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/j2ee_1_4.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/j2ee_1_4.xsd
deleted file mode 100755
index 966a925..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/j2ee_1_4.xsd
+++ /dev/null
@@ -1,1406 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<!--Generated by Umit Yalcinalp March 2002-->

-<xsd:schema

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="1.4">

-<xsd:annotation>

-<xsd:documentation>

-@(#)j2ee_1_4.xsds	1.20 02/07/12

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following definitions that appear in the common

-shareable schema(s) of J2EE deployment descriptors should be

-interpreted with respect to the context they are included:

-

-Deployment Component may indicate one of the following:

-    j2ee application;

-    application client;

-    web application;

-    enterprise bean;

-    resource adapter;

-

-Deployment File may indicate one of the following:

-    ear file;

-    war file;

-    jar file;

-    rar file;

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:import namespace="http://www.w3.org/XML/1998/namespace"

-            schemaLocation="http://www.w3.org/2001/xml.xsd"/>

-

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="deployment-extensionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The deployment-extensionType is used to indicate

-extensions to the specific Deployment Component.

-

-It is used by deployment-extension elements to designate an

-extension block that is targeted to a specific extension

-designated by a set of extension elements that are declared

-by a namespace. The namespace identifies the extension to

-the deployment tool that processes the extension.

-

-The mustUnderstand attribute is provided by the Application

-Assembler to indicate whether the extension described is an

-essential extension that must exist in the container. If

-mustUnderstand is "true", the deployment tool must indicate

-an error when processing a deployment-extension element with

-a namespace it does not understand.  Extensions that are not

-essential are declared by default as optional extensions

-that need not be provided by a container.  Applications that

-use such extensions are portable to other containers because

-deployment tools will ignore extensions that they don't

-support.

-

-The type of the extension-element is abstract. Therefore, a

-concrete type must be specified by the deployment descriptor

-using xsi:type attribute for each extension-element.

-

-The value of the mustUnderstand attribute is "false"

-by default.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-    <xsd:element name="extension-element"

-                 type="j2ee:extensibleType"

-                 maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-    <xsd:attribute name="namespace"

-                   use="required"

-                   type="xsd:anyURI"/>

-    <xsd:attribute name="mustUnderstand"

-                   type="xsd:boolean"/>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="descriptionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The description type is used by a description element to

-provide text describing the parent element.  The elements

-that use this type should include any information that the

-Deployment Component's Deployment File file producer wants

-to provide to the consumer of the Deployment Component's

-Deployment File (i.e., to the Deployer). Typically, the

-tools used by such a Deployment File consumer will display

-the description when processing the parent element that

-contains the description.

-

-The lang attribute defines the language that the

-description is provided in. The default value is "en" (English).

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:simpleContent>

-        <xsd:extension base="xsd:string">

-        <xsd:attribute ref="xml:lang"/>

-        </xsd:extension>

-    </xsd:simpleContent>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="dewey-versionType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type defines a dewey decimal which is used

-to describe versions of documents.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="xsd:decimal">

-        <xsd:whiteSpace value="collapse"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="display-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The display-name type contains a short name that is intended

-to be displayed by tools. It is used by display-name

-elements.  The display name need not be unique.

-

-Example:

-

-...

-   <display-name xml:lang="en">Employee Self Service</display-name>

-

-The value of the xml:lang attribute is "en" (English) by default.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:simpleContent>

-        <xsd:extension base="j2ee:string">

-        <xsd:attribute ref="xml:lang"/>

-        </xsd:extension>

-    </xsd:simpleContent>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="ejb-linkType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-linkType is used by ejb-link

-elements in the ejb-ref or ejb-local-ref elements to specify

-that an EJB reference is linked to enterprise bean.

-

-The value of the ejb-link element must be the ejb-name of an

-enterprise bean in the same ejb-jar file or in another ejb-jar

-file in the same J2EE application unit.

-

-Alternatively, the name in the ejb-link element may be composed of a

-path name specifying the ejb-jar containing the referenced enterprise

-bean with the ejb-name of the target bean appended and separated from

-the path name by "#".  The path name is relative to the Deployment File

-containing Deployment Component that is referencing the enterprise bean.

-This allows multiple enterprise beans with the same ejb-name to be

-uniquely identified.

-

-Examples:

-

-    <ejb-link>EmployeeRecord</ejb-link>

-

-    <ejb-link>../products/product.jar#ProductEJB</ejb-link>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="ejb-local-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-local-refType is used by ejb-local-ref elements for

-the declaration of a reference to an enterprise bean's local

-home. The declaration consists of:

-

-    - an optional description

-    - the EJB reference name used in the code of the Deployment

-      Component that's referencing the enterprise bean

-    - the expected type of the referenced enterprise bean

-    - the expected local home and local interfaces of the

-      referenced enterprise bean

-    - optional ejb-link information, used to specify the

-      referenced enterprise bean

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref-name"

-                     type="j2ee:ejb-ref-nameType"/>

-        <xsd:element name="ejb-ref-type"

-                     type="j2ee:ejb-ref-typeType"/>

-        <xsd:element name="local-home"

-                     type="j2ee:local-homeType"/>

-        <xsd:element name="local"

-                     type="j2ee:localType"/>

-        <xsd:element name="ejb-link"

-                     type="j2ee:ejb-linkType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="ejb-ref-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-ref-name element contains the name of an EJB

-reference. The EJB reference is an entry in the

-Deployment Component's environment and is relative to the

-java:comp/env context.  The name must be unique within the

-Deployment Component.

-

-It is recommended that name is prefixed with "ejb/".

-

-Example:

-

-<ejb-ref-name>ejb/Payroll</ejb-ref-name>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:jndi-nameType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="ejb-ref-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-ref-typeType contains the expected type of the

-referenced enterprise bean.

-

-The ejb-ref-type designates a value

-that must be one of the following:

-

-    Entity

-    Session

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Entity"/>

-        <xsd:enumeration value="Session"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="ejb-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The ejb-refType is used by ejb-ref elements for the

-declaration of a reference to an enterprise bean's home. The

-declaration consists of:

-

-    - an optional description

-    - the EJB reference name used in the code of

-      the Deployment Component that's referencing the enterprise

-      bean

-    - the expected type of the referenced enterprise bean

-    - the expected home and remote interfaces of the referenced

-      enterprise bean

-    - optional ejb-link information, used to specify the

-      referenced enterprise bean

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref-name"

-                     type="j2ee:ejb-ref-nameType"/>

-        <xsd:element name="ejb-ref-type"

-                     type="j2ee:ejb-ref-typeType"/>

-

-        <xsd:element name="home"

-                     type="j2ee:homeType"/>

-        <xsd:element name="remote"

-                     type="j2ee:remoteType"/>

-        <xsd:element name="ejb-link"

-                     type="j2ee:ejb-linkType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="emptyType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type is used to designate an empty

-element when used.

-

-</xsd:documentation>

-</xsd:annotation>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="env-entry-type-valuesType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type contains the fully-qualified Java type of the

-environment entry value that is expected by the

-application's code.

-

-The following are the legal values of env-entry-type-valuesType:

-

-    java.lang.Boolean

-    java.lang.Byte

-    java.lang.Character

-    java.lang.String

-    java.lang.Short

-    java.lang.Integer

-    java.lang.Long

-    java.lang.Float

-    java.lang.Double

-

-Example:

-

-<env-entry-type>java.lang.Boolean</env-entry-type>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="java.lang.Boolean"/>

-        <xsd:enumeration value="java.lang.Byte"/>

-        <xsd:enumeration value="java.lang.Character"/>

-        <xsd:enumeration value="java.lang.String"/>

-        <xsd:enumeration value="java.lang.Short"/>

-        <xsd:enumeration value="java.lang.Integer"/>

-        <xsd:enumeration value="java.lang.Long"/>

-        <xsd:enumeration value="java.lang.Float"/>

-        <xsd:enumeration value="java.lang.Double"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="env-entryType">

-<xsd:annotation>

-<xsd:documentation>

-

-The env-entryType is used to declare an application's

-environment entry. The declaration consists of an optional

-description, the name of the environment entry, and an

-optional value.  If a value is not specified, one must be

-supplied during deployment.

-

-It is used by env-entry elements.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="env-entry-name"

-                     type="j2ee:jndi-nameType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The env-entry-name element contains the name of a

-        Deployment Component's environment entry.  The name

-        is a JNDI name relative to the java:comp/env

-        context.  The name must be unique within a

-        Deployment Component. The uniqueness

-        constraints must be defined within the declared

-        context.

-

-        Example:

-

-        <env-entry-name>minAmount</env-entry-name>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="env-entry-type"

-                     type="j2ee:env-entry-type-valuesType"/>

-

-        <xsd:element name="env-entry-value"

-                     type="xsd:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The env-entry-value designates the value of a

-        Deployment Component's environment entry. The value

-        must be a String that is valid for the

-        constructor of the specified type that takes a

-        single String parameter, or for java.lang.Character,

-        a single character.

-

-        Example:

-

-        <env-entry-value>100.00</env-entry-value>

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="extensibleType" abstract="true">

-<xsd:annotation>

-<xsd:documentation>

-

-The extensibleType is an abstract base type which is used to

-define the type of extension-elements. Instance documents

-must substitute a known type to define the extension by

-using xsi:type attribute to define the actual type of

-extension-elements.

-

-</xsd:documentation>

-</xsd:annotation>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="fully-qualified-classType">

-<xsd:annotation>

-<xsd:documentation>

-

-The elements that use this type designate the name of a

-Java class or interface.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="generic-booleanType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type defines four different values which can designate

-boolean values. This includes values yes and no which are

-not designated by xsd:boolean

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="true"/>

-        <xsd:enumeration value="false"/>

-        <xsd:enumeration value="yes"/>

-        <xsd:enumeration value="no"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="homeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The homeType defines the fully-qualified name of

-an enterprise bean's home interface.

-

-Example:

-

-    <home>com.aardvark.payroll.PayrollHome</home>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="iconType">

-<xsd:annotation>

-<xsd:documentation>

-

-The icon type contains small-icon and large-icon elements

-that specify the file names for small and large GIF or

-JPEG icon images used to represent the parent element in a

-GUI tool.

-

-The xml:lang attribute defines the language that the

-icon file names are provided in. Its value is "en" (English)

-by default.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="small-icon" type="j2ee:pathType"

-             minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-        The small-icon element contains the name of a file

-        containing a small (16 x 16) icon image. The file

-        name is a relative path within the Deployment

-        Component's Deployment File.

-

-        The image may be either in the JPEG or GIF format.

-        The icon can be used by tools.

-

-        Example:

-

-        <small-icon>employee-service-icon16x16.jpg</small-icon>

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="large-icon" type="j2ee:pathType"

-             minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The large-icon element contains the name of a file

-        containing a large

-        (32 x 32) icon image. The file name is a relative

-        path within the Deployment Component's Deployment

-        File.

-

-        The image may be either in the JPEG or GIF format.

-        The icon can be used by tools.

-

-        Example:

-

-        <large-icon>employee-service-icon32x32.jpg</large-icon>

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-

-    <xsd:attribute ref="xml:lang"/>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="java-identifierType">

-<xsd:annotation>

-<xsd:documentation>

-

-The java-identifierType defines a Java identifier.

-The users of this type should further verify that

-the content does not contain Java reserved keywords.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="jndi-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The jndi-nameType type designates a JNDI name in the

-Deployment Component's environment and is relative to the

-java:comp/env context.  A JNDI name must be unique within the

-Deployment Component.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="local-homeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The local-homeType defines the fully-qualified

-name of an enterprise bean's local home interface.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="localType">

-<xsd:annotation>

-<xsd:documentation>

-

-The localType defines the fully-qualified name of an

-enterprise bean's local interface.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="message-destination-linkType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-destination-linkType is used to link a message

-destination reference or message-driven bean to a message

-destination.

-

-The Assembler sets the value to reflect the flow of messages

-between producers and consumers in the application.

-

-The value must be the message-destination-name of a message

-destination in the same Deployment File or in another

-Deployment File in the same J2EE application unit.

-

-Alternatively, the value may be composed of a path name

-specifying a Deployment File containing the referenced

-message destination with the message-destination-name of the

-destination appended and separated from the path name by

-"#". The path name is relative to the Deployment File

-containing Deployment Component that is referencing the

-message destination.  This allows multiple message

-destinations with the same name to be uniquely identified.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="message-destination-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-destination-ref element contains a declaration

-of Deployment Component's reference to a message destination

-associated with a resource in Deployment Component's

-environment. It consists of:

-

-        - an optional description

-        - the message destination reference name

-        - the message destination type

-        - a specification as to whether the

-          destination is used for

-          consuming or producing messages, or both

-        - a link to the message destination

-

-Examples:

-

-<message-destination-ref>

-        <message-destination-ref-name>jms/StockQueue

-        </message-destination-ref-name>

-        <message-destination-type>javax.jms.Queue

-        </message-destination-type>

-        <message-destination-usage>Consumes

-        </message-destination-usage>

-        <message-destination-link>CorporateStocks

-        </message-destination-link>

-</message-destination-ref>

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref-name"

-                     type="j2ee:jndi-nameType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The message-destination-ref-name element specifies

-        the name of a message destination reference; its

-        value is the environment entry name used in

-        Deployment Component code.  The name is a JNDI name

-        relative to the java:comp/env context and must be

-        unique within an ejb-jar (for enterprise beans) or a

-        Deployment File (for others).

-        %%%

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="message-destination-type"

-                     type="j2ee:message-destination-typeType"/>

-        <xsd:element name="message-destination-usage"

-                     type="j2ee:message-destination-usageType"/>

-        <xsd:element name="message-destination-link"

-                     type="j2ee:message-destination-linkType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="message-destination-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-destination-typeType specifies the type of

-the destination. The type is specified by the Java interface

-expected to be implemented by the destination.

-

-Example:

-

- <message-destination-type>javax.jms.Queue

- </message-destination-type>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="message-destination-usageType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-destination-usageType specifies the use of the

-message destination indicated by the reference.  The value

-indicates whether messages are consumed from the message

-destination, produced for the destination, or both.  The

-Assembler makes use of this information in linking producers

-of a destination with its consumers.

-

-The value of the message-destination-usage element must be

-one of the following:

-    Consumes

-    Produces

-    ConsumesProduces

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Consumes"/>

-        <xsd:enumeration value="Produces"/>

-        <xsd:enumeration value="ConsumesProduces"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="message-destinationType">

-<xsd:annotation>

-<xsd:documentation>

-

-The message-destinationType specifies a message

-destination. The logical destination described by this

-element is mapped to a physical destination by the Deployer.

-

-The message destination element contains:

-

-        - an optional description

-        - an optional display-name

-        - an optional icon

-        - a message destination name which must be unique

-          among message destination names within the same

-          Deployment File.

-

-Example:

-

-<message-destination>

-        <message-destination-name>CorporateStocks

-        </message-destination-name>

-</message-destination>

-

-</xsd:documentation>

-</xsd:annotation>

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-name"

-                     type="j2ee:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The message-destination-name element specifies a

-        name for a message destination.  This name must be

-        unique among the names of message destinations

-        within the Deployment File.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="param-valueType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type is a general type that can be used to declare

-parameter/value lists.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-             type="j2ee:descriptionType"

-             minOccurs="0"

-             maxOccurs="unbounded"/>

-        <xsd:element name="param-name"

-             type="j2ee:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The param-name element contains the name of a

-        parameter.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="param-value"

-             type="xsd:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The param-value element contains the value of a

-        parameter.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="pathType">

-<xsd:annotation>

-<xsd:documentation>

-

-The elements that use this type designate either a relative

-path or an absolute path starting with a "/".

-

-In elements that specify a pathname to a file within the

-same Deployment File, relative filenames (i.e., those not

-starting with "/") are considered relative to the root of

-the Deployment File's namespace.  Absolute filenames (i.e.,

-those starting with "/") also specify names in the root of

-the Deployment File's namespace.  In general, relative names

-are preferred.  The exception is .war files where absolute

-names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="remoteType">

-<xsd:annotation>

-<xsd:documentation>

-

-The remote element contains the fully-qualified name

-of the enterprise bean's remote interface.

-

-Example:

-

-    <remote>com.wombat.empl.EmployeeService</remote>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:fully-qualified-classType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="res-authType">

-<xsd:annotation>

-<xsd:documentation>

-

-The res-authType specifies whether the Deployment Component

-code signs on programmatically to the resource manager, or

-whether the Container will sign on to the resource manager

-on behalf of the Deployment Component. In the latter case,

-the Container uses information that is supplied by the

-Deployer.

-

-The value must be one of the two following:

-

-    Application

-    Container

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Application"/>

-        <xsd:enumeration value="Container"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="res-sharing-scopeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The res-sharing-scope type specifies whether connections

-obtained through the given resource manager connection

-factory reference can be shared. The value, if specified,

-must be one of the two following:

-

-    Shareable

-    Unshareable

-

-The default value is Shareable.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="Shareable"/>

-        <xsd:enumeration value="Unshareable"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="resource-env-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The resource-env-refType is used to define

-resource-env-type elements.  It contains a declaration of a

-Deployment Component's reference to an administered object

-associated with a resource in the Deployment Component's

-environment.  It consists of an optional description, the

-resource environment reference name, and an indication of

-the resource environment reference type expected by the

-Deployment Component code.

-

-Example:

-

-<resource-env-ref>

-    <resource-env-ref-name>jms/StockQueue

-    </resource-env-ref-name>

-    <resource-env-ref-type>javax.jms.Queue

-    </resource-env-ref-type>

-</resource-env-ref>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="resource-env-ref-name"

-                     type="j2ee:jndi-nameType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The resource-env-ref-name element specifies the name

-        of a resource environment reference; its value is

-        the environment entry name used in

-        the Deployment Component code.  The name is a JNDI

-        name relative to the java:comp/env context and must

-        be unique within a Deployment Component.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="resource-env-ref-type"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The resource-env-ref-type element specifies the type

-        of a resource environment reference.  It is the

-        fully qualified name of a Java language class or

-        interface.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="resource-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The resource-refType contains a declaration of a

-Deployment Component's reference to an external resource. It

-consists of an optional description, the resource manager

-connection factory reference name, the indication of the

-resource manager connection factory type expected by the

-Deployment Component code, the type of authentication

-(Application or Container), and an optional specification of

-the shareability of connections obtained from the resource

-(Shareable or Unshareable).

-

-Example:

-

-<resource-ref>

-    <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>

-    <res-type>javax.sql.DataSource</res-type>

-    <res-auth>Container</res-auth>

-    <res-sharing-scope>Shareable</res-sharing-scope>

-</resource-ref>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="res-ref-name"

-                     type="j2ee:jndi-nameType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The res-ref-name element specifies the name of a

-        resource manager connection factory reference.

-        The name is a JNDI name relative to the

-        java:comp/env context.

-        The name must be unique within a Deployment File.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="res-type"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The res-type element specifies the type of the data

-        source. The type is specified by the fully qualified

-        Java language class or interface

-        expected to be implemented by the data source.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="res-auth"

-                     type="j2ee:res-authType"/>

-

-        <xsd:element name="res-sharing-scope"

-                     type="j2ee:res-sharing-scopeType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="role-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The role-nameType designates the name of a security role.

-

-The name must conform to the lexical rules for an NMTOKEN.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="xsd:NMTOKEN"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="run-asType">

-<xsd:annotation>

-<xsd:documentation>

-

-The run-asType specifies the run-as identity to be

-used for the execution of a component. It contains an

-optional description, and the name of a security role.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="role-name"

-                     type="j2ee:role-nameType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="security-role-refType">

-<xsd:annotation>

-<xsd:documentation>

-

-The security-role-refType contains the declaration of a

-security role reference in a component's or a

-Deployment Component's code. The declaration consists of an

-optional description, the security role name used in the

-code, and an optional link to a security role. If the

-security role is not specified, the Deployer must choose an

-appropriate security role.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="role-name"

-                     type="j2ee:role-nameType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The value of the role-name element must be the String used

-        as the parameter to the

-        EJBContext.isCallerInRole(String roleName) method or the

-        HttpServletRequest.isUserInRole(String role) method.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="role-link"

-                     type="j2ee:role-nameType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The role-link element is a reference to a defined

-        security role. The role-link element must contain

-        the name of one of the security roles defined in the

-        security-role elements.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="security-roleType">

-<xsd:annotation>

-<xsd:documentation>

-

-The security-roleType contains the definition of a security

-role. The definition consists of an optional description of the

-security role, and the security role name.

-

-Example:

-

-    <security-role>

-    <description>

-        This role includes all employees who are authorized

-        to access the employee service application.

-    </description>

-    <role-name>employee</role-name>

-    </security-role>

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="role-name"

-                     type="j2ee:role-nameType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="string">

-<xsd:annotation>

-<xsd:documentation>

-

-This is a special string datatype that is defined by J2EE as

-a base type for defining collapsed strings. When schemas

-require trailing/leading space elimination as well as

-collapsing the existing whitespace, this base type may be

-used.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="xsd:string">

-        <xsd:whiteSpace value="collapse"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="true-falseType">

-<xsd:annotation>

-<xsd:documentation>

-

-This simple type designates a boolean with only two

-permissible values

-

-- true

-- false

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="xsd:boolean">

-        <xsd:pattern value="(true|false)"/>

-    </xsd:restriction>

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="url-patternType">

-<xsd:annotation>

-<xsd:documentation>

-

-The url-patternType contains the url pattern of the mapping. It must

-follow the rules specified in Section 11.2 of the Servlet API

-Specification.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="war-pathType">

-<xsd:annotation>

-<xsd:documentation>

-

-The elements that use this type designate a path starting

-with a "/" and interpreted relative to the root of a WAR

-file.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:pattern value="/.*"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/jsp_2_0.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/jsp_2_0.xsd
deleted file mode 100755
index 81c170f..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/jsp_2_0.xsd
+++ /dev/null
@@ -1,304 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="2.0">

-<xsd:annotation>

-<xsd:documentation>

-@(#)jsp_2_0.xsds	1.10 08/20/02

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the JSP 2.0 deployment descriptor

-types.  The JSP 2.0 schema contains all the special

-structures and datatypes that are necessary to use JSP files

-from a web application.

-

-The contents of this schema is used by the web-app_2_4.xsd

-file to define JSP specific content.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:include schemaLocation="j2ee_1_4.xsd"/>

-

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="jsp-configType">

-<xsd:annotation>

-<xsd:documentation>

-

-The jsp-configType is used to provide global configuration

-information for the JSP files in a web application. It has

-two subelements, taglib and jsp-property-group.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="taglib"

-                     type="j2ee:taglibType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="jsp-property-group"

-                     type="j2ee:jsp-property-groupType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="jsp-fileType">

-<xsd:annotation>

-<xsd:documentation>

-

-The jsp-file element contains the full path to a JSP file

-within the web application beginning with a `/'.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:pathType"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="jsp-property-groupType">

-<xsd:annotation>

-<xsd:documentation>

-

-The jsp-property-groupType is used to group a number of

-files so they can be given global property information.

-All files so described are deemed to be JSP files.  The

-following additional properties can be described:

-

-    - Control enabling of EL evaluation.

-    - Control enabling of Scripting elements.

-    - Indicate pageEncoding information.

-    - Indicating that a resource is a JSP document

-    - Prelude and Coda automatic includes.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-	<xsd:element name="description"

-		     type="j2ee:descriptionType"

-		     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-		     type="j2ee:display-nameType"

-		     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="url-pattern"

-                     type="j2ee:url-patternType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="el-enabled"

-                     type="j2ee:true-falseType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        Can be used to easily set the isELEnabled

-        property of a group of JSP pages.  By default, the

-        EL evaluation is enabled for Web Applications using

-        a Servlet 2.4 or greater web.xml.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="page-encoding"

-                     type="j2ee:string"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The valid values of page-encoding are those of the

-        pageEncoding page directive. It is a

-        translation-time error to define the pageEncoding

-        of a JSP page through one value in the JSP

-        configuration element and then give it a different

-        value in a pageEncoding directive, but it is legal

-        to give it the same value.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="scripting-enabled"

-                     type="j2ee:true-falseType"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        Can be used to easily set the isScriptingEnabled

-        property of a group of JSP pages.  By default,

-        scripting is enabled.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-	<xsd:element name="is-xml"

-		     type="j2ee:true-falseType"

-		     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        If true, denotes that the group of resources

-	that match the URL pattern are JSP documents,

-	and thus must be interpreted as XML documents.

-	If false, the resources are assumed to not

-	be JSP documents, unless there is another

-	property group that indicates otherwise.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="include-prelude"

-                     type="j2ee:pathType"

-                     minOccurs="0"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The include-prelude element is a context-relative

-        path that must correspond to an element in the

-        Web Application.  When the element is present,

-        the given path will be automatically included (as

-        in an include directive) at the beginning of each

-        JSP page in this jsp-property-group.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="include-coda"

-                     type="j2ee:pathType"

-                     minOccurs="0"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The include-coda element is a context-relative

-        path that must correspond to an element in the

-        Web Application.  When the element is present,

-        the given path will be automatically included (as

-        in an include directive) at the end of each

-        JSP page in this jsp-property-group.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="taglibType">

-<xsd:annotation>

-<xsd:documentation>

-

-A taglib can be used to provide information on a tag

-library that is used by a JSP page within the Web

-Application.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="taglib-uri"

-                     type="j2ee:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        A taglib-uri element describes a URI identifying a

-        tag library used in the web application.  The body

-        of the taglib-uri element may be either an

-        absolute URI specification, or a relative URI.

-        There should be no entries in web.xml with the

-        same taglib-uri value.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="taglib-location"

-                     type="j2ee:pathType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        the taglib-location element contains the location

-        (as a resource relative to the root of the web

-        application) where to find the Tag Library

-        Description file for the tag library.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-

-</xsd:complexType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/j2ee/web-app_2_4.xsd b/v2/test/cases/xbean/compile/scomp/j2ee/web-app_2_4.xsd
deleted file mode 100755
index b8df2a3..0000000
--- a/v2/test/cases/xbean/compile/scomp/j2ee/web-app_2_4.xsd
+++ /dev/null
@@ -1,1278 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

-     targetNamespace="http://java.sun.com/xml/ns/j2ee"

-     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-     elementFormDefault="qualified"

-     attributeFormDefault="unqualified"

-     version="2.4">

-<xsd:annotation>

-<xsd:documentation>

-@(#)web-app_2_4.xsds	1.34 02/08/01

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-Copyright 2002 Sun Microsystems, Inc., 901 San Antonio

-Road, Palo Alto, California 94303, U.S.A. All rights

-reserved.

-

-Sun Microsystems, Inc. has intellectual property rights

-relating to technology described in this document. In

-particular, and without limitation, these intellectual

-property rights may include one or more of the U.S. patents

-listed at http://www.sun.com/patents and one or more

-additional patents or pending patent applications in the

-U.S. and other countries.

-

-This document and the technology which it describes are

-distributed under licenses restricting their use, copying,

-distribution, and decompilation. No part of this document

-may be reproduced in any form by any means without prior

-written authorization of Sun and its licensors, if any.

-

-Third-party software, including font technology, is

-copyrighted and licensed from Sun suppliers.

-

-Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,

-JavaServer Pages, Enterprise JavaBeans and the Java Coffee

-Cup logo are trademarks or registered trademarks of Sun

-Microsystems, Inc. in the U.S. and other countries.

-

-Federal Acquisitions: Commercial Software - Government Users

-Subject to Standard License Terms and Conditions.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-This is the XML Schema for the Servlet 2.4 deployment

-descriptor.  All Servlet deployment descriptors must

-indicate the web application schema by using the J2EE

-namespace:

-

-http://java.sun.com/xml/ns/j2ee

-

-and by indicating the version of the schema by

-using the version element as shown below:

-

-    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"

-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-     xsi:schemaLocation="..."

-     version="2.4">

-    ...

-    </web-app>

-

-The instance documents may indicate the published version of

-the schema using the xsi:schemaLocation attribute for J2EE

-namespace with the following location:

-

-http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:annotation>

-<xsd:documentation>

-

-The following conventions apply to all J2EE

-deployment descriptor elements unless indicated otherwise.

-

-- In elements that specify a pathname to a file within the

-  same JAR file, relative filenames (i.e., those not

-  starting with "/") are considered relative to the root of

-  the JAR file's namespace.  Absolute filenames (i.e., those

-  starting with "/") also specify names in the root of the

-  JAR file's namespace.  In general, relative names are

-  preferred.  The exception is .war files where absolute

-  names are preferred for consistency with the Servlet API.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:include schemaLocation="j2ee_1_4.xsd"/>

-<xsd:include schemaLocation="jsp_2_0.xsd"/>

-

-

-<!-- **************************************************** -->

-

-

-<xsd:element name="web-app" type="j2ee:web-appType">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The web-app element is the root of the deployment

-    descriptor for a web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-    <xsd:unique name="servlet-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The servlet element contains the name of a servlet.

-    The name must be unique within the web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:servlet"/>

-        <xsd:field    xpath="j2ee:servlet-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="filter-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The filter element contains the name of a filter.

-    The name must be unique within the web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:filter"/>

-        <xsd:field    xpath="j2ee:filter-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="ejb-local-ref-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The ejb-local-ref-name element contains the name of an EJB

-    reference. The EJB reference is an entry in the web

-    application's environment and is relative to the

-    java:comp/env context.  The name must be unique within

-    the web application.

-

-    It is recommended that name is prefixed with "ejb/".

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:ejb-local-ref"/>

-        <xsd:field    xpath="j2ee:ejb-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="ejb-ref-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The ejb-ref-name element contains the name of an EJB

-    reference. The EJB reference is an entry in the web

-    application's environment and is relative to the

-    java:comp/env context.  The name must be unique within

-    the web application.

-

-    It is recommended that name is prefixed with "ejb/".

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:ejb-ref"/>

-        <xsd:field    xpath="j2ee:ejb-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="resource-env-ref-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The resource-env-ref-name element specifies the name of

-    a resource environment reference; its value is the

-    environment entry name used in the web application code.

-    The name is a JNDI name relative to the java:comp/env

-    context and must be unique within a web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:resource-env-ref"/>

-        <xsd:field    xpath="j2ee:resource-env-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="message-destination-ref-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The message-destination-ref-name element specifies the name of

-    a message destination reference; its value is the

-    environment entry name used in the web application code.

-    The name is a JNDI name relative to the java:comp/env

-    context and must be unique within a web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:message-destination-ref"/>

-        <xsd:field    xpath="j2ee:message-destination-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="res-ref-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The res-ref-name element specifies the name of a

-    resource manager connection factory reference.  The name

-    is a JNDI name relative to the java:comp/env context.

-    The name must be unique within a web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:resource-ref"/>

-        <xsd:field    xpath="j2ee:res-ref-name"/>

-    </xsd:unique>

-

-    <xsd:unique name="env-entry-name-uniqueness">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The env-entry-name element contains the name of a web

-    application's environment entry.  The name is a JNDI

-    name relative to the java:comp/env context.  The name

-    must be unique within a web application.

-

-    </xsd:documentation>

-    </xsd:annotation>

-

-        <xsd:selector xpath="j2ee:env-entry"/>

-        <xsd:field    xpath="j2ee:env-entry-name"/>

-        </xsd:unique>

-

-    <xsd:key name="role-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    A role-name-key is specified to allow the references

-    from the security-role-refs.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:security-role"/>

-        <xsd:field    xpath="j2ee:role-name"/>

-    </xsd:key>

-

-    <xsd:keyref name="role-name-references"

-            refer="j2ee:role-name-key">

-    <xsd:annotation>

-    <xsd:documentation>

-

-    The keyref indicates the references from

-    security-role-ref to a specified role-name.

-

-    </xsd:documentation>

-    </xsd:annotation>

-        <xsd:selector xpath="j2ee:servlet/j2ee:security-role-ref"/>

-        <xsd:field    xpath="j2ee:role-link"/>

-    </xsd:keyref>

-

-</xsd:element>

-

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="auth-constraintType">

-<xsd:annotation>

-<xsd:documentation>

-

-The auth-constraintType indicates the user roles that

-should be permitted access to this resource

-collection. The role-name used here must either correspond

-to the role-name of one of the security-role elements

-defined for this web application, or be the specially

-reserved role-name "*" that is a compact syntax for

-indicating all roles in the web application. If both "*"

-and rolenames appear, the container interprets this as all

-roles.  If no roles are defined, no user is allowed access

-to the portion of the web application described by the

-containing security-constraint.  The container matches

-role names case sensitively when determining access.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                 type="j2ee:descriptionType"

-                 minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="role-name"

-                 type="j2ee:role-nameType"

-                 minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="auth-methodType">

-<xsd:annotation>

-<xsd:documentation>

-

-The auth-methodType is used to configure the authentication

-mechanism for the web application. As a prerequisite to

-gaining access to any web resources which are protected by

-an authorization constraint, a user must have authenticated

-using the configured mechanism. Legal values are "BASIC",

-"DIGEST", "FORM", or "CLIENT-CERT".

-

-Used in: login-config

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="BASIC"/>

-        <xsd:enumeration value="DIGEST"/>

-        <xsd:enumeration value="FORM"/>

-        <xsd:enumeration value="CLIENT-CERT"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="dispatcherType">

-<xsd:annotation>

-<xsd:documentation>

-

-The dispatcher has three legal values, FORWARD and REQUEST

-and INCLUDE. A value of FORWARD means the Filter

-will be applied under RequestDispatcher.forward() calls.

-A value of REQUEST means the Filter will be applied

-under ordinary client calls to the path or servlet. A value of

-INCLUDE means the Filter will be applied under

-RequestDispatcher.include() calls.

-The absence of any dispatcher elements in a

-filter-mapping indicates a default of applying

-filters only under ordinary client calls to the path or servlet.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="FORWARD"/>

-    <xsd:enumeration value="INCLUDE"/>

-    <xsd:enumeration value="REQUEST"/>

-

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="error-codeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The error-code contains an HTTP error code, ex: 404

-

-Used in: error-page

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="positiveInteger"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="error-pageType">

-<xsd:annotation>

-<xsd:documentation>

-

-The error-pageType contains a mapping between an error code

-or exception type to the path of a resource in the web

-application.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <choice>

-        <xsd:element name="error-code"

-                     type="j2ee:error-codeType"/>

-

-        <xsd:element name="exception-type"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The exception-type contains a fully qualified class

-        name of a Java exception type.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        </choice>

-

-        <xsd:element name="location"

-                     type="j2ee:pathType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The location element contains the location of the

-        resource in the web application relative to the root of

-        the web application. The value of the location must have

-        a leading `/'.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="filter-mappingType">

-<xsd:annotation>

-<xsd:documentation>

-

-Declaration of the filter mappings in this web

-application is done by using filter-mappingType.

-The container uses the filter-mapping

-declarations to decide which filters to apply to a request,

-and in what order. The container matches the request URI to

-a Servlet in the normal way. To determine which filters to

-apply it matches filter-mapping declarations either on

-servlet-name, or on url-pattern for each filter-mapping

-element, depending on which style is used. The order in

-which filters are invoked is the order in which

-filter-mapping declarations that match a request URI for a

-servlet appear in the list of filter-mapping elements.The

-filter-name value must be the value of the filter-name

-sub-elements of one of the filter declarations in the

-deployment descriptor.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="filter-name"

-                 type="j2ee:filter-nameType"/>

-        <choice>

-            <xsd:element name="url-pattern"

-                     type="j2ee:url-patternType"/>

-            <xsd:element name="servlet-name"

-                     type="j2ee:servlet-nameType"/>

-        </choice>

-        <xsd:element name="dispatcher"

-                     type="j2ee:dispatcherType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="filter-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The logical name of the filter is declare

-by using filter-nameType. This name is used to map the

-filter.  Each filter name is unique within the web

-application.

-

-Used in: filter, filter-mapping

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="filterType">

-<xsd:annotation>

-<xsd:documentation>

-

-The filterType is used to declare a filter in the web

-application. The filter is mapped to either a servlet or a

-URL pattern in the filter-mapping element, using the

-filter-name value to reference. Filters can access the

-initialization parameters declared in the deployment

-descriptor at runtime via the FilterConfig interface.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="filter-name"

-                     type="j2ee:filter-nameType"/>

-        <xsd:element name="filter-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The fully qualified classname of the filter.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="init-param"

-                     type="j2ee:param-valueType"

-                     minOccurs="0" maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The init-param element contains a name/value pair as

-        an initialization param of a servlet filter

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="form-login-configType">

-<xsd:annotation>

-<xsd:documentation>

-

-The form-login-configType specifies the login and error

-pages that should be used in form based login. If form based

-authentication is not used, these elements are ignored.

-

-Used in: login-config

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-

-        <xsd:element name="form-login-page"

-                 type="j2ee:war-pathType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The form-login-page element defines the location in the web app

-        where the page that can be used for login can be found.

-        The path begins with a leading / and is

-        interpreted relative to the root of the WAR.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="form-error-page"

-                 type="j2ee:war-pathType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The form-error-page element defines the location in

-        the web app where the error page that is displayed

-        when login is not successful can be found.

-        The path begins with a leading / and is interpreted

-        relative to the root of the WAR.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="http-methodType">

-<xsd:annotation>

-

-<xsd:documentation>

-The http-method contains an HTTP method recognized by the web-app, i.e.

-(GET | POST |...).

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="GET"/>

-        <xsd:enumeration value="POST"/>

-        <xsd:enumeration value="PUT"/>

-        <xsd:enumeration value="DELETE"/>

-        <xsd:enumeration value="HEAD"/>

-        <xsd:enumeration value="OPTIONS"/>

-        <xsd:enumeration value="TRACE"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="listenerType">

-<xsd:annotation>

-<xsd:documentation>

-

-The listenerType indicates the deployment properties for a web

-application listener bean.

-

-Used in: web-app:listenerType

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="listener-class"

-                     type="j2ee:fully-qualified-classType">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The listener-class element declares a class in the

-        application must be registered as a web

-        application listener bean. The value is the fully

-        qualified classname of the listener class.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="locale-encoding-mapping-listType">

-<xsd:annotation>

-<xsd:documentation>

-

-The locale-encoding-mapping-list contains one or more

-locale-encoding-mapping(s).

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:sequence>

-    <xsd:element name="locale-encoding-mapping"

-        type="j2ee:locale-encoding-mappingType"

-        maxOccurs="unbounded"/>

-</xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="locale-encoding-mappingType">

-<xsd:annotation>

-<xsd:documentation>

-

-The locale-encoding-mapping contains locale name and

-encoding name. The locale name must be either "Language-code",

-such as "ja", defined by ISO-639 or "Language-code_Country-code",

-such as "ja_JP".  "Country code" is defined by ISO-3166.

-

-</xsd:documentation>

-</xsd:annotation>

-

-<xsd:sequence>

-    <xsd:element name="locale"

-        type="j2ee:string"/>

-    <xsd:element name="encoding"

-        type="j2ee:string"/>

-</xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="login-configType">

-<xsd:annotation>

-<xsd:documentation>

-

-The login-configType is used to configure the authentication

-method that should be used, the realm name that should be

-used for this application, and the attributes that are

-needed by the form login mechanism.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="auth-method"

-                     type="j2ee:auth-methodType"

-                     minOccurs="0"/>

-        <xsd:element name="realm-name"

-                     type="j2ee:string" minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The realm name element specifies the realm name to

-        use in HTTP Basic authorization.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="form-login-config"

-                     type="j2ee:form-login-configType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="mime-mappingType">

-<xsd:annotation>

-<xsd:documentation>

-

-The mime-mappingType defines a mapping between an extension

-and a mime type.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The extension element contains a string describing an

-        extension. example: "txt"

-

-        </xsd:documentation>

-        </xsd:annotation>

-

-        <xsd:element name="extension"

-                     type="j2ee:string"/>

-        <xsd:element name="mime-type"

-                     type="j2ee:mime-typeType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="mime-typeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The mime-typeType is used to indicate a defined mime type.

-

-Example:

-"text/plain"

-

-Used in: mime-mapping

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:pattern value="[\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="security-constraintType">

-<xsd:annotation>

-<xsd:documentation>

-

-The security-constraintType is used to associate

-security constraints with one or more web resource

-collections

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="web-resource-collection"

-                     type="j2ee:web-resource-collectionType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="auth-constraint"

-                     type="j2ee:auth-constraintType"

-                     minOccurs="0"/>

-        <xsd:element name="user-data-constraint"

-                     type="j2ee:user-data-constraintType"

-                     minOccurs="0"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="servlet-mappingType">

-<xsd:annotation>

-<xsd:documentation>

-

-The servlet-mappingType defines a mapping between a

-servlet and a url pattern.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="servlet-name"

-                     type="j2ee:servlet-nameType"/>

-        <xsd:element name="url-pattern"

-                     type="j2ee:url-patternType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="servlet-nameType">

-<xsd:annotation>

-<xsd:documentation>

-

-The servlet-name element contains the canonical name of the

-servlet. Each servlet name is unique within the web

-application.

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string"/>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="servletType">

-<xsd:annotation>

-<xsd:documentation>

-

-The servletType is used to declare a servlet.

-It contains the declarative data of a

-servlet. If a jsp-file is specified and the load-on-startup

-element is present, then the JSP should be precompiled and

-loaded.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="servlet-name"

-                     type="j2ee:servlet-nameType"/>

-        <choice>

-            <xsd:element name="servlet-class"

-                         type="j2ee:fully-qualified-classType">

-            <xsd:annotation>

-            <xsd:documentation>

-

-            The servlet-class element contains the fully

-            qualified class name of the servlet.

-

-            </xsd:documentation>

-            </xsd:annotation>

-            </xsd:element>

-

-            <xsd:element name="jsp-file"

-                         type="j2ee:jsp-fileType"/>

-

-        </choice>

-

-        <xsd:element name="init-param"

-                     type="j2ee:param-valueType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="load-on-startup"

-                     type="xsd:integer"

-                     minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The load-on-startup element indicates that this

-        servlet should be loaded (instantiated and have

-        its init() called) on the startup of the web

-        application. The optional contents of these

-        element must be an integer indicating the order in

-        which the servlet should be loaded. If the value

-        is a negative integer, or the element is not

-        present, the container is free to load the servlet

-        whenever it chooses. If the value is a positive

-        integer or 0, the container must load and

-        initialize the servlet as the application is

-        deployed. The container must guarantee that

-        servlets marked with lower integers are loaded

-        before servlets marked with higher integers. The

-        container may choose the order of loading of

-        servlets with the same load-on-start-up value.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="run-as"

-                     type="j2ee:run-asType"

-                     minOccurs="0"/>

-        <xsd:element name="security-role-ref"

-                     type="j2ee:security-role-refType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="session-configType">

-<xsd:annotation>

-<xsd:documentation>

-

-The session-configType defines the session parameters

-for this web application.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="session-timeout"

-                 type="xsd:nonNegativeInteger"

-                 minOccurs="0">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The session-timeout element defines the default

-        session timeout interval for all sessions created

-        in this web application. The specified timeout

-        must be expressed in a whole number of minutes.

-        If the timeout is 0 or less, the container ensures

-        the default behaviour of sessions is never to time

-        out. If this element is not specified, the container

-        must set its default timeout period.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="transport-guaranteeType">

-<xsd:annotation>

-<xsd:documentation>

-

-The transport-guaranteeType specifies that the communication

-between client and server should be NONE, INTEGRAL, or

-CONFIDENTIAL. NONE means that the application does not

-require any transport guarantees. A value of INTEGRAL means

-that the application requires that the data sent between the

-client and server be sent in such a way that it can't be

-changed in transit. CONFIDENTIAL means that the application

-requires that the data be transmitted in a fashion that

-prevents other entities from observing the contents of the

-transmission. In most cases, the presence of the INTEGRAL or

-CONFIDENTIAL flag will indicate that the use of SSL is

-required.

-

-Used in: user-data-constraint

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="NONE"/>

-        <xsd:enumeration value="INTEGRAL"/>

-        <xsd:enumeration value="CONFIDENTIAL"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="user-data-constraintType">

-<xsd:annotation>

-<xsd:documentation>

-

-The user-data-constraintType is used to indicate how

-data communicated between the client and container should be

-protected.

-

-Used in: security-constraint

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="transport-guarantee"

-                     type="j2ee:transport-guaranteeType"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:simpleType name="web-app-versionType">

-<xsd:annotation>

-<xsd:documentation>

-

-This type contains the recognized versions of

-web-application supported. It is used to designate the

-version of the web application.

-

-Example:

-

-<web-app>

-    <version>2.4</version>

-...

-</web-app>

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:restriction base="j2ee:string">

-        <xsd:enumeration value="2.4"/>

-    </xsd:restriction>

-

-</xsd:simpleType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="web-appType">

-

-    <xsd:sequence>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="display-name"

-                     type="j2ee:display-nameType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="icon"

-                     type="j2ee:iconType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="distributable"

-                     type="j2ee:emptyType"

-                     minOccurs="0"/>

-        <xsd:element name="context-param"

-                     type="j2ee:param-valueType"

-                     minOccurs="0" maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The context-param element contains the declaration

-        of a web application's servlet context

-        initialization parameters.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-

-        <xsd:element name="filter"

-                     type="j2ee:filterType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-        <xsd:element name="filter-mapping"

-                     type="j2ee:filter-mappingType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="listener"

-                     type="j2ee:listenerType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="servlet"

-                     type="j2ee:servletType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="servlet-mapping"

-                     type="j2ee:servlet-mappingType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="session-config"

-                     type="j2ee:session-configType"

-                     minOccurs="0"/>

-        <xsd:element name="mime-mapping"

-                     type="j2ee:mime-mappingType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="welcome-file-list"

-                     type="j2ee:welcome-file-listType"

-                     minOccurs="0"/>

-        <xsd:element name="error-page"

-                     type="j2ee:error-pageType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="jsp-config"

-                     type="j2ee:jsp-configType"

-                     minOccurs="0"/>

-        <xsd:element name="resource-env-ref"

-                     type="j2ee:resource-env-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination-ref"

-                     type="j2ee:message-destination-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="resource-ref"

-                     type="j2ee:resource-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="security-constraint"

-                     type="j2ee:security-constraintType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="login-config"

-                     type="j2ee:login-configType"

-                     minOccurs="0"/>

-        <xsd:element name="security-role"

-                     type="j2ee:security-roleType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="env-entry"

-                     type="j2ee:env-entryType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-ref"

-                     type="j2ee:ejb-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="ejb-local-ref"

-                     type="j2ee:ejb-local-refType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="message-destination"

-                     type="j2ee:message-destinationType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="locale-encoding-mapping-list"

-                     type="j2ee:locale-encoding-mapping-listType"

-                     minOccurs="0"

-                     maxOccurs="1"/>

-        <xsd:element name="deployment-extension"

-                     type="j2ee:deployment-extensionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-    <xsd:attribute name="version"

-                   type="j2ee:web-app-versionType"

-                   use="required"/>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="web-resource-collectionType">

-<xsd:annotation>

-<xsd:documentation>

-

-The web-resource-collectionType is used to identify a subset

-of the resources and HTTP methods on those resources within

-a web application to which a security constraint applies. If

-no HTTP methods are specified, then the security constraint

-applies to all HTTP methods.

-

-Used in: security-constraint

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="web-resource-name"

-                     type="j2ee:string">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The web-resource-name contains the name of this web

-        resource collection.

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-        <xsd:element name="description"

-                     type="j2ee:descriptionType"

-                     minOccurs="0"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="url-pattern"

-                     type="j2ee:url-patternType"

-                     maxOccurs="unbounded"/>

-        <xsd:element name="http-method"

-                     type="j2ee:http-methodType"

-                     minOccurs="0" maxOccurs="unbounded"/>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-<!-- **************************************************** -->

-

-<xsd:complexType name="welcome-file-listType">

-<xsd:annotation>

-<xsd:documentation>

-

-The welcome-file-list contains an ordered list of welcome

-files elements.

-

-Used in: web-app

-

-</xsd:documentation>

-</xsd:annotation>

-

-    <xsd:sequence>

-        <xsd:element name="welcome-file"

-                     type="j2ee:string"

-                     maxOccurs="unbounded">

-        <xsd:annotation>

-        <xsd:documentation>

-

-        The welcome-file element contains file name to use

-        as a default welcome file, such as index.html

-

-        </xsd:documentation>

-        </xsd:annotation>

-        </xsd:element>

-    </xsd:sequence>

-

-</xsd:complexType>

-

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/pricequote/PriceQuote.xsd b/v2/test/cases/xbean/compile/scomp/pricequote/PriceQuote.xsd
deleted file mode 100755
index 79aa1a1..0000000
--- a/v2/test/cases/xbean/compile/scomp/pricequote/PriceQuote.xsd
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

-    <xsd:element name="price-quote">

-        <xsd:complexType>

-            <xsd:sequence>

-                <xsd:element ref="stock-symbol" minOccurs="1" maxOccurs="1"/>

-                <xsd:element ref="stock-price" minOccurs="1" maxOccurs="1"/>

-            </xsd:sequence>

-        </xsd:complexType>

-    </xsd:element>

-    <!-- XXXSJM change following to use refined datatypes -->

-    <xsd:element name="stock-symbol" type="xsd:string"/>

-    <xsd:element name="stock-price" type="xsd:string"/>

-</xsd:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/simple/javasrc/SimplePersonTest.java b/v2/test/cases/xbean/compile/scomp/simple/javasrc/SimplePersonTest.java
deleted file mode 100755
index c6a9f30..0000000
--- a/v2/test/cases/xbean/compile/scomp/simple/javasrc/SimplePersonTest.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*   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.

- */

-

-import org.openuri.mytest.Person;

-import org.openuri.mytest.CustomerDocument;

-

-import java.util.Date;

-import org.apache.xmlbeans.XmlBeans;

-import org.apache.xmlbeans.XmlCursor;

-import drtcases.TestEnv;

-import junit.framework.Assert;

-

-import org.apache.xmlbeans.impl.store.Root;

-

-public class SimplePersonTest

-{

-    public static void main(String args[]) throws Exception

-    {

-        test();

-    }

-

-    public static void test() throws Exception

-    {

-        CustomerDocument doc =

-            CustomerDocument.Factory.parse(

-                TestEnv.xbeanCase("schema/simple/person.xml"), null);

-

-        // Move from the root to the root customer element

-        Person person = doc.getCustomer();

-        Assert.assertEquals("Howdy", person.getFirstname());

-        Assert.assertEquals(4,   person.sizeOfNumberArray());

-        Assert.assertEquals(436, person.getNumberArray(0));

-        Assert.assertEquals(123, person.getNumberArray(1));

-        Assert.assertEquals(44,  person.getNumberArray(2));

-        Assert.assertEquals(933, person.getNumberArray(3));

-        Assert.assertEquals(2,   person.sizeOfBirthdayArray());

-        Assert.assertEquals(new Date("Tue Aug 25 17:00:00 PDT 1998"), person.getBirthdayArray(0));

-

-        Person.Gender.Enum g = person.getGender();

-        Assert.assertEquals(Person.Gender.MALE, g);

-

-        Assert.assertEquals("EGIQTWYZJ", new String(person.getHex()));

-        Assert.assertEquals("This string is base64Binary encoded!",

-                            new String(person.getBase64()));

-

-        Assert.assertEquals("GGIQTWYGG", new String(person.getHexAtt()));

-        Assert.assertEquals("This string is base64Binary encoded!",

-                            new String(person.getBase64Att()));

-

-        person.setFirstname("George");

-        Assert.assertEquals("George", person.getFirstname());

-

-        person.setHex("hex encoding".getBytes());

-        Assert.assertEquals("hex encoding", new String(person.getHex()));

-

-        person.setBase64("base64 encoded".getBytes());

-        Assert.assertEquals("base64 encoded",

-                            new String(person.getBase64()));

-

-        //person.setHexAtt("hex encoding in attributes".getBytes());

-        //Assert.assertEquals("hex encoding in attributes",

-        //                    new String(person.getHexAtt()));

-

-        //person.setBase64Att("base64 encoded in attributes".getBytes());

-        //Assert.assertEquals("base64 encoded in attributes",

-        //                    new String(person.getBase64Att()));

-//

-//        XmlCursor cp = person.newXmlCursor();

-//        Root.dump( cp );

-

-//        XmlCursor c = person.xgetBirthdayArray(0).newXmlCursor();

-

-//        Root.dump( c );

-

-//        person.setBirthday(0,new Date("Tue Aug 25 16:00:00 PDT 2001"));

-

-//        Root.dump( c );

-

-//        c.toNextToken();

-

-//        System.out.println( "---" + c.getText() + "---" );

-

-//        Root.dump( c );

-

-//        Assert.assertEquals(person.getBirthdayArray(0), new Date("Tue Aug 25 16:00:00 PDT 2002"));

-//

-//        person.setFirstname("George");

-//        Assert.assertEquals(person.getFirstname(), "George");

-//

-//        person.addNumber( (short) 69 );

-//        Assert.assertEquals(person.countNumber(), 5);

-//        Assert.assertEquals(person.getNumberArray(4), 69);

-//

-//

-//        while ( c.hasNextToken() )

-//            c.toNextToken();

-    }

-}

diff --git a/v2/test/cases/xbean/compile/scomp/simple/person.xml b/v2/test/cases/xbean/compile/scomp/simple/person.xml
deleted file mode 100755
index 49ee82a..0000000
--- a/v2/test/cases/xbean/compile/scomp/simple/person.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<customer xmlns="http://openuri.org/mytest"

-  gender="male"

-  hexAtt="474749515457594747"

-  base64Att="        

-	VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh

-	  ">

-  <firstname>Howdy</firstname>

-  <number>436</number>

-  <number>123</number>

-  <birthday>1998-08-26Z</birthday>

-  <number>44</number>

-  <number>933</number>

-  <birthday>2000-08-06-08:00</birthday>

-  <hex>454749515457595A4A</hex>

-  <base64>VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh</base64>

-</customer>

diff --git a/v2/test/cases/xbean/compile/scomp/simple/person.xsd b/v2/test/cases/xbean/compile/scomp/simple/person.xsd
deleted file mode 100755
index db49871..0000000
--- a/v2/test/cases/xbean/compile/scomp/simple/person.xsd
+++ /dev/null
@@ -1,65 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/mytest"

-   targetNamespace="http://openuri.org/mytest"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified" >

-

-  <xs:complexType name="person">

-    <xs:sequence>

-      <xs:element name="firstname" type="xs:string"/>

-      <xs:choice maxOccurs="unbounded">

-        <xs:element name="number">

-           <xs:simpleType>

-             <xs:restriction base="xs:integer">

-               <xs:minInclusive value="1"/>

-               <xs:maxInclusive value="1000"/>

-             </xs:restriction>

-           </xs:simpleType>

-        </xs:element>

-        <xs:element name="birthday" type="xs:date"/>

-      </xs:choice>

-      <xs:element name="hex" type="xs:hexBinary"/>

-      <xs:element name="base64" type="xs:base64Binary"/>

-    </xs:sequence>

-    <xs:attribute name="gender">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="male"/>

-          <xs:enumeration value="female"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="hexAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:hexBinary">

-          <xs:pattern value="([45][0-9A-F])*"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="base64Att">

-      <xs:simpleType>

-        <xs:restriction base="xs:base64Binary">

-          <xs:whiteSpace value="collapse"/>

-          <xs:enumeration value="VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-  </xs:complexType>

-

-  <xs:element name="customer" type="mt:person"/>

-

-  <xs:element name="employee">

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:extension base="mt:person">

-          <xs:sequence>

-            <xs:element name="eid" type="xs:int"/>

-          </xs:sequence>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/compile/scomp/simple/simplec.xsd b/v2/test/cases/xbean/compile/scomp/simple/simplec.xsd
deleted file mode 100755
index 65445c6..0000000
--- a/v2/test/cases/xbean/compile/scomp/simple/simplec.xsd
+++ /dev/null
@@ -1,27 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/mytest"

-   targetNamespace="http://openuri.org/mytest"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified"

->

-

-  <xs:complexType name="simplicity">

-    <xs:simpleContent>

-     <xs:extension base="mt:thousand">

-       <xs:attribute name="note" type="xs:string"/>

-     </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:simpleType name="thousand">

-   <xs:restriction base="xs:integer">

-     <xs:minInclusive value="1"/>

-     <xs:maxInclusive value="1000"/>

-   </xs:restriction>

-  </xs:simpleType>

-

-  <xs:element name="simple" type="mt:simplicity"/>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/README b/v2/test/cases/xbean/dom/W3C/level2/core/files/README
deleted file mode 100755
index 65a3232..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/README
+++ /dev/null
@@ -1 +0,0 @@
-The xml files contain a DTD prefix which was removed since we don't support DTDs...put back when time comes
\ No newline at end of file
diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/hc_staff.xml b/v2/test/cases/xbean/dom/W3C/level2/core/files/hc_staff.xml
deleted file mode 100755
index a08b73c..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/hc_staff.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>

-

-<!-- This is comment number 1.-->

-<html xmlns='http://www.w3.org/1999/xhtml'><head><title>hc_staff</title></head><body>

- <p>

-  <em>EMP0001</em>

-  <strong>Margaret Martin</strong>

-  <code>Accountant</code>           

-  <sup>56,000</sup>

-  <var>Female</var>

-  <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>

- </p>

- <p>

-  <em>EMP0002</em>

-  <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 ent2;

-This is an adjacent CDATASection with a reference to a tab tab;</strong>

-  <code>Secretary</code>

-  <sup>35,000</sup>

-  <var>Female</var>

-  <acronym title="Yes" class="Yes"> Dallas, 

- 98554</acronym>

- </p>

- <p>

-  <em>EMP0003</em>

-  <strong>Roger

- Jones</strong>

-  <code>Department Manager</code>

-  <sup>100,000</sup>

-  <var></var>

-  <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>

- </p>

- <p>

-  <em>EMP0004</em>

-  <strong>Jeny Oconnor</strong>

-  <code>Personnel Director</code>

-  <sup>95,000</sup>

-  <var>Female</var>

-  <acronym title="Yes" class="Y;">27 South Road. Dallas, Texas 98556</acronym>

- </p>

- <p>

-  <em>EMP0005</em>

-  <strong>Robert Myers</strong>

-  <code>Computer Specialist</code>

-  <sup>90,000</sup>

-  <var>male</var>

-  <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>

- </p>

-</body></html>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/nodtdstaff.xml b/v2/test/cases/xbean/dom/W3C/level2/core/files/nodtdstaff.xml
deleted file mode 100755
index 7f5928f..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/nodtdstaff.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>

-<staff>

- <employee>

-  <employeeId>EMP0001</employeeId>

-  <name>Margaret Martin</name>

-  <position>Accountant</position>           

-  <salary>56,000</salary>

-  <gender>Female</gender>

-  <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>

- </employee>

-</staff>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.dtd
deleted file mode 100755
index 3f7dc86..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.dtd
+++ /dev/null
@@ -1,17 +0,0 @@
-<!ELEMENT employeeId (#PCDATA)>

-<!ELEMENT name (#PCDATA)>

-<!ELEMENT position (#PCDATA)>

-<!ELEMENT salary (#PCDATA)>

-<!ELEMENT address (#PCDATA)>

-<!ELEMENT entElement ( #PCDATA ) >

-<!ELEMENT gender ( #PCDATA | entElement )* >

-<!ELEMENT employee (employeeId, name, position, salary, gender, address) >

-<!ELEMENT staff (employee)+>

-<!ATTLIST entElement 

-          attr1 CDATA "Attr">

-<!ATTLIST address

-          domestic CDATA #IMPLIED 

-          street CDATA "Yes">

-<!ATTLIST entElement 

-          domestic CDATA "MALE" >

-

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.xml b/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.xml
deleted file mode 100755
index 699170d..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>

-

-<!-- This is comment number 1.-->

-<staff>

- <employee>

-  <employeeId>EMP0001</employeeId>

-  <name>Margaret Martin</name>

-  <position>Accountant</position>           

-  <salary>56,000</salary>

-  <gender>Female</gender>

-  <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>

- </employee>

- <employee>

-  <employeeId>EMP0002</employeeId>

-  <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>

-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>

-  <position>Secretary</position>

-  <salary>35,000</salary>

-  <gender>Female</gender>

-  <address domestic="Yes" street="Yes"> Dallas,

- 98554</address>

- </employee>

- <employee>

-  <employeeId>EMP0003</employeeId>

-  <name>Roger

- Jones</name>

-  <position>Department Manager</position>

-  <salary>100,000</salary>

-  <gender></gender>

-  <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>

- </employee>

- <employee>

-  <employeeId>EMP0004</employeeId>

-  <name>Jeny Oconnor</name>

-  <position>Personnel Director</position>

-  <salary>95,000</salary>

-  <gender>Female</gender>

-  <address domestic="Yes" street="Y">27 South Road. Dallas, Texas 98556</address>

- </employee>

- <employee>

-  <employeeId>EMP0005</employeeId>

-  <name>Robert Myers</name>

-  <position>Computer Specialist</position>

-  <salary>90,000</salary>

-  <gender>male</gender>

-  <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>

- </employee>

- </staff>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.dtd
deleted file mode 100755
index a55585b..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.dtd
+++ /dev/null
@@ -1,8 +0,0 @@
-<!ELEMENT employeeId (#PCDATA)>

-<!ELEMENT name (#PCDATA)>

-<!ELEMENT position (#PCDATA)>

-<!ELEMENT salary (#PCDATA)>

-<!ELEMENT address (#PCDATA)>

-<!ELEMENT gender ( #PCDATA)>

-<!ELEMENT employee (employeeId, name, position, salary, gender, address) >

-<!ELEMENT staff (employee)+>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.xml b/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.xml
deleted file mode 100755
index 4e2a197..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staff2.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>

-

-<!-- This is comment number 1.-->

-<staff>

- <employee>

-  <employeeId>EMP0001</employeeId>

-  <name>Margaret Martin</name>

-  <position>Accountant</position>           

-  <salary>56,000</salary>

-  <gender>Female</gender>

-  <address>1230 North Ave. Dallas, Texas 98551</address>

- </employee>

- </staff>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.dtd
deleted file mode 100755
index aa1c396..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.dtd
+++ /dev/null
@@ -1,45 +0,0 @@
-<!ELEMENT staff (employee+,emp:employee,employee) >

-<!ELEMENT employee (employeeId,name,position,salary,gender,address) >

-<!ATTLIST employee xmlns CDATA #IMPLIED>

-<!ATTLIST employee xmlns:dmstc CDATA #IMPLIED>

-<!ATTLIST employee xmlns:emp2 CDATA #IMPLIED>

-

-<!ELEMENT employeeId (#PCDATA) >

-

-<!ELEMENT name (#PCDATA) >

-

-<!ELEMENT position (#PCDATA) >

-

-<!ELEMENT salary (#PCDATA) >

-

-<!ELEMENT entElement1 (#PCDATA) >

-<!ELEMENT gender (#PCDATA | entElement1)* >

-<!ATTLIST entElement1 xmlns:local1 CDATA #IMPLIED >

-

-<!ELEMENT address (#PCDATA) >

-<!ATTLIST address dmstc:domestic CDATA #IMPLIED>

-<!ATTLIST address street CDATA #IMPLIED>

-<!ATTLIST address domestic CDATA #IMPLIED>

-<!ATTLIST address xmlns CDATA #IMPLIED>

-

-<!ELEMENT emp:employee (emp:employeeId,nm:name,emp:position,emp:salary,emp:gender,emp:address) >

-<!ATTLIST emp:employee xmlns:emp CDATA #IMPLIED>

-<!ATTLIST emp:employee xmlns:nm CDATA #IMPLIED>

-<!ATTLIST emp:employee defaultAttr CDATA 'defaultVal'>

-

-<!ELEMENT emp:employeeId (#PCDATA) >

-

-<!ELEMENT nm:name (#PCDATA) >

-

-<!ELEMENT emp:position (#PCDATA) >

-

-<!ELEMENT emp:salary (#PCDATA) >

-

-<!ELEMENT emp:gender (#PCDATA) >

-

-<!ELEMENT emp:address (#PCDATA) >

-<!ATTLIST emp:address emp:domestic CDATA #IMPLIED>

-<!ATTLIST emp:address street CDATA #IMPLIED>

-<!ATTLIST emp:address emp:zone ID #IMPLIED>

-<!ATTLIST emp:address emp:district CDATA 'DISTRICT'>

-<!ATTLIST emp:address emp:local1 CDATA 'FALSE'>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.xml b/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.xml
deleted file mode 100755
index 251a07b..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/staffNS.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>

-

-<!-- This is comment number 1.-->

-<staff>

- <employee xmlns="http://www.nist.gov" xmlns:dmstc="http://www.usa.com">

-  <employeeId>EMP0001</employeeId>

-  <name>Margaret Martin</name>

-  <position>Accountant</position>           

-  <salary>56,000</salary>

-  <gender>Female</gender>

-  <address dmstc:domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>

- </employee>

- <employee xmlns:dmstc="http://www.usa.com">

-  <employeeId>EMP0002</employeeId>

-  <name>Martha Raynolds

-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>

-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>

-  <position>Secretary</position>

-  <salary>35,000</salary>

-  <gender>Female</gender>

-  <address dmstc:domestic="Yes" street="Yes"> Dallas,

- 98554</address>

- </employee>

- <employee xmlns:dmstc="http://www.netzero.com">

-  <employeeId>EMP0003</employeeId>

-  <name>Roger

- Jones</name>

-  <position>Department Manager</position>

-  <salary>100,000</salary>

-  <gender></gender>

-  <address dmstc:domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>

- </employee>

- <emp:employee xmlns:emp="http://www.nist.gov" xmlns:nm="http://www.altavista.com" >    <emp:employeeId>EMP0004</emp:employeeId>

-  <nm:name>Jeny Oconnor</nm:name>

-  <emp:position>Personnel Director</emp:position>

-  <emp:salary>95,000</emp:salary>

-  <emp:gender>Female</emp:gender>

-  <emp:address emp:domestic="Yes" street="Y" emp:zone="CANADA" emp:local1="TRUE">27 South Road. Dallas, texas 98556</emp:address>

- </emp:employee>

- <employee xmlns:emp2="http://www.nist.gov">

-  <employeeId>EMP0005</employeeId>

-  <name>Robert Myers</name>

-  <position>Computer Specialist</position>

-  <salary>90,000</salary>

-  <gender>male</gender>

-  <address street="Yes" xmlns="http://www.nist.gov">1821 Nordic. Road, Irving Texas 98558</address>

- </employee>

- </staff>

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-frameset.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-frameset.dtd
deleted file mode 100755
index a8d9e23..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-frameset.dtd
+++ /dev/null
@@ -1,1235 +0,0 @@
-<!--

-   Extensible HTML version 1.0 Frameset DTD

-

-   This is the same as HTML 4 Frameset except for

-   changes due to the differences between XML and SGML.

-

-   Namespace = http://www.w3.org/1999/xhtml

-

-   For further information, see: http://www.w3.org/TR/xhtml1

-

-   Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),

-   All Rights Reserved. 

-

-   This DTD module is identified by the PUBLIC and SYSTEM identifiers:

-

-   PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"

-   SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"

-

-   $Revision: 1.1 $

-   $Date: 2004/06/08 19:37:55 $

-

--->

-

-<!--================ Character mnemonic entities =========================-->

-

-<!ENTITY % HTMLlat1 PUBLIC

-   "-//W3C//ENTITIES Latin 1 for XHTML//EN"

-   "xhtml-lat1.ent">

-%HTMLlat1;

-

-<!ENTITY % HTMLsymbol PUBLIC

-   "-//W3C//ENTITIES Symbols for XHTML//EN"

-   "xhtml-symbol.ent">

-%HTMLsymbol;

-

-<!ENTITY % HTMLspecial PUBLIC

-   "-//W3C//ENTITIES Special for XHTML//EN"

-   "xhtml-special.ent">

-%HTMLspecial;

-

-<!--================== Imported Names ====================================-->

-

-<!ENTITY % ContentType "CDATA">

-    <!-- media type, as per [RFC2045] -->

-

-<!ENTITY % ContentTypes "CDATA">

-    <!-- comma-separated list of media types, as per [RFC2045] -->

-

-<!ENTITY % Charset "CDATA">

-    <!-- a character encoding, as per [RFC2045] -->

-

-<!ENTITY % Charsets "CDATA">

-    <!-- a space separated list of character encodings, as per [RFC2045] -->

-

-<!ENTITY % LanguageCode "NMTOKEN">

-    <!-- a language code, as per [RFC3066] -->

-

-<!ENTITY % Character "CDATA">

-    <!-- a single character, as per section 2.2 of [XML] -->

-

-<!ENTITY % Number "CDATA">

-    <!-- one or more digits -->

-

-<!ENTITY % LinkTypes "CDATA">

-    <!-- space-separated list of link types -->

-

-<!ENTITY % MediaDesc "CDATA">

-    <!-- single or comma-separated list of media descriptors -->

-

-<!ENTITY % URI "CDATA">

-    <!-- a Uniform Resource Identifier, see [RFC2396] -->

-

-<!ENTITY % UriList "CDATA">

-    <!-- a space separated list of Uniform Resource Identifiers -->

-

-<!ENTITY % Datetime "CDATA">

-    <!-- date and time information. ISO date format -->

-

-<!ENTITY % Script "CDATA">

-    <!-- script expression -->

-

-<!ENTITY % StyleSheet "CDATA">

-    <!-- style sheet data -->

-

-<!ENTITY % Text "CDATA">

-    <!-- used for titles etc. -->

-

-<!ENTITY % FrameTarget "NMTOKEN">

-    <!-- render in this frame -->

-

-<!ENTITY % Length "CDATA">

-    <!-- nn for pixels or nn% for percentage length -->

-

-<!ENTITY % MultiLength "CDATA">

-    <!-- pixel, percentage, or relative -->

-

-<!ENTITY % MultiLengths "CDATA">

-    <!-- comma-separated list of MultiLength -->

-

-<!ENTITY % Pixels "CDATA">

-    <!-- integer representing length in pixels -->

-

-<!-- these are used for image maps -->

-

-<!ENTITY % Shape "(rect|circle|poly|default)">

-

-<!ENTITY % Coords "CDATA">

-    <!-- comma separated list of lengths -->

-

-<!-- used for object, applet, img, input and iframe -->

-<!ENTITY % ImgAlign "(top|middle|bottom|left|right)">

-

-<!-- a color using sRGB: #RRGGBB as Hex values -->

-<!ENTITY % Color "CDATA">

-

-<!-- There are also 16 widely known color names with their sRGB values:

-

-    Black  = #000000    Green  = #008000

-    Silver = #C0C0C0    Lime   = #00FF00

-    Gray   = #808080    Olive  = #808000

-    White  = #FFFFFF    Yellow = #FFFF00

-    Maroon = #800000    Navy   = #000080

-    Red    = #FF0000    Blue   = #0000FF

-    Purple = #800080    Teal   = #008080

-    Fuchsia= #FF00FF    Aqua   = #00FFFF

--->

-

-<!--=================== Generic Attributes ===============================-->

-

-<!-- core attributes common to most elements

-  id       document-wide unique id

-  class    space separated list of classes

-  style    associated style info

-  title    advisory title/amplification

--->

-<!ENTITY % coreattrs

- "id          ID             #IMPLIED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED"

-  >

-

-<!-- internationalization attributes

-  lang        language code (backwards compatible)

-  xml:lang    language code (as per XML 1.0 spec)

-  dir         direction for weak/neutral text

--->

-<!ENTITY % i18n

- "lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #IMPLIED"

-  >

-

-<!-- attributes for common UI events

-  onclick     a pointer button was clicked

-  ondblclick  a pointer button was double clicked

-  onmousedown a pointer button was pressed down

-  onmouseup   a pointer button was released

-  onmousemove a pointer was moved onto the element

-  onmouseout  a pointer was moved away from the element

-  onkeypress  a key was pressed and released

-  onkeydown   a key was pressed down

-  onkeyup     a key was released

--->

-<!ENTITY % events

- "onclick     %Script;       #IMPLIED

-  ondblclick  %Script;       #IMPLIED

-  onmousedown %Script;       #IMPLIED

-  onmouseup   %Script;       #IMPLIED

-  onmouseover %Script;       #IMPLIED

-  onmousemove %Script;       #IMPLIED

-  onmouseout  %Script;       #IMPLIED

-  onkeypress  %Script;       #IMPLIED

-  onkeydown   %Script;       #IMPLIED

-  onkeyup     %Script;       #IMPLIED"

-  >

-

-<!-- attributes for elements that can get the focus

-  accesskey   accessibility key character

-  tabindex    position in tabbing order

-  onfocus     the element got the focus

-  onblur      the element lost the focus

--->

-<!ENTITY % focus

- "accesskey   %Character;    #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED"

-  >

-

-<!ENTITY % attrs "%coreattrs; %i18n; %events;">

-

-<!-- text alignment for p, div, h1-h6. The default is

-     align="left" for ltr headings, "right" for rtl -->

-

-<!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">

-

-<!--=================== Text Elements ====================================-->

-

-<!ENTITY % special.extra

-   "object | applet | img | map | iframe">

-	

-<!ENTITY % special.basic

-	"br | span | bdo">

-

-<!ENTITY % special

-   "%special.basic; | %special.extra;">

-

-<!ENTITY % fontstyle.extra "big | small | font | basefont">

-

-<!ENTITY % fontstyle.basic "tt | i | b | u

-                      | s | strike ">

-

-<!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">

-

-<!ENTITY % phrase.extra "sub | sup">

-<!ENTITY % phrase.basic "em | strong | dfn | code | q |

-                   samp | kbd | var | cite | abbr | acronym">

-

-<!ENTITY % phrase "%phrase.basic; | %phrase.extra;">

-

-<!ENTITY % inline.forms "input | select | textarea | label | button">

-

-<!-- these can occur at block or inline level -->

-<!ENTITY % misc.inline "ins | del | script">

-

-<!-- these can only occur at block level -->

-<!ENTITY % misc "noscript | %misc.inline;">

-

-

-<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">

-

-<!-- %Inline; covers inline or "text-level" elements -->

-<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">

-

-<!--================== Block level elements ==============================-->

-

-<!ENTITY % heading "h1|h2|h3|h4|h5|h6">

-<!ENTITY % lists "ul | ol | dl | menu | dir">

-<!ENTITY % blocktext "pre | hr | blockquote | address | center">

-

-<!ENTITY % block

-    "p | %heading; | div | %lists; | %blocktext; | isindex | fieldset | table">

-

-<!-- %Flow; mixes block and inline and is used for list items etc. -->

-<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">

-

-<!--================== Content models for exclusions =====================-->

-

-<!-- a elements use %Inline; excluding a -->

-

-<!ENTITY % a.content

-   "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*">

-

-<!-- pre uses %Inline excluding img, object, applet, big, small,

-     sub, sup, font, or basefont -->

-

-<!ENTITY % pre.content

-   "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |

-	   %inline.forms; | %misc.inline;)*">

-

-

-<!-- form uses %Flow; excluding form -->

-

-<!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">

-

-<!-- button uses %Flow; but excludes a, form, form controls, iframe -->

-

-<!ENTITY % button.content

-   "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |

-      table | br | span | bdo | object | applet | img | map |

-      %fontstyle; | %phrase; | %misc;)*">

-

-<!--================ Document Structure ==================================-->

-

-<!-- the namespace URI designates the document profile -->

-

-<!ELEMENT html (head, frameset)>

-<!ATTLIST html

-  %i18n;

-  id          ID             #IMPLIED

-  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'

-  >

-

-<!--================ Document Head =======================================-->

-

-<!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">

-

-<!-- content model is %head.misc; combined with a single

-     title and an optional base element in any order -->

-

-<!ELEMENT head (%head.misc;,

-     ((title, %head.misc;, (base, %head.misc;)?) |

-      (base, %head.misc;, (title, %head.misc;))))>

-

-<!ATTLIST head

-  %i18n;

-  id          ID             #IMPLIED

-  profile     %URI;          #IMPLIED

-  >

-

-<!-- The title element is not considered part of the flow of text.

-       It should be displayed, for example as the page header or

-       window title. Exactly one title is required per document.

-    -->

-<!ELEMENT title (#PCDATA)>

-<!ATTLIST title 

-  %i18n;

-  id          ID             #IMPLIED

-  >

-

-<!-- document base URI -->

-

-<!ELEMENT base EMPTY>

-<!ATTLIST base

-  id          ID             #IMPLIED

-  href        %URI;          #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!-- generic metainformation -->

-<!ELEMENT meta EMPTY>

-<!ATTLIST meta

-  %i18n;

-  id          ID             #IMPLIED

-  http-equiv  CDATA          #IMPLIED

-  name        CDATA          #IMPLIED

-  content     CDATA          #REQUIRED

-  scheme      CDATA          #IMPLIED

-  >

-

-<!--

-  Relationship values can be used in principle:

-

-   a) for document specific toolbars/menus when used

-      with the link element in document head e.g.

-        start, contents, previous, next, index, end, help

-   b) to link to a separate style sheet (rel="stylesheet")

-   c) to make a link to a script (rel="script")

-   d) by stylesheets to control how collections of

-      html nodes are rendered into printed documents

-   e) to make a link to a printable version of this document

-      e.g. a PostScript or PDF version (rel="alternate" media="print")

--->

-

-<!ELEMENT link EMPTY>

-<!ATTLIST link

-  %attrs;

-  charset     %Charset;      #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  type        %ContentType;  #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  media       %MediaDesc;    #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!-- style info, which may include CDATA sections -->

-<!ELEMENT style (#PCDATA)>

-<!ATTLIST style

-  %i18n;

-  id          ID             #IMPLIED

-  type        %ContentType;  #REQUIRED

-  media       %MediaDesc;    #IMPLIED

-  title       %Text;         #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- script statements, which may include CDATA sections -->

-<!ELEMENT script (#PCDATA)>

-<!ATTLIST script

-  id          ID             #IMPLIED

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #REQUIRED

-  language    CDATA          #IMPLIED

-  src         %URI;          #IMPLIED

-  defer       (defer)        #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- alternate content container for non script-based rendering -->

-

-<!ELEMENT noscript %Flow;>

-<!ATTLIST noscript

-  %attrs;

-  >

-

-<!--======================= Frames =======================================-->

-

-<!-- only one noframes element permitted per document -->

-

-<!ELEMENT frameset (frameset|frame|noframes)*>

-<!ATTLIST frameset

-  %coreattrs;

-  rows        %MultiLengths; #IMPLIED

-  cols        %MultiLengths; #IMPLIED

-  onload      %Script;       #IMPLIED

-  onunload    %Script;       #IMPLIED

-  >

-

-<!-- reserved frame names start with "_" otherwise starts with letter -->

-

-<!-- tiled window within frameset -->

-

-<!ELEMENT frame EMPTY>

-<!ATTLIST frame

-  %coreattrs;

-  longdesc    %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  src         %URI;          #IMPLIED

-  frameborder (1|0)          "1"

-  marginwidth %Pixels;       #IMPLIED

-  marginheight %Pixels;      #IMPLIED

-  noresize    (noresize)     #IMPLIED

-  scrolling   (yes|no|auto)  "auto"

-  >

-

-<!-- inline subwindow -->

-

-<!ELEMENT iframe %Flow;>

-<!ATTLIST iframe

-  %coreattrs;

-  longdesc    %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  src         %URI;          #IMPLIED

-  frameborder (1|0)          "1"

-  marginwidth %Pixels;       #IMPLIED

-  marginheight %Pixels;      #IMPLIED

-  scrolling   (yes|no|auto)  "auto"

-  align       %ImgAlign;     #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  >

-

-<!-- alternate content container for non frame-based rendering -->

-

-<!ELEMENT noframes (body)>

-<!ATTLIST noframes

-  %attrs;

-  >

-

-<!--=================== Document Body ====================================-->

-

-<!ELEMENT body %Flow;>

-<!ATTLIST body

-  %attrs;

-  onload      %Script;       #IMPLIED

-  onunload    %Script;       #IMPLIED

-  background  %URI;          #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  text        %Color;        #IMPLIED

-  link        %Color;        #IMPLIED

-  vlink       %Color;        #IMPLIED

-  alink       %Color;        #IMPLIED

-  >

-

-<!ELEMENT div %Flow;>  <!-- generic language/style container -->

-<!ATTLIST div

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Paragraphs =======================================-->

-

-<!ELEMENT p %Inline;>

-<!ATTLIST p

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Headings =========================================-->

-

-<!--

-  There are six levels of headings from h1 (the most important)

-  to h6 (the least important).

--->

-

-<!ELEMENT h1  %Inline;>

-<!ATTLIST h1

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h2 %Inline;>

-<!ATTLIST h2

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h3 %Inline;>

-<!ATTLIST h3

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h4 %Inline;>

-<!ATTLIST h4

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h5 %Inline;>

-<!ATTLIST h5

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h6 %Inline;>

-<!ATTLIST h6

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Lists ============================================-->

-

-<!-- Unordered list bullet styles -->

-

-<!ENTITY % ULStyle "(disc|square|circle)">

-

-<!-- Unordered list -->

-

-<!ELEMENT ul (li)+>

-<!ATTLIST ul

-  %attrs;

-  type        %ULStyle;     #IMPLIED

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- Ordered list numbering style

-

-    1   arabic numbers      1, 2, 3, ...

-    a   lower alpha         a, b, c, ...

-    A   upper alpha         A, B, C, ...

-    i   lower roman         i, ii, iii, ...

-    I   upper roman         I, II, III, ...

-

-    The style is applied to the sequence number which by default

-    is reset to 1 for the first list item in an ordered list.

--->

-<!ENTITY % OLStyle "CDATA">

-

-<!-- Ordered (numbered) list -->

-

-<!ELEMENT ol (li)+>

-<!ATTLIST ol

-  %attrs;

-  type        %OLStyle;      #IMPLIED

-  compact     (compact)      #IMPLIED

-  start       %Number;       #IMPLIED

-  >

-

-<!-- single column list (DEPRECATED) --> 

-<!ELEMENT menu (li)+>

-<!ATTLIST menu

-  %attrs;

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- multiple column list (DEPRECATED) --> 

-<!ELEMENT dir (li)+>

-<!ATTLIST dir

-  %attrs;

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->

-<!ENTITY % LIStyle "CDATA">

-

-<!-- list item -->

-

-<!ELEMENT li %Flow;>

-<!ATTLIST li

-  %attrs;

-  type        %LIStyle;      #IMPLIED

-  value       %Number;       #IMPLIED

-  >

-

-<!-- definition lists - dt for term, dd for its definition -->

-

-<!ELEMENT dl (dt|dd)+>

-<!ATTLIST dl

-  %attrs;

-  compact     (compact)      #IMPLIED

-  >

-

-<!ELEMENT dt %Inline;>

-<!ATTLIST dt

-  %attrs;

-  >

-

-<!ELEMENT dd %Flow;>

-<!ATTLIST dd

-  %attrs;

-  >

-

-<!--=================== Address ==========================================-->

-

-<!-- information on author -->

-

-<!ELEMENT address (#PCDATA | %inline; | %misc.inline; | p)*>

-<!ATTLIST address

-  %attrs;

-  >

-

-<!--=================== Horizontal Rule ==================================-->

-

-<!ELEMENT hr EMPTY>

-<!ATTLIST hr

-  %attrs;

-  align       (left|center|right) #IMPLIED

-  noshade     (noshade)      #IMPLIED

-  size        %Pixels;       #IMPLIED

-  width       %Length;       #IMPLIED

-  >

-

-<!--=================== Preformatted Text ================================-->

-

-<!-- content is %Inline; excluding 

-        "img|object|applet|big|small|sub|sup|font|basefont" -->

-

-<!ELEMENT pre %pre.content;>

-<!ATTLIST pre

-  %attrs;

-  width       %Number;      #IMPLIED

-  xml:space   (preserve)    #FIXED 'preserve'

-  >

-

-<!--=================== Block-like Quotes ================================-->

-

-<!ELEMENT blockquote %Flow;>

-<!ATTLIST blockquote

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!--=================== Text alignment ===================================-->

-

-<!-- center content -->

-<!ELEMENT center %Flow;>

-<!ATTLIST center

-  %attrs;

-  >

-

-<!--=================== Inserted/Deleted Text ============================-->

-

-

-<!--

-  ins/del are allowed in block and inline content, but its

-  inappropriate to include block content within an ins element

-  occurring in inline content.

--->

-<!ELEMENT ins %Flow;>

-<!ATTLIST ins

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!ELEMENT del %Flow;>

-<!ATTLIST del

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!--================== The Anchor Element ================================-->

-

-<!-- content is %Inline; except that anchors shouldn't be nested -->

-

-<!ELEMENT a %a.content;>

-<!ATTLIST a

-  %attrs;

-  %focus;

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--===================== Inline Elements ================================-->

-

-<!ELEMENT span %Inline;> <!-- generic language/style container -->

-<!ATTLIST span

-  %attrs;

-  >

-

-<!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->

-<!ATTLIST bdo

-  %coreattrs;

-  %events;

-  lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #REQUIRED

-  >

-

-<!ELEMENT br EMPTY>   <!-- forced line break -->

-<!ATTLIST br

-  %coreattrs;

-  clear       (left|all|right|none) "none"

-  >

-

-<!ELEMENT em %Inline;>   <!-- emphasis -->

-<!ATTLIST em %attrs;>

-

-<!ELEMENT strong %Inline;>   <!-- strong emphasis -->

-<!ATTLIST strong %attrs;>

-

-<!ELEMENT dfn %Inline;>   <!-- definitional -->

-<!ATTLIST dfn %attrs;>

-

-<!ELEMENT code %Inline;>   <!-- program code -->

-<!ATTLIST code %attrs;>

-

-<!ELEMENT samp %Inline;>   <!-- sample -->

-<!ATTLIST samp %attrs;>

-

-<!ELEMENT kbd %Inline;>  <!-- something user would type -->

-<!ATTLIST kbd %attrs;>

-

-<!ELEMENT var %Inline;>   <!-- variable -->

-<!ATTLIST var %attrs;>

-

-<!ELEMENT cite %Inline;>   <!-- citation -->

-<!ATTLIST cite %attrs;>

-

-<!ELEMENT abbr %Inline;>   <!-- abbreviation -->

-<!ATTLIST abbr %attrs;>

-

-<!ELEMENT acronym %Inline;>   <!-- acronym -->

-<!ATTLIST acronym %attrs;>

-

-<!ELEMENT q %Inline;>   <!-- inlined quote -->

-<!ATTLIST q

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!ELEMENT sub %Inline;> <!-- subscript -->

-<!ATTLIST sub %attrs;>

-

-<!ELEMENT sup %Inline;> <!-- superscript -->

-<!ATTLIST sup %attrs;>

-

-<!ELEMENT tt %Inline;>   <!-- fixed pitch font -->

-<!ATTLIST tt %attrs;>

-

-<!ELEMENT i %Inline;>   <!-- italic font -->

-<!ATTLIST i %attrs;>

-

-<!ELEMENT b %Inline;>   <!-- bold font -->

-<!ATTLIST b %attrs;>

-

-<!ELEMENT big %Inline;>   <!-- bigger font -->

-<!ATTLIST big %attrs;>

-

-<!ELEMENT small %Inline;>   <!-- smaller font -->

-<!ATTLIST small %attrs;>

-

-<!ELEMENT u %Inline;>   <!-- underline -->

-<!ATTLIST u %attrs;>

-

-<!ELEMENT s %Inline;>   <!-- strike-through -->

-<!ATTLIST s %attrs;>

-

-<!ELEMENT strike %Inline;>   <!-- strike-through -->

-<!ATTLIST strike %attrs;>

-

-<!ELEMENT basefont EMPTY>  <!-- base font size -->

-<!ATTLIST basefont

-  id          ID             #IMPLIED

-  size        CDATA          #REQUIRED

-  color       %Color;        #IMPLIED

-  face        CDATA          #IMPLIED

-  >

-

-<!ELEMENT font %Inline;> <!-- local change to font -->

-<!ATTLIST font

-  %coreattrs;

-  %i18n;

-  size        CDATA          #IMPLIED

-  color       %Color;        #IMPLIED

-  face        CDATA          #IMPLIED

-  >

-

-<!--==================== Object ======================================-->

-<!--

-  object is used to embed objects as part of HTML pages.

-  param elements should precede other content. Parameters

-  can also be expressed as attribute/value pairs on the

-  object element itself when brevity is desired.

--->

-

-<!ELEMENT object (#PCDATA | param | %block; | form |%inline; | %misc;)*>

-<!ATTLIST object

-  %attrs;

-  declare     (declare)      #IMPLIED

-  classid     %URI;          #IMPLIED

-  codebase    %URI;          #IMPLIED

-  data        %URI;          #IMPLIED

-  type        %ContentType;  #IMPLIED

-  codetype    %ContentType;  #IMPLIED

-  archive     %UriList;      #IMPLIED

-  standby     %Text;         #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  border      %Pixels;       #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!--

-  param is used to supply a named property value.

-  In XML it would seem natural to follow RDF and support an

-  abbreviated syntax where the param elements are replaced

-  by attribute value pairs on the object start tag.

--->

-<!ELEMENT param EMPTY>

-<!ATTLIST param

-  id          ID             #IMPLIED

-  name        CDATA          #REQUIRED

-  value       CDATA          #IMPLIED

-  valuetype   (data|ref|object) "data"

-  type        %ContentType;  #IMPLIED

-  >

-

-<!--=================== Java applet ==================================-->

-<!--

-  One of code or object attributes must be present.

-  Place param elements before other content.

--->

-<!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>

-<!ATTLIST applet

-  %coreattrs;

-  codebase    %URI;          #IMPLIED

-  archive     CDATA          #IMPLIED

-  code        CDATA          #IMPLIED

-  object      CDATA          #IMPLIED

-  alt         %Text;         #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  width       %Length;       #REQUIRED

-  height      %Length;       #REQUIRED

-  align       %ImgAlign;     #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!--=================== Images ===========================================-->

-

-<!--

-   To avoid accessibility problems for people who aren't

-   able to see the image, you should provide a text

-   description using the alt and longdesc attributes.

-   In addition, avoid the use of server-side image maps.

--->

-

-<!ELEMENT img EMPTY>

-<!ATTLIST img

-  %attrs;

-  src         %URI;          #REQUIRED

-  alt         %Text;         #REQUIRED

-  name        NMTOKEN        #IMPLIED

-  longdesc    %URI;          #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  ismap       (ismap)        #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  border      %Pixels;       #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!-- usemap points to a map element which may be in this document

-  or an external document, although the latter is not widely supported -->

-

-<!--================== Client-side image maps ============================-->

-

-<!-- These can be placed in the same document or grouped in a

-     separate document although this isn't yet widely supported -->

-

-<!ELEMENT map ((%block; | form | %misc;)+ | area+)>

-<!ATTLIST map

-  %i18n;

-  %events;

-  id          ID             #REQUIRED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  >

-

-<!ELEMENT area EMPTY>

-<!ATTLIST area

-  %attrs;

-  %focus;

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  href        %URI;          #IMPLIED

-  nohref      (nohref)       #IMPLIED

-  alt         %Text;         #REQUIRED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--================ Forms ===============================================-->

-

-<!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->

-

-<!ATTLIST form

-  %attrs;

-  action      %URI;          #REQUIRED

-  method      (get|post)     "get"

-  name        NMTOKEN        #IMPLIED

-  enctype     %ContentType;  "application/x-www-form-urlencoded"

-  onsubmit    %Script;       #IMPLIED

-  onreset     %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  accept-charset %Charsets;  #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--

-  Each label must not contain more than ONE field

-  Label elements shouldn't be nested.

--->

-<!ELEMENT label %Inline;>

-<!ATTLIST label

-  %attrs;

-  for         IDREF          #IMPLIED

-  accesskey   %Character;    #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  >

-

-<!ENTITY % InputType

-  "(text | password | checkbox |

-    radio | submit | reset |

-    file | hidden | image | button)"

-   >

-

-<!-- the name attribute is required for all but submit & reset -->

-

-<!ELEMENT input EMPTY>     <!-- form control -->

-<!ATTLIST input

-  %attrs;

-  %focus;

-  type        %InputType;    "text"

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  checked     (checked)      #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  size        CDATA          #IMPLIED

-  maxlength   %Number;       #IMPLIED

-  src         %URI;          #IMPLIED

-  alt         CDATA          #IMPLIED

-  usemap      %URI;          #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  >

-

-<!ELEMENT select (optgroup|option)+>  <!-- option selector -->

-<!ATTLIST select

-  %attrs;

-  name        CDATA          #IMPLIED

-  size        %Number;       #IMPLIED

-  multiple    (multiple)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!ELEMENT optgroup (option)+>   <!-- option group -->

-<!ATTLIST optgroup

-  %attrs;

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #REQUIRED

-  >

-

-<!ELEMENT option (#PCDATA)>     <!-- selectable choice -->

-<!ATTLIST option

-  %attrs;

-  selected    (selected)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #IMPLIED

-  value       CDATA          #IMPLIED

-  >

-

-<!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->

-<!ATTLIST textarea

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  rows        %Number;       #REQUIRED

-  cols        %Number;       #REQUIRED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!--

-  The fieldset element is used to group form fields.

-  Only one legend element should occur in the content

-  and if present should only be preceded by whitespace.

--->

-<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>

-<!ATTLIST fieldset

-  %attrs;

-  >

-

-<!ENTITY % LAlign "(top|bottom|left|right)">

-

-<!ELEMENT legend %Inline;>     <!-- fieldset label -->

-<!ATTLIST legend

-  %attrs;

-  accesskey   %Character;    #IMPLIED

-  align       %LAlign;       #IMPLIED

-  >

-

-<!--

- Content is %Flow; excluding a, form, form controls, iframe

---> 

-<!ELEMENT button %button.content;>  <!-- push button -->

-<!ATTLIST button

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  type        (button|submit|reset) "submit"

-  disabled    (disabled)     #IMPLIED

-  >

-

-<!-- single-line text input control (DEPRECATED) -->

-<!ELEMENT isindex EMPTY>

-<!ATTLIST isindex

-  %coreattrs;

-  %i18n;

-  prompt      %Text;         #IMPLIED

-  >

-

-<!--======================= Tables =======================================-->

-

-<!-- Derived from IETF HTML table standard, see [RFC1942] -->

-

-<!--

- The border attribute sets the thickness of the frame around the

- table. The default units are screen pixels.

-

- The frame attribute specifies which parts of the frame around

- the table should be rendered. The values are not the same as

- CALS to avoid a name clash with the valign attribute.

--->

-<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">

-

-<!--

- The rules attribute defines which rules to draw between cells:

-

- If rules is absent then assume:

-     "none" if border is absent or border="0" otherwise "all"

--->

-

-<!ENTITY % TRules "(none | groups | rows | cols | all)">

-  

-<!-- horizontal placement of table relative to document -->

-<!ENTITY % TAlign "(left|center|right)">

-

-<!-- horizontal alignment attributes for cell contents

-

-  char        alignment char, e.g. char=":"

-  charoff     offset for alignment char

--->

-<!ENTITY % cellhalign

-  "align      (left|center|right|justify|char) #IMPLIED

-   char       %Character;    #IMPLIED

-   charoff    %Length;       #IMPLIED"

-  >

-

-<!-- vertical alignment attributes for cell contents -->

-<!ENTITY % cellvalign

-  "valign     (top|middle|bottom|baseline) #IMPLIED"

-  >

-

-<!ELEMENT table

-     (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>

-<!ELEMENT caption  %Inline;>

-<!ELEMENT thead    (tr)+>

-<!ELEMENT tfoot    (tr)+>

-<!ELEMENT tbody    (tr)+>

-<!ELEMENT colgroup (col)*>

-<!ELEMENT col      EMPTY>

-<!ELEMENT tr       (th|td)+>

-<!ELEMENT th       %Flow;>

-<!ELEMENT td       %Flow;>

-

-<!ATTLIST table

-  %attrs;

-  summary     %Text;         #IMPLIED

-  width       %Length;       #IMPLIED

-  border      %Pixels;       #IMPLIED

-  frame       %TFrame;       #IMPLIED

-  rules       %TRules;       #IMPLIED

-  cellspacing %Length;       #IMPLIED

-  cellpadding %Length;       #IMPLIED

-  align       %TAlign;       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  >

-

-<!ENTITY % CAlign "(top|bottom|left|right)">

-

-<!ATTLIST caption

-  %attrs;

-  align       %CAlign;       #IMPLIED

-  >

-

-<!--

-colgroup groups a set of col elements. It allows you to group

-several semantically related columns together.

--->

-<!ATTLIST colgroup

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

- col elements define the alignment properties for cells in

- one or more columns.

-

- The width attribute specifies the width of the columns, e.g.

-

-     width=64        width in screen pixels

-     width=0.5*      relative width of 0.5

-

- The span attribute causes the attributes of one

- col element to apply to more than one column.

--->

-<!ATTLIST col

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

-    Use thead to duplicate headers when breaking table

-    across page boundaries, or for static headers when

-    tbody sections are rendered in scrolling panel.

-

-    Use tfoot to duplicate footers when breaking table

-    across page boundaries, or for static footers when

-    tbody sections are rendered in scrolling panel.

-

-    Use multiple tbody sections when rules are needed

-    between groups of table rows.

--->

-<!ATTLIST thead

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tfoot

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tbody

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tr

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  bgcolor     %Color;        #IMPLIED

-  >

-

-<!-- Scope is simpler than headers attribute for common tables -->

-<!ENTITY % Scope "(row|col|rowgroup|colgroup)">

-

-<!-- th is for headers, td for data and for cells acting as both -->

-

-<!ATTLIST th

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  nowrap      (nowrap)       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  width       %Pixels;       #IMPLIED

-  height      %Pixels;       #IMPLIED

-  >

-

-<!ATTLIST td

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  nowrap      (nowrap)       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  width       %Pixels;       #IMPLIED

-  height      %Pixels;       #IMPLIED

-  >

-

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-strict.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-strict.dtd
deleted file mode 100755
index 2558a31..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-strict.dtd
+++ /dev/null
@@ -1,978 +0,0 @@
-<!--

-   Extensible HTML version 1.0 Strict DTD

-

-   This is the same as HTML 4 Strict except for

-   changes due to the differences between XML and SGML.

-

-   Namespace = http://www.w3.org/1999/xhtml

-

-   For further information, see: http://www.w3.org/TR/xhtml1

-

-   Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),

-   All Rights Reserved. 

-

-   This DTD module is identified by the PUBLIC and SYSTEM identifiers:

-

-   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

-   SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

-

-   $Revision: 1.1 $

-   $Date: 2004/06/08 19:37:55 $

-

--->

-

-<!--================ Character mnemonic entities =========================-->

-

-<!ENTITY % HTMLlat1 PUBLIC

-   "-//W3C//ENTITIES Latin 1 for XHTML//EN"

-   "xhtml-lat1.ent">

-%HTMLlat1;

-

-<!ENTITY % HTMLsymbol PUBLIC

-   "-//W3C//ENTITIES Symbols for XHTML//EN"

-   "xhtml-symbol.ent">

-%HTMLsymbol;

-

-<!ENTITY % HTMLspecial PUBLIC

-   "-//W3C//ENTITIES Special for XHTML//EN"

-   "xhtml-special.ent">

-%HTMLspecial;

-

-<!--================== Imported Names ====================================-->

-

-<!ENTITY % ContentType "CDATA">

-    <!-- media type, as per [RFC2045] -->

-

-<!ENTITY % ContentTypes "CDATA">

-    <!-- comma-separated list of media types, as per [RFC2045] -->

-

-<!ENTITY % Charset "CDATA">

-    <!-- a character encoding, as per [RFC2045] -->

-

-<!ENTITY % Charsets "CDATA">

-    <!-- a space separated list of character encodings, as per [RFC2045] -->

-

-<!ENTITY % LanguageCode "NMTOKEN">

-    <!-- a language code, as per [RFC3066] -->

-

-<!ENTITY % Character "CDATA">

-    <!-- a single character, as per section 2.2 of [XML] -->

-

-<!ENTITY % Number "CDATA">

-    <!-- one or more digits -->

-

-<!ENTITY % LinkTypes "CDATA">

-    <!-- space-separated list of link types -->

-

-<!ENTITY % MediaDesc "CDATA">

-    <!-- single or comma-separated list of media descriptors -->

-

-<!ENTITY % URI "CDATA">

-    <!-- a Uniform Resource Identifier, see [RFC2396] -->

-

-<!ENTITY % UriList "CDATA">

-    <!-- a space separated list of Uniform Resource Identifiers -->

-

-<!ENTITY % Datetime "CDATA">

-    <!-- date and time information. ISO date format -->

-

-<!ENTITY % Script "CDATA">

-    <!-- script expression -->

-

-<!ENTITY % StyleSheet "CDATA">

-    <!-- style sheet data -->

-

-<!ENTITY % Text "CDATA">

-    <!-- used for titles etc. -->

-

-<!ENTITY % Length "CDATA">

-    <!-- nn for pixels or nn% for percentage length -->

-

-<!ENTITY % MultiLength "CDATA">

-    <!-- pixel, percentage, or relative -->

-

-<!ENTITY % Pixels "CDATA">

-    <!-- integer representing length in pixels -->

-

-<!-- these are used for image maps -->

-

-<!ENTITY % Shape "(rect|circle|poly|default)">

-

-<!ENTITY % Coords "CDATA">

-    <!-- comma separated list of lengths -->

-

-<!--=================== Generic Attributes ===============================-->

-

-<!-- core attributes common to most elements

-  id       document-wide unique id

-  class    space separated list of classes

-  style    associated style info

-  title    advisory title/amplification

--->

-<!ENTITY % coreattrs

- "id          ID             #IMPLIED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED"

-  >

-

-<!-- internationalization attributes

-  lang        language code (backwards compatible)

-  xml:lang    language code (as per XML 1.0 spec)

-  dir         direction for weak/neutral text

--->

-<!ENTITY % i18n

- "lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #IMPLIED"

-  >

-

-<!-- attributes for common UI events

-  onclick     a pointer button was clicked

-  ondblclick  a pointer button was double clicked

-  onmousedown a pointer button was pressed down

-  onmouseup   a pointer button was released

-  onmousemove a pointer was moved onto the element

-  onmouseout  a pointer was moved away from the element

-  onkeypress  a key was pressed and released

-  onkeydown   a key was pressed down

-  onkeyup     a key was released

--->

-<!ENTITY % events

- "onclick     %Script;       #IMPLIED

-  ondblclick  %Script;       #IMPLIED

-  onmousedown %Script;       #IMPLIED

-  onmouseup   %Script;       #IMPLIED

-  onmouseover %Script;       #IMPLIED

-  onmousemove %Script;       #IMPLIED

-  onmouseout  %Script;       #IMPLIED

-  onkeypress  %Script;       #IMPLIED

-  onkeydown   %Script;       #IMPLIED

-  onkeyup     %Script;       #IMPLIED"

-  >

-

-<!-- attributes for elements that can get the focus

-  accesskey   accessibility key character

-  tabindex    position in tabbing order

-  onfocus     the element got the focus

-  onblur      the element lost the focus

--->

-<!ENTITY % focus

- "accesskey   %Character;    #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED"

-  >

-

-<!ENTITY % attrs "%coreattrs; %i18n; %events;">

-

-<!--=================== Text Elements ====================================-->

-

-<!ENTITY % special.pre

-   "br | span | bdo | map">

-

-

-<!ENTITY % special

-   "%special.pre; | object | img ">

-

-<!ENTITY % fontstyle "tt | i | b | big | small ">

-

-<!ENTITY % phrase "em | strong | dfn | code | q |

-                   samp | kbd | var | cite | abbr | acronym | sub | sup ">

-

-<!ENTITY % inline.forms "input | select | textarea | label | button">

-

-<!-- these can occur at block or inline level -->

-<!ENTITY % misc.inline "ins | del | script">

-

-<!-- these can only occur at block level -->

-<!ENTITY % misc "noscript | %misc.inline;">

-

-<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">

-

-<!-- %Inline; covers inline or "text-level" elements -->

-<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">

-

-<!--================== Block level elements ==============================-->

-

-<!ENTITY % heading "h1|h2|h3|h4|h5|h6">

-<!ENTITY % lists "ul | ol | dl">

-<!ENTITY % blocktext "pre | hr | blockquote | address">

-

-<!ENTITY % block

-     "p | %heading; | div | %lists; | %blocktext; | fieldset | table">

-

-<!ENTITY % Block "(%block; | form | %misc;)*">

-

-<!-- %Flow; mixes block and inline and is used for list items etc. -->

-<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">

-

-<!--================== Content models for exclusions =====================-->

-

-<!-- a elements use %Inline; excluding a -->

-

-<!ENTITY % a.content

-   "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*">

-

-<!-- pre uses %Inline excluding big, small, sup or sup -->

-

-<!ENTITY % pre.content

-   "(#PCDATA | a | %fontstyle; | %phrase; | %special.pre; | %misc.inline;

-      | %inline.forms;)*">

-

-<!-- form uses %Block; excluding form -->

-

-<!ENTITY % form.content "(%block; | %misc;)*">

-

-<!-- button uses %Flow; but excludes a, form and form controls -->

-

-<!ENTITY % button.content

-   "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |

-    table | %special; | %fontstyle; | %phrase; | %misc;)*">

-

-<!--================ Document Structure ==================================-->

-

-<!-- the namespace URI designates the document profile -->

-

-<!ELEMENT html (head, body)>

-<!ATTLIST html

-  %i18n;

-  id          ID             #IMPLIED

-  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'

-  >

-

-<!--================ Document Head =======================================-->

-

-<!ENTITY % head.misc "(script|style|meta|link|object)*">

-

-<!-- content model is %head.misc; combined with a single

-     title and an optional base element in any order -->

-

-<!ELEMENT head (%head.misc;,

-     ((title, %head.misc;, (base, %head.misc;)?) |

-      (base, %head.misc;, (title, %head.misc;))))>

-

-<!ATTLIST head

-  %i18n;

-  id          ID             #IMPLIED

-  profile     %URI;          #IMPLIED

-  >

-

-<!-- The title element is not considered part of the flow of text.

-       It should be displayed, for example as the page header or

-       window title. Exactly one title is required per document.

-    -->

-<!ELEMENT title (#PCDATA)>

-<!ATTLIST title 

-  %i18n;

-  id          ID             #IMPLIED

-  >

-

-<!-- document base URI -->

-

-<!ELEMENT base EMPTY>

-<!ATTLIST base

-  href        %URI;          #REQUIRED

-  id          ID             #IMPLIED

-  >

-

-<!-- generic metainformation -->

-<!ELEMENT meta EMPTY>

-<!ATTLIST meta

-  %i18n;

-  id          ID             #IMPLIED

-  http-equiv  CDATA          #IMPLIED

-  name        CDATA          #IMPLIED

-  content     CDATA          #REQUIRED

-  scheme      CDATA          #IMPLIED

-  >

-

-<!--

-  Relationship values can be used in principle:

-

-   a) for document specific toolbars/menus when used

-      with the link element in document head e.g.

-        start, contents, previous, next, index, end, help

-   b) to link to a separate style sheet (rel="stylesheet")

-   c) to make a link to a script (rel="script")

-   d) by stylesheets to control how collections of

-      html nodes are rendered into printed documents

-   e) to make a link to a printable version of this document

-      e.g. a PostScript or PDF version (rel="alternate" media="print")

--->

-

-<!ELEMENT link EMPTY>

-<!ATTLIST link

-  %attrs;

-  charset     %Charset;      #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  type        %ContentType;  #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  media       %MediaDesc;    #IMPLIED

-  >

-

-<!-- style info, which may include CDATA sections -->

-<!ELEMENT style (#PCDATA)>

-<!ATTLIST style

-  %i18n;

-  id          ID             #IMPLIED

-  type        %ContentType;  #REQUIRED

-  media       %MediaDesc;    #IMPLIED

-  title       %Text;         #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- script statements, which may include CDATA sections -->

-<!ELEMENT script (#PCDATA)>

-<!ATTLIST script

-  id          ID             #IMPLIED

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #REQUIRED

-  src         %URI;          #IMPLIED

-  defer       (defer)        #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- alternate content container for non script-based rendering -->

-

-<!ELEMENT noscript %Block;>

-<!ATTLIST noscript

-  %attrs;

-  >

-

-<!--=================== Document Body ====================================-->

-

-<!ELEMENT body %Block;>

-<!ATTLIST body

-  %attrs;

-  onload          %Script;   #IMPLIED

-  onunload        %Script;   #IMPLIED

-  >

-

-<!ELEMENT div %Flow;>  <!-- generic language/style container -->

-<!ATTLIST div

-  %attrs;

-  >

-

-<!--=================== Paragraphs =======================================-->

-

-<!ELEMENT p %Inline;>

-<!ATTLIST p

-  %attrs;

-  >

-

-<!--=================== Headings =========================================-->

-

-<!--

-  There are six levels of headings from h1 (the most important)

-  to h6 (the least important).

--->

-

-<!ELEMENT h1  %Inline;>

-<!ATTLIST h1

-   %attrs;

-   >

-

-<!ELEMENT h2 %Inline;>

-<!ATTLIST h2

-   %attrs;

-   >

-

-<!ELEMENT h3 %Inline;>

-<!ATTLIST h3

-   %attrs;

-   >

-

-<!ELEMENT h4 %Inline;>

-<!ATTLIST h4

-   %attrs;

-   >

-

-<!ELEMENT h5 %Inline;>

-<!ATTLIST h5

-   %attrs;

-   >

-

-<!ELEMENT h6 %Inline;>

-<!ATTLIST h6

-   %attrs;

-   >

-

-<!--=================== Lists ============================================-->

-

-<!-- Unordered list -->

-

-<!ELEMENT ul (li)+>

-<!ATTLIST ul

-  %attrs;

-  >

-

-<!-- Ordered (numbered) list -->

-

-<!ELEMENT ol (li)+>

-<!ATTLIST ol

-  %attrs;

-  >

-

-<!-- list item -->

-

-<!ELEMENT li %Flow;>

-<!ATTLIST li

-  %attrs;

-  >

-

-<!-- definition lists - dt for term, dd for its definition -->

-

-<!ELEMENT dl (dt|dd)+>

-<!ATTLIST dl

-  %attrs;

-  >

-

-<!ELEMENT dt %Inline;>

-<!ATTLIST dt

-  %attrs;

-  >

-

-<!ELEMENT dd %Flow;>

-<!ATTLIST dd

-  %attrs;

-  >

-

-<!--=================== Address ==========================================-->

-

-<!-- information on author -->

-

-<!ELEMENT address %Inline;>

-<!ATTLIST address

-  %attrs;

-  >

-

-<!--=================== Horizontal Rule ==================================-->

-

-<!ELEMENT hr EMPTY>

-<!ATTLIST hr

-  %attrs;

-  >

-

-<!--=================== Preformatted Text ================================-->

-

-<!-- content is %Inline; excluding "img|object|big|small|sub|sup" -->

-

-<!ELEMENT pre %pre.content;>

-<!ATTLIST pre

-  %attrs;

-  xml:space (preserve) #FIXED 'preserve'

-  >

-

-<!--=================== Block-like Quotes ================================-->

-

-<!ELEMENT blockquote %Block;>

-<!ATTLIST blockquote

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!--=================== Inserted/Deleted Text ============================-->

-

-<!--

-  ins/del are allowed in block and inline content, but its

-  inappropriate to include block content within an ins element

-  occurring in inline content.

--->

-<!ELEMENT ins %Flow;>

-<!ATTLIST ins

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!ELEMENT del %Flow;>

-<!ATTLIST del

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!--================== The Anchor Element ================================-->

-

-<!-- content is %Inline; except that anchors shouldn't be nested -->

-

-<!ELEMENT a %a.content;>

-<!ATTLIST a

-  %attrs;

-  %focus;

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  >

-

-<!--===================== Inline Elements ================================-->

-

-<!ELEMENT span %Inline;> <!-- generic language/style container -->

-<!ATTLIST span

-  %attrs;

-  >

-

-<!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->

-<!ATTLIST bdo

-  %coreattrs;

-  %events;

-  lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #REQUIRED

-  >

-

-<!ELEMENT br EMPTY>   <!-- forced line break -->

-<!ATTLIST br

-  %coreattrs;

-  >

-

-<!ELEMENT em %Inline;>   <!-- emphasis -->

-<!ATTLIST em %attrs;>

-

-<!ELEMENT strong %Inline;>   <!-- strong emphasis -->

-<!ATTLIST strong %attrs;>

-

-<!ELEMENT dfn %Inline;>   <!-- definitional -->

-<!ATTLIST dfn %attrs;>

-

-<!ELEMENT code %Inline;>   <!-- program code -->

-<!ATTLIST code %attrs;>

-

-<!ELEMENT samp %Inline;>   <!-- sample -->

-<!ATTLIST samp %attrs;>

-

-<!ELEMENT kbd %Inline;>  <!-- something user would type -->

-<!ATTLIST kbd %attrs;>

-

-<!ELEMENT var %Inline;>   <!-- variable -->

-<!ATTLIST var %attrs;>

-

-<!ELEMENT cite %Inline;>   <!-- citation -->

-<!ATTLIST cite %attrs;>

-

-<!ELEMENT abbr %Inline;>   <!-- abbreviation -->

-<!ATTLIST abbr %attrs;>

-

-<!ELEMENT acronym %Inline;>   <!-- acronym -->

-<!ATTLIST acronym %attrs;>

-

-<!ELEMENT q %Inline;>   <!-- inlined quote -->

-<!ATTLIST q

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!ELEMENT sub %Inline;> <!-- subscript -->

-<!ATTLIST sub %attrs;>

-

-<!ELEMENT sup %Inline;> <!-- superscript -->

-<!ATTLIST sup %attrs;>

-

-<!ELEMENT tt %Inline;>   <!-- fixed pitch font -->

-<!ATTLIST tt %attrs;>

-

-<!ELEMENT i %Inline;>   <!-- italic font -->

-<!ATTLIST i %attrs;>

-

-<!ELEMENT b %Inline;>   <!-- bold font -->

-<!ATTLIST b %attrs;>

-

-<!ELEMENT big %Inline;>   <!-- bigger font -->

-<!ATTLIST big %attrs;>

-

-<!ELEMENT small %Inline;>   <!-- smaller font -->

-<!ATTLIST small %attrs;>

-

-<!--==================== Object ======================================-->

-<!--

-  object is used to embed objects as part of HTML pages.

-  param elements should precede other content. Parameters

-  can also be expressed as attribute/value pairs on the

-  object element itself when brevity is desired.

--->

-

-<!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>

-<!ATTLIST object

-  %attrs;

-  declare     (declare)      #IMPLIED

-  classid     %URI;          #IMPLIED

-  codebase    %URI;          #IMPLIED

-  data        %URI;          #IMPLIED

-  type        %ContentType;  #IMPLIED

-  codetype    %ContentType;  #IMPLIED

-  archive     %UriList;      #IMPLIED

-  standby     %Text;         #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  >

-

-<!--

-  param is used to supply a named property value.

-  In XML it would seem natural to follow RDF and support an

-  abbreviated syntax where the param elements are replaced

-  by attribute value pairs on the object start tag.

--->

-<!ELEMENT param EMPTY>

-<!ATTLIST param

-  id          ID             #IMPLIED

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  valuetype   (data|ref|object) "data"

-  type        %ContentType;  #IMPLIED

-  >

-

-<!--=================== Images ===========================================-->

-

-<!--

-   To avoid accessibility problems for people who aren't

-   able to see the image, you should provide a text

-   description using the alt and longdesc attributes.

-   In addition, avoid the use of server-side image maps.

-   Note that in this DTD there is no name attribute. That

-   is only available in the transitional and frameset DTD.

--->

-

-<!ELEMENT img EMPTY>

-<!ATTLIST img

-  %attrs;

-  src         %URI;          #REQUIRED

-  alt         %Text;         #REQUIRED

-  longdesc    %URI;          #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  ismap       (ismap)        #IMPLIED

-  >

-

-<!-- usemap points to a map element which may be in this document

-  or an external document, although the latter is not widely supported -->

-

-<!--================== Client-side image maps ============================-->

-

-<!-- These can be placed in the same document or grouped in a

-     separate document although this isn't yet widely supported -->

-

-<!ELEMENT map ((%block; | form | %misc;)+ | area+)>

-<!ATTLIST map

-  %i18n;

-  %events;

-  id          ID             #REQUIRED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  >

-

-<!ELEMENT area EMPTY>

-<!ATTLIST area

-  %attrs;

-  %focus;

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  href        %URI;          #IMPLIED

-  nohref      (nohref)       #IMPLIED

-  alt         %Text;         #REQUIRED

-  >

-

-<!--================ Forms ===============================================-->

-<!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->

-

-<!ATTLIST form

-  %attrs;

-  action      %URI;          #REQUIRED

-  method      (get|post)     "get"

-  enctype     %ContentType;  "application/x-www-form-urlencoded"

-  onsubmit    %Script;       #IMPLIED

-  onreset     %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  accept-charset %Charsets;  #IMPLIED

-  >

-

-<!--

-  Each label must not contain more than ONE field

-  Label elements shouldn't be nested.

--->

-<!ELEMENT label %Inline;>

-<!ATTLIST label

-  %attrs;

-  for         IDREF          #IMPLIED

-  accesskey   %Character;    #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  >

-

-<!ENTITY % InputType

-  "(text | password | checkbox |

-    radio | submit | reset |

-    file | hidden | image | button)"

-   >

-

-<!-- the name attribute is required for all but submit & reset -->

-

-<!ELEMENT input EMPTY>     <!-- form control -->

-<!ATTLIST input

-  %attrs;

-  %focus;

-  type        %InputType;    "text"

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  checked     (checked)      #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  size        CDATA          #IMPLIED

-  maxlength   %Number;       #IMPLIED

-  src         %URI;          #IMPLIED

-  alt         CDATA          #IMPLIED

-  usemap      %URI;          #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  >

-

-<!ELEMENT select (optgroup|option)+>  <!-- option selector -->

-<!ATTLIST select

-  %attrs;

-  name        CDATA          #IMPLIED

-  size        %Number;       #IMPLIED

-  multiple    (multiple)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!ELEMENT optgroup (option)+>   <!-- option group -->

-<!ATTLIST optgroup

-  %attrs;

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #REQUIRED

-  >

-

-<!ELEMENT option (#PCDATA)>     <!-- selectable choice -->

-<!ATTLIST option

-  %attrs;

-  selected    (selected)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #IMPLIED

-  value       CDATA          #IMPLIED

-  >

-

-<!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->

-<!ATTLIST textarea

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  rows        %Number;       #REQUIRED

-  cols        %Number;       #REQUIRED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!--

-  The fieldset element is used to group form fields.

-  Only one legend element should occur in the content

-  and if present should only be preceded by whitespace.

--->

-<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>

-<!ATTLIST fieldset

-  %attrs;

-  >

-

-<!ELEMENT legend %Inline;>     <!-- fieldset label -->

-<!ATTLIST legend

-  %attrs;

-  accesskey   %Character;    #IMPLIED

-  >

-

-<!--

- Content is %Flow; excluding a, form and form controls

---> 

-<!ELEMENT button %button.content;>  <!-- push button -->

-<!ATTLIST button

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  type        (button|submit|reset) "submit"

-  disabled    (disabled)     #IMPLIED

-  >

-

-<!--======================= Tables =======================================-->

-

-<!-- Derived from IETF HTML table standard, see [RFC1942] -->

-

-<!--

- The border attribute sets the thickness of the frame around the

- table. The default units are screen pixels.

-

- The frame attribute specifies which parts of the frame around

- the table should be rendered. The values are not the same as

- CALS to avoid a name clash with the valign attribute.

--->

-<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">

-

-<!--

- The rules attribute defines which rules to draw between cells:

-

- If rules is absent then assume:

-     "none" if border is absent or border="0" otherwise "all"

--->

-

-<!ENTITY % TRules "(none | groups | rows | cols | all)">

-  

-<!-- horizontal alignment attributes for cell contents

-

-  char        alignment char, e.g. char=':'

-  charoff     offset for alignment char

--->

-<!ENTITY % cellhalign

-  "align      (left|center|right|justify|char) #IMPLIED

-   char       %Character;    #IMPLIED

-   charoff    %Length;       #IMPLIED"

-  >

-

-<!-- vertical alignment attributes for cell contents -->

-<!ENTITY % cellvalign

-  "valign     (top|middle|bottom|baseline) #IMPLIED"

-  >

-

-<!ELEMENT table

-     (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>

-<!ELEMENT caption  %Inline;>

-<!ELEMENT thead    (tr)+>

-<!ELEMENT tfoot    (tr)+>

-<!ELEMENT tbody    (tr)+>

-<!ELEMENT colgroup (col)*>

-<!ELEMENT col      EMPTY>

-<!ELEMENT tr       (th|td)+>

-<!ELEMENT th       %Flow;>

-<!ELEMENT td       %Flow;>

-

-<!ATTLIST table

-  %attrs;

-  summary     %Text;         #IMPLIED

-  width       %Length;       #IMPLIED

-  border      %Pixels;       #IMPLIED

-  frame       %TFrame;       #IMPLIED

-  rules       %TRules;       #IMPLIED

-  cellspacing %Length;       #IMPLIED

-  cellpadding %Length;       #IMPLIED

-  >

-

-<!ATTLIST caption

-  %attrs;

-  >

-

-<!--

-colgroup groups a set of col elements. It allows you to group

-several semantically related columns together.

--->

-<!ATTLIST colgroup

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

- col elements define the alignment properties for cells in

- one or more columns.

-

- The width attribute specifies the width of the columns, e.g.

-

-     width=64        width in screen pixels

-     width=0.5*      relative width of 0.5

-

- The span attribute causes the attributes of one

- col element to apply to more than one column.

--->

-<!ATTLIST col

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

-    Use thead to duplicate headers when breaking table

-    across page boundaries, or for static headers when

-    tbody sections are rendered in scrolling panel.

-

-    Use tfoot to duplicate footers when breaking table

-    across page boundaries, or for static footers when

-    tbody sections are rendered in scrolling panel.

-

-    Use multiple tbody sections when rules are needed

-    between groups of table rows.

--->

-<!ATTLIST thead

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tfoot

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tbody

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tr

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-

-<!-- Scope is simpler than headers attribute for common tables -->

-<!ENTITY % Scope "(row|col|rowgroup|colgroup)">

-

-<!-- th is for headers, td for data and for cells acting as both -->

-

-<!ATTLIST th

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST td

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  >

-

diff --git a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-transitional.dtd b/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-transitional.dtd
deleted file mode 100755
index 68536fe..0000000
--- a/v2/test/cases/xbean/dom/W3C/level2/core/files/xhtml1-transitional.dtd
+++ /dev/null
@@ -1,1201 +0,0 @@
-<!--

-   Extensible HTML version 1.0 Transitional DTD

-

-   This is the same as HTML 4 Transitional except for

-   changes due to the differences between XML and SGML.

-

-   Namespace = http://www.w3.org/1999/xhtml

-

-   For further information, see: http://www.w3.org/TR/xhtml1

-

-   Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),

-   All Rights Reserved. 

-

-   This DTD module is identified by the PUBLIC and SYSTEM identifiers:

-

-   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

-   SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

-

-   $Revision: 1.1 $

-   $Date: 2004/06/08 19:37:55 $

-

--->

-

-<!--================ Character mnemonic entities =========================-->

-

-<!ENTITY % HTMLlat1 PUBLIC

-   "-//W3C//ENTITIES Latin 1 for XHTML//EN"

-   "xhtml-lat1.ent">

-%HTMLlat1;

-

-<!ENTITY % HTMLsymbol PUBLIC

-   "-//W3C//ENTITIES Symbols for XHTML//EN"

-   "xhtml-symbol.ent">

-%HTMLsymbol;

-

-<!ENTITY % HTMLspecial PUBLIC

-   "-//W3C//ENTITIES Special for XHTML//EN"

-   "xhtml-special.ent">

-%HTMLspecial;

-

-<!--================== Imported Names ====================================-->

-

-<!ENTITY % ContentType "CDATA">

-    <!-- media type, as per [RFC2045] -->

-

-<!ENTITY % ContentTypes "CDATA">

-    <!-- comma-separated list of media types, as per [RFC2045] -->

-

-<!ENTITY % Charset "CDATA">

-    <!-- a character encoding, as per [RFC2045] -->

-

-<!ENTITY % Charsets "CDATA">

-    <!-- a space separated list of character encodings, as per [RFC2045] -->

-

-<!ENTITY % LanguageCode "NMTOKEN">

-    <!-- a language code, as per [RFC3066] -->

-

-<!ENTITY % Character "CDATA">

-    <!-- a single character, as per section 2.2 of [XML] -->

-

-<!ENTITY % Number "CDATA">

-    <!-- one or more digits -->

-

-<!ENTITY % LinkTypes "CDATA">

-    <!-- space-separated list of link types -->

-

-<!ENTITY % MediaDesc "CDATA">

-    <!-- single or comma-separated list of media descriptors -->

-

-<!ENTITY % URI "CDATA">

-    <!-- a Uniform Resource Identifier, see [RFC2396] -->

-

-<!ENTITY % UriList "CDATA">

-    <!-- a space separated list of Uniform Resource Identifiers -->

-

-<!ENTITY % Datetime "CDATA">

-    <!-- date and time information. ISO date format -->

-

-<!ENTITY % Script "CDATA">

-    <!-- script expression -->

-

-<!ENTITY % StyleSheet "CDATA">

-    <!-- style sheet data -->

-

-<!ENTITY % Text "CDATA">

-    <!-- used for titles etc. -->

-

-<!ENTITY % FrameTarget "NMTOKEN">

-    <!-- render in this frame -->

-

-<!ENTITY % Length "CDATA">

-    <!-- nn for pixels or nn% for percentage length -->

-

-<!ENTITY % MultiLength "CDATA">

-    <!-- pixel, percentage, or relative -->

-

-<!ENTITY % Pixels "CDATA">

-    <!-- integer representing length in pixels -->

-

-<!-- these are used for image maps -->

-

-<!ENTITY % Shape "(rect|circle|poly|default)">

-

-<!ENTITY % Coords "CDATA">

-    <!-- comma separated list of lengths -->

-

-<!-- used for object, applet, img, input and iframe -->

-<!ENTITY % ImgAlign "(top|middle|bottom|left|right)">

-

-<!-- a color using sRGB: #RRGGBB as Hex values -->

-<!ENTITY % Color "CDATA">

-

-<!-- There are also 16 widely known color names with their sRGB values:

-

-    Black  = #000000    Green  = #008000

-    Silver = #C0C0C0    Lime   = #00FF00

-    Gray   = #808080    Olive  = #808000

-    White  = #FFFFFF    Yellow = #FFFF00

-    Maroon = #800000    Navy   = #000080

-    Red    = #FF0000    Blue   = #0000FF

-    Purple = #800080    Teal   = #008080

-    Fuchsia= #FF00FF    Aqua   = #00FFFF

--->

-

-<!--=================== Generic Attributes ===============================-->

-

-<!-- core attributes common to most elements

-  id       document-wide unique id

-  class    space separated list of classes

-  style    associated style info

-  title    advisory title/amplification

--->

-<!ENTITY % coreattrs

- "id          ID             #IMPLIED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED"

-  >

-

-<!-- internationalization attributes

-  lang        language code (backwards compatible)

-  xml:lang    language code (as per XML 1.0 spec)

-  dir         direction for weak/neutral text

--->

-<!ENTITY % i18n

- "lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #IMPLIED"

-  >

-

-<!-- attributes for common UI events

-  onclick     a pointer button was clicked

-  ondblclick  a pointer button was double clicked

-  onmousedown a pointer button was pressed down

-  onmouseup   a pointer button was released

-  onmousemove a pointer was moved onto the element

-  onmouseout  a pointer was moved away from the element

-  onkeypress  a key was pressed and released

-  onkeydown   a key was pressed down

-  onkeyup     a key was released

--->

-<!ENTITY % events

- "onclick     %Script;       #IMPLIED

-  ondblclick  %Script;       #IMPLIED

-  onmousedown %Script;       #IMPLIED

-  onmouseup   %Script;       #IMPLIED

-  onmouseover %Script;       #IMPLIED

-  onmousemove %Script;       #IMPLIED

-  onmouseout  %Script;       #IMPLIED

-  onkeypress  %Script;       #IMPLIED

-  onkeydown   %Script;       #IMPLIED

-  onkeyup     %Script;       #IMPLIED"

-  >

-

-<!-- attributes for elements that can get the focus

-  accesskey   accessibility key character

-  tabindex    position in tabbing order

-  onfocus     the element got the focus

-  onblur      the element lost the focus

--->

-<!ENTITY % focus

- "accesskey   %Character;    #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED"

-  >

-

-<!ENTITY % attrs "%coreattrs; %i18n; %events;">

-

-<!-- text alignment for p, div, h1-h6. The default is

-     align="left" for ltr headings, "right" for rtl -->

-

-<!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">

-

-<!--=================== Text Elements ====================================-->

-

-<!ENTITY % special.extra

-   "object | applet | img | map | iframe">

-	

-<!ENTITY % special.basic

-	"br | span | bdo">

-

-<!ENTITY % special

-   "%special.basic; | %special.extra;">

-

-<!ENTITY % fontstyle.extra "big | small | font | basefont">

-

-<!ENTITY % fontstyle.basic "tt | i | b | u

-                      | s | strike ">

-

-<!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">

-

-<!ENTITY % phrase.extra "sub | sup">

-<!ENTITY % phrase.basic "em | strong | dfn | code | q |

-                   samp | kbd | var | cite | abbr | acronym">

-

-<!ENTITY % phrase "%phrase.basic; | %phrase.extra;">

-

-<!ENTITY % inline.forms "input | select | textarea | label | button">

-

-<!-- these can occur at block or inline level -->

-<!ENTITY % misc.inline "ins | del | script">

-

-<!-- these can only occur at block level -->

-<!ENTITY % misc "noscript | %misc.inline;">

-

-<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">

-

-<!-- %Inline; covers inline or "text-level" elements -->

-<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">

-

-<!--================== Block level elements ==============================-->

-

-<!ENTITY % heading "h1|h2|h3|h4|h5|h6">

-<!ENTITY % lists "ul | ol | dl | menu | dir">

-<!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">

-

-<!ENTITY % block

-    "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">

-

-<!-- %Flow; mixes block and inline and is used for list items etc. -->

-<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">

-

-<!--================== Content models for exclusions =====================-->

-

-<!-- a elements use %Inline; excluding a -->

-

-<!ENTITY % a.content

-   "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*">

-

-<!-- pre uses %Inline excluding img, object, applet, big, small,

-     font, or basefont -->

-

-<!ENTITY % pre.content

-   "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |

-	   %inline.forms; | %misc.inline;)*">

-

-<!-- form uses %Flow; excluding form -->

-

-<!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">

-

-<!-- button uses %Flow; but excludes a, form, form controls, iframe -->

-

-<!ENTITY % button.content

-   "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |

-      table | br | span | bdo | object | applet | img | map |

-      %fontstyle; | %phrase; | %misc;)*">

-

-<!--================ Document Structure ==================================-->

-

-<!-- the namespace URI designates the document profile -->

-

-<!ELEMENT html (head, body)>

-<!ATTLIST html

-  %i18n;

-  id          ID             #IMPLIED

-  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'

-  >

-

-<!--================ Document Head =======================================-->

-

-<!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">

-

-<!-- content model is %head.misc; combined with a single

-     title and an optional base element in any order -->

-

-<!ELEMENT head (%head.misc;,

-     ((title, %head.misc;, (base, %head.misc;)?) |

-      (base, %head.misc;, (title, %head.misc;))))>

-

-<!ATTLIST head

-  %i18n;

-  id          ID             #IMPLIED

-  profile     %URI;          #IMPLIED

-  >

-

-<!-- The title element is not considered part of the flow of text.

-       It should be displayed, for example as the page header or

-       window title. Exactly one title is required per document.

-    -->

-<!ELEMENT title (#PCDATA)>

-<!ATTLIST title 

-  %i18n;

-  id          ID             #IMPLIED

-  >

-

-<!-- document base URI -->

-

-<!ELEMENT base EMPTY>

-<!ATTLIST base

-  id          ID             #IMPLIED

-  href        %URI;          #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!-- generic metainformation -->

-<!ELEMENT meta EMPTY>

-<!ATTLIST meta

-  %i18n;

-  id          ID             #IMPLIED

-  http-equiv  CDATA          #IMPLIED

-  name        CDATA          #IMPLIED

-  content     CDATA          #REQUIRED

-  scheme      CDATA          #IMPLIED

-  >

-

-<!--

-  Relationship values can be used in principle:

-

-   a) for document specific toolbars/menus when used

-      with the link element in document head e.g.

-        start, contents, previous, next, index, end, help

-   b) to link to a separate style sheet (rel="stylesheet")

-   c) to make a link to a script (rel="script")

-   d) by stylesheets to control how collections of

-      html nodes are rendered into printed documents

-   e) to make a link to a printable version of this document

-      e.g. a PostScript or PDF version (rel="alternate" media="print")

--->

-

-<!ELEMENT link EMPTY>

-<!ATTLIST link

-  %attrs;

-  charset     %Charset;      #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  type        %ContentType;  #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  media       %MediaDesc;    #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!-- style info, which may include CDATA sections -->

-<!ELEMENT style (#PCDATA)>

-<!ATTLIST style

-  %i18n;

-  id          ID             #IMPLIED

-  type        %ContentType;  #REQUIRED

-  media       %MediaDesc;    #IMPLIED

-  title       %Text;         #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- script statements, which may include CDATA sections -->

-<!ELEMENT script (#PCDATA)>

-<!ATTLIST script

-  id          ID             #IMPLIED

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #REQUIRED

-  language    CDATA          #IMPLIED

-  src         %URI;          #IMPLIED

-  defer       (defer)        #IMPLIED

-  xml:space   (preserve)     #FIXED 'preserve'

-  >

-

-<!-- alternate content container for non script-based rendering -->

-

-<!ELEMENT noscript %Flow;>

-<!ATTLIST noscript

-  %attrs;

-  >

-

-<!--======================= Frames =======================================-->

-

-<!-- inline subwindow -->

-

-<!ELEMENT iframe %Flow;>

-<!ATTLIST iframe

-  %coreattrs;

-  longdesc    %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  src         %URI;          #IMPLIED

-  frameborder (1|0)          "1"

-  marginwidth %Pixels;       #IMPLIED

-  marginheight %Pixels;      #IMPLIED

-  scrolling   (yes|no|auto)  "auto"

-  align       %ImgAlign;     #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  >

-

-<!-- alternate content container for non frame-based rendering -->

-

-<!ELEMENT noframes %Flow;>

-<!ATTLIST noframes

-  %attrs;

-  >

-

-<!--=================== Document Body ====================================-->

-

-<!ELEMENT body %Flow;>

-<!ATTLIST body

-  %attrs;

-  onload      %Script;       #IMPLIED

-  onunload    %Script;       #IMPLIED

-  background  %URI;          #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  text        %Color;        #IMPLIED

-  link        %Color;        #IMPLIED

-  vlink       %Color;        #IMPLIED

-  alink       %Color;        #IMPLIED

-  >

-

-<!ELEMENT div %Flow;>  <!-- generic language/style container -->

-<!ATTLIST div

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Paragraphs =======================================-->

-

-<!ELEMENT p %Inline;>

-<!ATTLIST p

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Headings =========================================-->

-

-<!--

-  There are six levels of headings from h1 (the most important)

-  to h6 (the least important).

--->

-

-<!ELEMENT h1  %Inline;>

-<!ATTLIST h1

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h2 %Inline;>

-<!ATTLIST h2

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h3 %Inline;>

-<!ATTLIST h3

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h4 %Inline;>

-<!ATTLIST h4

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h5 %Inline;>

-<!ATTLIST h5

-  %attrs;

-  %TextAlign;

-  >

-

-<!ELEMENT h6 %Inline;>

-<!ATTLIST h6

-  %attrs;

-  %TextAlign;

-  >

-

-<!--=================== Lists ============================================-->

-

-<!-- Unordered list bullet styles -->

-

-<!ENTITY % ULStyle "(disc|square|circle)">

-

-<!-- Unordered list -->

-

-<!ELEMENT ul (li)+>

-<!ATTLIST ul

-  %attrs;

-  type        %ULStyle;     #IMPLIED

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- Ordered list numbering style

-

-    1   arabic numbers      1, 2, 3, ...

-    a   lower alpha         a, b, c, ...

-    A   upper alpha         A, B, C, ...

-    i   lower roman         i, ii, iii, ...

-    I   upper roman         I, II, III, ...

-

-    The style is applied to the sequence number which by default

-    is reset to 1 for the first list item in an ordered list.

--->

-<!ENTITY % OLStyle "CDATA">

-

-<!-- Ordered (numbered) list -->

-

-<!ELEMENT ol (li)+>

-<!ATTLIST ol

-  %attrs;

-  type        %OLStyle;      #IMPLIED

-  compact     (compact)      #IMPLIED

-  start       %Number;       #IMPLIED

-  >

-

-<!-- single column list (DEPRECATED) --> 

-<!ELEMENT menu (li)+>

-<!ATTLIST menu

-  %attrs;

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- multiple column list (DEPRECATED) --> 

-<!ELEMENT dir (li)+>

-<!ATTLIST dir

-  %attrs;

-  compact     (compact)     #IMPLIED

-  >

-

-<!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->

-<!ENTITY % LIStyle "CDATA">

-

-<!-- list item -->

-

-<!ELEMENT li %Flow;>

-<!ATTLIST li

-  %attrs;

-  type        %LIStyle;      #IMPLIED

-  value       %Number;       #IMPLIED

-  >

-

-<!-- definition lists - dt for term, dd for its definition -->

-

-<!ELEMENT dl (dt|dd)+>

-<!ATTLIST dl

-  %attrs;

-  compact     (compact)      #IMPLIED

-  >

-

-<!ELEMENT dt %Inline;>

-<!ATTLIST dt

-  %attrs;

-  >

-

-<!ELEMENT dd %Flow;>

-<!ATTLIST dd

-  %attrs;

-  >

-

-<!--=================== Address ==========================================-->

-

-<!-- information on author -->

-

-<!ELEMENT address (#PCDATA | %inline; | %misc.inline; | p)*>

-<!ATTLIST address

-  %attrs;

-  >

-

-<!--=================== Horizontal Rule ==================================-->

-

-<!ELEMENT hr EMPTY>

-<!ATTLIST hr

-  %attrs;

-  align       (left|center|right) #IMPLIED

-  noshade     (noshade)      #IMPLIED

-  size        %Pixels;       #IMPLIED

-  width       %Length;       #IMPLIED

-  >

-

-<!--=================== Preformatted Text ================================-->

-

-<!-- content is %Inline; excluding 

-        "img|object|applet|big|small|sub|sup|font|basefont" -->

-

-<!ELEMENT pre %pre.content;>

-<!ATTLIST pre

-  %attrs;

-  width       %Number;      #IMPLIED

-  xml:space   (preserve)    #FIXED 'preserve'

-  >

-

-<!--=================== Block-like Quotes ================================-->

-

-<!ELEMENT blockquote %Flow;>

-<!ATTLIST blockquote

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!--=================== Text alignment ===================================-->

-

-<!-- center content -->

-<!ELEMENT center %Flow;>

-<!ATTLIST center

-  %attrs;

-  >

-

-<!--=================== Inserted/Deleted Text ============================-->

-

-<!--

-  ins/del are allowed in block and inline content, but its

-  inappropriate to include block content within an ins element

-  occurring in inline content.

--->

-<!ELEMENT ins %Flow;>

-<!ATTLIST ins

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!ELEMENT del %Flow;>

-<!ATTLIST del

-  %attrs;

-  cite        %URI;          #IMPLIED

-  datetime    %Datetime;     #IMPLIED

-  >

-

-<!--================== The Anchor Element ================================-->

-

-<!-- content is %Inline; except that anchors shouldn't be nested -->

-

-<!ELEMENT a %a.content;>

-<!ATTLIST a

-  %attrs;

-  %focus;

-  charset     %Charset;      #IMPLIED

-  type        %ContentType;  #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  href        %URI;          #IMPLIED

-  hreflang    %LanguageCode; #IMPLIED

-  rel         %LinkTypes;    #IMPLIED

-  rev         %LinkTypes;    #IMPLIED

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--===================== Inline Elements ================================-->

-

-<!ELEMENT span %Inline;> <!-- generic language/style container -->

-<!ATTLIST span

-  %attrs;

-  >

-

-<!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->

-<!ATTLIST bdo

-  %coreattrs;

-  %events;

-  lang        %LanguageCode; #IMPLIED

-  xml:lang    %LanguageCode; #IMPLIED

-  dir         (ltr|rtl)      #REQUIRED

-  >

-

-<!ELEMENT br EMPTY>   <!-- forced line break -->

-<!ATTLIST br

-  %coreattrs;

-  clear       (left|all|right|none) "none"

-  >

-

-<!ELEMENT em %Inline;>   <!-- emphasis -->

-<!ATTLIST em %attrs;>

-

-<!ELEMENT strong %Inline;>   <!-- strong emphasis -->

-<!ATTLIST strong %attrs;>

-

-<!ELEMENT dfn %Inline;>   <!-- definitional -->

-<!ATTLIST dfn %attrs;>

-

-<!ELEMENT code %Inline;>   <!-- program code -->

-<!ATTLIST code %attrs;>

-

-<!ELEMENT samp %Inline;>   <!-- sample -->

-<!ATTLIST samp %attrs;>

-

-<!ELEMENT kbd %Inline;>  <!-- something user would type -->

-<!ATTLIST kbd %attrs;>

-

-<!ELEMENT var %Inline;>   <!-- variable -->

-<!ATTLIST var %attrs;>

-

-<!ELEMENT cite %Inline;>   <!-- citation -->

-<!ATTLIST cite %attrs;>

-

-<!ELEMENT abbr %Inline;>   <!-- abbreviation -->

-<!ATTLIST abbr %attrs;>

-

-<!ELEMENT acronym %Inline;>   <!-- acronym -->

-<!ATTLIST acronym %attrs;>

-

-<!ELEMENT q %Inline;>   <!-- inlined quote -->

-<!ATTLIST q

-  %attrs;

-  cite        %URI;          #IMPLIED

-  >

-

-<!ELEMENT sub %Inline;> <!-- subscript -->

-<!ATTLIST sub %attrs;>

-

-<!ELEMENT sup %Inline;> <!-- superscript -->

-<!ATTLIST sup %attrs;>

-

-<!ELEMENT tt %Inline;>   <!-- fixed pitch font -->

-<!ATTLIST tt %attrs;>

-

-<!ELEMENT i %Inline;>   <!-- italic font -->

-<!ATTLIST i %attrs;>

-

-<!ELEMENT b %Inline;>   <!-- bold font -->

-<!ATTLIST b %attrs;>

-

-<!ELEMENT big %Inline;>   <!-- bigger font -->

-<!ATTLIST big %attrs;>

-

-<!ELEMENT small %Inline;>   <!-- smaller font -->

-<!ATTLIST small %attrs;>

-

-<!ELEMENT u %Inline;>   <!-- underline -->

-<!ATTLIST u %attrs;>

-

-<!ELEMENT s %Inline;>   <!-- strike-through -->

-<!ATTLIST s %attrs;>

-

-<!ELEMENT strike %Inline;>   <!-- strike-through -->

-<!ATTLIST strike %attrs;>

-

-<!ELEMENT basefont EMPTY>  <!-- base font size -->

-<!ATTLIST basefont

-  id          ID             #IMPLIED

-  size        CDATA          #REQUIRED

-  color       %Color;        #IMPLIED

-  face        CDATA          #IMPLIED

-  >

-

-<!ELEMENT font %Inline;> <!-- local change to font -->

-<!ATTLIST font

-  %coreattrs;

-  %i18n;

-  size        CDATA          #IMPLIED

-  color       %Color;        #IMPLIED

-  face        CDATA          #IMPLIED

-  >

-

-<!--==================== Object ======================================-->

-<!--

-  object is used to embed objects as part of HTML pages.

-  param elements should precede other content. Parameters

-  can also be expressed as attribute/value pairs on the

-  object element itself when brevity is desired.

--->

-

-<!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>

-<!ATTLIST object

-  %attrs;

-  declare     (declare)      #IMPLIED

-  classid     %URI;          #IMPLIED

-  codebase    %URI;          #IMPLIED

-  data        %URI;          #IMPLIED

-  type        %ContentType;  #IMPLIED

-  codetype    %ContentType;  #IMPLIED

-  archive     %UriList;      #IMPLIED

-  standby     %Text;         #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  border      %Pixels;       #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!--

-  param is used to supply a named property value.

-  In XML it would seem natural to follow RDF and support an

-  abbreviated syntax where the param elements are replaced

-  by attribute value pairs on the object start tag.

--->

-<!ELEMENT param EMPTY>

-<!ATTLIST param

-  id          ID             #IMPLIED

-  name        CDATA          #REQUIRED

-  value       CDATA          #IMPLIED

-  valuetype   (data|ref|object) "data"

-  type        %ContentType;  #IMPLIED

-  >

-

-<!--=================== Java applet ==================================-->

-<!--

-  One of code or object attributes must be present.

-  Place param elements before other content.

--->

-<!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>

-<!ATTLIST applet

-  %coreattrs;

-  codebase    %URI;          #IMPLIED

-  archive     CDATA          #IMPLIED

-  code        CDATA          #IMPLIED

-  object      CDATA          #IMPLIED

-  alt         %Text;         #IMPLIED

-  name        NMTOKEN        #IMPLIED

-  width       %Length;       #REQUIRED

-  height      %Length;       #REQUIRED

-  align       %ImgAlign;     #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!--=================== Images ===========================================-->

-

-<!--

-   To avoid accessibility problems for people who aren't

-   able to see the image, you should provide a text

-   description using the alt and longdesc attributes.

-   In addition, avoid the use of server-side image maps.

--->

-

-<!ELEMENT img EMPTY>

-<!ATTLIST img

-  %attrs;

-  src         %URI;          #REQUIRED

-  alt         %Text;         #REQUIRED

-  name        NMTOKEN        #IMPLIED

-  longdesc    %URI;          #IMPLIED

-  height      %Length;       #IMPLIED

-  width       %Length;       #IMPLIED

-  usemap      %URI;          #IMPLIED

-  ismap       (ismap)        #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  border      %Length;       #IMPLIED

-  hspace      %Pixels;       #IMPLIED

-  vspace      %Pixels;       #IMPLIED

-  >

-

-<!-- usemap points to a map element which may be in this document

-  or an external document, although the latter is not widely supported -->

-

-<!--================== Client-side image maps ============================-->

-

-<!-- These can be placed in the same document or grouped in a

-     separate document although this isn't yet widely supported -->

-

-<!ELEMENT map ((%block; | form | %misc;)+ | area+)>

-<!ATTLIST map

-  %i18n;

-  %events;

-  id          ID             #REQUIRED

-  class       CDATA          #IMPLIED

-  style       %StyleSheet;   #IMPLIED

-  title       %Text;         #IMPLIED

-  name        CDATA          #IMPLIED

-  >

-

-<!ELEMENT area EMPTY>

-<!ATTLIST area

-  %attrs;

-  %focus;

-  shape       %Shape;        "rect"

-  coords      %Coords;       #IMPLIED

-  href        %URI;          #IMPLIED

-  nohref      (nohref)       #IMPLIED

-  alt         %Text;         #REQUIRED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--================ Forms ===============================================-->

-

-<!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->

-

-<!ATTLIST form

-  %attrs;

-  action      %URI;          #REQUIRED

-  method      (get|post)     "get"

-  name        NMTOKEN        #IMPLIED

-  enctype     %ContentType;  "application/x-www-form-urlencoded"

-  onsubmit    %Script;       #IMPLIED

-  onreset     %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  accept-charset %Charsets;  #IMPLIED

-  target      %FrameTarget;  #IMPLIED

-  >

-

-<!--

-  Each label must not contain more than ONE field

-  Label elements shouldn't be nested.

--->

-<!ELEMENT label %Inline;>

-<!ATTLIST label

-  %attrs;

-  for         IDREF          #IMPLIED

-  accesskey   %Character;    #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  >

-

-<!ENTITY % InputType

-  "(text | password | checkbox |

-    radio | submit | reset |

-    file | hidden | image | button)"

-   >

-

-<!-- the name attribute is required for all but submit & reset -->

-

-<!ELEMENT input EMPTY>     <!-- form control -->

-<!ATTLIST input

-  %attrs;

-  %focus;

-  type        %InputType;    "text"

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  checked     (checked)      #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  size        CDATA          #IMPLIED

-  maxlength   %Number;       #IMPLIED

-  src         %URI;          #IMPLIED

-  alt         CDATA          #IMPLIED

-  usemap      %URI;          #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  accept      %ContentTypes; #IMPLIED

-  align       %ImgAlign;     #IMPLIED

-  >

-

-<!ELEMENT select (optgroup|option)+>  <!-- option selector -->

-<!ATTLIST select

-  %attrs;

-  name        CDATA          #IMPLIED

-  size        %Number;       #IMPLIED

-  multiple    (multiple)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  tabindex    %Number;       #IMPLIED

-  onfocus     %Script;       #IMPLIED

-  onblur      %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!ELEMENT optgroup (option)+>   <!-- option group -->

-<!ATTLIST optgroup

-  %attrs;

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #REQUIRED

-  >

-

-<!ELEMENT option (#PCDATA)>     <!-- selectable choice -->

-<!ATTLIST option

-  %attrs;

-  selected    (selected)     #IMPLIED

-  disabled    (disabled)     #IMPLIED

-  label       %Text;         #IMPLIED

-  value       CDATA          #IMPLIED

-  >

-

-<!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->

-<!ATTLIST textarea

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  rows        %Number;       #REQUIRED

-  cols        %Number;       #REQUIRED

-  disabled    (disabled)     #IMPLIED

-  readonly    (readonly)     #IMPLIED

-  onselect    %Script;       #IMPLIED

-  onchange    %Script;       #IMPLIED

-  >

-

-<!--

-  The fieldset element is used to group form fields.

-  Only one legend element should occur in the content

-  and if present should only be preceded by whitespace.

--->

-<!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>

-<!ATTLIST fieldset

-  %attrs;

-  >

-

-<!ENTITY % LAlign "(top|bottom|left|right)">

-

-<!ELEMENT legend %Inline;>     <!-- fieldset label -->

-<!ATTLIST legend

-  %attrs;

-  accesskey   %Character;    #IMPLIED

-  align       %LAlign;       #IMPLIED

-  >

-

-<!--

- Content is %Flow; excluding a, form, form controls, iframe

---> 

-<!ELEMENT button %button.content;>  <!-- push button -->

-<!ATTLIST button

-  %attrs;

-  %focus;

-  name        CDATA          #IMPLIED

-  value       CDATA          #IMPLIED

-  type        (button|submit|reset) "submit"

-  disabled    (disabled)     #IMPLIED

-  >

-

-<!-- single-line text input control (DEPRECATED) -->

-<!ELEMENT isindex EMPTY>

-<!ATTLIST isindex

-  %coreattrs;

-  %i18n;

-  prompt      %Text;         #IMPLIED

-  >

-

-<!--======================= Tables =======================================-->

-

-<!-- Derived from IETF HTML table standard, see [RFC1942] -->

-

-<!--

- The border attribute sets the thickness of the frame around the

- table. The default units are screen pixels.

-

- The frame attribute specifies which parts of the frame around

- the table should be rendered. The values are not the same as

- CALS to avoid a name clash with the valign attribute.

--->

-<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">

-

-<!--

- The rules attribute defines which rules to draw between cells:

-

- If rules is absent then assume:

-     "none" if border is absent or border="0" otherwise "all"

--->

-

-<!ENTITY % TRules "(none | groups | rows | cols | all)">

-  

-<!-- horizontal placement of table relative to document -->

-<!ENTITY % TAlign "(left|center|right)">

-

-<!-- horizontal alignment attributes for cell contents

-

-  char        alignment char, e.g. char=':'

-  charoff     offset for alignment char

--->

-<!ENTITY % cellhalign

-  "align      (left|center|right|justify|char) #IMPLIED

-   char       %Character;    #IMPLIED

-   charoff    %Length;       #IMPLIED"

-  >

-

-<!-- vertical alignment attributes for cell contents -->

-<!ENTITY % cellvalign

-  "valign     (top|middle|bottom|baseline) #IMPLIED"

-  >

-

-<!ELEMENT table

-     (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>

-<!ELEMENT caption  %Inline;>

-<!ELEMENT thead    (tr)+>

-<!ELEMENT tfoot    (tr)+>

-<!ELEMENT tbody    (tr)+>

-<!ELEMENT colgroup (col)*>

-<!ELEMENT col      EMPTY>

-<!ELEMENT tr       (th|td)+>

-<!ELEMENT th       %Flow;>

-<!ELEMENT td       %Flow;>

-

-<!ATTLIST table

-  %attrs;

-  summary     %Text;         #IMPLIED

-  width       %Length;       #IMPLIED

-  border      %Pixels;       #IMPLIED

-  frame       %TFrame;       #IMPLIED

-  rules       %TRules;       #IMPLIED

-  cellspacing %Length;       #IMPLIED

-  cellpadding %Length;       #IMPLIED

-  align       %TAlign;       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  >

-

-<!ENTITY % CAlign "(top|bottom|left|right)">

-

-<!ATTLIST caption

-  %attrs;

-  align       %CAlign;       #IMPLIED

-  >

-

-<!--

-colgroup groups a set of col elements. It allows you to group

-several semantically related columns together.

--->

-<!ATTLIST colgroup

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

- col elements define the alignment properties for cells in

- one or more columns.

-

- The width attribute specifies the width of the columns, e.g.

-

-     width=64        width in screen pixels

-     width=0.5*      relative width of 0.5

-

- The span attribute causes the attributes of one

- col element to apply to more than one column.

--->

-<!ATTLIST col

-  %attrs;

-  span        %Number;       "1"

-  width       %MultiLength;  #IMPLIED

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!--

-    Use thead to duplicate headers when breaking table

-    across page boundaries, or for static headers when

-    tbody sections are rendered in scrolling panel.

-

-    Use tfoot to duplicate footers when breaking table

-    across page boundaries, or for static footers when

-    tbody sections are rendered in scrolling panel.

-

-    Use multiple tbody sections when rules are needed

-    between groups of table rows.

--->

-<!ATTLIST thead

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tfoot

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tbody

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  >

-

-<!ATTLIST tr

-  %attrs;

-  %cellhalign;

-  %cellvalign;

-  bgcolor     %Color;        #IMPLIED

-  >

-

-<!-- Scope is simpler than headers attribute for common tables -->

-<!ENTITY % Scope "(row|col|rowgroup|colgroup)">

-

-<!-- th is for headers, td for data and for cells acting as both -->

-

-<!ATTLIST th

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  nowrap      (nowrap)       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  width       %Length;       #IMPLIED

-  height      %Length;       #IMPLIED

-  >

-

-<!ATTLIST td

-  %attrs;

-  abbr        %Text;         #IMPLIED

-  axis        CDATA          #IMPLIED

-  headers     IDREFS         #IMPLIED

-  scope       %Scope;        #IMPLIED

-  rowspan     %Number;       "1"

-  colspan     %Number;       "1"

-  %cellhalign;

-  %cellvalign;

-  nowrap      (nowrap)       #IMPLIED

-  bgcolor     %Color;        #IMPLIED

-  width       %Length;       #IMPLIED

-  height      %Length;       #IMPLIED

-  >

-

diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsd b/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsd
deleted file mode 100755
index ef5f02e..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsd
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Michael Kintzer (BEA Systems) -->

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-xmlns:po="http://xbean.interface_feature/averageCase/PurchaseOrder"

-targetNamespace="http://xbean.interface_feature/averageCase/PurchaseOrder"

-elementFormDefault="qualified"

->

-	<xsd:annotation>

-		<xsd:documentation xml:lang="en">

-   Purchase order schema for Example.com.

-   Copyright 2000 Example.com. All rights reserved.

-  </xsd:documentation>

-	</xsd:annotation>

-	<xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>

-	<xsd:element name="comment" type="xsd:string"/>

-	<xsd:complexType name="PurchaseOrderType">

-		<xsd:sequence>

-			<xsd:element name="shipTo" type="po:USAddress"/>

-			<xsd:element name="billTo" type="po:USAddress"/>

-			<xsd:element ref="po:comment" minOccurs="0"/>

-			<xsd:element name="items" type="po:Items"/>

-		</xsd:sequence>

-		<xsd:attribute name="orderDate" type="xsd:date"/>

-	</xsd:complexType>

-	<xsd:complexType name="USAddress">

-		<xsd:sequence>

-			<xsd:element name="name" type="xsd:string" nillable="true"/>

-			<xsd:element name="street" type="xsd:string"/>

-			<xsd:element name="city" type="xsd:string"/>

-			<xsd:element name="state" type="xsd:string"/>

-			<xsd:element name="zip" type="xsd:decimal"/>

-		</xsd:sequence>

-		<xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>

-	</xsd:complexType>

-	<xsd:complexType name="Items">

-		<xsd:sequence>

-			<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">

-				<xsd:complexType>

-					<xsd:sequence>

-						<xsd:element name="productName" type="xsd:string"/>

-						<xsd:element name="quantity">

-							<xsd:simpleType>

-								<xsd:restriction base="xsd:positiveInteger">

-									<xsd:maxExclusive value="100"/>

-								</xsd:restriction>

-							</xsd:simpleType>

-						</xsd:element>

-						<xsd:element name="USPrice" type="xsd:decimal"/>

-						<xsd:element ref="po:comment" minOccurs="0"/>

-						<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>

-					</xsd:sequence>

-					<xsd:attribute name="partNum" type="po:SKU" use="required"/>

-				</xsd:complexType>

-			</xsd:element>

-		</xsd:sequence>

-	</xsd:complexType>

-	<!-- Stock Keeping Unit, a code for identifying products -->

-	<xsd:simpleType name="SKU">

-		<xsd:restriction base="xsd:string">

-			<xsd:pattern value="\d{3}-[A-Z]{2}"/>

-		</xsd:restriction>

-	</xsd:simpleType>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsdconfig b/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsdconfig
deleted file mode 100755
index a0a36eb..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/averageCase/po.xsdconfig
+++ /dev/null
@@ -1,23 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.interfaceFeature.averageCase.existing.IFoo">

-            <xb:staticHandler>xmlobject.extensions.interfaceFeature.averageCase.existing.FooHandler</xb:staticHandler>

-        </xb:interface>

-       

-    </xb:extension>

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsd b/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsd
deleted file mode 100755
index b8db5f2..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsd
+++ /dev/null
@@ -1,38 +0,0 @@
-<!--this is schema company.xsd stripped down and modified to have a value restriction on the employees age-->

-

-<xsd:schema 

-targetNamespace="interfaceFeature/xbean/methodNameCollision/company" 

-xmlns:xsd="http://www.w3.org/2001/XMLSchema"

- xmlns:company="interfaceFeature/xbean/methodNameCollision/company">

-	<xsd:element name="company" type="company:CompanyType"/>

-	<xsd:complexType name="CompanyType">

-		<xsd:sequence>

-			<xsd:element name="departments" type="company:DepartmentType" maxOccurs="unbounded"/>

-		</xsd:sequence>

-		

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	</xsd:complexType>

-	<xsd:element name="department" type="company:DepartmentType"/>

-	<xsd:complexType name="DepartmentType">

-		<xsd:sequence>

-			<xsd:element name="consultant" type="company:ConsultantType" maxOccurs="unbounded"/>

-		</xsd:sequence>

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	</xsd:complexType>

-	<xsd:complexType name="ConsultantType">

-		

-		<xsd:attribute name="name" type="xsd:string"/>

-	      <xsd:attribute name="age" type="company:age"/>

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	   

-	</xsd:complexType>

-

-	

-               <xsd:simpleType name="age">

-                  <xsd:restriction base="xsd:integer">

-                         <xsd:minInclusive value="0"/>

-                         <xsd:maxInclusive value="100"/>

-                  </xsd:restriction>

-               </xsd:simpleType>

-   

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsdconfig b/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsdconfig
deleted file mode 100755
index 12da20e..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/methodNameCollision/company.xsdconfig
+++ /dev/null
@@ -1,23 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.interfaceFeature.methodNameCollision.existing.IFoo">

-            <xb:staticHandler>xmlobject.extensions.interfaceFeature.methodNameCollision.existing.FooHandler</xb:staticHandler>

-        </xb:interface>  

-   </xb:extension> 

-

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsd b/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsd
deleted file mode 100755
index a15ec49..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsd
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Michael Kintzer (BEA Systems) -->

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-xmlns:po="http://xbean.interface_feature/multInterfaces/PurchaseOrder"

-targetNamespace="http://xbean.interface_feature/multInterfaces/PurchaseOrder"

-elementFormDefault="qualified"

->

-	<xsd:annotation>

-		<xsd:documentation xml:lang="en">

-   Purchase order schema for Example.com.

-   Copyright 2000 Example.com. All rights reserved.

-  </xsd:documentation>

-	</xsd:annotation>

-	<xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>

-	<xsd:element name="comment" type="xsd:string"/>

-	<xsd:complexType name="PurchaseOrderType">

-		<xsd:sequence>

-			<xsd:element name="shipTo" type="po:USAddress"/>

-			<xsd:element name="billTo" type="po:USAddress"/>

-			<xsd:element ref="po:comment" minOccurs="0"/>

-			<xsd:element name="items" type="po:Items"/>

-		</xsd:sequence>

-		<xsd:attribute name="orderDate" type="xsd:date"/>

-	</xsd:complexType>

-	<xsd:complexType name="USAddress">

-		<xsd:sequence>

-			<xsd:element name="name" type="xsd:string" nillable="true"/>

-			<xsd:element name="street" type="xsd:string"/>

-			<xsd:element name="city" type="xsd:string"/>

-			<xsd:element name="state" type="xsd:string"/>

-			<xsd:element name="zip" type="xsd:decimal"/>

-		</xsd:sequence>

-		<xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>

-	</xsd:complexType>

-	<xsd:complexType name="Items">

-		<xsd:sequence>

-			<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">

-				<xsd:complexType>

-					<xsd:sequence>

-						<xsd:element name="productName" type="xsd:string"/>

-						<xsd:element name="quantity">

-							<xsd:simpleType>

-								<xsd:restriction base="xsd:positiveInteger">

-									<xsd:maxExclusive value="100"/>

-								</xsd:restriction>

-							</xsd:simpleType>

-						</xsd:element>

-						<xsd:element name="USPrice" type="xsd:decimal" fixed="30" />

-						<xsd:element ref="po:comment" minOccurs="0"/>

-						<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>

-					</xsd:sequence>

-					<xsd:attribute name="partNum" type="po:SKU" use="required"/>

-				</xsd:complexType>

-			</xsd:element>

-		</xsd:sequence>

-	</xsd:complexType>

-	<!-- Stock Keeping Unit, a code for identifying products -->

-	<xsd:simpleType name="SKU">

-		<xsd:restriction base="xsd:string">

-			<xsd:pattern value="\d{3}-[A-Z]{2}"/>

-		</xsd:restriction>

-	</xsd:simpleType>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsdconfig b/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsdconfig
deleted file mode 100755
index a1a3ad6..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/multInterfaces/po.xsdconfig
+++ /dev/null
@@ -1,23 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.interfaceFeature.multInterfaces.existing.IReport">

-            <xb:staticHandler>xmlobject.extensions.interfaceFeature.multInterfaces.existing.ReportHandler</xb:staticHandler>

-        </xb:interface>

-

-    </xb:extension>

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsd b/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsd
deleted file mode 100755
index 1cd9a61..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsd
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Michael Kintzer (BEA Systems) -->

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-xmlns:po="http://xbean.interface_feature/readOnlyBean/PurchaseOrder"

-targetNamespace="http://xbean.interface_feature/readOnlyBean/PurchaseOrder"

-elementFormDefault="qualified"

->

-	<xsd:annotation>

-		<xsd:documentation xml:lang="en">

-   Purchase order schema for Example.com.

-   Copyright 2000 Example.com. All rights reserved.

-  </xsd:documentation>

-	</xsd:annotation>

-	<xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>

-	<xsd:element name="comment" type="xsd:string"/>

-	<xsd:complexType name="PurchaseOrderType">

-		<xsd:sequence>

-			<xsd:element name="shipTo" type="po:USAddress"/>

-			<xsd:element name="billTo" type="po:USAddress"/>

-			<xsd:element ref="po:comment" minOccurs="0"/>

-			<xsd:element name="items" type="po:Items"/>

-		</xsd:sequence>

-		<xsd:attribute name="orderDate" type="xsd:date"/>

-	</xsd:complexType>

-	<xsd:complexType name="USAddress">

-		<xsd:sequence>

-			<xsd:element name="name" type="xsd:string" nillable="true"/>

-			<xsd:element name="street" type="xsd:string"/>

-			<xsd:element name="city" type="xsd:string"/>

-			<xsd:element name="state" type="xsd:string"/>

-			<xsd:element name="zip" type="xsd:decimal"/>

-		</xsd:sequence>

-		<xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>

-	</xsd:complexType>

-	<xsd:complexType name="Items">

-		<xsd:sequence>

-			<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">

-				<xsd:complexType>

-					<xsd:sequence>

-						<xsd:element name="productName" type="xsd:string"/>

-						<xsd:element name="quantity">

-							<xsd:simpleType>

-								<xsd:restriction base="xsd:positiveInteger">

-									<xsd:maxExclusive value="100"/>

-								</xsd:restriction>

-							</xsd:simpleType>

-						</xsd:element>

-						<xsd:element name="USPrice" type="xsd:decimal" fixed="30" />

-						<xsd:element ref="po:comment" minOccurs="0"/>

-						<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>

-					</xsd:sequence>

-					<xsd:attribute name="partNum" type="po:SKU" use="required"/>

-				</xsd:complexType>

-			</xsd:element>

-		</xsd:sequence>

-	</xsd:complexType>

-	<!-- Stock Keeping Unit, a code for identifying products -->

-	<xsd:simpleType name="SKU">

-		<xsd:restriction base="xsd:string">

-			<xsd:pattern value="\d{3}-[A-Z]{2}"/>

-		</xsd:restriction>

-	</xsd:simpleType>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsdconfig b/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsdconfig
deleted file mode 100755
index d86047f..0000000
--- a/v2/test/cases/xbean/extensions/interfaceFeature/readOnlyBean/po.xsdconfig
+++ /dev/null
@@ -1,23 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.interfaceFeature.readOnlyBean.existing.IFoo">

-            <xb:staticHandler>xmlobject.extensions.interfaceFeature.readOnlyBean.existing.FooHandler</xb:staticHandler>

-        </xb:interface>

-       

-    </xb:extension>

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsd b/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsd
deleted file mode 100755
index b2ae26e..0000000
--- a/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsd
+++ /dev/null
@@ -1,38 +0,0 @@
-<!--this is schema company.xsd stripped down and modified to have a value restriction on the employees age-->

-

-<xsd:schema 

-targetNamespace="http://xbean.prePostFeature/ValueRestriction/company" 

-xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

-xmlns:company="http://xbean.prePostFeature/ValueRestriction/company">

-	<xsd:element name="company" type="company:CompanyType"/>

-	<xsd:complexType name="CompanyType">

-		<xsd:sequence>

-			<xsd:element name="departments" type="company:DepartmentType" maxOccurs="unbounded"/>

-		</xsd:sequence>

-		

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	</xsd:complexType>

-	<xsd:element name="department" type="company:DepartmentType"/>

-	<xsd:complexType name="DepartmentType">

-		<xsd:sequence>

-			<xsd:element name="consultant" type="company:ConsultantType" maxOccurs="unbounded"/>

-		</xsd:sequence>

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	</xsd:complexType>

-	<xsd:complexType name="ConsultantType">

-		

-		<xsd:attribute name="name" type="xsd:string"/>

-	      <xsd:attribute name="age" type="company:age"/>

-		<xsd:anyAttribute namespace="http://www.omg.org/XMI" processContents="lax"/>

-	   

-	</xsd:complexType>

-

-	

-               <xsd:simpleType name="age">

-                  <xsd:restriction base="xsd:integer">

-                         <xsd:minInclusive value="0"/>

-                         <xsd:maxInclusive value="100"/>

-                  </xsd:restriction>

-               </xsd:simpleType>

-   

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsdconfig b/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsdconfig
deleted file mode 100755
index 20bf314..0000000
--- a/v2/test/cases/xbean/extensions/prePostFeature/ValueRestriction/company.xsdconfig
+++ /dev/null
@@ -1,26 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.prePostFeature.ValueRestriction.existing.ISetter">

-            <xb:staticHandler>xmlobject.extensions.prePostFeature.ValueRestriction.existing.SetterHandler</xb:staticHandler>

-        </xb:interface>  

-       <xb:prePostSet> 

-            <xb:staticHandler>xmlobject.extensions.prePostFeature.ValueRestriction.existing.SetterHandler</xb:staticHandler> 

-      </xb:prePostSet> 

-   </xb:extension> 

-

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsd b/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsd
deleted file mode 100755
index 580f003..0000000
--- a/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsd
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Michael Kintzer (BEA Systems) -->

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-xmlns:po="http://xbean.prePost_feature/readOnlyBean/PurchaseOrder"

-targetNamespace="http://xbean.prePost_feature/readOnlyBean/PurchaseOrder"

-elementFormDefault="qualified"

->

-	<xsd:annotation>

-		<xsd:documentation xml:lang="en">

-   Purchase order schema for Example.com.

-   Copyright 2000 Example.com. All rights reserved.

-  </xsd:documentation>

-	</xsd:annotation>

-	<xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>

-	<xsd:element name="comment" type="xsd:string"/>

-	<xsd:complexType name="PurchaseOrderType">

-		<xsd:sequence>

-			<xsd:element name="shipTo" type="po:USAddress"/>

-			<xsd:element name="billTo" type="po:USAddress"/>

-			<xsd:element ref="po:comment" minOccurs="0"/>

-			<xsd:element name="items" type="po:Items"/>

-		</xsd:sequence>

-		<xsd:attribute name="orderDate" type="xsd:date"/>

-	</xsd:complexType>

-	<xsd:complexType name="USAddress">

-		<xsd:sequence>

-			<xsd:element name="name" type="xsd:string" nillable="true"/>

-			<xsd:element name="street" type="xsd:string"/>

-			<xsd:element name="city" type="xsd:string"/>

-			<xsd:element name="state" type="xsd:string"/>

-			<xsd:element name="zip" type="xsd:decimal"/>

-		</xsd:sequence>

-		<xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>

-	</xsd:complexType>

-	<xsd:complexType name="Items">

-		<xsd:sequence>

-			<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">

-				<xsd:complexType>

-					<xsd:sequence>

-						<xsd:element name="productName" type="xsd:string"/>

-						<xsd:element name="quantity">

-							<xsd:simpleType>

-								<xsd:restriction base="xsd:positiveInteger">

-									<xsd:maxExclusive value="100"/>

-								</xsd:restriction>

-							</xsd:simpleType>

-						</xsd:element>

-						<xsd:element name="USPrice" type="xsd:decimal" fixed="30" />

-						<xsd:element ref="po:comment" minOccurs="0"/>

-						<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>

-					</xsd:sequence>

-					<xsd:attribute name="partNum" type="po:SKU" use="required"/>

-				</xsd:complexType>

-			</xsd:element>

-		</xsd:sequence>

-	</xsd:complexType>

-	<!-- Stock Keeping Unit, a code for identifying products -->

-	<xsd:simpleType name="SKU">

-		<xsd:restriction base="xsd:string">

-			<xsd:pattern value="\d{3}-[A-Z]{2}"/>

-		</xsd:restriction>

-	</xsd:simpleType>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsdconfig b/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsdconfig
deleted file mode 100755
index 5124027..0000000
--- a/v2/test/cases/xbean/extensions/prePostFeature/readOnlyBean/po.xsdconfig
+++ /dev/null
@@ -1,26 +0,0 @@
-<!-- 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. -->

-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">

-

-    <xb:extension for="*">

-        <xb:interface name="xmlobject.extensions.prePostFeature.readOnlyBean.existing.IFoo">

-            <xb:staticHandler>xmlobject.extensions.prePostFeature.readOnlyBean.existing.FooHandler</xb:staticHandler>

-        </xb:interface>  

-       <xb:prePostSet> 

-            <xb:staticHandler>xmlobject.extensions.prePostFeature.readOnlyBean.existing.FooHandler</xb:staticHandler> 

-      </xb:prePostSet> 

-   </xb:extension> 

-

-

-</xb:config>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/marshal/bigdoc.xml b/v2/test/cases/xbean/marshal/bigdoc.xml
deleted file mode 100755
index 4a07a88..0000000
--- a/v2/test/cases/xbean/marshal/bigdoc.xml
+++ /dev/null
@@ -1,1074 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>

-<n1:load xmlns:n1="java:com.mytest">

-    <n1:Myelt n1:Attrib="0.648205">

-        <n1:MyClass>

-            <n1:Myelt n1:Attrib="0.28567213">

-                <n1:MyClass>

-                    <n1:Myelt n1:Attrib="0.79491097">

-                        <n1:MyClass>

-                            <n1:Myelt n1:Attrib="0.57797414">

-                                <n1:MyClass>

-                                    <n1:Myelt n1:Attrib="0.9218471">

-                                        <n1:MyClass>

-                                            <n1:Myelt n1:Attrib="0.6202736">

-                                                <n1:MyClass>

-                                                    <n1:Myelt n1:Attrib="0.7441018">

-                                                        <n1:MyClass>

-                                                            <n1:Myelt n1:Attrib="0.707621">

-                                                                <n1:MyClass>

-                                                                    <n1:Myelt n1:Attrib="0.74691814">

-                                                                        <n1:MyClass>

-                                                                            <n1:Myelt n1:Attrib="0.57216936">

-                                                                                <n1:MyClass>

-                                                                                    <n1:Myatt>DEFAULT:400819271</n1:Myatt>

-                                                                                </n1:MyClass>

-                                                                                <n1:MyFloat>0.76264966</n1:MyFloat>

-                                                                                <n1:SomeBool>false</n1:SomeBool>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                            </n1:Myelt>

-                                                                            <n1:Myatt>STR576393577</n1:Myatt>

-                                                                        </n1:MyClass>

-                                                                        <n1:MyFloat>0.82180995</n1:MyFloat>

-                                                                        <n1:SomeBool>false</n1:SomeBool>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                                    </n1:Myelt>

-                                                                    <n1:Myatt>STR274877470</n1:Myatt>

-                                                                </n1:MyClass>

-                                                                <n1:MyFloat>0.8683306</n1:MyFloat>

-                                                                <n1:SomeBool>false</n1:SomeBool>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                            </n1:Myelt>

-                                                            <n1:Myatt>STR-57257484</n1:Myatt>

-                                                        </n1:MyClass>

-                                                        <n1:MyFloat>0.54219854</n1:MyFloat>

-                                                        <n1:SomeBool>false</n1:SomeBool>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                                    </n1:Myelt>

-                                                    <n1:Myatt>STR1446991062</n1:Myatt>

-                                                </n1:MyClass>

-                                                <n1:MyFloat>0.034398854</n1:MyFloat>

-                                                <n1:SomeBool>false</n1:SomeBool>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                                <n1:BooleanArray>false</n1:BooleanArray>

-                                                <n1:BooleanArray>true</n1:BooleanArray>

-                                            </n1:Myelt>

-                                            <n1:Myatt>STR-1438371183</n1:Myatt>

-                                        </n1:MyClass>

-                                        <n1:MyFloat>0.19682443</n1:MyFloat>

-                                        <n1:SomeBool>false</n1:SomeBool>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                        <n1:BooleanArray>false</n1:BooleanArray>

-                                        <n1:BooleanArray>true</n1:BooleanArray>

-                                    </n1:Myelt>

-                                    <n1:Myatt>STR1989310748</n1:Myatt>

-                                </n1:MyClass>

-                                <n1:MyFloat>0.69049966</n1:MyFloat>

-                                <n1:SomeBool>false</n1:SomeBool>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                                <n1:BooleanArray>false</n1:BooleanArray>

-                                <n1:BooleanArray>true</n1:BooleanArray>

-                            </n1:Myelt>

-                            <n1:Myatt>STR-1638819354</n1:Myatt>

-                        </n1:MyClass>

-                        <n1:MyFloat>0.294613</n1:MyFloat>

-                        <n1:SomeBool>false</n1:SomeBool>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                        <n1:BooleanArray>false</n1:BooleanArray>

-                        <n1:BooleanArray>true</n1:BooleanArray>

-                    </n1:Myelt>

-                    <n1:Myatt>STR-1155921250</n1:Myatt>

-                </n1:MyClass>

-                <n1:MyFloat>0.3266381</n1:MyFloat>

-                <n1:SomeBool>false</n1:SomeBool>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-                <n1:BooleanArray>false</n1:BooleanArray>

-                <n1:BooleanArray>true</n1:BooleanArray>

-            </n1:Myelt>

-            <n1:Myatt>STR-242457943</n1:Myatt>

-        </n1:MyClass>

-        <n1:MyFloat>0.45061284</n1:MyFloat>

-        <n1:SomeBool>false</n1:SomeBool>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-        <n1:BooleanArray>false</n1:BooleanArray>

-        <n1:BooleanArray>true</n1:BooleanArray>

-    </n1:Myelt>

-    <n1:Myatt>STR479887200</n1:Myatt>

-</n1:load>

diff --git a/v2/test/cases/xbean/marshal/com/mytest/IntEnum.java b/v2/test/cases/xbean/marshal/com/mytest/IntEnum.java
deleted file mode 100755
index 83ef020..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/IntEnum.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-

-import org.apache.xmlbeans.impl.util.XsTypeConverter;

-

-

-public class IntEnum

-    implements java.io.Serializable

-{

-

-    private int __value;

-

-    protected IntEnum(int value)

-    {

-        __value = value;

-    }

-

-    public static final int _value1 = 55;

-    public static final com.mytest.IntEnum value1 = new com.mytest.IntEnum(_value1);

-

-    public static final int _value2 = 33;

-    public static final com.mytest.IntEnum value2 = new com.mytest.IntEnum(_value2);

-

-    public static final int _value3 = 44;

-    public static final com.mytest.IntEnum value3 = new com.mytest.IntEnum(_value3);

-

-

-    // Gets the value for a enumerated value

-    public int getValue()

-    {

-        return __value;

-    }

-

-

-    // Gets enumeration with a specific value

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.IntEnum fromValue(int value)

-    {

-        switch (value) {

-            case _value1:

-                return value1;

-            case _value2:

-                return value2;

-            case _value3:

-                return value3;

-            default:

-                throw new java.lang.IllegalArgumentException(invalidValueMsg("" + value));

-        }

-

-    }

-

-    private static java.lang.String invalidValueMsg(java.lang.String value)

-    {

-        java.lang.String msg = "invalid enumeration value: " + value;

-        return msg;

-    }

-

-

-    // Gets enumeration from a String

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.IntEnum fromString(java.lang.String value)

-    {

-        int __tmp = XsTypeConverter.lexInt(value);

-        return fromValue(__tmp);

-    }

-

-

-    // Returns String representation of the enumerated value

-    public java.lang.String toString()

-    {

-        return java.lang.String.valueOf(__value);

-    }

-

-    public boolean equals(java.lang.Object obj)

-    {

-        if (obj instanceof com.mytest.IntEnum) {

-            int tmp_val = ((com.mytest.IntEnum)obj).getValue();

-            return (tmp_val == __value);

-

-        }

-        return false;

-    }

-

-

-    public int hashCode()

-    {

-        int __hash__result__ = 17;

-        __hash__result__ = 37 * __hash__result__ + __value;

-

-        return __hash__result__;

-    }

-

-    private java.lang.Object readResolve()

-        throws java.io.ObjectStreamException

-    {

-        return fromValue(__value);

-    }

-

-

-}

-

-

diff --git a/v2/test/cases/xbean/marshal/com/mytest/IntegerEnum.java b/v2/test/cases/xbean/marshal/com/mytest/IntegerEnum.java
deleted file mode 100755
index 18722b3..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/IntegerEnum.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-import org.apache.xmlbeans.impl.util.XsTypeConverter;

-

-public class IntegerEnum

-    implements java.io.Serializable

-{

-

-    private java.math.BigInteger __value;

-

-    protected IntegerEnum(java.math.BigInteger value)

-    {

-        __value = value;

-    }

-

-    public static final java.math.BigInteger _value1 = new java.math.BigInteger("333333333333333333333333");

-    public static final com.mytest.IntegerEnum value1 = new com.mytest.IntegerEnum(_value1);

-

-    public static final java.math.BigInteger _value2 = new java.math.BigInteger("44444444444444444444444");

-    public static final com.mytest.IntegerEnum value2 = new com.mytest.IntegerEnum(_value2);

-

-    public static final java.math.BigInteger _value3 = new java.math.BigInteger("55555555555555555555");

-    public static final com.mytest.IntegerEnum value3 = new com.mytest.IntegerEnum(_value3);

-

-

-    private static final java.util.Map _valueMap = _buildValueMap();

-

-

-    // Gets the value for a enumerated value

-    public java.math.BigInteger getValue()

-    {

-        return __value;

-    }

-

-

-    // Gets enumeration with a specific value

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.IntegerEnum fromValue(java.math.BigInteger value)

-    {

-        Object obj = _valueMap.get(value);

-        if (obj == null) {

-            java.lang.String msg = invalidValueMsg("" + value);

-            msg = msg + (" valmap=" + _valueMap);

-            throw new java.lang.IllegalArgumentException(msg);

-        }

-        return (com.mytest.IntegerEnum)obj;

-

-    }

-

-    private static java.lang.String invalidValueMsg(java.lang.String value)

-    {

-        java.lang.String msg = "invalid enumeration value: " + value;

-        return msg;

-    }

-

-

-    // Gets enumeration from a String

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.IntegerEnum fromString(java.lang.String value)

-    {

-        java.math.BigInteger __tmp = XsTypeConverter.lexInteger(value);

-        return fromValue(__tmp);

-    }

-

-

-    // Returns String representation of the enumerated value

-    public java.lang.String toString()

-    {

-        return java.lang.String.valueOf(__value);

-    }

-

-    public boolean equals(java.lang.Object obj)

-    {

-        if (obj instanceof com.mytest.IntegerEnum) {

-            java.math.BigInteger tmp_val = ((com.mytest.IntegerEnum)obj).getValue();

-            return tmp_val.equals(__value);

-

-        }

-        return false;

-    }

-

-

-    public int hashCode()

-    {

-        int __hash__result__ = 17;

-        __hash__result__ = 37 * __hash__result__ + (__value == null ? 0 : __value.hashCode());

-

-        return __hash__result__;

-    }

-

-    private java.lang.Object readResolve()

-        throws java.io.ObjectStreamException

-    {

-        return fromValue(__value);

-    }

-

-

-    private static java.util.Map _buildValueMap()

-    {

-        java.util.Map __valmap = new java.util.HashMap();

-

-        __valmap.put(_value1, value1);

-        __valmap.put(_value2, value2);

-        __valmap.put(_value3, value3);

-

-

-        return __valmap;

-    }

-

-

-}

-

-

diff --git a/v2/test/cases/xbean/marshal/com/mytest/ModeEnum.java b/v2/test/cases/xbean/marshal/com/mytest/ModeEnum.java
deleted file mode 100755
index 0102674..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/ModeEnum.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-

-

-public class ModeEnum

-    implements java.io.Serializable

-{

-

-    private java.lang.String __value;

-

-    protected ModeEnum(java.lang.String value)

-    {

-        __value = value;

-    }

-

-    public static final java.lang.String _Off = "Off";

-    public static final com.mytest.ModeEnum Off = new com.mytest.ModeEnum(_Off);

-

-    public static final java.lang.String _On = "On";

-    public static final com.mytest.ModeEnum On = new com.mytest.ModeEnum(_On);

-

-

-    private static final java.util.Map _valueMap = _buildValueMap();

-

-

-    // Gets the value for a enumerated value

-    public java.lang.String getValue()

-    {

-        return __value;

-    }

-

-

-    // Gets enumeration with a specific value

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.ModeEnum fromValue(java.lang.String value)

-    {

-        Object obj = _valueMap.get(value);

-        if (obj == null) {

-            java.lang.String msg = invalidValueMsg("" + value);

-            msg = msg + (" valmap=" + _valueMap);

-            throw new java.lang.IllegalArgumentException(msg);

-        }

-        return (com.mytest.ModeEnum)obj;

-

-    }

-

-    private static java.lang.String invalidValueMsg(java.lang.String value)

-    {

-        java.lang.String msg = "invalid enumeration value: " + value;

-        return msg;

-    }

-

-

-    // Gets enumeration from a String

-    // throws java.lang.IllegalArgumentException if

-    // any invalid value is specified

-    public static com.mytest.ModeEnum fromString(java.lang.String value)

-    {

-        return fromValue(value);

-    }

-

-

-    // Returns String representation of the enumerated value

-    public java.lang.String toString()

-    {

-        return java.lang.String.valueOf(__value);

-    }

-

-    public java.lang.String toXml() {

-        return toString();

-    }

-

-    public boolean equals(java.lang.Object obj)

-    {

-        if (obj instanceof com.mytest.ModeEnum) {

-            java.lang.String tmp_val = ((com.mytest.ModeEnum)obj).getValue();

-            return tmp_val.equals(__value);

-

-        }

-        return false;

-    }

-

-

-    public int hashCode()

-    {

-        int __hash__result__ = 17;

-        __hash__result__ = 37 * __hash__result__ + (__value == null ? 0 : __value.hashCode());

-

-        return __hash__result__;

-    }

-

-    private java.lang.Object readResolve()

-        throws java.io.ObjectStreamException

-    {

-        return fromValue(__value);

-    }

-

-

-    private static java.util.Map _buildValueMap()

-    {

-        java.util.Map __valmap = new java.util.HashMap();

-

-        __valmap.put(_Off, Off);

-        __valmap.put(_On, On);

-

-

-        return __valmap;

-    }

-

-

-}

-

-

diff --git a/v2/test/cases/xbean/marshal/com/mytest/MyClass.java b/v2/test/cases/xbean/marshal/com/mytest/MyClass.java
deleted file mode 100755
index 2371987..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/MyClass.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-/**

- *  @xsdgen:complexType.rootElement load

- */

-public class MyClass

-{

-

-

-    private YourClass myelt;

-    private String myatt = "DEFAULT:" + YourClass.RND.nextInt();

-

-

-    //generic factory

-    public Object createYourClass()

-    {

-        return new YourClass();

-    }

-

-

-    public YourClass getMyelt()

-    {

-        return myelt;

-    }

-

-    public void setMyelt(YourClass myelt)

-    {

-        this.myelt = myelt;

-    }

-

-    /**

-     *  @xsdgen:element.nillable true

-     */

-    public String getMyatt()

-    {

-        return myatt;

-    }

-

-    public void setMyatt(String myatt)

-    {

-        this.myatt = myatt;

-    }

-

-

-    public boolean equals(Object o)

-    {

-        if (this == o) return true;

-        if (!(o instanceof MyClass)) return false;

-

-        final MyClass myClass = (MyClass)o;

-

-        if (myatt != null ? !myatt.equals(myClass.myatt) : myClass.myatt != null) return false;

-        if (myelt != null ? !myelt.equals(myClass.myelt) : myClass.myelt != null) return false;

-

-        return true;

-    }

-

-    public int hashCode()

-    {

-        int result;

-        result = (myelt != null ? myelt.hashCode() : 0);

-        result = 29 * result + (myatt != null ? myatt.hashCode() : 0);

-        return result;

-    }

-

-    public String toString()

-    {

-        return "com.mytest.MyClass{" +

-            "myelt=" + myelt +

-            ", myatt='" + myatt + "'" +

-            "}";

-    }

-

-

-}

diff --git a/v2/test/cases/xbean/marshal/com/mytest/MyException.java b/v2/test/cases/xbean/marshal/com/mytest/MyException.java
deleted file mode 100755
index a45fcbd..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/MyException.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-public class MyException

-    extends Exception

-{

-    public MyException()

-    {

-    }

-

-    public MyException(String s)

-    {

-        super(s);

-    }

-

-    public MyException(String s, Throwable throwable)

-    {

-        super(s, throwable);

-    }

-

-    public MyException(Throwable throwable)

-    {

-        super(throwable);

-    }

-}

diff --git a/v2/test/cases/xbean/marshal/com/mytest/MySubClass.java b/v2/test/cases/xbean/marshal/com/mytest/MySubClass.java
deleted file mode 100755
index 45c3ef4..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/MySubClass.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-import java.math.BigInteger;

-

-public class MySubClass

-    extends MyClass

-{

-

-    private BigInteger bigInt;

-    private boolean issetBigInt;

-

-    public BigInteger getBigInt()

-    {

-        return bigInt;

-    }

-

-    public void setBigInt(BigInteger bigInt)

-    {

-        this.bigInt = bigInt;

-        setIsSetBigInt(bigInt != null);

-    }

-

-    public boolean isSetBigInt()

-    {

-        return issetBigInt;

-    }

-

-    public void setIsSetBigInt(boolean val)

-    {

-        issetBigInt = val;

-    }

-

-

-//    public String[][][][] quadStringArray = newQuadStringArray();

-    public String[][][][] quadStringArray = null;

-

-    public static String[][][][] newQuadStringArray()

-    {

-        String[][][][] qs = new String[2][3][4][5];

-        qs[1][1][1][1] = "1-1-1-1";

-        qs[1][1][2][3] = "1-1-2-3";

-        return qs;

-    }

-

-

-    public boolean equals(Object o)

-    {

-        if (this == o) return true;

-        if (!(o instanceof MySubClass)) return false;

-        if (!super.equals(o)) return false;

-

-        final MySubClass mySubClass = (MySubClass)o;

-

-        if (issetBigInt != mySubClass.issetBigInt) return false;

-        if (bigInt != null ? !bigInt.equals(mySubClass.bigInt) :

-            mySubClass.bigInt != null)

-            return false;

-

-        return true;

-    }

-

-    public int hashCode()

-    {

-        int result = super.hashCode();

-        result = 29 * result + (bigInt != null ? bigInt.hashCode() : 0);

-        result = 29 * result + (issetBigInt ? 1 : 0);

-        return result;

-    }

-

-    public String toString()

-    {

-        return "com.mytest.MySubClass{" +

-            "super=" + super.toString() +

-            "bigInt=" + bigInt +

-            ", issetBigInt=" + issetBigInt +

-            "}";

-    }

-

-}

diff --git a/v2/test/cases/xbean/marshal/com/mytest/MySubSubClass.java b/v2/test/cases/xbean/marshal/com/mytest/MySubSubClass.java
deleted file mode 100755
index 13068e4..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/MySubSubClass.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-public class MySubSubClass

-    extends MySubClass

-{

-    private String subsubname;

-

-    public String getSubsubname()

-    {

-        return subsubname;

-    }

-

-    public void setSubsubname(String subsubname)

-    {

-        this.subsubname = subsubname;

-    }

-

-    public boolean equals(Object o)

-    {

-        if (this == o) return true;

-        if (!(o instanceof MySubSubClass)) return false;

-        if (!super.equals(o)) return false;

-

-        final MySubSubClass mySubSubClass = (MySubSubClass)o;

-

-        if (subsubname != null ? !subsubname.equals(mySubSubClass.subsubname) :

-            mySubSubClass.subsubname != null)

-            return false;

-

-        return true;

-    }

-

-    public int hashCode()

-    {

-        int result = super.hashCode();

-        result = 29 * result + (subsubname != null ? subsubname.hashCode() : 0);

-        return result;

-    }

-

-    public String toString()

-    {

-        return "com.mytest.MySubSubClass{" +

-            "super=" + super.toString() + 

-            "subsubname='" + subsubname + "'" +

-            "}";

-    }

-

-

-}

diff --git a/v2/test/cases/xbean/marshal/com/mytest/SimpleContentExample.java b/v2/test/cases/xbean/marshal/com/mytest/SimpleContentExample.java
deleted file mode 100755
index 20994d3..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/SimpleContentExample.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*   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.

- */

-

-package com.mytest;

-

-public class SimpleContentExample

-{

-    private String simpleContent;

-

-    private float floatAttOne;

-

-

-    public String getSimpleContent()

-    {

-        return simpleContent;

-    }

-

-    public void setSimpleContent(String simpleContent)

-    {

-        this.simpleContent = simpleContent;

-    }

-

-    public float getFloatAttOne()

-    {

-        return floatAttOne;

-    }

-

-    public void setFloatAttOne(float floatAttOne)

-    {

-        this.floatAttOne = floatAttOne;

-    }

-

-    public boolean equals(Object o)

-    {

-        if (this == o) return true;

-        if (!(o instanceof SimpleContentExample)) return false;

-

-        final SimpleContentExample simpleContentExample = (SimpleContentExample)o;

-

-        if (floatAttOne != simpleContentExample.floatAttOne) return false;

-        if (simpleContent != null ? !simpleContent.equals(simpleContentExample.simpleContent) :

-            simpleContentExample.simpleContent != null)

-            return false;

-

-        return true;

-    }

-

-    public int hashCode()

-    {

-        int result;

-        result = (simpleContent != null ? simpleContent.hashCode() : 0);

-        result = 29 * result + Float.floatToIntBits(floatAttOne);

-        return result;

-    }

-

-    public String toString()

-    {

-        return "com.mytest.SimpleContentExample{" +

-            "simpleContent=" + simpleContent +

-            ", floatAttOne=" + floatAttOne +

-            "}";

-    }

-

-}

diff --git a/v2/test/cases/xbean/marshal/com/mytest/YourClass.java b/v2/test/cases/xbean/marshal/com/mytest/YourClass.java
deleted file mode 100755
index 64df5f3..0000000
--- a/v2/test/cases/xbean/marshal/com/mytest/YourClass.java
+++ /dev/null
@@ -1,461 +0,0 @@
-/*   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.
- */
-
-package com.mytest;
-
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-import org.apache.xmlbeans.ObjectFactory;
-
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Random;
-import java.util.Arrays;
-import java.util.Date;
-
-public class YourClass
-    implements ObjectFactory
-{
-    private YourClass myBoss = null;
-
-    private MyClass myClass;
-    private MySubClass mySubClass = new MySubClass();
-
-    private float myFloat;
-    private float attrib;
-    private boolean someBool;
-
-    private List bools = newBoolList();
-    private List strs = newStringList();
-
-    private long[] longArray;// = {RND.nextLong(), RND.nextLong()};
-
-    private boolean[] booleanArray;// = {true, false, true};
-    private String[] stringArray = {"ONE:" + RND.nextInt(), "TWO:" + RND.nextInt()};
-    private MyClass[] myClassArray;//{new MyClass(), new MyClass()};
-
-    private QName qn = new QName("URI" + RND.nextInt(), "LNAME" + RND.nextInt());
-    private QName qn2 = new QName("URI" + RND.nextInt(), "LNAME" + RND.nextInt());
-
-
-    private String[] wrappedArrayOne = {"W1", "W2"};
-    private String[][] wrappedArrayTwo = {wrappedArrayOne, null, wrappedArrayOne};
-
-    private SimpleContentExample simpleContentExample;
-
-
-    private ModeEnum modeEnum;
-    private IntEnum intEnum;
-    private IntegerEnum integerEnum;
-
-    private String[] simpleStringArray = {"ONE:" + RND.nextInt(),
-                                          "TWO:" + RND.nextInt()};
-
-    private long[] simpleLongArray = {RND.nextLong(),
-                                      RND.nextLong()};
-
-    final byte[] bytes = new byte[]{1, 2, 3, 4, 5, 6};
-    private byte[][] simpleHexBinArray = {bytes, bytes};
-
-    private Date someDate;
-
-    public String stringField = "FLD-" + RND.nextInt();
-    public int intField = RND.nextInt();
-
-    public Object[] objectArray;
-    public Object[] objectArrayTwo;
-
-    //hack alert
-    static final Random RND = new Random();
-
-    private List newStringList()
-    {
-        ArrayList l = new ArrayList();
-        l.add("STRONE:" + RND.nextInt());
-        l.add("STRTWO:" + RND.nextInt());
-        l.add(null);
-        l.add("STRTHREE:" + RND.nextInt());
-        return l;
-    }
-
-    private List newBoolList()
-    {
-        ArrayList l = new ArrayList();
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-        l.add(Boolean.valueOf(RND.nextBoolean()));
-//        l.add(null);
-//        l.add(Boolean.TRUE);
-//        l.add(Boolean.FALSE);
-        return l;
-    }
-
-
-    //generic factory
-    public Object createObject(Class type)
-    {
-        if (type == null) throw new IllegalArgumentException("null type");
-
-        if (type.equals(MyClass.class)) {
-            return new MyClass();
-        } else if (type.equals(MySubClass.class)) {
-            return new MySubClass();
-        } else if (type.equals(MySubSubClass.class)) {
-            return new MySubSubClass();
-        } else if (type.equals(YourClass.class)) {
-            return new YourClass();
-        } else {
-            throw new AssertionError("unknown type: " + type);
-        }
-    }
-
-    public float getMyFloat()
-    {
-        return myFloat;
-    }
-
-    public void setMyFloat(float myFloat)
-    {
-        this.myFloat = myFloat;
-    }
-
-    public YourClass getMyBoss()
-    {
-        return myBoss;
-    }
-
-    public void setMyBoss(YourClass myBoss)
-    {
-        this.myBoss = myBoss;
-    }
-
-    public MyClass getMyClass()
-    {
-        return myClass;
-    }
-
-    public void setMyClass(MyClass myClass)
-    {
-        this.myClass = myClass;
-    }
-
-    public boolean isSomeBool()
-    {
-        return someBool;
-    }
-
-    public void setSomeBool(boolean someBool)
-    {
-        this.someBool = someBool;
-    }
-
-    public List getBools()
-    {
-        return bools;
-    }
-
-    public void setBools(List bools)
-    {
-        this.bools = bools;
-    }
-
-
-    /**
-     *  @xsdgen:attribute.name Attrib
-     */
-    public float getAttrib()
-        throws MyException
-    {
-        return attrib;
-    }
-
-    public void setAttrib(float attrib)
-        throws MyException
-    {
-//        if (attrib < 0.001f)
-//           throw new MyException("too small: " + attrib);
-        this.attrib = attrib;
-    }
-
-    public List getStrs()
-    {
-        return strs;
-    }
-
-    public void setStrs(List strs)
-    {
-        this.strs = strs;
-    }
-
-    public long[] getLongArray()
-    {
-        return longArray;
-    }
-
-    public void setLongArray(long[] longArray)
-    {
-        this.longArray = longArray;
-    }
-
-
-    public String[] getStringArray()
-    {
-        return stringArray;
-    }
-
-    public void setStringArray(String[] stringArray)
-    {
-        this.stringArray = stringArray;
-    }
-
-    public MyClass[] getMyClassArray()
-    {
-        return myClassArray;
-    }
-
-    public void setMyClassArray(MyClass[] myClassArray)
-    {
-        this.myClassArray = myClassArray;
-    }
-
-    public boolean[] getBooleanArray()
-    {
-        return booleanArray;
-    }
-
-    public void setBooleanArray(boolean[] booleanArray)
-    {
-        this.booleanArray = booleanArray;
-    }
-
-
-    public MySubClass getMySubClass()
-    {
-        return mySubClass;
-    }
-
-    public void setMySubClass(MySubClass mySubClass)
-    {
-        this.mySubClass = mySubClass;
-    }
-
-    public QName getQn()
-    {
-        return qn;
-    }
-
-    public void setQn(QName qn)
-    {
-        this.qn = qn;
-    }
-
-    public QName getQn2()
-    {
-        return qn2;
-    }
-
-    public void setQn2(QName qn2)
-    {
-        this.qn2 = qn2;
-    }
-
-    public String[] getWrappedArrayOne()
-    {
-        return wrappedArrayOne;
-    }
-
-    public void setWrappedArrayOne(String[] wrappedArrayOne)
-    {
-        this.wrappedArrayOne = wrappedArrayOne;
-    }
-
-    public String[][] getWrappedArrayTwo()
-    {
-        return wrappedArrayTwo;
-    }
-
-    public void setWrappedArrayTwo(String[][] wrappedArrayTwo)
-    {
-        this.wrappedArrayTwo = wrappedArrayTwo;
-    }
-
-    public SimpleContentExample getSimpleContentExample()
-    {
-        return simpleContentExample;
-    }
-
-    public void setSimpleContentExample(SimpleContentExample simpleContentExample)
-    {
-        this.simpleContentExample = simpleContentExample;
-    }
-
-    public ModeEnum getModeEnum()
-    {
-        return modeEnum;
-    }
-
-    public void setModeEnum(ModeEnum modeEnum)
-    {
-        this.modeEnum = modeEnum;
-    }
-
-    public IntEnum getIntEnum()
-    {
-        return intEnum;
-    }
-
-    public void setIntEnum(IntEnum intEnum)
-    {
-        this.intEnum = intEnum;
-    }
-
-    public IntegerEnum getIntegerEnum()
-    {
-        return integerEnum;
-    }
-
-    public void setIntegerEnum(IntegerEnum integerEnum)
-    {
-        this.integerEnum = integerEnum;
-    }
-
-    public String[] getSimpleStringArray()
-    {
-        return simpleStringArray;
-    }
-
-    public void setSimpleStringArray(String[] simpleStringArray)
-    {
-        this.simpleStringArray = simpleStringArray;
-    }
-
-    public long[] getSimpleLongArray()
-    {
-        return simpleLongArray;
-    }
-
-    public void setSimpleLongArray(long[] simpleLongArray)
-    {
-        this.simpleLongArray = simpleLongArray;
-    }
-
-    public Date getSomeDate()
-    {
-        return someDate;
-    }
-
-    public void setSomeDate(Date someDate)
-    {
-        this.someDate = someDate;
-    }
-
-    public byte[][] getSimpleHexBinArray()
-    {
-        return simpleHexBinArray;
-    }
-
-    public void setSimpleHexBinArray(byte[][] simpleHexBinArray)
-    {
-        this.simpleHexBinArray = simpleHexBinArray;
-    }
-
-    public boolean equals(Object o)
-    {
-        if (this == o) return true;
-        if (!(o instanceof YourClass)) return false;
-
-        final YourClass yourClass = (YourClass)o;
-
-        if (attrib != yourClass.attrib) return false;
-        if (myFloat != yourClass.myFloat) return false;
-        if (someBool != yourClass.someBool) return false;
-        if (!Arrays.equals(booleanArray, yourClass.booleanArray)) return false;
-
-        if (strs != null ? !strs.equals(yourClass.strs) : yourClass.strs != null) return false;
-        if (bools != null ? !bools.equals(yourClass.bools) : yourClass.bools != null) return false;
-
-        if (!Arrays.equals(longArray, yourClass.longArray)) return false;
-        if (myClass != null ? !myClass.equals(yourClass.myClass) : yourClass.myClass != null) return false;
-        if (!Arrays.equals(myClassArray, yourClass.myClassArray)) return false;
-        if (!Arrays.equals(stringArray, yourClass.stringArray)) return false;
-        if (!Arrays.equals(simpleStringArray, yourClass.simpleStringArray)) return false;
-        if (!Arrays.equals(simpleLongArray, yourClass.simpleLongArray)) return false;
-        if (!Arrays.equals(wrappedArrayOne, yourClass.wrappedArrayOne)) return false;
-
-        if (qn != null ? !qn.equals(yourClass.qn) : yourClass.qn != null) return false;
-        if (qn2 != null ? !qn2.equals(yourClass.qn2) : yourClass.qn2 != null) return false;
-
-        if (simpleContentExample != null ?
-            !simpleContentExample.equals(yourClass.simpleContentExample) : yourClass.simpleContentExample != null)
-            return false;
-
-        if (modeEnum != null ? !modeEnum.equals(yourClass.modeEnum) : yourClass.modeEnum != null) return false;
-        if (intEnum != null ? !intEnum.equals(yourClass.intEnum) : yourClass.intEnum != null) return false;
-        if (integerEnum != null ? !integerEnum.equals(yourClass.integerEnum) : yourClass.integerEnum != null) return false;
-
-        if (stringField != null ? !stringField.equals(yourClass.stringField) : yourClass.stringField != null) return false;
-        if (intField != yourClass.intField) return false;
-
-
-        return true;
-    }
-
-    public int hashCode()
-    {
-        int result;
-        result = (myClass != null ? myClass.hashCode() : 0);
-        result = 29 * result + Float.floatToIntBits(myFloat);
-        result = 29 * result + Float.floatToIntBits(attrib);
-        result = 29 * result + (someBool ? 1 : 0);
-//        result = 29 * result + (bools != null ? bools.hashCode() : 0);
-//        result = 29 * result + (strs != null ? strs.hashCode() : 0);
-        return result;
-    }
-
-
-    public String toString()
-    {
-        return "com.mytest.YourClass{" +
-            "myClass=" + myClass +
-            ", stringField=" + stringField +
-            ", myFloat=" + myFloat +
-            ", attrib=" + attrib +
-            ", someBool=" + someBool +
-            ", qn=" + qn +
-            ", qn2=" + qn2 +
-            ", modeEnum=" + modeEnum +
-            ", intEnum=" + intEnum +
-            ", integerEnum=" + integerEnum +
-            ", simpleContentExample=" + simpleContentExample +
-            ", bools=" + (bools == null ? null : "size:" + bools.size() + bools) +
-            ", strs=" + (strs == null ? null : "size:" + strs.size() + strs) +
-            ", longArray=" + ArrayUtils.arrayToString(longArray) +
-            ", booleanArray=" + ArrayUtils.arrayToString(booleanArray) +
-            ", stringArray=" + ArrayUtils.arrayToString(stringArray) +
-            ", simpleStringArray=" + ArrayUtils.arrayToString(simpleStringArray) +
-            ", simpleLongArray=" + ArrayUtils.arrayToString(simpleLongArray) +
-            ", simpleHexBinArray=" + ArrayUtils.arrayToString(simpleHexBinArray) +
-            ", wrappedArrayOne=" + ArrayUtils.arrayToString(wrappedArrayOne) +
-            ", myClassArray=" + ArrayUtils.arrayToString(myClassArray) +
-            "}";
-    }
-
-
-}
diff --git a/v2/test/cases/xbean/marshal/doc.xml b/v2/test/cases/xbean/marshal/doc.xml
deleted file mode 100755
index 112b4d6..0000000
--- a/v2/test/cases/xbean/marshal/doc.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>

-<My:load xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-    xmlns:My="java:com.mytest"

-    xmlns:n1="java:com.mytest">

-

-    <My:Myelt n1:modeEnum="Off" ignore="someval" My:Attrib="-4444.123456789" >

-        <My:MyFloat>111111165.34</My:MyFloat>

-        <My:MyClass xsi:type="My:MySubClass">

-            <My:Myatt xsi:type="xsd:token">inner-str</My:Myatt>

-

-            <My:BigInt>  7474747474747474747474747474747474  </My:BigInt>

-

-        </My:MyClass>

-

-        <n1:MyClassArray xsi:type="n1:MySubClass">

-            <n1:Myatt>NextValueShouldBeDefaulted</n1:Myatt>

-            <n1:BigInt> </n1:BigInt>    <!-- test default elements -->

-        </n1:MyClassArray>

-

-        <n1:MyClassArray n3:type="n1:MySubClass" xmlns:n3="http://www.w3.org/2001/XMLSchema-instance">

-            <n1:Myatt>DEFAULT:1071412448</n1:Myatt>

-            <n1:BigInt>1111111111</n1:BigInt>

-        </n1:MyClassArray>

-        <n1:MyClassArray>

-            <n1:Myatt>DEFAULT:380079710</n1:Myatt>

-        </n1:MyClassArray>

-        <n1:MyClassArray xsi:type="n1:MySubClass">

-            <n1:Myatt>DEFAULT:1071412448</n1:Myatt>

-            <n1:BigInt>2222222222</n1:BigInt>

-        </n1:MyClassArray>

-

-        <n1:simpleContentExample someAtt="1.23">testing</n1:simpleContentExample>

-        <n1:modeEnum>Off</n1:modeEnum>

-

-    </My:Myelt>

-

-    <!--    test as-if for simple types-->

-    <My:Myatt xsi:nil=" false " xsi:type="My:custom-string"> collapse   me! </My:Myatt>

-

-</My:load>

-

diff --git a/v2/test/cases/xbean/marshal/doc2.xml b/v2/test/cases/xbean/marshal/doc2.xml
deleted file mode 100755
index ca287db..0000000
--- a/v2/test/cases/xbean/marshal/doc2.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>

-<n1:load xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-    xsi:type="n1:MyClass"

-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-    xmlns:n1="java:com.mytest">

-

-

-<!--    xsi:type="n1:MyClass"-->

-

-

-<!--    <n1:Myelt n1:Attrib="  5555.54321">-->

-

-    <n1:Myelt>

-

-        <SomeBool xmlns="java:com.mytest">1</SomeBool>

-

-

-        <n1:junk><a><b>fda</b></a></n1:junk>

-        <n1:MyClass>

-<!--            <n1:Myelt></n1:Myelt>-->

-            <n1:Myatt>TheVeryImportant<!--            <n1:Myelt></n1:Myelt>-->Value</n1:Myatt>

-        </n1:MyClass>

-

-<!--        test default ns-->

-        <MyFloat xmlns="java:com.mytest">888888.4443</MyFloat>

-

-        <n1:SomeBool>fal<!-- ok -->se</n1:SomeBool>

-        <n1:SomeBool>false</n1:SomeBool>

-        <n1:SomeBool>true</n1:SomeBool>

-        <n1:SomeBool>0</n1:SomeBool>

-

-        <n1:SomeBool

-            xsi:nil="false"

-            xmlns:xyz="pdq">1</n1:SomeBool>

-

-        <n1:BooleanArray>

-             true 

-        </n1:BooleanArray>

-        <n1:BooleanArray>1</n1:BooleanArray>

-

-<!--        test bad xsi type TODO: handle better-->

-<!--        <n1:SomeDate xsi:type='xsd:string'>2002-03-06T08:04:39.265Z</n1:SomeDate>-->

-        <n1:SomeDate xsi:type='xsd:dateTime'>2002-03-06T08:04:39.265Z</n1:SomeDate>

-<!--        <n1:SomeDate>2002-03-06T08:04:39.265Z</n1:SomeDate>-->

-

-

-    </n1:Myelt>

-

-    <n1:Myatt>attval</n1:Myatt>

-</n1:load>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/marshal/doc3.xml b/v2/test/cases/xbean/marshal/doc3.xml
deleted file mode 100755
index 751c113..0000000
--- a/v2/test/cases/xbean/marshal/doc3.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>

-<n1:load xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-    xmlns:n1="java:com.mytest"

-    xsi:type="n1:ErrorTestThereIsNoSuchType">

-

-

-<!--    xsi:type="n1:MyClass"-->

-

-

-<!--    <n1:Myelt n1:Attrib="  5555.54321">-->

-

-    <n1:Myelt>

-

-        <SomeBool xmlns="java:com.mytest">1</SomeBool>

-

-

-        <n1:junk><a><b>fda</b></a></n1:junk>

-        <n1:MyClass>

-<!--            <n1:Myelt></n1:Myelt>-->

-            <n1:Myatt>TheVeryImportant<!--            <n1:Myelt></n1:Myelt>-->Value</n1:Myatt>

-        </n1:MyClass>

-

-<!--        test default ns-->

-        <MyFloat xmlns="java:com.mytest">888888.4443</MyFloat>

-

-        <n1:SomeBool>fal<!-- ok -->se</n1:SomeBool>

-        <n1:SomeBool>false</n1:SomeBool>

-        <n1:SomeBool>true</n1:SomeBool>

-        <n1:SomeBool>0</n1:SomeBool>

-        <n1:SomeBool>1</n1:SomeBool>

-

-        <n1:BooleanArray>

-             true 

-        </n1:BooleanArray>

-        <n1:BooleanArray>1</n1:BooleanArray>

-

-    </n1:Myelt>

-

-    <n1:Myatt>attval</n1:Myatt>

-</n1:load>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/marshal/example.xsd b/v2/test/cases/xbean/marshal/example.xsd
deleted file mode 100755
index 89bf622..0000000
--- a/v2/test/cases/xbean/marshal/example.xsd
+++ /dev/null
@@ -1,117 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-    targetNamespace="http://nosuch.domain.name"

-    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

-    xmlns:tns="http://nosuch.domain.name"

-    elementFormDefault="qualified">

-

-<!--    <xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"-->

-<!--        schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>-->

-

-

-    <xs:element name="address" type="tns:USAddress"/>

-

-    <xs:element name="ListOfAddresses">

-        <xs:complexType>

-            <xs:sequence>

-                <xs:element name="address" type="tns:USAddress"

-                    minOccurs="0" maxOccurs="unbounded"/>

-            </xs:sequence>

-        </xs:complexType>

-    </xs:element>

-

-    <xs:complexType name="USAddress">

-        <xs:sequence>

-            <xs:element name="name" type="xs:string"/>

-            <xs:element name="zip" type="tns:ranged-int"/>

-        </xs:sequence>

-        <xs:attribute name="country" type="xs:NMTOKEN"/>

-    </xs:complexType>

-

-

-    <xs:simpleType name="ranged-int">

-        <xs:restriction base="xs:int">

-            <xs:maxInclusive value="99999"/>

-        </xs:restriction>

-    </xs:simpleType>

-

-

-    <xs:complexType name="ZTestOne">

-        <xs:sequence>

-            <xs:element name="subone">

-                <xs:complexType>

-                    <xs:sequence>

-                        <xs:element name="partOne" type="xs:string">

-                        </xs:element>

-                    </xs:sequence>

-                </xs:complexType>

-            </xs:element>

-        </xs:sequence>

-    </xs:complexType>

-

-    <xs:complexType name="subone">

-        <xs:sequence>

-            <xs:element name="name" type="xs:string">

-            </xs:element>

-        </xs:sequence>

-    </xs:complexType>

-

-<!---->

-<!--    <xs:complexType name="ArrayOfString">-->

-<!--        <xs:complexContent>-->

-<!--            <xs:restriction base="soapenc:Array">-->

-<!--                <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:string[,][,]"/>-->

-<!--            </xs:restriction>-->

-<!--        </xs:complexContent>-->

-<!--    </xs:complexType>-->

-<!---->

-<!--    <xs:complexType name="OtherArrayOfString">-->

-<!--        <xs:complexContent>-->

-<!--            <xs:restriction base="soapenc:Array">-->

-<!--                <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:string[,][,]"/>-->

-<!--            </xs:restriction>-->

-<!--        </xs:complexContent>-->

-<!--    </xs:complexType>-->

-<!---->

-<!---->

-<!--    <xs:complexType name="ArrayOfStringOne">-->

-<!--        <xs:complexContent>-->

-<!--            <xs:restriction base="soapenc:Array">-->

-<!--                <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:string[]"/>-->

-<!--            </xs:restriction>-->

-<!--        </xs:complexContent>-->

-<!--    </xs:complexType>-->

-<!---->

-<!--    <xs:complexType name="ArrayOfStringTwo">-->

-<!--        <xs:complexContent>-->

-<!--            <xs:restriction base="soapenc:Array">-->

-<!--                <xs:sequence>-->

-<!--                    <xs:element name="unit" type="xs:string" maxOccurs="unbounded"/>-->

-<!--                </xs:sequence>-->

-<!--            </xs:restriction>-->

-<!--        </xs:complexContent>-->

-<!--    </xs:complexType>-->

-<!---->

-<!---->

-<!--    <xs:complexType name="TripleArrayOfString">-->

-<!--        <xs:complexContent>-->

-<!--            <xs:restriction base="soapenc:Array">-->

-<!--                <xs:attribute ref="soapenc:arrayType"-->

-<!--                    wsdl:arrayType="xs:string[][][]"-->

-<!--                    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">-->

-<!---->

-<!--                </xs:attribute>-->

-<!--            </xs:restriction>-->

-<!--        </xs:complexContent>-->

-<!--    </xs:complexType>-->

-<!---->

-<!--    <xs:complexType name="ztwo">-->

-<!--        <xs:sequence>-->

-<!--            <xs:element name="name" type="xs:string"/>-->

-<!--            <xs:element name="aos" type="tns:ArrayOfString"/>-->

-<!--            <xs:element name="triple" type="tns:TripleArrayOfString"/>-->

-<!--        </xs:sequence>-->

-<!--    </xs:complexType>-->

-

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/marshal/example_config.xml b/v2/test/cases/xbean/marshal/example_config.xml
deleted file mode 100755
index 901922c..0000000
--- a/v2/test/cases/xbean/marshal/example_config.xml
+++ /dev/null
@@ -1,709 +0,0 @@
-<bin:binding-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="java:com.mytest" xmlns:bin="http://xml.apache.org/xmlbeans/binding-config">
-    <bin:bindings>
-
-        <bin:binding-type xsi:type="bin:simple-type">
-            <bin:xmlcomponent>t=custom-string@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String</bin:javatype>
-            <bin:as-xml whitespace="collapse">t=string@http://www.w3.org/2001/XMLSchema</bin:as-xml>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:by-name-bean">
-            <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.YourClass</bin:javatype>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.YourClass</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getMyBoss</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setMyBoss</bin:method-name>
-                    <bin:param-type>com.mytest.YourClass</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:MyBoss</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=float@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>float</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getAttrib</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setAttrib</bin:method-name>
-                   <bin:param-type>float</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:Attrib</bin:qname>
-                <bin:attribute>true</bin:attribute>
-                <bin:default>9.12321</bin:default>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=MyClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.MyClass</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getMyClass</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setMyClass</bin:method-name>
-                    <bin:param-type>com.mytest.MyClass</bin:param-type>
-                </bin:setter>
-                <bin:factory xsi:type="bin:parent-instance-factory">
-                    <bin:create-object-method>
-                        <bin:method-name>createObject</bin:method-name>
-                        <bin:param-type>java.lang.Class</bin:param-type>
-                    </bin:create-object-method>
-                </bin:factory>
-                <bin:qname>java:MyClass</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=MySubClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.MySubClass</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMySubClass</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMySubClass</bin:method-name>
-                   <bin:param-type>com.mytest.MySubClass</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:MySubClass</bin:qname>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=float@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>float</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyFloat</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyFloat</bin:method-name>
-                   <bin:param-type>float</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:MyFloat</bin:qname>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=MyClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.MyClass</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyClassArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyClassArray</bin:method-name>
-                   <bin:param-type>com.mytest.MyClass[]</bin:param-type>
-                </bin:setter>
-                <bin:collection>com.mytest.MyClass[]</bin:collection>
-                <bin:qname>java:MyClassArray</bin:qname>
-                <bin:multiple>true</bin:multiple>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=long@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>long</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getLongArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setLongArray</bin:method-name>
-                   <bin:param-type>long[]</bin:param-type>
-                </bin:setter>
-                <bin:collection>long[]</bin:collection>
-                <bin:qname>java:LongArray</bin:qname>
-                <bin:multiple>true</bin:multiple>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=boolean@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>boolean</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>isSomeBool</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setSomeBool</bin:method-name>
-                   <bin:param-type>boolean</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:SomeBool</bin:qname>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=QName@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>javax.xml.namespace.QName</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getQn</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setQn</bin:method-name>
-                    <bin:param-type>javax.xml.namespace.QName</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:qn</bin:qname>
-                <bin:attribute>true</bin:attribute>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=QName@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>javax.xml.namespace.QName</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getQn2</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setQn2</bin:method-name>
-                    <bin:param-type>javax.xml.namespace.QName</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:qn2</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=boolean@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>boolean</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getBooleanArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setBooleanArray</bin:method-name>
-                   <bin:param-type>boolean[]</bin:param-type>
-                </bin:setter>
-                <bin:collection>boolean[]</bin:collection>
-                <bin:qname>java:BooleanArray</bin:qname>
-                <bin:multiple>true</bin:multiple>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getStringArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setStringArray</bin:method-name>
-                   <bin:param-type>java.lang.String[]</bin:param-type>
-                </bin:setter>
-                <bin:collection>java.lang.String[]</bin:collection>
-                <bin:qname>java:StringArray</bin:qname>
-                <bin:multiple>true</bin:multiple>
-            </bin:qname-property>
-
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getStrs</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setStrs</bin:method-name>
-                    <bin:param-type>java.util.List</bin:param-type>
-                </bin:setter>
-                <bin:collection>java.util.List</bin:collection>
-                <bin:qname>java:strs</bin:qname>
-                <bin:multiple>true</bin:multiple>
-                <bin:nillable>true</bin:nillable>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=boolean@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>boolean</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getBools</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setBools</bin:method-name>
-                    <bin:param-type>java.util.List</bin:param-type>
-                </bin:setter>
-                <bin:collection>java.util.List</bin:collection>
-                <bin:qname>java:bools</bin:qname>
-                <bin:multiple>true</bin:multiple>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=ArrayOfString@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.String[]</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getWrappedArrayOne</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setWrappedArrayOne</bin:method-name>
-                    <bin:param-type>java.lang.String[]</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:WrappedArrayOne</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=ObjectArrayType@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.Object[]</bin:javatype>
-                <bin:field>objectArray</bin:field>
-                <bin:qname>java:objectArray</bin:qname>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=ObjectArrayType@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.Object[]</bin:javatype>
-                <bin:field>objectArrayTwo</bin:field>
-                <bin:qname>java:objectArrayTwo</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=ArrayOfArrayOfString@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.String[][]</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getWrappedArrayTwo</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setWrappedArrayTwo</bin:method-name>
-                    <bin:param-type>java.lang.String[][]</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:WrappedArrayTwo</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=SimpleContentExample@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.SimpleContentExample</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSimpleContentExample</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSimpleContentExample</bin:method-name>
-                    <bin:param-type>com.mytest.SimpleContentExample</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:simpleContentExample</bin:qname>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=ModeEnum@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.ModeEnum</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getModeEnum</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setModeEnum</bin:method-name>
-                    <bin:param-type>com.mytest.ModeEnum</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:modeEnum</bin:qname>
-<!--                <bin:attribute>true</bin:attribute>-->
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=IntEnum@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.IntEnum</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getIntEnum</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setIntEnum</bin:method-name>
-                    <bin:param-type>com.mytest.IntEnum</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:intEnum</bin:qname>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=IntegerEnum@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.IntegerEnum</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getIntegerEnum</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setIntegerEnum</bin:method-name>
-                    <bin:param-type>com.mytest.IntegerEnum</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:integerEnum</bin:qname>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=SimpleStringList@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.String[]</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSimpleStringArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSimpleStringArray</bin:method-name>
-                    <bin:param-type>java.lang.String[]</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:simpleStringArray</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=SimpleLongList@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>long[]</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSimpleLongArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSimpleLongArray</bin:method-name>
-                    <bin:param-type>long[]</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:simpleLongArray</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=SimpleHexBinList@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>byte[][]</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSimpleHexBinArray</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSimpleHexBinArray</bin:method-name>
-                    <bin:param-type>byte[][]</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:simpleHexBinArray</bin:qname>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=dateTime@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.util.Date</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSomeDate</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSomeDate</bin:method-name>
-                    <bin:param-type>java.util.Date</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:SomeDate</bin:qname>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:field>stringField</bin:field>
-                <bin:qname>stringField</bin:qname>
-                <bin:nillable>true</bin:nillable>
-            </bin:qname-property>
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=int@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>int</bin:javatype>
-                <bin:field>intField</bin:field>
-                <bin:qname>intField</bin:qname>
-            </bin:qname-property>
-
-
-        </bin:binding-type>
-
-
-        <bin:binding-type xsi:type="bin:list-array">
-            <bin:xmlcomponent>t=SimpleHexBinList@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>byte[][]</bin:javatype>
-            <bin:item-type>
-                <bin:xmlcomponent>t=hexBinary@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>byte[]</bin:javatype>
-            </bin:item-type>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:list-array">
-            <bin:xmlcomponent>t=SimpleStringList@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String[]</bin:javatype>
-            <bin:item-type>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-            </bin:item-type>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:list-array">
-            <bin:xmlcomponent>t=SimpleLongList@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>long[]</bin:javatype>
-            <bin:item-type>
-                <bin:xmlcomponent>t=long@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>long</bin:javatype>
-            </bin:item-type>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:simple-content-bean">
-            <bin:xmlcomponent>t=SimpleContentExample@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.SimpleContentExample</bin:javatype>
-
-            <bin:simple-content-property>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getSimpleContent</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setSimpleContent</bin:method-name>
-                    <bin:param-type>java.lang.String</bin:param-type>
-                </bin:setter>
-            </bin:simple-content-property>
-
-            <bin:attribute-property>
-                <bin:xmlcomponent>t=float@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>float</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getFloatAttOne</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setFloatAttOne</bin:method-name>
-                    <bin:param-type>float</bin:param-type>
-                </bin:setter>
-                <bin:qname>someAtt</bin:qname>
-                <bin:attribute>true</bin:attribute>
-            </bin:attribute-property>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:jaxrpc-enum-type">
-            <bin:xmlcomponent>t=IntEnum@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.IntEnum</bin:javatype>
-            <bin:base-xmlcomponent>t=int@http://www.w3.org/2001/XMLSchema</bin:base-xmlcomponent>
-            <bin:base-javatype>int</bin:base-javatype>
-            <bin:getValue-method>
-                <bin:method-name>getValue</bin:method-name>
-            </bin:getValue-method>
-            <bin:fromValue-method>
-                <bin:method-name>fromValue</bin:method-name>
-                <bin:param-type>int</bin:param-type>
-            </bin:fromValue-method>
-            <bin:fromString-method>
-                <bin:method-name>fromString</bin:method-name>
-            </bin:fromString-method>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:jaxrpc-enum-type">
-            <bin:xmlcomponent>t=IntegerEnum@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.IntegerEnum</bin:javatype>
-            <bin:base-xmlcomponent>t=integer@http://www.w3.org/2001/XMLSchema</bin:base-xmlcomponent>
-            <bin:base-javatype>java.math.BigInteger</bin:base-javatype>
-            <bin:getValue-method>
-                <bin:method-name>getValue</bin:method-name>
-            </bin:getValue-method>
-            <bin:fromValue-method>
-                <bin:method-name>fromValue</bin:method-name>
-                <bin:param-type>java.math.BigInteger</bin:param-type>
-            </bin:fromValue-method>
-            <bin:fromString-method>
-                <bin:method-name>fromString</bin:method-name>
-            </bin:fromString-method>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:jaxrpc-enum-type">
-            <bin:xmlcomponent>t=ModeEnum@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.ModeEnum</bin:javatype>
-            <bin:base-xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:base-xmlcomponent>
-            <bin:base-javatype>java.lang.String</bin:base-javatype>
-            <bin:getValue-method>
-                <bin:method-name>getValue</bin:method-name>
-            </bin:getValue-method>
-            <bin:fromValue-method>
-                <bin:method-name>fromValue</bin:method-name>
-                <bin:param-type>java.lang.String</bin:param-type>
-            </bin:fromValue-method>
-            <bin:fromString-method>
-                <bin:method-name>fromString</bin:method-name>
-            </bin:fromString-method>
-            <bin:toXML-method>
-                <bin:method-name>toXml</bin:method-name>
-            </bin:toXML-method>
-        </bin:binding-type>
-
-
-        <bin:binding-type xsi:type="bin:wrapped-array">
-            <bin:xmlcomponent>t=ObjectArrayType@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.Object[]</bin:javatype>
-            <bin:item-name>item</bin:item-name>
-            <bin:item-type>
-                <bin:xmlcomponent>t=anyType@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.Object</bin:javatype>
-            </bin:item-type>
-            <bin:item-nillable>true</bin:item-nillable>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:wrapped-array">
-            <bin:xmlcomponent>t=ArrayOfString@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String[]</bin:javatype>
-            <bin:item-name>item</bin:item-name>
-            <bin:item-type>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-            </bin:item-type>
-            <bin:item-nillable>true</bin:item-nillable>
-        </bin:binding-type>
-
-        <bin:binding-type xsi:type="bin:soap-array">
-            <bin:xmlcomponent>t=SoapQuadStringArray@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String[][][][]</bin:javatype>
-            <bin:item-name>item</bin:item-name>
-            <bin:item-type>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-            </bin:item-type>
-            <bin:item-nillable>true</bin:item-nillable>
-            <bin:ranks>4</bin:ranks>
-        </bin:binding-type>
-
-
-        <bin:binding-type xsi:type="bin:wrapped-array">
-            <bin:xmlcomponent>t=ArrayOfArrayOfString@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String[][]</bin:javatype>
-            <bin:item-name>aos</bin:item-name>
-            <bin:item-type>
-                <bin:xmlcomponent>t=ArrayOfString@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.String[]</bin:javatype>
-            </bin:item-type>
-        </bin:binding-type>
-
-
-        <bin:binding-type xsi:type="bin:by-name-bean">
-            <bin:xmlcomponent>t=MyClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.YourClass</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyelt</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyelt</bin:method-name>
-                   <bin:param-type>com.mytest.YourClass</bin:param-type>
-                </bin:setter>
-                <bin:factory xsi:type="bin:parent-instance-factory">
-                    <bin:create-object-method>
-                        <bin:method-name>createYourClass</bin:method-name>
-                        <!--                        <bin:param-type>java.lang.Class</bin:param-type>-->
-                    </bin:create-object-method>
-                </bin:factory>
-                <bin:qname>java:Myelt</bin:qname>
-            </bin:qname-property>
-            <bin:qname-property>
-<!--                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>-->
-                <bin:xmlcomponent>t=custom-string@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyatt</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyatt</bin:method-name>
-                   <bin:param-type>java.lang.String</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:Myatt</bin:qname>
-                <bin:nillable>true</bin:nillable>
-            </bin:qname-property>
-        </bin:binding-type>
-        <bin:binding-type xsi:type="bin:simple-document-binding">
-            <bin:xmlcomponent>e=load@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-            <bin:type-of-element>t=MyClass@java:com.mytest</bin:type-of-element>
-        </bin:binding-type>
-
-
-        <bin:binding-type xsi:type="bin:by-name-bean">
-            <bin:xmlcomponent>t=MySubClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MySubClass</bin:javatype>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-                <bin:javatype>com.mytest.YourClass</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyelt</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyelt</bin:method-name>
-                   <bin:param-type>com.mytest.YourClass</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:Myelt</bin:qname>
-            </bin:qname-property>
-            <bin:qname-property>
-                <bin:xmlcomponent>t=string@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.lang.String</bin:javatype>
-                <bin:getter>
-                   <bin:method-name>getMyatt</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                   <bin:method-name>setMyatt</bin:method-name>
-                   <bin:param-type>java.lang.String</bin:param-type>
-                </bin:setter>
-                <bin:qname>java:Myatt</bin:qname>
-                <bin:nillable>true</bin:nillable>
-            </bin:qname-property>
-
-
-            <bin:qname-property>
-                <bin:xmlcomponent>t=integer@http://www.w3.org/2001/XMLSchema</bin:xmlcomponent>
-                <bin:javatype>java.math.BigInteger</bin:javatype>
-                <bin:getter>
-                    <bin:method-name>getBigInt</bin:method-name>
-                </bin:getter>
-                <bin:setter>
-                    <bin:method-name>setBigInt</bin:method-name>
-                    <bin:param-type>java.math.BigInteger</bin:param-type>
-                </bin:setter>
-                <bin:issetter>
-                    <bin:method-name>isSetBigInt</bin:method-name>
-                </bin:issetter>
-                <bin:qname>java:BigInt</bin:qname>
-                <bin:nillable>true</bin:nillable>
-                <bin:default>876587658765876587658765876587658765</bin:default>
-            </bin:qname-property>
-<!---->
-<!--            <bin:qname-property>-->
-<!--                <bin:xmlcomponent>t=SoapQuadStringArray@java:com.mytest</bin:xmlcomponent>-->
-<!--                <bin:javatype>java.lang.String[][][][]</bin:javatype>-->
-<!--                <bin:field>quadStringArray</bin:field>-->
-<!--                <bin:qname>java:quadStringArray</bin:qname>-->
-<!--                <bin:nillable>true</bin:nillable>-->
-<!--            </bin:qname-property>-->
-
-        </bin:binding-type>
-
-
-    </bin:bindings>
-    <bin:xml-to-pojo>
-
-        <bin:mapping>
-            <bin:xmlcomponent>t=custom-string@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.String</bin:javatype>
-        </bin:mapping>
-
-        <bin:mapping>
-            <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.YourClass</bin:javatype>
-        </bin:mapping>
-        <bin:mapping>
-            <bin:xmlcomponent>t=MyClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-        </bin:mapping>
-        <bin:mapping>
-            <bin:xmlcomponent>e=load@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-        </bin:mapping>
-        <bin:mapping>
-            <bin:xmlcomponent>t=MySubClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MySubClass</bin:javatype>
-        </bin:mapping>
-
-        <bin:mapping>
-            <bin:xmlcomponent>t=ObjectArrayType@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.Object[]</bin:javatype>
-        </bin:mapping>
-
-    </bin:xml-to-pojo>
-    <bin:xml-to-xmlobj/>
-
-    <bin:java-to-xml>
-        <bin:mapping>
-            <bin:xmlcomponent>t=YourClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.YourClass</bin:javatype>
-        </bin:mapping>
-        <bin:mapping>
-            <bin:xmlcomponent>t=MyClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-        </bin:mapping>
-
-        <bin:mapping>
-            <bin:xmlcomponent>t=MySubClass@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MySubClass</bin:javatype>
-        </bin:mapping>
-
-        <bin:mapping>
-            <bin:xmlcomponent>t=ObjectArrayType@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>java.lang.Object[]</bin:javatype>
-        </bin:mapping>
-
-    </bin:java-to-xml>
-
-    <bin:java-to-element>
-        <bin:mapping>
-            <bin:xmlcomponent>e=load@java:com.mytest</bin:xmlcomponent>
-            <bin:javatype>com.mytest.MyClass</bin:javatype>
-        </bin:mapping>
-    </bin:java-to-element>
-</bin:binding-config>
diff --git a/v2/test/cases/xbean/marshal/example_instance.xml b/v2/test/cases/xbean/marshal/example_instance.xml
deleted file mode 100755
index e12f5c3..0000000
--- a/v2/test/cases/xbean/marshal/example_instance.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<tns:address xmlns:xs="http://www.w3.org/2001/XMLSchema"

-    xmlns:tns="http://nosuch.domain.name"

-    xmlns:oth="http://othernosuch.domain.name"

-    country="USA">

-

-

-    <tns:name>Somewhere</tns:name>

-    <tns:zip>54321</tns:zip>

-<!--    <tns:zip>4454321</tns:zip>-->

-

-<!--    <tns:zzzip>54321</tns:zzzip>-->

-

-

-</tns:address>

-

diff --git a/v2/test/cases/xbean/marshal/example_instance2.xml b/v2/test/cases/xbean/marshal/example_instance2.xml
deleted file mode 100755
index 6a9f597..0000000
--- a/v2/test/cases/xbean/marshal/example_instance2.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<tns:ListOfAddresses xmlns:xs="http://www.w3.org/2001/XMLSchema"

-    xmlns:tns="http://nosuch.domain.name"

-    xmlns:oth="http://othernosuch.domain.name">

-

-    <tns:address>

-        <tns:name>Somewhere</tns:name>

-        <tns:zip>54321</tns:zip>

-    </tns:address>

-

-    <tns:address>

-        <tns:name>Somewhere</tns:name>

-        <tns:zip>54321</tns:zip>

-    </tns:address>

-

-    <tns:address>

-        <tns:name>Somewhere</tns:name>

-        <tns:zip>54321</tns:zip>

-    </tns:address>

-

-    <tns:address>

-        <tns:name>Somewhere</tns:name>

-        <tns:zip>54321</tns:zip>

-    </tns:address>

-

-

-</tns:ListOfAddresses>

-

diff --git a/v2/test/cases/xbean/misc/dyntest.xml b/v2/test/cases/xbean/misc/dyntest.xml
deleted file mode 100755
index 2f7142b..0000000
--- a/v2/test/cases/xbean/misc/dyntest.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<dt:wrappedinstance xmlns:dt="http://openuri.org/test/dyntest">

-  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://openuri.org/test/quant">

-    <xs:element name="quantity" type="xs:int"/>

-  </xs:schema>

-  <qt:quantity xmlns:qt="http://openuri.org/test/quant">

-    42

-  </qt:quantity>

-</dt:wrappedinstance>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/misc/dyntest.xsd b/v2/test/cases/xbean/misc/dyntest.xsd
deleted file mode 100755
index a223cab..0000000
--- a/v2/test/cases/xbean/misc/dyntest.xsd
+++ /dev/null
@@ -1,18 +0,0 @@
-<xs:schema targetNamespace="http://openuri.org/test/dyntest"

-  blockDefault="#all"

-  elementFormDefault="qualified"

-  version="1.0"

-  xmlns:xs="http://www.w3.org/2001/XMLSchema"

-  xml:lang="EN">

-

-  <xs:element name="wrappedinstance">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element ref="xs:schema"/>

-        <xs:any namespace="##any" processContents="lax"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/misc/dyntest2.xml b/v2/test/cases/xbean/misc/dyntest2.xml
deleted file mode 100755
index a3c2c89..0000000
--- a/v2/test/cases/xbean/misc/dyntest2.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<dt:wrappedwildcard xmlns:dt="http://openuri.org/test/dyntest">

-  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://openuri.org/test/quant">

-    <xs:element name="quantity" type="xs:int"/>

-  </xs:schema>

-</dt:wrappedwildcard>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/misc/dyntest2.xsd b/v2/test/cases/xbean/misc/dyntest2.xsd
deleted file mode 100755
index c65b06d..0000000
--- a/v2/test/cases/xbean/misc/dyntest2.xsd
+++ /dev/null
@@ -1,17 +0,0 @@
-<xs:schema targetNamespace="http://openuri.org/test/dyntest"

-  xmlns:xs="http://www.w3.org/2001/XMLSchema"

-  blockDefault="#all"

-  elementFormDefault="qualified"

-  version="1.0"

-  xml:lang="EN">

-

-  <xs:element name="wrappedwildcard">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:any namespace="##any" processContents="lax"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/misc/primitiveTypes.xml b/v2/test/cases/xbean/misc/primitiveTypes.xml
deleted file mode 100755
index 5136e50..0000000
--- a/v2/test/cases/xbean/misc/primitiveTypes.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<root xmlns:p1='1' xmlns:p2='2' xmlns:p3='3' xmlns:p4='4' xmlns:p5='5'
-	 xmlns:p6='6' xmlns:p7='7' xmlns:p8='8'>
-  <string string='    this is a long string
-... in attribute  '>    this is a long string
-... in text  </string>
-  <int p1:int='+5' p2:int='-6' p3:int='+00000000015' p4:int='7' p5:int='2147483647'
-  		p6:int='-2147483648'>
-  		+<!--comments-->5
-  </int>
-  <int>
-  		-6
-  </int>
-  <int>
-  		+00000<!--comments-->000015
-  </int>
-  <int>7</int>
-  <int>2147483647</int>
-  <int>-2147483648</int>
-  <boolean p1:boolean='true' p2:boolean='false' p3:boolean='0' p4:boolean='1'
-  		p5:boolean='false'>
-  		tr<!--comments-->ue
-  </boolean>
-  <boolean>
-  		false
-  </boolean>
-  <boolean>
-  		0
-  </boolean>
-  <boolean>
-  		1
-  </boolean>
-  <boolean>
-  		false
-  </boolean>
-  <short short='+3'>
-  		+03
-  </short>
-  <byte byte='+001'>
-  		+001
-  </byte>
-  <long long='-0500000' p1:long='001' p2:long='+002'>-0500000</long>
-  <long>
-    001
-  </long>
-  <long>
-    +002
-  </long>
-  <double double='+001' p2:double='-002.007000' p3:double='INF' p4:double='-INF'
-  	p5:double='NaN'>
-    +001
-  </double>
-  <double>
-    -002.0<!--comments--><!--comments-->07000
-  </double>
-  <double>
-    INF
-  </double>
-  <double>
-    -INF
-  </double>
-  <double>
-    NaN
-  </double>
-  <float p1:float='+12.325' p2:float='NaN' p3:float='INF' p4:float='-INF'>
-    +12.325
-  </float>
-  <float>
-    NaN
-  </float>
-  <float>
-    INF
-  </float>
-  <float>
-    -INF
-  </float>
-  <decimal decimal='001.001'>
-    001.001
-  </decimal>
-  <integer integer='001000000000'>
-    001000<!--comments-->000000
-  </integer>
-  <hexBinary hexBinary='68657842696E617279'>
-  		68657842696E617279
-  </hexBinary>
-  <base64Binary base64Binary='YmFzZTY0QmluYXJ5'>
-  		YmFzZTY0QmluYXJ5
-  </base64Binary>
-  <date date='2001-11-26T21:32:52Z'>
-  		2001-11-26T21:32:52Z
-  </date>
-  <dateTime dateTime='2001-11-26T21:32:52'>
-  		2001-11-26T21:32:52
-  </dateTime>
-  <gYearMonth gYearMonth='2001-11'>
-  		2001-11
-  </gYearMonth>
-  <duration duration='-PT7S'>
-  		-PT7S
-  </duration>
-  <QName xmlns:pre="pre_uri" p1:QName='pre:local1' p2:QName='local3'>
-  		pre:local1
-  </QName>
-  <!-- bug in jsr173-ri.jar <QName xmlns="default_uri" QName='local2'>
-  		local2
-  </QName-->
-  <QName>
-  		local3
-  </QName>
-</root>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/misc/signature-example-dsa.xml b/v2/test/cases/xbean/misc/signature-example-dsa.xml
deleted file mode 100755
index 90b8db0..0000000
--- a/v2/test/cases/xbean/misc/signature-example-dsa.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

-  <SignedInfo>

-    <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />

-    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" />

-    <Reference URI="http://www.w3.org/TR/xml-stylesheet">

-      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />

-      <DigestValue>60NvZvtdTB+7UnlLp/H24p7h4bs=</DigestValue>

-    </Reference>

-  </SignedInfo>

-  <SignatureValue>

-    qUADDMHZkyebvRdLs+6Dv7RvgMLRlUaDB4Q9yn9XoJA79a2882ffTg==

-  </SignatureValue>

-  <KeyInfo>

-    <KeyValue>

-      <DSAKeyValue>

-        <P>

-          2iY3w062sDB3/DIlLWOeG9+4UpmDZ0dyqRk9dLlNQ6qaXI7tOrjdIhm6n/eOw45A

-          QtuYSp6spCt9cQcNBAj22KvygvfJIIXX9sSQrugfGqifeSvY3VX5Sd1j+z0MSZ/n

-          5jNt88uh2C11SAqX6nrXTY/1RwkoWRN23SYhOlaG0hU=

-        </P>

-        <Q>

-          9B5ypLY9pMOmtxCeTDHgwdNFeGs=

-        </Q>

-        <G>

-          MuGAlqeB1ax+vyO2+Osubjhl7pHxLu47RIH+/M52DjESA9KMSrwzsYx8yNR2WooB

-          yrE0t6fu0VncK7UK8olO4t7wpv2z4AFQPRVCKFwo0qgn5aKIkICGMlrRy81avb27

-          wGcWothx3iPPMtFXtoDqK0JItaI9R8zc1msFhM1GKMY=

-        </G>

-        <Y>

-          ctA8YGxrtngg/zKVvqEOefnwmViFztcnPBYPlJsvh6yKI4iDm68fnp4Mi3RrJ6bZ

-          AygFrUIQLxLjV+OJtgJAEto0xAs+Mehuq1DkSFEpP3oDzCTOsrOiS1DwQe4oIb7z

-          Vk/9l7aPtJMHW0LVlMdwZNFNNJoqMcT2ZfCPrfvYvQ0=

-        </Y>

-      </DSAKeyValue>

-    </KeyValue>

-    <X509Data>

-      <X509SubjectName>

-        CN=Merlin Hughes,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE

-      </X509SubjectName>

-      <X509IssuerSerial>

-        <X509IssuerName>

-          CN=Test DSA CA,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE

-        </X509IssuerName>

-        <X509SerialNumber>970849936</X509SerialNumber>

-      </X509IssuerSerial>

-      <X509Certificate>

-        MIIDNzCCAvWgAwIBAgIEOd3+kDAJBgcqhkjOOAQDMFsxCzAJBgNVBAYTAklFMQ8w

-        DQYDVQQIEwZEdWJsaW4xJTAjBgNVBAoTHEJhbHRpbW9yZSBUZWNobm9sb2dpZXMs

-        IEx0ZC4xFDASBgNVBAMTC1Rlc3QgRFNBIENBMB4XDTAwMTAwNjE2MzIxNVoXDTAx

-        MTAwNjE2MzIxNFowXTELMAkGA1UEBhMCSUUxDzANBgNVBAgTBkR1YmxpbjElMCMG

-        A1UEChMcQmFsdGltb3JlIFRlY2hub2xvZ2llcywgTHRkLjEWMBQGA1UEAxMNTWVy

-        bGluIEh1Z2hlczCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQDaJjfDTrawMHf8MiUt

-        Y54b37hSmYNnR3KpGT10uU1Dqppcju06uN0iGbqf947DjkBC25hKnqykK31xBw0E

-        CPbYq/KC98kghdf2xJCu6B8aqJ95K9jdVflJ3WP7PQxJn+fmM23zy6HYLXVICpfq

-        etdNj/VHCShZE3bdJiE6VobSFQIVAPQecqS2PaTDprcQnkwx4MHTRXhrAoGAMuGA

-        lqeB1ax+vyO2+Osubjhl7pHxLu47RIH+/M52DjESA9KMSrwzsYx8yNR2WooByrE0

-        t6fu0VncK7UK8olO4t7wpv2z4AFQPRVCKFwo0qgn5aKIkICGMlrRy81avb27wGcW

-        othx3iPPMtFXtoDqK0JItaI9R8zc1msFhM1GKMYDgYQAAoGActA8YGxrtngg/zKV

-        vqEOefnwmViFztcnPBYPlJsvh6yKI4iDm68fnp4Mi3RrJ6bZAygFrUIQLxLjV+OJ

-        tgJAEto0xAs+Mehuq1DkSFEpP3oDzCTOsrOiS1DwQe4oIb7zVk/9l7aPtJMHW0LV

-        lMdwZNFNNJoqMcT2ZfCPrfvYvQ2jRzBFMB4GA1UdEQQXMBWBE21lcmxpbkBiYWx0

-        aW1vcmUuaWUwDgYDVR0PAQH/BAQDAgeAMBMGA1UdIwQMMAqACEJZQG0KwRbPMAkG

-        ByqGSM44BAMDMQAwLgIVAK4skWEFYgrggaJA8vYAwSjg12+KAhUAwHTo7wd4tENw

-        9LAKPklQ/74fH18=

-      </X509Certificate>

-    </X509Data>

-  </KeyInfo>

-</Signature>

-

diff --git a/v2/test/cases/xbean/misc/signature-example-rsa.xml b/v2/test/cases/xbean/misc/signature-example-rsa.xml
deleted file mode 100755
index 1b7daa5..0000000
--- a/v2/test/cases/xbean/misc/signature-example-rsa.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

-  <SignedInfo>

-    <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />

-    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />

-    <Reference URI="http://www.w3.org/TR/xml-stylesheet">

-      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />

-      <DigestValue>60NvZvtdTB+7UnlLp/H24p7h4bs=</DigestValue>

-    </Reference>

-  </SignedInfo>

-  <SignatureValue>

-    juS5RhJ884qoFR8flVXd/rbrSDVGn40CapgB7qeQiT+rr0NekEQ6BHhUA8dT3+BC

-    TBUQI0dBjlml9lwzENXvS83zRECjzXbMRTUtVZiPZG2pqKPnL2YU3A9645UCjTXU

-    +jgFumv7k78hieAGDzNci+PQ9KRmm//icT7JaYztgt4=

-  </SignatureValue>

-  <KeyInfo>

-    <KeyValue>

-      <RSAKeyValue>

-        <Modulus>

-          uCiukpgOaOmrq1fPUTH3CAXxuFmPjsmS4jnTKxrv0w1JKcXtJ2M3akaV1d/karvJ

-          lmeao20jNy9r+/vKwibjM77F+3bIkeMEGmAIUnFciJkR+ihO7b4cTuYnEi8xHtu4

-          iMn6GODBoEzqFQYdd8p4vrZBsvs44nTrS8qyyhba648=

-        </Modulus>

-        <Exponent>

-          AQAB

-        </Exponent>

-      </RSAKeyValue>

-    </KeyValue>

-    <X509Data>

-      <X509SubjectName>

-        CN=Merlin Hughes,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE

-      </X509SubjectName>

-      <X509IssuerSerial>

-        <X509IssuerName>

-          CN=Test RSA CA,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE

-        </X509IssuerName>

-        <X509SerialNumber>970849928</X509SerialNumber>

-      </X509IssuerSerial>

-      <X509Certificate>

-        MIICeDCCAeGgAwIBAgIEOd3+iDANBgkqhkiG9w0BAQQFADBbMQswCQYDVQQGEwJJ

-        RTEPMA0GA1UECBMGRHVibGluMSUwIwYDVQQKExxCYWx0aW1vcmUgVGVjaG5vbG9n

-        aWVzLCBMdGQuMRQwEgYDVQQDEwtUZXN0IFJTQSBDQTAeFw0wMDEwMDYxNjMyMDda

-        Fw0wMTEwMDYxNjMyMDRaMF0xCzAJBgNVBAYTAklFMQ8wDQYDVQQIEwZEdWJsaW4x

-        JTAjBgNVBAoTHEJhbHRpbW9yZSBUZWNobm9sb2dpZXMsIEx0ZC4xFjAUBgNVBAMT

-        DU1lcmxpbiBIdWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALgorpKY

-        Dmjpq6tXz1Ex9wgF8bhZj47JkuI50ysa79MNSSnF7SdjN2pGldXf5Gq7yZZnmqNt

-        Izcva/v7ysIm4zO+xft2yJHjBBpgCFJxXIiZEfooTu2+HE7mJxIvMR7buIjJ+hjg

-        waBM6hUGHXfKeL62QbL7OOJ060vKssoW2uuPAgMBAAGjRzBFMB4GA1UdEQQXMBWB

-        E21lcmxpbkBiYWx0aW1vcmUuaWUwDgYDVR0PAQH/BAQDAgeAMBMGA1UdIwQMMAqA

-        CEngrZIVgu03MA0GCSqGSIb3DQEBBAUAA4GBAHJu4JVq/WnXK2oqqfLWqes5vHOt

-        fX/ZhCjFyDMhzslI8am62gZedwZ9IIZIwlNRMvEDQB2zds/eEBnIAQPl/yRLCLOf

-        ZnbA8PXrbFP5igs3qQWScBUjZVjik748HU2sUVZOa90c0mJl2vJs/RwyLW7/uCAf

-        C/I/k9xGr7fneoIW

-      </X509Certificate>

-    </X509Data>

-  </KeyInfo>

-</Signature>

-

diff --git a/v2/test/cases/xbean/misc/signature-example.xml b/v2/test/cases/xbean/misc/signature-example.xml
deleted file mode 100755
index d42dab5..0000000
--- a/v2/test/cases/xbean/misc/signature-example.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version='1.0'?>

-<!DOCTYPE Signature SYSTEM "xmldsig-core-schema.dtd" [

-<!ENTITY dsig "http://www.w3.org/2000/09/xmldsig#">

-   <!ENTITY % SignatureProperty.ANY '| ts:timestamp'>

-   <!ELEMENT ts:timestamp (#PCDATA)>

-   <!ATTLIST ts:timestamp

-             xmlns:ts	CDATA	#FIXED   'http://www.example.org/rfc/rfcxxxx.txt'>

-   <!ATTLIST Signature

-             xmlns:xsi  CDATA #FIXED   'http://www.w3.org/2001/XMLSchema-instance'

-             xsi:schemaLocation	CDATA	#REQUIRED>

-]>

-<Signature Id="MyFirstSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"

-   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-   xsi:schemaLocation="http://www.w3.org/2000/09/xmldsig#

-   xmldsig-core-schema.xsd">

-  <SignedInfo> 

-	 <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/WD-xml-c14n-20000710">

-	 </CanonicalizationMethod>

-	 <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa">

-	 </SignatureMethod>

-	 <Reference URI="http://www.w3.org/TR/xml-stylesheet/"> 

-		<Transforms> 

-		  <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>

-		  <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#null"/>

-		</Transforms> 

-		<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"> 

-		</DigestMethod>

-		<DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue> 

-	 </Reference> 

-	 <Reference URI="http://www.w3.org/TR/REC-xml-names/"> 

-		<Transforms> 

-		  <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/> 

-		</Transforms> 

-		<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"> 

-		</DigestMethod>

-		<DigestValue>UrXLDLBIta6skoV5/A8Q38GEw44=</DigestValue> 

-	 </Reference> 	 

-  </SignedInfo> 

-  <SignatureValue>MC0CFFrVLtRlkMc3Daon4BqqnkhCOlEaAhUAk8pH1iRNK+q1I+sisDTz2TFEALE=</SignatureValue> 

-  <KeyInfo>

-    <KeyValue>

-      <DSAKeyValue>

-        <P>...</P><Q>...</Q><G>...</G><Y>...</Y>

-      </DSAKeyValue> 

-    </KeyValue> 

-  </KeyInfo>

-  <Object>

-     <SignatureProperties>

-        <SignatureProperty Target="#MyFirstSignature">

-          <ts:timestamp xmlns:ts="http://www.example.org/rfc/rfcxxxx.txt">

-           this is a test of the mixed content model</ts:timestamp>

-        </SignatureProperty>

-      </SignatureProperties>

-  </Object>

-</Signature>

diff --git a/v2/test/cases/xbean/misc/xkms-1.0.wsdl b/v2/test/cases/xbean/misc/xkms-1.0.wsdl
deleted file mode 100755
index c6c8d41..0000000
--- a/v2/test/cases/xbean/misc/xkms-1.0.wsdl
+++ /dev/null
Binary files differ
diff --git a/v2/test/cases/xbean/misc/xmldsig-core-schema.xsd b/v2/test/cases/xbean/misc/xmldsig-core-schema.xsd
deleted file mode 100755
index 753ab96..0000000
--- a/v2/test/cases/xbean/misc/xmldsig-core-schema.xsd
+++ /dev/null
@@ -1,309 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>

-

-<!-- Schema for XML Signatures

-    http://www.w3.org/2000/09/xmldsig#

-    $Revision: 1.1 $ on $Date: 2004/06/08 19:37:57 $ by $Author: daveremy $

-

-    Copyright 2001 The Internet Society and W3C (Massachusetts Institute

-    of Technology, Institut National de Recherche en Informatique et en

-    Automatique, Keio University). All Rights Reserved.

-    http://www.w3.org/Consortium/Legal/

-

-    This document is governed by the W3C Software License [1] as described

-    in the FAQ [2].

-

-    [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720

-    [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD

--->

-

-

-<schema xmlns="http://www.w3.org/2001/XMLSchema"

-        xmlns:ds="http://www.w3.org/2000/09/xmldsig#"

-        targetNamespace="http://www.w3.org/2000/09/xmldsig#"

-        version="0.1" elementFormDefault="qualified"> 

-

-<!-- Basic Types Defined for Signatures -->

-

-<simpleType name="CryptoBinary">

-  <restriction base="base64Binary">

-  </restriction>

-</simpleType>

-

-<!-- Start Signature -->

-

-<element name="Signature" type="ds:SignatureType"/>

-<complexType name="SignatureType">

-  <sequence> 

-    <element ref="ds:SignedInfo"/> 

-    <element ref="ds:SignatureValue"/> 

-    <element ref="ds:KeyInfo" minOccurs="0"/> 

-    <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/> 

-  </sequence>  

-  <attribute name="Id" type="ID" use="optional"/>

-</complexType>

-

-  <element name="SignatureValue" type="ds:SignatureValueType"/> 

-  <complexType name="SignatureValueType">

-    <simpleContent>

-      <extension base="base64Binary">

-        <attribute name="Id" type="ID" use="optional"/>

-      </extension>

-    </simpleContent>

-  </complexType>

-

-<!-- Start SignedInfo -->

-

-<element name="SignedInfo" type="ds:SignedInfoType"/>

-<complexType name="SignedInfoType">

-  <sequence> 

-    <element ref="ds:CanonicalizationMethod"/> 

-    <element ref="ds:SignatureMethod"/> 

-    <element ref="ds:Reference" maxOccurs="unbounded"/> 

-  </sequence>  

-  <attribute name="Id" type="ID" use="optional"/> 

-</complexType>

-

-  <element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/> 

-  <complexType name="CanonicalizationMethodType" mixed="true">

-    <sequence>

-      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>

-      <!-- (0,unbounded) elements from (1,1) namespace -->

-    </sequence>

-    <attribute name="Algorithm" type="anyURI" use="required"/> 

-  </complexType>

-

-  <element name="SignatureMethod" type="ds:SignatureMethodType"/>

-  <complexType name="SignatureMethodType" mixed="true">

-    <sequence>

-      <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>

-      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>

-      <!-- (0,unbounded) elements from (1,1) external namespace -->

-    </sequence>

-    <attribute name="Algorithm" type="anyURI" use="required"/> 

-  </complexType>

-

-<!-- Start Reference -->

-

-<element name="Reference" type="ds:ReferenceType"/>

-<complexType name="ReferenceType">

-  <sequence> 

-    <element ref="ds:Transforms" minOccurs="0"/> 

-    <element ref="ds:DigestMethod"/> 

-    <element ref="ds:DigestValue"/> 

-  </sequence>

-  <attribute name="Id" type="ID" use="optional"/> 

-  <attribute name="URI" type="anyURI" use="optional"/> 

-  <attribute name="Type" type="anyURI" use="optional"/> 

-</complexType>

-

-  <element name="Transforms" type="ds:TransformsType"/>

-  <complexType name="TransformsType">

-    <sequence>

-      <element ref="ds:Transform" maxOccurs="unbounded"/>  

-    </sequence>

-  </complexType>

-

-  <element name="Transform" type="ds:TransformType"/>

-  <complexType name="TransformType" mixed="true">

-    <choice minOccurs="0" maxOccurs="unbounded"> 

-      <any namespace="##other" processContents="lax"/>

-      <!-- (1,1) elements from (0,unbounded) namespaces -->

-      <element name="XPath" type="string"/> 

-    </choice>

-    <attribute name="Algorithm" type="anyURI" use="required"/> 

-  </complexType>

-

-<!-- End Reference -->

-

-<element name="DigestMethod" type="ds:DigestMethodType"/>

-<complexType name="DigestMethodType" mixed="true"> 

-  <sequence>

-    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>

-  </sequence>    

-  <attribute name="Algorithm" type="anyURI" use="required"/> 

-</complexType>

-

-<element name="DigestValue" type="ds:DigestValueType"/>

-<simpleType name="DigestValueType">

-  <restriction base="base64Binary"/>

-</simpleType>

-

-<!-- End SignedInfo -->

-

-<!-- Start KeyInfo -->

-

-<element name="KeyInfo" type="ds:KeyInfoType"/> 

-<complexType name="KeyInfoType" mixed="true">

-  <choice maxOccurs="unbounded">     

-    <element ref="ds:KeyName"/> 

-    <element ref="ds:KeyValue"/> 

-    <element ref="ds:RetrievalMethod"/> 

-    <element ref="ds:X509Data"/> 

-    <element ref="ds:PGPData"/> 

-    <element ref="ds:SPKIData"/>

-    <element ref="ds:MgmtData"/>

-    <any processContents="lax" namespace="##other"/>

-    <!-- (1,1) elements from (0,unbounded) namespaces -->

-  </choice>

-  <attribute name="Id" type="ID" use="optional"/> 

-</complexType>

-

-  <element name="KeyName" type="string"/>

-  <element name="MgmtData" type="string"/>

-

-  <element name="KeyValue" type="ds:KeyValueType"/> 

-  <complexType name="KeyValueType" mixed="true">

-   <choice>

-     <element ref="ds:DSAKeyValue"/>

-     <element ref="ds:RSAKeyValue"/>

-     <any namespace="##other" processContents="lax"/>

-   </choice>

-  </complexType>

-

-  <element name="RetrievalMethod" type="ds:RetrievalMethodType"/> 

-  <complexType name="RetrievalMethodType">

-    <sequence>

-      <element ref="ds:Transforms" minOccurs="0"/> 

-    </sequence>  

-    <attribute name="URI" type="anyURI"/>

-    <attribute name="Type" type="anyURI" use="optional"/>

-  </complexType>

-

-<!-- Start X509Data -->

-

-<element name="X509Data" type="ds:X509DataType"/> 

-<complexType name="X509DataType">

-  <sequence maxOccurs="unbounded">

-    <choice>

-      <element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>

-      <element name="X509SKI" type="base64Binary"/>

-      <element name="X509SubjectName" type="string"/>

-      <element name="X509Certificate" type="base64Binary"/>

-      <element name="X509CRL" type="base64Binary"/>

-      <any namespace="##other" processContents="lax"/>

-    </choice>

-  </sequence>

-</complexType>

-

-<complexType name="X509IssuerSerialType"> 

-  <sequence> 

-    <element name="X509IssuerName" type="string"/> 

-    <element name="X509SerialNumber" type="integer"/> 

-  </sequence>

-</complexType>

-

-<!-- End X509Data -->

-

-<!-- Begin PGPData -->

-

-<element name="PGPData" type="ds:PGPDataType"/> 

-<complexType name="PGPDataType"> 

-  <choice>

-    <sequence>

-      <element name="PGPKeyID" type="base64Binary"/> 

-      <element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/> 

-      <any namespace="##other" processContents="lax" minOccurs="0"

-       maxOccurs="unbounded"/>

-    </sequence>

-    <sequence>

-      <element name="PGPKeyPacket" type="base64Binary"/> 

-      <any namespace="##other" processContents="lax" minOccurs="0"

-       maxOccurs="unbounded"/>

-    </sequence>

-  </choice>

-</complexType>

-

-<!-- End PGPData -->

-

-<!-- Begin SPKIData -->

-

-<element name="SPKIData" type="ds:SPKIDataType"/> 

-<complexType name="SPKIDataType">

-  <sequence maxOccurs="unbounded">

-    <element name="SPKISexp" type="base64Binary"/>

-    <any namespace="##other" processContents="lax" minOccurs="0"/>

-  </sequence>

-</complexType> 

-

-<!-- End SPKIData -->

-

-<!-- End KeyInfo -->

-

-<!-- Start Object (Manifest, SignatureProperty) -->

-

-<element name="Object" type="ds:ObjectType"/> 

-<complexType name="ObjectType" mixed="true">

-  <sequence minOccurs="0" maxOccurs="unbounded">

-    <any namespace="##any" processContents="lax"/>

-  </sequence>

-  <attribute name="Id" type="ID" use="optional"/> 

-  <attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->

-  <attribute name="Encoding" type="anyURI" use="optional"/> 

-</complexType>

-

-<element name="Manifest" type="ds:ManifestType"/> 

-<complexType name="ManifestType">

-  <sequence>

-    <element ref="ds:Reference" maxOccurs="unbounded"/> 

-  </sequence>

-  <attribute name="Id" type="ID" use="optional"/> 

-</complexType>

-

-<element name="SignatureProperties" type="ds:SignaturePropertiesType"/> 

-<complexType name="SignaturePropertiesType">

-  <sequence>

-    <element ref="ds:SignatureProperty" maxOccurs="unbounded"/> 

-  </sequence>

-  <attribute name="Id" type="ID" use="optional"/> 

-</complexType>

-

-   <element name="SignatureProperty" type="ds:SignaturePropertyType"/> 

-   <complexType name="SignaturePropertyType" mixed="true">

-     <choice maxOccurs="unbounded">

-       <any namespace="##other" processContents="lax"/>

-       <!-- (1,1) elements from (1,unbounded) namespaces -->

-     </choice>

-     <attribute name="Target" type="anyURI" use="required"/> 

-     <attribute name="Id" type="ID" use="optional"/> 

-   </complexType>

-

-<!-- End Object (Manifest, SignatureProperty) -->

-

-<!-- Start Algorithm Parameters -->

-

-<simpleType name="HMACOutputLengthType">

-  <restriction base="integer"/>

-</simpleType>

-

-<!-- Start KeyValue Element-types -->

-

-<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>

-<complexType name="DSAKeyValueType">

-  <sequence>

-    <sequence minOccurs="0">

-      <element name="P" type="ds:CryptoBinary"/>

-      <element name="Q" type="ds:CryptoBinary"/>

-    </sequence>

-    <element name="G" type="ds:CryptoBinary" minOccurs="0"/>

-    <element name="Y" type="ds:CryptoBinary"/>

-    <element name="J" type="ds:CryptoBinary" minOccurs="0"/>

-    <sequence minOccurs="0">

-      <element name="Seed" type="ds:CryptoBinary"/>

-      <element name="PgenCounter" type="ds:CryptoBinary"/>

-    </sequence>

-  </sequence>

-</complexType>

-

-<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>

-<complexType name="RSAKeyValueType">

-  <sequence>

-    <element name="Modulus" type="ds:CryptoBinary"/> 

-    <element name="Exponent" type="ds:CryptoBinary"/> 

-  </sequence>

-</complexType> 

-

-<!-- End KeyValue Element-types -->

-

-<!-- End Signature -->

-

-</schema>

diff --git a/v2/test/cases/xbean/schema/typesonly/typesonly.xsd b/v2/test/cases/xbean/schema/typesonly/typesonly.xsd
deleted file mode 100755
index 451d4a1..0000000
--- a/v2/test/cases/xbean/schema/typesonly/typesonly.xsd
+++ /dev/null
@@ -1,60 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/typesonly"

-   targetNamespace="http://openuri.org/typesonly"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified" >

-

-  <xs:complexType name="person">

-    <xs:sequence>

-      <xs:element name="firstname" type="xs:string"/>

-      <xs:choice>

-        <xs:element name="age">

-           <xs:simpleType>

-             <xs:restriction base="xs:integer">

-               <xs:minInclusive value="1"/>

-               <xs:maxInclusive value="100"/>

-             </xs:restriction>

-           </xs:simpleType>

-        </xs:element>

-        <xs:element name="birthday" type="xs:date"/>

-      </xs:choice>

-        

-      <xs:element minOccurs="0" maxOccurs="unbounded" type="mt:person" name="child"/>

-    </xs:sequence>

-      

-    <xs:attribute name="gender">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="male"/>

-          <xs:enumeration value="female"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-      

-  </xs:complexType>

-

-  <xs:element name="record" type="mt:person"/>

-  

-  <xs:simpleType name="State">

-    <xs:restriction base="xs:string">

-      <xs:enumeration value="AK"/>

-      <xs:enumeration value="AL"/>

-      <xs:enumeration value="AS"/>

-      <xs:enumeration value="AZ"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="ListOfStates">

-    <xs:list itemType="mt:State"/>

-  </xs:simpleType>

-  

-  <xs:complexType name="candidate">

-    <xs:sequence>

-      <xs:element name="name" type="xs:string"/>

-      <xs:element name="states" type="mt:ListOfStates"/>

-    </xs:sequence>

-  </xs:complexType>

-  

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/simple/dumb/dumb.xml b/v2/test/cases/xbean/simple/dumb/dumb.xml
deleted file mode 100755
index 5a7e10a..0000000
--- a/v2/test/cases/xbean/simple/dumb/dumb.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>

-<root xmlns="dumbNS" xmlns:bar="barNS" b="3" bar:b="4"/>

diff --git a/v2/test/cases/xbean/simple/dumb/dumb.xsd b/v2/test/cases/xbean/simple/dumb/dumb.xsd
deleted file mode 100755
index 909ed25..0000000
--- a/v2/test/cases/xbean/simple/dumb/dumb.xsd
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>

-

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-        xmlns:bar="barNS"

-        xmlns="dumbNS"

-        targetNamespace="dumbNS"

-        elementFormDefault="qualified">

-

-    <xs:import namespace="barNS" schemaLocation="sub/bar.xsd" />

-

-    <xs:attribute name="a" type="xs:integer" />

-    <xs:attribute name="b" type="xs:integer" />

-    <xs:attribute name="c" type="xs:integer" />

-

-    <xs:element name="root">

-        <xs:complexType>

-            <xs:attribute ref="b"/>

-            <xs:attribute ref="bar:b"/>

-        </xs:complexType>

-    </xs:element>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/simple/dumb/sub/bar.xsd b/v2/test/cases/xbean/simple/dumb/sub/bar.xsd
deleted file mode 100755
index 4530236..0000000
--- a/v2/test/cases/xbean/simple/dumb/sub/bar.xsd
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-        xmlns="barNS"

-        targetNamespace="barNS"

-        elementFormDefault="qualified">

-

-    <xs:attribute name="a" type="xs:integer" />

-    <xs:attribute name="b" type="xs:integer" />

-    <xs:attribute name="c" type="xs:integer" />

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/simple/dupSchemaElements/DupElementsInSameSchema.xsd b/v2/test/cases/xbean/simple/dupSchemaElements/DupElementsInSameSchema.xsd
deleted file mode 100755
index 18eaea2..0000000
--- a/v2/test/cases/xbean/simple/dupSchemaElements/DupElementsInSameSchema.xsd
+++ /dev/null
@@ -1,8 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-           elementFormDefault="qualified"

-           targetNamespace="http://www.collision.org"

-           xmlns="http://www.interpo.org">

-    <xs:element name="City" type="xs:string"/>

-    <xs:element name="CITY" type="xs:long"/>

-    <xs:element name="CiTy" type="xs:float"/>

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/simple/dupSchemaElements/custOrdUdf.xsd b/v2/test/cases/xbean/simple/dupSchemaElements/custOrdUdf.xsd
deleted file mode 100755
index 800bef0..0000000
--- a/v2/test/cases/xbean/simple/dupSchemaElements/custOrdUdf.xsd
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>

-<!--Generated by Data View Builder 1.0. Conforms to w3c http://www.w3.org/2001/XMLSchema-->

-<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema"  >

-	<xsd:element name="RESULT">

-		<xsd:complexType>

-			<xsd:sequence>

-				<xsd:element name="CustomerOrder" minOccurs="0" maxOccurs="unbounded">

-					<xsd:complexType>

-						<xsd:sequence>

-							<xsd:element name="ORDER_DATE" type="xsd:date"/>

-							<xsd:element name="ORDER_ID" type="xsd:string"/>

-							<xsd:element name="CUSTOMER_ID" type="xsd:string"/>

-							<xsd:element name="SHIP_METHOD" type="xsd:string"/>

-							<xsd:element name="TOTAL_ORDER_AMOUNT" type="xsd:decimal"/>

-						</xsd:sequence>

-					</xsd:complexType>

-				</xsd:element>

-			</xsd:sequence>

-		</xsd:complexType>

-	</xsd:element>

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/simple/dupSchemaElements/viewtarget.xsd b/v2/test/cases/xbean/simple/dupSchemaElements/viewtarget.xsd
deleted file mode 100755
index 78f69d5..0000000
--- a/v2/test/cases/xbean/simple/dupSchemaElements/viewtarget.xsd
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>

-<!--Generated by Data View Builder 1.0. Conforms to w3c http://www.w3.org/2001/XMLSchema-->

-<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema">

-	<xsd:element name="result">

-		<xsd:complexType>

-			<xsd:sequence>

-				<xsd:element name="broadband" minOccurs="0" maxOccurs="unbounded">

-					<xsd:complexType>

-						<xsd:sequence>

-							<xsd:element name="ORDER_ID" type="xsd:string"/>

-							<xsd:element name="TOTAL_ORDER_AMOUNT" type="xsd:decimal"/>

-							<xsd:element name="CUSTOMER_ID" type="xsd:string"/>

-							<xsd:element name="FIRST_NAME" type="xsd:string"/>

-							<xsd:element name="LAST_NAME" type="xsd:string"/>

-						</xsd:sequence>

-					</xsd:complexType>

-				</xsd:element>

-				<xsd:element name="wireless" minOccurs="0" maxOccurs="unbounded">

-					<xsd:complexType>

-						<xsd:sequence>

-							<xsd:element name="ORDER_ID" type="xsd:string"/>

-							<xsd:element name="TOTAL_ORDER_AMOUNT" type="xsd:decimal"/>

-							<xsd:element name="CUSTOMER_ID" type="xsd:string"/>

-							<xsd:element name="FIRST_NAME" type="xsd:string"/>

-							<xsd:element name="LAST_NAME" type="xsd:string"/>

-						</xsd:sequence>

-					</xsd:complexType>

-				</xsd:element>

-			</xsd:sequence>

-		</xsd:complexType>

-	</xsd:element>

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/tranxml.tar.bz2 b/v2/test/cases/xbean/tranxml.tar.bz2
deleted file mode 100755
index 93d1af9..0000000
--- a/v2/test/cases/xbean/tranxml.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/v2/test/cases/xbean/xmlcursor/CarLocationMessage.xml b/v2/test/cases/xbean/xmlcursor/CarLocationMessage.xml
deleted file mode 100755
index 49574a4..0000000
--- a/v2/test/cases/xbean/xmlcursor/CarLocationMessage.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<CarLocationMessage xmlns="http://www.tranxml.org/TranXML/Version4.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.tranxml.org/TranXML/Version4.0 ..\schemas\CarLocationMessage.xsd" Transaction="CLM" Version="CLM">

-	<FleetID>FLEETNAME</FleetID>

-	<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-	<EventStatus>

-		<EquipmentStructure>

-			<Initial>GATX</Initial>

-			<EquipmentNumber>123456</EquipmentNumber>

-			<LoadEmptyCode>L</LoadEmptyCode>

-		</EquipmentStructure>

-		<Date>2001-03-23</Date>

-		<Time>12:34</Time>

-		<EventStatusCode>

-			<RailStatusCode>P</RailStatusCode>

-		</EventStatusCode>

-		<ReasonCode>Q12345</ReasonCode>

-		<GeographicLocation>

-			<CityName>DALLAS</CityName>

-			<StateOrProvinceCode>TX</StateOrProvinceCode>

-		</GeographicLocation>

-		<StandardCarrierAlphaCode>CSXT</StandardCarrierAlphaCode>

-		<Destination>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-		</Destination>

-		<ETA>

-			<GeographicLocation>

-				<CityName>DALLAS</CityName>

-				<StateOrProvinceCode>TX</StateOrProvinceCode>

-			</GeographicLocation>

-			<Date>2001-03-23</Date>

-			<Time>12:34</Time>

-			<ETA_Code>P</ETA_Code>

-		</ETA>

-		<AEI_IndicatorCode>Y</AEI_IndicatorCode>

-	</EventStatus>

-</CarLocationMessage>

diff --git a/v2/test/cases/xbean/xmlcursor/Employees.xml b/v2/test/cases/xbean/xmlcursor/Employees.xml
deleted file mode 100755
index d871a92..0000000
--- a/v2/test/cases/xbean/xmlcursor/Employees.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<xq:employees xmlns:xq="http://openuri.org/bea/samples/workshop/xmlBeans/xquery">

-  <xq:employee>

-    <xq:name>Fred Jones</xq:name>

-    <xq:address location="home">

-      <xq:street>900 Aurora Ave.</xq:street>

-      <xq:city>Seattle</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98115</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>2011 152nd Avenue NE</xq:street>

-      <xq:city>Redmond</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98052</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(425)555-5665</xq:phone>

-    <xq:phone location="home">(206)555-5555</xq:phone>

-    <xq:phone location="mobile">(206)555-4321</xq:phone>

-  </xq:employee>

-  <xq:employee>

-    <xq:name>Sally Smith</xq:name>

-    <xq:address location="home">

-      <xq:street>1430 Oak Place</xq:street>

-      <xq:city>Salem</xq:city>

-      <xq:state>OR</xq:state>

-      <xq:zip>97125</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>765 Main St.</xq:street>

-      <xq:city>Kaiser</xq:city>

-      <xq:state>OR</xq:state>

-      <xq:zip>97103</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(503)555-3856</xq:phone>

-    <xq:phone location="home">(503)555-6951</xq:phone>

-    <xq:phone location="mobile">(503)555-5152</xq:phone>

-  </xq:employee>

-  <xq:employee>

-    <xq:name>Gladys Kravitz</xq:name>

-    <xq:address location="home">

-      <xq:street>1313 Mockingbird Lane</xq:street>

-      <xq:city>Seattle</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98115</xq:zip>

-    </xq:address>

-    <xq:address location="work">

-      <xq:street>2011 152nd Avenue NE</xq:street>

-      <xq:city>Redmond</xq:city>

-      <xq:state>WA</xq:state>

-      <xq:zip>98052</xq:zip>

-    </xq:address>

-    <xq:phone location="work">(425)555-6897</xq:phone>

-    <xq:phone location="home">(206)555-6594</xq:phone>

-    <xq:phone location="mobile">(206)555-7894</xq:phone>

-  </xq:employee>

-</xq:employees>

diff --git a/v2/test/cases/xbean/xmlcursor/TranXML_License.txt b/v2/test/cases/xbean/xmlcursor/TranXML_License.txt
deleted file mode 100755
index f0c5474..0000000
--- a/v2/test/cases/xbean/xmlcursor/TranXML_License.txt
+++ /dev/null
@@ -1,118 +0,0 @@
-

-

-

-Download Schemas 

-

-TranXML® Open Source License Agreement 

-

-PURPOSE

-

-

-The purpose of this TranXML® Open Source License Agreement (the “License”) is to set forth the terms and conditions for the use of the Covered Work, as defined below. This License applies to the Original Work, and to any Modifications, which is collectively referred to as the “Covered Work” as such terms are defined in this License. The Covered Work is distributed for free. This License is designed to ensure that you have the right to obtain the Covered Work, distribute copies of the Covered Work, make Modifications to the Covered Work, or otherwise use portions of the Covered Work in new free code. Consistent with the foregoing, however, you have specific responsibilities regarding the Covered Work and any Modifications. These restrictions are designed to ensure that others cannot deny you the rights granted in this License, or require you to surrender these rights. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Covered Work is not restricted, and the output from the Covered Work is covered only if its contents constitute a Modification (independent of having been made by running the Covered Work).

-

-PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE CAREFULLY – IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, YOU ARE NOT GIVEN ANY RIGHTS TO THE COVERED WORK HEREUNDER. WHERE COVERED WORK IS BEING DOWNLOADED, IF AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE, CLICK ON THE BOX LABELED "I ACCEPT" AND THE COVERED WORK WILL BE DOWNLOADED TO YOUR COMPUTER. IF YOU DO NOT AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE, CLICK ON THE BOX LABELED "I DO NOT ACCEPT", AT WHICH POINT YOU WILL RETURN TO THE APPROPRIATE HOME PAGE WITHOUT THE COVERED WORK BEING DOWNLOADED.

-

-DEFINITIONS

-

-“Original Work” means the original TranXML® markup language described in the notice required by Exhibit A and which, at the time of its release under this License, is not already Covered Work governed by this License.

-

-“Covered Work” means the Original Work, Modifications, or the combination of the Original Work and Modifications, in each case including portions thereof.

-

-“Modification(s)” means any work that in whole or in part contains or is derived from the Covered Work or any part thereof.

-

-“Larger Work” means a work which combines Covered Work, or portions thereof, with code not covered by the terms of this License.

-

-“Initial Developer” means Transentric, a division of Union Pacific Corporation.

-

-“Contributor” means any individual or entity that creates or contributes to the creation of Modifications. To the extent you create Modifications, you shall also be considered a “Contributor” for the purpose of this License.

-

-“Contributor Version” means the combination of the Original Work, prior Modifications used by the Contributor, and the Modifications made by that particular Contributor.

-

-“You” means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity.

-

-“Source Code” means the preferred form of the Covered Work for making Modifications.

-

-“Executable(s)” means Covered Work in any form other than Source Code.

-

-GRANT OF LICENSE

-

-The Initial Developer Grant. Subject to the terms and conditions of this License, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:

-

-to use, reproduce, modify, display, perform, sublicense and distribute the Original Work (or portions thereof) with or without Modifications, or as part of a Larger Work; and 

-under patents now or hereafter owned or controlled by Initial Developer, to make, have made, use and sell ("Utilize") the Original Work (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Original Work (or portions thereof) and not to any greater extent than may be necessary to Utilize further Modifications or combinations. 

-Contributor Grant. Subject to the terms and conditions of this License, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims:

-

-to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Work or as part of a Larger Work; and 

-under patents now or hereafter owned or controlled by Contributor, to Utilize the Contributor Version (or portions thereof), but solely to the extent that any such patent is reasonably necessary to enable You to Utilize the Contributor Version (or portions thereof), and not to any greater extent than may be necessary to Utilize further Modifications or combinations. 

-Trademark Grant. The Initial Developer owns or has the rights to the following trademark: “TranXML®” (the “Licensed Trademark”). The Initial Developer hereby grants you a nonexclusive, nontransferable license to use its Licensed Trademark subject to the following restrictions:

-

-Use of the Licensed Trademark shall be permitted only for the limited purpose of indicating the Initial Developer as the copyright holder in and to the Original Work; 

-The Licensed Trademarks shall be placed prominently in all packaging, advertising and promotional materials used by you in distributing the Covered Work in a manner consistent with the Initial Developer’s use of the Licensed Trademark, or as otherwise reasonably directed by the Initial Developer; 

-You acknowledges that all right, title and interest in and to the Licensed Trademark is and shall remain with the Initial Developer; 

-You agree that you will do nothing inconsistent with such ownership and that all use of the Licensed Trademark shall inure to the benefit of and on behalf of the Initial Developer; 

-Nothing in this License shall give you any right, title or interest in the Licensed Trademark other than the right to use the Licensed Trademark in accordance with this License; 

-You further agree that you shall make no claim to or against the Initial Developer’s title to the Licensed Trademark, or register the same or any mark confusingly similar to the Licensed Trademarks; 

-Except as required in any copyright notice set forth in this License, nothing in this License shall give you the right to use the name or trademarks of any Contributors without their specific, written permission; 

-TERMS AND CONDITIONS OF LICENSE

-

-Original Work. You may use, copy and distribute verbatim copies of the Original Work as you receive it, in any medium, provided that you: 

-conspicuously and appropriately publish on each copy the appropriate attribution and disclaimer of warranty as set forth in this License; 

-keep intact all the notices that refer to this License and to the absence of any warranty; and 

-give any other recipients of the Original Work a copy of this License along with the Original Work. 

-You may charge a fee for the physical act of transferring a copy of the Original Work, and you may at your option offer warranty protection in exchange for a fee, all at your own risk as set forth in this License.

-

-Modifications to Covered Work. You may modify your copy or copies of the Covered Work or any portion of it, thus forming a Modification, and copy and distribute such Modifications under the terms of this License, provided that you also meet all of these conditions:

-

-You meet the attribution obligations set forth in this License; 

-You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Covered Work or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License; and 

-If the Modification normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice disclaiming any warranty (or else, saying that you provide a warranty) and that users may redistribute the Modifications under these conditions, and telling the user how to view a copy of this License. Your Modification is not required to print an announcement if the Modification itself is interactive but does not normally print such an announcement. 

-Required Notices. You must cause all Covered Work to which you contribute to contain a file documenting the changes you made to create that Covered Work and the date of any change. You must duplicate the notice in Exhibit A in each file of the Covered Work, and this License in any documentation for the Covered Work, where you describe recipients' rights relating to Covered Work. This notice includes the name of the Initial Developer and any Contributor, and must be conspicuously placed in (a) the Source Code, and (b) in any Executable or related documentation in which you describe the origin or ownership of the Covered Work. If You created one or more Modification(s), You may add your name as a Contributor to the notice described in Exhibit A. If it is not possible to put such notice in a particular source code file due to its structure, then you must include such notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Work. However, you may do so only on your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by you alone, and you hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms you offer. You may create a Larger Work by combining Covered Work with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, you must make sure the requirements of this License are fulfilled for the Covered Work.

-

-Distribution of Covered Work. You may copy and distribute the Covered Work as an Executable under the terms of this License provided that you also do one of the following:

-

-Accompany it with the complete corresponding machine-readable Source Code, which must be distributed as set forth in this License on a medium customarily used for software interchange; or, 

-Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding Source Code, to be distributed as set forth in this License on a medium customarily used for software interchange; or 

-Accompany it with the information you received as to the offer to distribute corresponding Source Code. (This alternative is allowed only for noncommercial distribution and only if you received the program as an Executable with such an offer, in accord with the above.) 

-For an Executable work, Source Code must include all the Source Code for all modules the Executable contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the Source Code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the Executable runs, unless that component itself accompanies the Executable. If distribution of an Executable is made by offering access to copy from a designated place, then offering equivalent access to copy the Source Code from the same place counts as distribution of the Source Code, even though third parties are not compelled to copy the Source Code along with the Executable. 

-Other Distribution Obligations. The Modifications which You create or to which You contribute are governed by the terms of this License. The Source Code version of the Covered Work may be distributed only under the terms of this License or a future version of this License, and you must include a copy of this License with every copy of the Covered Work you distribute. You may not offer or impose any terms on any Covered Work version that alters or restricts the applicable version of this License or the recipients' rights hereunder. These requirements apply to the Modification as a whole. If identifiable sections of that work are not derived from the Covered Work, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. When you distribute the same sections as part of a Larger Work, the distribution of the Larger Work must be on the terms of this License, whose permissions for other licensees extend to the Larger Work, and thus to each and every part regardless of who wrote it. It is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Covered Work. In addition, mere aggregation of independent and separate work(s) with the Covered Work on a volume of a storage or distribution medium does not bring the other work under the scope of this License. You may distribute the Executable version of Covered Work under a license of your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the executable version does not attempt to limit or alter the recipient's rights in the source code version from the rights set forth in this License. If you distribute the executable version under a different license, you must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms you offer.

-

-RESTRICTIONS

-

-You may not copy, modify, sublicense, or distribute the Covered Work except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Covered Work is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Covered Work or its Modifications. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Covered Work (or any work based on the Covered Work), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Covered Work or works based on it.

-

-If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Work due to statute or regulation, then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included with all distributions of the Covered Work. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations (whether by court order, agreement or otherwise), then as a consequence you may not distribute the Covered Work at all. For example, if a patent license would not permit royalty-free redistribution of the Covered Work by all those who receive copies directly or indirectly through you, then the only way you could satisfy both the court order and this License would be to refrain entirely from distribution of the Covered Work. The purpose of this restriction is to ensure the integrity of the free distribution of the Covered Work.

-

-DISCLAIMER OF WARRANTY

-

-COVERED WORK IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED WORK IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED WORK IS WITH YOU, AND NEITHER THE INTIAL DEVELOPER NOR ANY CONTRIBUTOR IS UNDER ANY MAINTENANCE OR ENFORCEMENT OBLIGATION CONCERNING THE COVERED WORK AND THIS LICENSE. SHOULD ANY COVERED WORK PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED WORK IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.

-

-TERMINATION

-

-This License and the rights granted hereunder will terminate automatically if you fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Work which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED WORK, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF SUCH COVERED WORK FAILS FOR ITS ESSENTIAL PURPOSE. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.

-

-U.S. GOVERNMENT END USERS

-

-The Covered Work is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Work with only those rights set forth herein.

-

-MISCELLANEOUS

-

-This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the laws of the State of Missouri, without regard to its choice of law rules as though all acts and omissions related to this Agreement occurred in that State. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in, the United States of America: [IF ARBITRATION SOUGHT: (a) unless otherwise agreed in writing, all disputes relating to this License (excepting any dispute relating to intellectual property rights) shall be subject to final and binding arbitration, with the losing party paying all costs of arbitration; (b) any arbitration relating to this Agreement shall be held in St. Louis, Missouri, under the auspices of the American Arbitration Association; and (c)] any litigation relating to this Agreement shall be subject to the jurisdiction of the state and federal courts of Missouri, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License.

-

-RESPONSIBILITY FOR CLAIMS

-

-You are responsible for damages arising, directly or indirectly, out of your utilization of rights under this License, based on the number of copies of Covered Work you made available, the revenues you received from utilizing such rights, and other relevant factors. You agree to work with affected parties to distribute responsibility on an equitable basis.

-

-VERSIONS OF LICENSE 

-

-The Initial Developer may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. Once Covered Work has been published under a particular version of the License, you may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by the Initial Developer. No one other than the Initial Developer has the right to modify the terms applicable to Covered Work created under this License.

-

-XML STATEMENT

-

-It is the Initial Developer’s intent that software which is free of any claims beyond the terms and conditions of this License be compatible with the GNU General Public License (“GPL”) [http://www.gnu.org/copyleft/gpl.html] and WorldWide Web Consortium Recommendation Extensible Markup Language Specification [http://www.w3.org/Consortium/Legal]

-

-EXHIBIT A

-

-"The contents of this file are subject to the TranXML® Public License Version 1.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.tranxml.org. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Transentric, a division of Union Pacific Corporation. Copyright © 2000-2001. Portions created by Contributor are Copyright © 2001. All Rights Reserved.

-

-Contributor(s):

-Kyle Miller, Gregg Dieckhaus, John Lutz, Randy Morin, Fred Domke

diff --git a/v2/test/cases/xbean/xmlcursor/W3C_Software_Licence.txt b/v2/test/cases/xbean/xmlcursor/W3C_Software_Licence.txt
deleted file mode 100755
index fefae21..0000000
--- a/v2/test/cases/xbean/xmlcursor/W3C_Software_Licence.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-W3C® SOFTWARE NOTICE AND LICENSE

-http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231

-This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.

-

-Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:

-

-The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 

-Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. 

-Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) 

-THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

-

-COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.

-

-The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.

-

-

-____________________________________

-

-This formulation of W3C's notice and license became active on December 31 2002. This version removes the copyright ownership notice such that this license can be used with materials other than those owned by the W3C, reflects that ERCIM is now a host of the W3C, includes references to this specific dated version of the license, and removes the ambiguous grant of "use". Otherwise, this version is the same as the previous version and is written so as to preserve the Free Software Foundation's assessment of GPL compatibility and OSI's certification under the Open Source Definition. Please see our Copyright FAQ for common questions about using materials from our site, including specific terms and conditions for packages like libwww, Amaya, and Jigsaw. Other questions about this notice can be directed to site-policy@w3.org.

- 

-

-Joseph Reagle <site-policy@w3.org> 

-Last revised by Reagle $Date: 2004/06/08 19:37:57 $

diff --git a/v2/test/cases/xbean/xmlcursor/doc.xml b/v2/test/cases/xbean/xmlcursor/doc.xml
deleted file mode 100755
index 4b2df2b..0000000
--- a/v2/test/cases/xbean/xmlcursor/doc.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>

-<doc xmlns:ext="http://somebody.elses.extension">

-  <a test="test" />

-  <b attr1="a1" attr2="a2"   

-  xmlns:java="http://xml.apache.org/xslt/java">

-    <a>

-    </a> 

-  </b>

-</doc><!-- -->         

diff --git a/v2/test/cases/xbean/xmlcursor/location.xsd b/v2/test/cases/xbean/xmlcursor/location.xsd
deleted file mode 100755
index 3859f39..0000000
--- a/v2/test/cases/xbean/xmlcursor/location.xsd
+++ /dev/null
@@ -1,36 +0,0 @@
-  <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-   xmlns:loc="http://xbean.test/xmlcursor/Location"

-   targetNamespace="http://xbean.test/xmlcursor/Location"

->

-	<xsd:element name="Location">

-		<xsd:complexType>

-			<xsd:sequence>

-				<xsd:element ref="loc:CityName" minOccurs="0"/>

-				<xsd:element ref="loc:StateCode" minOccurs="0"/>

-				<xsd:element ref="loc:PostalCode" minOccurs="0"/>

-				<xsd:element ref="loc:CountryCode" minOccurs="0"/>

-				<xsd:choice minOccurs="0">

-					<xsd:element ref="loc:LocationIdentifier"/>

-					<xsd:element ref="loc:SPLC"/>

-				</xsd:choice>

-				<xsd:element ref="loc:SubdivisionCode" minOccurs="0"/>

-			</xsd:sequence>

-		</xsd:complexType>

-	</xsd:element>

-

-	<xsd:element name="CityName" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="StateCode" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="PostalCode" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="CountryCode" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="LocationIdentifier" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="SPLC" type="xsd:string">

-	</xsd:element>

-	<xsd:element name="SubdivisionCode" type="xsd:string">

-	</xsd:element>

-

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/person.xsd b/v2/test/cases/xbean/xmlcursor/person.xsd
deleted file mode 100755
index 13f18f1..0000000
--- a/v2/test/cases/xbean/xmlcursor/person.xsd
+++ /dev/null
@@ -1,34 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   xmlns:person='person'

-   targetNamespace='person' elementFormDefault="qualified">

-

-  <xs:element name='Person' type='person:person'/>

-

-  <xs:complexType name='person'>

-    <xs:sequence>

-      <xs:element name='Name' type='person:name'/>

-      <xs:sequence maxOccurs='unbounded' minOccurs='0'>

-        <xs:element name='Sibling' type='person:person'/>

-      </xs:sequence>

-    </xs:sequence>

-    <xs:attribute name='Sex' type='person:sex'/>

-    <xs:attribute name='Birthday' type='xs:date'/>

-  </xs:complexType>

-

-  <xs:complexType name='name'>

-    <xs:sequence>

-      <xs:element name='First' type='xs:string'/>

-      <xs:element name='Last' type='xs:string'/>

-    </xs:sequence>

-  </xs:complexType>

-

-  <xs:simpleType name='sex'>

-    <xs:restriction base='xs:string'>

-      <xs:whiteSpace value='collapse'/>

-      <xs:enumeration value='male'/>

-      <xs:enumeration value='female'/>

-    </xs:restriction>

-  </xs:simpleType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlcursor/po.xml b/v2/test/cases/xbean/xmlcursor/po.xml
deleted file mode 100755
index 89524a8..0000000
--- a/v2/test/cases/xbean/xmlcursor/po.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>

-<po:purchaseOrder xmlns:po="http://xbean.test/xmlcursor/PurchaseOrder" orderDate="1999-10-20">

-    <po:shipTo country="US">

-        <po:name>Alice Smith</po:name>

-        <po:street>123 Maple Street</po:street>

-        <po:city>Mill Valley</po:city>

-        <po:state>CA</po:state>

-        <po:zip>90952</po:zip>

-    </po:shipTo>

-    <po:billTo country="US">

-        <po:name>Robert Smith</po:name>

-        <po:street>8 Oak Avenue</po:street>

-        <po:city>Old Town</po:city>

-        <po:state>PA</po:state>

-        <po:zip>95819</po:zip>

-    </po:billTo>

-    <po:comment>Hurry, my lawn is going wild!</po:comment>

-    <po:items>

-        <po:item partNum="872-AA">

-            <po:productName>Lawnmower</po:productName>

-            <po:quantity>1</po:quantity>

-            <po:USPrice>148.95</po:USPrice>

-            <po:comment>Confirm this is electric</po:comment>

-        </po:item>

-        <po:item partNum="926-AA">

-            <po:productName>Baby Monitor</po:productName>

-            <po:quantity>1</po:quantity>

-            <po:USPrice>39.98</po:USPrice>

-            <po:shipDate>1999-05-21</po:shipDate>

-        </po:item>

-    </po:items>

-</po:purchaseOrder>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/po.xsd b/v2/test/cases/xbean/xmlcursor/po.xsd
deleted file mode 100755
index f23216e..0000000
--- a/v2/test/cases/xbean/xmlcursor/po.xsd
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Michael Kintzer (BEA Systems) -->

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-xmlns:po="http://xbean.test/xmlcursor/PurchaseOrder"

-targetNamespace="http://xbean.test/xmlcursor/PurchaseOrder"

-elementFormDefault="qualified"

->

-	<xsd:annotation>

-		<xsd:documentation xml:lang="en">

-   Purchase order schema for Example.com.

-   Copyright 2000 Example.com. All rights reserved.

-  </xsd:documentation>

-	</xsd:annotation>

-	<xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>

-	<xsd:element name="comment" type="xsd:string"/>

-	<xsd:complexType name="PurchaseOrderType">

-		<xsd:sequence>

-			<xsd:element name="shipTo" type="po:USAddress"/>

-			<xsd:element name="billTo" type="po:USAddress"/>

-			<xsd:element ref="po:comment" minOccurs="0"/>

-			<xsd:element name="items" type="po:Items"/>

-		</xsd:sequence>

-		<xsd:attribute name="orderDate" type="xsd:date"/>

-	</xsd:complexType>

-	<xsd:complexType name="USAddress">

-		<xsd:sequence>

-			<xsd:element name="name" type="xsd:string" nillable="true"/>

-			<xsd:element name="street" type="xsd:string"/>

-			<xsd:element name="city" type="xsd:string"/>

-			<xsd:element name="state" type="xsd:string"/>

-			<xsd:element name="zip" type="xsd:decimal"/>

-		</xsd:sequence>

-		<xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>

-	</xsd:complexType>

-	<xsd:complexType name="Items">

-		<xsd:sequence>

-			<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">

-				<xsd:complexType>

-					<xsd:sequence>

-						<xsd:element name="productName" type="xsd:string"/>

-						<xsd:element name="quantity">

-							<xsd:simpleType>

-								<xsd:restriction base="xsd:positiveInteger">

-									<xsd:maxExclusive value="100"/>

-								</xsd:restriction>

-							</xsd:simpleType>

-						</xsd:element>

-						<xsd:element name="USPrice" type="xsd:decimal"/>

-						<xsd:element ref="po:comment" minOccurs="0"/>

-						<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>

-					</xsd:sequence>

-					<xsd:attribute name="partNum" type="po:SKU" use="required"/>

-				</xsd:complexType>

-			</xsd:element>

-		</xsd:sequence>

-	</xsd:complexType>

-	<!-- Stock Keeping Unit, a code for identifying products -->

-	<xsd:simpleType name="SKU">

-		<xsd:restriction base="xsd:string">

-			<xsd:pattern value="\d{3}-[A-Z]{2}"/>

-		</xsd:restriction>

-	</xsd:simpleType>

-</xsd:schema>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/LICENSE.txt b/v2/test/cases/xbean/xmlcursor/xpath/LICENSE.txt
deleted file mode 100755
index cd2eb68..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/LICENSE.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-The following xml files are courtesy of Zvon.org:

-

-"Legal notices

-Legal notices and terms of use 

-If not explicitly stated otherwise, the following applies for all material at the ZVON site:

-

-You can freely use and distribute anything you need, but you must give credit to ZVON and link to the ZVON site. It is not a question of copyright; this is simply the right and polite thing to do."
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/cdcatalog.xml b/v2/test/cases/xbean/xmlcursor/xpath/cdcatalog.xml
deleted file mode 100755
index c29a3f1..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/cdcatalog.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-<!-- Edited with XML Spy v4.2 -->

-<catalog>

-	<cd id="bobdylan">

-		<title>Empire Burlesque</title>

-		<artist>Bob Dylan</artist>

-		<country>USA</country>

-		<company>Columbia</company>

-		<price>10.90</price>

-		<year>1985</year>

-	</cd>

-	<cd id="id2">

-		<title>Hide your heart</title>

-		<artist>Bonnie Tyler</artist>

-		<country>UK</country>

-		<company>CBS Records</company>

-		<price>9.90</price>

-		<year>1988</year>

-	</cd>

-	<cd id="id3">

-		<title>Greatest Hits</title>

-		<artist>Dolly Parton</artist>

-		<country>USA</country>

-		<company>RCA</company>

-		<price>9.90</price>

-		<year>1982</year>

-	</cd>

-	<cd>

-		<title>Still got the blues</title>

-		<artist>Gary Moore</artist>

-		<country>UK</country>

-		<company>Virgin records</company>

-		<price>10.20</price>

-		<year>1990</year>

-	</cd>

-	<cd>

-		<title>Eros</title>

-		<artist>Eros Ramazzotti</artist>

-		<country>EU</country>

-		<company>BMG</company>

-		<price>9.90</price>

-		<year>1997</year>

-	</cd>

-	<cd>

-		<title>One night only</title>

-		<artist>Bee Gees</artist>

-		<country>UK</country>

-		<company>Polydor</company>

-		<price>10.90</price>

-		<year>1998</year>

-	</cd>

-	<cd>

-		<title>Sylvias Mother</title>

-		<artist>Dr.Hook</artist>

-		<country>UK</country>

-		<company>CBS</company>

-		<price>8.10</price>

-		<year>1973</year>

-	</cd>

-	<cd>

-		<title>Maggie May</title>

-		<artist>Rod Stewart</artist>

-		<country>UK</country>

-		<company>Pickwick</company>

-		<price>8.50</price>

-		<year>1990</year>

-	</cd>

-	<cd>

-		<title>Romanza</title>

-		<artist>Andrea Bocelli</artist>

-		<country>EU</country>

-		<company>Polydor</company>

-		<price>10.80</price>

-		<year>1996</year>

-	</cd>

-	<cd>

-		<title>When a man loves a woman</title>

-		<artist>Percy Sledge</artist>

-		<country>USA</country>

-		<company>Atlantic</company>

-		<price>8.70</price>

-		<year>1987</year>

-	</cd>

-	<cd>

-		<title>Black angel</title>

-		<artist>Savage Rose</artist>

-		<country>EU</country>

-		<company>Mega</company>

-		<price>10.90</price>

-		<year>1995</year>

-	</cd>

-	<cd>

-		<title>1999 Grammy Nominees</title>

-		<artist>Many</artist>

-		<country>USA</country>

-		<company>Grammy</company>

-		<price>10.20</price>

-		<year>1999</year>

-	</cd>

-	<cd>

-		<title>For the good times</title>

-		<artist>Kenny Rogers</artist>

-		<country>UK</country>

-		<company>Mucik Master</company>

-		<price>8.70</price>

-		<year>1995</year>

-	</cd>

-	<cd>

-		<title>Big Willie style</title>

-		<artist>Will Smith</artist>

-		<country>USA</country>

-		<company>Columbia</company>

-		<price>9.90</price>

-		<year>1997</year>

-	</cd>

-	<cd>

-		<title>Tupelo Honey</title>

-		<artist>Van Morrison</artist>

-		<country>UK</country>

-		<company>Polydor</company>

-		<price>8.20</price>

-		<year>1971</year>

-	</cd>

-	<cd>

-		<title>Soulsville</title>

-		<artist>Jorn Hoel</artist>

-		<country>Norway</country>

-		<company>WEA</company>

-		<price>7.90</price>

-		<year>1996</year>

-	</cd>

-	<cd>

-		<title>The very best of</title>

-		<artist>Cat Stevens</artist>

-		<country>UK</country>

-		<company>Island</company>

-		<price>8.90</price>

-		<year>1990</year>

-	</cd>

-	<cd>

-		<title>Stop</title>

-		<artist>Sam Brown</artist>

-		<country>UK</country>

-		<company>A and M</company>

-		<price>8.90</price>

-		<year>1988</year>

-	</cd>

-	<cd>

-		<title>Bridge of Spies</title>

-		<artist>T`Pau</artist>

-		<country>UK</country>

-		<company>Siren</company>

-		<price>7.90</price>

-		<year>1987</year>

-	</cd>

-	<cd>

-		<title>Private Dancer</title>

-		<artist>Tina Turner</artist>

-		<country>UK</country>

-		<company>Capitol</company>

-		<price>8.90</price>

-		<year>1983</year>

-	</cd>

-	<cd>

-		<title>Midt om natten</title>

-		<artist>Kim Larsen</artist>

-		<country>EU</country>

-		<company>Medley</company>

-		<price>7.80</price>

-		<year>1983</year>

-	</cd>

-	<cd>

-		<title>Pavarotti Gala Concert</title>

-		<artist>Luciano Pavarotti</artist>

-		<country>UK</country>

-		<company>DECCA</company>

-		<price>9.90</price>

-		<year>1991</year>

-	</cd>

-	<cd>

-		<title>The dock of the bay</title>

-		<artist>Otis Redding</artist>

-		<country>USA</country>

-		<company>Atlantic</company>

-		<price>7.90</price>

-		<year>1987</year>

-	</cd>

-	<cd>

-		<title>Picture book</title>

-		<artist>Simply Red</artist>

-		<country>EU</country>

-		<company>Elektra</company>

-		<price>7.20</price>

-		<year>1985</year>

-	</cd>

-	<cd>

-		<title>Red</title>

-		<artist>The Communards</artist>

-		<country>UK</country>

-		<company>London</company>

-		<price>7.80</price>

-		<year>1987</year>

-	</cd>

-	<cd>

-		<title>Unchain my heart</title>

-		<artist>Joe Cocker</artist>

-		<country>USA</country>

-		<company>EMI</company>

-		<price>8.20</price>

-		<year>1987</year>

-	</cd>

-</catalog>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/axis.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/axis.xml
deleted file mode 100755
index fe7cca8..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/axis.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>

-

-<root>

-

-  <a>

-    <a.1/>

-    <a.2/>

-    <a.3/>

-    <a.4/>

-    <a.5/>

-  </a>

-

-  <b>

-    <b.1/>

-    <b.2/>

-    <b.3/>

-    <b.4/>

-    <b.5/>

-    <b.6/>

-    <b.7/>

-    <b.8/>

-    <b.9/>

-  </b>

-

-</root>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basic.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basic.xml
deleted file mode 100755
index caf3fa9..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basic.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-

-<foo>

-    <bar>

-        <baz/>

-        <cheese/>

-        <baz/>

-        <cheese/>

-        <baz/>

-    </bar>

-</foo>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basicupdate.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basicupdate.xml
deleted file mode 100755
index 52bd0f7..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/basicupdate.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-

-<xu:modifications xmlns:xu="http://www.xmldb.org/xupdate">

-

-  <xu:append select="/foo/bar/cheese[1]">

-    Goudse kaas

-    <edam type="jong belegen">Rond</edam>

-  </xu:append>

-

-  <xu:remove select="/foo/bar/baz[2]"/>

-

-  <xu:if test="/foo">

-    <xu:insert-before select="/foo/bar/baz[2]">

-      <cheese>More cheese!</cheese>

-    </xu:insert-before>

-  </xu:if>

-

-  <xu:insert-before select="/foo/bar/baz[2]">

-    <cheese>Even more cheese!</cheese>

-  </xu:insert-before>

-

-  <xu:if test="/bar">

-    <xu:insert-before select="/foo/bar/baz[2]">

-      <sausages>No sausages today</sausages>

-    </xu:insert-before>

-  </xu:if>

-

-  <xu:variable

-    xmlns:private="http://www.jaxen.org/private"

-    name="private:twice">

-    <cracker/>

-    <!-- champagne -->

-    <?oisters with a bit of lemon?>

-  </xu:variable>

-

-  <xu:variable name="twice" select="'Twice'"/>

-  

-  <xu:insert-after

-    select="/foo/bar"

-    xmlns:private="http://www.jaxen.org/private"

-    >

-    <xu:value-of select="$private:twice"/>

-    <xu:value-of select="$private:twice"/>

-    <xu:value-of select="$twice"/>

-  </xu:insert-after>

-

-</xu:modifications>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/contents.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/contents.xml
deleted file mode 100755
index b309bda..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/contents.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0"?>

-

-<?xml-stylesheet href="XSL\JavaXML.html.xsl" type="text/xsl"?>

-<?xml-stylesheet href="XSL\JavaXML.wml.xsl" type="text/xsl" 

-                 media="wap"?>

-<?cocoon-process type="xslt"?>

-

-<!-- Java and XML -->

-<JavaXML:Book xmlns:JavaXML="http://www.oreilly.com/catalog/javaxml/" 

-              xmlns:ora="http://www.oreilly.com"

-              xmlns:unused="http://www.unused.com"

-              ora:category="Java" 

-> 

-  <!-- comment one -->

-  <!-- comment two -->

-

- <JavaXML:Title>Java and XML</JavaXML:Title>

- <JavaXML:Contents xmlns:topic="http://www.oreilly.com/topics">

-  <JavaXML:Chapter topic:focus="XML">

-   <JavaXML:Heading>Introduction</JavaXML:Heading>

-   <JavaXML:Topic subSections="7">

-     What Is It?

-   </JavaXML:Topic>

-   <JavaXML:Topic subSections="3">

-     How Do I Use It?

-   </JavaXML:Topic>

-   <JavaXML:Topic subSections="4">

-     Why Should I Use It?

-   </JavaXML:Topic>

-   <JavaXML:Topic subSections="0">

-     What's Next?

-   </JavaXML:Topic>

-  </JavaXML:Chapter>

-

-  <JavaXML:Chapter topic:focus="XML">

-   <JavaXML:Heading>Creating XML</JavaXML:Heading>

-   <JavaXML:Topic subSections="0">An XML Document</JavaXML:Topic>

-   <JavaXML:Topic subSections="2">The Header</JavaXML:Topic>

-   <JavaXML:Topic subSections="6">The Content</JavaXML:Topic>

-   <JavaXML:Topic subSections="1">What's Next?</JavaXML:Topic>

-  </JavaXML:Chapter>

-

-  <JavaXML:Chapter topic:focus="Java">

-   <JavaXML:Heading>Parsing XML</JavaXML:Heading>

-   <JavaXML:Topic subSections="3">Getting Prepared</JavaXML:Topic>

-   <JavaXML:Topic subSections="3">SAX Readers</JavaXML:Topic>

-   <JavaXML:Topic subSections="9">Content Handlers</JavaXML:Topic>

-   <JavaXML:Topic subSections="4">Error Handlers</JavaXML:Topic>

-   <JavaXML:Topic subSections="0">

-     A Better Way to Load a Parser

-   </JavaXML:Topic>

-   <JavaXML:Topic subSections="4">"Gotcha!"</JavaXML:Topic>

-   <JavaXML:Topic subSections="0">What's Next?</JavaXML:Topic>

-  </JavaXML:Chapter>

-

-  <JavaXML:SectionBreak/>

-

-  <JavaXML:Chapter topic:focus="Java">

-   <JavaXML:Heading>Web Publishing Frameworks</JavaXML:Heading>

-   <JavaXML:Topic subSections="4">Selecting a Framework</JavaXML:Topic>

-   <JavaXML:Topic subSections="4">Installation</JavaXML:Topic>

-   <JavaXML:Topic subSections="3">

-     Using a Publishing Framework

-   </JavaXML:Topic>

-   <JavaXML:Topic subSections="2">XSP</JavaXML:Topic>

-   <JavaXML:Topic subSections="3">Cocoon 2.0 and Beyond</JavaXML:Topic>

-   <JavaXML:Topic subSections="0">What's Next?</JavaXML:Topic>

-  </JavaXML:Chapter>

- </JavaXML:Contents>

-</JavaXML:Book>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/defaultNamespace.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/defaultNamespace.xml
deleted file mode 100755
index d5cb3c6..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/defaultNamespace.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>

-<a xmlns="http://dummyNamespace/">

-  <b>

-    <c>Hello</c>

-  </b>

-</a>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/evaluate.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/evaluate.xml
deleted file mode 100755
index bf919a3..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/evaluate.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-

-<evaluate>

-  <data>

-    <jumps>

-      <subject>

-        <the/>

-        <fox color="brown"/>

-        <speed category="quick"/>

-      </subject>

-      <over/>

-      <object>

-        <the/>

-        <dog color="unspecified"/>

-        <speed category="lazy"/>

-      </object>

-    </jumps>

-  </data>

-       

-  <!-- there is one element with attribute color="brown" should this

-  meta-test should succeed -->

-  

-  <metatest select="//@color">brown</metatest>

- 

-  <!-- there is no element with attribute category="moderate" -->

-  <metatest select="//speed/@category">moderate</metatest>

-

-</evaluate>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/fibo.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/fibo.xml
deleted file mode 100755
index 624988a..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/fibo.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<Fibonacci_Numbers>

-  <fibonacci index="0">0</fibonacci>

-  <fibonacci index="1">1</fibonacci>

-  <fibonacci index="2">1</fibonacci>

-  <fibonacci index="3">2</fibonacci>

-  <fibonacci index="4">3</fibonacci>

-  <fibonacci index="5">5</fibonacci>

-  <fibonacci index="6">8</fibonacci>

-  <fibonacci index="7">13</fibonacci>

-  <fibonacci index="8">21</fibonacci>

-  <fibonacci index="9">34</fibonacci>

-  <fibonacci index="10">55</fibonacci>

-  <fibonacci index="11">89</fibonacci>

-  <fibonacci index="12">144</fibonacci>

-  <fibonacci index="13">233</fibonacci>

-  <fibonacci index="14">377</fibonacci>

-  <fibonacci index="15">610</fibonacci>

-  <fibonacci index="16">987</fibonacci>

-  <fibonacci index="17">1597</fibonacci>

-  <fibonacci index="18">2584</fibonacci>

-  <fibonacci index="19">4181</fibonacci>

-  <fibonacci index="20">6765</fibonacci>

-  <fibonacci index="21">10946</fibonacci>

-  <fibonacci index="22">17711</fibonacci>

-  <fibonacci index="23">28657</fibonacci>

-  <fibonacci index="24">46368</fibonacci>

-  <fibonacci index="25">75025</fibonacci>

-</Fibonacci_Numbers>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/id.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/id.xml
deleted file mode 100755
index 84733b6..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/id.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>

-

-<!DOCTYPE foo [

-

-<!ELEMENT foo (bar)>

-<!ATTLIST foo id CDATA #IMPLIED>

-<!ELEMENT bar (#PCDATA|cheese)*>

-<!ATTLIST bar id ID #REQUIRED>

-<!ELEMENT cheese (#PCDATA)>

-<!ATTLIST cheese kind ID #IMPLIED>

-]>

-

-<foo id="foobar">

-  <bar id="fb1">

-    baz

-    <cheese kind="edam">gouda</cheese>

-    baz

-    <cheese kind="gouda">cheddar</cheese>

-    baz

-  </bar>

-</foo>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/lang.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/lang.xml
deleted file mode 100755
index e1c02eb..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/lang.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>

-<e1 xml:lang="hr">

-  <e2 xml:lang="en-US">

-    <e3/>

-  </e2>

-  <e2 xml:lang="hu">

-    <e3/>

-    <e3/>

-    <e3 xml:lang="es"/>

-  </e2>

-</e1>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/message.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/message.xml
deleted file mode 100755
index 808a02c..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/message.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-<message>

-  <header>

-    <service>lookupformservice</service>

-    <connectionid>9</connectionid>

-    <appid>stammdaten</appid>

-    <action>new</action>

-  </header>

-  <body>

-    <data>

-      <items>

-        <item>

-          <name>iteminfo</name>

-          <value>ELE</value>

-        </item>

-        <item>

-          <name>parentinfo</name>

-          <value>Pruefgebiete</value>

-        </item>

-        <item>

-          <name>id</name>

-          <value>1</value>

-        </item>

-      </items>

-    </data>

-  </body>

-</message>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/moreover.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/moreover.xml
deleted file mode 100755
index ee7f549..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/moreover.xml
+++ /dev/null
@@ -1,244 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>

-   <moreovernews>

-      <article code="13563275">

-         <url>http://c.moreover.com/click/here.pl?x13563273</url>

-         <headline_text>e-Commerce Operators Present Version 1.0 of the XML Standard</headline_text>

-         <source>StockAccess</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.stockaccess.com/index.html</document_url>

-         <harvest_time>Dec 24 2000  6:28AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13560996">

-         <url>http://c.moreover.com/click/here.pl?x13560995</url>

-         <headline_text>W3C Publishes XML Protocol Requirements Document</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 24 2000 12:22AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13553522">

-         <url>http://c.moreover.com/click/here.pl?x13553521</url>

-         <headline_text>Prowler: Open Source XML-Based Content Management Framework</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 23 2000  2:05PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13549014">

-         <url>http://c.moreover.com/click/here.pl?x13549013</url>

-         <headline_text>The Middleware Company Debuts Public Training Courses in Ejb, J2ee And Xml</headline_text>

-         <source>Java Industry Connection</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://industry.java.sun.com/javanews/more/hotnews/</document_url>

-         <harvest_time>Dec 23 2000 12:15PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13544468">

-         <url>http://c.moreover.com/click/here.pl?x13544467</url>

-         <headline_text>Revised Working Draft for the W3C XML Information Set</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 23 2000  5:50AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13534837">

-         <url>http://c.moreover.com/click/here.pl?x13534836</url>

-         <headline_text>XML: Its The Great Peacemaker</headline_text>

-         <source>ZDNet</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.zdnet.com/intweek/</document_url>

-         <harvest_time>Dec 22 2000  9:05PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13533486">

-         <url>http://c.moreover.com/click/here.pl?x13533485</url>

-         <headline_text>Project eL - The XML Leningrad Codex Markup Project</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 22 2000  8:34PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13533489">

-         <url>http://c.moreover.com/click/here.pl?x13533488</url>

-         <headline_text>XML Linking Language (XLink) and XML Base Specifications Issued as W3C Proposed Recommenda</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 22 2000  8:34PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13533493">

-         <url>http://c.moreover.com/click/here.pl?x13533492</url>

-         <headline_text>W3C Releases XHTML Basic Specification as a W3C Recommendation</headline_text>

-         <source>Xml</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.xml.com/</document_url>

-         <harvest_time>Dec 22 2000  8:34PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13521835">

-         <url>http://c.moreover.com/click/here.pl?x13521827</url>

-         <headline_text>Java, Xml And Oracle9i(TM) Make A Great Team</headline_text>

-         <source>Java Industry Connection</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://industry.java.sun.com/javanews/more/hotnews/</document_url>

-         <harvest_time>Dec 22 2000  3:21PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13512020">

-         <url>http://c.moreover.com/click/here.pl?x13511233</url>

-         <headline_text>Competing initiatives to vie for security standard</headline_text>

-         <source>ZDNet</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.zdnet.com/eweek/filters/news/</document_url>

-         <harvest_time>Dec 22 2000 10:54AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13492401">

-         <url>http://c.moreover.com/click/here.pl?x13492397</url>

-         <headline_text>Oracle Provides Developers with Great Xml Reading This Holiday Season</headline_text>

-         <source>Java Industry Connection</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://industry.java.sun.com/javanews/more/hotnews/</document_url>

-         <harvest_time>Dec 21 2000  8:08PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13491296">

-         <url>http://c.moreover.com/click/here.pl?x13491292</url>

-         <headline_text>XML as the great peacemaker - Extensible Markup Language Accomplished The Seemingly Impossible This Year: It B</headline_text>

-         <source>Hospitality Net</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.hospitalitynet.org/news/list.htm?c=2000</document_url>

-         <harvest_time>Dec 21 2000  7:45PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13484761">

-         <url>http://c.moreover.com/click/here.pl?x13484758</url>

-         <headline_text>XML as the great peacemaker</headline_text>

-         <source>CNET</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://news.cnet.com/news/0-1003.html?tag=st.ne.1002.dir.1003</document_url>

-         <harvest_time>Dec 21 2000  4:41PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13480897">

-         <url>http://c.moreover.com/click/here.pl?x13480896</url>

-         <headline_text>COOP Switzerland Selects Mercator as Integration Platform</headline_text>

-         <source>Stockhouse Canada</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.stockhouse.ca/news/</document_url>

-         <harvest_time>Dec 21 2000  1:55PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13471024">

-         <url>http://c.moreover.com/click/here.pl?x13471023</url>

-         <headline_text>Competing XML Specs Move Toward a Union</headline_text>

-         <source>Internet World</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://www.internetworld.com/</document_url>

-         <harvest_time>Dec 21 2000 11:14AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13452281">

-         <url>http://c.moreover.com/click/here.pl?x13452280</url>

-         <headline_text>Next-generation XHTML stripped down for handhelds</headline_text>

-         <source>CNET</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://news.cnet.com/news/0-1005.html?tag=st.ne.1002.dir.1005</document_url>

-         <harvest_time>Dec 20 2000  9:11PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13451791">

-         <url>http://c.moreover.com/click/here.pl?x13451789</url>

-         <headline_text>Xml Powers Oracle9i(TM) Dynamic Services</headline_text>

-         <source>Java Industry Connection</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://industry.java.sun.com/javanews/more/hotnews/</document_url>

-         <harvest_time>Dec 20 2000  9:05PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13442098">

-         <url>http://c.moreover.com/click/here.pl?x13442097</url>

-         <headline_text>XML DOM reference guide</headline_text>

-         <source>ASPWire</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://aspwire.com/</document_url>

-         <harvest_time>Dec 20 2000  6:26PM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-      <article code="13424118">

-         <url>http://c.moreover.com/click/here.pl?x13424117</url>

-         <headline_text>Repeat/Xqsite And Bowstreet Team to Deliver Integrated Xml Solutions</headline_text>

-         <source>Java Industry Connection</source>

-         <media_type>text</media_type>

-         <cluster>moreover...</cluster>

-         <tagline> </tagline>

-         <document_url>http://industry.java.sun.com/javanews/more/hotnews/</document_url>

-         <harvest_time>Dec 20 2000  9:04AM</harvest_time>

-         <access_registration> </access_registration>

-         <access_status> </access_status>

-      </article>

-    </moreovernews>

-

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/much_ado.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/much_ado.xml
deleted file mode 100755
index 2909267..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/much_ado.xml
+++ /dev/null
@@ -1,6850 +0,0 @@
-<?xml version="1.0"?>

-<PLAY>

-<TITLE>Much Ado about Nothing</TITLE>

-

-<FM>

-<P>Text placed in the public domain by Moby Lexical Tools, 1992.</P>

-<P>SGML markup by Jon Bosak, 1992-1994.</P>

-<P>XML version by Jon Bosak, 1996-1998.</P>

-<P>This work may be freely copied and distributed worldwide.</P>

-</FM>

-

-

-<PERSONAE>

-<TITLE>Dramatis Personae</TITLE>

-

-<PERSONA>DON PEDRO, prince of Arragon.</PERSONA>

-<PERSONA>DON JOHN, his bastard brother.</PERSONA>

-<PERSONA>CLAUDIO, a young lord of Florence.</PERSONA>

-<PERSONA>BENEDICK, a young lord of Padua.</PERSONA>

-<PERSONA>LEONATO, governor of Messina.</PERSONA>

-<PERSONA>ANTONIO, his brother.</PERSONA>

-<PERSONA>BALTHASAR, attendant on Don Pedro.</PERSONA>

-

-<PGROUP>

-<PERSONA>CONRADE</PERSONA>

-<PERSONA>BORACHIO</PERSONA>

-<GRPDESCR>followers of Don John.</GRPDESCR>

-</PGROUP>

-

-<PERSONA>FRIAR FRANCIS</PERSONA>

-<PERSONA>DOGBERRY, a constable.</PERSONA>

-<PERSONA>VERGES, a headborough.</PERSONA>

-<PERSONA>A Sexton.</PERSONA>

-<PERSONA>A Boy.</PERSONA>

-<PERSONA>HERO, daughter to Leonato.</PERSONA>

-<PERSONA>BEATRICE, niece to Leonato.</PERSONA>

-

-<PGROUP>

-<PERSONA>MARGARET</PERSONA>

-<PERSONA>URSULA</PERSONA>

-<GRPDESCR>gentlewomen attending on Hero.</GRPDESCR>

-</PGROUP>

-

-<PERSONA>Messengers, Watch, Attendants, &amp;c. </PERSONA>

-</PERSONAE>

-

-<SCNDESCR>SCENE  Messina.</SCNDESCR>

-

-<PLAYSUBT>MUCH ADO ABOUT NOTHING</PLAYSUBT>

-

-<ACT><TITLE>ACT I</TITLE>

-

-<SCENE><TITLE>SCENE I.  Before LEONATO'S house.</TITLE>

-<STAGEDIR>Enter LEONATO, HERO, and BEATRICE, with a

-Messenger</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I learn in this letter that Don Peter of Arragon</LINE>

-<LINE>comes this night to Messina.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>He is very near by this: he was not three leagues off</LINE>

-<LINE>when I left him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>How many gentlemen have you lost in this action?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>But few of any sort, and none of name.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>A victory is twice itself when the achiever brings</LINE>

-<LINE>home full numbers. I find here that Don Peter hath</LINE>

-<LINE>bestowed much honour on a young Florentine called Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>Much deserved on his part and equally remembered by</LINE>

-<LINE>Don Pedro: he hath borne himself beyond the</LINE>

-<LINE>promise of his age, doing, in the figure of a lamb,</LINE>

-<LINE>the feats of a lion: he hath indeed better</LINE>

-<LINE>bettered expectation than you must expect of me to</LINE>

-<LINE>tell you how.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>He hath an uncle here in Messina will be very much</LINE>

-<LINE>glad of it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>I have already delivered him letters, and there</LINE>

-<LINE>appears much joy in him; even so much that joy could</LINE>

-<LINE>not show itself modest enough without a badge of</LINE>

-<LINE>bitterness.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Did he break out into tears?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>In great measure.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>A kind overflow of kindness: there are no faces</LINE>

-<LINE>truer than those that are so washed. How much</LINE>

-<LINE>better is it to weep at joy than to joy at weeping!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I pray you, is Signior Mountanto returned from the</LINE>

-<LINE>wars or no?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>I know none of that name, lady: there was none such</LINE>

-<LINE>in the army of any sort.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What is he that you ask for, niece?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>My cousin means Signior Benedick of Padua.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>O, he's returned; and as pleasant as ever he was.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>He set up his bills here in Messina and challenged</LINE>

-<LINE>Cupid at the flight; and my uncle's fool, reading</LINE>

-<LINE>the challenge, subscribed for Cupid, and challenged</LINE>

-<LINE>him at the bird-bolt. I pray you, how many hath he</LINE>

-<LINE>killed and eaten in these wars? But how many hath</LINE>

-<LINE>he killed? for indeed I promised to eat all of his killing.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Faith, niece, you tax Signior Benedick too much;</LINE>

-<LINE>but he'll be meet with you, I doubt it not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>He hath done good service, lady, in these wars.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You had musty victual, and he hath holp to eat it:</LINE>

-<LINE>he is a very valiant trencherman; he hath an</LINE>

-<LINE>excellent stomach.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>And a good soldier too, lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>And a good soldier to a lady: but what is he to a lord?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>A lord to a lord, a man to a man; stuffed with all</LINE>

-<LINE>honourable virtues.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>It is so, indeed; he is no less than a stuffed man:</LINE>

-<LINE>but for the stuffing,--well, we are all mortal.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>You must not, sir, mistake my niece. There is a</LINE>

-<LINE>kind of merry war betwixt Signior Benedick and her:</LINE>

-<LINE>they never meet but there's a skirmish of wit</LINE>

-<LINE>between them.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Alas! he gets nothing by that. In our last</LINE>

-<LINE>conflict four of his five wits went halting off, and</LINE>

-<LINE>now is the whole man governed with one: so that if</LINE>

-<LINE>he have wit enough to keep himself warm, let him</LINE>

-<LINE>bear it for a difference between himself and his</LINE>

-<LINE>horse; for it is all the wealth that he hath left,</LINE>

-<LINE>to be known a reasonable creature. Who is his</LINE>

-<LINE>companion now? He hath every month a new sworn brother.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>Is't possible?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Very easily possible: he wears his faith but as</LINE>

-<LINE>the fashion of his hat; it ever changes with the</LINE>

-<LINE>next block.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>I see, lady, the gentleman is not in your books.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No; an he were, I would burn my study. But, I pray</LINE>

-<LINE>you, who is his companion? Is there no young</LINE>

-<LINE>squarer now that will make a voyage with him to the devil?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>He is most in the company of the right noble Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>O Lord, he will hang upon him like a disease: he</LINE>

-<LINE>is sooner caught than the pestilence, and the taker</LINE>

-<LINE>runs presently mad. God help the noble Claudio! if</LINE>

-<LINE>he have caught the Benedick, it will cost him a</LINE>

-<LINE>thousand pound ere a' be cured.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>I will hold friends with you, lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Do, good friend.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>You will never run mad, niece.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, not till a hot January.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>Don Pedro is approached.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter DON PEDRO, DON JOHN, CLAUDIO, BENEDICK,

-and BALTHASAR</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good Signior Leonato, you are come to meet your</LINE>

-<LINE>trouble: the fashion of the world is to avoid</LINE>

-<LINE>cost, and you encounter it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Never came trouble to my house in the likeness of</LINE>

-<LINE>your grace: for trouble being gone, comfort should</LINE>

-<LINE>remain; but when you depart from me, sorrow abides</LINE>

-<LINE>and happiness takes his leave.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>You embrace your charge too willingly. I think this</LINE>

-<LINE>is your daughter.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Her mother hath many times told me so.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Were you in doubt, sir, that you asked her?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Signior Benedick, no; for then were you a child.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>You have it full, Benedick: we may guess by this</LINE>

-<LINE>what you are, being a man. Truly, the lady fathers</LINE>

-<LINE>herself. Be happy, lady; for you are like an</LINE>

-<LINE>honourable father.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>If Signior Leonato be her father, she would not</LINE>

-<LINE>have his head on her shoulders for all Messina, as</LINE>

-<LINE>like him as she is.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I wonder that you will still be talking, Signior</LINE>

-<LINE>Benedick: nobody marks you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>What, my dear Lady Disdain! are you yet living?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Is it possible disdain should die while she hath</LINE>

-<LINE>such meet food to feed it as Signior Benedick?</LINE>

-<LINE>Courtesy itself must convert to disdain, if you come</LINE>

-<LINE>in her presence.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Then is courtesy a turncoat. But it is certain I</LINE>

-<LINE>am loved of all ladies, only you excepted: and I</LINE>

-<LINE>would I could find in my heart that I had not a hard</LINE>

-<LINE>heart; for, truly, I love none.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>A dear happiness to women: they would else have</LINE>

-<LINE>been troubled with a pernicious suitor. I thank God</LINE>

-<LINE>and my cold blood, I am of your humour for that: I</LINE>

-<LINE>had rather hear my dog bark at a crow than a man</LINE>

-<LINE>swear he loves me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>God keep your ladyship still in that mind! so some</LINE>

-<LINE>gentleman or other shall 'scape a predestinate</LINE>

-<LINE>scratched face.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Scratching could not make it worse, an 'twere such</LINE>

-<LINE>a face as yours were.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Well, you are a rare parrot-teacher.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>A bird of my tongue is better than a beast of yours.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I would my horse had the speed of your tongue, and</LINE>

-<LINE>so good a continuer. But keep your way, i' God's</LINE>

-<LINE>name; I have done.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You always end with a jade's trick: I know you of old.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>That is the sum of all, Leonato. Signior Claudio</LINE>

-<LINE>and Signior Benedick, my dear friend Leonato hath</LINE>

-<LINE>invited you all. I tell him we shall stay here at</LINE>

-<LINE>the least a month; and he heartily prays some</LINE>

-<LINE>occasion may detain us longer. I dare swear he is no</LINE>

-<LINE>hypocrite, but prays from his heart.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>If you swear, my lord, you shall not be forsworn.</LINE>

-<STAGEDIR>To DON JOHN</STAGEDIR>

-<LINE>Let me bid you welcome, my lord: being reconciled to</LINE>

-<LINE>the prince your brother, I owe you all duty.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I thank you: I am not of many words, but I thank</LINE>

-<LINE>you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Please it your grace lead on?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Your hand, Leonato; we will go together.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt all except BENEDICK and CLAUDIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Benedick, didst thou note the daughter of Signior Leonato?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I noted her not; but I looked on her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Is she not a modest young lady?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Do you question me, as an honest man should do, for</LINE>

-<LINE>my simple true judgment; or would you have me speak</LINE>

-<LINE>after my custom, as being a professed tyrant to their sex?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>No; I pray thee speak in sober judgment.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Why, i' faith, methinks she's too low for a high</LINE>

-<LINE>praise, too brown for a fair praise and too little</LINE>

-<LINE>for a great praise: only this commendation I can</LINE>

-<LINE>afford her, that were she other than she is, she</LINE>

-<LINE>were unhandsome; and being no other but as she is, I</LINE>

-<LINE>do not like her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Thou thinkest I am in sport: I pray thee tell me</LINE>

-<LINE>truly how thou likest her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Would you buy her, that you inquire after her?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Can the world buy such a jewel?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Yea, and a case to put it into. But speak you this</LINE>

-<LINE>with a sad brow? or do you play the flouting Jack,</LINE>

-<LINE>to tell us Cupid is a good hare-finder and Vulcan a</LINE>

-<LINE>rare carpenter? Come, in what key shall a man take</LINE>

-<LINE>you, to go in the song?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>In mine eye she is the sweetest lady that ever I</LINE>

-<LINE>looked on.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I can see yet without spectacles and I see no such</LINE>

-<LINE>matter: there's her cousin, an she were not</LINE>

-<LINE>possessed with a fury, exceeds her as much in beauty</LINE>

-<LINE>as the first of May doth the last of December. But I</LINE>

-<LINE>hope you have no intent to turn husband, have you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I would scarce trust myself, though I had sworn the</LINE>

-<LINE>contrary, if Hero would be my wife.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Is't come to this? In faith, hath not the world</LINE>

-<LINE>one man but he will wear his cap with suspicion?</LINE>

-<LINE>Shall I never see a bachelor of three-score again?</LINE>

-<LINE>Go to, i' faith; an thou wilt needs thrust thy neck</LINE>

-<LINE>into a yoke, wear the print of it and sigh away</LINE>

-<LINE>Sundays. Look Don Pedro is returned to seek you.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Re-enter DON PEDRO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What secret hath held you here, that you followed</LINE>

-<LINE>not to Leonato's?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I would your grace would constrain me to tell.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I charge thee on thy allegiance.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>You hear, Count Claudio: I can be secret as a dumb</LINE>

-<LINE>man; I would have you think so; but, on my</LINE>

-<LINE>allegiance, mark you this, on my allegiance. He is</LINE>

-<LINE>in love. With who? now that is your grace's part.</LINE>

-<LINE>Mark how short his answer is;--With Hero, Leonato's</LINE>

-<LINE>short daughter.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If this were so, so were it uttered.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Like the old tale, my lord: 'it is not so, nor</LINE>

-<LINE>'twas not so, but, indeed, God forbid it should be</LINE>

-<LINE>so.'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If my passion change not shortly, God forbid it</LINE>

-<LINE>should be otherwise.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Amen, if you love her; for the lady is very well worthy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>You speak this to fetch me in, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>By my troth, I speak my thought.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And, in faith, my lord, I spoke mine.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And, by my two faiths and troths, my lord, I spoke mine.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>That I love her, I feel.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>That she is worthy, I know.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>That I neither feel how she should be loved nor</LINE>

-<LINE>know how she should be worthy, is the opinion that</LINE>

-<LINE>fire cannot melt out of me: I will die in it at the stake.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Thou wast ever an obstinate heretic in the despite</LINE>

-<LINE>of beauty.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And never could maintain his part but in the force</LINE>

-<LINE>of his will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>That a woman conceived me, I thank her; that she</LINE>

-<LINE>brought me up, I likewise give her most humble</LINE>

-<LINE>thanks: but that I will have a recheat winded in my</LINE>

-<LINE>forehead, or hang my bugle in an invisible baldrick,</LINE>

-<LINE>all women shall pardon me. Because I will not do</LINE>

-<LINE>them the wrong to mistrust any, I will do myself the</LINE>

-<LINE>right to trust none; and the fine is, for the which</LINE>

-<LINE>I may go the finer, I will live a bachelor.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I shall see thee, ere I die, look pale with love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>With anger, with sickness, or with hunger, my lord,</LINE>

-<LINE>not with love: prove that ever I lose more blood</LINE>

-<LINE>with love than I will get again with drinking, pick</LINE>

-<LINE>out mine eyes with a ballad-maker's pen and hang me</LINE>

-<LINE>up at the door of a brothel-house for the sign of</LINE>

-<LINE>blind Cupid.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Well, if ever thou dost fall from this faith, thou</LINE>

-<LINE>wilt prove a notable argument.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>If I do, hang me in a bottle like a cat and shoot</LINE>

-<LINE>at me; and he that hits me, let him be clapped on</LINE>

-<LINE>the shoulder, and called Adam.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Well, as time shall try: 'In time the savage bull</LINE>

-<LINE>doth bear the yoke.'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>The savage bull may; but if ever the sensible</LINE>

-<LINE>Benedick bear it, pluck off the bull's horns and set</LINE>

-<LINE>them in my forehead: and let me be vilely painted,</LINE>

-<LINE>and in such great letters as they write 'Here is</LINE>

-<LINE>good horse to hire,' let them signify under my sign</LINE>

-<LINE>'Here you may see Benedick the married man.'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If this should ever happen, thou wouldst be horn-mad.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Nay, if Cupid have not spent all his quiver in</LINE>

-<LINE>Venice, thou wilt quake for this shortly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I look for an earthquake too, then.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Well, you temporize with the hours. In the</LINE>

-<LINE>meantime, good Signior Benedick, repair to</LINE>

-<LINE>Leonato's: commend me to him and tell him I will</LINE>

-<LINE>not fail him at supper; for indeed he hath made</LINE>

-<LINE>great preparation.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I have almost matter enough in me for such an</LINE>

-<LINE>embassage; and so I commit you--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>To the tuition of God: From my house, if I had it,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>The sixth of July: Your loving friend, Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Nay, mock not, mock not. The body of your</LINE>

-<LINE>discourse is sometime guarded with fragments, and</LINE>

-<LINE>the guards are but slightly basted on neither: ere</LINE>

-<LINE>you flout old ends any further, examine your</LINE>

-<LINE>conscience: and so I leave you.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>My liege, your highness now may do me good.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>My love is thine to teach: teach it but how,</LINE>

-<LINE>And thou shalt see how apt it is to learn</LINE>

-<LINE>Any hard lesson that may do thee good.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Hath Leonato any son, my lord?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>No child but Hero; she's his only heir.</LINE>

-<LINE>Dost thou affect her, Claudio?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O, my lord,</LINE>

-<LINE>When you went onward on this ended action,</LINE>

-<LINE>I look'd upon her with a soldier's eye,</LINE>

-<LINE>That liked, but had a rougher task in hand</LINE>

-<LINE>Than to drive liking to the name of love:</LINE>

-<LINE>But now I am return'd and that war-thoughts</LINE>

-<LINE>Have left their places vacant, in their rooms</LINE>

-<LINE>Come thronging soft and delicate desires,</LINE>

-<LINE>All prompting me how fair young Hero is,</LINE>

-<LINE>Saying, I liked her ere I went to wars.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Thou wilt be like a lover presently</LINE>

-<LINE>And tire the hearer with a book of words.</LINE>

-<LINE>If thou dost love fair Hero, cherish it,</LINE>

-<LINE>And I will break with her and with her father,</LINE>

-<LINE>And thou shalt have her. Was't not to this end</LINE>

-<LINE>That thou began'st to twist so fine a story?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>How sweetly you do minister to love,</LINE>

-<LINE>That know love's grief by his complexion!</LINE>

-<LINE>But lest my liking might too sudden seem,</LINE>

-<LINE>I would have salved it with a longer treatise.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What need the bridge much broader than the flood?</LINE>

-<LINE>The fairest grant is the necessity.</LINE>

-<LINE>Look, what will serve is fit: 'tis once, thou lovest,</LINE>

-<LINE>And I will fit thee with the remedy.</LINE>

-<LINE>I know we shall have revelling to-night:</LINE>

-<LINE>I will assume thy part in some disguise</LINE>

-<LINE>And tell fair Hero I am Claudio,</LINE>

-<LINE>And in her bosom I'll unclasp my heart</LINE>

-<LINE>And take her hearing prisoner with the force</LINE>

-<LINE>And strong encounter of my amorous tale:</LINE>

-<LINE>Then after to her father will I break;</LINE>

-<LINE>And the conclusion is, she shall be thine.</LINE>

-<LINE>In practise let us put it presently.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE II.  A room in LEONATO's house.</TITLE>

-<STAGEDIR>Enter LEONATO and ANTONIO, meeting</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>How now, brother! Where is my cousin, your son?</LINE>

-<LINE>hath he provided this music?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>He is very busy about it. But, brother, I can tell</LINE>

-<LINE>you strange news that you yet dreamt not of.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Are they good?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>As the event stamps them: but they have a good</LINE>

-<LINE>cover; they show well outward. The prince and Count</LINE>

-<LINE>Claudio, walking in a thick-pleached alley in mine</LINE>

-<LINE>orchard, were thus much overheard by a man of mine:</LINE>

-<LINE>the prince discovered to Claudio that he loved my</LINE>

-<LINE>niece your daughter and meant to acknowledge it</LINE>

-<LINE>this night in a dance: and if he found her</LINE>

-<LINE>accordant, he meant to take the present time by the</LINE>

-<LINE>top and instantly break with you of it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Hath the fellow any wit that told you this?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>A good sharp fellow: I will send for him; and</LINE>

-<LINE>question him yourself.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No, no; we will hold it as a dream till it appear</LINE>

-<LINE>itself: but I will acquaint my daughter withal,</LINE>

-<LINE>that she may be the better prepared for an answer,</LINE>

-<LINE>if peradventure this be true. Go you and tell her of it.</LINE>

-<STAGEDIR>Enter Attendants</STAGEDIR>

-<LINE>Cousins, you know what you have to do. O, I cry you</LINE>

-<LINE>mercy, friend; go you with me, and I will use your</LINE>

-<LINE>skill. Good cousin, have a care this busy time.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE III.  The same.</TITLE>

-<STAGEDIR>Enter DON JOHN and CONRADE</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>What the good-year, my lord! why are you thus out</LINE>

-<LINE>of measure sad?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>There is no measure in the occasion that breeds;</LINE>

-<LINE>therefore the sadness is without limit.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>You should hear reason.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>And when I have heard it, what blessing brings it?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>If not a present remedy, at least a patient</LINE>

-<LINE>sufferance.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I wonder that thou, being, as thou sayest thou art,</LINE>

-<LINE>born under Saturn, goest about to apply a moral</LINE>

-<LINE>medicine to a mortifying mischief. I cannot hide</LINE>

-<LINE>what I am: I must be sad when I have cause and smile</LINE>

-<LINE>at no man's jests, eat when I have stomach and wait</LINE>

-<LINE>for no man's leisure, sleep when I am drowsy and</LINE>

-<LINE>tend on no man's business, laugh when I am merry and</LINE>

-<LINE>claw no man in his humour.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Yea, but you must not make the full show of this</LINE>

-<LINE>till you may do it without controlment. You have of</LINE>

-<LINE>late stood out against your brother, and he hath</LINE>

-<LINE>ta'en you newly into his grace; where it is</LINE>

-<LINE>impossible you should take true root but by the</LINE>

-<LINE>fair weather that you make yourself: it is needful</LINE>

-<LINE>that you frame the season for your own harvest.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I had rather be a canker in a hedge than a rose in</LINE>

-<LINE>his grace, and it better fits my blood to be</LINE>

-<LINE>disdained of all than to fashion a carriage to rob</LINE>

-<LINE>love from any: in this, though I cannot be said to</LINE>

-<LINE>be a flattering honest man, it must not be denied</LINE>

-<LINE>but I am a plain-dealing villain. I am trusted with</LINE>

-<LINE>a muzzle and enfranchised with a clog; therefore I</LINE>

-<LINE>have decreed not to sing in my cage. If I had my</LINE>

-<LINE>mouth, I would bite; if I had my liberty, I would do</LINE>

-<LINE>my liking: in the meantime let me be that I am and</LINE>

-<LINE>seek not to alter me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Can you make no use of your discontent?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I make all use of it, for I use it only.</LINE>

-<LINE>Who comes here?</LINE>

-<STAGEDIR>Enter BORACHIO</STAGEDIR>

-<LINE>What news, Borachio?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>I came yonder from a great supper: the prince your</LINE>

-<LINE>brother is royally entertained by Leonato: and I</LINE>

-<LINE>can give you intelligence of an intended marriage.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Will it serve for any model to build mischief on?</LINE>

-<LINE>What is he for a fool that betroths himself to</LINE>

-<LINE>unquietness?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Marry, it is your brother's right hand.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Who? the most exquisite Claudio?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Even he.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>A proper squire! And who, and who? which way looks</LINE>

-<LINE>he?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Marry, on Hero, the daughter and heir of Leonato.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>A very forward March-chick! How came you to this?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Being entertained for a perfumer, as I was smoking a</LINE>

-<LINE>musty room, comes me the prince and Claudio, hand</LINE>

-<LINE>in hand in sad conference: I whipt me behind the</LINE>

-<LINE>arras; and there heard it agreed upon that the</LINE>

-<LINE>prince should woo Hero for himself, and having</LINE>

-<LINE>obtained her, give her to Count Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Come, come, let us thither: this may prove food to</LINE>

-<LINE>my displeasure. That young start-up hath all the</LINE>

-<LINE>glory of my overthrow: if I can cross him any way, I</LINE>

-<LINE>bless myself every way. You are both sure, and will assist me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>To the death, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Let us to the great supper: their cheer is the</LINE>

-<LINE>greater that I am subdued. Would the cook were of</LINE>

-<LINE>my mind! Shall we go prove what's to be done?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>We'll wait upon your lordship.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-</ACT>

-

-<ACT><TITLE>ACT II</TITLE>

-

-<SCENE><TITLE>SCENE I.  A hall in LEONATO'S house.</TITLE>

-<STAGEDIR>Enter LEONATO, ANTONIO, HERO, BEATRICE, and others</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Was not Count John here at supper?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>I saw him not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>How tartly that gentleman looks! I never can see</LINE>

-<LINE>him but I am heart-burned an hour after.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>He is of a very melancholy disposition.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>He were an excellent man that were made just in the</LINE>

-<LINE>midway between him and Benedick: the one is too</LINE>

-<LINE>like an image and says nothing, and the other too</LINE>

-<LINE>like my lady's eldest son, evermore tattling.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Then half Signior Benedick's tongue in Count John's</LINE>

-<LINE>mouth, and half Count John's melancholy in Signior</LINE>

-<LINE>Benedick's face,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>With a good leg and a good foot, uncle, and money</LINE>

-<LINE>enough in his purse, such a man would win any woman</LINE>

-<LINE>in the world, if a' could get her good-will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>By my troth, niece, thou wilt never get thee a</LINE>

-<LINE>husband, if thou be so shrewd of thy tongue.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>In faith, she's too curst.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Too curst is more than curst: I shall lessen God's</LINE>

-<LINE>sending that way; for it is said, 'God sends a curst</LINE>

-<LINE>cow short horns;' but to a cow too curst he sends none.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>So, by being too curst, God will send you no horns.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Just, if he send me no husband; for the which</LINE>

-<LINE>blessing I am at him upon my knees every morning and</LINE>

-<LINE>evening. Lord, I could not endure a husband with a</LINE>

-<LINE>beard on his face: I had rather lie in the woollen.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>You may light on a husband that hath no beard.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>What should I do with him? dress him in my apparel</LINE>

-<LINE>and make him my waiting-gentlewoman? He that hath a</LINE>

-<LINE>beard is more than a youth, and he that hath no</LINE>

-<LINE>beard is less than a man: and he that is more than</LINE>

-<LINE>a youth is not for me, and he that is less than a</LINE>

-<LINE>man, I am not for him: therefore, I will even take</LINE>

-<LINE>sixpence in earnest of the bear-ward, and lead his</LINE>

-<LINE>apes into hell.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Well, then, go you into hell?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, but to the gate; and there will the devil meet</LINE>

-<LINE>me, like an old cuckold, with horns on his head, and</LINE>

-<LINE>say 'Get you to heaven, Beatrice, get you to</LINE>

-<LINE>heaven; here's no place for you maids:' so deliver</LINE>

-<LINE>I up my apes, and away to Saint Peter for the</LINE>

-<LINE>heavens; he shows me where the bachelors sit, and</LINE>

-<LINE>there live we as merry as the day is long.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE><STAGEDIR>To HERO</STAGEDIR>  Well, niece, I trust you will be ruled</LINE>

-<LINE>by your father.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yes, faith; it is my cousin's duty to make curtsy</LINE>

-<LINE>and say 'Father, as it please you.' But yet for all</LINE>

-<LINE>that, cousin, let him be a handsome fellow, or else</LINE>

-<LINE>make another curtsy and say 'Father, as it please</LINE>

-<LINE>me.'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Well, niece, I hope to see you one day fitted with a husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Not till God make men of some other metal than</LINE>

-<LINE>earth. Would it not grieve a woman to be</LINE>

-<LINE>overmastered with a pierce of valiant dust? to make</LINE>

-<LINE>an account of her life to a clod of wayward marl?</LINE>

-<LINE>No, uncle, I'll none: Adam's sons are my brethren;</LINE>

-<LINE>and, truly, I hold it a sin to match in my kindred.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Daughter, remember what I told you: if the prince</LINE>

-<LINE>do solicit you in that kind, you know your answer.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>The fault will be in the music, cousin, if you be</LINE>

-<LINE>not wooed in good time: if the prince be too</LINE>

-<LINE>important, tell him there is measure in every thing</LINE>

-<LINE>and so dance out the answer. For, hear me, Hero:</LINE>

-<LINE>wooing, wedding, and repenting, is as a Scotch jig,</LINE>

-<LINE>a measure, and a cinque pace: the first suit is hot</LINE>

-<LINE>and hasty, like a Scotch jig, and full as</LINE>

-<LINE>fantastical; the wedding, mannerly-modest, as a</LINE>

-<LINE>measure, full of state and ancientry; and then comes</LINE>

-<LINE>repentance and, with his bad legs, falls into the</LINE>

-<LINE>cinque pace faster and faster, till he sink into his grave.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Cousin, you apprehend passing shrewdly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I have a good eye, uncle; I can see a church by daylight.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>The revellers are entering, brother: make good room.</LINE>

-</SPEECH>

-

-<STAGEDIR>All put on their masks</STAGEDIR>

-<STAGEDIR>Enter DON PEDRO, CLAUDIO, BENEDICK, BALTHASAR,

-DON JOHN, BORACHIO, MARGARET, URSULA and others, masked</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Lady, will you walk about with your friend?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>So you walk softly and look sweetly and say nothing,</LINE>

-<LINE>I am yours for the walk; and especially when I walk away.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>With me in your company?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>I may say so, when I please.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And when please you to say so?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>When I like your favour; for God defend the lute</LINE>

-<LINE>should be like the case!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>My visor is Philemon's roof; within the house is Jove.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Why, then, your visor should be thatched.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Speak low, if you speak love.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Drawing her aside</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Well, I would you did like me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>So would not I, for your own sake; for I have many</LINE>

-<LINE>ill-qualities.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Which is one?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>I say my prayers aloud.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>I love you the better: the hearers may cry, Amen.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>God match me with a good dancer!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Amen.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>And God keep him out of my sight when the dance is</LINE>

-<LINE>done! Answer, clerk.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>No more words: the clerk is answered.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>I know you well enough; you are Signior Antonio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>At a word, I am not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>I know you by the waggling of your head.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>To tell you true, I counterfeit him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>You could never do him so ill-well, unless you were</LINE>

-<LINE>the very man. Here's his dry hand up and down: you</LINE>

-<LINE>are he, you are he.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>At a word, I am not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Come, come, do you think I do not know you by your</LINE>

-<LINE>excellent wit? can virtue hide itself? Go to,</LINE>

-<LINE>mum, you are he: graces will appear, and there's an</LINE>

-<LINE>end.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Will you not tell me who told you so?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>No, you shall pardon me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Nor will you not tell me who you are?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Not now.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>That I was disdainful, and that I had my good wit</LINE>

-<LINE>out of the 'Hundred Merry Tales:'--well this was</LINE>

-<LINE>Signior Benedick that said so.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>What's he?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I am sure you know him well enough.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Not I, believe me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Did he never make you laugh?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I pray you, what is he?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Why, he is the prince's jester: a very dull fool;</LINE>

-<LINE>only his gift is in devising impossible slanders:</LINE>

-<LINE>none but libertines delight in him; and the</LINE>

-<LINE>commendation is not in his wit, but in his villany;</LINE>

-<LINE>for he both pleases men and angers them, and then</LINE>

-<LINE>they laugh at him and beat him. I am sure he is in</LINE>

-<LINE>the fleet: I would he had boarded me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>When I know the gentleman, I'll tell him what you say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Do, do: he'll but break a comparison or two on me;</LINE>

-<LINE>which, peradventure not marked or not laughed at,</LINE>

-<LINE>strikes him into melancholy; and then there's a</LINE>

-<LINE>partridge wing saved, for the fool will eat no</LINE>

-<LINE>supper that night.</LINE>

-<STAGEDIR>Music</STAGEDIR>

-<LINE>We must follow the leaders.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>In every good thing.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Nay, if they lead to any ill, I will leave them at</LINE>

-<LINE>the next turning.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Dance. Then exeunt all except DON JOHN, BORACHIO,

-and CLAUDIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Sure my brother is amorous on Hero and hath</LINE>

-<LINE>withdrawn her father to break with him about it.</LINE>

-<LINE>The ladies follow her and but one visor remains.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>And that is Claudio: I know him by his bearing.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Are not you Signior Benedick?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>You know me well; I am he.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Signior, you are very near my brother in his love:</LINE>

-<LINE>he is enamoured on Hero; I pray you, dissuade him</LINE>

-<LINE>from her: she is no equal for his birth: you may</LINE>

-<LINE>do the part of an honest man in it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>How know you he loves her?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I heard him swear his affection.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>So did I too; and he swore he would marry her to-night.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Come, let us to the banquet.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt DON JOHN and BORACHIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Thus answer I in the name of Benedick,</LINE>

-<LINE>But hear these ill news with the ears of Claudio.</LINE>

-<LINE>'Tis certain so; the prince wooes for himself.</LINE>

-<LINE>Friendship is constant in all other things</LINE>

-<LINE>Save in the office and affairs of love:</LINE>

-<LINE>Therefore, all hearts in love use their own tongues;</LINE>

-<LINE>Let every eye negotiate for itself</LINE>

-<LINE>And trust no agent; for beauty is a witch</LINE>

-<LINE>Against whose charms faith melteth into blood.</LINE>

-<LINE>This is an accident of hourly proof,</LINE>

-<LINE>Which I mistrusted not. Farewell, therefore, Hero!</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Re-enter BENEDICK</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Count Claudio?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Yea, the same.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Come, will you go with me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Whither?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Even to the next willow, about your own business,</LINE>

-<LINE>county. What fashion will you wear the garland of?</LINE>

-<LINE>about your neck, like an usurer's chain? or under</LINE>

-<LINE>your arm, like a lieutenant's scarf? You must wear</LINE>

-<LINE>it one way, for the prince hath got your Hero.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I wish him joy of her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Why, that's spoken like an honest drovier: so they</LINE>

-<LINE>sell bullocks. But did you think the prince would</LINE>

-<LINE>have served you thus?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I pray you, leave me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Ho! now you strike like the blind man: 'twas the</LINE>

-<LINE>boy that stole your meat, and you'll beat the post.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If it will not be, I'll leave you.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Alas, poor hurt fowl! now will he creep into sedges.</LINE>

-<LINE>But that my Lady Beatrice should know me, and not</LINE>

-<LINE>know me! The prince's fool! Ha? It may be I go</LINE>

-<LINE>under that title because I am merry. Yea, but so I</LINE>

-<LINE>am apt to do myself wrong; I am not so reputed: it</LINE>

-<LINE>is the base, though bitter, disposition of Beatrice</LINE>

-<LINE>that puts the world into her person and so gives me</LINE>

-<LINE>out. Well, I'll be revenged as I may.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Re-enter DON PEDRO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Now, signior, where's the count? did you see him?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Troth, my lord, I have played the part of Lady Fame.</LINE>

-<LINE>I found him here as melancholy as a lodge in a</LINE>

-<LINE>warren: I told him, and I think I told him true,</LINE>

-<LINE>that your grace had got the good will of this young</LINE>

-<LINE>lady; and I offered him my company to a willow-tree,</LINE>

-<LINE>either to make him a garland, as being forsaken, or</LINE>

-<LINE>to bind him up a rod, as being worthy to be whipped.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>To be whipped! What's his fault?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>The flat transgression of a schoolboy, who, being</LINE>

-<LINE>overjoyed with finding a birds' nest, shows it his</LINE>

-<LINE>companion, and he steals it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Wilt thou make a trust a transgression? The</LINE>

-<LINE>transgression is in the stealer.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Yet it had not been amiss the rod had been made,</LINE>

-<LINE>and the garland too; for the garland he might have</LINE>

-<LINE>worn himself, and the rod he might have bestowed on</LINE>

-<LINE>you, who, as I take it, have stolen his birds' nest.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I will but teach them to sing, and restore them to</LINE>

-<LINE>the owner.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>If their singing answer your saying, by my faith,</LINE>

-<LINE>you say honestly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>The Lady Beatrice hath a quarrel to you: the</LINE>

-<LINE>gentleman that danced with her told her she is much</LINE>

-<LINE>wronged by you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>O, she misused me past the endurance of a block!</LINE>

-<LINE>an oak but with one green leaf on it would have</LINE>

-<LINE>answered her; my very visor began to assume life and</LINE>

-<LINE>scold with her. She told me, not thinking I had been</LINE>

-<LINE>myself, that I was the prince's jester, that I was</LINE>

-<LINE>duller than a great thaw; huddling jest upon jest</LINE>

-<LINE>with such impossible conveyance upon me that I stood</LINE>

-<LINE>like a man at a mark, with a whole army shooting at</LINE>

-<LINE>me. She speaks poniards, and every word stabs:</LINE>

-<LINE>if her breath were as terrible as her terminations,</LINE>

-<LINE>there were no living near her; she would infect to</LINE>

-<LINE>the north star. I would not marry her, though she</LINE>

-<LINE>were endowed with all that Adam bad left him before</LINE>

-<LINE>he transgressed: she would have made Hercules have</LINE>

-<LINE>turned spit, yea, and have cleft his club to make</LINE>

-<LINE>the fire too. Come, talk not of her: you shall find</LINE>

-<LINE>her the infernal Ate in good apparel. I would to God</LINE>

-<LINE>some scholar would conjure her; for certainly, while</LINE>

-<LINE>she is here, a man may live as quiet in hell as in a</LINE>

-<LINE>sanctuary; and people sin upon purpose, because they</LINE>

-<LINE>would go thither; so, indeed, all disquiet, horror</LINE>

-<LINE>and perturbation follows her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Look, here she comes.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter CLAUDIO, BEATRICE, HERO, and LEONATO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Will your grace command me any service to the</LINE>

-<LINE>world's end? I will go on the slightest errand now</LINE>

-<LINE>to the Antipodes that you can devise to send me on;</LINE>

-<LINE>I will fetch you a tooth-picker now from the</LINE>

-<LINE>furthest inch of Asia, bring you the length of</LINE>

-<LINE>Prester John's foot, fetch you a hair off the great</LINE>

-<LINE>Cham's beard, do you any embassage to the Pigmies,</LINE>

-<LINE>rather than hold three words' conference with this</LINE>

-<LINE>harpy. You have no employment for me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>None, but to desire your good company.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>O God, sir, here's a dish I love not: I cannot</LINE>

-<LINE>endure my Lady Tongue.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Come, lady, come; you have lost the heart of</LINE>

-<LINE>Signior Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Indeed, my lord, he lent it me awhile; and I gave</LINE>

-<LINE>him use for it, a double heart for his single one:</LINE>

-<LINE>marry, once before he won it of me with false dice,</LINE>

-<LINE>therefore your grace may well say I have lost it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>You have put him down, lady, you have put him down.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>So I would not he should do me, my lord, lest I</LINE>

-<LINE>should prove the mother of fools. I have brought</LINE>

-<LINE>Count Claudio, whom you sent me to seek.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Why, how now, count! wherefore are you sad?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Not sad, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>How then? sick?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Neither, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>The count is neither sad, nor sick, nor merry, nor</LINE>

-<LINE>well; but civil count, civil as an orange, and</LINE>

-<LINE>something of that jealous complexion.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I' faith, lady, I think your blazon to be true;</LINE>

-<LINE>though, I'll be sworn, if he be so, his conceit is</LINE>

-<LINE>false. Here, Claudio, I have wooed in thy name, and</LINE>

-<LINE>fair Hero is won: I have broke with her father,</LINE>

-<LINE>and his good will obtained: name the day of</LINE>

-<LINE>marriage, and God give thee joy!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Count, take of me my daughter, and with her my</LINE>

-<LINE>fortunes: his grace hath made the match, and an</LINE>

-<LINE>grace say Amen to it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Speak, count, 'tis your cue.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Silence is the perfectest herald of joy: I were</LINE>

-<LINE>but little happy, if I could say how much. Lady, as</LINE>

-<LINE>you are mine, I am yours: I give away myself for</LINE>

-<LINE>you and dote upon the exchange.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Speak, cousin; or, if you cannot, stop his mouth</LINE>

-<LINE>with a kiss, and let not him speak neither.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>In faith, lady, you have a merry heart.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yea, my lord; I thank it, poor fool, it keeps on</LINE>

-<LINE>the windy side of care. My cousin tells him in his</LINE>

-<LINE>ear that he is in her heart.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And so she doth, cousin.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Good Lord, for alliance! Thus goes every one to the</LINE>

-<LINE>world but I, and I am sunburnt; I may sit in a</LINE>

-<LINE>corner and cry heigh-ho for a husband!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Lady Beatrice, I will get you one.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I would rather have one of your father's getting.</LINE>

-<LINE>Hath your grace ne'er a brother like you? Your</LINE>

-<LINE>father got excellent husbands, if a maid could come by them.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Will you have me, lady?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, my lord, unless I might have another for</LINE>

-<LINE>working-days: your grace is too costly to wear</LINE>

-<LINE>every day. But, I beseech your grace, pardon me: I</LINE>

-<LINE>was born to speak all mirth and no matter.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Your silence most offends me, and to be merry best</LINE>

-<LINE>becomes you; for, out of question, you were born in</LINE>

-<LINE>a merry hour.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, sure, my lord, my mother cried; but then there</LINE>

-<LINE>was a star danced, and under that was I born.</LINE>

-<LINE>Cousins, God give you joy!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Niece, will you look to those things I told you of?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I cry you mercy, uncle. By your grace's pardon.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>By my troth, a pleasant-spirited lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>There's little of the melancholy element in her, my</LINE>

-<LINE>lord: she is never sad but when she sleeps, and</LINE>

-<LINE>not ever sad then; for I have heard my daughter say,</LINE>

-<LINE>she hath often dreamed of unhappiness and waked</LINE>

-<LINE>herself with laughing.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>She cannot endure to hear tell of a husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O, by no means: she mocks all her wooers out of suit.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>She were an excellent wife for Benedict.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O Lord, my lord, if they were but a week married,</LINE>

-<LINE>they would talk themselves mad.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>County Claudio, when mean you to go to church?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>To-morrow, my lord: time goes on crutches till love</LINE>

-<LINE>have all his rites.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Not till Monday, my dear son, which is hence a just</LINE>

-<LINE>seven-night; and a time too brief, too, to have all</LINE>

-<LINE>things answer my mind.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Come, you shake the head at so long a breathing:</LINE>

-<LINE>but, I warrant thee, Claudio, the time shall not go</LINE>

-<LINE>dully by us. I will in the interim undertake one of</LINE>

-<LINE>Hercules' labours; which is, to bring Signior</LINE>

-<LINE>Benedick and the Lady Beatrice into a mountain of</LINE>

-<LINE>affection the one with the other. I would fain have</LINE>

-<LINE>it a match, and I doubt not but to fashion it, if</LINE>

-<LINE>you three will but minister such assistance as I</LINE>

-<LINE>shall give you direction.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>My lord, I am for you, though it cost me ten</LINE>

-<LINE>nights' watchings.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And I, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And you too, gentle Hero?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>I will do any modest office, my lord, to help my</LINE>

-<LINE>cousin to a good husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And Benedick is not the unhopefullest husband that</LINE>

-<LINE>I know. Thus far can I praise him; he is of a noble</LINE>

-<LINE>strain, of approved valour and confirmed honesty. I</LINE>

-<LINE>will teach you how to humour your cousin, that she</LINE>

-<LINE>shall fall in love with Benedick; and I, with your</LINE>

-<LINE>two helps, will so practise on Benedick that, in</LINE>

-<LINE>despite of his quick wit and his queasy stomach, he</LINE>

-<LINE>shall fall in love with Beatrice. If we can do this,</LINE>

-<LINE>Cupid is no longer an archer: his glory shall be</LINE>

-<LINE>ours, for we are the only love-gods. Go in with me,</LINE>

-<LINE>and I will tell you my drift.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE II.  The same.</TITLE>

-<STAGEDIR>Enter DON JOHN and BORACHIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>It is so; the Count Claudio shall marry the</LINE>

-<LINE>daughter of Leonato.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Yea, my lord; but I can cross it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Any bar, any cross, any impediment will be</LINE>

-<LINE>medicinable to me: I am sick in displeasure to him,</LINE>

-<LINE>and whatsoever comes athwart his affection ranges</LINE>

-<LINE>evenly with mine. How canst thou cross this marriage?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Not honestly, my lord; but so covertly that no</LINE>

-<LINE>dishonesty shall appear in me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Show me briefly how.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>I think I told your lordship a year since, how much</LINE>

-<LINE>I am in the favour of Margaret, the waiting</LINE>

-<LINE>gentlewoman to Hero.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I remember.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>I can, at any unseasonable instant of the night,</LINE>

-<LINE>appoint her to look out at her lady's chamber window.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>What life is in that, to be the death of this marriage?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>The poison of that lies in you to temper. Go you to</LINE>

-<LINE>the prince your brother; spare not to tell him that</LINE>

-<LINE>he hath wronged his honour in marrying the renowned</LINE>

-<LINE>Claudio--whose estimation do you mightily hold</LINE>

-<LINE>up--to a contaminated stale, such a one as Hero.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>What proof shall I make of that?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Proof enough to misuse the prince, to vex Claudio,</LINE>

-<LINE>to undo Hero and kill Leonato. Look you for any</LINE>

-<LINE>other issue?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Only to despite them, I will endeavour any thing.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Go, then; find me a meet hour to draw Don Pedro and</LINE>

-<LINE>the Count Claudio alone: tell them that you know</LINE>

-<LINE>that Hero loves me; intend a kind of zeal both to the</LINE>

-<LINE>prince and Claudio, as,--in love of your brother's</LINE>

-<LINE>honour, who hath made this match, and his friend's</LINE>

-<LINE>reputation, who is thus like to be cozened with the</LINE>

-<LINE>semblance of a maid,--that you have discovered</LINE>

-<LINE>thus. They will scarcely believe this without trial:</LINE>

-<LINE>offer them instances; which shall bear no less</LINE>

-<LINE>likelihood than to see me at her chamber-window,</LINE>

-<LINE>hear me call Margaret Hero, hear Margaret term me</LINE>

-<LINE>Claudio; and bring them to see this the very night</LINE>

-<LINE>before the intended wedding,--for in the meantime I</LINE>

-<LINE>will so fashion the matter that Hero shall be</LINE>

-<LINE>absent,--and there shall appear such seeming truth</LINE>

-<LINE>of Hero's disloyalty that jealousy shall be called</LINE>

-<LINE>assurance and all the preparation overthrown.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Grow this to what adverse issue it can, I will put</LINE>

-<LINE>it in practise. Be cunning in the working this, and</LINE>

-<LINE>thy fee is a thousand ducats.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Be you constant in the accusation, and my cunning</LINE>

-<LINE>shall not shame me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I will presently go learn their day of marriage.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE III.  LEONATO'S orchard.</TITLE>

-<STAGEDIR>Enter BENEDICK</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Boy!</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter Boy</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>Boy</SPEAKER>

-<LINE>Signior?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>In my chamber-window lies a book: bring it hither</LINE>

-<LINE>to me in the orchard.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Boy</SPEAKER>

-<LINE>I am here already, sir.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I know that; but I would have thee hence, and here again.</LINE>

-<STAGEDIR>Exit Boy</STAGEDIR>

-<LINE>I do much wonder that one man, seeing how much</LINE>

-<LINE>another man is a fool when he dedicates his</LINE>

-<LINE>behaviors to love, will, after he hath laughed at</LINE>

-<LINE>such shallow follies in others, become the argument</LINE>

-<LINE>of his own scorn by failing in love: and such a man</LINE>

-<LINE>is Claudio. I have known when there was no music</LINE>

-<LINE>with him but the drum and the fife; and now had he</LINE>

-<LINE>rather hear the tabour and the pipe: I have known</LINE>

-<LINE>when he would have walked ten mile a-foot to see a</LINE>

-<LINE>good armour; and now will he lie ten nights awake,</LINE>

-<LINE>carving the fashion of a new doublet. He was wont to</LINE>

-<LINE>speak plain and to the purpose, like an honest man</LINE>

-<LINE>and a soldier; and now is he turned orthography; his</LINE>

-<LINE>words are a very fantastical banquet, just so many</LINE>

-<LINE>strange dishes. May I be so converted and see with</LINE>

-<LINE>these eyes? I cannot tell; I think not: I will not</LINE>

-<LINE>be sworn, but love may transform me to an oyster; but</LINE>

-<LINE>I'll take my oath on it, till he have made an oyster</LINE>

-<LINE>of me, he shall never make me such a fool. One woman</LINE>

-<LINE>is fair, yet I am well; another is wise, yet I am</LINE>

-<LINE>well; another virtuous, yet I am well; but till all</LINE>

-<LINE>graces be in one woman, one woman shall not come in</LINE>

-<LINE>my grace. Rich she shall be, that's certain; wise,</LINE>

-<LINE>or I'll none; virtuous, or I'll never cheapen her;</LINE>

-<LINE>fair, or I'll   never look on her; mild, or come not</LINE>

-<LINE>near me; noble, or not I for an angel; of good</LINE>

-<LINE>discourse, an excellent musician, and her hair shall</LINE>

-<LINE>be of what colour it please God. Ha! the prince and</LINE>

-<LINE>Monsieur Love! I will hide me in the arbour.</LINE>

-</SPEECH>

-

-<STAGEDIR>Withdraws</STAGEDIR>

-<STAGEDIR>Enter DON PEDRO, CLAUDIO, and LEONATO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Come, shall we hear this music?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Yea, my good lord. How still the evening is,</LINE>

-<LINE>As hush'd on purpose to grace harmony!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>See you where Benedick hath hid himself?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O, very well, my lord: the music ended,</LINE>

-<LINE>We'll fit the kid-fox with a pennyworth.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter BALTHASAR with Music</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Come, Balthasar, we'll hear that song again.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>O, good my lord, tax not so bad a voice</LINE>

-<LINE>To slander music any more than once.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>It is the witness still of excellency</LINE>

-<LINE>To put a strange face on his own perfection.</LINE>

-<LINE>I pray thee, sing, and let me woo no more.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Because you talk of wooing, I will sing;</LINE>

-<LINE>Since many a wooer doth commence his suit</LINE>

-<LINE>To her he thinks not worthy, yet he wooes,</LINE>

-<LINE>Yet will he swear he loves.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Now, pray thee, come;</LINE>

-<LINE>Or, if thou wilt hold longer argument,</LINE>

-<LINE>Do it in notes.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Note this before my notes;</LINE>

-<LINE>There's not a note of mine that's worth the noting.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Why, these are very crotchets that he speaks;</LINE>

-<LINE>Note, notes, forsooth, and nothing.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Air</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Now, divine air! now is his soul ravished! Is it</LINE>

-<LINE>not strange that sheeps' guts should hale souls out</LINE>

-<LINE>of men's bodies? Well, a horn for my money, when</LINE>

-<LINE>all's done.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>The Song</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>Sigh no more, ladies, sigh no more,</LINE>

-<LINE>Men were deceivers ever,</LINE>

-<LINE>One foot in sea and one on shore,</LINE>

-<LINE>To one thing constant never:</LINE>

-<LINE>Then sigh not so, but let them go,</LINE>

-<LINE>And be you blithe and bonny,</LINE>

-<LINE>Converting all your sounds of woe</LINE>

-<LINE>Into Hey nonny, nonny.</LINE>

-<LINE>Sing no more ditties, sing no moe,</LINE>

-<LINE>Of dumps so dull and heavy;</LINE>

-<LINE>The fraud of men was ever so,</LINE>

-<LINE>Since summer first was leafy:</LINE>

-<LINE>Then sigh not so, &amp;c.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>By my troth, a good song.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>And an ill singer, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Ha, no, no, faith; thou singest well enough for a shift.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>An he had been a dog that should have howled thus,</LINE>

-<LINE>they would have hanged him: and I pray God his bad</LINE>

-<LINE>voice bode no mischief. I had as lief have heard the</LINE>

-<LINE>night-raven, come what plague could have come after</LINE>

-<LINE>it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Yea, marry, dost thou hear, Balthasar? I pray thee,</LINE>

-<LINE>get us some excellent music; for to-morrow night we</LINE>

-<LINE>would have it at the Lady Hero's chamber-window.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BALTHASAR</SPEAKER>

-<LINE>The best I can, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Do so: farewell.</LINE>

-<STAGEDIR>Exit BALTHASAR</STAGEDIR>

-<LINE>Come hither, Leonato. What was it you told me of</LINE>

-<LINE>to-day, that your niece Beatrice was in love with</LINE>

-<LINE>Signior Benedick?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O, ay: stalk on. stalk on; the fowl sits. I did</LINE>

-<LINE>never think that lady would have loved any man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No, nor I neither; but most wonderful that she</LINE>

-<LINE>should so dote on Signior Benedick, whom she hath in</LINE>

-<LINE>all outward behaviors seemed ever to abhor.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Is't possible? Sits the wind in that corner?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>By my troth, my lord, I cannot tell what to think</LINE>

-<LINE>of it but that she loves him with an enraged</LINE>

-<LINE>affection: it is past the infinite of thought.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>May be she doth but counterfeit.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Faith, like enough.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O God, counterfeit! There was never counterfeit of</LINE>

-<LINE>passion came so near the life of passion as she</LINE>

-<LINE>discovers it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Why, what effects of passion shows she?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Bait the hook well; this fish will bite.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What effects, my lord? She will sit you, you heard</LINE>

-<LINE>my daughter tell you how.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>She did, indeed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>How, how, pray you? You amaze me: I would have I</LINE>

-<LINE>thought her spirit had been invincible against all</LINE>

-<LINE>assaults of affection.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I would have sworn it had, my lord; especially</LINE>

-<LINE>against Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I should think this a gull, but that the</LINE>

-<LINE>white-bearded fellow speaks it: knavery cannot,</LINE>

-<LINE>sure, hide himself in such reverence.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>He hath ta'en the infection: hold it up.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Hath she made her affection known to Benedick?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No; and swears she never will: that's her torment.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>'Tis true, indeed; so your daughter says: 'Shall</LINE>

-<LINE>I,' says she, 'that have so oft encountered him</LINE>

-<LINE>with scorn, write to him that I love him?'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>This says she now when she is beginning to write to</LINE>

-<LINE>him; for she'll be up twenty times a night, and</LINE>

-<LINE>there will she sit in her smock till she have writ a</LINE>

-<LINE>sheet of paper: my daughter tells us all.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Now you talk of a sheet of paper, I remember a</LINE>

-<LINE>pretty jest your daughter told us of.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O, when she had writ it and was reading it over, she</LINE>

-<LINE>found Benedick and Beatrice between the sheet?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>That.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O, she tore the letter into a thousand halfpence;</LINE>

-<LINE>railed at herself, that she should be so immodest</LINE>

-<LINE>to write to one that she knew would flout her; 'I</LINE>

-<LINE>measure him,' says she, 'by my own spirit; for I</LINE>

-<LINE>should flout him, if he writ to me; yea, though I</LINE>

-<LINE>love him, I should.'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Then down upon her knees she falls, weeps, sobs,</LINE>

-<LINE>beats her heart, tears her hair, prays, curses; 'O</LINE>

-<LINE>sweet Benedick! God give me patience!'</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>She doth indeed; my daughter says so: and the</LINE>

-<LINE>ecstasy hath so much overborne her that my daughter</LINE>

-<LINE>is sometime afeared she will do a desperate outrage</LINE>

-<LINE>to herself: it is very true.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>It were good that Benedick knew of it by some</LINE>

-<LINE>other, if she will not discover it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>To what end? He would make but a sport of it and</LINE>

-<LINE>torment the poor lady worse.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>An he should, it were an alms to hang him. She's an</LINE>

-<LINE>excellent sweet lady; and, out of all suspicion,</LINE>

-<LINE>she is virtuous.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And she is exceeding wise.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>In every thing but in loving Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O, my lord, wisdom and blood combating in so tender</LINE>

-<LINE>a body, we have ten proofs to one that blood hath</LINE>

-<LINE>the victory. I am sorry for her, as I have just</LINE>

-<LINE>cause, being her uncle and her guardian.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I would she had bestowed this dotage on me: I would</LINE>

-<LINE>have daffed all other respects and made her half</LINE>

-<LINE>myself. I pray you, tell Benedick of it, and hear</LINE>

-<LINE>what a' will say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Were it good, think you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Hero thinks surely she will die; for she says she</LINE>

-<LINE>will die, if he love her not, and she will die, ere</LINE>

-<LINE>she make her love known, and she will die, if he woo</LINE>

-<LINE>her, rather than she will bate one breath of her</LINE>

-<LINE>accustomed crossness.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>She doth well: if she should make tender of her</LINE>

-<LINE>love, 'tis very possible he'll scorn it; for the</LINE>

-<LINE>man, as you know all, hath a contemptible spirit.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>He is a very proper man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>He hath indeed a good outward happiness.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Before God! and, in my mind, very wise.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>He doth indeed show some sparks that are like wit.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And I take him to be valiant.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>As Hector, I assure you: and in the managing of</LINE>

-<LINE>quarrels you may say he is wise; for either he</LINE>

-<LINE>avoids them with great discretion, or undertakes</LINE>

-<LINE>them with a most Christian-like fear.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>If he do fear God, a' must necessarily keep peace:</LINE>

-<LINE>if he break the peace, he ought to enter into a</LINE>

-<LINE>quarrel with fear and trembling.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And so will he do; for the man doth fear God,</LINE>

-<LINE>howsoever it seems not in him by some large jests</LINE>

-<LINE>he will make. Well I am sorry for your niece. Shall</LINE>

-<LINE>we go seek Benedick, and tell him of her love?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Never tell him, my lord: let her wear it out with</LINE>

-<LINE>good counsel.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Nay, that's impossible: she may wear her heart out first.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Well, we will hear further of it by your daughter:</LINE>

-<LINE>let it cool the while. I love Benedick well; and I</LINE>

-<LINE>could wish he would modestly examine himself, to see</LINE>

-<LINE>how much he is unworthy so good a lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>My lord, will you walk? dinner is ready.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If he do not dote on her upon this, I will never</LINE>

-<LINE>trust my expectation.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Let there be the same net spread for her; and that</LINE>

-<LINE>must your daughter and her gentlewomen carry. The</LINE>

-<LINE>sport will be, when they hold one an opinion of</LINE>

-<LINE>another's dotage, and no such matter: that's the</LINE>

-<LINE>scene that I would see, which will be merely a</LINE>

-<LINE>dumb-show. Let us send her to call him in to dinner.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt DON PEDRO, CLAUDIO, and LEONATO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE><STAGEDIR>Coming forward</STAGEDIR>  This can be no trick: the</LINE>

-<LINE>conference was sadly borne. They have the truth of</LINE>

-<LINE>this from Hero. They seem to pity the lady: it</LINE>

-<LINE>seems her affections have their full bent. Love me!</LINE>

-<LINE>why, it must be requited. I hear how I am censured:</LINE>

-<LINE>they say I will bear myself proudly, if I perceive</LINE>

-<LINE>the love come from her; they say too that she will</LINE>

-<LINE>rather die than give any sign of affection. I did</LINE>

-<LINE>never think to marry: I must not seem proud: happy</LINE>

-<LINE>are they that hear their detractions and can put</LINE>

-<LINE>them to mending. They say the lady is fair; 'tis a</LINE>

-<LINE>truth, I can bear them witness; and virtuous; 'tis</LINE>

-<LINE>so, I cannot reprove it; and wise, but for loving</LINE>

-<LINE>me; by my troth, it is no addition to her wit, nor</LINE>

-<LINE>no great argument of her folly, for I will be</LINE>

-<LINE>horribly in love with her. I may chance have some</LINE>

-<LINE>odd quirks and remnants of wit broken on me,</LINE>

-<LINE>because I have railed so long against marriage: but</LINE>

-<LINE>doth not the appetite alter? a man loves the meat</LINE>

-<LINE>in his youth that he cannot endure in his age.</LINE>

-<LINE>Shall quips and sentences and these paper bullets of</LINE>

-<LINE>the brain awe a man from the career of his humour?</LINE>

-<LINE>No, the world must be peopled. When I said I would</LINE>

-<LINE>die a bachelor, I did not think I should live till I</LINE>

-<LINE>were married. Here comes Beatrice. By this day!</LINE>

-<LINE>she's a fair lady: I do spy some marks of love in</LINE>

-<LINE>her.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter BEATRICE</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Against my will I am sent to bid you come in to dinner.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Fair Beatrice, I thank you for your pains.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I took no more pains for those thanks than you take</LINE>

-<LINE>pains to thank me: if it had been painful, I would</LINE>

-<LINE>not have come.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>You take pleasure then in the message?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yea, just so much as you may take upon a knife's</LINE>

-<LINE>point and choke a daw withal. You have no stomach,</LINE>

-<LINE>signior: fare you well.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Ha! 'Against my will I am sent to bid you come in</LINE>

-<LINE>to dinner;' there's a double meaning in that 'I took</LINE>

-<LINE>no more pains for those thanks than you took pains</LINE>

-<LINE>to thank me.' that's as much as to say, Any pains</LINE>

-<LINE>that I take for you is as easy as thanks. If I do</LINE>

-<LINE>not take pity of her, I am a villain; if I do not</LINE>

-<LINE>love her, I am a Jew. I will go get her picture.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-</SCENE>

-

-</ACT>

-

-<ACT><TITLE>ACT III</TITLE>

-

-<SCENE><TITLE>SCENE I.  LEONATO'S garden.</TITLE>

-<STAGEDIR>Enter HERO, MARGARET, and URSULA</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Good Margaret, run thee to the parlor;</LINE>

-<LINE>There shalt thou find my cousin Beatrice</LINE>

-<LINE>Proposing with the prince and Claudio:</LINE>

-<LINE>Whisper her ear and tell her, I and Ursula</LINE>

-<LINE>Walk in the orchard and our whole discourse</LINE>

-<LINE>Is all of her; say that thou overheard'st us;</LINE>

-<LINE>And bid her steal into the pleached bower,</LINE>

-<LINE>Where honeysuckles, ripen'd by the sun,</LINE>

-<LINE>Forbid the sun to enter, like favourites,</LINE>

-<LINE>Made proud by princes, that advance their pride</LINE>

-<LINE>Against that power that bred it: there will she hide her,</LINE>

-<LINE>To listen our purpose.  This is thy office;</LINE>

-<LINE>Bear thee well in it and leave us alone.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>I'll make her come, I warrant you, presently.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Now, Ursula, when Beatrice doth come,</LINE>

-<LINE>As we do trace this alley up and down,</LINE>

-<LINE>Our talk must only be of Benedick.</LINE>

-<LINE>When I do name him, let it be thy part</LINE>

-<LINE>To praise him more than ever man did merit:</LINE>

-<LINE>My talk to thee must be how Benedick</LINE>

-<LINE>Is sick in love with Beatrice. Of this matter</LINE>

-<LINE>Is little Cupid's crafty arrow made,</LINE>

-<LINE>That only wounds by hearsay.</LINE>

-<STAGEDIR>Enter BEATRICE, behind</STAGEDIR>

-<LINE>Now begin;</LINE>

-<LINE>For look where Beatrice, like a lapwing, runs</LINE>

-<LINE>Close by the ground, to hear our conference.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>The pleasant'st angling is to see the fish</LINE>

-<LINE>Cut with her golden oars the silver stream,</LINE>

-<LINE>And greedily devour the treacherous bait:</LINE>

-<LINE>So angle we for Beatrice; who even now</LINE>

-<LINE>Is couched in the woodbine coverture.</LINE>

-<LINE>Fear you not my part of the dialogue.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Then go we near her, that her ear lose nothing</LINE>

-<LINE>Of the false sweet bait that we lay for it.</LINE>

-<STAGEDIR>Approaching the bower</STAGEDIR>

-<LINE>No, truly, Ursula, she is too disdainful;</LINE>

-<LINE>I know her spirits are as coy and wild</LINE>

-<LINE>As haggerds of the rock.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>But are you sure</LINE>

-<LINE>That Benedick loves Beatrice so entirely?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>So says the prince and my new-trothed lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>And did they bid you tell her of it, madam?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>They did entreat me to acquaint her of it;</LINE>

-<LINE>But I persuaded them, if they loved Benedick,</LINE>

-<LINE>To wish him wrestle with affection,</LINE>

-<LINE>And never to let Beatrice know of it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Why did you so? Doth not the gentleman</LINE>

-<LINE>Deserve as full as fortunate a bed</LINE>

-<LINE>As ever Beatrice shall couch upon?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>O god of love! I know he doth deserve</LINE>

-<LINE>As much as may be yielded to a man:</LINE>

-<LINE>But Nature never framed a woman's heart</LINE>

-<LINE>Of prouder stuff than that of Beatrice;</LINE>

-<LINE>Disdain and scorn ride sparkling in her eyes,</LINE>

-<LINE>Misprising what they look on, and her wit</LINE>

-<LINE>Values itself so highly that to her</LINE>

-<LINE>All matter else seems weak: she cannot love,</LINE>

-<LINE>Nor take no shape nor project of affection,</LINE>

-<LINE>She is so self-endeared.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Sure, I think so;</LINE>

-<LINE>And therefore certainly it were not good</LINE>

-<LINE>She knew his love, lest she make sport at it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Why, you speak truth. I never yet saw man,</LINE>

-<LINE>How wise, how noble, young, how rarely featured,</LINE>

-<LINE>But she would spell him backward: if fair-faced,</LINE>

-<LINE>She would swear the gentleman should be her sister;</LINE>

-<LINE>If black, why, Nature, drawing of an antique,</LINE>

-<LINE>Made a foul blot; if tall, a lance ill-headed;</LINE>

-<LINE>If low, an agate very vilely cut;</LINE>

-<LINE>If speaking, why, a vane blown with all winds;</LINE>

-<LINE>If silent, why, a block moved with none.</LINE>

-<LINE>So turns she every man the wrong side out</LINE>

-<LINE>And never gives to truth and virtue that</LINE>

-<LINE>Which simpleness and merit purchaseth.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Sure, sure, such carping is not commendable.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>No, not to be so odd and from all fashions</LINE>

-<LINE>As Beatrice is, cannot be commendable:</LINE>

-<LINE>But who dare tell her so? If I should speak,</LINE>

-<LINE>She would mock me into air; O, she would laugh me</LINE>

-<LINE>Out of myself, press me to death with wit.</LINE>

-<LINE>Therefore let Benedick, like cover'd fire,</LINE>

-<LINE>Consume away in sighs, waste inwardly:</LINE>

-<LINE>It were a better death than die with mocks,</LINE>

-<LINE>Which is as bad as die with tickling.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Yet tell her of it: hear what she will say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>No; rather I will go to Benedick</LINE>

-<LINE>And counsel him to fight against his passion.</LINE>

-<LINE>And, truly, I'll devise some honest slanders</LINE>

-<LINE>To stain my cousin with: one doth not know</LINE>

-<LINE>How much an ill word may empoison liking.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>O, do not do your cousin such a wrong.</LINE>

-<LINE>She cannot be so much without true judgment--</LINE>

-<LINE>Having so swift and excellent a wit</LINE>

-<LINE>As she is prized to have--as to refuse</LINE>

-<LINE>So rare a gentleman as Signior Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>He is the only man of Italy.</LINE>

-<LINE>Always excepted my dear Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>I pray you, be not angry with me, madam,</LINE>

-<LINE>Speaking my fancy: Signior Benedick,</LINE>

-<LINE>For shape, for bearing, argument and valour,</LINE>

-<LINE>Goes foremost in report through Italy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Indeed, he hath an excellent good name.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>His excellence did earn it, ere he had it.</LINE>

-<LINE>When are you married, madam?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Why, every day, to-morrow. Come, go in:</LINE>

-<LINE>I'll show thee some attires, and have thy counsel</LINE>

-<LINE>Which is the best to furnish me to-morrow.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>She's limed, I warrant you: we have caught her, madam.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>If it proves so, then loving goes by haps:</LINE>

-<LINE>Some Cupid kills with arrows, some with traps.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt HERO and URSULA</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE><STAGEDIR>Coming forward</STAGEDIR></LINE>

-<LINE>What fire is in mine ears? Can this be true?</LINE>

-<LINE>Stand I condemn'd for pride and scorn so much?</LINE>

-<LINE>Contempt, farewell! and maiden pride, adieu!</LINE>

-<LINE>No glory lives behind the back of such.</LINE>

-<LINE>And, Benedick, love on; I will requite thee,</LINE>

-<LINE>Taming my wild heart to thy loving hand:</LINE>

-<LINE>If thou dost love, my kindness shall incite thee</LINE>

-<LINE>To bind our loves up in a holy band;</LINE>

-<LINE>For others say thou dost deserve, and I</LINE>

-<LINE>Believe it better than reportingly.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE II.  A room in LEONATO'S house</TITLE>

-<STAGEDIR>Enter DON PEDRO, CLAUDIO, BENEDICK, and LEONATO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I do but stay till your marriage be consummate, and</LINE>

-<LINE>then go I toward Arragon.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I'll bring you thither, my lord, if you'll</LINE>

-<LINE>vouchsafe me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Nay, that would be as great a soil in the new gloss</LINE>

-<LINE>of your marriage as to show a child his new coat</LINE>

-<LINE>and forbid him to wear it. I will only be bold</LINE>

-<LINE>with Benedick for his company; for, from the crown</LINE>

-<LINE>of his head to the sole of his foot, he is all</LINE>

-<LINE>mirth: he hath twice or thrice cut Cupid's</LINE>

-<LINE>bow-string and the little hangman dare not shoot at</LINE>

-<LINE>him; he hath a heart as sound as a bell and his</LINE>

-<LINE>tongue is the clapper, for what his heart thinks his</LINE>

-<LINE>tongue speaks.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Gallants, I am not as I have been.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>So say I methinks you are sadder.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I hope he be in love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Hang him, truant! there's no true drop of blood in</LINE>

-<LINE>him, to be truly touched with love: if he be sad,</LINE>

-<LINE>he wants money.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I have the toothache.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Draw it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Hang it!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>You must hang it first, and draw it afterwards.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What! sigh for the toothache?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Where is but a humour or a worm.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Well, every one can master a grief but he that has</LINE>

-<LINE>it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Yet say I, he is in love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>There is no appearance of fancy in him, unless it be</LINE>

-<LINE>a fancy that he hath to strange disguises; as, to be</LINE>

-<LINE>a Dutchman today, a Frenchman to-morrow, or in the</LINE>

-<LINE>shape of two countries at once, as, a German from</LINE>

-<LINE>the waist downward, all slops, and a Spaniard from</LINE>

-<LINE>the hip upward, no doublet. Unless he have a fancy</LINE>

-<LINE>to this foolery, as it appears he hath, he is no</LINE>

-<LINE>fool for fancy, as you would have it appear he is.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If he be not in love with some woman, there is no</LINE>

-<LINE>believing old signs: a' brushes his hat o'</LINE>

-<LINE>mornings; what should that bode?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Hath any man seen him at the barber's?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>No, but the barber's man hath been seen with him,</LINE>

-<LINE>and the old ornament of his cheek hath already</LINE>

-<LINE>stuffed tennis-balls.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Indeed, he looks younger than he did, by the loss of a beard.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Nay, a' rubs himself with civet: can you smell him</LINE>

-<LINE>out by that?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>That's as much as to say, the sweet youth's in love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>The greatest note of it is his melancholy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And when was he wont to wash his face?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Yea, or to paint himself? for the which, I hear</LINE>

-<LINE>what they say of him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Nay, but his jesting spirit; which is now crept into</LINE>

-<LINE>a lute-string and now governed by stops.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Indeed, that tells a heavy tale for him: conclude,</LINE>

-<LINE>conclude he is in love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Nay, but I know who loves him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>That would I know too: I warrant, one that knows him not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Yes, and his ill conditions; and, in despite of</LINE>

-<LINE>all, dies for him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>She shall be buried with her face upwards.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Yet is this no charm for the toothache. Old</LINE>

-<LINE>signior, walk aside with me: I have studied eight</LINE>

-<LINE>or nine wise words to speak to you, which these</LINE>

-<LINE>hobby-horses must not hear.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt BENEDICK and LEONATO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>For my life, to break with him about Beatrice.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>'Tis even so. Hero and Margaret have by this</LINE>

-<LINE>played their parts with Beatrice; and then the two</LINE>

-<LINE>bears will not bite one another when they meet.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter DON JOHN</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>My lord and brother, God save you!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good den, brother.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>If your leisure served, I would speak with you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>In private?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>If it please you: yet Count Claudio may hear; for</LINE>

-<LINE>what I would speak of concerns him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What's the matter?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE><STAGEDIR>To CLAUDIO</STAGEDIR>  Means your lordship to be married</LINE>

-<LINE>to-morrow?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>You know he does.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I know not that, when he knows what I know.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If there be any impediment, I pray you discover it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>You may think I love you not: let that appear</LINE>

-<LINE>hereafter, and aim better at me by that I now will</LINE>

-<LINE>manifest. For my brother, I think he holds you</LINE>

-<LINE>well, and in dearness of heart hath holp to effect</LINE>

-<LINE>your ensuing marriage;--surely suit ill spent and</LINE>

-<LINE>labour ill bestowed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Why, what's the matter?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I came hither to tell you; and, circumstances</LINE>

-<LINE>shortened, for she has been too long a talking of,</LINE>

-<LINE>the lady is disloyal.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Who, Hero?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Even she; Leonato's Hero, your Hero, every man's Hero:</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Disloyal?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>The word is too good to paint out her wickedness; I</LINE>

-<LINE>could say she were worse: think you of a worse</LINE>

-<LINE>title, and I will fit her to it. Wonder not till</LINE>

-<LINE>further warrant: go but with me to-night, you shall</LINE>

-<LINE>see her chamber-window entered, even the night</LINE>

-<LINE>before her wedding-day: if you love her then,</LINE>

-<LINE>to-morrow wed her; but it would better fit your honour</LINE>

-<LINE>to change your mind.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>May this be so?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I will not think it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>If you dare not trust that you see, confess not</LINE>

-<LINE>that you know: if you will follow me, I will show</LINE>

-<LINE>you enough; and when you have seen more and heard</LINE>

-<LINE>more, proceed accordingly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If I see any thing to-night why I should not marry</LINE>

-<LINE>her to-morrow in the congregation, where I should</LINE>

-<LINE>wed, there will I shame her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And, as I wooed for thee to obtain her, I will join</LINE>

-<LINE>with thee to disgrace her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>I will disparage her no farther till you are my</LINE>

-<LINE>witnesses: bear it coldly but till midnight, and</LINE>

-<LINE>let the issue show itself.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>O day untowardly turned!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O mischief strangely thwarting!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>O plague right well prevented! so will you say when</LINE>

-<LINE>you have seen the sequel.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE III.  A street.</TITLE>

-<STAGEDIR>Enter DOGBERRY and VERGES with the Watch</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Are you good men and true?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Yea, or else it were pity but they should suffer</LINE>

-<LINE>salvation, body and soul.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Nay, that were a punishment too good for them, if</LINE>

-<LINE>they should have any allegiance in them, being</LINE>

-<LINE>chosen for the prince's watch.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Well, give them their charge, neighbour Dogberry.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>First, who think you the most desertless man to be</LINE>

-<LINE>constable?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>Hugh Otecake, sir, or George Seacole; for they can</LINE>

-<LINE>write and read.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Come hither, neighbour Seacole. God hath blessed</LINE>

-<LINE>you with a good name: to be a well-favoured man is</LINE>

-<LINE>the gift of fortune; but to write and read comes by nature.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Second Watchman</SPEAKER>

-<LINE>Both which, master constable,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>You have: I knew it would be your answer. Well,</LINE>

-<LINE>for your favour, sir, why, give God thanks, and make</LINE>

-<LINE>no boast of it; and for your writing and reading,</LINE>

-<LINE>let that appear when there is no need of such</LINE>

-<LINE>vanity. You are thought here to be the most</LINE>

-<LINE>senseless and fit man for the constable of the</LINE>

-<LINE>watch; therefore bear you the lantern. This is your</LINE>

-<LINE>charge: you shall comprehend all vagrom men; you are</LINE>

-<LINE>to bid any man stand, in the prince's name.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Second Watchman</SPEAKER>

-<LINE>How if a' will not stand?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Why, then, take no note of him, but let him go; and</LINE>

-<LINE>presently call the rest of the watch together and</LINE>

-<LINE>thank God you are rid of a knave.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>If he will not stand when he is bidden, he is none</LINE>

-<LINE>of the prince's subjects.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>True, and they are to meddle with none but the</LINE>

-<LINE>prince's subjects. You shall also make no noise in</LINE>

-<LINE>the streets; for, for the watch to babble and to</LINE>

-<LINE>talk is most tolerable and not to be endured.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>We will rather sleep than talk: we know what</LINE>

-<LINE>belongs to a watch.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Why, you speak like an ancient and most quiet</LINE>

-<LINE>watchman; for I cannot see how sleeping should</LINE>

-<LINE>offend: only, have a care that your bills be not</LINE>

-<LINE>stolen. Well, you are to call at all the</LINE>

-<LINE>ale-houses, and bid those that are drunk get them to bed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>How if they will not?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Why, then, let them alone till they are sober: if</LINE>

-<LINE>they make you not then the better answer, you may</LINE>

-<LINE>say they are not the men you took them for.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>Well, sir.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>If you meet a thief, you may suspect him, by virtue</LINE>

-<LINE>of your office, to be no true man; and, for such</LINE>

-<LINE>kind of men, the less you meddle or make with them,</LINE>

-<LINE>why the more is for your honesty.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>If we know him to be a thief, shall we not lay</LINE>

-<LINE>hands on him?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Truly, by your office, you may; but I think they</LINE>

-<LINE>that touch pitch will be defiled: the most peaceable</LINE>

-<LINE>way for you, if you do take a thief, is to let him</LINE>

-<LINE>show himself what he is and steal out of your company.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>You have been always called a merciful man, partner.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Truly, I would not hang a dog by my will, much more</LINE>

-<LINE>a man who hath any honesty in him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>If you hear a child cry in the night, you must call</LINE>

-<LINE>to the nurse and bid her still it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>How if the nurse be asleep and will not hear us?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Why, then, depart in peace, and let the child wake</LINE>

-<LINE>her with crying; for the ewe that will not hear her</LINE>

-<LINE>lamb when it baes will never answer a calf when he bleats.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>'Tis very true.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>This is the end of the charge:--you, constable, are</LINE>

-<LINE>to present the prince's own person: if you meet the</LINE>

-<LINE>prince in the night, you may stay him.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Nay, by'r our lady, that I think a' cannot.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Five shillings to one on't, with any man that knows</LINE>

-<LINE>the statutes, he may stay him: marry, not without</LINE>

-<LINE>the prince be willing; for, indeed, the watch ought</LINE>

-<LINE>to offend no man; and it is an offence to stay a</LINE>

-<LINE>man against his will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>By'r lady, I think it be so.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Ha, ha, ha! Well, masters, good night: an there be</LINE>

-<LINE>any matter of weight chances, call up me: keep your</LINE>

-<LINE>fellows' counsels and your own; and good night.</LINE>

-<LINE>Come, neighbour.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>Well, masters, we hear our charge: let us go sit here</LINE>

-<LINE>upon the church-bench till two, and then all to bed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>One word more, honest neighbours. I pray you watch</LINE>

-<LINE>about Signior Leonato's door; for the wedding being</LINE>

-<LINE>there to-morrow, there is a great coil to-night.</LINE>

-<LINE>Adieu: be vigitant, I beseech you.</LINE>

-</SPEECH>

-

-<STAGEDIR>Exeunt DOGBERRY and VERGES</STAGEDIR>

-<STAGEDIR>Enter BORACHIO and CONRADE</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>What Conrade!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE><STAGEDIR>Aside</STAGEDIR>  Peace! stir not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Conrade, I say!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Here, man; I am at thy elbow.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Mass, and my elbow itched; I thought there would a</LINE>

-<LINE>scab follow.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>I will owe thee an answer for that: and now forward</LINE>

-<LINE>with thy tale.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Stand thee close, then, under this pent-house, for</LINE>

-<LINE>it drizzles rain; and I will, like a true drunkard,</LINE>

-<LINE>utter all to thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE><STAGEDIR>Aside</STAGEDIR>  Some treason, masters: yet stand close.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Therefore know I have earned of Don John a thousand ducats.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Is it possible that any villany should be so dear?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Thou shouldst rather ask if it were possible any</LINE>

-<LINE>villany should be so rich; for when rich villains</LINE>

-<LINE>have need of poor ones, poor ones may make what</LINE>

-<LINE>price they will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>I wonder at it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>That shows thou art unconfirmed. Thou knowest that</LINE>

-<LINE>the fashion of a doublet, or a hat, or a cloak, is</LINE>

-<LINE>nothing to a man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Yes, it is apparel.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>I mean, the fashion.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Yes, the fashion is the fashion.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Tush! I may as well say the fool's the fool. But</LINE>

-<LINE>seest thou not what a deformed thief this fashion</LINE>

-<LINE>is?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE><STAGEDIR>Aside</STAGEDIR>  I know that Deformed; a' has been a vile</LINE>

-<LINE>thief this seven year; a' goes up and down like a</LINE>

-<LINE>gentleman: I remember his name.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Didst thou not hear somebody?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>No; 'twas the vane on the house.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Seest thou not, I say, what a deformed thief this</LINE>

-<LINE>fashion is? how giddily a' turns about all the hot</LINE>

-<LINE>bloods between fourteen and five-and-thirty?</LINE>

-<LINE>sometimes fashioning them like Pharaoh's soldiers</LINE>

-<LINE>in the reeky painting, sometime like god Bel's</LINE>

-<LINE>priests in the old church-window, sometime like the</LINE>

-<LINE>shaven Hercules in the smirched worm-eaten tapestry,</LINE>

-<LINE>where his codpiece seems as massy as his club?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>All this I see; and I see that the fashion wears</LINE>

-<LINE>out more apparel than the man. But art not thou</LINE>

-<LINE>thyself giddy with the fashion too, that thou hast</LINE>

-<LINE>shifted out of thy tale into telling me of the fashion?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Not so, neither: but know that I have to-night</LINE>

-<LINE>wooed Margaret, the Lady Hero's gentlewoman, by the</LINE>

-<LINE>name of Hero: she leans me out at her mistress'</LINE>

-<LINE>chamber-window, bids me a thousand times good</LINE>

-<LINE>night,--I tell this tale vilely:--I should first</LINE>

-<LINE>tell thee how the prince, Claudio and my master,</LINE>

-<LINE>planted and placed and possessed by my master Don</LINE>

-<LINE>John, saw afar off in the orchard this amiable encounter.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>And thought they Margaret was Hero?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Two of them did, the prince and Claudio; but the</LINE>

-<LINE>devil my master knew she was Margaret; and partly</LINE>

-<LINE>by his oaths, which first possessed them, partly by</LINE>

-<LINE>the dark night, which did deceive them, but chiefly</LINE>

-<LINE>by my villany, which did confirm any slander that</LINE>

-<LINE>Don John had made, away went Claudio enraged; swore</LINE>

-<LINE>he would meet her, as he was appointed, next morning</LINE>

-<LINE>at the temple, and there, before the whole</LINE>

-<LINE>congregation, shame her with what he saw o'er night</LINE>

-<LINE>and send her home again without a husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>We charge you, in the prince's name, stand!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Second Watchman</SPEAKER>

-<LINE>Call up the right master constable. We have here</LINE>

-<LINE>recovered the most dangerous piece of lechery that</LINE>

-<LINE>ever was known in the commonwealth.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>And one Deformed is one of them: I know him; a'</LINE>

-<LINE>wears a lock.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Masters, masters,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Second Watchman</SPEAKER>

-<LINE>You'll be made bring Deformed forth, I warrant you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Masters,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>Never speak: we charge you let us obey you to go with us.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>We are like to prove a goodly commodity, being taken</LINE>

-<LINE>up of these men's bills.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>A commodity in question, I warrant you. Come, we'll obey you.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE IV.  HERO's apartment.</TITLE>

-<STAGEDIR>Enter HERO, MARGARET, and URSULA</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Good Ursula, wake my cousin Beatrice, and desire</LINE>

-<LINE>her to rise.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>I will, lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>And bid her come hither.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Well.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Troth, I think your other rabato were better.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>No, pray thee, good Meg, I'll wear this.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>By my troth, 's not so good; and I warrant your</LINE>

-<LINE>cousin will say so.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>My cousin's a fool, and thou art another: I'll wear</LINE>

-<LINE>none but this.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>I like the new tire within excellently, if the hair</LINE>

-<LINE>were a thought browner; and your gown's a most rare</LINE>

-<LINE>fashion, i' faith. I saw the Duchess of Milan's</LINE>

-<LINE>gown that they praise so.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>O, that exceeds, they say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>By my troth, 's but a night-gown in respect of</LINE>

-<LINE>yours: cloth o' gold, and cuts, and laced with</LINE>

-<LINE>silver, set with pearls, down sleeves, side sleeves,</LINE>

-<LINE>and skirts, round underborne with a bluish tinsel:</LINE>

-<LINE>but for a fine, quaint, graceful and excellent</LINE>

-<LINE>fashion, yours is worth ten on 't.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>God give me joy to wear it! for my heart is</LINE>

-<LINE>exceeding heavy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>'Twill be heavier soon by the weight of a man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Fie upon thee! art not ashamed?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Of what, lady? of speaking honourably? Is not</LINE>

-<LINE>marriage honourable in a beggar? Is not your lord</LINE>

-<LINE>honourable without marriage? I think you would have</LINE>

-<LINE>me say, 'saving your reverence, a husband:' and bad</LINE>

-<LINE>thinking do not wrest true speaking, I'll offend</LINE>

-<LINE>nobody: is there any harm in 'the heavier for a</LINE>

-<LINE>husband'? None, I think, and it be the right husband</LINE>

-<LINE>and the right wife; otherwise 'tis light, and not</LINE>

-<LINE>heavy: ask my Lady Beatrice else; here she comes.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter BEATRICE</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Good morrow, coz.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Good morrow, sweet Hero.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Why how now? do you speak in the sick tune?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I am out of all other tune, methinks.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Clap's into 'Light o' love;' that goes without a</LINE>

-<LINE>burden: do you sing it, and I'll dance it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Ye light o' love, with your heels! then, if your</LINE>

-<LINE>husband have stables enough, you'll see he shall</LINE>

-<LINE>lack no barns.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>O illegitimate construction! I scorn that with my heels.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>'Tis almost five o'clock, cousin; tis time you were</LINE>

-<LINE>ready. By my troth, I am exceeding ill: heigh-ho!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>For a hawk, a horse, or a husband?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>For the letter that begins them all, H.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Well, and you be not turned Turk, there's no more</LINE>

-<LINE>sailing by the star.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>What means the fool, trow?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Nothing I; but God send every one their heart's desire!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>These gloves the count sent me; they are an</LINE>

-<LINE>excellent perfume.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I am stuffed, cousin; I cannot smell.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>A maid, and stuffed! there's goodly catching of cold.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>O, God help me! God help me! how long have you</LINE>

-<LINE>professed apprehension?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Even since you left it. Doth not my wit become me rarely?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>It is not seen enough, you should wear it in your</LINE>

-<LINE>cap. By my troth, I am sick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Get you some of this distilled Carduus Benedictus,</LINE>

-<LINE>and lay it to your heart: it is the only thing for a qualm.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>There thou prickest her with a thistle.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Benedictus! why Benedictus? you have some moral in</LINE>

-<LINE>this Benedictus.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Moral! no, by my troth, I have no moral meaning; I</LINE>

-<LINE>meant, plain holy-thistle. You may think perchance</LINE>

-<LINE>that I think you are in love: nay, by'r lady, I am</LINE>

-<LINE>not such a fool to think what I list, nor I list</LINE>

-<LINE>not to think what I can, nor indeed I cannot think,</LINE>

-<LINE>if I would think my heart out of thinking, that you</LINE>

-<LINE>are in love or that you will be in love or that you</LINE>

-<LINE>can be in love. Yet Benedick was such another, and</LINE>

-<LINE>now is he become a man: he swore he would never</LINE>

-<LINE>marry, and yet now, in despite of his heart, he eats</LINE>

-<LINE>his meat without grudging: and how you may be</LINE>

-<LINE>converted I know not, but methinks you look with</LINE>

-<LINE>your eyes as other women do.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>What pace is this that thy tongue keeps?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Not a false gallop.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Re-enter URSULA</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Madam, withdraw: the prince, the count, Signior</LINE>

-<LINE>Benedick, Don John, and all the gallants of the</LINE>

-<LINE>town, are come to fetch you to church.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Help to dress me, good coz, good Meg, good Ursula.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE V.  Another room in LEONATO'S house.</TITLE>

-<STAGEDIR>Enter LEONATO, with DOGBERRY and VERGES</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What would you with me, honest neighbour?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Marry, sir, I would have some confidence with you</LINE>

-<LINE>that decerns you nearly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Brief, I pray you; for you see it is a busy time with me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Marry, this it is, sir.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Yes, in truth it is, sir.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What is it, my good friends?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Goodman Verges, sir, speaks a little off the</LINE>

-<LINE>matter: an old man, sir, and his wits are not so</LINE>

-<LINE>blunt as, God help, I would desire they were; but,</LINE>

-<LINE>in faith, honest as the skin between his brows.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Yes, I thank God I am as honest as any man living</LINE>

-<LINE>that is an old man and no honester than I.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Comparisons are odorous: palabras, neighbour Verges.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Neighbours, you are tedious.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>It pleases your worship to say so, but we are the</LINE>

-<LINE>poor duke's officers; but truly, for mine own part,</LINE>

-<LINE>if I were as tedious as a king, I could find it in</LINE>

-<LINE>my heart to bestow it all of your worship.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>All thy tediousness on me, ah?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Yea, an 'twere a thousand pound more than 'tis; for</LINE>

-<LINE>I hear as good exclamation on your worship as of any</LINE>

-<LINE>man in the city; and though I be but a poor man, I</LINE>

-<LINE>am glad to hear it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>And so am I.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I would fain know what you have to say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Marry, sir, our watch to-night, excepting your</LINE>

-<LINE>worship's presence, ha' ta'en a couple of as arrant</LINE>

-<LINE>knaves as any in Messina.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>A good old man, sir; he will be talking: as they</LINE>

-<LINE>say, when the age is in, the wit is out: God help</LINE>

-<LINE>us! it is a world to see. Well said, i' faith,</LINE>

-<LINE>neighbour Verges: well, God's a good man; an two men</LINE>

-<LINE>ride of a horse, one must ride behind. An honest</LINE>

-<LINE>soul, i' faith, sir; by my troth he is, as ever</LINE>

-<LINE>broke bread; but God is to be worshipped; all men</LINE>

-<LINE>are not alike; alas, good neighbour!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Indeed, neighbour, he comes too short of you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Gifts that God gives.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I must leave you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>One word, sir: our watch, sir, have indeed</LINE>

-<LINE>comprehended two aspicious persons, and we would</LINE>

-<LINE>have them this morning examined before your worship.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Take their examination yourself and bring it me: I</LINE>

-<LINE>am now in great haste, as it may appear unto you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>It shall be suffigance.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Drink some wine ere you go: fare you well.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter a Messenger</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>My lord, they stay for you to give your daughter to</LINE>

-<LINE>her husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I'll wait upon them: I am ready.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt LEONATO and Messenger</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Go, good partner, go, get you to Francis Seacole;</LINE>

-<LINE>bid him bring his pen and inkhorn to the gaol: we</LINE>

-<LINE>are now to examination these men.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>And we must do it wisely.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>We will spare for no wit, I warrant you; here's</LINE>

-<LINE>that shall drive some of them to a non-come: only</LINE>

-<LINE>get the learned writer to set down our</LINE>

-<LINE>excommunication and meet me at the gaol.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-</ACT>

-

-<ACT><TITLE>ACT IV</TITLE>

-

-<SCENE><TITLE>SCENE I.  A church.</TITLE>

-<STAGEDIR>Enter DON PEDRO, DON JOHN, LEONATO, FRIAR FRANCIS,

-CLAUDIO, BENEDICK, HERO, BEATRICE, and Attendants</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Come, Friar Francis, be brief; only to the plain</LINE>

-<LINE>form of marriage, and you shall recount their</LINE>

-<LINE>particular duties afterwards.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>You come hither, my lord, to marry this lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>No.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>To be married to her: friar, you come to marry her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Lady, you come hither to be married to this count.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>I do.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>If either of you know any inward impediment why you</LINE>

-<LINE>should not be conjoined, charge you, on your souls,</LINE>

-<LINE>to utter it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Know you any, Hero?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>None, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Know you any, count?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I dare make his answer, none.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O, what men dare do! what men may do! what men daily</LINE>

-<LINE>do, not knowing what they do!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>How now! interjections? Why, then, some be of</LINE>

-<LINE>laughing, as, ah, ha, he!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Stand thee by, friar. Father, by your leave:</LINE>

-<LINE>Will you with free and unconstrained soul</LINE>

-<LINE>Give me this maid, your daughter?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>As freely, son, as God did give her me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And what have I to give you back, whose worth</LINE>

-<LINE>May counterpoise this rich and precious gift?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Nothing, unless you render her again.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Sweet prince, you learn me noble thankfulness.</LINE>

-<LINE>There, Leonato, take her back again:</LINE>

-<LINE>Give not this rotten orange to your friend;</LINE>

-<LINE>She's but the sign and semblance of her honour.</LINE>

-<LINE>Behold how like a maid she blushes here!</LINE>

-<LINE>O, what authority and show of truth</LINE>

-<LINE>Can cunning sin cover itself withal!</LINE>

-<LINE>Comes not that blood as modest evidence</LINE>

-<LINE>To witness simple virtue? Would you not swear,</LINE>

-<LINE>All you that see her, that she were a maid,</LINE>

-<LINE>By these exterior shows? But she is none:</LINE>

-<LINE>She knows the heat of a luxurious bed;</LINE>

-<LINE>Her blush is guiltiness, not modesty.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What do you mean, my lord?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Not to be married,</LINE>

-<LINE>Not to knit my soul to an approved wanton.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Dear my lord, if you, in your own proof,</LINE>

-<LINE>Have vanquish'd the resistance of her youth,</LINE>

-<LINE>And made defeat of her virginity,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I know what you would say: if I have known her,</LINE>

-<LINE>You will say she did embrace me as a husband,</LINE>

-<LINE>And so extenuate the 'forehand sin:</LINE>

-<LINE>No, Leonato,</LINE>

-<LINE>I never tempted her with word too large;</LINE>

-<LINE>But, as a brother to his sister, show'd</LINE>

-<LINE>Bashful sincerity and comely love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>And seem'd I ever otherwise to you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Out on thee! Seeming! I will write against it:</LINE>

-<LINE>You seem to me as Dian in her orb,</LINE>

-<LINE>As chaste as is the bud ere it be blown;</LINE>

-<LINE>But you are more intemperate in your blood</LINE>

-<LINE>Than Venus, or those pamper'd animals</LINE>

-<LINE>That rage in savage sensuality.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Is my lord well, that he doth speak so wide?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Sweet prince, why speak not you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What should I speak?</LINE>

-<LINE>I stand dishonour'd, that have gone about</LINE>

-<LINE>To link my dear friend to a common stale.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Are these things spoken, or do I but dream?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Sir, they are spoken, and these things are true.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>This looks not like a nuptial.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>True! O God!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Leonato, stand I here?</LINE>

-<LINE>Is this the prince? is this the prince's brother?</LINE>

-<LINE>Is this face Hero's? are our eyes our own?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>All this is so: but what of this, my lord?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Let me but move one question to your daughter;</LINE>

-<LINE>And, by that fatherly and kindly power</LINE>

-<LINE>That you have in her, bid her answer truly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I charge thee do so, as thou art my child.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>O, God defend me! how am I beset!</LINE>

-<LINE>What kind of catechising call you this?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>To make you answer truly to your name.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Is it not Hero? Who can blot that name</LINE>

-<LINE>With any just reproach?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Marry, that can Hero;</LINE>

-<LINE>Hero itself can blot out Hero's virtue.</LINE>

-<LINE>What man was he talk'd with you yesternight</LINE>

-<LINE>Out at your window betwixt twelve and one?</LINE>

-<LINE>Now, if you are a maid, answer to this.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>I talk'd with no man at that hour, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Why, then are you no maiden. Leonato,</LINE>

-<LINE>I am sorry you must hear: upon mine honour,</LINE>

-<LINE>Myself, my brother and this grieved count</LINE>

-<LINE>Did see her, hear her, at that hour last night</LINE>

-<LINE>Talk with a ruffian at her chamber-window</LINE>

-<LINE>Who hath indeed, most like a liberal villain,</LINE>

-<LINE>Confess'd the vile encounters they have had</LINE>

-<LINE>A thousand times in secret.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Fie, fie! they are not to be named, my lord,</LINE>

-<LINE>Not to be spoke of;</LINE>

-<LINE>There is not chastity enough in language</LINE>

-<LINE>Without offence to utter them. Thus, pretty lady,</LINE>

-<LINE>I am sorry for thy much misgovernment.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O Hero, what a Hero hadst thou been,</LINE>

-<LINE>If half thy outward graces had been placed</LINE>

-<LINE>About thy thoughts and counsels of thy heart!</LINE>

-<LINE>But fare thee well, most foul, most fair! farewell,</LINE>

-<LINE>Thou pure impiety and impious purity!</LINE>

-<LINE>For thee I'll lock up all the gates of love,</LINE>

-<LINE>And on my eyelids shall conjecture hang,</LINE>

-<LINE>To turn all beauty into thoughts of harm,</LINE>

-<LINE>And never shall it more be gracious.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Hath no man's dagger here a point for me?</LINE>

-</SPEECH>

-

-

-<STAGEDIR>HERO swoons</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Why, how now, cousin! wherefore sink you down?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON JOHN</SPEAKER>

-<LINE>Come, let us go. These things, come thus to light,</LINE>

-<LINE>Smother her spirits up.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt DON PEDRO, DON JOHN, and CLAUDIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>How doth the lady?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Dead, I think. Help, uncle!</LINE>

-<LINE>Hero! why, Hero! Uncle! Signior Benedick! Friar!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>O Fate! take not away thy heavy hand.</LINE>

-<LINE>Death is the fairest cover for her shame</LINE>

-<LINE>That may be wish'd for.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>How now, cousin Hero!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Have comfort, lady.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Dost thou look up?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Yea, wherefore should she not?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Wherefore! Why, doth not every earthly thing</LINE>

-<LINE>Cry shame upon her? Could she here deny</LINE>

-<LINE>The story that is printed in her blood?</LINE>

-<LINE>Do not live, Hero; do not ope thine eyes:</LINE>

-<LINE>For, did I think thou wouldst not quickly die,</LINE>

-<LINE>Thought I thy spirits were stronger than thy shames,</LINE>

-<LINE>Myself would, on the rearward of reproaches,</LINE>

-<LINE>Strike at thy life. Grieved I, I had but one?</LINE>

-<LINE>Chid I for that at frugal nature's frame?</LINE>

-<LINE>O, one too much by thee! Why had I one?</LINE>

-<LINE>Why ever wast thou lovely in my eyes?</LINE>

-<LINE>Why had I not with charitable hand</LINE>

-<LINE>Took up a beggar's issue at my gates,</LINE>

-<LINE>Who smirch'd thus and mired with infamy,</LINE>

-<LINE>I might have said 'No part of it is mine;</LINE>

-<LINE>This shame derives itself from unknown loins'?</LINE>

-<LINE>But mine and mine I loved and mine I praised</LINE>

-<LINE>And mine that I was proud on, mine so much</LINE>

-<LINE>That I myself was to myself not mine,</LINE>

-<LINE>Valuing of her,--why, she, O, she is fallen</LINE>

-<LINE>Into a pit of ink, that the wide sea</LINE>

-<LINE>Hath drops too few to wash her clean again</LINE>

-<LINE>And salt too little which may season give</LINE>

-<LINE>To her foul-tainted flesh!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Sir, sir, be patient.</LINE>

-<LINE>For my part, I am so attired in wonder,</LINE>

-<LINE>I know not what to say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>O, on my soul, my cousin is belied!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Lady, were you her bedfellow last night?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, truly not; although, until last night,</LINE>

-<LINE>I have this twelvemonth been her bedfellow.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Confirm'd, confirm'd! O, that is stronger made</LINE>

-<LINE>Which was before barr'd up with ribs of iron!</LINE>

-<LINE>Would the two princes lie, and Claudio lie,</LINE>

-<LINE>Who loved her so, that, speaking of her foulness,</LINE>

-<LINE>Wash'd it with tears? Hence from her! let her die.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Hear me a little; for I have only been</LINE>

-<LINE>Silent so long and given way unto</LINE>

-<LINE>This course of fortune</LINE>

-<LINE>By noting of the lady. I have mark'd</LINE>

-<LINE>A thousand blushing apparitions</LINE>

-<LINE>To start into her face, a thousand innocent shames</LINE>

-<LINE>In angel whiteness beat away those blushes;</LINE>

-<LINE>And in her eye there hath appear'd a fire,</LINE>

-<LINE>To burn the errors that these princes hold</LINE>

-<LINE>Against her maiden truth. Call me a fool;</LINE>

-<LINE>Trust not my reading nor my observations,</LINE>

-<LINE>Which with experimental seal doth warrant</LINE>

-<LINE>The tenor of my book; trust not my age,</LINE>

-<LINE>My reverence, calling, nor divinity,</LINE>

-<LINE>If this sweet lady lie not guiltless here</LINE>

-<LINE>Under some biting error.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Friar, it cannot be.</LINE>

-<LINE>Thou seest that all the grace that she hath left</LINE>

-<LINE>Is that she will not add to her damnation</LINE>

-<LINE>A sin of perjury; she not denies it:</LINE>

-<LINE>Why seek'st thou then to cover with excuse</LINE>

-<LINE>That which appears in proper nakedness?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Lady, what man is he you are accused of?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>They know that do accuse me; I know none:</LINE>

-<LINE>If I know more of any man alive</LINE>

-<LINE>Than that which maiden modesty doth warrant,</LINE>

-<LINE>Let all my sins lack mercy! O my father,</LINE>

-<LINE>Prove you that any man with me conversed</LINE>

-<LINE>At hours unmeet, or that I yesternight</LINE>

-<LINE>Maintain'd the change of words with any creature,</LINE>

-<LINE>Refuse me, hate me, torture me to death!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>There is some strange misprision in the princes.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Two of them have the very bent of honour;</LINE>

-<LINE>And if their wisdoms be misled in this,</LINE>

-<LINE>The practise of it lives in John the bastard,</LINE>

-<LINE>Whose spirits toil in frame of villanies.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I know not. If they speak but truth of her,</LINE>

-<LINE>These hands shall tear her; if they wrong her honour,</LINE>

-<LINE>The proudest of them shall well hear of it.</LINE>

-<LINE>Time hath not yet so dried this blood of mine,</LINE>

-<LINE>Nor age so eat up my invention,</LINE>

-<LINE>Nor fortune made such havoc of my means,</LINE>

-<LINE>Nor my bad life reft me so much of friends,</LINE>

-<LINE>But they shall find, awaked in such a kind,</LINE>

-<LINE>Both strength of limb and policy of mind,</LINE>

-<LINE>Ability in means and choice of friends,</LINE>

-<LINE>To quit me of them throughly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Pause awhile,</LINE>

-<LINE>And let my counsel sway you in this case.</LINE>

-<LINE>Your daughter here the princes left for dead:</LINE>

-<LINE>Let her awhile be secretly kept in,</LINE>

-<LINE>And publish it that she is dead indeed;</LINE>

-<LINE>Maintain a mourning ostentation</LINE>

-<LINE>And on your family's old monument</LINE>

-<LINE>Hang mournful epitaphs and do all rites</LINE>

-<LINE>That appertain unto a burial.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>What shall become of this? what will this do?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Marry, this well carried shall on her behalf</LINE>

-<LINE>Change slander to remorse; that is some good:</LINE>

-<LINE>But not for that dream I on this strange course,</LINE>

-<LINE>But on this travail look for greater birth.</LINE>

-<LINE>She dying, as it must so be maintain'd,</LINE>

-<LINE>Upon the instant that she was accused,</LINE>

-<LINE>Shall be lamented, pitied and excused</LINE>

-<LINE>Of every hearer: for it so falls out</LINE>

-<LINE>That what we have we prize not to the worth</LINE>

-<LINE>Whiles we enjoy it, but being lack'd and lost,</LINE>

-<LINE>Why, then we rack the value, then we find</LINE>

-<LINE>The virtue that possession would not show us</LINE>

-<LINE>Whiles it was ours. So will it fare with Claudio:</LINE>

-<LINE>When he shall hear she died upon his words,</LINE>

-<LINE>The idea of her life shall sweetly creep</LINE>

-<LINE>Into his study of imagination,</LINE>

-<LINE>And every lovely organ of her life</LINE>

-<LINE>Shall come apparell'd in more precious habit,</LINE>

-<LINE>More moving-delicate and full of life,</LINE>

-<LINE>Into the eye and prospect of his soul,</LINE>

-<LINE>Than when she lived indeed; then shall he mourn,</LINE>

-<LINE>If ever love had interest in his liver,</LINE>

-<LINE>And wish he had not so accused her,</LINE>

-<LINE>No, though he thought his accusation true.</LINE>

-<LINE>Let this be so, and doubt not but success</LINE>

-<LINE>Will fashion the event in better shape</LINE>

-<LINE>Than I can lay it down in likelihood.</LINE>

-<LINE>But if all aim but this be levell'd false,</LINE>

-<LINE>The supposition of the lady's death</LINE>

-<LINE>Will quench the wonder of her infamy:</LINE>

-<LINE>And if it sort not well, you may conceal her,</LINE>

-<LINE>As best befits her wounded reputation,</LINE>

-<LINE>In some reclusive and religious life,</LINE>

-<LINE>Out of all eyes, tongues, minds and injuries.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Signior Leonato, let the friar advise you:</LINE>

-<LINE>And though you know my inwardness and love</LINE>

-<LINE>Is very much unto the prince and Claudio,</LINE>

-<LINE>Yet, by mine honour, I will deal in this</LINE>

-<LINE>As secretly and justly as your soul</LINE>

-<LINE>Should with your body.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Being that I flow in grief,</LINE>

-<LINE>The smallest twine may lead me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>'Tis well consented: presently away;</LINE>

-<LINE>For to strange sores strangely they strain the cure.</LINE>

-<LINE>Come, lady, die to live: this wedding-day</LINE>

-<LINE>Perhaps is but prolong'd: have patience and endure.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt all but BENEDICK and BEATRICE</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Lady Beatrice, have you wept all this while?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yea, and I will weep a while longer.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I will not desire that.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You have no reason; I do it freely.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Surely I do believe your fair cousin is wronged.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Ah, how much might the man deserve of me that would right her!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Is there any way to show such friendship?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>A very even way, but no such friend.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>May a man do it?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>It is a man's office, but not yours.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I do love nothing in the world so well as you: is</LINE>

-<LINE>not that strange?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>As strange as the thing I know not. It were as</LINE>

-<LINE>possible for me to say I loved nothing so well as</LINE>

-<LINE>you: but believe me not; and yet I lie not; I</LINE>

-<LINE>confess nothing, nor I deny nothing. I am sorry for my cousin.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>By my sword, Beatrice, thou lovest me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Do not swear, and eat it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I will swear by it that you love me; and I will make</LINE>

-<LINE>him eat it that says I love not you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Will you not eat your word?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>With no sauce that can be devised to it. I protest</LINE>

-<LINE>I love thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Why, then, God forgive me!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>What offence, sweet Beatrice?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You have stayed me in a happy hour: I was about to</LINE>

-<LINE>protest I loved you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And do it with all thy heart.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I love you with so much of my heart that none is</LINE>

-<LINE>left to protest.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Come, bid me do any thing for thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Kill Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Ha! not for the wide world.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You kill me to deny it. Farewell.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Tarry, sweet Beatrice.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I am gone, though I am here: there is no love in</LINE>

-<LINE>you: nay, I pray you, let me go.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Beatrice,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>In faith, I will go.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>We'll be friends first.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>You dare easier be friends with me than fight with mine enemy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Is Claudio thine enemy?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Is he not approved in the height a villain, that</LINE>

-<LINE>hath slandered, scorned, dishonoured my kinswoman? O</LINE>

-<LINE>that I were a man! What, bear her in hand until they</LINE>

-<LINE>come to take hands; and then, with public</LINE>

-<LINE>accusation, uncovered slander, unmitigated rancour,</LINE>

-<LINE>--O God, that I were a man! I would eat his heart</LINE>

-<LINE>in the market-place.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Hear me, Beatrice,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Talk with a man out at a window! A proper saying!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Nay, but, Beatrice,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Sweet Hero! She is wronged, she is slandered, she is undone.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Beat--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Princes and counties! Surely, a princely testimony,</LINE>

-<LINE>a goodly count, Count Comfect; a sweet gallant,</LINE>

-<LINE>surely! O that I were a man for his sake! or that I</LINE>

-<LINE>had any friend would be a man for my sake! But</LINE>

-<LINE>manhood is melted into courtesies, valour into</LINE>

-<LINE>compliment, and men are only turned into tongue, and</LINE>

-<LINE>trim ones too: he is now as valiant as Hercules</LINE>

-<LINE>that only tells a lie and swears it. I cannot be a</LINE>

-<LINE>man with wishing, therefore I will die a woman with grieving.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Tarry, good Beatrice. By this hand, I love thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Use it for my love some other way than swearing by it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Think you in your soul the Count Claudio hath wronged Hero?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yea, as sure as I have a thought or a soul.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Enough, I am engaged; I will challenge him. I will</LINE>

-<LINE>kiss your hand, and so I leave you. By this hand,</LINE>

-<LINE>Claudio shall render me a dear account. As you</LINE>

-<LINE>hear of me, so think of me. Go, comfort your</LINE>

-<LINE>cousin: I must say she is dead: and so, farewell.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE II.  A prison.</TITLE>

-<STAGEDIR>Enter DOGBERRY, VERGES, and Sexton, in gowns; and

-the Watch, with CONRADE and BORACHIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Is our whole dissembly appeared?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>O, a stool and a cushion for the sexton.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>Which be the malefactors?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Marry, that am I and my partner.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Nay, that's certain; we have the exhibition to examine.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>But which are the offenders that are to be</LINE>

-<LINE>examined? let them come before master constable.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Yea, marry, let them come before me. What is your</LINE>

-<LINE>name, friend?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Borachio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Pray, write down, Borachio. Yours, sirrah?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>I am a gentleman, sir, and my name is Conrade.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Write down, master gentleman Conrade. Masters, do</LINE>

-<LINE>you serve God?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Yea, sir, we hope.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Write down, that they hope they serve God: and</LINE>

-<LINE>write God first; for God defend but God should go</LINE>

-<LINE>before such villains! Masters, it is proved already</LINE>

-<LINE>that you are little better than false knaves; and it</LINE>

-<LINE>will go near to be thought so shortly. How answer</LINE>

-<LINE>you for yourselves?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Marry, sir, we say we are none.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>A marvellous witty fellow, I assure you: but I</LINE>

-<LINE>will go about with him. Come you hither, sirrah; a</LINE>

-<LINE>word in your ear: sir, I say to you, it is thought</LINE>

-<LINE>you are false knaves.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Sir, I say to you we are none.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Well, stand aside. 'Fore God, they are both in a</LINE>

-<LINE>tale. Have you writ down, that they are none?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>Master constable, you go not the way to examine:</LINE>

-<LINE>you must call forth the watch that are their accusers.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Yea, marry, that's the eftest way. Let the watch</LINE>

-<LINE>come forth. Masters, I charge you, in the prince's</LINE>

-<LINE>name, accuse these men.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>This man said, sir, that Don John, the prince's</LINE>

-<LINE>brother, was a villain.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Write down Prince John a villain. Why, this is flat</LINE>

-<LINE>perjury, to call a prince's brother villain.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Master constable,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Pray thee, fellow, peace: I do not like thy look,</LINE>

-<LINE>I promise thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>What heard you him say else?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Second Watchman</SPEAKER>

-<LINE>Marry, that he had received a thousand ducats of</LINE>

-<LINE>Don John for accusing the Lady Hero wrongfully.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Flat burglary as ever was committed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Yea, by mass, that it is.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>What else, fellow?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>First Watchman</SPEAKER>

-<LINE>And that Count Claudio did mean, upon his words, to</LINE>

-<LINE>disgrace Hero before the whole assembly. and not marry her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>O villain! thou wilt be condemned into everlasting</LINE>

-<LINE>redemption for this.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>What else?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Watchman</SPEAKER>

-<LINE>This is all.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Sexton</SPEAKER>

-<LINE>And this is more, masters, than you can deny.</LINE>

-<LINE>Prince John is this morning secretly stolen away;</LINE>

-<LINE>Hero was in this manner accused, in this very manner</LINE>

-<LINE>refused, and upon the grief of this suddenly died.</LINE>

-<LINE>Master constable, let these men be bound, and</LINE>

-<LINE>brought to Leonato's: I will go before and show</LINE>

-<LINE>him their examination.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Come, let them be opinioned.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Let them be in the hands--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Off, coxcomb!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>God's my life, where's the sexton? let him write</LINE>

-<LINE>down the prince's officer coxcomb. Come, bind them.</LINE>

-<LINE>Thou naughty varlet!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CONRADE</SPEAKER>

-<LINE>Away! you are an ass, you are an ass.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Dost thou not suspect my place? dost thou not</LINE>

-<LINE>suspect my years? O that he were here to write me</LINE>

-<LINE>down an ass! But, masters, remember that I am an</LINE>

-<LINE>ass; though it be not written down, yet forget not</LINE>

-<LINE>that I am an ass. No, thou villain, thou art full of</LINE>

-<LINE>piety, as shall be proved upon thee by good witness.</LINE>

-<LINE>I am a wise fellow, and, which is more, an officer,</LINE>

-<LINE>and, which is more, a householder, and, which is</LINE>

-<LINE>more, as pretty a piece of flesh as any is in</LINE>

-<LINE>Messina, and one that knows the law, go to; and a</LINE>

-<LINE>rich fellow enough, go to; and a fellow that hath</LINE>

-<LINE>had losses, and one that hath two gowns and every</LINE>

-<LINE>thing handsome about him. Bring him away. O that</LINE>

-<LINE>I had been writ down an ass!</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-</ACT>

-

-<ACT><TITLE>ACT V</TITLE>

-

-<SCENE><TITLE>SCENE I.  Before LEONATO'S house.</TITLE>

-<STAGEDIR>Enter LEONATO and ANTONIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>If you go on thus, you will kill yourself:</LINE>

-<LINE>And 'tis not wisdom thus to second grief</LINE>

-<LINE>Against yourself.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I pray thee, cease thy counsel,</LINE>

-<LINE>Which falls into mine ears as profitless</LINE>

-<LINE>As water in a sieve: give not me counsel;</LINE>

-<LINE>Nor let no comforter delight mine ear</LINE>

-<LINE>But such a one whose wrongs do suit with mine.</LINE>

-<LINE>Bring me a father that so loved his child,</LINE>

-<LINE>Whose joy of her is overwhelm'd like mine,</LINE>

-<LINE>And bid him speak of patience;</LINE>

-<LINE>Measure his woe the length and breadth of mine</LINE>

-<LINE>And let it answer every strain for strain,</LINE>

-<LINE>As thus for thus and such a grief for such,</LINE>

-<LINE>In every lineament, branch, shape, and form:</LINE>

-<LINE>If such a one will smile and stroke his beard,</LINE>

-<LINE>Bid sorrow wag, cry 'hem!' when he should groan,</LINE>

-<LINE>Patch grief with proverbs, make misfortune drunk</LINE>

-<LINE>With candle-wasters; bring him yet to me,</LINE>

-<LINE>And I of him will gather patience.</LINE>

-<LINE>But there is no such man: for, brother, men</LINE>

-<LINE>Can counsel and speak comfort to that grief</LINE>

-<LINE>Which they themselves not feel; but, tasting it,</LINE>

-<LINE>Their counsel turns to passion, which before</LINE>

-<LINE>Would give preceptial medicine to rage,</LINE>

-<LINE>Fetter strong madness in a silken thread,</LINE>

-<LINE>Charm ache with air and agony with words:</LINE>

-<LINE>No, no; 'tis all men's office to speak patience</LINE>

-<LINE>To those that wring under the load of sorrow,</LINE>

-<LINE>But no man's virtue nor sufficiency</LINE>

-<LINE>To be so moral when he shall endure</LINE>

-<LINE>The like himself. Therefore give me no counsel:</LINE>

-<LINE>My griefs cry louder than advertisement.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Therein do men from children nothing differ.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I pray thee, peace. I will be flesh and blood;</LINE>

-<LINE>For there was never yet philosopher</LINE>

-<LINE>That could endure the toothache patiently,</LINE>

-<LINE>However they have writ the style of gods</LINE>

-<LINE>And made a push at chance and sufferance.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Yet bend not all the harm upon yourself;</LINE>

-<LINE>Make those that do offend you suffer too.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>There thou speak'st reason: nay, I will do so.</LINE>

-<LINE>My soul doth tell me Hero is belied;</LINE>

-<LINE>And that shall Claudio know; so shall the prince</LINE>

-<LINE>And all of them that thus dishonour her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Here comes the prince and Claudio hastily.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter DON PEDRO and CLAUDIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good den, good den.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Good day to both of you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Hear you. my lords,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>We have some haste, Leonato.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Some haste, my lord! well, fare you well, my lord:</LINE>

-<LINE>Are you so hasty now? well, all is one.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Nay, do not quarrel with us, good old man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>If he could right himself with quarreling,</LINE>

-<LINE>Some of us would lie low.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Who wrongs him?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Marry, thou dost wrong me; thou dissembler, thou:--</LINE>

-<LINE>Nay, never lay thy hand upon thy sword;</LINE>

-<LINE>I fear thee not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Marry, beshrew my hand,</LINE>

-<LINE>If it should give your age such cause of fear:</LINE>

-<LINE>In faith, my hand meant nothing to my sword.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Tush, tush, man; never fleer and jest at me:</LINE>

-<LINE>I speak not like a dotard nor a fool,</LINE>

-<LINE>As under privilege of age to brag</LINE>

-<LINE>What I have done being young, or what would do</LINE>

-<LINE>Were I not old. Know, Claudio, to thy head,</LINE>

-<LINE>Thou hast so wrong'd mine innocent child and me</LINE>

-<LINE>That I am forced to lay my reverence by</LINE>

-<LINE>And, with grey hairs and bruise of many days,</LINE>

-<LINE>Do challenge thee to trial of a man.</LINE>

-<LINE>I say thou hast belied mine innocent child;</LINE>

-<LINE>Thy slander hath gone through and through her heart,</LINE>

-<LINE>And she lies buried with her ancestors;</LINE>

-<LINE>O, in a tomb where never scandal slept,</LINE>

-<LINE>Save this of hers, framed by thy villany!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>My villany?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Thine, Claudio; thine, I say.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>You say not right, old man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>My lord, my lord,</LINE>

-<LINE>I'll prove it on his body, if he dare,</LINE>

-<LINE>Despite his nice fence and his active practise,</LINE>

-<LINE>His May of youth and bloom of lustihood.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Away! I will not have to do with you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Canst thou so daff me? Thou hast kill'd my child:</LINE>

-<LINE>If thou kill'st me, boy, thou shalt kill a man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>He shall kill two of us, and men indeed:</LINE>

-<LINE>But that's no matter; let him kill one first;</LINE>

-<LINE>Win me and wear me; let him answer me.</LINE>

-<LINE>Come, follow me, boy; come, sir boy, come, follow me:</LINE>

-<LINE>Sir boy, I'll whip you from your foining fence;</LINE>

-<LINE>Nay, as I am a gentleman, I will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Brother,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Content yourself. God knows I loved my niece;</LINE>

-<LINE>And she is dead, slander'd to death by villains,</LINE>

-<LINE>That dare as well answer a man indeed</LINE>

-<LINE>As I dare take a serpent by the tongue:</LINE>

-<LINE>Boys, apes, braggarts, Jacks, milksops!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Brother Antony,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Hold you content. What, man! I know them, yea,</LINE>

-<LINE>And what they weigh, even to the utmost scruple,--</LINE>

-<LINE>Scrambling, out-facing, fashion-monging boys,</LINE>

-<LINE>That lie and cog and flout, deprave and slander,</LINE>

-<LINE>Go anticly, show outward hideousness,</LINE>

-<LINE>And speak off half a dozen dangerous words,</LINE>

-<LINE>How they might hurt their enemies, if they durst;</LINE>

-<LINE>And this is all.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>But, brother Antony,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Come, 'tis no matter:</LINE>

-<LINE>Do not you meddle; let me deal in this.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Gentlemen both, we will not wake your patience.</LINE>

-<LINE>My heart is sorry for your daughter's death:</LINE>

-<LINE>But, on my honour, she was charged with nothing</LINE>

-<LINE>But what was true and very full of proof.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>My lord, my lord,--</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I will not hear you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No? Come, brother; away! I will be heard.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>And shall, or some of us will smart for it.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt LEONATO and ANTONIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>See, see; here comes the man we went to seek.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter BENEDICK</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Now, signior, what news?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Good day, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Welcome, signior: you are almost come to part</LINE>

-<LINE>almost a fray.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>We had like to have had our two noses snapped off</LINE>

-<LINE>with two old men without teeth.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Leonato and his brother. What thinkest thou? Had</LINE>

-<LINE>we fought, I doubt we should have been too young for them.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>In a false quarrel there is no true valour. I came</LINE>

-<LINE>to seek you both.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>We have been up and down to seek thee; for we are</LINE>

-<LINE>high-proof melancholy and would fain have it beaten</LINE>

-<LINE>away. Wilt thou use thy wit?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>It is in my scabbard: shall I draw it?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Dost thou wear thy wit by thy side?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Never any did so, though very many have been beside</LINE>

-<LINE>their wit. I will bid thee draw, as we do the</LINE>

-<LINE>minstrels; draw, to pleasure us.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>As I am an honest man, he looks pale. Art thou</LINE>

-<LINE>sick, or angry?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>What, courage, man! What though care killed a cat,</LINE>

-<LINE>thou hast mettle enough in thee to kill care.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Sir, I shall meet your wit in the career, and you</LINE>

-<LINE>charge it against me. I pray you choose another subject.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Nay, then, give him another staff: this last was</LINE>

-<LINE>broke cross.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>By this light, he changes more and more: I think</LINE>

-<LINE>he be angry indeed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>If he be, he knows how to turn his girdle.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Shall I speak a word in your ear?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>God bless me from a challenge!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE><STAGEDIR>Aside to CLAUDIO</STAGEDIR>  You are a villain; I jest not:</LINE>

-<LINE>I will make it good how you dare, with what you</LINE>

-<LINE>dare, and when you dare. Do me right, or I will</LINE>

-<LINE>protest your cowardice. You have killed a sweet</LINE>

-<LINE>lady, and her death shall fall heavy on you. Let me</LINE>

-<LINE>hear from you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Well, I will meet you, so I may have good cheer.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What, a feast, a feast?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I' faith, I thank him; he hath bid me to a calf's</LINE>

-<LINE>head and a capon; the which if I do not carve most</LINE>

-<LINE>curiously, say my knife's naught. Shall I not find</LINE>

-<LINE>a woodcock too?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Sir, your wit ambles well; it goes easily.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>I'll tell thee how Beatrice praised thy wit the</LINE>

-<LINE>other day. I said, thou hadst a fine wit: 'True,'</LINE>

-<LINE>said she, 'a fine little one.' 'No,' said I, 'a</LINE>

-<LINE>great wit:' 'Right,' says she, 'a great gross one.'</LINE>

-<LINE>'Nay,' said I, 'a good wit:' 'Just,' said she, 'it</LINE>

-<LINE>hurts nobody.' 'Nay,' said I, 'the gentleman</LINE>

-<LINE>is wise:' 'Certain,' said she, 'a wise gentleman.'</LINE>

-<LINE>'Nay,' said I, 'he hath the tongues:' 'That I</LINE>

-<LINE>believe,' said she, 'for he swore a thing to me on</LINE>

-<LINE>Monday night, which he forswore on Tuesday morning;</LINE>

-<LINE>there's a double tongue; there's two tongues.' Thus</LINE>

-<LINE>did she, an hour together, transshape thy particular</LINE>

-<LINE>virtues: yet at last she concluded with a sigh, thou</LINE>

-<LINE>wast the properest man in Italy.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>For the which she wept heartily and said she cared</LINE>

-<LINE>not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Yea, that she did: but yet, for all that, an if she</LINE>

-<LINE>did not hate him deadly, she would love him dearly:</LINE>

-<LINE>the old man's daughter told us all.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>All, all; and, moreover, God saw him when he was</LINE>

-<LINE>hid in the garden.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>But when shall we set the savage bull's horns on</LINE>

-<LINE>the sensible Benedick's head?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Yea, and text underneath, 'Here dwells Benedick the</LINE>

-<LINE>married man'?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Fare you well, boy: you know my mind. I will leave</LINE>

-<LINE>you now to your gossip-like humour: you break jests</LINE>

-<LINE>as braggarts do their blades, which God be thanked,</LINE>

-<LINE>hurt not. My lord, for your many courtesies I thank</LINE>

-<LINE>you: I must discontinue your company: your brother</LINE>

-<LINE>the bastard is fled from Messina: you have among</LINE>

-<LINE>you killed a sweet and innocent lady. For my Lord</LINE>

-<LINE>Lackbeard there, he and I shall meet: and, till</LINE>

-<LINE>then, peace be with him.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>He is in earnest.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>In most profound earnest; and, I'll warrant you, for</LINE>

-<LINE>the love of Beatrice.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>And hath challenged thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Most sincerely.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>What a pretty thing man is when he goes in his</LINE>

-<LINE>doublet and hose and leaves off his wit!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>He is then a giant to an ape; but then is an ape a</LINE>

-<LINE>doctor to such a man.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>But, soft you, let me be: pluck up, my heart, and</LINE>

-<LINE>be sad. Did he not say, my brother was fled?</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter DOGBERRY, VERGES, and the Watch, with CONRADE

-and BORACHIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Come you, sir: if justice cannot tame you, she</LINE>

-<LINE>shall ne'er weigh more reasons in her balance: nay,</LINE>

-<LINE>an you be a cursing hypocrite once, you must be looked to.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>How now? two of my brother's men bound! Borachio</LINE>

-<LINE>one!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Hearken after their offence, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Officers, what offence have these men done?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Marry, sir, they have committed false report;</LINE>

-<LINE>moreover, they have spoken untruths; secondarily,</LINE>

-<LINE>they are slanders; sixth and lastly, they have</LINE>

-<LINE>belied a lady; thirdly, they have verified unjust</LINE>

-<LINE>things; and, to conclude, they are lying knaves.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>First, I ask thee what they have done; thirdly, I</LINE>

-<LINE>ask thee what's their offence; sixth and lastly, why</LINE>

-<LINE>they are committed; and, to conclude, what you lay</LINE>

-<LINE>to their charge.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Rightly reasoned, and in his own division: and, by</LINE>

-<LINE>my troth, there's one meaning well suited.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Who have you offended, masters, that you are thus</LINE>

-<LINE>bound to your answer? this learned constable is</LINE>

-<LINE>too cunning to be understood: what's your offence?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Sweet prince, let me go no farther to mine answer:</LINE>

-<LINE>do you hear me, and let this count kill me. I have</LINE>

-<LINE>deceived even your very eyes: what your wisdoms</LINE>

-<LINE>could not discover, these shallow fools have brought</LINE>

-<LINE>to light: who in the night overheard me confessing</LINE>

-<LINE>to this man how Don John your brother incensed me</LINE>

-<LINE>to slander the Lady Hero, how you were brought into</LINE>

-<LINE>the orchard and saw me court Margaret in Hero's</LINE>

-<LINE>garments, how you disgraced her, when you should</LINE>

-<LINE>marry her: my villany they have upon record; which</LINE>

-<LINE>I had rather seal with my death than repeat over</LINE>

-<LINE>to my shame. The lady is dead upon mine and my</LINE>

-<LINE>master's false accusation; and, briefly, I desire</LINE>

-<LINE>nothing but the reward of a villain.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Runs not this speech like iron through your blood?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I have drunk poison whiles he utter'd it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>But did my brother set thee on to this?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Yea, and paid me richly for the practise of it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>He is composed and framed of treachery:</LINE>

-<LINE>And fled he is upon this villany.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Sweet Hero! now thy image doth appear</LINE>

-<LINE>In the rare semblance that I loved it first.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Come, bring away the plaintiffs: by this time our</LINE>

-<LINE>sexton hath reformed Signior Leonato of the matter:</LINE>

-<LINE>and, masters, do not forget to specify, when time</LINE>

-<LINE>and place shall serve, that I am an ass.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>VERGES</SPEAKER>

-<LINE>Here, here comes master Signior Leonato, and the</LINE>

-<LINE>Sexton too.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Re-enter LEONATO and ANTONIO, with the Sexton</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Which is the villain? let me see his eyes,</LINE>

-<LINE>That, when I note another man like him,</LINE>

-<LINE>I may avoid him: which of these is he?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>If you would know your wronger, look on me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Art thou the slave that with thy breath hast kill'd</LINE>

-<LINE>Mine innocent child?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>Yea, even I alone.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No, not so, villain; thou beliest thyself:</LINE>

-<LINE>Here stand a pair of honourable men;</LINE>

-<LINE>A third is fled, that had a hand in it.</LINE>

-<LINE>I thank you, princes, for my daughter's death:</LINE>

-<LINE>Record it with your high and worthy deeds:</LINE>

-<LINE>'Twas bravely done, if you bethink you of it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I know not how to pray your patience;</LINE>

-<LINE>Yet I must speak. Choose your revenge yourself;</LINE>

-<LINE>Impose me to what penance your invention</LINE>

-<LINE>Can lay upon my sin: yet sinn'd I not</LINE>

-<LINE>But in mistaking.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>By my soul, nor I:</LINE>

-<LINE>And yet, to satisfy this good old man,</LINE>

-<LINE>I would bend under any heavy weight</LINE>

-<LINE>That he'll enjoin me to.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I cannot bid you bid my daughter live;</LINE>

-<LINE>That were impossible: but, I pray you both,</LINE>

-<LINE>Possess the people in Messina here</LINE>

-<LINE>How innocent she died; and if your love</LINE>

-<LINE>Can labour ought in sad invention,</LINE>

-<LINE>Hang her an epitaph upon her tomb</LINE>

-<LINE>And sing it to her bones, sing it to-night:</LINE>

-<LINE>To-morrow morning come you to my house,</LINE>

-<LINE>And since you could not be my son-in-law,</LINE>

-<LINE>Be yet my nephew: my brother hath a daughter,</LINE>

-<LINE>Almost the copy of my child that's dead,</LINE>

-<LINE>And she alone is heir to both of us:</LINE>

-<LINE>Give her the right you should have given her cousin,</LINE>

-<LINE>And so dies my revenge.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>O noble sir,</LINE>

-<LINE>Your over-kindness doth wring tears from me!</LINE>

-<LINE>I do embrace your offer; and dispose</LINE>

-<LINE>For henceforth of poor Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>To-morrow then I will expect your coming;</LINE>

-<LINE>To-night I take my leave. This naughty man</LINE>

-<LINE>Shall face to face be brought to Margaret,</LINE>

-<LINE>Who I believe was pack'd in all this wrong,</LINE>

-<LINE>Hired to it by your brother.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BORACHIO</SPEAKER>

-<LINE>No, by my soul, she was not,</LINE>

-<LINE>Nor knew not what she did when she spoke to me,</LINE>

-<LINE>But always hath been just and virtuous</LINE>

-<LINE>In any thing that I do know by her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Moreover, sir, which indeed is not under white and</LINE>

-<LINE>black, this plaintiff here, the offender, did call</LINE>

-<LINE>me ass: I beseech you, let it be remembered in his</LINE>

-<LINE>punishment. And also, the watch heard them talk of</LINE>

-<LINE>one Deformed: they say be wears a key in his ear and</LINE>

-<LINE>a lock hanging by it, and borrows money in God's</LINE>

-<LINE>name, the which he hath used so long and never paid</LINE>

-<LINE>that now men grow hard-hearted and will lend nothing</LINE>

-<LINE>for God's sake: pray you, examine him upon that point.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>I thank thee for thy care and honest pains.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>Your worship speaks like a most thankful and</LINE>

-<LINE>reverend youth; and I praise God for you.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>There's for thy pains.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>God save the foundation!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Go, I discharge thee of thy prisoner, and I thank thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DOGBERRY</SPEAKER>

-<LINE>I leave an arrant knave with your worship; which I</LINE>

-<LINE>beseech your worship to correct yourself, for the</LINE>

-<LINE>example of others. God keep your worship! I wish</LINE>

-<LINE>your worship well; God restore you to health! I</LINE>

-<LINE>humbly give you leave to depart; and if a merry</LINE>

-<LINE>meeting may be wished, God prohibit it! Come, neighbour.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt DOGBERRY and VERGES</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Until to-morrow morning, lords, farewell.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Farewell, my lords: we look for you to-morrow.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>We will not fail.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>To-night I'll mourn with Hero.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE><STAGEDIR>To the Watch</STAGEDIR>  Bring you these fellows on. We'll</LINE>

-<LINE>talk with Margaret,</LINE>

-<LINE>How her acquaintance grew with this lewd fellow.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt, severally</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE II.  LEONATO'S garden.</TITLE>

-<STAGEDIR>Enter BENEDICK and MARGARET, meeting</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Pray thee, sweet Mistress Margaret, deserve well at</LINE>

-<LINE>my hands by helping me to the speech of Beatrice.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Will you then write me a sonnet in praise of my beauty?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>In so high a style, Margaret, that no man living</LINE>

-<LINE>shall come over it; for, in most comely truth, thou</LINE>

-<LINE>deservest it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>To have no man come over me! why, shall I always</LINE>

-<LINE>keep below stairs?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Thy wit is as quick as the greyhound's mouth; it catches.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>And yours as blunt as the fencer's foils, which hit,</LINE>

-<LINE>but hurt not.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>A most manly wit, Margaret; it will not hurt a</LINE>

-<LINE>woman: and so, I pray thee, call Beatrice: I give</LINE>

-<LINE>thee the bucklers.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Give us the swords; we have bucklers of our own.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>If you use them, Margaret, you must put in the</LINE>

-<LINE>pikes with a vice; and they are dangerous weapons for maids.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>MARGARET</SPEAKER>

-<LINE>Well, I will call Beatrice to you, who I think hath legs.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And therefore will come.</LINE>

-<STAGEDIR>Exit MARGARET</STAGEDIR>

-<STAGEDIR>Sings</STAGEDIR>

-<LINE>The god of love,</LINE>

-<LINE>That sits above,</LINE>

-<LINE>And knows me, and knows me,</LINE>

-<LINE>How pitiful I deserve,--</LINE>

-<LINE>I mean in singing; but in loving, Leander the good</LINE>

-<LINE>swimmer, Troilus the first employer of panders, and</LINE>

-<LINE>a whole bookful of these quondam carpet-mangers,</LINE>

-<LINE>whose names yet run smoothly in the even road of a</LINE>

-<LINE>blank verse, why, they were never so truly turned</LINE>

-<LINE>over and over as my poor self in love. Marry, I</LINE>

-<LINE>cannot show it in rhyme; I have tried: I can find</LINE>

-<LINE>out no rhyme to 'lady' but 'baby,' an innocent</LINE>

-<LINE>rhyme; for 'scorn,' 'horn,' a hard rhyme; for,</LINE>

-<LINE>'school,' 'fool,' a babbling rhyme; very ominous</LINE>

-<LINE>endings: no, I was not born under a rhyming planet,</LINE>

-<LINE>nor I cannot woo in festival terms.</LINE>

-<STAGEDIR>Enter BEATRICE</STAGEDIR>

-<LINE>Sweet Beatrice, wouldst thou come when I called thee?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Yea, signior, and depart when you bid me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>O, stay but till then!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>'Then' is spoken; fare you well now: and yet, ere</LINE>

-<LINE>I go, let me go with that I came; which is, with</LINE>

-<LINE>knowing what hath passed between you and Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Only foul words; and thereupon I will kiss thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Foul words is but foul wind, and foul wind is but</LINE>

-<LINE>foul breath, and foul breath is noisome; therefore I</LINE>

-<LINE>will depart unkissed.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Thou hast frighted the word out of his right sense,</LINE>

-<LINE>so forcible is thy wit. But I must tell thee</LINE>

-<LINE>plainly, Claudio undergoes my challenge; and either</LINE>

-<LINE>I must shortly hear from him, or I will subscribe</LINE>

-<LINE>him a coward. And, I pray thee now, tell me for</LINE>

-<LINE>which of my bad parts didst thou first fall in love with me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>For them all together; which maintained so politic</LINE>

-<LINE>a state of evil that they will not admit any good</LINE>

-<LINE>part to intermingle with them. But for which of my</LINE>

-<LINE>good parts did you first suffer love for me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Suffer love! a good epithet! I do suffer love</LINE>

-<LINE>indeed, for I love thee against my will.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>In spite of your heart, I think; alas, poor heart!</LINE>

-<LINE>If you spite it for my sake, I will spite it for</LINE>

-<LINE>yours; for I will never love that which my friend hates.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Thou and I are too wise to woo peaceably.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>It appears not in this confession: there's not one</LINE>

-<LINE>wise man among twenty that will praise himself.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>An old, an old instance, Beatrice, that lived in</LINE>

-<LINE>the lime of good neighbours. If a man do not erect</LINE>

-<LINE>in this age his own tomb ere he dies, he shall live</LINE>

-<LINE>no longer in monument than the bell rings and the</LINE>

-<LINE>widow weeps.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>And how long is that, think you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Question: why, an hour in clamour and a quarter in</LINE>

-<LINE>rheum: therefore is it most expedient for the</LINE>

-<LINE>wise, if Don Worm, his conscience, find no</LINE>

-<LINE>impediment to the contrary, to be the trumpet of his</LINE>

-<LINE>own virtues, as I am to myself. So much for</LINE>

-<LINE>praising myself, who, I myself will bear witness, is</LINE>

-<LINE>praiseworthy: and now tell me, how doth your cousin?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Very ill.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And how do you?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Very ill too.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Serve God, love me and mend. There will I leave</LINE>

-<LINE>you too, for here comes one in haste.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter URSULA</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>URSULA</SPEAKER>

-<LINE>Madam, you must come to your uncle. Yonder's old</LINE>

-<LINE>coil at home: it is proved my Lady Hero hath been</LINE>

-<LINE>falsely accused, the prince and Claudio mightily</LINE>

-<LINE>abused; and Don John is the author of all, who is</LINE>

-<LINE>fed and gone. Will you come presently?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Will you go hear this news, signior?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I will live in thy heart, die in thy lap, and be</LINE>

-<LINE>buried in thy eyes; and moreover I will go with</LINE>

-<LINE>thee to thy uncle's.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE III.  A church.</TITLE>

-<STAGEDIR>Enter DON PEDRO, CLAUDIO, and three or four

-with tapers</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Is this the monument of Leonato?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>Lord</SPEAKER>

-<LINE>It is, my lord.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE><STAGEDIR>Reading out of a scroll</STAGEDIR></LINE>

-<LINE>Done to death by slanderous tongues</LINE>

-<LINE>Was the Hero that here lies:</LINE>

-<LINE>Death, in guerdon of her wrongs,</LINE>

-<LINE>Gives her fame which never dies.</LINE>

-<LINE>So the life that died with shame</LINE>

-<LINE>Lives in death with glorious fame.</LINE>

-<LINE>Hang thou there upon the tomb,</LINE>

-<LINE>Praising her when I am dumb.</LINE>

-<LINE>Now, music, sound, and sing your solemn hymn.</LINE>

-<SUBHEAD>SONG.</SUBHEAD>

-<LINE>Pardon, goddess of the night,</LINE>

-<LINE>Those that slew thy virgin knight;</LINE>

-<LINE>For the which, with songs of woe,</LINE>

-<LINE>Round about her tomb they go.</LINE>

-<LINE>Midnight, assist our moan;</LINE>

-<LINE>Help us to sigh and groan,</LINE>

-<LINE>Heavily, heavily:</LINE>

-<LINE>Graves, yawn and yield your dead,</LINE>

-<LINE>Till death be uttered,</LINE>

-<LINE>Heavily, heavily.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Now, unto thy bones good night!</LINE>

-<LINE>Yearly will I do this rite.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good morrow, masters; put your torches out:</LINE>

-<LINE>The wolves have prey'd; and look, the gentle day,</LINE>

-<LINE>Before the wheels of Phoebus, round about</LINE>

-<LINE>Dapples the drowsy east with spots of grey.</LINE>

-<LINE>Thanks to you all, and leave us: fare you well.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Good morrow, masters: each his several way.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Come, let us hence, and put on other weeds;</LINE>

-<LINE>And then to Leonato's we will go.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And Hymen now with luckier issue speed's</LINE>

-<LINE>Than this for whom we render'd up this woe.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-

-<SCENE><TITLE>SCENE IV.  A room in LEONATO'S house.</TITLE>

-<STAGEDIR>Enter LEONATO, ANTONIO, BENEDICK, BEATRICE,

-MARGARET, URSULA, FRIAR FRANCIS, and HERO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>Did I not tell you she was innocent?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>So are the prince and Claudio, who accused her</LINE>

-<LINE>Upon the error that you heard debated:</LINE>

-<LINE>But Margaret was in some fault for this,</LINE>

-<LINE>Although against her will, as it appears</LINE>

-<LINE>In the true course of all the question.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Well, I am glad that all things sort so well.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And so am I, being else by faith enforced</LINE>

-<LINE>To call young Claudio to a reckoning for it.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Well, daughter, and you gentle-women all,</LINE>

-<LINE>Withdraw into a chamber by yourselves,</LINE>

-<LINE>And when I send for you, come hither mask'd.</LINE>

-<STAGEDIR>Exeunt Ladies</STAGEDIR>

-<LINE>The prince and Claudio promised by this hour</LINE>

-<LINE>To visit me. You know your office, brother:</LINE>

-<LINE>You must be father to your brother's daughter</LINE>

-<LINE>And give her to young Claudio.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>Which I will do with confirm'd countenance.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Friar, I must entreat your pains, I think.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>To do what, signior?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>To bind me, or undo me; one of them.</LINE>

-<LINE>Signior Leonato, truth it is, good signior,</LINE>

-<LINE>Your niece regards me with an eye of favour.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>That eye my daughter lent her: 'tis most true.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>And I do with an eye of love requite her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>The sight whereof I think you had from me,</LINE>

-<LINE>From Claudio and the prince: but what's your will?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Your answer, sir, is enigmatical:</LINE>

-<LINE>But, for my will, my will is your good will</LINE>

-<LINE>May stand with ours, this day to be conjoin'd</LINE>

-<LINE>In the state of honourable marriage:</LINE>

-<LINE>In which, good friar, I shall desire your help.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>My heart is with your liking.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>And my help.</LINE>

-<LINE>Here comes the prince and Claudio.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter DON PEDRO and CLAUDIO, and two or

-three others</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good morrow to this fair assembly.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Good morrow, prince; good morrow, Claudio:</LINE>

-<LINE>We here attend you. Are you yet determined</LINE>

-<LINE>To-day to marry with my brother's daughter?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I'll hold my mind, were she an Ethiope.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Call her forth, brother; here's the friar ready.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Exit ANTONIO</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>Good morrow, Benedick. Why, what's the matter,</LINE>

-<LINE>That you have such a February face,</LINE>

-<LINE>So full of frost, of storm and cloudiness?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I think he thinks upon the savage bull.</LINE>

-<LINE>Tush, fear not, man; we'll tip thy horns with gold</LINE>

-<LINE>And all Europa shall rejoice at thee,</LINE>

-<LINE>As once Europa did at lusty Jove,</LINE>

-<LINE>When he would play the noble beast in love.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Bull Jove, sir, had an amiable low;</LINE>

-<LINE>And some such strange bull leap'd your father's cow,</LINE>

-<LINE>And got a calf in that same noble feat</LINE>

-<LINE>Much like to you, for you have just his bleat.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>For this I owe you: here comes other reckonings.</LINE>

-<STAGEDIR>Re-enter ANTONIO, with the Ladies masked</STAGEDIR>

-<LINE>Which is the lady I must seize upon?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>ANTONIO</SPEAKER>

-<LINE>This same is she, and I do give you her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Why, then she's mine. Sweet, let me see your face.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>No, that you shall not, till you take her hand</LINE>

-<LINE>Before this friar and swear to marry her.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Give me your hand: before this holy friar,</LINE>

-<LINE>I am your husband, if you like of me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>And when I lived, I was your other wife:</LINE>

-<STAGEDIR>Unmasking</STAGEDIR>

-<LINE>And when you loved, you were my other husband.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>Another Hero!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>Nothing certainer:</LINE>

-<LINE>One Hero died defiled, but I do live,</LINE>

-<LINE>And surely as I live, I am a maid.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>The former Hero! Hero that is dead!</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>She died, my lord, but whiles her slander lived.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>FRIAR FRANCIS</SPEAKER>

-<LINE>All this amazement can I qualify:</LINE>

-<LINE>When after that the holy rites are ended,</LINE>

-<LINE>I'll tell you largely of fair Hero's death:</LINE>

-<LINE>Meantime let wonder seem familiar,</LINE>

-<LINE>And to the chapel let us presently.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Soft and fair, friar. Which is Beatrice?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE><STAGEDIR>Unmasking</STAGEDIR>  I answer to that name. What is your will?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Do not you love me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Why, no; no more than reason.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Why, then your uncle and the prince and Claudio</LINE>

-<LINE>Have been deceived; they swore you did.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Do not you love me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Troth, no; no more than reason.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>Why, then my cousin Margaret and Ursula</LINE>

-<LINE>Are much deceived; for they did swear you did.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>They swore that you were almost sick for me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>They swore that you were well-nigh dead for me.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>'Tis no such matter. Then you do not love me?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>No, truly, but in friendly recompense.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>Come, cousin, I am sure you love the gentleman.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>And I'll be sworn upon't that he loves her;</LINE>

-<LINE>For here's a paper written in his hand,</LINE>

-<LINE>A halting sonnet of his own pure brain,</LINE>

-<LINE>Fashion'd to Beatrice.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>HERO</SPEAKER>

-<LINE>And here's another</LINE>

-<LINE>Writ in my cousin's hand, stolen from her pocket,</LINE>

-<LINE>Containing her affection unto Benedick.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>A miracle! here's our own hands against our hearts.</LINE>

-<LINE>Come, I will have thee; but, by this light, I take</LINE>

-<LINE>thee for pity.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BEATRICE</SPEAKER>

-<LINE>I would not deny you; but, by this good day, I yield</LINE>

-<LINE>upon great persuasion; and partly to save your life,</LINE>

-<LINE>for I was told you were in a consumption.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Peace! I will stop your mouth.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Kissing her</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>DON PEDRO</SPEAKER>

-<LINE>How dost thou, Benedick, the married man?</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>I'll tell thee what, prince; a college of</LINE>

-<LINE>wit-crackers cannot flout me out of my humour. Dost</LINE>

-<LINE>thou think I  care for a satire or an epigram? No:</LINE>

-<LINE>if a man will be beaten with brains, a' shall wear</LINE>

-<LINE>nothing handsome about him. In brief, since I do</LINE>

-<LINE>purpose to marry, I will think nothing to any</LINE>

-<LINE>purpose that the world can say against it; and</LINE>

-<LINE>therefore never flout at me for what I have said</LINE>

-<LINE>against it; for man is a giddy thing, and this is my</LINE>

-<LINE>conclusion. For thy part, Claudio, I did think to</LINE>

-<LINE>have beaten thee, but in that thou art like to be my</LINE>

-<LINE>kinsman, live unbruised and love my cousin.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>CLAUDIO</SPEAKER>

-<LINE>I had well hoped thou wouldst have denied Beatrice,</LINE>

-<LINE>that I might have cudgelled thee out of thy single</LINE>

-<LINE>life, to make thee a double-dealer; which, out of</LINE>

-<LINE>question, thou wilt be, if my cousin do not look</LINE>

-<LINE>exceedingly narrowly to thee.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Come, come, we are friends: let's have a dance ere</LINE>

-<LINE>we are married, that we may lighten our own hearts</LINE>

-<LINE>and our wives' heels.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>LEONATO</SPEAKER>

-<LINE>We'll have dancing afterward.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>First, of my word; therefore play, music. Prince,</LINE>

-<LINE>thou art sad; get thee a wife, get thee a wife:</LINE>

-<LINE>there is no staff more reverend than one tipped with horn.</LINE>

-</SPEECH>

-

-

-<STAGEDIR>Enter a Messenger</STAGEDIR>

-

-<SPEECH>

-<SPEAKER>Messenger</SPEAKER>

-<LINE>My lord, your brother John is ta'en in flight,</LINE>

-<LINE>And brought with armed men back to Messina.</LINE>

-</SPEECH>

-

-<SPEECH>

-<SPEAKER>BENEDICK</SPEAKER>

-<LINE>Think not on him till to-morrow:</LINE>

-<LINE>I'll devise thee brave punishments for him.</LINE>

-<LINE>Strike up, pipers.</LINE>

-</SPEECH>

-

-<STAGEDIR>Dance</STAGEDIR>

-<STAGEDIR>Exeunt</STAGEDIR>

-</SCENE>

-</ACT>

-</PLAY>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/namespaces.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/namespaces.xml
deleted file mode 100755
index c5021f0..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/namespaces.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>

-<foo:a xmlns:foo="http://fooNamespace/">

-  <b>

-    <c>Hello</c>

-  </b>

-

-  <foo:d>

-    <foo:e>Hey</foo:e>

-  </foo:d>

-

-  <bar:f xmlns:bar="http://barNamespace/">

-    <bar:g>Hey2</bar:g>

-  </bar:f>

-

-  <alias:x xmlns:alias="http://fooNamespace/">

-    <alias:y>Hey3</alias:y>

-  </alias:x>

-</foo:a>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/nitf.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/nitf.xml
deleted file mode 100755
index f379a19..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/nitf.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<nitf>

-

-  <!-- Example of markup of URLs (at the bottom of the story) -->

-

- <head>

-  <meta name="ap-cycle" content="AP"/>

-  <meta name="ap-online-code" content="1700"/>

-  <meta name="ap-company" content="CO:Media Metrix Inc;TS:MMXI;IG:SVC;"/>

-  <meta name="ap-routing" content="ENTITLEMENTS,pfONLINE,pf1700"/>

-  <meta name="ap-format" content="bx"/>

-  <meta name="ap-category" content="f"/>

-  <meta name="ap-selector" content="-----"/>

-  <meta name="ap-transref" content="V0347"/>

-  <docdata>

-   <doc-id regsrc="AP" id-string="D76UIMO80"/>

-   <urgency ed-urg="7"/>

-   <date.issue norm="20000911T185842Z"/>

-   <du-key key="Napster Traffic"/>

-   <doc.copyright holder="(AP)"/>

-  </docdata>

- </head>

- <body>

-  <body.head>

-   <hedline>

-    <hl1>Use of Napster Quadruples</hl1>

-   </hedline>

-   <byline>By PETER SVENSSON

-    <byttl>AP Business Writer</byttl>

-   </byline>

-   <distributor>The Associated Press</distributor>

-   <dateline>

-    <location>NEW YORK</location>

-   </dateline>

-  </body.head>

-  <body.content>

-   <block>

-    <p>Despite the uncertain legality of the Napster online music-sharing service, the number of people

-using it more than quadrupled in just five months, Media Metrix said Monday.</p>

-    <p>That made Napster the fastest-growing software application ever recorded by the Internet research

-company.</p>

-    <p>From 1.1 million home users in the United States in February, the first month Media Metrix

-tracked the application, Napster use rocketed to 4.9 million users in July.</p>

-    <p>That represents 6 percent of U.S. home PC users who have modems, said Media Metrix, which pays

-people to install monitoring software on their computers.</p>

-    <p>It estimates total usage from a panel of about 50,000 people in the United States.</p>

-    <p>Napster was also used at work by 887,000 people in July, Media Metrix said.</p>

-    <p>Napster Inc. has been sued by the recording industry for allegedly enabling copyright

-infringement. The federal government weighed in on the case Friday, saying the service is not protected

-under a key copyright law, as the San Mateo, Calif., company claims.</p>

-    <p>Bruce Ryon, head of Media Metrix&apos;s New Media Group, said Napster was used by &quot;the full spectrum of PC users, not just the youth with time on their hands and a passion for music.&quot;</p>

-    <p>The Napster program allows users to copy digital music files from the hard drives of other

-users over the Internet.</p>

-    <p>Napster Inc. said last week that 28 million people had downloaded its program. It does not reveal

-its own figures for how many people actually use the software.</p>

-    <p>Because the program connects to the company&apos;s computers over the Internet every time

-it is run, Napster Inc. can track usage exactly.</p>

-    <p>__</p>

-    <p>On the Net:</p>

-    <p><a href="http://www.napster.com">

-http://www.napster.com</a></p>

-    <p><a href="http://www.mediametrix.com">

-http://www.mediametrix.com</a></p>

-   </block>

-  </body.content>

- </body>

-</nitf>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/numbers.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/numbers.xml
deleted file mode 100755
index f2a05e7..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/numbers.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>

-

-<numbers>

-  <set>

-    <nr>3</nr>

-    <nr>24</nr>

-    <nr>55</nr>

-    <nr>11</nr>

-    <nr>2</nr>

-    <nr>-3</nr>

-  </set>

-  <set>

-    <nr value="66"/>

-    <nr value="123"/>

-    <nr value="55"/>

-    <nr value="9999"/>

-  </set>

-</numbers>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi.xml
deleted file mode 100755
index 5edcedd..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>

-<foo>

-	<?cheese is tasty?>

-	<bar>

-		<baz/>

-		<cheese/>

-		<baz/>

-		<?toast is tasty?>

-		<cheese/>

-		<baz/>

-	</bar>

-	<?cheese is gooey?>

-</foo>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi2.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi2.xml
deleted file mode 100755
index 7b6a11a..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/pi2.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>

-<a>

-  <b>foo</b>

-  <?toc order-by="x"?>

-  <c>bar</c>

-</a>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/simple.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/simple.xml
deleted file mode 100755
index 35b1498..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/simple.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>

-<root>

-  <a>a</a>

-  <b>b</b>

-  <c>

-    <d>d</d>

-  </c>

-</root>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/testNamespaces.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/testNamespaces.xml
deleted file mode 100755
index 2268e4b..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/testNamespaces.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<Template> 

-  <Application1 xmlns:xplt="http://www.xxxx.com/"

-                xmlns:xpl="http://www.xxxx.com/"

-                version="3.0"

-  > 

-    <xpl:insertText/> 

-    <xplt:anyElement> 

-      <Name/> 

-    </xplt:anyElement> 

-  </Application1> 

-

-  <Application2 xmlns:xplt="http://www.xxxx.com/"

-                xmlns:xpl="http://www.xxxx.com/"

-                version="3.0"

-  > 

-    <xpl:insertText/> 

-    <xplt:anyElement> 

-      <Name/> 

-    </xplt:anyElement> 

-  </Application2> 

-</Template>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/text.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/text.xml
deleted file mode 100755
index 0a84c9a..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/text.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>

-<foo>

-	<bar>

-		baz

-		<cheese id="3"/>

-		baz

-		<cheese/>

-		baz

-	</bar>

-</foo>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/underscore.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/underscore.xml
deleted file mode 100755
index fc7f417..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/underscore.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>

-<root a="1" _a="2">

-  <b>1</b>

-  <_b>2</_b>

-</root>

-  

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/web.xml b/v2/test/cases/xbean/xmlcursor/xpath/jaxen/web.xml
deleted file mode 100755
index 09545ba..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/jaxen/web.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>

-<web-app>

-  <servlet>

-    <servlet-name>snoop</servlet-name>

-    <servlet-class>SnoopServlet</servlet-class>

-  </servlet>

-  <servlet>

-    <servlet-name>file</servlet-name>

-    <servlet-class>ViewFile</servlet-class>

-    <init-param>

-      <param-name>initial</param-name>

-      <param-value>

-        1000

-      </param-value>

-      <description>

-        The initial value for the counter  <!-- optional -->

-      </description>

-    </init-param>

-  </servlet>

-  <servlet-mapping>

-    <servlet-name>

-      mv

-    </servlet-name>

-    <url-pattern>

-      *.wm

-    </url-pattern>

-  </servlet-mapping>

-

-  <distributed/>

-

-  <security-role>

-    <role-name>

-     manager

-    </role-name>

-    <role-name>

-     director

-    </role-name>

-    <role-name>

-     president

-    </role-name>

-  </security-role>

-</web-app>

diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon1.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon1.xml
deleted file mode 100755
index 99a23e1..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon1.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <CCC/>

-          <BBB/>

-          <BBB/>

-          <DDD>

-               <BBB/>

-          </DDD>

-          <CCC/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon10.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon10.xml
deleted file mode 100755
index 00a9292..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon10.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <CCC/>

-          <DDD>

-               <CCC/>

-          </DDD>

-          <EEE/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon11.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon11.xml
deleted file mode 100755
index 8af3bb8..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon11.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <CCC/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon12.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon12.xml
deleted file mode 100755
index 797208b..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon12.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <DDD>

-                    <CCC>

-                         <DDD/>

-                         <EEE/>

-                    </CCC>

-               </DDD>

-          </BBB>

-          <CCC>

-               <DDD>

-                    <EEE>

-                         <DDD>

-                              <FFF/>

-                         </DDD>

-                    </EEE>

-               </DDD>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon13.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon13.xml
deleted file mode 100755
index 797208b..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon13.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <DDD>

-                    <CCC>

-                         <DDD/>

-                         <EEE/>

-                    </CCC>

-               </DDD>

-          </BBB>

-          <CCC>

-               <DDD>

-                    <EEE>

-                         <DDD>

-                              <FFF/>

-                         </DDD>

-                    </EEE>

-               </DDD>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon14.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon14.xml
deleted file mode 100755
index 797208b..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon14.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <DDD>

-                    <CCC>

-                         <DDD/>

-                         <EEE/>

-                    </CCC>

-               </DDD>

-          </BBB>

-          <CCC>

-               <DDD>

-                    <EEE>

-                         <DDD>

-                              <FFF/>

-                         </DDD>

-                    </EEE>

-               </DDD>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon15.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon15.xml
deleted file mode 100755
index 0936302..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon15.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <DDD/>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon16.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon16.xml
deleted file mode 100755
index 0936302..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon16.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <DDD/>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon17.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon17.xml
deleted file mode 100755
index cd0796b..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon17.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <ZZZ>

-                    <DDD/>

-                    <DDD>

-                         <EEE/>

-                    </DDD>

-               </ZZZ>

-               <FFF>

-                    <GGG/>

-               </FFF>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon18.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon18.xml
deleted file mode 100755
index 303ee51..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon18.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <ZZZ>

-                    <DDD/>

-               </ZZZ>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon19.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon19.xml
deleted file mode 100755
index 303ee51..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon19.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <ZZZ>

-                    <DDD/>

-               </ZZZ>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon2.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon2.xml
deleted file mode 100755
index fecc435..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon2.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <CCC/>

-          <BBB/>

-          <DDD>

-               <BBB/>

-          </DDD>

-          <CCC>

-               <DDD>

-                    <BBB/>

-                    <BBB/>

-               </DDD>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon20.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon20.xml
deleted file mode 100755
index 303ee51..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon20.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <ZZZ>

-                    <DDD/>

-               </ZZZ>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <DDD/>

-                    <CCC/>

-                    <FFF/>

-                    <FFF>

-                         <GGG/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon21.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon21.xml
deleted file mode 100755
index 6966a64..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon21.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB>

-               <CCC/>

-               <ZZZ/>

-          </BBB>

-          <XXX>

-               <DDD>

-                    <EEE/>

-                    <FFF>

-                         <HHH/>

-                         <GGG>

-                              <JJJ>

-                                   <QQQ/>

-                              </JJJ>

-                              <JJJ/>

-                         </GGG>

-                         <HHH/>

-                    </FFF>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD/>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon22.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon22.xml
deleted file mode 100755
index 9777a60..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon22.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <CCC/>

-          <CCC/>

-          <CCC/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon3.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon3.xml
deleted file mode 100755
index dd34700..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon3.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <XXX>

-               <DDD>

-                    <BBB/>

-                    <BBB/>

-                    <EEE/>

-                    <FFF/>

-               </DDD>

-          </XXX>

-          <CCC>

-               <DDD>

-                    <BBB/>

-                    <BBB/>

-                    <EEE/>

-                    <FFF/>

-               </DDD>

-          </CCC>

-          <CCC>

-               <BBB>

-                    <BBB>

-                         <BBB/>

-                    </BBB>

-               </BBB>

-          </CCC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon4.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon4.xml
deleted file mode 100755
index 7025cbd..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon4.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-          <BBB/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon5.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon5.xml
deleted file mode 100755
index e1e8615..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon5.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB id = "b1"/>

-          <BBB id = "b2"/>

-          <BBB name = "bbb"/>

-          <BBB/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon6.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon6.xml
deleted file mode 100755
index a411091..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon6.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BBB id = "b1"/>

-          <BBB name = " bbb "/>

-          <BBB name = "bbb"/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon7.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon7.xml
deleted file mode 100755
index 6aa3fb6..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon7.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <CCC>

-               <BBB/>

-               <BBB/>

-               <BBB/>

-          </CCC>

-          <DDD>

-               <BBB/>

-               <BBB/>

-          </DDD>

-          <EEE>

-               <CCC/>

-               <DDD/>

-          </EEE>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon8.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon8.xml
deleted file mode 100755
index 1c65de1..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon8.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <BCC>

-               <BBB/>

-               <BBB/>

-               <BBB/>

-          </BCC>

-          <DDB>

-               <BBB/>

-               <BBB/>

-          </DDB>

-          <BEC>

-               <CCC/>

-               <DBD/>

-          </BEC>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xpath/zvon9.xml b/v2/test/cases/xbean/xmlcursor/xpath/zvon9.xml
deleted file mode 100755
index 778641e..0000000
--- a/v2/test/cases/xbean/xmlcursor/xpath/zvon9.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<AAA>

-          <Q/>

-          <SSSS/>

-          <BB/>

-          <CCC/>

-          <DDDDDDDD/>

-          <EEEE/>

-     </AAA>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlcursor/xstypes/default.xsd b/v2/test/cases/xbean/xmlcursor/xstypes/default.xsd
deleted file mode 100755
index a8c976e..0000000
--- a/v2/test/cases/xbean/xmlcursor/xstypes/default.xsd
+++ /dev/null
@@ -1,46 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

-

-  <xs:element name="validElemDefault"   type="xs:int" default="1"/>

-<!-- BAU: we can't compile any more because it's invalid

-  <xs:element name="invalidElemDefault" type="xs:int" default="a"/>

--->

-  <xs:element name="validElemFixed"     type="xs:int" fixed="2"/>

-<!-- BAU: we can't compile any more because it's invalid

-  <xs:element name="invalidElemFixed"   type="xs:int" fixed="b"/>

--->

-

-  <xs:element name="validAttrDefault">

-    <xs:complexType>

-      <xs:attribute name="attr" type="xs:int" default="3"/>

-    </xs:complexType>

-  </xs:element>

-

-<!-- BAU: we can't compile any more because it's invalid

-  <xs:element name="invalidAttrDefault">

-    <xs:complexType>

-      <xs:attribute name="attr" type="xs:int" default="c"/>

-    </xs:complexType>

-  </xs:element>

--->

-

-  <xs:element name="validAttrFixed">

-    <xs:complexType>

-      <xs:attribute name="aricttr" type="xs:int" fixed="4"/>

-    </xs:complexType>

-  </xs:element>

-

-<!-- BAU: we can't compile any more because it's invalid

-  <xs:element name="invalidAttrFixed">

-    <xs:complexType>

-      <xs:attribute name="attr" type="xs:int" fixed="d"/>

-    </xs:complexType>

-  </xs:element>

--->    

-  <!-- types to help test nil -->

-

-  <xs:element name="canBeNil" nillable="true">

-    <xs:complexType>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlcursor/xstypes/person.xsd b/v2/test/cases/xbean/xmlcursor/xstypes/person.xsd
deleted file mode 100755
index dc00ade..0000000
--- a/v2/test/cases/xbean/xmlcursor/xstypes/person.xsd
+++ /dev/null
@@ -1,104 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/xstypes/test"

-   targetNamespace="http://openuri.org/xstypes/test"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified" >

-

-  <xs:notation name="jpeg" public="JPEG" />

-  <xs:notation name="gif" public="GIF" />

-

-  <xs:complexType name="person">

-    <xs:sequence>

-      <xs:element name="firstname" type="xs:string"/>

-      <xs:choice maxOccurs="unbounded">

-        <xs:element name="number">

-           <xs:simpleType>

-             <xs:restriction base="xs:integer">

-               <xs:minInclusive value="1"/>

-               <xs:maxInclusive value="1000"/>

-             </xs:restriction>

-           </xs:simpleType>

-        </xs:element>

-        <xs:element name="birthday" type="xs:date"/>

-        <!-- test that int-value does not collide with getIntValue() on SimpleValue -->

-        <xs:element name="int-value" type="xs:int"/>

-      </xs:choice>

-      <xs:element name="hex" type="xs:hexBinary"/>

-      <xs:element name="base64" type="xs:base64Binary"/>

-      <xs:element name="anyuri" type="xs:anyURI"/>

-      <xs:element name="qname" type="xs:QName"/>

-      <xs:element name="notation">

-        <xs:simpleType>

-          <xs:restriction base="xs:NOTATION">

-            <xs:enumeration value="jpeg" />

-            <xs:enumeration value="gif" />

-          </xs:restriction>

-        </xs:simpleType>

-      </xs:element>

-    </xs:sequence>

-    <xs:attribute name="gender">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="male"/>

-          <xs:enumeration value="female"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="hexAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:hexBinary">

-          <xs:pattern value="([45][0-9A-F])*"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="base64Att">

-      <xs:simpleType>

-        <xs:restriction base="xs:base64Binary">

-          <xs:whiteSpace value="collapse"/>

-          <xs:enumeration value="VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="anyuriAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:anyURI">

-          <xs:whiteSpace value="collapse"/>

-          <xs:length value="100"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="qnameAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:QName">

-          <xs:whiteSpace value="collapse"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="notationAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:NOTATION">

-          <xs:enumeration value="jpeg"/>

-          <xs:enumeration value="gif"/>

-          <xs:length value="20"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-  </xs:complexType>

-

-  <xs:element name="customer" type="mt:person"/>

-

-  <xs:element name="employee">

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:extension base="mt:person">

-          <xs:sequence>

-            <xs:element name="eid" type="xs:int"/>

-          </xs:sequence>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/xmlcursor/xstypes/setters.xsd b/v2/test/cases/xbean/xmlcursor/xstypes/setters.xsd
deleted file mode 100755
index f7f0b72..0000000
--- a/v2/test/cases/xbean/xmlcursor/xstypes/setters.xsd
+++ /dev/null
@@ -1,6 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-           xmlns:tns="setters" targetNamespace="setters"

-           elementFormDefault="qualified"

-           attributeFormDefault="unqualified">

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlcursor/xstypes/simplec.xsd b/v2/test/cases/xbean/xmlcursor/xstypes/simplec.xsd
deleted file mode 100755
index 65445c6..0000000
--- a/v2/test/cases/xbean/xmlcursor/xstypes/simplec.xsd
+++ /dev/null
@@ -1,27 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/mytest"

-   targetNamespace="http://openuri.org/mytest"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified"

->

-

-  <xs:complexType name="simplicity">

-    <xs:simpleContent>

-     <xs:extension base="mt:thousand">

-       <xs:attribute name="note" type="xs:string"/>

-     </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:simpleType name="thousand">

-   <xs:restriction base="xs:integer">

-     <xs:minInclusive value="1"/>

-     <xs:maxInclusive value="1000"/>

-   </xs:restriction>

-  </xs:simpleType>

-

-  <xs:element name="simple" type="mt:simplicity"/>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/xmlcursor/xstypes/xstypes.xml b/v2/test/cases/xbean/xmlcursor/xstypes/xstypes.xml
deleted file mode 100755
index 1312500..0000000
--- a/v2/test/cases/xbean/xmlcursor/xstypes/xstypes.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>

-<customer xmlns="http://openuri.org/xstypes/test"

-   gender="male"

-   hexAtt="474749515457594747"

-   base64Att="        

-	VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh

-	"

-   anyuriAtt="http://dmoz.org/World/Français/"

-   qnameAtt="pref:localname" xmlns:pref="some_uri"

-   notationAtt="JPEG"

-  >

-  <firstname>Howdy</firstname>

-  <number>436</number>

-  <number>123</number>

-  <birthday>1998-08-26Z</birthday>

-  <number>44</number>

-  <number>933</number>

-  <birthday>2000-08-06-08:00</birthday>

-  <hex>454749515457595A4A</hex>

-  <base64>VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh</base64>

-  <anyuri>http://3space.org/space%20space/</anyuri>

-  <qname>openuri_org_localname</qname>

-  <notation>GIF</notation>

-</customer>

diff --git a/v2/test/cases/xbean/xmlobject/SelectAttribute-Doc.xml b/v2/test/cases/xbean/xmlobject/SelectAttribute-Doc.xml
deleted file mode 100755
index bb4c95f..0000000
--- a/v2/test/cases/xbean/xmlobject/SelectAttribute-Doc.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<sa:Doc xmlns:sa="http://openuri.org/test/selectAttribute">

-    <!-- Normal Type -->

-    <sa:Normal att1="Attribute 1" att2="Attribute 2"/>

-

-    <!-- anyAttribute with ##any -->

-    <sa:WithAny att1="Attribute 1"

-                def:att3="Attribute 3"

-                abc:att4="Attribute 4"                

-                sa:att5="Attribute 5"

-                xmlns:abc="http://abc"

-                xmlns:def="http://def" />

-

-    <!-- anyAttribute with ##other -->

-    <sa:WithOther att2="Attribute 2"

-                  abc:att3="Attribute 3"

-                  def:att4="Attribute 4"

-                  xmlns:abc="http://abc"

-                  xmlns:def="http://def" />

-</sa:Doc>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/SelectAttribute.xsd b/v2/test/cases/xbean/xmlobject/SelectAttribute.xsd
deleted file mode 100755
index e3617f0..0000000
--- a/v2/test/cases/xbean/xmlobject/SelectAttribute.xsd
+++ /dev/null
@@ -1,33 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   xmlns:sa='http://openuri.org/test/selectAttribute'

-   targetNamespace='http://openuri.org/test/selectAttribute'

-   elementFormDefault="qualified">

-

-    <xs:element name="Doc">

-        <xs:complexType>

-            <xs:sequence>

-                <xs:element name="Normal" type="sa:normalType"/>

-                <xs:element name="WithAny" type="sa:withAnyType"/>

-                <xs:element name="WithOther" type="sa:withOtherType"/>

-            </xs:sequence>

-        </xs:complexType>

-    </xs:element>

-

-

-    <xs:complexType name="normalType">

-        <xs:attribute name='att1' type='xs:string' />

-        <xs:attribute name='att2' type='xs:string'/>

-    </xs:complexType>

-

-    <xs:complexType name="withAnyType">

-        <xs:attribute name='att1' type='xs:string' />

-        <xs:anyAttribute namespace="##any" processContents="lax" />

-    </xs:complexType>

-

-    <xs:complexType name="withOtherType">

-        <xs:attribute name='att2' type='xs:string' />

-        <xs:anyAttribute namespace="##other" processContents="lax" />

-    </xs:complexType>

-

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/SelectChildren-AnyTypeDoc.xml b/v2/test/cases/xbean/xmlobject/SelectChildren-AnyTypeDoc.xml
deleted file mode 100755
index 4429d76..0000000
--- a/v2/test/cases/xbean/xmlobject/SelectChildren-AnyTypeDoc.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<sc:ElemWithAny xmlns:sc='http://openuri.org/test/selectChildren'

-                xmlns:abc='http://abc'

-                xmlns:def='http://def'

-                xmlns:xyz='http://xyz'>

-    <sc:simple>Simple String</sc:simple>

-    <!-- Adding any types -->

-    <abc:someElem1>ABC Namespace</abc:someElem1>

-    <def:someElem2>DEF Namespace</def:someElem2>

-    <xyz:someElem3>XYX Namespace</xyz:someElem3>

-    <!-- Same local name, different namespace -->

-    <abc:sameElem>ABC-SameElem</abc:sameElem>

-    <def:sameElem>DEF-SameElem</def:sameElem>

-    <xyz:sameElem>XYZ-SameElem</xyz:sameElem>

-</sc:ElemWithAny>

diff --git a/v2/test/cases/xbean/xmlobject/SelectChildren-NormalDoc.xml b/v2/test/cases/xbean/xmlobject/SelectChildren-NormalDoc.xml
deleted file mode 100755
index e376e29..0000000
--- a/v2/test/cases/xbean/xmlobject/SelectChildren-NormalDoc.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<sc:Normal xmlns:sc='http://openuri.org/test/selectChildren'>

-    <sc:first>first element</sc:first>

-    <sc:second>second element</sc:second>

-    <sc:numbers>10</sc:numbers>

-    <sc:numbers>11</sc:numbers>

-    <sc:numbers>12</sc:numbers>

-</sc:Normal>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/SelectChildren.xsd b/v2/test/cases/xbean/xmlobject/SelectChildren.xsd
deleted file mode 100755
index b27c5db..0000000
--- a/v2/test/cases/xbean/xmlobject/SelectChildren.xsd
+++ /dev/null
@@ -1,27 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   xmlns:sc='http://openuri.org/test/selectChildren'

-   targetNamespace='http://openuri.org/test/selectChildren'

-   elementFormDefault="qualified">

-

-    <xs:element name="Normal" type="sc:normalType"/>

-    <xs:element name="ElemWithAny" type="sc:withAnyType"/>

-

-    <xs:complexType name="normalType">

-        <xs:sequence>

-            <xs:element name="first" type="xs:string"/>

-            <xs:element name="second" type="xs:string"/>

-            <xs:element name="numbers" type="xs:int" maxOccurs="unbounded"/>

-        </xs:sequence>

-    </xs:complexType>

-

-    <xs:complexType name="withAnyType">

-        <xs:sequence>

-            <xs:element name="simple" type="xs:string"/>

-            <xs:any namespace="##other" processContents="lax" minOccurs="1" maxOccurs="unbounded" />

-        </xs:sequence>

-    </xs:complexType>

-

-    <xs:element name='topLevelElement' type='xs:string'/>

-

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/SimpleXmlObject.java.txt b/v2/test/cases/xbean/xmlobject/SimpleXmlObject.java.txt
deleted file mode 100755
index b163ca7..0000000
--- a/v2/test/cases/xbean/xmlobject/SimpleXmlObject.java.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-

-import javax.xml.namespace.QName;

-import com.bea.xml.*;

-

-import dumbNS.RootDocument;

-

-

-/**

- *  Test Class that extends the abstract base class FilterXmlObject

- *  The only method that needs to be implemented is underlyingXmlObject();

- *

- *  @author: Raju Subramanian.

- */

-

-public class SimpleXmlObject

-                    extends FilterXmlObject

-{

-

-    /**

-     *  The underlying XmlObject to which all calls will be delegated

-     */

-    private transient XmlObject _under;

-

-    /**

-     *  Default constructor that creates a XmlObject from the instance

-     *  xbean/simple/dumb/dumb.xml

-     */

-    public SimpleXmlObject()

-            throws Exception

-    {

-        try {

-            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n" +

-                         "<root xmlns=\"dumbNS\" xmlns:bar=\"barNS\" b=\"3\" bar:b=\"4\"/>";

-            RootDocument rootDoc = (RootDocument)XmlObject.Factory.parse(xml);

-            // Set the underlying XmlObject

-            _under = (XmlObject) rootDoc;

-

-        } catch (Exception e)

-        {

-            throw new Exception("Error creating XmlObject: " + e);

-        }

-    }

-

-    /**

-     *  The underlyingXmlObject() implementation

-     */

-    public XmlObject underlyingXmlObject()

-    {

-        return _under;

-    }

-

-    /**

-     *

-     */

-   public static void main (String args[]) throws Exception

-   {

-        SimpleXmlObject test = new SimpleXmlObject();

-        System.out.println(test.xmlText());

-   }

-}
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/Test.xsd b/v2/test/cases/xbean/xmlobject/Test.xsd
deleted file mode 100755
index d99100f..0000000
--- a/v2/test/cases/xbean/xmlobject/Test.xsd
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Jon Rogde (Nord Pool) -->

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://bug38361.knextest"

-    targetNamespace="http://bug38361.knextest" elementFormDefault="qualified" attributeFormDefault="unqualified">

-    <xs:element name="Test">

-        <xs:complexType>

-            <xs:sequence>

-                <xs:element name="Simple" nillable="true">

-                    <xs:simpleType>

-                        <xs:restriction base="xs:string">

-                            <xs:minLength value="1"/>

-                        </xs:restriction>

-                    </xs:simpleType>

-                </xs:element>

-                <xs:element name="Date" nillable="true" type="xs:date"/>

-            </xs:sequence>

-        </xs:complexType>

-    </xs:element>

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/Test36510.xsd b/v2/test/cases/xbean/xmlobject/Test36510.xsd
deleted file mode 100755
index b87d289..0000000
--- a/v2/test/cases/xbean/xmlobject/Test36510.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<schema 

-targetNamespace="http://test/xmlobject/test36510" 

-xmlns:xs="http://www.w3.org/2001/XMLSchema" 

-xmlns:test36510="http://test/xmlobject/test36510"

-xmlns="http://www.w3.org/2001/XMLSchema"

- elementFormDefault="qualified" 

-attributeFormDefault="unqualified">

-	

-	<element name="test36510-app" type="test36510:test36510-appType"/>

-

-        <complexType name="test36510-appType">

-		<sequence>

-		    <element name="testConstraint" type="test36510:testConstraint" minOccurs="0" maxOccurs="unbounded"/>

-		</sequence>

-	</complexType>

-

-         <complexType name="testConstraint">

-	

-		<sequence>

-			<element name="display-name" type="string" minOccurs="0" maxOccurs="unbounded"/>

-			<element name="customConstraint" type="test36510:customConstraint" minOccurs="0"/>

-		</sequence>

-		<attribute name="id" type="string" use="optional"/>

-	</complexType>

-

-        	<simpleType name="enumType">

-			<restriction base="test36510:string">

-			<enumeration value="NONE"/>

-			<enumeration value="SPECIAL"/>

-			<enumeration value="BEST"/>

-		</restriction>

-	       </simpleType>

-

-

-        	<complexType name="customConstraint">

-	

-		<sequence>

-			<element name="description" type="string" minOccurs="0" maxOccurs="unbounded"/>

-			<element name="options" type="test36510:enumType"/>

-		</sequence>

-		<attribute name="id" type="string" use="optional"/>

-	</complexType>

-

-        	<simpleType name="string">

-		<restriction base="string">

-			<whiteSpace value="collapse"/>

-		</restriction>

-	</simpleType>

-       

-       

-</schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/Test40907.xsd b/v2/test/cases/xbean/xmlobject/Test40907.xsd
deleted file mode 100755
index 0c0b238..0000000
--- a/v2/test/cases/xbean/xmlobject/Test40907.xsd
+++ /dev/null
@@ -1,28 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mytest.com" 

-           xmlns:tns="http://www.mytest.com" elementFormDefault="qualified"> 

-

- <xs:element name="Test" type="tns:Info"/> 

-

- <xs:complexType name="Info"> 

-  <xs:sequence> 

-   <xs:element name="foo" type="tns:foo" minOccurs="0" maxOccurs="unbounded"/> 

-  </xs:sequence> 

- </xs:complexType> 

-

- <xs:complexType name="foo"> 

-  <xs:sequence> 

-   <xs:element name="fooMember" type="xs:string"/> 

-  </xs:sequence> 

- </xs:complexType> 

-

- <xs:complexType name="bar"> 

-  <xs:complexContent> 

-   <xs:extension base="tns:foo"> 

-    <xs:sequence> 

-      <xs:element name="barMember" type="xs:string"/> 

-    </xs:sequence> 

-   </xs:extension> 

-  </xs:complexContent> 

- </xs:complexType> 

-

-</xs:schema> 

diff --git a/v2/test/cases/xbean/xmlobject/defaults.xsd b/v2/test/cases/xbean/xmlobject/defaults.xsd
deleted file mode 100755
index 2fdd27e..0000000
--- a/v2/test/cases/xbean/xmlobject/defaults.xsd
+++ /dev/null
@@ -1,17 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:tns="http://openuri.org/def"

-   targetNamespace="http://openuri.org/def"

-   elementFormDefault="qualified">

-

-  <xs:element name="defaults">

-    <xs:complexType>

-      <xs:sequence>

-      </xs:sequence>

-      <xs:attribute ref="tns:cool"/>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:attribute name="cool" type="xs:int" default="783"/>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/easypo.xsd b/v2/test/cases/xbean/xmlobject/easypo.xsd
deleted file mode 100755
index 8fae6d2..0000000
--- a/v2/test/cases/xbean/xmlobject/easypo.xsd
+++ /dev/null
@@ -1,44 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:po="http://openuri.org/easypo"

-   targetNamespace="http://openuri.org/easypo"

-   elementFormDefault="qualified">

-

-  <xs:element name="purchase-order">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="customer" type="po:customer"/>

-        <xs:element name="date" type="xs:dateTime"/>

-        <xs:element name="line-item" type="po:line-item" minOccurs="0" maxOccurs="unbounded"/>

-        <xs:element name="shipper" type="po:shipper" minOccurs="0" maxOccurs="1"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:complexType name="customer">

-    <xs:sequence>

-      <xs:element name="name" type="xs:string"/>

-      <xs:element name="address" type="xs:string"/>

-    </xs:sequence>

-    <xs:attribute name="age" type="xs:int"/>

-    <xs:attribute name="moo" type="xs:int" default="100"/>

-    <xs:attribute name="poo" type="xs:int" fixed="200"/>

-  </xs:complexType>

-

-  <xs:complexType name="line-item">

-    <xs:sequence>

-      <xs:element name="description" type="xs:string"/>

-      <xs:element name="per-unit-ounces" type="xs:decimal"/>

-      <xs:element name="price" type="xs:decimal"/>

-      <xs:element name="quantity" type="xs:integer"/>

-    </xs:sequence>

-  </xs:complexType>

-

-  <xs:complexType name="shipper">

-    <xs:sequence>

-      <xs:element name="name" type="xs:string"/>

-      <xs:element name="per-ounce-rate" type="xs:decimal"/>

-    </xs:sequence>

-  </xs:complexType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/easypo.xsdconfig b/v2/test/cases/xbean/xmlobject/easypo.xsdconfig
deleted file mode 100755
index 47c7f0e..0000000
--- a/v2/test/cases/xbean/xmlobject/easypo.xsdconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config"

-           xmlns:ep="http://openuri.org/easypo">

-

-  <xb:namespace uri="http://openuri.org/easypo">

-    <xb:package>com.easypo</xb:package>

-  </xb:namespace>

-

-  <xb:namespace uri="http://openuri.org/easypo">

-    <xb:prefix>Xml</xb:prefix>

-    <xb:suffix>Bean</xb:suffix>

-  </xb:namespace>

-

-</xb:config>

diff --git a/v2/test/cases/xbean/xmlobject/easypo1.xml b/v2/test/cases/xbean/xmlobject/easypo1.xml
deleted file mode 100755
index 4b24285..0000000
--- a/v2/test/cases/xbean/xmlobject/easypo1.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<po:purchase-order xmlns:po="http://openuri.org/easypo">

-  <po:customer>

-    <po:name>David Bau</po:name>

-    <po:address>Gladwyne, PA</po:address>

-  </po:customer>

-  <po:date>2002-09-30T14:16:00-05:00</po:date>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 1</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>21.79</po:price>

-    <po:quantity>2</po:quantity>

-  </po:line-item>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 2</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>19.89</po:price>

-    <po:quantity>2</po:quantity>

-  </po:line-item>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 3</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>19.89</po:price>

-    <po:quantity>1</po:quantity>

-  </po:line-item>

-  <po:shipper>

-    <po:name>UPS</po:name>

-    <po:per-ounce-rate>0.74</po:per-ounce-rate>

-  </po:shipper>

-</po:purchase-order>

diff --git a/v2/test/cases/xbean/xmlobject/enumtest.xml b/v2/test/cases/xbean/xmlobject/enumtest.xml
deleted file mode 100755
index a44efea..0000000
--- a/v2/test/cases/xbean/xmlobject/enumtest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<statusreport xmlns="http://openuri.org/enumtest">

-  <status name="first" target="all">all</status>

-  <status name="second" target="all">few</status>

-  <status name="third" target="none">most</status>

-  <status name="first" target="none">none</status>

-</statusreport>

diff --git a/v2/test/cases/xbean/xmlobject/enumtest.xsd b/v2/test/cases/xbean/xmlobject/enumtest.xsd
deleted file mode 100755
index 566cb2b..0000000
--- a/v2/test/cases/xbean/xmlobject/enumtest.xsd
+++ /dev/null
@@ -1,67 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:et="http://openuri.org/enumtest"

-   targetNamespace="http://openuri.org/enumtest"

-   elementFormDefault="qualified">

-

-  <xs:simpleType name="quantity">

-    <xs:restriction base="xs:NMTOKEN">

-      <xs:enumeration value="all"/>

-      <xs:enumeration value="most"/>

-      <xs:enumeration value="some"/>

-      <xs:enumeration value="few"/>

-      <xs:enumeration value="none"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="allOrNone">

-    <xs:restriction base="et:quantity">

-      <xs:enumeration value="all"/>

-      <xs:enumeration value="none"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:complexType name="data">

-    <xs:simpleContent>

-      <xs:extension base="et:quantity">

-        <xs:attribute name="name" type="xs:string"/>

-        <xs:attribute name="target" type="et:allOrNone"/>

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="statusreport">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="status" type="et:data" minOccurs="0" maxOccurs="unbounded"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:element name="salesreport">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="unit" minOccurs="0" maxOccurs="unbounded">

-          <xs:simpleType>

-            <xs:restriction base="xs:string">

-              <xs:enumeration value="one"/>

-              <xs:enumeration value="two"/>

-              <!-- skip a few -->

-              <xs:enumeration value="ninety-nine"/>

-              <xs:enumeration value="one-hundred"/>

-            </xs:restriction>

-          </xs:simpleType>

-        </xs:element>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <!-- bug CR128906: gen'd java code must qualify java.lang.* types -->

-  <xs:simpleType name="object">

-    <xs:restriction base="xs:token">

-      <xs:enumeration value="abc"/>

-      <xs:enumeration value="def"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/inttest.xsd b/v2/test/cases/xbean/xmlobject/inttest.xsd
deleted file mode 100755
index 3912540..0000000
--- a/v2/test/cases/xbean/xmlobject/inttest.xsd
+++ /dev/null
@@ -1,47 +0,0 @@
-<xs:schema

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified"

-   targetNamespace="java:int.test"

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:tns="java:int.test">

-

-  <xs:simpleType name="LatitudeDegreesType">

-    <xs:annotation>

-      <xs:documentation>

-        <definition>Degrees of Latitude</definition>

-        <USMTFref>See USMTF field latitude.degrees.17.1</USMTFref>

-        <DoDXMLref>TBD</DoDXMLref>

-      </xs:documentation>

-    </xs:annotation>

-    <xs:restriction base="xs:short">

-      <xs:minInclusive value="00"/>

-      <xs:maxInclusive value="90"/>

-      <xs:pattern value="[\d]{2}"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="LongitudeDegreesType">

-    <xs:annotation>

-      <xs:documentation>

-        <definition>Degrees of Longitude</definition>

-        <USMTFref>See USMTF field longitude.degrees.18.1</USMTFref>

-        <DoDXMLref>TBD</DoDXMLref>

-      </xs:documentation>

-    </xs:annotation>

-    <xs:restriction base="xs:short">

-      <xs:minInclusive value="000"/>

-      <xs:maxInclusive value="180"/>

-      <xs:pattern value="[\d]{3}"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:element name="position">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="lat" type="tns:LatitudeDegreesType"/>

-        <xs:element name="lon" type="tns:LongitudeDegreesType"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/listandunion.xsd b/v2/test/cases/xbean/xmlobject/listandunion.xsd
deleted file mode 100755
index 19d4147..0000000
--- a/v2/test/cases/xbean/xmlobject/listandunion.xsd
+++ /dev/null
@@ -1,68 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:tns="http://openuri.org/lut"

-   targetNamespace="http://openuri.org/lut"

-   elementFormDefault="qualified">

-

-  <xs:element name="unions">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="nni" type="tns:allNNI"/>

-        <xs:element name="sizes" type="tns:list-or-all"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:simpleType name='list-of-int'>

-    <xs:list itemType='xs:int'/>

-  </xs:simpleType>

-

-  <xs:simpleType name="allNNI">

-    <xs:union memberTypes="xs:nonNegativeInteger">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="unbounded"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:union>

-  </xs:simpleType>

-

-  <xs:simpleType name="list-or-all">

-    <xs:union memberTypes="tns:list-of-int">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="all"/>

-          <xs:enumeration value="unknown"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:union>

-  </xs:simpleType>

-

-  <xs:simpleType name="list-of-allNNI">

-    <xs:list itemType="tns:allNNI"/>

-  </xs:simpleType>

-

-  <xs:element name="lists">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element name="int-list" type="tns:list-of-int"/>

-        <xs:element name="nni-list" type="tns:list-of-allNNI"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:simpleType name="date-or-dateTime">

-    <xs:union memberTypes="xs:date xs:dateTime"/>

-  </xs:simpleType>

-

-  <xs:element name="when" type="tns:date-or-dateTime"/>

-

-  <xs:element name="incident-reports">

-    <xs:complexType>

-      <xs:sequence>

-        <xs:element ref="tns:when" minOccurs="0" maxOccurs="unbounded"/>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/nameworld.xml b/v2/test/cases/xbean/xmlobject/nameworld.xml
deleted file mode 100755
index 763bb18..0000000
--- a/v2/test/cases/xbean/xmlobject/nameworld.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<nw:nameworld xmlns:nw="http://openuri.org/nameworld"

-              xmlns:foo="http://foo.com/"

-              xmlns:bar="http://bar.com/">

-

-  <nw:island targetNamespace="http://foo.com/">

-    <nw:location name="foocity">

-      <nw:reference to="bar:barcity"/>

-      <nw:reference to="foo:footown"/>

-      <nw:reference to="bar:barvillage"/>

-    </nw:location>

-    <nw:location name="footown">

-      <nw:reference to="bar:bartown"/>

-      <nw:reference to="foo:foovillage"/>

-    </nw:location>

-    <nw:location name="foovillage">

-      <nw:reference to="bar:barvillage"/>

-    </nw:location>

-  </nw:island>

-

-  <nw:island targetNamespace="http://bar.com/">

-    <nw:location name="barcity">

-      <nw:reference to="foo:foocity"/>

-      <nw:reference to="bar:bartown"/>

-      <nw:reference to="foo:foovillage"/>

-    </nw:location>

-    <nw:location name="bartown">

-      <nw:reference to="foo:footown"/>

-      <nw:reference to="bar:barvillage"/>

-    </nw:location>

-    <nw:location name="barvillage">

-      <nw:reference to="foo:foovillage"/>

-    </nw:location>

-  </nw:island>

-</nw:nameworld>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/nameworld.xsd b/v2/test/cases/xbean/xmlobject/nameworld.xsd
deleted file mode 100755
index 948b2a6..0000000
--- a/v2/test/cases/xbean/xmlobject/nameworld.xsd
+++ /dev/null
@@ -1,33 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:nw="http://openuri.org/nameworld"

-   targetNamespace="http://openuri.org/nameworld"

-   elementFormDefault="qualified">

-

-  <xs:element name="nameworld">

-    <xs:complexType>

-      <xs:sequence maxOccurs="unbounded">

-        <xs:element name="island">

-          <xs:complexType>

-            <xs:sequence maxOccurs="unbounded">

-              <xs:element name="location" type="nw:loc"/>

-            </xs:sequence>

-            <xs:attribute name="targetNamespace" type="xs:string"/>

-          </xs:complexType>

-        </xs:element>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:complexType name="loc">

-    <xs:sequence maxOccurs="unbounded">

-      <xs:element name="reference">

-        <xs:complexType>

-          <xs:attribute name="to" type="xs:QName"/>

-        </xs:complexType>

-      </xs:element>

-    </xs:sequence>

-    <xs:attribute name="name" type="xs:string"/>

-  </xs:complexType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/numerals.xsd b/v2/test/cases/xbean/xmlobject/numerals.xsd
deleted file mode 100755
index 89e6afd..0000000
--- a/v2/test/cases/xbean/xmlobject/numerals.xsd
+++ /dev/null
@@ -1,34 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   targetNamespace='http://openuri.org/testNumerals'

-   elementFormDefault='qualified'>

-  <xs:element name='doc'>

-    <xs:complexType>

-      <xs:sequence>

-        <xs:choice minOccurs='0' maxOccurs='unbounded'>

-          <xs:element name='int' type='xs:int' />

-          <xs:element name='short' type='xs:short' />

-          <xs:element name='byte' type='xs:byte' />

-          <xs:element name='double' type='xs:double' />

-          <xs:element name='float' type='xs:float' />

-          <xs:element name='boolean' type='xs:boolean' />

-          <xs:element name='string' type='xs:string' />

-          <xs:element name='decimal' type='xs:decimal' />

-          <xs:element name='integer' type='xs:integer' />

-          <xs:element name='long' type='xs:long' />

-          <xs:element name='hexBinary' type='xs:hexBinary' />

-          <xs:element name='base64Binary' type='xs:base64Binary' />

-          <xs:element name='date' type='xs:date' />

-          <xs:element name='dateTime' type='xs:dateTime' />

-          <xs:element name='gYearMonth' type='xs:gYearMonth' />

-          <xs:element name='duration' type='xs:duration' />

-          <xs:element name='QName' type='xs:QName' />

-        </xs:choice>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:attribute name='price' type='xs:float' />

-  <xs:attribute name='quant' type='xs:byte' />

-    

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/person.xml b/v2/test/cases/xbean/xmlobject/person.xml
deleted file mode 100755
index 1312500..0000000
--- a/v2/test/cases/xbean/xmlobject/person.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>

-<customer xmlns="http://openuri.org/xstypes/test"

-   gender="male"

-   hexAtt="474749515457594747"

-   base64Att="        

-	VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh

-	"

-   anyuriAtt="http://dmoz.org/World/Français/"

-   qnameAtt="pref:localname" xmlns:pref="some_uri"

-   notationAtt="JPEG"

-  >

-  <firstname>Howdy</firstname>

-  <number>436</number>

-  <number>123</number>

-  <birthday>1998-08-26Z</birthday>

-  <number>44</number>

-  <number>933</number>

-  <birthday>2000-08-06-08:00</birthday>

-  <hex>454749515457595A4A</hex>

-  <base64>VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh</base64>

-  <anyuri>http://3space.org/space%20space/</anyuri>

-  <qname>openuri_org_localname</qname>

-  <notation>GIF</notation>

-</customer>

diff --git a/v2/test/cases/xbean/xmlobject/person.xsd b/v2/test/cases/xbean/xmlobject/person.xsd
deleted file mode 100755
index dc00ade..0000000
--- a/v2/test/cases/xbean/xmlobject/person.xsd
+++ /dev/null
@@ -1,104 +0,0 @@
-<xs:schema

-   xmlns:xs="http://www.w3.org/2001/XMLSchema"

-   xmlns:mt="http://openuri.org/xstypes/test"

-   targetNamespace="http://openuri.org/xstypes/test"

-   elementFormDefault="qualified"

-   attributeFormDefault="unqualified" >

-

-  <xs:notation name="jpeg" public="JPEG" />

-  <xs:notation name="gif" public="GIF" />

-

-  <xs:complexType name="person">

-    <xs:sequence>

-      <xs:element name="firstname" type="xs:string"/>

-      <xs:choice maxOccurs="unbounded">

-        <xs:element name="number">

-           <xs:simpleType>

-             <xs:restriction base="xs:integer">

-               <xs:minInclusive value="1"/>

-               <xs:maxInclusive value="1000"/>

-             </xs:restriction>

-           </xs:simpleType>

-        </xs:element>

-        <xs:element name="birthday" type="xs:date"/>

-        <!-- test that int-value does not collide with getIntValue() on SimpleValue -->

-        <xs:element name="int-value" type="xs:int"/>

-      </xs:choice>

-      <xs:element name="hex" type="xs:hexBinary"/>

-      <xs:element name="base64" type="xs:base64Binary"/>

-      <xs:element name="anyuri" type="xs:anyURI"/>

-      <xs:element name="qname" type="xs:QName"/>

-      <xs:element name="notation">

-        <xs:simpleType>

-          <xs:restriction base="xs:NOTATION">

-            <xs:enumeration value="jpeg" />

-            <xs:enumeration value="gif" />

-          </xs:restriction>

-        </xs:simpleType>

-      </xs:element>

-    </xs:sequence>

-    <xs:attribute name="gender">

-      <xs:simpleType>

-        <xs:restriction base="xs:NMTOKEN">

-          <xs:enumeration value="male"/>

-          <xs:enumeration value="female"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="hexAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:hexBinary">

-          <xs:pattern value="([45][0-9A-F])*"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="base64Att">

-      <xs:simpleType>

-        <xs:restriction base="xs:base64Binary">

-          <xs:whiteSpace value="collapse"/>

-          <xs:enumeration value="VGhpcyBzdHJpbmcgaXMgYmFzZTY0QmluYXJ5IGVuY29kZWQh"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="anyuriAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:anyURI">

-          <xs:whiteSpace value="collapse"/>

-          <xs:length value="100"/>

-        </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="qnameAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:QName">

-          <xs:whiteSpace value="collapse"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="notationAtt">

-      <xs:simpleType>

-        <xs:restriction base="xs:NOTATION">

-          <xs:enumeration value="jpeg"/>

-          <xs:enumeration value="gif"/>

-          <xs:length value="20"/>

-       </xs:restriction>

-      </xs:simpleType>

-    </xs:attribute>

-  </xs:complexType>

-

-  <xs:element name="customer" type="mt:person"/>

-

-  <xs:element name="employee">

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:extension base="mt:person">

-          <xs:sequence>

-            <xs:element name="eid" type="xs:int"/>

-          </xs:sequence>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

-

diff --git a/v2/test/cases/xbean/xmlobject/redefine1.xsddonotcompile b/v2/test/cases/xbean/xmlobject/redefine1.xsddonotcompile
deleted file mode 100755
index 23dc5f0..0000000
--- a/v2/test/cases/xbean/xmlobject/redefine1.xsddonotcompile
+++ /dev/null
@@ -1,8 +0,0 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

-  <xsd:simpleType name="DressSizeType" >

-      <xsd:restriction base="xsd:integer" />

-  </xsd:simpleType>

-

-    <xsd:element name="size" type="DressSizeType" />

-    <xsd:element name="color" type="xsd:string" />

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/redefine2.xsd b/v2/test/cases/xbean/xmlobject/redefine2.xsd
deleted file mode 100755
index add3228..0000000
--- a/v2/test/cases/xbean/xmlobject/redefine2.xsd
+++ /dev/null
@@ -1,16 +0,0 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

-    xmlns="http://example.org/prod"

-    targetNamespace="http://example.org/prod" >

-

-    <xsd:redefine schemaLocation="redefine1.xsddonotcompile">

-        <xsd:simpleType name="DressSizeType">

-            <xsd:restriction base="DressSizeType">

-                <xsd:minInclusive value="2" />

-                <xsd:maxInclusive value="16" />

-            </xsd:restriction>

-        </xsd:simpleType>

-    </xsd:redefine>

-

-    <xsd:element name="newSize" type="DressSizeType" />

-

-</xsd:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/selectChldAttTest.xsd b/v2/test/cases/xbean/xmlobject/selectChldAttTest.xsd
deleted file mode 100755
index bb411ac..0000000
--- a/v2/test/cases/xbean/xmlobject/selectChldAttTest.xsd
+++ /dev/null
@@ -1,67 +0,0 @@
-<xs:schema

-   xmlns:xs='http://www.w3.org/2001/XMLSchema'

-   xmlns='http://xml.apache.org/test/selectChldAtt'

-   targetNamespace='http://xml.apache.org/test/selectChldAtt'

-   elementFormDefault='qualified'>

-

-  <xs:element name='doc'>

-    <xs:complexType>

-      <xs:sequence>

-        <xs:choice minOccurs='0' maxOccurs='unbounded'>

-          <xs:element name='int' type='xs:int' />

-          <xs:element name='string' type='xs:string' />

-          <xs:element name='elemA' type='typeA' />

-          <xs:element name='elemB' type='typeB' />

-          <xs:element name='elemC' type='typeC' />

-        </xs:choice>

-      </xs:sequence>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:complexType name="typeA">

-    <xs:sequence>

-      <xs:any namespace="##any" processContents="lax" minOccurs='0' maxOccurs='unbounded' />

-    </xs:sequence>

-    <xs:anyAttribute namespace="##any" processContents="lax" />

-  </xs:complexType>

-

-  <xs:complexType name="typeB">

-    <xs:sequence>

-      <xs:element name="someElement" type='xs:int' />

-

-      <xs:any namespace="##other" processContents="lax" minOccurs='0' maxOccurs='unbounded' />

-    </xs:sequence>

-

-	<xs:attribute name='att1' type='xs:string' />

-

-    <xs:anyAttribute namespace="##other" processContents="lax" />

-  </xs:complexType>

-

-  <xs:complexType name="typeC">

-    <xs:sequence>

-      <xs:element name="someElement" type='xs:string' />

-

-      <xs:any namespace="##other" processContents="lax" minOccurs='0' maxOccurs='unbounded'  />

-    </xs:sequence>

-	<xs:attribute name='att1' type='xs:string' />

-

-    <xs:anyAttribute namespace="##other" processContents="lax" />

-  </xs:complexType>

-

-  <xs:complexType name="typeExtendedC">

-    <xs:complexContent>

-      <xs:extension base='typeC'>

-        <xs:sequence>

-          <xs:element name="aditionalElement" type='xs:string' />

-        </xs:sequence>

-        <xs:attribute name='aditionalAtt' type='xs:string' />

-      </xs:extension>

-    </xs:complexContent>

-  </xs:complexType>

-

-  <xs:element name='topLevelElement' type='xs:string' />

-

-  <xs:attribute name='price' type='xs:float' />

-  <xs:attribute name='quant' type='xs:byte' />

-

-</xs:schema>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/soap-envelope.xsd b/v2/test/cases/xbean/xmlobject/soap-envelope.xsd
deleted file mode 100755
index 033df9e..0000000
--- a/v2/test/cases/xbean/xmlobject/soap-envelope.xsd
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' ?>

-

-<!-- Schema for the SOAP/1.1 envelope

-

-This schema has been produced using W3C's SOAP Version 1.2 schema 

-found at:

-

-     http://www.w3.org/2001/06/soap-envelope

-

-     Copyright 2001 Martin Gudgin, Developmentor.

-

-Changes made are the following:

-- reverted namespace to http://schemas.xmlsoap.org/soap/envelope/

-- reverted mustUnderstand to only allow 0 and 1 as lexical values

-

-Original copyright:

-     

-Copyright 2001 W3C (Massachusetts Institute of Technology,

-Institut National de Recherche en Informatique et en Automatique,

-Keio University). All Rights Reserved.

-http://www.w3.org/Consortium/Legal/

-

-This document is governed by the W3C Software License [1] as

-described in the FAQ [2].

-

-[1]http://www.w3.org/Consortium/Legal/copyright-software-19980720

-[2]http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD

--->

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-           xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/"

-    targetNamespace="http://schemas.xmlsoap.org/soap/envelope/" >

-

-     

-  <!-- Envelope, header and body -->

-  <xs:element name="Envelope" type="tns:Envelope" />

-  <xs:complexType name="Envelope" >

-    <xs:sequence>

-      <xs:element ref="tns:Header" minOccurs="0" />

-      <xs:element ref="tns:Body" minOccurs="1" />

-      <xs:any namespace="##other" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax" />

-  </xs:complexType>

-

-  <xs:element name="Header" type="tns:Header" />

-  <xs:complexType name="Header" >

-    <xs:sequence>

-      <xs:any namespace="##other" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax" />

-  </xs:complexType>

-  

-  <xs:element name="Body" type="tns:Body" />

-  <xs:complexType name="Body" >

-    <xs:sequence>

-      <xs:any namespace="##any" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-    </xs:sequence>

-    <xs:anyAttribute namespace="##any" processContents="lax" >

-	  <xs:annotation>

-	    <xs:documentation>

-		  Prose in the spec does not specify that attributes are 

-      allowed on the Body element

-		</xs:documentation>

-	  </xs:annotation>

-	</xs:anyAttribute>

-  </xs:complexType>

-

-       

-  <!-- Global Attributes.  The following attributes are intended 

-       to be usable via qualified attribute names on any complex 

-       type referencing them.  -->

-  <xs:attribute name="mustUnderstand" default="0" >	

-     <xs:simpleType>

-     <xs:restriction base='xs:boolean'>

-	   <xs:pattern value='0|1' />

-	 </xs:restriction>

-   </xs:simpleType>

-  </xs:attribute>

-  <xs:attribute name="actor" type="xs:anyURI" />

-

-  <xs:simpleType name="encodingStyle" >

-    <xs:annotation>

-	  <xs:documentation>

-	    'encodingStyle' indicates any canonicalization conventions 

-      followed in the contents of the containing element.  For 

-      example, the value 

-      'http://schemas.xmlsoap.org/soap/encoding/' indicates the 

-      pattern described in SOAP specification

-	  </xs:documentation>

-	</xs:annotation>

-    <xs:list itemType="xs:anyURI" />

-  </xs:simpleType>

-

-  <xs:attributeGroup name="encodingStyle" >

-    <xs:attribute name="encodingStyle" type="tns:encodingStyle"/>

-  </xs:attributeGroup>

-

-  <xs:complexType name="Fault" final="extension" >

-    <xs:annotation>

-	  <xs:documentation>

-	    Fault reporting structure

-	  </xs:documentation>

-	</xs:annotation>

-    <xs:sequence>

-      <xs:element name="faultcode" type="xs:QName" />

-      <xs:element name="faultstring" type="xs:string" />

-      <xs:element name="faultactor" type="xs:anyURI" 

-                  minOccurs="0" />

-      <xs:element name="detail" type="tns:detail" minOccurs="0"/>      

-    </xs:sequence>

-  </xs:complexType>

-

-  <xs:complexType name="detail">

-    <xs:sequence>

-      <xs:any namespace="##any" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-    </xs:sequence>

-    <xs:anyAttribute namespace="##any" processContents="lax" /> 

-  </xs:complexType>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/soap12-encoding.xsd b/v2/test/cases/xbean/xmlobject/soap12-encoding.xsd
deleted file mode 100755
index 67be9d4..0000000
--- a/v2/test/cases/xbean/xmlobject/soap12-encoding.xsd
+++ /dev/null
@@ -1,545 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' ?>

-

-<!-- Schema for the SOAP/1.1 encoding

-

-This schema has been produced using W3C's SOAP Version 1.2 schema

-found at:

-

-     http://www.w3.org/2001/06/soap-encoding

-

-     Copyright 2001 Martin Gudgin, Developmentor.

-	 http://www.develop.co.uk

-

-Changes made are the following:

-- reverted namespace to http://schemas.xmlsoap.org/soap/encoding/

-- reverted root to only allow 0 and 1 as lexical values

-

-

-     Original copyright:

-     

-Copyright 2001 W3C (Massachusetts Institute of Technology,

-Institut National de Recherche en Informatique et en Automatique,

-Keio University). All Rights Reserved.

-http://www.w3.org/Consortium/Legal/

-

-     This document is governed by the W3C Software License [1] as

-     described in the FAQ [2].

-

-[1]http://www.w3.org/Consortium/Legal/copyright-software-19980720

-[2]http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD

--->

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

-           xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/"

-    targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" >

-        

- <xs:attribute name="root" default="0" >

-   <xs:annotation>

-     <xs:documentation>

-	   'root' can be used to distinguish serialization roots from 

-       other elements that are present in a serialization but are 

-       not roots of a serialized value graph 

-	 </xs:documentation>

-   </xs:annotation>

-   <xs:simpleType>

-     <xs:restriction base='xs:boolean'>

-	   <xs:pattern value='0|1' />

-	 </xs:restriction>

-   </xs:simpleType>

- </xs:attribute>

-

-  <xs:attributeGroup name="commonAttributes" >

-    <xs:annotation>

-	  <xs:documentation>

-	    Attributes common to all elements that function as  

-        accessors or represent independent (multi-ref) values.  

-        The href attribute is intended to be used in a manner 

-        like CONREF.  That is, the element content should be 

-        empty iff the href attribute appears

-	  </xs:documentation>

-	</xs:annotation>

-    <xs:attribute name="id" type="xs:ID" />

-    <xs:attribute name="href" type="xs:anyURI" />

-    <xs:anyAttribute namespace="##other" processContents="lax" />

-  </xs:attributeGroup>

-

-  <!-- Global Attributes.  The following attributes are intended 

-       to be usable via qualified attribute names on any complex 

-       type referencing them. -->

-       

-  <!-- Array attributes. Needed to give the type and dimensions 

-       of an array's contents, and the offset for 

-       partially-transmitted arrays. -->

-   

-  <xs:simpleType name="arrayCoordinate" >

-    <xs:restriction base="xs:string" />

-  </xs:simpleType>

-          

-  <xs:attribute name="arrayType" type="xs:string" />

-  <xs:attribute name="offset" type="tns:arrayCoordinate" />

-  

-  <xs:attributeGroup name="arrayAttributes" >

-    <xs:attribute ref="tns:arrayType" />

-    <xs:attribute ref="tns:offset" />

-  </xs:attributeGroup>    

-  

-  <xs:attribute name="position" type="tns:arrayCoordinate" /> 

-  

-  <xs:attributeGroup name="arrayMemberAttributes" >

-    <xs:attribute ref="tns:position" />

-  </xs:attributeGroup>    

-

-  <xs:group name="Array" >

-    <xs:sequence>

-      <xs:any namespace="##any" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-	</xs:sequence>

-  </xs:group>

-

-  <xs:element name="Array" type="tns:Array" />

-  <xs:complexType name="Array" >

-    <xs:annotation>

-	  <xs:documentation>

-	 'Array' is a complex type for accessors identified by position 

-	  </xs:documentation>

-	</xs:annotation>

-    <xs:group ref="tns:Array" minOccurs="0" />

-    <xs:attributeGroup ref="tns:arrayAttributes" />

-    <xs:attributeGroup ref="tns:commonAttributes" />

-  </xs:complexType> 

-

-  <!-- 'Struct' is a complex type for accessors identified by 

-       name. Constraint: No element may be have the same name as 

-       any other, nor may any element have a maxOccurs > 1. -->

-   

-  <xs:element name="Struct" type="tns:Struct" />

-

-  <xs:group name="Struct" >

-    <xs:sequence>

-      <xs:any namespace="##any" minOccurs="0" 

-              maxOccurs="unbounded" processContents="lax" />

-	</xs:sequence>

-  </xs:group>

-

-  <xs:complexType name="Struct" >

-    <xs:group ref="tns:Struct" minOccurs="0" />

-    <xs:attributeGroup ref="tns:commonAttributes"/>

-  </xs:complexType> 

-

-  <!-- 'Base64' can be used to serialize binary data using base64 

-       encoding as defined in RFC2045 but without the MIME line 

-       length limitation. -->

-

-  <xs:simpleType name="base64" >

-    <xs:restriction base="xs:base64Binary" />

-  </xs:simpleType>

-

- <!-- Element declarations corresponding to each of the simple 

-      types in the XML Schemas Specification. -->

-

-  <xs:element name="duration" type="tns:duration" />

-  <xs:complexType name="duration" >

-    <xs:simpleContent>

-      <xs:extension base="xs:duration" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="dateTime" type="tns:dateTime" />

-  <xs:complexType name="dateTime" >

-    <xs:simpleContent>

-      <xs:extension base="xs:dateTime" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-

-

-  <xs:element name="NOTATION" type="tns:NOTATION" />

-  <xs:complexType name="NOTATION" >

-    <xs:simpleContent>

-      <xs:extension base="xs:QName" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-  

-

-  <xs:element name="time" type="tns:time" />

-  <xs:complexType name="time" >

-    <xs:simpleContent>

-      <xs:extension base="xs:time" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="date" type="tns:date" />

-  <xs:complexType name="date" >

-    <xs:simpleContent>

-      <xs:extension base="xs:date" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="gYearMonth" type="tns:gYearMonth" />

-  <xs:complexType name="gYearMonth" >

-    <xs:simpleContent>

-      <xs:extension base="xs:gYearMonth" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="gYear" type="tns:gYear" />

-  <xs:complexType name="gYear" >

-    <xs:simpleContent>

-      <xs:extension base="xs:gYear" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="gMonthDay" type="tns:gMonthDay" />

-  <xs:complexType name="gMonthDay" >

-    <xs:simpleContent>

-      <xs:extension base="xs:gMonthDay" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="gDay" type="tns:gDay" />

-  <xs:complexType name="gDay" >

-    <xs:simpleContent>

-      <xs:extension base="xs:gDay" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="gMonth" type="tns:gMonth" />

-  <xs:complexType name="gMonth" >

-    <xs:simpleContent>

-      <xs:extension base="xs:gMonth" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-  

-  <xs:element name="boolean" type="tns:boolean" />

-  <xs:complexType name="boolean" >

-    <xs:simpleContent>

-      <xs:extension base="xs:boolean" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="base64Binary" type="tns:base64Binary" />

-  <xs:complexType name="base64Binary" >

-    <xs:simpleContent>

-      <xs:extension base="xs:base64Binary" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="hexBinary" type="tns:hexBinary" />

-  <xs:complexType name="hexBinary" >

-    <xs:simpleContent>

-     <xs:extension base="xs:hexBinary" >

-       <xs:attributeGroup ref="tns:commonAttributes" />

-     </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="float" type="tns:float" />

-  <xs:complexType name="float" >

-    <xs:simpleContent>

-      <xs:extension base="xs:float" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="double" type="tns:double" />

-  <xs:complexType name="double" >

-    <xs:simpleContent>

-      <xs:extension base="xs:double" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="anyURI" type="tns:anyURI" />

-  <xs:complexType name="anyURI" >

-    <xs:simpleContent>

-      <xs:extension base="xs:anyURI" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="QName" type="tns:QName" />

-  <xs:complexType name="QName" >

-    <xs:simpleContent>

-      <xs:extension base="xs:QName" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  

-  <xs:element name="string" type="tns:string" />

-  <xs:complexType name="string" >

-    <xs:simpleContent>

-      <xs:extension base="xs:string" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="normalizedString"  

-              type="tns:normalizedString" />

-  <xs:complexType name="normalizedString" >

-    <xs:simpleContent>

-      <xs:extension base="xs:normalizedString" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="token" type="tns:token" />

-  <xs:complexType name="token" >

-    <xs:simpleContent>

-      <xs:extension base="xs:token" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="language" type="tns:language" />

-  <xs:complexType name="language" >

-    <xs:simpleContent>

-      <xs:extension base="xs:language" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="Name" type="tns:Name" />

-  <xs:complexType name="Name" >

-    <xs:simpleContent>

-      <xs:extension base="xs:Name" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="NMTOKEN" type="tns:NMTOKEN" />

-  <xs:complexType name="NMTOKEN" >

-    <xs:simpleContent>

-      <xs:extension base="xs:NMTOKEN" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="NCName" type="tns:NCName" />

-  <xs:complexType name="NCName" >

-    <xs:simpleContent>

-      <xs:extension base="xs:NCName" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="NMTOKENS" type="tns:NMTOKENS" />

-  <xs:complexType name="NMTOKENS" >

-    <xs:simpleContent>

-      <xs:extension base="xs:NMTOKENS" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="ID" type="tns:ID" />

-  <xs:complexType name="ID" >

-    <xs:simpleContent>

-      <xs:extension base="xs:ID" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="IDREF" type="tns:IDREF" />

-  <xs:complexType name="IDREF" >

-    <xs:simpleContent>

-      <xs:extension base="xs:IDREF" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="ENTITY" type="tns:ENTITY" />

-  <xs:complexType name="ENTITY" >

-    <xs:simpleContent>

-      <xs:extension base="xs:ENTITY" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="IDREFS" type="tns:IDREFS" />

-  <xs:complexType name="IDREFS" >

-    <xs:simpleContent>

-      <xs:extension base="xs:IDREFS" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="ENTITIES" type="tns:ENTITIES" />

-  <xs:complexType name="ENTITIES" >

-    <xs:simpleContent>

-      <xs:extension base="xs:ENTITIES" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="decimal" type="tns:decimal" />

-  <xs:complexType name="decimal" >

-    <xs:simpleContent>

-      <xs:extension base="xs:decimal" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="integer" type="tns:integer" />

-  <xs:complexType name="integer" >

-    <xs:simpleContent>

-      <xs:extension base="xs:integer" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="nonPositiveInteger" 

-              type="tns:nonPositiveInteger" />

-  <xs:complexType name="nonPositiveInteger" >

-    <xs:simpleContent>

-      <xs:extension base="xs:nonPositiveInteger" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="negativeInteger" type="tns:negativeInteger"/>

-  <xs:complexType name="negativeInteger" >

-    <xs:simpleContent>

-      <xs:extension base="xs:negativeInteger" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="long" type="tns:long" />

-  <xs:complexType name="long" >

-    <xs:simpleContent>

-      <xs:extension base="xs:long" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="int" type="tns:int" />

-  <xs:complexType name="int" >

-    <xs:simpleContent>

-      <xs:extension base="xs:int" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="short" type="tns:short" />

-  <xs:complexType name="short" >

-    <xs:simpleContent>

-      <xs:extension base="xs:short" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="byte" type="tns:byte" />

-  <xs:complexType name="byte" >

-    <xs:simpleContent>

-      <xs:extension base="xs:byte" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="nonNegativeInteger" 

-              type="tns:nonNegativeInteger" />

-  <xs:complexType name="nonNegativeInteger" >

-    <xs:simpleContent>

-      <xs:extension base="xs:nonNegativeInteger" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="unsignedLong" type="tns:unsignedLong" />

-  <xs:complexType name="unsignedLong" >

-    <xs:simpleContent>

-      <xs:extension base="xs:unsignedLong" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="unsignedInt" type="tns:unsignedInt" />

-  <xs:complexType name="unsignedInt" >

-    <xs:simpleContent>

-      <xs:extension base="xs:unsignedInt" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="unsignedShort" type="tns:unsignedShort" />

-  <xs:complexType name="unsignedShort" >

-    <xs:simpleContent>

-      <xs:extension base="xs:unsignedShort" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="unsignedByte" type="tns:unsignedByte" />

-  <xs:complexType name="unsignedByte" >

-    <xs:simpleContent>

-      <xs:extension base="xs:unsignedByte" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="positiveInteger" type="tns:positiveInteger"/>

-  <xs:complexType name="positiveInteger" >

-    <xs:simpleContent>

-      <xs:extension base="xs:positiveInteger" >

-        <xs:attributeGroup ref="tns:commonAttributes" />

-      </xs:extension>

-    </xs:simpleContent>

-  </xs:complexType>

-

-  <xs:element name="anyType" />

-</xs:schema>

-

-

diff --git a/v2/test/cases/xbean/xmlobject/soapfaults.xsd b/v2/test/cases/xbean/xmlobject/soapfaults.xsd
deleted file mode 100755
index 3600776..0000000
--- a/v2/test/cases/xbean/xmlobject/soapfaults.xsd
+++ /dev/null
@@ -1,23 +0,0 @@
-<xs:schema targetNamespace="http://xmlobjecttest/soapfaults"

-    xmlns:xs="http://www.w3.org/2001/XMLSchema"

-    xmlns="http://xmlobjecttest/soapfaults" elementFormDefault="qualified"

-    attributeFormDefault="unqualified">

-    <xs:element name="first-fault" type="first-fault-type">

-        <xs:annotation>

-            <xs:documentation>Comment describing your root element</xs:documentation>

-        </xs:annotation>

-    </xs:element>

-    <xs:element name="second-fault" type="second-fault-type"/>

-    <xs:complexType name="first-fault-type">

-        <xs:sequence>

-            <xs:element name="a-string" type="xs:string"/>

-            <xs:element name="a-int" type="xs:int"/>

-            <xs:element name="a-date" type="xs:date"/>

-        </xs:sequence>

-    </xs:complexType>

-    <xs:complexType name="second-fault-type">

-        <xs:sequence>

-            <xs:element name="a-fault-item" type="xs:string" maxOccurs="unbounded"/>

-        </xs:sequence>

-    </xs:complexType>

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/store/ConsolidateTest.xml b/v2/test/cases/xbean/xmlobject/store/ConsolidateTest.xml
deleted file mode 100755
index bf3a63e..0000000
--- a/v2/test/cases/xbean/xmlobject/store/ConsolidateTest.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<employees>

-  <employee>

-    <name>Fred Jones</name>

-    <address location="home">

-      <street>900 Aurora Ave.</street>

-      <city>Seattle</city>

-      <state>WA</state>

-      <zip>98109</zip>

-    </address>

-    <address location="work">

-      <street>2011 152nd Avenue NE</street>

-      <city>Redmond</city>

-      <state>WA</state>

-      <zip>98052</zip>

-    </address>

-    <phone location="work">(425)641-9385</phone>

-    <phone location="home">(206)441-1695</phone>

-    <phone location="mobile">(206)714-2515</phone>

-  </employee>

-  <employee>

-    <name>Sally Smith</name>

-    <address location="home">

-      <street>1430 Oak Place</street>

-      <city>Salem</city>

-      <state>OR</state>

-      <zip>97125</zip>

-    </address>

-    <address location="work">

-      <street>765 Main St.</street>

-      <city>Kaiser</city>

-      <state>OR</state>

-      <zip>97103</zip>

-    </address>

-    <phone location="work">(503)264-3856</phone>

-    <phone location="home">(503)416-6951</phone>

-    <phone location="mobile">(503)214-5152</phone>

-  </employee>

-</employees>

diff --git a/v2/test/cases/xbean/xmlobject/store/XML.xsd b/v2/test/cases/xbean/xmlobject/store/XML.xsd
deleted file mode 100755
index 8d76b9e..0000000
--- a/v2/test/cases/xbean/xmlobject/store/XML.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version='1.0'?>

-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >

-<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">

-

- <xs:annotation>

-  <xs:documentation>

-   See http://www.w3.org/XML/1998/namespace.html and

-   http://www.w3.org/TR/REC-xml for information about this namespace.

-  </xs:documentation>

- </xs:annotation>

-

- <xs:annotation>

-  <xs:documentation>This schema defines attributes and an attribute group

-        suitable for use by

-        schemas wishing to allow xml:base, xml:lang or xml:space attributes

-        on elements they define.

-

-        To enable this, such a schema must import this schema

-        for the XML namespace, e.g. as follows:

-        &lt;schema . . .>

-         . . .

-         &lt;import namespace="http://www.w3.org/XML/1998/namespace"

-                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>

-

-        Subsequently, qualified reference to any of the attributes

-        or the group defined below will have the desired effect, e.g.

-

-        &lt;type . . .>

-         . . .

-         &lt;attributeGroup ref="xml:specialAttrs"/>

- 

-         will define a type which will schema-validate an instance

-         element with any of those attributes</xs:documentation>

- </xs:annotation>

-

- <xs:annotation>

-  <xs:documentation>In keeping with the XML Schema WG's standard versioning

-   policy, this schema document will persist at

-   http://www.w3.org/2001/03/xml.xsd.

-   At the date of issue it can also be found at

-   http://www.w3.org/2001/xml.xsd.

-   The schema document at that URI may however change in the future,

-   in order to remain compatible with the latest version of XML Schema

-   itself.  In other words, if the XML Schema namespace changes, the version

-   of this document at

-   http://www.w3.org/2001/xml.xsd will change

-   accordingly; the version at

-   http://www.w3.org/2001/03/xml.xsd will not change.

-  </xs:documentation>

- </xs:annotation>

-

- <xs:attribute name="lang" type="xs:language">

-  <xs:annotation>

-   <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter

-         codes as the enumerated possible values . . .</xs:documentation>

-  </xs:annotation>

- </xs:attribute>

-

- <xs:attribute name="space" default="preserve">

-  <xs:simpleType>

-   <xs:restriction base="xs:NCName">

-    <xs:enumeration value="default"/>

-    <xs:enumeration value="preserve"/>

-   </xs:restriction>

-  </xs:simpleType>

- </xs:attribute>

-

- <xs:attribute name="base" type="xs:anyURI">

-  <xs:annotation>

-   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for

-                     information about this attribute.</xs:documentation>

-  </xs:annotation>

- </xs:attribute>

-

- <xs:attributeGroup name="specialAttrs">

-  <xs:attribute ref="xml:base"/>

-  <xs:attribute ref="xml:lang"/>

-  <xs:attribute ref="xml:space"/>

- </xs:attributeGroup>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/store/XMLSchema.xsd b/v2/test/cases/xbean/xmlobject/store/XMLSchema.xsd
deleted file mode 100755
index ff3a2dd..0000000
--- a/v2/test/cases/xbean/xmlobject/store/XMLSchema.xsd
+++ /dev/null
@@ -1,2549 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>

-<!-- XML Schema schema for XML Schemas: Part 1: Structures -->

-<!-- Note this schema is NOT the normative structures schema. -->

-

-<!-- The prose copy in the structures REC is the normative -->

-

-<!-- version (which shouldn't differ from this one except for -->

-

-<!-- this comment and entity expansions, but just in case -->

-

-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [

-

-<!-- provide ID type information even for parsers which only read the

-     internal subset -->

-<!ATTLIST xs:schema          id  ID  #IMPLIED>

-<!ATTLIST xs:complexType     id  ID  #IMPLIED>

-<!ATTLIST xs:complexContent  id  ID  #IMPLIED>

-<!ATTLIST xs:simpleContent   id  ID  #IMPLIED>

-<!ATTLIST xs:extension       id  ID  #IMPLIED>

-<!ATTLIST xs:element         id  ID  #IMPLIED>

-<!ATTLIST xs:group           id  ID  #IMPLIED> 

-<!ATTLIST xs:all             id  ID  #IMPLIED>

-<!ATTLIST xs:choice          id  ID  #IMPLIED>

-<!ATTLIST xs:sequence        id  ID  #IMPLIED>

-<!ATTLIST xs:any             id  ID  #IMPLIED>

-<!ATTLIST xs:anyAttribute    id  ID  #IMPLIED>

-<!ATTLIST xs:attribute       id  ID  #IMPLIED>

-<!ATTLIST xs:attributeGroup  id  ID  #IMPLIED>

-<!ATTLIST xs:unique          id  ID  #IMPLIED>

-<!ATTLIST xs:key             id  ID  #IMPLIED>

-<!ATTLIST xs:keyref          id  ID  #IMPLIED>

-<!ATTLIST xs:selector        id  ID  #IMPLIED>

-<!ATTLIST xs:field           id  ID  #IMPLIED>

-<!ATTLIST xs:include         id  ID  #IMPLIED>

-<!ATTLIST xs:import          id  ID  #IMPLIED>

-<!ATTLIST xs:redefine        id  ID  #IMPLIED>

-<!ATTLIST xs:notation        id  ID  #IMPLIED>

-<!--

-     keep this schema XML1.0 DTD valid

-  -->

-        <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>

-

-        <!ELEMENT hfp:hasFacet EMPTY>

-        <!ATTLIST hfp:hasFacet

-                name NMTOKEN #REQUIRED>

-

-        <!ELEMENT hfp:hasProperty EMPTY>

-        <!ATTLIST hfp:hasProperty

-                name NMTOKEN #REQUIRED

-                value CDATA #REQUIRED>

-<!--

-        Make sure that processors that do not read the external

-        subset will know about the various IDs we declare

-  -->

-        <!ATTLIST xs:simpleType id ID #IMPLIED>

-        <!ATTLIST xs:maxExclusive id ID #IMPLIED>

-        <!ATTLIST xs:minExclusive id ID #IMPLIED>

-        <!ATTLIST xs:maxInclusive id ID #IMPLIED>

-        <!ATTLIST xs:minInclusive id ID #IMPLIED>

-        <!ATTLIST xs:totalDigits id ID #IMPLIED>

-        <!ATTLIST xs:fractionDigits id ID #IMPLIED>

-        <!ATTLIST xs:length id ID #IMPLIED>

-        <!ATTLIST xs:minLength id ID #IMPLIED>

-        <!ATTLIST xs:maxLength id ID #IMPLIED>

-        <!ATTLIST xs:enumeration id ID #IMPLIED>

-        <!ATTLIST xs:pattern id ID #IMPLIED>

-        <!ATTLIST xs:appinfo id ID #IMPLIED>

-        <!ATTLIST xs:documentation id ID #IMPLIED>

-        <!ATTLIST xs:list id ID #IMPLIED>

-        <!ATTLIST xs:union id ID #IMPLIED>

-        ]>

-<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">

- <xs:annotation>

-  <xs:documentation>

-    Part 1 version: Id: XMLSchema.xsd,v 1.53 2003/02/24 17:40:07 ht Exp 

-    Part 2 version: Id: datatypes.xsd,v 1.60 2003/04/05 11:02:30 ht Exp 

-  </xs:documentation>

-  <xs:documentation>

-    Apache XMLBean changes:

-

-    2003/05/14: The regular expressions that describe integrity constraint

-    xpaths has been modified to permit whitespaces in certain places, as

-    discussed in one of the errata.

-

-    2003/05/28: the type of the &lt;element> element in an &lt;all> group has

-    been given a name so that it is legal to use the type in both a base type

-    and a restriction when using the allModel (otherwise it breaks one of the

-    particle-valid (restriction) rules).

-

-    2003/09/15: finalDefault has been changed to permit "list" and "union"

-

-  </xs:documentation>

- </xs:annotation>

-

-

- <xs:annotation>

-   <xs:documentation source="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html">

-   The schema corresponding to this document is normative,

-   with respect to the syntactic constraints it expresses in the

-   XML Schema language.  The documentation (within &lt;documentation> elements)

-   below, is not normative, but rather highlights important aspects of

-   the W3C Recommendation of which this is a part</xs:documentation>

- </xs:annotation>

-

- <xs:annotation>

-   <xs:documentation>

-   The simpleType element and all of its members are defined

-      towards the end of this schema document</xs:documentation>

- </xs:annotation>

-

- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">

-   <xs:annotation>

-     <xs:documentation>

-       Get access to the xml: attribute groups for xml:lang

-       as declared on 'schema' and 'documentation' below

-     </xs:documentation>

-   </xs:annotation>

- </xs:import>

-

- <xs:complexType name="openAttrs">

-   <xs:annotation>

-     <xs:documentation>

-       This type is extended by almost all schema types

-       to allow attributes from other namespaces to be

-       added to user schemas.

-     </xs:documentation>

-   </xs:annotation>

-   <xs:complexContent>

-     <xs:restriction base="xs:anyType">

-       <xs:anyAttribute namespace="##other" processContents="lax"/>

-     </xs:restriction>

-   </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="annotated">

-   <xs:annotation>

-     <xs:documentation>

-       This type is extended by all types which allow annotation

-       other than &lt;schema&gt; itself

-     </xs:documentation>

-   </xs:annotation>

-   <xs:complexContent>

-     <xs:extension base="xs:openAttrs">

-       <xs:sequence>

-         <xs:element ref="xs:annotation" minOccurs="0"/>

-       </xs:sequence>

-       <xs:attribute name="id" type="xs:ID"/>

-     </xs:extension>

-   </xs:complexContent>

- </xs:complexType>

-

- <xs:group name="schemaTop">

-  <xs:annotation>

-   <xs:documentation>

-   This group is for the

-   elements which occur freely at the top level of schemas.

-   All of their types are based on the "annotated" type by extension.</xs:documentation>

-  </xs:annotation>

-  <xs:choice>

-   <xs:group ref="xs:redefinable"/>

-   <xs:element ref="xs:element"/>

-   <xs:element ref="xs:attribute"/>

-   <xs:element ref="xs:notation"/>

-  </xs:choice>

- </xs:group>

- 

- <xs:group name="redefinable">

-  <xs:annotation>

-   <xs:documentation>

-   This group is for the

-   elements which can self-redefine (see &lt;redefine> below).</xs:documentation>

-  </xs:annotation>

-  <xs:choice>

-   <xs:element ref="xs:simpleType"/>

-   <xs:element ref="xs:complexType"/>

-   <xs:element ref="xs:group"/>

-   <xs:element ref="xs:attributeGroup"/>

-  </xs:choice>

- </xs:group>

-

- <xs:simpleType name="formChoice">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:restriction base="xs:NMTOKEN">

-   <xs:enumeration value="qualified"/>

-   <xs:enumeration value="unqualified"/>

-  </xs:restriction>

- </xs:simpleType>

-

- <xs:simpleType name="defaultDerivationControl">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:restriction base="xs:derivationControl">

-   <xs:enumeration value="extension"/>

-   <xs:enumeration value="restriction"/>

-   <xs:enumeration value="list"/>

-   <xs:enumeration value="union"/>

-  </xs:restriction>

- </xs:simpleType>

-

- <xs:simpleType name="defaultDerivationSet">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-   <xs:documentation>

-   #all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>

-  </xs:annotation>

-  <xs:union>

-   <xs:simpleType>    

-    <xs:restriction base="xs:token">

-     <xs:enumeration value="#all"/>

-    </xs:restriction>

-   </xs:simpleType>

-   <xs:simpleType>

-    <xs:list itemType="xs:defaultDerivationControl"/>

-   </xs:simpleType>

-  </xs:union>

- </xs:simpleType>

-

- <xs:simpleType name="reducedDerivationControl">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:restriction base="xs:derivationControl">

-   <xs:enumeration value="extension"/>

-   <xs:enumeration value="restriction"/>

-  </xs:restriction>

- </xs:simpleType>

-

- <xs:simpleType name="derivationSet">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-   <xs:documentation>

-   #all or (possibly empty) subset of {extension, restriction}</xs:documentation>

-  </xs:annotation>

-  <xs:union>

-   <xs:simpleType>    

-    <xs:restriction base="xs:token">

-     <xs:enumeration value="#all"/>

-    </xs:restriction>

-   </xs:simpleType>

-   <xs:simpleType>

-    <xs:list itemType="xs:reducedDerivationControl"/>

-   </xs:simpleType>

-  </xs:union>

- </xs:simpleType>

-

- <xs:element name="schema" id="schema">

-  <xs:annotation>

-    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:openAttrs">

-     <xs:sequence>

-      <xs:choice minOccurs="0" maxOccurs="unbounded">

-       <xs:element ref="xs:include"/>

-       <xs:element ref="xs:import"/>

-       <xs:element ref="xs:redefine"/>

-       <xs:element ref="xs:annotation"/>

-      </xs:choice>

-      <xs:sequence minOccurs="0" maxOccurs="unbounded">

-       <xs:group ref="xs:schemaTop"/>

-       <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded"/>

-      </xs:sequence>

-     </xs:sequence>

-     <xs:attribute name="targetNamespace" type="xs:anyURI"/>

-     <xs:attribute name="version" type="xs:normalizedString"/>

-     <xs:attribute name="finalDefault" type="xs:defaultDerivationSet" use="optional" default=""/>

-     <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default=""/>

-     <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>

-     <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified"/>

-     <xs:attribute name="id" type="xs:ID"/>

-     <xs:attribute ref="xml:lang"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

-

-  <xs:key name="element">

-   <xs:selector xpath="xs:element"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

-

-  <xs:key name="attribute">

-   <xs:selector xpath="xs:attribute"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

-

-  <xs:key name="type">

-   <xs:selector xpath="xs:complexType|xs:simpleType"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

- 

-  <xs:key name="group">

-   <xs:selector xpath="xs:group"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

- 

-  <xs:key name="attributeGroup">

-   <xs:selector xpath="xs:attributeGroup"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

- 

-  <xs:key name="notation">

-   <xs:selector xpath="xs:notation"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

-

-  <xs:key name="identityConstraint">

-   <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>

-   <xs:field xpath="@name"/>

-  </xs:key>

-

- </xs:element>

-

- <xs:simpleType name="allNNI">

-  <xs:annotation><xs:documentation>

-   for maxOccurs</xs:documentation></xs:annotation>

-  <xs:union memberTypes="xs:nonNegativeInteger">

-   <xs:simpleType>

-    <xs:restriction base="xs:NMTOKEN">

-     <xs:enumeration value="unbounded"/>

-    </xs:restriction>

-   </xs:simpleType>

-  </xs:union>

- </xs:simpleType>

-

- <xs:attributeGroup name="occurs">

-  <xs:annotation><xs:documentation>

-   for all particles</xs:documentation></xs:annotation>

-  <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/>

-  <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/>

- </xs:attributeGroup>

-

- <xs:attributeGroup name="defRef">

-  <xs:annotation><xs:documentation>

-   for element, group and attributeGroup,

-   which both define and reference</xs:documentation></xs:annotation>

-  <xs:attribute name="name" type="xs:NCName"/>

-  <xs:attribute name="ref" type="xs:QName"/>

- </xs:attributeGroup>

-

- <xs:group name="typeDefParticle">

-  <xs:annotation>

-    <xs:documentation>

-   'complexType' uses this</xs:documentation></xs:annotation>

-  <xs:choice>

-   <xs:element name="group" type="xs:groupRef"/>

-   <xs:element ref="xs:all"/>

-   <xs:element ref="xs:choice"/>

-   <xs:element ref="xs:sequence"/>

-  </xs:choice>

- </xs:group>

- 

- 

-

- <xs:group name="nestedParticle">

-  <xs:choice>

-   <xs:element name="element" type="xs:localElement"/>

-   <xs:element name="group" type="xs:groupRef"/>

-   <xs:element ref="xs:choice"/>

-   <xs:element ref="xs:sequence"/>

-   <xs:element ref="xs:any"/>

-  </xs:choice>

- </xs:group>

- 

- <xs:group name="particle">

-  <xs:choice>

-   <xs:element name="element" type="xs:localElement"/>

-   <xs:element name="group" type="xs:groupRef"/>

-   <xs:element ref="xs:all"/>

-   <xs:element ref="xs:choice"/>

-   <xs:element ref="xs:sequence"/>

-   <xs:element ref="xs:any"/>

-  </xs:choice>

- </xs:group>

- 

- <xs:complexType name="attribute">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:sequence>

-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>

-    </xs:sequence>

-    <xs:attributeGroup ref="xs:defRef"/>

-    <xs:attribute name="type" type="xs:QName"/>

-    <xs:attribute name="use" use="optional" default="optional">

-     <xs:simpleType>

-      <xs:restriction base="xs:NMTOKEN">

-       <xs:enumeration value="prohibited"/>

-       <xs:enumeration value="optional"/>

-       <xs:enumeration value="required"/>

-      </xs:restriction>

-     </xs:simpleType>

-    </xs:attribute>

-    <xs:attribute name="default" type="xs:string"/>

-    <xs:attribute name="fixed" type="xs:string"/>

-    <xs:attribute name="form" type="xs:formChoice"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="topLevelAttribute">

-  <xs:complexContent>

-   <xs:restriction base="xs:attribute">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>

-    </xs:sequence>

-    <xs:attribute name="ref" use="prohibited"/>

-    <xs:attribute name="form" use="prohibited"/>

-    <xs:attribute name="use" use="prohibited"/>

-    <xs:attribute name="name" use="required" type="xs:NCName"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:group name="attrDecls">

-  <xs:sequence>

-   <xs:choice minOccurs="0" maxOccurs="unbounded">

-    <xs:element name="attribute" type="xs:attribute"/>

-    <xs:element name="attributeGroup" type="xs:attributeGroupRef"/>

-   </xs:choice>

-   <xs:element ref="xs:anyAttribute" minOccurs="0"/>

-  </xs:sequence>

- </xs:group>

-

- <xs:element name="anyAttribute" type="xs:wildcard" id="anyAttribute">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:group name="complexTypeModel">

-  <xs:choice>

-      <xs:element ref="xs:simpleContent"/>

-      <xs:element ref="xs:complexContent"/>

-      <xs:sequence>

-       <xs:annotation>

-        <xs:documentation>

-   This branch is short for

-   &lt;complexContent>

-   &lt;restriction base="xs:anyType">

-   ...

-   &lt;/restriction>

-   &lt;/complexContent></xs:documentation>

-       </xs:annotation>

-       <xs:group ref="xs:typeDefParticle" minOccurs="0"/>

-       <xs:group ref="xs:attrDecls"/>

-      </xs:sequence>

-  </xs:choice>

- </xs:group>

-

- <xs:complexType name="complexType" abstract="true">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:group ref="xs:complexTypeModel"/>

-    <xs:attribute name="name" type="xs:NCName">

-     <xs:annotation>

-      <xs:documentation>

-      Will be restricted to required or forbidden</xs:documentation>

-     </xs:annotation>

-    </xs:attribute>

-    <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">

-     <xs:annotation>

-      <xs:documentation>

-      Not allowed if simpleContent child is chosen.

-      May be overriden by setting on complexContent child.</xs:documentation>

-    </xs:annotation>

-    </xs:attribute>

-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>

-    <xs:attribute name="final" type="xs:derivationSet"/>

-    <xs:attribute name="block" type="xs:derivationSet"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="topLevelComplexType">

-  <xs:complexContent>

-   <xs:restriction base="xs:complexType">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:complexTypeModel"/>

-    </xs:sequence>

-    <xs:attribute name="name" type="xs:NCName" use="required"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="localComplexType">

-  <xs:complexContent>

-   <xs:restriction base="xs:complexType">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:complexTypeModel"/>

-    </xs:sequence>

-    <xs:attribute name="name" use="prohibited"/>

-    <xs:attribute name="abstract" use="prohibited"/>

-    <xs:attribute name="final" use="prohibited"/>

-    <xs:attribute name="block" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="restrictionType">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:sequence>

-     <xs:choice minOccurs="0">

-      <xs:group ref="xs:typeDefParticle"/>

-      <xs:group ref="xs:simpleRestrictionModel"/>

-     </xs:choice>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:attribute name="base" type="xs:QName" use="required"/>

-   </xs:extension>

-  </xs:complexContent>       

- </xs:complexType>

-

- <xs:complexType name="complexRestrictionType">

-  <xs:complexContent>

-   <xs:restriction base="xs:restrictionType">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="0">

-      <xs:annotation>

-       <xs:documentation>This choice is added simply to

-                   make this a valid restriction per the REC</xs:documentation>

-      </xs:annotation>

-      <xs:group ref="xs:typeDefParticle"/>

-     </xs:choice>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>       

- </xs:complexType>

-

- <xs:complexType name="extensionType">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:sequence>

-     <xs:group ref="xs:typeDefParticle" minOccurs="0"/>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:attribute name="base" type="xs:QName" use="required"/>

-   </xs:extension>

-  </xs:complexContent>       

- </xs:complexType>

-

- <xs:element name="complexContent" id="complexContent">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:annotated">

-     <xs:choice>

-      <xs:element name="restriction" type="xs:complexRestrictionType"/>

-      <xs:element name="extension" type="xs:extensionType"/>

-     </xs:choice>     

-     <xs:attribute name="mixed" type="xs:boolean">

-      <xs:annotation>

-       <xs:documentation>

-       Overrides any setting on complexType parent.</xs:documentation>

-      </xs:annotation>

-    </xs:attribute>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:complexType name="simpleRestrictionType">

-  <xs:complexContent>

-   <xs:restriction base="xs:restrictionType">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="0">

-      <xs:annotation>

-       <xs:documentation>This choice is added simply to

-                   make this a valid restriction per the REC</xs:documentation>

-      </xs:annotation>

-      <xs:group ref="xs:simpleRestrictionModel"/>

-     </xs:choice>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="simpleExtensionType">

-  <xs:complexContent>

-   <xs:restriction base="xs:extensionType">

-    <xs:sequence>

-     <xs:annotation>

-      <xs:documentation>

-      No typeDefParticle group reference</xs:documentation>

-     </xs:annotation>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:element name="simpleContent" id="simpleContent">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-simpleContent"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:annotated">

-     <xs:choice>

-      <xs:element name="restriction" type="xs:simpleRestrictionType"/>

-      <xs:element name="extension" type="xs:simpleExtensionType"/>

-     </xs:choice>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

- 

- <xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-complexType"/>

-  </xs:annotation>

- </xs:element>

-

-

-  <xs:simpleType name="blockSet">

-   <xs:annotation>

-    <xs:documentation>

-    A utility type, not for public use</xs:documentation>

-    <xs:documentation>

-    #all or (possibly empty) subset of {substitution, extension,

-    restriction}</xs:documentation>

-   </xs:annotation>

-   <xs:union>

-    <xs:simpleType>    

-     <xs:restriction base="xs:token">

-      <xs:enumeration value="#all"/>

-     </xs:restriction>

-    </xs:simpleType>

-    <xs:simpleType>

-     <xs:list>

-      <xs:simpleType>

-       <xs:restriction base="xs:derivationControl">

-        <xs:enumeration value="extension"/>

-        <xs:enumeration value="restriction"/>

-        <xs:enumeration value="substitution"/>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:list>

-    </xs:simpleType>

-   </xs:union>  

-  </xs:simpleType>

-

- <xs:complexType name="element" abstract="true">

-  <xs:annotation>

-   <xs:documentation>

-   The element element can be used either

-   at the top level to define an element-type binding globally,

-   or within a content model to either reference a globally-defined

-   element or type or declare an element-type binding locally.

-   The ref form is not allowed at the top level.</xs:documentation>

-  </xs:annotation>

-

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:sequence>

-     <xs:choice minOccurs="0">

-      <xs:element name="simpleType" type="xs:localSimpleType"/>

-      <xs:element name="complexType" type="xs:localComplexType"/>

-     </xs:choice>

-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attributeGroup ref="xs:defRef"/>

-    <xs:attribute name="type" type="xs:QName"/>

-    <xs:attribute name="substitutionGroup" type="xs:QName"/>

-    <xs:attributeGroup ref="xs:occurs"/>

-    <xs:attribute name="default" type="xs:string"/>

-    <xs:attribute name="fixed" type="xs:string"/>

-    <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>

-    <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>

-    <xs:attribute name="final" type="xs:derivationSet"/>

-    <xs:attribute name="block" type="xs:blockSet"/>

-    <xs:attribute name="form" type="xs:formChoice"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="topLevelElement">

-  <xs:complexContent>

-   <xs:restriction base="xs:element">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="0">

-      <xs:element name="simpleType" type="xs:localSimpleType"/>

-      <xs:element name="complexType" type="xs:localComplexType"/>

-     </xs:choice>

-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attribute name="ref" use="prohibited"/>

-    <xs:attribute name="form" use="prohibited"/>

-    <xs:attribute name="minOccurs" use="prohibited"/>

-    <xs:attribute name="maxOccurs" use="prohibited"/>

-    <xs:attribute name="name" use="required" type="xs:NCName"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="localElement">

-  <xs:complexContent>

-   <xs:restriction base="xs:element">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="0">

-      <xs:element name="simpleType" type="xs:localSimpleType"/>

-      <xs:element name="complexType" type="xs:localComplexType"/>

-     </xs:choice>

-     <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attribute name="substitutionGroup" use="prohibited"/>

-    <xs:attribute name="final" use="prohibited"/>

-    <xs:attribute name="abstract" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:element name="element" type="xs:topLevelElement" id="element">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-element"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:complexType name="group" abstract="true">

-  <xs:annotation>

-   <xs:documentation>

-   group type for explicit groups, named top-level groups and

-   group references</xs:documentation>

-  </xs:annotation>

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>

-    <xs:attributeGroup ref="xs:defRef"/>

-    <xs:attributeGroup ref="xs:occurs"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="realGroup">

-  <xs:complexContent>

-   <xs:restriction base="xs:group">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="0" maxOccurs="1">

-      <xs:element ref="xs:all"/>

-      <xs:element ref="xs:choice"/>

-      <xs:element ref="xs:sequence"/>

-     </xs:choice>

-    </xs:sequence>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="namedGroup">

-  <xs:complexContent>

-   <xs:restriction base="xs:realGroup">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:choice minOccurs="1" maxOccurs="1">

-      <xs:element name="all">

-       <xs:complexType>

-        <xs:complexContent>

-         <xs:restriction base="xs:all">

-          <xs:group ref="xs:allModel"/>

-          <xs:attribute name="minOccurs" use="prohibited"/>

-          <xs:attribute name="maxOccurs" use="prohibited"/>

-          <xs:anyAttribute namespace="##other" processContents="lax"/>

-         </xs:restriction>

-        </xs:complexContent>

-       </xs:complexType>

-      </xs:element>

-      <xs:element name="choice" type="xs:simpleExplicitGroup"/>

-      <xs:element name="sequence" type="xs:simpleExplicitGroup"/>

-     </xs:choice>

-    </xs:sequence>

-    <xs:attribute name="name" use="required" type="xs:NCName"/>

-    <xs:attribute name="ref" use="prohibited"/>

-    <xs:attribute name="minOccurs" use="prohibited"/>

-    <xs:attribute name="maxOccurs" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="groupRef">

-  <xs:complexContent>

-   <xs:restriction base="xs:realGroup">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-    </xs:sequence>

-    <xs:attribute name="ref" use="required" type="xs:QName"/>

-    <xs:attribute name="name" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="explicitGroup">

-  <xs:annotation>

-   <xs:documentation>

-   group type for the three kinds of group</xs:documentation>

-  </xs:annotation>

-  <xs:complexContent>

-   <xs:restriction base="xs:group">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attribute name="name" type="xs:NCName" use="prohibited"/>

-    <xs:attribute name="ref" type="xs:QName" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="simpleExplicitGroup">

-  <xs:complexContent>

-   <xs:restriction base="xs:explicitGroup">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attribute name="minOccurs" use="prohibited"/>

-    <xs:attribute name="maxOccurs" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:group name="allModel">

-  <xs:sequence>

-      <xs:element ref="xs:annotation" minOccurs="0"/>

-      <xs:choice minOccurs="0" maxOccurs="unbounded">

-       <xs:annotation>

-        <xs:documentation>This choice with min/max is here to

-                          avoid a pblm with the Elt:All/Choice/Seq

-                          Particle derivation constraint</xs:documentation>

-       </xs:annotation>

-       <xs:element name="element" type="xs:elementInAll"/>

-      </xs:choice>

-     </xs:sequence>

- </xs:group>

-

-  <xs:complexType name="elementInAll">

-   <xs:annotation>

-    <xs:documentation>restricted max/min</xs:documentation>

-   </xs:annotation>

-   <xs:complexContent>

-    <xs:restriction base="xs:localElement">

-     <xs:sequence>

-      <xs:element ref="xs:annotation" minOccurs="0"/>

-      <xs:choice minOccurs="0">

-       <xs:element name="simpleType" type="xs:localSimpleType"/>

-       <xs:element name="complexType" type="xs:localComplexType"/>

-      </xs:choice>

-      <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>

-     </xs:sequence>

-     <xs:attribute name="minOccurs" use="optional" default="1">

-      <xs:simpleType>

-       <xs:restriction base="xs:nonNegativeInteger">

-        <xs:enumeration value="0"/>

-        <xs:enumeration value="1"/>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-     <xs:attribute name="maxOccurs" use="optional" default="1">

-      <xs:simpleType>

-       <xs:restriction base="xs:allNNI">

-        <xs:enumeration value="0"/>

-        <xs:enumeration value="1"/>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-     <xs:anyAttribute namespace="##other" processContents="lax"/>

-    </xs:restriction>

-   </xs:complexContent>

-  </xs:complexType>    

-

-  <xs:complexType name="all">

-   <xs:annotation>

-    <xs:documentation>

-   Only elements allowed inside</xs:documentation>

-   </xs:annotation>

-   <xs:complexContent>

-    <xs:restriction base="xs:explicitGroup">

-     <xs:group ref="xs:allModel"/>

-     <xs:attribute name="minOccurs" use="optional" default="1">

-      <xs:simpleType>

-       <xs:restriction base="xs:nonNegativeInteger">

-        <xs:enumeration value="0"/>

-        <xs:enumeration value="1"/>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-     <xs:attribute name="maxOccurs" use="optional" default="1">

-      <xs:simpleType>

-       <xs:restriction base="xs:allNNI">

-        <xs:enumeration value="1"/>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-     <xs:anyAttribute namespace="##other" processContents="lax"/>

-    </xs:restriction>

-   </xs:complexContent>

-  </xs:complexType>

-

- <xs:element name="all" id="all" type="xs:all">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-all"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:element name="choice" type="xs:explicitGroup" id="choice">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-choice"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:element name="sequence" type="xs:explicitGroup" id="sequence">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-sequence"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:element name="group" type="xs:namedGroup" id="group">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-group"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:complexType name="wildcard">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>

-    <xs:attribute name="processContents" use="optional" default="strict">

-     <xs:simpleType>

-      <xs:restriction base="xs:NMTOKEN">

-       <xs:enumeration value="skip"/>

-       <xs:enumeration value="lax"/>

-       <xs:enumeration value="strict"/>

-      </xs:restriction>

-     </xs:simpleType>

-    </xs:attribute>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:element name="any" id="any">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:wildcard">

-     <xs:attributeGroup ref="xs:occurs"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

-  <xs:annotation>

-   <xs:documentation>

-   simple type for the value of the 'namespace' attr of

-   'any' and 'anyAttribute'</xs:documentation>

-  </xs:annotation>

-  <xs:annotation>

-   <xs:documentation>

-   Value is

-              ##any      - - any non-conflicting WFXML/attribute at all

-

-              ##other    - - any non-conflicting WFXML/attribute from

-                              namespace other than targetNS

-

-              ##local    - - any unqualified non-conflicting WFXML/attribute 

-

-              one or     - - any non-conflicting WFXML/attribute from

-              more URI        the listed namespaces

-              references

-              (space separated)

-

-    ##targetNamespace or ##local may appear in the above list, to

-        refer to the targetNamespace of the enclosing

-        schema or an absent targetNamespace respectively</xs:documentation>

-  </xs:annotation>

-

- <xs:simpleType name="namespaceList">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:union>

-   <xs:simpleType>

-    <xs:restriction base="xs:token">

-     <xs:enumeration value="##any"/>

-     <xs:enumeration value="##other"/>

-    </xs:restriction>

-   </xs:simpleType>

-   <xs:simpleType>

-    <xs:list>

-     <xs:simpleType>

-      <xs:union memberTypes="xs:anyURI">

-       <xs:simpleType>

-        <xs:restriction base="xs:token">

-         <xs:enumeration value="##targetNamespace"/>

-         <xs:enumeration value="##local"/>

-        </xs:restriction>

-       </xs:simpleType>

-      </xs:union>

-     </xs:simpleType>

-    </xs:list>

-   </xs:simpleType>

-  </xs:union>

- </xs:simpleType>

-

- <xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attribute"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:complexType name="attributeGroup" abstract="true">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:group ref="xs:attrDecls"/>

-    <xs:attributeGroup ref="xs:defRef"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- 

- <xs:complexType name="namedAttributeGroup">

-  <xs:complexContent>

-   <xs:restriction base="xs:attributeGroup">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-     <xs:group ref="xs:attrDecls"/>

-    </xs:sequence>

-    <xs:attribute name="name" use="required" type="xs:NCName"/>

-    <xs:attribute name="ref" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:complexType name="attributeGroupRef">

-  <xs:complexContent>

-   <xs:restriction base="xs:attributeGroup">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-    </xs:sequence>

-    <xs:attribute name="ref" use="required" type="xs:QName"/>

-    <xs:attribute name="name" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:element name="attributeGroup" type="xs:namedAttributeGroup" id="attributeGroup">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-attributeGroup"/>

-  </xs:annotation>

- </xs:element>

-

- <xs:element name="include" id="include">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-include"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:annotated">

-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:element name="redefine" id="redefine">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:openAttrs">

-     <xs:choice minOccurs="0" maxOccurs="unbounded">

-      <xs:element ref="xs:annotation"/>

-      <xs:group ref="xs:redefinable"/>

-     </xs:choice>

-     <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>

-     <xs:attribute name="id" type="xs:ID"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:element name="import" id="import">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:annotated">

-     <xs:attribute name="namespace" type="xs:anyURI"/>

-     <xs:attribute name="schemaLocation" type="xs:anyURI"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:element name="selector" id="selector">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-selector"/>

-  </xs:annotation>

-  <xs:complexType>

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-     <xs:attribute name="xpath" use="required">

-      <xs:simpleType>

-       <xs:annotation>

-        <xs:documentation>A subset of XPath expressions for use

-in selectors</xs:documentation>

-        <xs:documentation>A utility type, not for public

-use</xs:documentation>

-       </xs:annotation>

-       <xs:restriction base="xs:token">

-        <xs:annotation>

-         <xs:documentation>The following pattern is intended to allow XPath

-                           expressions per the following EBNF:

-          Selector    ::=    Path ( '|' Path )*  

-          Path    ::=    ('.//')? Step ( '/' Step )*  

-          Step    ::=    '.' | NameTest  

-          NameTest    ::=    QName | '*' | NCName ':' '*'  

-                           child:: is also allowed

-         </xs:documentation>

-        </xs:annotation>

-        <!-- TSH modified to allow white space -->

-        <xs:pattern

-            value="(\.\s*//\s*)?(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)(\s*/\s*(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.))*(\s*\|\s*(\.\s*//\s*)?(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)(\s*/\s*(((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.))*)*">

-        </xs:pattern>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- </xs:element>

-

- <xs:element name="field" id="field">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field"/>

-  </xs:annotation>

-  <xs:complexType>

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-     <xs:attribute name="xpath" use="required">

-      <xs:simpleType>

-       <xs:annotation>

-        <xs:documentation>A subset of XPath expressions for use

-in fields</xs:documentation>

-        <xs:documentation>A utility type, not for public

-use</xs:documentation>

-       </xs:annotation>

-       <xs:restriction base="xs:token">

-        <xs:annotation>

-         <xs:documentation>The following pattern is intended to allow XPath

-                           expressions per the same EBNF as for selector,

-                           with the following change:

-          Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 

-         </xs:documentation>

-        </xs:annotation>

-        <!-- TSH modified to allow white space -->

-        <xs:pattern value="(\.\s*//\s*)?((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)\s*/\s*)*((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute\s*::\s*|@\s*)((\i\c*:)?(\i\c*|\*))))(\s*\|\s*(\s*\.//\s*)?((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child\s*::\s*)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute\s*::\s*|@\s*)((\i\c*:)?(\i\c*|\*)))))*">

-        </xs:pattern>

-       </xs:restriction>

-      </xs:simpleType>

-     </xs:attribute>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

- </xs:element>

-

- <xs:complexType name="keybase">

-  <xs:complexContent>

-   <xs:extension base="xs:annotated">

-    <xs:sequence>

-     <xs:element ref="xs:selector"/>

-     <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>

-    </xs:sequence>

-    <xs:attribute name="name" type="xs:NCName" use="required"/>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

-

- <xs:group name="identityConstraint">

-  <xs:annotation>

-   <xs:documentation>The three kinds of identity constraints, all with

-                     type of or derived from 'keybase'.

-   </xs:documentation>

-  </xs:annotation>

-  <xs:choice>

-   <xs:element ref="xs:unique"/>

-   <xs:element ref="xs:key"/>

-   <xs:element ref="xs:keyref"/>

-  </xs:choice>

- </xs:group>

-

- <xs:element name="unique" type="xs:keybase" id="unique">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-unique"/>

-  </xs:annotation>

- </xs:element>

- <xs:element name="key" type="xs:keybase" id="key">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>

-  </xs:annotation>

- </xs:element>

- <xs:element name="keyref" id="keyref">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-keyref"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:keybase">

-     <xs:attribute name="refer" type="xs:QName" use="required"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:element name="notation" id="notation">

-  <xs:annotation>

-   <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-notation"/>

-  </xs:annotation>

-  <xs:complexType>

-   <xs:complexContent>

-    <xs:extension base="xs:annotated">

-     <xs:attribute name="name" type="xs:NCName" use="required"/>

-     <xs:attribute name="public" type="xs:public"/>

-     <xs:attribute name="system" type="xs:anyURI"/>

-    </xs:extension>

-   </xs:complexContent>

-  </xs:complexType>

- </xs:element>

-

- <xs:simpleType name="public">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-   <xs:documentation>

-   A public identifier, per ISO 8879</xs:documentation>

-  </xs:annotation>

-  <xs:restriction base="xs:token"/>

- </xs:simpleType>

-

- <xs:element name="appinfo" id="appinfo">

-   <xs:annotation>

-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-appinfo"/>

-   </xs:annotation>

-   <xs:complexType mixed="true">

-    <xs:sequence minOccurs="0" maxOccurs="unbounded">

-     <xs:any processContents="lax"/>

-    </xs:sequence>

-    <xs:attribute name="source" type="xs:anyURI"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:complexType>

- </xs:element>

-

- <xs:element name="documentation" id="documentation">

-   <xs:annotation>

-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>

-   </xs:annotation>

-   <xs:complexType mixed="true">

-    <xs:sequence minOccurs="0" maxOccurs="unbounded">

-     <xs:any processContents="lax"/>

-    </xs:sequence>

-    <xs:attribute name="source" type="xs:anyURI"/>

-    <xs:attribute ref="xml:lang"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:complexType>

- </xs:element>

-

- <xs:element name="annotation" id="annotation">

-   <xs:annotation>

-     <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/>

-   </xs:annotation>

-   <xs:complexType>

-    <xs:complexContent>

-     <xs:extension base="xs:openAttrs">

-      <xs:choice minOccurs="0" maxOccurs="unbounded">

-       <xs:element ref="xs:appinfo"/>

-       <xs:element ref="xs:documentation"/>

-      </xs:choice>

-      <xs:attribute name="id" type="xs:ID"/>

-     </xs:extension>

-    </xs:complexContent>

-   </xs:complexType>

- </xs:element>

-

- <xs:annotation>

-  <xs:documentation>

-   notations for use within XML Schema schemas</xs:documentation>

- </xs:annotation>

-

- <xs:notation name="XMLSchemaStructures" public="structures" system="http://www.w3.org/2000/08/XMLSchema.xsd"/>

- <xs:notation name="XML" public="REC-xml-19980210" system="http://www.w3.org/TR/1998/REC-xml-19980210"/>

-  

- <xs:complexType name="anyType" mixed="true">

-  <xs:annotation>

-   <xs:documentation>

-   Not the real urType, but as close an approximation as we can

-   get in the XML representation</xs:documentation>

-  </xs:annotation>

-  <xs:sequence>

-   <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>

-  </xs:sequence>

-  <xs:anyAttribute processContents="lax"/>

- </xs:complexType>

-

-  <xs:annotation>

-    <xs:documentation>

-      First the built-in primitive datatypes.  These definitions are for

-      information only, the real built-in definitions are magic.

-    </xs:documentation>

-

-    <xs:documentation>

-      For each built-in datatype in this schema (both primitive and

-      derived) can be uniquely addressed via a URI constructed

-      as follows:

-        1) the base URI is the URI of the XML Schema namespace

-        2) the fragment identifier is the name of the datatype

-

-      For example, to address the int datatype, the URI is:

-

-        http://www.w3.org/2001/XMLSchema#int

-

-      Additionally, each facet definition element can be uniquely

-      addressed via a URI constructed as follows:

-        1) the base URI is the URI of the XML Schema namespace

-        2) the fragment identifier is the name of the facet

-

-      For example, to address the maxInclusive facet, the URI is:

-

-        http://www.w3.org/2001/XMLSchema#maxInclusive

-

-      Additionally, each facet usage in a built-in datatype definition

-      can be uniquely addressed via a URI constructed as follows:

-        1) the base URI is the URI of the XML Schema namespace

-        2) the fragment identifier is the name of the datatype, followed

-           by a period (".") followed by the name of the facet

-

-      For example, to address the usage of the maxInclusive facet in

-      the definition of int, the URI is:

-

-        http://www.w3.org/2001/XMLSchema#int.maxInclusive

-

-    </xs:documentation>

-  </xs:annotation>

-

-  <xs:simpleType name="string" id="string">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality" value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-                source="http://www.w3.org/TR/xmlschema-2/#string"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="preserve" id="string.preserve"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="boolean" id="boolean">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality" value="finite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#boolean"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse" fixed="true"

-        id="boolean.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="float" id="float">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="total"/>

-        <hfp:hasProperty name="bounded" value="true"/>

-        <hfp:hasProperty name="cardinality" value="finite"/>

-        <hfp:hasProperty name="numeric" value="true"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#float"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse" fixed="true"

-        id="float.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="double" id="double">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="total"/>

-        <hfp:hasProperty name="bounded" value="true"/>

-        <hfp:hasProperty name="cardinality" value="finite"/>

-        <hfp:hasProperty name="numeric" value="true"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#double"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="double.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="decimal" id="decimal">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="totalDigits"/>

-        <hfp:hasFacet name="fractionDigits"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="total"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="true"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#decimal"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="decimal.whiteSpace"/>

-    </xs:restriction>

-   </xs:simpleType>

-

-   <xs:simpleType name="duration" id="duration">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#duration"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="duration.whiteSpace"/>

-    </xs:restriction>

-   </xs:simpleType>

-

- <xs:simpleType name="dateTime" id="dateTime">

-    <xs:annotation>

-    <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="dateTime.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="time" id="time">

-    <xs:annotation>

-    <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#time"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="time.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="date" id="date">

-   <xs:annotation>

-    <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#date"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="date.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="gYearMonth" id="gYearMonth">

-   <xs:annotation>

-    <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="gYearMonth.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="gYear" id="gYear">

-    <xs:annotation>

-    <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#gYear"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="gYear.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

- <xs:simpleType name="gMonthDay" id="gMonthDay">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-       <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-         <xs:whiteSpace value="collapse" fixed="true"

-                id="gMonthDay.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="gDay" id="gDay">

-    <xs:annotation>

-  <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#gDay"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-         <xs:whiteSpace value="collapse"  fixed="true"

-                id="gDay.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

- <xs:simpleType name="gMonth" id="gMonth">

-    <xs:annotation>

-  <xs:appinfo>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasFacet name="maxInclusive"/>

-        <hfp:hasFacet name="maxExclusive"/>

-        <hfp:hasFacet name="minInclusive"/>

-        <hfp:hasFacet name="minExclusive"/>

-        <hfp:hasProperty name="ordered" value="partial"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-         <xs:whiteSpace value="collapse"  fixed="true"

-                id="gMonth.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-   <xs:simpleType name="hexBinary" id="hexBinary">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#binary"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse" fixed="true"

-        id="hexBinary.whiteSpace"/>

-    </xs:restriction>

-   </xs:simpleType>

-

- <xs:simpleType name="base64Binary" id="base64Binary">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-                source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse" fixed="true"

-        id="base64Binary.whiteSpace"/>

-    </xs:restriction>

-   </xs:simpleType>

-

-   <xs:simpleType name="anyURI" id="anyURI">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="anyURI.whiteSpace"/>

-    </xs:restriction>

-   </xs:simpleType>

-

-  <xs:simpleType name="QName" id="QName">

-    <xs:annotation>

-        <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#QName"/>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="QName.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-   <xs:simpleType name="NOTATION" id="NOTATION">

-    <xs:annotation>

-        <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="pattern"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>

-      <xs:documentation>

-        NOTATION cannot be used directly in a schema; rather a type

-        must be derived from it by specifying at least one enumeration

-        facet whose value is the name of a NOTATION declared in the

-        schema.

-      </xs:documentation>

-    </xs:annotation>

-    <xs:restriction base="xs:anySimpleType">

-      <xs:whiteSpace value="collapse"  fixed="true"

-        id="NOTATION.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:annotation>

-    <xs:documentation>

-      Now the derived primitive types

-    </xs:documentation>

-  </xs:annotation>

-

-  <xs:simpleType name="normalizedString" id="normalizedString">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>

-    </xs:annotation>

-    <xs:restriction base="xs:string">

-      <xs:whiteSpace value="replace"

-        id="normalizedString.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="token" id="token">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#token"/>

-    </xs:annotation>

-    <xs:restriction base="xs:normalizedString">

-      <xs:whiteSpace value="collapse" id="token.whiteSpace"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="language" id="language">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#language"/>

-    </xs:annotation>

-    <xs:restriction base="xs:token">

-      <xs:pattern

-        value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"

-                id="language.pattern">

-        <xs:annotation>

-          <xs:documentation

-                source="http://www.w3.org/TR/REC-xml#NT-LanguageID">

-            pattern specifies the content of section 2.12 of XML 1.0e2

-            and RFC 3066 (Revised version of RFC 1766).

-          </xs:documentation>

-        </xs:annotation>

-      </xs:pattern>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="IDREFS" id="IDREFS">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>

-    </xs:annotation>

-    <xs:restriction>

-      <xs:simpleType>

-        <xs:list itemType="xs:IDREF"/>

-      </xs:simpleType>

-        <xs:minLength value="1" id="IDREFS.minLength"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="ENTITIES" id="ENTITIES">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>

-    </xs:annotation>

-    <xs:restriction>

-      <xs:simpleType>

-        <xs:list itemType="xs:ENTITY"/>

-      </xs:simpleType>

-        <xs:minLength value="1" id="ENTITIES.minLength"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="NMTOKEN" id="NMTOKEN">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>

-    </xs:annotation>

-    <xs:restriction base="xs:token">

-      <xs:pattern value="\c+" id="NMTOKEN.pattern">

-        <xs:annotation>

-          <xs:documentation

-                source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">

-            pattern matches production 7 from the XML spec

-          </xs:documentation>

-        </xs:annotation>

-      </xs:pattern>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="NMTOKENS" id="NMTOKENS">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasFacet name="length"/>

-        <hfp:hasFacet name="minLength"/>

-        <hfp:hasFacet name="maxLength"/>

-        <hfp:hasFacet name="enumeration"/>

-        <hfp:hasFacet name="whiteSpace"/>

-        <hfp:hasProperty name="ordered" value="false"/>

-        <hfp:hasProperty name="bounded" value="false"/>

-        <hfp:hasProperty name="cardinality"

-                value="countably infinite"/>

-        <hfp:hasProperty name="numeric" value="false"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>

-    </xs:annotation>

-    <xs:restriction>

-      <xs:simpleType>

-        <xs:list itemType="xs:NMTOKEN"/>

-      </xs:simpleType>

-        <xs:minLength value="1" id="NMTOKENS.minLength"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="Name" id="Name">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#Name"/>

-    </xs:annotation>

-    <xs:restriction base="xs:token">

-      <xs:pattern value="\i\c*" id="Name.pattern">

-        <xs:annotation>

-          <xs:documentation

-                        source="http://www.w3.org/TR/REC-xml#NT-Name">

-            pattern matches production 5 from the XML spec

-          </xs:documentation>

-        </xs:annotation>

-      </xs:pattern>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="NCName" id="NCName">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#NCName"/>

-    </xs:annotation>

-    <xs:restriction base="xs:Name">

-      <xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">

-        <xs:annotation>

-          <xs:documentation

-                source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">

-            pattern matches production 4 from the Namespaces in XML spec

-          </xs:documentation>

-        </xs:annotation>

-      </xs:pattern>

-    </xs:restriction>

-  </xs:simpleType>

-

-   <xs:simpleType name="ID" id="ID">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#ID"/>

-    </xs:annotation>

-    <xs:restriction base="xs:NCName"/>

-   </xs:simpleType>

-

-   <xs:simpleType name="IDREF" id="IDREF">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>

-    </xs:annotation>

-    <xs:restriction base="xs:NCName"/>

-   </xs:simpleType>

-

-   <xs:simpleType name="ENTITY" id="ENTITY">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>

-    </xs:annotation>

-    <xs:restriction base="xs:NCName"/>

-   </xs:simpleType>

-

-  <xs:simpleType name="integer" id="integer">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#integer"/>

-    </xs:annotation>

-    <xs:restriction base="xs:decimal">

-      <xs:fractionDigits value="0" fixed="true" id="integer.fractionDigits"/>

-      <xs:pattern value="[\-+]?[0-9]+"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="nonPositiveInteger" id="nonPositiveInteger">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>

-    </xs:annotation>

-    <xs:restriction base="xs:integer">

-      <xs:maxInclusive value="0" id="nonPositiveInteger.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="negativeInteger" id="negativeInteger">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>

-    </xs:annotation>

-    <xs:restriction base="xs:nonPositiveInteger">

-      <xs:maxInclusive value="-1" id="negativeInteger.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="long" id="long">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasProperty name="bounded" value="true"/>

-        <hfp:hasProperty name="cardinality" value="finite"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#long"/>

-    </xs:annotation>

-    <xs:restriction base="xs:integer">

-      <xs:minInclusive value="-9223372036854775808" id="long.minInclusive"/>

-      <xs:maxInclusive value="9223372036854775807" id="long.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="int" id="int">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#int"/>

-    </xs:annotation>

-    <xs:restriction base="xs:long">

-      <xs:minInclusive value="-2147483648" id="int.minInclusive"/>

-      <xs:maxInclusive value="2147483647" id="int.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="short" id="short">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#short"/>

-    </xs:annotation>

-    <xs:restriction base="xs:int">

-      <xs:minInclusive value="-32768" id="short.minInclusive"/>

-      <xs:maxInclusive value="32767" id="short.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="byte" id="byte">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#byte"/>

-    </xs:annotation>

-    <xs:restriction base="xs:short">

-      <xs:minInclusive value="-128" id="byte.minInclusive"/>

-      <xs:maxInclusive value="127" id="byte.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="nonNegativeInteger" id="nonNegativeInteger">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>

-    </xs:annotation>

-    <xs:restriction base="xs:integer">

-      <xs:minInclusive value="0" id="nonNegativeInteger.minInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="unsignedLong" id="unsignedLong">

-    <xs:annotation>

-      <xs:appinfo>

-        <hfp:hasProperty name="bounded" value="true"/>

-        <hfp:hasProperty name="cardinality" value="finite"/>

-      </xs:appinfo>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>

-    </xs:annotation>

-    <xs:restriction base="xs:nonNegativeInteger">

-      <xs:maxInclusive value="18446744073709551615"

-        id="unsignedLong.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="unsignedInt" id="unsignedInt">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>

-    </xs:annotation>

-    <xs:restriction base="xs:unsignedLong">

-      <xs:maxInclusive value="4294967295"

-        id="unsignedInt.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="unsignedShort" id="unsignedShort">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>

-    </xs:annotation>

-    <xs:restriction base="xs:unsignedInt">

-      <xs:maxInclusive value="65535"

-        id="unsignedShort.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="unsignedByte" id="unsignedByte">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>

-    </xs:annotation>

-    <xs:restriction base="xs:unsignedShort">

-      <xs:maxInclusive value="255" id="unsignedByte.maxInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

-  <xs:simpleType name="positiveInteger" id="positiveInteger">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>

-    </xs:annotation>

-    <xs:restriction base="xs:nonNegativeInteger">

-      <xs:minInclusive value="1" id="positiveInteger.minInclusive"/>

-    </xs:restriction>

-  </xs:simpleType>

-

- <xs:simpleType name="derivationControl">

-  <xs:annotation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:restriction base="xs:NMTOKEN">

-   <xs:enumeration value="substitution"/>

-   <xs:enumeration value="extension"/>

-   <xs:enumeration value="restriction"/>

-   <xs:enumeration value="list"/>

-   <xs:enumeration value="union"/>

-  </xs:restriction>

- </xs:simpleType>

-

- <xs:group name="simpleDerivation">

-  <xs:choice>

-    <xs:element ref="xs:restriction"/>

-    <xs:element ref="xs:list"/>

-    <xs:element ref="xs:union"/>

-  </xs:choice>

- </xs:group>

-

- <xs:simpleType name="simpleDerivationSet">

-  <xs:annotation>

-   <xs:documentation>

-   #all or (possibly empty) subset of {restriction, union, list}

-   </xs:documentation>

-   <xs:documentation>

-   A utility type, not for public use</xs:documentation>

-  </xs:annotation>

-  <xs:union>

-   <xs:simpleType>

-    <xs:restriction base="xs:token">

-     <xs:enumeration value="#all"/>

-    </xs:restriction>

-   </xs:simpleType>

-   <xs:simpleType>

-    <xs:restriction base="xs:derivationControl">

-     <xs:enumeration value="list"/>

-     <xs:enumeration value="union"/>

-     <xs:enumeration value="restriction"/>

-    </xs:restriction>

-   </xs:simpleType>

-  </xs:union>

- </xs:simpleType>

-

-  <xs:complexType name="simpleType" abstract="true">

-    <xs:complexContent>

-      <xs:extension base="xs:annotated">

-        <xs:group ref="xs:simpleDerivation"/>

-        <xs:attribute name="final" type="xs:simpleDerivationSet"/>

-        <xs:attribute name="name" type="xs:NCName">

-          <xs:annotation>

-            <xs:documentation>

-              Can be restricted to required or forbidden

-            </xs:documentation>

-          </xs:annotation>

-        </xs:attribute>

-      </xs:extension>

-    </xs:complexContent>

-  </xs:complexType>

-

-  <xs:complexType name="topLevelSimpleType">

-    <xs:complexContent>

-      <xs:restriction base="xs:simpleType">

-        <xs:sequence>

-          <xs:element ref="xs:annotation" minOccurs="0"/>

-          <xs:group ref="xs:simpleDerivation"/>

-        </xs:sequence>

-        <xs:attribute name="name" use="required"

-             type="xs:NCName">

-          <xs:annotation>

-            <xs:documentation>

-              Required at the top level

-            </xs:documentation>

-          </xs:annotation>

-        </xs:attribute>

-       <xs:anyAttribute namespace="##other" processContents="lax"/>

-      </xs:restriction>

-    </xs:complexContent>

-  </xs:complexType>

-

-  <xs:complexType name="localSimpleType">

-    <xs:complexContent>

-      <xs:restriction base="xs:simpleType">

-        <xs:sequence>

-          <xs:element ref="xs:annotation" minOccurs="0"/>

-          <xs:group ref="xs:simpleDerivation"/>

-        </xs:sequence>

-        <xs:attribute name="name" use="prohibited">

-          <xs:annotation>

-            <xs:documentation>

-              Forbidden when nested

-            </xs:documentation>

-          </xs:annotation>

-        </xs:attribute>

-        <xs:attribute name="final" use="prohibited"/>

-       <xs:anyAttribute namespace="##other" processContents="lax"/>

-      </xs:restriction>

-    </xs:complexContent>

-  </xs:complexType>

-

-  <xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-simpleType"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:group name="facets">

-   <xs:annotation>

-    <xs:documentation>

-       We should use a substitution group for facets, but

-       that's ruled out because it would allow users to

-       add their own, which we're not ready for yet.

-    </xs:documentation>

-   </xs:annotation>

-   <xs:choice>

-    <xs:element ref="xs:minExclusive"/>

-    <xs:element ref="xs:minInclusive"/>

-    <xs:element ref="xs:maxExclusive"/>

-    <xs:element ref="xs:maxInclusive"/>

-    <xs:element ref="xs:totalDigits"/>

-    <xs:element ref="xs:fractionDigits"/>

-    <xs:element ref="xs:length"/>

-    <xs:element ref="xs:minLength"/>

-    <xs:element ref="xs:maxLength"/>

-    <xs:element ref="xs:enumeration"/>

-    <xs:element ref="xs:whiteSpace"/>

-    <xs:element ref="xs:pattern"/>

-   </xs:choice>

-  </xs:group>

-

-  <xs:group name="simpleRestrictionModel">

-   <xs:sequence>

-    <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>

-    <xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>

-   </xs:sequence>

-  </xs:group>

-

-  <xs:element name="restriction" id="restriction">

-   <xs:complexType>

-    <xs:annotation>

-      <xs:documentation

-                source="http://www.w3.org/TR/xmlschema-2/#element-restriction">

-          base attribute and simpleType child are mutually

-          exclusive, but one or other is required

-        </xs:documentation>

-      </xs:annotation>

-      <xs:complexContent>

-        <xs:extension base="xs:annotated">

-         <xs:group ref="xs:simpleRestrictionModel"/>

-         <xs:attribute name="base" type="xs:QName" use="optional"/>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:element name="list" id="list">

-   <xs:complexType>

-    <xs:annotation>

-      <xs:documentation

-                source="http://www.w3.org/TR/xmlschema-2/#element-list">

-          itemType attribute and simpleType child are mutually

-          exclusive, but one or other is required

-        </xs:documentation>

-      </xs:annotation>

-      <xs:complexContent>

-        <xs:extension base="xs:annotated">

-          <xs:sequence>

-            <xs:element name="simpleType" type="xs:localSimpleType"

-                minOccurs="0"/>

-          </xs:sequence>

-          <xs:attribute name="itemType" type="xs:QName" use="optional"/>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:element name="union" id="union">

-   <xs:complexType>

-    <xs:annotation>

-      <xs:documentation

-                source="http://www.w3.org/TR/xmlschema-2/#element-union">

-          memberTypes attribute must be non-empty or there must be

-          at least one simpleType child

-        </xs:documentation>

-      </xs:annotation>

-      <xs:complexContent>

-        <xs:extension base="xs:annotated">

-          <xs:sequence>

-            <xs:element name="simpleType" type="xs:localSimpleType"

-                minOccurs="0" maxOccurs="unbounded"/>

-          </xs:sequence>

-          <xs:attribute name="memberTypes" use="optional">

-            <xs:simpleType>

-              <xs:list itemType="xs:QName"/>

-            </xs:simpleType>

-          </xs:attribute>

-        </xs:extension>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:complexType name="facet">

-    <xs:complexContent>

-      <xs:extension base="xs:annotated">

-        <xs:attribute name="value" use="required"/>

-        <xs:attribute name="fixed" type="xs:boolean" use="optional"

-                      default="false"/>

-      </xs:extension>

-    </xs:complexContent>

-  </xs:complexType>

-

- <xs:complexType name="noFixedFacet">

-  <xs:complexContent>

-   <xs:restriction base="xs:facet">

-    <xs:sequence>

-     <xs:element ref="xs:annotation" minOccurs="0"/>

-    </xs:sequence>

-    <xs:attribute name="fixed" use="prohibited"/>

-    <xs:anyAttribute namespace="##other" processContents="lax"/>

-   </xs:restriction>

-  </xs:complexContent>

- </xs:complexType>

-

-  <xs:element name="minExclusive" id="minExclusive" type="xs:facet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-minExclusive"/>

-    </xs:annotation>

-  </xs:element>

-  <xs:element name="minInclusive" id="minInclusive" type="xs:facet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-minInclusive"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:element name="maxExclusive" id="maxExclusive" type="xs:facet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-maxExclusive"/>

-    </xs:annotation>

-  </xs:element>

-  <xs:element name="maxInclusive" id="maxInclusive" type="xs:facet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-maxInclusive"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:complexType name="numFacet">

-    <xs:complexContent>

-      <xs:restriction base="xs:facet">

-       <xs:sequence>

-         <xs:element ref="xs:annotation" minOccurs="0"/>

-       </xs:sequence>

-       <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>

-       <xs:anyAttribute namespace="##other" processContents="lax"/>

-      </xs:restriction>

-    </xs:complexContent>

-  </xs:complexType>

-

-  <xs:element name="totalDigits" id="totalDigits">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>

-    </xs:annotation>

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:restriction base="xs:numFacet">

-          <xs:sequence>

-            <xs:element ref="xs:annotation" minOccurs="0"/>

-          </xs:sequence>

-          <xs:attribute name="value" type="xs:positiveInteger" use="required"/>

-         <xs:anyAttribute namespace="##other" processContents="lax"/>

-        </xs:restriction>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-  <xs:element name="fractionDigits" id="fractionDigits" type="xs:numFacet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-fractionDigits"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:element name="length" id="length" type="xs:numFacet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-length"/>

-    </xs:annotation>

-  </xs:element>

-  <xs:element name="minLength" id="minLength" type="xs:numFacet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-minLength"/>

-    </xs:annotation>

-  </xs:element>

-  <xs:element name="maxLength" id="maxLength" type="xs:numFacet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-maxLength"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:element name="enumeration" id="enumeration" type="xs:noFixedFacet">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-enumeration"/>

-    </xs:annotation>

-  </xs:element>

-

-  <xs:element name="whiteSpace" id="whiteSpace">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>

-    </xs:annotation>

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:restriction base="xs:facet">

-          <xs:sequence>

-            <xs:element ref="xs:annotation" minOccurs="0"/>

-          </xs:sequence>

-          <xs:attribute name="value" use="required">

-            <xs:simpleType>

-              <xs:restriction base="xs:NMTOKEN">

-                <xs:enumeration value="preserve"/>

-                <xs:enumeration value="replace"/>

-                <xs:enumeration value="collapse"/>

-              </xs:restriction>

-            </xs:simpleType>

-          </xs:attribute>

-         <xs:anyAttribute namespace="##other" processContents="lax"/>

-        </xs:restriction>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-  <xs:element name="pattern" id="pattern">

-    <xs:annotation>

-      <xs:documentation

-        source="http://www.w3.org/TR/xmlschema-2/#element-pattern"/>

-    </xs:annotation>

-    <xs:complexType>

-      <xs:complexContent>

-        <xs:restriction base="xs:noFixedFacet">

-          <xs:sequence>

-            <xs:element ref="xs:annotation" minOccurs="0"/>

-          </xs:sequence>

-          <xs:attribute name="value" type="xs:string" use="required"/>

-         <xs:anyAttribute namespace="##other" processContents="lax"/>

-        </xs:restriction>

-      </xs:complexContent>

-    </xs:complexType>

-  </xs:element>

-

-</xs:schema>

diff --git a/v2/test/cases/xbean/xmlobject/store/easypo1.xml b/v2/test/cases/xbean/xmlobject/store/easypo1.xml
deleted file mode 100755
index 4b24285..0000000
--- a/v2/test/cases/xbean/xmlobject/store/easypo1.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<po:purchase-order xmlns:po="http://openuri.org/easypo">

-  <po:customer>

-    <po:name>David Bau</po:name>

-    <po:address>Gladwyne, PA</po:address>

-  </po:customer>

-  <po:date>2002-09-30T14:16:00-05:00</po:date>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 1</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>21.79</po:price>

-    <po:quantity>2</po:quantity>

-  </po:line-item>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 2</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>19.89</po:price>

-    <po:quantity>2</po:quantity>

-  </po:line-item>

-  <po:line-item>

-    <po:description>Burnham's Celestial Handbook, Vol 3</po:description>

-    <po:per-unit-ounces>5</po:per-unit-ounces>

-    <po:price>19.89</po:price>

-    <po:quantity>1</po:quantity>

-  </po:line-item>

-  <po:shipper>

-    <po:name>UPS</po:name>

-    <po:per-ounce-rate>0.74</po:per-ounce-rate>

-  </po:shipper>

-</po:purchase-order>

diff --git a/v2/test/cases/xbean/xmlobject/store/erictest.xml b/v2/test/cases/xbean/xmlobject/store/erictest.xml
deleted file mode 100755
index 3b993bd..0000000
--- a/v2/test/cases/xbean/xmlobject/store/erictest.xml
+++ /dev/null
@@ -1 +0,0 @@
-<bar><foo>1</foo><foo>2</foo></bar>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/store/people.xml b/v2/test/cases/xbean/xmlobject/store/people.xml
deleted file mode 100755
index 4f1dd6e..0000000
--- a/v2/test/cases/xbean/xmlobject/store/people.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-<people x="">

-

-  <person>

-    <name>

-      <first>Eric</first>

-      <last>Vasilik</last>

-    </name>

-    <age>37</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Sylvia</first>

-      <last>Vasilik</last>

-    </name>

-    <age>34</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Rod</first>

-      <last>Chavez</last>

-    </name>

-    <age>39</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Terry</first>

-      <last>Lucas</last>

-    </name>

-    <age>42</age>

-  </person>

-

-  <person>

-    <name>

-      <first>David</first>

-      <last>Bau</last>

-    </name>

-    <age>31</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Eric</first>

-      <last>Vasilik</last>

-    </name>

-    <age>37</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Sylvia</first>

-      <last>Vasilik</last>

-    </name>

-    <age>34</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Rod</first>

-      <last>Chavez</last>

-    </name>

-    <age>39</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Terry</first>

-      <last>Lucas</last>

-    </name>

-    <age>42</age>

-  </person>

-

-  <person>

-    <name>

-      <first>David</first>

-      <last>Bau</last>

-    </name>

-    <age>31</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Eric</first>

-      <last>Vasilik</last>

-    </name>

-    <age>37</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Sylvia</first>

-      <last>Vasilik</last>

-    </name>

-    <age>34</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Rod</first>

-      <last>Chavez</last>

-    </name>

-    <age>39</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Terry</first>

-      <last>Lucas</last>

-    </name>

-    <age>42</age>

-  </person>

-

-  <person>

-    <name>

-      <first>David</first>

-      <last>Bau</last>

-    </name>

-    <age>31</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Rod</first>

-      <last>Chavez</last>

-    </name>

-    <age>39</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Eric</first>

-      <last>Vasilik</last>

-    </name>

-    <age>37</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Sylvia</first>

-      <last>Vasilik</last>

-    </name>

-    <age>34</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Rod</first>

-      <last>Chavez</last>

-    </name>

-    <age>39</age>

-  </person>

-

-  <person>

-    <name>

-      <first>Terry</first>

-      <last>Lucas</last>

-    </name>

-    <age>42</age>

-  </person>

-

-  <person>

-    <name>

-      <first>David</first>

-      <last>Bau</last>

-    </name>

-    <age>31</age>

-  </person>

-

-</people>

diff --git a/v2/test/cases/xbean/xmlobject/store/small.xml b/v2/test/cases/xbean/xmlobject/store/small.xml
deleted file mode 100755
index f5b5148..0000000
--- a/v2/test/cases/xbean/xmlobject/store/small.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml   

-

-   version

-=

-

-

-"

-"

-standalone='yes'   ?>

-<aaaa a="a_value" b:a = 'b_value'  xmlns:b="b_ns">	

-  <?pi	tab  tesxt rt?>

-</aaaa>

diff --git a/v2/test/cases/xbean/xmlobject/store/test.xml b/v2/test/cases/xbean/xmlobject/store/test.xml
deleted file mode 100755
index 75d928a..0000000
--- a/v2/test/cases/xbean/xmlobject/store/test.xml
+++ /dev/null
@@ -1 +0,0 @@
-<foo x="y">ab</foo>
\ No newline at end of file
diff --git a/v2/test/cases/xbean/xmlobject/substgroup.xsd b/v2/test/cases/xbean/xmlobject/substgroup.xsd
deleted file mode 100755
index ee8c3d7..0000000
--- a/v2/test/cases/xbean/xmlobject/substgroup.xsd
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>

-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"

-    targetNamespace="http://openuri.org/sgs" xmlns:sg="http://openuri.org/sgs">

-    <xsd:element name="C" type="xsd:token" substitutionGroup="sg:B"/>

-    <xsd:element name="A" type="xsd:string"/>

-    <xsd:element name="B" type="xsd:normalizedString" substitutionGroup="sg:A"/>

-

-    <xsd:element name="Z" type="sg:Ext" substitutionGroup="sg:Y" />

-    <xsd:element name="Y" substitutionGroup="sg:X" />

-    <xsd:element name="X" type="sg:Base"/>

-

-    <xsd:element name="AnyType"/>

-    <xsd:element name="AnyTypeTail" substitutionGroup="sg:AnyType"/>

-

-    <xsd:element name="AnonSimple">

-        <xsd:simpleType>

-            <xsd:restriction base="xsd:int">

-                <xsd:maxExclusive value="100"/>

-            </xsd:restriction>

-        </xsd:simpleType>

-    </xsd:element>

-

-    <xsd:element name="AnonSimpleTail" substitutionGroup="sg:AnonSimple"/>

-

-    <xsd:element name="AnonComplex">

-        <xsd:complexType>

-            <xsd:sequence>

-                <xsd:element name="foo" type="xsd:int"/>

-            </xsd:sequence>

-        </xsd:complexType>

-    </xsd:element>

-

-    <xsd:element name="AnonComplexTail" substitutionGroup="sg:AnonComplex"/>

-

-    <xsd:element name="root">

-        <xsd:complexType>

-            <xsd:sequence maxOccurs="unbounded">

-                <xsd:element ref="sg:A"/>

-            </xsd:sequence>

-        </xsd:complexType>

-    </xsd:element>

-

-    <xsd:complexType name="Base">

-        <xsd:sequence>

-            <xsd:element name="str" type="xsd:string"/>

-        </xsd:sequence>

-    </xsd:complexType>

-

-    <xsd:complexType name="Unrelated">

-        <xsd:sequence>

-            <xsd:element name="str" type="xsd:string"/>

-        </xsd:sequence>

-    </xsd:complexType>

-

-    <xsd:complexType name="Ext">

-        <xsd:complexContent>

-            <xsd:extension base="sg:Base">

-                <xsd:sequence>

-                    <xsd:element name="int" type="xsd:int"/>

-                </xsd:sequence>

-            </xsd:extension>

-        </xsd:complexContent>

-    </xsd:complexType>

-

-	<xsd:element name="abstractTest">

-		<xsd:complexType>

-			<xsd:all>

-				<xsd:element ref="sg:abstract"/>

-			</xsd:all>

-		</xsd:complexType>

-	</xsd:element>

-

-	<xsd:element name="abstract" type="xsd:string" abstract="true"/>

-    <xsd:element name="concrete" substitutionGroup="sg:abstract"/>

-

-	<xsd:element name="blockTest">

-		<xsd:complexType>

-			<xsd:all>

-				<xsd:element ref="sg:block"/>

-			</xsd:all>

-		</xsd:complexType>

-	</xsd:element>

-

-	<xsd:element name="block" type="xsd:string" block="substitution"/>

-    <xsd:element name="subblock" substitutionGroup="sg:block"/>

-

-</xsd:schema>

diff --git a/v2/test/cases/xbean/xmlobject/version1.xsddonotcompile b/v2/test/cases/xbean/xmlobject/version1.xsddonotcompile
deleted file mode 100644
index ad0b8af..0000000
--- a/v2/test/cases/xbean/xmlobject/version1.xsddonotcompile
+++ /dev/null
@@ -1,20 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://openuri.org/versionstest"
-    xmlns:tns="http://openuri.org/versionstest">
-
-  <xs:complexType name="typeX">
-    <xs:complexContent>
-    <xs:extension base="tns:type">
-    <xs:sequence>
-      <xs:element name="a" type="xs:string"/>
-    </xs:sequence>
-    </xs:extension>
-    </xs:complexContent>
-  </xs:complexType>
-
-  <xs:complexType name="type">
-    <xs:sequence>
-      <xs:element name="aa" type="xs:string"/>
-    </xs:sequence>
-  </xs:complexType>
-</xs:schema>
diff --git a/v2/test/cases/xbean/xmlobject/version2.xsddonotcompile b/v2/test/cases/xbean/xmlobject/version2.xsddonotcompile
deleted file mode 100644
index c41d212..0000000
--- a/v2/test/cases/xbean/xmlobject/version2.xsddonotcompile
+++ /dev/null
@@ -1,17 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://openuri.org/versionstest"
-    xmlns:tns="http://openuri.org/versionstest">
-
-  <xs:redefine schemaLocation="version1.xsddonotcompile">
-    <xs:complexType name="typeX">
-      <xs:complexContent>
-        <xs:extension base="tns:typeX">
-          <xs:sequence>
-            <xs:element name="b" type="xs:string"/>
-          </xs:sequence>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:redefine>
-  
-</xs:schema>
diff --git a/v2/test/cases/xbean/xmlobject/version3.xsd b/v2/test/cases/xbean/xmlobject/version3.xsd
deleted file mode 100644
index ec2a357..0000000
--- a/v2/test/cases/xbean/xmlobject/version3.xsd
+++ /dev/null
@@ -1,19 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://openuri.org/versionstest"
-    xmlns:tns="http://openuri.org/versionstest">
-
-  <xs:redefine schemaLocation="version2.xsddonotcompile">
-    <xs:complexType name="typeX">
-      <xs:complexContent>
-        <xs:extension base="tns:typeX">
-          <xs:sequence>
-            <xs:element name="c" type="xs:string"/>
-          </xs:sequence>
-        </xs:extension>
-      </xs:complexContent>
-    </xs:complexType>
-  </xs:redefine>
-
-  <xs:element name="element" type="tns:typeX"/>
-
-</xs:schema>
diff --git a/v2/test/cases/xbean/xmltokensource/PrettyPrintNamespaceTest.xsd b/v2/test/cases/xbean/xmltokensource/PrettyPrintNamespaceTest.xsd
deleted file mode 100755
index 78e314f..0000000
--- a/v2/test/cases/xbean/xmltokensource/PrettyPrintNamespaceTest.xsd
+++ /dev/null
@@ -1,22 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mtest.com"

-           xmlns:tns="http://www.mtest.com" elementFormDefault="qualified">

-

- <xs:element name="Test" type="tns:Info"/>

-

- <xs:complexType name="Info">

-  <xs:sequence>

-   <xs:element name="desc" type="xs:string" default="whoolaboo" minOccurs="0" maxOccurs="1"/>

-  </xs:sequence>

- </xs:complexType>

-

- <xs:complexType name="SubInfo">

-  <xs:complexContent>

-   <xs:extension base="tns:Info">

-    <xs:sequence>

-      <xs:element name="subdesc" type="xs:string" default="pingpong" minOccurs="0" maxOccurs="1"/>

-    </xs:sequence>

-   </xs:extension>

-  </xs:complexContent>

- </xs:complexType>

-

-</xs:schema>

diff --git a/v2/test/docs/BuildingAndRunningTests.txt b/v2/test/docs/BuildingAndRunningTests.txt
deleted file mode 100755
index 1ea3375..0000000
--- a/v2/test/docs/BuildingAndRunningTests.txt
+++ /dev/null
@@ -1,81 +0,0 @@
-README:

-===========================================

-Requirements:

-* The Apache XmlBeans source from CVS.

-* Ant version 1.6 or higher

-* Ensure  JAVA_HOME and ANT_HOME (Requires Ant 1.6 or higher) are set up in your environment

-

-BUILDING TESTS:

-* Change to xml-xmlbeans\v2 in the CVS download location.

-* To build tests run

-  ant testbuild

-

-BUILING AND RUNNING CHECKIN TESTS:

-(NOTE: does not perform a checkin, just runs tests)

-* Change to xml-xmlbeans\v2 in the CVS download location.

-* build xml-beans

-* run "ant checkintest"

-

-

-Additional build sub-targets

--------------------------------

-* build.tools       - builds the tools used by the tests

-* build.schemas     - builds the schema jars required for the tests

-* build.tests       - builds the actual tests

-* testclean         - Cleans everything that was built. For wlxbean this target

-                      will also clean the CVS repository.

-* clean.schemas     - Cleans the built schema files and jars

-* clean.tests       - Cleans only the built test classes and jars

-

-==========================================

-RUNNING TESTS:

-The following targets are to be executed from the same directory as the build targets.

-* This uses a custom task and Junit runner to run the tests. No additional files

-  are required/generated. To run tests

-

-  ant run.junit [-Dtests.spec=...] [-Dshowoutput=true]

-

-  tests.spec is a wildcard expression that specifies the test to run

-  - "**/checkin/**"    - Runs all checkin tests (This is the default if tests.spec

-                         is not specified)

-  - "**/detailed/**"   - Runs all detailed tests

-

-  - "**/AREA/**"       - all tests that have AREA in their path

-

-  NOTE: Always include the double-quotes around the wildcard expression. Its

-        best to have the leading **/ in the expression.

-        To run a single test try "**/test/package/TestClass"

-

- Example: Run all dom tests

-      ant run.junit -Dtests.spec="**/dom/**" -Dshowoutput=true

-

-  showoutput controls if the output from the tests is displayed on the console.

-  This is dependent on the Result formatter used by the JUnitX runner. The Xml

-  Formatter thats comes with the JUnitX runner captures output and records it in

-  the log file (build/test/report/Testlog.xml). Setting showoutput=true when using the Xml

-  formatter will print output to the console and also capture it.

-

-  After the tests have finished the task generates a HTML report in

-  build/test/reports/TestReport.html.

-

-==============================================

-SPECIAL TARGETS:

-

-

-* checkin    - this target will try to build the minimum set of schemas and tests

-               required for running checkin tests and run them

-

-Incremental Build:

-* For iterative dev mode, its faster to compile and run tests for just one area.

-  To do this:

-

-  ant clean.tests                       // Removes any built test files.

-  ant testbuild -Dbuild.area=<area>     // Build only that area.

-  ant run.junit [-Dtests.spec="..."]    // Run the tests

-

-  Example: Build all dom tests

-      ant testbuild -Dbuild.area=dom

-

-  All the targets can be chained together in one command

-  ant clean.tests testbuild -Dbuild.area=... run.junit [-Dtests.spec=...]

-

diff --git a/v2/test/docs/TestOrganization.txt b/v2/test/docs/TestOrganization.txt
deleted file mode 100755
index fb39480..0000000
--- a/v2/test/docs/TestOrganization.txt
+++ /dev/null
@@ -1,163 +0,0 @@
-Best practices of writing tests

-

-1)  TESTS:

-    Tests are written under version they apply to. For e.g. all tests related to

-    v2 should be written under v2/test

-

-    The test folder is broken down into

-    a) src

-    b) cases

-    c) tools

-

-    Below are the uses for each of the folders.

-    a) Src:

-

-    This is where the actual test cases (in this case junit driver) live. The src

-    folder is divided by functional areas at the highest level.

-

-    Each functional area is further sub divided by smaller functional areas (if

-    required). If the division is not required then functional area is divided

-    by importance of the tests. Importance are of 2 types

-

-    a) Checkin

-    b) Detailed.

-

-    As the names suggest checkin tests are really important tests for a particular

-    area while Detailed tests aim is to test more of edge cases/error condition/

-    various kinds of input etc.

-

-    Not each top-level functional area needs to have checkin folder. If that area

-    is not that widely used in the product there might just be detailed folder.

-

-    Since checkin tests have to be run by all developer every time they checkin

-    the goal is to include the most crucial tests for each functional area of

-    the product.

-

-    Also each top level/sub functional area can have a Common folder. The main

-    goal here is group smaller utilities used to test functional area in one

-    place so that both the Checkin/Detailed tests can use. If you feel the tools

-    you are writing can be share across Cross-functional areas then use the Tools

-    folder (more to come later in the doc). Any class which is not itself a Junit

-    test should go into that folder, even if it is a superclass for a Junit test

-    in the checkin/detailed folder. Same goes for all interfaces.

-

-

-    Below is an e.g. of how one of the top-level functional area's directory

-    structure may look like.

-

-    xmlcursor/

-            |-checkin/

-            |-detailed/

-            |-common/

-            |-saver/

-            |     |-detailed/

-            |     |-common/

-            |-xpath/

-            |     |-checkin/

-            |     |-detailed/

-            |     |-common/

-

-

-    In this e.g. the xmlcursor area is broken down by checkin/detailed tests for

-    smaller functionality that is cursor specific. For functionality in the

-    cursor that is bigger sub folders are created with its own checkin/detailed/

-    common areas. Again saver does not have a checkin folder since the tests in

-    this area are not too important.

-

-    Overall when writing a test please consider which areas they fit and only

-    create sub folder/top level folders only if necessary.

-

-2) CASES:

-   This contains schema files/xml instances belonging to those schemas and schema

-   independent xml instances which can be shared within the functional areas.

-

-   Cases is further divided into top level areas matching src folder and all

-   schemas/xml instances used by functional areas are placed within this.

-

-   All schemas are compiled with scomp during the build process before compiling

-   the tests. If you have added a top level folder to src then the schemas & xml

-   instances for those tests should have their top-level folder within cases/xbean.

-   If these schemas need to be compiled by scomp you will need to edit the

-   testbuild.xml file to include the new folder in the build. Add this folder

-   to the variable "schema.dirs". (More details below)

-

-

-

-   If you are just adding schemas to existing folders within xbean/cases then

-   these will be automatically picked up in the build process.

-

-   If you have schemas that you don't want to pre compile in the build process

-   please rename the extension from .xsd to .xsddonotcompile. In this way scomp

-   will not pick up pre compile the schema.

-

-   The best practice for the cases folder is to try to reuse schemas within the

-   functional areas. So please check the schemas we have before adding more schemas.

-

-   Since currently the directory structure is such that process sharing of

-   schemas exists within top level functional areas (e.g. all tests with

-   xmlcursor can reuse the schemas) there is some amount of duplication since

-   schemas are not shared among top level functional areas. (for e.g. xmlcursor

-   & xmlobject will not have schemas shared among them). Though we recognize this

-   and are making attempts to revise the directory structure this has

-   implications on how the tests run so for the immediate future this might stay

-   as it is.

-

-

-3) TOOLS:

-    The tools area is meant for storing tools/utilities which help running the

-    tests and reporting results. If you feel you have written a tool which could

-    be used across all functional areas please put the source within tools/src.

-    However before adding a tool please check the existing tools which we already

-    have.

-

-4) BUILD FILE CHANGES:

-    Depending on how tests and cases are added, the build file (testbuild.xml)

-    will need to be updated.

-

-    a) New folder containing schemas added to cases:

-       Append this folder to the property schema.dirs

-        e.g:

-        Old value:

-        <property name="schema.dirs"

-                value="${build.dir.test.schemas}/xbean/xmlcursor"/>

-

-        New value:

-        <property name="schema.dirs"

-                value="${build.dir.test.schemas}/xbean/xmlcursor,

-                       ${build.dir.test.schemas}/xbean/NEWAREA"/>

-

-    b) New top-level area added to test (src/NEWAREA)

-       Add this folder to the list of areas for incremental compile

-       * Append the area name to the property area.names

-       * Add a new target with the name "build.area.NEWAREA"

-

-         Properties that need to be set for this target to work

-             * includes.for.compile - includes spec for javac

-

-         Optionally set the following properties

-             * this.schema.dirs - list of folders for scomp

-             * this.schema.standalone.dirs - list of individual schemas for scomp

-             * testcasesjar.update - set to true if testcases.jar should be

-                                     updated instead of overwriting

-

-         Add a call to target "unit.build" at the end of the target.

-

-         e.g:

-         <target name="build.area.xmlcursor">

-            <property name="this.schema.dirs"

-                value="${build.dir.test.schemas}/xbean/xmlcursor"/>

-            <property name="includes.for.compile"

-                value="**/xmlcursor/**/*.java"/>

-            <property name="testcasejar.update" value="true"/>

-            <antcall target="unit.build"/>

-        </target>

-

-

-

-

-

-

-

-

-

-

diff --git a/v2/test/lib/LICENSE.txt b/v2/test/lib/LICENSE.txt
deleted file mode 100755
index e907ae9..0000000
--- a/v2/test/lib/LICENSE.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Jar w3c_domts contains the test cases from DOMTS 2001, level2,core. Some test cases have been modified, as has been the test harness.For more information on the Dom Conformance Suite, visit http://www.w3.org/DOM/Test/

-

-

-

-

-W3C® SOFTWARE NOTICE AND LICENSE

-http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231

-This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.

-

-Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications:

-

-The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 

-Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. 

-Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) 

-THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

-

-COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.

-

-The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.

-

-

-____________________________________

-

-This formulation of W3C's notice and license became active on December 31 2002. This version removes the copyright ownership notice such that this license can be used with materials other than those owned by the W3C, reflects that ERCIM is now a host of the W3C, includes references to this specific dated version of the license, and removes the ambiguous grant of "use". Otherwise, this version is the same as the previous version and is written so as to preserve the Free Software Foundation's assessment of GPL compatibility and OSI's certification under the Open Source Definition. Please see our Copyright FAQ for common questions about using materials from our site, including specific terms and conditions for packages like libwww, Amaya, and Jigsaw. Other questions about this notice can be directed to site-policy@w3.org.

- 

-

-Joseph Reagle <site-policy@w3.org> 

-Last revised by Reagle $Date: 2004/06/08 19:38:01 $

diff --git a/v2/test/lib/w3c_domts.jar b/v2/test/lib/w3c_domts.jar
deleted file mode 100755
index ee31213..0000000
--- a/v2/test/lib/w3c_domts.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/readme.txt b/v2/test/readme.txt
deleted file mode 100755
index 923a4ca..0000000
--- a/v2/test/readme.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-The doc folder under v2\tests has two docs

-

-1)BuildingAndRunningTests.txt

-

-The documentation here shows how to run & build tests.

-

-

-2)TestOrganization.txt:

-

-Documentation here shows the general layout of how the test framework is structured and the best practise in

-while creating new tests. This documentation should be read before adding new tests. It also shows when it becomes necessary to make additions/modifications to testbuild.xml.

-

diff --git a/v2/test/src/ValidatingXSRTests/checkin/ValidatingXMLStreamReaderTests.java b/v2/test/src/ValidatingXSRTests/checkin/ValidatingXMLStreamReaderTests.java
deleted file mode 100755
index 1c49ba7..0000000
--- a/v2/test/src/ValidatingXSRTests/checkin/ValidatingXMLStreamReaderTests.java
+++ /dev/null
@@ -1,500 +0,0 @@
-/*   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.
- */
-package ValidatingXSRTests.checkin;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.Location;
-import javax.xml.stream.events.XMLEvent;
-import javax.xml.namespace.QName;
-import javax.xml.namespace.NamespaceContext;
-import java.io.FileNotFoundException;
-import java.io.FileInputStream;
-import java.io.File;
-import java.io.StringReader;
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-import org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-
-import org.openuri.testNumerals.DocDocument;
-
-
-import tools.util.JarUtil;
-
-/**
- * @author Cezar Andrei (cezar.andrei at bea.com)
- * Date: Feb 24, 2004
- */
-public class ValidatingXMLStreamReaderTests extends TestCase
-{
-    public ValidatingXMLStreamReaderTests(String name) { super(name); }
-
-    public static Test suite() { return new TestSuite(ValidatingXMLStreamReaderTests.class); }
-
-    private final static String URI_NUMERALS = "http://openuri.org/testNumerals";
-
-    public void testValidateDoc() throws FileNotFoundException, XMLStreamException,Exception
-    {
-        File[] files = new File[] {
-             JarUtil.getResourceFromJarasFile("xmlcases.jar","xbean/xmlobject/enumtest.xml") ,
-             JarUtil.getResourceFromJarasFile("xmlcases.jar","xbean/xmlobject/nameworld.xml") ,
-             JarUtil.getResourceFromJarasFile("xsdcases.jar","xbean/misc/xmldsig-core-schema.xsd") ,
-            //TestEnv.xbeanCase("xbean/misc/signature-example.xml")
-        };
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-
-        for( int i = 0; i<files.length; i++)
-        {
-            validate(valXsr, files[i]);
-        }
-    }
-
-    private static void validate(ValidatingXMLStreamReader valXsr, File file) throws XMLStreamException, FileNotFoundException
-    {
-        Collection errors = new ArrayList();
-        XMLStreamReader xsr = XMLInputFactory.newInstance().
-            createXMLStreamReader(new FileInputStream(file));
-
-        valXsr.init(xsr, false, null /* validate an entire document */ ,
-            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-            null,
-            errors);
-
-        while( valXsr.hasNext() )
-        {
-            valXsr.next();
-        }
-
-        if (!valXsr.isValid())
-            System.out.println("File '" + file + "' is: " + (valXsr.isValid() ? "Valid" : "INVALID"));
-
-        for (Iterator i = errors.iterator(); i.hasNext(); )
-        {
-            XmlError err = (XmlError)i.next();
-
-            String sev = (err.getSeverity()==XmlError.SEVERITY_WARNING ? "WARNING" :
-                (err.getSeverity()==XmlError.SEVERITY_INFO ? "INFO" : "ERROR"));
-
-            System.out.println(sev + " " + err.getLine() + ":" + err.getColumn() + " " + err.getMessage() + " ");
-        }
-
-        if (!valXsr.isValid())
-            System.out.println("---------------\n");
-
-        Assert.assertTrue("File '" + file.getName() +"' is invalid.", valXsr.isValid());
-    }
-
-    public void ____testValidateGlobalAtt1() throws XMLStreamException
-    {
-        XmlObject xo = XmlObject.Factory.newInstance();
-        XmlCursor xc = xo.newCursor();
-        xc.toNextToken();
-
-        xc.insertAttributeWithValue("price", URI_NUMERALS, "23.5");
-
-        XMLStreamReader xsr = xo.newXMLStreamReader();
-        Collection errors = new ArrayList();
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(xsr, false, null,
-            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-            null, errors);
-
-        while(valXsr.hasNext())
-        {
-            valXsr.next();
-        }
-
-        if (!valXsr.isValid())
-        {
-            System.out.println("---------------\n");
-            Iterator i = errors.iterator();
-            while (i.hasNext())
-            {
-                XmlError xmlError = (XmlError) i.next();
-                System.out.println(xmlError.getSeverity() + " " + xmlError.getMessage());
-            }
-        }
-
-        Assert.assertTrue("Global attribute validation is broken.", valXsr.isValid());
-
-    }
-
-    public void testValidateGlobalAtt2() throws XMLStreamException
-    {
-
-        XMLStreamReader xsr = new TestXSR();
-        Collection errors = new ArrayList();
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(xsr, false, null,
-            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-            null, errors);
-
-        while(valXsr.hasNext())
-        {
-            valXsr.next();
-        }
-
-        for (Iterator i = errors.iterator(); i.hasNext(); )
-        {
-            XmlError err = (XmlError)i.next();
-
-            String sev = (err.getSeverity()==XmlError.SEVERITY_WARNING ? "WARNING" :
-                (err.getSeverity()==XmlError.SEVERITY_INFO ? "INFO" : "ERROR"));
-
-            System.out.println(sev + " " + err.getLine() + ":" + err.getColumn() + " " + err.getMessage() + " ");
-        }
-
-        Assert.assertTrue("Global attribute validation 2 is broken.", valXsr.isValid());
-    }
-
-    private static class TestXSR implements XMLStreamReader
-    {
-        private int _state = 0;
-
-        public Object getProperty(String name) throws IllegalArgumentException
-        {
-            return null;
-        }
-
-        public int next() throws XMLStreamException
-        {
-            int state = _state;
-            _state++;
-
-            switch(state)
-            {
-                case 0:
-                    return XMLEvent.START_DOCUMENT;
-
-                case 1:
-                    return XMLEvent.ATTRIBUTE;
-            }
-            return XMLEvent.END_DOCUMENT;
-        }
-
-        public void require(int type, String namespaceURI, String localName) throws XMLStreamException
-        {}
-
-        public String getElementText() throws XMLStreamException
-        {
-            return null;
-        }
-
-        public int nextTag() throws XMLStreamException
-        {
-            return next();
-        }
-
-        public boolean hasNext() throws XMLStreamException
-        {
-            return _state<3;
-        }
-
-        public void close() throws XMLStreamException
-        {}
-
-        public String getNamespaceURI(String prefix)
-        {
-            if ("".equals(prefix))
-                return URI_NUMERALS;
-            return null;
-        }
-
-        public boolean isStartElement()
-        {
-            return false;
-        }
-
-        public boolean isEndElement()
-        {
-            return false;
-        }
-
-        public boolean isCharacters()
-        {
-            return false;
-        }
-
-        public boolean isWhiteSpace()
-        {
-            return false;
-        }
-
-        public String getAttributeValue(String namespaceURI, String localName)
-        {
-            if (URI_NUMERALS.equals(namespaceURI) && "price".equals(localName))
-                return "5";
-            throw new IllegalStateException();
-        }
-
-        public int getAttributeCount()
-        {
-            return 1;
-        }
-
-        public QName getAttributeName(int index)
-        {
-            if (index==0)
-                return new QName(URI_NUMERALS, "price");
-            throw new IllegalStateException();
-        }
-
-        public String getAttributeNamespace(int index)
-        {
-            if (index==0)
-                return URI_NUMERALS;
-            throw new IllegalStateException();
-        }
-
-        public String getAttributeLocalName(int index)
-        {
-            if (index==0)
-                return "price";
-            throw new IllegalStateException();
-        }
-
-        public String getAttributePrefix(int index)
-        {
-            if (index==0)
-                return "";
-            throw new IllegalStateException();
-        }
-
-        public String getAttributeType(int index)
-        {
-            if (index==0)
-                return  "CDATA";
-            throw new IllegalStateException();
-        }
-
-        public String getAttributeValue(int index)
-        {
-            if (index==0)
-                return "8.7654321";
-            throw new IllegalStateException();
-        }
-
-        public boolean isAttributeSpecified(int index)
-        {
-            if (index==0)
-                return true;
-            throw new IllegalStateException();
-        }
-
-        public int getNamespaceCount()
-        {
-            return 0;
-        }
-
-        public String getNamespacePrefix(int index)
-        {
-            return null;
-        }
-
-        public String getNamespaceURI(int index)
-        {
-            return null;
-        }
-
-        public NamespaceContext getNamespaceContext()
-        {
-            return null;
-        }
-
-        public int getEventType()
-        {
-            return XMLEvent.ATTRIBUTE;
-        }
-
-        public String getText()
-        {
-            return null;
-        }
-
-        public char[] getTextCharacters()
-        {
-            return new char[0];
-        }
-
-        public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException
-        {
-            return 0;
-        }
-
-        public int getTextStart()
-        {
-            return 0;
-        }
-
-        public int getTextLength()
-        {
-            return 0;
-        }
-
-        public String getEncoding()
-        {
-            return null;
-        }
-
-        public boolean hasText()
-        {
-            return false;
-        }
-
-        public Location getLocation()
-        {
-            return null;
-        }
-
-        public QName getName()
-        {
-            return null;
-        }
-
-        public String getLocalName()
-        {
-            return null;
-        }
-
-        public boolean hasName()
-        {
-            return false;
-        }
-
-        public String getNamespaceURI()
-        {
-            return null;
-        }
-
-        public String getPrefix()
-        {
-            return null;
-        }
-
-        public String getVersion()
-        {
-            return null;
-        }
-
-        public boolean isStandalone()
-        {
-            return false;
-        }
-
-        public boolean standaloneSet()
-        {
-            return false;
-        }
-
-        public String getCharacterEncodingScheme()
-        {
-            return null;
-        }
-
-        public String getPITarget()
-        {
-            return null;
-        }
-
-        public String getPIData()
-        {
-            return null;
-        }
-
-    }
-
-    public void ____testValidateContent1() throws XMLStreamException
-    {
-        XmlObject xo = XmlObject.Factory.newInstance();
-        XmlCursor xc = xo.newCursor();
-        xc.toNextToken();
-
-        xc.insertElementWithText("int", URI_NUMERALS, "5");
-        xc.insertElementWithText("float", URI_NUMERALS, "7.654321");
-
-        XMLStreamReader xsr = xo.newXMLStreamReader();
-        Collection errors = new ArrayList();
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(xsr, false, DocDocument.Doc.type,
-            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-            null, errors);
-
-        while(valXsr.hasNext())
-        {
-            valXsr.next();
-        }
-        Assert.assertTrue("Content1 validation is broken.", valXsr.isValid());
-    }
-
-    public void testValidateContent2() throws XMLStreamException
-    {
-        String doc = "<doc xmlns='" + URI_NUMERALS + "'><int>5</int><float>7.654321</float></doc>";
-
-        XMLStreamReader xsr = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(doc));
-        xsr.nextTag();
-
-        Collection errors = new ArrayList();
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(xsr, false, DocDocument.Doc.type,
-            XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-            null, errors);
-
-        int depth = 0;
-
-loop:   while(valXsr.hasNext())
-        {
-            int evType = valXsr.next();
-
-            switch (evType)
-            {
-            case XMLEvent.END_ELEMENT:
-                depth++;
-                if (depth>=2)
-                {
-                    break loop;
-                }
-            }
-        }
-
-        for (Iterator i = errors.iterator(); i.hasNext(); )
-        {
-            XmlError err = (XmlError)i.next();
-
-            String sev = (err.getSeverity()==XmlError.SEVERITY_WARNING ? "WARNING" :
-                (err.getSeverity()==XmlError.SEVERITY_INFO ? "INFO" : "ERROR"));
-
-            System.out.println(sev + " " + err.getLine() + ":" + err.getColumn() + " " + err.getMessage() + " ");
-        }
-
-        Assert.assertTrue("Content2 validation is broken.", valXsr.isValid());
-    }
-}
diff --git a/v2/test/src/ValidatingXSRTests/common/TestPrefixResolver.java b/v2/test/src/ValidatingXSRTests/common/TestPrefixResolver.java
deleted file mode 100755
index 6f8b900..0000000
--- a/v2/test/src/ValidatingXSRTests/common/TestPrefixResolver.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*   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.
- */
-
-package ValidatingXSRTests.common;
-
-public class TestPrefixResolver
-            implements org.apache.xmlbeans.impl.common.PrefixResolver
-{
-    public TestPrefixResolver(String prefix, String namespaceUri)
-    {
-        _prefix = prefix;
-        _namespace = namespaceUri;
-    }
-
-    private String _prefix;
-    private String _namespace;
-
-    public String getNamespaceForPrefix(String prefix)
-    {
-        return _namespace;
-    }
-}
diff --git a/v2/test/src/ValidatingXSRTests/detailed/ValidatingXmlStreamReaderTests.java b/v2/test/src/ValidatingXSRTests/detailed/ValidatingXmlStreamReaderTests.java
deleted file mode 100755
index 9cad7ef..0000000
--- a/v2/test/src/ValidatingXSRTests/detailed/ValidatingXmlStreamReaderTests.java
+++ /dev/null
@@ -1,523 +0,0 @@
-
-/*   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.
- */
-package ValidatingXSRTests.detailed;
-
-import org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader;
-import org.apache.xmlbeans.*;
-import junit.framework.Assert;
-import junit.framework.TestCase;
-import tools.util.JarUtil;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.util.StreamReaderDelegate;
-import javax.xml.stream.events.XMLEvent;
-import java.io.*;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-
-// Schema Imports
-import org.openuri.test.numerals.*;
-import org.openuri.test.location.*;
-import org.openuri.test.person.*;
-import org.openuri.test.mixedContent.LetterDocument;
-import org.openuri.test.mixedContent.NoMixedDocument;
-
-
-
-public class ValidatingXmlStreamReaderTests
-        extends TestCase
-{
-
-    public ValidatingXmlStreamReaderTests(String name)
-    {
-        super(name);
-    }
-
-    // Base variable
-    static String casesLoc = "xbean/ValidatingStream/";
-
-    //////////////////////////////////////////////////////////////////////
-    // Tests
-
-    // NOTE: Tests that use getCasesFile are reading files
-    //       from cases/qatest/files/xbean
-    //       Tests that use getResourceFromJar are getting the contents of
-    //       the file in the same location, but packaged into xmlcases.jar
-    //       SO, any change to the xml files for these tests will not be
-    //       reflected till they make it into xmlcases.jar. (ant build.xmlcases)
-
-    public void testDocWithNoSchema()
-        throws Exception
-    {
-        checkDocIsInvalid(getCasesFile(casesLoc + "po.xml"),
-                        null);
-    }
-
-    public void testValidLocationDoc()
-        throws Exception
-    {
-        checkDocIsValid(getCasesFile(casesLoc + "location.xml"),
-                        null);
-    }
-
-     public void testInvalidLocationDoc()
-        throws Exception
-    {
-        checkDocIsInvalid(getCasesFile(casesLoc + "location-inv.xml"),
-                          LocationDocument.type);
-    }
-
-    public void testValidPersonDoc()
-        throws Exception
-    {
-        checkDocIsValid(getCasesFile(casesLoc + "person.xml"),
-                        PersonDocument.type);
-    }
-
-    public void testInvalidPersonDoc()
-        throws Exception
-    {
-        checkDocIsInvalid(getCasesFile(casesLoc + "person-inv.xml"),
-                        PersonDocument.type);
-    }
-
-
-    public void testValidMixedContentDoc()
-        throws Exception
-    {
-        checkDocIsValid(getCasesFile(casesLoc + "mixed-content.xml"),
-                        LetterDocument.type);
-    }
-
-    public void testInvalidNomixedContentDoc()
-        throws Exception
-    {
-        checkDocIsInvalid(getCasesFile(casesLoc + "nomixed-content-inv.xml"),
-                        NoMixedDocument.type);
-    }
-
-
-    public void testContentName()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-frag.xml");
-        SchemaType type = Name.type;
-
-        assertTrue("Xml-fragment is not valid:\n" + sXml,
-                   checkContent(sXml, type, true));
-    }
-
-
-    // Same as testContentName.. expect the xml has no chars before the first
-    // start element
-    public void testContentName2()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-frag2.xml");
-        SchemaType type = Name.type;
-
-        assertTrue("Xml-fragment is not valid:\n" + sXml,
-                   checkContent(sXml, type, true));
-    }
-
-    public void testContentSibling()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-sibling.xml");
-        SchemaType type = PersonType.type;
-        assertTrue("Xml-fragment is not valid:\n" + sXml,
-                   checkContent(sXml, type, true));
-    }
-
-    public void testInvalidContentSibling()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-sibling-inv.xml");
-        SchemaType type = PersonType.type;
-        assertTrue("Invalid Xml-fragment is getting validated:\n" + sXml,
-                   !checkContent(sXml, type, true));
-    }
-
-    public void testValidXsiType()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-justname.xml");
-        SchemaType type = Name.type;
-        assertTrue("Xml-fragment is not valid:\n" + sXml,
-                   checkContent(sXml, type, true));
-    }
-
-    public void testInvalidXsiType()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-justname-inv.xml");
-        SchemaType type = Name.type;
-        assertTrue("Invalid Xml-fragment is getting validated:\n" + sXml,
-                   !checkContent(sXml, type, true));
-    }
-
-    public void testIncompatibleXsiType()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "person-xsi-inv.xml");
-        SchemaType type = Name.type;
-        assertTrue("Invalid Xml-fragment is getting validated:\n" + sXml,
-                   !checkContent(sXml, type, true));
-    }
-
-    public void testValidMixedContent()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "mixed-content.xml");
-        SchemaType type = org.openuri.test.mixedContent.LetterType.type;
-        assertTrue("Xml-fragment is not valid:\n" + sXml,
-                   checkContent(sXml, type, true));
-    }
-    /*
-    public void testGlobalAttribute()
-        throws Exception
-    {
-        String sXml = JarUtil.getResourceFromJar("xmlcases.jar",
-                                                 casesLoc + "global-attr.xml");
-
-        assertTrue("Global Attribute test failed:\n",
-                   checkContent(sXml, null, true));
-
-    }
-    */
-    // Tests for increasing code-coverage metrics
-    public void testValXsrReuse()
-        throws Exception
-    {
-        Collection errors = new ArrayList();
-        File[] xmls = new File[2];
-        xmls[0] = getCasesFile(casesLoc + "person.xml");
-        xmls[1] = getCasesFile(casesLoc + "person-inv.xml");
-        SchemaType type = PersonDocument.type;
-
-        boolean[] ret = runValidator(xmls, type, errors);
-
-        String common = "Test for ValidatingXmlStreamReader reuse failed";
-        assertTrue(common + "\nReturn value has more than 2 elements",
-                   ret.length == 2);
-        assertTrue(common + "\nExpected: true & false. Actual: "
-                                                + ret[0] + " & " + ret[1],
-                   ret[0] && !ret[1]);
-    }
-
-
-    public void testIllegalEvent()
-        throws Exception
-    {
-        // Will require writing another XSR wrapper.. albeit simple
-    }
-
-    /*/
-    public void testWalk()
-        throws Exception
-    {
-        walkXml(getCasesFile(casesLoc + "global-attr.xml"));
-        System.out.println();
-        walkXml(getCasesFile(casesLoc + "person-sibling.xml"));
-    }
-    // */
-    //////////////////////////////////////////////////////////////////////
-    // Utility Methods
-    private void walkXml(File xml)
-        throws Exception
-    {
-        XMLStreamReader xr = XMLInputFactory.newInstance().
-                              createXMLStreamReader(new FileInputStream(xml));
-
-        //xsr.nextTag();
-        XmlContentTestXSR xsr = new XmlContentTestXSR(xr);
-
-        while(xsr.hasNext())
-        {
-            int type = xsr.next();
-            System.out.print(type);
-            //*
-            if (type == XMLEvent.START_ELEMENT)
-            {
-                System.out.print("\n" + xsr.getLocalName() + " ");
-            }
-            if (type == XMLEvent.END_ELEMENT)
-            {
-                System.out.println("/" + xsr.getLocalName());
-            }
-            if (type == XMLEvent.CHARACTERS)
-            {
-                char[] arr = xsr.getTextCharacters();
-                String str = new String(arr);
-                System.out.print("Char:" + str + " ");
-            }
-            //*/
-        }
-    }
-
-    private boolean runValidator(File xml,
-                                 SchemaType type,
-                                 Collection errors)
-            throws IllegalArgumentException, Exception
-    {
-        if (errors == null)
-            throw new IllegalArgumentException(
-                    "Collection object cannot be null");
-
-        XMLStreamReader xsr = XMLInputFactory.newInstance().
-                              createXMLStreamReader(new FileInputStream(xml));
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(xsr,
-                    false,
-                    type,
-                    XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-                    null,
-                    errors);
-
-        // Walk through the xml
-        while (valXsr.hasNext())
-            valXsr.next();
-
-        return valXsr.isValid();
-        //return true;
-    }
-
-    // This method is primarily for testing re-use of the ValXSR object.
-    // but could come in handy later..
-    private boolean[] runValidator(File[] xml,
-                                 SchemaType type,
-                                 Collection errors)
-            throws IllegalArgumentException, Exception
-    {
-        if (errors == null)
-            throw new IllegalArgumentException(
-                    "Collection object cannot be null");
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        boolean[] retArray = new boolean[xml.length];
-
-        for (int i = 0; i < xml.length; i++)
-        {
-            XMLStreamReader xsr = XMLInputFactory.newInstance().
-                                  createXMLStreamReader(new FileInputStream(xml[i]));
-
-            valXsr.init(xsr,
-                        false,
-                        type,
-                        XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-                        null,
-                        errors);
-
-            // Walk through the xml
-            while (valXsr.hasNext())
-                valXsr.next();
-
-            retArray[i] = valXsr.isValid();
-        }
-
-        return retArray;
-    }
-
-    protected void checkDocIsValid(File file, SchemaType type)
-            throws Exception
-    {
-        Collection errors = new ArrayList();
-        boolean isValid = runValidator(file, type, errors);
-
-        tools.xml.Utils.printXMLErrors(errors);
-        Assert.assertTrue("File '" + file.getName() + "' is invalid.", isValid);
-    }
-
-
-    protected void checkDocIsInvalid(File file, SchemaType type)
-            throws Exception
-    {
-        Collection errors = new ArrayList();
-
-        boolean isValid = runValidator(file, type, errors);
-        Assert.assertTrue("File '" + file.getName() + "' is valid, but was expecting invalid.",
-                          !isValid);
-    }
-
-
-    public boolean checkContent(String fragment,
-                                 SchemaType type,
-                                 boolean printErrors)
-            throws Exception
-    {
-        XMLStreamReader xsr = XMLInputFactory.newInstance().
-                              createXMLStreamReader(new StringReader(fragment));
-
-        XmlContentTestXSR cxsr = new XmlContentTestXSR(xsr);
-        Collection errors = new ArrayList();
-
-        ValidatingXMLStreamReader valXsr = new ValidatingXMLStreamReader();
-        valXsr.init(cxsr,
-                    false,
-                    type,
-                    XmlBeans.typeLoaderForClassLoader(ValidatingXMLStreamReader.class.getClassLoader()),
-                    null,
-                    errors);
-
-        // Walk through the xml
-        while (valXsr.hasNext())
-            valXsr.next();
-
-        if (!valXsr.isValid())
-        {
-            if (printErrors)
-                tools.xml.Utils.printXMLErrors(errors);
-            return false;
-        }
-        return true;
-    }
-
-
-    private static File getCasesFile(String path)
-        throws java.io.IOException
-    {
-        return JarUtil.getResourceFromJarasFile("xmlcases.jar", path);
-        //return new File(casesRoot + path);
-    }
-
-    /////////////////////////////////////////////////////////////////////////
-    // XmlStreamReader extension for content Validation
-    //     will not work for Global Attribute
-    public class XmlContentTestXSR
-            extends StreamReaderDelegate
-            implements XMLStreamReader
-    {
-        private static final int TAGOPEN    = 100;
-        private static final int TAGCLOSE   = 101;
-        private static final int UNDEFINED  =  99;
-        private static final int ATTRIBUTE  = 102;
-        private static final int ENDCONTENT = 103;
-
-        int state = -1;
-        int depth = -1;
-        boolean initialized = false;
-        int attributeCount = -1;
-        boolean hasAttributes = false;
-
-        // Constructor Wrappers
-        public XmlContentTestXSR(XMLStreamReader xsr)
-            throws XMLStreamException
-        {
-            super(xsr);
-        }
-
-
-        public boolean hasNext()
-        {
-            if (state == UNDEFINED || state == ENDCONTENT)
-                return false;
-
-            if (!initialized)       // next() has not been called yet
-                return true;
-
-
-
-            return true;
-        }
-
-        public int next()
-            throws XMLStreamException
-        {
-            int _next;
-            if (!initialized)
-            {
-                // First time next() is called..
-                // Scan for the first XMLEvent.START_ELEMENT
-                _next = UNDEFINED;
-                while ((super.hasNext()) && (_next != XMLEvent.START_ELEMENT))
-                     _next = super.next();
-
-                if (_next != XMLEvent.START_ELEMENT)
-                    throw new XMLStreamException(
-                                       "Could not find a start element");
-                initialized = true;
-
-                // Now move past the first tag
-                state = TAGOPEN;
-                depth = 1;
-
-                if ((attributeCount = super.getAttributeCount()) > 0)
-                {
-                    // The first element has attributes.. this is part of
-                    // the content. So the first event should XMLEvent.ATTRIBUTE
-                    _next = XMLEvent.ATTRIBUTE;
-                }
-                else
-                {
-                    // return super.next();
-                    /*
-                    If content is <xml-fragment/> then we will have returned
-                    END_ELEMENT above, without ever generating a START_ELEMENT
-                    In this case probably we should detect this and return a
-                    END_DOCUMENT
-                    */
-                    _next = super.next();
-                    if (_next == XMLEvent.END_ELEMENT)
-                    {
-                        _next = XMLEvent.END_DOCUMENT;
-                        state = ENDCONTENT;
-                    }
-                }
-                return _next;
-            }
-
-            _next = super.next();
-            switch (_next)
-            {
-                case XMLEvent.START_ELEMENT:
-                    state = TAGOPEN;
-                    depth++;
-                    break;
-
-                case XMLEvent.END_ELEMENT:
-                    --depth;
-                    if (depth < 0 && state == TAGOPEN)
-                    {
-                        throw new XMLStreamException(
-                                "Illegal XML Stream state");
-                    }
-                    else if (depth == 0 && state == TAGOPEN)
-                    {
-                        state = ENDCONTENT;
-                        // at this point we will return ENDDOCUMENT
-                        _next = XMLEvent.END_DOCUMENT;
-                    }
-                    break;
-            }
-
-            return _next;
-        }
-
-    }
-
-
-}
diff --git a/v2/test/src/ValidatingXSRTests/detailed/ValidatorUtilTests.java b/v2/test/src/ValidatingXSRTests/detailed/ValidatorUtilTests.java
deleted file mode 100755
index 4e7ad93..0000000
--- a/v2/test/src/ValidatingXSRTests/detailed/ValidatorUtilTests.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*   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.
- */
-
-package ValidatingXSRTests.detailed;
-
-import junit.framework.TestCase;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.events.XMLEvent;
-import java.util.Collection;
-import java.util.ArrayList;
-
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.validator.ValidatorUtil;
-import tools.xml.Utils;
-import ValidatingXSRTests.common.TestPrefixResolver;
-
-public class ValidatorUtilTests
-        extends TestCase
-{
-    public ValidatorUtilTests(String name)
-    {
-        super(name);
-    }
-
-    // Base variable
-    static String casesLoc = "xbean/ValidatingStream/";
-
-
-    public void testValidQName()
-        throws Exception
-    {
-        String xml = "foo:foo";
-
-        TestPrefixResolver pRes = new TestPrefixResolver("foo", "http://openuri.org/test/My");
-        SchemaType type = org.openuri.test.simType.QNameType.type;
-
-        Collection errors = new ArrayList();
-        boolean success = ValidatorUtil.validateSimpleType(type, xml, errors, pRes);
-        if (!success)
-        {
-            Utils.printXMLErrors(errors);
-            fail("testValidQName failed");
-        }
-    }
-
-
-    public void testInvalidQName()
-        throws Exception
-    {
-        String xml = "foo:bz";
-        TestPrefixResolver pRes = new TestPrefixResolver("foo", "http://openuri.org/test/My");
-        SchemaType type = org.openuri.test.simType.QNameType.type;
-
-        Collection errors = new ArrayList();
-        boolean success = ValidatorUtil.validateSimpleType(type, xml, errors, pRes);
-        System.out.println("Expected Errors:");
-        tools.xml.Utils.printXMLErrors(errors);
-        if (success)
-            fail("testInvalidQName failed: Invalid QName was validated");
-    }
-
-    // TODO: add more simpleType tests... maybe create a generic test method
-
-}
diff --git a/v2/test/src/compile/scomp/detailed/CompilationTests.java b/v2/test/src/compile/scomp/detailed/CompilationTests.java
deleted file mode 100755
index 36f2d17..0000000
--- a/v2/test/src/compile/scomp/detailed/CompilationTests.java
+++ /dev/null
@@ -1,321 +0,0 @@
-/*   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.
- */
-
-package compile.scomp.detailed;
-
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.impl.tool.SchemaCompiler;
-import org.apache.xmlbeans.impl.tool.CodeGenUtil;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Arrays;
-
-import tools.util.TestRunUtil;
-
-
-public class CompilationTests extends TestCase
-{
-    public CompilationTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(CompilationTests.class); }
-
-
-    public void testJ2EE() throws Throwable
-    {
-        deltree(xbeanOutput("compile/scomp/j2ee"));
-        // First, compile schema
-        File srcdir = xbeanOutput("compile/scomp/j2ee/j2eeconfigxml/src");
-        File classesdir = xbeanOutput("compile/scomp/j2ee/j2eeconfigxml/classes");
-        File outputjar = xbeanOutput("compile/scomp/j2ee/j2eeconfigxml.jar");
-        SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-        params.setXsdFiles(new File[] {
-            xbeanCase("j2ee/application-client_1_4.xsd"),
-            xbeanCase("j2ee/application_1_4.xsd"),
-            xbeanCase("j2ee/connector_1_5.xsd"),
-            xbeanCase("j2ee/ejb-jar_2_1.xsd"),
-            xbeanCase("j2ee/j2ee_1_4.xsd"),
-            xbeanCase("j2ee/jsp_2_0.xsd"),
-            xbeanCase("j2ee/web-app_2_4.xsd"),
-            xbeanCase("j2ee/XML.xsd")
-        });
-        params.setSrcDir(srcdir);
-        params.setClassesDir(classesdir);
-        params.setOutputJar(outputjar);
-        Assert.assertTrue("Build failed", SchemaCompiler.compile(params));
-        Assert.assertTrue("Cannout find " + outputjar, outputjar.exists());
-    }
-
-
-   
-
-    public void __testSimple() throws Throwable
-    {
-        deltree(xbeanOutput("compile/scomp/simple"));
-        // First, compile schema
-
-        // First, compile schema
-        File inputfile1 = xbeanCase("simple/person.xsd");
-        File inputfile2 = xbeanCase("simple/simplec.xsd");
-
-         File srcdir = xbeanOutput("simple/simpletypes/src");
-
-
-        File classesdir = xbeanOutput("compile/scomp/simple/simpletypes/classes");
-        File outputjar = xbeanOutput("compile/scomp/simple/simpletypes.jar");
-        SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-        params.setXsdFiles(new File[] { inputfile1, inputfile2 });
-        params.setSrcDir(srcdir);
-        params.setClassesDir(classesdir);
-        params.setOutputJar(outputjar);
-        Assert.assertTrue("Build failed", SchemaCompiler.compile(params));
-
-        // Then, compile java classes
-        File javasrc = xbeanCase("simple/javasrc");
-        File javaclasses = xbeanOutput("compile/scomp/simple/javaclasses");
-        javaclasses.mkdirs();
-        List testcp = new ArrayList();
-        testcp.addAll(Arrays.asList(CodeGenUtil.systemClasspath()));
-        testcp.add(outputjar);
-        CodeGenUtil.externalCompile(Arrays.asList(new File[] { javasrc }), javaclasses, (File[])testcp.toArray(new File[testcp.size()]), true);
-
-        // Then run the test
-        testcp.add(javaclasses);
-        TestRunUtil.run("SimplePersonTest", new File[] { outputjar, javaclasses });
-    }
-
-    public void __testDownload() throws Throwable
-    {
-        deltree(xbeanOutput("compile/scomp/include"));
-
-        {
-            // First, compile schema without download and verify failure
-            File srcdir = xbeanOutput("compile/scomp/include/shouldfail/src");
-            File classesdir = xbeanOutput("compile/scomp/include/shouldfail/classes");
-            File outputjar = xbeanOutput("compile/scomp/include/shouldfail.jar");
-            SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-            params.setXsdFiles(new File[] {
-                 xbeanCase ("compile/scomp/j2ee/j2ee_1_4.xsd")
-            });
-            params.setSrcDir(srcdir);
-            params.setClassesDir(classesdir);
-            params.setOutputJar(outputjar);
-            Assert.assertTrue("Build should have failed", !SchemaCompiler.compile(params));
-            Assert.assertTrue("Should not have created " + outputjar, !outputjar.exists());
-        }
-
-        {
-            // now turn on download and verify success
-            File srcdir = xbeanOutput("compile/scomp/include/shouldsucceed/src");
-            File classesdir = xbeanOutput("compile/scomp/include/shouldsucceed/classes");
-            File outputjar = xbeanOutput("compile/scomp/include/shouldsucceed.jar");
-            SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-            params.setDownload(true);
-            params.setXsdFiles(new File[] {
-                xbeanCase("compile/scomp/j2ee/j2ee_1_4.xsd")
-            });
-            params.setSrcDir(srcdir);
-            params.setClassesDir(classesdir);
-            params.setOutputJar(outputjar);
-            Assert.assertTrue("Build failed", SchemaCompiler.compile(params));
-            Assert.assertTrue("Cannout find " + outputjar, outputjar.exists());
-        }
-    }
-
-    public void __testPricequote() throws Throwable
-    {
-        deltree(xbeanOutput("compile/scomp/pricequote"));
-        // First, compile schema
-        File srcdir = xbeanOutput("compile/scomp/pricequote/src");
-        File classesdir = xbeanOutput("compile/scomp/pricequote/classes");
-        File outputjar = xbeanOutput("compile/scomp/pricequote/pricequote.jar");
-        SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-        params.setXsdFiles(new File[] {
-            xbeanCase("compile/scomp/pricequote/PriceQuote.xsd") });
-        params.setSrcDir(srcdir);
-        params.setClassesDir(classesdir);
-        params.setOutputJar(outputjar);
-        Assert.assertTrue("Build failed "+fwroot, SchemaCompiler.compile(params));
-        Assert.assertTrue("Cannout find " + outputjar, outputjar.exists());
-    }
-
-    static String [] invalidSchemas = {
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-        "  <xs:complexType name='base' final='extension'/>\n" +
-        "  <xs:complexType name='ext'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:extension base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-        "  <xs:complexType name='base' final='#all'/>\n" +
-        "  <xs:complexType name='ext'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:extension base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' finalDefault='#all'>\n" +
-        "  <xs:complexType name='base'/>\n" +
-        "  <xs:complexType name='rest'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:restriction base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' finalDefault='restriction'>\n" +
-        "  <xs:complexType name='base'/>\n" +
-        "  <xs:complexType name='rest'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:restriction base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-    };
-
-    static String [] validSchemas = {
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-        "  <xs:complexType name='base' final='extension'/>\n" +
-        "  <xs:complexType name='rest'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:restriction base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-        "  <xs:complexType name='base' final='restriction'/>\n" +
-        "  <xs:complexType name='ext'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:extension base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' finalDefault='restriction'>\n" +
-        "  <xs:complexType name='base'/>\n" +
-        "  <xs:complexType name='ext'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:extension base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-
-        "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' finalDefault='extension'>\n" +
-        "  <xs:complexType name='base'/>\n" +
-        "  <xs:complexType name='rest'>\n" +
-        "    <xs:complexContent>\n" +
-        "      <xs:restriction base='base'/>\n" +
-        "    </xs:complexContent>\n" +
-        "  </xs:complexType>\n" +
-        "</xs:schema>\n",
-    };
-
-    public void __testFinal() throws Throwable
-    {
-        SchemaDocument[] schemas = new SchemaDocument[invalidSchemas.length];
-
-        // Parse the invalid schema files
-        for (int i = 0 ; i < invalidSchemas.length ; i++)
-            schemas[i] = SchemaDocument.Factory.parse(invalidSchemas[i]);
-
-        // Now compile the invalid schemas, test that they fail
-        for (int i = 0 ; i < schemas.length ; i++)
-        {
-            try {
-                XmlBeans.loadXsd(new XmlObject[] {schemas[i]});
-                fail("Schema should have failed to compile:\n" + invalidSchemas[i]);
-            }
-            catch (XmlException success) {}
-        }
-
-        // Parse the valid schema files
-        schemas = new SchemaDocument[validSchemas.length];
-        for (int i = 0 ; i < validSchemas.length ; i++)
-            schemas[i] = SchemaDocument.Factory.parse(validSchemas[i]);
-
-        // Compile the valid schemas. They should not fail
-        for (int i = 0 ; i < schemas.length ; i++)
-        {
-            try {
-                XmlBeans.loadXsd(new XmlObject[]{schemas[i]});
-            }
-            catch (XmlException fail) {
-                fail("Failed to compile schema:\n" + validSchemas[i]);
-            }
-        }
-    }
-
-    //TESTENV:
-
-     private static File fwroot = getRootFile();
-    private static File caseroot = new File(fwroot, "test/cases");
-
-    //location of files under "cases folder"
-    static String  fileLocation="/xbean/compile/scomp/";
-    private static File outputroot = new File(fwroot, "build/test/output");
-
-    public static File getRootFile() throws IllegalStateException
-    {
-        try
-        {
-            return new File( System.getProperty( "xbean.rootdir" ) ).getCanonicalFile();
-        }
-        catch( IOException e )
-        {
-            throw new IllegalStateException(e.toString());
-        }
-    }
-
-    public static File xbeanCase(String str)
-    {
-        return (new File(caseroot.getPath()+fileLocation, str));
-    }
-
-    public static File xbeanOutput(String str)
-    {
-        File result = (new File(outputroot, str));
-        File parentdir = result.getParentFile();
-        parentdir.mkdirs();
-        return result;
-    }
-
-    public static void deltree(File dir)
-    {
-        if (dir.exists())
-        {
-            if (dir.isDirectory())
-            {
-                String[] list = dir.list();
-                for (int i = 0; i < list.length; i++)
-                    deltree(new File(dir, list[i]));
-            }
-            if (!dir.delete())
-                throw new IllegalStateException("Could not delete " + dir);
-        }
-    }
-}
diff --git a/v2/test/src/dom/checkin/AttributeSyncTest.java b/v2/test/src/dom/checkin/AttributeSyncTest.java
deleted file mode 100755
index 4704c0c..0000000
--- a/v2/test/src/dom/checkin/AttributeSyncTest.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- * 
- */
-
-public class AttributeSyncTest extends AttributeTest {
-    public AttributeSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(AttributeSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
\ No newline at end of file
diff --git a/v2/test/src/dom/checkin/AttributeTest.java b/v2/test/src/dom/checkin/AttributeTest.java
deleted file mode 100755
index c8f7966..0000000
--- a/v2/test/src/dom/checkin/AttributeTest.java
+++ /dev/null
@@ -1,384 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import dom.common.DomUtils;
-import dom.common.NodeWithChildrenTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.*;
-
-
-/**
- *
- *
- */
-
-public class AttributeTest extends NodeWithChildrenTest {
-
-    public AttributeTest(String s) {
-        super(s);
-        String sDTD = "<?xml version=\"1.0\"?>" +
-                "<!DOCTYPE foodoc [" +
-                "<!ELEMENT foo>" +
-                "<!ATTLIST foo at_spec CDATA \"0\">" +
-                "]>";
-
-        sXml = "<foo xmlns:extra=\"bea.org\" xmlns:myns=\"uri:foo\" at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" at3=\"val3\" at4=\"val4\">some text</foo>";
-        if (bDTD)
-            sXml = sDTD + sXml;
-        sXmlNS = "<foo xmlns:myns=\"uri:foo\" at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" at3=\"val3\" at4=\"val4\"/>";
-    }
-
-    public static Test suite() {
-        return new TestSuite(AttributeTest.class);
-    }
-
-
-    public void testNodeName() {
-
-        String sExpected = "myns:at0";
-        assertEquals(sExpected, m_node.getNodeName());
-    }
-
-    public void testGetName() {
-
-        String sExpected = "myns:at0";
-        assertEquals(sExpected, ((Attr) m_node).getName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.ATTRIBUTE_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals("val01", m_node.getNodeValue());
-    }
-
-
-    //following are null here
-
-    public void testNextSibling() {
-        assertEquals(null, m_node.getNextSibling());
-    }
-
-    public void testPreviousSibling() {
-        assertEquals(null, m_node.getPreviousSibling());
-    }
-
-    public void testParent() {
-        assertEquals(null, m_node.getParentNode());
-    }
-
-
-    public void testPrefix() {
-        assertEquals("myns", m_node.getPrefix());
-    }
-
-    public void testNamespaceUri() {
-        assertEquals("uri:foo", m_node.getNamespaceURI());
-    }
-
-    public void testLocalName() {
-        assertEquals("at0", m_node.getLocalName());
-    }
-
-
-    public void testAppendChild() {
-        //elt
-        Node newChild = m_doc.createElement("foo");
-        try {
-            m_node.appendChild(newChild);
-            fail("Cannot append an element children to attributes " + m_node.getChildNodes().getLength());
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-
-        newChild = m_doc.createTextNode("foobar");
-        m_node.appendChild(newChild);
-        assertEquals(2, m_node.getChildNodes().getLength());
-
-//TODO
-          m_node.normalize();
-          assertEquals(1,m_node.getChildNodes().getLength());
-          assertEquals("val01foobar",((Text)m_node.getFirstChild()).getData());
-
-    }
-
-    public void testCloneNode() {
-        Attr cloned,
-                cloned1;
-        cloned = (Attr) m_node.cloneNode(true);
-
-
-        assertEquals(true, DomUtils.compareNodesDeep(m_node, cloned));
-        assertEquals(false, m_node == cloned);
-
-
-//TODO
-            cloned1 = (Attr) m_node.cloneNode(false);
-       //    assertEquals(m_node.getChildNodes(), );
-            assertEquals(true, DomUtils.compareNodesShallow(m_node, cloned));
-
-        if (bDTD) {
-            assertEquals(false, cloned.getSpecified());
-            assertEquals(false, ((Attr) m_node).getSpecified());
-            m_node = m_doc.getAttributes().getNamedItem("at_spec");
-            cloned = (Attr) m_node.cloneNode(true);
-            cloned1 = (Attr) m_node.cloneNode(false);
-            assertEquals(cloned, cloned1);
-            assertEquals(true, m_node.equals(cloned));
-            assertEquals(false, m_node == cloned);
-            assertEquals(true, cloned.getSpecified());
-            assertEquals(false, ((Attr) m_node).getSpecified());
-        }
-    }
-     /**     public void testXercesClone()throws Exception{
-	org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sXml)));
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-
-        Node test = m_doc.getFirstChild();
-         assertTrue(test.hasChildNodes());
-        test = ((Element) test).getAttributeNodeNS("uri:foo", "at0");
-	Node clone=test.cloneNode(false);
-        assertTrue(clone.hasChildNodes());
-
-    }        */
-
-    public void testGetChildNodes() {
-        assertEquals(1, m_node.getChildNodes().getLength());
-    }
-
-    public void testFirstChild() {
-        assertEquals("val01", ((Text) m_node.getFirstChild()).getData());
-    }
-
-    public void testLastChild() {
-        assertEquals("val01", ((Text) m_node.getLastChild()).getData());
-    }
-
-    public void testInsertBefore() {
-        Node newChild = m_doc.createElement("foo");
-        assertEquals(1, m_node.getChildNodes().getLength());
-
-        Node textNode = m_node.getFirstChild();
-
-        try {
-            m_node.insertBefore(newChild, textNode);
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-
-        newChild = m_doc.createTextNode("foo");
-        m_node.insertBefore(newChild, textNode);
-        assertEquals("foo", m_node.getFirstChild().getNodeValue());
-        assertEquals("val01", m_node.getLastChild().getNodeValue());
-    }
-
-
-    public void testRemoveChild() {
-        //attr w/o a value
-        Element owner = (Element) ((Attr) m_node).getOwnerElement();
-        m_node.removeChild(m_node.getFirstChild());
-        assertEquals("", ((Attr) m_node).getValue());
-        //  assertEquals(false,owner.hasAttributeNS("uri:foo","at0"));
-    }
-
-    public void testReplaceChild() {
-
-        //assertFalse(m_node.hasChildNodes());
-        Node newChild = m_doc.createElement("foo");
-        assertEquals(1, m_node.getChildNodes().getLength());
-        try {
-            m_node.replaceChild(newChild, m_node.getFirstChild());
-            fail("can not put an element under an attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-        newChild = m_doc.createTextNode("realnewval");
-        assertEquals(1, m_node.getChildNodes().getLength());
-        m_node.replaceChild(newChild, m_node.getFirstChild());
-        if (!"realnewval".equals(((Attr) m_node).getValue()))
-            fail(" Expected realnewval but got " + ((Attr) m_node).getValue());
-
-    }
-
-
-    public void testGetOwnerElement() {
-        assertEquals("foo", ((Attr) m_node).getOwnerElement().getLocalName());
-        Node newNode = m_doc.createAttributeNS("foo1:org", "name");
-        assertEquals(null, ((Attr) newNode).getOwnerElement());
-        newNode = m_doc.createAttribute("name");
-        assertEquals(null, ((Attr) newNode).getOwnerElement());
-    }
-
-    /*Not implem
-    //TODO
-    public void testGetSpecified(){
-	if (bDTD){
-	    Attr at_true=(Attr)m_doc.getAttributes().getNamedItem("at_spec");
-	    assertEquals(false,at_true.getSpecified());
-	}
-	assertEquals(true,((Attr)m_node).getSpecified());
-    }
-    */
-    public void testSetValue() {
-        String newVal = "new<spec\u042Fchar";
-        ((Attr) m_node).setValue(newVal);
-        assertEquals(newVal, ((Attr) m_node).getValue());
-    }
-
-    public void testSetValueNull() {
-        ((Attr) m_node).setValue("foo");
-        String newVal = "";
-        ((Attr) m_node).setValue(newVal);
-        assertEquals(true, ((Attr) m_node).hasChildNodes());
-
-        newVal = null;
-        ((Attr) m_node).setValue(newVal);
-        assertEquals(true, ((Attr) m_node).hasChildNodes());
-    }
-
-
-    public void testGetValue() {
-        assertEquals("val01", ((Attr) m_node).getValue());
-    }
-
-
-    public void testInsertBeforeDocFrag() {
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createTextNode("foo1"));
-        Node target = m_node.getFirstChild();
-        super.testInsertBefore(child, target);
-    }
-
-    public void testAppendChildDocFrag() {
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createTextNode("foo"));
-        super.testAppendChild(child);
-
-    }
-
-    public void testReplaceChildDocFrag() {
-
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createElement("foo"));
-        child.appendChild(m_doc.createElement("foobar"));
-        Node toReplace = m_node.getFirstChild();
-        try {
-            super.testReplaceChild(child, toReplace);
-            fail("cannot insert element in attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-
-    }
-
-    public void testInsertBeforeNullTarget() {
-        Node child = m_doc.createElementNS("org.foo.www", "foonode");
-        try {
-            super.testInsertBefore(child, null);
-            fail("cannot insert element in attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-        child = m_doc.createTextNode("foonode");
-        super.testInsertBefore(child, null);
-    }
-
-    public void testInsertExistingNode() {
-        try {
-            super.testInsertExistingNode();
-            fail("Shouldn't work for attrs");
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-
-        Node toInsert = m_doc.getFirstChild().getFirstChild(); //some text
-        super.testInsertBefore(toInsert, m_node.getFirstChild());
-        assertEquals("some text", m_node.getFirstChild().getNodeValue());
-        assertEquals(2, m_node.getChildNodes().getLength());
-    }
-
-    public void testSetNodeValue() {
-        m_node.appendChild(m_doc.createTextNode("bar"));//attr w/ two values
-        int nCount = m_node.getChildNodes().getLength();
-        m_node.setNodeValue("blah");
-        //assertEquals(1,m_node.getChildNodes().getLength());
-        assertEquals("blah", m_node.getFirstChild().getNodeValue());
-    }
-
-    public void testAppendChildExisting() {
-        Node child = m_doc.getFirstChild().getFirstChild();//some text
-        if (child == m_node)
-            child = m_doc.getLastChild();
-        //if still the same, SOL
-        super.testAppendChild(child);
-    }
-
-    public void testSetPrefix() {
-        String newPrefix = "yana"; //should clear it
-        m_node.setPrefix(newPrefix);
-        assertEquals("yana:at0", m_node.getNodeName());
-        newPrefix = "extra";
-        m_node.setPrefix(newPrefix);
-        assertEquals("uri:foo", m_node.getNamespaceURI());//URI never changes
-
-        newPrefix = null;
-        m_node.setPrefix(newPrefix);
-        assertEquals("", m_node.getPrefix());
-
-    }
-
-
-    public void testInsertBeforeInvalidRefNode() {
-        Node child = m_doc.createTextNode("foonode");
-        Node target = m_doc.createElement("foo");
-        try {
-            super.testInsertBefore(child, target);
-            fail("Insert cannot happen");
-        } catch (DOMException de) {
-            System.err.println(de.getMessage() + " " + de.code);
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-        }
-    }
-
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild();
-        m_node = ((Element) m_node).getAttributeNodeNS("uri:foo", "at0");
-        assertEquals("val01", m_node.getNodeValue());
-        assertTrue(m_node instanceof Attr);
-
-
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-
-}
-
-
-
-
-
-
diff --git a/v2/test/src/dom/checkin/CDataSectionSyncTest.java b/v2/test/src/dom/checkin/CDataSectionSyncTest.java
deleted file mode 100755
index cbba303..0000000
--- a/v2/test/src/dom/checkin/CDataSectionSyncTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class CDataSectionSyncTest extends CDataSectionTest {
-    public CDataSectionSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CDataSectionSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/CDataSectionTest.java b/v2/test/src/dom/checkin/CDataSectionTest.java
deleted file mode 100755
index bfa613e..0000000
--- a/v2/test/src/dom/checkin/CDataSectionTest.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*   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.
- */
-
-package dom.checkin;
-
-import dom.common.CharacterDataTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.CDATASection;
-import org.w3c.dom.Node;
-
-
-/**
- *
- *
- */
-
-public class CDataSectionTest extends CharacterDataTest {
-
-    public CDataSectionTest(String s) {
-        super(s);
-        sXml = "<script/>";
-        /*
-TODO:
-sXml="<script>"+
-            "<![CDATA["+
-            "function matchwo(a,b){"+
-            "return 0   }"+
-            "]]>"+
-            "<![CDATA[foobar]]>"+
-            "</script>";
-*/
-    }
-
-    public static Test suite() {
-        return new TestSuite(CDataSectionTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("#cdata-section", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.CDATA_SECTION_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals("function matchwo(a,b){\"+\n\t    \"return 0   }", m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        Node nxtSibling = m_node.getNextSibling();
-        assertEquals("foobar", nxtSibling.getNodeValue());
-
-    }
-
-    public void testPreviousSibling() {
-        Node prSibling = m_node.getPreviousSibling();
-        assertEquals(null, prSibling);
-    }
-
-    public void testParent() {
-        Node parent = m_node.getParentNode();
-        assertEquals(m_doc.getFirstChild(), parent);
-        assertEquals("script", parent.getLocalName());
-    }
-   public void testSetNodeValue() {
-           m_node.setNodeValue("new CDATA");
-           assertEquals("new CDATA", m_node.getNodeValue());
-       }
-
-    public void moveToNode() {
-        m_node = m_doc.getDocumentElement();
-        CDATASection c1 = m_doc.createCDATASection("function matchwo(a,b){\"+\n" +
-                "\t    \"return 0   }");
-        CDATASection c2 = m_doc.createCDATASection("foobar");
-        m_node.appendChild(c1);
-        m_node.appendChild(c2);
-        m_node = m_node.getFirstChild();//function
-
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-
-    }
-}
diff --git a/v2/test/src/dom/checkin/CommentSyncTest.java b/v2/test/src/dom/checkin/CommentSyncTest.java
deleted file mode 100755
index 2f0b2dc..0000000
--- a/v2/test/src/dom/checkin/CommentSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class CommentSyncTest extends CommentTest {
-    public CommentSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CommentSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/CommentTest.java b/v2/test/src/dom/checkin/CommentTest.java
deleted file mode 100755
index 4854011..0000000
--- a/v2/test/src/dom/checkin/CommentTest.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.CharacterDataTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.Node;
-import org.w3c.dom.Text;
-import xmlcursor.common.Common;
-
-
-/**
- *
- *
- */
-
-public class CommentTest extends CharacterDataTest {
-
-
-    public CommentTest(String s) {
-        super(s);
-        sXml = Common.XML_FOO_COMMENT;
-        sXmlNS = sXml;
-    }
-
-    public static Test suite() {
-        return new TestSuite(CommentTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("#comment", m_node.getNodeName());
-    }
-
-    public void testNodeValue() {
-        System.out.println("Comment testNodeValue");
-        assertEquals(" comment text ", m_node.getNodeValue());
-        System.out.println("Comment testNodeValue DONE");
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.COMMENT_NODE, m_node.getNodeType());
-    }
-
-    public void testNextSibling() {
-        Node nxtSibling = m_node.getNextSibling();
-        assertEquals("foo", nxtSibling.getLocalName());
-        assertEquals(m_doc.getChildNodes().item(1), nxtSibling);
-        assertEquals(1, nxtSibling.getChildNodes().getLength());
-        assertEquals("text", ((Text) nxtSibling.getFirstChild()).getData());
-    }
-
-    public void testPreviousSibling() {
-        Node prSibling = m_node.getPreviousSibling();
-        assertEquals(null, prSibling);
-    }
-
-    public void testParent() {
-        Node parent = m_node.getParentNode();
-        assertEquals(m_doc, parent);
-    }
-
-    public void testSetNodeValue() {
-        m_node.setNodeValue("new comment");
-        assertEquals("new comment", m_doc.getFirstChild().getNodeValue());
-    }
-
-
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild();
-
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-}
diff --git a/v2/test/src/dom/checkin/DocumentFragmentSyncTest.java b/v2/test/src/dom/checkin/DocumentFragmentSyncTest.java
deleted file mode 100755
index c68fa4e..0000000
--- a/v2/test/src/dom/checkin/DocumentFragmentSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class DocumentFragmentSyncTest extends DocumentFragmentTest {
-    public DocumentFragmentSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(DocumentFragmentSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/DocumentFragmentTest.java b/v2/test/src/dom/checkin/DocumentFragmentTest.java
deleted file mode 100755
index e02eec5..0000000
--- a/v2/test/src/dom/checkin/DocumentFragmentTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.NodeWithChildrenTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.Node;
-
-
-/**
- *
- *  */
-
-public class DocumentFragmentTest extends NodeWithChildrenTest {
-
-
-    public DocumentFragmentTest(String s) {
-        super(s);
-        sXml = "<foo at0=\"val0\" at1=\"val1\" at2=\"val2\" at3=\"val3\" at4=\"val4\"><bar bat0=\"val0\"/></foo>";
-
-        sXmlNS = "<foo xmlns:myns=\"uri:foo\" at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" at3=\"val3\" at4=\"val4\"/>";
-    }
-
-    public static Test suite() {
-        return new TestSuite(DocumentFragmentTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("#document-fragment", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.DOCUMENT_FRAGMENT_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals(null, m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        assertEquals(null, m_node.getNextSibling());
-    }
-
-    public void testPreviousSibling() {
-        assertFalse(m_node == null);
-        assertEquals(null, m_node.getPreviousSibling());
-    }
-
-    public void testParent() {
-        assertEquals(null, m_node.getParentNode());
-    }
-
-    public void testGetChildNodes() {
-        assertEquals(1, m_node.getChildNodes().getLength());
-    }
-
-    public void testFirstChild() {
-        assertEquals("foo", m_node.getFirstChild().getNodeName());
-    }
-
-
-    public void testLastChild() {
-        assertEquals("foo", m_node.getLastChild().getNodeName());
-    }
-
-
-    public void moveToNode() {
-        m_node = m_doc.createDocumentFragment();
-        m_node.appendChild(m_doc.createElement("foo"));
-
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-
-
-}
diff --git a/v2/test/src/dom/checkin/DocumentSyncTest.java b/v2/test/src/dom/checkin/DocumentSyncTest.java
deleted file mode 100755
index fcba4fe..0000000
--- a/v2/test/src/dom/checkin/DocumentSyncTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class DocumentSyncTest extends DocumentTest {
-    public DocumentSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(DocumentSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/DocumentTest.java b/v2/test/src/dom/checkin/DocumentTest.java
deleted file mode 100755
index f4a248c..0000000
--- a/v2/test/src/dom/checkin/DocumentTest.java
+++ /dev/null
@@ -1,632 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.NodeWithChildrenTest;
-import junit.framework.AssertionFailedError;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.*;
-import org.xml.sax.InputSource;
-
-import java.io.IOException;
-import java.io.StringReader;
-
-
-/**
- *
- *
- */
-
-public class DocumentTest extends NodeWithChildrenTest {
-
-
-    public DocumentTest(String s) {
-        super(s);
-        sXml = "<foo at0=\"val0\" at1=\"val1\" at2=\"val2\" at3=\"val3\" at4=\"val4\"><bar bat0=\"val0\"/></foo>";
-
-        sXmlNS = "<bar xmlns:other=\"uri:other\" xmlns:myns=\"uri:foo\">" +
-                "<foo at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" myns:at3=\"val3\" at4=\"val4\">" +
-                "txt0<foo>nestedfoo</foo><myns:yana/>" +
-                "</foo>" +
-                "<myns:foo>nstext<ZeD/></myns:foo>" +
-                "</bar>";
-    }
-
-    public static Test suite() {
-        return new TestSuite(DocumentTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("#document", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.DOCUMENT_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals(null, m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        assertEquals(null, m_node.getNextSibling());
-    }
-
-    public void testPreviousSibling() {
-        assertEquals(null, m_node.getPreviousSibling());
-    }
-
-    public void testParent() {
-        assertEquals(null, m_node.getParentNode());
-    }
-
-    public void testOwnerDocument() {
-        assertEquals(null, m_node.getOwnerDocument());//API spec
-    }
-
-    public void testChildNodes() {
-        assertEquals(1, m_node.getChildNodes().getLength());
-    }
-
-    public void testFirstChild() {
-        assertEquals("foo", m_node.getFirstChild().getLocalName());
-    }
-
-    public void testLastChild() {
-        assertEquals("foo", m_node.getLastChild().getLocalName());
-    }
-
-
-    public void testAppendChild() {
-        try {
-            super.testAppendChild();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-
-    }
-
-    public void testInsertBefore() {
-        try {
-            super.testInsertBefore();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testInsertBeforeNullTarget() {
-        try {
-            super.testInsertBeforeNullTarget();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testInsertExistingNode() {
-        try {
-            super.testInsertExistingNode();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testInsertBeforeInvalidRefNode() {
-        try {
-            super.testInsertBeforeInvalidRefNode();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        } catch (AssertionFailedError af) {
-            assertEquals(((DOMException) af.getCause()).code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-    }
-
-    public void testAppendChildIllegal0() {
-        try {
-            super.testAppendChildIllegal0();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        } catch (AssertionFailedError af) {
-            assertEquals(((DOMException) af.getCause()).code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-    }
-
-    public void testAppendChildIllegal1() {
-        try {
-            super.testAppendChildIllegal1();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        } catch (AssertionFailedError af) {
-            assertEquals(((DOMException) af.getCause()).code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-    }
-
-    public void testGetChildNodes() {
-        assertEquals(1, m_node.getChildNodes().getLength());
-    }
-
-    public void testSetPrefix() {
-        super.testSetPrefix(); //see charData--is the exception correct
-    }
-
-    public void testAppendChildExisting() {
-        try {
-            super.testAppendChildExisting();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testNormalize() {
-        //unque doc child--normalize in elt. or text or comment, etc
-    }
-
-    public void testInsertBeforeDocFrag() {
-        try {
-            super.testInsertBeforeDocFrag();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testAppendChildDocFrag() {
-        try {
-            super.testAppendChildDocFrag();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-      public void testReplaceChildFront() {
-        Node node = m_doc.getDocumentElement();
-        assertEquals(node,m_node.getFirstChild());
-        Node newNode = m_doc.createElement("fooBAR");
-        super.testReplaceChild(newNode, node);
-        assertEquals(m_doc.getDocumentElement(),newNode);
-    }
-
-     public void testReplaceChildEnd() {
-        Node node = m_doc.getDocumentElement();
-        assertEquals(node,m_node.getFirstChild());
-        Node newNode = m_doc.createElement("fooBAR");
-        super.testReplaceChild(newNode, node);
-    }
-    public void testReplaceChildDocFrag() {
-        try {
-            super.testReplaceChildDocFrag();
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testCreateAttribute() {
-        Attr att = m_doc.createAttribute("at0");
-        assertEquals(null, att.getOwnerElement());
-        assertEquals(m_doc, att.getOwnerDocument());
-
-        assertFalse(att.hasChildNodes());
-        assertEquals("", att.getValue());
-    }
-
-    public void testCreateAttributeNS() {
-        Attr att = m_doc.createAttributeNS("foo:uri", "at0");
-        assertEquals("foo:uri", att.getNamespaceURI());
-        assertEquals(null, att.getOwnerElement());
-        assertEquals(m_doc, att.getOwnerDocument());
-    }
-
-   //not implem
-    public void testCreateCDATASection() {
-        CDATASection cdata=m_doc.createCDATASection("<CDATA Section>");
-        assertEquals(null,cdata.getParentNode());
-        assertEquals(m_doc,cdata.getOwnerDocument());
-
-         cdata=m_doc.createCDATASection(null);
-        assertEquals(null,cdata.getParentNode());
-        assertEquals(m_doc,cdata.getOwnerDocument());
-         assertEquals("",cdata.getData());
-    }
-
-    public void testCreateComment() {
-        Comment comment = m_doc.createComment("A comment");
-        assertEquals(null, comment.getParentNode());
-        assertEquals(m_doc, comment.getOwnerDocument());
-
-        comment = m_doc.createComment(null);
-        assertEquals("",comment.getData());
-    }
-
-    public void testCreateDocumentFragment() {
-        DocumentFragment doc_frag = m_doc.createDocumentFragment();
-        assertEquals(null, doc_frag.getParentNode());
-        assertEquals(m_doc, doc_frag.getOwnerDocument());
-
-    }
-
-    public void testCreateElement() {
-        Element elt1 = m_doc.createElement("elt1");
-        assertEquals(null, elt1.getParentNode());
-        assertEquals(m_doc, elt1.getOwnerDocument());
-
-    }
-
-    public void testCreateElementNS() {
-        Element elt1 = m_doc.createElementNS("uri:foo", "ns:elt1");
-        assertEquals("uri:foo", elt1.getNamespaceURI());
-        assertEquals(null, elt1.getParentNode());
-        assertEquals(m_doc, elt1.getOwnerDocument());
-    }
-
-    public void testCreateEntityReference() {
-        //not implemented
-    }
-
-    public void testCreateProcessingInstruction() {
-        ProcessingInstruction pi=null;
-        try{
-          pi = m_doc.createProcessingInstruction("xml", "version 1.0");
-         assertEquals(null, pi.getParentNode());
-         assertEquals(m_doc, pi.getOwnerDocument());
-         fail(" this is a no-go");
-        }catch (Throwable t) {
-            //TODO: ensure right exception here
-        }
-        String val=null;
-        pi = m_doc.createProcessingInstruction("xml-foo",val);
-        assertEquals("",pi.getData());
-
-
-        try{
-            pi = m_doc.createProcessingInstruction(null,"foo");
-            fail("PI target can't be null");
-        }catch (IllegalArgumentException e) {
-
-        }
-
-
-         try {
-             pi = m_doc.createProcessingInstruction("invalid@","foo");
-            fail("Invalid pi name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.INVALID_CHARACTER_ERR, de.code);
-        }
-
-    }
-
-    public void testCreateTextNode() {
-        Text txt0 = m_doc.createTextNode("foo");
-        assertEquals(null, txt0.getParentNode());
-        assertEquals(m_doc, txt0.getOwnerDocument());
-
-        txt0 = m_doc.createTextNode(null);
-        assertEquals("",txt0.getData());
-    }
-
-    public void testGetDoctype() {
-        //TODO throws not impl exception assertEquals(null,m_doc.getDoctype());
-    }
-
-    public void testGetDocumentElement() {
-        assertEquals(m_doc.getDocumentElement(), m_node.getFirstChild());
-    }
-
-/*  public  void testGetElementById()
-    {
-    //  TODO
-	fail("Test Not implemented");
-    }
-*/
-    public void testGetElementsByTagName() {
-        //move node @ foo
-        m_node = m_docNS;
-        NodeList result = ((Document) m_node).getElementsByTagName("*");
-        int nEltCount = 6;//num elts in the XML
-        assertEquals(nEltCount, result.getLength());
-
-        result = ((Document) m_node).getElementsByTagName("zed");
-        assertEquals(0, result.getLength());
-
-    }
-
-    //elts need to come out in preorder order
-    public void testGetElementsByTagNamePreorder() {
-        m_node = m_docNS;
-        NodeList result = ((Document) m_node).getElementsByTagName("foo");
-        assertEquals(2, result.getLength());
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-    }
-
-
-    public void testGetElementsByTagNameDNE() {
-        m_node = m_docNS;
-        NodeList result = ((Document) m_node).getElementsByTagName("foobar");
-        assertEquals(0, result.getLength());
-    }
-
-    public void testGetElementsByTagNameNS() {
-        m_node = m_docNS;
-        NodeList result = ((Document) m_node).getElementsByTagNameNS("*", "*");
-        int nEltCount = 6;
-        assertEquals(nEltCount, result.getLength());
-
-        result = ((Document) m_node).getElementsByTagNameNS("*", "foo");
-        nEltCount = 3;
-        assertEquals(nEltCount, result.getLength());
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-        assertEquals("nstext", result.item(2).getFirstChild().getNodeValue());
-
-
-        result = ((Document) m_node).getElementsByTagNameNS("uri:foo", "foo");
-        assertEquals(1, result.getLength());
-        assertEquals("nstext", result.item(0).getFirstChild().getNodeValue());
-
-        result = ((Document) m_node).getElementsByTagNameNS(null, "foo");
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-        NodeList result1 = ((Document) m_node).getElementsByTagNameNS("", "foo");
-        assertEquals(true, compareNodeList(result, result1));
-
-
-        result = ((Document) m_node).getElementsByTagNameNS(null, "*");
-        assertEquals(4, result.getLength());
-        assertEquals("ZeD", ((Element) result.item(3)).getTagName());
-    }
-
-    public void testGetElementsByTagNameNS_DNE() {
-        m_node = m_docNS;
-        NodeList result = ((Document) m_node).getElementsByTagNameNS("uri:foo", "zed");
-        assertEquals(0, result.getLength());
-
-        result = ((Document) m_node).getElementsByTagNameNS("foo:uri_DNE", "foo");
-        assertEquals(0, result.getLength());
-
-    }
-
-    public void testGetImplementation() {
-        assertTrue(m_doc.getImplementation().toString().startsWith("org.apache.xmlbeans.impl.newstore"));
-    }
-
-    public void testImportNode() {
-
-        Node toImport = m_docNS.getFirstChild();
-        ((Document) m_node).importNode(toImport, true);
-
-        toImport = m_docNS.getLastChild();
-        ((Document) m_node).importNode(toImport, false);
-
-        org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-
-        try {
-            parser.parse(new InputSource(new StringReader(sXmlNS)));
-        } catch (org.xml.sax.SAXException se) {
-            se.printStackTrace();
-        } catch (IOException ioe) {
-            ioe.printStackTrace(System.err);
-        }
-
-        Document xercesDocument = parser.getDocument();
-        assertFalse(xercesDocument == null);
-        toImport = xercesDocument.getFirstChild();
-        ((Document) m_node).importNode(toImport, true);
-
-        toImport = xercesDocument.getLastChild();
-        ((Document) m_node).importNode(toImport, false);
-
-        toImport = null;
-        ((Document) m_node).importNode(toImport, false);
-
-        ((Document) m_node).importNode(toImport, true);
-
-    }
-    /**
-     * ATTRIBUTE_NODE
-     * The ownerElement attribute is set to null
-     *  and the specified flag is set to true on the generated Attr
-     * The descendants of the source Attr are recursively imported and the resulting
-     *   nodes reassembled to form the corresponding subtree
-     *  Note that the deep parameter has no effect on Attr nodes;
-     * they always carry their children with them when imported
-     */
-
-    public void testImportAttrNode(){
-        Node toImport=m_doc.getFirstChild().getAttributes().item(0);
-        toImport.appendChild(m_doc.createTextNode("more text"));
-        Node imported=m_docNS.importNode(toImport, false);
-
-        assertEquals(null, imported.getParentNode());
-        assertEquals(Node.ATTRIBUTE_NODE, imported.getNodeType());
-        assertEquals(2, imported.getChildNodes().getLength());
-        assertEquals(imported.getOwnerDocument(),m_docNS);
-
-    }
-     /**
-     * DOCUMENT_FRAGMENT_NODE
-     * If the deep option was set to true,
-     * the descendants of the source element are
-     *  recursively imported and the resulting nodes reassembled to form the
-     *  corresponding subtree.
-     * Otherwise, this simply generates an empty DocumentFragment.
-
-     */
-   public void testImportDocFrag(){
-         Node toImport=m_doc.createDocumentFragment();
-         toImport.appendChild(m_doc.getFirstChild());
-         toImport.appendChild(m_doc.createTextNode("some text"));
-
-         Node imported=m_docNS.importNode(toImport, false);
-         assertEquals(null, imported.getParentNode());
-         assertEquals(Node.DOCUMENT_FRAGMENT_NODE, imported.getNodeType());
-         assertEquals(false, imported.hasChildNodes());
-          assertEquals(imported.getOwnerDocument(),m_docNS);
-
-         imported=m_docNS.importNode(toImport, true);
-         assertEquals(null, imported.getParentNode());
-         assertEquals(Node.DOCUMENT_FRAGMENT_NODE, imported.getNodeType());
-         assertEquals(2, imported.getChildNodes().getLength());
-          assertEquals(imported.getOwnerDocument(),m_docNS);
-     }
-
-    /**
-     *   DOCUMENT_NODE
-     *   Document nodes cannot be imported.
-     */
-
-    public void testImportDocument(){
-
-        DOMException e1=null;
-        try{
-         m_docNS.importNode(m_doc, false);
-            }catch (DOMException de){
-            e1=de;
-        }
-        try{
-            m_docNS.importNode(m_doc, true);
-            fail("This should fail");
-          }catch (DOMException de){
-            assertEquals(DOMException.NOT_SUPPORTED_ERR, de.code);
-        }
-        if (e1==null)
-            fail("Cant import doc node");
-            assertEquals(DOMException.NOT_SUPPORTED_ERR, e1.code);
-     }
-
-
-    /**
-     * ELEMENT_NODE
-      * Specified attribute nodes of the source element are imported,
-     *  and the generated Attr nodes are attached to the generated Element.
-     *  Default attributes are not copied, though
-     * if the document being imported into defines default
-     * attributes for this element name, those are assigned.
-     * If the importNode deep parameter was set to true, the descendants of
-     * the source element are recursively imported and the resulting nodes
-     *  reassembled to form the corresponding subtree.
-     */
-    //TODO: specified and default attributes
-     public void testImportElement(){
-        Node toImport=m_doc.getFirstChild();
-        Node imported=m_docNS.importNode(toImport, false);
-
-         assertEquals(null, imported.getParentNode());
-         assertEquals(Node.ELEMENT_NODE, imported.getNodeType());
-         assertEquals(0, imported.getChildNodes().getLength());
-        assertEquals(5, imported.getAttributes().getLength());
-         assertEquals(imported.getOwnerDocument(),m_docNS);
-
-        imported=m_docNS.importNode(toImport, true);
-
-         assertEquals(null, imported.getParentNode());
-         assertEquals(Node.ELEMENT_NODE, imported.getNodeType());
-         assertEquals(1, imported.getChildNodes().getLength());
-        assertEquals(5, imported.getAttributes().getLength());
-         assertEquals(imported.getOwnerDocument(),m_docNS);
-
-     }
-
-     /**
-    * DOCUMENT_TYPE_NODE
-    * Test in ../ImportUnsupportedNodes
-    */
-   /**
-    * ENTITY_NODE
-    * Test in ../ImportUnsupportedNodes
-    */
-
-    /**
-    * ENTITY_REFERENCE_NODE
-    * Test in ../ImportUnsupportedNodes
-    */
-     /**
-    * NOTATION_NODE
-    * Test in ../ImportUnsupportedNodes
-    */
-    /**
-     * PROCESSING_INSTRUCTION_NODE
-     * The imported node copies its target and data
-     * values from those of the source node.
-     */
-   public void testImportPI(){
-           Node pi=m_doc.createProcessingInstruction("xml-stylesheet","do something");
-           m_doc.getFirstChild().appendChild(pi);
-
-            Node imported=m_docNS.importNode(pi, false );
-          assertEquals(null, imported.getParentNode());
-         assertEquals(Node.PROCESSING_INSTRUCTION_NODE, imported.getNodeType());
-         assertEquals("do something", ((ProcessingInstruction)imported).getData());
-        assertEquals("xml-stylesheet", ((ProcessingInstruction)imported).getTarget());
-         assertEquals(imported.getOwnerDocument(),m_docNS);
-
-
-     }
-    /**
-     *TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE
-     * These three types of nodes inheriting from CharacterData copy their
-     * data and length attributes from those of the source node.
-     */
-   public void testImportChars(){
-        //import CDATA--nothing to do--it's always text
-
-          //import text
-         Node txt=m_doc.createTextNode("some text");
-          m_doc.getFirstChild().appendChild(txt);
-
-         Node imported= m_docNS.importNode(m_doc.getFirstChild().getLastChild(),false);
-
-         assertEquals(null, imported.getParentNode());
-        assertEquals(Node.TEXT_NODE, imported.getNodeType());
-         assertEquals("some text", ((Text)imported).getData());
-        assertEquals(9, ((Text)imported).getLength());
-         assertEquals(imported.getOwnerDocument(),m_docNS);
-
-
-
-        //import Comment
-         txt=m_doc.createComment("some text");
-                m_doc.getFirstChild().appendChild(txt);
-                assertEquals(null, imported.getParentNode());
-                imported= m_docNS.importNode(m_doc.getFirstChild().getLastChild(),false);
-
-               assertEquals(Node.COMMENT_NODE, imported.getNodeType());
-               assertEquals("some text", ((Comment)imported).getData());
-              assertEquals(9, ((Comment)imported).getLength());
-               assertEquals(imported.getOwnerDocument(),m_docNS);
-
-
-
-    }
-    public void testImportNodeNull() {
-        Node _Null = null;
-        ((Document) m_node).importNode(_Null, true);
-        ((Document) m_node).importNode(_Null, false);
-
-    }
-
-    public void moveToNode() {
-        m_node = m_doc;
-
-    }
-
-    public void setUp() throws Exception {
-
-        super.setUp();
-        moveToNode();
-    }
-}
diff --git a/v2/test/src/dom/checkin/DomImplementationSyncTest.java b/v2/test/src/dom/checkin/DomImplementationSyncTest.java
deleted file mode 100755
index e46acbd..0000000
--- a/v2/test/src/dom/checkin/DomImplementationSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class DomImplementationSyncTest extends DomImplementationTest {
-    public DomImplementationSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(DomImplementationSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/DomImplementationTest.java b/v2/test/src/dom/checkin/DomImplementationTest.java
deleted file mode 100755
index 2a01f70..0000000
--- a/v2/test/src/dom/checkin/DomImplementationTest.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.Loader;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.DOMImplementation;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentType;
-
-/**
- *
- *
- */
-
-public class DomImplementationTest extends TestCase {
-
-    DOMImplementation m_imp;
-    DocumentType m_docType;
-    Document result;
-
-    Document m_docNS;
-    String sXmlNS;
-
-    public DomImplementationTest(String sName) {
-        super(sName);
-        sXmlNS =
-                "<foo xmlns:myns=\"uri:foo\" at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" at3=\"val3\" at4=\"val4\"/>";
-    }
-
-    public static Test suite() {
-        return new TestSuite(DomImplementationTest.class);
-    }
-
-    public void testCreateDocumentType() {
-        //not implemented by Eric
-
-    }
-
-    //$TODO: non null doctype
-    public void testCreateDocument() {
-        String sUri = "http://foo.org";
-        String sQName = "qname";
-        result = m_imp.createDocument(sUri, sQName, m_docType);
-        assertEquals(sQName, result.getDocumentElement().getLocalName());
-        assertEquals(sUri, result.getDocumentElement().getNamespaceURI());
-    }
-
-
-    //$TODO: implem. w/o "XML" feature; WRONG_DOCUMENT_ERR
-    //NOT_SUPPORTED_ERR
-    public void testCreateDocumentInvalid() {
-        String sUri = "http://foo.org";
-        String sQName = "<qname";
-        try {
-            result = m_imp.createDocument(sUri, sQName, m_docType);
-        }
-        catch (DOMException de) {
-            assertEquals(de.code, DOMException.INVALID_CHARACTER_ERR);
-        }
-
-        sUri = null;
-        sQName = "foo:qname";
-        try {
-            result = m_imp.createDocument(sUri, sQName, m_docType);
-        }
-        catch (DOMException de) {
-            assertEquals(de.code, DOMException.NAMESPACE_ERR);
-        }
-
-        sUri = "myuri";
-        sQName = "xml:qname";
-        try {
-            result = m_imp.createDocument(sUri, sQName, m_docType);
-        }
-        catch (DOMException de) {
-            assertEquals(de.code, DOMException.NAMESPACE_ERR);
-        }
-
-    }
-
-    public void testHasFeature() {
-
-        String[] features = new String[]{
-            "Core", "XML", "Events", "MutationEvents", "Range", "Traversal", "HTML", "Views", "StyleSheets", "CSS", "CSS2", "UIEvents", "HTMLEvents"
-        };
-        boolean bResult = true;
-        for (int i = 0; i < features.length; i++) {
-            if (i > 1) bResult = false;
-            System.out.println(m_imp + "============== " + features[i] +
-                    " =============" +
-                    bResult);
-            assertEquals(bResult, m_imp.hasFeature(features[i], "2.0"));
-        }
-
-    }
-
-    public void testHasFeatureIlegal() {
-        assertFalse(m_imp.hasFeature(null, "2.0"));
-        assertFalse(m_imp.hasFeature("foobar", "2.0"));
-        assertFalse(m_imp.hasFeature("xml", "-2"));
-        assertTrue(m_imp.hasFeature("xml", null));
-         assertTrue(m_imp.hasFeature("xml", ""));
-        assertFalse(m_imp.hasFeature("xml", "300"));
-    }
-
-    public void moveToNode() {
-        m_imp = m_docNS.getImplementation();
-    }
-
-    public void loadSync() throws Exception {
-        _loader = Loader.getLoader();
-
-
-        if (sXmlNS.length() > 0)
-            m_docNS = (org.w3c.dom.Document) _loader.loadSync(sXmlNS);
-
-    }
-
-    public void setUp() throws Exception {
-
-        _loader = Loader.getLoader();
-        m_docNS = (org.w3c.dom.Document) _loader.load(sXmlNS);
-        moveToNode();
-    }
-
-    private Loader _loader;
-}
diff --git a/v2/test/src/dom/checkin/DomTests.java b/v2/test/src/dom/checkin/DomTests.java
deleted file mode 100755
index 9c68464..0000000
--- a/v2/test/src/dom/checkin/DomTests.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*   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.
- */
-
-
-
-package dom.checkin;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.xml.sax.InputSource;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.StringReader;
-
-public class DomTests extends TestCase
-{
-    public DomTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(DomTests.class); }
-
-    static String[] _args;
-    static String _test;
-
-  
-
-    public void doTestDomImport ( String xml )
-        throws Exception
-    {
-        DocumentBuilderFactory f = DocumentBuilderFactory.newInstance();
-        f.setNamespaceAware(true);
-        DocumentBuilder parser = f.newDocumentBuilder();
-
-        Document doc = parser.parse( new InputSource( new StringReader( xml ) ) );
-
-        XmlObject x = XmlObject.Factory.parse( doc );
-
-        Assert.assertTrue( x.xmlText().equals( xml ) );
-    }
-    
-    public void doTestDomExport ( String xml )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( XmlObject.Factory.parse( xml ).newDomNode() );
-        Assert.assertTrue( x.xmlText().equals( xml ) );
-    }
-    
-    public void doTest ( String xml )
-        throws Exception
-    {
-        doTestDomImport( xml );
-        doTestDomExport( xml );
-    }
-
-//    public void testDom2 ( )
-//        throws Exception
-//    {
-//        DOMParser parser = new DOMParser();
-//        
-//        parser.setFeature( "http://xml.org/sax/features/namespaces", true );
-//        
-//        parser.parse( new InputSource( new StringReader( "<foo a='x\n\ny'></foo>" ) ) );
-//
-//        XmlObject x = XmlLoader.Factory.parse( parser.getDocument() );
-//
-//        System.out.println( x.xmlText() );
-//    }
-    
-    public void testDom ( )
-        throws Exception
-    {
-        doTest( "<foo xmlns=\"x\"/>" );
-        doTest( "<foo xmlns=\"x\" xmlns:e=\"v\"/>" );
-        doTest( "<foo>a<?X?>b</foo>" );
-        doTest( "<foo>a<!--X-->b</foo>" );
-        doTest( "<!--X--><foo/>" );
-        doTest( "<foo/>" );
-        doTest( "<foo x=\"y\"/>" );
-        doTest( "<foo><a/><b>moo</b></foo>" );
-        
-        String xx =
-            "<!--gg--><?a b?><foo>sdsd<a/>sdsd<b>moo</b>sd<!--asas-->sd</foo><!--hh-->";
-        
-        doTest( xx );
-
-        String xml =
-            "<xml-fragment>" +
-            "foo" +
-            "</xml-fragment>";
-
-        doTestDomExport( xml );
-        
-        try
-        {
-            xml =
-                "<xml-fragment " +
-                "  foo='bar'>" +
-                "</xml-fragment>";
-                
-            doTestDomExport( xml );
-            
-            Assert.assertTrue( false );
-        }
-        catch ( Exception e )
-        {
-        }
-
-        XmlObject x = XmlObject.Factory.parse( xx );
-
-        XmlCursor c = x.newCursor();
-
-        for ( ; ; )
-        {
-            Node n = c.newDomNode();
-            XmlObject.Factory.parse( n );
-
-            if (c.toNextToken().isNone())
-                break;
-        }
-    }
-}
diff --git a/v2/test/src/dom/checkin/ElementSyncTest.java b/v2/test/src/dom/checkin/ElementSyncTest.java
deleted file mode 100755
index becceec..0000000
--- a/v2/test/src/dom/checkin/ElementSyncTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*   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.
- */
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class ElementSyncTest extends ElementTest {
-    public ElementSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ElementSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/ElementTest.java b/v2/test/src/dom/checkin/ElementTest.java
deleted file mode 100755
index 7e693b6..0000000
--- a/v2/test/src/dom/checkin/ElementTest.java
+++ /dev/null
@@ -1,622 +0,0 @@
-/**
- * DocumentFragmentTest.java
- *
- * @author Created by Omnicore CodeGuide
- */
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import dom.common.NodeWithChildrenTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.*;
-import xmlcursor.common.Common;
-
-
-/**
- *
- *
- */
-
-public class ElementTest extends NodeWithChildrenTest {
-
-
-    public ElementTest(String s) {
-        super(s);
-        String sDTD = "<?xml version=\"1.0\"?>" +
-                "<!DOCTYPE bardoc [" +
-                "<!ELEMENT bar>" +
-                "<!ELEMENT foo>" +
-                "<!ATTLIST bar at_spec CDATA \"0\">" +
-                "]>";
-        sXmlNS = "<bar xmlns:other=\"uri:other\" xmlns:myns=\"uri:foo\">" +
-                "<foo  myns:at0=\"val01\" myns:at2=\"at2\" at2=\"val2\" myns:at3=\"val3\" at4=\"val4\">" +
-                "txt0<foo>nestedfoo</foo><myns:yana/>" +
-                "</foo>" +
-                "<myns:foo>nstext<ZeD/></myns:foo>" +
-                "</bar>";
-        if (bDTD)
-            sXmlNS = sDTD + sXmlNS;
-        sXml = Common.XML_FOO_BAR_NESTED_SIBLINGS;
-    }
-
-    public static Test suite() {
-        return new TestSuite(ElementTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("zed", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.ELEMENT_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals(null, m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        assertEquals(null, m_node.getNextSibling());
-    }
-
-    public void testPreviousSibling() {
-        Node prSib = m_node.getPreviousSibling();
-        assertEquals("text0", prSib.getNodeValue());
-    }
-
-    public void testParent() {
-        Node parent = m_node.getParentNode();
-        assertEquals("bar", parent.getLocalName());
-        assertEquals(m_doc.getFirstChild().getFirstChild(), parent);
-    }
-
-    public void testPrefix() {
-        assertEquals("", m_node.getPrefix());
-
-        m_node = m_docNS.getDocumentElement().getChildNodes().item(1);
-        assertEquals("myns:foo", m_node.getNodeName());
-        assertEquals("myns", m_node.getPrefix());
-    }
-
-
-    public void testCloneNode() {
-        super.testCloneNode();
-    }
-
-    /**
-     * Clone node with atts
-     */
-    public void testCloneNodeAttrs(){
-      Node toClone=m_docNS.getFirstChild(); //the foo elt
-     /* Node clone1=toClone.cloneNode(false);
-
-      NamedNodeMap attrSet1=toClone.getAttributes();
-      assertEquals(true,DomUtils.compareNamedNodeMaps(attrSet1,clone1.getAttributes()));
-     */
-      Node clone2=toClone.cloneNode(true);
-     }
-
-    public void testHasAttributes() {
-        super.testHasAttributes();
-        m_node = m_doc.getFirstChild();
-        assertEquals(true, ((Element) m_node).hasAttributes());
-    }
-
-    public void testGetAttribute() {
-        m_node = m_docNS.getFirstChild();
-        if (bDTD)
-            assertEquals("0", ((Element) m_node).getAttribute("at_spec"));
-        assertEquals("val2", ((Element) m_node.getFirstChild()).getAttribute("at2"));
-    }
-
-    public void testGetAttributeDNE() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals("", ((Element) m_node).getAttribute("at3"));
-        assertEquals("", ((Element) m_node).getAttribute("foobar"));
-        String sNull = null;
-        assertEquals("", ((Element) m_node).getAttribute(sNull));
-    }
-
-    public void testGetAttributeNode() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals("bar", ((Element) m_node).getTagName());
-        //assertEquals("uri:foo",((Attr)((Element)m_node).getAttributeNodeNS("xmlns","myns")).getNodeValue());
-        m_node = m_node.getFirstChild();
-        assertEquals("val2", ((Attr) ((Element) m_node).getAttributeNode("at2")).getNodeValue());
-        if (bDTD)
-            assertEquals("0", ((Attr) ((Element) m_node).getAttributeNode("at_spec")).getNodeValue());
-    }
-
-    public void testGetAttributeNodeDNE() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals(null, ((Element) m_node).getAttributeNode("at3"));
-        assertEquals(null, ((Element) m_node).getAttributeNode("foobar"));
-        String sNull = null;
-        assertEquals("", ((Element) m_node).getAttribute(sNull));
-    }
-
-    public void getAttributeNodeNS() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals("0", ((Attr) ((Element) m_node).getAttributeNodeNS("", "at_spec")).getNodeValue());
-        assertEquals("val01", ((Attr) ((Element) m_node).getAttributeNodeNS("uri:foo", "at0")).getNodeValue());
-        assertEquals("val0", ((Attr) ((Element) m_node).getAttributeNodeNS(null, "at0")).getNodeValue());
-        assertEquals("val3", ((Attr) ((Element) m_node).getAttributeNodeNS("uri:foo", "at3")).getNodeValue());
-    }
-
-    public void testGetAttributeNodeNS_DNE() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals(null, ((Element) m_node).getAttributeNodeNS("", "at3"));
-        assertEquals(null, ((Element) m_node).getAttributeNodeNS("uri:foo", "at1"));
-        String sNull = null;
-        assertEquals(null, ((Element) m_node).getAttributeNodeNS("uri:foo", sNull));
-    }
-
-    public void testGetAttributeNS() {
-        m_node = m_docNS.getFirstChild().getFirstChild();
-        if (bDTD)
-            assertEquals("0", ((Element) m_node).getAttributeNS(null, "at_spec"));
-        assertEquals("val01", ((Element) m_node).getAttributeNS("uri:foo", "at0"));
-        assertEquals("val2", ((Element) m_node).getAttributeNS("", "at2"));
-    }
-
-    public void testGetAttributeNS_DNE() {
-        m_node = m_docNS.getFirstChild();
-        assertEquals("", ((Element) m_node).getAttributeNS("", "at3"));
-        assertEquals("", ((Element) m_node).getAttributeNS("uri:foo", "at1"));
-        String sNull = null;
-        assertEquals("", ((Element) m_node).getAttributeNS("uri:foo", sNull));
-    }
-
-    public void testGetElementsByTagName() {
-        //move node @ foo
-        m_node = m_node.getParentNode().getParentNode();
-        NodeList result = ((Element) m_node).getElementsByTagName("*");
-        int nEltCount = 5;//num elts in the XML
-        assertEquals(nEltCount - 1, result.getLength());
-
-        result = ((Element) m_node).getElementsByTagName("zed");
-        assertEquals(2, result.getLength());
-        assertEquals("nested0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nested1", result.item(1).getFirstChild().getNodeValue());
-    }
-
-    public void testGetElementsByTagNameDNE() {
-        NodeList result = ((Element) m_node.getParentNode()).getElementsByTagName("foobar");
-        assertEquals(0, result.getLength());
-    }
-
-    //elts need to come out in preorder order
-    public void testGetElementsByTagNamePreorder() {
-        m_node = m_docNS.getFirstChild();
-        NodeList result = ((Element) m_node).getElementsByTagName("foo");
-        assertEquals(2, result.getLength());
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-    }
-
-    public void testGetElementsByTagNameDescendant() {
-        m_node = m_docNS.getFirstChild().getFirstChild();
-        NodeList result = ((Element) m_node).getElementsByTagName("foo");//self should not be selected
-        assertEquals(1, result.getLength());
-        assertEquals("nestedfoo", result.item(0).getFirstChild().getNodeValue());
-    }
-
-
-    public void testGetElementsByTagNameNS() {
-        m_node = m_docNS.getFirstChild();
-        NodeList result = ((Element) m_node).getElementsByTagNameNS("*", "*");
-        int nEltCount = 6;
-        assertEquals(nEltCount - 1, result.getLength());
-
-        result = ((Element) m_node).getElementsByTagNameNS("*", "foo");
-        nEltCount = 3;
-        assertEquals(nEltCount, result.getLength());
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-        assertEquals("nstext", result.item(2).getFirstChild().getNodeValue());
-
-
-        result = ((Element) m_node).getElementsByTagNameNS("uri:foo", "foo");
-        assertEquals(1, result.getLength());
-        assertEquals("nstext", result.item(0).getFirstChild().getNodeValue());
-
-        result = ((Element) m_node).getElementsByTagNameNS(null, "foo");
-        assertEquals("txt0", result.item(0).getFirstChild().getNodeValue());
-        assertEquals("nestedfoo", result.item(1).getFirstChild().getNodeValue());
-        NodeList result1 = ((Element) m_node).getElementsByTagNameNS("", "foo");
-        assertEquals(true, compareNodeList(result, result1));
-
-
-        result = ((Element) m_node).getElementsByTagNameNS(null, "*");
-        assertEquals(3, result.getLength());
-        assertEquals("ZeD", ((Element) result.item(2)).getTagName());
-    }
-
-    public void testGetElementsByTagNameNS_DNE() {
-        m_node = m_docNS.getFirstChild();
-        NodeList result = ((Element) m_node).getElementsByTagNameNS("uri:foo", "zed");
-        assertEquals(0, result.getLength());
-
-        result = ((Element) m_node).getElementsByTagNameNS("foo:uri_DNE", "foo");
-        assertEquals(0, result.getLength());
-
-    }
-
-    public void testGetTagName() {
-        m_node = m_docNS.getFirstChild().getChildNodes().item(1).getChildNodes().item(1);
-        assertEquals("ZeD", ((Element) m_node).getTagName());
-
-    }
-
-
-    public void testHasAttribute() {
-        m_node = m_docNS.getFirstChild();
-        if (bDTD)
-            assertEquals(true, ((Element) m_node).hasAttribute("at_spec"));
-
-        m_node = m_docNS.getFirstChild();
-        assertEquals(false, ((Element) m_node).hasAttribute("at3"));
-        assertEquals(false, ((Element) m_node).hasAttribute("at0"));
-    }
-
-    public void testHasAttributeNS() {
-        m_node = m_docNS.getFirstChild();
-        if (bDTD)
-            assertEquals(true, ((Element) m_node).hasAttributeNS(null, "at_spec"));
-
-        m_node = m_node.getFirstChild();
-        assertEquals(true, ((Element) m_node).hasAttributeNS("uri:foo", "at3"));
-        assertEquals(false, ((Element) m_node).hasAttributeNS("uri:foo:org", "at0"));
-        assertEquals(false, ((Element) m_node).hasAttributeNS("uri:foo", null));
-    }
-
-    public void testRemoveAttribute() {
-        m_node = m_docNS.getFirstChild();
-        //remove default
-        if (bDTD) {
-
-            ((Element) m_node).removeAttribute("at_spec");
-            assertEquals(1, m_node.getAttributes().getLength());
-        }
-
-        m_node = m_node.getFirstChild();
-        assertEquals("foo", m_node.getNodeName());
-        assertEquals(5, m_node.getAttributes().getLength());
-        ((Element) m_node).removeAttribute("at2");
-        assertEquals(4, m_node.getAttributes().getLength());
-
-        //DNE
-        ((Element) m_node).removeAttribute("at3");
-        assertEquals(4, m_node.getAttributes().getLength());
-
-    }
-
-    public void testRemoveAttributeNode() {
-        Node removed;
-        //remove default
-        m_node = m_docNS.getFirstChild();
-        if (bDTD) {
-            ((Element) m_node).removeAttributeNode(((Element) m_node).getAttributeNode("at_spec"));
-            assertEquals(1, m_node.getAttributes().getLength());
-        }
-        m_node = m_node.getFirstChild();
-        assertEquals("foo", m_node.getNodeName());
-        assertEquals(5, m_node.getAttributes().getLength());
-        Attr remove = ((Element) m_node).getAttributeNode("at2");
-        removed = ((Element) m_node).removeAttributeNode(remove);
-        assertFalse(removed == null);
-        assertEquals(4, m_node.getAttributes().getLength());
-        assertEquals(removed, remove);
-    }
-
-    public void testRemoveAttributeNode_DNE() {
-        //DNE
-        Node removed;
-        Attr remove = ((Element) m_node).getAttributeNode("at3");
-        try {
-            removed = ((Element) m_node).removeAttributeNode(remove);
-            fail("removing Non existing attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-        }
-
-        remove = null;
-        try {
-            removed = ((Element) m_node).removeAttributeNode(remove);
-            fail("removing Non existing attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-        }
-
-        //differentParent
-          remove = m_doc.getDocumentElement().getAttributeNode("attr0");
-         try {
-            removed = ((Element) m_node).removeAttributeNode(remove);
-            fail("removing Non existing attr");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-        }
-    }
-
-    public void testRemoveAttributeNS() {
-        //remove default
-        m_node = m_docNS.getFirstChild();
-        if (bDTD) {
-            ((Element) m_node).removeAttributeNS(null, "at_spec");
-            assertEquals(1, m_node.getAttributes().getLength());
-        }
-        m_node = ((Element) m_node).getFirstChild();
-        ((Element) m_node).removeAttributeNS("uri:foo", "at0");
-        assertEquals(4, m_node.getAttributes().getLength());
-
-        //DNE
-        ((Element) m_node).removeAttributeNS(null, "at3");
-        assertEquals(4, m_node.getAttributes().getLength());
-
-        ((Element) m_node).removeAttributeNS("uri:foo", null);
-        assertEquals(4, m_node.getAttributes().getLength());
-    }
-
-
-    public void testSetAttribute() {
-        m_node=m_doc.getDocumentElement();
-
-        try {
-            ((Element) m_node).setAttribute("at:invalid<", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.INVALID_CHARACTER_ERR, de.code);
-        }
-
-        ((Element) m_node).setAttribute("attr0", "newval");
-        assertEquals("newval", ((Element) m_node).getAttribute("attr0"));
-
-
-        ((Element) m_node).setAttribute("attr1", "newval");
-        assertEquals("newval", ((Element) m_node).getAttribute("attr1"));
-        assertEquals(2, m_node.getAttributes().getLength());
-    }
-
-    public void testSetAttributeNode() {
-        Attr result;
-        Attr newAttr = m_doc.createAttribute("attr0");
-        Attr oldAttr = ((Element) m_node).getAttributeNode("attr0");
-        newAttr.setValue("newval");
-        result = ((Element) m_node).setAttributeNode(newAttr);
-        assertEquals(oldAttr, result);
-        assertEquals("newval", ((Element) m_node).getAttributeNode("attr0").getNodeValue());
-
-        //insert self
-        try {
-            Attr at0 = ((Element) m_node).getAttributeNode("attr0");
-            String v1 = at0.getNodeValue();
-            ((Element) m_node).setAttributeNode(at0);
-            assertEquals(v1, ((Element) m_node).getAttribute("attr0"));
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.INUSE_ATTRIBUTE_ERR);
-        }
-
-        //insert new
-        newAttr = m_doc.createAttribute("attr1");
-        newAttr.setValue("newval");
-        result = ((Element) m_node).setAttributeNode(newAttr);
-        assertEquals(null, result);
-        assertEquals("newval", ((Element) m_node).getAttributeNode("attr1").getNodeValue());
-        assertEquals(2, m_node.getAttributes().getLength());
-    }
-
-    public void testSetAttributeNodeDiffDoc() {
-        Attr result;
-        Attr newAttr = m_docNS.createAttribute("attr0");
-        try {
-            result = ((Element) m_node).setAttributeNode(newAttr);
-            fail("Attr Node diff doc in use");
-        } catch (DOMException de) {
-            assertEquals(DOMException.WRONG_DOCUMENT_ERR, de.code);
-        }
-    }
-
-    public void testSetAttributeNodeInUse() {
-        //insert new
-        m_node = m_node.getParentNode().getParentNode();
-        Attr newAttr = ((Element) m_node).getAttributeNode("attr0");
-        m_node = m_node.getFirstChild();
-        try {
-            ((Element) m_node).setAttributeNode(newAttr);
-            fail("Attr Node in use");
-        } catch (DOMException de) {
-            assertEquals(DOMException.INUSE_ATTRIBUTE_ERR, de.code);
-        }
-    }
-
-    public void testSetAttributeNodeNS() {
-        m_node = m_docNS.getFirstChild().getFirstChild();
-        Attr result;
-        Attr newAttr = m_docNS.createAttributeNS("uri:foo", "at0");
-        Attr oldAttr = ((Element) m_node).getAttributeNodeNS("uri:foo", "at0");
-        assertFalse(oldAttr == null);
-        newAttr.setValue("newval");
-        result = ((Element) m_node).setAttributeNodeNS(newAttr);
-        assertEquals(oldAttr, result);
-        Attr insertedAtt = ((Element) m_node).getAttributeNodeNS("uri:foo", "at0");
-        assertFalse(insertedAtt == null);
-        assertEquals("newval", insertedAtt.getNodeValue());
-
-        //insert new
-        int nAttrCnt = m_node.getAttributes().getLength();
-        newAttr = m_docNS.createAttributeNS("uri:foo", "attr1");
-        newAttr.setValue("newval");
-        result = ((Element) m_node).setAttributeNode(newAttr);
-        assertEquals(null, result);
-        assertEquals("newval", ((Element) m_node).getAttributeNS("uri:foo", "attr1"));
-        assertEquals(nAttrCnt + 1, m_node.getAttributes().getLength());
-
-        //insert new
-        newAttr = m_docNS.createAttributeNS("uri:foo:org", "attr1");
-        newAttr.setValue("newURIval");
-        result = ((Element) m_node).setAttributeNodeNS(newAttr);
-
-        assertEquals(null, result);
-        assertEquals("newURIval", ((Element) m_node).getAttributeNS("uri:foo:org", "attr1"));
-        assertEquals(nAttrCnt + 2, m_node.getAttributes().getLength());
-
-    }
-
-    public void testSetAttributeNS() {
-        m_node = m_docNS.getFirstChild().getFirstChild();
-        //overwrite
-        ((Element) m_node).setAttributeNS("uri:foo", "at0", "newval");
-        assertEquals("newval", ((Element) m_node).getAttributeNS("uri:foo", "at0"));
-
-
-        ((Element) m_node).setAttributeNS("uri:foo:org", "attr1", "newval");
-        assertEquals("newval", ((Element) m_node).getAttributeNS("uri:foo:org", "attr1"));
-        assertEquals(6, m_node.getAttributes().getLength());
-
-    }
-
-    public void testSetAttributeNSBadNS() {
-        //qualifiedName is malformed
-        try {
-            ((Element) m_node).setAttributeNS("foo:org", "invalid<", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.INVALID_CHARACTER_ERR, de.code);
-        }
-
-        //the qualifiedName has a prefix and the namespaceURI is null
-        try {
-            String sNull = null;
-            ((Element) m_node).setAttributeNS(sNull, "myfoo:at", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-    }
-     public void testSetAttributeNSBadNS_xmlns() {
-        //the qualifiedName, or its prefix, is "xmlns" and the namespaceURI is different from " http://www.w3.org/2000/xmlns/".
-        try {
-            ((Element) m_node).setAttributeNS("foo:org:uri", "xmlns", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-
-        try {
-            ((Element) m_node).setAttributeNS("foo:org:uri", "xmlns:foo", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-     }
-     public void testSetAttributeNSBadNS_xml() {
-        //if the qualifiedName has a prefix that is "xml"
-        // and the namespaceURI is different from " http://www.w3.org/XML/1998/namespace"
-             try {
-            ((Element) m_node).setAttributeNS("foo:org:uri", "xml:foo", "0");
-            fail("Invalid attr name");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-    }
-
-    public void testGetChildNodes() {
-        m_node = m_node.getParentNode();
-        assertEquals(2, m_node.getChildNodes().getLength());
-    }
-
-    public void testFirstChild() {
-        assertEquals("nested0", m_node.getFirstChild().getNodeValue());
-    }
-
-    public void testLastChild() {
-        assertEquals("nested0", m_node.getLastChild().getNodeValue());
-    }
-                                         //code coverage: need a node with penultimate elt and last text
-    public void testLastChildMixedContent(){
-        Node prevSibling=m_doc.createElement("penultimateNode");
-        m_node.insertBefore(prevSibling,m_node.getFirstChild());
-        assertEquals("nested0", m_node.getLastChild().getNodeValue());
-    }
-
-
-    public void testGetAttributes() {
-        assertEquals(0, m_node.getAttributes().getLength());
-    }
-
-    public void testLocalName() {
-        assertEquals("zed", m_node.getLocalName());
-    }
-
-    public void testSetPrefix() {
-        //set a null prefix
-        m_node = m_docNS.getFirstChild().getFirstChild().getChildNodes().item(2);//<myns:yana/>
-        assertFalse(m_node == null);
-        m_node.setPrefix(null);
-        assertEquals("", m_node.getPrefix());
-
-        m_node.setPrefix("other");
-
-        assertEquals("other:yana", m_node.getNodeName());
-        assertEquals("other:yana", ((Element) m_node).getTagName());
-        // assertEquals("uri:other",m_node.getNamespaceURI());--this is the URI @ creation--never changes
-        assertEquals(1, ((Element) m_docNS.getDocumentElement()).getElementsByTagName("other:yana").getLength());
-
-
-    }
-
-    public void testNormalizeNode() throws Exception{
-           m_node=m_node.getParentNode();
-           m_node.replaceChild(m_doc.createTextNode("txt1"),m_node.getLastChild());
-            assertEquals(2, m_node.getChildNodes().getLength());
-
-            m_node.normalize();
-            assertEquals(1, m_node.getChildNodes().getLength());
-
-
-    }
-     public void testNormalizeNodeNoChildren() throws Exception{
-           m_node=m_doc.createElement("foobar");
-            assertEquals(0, m_node.getChildNodes().getLength());
-            m_node.normalize();
-            assertEquals(0, m_node.getChildNodes().getLength());
-    }
-     public void testNormalizeNodeOneChild() throws Exception{
-           m_node=m_doc.createElement("foobar");
-            m_node.appendChild(m_doc.createElement("foobar"));
-            assertEquals(1, m_node.getChildNodes().getLength());
-            m_node.normalize();
-            assertEquals(1, m_node.getChildNodes().getLength());
-    }
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild().getFirstChild().getChildNodes().item(1);//zed node;
-        assertFalse(m_node == null);
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-
-
-}
diff --git a/v2/test/src/dom/checkin/NamedNodeMapSyncTest.java b/v2/test/src/dom/checkin/NamedNodeMapSyncTest.java
deleted file mode 100755
index fc13fb3..0000000
--- a/v2/test/src/dom/checkin/NamedNodeMapSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- * 
- */
-
-public class NamedNodeMapSyncTest extends NamedNodeMapTest {
-    public NamedNodeMapSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NamedNodeMapSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/NamedNodeMapTest.java b/v2/test/src/dom/checkin/NamedNodeMapTest.java
deleted file mode 100755
index 9434863..0000000
--- a/v2/test/src/dom/checkin/NamedNodeMapTest.java
+++ /dev/null
@@ -1,361 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.Loader;
-import dom.common.NodeTest;
-import dom.common.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.w3c.dom.*;
-
-/**
- *
- *
- */
-
-public class NamedNodeMapTest extends TestCase implements TestSetup {
-    Document m_doc;
-    Document m_docNS;
-    Node m_node;
-    NamedNodeMap m_nodeMap;
-    String sXml = "<foo at0=\"val0\" at1=\"val1\" at2=\"val2\" at3=\"val3\" at4=\"val4\"><bar bat0=\"val0\">abc</bar></foo>";
-    String sXmlNS = "<foo xmlns:myns=\"uri:foo\" at0=\"val0\" myns:at0=\"val01\" at2=\"val2\" at3=\"val3\" myns:at4=\"val4\">  <bar>abc</bar></foo>";
-    Node result;
-    int nCount = 5;
-
-
-    public NamedNodeMapTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NamedNodeMapTest.class);
-    }
-
-    public void testLength() {
-        //assertEquals(m_nodeMap.length,nCount);
-        assertEquals(m_nodeMap.getLength(), nCount);
-    }
-
-    public void testGetNamedItem() {
-        result = m_nodeMap.getNamedItem("at0");
-        assertEquals("val0", result.getNodeValue());
-
-        result = m_nodeMap.getNamedItem("at4");
-        assertEquals("val4", result.getNodeValue());
-    }
-
-    public void testGetNamedItemDNE() {
-        result = m_nodeMap.getNamedItem("attt4");
-        assertEquals(null, result);
-    }
-
-    public void testGetNamedItemNS() {
-
-        m_nodeMap = m_docNS.getFirstChild().getAttributes();
-
-        result = m_nodeMap.getNamedItemNS("uri:foo", "at0");
-        assertEquals("val01", result.getNodeValue());
-        assertEquals("myns:at0", result.getNodeName());
-        assertEquals("myns", result.getPrefix());
-
-        result = m_nodeMap.getNamedItemNS("uri:foo", "at0");
-        assertEquals("val01", result.getNodeValue());
-
-        result = m_nodeMap.getNamedItemNS("", "at3");
-        assertEquals("val3", result.getNodeValue());
-
-        result = m_nodeMap.getNamedItemNS(null, "at3");
-        assertEquals("val3", result.getNodeValue());
-
-
-    }
-
-    public void testGetNamedItemNS_DNE() {
-
-        m_nodeMap = m_docNS.getFirstChild().getAttributes();
-
-        result = m_nodeMap.getNamedItemNS("uri:fol", "at0");
-        assertEquals(null, result);
-
-        result = m_nodeMap.getNamedItemNS("uri:foo", "at1");
-        assertEquals(null, result);
-
-        result = m_nodeMap.getNamedItemNS("uri:foo", null);
-        assertEquals(null, result);
-
-        /*  This test is only possible if "" neq null
-            result=m_nodeMap.getNamedItemNS("","at4");
-            assertEquals(null,result);
-           */
-    }
-
-    public void testItem() {
-        result = m_nodeMap.item(0);
-        assertEquals("val0", result.getNodeValue());
-        result = m_nodeMap.item(3);
-        assertEquals("val3", result.getNodeValue());
-    }
-
-    public void testItemNeg() {
-        assertFalse(null == m_nodeMap);
-        assertEquals(null, m_nodeMap.item(-1));
-    }
-
-    public void testItemLarge() {
-        assertFalse(null == m_nodeMap);
-        assertEquals(null, m_nodeMap.item(m_nodeMap.getLength() + 1));
-    }
-
-    /**
-     * $NOTE: to do
-     * read-only map
-     * attr w/ default val
-     */
-    public void testRemoveNamedItemNull() {
-        try {
-            m_nodeMap.removeNamedItem(null);
-            fail("removing a non-existing value");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.NOT_FOUND_ERR);
-        }
-    }
-
-    public void testRemoveNamedItem() {
-        try {
-            m_nodeMap.removeNamedItem("at7");
-            fail("removing a non-existing value");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.NOT_FOUND_ERR);
-        }
-
-        result = m_nodeMap.removeNamedItem("at3");
-        assertEquals("val3", result.getNodeValue());
-        assertEquals(m_nodeMap.getNamedItem("at3"), null);
-        //liveness test
-        assertEquals(m_node.getAttributes().getLength(), nCount - 1);
-        assertEquals(m_node.getAttributes().getNamedItem("at3"), null);
-
-    }
-
-    /**
-     *
-     */
-
-    public void testRemoveNamedItemNS() {
-        m_node = m_docNS.getDocumentElement();
-        m_nodeMap = m_node.getAttributes();
-        result = m_nodeMap.getNamedItemNS("uri:foo", "at0");
-        assertEquals("val01", result.getNodeValue());
-
-        nCount = m_node.getAttributes().getLength();
-
-        if (bDTD)
-            assertEquals(m_nodeMap.getNamedItem("at0").getNodeValue(), "val0"); //default ns attr still here
-
-        result = m_nodeMap.getNamedItemNS("uri:foo", "at4");
-        assertEquals(result, m_nodeMap.removeNamedItemNS("uri:foo", "at4"));
-          assertEquals(null, m_nodeMap.getNamedItemNS("uri:foo", "at4"));
-
-        assertEquals(nCount - 1, m_node.getAttributes().getLength());
-
-        result = m_nodeMap.removeNamedItemNS(null, "at3");
-        assertEquals("val3", result.getNodeValue());
-        assertEquals(null, m_nodeMap.getNamedItem("at3"));
-        assertEquals(m_node.getAttributes().getLength(), nCount - 2);
-
-        //liveness test
-        assertEquals(nCount - 2, m_docNS.getFirstChild().getAttributes().getLength());
-        assertEquals(null, m_docNS.getFirstChild().getAttributes().getNamedItem("at3"));
-    }
-
-    public void testRemoveNamedItemNS_DNE() {
-        m_nodeMap = m_docNS.getFirstChild().getAttributes();
-        int nLen = m_node.getAttributes().getLength();
-        try {
-            result = m_nodeMap.removeNamedItemNS("uri:fo1", "at0");
-            if (m_node.getAttributes().getLength() != nLen)
-                fail("removing a non-existing attr");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.NOT_FOUND_ERR);
-        }
-
-        try {
-            result = m_nodeMap.getNamedItemNS("uri:fo1", null);
-            if (result != null)
-                fail("removing a non-existing attr");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.NOT_FOUND_ERR);
-        }
-    }
-
-    /**
-     * pathological cases:
-     * node created from diff doc
-     * node in diff elt
-     * node not an attr
-     */
-    public void testSetNamedItem() {
-        Node newAt = m_doc.createAttribute("newAt");
-        ((Attr) newAt).setValue("newval");
-        m_nodeMap.setNamedItem(newAt);
-        assertEquals(nCount + 1, m_nodeMap.getLength());
-        result = m_nodeMap.getNamedItem("newAt");
-        assertEquals("newval", result.getNodeValue());
-
-        //node cr. diff doc
-        newAt = m_docNS.createAttribute("newAt");
-        ((Attr) newAt).setValue("newval");
-        try {
-            m_nodeMap.setNamedItem(newAt);
-            fail("Inserting node created from a different doc");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-        //node in diff elt
-        newAt = m_node.getFirstChild().getAttributes().getNamedItem("bat0");
-        try {
-            m_nodeMap.setNamedItem(newAt);
-            fail("Inserting node in use");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.INUSE_ATTRIBUTE_ERR);
-        }
-
-        //not an attr
-        newAt = m_doc.createElement("newElt");
-        try {
-            m_nodeMap.setNamedItem(newAt);
-            fail("Inserting node  different doc");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-
-    }
-
-    public void testSetNamedItemNull() {
-        try {
-            m_nodeMap.setNamedItem(null);
-            fail("Setting to null");
-        } catch (java.lang.IllegalArgumentException e) {
-        }
-    }
-
-    public void testSetNamedItemDiffImpl() throws Exception {
-        Node toSet = NodeTest.getApacheNode(sXml, false, 'A');
-        try {
-            m_nodeMap.setNamedItem(toSet);
-            fail("Inserting node  different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-    }
-
-    public void testSetNamedItemNS() {
-        Node newAt = m_doc.createAttributeNS("uri:foo", "newAt");
-        ((Attr) newAt).setValue("newval");
-        m_nodeMap.setNamedItemNS(newAt);
-        assertEquals(nCount + 1, m_nodeMap.getLength());
-        result = m_nodeMap.getNamedItemNS("uri:foo", "newAt");
-        assertEquals("newval", result.getNodeValue());
-        //OK, reset value
-        ((Attr) newAt).setValue("newval_overwrite");
-        m_nodeMap.setNamedItemNS(newAt);
-        assertEquals(nCount + 1, m_nodeMap.getLength());
-        result = m_nodeMap.getNamedItemNS("uri:foo", "newAt");
-        assertEquals("newval_overwrite", result.getNodeValue());
-
-        newAt = m_doc.createAttributeNS("uri:foo1", "newAt");
-        ((Attr) newAt).setValue("newval1");
-        //insert a new item
-        m_nodeMap.setNamedItemNS(newAt);
-        assertEquals(nCount + 2, m_nodeMap.getLength());
-        result = m_nodeMap.getNamedItemNS("uri:foo1", "newAt");
-        assertEquals("newval1", result.getNodeValue());
-        //the path cases are the same as in SetNamedItem
-    }
-
-    public void testSetNamedItemNSNull() {
-        try {
-            m_nodeMap.setNamedItemNS(null);
-            fail("Setting to null");
-        } catch (java.lang.IllegalArgumentException e) {
-        }
-    }
-
-    public void testSetNamedItemNSDiffImpl() throws Exception {
-        Node toSet = NodeTest.getApacheNode(sXml, true, 'A');
-        try {
-            m_nodeMap.setNamedItemNS(toSet);
-            fail("Inserting node  different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-    }
-
-    //try to set a node of a diff type than the current collection
-    public void testSetNamedItemDiffType() throws Exception {
-        Node toSet = m_doc.createElement("foobar");
-        try {
-            m_nodeMap.setNamedItem(toSet);
-            fail("Inserting node  different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-    }
-
-    public void testSetNamedItemNSDiffType() throws Exception {
-        Node toSet = m_doc.createElementNS("foo:org", "com:foobar");
-        try {
-            m_nodeMap.setNamedItemNS(toSet);
-            fail("Inserting node  different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.HIERARCHY_REQUEST_ERR);
-        }
-    }
-
-
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild();
-        m_nodeMap = m_node.getAttributes();
-
-    }
-
-    public void loadSync() throws Exception {
-        _loader = Loader.getLoader();
-
-        if (sXml == null && sXmlNS == null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-        m_doc = (org.w3c.dom.Document) _loader.loadSync(sXml);
-        if (sXmlNS != null && sXmlNS.length() > 0)
-            m_docNS = (org.w3c.dom.Document) _loader.loadSync(sXmlNS);
-
-    }
-
-    public void setUp() throws Exception {
-
-        m_doc = (org.w3c.dom.Document) Public2.parse(sXml);
-        m_docNS = (org.w3c.dom.Document) Public2.parse(sXmlNS);
-        moveToNode();
-
-    }
-
-    private Loader _loader;
-}
-
diff --git a/v2/test/src/dom/checkin/NodeListSyncTest.java b/v2/test/src/dom/checkin/NodeListSyncTest.java
deleted file mode 100755
index 6f92f9e..0000000
--- a/v2/test/src/dom/checkin/NodeListSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class NodeListSyncTest extends NodeListTest {
-    public NodeListSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NodeListSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/NodeListTest.java b/v2/test/src/dom/checkin/NodeListTest.java
deleted file mode 100755
index 137a40c..0000000
--- a/v2/test/src/dom/checkin/NodeListTest.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import dom.common.Loader;
-import dom.common.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- *
- *
- */
-
-
-public class NodeListTest extends TestCase implements TestSetup {
-
-    Document m_doc;
-    Document m_docNS;
-    Node m_node;
-    NodeList m_nodeList;
-    String sXml = "<foo><ch0>val0</ch0><ch1>val1</ch1><ch2>val2</ch2><ch3>val3</ch3><ch4>val4</ch4></foo>";
-    int nCount = 5;
-
-    public NodeListTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NodeListTest.class);
-    }
-
-    public void testLength() {
-        assertEquals(m_nodeList.getLength(), nCount);
-    }
-
-    public void testItem() {
-        for (int i = 0; i < m_nodeList.getLength(); i++)
-            assertEquals("ch" + i, m_nodeList.item(i).getNodeName());
-    }
-
-    public void testItemNeg() {
-        assertEquals(null, m_nodeList.item(-1));
-    }
-
-    public void testItemLarge() {
-        assertEquals(null, m_nodeList.item(nCount + 1));
-    }
-
-    public void voidTestLive() {
-        m_node.removeChild(m_nodeList.item(1));//"ch1"
-        assertEquals(m_nodeList.getLength(), nCount - 1);
-        assertEquals("ch2", m_nodeList.item(1).getNodeName());
-    }
-
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild();
-        m_nodeList = m_node.getChildNodes();
-    }
-
-    public void loadSync() throws Exception {
-        _loader = Loader.getLoader();
-        m_doc = (org.w3c.dom.Document) _loader.loadSync(sXml);
-
-    }
-
-    public void setUp() throws Exception {
-        _loader = Loader.getLoader();
-        m_doc = (org.w3c.dom.Document) _loader.load(sXml);
-        moveToNode();
-
-    }
-
-    private Loader _loader;
-}
diff --git a/v2/test/src/dom/checkin/PISyncTest.java b/v2/test/src/dom/checkin/PISyncTest.java
deleted file mode 100755
index 447f487..0000000
--- a/v2/test/src/dom/checkin/PISyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class PISyncTest extends PITest {
-    public PISyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(PISyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/PITest.java b/v2/test/src/dom/checkin/PITest.java
deleted file mode 100755
index 080d6a7..0000000
--- a/v2/test/src/dom/checkin/PITest.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-import dom.common.NodeTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Node;
-import org.w3c.dom.ProcessingInstruction;
-
-
-/**
- *
- *
- */
-
-public class PITest extends NodeTest {
-
-    public PITest(String s) {
-        super(s);
-        sXml = "<bar><?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><foo>text</foo></bar>";
-        //inspired by Common.XML_FOO_PROCINST;
-    }
-
-    public static Test suite() {
-        return new TestSuite(PITest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("xml-stylesheet", m_node.getNodeName());
-    }
-
-    public void testLocalName() {
-        assertEquals("xml-stylesheet", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.PROCESSING_INSTRUCTION_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals("type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"", m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        Node nxtSibling = m_node.getNextSibling();
-        assertEquals("foo", nxtSibling.getNodeName());
-
-    }
-
-    public void testSetNodeValue() {
-        String sNewVal = "type=\"text/xsl\" xmlns=\"http://xbean.foo.org\"";
-        m_node.setNodeValue(sNewVal);
-        assertEquals(sNewVal, m_node.getNodeValue());
-
-    }
-
-    public void testNormalize() {
-        //TODO
-    }
-
-    public void testReplaceChild() {
-    }
-
-    public void testRemoveChild() {
-    }
-
-    public void testAppendChild() {
-    }
-
-    public void testInsertBefore() {
-    }
-
-    public void testPreviousSibling() {
-        Node prSibling = m_node.getPreviousSibling();
-        assertEquals(null, prSibling);
-    }
-
-    public void testParent() {
-        Node parent = m_node.getParentNode();
-        assertEquals(m_doc.getFirstChild(), parent);
-        assertEquals("bar", parent.getLocalName());
-    }
-
-    public void testGetData() {
-        assertEquals("type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"", ((ProcessingInstruction) m_node).getData());
-    }
-
-    public void testGetTarget() {
-        assertEquals("xml-stylesheet", ((ProcessingInstruction) m_node).getTarget());
-
-
-    }
-
-    public void testSetData(String data) {
-
-        ((ProcessingInstruction) m_node).setData("\"type=\\\"text/xsl\\\" xmlns=\\\"http://newURI.org/shipping/\\\"\"");
-        assertEquals("type=\"text/xsl\" xmlns=\"http://newURI.org/shipping/\"", ((ProcessingInstruction) m_node).getData());
-    }
-
-    public void moveToNode() {
-        m_node = m_doc.getDocumentElement().getFirstChild();//pi
-        assertFalse(m_node == null);
-
-    }
-
-    //TODO: Test PI with funky but legal chatacters in the name, eg. :
-    public void testPiTargetChars(){
-        ProcessingInstruction node=m_doc.createProcessingInstruction("foo:123-_","some body");
-        m_node.getParentNode().appendChild(node);
-        m_node= m_node.getParentNode().getLastChild();
-        assertEquals("foo:123-_", ((ProcessingInstruction) m_node).getTarget());
-    }
-
-    //TODO: Test Illegal PI Targets: xml target, starting with a digit
-     public void testPiTargetIllegalChars(){
-         ProcessingInstruction node;
-            try{
-                node=m_doc.createProcessingInstruction("7foo:?123-&","some body");
-                fail("Can't start w/ a digit");
-            }catch(DOMException e){
-                assertEquals(DOMException.INVALID_CHARACTER_ERR,e.code);
-            }
-
-            try{
-                node=m_doc.createProcessingInstruction("xml","foo");
-                fail("Can't be xml");
-            }catch(DOMException e){
-                assertEquals(DOMException.INVALID_CHARACTER_ERR,e.code);
-            }
-     }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-}
diff --git a/v2/test/src/dom/checkin/TextSyncTest.java b/v2/test/src/dom/checkin/TextSyncTest.java
deleted file mode 100755
index d96ed0f..0000000
--- a/v2/test/src/dom/checkin/TextSyncTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-
-public class TextSyncTest extends TextTest {
-    public TextSyncTest(String s) {
-        super(s);
-    }
-
-    public static Test suite() {
-        return new TestSuite(TextSyncTest.class);
-    }
-
-    public void setUp() throws Exception {
-        super.loadSync();
-        super.moveToNode();
-    }
-
-}
diff --git a/v2/test/src/dom/checkin/TextTest.java b/v2/test/src/dom/checkin/TextTest.java
deleted file mode 100755
index 178c9b0..0000000
--- a/v2/test/src/dom/checkin/TextTest.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*   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.
- */
-
-
-package dom.checkin;
-
-
-
-import dom.common.CharacterDataTest;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Node;
-import org.w3c.dom.Text;
-import xmlcursor.common.Common;
-
-
-/**
- *
- *
- */
-
-public class TextTest extends CharacterDataTest {
-
-    public TextTest(String s) {
-        super(s);
-        sXml = Common.XML_FOO_BAR_TEXT_EXT;
-    }
-
-    public static Test suite() {
-        return new TestSuite(TextTest.class);
-    }
-
-
-    public void testNodeName() {
-        assertEquals("#text", m_node.getNodeName());
-    }
-
-    public void testNodeType() {
-        assertEquals(Node.TEXT_NODE, m_node.getNodeType());
-    }
-
-
-    public void testNodeValue() {
-        assertEquals("extended", m_node.getNodeValue());
-    }
-
-
-    public void testNextSibling() {
-        Node nxtSibling = m_node.getNextSibling();
-        assertEquals(null, nxtSibling);
-    }
-
-    public void testPreviousSibling() {
-        Node prSibling = m_node.getPreviousSibling();
-        assertEquals("bar", prSibling.getLocalName());
-        assertEquals("text", ((Text) prSibling.getFirstChild()).getData());
-    }
-
-    public void testParent() {
-        Node parent = m_node.getParentNode();
-        assertEquals(m_doc.getFirstChild(), parent);
-        assertEquals("foo", parent.getLocalName());
-    }
-
-
-    public void testSplitTextNegative() {
-        try {
-            ((Text) m_node).splitText(-1);
-            fail("Deleting OOB chars");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-        }
-    }
-
-    public void testSplitTextLarge() {
-        try {
-            ((Text) m_node).splitText(((Text) m_node).getLength() + 1);
-            fail("Deleting OOB chars");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-        }
-    }
-
-    public void testSplitText() {
-        Node parent = m_node.getParentNode();
-        int nChildCount = parent.getChildNodes().getLength();
-        ((Text) m_node).splitText(2);
-        assertEquals(nChildCount + 1, parent.getChildNodes().getLength());
-    }
-
-    public void testSplitTextBorder() {
-        Node parent = m_node.getParentNode();
-        int nChildCount = parent.getChildNodes().getLength();
-        ((Text) m_node).splitText(((Text) m_node).getLength());
-        assertEquals(nChildCount + 1, parent.getChildNodes().getLength());
-        ((Text) m_node).splitText(0);
-        assertEquals(nChildCount + 2, parent.getChildNodes().getLength());
-    }
-    //code coverage case; not sure why it's important
-       public void testSplitTextNoParent() {
-        m_node=m_doc.createTextNode("foobar");
-        ((Text) m_node).splitText(3);
-        assertEquals("foo", m_node.getNodeValue());
-    }
-
-    public void testSetNodeValue() {
-        m_node.setNodeValue("new text value");
-        assertEquals("new text value", m_node.getNodeValue());
-    }
-
-    public void moveToNode() {
-        m_node = m_doc.getFirstChild().getChildNodes().item(1);//"extended"
-    }
-
-    public void setUp() throws Exception {
-        super.setUp();
-        moveToNode();
-    }
-}
diff --git a/v2/test/src/dom/common/CharacterDataTest.java b/v2/test/src/dom/common/CharacterDataTest.java
deleted file mode 100755
index ace94c0..0000000
--- a/v2/test/src/dom/common/CharacterDataTest.java
+++ /dev/null
@@ -1,380 +0,0 @@
-/*   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.
- */
-
-
-package dom.common;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.CharacterData;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Node;
-
-
-public abstract class CharacterDataTest extends NodeTest {
-
-    String NULL = "";
-
-    public static Test suite() {
-        return new TestSuite(CharacterDataTest.class);
-    }
-
-
-    public CharacterDataTest(String s) {
-        super(s);
-    }
-
-    public void testAppendChild() {
-        Node newChild = m_doc.createElement("foo");
-        try {
-            ((CharacterData) m_node).appendChild(newChild);
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    //super method not relevant
-    public void testInsertBefore() {
-        Node newChild = m_doc.createElement("foo");
-        assertEquals(false, m_node.hasChildNodes());
-        Node nullNode = m_node.getFirstChild();
-        try {
-            ((CharacterData) m_node).insertBefore(newChild, nullNode);
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    public void testRemoveChild() {
-        assertEquals(false, m_node.hasChildNodes());
-    }
-
-    public void testReplaceChild() {
-        Node newChild = m_doc.createElement("foo");
-        assertEquals(false, m_node.hasChildNodes());
-        if (m_node.getFirstChild() != null)
-            try {
-                ((CharacterData) m_node).replaceChild(newChild, m_node.getFirstChild());
-            } catch (DOMException de) {
-                if (DOMException.HIERARCHY_REQUEST_ERR != de.code)
-                    throw de;
-            }
-
-    }
-
-
-    public void testAppendData() {
-        String sOrig = ((CharacterData) m_node).getData();
-        String sNewData = "some new data";
-        ((CharacterData) m_node).appendData(sNewData);
-        String sExpected = sOrig + sNewData;
-        if (!(sExpected.equals(((CharacterData) m_node).getData())))
-            fail(" Expected " + sExpected + " but got " + ((CharacterData) m_node).getData());
-    }
-
-    public void testAppendDataNull() {
-        String sOrig = ((CharacterData) m_node).getData();
-        String sNewData = "";
-        ((CharacterData) m_node).appendData(sNewData);
-        assertEquals(sOrig + sNewData, ((CharacterData) m_node).getData());
-
-        sNewData = null;
-        ((CharacterData) m_node).appendData(sNewData);
-        assertEquals(sOrig, ((CharacterData) m_node).getData());
-
-    }
-
-
-    public void testDeleteDataNegOff() {
-        _testDeleteData(-1, 10);
-    }
-
-    public void testDeleteDataNegLen() {
-        _testDeleteData(1, -10);
-    }
-
-    public void testDeleteDataLargeOff() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testDeleteData(nDataLen + 1, 10);
-
-    }
-
-    public void testDeleteDataLargeLen() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testDeleteData(0, nDataLen + 30);
-    }
-
-
-    public void testDeleteDataAverage() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testDeleteData(0, nDataLen / 2);
-    }
-
-    private void _testDeleteData(int offset, int count) {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        if (offset < 0 || offset > nDataLen || count < 0)
-            try {
-                ((CharacterData) m_node).deleteData(offset, count);
-                fail("Deleting OOB chars");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-            }
-        else {
-            ((CharacterData) m_node).deleteData(offset, count);
-            if (count == 0)
-                assertEquals(sData, ((CharacterData) m_node).getData());
-            else if (offset + count == nDataLen || (offset + count) > nDataLen)
-                assertEquals("", ((CharacterData) m_node).getData());
-            else if (offset == 0) {
-                assertEquals(sData.substring(count, sData.length()), ((CharacterData) m_node).getData());
-
-            } else
-                assertEquals(sData.substring(0, offset) + sData.substring(offset + count, sData.length() - (offset + count)), ((CharacterData) m_node).getData());
-        }
-    }
-
-
-    public void testGetData() {
-        char[] buff = new char[200];
-        java.util.Arrays.fill(buff, 'a');
-        ((CharacterData) m_node).setData(new String(buff));
-        try {
-            assertEquals(new String(buff), ((CharacterData) m_node).getData());
-
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.DOMSTRING_SIZE_ERR);
-        }
-    }
-
-
-    public void testGetLength() {
-        int nDataLen = ((CharacterData) m_node).getData().length();
-        assertEquals(((CharacterData) m_node).getLength(), nDataLen);
-    }
-
-
-    public void testInsertNull() {
-
-        _testInsertData(0, null);
-    }
-
-    public void testInsertNeg() {
-        _testInsertData(-1, "foo");
-    }
-
-    public void testInsertOOB() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testInsertData(nDataLen + 2, "foo");
-    }
-
-    public void testInsertAverage() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testInsertData(nDataLen / 2, "foobar");
-    }
-
-    private void _testInsertData(int offset, String toInsert) {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        if (offset < 0 || offset > nDataLen)
-            try {
-                ((CharacterData) m_node).insertData(offset, toInsert);
-                fail("Inserting OOB chars");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-            }
-        else {
-            ((CharacterData) m_node).insertData(offset, toInsert);
-            if (toInsert == null)
-                assertTrue(sData.equals(((CharacterData) m_node).getData()));
-            else if (offset == nDataLen)
-                assertEquals(sData + toInsert, ((CharacterData) m_node).getData());
-            else {
-                System.out.println(nDataLen - offset);
-                System.out.println(offset);
-                System.out.println(offset + toInsert.length());
-                String s1 = sData.substring(0, offset);
-                String s2 = sData.substring(offset, nDataLen);
-                assertEquals(s1 + toInsert + s2
-                        , ((CharacterData) m_node).getData());
-            }
-        }
-    }
-
-
-    public void testReplaceDataNull() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        String repl = null;
-        _testReplaceData(0, nDataLen, repl);
-    }
-
-    public void testReplaceDataNegOff() {
-        _testReplaceData(-1, 3, "foo");
-    }
-
-    public void testReplaceDataNegCount() {
-        _testReplaceData(1, -3, "foo");
-    }
-
-     public void testReplaceDataZeroCount() {
-        _testReplaceData(1, 0, "foo");
-    }
-
-    public void testReplaceDataLargeOff() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testReplaceData(nDataLen + 1, 2, "foo");
-    }
-
-    public void testReplaceDataLargeCount() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testReplaceData(0, nDataLen + 2, "foo");
-    }
-
-    public void testReplaceDataLarge() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testReplaceData(nDataLen / 2, nDataLen / 2 + 1, "foo");
-    }
-
-    public void testReplaceDataAverage() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testReplaceData(nDataLen / 2, nDataLen / 2, "foobar");
-    }
-
-
-    private void _testReplaceData(int offset, int count, String newStr) {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        if (offset < 0 || offset > nDataLen || count < 0)
-            try {
-                ((CharacterData) m_node).replaceData(offset, count, newStr);
-                fail("Deleting OOB chars");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-            }
-        else {
-            ((CharacterData) m_node).replaceData(offset, count, newStr);
-            if (count == 0)
-                assertEquals(sData, ((CharacterData) m_node).getData());
-            else if (newStr == null)
-                assertEquals("", ((CharacterData) m_node).getData());
-            else if (offset + count == nDataLen || (offset + count) > nDataLen) {
-                String sOld = sData.substring(0, offset);
-                assertEquals(sOld + newStr, ((CharacterData) m_node).getData());
-
-            } else if (offset == 0)
-                assertEquals(sData.substring(count, sData.length() - count) + newStr, ((CharacterData) m_node).getData());
-            else
-                assertEquals(sData.substring(0, offset) + newStr + sData.substring(offset + count),
-                             ((CharacterData) m_node).getData());
-        }
-
-    }
-
-    public void testSetDataNull() {
-        String sNull = null;
-        ((CharacterData) m_node).setData(sNull);
-        assertEquals("", ((CharacterData) m_node).getData());
-    }
-
-    public void testSetData(String newData) {
-        ((CharacterData) m_node).setData(newData);
-        assertEquals(newData, ((CharacterData) m_node).getData());
-    }
-
-    //nothing happens here
-    public void testNormalize() {
-    }
-
-
-    public void testSubstringDataNegOff() {
-        _testSubstringData(-1, 10);
-    }
-
-    public void testSubstringDataNegLen() {
-        _testSubstringData(1, -10);
-    }
-
-    public void testSubstringDataLargeOff() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testSubstringData(nDataLen + 1, 10);
-
-    }
-
-    public void testSubstringDataLargeLen() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testSubstringData(0, nDataLen + 30);
-    }
-
-
-    public void testSubstringDataAverage() {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        _testSubstringData(0, nDataLen / 2);
-    }
-
-    private void _testSubstringData(int offset, int count) {
-        String sData = ((CharacterData) m_node).getData();
-        int nDataLen = sData.length();
-        String result;
-        if (offset < 0 || offset > nDataLen || count < 0)
-            try {
-                ((CharacterData) m_node).substringData(offset, count);
-                fail("Deleting OOB chars");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.INDEX_SIZE_ERR);
-            }
-        else {
-            result = ((CharacterData) m_node).substringData(offset, count);
-            if (count == 0)
-                assertEquals("", result);
-            else if (offset + count == nDataLen || (offset + count) > nDataLen)
-                assertEquals(sData, result);
-            else
-                assertEquals(sData.substring(offset, count), result);
-        }
-    }
-
-    public void testSetNodeValue() {
-        fail("Override");
-    }
-
-
-    public void testSetPrefix() {
-        try {
-            m_node.setPrefix("foobar");
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-        assertEquals("", m_node.getPrefix());
-
-    }
-}
-
-
-
-
-
diff --git a/v2/test/src/dom/common/DomUtils.java b/v2/test/src/dom/common/DomUtils.java
deleted file mode 100755
index 7cbf1a1..0000000
--- a/v2/test/src/dom/common/DomUtils.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-import org.w3c.dom.Attr;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-
-
-public  class DomUtils{
-
-
-     /**
-     * @return true if sets are the same
-     */
-    public static boolean compareNamedNodeMaps(NamedNodeMap atrSet1,NamedNodeMap atrSet2){
-	if (atrSet1==null)
-	    if (atrSet2==null) return true;
-	    else return false;
-	else if (atrSet2==null) return false;
-
-	int nLen1=atrSet1.getLength();
-	Attr at1,
-	    at2;
-
-	if (nLen1!=atrSet2.getLength())
-	    return false;
-	for (int i=0;i<nLen1;i++){
-	    at1=(Attr)atrSet1.item(i);
-	    at2=(Attr)atrSet2.getNamedItem(at1.getName());
-	    if (at2==null) return false;
-	    else if (!
-		     (at1.getNodeName().equals(at2.getNodeName())) &&
-		     (at1.getNamespaceURI().equals(at2.getNamespaceURI())) &&
-		     (at1.getValue().equals(at2.getValue()))
-		     )
-		return false;
-	    else if (at1==at2) return false;
-	}
-	return true;
-    }
-    /**
-     * node is a copy
-     * children are the same obj
-     */
-    public static boolean compareNodesShallow(Node n1,Node n2){
-	return (
-		n1.getNodeName().equals(n2.getNodeName()) &&
-		n1.getNamespaceURI().equals(n2.getNamespaceURI()) &&
-		n1.getPrefix().equals( n2.getPrefix()) &&
-		compareNamedNodeMaps(n1.getAttributes(),n2.getAttributes())
-		// cloned nodes never have children
-                //  && compareNodeTreePtr(n1.getChildNodes(),n2.getChildNodes())
-		 );
-    }
-    //equates "" to null
-                         private static boolean compareNull(String pre1, String pre2){
-                             if (pre1==null && pre2==null)return true;
-                             if (pre1==null && pre2.equals(""))return true;
-                             if (pre1.equals("") && pre2==null)return true;
-                             else return pre1.equals(pre2) ;
-
-
-                         }
-    /**
-     * node is a copy
-     * children copies
-     */
-    public static boolean compareNodesDeep(Node n1,Node n2) throws IllegalStateException{
-	if( n1==n2 && n1==null) return true;
-    if (n1==null && n2!=null || n2==null && n1!=null)return false;
-	if (! (n1.getNodeName().equals(n2.getNodeName()) &&
-		compareNull(n1.getNamespaceURI(),n2.getNamespaceURI()) &&
-		compareNull(n1.getPrefix(), n2.getPrefix()) )
-	    )
-	    throw new IllegalStateException("Diff QNames "+n1.getNamespaceURI()+" * "+n1.getPrefix()+":"+n1.getNodeName()+
-					   "AND "+n2.getNamespaceURI()+" * "+n2.getPrefix()+":"+n2.getNodeName());
-	else if ( !compareNamedNodeMaps(n1.getAttributes(),n2.getAttributes()) )
-	    throw new IllegalStateException("Diff Attrs "+n1.getAttributes().getLength()+
-					   "AND "+n2.getAttributes().getLength());
-
-	else if  (n1.hasChildNodes()     //Xerces attr quirk
-                && n2.hasChildNodes() ){
-                if (! compareNodeTreeValue(n1.getChildNodes(),n2.getChildNodes()) )
-	                throw new IllegalStateException("Diff Children "+n1.getNodeName()+
-					   "AND "+n2.getNodeName());
-        }
-   else  if (n1.hasChildNodes()     //Xerces attr quirk
-                ^ n2.hasChildNodes() )
-        throw new IllegalStateException("One node has Children, other one not ");
-
-
-
-	return true;
-    }
-
-    /** the two node lists really are the same list*/
-    public static boolean compareNodeTreePtr(NodeList lst1,NodeList lst2){
-	if (lst1.getLength()!=lst2.getLength())
-	    return false;
-
-	for (int i=0;i<lst1.getLength();i++){
-	    if (lst1.item(i)!=lst2.item(i))
-		return false;
-	}
-	return true;
-    }
-
-    public static boolean compareNodeTreeValue(NodeList lst1,NodeList lst2){
-	if (lst1.getLength()!=lst2.getLength())
-	    return false;
-	boolean result=true;
-	for (int i=0;i<lst1.getLength();i++){
-	    result=result&&compareNodesDeep(lst1.item(i),
-					    lst2.item(i));
-
-	    }
-	return result;
-	}
-
-}
diff --git a/v2/test/src/dom/common/Loader.java b/v2/test/src/dom/common/Loader.java
deleted file mode 100755
index e8e3745..0000000
--- a/v2/test/src/dom/common/Loader.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-
-
-public abstract class Loader{
-
-    public static Loader getLoader(){
-        return new NewLoader();
-    }
-      public abstract  org.w3c.dom.Document load(String sXml);
-    public abstract  org.w3c.dom.Document loadSync(String sXml);
-
-}
diff --git a/v2/test/src/dom/common/NewLoader.java b/v2/test/src/dom/common/NewLoader.java
deleted file mode 100755
index 3b93254..0000000
--- a/v2/test/src/dom/common/NewLoader.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-
-
-public class NewLoader extends Loader{
-
-    public org.w3c.dom.Document load(String sXml){
-        return (org.w3c.dom.Document)Public2.parse(sXml);
-    }
-      public org.w3c.dom.Document loadSync(String sXml){
-           org.w3c.dom.Document doc=load(sXml);
-          Public2.setSync(doc,true);
-          return doc;
-
-      }
-}
diff --git a/v2/test/src/dom/common/NodeTest.java b/v2/test/src/dom/common/NodeTest.java
deleted file mode 100755
index 7656c81..0000000
--- a/v2/test/src/dom/common/NodeTest.java
+++ /dev/null
@@ -1,399 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-import junit.framework.TestCase;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
-
-import java.io.StringReader;
-
-
-public abstract class NodeTest extends TestCase implements
-       TestSetup {
-    protected Node m_node;
-
-    protected Document m_doc;
-    protected String sXml;
-
-    protected Document m_docNS;
-    protected String sXmlNS;
-    //attributes
-
-    public NodeTest(String s) {
-        super(s);
-    }
-
-    public final void testInherited() {
-    };
-    public abstract void testNodeName();
-
-    public abstract void testNodeType();
-
-    public abstract void testNodeValue();
-
-    public abstract void testParent();
-
-    public abstract void testPreviousSibling();
-
-    public abstract void testNextSibling();
-
-    public void testOwnerDocument() {
-        assertEquals(m_doc, m_node.getOwnerDocument());
-    }
-
-    public void testPrefix() {
-        assertFalse(m_node == null);
-        //assertEquals(null,m_node.getPrefix());
-        assertEquals("", m_node.getPrefix());
-    }
-
-    public void testNamespaceUri() {
-        assertFalse(m_node == null);
-        //assertEquals(null,m_node.getNamespaceURI());
-        assertEquals("", m_node.getNamespaceURI());
-    }
-
-    public void testLocalName() {
-        assertFalse(m_node == null);
-        //assertEquals(null,m_node.getLocalName());
-        assertEquals("", m_node.getLocalName());
-    }
-
-    //0 length list as of API
-    public void testGetChildNodes() {
-        assertEquals(0, m_node.getChildNodes().getLength());
-    }
-
-    public void testFirstChild() {
-        assertEquals(null, m_node.getFirstChild());
-    }
-
-    public void testLastChild() {
-        assertEquals(null, m_node.getLastChild());
-    }
-
-    public abstract void testAppendChild();
-
-    /**
-     * pathologic cases: newChild is m_node or an ancestor
-     * newChild is from a different document
-     * newChild is not allowed at this pos
-     */
-    public void testAppendChild(Node newChild) {
-        Node inserted = m_node.appendChild(newChild);
-        if (newChild.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE)
-            assertEquals(true, compareNodeListPrefix(newChild.getChildNodes(), m_node.getChildNodes()));
-        else
-            assertEquals(inserted, m_node.getLastChild());
-        if (isInTree(m_node, newChild)) //new child is in the tree
-        //$NOTE: assert the child is removed first
-            ;
-    }
-
-    /**
-     * $NOTE:
-     * override for Element;
-     * override for Attribute
-     * $TODO: ER results in a mutable copy
-     */
-    public void testCloneNode() {
-
-        Node m_clone;
-        /**not implemented : Eric */
-         m_clone=m_node.cloneNode(false);
-         assertEquals(true, DomUtils.compareNodesShallow(m_node, m_clone));
-//         assertEquals(true, DomUtils.compareNodeTreePtr(m_clone.getChildNodes(),m_node.getChildNodes())); //ptr eq for ch.
-         assertEquals(false,m_clone==m_node);
-
-
-        m_clone = m_node.cloneNode(true);
-        assertEquals(true, DomUtils.compareNodesDeep(m_node, m_clone)); //deep clone: should do for whole tree, not just ch.
-        assertEquals(false, m_clone == m_node);
-
-        assertEquals(null, m_clone.getParentNode());
-    }
-
-    public abstract void testInsertBefore();
-
-
-
-    public void testInsertBefore(Node newChild, Node refChild) {
-
-        int newChPos = getChildPos(m_node, newChild);
-        int pos = getChildPos(m_node, refChild);
-        Node prevParent = null;
-        if (newChPos > -1)
-            prevParent = newChild.getParentNode();
-        NodeList childNodes = m_node.getChildNodes();
-        int nOrigChildNum = childNodes.getLength(); //get it now, List is live
-
-
-        if (newChild == null) {
-            try {
-                m_node.insertBefore(newChild, refChild);
-                fail("Inserting null");
-            } catch (IllegalArgumentException e) {
-                return;
-            }
-        }
-        Node inserted = m_node.insertBefore(newChild, refChild);
-
-
-        if (refChild == null)
-            assertEquals(inserted, m_node.getLastChild());
-        else if (pos == -1)//would have thrown exc
-            fail("Inserting after fake child");
-        else if (newChild.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE)
-            assertEquals(true, compareNodeListPrefix(newChild.getChildNodes(), m_node.getChildNodes()));
-        else if (newChPos != -1) //new child is in the tree
-        //assert the child is removed first
-            assertEquals(false, inserted.getParentNode().equals(prevParent));
-        else {
-            assertEquals(newChild, childNodes.item(pos));
-            assertEquals(nOrigChildNum + 1, m_node.getChildNodes().getLength());
-        }
-
-    }
-
-    /**
-     * $NOTE: override for element
-     */
-    public void testGetAttributes() {
-        assertEquals(null, m_node.getAttributes());
-    }
-
-
-    public void testHasChildNodes() {
-        int i = m_node.getChildNodes().getLength();
-        if (i > 0)
-            assertEquals(true, m_node.hasChildNodes());
-        else
-            assertEquals(false, m_node.hasChildNodes());
-    }
-
-
-    //Override for Element
-    public void testHasAttributes() {
-        assertEquals(false, m_node.hasAttributes());
-    }
-
-
-    public void testIsSupported() {
-        String[] features=new String[]{
-            "Core","XML","Events","MutationEvents","Range","Traversal","HTML","Views","StyleSheets","CSS","CSS2","UIEvents","HTMLEvents"
-        };
-        boolean bResult=true;
-        for (int i=0;i<features.length;i++){
-            if (i>1) bResult=false;
-            System.out.println("============== "+features[i]+" ============="+bResult);
-            assertEquals(bResult,m_node.isSupported(features[i],"2.0"));
-        }
-
-    }
-
-    public void testNormalize() {
-        fail("Test Not implemented");
-    }
-
-
-    /**
-     * pathological cases:
-     * node is read-only
-     * node is not a child of this node
-     */
-    public abstract void testRemoveChild();
-
-    public void testRemoveChild(Node removed) {
-        int pos = getChildPos(m_node, removed);
-        int len = m_node.getChildNodes().getLength();
-        if (removed == null)
-            try {
-                m_node.removeChild(removed);
-                fail("Should not be Removing non-existing node");
-            } catch (DOMException de) {
-                assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-            }
-        else if (pos == -1)
-            try {
-                m_node.removeChild(removed);
-                fail("Removing non-existing node");
-            } catch (DOMException de) {
-                throw de;
-            }
-        else {
-            m_node.removeChild(removed);
-            assertEquals(len - 1, m_node.getChildNodes().getLength());
-        }
-
-    }
-
-
-    public abstract void testReplaceChild();
-
-    /**
-     * pathological cases:
-     * node is DocFrag
-     * node is already in tree
-     */
-    public void testReplaceChild(Node newChild, Node oldChild) {
-        int pos = getChildPos(m_node, oldChild);
-        boolean existing = isInTree(m_doc.getDocumentElement(), newChild); //new Child has a parent
-
-        int len = m_node.getChildNodes().getLength();
-
-
-        if (newChild == null) {
-            try {
-                m_node.replaceChild(newChild, oldChild);
-                fail("Inserting null");
-            } catch (IllegalArgumentException e) {
-            }
-        } else if (pos == -1) {
-            try {
-                m_node.replaceChild(newChild, oldChild);
-                fail("Replacing non-existing node");
-            } catch (DOMException de) {
-                if (DOMException.NOT_FOUND_ERR != de.code)
-                    throw de;
-            }
-        } else if (existing) {
-            Node oldParent = newChild.getParentNode();
-            NodeList old = m_node.getChildNodes();
-            assertEquals(oldChild, m_node.replaceChild(newChild, oldChild));
-            assertFalse(newChild.getParentNode().equals(oldParent));
-        } else if (newChild == null) { //is this equivalent to deletion?
-            m_node.replaceChild(newChild, oldChild);
-            assertEquals(len - 1, m_node.getChildNodes().getLength());
-        } else if (newChild.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE) {
-            int new_len = newChild.getChildNodes().getLength();
-            assertEquals(oldChild, m_node.replaceChild(newChild, oldChild));
-            assertEquals(new_len + len - 1, m_node.getChildNodes().getLength());//new+old-one replaced
-        } else
-            m_node.replaceChild(newChild, oldChild);
-
-
-    }
-
-    public abstract void testSetNodeValue();
-
-    //$NOTE:override for element and attribute
-    public void testSetPrefix() {
-        //any prefix here is invalid
-        String val = null;
-        val = ""; //Eric's default
-        String oldPrefix = m_node.getPrefix();
-        m_node.setPrefix(val);
-        assertEquals(val, m_node.getPrefix());
-    }
-
-    public static int getChildPos(Node node, Node child) {
-        if (child == null) return -1;
-        NodeList ch = node.getChildNodes();
-        for (int i = 0; i < ch.getLength(); i++)
-            if (ch.item(i) == child)
-                return i;
-        return -1;
-    }
-
-    public static boolean isInTree(Node root, Node find) {
-        if (find == null) return false;
-        if (root == null) return false;
-        if (root == find) return true;
-        NodeList ch = root.getChildNodes();
-        boolean temp_res = false;
-        for (int i = 0; i < ch.getLength(); i++)
-            temp_res = temp_res || isInTree(ch.item(i), find);
-        return temp_res;
-    }
-
-    public static boolean compareNodeList(NodeList l1, NodeList l2) {
-        if (l1.getLength() != l2.getLength()) return false;
-        for (int i = 0; i < l1.getLength(); i++)
-            if (l1.item(i) != l2.item(i)) //pointer eq
-                return false;
-        return true;
-    }
-
-    //l1 is a prefix of l2
-    public static boolean compareNodeListPrefix(NodeList l1, NodeList l2) {
-        if (l1.getLength() > l2.getLength()) return false;
-        for (int i = 0; i < l1.getLength(); i++)
-            if (l1.item(i) != l2.item(i)) //pointer eq
-                return false;
-        return true;
-    }
-
-    public void loadSync() throws Exception {
-        _loader = Loader.getLoader();
-
-        if (sXml == null && sXmlNS == null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-        m_doc = (org.w3c.dom.Document) _loader.loadSync(sXml);
-        if (sXmlNS != null && sXmlNS.length() > 0)
-            m_docNS = (org.w3c.dom.Document) _loader.loadSync(sXmlNS);
-
-    }
-
-    
-     public static Node getApacheNode(String sXml,boolean namespace,char type)
-            throws Exception{
-        org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sXml)));
-	Document doc = parser.getDocument();
-
-        String name="apache_node";
-        String nsname="pre:apache_node";
-        String uri="uri:apache:test";
-
-        switch(type){
-        case 'A':
-            if (namespace)
-                return doc.createAttributeNS(uri,nsname);
-            else
-                return doc.createAttribute(name);
-        case 'E':
-             if (namespace)
-                 return  doc.createElementNS(uri,nsname);
-             else  return  doc.createElement(name);
-        default: return  doc.createTextNode(name);
-
-        }
-   
-    }
-
-
-    public abstract void moveToNode();
-
-    //exposing a node for other tests...saver in particular
-    public Node getNode(){
-        return m_node;
-    }
-    public void setUp() throws Exception {
-        //m_doc=(org.w3c.dom.Document)org.apache.xmlbeans.XmlObject.Factory.parse(xml).newDomNode();
-        _loader = Loader.getLoader();
-
-        if (sXml == null && sXmlNS == null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-        m_doc = (org.w3c.dom.Document) _loader.load(sXml);
-        if (sXmlNS != null && sXmlNS.length() > 0)
-            m_docNS = (org.w3c.dom.Document) _loader.load(sXmlNS);
-    }
-
-    private Loader _loader;
-}
-
diff --git a/v2/test/src/dom/common/NodeWithChildrenTest.java b/v2/test/src/dom/common/NodeWithChildrenTest.java
deleted file mode 100755
index b85e22d..0000000
--- a/v2/test/src/dom/common/NodeWithChildrenTest.java
+++ /dev/null
@@ -1,403 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-import org.w3c.dom.*;
-
-
-
-
-public abstract class NodeWithChildrenTest extends NodeTest {
-
-
-    public NodeWithChildrenTest(String s) {
-        super(s);
-    }
-
-    public void testRemoveChildEnd() {
-        Node node = m_node.getLastChild();
-        super.testRemoveChild(node);
-
-    }
-
-    public void testRemoveChild() {
-        NodeList children = m_node.getChildNodes();
-        int pos = children.getLength() / 2;
-        Node node = children.item(pos);
-        super.testRemoveChild(node);
-
-    }
-
-
-    public void testRemoveChildDiffImpl() throws Exception {
-
-        Node toRemove=NodeTest.getApacheNode(sXml,true,'E');
-        try {
-             super.testRemoveChild(toRemove);
-            fail("Removing node from a different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-    }
-
-    public void testRemoveChildDiffDoc() throws Exception {
-        Node toRemove=m_docNS.getDocumentElement();
-        try {
-            super.testRemoveChild(toRemove);
-            fail("Removing node from a different doc");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-    }
-
-
-
-    public void testRemoveChildFront() {
-        Node node = m_node.getFirstChild();
-        super.testRemoveChild(node);
-
-    }
-
-    public void testRemoveChildNull() {
-        super.testRemoveChild(null);
-    }
-
-    public void testReplaceChild() {
-        NodeList children = m_node.getChildNodes();
-        int pos = children.getLength() / 2;
-        Node newNode;
-        if (m_node instanceof Document)
-               newNode= m_doc.createElement("fooBAR");
-        else
-                 newNode=m_doc.createTextNode("fooBAR");
-        Node node = children.item(pos);
-        super.testReplaceChild(newNode, node);
-
-    }
-
-    public void testReplaceChildEnd() {
-        Node node = m_node.getLastChild();
-        Node newNode = m_doc.createTextNode("fooBAR");
-        super.testReplaceChild(newNode, node);
-    }
-
-    public void testReplaceChildFront() {
-        Node node = m_node.getFirstChild();
-        Node newNode = m_doc.createTextNode("fooBAR");
-        super.testReplaceChild(newNode, node);
-    }
-
-    public void testReplaceChildNullChild() {
-        Node node = m_node.getChildNodes().item(0);
-        Node newNode = null;
-        assertFalse(null == node);
-        super.testReplaceChild(newNode, node);
-    }
-
-    public void testReplaceChildNull() {
-        Node node = null;
-        Node newNode;
-        if (m_node instanceof Document)
-            newNode = ((Document) m_node).createElement("fooBAR");
-        else
-            newNode = m_node.getOwnerDocument().createElement("fooBAR");
-        super.testReplaceChild(newNode, node);
-    }
-
-    public void testReplaceChildDNE() {
-
-        if (!(m_doc instanceof Document))
-            assertEquals(m_doc, m_node.getOwnerDocument());
-
-        //node to replace is not a child
-        Node node =m_doc.createElement("foobar");
-        Node newNode = m_doc.createElement("fooBAR");
-        try {
-            super.testReplaceChild(newNode, node);
-        } catch (DOMException de) {
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);//Raised if oldChild is not a child of this node.
-        }
-
-         //newChild was created from a different document than the one that created this node
-
-        newNode = m_docNS.createElement("fooBAR");
-        assertFalse(m_docNS.equals(m_node.getOwnerDocument()));
-        try {
-            super.testReplaceChild(newNode, node);
-            fail("Node is from the wrong document");
-        } catch (DOMException de) {
-            assertEquals(DOMException.WRONG_DOCUMENT_ERR, de.code);
-        }
-       //refChild was created from a different document than the one that created this node
-
-          node = m_docNS.createElement("fooBAR");
-            newNode=m_doc.createElement("fooBAR");
-        try {
-            super.testReplaceChild(newNode, node);
-            fail("Node is from the wrong document");
-        } catch (DOMException de) {
-            assertTrue(
-                          (DOMException.WRONG_DOCUMENT_ERR == de.code)
-                           || (DOMException.NOT_FOUND_ERR == de.code)
-                    );
-        }
-
-    }
-
-
-    // public void testInsertBeforeDiffDoc(){}:done above
-
-    public void testReplace_replacement_DiffImpl() throws Exception {
-        Node node = m_node.getFirstChild();
-        Node newnode=NodeTest.getApacheNode(sXml,true,'T');
-        try {
-            super.testReplaceChild(newnode, node);
-            fail("Inserting node created from a different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-    }
-
-    //ref child is diff impl
-    public void testReplace_target_DiffImpl() throws Exception {
-        Node node =NodeTest.getApacheNode(sXml,true,'E');
-        Node newnode=m_node.getFirstChild();
-        try {
-            super.testReplaceChild(newnode, node);
-            fail("Inserting node created from a different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-    }
-
-    public void testReplaceChildDocFrag() {
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createElement("foo"));
-        child.appendChild(m_doc.createElement("foobar"));
-        Node toReplace = m_node.getFirstChild();
-        super.testReplaceChild(child, toReplace);
-    }
-
-    public void testInsertBefore() {
-        Node target = m_node.getFirstChild();
-        Node child = m_doc.createElementNS("org.foo.www", "foonode");
-        assertFalse(target == null);
-        super.testInsertBefore(child, target);
-    }
-
-    public void testInsertBeforeNullTarget() {
-        Node child = m_doc.createElementNS("org.foo.www", "foonode");
-        super.testInsertBefore(child, null);
-    }
-
-    public void testInsertBeforeInvalidRefNode() {
-        Node child = m_doc.createElementNS("org.foo.www", "foonode");
-        Node target = m_doc.createElement("foo");
-        try {
-            super.testInsertBefore(child, target);
-            fail("Insert cannot happen");
-        } catch (DOMException de) {
-            System.err.println(de.getMessage() + " " + de.code);
-            assertEquals(DOMException.NOT_FOUND_ERR, de.code);
-        }
-    }
-
-    public void testInsertBeforeNewChildDiffDoc(){
-        Node target = m_node.getFirstChild();
-        Node toInsert=m_docNS.getDocumentElement();
-         try {
-             super.testInsertBefore(toInsert, target);
-            fail("Inserting node created from a different doc");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-
-    }
-
-    public void testInsertBeforeNewChildDiffImpl() throws Exception {
-        Node target = m_node.getFirstChild();
-        Node toInsert=NodeTest.getApacheNode(sXml,true,'T');
-        try {
-            super.testInsertBefore(toInsert, target);
-            fail("Inserting node created from a different impl");
-        } catch (DOMException de) {
-            assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-        }
-
-    }
-
-    public void testInsertBeforeRefChildDiffDoc(){
-            Node target = m_docNS.getDocumentElement();
-            Node toInsert= m_node.getFirstChild();;
-             try {
-                 super.testInsertBefore(toInsert, target);
-                fail("Ref Child from a different doc");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-            }
-
-
-        }
-
-        public void testInsertBeforeRefChildDiffImpl() throws Exception {
-            Node target = NodeTest.getApacheNode(sXml,true,'T');
-            Node toInsert=m_node.getFirstChild();;
-            try {
-                super.testInsertBefore(toInsert, target);
-                fail("Inserting node created from a different impl");
-            } catch (DOMException de) {
-                assertEquals(de.code, DOMException.WRONG_DOCUMENT_ERR);
-            }
-
-        }
-
-
-    public void testInsertBeforeNullChild() {
-        Node target = m_doc.createElement("foo");
-        super.testInsertBefore(null, target);
-    }
-
-    public void testAppendChildExisting() {
-        Node child = m_doc.getFirstChild();
-        if (child == m_node)
-            child = m_doc.getLastChild();
-        //if still the same, SOL
-
-        super.testAppendChild(child);
-    }
-
-    public void testInsertExistingNode() {
-        Node target = m_node.getFirstChild();
-        Node child = m_doc.getFirstChild();
-        assertFalse(target == null || child == null);
-        super.testInsertBefore(child, target);
-    }
-
-    public void testInsertBeforeDocFrag() {
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createElement("foo1"));
-        Node target = m_node.getFirstChild();
-        super.testInsertBefore(child, target);
-    }
-
-    public void testAppendChild() {
-        Node newNode = m_doc.createElement("foo");
-        super.testAppendChild(newNode);
-    }
-
-    //try to append the parent
-    public void testAppendChildIllegal0() {
-        Node parent = m_node.getFirstChild();
-        m_node = m_node.getFirstChild();
-        try {
-            super.testAppendChild(parent);
-            fail("Appending parent ");
-        } catch (DOMException de) {
-            assertEquals(DOMException.HIERARCHY_REQUEST_ERR, de.code);
-        }
-    }
-
-    //try to insert diff doc
-    public void testAppendChildIllegal1() {
-        Node newNode = m_docNS.createElement("newNode");
-        try {
-            super.testAppendChild(newNode);
-            fail("Appending wrong doc");
-        } catch (DOMException de) {
-            assertEquals(DOMException.WRONG_DOCUMENT_ERR, de.code);
-        }
-    }
-
-    //append doc frag
-    public void testAppendChildDocFrag() {
-        DocumentFragment child = m_doc.createDocumentFragment();
-        child.appendChild(m_doc.createElement("foo"));
-        super.testAppendChild(child);
-    }
-
-    //TODO  : not implemented
-    public void testNormalize() {
-
-        int nCount=m_node.getChildNodes().getLength();
-        String value="";
-        if (m_node.getLastChild() instanceof Text)
-            value=((Text)m_node.getLastChild()).getNodeValue();
-
-        int nExistingText=0;
-        for (int i=nCount-1; i > -1; i--)
-            if (m_node.getChildNodes().item(i) instanceof CharacterData)
-                   nExistingText++;
-        Node txt=m_doc.createTextNode("foo");
-        m_node.appendChild(txt);
-
-        txt=m_doc.createTextNode("");
-        m_node.appendChild(txt);
-        txt=m_doc.createTextNode(" bar");
-        m_node.appendChild(txt);
-
-        assertEquals(nCount+3,m_node.getChildNodes().getLength());
-
-        m_node.normalize();
-
-        assertEquals(true,(m_node.getLastChild() instanceof Text));
-       // if (value.length()==0)nCount++;//if last node was a text nCount stays the same
-        assertEquals(nCount-nExistingText+1,m_node.getChildNodes().getLength());
-
-        value+="foo bar";
-        assertEquals(value,m_node.getLastChild().getNodeValue());
-
-
-    }
-
-
-    public void testSetPrefixInvalid() {
-        //qualifiedName is malformed
-        try {
-            m_node.setPrefix("invalid<");
-            fail("Invalid prefix name--see http://www.w3.org/TR/REC-xml#NT-BaseChar");
-        } catch (DOMException de) {
-            assertEquals(DOMException.INVALID_CHARACTER_ERR, de.code);
-        }
-
-        //the qualifiedName has a prefix and the namespaceURI is null
-        try {
-
-            if (m_node.getNamespaceURI() == null) {
-                m_node.setPrefix("foo");
-                fail("Can not set prefix here");
-            } else {
-                m_node.setPrefix("xml");
-                fail("Xml is not a valid prefix here");
-            }
-        } catch (DOMException de) {
-            assertEquals(DOMException.NAMESPACE_ERR, de.code);
-        }
-
-    }
-
-    public void testSetNodeValue() {
-        int nCount = m_node.getChildNodes().getLength();
-        m_node.setNodeValue("blah");
-        assertEquals(nCount, m_node.getChildNodes().getLength());
-        for (int i = 0; i < nCount; i++)
-            assertEquals(false, ("blah".equals(m_node.getChildNodes().item(i).getNodeValue())));
-    }
-}
diff --git a/v2/test/src/dom/common/TestSetup.java b/v2/test/src/dom/common/TestSetup.java
deleted file mode 100755
index 037c639..0000000
--- a/v2/test/src/dom/common/TestSetup.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*   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.
- */
-
-package dom.common;
-
-public interface TestSetup{
-
-    public static boolean bDTD=false;
-}
diff --git a/v2/test/src/dom/detailed/AttrNamespaceTest.java b/v2/test/src/dom/detailed/AttrNamespaceTest.java
deleted file mode 100755
index 770a80d..0000000
--- a/v2/test/src/dom/detailed/AttrNamespaceTest.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
-/**
- * Tests conversion of regular attributes to namespaces and vv
- *
- *
- *
- */
-
-public class AttrNamespaceTest extends TestCase{
-    String sXml="<foo at0=\"nonsattr\"></foo>";
-    String sXmlNS="<foo xmlns:myns=\"http://foo.org\"><myns:bar/></foo>";
-    Document m_doc,
-	m_docNS;
-    Node m_node;
-
-
-    public AttrNamespaceTest(String name){
-	super(name);
-    }
-    public static Test suite() {
-	return new TestSuite(AttrNamespaceTest.class);
-    }
-
-    public void testDefaultNamespace(){
-	//assertEquals(true,((Element)m_node).hasAttribute("xmlns"));
-    }
-
-    public void testAttr2Namespace(){
-	Attr at=(Attr)((Element)m_node).getAttributeNode("at0");
-	String namespaceURI="http://foo.org";
-	String qualifiedName="xmlns:bar";
-	at.setValue(namespaceURI);
-	m_node.appendChild(m_doc.createElementNS(namespaceURI,qualifiedName));
-	Element bar=(Element)((Element)m_node).getElementsByTagNameNS(namespaceURI,"bar").item(0);
-	assertFalse(null==bar);
-	assertEquals(namespaceURI,bar.getNamespaceURI());
-	assertEquals(qualifiedName,bar.getNodeName());
-        /*
-	org.apache.xmlbeans.XmlCursor cur=Public2.getCursor(m_node);
-	assertFalse(cur.isAttr());
-	assertTrue(cur.isNamespace());
-	assertTrue(cur.isAnyAttr());
-	*/
-    }
-
-    public void testNamespace2Attr(){
-	m_node=m_docNS.getFirstChild();
-
-	int nAttrCount=((Element)m_node).getAttributes().getLength();
-	((Element)m_node).removeAttribute("xmlns:myns");
-	assertEquals(nAttrCount-1,((Element)m_node).getAttributes().getLength());//assertRemoved
-	((Element)m_node).setAttribute("myns","reg_attr_val");
-	Attr at=(Attr)((Element)m_node).getAttributeNode("myns");
-
-	assertEquals("reg_attr_val",at.getValue());
-	assertEquals("myns:bar",m_node.getFirstChild().getNodeName());
-
-	/*
-
-	if(!(m_node instanceof DomImpl))
-	    fail(m_node.getClass().toString());
-
-	org.apache.xmlbeans.XmlCursor  cur=Public2.getCursor(m_node);
-
-	assertFalse(cur.isNamespace());
-	assertTrue(cur.isAnyAttr());
-	assertTrue(cur.isAttr());
-	*/
-    }
-
-
-
-
-    public void setUp() throws Exception{
-
-	if (sXml==null && sXmlNS==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-        Loader loader=Loader.getLoader();
-	m_doc=(org.w3c.dom.Document)loader.load(sXml);
-	if(sXmlNS!=null && sXmlNS.length()>0)
-	    m_docNS=(org.w3c.dom.Document)loader.load(sXmlNS);
-	m_node=m_doc.getFirstChild();
-    }
-}
diff --git a/v2/test/src/dom/detailed/ImportUnsupportedNodesTest.java b/v2/test/src/dom/detailed/ImportUnsupportedNodesTest.java
deleted file mode 100755
index f597ce6..0000000
--- a/v2/test/src/dom/detailed/ImportUnsupportedNodesTest.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*   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.
- */
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.TestCase;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.xml.sax.InputSource;
-
-import java.io.StringReader;
-
-
-/**
- *
- *
- *
- */
-public class ImportUnsupportedNodesTest extends TestCase{
-    String sXml="<foo at0=\"no_ns_attr\"></foo>";
-    // String sXmlNS="<foo><foobar  xmlns:myns=\"http://foo.org\" xmlns:other=\"other.org\"><myns:bar/></foobar></foo>";
-    Document m_doc;
-    Node m_node;
-    String sER="<!DOCTYPE note [<!ENTITY ORG \"IICD\">] >"
-        +"<foo>&ORG;</foo>";
-
-    public  ImportUnsupportedNodesTest(String name){
-	super(name);
-    }
-
-    public void testImportEnitityNode()throws Exception{
-	org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sER)));
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-	Node toImport=xercesDocument.getDoctype().getEntities().item(0);
-	assertEquals(Node.ENTITY_NODE,toImport.getNodeType());
-        Node importedNode  ;
-    //try{
-	importedNode=m_doc.importNode(toImport, true);
-	m_node.insertBefore(importedNode,m_node.getFirstChild());
-
-	assertEquals(importedNode,m_node.getFirstChild());
-	assertEquals(Node.ENTITY_NODE,m_node.getFirstChild().getNodeType());
-
-    }
-
-    public void testImportERNode()throws Exception{
-	org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sER)));
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-	Node toImport=xercesDocument.getDocumentElement().getFirstChild();
-
-	assertEquals(Node.ENTITY_REFERENCE_NODE,toImport.getNodeType());
-	Node importedNode=m_doc.importNode(toImport, true);
-	m_node.insertBefore(importedNode,m_node.getFirstChild());
-
-	assertEquals(importedNode,m_node.getFirstChild());
-	assertEquals(Node.ENTITY_REFERENCE_NODE,m_node.getFirstChild().getNodeType());
-    }
-
-    /**
-     *   DOCUMENT_TYPE_NODE
-     *   cannot be imported.
-     */
-
-    public void testImportDocType() throws Exception{
-        org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sER)));
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-	Node toImport=xercesDocument.getDoctype();
-
-	try{
-	Node importedNode=m_doc.importNode(toImport, true);
-        fail("can't import DocType Node");
-        }catch (DOMException e){
-
-        }
-	try{
-	Node importedNode=m_doc.importNode(toImport, false);
-        fail("can't import DocType Node");
-        }catch (DOMException e){
-
-        }
-     }
-
-     public void testImportCDATAType() throws Exception{
-        org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-        parser.parse(new InputSource(new StringReader(sER)));
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-        Node toImport= xercesDocument.createCDATASection("My < CData");
-	xercesDocument.getDocumentElement().appendChild(toImport);
-
-	assertEquals(Node.CDATA_SECTION_NODE,toImport.getNodeType());
-	Node importedNode=m_doc.importNode(toImport, true);
-	m_node.insertBefore(importedNode,m_node.getFirstChild());
-
-	assertEquals(importedNode,m_node.getFirstChild());
-	assertEquals(Node.CDATA_SECTION_NODE,m_node.getFirstChild().getNodeType());
-
-
-	assertEquals(Node.CDATA_SECTION_NODE,toImport.getNodeType());
-	 importedNode=m_doc.importNode(toImport, false);
-	m_node.replaceChild(importedNode,m_node.getFirstChild());
-
-	assertEquals(importedNode,m_node.getFirstChild());
-	assertEquals(Node.CDATA_SECTION_NODE,m_node.getFirstChild().getNodeType());
-     }
-
-
-    //TODO: see if code coverage can help id gaps here...
-      public void setUp() throws Exception{
-
-          Loader _loader=Loader.getLoader();
-	if (sXml==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-	m_doc=(org.w3c.dom.Document)_loader.load(sXml);
-
-	m_node=m_doc.getFirstChild();
-    }
-
-}
-
diff --git a/v2/test/src/dom/detailed/InsertDeleteNodesTest.java b/v2/test/src/dom/detailed/InsertDeleteNodesTest.java
deleted file mode 100755
index 0bc117f..0000000
--- a/v2/test/src/dom/detailed/InsertDeleteNodesTest.java
+++ /dev/null
@@ -1,179 +0,0 @@
-/*   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.
- */
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.dom.*;
-
-
-/**
- * Insertion and deletion of nodes, normalization of text children
- *
- *
- *
- */
-
-public class InsertDeleteNodesTest extends TestCase{
-    String sXml="<foo at0=\"no_ns_attr\"></foo>";
-    String sXmlNS="<foo xmlns:myns=\"http://foo.org\"><myns:bar/></foo>";
-    Document m_doc,
-	m_docNS;
-    Node m_node;
-
-
-
-
-    public InsertDeleteNodesTest(String name){
-	super(name);
-    }
-    public static Test suite() {
-	return new TestSuite(InsertDeleteNodesTest.class);
-    }
-
-    public void testInsertNodes(){
-	//insert one of each type of node:
-	Text txt0=m_doc.createTextNode("foo");
-	Text txt1=m_doc.createTextNode(" ");
-	Text txt2=m_doc.createTextNode("bar");
-	Element elt1=m_doc.createElement("elt1");
-
-	Attr attr0=m_doc.createAttributeNS("xmlns","attr0");
-
-	Comment comment=m_doc.createComment("A comment");
-	DocumentFragment doc_frag=m_doc.createDocumentFragment();
-	//Document new_doc: what to do with this...
-	//CDATASection cdata=m_doc.createCDATASection("<CDATA Section>");--Not impl
-	//ProcessingInstruction pi=m_doc.createProcessingInstruction("xml","version 1.0"); --Not impl
-	// DocumentType--TODO
-	//Entity
-	//EntityReference
-	//Notation
-
-	Text nested_txt=m_doc.createTextNode("foo");
-
-
-	//m_doc.appendChild(m_doc.createElement("root"));
-
-	m_doc.getDocumentElement().appendChild(txt2);
-	m_doc.getDocumentElement().insertBefore(elt1,txt2);
-	m_doc.getDocumentElement().insertBefore(txt1,elt1);
-	m_doc.getDocumentElement().insertBefore(txt0,txt1);
-
-	//insert level 1
-	System.out.println("=======Basic inserts passed ===================");
-        int nAttrs=20;
-	for (int i=0;i<nAttrs;i++){
-	    Attr insertAttr=(Attr)attr0.cloneNode(true);
-	    insertAttr.setValue(i+"");
-	    elt1.setAttributeNode(insertAttr);
-	}
-
-	assertEquals(1,elt1.getAttributes().getLength());
-	assertEquals((nAttrs-1)+"",elt1.getAttributes().getNamedItemNS("xmlns","attr0").getNodeValue());
-
-
-	//elt1.appendChild(cdata);
-	elt1.appendChild(comment);
-	//elt1.appendChild(pi);
-	elt1.appendChild(nested_txt);
-
-        Element childElt=m_doc.createElement("childElt");
-        childElt.setAttributeNode(attr0);
-         attr0.setValue("Attr0Value");
-
-        //a chain of depth 100 under doc frag of elt w/ attr
-	doc_frag.appendChild((Element)childElt.cloneNode(true));
-
-	System.out.println("======= Overwriting same attr ===================");
-	Element last=(Element)doc_frag.getFirstChild();
-
-
-        int nMaxTries=100;
-
-
-
-
-	for (int i=0;i<nMaxTries;i++){
-	    Element deep_nested=(Element)childElt.cloneNode(true);
-	    last.appendChild(deep_nested);
-	    last=(Element)last.getFirstChild();
-	}
-
-	elt1.appendChild(doc_frag);
-
-	System.out.println("======= Inserted deep chain  ===================");
-	NodeList deepChain=m_doc.getDocumentElement().getElementsByTagName("childElt");
-	assertEquals(nMaxTries+1,deepChain.getLength());//newly inserted + 1 original
-
-	for (int i=0;i<nMaxTries;i++)
-	    assertEquals("Attr0Value",deepChain.item(i).getAttributes().getNamedItemNS("xmlns","attr0").getNodeValue());
-
-	//check doc frag isn't there
-	assertEquals("childElt",elt1.getLastChild().getNodeName());
-
-
-
-	/////Done inserting: begin deletion:
-
-	//1. delete the deep tree at depth 50
-	Node toRemove=deepChain.item(nMaxTries / 2);
-	toRemove.removeChild(toRemove.getFirstChild());
-
-	assertEquals(nMaxTries / 2 + 1,deepChain.getLength());
-
-	//test normalization with Elt node
-	Element root=m_doc.getDocumentElement();
-	assertEquals(4,root.getChildNodes().getLength());
-	root.removeChild(root.getChildNodes().item(2));
-
-	assertEquals(0,deepChain.getLength());
-        //TODO: normalize
-	//root.normalize();
-//	assertEquals(1,root.getChildNodes().getLength());
-//	assertEquals("foo bar",root.getFirstChild());
-
-
-	//insert stuff under doc node: should be able to insert comments and PI here....
-
-
-	m_doc.insertBefore(comment,root);
-	//m_doc.insertBefore(pi,root);
-	//m_doc.insertBefore(cdata,root);
-
-	try{
-	    m_doc.insertBefore(root,doc_frag.getLastChild());
-            fail("Should except here");
-	}catch (DOMException de){
-	    assertEquals(de.code,DOMException.HIERARCHY_REQUEST_ERR);
-	}
-    }
-    //TODO: insert nodes at all illegal places:
-
-
-    public void setUp() throws Exception{
-	Loader loader=Loader.getLoader();
-	if (sXml==null && sXmlNS==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-	m_doc=(org.w3c.dom.Document)loader.load(sXml);
-	if(sXmlNS!=null && sXmlNS.length()>0)
-	    m_docNS=(org.w3c.dom.Document)loader.load(sXmlNS);
-	m_doc=m_doc.getImplementation().createDocument(null,"root",null);
-	m_node=m_doc.getFirstChild();
-    }
-
-}
diff --git a/v2/test/src/dom/detailed/MoveImportNodeTest.java b/v2/test/src/dom/detailed/MoveImportNodeTest.java
deleted file mode 100755
index 38b73d5..0000000
--- a/v2/test/src/dom/detailed/MoveImportNodeTest.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*   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.
- */
-
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.xml.sax.InputSource;
-
-import java.io.StringReader;
-
-
-/**
- *
- *
- *
- */
-public class MoveImportNodeTest extends TestCase{
-    String sXmlNS="<foo><foobar  xmlns:myns=\"http://foo.org\" xmlns:other=\"http://other.org\"><myns:bar/></foobar></foo>";
-
-     String sXml="<foo at0=\"no_ns_attr\"><bar/></foo>";
-    Document m_doc,
-	m_docNS;
-    Node m_node;
-
-
-
-    public  MoveImportNodeTest(String name){
-	super(name);
-    }
-
-    //insert a node from a ns into a non-ns
-    public void testMoveNodeNStoNoNS(){
-	Node toMove=m_docNS.getFirstChild().getFirstChild().getFirstChild(); //bar
-        assertEquals("myns:bar",toMove.getNodeName());
-	Element newParent=(Element)m_docNS.getFirstChild();
-        assertEquals("foo",newParent.getNodeName());
-	newParent.insertBefore(toMove,newParent.getFirstChild());
-
-	assertEquals(2,newParent.getChildNodes().getLength());
-	assertEquals(null,newParent.getElementsByTagNameNS("http://foo.org","bar"));
-	assertEquals(newParent.getElementsByTagName("bar"),newParent.getElementsByTagNameNS(null,"bar"));
-
-    }
-
-    //move node to a different namespace
-    public void testMoveDiffNS(){
-	Node toMove=m_docNS.getFirstChild().getFirstChild().getFirstChild(); //bar
-	Element newParent=(Element)m_docNS.getFirstChild();
-	newParent.insertBefore(toMove,newParent.getFirstChild());
-	newParent.getFirstChild().setPrefix("other");
-	assertEquals(2,newParent.getChildNodes().getLength());
-	assertEquals(null,(newParent).getElementsByTagNameNS(null,"bar"));
-	assertEquals(true,(toMove==newParent.getElementsByTagNameNS("other.org","bar")));
-    }
-
-
-    //import to a doc where the given ns DNE
-    public void testMoveDiffDoc(){
-	Node toMove=m_docNS.getFirstChild().getFirstChild().getFirstChild(); //bar
-	try{
-	    m_node.insertBefore(toMove,m_node.getFirstChild());
-	    fail(" Cannot move nodes across docs");
-	}catch(DOMException de){
-	    assertEquals(DOMException.WRONG_DOCUMENT_ERR,de.code);
-	}
-
-    }
-
-    public void testMoveDiffImplementations() throws Exception{
-	org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
-
-
-	parser.parse(new InputSource(new StringReader(sXmlNS)));
-
-	Document xercesDocument = parser.getDocument();
-	assertFalse (xercesDocument==null);
-	Node toMove=xercesDocument.getFirstChild().getFirstChild().getFirstChild(); //bar
-	System.out.println("=======Source Impl "+xercesDocument.getImplementation());
-	System.out.println("=======Dest Impl "+m_doc.getImplementation());
-
-	try{
-	    m_node.insertBefore(toMove,m_node.getFirstChild());
-	    fail(" Cannot move nodes across implementations");
-	}catch(DOMException de){
-	    assertEquals(DOMException.WRONG_DOCUMENT_ERR,de.code);
-	}
-
-	Node imported=m_doc.importNode(toMove,true);//deep would be the same here
-	m_node.appendChild(imported);
-
-	assertEquals(2,m_node.getChildNodes().getLength());
-        //node should be imported w/ prefix and all
-	assertEquals(imported,((Element)m_node).getElementsByTagNameNS("http://foo.org","bar").item(0));
-        //	assertEquals(((Element)m_node).getElementsByTagName("bar").item(1),imported);
-	assertEquals(((Element)m_node).getElementsByTagName("bar").item(0),((Element)m_node).getElementsByTagNameNS(null,"bar").item(0));
-    }
-
-
-    public void testImportSameDoc(){
-	//inspired by nist documentimportnode10?
-
-	Node toImport=m_doc.createElement("foobar");
-	toImport=m_doc.importNode(toImport,true);
-
-        toImport=m_doc.createDocumentFragment();
-        toImport.appendChild(m_doc.getDocumentElement().getFirstChild());
-
-        m_doc.importNode(toImport,true);
-    }
-
-    public static Test suite() {
-	return new TestSuite(MoveImportNodeTest.class);
-    }
-
-    public void setUp() throws Exception{
-
-        Loader loader=Loader.getLoader();
-	if (sXml==null && sXmlNS==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-	m_doc=(org.w3c.dom.Document)loader.load(sXml);
-	if(sXmlNS!=null && sXmlNS.length()>0)
-	    m_docNS=(org.w3c.dom.Document)loader.load(sXmlNS);
-
-	m_node=m_doc.getFirstChild();
-    }
-}
diff --git a/v2/test/src/dom/detailed/MultipleDocsTest.java b/v2/test/src/dom/detailed/MultipleDocsTest.java
deleted file mode 100755
index dded1e1..0000000
--- a/v2/test/src/dom/detailed/MultipleDocsTest.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*   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.
- */
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.TestCase;
-import org.w3c.dom.*;
-
-
-/**
- *
- *
- *
- */
-public class MultipleDocsTest extends TestCase{
-    String[] sXml=new String[]{"<foo0/>",
-			       "<foo1 foo1_at=\"val0\"/>",
-			       "<foo2 foo2_at=\"val0\">text</foo2>",
-			       "<foo3 foo3_at=\"val0\">text <foo2 foo2_at=\"val0\">text</foo2> </foo3>",
-			       "<foo4 xmlns:myns=\"foo.org\" myns:foo3_at=\"val0\">text <foo2 foo2_at=\"val0\">text</foo2> </foo4>",
-			       "<foo5  xmlns:myns=\"foo_OUT.org\"><myns:foo4 xmlns:myns=\"foo.org\" myns:foo3_at=\"val0\">text <foo2 foo2_at=\"val0\">text</foo2> </myns:foo4></foo5>"
-    };
-
-    Thread[] threads;
-    int nThreadCount=6;
-    int nIterations=300;
-    Document[] m_doc;
-
-    public MultipleDocsTest(String name){
-	super(name);
-    }
-
-    public void testRunThreads(){
-	for (int j=0;j<nThreadCount;j++)
-	    threads[j].start();
-	for (int j = 0; j < nThreadCount; j++){
-	    try{
-		threads[j].join();
-	    }
-	    catch (InterruptedException e){
-		System.err.println("Thread "+j+" interrupted");
-	    }
-	}
-    }
-
-    public void setUp() throws Exception{
-	threads=new Thread[nThreadCount];
-	for (int i=0;i<nThreadCount;i++){
-            Loader loader=Loader.getLoader();
-	    if (sXml==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-	    Document m_doc=(org.w3c.dom.Document)loader.load(sXml[i]);
-	    threads[i] = new Thread(new Worker(i,m_doc,nIterations));
-	}
-    }
-
-
-
-    private class Worker extends Thread{
-	int _ID;
-	Document doc;
-	int nIter;
-	public Worker(int ID,Document doc,int nIter){
-	    this._ID=ID;
-	    this.doc=doc;
-	    this.nIter=nIter;
-	}
-
-	public void run(){
-	    System.err.println("*** Thread "+_ID+" starting "+doc.getDocumentElement().getNodeName()+" "+nIter);
-	    for ( int i = 0 ; i < nIter ; i++ ){
-		//System.err.println("*** Thread "+_ID+" starting ");
-		switch (0){//_ID
-
-		case 0:{
-		    doc.getDocumentElement().appendChild(doc.createElement("foobar"));
-		    if ( i % 5==0 ){
-			NodeList nl=doc.getDocumentElement().getElementsByTagName("foobar");
-			if (nl.getLength()>0){
-			    Element par=(Element)nl.item(0).getParentNode();
-			    par.removeChild((Element)nl.item(0));
-			}
-		    }
-		    // break;
-		}case 1:{
-		    ((Element)doc.getDocumentElement()).setAttributeNode(doc.createAttribute("foobar"));
-		    if ( i % 5==0 ){
-			NamedNodeMap nl=doc.getDocumentElement().getAttributes();
-			if (nl.getLength()>0){
-			    Element par=(Element)((Attr)nl.getNamedItem("foobar")).getOwnerElement();
-			    par.removeAttribute("foobar");
-			}
-		    }
-		    // break;
-		}case 2:{
-		    doc.getDocumentElement().appendChild(doc.createTextNode("foobar"));
-		    if ( i % 5==0 ){
-			NodeList nl=((Element)doc.getDocumentElement()).getElementsByTagName("foobar");
-						    if (nl!=null && nl.getLength()>0){
-				Element par=(Element)nl.item(i % nl.getLength()).getParentNode();
-				par.removeChild((Element)nl.item(0));
-			    }
-			}
-		    //  break;
-
-		}case 3:{
-		    Node n=doc.getDocumentElement().getFirstChild();
-		    if (n!=null && (n instanceof Text) ){
-			((Text)n).setData("newText");
-		    if ( i % 5==0 ){
-			int len;
-			if ( ( len=((Text)n).getData().length() )>0)
-			    ((Text)n).splitText(len/2);
-		    }
-		    }
-		    //    break;
-		}case 4:{
-		    //  System.err.println("*** Thread "+_ID+" case 4 ");
-		    NodeList n=((Element)doc.getDocumentElement()).getElementsByTagNameNS("foo:org","myns:foo2");
-		    Attr at=doc.createAttribute("foo2_at");
-		    if (n!=null && n.getLength()>0){
-			((Element)n.item(0)).setAttributeNode(at);
-			if ( i % 5==0 ){
-			    ((Element)n.item(0)).removeAttributeNode(at);
-			}
-		    }
-		}
-
-		}
-
-	    }
-	}
-    }
-
-    public static void main(String[] a){
-	try{
-	    MultipleDocsTest test=new MultipleDocsTest("");
-	    test.setUp();
-	    test.testRunThreads();
-	}catch (Throwable t){
-	    t.printStackTrace(System.err);
-	}
-    }
-
-}
diff --git a/v2/test/src/dom/detailed/TextInsertDeleteTest.java b/v2/test/src/dom/detailed/TextInsertDeleteTest.java
deleted file mode 100755
index 447742b..0000000
--- a/v2/test/src/dom/detailed/TextInsertDeleteTest.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.TestCase;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.Text;
-
-
-/**
- *
- *
- */
-public class TextInsertDeleteTest extends TestCase {
-    String sXml = "<foo>txt0<bar/>txt1<baz/>txt2</foo>";
-    String sXmlNS = "<foo/>";
-    Document m_doc,
-    m_docNS;
-    Node m_node;
-
-    public void testAdjacent() {
-        NodeList ch = m_node.getChildNodes();
-        m_node.removeChild(ch.item(1));
-        assertEquals(ch.getLength(), 4);
-        assertEquals("txt0", ch.item(0).getNodeValue());
-
-        m_node.removeChild(ch.item(2));
-        assertEquals(ch.getLength(), 3);
-        assertEquals("txt2", ch.item(2).getNodeValue());
-
-    }
-
-    public void testInsertDelete() {
-        //eric test
-        // TODO: three children delete middle--verify length
-        m_node = m_docNS.getFirstChild();
-
-        Text txt1 = m_docNS.createTextNode("bar");
-        Text txt2 = m_docNS.createTextNode("baz");
-        m_node.appendChild(txt1);
-        m_node.appendChild(txt2);
-        assertEquals("baz", m_node.getLastChild().getNodeValue());
-        assertEquals("bar", m_node.getFirstChild().getNodeValue());
-        m_node.removeChild(m_node.getChildNodes().item(1));
-        assertEquals("bar", m_node.getLastChild().getNodeValue());
-
-        NodeList ch = m_node.getChildNodes();
-
-        //another test
-        Text txt3 = m_docNS.createTextNode("boom");
-        m_node.appendChild(txt2);
-        m_node.appendChild(txt3);
-        Node remove = m_node.getChildNodes().item(1);
-        m_node.removeChild(remove);
-        assertEquals("boom", m_node.getLastChild().getNodeValue());
-        assertEquals("bar", m_node.getFirstChild().getNodeValue());
-        assertEquals(2, ch.getLength());
-
-        m_node.removeChild(m_node.getChildNodes().item(1));
-        assertEquals(1, ch.getLength());
-        assertEquals("bar", m_node.getLastChild().getNodeValue());
-        assertEquals("bar", m_node.getFirstChild().getNodeValue());
-
-
-    }
-
-    public void testInsertDeleteBulk() {
-
-        int nNodeCnt = 16;
-        m_node = m_docNS.getDocumentElement();
-        Text[] nodes = new Text[nNodeCnt];
-        NodeList ch = m_node.getChildNodes();
-
-        for (int i = 0; i < nNodeCnt; i++) {
-            nodes[i] = m_docNS.createTextNode("bar" + i);
-            m_node.appendChild(nodes[i]);
-        }
-
-        assertEquals(nNodeCnt, ch.getLength());
-
-        //delete all odd entries;go back
-        for (int i = nNodeCnt - 1; i > -1; i--) {
-            if (i % 2 != 0)
-                m_node.removeChild(nodes[i]);
-        }
-
-        assertEquals(nNodeCnt/2 , ch.getLength());
-
-        //split all remaining nodes
-
-        for (int i = 0; i < nNodeCnt; i++) {
-            ((Text)ch.item(i++)).splitText(2);
-        }
-
-        //delete all even entries;go fwd
-        for (int i = 0; i < nodes.length; i++) {
-            if (i % 2 == 0)
-                m_node.removeChild(nodes[i]);
-        }
-
-        for (int i = 0; i < nNodeCnt / 2; i++) {
-
-            assertEquals("r" + 2 * i, ch.item(i).getNodeValue());
-        }
-
-    }
-
-    public void setUp() throws Exception {
-
-        Loader loader = Loader.getLoader();
-        if (sXml == null && sXmlNS == null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-        m_doc = (org.w3c.dom.Document) loader.load(sXml);
-        if (sXmlNS != null && sXmlNS.length() > 0)
-            m_docNS = (org.w3c.dom.Document) loader.load(sXmlNS);
-
-        m_node = m_doc.getFirstChild();
-    }
-}
diff --git a/v2/test/src/dom/detailed/TextTest.java b/v2/test/src/dom/detailed/TextTest.java
deleted file mode 100755
index 003ea5d..0000000
--- a/v2/test/src/dom/detailed/TextTest.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-
-package dom.detailed;
-
-import dom.common.Loader;
-import junit.framework.TestCase;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-
-/**
- *
- *
- *
- */
-public class TextTest extends TestCase{
-    String sXml="<foo at0=\"no_ns_attr\"></foo>";
-    String sXmlNS="<foo><foobar xmlns:myns=\"http://foo.org\" xmlns:other=\"other.org\">footext</foobar></foo>";
-    Document m_doc,
-	m_docNS;
-    Node m_node;
-
-    public  TextTest(String name){
-	super(name);
-    }
-
-
-    //insert a node from a ns into a non-ns
-    public void testMoveNodeNStoNoNS(){
-
-
-
-    }
-
-    public void testTextToAttrValue(){
-	m_node=m_docNS.getFirstChild().getFirstChild().getFirstChild();//footext
-	Attr attrib=(Attr)m_docNS.getFirstChild().getFirstChild().getAttributes().getNamedItem("xmlns:myns");
-	assertEquals("http://foo.org",attrib.getNodeValue());
-	//attrib.replaceChild(m_node,attrib.getFirstChild());
-	attrib.setValue(m_node.getNodeValue());
-	assertEquals("footext",attrib.getNodeValue());
-	//assertFalse(m_docNS.getFirstChild().getFirstChild().hasChildNodes());
-    }
-
-
-
- public void setUp() throws Exception{
-
-     Loader loader=Loader.getLoader();
-     if (sXml==null && sXmlNS==null) throw new IllegalArgumentException("Test bug : Initialize xml strings");
-     m_doc=(org.w3c.dom.Document)loader.load(sXml);
-     if(sXmlNS!=null && sXmlNS.length()>0)
-	 m_docNS=(org.w3c.dom.Document)loader.load(sXmlNS);
-
-	m_node=m_doc.getFirstChild();
-    }
-    }
diff --git a/v2/test/src/dom/detailed/w3c/alltests.java b/v2/test/src/dom/detailed/w3c/alltests.java
deleted file mode 100755
index 7206c83..0000000
--- a/v2/test/src/dom/detailed/w3c/alltests.java
+++ /dev/null
@@ -1,334 +0,0 @@
-
-/*
-This Java source file was generated by test-to-java.xsl
-and is a derived work from the source document.
-The source document contained the following notice:
-
-
-Copyright (c) 2001-2003 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
-
-*/
-
-//package org.w3c.domts.level2.core;
-package dom.detailed.w3c;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.domts.level2.core.*;
-
-
-    /**
-    *  Test suite
-    *  @author W3C DOM Test Working Group
-    **/
-    public class alltests extends TestCase{
-
-   public static Test suite() {
-     TestSuite sink= new TestSuite();
-      sink.addTestSuite(attrgetownerelement01.class);
-      sink.addTestSuite(attrgetownerelement02.class);
-      sink.addTestSuite(attrgetownerelement03.class);
-    //  sink.addTestSuite(attrgetownerelement04.class);
-      sink.addTestSuite(attrgetownerelement05.class);
-      sink.addTestSuite(createAttributeNS01.class);
-      sink.addTestSuite(createAttributeNS02.class);
-      sink.addTestSuite(createAttributeNS03.class);
-      sink.addTestSuite(createAttributeNS04.class);
-      sink.addTestSuite(createAttributeNS05.class);
-      sink.addTestSuite(createDocument01.class);
-      sink.addTestSuite(createDocument02.class);
-  //    sink.addTestSuite(createDocument03.class);
-    //  sink.addTestSuite(createDocument04.class);
-      sink.addTestSuite(createDocument05.class);
-      sink.addTestSuite(createDocument06.class);
-      sink.addTestSuite(createDocument07.class);
-   //   sink.addTestSuite(createDocumentType01.class);
-    //  sink.addTestSuite(createDocumentType02.class);
-   //   sink.addTestSuite(createDocumentType03.class);
-      sink.addTestSuite(createElementNS01.class);
-      sink.addTestSuite(createElementNS02.class);
-      sink.addTestSuite(createElementNS03.class);
-      sink.addTestSuite(createElementNS04.class);
-      sink.addTestSuite(createElementNS05.class);
-      sink.addTestSuite(documentcreateattributeNS01.class);
-      sink.addTestSuite(documentcreateattributeNS02.class);
-      sink.addTestSuite(documentcreateattributeNS03.class);
-      sink.addTestSuite(documentcreateattributeNS04.class);
-      sink.addTestSuite(documentcreateattributeNS05.class);
-      sink.addTestSuite(documentcreateattributeNS06.class);
-      sink.addTestSuite(documentcreateattributeNS07.class);
-      sink.addTestSuite(documentcreateelementNS01.class);
-      sink.addTestSuite(documentcreateelementNS02.class);
-      sink.addTestSuite(documentcreateelementNS05.class);
-      sink.addTestSuite(documentcreateelementNS06.class);
-    //  sink.addTestSuite(documentgetelementbyid01.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS01.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS02.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS03.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS04.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS05.class);
-      sink.addTestSuite(documentimportnode01.class);
-     // sink.addTestSuite(documentimportnode02.class);
-     // sink.addTestSuite(documentimportnode03.class);
-    //  sink.addTestSuite(documentimportnode04.class);
-      sink.addTestSuite(documentimportnode05.class);
-      sink.addTestSuite(documentimportnode06.class);
-    //  sink.addTestSuite(documentimportnode07.class);
-      sink.addTestSuite(documentimportnode08.class);
-      sink.addTestSuite(documentimportnode09.class);
-      sink.addTestSuite(documentimportnode10.class);
-      sink.addTestSuite(documentimportnode11.class);
-      sink.addTestSuite(documentimportnode12.class);
-      sink.addTestSuite(documentimportnode13.class);
-      sink.addTestSuite(documentimportnode14.class);
-      sink.addTestSuite(documentimportnode15.class);
-      sink.addTestSuite(documentimportnode17.class);
-      sink.addTestSuite(documentimportnode18.class);
-     // sink.addTestSuite(documentimportnode19.class);
-     // sink.addTestSuite(documentimportnode20.class);
-      sink.addTestSuite(documentimportnode21.class);
-    //  sink.addTestSuite(documentimportnode22.class);
-    //  sink.addTestSuite(documenttypeinternalSubset01.class);
-     // sink.addTestSuite(documenttypepublicid01.class);
-    //  sink.addTestSuite(documenttypesystemid01.class);
-      sink.addTestSuite(domimplementationcreatedocument03.class);
-      sink.addTestSuite(domimplementationcreatedocument04.class);
-      sink.addTestSuite(domimplementationcreatedocument05.class);
-      sink.addTestSuite(domimplementationcreatedocument07.class);
-   //   sink.addTestSuite(domimplementationcreatedocumenttype01.class);
-     // sink.addTestSuite(domimplementationcreatedocumenttype02.class);
-    //  sink.addTestSuite(domimplementationcreatedocumenttype04.class);
-     // sink.addTestSuite(domimplementationfeaturecore.class);
-    //  sink.addTestSuite(domimplementationfeaturexmlversion2.class);
-    //  sink.addTestSuite(domimplementationhasfeature01.class);
-    //  sink.addTestSuite(domimplementationhasfeature02.class);
-      sink.addTestSuite(elementgetattributenodens01.class);
-      sink.addTestSuite(elementgetattributenodens02.class);
-      // sink.addTestSuite(elementgetattributenodens03.class);
-      // sink.addTestSuite(elementgetattributens02.class);
-      sink.addTestSuite(elementgetelementsbytagnamens02.class);
-      sink.addTestSuite(elementgetelementsbytagnamens04.class);
-      sink.addTestSuite(elementgetelementsbytagnamens05.class);
-      sink.addTestSuite(elementhasattribute01.class);
-   //   sink.addTestSuite(elementhasattribute02.class);
-      sink.addTestSuite(elementhasattribute03.class);
-      sink.addTestSuite(elementhasattribute04.class);
-      sink.addTestSuite(elementhasattributens01.class);
-      sink.addTestSuite(elementhasattributens02.class);
-      sink.addTestSuite(elementhasattributens03.class);
-      sink.addTestSuite(elementremoveattributens01.class);
-      sink.addTestSuite(elementsetattributenodens01.class);
-      sink.addTestSuite(elementsetattributenodens02.class);
-      sink.addTestSuite(elementsetattributenodens03.class);
-      sink.addTestSuite(elementsetattributenodens04.class);
-      sink.addTestSuite(elementsetattributenodens05.class);
-    //  sink.addTestSuite(elementsetattributenodens06.class);
-      sink.addTestSuite(elementsetattributens01.class);
-      sink.addTestSuite(elementsetattributens02.class);
-      sink.addTestSuite(elementsetattributens03.class);
-      sink.addTestSuite(elementsetattributens04.class);
-      sink.addTestSuite(elementsetattributens05.class);
-      sink.addTestSuite(elementsetattributens08.class);
-      sink.addTestSuite(elementsetattributensurinull.class);
-     // sink.addTestSuite(getAttributeNS01.class);
-      sink.addTestSuite(getAttributeNS02.class);
-      sink.addTestSuite(getAttributeNS03.class);
-      sink.addTestSuite(getAttributeNS04.class);
-      sink.addTestSuite(getAttributeNS05.class);
-      sink.addTestSuite(getAttributeNodeNS01.class);
-      sink.addTestSuite(getAttributeNodeNS02.class);
-    //  sink.addTestSuite(getElementById01.class);
-     // sink.addTestSuite(getElementById02.class);
-    //  sink.addTestSuite(getElementsByTagNameNS01.class);
-      sink.addTestSuite(getElementsByTagNameNS02.class);
-      sink.addTestSuite(getElementsByTagNameNS03.class);
-      sink.addTestSuite(getElementsByTagNameNS04.class);
-      sink.addTestSuite(getElementsByTagNameNS05.class);
-      sink.addTestSuite(getElementsByTagNameNS06.class);
-      sink.addTestSuite(getElementsByTagNameNS07.class);
-      sink.addTestSuite(getElementsByTagNameNS08.class);
-      sink.addTestSuite(getElementsByTagNameNS09.class);
-      sink.addTestSuite(getElementsByTagNameNS10.class);
-      sink.addTestSuite(getElementsByTagNameNS11.class);
-      sink.addTestSuite(getElementsByTagNameNS12.class);
-      sink.addTestSuite(getElementsByTagNameNS13.class);
-      sink.addTestSuite(getElementsByTagNameNS14.class);
-      sink.addTestSuite(getNamedItemNS01.class);
-      sink.addTestSuite(getNamedItemNS02.class);
-   //  sink.addTestSuite(getNamedItemNS03.class);
-    //  sink.addTestSuite(getNamedItemNS04.class);
-      sink.addTestSuite(hasAttribute01.class);
-      sink.addTestSuite(hasAttribute02.class);
-      sink.addTestSuite(hasAttribute03.class);
-      sink.addTestSuite(hasAttribute04.class);
-      sink.addTestSuite(hasAttributeNS01.class);
-      sink.addTestSuite(hasAttributeNS02.class);
-      sink.addTestSuite(hasAttributeNS03.class);
-     // sink.addTestSuite(hasAttributeNS04.class);
-      sink.addTestSuite(hasAttributeNS05.class);
-      sink.addTestSuite(hasAttributes01.class);
-      sink.addTestSuite(hasAttributes02.class);
-      sink.addTestSuite(hc_attrcreatedocumentfragment.class);
-      sink.addTestSuite(hc_attrname.class);
-      sink.addTestSuite(hc_documentcreateattribute.class);
-      sink.addTestSuite(hc_elementgetattributenode.class);
-  //    sink.addTestSuite(hc_entitiesremovenameditemns1.class);
-   //   sink.addTestSuite(hc_entitiessetnameditemns1.class);
-      sink.addTestSuite(hc_namednodemapgetnameditem.class);
-      sink.addTestSuite(hc_nodedocumentfragmentnormalize1.class);
-      sink.addTestSuite(hc_nodedocumentfragmentnormalize2.class);
-   //   sink.addTestSuite(hc_notationsremovenameditemns1.class);
- //     sink.addTestSuite(hc_notationssetnameditemns1.class);
-  //    sink.addTestSuite(ibmtests.class);
-      sink.addTestSuite(importNode01.class);
-    //  sink.addTestSuite(importNode02.class);
-      sink.addTestSuite(importNode03.class);
-      sink.addTestSuite(importNode04.class);
-  //    sink.addTestSuite(importNode05.class);
-   //   sink.addTestSuite(importNode06.class);
-      sink.addTestSuite(importNode07.class);
-      sink.addTestSuite(importNode08.class);
-    //  sink.addTestSuite(importNode09.class);
-    //  sink.addTestSuite(importNode10.class);
-    //  sink.addTestSuite(importNode11.class);
-    //  sink.addTestSuite(importNode12.class);
-     // sink.addTestSuite(importNode13.class);
-      sink.addTestSuite(importNode14.class);
-      sink.addTestSuite(importNode15.class);
-     // sink.addTestSuite(importNode16.class);
-      sink.addTestSuite(importNode17.class);
-     // sink.addTestSuite(internalSubset01.class);
-     sink.addTestSuite(isSupported01.class);
-      sink.addTestSuite(isSupported02.class);
-      sink.addTestSuite(isSupported04.class);
-      sink.addTestSuite(isSupported05.class);
-      sink.addTestSuite(isSupported06.class);
-      sink.addTestSuite(isSupported07.class);
-      sink.addTestSuite(isSupported09.class);
-      sink.addTestSuite(isSupported10.class);
-      sink.addTestSuite(isSupported11.class);
-      sink.addTestSuite(isSupported12.class);
-      sink.addTestSuite(isSupported13.class);
-      sink.addTestSuite(isSupported14.class);
-      sink.addTestSuite(localName01.class);
-      sink.addTestSuite(localName02.class);
-      sink.addTestSuite(localName03.class);
-      sink.addTestSuite(localName04.class);
-     // sink.addTestSuite(namednodemapgetnameditemns01.class);
-      sink.addTestSuite(namednodemapgetnameditemns02.class);
-      sink.addTestSuite(namednodemapgetnameditemns03.class);
-      sink.addTestSuite(namednodemapgetnameditemns04.class);
-      sink.addTestSuite(namednodemapgetnameditemns05.class);
-      sink.addTestSuite(namednodemapgetnameditemns06.class);
-      sink.addTestSuite(namednodemapremovenameditemns01.class);
-      sink.addTestSuite(namednodemapremovenameditemns02.class);
-      sink.addTestSuite(namednodemapremovenameditemns03.class);
-      sink.addTestSuite(namednodemapremovenameditemns04.class);
-     // sink.addTestSuite(namednodemapremovenameditemns05.class);
-      sink.addTestSuite(namednodemapremovenameditemns06.class);
-      sink.addTestSuite(namednodemapremovenameditemns07.class);
-      sink.addTestSuite(namednodemapremovenameditemns08.class);
-      sink.addTestSuite(namednodemapremovenameditemns09.class);
-      sink.addTestSuite(namednodemapsetnameditemns01.class);
-      sink.addTestSuite(namednodemapsetnameditemns02.class);
-      sink.addTestSuite(namednodemapsetnameditemns03.class);
-      sink.addTestSuite(namednodemapsetnameditemns04.class);
-    //  sink.addTestSuite(namednodemapsetnameditemns05.class);
-      sink.addTestSuite(namednodemapsetnameditemns06.class);
-      sink.addTestSuite(namednodemapsetnameditemns07.class);
-      sink.addTestSuite(namednodemapsetnameditemns08.class);
-    //  sink.addTestSuite(namednodemapsetnameditemns09.class);
-     // sink.addTestSuite(namednodemapsetnameditemns10.class);
-     // sink.addTestSuite(namednodemapsetnameditemns11.class);
-      sink.addTestSuite(namespaceURI01.class);
-      sink.addTestSuite(namespaceURI02.class);
-      sink.addTestSuite(namespaceURI03.class);
-      sink.addTestSuite(namespaceURI04.class);
-      sink.addTestSuite(nodegetlocalname03.class);
-      sink.addTestSuite(nodegetnamespaceuri03.class);
-   //   sink.addTestSuite(nodegetownerdocument01.class);
-      sink.addTestSuite(nodegetownerdocument02.class);
-      sink.addTestSuite(nodegetprefix03.class);
-      sink.addTestSuite(nodehasattributes01.class);
-    //  sink.addTestSuite(nodehasattributes02.class);
-      sink.addTestSuite(nodehasattributes03.class);
-      sink.addTestSuite(nodehasattributes04.class);
-    //  sink.addTestSuite(nodeissupported01.class);
-     // sink.addTestSuite(nodeissupported02.class);
-     // sink.addTestSuite(nodeissupported03.class);
-     // sink.addTestSuite(nodeissupported04.class);
-      // sink.addTestSuite(nodeissupported05.class);
-     // sink.addTestSuite(nodenormalize01.class);
-      sink.addTestSuite(nodesetprefix01.class);
-      sink.addTestSuite(nodesetprefix02.class);
-      sink.addTestSuite(nodesetprefix03.class);
-     // sink.addTestSuite(nodesetprefix04.class);
-      sink.addTestSuite(nodesetprefix05.class);
-      sink.addTestSuite(nodesetprefix06.class);
-      sink.addTestSuite(nodesetprefix07.class);
-      sink.addTestSuite(nodesetprefix08.class);
-      sink.addTestSuite(nodesetprefix09.class);
-      sink.addTestSuite(normalize01.class);
-      sink.addTestSuite(ownerDocument01.class);
-      sink.addTestSuite(ownerElement01.class);
-      sink.addTestSuite(ownerElement02.class);
-      sink.addTestSuite(prefix01.class);
-      sink.addTestSuite(prefix02.class);
-      sink.addTestSuite(prefix03.class);
-      sink.addTestSuite(prefix04.class);
-      sink.addTestSuite(prefix05.class);
-      sink.addTestSuite(prefix06.class);
-      sink.addTestSuite(prefix07.class);
-    //  sink.addTestSuite(prefix08.class);
-      sink.addTestSuite(prefix09.class);
-      sink.addTestSuite(prefix10.class);
-      sink.addTestSuite(prefix11.class);
-    //  sink.addTestSuite(publicId01.class);
-    //  sink.addTestSuite(removeAttributeNS01.class);
-      sink.addTestSuite(removeAttributeNS02.class);
-      sink.addTestSuite(removeNamedItemNS01.class);
-      sink.addTestSuite(removeNamedItemNS02.class);
-      sink.addTestSuite(removeNamedItemNS03.class);
-      sink.addTestSuite(setAttributeNS01.class);
-      sink.addTestSuite(setAttributeNS02.class);
-      sink.addTestSuite(setAttributeNS03.class);
-      sink.addTestSuite(setAttributeNS04.class);
-      sink.addTestSuite(setAttributeNS05.class);
-      sink.addTestSuite(setAttributeNS06.class);
-      sink.addTestSuite(setAttributeNS07.class);
-      sink.addTestSuite(setAttributeNS09.class);
-      sink.addTestSuite(setAttributeNodeNS01.class);
-      sink.addTestSuite(setAttributeNodeNS02.class);
-      sink.addTestSuite(setAttributeNodeNS03.class);
-      sink.addTestSuite(setAttributeNodeNS04.class);
-      sink.addTestSuite(setAttributeNodeNS05.class);
-      sink.addTestSuite(setNamedItemNS01.class);
-      sink.addTestSuite(setNamedItemNS02.class);
-      sink.addTestSuite(setNamedItemNS03.class);
-      sink.addTestSuite(setNamedItemNS04.class);
-      sink.addTestSuite(setNamedItemNS05.class);
-  //    sink.addTestSuite(systemId01.class);
-
-      return sink;
-
-   }
-
-   /**
-    *  Gets URI that identifies the test suite
-    *  @return uri identifier of test suite
-    */
-   public String getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level2/core/alltests";
-   }
-
-
-}
diff --git a/v2/test/src/dom/detailed/w3c/ibmtests.java b/v2/test/src/dom/detailed/w3c/ibmtests.java
deleted file mode 100755
index d89006c..0000000
--- a/v2/test/src/dom/detailed/w3c/ibmtests.java
+++ /dev/null
@@ -1,173 +0,0 @@
-
-/*
-This Java source file was generated by test-to-java.xsl
-and is a derived work from the source document.
-The source document contained the following notice:
-
-
-Copyright (c) 2001 World Wide Web Consortium,
-(Massachusetts Institute of Technology, Institut National de
-Recherche en Informatique et en Automatique, Keio University). All
-Rights Reserved. This program is distributed under the W3C's Software
-Intellectual Property License. This program is distributed in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE.
-See W3C License http://www.w3.org/Consortium/Legal/ for more details.
-
-*/
-
-//package org.w3c.domts.level2.core;
-package dom.detailed.w3c;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.w3c.domts.level2.core.*;
-
-
-    /**
-    *  Test suite
-    *  @author W3C DOM Test Working Group
-    **/
-    public class ibmtests extends TestCase{
-
-
-
-    public static Test suite() {
-       TestSuite sink= new TestSuite();
-     // sink.addTestSuite(attrgetownerelement01.class);
-      sink.addTestSuite(attrgetownerelement02.class);
-      sink.addTestSuite(attrgetownerelement03.class);
-     // sink.addTestSuite(attrgetownerelement04.class);
-      sink.addTestSuite(attrgetownerelement05.class);
-      sink.addTestSuite(documentcreateattributeNS01.class);
-      sink.addTestSuite(documentcreateattributeNS02.class);
-      sink.addTestSuite(documentcreateattributeNS03.class);
-      sink.addTestSuite(documentcreateattributeNS04.class);
-      sink.addTestSuite(documentcreateattributeNS05.class);
-      sink.addTestSuite(documentcreateattributeNS06.class);
-      sink.addTestSuite(documentcreateattributeNS07.class);
-      sink.addTestSuite(documentcreateelementNS01.class);
-      sink.addTestSuite(documentcreateelementNS02.class);
-      sink.addTestSuite(documentcreateelementNS05.class);
-      sink.addTestSuite(documentcreateelementNS06.class);
-      sink.addTestSuite(domimplementationcreatedocument03.class);
-      sink.addTestSuite(domimplementationcreatedocument04.class);
-      sink.addTestSuite(domimplementationcreatedocument05.class);
-      sink.addTestSuite(domimplementationcreatedocument07.class);
-      sink.addTestSuite(domimplementationcreatedocumenttype02.class);
-      sink.addTestSuite(domimplementationcreatedocumenttype04.class);
-      sink.addTestSuite(domimplementationhasfeature01.class);
-      sink.addTestSuite(domimplementationhasfeature02.class);
-  //    sink.addTestSuite(documentgetelementbyid01.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS01.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS02.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS03.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS04.class);
-      sink.addTestSuite(documentgetelementsbytagnameNS05.class);
-      sink.addTestSuite(documentimportnode01.class);
-  //    sink.addTestSuite(documentimportnode02.class);
-      sink.addTestSuite(documentimportnode03.class);
-   //   sink.addTestSuite(documentimportnode04.class);
-      sink.addTestSuite(documentimportnode05.class);
-      sink.addTestSuite(documentimportnode06.class);
-     // sink.addTestSuite(documentimportnode07.class);
-      sink.addTestSuite(documentimportnode08.class);
-      sink.addTestSuite(documentimportnode09.class);
-   //   sink.addTestSuite(documentimportnode10.class);
-      sink.addTestSuite(documentimportnode11.class);
-      sink.addTestSuite(documentimportnode12.class);
-      sink.addTestSuite(documentimportnode13.class);
-      sink.addTestSuite(documentimportnode14.class);
-      sink.addTestSuite(documentimportnode15.class);
-      sink.addTestSuite(documentimportnode17.class);
-      sink.addTestSuite(documentimportnode18.class);
-   //   sink.addTestSuite(documentimportnode19.class);
-    //  sink.addTestSuite(documentimportnode20.class);
-    //  sink.addTestSuite(documentimportnode21.class);
-     // sink.addTestSuite(documentimportnode22.class);
-  //    sink.addTestSuite(documenttypeinternalSubset01.class);
-   //   sink.addTestSuite(documenttypepublicid01.class);
-   //   sink.addTestSuite(documenttypesystemid01.class);
-      sink.addTestSuite(elementgetattributens02.class);
-      sink.addTestSuite(elementgetattributenodens01.class);
-      sink.addTestSuite(elementgetattributenodens02.class);
-      sink.addTestSuite(elementgetattributenodens03.class);
-      sink.addTestSuite(elementgetelementsbytagnamens02.class);
-      sink.addTestSuite(elementgetelementsbytagnamens04.class);
-      sink.addTestSuite(elementgetelementsbytagnamens05.class);
-      sink.addTestSuite(elementhasattribute01.class);
-      sink.addTestSuite(elementhasattribute02.class);
-      sink.addTestSuite(elementhasattribute03.class);
-      sink.addTestSuite(elementhasattribute04.class);
-      sink.addTestSuite(elementhasattributens01.class);
-      sink.addTestSuite(elementhasattributens02.class);
-      sink.addTestSuite(elementhasattributens03.class);
-      sink.addTestSuite(elementremoveattributens01.class);
-      sink.addTestSuite(elementsetattributens01.class);
-      sink.addTestSuite(elementsetattributens02.class);
-      sink.addTestSuite(elementsetattributens03.class);
-      sink.addTestSuite(elementsetattributens04.class);
-      sink.addTestSuite(elementsetattributens05.class);
-      sink.addTestSuite(elementsetattributens08.class);
-      sink.addTestSuite(elementsetattributenodens01.class);
-      sink.addTestSuite(elementsetattributenodens02.class);
-      sink.addTestSuite(elementsetattributenodens03.class);
-      sink.addTestSuite(elementsetattributenodens04.class);
-      sink.addTestSuite(elementsetattributenodens05.class);
-      sink.addTestSuite(elementsetattributenodens06.class);
-      sink.addTestSuite(namednodemapgetnameditemns01.class);
-      sink.addTestSuite(namednodemapgetnameditemns02.class);
-      sink.addTestSuite(namednodemapgetnameditemns03.class);
-      sink.addTestSuite(namednodemapgetnameditemns04.class);
-      sink.addTestSuite(namednodemapgetnameditemns05.class);
-      sink.addTestSuite(namednodemapgetnameditemns06.class);
-      sink.addTestSuite(namednodemapsetnameditemns01.class);
-      sink.addTestSuite(namednodemapsetnameditemns02.class);
-      sink.addTestSuite(namednodemapsetnameditemns03.class);
-      sink.addTestSuite(namednodemapsetnameditemns04.class);
-      sink.addTestSuite(namednodemapsetnameditemns05.class);
-      sink.addTestSuite(namednodemapsetnameditemns06.class);
-      sink.addTestSuite(namednodemapsetnameditemns07.class);
-      sink.addTestSuite(namednodemapsetnameditemns08.class);
-      sink.addTestSuite(namednodemapsetnameditemns09.class);
-      sink.addTestSuite(namednodemapsetnameditemns10.class);
-      sink.addTestSuite(namednodemapremovenameditemns01.class);
-      sink.addTestSuite(namednodemapremovenameditemns02.class);
-      sink.addTestSuite(namednodemapremovenameditemns03.class);
-      sink.addTestSuite(namednodemapremovenameditemns04.class);
-      sink.addTestSuite(namednodemapremovenameditemns05.class);
-      sink.addTestSuite(namednodemapremovenameditemns06.class);
-      sink.addTestSuite(namednodemapremovenameditemns07.class);
-      sink.addTestSuite(namednodemapremovenameditemns08.class);
-      sink.addTestSuite(namednodemapremovenameditemns09.class);
-      sink.addTestSuite(nodegetlocalname03.class);
-      sink.addTestSuite(nodegetnamespaceuri03.class);
-      sink.addTestSuite(nodegetownerdocument01.class);
-      sink.addTestSuite(nodegetownerdocument02.class);
-      sink.addTestSuite(nodegetprefix03.class);
-      sink.addTestSuite(nodesetprefix01.class);
-      sink.addTestSuite(nodesetprefix02.class);
-      sink.addTestSuite(nodesetprefix03.class);
-      sink.addTestSuite(nodesetprefix04.class);
-      sink.addTestSuite(nodesetprefix05.class);
-      sink.addTestSuite(nodesetprefix06.class);
-      sink.addTestSuite(nodesetprefix07.class);
-      sink.addTestSuite(nodesetprefix08.class);
-      sink.addTestSuite(nodesetprefix09.class);
-      sink.addTestSuite(nodehasattributes01.class);
-      sink.addTestSuite(nodehasattributes02.class);
-      sink.addTestSuite(nodehasattributes03.class);
-      sink.addTestSuite(nodehasattributes04.class);
-      sink.addTestSuite(nodeissupported01.class);
-      sink.addTestSuite(nodeissupported02.class);
-      sink.addTestSuite(nodeissupported03.class);
-      sink.addTestSuite(nodeissupported04.class);
-      sink.addTestSuite(nodeissupported05.class);
-
-       return sink;
-   }
-
-
-}
diff --git a/v2/test/src/drt/drtcases/BindingTests.java b/v2/test/src/drt/drtcases/BindingTests.java
deleted file mode 100644
index 583ae52..0000000
--- a/v2/test/src/drt/drtcases/BindingTests.java
+++ /dev/null
@@ -1,291 +0,0 @@
-/*   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.
- */
-
-package drt.drtcases;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xml.xmlbeans.bindingConfig.BindingConfigDocument;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.impl.binding.bts.BindingFile;
-import org.apache.xmlbeans.impl.binding.bts.BindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.BindingType;
-import org.apache.xmlbeans.impl.binding.bts.BindingTypeName;
-import org.apache.xmlbeans.impl.binding.bts.BuiltinBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.ByNameBean;
-import org.apache.xmlbeans.impl.binding.bts.CompositeBindingLoader;
-import org.apache.xmlbeans.impl.binding.bts.JavaTypeName;
-import org.apache.xmlbeans.impl.binding.bts.MethodName;
-import org.apache.xmlbeans.impl.binding.bts.QNameProperty;
-import org.apache.xmlbeans.impl.binding.bts.SimpleBindingType;
-import org.apache.xmlbeans.impl.binding.bts.XmlTypeName;
-import org.apache.xmlbeans.impl.binding.compile.BindingCompilerTask;
-import org.apache.xmlbeans.impl.binding.compile.Schema2Java;
-import org.apache.xmlbeans.impl.binding.joust.JavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.SourceJavaOutputStream;
-import org.apache.xmlbeans.impl.binding.joust.WriterFactory;
-import org.apache.xmlbeans.impl.binding.tylar.TylarWriter;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import javax.xml.namespace.QName;
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Writer;
-
-public class BindingTests extends TestCase
-{
-    public BindingTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(BindingTests.class); }
-    
-    public static boolean verbose = false;
-    
-    public void testJAXRPCBinding() throws Exception
-    {
-        // bind
-        File typesonlyfile = TestEnv.xbeanCase("schema/typesonly/typesonly.xsd");
-        File[] xsds = new File[] {typesonlyfile};
-        Schema2Java compiler = new Schema2Java(
-          //FIXME please dont use product internals in a test
-                BindingCompilerTask.createSchemaTypeSystem(xsds));
-
-        final JavaOutputStream joust = createJoust();
-        BindingFile bindingFile = null;
-        TylarWriter twriter = new TylarWriter() {
-          public JavaOutputStream getJavaOutputStream() { return joust; }
-          public void writeBindingFile(BindingFile bf) throws IOException {
-            if (verbose) bf.write().save(System.out);
-          }
-          public void writeSchema(SchemaDocument xsd, String filepath) {}
-          public void writeSchemaTypeSystem(SchemaTypeSystem sts) {}
-          public void close() {}
-        };
-        //FIXME this is kinda dumb, just emulating current behavior.
-        //real test should create a tylar on disk  -pcal
-        compiler.bind(twriter);
-
-        // now compile
-        // SimpleSchemaToJavaResultCompiler.Params params = new SimpleSchemaToJavaResultCompiler.Params();
-        // File theJar = TestEnv.xbeanOutput("schema/binding/typesonly.jar");
-        // params.setOutputJar(theJar);
-        // to test later
-        //SimpleSchemaToJavaResultCompiler.compile(result, params);
-    }
-//
-//    public void testIsSetAnnotation()
-//        throws Exception
-//    {
-//        final File sourcefile =
-//            TestEnv.xbeanCase("marshal/com/mytest/MySubClass.java");
-//        Assert.assertTrue(sourcefile.exists());
-//
-//        File sourcepath =
-//            TestEnv.xbeanCase("marshal");
-//        Assert.assertTrue(sourcepath.exists());
-//        Assert.assertTrue(sourcepath.isDirectory());
-//
-//        JamServiceFactory jf = JamServiceFactory.getInstance();
-//        JamServiceParams params = jf.createServiceParams();
-//
-//        params.includeSourceFile(new File[]{sourcepath}, sourcefile);
-//
-//        JamService service = jf.createService(params);
-//
-//        final Java2Schema j2s = new Java2Schema(service.getAllClasses());
-//
-////        j2s.setVerbose(true);
-//
-//
-//        final File tmpfile = File.createTempFile("bindingTests", "-tylar");
-//        if (!tmpfile.delete()) {
-//            throw new AssertionError("delete failed on " + tmpfile);
-//        }
-//        final boolean ok = tmpfile.mkdirs();
-//        Assert.assertTrue("mkdir" + tmpfile + " failed", ok);
-//
-//        j2s.bindAsExplodedTylar(tmpfile);
-//
-//    }
-
-  //creates a JavaOutputStream that either spits out to System.out
-  //or swallows the source output entirely.  This is temporary.  -pcal
-  private JavaOutputStream createJoust() {
-    final PrintWriter sourceOut;
-    if (verbose) {
-      sourceOut = new PrintWriter(System.out);
-    } else {
-      sourceOut = new PrintWriter(new Writer() { //null output
-        public void write(char cbuf[], int off, int len) {}
-        public void close() {};
-        public void flush() {};
-      });
-    }
-    return new SourceJavaOutputStream
-            (new WriterFactory() {
-              public Writer createWriter(String x, String y) {
-                sourceOut.println("=======================");
-                return sourceOut;
-              }
-            });
-  }
-
-
-
-    public void testBindingFile() throws Exception
-    {
-        BindingFile bf = new BindingFile();
-        BindingLoader builtins = BuiltinBindingLoader.getInstance();
-
-        // some complex types
-        ByNameBean bnb = new ByNameBean(BindingTypeName.forPair(JavaTypeName.forString("com.mytest.MyClass"), XmlTypeName.forString("t=my-type@http://www.mytest.com/")));
-        bf.addBindingType(bnb, true, true);
-        ByNameBean bnb2 = new ByNameBean(BindingTypeName.forPair(JavaTypeName.forString("com.mytest.YourClass"), XmlTypeName.forString("t=your-type@http://www.mytest.com/")));
-        bf.addBindingType(bnb2, true, true);
-
-        // a custom simple type
-        SimpleBindingType sbt = new SimpleBindingType(BindingTypeName.forPair(JavaTypeName.forString("java.lang.String"), XmlTypeName.forString("t=custom-string@http://www.mytest.com/")));
-        bf.addBindingType(sbt, false, true); // note not from-java-default for String
-
-
-        // bnb
-
-        QNameProperty prop = new QNameProperty();
-        prop.setQName(new QName("http://www.mytest.com/", "myelt"));
-        prop.setSetterName(createSetterName("setMyelt",bnb2.getName()));
-        prop.setGetterName(createGetterName("getMyelt"));
-        prop.setBindingType(bnb2);
-        bnb.addProperty(prop);
-
-        prop = new QNameProperty();
-        prop.setQName(new QName("http://www.mytest.com/", "myelt2"));
-        prop.setSetterName(createSetterName("setMyelt2",bnb.getName()));
-        prop.setGetterName(createGetterName("getMyelt2"));
-        prop.setBindingType(bnb);
-        bnb.addProperty(prop);
-
-        prop = new QNameProperty();
-        prop.setQName(new QName("http://www.mytest.com/", "myatt"));
-        prop.setSetterName(createSetterName("setMyatt",sbt.getName()));
-        prop.setGetterName(createGetterName("getMyatt"));
-        prop.setBindingType(sbt);
-        bnb.addProperty(prop);
-
-        // now bnb2
-
-        prop = new QNameProperty();
-        prop.setQName(new QName("http://www.mytest.com/", "yourelt"));
-        prop.setSetterName(createSetterName("setYourelt",bnb2.getName()));
-        prop.setGetterName(createGetterName("getYourelt"));
-        prop.setBindingType(bnb2);
-        bnb2.addProperty(prop);
-
-        prop = new QNameProperty();
-        prop.setQName(new QName("http://www.mytest.com/", "yourelt2"));
-        prop.setSetterName(createSetterName("setYourelt2",bnb.getName()));
-        prop.setGetterName(createGetterName("getYourelt2"));
-        prop.setBindingType(bnb);
-        bnb2.addProperty(prop);
-
-        // sbt
-        sbt.setAsIfXmlType(XmlTypeName.forString("t=string@http://www.w3.org/2001/XMLSchema"));
-
-        // now serialize
-        BindingConfigDocument doc = bf.write();
-        if (verbose)
-            System.out.println(doc.toString());
-
-        // now load
-        BindingFile bfc = BindingFile.forDoc(doc);
-        BindingLoader lc = CompositeBindingLoader.forPath(new BindingLoader[] {builtins, bfc});
-        ByNameBean bnbc = (ByNameBean)bfc.getBindingType(BindingTypeName.forPair(JavaTypeName.forString("com.mytest.MyClass"), XmlTypeName.forString("t=my-type@http://www.mytest.com/")));
-        ByNameBean bnb2c = (ByNameBean)bfc.getBindingType(BindingTypeName.forPair(JavaTypeName.forString("com.mytest.YourClass"), XmlTypeName.forString("t=your-type@http://www.mytest.com/")));
-        SimpleBindingType sbtc = (SimpleBindingType)bfc.getBindingType(BindingTypeName.forPair(JavaTypeName.forString("java.lang.String"), XmlTypeName.forString("t=custom-string@http://www.mytest.com/")));
-
-        // check loading xsd:float
-        {
-            QName qn = new QName("http://www.w3.org/2001/XMLSchema", "float");
-            XmlTypeName xn = XmlTypeName.forTypeNamed(qn);
-            XmlTypeName xns = XmlTypeName.forString("t=float@http://www.w3.org/2001/XMLSchema");
-            Assert.assertEquals(xn, xns);
-            Assert.assertEquals(xn.hashCode(), xns.hashCode());
-            BindingType btype = lc.getBindingType(lc.lookupPojoFor(xn));
-            Assert.assertNotNull(btype);
-        }
-
-        // check loading xsd:string
-        {
-            QName qn = new QName("http://www.w3.org/2001/XMLSchema", "string");
-            XmlTypeName xn = XmlTypeName.forTypeNamed(qn);
-            XmlTypeName xns = XmlTypeName.forString("t=string@http://www.w3.org/2001/XMLSchema");
-            Assert.assertEquals(xn, xns);
-            Assert.assertEquals(xn.hashCode(), xns.hashCode());
-            BindingType btype = lc.getBindingType(lc.lookupPojoFor(xn));
-            Assert.assertNotNull(btype);
-        }
-
-        // check bnb
-        prop = bnbc.getPropertyForElement(new QName("http://www.mytest.com/", "myelt"));
-        Assert.assertEquals(createSetterName("setMyelt",prop.getTypeName()),
-                            prop.getSetterName());
-        Assert.assertEquals(createGetterName("getMyelt"),
-                            prop.getGetterName());
-        Assert.assertEquals(bnb2c, lc.getBindingType(prop.getTypeName()));
-
-        prop = bnbc.getPropertyForElement(new QName("http://www.mytest.com/", "myelt2"));
-        Assert.assertEquals(createSetterName("setMyelt2",prop.getTypeName()),
-                            prop.getSetterName());
-        Assert.assertEquals(createGetterName("getMyelt2"), prop.getGetterName());
-        Assert.assertEquals(bnbc, lc.getBindingType(prop.getTypeName()));
-
-        prop = bnbc.getPropertyForElement(new QName("http://www.mytest.com/", "myatt"));
-        Assert.assertEquals(createSetterName("setMyatt",prop.getTypeName()),
-                            prop.getSetterName());
-        Assert.assertEquals(createGetterName("getMyatt"), prop.getGetterName());
-        Assert.assertEquals(sbtc, lc.getBindingType(prop.getTypeName()));
-
-        // check bnb2
-        prop = bnb2c.getPropertyForElement(new QName("http://www.mytest.com/", "yourelt"));
-        Assert.assertEquals(createSetterName("setYourelt", prop.getTypeName()),
-                                             prop.getSetterName());
-        Assert.assertEquals(createGetterName("getYourelt"), prop.getGetterName());
-        Assert.assertEquals(bnb2c, lc.getBindingType(prop.getTypeName()));
-
-        prop = bnb2c.getPropertyForElement(new QName("http://www.mytest.com/", "yourelt2"));
-        Assert.assertEquals(createSetterName("setYourelt2",prop.getTypeName()),
-                            prop.getSetterName());
-        Assert.assertEquals(createGetterName("getYourelt2"), prop.getGetterName());
-        Assert.assertEquals(bnbc, lc.getBindingType(prop.getTypeName()));
-
-        // check sbtc
-        Assert.assertEquals(XmlTypeName.forString("t=string@http://www.w3.org/2001/XMLSchema"), sbtc.getAsIfXmlType());
-    }
-
-  /**
-   * Utility method for building up method names in the binding file.
-   */
-  private static MethodName createGetterName(String methodName) {
-    return MethodName.create(methodName);
-  }
-
-  /**
-   * Utility method for building up method names in the binding file.
-   */
-  private static MethodName createSetterName(String methodName, BindingTypeName bt) {
-    return MethodName.create(methodName,
-                             bt.getJavaName());
-  }
-}
diff --git a/v2/test/src/drt/drtcases/MarshalTests.java b/v2/test/src/drt/drtcases/MarshalTests.java
deleted file mode 100644
index b40f03a..0000000
--- a/v2/test/src/drt/drtcases/MarshalTests.java
+++ /dev/null
@@ -1,1914 +0,0 @@
-/*   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.
- */
-
-package drt.drtcases;
-
-import com.mytest.IntEnum;
-import com.mytest.IntegerEnum;
-import com.mytest.ModeEnum;
-import com.mytest.MyClass;
-import com.mytest.MySubClass;
-import com.mytest.MySubSubClass;
-import com.mytest.SimpleContentExample;
-import com.mytest.YourClass;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.BindingContext;
-import org.apache.xmlbeans.BindingContextFactory;
-import org.apache.xmlbeans.EncodingStyle;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.Marshaller;
-import org.apache.xmlbeans.ObjectFactory;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SoapMarshaller;
-import org.apache.xmlbeans.SoapUnmarshaller;
-import org.apache.xmlbeans.Unmarshaller;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.binding.compile.Schema2Java;
-import org.apache.xmlbeans.impl.common.XmlReaderToWriter;
-import org.apache.xmlbeans.impl.common.XmlStreamUtils;
-import org.apache.xmlbeans.impl.marshal.BindingContextFactoryImpl;
-import org.apache.xmlbeans.impl.marshal.util.ArrayUtils;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.tool.PrettyPrinter;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import org.w3c.dom.Document;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.CharArrayReader;
-import java.io.CharArrayWriter;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.FileReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.Reader;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.net.URI;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Random;
-
-
-public class MarshalTests extends TestCase
-{
-    private static final boolean VERBOSE = false;
-
-    //must be in sync with binding config file
-    private static final BigInteger DEFAULT_BIG_INT =
-        new BigInteger("876587658765876587658765876587658765");
-    private static final String XSD_URI = "http://www.w3.org/2001/XMLSchema";
-    private static final String SOAPENC_URI = "http://schemas.xmlsoap.org/soap/encoding/";
-    private static final QName DFLT_ELEM_NAME = new QName("java:com.mytest", "load");
-    private static final QName MYCLASS_NAME = new QName("java:com.mytest", "MyClass");
-    private static final QName DUMMY_QNAME = new QName("foo", "bar");
-    private static final QName ANY_TYPE_NAME = new QName(XSD_URI, "anyType");
-
-
-    public MarshalTests(String name)
-    {
-        super(name);
-    }
-
-    public static Test suite()
-    {
-        return new TestSuite(MarshalTests.class);
-    }
-
-    //does not test any xmlbeans code, but rather a quick sanity check
-    //of the current jsr 173 impl
-    public void testAStream()
-        throws Exception
-    {
-        String doc = "<a x='y'>food</a>";
-        StringReader sr = new StringReader(doc);
-        final XMLStreamReader reader =
-            XMLInputFactory.newInstance().createXMLStreamReader(sr);
-
-        dumpReader(reader);
-    }
-
-    //does not test any xmlbeans code, but rather a quick sanity check
-    //of the current jsr 173 impl
-    public void testAStreamWriter()
-        throws Exception
-    {
-        StringWriter sw = new StringWriter();
-        final XMLStreamWriter writer =
-            XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        writer.writeStartDocument();
-        writer.writeStartElement("dummy");
-        final String uri = "uri";
-        final String prefix = "prefix";
-        final String lname = "lname";
-
-        writer.writeStartElement(prefix, lname, uri);
-        writer.writeNamespace(prefix, uri);
-        writer.writeEndElement();
-
-        boolean writeit = false;
-        if (writer.getPrefix(uri) == null) {
-            writeit = true;
-        }
-        writer.writeStartElement(prefix, lname, uri);
-        if (writeit) {
-            writer.writeNamespace(prefix, uri);
-        }
-        writer.writeEndElement();
-
-        writer.writeEndElement(); //dummy
-
-        writer.writeEndDocument();
-        writer.close();
-        sw.close();
-
-        final String DOC = sw.getBuffer().toString();
-        inform("DOC W: " + DOC);
-
-
-        StringReader sr = new StringReader(DOC);
-        final XMLStreamReader reader =
-            XMLInputFactory.newInstance().createXMLStreamReader(sr);
-
-        //uncomment when stax bug is fixed
-        //dumpReader(reader, true);
-    }
-
-    public void testManySimpleTypesUnmarshall()
-        throws Exception
-    {
-        testSimpleTypeUnmarshal(Boolean.TRUE, "boolean");
-        testSimpleTypeUnmarshal(new Byte((byte)125), "byte");
-        testSimpleTypeUnmarshal(new Short((short)5543), "short");
-        testSimpleTypeUnmarshal(new Integer(55434535), "int");
-        testSimpleTypeUnmarshal(new Long(554345354445555555L), "long");
-        testSimpleTypeUnmarshal(new BigInteger("55434535443332323245555555"), "integer");
-        testSimpleTypeUnmarshal(new BigInteger("55434535443332323245555555"), "positiveInteger");
-        testSimpleTypeUnmarshal(new BigInteger("55434535443332323245555555"), "nonNegativeInteger");
-        testSimpleTypeUnmarshal(new BigInteger("-55434535443332323245555555"), "negativeInteger");
-        testSimpleTypeUnmarshal(new BigInteger("-55434535443332323245555555"), "nonPositiveInteger");
-        testSimpleTypeUnmarshal(new BigInteger("5543453555"), "unsignedLong");
-        testSimpleTypeUnmarshal(new Long("5543453555"), "unsignedInt");
-        testSimpleTypeUnmarshal(new Integer("62121"), "unsignedShort");
-        testSimpleTypeUnmarshal(new Short("254"), "unsignedByte");
-        testSimpleTypeUnmarshal(new BigDecimal("43434343342.233434342"), "decimal");
-        testSimpleTypeUnmarshal(new Float(54.5423f), "float");
-        testSimpleTypeUnmarshal(new Double(23432.43234), "double");
-
-        testSimpleTypeUnmarshal(new GDuration("P1Y2M3DT10H30M"), "duration");
-
-        testStringTypeUnmarshal("anySimpleType");
-        testStringTypeUnmarshal("string");
-        testStringTypeUnmarshal("normalizedString");
-        testStringTypeUnmarshal("token");
-        testStringTypeUnmarshal("language");
-        testStringTypeUnmarshal("Name");
-        testStringTypeUnmarshal("NCName");
-        testStringTypeUnmarshal("NMTOKEN");
-        testStringTypeUnmarshal("ID");
-        testStringTypeUnmarshal("IDREF");
-        testStringTypeUnmarshal("ENTITY");
-        testStringTypeUnmarshal("anyURI");
-        testStringTypeUnmarshal("NOTATION");
-
-
-        Calendar c = Calendar.getInstance();
-
-        testSimpleTypeUnmarshal(c, "2002-03-06T08:04:39.265Z", "dateTime");
-
-
-        final byte[] bytes = new byte[]{1, 2, 3, 4, 5, 6};
-        testSimpleTypeUnmarshal(bytes, "AQIDBAUG", "base64Binary");
-        testSimpleTypeUnmarshal(bytes, "010203040506", "hexBinary");
-
-        final String[] strs = new String[]{"foo", "bar"};
-        testSimpleTypeUnmarshal(strs, "foo bar", "ENTITIES");
-        testSimpleTypeUnmarshal(strs, "foo bar", "IDREFS");
-        testSimpleTypeUnmarshal(strs, "foo bar", "NMTOKENS");
-
-        testSimpleTypeUnmarshal("basic", "basic", SOAPENC_URI, "string");
-        testSimpleTypeUnmarshal(new Integer("123"), "123", SOAPENC_URI, "int");
-    }
-
-    private void testStringTypeUnmarshal(String xsd_type)
-        throws Exception
-    {
-        testSimpleTypeUnmarshal("test_" + xsd_type, xsd_type);
-    }
-
-
-    public void testManySimpleTypesMarshall()
-        throws Exception
-    {
-        testSimpleTypeMarshal(Boolean.TRUE, "boolean");
-        testSimpleTypeMarshal(new Byte((byte)125), "byte");
-        testSimpleTypeMarshal(new Short((short)5543), "short");
-        testSimpleTypeMarshal(new Integer(55434535), "int");
-        testSimpleTypeMarshal(new Integer(75434535), "int", "int");
-        testSimpleTypeMarshal(new Long(554345354445555555L), "long");
-        testSimpleTypeMarshal(new BigInteger("55434535443332323245555555"), "integer");
-        testSimpleTypeMarshal(new BigDecimal("43434343342.233434342"), "decimal");
-        testSimpleTypeMarshal(new Float(5555.5555f), "float");
-        testSimpleTypeMarshal(new Double(1231.444), "double");
-        testSimpleTypeMarshal(new URI("http://www.apache.org/"), "anyURI");
-
-        testSimpleTypeMarshal(new GDuration("P1Y2M3DT10H30M"), "duration");
-
-        testSimpleTypeMarshal("some text here", "string");
-        testSimpleTypeMarshal("  ", "string");
-        testSimpleTypeMarshal("", "string");
-        testSimpleTypeMarshal("aToken", "token");
-        testSimpleTypeMarshal("       ", "string");
-
-        testSimpleTypeMarshal(new QName("someuri", "somelname"), "QName");
-        testSimpleTypeMarshal(new QName("nakedlname"), "QName");
-
-        final byte[] bytes = new byte[]{1, 2, 3, 4, 5, 6};
-        testSimpleTypeMarshal(bytes, "base64Binary");
-        testSimpleTypeMarshal(bytes, "hexBinary");
-
-
-    }
-
-
-    //only works for values where .toString() is equivalent to marshalling
-    public void testSimpleTypeUnmarshal(Object expected, String xsd_type)
-        throws Exception
-    {
-        testSimpleTypeUnmarshal(expected, expected.toString(), xsd_type);
-    }
-
-    public void testSimpleTypeUnmarshal(Object expected,
-                                        String lexval,
-                                        String xsd_type)
-        throws Exception
-    {
-        testSimpleTypeUnmarshal(expected, lexval, XSD_URI, xsd_type);
-    }
-
-    public void testSimpleTypeUnmarshal(Object expected,
-                                        String lexval,
-                                        String type_uri,
-                                        String xsd_type)
-        throws Exception
-    {
-        BindingContext bindingContext = getBuiltinBindingContext();
-
-        String xmldoc = "<a" +
-            " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'" +
-            " xmlns:xs='" +
-            type_uri +
-            "' xsi:type='xs:" +
-            xsd_type + "' >" + lexval + "</a>";
-
-        StringReader stringReader = new StringReader(xmldoc);
-        XMLStreamReader xrdr =
-            XMLInputFactory.newInstance().createXMLStreamReader(stringReader);
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Unmarshaller umctx =
-            bindingContext.createUnmarshaller();
-
-        Object obj = umctx.unmarshal(xrdr, options);
-        reportErrors(errors, "SimpleType error. lexical=" + lexval);
-        Assert.assertTrue(errors.isEmpty());
-
-
-        //special case date/time tests.
-        //we really need more robust testing here.
-        if (expected instanceof Calendar) {
-            XmlCalendar got = (XmlCalendar)obj;
-            String got_lex = got.toString();
-            Assert.assertEquals(lexval, got_lex);
-        } else if (expected.getClass().isArray()) {
-            final boolean eq = ArrayUtils.arrayEquals(expected, obj);
-            final String s = "arrays not equal.  " +
-                "expected " + ArrayUtils.arrayToString(expected) +
-                " got " + ArrayUtils.arrayToString(obj);
-            Assert.assertTrue(s, eq);
-        } else {
-            Assert.assertEquals(expected, obj);
-        }
-
-//        inform("OK for " + expected);
-    }
-
-    private void reportErrors(Collection errors, final String prefix)
-    {
-        for (Iterator itr = errors.iterator(); itr.hasNext();) {
-            XmlError xmlError = (XmlError)itr.next();
-            error(prefix + " " + xmlError);
-        }
-    }
-
-
-    public void testSimpleTypeMarshal(Object orig, String xsd_type)
-        throws Exception
-    {
-        final String java_type = orig.getClass().getName();
-        testSimpleTypeMarshal(orig, xsd_type, java_type);
-    }
-
-    public void testSimpleTypeMarshal(Object orig, String xsd_type,
-                                      final String java_type)
-        throws Exception
-    {
-        BindingContext bindingContext =
-            BindingContextFactory.newInstance().createBindingContext();
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-
-        final XMLStreamReader reader =
-            ctx.marshalType(orig,
-//                           new QName("uri", "lname"),
-                            new QName("lname"),
-                            new QName(XSD_URI, xsd_type),
-                            java_type, options);
-
-
-        inform("==================OBJ: " + orig);
-        dumpReader(reader);
-
-        reportErrors(errors, "simpleTypeMarshal");
-
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-    public void testSimplePolymorphicTypeMarshal()
-        throws Exception
-    {
-        BindingContext bindingContext =
-            BindingContextFactory.newInstance().createBindingContext();
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-        String our_obj = "hello";
-
-        final QName schemaType = new QName(XSD_URI, "anyType");
-        final String javaType = Object.class.getName();
-        final XMLStreamReader reader =
-            ctx.marshalType(our_obj,
-                            new QName("lname"),
-                            schemaType,
-                            javaType, options);
-
-
-        inform("==================POLYOBJ: " + our_obj);
-
-        final boolean dump = false;
-        if (dump) {
-            dumpReader(reader);
-        } else {
-            Unmarshaller um =
-                bindingContext.createUnmarshaller();
-            Assert.assertNotNull(um);
-
-            Object out = um.unmarshalType(reader, schemaType, javaType, options);
-            Assert.assertEquals(our_obj, out);
-
-            reportErrors(errors, "poly-marshal");
-            Assert.assertTrue(errors.isEmpty());
-        }
-    }
-
-
-    public void testByNameMarshal()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-
-        myelt.setWrappedArrayOne(new String[]{"a", null, "b"});
-
-        MySubClass sub = new MySubClass();
-        sub.setBigInt(new BigInteger("23522352235223522352"));
-        myelt.setMySubClass(sub);
-//        sub.setIsSetBigInt(false); //TESTING;
-//        sub.setBigInt(null);
-//        sub.setIsSetBigInt(true); //TESTING;
-
-
-        myelt.setMyClass(sub);
-
-        SimpleContentExample se = new SimpleContentExample();
-        se.setFloatAttOne(44.33f);
-        se.setSimpleContent("someSimpleContentOkay");
-        myelt.setSimpleContentExample(se);
-
-        myelt.setModeEnum(ModeEnum.On);
-
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-        myelt.setMyClassArray(new MyClass[]{sub, new MyClass(),
-                                            //this type is not in our binding file,
-                                            //but we should then treat is as its the parent type
-                                            new MySubSubClass(),
-                                            sub});
-
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-
-        Assert.assertNotNull(ctx);
-
-
-        final XMLStreamReader reader =
-            ctx.marshalType(mc, DFLT_ELEM_NAME,
-                            MYCLASS_NAME,
-                            mc.getClass().getName(), options);
-
-//
-//        final XMLStreamReader reader =
-//            ctx.marshalType(sub, new QName("java:com.mytest", "sub-test"),
-//                            new QName("java:com.mytest", "MySubClass"),
-//                            "MyClass", null);
-
-        inform("=======IN-OBJA: " + mc);
-
-        dumpReader(reader);
-        reportErrors(errors, "byname-marshal");
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-
-    public void testByNameMarshalSoap()
-        throws Exception
-    {
-        final boolean verbose = false;
-
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-
-        QName qn = new QName("foo", "bar");
-        myelt.setQn(qn);
-        myelt.setQn2(qn);
-
-        myelt.setWrappedArrayOne(new String[]{"a", "a", "b"});
-
-        MySubClass sub = new MySubClass();
-        sub.setBigInt(new BigInteger("23522352235223522352"));
-
-        myelt.setMySubClass(sub);
-        myelt.setMyClass(sub);
-        sub.setMyelt(myelt);  //cycle
-
-        myelt.setMyBoss(myelt); //cycle: self reference
-
-        SimpleContentExample se = new SimpleContentExample();
-        se.setFloatAttOne(44.33f);
-        se.setSimpleContent("someSimpleContentOkay");
-        myelt.setSimpleContentExample(se);
-
-        myelt.setModeEnum(ModeEnum.On);
-
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"a", "b", "c"});
-
-        myelt.setMyClassArray(new MyClass[]{sub, new MyClass(),
-                                            //this type is not in our binding file,
-                                            //but we should then treat is as its the parent type
-                                            new MySubSubClass(),
-                                            sub});
-
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        final SoapMarshaller ctx =
-            bindingContext.createSoapMarshaller(EncodingStyle.SOAP11);
-
-        Assert.assertNotNull(ctx);
-
-
-        final XMLStreamReader reader =
-            ctx.marshalType(mc, DFLT_ELEM_NAME,
-                            MYCLASS_NAME,
-                            mc.getClass().getName(), options);
-
-        dumpReader(reader, verbose);
-        reportErrors(errors, "byname-marshal-soap");
-        Assert.assertTrue(errors.isEmpty());
-
-        inform("===========final id objs coming next===========", verbose);
-        final Iterator itr = ctx.marshalReferenced(options);
-        while (itr.hasNext()) {
-            final XMLStreamReader rdr = (XMLStreamReader)itr.next();
-            inform("got rdr: " + System.identityHashCode(rdr), verbose);
-            dumpReader(rdr, verbose);
-            rdr.close();
-        }
-    }
-
-
-    public void testByNameMarshalSoapViaWriter()
-        throws Exception
-    {
-        final Collection errors = new LinkedList();
-
-        final String xmldoc = createSoapExampleXmlString(new MyClass(), errors);
-
-        inform("=======SOAPOUT-XML:\n" +
-               PrettyPrinter.indent(xmldoc));
-        reportErrors(errors, "byname-marshal-soap-writer");
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-
-    public void testByNameSoapUnmarshal()
-        throws Exception
-    {
-        final boolean verbose = false;
-
-        final Collection errors = new LinkedList();
-        final MyClass source_mc = new MyClass();
-        final String xmldoc = createSoapExampleXmlString(source_mc, errors);
-        reportErrors(errors, "byname-marshal-soap-writer");
-        Assert.assertTrue(errors.isEmpty());
-
-        BindingContext bindingContext =
-            getBindingContext(getBindingConfigDocument());
-
-        XmlOptions opts = new XmlOptions();
-        opts.setLoadLineNumbers();
-        final Document document = Public2.parse(xmldoc, opts);
-
-        if (verbose) {
-            final XMLStreamReader tmp_stream = Public2.getStream(document);
-            dumpReader(tmp_stream, true);
-            tmp_stream.close();
-        }
-
-        final SoapUnmarshaller um =
-            bindingContext.createSoapUnmarshaller(EncodingStyle.SOAP11, document);
-
-        final XMLStreamReader xrdr = Public2.getStream(document);
-//        {
-//            while(xrdr.hasNext()) {
-//                System.out.println("## AT " + XmlStreamUtils.printEvent(xrdr));
-//                final int e = xrdr.next();
-//            }
-//            if (System.currentTimeMillis() > 1) {
-//                throw new AssertionError("STOP!");
-//            }
-//        }
-
-        while (!xrdr.isStartElement()) {
-            xrdr.next();
-        }
-        xrdr.next();
-        //now at Dummy node
-        while (!xrdr.isStartElement()) {
-            xrdr.next();
-        }
-        //now at actual type
-        xrdr.require(XMLStreamReader.START_ELEMENT,
-                     DFLT_ELEM_NAME.getNamespaceURI(),
-                     DFLT_ELEM_NAME.getLocalPart());
-
-
-        final Object obj = um.unmarshalType(xrdr, MYCLASS_NAME,
-                                            MyClass.class.getName(), null);
-
-        inform("GOT OBJ: " + obj.getClass(), verbose);
-        MyClass mc = (MyClass)obj;
-
-        final YourClass myelt = mc.getMyelt();
-        Assert.assertNotNull(myelt);
-        Assert.assertEquals(myelt.getBools(), source_mc.getMyelt().getBools());
-        Assert.assertTrue(Arrays.equals(myelt.getWrappedArrayOne(),
-                                        source_mc.getMyelt().getWrappedArrayOne()));
-        Assert.assertEquals(DUMMY_QNAME, myelt.getQn2());
-        Assert.assertEquals(myelt.getQn(), myelt.getQn2());
-        Assert.assertTrue(myelt.getMySubClass() == myelt.getMyClass());
-        Assert.assertTrue(myelt.getMyBoss() == myelt);
-        Assert.assertTrue(myelt.objectArray[3] == myelt.objectArray[4]);
-        Assert.assertTrue(myelt.objectArray[3] == myelt.objectArray);
-        Assert.assertSame(myelt.objectArray[0], myelt.objectArray[1]);
-        Assert.assertNull(myelt.objectArray[5]);
-
-        MySubClass sub = (MySubClass)myelt.objectArray[8];
-        Assert.assertEquals(BigInteger.ONE, sub.getBigInt());
-
-        Assert.assertTrue(myelt.objectArrayTwo[1] == myelt.objectArray);
-        Assert.assertTrue(myelt.objectArrayTwo[2] == myelt.objectArrayTwo);
-
-
-        xrdr.close();
-    }
-
-
-    public void testAnyTypeSoapUnmarshal()
-        throws Exception
-    {
-        final boolean verbose = false;
-
-        final Collection errors = new LinkedList();
-        final MyClass source_mc = new MyClass();
-
-
-        BindingContext bindingContext =
-            getBindingContext(getBindingConfigDocument());
-
-        //////////////////////////////////////////////
-
-        final XmlOptions options = new XmlOptions();
-        options.setErrorListener(errors);
-
-        final SoapMarshaller ctx =
-            bindingContext.createSoapMarshaller(EncodingStyle.SOAP11);
-
-        Assert.assertNotNull(ctx);
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter xml_out =
-            XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        xml_out.writeStartDocument();
-        xml_out.writeStartElement("DUMMY_ROOT");
-        xml_out.writeNamespace("xs", XSD_URI);
-        xml_out.writeNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
-        xml_out.writeNamespace("jt", "java:com.mytest");
-
-        ctx.marshalType(xml_out, source_mc, DFLT_ELEM_NAME,
-                        ANY_TYPE_NAME,
-                        Object.class.getName(), options);
-
-
-        xml_out.writeComment("ids are coming next");
-
-        ctx.marshalReferenced(xml_out, options);
-        xml_out.writeEndElement();
-        xml_out.writeEndDocument();
-        xml_out.close();
-        sw.close();
-        final String xmldoc = sw.getBuffer().toString();
-
-        //////////////////////////////////////////////
-
-        reportErrors(errors, "byname-marshal-soap-writer");
-        Assert.assertTrue(errors.isEmpty());
-
-
-        XmlOptions opts = new XmlOptions();
-        opts.setLoadLineNumbers();
-        final Document document = Public2.parse(xmldoc, opts);
-
-        if (verbose) {
-            final XMLStreamReader tmp_stream = Public2.getStream(document);
-            dumpReader(tmp_stream, true);
-            tmp_stream.close();
-        }
-
-        final SoapUnmarshaller um =
-            bindingContext.createSoapUnmarshaller(EncodingStyle.SOAP11, document);
-
-        final XMLStreamReader xrdr = Public2.getStream(document);
-
-        while (!xrdr.isStartElement()) {
-            xrdr.next();
-        }
-        xrdr.next();
-        //now at Dummy node
-        while (!xrdr.isStartElement()) {
-            xrdr.next();
-        }
-        //now at actual type
-        xrdr.require(XMLStreamReader.START_ELEMENT,
-                     DFLT_ELEM_NAME.getNamespaceURI(),
-                     DFLT_ELEM_NAME.getLocalPart());
-
-
-        final Object obj = um.unmarshalType(xrdr, ANY_TYPE_NAME,
-                                            Object.class.getName(), null);
-
-        inform("GOT OBJ: " + obj.getClass(), verbose);
-        Assert.assertTrue(obj instanceof MyClass);
-        xrdr.close();
-    }
-
-    //note that mc obj will be changed
-    private String createSoapExampleXmlString(MyClass mc,
-                                              final Collection errors)
-        throws Exception
-    {
-        mc.setMyatt("attval");
-        YourClass myelt = new YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-
-        myelt.setQn(DUMMY_QNAME);
-        myelt.setQn2(DUMMY_QNAME);
-
-        myelt.setWrappedArrayOne(new String[]{"a", "a", "b4", "b4", "a"});
-
-        MySubClass sub = new MySubClass();
-        sub.setBigInt(new BigInteger("23522352235223522352"));
-        sub.quadStringArray = MySubClass.newQuadStringArray();
-
-        myelt.setMySubClass(sub);
-        myelt.setMyClass(sub);
-        sub.setMyelt(myelt);  //cycle
-
-        myelt.setMyBoss(myelt); //cycle: self reference
-
-        SimpleContentExample se = new SimpleContentExample();
-        se.setFloatAttOne(44.33f);
-        se.setSimpleContent("someSimpleContentOkay");
-        myelt.setSimpleContentExample(se);
-
-        myelt.setModeEnum(ModeEnum.On);
-
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"a", "b", "c", "a", "a", "b"});
-
-        myelt.setMyClassArray(new MyClass[]{sub,
-                                            new MyClass(),
-                                            mc,
-                                            sub});
-
-        final MySubSubClass subsub = new MySubSubClass();
-        subsub.setBigInt(BigInteger.ONE);
-
-        final Object[] obj_array = new Object[]{"a",
-                                                "a",
-                                                myelt,
-                                                null,
-                                                null,
-                                                null,
-                                                new Integer(5),
-                                                null,
-                                                subsub,
-        };
-        obj_array[3] = obj_array;
-        obj_array[4] = obj_array;
-        myelt.objectArray = obj_array;
-
-        final Object[] obj_array2 = new Object[4];
-        obj_array2[0] = "a";
-        obj_array2[1] = obj_array;
-        obj_array2[2] = obj_array2;
-        obj_array2[3] = null;
-
-        myelt.objectArrayTwo = obj_array2;
-        obj_array[7] = obj_array2;
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final XmlOptions options = new XmlOptions();
-        options.setErrorListener(errors);
-
-        final SoapMarshaller ctx =
-            bindingContext.createSoapMarshaller(EncodingStyle.SOAP11);
-
-        Assert.assertNotNull(ctx);
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter xml_out =
-            XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        xml_out.writeStartDocument();
-        xml_out.writeStartElement("DUMMY_ROOT");
-//        xml_out.writeDefaultNamespace("java:com.mytest");
-        xml_out.writeNamespace("xs", XSD_URI);
-        xml_out.writeNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
-        xml_out.writeNamespace("jt", "java:com.mytest");
-
-
-        ctx.marshalType(xml_out, mc, DFLT_ELEM_NAME,
-                        MYCLASS_NAME,
-                        mc.getClass().getName(), options);
-
-//            xml_out.writeComment("simple string");
-//            ctx.marshalType(xml_out, "TEST1", new QName("someuri", "str"),
-//                            new QName(XSD_URI, "string"),
-//                            String.class.getName(), options);
-//
-
-
-        xml_out.writeComment("ids are coming next");
-
-
-        ctx.marshalReferenced(xml_out, options);
-        xml_out.writeEndElement();
-
-
-        xml_out.writeEndDocument();
-
-
-        xml_out.close();
-        sw.close();
-        return sw.getBuffer().toString();
-    }
-
-
-    public void testWrappedArray()
-        throws Exception
-    {
-        String[] strs = new String[]{"aa", null, "bb", "cc"};
-        final String java_type = strs.getClass().getName();
-        strs = null;  // testing...
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-
-        Assert.assertNotNull(ctx);
-
-        final QName element_name = new QName("java:com.mytest", "string-array");
-        final QName schema_type = new QName("java:com.mytest", "ArrayOfString");
-        final XMLStreamReader reader =
-            ctx.marshalType(strs, element_name, schema_type, java_type, options);
-
-        inform("=======WRAPPED-ARRAY-OBJ: " + strs);
-
-//        dumpReader(reader);
-        reportErrors(errors, "wrapped-array");
-        Assert.assertTrue(errors.isEmpty());
-
-        final Unmarshaller um = bindingContext.createUnmarshaller();
-        Object retval = um.unmarshalType(reader, schema_type, java_type, options);
-        reportErrors(errors, "wrapped-array2");
-        Assert.assertTrue(errors.isEmpty());
-
-        Assert.assertTrue("expected " + ArrayUtils.arrayToString(strs) +
-                          " got " + ArrayUtils.arrayToString(retval),
-                          ArrayUtils.arrayEquals(strs, retval));
-    }
-
-
-    public void DISABLED_testInitPerf()
-        throws Exception
-    {
-        final File conf = getBindingConfigDocument();
-
-        final int trials = 2;
-
-        final BindingContextFactory context_factory = BindingContextFactory.newInstance();
-
-        BindingContext bindingContext = null;
-
-        final long before_millis = System.currentTimeMillis();
-        for (int i = 0; i < trials; i++) {
-
-            bindingContext =
-                ((BindingContextFactoryImpl)context_factory).createBindingContextFromConfig(conf);
-
-            if (bindingContext == null) {
-                throw new Exception("bad news");
-            }
-        }
-        final long after_millis = System.currentTimeMillis();
-        final long diff = (after_millis - before_millis);
-        boolean verbose = true;
-        inform("INIT-milliseconds: " + diff + " trials: " + trials, verbose);
-        inform("INIT-milliseconds PER trial: " + (diff / (double)trials), verbose);
-    }
-
-
-    public void testByNameMarshalViaWriter()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-//        myelt.setMyClass(new com.mytest.MySubSubClass());
-        myelt.setMyClass(new com.mytest.MySubClass());
-        mc.setMyelt(myelt);
-
-        myelt.setModeEnum(ModeEnum.Off);
-//        myelt.setQn(new QName("someURI", "somePart"));
-        myelt.setQn(new QName("java:com.mytest2", "somePart"));
-        final SimpleContentExample sce = new SimpleContentExample();
-        sce.setFloatAttOne(5.43234f);
-        sce.setSimpleContent("SIMPLE_CONTENT");
-        myelt.setSimpleContentExample(sce);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-        myelt.setSimpleStringArray(myelt.getStringArray());
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter w = XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-
-        final QName elem_name = DFLT_ELEM_NAME;
-        final QName type_name = MYCLASS_NAME;
-        ctx.marshalType(w, mc,
-                        elem_name,
-                        type_name,
-                        mc.getClass().getName(), options);
-        w.close();
-        sw.close();
-
-        inform("=======IN-OBJ: " + mc);
-        inform("=======OUT-XML:\n" + PrettyPrinter.indent(sw.getBuffer().toString()));
-        reportErrors(errors, "byname-writer");
-        Assert.assertTrue(errors.isEmpty());
-
-
-        StringReader sr = new StringReader(sw.getBuffer().toString());
-        XMLStreamReader rdr =
-            XMLInputFactory.newInstance().createXMLStreamReader(sr);
-        while (!rdr.isStartElement()) {
-            rdr.next();
-        }
-        Unmarshaller umctx = bindingContext.createUnmarshaller();
-        Object out_obj = umctx.unmarshalType(rdr, type_name, mc.getClass().getName(), options);
-        reportErrors(errors, "byname-doc-writer");
-        Assert.assertTrue(errors.isEmpty());
-        if (!mc.equals(out_obj)) {
-            inform("IN : " + mc, true);
-            inform("OUT: " + out_obj, true);
-        }
-        Assert.assertEquals(mc, out_obj);
-    }
-
-    public void testByNameDocMarshalViaWriter()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-        myelt.setMyClass(null);
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter w = XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-        ctx.marshal(w, mc, options);
-
-        //now unmarshall from String and compare objects...
-        StringReader sr = new StringReader(sw.getBuffer().toString());
-        XMLStreamReader rdr =
-            XMLInputFactory.newInstance().createXMLStreamReader(sr);
-        Unmarshaller umctx = bindingContext.createUnmarshaller();
-        Object out_obj = umctx.unmarshal(rdr, options);
-        reportErrors(errors, "byname-doc-writer");
-        Assert.assertTrue(errors.isEmpty());
-        Assert.assertEquals(mc, out_obj);
-
-    }
-
-    public void testByNameMarshalElementViaWriter()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-//        myelt.setMyClass(new com.mytest.MySubSubClass());
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        StringWriter sw = new StringWriter();
-        XMLStreamWriter w = XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-        final QName elem_name = DFLT_ELEM_NAME;
-        ctx.marshalElement(w,
-                           mc,
-                           elem_name,
-                           mc.getClass().getName(),
-                           options);
-
-        //now unmarshall from String and compare objects...
-        StringReader sr = new StringReader(sw.getBuffer().toString());
-        XMLStreamReader rdr =
-            XMLInputFactory.newInstance().createXMLStreamReader(sr);
-        Unmarshaller umctx = bindingContext.createUnmarshaller();
-        while (!rdr.isStartElement()) {
-            rdr.next();
-        }
-        Object out_obj = umctx.unmarshalElement(rdr, elem_name,
-                                                mc.getClass().getName(),
-                                                options);
-        reportErrors(errors, "marsh-elem");
-        Assert.assertEquals(mc, out_obj);
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-
-    public void testByNameDocMarshalViaOutputStream()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-//        myelt.setMyClass(null);
-//        myelt.setMyClass(new com.mytest.MySubSubClass());
-        myelt.setMyClass(new com.mytest.MySubClass());
-
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-        final String encoding = "UTF-16";
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-        options.setCharacterEncoding(encoding);
-        options.setSavePrettyPrint();
-        options.setSavePrettyPrintIndent(2);
-        options.setValidateOnSet();
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-        ctx.marshal(baos, mc, options);
-        baos.close();
-        final byte[] buf = baos.toByteArray();
-        inform("16Doc=" + new String(buf, encoding));
-
-        //now unmarshall from String and compare objects...
-        Unmarshaller umctx = bindingContext.createUnmarshaller();
-        final ByteArrayInputStream bais = new ByteArrayInputStream(buf);
-        Object out_obj = umctx.unmarshal(bais, options);
-        reportErrors(errors, "marsh-outstream");
-        if (!mc.equals(out_obj)) {
-            inform("\nIN : " + mc, true);
-            inform("OUT: " + out_obj, true);
-        }
-        Assert.assertEquals(mc, out_obj);
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-
-    public void testByNameDocMarshalViaOutputStreamToFile()
-        throws Exception
-    {
-        com.mytest.MyClass mc = new com.mytest.MyClass();
-        mc.setMyatt("attval");
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(99999.777f);
-        myelt.setMyFloat(5555.4444f);
-//        myelt.setMyClass(new com.mytest.MyClass());
-//        myelt.setMyClass(null);
-//        myelt.setMyClass(new com.mytest.MySubSubClass());
-        myelt.setMyClass(new com.mytest.MySubClass());
-
-        mc.setMyelt(myelt);
-
-        myelt.setStringArray(new String[]{"one", "two", "three"});
-
-        myelt.objectArray = new Object[]{"hi", new Integer(5)};
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-
-        final File tmpfile = File.createTempFile("xbeans-marshal-test", ".xml");
-        FileOutputStream fos = new FileOutputStream(tmpfile);
-
-
-        final XmlOptions options = new XmlOptions();
-        Collection errors = new LinkedList();
-        options.setErrorListener(errors);
-        options.setSavePrettyPrint();
-        options.setSavePrettyPrintIndent(2);
-        options.setValidateOnSet();
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-//        ctx.marshal(fos, mc);
-        ctx.marshal(fos, mc, options);
-        fos.close();
-
-        //now unmarshall from file and compare objects...
-        Unmarshaller umctx = bindingContext.createUnmarshaller();
-        final FileInputStream output = new FileInputStream(tmpfile);
-        Object out_obj = umctx.unmarshal(output, options);
-        reportErrors(errors, "marsh-outstream");
-        if (!mc.equals(out_obj)) {
-            inform("\nIN : " + mc, true);
-            inform("OUT: " + out_obj, true);
-        }
-        Assert.assertEquals(mc, out_obj);
-        Assert.assertTrue(errors.isEmpty());
-        output.close();
-    }
-
-
-    public void testRoundtripPerf()
-        throws Exception
-    {
-        //crank up these numbers to see real perf testing
-        //the test still has some value aside from perf
-        //in that it can test large stack depths.
-        final int trials = 3;
-//        final int trials = 10000;
-        final int depth = 7;
-        final int boolean_array_size = 5;
-
-        Random rnd = new Random();
-
-        com.mytest.MyClass top_obj = new com.mytest.MyClass();
-
-        com.mytest.MyClass curr = top_obj;
-
-        boolean[] bools = createRandomBooleanArray(rnd, boolean_array_size);
-        SimpleContentExample sce = new SimpleContentExample();
-        sce.setFloatAttOne(-4.234f);
-        sce.setSimpleContent("simple simple simple");
-
-        for (int i = 0; i < depth; i++) {
-            com.mytest.YourClass myelt = new com.mytest.YourClass();
-            myelt.setSimpleContentExample(sce);
-            myelt.setAttrib(rnd.nextFloat());
-            myelt.setMyFloat(rnd.nextFloat());
-            myelt.setBooleanArray(bools);
-            myelt.setWrappedArrayOne(new String[]{"W1" + rnd.nextInt(), null, "W2" + rnd.nextInt()});
-            myelt.setWrappedArrayTwo(null);
-            myelt.setModeEnum(ModeEnum.Off);
-            myelt.setIntegerEnum(IntegerEnum.value2);
-            myelt.setIntEnum(IntEnum.value3);
-            final com.mytest.MyClass my_c = new com.mytest.MyClass();
-            myelt.setMyClass(my_c);
-            curr.setMyelt(myelt);
-            curr.setMyatt("STR" + rnd.nextInt());
-            curr = my_c;
-        }
-
-        inform("top_perf_obj = " + top_obj);
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final String javaType = "com.mytest.MyClass";
-        final QName schemaType = MYCLASS_NAME;
-        final QName elem_name = DFLT_ELEM_NAME;
-        final String class_name = top_obj.getClass().getName();
-
-        Object out_obj = null;
-        final long before_millis = System.currentTimeMillis();
-        final XmlOptions options = new XmlOptions();
-        final LinkedList errors = new LinkedList();
-        options.setErrorListener(errors);
-
-
-        final Marshaller ctx =
-            bindingContext.createMarshaller();
-        final Unmarshaller umctx = bindingContext.createUnmarshaller();
-
-        for (int i = 0; i < trials; i++) {
-            errors.clear();
-
-            Assert.assertNotNull(ctx);
-
-
-            final XMLStreamReader reader =
-                ctx.marshalType(top_obj, elem_name,
-                                schemaType,
-                                class_name, options);
-
-
-//            //DEBUG!!!
-//            if (System.currentTimeMillis() > 1) {
-//                dumpReader(reader);
-//                return;
-//            }
-
-            out_obj = umctx.unmarshalType(reader, schemaType, javaType, options);
-        }
-        final long after_millis = System.currentTimeMillis();
-        final long diff = (after_millis - before_millis);
-        inform(" perf_out_obj = " + top_obj);
-        reportErrors(errors, "perf");
-        Assert.assertTrue(errors.isEmpty());
-        Assert.assertEquals(top_obj, out_obj);
-        inform("milliseconds: " + diff + " trials: " + trials);
-        inform("milliseconds PER trial: " + (diff / (double)trials));
-    }
-
-
-    public void testThreadedRoundtripPerf()
-        throws Exception
-    {
-        //crank up these numbers to see real perf testing
-        //the test still has some value aside from perf
-        //in that it can test large stack depths.
-        final int trials = getTrials(30);
-        final int depth = 12;
-        final int thread_cnt = 3;
-        final int boolean_array_size = 30;
-
-        Random rnd = new Random();
-
-        com.mytest.MyClass top_obj = new com.mytest.MyClass();
-
-        com.mytest.MyClass curr = top_obj;
-
-        boolean[] bools = createRandomBooleanArray(rnd, boolean_array_size);
-
-        for (int i = 0; i < depth; i++) {
-            com.mytest.YourClass myelt = new com.mytest.YourClass();
-            myelt.setAttrib(rnd.nextFloat());
-            myelt.setMyFloat(rnd.nextFloat());
-            myelt.setBooleanArray(bools);
-            final com.mytest.MyClass my_c = new com.mytest.MyClass();
-            myelt.setMyClass(my_c);
-            curr.setMyelt(myelt);
-            curr.setMyatt("STR" + rnd.nextInt());
-            curr = my_c;
-        }
-
-        //inform("top_obj = " + top_obj);
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final String javaType = "com.mytest.MyClass";
-        final QName schemaType = MYCLASS_NAME;
-        final QName elem_name = DFLT_ELEM_NAME;
-        final String class_name = top_obj.getClass().getName();
-
-        final Marshaller msh = bindingContext.createMarshaller();
-        Assert.assertNotNull(msh);
-        final Unmarshaller umsh = bindingContext.createUnmarshaller();
-        Assert.assertNotNull(umsh);
-
-        Object out_obj = null;
-        final XmlOptions options = new XmlOptions();
-        final LinkedList errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        final long before_millis = System.currentTimeMillis();
-
-        RoundTripRunner[] runners = new RoundTripRunner[thread_cnt];
-        for (int i = 0; i < thread_cnt; i++) {
-            runners[i] = new RoundTripRunner(top_obj, msh, umsh, elem_name,
-                                             schemaType, class_name, javaType, options, trials);
-        }
-
-        inform("starting " + thread_cnt + " threads...");
-
-        for (int i = 0; i < thread_cnt; i++) {
-            runners[i].start();
-        }
-
-        inform("trials=" + trials + "\tjoining " + thread_cnt + " threads...");
-
-        for (int i = 0; i < thread_cnt; i++) {
-            runners[i].join();
-        }
-
-        inform("joined " + thread_cnt + " threads.");
-
-
-        final long after_millis = System.currentTimeMillis();
-        final long diff = (after_millis - before_millis);
-//        inform(" perf_out_obj = " + top_obj);
-
-
-        reportErrors(errors, "thread-perf");
-        Assert.assertTrue(errors.isEmpty());
-        //Assert.assertEquals(top_obj, out_obj);
-        inform("milliseconds: " + diff + " trials: " + trials +
-               " threads=" + thread_cnt);
-        inform("milliseconds PER trial: " + (diff / (double)trials));
-        inform("milliseconds PER roundtrip: " + (diff / ((double)trials * thread_cnt)));
-    }
-
-    private static int getTrials(int default_val)
-    {
-        String prop = "drtcases.MarshalTests.trials";
-        String val = System.getProperty(prop);
-        if (val == null) return default_val;
-
-        int t = Integer.parseInt(val);
-        assert t > 0;
-        return t;
-    }
-
-    private static Object doRoundTrip(MyClass top_obj,
-                                      final Marshaller msh,
-                                      final Unmarshaller umsh,
-                                      final QName elem_name,
-                                      final QName schemaType,
-                                      final String class_name,
-                                      final String javaType,
-                                      final XmlOptions options)
-        throws XmlException
-    {
-        Object out_obj;
-        final XMLStreamReader reader =
-            msh.marshalType(top_obj, elem_name,
-                            schemaType,
-                            class_name, options);
-
-        out_obj = umsh.unmarshalType(reader, schemaType, javaType);
-        return out_obj;
-    }
-
-    private static class RoundTripRunner extends Thread
-    {
-        private final MyClass top_obj;
-        private final Marshaller msh;
-        private final Unmarshaller umsh;
-        private final QName elem_name;
-        private final QName schemaType;
-        private final String class_name;
-        private final String javaType;
-        private final XmlOptions options;
-        private final int trials;
-
-
-        public RoundTripRunner(MyClass top_obj,
-                               Marshaller msh,
-                               Unmarshaller umsh,
-                               QName elem_name,
-                               QName schemaType,
-                               String class_name,
-                               String javaType,
-                               XmlOptions options,
-                               int trials)
-        {
-            this.top_obj = top_obj;
-            this.msh = msh;
-            this.umsh = umsh;
-            this.elem_name = elem_name;
-            this.schemaType = schemaType;
-            this.class_name = class_name;
-            this.javaType = javaType;
-            this.options = options;
-            this.trials = trials;
-        }
-
-        public void run()
-        {
-            final int t = trials;
-            try {
-                Object out_obj = null;
-                for (int i = 0; i < t; i++) {
-                    out_obj = doRoundTrip(top_obj, msh,
-                                          umsh, elem_name,
-                                          schemaType, class_name,
-                                          javaType, options);
-                }
-                Assert.assertEquals(top_obj, out_obj);
-            }
-            catch (XmlException xe) {
-                throw new AssertionError(xe);
-            }
-        }
-    }
-
-    private boolean[] createRandomBooleanArray(Random rnd, int size)
-    {
-        boolean[] a = new boolean[size];
-        for (int i = 0; i < size; i++) {
-            a[i] = rnd.nextBoolean();
-        }
-        return a;
-    }
-
-
-    public void testJavaToSchemaToJava()
-        throws Exception
-    {
-        Random rnd = new Random();
-
-        com.mytest.MyClass top_obj = new com.mytest.MyClass();
-        com.mytest.YourClass myelt = new com.mytest.YourClass();
-        myelt.setAttrib(rnd.nextFloat());
-        myelt.setMyFloat(rnd.nextFloat());
-        final com.mytest.MyClass my_c = new com.mytest.MyClass();
-//        myelt.setMyClass(my_c);
-        myelt.setMyClass(null);
-        top_obj.setMyelt(myelt);
-//        curr.setMyatt("STR" + rnd.nextInt());
-        top_obj.setMyatt(null);
-//        top_obj.setMyatt("someVALUE");
-
-
-        inform("top_obj = " + top_obj);
-
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-
-        //TODO: remove hard coded values
-        final String javaType = "com.mytest.MyClass";
-        final QName schemaType = MYCLASS_NAME;
-        final QName elem_name = DFLT_ELEM_NAME;
-        final String class_name = top_obj.getClass().getName();
-
-        Object out_obj = null;
-
-        final XmlOptions options = new XmlOptions();
-        final ArrayList errors = new ArrayList();
-        options.setErrorListener(errors);
-
-        Marshaller ctx =
-            bindingContext.createMarshaller();
-        Assert.assertNotNull(ctx);
-
-
-        final XMLStreamReader reader =
-            ctx.marshalType(top_obj, elem_name,
-                            schemaType,
-                            class_name, options);
-
-        Unmarshaller umctx =
-            bindingContext.createUnmarshaller();
-        out_obj = umctx.unmarshalType(reader, schemaType, javaType, options);
-
-        inform(" out_obj = " + top_obj);
-        reportErrors(errors, "j2s2j");
-        Assert.assertEquals(top_obj, out_obj);
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-    private static void dumpReader(final XMLStreamReader reader)
-        throws XMLStreamException, XmlException, IOException
-    {
-        dumpReader(reader, VERBOSE);
-    }
-
-    private static void dumpReader(final XMLStreamReader reader, boolean verbose)
-        throws XMLStreamException, XmlException, IOException
-    {
-        final boolean write_doc = true;
-        if (write_doc) {
-            StringWriter sw = new StringWriter();
-
-            XMLStreamWriter xsw =
-                XMLOutputFactory.newInstance().createXMLStreamWriter(sw);
-
-
-            XmlReaderToWriter.writeAll(reader, xsw);
-
-            xsw.close();
-
-            if (verbose) {
-                final String xmldoc = sw.getBuffer().toString();
-                inform("DOC:", verbose);
-                inform(PrettyPrinter.indent(xmldoc), verbose);
-            }
-        } else {
-            int i = 0;
-            if (verbose)
-                inform((i++) + "\tSTATE: " +
-                       XmlStreamUtils.printEvent(reader), verbose);
-            while (reader.hasNext()) {
-                final int state = reader.next();
-                if (verbose)
-                    inform((i++) + "\tSTATE: " +
-                           XmlStreamUtils.printEvent(reader), verbose);
-            }
-        }
-    }
-
-    public void testByNameBeanUnmarshal()
-        throws Exception
-    {
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        File doc = TestEnv.xbeanCase("marshal/doc2.xml");
-
-        final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
-        XMLStreamReader xrdr =
-            xmlInputFactory.createXMLStreamReader(doc.toURL().toString(),
-                                                  new FileInputStream(doc));
-
-
-        final XmlOptions options = new XmlOptions();
-        ObjectFactory of = new YourClass();
-        options.setUnmarshalInitialObjectFactory(of);
-        final LinkedList errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Unmarshaller um_ctx =
-            bindingContext.createUnmarshaller();
-        Object obj = um_ctx.unmarshal(xrdr, options);
-
-        inform("doc2-obj = " + obj);
-        reportErrors(errors, "byname-um");
-        Assert.assertTrue(errors.isEmpty());
-
-    }
-
-    public void testByNameBeanUnmarshalErrors()
-        throws Exception
-    {
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        File doc = TestEnv.xbeanCase("marshal/doc3.xml");
-
-        final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
-        XMLStreamReader xrdr =
-            xmlInputFactory.createXMLStreamReader(new FileReader(doc));
-
-        final XmlOptions options = new XmlOptions();
-        final LinkedList errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Unmarshaller um_ctx =
-            bindingContext.createUnmarshaller();
-        Object obj = um_ctx.unmarshal(xrdr, options);
-
-        //even with some errors, we should get an object
-        Assert.assertTrue(obj != null);
-
-        inform("doc3-obj = " + obj);
-
-        for (Iterator itr = errors.iterator(); itr.hasNext();) {
-            XmlError xmlError = (XmlError)itr.next();
-            inform("doc3-ERROR: " + xmlError);
-        }
-
-        Assert.assertTrue(errors.size() > 0);
-
-    }
-
-    public void testByNameBeanUnmarshalFromInputStream()
-        throws Exception
-    {
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        File doc = TestEnv.xbeanCase("marshal/doc2.xml");
-
-        final XmlOptions options = new XmlOptions();
-        final LinkedList errors = new LinkedList();
-        options.setErrorListener(errors);
-
-        Unmarshaller um_ctx =
-            bindingContext.createUnmarshaller();
-        Object obj = um_ctx.unmarshal(new FileInputStream(doc), options);
-
-        inform("doc2-obj = " + obj);
-        reportErrors(errors, "doc2-err");
-        Assert.assertTrue(errors.isEmpty());
-
-    }
-
-
-    public void testByNameBeanUnmarshalType()
-        throws Exception
-    {
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        final File doc = TestEnv.xbeanCase("marshal/doc.xml");
-        final String javaType = "com.mytest.MyClass";
-        final QName schemaType = MYCLASS_NAME;
-
-        final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
-        XMLStreamReader xrdr =
-            xmlInputFactory.createXMLStreamReader(new FileReader(doc));
-
-        final XmlOptions xmlOptions = new XmlOptions();
-        Collection errors = new LinkedList();
-        xmlOptions.setErrorListener(errors);
-
-        Unmarshaller ctx = bindingContext.createUnmarshaller();
-
-        //this is not very safe but it should work...
-        while (!xrdr.isStartElement()) {
-            xrdr.next();
-        }
-
-        Object obj = ctx.unmarshalType(xrdr, schemaType, javaType, xmlOptions);
-        for (Iterator itr = errors.iterator(); itr.hasNext();) {
-            inform("ERROR: " + itr.next());
-        }
-        inform("+++++TYPE obj = " + obj);
-
-        MyClass mc = (MyClass)obj;
-        MySubClass first = (MySubClass)mc.getMyelt().getMyClassArray()[0];
-        Assert.assertEquals(DEFAULT_BIG_INT, first.getBigInt());
-        reportErrors(errors, "dco-err");
-        Assert.assertTrue(errors.isEmpty());
-    }
-
-    public void testPerfByNameBeanUnmarshall()
-        throws Exception
-    {
-        BindingContext bindingContext = getBindingContext(getBindingConfigDocument());
-
-        //File doc = TestEnv.xbeanCase("marshal/doc2.xml");
-        File doc = TestEnv.xbeanCase("marshal/bigdoc.xml");
-        final FileReader fileReader = new FileReader(doc);
-        CharArrayWriter cw = new CharArrayWriter();
-
-        bufferedStreamCopy(fileReader, cw);
-        final char[] chars = cw.toCharArray();
-        final CharArrayReader cr = new CharArrayReader(chars);
-
-        final int trials = 5;
-
-        final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
-
-        final XmlOptions xmlOptions = new XmlOptions();
-
-        final long before_millis = System.currentTimeMillis();
-        for (int i = 0; i < trials; i++) {
-            cr.reset();
-            XMLStreamReader xrdr =
-                xmlInputFactory.createXMLStreamReader(cr);
-            Unmarshaller umctx =
-                bindingContext.createUnmarshaller();
-
-            Object obj = umctx.unmarshal(xrdr, xmlOptions);
-
-            if ((i % 1000) == 0) {
-                String s = obj.toString().substring(0, 70);
-                inform("i=" + i + "\tobj = " + s + "...");
-            }
-        }
-        final long after_millis = System.currentTimeMillis();
-        final long diff = (after_millis - before_millis);
-        inform("milliseconds: " + diff + " trials: " + trials);
-        inform("milliseconds PER trial: " + (diff / (double)trials));
-    }
-
-    public void testUnmarshalValidation()
-        throws Exception
-    {
-        final File schema = TestEnv.xbeanCase("marshal/example.xsd");
-        final File instance = TestEnv.xbeanCase("marshal/example_instance.xml");
-
-        Assert.assertTrue(schema.exists());
-        Assert.assertTrue(instance.exists());
-
-        final SchemaDocument xsd_obj =
-            (SchemaDocument)XmlObject.Factory.parse(schema);
-        final XmlObject[] schemas = new XmlObject[]{xsd_obj};
-        final XmlOptions opts = new XmlOptions();
-        opts.setCompileDownloadUrls();
-        SchemaTypeSystem sts = XmlBeans.compileXsd(schemas,
-                                                   XmlBeans.getBuiltinTypeSystem(),
-                                                   opts);
-        Schema2Java s2j = new Schema2Java(sts);
-
-        s2j.includeSchema(xsd_obj, schema.getName());
-        final File tmpfile = File.createTempFile("marshalTests", "-tylar");
-        if (!tmpfile.delete()) {
-            throw new AssertionError("delete failed on " + tmpfile);
-        }
-        final boolean ok = tmpfile.mkdirs();
-        Assert.assertTrue("mkdir" + tmpfile + " failed", ok);
-
-        s2j.bindAsExplodedTylar(tmpfile);
-
-
-        final URL tylar_url = tmpfile.toURL();
-
-        //add tylar to classpath so we can load classes out of it
-        final Thread thread = Thread.currentThread();
-        final ClassLoader curr_cl = thread.getContextClassLoader();
-        final URLClassLoader cl =
-            new URLClassLoader(new URL[]{tylar_url}, curr_cl);
-        thread.setContextClassLoader(cl);
-
-        try {
-            final BindingContextFactory bcf = BindingContextFactory.newInstance();
-            final BindingContext binding_context =
-                bcf.createBindingContext(cl);
-            final Unmarshaller um = binding_context.createUnmarshaller();
-            InputStream is = new FileInputStream(instance);
-            XmlOptions opts_validation_on = new XmlOptions();
-            opts_validation_on.setUnmarshalValidate();
-            final List errors = new ArrayList();
-            opts_validation_on.setErrorListener(errors);
-            final Object obj = um.unmarshal(is, opts_validation_on);
-            Assert.assertNotNull(obj);
-            inform("address=" + obj);
-            is.close();
-
-            reportErrors(errors);
-            Assert.assertTrue(errors.isEmpty());
-
-            //now try unmarshalType...
-            final FileInputStream fis = new FileInputStream(instance);
-            final XMLStreamReader rdr =
-                XMLInputFactory.newInstance().createXMLStreamReader(fis);
-            QName schema_type = new QName("http://nosuch.domain.name", "USAddress");
-            String java_type = obj.getClass().getName();
-
-            //not super robust but this should work for valid xml
-            while (!rdr.isStartElement()) {
-                rdr.next();
-            }
-
-            um.unmarshalType(rdr, schema_type, java_type, opts_validation_on);
-            rdr.close();
-            fis.close();
-
-            reportErrors(errors);
-            Assert.assertTrue(errors.isEmpty());
-
-
-            // -- this is currently broken --
-            //now lets try validating our stream over objects
-            final Marshaller marshaller = binding_context.createMarshaller();
-            final XmlOptions empty_opts = new XmlOptions();
-            final XMLStreamReader obj_rdr =
-                marshaller.marshal(obj, empty_opts);
-            inform("VALIDATION-OBJ: " + obj);
-
-            final Object obj2 = um.unmarshal(obj_rdr, opts_validation_on);
-            inform("obj2=" + obj2);
-            obj_rdr.close();
-            reportErrors(errors);
-
-            //TODO: fix this use case
-            //Assert.assertTrue(errors.isEmpty());
-
-            // depends on reasonable equals methods which we do not have yet
-            //Assert.assertEquals(obj, obj2);
-
-        }
-        finally {
-            thread.setContextClassLoader(curr_cl);
-        }
-    }
-
-    private static void reportErrors(List errors)
-    {
-        if (!errors.isEmpty()) {
-            for (Iterator itr = errors.iterator(); itr.hasNext();) {
-                Object err = itr.next();
-                inform("validation-error: " + err);
-            }
-        }
-    }
-
-    protected static void bufferedStreamCopy(Reader in, Writer out)
-        throws IOException
-    {
-        int charsRead;
-        char[] buf = new char[1024];
-
-        while ((charsRead = in.read(buf)) != -1) {
-            out.write(buf, 0, charsRead);
-        }
-    }
-
-    private File getBindingConfigDocument()
-    {
-        File loc = TestEnv.xbeanCase("marshal/example_config.xml");
-        return loc;
-    }
-
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(suite());
-    }
-
-    private static BindingContext getBuiltinBindingContext()
-        throws XmlException, IOException
-    {
-        return BindingContextFactory.newInstance().createBindingContext();
-    }
-
-    private static BindingContext getBindingContext(File bcdoc)
-        throws XmlException, IOException
-    {
-        return ((BindingContextFactoryImpl)BindingContextFactory.newInstance()).
-            createBindingContextFromConfig(bcdoc);
-    }
-
-    private static void inform(String msg)
-    {
-        inform(msg, VERBOSE);
-    }
-
-    private static void inform(String msg, boolean verbose)
-    {
-        if (verbose) System.out.println(msg);
-    }
-
-    private static void say(String msg)
-    {
-        System.out.println(msg);
-    }
-
-    private static void error(String msg)
-    {
-        System.out.println(msg);
-    }
-}
diff --git a/v2/test/src/drt/drtcases/TestEnv.java b/v2/test/src/drt/drtcases/TestEnv.java
deleted file mode 100644
index 203a73b..0000000
--- a/v2/test/src/drt/drtcases/TestEnv.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*   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.
- */
-
-package drt.drtcases;
-
-import java.io.File;
-import java.io.IOException;
-
-public class TestEnv
-{
-    private static File fwroot = getRootFile();
-    private static File caseroot = new File(fwroot, "test/cases/xbean");
-    private static File outputroot = new File(fwroot, "build/test/output");
-
-    public static File getRootFile() throws IllegalStateException
-    {
-        try
-        {
-            return new File( System.getProperty( "xbean.rootdir" ) ).getCanonicalFile();
-        }
-        catch( IOException e )
-        {
-            throw new IllegalStateException(e.toString());
-        }
-    }
-
-    public static File xbeanCase(String str)
-    {
-        return (new File(caseroot, str));
-    }
-
-    public static File xbeanOutput(String str)
-    {
-        File result = (new File(outputroot, str));
-        File parentdir = result.getParentFile();
-        parentdir.mkdirs();
-        return result;
-    }
-
-    public static void deltree(File dir)
-    {
-        if (dir.exists())
-        {
-            if (dir.isDirectory())
-            {
-                String[] list = dir.list();
-                for (int i = 0; i < list.length; i++)
-                    deltree(new File(dir, list[i]));
-            }
-            if (!dir.delete())
-                throw new IllegalStateException("Could not delete " + dir);
-        }
-    }
-}
diff --git a/v2/test/src/misc/checkin/RichParserTests.java b/v2/test/src/misc/checkin/RichParserTests.java
deleted file mode 100755
index 2502361..0000000
--- a/v2/test/src/misc/checkin/RichParserTests.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*   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.
- */
-
-package misc.checkin;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.GDurationBuilder;
-import org.apache.xmlbeans.XmlCalendar;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt;
-import org.apache.xmlbeans.impl.richParser.XMLStreamReaderExtImpl;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.events.XMLEvent;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Calendar;
-import java.util.Date;
-
-
-import tools.util.*;
-
-
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 19, 2003
- */
-public class RichParserTests extends TestCase
-{
-    public RichParserTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(RichParserTests.class); }
-
-    public void testPrimitiveTypes() throws Exception
-    {
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        XMLStreamReader xsr = factory.createXMLStreamReader(new FileInputStream(
-                 JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                         "xbean/misc/primitiveTypes.xml")));
-        XMLStreamReaderExt xsrext = new XMLStreamReaderExtImpl(xsr);
-
-        while (xsrext.hasNext())
-        {
-            switch (xsrext.next())
-            {
-                case XMLEvent.ATTRIBUTE:
-                    processText(xsrext.getLocalName(), xsrext, -1);
-                    break;
-                case XMLEvent.START_ELEMENT:
-                    for (int i = 0; i<xsrext.getAttributeCount(); i++)
-                    {
-                        processText(xsrext.getAttributeLocalName(i), xsrext, i);
-                    }
-                    String ln = xsrext.getLocalName();
-                    processText(ln, xsrext, -1);
-                    break;
-            }
-        }
-    }
-
-    private static final String[] strings = {"    this is a long string ... in attribute  ",
-                                             "    this is a long string\n... in text  "};
-    private static int stringsIdx = 0;
-    private static final int[] ints = {5, -6, 15, 7, 2147483647, -2147483648, 5, -6, 15, 7, 2147483647, -2147483648};
-    private static int intsIdx = 0;
-    private static final boolean[] bools = {true, false, false, true, false, true, false, false, true, false};
-    private static int boolsIdx = 0;
-    private static final short[] shorts = {3, 3};
-    private static int shortsIdx = 0;
-    private static final byte[] bytes = {1, 1};
-    private static int bytesIdx = 0;
-    private static final long[] longs = {-500000, 1, 2, -500000, 1, 2};
-    private static int longsIdx = 0;
-    private static final double[] doubles = {1, -2.007, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN, 1, -2.007, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN};
-    private static int doublesIdx = 0;
-    private static final float[] floats = {12.325f, Float.NaN, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, 12.325f, Float.NaN, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY};
-    private static int floatsIdx = 0;
-    private static final QName[] qnames = { new QName("pre_uri", "local1"),
-         new QName("local3"), new QName("pre_uri", "local1"),
-         //new QName("default_uri", "local2"), new QName("default_uri", "local2"),
-         new QName("local3")};
-    private static int qnamesIdx = 0;
-
-    private static void processText(String ln, XMLStreamReaderExt xs, int attIndex)
-        throws XMLStreamException, IOException
-    {
-        if ("int".equals(ln))
-        {
-            int v = attIndex>-1 ? xs.getAttributeIntValue(attIndex) : xs.getIntValue();
-            Assert.assertTrue("int " + v, ints[intsIdx++]==v);
-        }
-        else if ("boolean".equals(ln))
-        {
-            boolean v = attIndex>-1 ? xs.getAttributeBooleanValue(attIndex) : xs.getBooleanValue();
-            Assert.assertTrue("boolean " + v, bools[boolsIdx++]==v);
-        }
-        else if ("short".equals(ln))
-        {
-            short v = attIndex>-1 ? xs.getAttributeShortValue(attIndex) : xs.getShortValue();
-            Assert.assertTrue("short " + v, shorts[shortsIdx++]==v);
-        }
-        else if ("byte".equals(ln))
-        {
-            byte v = attIndex>-1 ? xs.getAttributeByteValue(attIndex) : xs.getByteValue();
-            Assert.assertTrue("byte " + v, bytes[bytesIdx++]==v);
-        }
-        else if ("long".equals(ln))
-        {
-            long v = attIndex>-1 ? xs.getAttributeLongValue(attIndex) : xs.getLongValue();
-            Assert.assertTrue("long " + v, longs[longsIdx++]==v);
-        }
-        else if ("double".equals(ln))
-        {
-            double v = attIndex>-1 ? xs.getAttributeDoubleValue(attIndex) : xs.getDoubleValue();
-            Assert.assertTrue("double expected: " + doubles[doublesIdx] + "  actual: " + v,
-                new Double(doubles[doublesIdx++]).equals(new Double(v)));
-            // makeing new Doubles because Double.NaN==Double.NaN is false;
-        }
-        else if ("float".equals(ln))
-        {
-            float v = attIndex>-1 ? xs.getAttributeFloatValue(attIndex) : xs.getFloatValue();
-            Assert.assertTrue("float expected: " + floats[floatsIdx] + "  actual: " + v,
-                new Float(floats[floatsIdx++]).equals( new Float(v)));
-            // makeing new Floats because Float.NaN==Float.NaN is false;
-        }
-        else if ("decimal".equals(ln))
-        {
-            BigDecimal v = attIndex>-1 ? xs.getAttributeBigDecimalValue(attIndex) : xs.getBigDecimalValue();
-            Assert.assertTrue("BigDecimal " + v, new BigDecimal("1.001").equals(v));
-        }
-        else if ("integer".equals(ln))
-        {
-            BigInteger v = attIndex>-1 ? xs.getAttributeBigIntegerValue(attIndex) : xs.getBigIntegerValue();
-            Assert.assertTrue("BigInteger " + v, new BigInteger("1000000000").equals(v));
-        }
-        else if ("base64Binary".equals(ln))
-        {
-            InputStream v = attIndex>-1 ? xs.getAttributeBase64Value(attIndex) : xs.getBase64Value();
-            String a = readIS(v);
-            Assert.assertTrue("Base64Binary " + a, "base64Binary".equals(a));
-        }
-        else if ("hexBinary".equals(ln))
-        {
-            InputStream v = attIndex>-1 ? xs.getAttributeHexBinaryValue(attIndex) : xs.getHexBinaryValue();
-            String a = readIS(v);
-            Assert.assertTrue("HexBinary " + a, "hexBinary".equals(a));
-        }
-        else if ("date".equals(ln))
-        {
-            Calendar v = attIndex>-1 ? xs.getAttributeCalendarValue(attIndex) : xs.getCalendarValue();
-            Calendar c = new XmlCalendar( "2001-11-26T21:32:52Z" );
-            Assert.assertTrue("Calendar expected:" + c.getTimeInMillis() + " actual:" + v.getTimeInMillis(), c.getTimeInMillis()==v.getTimeInMillis());
-        }
-        else if ("dateTime".equals(ln))
-        {
-            Date v = attIndex>-1 ? xs.getAttributeDateValue(attIndex) : xs.getDateValue();
-            Date d = new XmlCalendar("2001-11-26T21:32:52").getTime();
-            Assert.assertTrue("Date expected:" + d + " actual:" + v, d.equals(v));
-        }
-        else if ("gYearMonth".equals(ln))
-        {
-            GDate v = attIndex>-1 ? xs.getAttributeGDateValue(attIndex) : xs.getGDateValue();
-            GDateBuilder gdb = new GDateBuilder();
-            gdb.setYear(2001);
-            gdb.setMonth(11);
-            Assert.assertTrue("GDate expected:" + gdb + " actual:" + v, gdb.toGDate().equals(v));
-        }
-        else if ("duration".equals(ln))
-        {
-            GDuration v = attIndex>-1 ? xs.getAttributeGDurationValue(attIndex) : xs.getGDurationValue();
-            GDurationBuilder gdb = new GDurationBuilder();
-            gdb.setSign(-1);
-            gdb.setSecond(7);
-            Assert.assertTrue("GDuration expected:" + gdb + " actual:" + v, gdb.toGDuration().equals(v));
-        }
-        else if ("QName".equals(ln))
-        {
-            QName v = attIndex>-1 ? xs.getAttributeQNameValue(attIndex) : xs.getQNameValue();
-            Assert.assertTrue("QName expected:" + qnames[qnamesIdx] + " actual:" + v, qnames[qnamesIdx++].equals(v));
-        }
-        else if ("string".equals(ln))
-        {
-            String v = attIndex>-1 ? xs.getAttributeStringValue(attIndex) : xs.getStringValue();
-            String s = strings[stringsIdx++];
-
-
-            Assert.assertTrue("String expected:\n'" + s + "'         actual:\n'" + v + "'", s.equals(v));
-        }
-    }
-
-    public static String readIS(InputStream is)
-        throws IOException
-    {
-        String res = "";
-        byte[] buf = new byte[20];
-        while (true)
-        {
-            int l = is.read(buf);
-            if (l<0)
-                break;
-            res += new String(buf, 0, l);
-        }
-        return res;
-    }
-
-    public static void main(String[] args) throws IOException, XMLStreamException
-    {
-        XMLInputFactory factory = XMLInputFactory.newInstance();
-        XMLStreamReader xsr = factory.createXMLStreamReader(new FileInputStream(new File(args[0])));
-        XMLStreamReaderExt xsrext = new XMLStreamReaderExtImpl(xsr);
-
-        while (xsrext.hasNext())
-        {
-            switch (xsrext.next())
-            {
-                case XMLEvent.ATTRIBUTE:
-                    processText(xsrext.getLocalName(), xsrext, -1);
-                    break;
-                case XMLEvent.START_ELEMENT:
-                    for (int i = 0; i<xsrext.getAttributeCount(); i++)
-                    {
-                        processText(xsrext.getAttributeLocalName(i), xsrext, i);
-                    }
-                    String ln = xsrext.getLocalName();
-                    processText(ln, xsrext, -1);
-                    break;
-            }
-        }
-    }
-}
diff --git a/v2/test/src/misc/checkin/RuntimeSchemaLoaderTest.java b/v2/test/src/misc/checkin/RuntimeSchemaLoaderTest.java
deleted file mode 100755
index 09ff48c..0000000
--- a/v2/test/src/misc/checkin/RuntimeSchemaLoaderTest.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*   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.
- */
-
-package misc.checkin;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.SchemaTypeLoader;
-
-import javax.xml.namespace.QName;
-
-import java.io.File;
-
-import junit.framework.Assert;
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3.x2001.xmlSchema.SchemaDocument.Schema;
-
-
-
-import tools.util.*;
-
-
-public class RuntimeSchemaLoaderTest extends TestCase
-{
-    public RuntimeSchemaLoaderTest(String name) { super(name); }
-    public static Test suite() { return new TestSuite(RuntimeSchemaLoaderTest.class); }
-
-    public void testDynamicLoad() throws Throwable
-    {
-        File inputfile1 =  JarUtil
-                .getResourceFromJarasFile("xsdcases.jar","xbean/misc/dyntest.xsd");
-        SchemaTypeLoader loader = XmlBeans.loadXsd(new XmlObject[] { XmlObject.Factory.parse(inputfile1) });
-        XmlObject result = loader.parse(
-                 JarUtil.getResourceFromJarasFile("xmlcases.jar","xbean/misc/dyntest.xml"), null, null);
-        Assert.assertEquals("D=wrappedinstance@http://openuri.org/test/dyntest", result.schemaType().toString());
-        Assert.assertEquals(loader.findDocumentType(new QName("http://openuri.org/test/dyntest", "wrappedinstance" )),
-                            result.schemaType());
-    }
-
-    public void testDynamicLoad2() throws Throwable
-    {
-        File inputfile1 =  JarUtil
-                .getResourceFromJarasFile("xsdcases.jar","xbean/misc/dyntest2.xsd");
-        SchemaTypeLoader loader = XmlBeans.loadXsd(new XmlObject[]
-        { XmlObject.Factory.parse(inputfile1) });
-        XmlObject result = loader.parse(
-                 JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                         "xbean/misc/dyntest2.xml"), null, null);
-        Assert.assertEquals("D=wrappedwildcard@http://openuri.org/test/dyntest",
-                result.schemaType().toString());
-        Assert.assertEquals(loader.findDocumentType(
-                new QName("http://openuri.org/test/dyntest", "wrappedwildcard")),
-                            result.schemaType());
-        XmlCursor cur = result.newCursor();
-        Assert.assertTrue("Should have a root element", cur.toFirstChild());
-        result = cur.getObject();
-        Assert.assertEquals("E=wrappedwildcard|D=wrappedwildcard@http://openuri.org/test/dyntest", result.schemaType().toString());
-        Assert.assertEquals(loader.findElement(new QName("http://openuri.org/test/dyntest", "wrappedwildcard")).getType(),
-                            result.schemaType());
-        Assert.assertTrue("Should have a first child", cur.toFirstChild());
-        Assert.assertEquals(new QName("http://www.w3.org/2001/XMLSchema", "schema"), cur.getName());
-        XmlObject obj = cur.getObject();
-        Assert.assertEquals(Schema.type, obj.schemaType());
-    }
-}
diff --git a/v2/test/src/misc/detailed/ThreadingTest.java b/v2/test/src/misc/detailed/ThreadingTest.java
deleted file mode 100755
index 505a9bb..0000000
--- a/v2/test/src/misc/detailed/ThreadingTest.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*   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.
- */
-
-package misc.detailed;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-
-import javax.xml.namespace.QName;
-
-import tools.util.*;
-
-import java.io.File;
-
-public class ThreadingTest extends TestCase
-{
-    public ThreadingTest(String name) { super(name); }
-    public static Test suite() { return new TestSuite(ThreadingTest.class); }
-
-    public static final int THREAD_COUNT = 4;
-    public static final int ITERATION_COUNT = 1;
-
-    public class CompilationThread extends Thread
-    {
-        private Throwable _throwable;
-        private boolean _result;
-
-        public Throwable getException()
-        {
-            return _throwable;
-        }
-
-        public boolean getResult()
-        {
-            return _result;
-        }
-
-        public void run()
-        {
-            try
-            {
-                for (int i = 0; i < ITERATION_COUNT; i++)
-                {
-                    SchemaTypeLoader loader = XmlBeans.loadXsd(new XmlObject[] {
-                        XmlObject.Factory.parse(
-                                 JarUtil.getResourceFromJarasFile("xsdcases.jar",
-                                         "xbean/misc/xmldsig-core-schema.xsd")) });
-                    File temp= JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                                     "xbean/misc/signature-example.xml");
-                    XmlObject result = loader.parse(
-                             temp, null, null);
-                    Assert.assertEquals(loader.findDocumentType(new QName("http://www.w3.org/2000/09/xmldsig#", "Signature")), result.schemaType());
-                }
-                _result = true;
-            }
-            catch (Throwable t)
-            {
-                _throwable = t;
-                t.printStackTrace();
-            }
-        }
-    }
-
-    public void testThreadedCompilation() throws Throwable
-    {
-        CompilationThread[] threads = new CompilationThread[THREAD_COUNT];
-        for (int i = 0; i < threads.length; i++)
-        {
-            threads[i] = new CompilationThread();
-        }
-
-        for (int i = 0; i < threads.length; i++)
-        {
-            threads[i].start();
-        }
-
-        for (int i = 0; i < threads.length; i++)
-        {
-            threads[i].join();
-        }
-
-        for (int i = 0; i < threads.length; i++)
-        {
-            Assert.assertNull(threads[i].getException());
-            Assert.assertTrue("Thread " + i + " didn't succeed", threads[i].getResult());
-        }
-    }
-}
diff --git a/v2/test/src/random/checkin/RandomTest.java b/v2/test/src/random/checkin/RandomTest.java
deleted file mode 100755
index 802b37d..0000000
--- a/v2/test/src/random/checkin/RandomTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-
-/*   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.
- */
-package random.checkin;
-
-import org.apache.xmlbeans.impl.tool.CommandLine;
-
-import java.util.Arrays;
-
-import random.common.Random;
-import junit.framework.TestCase;
-
-
-public class RandomTest  extends TestCase {
-
-     long seed;
-    int iterations;
-    int threads;
-    int docs;
-
-    public void setUp() {
-        seed = System.currentTimeMillis();
-        iterations = Integer.MAX_VALUE;
-        threads = 1;
-        docs = 10;
-    }
-    public static void testNoQuery() throws Exception {
-        String[] args = new String[]{"-seed", "0", "-i", "20", "-noquery"};
-        CommandLine cl = new CommandLine(args, Arrays.asList(
-                new String[]{"seed", "i", "t", "docs", "?", "help"}));
-         Random.runTest(cl);
-    }
-}
diff --git a/v2/test/src/random/common/Random.java b/v2/test/src/random/common/Random.java
deleted file mode 100755
index 3efa926..0000000
--- a/v2/test/src/random/common/Random.java
+++ /dev/null
@@ -1,852 +0,0 @@
-/*   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.
- */
-package random.common;
-
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.impl.tool.CommandLine;
-import org.apache.xmlbeans.impl.values.XmlValueDisconnectedException;
-
-import java.io.ByteArrayOutputStream;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Arrays;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import com.easypo.XmlPurchaseOrderDocumentBean.PurchaseOrder;
-import com.easypo.XmlCustomerBean;
-import com.easypo.XmlLineItemBean;
-import com.easypo.XmlShipperBean;
-
-public class Random implements Runnable {
-
-   static long seed;
-   static int iterations;
-   static int threads;
-   static int docs;
-
-
-    public static void runTest(CommandLine cl) {
-        if (cl.getOpt("?") != null || cl.getOpt("help") != null ||
-                cl.args().length != 0)
-            System.out.println(
-                    "Usage: random [-seed #] [-i iterations] [-t threads] [-docs docs] [-readonly] [-nosave]");
-        else {
-            boolean readonly = false;
-            boolean nosave = false;
-            boolean noquery = false;
-
-            if (cl.getOpt("seed") != null)
-                seed = Long.parseLong(cl.getOpt("seed"));
-            if (cl.getOpt("i") != null)
-                iterations = Integer.parseInt(cl.getOpt("i"));
-            if (cl.getOpt("t") != null)
-                threads = Integer.parseInt(cl.getOpt("t"));
-            if (cl.getOpt("docs") != null)
-                docs = Integer.parseInt(cl.getOpt("docs"));
-            noquery = (cl.getOpt("noquery") != null);
-            readonly = (cl.getOpt("readonly") != null);
-            nosave = (cl.getOpt("nosave") != null);
-
-            System.out.println("seed=" + seed);
-            System.out.println("iterations=" + iterations);
-            System.out.println("threads=" + threads);
-            System.out.println("docs=" + docs);
-            System.out.println(readonly ? "readonly" : "read/write");
-            System.out.println(nosave ? "nosave" : "with save");
-            System.out.println(noquery ? "noquery" : "with query");
-            doTests(seed, iterations, threads, docs, readonly, nosave, noquery);
-        }
-    }
-
-    private static void doTests(long seed, int iterations, int threadCount,
-                                int docCount, boolean readonly, boolean nosave,
-                                boolean noquery) {
-        long start = System.currentTimeMillis();
-
-        XmlObject[] sharedDocs = new XmlObject[docCount];
-        Thread[] threads = new Thread[threadCount];
-
-        for (int i = 0; i < iterations; i++) {
-            for (int j = 0; j < threadCount; j++) {
-                Random runnable = new Random(seed, sharedDocs, readonly,
-                        nosave, noquery, threadCount > 1);
-                threads[j] = new Thread(runnable);
-                threads[j].start();
-                seed++;
-            }
-            for (int j = 0; j < threadCount; j++) {
-                try {
-                    threads[j].join();
-                }
-                catch (InterruptedException e) {
-                    System.err.println("Thread interrupted");
-                }
-            }
-        }
-
-        long end = System.currentTimeMillis();
-
-        System.err.println();
-        System.err.println(
-                "Seconds to run random tests: " + (end - start) / 1000);
-    }
-
-    public void run() {
-        System.err.print("\rSeed: " + _seed);
-
-        try {
-            for (int d = 0; d < _docs.length; d++)
-                _docs[d] = XmlObject.Factory.newInstance();
-
-            _cursors = new ArrayList();
-
-            int nIterations = rnd(60000) + 5000;
-
-            for (int i = 0; i < nIterations; i++) {
-                boolean good = false;
-                try {
-                    _iter++;
-                    iterate();
-                    good = true;
-                }
-                finally {
-                    if (!good) {
-                        System.err.println();
-                        System.err.println("Error on iteration " + _iter);
-                        System.err.println();
-                    }
-                }
-            }
-        }
-        catch (Throwable e) {
-            System.err.println("Error on seed " + _seed);
-            e.printStackTrace(System.err);
-        }
-    }
-
-    private java.util.Random _rnd;
-
-    private XmlObject[] _docs; // shared among threads!!
-    private ArrayList _cursors;
-    private long _seed;
-    private int _iter;
-    private boolean _readonly;
-    private boolean _nosave;
-    private boolean _noquery;
-    private boolean _interference;
-
-
-    private int rnd(int n) {
-        return _rnd.nextInt(n);
-    }
-
-    private int rnd(int min, int maxPlusOne) {
-        return _rnd.nextInt(maxPlusOne - min) + min;
-    }
-
-    private XmlCursor getCursor() {
-        int n = _cursors.size();
-
-        if (n == 0 || (n < _docs.length * 3) && rnd(4) == 0) {
-            XmlCursor c = _docs[rnd(_docs.length)].newCursor();
-            _cursors.add(c);
-            return c;
-        }
-
-        return (XmlCursor) _cursors.get(rnd(n));
-    }
-
-    private void iterate() throws Exception {
-        try {
-            switch (rnd(6)) {
-                case 0:
-                    interateHigh();
-                    break;
-                case 1:
-                    interateHigh();
-                    break;
-                case 2:
-                    interateHigh();
-                    break;
-                case 3:
-                    interateMedium();
-                    break;
-                case 4:
-                    interateMedium();
-                    break;
-                case 5:
-                    interateLow();
-                    break;
-            }
-        }
-        catch (IllegalStateException e) {
-            if (!_interference)
-                throw e;
-        }
-        catch (IllegalArgumentException e) {
-            if (!_interference)
-                throw e;
-        }
-        catch (XmlValueDisconnectedException e) {
-
-        }
-    }
-
-    private void interateHigh() throws Exception {
-        switch (rnd(2)) {
-            case 0:
-                moveCursorRightOneToken();
-                break;
-            case 1:
-                moveCursorLeftOneToken();
-                break;
-        }
-    }
-
-    private void interateMedium() throws Exception {
-        switch (_readonly ? rnd(4) : rnd(24)) {
-            case 0:
-                getChars();
-                break;
-            case 1:
-                getTextValue();
-                break;
-            case 2:
-                compareValue();
-                break;
-            case 3:
-                prevTokenType();
-                break;
-
-            case 4:
-                insertText();
-                break;
-            case 5:
-                moveCharsRight();
-                break;
-            case 6:
-                moveCharsLeft();
-                break;
-            case 7:
-                insertElem();
-                break;
-            case 8:
-                insertAttr();
-                break;
-            case 9:
-                removeXml();
-                break;
-            case 10:
-                removeXmlContents();
-                break;
-            case 11:
-                copyXml();
-                break;
-            case 12:
-                copyXmlContents();
-                break;
-            case 13:
-                moveXml();
-                break;
-            case 14:
-                moveXmlContents();
-                break;
-            case 15:
-                removeText();
-                break;
-            case 16:
-                moveText();
-                break;
-            case 17:
-                copyText();
-                break;
-            case 18:
-                insertComment();
-                break;
-            case 19:
-                insertProcinst();
-                break;
-            case 20:
-                setTextValue();
-                break;
-            case 21:
-                setStrong();
-                break;
-            case 22:
-                objectSet();
-                break;
-            case 23:
-                setName();
-                break;
-        }
-    }
-
-    private void interateLow() throws Exception {
-        switch (rnd(_readonly ? 1 : 0, _nosave ? 8 : 17)) {
-            case 0:
-                changeType();
-                break;
-            case 1:
-                createBookmark();
-                break;
-            case 2:
-                clearBookmark();
-                break;
-
-            case 3:
-                loadDoc();
-                break;
-            case 4:
-                loadSchemadDoc();
-                break;
-            case 5:
-                compareCursors();
-                break;
-            case 6:
-                getObject();
-                break;
-            case 7:
-                newCursor();
-                break;
-
-            case 8:
-                validate();
-                break;
-            case 9:
-                execQuery();
-                break;
-            case 10:
-                xmlInputStream();
-                break;
-            case 11:
-                docBytes();
-                break;
-            case 12:
-                cursorBytes();
-                break;
-            case 13:
-                newDomNode();
-                break;
-            case 14:
-                objectString();
-                break;
-            case 15:
-                cursorString();
-                break;
-            case 16:
-                prettyObject();
-                break;
-        }
-    }
-
-    private XmlObject findObject() {
-        XmlCursor c = getCursor();
-        c.push();
-
-        while (!(c.isContainer() || c.isAttr()))
-            if (c.toNextToken().isNone())
-                break;
-
-        if (!c.isEnddoc()) {
-            XmlObject x = c.getObject();
-            c.pop();
-            if (x == null)
-                throw new IllegalStateException(
-                        "getObject returned null - content must have changed");
-            return x;
-        }
-
-        c.pop();
-        c.push();
-
-        while (!(c.isContainer() || c.isAttr()))
-            if (c.toPrevToken().isNone())
-                break;
-
-        XmlObject x = c.getObject();
-        c.pop();
-        if (x == null)
-            throw new IllegalStateException(
-                    "getObject returned null - content must have changed");
-        return x;
-    }
-
-    private void prettyObject() {
-        XmlOptions options = new XmlOptions();
-        options.setSavePrettyPrint();
-        findObject().xmlText(options);
-    }
-
-    private void objectString() {
-        findObject().toString();
-    }
-
-    private void cursorString() {
-        getCursor().toString();
-    }
-
-    private void changeType() {
-        XmlObject o, n;
-
-        try {
-            o = findObject();
-            SchemaType type = findObject().schemaType();
-            n = o.changeType(type);
-        }
-        catch (IllegalArgumentException e) {
-            return;
-        }
-        catch (IllegalStateException e) {
-            return;
-        }
-
-        for (int i = 0; i < _docs.length; i++) {
-            if (o == _docs[i]) {
-                _docs[i] = n;
-                break;
-            }
-        }
-    }
-
-    private void prevTokenType() {
-        getCursor().prevTokenType();
-    }
-
-    private void newCursor() {
-        findObject().newCursor();
-    }
-
-    private void setName() {
-        XmlCursor c = findObject().newCursor();
-
-        if (!c.isStartdoc())
-            c.setName(getQName());
-
-        c.dispose();
-    }
-
-    private void newDomNode() {
-        if (rnd(5) != 0)
-            return;
-
-        try {
-            getCursor().newDomNode();
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    private void xmlInputStream() throws Exception {
-        if (rnd(5) != 0)
-            return;
-
-        XMLInputStream xis;
-
-        try {
-            xis = getCursor().newXMLInputStream();
-        }
-        catch (IllegalStateException e) {
-            return;
-        }
-
-        while (xis.next() != null)
-            ;
-    }
-
-    private void objectSet() {
-        findObject().set(findObject());
-    }
-
-    private void setStrong() {
-        XmlObject x = findObject();
-
-        if (x instanceof PurchaseOrder) {
-            PurchaseOrder o = (PurchaseOrder) x;
-            o.setDate(Calendar.getInstance());
-        } else if (x instanceof XmlCustomerBean) {
-            XmlCustomerBean o = (XmlCustomerBean) x;
-            o.setName("Bob");
-
-            if (rnd(2) == 0)
-                o.setAge(23);
-
-            if (rnd(2) == 0)
-                o.setMoo(24);
-
-            if (rnd(2) == 0)
-                o.setPoo(200);
-        } else if (x instanceof XmlLineItemBean) {
-            XmlLineItemBean o = (XmlLineItemBean) x;
-            o.setPerUnitOunces(new BigDecimal(122.44));
-            o.setPrice(new BigDecimal(555.33));
-            o.setQuantity(BigInteger.valueOf(111));
-        } else if (x instanceof XmlShipperBean) {
-            XmlShipperBean o = (XmlShipperBean) x;
-            o.setPerOunceRate(new BigDecimal(3.14159));
-            o.setName("Eric");
-        }
-    }
-
-    private void compareValue() {
-        findObject().compareValue(findObject());
-    }
-
-    private void validate() {
-        findObject().validate();
-    }
-
-    private void execQuery() {
-        if (_noquery)
-            return;
-
-        if (rnd(20) > 0)
-            return;
-
-        QName name = getQName();
-
-        String query =
-                "declare namespace xxx='" + name.getNamespaceURI() + "' " +
-                ".//xxx:" + name.getLocalPart();
-
-        XmlObject x = getCursor().execQuery(query).getObject();
-
-        if (rnd(3) == 0)
-            _docs[rnd(_docs.length)] = x;
-    }
-
-    private void getObject() {
-        getCursor().getObject();
-    }
-
-    private void getChars() {
-        getCursor().getChars();
-    }
-
-    private void compareCursors() {
-        try {
-            getCursor().isInSameDocument(getCursor());
-            getCursor().comparePosition(getCursor());
-            getCursor().isAtSamePositionAs(getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-    }
-
-    private String[] _xmls =
-            {
-                "<a/>",
-            };
-
-    private String[] _schema_xmls =
-            {
-                "<po:purchase-order xmlns:po='http://openuri.org/easypo'>\n" +
-            "<po:customer age='31' poo='200'>\n" +
-            "<po:name>David Bau</po:name>\n" +
-            "<po:address>Gladwyne, PA</po:address>\n" +
-            "</po:customer>\n" +
-            "<po:customer age='37'>\n" +
-            "<po:name>Eric Vasilik</po:name>\n" +
-            "<po:address>Redmond, WA</po:address>\n" +
-            "</po:customer>\n" +
-            "<po:date>2002-09-30T14:16:00-05:00</po:date>\n" +
-            "<po:line-item>\n" +
-            "<po:description>Burnham's Celestial Handbook, Vol 1</po:description>\n" +
-            "<po:per-unit-ounces>5</po:per-unit-ounces>\n" +
-            "<po:price>21.79</po:price>\n" +
-            "<po:quantity>2</po:quantity>\n" +
-            "</po:line-item>\n" +
-            "<po:line-item>\n" +
-            "<po:description>Burnham's Celestial Handbook, Vol 2</po:description>\n" +
-            "<po:per-unit-ounces>5</po:per-unit-ounces>\n" +
-            "<po:price>19.89</po:price>\n" +
-            "<po:quantity>2</po:quantity>\n" +
-            "</po:line-item>\n" +
-            "<po:line-item>\n" +
-            "<po:description>Burnham's Celestial Handbook, Vol 3</po:description>\n" +
-            "<po:per-unit-ounces>5</po:per-unit-ounces>\n" +
-            "<po:price>19.89</po:price>\n" +
-            "<po:quantity>1</po:quantity>\n" +
-            "</po:line-item>\n" +
-            "<po:shipper>\n" +
-            "<po:name>UPS</po:name>\n" +
-            "<po:per-ounce-rate>0.74</po:per-ounce-rate>\n" +
-            "</po:shipper>\n" +
-            "</po:purchase-order>\n" +
-            "",
-            };
-
-    private void loadDoc() throws Exception {
-        if (rnd(15) == 0) {
-            _docs[rnd(_docs.length)] =
-                    XmlObject.Factory.parse(_xmls[rnd(_xmls.length)]);
-        }
-    }
-
-    private void loadSchemadDoc() throws Exception {
-        if (rnd(4) == 0) {
-            _docs[rnd(_docs.length)] =
-                    XmlObject.Factory.parse(
-                            _schema_xmls[rnd(_schema_xmls.length)]);
-        }
-    }
-
-    private void moveCursorLeftOneToken() {
-        getCursor().toPrevToken();
-    }
-
-    private void moveCursorRightOneToken() {
-        getCursor().toNextToken();
-    }
-
-    private char[] _chars =
-            {
-                'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
-                'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
-                '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
-                ' ', '<', '>', '&', '-', '?'
-            };
-
-    private void getTextValue() {
-        XmlCursor c = getCursor();
-
-        if (c.isFinish() || c.isNamespace() || c.isText())
-            return;
-
-        c.getTextValue();
-    }
-
-    private void setTextValue() {
-        XmlCursor c = getCursor();
-
-        if (c.isFinish() || c.isNamespace() || c.isText())
-            return;
-
-        StringBuffer sb = new StringBuffer();
-
-        for (int i = rnd(10); i >= 0; i--)
-            sb.append(_chars[rnd(_chars.length)]);
-
-        c.setTextValue(sb.toString());
-    }
-
-    private void moveText() {
-        try {
-            getCursor().moveChars(rnd(10), getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    private void copyText() {
-        try {
-            getCursor().copyChars(rnd(10), getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    private void removeText() {
-        getCursor().removeChars(rnd(6));
-    }
-
-    private void insertComment() {
-        try {
-            getCursor().insertComment("poo");
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    private void insertProcinst() {
-        try {
-            getCursor().insertProcInst("target", "val");
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    private void insertText() {
-        XmlCursor c = getCursor();
-
-        if (c.isAnyAttr() || c.isStartdoc())
-            return;
-
-        StringBuffer sb = new StringBuffer();
-
-        for (int i = rnd(10); i >= 0; i--)
-            sb.append(_chars[rnd(_chars.length)]);
-
-        c.insertChars(sb.toString());
-    }
-
-    private void docChars() {
-        _docs[rnd(_docs.length)].xmlText();
-    }
-
-    private void cursorChars() {
-        getCursor().xmlText();
-    }
-
-    private void docBytes() throws Exception {
-        _docs[rnd(_docs.length)].save(new ByteArrayOutputStream());
-    }
-
-    private void cursorBytes() throws Exception {
-        getCursor().save(new ByteArrayOutputStream());
-    }
-
-    private void moveCharsRight() throws Exception {
-        getCursor().toNextChar(rnd(10));
-    }
-
-    private void moveCharsLeft() throws Exception {
-        getCursor().toPrevChar(rnd(10));
-    }
-
-    private QName getQName() {
-        QName name = null;
-
-        switch (rnd(3)) {
-            case 0:
-                name = XmlBeans.getQName("foo.com", "foo");
-                break;
-            case 1:
-                name = XmlBeans.getQName("bar.com", "bar");
-                break;
-            case 2:
-                name = XmlBeans.getQName("moo");
-                break;
-        }
-
-        return name;
-    }
-
-    private void insertElem() throws Exception {
-        XmlCursor c = getCursor();
-
-        if (c.isAnyAttr() || c.isStartdoc())
-            return;
-
-        c.insertElement(getQName());
-    }
-
-    public void insertAttr() {
-        XmlCursor c = getCursor();
-
-        while (!c.isEnddoc() && !c.isContainer())
-            c.toNextToken();
-
-        if (c.isEnddoc())
-            return;
-
-        c.toNextToken();
-
-        c.insertAttribute(getQName());
-    }
-
-    public void removeXmlContents() {
-        XmlCursor c = getCursor();
-
-        c.removeXmlContents();
-    }
-
-    public void copyXmlContents() {
-        try {
-            getCursor().copyXmlContents(getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    public void copyXml() {
-        try {
-            getCursor().copyXml(getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    public void moveXmlContents() {
-        try {
-            getCursor().moveXmlContents(getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    public void moveXml() {
-        try {
-            getCursor().moveXml(getCursor());
-        }
-        catch (IllegalArgumentException e) {
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    public void removeXml() {
-        XmlCursor c = getCursor();
-
-        if (!c.isStartdoc() && !c.isFinish())
-            c.removeXml();
-    }
-
-    public static class Bookmark extends XmlCursor.XmlBookmark {
-    }
-
-    public void createBookmark() throws Exception {
-        getCursor().setBookmark(new Bookmark());
-    }
-
-    public void clearBookmark() throws Exception {
-        getCursor().clearBookmark(Bookmark.class);
-    }
-
-    public Random(long seed, XmlObject[] sharedDocs, boolean readonly,
-                  boolean nosave, boolean noquery, boolean interference) {
-        _seed = seed;
-        _rnd = new java.util.Random(seed);
-        _docs = sharedDocs;
-        _readonly = readonly;
-        _nosave = nosave;
-        _noquery = noquery;
-        _interference = interference;
-    }
-
-}
-
diff --git a/v2/test/src/schemas/defaults.xsd b/v2/test/src/schemas/defaults.xsd
deleted file mode 100644
index f9a2116..0000000
--- a/v2/test/src/schemas/defaults.xsd
+++ /dev/null
@@ -1,17 +0,0 @@
-<xs:schema
-   xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:tns="http://openuri.org/def"
-   targetNamespace="http://openuri.org/def"
-   elementFormDefault="qualified">
-
-  <xs:element name="defaults">
-    <xs:complexType>
-      <xs:sequence>
-      </xs:sequence>
-      <xs:attribute ref="tns:cool"/>
-    </xs:complexType>
-  </xs:element>
-
-  <xs:attribute name="cool" type="xs:int" default="783"/>
-
-</xs:schema>
diff --git a/v2/test/src/xmlcursor/checkin/AddToSelectionTest.java b/v2/test/src/xmlcursor/checkin/AddToSelectionTest.java
deleted file mode 100755
index 06286ce..0000000
--- a/v2/test/src/xmlcursor/checkin/AddToSelectionTest.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.BasicCursorTestCase;
-
-import java.net.URL;
-
-
-/**
- *
- * 
- */
-
-public class AddToSelectionTest extends BasicCursorTestCase {
-
-    static  String sXml="<foo><b>0</b><b>1</b><b>2</b><b attr=\"a3\">3</b><b>4</b><b>5</b><b>6</b></foo>";
-
-    public AddToSelectionTest(String sName) {
-	super(sName);
-    }
-
-     public static Test suite() {
-        return new TestSuite(AddToSelectionTest.class);
-    }
-
-    public void testAddToSelectionEnd(){
-
-	m_xc.toEndDoc();
-	m_xc.addToSelection();
-	assertEquals(1,m_xc.getSelectionCount());
-    }
-
-    public void testAddToSelectionStart(){
-	m_xc.toStartDoc();
-	m_xc.addToSelection();
-	assertEquals(1,m_xc.getSelectionCount());
-    }
-
-    public void testAddToSelectionAll()throws Exception {
-	sXml = "<foo></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-	XmlCursor.TokenType tok;
-	m_xc.addToSelection();
-	while ((tok=m_xc.toNextToken())!=XmlCursor.TokenType.NONE){
-	    System.err.println(tok);
-	    m_xc.addToSelection();
-	}
-	assertEquals(4,m_xc.getSelectionCount());
-
-	//check results
-	XmlCursor m_xc1=XmlObject.Factory.parse(sXml).newCursor();
-	m_xc.toSelection(0); //reset cursor
-	int i=m_xc.getSelectionCount();
-	while ((tok=m_xc1.toNextToken())!=XmlCursor.TokenType.NONE){
-	    //assertEquals(true,m_xc.hasNextSelection());
-	    assertEquals(m_xc.toNextToken(),tok);
-	    m_xc.toNextSelection();
-	}
-	//second cursor should be at the end of selections too...
-	assertEquals(false,m_xc.toNextSelection());
-	m_xc1.dispose();
-    }
-
-    public void testAddToSelectionSet(){
-	//not set but bag semantics
-	int expRes=100;
-
-	m_xc.clearSelections();
-	for (int i=0;i<100;i++){
-	    m_xc.toStartDoc();
-	    m_xc.addToSelection();
-	}
-	assertEquals(expRes,m_xc.getSelectionCount());
-    }
-
-     public void testAddAfterDispose(){
-
-	 m_xc.dispose();
-	 boolean error=false;
-	 try{
-	     m_xc.addToSelection();
-	 }catch(Throwable e){
-	     error=true;
-	 }
-	 assertEquals(true,error);
-
-     }
-
-
-    public void setUp()throws Exception{
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-    }
-    public void tearDown(){
-	if (m_xc==null) return;
-	try{
-	    m_xc.clearSelections();
-	    super.tearDown();
-	}catch(IllegalStateException e){} //cursor disposed
-
-    }
-
-}
diff --git a/v2/test/src/xmlcursor/checkin/AnnotationsTests.java b/v2/test/src/xmlcursor/checkin/AnnotationsTests.java
deleted file mode 100755
index 3ad5c46..0000000
--- a/v2/test/src/xmlcursor/checkin/AnnotationsTests.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.checkin;
-
-import java.io.File;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import junit.framework.Assert;
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import xmlcursor.common.Common;
-
-public class AnnotationsTests extends TestCase
-{
-    public AnnotationsTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(AnnotationsTests.class); }
-
-    static String[] _args;
-    static String _test;
-
-   
-
-    static class TestBookmark extends XmlCursor.XmlBookmark
-    {
-    }
-
-    //
-    // Basic load up a file and iterate through it
-    //
-
-    public void testBasicXml( )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse(Common.XML_ATTR_TEXT, null).newCursor();
-
-        TestBookmark a1 = new TestBookmark();
-
-        c.setBookmark( a1 );
-        
-        TestBookmark a2 = new TestBookmark();
-
-        c.toNextToken();
-        c.toNextToken();
-        
-        c.setBookmark( a2 );
-        
-        c.toPrevToken();
-        c.toPrevToken();
-
-        Assert.assertEquals( c.getBookmark( TestBookmark.class ), a1 );
-        
-        c.toNextToken();
-        c.toNextToken();
-        
-        Assert.assertEquals( c.getBookmark( TestBookmark.class ), a2 );
-        
-        c.toNextToken();
-        
-        Assert.assertTrue( c.getBookmark( TestBookmark.class ) == null );
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/BeginElementTest.java b/v2/test/src/xmlcursor/checkin/BeginElementTest.java
deleted file mode 100755
index 61206e6..0000000
--- a/v2/test/src/xmlcursor/checkin/BeginElementTest.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.Common;
-import xmlcursor.common.BasicCursorTestCase;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class BeginElementTest extends BasicCursorTestCase {
-    XmlCursor.TokenType tok;
-
-    String sLocalName="localName";
-    String sUri="fakeURI";
-    String sDefaultPrefix=sUri.substring(0,3); //$BUGBUG:WHY???
-    String sExpectedStart="<"+sDefaultPrefix+":localName xmlns:"+sDefaultPrefix+"=\"fakeURI\"/>";
-
-    String sInputDoc=Common.XML_FOO_DIGITS;
-
-
-    public BeginElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(BeginElementTest.class);
-    }
-
-
-
-    public void testBeginElementStr()throws Exception {
-	//same for string API
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	toNextTokenOfType(m_xc, TokenType.START);
-	m_xc.beginElement(sLocalName,sUri);
-	toPrevTokenOfType(m_xc, TokenType.START);
-	/*System.out.println(" SAW "+m_xc.xmlText());
-	System.out.println(" Wanted "+sExpectedStart);
-	System.out.println(" Java Wanted "+new QName(sUri,sLocalName));
-	*/
-	assertEquals(m_xc.xmlText(),sExpectedStart);
-    }
-
-     public void testBeginElementQName() throws Exception{
-	//Qname call
-
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	//insert new under the first element
-	toNextTokenOfType(m_xc, TokenType.START);
-	QName qName=new QName(sUri,sLocalName);
-	m_xc.beginElement(qName);
-	checkResult(qName);
-    }
-    public void testBeginElementQNamePrefix() throws Exception{
-	//Qname with prefix
-	String sPrefix="pre";
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	toNextTokenOfType(m_xc, TokenType.START);
-	QName qName=new QName(sUri,sLocalName,sPrefix);
-	System.out.println("Java prefix Qname: "+qName);
-	m_xc.beginElement(qName);
-	checkResult(qName);
-    }
-
-    //pre: cursor is not moved after beginElt call
-    private void checkResult(QName qName){
-	tok=m_xc.toPrevToken();
-
-	assertEquals(m_xc.getName(),qName);
-
-    }
-
-    public void testBeginElementStartDoc(String sLocalName, String sUri)throws Exception {
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	m_xc.beginElement(sLocalName,sUri);
-	m_xc.toPrevToken();
-	m_xc.toPrevToken();
-	assertEquals(true,m_xc.isStartdoc());
-
-    }
-
-    //
-    public static void main(String[] rgs){
-	try{
-	    BeginElementTest test=(new BeginElementTest(""));
-	    test.testBeginElementQNamePrefix();
-		// test.testBeginElementQName();
-	    System.out.println("getName(): "+test.m_xc.getName());
-	    System.out.println("cmlText(): "+test.m_xc.xmlText());
-	}catch (Exception e){
-
-	}
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/ClearBookmarkTest.java b/v2/test/src/xmlcursor/checkin/ClearBookmarkTest.java
deleted file mode 100755
index 693e52c..0000000
--- a/v2/test/src/xmlcursor/checkin/ClearBookmarkTest.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-
-
-/**
- *
- *
- */
-public class ClearBookmarkTest extends BasicCursorTestCase {
-    private Bookmark0 _theAnnotation0 = new Bookmark0("value0");
-    private Bookmark1 _theAnnotation1 = new Bookmark1("value1");
-    private Bookmark2 _theAnnotation2 = new Bookmark2("value2");
-
-    public ClearBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ClearBookmarkTest.class);
-    }
-
-    public void testClearIndependent() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theAnnotation0);
-        m_xc.setBookmark(_theAnnotation1);
-        m_xc.setBookmark(_theAnnotation2);
-        Bookmark0 ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-        Bookmark1 ann1 = (Bookmark1) m_xc.getBookmark(Bookmark1.class);
-        assertEquals("value1", ann1.text);
-        Bookmark2 ann2 = (Bookmark2) m_xc.getBookmark(Bookmark2.class);
-        assertEquals("value2", ann2.text);
-        // clear ann1
-        m_xc.clearBookmark(Bookmark1.class);
-        ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-        ann1 = (Bookmark1) m_xc.getBookmark(Bookmark1.class);
-        assertNull(ann1);
-        ann2 = (Bookmark2) m_xc.getBookmark(Bookmark2.class);
-        assertEquals("value2", ann2.text);
-    }
-
-    public void testClearNullKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theAnnotation0);
-        m_xc.clearBookmark(null);
-        Bookmark0 ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-    }
-
-    public void testClearSuperClass() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theAnnotation0);
-        m_xc.clearBookmark(XmlBookmark.class);
-        Bookmark0 ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-    }
-
-    public void testClearInvalidClass() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theAnnotation0);
-        m_xc.clearBookmark(this.getClass());
-        Bookmark0 ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-    }
-
-    public class Bookmark0 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark0(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark1 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark1(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark2 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark2(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ClearSelectionTest.java b/v2/test/src/xmlcursor/checkin/ClearSelectionTest.java
deleted file mode 100755
index 7c53e0e..0000000
--- a/v2/test/src/xmlcursor/checkin/ClearSelectionTest.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class ClearSelectionTest extends BasicCursorTestCase {
-    public ClearSelectionTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ClearSelectionTest.class);
-    }
-
-    public void testClearSelection() throws Exception {
-        //m_xo = XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xc.selectPath(ns+" $this//po:city");
-        m_xc.toNextSelection();
-        assertEquals("Mill Valley", m_xc.getTextValue());
-        assertEquals("<po:city "+exp_ns+">Mill Valley</po:city>", m_xc.xmlText());
-        m_xc.clearSelections();
-        assertEquals(false, m_xc.toNextSelection());
-        assertEquals("Mill Valley", m_xc.getTextValue());
-        assertEquals("<po:city "+exp_ns+">Mill Valley</po:city>", m_xc.xmlText());
-    }
-
-    public void testClearSelectionNoSelection() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-               JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        m_xc.clearSelections();
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ComparePositionTest.java b/v2/test/src/xmlcursor/checkin/ComparePositionTest.java
deleted file mode 100755
index 2847c6c..0000000
--- a/v2/test/src/xmlcursor/checkin/ComparePositionTest.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class ComparePositionTest extends BasicCursorTestCase {
-    public ComparePositionTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ComparePositionTest.class);
-    }
-
-    public void testComparePositionThis() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals(0, m_xc.comparePosition(m_xc));
-    }
-
-    public void testComparePositionDifferentDocs() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        m_xc.toFirstChild();
-        xc0.toFirstChild();
-        try {
-            m_xc.comparePosition(xc0);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testComparePositionNull() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        m_xc.toFirstChild();
-        try {
-            m_xc.comparePosition(null);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        }
-    }
-
-    public void testComparePositionRightInTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            toNextTokenOfType(m_xc, TokenType.TEXT);
-            toNextTokenOfType(xc0, TokenType.TEXT);
-            xc0.toNextChar(1);
-            assertEquals(-1, m_xc.comparePosition(xc0));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testComparePositionLeftInTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            toNextTokenOfType(m_xc, TokenType.TEXT);
-            toNextTokenOfType(xc0, TokenType.TEXT);
-            m_xc.toNextChar(1);
-            assertEquals(1, m_xc.comparePosition(xc0));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testComparePositionENDandENDDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            m_xc.toEndDoc();
-            xc0.toEndDoc();
-            xc0.toPrevToken();
-            assertEquals(1, m_xc.comparePosition(xc0));
-        } finally {
-            xc0.dispose();
-        }
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/CopyTest.java b/v2/test/src/xmlcursor/checkin/CopyTest.java
deleted file mode 100755
index 4ff1bbb..0000000
--- a/v2/test/src/xmlcursor/checkin/CopyTest.java
+++ /dev/null
@@ -1,240 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import javax.xml.namespace.QName;
-
-
-
-/**
- *
- *
- */
-public class CopyTest extends BasicCursorTestCase {
-    public CopyTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CopyTest.class);
-    }
-
-    public void testCopyToNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.copyXml(null);
-            fail(
-                    "Expected IllegalArgumentException.  Can't copy to foreign document");
-        }
-        catch (IllegalArgumentException ise) {
-        }
-    }
-
-    public void testCopyDifferentStoresLoadedByParse() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        XmlCursor xc1 = xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        m_xc.copyXml(xc1);
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("01234text", xc1.getTextValue());
-        xc1.dispose();
-        // verify m_xc
-        assertEquals("01234", m_xc.getChars());
-    }
-
-    /**
-     * Method testCopyDifferentStoresLoadedFromFile
-     * <p/>
-     * Tests copy from document w/ namespaces to doc w/o
-     *
-     * @throws Exception
-     */
-    public void testCopyDifferentStoresLoadedFromFile() throws Exception {
-        // load the documents and obtain a cursor
-        XmlObject xobj0 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        XmlObject xobj1 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/po.xml"));
-
-        XmlCursor xc0 = xobj0.newCursor();
-        XmlCursor xc1 = xobj1.newCursor();
-
-        xc0.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//Initial");
-        xc0.toNextSelection();
-         String sQuery=
-                 "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:zip";
-        xc1.selectPath( sQuery );
-        xc1.toNextSelection();
-
-        xc0.copyXml(xc1); // should copy the <Initial>GATX</Initial> element plus the default namespace
-        xc1.toPrevSibling();
-        // verify xc1
-        String sExpected = "<ver:Initial " +
-                "xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\" " +
-                "xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\">" +
-                "GATX</ver:Initial>";
-        assertEquals(sExpected, xc1.xmlText());
-        // verify xc0
-        // should contain all the namespaces for the document
-        assertEquals(
-                "<Initial xmlns=\"" + Common.CLM_NS + "\" " +
-                Common.CLM_XSI_NS +
-                ">GATX</Initial>",
-                xc0.xmlText());
-        xc0.dispose();
-        xc1.dispose();
-
-    }
-
-    /**
-     * Method testCopyDifferentStoresLoadedFromFile2
-     * <p/>
-     * Tests copy from document w/o namespaces to document with namespaces
-     *
-     * @throws Exception
-     */
-    public void testCopyDifferentStoresLoadedFromFile2() throws Exception {
-        // load the documents and obtain a cursor
-        XmlObject xobj0 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        XmlObject xobj1 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-
-        XmlCursor xc0 = xobj0.newCursor();
-        XmlCursor xc1 = xobj1.newCursor();
-
-        xc0.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//Initial");
-        xc0.toNextSelection();
-
-         String sQuery=
-                 "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:zip";
-        xc1.selectPath( sQuery );
-        xc1.selectPath( sQuery );
-        xc1.toNextSelection();
-
-        xc1.copyXml(xc0); // should copy the <zip>90952</zip> element
-        // verify xc1
-        assertEquals(
-                "<po:zip xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\">90952</po:zip>",
-                xc1.xmlText());
-        // verify xc0
-        // should contain all the namespaces for the document
-        xc0.toPrevSibling();
-        // assertEquals("<zip xmlns=\"" + Common.CLM_NS + "\" " + Common.CLM_XSI_NS + ">90952</zip>", xc0.xmlText());
-        String sExpected = "<pur:zip " +
-                "xmlns=\"http://www.tranxml.org/TranXML/Version4.0\" " +
-                "xmlns:xsi=\"http://www.w3.org/2000/10/XMLSchema-instance\" " +
-                "xmlns:pur=\"http://xbean.test/xmlcursor/PurchaseOrder\">" +
-                "90952</pur:zip>";
-
-        assertEquals(sExpected, xc0.xmlText());
-        xc0.dispose();
-        xc1.dispose();
-
-    }
-
-    public void testCopySameLocation() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        m_xc.copyXml(xc1);
-        xc1.dispose();
-        m_xc.toPrevToken();
-        assertEquals("0123401234", m_xc.getTextValue());
-    }
-
-    public void testCopyNewLocation() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-        m_xc.toNextSelection();
-        xc1.selectPath(ns +" $this//po:billTo/po:city");
-        xc1.toNextSelection();
-        m_xc.copyXml(xc1);
-        xc1.toPrevToken();
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("Mill Valley", xc1.getChars());
-        xc1.dispose();
-        // verify m_xc
-        assertEquals("Mill Valley", m_xc.getTextValue());
-
-    }
-
-    public void testCopyElementToMiddleOfTEXT() throws Exception {
-
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-        m_xc.toNextSelection();
-        xc1.selectPath(ns+" $this//po:billTo/po:city");
-        xc1.toNextSelection();
-        xc1.toNextToken();
-        xc1.toNextChar(4);  // should be at 'T' in "Old Town"
-        m_xc.copyXml(xc1);     // should be "Old <city>Mill Valley</city>Town"
-        // verify xc1
-        xc1.toPrevToken();
-        assertEquals(TokenType.END, xc1.currentTokenType());
-        xc1.toPrevToken();
-        assertEquals("Mill Valley", xc1.getChars());
-        xc1.toPrevToken();
-        assertEquals(TokenType.START, xc1.currentTokenType());
-        assertEquals(new QName("city").getLocalPart(),
-                xc1.getName().getLocalPart());
-        xc1.toPrevToken();
-        assertEquals("Old ", xc1.getChars());
-        // verify m_xc
-        assertEquals("<po:city "+exp_ns+">Mill Valley</po:city>", m_xc.xmlText());
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/CopyXmlContentsTest.java b/v2/test/src/xmlcursor/checkin/CopyXmlContentsTest.java
deleted file mode 100755
index 61e1ebd..0000000
--- a/v2/test/src/xmlcursor/checkin/CopyXmlContentsTest.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-
-/**
- *
- *
- */
-public class CopyXmlContentsTest extends BasicCursorTestCase {
-    public CopyXmlContentsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CopyXmlContentsTest.class);
-    }
-
-     public void testCopyToNull() throws Exception {
-
-	 m_xc = XmlObject.Factory.parse(Common.XML_FOO_DIGITS).newCursor();
-	 toNextTokenOfType(m_xc, TokenType.TEXT);
-	 try {
-	     m_xc.copyXmlContents(null);
-	     fail("Expected IllegalArgumentException.  Can't copy to foreign document");
-	 } catch (IllegalArgumentException ise) {
-	 }
-     }
-     public void testCopyDifferentStoresLoadedByParseInvalidDest() throws Exception {
-        String sDoc1=Common.XML_FOO_DIGITS;
-	String sDoc2=Common.XML_FOO_2ATTR_TEXT;
-        m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-        XmlCursor xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        toNextTokenOfType(xc1, TokenType.START);
-	try{
-	    xc1.dispose();
-	    m_xc.copyXmlContents(xc1);
-	    fail("Expected IllegalStateException. Destination cursor was disposed ");
-	} catch (IllegalStateException ise) {
-        }
-    }
-    public void testCopyDifferentStoresLoadedByParse() throws Exception {
-        String sDoc1=Common.XML_FOO_DIGITS;
-	String sDoc2=Common.XML_FOO_2ATTR_TEXT;
-        m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-        XmlCursor xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-	m_xc.copyXmlContents(xc1);
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("01234text", xc1.getTextValue());
-        xc1.dispose();
-
-	System.out.println("test "+m_xc.xmlText());
-        // verify m_xc
-	toNextTokenOfType(m_xc, TokenType.TEXT); //get to the text
-        assertEquals("01234", m_xc.getChars());
-    }
-
-    /* the source is not a container*/
-    public void testCopyDifferentStoresLoadedByParseInvalidSrc() throws Exception {
-        String sDoc1=Common.XML_FOO_DIGITS;
-	String sDoc2=Common.XML_FOO_2ATTR_TEXT;
-        m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-        XmlCursor xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.START);
-        boolean result=m_xc.copyXmlContents(xc1);
-	assertEquals(false, result);
-
-    }
-
-    /*public void testCopyOntoItself() throws Exception {
-        String sDoc1=Common.XML_FOO_DIGITS;
-	m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-	toNextTokenOfType(m_xc, TokenType.TEXT);
-	String sExpectedXml=m_xc.xmlText();
-	boolean result=m_xc.copyXmlContents(m_xc);
-
-	//cursor is left immediately before copied material
-	assertEquals(sExpectedXml,m_xc.getTextValue());
-
-    }
-    */
-    public void testCopySelf() throws Exception {
-	String sDoc1=Common.XML_FOO_DIGITS;
-	m_xo = XmlObject.Factory.parse(sDoc1);
-	m_xc=m_xo.newCursor();
-
-	toNextTokenOfType(m_xc, TokenType.START);
-	String sExpectedXml="<xml-fragment>01234<foo attr0=\"val0\" xmlns=\"http://www.foo.org\">01234</foo></xml-fragment>";
-	boolean result=m_xc.copyXmlContents(m_xc);
-
-	//cursor is left immediately before copied material
-	m_xc.toStartDoc();
-	//assertEquals(sExpectedXml.length(),m_xc.xmlText().length());
-	assertEquals(sExpectedXml,m_xc.xmlText());
-    }
-
-
-    /**
-       Can't really copy the whole doc, so copy all the contents
-       into a false root */
-     public void testCopyWholeDoc() throws Exception {
-        String sDoc1=Common.XML_FOO_BAR_WS_TEXT;
-	String sDoc2="<root></root>";
-	m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-	XmlCursor xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-	xc1.toFirstChild();
-	String sExpectedXml=m_xc.xmlText();
-	boolean result=m_xc.copyXmlContents(xc1);
-	toPrevTokenOfType(xc1,TokenType.STARTDOC);
-	toNextTokenOfType(xc1,TokenType.START);
-	assertEquals(sExpectedXml,xc1.xmlText());
-
-	//namespaces are not copied
-	sDoc1=Common.XML_FOO_NS_PREFIX;
-	sDoc2="<root></root>";
-	m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-	xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-	sExpectedXml=m_xc.xmlText();
-	xc1.toFirstChild();
-
-	result=m_xc.copyXmlContents(xc1);
-	toPrevTokenOfType(xc1,TokenType.STARTDOC);
-	assertEquals(false,sExpectedXml.equals(xc1.xmlText()));
-
-	//attributes are not copied
-	sDoc1=Common.XML_FOO_2ATTR;
-	sDoc2="<root></root>";
-	m_xc = XmlObject.Factory.parse(sDoc1).newCursor();
-	xc1 = XmlObject.Factory.parse(sDoc2).newCursor();
-	sExpectedXml=m_xc.xmlText();
-	xc1.toFirstChild();
-
-	result=m_xc.copyXmlContents(xc1);
-	toPrevTokenOfType(xc1,TokenType.STARTDOC);
-	assertEquals(false,sExpectedXml.equals(xc1.xmlText()));
-
-    }
-
-    public static void main(String[] rgs){
-	try{
-	    // (new CopyXmlContentsTest("")).testCopyOntoItself();
-	    (new CopyXmlContentsTest("")).testCopyWholeDoc();
-	}catch(Exception e){System.err.println(e.getMessage());}
-    }
-
-}
diff --git a/v2/test/src/xmlcursor/checkin/CurrentTokenTypeTest.java b/v2/test/src/xmlcursor/checkin/CurrentTokenTypeTest.java
deleted file mode 100755
index 8c45b00..0000000
--- a/v2/test/src/xmlcursor/checkin/CurrentTokenTypeTest.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-
-/**
- *
- *
- */
-public class CurrentTokenTypeTest extends BasicCursorTestCase {
-
-    String sInputDoc;
-
-    public  CurrentTokenTypeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CurrentTokenTypeTest.class);
-    }
-    /**
-        ATTR
-	COMMENT
-	END
-	ENDDOC
-	NAMESPACE
-	NONE
-	PROCINST
-	START
-	STARTDOC
-	TEXT
-    */
-
-    public void testAttrType() throws XmlException{
-	sInputDoc=Common.XML_FOO_2ATTR_TEXT;
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	assertEquals(m_xc.currentTokenType(),XmlCursor.TokenType.STARTDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.START);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.ATTR);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.ATTR);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.TEXT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.END);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.ENDDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.NONE);
-    }
-    public void testCommentType()throws XmlException{
-	sInputDoc=Common.XML_FOO_COMMENT;
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	assertEquals(m_xc.currentTokenType(),XmlCursor.TokenType.STARTDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.COMMENT);
-     }
-    public void testEndType(){
-	//tested by testAttrType
-     }
-    public void testEndDocType(){
-	//tested by testAttrType
-     }
-    public void testNamespaceType()throws XmlException{
-	sInputDoc=Common.XML_FOO_NS_PREFIX ;
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-
-	assertEquals(m_xc.currentTokenType(),XmlCursor.TokenType.STARTDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.START);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.NAMESPACE);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.COMMENT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.TEXT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.START);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.ATTR);
-
-    }
-    public void testNoneType()throws XmlException{
-	sInputDoc="<a/>";
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	m_xc.toEndDoc();
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.NONE);
-    }
-    public void testProcinstType()throws XmlException{
-	sInputDoc=Common.XML_FOO_PROCINST;
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	assertEquals(m_xc.currentTokenType(),XmlCursor.TokenType.STARTDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.PROCINST);
-
-     }
-    public void testStartType(){
-	//tested by testAttrType
-    }
-    public void testStartdocType(){
-	//tested by testAttrType
-    }
-    public void testTextType()throws XmlException{
-	sInputDoc="<text>blah<test>test and some more test</test>"+"\u042F\u0436\n\r</text>";
-	m_xc= XmlObject.Factory.parse(sInputDoc).newCursor();
-	assertEquals(m_xc.currentTokenType(),XmlCursor.TokenType.STARTDOC);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.START);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.TEXT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.START);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.TEXT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.END);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.TEXT);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.END);
-	assertEquals(m_xc.toNextToken(),XmlCursor.TokenType.ENDDOC);
-
-    }
-
-    public static void main(String[] rgs){
-	try{
-	    (new CurrentTokenTypeTest("")).testAttrType();
-	}catch (Exception e){
-	    System.err.println(e.getMessage());
-	}
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/DisposeTest.java b/v2/test/src/xmlcursor/checkin/DisposeTest.java
deleted file mode 100755
index 75ea757..0000000
--- a/v2/test/src/xmlcursor/checkin/DisposeTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class DisposeTest extends BasicCursorTestCase {
-    public DisposeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(DisposeTest.class);
-    }
-
-    public void testMultipleDispose() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO);
-        m_xc = m_xo.newCursor();
-        m_xc.dispose();
-        m_xc.dispose();
-        assertEquals(true, true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetAllBookmarkRefsTest.java b/v2/test/src/xmlcursor/checkin/GetAllBookmarkRefsTest.java
deleted file mode 100755
index 910e3e7..0000000
--- a/v2/test/src/xmlcursor/checkin/GetAllBookmarkRefsTest.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-import java.util.Vector;
-
-
-/**
- *
- *
- */
-public class GetAllBookmarkRefsTest extends BasicCursorTestCase {
-    private Bookmark0 _theBookmark0 = new Bookmark0("value0");
-    private Bookmark1 _theBookmark1 = new Bookmark1("value1");
-    private Bookmark2 _theBookmark2 = new Bookmark2("value2");
-
-    public GetAllBookmarkRefsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetAllBookmarkRefsTest.class);
-    }
-
-    public void testGetAll() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        m_xc.setBookmark(_theBookmark1);
-        m_xc.setBookmark(_theBookmark2);
-
-        Vector v = new Vector();
-        m_xc.getAllBookmarkRefs(v);
-        assertEquals(3, v.size());
-        assertEquals("value0", ((Bookmark0) v.elementAt(0)).text);
-        assertEquals("value1", ((Bookmark1) v.elementAt(1)).text);
-        assertEquals("value2", ((Bookmark2) v.elementAt(2)).text);
-    }
-
-    public void testGetAllNullListToFill() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        m_xc.setBookmark(_theBookmark1);
-        m_xc.setBookmark(_theBookmark2);
-        m_xc.getAllBookmarkRefs(null);
-        assertTrue(true);
-    }
-
-    public class Bookmark0 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark0(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark1 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark1(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark2 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark2(String text) {
-            this.text = text;
-        }
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetAllNamespacesTest.java b/v2/test/src/xmlcursor/checkin/GetAllNamespacesTest.java
deleted file mode 100755
index d937d0e..0000000
--- a/v2/test/src/xmlcursor/checkin/GetAllNamespacesTest.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import xmlcursor.common.*;
-
-
-import java.util.*;
-
-/**
- *
- *
- */
-public class GetAllNamespacesTest extends BasicCursorTestCase {
-
-    static String sTestXml = "<bk:book xmlns:bk='urn:loc.gov:books'" +
-            " xmlns:isbn='urn:ISBN:0-395-36341-6'>" +
-            "<bk:title>Cheaper by the Dozen</bk:title>" +
-            "<isbn:number>1568491379</isbn:number>" +
-            "<nestedInfo xmlns:bk='urn:loc.gov:booksOverridden'>" +
-            "nestedText</nestedInfo>" +
-            "</bk:book>";
-
-
-    public GetAllNamespacesTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetAllNamespacesTest.class);
-    }
-
-
-    public void testCursorNotContainer() {
-        //lousy message
-        toNextTokenOfType(m_xc, XmlCursor.TokenType.TEXT);
-        Map myHash = new HashMap();
-
-        try {
-            m_xc.getAllNamespaces(myHash);
-            fail("Cursor not on a container");
-        }
-        catch (Exception e) {
-            System.err.println(e.getMessage());
-        }
-        /*
-          Iterator it=myHash.values().iterator();
-          while(it.hasNext()){
-          System.out.println(it.next());
-          }
-        */
-
-    }
-
-
-    public void testGetAllNamespaces() {
-        //parse in setUp
-        int nExpectedNamespaces = 2;//2 distinct namespaces but 3
-        Map namespaceMap = new HashMap();
-        toNextTokenOfType(m_xc, XmlCursor.TokenType.START);
-        m_xc.getAllNamespaces(namespaceMap);
-        assertEquals(namespaceMap.entrySet().size(), nExpectedNamespaces);
-        assertEquals((String) namespaceMap.get("bk"), "urn:loc.gov:books");
-        //assertEquals((String)namespaceMap.get("bk"),"urn:loc.gov:booksOverridden");
-        assertEquals((String) namespaceMap.get("isbn"),
-                "urn:ISBN:0-395-36341-6");
-    }
-
-    public void testGetAllNamespacesIllegalCursorPos() {
-        int nExpectedNamespaces = 0;
-        Map namespaceMap = new HashMap();
-        m_xc.getAllNamespaces(namespaceMap);
-        assertEquals(namespaceMap.entrySet().size(), nExpectedNamespaces);
-    }
-
-    public void testGetAllNamespacesNull() {
-
-        toNextTokenOfType(m_xc, XmlCursor.TokenType.START);
-        try {
-            m_xc.getAllNamespaces(null);
-            fail("Map is null: should get an error");
-        }
-        catch (Exception e) {
-            System.err.println("Error thrown " + e.getMessage());
-        }
-    }
-
-    /**
-     * cursor is positioned below the namespace declaration but in its scope
-     */
-    public void testGetAllNamespacesInternal() {
-        int nExpectedNamespaces = 2;
-        Map namespaceMap = new HashMap();
-        m_xc.toFirstChild();
-        m_xc.toChild(2);//nestedInfo
-        m_xc.getAllNamespaces(namespaceMap);
-        assertEquals(namespaceMap.entrySet().size(), nExpectedNamespaces);
-
-        assertEquals((String) namespaceMap.get("bk"),
-                "urn:loc.gov:booksOverridden");
-        assertEquals((String) namespaceMap.get("isbn"),
-                "urn:ISBN:0-395-36341-6");
-
-    }
-
-    public void setUp() throws Exception {
-        m_xc = XmlObject.Factory.parse(sTestXml).newCursor();
-    }
-
-    public static void main(String[] rgs) {
-        try {
-            GetAllNamespacesTest t = (new GetAllNamespacesTest(""));
-            t.setUp();
-            t.testGetAllNamespacesNull();
-        }
-        catch (Exception e) {
-            System.err.println(e.getMessage());
-        }
-    }
-
-
-}
diff --git a/v2/test/src/xmlcursor/checkin/GetAttributeTextTest.java b/v2/test/src/xmlcursor/checkin/GetAttributeTextTest.java
deleted file mode 100755
index 28ef342..0000000
--- a/v2/test/src/xmlcursor/checkin/GetAttributeTextTest.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import javax.xml.namespace.QName;
-
-
-/**
- *
- *
- */
-public class GetAttributeTextTest extends BasicCursorTestCase {
-    public GetAttributeTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetAttributeTextTest.class);
-    }
-
-    public void testGetAttributeTextFromSTARTwith2ATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("val1", m_xc.getAttributeText(new QName("attr1")));
-    }
-
-    public void testGetAttributeTextFromSTARTwithInvalid() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals(null, m_xc.getAttributeText(new QName("invalid")));
-    }
-
-    public void testGetAttributeTextFromSTARTChildHasAttr() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//items");
-        assertEquals(null, m_xc.getAttributeText(new QName("partNum")));
-    }
-
-    public void testGetAttributeTextFromSTARTDOCChildHasAttr() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        assertEquals(null, m_xc.getAttributeText(new QName("partNum")));
-    }
-
-    public void testGetAttributeTextFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(null, m_xc.getAttributeText(new QName("attr1")));
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetBookmarkTest.java b/v2/test/src/xmlcursor/checkin/GetBookmarkTest.java
deleted file mode 100755
index c306d35..0000000
--- a/v2/test/src/xmlcursor/checkin/GetBookmarkTest.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class GetBookmarkTest extends BasicCursorTestCase {
-    private Bookmark0 _theBookmark0 = new Bookmark0("value0");
-    private Bookmark1 _theBookmark1 = new Bookmark1("value1");
-    private Bookmark2 _theBookmark2 = new Bookmark2("value2");
-
-    public GetBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetBookmarkTest.class);
-    }
-
-    public void testGetBookmarkIndependentKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        m_xc.setBookmark(_theBookmark1);
-        m_xc.setBookmark(_theBookmark2);
-        Bookmark0 ann0 = (Bookmark0) m_xc.getBookmark(Bookmark0.class);
-        assertEquals("value0", ann0.text);
-        Bookmark1 ann1 = (Bookmark1) m_xc.getBookmark(Bookmark1.class);
-        assertEquals("value1", ann1.text);
-        Bookmark2 ann2 = (Bookmark2) m_xc.getBookmark(Bookmark2.class);
-        assertEquals("value2", ann2.text);
-    }
-
-    public void testGetBookmarkNullKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        XmlBookmark xa = m_xc.getBookmark(null);
-        assertNull(xa);
-    }
-
-    public void testGetBookmarkInvalidKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        XmlBookmark xa = m_xc.getBookmark(Bookmark1.class);
-        assertNull(xa);
-    }
-
-    public void testGetBookmarkNotAtCursor() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark0);
-        m_xc.toNextToken();
-        XmlBookmark xa = m_xc.getBookmark(Bookmark0.class);
-        assertNull(xa);
-    }
-
-    public class Bookmark0 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark0(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark1 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark1(String text) {
-            this.text = text;
-        }
-    }
-
-    public class Bookmark2 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark2(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetCharsTest.java b/v2/test/src/xmlcursor/checkin/GetCharsTest.java
deleted file mode 100755
index 41c31b6..0000000
--- a/v2/test/src/xmlcursor/checkin/GetCharsTest.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class GetCharsTest extends BasicCursorTestCase {
-    public GetCharsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetCharsTest.class);
-    }
-
-
-    public void testGetCharFromTEXTOffset() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(1);
-        assertEquals("1234", m_xc.getChars());
-    }
-
-    public void testGetCharFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("", m_xc.getChars());
-    }
-
-    public void testGetCharFromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        assertEquals("", m_xc.getChars());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetCharsType2Test.java b/v2/test/src/xmlcursor/checkin/GetCharsType2Test.java
deleted file mode 100755
index 4ad3f11..0000000
--- a/v2/test/src/xmlcursor/checkin/GetCharsType2Test.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class GetCharsType2Test extends BasicCursorTestCase {
-    public GetCharsType2Test(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetCharsType2Test.class);
-    }
-
-    public void testGetCharsType2LessThanBufLength() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        char[] buf = new char[5];
-        assertEquals(3, m_xc.getChars(buf, 0, 3));
-        String s = new String(buf);
-        assertEquals("012\0\0", s);
-    }
-
-    public void testGetCharsType2GTBufLengthMinusOffset() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        char[] buf = new char[5];
-        assertEquals(2, m_xc.getChars(buf, 3, 3));
-        assertEquals('\0', buf[0]);
-        assertEquals('\0', buf[1]);
-        assertEquals('\0', buf[2]);
-        assertEquals('0', buf[3]);
-        assertEquals('1', buf[4]);
-    }
-
-    public void testGetCharsType2FromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-    public void testGetCharsType2FromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        char[] buf = new char[5];
-        assertEquals(0, m_xc.getChars(buf, 3, 4));
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetDocChangeStampTest.java b/v2/test/src/xmlcursor/checkin/GetDocChangeStampTest.java
deleted file mode 100755
index 0372007..0000000
--- a/v2/test/src/xmlcursor/checkin/GetDocChangeStampTest.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class GetDocChangeStampTest extends BasicCursorTestCase {
-    public GetDocChangeStampTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetDocChangeStampTest.class);
-    }
-
-    public void testGetDocChangeStampHasChanged() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc.selectPath(ns+" $this//po:city");
-        m_xc.toNextSelection();
-        assertEquals("Mill Valley", m_xc.getTextValue());
-        XmlCursor.ChangeStamp cs0 = m_xc.getDocChangeStamp();
-        m_xc.setTextValue("Mowed Valley");
-        assertEquals("Mowed Valley", m_xc.getTextValue());
-        assertEquals(true, cs0.hasChanged());
-    }
-
-    public void testGetDocChangeStampNotChanged() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:city");
-        XmlCursor.ChangeStamp cs0 = m_xc.getDocChangeStamp();
-        m_xc.toEndDoc();
-        assertEquals(false, cs0.hasChanged());
-        System.out.println(cs0);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetNameTest.java b/v2/test/src/xmlcursor/checkin/GetNameTest.java
deleted file mode 100755
index 4da866d..0000000
--- a/v2/test/src/xmlcursor/checkin/GetNameTest.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class GetNameTest extends BasicCursorTestCase {
-    public GetNameTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetNameTest.class);
-    }
-
-    public void testGetNameFromSTARTDOC() throws Exception {
-       // String test="<?xml version=\"1.0\"?><purchaseOrder xmlns= \"http://www.bea.com/po\" orderDate=\"1999-10-20\"><shipTo country=\"US\"><name>Alice Smith</name><street>123 Maple Street</street><city>Mill Valley</city><state>CA</state><zip>90952</zip></shipTo><comment>Hurry, my lawn is going wild!</comment><!-- comment text --><items>2 <item partNum=\"872-AA\" partid=\"00A\"><productName>Lawnmower</productName> <quantity>10</quantity></item><item partNum=\"926-AA\" partid=\"00B\"><productName>Baby Monitor</productName><quantity>1</quantity></item></items></purchaseOrder>";
-        String test="<?xml version=\"1.0\"?>\n" +
-                "<po:purchaseOrder xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\" orderDate=\"1999-10-20\">\n" +
-                "    <po:shipTo country=\"US\">\n" +
-                "        <po:name>Alice Smith</po:name>\n" +
-                "        <po:street>123 Maple Street</po:street>\n" +
-                "        <po:city>Mill Valley</po:city>\n" +
-                "        <po:state>CA</po:state>\n" +
-                "        <po:zip>90952</po:zip>\n" +
-                "    </po:shipTo>\n" +
-                "    <po:billTo country=\"US\">\n" +
-                "        <po:name>Robert Smith</po:name>\n" +
-                "        <po:street>8 Oak Avenue</po:street>\n" +
-                "        <po:city>Old Town</po:city>\n" +
-                "        <po:state>PA</po:state>\n" +
-                "        <po:zip>95819</po:zip>\n" +
-                "    </po:billTo>\n" +
-                "    <po:comment>Hurry, my lawn is going wild!</po:comment>\n" +
-                "    <po:items>\n" +
-                "        <po:item partNum=\"872-AA\">\n" +
-                "            <po:productName>Lawnmower</po:productName>\n" +
-                "            <po:quantity>1</po:quantity>\n" +
-                "            <po:USPrice>148.95</po:USPrice>\n" +
-                "            <po:comment>Confirm this is electric</po:comment>\n" +
-                "        </po:item>\n" +
-                "        <po:item partNum=\"926-AA\">\n" +
-                "            <po:productName>Baby Monitor</po:productName>\n" +
-                "            <po:quantity>1</po:quantity>\n" +
-                "            <po:USPrice>39.98</po:USPrice>\n" +
-                "            <po:shipDate>1999-05-21</po:shipDate>\n" +
-                "        </po:item>\n" +
-                "    </po:items>\n" +
-                "</po:purchaseOrder>";
-                m_xo = XmlObject.Factory.parse(   test);
-               /*   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-                        */
-        m_xc = m_xo.newCursor();
-        assertEquals(null, m_xc.getName());
-    }
-
-    public void testGetNameFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        assertEquals("xml-stylesheet", m_xc.getName().getLocalPart());
-    }
-
-    public void testGetNameFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-        m_xc.toNextSelection();
-        assertEquals("city", m_xc.getName().getLocalPart());
-    }
-
-    public void testGetNameFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>text</bar></foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        toNextTokenOfType(m_xc, TokenType.END);
-        assertEquals(null, m_xc.getName());
-    }
-
-    public void testGetNameFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc.selectPath(ns+" $this//po:shipTo");
-        m_xc.toNextSelection();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("country", m_xc.getName().getLocalPart());
-    }
-
-    public void testGetNameFromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        assertEquals(null, m_xc.getName());
-    }
-
-    public void testGetNameElementWithDefaultNamespace() throws Exception {
-        m_xo =  XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//ETA");
-        m_xc.toNextSelection();
-        assertEquals("ETA", m_xc.getName().getLocalPart());
-        assertEquals(Common.CLM_NS, m_xc.getName().getNamespaceURI());
-    }
-
-    public void testGetNameAttrWithDefaultNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS_PREFIX);
-        m_xc = m_xo.newCursor();
-        String sDefaultElemNS = "default element namespace=\"http://ecommerce.org/schema\"";
-        m_xc.selectPath(sDefaultElemNS + "$this//price");
-        m_xc.toNextSelection();
-        m_xc.toFirstAttribute();
-        assertEquals("units", m_xc.getName().getLocalPart());
-        // note: default namespace does not apply to attribute names, hence should be null
-        assertEquals("", m_xc.getName().getNamespaceURI());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/GetObjectTest.java b/v2/test/src/xmlcursor/checkin/GetObjectTest.java
deleted file mode 100755
index ab0e1d3..0000000
--- a/v2/test/src/xmlcursor/checkin/GetObjectTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlNMTOKEN;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-
-
-/**
- *
- *
- */
-public class GetObjectTest extends BasicCursorTestCase {
-    public GetObjectTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetObjectTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testGetObjectFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        assertEquals(true,
-                m_xc.getObject() instanceof CarLocationMessageDocument);
-    }
-
-    public void testGetObjectFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals(true,
-                m_xc.getObject() instanceof CarLocationMessageDocument.CarLocationMessage);
-    }
-
-    public void testGetObjectFromATTR() throws Exception {
-        m_xo =
-                XmlObject.Factory.parse(//Common.XML_PURCHASEORDER);
-                        JarUtil.getResourceFromJar("xmlcases.jar",
-                                "xbean/xmlcursor/po.xml"));
-        m_xc = m_xo.newCursor();
-        String sQuery=
-                 "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:shipTo";
-        m_xc.selectPath( sQuery );
-        m_xc.toNextSelection();
-        m_xc.toFirstAttribute();
-        assertEquals(true, m_xc.getObject() instanceof XmlNMTOKEN);
-    }
-
-    public void testGetObjectFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        assertEquals(null, m_xc.getObject());
-    }
-
-    public void testGetObjectFromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        assertEquals(null, m_xc.getObject());
-    }
-
-    public void testGetObjectFromNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        assertEquals(null, m_xc.getObject());
-    }
-
-    public void testGetObjectFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        assertEquals(null, m_xc.getObject());
-    }
-
-    public void testGetObjectFromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        assertEquals(null, m_xc.getObject());
-    }
-
-    public void testGetObjectFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(null, m_xc.getObject());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/InsertAttributeTest.java b/v2/test/src/xmlcursor/checkin/InsertAttributeTest.java
deleted file mode 100755
index ff35eae..0000000
--- a/v2/test/src/xmlcursor/checkin/InsertAttributeTest.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class InsertAttributeTest extends BasicCursorTestCase {
-    public InsertAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertAttributeTest.class);
-    }
-
-    public void testInsertAttributeAtSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertAttributeWithValue("name", "uri", "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo uri:name=\"value\" xmlns:uri=\"uri\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.insertAttributeWithValue("name", null, "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"value\" attr0=\"val0\" attr1=\"val1\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAt2ndATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.insertAttributeWithValue("name", null, "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo attr0=\"val0\" name=\"value\" attr1=\"val1\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        m_xc.toNextToken();
-        try {
-            m_xc.insertAttributeWithValue("name", null, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeAtSTARTwithEmptyStringName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.insertAttributeWithValue("", "uri", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeAtSTARTwithNullName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.insertAttributeWithValue(null, "uri", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeWithNullQName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            QName name = new QName(null);
-            m_xc.insertAttribute(name);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeAtSTARTwithEmptyStringUri() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertAttributeWithValue("name", "", "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"value\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtSTARTwithNameXml() throws Exception {
-        /*
-m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-m_xc = m_xo.newCursor();
-toNextTokenOfType(m_xc, TokenType.TEXT);
-try
-{
-m_xc.insertAttributeWithValue("xml", null, "value");
-fail("Expected IllegalArgumentException");
-}
-catch (IllegalArgumentException iae)
-{
-}
-assertEquals(true,true);
-        */
-
-        try {
-            m_xo = XmlObject.Factory.parse("<foo>text</foo>");
-            m_xc = m_xo.newCursor();
-            m_xc.insertAttributeWithValue("xml", null, "value");
-            fail("Expected Exception");
-        } catch (Exception e) {
-        }
-
-        assertTrue(true);
-    }
-
-    public void testInsertAttributeAtSTARTwithValueXml() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertAttributeWithValue("name", null, "xml");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"xml\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtSTARTwithLTcharInName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.insertAttributeWithValue("<b", null, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeAtSTARTwithLTcharInValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertAttributeWithValue("name", null, "<value");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"&lt;value\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtSTARTwithAmpCharInValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertAttributeWithValue("name", null, "&value");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"&amp;value\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeAtSTARTwithAmpCharInName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.insertAttributeWithValue("&bar", null, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    // tests below use the XMLName form of the parameter signature
-
-    public void testInsertAttributeType2AtATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("name");
-        m_xc.insertAttributeWithValue(name, "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo name=\"value\" attr0=\"val0\" attr1=\"val1\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeType2AfterSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        QName name = new QName("name");
-        m_xc.insertAttributeWithValue(name, null);
-        m_xc.toStartDoc();
-        assertEquals("<foo attr0=\"val0\" attr1=\"val1\" name=\"\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertAttributeType2WithXMLinName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("<xml>");
-        try {
-            m_xc.insertAttributeWithValue(name, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeType2WithLeadingSpaceinName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName(" any");
-        try {
-            m_xc.insertAttributeWithValue(name, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeType2ContainingSpaceinName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("any any");
-        try {
-            m_xc.insertAttributeWithValue(name, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeType2WithTrailingSpaceinName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("any ");
-        try {
-            m_xc.insertAttributeWithValue(name, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertAttributeType2WithXMLinNameCase() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("<xMlzorro>");
-        try {
-            m_xc.insertAttributeWithValue(name, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/InsertCharsTest.java b/v2/test/src/xmlcursor/checkin/InsertCharsTest.java
deleted file mode 100755
index bb02bcc..0000000
--- a/v2/test/src/xmlcursor/checkin/InsertCharsTest.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class InsertCharsTest extends BasicCursorTestCase {
-    public InsertCharsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertCharsTest.class);
-    }
-
-    public void testInsertCharsAtSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        m_xc.insertChars(" new chars ");
-        m_xc.toPrevToken();
-        System.out.println(m_xc.currentTokenType());
-        assertEquals(" new chars ", m_xc.getChars());
-    }
-
-    public void testInsertCharsAtSTARTnonEmptyPriorTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_WS_ONLY);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        m_xc.insertChars("new chars ");
-        m_xc.toPrevToken();
-        System.out.println(m_xc.currentTokenType());
-        assertEquals(" new chars ", m_xc.getChars());
-    }
-
-    public void testInsertCharsAtENDnonEmptyPriorTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_WS_ONLY);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.insertChars("new chars ");
-        m_xc.toPrevToken();
-        assertEquals(" new chars ", m_xc.getChars());
-    }
-
-    public void testInsertCharsInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertChars("new chars ");
-        assertEquals("xt", m_xc.getChars());
-        m_xc.toPrevToken();
-        assertEquals("tenew chars xt", m_xc.getTextValue());
-    }
-
-    public void testInsertCharsNullInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertChars(null);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.toPrevToken();
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testInsertCharsEmptyInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertChars("");
-        assertEquals("xt", m_xc.getChars());
-        m_xc.toPrevToken();
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testInsertCharsInNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        try {
-            m_xc.insertChars("fred");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-        assertEquals(true, true);
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/InsertCommentTest.java b/v2/test/src/xmlcursor/checkin/InsertCommentTest.java
deleted file mode 100755
index f4a459e..0000000
--- a/v2/test/src/xmlcursor/checkin/InsertCommentTest.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class InsertCommentTest extends BasicCursorTestCase {
-    public InsertCommentTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertCommentTest.class);
-    }
-
-    public void testInsertCommentAtSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        m_xc.insertComment(" new comment ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><!-- new comment --><bar>text</bar></foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertComment(" new comment ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<bar>te<!-- new comment -->xt</bar>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentAtEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.insertComment(" new comment ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<bar>text<!-- new comment --></bar>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentWithLTChar() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment("< new comment ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><!--< new comment -->text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentWithDoubleDash() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment(" -- ");
-        m_xc.toStartDoc();
-        assertEquals("<foo><!-- -  -->text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentWithDoubleDashNoWS() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment("--");
-        m_xc.toStartDoc();
-        assertEquals("<foo><!--- -->text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentWithEndDash() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment(" -");
-        m_xc.toStartDoc();
-        assertEquals("<foo><!--  -->text</foo>", m_xc.xmlText());
-    }
-
-
-    public void testInsertCommentWithEmptyString() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment("");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><!---->text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentWithNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertComment(null);
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><!---->text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertCommentAtSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.insertComment("should fail");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertEquals(true, true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/InsertElementTest.java b/v2/test/src/xmlcursor/checkin/InsertElementTest.java
deleted file mode 100755
index 13f7673..0000000
--- a/v2/test/src/xmlcursor/checkin/InsertElementTest.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class InsertElementTest extends BasicCursorTestCase {
-    public InsertElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertElementTest.class);
-    }
-
-    public void testInsertElementNullName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.insertElementWithText(null, "uri", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertElementEmptyStringName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.insertElementWithText("", "uri", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertElementNullUri() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.insertElementWithText("name", null, "value");
-        m_xc.toPrevSibling();
-        assertEquals("<name>value</name>", m_xc.xmlText());
-    }
-
-    public void testInsertElementNullText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.insertElementWithText("name", "uri", null);
-        m_xc.toPrevSibling();
-        assertEquals("<uri:name xmlns:uri=\"uri\"/>", m_xc.xmlText());
-    }
-
-    public void testInsertElementEmptyStringText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.insertElementWithText("name", null, "");
-        m_xc.toPrevSibling();
-        assertEquals("<name/>", m_xc.xmlText());
-    }
-
-    public void testInsertElementInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertElementWithText("name", null, "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo>te<name>value</name>xt</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertElementAtEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.insertElementWithText("name", null, "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo>text<name>value</name></foo>", m_xc.xmlText());
-    }
-
-    public void testInsertElementAtSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.insertElementWithText("name", null, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertElementAtENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ENDDOC);
-        m_xc.insertElementWithText("name", null, "value");
-        m_xc.toStartDoc();
-        assertEquals(Common.wrapInXmlFrag("<foo>text</foo><name>value</name>"), m_xc.xmlText());
-    }
-
-    public void testInsertElementInStoreWithNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                        "$this//FleetID");
-        m_xc.toNextSelection();
-        m_xc.insertElementWithText("name", "uri", "value");
-        m_xc.toPrevSibling();
-        assertEquals("<uri:name xmlns=\"" +
-                     Common.CLM_NS + "\" " +
-                     Common.CLM_XSI_NS + " " +
-                     "xmlns:uri=\"uri\">value</uri:name>", m_xc.xmlText());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/InsertProcInstTest.java b/v2/test/src/xmlcursor/checkin/InsertProcInstTest.java
deleted file mode 100755
index 4e60162..0000000
--- a/v2/test/src/xmlcursor/checkin/InsertProcInstTest.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-
-import java.net.URL;
-
-import org.apache.xmlbeans.XmlOptions;
-import xmlcursor.common.*;
-
-import java.util.HashMap;
-
-
-/**
- *
- *
- */
-public class InsertProcInstTest extends BasicCursorTestCase {
-    public InsertProcInstTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertProcInstTest.class);
-    }
-
-    public void testInsertProcInstWithNullTarget() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.insertProcInst(null, "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertProcInstWithEmptyStringTarget() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.insertProcInst("", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testInsertProcInstWithLTcharInTarget() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        try {
-            m_xc.insertProcInst("<target", " value ");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertTrue(true);
-    }
-
-    public void testInsertProcInstWithNullText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertProcInst("target", null);
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<bar>te<?target?>xt</bar>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstWithEmptyStringText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertProcInst("target", "");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<bar>te<?target?>xt</bar>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstWithLTcharInText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        m_xc.insertProcInst("target", "< value ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><?target < value ?><bar>text</bar></foo>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.insertProcInst("target", " value ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<bar>te<?target  value ?>xt</bar>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstAfterSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        m_xc.insertProcInst("target", " value ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo><?target  value ?><bar>text</bar></foo>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstAtEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.insertProcInst("target", " value ");
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("<foo xmlns=\"http://www.foo.org\"><?target  value ?></foo>", m_xc.xmlText());
-    }
-
-    public void testInsertProcInstBeforeATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        try {
-            m_xc.insertProcInst("target", " value ");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        }
-        assertEquals(true, true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/IsAtSamePositionAsTest.java b/v2/test/src/xmlcursor/checkin/IsAtSamePositionAsTest.java
deleted file mode 100755
index 110e1db..0000000
--- a/v2/test/src/xmlcursor/checkin/IsAtSamePositionAsTest.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-
-public class IsAtSamePositionAsTest extends BasicCursorTestCase{
-
-    static String sDoc=Common.XML_FOO_DIGITS;
-
-    public IsAtSamePositionAsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(IsAtSamePositionAsTest.class);
-    }
-    public void testNormalCase(){
-	XmlCursor m_xc1=m_xo.newCursor();; //parse
-	m_xc.toFirstChild();
-	m_xc1.toFirstChild();
-	assertEquals(true,m_xc.isAtSamePositionAs(m_xc1));
-    }
-
-    public void testSamePosDiffDoc()throws Exception{
-	XmlCursor m_xc1=XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	m_xc1.toFirstChild();
-	try{
-	    assertEquals(false,m_xc.isAtSamePositionAs(m_xc1));
-	    fail("Cursors are in different docs");
-	}catch (IllegalArgumentException e){}
-    }
-    public void testDiffPosSameDoc()throws Exception{
-	XmlCursor m_xc1=m_xo.newCursor();
-	m_xc.toFirstChild();
-	m_xc1.toFirstChild();
-	m_xc1.toFirstAttribute();
-	assertEquals(false,m_xc.isAtSamePositionAs(m_xc1));
-    }
-
-    public void testNull(){
-	 try {
-	    assertEquals(false,m_xc.isAtSamePositionAs(null));
-	    fail("Other cursor is Null");
-	 }catch(Exception e){
-	 }
-    }
-
-    public void testSelf(){
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.isAtSamePositionAs(m_xc));
-    }
-
-    public void setUp()throws Exception{
-	m_xo=XmlObject.Factory.parse(sDoc);
-	m_xc=m_xo.newCursor();
-    }
-
-  public static void main(String[] rgs){
-      try{
-	  IsAtSamePositionAsTest t=new IsAtSamePositionAsTest("");
-	   t.setUp();
-	   t.testNormalCase();
-	  }catch (Exception e){
-	    System.err.println("Error "+e.getMessage());
-	    e.printStackTrace();
-	}
-  }
-
-}
diff --git a/v2/test/src/xmlcursor/checkin/IsInSameDocumentTest.java b/v2/test/src/xmlcursor/checkin/IsInSameDocumentTest.java
deleted file mode 100755
index 6f18a17..0000000
--- a/v2/test/src/xmlcursor/checkin/IsInSameDocumentTest.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class IsInSameDocumentTest extends BasicCursorTestCase {
-    public IsInSameDocumentTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(IsInSameDocumentTest.class);
-    }
-
-    public void testSameDocSTARTDOCandENDDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        xc0.toEndDoc();
-        try {
-            assertEquals(true, m_xc.isInSameDocument(xc0));
-            assertEquals(true, xc0.isInSameDocument(m_xc));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testSameDocNAMESPACEandATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_DIGITS).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-            toNextTokenOfType(xc0, TokenType.ATTR);
-            assertEquals(true, m_xc.isInSameDocument(xc0));
-            assertEquals(true, xc0.isInSameDocument(m_xc));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testSameDocNull() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        assertEquals(false, m_xc.isInSameDocument(null));
-    }
-
-    public void testSameDocDifferentDocs() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc0, TokenType.TEXT);
-        try {
-            assertEquals(false, m_xc.isInSameDocument(xc0));
-            assertEquals(false, xc0.isInSameDocument(m_xc));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testSameDocTEXTpositional() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc0, TokenType.TEXT);
-        xc0.toNextChar(2);
-        try {
-            assertEquals(true, m_xc.isInSameDocument(xc0));
-            assertEquals(true, xc0.isInSameDocument(m_xc));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/MoveCharsTest.java b/v2/test/src/xmlcursor/checkin/MoveCharsTest.java
deleted file mode 100755
index 34b17b8..0000000
--- a/v2/test/src/xmlcursor/checkin/MoveCharsTest.java
+++ /dev/null
@@ -1,253 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class MoveCharsTest extends BasicCursorTestCase {
-    public MoveCharsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MoveCharsTest.class);
-    }
-
-    public void testMoveCharsOverlap() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        xc1.toNextChar(2);
-        try {
-            assertEquals("234", xc1.getChars());
-            assertEquals(3, m_xc.moveChars(3, xc1));
-            assertEquals("01234", m_xc.getChars());
-            assertEquals("234", xc1.getChars());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testMoveCharsNoOverlap() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        XmlCursor xc2 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        xc1.toCursor(m_xc);
-        xc2.toCursor(m_xc);
-        xc1.toNextChar(3);
-        xc2.toNextChar(4);
-        try {
-            assertEquals("34", xc1.getChars());
-            assertEquals("4", xc2.getChars());
-            assertEquals(2, m_xc.moveChars(2, xc1));
-            assertEquals("20134", m_xc.getChars());
-            assertEquals("34", xc1.getChars());
-            assertEquals("4", xc2.getChars());
-        } finally {
-            xc1.dispose();
-            xc2.dispose();
-        }
-    }
-
-    public void testMoveCharsToNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.moveChars(4, null);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testMoveCharsSibling() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.moveChars(4, xc0));
-            assertEquals("0123", xc0.getChars());
-            xc0.toPrevToken();
-            assertEquals("WXYZ0123", xc0.getTextValue());
-            System.out.println("we are here");
-            assertEquals(TokenType.END, xc1.currentTokenType());
-
-
-            try {
-                xc1.getTextValue();
-                fail("Expected IllegalStateException");
-            } catch (IllegalStateException e) {
-            }
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testMoveCharsNegative() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.moveChars(-1, xc0));
-            assertEquals("0123", xc0.getChars());
-            xc0.toPrevToken();
-            assertEquals("WXYZ0123", xc0.getTextValue());
-            assertEquals(TokenType.END, xc1.currentTokenType());
-            try {
-                xc1.getTextValue();
-                fail("Expected IllegalStateException");
-            } catch (IllegalStateException e) {
-            }
-
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testMoveCharsZero() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(0, xc1.moveChars(0, xc0));
-            assertEquals("0123", xc0.getChars());
-            xc0.toPrevToken();
-            assertEquals("0123", xc0.getTextValue());
-            assertEquals(TokenType.TEXT, xc1.currentTokenType());
-            assertEquals("WXYZ", xc1.getChars());
-
-
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testMoveCharsToSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        XmlCursor xc0 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.moveChars(4, xc0);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testMoveCharsToPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc0 = m_xo.newCursor();
-        toNextTokenOfType(xc0, TokenType.PROCINST);
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.moveChars(1, xc0);
-        xc0.toPrevToken();
-        try {
-            assertEquals("t", xc0.getChars());
-            assertEquals("ext", m_xc.getChars());
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testMoveCharsGTmax() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.moveChars(1000, xc0));
-            assertEquals("0123", xc0.getChars());
-            xc0.toPrevToken();
-            assertEquals("WXYZ0123", xc0.getTextValue());
-
-            assertEquals(TokenType.END, xc1.currentTokenType());
-
-            try {
-                xc1.getTextValue();
-                fail("Expected IllegalStateException");
-            } catch (IllegalStateException e) {
-            }
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testMoveCharsToNewDocument() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        XmlCursor xc1 = xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        assertEquals(5, m_xc.moveChars(5, xc1));
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("01234text", xc1.getTextValue());
-        xc1.dispose();
-        // verify m_xc
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/MoveTest.java b/v2/test/src/xmlcursor/checkin/MoveTest.java
deleted file mode 100755
index 55fa884..0000000
--- a/v2/test/src/xmlcursor/checkin/MoveTest.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import xmlcursor.common.*;
-
-
-import tools.util.JarUtil;
-import tools.util.Util;
-
-
-/**
- *
- *
- */
-public class MoveTest extends BasicCursorTestCase {
-    public MoveTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MoveTest.class);
-    }
-
-    public void testMoveToNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.moveXml(null);
-            fail(
-                    "Expected IllegalArgumentException.  Can't move to foreign document");
-        }
-        catch (IllegalArgumentException e) {
-        }
-    }
-
-    public void testMoveDifferentStoresLoadedByParse() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        XmlCursor xc1 = xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        m_xc.moveXml(xc1);
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("01234text", xc1.getTextValue());
-        xc1.dispose();
-        // verify m_xc
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-    }
-
-    public void testMoveDifferentStoresLoadedFromFile() throws Exception {
-        // load the documents and obtain a cursor
-        XmlObject xobj0 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        XmlObject xobj1 = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-
-        XmlCursor xc0 = xobj0.newCursor();
-        XmlCursor xc1 = xobj1.newCursor();
-
-        xc0.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//Initial");
-        xc0.toNextSelection();
-
-        String sQuery=
-                "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:zip";
-        xc1.selectPath( sQuery );
-        assertTrue( 0 < xc1.getSelectionCount());
-        xc1.toNextSelection();
-
-
-        xc0.moveXml(xc1); // should move the <Initial>GATX</Initial> element plus the namespace
-
-
-        xc1.toPrevSibling();
-        // verify xc1
-        String sExpected = "<ver:Initial " +
-                "xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\" " +
-                "xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\">" +
-                "GATX</ver:Initial>";
-        assertEquals(sExpected, xc1.xmlText());
-        // verify xc0
-        xc0.toNextToken();  // skip the whitespace token
-        assertEquals("123456", xc0.getTextValue());
-
-        xc0.dispose();
-        xc1.dispose();
-
-    }
-
-    public void testMoveSameLocation() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        m_xc.moveXml(xc1);
-        xc1.dispose();
-        assertEquals("01234", m_xc.getChars());
-    }
-
-    public void testMoveNewLocation() throws Exception {
-       m_xo=XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-        m_xc.toNextSelection();
-        xc1.selectPath(ns +" $this//po:billTo/po:city");
-        xc1.toNextSelection();
-        m_xc.moveXml(xc1);
-        xc1.toPrevToken();
-        xc1.toPrevToken();
-
-        // verify xc1
-        assertEquals("Mill Valley", xc1.getChars());
-
-        // verify m_xc
-        m_xc.toNextToken(); // skip the whitespace token
-
-        assertEquals("CA", m_xc.getTextValue());
-    }
-
-    public void testMoveElementToMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-        m_xc.toNextSelection();
-        xc1.selectPath(ns+" $this//po:billTo/po:city");
-        xc1.toNextSelection();
-        xc1.toNextToken();
-        xc1.toNextChar(4);  // should be at 'T' in "Old Town"
-        m_xc.moveXml(xc1);     // should be "Old <city>Mill Valley</city>Town"
-        // verify xc1
-        xc1.toPrevToken();
-        assertEquals(TokenType.END, xc1.currentTokenType());
-        xc1.toPrevToken();
-        assertEquals("Mill Valley", xc1.getChars());
-        xc1.toPrevToken();
-        assertEquals(TokenType.START, xc1.currentTokenType());
-        assertEquals(new QName("city").getLocalPart(),
-                xc1.getName().getLocalPart());
-        xc1.toPrevToken();
-
-        assertEquals("Old ", xc1.getChars());
-        // verify m_xc
-        m_xc.toNextToken(); // skip the whitespace token
-
-        assertEquals("CA", m_xc.getTextValue());
-    }
-
-    /**
-     * Method testMoveFromSTARTDOC
-     * <p/>
-     * Also used to verify radar bug 16160
-     *
-     * @throws Exception
-     */
-    public void testMoveFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO);
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.moveXml(m_xc);
-            fail("Expected IllegalArgumentException");
-        }
-        catch (IllegalArgumentException e) {
-            // verify 16160
-            String sTrace = Util.getStackTrace(e);
-            int i = sTrace.indexOf("splay.bitch");
-            assertTrue(i < 0);
-        }
-        assertTrue(true);
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/PrevTokenTypeTest.java b/v2/test/src/xmlcursor/checkin/PrevTokenTypeTest.java
deleted file mode 100755
index 18b7dbd..0000000
--- a/v2/test/src/xmlcursor/checkin/PrevTokenTypeTest.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class PrevTokenTypeTest extends BasicCursorTestCase {
-
-    String sDoc="<foo xmlns:edi='http://ecommerce.org/schema'><?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><!-- the 'price' element's namespace is http://ecommerce.org/schema -->  <edi:price units='Euro' date='12-12-03'>32.18</edi:price></foo>";
-
-    public PrevTokenTypeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(PrevTokenTypeTest.class);
-    }
-
-    public void testAllTokensTest(){
-	m_xc.toEndDoc();
-	assertEquals(true,m_xc.isEnddoc());
-	assertEquals(true,m_xc.isFinish());
-	assertEquals(TokenType.END,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isEnd());
-	assertEquals(true,m_xc.isFinish());
-	assertEquals(TokenType.END,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-
-	assertEquals(true,m_xc.isEnd());
-	assertEquals(TokenType.TEXT,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isText());
-	assertEquals(false,m_xc.isContainer());
-	assertEquals(TokenType.ATTR,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isAttr());
-	assertEquals(true,m_xc.isAnyAttr());
-	assertEquals(TokenType.ATTR,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isAttr());
-	assertEquals(true,m_xc.isAnyAttr());
-	assertEquals(TokenType.START,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isStart());
-	assertEquals(true,m_xc.isContainer());
-	assertEquals(TokenType.TEXT,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isText());
-	assertEquals(TokenType.COMMENT,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isComment());
-	assertEquals(TokenType.PROCINST,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isProcinst());
-	assertEquals(TokenType.NAMESPACE,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isNamespace());
-	assertEquals(true,m_xc.isAnyAttr());
-	assertEquals(false,m_xc.isAttr());
-	assertEquals(TokenType.START,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isStart());
-	assertEquals(true,m_xc.isContainer());
-	assertEquals(TokenType.STARTDOC,m_xc.prevTokenType());
-	m_xc.toPrevToken();
-
-	assertEquals(true,m_xc.isStartdoc());
-	assertEquals(true,m_xc.isContainer());
-	assertEquals(TokenType.NONE,m_xc.prevTokenType());
-	//assert won't move further
-	assertEquals(TokenType.NONE,m_xc.toPrevToken());
-	assertEquals(true,m_xc.isStartdoc());
-    }
-
-
-    public void setUp() throws Exception{
-	m_xc=XmlObject.Factory.parse(sDoc).newCursor();
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/RemoveAttributeTest.java b/v2/test/src/xmlcursor/checkin/RemoveAttributeTest.java
deleted file mode 100755
index 753fd43..0000000
--- a/v2/test/src/xmlcursor/checkin/RemoveAttributeTest.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class RemoveAttributeTest extends BasicCursorTestCase {
-    public RemoveAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(RemoveAttributeTest.class);
-    }
-
-    public void testRemoveAttributeValidAttrFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("attr1");
-        assertEquals(true, m_xc.removeAttribute(name));
-        assertEquals(null, m_xc.getAttributeText(name));
-    }
-
-    public void testRemoveAttributeInvalidAttrFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("invalid");
-        assertEquals(false, m_xc.removeAttribute(name));
-    }
-
-    public void testRemoveAttributeNullAttrFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("dummy");
-        try {
-            assertEquals(false, m_xc.removeAttribute(null));
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-        assertTrue(true);
-    }
-
-    public void testRemoveAttributeFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        QName name = new QName("type");
-        assertEquals(false, m_xc.removeAttribute(name));
-    }
-
-    public void testRemoveAttributeXMLNS() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("xmlns");
-        assertEquals(false, m_xc.removeAttribute(name));
-    }
-
-    public void testRemoveAttributeFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        QName name = new QName("attr1");
-        assertEquals(false, m_xc.removeAttribute(name));
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/RemoveCharsTest.java b/v2/test/src/xmlcursor/checkin/RemoveCharsTest.java
deleted file mode 100755
index 8a8916c..0000000
--- a/v2/test/src/xmlcursor/checkin/RemoveCharsTest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class RemoveCharsTest extends BasicCursorTestCase {
-    public RemoveCharsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(RemoveCharsTest.class);
-    }
-
-    public void testRemoveCharsLTLengthFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(3, m_xc.removeChars(3));
-        assertEquals("34", m_xc.getChars());
-    }
-
-    public void testRemoveCharsGTLengthFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(5, m_xc.removeChars(10));
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-    }
-
-    public void testRemoveCharsNegativeFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(5, m_xc.removeChars(-1));
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-    }
-
-    public void testRemoveCharsZeroFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(0, m_xc.removeChars(0));
-        assertEquals("01234", m_xc.getChars());
-    }
-
-    public void testRemoveCharsFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        assertEquals(0, m_xc.removeChars(3));
-    }
-
-    public void testRemoveCharsFromNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        assertEquals(0, m_xc.removeChars(3));
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/RemoveTest.java b/v2/test/src/xmlcursor/checkin/RemoveTest.java
deleted file mode 100755
index 5898c8d..0000000
--- a/v2/test/src/xmlcursor/checkin/RemoveTest.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.*;
-
-import test.xbean.xmlcursor.purchaseOrder.USAddress;
-import org.apache.xmlbeans.impl.values.XmlValueDisconnectedException;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class RemoveTest extends BasicCursorTestCase {
-    public RemoveTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(RemoveTest.class);
-    }
-
-    public void testRemoveFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.removeXml();
-            fail("Expected IllegalStateException");
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-    public void testRemoveFromFirstChild() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.removeXml();
-        assertEquals(TokenType.ENDDOC, m_xc.currentTokenType());
-    }
-
-    public void testRemoveAllText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.removeXml();
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-        m_xc.toStartDoc();
-        assertEquals("<foo><bar/></foo>", m_xc.xmlText());
-    }
-
-    public void testRemovePartialText() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.removeXml();
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-        m_xc.toStartDoc();
-        assertEquals("<foo><bar>te</bar></foo>", m_xc.xmlText());
-    }
-
-    public void testRemoveFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.removeXml();
-        assertEquals(TokenType.ATTR, m_xc.currentTokenType());
-        m_xc.toStartDoc();
-        assertEquals("<foo attr1=\"val1\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testRemoveAffectOnXmlObjectGetXXX() throws Exception {
-        //  m_xo =XmlObject.Factory.parse(JarUtil.getResourceFromJar(
-        //          Common.XMLCASES_JAR, Common.TRANXML_FILE_XMLCURSOR_PO));
-        //XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-        m_xo = XmlObject.Factory.parse(JarUtil.getResourceFromJar(
-                "xmlcases.jar", "xbean/xmlcursor/po.xml"));
-        m_xc = m_xo.newCursor();
-        String sQuery=
-                 "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:shipTo";
-        m_xc.selectPath( sQuery );
-        m_xc.toNextSelection();
-        XmlObject xo = m_xc.getObject();
-        USAddress usa = (USAddress) xo;
-        m_xc.removeXml();
-        try {
-            usa.getCity();
-            fail("Expected XmlValueDisconnectedException");
-        }
-        catch (XmlValueDisconnectedException xvde) {
-        }
-        assertTrue(true);
-    }
-
-    public void testRemoveAffectOnXmlObjectNewCursor() throws Exception {
-
-        // m_xo = XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-        m_xo = XmlObject.Factory.parse(JarUtil.getResourceFromJar(
-                "xmlcases.jar", "xbean/xmlcursor/po.xml"));
-        m_xc = m_xo.newCursor();
-         String sQuery=
-                 "declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\""+
-                 "$this//po:shipTo";
-        m_xc.selectPath( sQuery );
-        m_xc.toNextSelection();
-        XmlObject xo = m_xc.getObject();
-        USAddress usa = (USAddress) xo;
-        m_xc.removeXml();
-        assertNotNull("USAddress object expected non-null, but is null", usa);
-        try {
-            m_xc = usa.newCursor();
-            fail("Expected XmlValueDisconnectedException");
-        }
-        catch (XmlValueDisconnectedException npe) {
-        }
-        assertTrue(true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/SelectPathTest.java b/v2/test/src/xmlcursor/checkin/SelectPathTest.java
deleted file mode 100755
index 952d218..0000000
--- a/v2/test/src/xmlcursor/checkin/SelectPathTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.*;
-
-import tools.util.JarUtil;
-
-
-/**
-  *
- *
- */
-public class SelectPathTest extends BasicCursorTestCase {
-    public SelectPathTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SelectPathTest.class);
-    }
-
-   /**
-        *$BUGBUG: Eric's engine doesn't send to Jaxen appropriately
-    *
-   public void testSelectPathFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.selectPath(ns+" $this//city");
-        assertEquals(0, m_xc.getSelectionCount());
-    }
-
-    public void testSelectPathFromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        toNextTokenOfType(m_xc, TokenType.ENDDOC);
-        m_xc.selectPath(ns+" .//po:city");
-        assertEquals(0, m_xc.getSelectionCount());
-    }
-        */
-    public void testSelectPathNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        String sLocalPath ="$this//FleetID";
-        m_xc.selectPath(sLocalPath);
-        assertEquals(0, m_xc.getSelectionCount());
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                        sLocalPath);
-        assertEquals(1, m_xc.getSelectionCount());
-    }
-
-    public void testSelectPathCaseSensitive() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xc.selectPath(ns+" $this//po:ciTy");
-        assertEquals(0, m_xc.getSelectionCount());
-        m_xc.selectPath(ns+" $this//po:city");
-        assertEquals(2, m_xc.getSelectionCount());
-    }
-
-    public void testSelectPathReservedKeyword() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        m_xc.selectPath(ns+" $this//po:item");
-        assertEquals(2, m_xc.getSelectionCount());
-    }
-
-    public void testSelectPathNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        // TODO: surround with appropriate t-c once ericvas creates the exception type
-        // see bugs 18009 and/or 18718
-        try {
-            m_xc.selectPath(null);
-            fail("Expected RuntimeException");
-        } catch (RuntimeException re) {
-        }
-        assertTrue(true);
-    }
-
-    public void testSelectPathInvalidXPath() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        // TODO: surround with appropriate t-c once ericvas creates the exception type
-        // see bugs 18009 and/or 18718
-        try {
-            m_xc.selectPath("&GARBAGE");
-            fail("Expected RuntimeException");
-        } catch (RuntimeException re) {
-        }
-        assertTrue(true);
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/SetAttributeTextTest.java b/v2/test/src/xmlcursor/checkin/SetAttributeTextTest.java
deleted file mode 100755
index 1eb59ac..0000000
--- a/v2/test/src/xmlcursor/checkin/SetAttributeTextTest.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class SetAttributeTextTest extends BasicCursorTestCase {
-    public SetAttributeTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetAttributeTextTest.class);
-    }
-
-    public void testSetAttributeTextFromSTARTOn2ndATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("attr2");
-        assertEquals(true, m_xc.setAttributeText(name, "newval2"));
-        assertEquals("newval2", m_xc.getAttributeText(name));
-    }
-
-    public void testSetAttributeTextNewName() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        QName name = new QName("newname");
-        assertEquals(true, m_xc.setAttributeText(name, "newval2"));
-        assertEquals("newval2", m_xc.getAttributeText(name));
-    }
-
-    public void testSetAttributeTextFromSTARTChildHasATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//purchaseOrder");
-        QName name = new QName("country");
-        assertEquals(true, m_xc.setAttributeText(name, "Finland"));
-        assertEquals("Finland", m_xc.getAttributeText(name));
-    }
-
-    public void testSetAttributeTextFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        QName name = new QName("orderDate");
-        assertEquals(false, m_xc.setAttributeText(name, "2003-01-10"));
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/SetBookmarkTest.java b/v2/test/src/xmlcursor/checkin/SetBookmarkTest.java
deleted file mode 100755
index 95a3101..0000000
--- a/v2/test/src/xmlcursor/checkin/SetBookmarkTest.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class SetBookmarkTest extends BasicCursorTestCase {
-    private SimpleBookmark _theBookmark = new SimpleBookmark("value");
-    private SimpleBookmark _theBookmark1 = new SimpleBookmark("value1");
-
-    public SetBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetBookmarkTest.class);
-    }
-
-    public void testSetBookmarkAtSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkDuplicateKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark);
-        m_xc.setBookmark(_theBookmark1);
-        // should overwrite the Bookmark of same key analogous to hashtable
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value1", sa.text);
-    }
-
-    public void testSetBookmarkDuplicateKeyDifferentLocation() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.setBookmark(_theBookmark);
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.setBookmark(_theBookmark1);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value1", sa.text);
-        m_xc.toStartDoc();
-        sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkAtSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkAtATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkAtPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkInMiddleOfTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(3);
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkAtENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-    }
-
-    public void testSetBookmarkNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(null);
-        SimpleBookmark sa = (SimpleBookmark) m_xc.getBookmark(SimpleBookmark.class);
-        assertNull(sa);
-    }
-
-    public void testXmlDocumentProperties() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR);
-        m_xo.documentProperties().put("fredkey", "fredvalue");
-        m_xc = m_xo.newCursor();
-        assertEquals("fredvalue", m_xo.documentProperties().get("fredkey"));
-    }
-
-
-    public class SimpleBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public SimpleBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/SetNameTest.java b/v2/test/src/xmlcursor/checkin/SetNameTest.java
deleted file mode 100755
index 2e20dec..0000000
--- a/v2/test/src/xmlcursor/checkin/SetNameTest.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-
-public class SetNameTest extends BasicCursorTestCase{
-    String sTestXml="<bk:book at0=\"value0\" xmlns:bk=\"urn:loc.gov:books\">text0<author at0=\"v0\" at1=\"value1\"/></bk:book>";
-
-
-    public SetNameTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetNameTest.class);
-    }
-
-
-    public void testNormalCase(){
-	m_xc.toFirstChild();
-	QName newName=new QName("newBook");
-	m_xc.setName(newName);
-	assertEquals(m_xc.getName(),newName);
-
-	 newName=new QName("uri:newUri","newBook");
-	m_xc.setName(newName);
-	assertEquals(m_xc.getName(),newName);
-
-
-	 newName=new QName("uri:newUri","newBook","prefix");
-	m_xc.setName(newName);
-	assertEquals(m_xc.getName(),newName);
-
-	//should work for attrs too...
-	m_xc.toFirstAttribute();
-	 newName=new QName("uri:newUri","newBook","prefix");
-	m_xc.setName(newName);
-	assertEquals(m_xc.getName(),newName);
-    }
-
-    public void testNoUri(){
-	m_xc.toFirstChild();
-	QName newName=new QName(null,"newBook");
-	m_xc.setName(newName);
-	assertEquals(m_xc.getName().getLocalPart(),"newBook");
-    }
-
-    public void testNull(){
-	m_xc.toFirstChild();
-	try{
-	    m_xc.setName(null);
-	    fail("QName null");
-	}catch(Exception e){
-	    System.err.println(e.getMessage());
-	}
-
-    }
-
-    public void setUp()throws Exception{
-	m_xc=XmlObject.Factory.parse(sTestXml).newCursor();
-    }
-
-
-    public static void main(String[]rgs){
-	try{
-	    SetNameTest myTest=new SetNameTest("");
-	    myTest.setUp();
-	    myTest.testNormalCase();
-	    myTest.setUp();
-	    myTest.testNoUri();
-	     myTest.setUp();
-	    myTest.testNull();
-
-	}catch(Exception e){
-	    System.err.println(e.getMessage());
-	}
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/SetTextTest.java b/v2/test/src/xmlcursor/checkin/SetTextTest.java
deleted file mode 100755
index cebecb7..0000000
--- a/v2/test/src/xmlcursor/checkin/SetTextTest.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class SetTextTest extends BasicCursorTestCase {
-    public SetTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetTextTest.class);
-    }
-
-    public void testSetTextFromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        m_xc.setTextValue("fred");
-        assertEquals("fred", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        m_xc.setTextValue("new procinst text");
-        assertEquals("new procinst text", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromPROCINSTInputNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        m_xc.setTextValue(null);
-        assertEquals("", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        try {
-            m_xc.setTextValue("fred");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-    }
-
-    public void testSetTextFromNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        try {
-            m_xc.setTextValue("fred");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-    }
-
-    public void testSetTextFromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        try {
-            m_xc.setTextValue("fred");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-    }
-
-    public void testSetTextFromTEXTbegin() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("01234", m_xc.getChars());
-        try {
-            m_xc.setTextValue("new text");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testSetTextFromTEXTmiddle() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("234", m_xc.getChars());
-        try {
-            m_xc.setTextValue("new text");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException e) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testSetTextFromSTARTnotNested() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals("01234", m_xc.getTextValue());
-        m_xc.setTextValue("new text");
-        assertEquals("new text", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromSTARTnotNestedInputNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals("01234", m_xc.getTextValue());
-        m_xc.setTextValue(null);
-        assertEquals("", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromSTARTnested() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals("text0nested0text1nested1", m_xc.getTextValue());
-        m_xc.setTextValue("new text");
-        assertEquals("<foo attr0=\"val0\">new text</foo>", m_xc.xmlText());
-    }
-
-    public void testSetTextFromSTARTnestedInputNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals("text0nested0text1nested1", m_xc.getTextValue());
-        m_xc.setTextValue(null);
-        assertEquals("<foo attr0=\"val0\"/>", m_xc.xmlText());
-    }
-
-    public void testSetTextFromATTRnested() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        m_xc.setTextValue("new text");
-        assertEquals("new text", m_xc.getTextValue());
-    }
-
-    public void testSetTextFromSTARTDOCnested() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        m_xc = m_xo.newCursor();
-        assertEquals("text0nested0text1nested1", m_xc.getTextValue());
-        m_xc.setTextValue("new text");
-        assertEquals(Common.wrapInXmlFrag("new text"), m_xc.xmlText());
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/StoreTests.java b/v2/test/src/xmlcursor/checkin/StoreTests.java
deleted file mode 100755
index 5c4fdbe..0000000
--- a/v2/test/src/xmlcursor/checkin/StoreTests.java
+++ /dev/null
@@ -1,2641 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlSaxHandler;
-import org.apache.xmlbeans.XmlLineNumber;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.common.XmlNameImpl;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.io.StringReader;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Random;
-import java.util.Iterator;
-import java.util.TreeSet;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.xml.sax.Attributes;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.ext.LexicalHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.apache.xmlbeans.xml.stream.Attribute;
-import org.apache.xmlbeans.xml.stream.AttributeIterator;
-import org.apache.xmlbeans.xml.stream.ChangePrefixMapping;
-import org.apache.xmlbeans.xml.stream.CharacterData;
-import org.apache.xmlbeans.xml.stream.Comment;
-import org.apache.xmlbeans.xml.stream.EndDocument;
-import org.apache.xmlbeans.xml.stream.EndElement;
-import org.apache.xmlbeans.xml.stream.EndPrefixMapping;
-import org.apache.xmlbeans.xml.stream.StartDocument;
-import org.apache.xmlbeans.xml.stream.StartElement;
-import org.apache.xmlbeans.xml.stream.StartPrefixMapping;
-import org.apache.xmlbeans.xml.stream.XMLEvent;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.xml.stream.XMLName;
-
-
-import xmlcursor.common.Common;
-   
-public class StoreTests extends TestCase
-{
-    public StoreTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(StoreTests.class); }
-
-    static String[] _args;
-    static String _test;
-
-    
-
-    private void streamTest ( String xml )
-        throws Exception
-    {
-        XmlObject x1 = XmlObject.Factory.parse( xml );
-        XmlObject x2 = XmlObject.Factory.parse( x1.newCursor().newXMLStreamReader() );
-
-        String x1Text = x1.xmlText();
-        String x2Text = x2.xmlText();
-
-        Assert.assertTrue( x1Text.equals( x2Text ) );
-    }
-
-    public void testXMLStreamReader ( )
-        throws Exception
-    {
-        streamTest( "<a/>" );
-        streamTest( "<a x='y'/>" );
-        streamTest( "<a><b>foo</b></a>" );
-        streamTest( "<a><b>fo<!--moo-->o<?goof ball?>dsfdf</b></a>" );
-        streamTest( "<a xmlns='nnn'></a>" );
-        streamTest( "<a x='y'><!---->x<b/><c p='q'>z</c></a>" );
-        streamTest( "<a x='y'><!----><b>moo</b><c p='q'></c></a>" );
-        streamTest( "<a>asa<b/>sdsd<c>aaz</c>adsasd</a>" );
-        streamTest( "<a><?target value?></a>" );
-        streamTest( "<n:a xmlns:n='nnn'></n:a>" );
-        streamTest( "<j:a x='y' p='q' xmlns:j='k'></j:a>" );
-        streamTest( "<foo xmlns=\"foo.com\"><bar>1</bar></foo>" );
-        streamTest( "<foo><!--comment--><?target foo?></foo>" );
-        streamTest( "<foo>a<bar>b</bar>c<bar>d</bar>e</foo>" );
-        streamTest( "<foo xmlns:x=\"y\"><bar xmlns:x=\"z\"/></foo>" );
-        streamTest( "<foo x=\"y\" p=\"r\"/>" );
-    }
-    
-    public void testReplaceContents ( )
-        throws Exception
-    {
-        XmlObject xDst = XmlObject.Factory.newInstance();
-        XmlObject xSrc = XmlObject.Factory.parse( "<foo/>" );
-        XmlObject newDst = xDst.set( xSrc );
-        Assert.assertTrue( newDst.xmlText().equals( "<foo/>" ) );
-        
-        xDst = XmlObject.Factory.parse( "<bar/>" );
-        xSrc = XmlObject.Factory.parse( "<foo/>" );
-        XmlCursor c = xDst.newCursor();
-        c.toNextToken();
-        xDst = c.getObject();
-        xDst.set( xSrc );
-        c.toStartDoc();
-        xDst = c.getObject();
-        Assert.assertTrue( xDst.xmlText().equals( "<bar><foo/></bar>" ) );
-
-        xDst = XmlObject.Factory.parse( "<bar x='y'/>" );
-        xSrc = XmlObject.Factory.parse( "<foo>moo</foo>" );
-        c = xDst.newCursor();
-        c.toNextToken();
-        c.toNextToken();
-        xDst = c.getObject();
-        xDst.set( xSrc );
-        c.toStartDoc();
-        xDst = c.getObject();
-        Assert.assertTrue( xDst.xmlText().equals( "<bar x=\"moo\"/>" ) );
-    }
-    
-    public void testSniffing ( )
-        throws Exception
-    {
-        XmlObject x;
-        
-        x = XmlObject.Factory.parse( "<xoo/>" );
-        Assert.assertTrue( x.schemaType() == XmlBeans.NO_TYPE );
-        
-        x = XmlObject.Factory.parse(
-            "<schema xmlns='http://www.w3.org/2001/XMLSchema'/>" );
-        Assert.assertTrue(
-            x.schemaType() == org.w3.x2001.xmlSchema.SchemaDocument.type );
-
-        x = XmlObject.Factory.parse(
-            "<schema xmlns='http://www.w3.org/2001/XMLSchema/moo'/>" );
-        Assert.assertTrue( x.schemaType() == XmlBeans.NO_TYPE );
-
-        x = XmlObject.Factory.parse(
-            "<schema xmlns='http://www.w3.org/2001/XMLSchema'/>" );
-        Assert.assertTrue(
-            x.schemaType() == org.w3.x2001.xmlSchema.SchemaDocument.type );
-
-        x = org.w3.x2001.xmlSchema.SchemaDocument.Factory.parse(
-                "<schema xmlns='http://www.w3.org/2001/XMLSchema'/>" );
-        Assert.assertTrue(
-            x.schemaType() == org.w3.x2001.xmlSchema.SchemaDocument.type );
-
-        try {
-            x = 
-                org.w3.x2001.xmlSchema.SchemaDocument.Factory.parse(
-                    "<schema xmlns='http://www.w3.org/2001/XMLSchema/moo'/>" );
-            Assert.assertTrue( false );
-        }
-        catch ( Throwable e ) { }
-    }
-    
-    public void testCursorStack ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo x='y'/>" );
-        XmlCursor c = x.newCursor();
-        c.push();
-        c.toNextToken();
-        c.push();
-        c.toNextToken();
-        Assert.assertTrue( c.isAttr() );
-        c.pop();
-        Assert.assertTrue( c.isStart() );
-        c.pop();
-        Assert.assertTrue( c.isStartdoc() );
-    }
-    
-    public void testImplicitNamespaces ( )
-        throws Exception
-    {
-        Map namespaces = new HashMap();
-        namespaces.put( "foo", "foo.com" );
-        namespaces.put( "bar", "bar.com" );
-        namespaces.put( "", "default.com" );
-
-        XmlOptions options = new XmlOptions();
-        options.put( XmlOptions.SAVE_IMPLICIT_NAMESPACES, namespaces );
-
-        XmlObject x = XmlObject.Factory.newInstance();
-        XmlCursor c = x.newCursor();
-
-        c.toNextToken();
-
-        c.beginElement( "a", "foo.com" );
-        c.beginElement( "b", "default.com" );
-        c.beginElement( "c", "bar.com" );
-
-        Assert.assertTrue(
-            x.xmlText( options ).equals( "<foo:a><b><bar:c/></b></foo:a>" ) );
-    }
-
-    private static class Content implements ContentHandler, LexicalHandler
-    {
-        public void startDocument ( ) throws SAXException 
-        {
-            add( "START_DOCUMENT" );
-        }
-
-        public void endDocument ( ) throws SAXException 
-        {
-            add( "END_DOCUMENT" );
-        }
-
-        public void startElement (
-            String namespaceURI, String localName,
-            String qName, Attributes atts )
-                throws SAXException
-        {
-            add( "START_ELEMENT" );
-            add( "  namespaceURI: " + namespaceURI );
-            add( "  localName: " + localName );
-//            add( "  qName: " + qName ); 
-
-            TreeSet sortedAttrs = new TreeSet();
-
-            for ( int i = 0 ; i < atts.getLength() ; i++ )
-            {
-                String ln = atts.getLocalName( i );
-                String uri = atts.getURI( i );
-                String qname = atts.getQName( i );
-
-                if (ln.equals("xmlns"))
-                    continue;
-                if (qname.startsWith("xmlns"))
-                    continue;
-
-//                if (ln.equals( "xmlns" ))
-//                    ln = "";
-//
-//                if (uri.equals( "xmlns" ))
-//                    uri = "";
-
-                sortedAttrs.add(
-                    uri + "-" + ln + "-" +
-                        atts.getQName( i ) + "-" + atts.getType( i ) + "-" +
-                            atts.getValue( i ) );
-            }
-
-            for ( Iterator i = sortedAttrs.iterator() ; i.hasNext() ; )
-                add( "  Attr: " + i.next() );
-        }
-
-        public void endElement (
-            String namespaceURI, String localName, String qName )
-                throws SAXException
-        {
-            add( "END_ELEMENT" );
-            add( "  namespaceURI: " + namespaceURI );
-            add( "  localName: " + localName );
-//            add( "  qName: " + qName );
-        }
-
-        public void characters ( char ch[], int start, int length )
-            throws SAXException
-        {
-            if (length > 0)
-            {
-                add( "CHARACTERS" );
-                add( ch, start, length );
-            }
-        }
-
-        public void comment ( char ch[], int start, int length ) 
-            throws SAXException 
-        { 
-            add( "COMMENT" );
-            add( "  Comment: ", ch, start, length );
-        }
-
-        public void processingInstruction ( String target, String data )
-            throws SAXException
-        {
-            add( "PROCESSING_INSTRUCTION" );
-            add(   "target: " + target );
-            add(   "data: " + data );
-        }
-
-        public void ignorableWhitespace ( char ch[], int start, int length )
-            throws SAXException
-        {
-            if (length > 0)
-            {
-                add( "IGNORABLE_WHITESPACE" );
-                add( "  whitespace: ", ch, start, length );
-            }
-        }
-        
-        public void startPrefixMapping ( String prefix, String uri )
-            throws SAXException
-        {
-            add( "START_PREFIX_MAPPING" );
-//            add( "  prefix: " + prefix );
-            add( "  uri: " + uri );
-        }
-        
-        public void endPrefixMapping ( String prefix ) throws SAXException
-        {
-            add( "END_PREFIX_MAPPING" );
-//            add( "  prefix: " + prefix );
-        }
-        
-        public void startCDATA ( ) throws SAXException
-        {
-            add( "START_CDATA" );
-        }
-        
-        public void endCDATA ( ) throws SAXException
-        {
-            add( "END_CDATA" );
-        }
-        
-        public void startDTD ( String name, String publicId, String systemId )
-            throws SAXException
-        {
-            add( "START_DTD" );
-            add( "  name: " + name );
-            add( "  publicId: " + publicId );
-            add( "  systemId: " + systemId );
-        }
-        
-        public void endDTD ( ) throws SAXException
-        {
-            add( "END_DTD" );
-        }
-        
-        public void startEntity ( String name ) throws SAXException
-        {
-            add( "START_ENTITY" );
-            add( "  name: " + name );
-        }
-        
-        public void endEntity ( String name ) throws SAXException
-        {
-            add( "END_ENTITY" );
-            add( "  name: " + name );
-        }
-        
-        public void setDocumentLocator ( Locator locator )
-        {
-            // add( "START_DOCUMENT_LOCATOR" );
-        }
-
-        public void skippedEntity ( String name ) throws SAXException
-        {
-            add( "SKIPPED_ENTITY" );
-            add( "  name: " + name );
-        }
-
-        private void add ( String s )
-        {
-            _sb.append( s );
-            _sb.append( "\n" );
-        }
-        
-        private void add ( String s, char[] buf, int off, int cch )
-        {
-            _sb.append( s );
-            _sb.append( buf, off, cch );
-            _sb.append( "\n" );
-        }
-        
-        private void add ( char[] buf, int off, int cch )
-        {
-            _sb.append( buf, off, cch );
-            _sb.append( "\n" );
-        }
-        
-        public boolean equals ( Object that )
-        {
-            return toString().equals( that.toString() );
-        }
-
-        public String toString ( )
-        {
-            return _sb.toString();
-        }
-
-        private StringBuffer _sb = new StringBuffer();
-    }
-    
-    public void doTestSaxSaver ( String xml )
-        throws Exception
-    {
-        // ME
-        
-        Content content2 = new Content();
-
-        XmlObject x = XmlObject.Factory.parse( xml );
-
-        x.save( content2, content2 );
-
-        // THEM
-
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        SAXParser sp = spf.newSAXParser();
-        
-        XMLReader xr = sp.getXMLReader();
-        
-        Content content1 = new Content();
-        
-        xr.setProperty( "http://xml.org/sax/properties/lexical-handler", content1 );
-        xr.setFeature( "http://xml.org/sax/features/namespace-prefixes", true );
-        xr.setFeature( "http://xml.org/sax/features/namespaces", true );
-        xr.setFeature( "http://xml.org/sax/features/validation", false );
-
-        xr.setContentHandler( content1 );
-        
-        InputSource is = new InputSource( new StringReader(  xml ) );
-
-        xr.parse( is );
-
-
-        if (!content1.equals( content2 ))
-        {
-            System.err.println( "SAX save failure: " );
-            System.err.println( xml );
-            System.err.println();
-            
-            System.err.println( "SAX: " );
-            System.err.println( content1.toString() );
-            System.err.println();
-            
-            System.err.println( "ME: " );
-            System.err.println( content2.toString() );
-            System.err.println();
-            
-            Assert.assertTrue( false );
-        }
-    }
-    
-    public void testSaxSaver ( )
-        throws Exception
-    {
-        doTestSaxSaver( "<a xmlns='nnn'></a>" );
-        doTestSaxSaver( "<a x='y'><!---->x<b/><c p='q'>z</c></a>" );
-        doTestSaxSaver( "<a x='y'><!----><b>moo</b><c p='q'></c></a>" );
-        doTestSaxSaver( "<a>asa<b/>sdsd<c>aaz</c>adsasd</a>" );
-        doTestSaxSaver( "<a><?target value?></a>" );
-        doTestSaxSaver( "<n:a xmlns:n='nnn'></n:a>" );
-        doTestSaxSaver( "<j:a x='y' p='q' xmlns:j='k'></j:a>" );
-    }
-    
-    public void __testParsing ( )
-        throws Exception
-    {
-        Random r = new Random( 1 );
-        
-        for ( int i = 0 ; i < 100000 ; i++ )
-        {
-            String xml = makeRandomDocument( r );
-
-//            System.err.println( "Starting..." );
-//
-//            System.err.println( xml );
-
-            try
-            {
-                XmlObject.Factory.parse( xml );
-            }
-            catch ( Throwable e )
-            {
-                System.err.println( "Failed parse test:" );
-                e.printStackTrace();
-                System.err.println( xml );
-
-                OutputStream os = new FileOutputStream( "c:\\ee.xml" );
-                PrintStream ps = new PrintStream( os );
-                ps.println( xml );
-                ps.close();
-                os.close();
-
-                throw (RuntimeException) e;
-            }
-            
-//            System.err.println( "Finished..." );
-        }
-    }
-
-    public void doTestLineNumbers ( String xml )
-        throws Exception
-    {
-        int line = 1;
-        int col = 1;
-
-        XmlCursor c =
-            XmlObject.Factory.parse(
-                xml, new XmlOptions().setLoadLineNumbers() ).
-                    newCursor();
-
-        for ( int i = 0 ; i < xml.length() ; i++ )
-        {
-            char ch = xml.charAt( i );
-
-            if (ch == '<' && Character.isLetter( xml.charAt( i + 1 ) ) )
-            {
-                while (!c.currentTokenType().isStart())
-                    c.toNextToken();
-
-                Assert.assertTrue( c.currentTokenType().isStart() );
-                    
-                XmlLineNumber ln =
-                    (XmlLineNumber)
-                        c.getBookmark( XmlLineNumber.class );
-
-                Assert.assertTrue( ln != null );
-
-                Assert.assertTrue( ln.getLine()   == -1 || ln.getLine() == line );
-                Assert.assertTrue( ln.getColumn() == -1 || ln.getColumn() == col );
-                Assert.assertTrue( ln.getOffset() == -1 || ln.getOffset() == i );
-                
-                c.toNextToken();
-            }
-
-            if (ch == '\n')
-            {
-                line++;
-                col= 1;
-            }
-            else
-                col++;
-        }
-    }
-    
-    public void __testLineNumbers ( )
-        throws Exception
-    {
-        Random r = new Random( 1 );
-        
-        for ( int i = 0 ; i < 1000 ; i++ )
-        {
-            String xml = makeRandomDocument( r );
-
-//            System.err.println( "Starting..." );
-//
-//            System.err.println( xml );
-
-            try
-            {
-                doTestLineNumbers( xml );
-            }
-            catch ( Throwable e )
-            {
-                System.err.println( "Failed line number test:" );
-                System.err.println( xml );
-
-                OutputStream os = new FileOutputStream( "c:\\ee.xml" );
-                PrintStream ps = new PrintStream( os );
-                ps.println( xml );
-                ps.close();
-                os.close();
-
-                throw (RuntimeException) e;
-            }
-            
-//            System.err.println( "Finished..." );
-        }
-    }
-
-    private static class DocBuilder
-    {
-        Random r;
-        StringBuffer sb;
-        
-        DocBuilder ( Random _r, StringBuffer _sb )
-        {
-            r = _r;
-            sb = _sb;
-        }
-
-        void append ( char ch )
-        {
-            sb.append( ch );
-        }
-        
-        void append ( String s )
-        {
-            sb.append( s );
-        }
-
-        public void whitespace ( )
-        {
-            int p = r.nextInt( 100 );
-
-            if (p < 20)
-                append( '\t' );
-            else if (p < 40)
-                append( '\n' );
-            else
-                append( ' ' );
-        }
-
-        public void whitespaces ( )
-        {
-            for ( int i = r.nextInt( 8 ) ; i > 0 ; i-- )
-                whitespace();
-        }
-
-        public char makeLetter ( )
-        {
-            return (char) (((int) 'a') + r.nextInt( 26 ));
-        }
-        
-        public void letter ( )
-        {
-            append( makeLetter() );
-        }
-
-        public void charEntity ( )
-        {
-            switch ( r.nextInt( 5 ) )
-            {
-            case 0 : append( "&lt;" ); break;
-            case 1 : append( "&gt;" ); break;
-            case 2 : append( "&amp;" ); break;
-            case 3 : append( "&apos;" ); break;
-            case 4 : append( "&quot;" ); break;
-            }
-        }
-                
-        public void text ( )
-        {
-            for ( int i = r.nextInt( 20 ) ; i > 0 ; i-- )
-            {
-                int p = r.nextInt( 100 );
-
-                if (p < 70)
-                    letter();
-                else if (p < 74)
-                    charEntity();
-                else
-                    whitespace();
-            }
-        }
-
-        public String makeNcName ( )
-        {
-            StringBuffer name = new StringBuffer();
-            
-            for ( ; ; )
-            {
-                char ch = makeLetter();
-
-                if (ch == 'x' || ch == 'X')
-                    continue;
-
-                name.append( ch );
-
-                break;
-            }
-            
-            for ( int i = r.nextInt( 20 ) ; i > 0 ; i-- )
-                name.append( makeLetter() );
-
-            return name.toString();
-        }
-
-        public void ncName ( )
-        {
-            append( makeNcName() );
-        }
-
-        public void comment ( )
-        {
-            append( "<!--" );
-            text();
-            append( "-->" );
-        }
-        
-        public void procinst ( )
-        {
-            append( "<?" );
-            ncName();
-
-            if (r.nextInt( 100 ) < 90)
-            {
-                whitespace();
-                text();
-            }
-
-            append( "?>" );
-        }
-
-        public void whiteContent ( )
-        {
-            for ( ; ; )
-            {
-                int p = r.nextInt( 100 );
-
-                if (p < 20)
-                    break;
-                else if (p < 50)
-                    whitespaces();
-                else if (p < 70)
-                    comment();
-                else
-                    procinst();
-            }
-        }
-        
-        public void xmlDecl ( )
-        {
-            append( "<?xml version=\"1.0\"?>" );
-        }
-        
-        public void content ( int depth )
-        {
-            for ( int i = r.nextInt( 10 ) ; i > 0 ; i-- )
-            {
-                switch ( r.nextInt( 4 ) )
-                {
-                case 0 :
-                    elementContent( depth + 1 );
-                    break;
-                    
-                case 1 : text();           break;
-                case 2 : comment();        break;
-                case 3 : procinst();       break;
-                }
-            }
-        }
-        
-        public void attribute ( )
-        {
-            ncName();
-            
-            if (r.nextInt( 100 ) == 0)
-                whitespaces();
-
-            append( '=' );
-            
-            if (r.nextInt( 100 ) == 0)
-                whitespaces();
-
-            char q = r.nextInt( 2 ) == 0 ? '\'' : '"';
-
-            append( q );
-
-            text();
-            
-            append( q );
-        }
-        
-        public void elementContent ( int depth )
-        {
-            // If depth == 0, guarantee an element, otherwise, as depth
-            // increases, the probablility we'll spit out an element
-            // gets smaller.
-
-            if (r.nextInt( depth + 1 ) <= 1)
-            {
-                String name = makeNcName();
-
-                append( '<' );
-                append( name );
-
-                if (r.nextInt( 100 ) == 0)
-                    whitespaces();
-
-                HashMap attrs = new HashMap();
-                
-                for ( int i = r.nextInt( 3 ) ; i > 0 ; i-- )
-                {
-                    append( ' ' );
-                    
-                    String aname;
-
-                    for ( ; ; )
-                    {
-                        aname = makeNcName();
-                            
-                        if (!attrs.containsKey( aname ))
-                            break;
-                    }
-
-                    attrs.put( aname, null );
-
-                    append( aname );
-
-                    if (r.nextInt( 100 ) == 0)
-                        whitespaces();
-
-                    append( '=' );
-
-                    if (r.nextInt( 100 ) == 0)
-                        whitespaces();
-
-                    char q = r.nextInt( 2 ) == 0 ? '\'' : '"';
-
-                    append( q );
-
-                    text();
-
-                    append( q );
-                            
-                    if (r.nextInt( 10 ) == 0)
-                        whitespaces();
-                }
-
-                append( '>' );
-
-                content( depth );
-
-                append( "</" );
-                append( name );
-                
-                if (r.nextInt( 100 ) == 0)
-                    whitespaces();
-
-                append( '>' );
-            }
-        }
-        
-        public void document ( )
-        {
-            if (r.nextInt( 2 ) == 0)
-                xmlDecl();
-            
-            whiteContent();
-            
-            elementContent( 0 );
-            
-            whiteContent();
-        }
-    }
-    
-    public String makeRandomDocument ( Random r )
-    {
-        StringBuffer sb = new StringBuffer();
-
-        DocBuilder db = new DocBuilder( r, sb );
-
-        db.document();
-
-        return sb.toString();
-    }
-    
-    public void testThatAssertIsOn ( )
-    {
-        try
-        {
-            assert false;
-
-            Assert.assertTrue( false );
-        }
-        catch ( Throwable e )
-        {
-        }
-    }
-            
-    static class MyMark extends XmlBookmark
-    {
-    }
-
-    public void testBookmarks ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo x='y'>abcdefg<!---->xy</foo>" );
-        
-        XmlCursor c = x.newCursor();
-        MyMark m1 = new MyMark(); c.setBookmark( m1 );
-        
-        c.toNextToken();
-        MyMark m2 = new MyMark(); c.setBookmark( m2 );
-        
-        c.toNextToken();
-        MyMark m3 = new MyMark(); c.setBookmark( m3 );
-        
-        c.toNextToken();
-        MyMark m4 = new MyMark(); c.setBookmark( m4 );
-        
-        c.toNextChar( 1 );
-        MyMark m5 = new MyMark(); c.setBookmark( m5 );
-        
-        c.toNextChar( 3 );
-        MyMark m6 = new MyMark(); c.setBookmark( m6 );
-
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        MyMark m7 = new MyMark(); c.setBookmark( m7 );
-        
-        c.toNextToken();
-        MyMark m8 = new MyMark(); c.setBookmark( m8 );
-
-        c.toStartDoc();
-
-        Assert.assertTrue( c.getBookmark   ( MyMark.class ) == m1 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m2 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m3 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m4 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m5 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m6 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m7 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == m8 );
-        Assert.assertTrue( c.toNextBookmark( MyMark.class ) == null );
-        
-        c.toEndDoc();
-        
-        Assert.assertTrue( c.getBookmark   ( MyMark.class ) == m8 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m7 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m6 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m5 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m4 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m3 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m2 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == m1 );
-        Assert.assertTrue( c.toPrevBookmark( MyMark.class ) == null );
-    }
-    
-    public void testSetName( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo x='a'/>" );
-        XmlCursor c = x.newCursor();
-        c.toNextToken();
-        c.setName( new QName( "bar" ) );
-        c.toNextToken();
-        c.setName( new QName( "y" ) );
-
-        Assert.assertTrue( x.xmlText().equals( "<bar y=\"a\"/>" ) );
-    }
-    
-    //
-    // Basic load up a file and iterate through it
-    //
-
-   
-    public void testBasicXml( )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse(Common.XML_ATTR_TEXT, null).newCursor();
-
-        int n = 0;
-        
-        for ( ; ; )
-        {
-            TokenType t = c.toNextToken();
-
-            n++;
-            
-            if (t == TokenType.NONE)
-                break;
-        }
-        
-        Assert.assertTrue( n == 6 );
-    }
-
-    //
-    // Make sure the tokens going forward the the reverse of the tokens
-    // going backward
-    //
-
-    public void testConsistentTokenOrder( )
-        throws Exception
-    {
-        ArrayList l = new ArrayList();
-
-        XmlCursor c = XmlObject.Factory.parse(Common.XML_ATTR_TEXT, null).newCursor();
-
-
-        for ( ; ; )
-        {
-            // System.err.println(c.currentTokenType());
-            l.add(c.currentTokenType());
-
-            if (c.toNextToken() == TokenType.NONE)
-                break;
-        }
-
-        c.toEndDoc();
-        // System.err.println("Reversing");
-
-        for ( int i = l.size() - 1 ; ; i-- )
-        {
-            // System.err.println(c.currentTokenType());
-            Assert.assertEquals(l.get(i), c.currentTokenType());
-
-            if (c.toPrevToken() == TokenType.NONE)
-                break;
-        }
-    }
-
-    //
-    // Make sure you can't insert text before the doc begin
-    // going backward
-    //
-
-    public void testIllegalTextInsert( )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse(Common.XML_ATTR_TEXT, null).newCursor();
-
-
-        try
-        {
-            c.insertChars( "Ho ho ho" );
-        }
-        catch (IllegalStateException e)
-        {
-            return;
-        }
-
-        Assert.assertTrue("Did not catch IllegalStateException", false);
-    }
-
-    //
-    // Make sure getText works in a basic way
-    //
-
-    public void testgetText( )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse(Common.XML_ATTR_TEXT, null).newCursor();
-
-
-        Assert.assertTrue( c.getTextValue().equals( "ab" ) ); // Doc node
-
-        c.toNextToken();
-        Assert.assertTrue( c.getTextValue().equals( "ab" ) ); // Doc elem
-
-        c.toNextToken();
-        Assert.assertTrue( c.getTextValue().equals( "y" ) ); // Attr x
-
-        c.toNextToken();
-        Assert.assertTrue( c.getChars().equals( "ab" ) ); // Text
-
-        c.toNextChar( 1 );
-        Assert.assertTrue( c.getChars().equals( "b" ) ); // Text
-
-        c.toNextToken();
-        Assert.assertTrue( c.getChars().length() == 0 );       // End tag
-
-        c.toNextToken();
-        Assert.assertTrue( c.getChars().length() == 0 );       // End doc
-    }
-
-    //
-    // Text XMLInputStream support
-    //
-
-    private void assertName (
-        XMLName name, String uri, String local, String prefix )
-    {
-        Assert.assertTrue( local != null );
-        
-        String nameUri = name.getNamespaceUri();
-        String nameLocal = name.getLocalName();
-        String namePrefix = name.getPrefix();
-
-        if (uri == null)
-            Assert.assertTrue( nameUri == null );
-        else
-            Assert.assertTrue( nameUri.equals( uri ) );
-        
-        if (local == null)
-            Assert.assertTrue( nameLocal == null );
-        else
-            Assert.assertTrue( nameLocal.equals( local ) );
-        
-        if (prefix == null)
-            Assert.assertTrue( namePrefix == null );
-        else
-            Assert.assertTrue( namePrefix.equals( prefix ) );
-
-        if (prefix != null)
-        {
-            String qName = prefix + ":" + local;
-            Assert.assertTrue( name.getQualifiedName().equals( qName ) );
-        }
-        else
-            Assert.assertTrue( name.getQualifiedName().equals( local ) );
-    }
-
-    private void doXmlStreamTest ( String xml )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse( xml ).newCursor();
-        XMLInputStream xmlStream = c.newXMLInputStream();
-        XmlObject o = XmlObject.Factory.parse( xmlStream );
-        Assert.assertTrue( o.xmlText().equals( xml ) );
-    }
-
-    private void doSaverTest ( String xml )
-        throws Exception
-    {
-        XmlCursor c = XmlObject.Factory.parse( xml ).newCursor();
-        Assert.assertTrue( c.xmlText().equals( xml ) );
-    }
-    
-    private void doSaveTest ( String xml )
-        throws Exception
-    {
-        doXmlStreamTest( xml );
-        doSaverTest( xml );
-    }
-
-    public void testSaving ( )
-        throws Exception
-    {
-        doSaveTest( "<foo xmlns=\"foo.com\"><bar>1</bar></foo>" );
-        doSaveTest( "<foo><!--comment--><?target foo?></foo>" );
-        doSaveTest( "<foo>a<bar>b</bar>c<bar>d</bar>e</foo>" );
-        doSaveTest( "<foo xmlns:x=\"y\"><bar xmlns:x=\"z\"/></foo>" );
-        doSaveTest( "<foo x=\"y\" p=\"r\"/>" );
-
-        String s = "<foo>aaa</foo>bbb";
-        s = s + s + s + s + s + s + s + s + s + s + s + s + s + s + s;
-        s = "<bar>xxxx" + s + "</bar>";
-        
-        doSaveTest( s );
-
-        XmlObject x =
-            XmlObject.Factory.parse( "<foo xmlns:a='a.com'><bar xmlns:a='b.com'/></foo>" );
-
-        XmlCursor c = x.newCursor();
-
-        c.toFirstChild();
-        c.toFirstChild();
-
-        Assert.assertTrue( c.xmlText().equals( "<bar xmlns:a=\"b.com\"/>" ) );
-        
-        x = XmlObject.Factory.parse( "<foo xmlns:a='a.com'><bar/></foo>" );
-
-        c = x.newCursor();
-
-        c.toFirstChild();
-        c.toFirstChild();
-
-        Assert.assertTrue( c.xmlText().equals( "<bar xmlns:a=\"a.com\"/>" ) );
-    }
-
-    public void testXMLStream ( )
-        throws Exception
-    {
-        XmlObject o =
-            XmlObject.Factory.parse(
-                "<foo x=\"y\" xmlns=\"default.com\">" +
-                    "<!-- x -->bar</foo>" );
-        
-        XmlCursor c = o.newCursor();
-        
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        
-        c.insertElement( "bar", "bar.com" );
-        
-        c.toStartDoc();
-
-        XMLInputStream xis = c.newXMLInputStream();
-
-        XMLEvent xev;
-        StartDocument startDocument;
-        EndDocument endDocument;
-        StartElement startElement;
-        AttributeIterator attributeIterator;
-        StartPrefixMapping startPrefixMapping;
-        EndPrefixMapping endPrefixMapping;
-        ChangePrefixMapping cpm;
-        EndElement endElement;
-        Attribute attribute;
-        Comment comment;
-        CharacterData characterData;
-        XMLName name;
-        String str;
-        Map map;
-        
-        xev = startDocument = (StartDocument) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.START_DOCUMENT );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( startDocument.isStartDocument() );
-        
-        xev = startPrefixMapping = (StartPrefixMapping) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.START_PREFIX_MAPPING );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isStartPrefixMapping() );
-        str = startPrefixMapping.getNamespaceUri();
-        Assert.assertTrue( str.equals( "default.com" ) );
-        Assert.assertTrue( startPrefixMapping.getPrefix().length() == 0 );
-        
-        xev = startElement = (StartElement) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.START_ELEMENT );
-        Assert.assertTrue( xev.hasName() );
-        Assert.assertTrue( xev.isStartElement() );
-        assertName( startElement.getName(), "default.com", "foo", null );
-        attributeIterator = startElement.getAttributes();
-        attribute = attributeIterator.next();
-        assertName( attribute.getName(), null, "x", null );
-        Assert.assertTrue( attribute.getValue().equals( "y" ) );
-        Assert.assertTrue( attributeIterator.next() == null );
-        attributeIterator = startElement.getNamespaces();
-        attribute = attributeIterator.next();
-        assertName( attribute.getName(), null, "xmlns", null );
-        Assert.assertTrue( attribute.getValue().equals( "default.com" ) );
-        Assert.assertTrue( attributeIterator.next() == null );
-        attributeIterator = startElement.getAttributesAndNamespaces();
-        Assert.assertTrue( attributeIterator.next() != null );
-        Assert.assertTrue( attributeIterator.next() != null );
-        Assert.assertTrue( attributeIterator.next() == null );
-        name = new XmlNameImpl( null, "x", null );
-        attribute = startElement.getAttributeByName( name );
-        Assert.assertTrue( attribute != null );
-        Assert.assertTrue( attribute.getValue().equals( "y" ) );
-        name = new XmlNameImpl( null, "xmlns", null );
-        attribute = startElement.getAttributeByName( name );
-        Assert.assertTrue( attribute == null );
-        str = startElement.getNamespaceUri( null );
-        Assert.assertTrue( str.equals( "default.com" ) );
-
-        xev = startPrefixMapping = (StartPrefixMapping) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.START_PREFIX_MAPPING );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isStartPrefixMapping() );
-        str = startPrefixMapping.getNamespaceUri();
-        Assert.assertTrue( str.equals( "bar.com" ) );
-        Assert.assertTrue( startPrefixMapping.getPrefix().equals( "bar" ) );
-        
-        xev = startElement = (StartElement) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.START_ELEMENT );
-        Assert.assertTrue( xev.hasName() );
-        Assert.assertTrue( xev.isStartElement() );
-        assertName( startElement.getName(), "bar.com", "bar", "bar" );
-        attributeIterator = startElement.getAttributes();
-        Assert.assertTrue( attributeIterator.next() == null );
-        attributeIterator = startElement.getNamespaces();
-        attribute = attributeIterator.next();
-        assertName( attribute.getName(), null, "bar", "xmlns" );
-        Assert.assertTrue( attribute.getValue().equals( "bar.com" ) );
-        Assert.assertTrue( attributeIterator.next() == null );
-        attributeIterator = startElement.getAttributesAndNamespaces();
-        Assert.assertTrue( attributeIterator.next() != null );
-        Assert.assertTrue( attributeIterator.next() == null );
-        str = startElement.getNamespaceUri( "bar" );
-        Assert.assertTrue( str.equals( "bar.com" ) );
-        map = startElement.getNamespaceMap();
-        Assert.assertTrue( map.get( "bar" ).equals( "bar.com" ) );
-        
-        xev = endElement = (EndElement) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.END_ELEMENT );
-        Assert.assertTrue( xev.hasName() );
-        Assert.assertTrue( xev.isEndElement() );
-        assertName( endElement.getName(), "bar.com", "bar", "bar" );
-
-        xev = endPrefixMapping = (EndPrefixMapping) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.END_PREFIX_MAPPING );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isEndPrefixMapping() );
-        Assert.assertTrue( endPrefixMapping.getPrefix().equals( "bar" ) );
-
-        xev = comment = (Comment) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.COMMENT );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( comment.hasContent() );
-        Assert.assertTrue( comment.getContent().equals( " x " ) );
-        
-        xev = characterData = (CharacterData) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.CHARACTER_DATA );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isCharacterData() );
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "bar" ) );
-
-        xev = endElement = (EndElement) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.END_ELEMENT );
-        Assert.assertTrue( xev.hasName() );
-        Assert.assertTrue( xev.isEndElement() );
-        assertName( endElement.getName(), "default.com", "foo", null );
-
-        xev = cpm = (ChangePrefixMapping) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.CHANGE_PREFIX_MAPPING );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isChangePrefixMapping() );
-        Assert.assertTrue( cpm.getPrefix().length() == 0 );
-        Assert.assertTrue( cpm.getOldNamespaceUri().equals( "default.com" ) );
-        Assert.assertTrue( cpm.getNewNamespaceUri().equals( "" ) );
-
-        xev = endDocument = (EndDocument) xis.next();
-        Assert.assertTrue( xev.getType() == XMLEvent.END_DOCUMENT );
-        Assert.assertTrue( !xev.hasName() );
-        Assert.assertTrue( xev.isEndDocument() );
-        
-        xev = xis.next();
-        Assert.assertTrue( xev == null );
-
-        //
-        // Test ChangePrefixMapping event
-        //
-
-        o = XmlObject.Factory.parse( "<foo xmlns:x=\"y\"><bar xmlns:x=\"z\"/></foo>" );
-        c = o.newCursor();
-        xis = c.newXMLInputStream();
-        
-        startDocument = (StartDocument) xis.next();
-        
-        startPrefixMapping = (StartPrefixMapping) xis.next();
-        str = startPrefixMapping.getNamespaceUri();
-        Assert.assertTrue( str.equals( "y" ) );
-        Assert.assertTrue( startPrefixMapping.getPrefix().equals( "x" ) );
-        
-        startElement = (StartElement) xis.next();
-
-        startPrefixMapping = (StartPrefixMapping) xis.next();
-        str = startPrefixMapping.getNamespaceUri();
-        Assert.assertTrue( str.equals( "z" ) );
-        Assert.assertTrue( startPrefixMapping.getPrefix().equals( "x" ) );
-        
-        startElement = (StartElement) xis.next();
-        
-        endElement = (EndElement) xis.next();
-
-        cpm = (ChangePrefixMapping) xis.next();
-        str = cpm.getOldNamespaceUri();
-        Assert.assertTrue( str.equals( "z" ) );
-        str = cpm.getNewNamespaceUri();
-        Assert.assertTrue( str.equals( "y" ) );
-        str = cpm.getPrefix();
-        Assert.assertTrue( str.equals( "x" ) );
-
-        endElement = (EndElement) xis.next();
-        
-        endPrefixMapping = (EndPrefixMapping) xis.next();
-        Assert.assertTrue( endPrefixMapping.getPrefix().equals( "x" ) );
-
-        endDocument = (EndDocument) xis.next();
-        
-        xev = xis.next();
-        Assert.assertTrue( xev == null );
-
-        //
-        // Test CharacterData events
-        //
-
-        o = XmlObject.Factory.parse( "<foo>a<bar>b<baz>c</baz>d</bar>e</foo>" );
-        c = o.newCursor();
-        xis = c.newXMLInputStream();
-        
-        startDocument = (StartDocument) xis.next();
-
-        startElement = (StartElement) xis.next();
-
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "a" ) );
-
-        startElement = (StartElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "b" ) );
-
-        startElement = (StartElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "c" ) );
-
-        endElement = (EndElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "d" ) );
-
-        endElement = (EndElement) xis.next();
-
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "e" ) );
-
-        endElement = (EndElement) xis.next();
-        
-        endDocument = (EndDocument) xis.next();
-        
-        xev = xis.next();
-        Assert.assertTrue( xev == null );
-
-        //
-        // Test SubStreams
-        //
-
-        o = XmlObject.Factory.parse( "<foo>a<bar>b<baz>c</baz>d</bar>e</foo>" );
-        c = o.newCursor();
-        xis = c.newXMLInputStream();
-        
-        startDocument = (StartDocument) xis.next();
-
-        startElement = (StartElement) xis.next();
-
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "a" ) );
-
-        startElement = (StartElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "b" ) );
-
-            XMLInputStream xis2 = xis.getSubStream();
-
-        startElement = (StartElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "c" ) );
-
-        endElement = (EndElement) xis.next();
-        
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "d" ) );
-
-            startElement = (StartElement) xis2.next();
-
-            characterData = (CharacterData) xis2.next();
-            Assert.assertTrue( characterData.hasContent() );
-            Assert.assertTrue( characterData.getContent().equals( "c" ) );
-
-            endElement = (EndElement) xis2.next();
-            
-            xev = xis2.next();
-            Assert.assertTrue( xev == null );
-            
-        endElement = (EndElement) xis.next();
-
-        characterData = (CharacterData) xis.next();
-        Assert.assertTrue( characterData.hasContent() );
-        Assert.assertTrue( characterData.getContent().equals( "e" ) );
-
-        endElement = (EndElement) xis.next();
-        
-        endDocument = (EndDocument) xis.next();
-        
-        xev = xis.next();
-        Assert.assertTrue( xev == null );
-    }
-    
-    private XmlCursor navDoc ( XmlObject x, String dirs )
-    {
-        return navCursor( x.newCursor(), dirs );
-    }
-    
-    private XmlCursor navNewCursor ( XmlCursor c, String dirs )
-    {
-        return navCursor( c.newCursor(), dirs );
-    }
-
-    //
-    // Format:
-    //
-    //    ( [-][N] type ) *
-    //
-    //    type:
-    //
-    //      c - character
-    //      t - token
-    //      p - parent element
-    //      s - sibling element
-    //      d - descendent (child) element
-    //      r - end of the doc (root)
-    //      b - begin of the doc
-    //
-    
-    private XmlCursor navCursor ( XmlCursor c, String dirs )
-    {
-        int n = 0;
-        boolean prev = false;
-        
-        for ( int i = 0 ; i < dirs.length() ; i++ )
-        {
-            char ch = dirs.charAt( i );
-
-            if (ch == '-')
-            {
-                prev = ! prev;
-                continue;
-            }
-            else if (ch >= '0' && ch <= '9')
-            {
-                n = n * 10 + (ch - '0');
-                continue;
-            }
-
-            if (n == 0)
-                n = 1;
-            
-            if (ch == 'c')
-            {
-                if (prev)
-                    Assert.assertTrue( c.toPrevChar( n ) == n );
-                else
-                    Assert.assertTrue( c.toNextChar( n ) == n );
-            }
-            else if (ch == 't')
-            {
-                while ( n-- > 0 )
-                {
-                    if (prev)
-                        Assert.assertTrue( c.toPrevToken() != TokenType.NONE );
-                    else
-                        Assert.assertTrue( c.toNextToken() != TokenType.NONE );
-                }
-            }
-            else if (ch == 'p')
-            {
-                Assert.assertTrue( ! prev );
-                
-                while ( n-- > 0 )
-                    Assert.assertTrue( c.toParent() );
-            }
-            else if (ch == 'r')
-            {
-                Assert.assertTrue( ! prev );
-                Assert.assertTrue( n == 1 );
-                
-                c.toEndDoc();
-            }
-            else if (ch == 'b')
-            {
-                Assert.assertTrue( ! prev );
-                Assert.assertTrue( n == 1 );
-                
-                c.toStartDoc();
-            }
-            else if (ch == 's')
-            {
-                while ( n-- > 0 )
-                {
-                    if (prev)
-                        Assert.assertTrue( c.toPrevSibling() );
-                    else
-                        Assert.assertTrue( c.toNextSibling() );
-                }
-            }
-            else if (ch == 'd')
-            {
-                Assert.assertTrue( ! prev );
-                
-                while ( n-- > 0 )
-                    Assert.assertTrue( c.toFirstChild() );
-            }
-            else
-            {
-                Assert.assertTrue( false );
-            }
-            
-            n = 0;
-            prev = false;
-        }
-
-        return c;
-    }
-    
-    public void testOps ( )
-        throws Exception
-    {
-        XmlObject x, x2, y;
-        XmlCursor cFrom, cTo, cTemp, cTemp2, c, d;
-        XmlBookmark anno;
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        cFrom = navDoc( x, "d" );
-        cTo = navNewCursor( cFrom, "" );
-        Assert.assertTrue( !cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        XmlOptions options = new XmlOptions();
-        
-        options.put(
-            XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT,
-            new QName( null, "bar" ) );
-
-        Assert.assertTrue(
-            x.xmlText( options ).equals( "<bar>[FROM][TO]<foo>abcdef</foo></bar>" ) ||
-                x.xmlText( options ).equals( "<bar>[TO][FROM]<foo>abcdef</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        
-        cFrom = navDoc( x, "d" );
-        cTo = navNewCursor( cFrom, "ttt" );
-        Assert.assertTrue( !cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText( options ).equals( "<bar>[FROM]<foo>abcdef</foo>[TO]</bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        
-        cFrom = navDoc( x, "d" );
-        cTo = navNewCursor( cFrom, "t3c" );
-        Assert.assertTrue( !cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText( options ).equals( "<bar>[FROM]<foo>abc[TO]def</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b></r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navNewCursor( cFrom, "r-1t" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<r>[FROM]<b>pqr</b><a>xyz</a>[TO]</r>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b>AB</r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navNewCursor( cFrom, "r-1t-1c" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<r>[FROM]<b>pqr</b>A<a>xyz</a>[TO]B</r>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b>AB</r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navNewCursor( cFrom, "stc" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<r>[FROM]<b>p<a>xyz</a>[TO]qr</b>AB</r>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b>AB</r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navDoc( x, "d" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        testTextFrag( x.xmlText(), "<a>xyz</a>[TO]<r>[FROM]<b>pqr</b>AB</r>" );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b>AB</r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navDoc( x, "r" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText( options ).equals( "<bar><r>[FROM]<b>pqr</b>AB</r><a>xyz</a>[TO]</bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a></r>" );
-        x2 = XmlObject.Factory.parse( "<s></s>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navDoc( x2, "dt" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(  x.xmlText().equals( "<r>[FROM]</r>" ) );
-        Assert.assertTrue( x2.xmlText().equals( "<s><a>xyz</a>[TO]</s>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>pq</a><b></b></r>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navDoc( x, "ddst" );
-        cTemp = navDoc( x, "ddt1c" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-        cTemp.insertChars( "[TEMP]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<r>[FROM][TEMP]<b><a>pq</a>[TO]</b></r>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        
-        cFrom = navDoc( x, "2t2c" );
-        cTo = navNewCursor( cFrom, "-1c" );
-        cFrom.moveChars( 2, cTo );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<foo>acd[TO]b[FROM]ef</foo>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        
-        cFrom = navDoc( x, "2t2c" );
-        cTo = navNewCursor( cFrom, "3c" );
-        cFrom.moveChars( 2, cTo );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<foo>ab[FROM]ecd[TO]f</foo>" ) );
-    
-        //
-        
-        x = XmlObject.Factory.parse( "<bar><foo>abcdef</foo><foo>123456</foo></bar>" );
-        
-        cFrom = navDoc( x, "3t2c" );
-        cTo = navNewCursor( cFrom, "3t3c" );
-        cFrom.moveChars( 2, cTo );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar><foo>ab[FROM]ef</foo><foo>123cd[TO]456</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<bar><foo>abcdef</foo><foo>123456</foo></bar>" );
-        
-        cFrom = navDoc( x, "2d" );
-        cTo = navDoc( x, "2dst2c" );
-        Assert.assertTrue( cFrom.copyXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar>[FROM]<foo>abcdef</foo><foo>12" +
-                        "<foo>abcdef</foo>[TO]3456</foo></bar>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse( "<r><a>xyz</a></r>" );
-        x2 = XmlObject.Factory.parse( "<s></s>" );
-        
-        cFrom = navDoc( x, "dd" );
-        cTo = navDoc( x2, "dt" );
-        Assert.assertTrue( cFrom.copyXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(  x.xmlText().equals( "<r>[FROM]<a>xyz</a></r>" ) );
-        Assert.assertTrue( x2.xmlText().equals( "<s><a>xyz</a>[TO]</s>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse(
-            "<bar><foo>abcdef</foo>blah<foo>123456</foo></bar>" );
-        
-        cFrom = navDoc( x, "2d" );
-        cTo = navDoc( x, "2dst2c" );
-        Assert.assertTrue( cFrom.copyXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar>[FROM]<foo>abcdef</foo>blah<foo>12" +
-                        "<foo>abcdef</foo>[TO]3456</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse(
-            "<bar><foo x='y'>abcdef</foo><foo>123456</foo>7890</bar>" );
-        
-        cFrom = navDoc( x, "2dt" );
-        cTo = navDoc( x, "2dst" );
-        cTemp = navDoc( x, "2dst3c" );
-        cTemp2 = navDoc( x, "2ds3t2c" );
-        Assert.assertTrue( cFrom.copyXml( cTo ) );
-        cTemp.insertChars( "[TEMP]" );
-        cTemp2.insertChars( "[TEMP2]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar><foo x=\"y\">abcdef</foo>" +
-                    "<foo x=\"y\">123[TEMP]456</foo>78[TEMP2]90</bar>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse(
-            "<bar>xy<foo x='y'>abcdef</foo>pqr<foo>123456</foo></bar>" );
-        
-        cFrom = navDoc( x, "2d" );
-        cTo = navDoc( x, "2ds-2c" );
-        
-        Assert.assertTrue( cFrom.removeXml() );
-
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar>xy[FROM]p[TO]qr<foo>123456</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse(
-            "<bar>xy<foo x='y'>abcdef</foo>pqr<foo>123456</foo></bar>" );
-        
-        cFrom = navDoc( x, "2d2t2c" );
-        cTo = navDoc( x, "2d2t5c" );
-        
-        cFrom.removeChars( 2 );
-
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue(
-            x.xmlText().equals(
-                "<bar>xy<foo x=\"y\">ab[FROM]e[TO]f" +
-                    "</foo>pqr<foo>123456</foo></bar>" ) );
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<bar><!---->abc</bar>" );
-        
-        cFrom = navDoc( x, "tt" );
-        cTo = navDoc( x, "tttc" );
-        
-        Assert.assertTrue( cFrom.removeXml() );
-
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-
-        Assert.assertTrue( x.xmlText().equals( "<bar>[FROM]a[TO]bc</bar>" ) );
-
-        //
-        
-        x = XmlObject.Factory.newInstance();
-
-        cTo = navDoc( x, "t" );
-        cTo.insertElement( "boo" );
-        cTo.toPrevToken();
-        cTo.insertElement( "moo" );
-        cTo.toPrevToken();
-        cTo.insertElement( "goo" );
-
-        Assert.assertTrue( x.xmlText().equals(
-            "<boo><moo><goo/></moo></boo>" ) );
-
-        //
-        
-        x = XmlObject.Factory.newInstance();
-
-        cTo = navDoc( x, "t" );
-        cTo.insertElement( "boo" );
-        cTo.toPrevToken();
-        cTo.insertElement( "moo" );
-        cTo.toPrevToken();
-        cTo.insertAttributeWithValue( "x", "y" );
-
-        Assert.assertTrue( x.xmlText().equals(
-            "<boo><moo x=\"y\"/></boo>" ) );
-                                              
-        //
-        
-        x = XmlObject.Factory.parse( "<bar x='y'>abc</bar>" );
-        cTo = navDoc( x, "tt" );
-        cTo.insertAttributeWithValue( "p", "q" );
-        
-        Assert.assertTrue( x.xmlText().equals(
-            "<bar p=\"q\" x=\"y\">abc</bar>" ) );
-
-        // Text XmlBookmark
-
-        x = XmlObject.Factory.parse( "<r><foo>abc</foo><bar></bar></r>" );
-        cFrom = navDoc( x, "tt" );
-        anno = new Anno();
-        cFrom.setBookmark( anno );
-        cTo = navDoc( x, "6t" );
-        Assert.assertTrue( cFrom.moveXml( cTo ) );
-        cFrom.insertChars( "[FROM]" );
-        cTo.insertChars( "[TO]" );
-        anno.createCursor().insertChars( "[ANNO]" );
-        
-        Assert.assertTrue( x.xmlText().equals(
-            "<r>[FROM]<bar>[ANNO]<foo>abc</foo>[TO]</bar></r>" ) );
-
-        // Test content ops
-
-        x = XmlObject.Factory.parse( "<foo x='y'>abc</foo>" );
-        y = XmlObject.Factory.newInstance();
-        d = y.newCursor();
-        d.toNextToken();
-        x.newCursor().moveXmlContents( d );
-        Assert.assertTrue( y.xmlText().equals( "<foo x=\"y\">abc</foo>" ) );
-        
-        x = XmlObject.Factory.parse( "<bar><foo x='y'>abc</foo></bar>" );
-        y = XmlObject.Factory.newInstance();
-        c = x.newCursor();
-        c.toNextToken();
-        d = y.newCursor();
-        d.toNextToken();
-        c.moveXmlContents( d );
-        Assert.assertTrue( y.xmlText().equals( "<foo x=\"y\">abc</foo>" ) );
-
-        x = XmlObject.Factory.parse( "<bar><foo x='y'>abc</foo></bar>" );
-        c = x.newCursor();
-        c.toNextToken();
-        c.removeXmlContents();
-        Assert.assertTrue( x.xmlText().equals( "<bar/>" ) );
-
-        x = XmlObject.Factory.parse( "<foo x='y'>abc</foo>" );
-        y = XmlObject.Factory.newInstance();
-        d = y.newCursor();
-        d.toNextToken();
-        x.newCursor().copyXmlContents( d );
-        Assert.assertTrue( y.xmlText().equals( "<foo x=\"y\">abc</foo>" ) );
-    }        
-
-    public static class Anno extends XmlBookmark
-    {
-    }
-    
-    public void testSave ( )
-        throws Exception
-    {
-        XmlObject x;
-        XmlCursor cTo;
-        
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>abcdef</foo>" );
-        
-        Assert.assertTrue( x.xmlText().equals( "<foo>abcdef</foo>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse( "<foo>a&lt;b&amp;c</foo>" );
-        
-        Assert.assertTrue( x.xmlText().equals( "<foo>a&lt;b&amp;c</foo>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse( "<foo></foo>" );
-        
-        cTo = navDoc( x, "dt" );
-        cTo.insertChars( "&<" );
-        
-        Assert.assertTrue( x.xmlText().equals( "<foo>&amp;&lt;</foo>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse( "<foo><boo>bar</boo></foo>" );
-        
-        cTo = navDoc( x, "dt" );
-        
-        Assert.assertTrue( cTo.xmlText().equals( "<boo>bar</boo>" ) );
-
-        //
-        
-        x = XmlObject.Factory.parse( "<foo><boo x=\"y\">bar</boo></foo>" );
-        
-        cTo = navDoc( x, "dt" );
-        
-        Assert.assertTrue( cTo.xmlText().equals( "<boo x=\"y\">bar</boo>" ) );
-
-        // Tests fragment saving and loading
-        
-        x = XmlObject.Factory.parse( "<foo>Eric</foo>" );
-        
-        cTo = navDoc( x, "dt" );
-
-        x = XmlObject.Factory.parse( cTo.xmlText() );
-        
-        cTo = navDoc( x, "" );
-        
-        Assert.assertTrue( cTo.getTextValue().equals( "Eric" ) );
-
-        // test save where I replace the name of an element
-        
-        x = XmlObject.Factory.parse( "<foo>Eric</foo>" );
-        
-        cTo = navDoc( x, "d" );
-
-        XmlOptions options = new XmlOptions();
-        
-        options.put(
-            XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT,
-            new QName( null, "bar" ) );
-        
-        x = XmlObject.Factory.parse( cTo.xmlText( options ) );
-        
-        cTo = navDoc( x, "" );
-        
-        Assert.assertTrue( cTo.xmlText().equals( "<bar>Eric</bar>" ) );
-
-        // test save where I replace the name of the document
-        
-        x = XmlObject.Factory.parse( "<foo>Eric</foo>" );
-        
-        cTo = navDoc( x, "" );
-
-        options = new XmlOptions();
-        
-        options.put(
-            XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT,
-            new QName( null, "bar" ) );
-        
-        x = XmlObject.Factory.parse( cTo.xmlText( options ) );
-        
-        cTo = navDoc( x, "" );
-        
-        Assert.assertTrue(
-            cTo.xmlText().equals( "<bar><foo>Eric</foo></bar>" ) );
-
-        //
-        //
-        //
-        
-        x = XmlObject.Factory.parse( "<a xmlns='foo'/>" );
-
-        XmlCursor c = x.newCursor();
-
-        c.toFirstContentToken();
-        c.toFirstContentToken();
-
-        c.insertElement( "b" );
-        c.toPrevSibling();
-        Assert.assertTrue( c.getName().getLocalPart().equals( "b" ) );
-        Assert.assertTrue( c.getName().getNamespaceURI().length() == 0 );
-        
-        x = XmlObject.Factory.parse( x.xmlText() );
-        
-        c = x.newCursor();
-        
-        c.toFirstContentToken();
-        c.toFirstContentToken();
-
-        Assert.assertTrue( c.getName().getLocalPart().equals( "b" ) );
-        Assert.assertTrue( c.getName().getNamespaceURI().length() == 0 );
-    }
-
-    private void testTextFrag ( String actual, String expected )
-    {
-        String pre = "<xml-fragment>";
-        
-        String post = "</xml-fragment>";
-        
-        Assert.assertTrue( actual.startsWith( pre ) );
-        Assert.assertTrue( actual.endsWith( post ) );
-        
-        Assert.assertTrue(
-            expected.equals(
-                actual.substring(
-                    pre.length(), actual.length() - post.length() ) ) );
-    }
-    
-    public void testSaveFrag ( )
-        throws Exception
-    {
-        XmlObject x;
-        XmlCursor c;
-        
-        x = XmlObject.Factory.newInstance();
-
-        c = x.newCursor();
-        
-        c.toNextToken();
-        
-        c.insertChars( "Eric" );
-
-        testTextFrag( x.xmlText(), "Eric" );
-
-        //
-
-        x = XmlObject.Factory.newInstance();
-
-        c = x.newCursor();
-
-        c.toNextToken();
-
-        c.insertComment( "" );
-        c.insertChars( "x" );
-        
-        testTextFrag( x.xmlText(), "<!---->x" );
-
-        //
-
-        x = XmlObject.Factory.newInstance();
-
-        c = x.newCursor();
-
-        c.toNextToken();
-
-        c.insertElement( "foo" );
-        c.insertChars( "x" );
-        
-        testTextFrag( x.xmlText(), "<foo/>x" );
-        
-        //
-
-        x = XmlObject.Factory.newInstance();
-
-        c = x.newCursor();
-
-        c.toNextToken();
-
-        c.insertElement( "foo" );
-        c.insertElement( "bar" );
-        
-        testTextFrag( x.xmlText(), "<foo/><bar/>" );
-    }
-    
-    public void testLoad ( )
-        throws Exception
-    {
-        XmlObject x;
-        
-        XmlOptions options = new XmlOptions();
-        
-        options.put( XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT, null );
-        
-        x =
-            XmlObject.Factory.parse(
-                "<bar p='q' x='y'>ab<foo>xy</foo>cd</bar>", options );
-        
-        XmlCursor c = navDoc( x, "t" );
-
-        assertTrue( c.currentTokenType() == TokenType.ATTR );
-
-        String open = "xmlns:open='http://www.openuri.org/fragment'";
-        
-        x =
-            XmlObject.Factory.parse(
-                "<open:fragment p='q' x='y' " + open +
-                    ">ab<foo>xy</foo>cd</open:fragment>" );
-        
-        c = navDoc( x, "t" );
-
-        assertTrue( c.currentTokenType() == TokenType.ATTR );
-    }
-    
-    public void testCompare ( )
-        throws Exception
-    {
-        XmlObject x;
-        XmlCursor cFrom, cTo;
-
-        // Forward navigation 
-        
-        x = XmlObject.Factory.parse( "<bar p='q' x='y'>ab<foo>xy</foo>cd</bar>" );
-
-        cFrom = navDoc( x, "" );
-        cTo = navDoc( x, "" );
-            
-        for ( ; ; )
-        {
-            Assert.assertTrue( cFrom.comparePosition( cTo ) == 0 );
-            Assert.assertTrue( cFrom.isAtSamePositionAs( cTo ) );
-
-            TokenType tt = cFrom.currentTokenType();
-            
-            if (tt == TokenType.ENDDOC)
-            {
-                break;
-            }
-            else if (tt == TokenType.TEXT)
-            {
-                cFrom.toNextChar( 1 );
-                cTo.toNextChar( 1 );
-            }
-            else
-            {
-                cFrom.toNextToken();
-                cTo.toNextToken();
-            }
-        }
-
-        // Backward navigation 
-        
-        x = XmlObject.Factory.parse( "<bar p='q' x='y'>ab<foo>xy</foo>cd</bar>" );
-
-        cFrom = navDoc( x, "r" );
-        cTo = navDoc( x, "r" );
-            
-        for ( ; ; )
-        {
-            Assert.assertTrue( cFrom.comparePosition( cTo ) == 0 );
-            Assert.assertTrue( cFrom.isAtSamePositionAs( cTo ) );
-
-            if (cFrom.toPrevChar( 1 ) == 1)
-                cTo.toPrevChar( 1 );
-            else if (cFrom.toPrevToken() != TokenType.NONE)
-                cTo.toPrevToken();
-            else
-                break;
-        }
-
-        //
-        
-        x = XmlObject.Factory.parse(
-            "<bar p='q' x='y'>ab<foo>xy</foo>c<f y='x'>xy</f>d</bar>" );
-
-        cFrom = navDoc( x, "" );
-
-        for ( ; ; )
-        {
-            boolean passed = false;
-            
-            cTo = navDoc( x, "" );
-
-            for ( ; ; )
-            {
-                if (cTo.isAtSamePositionAs( cFrom ))
-                {
-                    Assert.assertTrue( !passed );
-                    passed = true;
-                }
-                else if (cTo.isLeftOf( cFrom ))
-                {
-                    Assert.assertTrue( !passed );
-                }
-                else
-                {
-                    Assert.assertTrue( passed );
-                    Assert.assertTrue( cTo.isRightOf( cFrom ) );
-                }
-                
-                if (cTo.toNextChar( 1 ) != 1)
-                    if (cTo.toNextToken() == TokenType.ENDDOC)
-                        break;
-            }
-            
-            if (cFrom.toNextChar( 1 ) != 1)
-                if (cFrom.toNextToken() == TokenType.ENDDOC)
-                    break;
-        }
-    }
-
-    static class MyAnno extends XmlBookmark
-    {
-    }
-
-    public void testAnnotation ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo/>" );
-        XmlCursor c = x.newCursor();
-        c.toNextToken();
-        MyAnno a = new MyAnno();
-        c.setBookmark( a );
-        Assert.assertTrue( c.removeXml() );
-        XmlCursor c2 = a.createCursor();
-        Assert.assertTrue( c2 == null );
-    }
-    
-    public void testAttrSetter ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo/>" );
-        XmlCursor c = x.newCursor();
-        c.toNextToken();
-        c.setAttributeText( new QName( null, "x" ), "hardehar" );
-        Assert.assertTrue( x.xmlText().equals( "<foo x=\"hardehar\"/>" ) );
-    }
-    
-    public void testNavigation ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<a><x/><y/><z/></a>" );
-        XmlCursor c = x.newCursor();
-        Assert.assertTrue( c.toNextSibling() == false );
-        Assert.assertTrue( c.toPrevSibling() == false );
-        Assert.assertTrue( c.toFirstAttribute() == false );
-        Assert.assertTrue( c.toLastAttribute() == false );
-        c.toNextToken();
-        c.toNextToken();
-        Assert.assertTrue( c.toNextSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "y" ) );
-        Assert.assertTrue( c.toNextSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "z" ) );
-        Assert.assertTrue( c.toNextSibling() == false );
-
-        x = XmlObject.Factory.parse( "<a p='q' m='n'><x/><y/><z/></a>" );
-        c = x.newCursor();
-        c.toNextToken();
-        c.toNextToken();
-        Assert.assertTrue( c.currentTokenType().isAttr() );
-        Assert.assertTrue( c.toPrevSibling() == false );
-        Assert.assertTrue( c.currentTokenType().isAttr() );
-        Assert.assertTrue( c.toNextSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "x" ) );
-
-        c.toEndDoc();
-        c.toPrevToken();
-        Assert.assertTrue( c.toPrevSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "z" ) );
-        Assert.assertTrue( c.toPrevSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "y" ) );
-        Assert.assertTrue( c.toPrevSibling() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "x" ) );
-        Assert.assertTrue( c.toPrevSibling() == false );
-        
-        c.toEndDoc();
-        c.toPrevToken();
-        Assert.assertTrue( c.toParent() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "a" ) );
-        
-        c.toEndDoc();
-        Assert.assertTrue( c.toParent() == true );
-        Assert.assertTrue( c.currentTokenType().isStartdoc() );
-        
-        x = XmlObject.Factory.parse( "<a>moo<!---->foo</a>" );
-        c = x.newCursor();
-        c.toStartDoc();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        Assert.assertTrue( c.toParent() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "a" ) );
-        
-        c.toStartDoc();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        Assert.assertTrue( c.toParent() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "a" ) );
-
-        c.toStartDoc();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextChar( 2 );
-        Assert.assertTrue( c.toParent() == true );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "a" ) );
-        
-        x = XmlObject.Factory.parse( "<foo>early<bar>text<char>zap</char></bar></foo>" );
-        c = x.newCursor();
-        c.toNextToken();
-        c.toNextToken();
-        Assert.assertTrue( c.toFirstChild() == true );
-        Assert.assertTrue( c.getTextValue().equals( "zap" ) );
-    }
-    
-    public void testGetName ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<a x='y'>eric<!----><?moo?></a>" );
-        XmlCursor c = x.newCursor();
-        Assert.assertTrue( c.getName() == null );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "a" ) );
-        Assert.assertTrue( c.getName().getNamespaceURI().length() == 0 );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "x" ) );
-        Assert.assertTrue( c.getName().getNamespaceURI().length() == 0 );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName() == null );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName() == null );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName().getLocalPart().equals( "moo" ) );
-        Assert.assertTrue( c.getName().getNamespaceURI().length() == 0 );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName() == null );
-        Assert.assertTrue( !c.toNextToken().isNone() );
-        Assert.assertTrue( c.getName() == null );
-        Assert.assertTrue( c.toNextToken().isNone() );
-    }
-    
-    public void testGetChars ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<foo>abcdefghijkl</foo>" );
-        XmlCursor c = x.newCursor();
-        c.toNextToken();
-        c.toNextToken();
-        c.toNextChar( 2 );
-        
-        char[] buf = new char[ 3 ];
-        int n = c.getChars( buf, 0, 400 );
-
-        Assert.assertTrue( n == 3 );
-        Assert.assertTrue( buf[0] == 'c' );
-        Assert.assertTrue( buf[1] == 'd' );
-        Assert.assertTrue( buf[2] == 'e' );
-    }
-    
-    public void testNamespaceSubstitution ( )
-        throws Exception
-    {
-        HashMap subs = new HashMap();
-        subs.put( "foo", "moo" );
-        subs.put( "a", "b" );
-        
-        XmlOptions options = new XmlOptions();
-        options.put( XmlOptions.LOAD_SUBSTITUTE_NAMESPACES, subs );
-                     
-        XmlObject x =
-            XmlObject.Factory.parse(
-                "<a xmlns='foo' xmlns:a='a' a:x='y'/>",
-                options );
-
-        XmlCursor c = x.newCursor();
-
-        c.toNextToken();
-        Assert.assertTrue( c.getName().getNamespaceURI().equals( "moo" ) );
-        
-        c.toNextToken();
-        Assert.assertTrue( c.getName().getNamespaceURI().equals( "moo" ) );
-        
-        c.toNextToken();
-        Assert.assertTrue( c.getName().getNamespaceURI().equals( "b" ) );
-        
-        c.toNextToken();
-        Assert.assertTrue( c.getName().getNamespaceURI().equals( "b" ) );
-    }
-    
-    public void testNamespaceInsertion ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.newInstance();
-
-        XmlCursor c = x.newCursor();
-
-        c.toNextToken();
-        c.insertElement( "foo", "http://p.com" );
-        c.toPrevToken();
-        c.insertNamespace( "p", "http://p.com" );
-
-        Assert.assertTrue(
-            x.xmlText().equals( "<p:foo xmlns:p=\"http://p.com\"/>" ) );
-    }
-
-    private void dotestParser ( String xml, String xmlResult )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( xml );
-        String result = x.xmlText();
-        Assert.assertTrue( xmlResult.equals( result ) );
-    }
-    
-    private void dotestParserErrors ( String xml )
-    {
-        try
-        {
-            XmlObject.Factory.parse( xml );
-        }
-        catch ( Throwable t )
-        {
-            return;
-        }
-        
-        Assert.assertTrue( false );
-    }
-
-    public void testNil ( )
-        throws Exception
-    {
-        XmlObject x = noNamespace.CanBeNilDocument.Factory.parse( "<canBeNil/>" );
-        XmlCursor c = x.newCursor();
-        c.toFirstChild();
-        XmlObject fc = c.getObject();
-        Assert.assertTrue( ! fc.isNil() );
-        fc.setNil();
-        Assert.assertTrue( fc.isNil() );
-        Assert.assertTrue( x.xmlText().equals( "<canBeNil xsi:nil=\"true\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>" ) );
-        c.toNextToken();
-        Assert.assertTrue( c.isAttr() );
-        c.removeXml();
-        Assert.assertTrue( x.xmlText().equals( "<canBeNil/>" ) );
-        Assert.assertTrue( ! fc.isNil() );
-    }
-    
-    
-    public void testParser ( )
-        throws Exception
-    {
-        dotestParserErrors( "<hee yee='five'><haw>66</haw></any>" );
-        dotestParserErrors( "<foo></moo>" );
-        dotestParserErrors( "<a><foo></moo></a>" );
-        dotestParserErrors( "" );
-        dotestParserErrors( "    " );
-        
-        dotestParserErrors( "har" );
-        dotestParserErrors( "<!-- comment -->" );
-        dotestParserErrors( "<?moo?>" );
-        dotestParserErrors( "<?xml version=\"1.0\" encoding=\"utf-8\"?>" );
-        dotestParserErrors( "<a$/>" );
-        dotestParserErrors( "<foo a='<'></foo>" );
-        dotestParserErrors( "<foo a></foo>" );
-        dotestParserErrors( "<foo>" );
-        dotestParserErrors( "</foo>" );
-// Fix the parser to make these work
-//        dotestParserErrors( "<foo><!-- -- --></foo>" );
-//        dotestParserErrors( "<foo><!-- ---></foo>" );
-
-        dotestParser( "<a b=\"x\n\ny\"/>", "<a b=\"x  y\"/>" );
-    }
-    
-    public void testSaxParser ( )
-        throws Exception
-    {
-        String xml =  "<a x='y'><!---->x<b/><c p='q'>z</c></a>";
-        
-        SAXParserFactory spf = SAXParserFactory.newInstance();
-        SAXParser sp = spf.newSAXParser();
-        XMLReader xr = sp.getXMLReader();
-        InputSource is = new InputSource( new StringReader(  xml ) );
-        XmlSaxHandler sh = XmlObject.Factory.newXmlSaxHandler();
-        
-        xr.setFeature(
-            "http://xml.org/sax/features/namespace-prefixes",
-            true );
-
-        xr.setFeature(
-            "http://xml.org/sax/features/namespaces", true );
-
-        xr.setFeature(
-            "http://xml.org/sax/features/validation", false );
-
-        xr.setContentHandler( sh.getContentHandler() );
-        
-        xr.setProperty(
-            "http://xml.org/sax/properties/lexical-handler",
-            sh.getLexicalHandler() );
-
-        xr.parse( is );
-
-        XmlObject x1 = sh.getObject();
-
-        XmlObject x2 = XmlObject.Factory.parse( xml );
-
-        Assert.assertTrue( x1.xmlText().equals( x2.xmlText() ) );
-    }
-
-    public void testAdditionalNamespaces()
-        throws Exception
-    {
-        String xml = "<a xmlns:a='aNS'><a:b/></a>";
-
-        Map map = new java.util.LinkedHashMap();
-        map.put("b", "bNS");
-        map.put("c", "cNS");
-        map.put("a", "not-aNS");
-
-        XmlOptions options = new XmlOptions();
-        options.setLoadAdditionalNamespaces(map);
-
-        XmlObject x = XmlObject.Factory.parse(xml, options);
-
-        // 'a' prefix namespace is not remapped
-        String expect = "<a xmlns:c=\"cNS\" xmlns:b=\"bNS\" xmlns:a=\"aNS\"><a:b/></a>";
-        Assert.assertEquals( expect, x.xmlText() );
-
-        xml = "<a xmlns='aNS'><b/></a>";
-
-        map = new java.util.LinkedHashMap();
-        map.put("b", "bNS");
-        map.put("c", "cNS");
-        map.put("", "not-aNS");
-
-        options = new XmlOptions();
-        options.setLoadAdditionalNamespaces(map);
-
-        x = XmlObject.Factory.parse(xml, options);
-
-        // default namespace is not remapped
-        expect = "<a xmlns:c=\"cNS\" xmlns:b=\"bNS\" xmlns=\"aNS\"><b/></a>";
-        Assert.assertEquals( expect, x.xmlText() );
-
-    }
-
-    public void testCR135193()
-        throws Exception
-    {
-        String xml = "<a xmlns='aNS' xmlns:b='bNS'><b><c/></b></a>";
-
-        XmlObject x = XmlObject.Factory.parse(xml);
-
-        // get an XMLInputStream and move to XMLEvent.START_ELEMENT for 'b'
-        XmlCursor c = x.newCursor();
-        XMLInputStream xis = c.newXMLInputStream();
-        c.dispose();
-        while (xis.hasNext() && xis.next().getType() != XMLEvent.START_ELEMENT) {
-        }
-
-        // reparse from 'b' element using an sub-XMLInputStream
-        XMLInputStream xis1 = xis.getSubStream();
-        XmlObject x1 = XmlObject.Factory.parse(xis1);
-
-        // CR135193: namespaces including default are set on the 'b' child
-        String expect = "<b xmlns=\"aNS\" xmlns:b=\"bNS\"><c/></b>";
-        Assert.assertEquals( expect, x1.xmlText() );
-    }
-
-}
diff --git a/v2/test/src/xmlcursor/checkin/ToCursorTest.java b/v2/test/src/xmlcursor/checkin/ToCursorTest.java
deleted file mode 100755
index 84654fa..0000000
--- a/v2/test/src/xmlcursor/checkin/ToCursorTest.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToCursorTest extends BasicCursorTestCase {
-    public ToCursorTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToCursorTest.class);
-    }
-
-    public void testToCursorMoves() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        xc0.toEndDoc();
-        try {
-            assertEquals(true, m_xc.toCursor(xc0));
-            assertEquals(true, xc0.isAtSamePositionAs(m_xc));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    /**
-     * FIXED: toCursor(null) does not return a boolean but throws an exception.
-     */
-    public void testToCursorNull() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        m_xc.toFirstChild();
-        String s = m_xc.xmlText();
-        boolean caught = false;
-        try {
-            m_xc.toCursor(null);
-        } catch (java.lang.IllegalArgumentException e) {
-            caught = true;
-        }
-        assertTrue("toCursor(null) did not throw IllegalArgumentException", caught);
-        assertEquals(s, m_xc.xmlText());
-    }
-
-    public void testToCursorDifferentDocs() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        XmlCursor xc0 = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        String s = m_xc.xmlText();
-        toNextTokenOfType(xc0, TokenType.TEXT);
-        try {
-            assertEquals(false, m_xc.toCursor(xc0));
-            assertEquals(s, m_xc.xmlText());
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testToCursorThis() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        m_xc.toFirstChild();
-        String s = m_xc.xmlText();
-        assertEquals(true, m_xc.toCursor(m_xc));
-        assertEquals(s, m_xc.xmlText());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToFirstAttributeTest.java b/v2/test/src/xmlcursor/checkin/ToFirstAttributeTest.java
deleted file mode 100755
index 8d6e5a0..0000000
--- a/v2/test/src/xmlcursor/checkin/ToFirstAttributeTest.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToFirstAttributeTest extends BasicCursorTestCase {
-    public ToFirstAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToFirstAttributeTest.class);
-    }
-
-    public void testToFirstAttrSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>text</foo>").newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertAttributeWithValue("attr0", "val0");
-        m_xc.toStartDoc();
-        assertEquals(true, m_xc.toFirstAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testToFirstAttrSTARTmoreThan1ATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(true, m_xc.toFirstAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testToFirstAttrFrom2ndATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toFirstAttribute());
-    }
-
-    public void testToFirstAttrZeroATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toFirstAttribute());
-    }
-
-    public void testToFirstAttrFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("text", m_xc.getChars());
-        assertEquals(false, m_xc.toFirstAttribute());
-    }
-
-    public void testToFirstAttrWithXMLNS() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo xmlns=\"http://www.foo.org\">text</foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toFirstAttribute());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToFirstChildElementTest.java b/v2/test/src/xmlcursor/checkin/ToFirstChildElementTest.java
deleted file mode 100755
index e490760..0000000
--- a/v2/test/src/xmlcursor/checkin/ToFirstChildElementTest.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToFirstChildElementTest extends BasicCursorTestCase {
-    public ToFirstChildElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToFirstChildElementTest.class);
-    }
-
-    public void testToFirstChildElemSTARTnested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testToFirstChildElemFromLastChild() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap</char></foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(false, m_xc.toFirstChild());
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testToFirstChildElemFromTEXTnested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text<char>zap</char></bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals("zap", m_xc.getTextValue());
-    }
-
-    public void testToFirstChildElemFromATTRnested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text<char>zap</char></bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(true, m_xc.toFirstChild());
-    }
-
-    public void testToFirstChildElemFromSTARTnoChild() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early</foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(false, m_xc.toFirstChild());
-    }
-
-    public void testToFirstChildElemFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early</foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToFirstContentTokenTest.java b/v2/test/src/xmlcursor/checkin/ToFirstContentTokenTest.java
deleted file mode 100755
index 63a2f77..0000000
--- a/v2/test/src/xmlcursor/checkin/ToFirstContentTokenTest.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToFirstContentTokenTest extends BasicCursorTestCase {
-    public ToFirstContentTokenTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToFirstContentTokenTest.class);
-    }
-
-    public void testToFirstContentTokenFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertAttributeWithValue("attr0", "val0");
-        m_xc.insertNamespace("nsx", "valx");
-        m_xc.toStartDoc();
-        assertEquals(TokenType.START, m_xc.toFirstContentToken());
-        assertEquals("earlytext", m_xc.getTextValue());
-    }
-
-    public void testToFirstContentTokenFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\">early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(TokenType.NONE, m_xc.toFirstContentToken());
-        assertEquals(TokenType.ATTR, m_xc.currentTokenType());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testToFirstContentTokenFromNAMESPACE() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\">early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        assertEquals(TokenType.NONE, m_xc.toFirstContentToken());
-        assertEquals(TokenType.NAMESPACE, m_xc.currentTokenType());
-        try {
-            m_xc.getTextValue();
-            fail("Expecting Illegal State Exception");
-        } catch (IllegalStateException ie) {
-        }
-
-    }
-
-    public void testToFirstContentTokenFromSTARTwithContent() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\">early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.TEXT, m_xc.toFirstContentToken());
-        assertEquals("early", m_xc.getChars());
-    }
-
-    public void testToFirstContentTokenFromSTARTnoContent() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\"></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.END, m_xc.toFirstContentToken());
-        m_xc.toNextToken();
-        assertEquals(TokenType.ENDDOC, m_xc.currentTokenType());
-    }
-
-    public void testToFirstContentTokenEmptyDocument() throws Exception {
-        m_xc = XmlObject.Factory.newInstance().newCursor();
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-        assertEquals(TokenType.ENDDOC, m_xc.toFirstContentToken());
-    }
-
-    public void testToFirstContentTokenFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\"><bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(TokenType.NONE, m_xc.toFirstContentToken());
-        assertEquals("text", m_xc.getChars());
-    }
-
-    public void testToFirstContentTokenFromTEXTmiddle() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"nsuri\"><bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals(TokenType.NONE, m_xc.toFirstContentToken());
-        assertEquals("xt", m_xc.getChars());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToLastAttributeTest.java b/v2/test/src/xmlcursor/checkin/ToLastAttributeTest.java
deleted file mode 100755
index ed6fe8b..0000000
--- a/v2/test/src/xmlcursor/checkin/ToLastAttributeTest.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToLastAttributeTest extends BasicCursorTestCase {
-    public ToLastAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToLastAttributeTest.class);
-    }
-
-    public void testToLastAttrSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>text</foo>").newCursor();
-        m_xc.toLastChild();
-        m_xc.insertAttributeWithValue("attr0", "val0");
-        m_xc.insertAttributeWithValue("attr1", "val1");
-        m_xc.toStartDoc();
-        assertEquals(true, m_xc.toLastAttribute());
-        assertEquals("val1", m_xc.getTextValue());
-    }
-
-    public void testToLastAttrSTARTmoreThan1ATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(true, m_xc.toLastAttribute());
-        assertEquals("val1", m_xc.getTextValue());
-    }
-
-    public void testToLastAttrFrom1stATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toLastAttribute());
-    }
-
-    public void testToLastAttrZeroATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toLastAttribute());
-    }
-
-    public void testToLastAttrFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(false, m_xc.toLastAttribute());
-    }
-
-    public void testToLastAttrWithXMLNS() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo xmlns=\"http://www.foo.org\">text</foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toLastAttribute());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToLastChildElementTest.java b/v2/test/src/xmlcursor/checkin/ToLastChildElementTest.java
deleted file mode 100755
index 907df21..0000000
--- a/v2/test/src/xmlcursor/checkin/ToLastChildElementTest.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToLastChildElementTest extends BasicCursorTestCase {
-    public ToLastChildElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToLastChildElementTest.class);
-    }
-
-    public void testToLastChildElemSTARTnestedSiblings() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap</char></foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(true, m_xc.toLastChild());
-        assertEquals("zap", m_xc.getTextValue());
-    }
-
-    public void testToLastChildElemSTARTnestedSiblingsTwice() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(true, m_xc.toLastChild());
-        assertEquals(true, m_xc.toLastChild());
-        assertEquals("yap", m_xc.getTextValue());
-    }
-
-    public void testToLastChildElemFromTEXTnested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text<char>zap</char><dar>yap</dar></bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        XmlCursor xc0 = m_xc.newCursor();
-        xc0.toNextSibling();
-        try {
-            assertEquals("textzapyap", xc0.getTextValue());
-            xc0.toLastChild();
-            assertEquals("yap", xc0.getTextValue());
-            assertEquals(true, m_xc.toLastChild());
-            assertEquals("yap", m_xc.getTextValue());
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testToLastChildElemFromATTRnested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text<char>zap</char><dar>yap</dar></bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(true, m_xc.toLastChild());
-    }
-
-    public void testToLastChildElemFromSTARTnoChild() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early</foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(false, m_xc.toLastChild());
-    }
-
-    public void testToLastChildElemFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early</foo>").newCursor();
-        assertEquals(true, m_xc.toLastChild());
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToNextAttributeTest.java b/v2/test/src/xmlcursor/checkin/ToNextAttributeTest.java
deleted file mode 100755
index 436d7cf..0000000
--- a/v2/test/src/xmlcursor/checkin/ToNextAttributeTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToNextAttributeTest extends BasicCursorTestCase {
-    public ToNextAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToNextAttributeTest.class);
-    }
-
-    public void testToNextAttrFromSTART() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toNextAttribute());
-    }
-
-    public void testToNextAttrFromSingleATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toNextAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testToNextAttrWithSiblings() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(true, m_xc.toNextAttribute());
-        assertEquals("val1", m_xc.getTextValue());
-    }
-
-    public void testToNextAttrFromLastSibling() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toNextAttribute());
-        assertEquals("val1", m_xc.getTextValue());
-    }
-
-    public void testToNextAttrWithXMLNS() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"uri\" attr1=\"val1\">text</foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(true, m_xc.toNextAttribute());
-        assertEquals("val1", m_xc.getTextValue());
-        assertEquals(false, m_xc.toNextAttribute());
-    }
-
-    public void testToNextAttrFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(false, m_xc.toNextAttribute());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToNextBookmarkTest.java b/v2/test/src/xmlcursor/checkin/ToNextBookmarkTest.java
deleted file mode 100755
index 984f909..0000000
--- a/v2/test/src/xmlcursor/checkin/ToNextBookmarkTest.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToNextBookmarkTest extends BasicCursorTestCase {
-    private SimpleBookmark _theBookmark = new SimpleBookmark("value");
-    private SimpleBookmark _theBookmark1 = new SimpleBookmark("value1");
-    private DifferentBookmark _difBookmark = new DifferentBookmark("diff");
-
-    public ToNextBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToNextBookmarkTest.class);
-    }
-
-    public void testToNextBookmarkSameKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_theBookmark1);
-        XmlCursor xc1 = m_xc.newCursor();
-        m_xc.toStartDoc();
-        try {
-            assertEquals(_theBookmark, m_xc.toNextBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc0));
-            assertEquals(_theBookmark1, m_xc.toNextBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-            assertEquals(null, m_xc.toNextBookmark(SimpleBookmark.class));
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testToNextBookmarkInvalidKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_theBookmark1);
-        m_xc.toStartDoc();
-        assertEquals(null, m_xc.toNextBookmark(Object.class));
-    }
-
-    public void testToNextBookmarkDifferentKeys() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_difBookmark);
-        XmlCursor xc1 = m_xc.newCursor();
-        m_xc.toStartDoc();
-        try {
-            assertEquals(_theBookmark, m_xc.toNextBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc0));
-            assertEquals(null, m_xc.toNextBookmark(SimpleBookmark.class));
-            assertEquals(_difBookmark, m_xc.toNextBookmark(DifferentBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testToNextBookmarkPostRemoveChars() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("234", m_xc.getChars());
-        m_xc.setBookmark(_theBookmark);  // set bookmark at '2'
-        m_xc.toPrevChar(2);
-        assertEquals(3, m_xc.removeChars(3));  // '2' should be deleted, along w/ bookmark
-        assertEquals("34", m_xc.getChars());
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toStartDoc();
-        try {
-            assertEquals(null, xc1.toNextBookmark(SimpleBookmark.class));
-            assertEquals(TokenType.STARTDOC, xc1.currentTokenType());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public class SimpleBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public SimpleBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-    public class DifferentBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public DifferentBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToNextCharTest.java b/v2/test/src/xmlcursor/checkin/ToNextCharTest.java
deleted file mode 100755
index 34b018a..0000000
--- a/v2/test/src/xmlcursor/checkin/ToNextCharTest.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToNextCharTest extends BasicCursorTestCase {
-    public ToNextCharTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToNextCharTest.class);
-    }
-
-    public void testToNextCharNegative() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(5, m_xc.toNextChar(-1));
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testToNextCharGTLength() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(5, m_xc.toNextChar(999));
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testToNextCharLTLength() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(3, m_xc.toNextChar(3));
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("ly", m_xc.getChars());
-    }
-
-    public void testToNextCharZero() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(0, m_xc.toNextChar(0));
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("early", m_xc.getChars());
-    }
-
-    public void testToNextCharFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(0, m_xc.toNextChar(2));
-        assertEquals(TokenType.ATTR, m_xc.currentTokenType());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToNextElementTest.java b/v2/test/src/xmlcursor/checkin/ToNextElementTest.java
deleted file mode 100755
index 96360dd..0000000
--- a/v2/test/src/xmlcursor/checkin/ToNextElementTest.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToNextElementTest extends BasicCursorTestCase {
-    public ToNextElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToNextElementTest.class);
-    }
-
-    public void testToNextElementFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        assertEquals(false, m_xc.toNextSibling());
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-    }
-
-    public void testToNextElementSiblings() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals(true, m_xc.toFirstChild());
-        assertEquals("text", m_xc.getTextValue());
-        assertEquals(true, m_xc.toNextSibling());
-        assertEquals("zapwapyap", m_xc.getTextValue());
-        assertEquals(false, m_xc.toNextSibling());
-    }
-
-    public void testToNextElementFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(true, m_xc.toNextSibling());
-    }
-
-    public void testToNextElementFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("early", m_xc.getChars());
-        assertEquals(true, m_xc.toNextSibling());
-        assertEquals("text", m_xc.getTextValue());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToNextSelectionTest.java b/v2/test/src/xmlcursor/checkin/ToNextSelectionTest.java
deleted file mode 100755
index 052a76d..0000000
--- a/v2/test/src/xmlcursor/checkin/ToNextSelectionTest.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToNextSelectionTest extends BasicCursorTestCase {
-    public ToNextSelectionTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToNextSelectionTest.class);
-    }
-
-    public void testToNextSelectionMultipleReturns() throws Exception {
-        String sXml = "<foo><b>0</b><b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        m_xc.selectPath("$this//b");
-        m_xc.toNextSelection();
-        for (int i = 0; i < 6; i++) {
-            assertEquals("" + i, m_xc.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-        }
-        assertEquals("6", m_xc.getTextValue());
-        assertEquals(false, m_xc.toNextSelection());
-    }
-
-    public void testToNextSelectionAfterClear() throws Exception {
-        String sXml = "<foo><b>0</b><b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        m_xc.selectPath("$this//b");
-        m_xc.toNextSelection();
-        for (int i = 0; i < 3; i++) {
-            assertEquals("" + i, m_xc.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-        }
-        m_xc.clearSelections();
-        assertEquals("3", m_xc.getTextValue());
-        assertEquals(false, m_xc.toNextSelection());
-    }
-
-    public void testToNextSelectionBeforeSelect() throws Exception {
-        String sXml = "<foo><b>0</b><b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        assertEquals(false, m_xc.toNextSelection());
-        m_xc.selectPath("$this//b");
-        m_xc.toNextSelection();
-        for (int i = 0; i < 6; i++) {
-            assertEquals("" + i, m_xc.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-        }
-        assertEquals("6", m_xc.getTextValue());
-        assertEquals(false, m_xc.toNextSelection());
-    }
-
-    public void testToNextSelectionOtherCursor() throws Exception {
-        String sXml = "<foo><b>0</b><b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            m_xc.selectPath("$this//b");
-            assertEquals(false, xc0.toNextSelection());
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testToNextSelectionTwoCursorsDifferentSelections() throws Exception {
-        String sXml = "<foo><a>X</a><b>0</b><a>Y</a><b>1</b><a>Z</a><b>2</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            xc0.selectPath("$this//a");
-            xc0.toNextSelection();
-            assertEquals(3, xc0.getSelectionCount());
-            m_xc.selectPath("$this//b");
-            m_xc.toNextSelection();
-            assertEquals(3, m_xc.getSelectionCount());
-            assertEquals(true, xc0.toNextSelection());
-            assertEquals("Y", xc0.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-            assertEquals("1", m_xc.getTextValue());
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testToNextSelectionTwoCursorsSameSelections() throws Exception {
-        String sXml = "<foo><a>X</a><b>0</b><a>Y</a><b>1</b><a>Z</a><b>2</b></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        try {
-            xc0.selectPath("$this//b");
-            xc0.toNextSelection();
-            assertEquals(3, xc0.getSelectionCount());
-            m_xc.selectPath("$this//b");
-            m_xc.toNextSelection();
-            assertEquals(3, m_xc.getSelectionCount());
-            assertEquals(true, xc0.toNextSelection());
-            assertEquals("1", xc0.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-            assertEquals("1", m_xc.getTextValue());
-            assertEquals(true, xc0.toNextSelection());
-            assertEquals("2", xc0.getTextValue());
-            assertEquals(true, m_xc.toNextSelection());
-            assertEquals("2", m_xc.getTextValue());
-            assertEquals(false, xc0.toNextSelection());
-            assertEquals(false, m_xc.toNextSelection());
-        } finally {
-            xc0.dispose();
-        }
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToParentElementTest.java b/v2/test/src/xmlcursor/checkin/ToParentElementTest.java
deleted file mode 100755
index ab5a9b9..0000000
--- a/v2/test/src/xmlcursor/checkin/ToParentElementTest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * ToParentElementTest.java
- *
- * @author Created by Omnicore CodeGuide
- */
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToParentElementTest extends BasicCursorTestCase {
-    public ToParentElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToParentElementTest.class);
-    }
-
-    public void testToParentElementFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        assertEquals(false, m_xc.toParent());
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-    }
-
-    public void testToParentElementFromFirstChildOfSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        m_xc.toFirstChild();
-        assertEquals(true, m_xc.toParent());
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-    }
-
-    public void testToParentElementFromPrevTokenOfENDDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>text</foo>").newCursor();
-        m_xc.toEndDoc();
-        m_xc.toPrevToken();
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-
-        assertEquals(true, m_xc.toParent());
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-    }
-
-    public void testToParentElementNested() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        m_xc.selectPath("$this//ear");
-        m_xc.toNextSelection();
-        assertEquals("yap", m_xc.getTextValue());
-        assertEquals(true, m_xc.toParent());
-        assertEquals("zapwapyap", m_xc.getTextValue());
-    }
-
-    public void testToParentElementFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear attr0=\"val0\">yap</ear></char></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(true, m_xc.toParent());
-        assertEquals("yap", m_xc.getTextValue());
-        assertEquals(true, m_xc.toParent());
-        assertEquals("zapwapyap", m_xc.getTextValue());
-    }
-
-    public void testToParentElementFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        m_xc.selectPath("$this//ear");
-        m_xc.toNextSelection();
-        m_xc.toNextToken();
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("yap", m_xc.getChars());
-        assertEquals(true, m_xc.toParent());
-        assertEquals("yap", m_xc.getTextValue());
-        assertEquals(true, m_xc.toParent());
-        assertEquals("zapwapyap", m_xc.getTextValue());
-    }
-}
-
-
diff --git a/v2/test/src/xmlcursor/checkin/ToPrevAttributeTest.java b/v2/test/src/xmlcursor/checkin/ToPrevAttributeTest.java
deleted file mode 100755
index 2da29d5..0000000
--- a/v2/test/src/xmlcursor/checkin/ToPrevAttributeTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToPrevAttributeTest extends BasicCursorTestCase {
-    public ToPrevAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToPrevAttributeTest.class);
-    }
-
-    public void testtoPrevAttrFromSTART() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(false, m_xc.toPrevAttribute());
-    }
-
-    public void testtoPrevAttrFromSingleATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toPrevAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testtoPrevAttrWithSiblings() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val1", m_xc.getTextValue());
-        assertEquals(true, m_xc.toPrevAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testtoPrevAttrFromFirstSibling() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(false, m_xc.toPrevAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-
-    public void testtoPrevAttrWithXMLNS() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"uri\" attr1=\"val1\">text</foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val1", m_xc.getTextValue());
-        assertEquals(true, m_xc.toPrevAttribute());
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(false, m_xc.toPrevAttribute());
-    }
-
-    public void testtoPrevAttrFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT).newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(false, m_xc.toPrevAttribute());
-    }
-}
diff --git a/v2/test/src/xmlcursor/checkin/ToPrevBookmarkTest.java b/v2/test/src/xmlcursor/checkin/ToPrevBookmarkTest.java
deleted file mode 100755
index 62399d8..0000000
--- a/v2/test/src/xmlcursor/checkin/ToPrevBookmarkTest.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.*;
-
-
-/**
- *
- *
- */
-public class ToPrevBookmarkTest extends BasicCursorTestCase {
-    private SimpleBookmark _theBookmark = new SimpleBookmark("value");
-    private SimpleBookmark _theBookmark1 = new SimpleBookmark("value1");
-    private DifferentBookmark _difBookmark = new DifferentBookmark("diff");
-
-    public ToPrevBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToPrevBookmarkTest.class);
-    }
-
-    public void testToPrevBookmarkSameKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_theBookmark1);
-        XmlCursor xc1 = m_xc.newCursor();
-        m_xc.toEndDoc();
-        try {
-            assertEquals(_theBookmark1, m_xc.toPrevBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-            assertEquals(_theBookmark, m_xc.toPrevBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc0));
-            assertEquals(null, m_xc.toPrevBookmark(SimpleBookmark.class));
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testToPrevBookmarkInvalidKey() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_theBookmark1);
-        m_xc.toEndDoc();
-        assertEquals(null, m_xc.toPrevBookmark(Object.class));
-    }
-
-    public void testToPrevBookmarkDifferentKeys() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        m_xc.setBookmark(_difBookmark);
-        XmlCursor xc1 = m_xc.newCursor();
-        m_xc.toEndDoc();
-        try {
-            assertEquals(_difBookmark, m_xc.toPrevBookmark(DifferentBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-            assertEquals(null, m_xc.toPrevBookmark(DifferentBookmark.class));
-            assertEquals(_theBookmark, m_xc.toPrevBookmark(SimpleBookmark.class));
-            assertEquals(true, m_xc.isAtSamePositionAs(xc0));
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testToPrevBookmarkPostSetTextValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        m_xc.setBookmark(_theBookmark);   // set bm in middle of TEXT
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toEndDoc();
-        m_xc.toPrevToken();
-        m_xc.setTextValue("changed");  // changes text, should destroy bm
-        m_xc.toEndDoc();
-        try {
-            assertEquals(null, xc1.toPrevBookmark(SimpleBookmark.class));
-            assertEquals(TokenType.ENDDOC, xc1.currentTokenType());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public class SimpleBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public SimpleBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-    public class DifferentBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public DifferentBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToPrevCharTest.java b/v2/test/src/xmlcursor/checkin/ToPrevCharTest.java
deleted file mode 100755
index e468b8a..0000000
--- a/v2/test/src/xmlcursor/checkin/ToPrevCharTest.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToPrevCharTest extends BasicCursorTestCase {
-    public ToPrevCharTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToPrevCharTest.class);
-    }
-
-    public void testToPrevCharNegative() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextToken();
-        assertEquals("text", m_xc.getTextValue());
-        assertEquals(5, m_xc.toPrevChar(-1));
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("early", m_xc.getChars());
-    }
-
-    public void testToPrevCharGTLength() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextToken();
-        assertEquals("text", m_xc.getTextValue());
-        assertEquals(5, m_xc.toPrevChar(999));
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("early", m_xc.getChars());
-    }
-
-    public void testToPrevCharLTLength() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextToken();
-        assertEquals("text", m_xc.getTextValue());
-        assertEquals(3, m_xc.toPrevChar(3));
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("rly", m_xc.getChars());
-    }
-
-    public void testToPrevCharZero() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextToken();
-        assertEquals("text", m_xc.getTextValue());
-        assertEquals(0, m_xc.toPrevChar(0));
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testToPrevCharFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo attr0=\"val0\">early<bar>text</bar></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(0, m_xc.toPrevChar(2));
-        assertEquals(TokenType.ATTR, m_xc.currentTokenType());
-        assertEquals("val0", m_xc.getTextValue());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/ToPrevElementTest.java b/v2/test/src/xmlcursor/checkin/ToPrevElementTest.java
deleted file mode 100755
index cd2342a..0000000
--- a/v2/test/src/xmlcursor/checkin/ToPrevElementTest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToPrevElementTest extends BasicCursorTestCase {
-    public ToPrevElementTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToPrevElementTest.class);
-    }
-
-    public void testToPrevElementFromSTARTDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        assertEquals(false, m_xc.toPrevSibling());
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-    }
-
-    public void testToPrevElementFromENDDOC() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar></foo>").newCursor();
-        XmlCursor xc0 = m_xc.newCursor();
-        xc0.toFirstChild();
-        m_xc.toEndDoc();
-        m_xc.toPrevSibling();
-        try {
-            assertEquals(true, m_xc.isAtSamePositionAs(xc0));
-        } finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testToPrevElementSiblings() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>").newCursor();
-        m_xc.selectPath("$this//ear");
-        m_xc.toNextSelection();
-        assertEquals("yap", m_xc.getTextValue());
-        assertEquals(true, m_xc.toPrevSibling());
-        assertEquals("wap", m_xc.getTextValue());
-        assertEquals(false, m_xc.toPrevSibling());
-    }
-
-    public void testToPrevElementFromATTR() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear attr0=\"val0\">yap</ear></char></foo>").newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("val0", m_xc.getTextValue());
-        assertEquals(false, m_xc.toPrevSibling());
-    }
-
-    public void testToPrevElementFromTEXT() throws Exception {
-        m_xc = XmlObject.Factory.parse("<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear><a/>yap</ear></char></foo>").newCursor();
-        m_xc.selectPath("$this//ear");
-        m_xc.toNextSelection();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("yap", m_xc.getChars());
-        assertEquals(true, m_xc.toPrevSibling());
-        assertEquals("", m_xc.getTextValue());
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/checkin/TokensTest.java b/v2/test/src/xmlcursor/checkin/TokensTest.java
deleted file mode 100755
index a675569..0000000
--- a/v2/test/src/xmlcursor/checkin/TokensTest.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.checkin;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.*;
-
-
-
-/**
- *
- *
- */
-public class TokensTest extends BasicCursorTestCase {
-    public TokensTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(TokensTest.class);
-    }
-
-    public void testHasNextToken() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(true, m_xc.hasNextToken());
-    }
-
-    public void testHasNextTokenENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        assertEquals(false, m_xc.hasNextToken());
-    }
-
-    public void testHasPrevToken() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(true, m_xc.hasPrevToken());
-    }
-
-    public void testHasPrevTokenSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        assertEquals(false, m_xc.hasPrevToken());
-    }
-
-    public void testToEndTokenFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        assertEquals(TokenType.ENDDOC, m_xc.toEndToken());
-    }
-
-    public void testToEndTokenFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.END, m_xc.toEndToken());
-    }
-
-    public void testToEndTokenFromTEXTmiddle() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(1);
-        assertEquals(TokenType.NONE, m_xc.toEndToken());
-    }
-
-    public void testToFirstContentTokenFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstContentToken();
-        assertEquals(TokenType.START, m_xc.currentTokenType());
-    }
-
-    public void testToFirstContentTokenFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals(TokenType.NONE, m_xc.toFirstContentToken());
-        assertEquals(TokenType.ATTR, m_xc.currentTokenType());
-    }
-
-    public void testToFirstContentTokenFromSTARTwithContent() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.TEXT, m_xc.toFirstContentToken());
-    }
-
-    public void testToFirstContentTokenFromSTARTwithoutContent() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.END, m_xc.toFirstContentToken());
-    }
-
-    public void testToNextTokenFromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        assertEquals(TokenType.NONE, m_xc.toNextToken());
-    }
-
-    public void testToNextTokenNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        assertEquals(TokenType.NAMESPACE, m_xc.toNextToken());
-    }
-
-    public void testToPrevTokenSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        assertEquals(TokenType.NONE, m_xc.toPrevToken());
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-    }
-
-    public void testToPrevTokenENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        assertEquals(TokenType.END, m_xc.toPrevToken());
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/common/BasicCursorTestCase.java b/v2/test/src/xmlcursor/common/BasicCursorTestCase.java
deleted file mode 100755
index e9e3ba4..0000000
--- a/v2/test/src/xmlcursor/common/BasicCursorTestCase.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*   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.
- */
-
-
-
-package xmlcursor.common;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlError;
-
-import javax.xml.namespace.QName;
-import java.util.*;
-
-/**
- * 
- */
-public class BasicCursorTestCase extends TestCase {
-     protected XmlObject m_xo;
-     protected XmlCursor m_xc;
-
-    public BasicCursorTestCase(String sName) {
-        super(sName);
-    }
-
-    protected void setUp() throws Exception {
-    }
-
-    protected void tearDown() {
-        m_xo = null;
-        if (m_xc != null) {
-            m_xc.dispose();
-            m_xc = null;
-        }
-    }
-
-    /*
-    public void testRuntimeClassPath() throws Exception
-    {
-        fail(System.getProperty("java.class.path"));
-    }
-    */
-
-    /**
-     * Method testFilesInClassPath
-     *
-     * tests for files directory in local environment:
-     *                  ${cajun.dir}/knex/test/local/files
-     *   or automation environment:
-     *                  ${install.tempdir}/testcase/files
-     *
-     * If these directories are not in runtime classpath, locating files
-     * using getSystemResource() will fail causing false test failures.
-     *
-     * TODO: we should really make these identical as the test isn't foolproof
-     *
-     * @throws   Exception
-     *
-     */
-    public void testForFilesInClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf("schemajars");
-        if (i < 0) {
-            fail("files directory not found in runtime classpath.  Ant script error!");
-        }
-        assertTrue(true);
-    }
-
-    public void toNextTokenOfType(XmlCursor xc, TokenType tt) throws IllegalArgumentException {
-        if (xc == null) {
-            throw new IllegalArgumentException("Invalid argument: null XmlCursor");
-        } else if (tt == null) {
-            throw new IllegalArgumentException("Invalid argument: null TokenType");
-        }
-
-        while (xc.toNextToken() != tt) {
-            if (xc.currentTokenType() == TokenType.ENDDOC)
-                fail("Expected Token not found! " + tt.toString());
-        }
-        assertEquals(tt, xc.currentTokenType());
-    }
-
-    public void toPrevTokenOfType(XmlCursor xc, TokenType tt)
-            throws IllegalArgumentException {
-        if (xc == null) {
-            throw new IllegalArgumentException("Invalid argument: null XmlCursor");
-        } else if (tt == null) {
-            throw new IllegalArgumentException("Invalid argument: null TokenType");
-        }
-
-        while (xc.toPrevToken() != tt) {
-            if (xc.currentTokenType() == TokenType.STARTDOC)
-                fail("Expected Token not found! " + tt.toString());
-        }
-        assertEquals(tt, xc.currentTokenType());
-    }
-
-    /**
-     * Method compareDocTokens
-     *
-     * TODO: should really compare values also.
-     *
-     * @param    tc                  a  TestCase
-     * @param    a                   a  XmlCursor
-     * @param    b                   a  XmlCursor
-     *
-     *
-     */
-    public void compareDocTokens(XmlCursor a, XmlCursor b) {
-        while (a.hasNextToken() && b.hasNextToken()) {
-            TokenType ttOrig = a.currentTokenType();
-            TokenType ttRoundTrip = b.currentTokenType();
-            if (ttOrig != ttRoundTrip) {
-                fail("Round trip failed.  Original Cursor TokenType = "
-                     + ttOrig + " Roundtrip Cursor TokenType = "
-                     + ttRoundTrip);
-
-            }
-            a.toNextToken();
-            b.toNextToken();
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/common/Common.java b/v2/test/src/xmlcursor/common/Common.java
deleted file mode 100755
index f179755..0000000
--- a/v2/test/src/xmlcursor/common/Common.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*   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.
- */
-
-
-
-package xmlcursor.common;
-
-
-
-/**
- *
- */
-public class Common {
-    public final static String XMLFRAG_BEGINTAG = "<xml-fragment>";
-    public final static String XMLFRAG_ENDTAG = "</xml-fragment>";
-
-    public final static String XML_FOO = "<foo></foo>";
-    public final static String XML_FOO_1ATTR = "<foo attr0=\"val0\"></foo>";
-    public final static String XML_FOO_TEXT = "<foo>text</foo>";
-    public final static String XML_FOO_1ATTR_TEXT = "<foo attr0=\"val0\">text</foo>";
-    public final static String XML_FOO_2ATTR = "<foo attr0=\"val0\" attr1=\"val1\"></foo>";
-    public final static String XML_FOO_2ATTR_TEXT = "<foo attr0=\"val0\" attr1=\"val1\">text</foo>";
-    public final static String XML_FOO_5ATTR_TEXT = "<foo attr0=\"val0\" attr1=\"val1\"  attr2=\"val2\"  attr3=\"val3\"  attr4=\"val4\">text</foo>";
-    public final static String XML_FOO_BAR = "<foo><bar></bar></foo>";
-    public final static String XML_FOO_BAR_TEXT = "<foo><bar>text</bar></foo>";
-    public final static String XML_FOO_BAR_TEXT_EXT = "<foo><bar>text</bar>extended</foo>";
-    public final static String XML_FOO_BAR_WS_TEXT = "<foo><bar> text </bar> ws \\r\\n </foo>";
-    public final static String XML_FOO_BAR_WS_ONLY = "<foo> <bar> </bar> </foo>";
-    public final static String XML_FOO_NS = "<foo xmlns=\"http://www.foo.org\"></foo>";
-    public final static String XML_FOO_NS_PREFIX = "<foo xmlns:edi='http://ecommerce.org/schema'><!-- the 'price' element's namespace is http://ecommerce.org/schema -->  <edi:price units='Euro'>32.18</edi:price></foo>";
-    public final static String XML_FOO_BAR_SIBLINGS = "<foo><bar>text0</bar><bar>text1</bar></foo>";
-    public final static String XML_FOO_BAR_NESTED_SIBLINGS = "<foo attr0=\"val0\"><bar>text0<zed>nested0</zed></bar><bar>text1<zed>nested1</zed></bar></foo>";
-    public final static String XML_FOO_PROCINST = "<?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><foo>text</foo>";
-    public final static String XML_FOO_COMMENT = "<!-- comment text --><foo>text</foo>";
-    public final static String XML_FOO_DIGITS = "<foo xmlns=\"http://www.foo.org\" attr0=\"val0\">01234</foo>";
-    public final static String XML_TEXT_MIDDLE = "<foo><bar>text</bar>extended<goo>text1</goo></foo>";
-
-    public final static String XML_ATTR_TEXT = "<foo x=\"y\">ab</foo> ";
-
-
-
-    public final static String TRANXML_DIR = "tranxml/Version4.0/";
-    public final static String TRANXML_SCHEMAS_DIR = TRANXML_DIR + "schemas/StandAlone/";
-    public final static String TRANXML_EXAMPLEDOCS_DIR = TRANXML_DIR + "ExampleDocs/";
-    public final static String CLM_NS = "http://www.tranxml.org/TranXML/Version4.0";
-    public final static String CLM_XSI_NS = "xmlns:xsi=\"http://www.w3.org/2000/10/XMLSchema-instance\"";
-    public final static String CLM_NS_XQUERY_DEFAULT = "default element namespace=\"" + CLM_NS + "\"";
-
-    public final static String TRANXML_FILE_CLM = TRANXML_EXAMPLEDOCS_DIR + "CarLocationMessage.xml";
-    public final static String TRANXML_FILE_RBL = TRANXML_EXAMPLEDOCS_DIR + "RailBillOfLading.xml";
-    public final static String TRANXML_FILE_SRCWBI = TRANXML_EXAMPLEDOCS_DIR + "SimpleRailCarrierWaybillInterchange.xml";
-    public final static String TRANXML_FILE_TOAIRA = TRANXML_EXAMPLEDOCS_DIR + "TerminalOperationsAndIntermodalRampActivity.xml";
-    public final static String TRANXML_FILE_XMLCURSOR_PO = "xbean/xmlcursor/po.xml";
-
-
-    public final static String XML_SCHEMA_TYPE_SUFFIX = "http://www.w3.org/2001/XMLSchema";
-    public final static String TRANXML_SCHEMA_TYPE_SUFFIX = CLM_NS;
-
-    public static final String XMLCASES_JAR = "xmlcases.jar";
-    public static final String XSDCASES_JAR = "xsdcases.jar";
-
-    public static final String XMLCURSOR_JAR = "xmlcursor.jar";
-    public static final String CARLOCATIONMESSAGE_JAR = "CarLocationMessage_40_LX.xsd.jar";
-    public static final String RAILBILLOFLADING_JAR = "RailBillOfLading_V40_LX.xsd.jar";
-    public static final String SIMPLERAILCARRIERWAYBILLINTERCHANGE_JAR = "SimpleRailCarrierWaybillInterchange_V40_LX.xsd.jar";
-    public static final String TERMINALOPERATIONSANDINTERMODALRAMPACTIVITY_JAR = "TerminalOperationsAndIntermodalRampActivity_V40_LX.xsd.jar";
-
-    public static String wrapInXmlFrag(String text) {
-        return XMLFRAG_BEGINTAG + text + XMLFRAG_ENDTAG;
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CopyCharsTest.java b/v2/test/src/xmlcursor/detailed/CopyCharsTest.java
deleted file mode 100755
index b7cb295..0000000
--- a/v2/test/src/xmlcursor/detailed/CopyCharsTest.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-/**
- *
- * 
- */
-public class CopyCharsTest extends BasicCursorTestCase {
-    public CopyCharsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CopyCharsTest.class);
-    }
-
-    public void testCopyCharsToNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.copyChars(4, null);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        }
-        assertEquals(true, true);
-    }
-
-    public void testCopyCharsNegative() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-	try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.copyChars(-1, xc0));
-	    assertEquals(TokenType.TEXT, xc0.currentTokenType());
-	    assertEquals("0123", xc0.getTextValue());
-
-            xc0.toPrevToken();
-	    assertEquals(TokenType.START,xc0.prevTokenType());
-            assertEquals("WXYZ0123", xc0.getTextValue());
-            assertEquals(TokenType.TEXT, xc1.currentTokenType());
-	    assertEquals(TokenType.START,xc1.prevTokenType());
-	    assertEquals("WXYZ", xc1.getTextValue());
-	} finally {
-            xc0.dispose();
-            xc1.dispose();
-	}
-    }
-
-    public void testCopyCharsZero() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(0, xc1.copyChars(0, xc0));
-            assertEquals("0123", xc0.getTextValue());
-            xc0.toPrevToken();
-            assertEquals("0123", xc0.getTextValue());
-            assertEquals(TokenType.TEXT, xc1.currentTokenType());
-            assertEquals("WXYZ", xc1.getTextValue());
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-
-    public void testCopyCharsThis() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(true, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.copyChars(4, xc0));
-            assertEquals("0123", xc0.getTextValue());
-            xc0.toPrevToken();
-            assertEquals("01230123", xc0.getTextValue());
-            assertEquals("0123", xc1.getTextValue());
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testCopyCharsGTmax() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar>0123</bar><bar>WXYZ</bar></foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc0 = m_xc.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        XmlCursor xc1 = m_xc.newCursor();
-        try {
-            assertEquals(false, xc0.isAtSamePositionAs(xc1));
-            assertEquals(4, xc1.copyChars(1000, xc0));
-            // verify xc0
-            assertEquals("0123", xc0.getTextValue());
-            xc0.toPrevToken();
-            assertEquals("WXYZ0123", xc0.getTextValue());
-            // verify xc1
-            assertEquals("WXYZ", xc1.getTextValue());
-        } finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testCopyCharsToDifferentDocument() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        XmlCursor xc1 = xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        assertEquals(5, m_xc.copyChars(5, xc1));
-        xc1.toPrevToken();
-        // verify xc1
-        assertEquals("01234text", xc1.getTextValue());
-        xc1.dispose();
-        // verify m_xc
-        assertEquals("01234", m_xc.getTextValue());
-    }
-
-    public void testCopyCharsToEmptyDocumentSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.newInstance();
-        XmlCursor xc1 = xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            assertEquals(5, m_xc.copyChars(5, xc1));
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException ise) {
-        }
-        assertEquals(true, true);
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CursorGeneratedTypedObjectTest.java b/v2/test/src/xmlcursor/detailed/CursorGeneratedTypedObjectTest.java
deleted file mode 100755
index b2b456a..0000000
--- a/v2/test/src/xmlcursor/detailed/CursorGeneratedTypedObjectTest.java
+++ /dev/null
@@ -1,219 +0,0 @@
-/*   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.
- */
-
-package  xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import tools.util.JarUtil;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.CodeList309;
-import org.tranxml.tranXML.version40.GeographicLocationDocument;
-import org.tranxml.tranXML.version40.LocationIdentifierDocument;
-import person.Person;
-import person.PersonDocument;
-import test.xbean.xmlcursor.location.LocationDocument;
-
-import javax.xml.namespace.QName;
-
-
-/**
- * 
- *
- */
-public class CursorGeneratedTypedObjectTest extends TestCase {
-    public CursorGeneratedTypedObjectTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CursorGeneratedTypedObjectTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testGetObjectValidateLocation() throws Exception {
-        String sNamespace = "xmlns:loc=\"http://xbean.test/xmlcursor/Location\"";
-        String sXml =
-                "<loc:Location " + sNamespace + ">" +
-                "<loc:CityName>DALLAS</loc:CityName>" +
-                "<loc:StateCode>TX</loc:StateCode>" +
-                "</loc:Location>";
-        LocationDocument locDoc = LocationDocument.Factory.parse(sXml);
-        XmlCursor xc = locDoc.newCursor();
-        xc.toFirstChild();
-        LocationDocument.Location loc = (LocationDocument.Location) xc.getObject();
-        assertEquals(true, loc.validate());
-        XmlCursor xc0 = xc.newCursor();
-
-        xc0.toEndDoc();
-        xc0.toPrevToken();
-      //  xc0.insertElementWithText("SubdivisionCode", "xyz");
-        xc0.insertElementWithText(
-                new QName("http://xbean.test/xmlcursor/Location","SubdivisionCode","loc"),
-                "xyz");
-        xc0.toCursor(xc);
-
-
-        String sExpectedXML =
-                "<loc:Location " + sNamespace + ">" +
-                "<loc:CityName>DALLAS</loc:CityName>" +
-                "<loc:StateCode>TX</loc:StateCode>" +
-                "<loc:SubdivisionCode>xyz</loc:SubdivisionCode>" +
-                "</loc:Location>";
-
-        String sOExpectedXML =
-                "<xml-fragment " + sNamespace + ">" +
-               "<loc:CityName>DALLAS</loc:CityName>" +
-                "<loc:StateCode>TX</loc:StateCode>" +
-               "<loc:SubdivisionCode>xyz</loc:SubdivisionCode>" +
-        "</xml-fragment>";
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.SAVE_PRETTY_PRINT, "");
-        map.put(XmlOptions.SAVE_PRETTY_PRINT_INDENT, new Integer(-1));
-        try {
-            assertEquals(sExpectedXML, xc0.xmlText(map));
-            loc = (LocationDocument.Location) xc0.getObject();
-            assertEquals(sOExpectedXML, loc.xmlText());
-            assertEquals(true, loc.validate());
-            assertEquals("DALLAS", loc.getCityName());
-            assertEquals("TX", loc.getStateCode());
-            assertEquals("xyz", loc.getSubdivisionCode());
-        }
-        finally {
-            xc.dispose();
-            xc0.dispose();
-        }
-
-    }
-
-    public void testGetObjectGL() throws Exception {
-        String sNamespace = "xmlns=\"http://www.tranxml.org/TranXML/Version4.0\" xmlns:xsi=\"http://www.w3.org/2000/10/XMLSchema-instance\"";
-        CarLocationMessageDocument clm = CarLocationMessageDocument.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        XmlCursor xc = clm.newCursor();
-        xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                "$this//GeographicLocation");
-        xc.toNextSelection();
-
-        GeographicLocationDocument.GeographicLocation gl0 = (GeographicLocationDocument.GeographicLocation) xc.getObject();
-        assertEquals(true, gl0.validate());
-
-        XmlCursor xc0 = xc.newCursor();
-        try {
-            xc0.toLastChild();
-            assertEquals("TX", xc0.getTextValue());
-            xc0.toNextToken();
-            xc0.toNextToken();
-            xc0.toNextToken();
-            xc0.toNextToken();
-            assertEquals(TokenType.END, xc0.currentTokenType());
-
-            xc0.insertElement("LocationIdentifier",
-                    "http://www.tranxml.org/TranXML/Version4.0");
-            xc0.insertAttributeWithValue("Qualifier", "FR");
-            xc0.insertElementWithText("CountrySubdivisionCode",
-                    "http://www.tranxml.org/TranXML/Version4.0", "xyz");
-            xc0.toCursor(xc);
-
-            String sExpectedXML = "<GeographicLocation " + sNamespace +
-                    "><CityName>DALLAS</CityName><StateOrProvinceCode>TX</StateOrProvinceCode><LocationIdentifier Qualifier=\"FR\"/><CountrySubdivisionCode>xyz</CountrySubdivisionCode></GeographicLocation>";
-            XmlOptions map = new XmlOptions();
-            map.put(XmlOptions.SAVE_PRETTY_PRINT, "");
-            map.put(XmlOptions.SAVE_PRETTY_PRINT_INDENT, new Integer(-1));
-            assertEquals(sExpectedXML, xc0.xmlText(map));
-
-            String sOExpectedXML = "<xml-fragment xmlns:xsi=\"http://www.w3.org/2000/10/XMLSchema-instance\"><ver:CityName xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\">DALLAS</ver:CityName><ver:StateOrProvinceCode xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\">TX</ver:StateOrProvinceCode><ver:LocationIdentifier Qualifier=\"FR\" xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\"/><ver:CountrySubdivisionCode xmlns:ver=\"http://www.tranxml.org/TranXML/Version4.0\">xyz</ver:CountrySubdivisionCode></xml-fragment>";
-
-            GeographicLocationDocument.GeographicLocation gl = (GeographicLocationDocument.GeographicLocation) xc0.getObject();
-            assertEquals(sOExpectedXML, gl.xmlText(map));
-            assertEquals(true, gl.validate());
-
-
-            assertEquals("DALLAS", gl.getCityName().getStringValue());
-            assertEquals("TX", gl.getStateOrProvinceCode());
-            LocationIdentifierDocument.LocationIdentifier li = gl.getLocationIdentifier();
-            assertNotNull("LocationIdentifier unexpectedly null", li);
-            assertEquals(CodeList309.FR,
-                    gl.getLocationIdentifier().getQualifier());
-            assertEquals("xyz", gl.getCountrySubdivisionCode());
-        }
-        finally {
-            xc.dispose();
-            xc0.dispose();
-        }
-    }
-
-
-    /**
-     * Method testGetObjectPerson
-     *
-     * @throws Exception
-     */
-    public void testGetObjectPerson() throws Exception {
-        String sFF = "<First>Fred</First><Last>Flintstone</Last>";
-        String sXml = "<Person xmlns=\"person\"><Name>" + sFF +
-                "</Name></Person>";
-        XmlCursor xc = XmlObject.Factory.parse(sXml).newCursor();
-        PersonDocument pdoc = (PersonDocument) xc.getObject();
-
-        xc.toFirstChild();
-        XmlCursor xcPlaceHolder = xc.newCursor();
-
-        try {
-            Person p = (Person) xc.getObject();
-            assertEquals(true, p.validate());
-            // move to </Person>
-            xc.toEndToken();
-
-            xc.insertElement("Sibling", "person");
-            xc.toPrevToken();
-            xc.insertElement("Name", "person");
-            xc.toPrevToken();
-            xc.insertElementWithText("First", "person", "Barney");
-            xc.insertElementWithText("Last", "person", "Rubble");
-
-            p = (Person) xcPlaceHolder.getObject();
-            assertEquals(true, p.validate());
-
-            assertEquals("Fred", p.getName().getFirst());
-            assertEquals("Flintstone", p.getName().getLast());
-            Person[] ap = p.getSiblingArray();
-            assertEquals(1, ap.length);
-            assertEquals("Barney", ap[0].getName().getFirst());
-            assertEquals("Rubble", ap[0].getName().getLast());
-        }
-        finally {
-            xc.dispose();
-            xcPlaceHolder.dispose();
-        }
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CursorLocations.java b/v2/test/src/xmlcursor/detailed/CursorLocations.java
deleted file mode 100755
index e2c7e0b..0000000
--- a/v2/test/src/xmlcursor/detailed/CursorLocations.java
+++ /dev/null
@@ -1,349 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-import java.math.BigDecimal;
-
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderType;
-import test.xbean.xmlcursor.purchaseOrder.USAddress;
-
-/**
- *
- *
- */
-public class CursorLocations extends BasicCursorTestCase {
-
-    private Bookmark0 _theBookmark0 = new Bookmark0("value0");
-
-    public CursorLocations(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CursorLocations.class);
-    }
-
-    public void LocationTest() throws Exception {
-        XmlCursor xc1, xc2, xc3, xc4;
-        XmlObject m_xo1;
-
-
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xo1 = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-
-
-        xc1 = m_xo.newCursor();
-        xc2 = m_xo.newCursor();
-        xc3 = m_xo1.newCursor();
-
-
-        toNextTokenOfType(xc2, TokenType.COMMENT);
-        toNextTokenOfType(xc3, TokenType.START);
-
-
-        while (xc1.isLeftOf(xc2)) {
-            assertEquals(false, xc1.isRightOf(xc2));
-            assertEquals(true, xc2.isRightOf(xc1));
-            assertEquals(true, xc1.isInSameDocument(xc2));
-            assertEquals(false, xc2.isAtSamePositionAs(xc1));
-            assertEquals(false, xc1.isAtSamePositionAs(xc2));
-            assertEquals(1, xc2.comparePosition(xc1));
-            assertEquals(-1, xc1.comparePosition(xc2));
-            //	System.out.println(xc1.currentTokenType() + "       " +  xc2.currentTokenType());
-            xc1.toNextToken();
-            xc2.toPrevToken();
-        }
-
-        //System.out.println("Current Token Type "   +  xc1.currentTokenType() + "       " +  xc2.currentTokenType());
-        assertEquals(xc1.getChars(), xc2.getTextValue());
-        //System.out.println(xc2.getTextValue());
-        xc2.toNextToken();
-        assertEquals(true, xc1.isAtSamePositionAs(xc2));
-        xc2.toPrevToken();
-        xc2.toEndToken();
-
-//comparing two cursors in the middle of text
-
-        assertEquals(xc2.toPrevChar(4), xc1.toNextChar(4));
-        assertEquals(true, xc2.isRightOf(xc1));
-        assertEquals(false, xc1.isRightOf(xc2));
-        assertEquals(false, xc2.isLeftOf(xc1));
-        assertEquals(false, xc1.isAtSamePositionAs(xc2));
-        assertEquals(1, xc2.comparePosition(xc1));
-        assertEquals(true, xc1.isInSameDocument(xc2));
-        xc1.toNextChar(3);
-        assertEquals(0, xc2.comparePosition(xc1));
-        assertEquals(xc1.currentTokenType(), xc2.currentTokenType());
-
-//Comparing the same cursor to itself
-        xc1.toNextChar(1);
-        assertEquals(false, xc1.isRightOf(xc1));
-        assertEquals(0, xc2.comparePosition(xc2));
-        assertEquals(true, xc2.isInSameDocument(xc2));
-        assertEquals(true, xc2.isAtSamePositionAs(xc2));
-
-        assertEquals(TokenType.START, xc2.toPrevToken());
-        xc1.setBookmark(_theBookmark0);
-
-//moving xml and bookmark to a different location
-        assertEquals(true, xc2.moveXml(xc3));
-        xc4 = _theBookmark0.createCursor();
-
-        assertEquals(true, xc4.isInSameDocument(xc3));
-        assertEquals(-1, xc4.comparePosition(xc3));
-        assertEquals(TokenType.END, xc3.toPrevToken());
-        xc3.toPrevChar(3);
-        assertEquals(0, xc4.comparePosition(xc3));
-
-//comparing in  two different documents
-        assertEquals(false, xc2.isInSameDocument(xc3));
-
-
-        try {
-            xc4.isLeftOf(xc2);
-            fail("Expecting Illegal Argument Exception");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-
-        xc1.dispose();
-        xc2.dispose();
-        xc3.dispose();
-        xc4.dispose();
-
-    }
-
-    public void TestLocationATTR() throws Exception {
-        XmlCursor xc1, xc2;
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_5ATTR_TEXT);
-
-        xc1 = m_xo.newCursor();
-        xc2 = m_xo.newCursor();
-
-        toNextTokenOfType(xc1, TokenType.ATTR);
-        toNextTokenOfType(xc2, TokenType.ATTR);
-
-        int i = 0;
-        while (xc2.currentTokenType() == TokenType.ATTR) {
-            xc2.toNextToken();
-            ++i;
-        }
-
-        assertEquals(5, i);
-        xc2.toPrevToken();
-
-//moving betweenAttributes. one cursor is at the last ATTR and other is at first ATTR.
-        while (xc1.isLeftOf(xc2)) {
-            assertEquals(false, xc1.isRightOf(xc2));
-            assertEquals(true, xc2.isRightOf(xc1));
-            assertEquals(true, xc1.isInSameDocument(xc2));
-            assertEquals(false, xc2.isAtSamePositionAs(xc1));
-            assertEquals(false, xc1.isAtSamePositionAs(xc2));
-            assertEquals(1, xc2.comparePosition(xc1));
-            assertEquals(-1, xc1.comparePosition(xc2));
-            //	System.out.println(xc1.currentTokenType() + "       " +  xc2.currentTokenType());
-            xc1.toNextToken();
-            xc2.toPrevToken();
-        }
-        assertEquals(true, xc1.isAtSamePositionAs(xc2));
-
-//inserting and then comparing to make sure cursors move properly.
-        xc2.insertAttributeWithValue("attr5", "val5");
-        assertEquals(0, xc1.comparePosition(xc2));
-
-        xc2.toPrevToken();
-        assertEquals("val5", xc2.getTextValue());
-
-        xc1.dispose();
-        xc2.dispose();
-
-    }
-
-    public void TestLocationTEXTMiddle() throws Exception {
-        XmlCursor xc1, xc2, xc3;
-        m_xo = XmlObject.Factory.parse(Common.XML_TEXT_MIDDLE);
-
-        xc1 = m_xo.newCursor();
-        xc2 = m_xo.newCursor();
-        xc3 = m_xo.newCursor();
-
-
-        //	 while(xc2.currentTokenType() != TokenType.ENDDOC)
-        //	{
-        //    System.out.println(xc2.currentTokenType());
-        //    xc2.toNextToken();
-        // }
-
-//moving cursor to right locations. one is in middle of mixed content. the others is in middle of text of first node and last node
-
-        toNextTokenOfType(xc1, TokenType.TEXT);
-        toNextTokenOfType(xc2, TokenType.TEXT);
-        toNextTokenOfType(xc3, TokenType.START);
-        toNextTokenOfType(xc2, TokenType.TEXT);
-        xc1.toNextChar(4);
-        xc2.toNextChar(5);
-        xc3.toEndToken();
-        xc3.toPrevToken();
-        xc3.toPrevChar(3);
-//comparing positions
-        assertEquals(-1, xc2.comparePosition(xc3));
-        assertEquals(true, xc2.isRightOf(xc1));
-        assertEquals(true, xc1.isInSameDocument(xc2));
-        assertEquals(false, xc2.isAtSamePositionAs(xc3));
-
-//moving cursors
-        xc3.toPrevChar(2);
-        xc2.toNextChar(1);
-//comparing position once again
-        assertEquals(-1, xc2.comparePosition(xc3));
-        assertEquals(true, xc2.isRightOf(xc1));
-        assertEquals(true, xc1.isInSameDocument(xc2));
-        assertEquals(false, xc2.isAtSamePositionAs(xc3));
-
-//moving and bringing them to identical positions
-        xc3.toPrevToken();
-        xc2.toNextChar(2);
-        assertEquals(true, xc2.isAtSamePositionAs(xc3));
-
-        xc1.dispose();
-        xc2.dispose();
-        xc3.dispose();
-
-
-    }
-
-
-    public void XmlObjectUsingCursor() throws Exception {
-        XmlCursor xc1, xc2, xc3;
-
-        //PurchaseOrderDocument pod = (PurchaseOrderDocument)XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-        PurchaseOrderDocument pod = PurchaseOrderDocument.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        xc1 = pod.newCursor();
-        xc2 = pod.newCursor();
-        xc3 = pod.newCursor();
-
-        //while(xc1.currentTokenType() != TokenType.ENDDOC)
-        // {
-        //System.out.println(xc1.currentTokenType());
-
-        //if (xc1.currentTokenType() == TokenType.TEXT)
-        //System.out.println( xc1.getChars());
-
-        //xc1.toNextToken();
-        //}
-
-        //moving cursor location so that it comes to zip under shipto
-
-        toNextTokenOfType(xc1, TokenType.START);
-        toNextTokenOfType(xc1, TokenType.START);
-        toNextTokenOfType(xc2, TokenType.START);
-        toNextTokenOfType(xc2, TokenType.START);
-        toNextTokenOfType(xc3, TokenType.START);
-        toNextTokenOfType(xc3, TokenType.START);
-
-        xc1.toEndToken();
-        xc2.toEndToken();
-        xc3.toEndToken();
-
-        toPrevTokenOfType(xc1, TokenType.TEXT);
-        toPrevTokenOfType(xc1, TokenType.TEXT);
-        toPrevTokenOfType(xc2, TokenType.TEXT);
-        toPrevTokenOfType(xc2, TokenType.TEXT);
-        toPrevTokenOfType(xc3, TokenType.TEXT);
-        toPrevTokenOfType(xc3, TokenType.TEXT);
-
-        assertEquals(xc1.getChars(), xc2.getChars(), xc3.getChars());
-
-        xc2.toNextChar(3);
-        xc3.toNextChar(5);
-        assertEquals(false, xc2.isAtSamePositionAs(xc3));
-        assertEquals(false, xc3.isAtSamePositionAs(xc1));
-
-
-//setting zip value through the object . once the set occurs comparing postions of cursors.
-        PurchaseOrderType pt = pod.getPurchaseOrder();
-        USAddress usa = pt.getShipTo();
-        usa.setZip(new BigDecimal(500));
-
-        //System.out.println(usa.getZip());
-
-        assertEquals(true, xc2.isAtSamePositionAs(xc3));
-        assertEquals(true, xc3.isAtSamePositionAs(xc1));
-
-        xc1.toPrevChar(3);
-        xc2.toPrevChar(3);
-
-        //System.out.println(xc1.getChars());
-        assertEquals(xc1.getChars(), xc2.getChars());
-        assertEquals(1, xc3.comparePosition(xc1));
-
-//inserting an element through the cursor under zip and then doing a set of a valid value through object..
-
-        xc1.insertElementWithText("foo", "text");
-        toPrevTokenOfType(xc1, TokenType.START);
-        toPrevTokenOfType(xc1, TokenType.START);
-        //System.out.println("here" + xc1.getTextValue());
-
-        toNextTokenOfType(xc1, TokenType.START);
-
-        xc1.toNextChar(2);
-        usa.setZip(new BigDecimal(90852));
-
-        assertEquals(true, xc2.isAtSamePositionAs(xc3));
-        assertEquals(true, xc3.isAtSamePositionAs(xc1));
-        xc1.toPrevChar(5);
-        assertEquals("90852", xc1.getChars());
-
-
-        xc1.dispose();
-        xc2.dispose();
-        xc3.dispose();
-
-
-    }
-
-
-    public class Bookmark0 extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark0(String text) {
-            this.text = text;
-        }
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CursorVsObjectAttributeTest.java b/v2/test/src/xmlcursor/detailed/CursorVsObjectAttributeTest.java
deleted file mode 100755
index 646c30b..0000000
--- a/v2/test/src/xmlcursor/detailed/CursorVsObjectAttributeTest.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import tools.util.JarUtil;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument.CarLocationMessage;
-
-import javax.xml.namespace.QName;
-
-
-/**
- *
- *
- */
-public class CursorVsObjectAttributeTest extends TestCase {
-    public CursorVsObjectAttributeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CursorVsObjectAttributeTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testAttributeSet() throws Exception {
-        CarLocationMessageDocument clmDoc = CarLocationMessageDocument.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        XmlCursor xc = clmDoc.newCursor();
-        xc.toFirstChild();
-        CarLocationMessage clm = (CarLocationMessage) xc.getObject();
-
-        clm.setVersion("XyZ");
-        QName name = new QName("Version");
-        assertEquals("XyZ", xc.getAttributeText(name));
-        xc.setAttributeText(name, "012");
-        assertEquals("012", clm.getVersion());
-    }
-
-    public void testAttributeUnsetRemove() throws Exception {
-        CarLocationMessageDocument clmDoc =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                        JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        XmlCursor xc = clmDoc.newCursor();
-        xc.toFirstChild();
-        CarLocationMessage clm = (CarLocationMessage) xc.getObject();
-        QName name = new QName("Version");
-        assertEquals("CLM", xc.getAttributeText(name));
-        clm.unsetVersion();
-        assertEquals(null, xc.getAttributeText(name));
-        xc.setAttributeText(name, "012");
-        assertEquals("012", clm.getVersion());
-        xc.removeAttribute(name);
-        assertEquals(null, clm.getVersion());
-    }
-
-    public void testAttributeInsert() throws Exception {
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.LOAD_STRIP_WHITESPACE, "");
-
-        CarLocationMessageDocument clmDoc =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                        JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM), map);
-        XmlCursor xc = clmDoc.newCursor();
-        xc.toFirstChild();
-        CarLocationMessage clm = (CarLocationMessage) xc.getObject();
-        QName name = new QName("Version");
-        assertEquals("CLM", xc.getAttributeText(name));
-        clm.unsetVersion();
-        assertEquals(null, xc.getAttributeText(name));
-        xc.toFirstChild();
-        assertEquals(TokenType.START, xc.currentTokenType());
-        xc.insertAttributeWithValue(name, "012");
-        assertEquals("012", clm.getVersion());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CursorVsObjectInsertRemoveTest.java b/v2/test/src/xmlcursor/detailed/CursorVsObjectInsertRemoveTest.java
deleted file mode 100755
index 5708697..0000000
--- a/v2/test/src/xmlcursor/detailed/CursorVsObjectInsertRemoveTest.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.Common;
-
-import tools.util.JarUtil;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.EventStatusDocument.EventStatus;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-// BUGBUG 19177 these class types should be generated by scomp
-//import org.tranxml.tranXML.version40.PostalCode;
-//import org.tranxml.tranXML.version40.CountryCode;
-
-
-/**
- *
- *
- */
-public class CursorVsObjectInsertRemoveTest extends TestCase {
-    public CursorVsObjectInsertRemoveTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CursorVsObjectInsertRemoveTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testInsertRemove() throws Exception {
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                        JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        assertNotNull(clm);
-        XmlCursor xc = clm.newCursor();
-        xc.toFirstChild();
-        xc.toFirstChild();
-        xc.toNextSibling();
-        xc.toNextSibling();
-        assertEquals("EventStatus", xc.getName().getLocalPart());
-        EventStatus eventStatus = (EventStatus) xc.getObject();
-        assertNotNull("Expected non-null EventStatus object", eventStatus);
-        String sEventStatusText = xc.getTextValue();
-        GeographicLocation glDest = eventStatus.getDestination().getGeographicLocation();
-        assertNotNull("Expected non-null GeographicLocation object", glDest);
-        glDest.setPostalCode("90210");
-        glDest.setCountryCode("US");
-        XmlCursor xcPostalCode = glDest.xgetPostalCode().newCursor();
-        XmlCursor xcCountryCode = glDest.xgetCountryCode().newCursor();
-        try {
-            assertEquals("90210", xcPostalCode.getTextValue());
-            assertEquals("US", xcCountryCode.getTextValue());
-            xcPostalCode.setTextValue("90310");
-            xcPostalCode.toNextChar(2);
-            assertEquals("90310", glDest.getPostalCode());
-            eventStatus.getDestination().getGeographicLocation().unsetPostalCode();
-            assertEquals(TokenType.START, xcPostalCode.currentTokenType());
-            assertEquals("CountryCode", xcPostalCode.getName().getLocalPart());
-            xcCountryCode.removeXml();
-            assertEquals(sEventStatusText, xc.getTextValue());
-        } finally {
-            xcPostalCode.dispose();
-            xcCountryCode.dispose();
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/CursorVsObjectSetGetTextTest.java b/v2/test/src/xmlcursor/detailed/CursorVsObjectSetGetTextTest.java
deleted file mode 100755
index f3dbd5e..0000000
--- a/v2/test/src/xmlcursor/detailed/CursorVsObjectSetGetTextTest.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import tools.util.JarUtil;
-import xmlcursor.common.Common;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-import org.tranxml.tranXML.version40.CityNameDocument.CityName;
-
-
-/**
- *
- *
- */
-public class CursorVsObjectSetGetTextTest extends TestCase {
-    public CursorVsObjectSetGetTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CursorVsObjectSetGetTextTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testSetGet() throws Exception {
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                        JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        assertNotNull(clm);
-        XmlCursor xc = clm.newCursor();
-        GeographicLocation[] aGL = new GeographicLocation[3];
-
-        try {
-            xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                          "$this//GeographicLocation");
-            xc.toNextSelection();
-            for (int i = 0; i < 3; i++) {
-                aGL[i] = (GeographicLocation) xc.getObject();
-                assertEquals("DALLAS", aGL[i].getCityName().getStringValue());
-                xc.toNextSelection();
-
-                CityName cname = aGL[i].getCityName();
-                cname.setStringValue("SEATTLE");
-                aGL[i].setCityName(cname);
-            }
-            xc.toStartDoc();
-            xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                          "$this//GeographicLocation");
-
-            xc.toNextSelection();
-
-            for (int i = 0; i < 3; i++) {
-                assertEquals(true, xc.toFirstChild());
-                assertEquals("SEATTLE", xc.getTextValue());
-                xc.setTextValue("PORTLAND");
-                xc.toNextSelection();
-            }
-
-            for (int i = 0; i < 3; i++) {
-                assertEquals("PORTLAND", aGL[i].getCityName().getStringValue());
-            }
-        } finally {
-            xc.dispose();
-        }
-    }
-
-
-    public class Bookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public Bookmark(String text) {
-            this.text = text;
-        }
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/GetTextTest.java b/v2/test/src/xmlcursor/detailed/GetTextTest.java
deleted file mode 100755
index 5b42744..0000000
--- a/v2/test/src/xmlcursor/detailed/GetTextTest.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class GetTextTest extends BasicCursorTestCase {
-    public GetTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetTextTest.class);
-    }
-
-    public void testGetTextFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toEndDoc();
-        m_xc.toPrevToken();
-        assertEquals(TokenType.END, m_xc.currentTokenType());
-        //assertEquals(null, m_xc.getTextValue());
-
-        try {
-            m_xc.getTextValue();
-            fail("Expecting Illegal State Exception");
-        } catch (IllegalStateException ie) {
-        }
-
-    }
-
-    public void testGetTextFromPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        assertEquals("type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromCOMMENT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_COMMENT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        assertEquals(" comment text ", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        //assertEquals(null, m_xc.getTextValue());
-
-        try {
-            m_xc.getTextValue();
-            fail("Expecting Illegal State Exception");
-        } catch (IllegalStateException ie) {
-        }
-
-    }
-
-    public void testGetTextFromENDDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ENDDOC);
-        //assertEquals(null, m_xc.getTextValue());
-        try {
-            m_xc.getTextValue();
-            fail("Expecting Illegal State Exception");
-        } catch (IllegalStateException ie) {
-        }
-
-    }
-
-
-    public void testGetTextFromTEXT() throws Exception {
-        //  m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-
-        m_xo = XmlObject.Factory.parse("<foo>text</foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("text", m_xc.getChars());
-	assertEquals("text", m_xc.getTextValue());
-
-	m_xc.toNextChar(2);
-	assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-        assertEquals("xt", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromSTART_NotNested() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//FleetID");
-
-
-        m_xc.toNextSelection();
-        assertEquals("FLEETNAME", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromSTART_Nested() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//EventStatus/EquipmentStructure");
-        m_xc.toNextSelection();
-        assertEquals("        GATX     123456L   ", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromSTART_TextAferEND() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT_EXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        assertEquals("text", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromSTART_TextAferEND_WS() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_WS_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        assertEquals(" text ", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromATTR_Nested() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//billTo");
-        m_xc.toNextSelection();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        assertEquals("US", m_xc.getTextValue());
-    }
-
-    public void testGetTextFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT_EXT);
-        m_xc = m_xo.newCursor();
-        assertEquals("textextended", m_xc.getTextValue());
-    }
-
-    public void testGetTextEmptyElementSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        assertEquals("", m_xc.getTextValue());
-    }
-
-    public void testGetTextWhitespaceOnlyFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_WS_ONLY);
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("   ", m_xc.getTextValue());
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/GetTextValueTest.java b/v2/test/src/xmlcursor/detailed/GetTextValueTest.java
deleted file mode 100755
index ec2b7f6..0000000
--- a/v2/test/src/xmlcursor/detailed/GetTextValueTest.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.*;
-
-
-/**
- *
- *
- */
-public class GetTextValueTest extends BasicCursorTestCase {
-
-    String sDoc = Common.XML_FOO_NS_PREFIX;
-
-    public GetTextValueTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(GetTextValueTest.class);
-    }
-
-    /**
-     * Depth first concatenation of all text leaves
-     */
-    public void testNormalCase() {
-        String sExpected = "  32.18";
-        char[] buffer = new char[100];
-        int nCopied = m_xc.getTextValue(buffer, 0, 100);
-        assertEquals(sExpected.length(), nCopied);
-        assertEquals(sExpected, new String(buffer).substring(0, nCopied));
-    }
-
-    public void testGetNull() {
-        try {
-            m_xc.getTextValue(null, 0, 10);
-            fail("Buffer was Null");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    public void testNegativeOffset() {
-        char[] buffer = new char[100];
-        try {
-            m_xc.getTextValue(buffer, -1, 100);
-            fail("Offset < 0");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-
-    }
-
-    public void testNonZeroOffset() {
-        String sExpected = "T\0  32.18";
-        char[] buffer = new char[10];
-        buffer[0] = 'T';
-        int nOffset = 2;
-        int nCopied = m_xc.getTextValue(buffer, 2, 100);
-        assertEquals(7, nCopied);
-        assertEquals(sExpected,
-                new String(buffer).substring(0, nCopied + nOffset));
-        assertEquals("",
-                new String(buffer).substring(nOffset + nCopied, buffer.length)
-                .trim());
-
-    }
-
-    public void testLargeOffset() {
-        char[] buffer = new char[100];
-        try {
-            m_xc.getTextValue(buffer, 101, 1);
-            fail("Offset Past end");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    //charCount<=0: should be a noop
-    public void testNegativeCharCount() {
-        char[] buffer = new char[100];
-        try {
-            int nCount = m_xc.getTextValue(buffer, 0, -1);
-            if (nCount > 0) fail("Negative Char Cnt");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    public void testZeroCharCount() {
-        char[] buffer = new char[10];
-        int nCopied = m_xc.getTextValue(buffer, 0, 0);
-        assertEquals(0, nCopied);
-        assertEquals("", new String(buffer).trim());
-    }
-
-    public void testLargeCharCount() {
-        String sExpected = "  32.18";
-        char[] buffer = new char[200];
-        int nCharCount = 300;
-        assertEquals(true, sDoc.length() < nCharCount);
-        assertEquals(false, buffer.length >= nCharCount);
-        int nCopied = m_xc.getTextValue(buffer, 0, nCharCount);
-        assertEquals(sExpected.length(), nCopied);
-        assertEquals(sExpected, new String(buffer).substring(0, nCopied));
-    }
-
-    //offset+selection>buffer
-    public void testSelectionPastEnd() {
-        String sExpected = " 32";
-        char[] buffer = new char[100];
-        int nCopied = m_xc.getTextValue(buffer, 97, 4);
-        assertEquals(sExpected.length(), nCopied);
-        assertEquals(sExpected, new String(buffer).substring(97, nCopied));
-        assertEquals("", new String(buffer).substring(0, 97));
-    }
-
-
-    //End,Enddoc,Namespace should return 0 as per spec
-    public void testGetNonTextElement() {
-        char[] buffer = new char[100];
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        int nCopied = m_xc.getTextValue(buffer, 0, 100);
-        assertEquals("", new String(buffer));
-        assertEquals(0, nCopied);
-
-        toNextTokenOfType(m_xc, TokenType.END);
-        nCopied = m_xc.getTextValue(buffer, 0, 100);
-        assertEquals("", new String(buffer));
-        assertEquals(0, nCopied);
-
-        toNextTokenOfType(m_xc, TokenType.ENDDOC);
-        nCopied = m_xc.getTextValue(buffer, 0, 100);
-        assertEquals("", new String(buffer));
-        assertEquals(0, nCopied);
-
-    }
-
-    //test text of comment, PI or Attr
-    public void testCommentPIAttr() throws Exception {
-        String sExpected = "the 'price' element's namespace is http://ecommerce.org/schema";
-        int nSize = sExpected.length();
-        char[] buffer = new char[nSize + 1];
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        int nCopied = m_xc.getTextValue(buffer, 0, nSize);
-        assertEquals(sExpected, new String(buffer).substring(0, nCopied));
-        assertEquals(sExpected.length(), nCopied);
-
-        String sTestXml = "<?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><foo at0=\"value0\">text</foo>";
-        m_xc = XmlObject.Factory.parse(sTestXml).newCursor();
-        nCopied = m_xc.getTextValue(buffer, 0, nSize);
-        //assert attributes are skipped
-        assertEquals("text", new String(buffer).substring(0, nCopied));
-        assertEquals("text".length(), nCopied);
-
-        buffer = new char[100];
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        nCopied = m_xc.getTextValue(buffer, 0, 100);
-        assertEquals("value0", new String(buffer).substring(0, nCopied));
-        assertEquals("value0".length(), nCopied);
-
-        sExpected =
-                "xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"";
-        toPrevTokenOfType(m_xc, TokenType.PROCINST);
-        nCopied = m_xc.getTextValue(buffer, 0, nSize);
-        assertEquals(sExpected, new String(buffer).substring(0, nCopied));
-        assertEquals(sExpected.length(), nCopied);
-
-    }
-
-    public void setUp() throws Exception {
-        m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-    }
-}
diff --git a/v2/test/src/xmlcursor/detailed/InsertAttributeTest2.java b/v2/test/src/xmlcursor/detailed/InsertAttributeTest2.java
deleted file mode 100755
index cc67619..0000000
--- a/v2/test/src/xmlcursor/detailed/InsertAttributeTest2.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class InsertAttributeTest2 extends BasicCursorTestCase {
-
-
-    static String sDoc=Common.XML_FOO_TEXT;
-
-    public InsertAttributeTest2(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertAttributeTest2.class);
-    }
-
-
-
-    public void testNormalCase(){
-	for (int i=0;i<50;i++){
-	    m_xc.insertAttribute("at"+i,"com.bea.foo");
-	    System.out.println(i);
-	}
-	toPrevTokenOfType(m_xc, TokenType.ATTR);
-
-	int i=0;
-	do{
-	    i++;System.out.println(m_xc.xmlText());
-	}while(m_xc.toPrevAttribute());
-
-	assertEquals(i,50);
-    }
-
-    public void testIllegalCursorPos(){
-	//position curor at text
-	toNextTokenOfType(m_xc,XmlCursor.TokenType.END);
-	try{
-	    m_xc.insertAttribute("at","com.bea.foo");
-	    fail("Shoild not be able to insert at attr here ");
-	}catch(Exception e){}
-    }
-    /**
-       No xml tag can contain 2 attrib such that:
-       1. have identical names, or
-       2. have qualified names with the same local part and with prefixes which have been bound to namespace names that are identical.
-
-       ** According to Eric he will perform the insert but
-       * check upon serialization that only the first token with a given name is printed
-       */
-    public void testLocalNameCollision(){
-	m_xc.insertAttributeWithValue("at","v1");
-	m_xc.insertAttributeWithValue("at","v2");
-	toPrevTokenOfType(m_xc,TokenType.START);
-	m_xc.toFirstAttribute();
-	assertEquals(m_xc.getName().getLocalPart(),"at");
-	assertEquals(true, m_xc.toNextAttribute());
-	assertEquals(m_xc.getName().getLocalPart(),"at");
-
-
-    }
-
-    /**
-     * The idea was to try to force the following:
-     * <test xmlns:n1="foo.org" xmlns:n2="foo.org"><bad n1:a="foo" n2:a="bar"/>
-     * which would be illegal
-     * This test case is not necessary: The implementation re-writes this as
-     * xmlns:com="..." and com:at0,  com:at1
-     * it seems impossible to force a binding of the same URI with two
-     * different prefixes
-     */
-    /*
-      public void testUriCollision(){
-      m_xc.insertAttribute("at0","com.bea.foo");
-      try{
-      m_xc.insertAttribute("at1","com.bea.foo");
-      toPrevTokenOfType(m_xc,TokenType.START);
-      System.out.println(m_xc.xmlText());
-      fail("Should not be able to insert at attr with colliding name ");
-      }catch(Exception e){}
-      }
-    */
-    public void testUriLocalNameOK(){
-	m_xc.insertAttribute("at","");
-	m_xc.insertAttribute("at","com.bea.foo");
-	toPrevTokenOfType(m_xc,XmlCursor.TokenType.START);
-	m_xc.toFirstAttribute();
-	int i=1;
-	System.out.println(m_xc.xmlText());
-	while(m_xc.toNextAttribute()) i++;
-	assertEquals(i,2);
-    }
-
-    public void testUriNull(){
-	m_xc.insertAttribute("at",null);
-	toPrevTokenOfType(m_xc, TokenType.ATTR);
-	assertEquals(m_xc.getName(),new QName("at"));
-    }
-    public void testLocalnameNull(){
-	try{
-	    m_xc.insertAttribute(null,"");
-	    fail("Null Localname");
-	}catch(Exception e){}
-    }
-    public void testUriEmpty(){
-	m_xc.insertAttribute("myat","");
-	toPrevTokenOfType(m_xc, TokenType.START);
-	m_xc.toFirstAttribute();
-	assertEquals(m_xc.getName(),new QName(null,"myat"));
-    }
-    public void testLocalnameEmpty(){
-	try{
-	    m_xc.insertAttribute("","");
-	    fail("No Localname");
-	}catch(Exception e){}
-    }
-
-    public void testInsertAttributeWithValue(){
-	StringBuffer sb=new StringBuffer();
-	String value0="test"+"\n\t\r";
-	String value1="'QuotedText'";
-	String value2="\"QuotedText2\"";
-
-	int nStressBound=20000;//Integer.MAX_VALUE
-	for (int i=0;i<nStressBound;i++)
-	    sb.append('a');
-	m_xc.insertAttributeWithValue("at0",value0);
-	m_xc.insertAttributeWithValue("at1",value1);
-	m_xc.insertAttributeWithValue("at2",value2);
-	m_xc.insertAttributeWithValue("at3",sb.toString());
-
-	toPrevTokenOfType(m_xc,TokenType.START);
-
-	assertEquals(m_xc.getAttributeText(new QName("at3")).length(),nStressBound);
-	assertEquals(m_xc.getAttributeText(new QName("at2")),value2);
-
-	assertEquals(m_xc.getAttributeText(new QName("at1")),value1);
-	assertEquals(m_xc.getAttributeText(new QName("at0")),value0);
-
-    }
-
-    public void testInsertAttributeWithValueNull(){
-	m_xc.insertAttributeWithValue("at0",null);
-	assertEquals(m_xc.getAttributeText(new QName("at0")),null);
-    }
-
-
-    public void setUp()throws Exception{
-	m_xc= XmlObject.Factory.parse(sDoc).newCursor();
-	toNextTokenOfType(m_xc,XmlCursor.TokenType.TEXT);//prepare for atts
-    }
-
-
-    public static void main(String[] rgs){
-	try{
-	    InsertAttributeTest2 t= (new InsertAttributeTest2(""));
-	    t.setUp();
-	    t.testInsertAttributeWithValue();
-
-	}catch (Exception e){
-	    System.err.println("Error "+e.getMessage());
-	    e.printStackTrace();
-	}
-    }
-}
diff --git a/v2/test/src/xmlcursor/detailed/InsertNamespaceTest.java b/v2/test/src/xmlcursor/detailed/InsertNamespaceTest.java
deleted file mode 100755
index 352c115..0000000
--- a/v2/test/src/xmlcursor/detailed/InsertNamespaceTest.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.util.*;
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class InsertNamespaceTest extends BasicCursorTestCase {
-    public InsertNamespaceTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(InsertNamespaceTest.class);
-    }
-
-    public void testInsertNamespaceAfterSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertNamespace("prefix", "value");
-        m_xc.toStartDoc();
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-        assertEquals("<foo xmlns:prefix=\"value\" attr0=\"val0\" attr1=\"val1\">text</foo>", m_xc.xmlText(map));
-    }
-
-    public void testInsertNamespaceAfterATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.insertNamespace("prefix", "value");
-        m_xc.toStartDoc();
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-        assertEquals("<foo xmlns:prefix=\"value\" attr0=\"val0\" attr1=\"val1\">text</foo>", m_xc.xmlText(map));
-    }
-
-    public void testInsertNamespaceInsideTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getChars());
-        try {
-            m_xc.insertNamespace("prefix", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertTrue(true);
-    }
-
-    public void testInsertNamespaceFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_2ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.insertNamespace("prefix", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertTrue(true);
-    }
-
-    public void testInsertNamespaceAfterPROCINST() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_PROCINST);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        m_xc.toNextToken();
-        try {
-            m_xc.insertNamespace("prefix", "value");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-        assertTrue(true);
-    }
-
-    public void testInsertNamespaceAfterNAMESPACE() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_NS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-        m_xc.toNextToken();
-        m_xc.insertNamespace("prefix", "value");
-        m_xc.toStartDoc();
-        assertEquals("<foo xmlns=\"http://www.foo.org\" xmlns:prefix=\"value\"/>", m_xc.xmlText());
-    }
-
-    public void testInsertDuplicateNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.insertNamespace("prefix", "http://www.foo.org");
-        m_xc.insertNamespace("prefix", "http://www.foo.org");
-        m_xc.toStartDoc();
-        assertEquals("<foo xmlns:prefix=\"http://www.foo.org\">text</foo>", m_xc.xmlText());
-    }
-
-    public void testInsertNamespaceWithNullPrefix() throws Exception {
-        // According to Eric V...  This test is not valid
-        // Eric's comments:
-        // is erroneous.  <foo> must be in no namespace.
-        // By setting the default namespace to "http://www.foo.org"
-        // and having it saved out as such, <foo> would be in that
-        // namespace.  So, the saver does not save out that namespace
-        // (note that mapping a prefix to no namespace "" is illegal).
-
-
-        // Below is the original code.
-        // m_xo = XmlObject.Factory.parse(Common.XML_FOO,
-        // XmlOptions.AUTOTYPE_DOCUMENT_LAX);
-        // m_xc = m_xo.newCursor();
-        // toNextTokenOfType(m_xc, TokenType.END);
-        // m_xc.insertNamespace(null, "http://www.foo.org");
-        // m_xc.toStartDoc();
-        // assertEquals("<foo xmlns=\"http://www.foo.org\"/>", m_xc.xmlText());
-    }
-
-    public void testInsertNamespaceWithNullValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-
-        // according to Eric V, this next line should throw an IllegalArgumentException.
-        // -> m_xc.insertNamespace("prefix", null);
-
-        try {
-            m_xc.insertNamespace("prefix", null);
-            assertTrue(false);  // should NOT get here.
-        } catch (IllegalArgumentException e) {
-            assertTrue(true);
-        }
-
-        // OLD CODE:
-        // m_xc.insertNamespace("prefix", null);
-        // m_xc.toStartDoc();
-        // assertEquals("<foo xmlns:prefix=\"\"/>", m_xc.xmlText());
-    }
-
-    public void testInsertEmptyNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.END);
-        try {
-            m_xc.insertNamespace("", "");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException iae) {
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/MoveXmlTest2.java b/v2/test/src/xmlcursor/detailed/MoveXmlTest2.java
deleted file mode 100755
index b3e111e..0000000
--- a/v2/test/src/xmlcursor/detailed/MoveXmlTest2.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.*;
-
-
-
-/**
- *
- *
- */
-public class MoveXmlTest2 extends BasicCursorTestCase{
-
-    static String sTestXml="<bk:book xmlns:bk='urn:loc.gov:books' at0=\"value0\"><!--BOOK COMMENT-->text0<author at0=\"v0\" at1=\"value1\"/></bk:book>";
-    static String sTargetXml="<target></target>";
-    static XmlCursor m_xc1;
-     public MoveXmlTest2(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MoveXmlTest2.class);
-    }
-
-
-    public void testNormalCase(){
-	String sExpectedTrg1="<!--BOOK COMMENT--><target/>";
-	String sExpectedSrc1="<bk:book at0=\"value0\" xmlns:bk=\"urn:loc.gov:books\">text0<author at0=\"v0\" at1=\"value1\"/></bk:book>";
-
-
-	toNextTokenOfType(m_xc1,TokenType.START);
-	toNextTokenOfType(m_xc,TokenType.COMMENT);
-	m_xc.moveXml(m_xc1);
-	toPrevTokenOfType(m_xc,TokenType.STARTDOC);
-	toPrevTokenOfType(m_xc1,TokenType.STARTDOC);
-	assertEquals(m_xc.xmlText(),sExpectedSrc1);
-	assertEquals(m_xc1.xmlText(),sExpectedTrg1);
-
-
-	sExpectedTrg1="<!--BOOK COMMENT--><target xmlns:bk=\"urn:loc.gov:books\"/>";
-	sExpectedSrc1="<urn:book at0=\"value0\" xmlns:urn=\"urn:loc.gov:books\">text0<author at0=\"v0\" at1=\"value1\"/></urn:book>";
-	toNextTokenOfType(m_xc1,TokenType.END);
-	toNextTokenOfType(m_xc, TokenType.NAMESPACE);
-	m_xc.moveXml(m_xc1);
-	toPrevTokenOfType(m_xc,TokenType.STARTDOC);
-	toPrevTokenOfType(m_xc1,TokenType.STARTDOC);
-
-	assertEquals(m_xc1.xmlText(),sExpectedTrg1);
-	assertEquals(m_xc.xmlText(),sExpectedSrc1);
-
-
-    }
-
-    //to here at END
-    public void testMoveNoop(){
-
-	toNextTokenOfType(m_xc1,TokenType.START);
-	toNextTokenOfType(m_xc,TokenType.END);
-	assertEquals(false,m_xc.moveXml(m_xc1));
-
-	toPrevTokenOfType(m_xc,TokenType.STARTDOC);
-	toPrevTokenOfType(m_xc1,TokenType.STARTDOC);
-
-	toNextTokenOfType(m_xc1,TokenType.START);
-	toNextTokenOfType(m_xc,TokenType.ENDDOC);
-	assertEquals(false,m_xc.moveXml(m_xc1));
-    }
-
-    public void testInvalidToCursorPos(){
-	//position the cursor within a tag <a <movedXML/>...</a>
-	toNextTokenOfType(m_xc,TokenType.START);//m_xc on book at0
-	assertEquals(true,m_xc.toFirstAttribute()); //at0 in book
-	toNextTokenOfType(m_xc1,TokenType.START);
-	try{
-	    if(m_xc1.moveXml(m_xc)){
-
-		fail("Should not be able to move the XML here ");
-	    }
-	}catch(Exception e){
-	    System.err.println(e.getMessage());
-	}
-    }
-
-    public void testMovedAttrNameCollision()throws Exception{
-
-	m_xc1=XmlObject.Factory.parse(sTestXml).newCursor();
-	toNextTokenOfType(m_xc,TokenType.START);//m_xc on book at0
-	toNextTokenOfType(m_xc1,TokenType.START);
-	toNextTokenOfType(m_xc1,TokenType.START);
-	//toNextTokenOfType(m_xc1,TokenType.END);//to author
-	assertEquals(true,m_xc1.toFirstAttribute());
-	assertEquals(true,m_xc.toFirstAttribute()); //at0 in book
-	if (m_xc.moveXml(m_xc1)){
-	    toPrevTokenOfType(m_xc1,TokenType.START);
-	    m_xc1.toFirstAttribute();
-	    assertEquals(m_xc1.getName().getLocalPart(),"at0");
-	    assertEquals(true, m_xc1.toNextAttribute());
-	    assertEquals(m_xc1.getName().getLocalPart(),"at0");
-	}
-	m_xc1.dispose();
-    }
-
-    /**
-     * attempt to create an XML forest:
-     * seems to be illegal semantics judging from beginElement
-     * $NOTE: legal here
-     */
-    public void testInvalidXml(){
-	toNextTokenOfType(m_xc,TokenType.START);
-	toNextTokenOfType(m_xc1,TokenType.START);
-	assertEquals(true,m_xc.moveXml(m_xc1));
-    }
-
-
-    public void testNull(){
-	toNextTokenOfType(m_xc,TokenType.START);
-	try{
-	    m_xc.moveXml(null);
-	    fail("toHere null");
-	}catch(Exception e){
-	    System.err.println(e.getMessage());
-	}
-    }
-
-
-    public void testSelf(){
-	String sExpectedResult=m_xc.xmlText();
-	toNextTokenOfType(m_xc,TokenType.START);
-	try{
-
-	    if(m_xc.moveXml(m_xc)){
-		m_xc.toStartDoc();
-		assertEquals(sExpectedResult,m_xc.xmlText());
-	    }
-	}catch(Exception e){
-	    System.err.println(e.getMessage());
-	}
-    }
-
-    public void setUp() throws Exception{
-	m_xc=XmlObject.Factory.parse(sTestXml).newCursor();
-	m_xc1=XmlObject.Factory.parse(sTargetXml).newCursor();
-    }
-    public void tearDown(){
-	super.tearDown();
-	if (m_xc1!=null){
-	    m_xc1.dispose();
-	    m_xc1=null;
-	}
-    }
-
-     public static void main(String[] rgs){
-      try{
-	   MoveXmlTest2 t=new MoveXmlTest2("");
-	   t.setUp();
-	   t.testSelf();
-	  }catch (Exception e){
-	    System.err.println("Error "+e.getMessage());
-	    e.printStackTrace();
-	}
-  }
-
-
-}
diff --git a/v2/test/src/xmlcursor/detailed/MultipleCopyFromCursorTest.java b/v2/test/src/xmlcursor/detailed/MultipleCopyFromCursorTest.java
deleted file mode 100755
index bd28262..0000000
--- a/v2/test/src/xmlcursor/detailed/MultipleCopyFromCursorTest.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*   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.
- */
-
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-
-import xmlcursor.common.*;
-
-import tools.util.JarUtil;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-import org.tranxml.tranXML.version40.CodeList309;
-import org.tranxml.tranXML.version40.LocationIdentifierDocument.LocationIdentifier;
-
-
-/**
- *
- *
- */
-public class MultipleCopyFromCursorTest extends TestCase {
-    public MultipleCopyFromCursorTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MultipleCopyFromCursorTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testMultipleCopy() throws Exception {
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                        JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        assertNotNull(clm);
-        XmlCursor xc = clm.newCursor();
-        XmlCursor[] aCursors = new XmlCursor[3];
-        try {
-            xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                          "$this//GeographicLocation");
-            xc.toNextSelection();
-            for (int i = 0; i < 3; i++) {
-                aCursors[i] = xc.newCursor();
-                xc.toNextSelection();
-            }
-            xc.toStartDoc();
-            xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                          "$this//GeographicLocation");
-            xc.toNextSelection();
-            aCursors[0].toLastChild();
-            assertEquals("TX", aCursors[0].getTextValue());
-
-            aCursors[0].toNextToken();
-            aCursors[0].toNextToken();
-            aCursors[0].toNextToken();
-            aCursors[0].toNextToken();
-            assertEquals(TokenType.END, aCursors[0].currentTokenType());
-
-            aCursors[0].insertElement("LocationIdentifier",
-                                      "http://www.tranxml.org/TranXML/Version4.0");
-            aCursors[0].insertAttributeWithValue("Qualifier", "FR");
-            aCursors[0].insertElementWithText("CountrySubdivisionCode",
-                                              "http://www.tranxml.org/TranXML/Version4.0",
-                                              "xyz");
-            aCursors[0].toCursor(xc);
-            GeographicLocation gl = (GeographicLocation) aCursors[0].getObject();
-            assertEquals(true, gl.validate());
-
-            assertEquals("DALLAS", gl.getCityName().getStringValue());
-            assertEquals("TX", gl.getStateOrProvinceCode());
-            LocationIdentifier li = gl.getLocationIdentifier();
-            assertNotNull("Cursor0: LocationIdentifier unexpectedly null", li);
-            assertEquals(CodeList309.FR, gl.getLocationIdentifier().getQualifier());
-            assertEquals("xyz", gl.getCountrySubdivisionCode());
-
-
-            for (int i = 1; i < 3; i++) {
-                aCursors[i].removeXml();
-                aCursors[0].copyXml(aCursors[i]);
-                // must move to PrevElement to get to the START of the copied section.
-                aCursors[i].toPrevSibling();
-
-                gl = (GeographicLocation) aCursors[i].getObject();
-
-                assertEquals("DALLAS", gl.getCityName().getStringValue());
-                assertEquals("TX", gl.getStateOrProvinceCode());
-                li = gl.getLocationIdentifier();
-                assertNotNull("Cursor " + i + ": LocationIdentifier unexpectedly null", li);
-                assertEquals(CodeList309.FR, gl.getLocationIdentifier().getQualifier());
-                assertEquals("xyz", gl.getCountrySubdivisionCode());
-            }
-
-        } finally {
-            xc.dispose();
-            for (int i = 0; i < 3; i++) {
-                aCursors[i].dispose();
-            }
-        }
-    }
-}
-
-
diff --git a/v2/test/src/xmlcursor/detailed/MultipleCopyTest.java b/v2/test/src/xmlcursor/detailed/MultipleCopyTest.java
deleted file mode 100755
index e4a4fed..0000000
--- a/v2/test/src/xmlcursor/detailed/MultipleCopyTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import xmlcursor.common.*;
-
-
-import tools.util.JarUtil;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-import org.tranxml.tranXML.version40.CodeList309;
-import org.tranxml.tranXML.version40.LocationIdentifierDocument.LocationIdentifier;
-
-
-/**
- *
- *
- */
-public class MultipleCopyTest extends TestCase {
-    public MultipleCopyTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MultipleCopyTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testMultipleCopy() throws Exception {
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        assertNotNull(clm);
-        XmlCursor xc = clm.newCursor();
-        XmlCursor[] aCursors = new XmlCursor[3];
-        try {
-            xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                          "$this//GeographicLocation");
-            xc.toNextSelection();
-
-            GeographicLocation gl = (GeographicLocation) xc.getObject();
-            for (int i = 0; i < 3; i++) {
-                aCursors[i] = xc.newCursor();
-                xc.toNextSelection();
-            }
-            LocationIdentifier li = gl.addNewLocationIdentifier();
-            li.setQualifier(CodeList309.FR);
-
-            gl.setLocationIdentifier(li);
-            assertEquals(CodeList309.FR, gl.getLocationIdentifier().getQualifier());
-
-            gl.setCountrySubdivisionCode("xyz");
-
-            for (int i = 1; i < 3; i++) {
-                aCursors[i].removeXml();
-                aCursors[0].copyXml(aCursors[i]);
-                // must move to PrevElement to get to the START of the copied section.
-                aCursors[i].toPrevSibling();
-
-                gl = (GeographicLocation) aCursors[i].getObject();
-
-                assertEquals("DALLAS", gl.getCityName().getStringValue());
-                assertEquals("TX", gl.getStateOrProvinceCode());
-                assertEquals(CodeList309.FR, gl.getLocationIdentifier().getQualifier());
-                assertEquals("xyz", gl.getCountrySubdivisionCode());
-            }
-        } finally {
-            xc.dispose();
-            for (int i = 0; i < 3; i++) {
-                aCursors[i].dispose();
-            }
-        }
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/MultipleCursorSetTest.java b/v2/test/src/xmlcursor/detailed/MultipleCursorSetTest.java
deleted file mode 100755
index bfebbb8..0000000
--- a/v2/test/src/xmlcursor/detailed/MultipleCursorSetTest.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlString;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class MultipleCursorSetTest extends TestCase {
-    public MultipleCursorSetTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(MultipleCursorSetTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testMultipleCursorSet() throws Exception {
-        XmlCursor xc = XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM)).newCursor();
-        xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                      "$this//EquipmentNumber");
-        xc.toNextSelection();
-        XmlString xs = (XmlString) xc.getObject();
-        assertEquals("123456", xs.getStringValue());
-        assertEquals(TokenType.TEXT, xc.toNextToken());
-        XmlCursor[] aCursors = new XmlCursor[6];
-        for (int i = 0; i < 6; i++) {
-            xc.toNextChar(1);
-            aCursors[i] = xc.newCursor();
-        }
-        for (int i = 0; i < 6; i++) {
-            for (int j = 0; j != i && j < 6; j++) {
-                assertEquals(false, aCursors[i].isAtSamePositionAs(aCursors[j]));
-            }
-        }
-        xs.setStringValue("XYZ");
-        for (int i = 0; i < 6; i++) {
-            for (int j = 0; j < 6; j++) {
-                assertEquals(true, aCursors[i].isAtSamePositionAs(aCursors[j]));
-            }
-            // System.out.println(aCursors[i].currentTokenType());
-            // assertEquals(null, aCursors[i].getTextValue());
-
-            try {
-
-                aCursors[i].getTextValue();
-                fail("Expecting IllegalStateException");
-            } catch (IllegalStateException e) {
-            }
-
-
-        }
-        assertEquals("XYZ", xs.getStringValue());
-
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/NamespaceForPrefixTest.java b/v2/test/src/xmlcursor/detailed/NamespaceForPrefixTest.java
deleted file mode 100755
index 9750316..0000000
--- a/v2/test/src/xmlcursor/detailed/NamespaceForPrefixTest.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlOptions;
-
-import java.util.Map;
-import java.util.HashMap;
-import javax.xml.namespace.QName;
-
-import java.util.Vector;
-
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-import java.net.URL;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-
-/**
- *
- *
- */
-public class NamespaceForPrefixTest extends BasicCursorTestCase {
-    public NamespaceForPrefixTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NamespaceForPrefixTest.class);
-    }
-
-    public void testNamespaceForPrefixFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals("uri1", m_xc.namespaceForPrefix("pre1"));
-        assertEquals("uri2", m_xc.namespaceForPrefix("pre2"));
-        assertEquals("uri3", m_xc.namespaceForPrefix("pre3"));
-    }
-
-    public void testNamespaceForPrefixFromSTARTDOCInvalid() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals(null, m_xc.namespaceForPrefix("pre4"));
-    }
-
-    public void testNamespaceForPrefixFromSTARTDOCNull() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals("uridefault", m_xc.namespaceForPrefix(null));
-    }
-
-    public void testNamespaceForPrefixFromSTARTDOCEmptyString() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals("uridefault", m_xc.namespaceForPrefix(""));
-    }
-
-    public void testNamespaceForPrefixFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("http://www.w3.org/2000/10/XMLSchema-instance",
-                     m_xc.namespaceForPrefix("xsi"));
-    }
-
-    public void testNamespaceForPrefixFromSTARTdefaultNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("http://www.tranxml.org/TranXML/Version4.0",
-                     m_xc.namespaceForPrefix(""));
-    }
-
-    public void testNamespaceForPrefixFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\"><bar attr0=\"val0\">text</bar></foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        m_xc.selectPath("default element namespace=\"nsa\"" + "$this//bar");
-        m_xc.toNextSelection();
-        m_xc.toFirstAttribute();
-
-        try {
-            m_xc.namespaceForPrefix(null);
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException iae) {
-        }
-        //assertEquals("nsa", m_xc.namespaceForPrefix(null));
-        // assertEquals("uri1", m_xc.namespaceForPrefix("pre1"));
-    }
-
-    public void testNamespaceForPrefixFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\"><bar attr0=\"val0\">text</bar></foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        System.out.println("i am here " + m_xc.currentTokenType());
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        toNextTokenOfType(m_xc, TokenType.END);
-        try {
-            m_xc.namespaceForPrefix(null);
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException iae) {
-        }
-        //  assertEquals("nsa", m_xc.namespaceForPrefix(null));
-        // assertEquals("uri1", m_xc.namespaceForPrefix("pre1"));
-    }
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/ObjectCursorInteractionTest.java b/v2/test/src/xmlcursor/detailed/ObjectCursorInteractionTest.java
deleted file mode 100755
index e903ec3..0000000
--- a/v2/test/src/xmlcursor/detailed/ObjectCursorInteractionTest.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/*   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.
- */
-
-
-package  xmlcursor.detailed;
-
-import junit.framework.*;
-
-import  xmlcursor.common.Common;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-
-import test.xbean.xmlcursor.location.LocationDocument.Location;
-import test.xbean.xmlcursor.location.LocationDocument;
-
-
-/**
- *
- *
- */
-public class ObjectCursorInteractionTest extends TestCase {
-    public ObjectCursorInteractionTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ObjectCursorInteractionTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testObjectNullEffectOnCursor() throws Exception {
-        String sNamespace = "";
-        String sXml =
-                "<loc:Location xmlns:loc=\"http://xbean.test/xmlcursor/Location\""
-                + sNamespace +
-                "><loc:CityName>DALLAS</loc:CityName><StateCode>TX</StateCode>" +
-                "</loc:Location>";
-
-       // LocationDocument locDoc = (LocationDocument) XmlObject.Factory.parse(sXml);
-        LocationDocument locDoc = LocationDocument.Factory.parse(sXml);
-        Location loc = locDoc.getLocation();
-        XmlCursor xc0 = loc.newCursor();
-        assertEquals("DALLAS", loc.getCityName());
-        loc = null;
-        System.gc();
-        try {
-            Thread.sleep(1000);
-            xc0.toFirstChild();
-            assertEquals("DALLAS", xc0.getTextValue());
-        }
-        catch (InterruptedException e) {
-        }
-        finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testCursorDisposalEffectOnObject() throws Exception {
-        String sNamespace = "xmlns:loc=\"http://xbean.test/xmlcursor/Location\"";
-        String sXml = "<loc:Location " + sNamespace + ">" +
-                "<loc:CityName>DALLAS</loc:CityName><loc:StateCode>TX</loc:StateCode></loc:Location>";
-        LocationDocument locDoc = LocationDocument.Factory.parse(
-                sXml);
-        assertEquals(true, locDoc.validate());
-        Location loc0 = locDoc.getLocation();
-        Location loc1 = locDoc.getLocation();
-        XmlCursor xc0 = loc0.newCursor();
-        XmlCursor xc1 = loc1.newCursor();
-
-        xc0.toFirstChild();
-        xc1.toFirstChild();
-        xc0.setTextValue("AUSTIN");
-        try {
-            assertEquals("AUSTIN", loc0.getCityName());
-            loc1.setCityName("SAN ANTONIO");
-            xc0.dispose();
-            assertEquals("SAN ANTONIO", xc1.getTextValue());
-            xc1.setTextValue("HOUSTON");
-            xc1.dispose();
-            assertEquals("HOUSTON", loc0.getCityName());
-        }
-        finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-    public void testObjectRefAssignmentEffectOnCursor() throws Exception {
-        String sXml0 =
-                "<loc:Location xmlns:loc=\"http://xbean.test/xmlcursor/Location\">" +
-                "<loc:CityName>DALLAS</loc:CityName>" +
-                "<loc:StateCode>TX</loc:StateCode>" +
-                "</loc:Location>";
-        String sXml1 =
-                "<loc:Location xmlns:loc=\"http://xbean.test/xmlcursor/Location\">" +
-                "<loc:PostalCode>90210</loc:PostalCode>" +
-                "<loc:CountryCode>US</loc:CountryCode>" +
-                "</loc:Location>";
-        LocationDocument locDoc0 = LocationDocument.Factory.parse(
-                sXml0);
-        Location loc0 = locDoc0.getLocation();
-        XmlCursor xc0 = loc0.newCursor();
-
-        LocationDocument locDoc1 = (LocationDocument) XmlObject.Factory.parse(
-                sXml1);
-        Location loc1 = locDoc1.getLocation();
-
-        assertEquals("DALLAS", loc0.getCityName());
-        assertEquals("TX", loc0.getStateCode());
-        assertEquals(null, loc0.getPostalCode());
-        assertEquals(null, loc0.getCountryCode());
-
-        loc0 = loc1;
-
-        assertEquals(null, loc0.getCityName());
-        assertEquals(null, loc0.getStateCode());
-        assertEquals("90210", loc0.getPostalCode());
-        assertEquals("US", loc0.getCountryCode());
-
-        try {
-            assertEquals(sXml0, xc0.xmlText());
-            xc0 = loc0.newCursor();
-            assertEquals(sXml1, xc0.xmlText());
-        }
-        finally {
-            xc0.dispose();
-        }
-    }
-
-    public void testCursorRefAssignmentEffectOnObject() throws Exception {
-        String sXml0 =
-                "<loc:Location xmlns:loc=\"http://xbean.test/xmlcursor/Location\">" +
-                "<loc:CityName>DALLAS</loc:CityName>" +
-                "<loc:StateCode>TX</loc:StateCode>" +
-                "</loc:Location>";
-        LocationDocument locDoc0 = LocationDocument.Factory.parse(
-                sXml0);
-        Location loc0 = locDoc0.getLocation();
-        XmlCursor xc0 = loc0.newCursor();
-
-        String sXml1 =
-                "<loc:Location xmlns:loc=\"http://xbean.test/xmlcursor/Location\">" +
-                "<loc:PostalCode>90210</loc:PostalCode>" +
-                "<loc:CountryCode>US</loc:CountryCode>" +
-                "</loc:Location>";
-        LocationDocument locDoc1 = LocationDocument.Factory.parse(
-                sXml1);
-        Location loc1 = locDoc1.getLocation();
-        XmlCursor xc1 = loc1.newCursor();
-
-        try {
-            assertEquals("DALLAS", loc0.getCityName());
-            assertEquals("TX", loc0.getStateCode());
-            assertEquals(null, loc0.getPostalCode());
-            assertEquals(null, loc0.getCountryCode());
-
-            xc0 = xc1;
-
-            assertEquals("DALLAS", loc0.getCityName());
-            assertEquals("TX", loc0.getStateCode());
-            assertEquals(null, loc0.getPostalCode());
-            assertEquals(null, loc0.getCountryCode());
-
-            loc0 = (Location) xc0.getObject();
-
-            assertEquals(null, loc0.getCityName());
-            assertEquals(null, loc0.getStateCode());
-            assertEquals("90210", loc0.getPostalCode());
-            assertEquals("US", loc0.getCountryCode());
-
-        }
-        finally {
-            xc0.dispose();
-            xc1.dispose();
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/PrefixForNamespaceTest.java b/v2/test/src/xmlcursor/detailed/PrefixForNamespaceTest.java
deleted file mode 100755
index 91fdfb9..0000000
--- a/v2/test/src/xmlcursor/detailed/PrefixForNamespaceTest.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- *
- *
- */
-public class PrefixForNamespaceTest extends BasicCursorTestCase {
-
-    public PrefixForNamespaceTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(PrefixForNamespaceTest.class);
-    }
-
-    public void testprefixForNamespaceFromSTARTDOC() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals("pre1", m_xc.prefixForNamespace("uri1"));
-        assertEquals("pre2", m_xc.prefixForNamespace("uri2"));
-        assertEquals("pre3", m_xc.prefixForNamespace("uri3"));
-    }
-
-    public void testprefixForNamespaceFromSTARTDOCInvalid() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("ns1", "uri1");
-        m_xc.insertNamespace("ns2", "uri2");
-        m_xc.insertNamespace("ns3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        assertEquals("uri4", m_xc.prefixForNamespace("uri4"));
-    }
-
-    public void testprefixForNamespaceFromSTARTDOCNull() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.prefixForNamespace(null);
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-    }
-
-    public void testprefixForNamespaceFromSTARTDOCEmptyString() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\">text</foo>");
-        m_xc = m_xo.newCursor();
-        try {
-            m_xc.prefixForNamespace("");
-            fail("Expected IllegalArgumentException");
-        } catch (IllegalArgumentException e) {
-        }
-    }
-
-    public void testprefixForNamespaceFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                      JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("xsi",
-                     m_xc.prefixForNamespace("http://www.w3.org/2000/10/XMLSchema-instance"));
-    }
-
-    public void testprefixForNamespaceFromSTARTdefaultNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                      JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        assertEquals("",
-                     m_xc.prefixForNamespace("http://www.tranxml.org/TranXML/Version4.0"));
-    }
-
-    public void testprefixForNamespaceFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\"><bar attr0=\"val0\">text</bar></foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        m_xc.toStartDoc();
-        m_xc.selectPath("default element namespace=\"nsa\"" + "$this//bar");
-        m_xc.toFirstAttribute();
-        assertEquals("nsa", m_xc.prefixForNamespace("nsa"));
-        assertEquals("pre1", m_xc.prefixForNamespace("uri1"));
-    }
-
-    public void testprefixForNamespaceFromEND() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"nsa\"><bar attr0=\"val0\">text</bar></foo>");
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        m_xc.insertNamespace("pre1", "uri1");
-        m_xc.insertNamespace("pre2", "uri2");
-        m_xc.insertNamespace("pre3", "uri3");
-        m_xc.insertNamespace(null, "uridefault");
-        toNextTokenOfType(m_xc, TokenType.END);
-
-        try {
-            m_xc.prefixForNamespace("nsa");
-            fail("Expected IllegalStateException");
-        } catch (IllegalStateException iae) {
-        }
-        //  assertEquals("ns1", m_xc.prefixForNamespace("nsa"));
-        // assertEquals("pre1", m_xc.prefixForNamespace("uri1"));
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/PushPopTest.java b/v2/test/src/xmlcursor/detailed/PushPopTest.java
deleted file mode 100755
index 8ab0414..0000000
--- a/v2/test/src/xmlcursor/detailed/PushPopTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-
-import xmlcursor.common.*;
-
-
-/**
- *
- *
- */
-public class PushPopTest extends BasicCursorTestCase {
-
-      String sDoc="<foo xmlns:edi='http://ecommerce.org/schema'><?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><!-- the 'price' element's namespace is http://ecommerce.org/schema -->  <edi:price units='Euro' date='12-12-03'>32.18</edi:price> </foo>";
-
-    public PushPopTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(PushPopTest.class);
-    }
-
-    public void testPopEmpty(){
-	assertEquals(false,m_xc.pop());
-    }
-
-    public void testPushNTimes(){
-	int nCount=100;
-	for (int i=0;i<nCount;i++)
-	    m_xc.push();
-	boolean result=true;
-	for (int i=0;i<nCount;i++)
-	    result&=m_xc.pop();
-	assertEquals(true,result);
-	assertEquals(false,m_xc.pop());
-    }
-
-    public void setUp() throws Exception{
-	m_xc=XmlObject.Factory.parse(sDoc).newCursor();
-    }
-}
diff --git a/v2/test/src/xmlcursor/detailed/SelectionsTest.java b/v2/test/src/xmlcursor/detailed/SelectionsTest.java
deleted file mode 100755
index b2715bf..0000000
--- a/v2/test/src/xmlcursor/detailed/SelectionsTest.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-
-public class SelectionsTest extends BasicCursorTestCase {
-
-    static final String sXml="<foo><b>0</b><b>1</b><b>2</b><b attr=\"a3\">3</b><b>4</b><b>5</b><b>6</b></foo>";
-
-    public SelectionsTest(String sName) {
-	super(sName);
-    }
-
-     public static Test suite() {
-        return new TestSuite(SelectionsTest.class);
-    }
-
-    //average case test
-    public void testNormalCase()throws Exception{
-	XmlCursor m_xc1=m_xo.newCursor();
-	int nSelectionsCount=7;
-	m_xc.selectPath("$this//a");
-	assertEquals(false, m_xc.hasNextSelection());
-	assertEquals(false, m_xc.toNextSelection());
-	assertEquals(0, m_xc.getSelectionCount());
-
-	 m_xc.selectPath("$this//b");
-	 m_xc1.toFirstChild();
-	 m_xc1.toFirstChild();
-	 do{
-	     m_xc1.addToSelection();
-	 }while(m_xc1.toNextSibling());
-	 assertEquals(nSelectionsCount, m_xc.getSelectionCount());
-	 int i=0;
-	 while(m_xc.hasNextSelection()){
-	     m_xc.toNextSelection();
-	     assertEquals("" + i, m_xc.getTextValue());
-	     i++;
-	 }
-	 int j=0;
-	 while(m_xc1.hasNextSelection()){
-	      m_xc1.toSelection(j);
-	      assertEquals("" + j, m_xc1.getTextValue());
-	      j++;
-	 }
-	 assertEquals(nSelectionsCount,j);
-	 assertEquals(nSelectionsCount,i);
-    }
-
-    public void testToSelectionIllegalIndex(){
-	 m_xc.selectPath("$this//b");
-	 int i=0;
-	 boolean result=false;
-	 try{
-	     result=m_xc.toSelection(-1);
-	     i++;
-	 }catch(IllegalStateException e){}
-
-	 try{
-	     result=m_xc.toSelection(m_xc.getSelectionCount()+1);
-	     if (result)
-		 fail(" Index > num selections");
-	 }catch(IllegalStateException e){}
-
-	 if (result && (i>0)) fail(" Index <0 ");
-
-    }
-
-
-    public void setUp()throws Exception{
-	m_xo=XmlObject.Factory.parse(sXml);
-	m_xc= m_xo.newCursor();
-    }
-}
diff --git a/v2/test/src/xmlcursor/detailed/SetTextValueTest.java b/v2/test/src/xmlcursor/detailed/SetTextValueTest.java
deleted file mode 100755
index 2b9c6d6..0000000
--- a/v2/test/src/xmlcursor/detailed/SetTextValueTest.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-
-/**
- *
- *
- */
-public class SetTextValueTest extends BasicCursorTestCase {
-
-    String sDoc = Common.XML_FOO_NS_PREFIX;
-
-    public SetTextValueTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetTextValueTest.class);
-    }
-
-    /**
-     * Depth first concatenation of all text leaves
-     */
-    public void testSTARTDOC() {
-        String sExpected = Common.XMLFRAG_BEGINTAG + "&lt;newdoc/>" +
-                Common.XMLFRAG_ENDTAG;
-        char[] buffer = new String("<newdoc/>").toCharArray();
-        m_xc.setTextValue(buffer, 0, buffer.length);
-        //toPrevTokenOfType(m_xc,TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testSTART() {
-        String sNewVal = "new test value ";
-        String sExpected = "<foo xmlns:edi=\"http://ecommerce.org/schema\">" +
-                sNewVal +
-                "</foo>";
-        toNextTokenOfType(m_xc, TokenType.START);
-        char[] buffer = sNewVal.toCharArray();
-        m_xc.setTextValue(buffer, 0, buffer.length);
-        toPrevTokenOfType(m_xc, TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testAttr() {
-        String sNewVal = "US\u0024 ";
-        String sExpected = "<foo xmlns:edi=\"http://ecommerce.org/schema\"><!-- the 'price' element's namespace is http://ecommerce.org/schema -->  <edi:price units=\"" +
-                sNewVal +
-                "\">32.18</edi:price></foo>";
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        char[] buffer = sNewVal.toCharArray();
-        m_xc.setTextValue(buffer, 0, buffer.length);
-        toPrevTokenOfType(m_xc, TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testComment() {
-        String sNewVal = "My new comment ";
-        String sExpected = "<foo xmlns:edi=\"http://ecommerce.org/schema\"><!--" +
-                sNewVal +
-                "-->  <edi:price units=\"Euro\">32.18</edi:price></foo>";
-        toNextTokenOfType(m_xc, TokenType.COMMENT);
-        char[] buffer = sNewVal.toCharArray();
-        m_xc.setTextValue(buffer, 0, buffer.length);
-        toPrevTokenOfType(m_xc, TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testPI() throws Exception {
-        String sTestXml = "<?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><foo at0=\"value0\">text</foo>";
-        m_xc = XmlObject.Factory.parse(sTestXml).newCursor();
-        String sNewVal = "type=\"text/html\" xmlns=\"http://newUri.org\" ";
-        String sExpected = "<?xml-stylesheet " + sNewVal +
-                "?><foo at0=\"value0\">text</foo>";
-        toNextTokenOfType(m_xc, TokenType.PROCINST);
-        char[] buffer = sNewVal.toCharArray();
-        m_xc.setTextValue(buffer, 0, buffer.length);
-        toPrevTokenOfType(m_xc, TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testSetNull() {
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.setTextValue(null, 0, 10);
-            fail("Buffer was Null");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    public void testNegativeOffset() {
-        char[] buffer = new char[100];
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.setTextValue(buffer, -1, 98);
-            fail("Offset < 0");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-
-    public void testNonZeroOffset() {
-        char[] buffer = "Test".toCharArray();
-        toNextTokenOfType(m_xc, TokenType.START);
-        String sExpected = "st";
-        m_xc.setTextValue(buffer, 2, buffer.length - 2);
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(sExpected, m_xc.getChars());
-    }
-
-
-    public void testLargeOffset() {
-        String sNewVal = " 20";
-        toNextTokenOfType(m_xc, TokenType.START);
-        try {
-            m_xc.setTextValue(sNewVal.toCharArray(), 5, 3);
-            fail("Offset Past end");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    //charCount<=0: should be a noop
-    public void testNegativeCharCount() {
-        char[] buffer = new char[100];
-        toNextTokenOfType(m_xc, TokenType.START);
-        String sExpected = m_xc.xmlText();
-        try {
-            m_xc.setTextValue(buffer, 10, -1);
-            if (!m_xc.equals(sExpected)) fail("Negative Char Cnt");
-        }
-        catch (IllegalArgumentException ie) {
-        }
-    }
-
-    public void testZeroCharCount() {
-        char[] buffer = new char[100];
-        String sExpected = m_xc.xmlText();
-        toNextTokenOfType(m_xc, TokenType.START);
-
-        m_xc.setTextValue(buffer, 0, 0);
-        toPrevTokenOfType(m_xc, TokenType.STARTDOC);
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    public void testLargeCharCount() {
-        String sNewVal = " 20";
-        int nCharCount = 10;
-        assertEquals(true, sNewVal.length() < nCharCount);
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setTextValue(sNewVal.toCharArray(), 0, nCharCount);
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals(sNewVal, m_xc.xmlText());
-    }
-
-    //offset+selection>buffer
-    public void testSelectionPastEnd() {
-        String sNewVal = " 20";
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setTextValue(sNewVal.toCharArray(), 2, 4);
-        toPrevTokenOfType(m_xc, TokenType.START);
-        assertEquals("0", m_xc.xmlText());
-    }
-
-    //spec doesn't say anything about text???
-    public void testText() {
-        String sNewVal = "5000 ";
-        char[] buff = sNewVal.toCharArray();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        try {
-            m_xc.setTextValue(buff, 0, buff.length);
-            fail("SetText in TEXT token");
-        }
-        catch (IllegalStateException e) {
-        }
-
-    }
-
-    //$NOTE:did I forget a type
-    public void testSetIllegalCursorPos() {
-
-        char[] buffer = new char[100];
-        int i = 0;
-        toNextTokenOfType(m_xc, TokenType.END);
-        try {
-            m_xc.setTextValue(buffer, 0, 100);
-            i++;
-        }
-        catch (IllegalStateException e) {
-        }
-
-        toNextTokenOfType(m_xc, TokenType.ENDDOC);
-        try {
-            m_xc.setTextValue(buffer, 0, 100);
-            fail("SetText in ENDDOC token");
-        }
-        catch (IllegalStateException e) {
-        }
-        if (i > 0)
-            fail("SetText in END token");
-    }
-
-    public void setUp() throws Exception {
-        m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-    }
-}
diff --git a/v2/test/src/xmlcursor/detailed/ToBookmarkTest.java b/v2/test/src/xmlcursor/detailed/ToBookmarkTest.java
deleted file mode 100755
index 832a9a1..0000000
--- a/v2/test/src/xmlcursor/detailed/ToBookmarkTest.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-import tools.util.JarUtil;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToBookmarkTest extends BasicCursorTestCase {
-    private SimpleBookmark _theBookmark = new SimpleBookmark("value");
-    private SimpleBookmark _theBookmark1 = new SimpleBookmark("value1");
-
-    public ToBookmarkTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToBookmarkTest.class);
-    }
-
-    public void testToBookmarkPrior() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toEndDoc();
-        assertEquals(true, xc1.toBookmark(_theBookmark));
-        try {
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-            SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(_theBookmark.getClass());
-            assertEquals("value", sa.text);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkPost() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toStartDoc();
-        assertEquals(true, xc1.toBookmark(_theBookmark));
-        try {
-            assertEquals(true, m_xc.isAtSamePositionAs(xc1));
-            SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(_theBookmark.getClass());
-            assertEquals("value", sa.text);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkNULL() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toEndDoc();
-        assertEquals(false, xc1.toBookmark(null));
-        try {
-            assertEquals(false, m_xc.isAtSamePositionAs(xc1));
-            assertEquals(TokenType.ENDDOC, xc1.currentTokenType());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkDifferentDoc() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        XmlObject xo = XmlObject.Factory.parse(Common.XML_FOO);
-        XmlCursor xc1 = xo.newCursor();
-        assertEquals(false, m_xc.isInSameDocument(xc1));
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.setBookmark(_theBookmark);
-        try {
-            assertEquals(false, xc1.toBookmark(_theBookmark));
-            assertEquals(false, m_xc.isInSameDocument(xc1));
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testPostMoveBookmarkInsideMove() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-	while (m_xc.toNextSelection()){
-	    m_xc.setBookmark(_theBookmark);
-	    xc1.selectPath(ns+" $this//po:billTo/po:city");
-	    while (xc1.toNextSelection()){
-		m_xc.moveXml(xc1);
-		try {
-		    assertEquals(true, xc1.toBookmark(_theBookmark));
-		    assertEquals("<po:city "+exp_ns+">Mill Valley</po:city>", xc1.xmlText());
-		    xc1.toNextSibling();
-		    assertEquals("<po:city "+exp_ns+">Old Town</po:city>", xc1.xmlText());
-		} catch (Exception e){}
-	    }
-	}
-	xc1.dispose();
-    }
-
-    public void testPostMoveBookmarkToRightOfMove() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-	while (m_xc.toNextSelection()){
-	    m_xc.setBookmark(_theBookmark);
-	    toNextTokenOfType(m_xc, TokenType.TEXT);
-	    m_xc.toNextToken();
-	    m_xc.toNextToken();  // move to behind the <city>Mill Valley</city> element
-	    assertEquals(TokenType.TEXT, m_xc.currentTokenType());
-	    m_xc.setBookmark(_theBookmark1);
-	    m_xc.toBookmark(_theBookmark);
-	    xc1.selectPath(ns+" $this//po:billTo/po:city");
-	    while (xc1.toNextSelection()){
-		m_xc.moveXml(xc1);
-		m_xc.toStartDoc();
-		try {
-		    assertEquals(true, xc1.toBookmark(_theBookmark1));
-		    xc1.toPrevSibling();
-		    assertEquals("<po:street "+exp_ns+">123 Maple Street</po:street>", xc1.xmlText());
-		}catch (Exception e){}
-	    }
-	}
-	xc1.dispose();
-    }
-
-    public void testToBookmarkPostCopy() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO));
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-        String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc.selectPath(ns+" $this//po:shipTo/po:city");
-	while ( m_xc.toNextSelection()){
-	    m_xc.setBookmark(_theBookmark);
-	    xc1.selectPath(ns+"$this//po:billTo/po:city");
-	    while (xc1.toNextSelection()){
-		m_xc.copyXml(xc1);
-		try {
-		    assertEquals(true, xc1.toBookmark(_theBookmark));
-		    assertEquals("<po:city "+exp_ns+">Mill Valley</po:city>", xc1.xmlText());
-		    xc1.toNextSibling();
-		    assertEquals("<po:state "+exp_ns+">CA</po:state>", xc1.xmlText());
-		} catch(Exception e){}
-	    }
-	}
-	xc1.dispose();
-    }
-
-    public void testToBookmarkPostMoveChars() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        xc1.toCursor(m_xc);
-        xc1.toNextChar(1);
-        xc1.setBookmark(_theBookmark);  // set an Bookmark at the '1'
-        xc1.toNextChar(2);  // move xc1 to the '3'
-        try {
-            assertEquals("34", xc1.getTextValue());
-            assertEquals(2, m_xc.moveChars(2, xc1));
-            assertEquals("20134", m_xc.getTextValue());
-            assertEquals("34", xc1.getTextValue());
-            xc1.toBookmark(_theBookmark);
-            assertEquals("134", xc1.getTextValue());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkPostCopyChars() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        xc1.toCursor(m_xc);
-        xc1.toNextChar(1);
-        xc1.setBookmark(_theBookmark);  // set an Bookmark at the '1'
-        xc1.toNextChar(2);  // move xc1 to the '3'
-        try {
-            assertEquals("34", xc1.getTextValue());
-            assertEquals(2, m_xc.copyChars(2, xc1));
-            assertEquals("0120134", m_xc.getTextValue());
-            assertEquals("34", xc1.getTextValue());
-            xc1.toBookmark(_theBookmark);
-            assertEquals("120134", xc1.getTextValue());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-
-
-    public void testToBookmarkPostRemove() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(".//bar");
-	while(m_xc.toNextSelection())
-	    assertEquals("<bar>text</bar>", m_xc.xmlText());
-	m_xc.toNextToken();
-	m_xc.setBookmark(_theBookmark);  // set annot. at 'text'
-	m_xc.toStartDoc();
-	XmlCursor xc1 = m_xc.newCursor();
-	xc1.toBookmark(_theBookmark);
-	SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(SimpleBookmark.class);
-	assertEquals("value", sa.text);
-	xc1.toEndDoc();
-
-        m_xc.selectPath("$this//bar");
-	while(m_xc.toNextSelection()){
-	    m_xc.removeXml();
-	    m_xc.toStartDoc();
-	    try {
-		assertEquals("<foo/>", m_xc.xmlText());
-		assertEquals(false, xc1.toBookmark(_theBookmark));
-		sa = (SimpleBookmark) xc1.getBookmark(SimpleBookmark.class);
-		assertNull(sa);
-		assertEquals(TokenType.ENDDOC, xc1.currentTokenType());
-	    }catch(Exception e){}
-	}
-	xc1.dispose();
-    }
-
-    public void testToBookmarkPostRemoveAttribute() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        m_xc.setBookmark(_theBookmark);  // set annot. at attribute
-        m_xc.toStartDoc();
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toBookmark(_theBookmark);
-        SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(SimpleBookmark.class);
-        assertEquals("value", sa.text);
-        xc1.toEndDoc();
-
-        toNextTokenOfType(m_xc, TokenType.START);
-        m_xc.removeAttribute(new QName("attr0"));
-        m_xc.toStartDoc();
-        try {
-            assertEquals("<foo>text</foo>", m_xc.xmlText());
-            assertEquals(false, xc1.toBookmark(_theBookmark));
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkPostRemoveChars() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_DIGITS);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("234", m_xc.getTextValue());
-        m_xc.setBookmark(_theBookmark);  // set annot. at '2'
-        m_xc.toPrevChar(2);
-        assertEquals(3, m_xc.removeChars(3));  // '2' should be deleted
-        assertEquals("34", m_xc.getTextValue());
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toEndDoc();
-        try {
-            assertEquals(false, xc1.toBookmark(_theBookmark));
-            SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(SimpleBookmark.class);
-            assertNull(sa);
-            assertEquals(TokenType.ENDDOC, xc1.currentTokenType());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testToBookmarkPostSetTextValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        m_xc.toNextChar(2);
-        assertEquals("xt", m_xc.getTextValue());
-        m_xc.setBookmark(_theBookmark);   // set annot. in middle of TEXT
-        XmlCursor xc1 = m_xc.newCursor();
-        xc1.toEndDoc();
-        m_xc.toPrevToken();
-        m_xc.setTextValue("changed");
-        m_xc.toStartDoc();
-        assertEquals("<foo>changed</foo>", m_xc.xmlText());
-        try {
-            assertEquals(false, xc1.toBookmark(_theBookmark));
-            SimpleBookmark sa = (SimpleBookmark) xc1.getBookmark(SimpleBookmark.class);
-            assertNull(sa);
-            assertEquals(TokenType.ENDDOC, xc1.currentTokenType());
-        } finally {
-            xc1.dispose();
-        }
-
-    }
-
-    public class SimpleBookmark extends XmlCursor.XmlBookmark {
-        public String text;
-
-        public SimpleBookmark(String text) {
-            this.text = text;
-        }
-    }
-
-}
-
diff --git a/v2/test/src/xmlcursor/detailed/ToChildTest.java b/v2/test/src/xmlcursor/detailed/ToChildTest.java
deleted file mode 100755
index cde33d4..0000000
--- a/v2/test/src/xmlcursor/detailed/ToChildTest.java
+++ /dev/null
@@ -1,318 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.detailed;
-
-import org.apache.xmlbeans.XmlOptions;
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.impl.store.Cursor;
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-
-/**
- *
- *
- */
-public class ToChildTest extends BasicCursorTestCase {
-
-    String sDoc="<foo>early<bar>text</bar><char>zap<dar>wap</dar><ear>yap</ear></char></foo>";
-
-    int nChildCount=2; //num children if TEXT is a child
-    public ToChildTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ToChildTest.class);
-    }
-    /**
-     * Testing toChild(String)
-     * Cases:
-     *      non-existing name
-     *      2 children with same name
-     *      nested child with same name
-     *      Child of TEXT
-     */
-
-    public void testToChildNonExisting()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	assertEquals(false,m_xc.toChild("yana"));
-    }
-    public void testToChildInvalidName()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	assertEquals(false,m_xc.toChild(""));
-    }
-
-    public void testToChildNull()throws Exception{
-	String sNull=null;
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	try{
-	    assertEquals(false,m_xc.toChild(sNull));
-	    fail("toChild with Null localName");
-	}catch (IllegalArgumentException e){}
-    }
-
-    public void testNameCollision()throws Exception{
-	sDoc="<foo><bar>txt0</bar><bar>txt1</bar></foo>";
-	String sExpectedValue="<bar>txt0</bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-    public void testSameNameDescendant()throws Exception{
-	sDoc="<foo><bar><bar>txt0<bar/></bar></bar><bar>txt1</bar></foo>";
-	String sExpectedValue="<bar><bar>txt0<bar/></bar></bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-    public void testTextChild()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	toNextTokenOfType(m_xc,TokenType.TEXT);
-	assertEquals(false,m_xc.toChild("bar"));
-    }
-
-    /**
-     * toChild(String,String)
-     * Cases:
-     *      non-existing ns, existing name
-     *      non-existing name, existing ns
-     *      2 children with same name
-     *      2 children with same name, diff ns
-     *      2 children with diff name, same ns
-     *      nested child with same name & ns
-     */
-
-
-    public void testNullNS()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	String sExpectedResult="<bar>text</bar>";
-	assertEquals(true,m_xc.toChild(null,"bar"));
-	assertEquals(sExpectedResult,m_xc.xmlText());
-    }
-
-    public void testNullName()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	try{
-	    assertEquals(false,m_xc.toChild("uri:foo.org",null));
-	    fail("toChild(uri,localname) with Null localName");
-	}catch (IllegalArgumentException e){}
-    }
-
-    public void testNamespaceOKNameInvalid()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bar>txt0</fo:bar><bar>txt1</bar></foo>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild("fo","test"));
-    }
-
-    public void testNamespaceInvalidNameOK()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bar>txt0</fo:bar><bar>txt1</bar></foo>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	String sExpectedResult="<bar>text</bar>";
-	assertEquals(false,m_xc.toChild("bar","bar"));
-    }
-
-    public void testNormalCase()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bar>txt0</fo:bar><bar>txt1</bar></foo>";
-	String sExpectedResult="<fo:bar xmlns:fo=\"uri:foo.org\">txt0</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("uri:foo.org","bar"));
-	assertEquals(sExpectedResult,m_xc.xmlText());
-    }
-
-    public void testUriNameCollision()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bar>txt0</fo:bar><fo:bar>txt1</fo:bar></foo>";
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt0</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("uri:foo.org","bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-
-
-    //same URI diff names
-    public void testFakeNameCollision()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bars>txt0</fo:bars><fo:bar>txt1</fo:bar></foo>";
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt1</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("uri:foo.org","bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-    //diff URI same names
-     public void testFakeNameCollision3()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bar>txt0</fo:bar><bar>txt1</bar></foo>";
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt0</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("uri:foo.org","bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-
-    public void  testSameNameDescendant1()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><bar><fo:bar>txt0<bar/></fo:bar></bar><bar>txt1</bar></foo>";
-
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild("uri:foo.org","bar"));
-    }
-
-     public void testSameNameDescendant2()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><bar><fo:bar>txt0<bar/></fo:bar></bar><bar>txt1</bar><fo:bar>txt1</fo:bar></foo>";
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt1</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild("uri:foo.org","bar"));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-
-    /**
-     * toChild(int)
-     * Cases:
-     *       i<0
-     *       i>numChildren
-     *       i=0, numChildren=0
-     */
-
-    public void testNegativeIndex()throws Exception{
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	assertEquals(false,m_xc.toChild(-1));
-    }
-
-    public void testIndexOKFirst()throws Exception{
-	String sExpectedValue="<bar>text</bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild(0));//text is not children
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-     public void testIndexOKLast()throws Exception{
-	String sExpectedValue="<char>zap<dar>wap</dar><ear>yap</ear></char>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild(nChildCount-1));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-	m_xc.toParent();
-	m_xc.toLastChild();
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-
-     public void testLargeIndex()throws Exception{
-	 m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild(20));
-
-    }
-    public void  testInd0Count0()throws Exception{
-	sDoc="<foo/>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild(0));
-    }
-
-
-    /**
-     * toChild(QName,int)
-     * Cases:
-     *       QName dne,
-     *       QName OK, i OK;i >numChildren;i<0
-     *       Name collision, i=1;i>numChildren
-     *       Siblings and a child with same qname, ask for 2nd sibling
-     */
-
-    public void testToChildQNameDNE0()throws Exception{
-	QName searchVal=new QName("fake:uri","bar");
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild(searchVal,1));
-    }
-
-    public void testToChildQNameDNE1()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bars>txt0</fo:bars><fo:bar>txt1</fo:bar></foo>";
-	QName searchVal=new QName("uri:foo.org","bar","pre");
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(false,m_xc.toChild(searchVal,1));
-    }
-
-    public void testToChildQNameOKIndexOK()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bars>txt0</fo:bars><fo:bar>txt1</fo:bar></foo>";
-	QName searchVal=new QName("uri:foo.org","bar","fo");
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt1</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild(searchVal,0));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-	assertEquals(false,m_xc.toChild(searchVal,1));
-	assertEquals(false,m_xc.toChild(searchVal,-1));
-    }
-
-    public void testQNameNameCollision()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\"><fo:bars>txt0</fo:bars><fo:bar>txt1</fo:bar></foo>";
-	nChildCount=2;
-	QName searchVal=new QName("uri:foo.org","bar","fo");
-	String sExpectedValue="<fo:bar xmlns:fo=\"uri:foo.org\">txt1</fo:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	assertEquals(true,m_xc.toChild(searchVal,0));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-	int nInvalidCount=2;
-	if(nInvalidCount>=nChildCount)
-	    assertEquals(false,m_xc.toChild(searchVal,nInvalidCount));
-	else fail("Broken Test");
-    }
-
-
-    public void testFakeQNameCollision()throws Exception{
-	sDoc="<foo xmlns:fo=\"uri:foo.org\" xmlns:fo2=\"uri:foo.org\"><fo2:bar>txt0</fo2:bar><fo:bar>txt1</fo:bar></foo>";
-	String sExpectedValue="<fo2:bar xmlns:fo=\"uri:foo.org\" xmlns:fo2=\"uri:foo.org\">txt0</fo2:bar>";
-	m_xc = XmlObject.Factory.parse(sDoc).newCursor();
-	m_xc.toFirstChild();
-	QName searchVal=new QName("uri:foo.org","bar","fo");
-	assertEquals(true,m_xc.toChild(searchVal,0));
-	assertEquals(sExpectedValue,m_xc.xmlText());
-    }
-}
diff --git a/v2/test/src/xmlcursor/jsr173/checkin/SaveLoadTests.java b/v2/test/src/xmlcursor/jsr173/checkin/SaveLoadTests.java
deleted file mode 100755
index fa0ab33..0000000
--- a/v2/test/src/xmlcursor/jsr173/checkin/SaveLoadTests.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.checkin;
-
-
-import org.w3c.dom.Document;
-import org.apache.xmlbeans.impl.common.LoadSaveUtils;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import org.xml.sax.SAXException;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.File;
-import java.io.IOException;
-import java.io.ByteArrayOutputStream;
-import java.io.FileInputStream;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-
-import tools.util.*;
-import tools.xml.*;
-
-public class SaveLoadTests extends TestCase
-{
-    public SaveLoadTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(SaveLoadTests.class); }
-
-    public void testLoadSave()
-            throws IOException, SAXException, ParserConfigurationException, XmlException, XMLStreamException
-    {
-        File file =  JarUtil.getResourceFromJarasFile("xmlcases.jar","xbean/xmlcursor/doc.xml");
-
-        Document doc = LoadSaveUtils.xmlText2GenericDom(new FileInputStream(file),
-                DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument());
-
-        XmlObject xo = XmlObject.Factory.parse(doc);
-
-        XMLStreamReader xsr = xo.newXMLStreamReader();
-
-        ByteArrayOutputStream bos = new ByteArrayOutputStream();
-        LoadSaveUtils.xmlStreamReader2XmlText(xsr, bos);
-
-        check( XmlObject.Factory.parse(
-                 JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                         "xbean/xmlcursor/doc.xml")).toString(), bos.toString() );
-    }
-
-    private static void check(String expected, String actual) throws XmlException
-    {
-        XmlComparator.Diagnostic diag = new XmlComparator.Diagnostic();
-        boolean match = XmlComparator.lenientlyCompareTwoXmlStrings(actual, expected, diag);
-        Assert.assertTrue("------------  Found difference:" +
-                " actual=\n'" + actual + "'\nexpected=\n'" + expected + "'\ndiagnostic=" + diag , match);
-    }
-}
diff --git a/v2/test/src/xmlcursor/jsr173/common/AttributeTest.java b/v2/test/src/xmlcursor/jsr173/common/AttributeTest.java
deleted file mode 100755
index 1d2f3f7..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/AttributeTest.java
+++ /dev/null
@@ -1,351 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.newstore2.Jsr173;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.XmlOptions;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-/**
- *
- *
- */
-public abstract class AttributeTest extends TestCase {
-
-    int indexMethods=6;
-    public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-     public AttributeTest(String s) {
-        super(s);
-    }
-
-    public void testAttrEvent() throws Exception {
-        cur.toNextToken();
-        m_stream =getStream(cur);
-        assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.getEventType() );
-        assertEquals(1, m_stream.getAttributeCount());
-        assertEquals(m_stream.getAttributeValue(0),
-        m_stream.getAttributeValue("foo.org", "at0"));
-
-          assertFalse(m_stream.hasNext());
-
-    }
-   public void testAttrMethodsAtAttr() throws Exception{
-
-        //2 attrs under the doc
-//        assertEquals(2, m_stream.getAttributeCount());
-
-         cur.toNextToken();
-        m_stream= getStream(cur);;
-        //move 2 first attr
-       assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.getEventType() );
-        assertEquals(1, m_stream.getAttributeCount());
-
-        assertEquals(m_stream.getAttributeValue(0),
-                m_stream.getAttributeValue("foo.org", "at0"));
-
-        //Below methods tested at index 0 and last at index tests
-        //getAttributeLocalName(int)
-        //getAttributeName(int)
-        //getAttributeNamespace(int)
-        //getAttributePrefix(int)
-        //getAttributeType(int)
-        //getAttributeValue(int)
-
-
-    }
-
-    public void testAttrMethodsAtStartElt()  throws Exception{
-        cur.toFirstChild();
-        cur.toNextSibling();
-        m_stream = getStream(cur);
-        assertEquals(1, m_stream.getAttributeCount());
-        assertTrue(m_stream.isStartElement());
-        assertEquals(new QName("foo.org", "foo", ""), m_stream.getName());
-        assertEquals(m_stream.getAttributeValue(0), "");
-        assertEquals(m_stream.getAttributeValue(0),
-                m_stream.getAttributeValue("", "localName"));
-    }
-
-    private void assertIllegalState1() {
-        try {
-            m_stream.getAttributeCount();
-            fail("Illegal State");
-        }
-        catch (java.lang.IllegalStateException e) {
-        }
-    }
-
-    private void assertIllegalState2() {
-        try {
-            m_stream.getAttributeValue(0);
-            fail("Illegal State");
-        }
-        catch (java.lang.IllegalStateException e) {
-        }
-    }
-
-    public void testAttrMethodsAtNamespace() throws Exception {
-        cur.toNextToken();
-        cur.toNextToken();
-        assertEquals (XmlCursor.TokenType.NAMESPACE, cur.toNextToken());
-        m_stream = getStream(cur);
-
-        assertIllegalState1();
-        assertIllegalState2();
-//         assertEquals(1,m_stream.getNamespaceCount());
-//         assertEquals("foons.bar.org",m_stream.getNamespaceURI(0));
-//         assertEquals(m_stream.getNamespaceURI(0),m_stream.getAttributeValue("","localName"));
-//
-    }
-
-//
-//    java.lang.IllegalStateException - if this is not a START_ELEMENT or ATTRIBUTE
-//
-
-    public void testAttrMethodsAtEndElt()throws Exception  {
-        cur.toFirstChild();
-        cur.toNextSibling();
-        cur.toNextToken();
-        cur.toNextToken();
-        assertEquals(XmlCursor.TokenType.END, cur.toNextToken()); //toEnd
-        m_stream = getStream(cur);
-        assertIllegalState1();
-        assertIllegalState2();
-    }
-
-    public void testAttrMethodsAtEndDoc() throws Exception  {
-        cur.toFirstChild();
-        cur.toNextSibling();
-        cur.toNextToken();
-        cur.toNextToken();
-        cur.toNextToken();
-        cur.toNextToken();
-        assertEquals(XmlCursor.TokenType.ENDDOC, cur.toNextToken());
-        m_stream = getStream(cur);
-        assertIllegalState1();
-        assertIllegalState2();
-    }
-
-    public void testAttrMethodstAtText() throws Exception {
-        cur.toFirstChild();
-        cur.toNextSibling();
-        cur.toNextToken();
-        assertEquals(XmlCursor.TokenType.TEXT, cur.toNextToken()); //text
-        m_stream = getStream(cur);
-        assertIllegalState1();
-        assertIllegalState2();
-    }
-
-    public void testAttrMethodstAtPI() throws Exception {
-        cur.toFirstChild();
-        cur.toNextSibling();
-        cur.toNextToken();
-        cur.toNextToken();
-        cur.toNextToken();
-        assertEquals(XmlCursor.TokenType.PROCINST, cur.toNextToken());
-        m_stream = getStream(cur);
-        assertIllegalState1();
-        assertIllegalState2();
-    }
-
-   /**
-     * verify index correctness for all index methods
-     * tested w/ cursor positioned at first attr
-     * //getAttributeLocalName(int)
-     * //getAttributeName(int)
-     * //getAttributeNamespace(int)
-     * //getAttributePrefix(int)
-     * //getAttributeType(int)
-     * //getAttributeValue(int)
-     */
-
-    public void testAttrMethodsNegIndex() throws Exception {
-
-        int cnt = 0;
-        try {
-            m_stream.getAttributeLocalName(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeName(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeNamespace(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributePrefix(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeType(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeValue(-1);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-
-          assertEquals( "A negative error wasn't thrown", indexMethods , cnt);
-    }
-
-    public void testAttrMethodsLargeIndex()
-            throws XMLStreamException {
-
-        int cnt = 0;
-         int pos=-1;
-        try {
-             m_stream.next();
-        pos=m_stream.getAttributeCount();
-            m_stream.getAttributeLocalName(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeName(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeNamespace(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributePrefix(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeType(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-        try {
-            m_stream.getAttributeValue(pos);
-        }
-        catch (java.lang.IndexOutOfBoundsException e) {
-            cnt++;
-        }
-
-          assertEquals( "A negative error wasn't thrown", indexMethods, cnt);
-    }
-
-    public void testAttrMethods0Index() throws Exception{
-         assertEquals( XMLStreamConstants.START_DOCUMENT, m_stream.getEventType() );
-
-        assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.next() );
-        assertEquals(1, m_stream.getAttributeCount());
-
-        assertEquals("val0", m_stream.getAttributeValue(0));
-
-        assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.next() );
-
-        assertEquals("val1", m_stream.getAttributeValue(0));
-        //why does this crash here????
-        assertEquals( XMLStreamConstants.NAMESPACE,m_stream.next()); //ns
-        m_stream.next(); //elt
-       assertEquals("", m_stream.getAttributeValue(0));
-
-    }
-
-    //NOTHING to do; eric always emits one event per attr=>
-    //getAttributeCount is always 1
-    public void testAttrMethodsLastIndex() {
-
-    }
-   public void testIsAttributeSpecified() throws Exception {
-         assertEquals( XMLStreamConstants.START_DOCUMENT, m_stream.getEventType() );
-       try{
-           m_stream.isAttributeSpecified(0);
-           fail("Bad state");
-       }catch (IllegalStateException e){}
-
-        assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.next() );
-        assertEquals(false, m_stream.isAttributeSpecified(0));
-
-        try{
-           m_stream.isAttributeSpecified(-1);
-           fail("Bad state");
-       }catch (IllegalStateException e){}
-
-       try{
-           m_stream.isAttributeSpecified(2);
-           fail("Bad state");
-       }catch (IllegalStateException e){}
-
-   }
-
-    public void setUp() throws Exception {
-      cur = Public2.newStore();
-        cur.toNextToken();
-
-        cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"),
-                "val0");
-        cur.insertAttributeWithValue(new QName("", "at1", "pre"), "val1");
-        cur.insertNamespace("pre", "foons.bar.org");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertAttribute("localName");
-        cur.insertChars("some text");
-        cur.toNextToken();
-        cur.toNextToken();//end elt
-        cur.insertProcInst("xml-stylesheet", "http://foobar");
-
-        cur.toStartDoc();
-        m_stream=getStream(cur);
-                //cur.newXMLStreamReader();
-
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-     XMLStreamReader m_stream;
-     XmlCursor cur;
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/common/CharactersTest.java b/v2/test/src/xmlcursor/jsr173/common/CharactersTest.java
deleted file mode 100755
index 2d435f7..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/CharactersTest.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.namespace.QName;
-
-
-import junit.framework.*;
-
-
-//
-
-/**
- * Methods tested
- * getText
- * getTextCharacters  x 2
- * getTextLength
- * getTextStart
- * hasText
- * Token Types should be DTD, ER, Chars, Comment, Space
- * currently DTD and ER are Not Impl
- *
- *
- *
- */
-public abstract class CharactersTest extends TestCase {
-
-    public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-    public void testHasText() throws Exception {
-        assertEquals(XMLStreamConstants.START_DOCUMENT,
-                m_stream.getEventType());
-
-        // assertEquals( XMLStreamConstants.ATTRIBUTE, m_stream.next()  );
-        //  assertFalse( m_stream.hasText() );
-
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.next());
-        assertTrue(m_stream.hasText());
-
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertFalse(m_stream.hasText());
-
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        assertTrue(m_stream.hasText());
-
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertFalse(m_stream.hasText());
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertFalse(m_stream.hasText());
-         assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertFalse(m_stream.hasText());
-
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-//           assertTrue(  m_stream.isWhiteSpace());
-        assertTrue(m_stream.hasText());
-    }
-
-    //also testing getTextStart and getTextLength
-    public void testGetTextCharacters() throws Exception{
-        try {
-            assertEquals(XMLStreamConstants.START_DOCUMENT, m_stream.getEventType());
-            m_stream.getTextLength();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.next());
-        char[] result=m_stream.getTextCharacters();
-        assertEquals(" some comment ",new String(result).substring(m_stream.getTextStart(),
-                m_stream.getTextLength()));
-
-        try {
-           assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-            m_stream.getTextLength();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-
-
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        result=m_stream.getTextCharacters();
-        assertEquals("some text",new String(result).substring(m_stream.getTextStart(),
-                m_stream.getTextLength()));
-
-        m_stream.next();  m_stream.next();//skip empty elt
-         m_stream.next(); //end foo
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        result=m_stream.getTextCharacters();
-        assertEquals("\t",new String(result).substring(m_stream.getTextStart(),
-                m_stream.getTextLength()));
-        try {
-            m_stream.next();
-            m_stream.getTextLength();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-
-    public void testGetTextCharactersBufferNegStart() throws Exception{
-       m_stream.next();
-       m_stream.getTextCharacters(-1,new char[10],12,12);
-    }
-
-    public void testGetTextCharactersBufferNull() throws Exception{
-       m_stream.next();
-       m_stream.getTextCharacters(0,null,12,12);
-    }
-
-     public void testGetTextCharactersLargeSrcOff() throws Exception{
-       m_stream.next();
-       m_stream.getTextCharacters(110,new char[10],0,9);
-    }
-     public void testGetTextCharactersLargeTrgOff() throws Exception{
-       m_stream.next();
-       m_stream.getTextCharacters(110,new char[10],10,9);
-    }
-
-    public void testGetTextCharactersLargeLen() throws Exception{
-       m_stream.next();
-       char[] buff=new char[9];
-      int nCopied=m_stream.getTextCharacters(0,buff,0,30);
-       assertEquals(nCopied,buff.length);
-       assertEquals( "some text",new String(buff) );
-
-    }
-    //off+len past end
-    public void testGetTextCharactersLargeSum() throws Exception{
-       m_stream.next();
-        char[] buff=new char[9];
-      int nCopied=m_stream.getTextCharacters(0,buff,3,10);
-      assertEquals( "   some te",new String(buff) );
-    }
-
-
-    public void testGetText() throws Exception{
-        try {
-            assertEquals(XMLStreamConstants.START_DOCUMENT, m_stream.getEventType());
-            m_stream.getText();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.next());
-       String result=m_stream.getText();
-        assertEquals(" some comment ",result);
-
-        try {
-           assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-            m_stream.getText();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-
-
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        result=m_stream.getText();
-        assertEquals( "some text",result );
-
-        m_stream.next();  m_stream.next();//skip empty elt
-         m_stream.next(); //end foo
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        result=m_stream.getText();
-        assertEquals("\t", result );
-        try {
-            m_stream.next();
-            m_stream.getText();
-            fail("Illegal State");
-        }
-        catch (IllegalStateException e) {
-        }
-    }
-
-
-
-    public void setUp() throws Exception {
-        cur = Public2.newStore();
-        cur.toNextToken();
-
-        //   cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"), "val0");
-        cur.insertComment(" some comment ");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertAttribute("localName");
-        cur.insertChars("some text");
-        cur.insertElement("foo2");
-        cur.toNextToken(); //close foo elt
-        cur.insertChars("\t");
-
-
-        cur.toStartDoc();
-        m_stream = getStream(cur);
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-    private XMLStreamReader m_stream;
-    private XmlCursor cur;
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/common/ElementTest.java b/v2/test/src/xmlcursor/jsr173/common/ElementTest.java
deleted file mode 100755
index c699a82..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/ElementTest.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*   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.
- */
-
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.newstore2.Jsr173;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamConstants;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-/**
- *
-  *
- */
-public abstract class ElementTest extends TestCase {
-
-     public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-    public void testGetElementText() throws Exception {
-        cur.toFirstChild(); //first element?
-        m_stream = getStream(cur);
-
-        assertEquals("some text", m_stream.getElementText());
-    }
-
-    public void testGetElementTextEmptyElt() throws Exception {
-        cur.toFirstChild(); //first element?
-        cur.toNextSibling();
-        m_stream = getStream( cur );
-
-        assertEquals("", m_stream.getElementText());
-    }
-
-    public void testGetElementTextMixedContent() throws Exception {
-        cur.toFirstChild(); //first element?
-        cur.toNextSibling();
-        cur.toNextSibling();
-        m_stream =getStream( cur );
-        assertEquals(new QName("foo.org", "foo", ""), m_stream.getName());
-        try {
-            assertEquals("\thooa", m_stream.getElementText());
-            fail("Mixed content needs exception");
-        }
-        catch (javax.xml.stream.XMLStreamException e) {
-        }
-
-        //mixed content txt1, PI, COMMENT,txt2:
-        //should coalesce txt1 & txt2
-        cur = Public2.newStore();
-        cur.toNextToken();
-        cur.beginElement("foo");
-        cur.insertChars("  \n ");
-        cur.insertComment("My comment");
-        cur.insertProcInst("xml-stylesheet", "http://foobar");
-        cur.insertChars("txt1\t");
-        cur.toStartDoc();
-         m_stream = getStream( cur );
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next() );
-        assertEquals("  \n txt1\t", m_stream.getElementText());
-
-
-    }
-
-    public void testGetNameAtStartElt() throws Exception {
-        cur.toFirstChild(); //first element
-        m_stream = getStream( cur );
-        assertEquals(new QName("foo.org", "foo", ""), m_stream.getName());
-
-    }
-
-    public void testGetNameAtEndElt() throws Exception {
-        cur.toFirstChild();
-        m_stream = getStream( cur );
-        m_stream.next();
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals(new QName("foo.org", "foo", ""), m_stream.getName());
-    }
-
-    public void testHasName() throws Exception{
-
-        m_stream = getStream( cur );
-        m_stream.next();
-         m_stream.next();
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertTrue( m_stream.hasName() );
-
-    }
-
-    //call at a bad place..here just attr but should exhaust all
-    public void testGetNameIllegal() throws Exception{
-        cur.toNextToken(); //attr
-         m_stream = getStream( cur );
-        try {
-            m_stream.getName();
-            fail("getName illegal pos");
-        }
-        catch (java.lang.IllegalStateException e) {
-        }
-
-        assertFalse( m_stream.hasName() );
-    }
-
-    public void setUp() throws Exception {
-        cur = Public2.newStore();
-        cur.toNextToken();
-
-        cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"),
-                "val0");
-        cur.insertNamespace("pre", "foons.bar.org");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertAttribute("localName");
-        cur.insertChars("some text");
-        cur.toNextToken();
-        cur.toNextToken();//end elt
-        cur.insertElement("foo1");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertChars("\t");
-        cur.insertElement("foo2");
-        cur.insertChars("hooa");
-
-        cur.toStartDoc();
-
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-    private XMLStreamReader m_stream;
-    private XmlCursor cur;
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/common/GeneralMethodsTest.java b/v2/test/src/xmlcursor/jsr173/common/GeneralMethodsTest.java
deleted file mode 100755
index 17e7003..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/GeneralMethodsTest.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.*;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamConstants;
-
-import junit.framework.*;
-
-
-//
-
-/**
- * Methods tested
- * close()
- * getCharacterEncodingScheme()
- * getEncoding()
- * getLocation
- * getProperty
- * getVersion
- * isStandalone
- * require
- * standaloneSet
- *
- *
-  *
- */
-public abstract class GeneralMethodsTest extends TestCase {
-
-     public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-    public void testClose() throws Exception {
-        m_stream.close();
-
-
-        m_stream.next();
-
-
-    }
-
-    public void testAll() throws Exception {
-          m_stream.next();
-         m_stream.next();
-        assertEquals("utf-8", m_stream.getCharacterEncodingScheme());
-        assertEquals("utf-8", m_stream.getEncoding());
-        //TODO: why is this still -1???
-        Location l = m_stream.getLocation();
-        assertEquals(-1, l.getCharacterOffset());
-        assertEquals(-1, l.getColumnNumber());
-        assertEquals(-1, l.getLineNumber());
-        assertEquals(null, l.getPublicId());
-        assertEquals(null, l.getSystemId());
-
-
-       // m_stream.getProperty("");
-        m_stream.getVersion();
-//        m_stream.isStandalone();
-        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.getEventType() );
-        //only elements can have localnames
-         try{
-               m_stream.require(10, "", "at1");
-            fail("IllegalStateException needed here");
-        }catch (IllegalStateException e){}
-
-
-          m_stream.next();
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next() ) ;
-          m_stream.require(1, "foo.org", "foo");
-        try{
-                     m_stream.require(10, "", "");
-                   fail("XMLStreamException needed here");
-               }catch (XMLStreamException e){}
-
-
-//        m_stream.standaloneSet();
-    }
-
-
-    public void setUp() throws Exception {
-        cur = Public2.newStore();
-        cur.toNextToken();
-
-        cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"),
-                "val0");
-        cur.insertAttributeWithValue(new QName("", "at1", "pre"), "val1");
-        cur.insertNamespace("pre", "foons.bar.org");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertAttribute("localName");
-        cur.insertChars("some text");
-        cur.toNextToken();
-        cur.toNextToken();//end elt
-        cur.insertProcInst("xml-stylesheet", "http://foobar");
-
-        cur.toStartDoc();
-        m_stream = getStream( cur );;
-
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-    private XMLStreamReader m_stream;
-    private XmlCursor cur;
-
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/common/IsXXXTest.java b/v2/test/src/xmlcursor/jsr173/common/IsXXXTest.java
deleted file mode 100755
index 1de523e..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/IsXXXTest.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.newstore2.Jsr173;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamConstants;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-/**
- * This class tests next, hasNext, nextTag,getEventType and isXXX methods
- *
- *
- *
- */
-public abstract class IsXXXTest extends TestCase {
-
-    public abstract XMLStreamReader getStream(XmlCursor c) throws Exception;
-
-    public void testAll() throws Exception {
-        assertEquals(XMLStreamConstants.START_DOCUMENT,
-                m_stream.getEventType());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.next());
-        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.getEventType());
-        assertFalse(m_stream.isAttributeSpecified(0));
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.next());
-        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.getEventType());
-        assertFalse(m_stream.isAttributeSpecified(0));
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-        assertEquals(XMLStreamConstants.NAMESPACE, m_stream.getEventType());
-        assertFalse(m_stream.isCharacters());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.getEventType());
-        assertTrue(m_stream.isStartElement());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.getEventType());
-        assertTrue(m_stream.isCharacters());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.getEventType());
-        assertTrue(m_stream.isEndElement());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.PROCESSING_INSTRUCTION,
-                m_stream.next());
-        assertEquals(XMLStreamConstants.PROCESSING_INSTRUCTION,
-                m_stream.getEventType());
-
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.getEventType());
-        assertTrue(m_stream.isCharacters());
-//        assertTrue(m_stream.isWhiteSpace());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.next());
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.getEventType());
-        assertFalse(m_stream.isCharacters());
-
-        assertTrue(m_stream.hasNext());
-        assertEquals(XMLStreamConstants.END_DOCUMENT, m_stream.next());
-        assertEquals(XMLStreamConstants.END_DOCUMENT, m_stream.getEventType());
-//        assertFalse(m_stream.isWhiteSpace());
-
-        assertFalse(m_stream.hasNext());
-    }
-
-    /**
-     * Not Impl
-     * public void testNextTag() throws Exception {
-     * try{
-     * m_stream.nextTag();
-     * fail("shouldn't jump to next tag");
-     * }catch (IllegalStateException e){}
-     * <p/>
-     * cur = Public2.newStore();
-     * cur.toNextToken();
-     * <p/>
-     * cur.insertComment("cmt");
-     * cur.beginElement("foobar");
-     * cur.insertChars("   \n");
-     * cur.toNextToken();
-     * cur.insertProcInst("xml-foo","http://foo.org");
-     * cur.insertElement("foobar1");
-     * <p/>
-     * m_stream=cur.newXMLStreamReader();
-     * <p/>
-     * assertEquals ( XMLStreamConstants.START_ELEMENT, m_stream.nextTag());
-     * assertEquals("fooabar", m_stream.getLocalName());
-     * assertEquals ( XMLStreamConstants.END_ELEMENT, m_stream.nextTag());
-     * assertEquals("fooabar", m_stream.getLocalName());
-     * <p/>
-     * assertEquals ( XMLStreamConstants.START_ELEMENT, m_stream.nextTag());
-     * assertEquals("fooabar1", m_stream.getLocalName());
-     * assertEquals ( XMLStreamConstants.END_ELEMENT, m_stream.nextTag());
-     * assertEquals("fooabar1", m_stream.getLocalName());
-     * <p/>
-     * <p/>
-     * }
-     */
-
-
-    public void setUp() throws Exception {
-        cur = Public2.newStore();
-        cur.toNextToken();
-
-        cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"),
-                "val0");
-        cur.insertAttributeWithValue(new QName("", "at1", "pre"), "val1");
-        cur.insertNamespace("pre", "foons.bar.org");
-        cur.beginElement(new QName("foo.org", "foo", ""));
-        cur.insertAttribute("localName");
-        cur.insertChars("some text");
-        cur.toNextToken();
-        cur.toNextToken();//end elt
-        cur.insertProcInst("xml-stylesheet", "http://foobar");
-        cur.insertChars("\t");
-        cur.insertComment(" some comment ");
-
-        cur.toStartDoc();
-
-        m_stream = getStream(cur);
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-    private XMLStreamReader m_stream;
-    private XmlCursor cur;
-
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/common/NamespaceTest.java b/v2/test/src/xmlcursor/jsr173/common/NamespaceTest.java
deleted file mode 100755
index 2a1f603..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/NamespaceTest.java
+++ /dev/null
@@ -1,286 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.newstore2.Jsr173;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamConstants;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-
-
-/**
- * Methods tested
-  * getLocalName
- * getName
- * getNamespaceContext
- * getNamespaceCount
- * getNamespacePrefix
- * getNamespaceURI  x 3
- *  getPrefix
- *
-  *
- */
-public abstract class NamespaceTest extends TestCase{
-
-  //only valid at TAGs and ER
-    //TODO: ER
-
-    public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-    public void testGetLocalName() throws Exception{
-      try{
-          m_stream.getLocalName();
-         fail("no name at startdoc");
-      }catch (IllegalStateException e){}
-
-      m_stream.next();  m_stream.next();
-       assertEquals( XMLStreamConstants.START_ELEMENT, m_stream.next() );
-      assertEquals("foo",m_stream.getLocalName());
-       m_stream.next();
-      assertEquals( XMLStreamConstants.END_ELEMENT, m_stream.next() );
-          assertEquals("foo",m_stream.getLocalName());
-    }
-    public void testGetName(){
-        //test in Element--only valid for Element events
-    }
-
-      public void testGetPrefix()throws Exception{
-         assertEquals(XMLStreamConstants.START_DOCUMENT,
-                m_stream.getEventType());
-
-       try{
-        assertEquals( null, m_stream.getPrefix()  );
-           fail("no prefix here");
-       }catch (IllegalStateException e){}
-        //  assertFalse( m_stream.hasText() );
-         assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.next());
-         try{
-        assertEquals( null, m_stream.getPrefix()  );
-           fail("no prefix here");
-       }catch (IllegalStateException e){}
-
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-        try{
-        assertEquals( null, m_stream.getPrefix()  );
-           fail("no prefix here");
-       }catch (IllegalStateException e){}
-
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertEquals("",m_stream.getPrefix());
-
-        assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-       try{
-        assertEquals( null, m_stream.getPrefix()  );
-           fail("no prefix here");
-       }catch (IllegalStateException e){}
-
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals("",m_stream.getPrefix());
-        assertEquals(XMLStreamConstants.PROCESSING_INSTRUCTION, m_stream.next());
-          try{
-                assertEquals( null, m_stream.getPrefix()  );
-                   fail("no prefix here");
-               }catch (IllegalStateException e){}
-
-         assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-
-
-        assertEquals(XMLStreamConstants.COMMENT, m_stream.next());
-        try{
-        assertEquals( null, m_stream.getPrefix()  );
-           fail("no prefix here");
-       }catch (IllegalStateException e){}
-    }
-
-    /*@status inactive*/
-    public void testGetNamespaceContext() throws Exception{
-
-
-//        assertEquals(XMLStreamConstants.ATTRIBUTE, m_stream.next());
-//         assertEquals("", m_stream.getNamespaceContext().getNamespaceURI(""))  ;
-//        assertEquals("", m_stream.getNamespaceContext().getPrefix("foo.org"))  ;
-//          java.util.Iterator it= m_stream.getNamespaceContext().getPrefixes("foo.bar")  ;
-//
-          m_stream.next();
-          m_stream.next();
-          m_stream.next();
-
-          assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-     //   assertEquals("", m_stream.getNamespaceContext().getNamespaceURI(""))  ;
-        assertEquals("", m_stream.getNamespaceContext().getPrefix("foo.bar"))  ;
-        java.util.Iterator it= m_stream.getNamespaceContext().getPrefixes("foo.bar")  ;
-    }
-
-   /**
-    * only valid at Tags and NS decl
-    * @throws Exception
-    */
-
-    public void testGetNamespaceCount()throws Exception{
-          m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-         assertEquals( 1, m_stream.getNamespaceCount() )  ;
-
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-         assertEquals( 2, m_stream.getNamespaceCount() )  ;
-
-       //java.lang.IllegalStateException
-       // - if this is not a START_ELEMENT, END_ELEMENT or NAMESPACE
-          try{
-              assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-               m_stream.getNamespaceCount();
-              fail("can't do this on a txt node");
-          } catch (IllegalStateException e){}
-
-
-
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals( 2, m_stream.getNamespaceCount() )  ;
-
-       }
-    /**
-       * only valid at Tags and NS decl
-       * @throws Exception
-       */
-
-     public void testGetNamespacePrefix()throws Exception{
-          m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-         assertEquals( "pre0", m_stream.getNamespacePrefix(0) )  ;
-
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-         assertEquals( "pre", m_stream.getNamespacePrefix(0) )  ;
-         assertEquals( "pre1", m_stream.getNamespacePrefix(1) )  ;
-        //java.lang.IllegalStateException
-        // - if this is not a START_ELEMENT, END_ELEMENT or NAMESPACE
-
-          try{
-              assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-               assertEquals(XMLStreamConstants.CHARACTERS, m_stream.getEventType());
-               m_stream.getNamespacePrefix(0);
-              fail("can't do this on a txt node");
-          } catch (IllegalStateException e){}
-
-
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals( "pre", m_stream.getNamespacePrefix(0) )  ;
-         assertEquals( "pre1", m_stream.getNamespacePrefix(1) )  ;
-       }
-
-       public void testGetNamespacePrefixNeg()throws Exception{
-            m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-           try{
-         assertEquals( "", m_stream.getNamespacePrefix(-1) )  ;
-               fail("negative index");
-           }catch (java.lang.IndexOutOfBoundsException e){}
-
-       }
-
-    public void testGetNamespacePrefixLarge()throws Exception{
-            m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-        try{
-         assertEquals( "", m_stream.getNamespacePrefix(3) )  ;
-               fail("negative index");
-           }catch (java.lang.IndexOutOfBoundsException e){}
-
-       }
-
-           //3 methods here
-     public void testGetNamespaceURI()throws Exception{
-               m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-         assertEquals( "bea.com", m_stream.getNamespaceURI(0) )  ;
-
-         assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-         assertEquals( "foons.bar.org", m_stream.getNamespaceURI(0) )  ;
-         assertEquals( "foons1.bar1.org1", m_stream.getNamespaceURI(1) )  ;
-          try{
-              assertEquals(XMLStreamConstants.CHARACTERS, m_stream.next());
-               m_stream.getNamespaceURI(0);
-              fail("can't do this on a txt node");
-          } catch (IllegalStateException e){}
-
-
-        assertEquals(XMLStreamConstants.END_ELEMENT, m_stream.next());
-        assertEquals( "foons.bar.org", m_stream.getNamespaceURI(0) )  ;
-         assertEquals( "foons1.bar1.org1", m_stream.getNamespaceURI(1) )  ;
-       }
-
-      public void testGetNamespaceURINeg()throws Exception{
-            m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-           try{
-         assertEquals( "", m_stream.getNamespaceURI(-1) )  ;
-               fail("negative index");
-           }catch (java.lang.IndexOutOfBoundsException e){}
-
-       }
-
-    public void testGetNamespaceURILarge()throws Exception{
-            m_stream.next();
-         assertEquals(XMLStreamConstants.NAMESPACE, m_stream.next());
-        try{
-         assertEquals( "", m_stream.getNamespaceURI(3) )  ;
-               fail("negative index");
-           }catch (java.lang.IndexOutOfBoundsException e){}
-
-       }
-    public void setUp() throws Exception {
-              cur = Public2.newStore();
-              cur.toNextToken();
-
-              cur.insertAttributeWithValue(new QName("foo.org", "at0", "pre"),
-                      "val0");
-               cur.insertNamespace("pre0", "bea.com");
-
-              cur.beginElement(new QName("foo.org", "foo", ""));
-              cur.insertNamespace("pre", "foons.bar.org");
-              cur.insertNamespace("pre1", "foons1.bar1.org1");
-              cur.insertChars("some text");
-              cur.toNextToken();
-              cur.toNextToken();//end elt
-              cur.insertProcInst("xml-stylesheet", "http://foobar");
-              cur.insertChars("\t");
-            cur.insertComment(" some comment ");
-
-              cur.toStartDoc();
-
-              m_stream=getStream( cur );
-          }
-
-          public void tearDown() throws Exception {
-              if (m_stream != null)
-                  m_stream.close();
-          }
-
-          private XMLStreamReader m_stream;
-          private XmlCursor cur;
-
-}
-
diff --git a/v2/test/src/xmlcursor/jsr173/common/PITest.java b/v2/test/src/xmlcursor/jsr173/common/PITest.java
deleted file mode 100755
index ff21432..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/PITest.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.common;
-
-
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.apache.xmlbeans.impl.newstore2.Jsr173;
-
-import org.apache.xmlbeans.XmlCursor;
-
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamConstants;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.namespace.QName;
-
-import javax.xml.stream.XMLStreamConstants;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-/**
- * Methods tested:
- * getPIData
- * getPITarget
- *
- *
-  *
- */
-public abstract class PITest extends TestCase {
-
-    public abstract XMLStreamReader getStream(XmlCursor c)throws Exception;
-    public void testGetPiData() throws XMLStreamException {
-        assertEquals(XMLStreamConstants.PROCESSING_INSTRUCTION,
-                m_stream.next());
-        assertEquals("http://foobar", m_stream.getPIData());
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertEquals(null, m_stream.getPIData());
-    }
-
-    public void testGetPiTarget() throws XMLStreamException {
-        assertEquals(XMLStreamConstants.PROCESSING_INSTRUCTION,
-                m_stream.next());
-        assertEquals("xml-stylesheet", m_stream.getPITarget());
-        assertEquals(XMLStreamConstants.START_ELEMENT, m_stream.next());
-        assertEquals(null, m_stream.getPITarget());
-    }
-
-    public void setUp() throws Exception {
-        cur = Public2.newStore();
-        cur.toNextToken();
-        cur.insertProcInst("xml-stylesheet", "http://foobar");
-        cur.insertElement("foobar");
-        cur.toStartDoc();
-        m_stream = getStream( cur );
-    }
-
-    public void tearDown() throws Exception {
-        if (m_stream != null)
-            m_stream.close();
-    }
-
-    private XMLStreamReader m_stream;
-    private XmlCursor cur;
-
-}
-
-
diff --git a/v2/test/src/xmlcursor/jsr173/common/README.txt b/v2/test/src/xmlcursor/jsr173/common/README.txt
deleted file mode 100755
index a106030..0000000
--- a/v2/test/src/xmlcursor/jsr173/common/README.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Tests that verify JSR173 complience of XmlCursor implementation. 
-Testing on stream obtained through newXMLStreamReader method
-Unit Tests only
-
-JSR stream can be obtained from a cursor or a dom node,hence the 2 folders
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorAttributeTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorAttributeTest.java
deleted file mode 100755
index d33971a..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorAttributeTest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*   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.
- */
-package xmlcursor.jsr173.detailed;
-
-
-import junit.framework.*;
-import xmlcursor.jsr173.common.AttributeTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.w3c.dom.Node;
-/**
- *
- *
- */
-public  class CursorAttributeTest
-        extends AttributeTest {
-
-
-    public CursorAttributeTest(String s) {
-        super(s);
-    }
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorCharactersTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorCharactersTest.java
deleted file mode 100755
index c100f59..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorCharactersTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import xmlcursor.jsr173.common.CharactersTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-
-/**
- *
- *
- */
-public  class CursorCharactersTest
-        extends CharactersTest {
-
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorElementTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorElementTest.java
deleted file mode 100755
index ddad390..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorElementTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import junit.framework.*;
-import xmlcursor.jsr173.common.ElementTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.w3c.dom.Node;
-/**
- *
- *
- */
-public  class CursorElementTest
-        extends ElementTest {
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorGeneralMethodsTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorGeneralMethodsTest.java
deleted file mode 100755
index c73c597..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorGeneralMethodsTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import xmlcursor.jsr173.common.GeneralMethodsTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-/**
- *
- *
- */
-public  class CursorGeneralMethodsTest
-        extends GeneralMethodsTest {
-
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorIsXXXTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorIsXXXTest.java
deleted file mode 100755
index 008ef9c..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorIsXXXTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import xmlcursor.jsr173.common.IsXXXTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-/**
- *
- *
- */
-public class CursorIsXXXTest
-        extends IsXXXTest {
-
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorNamespaceTest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorNamespaceTest.java
deleted file mode 100755
index a22cf4f..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorNamespaceTest.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import xmlcursor.jsr173.common.NamespaceTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-/**
- *
- *
- */
-public  class CursorNamespaceTest
-        extends NamespaceTest {
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/CursorPITest.java b/v2/test/src/xmlcursor/jsr173/detailed/CursorPITest.java
deleted file mode 100755
index b5cb927..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/CursorPITest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*   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.
- */
-package xmlcursor.jsr173.detailed;
-
-
-import xmlcursor.jsr173.common.PITest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-/**
- *
- *
- */
-public  class CursorPITest
-        extends PITest {
-
-
-
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        return c.newXMLStreamReader();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/jsr173/detailed/DomAttributeTest.java b/v2/test/src/xmlcursor/jsr173/detailed/DomAttributeTest.java
deleted file mode 100755
index f716c9f..0000000
--- a/v2/test/src/xmlcursor/jsr173/detailed/DomAttributeTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.jsr173.detailed;
-
-
-import junit.framework.*;
-import xmlcursor.jsr173.common.AttributeTest;
-
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-import org.w3c.dom.Node;
-/**
- *
- * @status inactive
- */
-public  class DomAttributeTest
-        extends AttributeTest {
-
-
-    public DomAttributeTest(String s) {
-        super(s);
-    }
-    public  XMLStreamReader getStream(XmlCursor c)
-    throws Exception{
-        String xml=c.xmlText();
-        Node dom=Public2.parse(xml);//c.newDomNode();
-        //brutal hack since we can't get dom from the cursor and need
-        //to go via the saver
-        if (xml.startsWith("<xml-frag")){
-        dom=dom.getFirstChild();
-        dom=dom.getAttributes().item(0); }
-        return Public2.getStream(dom);
-    }
-
-      public static Test suite() {
-        return new TestSuite(DomAttributeTest.class);
-    }
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/xpath/CustomerTest.java b/v2/test/src/xmlcursor/xpath/CustomerTest.java
deleted file mode 100755
index bf638a9..0000000
--- a/v2/test/src/xmlcursor/xpath/CustomerTest.java
+++ /dev/null
@@ -1,159 +0,0 @@
-package xmlcursor.xpath;
-
-
-import java.io.*;
-import org.apache.xmlbeans.*;
-/**
- * @owner: ykadiysk
- * Date: Jun 7, 2004
- * Time: 11:21:47 AM
- */
-public class CustomerTest {
-
-   // public class XMLBeanXQueryTest {
-
-    static String sXml="<?xml version=\"1.0\"?>\n" +
-            "<!DOCTYPE book SYSTEM \"book.dtd\">\n" +
-            "\n" +
-            "<book>\n" +
-            "  <title>Data on the Web</title>\n" +
-            "  <author>Serge Abiteboul</author>\n" +
-            "  <author>Peter Buneman</author>\n" +
-            "  <author>Dan Suciu</author>\n" +
-            "  <section id=\"intro\" difficulty=\"easy\" >\n" +
-            "    <title>Introduction</title>\n" +
-            "    <p>Text ... </p>\n" +
-            "    <section>\n" +
-            "      <title>Audience</title>\n" +
-            "      <p>Text ... </p>\n" +
-            "    </section>\n" +
-            "    <section>\n" +
-            "      <title>Web Data and the Two Cultures</title>\n" +
-            "      <p>Text ... </p>\n" +
-            "      <figure height=\"400\" width=\"400\">\n" +
-            "        <title>Traditional client/server architecture</title>\n" +
-            "        <image source=\"csarch.gif\"/>\n" +
-            "      </figure>\n" +
-            "      <p>Text ... </p>\n" +
-            "    </section>\n" +
-            "  </section>\n" +
-            "  <section id=\"syntax\" difficulty=\"medium\" >\n" +
-            "    <title>A Syntax For Data</title>\n" +
-            "    <p>Text ... </p>\n" +
-            "    <figure height=\"200\" width=\"500\">\n" +
-            "      <title>Graph representations of structures</title>\n" +
-            "      <image source=\"graphs.gif\"/>\n" +
-            "    </figure>\n" +
-            "    <p>Text ... </p>\n" +
-            "    <section>\n" +
-            "      <title>Base Types</title>\n" +
-            "      <p>Text ... </p>\n" +
-            "    </section>\n" +
-            "    <section>\n" +
-            "      <title>Representing Relational Databases</title>\n" +
-            "      <p>Text ... </p>\n" +
-            "      <figure height=\"250\" width=\"400\">\n" +
-            "        <title>Examples of Relations</title>\n" +
-            "        <image source=\"relations.gif\"/>\n" +
-            "      </figure>\n" +
-            "    </section>\n" +
-            "    <section>\n" +
-            "      <title>Representing Object Databases</title>\n" +
-            "      <p>Text ... </p>\n" +
-            "    </section>\n" +
-            "  </section>\n" +
-            "</book>";
-
-
-    static String sXml1="<report>\n" +
-            "  <section>\n" +
-            "    <section.title>Procedure</section.title>\n" +
-            "     <section.content>\n" +
-            "      The patient was taken to the operating room where she was placed\n" +
-            "      in supine position and\n" +
-            "      </section.content> </section></report>";
-        public static void test_xpath(int id, String xml, String xpath) {
-     try {
-         System.out.println("\n====== test"+id+": "+xpath+" =======");
-         XmlObject xmlObj =  XmlObject.Factory.parse(xml);
-         XmlObject[] results = xmlObj.selectPath(xpath);
-         show_result(results);
-     } catch (Throwable e) {
-         e.printStackTrace();
-     }
-        }
-        public static void test_xquery(int id, String xmlFile, String xquery) {
-     try {
-         System.out.println("\n====== test"+id+": "+xquery+" =======");
-         XmlObject xmlObj =  XmlObject.Factory.parse(sXml);
-         XmlObject[] results = xmlObj.execQuery(xquery);
-         show_result(results);
-     } catch (Throwable e) {
-         e.printStackTrace();
-     }
-        }
-
-        private static void show_result(Object[] results) throws Throwable {
-     for (int i = 0; i < results.length; i++) {
-         Object node = results[i];
-         System.out.println("=> class: "+node.getClass()+", obj: "+node);
-     }
-        }
-        public static void test_xpath() {
-     System.out.println("\n====== xpath test =======");
-     /*
-     test_xpath(1, "xml/data/book.xml", "./book/section[@difficulty =
-    \"easy\"]");
-     test_xpath(2, "xml/data/book.xml", "./book/section");
-     test_xpath(3, "xml/data/report1.xml",
-    "./report/section/section.title[text() = \"Procedure\"]");
-     */
-   //  test_xpath(0, sXml, "./book/section");
-   //  test_xpath(1, sXml, "./book/section[@difficulty =\"easy\"]");
-     test_xpath(2, sXml1,
-    "./report/section/section.title[text() = \"Procedure\"]");
-   //  test_xpath(3, sXml1,
-   // "./report/section[section.title = \"Procedure\"]");
-
-     // this is not allowed in XPath(but it is OK for XQuery).
-     // test_xpath(4, "xml/data/report1.xml", "./report/section/section.title =\"Procedure\"");
-        }
-        public static void test_xquery() {
-     System.out.println("\n====== xquery test =======");
-     test_xquery(1, "xml/data/bib.xml", xquery1);
-     test_xquery(2, "xml/data/bib.xml", xquery2);
-        }
-        /*
-        static final String xquery1 = "for $b in ./bib/book "
-     +"  where $b/publisher[text() = \"Addison-Wesley\"] and $b[@year > 1992] "
-     +"return "
-     +"    <book year=\"{ $b/@year }\"> "
-     +"{ $b/title }"
-     +"</book>";
-        static final String xquery2 = "for $b in ./bib/book "
-     +"  where $b/publisher = \"Addison-Wesley\" and $b/@year > 1992 "
-     +"return "
-     +"    <book year=\"{ $b/@year }\"> "
-     +"{ $b/title }"
-     +"</book>";
-        */
-        static final String xquery1 = "for $b in $this/bib/book "
-     +"  where $b/publisher[text() = \"Addison-Wesley\"] and $b[@year > 1992] "
-     +"return "
-     +"    <book year=\"{ $b/@year }\"> "
-     +"{ $b/title }"
-     +"</book>";
-        static final String xquery2 = "for $b in $this/bib/book "
-     +"  where $b/publisher = \"Addison-Wesley\" and $b/@year > 1992 "
-     +"return "
-     +"    <book year=\"{ $b/@year }\"> "
-     +"{ $b/title }"
-     +"</book>";
-
-        public static void main(String[] args) {
-              test_xpath();
-            //  test_xquery();
-        }
-    }
-
-//}
diff --git a/v2/test/src/xmlcursor/xpath/common/BaseXPathTest.java b/v2/test/src/xmlcursor/xpath/common/BaseXPathTest.java
deleted file mode 100755
index b180e36..0000000
--- a/v2/test/src/xmlcursor/xpath/common/BaseXPathTest.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*   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.
- */
-package xmlcursor.xpath.common;
-
-import xmlcursor.common.BasicCursorTestCase;
-
-import java.util.HashMap;
-
-public abstract class BaseXPathTest extends BasicCursorTestCase {
-    protected HashMap testMap = new HashMap();
-
-    public BaseXPathTest(String sName) {
-        super(sName);
-        String[] add = new String[]{"//price[position()=0+1]"};
-        String[] sub = new String[]{"//price[position()=4-2]"};
-        String[] mult = new String[]{"//price[position()=2*1]"};
-        String[] div = new String[]{
-            "//price[ position()= last() div 2 ]",
-            "//price[ position()= 4 div 2 ]",
-            "//price[ position()=10 div 0 ]",
-            "//price[position()=round(22 div 7)-1]"
-        };
-
-        String[] mod = new String[]{
-            "//price[ position() mod 2 = 0 ]",
-            "//price[position() = 5 mod 3]"
-        };
-
-        String[] eq = new String[]{"//bar[price=5.00]"};
-
-        String[] eq_ns = new String[]{"//bar[price=3]"};
-
-        String[] neq = new String[]{"//bar[price!=3]"};
-
-        String[] lt = new String[]{"//bar[price < 2 ]"};
-        String[] lteq = new String[]{"//bar[price <=2 ]"};
-
-        String[] gt = new String[]{"//bar[price > 2 ]"};
-
-        String[] gteq = new String[]{"//bar[price >= 2 ]"};
-
-        String[] or = new String[]{"//price[text()>3 or @at=\"val1\"]"};
-
-        String[] and = new String[]{"//price[text()>2 and @at=\"val1\"]"};
-
-        testMap.put("testAddition", add);
-        testMap.put("testSubtraction", sub);
-        testMap.put("testMultiplication", mult);
-        testMap.put("testDiv", div);
-        testMap.put("testMod", mod);
-        testMap.put("testEqual", eq);
-        testMap.put("testEqualityNodeset", eq_ns);
-        testMap.put("testNotEqual", neq);
-        testMap.put("testLessThan", lt);
-        testMap.put("testLessOrEqual", lteq);
-        testMap.put("testGreaterThan", gt);
-        testMap.put("testGreaterOrEqual", gteq);
-        testMap.put("testOr", or);
-        testMap.put("testAnd", and);
-
-        testMap.put("testFunctionId", new String[]{
-                 "id(\"bobdylan\")",
-        "id(\"foobar\")",
-        "id(\"*\")/child::cd[position()=3]"}
-                );
-        testMap.put("testFunctionLast", new String[]{
-        "/catalog/cd[last()]"   });
-
-        testMap.put("testFunctionNamespaceURI", new String[]{
-        "//*[namespace-uri(.)=\"uri.org\"]"
-        });
-
-          testMap.put("testFunctionNumber",new String[]{
-                  "/foo/bar[number(price)+1=4]"});
-
-          testMap.put("testFunctionRound",new String[]{
-        "//bar[round(price)=3]"      });
-
-         testMap.put("testFunctionSum",new String[]{
-        "//bar[position()=sum(price)-4]"  });
-
-        testMap.put("testFunctionBoolean",new String[]{
-        "/foo[boolean(.//@at)]" });
-
-        testMap.put("testFunctionFalse",new String[]{
-        "//foo[boolean(price)=false()]"    });
-
-          testMap.put("testFunctionLang",new String[]{
-        "//price[xf:lang(\"en\")=true()]",
-        "//foo[xf:lang(\"en\")=true()]"}
-        );
-          testMap.put("testFunctionTrue",new String[]{
-        "//*[xf:boolean(@at)=true()]"  });
-    }
-
-    public abstract String getQuery(String testName, int testCase);
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathCommon.java b/v2/test/src/xmlcursor/xpath/common/XPathCommon.java
deleted file mode 100755
index 3d38e26..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathCommon.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import tools.xml.XmlComparator;
-import junit.framework.Assert;
-
-/**
- *
- * @author jacobd
- */
-public class XPathCommon {
-
-    public static void display(XmlObject[] rObj) {
-        XmlOptions xm = new XmlOptions();
-        xm.setSavePrettyPrint();
-        xm.setLoadStripWhitespace();
-
-        for (int i = 0; i < rObj.length; i++) {
-            System.out.println("[" + i + "] -- " + rObj[i].xmlText(xm));
-        }
-    }
-
-
-    public static String getPrint(XmlObject[] rObj) {
-        XmlOptions xm = new XmlOptions();
-        xm.setSavePrettyPrint();
-        xm.setLoadStripWhitespace();
-
-        StringBuffer st = new StringBuffer();
-        for (int i = 0; i < rObj.length; i++) {
-            st.append("[" + i + "] -- " + rObj[i].xmlText(xm));
-        }
-        return st.toString();
-    }
-
-    public static String getPrint(XmlCursor rObj) {
-        XmlOptions xm = new XmlOptions();
-        xm.setSavePrettyPrint();
-        xm.setLoadStripWhitespace();
-
-        StringBuffer st = new StringBuffer();
-        int i = 0;
-        while (rObj.toNextSelection()) {
-            st.append("[cursor-" + i + "] -- " + rObj.xmlText(xm));
-            i++;
-        }
-
-        return st.toString();
-    }
-
-    public static void display(XmlCursor rObj) {
-        XmlOptions xm = new XmlOptions();
-        xm.setSavePrettyPrint();
-        xm.setLoadStripWhitespace();
-
-        int i = 0;
-        while (rObj.toNextSelection()) {
-            System.err.println("[cursor-" + i + "] -- " + rObj.xmlText(xm));
-            i++;
-        }
-    }
-
-    private static void check(XmlCursor actual, XmlCursor expected) {
-        try {
-            XmlComparator.Diagnostic diag = new XmlComparator.Diagnostic();
-            boolean match = XmlComparator.lenientlyCompareTwoXmlStrings(actual.toString(), expected.toString(), diag);
-
-            Assert.assertTrue("***********************\nFound difference: \nactual=\n'" + actual +
-                              "'\nexpected=\n'" + expected + "'\ndiagnostic=" + diag, match);
-        } catch (XmlException e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    public static void compare(XmlObject rObj, XmlObject rSet) throws Exception{
-        check(rObj.newCursor(),rSet.newCursor());
-    }
-    public static void compare(XmlObject[] rObj, XmlObject[] rSet) throws Exception {
-
-        if (rObj.length != rSet.length)
-            throw new Exception("Comparison Failed\n " +
-                    "Actual Count: "+rObj.length +" Expected Count: "+rSet.length+"\n" +
-                    "Actual:"+getPrint(rObj)+"\nExpected:"+getPrint(rSet));
-
-        for (int i = 0; i < rObj.length; i++){
-            check(rObj[i].newCursor(), rSet[i].newCursor());
-        }
-        System.out.println("Test Passed");
-    }
-
-    public static void compare(XmlCursor rObj, XmlObject[] rSet) throws Exception {
-
-        if (rObj.getSelectionCount() != rSet.length) {
-            System.out.println("EXPECTED ==");
-            display(rSet);
-            System.out.println("ACTUAL ==");
-            display(rObj);
-
-            throw new Exception("Compare failure == Result Count was not equal to actual count\n" +
-                    "Actual Count: "+rObj.getSelectionCount() +" Expected Count: "+rSet.length+"\n" +
-                    "Actual:" + getPrint(rObj) + "\nExpected:" + getPrint(rSet));
-        }
-        int i = 0;
-        while (rObj.toNextSelection()) {
-            //System.out.println("[cursor-" + i + "] -- " + rObj.xmlText(xm));
-            //System.out.println("[Expected-" + i + "] -- " + rSet[i].xmlText(xm));
-
-            check(rObj, rSet[i].newCursor());
-            i++;
-        }
-
-        System.out.println("Test Passed");
-    }
-
-    public static void checkLength(XmlCursor rObj, int count) throws Exception{
-        if(rObj.getSelectionCount() != count){
-            throw new Exception("Length == Return Count was not equal\n"+
-                    "Cursor-Count: "+ rObj.getSelectionCount()+" Expected: "+count+"\n"+
-                    getPrint(rObj));
-        }
-    }
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathExpressionTest.java b/v2/test/src/xmlcursor/xpath/common/XPathExpressionTest.java
deleted file mode 100755
index 2c41686..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathExpressionTest.java
+++ /dev/null
@@ -1,278 +0,0 @@
-/*   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.
- */
-package xmlcursor.xpath.common;
-
-
-import org.apache.xmlbeans.XmlObject;
-
-import junit.framework.*;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-/**
- * Verifies XPath with Expressions
- * http://www.w3schools.com/xpath/xpath_expressions.asp
- * 
- *
- * @author jacobd
- */
-public abstract class XPathExpressionTest extends BaseXPathTest {
-
-    String sXml="<foo>" +
-            "<bar><price at=\"val0\">3.00</price>" +
-            "<price at=\"val1\">2</price></bar><bar1>3.00</bar1>" +
-            "</foo>";
-
-    public XPathExpressionTest(String sName) {
-        super(sName);
-    }
-
-
-    //("/catalog/cd[price>10.80]/price
-    //Numerical Expressions
-    /**
-     * + Addition 6 + 4 10
-     */
-    public void testAddition() throws Exception {
-	String sXpath=getQuery("testAddition",0);
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals("<price at=\"val0\">3.00</price>",m_xc.xmlText());
-    }
-    /**
-     * - Subtraction 6 - 4 2
-     */
-    public void testSubtraction() throws Exception {
-
-	String sXpath=getQuery("testSubtraction",0);
-	String sExpected="<price at=\"val1\">2</price>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-    /**
-     * \* Multiplication 6 * 4 24
-     */
-    public void testMultiplication() throws Exception {
-	String sXpath=getQuery("testMultiplication",0);
-	String sExpected="<price at=\"val1\">2</price>";
-	m_xc.selectPath(sXpath);
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-    /**
-     * div Division 8 div 4 2
-     * $NOTE: do a case where res is infinite (eg 10 div 3 or 22/7)
-     */
-    public void testDiv() throws Exception {
-
-	String sXpath=getQuery("testDiv",0); //get the second(last) price child
-	String sExpected="<price at=\"val0\">3.00</price>";
-	m_xc.selectPath(sXpath);
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-	m_xc.clearSelections();
-         m_xc.toStartDoc();
-
-
-	 sXpath=getQuery("testDiv",1); //get the second(last) price child
-	 sExpected="<price at=\"val1\">2</price>";
-	m_xc.selectPath(sXpath);
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-	m_xc.clearSelections();
-        m_xc.toStartDoc();
-
-
-	String sXpathZero=getQuery("testDiv",2);
-        try{
-            m_xc.selectPath(sXpathZero);
-            fail("Division by 0");
-        }catch (Exception e){}
-	assertEquals(0,m_xc.getSelectionCount());
-
-	m_xc.clearSelections();
-        m_xc.toStartDoc();
-
-
-	String sXpathInf=getQuery("testDiv",3);
-	m_xc.selectPath(sXpathInf);
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-    /**
-     * mod Modulus (division remainder) 5 mod 2 1
-     */
-    public void testMod() throws Exception {
-
-	String sXpath=getQuery("testMod",0); //get the second(last) price child
-	String sExpected="<price at=\"val1\">2</price>";
-
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-	m_xc.clearSelections();
-        m_xc.toStartDoc();
-
-
-	sXpath=getQuery("testMod",1); //get the second(last) price child
-
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-	String sXpathZero="10 mod 0";
-	m_xc.clearSelections();
-        m_xc.toStartDoc();
-	try{
-	    m_xc.selectPath(sXpathZero);
-            fail("Mod by 0");
-	}catch (Exception e){}
-	assertEquals(0,m_xc.getSelectionCount());
-
-    }
-
-    //Equality Expressions
-    /**
-     * = Like (equal) price=9.80 true (if price is 9.80)
-     */
-    public void testEqual() throws Exception {
-	String sXml="<foo><bar>" +
-                "<price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></bar><bar>" +
-                "<price>5.00</price></bar></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-	String sXpath=getQuery("testEqual",0);
-	String sExpected="<bar><price>5.00</price></bar>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-
-    //Existential semantics of equality in a node set
-    //check this--not sure how to create this test
-    public void testEqualityNodeset() throws Exception {
-	String sXpath=getQuery("testEqualityNodeset",0);
-	String sExpected="<bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-    /**
-     * != Not like (not equal) price!=9.80 false
-     */
-    public void testNotEqual() throws Exception {
-
-        assertEquals(0,m_xc.getSelectionCount());
-	String sXpath=getQuery("testNotEqual",0); //has to be double-comparison
-	String sExpected="<bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar>";
-	m_xc.selectPath(sXpath);
-        assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-        System.out.println(m_xc.xmlText());
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-
-    //Relational Expressions
-    /**
-     * < Less than price<9.80 false (if price is 9.80)
-     */
-    public void testLessThan() throws Exception {
-	String sXpath=getQuery("testLessThan",0);
-	m_xc.selectPath(sXpath);
-	assertEquals(0,m_xc.getSelectionCount());
-    }
-    /**
-     * <= Less or equal price<=9.80 true
-     */
-    public void testLessOrEqual() throws Exception {
-	String sXpath=getQuery("testLessOrEqual",0);
-	String sExpected="<bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-    /**
-     * > Greater than price>9.80 false
-     */
-    public void testGreaterThan() throws Exception {
-	String sXpath=getQuery("testGreaterThan",0);
-	String sExpected="<bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-    /**
-     * >= Greater or equal price>=9.80 true
-     */
-    public void testGreaterOrEqual() throws Exception {
-	String sXpath=getQuery("testGreaterOrEqual",0);
-	String sExpected="<bar>" +
-                "<price at=\"val0\">3.00</price><price at=\"val1\">2</price>" +
-                "</bar>";
-	m_xc.selectPath(sXpath);
-	assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-
-
-    //Boolean Expressions
-    /**
-     * or or price=9.80 or price=9.70 true (if price is 9.80)
-     */
-    public void testOr() throws Exception {
-	String sXpath=getQuery("testOr",0);
-	String sExpected="<price at=\"val1\">2</price>";
-	m_xc.selectPath(sXpath);
-        assertEquals(1,m_xc.getSelectionCount());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-    /**
-     * and and  price<=9.80 and price=9.70 false
-     */
-    public void testAnd() throws Exception {
-	String sXpath=getQuery("testAnd",0);
-
-	String sExpected="";
-	assertEquals(0,m_xc.getSelectionCount());
-	m_xc.selectPath(sXpath);
-	assertEquals(0,m_xc.getSelectionCount());
-
-    }
-
-
-    public void setUp()throws Exception{
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-    }
-
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathFunctionAuxTest.java b/v2/test/src/xmlcursor/xpath/common/XPathFunctionAuxTest.java
deleted file mode 100755
index 6cb8228..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathFunctionAuxTest.java
+++ /dev/null
@@ -1,215 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-import xmlcursor.common.BasicCursorTestCase;
-
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlException;
-import tools.util.JarUtil;
-
-import java.io.IOException;
-
-/**
- * Verifies XPath using functions
- * http://www.w3schools.com/xpath/xpath_functions.asp
- *
- * @status inactive
- */
-
-public class XPathFunctionAuxTest extends BasicCursorTestCase {
-    public XPathFunctionAuxTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XPathFunctionAuxTest.class);
-    }
-
-    static String fixPath(String path){
-        return "$this"+path;
-    }
-    public void testFunctionCount_caseB() throws Exception {
-	XmlObject xDoc = XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-									    "xbean/xmlcursor/xpath/cdcatalog.xml"));
-
-	String ex1Simple = "count(//cd)";
-        String ex1R1 = Common.XMLFRAG_BEGINTAG+"26"+Common.XMLFRAG_ENDTAG;
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1)};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(ex1Simple);
-        XPathCommon.display(x1);
-        XPathCommon.compare(x1, exXml1);
-        x1.dispose();
-    }
-
-     public void testFunctionConcat_caseB() throws Exception {
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String	sXPath="concat(name(//bar/*),//price/text())";
-	String sExpected="price3.00";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-     }
-
-     public void testFunctionStringLength_caseB() throws Exception {
-
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String	sXPath="string-length(name(//bar/*[last()]))";
-	String sExpected="price".length()+"";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-  }
-
-public void testFunctionSubString_caseB() throws Exception {
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String sXPath="substring(name(//bar/*),3,3)";
-	String sExpected="ice";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-
- public void testFunctionSubStringAfter_caseB() throws Exception {
-
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String sXPath="substring-after(name(//bar/*),'pr')";
-	String sExpected="ice";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-    }
-
- public void testFunctionSubStringBefore_caseB() throws Exception {
-
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String	sXPath="substring-before(name(//bar/*),'ice')";
-	String sExpected="pr";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-
- public void testFunctionTranslate_caseB() throws Exception {
-	String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String sXPath="translate(//bar/price/text(),'200','654')";//0 is now 5 &&4?
-	String sExpected="355";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-    }
-
- public void testFunctionNumber_caseB() throws Exception {
-	String sXml="<foo><bar><price at=\"val0\">3.00</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-	String	sXPath="number(//price/text())+10";
-	String sExpected="13.00";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-   }
-
-  public void testFunctionRound_caseB() throws Exception {
-	String sXml="<foo><bar><price at=\"val0\">3.15</price><price at=\"val1\">2.87</price></bar><bar1>3.00</bar1></foo>";
-	m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	String	sXPath="round(//bar/price[position()=1]/text())";
-	String sExpected="3";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-  }
-
-public void testFunctionSum_caseB() throws Exception {
-
-	 String sXml="<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-	 m_xc=XmlObject.Factory.parse(sXml).newCursor();
-
-	 String	sXPath="sum(//bar/price)";
-	String sExpected="5";
-	m_xc.selectPath(sXPath);
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-  }
-//
-
-  public void testFunctionBoolean_caseB() throws Exception {
-	m_xc.selectPath("boolean(//foo/text())");
-	m_xc.toNextSelection();
-	assertEquals("false",m_xc.xmlText());
-	m_xc.clearSelections();
-
-       //number
-       m_xc.selectPath("boolean(//price/text())");
-       m_xc.toNextSelection();
-       assertEquals("true",m_xc.xmlText());
-       m_xc.clearSelections();
-
-
-       //number
-       m_xc.selectPath("boolean(//price/text() div 0)");
-       m_xc.toNextSelection();
-       assertEquals("false",m_xc.xmlText());
-       m_xc.clearSelections();
-
-       //node-set
-       m_xc.selectPath("boolean(//price)");
-       m_xc.toNextSelection();
-       assertEquals("true",m_xc.xmlText());
-       m_xc.clearSelections();
-
-       m_xc.selectPath("boolean(//bar1)");
-       m_xc.toNextSelection();
-       assertEquals("false",m_xc.xmlText());
-       m_xc.clearSelections();
-
-   }
-
- public void testFunctionFalse_caseB() throws Exception {
-        m_xc=XmlObject.Factory.parse("<foo><price at=\"val0\">3.00</price></foo>").newCursor();
-	m_xc.selectPath("name(//*[boolean(text())=false()])");
-	String sExpected="foo";
-	m_xc.toNextSelection();
-	assertEquals(sExpected,m_xc.xmlText());
-
-   }
-}
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathFunctionTest.java b/v2/test/src/xmlcursor/xpath/common/XPathFunctionTest.java
deleted file mode 100755
index e22a350..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathFunctionTest.java
+++ /dev/null
@@ -1,610 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlException;
-import tools.util.JarUtil;
-import tools.xml.XmlComparator;
-
-import java.io.IOException;
-
-
-
-/**
- * Verifies XPath using functions
- * http://www.w3schools.com/xpath/xpath_functions.asp
- *
- * @author jacobd
- *
- *
-
- */
-public abstract class XPathFunctionTest extends BaseXPathTest {
-    public XPathFunctionTest(String sName) {
-        super(sName);
-    }
-
-
-    //
-    //    ***********************
-    //    Node Set Functions
-    //    http://www.w3.org/TR/xpath#section-Node-Set-Functions
-    //    Name Description Syntax
-    /**
-     *     count()
-     *      Returns the number of nodes in a node-set
-     *      number=count(node-set)
-     *
-     */
-
-    public void testFunctionCount() throws Exception {
-        System.out.println("====== Example-1 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar
-                (Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/cdcatalog.xml"));
-
-
-        String ex0Simple =getQuery("testFunctionCount",0) ;
-        String ex0Simple1 =getQuery("testFunctionCount",1) ;
-        System.out.println("Test 0: " + ex0Simple);
-        XmlCursor x0 = XmlObject.Factory.parse(
-                "<foo><cd>1</cd><cd>2</cd></foo>")
-                .newCursor();
-        XmlCursor x01 = x0.newCursor();
-        /* XmlCursor countCheck = x0.newCursor();
-           countCheck.selectPath("count(.//cd)");
-           countCheck.toNextSelection();
-           System.out.println(" Global count "+countCheck.xmlText());
-        */
-        String sExpectedResult = "<cd>2</cd>";
-
-        x01.selectPath(ex0Simple1);
-        assertEquals(1, x01.getSelectionCount());
-        x01.toNextSelection();
-        assertEquals(sExpectedResult, x01.xmlText());
-        x01.dispose();
-
-
-        x0.selectPath(ex0Simple);
-        XPathCommon.display(x0);
-        assertEquals(1, x0.getSelectionCount());
-        x0.toNextSelection();
-        //XPathCommon.compare(x0, new XmlObject[]{XmlObject.Factory.parse("<a>foo</a>")});
-        assertEquals(sExpectedResult, x0.xmlText());
-        x0.dispose();
-
-    }
-
-
-    /**
-     * id()
-     *      Selects elements by their unique ID
-     *      node-set=id(value)
-     */
-    /**
-     * email Dana-present in spec but not suported
-     *
-     * @status inactive
-     */
-    public void testFunctionId() throws Exception {
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/cdcatalog.xml"));
-
-        String ex1Simple =getQuery("testFunctionId",0) ;
-
-        String ex1R1 = "<cd id=\"bobdylan\">" +
-                "<title>Empire Burlesque</title>" +
-                "<artist>Bob Dylan</artist><country>USA</country>" +
-                "<company>Columbia</company><price>10.90</price>" +
-                "<year>1985</year></cd>";
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1)};
-
-        String ex2Simple = getQuery("testFunctionId",1);
-        String ex2R1 = "<cd/>";
-        XmlObject[] exXml2 = new XmlObject[]{XmlObject.Factory.parse(ex2R1)};
-
-        String ex3Simple = getQuery("testFunctionId",2);
-        String ex3R1 = "<cd id=\"id3\"><title>Greatest Hits</title><artist>Dolly Parton</artist><country>USA</country><company>RCA</company><price>9.90</price><year>1982</year></cd>";
-        XmlObject[] exXml3 = new XmlObject[]{XmlObject.Factory.parse(ex3R1)};
-
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(ex1Simple);
-        //XPathCommon.display(x1);
-        //assertEquals(1,x1.getSelectionCount());
-        XPathCommon.compare(x1, exXml1);
-        //assertEquals(ex1R1, x1.xmlText());
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(ex2Simple);
-        XPathCommon.display(x2);
-        XPathCommon.compare(x2, exXml2);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(ex3Simple);
-        XPathCommon.display(x3);
-        XPathCommon.compare(x3, exXml3);
-        x3.dispose();
-
-    }
-
-    /**
-     * last()
-     *      Returns the position number of the last node in the processed node list
-     *      number=last()
-     */
-
-    public void testFunctionLast() throws Exception {
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/cdcatalog.xml"));
-
-        String ex1Simple = getQuery("testFunctionLast",0);
-        String ex1Expanded = "";
-        String ex1R1 = "<cd>" +
-                "<title>Unchain my heart</title>" +
-                "<artist>Joe Cocker</artist><country>USA</country>" +
-                "<company>EMI</company><price>8.20</price>" +
-                "<year>1987</year></cd>";
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1)};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(ex1Simple);
-        XPathCommon.display(x1);
-        XPathCommon.compare(x1, exXml1);
-        x1.dispose();
-
-    }
-
-    /**
-     * local-name()
-     *      Returns the local part of a node. A node usually consists of a prefix, a colon, followed by the local name
-     *      string=local-name(node)
-     */
-
-    public void testFunctionLocalName() throws Exception {
-        String sXPath = getQuery("testFunctionLocalName",0);
-        String sXml = "<foo xmlns:pre=\"uri.org\">" +
-                "<pre:bar><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></pre:bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        String sExpected =
-                "<pre:bar xmlns:pre=\"uri.org\"><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></pre:bar>";
-
-        m_xc.selectPath(sXPath);
-        m_xc.toNextSelection();
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-    //
-    //    /**
-    //     * name()
-    //     *      Returns the name of a node
-    //     *      string=name(node)
-    //     */
-    //    public void testFunctionName() throws Exception {
-    // Zvon8
-    //    }
-    //
-    //    /**
-    //     * namespace-uri()
-    //     *      Returns the namespace URI of a specified node
-    //     *      uri=namespace-uri(node)
-    //     */
-
-    public void testFunctionNamespaceURI() throws Exception {
-        String sXPath = getQuery("testFunctionNamespaceURI",0);
-
-        String sXml = "<foo xmlns:pre=\"uri.org\">" +
-                "<pre:bar><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></pre:bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        String sExpected = "<pre:bar xmlns:pre=\"uri.org\">" +
-                "<price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></pre:bar>";
-        m_xc.selectPath(sXPath);
-        m_xc.toNextSelection();
-        assertEquals(sExpected, m_xc.xmlText());
-    }
-
-    //    /**
-    //     * position()
-    //     *      Returns the position in the node list of the node that is currently being processed
-    //     *      number=position()
-    //     */
-    //    public void testFunctionPosition() throws Exception {
-    //
-    //    }
-    //
-    //
-    //    ///   String Functions
-    //    //    http://www.w3.org/TR/xpath#section-String-Functions
-    //  /**
-    //     * concat()
-    //     *      Returns the concatenation of all its arguments string=concat(val1, val2, ..)
-    //     *      Example: concat('The',' ','XML') Result: 'The XML'
-    //     */
-
-    public void testFunctionConcat() throws Exception {
-
-        String sXPath=getQuery("testFunctionConcat",0);
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-         m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-    }
-
-
-    /**
-     * string()
-     *      Converts the value argument to a string
-     *      string(value)
-     *      Example:  string(314)    Result: '314'
-     */
-
-    public void testFunctionString() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">1</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-
-        String sXPath =getQuery("testFunctionString",0);
-        m_xc.selectPath(sXPath);
-       assertEquals(1,m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-
-        /*	m_xc.clearSelections();
-                sXPath="xf:concat(xf:string(//foo/bar/price[1]),xf:string(//foo/bar/price[last()]))";
-                String sExpected="03.00";
-                m_xc.selectPath(sXPath);
-                m_xc.toNextSelection();
-                assertEquals(sExpected,m_xc.xmlText());
-        */
-    }
-    //
-    //    /**
-    //     * string-length()
-    //     *      Returns the number of characters in a string
-    //     *      number=string-length(string)
-    //     *    Example: string-length('Beatles') Result: 7
-    //     */
-
-    public void testFunctionStringLength() throws Exception {
-
-
-        String sXml = "<foo><bar>" +
-                "<price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar>" +
-                "<bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath =  getQuery("testFunctionStringLength",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-        m_xc.clearSelections();
-    }
-
-
-    //
-    //    /**
-    //     * substring()
-    //     *      Returns a part of the string in the string argument
-    //     *      string=substring(string,start,length)
-    //     *    Example: substring('Beatles',1,4) Result: 'Beat'
-    //     */
-
-    public void testFunctionSubString() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath = getQuery("testFunctionSubString",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-
-        m_xc.clearSelections();
-        System.out.println(" Test 0 Pass==================");
-    }
-
-    //
-    //    /**
-    //     * substring-after()
-    //     *      Returns the part of the string in the string argument that occurs after the substring in the substr argument
-    //     *      string=substring-after(string,substr)
-    //     *      Example: substring-after('12/10','/') Result: '10'
-    //     */
-
-    public void testFunctionSubStringAfter() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath = getQuery("testFunctionSubStringAfter",0);
-                m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-
-    }
-
-    //
-    //    /**
-    //     * substring-before()
-    //     *      Returns the part of the string in the string argument that occurs before the substring in the substr argument
-    //     *      string=substring-before(string,substr)
-    //     *      Example: substring-before('12/10','/') Result: '12'
-    //     */
-
-    public void testFunctionSubStringBefore() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price>" +
-                "<price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath = getQuery("testFunctionSubStringBefore",0);
-                m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-    }
-
-    //
-    //    /**
-    //     * translate()
-    //     *      Performs a character by character replacement. It looks in the value argument for characters
-    //     *      contained in string1, and replaces each character for the one in the same position in the string2
-    //     *      string=translate(value,string1,string2)
-    //     *      Examples: translate('12:30','30','45') Result: '12:45'
-    //     *                translate('12:30','03','54') Result: '12:45'
-    //     *                translate('12:30','0123','abcd') Result: 'bc:da'
-    //     */
-
-    public void testFunctionTranslate() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price><price at=\"val1\">2</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        //TODO: is this a bug in XQRL
-        //I though result should be prepre
-        String sXPath =getQuery("testFunctionTranslate",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(2, m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-    }
-
-    //
-    //
-    //
-    //
-    //
-    ////    Number Functions
-    ////    http://www.w3.org/TR/xpath#section-Number-Functions
-    //    /**
-    //     * ceiling()
-    //     *      Returns the smallest integer that is not less than the number argument
-    //     *      number=ceiling(number)
-    //     *      Example: ceiling(3.14) Result: 4
-    //     */
-    //    public void testFunctionCeiling() throws Exception {
-    //
-    //    }
-    //
-    //    /**
-    //     * floor()
-    //     *      Returns the largest integer that is not greater than the number argument
-    //     *      number=floor(number)
-    //     *      Example: floor(3.14) Result: 3
-    //     */
-    //    public void testFunctionFloor() throws Exception {
-    //
-    //    }
-    //
-    //    /**
-    //     * number()
-    //     *      Converts the value argument to a number
-    //     *      number=number(value)
-    //     *      Example: number('100') Result: 100
-    //     */
-
-    public void testFunctionNumber() throws Exception {
-        String sXml = "<foo><bar><price at=\"val0\">3.00</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-        //really wanted . here...seems like number function doesn't
-        //recognize context?
-        String sXPath =getQuery("testFunctionNumber",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(1, m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-        m_xc.clearSelections();
-    }
-
-    //
-    //
-    //    /**
-    //     * round()
-    //     *      Rounds the number argument to the nearest integer
-    //     *      integer=round(number)
-    //     *      Example: round(3.14) Result: 3
-    //     */
-
-    public void testFunctionRound() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">3.15</price>" +
-                "<price at=\"val1\">2.87</price></bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath = getQuery("testFunctionRound",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(1, m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-        m_xc.clearSelections();
-    }
-
-    //
-    //    /**
-    //     * sum()
-    //     *      Returns the total value of a set of numeric values in a node-set
-    //     *      number=sum(nodeset)
-    //     *      Example: sum(/cd/price)
-    //     */
-
-    public void testFunctionSum() throws Exception {
-
-
-        String sXml = "<foo><bar><price at=\"val0\">" +
-                "3.00</price><price at=\"val1\">2</price>" +
-                "</bar><bar1>3.00</bar1></foo>";
-        m_xc = XmlObject.Factory.parse(sXml).newCursor();
-
-        String sXPath = getQuery("testFunctionSum",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(1, m_xc.getSelectionCount());
-
-        System.out.println(" Test 0 Pass==================");
-        m_xc.clearSelections();
-    }
-
-    //    ///**    Boolean Functions
-    //    // *    http://www.w3.org/TR/xpath#section-Boolean-Functions
-    /**
-     * boolean()
-     *      Converts the value argument to Boolean and returns true or false
-     *      bool=boolean(value)
-     * a number is true if and only if it is neither positive or negative zero nor NaN
-     * a node-set is true if and only if it is non-empty
-     * a string is true if and only if its length is non-zero
-     * an object of a type other than the four basic types is converted to a boolean in a way that is dependent on that type
-     */
-
-    public void testFunctionBoolean() throws Exception {
-        m_xc =
-                XmlObject.Factory.parse(
-                        "<foo><price at=\"val0\">3.00</price></foo>")
-                .newCursor();
-        String sXPath= getQuery("testFunctionBoolean",0);
-        m_xc.selectPath(sXPath);
-        m_xc.toNextSelection();
-        assertEquals(1, m_xc.getSelectionCount());
-    }
-
-    //
-    /**
-     * false()
-     *      Returns false false()
-     *    Example: number(false()) Result: 0
-     */
-
-    public void testFunctionFalse() throws Exception {
-        m_xc =
-                XmlObject.Factory.parse(
-                        "<foo><price at=\"val0\">3.00</price></foo>")
-                .newCursor();
-          String sXPath= getQuery("testFunctionFalse",0);
-        m_xc.selectPath(sXPath);
-        assertEquals(0, m_xc.getSelectionCount());
-
-    }
-
-
-    /**
-     * lang()
-     *      Returns true if the language argument matches the language of the the
-     *      xsl:lang element, otherwise it returns false
-     *      bool=lang(language)
-     */
-    /**
-     * email Dana-present in spec but not suported
-     *
-     *
-     */
-    public void testFunctionLang() throws Exception {
-        m_xc =
-                XmlObject.Factory.parse(
-                        "<foo><div xml:lang=\"en\"><para/><price at=\"val0\">3.00</price></div></foo>")
-                .newCursor();
-          String sXPath= getQuery("testFunctionLang",1);
-        m_xc.selectPath(sXPath);
-        String sExpected = "<price at=\"val0\">3.00</price>";
-        m_xc.toNextSelection();
-        assertEquals(sExpected, m_xc.xmlText());
-        m_xc.clearSelections();
-
-        sXPath= getQuery("testFunctionLang",1);
-        m_xc.selectPath(sXPath);
-        assertEquals(0, m_xc.getSelectionCount());
-    }
-    //
-    //    /**
-    //     * not()
-    //     *      Returns true if the condition argument is false,
-    //     *      and false if the condition argument is true
-    //     *      bool=not(condition)
-    //     *    Example: not(false())
-    //     */
-    //    public void testFunctionNot() throws Exception {
-    //
-    //    }
-    //
-    //    /**
-    //     * true()
-    //     *      Returns true
-    //     *      true()
-    //     *    Example: number(true()) Result: 1
-    //     */
-
-    public void testFunctionTrue() throws Exception {
-        m_xc =
-                XmlObject.Factory.parse(
-                        "<foo><price at=\"val0\">3.00</price></foo>")
-                .newCursor();
-
-        String sXPath= getQuery("testFunctionTrue",0);
-        m_xc.selectPath(sXPath);
-        String sExpected = "<price at=\"val0\">3.00</price>";
-        m_xc.toNextSelection();
-        assertEquals(sExpected, m_xc.xmlText());
-
-    }
-
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathLocationTest.java b/v2/test/src/xmlcursor/xpath/common/XPathLocationTest.java
deleted file mode 100755
index 945a967..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathLocationTest.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-import xmlcursor.common.BasicCursorTestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * Verifies XPath with locations
- * http://www.w3schools.com/xpath/xpath_location.asp
- *
- *
- * @status inactive
- * @author jacobd
- */
-public class XPathLocationTest extends BasicCursorTestCase {
-
-    public XPathLocationTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XPathLocationTest.class);
-    }
-
-   //Axes and Node Tests
-    /**
-     * ancestor
-     *      Contains all ancestors (parent, grandparent, etc.) of the current node
-     *      Note: This axis will always include the root node, unless the current
-     *      node is the root node
-     */
-    public void testLocationAncestor() throws Exception {
-	//tested by zvon
-    }
-
-    /**
-     * ancestor-or-self
-     *      Contains the current node plus all its ancestors (parent, grandparent, etc.)
-     */
-    public void testLocationAncestorOrSelf() throws Exception {
-	//tested by zvon???
-    }
-
-    /**
-     * attribute
-     *      Contains all attributes of the current node
-     */
-    public void testLocationAttribute() throws Exception {
-
-    }
-    /**
-     * child
-     *      Contains all children of the current node
-     */
-    public void testLocationChild() throws Exception {
-
-    }
-    /**
-     * descendant
-     *      Contains all descendants (children, grandchildren, etc.) of the current node
-     *      Note: This axis never contains attribute or namespace nodes
-     */
-    public void testLocationDescendant() throws Exception {
-
-    }
-    /**
-     * descendant-or-self
-     *      Contains the current node plus all its descendants (children, grandchildren, etc.)
-     */
-    public void testLocationDescendantOrSelf() throws Exception {
-
-    }
-    /**
-     * following
-     *      Contains everything in the document after the closing tag of the current node
-     */
-    public void testLocationFollowing() throws Exception {
-
-    }
-    /**
-     * following-sibling
-     *      Contains all siblings after the current node
-     *      Note: If the current node is an attribute node or namespace node,
-     *      this axis will be empty
-     */
-    public void testLocationFollowingSibling() throws Exception {
-
-    }
-    /**
-     * namespace
-     *      Contains all namespace nodes of the current node
-     */
-    public void testLocationNamespace() throws Exception {
-
-    }
-    /**
-     * parent
-     *      Contains the parent of the current node
-     */
-    public void testLocationParent() throws Exception {
-
-    }
-    /**
-     * preceding
-     *      Contains everything in the document that is before the starting tag
-     *      of the current node
-     */
-    public void testLocationPreceding() throws Exception {
-
-    }
-    /**
-     * preceding-sibling
-     *      Contains all siblings before the current node
-     *      Note: If the current node is an attribute node or namespace node,
-     *      this axis will be empty
-     */
-    public void testLocationPrecedingSibling() throws Exception {
-
-    }
-    /**
-     * self
-     *      Contains the current node
-     */
-    public void testLocationSelf() throws Exception {
-
-    }
-
-
-    ////Predicates
-    ///**
-    // *
-    // */
-    //public void testLocation() throws Exception {
-    //
-    //}
-    //
-    ////Location Path Abbreviated Syntax
-    ///**
-    // *
-    // */
-    //public void testLocation() throws Exception {
-    //
-    //}
-
-
-
-
-
-
-
-
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathNodetestTest.java b/v2/test/src/xmlcursor/xpath/common/XPathNodetestTest.java
deleted file mode 100755
index 4e4445d..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathNodetestTest.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.*;
-
-
-/**
- * Verifies XPath nodetest functions
- *
- *
- * @author ykadiysk
- */
-public class XPathNodetestTest extends BasicCursorTestCase {
-
-
-
-    public XPathNodetestTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XPathNodetestTest.class);
-    }
-
-
-     static String fixPath(String path){
-        return "."+path;
-     }
-
-
-    public void testAllNodes(){
-	//e.g //A/B/*: tested by Zvon
-    }
-
-    public void testComment()throws Exception {
-	String sXml=Common.XML_FOO_NS_PREFIX;
-	m_xc= XmlObject.Factory.parse(sXml).newCursor();
-	String sExpected=Common.XMLFRAG_BEGINTAG+"<!-- the 'price' element's namespace is http://ecommerce.org/schema -->"+Common.XMLFRAG_ENDTAG;//the comment string
-	String sXPath="//comment()";
-	m_xc.selectPath(fixPath(sXPath));
-	m_xc.toNextSelection();
-	assertEquals(m_xc.xmlText(),sExpected );
-    }
-
-    public void testNode()throws Exception{
-	String sInput="<foo> <node>foo</node>txt</foo>";
-	m_xc= XmlObject.Factory.parse(sInput).newCursor();
-	String sXPath="//foo/node()";
-	String[] sExpected=new String[]{Common.XMLFRAG_BEGINTAG+" "+Common.XMLFRAG_ENDTAG,"<node>foo</node>",Common.XMLFRAG_BEGINTAG+"txt"+Common.XMLFRAG_ENDTAG};
-	m_xc.selectPath(fixPath(sXPath));
-	int i=0;
-	if (m_xc.getSelectionCount()!=sExpected.length)
-	    fail("node() failed");
-	while(m_xc.hasNextSelection()){
-	    m_xc.toNextSelection();
-	    assertEquals(m_xc.xmlText(),sExpected[i++]);
-	}
-
-    }
-
-    public void testPI()throws Exception{
-	String sInput=Common.XML_FOO_PROCINST;
-	m_xc= XmlObject.Factory.parse(sInput).newCursor();
-	String sXPath1="//processing-instruction()";
-	String sXPath2="//processing-instruction(\"xml-stylesheet\")";
-	String sXPath3="//processing-instruction(\"xsl\")";
-	String sExpected1=Common.XMLFRAG_BEGINTAG+"<?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?>"+Common.XMLFRAG_ENDTAG;
-	String sExpected2="";
-	m_xc.selectPath(fixPath(sXPath1));
-	assertEquals(m_xc.getSelectionCount(),1);
-	m_xc.toNextSelection();
-	assertEquals(m_xc.xmlText(),sExpected1);
-
-
-	m_xc.clearSelections();
-	m_xc.selectPath(fixPath(sXPath2));
-	assertEquals(m_xc.xmlText(),sExpected1);
-
-	m_xc.clearSelections();
-	//shouldn't select any nodes
-	m_xc.selectPath(fixPath(sXPath3));
-	assertEquals(m_xc.getSelectionCount(),0);
-
-    }
-
-    public void testText()throws Exception{
-	String sInput="<?xml-stylesheet type=\"text/xsl\" xmlns=\"http://openuri.org/shipping/\"?><br>foo<foo>text</foo></br>";
-	m_xc= XmlObject.Factory.parse(sInput).newCursor();
-	String sXPath="$this//text()";
-	String sExpected1=Common.XMLFRAG_BEGINTAG+"foo"+Common.XMLFRAG_ENDTAG;
-	String sExpected2=Common.XMLFRAG_BEGINTAG+"text"+Common.XMLFRAG_ENDTAG;
-	m_xc.selectPath(sXPath);
-	assertEquals(m_xc.getSelectionCount(),2);
-	m_xc.toNextSelection();
-	assertEquals(m_xc.xmlText(),sExpected1);
-	m_xc.toNextSelection();
-	assertEquals(m_xc.xmlText(),sExpected2);
-    }
-}
-
-
diff --git a/v2/test/src/xmlcursor/xpath/common/XPathTest.java b/v2/test/src/xmlcursor/xpath/common/XPathTest.java
deleted file mode 100755
index 7af974c..0000000
--- a/v2/test/src/xmlcursor/xpath/common/XPathTest.java
+++ /dev/null
@@ -1,1331 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.common;
-
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlException;
-import tools.util.JarUtil;
-import tools.xml.XmlComparator;
-
-import java.io.IOException;
-
-/**
- * Verifies XPath impl using examples from
- * http://www.zvon.org/xxl/XPathTutorial/Output/example1.html
- * includes expanded notations as well
- *
- * @author jacobd
- *         Date: Dec 8, 2003
- *
- *
- */
-public class XPathTest extends BasicCursorTestCase {
-    public XPathTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XPathTest.class);
-    }
-
-    static String fixPath(String path) {
-        return "$this" + path;
-    }
-
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample1() throws Exception {
-        System.out.println("====== Example-1 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon1.xml"));
-
-        String ex1Simple = "/AAA";
-        String ex1Expanded = "";
-
-        String ex1R1 = "<AAA><BBB/><CCC/><BBB/><BBB/><DDD><BBB/></DDD><CCC/></AAA>";
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1)};
-
-        String ex2Simple = "/AAA/CCC";
-        String ex2Expanded = "";
-
-        String ex2R1 = "<CCC/>";
-
-        XmlObject[] exXml2 = new XmlObject[]{XmlObject.Factory.parse(ex2R1),
-                                             XmlObject.Factory.parse(ex2R1)};
-
-
-        String ex3Simple = "/AAA/DDD/BBB";
-        String ex3Expanded = "";
-
-        //<BBB/><CCC/></AAA>
-        String ex3R1 = "<BBB/>";
-        XmlObject[] exXml3 = new XmlObject[]{XmlObject.Factory.parse(ex3R1)};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        XPathCommon.compare(x1, exXml1);
-        x1.dispose();
-
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        XPathCommon.compare(x2, exXml2);
-        x2.dispose();
-
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        XPathCommon.compare(x3, exXml3);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample2() throws Exception {
-        System.out.println("====== Example-2 ==========");
-
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon2.xml"));
-        String ex1Simple = "//BBB";
-        String ex1Expanded = "";
-
-        String ex1R1 = "<BBB/>"; // * 5
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1)};
-
-        String ex2Simple = "//DDD/BBB";
-        String ex2Expanded = "";
-        XmlObject[] exXml2 = new XmlObject[]{XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1)};
-
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        XPathCommon.compare(x1, exXml1);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        XPathCommon.compare(x2, exXml2);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample3() throws Exception {
-        System.out.println("====== Example-3 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon3.xml"));
-        String ex1Simple = "/AAA/CCC/DDD/*";
-        String ex1R1 = "<BBB/>"; // * 5
-        String ex1R2 = "<EEE/>";
-        String ex1R3 = "<FFF/>";
-
-        XmlObject[] exXml1 = new XmlObject[]{XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R1),
-                                             XmlObject.Factory.parse(ex1R2),
-                                             XmlObject.Factory.parse(ex1R3)};
-        String ex2Simple = "/*/*/*/BBB";
-        String ex2R1 = "<BBB/>"; // * 5
-        String ex2R2 = "<BBB><BBB/></BBB>";
-        XmlObject[] exXml2 = new XmlObject[]{XmlObject.Factory.parse(ex2R1),
-                                             XmlObject.Factory.parse(ex2R1),
-                                             XmlObject.Factory.parse(ex2R1),
-                                             XmlObject.Factory.parse(ex2R1),
-                                             XmlObject.Factory.parse(ex2R2)};
-        String ex3Simple = "//*";
-       /* String ex3R0 = "<AAA><XXX><DDD><BBB/><BBB/><EEE/><FFF/></DDD></XXX><CCC><DDD><BBB/><BBB/><EEE/><FFF/></DDD></CCC><CCC><BBB><BBB><BBB/></BBB></BBB></CCC></AAA>";
-        String ex3R1 = "<XXX><DDD><BBB/><BBB/><EEE/><FFF/></DDD></XXX>";
-        String ex3R2 = "<CCC><DDD><BBB/><BBB/><EEE/><FFF/></DDD></CCC>";
-        String ex3R3 = "<CCC><BBB><BBB><BBB/></BBB></BBB></CCC>";
-        String ex3R4 = "<DDD><BBB/><BBB/><EEE/><FFF/></DDD>";
-        String ex3R5 = "<DDD><BBB/><BBB/><EEE/><FFF/></DDD>";
-        String ex3R6 = "<BBB><BBB><BBB/></BBB></BBB>";
-        String ex3R7 = "<BBB/>";
-        String ex3R8 = "<BBB/>";
-        String ex3R9 = "<EEE/>";
-        String ex3R10 = "<FFF/>";
-        String ex3R11 = "<BBB/>";
-        String ex3R12 = "<BBB/>";
-        String ex3R13 = "<EEE/>";
-        String ex3R14 = "<FFF/>";
-        String ex3R15 = "<BBB><BBB/></BBB>";
-        String ex3R16 = "<BBB/>";
-       */
-        //according to Galax the document order is :
-        String ex3R0 = "<AAA><XXX><DDD><BBB/><BBB/><EEE/><FFF/></DDD></XXX><CCC><DDD><BBB/><BBB/><EEE/><FFF/></DDD></CCC><CCC><BBB><BBB><BBB/></BBB></BBB></CCC></AAA>";
-        String ex3R1 = "<XXX><DDD><BBB/><BBB/><EEE/><FFF/></DDD></XXX>";
-
-        String ex3R2 = "<DDD><BBB/><BBB/><EEE/><FFF/></DDD>";
-        String ex3R3 = "<BBB/>";
-        String ex3R4 = "<BBB/>";
-        String ex3R5 = "<EEE/>";
-        String ex3R6 = "<FFF/>";
-        String ex3R7 = "<CCC><DDD><BBB/><BBB/><EEE/><FFF/></DDD></CCC>";
-
-        String ex3R8 = "<DDD><BBB/><BBB/><EEE/><FFF/></DDD>";
-
-        String ex3R9= "<BBB/>";
-        String ex3R10 = "<BBB/>";
-        String ex3R11 = "<EEE/>";
-        String ex3R12 = "<FFF/>";
-        String ex3R13 = "<CCC><BBB><BBB><BBB/></BBB></BBB></CCC>";
-        String ex3R14 = "<BBB><BBB><BBB/></BBB></BBB>";
-        String ex3R15 = "<BBB><BBB/></BBB>";
-        String ex3R16 = "<BBB/>";
-        XmlObject[] exXml3 = new XmlObject[]{XmlObject.Factory.parse(ex3R0),
-                                             XmlObject.Factory.parse(ex3R1),
-                                             XmlObject.Factory.parse(ex3R2),
-                                             XmlObject.Factory.parse(ex3R3),
-                                             XmlObject.Factory.parse(ex3R4),
-                                             XmlObject.Factory.parse(ex3R5),
-                                             XmlObject.Factory.parse(ex3R6),
-                                             XmlObject.Factory.parse(ex3R7),
-                                             XmlObject.Factory.parse(ex3R8),
-                                             XmlObject.Factory.parse(ex3R9),
-                                             XmlObject.Factory.parse(ex3R10),
-                                             XmlObject.Factory.parse(ex3R11),
-                                             XmlObject.Factory.parse(ex3R12),
-                                             XmlObject.Factory.parse(ex3R13),
-                                             XmlObject.Factory.parse(ex3R14),
-                                             XmlObject.Factory.parse(ex3R15),
-                                             XmlObject.Factory.parse(ex3R16)};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, exXml1);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, exXml2);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        System.out.println(x3.xmlText());
-        XPathCommon.compare(x3, exXml3);
-        x3.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample4() throws Exception {
-        System.out.println("====== Example-4 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon4.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/BBB[1]";
-        String ex2Simple = "/AAA/BBB[last()]";
-        String exR = "<BBB/>";
-        XmlObject[] exXml = new XmlObject[]{XmlObject.Factory.parse(exR)};
-
-
-        System.out.println("Test 1: " + fixPath(ex1Simple));
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, exXml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, exXml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample5() throws Exception {
-        System.out.println("====== Example-5 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon5.xml"));
-        XmlCursor xc = xDoc.newCursor();
-
-        String ex1Simple = "//@id";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<xml-fragment id=\"b1\"/>"),
-            XmlObject.Factory.parse("<xml-fragment id=\"b2\"/>")};
-
-        String ex2Simple = "//BBB[@id]";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB id = \"b1\"/>"),
-            XmlObject.Factory.parse("<BBB id = \"b2\"/>")};
-
-        String ex3Simple = "//BBB[@name]";
-        XmlObject[] ex3Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB name=\"bbb\"/>")};
-
-        String ex4Simple = "//BBB[@*]";
-        XmlObject[] ex4Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB id = \"b1\"/>"),
-            XmlObject.Factory.parse("<BBB id = \"b2\"/>"),
-            XmlObject.Factory.parse("<BBB name=\"bbb\"/>")};
-
-        String ex5Simple = "//BBB[not(@*)]";
-        XmlObject[] ex5Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB/>"),
-             XmlObject.Factory.parse("<BBB/>")
-        };
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-
-        System.out.println("Test 4: " + ex4Simple);
-        XmlCursor x4 = xDoc.newCursor();
-        x4.selectPath(fixPath(ex4Simple));
-        //XPathCommon.display(x4);
-        XPathCommon.compare(x4, ex4Xml);
-        x4.dispose();
-
-        System.out.println("Test 5: " + ex5Simple);
-        XmlCursor x5 = xDoc.newCursor();
-        x5.selectPath(fixPath(ex5Simple));
-        //XPathCommon.display(x5);
-        XPathCommon.compare(x5, ex5Xml);
-
-        x5.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample6() throws Exception {
-        System.out.println("====== Example-16 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon6.xml"));
-        XmlCursor xc = xDoc.newCursor();
-
-        String ex1Simple = "//BBB[@id='b1']";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB id = \"b1\"/>")};
-
-        String ex2Simple = "//BBB[@name='bbb']";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB name=\"bbb\"/>")};
-        String ex3Simple = "//BBB[normalize-space(@name)='bbb']";
-        XmlObject[] ex3Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB name=\" bbb \"/>")
-                                             ,
-            XmlObject.Factory.parse("<BBB name=\"bbb\"/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample7() throws Exception {
-        System.out.println("====== Example-7 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon7.xml"));
-        XmlCursor xc = xDoc.newCursor();
-
-        String ex1Simple = "//*[count(BBB)=2]";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<DDD><BBB/><BBB/></DDD>")};
-        String ex2Simple = "//*[count(*)=2]";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<DDD><BBB/><BBB/></DDD>"),
-            XmlObject.Factory.parse("<EEE><CCC/><DDD/></EEE>")};
-        String ex3Simple = "//*[count(*)=3]";
-        XmlObject[] ex3Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<AAA><CCC><BBB/><BBB/><BBB/></CCC><DDD><BBB/><BBB/></DDD><EEE><CCC/><DDD/></EEE></AAA>"),
-            XmlObject.Factory.parse("<CCC><BBB/><BBB/><BBB/></CCC>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample8() throws Exception {
-        System.out.println("====== Example-8 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon8.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "//*[xf:get-local-name-from-QName(xf:node-name(.))='BBB']";
-        XmlObject[] ex1Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-        };
-        String ex2Simple = "//*[xf:starts-with(" +
-                "xf:get-local-name-from-QName(xf:node-name(.))" +
-                ",'B')]";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BCC><BBB/><BBB/><BBB/></BCC>"),
-            XmlObject.Factory.parse("<BBB/>"),
-            XmlObject.Factory.parse("<BBB/>"),
-            XmlObject.Factory.parse("<BBB/>"),
-            XmlObject.Factory.parse("<BBB/>"),
-            XmlObject.Factory.parse("<BBB/>"),
-            XmlObject.Factory.parse("<BEC><CCC/><DBD/></BEC>")};
-
-        /**ykadiysk: Jaxen prints in BF left-to-right order
-         * but XPath wants doc order
-         XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<BCC><BBB/><BBB/><BBB/></BCC>"),
-
-         XmlObject.Factory.parse("<BBB/>"),
-         XmlObject.Factory.parse("<BBB/>"),
-         XmlObject.Factory.parse("<BEC><CCC/><DBD/></BEC>"),
-         XmlObject.Factory.parse("<BBB/>"),
-         XmlObject.Factory.parse("<BBB/>"),
-         XmlObject.Factory.parse("<BBB/>")};
-         */
-
-        String ex3Simple = "//*[xf:contains(" +
-                "xf:get-local-name-from-QName(xf:node-name(.))" +
-                ",'C')]";
-        XmlObject[] ex3Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BCC><BBB/><BBB/><BBB/></BCC>"),
-            XmlObject.Factory.parse("<BEC><CCC/><DBD/></BEC>"),
-            XmlObject.Factory.parse("<CCC/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        System.out.println("Zvon8 Test 2");
-        XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample9() throws Exception {
-        System.out.println("====== Example-9 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon9.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "//*[xf:string-length(" +
-                "xf:get-local-name-from-QName(xf:node-name(.))" +
-                ") = 3]";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<AAA><Q/><SSSS/><BB/><CCC/><DDDDDDDD/><EEEE/></AAA>"),
-            XmlObject.Factory.parse("<CCC/>")};
-        String ex2Simple = "//*[xf:string-length(" +
-                "xf:get-local-name-from-QName(xf:node-name(.)))" +
-                " < 3]";
-        XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<Q/>"),
-                                             XmlObject.Factory.parse("<BB/>")};
-        String ex3Simple = "//*[xf:string-length(xf:get-local-name-from-QName(xf:node-name(.))) > 3]";
-        XmlObject[] ex3Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<SSSS/>"),
-            XmlObject.Factory.parse("<DDDDDDDD/>"),
-            XmlObject.Factory.parse("<EEEE/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample10() throws Exception {
-        System.out.println("====== Example-10 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon10.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "$this//CCC | $this//BBB";
-        //document order
-        XmlObject[] ex1Xml = new XmlObject[]{
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<CCC/>"),
-                                             XmlObject.Factory.parse("<CCC/>")
-
-        };
-        // Nodes are returned in document order
-        String ex2Simple = "$this/AAA/EEE | $this//BBB";
-
-        //Galax confirms this order
-        XmlObject[] ex2Xml = new XmlObject[]{
-                                            XmlObject.Factory.parse("<EEE/>") ,
-                                             XmlObject.Factory.parse("<BBB/>")
-
-        };
-
-        String ex3Simple = "./AAA/EEE |.//DDD/CCC | ./AAA | .//BBB";
-        XmlObject[] ex3Xml = new XmlObject[]{XmlObject.Factory.parse("<EEE/>"),
-                                             XmlObject.Factory.parse("<CCC/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<AAA><BBB/><CCC/><DDD><CCC/></DDD><EEE/></AAA>"),
-                                             XmlObject.Factory.parse("<BBB/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(ex1Simple);
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(ex2Simple);
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample11() throws Exception {
-        System.out.println("====== Example-11 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon11.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<AAA><BBB/><CCC/></AAA>")};
-
-        String ex2Simple = "/child::AAA";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<AAA><BBB/><CCC/></AAA>")};
-
-        String ex3Simple = "/AAA/BBB";
-        XmlObject[] ex3Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>")};
-
-        String ex4Simple = "/child::AAA/child::BBB";
-        XmlObject[] ex4Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>")};
-
-        String ex5Simple = "/child::AAA/BBB";
-        XmlObject[] ex5Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>")};
-
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-
-        System.out.println("Test 4: " + ex4Simple);
-        XmlCursor x4 = xDoc.newCursor();
-        x4.selectPath(fixPath(ex4Simple));
-        XPathCommon.display(x4);
-        XPathCommon.display(ex4Xml);
-        XPathCommon.compare(x4, ex4Xml);
-        x4.dispose();
-
-        System.out.println("Test 5: " + ex5Simple);
-        XmlCursor x5 = xDoc.newCursor();
-        x5.selectPath(fixPath(ex5Simple));
-        //XPathCommon.display(x5);
-        XPathCommon.compare(x5, ex5Xml);
-        x5.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample12() throws Exception {
-        System.out.println("====== Example-12 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon12.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/descendant::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB><CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC></AAA>"),
-            XmlObject.Factory.parse(
-                    "<BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB>"),
-
-            XmlObject.Factory.parse("<DDD><CCC><DDD/><EEE/></CCC></DDD>"),
-
-             XmlObject.Factory.parse("<CCC><DDD/><EEE/></CCC>"),
-
-
-            XmlObject.Factory.parse("<DDD/>"),
-
-
-            XmlObject.Factory.parse("<EEE/>"),
-              XmlObject.Factory.parse(
-                    "<CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC>"),
-            XmlObject.Factory.parse("<DDD><EEE><DDD><FFF/></DDD></EEE></DDD>"),
-            XmlObject.Factory.parse("<EEE><DDD><FFF/></DDD></EEE>"),
-            XmlObject.Factory.parse("<DDD><FFF/></DDD>"),
-            XmlObject.Factory.parse("<FFF/>")};
-
-        String ex2Simple = "/AAA/BBB/descendant::*";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<DDD><CCC><DDD/><EEE/></CCC></DDD>"),
-            XmlObject.Factory.parse("<CCC><DDD/><EEE/></CCC>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<EEE/>")};
-
-        String ex3Simple = "//CCC/descendant::*";
-        XmlObject[] ex3Xml = new XmlObject[]{
-              XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<EEE/>"),
-            XmlObject.Factory.parse("<DDD><EEE><DDD><FFF/></DDD></EEE></DDD>"),
-            XmlObject.Factory.parse("<EEE><DDD><FFF/></DDD></EEE>"),
-            XmlObject.Factory.parse("<DDD><FFF/></DDD>"),
-            XmlObject.Factory.parse("<FFF/>")
-
-        };
-        String ex4Simple = "//CCC/descendant::DDD";
-        XmlObject[] ex4Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<DDD><EEE><DDD><FFF/></DDD></EEE></DDD>"),
-            XmlObject.Factory.parse("<DDD><FFF/></DDD>"),
-            XmlObject.Factory.parse("<DDD/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-
-        System.out.println("Test 4: " + ex4Simple);
-        XmlCursor x4 = xDoc.newCursor();
-        x4.selectPath(fixPath(ex4Simple));
-        //XPathCommon.display(x4);
-        XPathCommon.compare(x4, ex4Xml);
-        x4.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample13() throws Exception {
-        System.out.println("====== Example-13 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon13.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "//DDD/parent::*";
-
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB>"),
-
-            XmlObject.Factory.parse("<CCC><DDD/><EEE/></CCC>"),
-            XmlObject.Factory.parse(
-                    "<CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC>"),
-            XmlObject.Factory.parse("<EEE><DDD><FFF/></DDD></EEE>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample14() throws Exception {
-        System.out.println("====== Example-14 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon14.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/BBB/DDD/CCC/EEE/ancestor::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<CCC><DDD/><EEE/></CCC>"),
-            XmlObject.Factory.parse("<DDD><CCC><DDD/><EEE/></CCC></DDD>"),
-            XmlObject.Factory.parse(
-                    "<BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB><CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC></AAA>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB><CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC></AAA>")};
-
-        String ex2Simple = "//FFF/ancestor::*";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<DDD><FFF/></DDD>"),
-            XmlObject.Factory.parse("<EEE><DDD><FFF/></DDD></EEE>"),
-            XmlObject.Factory.parse("<DDD><EEE><DDD><FFF/></DDD></EEE></DDD>"),
-            XmlObject.Factory.parse(
-                    "<CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB><CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC></AAA>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><DDD><CCC><DDD/><EEE/></CCC></DDD></BBB><CCC><DDD><EEE><DDD><FFF/></DDD></EEE></DDD></CCC></AAA>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample15() throws Exception {
-        System.out.println("====== Example-15 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon15.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/BBB/following-sibling::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>")};
-        String ex2Simple = "//CCC/following-sibling::*";
-        XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<DDD/>"),
-                                             XmlObject.Factory.parse("<FFF/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<FFF><GGG/></FFF>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample16() throws Exception {
-        System.out.println("====== Example-16 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon16.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/XXX/preceding-sibling::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<BBB><CCC/><DDD/></BBB>")};
-        String ex2Simple = "//CCC/preceding-sibling::*";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse("<BBB><CCC/><DDD/></BBB>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<EEE/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample17() throws Exception {
-        System.out.println("====== Example-17 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon17.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/XXX/following::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>"),
-            XmlObject.Factory.parse("<DDD/>")};
-        String ex2Simple = "//ZZZ/following::*";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<FFF><GGG/></FFF>"),
-            XmlObject.Factory.parse("<GGG/>"),
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse(
-                    "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-            XmlObject.Factory.parse("<EEE/>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<FFF/>"),
-            XmlObject.Factory.parse("<FFF><GGG/></FFF>"),
-            XmlObject.Factory.parse("<GGG/>"),
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>"),
-            XmlObject.Factory.parse("<DDD/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample18() throws Exception {
-        System.out.println("====== Example-18 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon18.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/XXX/preceding::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>"),
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse(
-                    "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-            XmlObject.Factory.parse("<FFF><GGG/></FFF>"),
-            XmlObject.Factory.parse("<FFF/>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<EEE/>"),
-            XmlObject.Factory.parse("<GGG/>"),
-            XmlObject.Factory.parse("<BBB><CCC/><ZZZ><DDD/></ZZZ></BBB>"),
-            XmlObject.Factory.parse("<ZZZ><DDD/></ZZZ>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<DDD/>")};
-
-        String ex2Simple = "//GGG/preceding::*";
-        XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<GGG/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<FFF><GGG/></FFF>"),
-                                             XmlObject.Factory.parse("<FFF/>"),
-                                             XmlObject.Factory.parse("<CCC/>"),
-                                             XmlObject.Factory.parse("<DDD/>"),
-                                             XmlObject.Factory.parse("<EEE/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-                                             XmlObject.Factory.parse(
-                                                     "<CCC><DDD/></CCC>"),
-                                             XmlObject.Factory.parse(
-                                                     "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-                                             XmlObject.Factory.parse("<DDD/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<BBB><CCC/><ZZZ><DDD/></ZZZ></BBB>"),
-                                             XmlObject.Factory.parse(
-                                                     "<ZZZ><DDD/></ZZZ>"),
-                                             XmlObject.Factory.parse("<CCC/>"),
-                                             XmlObject.Factory.parse("<DDD/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample19() throws Exception {
-        System.out.println("====== Example-19 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon19.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "/AAA/XXX/descendant-or-self::*";
-
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse(
-                    "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-            XmlObject.Factory.parse("<EEE/>"),
-            XmlObject.Factory.parse("<DDD/>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<FFF/>"),
-            XmlObject.Factory.parse("<FFF><GGG/></FFF>"),
-            XmlObject.Factory.parse("<GGG/>")};
-        String ex2Simple = "//CCC/descendant-or-self::*";
-
-        XmlObject[] ex2Xml = new XmlObject[]{
-              XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>"),
-            XmlObject.Factory.parse("<DDD/>"),
-          };
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample20() throws Exception {
-        System.out.println("====== Example-20 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon20.xml"));
-        XmlCursor xc = xDoc.newCursor();
-
-        String ex1Simple = "/AAA/XXX/DDD/EEE/ancestor-or-self::*";
-        XmlObject[] ex1Xml = new XmlObject[]{XmlObject.Factory.parse("<EEE/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-                                             XmlObject.Factory.parse(
-                                                     "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-                                             XmlObject.Factory.parse(
-                                                     "<AAA><BBB><CCC/><ZZZ><DDD/></ZZZ></BBB><XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>"),
-                                             XmlObject.Factory.parse(
-                                                     "<AAA><BBB><CCC/><ZZZ><DDD/></ZZZ></BBB><XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>")};
-        String ex2Simple = "//GGG/ancestor-or-self::*";
-        XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<GGG/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<FFF><GGG/></FFF>"),
-                                             XmlObject.Factory.parse(
-                                                     "<DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD>"),
-                                             XmlObject.Factory.parse(
-                                                     "<XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX>"),
-                                             XmlObject.Factory.parse(
-                                                     "<AAA><BBB><CCC/><ZZZ><DDD/></ZZZ></BBB><XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>"),
-                                             XmlObject.Factory.parse(
-                                                     "<AAA><BBB><CCC/><ZZZ><DDD/></ZZZ></BBB><XXX><DDD><EEE/><DDD/><CCC/><FFF/><FFF><GGG/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample21() throws Exception {
-        System.out.println("====== Example-21 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon21.xml"));
-        XmlCursor xc = xDoc.newCursor();
-        String ex1Simple = "//GGG/ancestor::*";
-        XmlObject[] ex1Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF>"),
-            XmlObject.Factory.parse(
-                    "<DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD>"),
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><CCC/><ZZZ/></BBB><XXX><DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>"),
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><CCC/><ZZZ/></BBB><XXX><DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>")};
-        String ex2Simple = "//GGG/descendant::*";
-        XmlObject[] ex2Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<JJJ><QQQ/></JJJ>"),
-            XmlObject.Factory.parse("<JJJ/>"),
-            XmlObject.Factory.parse("<QQQ/>")};
-        String ex3Simple = "//GGG/following::*";
-        XmlObject[] ex3Xml = new XmlObject[]{XmlObject.Factory.parse("<HHH/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<CCC><DDD/></CCC>"),
-                                             XmlObject.Factory.parse("<DDD/>")};
-        String ex4Simple = "//GGG/preceding::*";
-        //ykadiysk: printout is in order of closing tags upstream
-        XmlObject[] ex4Xml = new XmlObject[]{XmlObject.Factory.parse("<HHH/>"),
-                                             XmlObject.Factory.parse("<EEE/>"),
-                                             XmlObject.Factory.parse(
-                                                     "<BBB><CCC/><ZZZ/></BBB>"),
-                                             XmlObject.Factory.parse("<ZZZ/>"),
-                                             XmlObject.Factory.parse("<CCC/>")
-        };
-        String ex5Simple = "//GGG/self::*";
-        XmlObject[] ex5Xml = new XmlObject[]{
-            XmlObject.Factory.parse("<GGG><JJJ><QQQ/></JJJ><JJJ/></GGG>")};
-        String ex6Simple = "//GGG/ancestor::* | //GGG/descendant::* | //GGG/following::* | //GGG/preceding::* | //GGG/self::*";
-        XmlObject[] ex6Xml = new XmlObject[]{
-            XmlObject.Factory.parse(
-                    "<AAA><BBB><CCC/><ZZZ/></BBB><XXX><DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD></XXX><CCC><DDD/></CCC></AAA>"),
-            XmlObject.Factory.parse("<BBB><CCC/><ZZZ/></BBB>"),
-            XmlObject.Factory.parse("<CCC/>"),
-            XmlObject.Factory.parse("<ZZZ/>"),
-            XmlObject.Factory.parse(
-                    "<XXX><DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD></XXX>"),
-            XmlObject.Factory.parse(
-                    "<DDD><EEE/><FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF></DDD>"),
-            XmlObject.Factory.parse("<EEE/>"),
-            XmlObject.Factory.parse(
-                    "<FFF><HHH/><GGG><JJJ><QQQ/></JJJ><JJJ/></GGG><HHH/></FFF>"),
-            XmlObject.Factory.parse("<HHH/>"),
-            XmlObject.Factory.parse("<GGG><JJJ><QQQ/></JJJ><JJJ/></GGG>"),
-            XmlObject.Factory.parse("<JJJ><QQQ/></JJJ>"),
-            XmlObject.Factory.parse("<QQQ/>"),
-            XmlObject.Factory.parse("<JJJ/>"),
-            XmlObject.Factory.parse("<CCC><DDD/></CCC>"),
-            XmlObject.Factory.parse("<DDD/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-
-        System.out.println("Test 4: " + ex4Simple);
-        XmlCursor x4 = xDoc.newCursor();
-        x4.selectPath(fixPath(ex4Simple));
-        int i = 0;
-        System.out.println("****************HERE");
-
-        while (i < x4.getSelectionCount()) {
-            x4.toSelection(i++);
-            System.out.println(x4.getName() + ((i - 1) + ""));
-        }
-
-        System.out.println("****************SETS");
-        XPathCommon.display(x4);
-        //XPathCommon.display(ex4Xml);
-        System.out.println("**************END SETS");
-        XPathCommon.compare(x4, ex4Xml);
-        x4.dispose();
-
-
-        System.out.println("Test 5: " + ex5Simple);
-        XmlCursor x5 = xDoc.newCursor();
-        x5.selectPath(fixPath(ex5Simple));
-        //XPathCommon.display(x5);
-        XPathCommon.compare(x5, ex5Xml);
-        x5.dispose();
-
-        System.out.println("Test 6: " + ex6Simple);
-        XmlCursor x6 = xDoc.newCursor();
-        x6.selectPath(fixPath(ex6Simple));
-        //XPathCommon.display(x6);
-        XPathCommon.compare(x6, ex6Xml);
-        x6.dispose();
-    }
-
-    /**
-     * @throws Exception
-     *
-     */
-    public void testZvonExample22() throws Exception {
-        System.out.println("====== Example-22 ==========");
-        XmlObject xDoc = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        "xbean/xmlcursor/xpath/zvon22.xml"));
-        XmlCursor xc = xDoc.newCursor();
-
-        String ex1Simple = "//BBB[position() mod 2 = 0 ]";
-        XmlObject[] ex1Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>")};
-
-        String ex2Simple = "//BBB[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ]";
-        XmlObject[] ex2Xml = new XmlObject[]{XmlObject.Factory.parse("<BBB/>"),
-                                             XmlObject.Factory.parse("<BBB/>")};
-
-        String ex3Simple = "//CCC[ position() = floor(last() div 2 + 0.5) or position() = ceiling(last() div 2 + 0.5) ]";
-        XmlObject[] ex3Xml = new XmlObject[]{XmlObject.Factory.parse("<CCC/>")};
-
-        System.out.println("Test 1: " + ex1Simple);
-        XmlCursor x1 = xDoc.newCursor();
-        x1.selectPath(fixPath(ex1Simple));
-        //XPathCommon.display(x1);
-        XPathCommon.compare(x1, ex1Xml);
-        x1.dispose();
-        System.out.println("Test 2: " + ex2Simple);
-        XmlCursor x2 = xDoc.newCursor();
-        x2.selectPath(fixPath(ex2Simple));
-        //XPathCommon.display(x2);
-        XPathCommon.compare(x2, ex2Xml);
-        x2.dispose();
-
-        System.out.println("Test 3: " + ex3Simple);
-        XmlCursor x3 = xDoc.newCursor();
-        x3.selectPath(fixPath(ex3Simple));
-        //XPathCommon.display(x3);
-        XPathCommon.compare(x3, ex3Xml);
-        x3.dispose();
-    }
-
-
-    public static void main(String[] rgs) {
-        try {
-            new XPathTest("").testZvonExample21();
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
-//    public void testZvonExample() throws Exception {
-//        XmlObject xDoc = XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-//                                                                            "xbean/xmlcursor/xpath/zvon.xml"));
-//        XmlCursor xc = xDoc.newCursor();
-//    }
-
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/jaxen/checkin/JaxenXPathTests.java b/v2/test/src/xmlcursor/xpath/jaxen/checkin/JaxenXPathTests.java
deleted file mode 100755
index 9813c1c..0000000
--- a/v2/test/src/xmlcursor/xpath/jaxen/checkin/JaxenXPathTests.java
+++ /dev/null
@@ -1,318 +0,0 @@
-/*   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.
- */
-package xmlcursor.xpath.jaxen.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import xmlcursor.common.Common;
-import xmlcursor.xpath.common.XPathCommon;
-
-import java.io.IOException;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Oct 10, 2003
- */
-public class JaxenXPathTests extends TestCase {
-    String sXml =
-            "<?xml version=\"1.0\"?>\n" +
-            "<doc xmlns:ext=\"http://somebody.elses.extension\">\n" +
-            "  <a test=\"test\" />\n" +
-            "  <b attr1=\"a1\" attr2=\"a2\"   \n" +
-            "  xmlns:java=\"http://xml.apache.org/xslt/java\">\n" +
-            "    <a>\n" +
-            "    </a> \n" +
-            "  </b>\n" +
-            "</doc><!-- -->         ";
-
-
-    public JaxenXPathTests(String name) {
-        super(name);
-    }
-
-    public static Test suite() {
-        return new TestSuite(JaxenXPathTests.class);
-    }
-
-    public void testConformance() throws Exception {
-        XmlObject doc = null;
-
-        doc = XmlObject.Factory.parse(sXml);
-
-        runAll(doc, xpath);
-    }
-
-    private void runAll(XmlObject doc, String[] xpathes)
-            throws Exception {
-
-        for (int i = 0; i < xpathes.length; i++) {
-            try {
-                runXpath2(doc, xpathes[i], i);
-
-            }
-            catch (Exception e) {
-                System.err.println("**********************Failed at test " + i);
-                throw new RuntimeException(e);
-            }
-        }
-    }
-
-//    private static void runXpath(XmlObject doc, String xpathStr, int i)
-//    {
-//        try
-//        {
-//            XmlCursor xc = doc.newCursor();
-//            XPath xpath = new XBeansXPath(xpathStr);
-//            List results = xpath.selectNodes( xc );
-//
-//            Iterator resultIter = results.iterator();
-//
-//            int j = 0;
-//            while ( resultIter.hasNext() )
-//            {
-//                xc = (XmlCursor)resultIter.next();  //it's the same object as previous xc
-//                // generateExpected(i, j, xc.toString());
-//                check(i, j, xc);
-//                j++;
-//            }
-//
-//            xc.dispose();
-//        }
-//        catch (XPathSyntaxException e)
-//        {
-//            System.err.println( e.getMultilineMessage() );
-//            throw new RuntimeException(e);
-//        }
-//        catch (JaxenException e)
-//        {
-//            throw new RuntimeException(e);
-//        }
-//    }
-
-    private void runXpath2(XmlObject doc, String xpathStr, int i)
-            throws Exception {
-        XmlCursor xc = doc.newCursor();
-        xc.selectPath(xpathStr);
-
-
-        check(i, xc);
-
-        xc.dispose();
-    }
-
-    private void check(int expresionNumber,
-                       XmlCursor actual) throws Exception {
-
-       if (actual.getSelectionCount() == 0){
-               assertEquals(null, expected[expresionNumber] );
-               return;
-       }
-
-        int numCases = expected[expresionNumber].length;
-        XmlObject[] expected_val = new XmlObject[numCases];
-
-
-        for (int i = 0; i < numCases; i++)
-            expected_val[i] = XmlObject.Factory.parse(
-                    expected[expresionNumber][i]);
-
-       try{
-        XPathCommon.compare(actual, expected_val);
-       }catch (Throwable e){
-           throw new Exception("\n****Failed at expression "+expresionNumber+
-                   e.getMessage()
-                   );
-       }
-
-    }
-
-    /**
-     * This is only used to regen the expected files.
-     */
-    private void generateExpected(int expresionNumber, int resultNumber,
-                                  String content) {
-        expected[expresionNumber][resultNumber] = content;
-    }
-
-    public void setUp() {
-        expected = new String[numExpressions][];
-
-
-        xpath = new String[numExpressions];
-        xpath[0] = "/doc/a/@test";
-        xpath[1] = "//.";
-        xpath[2] = "/doc";
-        xpath[3] = "/doc/a";
-        xpath[4] = "//@*";
-        xpath[5] = ".";
-        xpath[6] = "//ancestor-or-self::*";
-        xpath[7] = "./child::*[1]";
-        xpath[8] = "//descendant-or-self::*/@*[1]";
-        xpath[9] = "//@* | * | node()";
-        xpath[10] = "//*";
-        xpath[11] = "/doc/namespace::*";
-        xpath[12] = "//descendant::comment()";
-        xpath[13] = "//*[local-name()='a']";
-        xpath[14] = "//*/@*";
-        xpath[15] = "//*[last()]";
-        xpath[16] = "doc/*[last()]";
-        xpath[17] = "/doc/a/*/@*";
-        xpath[18] = "doc/descendant::node()";
-        xpath[19] = "doc/a/@*";
-        xpath[20] = "doc/b/a/ancestor-or-self::*";
-        xpath[21] = "doc/b/a/preceding::*";
-        xpath[22] = "doc/a/following::*";
-        xpath[23] = "/doc/b/preceding-sibling::*";
-        xpath[24] = "/doc/a/following-sibling::*";
-
-
-        String[] steps = new String[10];
-        steps[0] =
-                "<xml-fragment xmlns:ext=\"http://somebody.elses.extension\"/>";
-        steps[1] = "<doc xmlns:ext=\"http://somebody.elses.extension\">" +
-                "<a test=\"test\" />" +
-                "<b attr1=\"a1\" attr2=\"a2\" " +
-                "xmlns:java=\"http://xml.apache.org/xslt/java\">" +
-                " <a /> </b></doc>";
-        steps[2] =
-                "<a test=\"test\" xmlns:ext=\"http://somebody.elses.extension\"/>";
-        steps[3] =
-                "<xml-fragment test=\"test\" " +
-                "xmlns:ext=\"http://somebody.elses.extension\" /> ";
-        steps[4] =
-                "<a xmlns:java=\"http://xml.apache.org/xslt/java\" " +
-                "xmlns:ext=\"http://somebody.elses.extension\" />";
-        steps[5] =
-                "<b attr1=\"a1\" attr2=\"a2\" " +
-                "xmlns:java=\"http://xml.apache.org/xslt/java\">" +
-                " <a /> </b>";
-        steps[6] =
-                "<xml-fragment attr1=\"a1\" " +
-                "xmlns:java=\"http://xml.apache.org/xslt/java\" " +
-                "xmlns:ext=\"http://somebody.elses.extension\" />";
-        steps[7] =
-                "<xml-fragment attr2=\"a2\" " +
-                "xmlns:java=\"http://xml.apache.org/xslt/java\" " +
-                "xmlns:ext=\"http://somebody.elses.extension\" />";
-        steps[8] = "<xml-fragment><!-- --></xml-fragment>";
-        steps[9] = " <xml-fragment xmlns:java=\"http://xml.apache.org/xslt/java\"" +
-                " xmlns:ext=\"http://somebody.elses.extension\" />";
-
-
-        expected[0] = new String[]{steps[2]};
-        expected[1] = new String[]{sXml,
-                                   steps[1],
-                                   steps[8],
-                                   XMLFRAG_EMPTY,
-                                   steps[2],
-                                   XMLFRAG_EMPTY,
-                                   steps[5],
-                                   XMLFRAG_EMPTY,
-                                   steps[0],
-                                   steps[4],
-                                   steps[0],
-                                   steps[9]
-        };
-
-        expected[2] = new String[]{steps[1]};
-        expected[3] = new String[]{steps[2]};
-
-        expected[4] = new String[]{
-            steps[3],
-            steps[6],
-            steps[7]};
-
-        expected[5] = new String[]{sXml};
-        expected[6] = new String[]{sXml,
-                                   steps[1],
-                                   steps[2],
-                                   steps[5],
-                                   steps[4]};
-        expected[7] = new String[]{steps[1]};
-        expected[8] =
-                new String[]{
-                    steps[2],
-                    steps[6]};
-        expected[9] = new String[]{
-            steps[3],
-            steps[6],
-            steps[7],
-            steps[1],
-            steps[8]};
-
-        expected[10] = new String[]{
-            steps[1],
-            steps[2],
-            steps[5],
-            steps[4]
-        };
-        expected[11] = new String[]{steps[0]};
-        expected[12] = new String[]{steps[8]};
-        expected[13] = new String[]{steps[2],
-                                    steps[4]
-        };
-        expected[14] = new String[]{steps[3],
-                                    steps[6],
-                                    steps[7]};
-
-        expected[15] = new String[]{steps[1],
-                                    steps[5],
-                                    steps[4]};
-        expected[16] = new String[]{steps[5]};
-        expected[18] = new String[]{
-            XMLFRAG_EMPTY,
-            steps[2],
-            XMLFRAG_EMPTY,
-            steps[5],
-            XMLFRAG_EMPTY,
-            steps[0],
-            steps[4],
-            steps[0],
-            steps[9]
-        };
-        expected[19] = new String[]{steps[2]};
-        expected[20] = new String[]{
-            steps[4],
-            steps[5],
-            steps[1],
-            sXml
-        };
-        expected[21] = new String[]{
-            steps[4],
-            steps[5],
-            steps[2]
-
-        };
-        expected[22] = new String[]{
-            steps[5],
-            steps[4]};
-
-        expected[23] = new String[]{
-            steps[2]};
-
-        expected[24] = new String[]{
-            steps[5]};
-
-    }
-
-    private String[][] expected = null;
-    private String[] xpath = null;
-    private int numExpressions = 25;
-    private String XMLFRAG_EMPTY = "<xml-fragment/>";
-}
diff --git a/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathExpressionTestImpl.java b/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathExpressionTestImpl.java
deleted file mode 100755
index e1bbebb..0000000
--- a/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathExpressionTestImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.jaxen.detailed;
-
-import xmlcursor.xpath.common.XPathExpressionTest;
-
-import java.util.HashMap;
-
-/**
- * Verifies XPath with Expressions
- * http://www.w3schools.com/xpath/xpath_expressions.asp
- *
- *
- *
- */
-
-public class XPathExpressionTestImpl extends XPathExpressionTest {
-    public XPathExpressionTestImpl(String name) {
-        super(name);
-    }
-
-
-/**
-* the only difference from Jaxen queries is that we need a context to start from:
-* preped "$this" to queries
-*/
-    public String getQuery(String testName, int testCase)
-            throws IllegalArgumentException {
-        Object queries;
-
-        if ((queries = testMap.get(testName)) == null)
-            throw new IllegalArgumentException("No queries for test" +
-                    testName);
-        else if (((String[]) queries).length <= testCase)
-            throw new IllegalArgumentException("No query " + testCase +
-                    " for test" + testName);
-        else
-            return ((String[]) queries)[testCase];
-
-    }
-
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathFunctionTestImpl.java b/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathFunctionTestImpl.java
deleted file mode 100755
index acd65c6..0000000
--- a/v2/test/src/xmlcursor/xpath/jaxen/detailed/XPathFunctionTestImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.jaxen.detailed;
-
-import xmlcursor.xpath.common.XPathFunctionTest;
-
-
-import org.apache.xmlbeans.XmlObject;
-
-/**
- * Queries here overwrite whatever is loaded in the query map if
-* the syntax is different
- */
-
-public class XPathFunctionTestImpl extends XPathFunctionTest {
-    public XPathFunctionTestImpl (String name) {
-        super(name);
-        testMap.put("testFunctionCount",new String[]{
-            "//cd[position()=count(//cd)]",
-             "//cd[position()=2]"
-        }) ;
-         testMap.put("testFunctionLocalName",new String[]{
-        "//bar"
-         });
-         testMap.put("testFunctionConcat",new String[]{
-        "//bar/*[name(.)=concat(\"pr\",\"ice\")]"
-       });
-
-        testMap.put("testFunctionString",new String[]{
-        "/foo/*[name(.)=" +
-                "concat(\"bar\",string(./foo/bar/price[last()]))]"
-        });
-
-            testMap.put("testFunctionStringLength",new String[]{
-        "//bar/*[string-length(name(.))=5]"
-            });
-        testMap.put("testFunctionSubString",new String[]{
-        "//bar/*[substring(name(.),3,3)=\"ice\"]"
-        });
-
-         testMap.put("testFunctionSubStringAfter",new String[]{
-        "//bar/*[substring-after(" +
-                 "name(.),'pr'" +
-                 ")=\"ice\"]"
-         });
-
-         testMap.put("testFunctionSubStringBefore",new String[]{
-        "//bar/*[substring-before(" +
-                 "name(.),'ice'" +
-                 ")=\"pr\"]"});
-
-         testMap.put("testFunctionTranslate",new String[]{
-        "//bar/*[translate(name(.)," +
-                "'ice','pr')=\"prpr\"]"});
-    }
-
-
-    public String getQuery(String testName, int testCase)
-            throws IllegalArgumentException {
-        Object queries;
-
-        if ((queries = testMap.get(testName)) == null)
-            throw new IllegalArgumentException("No queries for test" +
-                    testName);
-        else if (((String[]) queries).length <= testCase)
-            throw new IllegalArgumentException("No query " + testCase +
-                    " for test" + testName);
-        else
-            return ((String[]) queries)[testCase];
-
-    }
-
-
-    public void testErrorMessages() throws Exception {
-      //do nothing for Jaxen
-    }
-
-    //ensure Jaxen is not in the classpath
-    public void testAntiJaxenTest(){
-        try{
-        m_xc.selectPath("//*");
-            fail("XQRL shouldn't handle absolute paths");
-        }catch(Throwable t){}
-
-    }
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/AxesTest.java b/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/AxesTest.java
deleted file mode 100755
index ad5bbcd..0000000
--- a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/AxesTest.java
+++ /dev/null
@@ -1,377 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.xbean_xpath.detailed;
-
-import junit.framework.TestCase;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-
-/**
- *  Axes Tested:
- * child
- * descendant
- * attribute
- * descendant-or-self
- * self
- * namespace
- */
-
-/**
- * 
- */
-public class AxesTest extends TestCase {
-    String sXmlChild = "<foo> <bar xmlns:pre=\"http://uri.com\" at0='val0'>" +
-            "<pre:baz xmlns:baz='http://uri' baz:at0='val1'/>txt child</bar></foo>",
-
-    sXmlDesc = "<foo> <foo xmlns:pre=\"http://uri.com\" at0='val0'>" +
-            "<pre:baz xmlns:baz='http://uri' baz:at0='val1'/>txt child</foo></foo>"
-            ;
-
-
-    public void testChildAxisAbbrev() {
-
-        String sQuery1 = "./foo/bar";
-        String sExpected = "<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-        sQuery1 = "$this/foo/child::bar";
-        c.clearSelections();
-        c.toStartDoc();
-        c.selectPath(sQuery1,options);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-
-    }
-
-    public void testChildAxis() {
-        String sQuery1 = "./foo/child::bar";
-        String sExpected = "<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-//        c.clearSelections();
-//        c.toStartDoc();
-
-        c.selectPath(sQuery1, options);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-    public void testChildAxisDot() {
-
-        String sQuery1 = "$this/foo/./bar";
-        String sExpected = "<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-
-    }
-
-    public void testChildAxisDNE() {
-
-        String sQuery1 = "$this/foo/./baz";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        c.selectPath(sQuery1, options);
-        assertEquals(0, c.getSelectionCount());
-
-    }
-
-    public void testDescendantAxis() {
-
-        String sQuery1 = "./descendant::foo";
-        String sExpected = "<foo at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz  baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</foo>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1,options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-
-    }
-
-    public void testDescendantAxisAbbrev() {
-
-        String sQuery1 = ".//foo";
-        String sExpected = "<foo at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</foo>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-
-    }
-
-    public void testDescAxisDot() {
-
-        String sQuery1 = "$this/descendant::foo/.";
-        String sExpected = "<foo at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz  baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</foo>";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1,options);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-
-    }
-
-    public void testDescAxisDNE() {
-
-        String sQuery1 = "$this/descendant::baz";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1, options);
-        assertEquals(0, c.getSelectionCount());
-
-    }
-
-
-    public void testChildAttribute() {
-        String sExpected = "<xml-fragment at0=\"val0\"/>";
-        String sQuery1 = "$this/foo/bar/attribute::at0";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-    public void testChildAttributeAbbrev() {
-        String sExpected = "<xml-fragment at0=\"val0\"/>";
-        ;
-        String sQuery1 = "$this/foo/bar/@at0";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-    public void testDescAttribute() {
-        String sExpected = "<xml-fragment at0=\"val0\"/>";
-        String sQuery1 = "$this//attribute::at0";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-
-    public void testDescendantOrSelfAxis() {
-
-        String sQuery1 = "./descendant-or-self::foo";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String[] sExpected = new String[]
-        {
-            c.xmlText()
-            , "<foo at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz  baz:at0=\"val1\"" +
-                " xmlns:baz=\"http://uri\"/>txt child</foo>"
-        };
-
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(2, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected[0], c.xmlText());
-        c.toNextSelection();
-        assertEquals(sExpected[1], c.xmlText());
-
-
-    }
-
-    public void testDescendantOrSelfAxisDot() {
-
-        String sQuery1 = "./descendant-or-self::foo";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String[] sExpected = new String[]
-        {
-            c.xmlText()
-            , "<foo at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-                "<pre:baz  baz:at0=\"val1\"" +
-                " xmlns:baz=\"http://uri\"/>txt child</foo>"
-        };
-
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1, options );
-
-        c.selectPath(sQuery1, options );
-        assertEquals(2, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected[0], c.xmlText());
-        c.toNextSelection();
-        assertEquals(sExpected[1], c.xmlText());
-
-    }
-
-    public void testDescendantOrSelfAxisDNE() {
-
-        String sQuery1 = "$this/descendant-or-self::baz";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1, options );
-        assertEquals(0, c.getSelectionCount());
-
-    }
-
-
-    public void testSelfAxis() {
-
-        String sQuery1 = "$this/self::foo";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String sExpected =
-                c.xmlText();
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-    public void testSelfAxisAbbrev() {
-
-        String sQuery1 = ".";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String sExpected =
-                c.xmlText();
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-    public void testSelfAxisDot() {
-
-        String sQuery1 = "./self::foo";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String sExpected =
-                c.xmlText();
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-    public void testSelfAxisDNE() {
-
-        String sQuery1 = "$this/self::baz";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        c.selectPath(sQuery1, options );
-        assertEquals(0, c.getSelectionCount());
-
-    }
-
-    public void testNamespaceAxis() {
-
-        String sQuery1 = "$this/namespace::http://uri.com";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String sExpected =
-                c.xmlText();
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals(XmlCursor.TokenType.TEXT, c.toNextToken());
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-    public void testNamespaceAxisDot() {
-
-        String sQuery1 = "./*/namespace::http://uri.com";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        String sExpected =
-                c.xmlText();
-
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals("foo", c.getName().getLocalPart());
-
-        c.selectPath(sQuery1, options );
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-    }
-
-    public void testNamespaceAxisDNE() {
-
-        String sQuery1 = "$this/namespace::*";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlDesc));
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        assertEquals(XmlCursor.TokenType.TEXT, c.toNextToken());
-        assertEquals(XmlCursor.TokenType.START, c.toNextToken());
-        //to namespace
-        assertEquals(XmlCursor.TokenType.NAMESPACE, c.toNextToken());
-        c.selectPath(sQuery1, options );
-        assertEquals(0, c.getSelectionCount());
-
-    }
-
-    public void setUp() {
-        options = new XmlOptions();
-        options.put("use xbean for xpath");
-    }
-
-    private XmlOptions options;
-
-}
-
diff --git a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/NodeTest.java b/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/NodeTest.java
deleted file mode 100755
index 7aaa911..0000000
--- a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/NodeTest.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/*   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.
- */
-
-package xmlcursor.xpath.xbean_xpath.detailed;
-
-import junit.framework.TestCase;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.impl.newstore2.Public2;
-
-/**
- *  Nodes Tested:
- * *
-
- * NameTest
- *    * "*"
- *    * NCName:*
- *    * QName
- * NodeType
- *    * comment
- *    * node
- *    * pi
- *    * text
- * PI(Literal)
- */
-
-/**
- * 
- *
- */
-
-public class NodeTest extends TestCase {
-
-    String sXmlChild = "<foo> <bar xmlns:pre=\"http://uri.com\" at0='val0'>" +
-            "<pre:baz xmlns:baz='http://uri' baz:at0='val1'/>txt child</bar>" +
-            "</foo>";
-    String sXmlPI= "<foo><?xml-stylesheet target=\"http://someuri\"?></foo>";
-    public void testNameTestStar() {
-        String sQuery1 = "./*";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected = c.xmlText();
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-    public void testNameTestNCName() {
-        String sQuery1 = "$this//*";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>";
-        assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-     public void testNameTestQName_1() {
-        String sQuery1 = "declare namespace pre=\"http://uri\" $this//pre:*";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<pre:baz pre:at0=\"val1\" xmlns:pre=\"http://uri\"/>";
-        assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-     public void testNameTestQName_2() {
-        String sQuery1 = "declare namespace pre=\"http://uri\" $this//pre:baz";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<pre:baz pre:at0=\"val1\" xmlns:pre=\"http://uri\"/>";
-        assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-     public void testNameTestQName_3() {
-        String sQuery1 = "$this//bar";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-            "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-    }
-
-     public void testNodeTypeComment() {
-
-     }
-
-    public void testNodeTypeNode() {
-            String sQuery1 = "$this/foo/node()";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-            "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-     }
-      public void testNodeTypeNodeAbbrev() {
-             String sQuery1 = "$this/foo/*";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<bar at0=\"val0\" xmlns:pre=\"http://uri.com\">" +
-            "<pre:baz baz:at0=\"val1\" xmlns:baz=\"http://uri\"/>txt child</bar>";
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-     }
-     public void testNodeTypePI() {
-
-           XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected ="<foo><?xml-stylesheet target=\"http://someuri\"?></foo>";
-         String sQuery="./foo/processing-instruction()";
-        c.selectPath(sQuery);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-     }
-
-     public void testNodeTypeText() {
-           String sQuery1 = "$this//text()";
-        XmlCursor c = Public2.getCursor(Public2.parse(sXmlChild));
-        String sExpected =" ";
-        assertEquals( XmlCursor.TokenType.START, c.toNextToken() );
-        c.selectPath(sQuery1);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-     }
-
-      public void testPI() {
-
-           XmlCursor c = Public2.getCursor(Public2.parse(sXmlPI));
-        String sExpected ="<?xml-stylesheet target=\"http://someuri\"?>";
-         String sQuery="./foo/processing-instruction('xml-stylesheet')";
-        c.selectPath(sQuery);
-        assertEquals(1, c.getSelectionCount());
-        c.toNextSelection();
-        assertEquals(sExpected, c.xmlText());
-
-     }
-
-    public void testPIDNE() {
-
-           XmlCursor c = Public2.getCursor(Public2.parse(sXmlPI));
-        String sQuery="./foo/processing-instruction('stylesheet')";
-        c.selectPath(sQuery);
-        assertEquals(0, c.getSelectionCount());
-
-     }
-
-}
diff --git a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/README.txt b/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/README.txt
deleted file mode 100755
index 750b942..0000000
--- a/v2/test/src/xmlcursor/xpath/xbean_xpath/detailed/README.txt
+++ /dev/null
@@ -1 +0,0 @@
-Testing implementation of Eric's XPath engine: assumes no other XPath engine is present in classpath
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/checkin/AssortedTests.java b/v2/test/src/xmlobject/checkin/AssortedTests.java
deleted file mode 100755
index dc28f38..0000000
--- a/v2/test/src/xmlobject/checkin/AssortedTests.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlTime;
-import com.easypo.XmlPurchaseOrderDocumentBean;
-import com.easypo.XmlLineItemBean;
-
-import java.math.BigInteger;
-
-import org.w3.x2001.xmlSchema.SchemaDocument;
-import xint.test.PositionDocument;
-
-public class AssortedTests extends TestCase
-{
-    public AssortedTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(AssortedTests.class); }
-    
-    // bug 27489
-    public static void testSaverCharEscaping() throws XmlException
-    {
-        String newLine = System.getProperty( "line.separator" );
-        XmlObject xdoc = XmlObject.Factory.parse("<test>something</test>");
-        XmlCursor cur = xdoc.newCursor();
-        cur.toFirstChild();
-        // valid chars
-        cur.setTextValue("<something or other:\u03C0\uD7FF>");
-        Assert.assertEquals("<test>&lt;something or other:\u03C0\uD7FF></test>" + newLine, xdoc.toString());
-        
-        // invalid chars - control chars, unicode surrogates, FFFF/FFFE, etc
-        cur.setTextValue("<something\0or\1other:\u0045\uFFFE\uD800\uDFFF\uDB80\uDC00\u03C0\uD7FF\u001F>");
-        Assert.assertEquals("<test>&lt;something?or?other:\u0045?????\u03C0\uD7FF?></test>" + newLine, xdoc.toString());
-    }
-    
-    // bug 26140/26104
-    public static void testNoTypeInvalid() throws XmlException
-    {
-        XmlObject xdoc = XmlObject.Factory.parse("<test-no-type>something</test-no-type>");
-        Assert.assertTrue("Untyped document should be invalid", !xdoc.validate());
-        
-        xdoc = XmlObject.Factory.parse("<x:blah xmlns:x=\"http://no-type.com/\"/>");
-        Assert.assertTrue("Untyped document should be invalid", !xdoc.validate());
-    }
-    
-    // bug 26790
-    public static void testComplexSetter() throws XmlException
-    {
-        XmlPurchaseOrderDocumentBean xdoc = XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<purchase-order xmlns='http://openuri.org/easypo'>" +
-                 "<customer>" +
-                   "<name>David Bau</name>" +
-                   "<address>100 Main Street</address>" + 
-                 "</customer>" +
-                 "<date>2003-05-18T11:50:00</date>" +
-                 "<line-item>" +
-                  "<description>Red Candy</description>" +
-                  "<per-unit-ounces>0.423</per-unit-ounces>" +
-                  "<quantity>4</quantity>" +
-                 "</line-item>" +
-                 "<line-item>" +
-                  "<description>Blue Candy</description>" +
-                  "<per-unit-ounces>5.0</per-unit-ounces>" +
-                  "<quantity>1</quantity>" +
-                 "</line-item>" +
-                "</purchase-order>");
-        // test copy-within doc
-        XmlLineItemBean newItem = xdoc.getPurchaseOrder().addNewLineItem();
-        newItem.set(xdoc.getPurchaseOrder().getLineItemArray(0));
-        Assert.assertEquals(BigInteger.valueOf(4), xdoc.getPurchaseOrder().getLineItemArray(2).getQuantity());
-        xdoc.getPurchaseOrder().setLineItemArray(0, xdoc.getPurchaseOrder().getLineItemArray(1));
-        Assert.assertEquals(BigInteger.valueOf(1), xdoc.getPurchaseOrder().getLineItemArray(0).getQuantity());
-        
-        // test copy-between docs
-        XmlLineItemBean anotherItem = XmlLineItemBean.Factory.parse(
-                "<xml-fragment xmlns:ep='http://openuri.org/easypo' xmlns:xsi='http://wwww.w3.org/2001/XMLSchema-instance' xsi:type='line-item'>" +
-                 "<ep:description>Yellow Balloon</ep:description>" +
-                 "<ep:per-unit-ounces>0.001</ep:per-unit-ounces>" +
-                 "<ep:quantity>200</ep:quantity>" +
-                "</xml-fragment>");
-        
-        Assert.assertEquals("Yellow Balloon", anotherItem.getDescription());
-        xdoc.getPurchaseOrder().setLineItemArray(1, anotherItem);
-        
-        Assert.assertEquals("Yellow Balloon", xdoc.getPurchaseOrder().getLineItemArray(1).getDescription());
-        Assert.assertEquals(BigInteger.valueOf(1), xdoc.getPurchaseOrder().getLineItemArray(0).getQuantity());
-        Assert.assertEquals(BigInteger.valueOf(200), xdoc.getPurchaseOrder().getLineItemArray(1).getQuantity());
-        Assert.assertEquals(BigInteger.valueOf(4), xdoc.getPurchaseOrder().getLineItemArray(2).getQuantity());
-        
-        // test copy-to-self
-        xdoc.getPurchaseOrder().setLineItemArray(1, xdoc.getPurchaseOrder().getLineItemArray(1));
-        Assert.assertEquals("Yellow Balloon", xdoc.getPurchaseOrder().getLineItemArray(1).getDescription());
-        Assert.assertEquals(BigInteger.valueOf(1), xdoc.getPurchaseOrder().getLineItemArray(0).getQuantity());
-        Assert.assertEquals(BigInteger.valueOf(200), xdoc.getPurchaseOrder().getLineItemArray(1).getQuantity());
-        Assert.assertEquals(BigInteger.valueOf(4), xdoc.getPurchaseOrder().getLineItemArray(2).getQuantity());
-    }
-    
-    public static void donttestPrettyPrint() throws Exception
-    {
-        XmlObject xobj = XmlObject.Factory.parse("<test xmlns:x='foo'>&lt;SHOULDNOTBEATAG&gt;<a>simple<b/></a>&lt;ALSOSHOULDNOTBEATAG&gt;</test>");
-        // System.out.println(xobj);
-        System.out.println(xobj.xmlText());
-        /*
-        XmlCursor xcur = xobj.newCursor();
-        xcur.toFirstChild();
-        xobj = xcur.getObject();
-        String result = xobj.toString();
-        System.out.println(result);
-        
-        xcur.toFirstChild();
-        xcur.toFirstChild();
-        xcur.toFirstContentToken();
-        xcur.insertChars("<html><body>this is a test</body></html>");
-        
-        System.out.println(xobj);
-        */
-    }
-    
-    public static void dontTestQNameCopy() throws Exception
-    {
-        SchemaDocument xobj = SchemaDocument.Factory.parse(
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>" +
-                "<xs:element name='foo' type='xs:string'/></xs:schema>");
-        SchemaDocument xobj2 = SchemaDocument.Factory.parse(
-                "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'/>");
-        xobj2.getSchema().addNewElement().set(xobj.getSchema().getElementArray(0));
-        System.out.println(xobj2);
-    }
-    
-    // don't run on normal drt because it's too slow: about 20-30 secs
-    public static void donttestCursorFinalize()
-    {
-        XmlObject obj = XmlObject.Factory.newInstance();
-        int i = 0;
-        try
-        {
-            for (i = 0; i < 2000 * 1000; i++)
-            {
-                XmlCursor cur = obj.newCursor();
-                // cur.dispose(); skipping this depends on finalization or else OOM
-            }
-        }
-        catch (OutOfMemoryError e)
-        {
-            System.err.println("Did " + i + " iterations before running out of memory");
-            throw e;
-        }
-    }
-    
-    public static void testOutOfRange() throws Exception
-    {
-        PositionDocument doc = PositionDocument.Factory.parse("<position xmlns='java:int.test'><lat>43</lat><lon>037</lon></position>");
-        Assert.assertEquals(43, doc.getPosition().getLat());
-        Assert.assertEquals(37, doc.getPosition().getLon());
-        Assert.assertTrue(doc.validate());
-        
-        doc = PositionDocument.Factory.parse("<position xmlns='java:int.test'><lat>443</lat><lon>737</lon></position>");
-        Assert.assertEquals(443, doc.getPosition().getLat());
-        Assert.assertEquals(737, doc.getPosition().getLon());
-        Assert.assertTrue(!doc.validate());
-        
-        doc.getPosition().setLat((short)-300);
-        doc.getPosition().setLon((short)32767);
-        Assert.assertEquals(-300, doc.getPosition().getLat());
-        Assert.assertEquals(32767, doc.getPosition().getLon());
-        Assert.assertTrue(!doc.validate());
-        
-        doc.getPosition().setLat((short)43);
-        doc.getPosition().setLon((short)127);
-        Assert.assertEquals(43, doc.getPosition().getLat());
-        Assert.assertEquals(127, doc.getPosition().getLon());
-        Assert.assertTrue(doc.validate());
-    }
-    
-    public static void testParse() throws Exception
-    {
-        XmlTime xt = XmlTime.Factory.parse("<xml-fragment>12:00:00</xml-fragment>");
-        Assert.assertEquals("12:00:00", xt.calendarValue().toString());
-    }
-
-    
-    
-}
diff --git a/v2/test/src/xmlobject/checkin/CreationTests.java b/v2/test/src/xmlobject/checkin/CreationTests.java
deleted file mode 100755
index 5422b62..0000000
--- a/v2/test/src/xmlobject/checkin/CreationTests.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import com.easypo.XmlPurchaseOrderDocumentBean;
-import com.easypo.XmlPurchaseOrderDocumentBean.PurchaseOrder;
-import com.easypo.XmlLineItemBean;
-import com.easypo.XmlShipperBean;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-public class CreationTests extends TestCase
-{
-    public CreationTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(CreationTests.class); }
-
-    public void testCreatePo() throws Exception
-    {
-        XmlPurchaseOrderDocumentBean doc =
-            XmlPurchaseOrderDocumentBean.Factory.newInstance();
-        
-        PurchaseOrder order = doc.addNewPurchaseOrder();
-        order.addNewCustomer().setName("David Bau");
-        order.getCustomer().setAddress("Gladwyne, PA");
-        XmlLineItemBean li;
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 1");
-        li.setPrice(new BigDecimal("21.79"));
-        li.setQuantity(BigInteger.valueOf(2));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 2");
-        li.setPrice(new BigDecimal("19.89"));
-        li.setQuantity(BigInteger.valueOf(2));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 3");
-        li.setPrice(new BigDecimal("19.89"));
-        li.setQuantity(BigInteger.valueOf(1));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        XmlShipperBean sh = order.addNewShipper();
-        sh.setName("UPS");
-        sh.setPerOunceRate(new BigDecimal("0.74"));
-
-//        System.out.println(doc.xmlText());
-
-        Assert.assertEquals("David Bau", order.getCustomer().getName());
-        Assert.assertEquals("Gladwyne, PA", order.getCustomer().getAddress());
-        Assert.assertEquals(3, order.sizeOfLineItemArray());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 1", order.getLineItemArray(0).getDescription());
-        Assert.assertEquals(new BigDecimal("21.79"), order.getLineItemArray(0).getPrice());
-        Assert.assertEquals(new BigInteger("2"), order.getLineItemArray(0).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(0).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 2", order.getLineItemArray(1).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), order.getLineItemArray(1).getPrice());
-        Assert.assertEquals(new BigInteger("2"), order.getLineItemArray(1).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(1).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 3", order.getLineItemArray(2).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), order.getLineItemArray(2).getPrice());
-        Assert.assertEquals(new BigInteger("1"), order.getLineItemArray(2).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(2).getPerUnitOunces());
-
-        Assert.assertEquals(true, order.isSetShipper());
-        Assert.assertEquals("UPS", order.getShipper().getName());
-        Assert.assertEquals(new BigDecimal("0.74"), order.getShipper().getPerOunceRate());
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/DumbTest.java b/v2/test/src/xmlobject/checkin/DumbTest.java
deleted file mode 100755
index eda469c..0000000
--- a/v2/test/src/xmlobject/checkin/DumbTest.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import java.io.File;
-import java.io.IOException;
-
-import junit.framework.TestCase;
-
-import org.apache.xmlbeans.XmlObject;
-
-import dumbNS.RootDocument.Root;
-import dumbNS.RootDocument;
-
-import tools.util.Util;
-import tools.util.ResourceUtil;
-import tools.util.JarUtil;
-import xmlcursor.common.Common;
-
-
-/**
- *
- *
- */
-public class DumbTest extends TestCase {
-    String instance;
-
-    public DumbTest(String name) {
-        super(name);
-    }
-
-    public void setUp() {
-
-        try {
-            instance = JarUtil.getResourceFromJar(Common.XMLCASES_JAR, "xbean/simple/dumb/dumb.xml");
-        } catch (IOException e) {
-            System.err.println("Could not load xbean/simple/dumb/dumb.xml from " + Common.XMLCASES_JAR
-                               + e.getMessage());
-            e.printStackTrace();
-        }
-    }
-
-    public void testGetB2()
-            throws Exception {
-        RootDocument rootDoc = (RootDocument) XmlObject.Factory.parse(instance);
-        Root root = rootDoc.getRoot();
-
-        System.out.println("root.xmlText() = " + root.xmlText());
-
-        assertTrue("bar:b attribute != 4", root.getB2().intValue() == 4);
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/EasyPoTests.java b/v2/test/src/xmlobject/checkin/EasyPoTests.java
deleted file mode 100755
index 189db8e..0000000
--- a/v2/test/src/xmlobject/checkin/EasyPoTests.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlException;
-import com.easypo.XmlPurchaseOrderDocumentBean;
-import com.easypo.XmlPurchaseOrderDocumentBean.PurchaseOrder;
-
-
-
-import tools.util.*;
-
-public class EasyPoTests extends TestCase
-{
-    public EasyPoTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(EasyPoTests.class); }
-
-    public void testEasyPo() throws Exception
-    {
-        XmlPurchaseOrderDocumentBean doc = (XmlPurchaseOrderDocumentBean)
-            XmlObject.Factory.parse(JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                                     "xbean/xmlobject/easypo1.xml"));
-        Assert.assertEquals(false, doc.isNil());
-        PurchaseOrder order = doc.getPurchaseOrder();
-        Assert.assertEquals("David Bau", order.getCustomer().getName());
-        Assert.assertEquals("Gladwyne, PA", order.getCustomer().getAddress());
-        Assert.assertEquals(3, order.sizeOfLineItemArray());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 1", order.getLineItemArray(0).getDescription());
-        Assert.assertEquals(new BigDecimal("21.79"), order.getLineItemArray(0).getPrice());
-        Assert.assertEquals(new BigInteger("2"), order.getLineItemArray(0).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(0).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 2", order.getLineItemArray(1).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), order.getLineItemArray(1).getPrice());
-        Assert.assertEquals(new BigInteger("2"), order.getLineItemArray(1).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(1).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 3", order.getLineItemArray(2).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), order.getLineItemArray(2).getPrice());
-        Assert.assertEquals(new BigInteger("1"), order.getLineItemArray(2).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), order.getLineItemArray(2).getPerUnitOunces());
-
-        Assert.assertEquals(true, order.isSetShipper());
-        Assert.assertEquals("UPS", order.getShipper().getName());
-        Assert.assertEquals(new BigDecimal("0.74"), order.getShipper().getPerOunceRate());
-
-        Assert.assertEquals(3, order.sizeOfLineItemArray());
-    }
-    
-    
-    public void testSimpleAutoValidaiton() throws Exception
-    {
-        XmlPurchaseOrderDocumentBean.Factory.parse(
-            "<purchase-order xmlns='http://openuri.org/easypo'/>" );
-
-        try
-        {
-            XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<purchase-orde xmlns='http://openuri.org/easypo'/>" );
-
-            Assert.assertTrue( false );
-        }
-        catch ( XmlException e )
-        {
-        }
-
-        try
-        {
-            XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<purchase-order xmlns='http://openuri.org/easyp'/>" );
-
-            Assert.assertTrue( false );
-        }
-        catch ( XmlException e )
-        {
-        }
-        
-        try
-        {
-            XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<f:fragment xmlns:f='http://www.openuri.org/fragment'/>" );
-
-            Assert.assertTrue( false );
-        }
-        catch ( XmlException e )
-        {
-        }
-        
-        try
-        {
-            XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<f:fragment xmlns:f='http://www.openuri.org/fragment'><a/></f:fragment>" );
-
-            Assert.assertTrue( false );
-        }
-        catch ( XmlException e )
-        {
-        }
-        
-        try
-        {
-            XmlPurchaseOrderDocumentBean.Factory.parse(
-                "<f:fragment xmlns:f='http://www.openuri.org/fragment'><a/><a/></f:fragment>" );
-
-            Assert.assertTrue( false );
-        }
-        catch ( XmlException e )
-        {
-        }
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/InstanceValidationTests.java b/v2/test/src/xmlobject/checkin/InstanceValidationTests.java
deleted file mode 100755
index 2d006d5..0000000
--- a/v2/test/src/xmlobject/checkin/InstanceValidationTests.java
+++ /dev/null
@@ -1,2049 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.*;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.apache.xmlbeans.impl.store.Root;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-
-import javax.xml.namespace.QName;
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import tools.util.*;
-
-public class InstanceValidationTests extends TestCase
-{
-    public InstanceValidationTests(String name)
-    { super(name); }
-
-    public static Test suite()
-    { return new TestSuite(InstanceValidationTests.class); }
-
-    static String[] _args;
-    static String _test;
-
-    
-    public SchemaTypeLoader makeSchemaTypeLoader(String[] schemas) throws XmlException
-    {
-        XmlObject[] schemaDocs = new XmlObject[schemas.length];
-
-        for (int i = 0; i < schemas.length; i++)
-        {
-            schemaDocs[i] = XmlObject.Factory.parse(schemas[i]);
-        }
-
-        return XmlBeans.loadXsd(schemaDocs);
-    }
-
-    public SchemaTypeLoader makeSchemaTypeLoader(File[] schemas) throws XmlException, IOException
-    {
-        XmlObject[] schemaDocs = new XmlObject[schemas.length];
-
-        for (int i = 0; i < schemas.length; i++)
-        {
-            schemaDocs[i] = XmlObject.Factory.parse(schemas[i], new XmlOptions().setLoadLineNumbers().setLoadMessageDigest());
-        }
-
-        return XmlBeans.loadXsd(schemaDocs);
-    }
-
-
-    public List performValidation(String[] schemas, QName docType, String instances,
-                                  boolean startOnDocument) throws XmlException
-    {
-        SchemaTypeLoader stl = makeSchemaTypeLoader(schemas);
-
-        XmlOptions options = new XmlOptions();
-
-        if (docType != null)
-        {
-            SchemaType docSchema = stl.findDocumentType(docType);
-
-            Assert.assertTrue(docSchema != null);
-
-            options.setDocumentType(docSchema);
-        }
-
-        XmlObject x = stl.parse( instances, null, options);
-
-        if (!startOnDocument)
-        {
-            XmlCursor c = x.newCursor();
-            c.toFirstChild();
-            x = c.getObject();
-            c.dispose();
-        }
-
-        List xel = new ArrayList();
-        options.setErrorListener(xel);
-
-        x.validate(options);
-
-        return xel;
-    }
-
-
-    public void testValidationElementError() throws XmlException
-    {
-        String bobSchema = "<xs:schema\n" + "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" + "   xmlns:bob='http://openuri.org/bobschema'\n" + "   targetNamespace='http://openuri.org/bobschema'\n" + "   elementFormDefault='qualified'>\n" + "\n" + "  <xs:complexType name='biff'>\n" + "   <xs:complexContent>\n" + "    <xs:extension base='bob:foo'>\n" + "     <xs:sequence>\n" + "       <xs:element name='a' minOccurs='0' maxOccurs='unbounded'/>\n" + "     </xs:sequence>\n" + "    </xs:extension>\n" + "   </xs:complexContent>\n" + "  </xs:complexType>\n" + "" + "  <xs:complexType name='foo'>\n" + "  </xs:complexType>\n" + "" + "  <xs:element name='foo' type='bob:foo'>\n" + "  </xs:element>\n" + "" + "</xs:schema>\n";
-
-        String invalid = "<bob:foo xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:bob='http://openuri.org/bobschema' " + "xsi:type='bob:biff'><bob:q/></bob:foo>";
-
-        String[] schemas = {bobSchema};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, invalid, true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlValidationError xmlValError = (XmlValidationError) it.next();
-            Assert.assertEquals(xmlValError.getErrorType(), XmlValidationError.INCORRECT_ELEMENT);
-            Assert.assertEquals(xmlValError.getBadSchemaType().getName().getLocalPart(), "biff");
-            Assert.assertEquals(xmlValError.getOffendingQName().getLocalPart(), "q");
-            Assert.assertEquals(xmlValError.getMessage(), "Expected element a@http://openuri.org/bobschema instead of q@http://openuri.org/bobschema here in element foo@http://openuri.org/bobschema");
-        }
-    }
-
-
-    public void testValidationAttributeError() throws XmlException
-    {
-        StringBuffer empSchema = new StringBuffer();
-
-        empSchema.append("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'   elementFormDefault='qualified'>\n");
-        empSchema.append("<xs:element name='age'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:integer'>\n");
-        empSchema.append("<xs:minInclusive value='0'/>\n");
-        empSchema.append("<xs:maxInclusive value='100'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='empRecords'>\n");
-        empSchema.append("<xs:complexType>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element name='person' type='personType' maxOccurs='unbounded'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='name' type='xs:string'/>\n");
-        empSchema.append("<xs:complexType name='personType'>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element ref='name'/>\n");
-        empSchema.append("<xs:element ref='age'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("<xs:attribute name='employee' use='required'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:NMTOKEN'>\n");
-        empSchema.append("<xs:enumeration value='current'/>\n");
-        empSchema.append("<xs:enumeration value='past'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:attribute>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:schema>\n");
-
-        StringBuffer xmlInstance = new StringBuffer();
-        xmlInstance.append("<empRecords xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >");
-        xmlInstance.append("<person employee='past'>");
-        xmlInstance.append("<name>joe blow</name>");
-        xmlInstance.append("<age>31</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("<person>");
-        xmlInstance.append("<name>test user</name>");
-        xmlInstance.append("<age>29</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("</empRecords>");
-
-        String[] schemas = {empSchema.toString()};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, xmlInstance.toString(), true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlValidationError xmlValError = (XmlValidationError) it.next();
-            Assert.assertEquals(xmlValError.getErrorType(), XmlValidationError.INCORRECT_ATTRIBUTE);
-            Assert.assertEquals(xmlValError.getBadSchemaType().getName().getLocalPart(), "personType");
-            Assert.assertEquals(xmlValError.getOffendingQName().getLocalPart(), "employee");
-            Assert.assertEquals(xmlValError.getMessage(), "Expected attribute: employee in element person");
-        }
-    }
-
-    public void testValidationIncorrectElementError() throws XmlException
-    {
-        StringBuffer empSchema = new StringBuffer();
-
-        empSchema.append("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'   elementFormDefault='qualified'>\n");
-        empSchema.append("<xs:element name='age'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:integer'>\n");
-        empSchema.append("<xs:minInclusive value='0'/>\n");
-        empSchema.append("<xs:maxInclusive value='100'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='empRecords'>\n");
-        empSchema.append("<xs:complexType>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element name='person' type='personType' maxOccurs='unbounded'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='name' type='xs:string'/>\n");
-        empSchema.append("<xs:complexType name='personType'>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element ref='name'/>\n");
-        empSchema.append("<xs:element ref='age'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("<xs:attribute name='employee' use='required'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:NMTOKEN'>\n");
-        empSchema.append("<xs:enumeration value='current'/>\n");
-        empSchema.append("<xs:enumeration value='past'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:attribute>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:schema>\n");
-
-        StringBuffer xmlInstance = new StringBuffer();
-        xmlInstance.append("<empRecords xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >");
-        xmlInstance.append("<person employee='past'>");
-        //xmlInstance.append("<name>joe blow</name>");
-        xmlInstance.append("<age>31</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("<person employee='current'>");
-        xmlInstance.append("<name>test user</name>");
-        xmlInstance.append("<age>29</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("</empRecords>");
-
-        String[] schemas = {empSchema.toString()};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, xmlInstance.toString(), true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        Iterator it = errors.iterator();
-        Assert.assertTrue(it.hasNext());
-
-        XmlValidationError xmlValError = (XmlValidationError) it.next();
-        Assert.assertEquals(XmlValidationError.INCORRECT_ELEMENT, xmlValError.getErrorType());
-        Assert.assertEquals("personType", xmlValError.getBadSchemaType().getName().getLocalPart());
-        // todo debug this Assert.assertEquals(xmlValError.getOffendingQName().getLocalPart(), "age");
-        Assert.assertEquals("Expected element name instead of age here in element person", xmlValError.getMessage());
-
-        Assert.assertTrue(it.hasNext());
-
-        xmlValError = (XmlValidationError) it.next();
-        Assert.assertEquals(XmlValidationError.INCORRECT_ELEMENT, xmlValError.getErrorType());
-        Assert.assertEquals("personType", xmlValError.getBadSchemaType().getName().getLocalPart());
-        // todo debug this Assert.assertEquals(xmlValError.getOffendingQName().getLocalPart(), "age");
-        Assert.assertEquals("Expected element name at the end of the content in element person", xmlValError.getMessage());
-    }
-
-    public void testValidationElementNotAllowedError() throws XmlException
-    {
-        StringBuffer empSchema = new StringBuffer();
-
-        empSchema.append("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'   elementFormDefault='qualified'>\n");
-        empSchema.append("<xs:element name='age'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:integer'>\n");
-        empSchema.append("<xs:minInclusive value='0'/>\n");
-        empSchema.append("<xs:maxInclusive value='100'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='empRecords'>\n");
-        empSchema.append("<xs:complexType>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element name='person' type='personType' maxOccurs='unbounded'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='name' type='xs:string'/>\n");
-        empSchema.append("<xs:complexType name='personType'>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element ref='name'/>\n");
-        empSchema.append("<xs:element ref='age'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("<xs:attribute name='employee' use='required'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:NMTOKEN'>\n");
-        empSchema.append("<xs:enumeration value='current'/>\n");
-        empSchema.append("<xs:enumeration value='past'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:attribute>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:schema>\n");
-
-        StringBuffer xmlInstance = new StringBuffer();
-        xmlInstance.append("<empRecords xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >");
-        xmlInstance.append("<person employee='past'>");
-        xmlInstance.append("<name>joe blow</name>");
-        xmlInstance.append("<age>31</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("<person employee='current'>");
-        xmlInstance.append("<name>test user</name>");
-        xmlInstance.append("<age>29</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("</empRecords>");
-
-        String[] schemas = {empSchema.toString()};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, xmlInstance.toString(), true);
-        Assert.assertTrue(errors != null);
-        // todo: enable this assert Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlValidationError xmlValError = (XmlValidationError) it.next();
-
-            Assert.assertEquals(xmlValError.getErrorType(), XmlValidationError.ELEMENT_NOT_ALLOWED);
-            Assert.assertEquals(xmlValError.getBadSchemaType().getName().getLocalPart(), "personType");
-            Assert.assertEquals(xmlValError.getMessage(), "Expected element(s)");
-        }
-    }
-
-
-    public void testValidationAttributeTypeError() throws XmlException
-    {
-        StringBuffer empSchema = new StringBuffer();
-
-        empSchema.append("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'   elementFormDefault='qualified'>\n");
-        empSchema.append("<xs:element name='age'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:integer'>\n");
-        empSchema.append("<xs:minInclusive value='0'/>\n");
-        empSchema.append("<xs:maxInclusive value='100'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='empRecords'>\n");
-        empSchema.append("<xs:complexType>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element name='person' type='personType' maxOccurs='unbounded'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='name' type='xs:string'/>\n");
-        empSchema.append("<xs:complexType name='personType'>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element ref='name'/>\n");
-        empSchema.append("<xs:element ref='age'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("<xs:attribute name='employee' use='required'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:NMTOKEN'>\n");
-        empSchema.append("<xs:enumeration value='current'/>\n");
-        empSchema.append("<xs:enumeration value='past'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:attribute>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:schema>\n");
-
-        StringBuffer xmlInstance = new StringBuffer();
-        xmlInstance.append("<empRecords xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >");
-        xmlInstance.append("<person employee='past'>");
-        xmlInstance.append("<name>joe blow</name>");
-        xmlInstance.append("<age>31</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("<person employee='current'>");
-        xmlInstance.append("<name>test user</name>");
-        xmlInstance.append("<age>junk</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("</empRecords>");
-
-        String[] schemas = {empSchema.toString()};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, xmlInstance.toString(), true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlValidationError xmlValError = (XmlValidationError) it.next();
-            Assert.assertEquals(xmlValError.getErrorType(), XmlValidationError.ATTRIBUTE_TYPE_INVALID);
-            Assert.assertEquals(xmlValError.getMessage(), "Illegal decimal, unexpected char: 106");
-        }
-    }
-
-    public void testElementError() throws XmlException
-    {
-        String bobSchema = "<xs:schema\n" + "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" +
-            "   xmlns:bob='http://openuri.org/bobschema'\n" +
-            "   targetNamespace='http://openuri.org/bobschema'\n" +
-            "   elementFormDefault='qualified'>\n" +
-            "\n" +
-            "  <xs:complexType name='biff'>\n" +
-            "   <xs:complexContent>\n" +
-            "    <xs:extension base='bob:foo'>\n" +
-            "     <xs:sequence>\n" +
-            "       <xs:element name='a' minOccurs='0' maxOccurs='unbounded'/>\n" +
-            "     </xs:sequence>\n" +
-            "    </xs:extension>\n" +
-            "   </xs:complexContent>\n" +
-            "  </xs:complexType>\n" + "" +
-            "  <xs:complexType name='foo'>\n" +
-            "  </xs:complexType>\n" + "" +
-            "  <xs:element name='foo' type='bob:foo'>\n" +
-            "  </xs:element>\n" + "" +
-            "</xs:schema>\n";
-
-        String invalid = "<bob:foo xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " +
-            "xmlns:bob='http://openuri.org/bobschema' " +
-            "xsi:type='bob:biff'><bob:q/></bob:foo>";
-
-        String[] schemas = {bobSchema};
-
-        List errors = performValidation(schemas, null, invalid, true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlError xmlError = (XmlError) it.next();
-            Assert.assertEquals(xmlError.getMessage(), "Expected element a@http://openuri.org/bobschema instead of q@http://openuri.org/bobschema here in element foo@http://openuri.org/bobschema");
-            // todo check XmlValidationError
-        }
-    }
-
-    public void testAttributeError() throws XmlException
-    {
-        StringBuffer empSchema = new StringBuffer();
-
-        empSchema.append("<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'   elementFormDefault='qualified'>\n");
-        empSchema.append("<xs:element name='age'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:integer'>\n");
-        empSchema.append("<xs:minInclusive value='0'/>\n");
-        empSchema.append("<xs:maxInclusive value='100'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='empRecords'>\n");
-        empSchema.append("<xs:complexType>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element name='person' type='personType' maxOccurs='unbounded'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:element>\n");
-        empSchema.append("<xs:element name='name' type='xs:string'/>\n");
-        empSchema.append("<xs:complexType name='personType'>\n");
-        empSchema.append("<xs:sequence>\n");
-        empSchema.append("<xs:element ref='name'/>\n");
-        empSchema.append("<xs:element ref='age'/>\n");
-        empSchema.append("</xs:sequence>\n");
-        empSchema.append("<xs:attribute name='employee' use='required'>\n");
-        empSchema.append("<xs:simpleType>\n");
-        empSchema.append("<xs:restriction base='xs:NMTOKEN'>\n");
-        empSchema.append("<xs:enumeration value='current'/>\n");
-        empSchema.append("<xs:enumeration value='past'/>\n");
-        empSchema.append("</xs:restriction>\n");
-        empSchema.append("</xs:simpleType>\n");
-        empSchema.append("</xs:attribute>\n");
-        empSchema.append("</xs:complexType>\n");
-        empSchema.append("</xs:schema>\n");
-
-        StringBuffer xmlInstance = new StringBuffer();
-        xmlInstance.append("<empRecords xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >");
-        xmlInstance.append("<person employee='past'>");
-        xmlInstance.append("<name>joe blow</name>");
-        xmlInstance.append("<age>31</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("<person>");
-        xmlInstance.append("<name>test user</name>");
-        xmlInstance.append("<age>29</age>");
-        xmlInstance.append("</person>");
-        xmlInstance.append("</empRecords>");
-
-        String[] schemas = {empSchema.toString()};
-
-        List errors = null;
-
-        errors = performValidation(schemas, null, xmlInstance.toString(), true);
-        Assert.assertTrue(errors != null);
-        Assert.assertTrue(errors.size()>0);
-
-        for (Iterator it = errors.iterator(); it.hasNext();)
-        {
-            XmlError xmlError = (XmlError) it.next();
-            Assert.assertEquals(xmlError.getMessage(), "Expected attribute: employee in element person");
-            // todo check XmlValidationError
-        }
-    }
-
-
-
-    public void testValidate0 ( )
-            throws Exception
-        {
-            //
-            // The most basic schema
-            //
-
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "</xs:schema>" +
-                "";
-
-            String[] schemas = { schema };
-
-            SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-            //
-            // One which uses ##targetNamespace on a wildcard
-            //
-
-            schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "  <xs:complexType name='foo'>\n" +
-                "    <xs:sequence>\n" +
-                "      <xs:any namespace='##targetNamespace'/>\n" +
-                "    </xs:sequence>\n" +
-                "  </xs:complexType>\n" +
-                "</xs:schema>" +
-                "";
-
-            String[] schemas99 = { schema };
-
-            stl = makeSchemaTypeLoader( schemas99 );
-
-            //
-            // A big, nasty schema :-)
-            //
-
-             File schemeFile =
-                     JarUtil.getResourceFromJarasFile("xsdcases.jar","xbean/xmlobject/store/XMLSchema.xsd" );
-            File xmlFile =  JarUtil.getResourceFromJarasFile("xsdcases.jar","xbean/xmlobject/store/XML.xsd" );
-
-            File[] schemasF = { schemeFile, xmlFile };
-
-            Root.disableStoreValidation();
-            try
-            {
-                stl = makeSchemaTypeLoader( schemasF );
-            }
-            finally
-            {
-                Root.enableStoreValidation();
-            }
-
-            SchemaType type =
-                stl.findDocumentType(
-                    new QName( "http://www.w3.org/2001/XMLSchema", "schema" ) );
-
-            Assert.assertTrue( type != null );
-
-
-            //
-            // A good piece from a J2EE schema
-            //
-
-            schema =
-                "<?xml version='1.0' encoding='UTF-8'?>\n" +
-                "<xsd:schema xmlns='http://www.w3.org/2001/XMLSchema'\n" +
-                "     xmlns:xsd='http://www.w3.org/2001/XMLSchema'\n" +
-                "     elementFormDefault='qualified'\n" +
-                "     attributeFormDefault='unqualified'>\n" +
-                "<xsd:annotation>\n" +
-                "<xsd:documentation>\n" +
-                "@(#)application-client_1_4.xsds	1.7 07/08/02\n" +
-                "</xsd:documentation>\n" +
-                "</xsd:annotation>\n" +
-                "</xsd:schema>\n";
-
-            String[] schemas5 = { schema };
-
-            stl = makeSchemaTypeLoader( schemas5 );
-
-            //
-            // A bad schema
-            //
-
-            schema = "<foo/>";
-
-            String[] schemas2 = { schema };
-
-            try
-            {
-                stl = makeSchemaTypeLoader( schemas2 );
-                Assert.assertTrue( false );
-            }
-            catch ( Exception e )
-            {
-            }
-
-            //
-            // A bad schema
-            //
-            schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "  <foo/>\n" +
-                "</xs:schema>" +
-                "";
-
-            String[] schemas3 = { schema };
-
-            try
-            {
-                makeSchemaTypeLoader( schemas3 );
-
-                Assert.assertTrue( false );
-            }
-            catch ( XmlException e )
-            {
-            }
-        }
-
-        public void testValidate1 ( )
-            throws Exception
-        {
-            String ericSchema =
-                "<xs:schema\n" +
-                "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" +
-                "   xmlns:nw='http://openuri.org/ericschema'\n" +
-                "   targetNamespace='http://openuri.org/ericschema'\n" +
-                "   elementFormDefault='qualified'>\n" +
-                "\n" +
-                "  <xs:complexType name='foo'>\n" +
-                "  </xs:complexType>\n" +
-                "\n" +
-                "  <xs:element name='foo' type='nw:foo'>\n" +
-                "  </xs:element>\n" +
-                "\n" +
-                "  <xs:element name='eric'>\n" +
-                "    <xs:complexType>\n" +
-                "      <xs:sequence>\n" +
-                "        <xs:element name='a' maxOccurs='unbounded'/>\n" +
-                "        <xs:element name='b' />\n" +
-                "        <xs:any namespace='yaya' minOccurs='0' maxOccurs='1' processContents='lax'/>\n" +
-                "        <xs:element name='c' />\n" +
-                "        <xs:any minOccurs='0' maxOccurs='unbounded' processContents='strict'/>\n" +
-                "      </xs:sequence>\n" +
-                "      <xs:attribute name='x' use='optional'/>\n" +
-                "      <xs:attribute name='y' use='required'/>\n" +
-                "      <xs:attribute name='z' use='prohibited'/>\n" +
-                "    </xs:complexType>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "</xs:schema>\n";
-
-            String eric2Schema =
-                "<xs:schema\n" +
-                "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" +
-                "   xmlns:nw='http://openuri.org/ericschema2'\n" +
-                "   xmlns:eric='http://openuri.org/ericschema'\n" +
-                "   targetNamespace='http://openuri.org/ericschema2'\n" +
-                "   elementFormDefault='qualified'>\n" +
-                "\n" +
-                "  <xs:complexType name='eric2'>\n" +
-                "    <xs:complexContent>\n" +
-                "      <xs:extension base='eric:foo'>\n" +
-                "        <xs:sequence>\n" +
-                "          <xs:element name='a' maxOccurs='unbounded'/>\n" +
-                "        </xs:sequence>\n" +
-                "      </xs:extension>\n" +
-                "    </xs:complexContent>\n" +
-                "  </xs:complexType>\n" +
-                "</xs:schema>\n";
-
-            String eric = "<eric y='Y' xmlns='http://openuri.org/ericschema'>";
-            String eric2 = "<eric xmlns='http://openuri.org/ericschema2'>";
-            String xsi = "xmlns:eric2='http://openuri.org/ericschema2' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'";
-
-            String[] valid = {
-                eric + "<a/><b/><c/><foo xsi:type='eric2:eric2' " +
-                    xsi + "><a xmlns=\"http://openuri.org/ericschema2\"/></foo></eric>",
-                eric + "<a/><b/><boo xmlns='yaya'/><c/></eric>",
-                eric + "<a/><b/><c/></eric>",
-                eric + "<a x='y'/><b/><c/></eric>",
-                "<eric y='Y' x='X' xmlns='http://openuri.org/ericschema'>" +
-                    "<a/><b/><c/></eric>"
-            };
-
-            String ericSansY =
-                "<eric xmlns='http://openuri.org/ericschema'>";
-
-            String[] invalid = {
-                "<foo/>",
-                "<eric><a/><foo/><c/></eric>",
-                eric + "text<a/><b/><c/></eric>",
-                eric + "<a/>text<b/><c/></eric>",
-                eric + "<a/><b/>text<c/></eric>",
-                eric + "<a/><b/><c/>text</eric>",
-                eric + "<a x='y'/><b/><c/>text</eric>",
-                eric + "<a/><b/><boo xmlns='yaya'/><moo xmlns='yaya'/><c/></eric>",
-                ericSansY + "<a/><b/><c/></eric>",
-                "<eric y='' z='' xmlns='http://openuri.org/ericschema'>" +
-                    "<a/><b/><c/></eric>"
-            };
-
-            String[] schemas = { ericSchema, eric2Schema };
-
-            doTest(
-                schemas,
-                new QName( "http://openuri.org/ericschema", "eric" ),
-                valid, invalid );
-        }
-
-        public void testValidate2 ( )
-            throws Exception
-        {
-            String bobSchema =
-                "<xs:schema\n" +
-                "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" +
-                "   xmlns:bob='http://openuri.org/bobschema'\n" +
-                "   targetNamespace='http://openuri.org/bobschema'\n" +
-                "   elementFormDefault='qualified'>\n" +
-                "\n" +
-                "  <xs:complexType name='biff'>\n" +
-                "   <xs:complexContent>\n" +
-                "    <xs:extension base='bob:foo'>\n" +
-                "     <xs:sequence>\n" +
-                "       <xs:element name='a' minOccurs='0' maxOccurs='unbounded'/>\n" +
-                "     </xs:sequence>\n" +
-                "    </xs:extension>\n" +
-                "   </xs:complexContent>\n" +
-                "  </xs:complexType>\n" +
-                "" +
-                "  <xs:complexType name='foo'>\n" +
-                "  </xs:complexType>\n" +
-                "" +
-                "  <xs:element name='foo' type='bob:foo'>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "</xs:schema>\n";
-
-            String xsiType = "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'";
-
-            String[] valid = {
-                "<bob:foo xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:bob='http://openuri.org/bobschema' " +
-                    "xsi:type='bob:biff'><bob:a/><bob:a/><bob:a/></bob:foo>"
-            };
-
-            String[] invalid = {
-                "<bob:foo xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:bob='http://openuri.org/bobschema' " +
-                    "xsi:type='bob:biff'><bob:q/></bob:foo>",
-                "<bob:foo a='b' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:bob='http://openuri.org/bobschema' " +
-                    "xsi:type='bob:biff'><bob:a/><bob:a/><bob:a/></bob:foo>"
-            };
-
-            String[] schemas = { bobSchema };
-
-            doTest( schemas, null, valid, invalid );
-        }
-
-        String ns =
-            "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " +
-                "xmlns:xs='http://www.w3.org/2001/XMLSchema'";
-
-        public void testValidate3 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "" +
-                " <xs:simpleType name='allNNI'>\n" +
-                "  <xs:annotation><xs:documentation>\n" +
-                "   for maxOccurs</xs:documentation></xs:annotation>\n" +
-                "  <xs:union memberTypes='xs:nonNegativeInteger'>\n" +
-                "   <xs:simpleType>\n" +
-                "    <xs:restriction base='xs:NMTOKEN'>\n" +
-                "     <xs:enumeration value='unbounded'/>\n" +
-                "    </xs:restriction>\n" +
-                "   </xs:simpleType>\n" +
-                "  </xs:union>\n" +
-                " </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='ericBase64Binary'>\n" +
-                "    <xs:restriction base='xs:base64Binary'>\n" +
-                "      <xs:enumeration value='Eric'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='abcdHexBinary'>\n" +
-                "    <xs:restriction base='xs:hexBinary'>\n" +
-                "      <xs:enumeration value='abcd'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='zeroNumber'>\n" +
-                "    <xs:restriction base='number'>\n" +
-                "      <xs:enumeration value='Zero'/>\n" +
-                "      <xs:enumeration value='0'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='number'>\n" +
-                "    <xs:union>\n" +
-                "      <xs:simpleType>\n" +
-                "        <xs:restriction base='xs:decimal'/>\n" +
-                "      </xs:simpleType>\n" +
-                "      <xs:simpleType>\n" +
-                "        <xs:restriction base='xs:string'>\n" +
-                "          <xs:whiteSpace value='collapse'/>\n" +
-                "          <xs:enumeration value='Zero'/>\n" +
-                "          <xs:enumeration value='One'/>\n" +
-                "          <xs:enumeration value='Two'/>\n" +
-                "          <xs:enumeration value='Three'/>\n" +
-                "          <xs:enumeration value='Many'/>\n" +
-                "        </xs:restriction>\n" +
-                "      </xs:simpleType>\n" +
-                "    </xs:union>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='listOfInt'>\n" +
-                "    <xs:list itemType='xs:int'/>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='listOfPrime'>\n" +
-                "    <xs:list itemType='prime'/>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='ericBrother'>\n" +
-                "    <xs:restriction base='xs:string'>\n" +
-                "      <xs:whiteSpace value='collapse'/>\n" +
-                "      <xs:enumeration value='Brian'/>\n" +
-                "      <xs:enumeration value='Kevin'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='ericBrothers'>\n" +
-                "    <xs:list itemType='ericBrother'/>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='weekString'>\n" +
-                "    <xs:restriction base='xs:string'>\n" +
-                "      <xs:whiteSpace value='collapse'/>\n" +
-                "      <xs:enumeration value='Monday'/>\n" +
-                "      <xs:enumeration value='Tuesday'/>\n" +
-                "      <xs:enumeration value='Wednesday'/>\n" +
-                "      <xs:enumeration value='Thursday'/>\n" +
-                "      <xs:enumeration value='Friday'/>\n" +
-                "      <xs:enumeration value='Saturday'/>\n" +
-                "      <xs:enumeration value='Sunday'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='aYear'>\n" +
-                "    <xs:restriction base='xs:duration'>\n" +
-                "      <xs:enumeration value='P1Y'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='ericBDay'>\n" +
-                "    <xs:restriction base='xs:date'>\n" +
-                "      <xs:enumeration value='1965-06-10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='youngerThanEric'>\n" +
-                "    <xs:restriction base='xs:date'>\n" +
-                "      <xs:minExclusive value='1965-06-10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='fiveCharQname'>\n" +
-                "    <xs:restriction base='xs:QName'>\n" +
-                "      <xs:length value='5'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='wackyQname'>\n" +
-                "    <xs:restriction base='xs:QName'>\n" +
-                "      <xs:minLength value='3'/>\n" +
-                "      <xs:maxLength value='10'/>\n" +
-                "      <xs:pattern value='[xs:abcde]*'/>\n" +
-                "      <xs:enumeration value='xs:abc'/>\n" +
-                "      <xs:enumeration value='xs:bcd'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='fiveCharAnyURI'>\n" +
-                "    <xs:restriction base='xs:anyURI'>\n" +
-                "      <xs:length value='5'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='wackyAnyURI'>\n" +
-                "    <xs:restriction base='xs:anyURI'>\n" +
-                "      <xs:minLength value='3'/>\n" +
-                "      <xs:maxLength value='10'/>\n" +
-                "      <xs:enumeration value='foo'/>\n" +
-                "      <xs:enumeration value='bar'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='bit'>\n" +
-                "    <xs:restriction base='xs:boolean'>\n" +
-                "      <xs:pattern value='1|0'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='evenInteger'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:pattern value='[0-9]*[02468]'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='prime'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:pattern value='[0-9]*[13579]'/>\n" +
-                "      <xs:enumeration value='3'/>\n" +
-                "      <xs:enumeration value='5'/>\n" +
-                "      <xs:enumeration value='7'/>\n" +
-                "      <xs:enumeration value='11'/>\n" +
-                "      <xs:enumeration value='13'/>\n" +
-                "      <xs:enumeration value='17'/>\n" +
-                "      <xs:enumeration value='19'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='fourCharString'>\n" +
-                "    <xs:restriction base='xs:string'>\n" +
-                "      <xs:length value='4'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='threeOrMoreCharString'>\n" +
-                "    <xs:restriction base='xs:string'>\n" +
-                "      <xs:minLength value='3'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='fiveOrLessCharString'>\n" +
-                "    <xs:restriction base='xs:string'>\n" +
-                "      <xs:maxLength value='5'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='fiveTotalDigits'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:totalDigits value='5'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='threeFractionDigits'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:fractionDigits value='3'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMinExclusive'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:minExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxExclusive'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:maxExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxInclusive'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:maxInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMinInclusive'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:minInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMinExclusiveFloat'>\n" +
-                "    <xs:restriction base='xs:float'>\n" +
-                "      <xs:minExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxExclusiveFloat'>\n" +
-                "    <xs:restriction base='xs:float'>\n" +
-                "      <xs:maxExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxInclusiveFloat'>\n" +
-                "    <xs:restriction base='xs:float'>\n" +
-                "      <xs:maxInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMinInclusiveFloat'>\n" +
-                "    <xs:restriction base='xs:float'>\n" +
-                "      <xs:minInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "\n" +
-                "  <xs:simpleType name='tenMinExclusiveDouble'>\n" +
-                "    <xs:restriction base='xs:double'>\n" +
-                "      <xs:minExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxExclusiveDouble'>\n" +
-                "    <xs:restriction base='xs:double'>\n" +
-                "      <xs:maxExclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMaxInclusiveDouble'>\n" +
-                "    <xs:restriction base='xs:double'>\n" +
-                "      <xs:maxInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "" +
-                "  <xs:simpleType name='tenMinInclusiveDouble'>\n" +
-                "    <xs:restriction base='xs:double'>\n" +
-                "      <xs:minInclusive value='10'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "\n" +
-                "  <xs:element name='any'>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "  <xs:element name='default_12345' default='12345'>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "  <xs:element name='default_1234' default='1234'>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "  <xs:element name='default_eric' default='eric'>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "</xs:schema>\n";
-
-            String[] valid = {
-                "<any " + ns + " xsi:type='threeFractionDigits'>.1</any>",
-                "<any " + ns + " xsi:type='threeFractionDigits'>.12</any>",
-                "<any " + ns + " xsi:type='threeFractionDigits'>.123</any>",
-
-                "<any " + ns + " xsi:type='allNNI'>unbounded</any>",
-                "<any " + ns + " xsi:type='allNNI'>0</any>",
-                "<any " + ns + " xsi:type='allNNI'>1</any>",
-
-                "<any " + ns + " xsi:type='xs:base64Binary'>CAFEBABE</any>",
-                "<any " + ns + " xsi:type='abcdHexBinary'>abcd</any>",
-
-                "<any " + ns + " xsi:type='xs:base64Binary'>abcdefgh</any>",
-                "<any " + ns + " xsi:type='ericBase64Binary'>Eric</any>",
-
-                "<any " + ns + " xsi:type='zeroNumber'> Zero</any>",
-                "<any " + ns + " xsi:type='zeroNumber'>Zero</any>",
-                "<any " + ns + " xsi:type='zeroNumber'>0</any>",
-
-                "<any " + ns + " xsi:type='number'>1</any>",
-                "<any " + ns + " xsi:type='number'> 1 </any>",
-                "<any " + ns + " xsi:type='number'>Two</any>",
-                "<any " + ns + " xsi:type='number'> Three </any>",
-
-                "<any " + ns + " xsi:type='ericBrothers'></any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Brian</any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Kevin</any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Kevin Brian</any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Brian Kevin</any>",
-
-                "<any " + ns + " xsi:type='listOfInt'>  1  22  333  4444  </any>",
-                "<any " + ns + " xsi:type='listOfInt'></any>",
-                "<any " + ns + " xsi:type='listOfInt'>5999</any>",
-
-                "<any " + ns + " xsi:type='aYear'>P1Y</any>",
-
-                "<any " + ns + " xsi:type='fiveCharAnyURI'>abcde</any>",
-                "<any " + ns + " xsi:type='xs:anyURI'>foo</any>",
-                "<any " + ns + " xsi:type='wackyAnyURI'>foo</any>",
-
-                "<any " + ns + " xsi:type='youngerThanEric'>1965-06-11</any>",
-                "<any " + ns + " xsi:type='ericBDay'>1965-06-10</any>",
-                "<any " + ns + " xsi:type='xs:dateTime'>1999-05-31T13:20:00-05:00</any>",
-                "<any " + ns + " xsi:type='xs:time'>00:00:00</any>",
-                "<any " + ns + " xsi:type='xs:time'>13:20:00-05:00</any>",
-
-                "<any " + ns + " xsi:type='wackyQname'>xs:abc</any>",
-                "<any " + ns + " xsi:type='fiveCharQname'>abcde</any>",
-                "<any " + ns + " xsi:type='fiveCharQname'>xs:ab</any>",
-                "<any " + ns + " xsi:type='prime'>3</any>",
-                "<any " + ns + " xsi:type='prime'>11</any>",
-                "<any " + ns + " xsi:type='xs:integer'>+45</any>",
-                "<any " + ns + " xsi:type='xs:integer'>1</any>",
-                "<any " + ns + " xsi:type='xs:integer'>0</any>",
-                "<any " + ns + " xsi:type='xs:integer'>-1</any>",
-                "<any " + ns + " xsi:type='xs:integer'>-1</any>",
-                "<any " + ns + " xsi:type='xs:integer'>489743579837589743434</any>",
-                "<any " + ns + " xsi:type='xs:boolean'>1</any>",
-                "<default_1234 " + ns + " xsi:type='evenInteger'></default_1234>",
-                "<any " + ns + " xsi:type='evenInteger'>12</any>",
-                "<any " + ns + " xsi:type='bit'>1</any>",
-                "<any " + ns + " xsi:type='bit'>0</any>",
-                "<any " + ns + " xsi:type='xs:boolean'>false</any>",
-                "<any " + ns + " xsi:type='evenInteger'>0</any>",
-                "<any " + ns + " xsi:type='weekString'>Monday</any>",
-                "<any " + ns + " xsi:type='weekString'>Sunday</any>",
-                "<any " + ns + " xsi:type='weekString'>  Thursday  </any>",
-
-                "<any " + ns + " xsi:type='tenMinExclusive'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusive'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusive'>10</any>",
-                "<any " + ns + " xsi:type='tenMinInclusive'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusive'>10</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusive'>9.9</any>",
-
-                "<any " + ns + " xsi:type='tenMinExclusiveFloat'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusiveFloat'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveFloat'>10</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveFloat'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveFloat'>10</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveFloat'>9.9</any>",
-
-                "<any " + ns + " xsi:type='tenMinExclusiveDouble'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusiveDouble'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveDouble'>10</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveDouble'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveDouble'>10</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveDouble'>9.9</any>",
-
-                "<any " + ns + " xsi:type='fourCharString'>eric</any>",
-                "<any " + ns + " xsi:type='threeOrMoreCharString'>12345</any>",
-                "<any " + ns + " xsi:type='fiveOrLessCharString'>1234</any>",
-                "<any " + ns + " xsi:type='fiveTotalDigits'>12345</any>",
-                "<any " + ns + " xsi:type='fiveTotalDigits'>1234</any>",
-                "<default_1234 " + ns + " xsi:type='evenInteger'>\n\n</default_1234>"
-            };
-
-            String[] invalid = {
-                "<any " + ns + " xsi:type='allNNI'>foo</any>",
-                "<any " + ns + " xsi:type='xs:hexBinary'>P</any>",
-                "<any " + ns + " xsi:type='xs:hexBinary'>CAFEBABP</any>",
-                "<any " + ns + " xsi:type='abcdHexBinary'>abce</any>",
-
-                "<any " + ns + " xsi:type='xs:base64Binary'>abcde</any>",
-                "<any " + ns + " xsi:type='ericBase64Binary'>Erik</any>",
-
-                "<any " + ns + " xsi:type='zeroNumber'>One</any>",
-                "<any " + ns + " xsi:type='zeroNumber'>Twenty</any>",
-
-                "<any " + ns + " xsi:type='number'>Seven</any>",
-                "<any " + ns + " xsi:type='number'>Bob</any>",
-                "<any " + ns + " xsi:type='number'></any>",
-
-                "<any " + ns + " xsi:type='ericBrothers'>1</any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Bob</any>",
-                "<any " + ns + " xsi:type='ericBrothers'>Ralph Frank</any>",
-
-                "<any " + ns + " xsi:type='listOfInt'>  1  22  333  Eric  </any>",
-                "<any " + ns + " xsi:type='listOfInt'>Eric</any>",
-                "<any " + ns + " xsi:type='listOfInt'>-</any>",
-
-                "<any " + ns + " xsi:type='aYear'>P2Y</any>",
-
-                "<any " + ns + " xsi:type='youngerThanEric'>1965-06-10</any>",
-                "<any " + ns + " xsi:type='ericBDay'>1985-06-10</any>",
-                "<any " + ns + " xsi:type='xs:dateTime'>xx1999-05-31T13:20:00-05:00</any>",
-                "<any " + ns + " xsi:type='xs:dateTime'>eric</any>",
-                "<any " + ns + " xsi:type='xs:time'>99:99:00</any>",
-                "<any " + ns + " xsi:type='xs:time'>13:20:00-99:00</any>",
-
-                "<any " + ns + " xsi:type='wackyAnyURI'>moo</any>",
-                "<any " + ns + " xsi:type='fiveCharAnyURI'>ab</any>",
-
-                "<any " + ns + " xsi:type='wackyQname'>xs:abcdefghijk</any>",
-                "<any " + ns + " xsi:type='wackyQname'>xs:pqr</any>",
-                "<any " + ns + " xsi:type='xs:QName'>foo:bar</any>",
-                "<any " + ns + " xsi:type='fiveCharQname'>xs:abc</any>",
-                "<any " + ns + " xsi:type='prime'>12</any>",
-                "<any " + ns + " xsi:type='prime'>6</any>",
-                "<any " + ns + " xsi:type='xs:integer'>foo</any>",
-                "<any " + ns + " xsi:type='xs:integer'>.1</any>",
-                "<any " + ns + " xsi:type='evenInteger'>1</any>",
-                "<any " + ns + " xsi:type='bit'>true</any>",
-                "<any " + ns + " xsi:type='bit'>false</any>",
-                "<any " + ns + " xsi:type='bit'>nibble</any>",
-                "<any " + ns + " xsi:type='bit'>2</any>",
-                "<any " + ns + " xsi:type='xs:boolean'>blurf</any>",
-                "<any " + ns + " xsi:type='xs:boolean'></any>",
-                "<any " + ns + " xsi:type='evenInteger'></any>",
-                "<any " + ns + " xsi:type='weekString'>Monday Sucks</any>",
-
-                "<any " + ns + " xsi:type='tenMaxExclusive'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusive'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusive'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusive'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusive'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusive'>10.1</any>",
-
-                "<any " + ns + " xsi:type='tenMaxExclusiveFloat'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusiveFloat'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusiveFloat'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusiveFloat'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveFloat'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveFloat'>10.1</any>",
-
-                "<any " + ns + " xsi:type='tenMaxExclusiveDouble'>10.1</any>",
-                "<any " + ns + " xsi:type='tenMaxExclusiveDouble'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusiveDouble'>10</any>",
-                "<any " + ns + " xsi:type='tenMinExclusiveDouble'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMinInclusiveDouble'>9.9</any>",
-                "<any " + ns + " xsi:type='tenMaxInclusiveDouble'>10.1</any>",
-
-                "<any " + ns + " xsi:type='fiveOrLessCharString'> 1234 </any>",
-                "<any " + ns + " xsi:type='fiveTotalDigits'>123456</any>",
-                "<any " + ns + " xsi:type='fourCharString'>vasilik</any>",
-                "<any " + ns + " xsi:type='threeOrMoreCharString'>1</any>",
-                "<any " + ns + " xsi:type='fiveOrLessCharString'>1234567</any>",
-                "<any " + ns + " xsi:type='threeFractionDigits'>.1234</any>",
-                "<any " + ns + " xsi:type='fourCharString'> eric </any>",
-
-                "<default_12345 " + ns + " xsi:type='evenInteger'></default_12345>",
-                "<default_12345 " + ns + " xsi:type='evenInteger'>\n\n</default_12345>"
-            };
-
-            String[] schemas = { schema };
-
-            doTest( schemas, null, valid, invalid );
-        }
-
-        public void testValidate4 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "\n" +
-                "  <xs:element name='any'>\n" +
-                "  </xs:element>\n" +
-                "\n" +
-                "  <xs:simpleType name='kindaPrime'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:pattern value='[0-9]*[13579]'/>\n" +
-                "      <xs:enumeration value='3'/>\n" +
-                "      <xs:enumeration value='5'/>\n" +
-                "      <xs:enumeration value='7'/>\n" +
-                "      <xs:enumeration value='11'/>\n" +
-                "      <xs:enumeration value='13'/>\n" +
-                "      <xs:enumeration value='17'/>\n" +
-                "      <xs:enumeration value='19'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "\n" +
-                "</xs:schema>\n" +
-                "";
-
-            String[] schemas = { schema };
-
-            SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-            XmlObject x =
-                stl.parse(
-                    "<any " + ns + " xsi:type='kindaPrime'>100</any>",
-                    null, null );
-
-            // Make sure the unvalidated stream is OK
-
-            XMLInputStream xis = x.newXMLInputStream();
-
-            while ( xis.hasNext() )
-                xis.next();
-
-            // Make sure the validated stream fails
-
-            boolean blewChunks = false;
-
-            xis =
-                stl.newValidatingXMLInputStream(
-                    x.newXMLInputStream(), null, null );
-
-            try
-            {
-                while ( xis.hasNext() )
-                    xis.next();
-            }
-            catch ( XMLStreamValidationException e )
-            {
-                blewChunks = true;
-            }
-
-            Assert.assertTrue( blewChunks );
-        }
-
-        public void testValidate5 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "\n" +
-                "  <xs:element name='hee'>\n" +
-                "    <xs:complexType>\n" +
-                "      <xs:sequence>\n" +
-                "        <xs:element name='haw' type='xs:int'/>\n" +
-                "      </xs:sequence>\n" +
-                "      <xs:attribute name='yee' type='xs:int'/>\n" +
-                "    </xs:complexType>\n" +
-                "  </xs:element>\n" +
-                "\n" +
-                "  <xs:simpleType name='kindaPrime'>\n" +
-                "    <xs:restriction base='xs:decimal'>\n" +
-                "      <xs:pattern value='[0-9]*[13579]'/>\n" +
-                "      <xs:enumeration value='3'/>\n" +
-                "      <xs:enumeration value='5'/>\n" +
-                "      <xs:enumeration value='7'/>\n" +
-                "      <xs:enumeration value='11'/>\n" +
-                "      <xs:enumeration value='13'/>\n" +
-                "      <xs:enumeration value='17'/>\n" +
-                "      <xs:enumeration value='19'/>\n" +
-                "    </xs:restriction>\n" +
-                "  </xs:simpleType>\n" +
-                "\n" +
-                "</xs:schema>\n" +
-                "";
-
-            String[] schemas = { schema };
-
-            SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-            XmlObject x =
-                stl.parse(
-                    "<hee yee='3'><haw>66</haw></hee>",
-                        null, null );
-
-            XmlCursor c = x.newCursor();
-
-            for ( ; ; )
-            {
-                XmlObject obj = c.getObject();
-
-                if (obj != null)
-                    obj.validate();
-
-                if (c.toNextToken().isNone())
-                    break;
-            }
-
-            // invalid
-
-            x =
-                stl.parse(
-                    "<hee yee='five'><haw>66</haw></hee>",
-                    null, null );
-
-            Assert.assertTrue( ! x.validate() );
-
-            c = x.newCursor();
-            c.toNextToken();
-            c.toNextToken();
-
-            Assert.assertTrue( ! c.getObject().validate() );
-
-            // No schema
-
-            x = XmlObject.Factory.parse( "<foo x='y'>asas<bar>asas</bar></foo>" );
-
-            c = x.newCursor();
-
-            for ( ; ; )
-            {
-                XmlObject obj = c.getObject();
-
-                if (obj != null)
-                    obj.validate();
-
-                if (c.toNextToken().isNone())
-                    break;
-            }
-        }
-
-        public void testValidate6 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "  <xs:element name='hee'>\n" +
-                "  </xs:element>\n" +
-                "</xs:schema>\n" +
-                "";
-
-            String[] schemas = { schema, schema };
-
-
-            // Should get a schema compile error
-
-            try
-            {
-                makeSchemaTypeLoader( schemas );
-                Assert.assertTrue( false );
-            }
-            catch ( XmlException e )
-            {
-            }
-        }
-
-        public void testValidate7 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>" +
-                "" +
-                "  <xs:element name='base' type='base'/>" +
-                "" +
-                "  <xs:complexType name='base'>" +
-                "    <xs:sequence>" +
-                "      <xs:element name='foo'/>" +
-                "    </xs:sequence>" +
-                "  </xs:complexType>" +
-                "" +
-                "  <xs:complexType name='derived'>" +
-                "    <xs:complexContent>" +
-                "      <xs:extension base='base'>" +
-                "        <xs:sequence>" +
-                "          <xs:element name='bar'/>" +
-                "        </xs:sequence>" +
-                "      </xs:extension>" +
-                "    </xs:complexContent>" +
-                "  </xs:complexType>" +
-                "" +
-                "</xs:schema>" +
-                "";
-
-            String[] schemas = { schema };
-
-            SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-            XmlObject x =
-                stl.parse(
-                    "<base><foo/></base>", null, null );
-
-            Assert.assertTrue( x.validate() );
-
-            XmlCursor c = x.newCursor();
-
-            c.toFirstChild();
-
-            XmlObject base = c.getObject();
-
-            c.toEndToken();
-            c.insertElement( "bar" );
-
-            Assert.assertTrue( !x.validate() );
-
-            c.toPrevSibling();
-
-            c.removeXml();
-
-            Assert.assertTrue( x.validate() );
-
-            base.changeType( stl.findType( new QName( "derived" ) ) );
-
-            c.insertElement( "bar" );
-
-            Assert.assertTrue( x.validate() );
-        }
-
-        // Tests abstract & block attributes on ComplexType
-        public void testValidate8() throws Exception
-        {
-            String[] schemas = {
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>" +
-                "" +
-                "  <xs:element name='abstract' type='abstract'/>" +
-                "  <xs:element name='base' type='base'/>" +
-                "" +
-                "  <xs:complexType name='abstract' abstract='true'/>" +
-                "" +
-                "  <xs:complexType name='concrete'>" +
-                "    <xs:complexContent>" +
-                "      <xs:extension base='abstract'/>" +
-                "    </xs:complexContent>" +
-                "  </xs:complexType>" +
-                "" +
-                "  <xs:complexType name='base' block='extension'/>" +
-                "" +
-                "  <xs:complexType name='ext'>" +
-                "    <xs:complexContent>" +
-                "      <xs:extension base='base'/>" +
-                "    </xs:complexContent>" +
-                "  </xs:complexType>" +
-                "" +
-                "  <xs:complexType name='rest'>" +
-                "    <xs:complexContent>" +
-                "      <xs:restriction base='base'/>" +
-                "    </xs:complexContent>" +
-                "  </xs:complexType>" +
-                "" +
-                "</xs:schema>" +
-                "",
-            };
-
-            String xsiType = " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' ";
-
-            String[] valid = {
-                "<abstract" + xsiType + "xsi:type='concrete'/>",
-                "<base/>",
-                "<base" + xsiType + "xsi:type='rest'/>",
-            };
-            String[] invalid = {
-                "<abstract/>",
-                "<base" + xsiType + "xsi:type='ext'/>",
-            };
-
-            doTest(schemas, null, valid, invalid);
-        }
-
-        public void testValidate9() throws Exception
-        {
-
-            String[] schemas = {
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>" +
-                "   <xs:element name='order' type='OrderType'>" +
-                "       <xs:keyref name='prodNumKeyRef' refer='prodNumKey'>" +
-                "           <xs:selector xpath='items/*'/>" +
-                "           <xs:field xpath='@number'/>" +
-                "       </xs:keyref>" +
-                "       <xs:key name='prodNumKey'>" +
-                "           <xs:selector xpath='.//product'/>" +
-                "           <xs:field xpath='number'/>" +
-                "       </xs:key>" +
-                "   </xs:element>" +
-
-                "   <xs:complexType name='OrderType'>" +
-                "       <xs:sequence>" +
-                "           <xs:element name='items'>" +
-                "               <xs:complexType>" +
-                "                   <xs:sequence>" +
-                "                       <xs:element name='item' type='ItemType' minOccurs='0' maxOccurs='unbounded'/>" +
-                "                   </xs:sequence>" +
-                "               </xs:complexType>" +
-                "           </xs:element>" +
-                "           <xs:element name='products'>" +
-                "               <xs:complexType>" +
-                "                   <xs:sequence>" +
-                "                       <xs:element name='product' type='ProductType' maxOccurs='unbounded' minOccurs='0'/>" +
-                "                   </xs:sequence>" +
-                "               </xs:complexType>" +
-                "           </xs:element>" +
-                "       </xs:sequence>" +
-                "       <xs:attribute name='number' type='xs:string'/>" +
-                "   </xs:complexType>" +
-
-                "   <xs:complexType name='ItemType'>" +
-                "       <xs:sequence>" +
-                "           <xs:element name='quantity' type='xs:int'/>" +
-                "       </xs:sequence>" +
-                "       <xs:attribute name='number' type='xs:int'/>" +
-                "   </xs:complexType>" +
-
-                "   <xs:complexType name='ProductType'>" +
-                "       <xs:sequence>" +
-                "           <xs:element name='number' type='xs:int' minOccurs='0'/>" +
-                "           <xs:element name='name' type='xs:string'/>" +
-                "           <xs:element name='price'>" +
-                "               <xs:complexType>" +
-                "                   <xs:simpleContent>" +
-                "                       <xs:extension base='xs:decimal'>" +
-                "                           <xs:attribute name='currency' type='xs:string'/>" +
-                "                       </xs:extension>" +
-                "                   </xs:simpleContent>" +
-                "               </xs:complexType>" +
-                "           </xs:element>" +
-                "       </xs:sequence>" +
-                "   </xs:complexType>" +
-                "</xs:schema> ",
-
-                "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>" +
-
-                "    <xsd:element name='root' type='RootType'>" +
-                "        <xsd:key name='FooId'>" +
-                "            <xsd:selector xpath='.//string|.//token|.//int'/>" +
-                "            <xsd:field xpath='@id'/>" +
-                "        </xsd:key>" +
-                "    </xsd:element>" +
-
-                "    <xsd:group name='group'>" +
-                "        <xsd:choice>" +
-                "            <xsd:element ref='string'/>" +
-                "            <xsd:element ref='token'/>" +
-                "            <xsd:element ref='int'/>" +
-                "        </xsd:choice>" +
-                "    </xsd:group>" +
-
-                "    <xsd:complexType name='RootType'>" +
-                "        <xsd:group ref='group' minOccurs='0' maxOccurs='unbounded'/>" +
-                "    </xsd:complexType>" +
-
-                "    <xsd:element name='string'>" +
-                "       <xsd:complexType>" +
-                "            <xsd:group ref='group' minOccurs='0' maxOccurs='unbounded'/>" +
-                "            <xsd:attribute name='id' type='xsd:string'/>" +
-                "        </xsd:complexType>" +
-                "    </xsd:element>" +
-
-                "    <xsd:element name='int'>" +
-                "        <xsd:complexType>" +
-                "            <xsd:group ref='group' minOccurs='0' maxOccurs='unbounded'/>" +
-                "            <xsd:attribute name='id' type='xsd:int'/>" +
-                "        </xsd:complexType>" +
-                "    </xsd:element>" +
-
-                "    <xsd:element name='token'>" +
-                "        <xsd:complexType>" +
-                "            <xsd:group ref='group' minOccurs='0' maxOccurs='unbounded'/>" +
-                "            <xsd:attribute name='id' type='xsd:token'/>" +
-                "        </xsd:complexType>" +
-                "    </xsd:element>" +
-
-                "</xsd:schema>",
-
-                "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' " +
-                "    targetNamespace='http://www.tim-hanson.com/' xmlns:th='http://www.tim-hanson.com/' " +
-                "    attributeFormDefault='qualified' elementFormDefault='qualified'>" +
-
-                "    <xsd:element name='root'>" +
-                "        <xsd:complexType>" +
-                "            <xsd:sequence>" +
-                "                <xsd:element name='foo' maxOccurs='unbounded'>" +
-                "                    <xsd:complexType>" +
-                "                        <xsd:attribute name='id' type='xsd:int'/>" +
-                "                    </xsd:complexType>" +
-                "                </xsd:element>" +
-                "            </xsd:sequence>" +
-                "        </xsd:complexType>" +
-                "        <xsd:key name='id'>" +
-                "            <xsd:selector xpath='./th:foo'/>" +
-                "            <xsd:field xpath='@th:id'/>" +
-                "        </xsd:key>" +
-                "    </xsd:element>" +
-                "</xsd:schema>",
-
-                "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' >" +
-                "    <xsd:element name='idtest'>" +
-                "        <xsd:complexType>" +
-                "            <xsd:sequence maxOccurs='unbounded'>" +
-                "                <xsd:choice>" +
-                "                    <xsd:element name='id' maxOccurs='unbounded' type='xsd:ID'/>" +
-                "                    <xsd:element name='idref' maxOccurs='unbounded' type='xsd:IDREF'/>" +
-                "                    <xsd:element name='idrefs' maxOccurs='unbounded' type='xsd:IDREFS'/>" +
-                "                </xsd:choice>" +
-                "            </xsd:sequence>" +
-                "        </xsd:complexType>" +
-                "    </xsd:element>" +
-                "</xsd:schema>",
-
-            };
-
-            String[] valid = {
-                "<order>" +
-                "    <items>" +
-                "      <item number='124 '>" +
-                "          <quantity>1</quantity>" +
-                "      </item>" +
-                "      <item number=' 563  '>" +
-                "          <quantity>1</quantity>" +
-                "      </item>" +
-                "    </items>" +
-                "    <products>" +
-                "        <product>" +
-                "            <number> 124</number>" +
-                "            <name>Shirt</name>" +
-                "            <price currency='USD'>29.99</price>" +
-                "        </product>" +
-                "        <product>" +
-                "            <number> 563 </number>" +
-                "            <name>Hat</name>" +
-                "            <price currency='USD'>69.99</price>" +
-                "        </product>" +
-                "        <product>" +
-                "            <number>443</number>" +
-                "            <name>Umbrella</name>" +
-                "            <price currency='USD'>49.99</price>" +
-                "        </product>" +
-                "    </products>" +
-                "</order>",
-
-                "<root>" +
-                "    <string id='foo1'>" +
-                "        <string id='foo2'>" +
-                "            <string id='foo3'>" +
-                "                <string id='foo6'>" +
-                "                    <string id='foo7'>" +
-                "                        <string id='foo8'/>" +
-                "                    </string>" +
-                "                </string>" +
-                "            </string>" +
-                "            <string id='foo4'/>" +
-                "        </string>" +
-                "        <string id='foo9'/>" +
-                "    </string>" +
-                "</root>",
-
-                "<root>" +
-                "    <int id='1'/>" +
-                "    <string id='1'/>" +
-                "</root>",
-
-                "<xyz:root xmlns:xyz='http://www.tim-hanson.com/'>" +
-                "  <xyz:foo xyz:id='1'/>" +
-                "  <xyz:foo xyz:id='2'/>" +
-                "  <xyz:foo xyz:id='3'/>" +
-                "</xyz:root>",
-
-                "<idtest>" +
-                "  <idref>xyz</idref>" +
-                "  <idrefs>abc def</idrefs>" +
-                "  <id>abc</id>" +
-                "  <id>def</id>" +
-                "  <id>xyz</id>" +
-                "  <idref>abc</idref>" +
-                "  <idrefs>xyz abc</idrefs>" +
-                "</idtest>",
-            };
-
-            String[] invalid = {
-                "<order>" +
-                "    <items>" +
-                "      <item number='125 '>" +
-                "          <quantity>1</quantity>" +
-                "      </item>" +
-                "      <item number='563'>" +
-                "          <quantity>1</quantity>" +
-                "      </item>" +
-                "    </items>" +
-                "    <products>" +
-                "        <product>" +
-                "            <number> 124</number>" +
-                "            <name>Shirt</name>" +
-                "            <price currency='USD'>29.99</price>" +
-                "        </product>" +
-                "        <product>" +
-                "            <number>563</number>" +
-                "            <name>Hat</name>" +
-                "            <price currency='USD'>69.99</price>" +
-                "        </product>" +
-                "        <product>" +
-                "            <number>443</number>" +
-                "            <name>Umbrella</name>" +
-                "            <price currency='USD'>49.99</price>" +
-                "        </product>" +
-                "    </products>" +
-                "</order>",
-
-                "<root>" +
-                "    <token token='  blah  blah'/>" +
-                "    <string id='blah blah'/>" +
-                "</root>",
-
-                "<root>" +
-                "    <string id='foo1'>" +
-                "        <string id='foo2'>" +
-                "            <string id='foo3'>" +
-                "                <string id='foo6'>" +
-                "                    <string id='foo7'>" +
-                "                        <string id='foo3'/>" +
-                "                    </string>" +
-                "                </string>" +
-                "            </string>" +
-                "        </string>" +
-                "    </string>" +
-                "</root>",
-
-                "<xyz:root xmlns:xyz='http://www.tim-hanson.com/'>" +
-                "  <xyz:foo xyz:id='1'/>" +
-                "  <xyz:foo xyz:id='2'/>" +
-                "  <xyz:foo xyz:id='2'/>" +
-                "</xyz:root>",
-            };
-
-            String[] invalidOnDocOnly = new String[]
-            {
-
-                "<idtest>" +
-                "  <idref>foo</idref>" +
-                "  <id>abc</id>" +
-                "  <id>def</id>" +
-                "  <id>xyz</id>" +
-                "</idtest>",
-
-                "<idtest>" +
-                "  <idrefs>abc foo</idrefs>" +
-                "  <id>abc</id>" +
-                "  <id>def</id>" +
-                "  <id>xyz</id>" +
-                "</idtest>",
-            };
-
-
-            doTest(schemas, null, valid, invalid, true);
-            doTest(schemas, null, valid, invalid, false);
-
-             // IDRefs are validated only if starting at the very root of the world
-            doTest(schemas, null, new String[0], invalidOnDocOnly, true);
-            doTest(schemas, null, invalidOnDocOnly, new String[0], false);
-        }
-
-        // Test validation of setting with the ValidateOnSet option
-        public void testValidate10() throws Exception {
-            String schema =
-                "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-                "  <xs:simpleType name='dec-restriction'>" +
-                "    <xs:restriction base='xs:decimal'>" +
-                "      <xs:maxExclusive value='100'/>" +
-                "    </xs:restriction>" +
-                "  </xs:simpleType>" +
-                "</xs:schema>" +
-                "";
-
-            String[] schemas = { schema };
-
-            SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-            XmlOptions validate = new XmlOptions().setValidateOnSet();
-            XmlOptions noValidate = new XmlOptions();
-
-            SchemaType st = stl.findType(new QName("", "dec-restriction"));
-
-            XmlDecimal dec = (XmlDecimal)stl.newInstance(st, validate);
-
-            try {
-                dec.set("200");
-                fail("Expected XmlValueOutOfRangeException");
-            }
-            catch (XmlValueOutOfRangeException e) {}
-
-            dec = (XmlDecimal)stl.newInstance(st, noValidate);
-
-            try {
-                dec.set("200");
-            }
-            catch (XmlValueOutOfRangeException e) {
-                fail("Should not throw exception");
-            }
-
-        }
-
-        // tests numeral validation
-        public void testValidate11 ( )
-            throws Exception
-        {
-            String schema =
-                "<xs:schema\n" +
-                "   xmlns:xs='http://www.w3.org/2001/XMLSchema'\n" +
-                "   targetNamespace='http://openuri.org/testNumerals'\n" +
-                "   elementFormDefault='qualified'>\n" +
-                "\n" +
-                "  <xs:element name='doc'>\n" +
-                "    <xs:complexType>\n" +
-                "      <xs:sequence>\n" +
-                "        <xs:choice minOccurs='0' maxOccurs='unbounded'>\n" +
-                "          <xs:element name='int' type='xs:int' />\n" +
-                "          <xs:element name='short' type='xs:short' />\n" +
-                "          <xs:element name='byte' type='xs:byte' />\n" +
-                "        </xs:choice>\n" +
-                "      </xs:sequence>\n" +
-                "    </xs:complexType>\n" +
-                "  </xs:element>\n" +
-                "" +
-                "</xs:schema>\n";
-
-            String[] valid = {
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> \n -10" +
-                "  </int>" +
-                "</doc>",
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> \n -<!--comment-->9" +
-                "  </int>" +
-                "</doc>",
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> +0008" +
-                "  </int>" +
-                "</doc>",
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> +07<!--comment-->0" +
-                "  </int>" +
-                "</doc>"
-            };
-
-            String[] invalid = {
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int />" +
-                "<doc>",
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> </int>" +
-                "<doc>",
-                "<doc xmlns='http://openuri.org/testNumerals'>" +
-                "  <int> + 4 </int>" +
-                "<doc>"
-            };
-
-            String[] schemas = { schema };
-
-            doTest(
-                schemas,
-                new QName( "http://openuri.org/testNumerals", "doc" ),
-                valid, invalid );
-        }
-
-        // Bugzilla bug #26105: validate derived type from base type enumeration
-        public void testValidate12() throws Exception {
-            String schemas[] = {
-                "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>\n" +
-
-                "<xsd:element name='enumDef' type='enumDefType'/>\n" +
-                "<xsd:complexType name='enumDefType'>\n" +
-                "  <xsd:simpleContent>\n" +
-                "    <xsd:extension base='enumType'/>\n" +
-                "  </xsd:simpleContent>\n" +
-                "</xsd:complexType>\n" +
-
-                "<xsd:simpleType name='enumType'>\n" +
-                "  <xsd:restriction base='xsd:token'>\n" +
-                "    <xsd:enumeration value='enum1'/>\n" +
-                "  </xsd:restriction>\n" +
-                "</xsd:simpleType>\n" +
-                "</xsd:schema>\n",
-            };
-
-            String[] valid = {
-                "<enumDef>enum1</enumDef>",
-            };
-
-            String[] invalid = {
-                "<enumDef>enum2/enumDef>",
-            };
-
-            doTest(schemas, null, valid, invalid);
-        }
-
-    public void doTest (
-          String[] schemas, QName docType,
-          String[] validInstances, String[] invalidInstances)
-              throws Exception
-      {
-          doTest(schemas, docType, validInstances, invalidInstances, true);
-      }
-
-      public void doTest (
-          String[] schemas, QName docType,
-          String[] validInstances, String[] invalidInstances, boolean startOnDocument )
-              throws Exception
-      {
-          SchemaTypeLoader stl = makeSchemaTypeLoader( schemas );
-
-          XmlOptions options = new XmlOptions();
-
-          if (docType != null)
-          {
-              SchemaType docSchema = stl.findDocumentType( docType );
-
-              Assert.assertTrue( docSchema != null );
-
-              options.put( XmlOptions.DOCUMENT_TYPE, docSchema );
-          }
-
-          for ( int i = 0 ; i < validInstances.length ; i++ )
-          {
-              XmlObject x =
-                  stl.parse( (String) validInstances[ i ], null, options );
-
-              if (!startOnDocument)
-              {
-                  XmlCursor c = x.newCursor();
-                  c.toFirstChild();
-                  x = c.getObject();
-                  c.dispose();
-              }
-
-              List xel = new ArrayList();
-
-              options.put( XmlOptions.ERROR_LISTENER, xel );
-
-              boolean isValid = x.validate( options );
-
-              if (!isValid)
-              {
-                  System.err.println( "Invalid doc, expected a valid doc: " );
-                  System.err.println( "Instance(" + i + "): " );
-                  System.err.println( x.xmlText() );
-                  Root.dump( x );
-                  System.err.println( "Errors: " );
-                  for ( int j = 0 ; j < xel.size() ; j++ )
-                      System.err.println( xel.get( j ) );
-                  System.err.println();
-              }
-
-              Assert.assertTrue( isValid );
-          }
-
-          for ( int i = 0 ; i < invalidInstances.length ; i++ )
-          {
-              XmlObject x;
-
-              try
-              {
-                  x = stl.parse( (String) invalidInstances[ i ], null, options );
-
-                  if (! startOnDocument)
-                  {
-                      XmlCursor c = x.newCursor();
-                      c.toFirstChild();
-                      x = c.getObject();
-                      c.dispose();
-                  }
-
-                  boolean isValid = x.validate();
-
-                  if (isValid)
-                  {
-                      System.err.println( "Valid doc, expected a invalid doc: " );
-                      System.err.println( "Instance(" + i + "): " );
-                      System.err.println( x.xmlText() );
-                      Root.dump( x );
-                      System.err.println();
-                  }
-
-                  Assert.assertTrue( !isValid );
-              }
-              catch ( XmlException e )
-              {
-              }
-          }
-      }
-    
-
-}
diff --git a/v2/test/src/xmlobject/checkin/NameworldTest.java b/v2/test/src/xmlobject/checkin/NameworldTest.java
deleted file mode 100755
index db61815..0000000
--- a/v2/test/src/xmlobject/checkin/NameworldTest.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import org.openuri.nameworld.NameworldDocument;
-import org.openuri.nameworld.NameworldDocument.Nameworld;
-import org.openuri.nameworld.Loc;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-
-import java.io.File;
-
-import javax.xml.namespace.QName;
-
-import junit.framework.Assert;
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-
-import tools.util.*;
-
-
-public class NameworldTest extends TestCase
-{
-    public NameworldTest(String name) { super(name); }
-    public static Test suite() { return new TestSuite(NameworldTest.class); }
-
-    public static void testWorld1() throws Exception
-    {
-        NameworldDocument doc = (NameworldDocument)
-                    XmlObject.Factory.parse(
-                                    JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                                            "xbean/xmlobject/nameworld.xml"));
-
-        Assert.assertEquals(new QName("http://openuri.org/nameworld", "nameworld"), doc.schemaType().getDocumentElementName());
-
-        QName[] contents = new QName[]
-        {
-            new QName("http://bar.com/", "barcity"),
-            new QName("http://foo.com/", "footown"),
-            new QName("http://bar.com/", "barvillage"),
-            new QName("http://bar.com/", "bartown"),
-            new QName("http://foo.com/", "foovillage"),
-            new QName("http://bar.com/", "barvillage"),
-            new QName("http://foo.com/", "foocity"),
-            new QName("http://bar.com/", "bartown"),
-            new QName("http://foo.com/", "foovillage"),
-            new QName("http://foo.com/", "footown"),
-            new QName("http://bar.com/", "barvillage"),
-            new QName("http://foo.com/", "foovillage"),
-        };
-        int t = 0;
-
-        Nameworld world = doc.getNameworld();
-        Nameworld.Island[] islands = world.getIslandArray();
-        for (int i = 0; i < islands.length; i++)
-        {
-            Loc[] locs = islands[i].getLocationArray();
-            for (int j = 0; j < locs.length; j++)
-            {
-                Loc.Reference[] refs = locs[j].getReferenceArray();
-                for (int k = 0; k < refs.length; k++)
-                {
-                    Assert.assertEquals(contents[t++], refs[k].getTo());
-                }
-            }
-        }
-    }
-
-    /*
-    public static void testAccessByName() throws Exception
-    {
-        NameworldDocument doc = (NameworldDocument)
-                    XmlLoader.Factory.parse(TestEnv.xbeanCase("xbean/xmlobject/nameworld.xml"),
-                    NameworldDocument.type);
-        String[] contents = new String[]
-        {
-            "http://foo.com/",
-            "foocity",
-            "footown",
-            "foovillage",
-            "http://bar.com/",
-            "barcity",
-            "bartown",
-            "barvillage",
-        };
-        int t = 0;
-        Nameworld world = (Nameworld)doc.elementByName(new Name("http://openuri.org/nameworld", "nameworld"), 0);
-        for (int i = 0; i < world.countOfElementByName(new Name("http://openuri.org/nameworld", "island")); i++)
-        {
-            Nameworld.Island island = (Nameworld.Island)world.elementByName(new Name("http://openuri.org/nameworld", "island"), i);
-            Assert.assertEquals(contents[t++], ((SimpleValue)island.attributeByName(new Name("targetNamespace"))).stringValue());
-            for (int j = 0; j < island.countOfElementByName(new Name( "http://openuri.org/nameworld", "location")); j++)
-            {
-                Loc loc = (Loc)island.elementByName(new Name("http://openuri.org/nameworld", "location"), j);
-                Assert.assertEquals(contents[t++], ((SimpleValue)loc.attributeByName(new Name("name"))).stringValue());
-            }
-        }
-    }
-    */
-
-}
diff --git a/v2/test/src/xmlobject/checkin/RedefineTest.java b/v2/test/src/xmlobject/checkin/RedefineTest.java
deleted file mode 100755
index 4cad930..0000000
--- a/v2/test/src/xmlobject/checkin/RedefineTest.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*   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.
- */
-package xmlobject.checkin;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlObject;
-
-import org.example.prod.NewSizeDocument;
-import org.openuri.versionstest.ElementDocument;
-import org.openuri.versionstest.Type;
-import org.openuri.versionstest.TypeX;
-
-import java.util.List;
-import java.util.ArrayList;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-
-/**
- * @author Cezar Andrei (cezar.andrei at bea.com)
- * Date: May 4, 2004
- */
-public class RedefineTest extends TestCase
-{
-    public RedefineTest(String name) { super(name); }
-    public static Test suite() { return new TestSuite(RedefineTest.class); }
-
-    public void testRedefine()
-    {
-        try
-        {
-            String xml = "<newSize xmlns='http://example.org/prod'>7</newSize>";
-            NewSizeDocument nsDoc = NewSizeDocument.Factory.parse(xml);
-
-            boolean valid = nsDoc.validate();
-
-            if (!valid)
-                print(nsDoc);
-
-            Assert.assertTrue(valid);
-
-            Assert.assertTrue(nsDoc.getNewSize()==7);
-
-            nsDoc.setNewSize(20);
-
-            List errors = new ArrayList();
-            XmlOptions options = new XmlOptions();
-            options.setErrorListener(errors);
-
-            valid = nsDoc.validate(options);
-
-            if (valid || errors.size()!=1)
-                print(nsDoc);
-
-            Assert.assertTrue(!valid);
-
-            Assert.assertTrue(errors.size()==1);
-        }
-        catch (XmlException e)
-        {
-            StringWriter w = new StringWriter();
-            e.printStackTrace(new PrintWriter(w));
-            Assert.fail(w.toString());
-        }
-    }
-
-    public void testMultipleRedefine()
-    {
-        try
-        {
-            String xml = "<v:element xmlns:v='http://openuri.org/versionstest'>" +
-                "<aa>AA</aa><a>A</a><b>B</b><c>C</c>" + "</v:element>";
-            ElementDocument doc = ElementDocument.Factory.parse(xml);
-            TypeX tx = doc.getElement();
-
-            Assert.assertTrue(tx.validate());
-            Assert.assertEquals("A", tx.getA());
-            Assert.assertEquals("B", tx.getB());
-            Assert.assertEquals("C", tx.getC());
-            Assert.assertEquals("AA", ((Type) tx).getAa());
-        }
-        catch (XmlException e)
-        {
-            StringWriter w = new StringWriter();
-            e.printStackTrace(new PrintWriter(w));
-            Assert.fail(w.toString());
-        }
-    }
-
-    private static void print(XmlObject xo)
-    {
-        List errors = new ArrayList();
-        XmlOptions options = new XmlOptions();
-        options.setErrorListener(errors);
-
-        System.out.println("Doc:\n" + xo + "\nValid: " + xo.validate(options));
-
-        for (int i = 0; i < errors.size(); i++)
-        {
-            XmlError xmlError = (XmlError) errors.get(i);
-            System.out.println(xmlError);
-        }
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/SelectChldAttTests.java b/v2/test/src/xmlobject/checkin/SelectChldAttTests.java
deleted file mode 100755
index 0012150..0000000
--- a/v2/test/src/xmlobject/checkin/SelectChldAttTests.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.QNameSet;
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xml.test.selectChldAtt.DocDocument;
-import org.apache.xml.test.selectChldAtt.TypeExtendedC;
-
-import javax.xml.namespace.QName;
-import java.util.Collection;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-/**
- * @author Cezar Andrei (cezar.andrei at bea.com)
- * Date: Apr 5, 2004
- */
-public class SelectChldAttTests extends TestCase
-{
-    public SelectChldAttTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(SelectChldAttTests.class); }
-
-    private static final String XSI_URI="http://www.w3.org/2001/XMLSchema-instance";
-
-    public void testSelect() throws XmlException
-    {
-        String uri = "http://xml.apache.org/test/selectChldAtt";
-
-        String xml = "<doc xmlns='" + uri + "'>\n" +
-            "  <int>7</int>\n" +
-            "  <string> ... some text ... </string>\n" +
-
-            "  <elemA price='4.321'>\n" +
-            "    <topLevelElement> this is wildcard bucket </topLevelElement>\n" +
-            "  </elemA>\n" +
-
-            "  <elemB xmlns:p='uri:other_namespace' \n" +
-            "       p:att='attribute in #other namespace'>\n" +
-            "    <someElement>2</someElement>\n" +
-            "    <p:otherElement> element in #other namespace </p:otherElement>\n" +
-            "  </elemB>\n" +
-
-            "  <elemC xmlns:xsi='" + XSI_URI + "' \n" +
-            "         xmlns:p='uri_other_namespace' \n" +
-            "         xsi:type='typeExtendedC' \n" +
-            "         att1='attribute from typeC' \n" +
-            "         aditionalAtt='attribute added in type extension' \n" +
-            "         p:validAtt='attribute in any bucket' >\n" +
-            "    <someElement> element from typeC </someElement>\n" +
-            "    <p:validElement> element in the 'any' bucket for typeExtendedC </p:validElement>\n" +
-            "    <aditionalElement> element from typeExtendedC </aditionalElement>\n" +
-            "  </elemC>\n" +
-            "</doc>";
-
-        DocDocument document = DocDocument.Factory.parse(xml);
-        DocDocument.Doc doc = document.getDoc();
-        Collection errors = new ArrayList();
-        Assert.assertTrue("Valid instance", doc.validate(new XmlOptions().setErrorListener(errors)));
-        printErrors(errors);
-
-        XmlObject xo;
-        XmlObject[] xos;
-
-        // select a known element
-        xos = doc.selectChildren(new QName(uri, "int"));
-        //print("1 selectChildren 'int' : ", xos);
-        Assert.assertTrue("1 selectChildren 'int' : ", verifyResult(xos, new String[]{"<xml-fragment>7</xml-fragment>"}));
-
-        xos = doc.selectChildren(uri, "string");
-        //print("2 selectChildren 'string' : ", xos);
-        Assert.assertTrue("2 selectChildren 'string' : ", verifyResult(xos, new String[]{"<xml-fragment>... some text ...</xml-fragment>"}));
-
-        // elemA
-        xos = doc.selectChildren(new QName(uri, "elemA"));
-        //print("3 selectChildren 'elemA' : ", xos);
-        Assert.assertTrue("3 selectChildren 'elemA' : ",
-            verifyResult(xos, new String[]{"<xml-fragment price=\"4.321\" xmlns:sel=\"" + uri +"\">\n" +
-            "  <sel:topLevelElement>this is wildcard bucket</sel:topLevelElement>\n" +
-            "</xml-fragment>"}));
-
-        // select a known attribute
-        xo = xos[0].selectAttribute(new QName("", "price"));
-        //print("4     selectAttribute 'price' : ", xo);
-        Assert.assertTrue("4     selectAttribute 'price' : ",
-            verifyResult(xo, "<xml-fragment>4.321</xml-fragment>"));
-
-        // select all attributes
-        QNameSet qns = QNameSet.forWildcardNamespaceString("##any", uri);
-        xos = xos[0].selectAttributes(qns);
-        //print("5     selectAttributes set'##any' :", xos);
-        Assert.assertTrue("5     selectAttributes set'##any' :",
-            verifyResult(xos, new String[]{"<xml-fragment>4.321</xml-fragment>"}));
-
-        // elemB
-        xos = doc.selectChildren(new QName(uri, "elemB"));
-        //print("6 selectChildren 'elemB' : ", xos);
-
-        //print("7     selectChildren set'##other' : " , xos[0].selectChildren(QNameSet.forWildcardNamespaceString("##other", uri)));
-        Assert.assertTrue("7     selectChildren set'##other' : ",
-            verifyResult( xos[0].selectChildren(QNameSet.forWildcardNamespaceString("##other", uri))
-            , new String[]{"<xml-fragment xmlns:p=\"uri:other_namespace\">element in #other namespace</xml-fragment>"}));
-        //print("8     selectAttributes set'##other' : ", xos[0].selectAttributes(QNameSet.forWildcardNamespaceString("##other", uri)));
-        Assert.assertTrue("8     selectAttributes set'##other' : ",
-            verifyResult(xos[0].selectAttributes(QNameSet.forWildcardNamespaceString("##other", uri)),
-            new String[]{"<xml-fragment>attribute in #other namespace</xml-fragment>"}));
-
-        // elemC
-        xos = doc.selectChildren(new QName(uri, "elemC"));
-        //print("9 selectChildren 'elemC' : ", xos);
-        //print("10    selectChildren set'##any' : " , xos[0].selectChildren(QNameSet.forWildcardNamespaceString("##any", uri)));
-        Assert.assertTrue("10    selectChildren set'##any' : ",
-            verifyResult(xos[0].selectChildren(QNameSet.forWildcardNamespaceString("##any", uri))
-            , new String[]{"<xml-fragment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:p=\"uri_other_namespace\">element from typeC</xml-fragment>",
-            "<xml-fragment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:p=\"uri_other_namespace\">element in the 'any' bucket for typeExtendedC</xml-fragment>",
-            "<xml-fragment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:p=\"uri_other_namespace\">element from typeExtendedC</xml-fragment>"}));
-
-        // select elements in the any bucket by excluding the the known elements
-        QNameSetBuilder qnsb = new QNameSetBuilder();
-        qnsb.add(new QName(uri, "someElement"));
-        qnsb.add(new QName(uri, "aditionalElement"));
-        qnsb.invert();
-
-        //print("11a    selectChildren in the any bucket for typeExtendedC: " , xos[0].selectChildren(qnsb.toQNameSet()));
-        Assert.assertTrue("11a    selectChildren in the any bucket for typeExtendedC: ",
-            verifyResult(xos[0].selectChildren(qnsb.toQNameSet()),
-            new String[]{"<xml-fragment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:p=\"uri_other_namespace\">element in the 'any' bucket for typeExtendedC</xml-fragment>"}));
-
-        //print("11b    selectChildren in the any bucket for typeExtendedC: " , xos[0].selectChildren(TypeExtendedC.type.qnameSetForWildcardElements()));
-        Assert.assertTrue("11b    selectChildren in the any bucket for typeExtendedC: ",
-            verifyResult(xos[0].selectChildren(TypeExtendedC.type.qnameSetForWildcardElements()),
-            new String[]{"<xml-fragment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:p=\"uri_other_namespace\">element in the 'any' bucket for typeExtendedC</xml-fragment>"}));
-
-        // select attributes in the any bucket by excluding the the known attributes
-        qnsb = new QNameSetBuilder();
-        qnsb.add(new QName("", "att1"));
-        qnsb.add(new QName("", "aditionalAtt"));
-        qnsb.add(new QName(XSI_URI, "type"));
-        qnsb.invert();
-
-        //print("12a    selectChildren in the any bucket for typeExtendedC: " , xos[0].selectAttributes(qnsb.toQNameSet()));
-        Assert.assertTrue("12a    selectChildren in the any bucket for typeExtendedC: ",
-            verifyResult(xos[0].selectAttributes(qnsb.toQNameSet()),
-            new String[]{"<xml-fragment>attribute in any bucket</xml-fragment>"}));
-        //print("12b    selectChildren in the any bucket for typeExtendedC: " , xos[0].selectAttributes(TypeExtendedC.type.qnameSetForWildcardAttributes()));
-        Assert.assertTrue("12b    selectChildren in the any bucket for typeExtendedC: ",
-            verifyResult(xos[0].selectAttributes(TypeExtendedC.type.qnameSetForWildcardAttributes()),
-            new String[]{"<xml-fragment>typeExtendedC</xml-fragment>",
-            "<xml-fragment>attribute in any bucket</xml-fragment>"}));
-    }
-
-    private static void print(String msg, XmlObject[] xos)
-    {
-        System.out.println(msg + "   " + xos.length);
-        for (int i=0; i<xos.length; i++)
-        {
-            System.out.println("      " + i + " :" + xos[i]);
-        }
-    }
-
-    private static void print(String msg, XmlObject xo)
-    {
-        System.out.println(msg + "   " + xo);
-    }
-
-    private static void printErrors(Collection errors)
-    {
-        for (Iterator i = errors.iterator(); i.hasNext();)
-        {
-            System.out.println("ERROR: " + i.next());
-        }
-    }
-
-    private static boolean verifyResult(XmlObject[] xos, String[] expected)
-    {
-        if (xos==null && expected==null)
-            return true;
-
-        if (xos==null || expected==null)
-            return false;
-
-        if (xos.length != expected.length)
-            return false;
-
-        for (int i = 0; i < xos.length; i++)
-        {
-            XmlObject xo = xos[i];
-            if (!equalsIgnoreNewLine(xo.toString(),expected[i]))
-            {
-                System.out.println("ERROR:\n    Actual:\n" + xo.toString() + "\n   Expected:\n" + expected[i]);
-                return false;
-            }
-        }
-        return true;
-    }
-
-    private static boolean verifyResult(XmlObject xo, String expected)
-    {
-        if (xo==null && expected==null)
-            return true;
-
-        if (xo==null || expected==null)
-            return false;
-
-        if (!xo.toString().equals(expected))
-        {
-            System.out.println("ERROR:\n    Actual:\n" + xo.toString() + "\n   Expected:\n" + expected);
-            return false;
-        }
-        else
-            return true;
-    }
-
-    private static boolean equalsIgnoreNewLine(String s1, String s2)
-    {
-        if (s1==null && s2==null)
-            return true;
-
-        if (s1==null || s2==null)
-            return false;
-
-        int i1 = 0, i2 = 0;
-        while (i1<s1.length() || i2<s2.length())
-        {
-            if (s1.charAt(i1)=='\n' || s1.charAt(i1)=='\r')
-            {
-                i1++;
-                continue;
-            }
-
-            if (s2.charAt(i2)=='\n' || s2.charAt(i2)=='\r')
-            {
-                i2++;
-                continue;
-            }
-
-            if (s1.charAt(i1)!=s2.charAt(i2))
-                return false;
-
-            i1++;
-            i2++;
-        }
-
-        if ( (i1 == s1.length()) && (i2 == s2.length()))
-            return true;
-        else
-            return false;
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/SerializationTests.java b/v2/test/src/xmlobject/checkin/SerializationTests.java
deleted file mode 100755
index d0f86ab..0000000
--- a/v2/test/src/xmlobject/checkin/SerializationTests.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import com.easypo.XmlPurchaseOrderDocumentBean.PurchaseOrder;
-import com.easypo.XmlLineItemBean;
-import com.easypo.XmlShipperBean;
-import com.easypo.XmlPurchaseOrderDocumentBean;
-import org.apache.xmlbeans.XmlObject;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.io.ByteArrayOutputStream;
-import java.io.ObjectOutputStream;
-import java.io.ByteArrayInputStream;
-import java.io.ObjectInputStream;
-
-public class SerializationTests extends TestCase
-{
-    public SerializationTests (String name) { super(name); }
-    public static Test suite() { return new TestSuite(SerializationTests.class); }
-
-    public void testXmlObjectSerialization() throws Exception
-    {
-        String simpleDocument = "<simpleDoc><nestedTag attr=\"sample\">43</nestedTag></simpleDoc>";
-        XmlObject doc = XmlObject.Factory.parse(simpleDocument);
-
-        // baseline test
-        Assert.assertEquals(simpleDocument, doc.xmlText());
-
-        ByteArrayOutputStream out = new ByteArrayOutputStream();
-        ObjectOutputStream oos = new ObjectOutputStream(out);
-        oos.writeObject(doc);
-        oos.close();
-
-        byte[] byteArray = out.toByteArray();
-        ByteArrayInputStream in = new ByteArrayInputStream(byteArray);
-        ObjectInputStream ois = new ObjectInputStream(in);
-        XmlObject newdoc = (XmlObject)ois.readObject();
-        ois.close();
-
-        Assert.assertEquals(simpleDocument, newdoc.xmlText());
-    }
-
-    public void testXBeanSerialization() throws Exception
-    {
-        XmlPurchaseOrderDocumentBean doc = XmlPurchaseOrderDocumentBean.Factory.newInstance();
-        PurchaseOrder order = doc.addNewPurchaseOrder();
-        order.addNewCustomer().setName("David Bau");
-        order.getCustomer().setAddress("Gladwyne, PA");
-        XmlLineItemBean li;
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 1");
-        li.setPrice(new BigDecimal("21.79"));
-        li.setQuantity(BigInteger.valueOf(2));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 2");
-        li.setPrice(new BigDecimal("19.89"));
-        li.setQuantity(BigInteger.valueOf(2));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        li = order.addNewLineItem();
-        li.setDescription("Burnham's Celestial Handbook, Vol 3");
-        li.setPrice(new BigDecimal("19.89"));
-        li.setQuantity(BigInteger.valueOf(1));
-        li.setPerUnitOunces(new BigDecimal("5"));
-        XmlShipperBean sh = order.addNewShipper();
-        sh.setName("UPS");
-        sh.setPerOunceRate(new BigDecimal("0.74"));
-
-        ByteArrayOutputStream out = new ByteArrayOutputStream();
-        ObjectOutputStream oos = new ObjectOutputStream(out);
-        oos.writeObject(doc.getPurchaseOrder().getLineItemArray(1));
-        oos.writeObject(doc);
-        oos.writeObject(doc.getPurchaseOrder().getLineItemArray(2));
-        oos.close();
-
-        byte[] byteArray = out.toByteArray();
-        ByteArrayInputStream in = new ByteArrayInputStream(byteArray);
-        ObjectInputStream ois = new ObjectInputStream(in);
-        XmlLineItemBean newli1 = (XmlLineItemBean)ois.readObject();
-        XmlPurchaseOrderDocumentBean newdoc = (XmlPurchaseOrderDocumentBean)ois.readObject();
-        XmlLineItemBean newli2 = (XmlLineItemBean)ois.readObject();
-        ois.close();
-
-        PurchaseOrder neworder = newdoc.getPurchaseOrder();
-
-        Assert.assertEquals(newli1, neworder.getLineItemArray(1));
-        Assert.assertEquals(newli2, neworder.getLineItemArray(2));
-
-        Assert.assertEquals("David Bau", neworder.getCustomer().getName());
-        Assert.assertEquals("Gladwyne, PA", neworder.getCustomer().getAddress());
-        Assert.assertEquals(3, neworder.sizeOfLineItemArray());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 1", neworder.getLineItemArray(0).getDescription());
-        Assert.assertEquals(new BigDecimal("21.79"), neworder.getLineItemArray(0).getPrice());
-        Assert.assertEquals(new BigInteger("2"), neworder.getLineItemArray(0).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), neworder.getLineItemArray(0).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 2", neworder.getLineItemArray(1).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), neworder.getLineItemArray(1).getPrice());
-        Assert.assertEquals(new BigInteger("2"), neworder.getLineItemArray(1).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), neworder.getLineItemArray(1).getPerUnitOunces());
-
-        Assert.assertEquals("Burnham's Celestial Handbook, Vol 3", neworder.getLineItemArray(2).getDescription());
-        Assert.assertEquals(new BigDecimal("19.89"), neworder.getLineItemArray(2).getPrice());
-        Assert.assertEquals(new BigInteger("1"), neworder.getLineItemArray(2).getQuantity());
-        Assert.assertEquals(new BigDecimal("5"), neworder.getLineItemArray(2).getPerUnitOunces());
-
-        Assert.assertEquals(true, neworder.isSetShipper());
-        Assert.assertEquals("UPS", neworder.getShipper().getName());
-        Assert.assertEquals(new BigDecimal("0.74"), neworder.getShipper().getPerOunceRate());
-    }
-}
diff --git a/v2/test/src/xmlobject/checkin/SetTest.java b/v2/test/src/xmlobject/checkin/SetTest.java
deleted file mode 100755
index 7798853..0000000
--- a/v2/test/src/xmlobject/checkin/SetTest.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*   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.
- */
-package xmlobject.checkin;
-
-import java.util.*;
-
-import junit.framework.*;
-
-import xmlcursor.common.*;
-
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlString;
-import org.apache.xmlbeans.XmlDate;
-import org.apache.xmlbeans.XmlCalendar;
-
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import test.xbean.xmlcursor.purchaseOrder.USAddress;
-
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class SetTest extends BasicCursorTestCase {
-    public SetTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testSetFromSTART() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.START);
-        XmlObject xo = m_xc.getObject();
-        xo.set(XmlString.Factory.newValue("newtext"));
-        assertEquals("newtext", m_xc.getTextValue());
-    }
-
-    public void testSetFromATTR() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.ATTR);
-        XmlObject xo = m_xc.getObject();
-        xo.set(XmlString.Factory.newValue(" new attr text "));
-        assertEquals(" new attr text ", m_xc.getTextValue());
-    }
-
-    public void testSetFromSTARTstronglyTyped() throws Exception {
-        // PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-        //         Common.XML_PURCHASEORDER);
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        XmlString xcomment = pod.getPurchaseOrder().xgetComment();
-        xcomment.setStringValue("new comment text");
-        assertEquals("new comment text", pod.getPurchaseOrder().getComment());
-    }
-
-    public void testSetFromATTRstronglyTyped() throws Exception {
-/*        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                Common.XML_PURCHASEORDER);
-                */
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        XmlDate xorderDate = pod.getPurchaseOrder().xgetOrderDate();
-
-        assertFalse(xorderDate==null);
-
-        Calendar d = new XmlCalendar(new java.util.Date());
-        xorderDate.setCalendarValue(d);
-
-        // compare year, month, day of the xsd:date type
-        assertEquals(d.get(Calendar.YEAR),
-                pod.getPurchaseOrder().getOrderDate().get(Calendar.YEAR));
-        assertEquals(d.get(Calendar.MONTH),
-                pod.getPurchaseOrder().getOrderDate().get(Calendar.MONTH));
-        assertEquals(d.get(Calendar.DAY_OF_MONTH),
-                pod.getPurchaseOrder().getOrderDate().get(
-                        Calendar.DAY_OF_MONTH));
-    }
-
-    public void testSetFromFixedATTR() throws Exception {
-/*        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                Common.XML_PURCHASEORDER);
-                */
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        USAddress usa = pod.getPurchaseOrder().getShipTo();
-         assertFalse(usa==null);
-
-        XmlString xcountry = usa.xgetCountry();
-
-        xcountry.setStringValue("UK");
-
-
-        assertEquals(false, pod.validate());
-    }
-
-    public void testSetFromComplexType() throws Exception {
-        /*  PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                  Common.XML_PURCHASEORDER);
-                  */
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        USAddress usa = pod.getPurchaseOrder().getShipTo();
-        assertFalse(usa==null);
-        usa.set(
-                USAddress.Factory.parse(
-                        "<shipTo country=\"UK\"><name>Fred</name><street>paved</street><city>town</city><state>AK</state><zip>00000</zip></shipTo>"));
-
-        // assertTrue(true);
-        assertEquals(false, pod.validate());
-    }
-}
-
diff --git a/v2/test/src/xmlobject/checkin/SubstGroupTests.java b/v2/test/src/xmlobject/checkin/SubstGroupTests.java
deleted file mode 100755
index 9b91114..0000000
--- a/v2/test/src/xmlobject/checkin/SubstGroupTests.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlNormalizedString;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlString;
-import org.apache.xmlbeans.XmlToken;
-import org.openuri.sgs.ADocument;
-import org.openuri.sgs.BDocument;
-import org.openuri.sgs.CDocument;
-import org.openuri.sgs.RootDocument;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-public class SubstGroupTests extends TestCase
-{
-    public SubstGroupTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(SubstGroupTests.class); }
-
-    public void test1() throws Exception {
-        String xml1 = "<root xmlns='http://openuri.org/sgs'>" +
-            "<A>\ta\ta\t</A>" +
-            "<B>\tb\tb\t</B>" +
-            "<C>\tc\tc\t</C>" +
-            "</root>";
-
-
-        RootDocument doc1 = RootDocument.Factory.parse(xml1);
-        RootDocument.Root root = doc1.getRoot();
-        assertTrue(doc1.validate());
-
-        XmlString a = root.xgetAArray(0);
-        assertTrue(a.schemaType().equals(XmlString.type));
-        assertEquals("\ta\ta\t", a.stringValue());
-
-        XmlString b = root.xgetAArray(1);
-        assertTrue(b.schemaType().equals(XmlNormalizedString.type));
-        assertEquals(" b b ", b.stringValue());
-
-        XmlString c = root.xgetAArray(2);
-        assertTrue(c.schemaType().equals(XmlToken.type));
-        assertEquals("c c", c.stringValue());
-
-        root.insertA(2, "d d");
-        assertEquals("d d", root.getAArray(2));
-        assertEquals(4, root.sizeOfAArray());
-        root.removeA(2);
-
-        root.removeA(1);
-        assertEquals("c c", root.getAArray(1));
-        assertEquals(2, root.sizeOfAArray());
-
-        root.addA("f f");
-        assertEquals(3, root.sizeOfAArray());
-        assertEquals("f f", root.getAArray(2));
-
-        // Test array setters
-
-        // test m < n case
-        String[] smaller = new String[]{ "x", "y" };
-        root.setAArray(smaller);
-        assertEquals(2, root.sizeOfAArray());
-        assertEquals("y", root.getAArray(1));
-
-        // test m > n case
-        String[] larger = new String[] { "p", "q", "r", "s" };
-        root.setAArray(larger);
-        assertEquals(4, root.sizeOfAArray());
-        assertEquals("r", root.getAArray(2));
-    }
-
-    public void test2() throws Exception {
-        String xml1 = "<A xmlns='http://openuri.org/sgs'>\ta\ta\t</A>";
-        String xml2 = "<B xmlns='http://openuri.org/sgs'>\tb\tb\t</B>";
-        String xml3 = "<C xmlns='http://openuri.org/sgs'>\tc\tc\t</C>";
-
-        ADocument d1 = ADocument.Factory.parse(xml1);
-        XmlString a = d1.xgetA();
-        assertTrue(a.schemaType().equals(XmlString.type));
-        assertEquals("\ta\ta\t", a.stringValue());
-
-        ADocument d2 = ADocument.Factory.parse(xml2);
-        XmlString b = d2.xgetA();
-        assertTrue(d2.schemaType().equals(BDocument.type));
-        assertTrue(b.schemaType().equals(XmlNormalizedString.type));
-        assertEquals(" b b ", b.stringValue());
-
-        ADocument d3 = ADocument.Factory.parse(xml3);
-        XmlString c = d3.xgetA();
-        assertTrue(d3.schemaType().equals(CDocument.type));
-        assertTrue(c.schemaType().equals(XmlToken.type));
-        assertEquals("c c", c.stringValue());
-    }
-
-    public static final String[] invalidSchemas = 
-    {
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:string'/> " +
-        "  <xsd:element name='B' type='xsd:int' substitutionGroup='A'/> " +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:complexType name='foo'> " +
-        "    <xsd:sequence> " +
-        "      <xsd:element name='bar' substitutionGroup='A'/>" +
-        "    </xsd:sequence> " +
-        "  </xsd:complexType>" +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:string' final='#all'/> " +
-        "  <xsd:element name='B' type='xsd:string' substitutionGroup='A'/> " +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:string' final='restriction'/> " +
-        "  <xsd:element name='B' type='xsd:token' substitutionGroup='A'/> " +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:string' substitutionGroup='B'/> " +
-        "  <xsd:element name='B' type='xsd:string' substitutionGroup='C'/> " +
-        "  <xsd:element name='C' type='xsd:string' substitutionGroup='D'/> " +
-        "  <xsd:element name='D' type='xsd:string' substitutionGroup='E'/> " +
-        "  <xsd:element name='E' type='xsd:string' substitutionGroup='A'/> " +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:token' substitutionGroup='B'/> " +
-        "</xsd:schema>",
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> " +
-        "  <xsd:element name='A' type='xsd:string'/> " +
-        "  <xsd:element name='B' type='xsd:string' substitutionGroup='A'/> " +
-        "  <xsd:element name='Complex'> " +
-        "    <xsd:complexType> " +
-        "      <xsd:choice> " +
-        "        <xsd:element ref='A'/>" +
-        "        <xsd:element ref='B'/>" +
-        "      </xsd:choice> " +
-        "    </xsd:complexType> " +
-        "  </xsd:element> " +
-        "</xsd:schema>",
-    };
-
-    public static final String[] validSchemas = 
-    {
-        "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'>" +
-        "  <xsd:complexType name='base'>" +
-        "    <xsd:all>" +
-        "      <xsd:element ref='head'/>" +
-        "    </xsd:all>" +
-        "  </xsd:complexType>" +
-        "  <xsd:complexType name='restr'>" +
-        "    <xsd:complexContent>" +
-        "       <xsd:restriction base='base'>" +
-        "         <xsd:all>" +
-        "           <xsd:element ref='tail'/>" +
-        "         </xsd:all>" +
-        "       </xsd:restriction>" +
-        "    </xsd:complexContent>" +
-        "  </xsd:complexType>" +
-        "  <xsd:element name='head' type='xsd:string'/>" +
-        "  <xsd:element name='tail' substitutionGroup='head'/>" +
-        "</xsd:schema>",
-    };
-        
-    public void test3() throws Exception {
-        SchemaDocument[] schemas = new SchemaDocument[invalidSchemas.length];
-
-        // Parse the invalid schema files
-        for (int i = 0 ; i < invalidSchemas.length ; i++)
-            schemas[i] = SchemaDocument.Factory.parse(invalidSchemas[i]);
-
-        // Now compile the invalid schemas, test that they fail
-        for (int i = 0 ; i < schemas.length ; i++)
-        {
-            try {
-                XmlBeans.loadXsd(new XmlObject[] {schemas[i]});
-                fail("Schema should have failed to compile:\n" + invalidSchemas[i]);
-            }
-            catch (XmlException success) { /* System.out.println(success); */ }
-        }
-
-
-        // Parse the valid schema files
-        schemas = new SchemaDocument[validSchemas.length];
-        for (int i = 0 ; i < validSchemas.length ; i++)
-            schemas[i] = SchemaDocument.Factory.parse(validSchemas[i]);
-
-        // Now compile the valid schemas, test that they succeed
-        for (int i = 0 ; i < schemas.length ; i++)
-        {
-            try {
-                XmlBeans.loadXsd(new XmlObject[] {schemas[i]});
-            }
-            catch (XmlException fail)
-            {
-               fail("Failed to compile schema: " + schemas[i] + " with error: " + fail);
-            }
-        }
-    }
-
-    public static String[] invalidDocs = 
-    {
-        "<abstractTest xmlns='http://openuri.org/sgs'>" +
-        "    <abstract>content</abstract> " +
-        "</abstractTest> ",
-    };
-
-    public static String[] validDocs = 
-    {
-        "<abstractTest xmlns='http://openuri.org/sgs'>" +
-        "    <concrete>content</concrete> " +
-        "</abstractTest> ",
-    };
-
-    public void test4() throws Exception 
-    {
-
-        for (int i = 0 ; i < invalidDocs.length ; i++)
-        {
-            XmlObject xo = XmlObject.Factory.parse(invalidDocs[i]);
-            assertTrue("Doc was valid. Should be invalid: " + invalidDocs[i], 
-                ! xo.validate());
-        }
-
-        for (int i = 0 ; i < validDocs.length ; i++)
-        {
-            XmlObject xo = XmlObject.Factory.parse(validDocs[i]);
-            assertTrue("Doc was invalid. Should be valid: " + validDocs[i],
-                xo.validate());
-        }
-    }
-
-}
diff --git a/v2/test/src/xmlobject/checkin/ValidateTest.java b/v2/test/src/xmlobject/checkin/ValidateTest.java
deleted file mode 100755
index af94b03..0000000
--- a/v2/test/src/xmlobject/checkin/ValidateTest.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*   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.
- */
-
-package xmlobject.checkin;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-
-import javax.xml.namespace.QName;
-
-import xmlcursor.common.*;
-
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class ValidateTest extends BasicCursorTestCase {
-    public ValidateTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ValidateTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testValidateTrue() throws Exception {
-        //m_xo = XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-         m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        assertEquals(true, m_xo.validate());
-    }
-
-    public void testValidateTrueWithOptionDiscardDocElement() throws Exception {
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT, null);
-        m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_XMLCURSOR_PO)
-                , map);
-
-        assertEquals(false, m_xo.validate(map));
-    }
-
-    public void testValidateFalseFixedAttr() throws Exception {
-       // m_xo = XmlObject.Factory.parse(Common.XML_PURCHASEORDER);
-          m_xo = XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        String ns="declare namespace po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-                    String exp_ns="xmlns:po=\"http://xbean.test/xmlcursor/PurchaseOrder\"";
-
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(ns+" $this//po:shipTo");
-        QName name = new QName("country");
-        m_xc.setAttributeText(name, "UK");
-        XmlObject xo = m_xc.getObject();
-        assertEquals("UK", m_xc.getAttributeText(name));
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) m_xo;
-
-
-
-        assertEquals(false, xo.validate());
-        assertEquals(false, pod.validate());
-        assertEquals(false, m_xo.validate());
-
-        assertTrue(true);
-    }
-}
-
diff --git a/v2/test/src/xmlobject/common/SelectChildrenAttribCommon.java b/v2/test/src/xmlobject/common/SelectChildrenAttribCommon.java
deleted file mode 100755
index 7633ea6..0000000
--- a/v2/test/src/xmlobject/common/SelectChildrenAttribCommon.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*   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.
- */
-package xmlobject.common;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-
-import java.util.regex.Pattern;
-import java.util.regex.Matcher;
-import junit.framework.TestCase;
-import tools.util.JarUtil;
-import tools.xml.XmlComparator;
-
-
-/**
- *
- *
- */
-public class SelectChildrenAttribCommon
-        extends TestCase
-{
-    public SelectChildrenAttribCommon(String name)
-    {
-        super(name);
-    }
-
-    public void setUp()
-    {
-        opts = new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(2);
-    }
-
-
-    // Common
-    public XmlOptions opts;
-
-
-    //////////////////////////////////////////////////////////////////
-    // Helper methods
-    public void validateTest(String testName, String[] exps, XmlObject[] act)
-        throws Exception
-    {
-        assertTrue(testName + ": Return array has more/less elements than expected: "
-                   + act.length, act.length == exps.length);
-        boolean passed = true;
-
-        for (int i = 0; i < act.length; i++)
-        {
-            boolean res;
-            res = XComp(convertFragToDoc(act[i].xmlText()), exps[i], true);
-            if (res == false)
-            {
-                System.out.println("Expected value differs from actual: Index=" + i);
-                System.out.println("Expected: " + exps[i]);
-                System.out.println("Actual: " + act[i].xmlText());
-                passed = false;
-            }
-        }
-        assertTrue(testName + ": Failed!", passed);
-    }
-
-
-    public void validateTest(String testName, String exp, XmlObject xml)
-        throws Exception
-    {
-        if (xml == null)
-            fail(testName + ": XmlObject Recevied is null");
-
-        boolean res = XComp(convertFragToDoc(xml.xmlText()), exp, true);
-        assertTrue("Expected value differs from actual\n" +
-                   "Expected: " + exp + "\n" +
-                   "Actual: " + xml.xmlText(),
-                   res);
-    }
-
-
-    public static String getXml(String file)
-        throws java.io.IOException
-    {
-        return JarUtil.getResourceFromJar("xmlcases.jar", file);
-    }
-
-
-    /**
-     * Just a thin wrapper around XmlComparator
-     */
-    public static boolean XComp(String actual, String expected, boolean verbose)
-        throws org.apache.xmlbeans.XmlException
-    {
-        boolean same;
-        XmlComparator.Diagnostic diag = new XmlComparator.Diagnostic();
-        same = XmlComparator.lenientlyCompareTwoXmlStrings(actual, expected, diag);
-        if (!same && verbose)
-            System.out.println(diag.toString());
-
-        return same;
-    }
-
-    /**
-     * This is a workaround for using XmlComparator to compare XML that are just
-     * a single value like '7' wrapped in <xml-fragemnt> tags. Inside
-     * XmlComparator creates XmlObjects and <xml-fragment> tags are ignored. So
-     * this method will replace that with something like <xm> so that they look
-     * like Xml Docs...
-     */
-    public static String convertFragToDoc(String xmlFragment)
-    {
-        String startFragStr = "<xml-fragment";
-        String endFragStr   = "</xml-fragment>";
-        String startReplacementStr = "<xm";
-        String endReplacementStr = "</xm>";
-
-        Pattern pattern = Pattern.compile(startFragStr);
-        Matcher matcher = pattern.matcher(xmlFragment);
-
-        String xmlDoc = matcher.replaceAll(startReplacementStr);
-
-        pattern = Pattern.compile(endFragStr);
-        matcher = pattern.matcher(xmlDoc);
-
-        xmlDoc = matcher.replaceAll(endReplacementStr);
-
-        return xmlDoc;
-    }
-
-
-}
diff --git a/v2/test/src/xmlobject/common/StringXmlReader.java b/v2/test/src/xmlobject/common/StringXmlReader.java
deleted file mode 100755
index bb9c140..0000000
--- a/v2/test/src/xmlobject/common/StringXmlReader.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*   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.
- */
-
-package xmlobject.common;
-
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-/**
- *  StringXmlReader: A class that implements Runnable. It creates an XMLBean for a given XML
- *             instance and walks through the document
- *
- *
- *
- */
-
-public class StringXmlReader implements Runnable {
-    private String xmlFile;
-    private boolean status;
-
-    /**
-     * Constructor: Takes a File object that represents the xml to read.
-     * No checks made to check if the file exists and is valid xml.
-     */
-    public StringXmlReader(String xmlFile) {
-        // Parse the xml instance
-        this.xmlFile = xmlFile;
-        status = true;
-    }
-
-    /**
-     *  Implements the <code>Runnable</code> Interface
-     */
-    public void run() {
-        // Read in the xml file
-        XmlObject x = null;
-        String tName = Thread.currentThread().getName();
-        try {
-            x = XmlObject.Factory.parse(xmlFile);
-        } catch (XmlException xe) {
-            System.out.println("XmlException in thread " + tName);
-            xe.printStackTrace();
-            status = false;
-            return;
-        }
-
-        try {
-            // Walk through the XML
-            XmlCursor cur = x.newCursor();
-            cur.toStartDoc();
-            do {
-                // Sleep for 10 milliseconds
-                try {
-                    Thread.sleep(10);
-                } catch (Exception e) {
-                    // Continue ahead..
-                }
-                // Print current token
-                //System.out.println("["+tName+"]: " + cur.currentTokenType().toString());
-                cur.toNextToken();
-            } while (cur.hasNextToken());
-            cur.dispose();
-        } catch (Exception e) {
-            System.out.println("Exception in thread " + tName);
-            e.printStackTrace();
-            status = false;
-        }
-    }
-
-
-    public boolean getStatus() {
-        return status;
-    }
-
-    public void doTest() throws Exception {
-        Thread t = new Thread(this, "test");
-        t.start();
-        t.join();
-    }
-
-    public static void main(String args[]) throws Exception {
-        new StringXmlReader(args[1]).doTest();
-    }
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/common/XmlReader.java b/v2/test/src/xmlobject/common/XmlReader.java
deleted file mode 100755
index c40cb71..0000000
--- a/v2/test/src/xmlobject/common/XmlReader.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*   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.
- */
-
-package xmlobject.common;
-
-import java.io.File;
-import java.io.IOException;
-
-import tools.util.ResourceUtil;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-
-/**
- *  XmlReader: A class that implements Runnable. It creates an XMLBean for a given XML
- *             instance and walks through the document
- *
- *
- *
- */
-
-public class XmlReader implements Runnable {
-    private File xmlFile;
-    private boolean status;
-
-    /**
-     * Constructor: Takes a File object that represents the xml to read.
-     * No checks made to check if the file exists and is valid xml.
-     */
-    public XmlReader(File xmlFile) {
-        // Parse the xml instance
-        this.xmlFile = xmlFile;
-        status = true;
-    }
-
-    /**
-     *  Implements the <code>Runnable</code> Interface
-     */
-    public void run() {
-        // Read in the xml file
-        XmlObject x = null;
-        String tName = Thread.currentThread().getName();
-        try {
-            x = XmlObject.Factory.parse(xmlFile);
-        } catch (XmlException xe) {
-            System.out.println("XmlException in thread " + tName);
-            xe.printStackTrace();
-            status = false;
-            return;
-        } catch (IOException ioe) {
-            System.out.println("IOException in thread " + tName);
-            ioe.printStackTrace();
-            status = false;
-            return;
-        }
-
-        try {
-            // Walk through the XML
-            XmlCursor cur = x.newCursor();
-            cur.toStartDoc();
-            do {
-                // Sleep for 10 milliseconds
-                try {
-                    Thread.sleep(10);
-                } catch (Exception e) {
-                    // Continue ahead..
-                }
-                // Print current token
-                //System.out.println("["+tName+"]: " + cur.currentTokenType().toString());
-                cur.toNextToken();
-            } while (cur.hasNextToken());
-            cur.dispose();
-        } catch (Exception e) {
-            System.out.println("Exception in thread " + tName);
-            e.printStackTrace();
-            status = false;
-        }
-    }
-
-
-    public boolean getStatus() {
-        return status;
-    }
-
-    public void doTest() throws Exception {
-        Thread t = new Thread(this, "test");
-        t.start();
-        t.join();
-    }
-
-    public static void main(String args[]) throws Exception {
-        File xmlFile = new File("po.xml");
-        new XmlReader(xmlFile).doTest();
-    }
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/detailed/CompareToTest.java b/v2/test/src/xmlobject/detailed/CompareToTest.java
deleted file mode 100755
index ad989a7..0000000
--- a/v2/test/src/xmlobject/detailed/CompareToTest.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.XmlObject;
-
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.EventStatusDocument.EventStatus;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-import org.tranxml.tranXML.version40.CityNameDocument.CityName;
-import org.tranxml.tranXML.version40.ETADocument.ETA;
-
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class CompareToTest extends BasicCursorTestCase {
-    public CompareToTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(CompareToTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testCompareToEquals() throws Exception {
-        CarLocationMessageDocument clmDoc = (CarLocationMessageDocument) XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        EventStatus[] aEventStatus = clmDoc.getCarLocationMessage()
-                .getEventStatusArray();
-        if (aEventStatus.length < 1) {
-            fail(
-                    "Unexpected: Missing EventStatus element.  Test harness failure.");
-        } else {
-            GeographicLocation gl = aEventStatus[0].getGeographicLocation();
-            CityName cname0 = gl.getCityName();
-            ETA eta = aEventStatus[0].getETA();
-            CityName cname1 = eta.getGeographicLocation().getCityName();
-            assertTrue(cname0.valueEquals(cname1));
-            try {
-                assertTrue(XmlObject.EQUAL == cname0.compareTo(cname1));
-                fail("Expected ClassCastException.");
-            }
-            catch (ClassCastException e) {
-                assertTrue(true);
-            }
-        }
-    }
-
-    public void testCompareToNull() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        try {
-            assertEquals(XmlObject.NOT_EQUAL, m_xo.compareTo(null));
-            assertTrue(false);
-        }
-        catch (ClassCastException e) {
-            assertTrue(true);
-        }
-    }
-
-
-    public void testCompareToLessThan() throws Exception {
-//        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) XmlObject.Factory.parse(
-   //             Common.XML_PURCHASEORDER);
-           PurchaseOrderDocument poDoc = (PurchaseOrderDocument) XmlObject.Factory.parse(
-              JarUtil.getResourceFromJar("xmlcases.jar","xbean/xmlcursor/po.xml"));
-
-        try {
-            BigDecimal bdUSPrice0 = poDoc.getPurchaseOrder().getItems()
-                    .getItemArray(0)
-                    .getUSPrice();
-            BigDecimal bdUSPrice1 = poDoc.getPurchaseOrder().getItems()
-                    .getItemArray(1)
-                    .getUSPrice();
-            assertEquals(XmlObject.LESS_THAN, bdUSPrice1.compareTo(bdUSPrice0));
-        }
-        catch (NullPointerException npe) {
-            fail("Unexpected instance document.  Harness failure.");
-        }
-    }
-
-    public void testCompareToGreaterThan() throws Exception {
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument)
-                XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar","xbean/xmlcursor/po.xml"));
-        try {
-            BigDecimal bdUSPrice0 = poDoc.getPurchaseOrder().getItems()
-                    .getItemArray(0)
-                    .getUSPrice();
-            BigDecimal bdUSPrice1 = poDoc.getPurchaseOrder().getItems()
-                    .getItemArray(1)
-                    .getUSPrice();
-            assertEquals(XmlObject.GREATER_THAN,
-                    bdUSPrice0.compareTo(bdUSPrice1));
-        }
-        catch (NullPointerException npe) {
-            fail("Unexpected instance document.  Harness failure.");
-        }
-    }
-
-
-    public void testCompareToString() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        try {
-            assertEquals(0, m_xo.compareTo(""));
-            fail("Expected ClassCastException");
-        }
-        catch (ClassCastException cce) {
-        }
-        assertTrue(true);
-    }
-
-    public void testCompareValue() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.toFirstChild();
-        XmlObject xo = m_xc.getObject();
-        assertEquals(XmlObject.NOT_EQUAL, m_xo.compareValue(xo));
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/IsImmutableTest.java b/v2/test/src/xmlobject/detailed/IsImmutableTest.java
deleted file mode 100755
index 2feab33..0000000
--- a/v2/test/src/xmlobject/detailed/IsImmutableTest.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlOptions;
-
-import java.util.*;
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.XmlAnySimpleType;
-import org.apache.xmlbeans.impl.store.Cursor;
-
-import java.util.Vector;
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import tools.util.Util;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class IsImmutableTest extends BasicCursorTestCase {
-    public IsImmutableTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(IsImmutableTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testIsImmutableFalse() throws Exception {
-        CarLocationMessageDocument clmDoc =
-                (CarLocationMessageDocument) XmlObject.Factory
-                .parse(   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        assertEquals(false, clmDoc.isImmutable());
-    }
-
-    public void testIsImmutableTrue() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                        "$this//Initial");
-        m_xc.toNextSelection();
-        SchemaType st = m_xc.getObject().schemaType();
-        XmlObject xoNew = st.newValue("ZZZZ");
-        assertEquals(true, xoNew.isImmutable());
-        // verify it's not in main store
-        assertEquals("GATX", m_xc.getTextValue());
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/NilTest.java b/v2/test/src/xmlobject/detailed/NilTest.java
deleted file mode 100755
index d3594a1..0000000
--- a/v2/test/src/xmlobject/detailed/NilTest.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-
-import xmlcursor.common.*;
-
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument.CarLocationMessage;
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import knextest.bug38361.TestDocument;
-
-
-import org.apache.xmlbeans.impl.values.XmlValueNotNillableException;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class NilTest extends BasicCursorTestCase {
-    public NilTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NilTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testIsNilFalse() throws Exception {
-        CarLocationMessageDocument clmDoc = (CarLocationMessageDocument) XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        CarLocationMessage clm = clmDoc.getCarLocationMessage();
-        assertEquals(false, clm.isNil());
-    }
-
-    public void testSetNilNillable() throws Exception {
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        m_xo = pod.getPurchaseOrder().getShipTo().xgetName();
-        m_xo.setNil();
-        assertEquals(true, m_xo.isNil());
-    }
-
-    public void testSetNilNotNillable() throws Exception {
-        CarLocationMessageDocument clmDoc = (CarLocationMessageDocument) XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        try {
-            clmDoc.setNil();
-            fail("Expected XmlValueNotNillableException");
-        }
-        catch (XmlValueNotNillableException xvnne) {
-        }
-        assertTrue(true);
-    }
-
-    /**
-     * Test case for Radar bug: #38361
-     */
-    public void nillableTest() throws Exception {
-        //Generates a xml document programatically
-        TestDocument generated = TestDocument.Factory.newInstance();
-        generated.addNewTest();
-        generated.getTest().setNilSimple();
-        generated.getTest().setNilDate();
-
-        // Generate a xml document by parsing a string
-        TestDocument parsed = TestDocument.Factory.parse("<tns:Test xmlns:tns='http://bug38361.knextest'>" +
-                "<tns:Simple xsi:nil='true' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'/>" +
-                "<tns:Date xsi:nil='true' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'/>" +
-                "</tns:Test>");
-
-        // Test generated xml doc properties
-        assertTrue("Generated XML document is not valid", generated.validate());
-        assertTrue("Generated: isNilSimple() failed",
-                generated.getTest().isNilSimple());
-        assertTrue("Generated: isNilDate() failed",
-                generated.getTest().isNilDate());
-
-        // Test parsed xml doc properties
-        assertTrue("Parsed XML document is not valid", parsed.validate());
-        assertTrue("Parsed: isNilSimple() failed",
-                parsed.getTest().isNilSimple());
-        assertTrue("Parsed: isNilDate() failed", parsed.getTest().isNilDate());
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/SelectAttributeTests.java b/v2/test/src/xmlobject/detailed/SelectAttributeTests.java
deleted file mode 100755
index cea6d82..0000000
--- a/v2/test/src/xmlobject/detailed/SelectAttributeTests.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*   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.
- */
-
-package xmlobject.detailed;
-
-import junit.framework.TestCase;
-import junit.framework.Assert;
-
-import org.openuri.test.selectChildren.*;
-import org.openuri.test.selectAttribute.*;
-
-import org.apache.xmlbeans.*;
-
-import javax.xml.namespace.QName;
-import java.util.*;
-
-import xmlobject.common.SelectChildrenAttribCommon;
-
-/**
- *
- *
- */
-public class SelectAttributeTests
-            extends SelectChildrenAttribCommon
-{
-    public SelectAttributeTests(String name)
-    {
-        super(name);
-    }
-
-    static String saUri = "http://openuri.org/test/selectAttribute";
-    static String saStartFrag = "<xm xmlns:sa=\"" + saUri + "\">";
-
-    static String abcUri = "http://abc";
-    static String defUri = "http://def";
-    static String xyzUri = "http://xyz";
-
-    static String anyStartFrag = "<xm xmlns:sa=\"" + saUri + "\"" +
-                                 " xmlns:abc=\"" + abcUri + "\"" +
-                                 " xmlns:def=\"" + defUri + "\"" + ">";
-
-    static String endFrag = "</xm>";
-    // To speed up tests when running multiple test methods in the same run
-    DocDocument.Doc doc = null;
-
-    ///////////////////////////////////////////////////////////////////
-    // Tests for non-wildcard attributes
-    public void testSelectWithQName()
-        throws Exception
-    {
-        if (doc == null)
-            doc = (DocDocument.Doc) getTestObject();
-        QName qn = new QName("", "att1");
-        XmlObject x = doc.getNormal().selectAttribute(qn);
-        String exp = saStartFrag + "Attribute 1" + endFrag;
-
-        validateTest("testSelectWithQName", exp, x);
-        // Check Select with QName that is not present.. should get null back.
-        x = doc.getWithOther().selectAttribute(qn);
-        assertTrue(x == null);
-    }
-
-
-    public void testSelectWithURI()
-        throws Exception
-    {
-        if (doc == null)
-            doc = (DocDocument.Doc) getTestObject();
-
-        XmlObject x = doc.getNormal().selectAttribute("", "att2");
-        String exp = saStartFrag + "Attribute 2" + endFrag;
-
-        validateTest("testSelectWithURI", exp, x);
-        // Check Select with QName that is not present.. should get null back.
-        x = doc.getWithAny().selectAttribute("", "att2");
-        assertTrue(x == null);
-
-    }
-
-    ////////////////////////////////////////////////////////////////////
-    // Test for wild-card attributes
-    public void testSelectWithQNameForAny()
-        throws Exception
-    {
-        if (doc == null)
-            doc = (DocDocument.Doc) getTestObject();
-
-        QName qn = new QName(abcUri, "att3");
-        String exp = saStartFrag + "Attribute 3" + endFrag;
-        XmlObject x = doc.getWithAny().selectAttribute(qn);
-
-        validateTest("testSelectWithQNameForAny", exp, x);
-
-
-        x = doc.getWithAny();
-        System.out.println(x.xmlText());
-
-    }
-
-    ////////////////////////////////////////////////////////////////////
-    // Helper
-    public XmlObject getTestObject()
-        throws Exception
-    {
-        String xml = getXml("xbean/xmlobject/SelectAttribute-Doc.xml");
-        DocDocument xmlObj = DocDocument.Factory.parse(xml);
-        DocDocument.Doc doc = xmlObj.getDoc();
-
-        Collection errors = new ArrayList();
-        opts.setErrorListener(errors);
-        boolean valid = doc.validate(opts);
-        tools.xml.Utils.printXMLErrors(errors);
-
-        assertTrue("Test Xml is not valid!!", valid);
-        return doc;
-    }
-
-    public void printXmlObj(XmlObject[] xobj)
-        throws Exception
-    {
-        for (int i = 0; i < xobj.length; i++)
-            System.out.println(convertFragToDoc(xobj[i].xmlText()));
-    }
-
-
-}
diff --git a/v2/test/src/xmlobject/detailed/SelectChildrenTests.java b/v2/test/src/xmlobject/detailed/SelectChildrenTests.java
deleted file mode 100755
index 2eb7364..0000000
--- a/v2/test/src/xmlobject/detailed/SelectChildrenTests.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*   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.
- */
-
-package xmlobject.detailed;
-
-
-import org.openuri.test.selectChildren.*;
-
-import org.apache.xmlbeans.*;
-
-import javax.xml.namespace.QName;
-import java.util.*;
-
-import xmlobject.common.SelectChildrenAttribCommon;
-
-/**
- *
- *
- */
-public class SelectChildrenTests
-        extends SelectChildrenAttribCommon
-{
-    public SelectChildrenTests(String name)
-    {
-        super(name);
-    }
-
-
-    static String scUri = "http://openuri.org/test/selectChildren";
-    static String scStartFrag = "<xm xmlns:sc=\"" + scUri + "\">";
-
-    static String abcUri = "http://abc";
-    static String defUri = "http://def";
-    static String xyzUri = "http://xyz";
-
-    static String anyStartFrag = "<xm xmlns:sc=\"" + scUri + "\"" +
-                                 " xmlns:abc=\"" + abcUri + "\"" +
-                                 " xmlns:def=\"" + defUri + "\"" +
-                                 " xmlns:xyz=\"" + xyzUri + "\"" + ">";
-
-    static String endFrag = "</xm>";
-
-    //////////////////////////////////////////////////////////////////
-    // Tests
-    public void testSelectWithQName()
-        throws Exception
-    {
-        String xml = getXml("xbean/xmlobject/SelectChildren-NormalDoc.xml");
-
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-
-        NormalDocument doc = NormalDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-        NormalType norm =  doc.getNormal();
-
-        exps = new String[]{scStartFrag + "first element" + endFrag};
-        xos = norm.selectChildren(new QName(scUri, "first"));
-
-        this.validateTest("testSelectWithQName", exps, xos);
-    }
-
-
-    public void testSelectWithURI()
-        throws Exception
-    {
-        String xml = getXml("xbean/xmlobject/SelectChildren-NormalDoc.xml");
-
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-
-        NormalDocument doc = NormalDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-        NormalType norm =  doc.getNormal();
-
-        exps = new String[]{scStartFrag + "second element" + endFrag};
-        xos = norm.selectChildren(scUri, "second");
-
-        this.validateTest("testSelectWithURI", exps, xos);
-    }
-
-    public void testSelectWithQNameSet()
-        throws Exception
-    {
-        String xml = getXml("xbean/xmlobject/SelectChildren-NormalDoc.xml");
-
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-
-        NormalDocument doc = NormalDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-        NormalType norm =  doc.getNormal();
-
-        QName[] qArr = new QName[] { new QName(scUri, "first"),
-                                     new QName(scUri, "numbers"),
-                                     new QName(scUri, "second")};
-
-        QNameSet qSet = QNameSet.forArray(qArr);
-
-        exps = new String[]{scStartFrag + "first element" + endFrag,
-                            scStartFrag + "second element" + endFrag,
-                            scStartFrag + "10" + endFrag,
-                            scStartFrag + "11" + endFrag,
-                            scStartFrag + "12" + endFrag };
-
-        xos = norm.selectChildren(qSet);
-
-        this.validateTest("testSelectWithQNameSet", exps, xos);
-    }
-
-    //////////////////////////////////////////////////////////////////////
-    // Tests with 'any' Element
-    public void testSelectWithQNameForAny()
-        throws Exception
-    {
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-
-        String xml = getXml("xbean/xmlobject/SelectChildren-AnyTypeDoc.xml");
-        ElemWithAnyDocument doc = ElemWithAnyDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-
-        WithAnyType any = doc.getElemWithAny();
-        // Select children from a known namespace
-        xos = any.selectChildren(new QName(defUri, "someElem2"));
-        exps = new String[]{anyStartFrag + "DEF Namespace" + endFrag };
-
-        validateTest("testSelectWithQNameForAny", exps, xos);
-    }
-
-    public void testSelectWithURIForAny()
-        throws Exception
-    {
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-
-        String xml = getXml("xbean/xmlobject/SelectChildren-AnyTypeDoc.xml");
-        ElemWithAnyDocument doc = ElemWithAnyDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-
-        WithAnyType any = doc.getElemWithAny();
-        // Select children from a known namespace
-        xos = any.selectChildren(scUri, "simple");
-        exps = new String[]{anyStartFrag + "Simple String" + endFrag };
-
-        validateTest("testSelectWithURIForAny", exps, xos);
-    }
-
-    public void testSelectWithWildcard()
-        throws Exception
-    {
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-        String xml = getXml("xbean/xmlobject/SelectChildren-AnyTypeDoc.xml");
-        ElemWithAnyDocument doc = ElemWithAnyDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-
-        WithAnyType any = doc.getElemWithAny();
-
-        xos = any.selectChildren(QNameSet.forWildcardNamespaceString("##other",
-                                                                     scUri));
-        exps = new String[]{anyStartFrag + "ABC Namespace" + endFrag,
-                            anyStartFrag + "DEF Namespace" + endFrag,
-                            anyStartFrag + "XYX Namespace" + endFrag,
-                            anyStartFrag + "ABC-SameElem" + endFrag,
-                            anyStartFrag + "DEF-SameElem" + endFrag,
-                            anyStartFrag + "XYZ-SameElem" + endFrag};
-
-        validateTest("testSelectWithWildcard", exps, xos);
-    }
-
-    public void testSelectWithQNameBuilder()
-        throws Exception
-    {
-        XmlObject[] xos; // For the return from selectChildren
-        String[] exps;   // For the expected xml strings
-        String xml = getXml("xbean/xmlobject/SelectChildren-AnyTypeDoc.xml");
-        ElemWithAnyDocument doc = ElemWithAnyDocument.Factory.parse(xml);
-        assertTrue(doc.validate());
-
-        WithAnyType any = doc.getElemWithAny();
-
-        Set excFromIncSet = new HashSet();
-        excFromIncSet.add(new QName(scUri, "simple"));
-
-        Set excSet = new HashSet();
-        excSet.add(xyzUri);
-
-        Set incFromExcSet = new HashSet();
-        incFromExcSet.add(new QName(xyzUri, "sameElem"));
-
-        QNameSet qset = new QNameSetBuilder(excSet,
-                                            null,
-                                            excFromIncSet,
-                                            incFromExcSet).toQNameSet();
-        xos = any.selectChildren(qset);
-
-        for (int i =0; i < xos.length; i++)
-            System.out.println(xos[i].xmlText());
-
-    }
-
-
-}
diff --git a/v2/test/src/xmlobject/detailed/SetIdentityTest.java b/v2/test/src/xmlobject/detailed/SetIdentityTest.java
deleted file mode 100755
index 7d414b3..0000000
--- a/v2/test/src/xmlobject/detailed/SetIdentityTest.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlDocumentProperties;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-import org.apache.xmlbeans.SchemaType;
-
-import javax.xml.namespace.QName;
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-import tools.util.Util;
-import tools.util.JarUtil;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-import org.tranxml.tranXML.version40.CodeList309;
-import org.tranxml.tranXML.version40.LocationIdentifierDocument.LocationIdentifier;
-
-
-/**
- *
- *
- */
-public class SetIdentityTest extends TestCase {
-    public SetIdentityTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(SetIdentityTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testSetIdentity() throws Exception {
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM));
-        XmlCursor xc = clm.newCursor();
-
-        xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                      "$this//GeographicLocation");
-        xc.toNextSelection();
-        GeographicLocation gl = (GeographicLocation) xc.getObject();
-        xc.dispose();
-        LocationIdentifier li = gl.addNewLocationIdentifier();
-        li.setQualifier(CodeList309.FR);
-        CodeList309 cl309 = li.xgetQualifier();
-        // setQualifier to itself, i.e. x == x
-        li.xsetQualifier(cl309);
-        gl.setLocationIdentifier(li);
-        assertEquals(CodeList309.FR, gl.getLocationIdentifier().getQualifier());
-
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/SoapFaultTest.java b/v2/test/src/xmlobject/detailed/SoapFaultTest.java
deleted file mode 100755
index 2972791..0000000
--- a/v2/test/src/xmlobject/detailed/SoapFaultTest.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*   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.
- */
-
-package xmlobject.detailed;
-
-import junit.framework.TestCase;
-
-import org.apache.xmlbeans.XmlObject;
-
-import javax.xml.namespace.QName;
-
-import org.xmlsoap.schemas.soap.envelope.Fault;
-//import org.xmlsoap.schemas.soap.envelope.FaultDocument;
-import org.xmlsoap.schemas.soap.envelope.Detail;
-
-import xmlobjecttest.soapfaults.FirstFaultType;
-import xmlobjecttest.soapfaults.FirstFaultDocument;
-import xmlobjecttest.soapfaults.SecondFaultType;
-import xmlobjecttest.soapfaults.SecondFaultDocument;
-
-
-/**
- *
- */
-public class SoapFaultTest extends TestCase {
-    public static final String soapenc = "http://schemas.xmlsoap.org/soap/encoding/";
-    public static final String soapenv = "http://schemas.xmlsoap.org/soap/envelope/";
-
-    public SoapFaultTest(String name) {
-        super(name);
-    }
-
-    /** Regression test for Radar bug #25114 */
-
-    /**
-     *
-     */
-    public void testSetDetail() throws Exception {
-        Fault fault = Fault.Factory.newInstance();
-        fault.setDetail(Detail.Factory.parse(XmlObject.Factory.parse("<foo/>").newXMLInputStream()));
-
-        assertEquals("<detail><foo/></detail>", fault.xmlText());
-        assertEquals("<xml-fragment><foo/></xml-fragment>", fault.getDetail().xmlText());
-    }
-
-    /** Regression test for Radar bug #25119 */
-
-    /**
-     *
-     */
-    public void testAddNewDetail() throws Exception {
-        Fault fault = Fault.Factory.newInstance();
-
-        fault.setFaultcode(new QName(soapenv, "foo"));
-        fault.setFaultstring("Undefined");
-        fault.addNewDetail().set(
-                XmlObject.Factory.parse("<foo/>").changeType(Detail.type));
-
-        String expect = "<xml-fragment>" +
-                "<faultcode xmlns:soapenv=\"" + soapenv + "\">soapenv:foo</faultcode>" +
-                "<faultstring>Undefined</faultstring>" +
-                "<detail><foo/></detail>" +
-                "</xml-fragment>";
-        assertEquals(expect, fault.xmlText());
-        assertEquals(new QName(soapenv, "foo"), fault.getFaultcode());
-        assertEquals("Undefined", fault.getFaultstring());
-        assertEquals("<xml-fragment><foo/></xml-fragment>", fault.getDetail().xmlText());
-    }
-
-    /** Regression test for Radar bug #25409 */
-
-    /**
-     *
-     * @status inactive
-     */
-    public void testSetFaultDetail() throws Exception {
-        String soapFault =
-                "<soapenv:Fault xmlns:soapenv=\"" + soapenv + "\">" +
-                "<faultcode>soapenv:Server</faultcode>" +
-                "<faultstring>Undefined</faultstring>" +
-                "<detail>" +
-                "    <soap:a-string xmlns:soap=\"http://xmlobjecttest/soapfaults\">" +
-                "        The First Fault" +
-                "    </soap:a-string>" +
-                "    <soap:a-int xmlns:soap=\"http://xmlobjecttest/soapfaults\">" +
-                "        1" +
-                "    </soap:a-int>" +
-                "    <soap:a-date xmlns:soap=\"http://xmlobjecttest/soapfaults\">" +
-                "       2003-03-28" +
-                "    </soap:a-date>" +
-                "</detail>" +
-                "</soapenv:Fault>";
-
-        Fault faultDoc = Fault.Factory.parse(soapFault);
-
-        assertTrue(faultDoc.validate());
-        assertEquals(new QName(soapenv, "Server"), faultDoc.getFaultcode());
-        assertEquals("Undefined", faultDoc.getFaultstring());
-
-
-        FirstFaultType firstFault = FirstFaultType.Factory.newInstance();
-        System.out.println("firstFault = " + firstFault.xmlText());
-        firstFault.set(faultDoc.getDetail());
-
-        assertEquals("The First Fault", firstFault.getAString().trim());
-        assertEquals(1, firstFault.getAInt());
-        assertEquals(new org.apache.xmlbeans.XmlCalendar("2003-03-28"),
-                     firstFault.getADate());
-    }
-
-}
diff --git a/v2/test/src/xmlobject/detailed/TestXmlReader.java b/v2/test/src/xmlobject/detailed/TestXmlReader.java
deleted file mode 100755
index aeae8b0..0000000
--- a/v2/test/src/xmlobject/detailed/TestXmlReader.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-
-package xmlobject.detailed;
-
-import junit.framework.TestCase;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.FileReader;
-import java.io.PrintWriter;
-
-import tools.util.ResourceUtil;
-import tools.util.JarUtil;
-
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import xmlcursor.common.Common;
-import xmlobject.common.StringXmlReader;
-
-
-/**
- *
- *
- */
-public class TestXmlReader extends TestCase {
-
-    public TestXmlReader(String name) {
-        super(name);
-    }
-
-    /**
-     * Tests read-only concurrency support in XML Beans
-     * See Radar Bug: 33254
-     */
-    public void testConcurrency() throws Exception {
-        // Get the file contents
-        String xmlFile = JarUtil.getResourceFromJar(Common.XMLCASES_JAR, "xbean/xmlcursor/po.xml");
-
-        StringXmlReader rdr1 = new StringXmlReader(xmlFile);
-        StringXmlReader rdr2 = new StringXmlReader(xmlFile);
-        StringXmlReader rdr3 = new StringXmlReader(xmlFile);
-
-        Thread t1 = new Thread(rdr1, "Reader1");
-        Thread t2 = new Thread(rdr2, "Reader2");
-        Thread t3 = new Thread(rdr3, "Reader3");
-        t1.start();
-        t2.start();
-        t3.start();
-
-        // Wait for threads to finish
-        t1.join();
-        t2.join();
-        t3.join();
-
-        // Check the status of the XmlReaders
-        boolean status = rdr1.getStatus() & rdr2.getStatus() & rdr3.getStatus();
-
-        assertTrue("Concurrency Test Failed.", status);
-    }
-
-
-    public static void main(String args[]) throws Exception {
-        new TestXmlReader("Test").testConcurrency();
-    }
-
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/detailed/TestsFromBugs.java b/v2/test/src/xmlobject/detailed/TestsFromBugs.java
deleted file mode 100755
index 5d4dcfb..0000000
--- a/v2/test/src/xmlobject/detailed/TestsFromBugs.java
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*   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.
- */
-
-package xmlobject.detailed;
-
-import org.apache.xmlbeans.XmlObject;
-import com.mytest.Bar;
-import com.mytest.Foo;
-import com.mytest.Info;
-import com.mytest.TestDocument;
-import test.xmlobject.test36510.Test36510AppDocument;
-import junit.framework.TestCase;
-
-import java.io.File;
-
-/**
- *  Test file that implements test cases that come from closing bugs.
- *
- *
- */
-public class TestsFromBugs extends TestCase {
-    File instance;
-
-    public TestsFromBugs(String name) {
-        super(name);
-    }
-
-    /**
-     *  Radar Bug: 36156
-     *  Problem with Namespace leaking into siblings
-     */
-    public void test36156()
-            throws Exception {
-        String str = "<x><y xmlns=\"bar\"><z xmlns=\"foo\"/></y><a/></x>";
-        XmlObject x = XmlObject.Factory.parse(str);
-
-        assertTrue("Test 36156 failed: ", x.xmlText().equals(str));
-    }
-
-    /*
-     * Radar Bug: 36510
-     */
-    public void test36510()
-            throws Exception {
-        String str = "<test36510-app version='1.0' " +
-                "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'" +
-                " xsi:schemaLocation='http://test/xmlobject/test36510' " +
-                "xmlns='http://test/xmlobject/test36510'>" +
-                "<testConstraint>" +
-                "<customConstraint>" +
-                "<description>These portlets don't" +
-                " require any guarantee</description>" +
-                "<options>BEST</options>" +
-                "</customConstraint></testConstraint>" +
-                "</test36510-app>";
-
-        Test36510AppDocument doc = Test36510AppDocument.Factory.parse(str);
-        str = doc.getTest36510App().getTestConstraintArray()[0].
-                getCustomConstraint().getOptions().toString();
-        assertTrue("Test 36510 failed: ", str.equals("BEST"));
-    }
-
-
-    /*
-     * Radar Bug: 40907
-     */
-    public void test40907()
-            throws Exception {
-        String str = "<myt:Test xmlns:myt=\"http://www.mytest.com\">" +
-                "<myt:foo>" +
-                "<myt:fooMember>this is foo member</myt:fooMember>" +
-                "</myt:foo>" +
-                "</myt:Test>";
-        TestDocument doc = TestDocument.Factory.parse(str);
-
-        assertTrue("XML Instance did not validate.", doc.validate());
-
-        Bar bar = Bar.Factory.newInstance();
-        bar.setFooMember("new foo member");
-        bar.setBarMember("new bar member");
-
-        Info info = doc.getTest();
-
-        Foo foo = info.addNewFoo();
-        foo.set(bar);
-
-        assertTrue("Modified XML instance did not validate.", doc.validate());
-        str = "<myt:Test xmlns:myt=\"http://www.mytest.com\">" +
-                "<myt:foo>" +
-                "<myt:fooMember>this is foo member</myt:fooMember>" +
-                "</myt:foo>" +
-                "<myt:foo xsi:type=\"myt:bar\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">" +
-                "<myt:fooMember>new foo member</myt:fooMember>" +
-                "<myt:barMember>new bar member</myt:barMember>" +
-                "</myt:foo>" +
-                "</myt:Test>";
-        assertEquals("XML instance is not as expected", doc.xmlText(), str);
-
-    }
-}
diff --git a/v2/test/src/xmlobject/detailed/TypedSettersTests.java b/v2/test/src/xmlobject/detailed/TypedSettersTests.java
deleted file mode 100755
index f248d7a..0000000
--- a/v2/test/src/xmlobject/detailed/TypedSettersTests.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*   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.
- */
-
-package xmlobject.detailed;
-
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlCursor.XmlBookmark;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlSaxHandler;
-import org.apache.xmlbeans.XmlLineNumber;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlInt;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.io.StringReader;
-import java.lang.Comparable;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Random;
-import java.util.Iterator;
-import java.util.TreeSet;
-import javax.xml.namespace.QName;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-   
-public class TypedSettersTests extends TestCase
-{
-    public TypedSettersTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(TypedSettersTests.class); }
-
-    private static final String schemaNs ="xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"";
-    private static final String instanceNs = "xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"";
-
-    private static final String fmt ( String s )
-    {
-        StringBuffer sb = new StringBuffer();
-
-        for ( int i = 0 ; i < s.length() ; i++ )
-        {
-            char ch = s.charAt( i );
-
-            if (ch != '$')
-            {
-                sb.append( ch );
-                continue;
-            }
-            
-            ch = s.charAt( ++i );
-
-            String id = "";
-
-            while ( (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'))
-            {
-                id = id + ch;
-                ch = s.charAt( ++i );
-            }
-
-            String arg = "";
-
-            if (ch == '(')
-            {
-                ch = s.charAt( ++i );
-
-                while ( ch != ')' )
-                {
-                    arg += ch;
-                    ch = s.charAt( ++i );
-                }
-            }
-            else
-                i--;
-
-            if (id.equals( "schema" ))
-                sb.append( schemaNs );
-            else if (id.equals( "xsi" ))
-                sb.append( instanceNs );
-            else if (id.equals( "type" ))
-            {
-                Assert.assertTrue( arg.length() > 0 );
-                sb.append( "xsi:type=\"" + arg + "\"" );
-            }
-            else
-                Assert.assertTrue( false );
-        }
-
-        return sb.toString();
-    }
-
-    private static final String nses = schemaNs + " " + instanceNs;
-    
-    public void testJavaNoTypeSingletonElement ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<xyzzy/>" );
-        XmlObject x2 = XmlObject.Factory.parse( "<bubba>moo</bubba>" );
-        XmlCursor c = x.newCursor();
-        XmlCursor c2 = x2.newCursor();
-
-        c.toNextToken();
-        c2.toNextToken();
-
-        c.getObject().set( c2.getObject() );
-
-        Assert.assertTrue( x.xmlText().equals( "<xyzzy>moo</xyzzy>" ) );
-    }
-    
-    public void testJavaNoTypeSingletonAttribute ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<xyzzy a=''/>" );
-        XmlObject x2 = XmlObject.Factory.parse( "<bubba b='moo'/>" );
-        XmlCursor c = x.newCursor();
-        XmlCursor c2 = x2.newCursor();
-
-        c.toNextToken();
-        c.toNextToken();
-        c2.toNextToken();
-        c2.toNextToken();
-
-        c.getObject().set( c2.getObject() );
-
-        Assert.assertTrue( x.xmlText().equals( "<xyzzy a=\"moo\"/>" ) );
-    }
-    
-    public void testJavaNoTypeSingletonElementWithXsiType ( )
-        throws Exception
-    {
-        XmlObject x = XmlObject.Factory.parse( "<xyzzy/>", new XmlOptions().setDocumentType( XmlObject.type ) );
-        XmlObject x2 = XmlObject.Factory.parse( fmt( "<bubba $type(xs:int) $xsi $schema>69</bubba>" ) );
-        XmlCursor c = x.newCursor();
-        XmlCursor c2 = x2.newCursor();
-
-        c.toNextToken();
-        c2.toNextToken();
-
-        XmlObject xyzzy = c.getObject();
-        XmlObject bubba = c2.getObject();
-
-        Assert.assertTrue( bubba.schemaType() == XmlInt.type );
-
-//        xyzzy.set( bubba );
-
-//        Assert.assertTrue( x.xmlText().equals( fmt( "<xyzzy $type(xs:int) $xsi $schema>moo</xyzzy>" ) ) );
-    }
-    
-}
diff --git a/v2/test/src/xmlobject/detailed/TypesTest.java b/v2/test/src/xmlobject/detailed/TypesTest.java
deleted file mode 100755
index 0530cf0..0000000
--- a/v2/test/src/xmlobject/detailed/TypesTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SimpleValue;
-
-import javax.xml.namespace.QName;
-
-import xmlcursor.common.*;
-
-import test.xbean.xmlcursor.purchaseOrder.PurchaseOrderDocument;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class TypesTest extends BasicCursorTestCase {
-    public TypesTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(TypesTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-        i = sClassPath.indexOf(Common.XMLCURSOR_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testSchemaTypeFromStronglyTypedBuiltIn() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                "$this//EventStatus/Date");
-        m_xc.toNextSelection();
-        XmlObject xo = m_xc.getObject();
-        SchemaType st = xo.schemaType();
-        assertEquals(true, st.isBuiltinType());
-        QName q = st.getName();
-        assertEquals("{" + Common.XML_SCHEMA_TYPE_SUFFIX + "}date",
-                q.toString());
-    }
-
-    public void testSchemaTypeFromStronglyTyped() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                "$this//EventStatus");
-        m_xc.toNextSelection();
-        XmlObject xo = m_xc.getObject();
-        SchemaType st = xo.schemaType();
-        assertEquals(false, st.isBuiltinType());
-        assertEquals(
-                "E=EventStatus|D=EventStatus@" +
-                Common.TRANXML_SCHEMA_TYPE_SUFFIX,
-                st.toString());
-
-    }
-
-    public void testSchemaTypeFromNonTyped() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_TEXT);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath("$this//bar");
-        m_xc.toNextSelection();
-        XmlObject xo = m_xc.getObject();
-        SchemaType st = xo.schemaType();
-        assertEquals(true, st.isNoType());
-        //assertEquals("TanyType@" + Common.XML_SCHEMA_TYPE_SUFFIX, st.toString());
-    }
-
-
-    public void testInstanceTypeNotNillable() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                  JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT +
-                "$this//EventStatus");
-        XmlObject xo = m_xc.getObject();
-        assertEquals(xo.schemaType(), ((SimpleValue) xo).instanceType());
-    }
-
-    public void testInstanceTypeNil() throws Exception {
-        PurchaseOrderDocument pod = (PurchaseOrderDocument) XmlObject.Factory.parse(
-                JarUtil.getResourceFromJar("xmlcases.jar",
-                        "xbean/xmlcursor/po.xml"));
-        m_xo = pod.getPurchaseOrder().getShipTo().xgetName();
-        m_xo.setNil();
-        assertEquals(true, m_xo.isNil());
-        if (m_xo.schemaType() == ((SimpleValue) m_xo).instanceType()) {
-            fail("Nil object's instanceType should not be equal to schemaType");
-        }
-        assertTrue(true);
-    }
-
-    /*
-    public void testInstanceTypeUnion() throws Exception
-    {
-        // tbd
-    }
-    */
-
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/ValueEqualsTest.java b/v2/test/src/xmlobject/detailed/ValueEqualsTest.java
deleted file mode 100755
index cd3f89a..0000000
--- a/v2/test/src/xmlobject/detailed/ValueEqualsTest.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.detailed;
-
-import junit.framework.*;
-import junit.framework.Assert.*;
-
-import java.io.*;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.SchemaTypeSystem;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlOptions;
-
-import java.util.*;
-import javax.xml.namespace.QName;
-
-
-import java.util.Vector;
-
-import xmlcursor.common.*;
-
-import java.net.URL;
-
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.FleetIDDocument;
-import tools.util.Util;
-import tools.util.JarUtil;
-
-
-/**
- *
- *
- */
-public class ValueEqualsTest extends BasicCursorTestCase {
-    public ValueEqualsTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ValueEqualsTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testValueEqualsTrue() throws Exception {
-        CarLocationMessageDocument clmDoc = (CarLocationMessageDocument)
-                XmlObject.Factory.parse(
-                           JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        assertEquals(true, clmDoc.valueEquals(m_xo));
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/detailed/XmlObjectAbstractClassTest.java b/v2/test/src/xmlobject/detailed/XmlObjectAbstractClassTest.java
deleted file mode 100755
index 8c91037..0000000
--- a/v2/test/src/xmlobject/detailed/XmlObjectAbstractClassTest.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*   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.
- */
-package xmlobject.detailed;
-
-import java.io.*;
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.TestCase;
-import org.apache.xmlbeans.impl.tool.CodeGenUtil;
-import tools.util.JarUtil;
-import xmlcursor.common.Common;
-
-/**
- * JUnit Test file to test XmlObject Abstract base class
- *
- * @author: Raju Subramanian.
- *
- *
- */
-
-public class XmlObjectAbstractClassTest
-        extends TestCase {
-
-    public XmlObjectAbstractClassTest(String name) {
-        super(name);
-    }
-
-    /**
-     * The test entry point.
-     */
-    public void testAbstractBaseClass() throws Exception {
-        // create the source file
-        //String src = JarUtil.getResourceFromJarasStream(Common.XMLCASES_JAR, "xbean/xmlobject/SimpleXmlObject.java.txt");
-        File to = new File("SimpleXmlObject.java");
-        assertTrue("Could not create source file",
-                copyTo(
-                        JarUtil.getResourceFromJarasStream(Common.XMLCASES_JAR,
-                                "xbean/xmlobject/SimpleXmlObject.java.txt"),
-                        to));
-        assertTrue("Could not compile SimpleXmlObject.java", compileFile(to));
-    }
-
-
-    /**
-     * Compiles the source file.
-     * The destination for the compiled file is the current directory
-     */
-    private boolean compileFile(File source) {
-        // the location for the compiled file
-        File dir = new File(System.getProperty("user.dir"));
-        File[] classpath = CodeGenUtil.systemClasspath();
-        List srcFiles = new ArrayList();
-        srcFiles.add(source);
-
-        if (!CodeGenUtil.externalCompile(srcFiles, dir, classpath, false,
-                CodeGenUtil.DEFAULT_COMPILER, CodeGenUtil.DEFAULT_MEM_START,
-                CodeGenUtil.DEFAULT_MEM_MAX, false, false)){
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Copies a file. If destination file exists it will be overwritten
-     */
-    private boolean copyTo(InputStreamReader src, File to) {
-        try {
-            // inputstream to read in the file
-            BufferedReader in = new BufferedReader(src);
-
-            // delete the existing file
-            to.delete();
-            to.createNewFile();
-            // outputstream to write out the java file
-            FileOutputStream fos = new FileOutputStream(to);
-            int b;
-
-            while ((b = in.read()) != -1) {
-                fos.write(b);
-            }
-
-            in.close();
-            fos.close();
-        }
-        catch (Exception ioe) {
-            System.out.println("Could not create source file: " + ioe);
-            ioe.printStackTrace();
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Copies a file. If destination file exists it will be overwritten
-     */
-    private boolean copyTo(File src, File to) {
-        try {
-            // inputstream to read in the file
-            FileInputStream fis = new FileInputStream(src);
-
-            // delete the existing file
-            to.delete();
-            to.createNewFile();
-            // outputstream to write out the java file
-            FileOutputStream fos = new FileOutputStream(to);
-            int b;
-
-            while ((b = fis.read()) != -1) {
-                fos.write(b);
-            }
-            fis.close();
-            fos.close();
-        }
-        catch (Exception ioe) {
-            System.out.println("Could not create source file: " + ioe);
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     *
-     */
-    public static void main(String args[]) throws Exception {
-        new XmlObjectAbstractClassTest("test").testAbstractBaseClass();
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/checkin/AverageTest.java b/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/checkin/AverageTest.java
deleted file mode 100755
index 5ec762c..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/checkin/AverageTest.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*   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.
- */
-
-package xmlobject.extensions.interfaceFeature.averageCase.checkin;
-
-import interfaceFeature.xbean.averageCase.purchaseOrder.PurchaseOrderDocument ;
-import interfaceFeature.xbean.averageCase.purchaseOrder.PurchaseOrderType;
-import interfaceFeature.xbean.averageCase.purchaseOrder.Items;
-
-import junit.framework.*;
-
-import java.math.BigDecimal;
-
-
-
-public class AverageTest extends TestCase{
-
-        public  AverageTest(String s){
-            super(s);
-        }
-
-	public void test(){
-
-         PurchaseOrderDocument poDoc ;
-
-         poDoc= PurchaseOrderDocument.Factory.newInstance();
-         PurchaseOrderType po=poDoc.addNewPurchaseOrder();
-         int LEN=20;
-
-         Items.Item[] it= new Items.Item[LEN];
-         for (int i=0; i< LEN; i++){
-                it[i]=Items.Item.Factory.newInstance();
-                it[i].setUSPrice(new BigDecimal(""+ 2 ));
-         }
-         Items items= Items.Factory.newInstance();
-            items.setItemArray(it);
-         po.setItems(items);
-	// System.out.println("poDoc: " + poDoc);
-
-        int i=poDoc.getTotal();
-        //20 items @ $2
-        assertEquals( 40, i );
-         
-    }
-   
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/FooHandler.java b/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/FooHandler.java
deleted file mode 100755
index 7db2455..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/FooHandler.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.averageCase.existing;
-
-
-
-import interfaceFeature.xbean.averageCase.purchaseOrder.PurchaseOrderDocument ;
-import interfaceFeature.xbean.averageCase.purchaseOrder.PurchaseOrderType;
-import interfaceFeature.xbean.averageCase.purchaseOrder.Items.Item;
-import org.apache.xmlbeans.XmlObject;
-
-public class FooHandler
-{
-    public static int getTotal(XmlObject xo)
-    {
-	PurchaseOrderDocument poDoc= (PurchaseOrderDocument)xo;
-	int sum=0;
-	Item[] items=poDoc.getPurchaseOrder().getItems().getItemArray();
-
-         for (int i=0; i<items.length; i++)
-		sum+=items[i].getUSPrice().intValue();
-	 return sum;
-    }
-
-
-
-   
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/IFoo.java b/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/IFoo.java
deleted file mode 100755
index 7986e1b..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/averageCase/existing/IFoo.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.averageCase.existing;
-
-public interface IFoo
-{
-    int getTotal();
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/checkin/NameCollisionTest.java b/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/checkin/NameCollisionTest.java
deleted file mode 100755
index c95684a..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/checkin/NameCollisionTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.methodNameCollision.checkin;
-
-import junit.framework.TestCase;
-import interfaceFeature.xbean.methodNameCollision.company.CompanyDocument;
-import interfaceFeature.xbean.methodNameCollision.company.CompanyType;
-import interfaceFeature.xbean.methodNameCollision.company.DepartmentType;
-import interfaceFeature.xbean.methodNameCollision.company.ConsultantType;
-
-import org.apache.xmlbeans.XmlString;
-
-public class NameCollisionTest extends TestCase{
-
-    public NameCollisionTest(String s){
-        super(s);
-    }
-
-    public void test(){
-        CompanyDocument poDoc ;
-
-              poDoc= CompanyDocument.Factory.newInstance();
-              CompanyType po=poDoc.addNewCompany();
-
-
-              int LEN=20;
-
-             StringBuffer sExpected=new StringBuffer();
-              sExpected.append("<com:company xmlns:com=" +
-                      "\"interfaceFeature/xbean/methodNameCollision/company\">" +
-                      "<departments>");
-             DepartmentType dept=po.addNewDepartments();
-             ConsultantType[] it= new ConsultantType[LEN];
-              for (int i=0; i < LEN; i++){
-                     it[i]=dept.addNewConsultant();
-                     XmlString s= XmlString.Factory.newInstance();
-                     it[i].setAge(50);
-                    it[i].setName4("BEAN Name"+i);
-                      sExpected.append("<consultant name=\"BEAN Name"+i+"\" " +
-                              "age=\"50\"/>");
-              }
-
-            sExpected.append("</departments></com:company>");
-
-             assertEquals( sExpected.toString(), poDoc.xmlText());
-             assertTrue( poDoc.validate() );
-             assertEquals("Name0", it[0].getName());
-             assertEquals("Name2",it[0].getName2());
-             assertEquals("Name3",it[0].getName3());
-            assertEquals("BEAN Name0",it[0].getName4());
-
-
-
-    }
-
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/FooHandler.java b/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/FooHandler.java
deleted file mode 100755
index aaac069..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/FooHandler.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*   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.
- */
-
-package xmlobject.extensions.interfaceFeature.methodNameCollision.existing;
-
-import org.apache.xmlbeans.XmlObject;
-
-
-public class FooHandler {
-  public static String getName(XmlObject xo){
-      return "Name0";
-  }
-     public static String getName2(XmlObject xo){
-           return "Name2";
-     }
-     public static  String getName3(XmlObject xo){
-         return "Name3";
-     }
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/IFoo.java b/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/IFoo.java
deleted file mode 100755
index c966d12..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/methodNameCollision/existing/IFoo.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-
-package xmlobject.extensions.interfaceFeature.methodNameCollision.existing;
-
-
-public interface IFoo {
-    String getName();
-    String getName2();
-    String getName3();
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/checkin/MultInterfacesTest.java b/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/checkin/MultInterfacesTest.java
deleted file mode 100755
index 34f47ff..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/checkin/MultInterfacesTest.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.multInterfaces.checkin;
-
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.PurchaseOrderDocument;
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.PurchaseOrderType;
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.Items;
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.Items.Item;
-
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.XmlObject;
-
-
-import junit.framework.*;
-
-public class MultInterfacesTest extends TestCase {
-
-    public MultInterfacesTest(String s) {
-        super(s);
-    }
-
-    public void test() {
-
-
-        PurchaseOrderDocument poDoc = null;
-
-        poDoc = PurchaseOrderDocument.Factory.newInstance();
-        PurchaseOrderType po = poDoc.addNewPurchaseOrder();
-        int LEN = 20;
-
-        Items.Item[] it = new Items.Item[LEN];
-        for (int i = 0; i < LEN; i++) {
-            it[i] = Items.Item.Factory.newInstance();
-            it[i].setUSPrice(new BigDecimal("" + i));
-        }
-        Items items = Items.Factory.newInstance();
-        items.setItemArray(it);
-        po.setItems(items);
-
-        StringBuffer sb = new StringBuffer();
-        sb.append(
-                "<pur:purchaseOrder xmlns:pur=\"http://xbean.interface_feature/multInterfaces/PurchaseOrder\">");
-
-        sb.append("<pur:items>");
-
-        StringBuffer sbContent = new StringBuffer();
-        for (int i = 0; i < LEN; i++)
-            sbContent.append("<pur:item><pur:USPrice>"+i+"</pur:USPrice></pur:item>");
-
-        int pos = sb.length();
-        sb.append("</pur:items></pur:purchaseOrder>");
-
-        String sExpected = sb.subSequence(0, pos) +
-                sbContent.toString() +
-                sb.subSequence(pos, sb.length());
-        assertEquals(sExpected, poDoc.xmlText());
-
-
-        assertEquals(0, poDoc.getMinPrice());
-        int price=10;
-
-        poDoc.setMinPrice((double)price);
-
-        sbContent = new StringBuffer();
-        for (int i = 0; i < LEN; i++)
-           if( i< price )
-            sbContent.append("<pur:item><pur:USPrice>"+price+"</pur:USPrice></pur:item>");
-            else
-             sbContent.append("<pur:item><pur:USPrice>"+i+"</pur:USPrice></pur:item>");
-        sExpected = sb.subSequence(0, pos) +
-                sbContent.toString() +
-                sb.subSequence(pos, sb.length());
-        assertEquals(sExpected, poDoc.xmlText());
-
-        assertEquals(price, poDoc.getMinPrice());
-
-        int expTotal=(price-1)*price+(price+1+LEN) * (LEN-price) / 2;
-        assertEquals(expTotal,poDoc.getTotal());
-
-        XmlObject item = poDoc.getCheapestItem();
-
-       Item expected=it[0];
-        expected.setUSPrice(new BigDecimal(30d));
- //       assertEquals(expected, item );
-    }
-
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/IReport.java b/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/IReport.java
deleted file mode 100755
index 16870b5..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/IReport.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*   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.
- */
-package  xmlobject.extensions.interfaceFeature.multInterfaces.existing;
-
-import org.apache.xmlbeans.XmlObject;
-
-
-public interface IReport extends ISum
-{
-   int getMinPrice();
-   XmlObject getCheapestItem();
-   void setMinPrice(double price);
-   
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ISum.java b/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ISum.java
deleted file mode 100755
index 3f39de6..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ISum.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*   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.
- */
-package  xmlobject.extensions.interfaceFeature.multInterfaces.existing;
-
-public interface ISum
-{
-    int getTotal();
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ReportHandler.java b/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ReportHandler.java
deleted file mode 100755
index ef4ad0d..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/multInterfaces/existing/ReportHandler.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*   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.
- */
-package  xmlobject.extensions.interfaceFeature.multInterfaces.existing;
-
-
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.PurchaseOrderDocument;
-import interfaceFeature.xbean.multInterfaces.purchaseOrder.Items.Item;
-
-
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.XmlObject;
-
-public class ReportHandler {
-    public static int getTotal(XmlObject xo) {
-
-        int sum = 0;
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) xo;
-        Item[] items = poDoc.getPurchaseOrder().getItems().getItemArray();
-
-        for (int i = 0; i < items.length; i++)
-            sum += items[i].getUSPrice().intValue();
-        return sum;
-    }
-
-    public static int getMinPrice(XmlObject xo) {
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) xo;
-              Item[] items = poDoc.getPurchaseOrder().getItems().getItemArray();
-
-        int min = Integer.MAX_VALUE;
-        for (int i = 0; i < items.length; i++) {
-            int tmp = items[i].getUSPrice().intValue();
-
-            min = min > tmp ? tmp : min;
-        }
-        return min;
-
-    }
-
-    public static XmlObject getCheapestItem(XmlObject xo) {
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) xo;
-        Item[] items = poDoc.getPurchaseOrder().getItems().getItemArray();
-
-        int min = Integer.MAX_VALUE;
-        XmlObject item = null;
-
-
-        for (int i = 0; i < items.length; i++) {
-            int tmp = items[i].getUSPrice().intValue();
-            if (min > tmp) {
-                min = tmp;
-                item = items[i];
-            }
-        }
-        return item;
-
-    }
-
-    public static void setMinPrice(XmlObject xo, double min_price) {
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) xo;
-              Item[] items = poDoc.getPurchaseOrder().getItems().getItemArray();
-
-                BigDecimal newPrice=new BigDecimal(min_price);
-
-        for (int i = 0; i < items.length; i++) {
-
-            int tmp = items[i].getUSPrice().intValue();
-            if (min_price > tmp)
-                items[i].setUSPrice(newPrice);
-        }
-
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/checkin/ReadOnlyTest.java b/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/checkin/ReadOnlyTest.java
deleted file mode 100755
index 01410c8..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/checkin/ReadOnlyTest.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.readOnlyBean.checkin;
-
-
-import interfaceFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderDocument ;
-import interfaceFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderType;
-import interfaceFeature.xbean.readOnlyBean.purchaseOrder.Items;
-
-
-import java.math.BigDecimal;
-import junit.framework.*;
-
-public class ReadOnlyTest extends TestCase{
-
-
-      public  ReadOnlyTest(String s){
-            super(s);
-        }
-    public void test(){
-
-         PurchaseOrderDocument poDoc ;
-
-         poDoc= PurchaseOrderDocument.Factory.newInstance();
-         PurchaseOrderType po=poDoc.addNewPurchaseOrder();
-         int LEN=20;
-
-         Items.Item[] it= new Items.Item[LEN];
-         for (int i=0; i< LEN; i++){
-                it[i]=Items.Item.Factory.newInstance();
-                it[i].setUSPrice(new BigDecimal(""+ 4 ));
-         }
-         Items items= Items.Factory.newInstance();
-            items.setItemArray(it);
-         po.setItems(items);
-
-         StringBuffer sb = new StringBuffer();
-        sb.append(
-                "<pur:purchaseOrder xmlns:pur=\"http://xbean.interface_feature/readOnlyBean/PurchaseOrder\">");
-
-        sb.append("<pur:items>");
-
-        StringBuffer sbContent = new StringBuffer();
-        for (int i = 0; i < LEN; i++)
-            sbContent.append("<pur:item><pur:USPrice>4</pur:USPrice></pur:item>");
-
-        int pos = sb.length();
-        sb.append("</pur:items></pur:purchaseOrder>");
-
-        String sExpected = sb.subSequence(0, pos) +
-                sbContent.toString() +
-                sb.subSequence(pos, sb.length());
-
-        assertEquals( sExpected, poDoc.xmlText());
-
-        try{
-            poDoc.setPrice(10);
-
-        }catch (Exception t){
-            t.printStackTrace(System.err);
-            System.exit(-1);
-        }
-
-
-       assertTrue ( !poDoc.validate() );
-    }
-   
-}
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/FooHandler.java b/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/FooHandler.java
deleted file mode 100755
index fb4d600..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/FooHandler.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.readOnlyBean.existing;
-
-
-
-import interfaceFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderDocument;
-import interfaceFeature.xbean.readOnlyBean.purchaseOrder.Items.Item;
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.XmlObject;
-
-public class FooHandler
-{
-    public static void setPrice(XmlObject xo, int price)
-    {
-
-        PurchaseOrderDocument poDoc = (PurchaseOrderDocument) xo;
-               Item[] items = poDoc.getPurchaseOrder().getItems().getItemArray();
-
-        BigDecimal o=new BigDecimal(price+"");
-        try{
-         for (int i=0; i<items.length; i++)
-		items[i].setUSPrice(o);
-        }catch (Exception e){
-            e.printStackTrace(System.err);
-        }
-
-    }
-
-	public static void getPrice(XmlObject xo){
-
-    }
-
-
-   
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/IFoo.java b/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/IFoo.java
deleted file mode 100755
index 07ada03..0000000
--- a/v2/test/src/xmlobject/extensions/interfaceFeature/readOnlyBean/existing/IFoo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.interfaceFeature.readOnlyBean.existing;
-
-
-    public interface IFoo
-    {
-        void setPrice(int price);
-        void getPrice();
-}
\ No newline at end of file
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/checkin/ValueRestrictionTest.java b/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/checkin/ValueRestrictionTest.java
deleted file mode 100755
index c4ab0fe..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/checkin/ValueRestrictionTest.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.prePostFeature.ValueRestriction.checkin;
-
-import junit.framework.TestCase;
-import prePostFeature.xbean.valueRestriction.company.*;
-import org.apache.xmlbeans.XmlString;
-
-
-public class ValueRestrictionTest extends TestCase{
-
-      public  ValueRestrictionTest(String s){
-            super(s);
-        }
-    public void test() throws Exception{
-
-         CompanyDocument poDoc ;
-
-         poDoc= CompanyDocument.Factory.newInstance();
-         CompanyType po=poDoc.addNewCompany();
-
-
-         int LEN=20;
-
-        StringBuffer sExpected=new StringBuffer();
-         sExpected.append("<com:company xmlns:com=\"http://xbean.prePostFeature/ValueRestriction/company\"><departments>");
-        DepartmentType dept=po.addNewDepartments();
-        ConsultantType[] it= new ConsultantType[LEN];
-         for (int i=0; i < LEN; i++){
-                it[i]=dept.addNewConsultant();
-                XmlString s= XmlString.Factory.newInstance();
-                it[i].setAge(50);
-                 sExpected.append("<consultant age=\"50\"/>");
-         }
-
-       sExpected.append("</departments></com:company>");
-
-        assertEquals( sExpected.toString(), poDoc.xmlText());
-        assertTrue( poDoc.validate() );
-
-
-       xmlobject.extensions.prePostFeature.ValueRestriction.existing.SetterHandler.bReady=true;
-
-
-         for (int i=0; i< LEN; i++){
-                it[i].setAge(150);
-         }
-
-        assertEquals( sExpected.toString(), poDoc.xmlText());
-        assertTrue( poDoc.validate() );
-
-        for (int i=0; i< LEN; i++){
-                it[i].setEmployeeAge(150);
-         }
-       assertTrue( sExpected.toString().equals(poDoc.xmlText()) );
-       assertTrue ( poDoc.validate() );
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/ISetter.java b/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/ISetter.java
deleted file mode 100755
index fd1d3ec..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/ISetter.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.prePostFeature.ValueRestriction.existing;
-
-public interface ISetter {
-   
-   public void setEmployeeAge(int age);
-
-}
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/SetterHandler.java b/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/SetterHandler.java
deleted file mode 100755
index 351985d..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/ValueRestriction/existing/SetterHandler.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.prePostFeature.ValueRestriction.existing;
-
-import prePostFeature.xbean.valueRestriction.company.ConsultantType;
-
-import javax.xml.namespace.QName;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.impl.config.PrePostExtension;
-
-
-public class SetterHandler {
-
-      public static boolean bReady=false;
-      public static void setEmployeeAge(XmlObject xo, int age){
-         ((ConsultantType)xo).setAge(age);
-      }
-
-    private static XmlObject origValue;
-     public static boolean preSet(int opType, XmlObject xo, QName prop, boolean isAttr, int index)
-          {
-           origValue=xo.copy();
-           return true;
-          }
-
-          public static void postSet(int opType, XmlObject xo, QName propertyName, boolean isAttr, int index)
-          {
-              if ( ! xo.validate() &&
-                   ( opType == PrePostExtension.OPERATION_SET ) &&
-                      bReady
-              )
-                  xo.set(origValue);
-                  xo.validate();
-          }
-
-
-}
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/checkin/ReadOnlyTest.java b/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/checkin/ReadOnlyTest.java
deleted file mode 100755
index bfaa0cb..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/checkin/ReadOnlyTest.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*   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.
- */
-
-package xmlobject.extensions.prePostFeature.readOnlyBean.checkin;
-
-import prePostFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderDocument ;
-import prePostFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderType;
-import prePostFeature.xbean.readOnlyBean.purchaseOrder.Items;
-
-
-import java.math.BigDecimal;
-import junit.framework.*;
-
-public class ReadOnlyTest extends TestCase{
-
-
-      public  ReadOnlyTest(String s){
-            super(s);
-        }
-    public void test(){
-
-         PurchaseOrderDocument poDoc ;
-
-         poDoc= PurchaseOrderDocument.Factory.newInstance();
-         PurchaseOrderType po=poDoc.addNewPurchaseOrder();
-
-
-         int LEN=20;
-
-         Items.Item[] it= new Items.Item[LEN];
-         for (int i=0; i< LEN; i++){
-                it[i]=Items.Item.Factory.newInstance();
-                it[i].setUSPrice(new BigDecimal(""+ 4 ));
-         }
-         Items items= Items.Factory.newInstance();
-         items.setItemArray(it);
-         po.setItems(items);
-
-
-             String sExpected =
-        "<pur:purchaseOrder xmlns:pur=\"http://xbean.prePost_feature/readOnlyBean/PurchaseOrder\"/>";
-
-
-           it[0].setPrice(10);
-
-        assertEquals( sExpected, poDoc.xmlText());
-
-
-
-       assertTrue ( !poDoc.validate() );
-    }
-
-}
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/FooHandler.java b/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/FooHandler.java
deleted file mode 100755
index 557618b..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/FooHandler.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.prePostFeature.readOnlyBean.existing;
-
-
-
-import prePostFeature.xbean.readOnlyBean.purchaseOrder.PurchaseOrderDocument;
-import prePostFeature.xbean.readOnlyBean.purchaseOrder.Items.Item;
-
-import org.apache.xmlbeans.impl.config.PrePostExtension;
-
-import javax.xml.namespace.QName;
-import java.math.BigDecimal;
-
-import org.apache.xmlbeans.XmlObject;
-
-public class FooHandler
-{
-
-   
-    public static boolean preSet(int opType, XmlObject xo, QName prop, boolean isAttr, int index)
-       {
-        if ( opType == PrePostExtension.OPERATION_SET )
-           return false;
-        return true;
-       }
-
-       public static void postSet(int opType, XmlObject xo, QName propertyName, boolean isAttr, int index)
-       {
-           if ( opType == PrePostExtension.OPERATION_SET )
-          System.err.println("No setters are allowed for this bean:" +
-                  " value unchanged"+propertyName);
-       }
-
-
-
-
-
- public static void setPrice(XmlObject xo, int price)
-    {
-
-        Item it = (Item) xo;
-        BigDecimal o=new BigDecimal(price+"");
-        it.setUSPrice(o);
-
-    }
-
-	public static double getPrice(XmlObject xo){
-
-        Item it = (Item) xo;
-        return it.getUSPrice().doubleValue();
-        }
-
-    }
diff --git a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/IFoo.java b/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/IFoo.java
deleted file mode 100755
index e750497..0000000
--- a/v2/test/src/xmlobject/extensions/prePostFeature/readOnlyBean/existing/IFoo.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*   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.
- */
-package xmlobject.extensions.prePostFeature.readOnlyBean.existing;
-
-
-public interface IFoo {
-
-        void setPrice(int price);
-        double getPrice();
-}
-
diff --git a/v2/test/src/xmlobject/schematypes/checkin/EnumTests.java b/v2/test/src/xmlobject/schematypes/checkin/EnumTests.java
deleted file mode 100755
index d7612ab..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/EnumTests.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*   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.
- */
-
-package xmlobject.schematypes.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import junit.framework.TestCase;
-import org.apache.xmlbeans.XmlObject;
-import org.openuri.enumtest.StatusreportDocument;
-import org.openuri.enumtest.SalesreportDocument;
-import org.openuri.enumtest.SalesreportDocument.Salesreport.Unit;
-import org.openuri.enumtest.Quantity;
-import org.openuri.enumtest.Data;
-
-import tools.util.*;
-
-
-public class EnumTests extends TestCase
-{
-    public EnumTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(EnumTests.class); }
-
-    public static void testReport1() throws Exception
-    {
-        StatusreportDocument doc = (StatusreportDocument)
-                    XmlObject.Factory.parse(
-                            JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                                    "xbean/xmlobject/enumtest.xml"));
-
-        Quantity.Enum[] contents = new Quantity.Enum[]
-        {
-            Quantity.ALL,
-            Quantity.ALL,
-            Quantity.FEW,
-            Quantity.ALL,
-            Quantity.MOST,
-            Quantity.NONE,
-            Quantity.NONE,
-            Quantity.NONE,
-        };
-        Data[] data = doc.getStatusreport().getStatusArray();
-        int t = 0;
-        for (int i = 0; i < data.length; i++)
-        {
-            Assert.assertEquals(contents[t++], data[i].enumValue());
-            // System.out.println("Target: " + data[i].getTarget() + ", value: " + data[i].enumValue());
-            Assert.assertEquals(contents[t++], data[i].getTarget());
-        }
-    }
-
-    public static void testReport2() throws Exception
-    {
-        StatusreportDocument doc = StatusreportDocument.Factory.newInstance();
-        StatusreportDocument.Statusreport report = doc.addNewStatusreport();
-
-        Data d = report.addNewStatus();
-        d.set(Quantity.ALL);
-        d.setTarget(Quantity.ALL);
-
-        d = report.addNewStatus();
-        d.set(Quantity.FEW);
-        d.setTarget(Quantity.ALL);
-
-        d = report.addNewStatus();
-        d.set(Quantity.MOST);
-        d.setTarget(Quantity.NONE);
-
-        d = report.addNewStatus();
-        d.set(Quantity.NONE);
-        d.setTarget(Quantity.NONE);
-
-        Quantity.Enum[] contents = new Quantity.Enum[]
-        {
-            Quantity.ALL,
-            Quantity.ALL,
-            Quantity.FEW,
-            Quantity.ALL,
-            Quantity.MOST,
-            Quantity.NONE,
-            Quantity.NONE,
-            Quantity.NONE,
-        };
-        Data[] data = doc.getStatusreport().getStatusArray();
-        int t = 0;
-        for (int i = 0; i < data.length; i++)
-        {
-            Assert.assertEquals(contents[t++], data[i].enumValue());
-            // System.out.println("Target: " + data[i].getTarget() + ", value: " + data[i].enumValue());
-            Assert.assertEquals(contents[t++], data[i].getTarget());
-        }
-    }
-
-    public static void testReport3() throws Exception
-    {
-        SalesreportDocument doc = SalesreportDocument.Factory.newInstance();
-        SalesreportDocument.Salesreport report = doc.addNewSalesreport();
-
-        report.addUnit(Unit.ONE);
-        report.addUnit(Unit.TWO);
-        report.addUnit(Unit.NINETY_NINE);
-        report.addUnit(Unit.ONE_HUNDRED);
-
-        Unit.Enum[] contents = new Unit.Enum[]
-        {
-            Unit.ONE,
-            Unit.TWO,
-            Unit.NINETY_NINE,
-            Unit.ONE_HUNDRED,
-        };
-
-        Unit[] xunits = report.xgetUnitArray();
-        for (int i = 0; i < xunits.length; i++)
-        {
-            Assert.assertEquals(contents[i], xunits[i].enumValue());
-        }
-
-        Unit.Enum[] units = report.getUnitArray();
-        for (int i = 0; i < units.length; i++)
-        {
-            Assert.assertEquals(contents[i], units[i]);
-        }
-    }
-
-
-}
diff --git a/v2/test/src/xmlobject/schematypes/checkin/GDateTests.java b/v2/test/src/xmlobject/schematypes/checkin/GDateTests.java
deleted file mode 100755
index 3709ce3..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/GDateTests.java
+++ /dev/null
@@ -1,545 +0,0 @@
-/*   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.
- */
-
-package xmlobject.schematypes.checkin;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.GDateBuilder;
-import org.apache.xmlbeans.GDuration;
-import org.apache.xmlbeans.GDurationBuilder;
-import org.apache.xmlbeans.XmlCalendar;
-
-import java.util.GregorianCalendar;
-import java.util.Date;
-import java.util.Calendar;
-
-public class GDateTests extends TestCase
-{
-    public GDateTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(GDateTests.class); }
-
-    static String[] validDurations =
-            {
-                "PT0S",
-                "P1Y",
-                "P1M",
-                "P1D",
-                "P2Y",
-                "P2M",
-                "P2D",
-                "PT1H",
-                "PT1M",
-                "PT1S",
-                "PT3600S",
-                "P1Y1M1DT1H1M1S",
-                "P1Y1M1DT1H1M1.1S",
-                "P1Y365D",
-                "P1Y366D",
-                "PT0.1S",
-                "P1Y-364D",
-                "P1Y-365D",
-                "P1Y-366D",
-                "P1Y-367D",
-                "P1Y-12M",
-                "P1M29D",
-                "P1M-27D",
-                "P1M-28D",
-                "P1M-29D",
-                "P1M-31D",
-                "P1M-32D",
-                "P1MT-660H",
-                "P1MT-670H",
-                "P1MT-680H",
-                "P1MT-690H",
-                "P1MT-700H",
-                "P1MT-710H",
-                "P1MT-720H",
-                "P1MT-730H",
-                "P1MT-740H",
-                "PT0.1415926S",
-                "PT5233132S",
-                "PT142332M",
-                "PT98023H",
-
-                "-PT0S",
-                "-P1Y",
-                "-P1M",
-                "-P1D",
-                "-PT1H",
-                "-PT1M",
-                "-PT1S",
-                "-P1Y1M1DT1H1M1S",
-                "-P1Y1M1DT1H1M1.1S",
-                "-P27D",
-                "-P28D",
-                "-P29D",
-                "-P30D",
-                "-P31D",
-                "-P364D",
-                "-P365D",
-                "-P366D",
-                "-PT0.1S",
-                "-PT0.1415926S",
-                "-PT5233132S",
-                "-PT142332M",
-                "-PT98023H",
-
-            };
-
-    static String[] invalidDates =
-            {
-                "+14:01", // tz
-                "-14:01", // tz
-                "+15:00", // tz
-                "-15:00", // tz
-                "X",
-                ",",
-                "T",
-                "+",
-                "-",
-                ":",
-                "0",
-                "March 2",
-                "T00:00:00Z", // T not allowed
-                "-00:00:00Z", // - not allowed
-                "96-02-28T00:00:00Z", // year width
-                "100-02-28T00:00:00Z", // year width
-                "1900-2-28T00:00:00Z", // month width
-                "1900-02-8T00:00:00Z", // day width
-                "1900-02-08T0:00:00Z", // hour width
-                "1900-02-08T00:0:00Z", // hour width
-                "1900-02-08T00:00:0Z", // hour width
-                "1900-02-08T00:00Z", // time incomplete
-                "1900-02-08 T00:00:00Z", // space
-                "1900-02-08T 00:00:00Z", // space
-                "1900-02-08T00:00:00 Z", // space
-                "1900-02-29T00Z", // time incomplete
-                "00:00", // time incomplete
-                "00", // incomplete
-                "2100-02-29", // not leap
-                "-9999999-02-28T00:00:00Z", // too long ago
-                "9999999-02-28T00:00:00Z", // too long from now
-                "9999999999999999999999999999999-02-28T00:00:00Z", // overflow?
-                "1996-00-28T00:00:00Z", // month
-                "1996-13-28T00:00:00Z", // month
-                "1996-02-00T00:00:00Z", // day
-                "2000-02-30T00:00:00Z", // day
-                "1996-02-29T24:00:00Z", // hr
-                "1996-02-29T00:60:00Z", // min
-                "1996-02-29T00:00:60Z", // sec
-                "1996-02-29T00:00:00+14:01", // tz
-                "1996-02-29T00:00:00-14:01", // tz
-                "1996-02-29T00:00:00+15:00", // tz
-                "1996-02-29T00:00:00-15:00", // tz
-                "1996-00-29", // month
-                "1996-13-29", // month
-                "1996-02-00", // day
-                "2000-02-30", // day
-                "--00", // month
-                "--13", // month
-                "--00-01", // month
-                "--13-01", // month
-                "--02-00", // day
-                "--02-30", // day
-                "--01-32", // day
-                "--11-31", // day
-                "---00", // day
-                "---32", // day
-                "24:00:00Z", // hr
-                "00:60:00Z", // min
-                "00:00:60Z", // sec
-                "00:00:00+14:01", // tz
-                "00:00:00-14:01", // tz
-                "00:00:00+15:00", // tz
-                "00:00:00-15:00", // tz
-            };
-
-    static String[] validDates =
-            {
-                "",
-                "Z", // timezone only
-                "-14:00", // timezone only
-                "999999-12-31T23:59:59.999Z",
-                "1970-12-31T23:59:59.990+14:00",
-                "1996-02-29T00:00:00Z", // leap
-                "2000-02-29T00:00:00Z", // leap
-                "2004-02-29T00:00:00Z", // leap
-                "2008-02-29T00:00:00Z", // leap
-                "2012-02-29T00:00:00Z", // leap
-                "1900-02-28T00:00:00Z", // not leap
-                "2100-02-28T00:00:00Z", // not leap
-                "1900-03-28T00:00:00Z", // not leap
-                "-4712-01-01T00:00:00Z",
-                "1999-01-01T00:00:00+01:00",
-                "2001-12-31T23:59:59.010",
-                "2001-12-31T23:59:59.999901000",
-                "1999-12-31T23:59:59.1234567890-14:00",
-                "1992-12-31T23:59:59.01-14:00",
-                "1965-12-31T23:59:59.000Z",
-                "0000-12-31T04:35:22.456",
-                "1696-09-01T00:00:00Z",
-                "1697-02-01T00:00:00Z",
-                "1903-03-01T00:00:00Z",
-                "1903-07-01T00:00:00Z",
-                "1696-09-01T00:00:00+00:00",
-                "1697-02-01T00:00:00-00:00",
-                "2002",
-                "-0001",
-                "--12",
-                "-0001-11",
-                "2002-01",
-                "---31",
-                "1554--31",
-                "-0004--31",
-                "--02-29",
-                "--12-31",
-                "2002-04-18",
-                "-0423-12-31",
-                "23:59:59",
-                "00:00:00",
-                "2010T23:59:59",
-                "-0001T00:00:00",
-                "--12T23:59:59",
-                "-0001-11T00:00:00",
-                "2011-01T23:59:59",
-                "---31T00:00:00",
-                "2002--31T23:59:59",
-                "-0004--31T00:00:00",
-                "2002-02-18T23:59:59",
-                "-0423-12-31T00:00:00",
-                "2002Z",
-                "-0001+01:30",
-                "--12-14:00",
-                "-0001-11Z",
-                "1970-12-01:00",
-                "---31+01:30",
-                "2002--31Z",
-                "--03-31-03:00",
-                "--04-30+05:00",
-                "-0004--31-01:00",
-                "2002-04-18-14:00",
-                "-0423-12-31Z",
-                "23:59:59-01:00",
-                "00:00:00Z",
-                "00:00:00+01:30",
-                "1776T23:59:59-14:00",
-                "-0001T00:00:00Z",
-                "--12T23:59:59+01:30",
-                "-0001-11T00:00:00-01:00",
-                "2002-02T23:59:59Z",
-                "---31T00:00:00-14:00",
-                "2002--31T23:59:59-01:00",
-                "-0004--31T00:00:00+01:30",
-                "2002-04-18T23:59:59Z",
-                "-0423-12-31T00:00:00-05:00",
-            };
-
-    private static boolean hasTime(GDuration gd)
-    {
-        return gd.getHour() != 0 || gd.getMinute() != 0 || gd.getSecond() != 0 || gd.getFraction().signum() != 0;
-    }
-    
-    public static void testGregorianCalendar()
-    {
-        // this is a check of DST offsets
-        Date date = new GDate("2002-04-18T23:59:59Z").getDate();
-        GregorianCalendar gcal = new XmlCalendar(date);
-        Assert.assertEquals(date, gcal.getTime());
-
-        // now check out some things
-        GDate gd = new GDate("2001-12-31T07:00:59.010");
-        GregorianCalendar gc = gd.getCalendar();
-        Date gdd = gd.getDate();
-        Date gcd = gc.getTime();
-        Assert.assertEquals(gdd, gcd);
-        
-        // set up 2/29, and read out Feb 29 in the year 1 BC.
-        Calendar gregcal = new GDate("--02-29").getCalendar();
-        Assert.assertEquals(29, gregcal.get(Calendar.DAY_OF_MONTH));
-        Assert.assertEquals(2 - 1, gregcal.get(Calendar.MONTH));
-        Assert.assertEquals(1, gregcal.get(Calendar.YEAR));
-        Assert.assertEquals(0, gregcal.get(Calendar.ERA));
-        // repeat some tests to make sure it's stable.
-        Assert.assertEquals(29, gregcal.get(Calendar.DAY_OF_MONTH));
-        Assert.assertEquals(2 - 1, gregcal.get(Calendar.MONTH));
-
-        // now try some setters
-        gregcal = new GDate("--02-29").getCalendar();
-        gregcal.set(Calendar.MONTH, 10);
-        Assert.assertEquals("--11-29", gregcal.toString());
-        // repeat to ensure it's stable.
-        Assert.assertEquals("--11-29", gregcal.toString());
-    }
-
-    public static void testValidDuration()
-    {
-        for (int i = 0; i < validDurations.length; i++)
-        {
-            GDuration gd = null;
-            String str = validDurations[i];
-            try
-            {
-                gd = new GDuration(str);
-            }
-            catch (IllegalArgumentException e)
-            {
-                Assert.assertTrue("Problem with " + str + ": " + e.getMessage(), false);
-            }
-
-            Assert.assertEquals(str, gd.toString());
-
-            for (int j = 0; j < validDurations.length; j++)
-            {
-                GDuration gd2 = null;
-                String str2 = validDurations[j];
-                try
-                {
-                    gd2 = new GDuration(str2);
-                }
-                catch (IllegalArgumentException e)
-                {
-                    Assert.assertTrue("Problem with " + str2 + ": " + e.getMessage(), false);
-                }
-
-                // subtracting two ways works
-                GDuration diff = gd.subtract(gd2);
-                GDurationBuilder gdb = new GDurationBuilder(gd2);
-                gdb.setSign(-gdb.getSign());
-                gdb.addGDuration(gd);
-                GDuration sum2 = gdb.toGDuration();
-                Assert.assertEquals(0, diff.compareToGDuration(sum2));
-                gdb.normalize();
-                GDurationBuilder gdb1 = new GDurationBuilder(diff);
-                gdb1.normalize();
-                Assert.assertEquals("Problem: " + gd + " and " + gd2, gdb.toString(), gdb1.toString());
-
-
-                // comparing is reversible
-                int comp1 = gd.compareToGDuration(gd2);
-                int comp2 = gd2.compareToGDuration(gd);
-                if (comp1 == 2)
-                    Assert.assertEquals(2, comp2);
-                else
-                    Assert.assertEquals(-comp1, comp2);
-
-                // comparing translates to addition to dates
-                boolean[] seen = new boolean[3];
-
-                for (int k = 0; k < validDates.length; k++)
-                {
-                    GDate date = new GDate(validDates[k]);
-                    if (!date.hasDate() || date.getYear() > 99999 || date.getYear() < -4000)
-                        continue;
-                    if ((hasTime(gd) || hasTime(gd2)) && !date.hasTime())
-                        continue;
-                    // System.out.println("Adding " + gd + " and " + gd2 + " to " + date + ", expecting " + comp1);
-                    GDate date1 = date.add(gd);
-                    GDate date2 = date.add(gd2);
-
-                    comp2 = date1.compareToGDate(date2);
-                    if (comp1 != 2)
-                    {
-                        Assert.assertEquals("Adding " + date + " + " + gd + " -> " + date1 + ", " + gd2 + " -> " + date2 + ", expecting " + comp1, comp1, comp2);
-                    }
-                    else
-                    {
-                        Assert.assertTrue(comp2 != 2);
-                        seen[comp2 + 1] = true;
-                    }
-
-                    // subtraction should yeild the same result
-                    if (comp1 != 2)
-                    {
-                        GDate date3 = date.add(diff);
-                        Assert.assertEquals(comp1, date3.compareToGDate(date));
-                    }
-                }
-
-                if (comp1 == 2)
-                {
-                    int seencount = 0;
-                    for (int k = 0; k < seen.length; k++)
-                        if (seen[k])
-                            seencount += 1;
-                    Assert.assertTrue("Not ambiguous as advertised" /* + gd + ", " + gd2 + " d: " + diff */, seencount > 1);
-                }
-            }
-        }
-    }
-
-    public static void testOrder()
-    {
-        Assert.assertEquals(-1, new GDate("1998-08-26").compareToGDate(new GDate("2001-08-06")));
-        Assert.assertEquals(-1, new GDate("1970-12-20T04:14:22Z").compareToGDate(new GDate("1971-04-18T12:51:41Z")));
-        Assert.assertEquals(2, new GDate("2001-08-06").compareToGDate(new GDate("2001-08-06Z")));
-        Assert.assertEquals(2, new GDate("2001-08-06").compareToGDate(new GDate("2001-08-07+10:00")));
-        Assert.assertEquals(2, new GDate("2001-08-06").compareToGDate(new GDate("2001-08-05-10:00")));
-        Assert.assertEquals(2, new GDate("2001-02-28").compareToGDate(new GDate("2001-03-01+10:00")));
-        Assert.assertEquals(2, new GDate("2001-03-01").compareToGDate(new GDate("2001-02-28-10:00")));
-        Assert.assertEquals(-1, new GDate("2000-02-28").compareToGDate(new GDate("2000-03-01+10:00")));
-        Assert.assertEquals(1, new GDate("2000-03-01").compareToGDate(new GDate("2000-02-28-10:00")));
-        Assert.assertEquals(-1, new GDate("2001-08-06Z").compareToGDate(new GDate("2001-08-06-00:01")));
-        Assert.assertEquals(0, new GDate("00:00:00Z").compareToGDate(new GDate("00:01:00+00:01")));
-        Assert.assertEquals(0, new GDate("12:00:00-05:00").compareToGDate(new GDate("09:00:00-08:00")));
-        Assert.assertEquals(-1, new GDate("09:00:00-05:00").compareToGDate(new GDate("09:00:00-08:00"))); // the east coast rises before the west
-        Assert.assertEquals(-1, new GDate("2003-05-05T09:00:00-05:00").compareToGDate(new GDate("2003-05-05T09:00:00-08:00"))); // the east coast rises before the west
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---31")));
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---31+14:00")));
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---31-14:00")));
-        Assert.assertEquals(1, new GDate("---31").compareToGDate(new GDate("---01")));
-        Assert.assertEquals(1, new GDate("---31").compareToGDate(new GDate("---01+14:00")));
-        Assert.assertEquals(1, new GDate("---31").compareToGDate(new GDate("---01-14:00")));
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---02")));
-        Assert.assertEquals(1, new GDate("---02").compareToGDate(new GDate("---01")));
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---02Z")));
-        Assert.assertEquals(1, new GDate("---02").compareToGDate(new GDate("---01Z")));
-        Assert.assertEquals(2, new GDate("---02").compareToGDate(new GDate("---01-10:00")));
-        Assert.assertEquals(2, new GDate("---01").compareToGDate(new GDate("---02+10:00")));
-        Assert.assertEquals(1, new GDate("---02").compareToGDate(new GDate("---01-09:00")));
-        Assert.assertEquals(-1, new GDate("---01").compareToGDate(new GDate("---02+09:00")));
-        Assert.assertEquals(0, new GDate("---01").compareToGDate(new GDate("---01")));
-        Assert.assertEquals(-1, new GDate("2003").compareToGDate(new GDate("2004")));
-        Assert.assertEquals(-1, new GDate("--11").compareToGDate(new GDate("--12")));
-        Assert.assertEquals(-1, new GDate("2003-12").compareToGDate(new GDate("2004-01")));
-        Assert.assertEquals(-1, new GDate("--11-30").compareToGDate(new GDate("--12-01")));
-        Assert.assertEquals(-1, new GDate("--02-28").compareToGDate(new GDate("--02-29")));
-        Assert.assertEquals(-1, new GDate("--02-29").compareToGDate(new GDate("--03-01")));
-        Assert.assertEquals(2, new GDate("--02-29").compareToGDate(new GDate("--03-01+10:00")));
-        Assert.assertEquals(2, new GDate("--02-28").compareToGDate(new GDate("--03-01+10:00")));
-        Assert.assertEquals(2, new GDate("--03-01").compareToGDate(new GDate("--02-28-10:00")));
-        Assert.assertEquals(2, new GDate("--03-01").compareToGDate(new GDate("--02-29-10:00")));
-        Assert.assertEquals(-1, new GDate("--02-29").compareToGDate(new GDate("--03-01+09:00")));
-        Assert.assertEquals(-1, new GDate("--02-28").compareToGDate(new GDate("--03-01+09:00")));
-        Assert.assertEquals(1, new GDate("--03-01").compareToGDate(new GDate("--02-28-09:00")));
-        Assert.assertEquals(1, new GDate("--03-01").compareToGDate(new GDate("--02-29-09:00")));
-        Assert.assertEquals(-1, new GDate("00:00:00").compareToGDate(new GDate("23:59:59")));
-        Assert.assertEquals(-1, new GDate("00:00:00").compareToGDate(new GDate("23:59:59+09:59")));
-        Assert.assertEquals(-1, new GDate("00:00:00").compareToGDate(new GDate("23:59:01+09:59")));
-        Assert.assertEquals(2, new GDate("00:00:00").compareToGDate(new GDate("23:59:00+09:59")));
-        Assert.assertEquals(2, new GDate("00:00:00").compareToGDate(new GDate("23:59:59+10:00")));
-        Assert.assertEquals(-1, new GDate("00:00:00").compareToGDate(new GDate("23:59:59-14:00")));
-        Assert.assertEquals(1, new GDate("23:59:59").compareToGDate(new GDate("00:00:00-09:59")));
-        Assert.assertEquals(1, new GDate("23:59:59").compareToGDate(new GDate("00:00:58-09:59")));
-        Assert.assertEquals(2, new GDate("23:59:59").compareToGDate(new GDate("00:00:59-09:59")));
-        Assert.assertEquals(2, new GDate("23:59:59").compareToGDate(new GDate("00:00:00-10:00")));
-        Assert.assertEquals(1, new GDate("23:59:59").compareToGDate(new GDate("00:00:00+14:00")));
-    }
-    
-    public static void testAPI() throws Exception
-    {
-        GDateBuilder builder = new GDateBuilder("1970-12-20T04:14:22Z");
-        builder.normalizeToTimeZone(1, 0, 0);
-        Assert.assertEquals("1970-12-20T04:14:22+00:00", builder.toString());
-        builder.setTimeZone(615);
-        Assert.assertEquals("1970-12-20T04:14:22+10:15", builder.toString());
-        builder.setTimeZone(-345);
-        Assert.assertEquals("1970-12-20T04:14:22-05:45", builder.toString());
-        builder.normalizeToTimeZone(-300);
-        Assert.assertEquals("1970-12-20T04:59:22-05:00", builder.toString());
-    }
-
-
-    public static void testFailure() throws Exception
-    {
-        for (int i = 0; i < invalidDates.length; i++)
-        {
-            String str = invalidDates[i];
-            try
-            {
-                new GDate(str);
-            }
-            catch (IllegalArgumentException e)
-            {
-                continue;
-            }
-            Assert.assertTrue("Missing exception for GDate " + str, false);
-        }
-    }
-
-    public static void testSuccess() throws Exception
-    {
-        for (int i = 0; i < validDates.length; i++)
-        {
-            String str = validDates[i];
-            GDate gdate = null;
-            try
-            {
-                gdate = new GDate(str);
-            }
-            catch (IllegalArgumentException e)
-            {
-                Assert.assertTrue("Problem with " + str + ": " + e.getMessage(), false);
-            }
-
-            // must round-trip to string
-            Assert.assertEquals(str, gdate.toString());
-
-            // must round-trip to GregorianCalendar if fractions-of-seconds <=3 digits
-            if (gdate.getFraction() == null || gdate.getFraction().scale() <= 3)
-                if (!gdate.toString().equals("--02-29")) // bug in gcal -> 03-01
-            {
-                GregorianCalendar gcal = gdate.getCalendar();
-                GDate gdate2 = new GDate(gcal);
-                Assert.assertEquals(gdate, gdate2);
-
-                // and if fractions-of-seconds is 3 digits, stringrep must round-trip
-                if (gdate.getFraction() == null || gdate.getFraction().scale() == 3 || gdate.getFraction().scale() == 0)
-                    Assert.assertEquals(gdate.toString(), gdate2.toString());
-            }
-
-            // must round-trip to Date if absolute time+timezone + fractions-of-seconds <= 3
-            if (gdate.hasTimeZone() && gdate.getYear() > -4000 && gdate.getYear() < 99999 && gdate.getBuiltinTypeCode() == SchemaType.BTC_DATE_TIME && gdate.getFraction().scale() <= 3)
-            {
-                Date date = gdate.getDate();
-                GDate gdate2 = new GDate(date);
-                Assert.assertEquals(gdate, gdate2);
-                
-                // normalize to UTC fractions-of-seconds is 0 or 3 digits [not 000], stringrep must round-trip
-                if (gdate.getTimeZoneSign() == 0 && ((gdate.getFraction().scale() == 3 && gdate.getFraction().signum() != 0) || gdate.getFraction().scale() == 0))
-                {
-                    GDateBuilder gdb = new GDateBuilder(gdate2);
-                    gdb.normalizeToTimeZone(0, 0, 0);
-                    Assert.assertEquals(gdate.toString(), gdb.toString());
-                }
-
-                // verify that going through gcal gives us the same thing
-                GregorianCalendar gcal = gdate.getCalendar();
-                Assert.assertEquals(date, gcal.getTime());
-                
-                // double-check XmlCalendar constructor
-                gcal = new XmlCalendar(date);
-                Assert.assertEquals("Doing " + gdate, date, gcal.getTime());
-            }
-            else if (gdate.hasDate() && (gdate.getFraction() == null || gdate.getFraction().scale() <= 3))
-            {
-                // must be able to get a date if time+timezone is unset (midnight, ltz are assumed)
-                Date date = gdate.getDate();
-                GDateBuilder gdate1 = new GDateBuilder(gdate);
-                if (!gdate1.hasTime())
-                    gdate1.setTime(0, 0, 0, null);
-                Assert.assertEquals(gdate1.getDate(), date);
-
-                // verify that going through gcal gives us the same thing
-                GregorianCalendar gcal = gdate.getCalendar();
-                Assert.assertEquals("Comparing " + gdate + " and " + gcal, date, gcal.getTime());
-            }
-        }
-    }
-}
diff --git a/v2/test/src/xmlobject/schematypes/checkin/IntTests.java b/v2/test/src/xmlobject/schematypes/checkin/IntTests.java
deleted file mode 100755
index 4b5829d..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/IntTests.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.schematypes.checkin;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-
-import xint.test.PositionDocument;
-
-public class IntTests extends TestCase
-{
-    public IntTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(IntTests.class); }
-
-    public static void testLatLong() throws Exception
-    {
-        PositionDocument doc = PositionDocument.Factory.parse(
-          "<p:position xmlns:p='java:int.test'><p:lat>43</p:lat><p:lon>020</p:lon></p:position>");
-        Assert.assertEquals(43, doc.getPosition().getLat());
-        Assert.assertEquals(20, doc.getPosition().getLon());
-        doc.getPosition().xgetLat().set("07");
-        doc.getPosition().xgetLon().set("040");
-        Assert.assertEquals(7, doc.getPosition().getLat());
-        Assert.assertEquals(40, doc.getPosition().getLon());
-        doc.getPosition().setLat((short)22);
-    }
-}
diff --git a/v2/test/src/xmlobject/schematypes/checkin/NumeralsTests.java b/v2/test/src/xmlobject/schematypes/checkin/NumeralsTests.java
deleted file mode 100755
index 431dae0..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/NumeralsTests.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.schematypes.checkin;
-
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.openuri.testNumerals.DocDocument;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-/**
- * Author: Cezar Andrei (cezar.andrei at bea.com)
- * Date: Nov 23, 2003
- */
-public class NumeralsTests extends TestCase
-{
-    public NumeralsTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(NumeralsTests.class); }
-
-    private static DocDocument.Doc doc;
-    static
-    {
-        String inst =
-            "<doc xmlns='http://openuri.org/testNumerals'>\n" +
-            "  <string>    this is a long string \n" +
-            "  ...   </string>\n" +
-            "  <int>\n" +
-            "  		+5\n" +
-            "  </int>\n" +
-            "  <int>\n" +
-            "  		-6\n" +
-            "  </int>\n" +
-            "  <int>\n" +
-            "  		+00000000015\n" +
-            "  </int>\n" +
-            "  <int>7<!--this has to be a 77 int value-->7</int>\n" +
-            "  <boolean>\n" +
-            "  		true\n" +
-            "  </boolean>\n" +
-            "  <boolean>\n" +
-            "  		false\n" +
-            "  </boolean>\n" +
-            "  <boolean>\n" +
-            "  		0\n" +
-            "  </boolean>\n" +
-            "  <boolean>\n" +
-            "  		1\n" +
-            "  </boolean>\n" +
-            "  <boolean>\n" +
-            "  		true is not\n" +
-            "  </boolean>\n" +
-            "  <short>\n" +
-            "  		+03\n" +
-            "  </short>\n" +
-            "  <byte>\n" +
-            "  		+001\n" +
-            "  </byte>\n" +
-            "  <long>-0500000</long>\n" +
-            "  <long>\n" +
-            "    001\n" +
-            "  </long>\n" +
-            "  <long>\n" +
-            "    +002\n" +
-            "  </long>\n" +
-            "  <double>\n" +
-            "    +001\n" +
-            "  </double>\n" +
-            "  <double>\n" +
-            "    -002.007000\n" +
-            "  </double>\n" +
-            "  <double>\n" +
-            "    INF\n" +
-            "  </double>\n" +
-            "  <double>\n" +
-            "    -INF\n" +
-            "  </double>\n" +
-            "  <double>\n" +
-            "    NaN\n" +
-            "  </double>\n" +
-            "  <float>\n" +
-            "    +12.325\n" +
-            "  </float>\n" +
-            "  <float>\n" +
-            "    NaN\n" +
-            "  </float>\n" +
-            "  <float>\n" +
-            "    INF\n" +
-            "  </float>\n" +
-            "  <float>\n" +
-            "    -INF\n" +
-            "  </float>\n" +
-            "  <decimal>\n" +
-            "    +001.001\n" +
-            "  </decimal>\n" +
-            "  <integer>\n" +
-            "    +001<!--comments-->000000000\n" +
-            "  </integer>\n" +
-            "</doc>";
-
-        try
-        {
-            doc = DocDocument.Factory.parse(inst).getDoc();
-        }
-        catch (XmlException e)
-        {
-            throw new IllegalStateException(e.getMessage());
-        }
-    }
-
-    public void test1() throws XmlException
-    {
-        String s = "    this is a long string \n" + "  ...   ";
-        Assert.assertTrue("String expected:\n'" + s + "'         actual:\n'" +
-            doc.getStringArray()[0] + "'", s.equals(doc.getStringArray()[0]));
-    }
-
-    public void test2() throws XmlException
-    {
-        Assert.assertTrue("int expected:" + 5 + " actual:" + doc.getIntArray()[0], doc.getIntArray()[0]==5);
-    }
-
-    public void test3() throws XmlException
-    {
-        Assert.assertTrue("int expected:" + (-6) + " actual:" + doc.getIntArray()[1], doc.getIntArray()[1]==-6);
-    }
-
-    public void test4() throws XmlException
-    {
-        Assert.assertTrue("int expected:" + 15 + " actual:" + doc.getIntArray()[2], doc.getIntArray()[2]==15);
-    }
-
-    public void test5() throws XmlException
-    {
-        Assert.assertTrue("int expected:" + 77 + " actual:" + doc.getIntArray()[3], doc.getIntArray()[3]==77);
-    }
-
-    public void test6() throws XmlException
-    {
-        Assert.assertTrue(doc.getBooleanArray(0)==true);
-    }
-
-    public void test7() throws XmlException
-    {
-        Assert.assertTrue(doc.getBooleanArray(1)==false);
-    }
-
-    public void test8() throws XmlException
-    {
-        Assert.assertTrue(doc.getBooleanArray(2)==false);
-    }
-
-    public void test9() throws XmlException
-    {
-        Assert.assertTrue(doc.getBooleanArray(3)==true);
-    }
-
-    public void test10() throws XmlException
-    {
-        try { boolean b = doc.getBooleanArray()[4]; Assert.assertTrue(false); }
-        catch(XmlValueOutOfRangeException e)
-        { Assert.assertTrue(true); }
-    }
-
-    public void test11() throws XmlException
-    {
-        Assert.assertTrue(doc.getShortArray()[0]==3);
-    }
-
-    public void test12() throws XmlException
-    {
-        Assert.assertTrue(doc.getByteArray()[0]==1);
-    }
-
-    public void test13() throws XmlException
-    {
-        Assert.assertTrue("long expected:" + (-50000) + " actual:" + doc.getLongArray()[0],
-            doc.getLongArray()[0]==-500000);
-    }
-
-    public void test14() throws XmlException
-    {
-        Assert.assertTrue("long expected:" + 1 + " actual:" + doc.getLongArray()[1],
-            doc.getLongArray()[1]==1);
-    }
-
-    public void test15() throws XmlException
-    {
-        Assert.assertTrue("long expected:" + 2 + " actual:" + doc.getLongArray()[2],
-            doc.getLongArray()[2]==2);
-    }
-
-    public void test16() throws XmlException
-    {
-        Assert.assertTrue(doc.getDoubleArray()[0]==1);
-    }
-
-    public void test17() throws XmlException
-    {
-        Assert.assertTrue("double expected:" + -2.007d + " actual:" + doc.getDoubleArray()[1],
-            doc.getDoubleArray()[1]==-2.007d);
-    }
-
-    public void test18() throws XmlException
-    {
-        Assert.assertTrue(new Double(Double.POSITIVE_INFINITY).
-            equals(new Double(doc.getDoubleArray()[2])));
-    }
-
-    public void test19() throws XmlException
-    {
-        Assert.assertTrue(new Double(Double.NEGATIVE_INFINITY).
-            equals(new Double(doc.getDoubleArray()[3])));
-    }
-
-    public void test20() throws XmlException
-    {
-        Assert.assertTrue(new Double(Double.NaN).
-            equals(new Double(doc.getDoubleArray()[4])));
-    }
-
-    public void test21() throws XmlException
-    {
-        Assert.assertTrue("fload expected:" + 12.325f + " actual:" + doc.getFloatArray()[0],
-            doc.getFloatArray()[0]==12.325f);
-    }
-
-    public void test22() throws XmlException
-    {
-        Assert.assertTrue(new Float(Float.NaN).
-            equals(new Float(doc.getFloatArray()[1])));
-    }
-
-    public void test23() throws XmlException
-    {
-        Assert.assertTrue("fload expected:" + Float.POSITIVE_INFINITY + " actual:" + doc.getFloatArray()[2],
-            new Float(Float.POSITIVE_INFINITY).equals(new Float(doc.getFloatArray()[2])));
-    }
-
-    public void test24() throws XmlException
-    {
-        Assert.assertTrue(new Float(Float.NEGATIVE_INFINITY).
-            equals(new Float(doc.getFloatArray()[3])));
-    }
-
-    public void test25() throws XmlException
-    {
-        Assert.assertTrue(new BigDecimal("1.001").equals(doc.getDecimalArray()[0]));
-    }
-
-    public void test26() throws XmlException
-    {
-        Assert.assertTrue(new BigInteger("1000000000").equals(doc.getIntegerArray(0)));
-    }
-}
diff --git a/v2/test/src/xmlobject/schematypes/checkin/QNameTests.java b/v2/test/src/xmlobject/schematypes/checkin/QNameTests.java
deleted file mode 100755
index 3135b56..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/QNameTests.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*   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.
- */
-
-package xmlobject.schematypes.checkin;
-
-import org.apache.xmlbeans.XmlQName;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaTypeLoader;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlAnySimpleType;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class QNameTests extends TestCase
-{
-    public QNameTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(QNameTests.class); }
-
-    static String[] _args;
-    static String _test;
-
-    public void testQName ( )
-        throws Exception
-    {
-        String schema =
-            "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\n" +
-            "" +
-            "  <xs:element name='any'>\n" +
-            "  </xs:element>\n" +
-            "" +
-            "</xs:schema>\n" +
-            "";
-
-        SchemaTypeLoader stl =
-            XmlBeans.loadXsd( new XmlObject[] {
-                XmlObject.Factory.parse(schema) } );
-
-        
-        //
-        // Test the set_XMLName function on XmlQNameImpl
-        //
-
-        String ns =
-            "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " +
-                "xmlns:xs='http://www.w3.org/2001/XMLSchema'";
-        
-        XmlObject sourceDocument =
-            stl.parse(
-                "<any " + ns + " xsi:type='xs:QName' xmlns:xxx='xxx.com'>" +
-                    "xxx:abc</any>", null, null );
-
-        XmlCursor sourceCursor = sourceDocument.newCursor();
-
-        sourceCursor.toFirstChild();
-
-        XmlQName sourceQName = (XmlQName) sourceCursor.getObject();
-
-        XmlObject targetDocument =
-            stl.parse(
-                "<any " + ns + " xsi:type='xs:QName'>" +
-                    "</any>", null, null );
-
-        XmlCursor targetCursor = targetDocument.newCursor();
-
-        targetCursor.toFirstChild();
-
-        XmlQName targetQName = (XmlQName) targetCursor.getObject();
-
-        targetQName.set( sourceQName );
-
-        Assert.assertTrue(
-            targetQName.qNameValue().getNamespaceURI().equals( "xxx.com" ) );
-
-        //
-        // Test the set_text function on XmlQNameImpl
-        //
-        
-        targetDocument =
-            stl.parse(
-                "<any " + ns + " xsi:type='xs:QName' xmlns:xxx='xxx.com'>" +
-                    "</any>", null, null );
-
-        targetCursor = targetDocument.newCursor();
-
-        targetCursor.toFirstChild();
-
-        targetQName = (XmlQName) targetCursor.getObject();
-
-        try
-        {
-            targetQName.set( "zzz:abc" );
-            
-            Assert.assertTrue( false ); // Must fail
-        }
-        catch ( Throwable t )
-        {
-        }
-        
-        targetQName.set( "xxx:abc" );
-        
-        Assert.assertTrue(
-            targetQName.qNameValue().getNamespaceURI().equals( "xxx.com" ) );
-    }
-}
diff --git a/v2/test/src/xmlobject/schematypes/checkin/SchemaTypesTests.java b/v2/test/src/xmlobject/schematypes/checkin/SchemaTypesTests.java
deleted file mode 100755
index a92a28b..0000000
--- a/v2/test/src/xmlobject/schematypes/checkin/SchemaTypesTests.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.schematypes.checkin;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlBeans;
-import org.apache.xmlbeans.XmlCalendar;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import junit.framework.TestCase;
-
-import java.util.Date;
-import java.util.Calendar;
-import java.util.GregorianCalendar;
-import java.io.InputStream;
-
-import org.openuri.xstypes.test.*;
-import org.openuri.def.DefaultsDocument;
-import org.w3.x2001.xmlSchema.SchemaDocument;
-
-import javax.xml.namespace.QName;
-
-
-import tools.util.*;
-
-public class SchemaTypesTests extends TestCase
-{
-    public SchemaTypesTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(SchemaTypesTests.class); }
-
-    private CustomerDocument doc;
-
-    private void ensureDoc()
-        throws Exception
-    {
-        if( doc==null )
-        {
-            doc = (CustomerDocument)
-                    XmlObject.Factory.parse(
-                            JarUtil.getResourceFromJarasFile("xmlcases.jar",
-                                    "xbean/xmlobject/person.xml"));
-        }
-    }
-
-    public void testDefaults() throws Throwable
-    {
-        DefaultsDocument doc = DefaultsDocument.Factory.newInstance();
-        DefaultsDocument.Defaults defs = doc.addNewDefaults();
-        Assert.assertEquals(783, defs.getCool()); // this is the default value
-    }
-
-    public void testSourceName() throws Throwable
-    {
-        String name = DefaultsDocument.type.getSourceName();
-        Assert.assertEquals("defaults.xsd", name);
-        InputStream str = XmlBeans.getContextTypeLoader().getSourceAsStream("defaults.xsd");
-        SchemaDocument doc = SchemaDocument.Factory.parse(str);
-        Assert.assertTrue(doc.validate());
-    }
-
-    public void testRead() throws Throwable
-    {
-        ensureDoc();
-
-        // Move from the root to the root customer element
-        Person person = doc.getCustomer();
-        Assert.assertEquals("Howdy", person.getFirstname());
-        Assert.assertEquals(4,   person.sizeOfNumberArray());
-        Assert.assertEquals(436, person.getNumberArray(0));
-        Assert.assertEquals(123, person.getNumberArray(1));
-        Assert.assertEquals(44,  person.getNumberArray(2));
-        Assert.assertEquals(933, person.getNumberArray(3));
-        Assert.assertEquals(2,   person.sizeOfBirthdayArray());
-        Assert.assertEquals(new XmlCalendar("1998-08-26Z"),
-             person.getBirthdayArray(0));
-        Assert.assertEquals(new XmlCalendar("2000-08-06-08:00"),
-             person.getBirthdayArray(1));
-
-        Person.Gender.Enum g = person.getGender();
-        Assert.assertEquals(Person.Gender.MALE, g);
-
-        Assert.assertEquals("EGIQTWYZJ", new String(person.getHex()));
-        Assert.assertEquals("This string is base64Binary encoded!",
-                            new String(person.getBase64()));
-
-        Assert.assertEquals("GGIQTWYGG", new String(person.getHexAtt()));
-        Assert.assertEquals("This string is base64Binary encoded!",
-                            new String(person.getBase64Att()));
-
-        Assert.assertEquals("{some_uri}localname", person.getQnameAtt().toString());
-        Assert.assertEquals("{http://openuri.org/xstypes/test}openuri_org_localname", person.getQname().toString());
-
-        Assert.assertEquals("http://dmoz.org/World/Fran\u00e7ais/", person.getAnyuriAtt().toString());
-        Assert.assertEquals("http://3space.org/space%20space/", person.getAnyuri().toString());
-
-        //RuntimeException: src/xmlstore/com/bea/xml/store/Splay.java(1537): ns != null && ns.length() > 0 failed
-        //Assert.assertEquals("JPEG", person.getNotationAtt().toString());
-        //Assert.assertEquals("GIF", person.getNotation().toString());
-    }
-
-    public void testWriteRead() throws Throwable
-    {
-        ensureDoc();
-        // Move from the root to the root customer element
-        Person person = doc.getCustomer();
-
-        person.setFirstname("George");
-        Assert.assertEquals("George", person.getFirstname());
-
-        person.setHex("hex encoding".getBytes());
-        Assert.assertEquals("hex encoding", new String(person.getHex()));
-
-        person.setBase64("base64 encoded".getBytes());
-        Assert.assertEquals("base64 encoded",
-                            new String(person.getBase64()));
-
-        person.setHexAtt("hex encoding in attributes".getBytes());
-        Assert.assertEquals("hex encoding in attributes",
-                            new String(person.getHexAtt()));
-
-        person.setBase64Att("This string is base64Binary encoded!".getBytes());
-        Assert.assertEquals("This string is base64Binary encoded!",
-                            new String(person.getBase64Att()));
-
-        person.setAnyuri("a.c:7001");
-        Assert.assertEquals("a.c:7001", person.getAnyuri());
-
-        person.setAnyuriAtt("b.d:7002");
-        Assert.assertEquals("b.d:7002", person.getAnyuriAtt());
-
-        person.setQnameAtt(new QName("aaa","bbb"));
-        Assert.assertEquals("{aaa}bbb", person.getQnameAtt().toString());
-
-        person.setQname(new QName("ddd","eee"));
-        Assert.assertEquals("{ddd}eee", person.getQname().toString());
-
-        //Exception: src/xmlstore/com/bea/xml/store/Type.java(189): user == _user failed
-//        person.setAnyuriAtt(URI.create("b.d:7002"));
-//        Assert.assertEquals("b.d:7002", person.getAnyuriAtt().toString());
-
-        //XmlNOTATION notation = (XmlNOTATION)Person.Notation.type.createNode();
-        //notation.setValue("JPEG");
-        //person.setNotation( notation );
-        //Assert.assertEquals("JPEG", person.getNotation().toString());
-
-        //XmlNOTATION notationAtt = (XmlNOTATION)Person.NotationAtt.type.createNode();
-        //notationAtt.setValue("GIF");
-        //person.setNotationAtt( notationAtt );
-        //person.setNotationAtt(notation);
-        //Assert.assertEquals("GIF", person.getNotationAtt().toString());
-    }
-
-    public void testStoreWrite() throws Throwable
-    {
-        ensureDoc();
-        // Move from the root to the root customer element
-        Person person = doc.getCustomer();
-
-        XmlObject xmlobj;
-        XmlCursor xmlcurs;
-
-        person.setFirstname("George");
-        xmlobj = person.xgetFirstname();
-        xmlcurs = xmlobj.newCursor();
-        Assert.assertEquals("George", xmlcurs.getTextValue() );
-
-        person.setQnameAtt( new QName("http://ggg.com","hhh") );
-        xmlobj = person.xgetQnameAtt();
-        xmlcurs = xmlobj.newCursor();
-        Assert.assertEquals("ggg:hhh", xmlcurs.getTextValue() );
-
-        person.setQname( new QName("http://ggg.com/gggAgain","kkk") );
-        xmlobj = person.xgetQname();
-        xmlcurs = xmlobj.newCursor();
-        Assert.assertEquals("ggg1:kkk", xmlcurs.getTextValue() );
-
-        person.setAnyuri( "crossgain.com" );
-        xmlobj = person.xgetAnyuri();
-        xmlcurs = xmlobj.newCursor();
-        Assert.assertEquals("crossgain.com", xmlcurs.getTextValue() );
-
-        person.setAnyuriAtt( "www.crossgain.com" );
-        xmlobj = person.xgetAnyuriAtt();
-        xmlcurs = xmlobj.newCursor();
-        Assert.assertEquals("www.crossgain.com", xmlcurs.getTextValue() );
-
-        //person.setNotation("GIF");
-        //xmlobj = person.getNotation();
-        //xmlcurs = xmlobj.newXmlCursor();
-        //Assert.assertEquals("GIF", xmlcurs.getText() );
-
-        //person.setNotationAtt("JPEGu");
-        //xmlobj = person.xgetNotationAtt();
-        //xmlcurs = xmlobj.newXmlCursor();
-        //Assert.assertEquals("JPEG", xmlcurs.getText() );
-    }
-}
diff --git a/v2/test/src/xmlobject/schematypes/detailed/ListAndUnionTests.java b/v2/test/src/xmlobject/schematypes/detailed/ListAndUnionTests.java
deleted file mode 100755
index 22861bf..0000000
--- a/v2/test/src/xmlobject/schematypes/detailed/ListAndUnionTests.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*   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.
- */
-package xmlobject.schematypes.detailed;
-
-import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.framework.Assert;
-import org.openuri.lut.ListsDocument;
-import org.openuri.lut.UnionsDocument;
-import org.openuri.lut.IncidentReportsDocument;
-import org.openuri.lut.DateOrDateTime;
-
-import java.util.List;
-import java.util.Arrays;
-import java.util.Calendar;
-import java.math.BigInteger;
-
-import org.apache.xmlbeans.GDate;
-import org.apache.xmlbeans.SimpleValue;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.SchemaType;
-import org.apache.xmlbeans.XmlDate;
-import org.apache.xmlbeans.XmlDateTime;
-import org.apache.xmlbeans.XmlCalendar;
-
-public class ListAndUnionTests extends TestCase
-{
-    public ListAndUnionTests(String name) { super(name); }
-    public static Test suite() { return new TestSuite(ListAndUnionTests.class); }
-
-    public void testListGetters() throws Exception
-    {
-        ListsDocument lists = ListsDocument.Factory.parse(
-                "<lut:lists xmlns:lut='http://openuri.org/lut'><lut:int-list>2 4 8 16 32</lut:int-list><lut:nni-list>unbounded 3 unbounded 6</lut:nni-list></lut:lists>");
-        List intList = lists.getLists().getIntList();
-        Assert.assertEquals(new Integer(2), intList.get(0));
-        Assert.assertEquals(new Integer(4), intList.get(1));
-        Assert.assertEquals(new Integer(8), intList.get(2));
-        Assert.assertEquals(new Integer(16), intList.get(3));
-        Assert.assertEquals(new Integer(32), intList.get(4));
-        Assert.assertEquals(5, intList.size());
-
-        List nniList = lists.getLists().getNniList();
-        Assert.assertEquals("unbounded", nniList.get(0));
-        Assert.assertEquals(BigInteger.valueOf(3), nniList.get(1));
-        Assert.assertEquals("unbounded", nniList.get(2));
-        Assert.assertEquals(BigInteger.valueOf(6), nniList.get(3));
-        Assert.assertEquals(4, nniList.size());
-    }
-
-    public void testListSetters() throws Exception
-    {
-        ListsDocument doc = ListsDocument.Factory.newInstance();
-        ListsDocument.Lists lists = doc.addNewLists();
-        lists.setIntList(Arrays.asList(new Object[] { new Integer(4), new Integer(18) }));
-        lists.setNniList(Arrays.asList(new Object[] { BigInteger.valueOf(1), BigInteger.valueOf(2), "unbounded" }));
-        String xtext = doc.xmlText();
-
-        ListsDocument docrt = ListsDocument.Factory.parse(xtext);
-        List intList = docrt.getLists().getIntList();
-        Assert.assertEquals(new Integer(4), intList.get(0));
-        Assert.assertEquals(new Integer(18), intList.get(1));
-        Assert.assertEquals(2, intList.size());
-
-        List nniList = docrt.getLists().getNniList();
-        Assert.assertEquals(BigInteger.valueOf(1), nniList.get(0));
-        Assert.assertEquals(BigInteger.valueOf(2), nniList.get(1));
-        Assert.assertEquals("unbounded", nniList.get(2));
-        Assert.assertEquals(3, nniList.size());
-    }
-
-    public void testUnionGetters() throws Exception
-    {
-        UnionsDocument unions = UnionsDocument.Factory.parse(
-                "<lut:unions xmlns:lut='http://openuri.org/lut'><lut:nni>unbounded</lut:nni><lut:sizes>2 3 5 7 11</lut:sizes></lut:unions>");
-
-        Assert.assertEquals("unbounded", unions.getUnions().getNni());
-
-        Assert.assertTrue(unions.getUnions().getSizes() instanceof List);
-        List sizes = (List)unions.getUnions().getSizes();
-        Assert.assertEquals(new Integer(2), sizes.get(0));
-        Assert.assertEquals(new Integer(3), sizes.get(1));
-        Assert.assertEquals(new Integer(5), sizes.get(2));
-        Assert.assertEquals(new Integer(7), sizes.get(3));
-        Assert.assertEquals(new Integer(11), sizes.get(4));
-        Assert.assertEquals(5, sizes.size());
-
-        UnionsDocument unions2 = UnionsDocument.Factory.parse(
-                "<lut:unions xmlns:lut='http://openuri.org/lut'><lut:nni>37</lut:nni><lut:sizes>all</lut:sizes></lut:unions>");
-
-        Assert.assertEquals(BigInteger.valueOf(37), unions2.getUnions().getNni());
-        Assert.assertEquals("all", unions2.getUnions().getSizes());
-    }
-
-    public void testUnionSetters() throws Exception
-    {
-
-        // create a document
-        UnionsDocument doc = UnionsDocument.Factory.newInstance();
-        UnionsDocument.Unions unions = doc.addNewUnions();
-        unions.setNni("unbounded");
-        unions.setSizes(Arrays.asList(new Object[] { new Integer(5), new Integer(22) }));
-
-        // round trip to s text
-        String xtext = doc.xmlText();
-        UnionsDocument docrt = UnionsDocument.Factory.parse(xtext);
-
-        // verify contents
-        Assert.assertEquals("unbounded", docrt.getUnions().getNni());
-        List sizes = (List)docrt.getUnions().getSizes();
-        Assert.assertEquals(new Integer(5), sizes.get(0));
-        Assert.assertEquals(new Integer(22), sizes.get(1));
-        Assert.assertEquals(2, sizes.size());
-
-        // change the original document
-        unions.setNni(new Integer(11));
-        unions.setSizes("unknown");
-
-        // round trip it again
-        xtext = doc.xmlText();
-        docrt = UnionsDocument.Factory.parse(xtext);
-
-        // verify contents again
-        Assert.assertEquals(BigInteger.valueOf(11), docrt.getUnions().getNni());
-        Assert.assertEquals("unknown", docrt.getUnions().getSizes());
-    }
-
-    public void testUnionArray() throws Exception
-    {
-        IncidentReportsDocument doc = IncidentReportsDocument.Factory.parse(
-                 "<lut:incident-reports xmlns:lut='http://openuri.org/lut'><lut:when>2001-08-06T03:34:00</lut:when><lut:when>2002-01-04</lut:when><lut:when>2002-08-26T23:10:00</lut:when></lut:incident-reports>");
-        IncidentReportsDocument.IncidentReports reports = doc.getIncidentReports();
-        DateOrDateTime[] dt = reports.xgetWhenArray();
-        Calendar[] gd = reports.getWhenArray();
-        Assert.assertEquals(3, dt.length);
-        Assert.assertEquals(3, gd.length);
-        for (int i = 0; i < 3; i++)
-        {
-            Assert.assertEquals(((SimpleValue)dt[i]).gDateValue(), new GDate(gd[i]));
-            Assert.assertEquals(gd[i], dt[i].objectValue());
-        }
-
-        Assert.assertEquals(new XmlCalendar("2001-08-06T03:34:00"), gd[0]);
-        Assert.assertEquals(new XmlCalendar("2002-01-04"), gd[1]);
-        Assert.assertEquals(new XmlCalendar("2002-08-26T23:10:00"), gd[2]);
-
-        Assert.assertEquals(XmlDateTime.type, dt[0].instanceType());
-        Assert.assertEquals(XmlDate.type, dt[1].instanceType());
-        Assert.assertEquals(XmlDateTime.type, dt[2].instanceType());
-
-        reports.setWhenArray(0, new XmlCalendar("1980-04-18"));
-        reports.setWhenArray(1, new XmlCalendar("1970-12-20T04:33:00"));
-
-        dt = reports.xgetWhenArray();
-        gd = reports.getWhenArray();
-
-        Assert.assertEquals(new XmlCalendar("1980-04-18"), gd[0]);
-        Assert.assertEquals(new XmlCalendar("1970-12-20T04:33:00"), gd[1]);
-        Assert.assertEquals(new XmlCalendar("2002-08-26T23:10:00"), gd[2]);
-
-        Assert.assertEquals(XmlDate.type, dt[0].instanceType());
-        Assert.assertEquals(XmlDateTime.type, dt[1].instanceType());
-        Assert.assertEquals(XmlDateTime.type, dt[2].instanceType());
-
-    }
-
-}
diff --git a/v2/test/src/xmlobject/schematypes/detailed/QNameSetTest.java b/v2/test/src/xmlobject/schematypes/detailed/QNameSetTest.java
deleted file mode 100755
index 59a56c3..0000000
--- a/v2/test/src/xmlobject/schematypes/detailed/QNameSetTest.java
+++ /dev/null
@@ -1,314 +0,0 @@
-/*   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.
- */
-
-package xmlobject.schematypes.detailed;
-
-import javax.xml.namespace.QName;
-
-import java.text.DecimalFormat;
-import java.util.Random;
-import java.util.Stack;
-
-import org.apache.xmlbeans.QNameSetBuilder;
-import org.apache.xmlbeans.QNameSetSpecification;
-import junit.framework.TestCase;
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class QNameSetTest extends TestCase
-{
-    public QNameSetTest(String name) { super(name); }
-    public static Test suite() { return new TestSuite(QNameSetTest.class); }
-
-    public static String format(int indent, int iter, String p, QNameSetBuilder set)
-    {
-        /*
-        System.err.print(new DecimalFormat("00000 ").format(iter));
-        while (indent-- > 0)
-            System.err.print(' ');
-        System.err.print(p);
-        System.err.print(" = ");
-        System.err.println(set.dump());
-        */
-
-        return "case# " + iter + " " + p + " " + set.toString();
-
-    }
-
-
-    public void testQNameSets()
-    {
-        int iterations = 10000;
-        int seed = 0;
-        int stopat = -1;
-
-        Random rnd = new Random(seed);
-        String[] localname = {"a", "b", "c", "d", "e"};
-        String[] namespace = {"n1", "n2", "n3", "n4", "n5"};
-        int width = localname.length;
-
-        QName[] name = new QName[width * namespace.length];
-        for (int i = 0; i < width; i++)
-        {
-            for (int j = 0; j < namespace.length; j++)
-            {
-                name[i + width * j] = new QName(namespace[j], localname[i]);
-            }
-        }
-
-        Stack teststack = new Stack(); // stack of sets
-        Stack trackstack = new Stack(); // stack of boolean arrays
-
-        QNameSetBuilder current = new QNameSetBuilder();
-        boolean[] contents = new boolean[width * namespace.length];
-        boolean[] temp;
-        int i = 0;
-        int j = 0;
-
-        for (int l = 0; l < iterations; l++)
-        {
-            // for debugging
-
-            if (l == stopat)
-                System.err.println("We're here");
-
-            // apply a random operation
-
-            if (rnd.nextInt(3) != 0)
-            {
-                i = rnd.nextInt(width - 1); // don't do the last one for isAll test
-                j = rnd.nextInt(namespace.length - 1); // don't do the last one for isAll test
-            }
-
-            String label;
-
-            switch (teststack.size() < 1 ? 24 : rnd.nextInt(iterations - l > teststack.size() ? 24 : 5))
-            {
-                default:
-                    teststack.push(current);
-                    trackstack.push(contents);
-                    current = new QNameSetBuilder();
-                    contents = new boolean[width * namespace.length];
-                    label = "new";
-                    break;
-
-                case 19:
-                case 20:
-                case 22:
-                    teststack.push(current);
-                    trackstack.push(contents);
-                    current = new QNameSetBuilder();
-                    contents = new boolean[width * namespace.length];
-
-                    if (rnd.nextInt(2) == 0)
-                    {
-                        current.invert();
-                        for (int k = 0; k < width; k++)
-                        {
-                            contents[k + width * (namespace.length - 1)] = true;
-                        }
-                    }
-
-                    for (int h = 0; h < namespace.length - 1; h++)
-                    {
-                        if (rnd.nextInt(2) == 0)
-                            current.removeNamespace(namespace[h]);
-                        else
-                        {
-                            current.addNamespace(namespace[h]);
-                            contents[width - 1 + width * h] = true;
-                        }
-                        for (int k = 0; k < width - 1; k++)
-                        {
-                            if (rnd.nextInt(2) == 0)
-                                current.remove(name[k + width * h]);
-                            else
-                            {
-                                current.add(name[k + width * h]);
-                                contents[k + width * h] = true;
-                            }
-                        }
-                    }
-                    label = "random";
-                    break;
-
-                case 0:
-                    current.addAll((QNameSetSpecification)teststack.pop());
-                    temp = (boolean[])trackstack.pop();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        if (temp[k])
-                            contents[k] = true;
-                    label = "add set";
-                    break;
-
-                case 1:
-                    current.removeAll((QNameSetSpecification)teststack.pop());
-                    temp = (boolean[])trackstack.pop();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        if (temp[k])
-                            contents[k] = false;
-                    label = "remove set";
-                    break;
-
-                case 2:
-                    current.restrict((QNameSetSpecification)teststack.pop());
-                    temp = (boolean[])trackstack.pop();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        if (!temp[k])
-                            contents[k] = false;
-                    label = "restrict set";
-                    break;
-
-                case 3:
-                    label = "union";
-                    current = new QNameSetBuilder(current.union((QNameSetSpecification)teststack.pop()));
-                    temp = (boolean[])trackstack.pop();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        if (temp[k])
-                            contents[k] = true;
-                    label = "union";
-                    break;
-
-                case 4:
-                    label = "intersect";
-                    current = new QNameSetBuilder(current.intersect((QNameSetSpecification)teststack.pop()));
-                    temp = (boolean[])trackstack.pop();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        if (!temp[k])
-                            contents[k] = false;
-                    label = "intersect";
-                    break;
-
-                case 5:
-                    current = new QNameSetBuilder(current);
-                    label = "copy";
-                    break;
-
-                case 6:
-                case 7:
-                case 8:
-                    current.add(name[i + width * j]);
-                    contents[i + width * j] = true;
-                    label = "add one " + name[i + width * j];
-                    break;
-
-                case 9:
-                case 10:
-                case 11:
-                    current.remove(name[i + width * j]);
-                    contents[i + width * j] = false;
-                    label = "remove one " + name[i + width * j];
-                    break;
-
-                case 12:
-                case 13:
-                    current.addNamespace(namespace[j]);
-                    for (int k = 0; k < width; k++)
-                        contents[k + width * j] = true;
-                    label = "add namespace " + namespace[j];
-                    break;
-
-                case 14:
-                case 15:
-                    current.removeNamespace(namespace[j]);
-                    for (int k = 0; k < width; k++)
-                        contents[k + width * j] = false;
-                    label = "remove namespace " + namespace[j];
-                    break;
-
-                case 16:
-                case 17:
-                    current.invert();
-                    for (int k = 0; k < width * namespace.length; k++)
-                        contents[k] = !contents[k];
-                    label = "invert";
-                    break;
-
-                case 18:
-                    current = new QNameSetBuilder(current.inverse());
-                    for (int k = 0; k < width * namespace.length; k++)
-                        contents[k] = !contents[k];
-                    label = "inverse";
-                    break;
-
-            }
-
-            // System.out.println(format(teststack.size(), l, label, current));
-
-            // then, verify current matches contents
-            int count = 0;
-            for (int k = 0; k < width * namespace.length; k++)
-            {
-                Assert.assertTrue(format(0, l, "Content mismatch " + name[k], current), (current.contains(name[k]) == contents[k]));
-                {
-                    // testprint(0, l, "ERROR ON " + name[k], current);
-                    // testprint(0, l, "expected " + contents[k] + ", got " + !contents[k], current);
-                    // System.exit(1);
-                }
-                if (contents[k])
-                    count++;
-            }
-
-            Assert.assertTrue(format(0, l, "ERROR: isEmpty is wrong", current), ((count == 0) == current.isEmpty()));
-            {
-                // testprint(0, l, "ERROR: isEmpty is wrong", current);
-                // testprint(0, l, "expected " + (count == 0) + ", got " + !(count == 0), current);
-                // System.exit(1);
-            }
-
-            Assert.assertTrue(format(0, l, "ERROR: isAll is wrong", current), (count == width * namespace.length) == current.isAll());
-            {
-                // testprint(0, l, "ERROR: isAll is wrong", current);
-                // testprint(0, l, "expected " + (count == width * namespace.length) + ", got " + !(count == width * namespace.length), current);
-                // System.exit(1);
-            }
-
-            // test isDisjoint and containsAll
-            if (teststack.size() >= 1)
-            {
-                boolean disjoint = true;
-                temp = (boolean[])trackstack.peek();
-                for (int k = 0; k < width * namespace.length; k++)
-                {
-                    if (temp[k] && contents[k])
-                    {
-                        disjoint = false;
-                        break;
-                    }
-                }
-                Assert.assertTrue(format(0, l, "ERROR: disjoint is wrong", current), disjoint == current.isDisjoint((QNameSetSpecification)teststack.peek()));
-                {
-                    // testprint(0, l, "ERROR: disjoint is wrong", current);
-                    // testprint(0, l, "expected " + disjoint + ", got " + !disjoint, (QNameSetBuilder)teststack.peek());
-                    // System.exit(1);
-                }
-                
-                
-                boolean containsAll = true;
-                for (int k = 0; k < width * namespace.length; k++)
-                {
-                    if (temp[k] && !contents[k])
-                    {
-                        containsAll = false;
-                        break;
-                    }
-                }
-                Assert.assertTrue(format(0, l, "ERROR: containsAll is wrong", current), containsAll == current.containsAll((QNameSetSpecification)teststack.peek()));
-            }
-            
-        }
-    }
-}
diff --git a/v2/test/src/xmlobject/xmlloader/detailed/ParseTest.java b/v2/test/src/xmlobject/xmlloader/detailed/ParseTest.java
deleted file mode 100755
index 75d45e8..0000000
--- a/v2/test/src/xmlobject/xmlloader/detailed/ParseTest.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*   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.
- */
-
-package xmlobject.xmlloader.detailed;
-
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import xmlcursor.common.BasicCursorTestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import javax.xml.namespace.QName;
-import java.util.Vector;
-
-public class ParseTest extends BasicCursorTestCase {
-    private XmlOptions m_map = new XmlOptions();
-
-    public ParseTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(ParseTest.class);
-    }
-
-    public void testLoadStripWhitespace() throws Exception {
-        m_map.put(XmlOptions.LOAD_STRIP_WHITESPACE, "");
-        m_xo = XmlObject.Factory.parse("<foo>01234   <bar>text</bar>   chars \r\n</foo>  ",
-                                       m_map);
-        m_xc = m_xo.newCursor();
-        assertEquals("<foo>01234<bar>text</bar>chars</foo>", m_xc.xmlText());
-    }
-
-    public void testLoadDiscardDocumentElement() throws Exception {
-        QName name = new QName("");
-
-        m_map.put(XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT, name);
-        System.out.println("here");
-
-        try {
-            m_xo = XmlObject.Factory.parse("<foo>01234   <bar>text</bar>   chars </foo>  ",
-                                           m_map);
-        } catch (IllegalArgumentException e) {
-        }
-
-    }
-
-    public void testPrefixNotDefined() throws Exception {
-        String sXml = "<Person xmlns=\"person\"><pre1:Name>steve</pre1:Name></Person>";
-        try {
-            XmlObject.Factory.parse(sXml);
-            fail("Expected XmlException");
-        } catch (org.apache.xmlbeans.XmlException e) {
-        }
-    }
-
-    public void testErrorListener() throws Exception {
-        Vector vErrors = new Vector();
-        m_map.setErrorListener(vErrors);
-        try {
-            m_xo = XmlObject.Factory.parse("<foo>text<foo>", m_map);  // improper end tag
-            fail("Expected parsing exception!");
-        } catch (org.apache.xmlbeans.XmlException xe) {
-
-        }
-    }
-
-
-}
-
diff --git a/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderBvtTest.java b/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderBvtTest.java
deleted file mode 100755
index d9b1f4f..0000000
--- a/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderBvtTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*   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.
- */
-
-package xmlobject.xmlloader.detailed;
-
-import org.apache.xmlbeans.XmlObject;
-import tools.util.JarUtil;
-import tools.util.ResourceUtil;
-import tools.util.Util;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.tranxml.tranXML.version40.*;
-
-
-
-public class XmlLoaderBvtTest extends BasicCursorTestCase {
-    public XmlLoaderBvtTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XmlLoaderBvtTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testCastDocument() throws Exception {
-
-        CarLocationMessageDocument clm =
-                (CarLocationMessageDocument) XmlObject.Factory.parse(
-                           JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-
-        assertNotNull(clm);
-    }
-
-}
-
diff --git a/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderMiscTest.java b/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderMiscTest.java
deleted file mode 100755
index d2b49af..0000000
--- a/v2/test/src/xmlobject/xmlloader/detailed/XmlLoaderMiscTest.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*   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.
- */
-
-
-package xmlobject.xmlloader.detailed;
-
-import org.apache.xmlbeans.*;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import tools.util.JarUtil;
-import tools.util.Util;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.tranxml.tranXML.version40.CarLocationMessageDocument;
-import org.tranxml.tranXML.version40.GeographicLocationDocument.GeographicLocation;
-
-import javax.xml.namespace.QName;
-import java.util.Collections;
-import java.util.Set;
-import java.util.TreeSet;
-import java.util.Vector;
-
-
-public class XmlLoaderMiscTest extends BasicCursorTestCase {
-    public XmlLoaderMiscTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XmlLoaderMiscTest.class);
-    }
-
-    public void testClassPath() throws Exception {
-        String sClassPath = System.getProperty("java.class.path");
-        int i = sClassPath.indexOf(Common.CARLOCATIONMESSAGE_JAR);
-        assertTrue(i >= 0);
-    }
-
-    public void testNewInstance() throws Exception {
-        m_xo = XmlObject.Factory.newInstance();
-        m_xc = m_xo.newCursor();
-        assertEquals(TokenType.STARTDOC, m_xc.currentTokenType());
-        m_xc.toNextToken();
-        assertEquals(TokenType.ENDDOC, m_xc.currentTokenType());
-    }
-
-    public void testTypeForClass() throws Exception {
-        m_xc = XmlObject.Factory.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM)).newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//GeographicLocation");
-        m_xc.toNextSelection();
-        GeographicLocation gl = (GeographicLocation) m_xc.getObject();
-        assertNotNull(gl.schemaType());
-        assertEquals(gl.schemaType(), XmlBeans.typeForClass(GeographicLocation.class));
-    }
-
-    public void testGetBuiltInTypeSystem() throws Exception {
-        SchemaTypeSystem sts = XmlBeans.getBuiltinTypeSystem();
-        if (sts == null) {
-            fail("XmlBeans.getBuiltinTypeSystem() returned null");
-        }
-        String sSchemaURI = "http://www.w3.org/2001/XMLSchema";
-        QName name = new QName(sSchemaURI, "dateTime");
-        SchemaType stDateTime = sts.findType(name);
-        assertEquals(14, stDateTime.getBuiltinTypeCode());
-    }
-
-    public void testTypeLoaderUnion() throws Exception {
-        System.out.println("testTypeLoaderUnion not implemented");
-        // TODO
-    }
-
-    public void testTypeLoaderForClassLoader() throws Exception {
-
-        SchemaTypeLoader stl = XmlBeans.typeLoaderForClassLoader(CarLocationMessageDocument.class.getClassLoader());
-        if (stl == null)
-            fail("typeLoaderForClassLoader failed with CarLocationMessageDocument.class");
-        m_xo = stl.parse(JarUtil.getResourceFromJar(Common.XMLCASES_JAR, Common.TRANXML_FILE_CLM), null, null);
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//FleetID");
-        m_xc.toNextSelection();
-        assertEquals("FLEETNAME", m_xc.getTextValue());
-    }
-
-    public void testGetContextTypeLoader() throws Exception {
-        SchemaTypeLoader stl = XmlBeans.getContextTypeLoader();
-        if (stl == null)
-            fail("getContextTypeLoader failed");
-
-        Vector vThreads = new Vector();
-        Set STLset = Collections.synchronizedSortedSet(new TreeSet());
-        for (int i = 0; i < 10; i++) {
-            Thread t = new BogusThread(STLset);
-            vThreads.add(t);
-            t.start();
-        }
-        for (int i = 0; i < 10; i++) {
-            ((BogusThread) vThreads.elementAt(i)).join();
-        }
-        // each thread should create a unique type loader.
-        // so count of objects in set should be 10
-        assertEquals(10, STLset.size());
-    }
-
-
-    public class BogusThread extends Thread {
-        private Set set;
-
-        public BogusThread(Set set) {
-            this.set = set;
-        }
-
-        public void run() {
-            String s = XmlBeans.getContextTypeLoader().toString();
-            System.out.println(s);
-            set.add(s);
-        }
-    }
-}
-
diff --git a/v2/test/src/xmltokensource/detailed/NewDomNodeTest.java b/v2/test/src/xmltokensource/detailed/NewDomNodeTest.java
deleted file mode 100755
index f29ebf9..0000000
--- a/v2/test/src/xmltokensource/detailed/NewDomNodeTest.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*   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.
- */
-
-
-package xmltokensource.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import xmlcursor.common.BasicCursorTestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-
-public class NewDomNodeTest extends BasicCursorTestCase {
-    public static final String DOC_FRAGMENT = "#document-fragment";
-    public static final String DOC = "#document";
-    private XmlOptions m_map = new XmlOptions();
-
-    public NewDomNodeTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(NewDomNodeTest.class);
-    }
-
-    public void testNewDomNode() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo>01234   <bar>text</bar>   chars </foo>");
-        Node doc = m_xo.newDomNode();
-        assertEquals(DOC, doc.getNodeName());
-        NodeList nl = doc.getChildNodes();
-        assertEquals(1, nl.getLength());
-        Node node = nl.item(0);
-        assertEquals(Node.ELEMENT_NODE, node.getNodeType());
-        assertEquals("foo", node.getLocalName());
-        nl = node.getChildNodes();
-        assertEquals(3, nl.getLength());
-        node = nl.item(0);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("01234   ", node.getNodeValue());
-        node = nl.item(1);
-        assertEquals(Node.ELEMENT_NODE, node.getNodeType());
-        assertEquals("bar", node.getLocalName());
-        node = nl.item(2);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("   chars ", node.getNodeValue());
-        // dive into bar
-        nl = nl.item(1).getChildNodes();
-        assertEquals(1, nl.getLength());
-        node = nl.item(0);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("text", node.getNodeValue());
-    }
-
-    public void testNewDomNodeWithNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo xmlns=\"ns\">01234   <bar>text</bar>   chars </foo>");
-        Node doc = m_xo.newDomNode();
-        assertNotNull(doc);
-        assertEquals(DOC, doc.getNodeName());
-    }
-
-    public void testNewDomNodeWithOptions() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo attr=\"val\" xmlns=\"ns\">01234   <bar>text</bar>   chars </foo>");
-        XmlOptions map = new XmlOptions();
-        map.put(XmlOptions.LOAD_STRIP_WHITESPACE, "");
-        map.put(XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT, "");
-        map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-        Node doc = m_xo.newDomNode(map);
-        assertEquals(DOC, doc.getNodeName());
-        NodeList nl = doc.getChildNodes();
-        assertEquals(1, nl.getLength());
-        Node node = nl.item(0);
-        assertEquals(Node.ELEMENT_NODE, node.getNodeType());
-        assertEquals("foo", node.getLocalName());
-        nl = node.getChildNodes();
-        assertEquals(3, nl.getLength());
-        node = nl.item(0);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("01234   ", node.getNodeValue());
-        node = nl.item(1);
-        assertEquals(Node.ELEMENT_NODE, node.getNodeType());
-        assertEquals("bar", node.getLocalName());
-        node = nl.item(2);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("   chars ", node.getNodeValue());
-        // dive into bar
-        nl = nl.item(1).getChildNodes();
-        assertEquals(1, nl.getLength());
-        node = nl.item(0);
-        assertEquals(Node.TEXT_NODE, node.getNodeType());
-        assertEquals("text", node.getNodeValue());
-    }
-
-    public void testNewDomNodeRoundTrip() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo>01234   <bar>text</bar>   chars </foo>");
-        Node doc = m_xo.newDomNode();
-        assertNotNull(doc);
-        XmlObject xo = XmlObject.Factory.parse(doc);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-}
-
diff --git a/v2/test/src/xmltokensource/detailed/PrettyPrintNamespaceTest.java b/v2/test/src/xmltokensource/detailed/PrettyPrintNamespaceTest.java
deleted file mode 100755
index 3bc7e2a..0000000
--- a/v2/test/src/xmltokensource/detailed/PrettyPrintNamespaceTest.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*   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.
- */
-
-package xmltokensource.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import com.mtest.SubInfo;
-import com.mtest.TestDocument;
-import junit.framework.TestCase;
-
-
-public class PrettyPrintNamespaceTest extends TestCase {
-
-    public PrettyPrintNamespaceTest(String name) {
-        super(name);
-    }
-
-    public void testWithNewInstance()
-            throws Exception {
-        XmlObject x = XmlObject.Factory.newInstance();
-        XmlCursor c = x.newCursor();
-
-        c.toNextToken();
-        c.beginElement("a", "aaaa");
-        c.insertAttribute("a", "aaaa");
-        c.insertNamespace("", "aaaa");
-
-        String str = "<aaaa:a aaaa:a=\"\" xmlns=\"aaaa\" xmlns:aaaa=\"aaaa\"/>";
-
-        assertTrue("XmlText() Failed.", x.xmlText().equals(str));
-        assertTrue("toString() Failed.", x.toString().trim().equals(str));
-    }
-
-
-    public void testWithInstanceFromSchema()
-            throws Exception {
-        String xml = "<mt:Test xmlns:mt=\"http://www.mtest.com\"> <mt:desc/> </mt:Test>";
-        TestDocument doc = TestDocument.Factory.parse(xml);
-        SubInfo subInfo = SubInfo.Factory.newInstance();
-        subInfo.setDesc("hi");
-        subInfo.setSubdesc("there");
-        doc.setTest(subInfo);
-        String lnSep = System.getProperty("line.separator");
-        String str1 = "<mtes:Test xsi:type=\"mtes:SubInfo\" xmlns:mtes=\"http://www.mtest.com\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">" + lnSep +
-                "  <mtes:desc>hi</mtes:desc>" + lnSep +
-                "  <mtes:subdesc>there</mtes:subdesc>" + lnSep +
-                "</mtes:Test>";
-        String str2 = "<mtes:Test xsi:type=\"mtes:SubInfo\" xmlns:mtes=\"http://www.mtest.com\" " +
-                "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">" +
-                "<mtes:desc>hi</mtes:desc>" +
-                "<mtes:subdesc>there</mtes:subdesc>" +
-                "</mtes:Test>";
-
-        //System.out.println(doc.xmlText());
-        assertTrue("XmlText() Failed.", doc.xmlText().equals(str2));
-        assertTrue("toString() Failed.", doc.toString().trim().equals(str1));
-
-    }
-}
\ No newline at end of file
diff --git a/v2/test/src/xmltokensource/detailed/RoundTripLoaderTest.java b/v2/test/src/xmltokensource/detailed/RoundTripLoaderTest.java
deleted file mode 100755
index baf8bcc..0000000
--- a/v2/test/src/xmltokensource/detailed/RoundTripLoaderTest.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*   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.
- */
-
-
-package xmltokensource.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.w3c.dom.Node;
-import org.apache.xmlbeans.xml.stream.XMLInputStream;
-
-import java.io.InputStream;
-import java.io.Reader;
-
-
-public class RoundTripLoaderTest extends BasicCursorTestCase {
-    public static final String DOC_FRAGMENT = "#document-fragment";
-    private XmlOptions m_map = new XmlOptions();
-
-    public RoundTripLoaderTest(String sName) {
-        super(sName);
-        m_map.put(XmlOptions.CHARACTER_ENCODING, "Big5");
-        m_map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-    }
-
-    public static Test suite() {
-        return new TestSuite(RoundTripLoaderTest.class);
-    }
-
-    private void _newDomNodeRoundTrip(XmlOptions map) throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        Node doc = m_xo.newDomNode(map);
-        assertNotNull(doc);
-        XmlObject xo = XmlObject.Factory.parse(doc, map);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testNewDomNodeRoundTrip() throws Exception {
-        _newDomNodeRoundTrip(null);
-    }
-
-    public void testNewDomNodeWithOptionsRoundTrip() throws Exception {
-        _newDomNodeRoundTrip(m_map);
-    }
-
-    private void _newInputStreamRoundTrip(XmlOptions map) throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        InputStream is = m_xo.newInputStream(map);
-        assertNotNull(is);
-        XmlOptions options = new XmlOptions(map);
-        XmlObject xo = XmlObject.Factory.parse(is, options);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testNewInputStreamRoundTrip() throws Exception {
-        _newInputStreamRoundTrip(null);
-    }
-
-    public void testNewInputStreamWithOptionsRoundTrip() throws Exception {
-        _newInputStreamRoundTrip(m_map);
-    }
-
-    private void _newReaderRoundTrip(XmlOptions map) throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        Reader reader = m_xo.newReader(map);
-        assertNotNull(reader);
-        XmlOptions options = new XmlOptions(map);
-        XmlObject xo = XmlObject.Factory.parse(reader, options);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testNewReaderRoundTrip() throws Exception {
-        _newReaderRoundTrip(null);
-    }
-
-    public void testNewReaderWithOptionsRoundTrip() throws Exception {
-        _newReaderRoundTrip(m_map);
-    }
-
-    private void _newXMLInputStreamRoundTrip(XmlOptions map) throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        XMLInputStream xmlIs = m_xo.newXMLInputStream(map);
-        assertNotNull(xmlIs);
-        XmlObject xo = XmlObject.Factory.parse(xmlIs, map);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testNewXMLInputStreamRoundTrip() throws Exception {
-        _newXMLInputStreamRoundTrip(null);
-    }
-
-    public void testNewXMLInputStreamWithOptionsRoundTrip() throws Exception {
-        _newXMLInputStreamRoundTrip(m_map);
-    }
-
-    private void _xmlTextRoundTrip(XmlOptions map) throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_BAR_NESTED_SIBLINGS);
-        String sXml = m_xo.xmlText(map);
-        assertNotNull(sXml);
-        XmlOptions options = new XmlOptions(map);
-        XmlObject xo = XmlObject.Factory.parse(sXml, options);
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = xo.newCursor();
-        try {
-            compareDocTokens(m_xc, xc1);
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testXmlTextRoundTrip() throws Exception {
-        _xmlTextRoundTrip(null);
-    }
-
-    public void testXmlTextWithOptionsRoundTrip() throws Exception {
-        _xmlTextRoundTrip(m_map);
-    }
-
-
-}
-
diff --git a/v2/test/src/xmltokensource/detailed/XmlTextTest.java b/v2/test/src/xmltokensource/detailed/XmlTextTest.java
deleted file mode 100755
index e636abe..0000000
--- a/v2/test/src/xmltokensource/detailed/XmlTextTest.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*   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.
- */
-
-
-package xmltokensource.detailed;
-
-import org.apache.xmlbeans.XmlCursor;
-import org.apache.xmlbeans.XmlCursor.TokenType;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import xmlcursor.common.BasicCursorTestCase;
-import xmlcursor.common.Common;
-import tools.util.JarUtil;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import javax.xml.namespace.QName;
-
-
-
-public class XmlTextTest extends BasicCursorTestCase {
-    private XmlOptions m_map = new XmlOptions();
-
-    public XmlTextTest(String sName) {
-        super(sName);
-    }
-
-    public static Test suite() {
-        return new TestSuite(XmlTextTest.class);
-    }
-
-    public void testSAVENAMESPACESFIRST() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"http://www.foo.org\">01234</foo>");
-        m_xc = m_xo.newCursor();
-        m_map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-        assertEquals("<foo xmlns=\"http://www.foo.org\" attr0=\"val0\">01234</foo>",
-                     m_xc.xmlText(m_map));
-    }
-
-    public void testSAVENAMESPACESlast() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo attr0=\"val0\" xmlns=\"http://www.foo.org\">01234</foo>");
-        m_xc = m_xo.newCursor();
-        assertEquals("<foo attr0=\"val0\" xmlns=\"http://www.foo.org\">01234</foo>",
-                     m_xc.xmlText(m_map));
-    }
-
-    public void testSaveSyntheticDocumentElement() throws Exception {
-        m_xo = XmlObject.Factory.parse("<bar>text</bar>");
-        m_xc = m_xo.newCursor();
-        m_map.put(XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT,
-                  new QName("foo"));
-        assertEquals("<foo><bar>text</bar></foo>", m_xc.xmlText(m_map));
-    }
-
-    public void testSavePrettyPrint() throws Exception {
-        m_xo = XmlObject.Factory.parse("<a><b><c> text </c></b></a>");
-        m_xc = m_xo.newCursor();
-        m_map.put(XmlOptions.SAVE_PRETTY_PRINT, "");
-        String lnSep = System.getProperty("line.separator");
-        assertEquals("<a>" + lnSep + "  <b>" + lnSep + "    <c>text</c>" + lnSep + "  </b>" + lnSep + "</a>" + lnSep + "", m_xc.xmlText(m_map));
-    }
-
-    public void testSavePrettyPrintIndent3() throws Exception {
-        m_xo = XmlObject.Factory.parse("<a><b><c> text </c></b></a>");
-        m_xc = m_xo.newCursor();
-        m_map.put(XmlOptions.SAVE_PRETTY_PRINT, "");
-        m_map.put(XmlOptions.SAVE_PRETTY_PRINT_INDENT, new Integer(3));
-        String lnSep = System.getProperty("line.separator");
-        assertEquals("<a>" + lnSep + "   <b>" + lnSep + "      <c>text</c>" + lnSep + "   </b>" + lnSep + "</a>" + lnSep + "", m_xc.xmlText(m_map));
-    }
-
-    public void testSavePrettyPrintIndentNeg1() throws Exception {
-        m_xc = XmlObject.Factory.parse("<a>  \n  <b>  \n    <c> text   </c>   \n  </b>  \n  </a>").newCursor();
-        m_map.put(XmlOptions.SAVE_PRETTY_PRINT, "");
-        m_map.put(XmlOptions.SAVE_PRETTY_PRINT_INDENT, new Integer(-1));
-        assertEquals("<a><b><c>text</c></b></a>", m_xc.xmlText(m_map));
-    }
-
-    public void testDefaultNamespace() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        m_xc.selectPath(Common.CLM_NS_XQUERY_DEFAULT + "$this//FleetID");
-        m_xc.toNextSelection();
-        m_map.put(XmlOptions.SAVE_NAMESPACES_FIRST, "");
-        assertEquals("<FleetID xmlns=\"" + Common.CLM_NS + "\" " +
-                     Common.CLM_XSI_NS +
-                     ">FLEETNAME</FleetID>",
-                     m_xc.xmlText(m_map));
-    }
-
-    public void testSTARTDOCvsFirstChild() throws Exception {
-        m_xo = XmlObject.Factory.parse(
-                   JarUtil.getResourceFromJar(Common.XMLCASES_JAR,
-                        Common.TRANXML_FILE_CLM));
-        m_xc = m_xo.newCursor();
-        XmlCursor xc1 = m_xo.newCursor();
-        xc1.toFirstChild();
-        try {
-            assertEquals(m_xc.xmlText(), xc1.xmlText());
-        } finally {
-            xc1.dispose();
-        }
-    }
-
-    public void testXmlTextFromTEXT() throws Exception {
-        m_xo = XmlObject.Factory.parse(Common.XML_FOO_1ATTR_TEXT);
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals("text", m_xc.getChars());
-    }
-
-    public void testXmlTextFromTEXTafterEND() throws Exception {
-        m_xo = XmlObject.Factory.parse("<foo><bar> text </bar> ws \\r\\n </foo>");
-        m_xc = m_xo.newCursor();
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        toNextTokenOfType(m_xc, TokenType.TEXT);
-        assertEquals(" ws \\r\\n ", m_xc.getChars());
-    }
-}
-
diff --git a/v2/test/tools/lib/JWhich.jar b/v2/test/tools/lib/JWhich.jar
deleted file mode 100755
index 9920f28..0000000
--- a/v2/test/tools/lib/JWhich.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/ant-ext/ant-contrib-0.6.jar b/v2/test/tools/lib/ant-ext/ant-contrib-0.6.jar
deleted file mode 100755
index fd5b687..0000000
--- a/v2/test/tools/lib/ant-ext/ant-contrib-0.6.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/ant-ext/antexts.jar b/v2/test/tools/lib/ant-ext/antexts.jar
deleted file mode 100755
index d0e0c6a..0000000
--- a/v2/test/tools/lib/ant-ext/antexts.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/junit.jar b/v2/test/tools/lib/junit.jar
deleted file mode 100755
index 674d71e..0000000
--- a/v2/test/tools/lib/junit.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/xerces-2.5.0.jar b/v2/test/tools/lib/xerces-2.5.0.jar
deleted file mode 100755
index 99cc23f..0000000
--- a/v2/test/tools/lib/xerces-2.5.0.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/xerces1.4.4.jar b/v2/test/tools/lib/xerces1.4.4.jar
deleted file mode 100755
index 7410f0c..0000000
--- a/v2/test/tools/lib/xerces1.4.4.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/xsl/TestReport.xsd b/v2/test/tools/lib/xsl/TestReport.xsd
deleted file mode 100755
index b11cce9..0000000
--- a/v2/test/tools/lib/xsl/TestReport.xsd
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

-    <xs:complexType name="environmentType">

-        <xs:sequence>

-            <xs:element name="env-attribute" maxOccurs="unbounded">

-                <xs:complexType>

-                    <xs:attribute name="name" type="xs:string" use="required"/>

-                    <xs:attribute name="value" type="xs:string" use="required"/>

-                </xs:complexType>

-            </xs:element>

-        </xs:sequence>

-        <xs:attribute name="hosttype" type="xs:string"/>

-        <xs:attribute name="primary" default="TRUE">

-            <xs:simpleType>

-                <xs:restriction base="xs:NMTOKEN">

-                    <xs:enumeration value="TRUE"/>

-                    <xs:enumeration value="FALSE"/>

-                </xs:restriction>

-            </xs:simpleType>

-        </xs:attribute>

-    </xs:complexType>

-    <xs:element name="test-result-container">

-        <xs:complexType>

-            <xs:sequence maxOccurs="unbounded">

-                <xs:element name="test-result" type="test-result-type"/>

-            </xs:sequence>

-        </xs:complexType>

-    </xs:element>

-    <xs:element name="test-log">

-        <xs:complexType>

-            <xs:sequence>

-                <xs:element name="environment" type="environmentType" minOccurs="0"/>

-                <xs:element name="header-info">

-                    <xs:complexType>

-                        <xs:attribute name="checksum" type="xs:string"/>

-                        <xs:attribute name="resultcount" type="xs:string"/>

-                        <xs:attribute name="execaccount" type="xs:string" use="required"/>

-                        <xs:attribute name="execdate" type="xs:string" use="required"/>

-                        <xs:attribute name="harnesstype" type="xs:string" use="required"/>

-                        <xs:attribute name="testruntype" type="xs:string"/>

-                    </xs:complexType>

-                </xs:element>

-                <xs:element name="harness-info" minOccurs="0">

-                    <xs:complexType>

-                        <xs:attribute name="processconfig" type="xs:string"/>

-                    </xs:complexType>

-                </xs:element>

-                <xs:element name="test-result" type="test-result-type" maxOccurs="unbounded"/>

-            </xs:sequence>

-            <xs:attribute name="runid" type="xs:string" use="required"/>

-            <xs:attribute name="testtype" use="required">

-                <xs:simpleType>

-                    <xs:restriction base="xs:NMTOKEN">

-                        <xs:enumeration value="AUTOMATED"/>

-                        <xs:enumeration value="MANUAL"/>

-                    </xs:restriction>

-                </xs:simpleType>

-            </xs:attribute>

-            <xs:attribute name="release" type="xs:string" use="required"/>

-            <xs:attribute name="branch" type="xs:string"/>

-            <xs:attribute name="hostname" type="xs:string"/>

-        </xs:complexType>

-    </xs:element>

-    <xs:complexType name="test-result-type">

-        <xs:sequence>

-            <xs:element name="test-case">

-                <xs:complexType>

-                    <xs:sequence>

-                        <xs:element name="description" type="xs:string" minOccurs="0"/>

-                    </xs:sequence>

-                    <xs:attribute name="testcasename" type="xs:string" use="required"/>

-                    <xs:attribute name="testunit" type="xs:string"/>

-                    <xs:attribute name="testpath" type="xs:string"/>

-                    <xs:attribute name="testowner" type="xs:string"/>

-                </xs:complexType>

-            </xs:element>

-            <xs:element name="environment" type="environmentType" minOccurs="0" maxOccurs="unbounded"/>

-            <xs:element name="test-parameters" type="xs:string" minOccurs="0"/>

-            <xs:element name="execution-output" minOccurs="0">

-                <xs:complexType>

-                    <xs:sequence>

-                        <xs:element name="output-details" type="xs:string" minOccurs="0"/>

-                    </xs:sequence>

-                    <xs:attribute name="errorname" type="xs:string"/>

-                </xs:complexType>

-            </xs:element>

-        </xs:sequence>

-        <xs:attribute name="exectime" type="xs:string" use="required"/>

-        <xs:attribute name="duration" type="xs:string"/>

-        <xs:attribute name="result" use="required">

-            <xs:simpleType>

-                <xs:restriction base="xs:NMTOKEN">

-                    <xs:enumeration value="TIMEOUT"/>

-                    <xs:enumeration value="ABORT"/>

-                    <xs:enumeration value="FRAMEABORT"/>

-                    <xs:enumeration value="SKIP"/>

-                    <xs:enumeration value="FAILURE"/>

-                    <xs:enumeration value="SUCCESS"/>

-                    <xs:enumeration value="TEST_NOT_FOUND"/>

-                </xs:restriction>

-            </xs:simpleType>

-        </xs:attribute>

-        <xs:attribute name="isdone" default="TRUE">

-            <xs:simpleType>

-                <xs:restriction base="xs:NMTOKEN">

-                    <xs:enumeration value="TRUE"/>

-                    <xs:enumeration value="FALSE"/>

-                </xs:restriction>

-            </xs:simpleType>

-        </xs:attribute>

-        <xs:attribute name="logicalname" type="xs:string"/>

-    </xs:complexType>

-</xs:schema>

diff --git a/v2/test/tools/lib/xsl/TestReport.xsd.jar b/v2/test/tools/lib/xsl/TestReport.xsd.jar
deleted file mode 100755
index e839bf4..0000000
--- a/v2/test/tools/lib/xsl/TestReport.xsd.jar
+++ /dev/null
Binary files differ
diff --git a/v2/test/tools/lib/xsl/TestReport.xsl b/v2/test/tools/lib/xsl/TestReport.xsl
deleted file mode 100755
index ed48161..0000000
--- a/v2/test/tools/lib/xsl/TestReport.xsl
+++ /dev/null
@@ -1,1957 +0,0 @@
-<?xml version="1.0"?>

-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="java" xmlns:weblogic="weblogic">

-	<!-- global param -->

-	<xsl:param name="instrument">0</xsl:param>

-	<xsl:param name="showFeatureInfo">0</xsl:param>

-	<xsl:param name="filebasename">myrun</xsl:param>

-	<xsl:param name="feature">NONE</xsl:param>

-	<xsl:param name="gtlfFileName">myrun.gtlf.xml</xsl:param>

-	<xsl:param name="cssFile">junit.css</xsl:param>

-	<xsl:param name="showSuccessInErrorSummary">0</xsl:param>

-	<xsl:param name="reportSectionOrder">result-focus</xsl:param>

-	<xsl:param name="showTheFilters">1</xsl:param>

-

-  <!-- controls the sections that should be part of the diff report

-  

-  The user can specify a comma separated list of sections they area interested

-  in

-

-  for e.g. result-Summary,setup

-

-  The sections are

-

-  report-Summary

-  report-summary-error-list

-  result-Summary

-  result-Detail

-  error-Summary

-  error-Detail

-  setup

-  all - all the sections are displayed

-

-  The report summary is always displayed.

-

-  -->

-  <xsl:param name="sections">all</xsl:param>

-

-

-  <!-- controls the display of navigation tools in the diff report

-            controls the navigation tools that will be available

-             in the report. You can specify a comma separated list 

-             of the navigation tools

-

-             The navigation tools are:

-

-             all      - all the tools are displayed

-             menu     - menu of the report

-             toolbar  - toolbar of the report

-             top      - top link displayed in different report

-                        sections

-

-  -->

-  <xsl:param name="navigationTools">all</xsl:param>

-  <xsl:param name="reportSummaryErrorListCount">5</xsl:param>

-  <xsl:param name="reportSummaryErrorListHyperlinkPrefix">NA</xsl:param>

-

-  <xsl:variable name="allTool">all</xsl:variable>

-  <xsl:variable name="menuNavigationTool">menu</xsl:variable>

-  <xsl:variable name="toolbarNavigationTool">toolbar</xsl:variable>

-  <xsl:variable name="topNavigationTool">top</xsl:variable>

-

-  <xsl:variable name="showMenuNavigationTool"

-                select="contains($navigationTools,$allTool) or

-                        contains($navigationTools,$menuNavigationTool)"/>

-  <xsl:variable name="showToolbarNavigationTool"

-                select="contains($navigationTools,$allTool) or

-                        contains($navigationTools,$toolbarNavigationTool)"/>

-  <xsl:variable name="showTopNavigationTool"

-                select="contains($navigationTools,$allTool) or

-                        contains($navigationTools,$topNavigationTool)"/>

-

-

-  <xsl:variable name="reportSummarySection">report-summary</xsl:variable>

-  <xsl:variable 

-    name="reportSummaryErrorListSubSection">report-summary-error-list</xsl:variable>

-  <xsl:variable name="resultSummarySection">result-summary</xsl:variable>

-  <xsl:variable name="resultDetailSection">result-detail</xsl:variable>

-  <xsl:variable name="errorSummarySection">error-summary</xsl:variable>

-  <xsl:variable name="errorDetailSection">error-detail</xsl:variable>

-  <xsl:variable name="setupSection">setup</xsl:variable>

-  <xsl:variable name="allSection">all</xsl:variable>

-

-  <xsl:variable name="showReportSummarySection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$reportSummarySection)"/>

-  <xsl:variable name="showReportSummaryErrorListSubSection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$reportSummaryErrorListSubSection)"/>

-  <xsl:variable name="showResultSummarySection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$resultSummarySection)"/>

-  <xsl:variable name="showResultDetailSection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$resultDetailSection)"/>

-  <xsl:variable name="showErrorSummarySection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$errorSummarySection)"/>

-  <xsl:variable name="showErrorDetailSection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$errorDetailSection)"/>

-  <xsl:variable name="showSetupSection"

-                select="contains($sections,$allSection) or

-                        contains($sections,$setupSection)"/>

-  <xsl:output method="html"/>

-	<!--

-

-  Structure of the xml

-  =====================

-

-    (root)

-    test-log (1) 

-     |

-      environment (1) 

-     |    |

-     |     env-attribute (1) { name, value }

-     |

-      header-info (1) { execaccount, execdate, checksum, harnesstype,

-     |                  importinfo, testruntype }

-     |

-      test-result (1.*) { exectime, result, isdone, logicalname, duration}

-       |

-        test-case (1) {testcsename, testunit, testpath}

-       |

-        execution-output (1)

-       | 

-        output-details (1)

-       |

-        test-replication(0 - 1) 

-           |

-             info

-           |

-            command-line

-               |

-                unix

-               |

-                win

-

-  -->

-	<xsl:template match="/test-log">

-		<html>

-			<head>

-				<xsl:call-template name="javascripts"/>

-			</head>

-			<body>

-				<!-- FILTER SCRIPTS -->

-				<xsl:call-template name="filterScript"/>

-				<!-- TOOLTIP SCRIPTS -->

-				<xsl:call-template name="tooltipScript"/>

-				<!-- MENU -->

-				<xsl:if test="$showMenuNavigationTool">

-					<xsl:call-template name="sidemenu"/>

-				</xsl:if>

-				<!-- HEADER -->

-				<xsl:if test="$showToolbarNavigationTool">

-					<xsl:call-template name="header"/>

-				</xsl:if>

-				<!-- RESULT SUMMARY -->

-				<xsl:if test="$showResultSummarySection">

-					<xsl:call-template name="summary"/>

-				</xsl:if>

-				<!-- REPORT SUMMARY -->

-				<xsl:if test="$showReportSummarySection">

-					<xsl:call-template name="reportSummary"/>

-				</xsl:if>

-				<!-- display the report sections in the order specified -->

-				<xsl:choose>

-					<xsl:when test="contains(string($reportSectionOrder),'error-focus')">

-						<!-- ERROR DETAIL -->

-						<xsl:if test="$showErrorDetailSection">

-							<xsl:call-template name="testResultWithErrors"/>

-						</xsl:if>

-						<!-- ERROR SUMMARY -->

-						<xsl:if test="$showErrorSummarySection">

-							<xsl:call-template name="testResultErrorSummary"/>

-						</xsl:if>

-						<!-- RESULT DETAIL -->

-						<xsl:if test="$showResultDetailSection">

-							<xsl:call-template name="summaryByTestUnit"/>

-						</xsl:if>

-						<!-- SETUP -->

-						<xsl:if test="$showSetupSection">

-							<xsl:call-template name="metaInfo"/>

-						</xsl:if>

-					</xsl:when>

-					<xsl:otherwise>

-						<!-- RESULT DETAIL -->

-						<xsl:if test="$showResultDetailSection">

-							<xsl:call-template name="summaryByTestUnit"/>

-						</xsl:if>

-						<!-- ERROR SUMMARY -->

-						<xsl:if test="$showErrorSummarySection">

-							<xsl:call-template name="testResultErrorSummary"/>

-						</xsl:if>

-						<!-- SETUP -->

-						<xsl:if test="$showSetupSection">

-							<xsl:call-template name="metaInfo"/>

-						</xsl:if>

-						<!-- ERROR DETAIL -->

-						<xsl:if test="$showErrorDetailSection">

-							<xsl:call-template name="testResultWithErrors"/>

-						</xsl:if>

-					</xsl:otherwise>

-				</xsl:choose>

-			</body>

-		</html>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        TEST SETUP                                 -->

-	<!-- ================================================================ -->

-	<xsl:template name="metaInfo">

-		<hr width="100%" size="2"/>

-		<a name="metaInfo"/>

-		<center>

-			<h2> Setup <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>]</xsl:if>

-			</h2>

-		</center>

-		<table id="setupTable" class="details" border="1" cellspacing="0">

-			<tr>

-				<th class="name"> Name </th>

-				<th class="value"> Value </th>

-			</tr>

-			<tr>

-				<td> Test type </td>

-				<td>

-					<xsl:value-of select="@testtype"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Release </td>

-				<td>

-					<xsl:value-of select="@release"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Branch </td>

-				<td>

-					<xsl:value-of select="@branch"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Hostname </td>

-				<td>

-					<xsl:value-of select="@hostname"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Run id </td>

-				<td>

-					<xsl:value-of select="@runid"/>

-				</td>

-			</tr>

-			<tr>

-				<th class="name"> Environment </th>

-				<th class="name"> -- </th>

-			</tr>

-			<tr>

-				<td> JVM Name </td>

-				<td>

-					<xsl:value-of select="environment/env-attribute[@name = 'JVM_NAME']/@value"/>

-				</td>

-			</tr>

-			<tr>

-				<td> OS </td>

-				<td>

-					<xsl:value-of select="environment/env-attribute[@name = 'OS']/@value"/>

-				</td>

-			</tr>

-			<tr>

-				<td> JVM version </td>

-				<td>

-					<xsl:value-of select="environment/env-attribute[@name = 'JVM_VERSION']/@value"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Native IO </td>

-				<td>

-					<xsl:value-of select="environment/env-attribute[@name = 'NativeIO']/@value"/>

-				</td>

-			</tr>

-			<tr>

-				<th class="name"> Header Info: </th>

-				<th class="name"> -- </th>

-			</tr>

-			<tr>

-				<td> Exec account </td>

-				<td>

-					<xsl:value-of select="header-info/@execaccount"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Exec date </td>

-				<td>

-					<xsl:value-of select="header-info/@execdate"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Checksum </td>

-				<td>

-					<xsl:value-of select="header-info/@checksum"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Result count </td>

-				<td>

-					<xsl:value-of select="header-info/@resultcount"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Harness type </td>

-				<td>

-					<xsl:value-of select="header-info/@harnesstype"/>

-				</td>

-			</tr>

-			<tr>

-				<td> Test run type </td>

-				<td>

-					<xsl:value-of select="header-info/@testruntype"/>

-				</td>

-			</tr>

-		</table>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                       ERROR SUMMARY                               -->

-	<!-- ================================================================ -->

-	<xsl:template name="testResultErrorSummary">

-		<hr width="100%" size="2"/>

-		<a name="testResultErrorSummary"/>

-		<center>

-			<h2> Error Summary <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>]</xsl:if>

-			</h2>

-		</center>

-		<xsl:variable name="errorTestResults" select="/test-log/test-result[@result = 'FAILURE' or

-        @result = 'SKIP' or @result='TIMEOUT' or @result='ABORT' or

-        @result = 'ABANDONED' or @result = 'SCRATCH']"/>

-		<xsl:if test="$showTheFilters = 1">

-			<!-- +++++++++++++++++++++++++++++++++ Filter Table ++++++++++++++++ -->

-			<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-     border-top: none; border-right: none; border-bottom: none">

-				<!-- filter form elements -->

-				<tr>

-					<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-            border-top: none; border-right: none; border-bottom: none">

-						<form name="errorSummaryFilter" onsubmit="TF_filterTable(document.getElementById

-                 ('errorSummaryTable'),document.errorSummaryFilter);

-                 return false" onreset="_TF_showAll(document.getElementById

-                 ('errorSummaryTable'))">

-							<!-- form element table -->

-							<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-								<tr>

-									<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-										<!-- filter reset -->

-										<input type="button" onclick="document.errorSummaryFilter.reset()" value="Show All"/>

-										<!-- Result select -->

-										<xsl:text>&#160;</xsl:text>

-										<b>Result: </b>

-										<select TF_colKey="errorSummary_Result" TF_searchType="full" onChange="TF_filterTable(document.getElementById

-                      ('errorSummaryTable'), document.errorSummaryFilter)">

-											<option TF_not_used="TRUE">-</option>

-											<xsl:for-each select="$errorTestResults[ generate-id() = 

-                   generate-id(key('errorTestResults',@result)[1])]">

-												<xsl:sort select="@result"/>

-												<option>

-													<xsl:attribute name="value"><xsl:value-of select="@result"/></xsl:attribute>

-													<xsl:value-of select="@result"/>

-												</option>

-											</xsl:for-each>

-											<xsl:if test="$showSuccessInErrorSummary = 1">

-												<option value="SUCCESS">SUCCESS</option>

-											</xsl:if>

-										</select>

-										<!-- testunit select -->

-										<xsl:text>&#160;</xsl:text>

-										<b>Testunit: </b>

-										<select TF_colKey="errorSummary_Name" TF_searchType="full" onChange="TF_filterTable(document.getElementById

-                      ('errorSummaryTable'), document.errorSummaryFilter)">

-											<option TF_not_used="TRUE">-</option>

-											<xsl:choose>

-												<xsl:when test="$showSuccessInErrorSummary = 1">

-													<xsl:for-each select="$testResults/test-case[

-                        generate-id() = 

-                        generate-id(key('testUnits', @testunit)[1])]">

-														<xsl:sort select="@testunit"/>

-														<option>

-															<xsl:attribute name="value"><xsl:value-of select="@testunit"/></xsl:attribute>

-															<xsl:value-of select="@testunit"/>

-														</option>

-													</xsl:for-each>

-												</xsl:when>

-												<xsl:otherwise>

-													<xsl:for-each select="$errorTestResults/test-case[

-                        generate-id() = 

-                        generate-id(key('errorTestUnits', @testunit)[1])]">

-														<xsl:sort select="@testunit"/>

-														<option>

-															<xsl:attribute name="value"><xsl:value-of select="@testunit"/></xsl:attribute>

-															<xsl:value-of select="@testunit"/>

-														</option>

-													</xsl:for-each>

-												</xsl:otherwise>

-											</xsl:choose>

-										</select>

-										<!-- testunit search -->

-										<input type="text" TF_colKey="errorSummary_Name" TF_searchType="substring" onkeyup="TF_filterTable(document.getElementById

-                       ('errorSummaryTable'), document.errorSummaryFilter)">

-              </input>

-										<p/>

-										<xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text>

-										<xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text>

-										<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>

-										<!-- testcase search -->

-										<xsl:text>&#160;&#160;</xsl:text>

-										<b>Testcase search: </b>

-										<input type="text" TF_colKey="errorSummary_LogicalName" TF_searchType="substring" onkeyup="TF_filterTable(document.getElementById

-                       ('errorSummaryTable'), document.errorSummaryFilter)">

-              </input>

-									</td>

-									<!-- filter elements -->

-								</tr>

-								<!-- filter elements row -->

-							</table>

-							<!-- filter element table -->

-						</form>

-						<!-- filter form -->

-					</td>

-				</tr>

-			</table>

-			<!-- filter table -->

-		</xsl:if>

-		<!-- iterate all the test units that have an error -->

-		<table id="errorSummaryTable" class="details" border="1" cellspacing="0">

-			<tr>

-				<th class="name"> Time </th>

-				<th class="name"> Testunit</th>

-				<th class="name"> Result </th>

-				<th class="name"> Testcase name</th>

-			</tr>

-			<xsl:choose>

-				<xsl:when test="$showSuccessInErrorSummary = 1">

-					<xsl:for-each select="$testResults">

-						<tr>

-							<td>

-								<xsl:value-of select="@exectime"/>

-							</td>

-							<td TF_colKey="errorSummary_Name">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="test-case/@testunit"/></xsl:attribute>

-								<xsl:value-of select="test-case/@testunit"/>

-							</td>

-							<td TF_colKey="errorSummary_Result">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="@result"/></xsl:attribute>

-								<xsl:value-of select="@result"/>

-							</td>

-							<td TF_colKey="errorSummary_LogicalName">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="@logicalname"/></xsl:attribute>

-								<a>

-									<xsl:if test="$showErrorDetailSection">

-										<xsl:if test="@result != 'SUCCESS'">

-											<xsl:attribute name="href">#next_<xsl:value-of select="concat(test-case/@testpath, 

-                            @exectime, @logicalname)"/></xsl:attribute>

-										</xsl:if>

-									</xsl:if>

-									<xsl:value-of select="@logicalname"/>

-								</a>

-							</td>

-						</tr>

-					</xsl:for-each>

-				</xsl:when>

-				<xsl:otherwise>

-					<xsl:for-each select="$errorTestResults">

-						<tr>

-							<td>

-								<xsl:value-of select="@exectime"/>

-							</td>

-							<td TF_colKey="errorSummary_Name">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="test-case/@testunit"/></xsl:attribute>

-								<xsl:value-of select="test-case/@testunit"/>

-							</td>

-							<td TF_colKey="errorSummary_Result">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="@result"/></xsl:attribute>

-								<xsl:value-of select="@result"/>

-							</td>

-							<td TF_colKey="errorSummary_LogicalName">

-								<xsl:attribute name="TF_colValue"><xsl:value-of select="@logicalname"/></xsl:attribute>

-								<a>

-									<xsl:if test="$showErrorDetailSection">

-										<xsl:attribute name="href">#next_<xsl:value-of select="concat(test-case/@testpath, 

-                        @exectime, @logicalname)"/></xsl:attribute>

-									</xsl:if>

-									<xsl:value-of select="@logicalname"/>

-								</a>

-							</td>

-						</tr>

-					</xsl:for-each>

-				</xsl:otherwise>

-			</xsl:choose>

-		</table>

-	</xsl:template>

-	<!-- Test results that were not success -->

-	<xsl:key name="errorTestUnits" match="/test-log/test-result[@result = 'FAILURE' or

-        @result = 'SKIP' or @result='TIMEOUT' or @result='ABORT' or

-        @result = 'ABANDONED' or @result = 'SCRATCH']/test-case" use="@testunit"/>

-	<xsl:key name="errorTestResults" match="/test-log/test-result[@result = 'FAILURE' or

-        @result = 'SKIP' or @result='TIMEOUT' or @result='ABORT' or

-        @result = 'ABANDONED' or @result = 'SCRATCH']" use="@result"/>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        ERROR DETAIL                               -->

-	<!-- ================================================================ -->

-	<xsl:template name="testResultWithErrors">

-		<hr width="100%" size="2"/>

-		<a name="testResultWithErrors"/>

-		<center>

-			<h2> Error Detail <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>] </xsl:if>

-			</h2>

-		</center>

-		<!-- iterate all the test units that have an error -->

-		<xsl:variable name="errorTestResults" select="/test-log/test-result[@result = 'FAILURE' or

-        @result = 'SKIP' or @result='TIMEOUT' or @result='ABORT' or

-        @result = 'ABANDONED' or @result = 'SCRATCH']"/>

-		<xsl:for-each select="$errorTestResults/test-case[ 

-                    generate-id() = 

-                    generate-id(key('errorTestUnits', @testunit)[1])]">

-			<xsl:variable name="pos" select="position()"/>

-			<xsl:variable name="errorTestUnit" select="@testunit"/>

-			<hr width="100%" size="2"/>

-			<a>

-				<xsl:attribute name="name">testErrors_<xsl:value-of select="@testunit"/></xsl:attribute>

-			</a>

-      [<a href="#summaryByTestUnit"> Result Detail</a>]

-     <xsl:if test="$showTopNavigationTool">      [<a href="#top"> Top </a>] </xsl:if>

-			<xsl:if test="$showTheFilters = 1">

-				<!-- +++++++++++++++++++++++++++++++++ Filter Table ++++++++++++++++ -->

-				<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-     border-top: none; border-right: none; border-bottom: none">

-					<xsl:variable name="tf_enableFilter">TF_enableFilter(document.getElementById('errorDetailTable<xsl:value-of select="$pos"/>'), document.errorDetailFilter<xsl:value-of select="$pos"/>, this)</xsl:variable>

-					<xsl:variable name="tf_filterTable">TF_filterTable(document.getElementById('errorDetailTable<xsl:value-of select="$pos"/>'), document.errorDetailFilter<xsl:value-of select="$pos"/>)</xsl:variable>

-					<xsl:variable name="tf_showAll">TF_showAll(document.getElementById('errorDetailTable<xsl:value-of select="$pos"/>'))</xsl:variable>

-					<!-- filter form elements -->

-					<tr>

-						<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-            border-top: none; border-right: none; border-bottom: none">

-							<form>

-								<xsl:attribute name="name">errorDetailFilter<xsl:value-of select="$pos"/></xsl:attribute>

-								<xsl:attribute name="onsubmit"><xsl:value-of select="$tf_filterTable"/></xsl:attribute>

-								<xsl:attribute name="onreset"><xsl:value-of select="$tf_showAll"/></xsl:attribute>

-								<!-- form element table -->

-								<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-									<tr>

-										<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-											<!-- testunit select -->

-											<xsl:text>&#160;&#160;</xsl:text>

-											<select TF_colKey="errorDetail_Cell" TF_searchType="substring" multiple="multiple" size="3">

-												<xsl:attribute name="onchange"><xsl:value-of select="$tf_filterTable"/></xsl:attribute>

-												<option TF_not_used="TRUE">-</option>

-												<option value="ExecutionOutput">Execution output</option>

-												<option value="LogicalTestCaseName">Logical Testcase name</option>

-												<option value="TestParameters">Test parameters</option>

-												<option value="Result">Result</option>

-												<option value="TestPath">Testpath</option>

-												<option value="TestUnit">TestUnit</option>

-												<option value="ExecutionTime">Execution time</option>

-												<xsl:if test="$showFeatureInfo = 1">

-													<option value="BugDetective">BugDetective cmds</option>

-												</xsl:if>

-												<xsl:if test="boolean(test-replication)">

-													<option value="Replication">Replication cmds</option>

-												</xsl:if>

-												<option value="TestCaseName">Testcase name</option>

-											</select>

-											<!-- testcase search -->

-											<xsl:text>&#160;&#160;</xsl:text>

-											<b>Search (outupt, param): </b>

-											<input type="text" TF_colKey="errorDetail_Cell" TF_searchType="substring">

-												<xsl:attribute name="onkeyup"><xsl:value-of select="$tf_filterTable"/></xsl:attribute>

-											</input>

-										</td>

-									</tr>

-								</table>

-							</form>

-						</td>

-					</tr>

-				</table>

-				<!-- filter table -->

-			</xsl:if>

-			<!-- error detail table -->

-			<table border="1" class="details" cellspacing="0">

-				<xsl:attribute name="id">errorDetailTable<xsl:value-of select="$pos"/></xsl:attribute>

-				<tr>

-					<th class="title" colspan="2">

-						<xsl:value-of select="@testunit"/>

-						<xsl:if test="$showTopNavigationTool">            

-            [<a href="#top"> Top </a>]</xsl:if>

-					</th>

-				</tr>

-				<xsl:for-each select="$errorTestResults[test-case/@testunit = $errorTestUnit]">

-					<xsl:variable name="pos" select="position()"/>

-					<tr>

-						<th class="name"> Name</th>

-						<th class="name" width="90%" style="text-align:left">

-							<a>

-								<xsl:attribute name="name">next_<xsl:value-of select="concat(test-case/@testpath, 

-                  @exectime, @logicalname)"/></xsl:attribute>

-							</a>

-							<!-- Vishal: disabling next and previous as it's a big perofmance hit. 

-                  We can't use RTF as we run into a xalan (DTM) bug

-                  in jdk 1.4.1

-

-           <xsl:variable name="nextTestResult" 

-                         select="following-sibling::*[@result = 'FAILURE' or

-                                 @result = 'SKIP' or @result='TIMEOUT' or 

-                                 @result='ABORT' or @result = 'ABANDONED' or 

-                                 @result = 'SCRATCH'][1]"/>

-           <xsl:variable name="previousTestResult" 

-                         select="preceding-sibling::*[@result = 'FAILURE' or

-                                 @result = 'SKIP' or @result='TIMEOUT' or 

-                                 @result='ABORT' or @result = 'ABANDONED' or 

-                                 @result = 'SCRATCH'][1]"/>

-              <xsl:value-of select="nextTestResult"/>

-          [

-          <xsl:if  test="$showTopNavigationTool">              

-          <a href="#top">Top</a>]</xsl:if>

-          [

-              <a>

-                <xsl:if test="$showErrorDetailSection">

-                <xsl:attribute name="href">#next_<xsl:value-of

-              select="concat($nextTestResult/test-case/@testpath, 

-              $nextTestResult/@exectime, $nextTestResult/@logicalname)"/>

-                </xsl:attribute>

-                </xsl:if>

-            next 

-              </a>]

-          [

-              <a>

-                <xsl:if test="$showErrorDetailSection">

-                <xsl:attribute name="href">#next_<xsl:value-of

-              select="concat($previousTestResult/test-case/@testpath, 

-              $previousTestResult/@exectime, 

-              $previousTestResult/@logicalname)"/>

-                </xsl:attribute>

-                </xsl:if>

-            Prev. 

-              </a>]

-    -->

-							<!-- turning off next/previous -->

-             Value</th>

-					</tr>

-					<tr>

-						<td width="10%">

-            TestUnit

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="TestUnit">

-							<xsl:value-of select="test-case/@testunit"/>

-						</td>

-					</tr>

-					<tr>

-						<td width="10%">

-            Result

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="Result">

-							<xsl:value-of select="@result"/>

-						</td>

-					</tr>

-					<tr>

-						<td width="10%">

-            Execution time

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="ExecutionTime">

-							<xsl:value-of select="@exectime"/>

-						</td>

-					</tr>

-					<xsl:if test="$showFeatureInfo = 1">

-						<tr>

-							<td TF_colKey="errorDetail_Cell" TF_colValue="BugDetective" width="10%"> BugDetective cmd's</td>

-							<td>

-								<table border="1" class="details" cellspacing="0">

-									<tr>

-										<th width="10%"> Run cmd </th>

-										<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="RunCmd">

-											<font color="blue">

-												<i>ant -f build-Test.xml run -Dfeature=<xsl:value-of select="$feature"/> -DTEST_ARGS="-Dcoconut.filter.test-level=4 -Dcoconut.string=4  -Dcoconut.test-names=<xsl:value-of select="test-case/@testunit"/>.<xsl:value-of select="@logicalname"/>"</i>

-											</font>

-										</td>

-									</tr>

-									<tr>

-										<th width="10%"> Coverage cmd </th>

-										<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="CoverageCmd">

-											<font color="blue">

-												<i>ant -f build-Test.xml coverage.all -Dfeature=<xsl:value-of select="$feature"/> -DTEST_ARGS="-Dcoconut.filter.test-level=4 -Dcoconut.string=4  -Dcoconut.test-names=<xsl:value-of select="test-case/@testunit"/>.<xsl:value-of select="@logicalname"/>"</i>

-											</font>

-										</td>

-									</tr>

-									<tr>

-										<th width="10%"> Inspect cmd </th>

-										<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="InspectCmd">

-											<font color="blue">

-												<i>ant -f build-Test.xml inspect.all -Dfeature=<xsl:value-of select="$feature"/> -DTEST_ARGS="-Dcoconut.filter.test-level=4 -Dcoconut.string=4  -Dcoconut.test-names=<xsl:value-of select="test-case/@testunit"/>.<xsl:value-of select="@logicalname"/>"</i>

-											</font>

-										</td>

-									</tr>

-								</table>

-							</td>

-						</tr>

-					</xsl:if>

-					<tr>

-						<td width="10%">

-            Logical Testcase name

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%">

-							<xsl:attribute name="TF_colValue">LogicalTestCaseName<xsl:value-of select="execution-output/output-details"/><xsl:value-of select="test-parameters"/></xsl:attribute>

-							<xsl:value-of select="@logicalname"/>

-						</td>

-					</tr>

-					<tr>

-						<td width="10%">

-            Testcase name

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="TestCaseName">

-							<xsl:value-of select="test-case/@testcasename"/>

-						</td>

-					</tr>

-					<tr>

-						<td width="10%">

-            Test path

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%" TF_colValue="TestPath">

-							<xsl:value-of select="test-case/@testpath"/>

-						</td>

-					</tr>

-					<tr>

-						<td width="10%">

-            execution output

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%">

-							<xsl:attribute name="TF_colValue">ExecutionOutput<xsl:value-of select="execution-output/output-details"/></xsl:attribute>

-							<font color="red">

-								<pre wrap="true">

-									<xsl:value-of select="execution-output/output-details"/>

-								</pre>

-							</font>

-						</td>

-					</tr>

-					<!-- 

-          3/7/2004 Vishal - Test replication is a new feature, and we 

-                            should display it in the report on if the 

-                            data is there in the xml file.

-          -->

-					<xsl:if test="boolean(test-replication)">

-						<tr>

-							<td TF_colKey="errorDetail_Cell" TF_colValue="Replication" width="10%"> Replication </td>

-							<td>

-								<table border="1" class="details" cellspacing="0">

-									<tr>

-										<th width="10%"> info</th>

-										<td>

-											<font color="blue">

-												<xsl:value-of select="test-replication/info"/>

-											</font>

-										</td>

-									</tr>

-									<tr>

-										<th width="10%"> unix cmd.</th>

-										<td>

-											<font color="blue">

-												<xsl:value-of select="test-replication/command-line/unix"/>

-											</font>

-										</td>

-									</tr>

-									<tr>

-										<th width="10%"> win cmd.</th>

-										<td>

-											<font color="blue">

-												<xsl:value-of select="test-replication/command-line/win"/>

-											</font>

-										</td>

-									</tr>

-								</table>

-							</td>

-						</tr>

-					</xsl:if>

-					<tr>

-						<td width="10%">

-            test parameters

-            </td>

-						<td TF_colKey="errorDetail_Cell" width="90%">

-							<xsl:attribute name="TF_colValue">TestParameters<xsl:value-of select="test-parameters"/></xsl:attribute>

-							<font color="darkgreen">

-								<pre wrap="true">

-									<xsl:value-of select="test-parameters"/>

-								</pre>

-							</font>

-						</td>

-					</tr>

-					<xsl:variable name="prevTestResult" select="concat(test-case/@testpath, @exectime, @logicalname)"/>

-				</xsl:for-each>

-			</table>

-		</xsl:for-each>

-	</xsl:template>

-	<xsl:key name="testUnits" match="/test-log/test-result/test-case" use="@testunit"/>

-	<xsl:key name="successTestUnits" match="/test-log/test-result[@result = 'SUCCESS']/test-case" use="@testunit"/>

-	<xsl:key name="failTestUnits" match="/test-log/test-result[@result = 'FAILURE']/test-case" use="@testunit"/>

-	<xsl:key name="skipTestUnits" match="/test-log/test-result[@result = 'SKIP']/test-case" use="@testunit"/>

-	<xsl:key name="timeoutTestUnits" match="/test-log/test-result[@result = 'TIMEOUT']/test-case" use="@testunit"/>

-	<xsl:key name="abortTestUnits" match="/test-log/test-result[@result = 'ABORT']/test-case" use="@testunit"/>

-	<xsl:key name="abandonedTestUnits" match="/test-log/test-result[@result = 'ABANDONED']/test-case" use="@testunit"/>

-	<xsl:key name="scratchTestUnits" match="/test-log/test-result[@result = 'SCRATCH']/test-case" use="@testunit"/>

-	<!-- Summary of the test run by test unit -->

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        RESULT DETAIL                              -->

-	<!-- ================================================================ -->

-	<xsl:template name="summaryByTestUnit">

-		<hr width="100%" size="2"/>

-		<a name="summaryByTestUnit"/>

-		<center>

-			<h2> Result Detail <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>]</xsl:if>

-			</h2>

-		</center>

-		<xsl:if test="$showTheFilters = 1">

-			<!-- +++++++++++++++++++++++++++++++++ Filter Table ++++++++++++++++ -->

-			<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-     border-top: none; border-right: none; border-bottom: none">

-				<!-- filter form elements -->

-				<tr>

-					<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-            border-top: none; border-right: none; border-bottom: none">

-						<form name="resultSummaryFilter" onsubmit="TF_filterTable(document.getElementById

-                 ('resultSummaryTable'),document.resultSummaryFilter);

-                 return false" onreset="_TF_showAll(document.getElementById

-                 ('resultSummaryTable'))">

-							<!-- form element table -->

-							<table cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-								<tr>

-									<td cellpadding="0" cellspacing="0" border="0" style="background-color: rgb(255, 255, 255);border-left: none;

-                border-top: none; border-right: none; border-bottom: none">

-										<!-- filter reset -->

-										<input type="button" onclick="document.resultSummaryFilter.reset()" value="Show all"/>

-										<xsl:text>&#160;</xsl:text>

-										<!-- result select -->

-										<xsl:text>&#160;</xsl:text>

-										<b>Result: </b>

-										<select TF_colKey="resultSummary_Error" TF_searchType="substring" onChange="TF_filterTable(document.getElementById

-                      ('resultSummaryTable'), document.resultSummaryFilter)">

-											<option TF_not_used="TRUE">-</option>

-											<option value="ERRORS">Errors</option>

-											<option value="ALL_SUCCESS">No Errors</option>

-										</select>

-										<!-- testunit select -->

-										<xsl:text>&#160;</xsl:text>

-										<b>Testunit: </b>

-										<select TF_colKey="resultSummary_Name" TF_searchType="full" onChange="TF_filterTable(document.getElementById

-                      ('resultSummaryTable'), document.resultSummaryFilter)">

-											<option TF_not_used="TRUE">-</option>

-											<xsl:for-each select="/test-log/test-result/test-case[ 

-                  generate-id() = 

-                  generate-id(key('testUnits', @testunit)[1])]">

-												<xsl:sort select="@testunit"/>

-												<option>

-													<xsl:attribute name="value"><xsl:value-of select="@testunit"/></xsl:attribute>

-													<xsl:value-of select="@testunit"/>

-												</option>

-											</xsl:for-each>

-										</select>

-										<!-- testcase search -->

-										<input type="text" TF_colKey="resultSummary_Name" TF_searchType="substring" onkeyup="TF_filterTable(document.getElementById

-                       ('resultSummaryTable'), document.resultSummaryFilter)">

-              </input>

-									</td>

-								</tr>

-							</table>

-						</form>

-					</td>

-				</tr>

-			</table>

-			<!-- filter table -->

-		</xsl:if>

-		<table id="resultSummaryTable" class="details" border="1" cellspacing="0">

-			<tr>

-				<th class="name">Test Unit name</th>

-				<th class="name">Total</th>

-				<th class="name">Pass</th>

-				<th class="name">Fail</th>

-				<th class="name">Skip</th>

-				<th class="name">Timeout</th>

-				<th class="name">Abort</th>

-				<th class="name">Abandoned</th>

-				<th class="name">Scratch</th>

-				<th class="name">Duration (min.)</th>

-			</tr>

-			<xsl:for-each select="test-result/test-case[ generate-id() = 

-                  generate-id(key('testUnits', @testunit)[1])]">

-				<xsl:sort select="@testunit"/>

-				<xsl:variable name="currentTestUnit" select="@testunit"/>

-				<tr>

-					<td TF_colKey="resultSummary_Name">

-						<xsl:attribute name="TF_colValue"><xsl:value-of select="@testunit"/></xsl:attribute>

-						<xsl:if test="count(key('testUnits',@testunit)) = 

-                        count(key('successTestUnits', @testunit))">

-							<xsl:value-of select="@testunit"/>

-						</xsl:if>

-						<xsl:if test="count(key('testUnits',@testunit)) != 

-                        count(key('successTestUnits', @testunit))">

-							<a>

-								<xsl:if test="$showErrorDetailSection">

-									<xsl:attribute name="href">#testErrors_<xsl:value-of select="@testunit"/></xsl:attribute>

-								</xsl:if>

-								<xsl:value-of select="@testunit"/>

-							</a>

-						</xsl:if>

-					</td>

-					<xsl:variable name="totalTuTests" select="count(key('testUnits',@testunit))"/>

-					<xsl:variable name="successTests" select="count(key('successTestUnits', @testunit))"/>

-					<xsl:variable name="failTests" select="count(key('failTestUnits', @testunit))"/>

-					<xsl:variable name="skipTests" select="count(key('skipTestUnits', @testunit))"/>

-					<xsl:variable name="timeoutTests" select="count(key('timeoutTestUnits', @testunit))"/>

-					<xsl:variable name="abortTests" select="count(key('abortTestUnits', @testunit))"/>

-					<xsl:variable name="abandonedTests" select="count(key('abandonedTestUnits', @testunit))"/>

-					<xsl:variable name="scratchTests" select="count(key('scratchTestUnits', @testunit))"/>

-					<td>

-						<xsl:value-of select="$totalTuTests"/>

-					</td>

-					<td TF_colKey="resultSummary_Error">

-						<xsl:attribute name="TF_colValue"><xsl:if test="$totalTuTests != $successTests"><xsl:text>ERRORS</xsl:text></xsl:if><xsl:if test="$totalTuTests = $successTests"><xsl:text>ALL_SUCCESS</xsl:text></xsl:if></xsl:attribute>

-						<xsl:value-of select="$successTests"/>

-					</td>

-					<td>

-						<xsl:if test="$failTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$failTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:if test="$skipTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$skipTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:if test="$timeoutTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$timeoutTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:if test="$abortTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$abortTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:if test="$abandonedTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$abandonedTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:if test="$scratchTests &gt; 0">

-							<font color="red">

-								<xsl:value-of select="$scratchTests"/>

-							</font>

-						</xsl:if>

-						<xsl:text>&#160;</xsl:text>

-					</td>

-					<td>

-						<xsl:variable name="tuTime" select="format-number(sum(/test-log/test-result

-            [test-case/@testunit= $currentTestUnit]/@duration) div 1000 div 60, 

-            '#.##')"/>

-						<xsl:value-of select="$tuTime"/>

-					</td>

-				</tr>

-			</xsl:for-each>

-		</table>

-	</xsl:template>

-	<!-- Creates the test run summary table -->

-	<xsl:variable name="totalTime" select="format-number(sum(/test-log/test-result/@duration)

-           div 1000 div 60, '#.##')"/>

-	<xsl:variable name="totalTests" select="count(/test-log/test-result)"/>

-	<xsl:variable name="testResults" select="/test-log/test-result"/>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        REPORT SUMMARY                             -->

-	<!-- ================================================================ -->

-	<xsl:template name="reportSummary">

-		<hr width="100%" size="2"/>

-		<a name="reportSummary"/>

-		<center>

-			<h2> Report Summary <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>]</xsl:if>

-			</h2>

-		</center>

-		<xsl:variable name="successTests" select="count(test-result[@result = 'SUCCESS'])"/>

-		<xsl:variable name="failTests" select="count(test-result[@result = 'FAILURE'])"/>

-		<xsl:variable name="skipTests" select="count(test-result[@result = 'SKIP'])"/>

-		<xsl:variable name="timeoutTests" select="count(test-result[@result = 'TIMEOUT'])"/>

-		<xsl:variable name="abortTests" select="count(test-result[@result = 'ABORT'])"/>

-		<xsl:variable name="abandonedTests" select="count(test-result[@result = 'ABANDONED'])"/>

-		<xsl:variable name="scratchTests" select="count(test-result[@result = 'SCRATCH'])"/>

-		<table style="margin-bottom:0em" class="details" border="1" cellspacing="0">

-			<!-- result summary description  -->

-			<tr>

-				<!-- summary description -->

-				<tr>

-					<!-- start of error statement -->

-					<!-- run problem or clean run -->

-					<xsl:choose>

-						<!-- no result , problem -->

-						<xsl:when test="$totalTests = 0">

-							<td colspan="2">

-								<b>

-									<span style="color: rgb(155, 0, 0);font-size:15 pt">

-										<xsl:text>&#160;&#160;</xsl:text>

-                No test were found, problem running tests.

-                </span>

-								</b>

-							</td>

-							<td colspan="7" style="padding:0px;background-color:rgb(255, 0, 0);font-size:10pt">

-								<b>

-									<center>:-(</center>

-								</b>

-							</td>

-						</xsl:when>

-						<!-- clean run -->

-						<xsl:when test="$totalTests = $successTests">

-							<td colspan="2">

-								<b>

-									<span style="color: rgb(0, 153, 0);font-size:15 pt">

-										<xsl:text>&#160;&#160;</xsl:text>

-                Clean run

-                </span>

-								</b>

-							</td>

-							<td colspan="7" style="padding:0px;background-color:rgb(0, 255, 0)

-                 ;font-size:10pt">

-								<b>

-									<center>:-)</center>

-								</b>

-							</td>

-						</xsl:when>

-					</xsl:choose>

-				</tr>

-				<!-- end of clean run check -->

-				<!-- test has failures -->

-				<xsl:if test="not($totalTests = $successTests)">

-					<tr>

-						<!-- start of failure -->

-						<td colspan="9">

-							<!-- not  a clean run -->

-							<!-- summary description table -->

-							<table style="margin-bottom:0em" stype="border=0">

-								<tr>

-									<td>

-										<b>

-											<span style="color: rgb(153, 0, 0);font-size:12 pt">

-												<xsl:text>&#160;&#160;</xsl:text>Not a clean run :-(.

-                </span>

-										</b>

-										<xsl:text>&#160;</xsl:text>Total Errors: [<font style="padding:0px;color:rgb(255, 0,0);

-                      font-size:10pt">

-											<xsl:value-of select="$totalTests - $successTests"/>

-										</font> / <xsl:value-of select="$totalTests"/>]

-                <p/>

-										<ul>

-											<li>

-                    Go to <a href="#testResultErrorSummary"> Error summary </a>

-                     section, to view New/Old problem in a table.

-                  </li>

-										</ul>

-										<p/>

-										<table style="margin-bottom:0em" cellspacing="0">

-											<!-- problem bug table -->

-											<tr>

-												<td>

-													<p/>

-													<xsl:for-each select="$testResults">

-														<xsl:variable name="testResult" select="."/>

-														<xsl:variable name="testUnit" select="string($testResult/test-case/@testunit)"/>

-														<xsl:variable name="logicalName" select="string($testResult/@logicalname)"/>

-														<xsl:variable name="execTime" select="string($testResult/@exectime)"/>

-														<xsl:variable name="testPath" select="string($testResult/test-case/@testpath)"/>

-														<xsl:if test="not((position()-1) mod 100)">

-                 [<xsl:value-of select="substring($execTime,12,8)"/>]

-               </xsl:if>

-														<xsl:if test="not((position() - 1) mod 25)">

-                 |

-               </xsl:if>

-														<xsl:variable name="result" select="$testResult/@result"/>

-														<!-- success -->

-														<xsl:if test="$result = 'SUCCESS'">

-															<font style="padding:0px;background-color:Chartreuse;

-                 font-size:10pt">

-																<xsl:attribute name="onMouseover">ddrivetip('<xsl:value-of select="$testUnit"/>','Chartreuse')</xsl:attribute>

-																<xsl:attribute name="onMouseout">hideddrivetip()</xsl:attribute>.</font>

-														</xsl:if>

-														<!-- failure -->

-														<xsl:if test="$result = 'FAILURE'">

-															<font style="padding:0px;background-color:hotpink;

-                 font-size:10pt">

-																<a>

-																	<xsl:if test="$showErrorDetailSection">

-																		<xsl:attribute name="href">#next_<xsl:value-of select="concat($testPath, $execTime,

-                                    $logicalName)"/></xsl:attribute>

-																	</xsl:if>

-																	<xsl:attribute name="onMouseover">ddrivetip('<xsl:value-of select="concat($testUnit,'.',$logicalName)"/>','hotpink')</xsl:attribute>

-																	<xsl:attribute name="onMouseout">hideddrivetip()</xsl:attribute>.</a>

-															</font>

-														</xsl:if>

-														<!-- skip -->

-														<xsl:if test="$result = 'SKIP'">

-															<font style="padding:0px;background-color:cornflowerblue;

-                       font-size:10pt">

-																<a>

-																	<xsl:if test="$showErrorDetailSection">

-																		<xsl:attribute name="href">#next_<xsl:value-of select="concat($testPath, $execTime,

-                                    $logicalName)"/></xsl:attribute>

-																	</xsl:if>

-																	<xsl:attribute name="onMouseover">ddrivetip('<xsl:value-of select="concat($testUnit,'.',$logicalName)"/>','cornflowerblue')</xsl:attribute>

-																	<xsl:attribute name="onMouseout">hideddrivetip()</xsl:attribute>.</a>

-															</font>

-														</xsl:if>

-														<!-- timeout -->

-														<xsl:if test="$result = 'TIMEOUT'">

-															<font style="padding:0px;background-color:yellow;

-                      font-size:10pt">

-																<a>

-																	<xsl:if test="$showErrorDetailSection">

-																		<xsl:attribute name="href">#next_<xsl:value-of select="concat($testPath, $execTime,

-                                    $logicalName)"/></xsl:attribute>

-																	</xsl:if>

-																	<xsl:attribute name="onMouseover">ddrivetip('<xsl:value-of select="concat($testUnit,'.',$logicalName)"/>','yellow')</xsl:attribute>

-																	<xsl:attribute name="onMouseout">hideddrivetip()</xsl:attribute>.</a>

-															</font>

-														</xsl:if>

-														<!-- Not a Success, failure, skip or timeout -->

-														<xsl:if test="not($result = 'TIMEOUT' or 

-                                 $result = 'SUCCESS' or

-                                 $result = 'FAILURE' or

-                                 $result = 'SKIP')">

-															<font style="padding:0px;background-color:Darkgray;

-                      font-size:10pt">

-																<a>

-																	<xsl:if test="$showErrorDetailSection">

-																		<xsl:attribute name="href">#next_<xsl:value-of select="concat($testPath, $execTime,

-                                    $logicalName)"/></xsl:attribute>

-																	</xsl:if>

-																	<xsl:attribute name="onMouseover">ddrivetip('<xsl:value-of select="concat($testUnit,'.',$logicalName)"/>','Darkgray')</xsl:attribute>

-																	<xsl:attribute name="onMouseout">hideddrivetip()</xsl:attribute>.</a>

-															</font>

-														</xsl:if>

-														<!-- wrap the row for every 100 errors -->

-														<xsl:if test="not(position() mod 100)">

-															<xsl:text>&#160;</xsl:text>

-															<xsl:value-of select="position()"/>]<br/>

-														</xsl:if>

-													</xsl:for-each>] <!-- each error in  -->

-												</td>

-											</tr>

-											<!-- bug row -->

-										</table>

-										<!--  bug table -->

-										<p/>

-										<!-- bar label -->

-										<table border="1" cellspacing="0" style="margin-bottom:0em">

-											<tr>

-												<th class="title" colspan="9">

-                    ResultBar Information

-                   </th>

-											</tr>

-											<tr>

-												<td colspan="9">

-													<xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text>

-                   Each dot in the above ResultBar represents a

-                   test in the  run.</td>

-											</tr>

-											<tr>

-												<th class="name" colspan="1" style="background-color:hotpink">.</th>

-												<td colspan="4">FAILURE</td>

-												<th class="name" colspan="2">Exec date </th>

-												<td colspan="2">

-													<xsl:value-of select="/test-log/header-info/@execdate"/>

-												</td>

-											</tr>

-											<tr>

-												<th class="name" colspan="1" style="background-color:yellow">.</th>

-												<td colspan="4">TIMEOUT</td>

-												<th class="name" colspan="2"> File </th>

-												<td colspan="2">

-													<xsl:value-of select="$gtlfFileName"/>

-												</td>

-											</tr>

-											<tr>

-												<th class="name" colspan="1" style="background-color:cornflowerblue">.</th>

-												<td colspan="4">SKIP</td>

-												<th class="name" colspan="2"> Change # </th>

-												<td colspan="2">

-													<xsl:value-of select="/test-log/@changenumber"/>

-												</td>

-											</tr>

-											<tr>

-												<th class="name" colspan="1" style="background-color:DarkGray;color:white">.</th>

-												<td colspan="4">ABORT or ABANDONED or SCRATCH</td>

-												<th class="name" colspan="2"> OS</th>

-												<td colspan="2">

-													<xsl:value-of select="/test-log/environment/env-attribute[@name 

-                        = 'OS']/@value"/>

-												</td>

-											</tr>

-											<tr>

-												<th class="name" colspan="1" style="background-color:Chartreuse">.</th>

-												<td colspan="4">SUCCESS</td>

-												<th class="name" colspan="2"> JVM</th>

-												<td colspan="2">

-													<xsl:value-of select="/test-log/environment/env-attribute[@name 

-                        = 'JVM_Name']/@value"/>

-													<xsl:text>&#160;</xsl:text>

-													<xsl:value-of select="/test-log/environment/env-attribute[@name 

-                        = 'JVM_Version']/@value"/>

-												</td>

-											</tr>

-										</table>

-										<!-- result bar table -->

-									</td>

-								</tr>

-								<!-- description row row -->

-							</table>

-							<!-- sumarry desc table -->

-						</td>

-						<!-- cell with error info -->

-					</tr>

-				</xsl:if>

-				<!-- not a clean run -->

-			</tr>

-			<!-- summary description section -->

-		</table>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        RESULT SUMMARY                             -->

-	<!-- ================================================================ -->

-	<xsl:template name="summary">

-		<hr width="100%" size="2"/>

-		<a name="summary"/>

-		<center>

-			<h2> Result Summary <xsl:if test="$showTopNavigationTool">[<a href="#top"> Top </a>]</xsl:if>

-			</h2>

-		</center>

-		<xsl:variable name="successTests" select="count(test-result[@result = 'SUCCESS'])"/>

-		<xsl:variable name="failTests" select="count(test-result[@result = 'FAILURE'])"/>

-		<xsl:variable name="skipTests" select="count(test-result[@result = 'SKIP'])"/>

-		<xsl:variable name="timeoutTests" select="count(test-result[@result = 'TIMEOUT'])"/>

-		<xsl:variable name="abortTests" select="count(test-result[@result = 'ABORT'])"/>

-		<xsl:variable name="abandonedTests" select="count(test-result[@result = 'ABANDONED'])"/>

-		<xsl:variable name="scratchTests" select="count(test-result[@result = 'SCRATCH'])"/>

-		<table border="1" class="details" cellspacing="0">

-			<tr>

-				<th>Total</th>

-				<th>Pass</th>

-				<th>Fail</th>

-				<th>Skip</th>

-				<th>Timeout</th>

-				<th>Abort</th>

-				<th>Abandoned</th>

-				<th>Scratch</th>

-				<th>Duration (minutes)</th>

-			</tr>

-			<tr>

-				<td>

-					<xsl:value-of select="$totalTests"/>

-				</td>

-				<td>

-					<xsl:value-of select="$successTests"/>

-          (<xsl:value-of select="format-number($successTests div $totalTests

-          * 100, '#.##')"/>%)

-        </td>

-				<td>

-					<xsl:if test="$failTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$failTests"/>

-            (<xsl:value-of select="format-number($failTests div $totalTests

-            * 100, '#.##')"/>%)

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:if test="$skipTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$skipTests"/>

-            (<xsl:value-of select="format-number($skipTests div $totalTests

-            * 100, '#.##')"/>%)    

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:if test="$timeoutTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$timeoutTests"/>

-            (<xsl:value-of select="format-number($timeoutTests div $totalTests

-            * 100, '#.##')"/>%)    

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:if test="$abortTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$abortTests"/>

-            (<xsl:value-of select="format-number($abortTests div $totalTests

-            * 100, '#.##')"/>%)    

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:if test="$abandonedTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$abandonedTests"/>

-            (<xsl:value-of select="format-number($abandonedTests div $totalTests

-            * 100, '#.##')"/>%)    

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:if test="$scratchTests &gt; 0">

-						<font color="red">

-							<xsl:value-of select="$scratchTests"/>

-            (<xsl:value-of select="format-number($scratchTests div $totalTests

-            * 100, '#.##')"/>%)    

-          </font>

-					</xsl:if>

-					<xsl:text>&#160;</xsl:text>

-				</td>

-				<td>

-					<xsl:value-of select="$totalTime"/>

-				</td>

-			</tr>

-			<tr>

-				<table border="0" cellspacing="0">

-					<tr>

-						<td width="17%">

-							<p/>

-							<b>Start time: </b>

-						</td>

-						<td>

-							<p/>

-							<xsl:value-of select="test-result[1]/@exectime"/>

-						</td>

-						<td width="7%">

-          </td>

-						<td width="17%">

-							<p/>

-							<b>End time: </b>

-						</td>

-						<td>

-							<p/>

-							<xsl:value-of select="test-result[last()]/@exectime"/>

-						</td>

-					</tr>

-				</table>

-			</tr>

-		</table>

-	</xsl:template>

-	<xsl:template name="recordTime">

-		<xsl:param name="message">Time: </xsl:param>

-		<!-- show time only if instrument is turned on (1) -->

-		<xsl:if test="$instrument = 1">

-          [<xsl:value-of select="string(java:util.Date.new())"/>][<xsl:value-of select="string(java:lang.System.currentTimeMillis())"/>]  <xsl:value-of select="$message"/>

-			<br/>

-		</xsl:if>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        REPORT HEADER                              -->

-	<!-- ================================================================ -->

-	<xsl:template name="header">

-		<a name="top"/>

-		<center>

-			<div style="background-color: skyblue;">

-				<xsl:if test="$showResultSummarySection">

-					<span style="background-color: white;">

-               [<a href="#summary">Result Summary</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showResultDetailSection">

-					<span style="background-color: white;">

-               [<a href="#summaryByTestUnit">Result Detail</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showErrorSummarySection">

-					<span style="background-color: white;">

-              [<a href="#testResultErrorSummary">Error Summary</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showErrorDetailSection">

-					<span style="background-color: white;">

-               [<a href="#testResultWithErrors">Error Detail</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showSetupSection">

-					<span style="background-color: white;">

-               [<a href="#metaInfo">Setup</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-			</div>

-		</center>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        MENU                                       -->

-	<!-- ================================================================ -->

-	<xsl:template name="sidemenu">

-		<script language="JavaScript1.2"><![CDATA[

-      /********************************************************************************

-      Submitted with modifications by Jack Routledge (http://fastway.to/compute) to DynamicDrive.com

-      Copyright (C) 1999 Thomas Brattli @ www.bratta.com

-      This script is made by and copyrighted to Thomas Brattli 

-      This may be used freely as long as this msg is intact!

-      This script has been featured on http://www.dynamicdrive.com

-      ********************************************************************************

-      Browsercheck:*/

-      ie=document.all?1:0

-      n=document.layers?1:0

-      ns6=document.getElementById&&!document.all?1:0

-      

-      //These are the variables you have to set:

-      

-      //How much of the layer do you wan't to be visible when it's in the out state?

-      lshow=40

-      

-      //How many pixels should it move every step? 

-      var move=10;

-      

-      //At what speed (in milliseconds, lower value is more speed)

-      menuSpeed=0

-      

-      //Do you want it to move with the page if the user scroll the page?

-      var moveOnScroll=true

-      

-      /********************************************************************************

-      You should't have to change anything below this.

-      ********************************************************************************/

-      //Defining variables

-      

-      var ltop;

-      var tim=0;

-      

-      //Object constructor

-      function makeMenu(obj,nest){

-          nest=(!nest) ? '':'document.'+nest+'.'

-          if (n) this.css=eval(nest+'document.'+obj)

-          else if (ns6) this.css=document.getElementById(obj).style

-          else if (ie) this.css=eval(obj+'.style')						

-      	this.state=1

-      	this.go=0

-              if (n) this.width=this.css.document.width

-              else if (ns6) this.width=document.getElementById(obj).offsetWidth

-              else if (ie) this.width=eval(obj+'.offsetWidth')

-      	this.left=b_getleft

-          this.obj = obj + "Object"; 	eval(this.obj + "=this")	

-      }

-      //Get's the top position.

-      function b_getleft(){

-              if (n||ns6){ gleft=parseInt(this.css.left)}

-              else if (ie){ gleft=eval(this.css.pixelLeft)}

-      	return gleft;

-      }

-      /********************************************************************************

-      Deciding what way to move the menu (this is called onmouseover, onmouseout or onclick)

-      ********************************************************************************/

-      function moveMenu(){

-      	if(!oMenu.state){

-      		clearTimeout(tim)

-      		mIn()	

-      	}else{

-      		clearTimeout(tim)

-      		mOut()

-      	}

-      }

-      //Menu in

-      function mIn(){

-      	if(oMenu.left()>-oMenu.width+lshow){

-      		oMenu.go=1

-      		oMenu.css.left=oMenu.left()-move

-      		tim=setTimeout("mIn()",menuSpeed)

-      	}else{

-      		oMenu.go=0

-      		oMenu.state=1

-      	}	

-      }

-      //Menu out

-      function mOut(){

-      	if(oMenu.left()<0){

-      		oMenu.go=1

-      		oMenu.css.left=oMenu.left()+move

-      		tim=setTimeout("mOut()",menuSpeed)

-      	}else{

-      		oMenu.go=0

-      		oMenu.state=0

-      	}	

-      }

-      /********************************************************************************

-      Checking if the page is scrolled, if it is move the menu after

-      ********************************************************************************/

-      function checkScrolled(){

-      	if(!oMenu.go) oMenu.css.top=eval(scrolled)+parseInt(ltop)

-      	if(n||ns6) setTimeout('checkScrolled()',30)

-      }

-      /********************************************************************************

-      Inits the page, makes the menu object, moves it to the right place, 

-      show it

-      ********************************************************************************/

-      function menuInit(){

-      	oMenu=new makeMenu('divMenu')

-              if (n||ns6) scrolled="window.pageYOffset"

-              else if (ie) scrolled="document.body.scrollTop"

-      	oMenu.css.left=-oMenu.width+lshow

-              if (n||ns6) ltop=oMenu.css.top

-              else if (ie) ltop=oMenu.css.pixelTop

-      	oMenu.css.visibility='visible'

-      	if(moveOnScroll) ie?window.onscroll=checkScrolled:checkScrolled();

-

-      }

-      

-      

-      //Initing menu on pageload

-      window.onload=menuInit;

-]]></script>

-		<div id="divMenu" style="position:absolute; top:0; left:0; visibility:hidden; 

-               background-color:lightskyblue">

-			<nobr>

-				<span style=" font-weight:normal;background-color: rgb(255, 255, 153);">

-					<a onclick="moveMenu()" style=" font-weight:normal;background-color:orange;

-                 text-decoration:none">[M]</a>

-				</span>

-				<xsl:text>&#160;</xsl:text>

-				<span style=" font-weight:normal;background-color: white;">

-             [<a href="#top">Top</a>]

-           </span>

-				<xsl:text>&#160;</xsl:text>

-				<xsl:if test="$showResultSummarySection">

-					<span style=" font-weight:normal;background-color: white;">

-               [<a href="#summary">Result Summary</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showResultDetailSection">

-					<span style=" font-weight:normal;background-color: white;">

-               [<a href="#summaryByTestUnit">Result Detail</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showErrorSummarySection">

-					<span style=" font-weight:normal;background-color: white;">

-               [<a href="#testResultErrorSummary">Error Summary</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showErrorDetailSection">

-					<span style=" font-weight:normal;background-color: white;">

-                [<a href="#testResultWithErrors">Error Detail</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:if test="$showSetupSection">

-					<span style=" font-weight:normal;background-color: white;">

-               [<a href="#metaInfo">Setup</a>]

-             </span>

-					<xsl:text>&#160;</xsl:text>

-				</xsl:if>

-				<xsl:text>&#160;</xsl:text>

-				<a onclick="moveMenu()" style=" font-weight:normal;background-color:orange;

-                text-decoration:none">[MENU]</a>

-			</nobr>

-		</div>

-	</xsl:template>

-

-  <xsl:template name="tooltipScript">

-		<div id="dhtmltooltip"/>

-		<script type="text/javascript"><![CDATA[

-    /***********************************************

-    * Cool DHTML tooltip script- Dynamic Drive DHTML code library (www.dynamicdrive.com)

-    * This notice MUST stay intact for legal use

-    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

-    ***********************************************/

-    

-    var offsetxpoint=-60 //Customize x offset of tooltip

-    var offsetypoint=20 //Customize y offset of tooltip

-    var ie=document.all

-    var ns6=document.getElementById && !document.all

-    var enabletip=false

-    if (ie||ns6)

-    var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

-    

-    function ietruebody(){

-    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

-    }

-    

-    function ddrivetip(thetext, thecolor, thewidth){

-    if (ns6||ie){

-    if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"

-    if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor

-    tipobj.innerHTML=thetext

-    enabletip=true

-    return false

-    }

-    }

-    

-    function positiontip(e){

-    if (enabletip){

-    var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;

-    var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;

-    //Find out how close the mouse is to the corner of the window

-    var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20

-    var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

-    

-    var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

-    

-    //if the horizontal distance isn't enough to accomodate the width of the context menu

-    if (rightedge<tipobj.offsetWidth)

-    //move the horizontal position of the menu to the left by it's width

-    tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"

-    else if (curX<leftedge)

-    tipobj.style.left="5px"

-    else

-    //position the horizontal position of the menu where the mouse is positioned

-    tipobj.style.left=curX+offsetxpoint+"px"

-    

-    //same concept with the vertical position

-    if (bottomedge<tipobj.offsetHeight)

-    tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"

-    else

-    tipobj.style.top=curY+offsetypoint+"px"

-    tipobj.style.visibility="visible"

-    }

-    }

-    

-    function hideddrivetip(){

-    if (ns6||ie){

-    enabletip=false

-    tipobj.style.visibility="hidden"

-    tipobj.style.left="-1000px"

-    tipobj.style.backgroundColor=''

-    tipobj.style.width=''

-    }

-    }

-    

-    document.onmousemove=positiontip

-    

-    ]]></script>

-	</xsl:template>

-	<xsl:template name="filterScript">

-		<script language="JavaScript1.2"><![CDATA[

-

-     function report_init(){

-       TF_disableFilter;

-     }

-

-

-     function TF_disableFilter() {

-       document.errorSummaryFilter.display = "none";

-       document.resultSummaryFilter.display = "none";

-     }

-

-     function _TF_trimWhitespace(txt) {

-     	var strTmp = txt;

-     	//trimming from the front

-     	for (counter=0; counter<strTmp.length; counter++)

-     		if (strTmp.charAt(counter) != " ")

-     			break;

-     	//trimming from the back

-     	strTmp = strTmp.substring(counter,strTmp.length);

-     	counter = strTmp.length - 1;

-     	for (counter; counter>=0; counter--)

-     		if (strTmp.charAt(counter) != " ")

-     			break;

-     	return strTmp.substring(0, counter+1);

-     }

-     

-     function _TF_showAll(tb) {

-     	for (i=0;i<tb.rows.length;i++)

-     	{

-     		tb.rows[i].style.display = "";

-     	}

-     }

-     

-     function _TF_shouldShow(type, con, val) {

-      var sameCaseCon = con.toLowerCase();

-      var sameCaseVal = val.toLowerCase();

-     	var toshow=true;

-     	if (type != null) type = type.toLowerCase();

-     	switch (type)

-     	{

-     		case "item":

-     			var strarray = sameCaseVal.split(",");

-     			innershow = false;

-     			for (ss=0;ss<strarray.length;ss++){

-     				if (sameCaseCon==_TF_trimWhitespace(strarray[ss])){

-     					innershow=true;

-     					break;

-     				}

-     			}

-     			if (innershow == false)

-     				toshow=false;

-     		break

-     		case "full":

-     			if (sameCaseVal!=sameCaseCon)

-     				toshow = false;

-     		break

-     		case "substring":

-     			if (sameCaseVal.indexOf(sameCaseCon)<0)

-     				toshow = false;

-     		break

-     		default: //is "substring1" search

-     			if (sameCaseVal.indexOf(sameCaseCon)!=0) //pattern must start from 1st char

-     				toshow = false;

-     			if (sameCaseCon.charAt(con.length-1) == " ")

-     			{ //last char is a space, so lets do a full search as well

-     				if (_TF_trimWhitespace(con) != sameCaseVal)

-     					toshow = false;

-     				else

-     					toshow = true;

-     			}

-     		break

-     	}

-     	return toshow;

-     }

-     

-     function _TF_filterTable(tb, conditions) {

-     	//given an array of conditions, lets search the table

-     	for (i=0;i<tb.rows.length;i++)

-     	{

-     		var show = true;

-     		var rw = tb.rows[i];

-     		for (j=0;j<rw.cells.length;j++)

-     		{

-     			var cl = rw.cells[j];

-     			for (k=0;k<conditions.length;k++)

-     			{

-     				var colKey = cl.getAttribute("TF_colKey");

-     				if (colKey == null) //attribute not found

-     					continue; //so lets not search on this cell.

-     				if (conditions[k].name.toUpperCase() == colKey.toUpperCase())

-     				{

-     					var tbVal = cl.getAttribute("TF_colValue");

-     					var conVals = conditions[k].value;

-     					if (conditions[k].single) //single value

-     					{ 

-     						show = _TF_shouldShow(conditions[k].type, conditions[k].value, cl.getAttribute("TF_colValue"));

-     					} else { //multiple values

-     						for (l=0;l<conditions[k].value.length;l++)

-     						{

-     							innershow = _TF_shouldShow(conditions[k].type, conditions[k].value[l], cl.getAttribute("TF_colValue"));

-     							if (innershow == true) break;

-     						}

-     						if (innershow == false)

-     							show = false;

-     					}

-     				}

-     			}

-     			//if any condition has failed, then we stop the matching (due to AND behaviour)

-     			if (show == false)

-     				break;

-     		}

-     		if (show == true)

-     			tb.rows[i].style.display = "";

-     		else

-     			tb.rows[i].style.display = "none";

-     	}

-     }

-     

-     /** PUBLIC FUNCTIONS **/

-     //main function

-     function TF_filterTable(tb, frm) {

-     	var conditions = new Array();

-     	if (frm.style.display == "none") //filtering is off

-     		return _TF_showAll(tb);

-     

-     	//go thru each type of input elements to figure out the filter conditions

-     	var inputs = frm.elements;

-     	for (i=0;i<inputs.length;i++)

-     	{ //looping thru all INPUT elements

-     		if (inputs[i].getAttribute("TF_colKey") == null) //attribute not found

-     			continue; //we assume that this input field is not for us

-     		switch (inputs[i].type)

-     		{

-     			case "text":

-     			case "hidden":

-     				if(inputs[i].value != "")

-     				{

-     					index = conditions.length;

-     					conditions[index] = new Object;

-     					conditions[index].name = inputs[i].getAttribute("TF_colKey");

-     					conditions[index].type = inputs[i].getAttribute("TF_searchType");

-     					conditions[index].value = inputs[i].value;

-     					conditions[index].single = true;

-     				}

-     			break

-     		}

-     	}

-     	var inputs = frm.elements;

-     	//able to do multiple selection box

-     	for (i=0;i<inputs.length;i++)

-     	{ //looping thru all SELECT elements

-     		if (inputs[i].getAttribute("TF_colKey") == null) //attribute not found

-     			continue; //we assume that this input field is not for us

-        if( inputs[i].type != "select-one" && 

-            inputs[i].type != "select" && 

-            inputs[i].type != "select-multiple") // not of type select

-          continue; // only select will be processed

-     		var opts = inputs[i].options;

-     		var optsSelected = new Array();

-     		for (intLoop=0; intLoop<opts.length; intLoop++)

-     		{ //looping thru all OPTIONS elements

-     			if (opts[intLoop].selected && (opts[intLoop].getAttribute("TF_not_used") == null))

-     			{

-     				index = optsSelected.length;

-     				optsSelected[index] = opts[intLoop].value;

-     			}

-     		}

-     		if (optsSelected.length > 0) //has selected items

-     		{

-     			index = conditions.length;

-     			conditions[index] = new Object;

-     			conditions[index].name = inputs[i].getAttribute("TF_colKey");

-     			conditions[index].type = inputs[i].getAttribute("TF_searchType");

-     			conditions[index].value = optsSelected;

-     			conditions[index].single = false;

-     		}

-     	}

-     	//ok, now that we have all the conditions, lets do the filtering proper

-     	_TF_filterTable(tb, conditions);

-     }

-     

-     function TF_enableFilter(tb, frm, val) {

-     	if (val.checked) //filtering is on

-     	{

-     		frm.style.display = "";

-     	} else { //filtering is off

-     		frm.style.display = "none";

-     	}

-     	//refresh the table

-     	TF_filterTable(tb, frm);

-     }

-     

-     function TF_hide(tb){

-     	for (i=0;i<tb.rows.length;i++)

-     	{

-         // We will keep the first row, assuming that it has the title.

-         if ( i == 0){

-          tb.rows[0].style.display="";

-         } else {

-     			tb.rows[i].style.display = "none";

-         }

-      }

-     }

-     

-     function TF_hide_separator(tb, val){

-     	if (val.checked) //filtering is on

-      {

-       	for (i=0;i<tb.rows.length;i++)

-       	{

-       		var rw = tb.rows[i];

-       		for (j=0;j<rw.cells.length;j++)

-       		{

-       			var cl = rw.cells[j];

-            var isSeparator = cl.getAttribute("separator");

-  

-            if (isSeparator == null) // attribute not found

-              continue;

-  

-            rw.style.display="none";

-          } // cells

-        } // rows

-      } else {

-       	for (i=0;i<tb.rows.length;i++)

-       	{

-       		var rw = tb.rows[i];

-       		for (j=0;j<rw.cells.length;j++)

-       		{

-       			var cl = rw.cells[j];

-            var isSeparator = cl.getAttribute("separator");

-  

-            if (isSeparator == null) // attribute not found

-              continue;

-  

-            rw.style.display="";

-          } // cells

-        } // rows

-      }

-      

-     } // 

-

-     function TF_show(tb){

-     	for (i=0;i<tb.rows.length;i++)

-     	{

-     			tb.rows[i].style.display = "";

-      }

-     }

-

-     function _TF_get_value(input) {

-     	switch (input.type)

-     	{

-     		case "text":

-     			 return input.value;

-     		break

-     		case "select-one":

-     			if (input.selectedIndex > -1) //has value

-     				return input.options(input.selectedIndex).value;

-     			else

-     				return "";

-     		break;

-     	}

-     }

-]]></script>

-	</xsl:template>

-	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

-	<!--                        JAVASCIPTS AND CSS                         -->

-	<!-- ================================================================ -->

-	<xsl:template name="javascripts">

-		<meta http-equiv="expires" content="Fri, 24 Jan 1977 10:00:00 GMT"/>

-		<xsl:if test="$showFeatureInfo = 1">

-			<title>

-				<xsl:value-of select="$feature"/> Test Report </title>

-		</xsl:if>

-		<xsl:if test="not($showFeatureInfo = 1)">

-			<title> Test Report </title>

-		</xsl:if>

-		<xsl:value-of select="$cssFile" disable-output-escaping="yes"/>

-		<style type="text/css">

-

-          #dhtmltooltip{

-          position: absolute;

-          width: 500px;

-          border: 2px solid black;

-          padding: 2px;

-          background-color: lightyellow;

-          visibility: hidden;

-          z-index: 100;

-          text-align: center;

-          /*Remove below line to remove shadow. Below line should always appear last within this CSS*/

-          filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);

-          }

-

-        </style>

-	</xsl:template>

-</xsl:stylesheet>

diff --git a/v2/test/tools/lib/xsl/junit.css b/v2/test/tools/lib/xsl/junit.css
deleted file mode 100755
index 6ef8abd..0000000
--- a/v2/test/tools/lib/xsl/junit.css
+++ /dev/null
@@ -1,52 +0,0 @@
-<style type="text/css">

-      body {

-        font:normal 78% verdana,arial,helvetica;

-        color:#000000;

-      }

-      pre {

-        font-size: 120%;        

-      }

-      table tr td, table tr th {

-          font-size: 68%;

-      }

-      table.details tr th{

-        font-weight: bold;

-        text-align:left;

-        background:#a6caf0;

-      }

-      table.details tr td{

-        background:#eeeee0;

-      }

-      

-      p {

-        line-height:1.5em;

-        margin-top:0.5em; margin-bottom:1.0em;

-      }

-      h1 {

-        margin: 0px 0px 5px; font: 165% verdana,arial,helvetica

-      }

-      h2 {

-        margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica

-      }

-      h3 {

-        margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica

-      }

-      h4 {

-        margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica

-      }

-      h5 {

-        margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica

-      }

-      h6 {

-        margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica

-      }

-      .Error {

-        font-weight:bold; color:red;

-      }

-      .Failure {

-        font-weight:bold; color:purple;

-      }

-      .Properties {

-        text-align:right;

-      }

-      </style>

diff --git a/v2/test/tools/src/tools/JUnit/JUnitXResultFormatter.java b/v2/test/tools/src/tools/JUnit/JUnitXResultFormatter.java
deleted file mode 100755
index 7cce0ff..0000000
--- a/v2/test/tools/src/tools/JUnit/JUnitXResultFormatter.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package tools.JUnit;

-

-import junit.framework.TestListener;

-

-import java.io.OutputStream;

-

-/**

- * User: rajus

- * Date: May 26, 2004

- */

-public interface JUnitXResultFormatter extends TestListener

-{

-    /** Signals start of run */

-    public void startRun();

-

-    /** Signals end of run */

-    public void endRun();

-

-    /** Sets an outputstream to output logs to */

-    public void setOutput(OutputStream out);

-

-    /** Tells an ResultFormatter to show stdout/stderr if its capturing

-     * the streams

-     */

-    public void showTestOutput(boolean show);

-    /* Any class implementing this will automatically have to

-     * implement TestListener

-     */

-}

diff --git a/v2/test/tools/src/tools/JUnit/JUnitXRunner.java b/v2/test/tools/src/tools/JUnit/JUnitXRunner.java
deleted file mode 100755
index 7ed440a..0000000
--- a/v2/test/tools/src/tools/JUnit/JUnitXRunner.java
+++ /dev/null
@@ -1,260 +0,0 @@
-package tools.JUnit;
-
-import junit.runner.BaseTestRunner;
-import junit.runner.TestRunListener;
-import junit.framework.*;
-
-import java.io.*;
-import java.util.*;
-
-/**
- * User: rajus
- * Date: May 25, 2004
- */
-
-public class JUnitXRunner extends BaseTestRunner
-                          implements JUnitXResultFormatter
-{
-    public static void main(String args[])
-        throws Exception
-    {
-        // TODO: A good clean way to pass arguments would be using something
-        // like GetOpt, and make it flexible to change the order of the
-        // arguments. right now we impose a rigid sequence on the arguments
-
-        // TODO: allow specifying a single JUnit class to run.. would ideally
-        // follow the above TODO.
-
-        File file = new File(args[0]);
-        String resListener = null;
-        String outFile = null;
-        boolean showOutput = false;
-        if (args.length > 1)
-        {
-            if (args[1].equalsIgnoreCase("showoutput"))
-                showOutput = true;
-            else
-            {
-                resListener = args[1];
-                if (args.length < 3)
-                    throw new RuntimeException("No output file specified");
-                outFile = args[2];
-            }
-        }
-
-        // do we have more?
-        if (args.length > 3)
-        {
-            if (args[3].equalsIgnoreCase("showoutput"))
-                showOutput = true;
-        }
-
-        ArrayList files = new ArrayList();
-        try
-        {
-            BufferedReader in = new BufferedReader(new FileReader(file));
-            String line;
-            while ((line = in.readLine()) != null)
-                files.add(line);
-            in.close();
-
-        } catch (Exception e)
-        {
-            e.printStackTrace();
-        }
-
-        JUnitXRunner runner;
-        if (resListener != null)
-        {
-            // Try to instantiate a class of resListener
-            Object obj;
-            try
-            {
-                Class c = Class.forName(resListener);
-                obj = c.newInstance();
-            } catch (Exception e)
-            {
-                throw new RuntimeException(e);
-            }
-            JUnitXResultFormatter fmt = (JUnitXResultFormatter) obj;
-            runner = new JUnitXRunner(files, fmt, outFile, showOutput);
-        }
-        else
-            runner = new JUnitXRunner(files, showOutput);
-
-        int nFailureCount=runner.runTests();
-        System.exit(nFailureCount);
-    }
-
-    /////////////////////////////////////////////////////////////////////////
-    // Runner implementation
-
-    ArrayList classes;
-    ArrayList tests;
-    int testCount = 0;
-    JUnitXResultFormatter _listener = null;
-    String outFile = null;
-    boolean showOutput = false;
-
-    public JUnitXRunner(ArrayList classes, boolean showOutput)
-    {
-        this.classes = classes;
-        tests = new ArrayList();
-        _listener = this;
-        this.showOutput = showOutput;
-    }
-
-    public JUnitXRunner(ArrayList classes,
-                        JUnitXResultFormatter listener,
-                        String outFile,
-                        boolean showOutput)
-    {
-        this.classes = classes;
-        tests = new ArrayList();
-        _listener = listener;
-        this.outFile = outFile;
-        this.showOutput = showOutput;
-    }
-
-
-    public int runTests()
-    {
-        collectTests();
-        Iterator itr = tests.iterator();
-
-        TestResult res = new TestResult();
-        res.addListener(_listener);
-
-        try
-        {
-            if (outFile != null)
-            {
-                FileOutputStream fos = new FileOutputStream(new File(outFile));
-                _listener.setOutput(fos);
-            }
-        } catch (FileNotFoundException fnfe)
-        {
-            throw new RuntimeException("Unable to initialize output to file "
-                                       + outFile + "\n" + fnfe.getMessage());
-        }
-        _listener.showTestOutput(showOutput);
-        _listener.startRun();
-        while (itr.hasNext())
-        {
-            Test test = (Test) itr.next();
-            test.run(res);
-        }
-        _listener.endRun();
-        return res.failureCount();
-    }
-
-    private void collectTests()
-    {
-        Iterator itr = classes.iterator();
-
-        while (itr.hasNext())
-        {
-            Test suite = null;
-            String className = (String) itr.next();
-            suite = getTest(className);
-
-            if (suite != null && suite.countTestCases() > 0)
-            {
-                tests.addAll(getSubTests(suite));
-            } else
-            {
-                //System.out.println("No tests found in " + testClassName);
-                // Ignore files which are not Junit tests.
-            }
-        }
-    }
-
-    private Collection getSubTests(Test test)
-    {
-        Collection ret = new ArrayList();
-
-        if (TestSuite.class.isAssignableFrom(test.getClass()))
-        {
-            Enumeration e = ((TestSuite) test).tests();
-            while (e.hasMoreElements())
-            {
-                ret.addAll(getSubTests((Test)e.nextElement()));
-            }
-        }
-        else if (TestCase.class.isAssignableFrom(test.getClass()))
-        {
-            ret.add(((TestCase)test));
-        }
-        else
-        {
-            System.out.println("Could not find any tests in " + test.toString());
-        }
-
-        return ret;
-    }
-
-    // JUnitXResultFormatter Implementation
-    public void startRun()
-    {
-
-    }
-
-    public void endRun()
-    {
-
-    }
-
-    public void setOutput(OutputStream out)
-    {
-        // Ignored. Custom ResultFormatters will use
-    }
-
-    public void showTestOutput(boolean show)
-    {
-        // Ignore. We don't capture stdout or stderr.
-    }
-
-    // TestRunListener implementation
-	public void testStarted(String testName)
-    {
-        System.out.println("\nStarted: " + testName);
-    }
-	public void testEnded(String testName)
-    {
-        System.out.println("Ended: " + testName);
-    }
-
-	public void testFailed(int status, Test test, Throwable t)
-    {
-        if (status == TestRunListener.STATUS_FAILURE)
-            System.out.println("Failure: ");
-        else
-            System.out.println("Error: ");
-
-        System.out.println(getFilteredTrace(t));
-    }
-
-    protected void runFailed(String message)
-    {
-        //System.out.println("RUN had failures");
-    }
-
-    /* This is important - not setting this to false expilcitly
-     * will cause Junit to create a new classloader instance for
-     * every class it loads, causing a OOM sooner or later.
-     *
-     * @see junit.runner.BaseTestRunner#useReloadingTestSuiteLoader()
-     */
-    protected boolean useReloadingTestSuiteLoader()
-    {
-        return false;
-    }
-
-    private String getStackTraceAsString(Throwable t)
-    {
-        StringWriter sw = new StringWriter();
-        t.printStackTrace(new PrintWriter(sw, true));
-
-        return sw.toString();
-    }
-}
diff --git a/v2/test/tools/src/tools/JUnit/JUnitXTask.java b/v2/test/tools/src/tools/JUnit/JUnitXTask.java
deleted file mode 100755
index 8a995d3..0000000
--- a/v2/test/tools/src/tools/JUnit/JUnitXTask.java
+++ /dev/null
@@ -1,224 +0,0 @@
-package tools.JUnit;
-
-import org.apache.tools.ant.DirectoryScanner;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.types.FileSet;
-
-import java.util.Vector;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.BufferedWriter;
-
-/**
- * <p>This task runs tests from the JUnit testing framework. The latest version
- * of JUnit can be found at <a href="http://www.junit.org">http://www.junit.org</a>.
- *
- * <p><strong>Note:</strong> This task depends on external libraries not included
- * in the Ant distribution.  See <a href="http://ant.apache.org/manual/install.html#librarydependencies">
- *
- * Library Dependencies</a> for more information.
- * </p>
- * <p>
- * <strong>Note</strong>:
- * You must have <code>junit.jar</code> and the class files for the
- * <code>&lt;junit&gt;</code> task in the same classpath.
- * You can do one of:
- * </p><ol>
- * <li>
- * Put both <code>junit.jar</code> and the optional tasks jar file in
- *
- * <code>ANT_HOME/lib</code>.
- * </li>
- * <li>
- * Do not put either in <code>ANT_HOME/lib</code>, and instead
- * include their locations in your <code>CLASSPATH</code> environment variable.
- * </li>
- * <li>
- * Do neither of the above, and instead, specify their locations using
- * a <code>&lt;classpath&gt;</code> element in the build file.
- *
- * See <a href="http://ant.apache.org/faq.html#delegating-classloader" target="_top">the
- * FAQ</a> for details.</p>
- *
- *
- * <pre>
- * Usage:
- * This task is derived from the Java task and supports all attributes and nested
- * elements of the Java task. Additionally it supports the following attributes
- *
- * formatter       =  Optional class that implements tools.JUnit.JUnitXResultFormatter
- *                    to be passed to the JUnit runner for formatting the results
- * reportFile      =  File for the formatter to write too.
- *                    (Required if formatter is specified. The formatter may choose
- *                     to ignore this)
- * showOutput      =  Tells the formatter to show the output of the tests.
- *                    The default formatter ignores this flag, since it anyway
- *                    displays everything to stdout/stderr.
- *
- * The tests to run are specified using nested <code>Fileset</code>s elements
- * The task picks up any .class or .java files from the filesets and tries to run
- * them as JUnit tests.
- * </pre>
- */
-
-public class JUnitXTask extends org.apache.tools.ant.taskdefs.Java
-{
-    // Task attributes vars
-    private String reportFile;
-    private boolean showOutput = false;
-    private String formatterClass;
-
-    /** the list of filesets containing the testcase filename rules */
-    private Vector filesets = new Vector();
-
-    /**
-     * Add a new fileset instance to this batchtest. Whatever the fileset is,
-     * only filename that are <tt>.java</tt> or <tt>.class</tt> will be
-     * considered as 'candidates'.
-     * @param     fs the new fileset containing the rules to get the testcases.
-     */
-    public void addFileSet(FileSet fs)
-    {
-        filesets.addElement(fs);
-    }
-
-    // Additional Attributes
-    /**
-     * Set the file to write the test run report to
-     * @param reportFile
-     */
-    public void setReportFile(String reportFile)
-    {
-        this.reportFile = reportFile;
-    }
-
-    /**
-     * Sets the class to be used as the Result formatter for the test results
-     * This class should implement tools.JUnit.JUnitXResultFormatter
-     * @param fmtClass
-     */
-    public void setFormatter(String fmtClass)
-    {
-        this.formatterClass = fmtClass;
-    }
-
-    /**
-     * Controls whether the output from the tests is sent to stdout/stderr.
-     * @param show
-     */
-    public void setShowOutput(boolean show)
-    {
-        this.showOutput = show;
-    }
-
-    public void execute() throws BuildException
-    {
-        validate();
-        String[] files = getFilenames();
-        File temp=null;
-        String fName=Long.toString(System.currentTimeMillis());
-                                      
-      
-            //issue w/ JDK 1.4 IOException
-            // temp = File.createTempFile(,null);
-            temp=new File(fName);
-
-        try{
-             temp.deleteOnExit();
-             // System.out.println(temp.toString());
-            BufferedWriter out = new BufferedWriter(new FileWriter(temp));
-            System.out.println(temp.toString());
-            for (int i = 0; i < files.length; i++)
-                out.write(javaToClass(files[i]) + "\n");
-            out.close();
-        } catch (java.io.IOException ioe)
-        {
-            throw new BuildException("Could not write out temporary file for " +
-                                     "passing arguments to the JUnit runner: " +
-                                     ioe.getMessage());
-        }
-
-        super.setClassname("tools.JUnit.JUnitXRunner");
-        // Args: tempFile reportFormatter outFile <showOutput>
-        super.createArg().setFile(temp);
-        if (formatterClass != null)
-        {
-            super.createArg().setValue(this.formatterClass);
-            super.createArg().setValue(this.reportFile);
-        }
-        if (showOutput)
-            super.createArg().setValue("showoutput");
-        super.execute();
-    }
-
-    /**
-     * Validates the attributes
-     */
-    private void validate()
-    {
-        // Check if any filesets have been specified
-        if (filesets.size() == 0)
-            throw new BuildException("You have to specify atleast one Fileset");
-
-        // If Custom ResultFormatter is specified, then an outfile should be
-        // specified. The default ResultFormatter write only to Stdout
-        if ((formatterClass != null) && (reportFile == null))
-            throw new BuildException("Using custom ReportFormatter: " +
-                                     "reportFile attribute should be specified");
-
-    }
-
-     /**
-     * Iterate over all filesets and return the filename of all files
-     * that end with <tt>.java</tt> or <tt>.class</tt>. This is to avoid
-     * wrapping a <tt>JUnitTest</tt> over an xml file for example. A Testcase
-     * is obviously a java file (compiled or not).
-     * @return an array of filenames without their extension. As they should
-     * normally be taken from their root, filenames should match their fully
-     * qualified class name (If it is not the case it will fail when running the test).
-     * For the class <tt>org/apache/Whatever.class</tt> it will return <tt>org/apache/Whatever</tt>.
-     */
-    private String[] getFilenames()
-    {
-        Vector v = new Vector();
-        final int size = this.filesets.size();
-        for (int j = 0; j < size; j++)
-        {
-            FileSet fs = (FileSet) filesets.elementAt(j);
-            DirectoryScanner ds = fs.getDirectoryScanner(project);
-            ds.scan();
-            String[] f = ds.getIncludedFiles();
-            for (int k = 0; k < f.length; k++)
-            {
-                String pathname = f[k];
-                if (pathname.endsWith(".java"))
-                {
-                    v.addElement(pathname.substring(0, pathname.length() - ".java".length()));
-                } else if (pathname.endsWith(".class"))
-                {
-                    // DOn't try to run inner classes
-                    if ( pathname.indexOf("$") == -1 )
-                        v.addElement(pathname.substring(0, pathname.length() - ".class".length()));
-                }
-            }
-        }
-
-        String[] files = new String[v.size()];
-        v.copyInto(files);
-        return files;
-    }
-
-    /**
-     * Convenient method to convert a pathname without extension to a
-     * fully qualified classname. For example <tt>org/apache/Whatever</tt> will
-     * be converted to <tt>org.apache.Whatever</tt>
-     * @param filename the filename to "convert" to a classname.
-     * @return the classname matching the filename.
-     */
-    public static final String javaToClass(String filename)
-    {
-        return filename.replace(File.separatorChar, '.');
-    }
-
-
-}
diff --git a/v2/test/tools/src/tools/JUnit/SimpleResultFormatter.java b/v2/test/tools/src/tools/JUnit/SimpleResultFormatter.java
deleted file mode 100755
index 32119f3..0000000
--- a/v2/test/tools/src/tools/JUnit/SimpleResultFormatter.java
+++ /dev/null
@@ -1,380 +0,0 @@
-/*

- * Copyright  2000-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.

- *

- */

-

-package tools.JUnit;

-

-import java.io.*;

-import java.text.NumberFormat;

-import java.util.*;

-

-import junit.framework.AssertionFailedError;

-import junit.framework.Test;

-import org.apache.tools.ant.BuildException;

-import org.apache.tools.ant.taskdefs.optional.junit.*;

-

-

-/**

- * Prints plain text output of the test to a specified Writer.

- *

- * @author Stefan Bodewig

- */

-

-public class SimpleResultFormatter implements JUnitResultFormatter {

-

-     public static int TEST_SUCCESS = 0;

-     public static int TEST_FAILURE = 1;

-     public static int TEST_ERROR = 2;

-     public static int TEST_UNKNOWN = 3;

-

-    // Lets capture STDOUT and STDERR

-    ByteArrayOutputStream bOut = new ByteArrayOutputStream();

-    ByteArrayOutputStream bErr = new ByteArrayOutputStream();

-

-    PrintStream _out;

-    PrintStream _err;

-    private TestRecord testRecord;

-    Collection records;

-

-    /**

-     * Formatter for timings.

-     */

-    private NumberFormat nf = NumberFormat.getInstance();

-    /**

-     * Timing helper.

-     */

-    private Hashtable testStarts = new Hashtable();

-    /**

-     * Where to write the log to.

-     */

-    private OutputStream out;

-    /**

-     * Helper to store intermediate output.

-     */

-    private StringWriter inner;

-    /**

-     * Convenience layer on top of {@link #inner inner}.

-     */

-    private PrintWriter wri;

-    /**

-     * Suppress endTest if testcase failed.

-     */

-    private Hashtable failed = new Hashtable();

-

-    private String systemOutput = null;

-    private String systemError = null;

-

-    public SimpleResultFormatter() {

-        inner = new StringWriter();

-        wri = new PrintWriter(inner);

-    }

-

-    public void setOutput(OutputStream out) {

-        this.out = out;

-    }

-

-    public void setSystemOutput(String out) {

-        // We will be capturing Stdout and Stderr internally so this is

-        // redundant

-        //systemOutput = out;

-    }

-

-    public void setSystemError(String err) {

-        // We will be capturing Stdout and Stderr internally so this is

-        // redundant

-        //systemError = err;

-    }

-

-    /**

-     * Signals starting of a Suite of tests

-     */

-    public void startTestSuite(JUnitTest suite) {

-        records = new ArrayList();

-    }

-

-    /**

-     * The whole testsuite ended.

-     */

-    public void endTestSuite(JUnitTest suite) throws BuildException {

-        String newLine = System.getProperty("line.separator");

-        StringBuffer sb = new StringBuffer("Testsuite: ");

-        sb.append(suite.getName());

-        sb.append(newLine);

-        sb.append("Tests run: ");

-        sb.append(suite.runCount());

-        sb.append(", Failures: ");

-        sb.append(suite.failureCount());

-        sb.append(", Errors: ");

-        sb.append(suite.errorCount());

-        sb.append(", Time elapsed: ");

-        sb.append(nf.format(suite.getRunTime() / 1000.0));

-        sb.append(" sec");

-        sb.append(newLine);

-        //sb.append("DEBUG: " + records.size());

-        sb.append("======================================================");

-        Iterator it = records.iterator();

-

-        while (it.hasNext())

-        {

-            TestRecord rec = (TestRecord) it.next();

-            sb.append(newLine);

-            sb.append("Test: " + rec.getTestname()).append(newLine);

-            sb.append("Result: " + rec.getStatusString()).append(newLine);

-            float diff = rec.getEndTime() - rec.getStartTime();

-            sb.append("Start time: " + rec.getStartTime()).append(newLine);

-            sb.append("End time  : " + rec.getEndTime()).append(newLine);

-            sb.append("Execution time: " + diff/1000).append(newLine);

-            sb.append("[STDOUT]").append(newLine);

-            sb.append(rec.getSysout()).append(newLine);

-            sb.append("[STDERR]").append(newLine);

-            sb.append(rec.getSyserr()).append(newLine);

-

-            if (rec.isFailure())

-            {

-                sb.append("[EXCEPTION]").append(newLine);

-                sb.append(JUnitTestRunner.getFilteredTrace(rec.getThrowable()));

-                sb.append(newLine);

-            }

-            sb.append("======================================================");

-        }

-

-

-

-        /*

-        // append the err and output streams to the log

-        if (systemOutput != null && systemOutput.length() > 0) {

-            sb.append("------------- Standard Output ---------------")

-                .append(newLine)

-                .append(systemOutput)

-                .append("------------- ---------------- ---------------")

-                .append(newLine);

-        }

-

-        if (systemError != null && systemError.length() > 0) {

-            sb.append("------------- Standard Error -----------------")

-                .append(newLine)

-                .append(systemError)

-                .append("------------- ---------------- ---------------")

-                .append(newLine);

-        }

-

-        sb.append(newLine);

-        */

-        if (out != null) {

-            try {

-                out.write(sb.toString().getBytes());

-                wri.close();

-                //out.write(inner.toString().getBytes());

-                out.flush();

-            } catch (IOException ioex) {

-                throw new BuildException("Unable to write output", ioex);

-            } finally {

-                if (out != System.out && out != System.err) {

-                    try {

-                        out.close();

-                    } catch (IOException e) {

-                        // ignore

-                    }

-                }

-            }

-        }

-

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>A new Test is started.

-     */

-    public void startTest(Test t) {

-        // Lets start the capture

-        System.out.flush();

-        System.err.flush();

-

-        _out = System.out;

-        _err = System.err;

-        bOut.reset();

-        bErr.reset();

-        System.setOut(new PrintStream(bOut));

-        System.setErr(new PrintStream(bErr));

-

-        // Store the previous record

-

-        testRecord = new TestRecord(t.toString());

-        testRecord.setStartTime(System.currentTimeMillis());

-        testStarts.put(t, new Long(System.currentTimeMillis()));

-        failed.put(t, Boolean.FALSE);

-

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>A Test is finished.

-     */

-    public void endTest(Test test) {

-        long endTime = System.currentTimeMillis();

-

-        System.out.flush();

-        System.err.flush();

-        // Update the test record

-        testRecord.setSysout(bOut.toString());

-        testRecord.setSyserr(bErr.toString());

-        testRecord.setEndTime(endTime);

-        // If the test did not fail, record it as a success

-        if (!testRecord.isFailure())

-            testRecord.setStatus(TEST_SUCCESS);

-

-        // Add it to the set

-        records.add(testRecord);

-

-        System.setOut(_out);

-        System.setErr(_err);

-    }

-

-    /**

-     * Interface TestListener for JUnit &gt; 3.4.

-     *

-     * <p>A Test failed.

-     */

-    public void addFailure(Test test, AssertionFailedError t) {

-        //addFailure(test, (Throwable) t);

-        testRecord.setStatus(TEST_FAILURE);

-        testRecord.setThrowable(t);

-        // Record end time now..

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>An error occured while running the test.

-     */

-    public void addError(Test test, Throwable t) {

-        testRecord.setStatus(TEST_ERROR);

-        testRecord.setThrowable(t);

-    }

-

-    /**

-     * Utility class to record per test data like test name, status, start

-     * and end time, STDOUT, STDERR from text execution etc.

-     */

-    private class TestRecord

-    {

-        public TestRecord(String name)

-        {

-            setTestname(name);

-        }

-

-        private String testname;

-        private String sysout;

-        private String syserr;

-        private Throwable t;

-        private long startTime;

-        private long endTime;

-        private int status;

-        boolean failed = false;

-

-        private String testUnitName;

-        private String testLogicalName;

-

-        public void setTestname(String name)

-        {

-            this.testname = name;

-        }

-

-        public String getTestname()

-        {

-            return testname;

-        }

-

-        public void setStatus(int status)

-        {

-            this.status = status;

-            if (status == TEST_ERROR || status == TEST_FAILURE)

-                failed = true;

-        }

-

-        public int getStatus()

-        {

-            return status;

-        }

-

-        public String getStatusString()

-        {

-            return (status == TEST_SUCCESS)?"SUCCESS":

-                        (status == TEST_ERROR)?"ERROR":"FAILURE";

-        }

-

-        public boolean isFailure()

-        {

-            return failed;

-        }

-

-        public String getSysout()

-        {

-            return sysout;

-        }

-

-        public void setSysout(String sysout)

-        {

-            this.sysout = sysout;

-        }

-

-        public String getSyserr()

-        {

-            return syserr;

-        }

-

-        public void setSyserr(String syserr)

-        {

-            this.syserr = syserr;

-        }

-

-        public Throwable getThrowable()

-        {

-            return t;

-        }

-

-        public void setThrowable(Throwable t)

-        {

-            this.t = t;

-        }

-

-       public long getStartTime()

-        {

-            return startTime;

-        }

-

-        public void setStartTime(long startTime)

-        {

-            this.startTime = startTime;

-        }

-

-        public long getEndTime()

-        {

-            return endTime;

-        }

-

-        public void setEndTime(long endTime)

-        {

-            this.endTime = endTime;

-        }

-

-    }

-

-

-

-} // PlainJUnitResultFormatter

diff --git a/v2/test/tools/src/tools/JUnit/TestReportMergeUtility.java b/v2/test/tools/src/tools/JUnit/TestReportMergeUtility.java
deleted file mode 100755
index 80a0102..0000000
--- a/v2/test/tools/src/tools/JUnit/TestReportMergeUtility.java
+++ /dev/null
@@ -1,284 +0,0 @@
-package tools.JUnit;

-

-import junit.framework.TestCase;

-import junit.framework.Assert;

-

-import noNamespace.TestLogDocument.TestLog;

-import noNamespace.TestLogDocument.TestLog.HeaderInfo;

-import noNamespace.*;

-import noNamespace.TestResultContainerDocument.TestResultContainer;

-

-import java.util.*;

-import java.io.File;

-import java.io.IOException;

-import java.io.FileOutputStream;

-import java.text.SimpleDateFormat;

-

-import org.apache.xmlbeans.XmlOptions;

-

-/**

- * Utility to merge JUnit Xml log files generated by the custom Xml

- * ResultFormatter plugin for Ant's <code>JUnit</code> task.

- */

-

-public class TestReportMergeUtility

-{

-    public static int INFO_VERBOSE = 3;

-    public static int INFO_NORMAL = 2;

-    public static int INFO_SILENT = 1;

-

-    private int _infoLevel = INFO_NORMAL;

-    private File dir, outFile;

-

-

-    public TestReportMergeUtility(File baseDir, File outFile, int infoLevel)

-    {

-        this.dir = baseDir;

-        this.outFile = outFile;

-        this._infoLevel = infoLevel;

-    }

-

-    public void info(String message, int infoLevel)

-    {

-        if (infoLevel <= this._infoLevel)

-            System.out.println(message);

-    }

-

-    public void doMerge()

-        throws IOException

-    {

-        TestLogDocument logDoc = TestLogDocument.Factory.newInstance();

-        TestLog log = logDoc.addNewTestLog();

-        File[] files = getXmlFiles(dir);

-        int testCount = 0;

-        ArrayList results = new ArrayList();

-        for (int i = 0; i < files.length; i++)

-        {

-            try

-            {

-                TestResultContainerDocument doc =

-                        TestResultContainerDocument.Factory.parse(files[i]);

-                TestResultType[] resArr =

-                        doc.getTestResultContainer().getTestResultArray();

-                for (int j = 0; j < resArr.length; j++)

-                {

-                    log.addNewTestResult();

-                    log.setTestResultArray(testCount++, resArr[j]);

-                }

-                info("Processed: " + files[i].getAbsolutePath(), INFO_VERBOSE);

-            }

-            catch (org.apache.xmlbeans.XmlException xe)

-            {

-                // Possible parse error

-                info("Could not process " + files[i].getAbsolutePath(), INFO_NORMAL);

-                info(xe.getMessage(), INFO_NORMAL);

-            }

-        }

-        // Populate the attributes for test-log

-

-        // testtype

-        String testtype = System.getProperty("TESTTYPE", "AUTO");

-        if (testtype.equalsIgnoreCase("AUTO"))

-            log.setTesttype(TestLog.Testtype.AUTOMATED);

-        else

-            log.setTesttype(TestLog.Testtype.MANUAL);

-

-        // runid

-        String dateFormatStr = "_yy_MMM_dd_HH_mm_ss_SS";

-        String dateStr = new SimpleDateFormat(dateFormatStr).format(new Date());

-        String defRunId = System.getProperty("user.name").toUpperCase() + dateStr;

-        String runId = System.getProperty("RUNID", defRunId);

-        log.setRunid(runId);

-

-        // hostname

-        String hostname;

-        try

-        {

-            hostname = java.net.InetAddress.getLocalHost().getHostName();

-        } catch (Exception e)

-        {

-            // Ignore.. not critical

-            hostname = "UNKNOWN_HOST";

-            info("Could not get Hostname. Using UNKNOWN_HOST", INFO_VERBOSE);

-        }

-        log.setHostname(hostname);

-

-        // TODO: set Defaults/check sysprop for other attributes

-

-        // Add <environment> element

-        EnvironmentType env = log.addNewEnvironment();

-        Map envMap = new HashMap();

-        envMap.put("JVM_NAME", System.getProperty("java.vm.name"));

-        envMap.put("JVM_VENDOR", System.getProperty("java.vm.vendor"));

-        envMap.put("JVM_VERSION", System.getProperty("java.vm.version"));

-        envMap.put("OS", System.getProperty("os.name"));

-        String defFreq = "checkin";

-        envMap.put("Frequency", System.getProperty("test.run.frequency", defFreq));

-

-        Iterator itr = envMap.keySet().iterator();

-        int envCount = 0;

-        while (itr.hasNext())

-        {

-            EnvironmentType.EnvAttribute envAttr = env.addNewEnvAttribute();

-            String name = (String) itr.next();

-            String value = (String) envMap.get(name);

-            envAttr.setValue(value);

-            envAttr.setName(name);

-        }

-

-        // Add <header-info> element

-        HeaderInfo hdrInfo = log.addNewHeaderInfo();

-        hdrInfo.setResultcount(Integer.toString(testCount));

-        hdrInfo.setChecksum(Integer.toString(testCount));

-        hdrInfo.setExecdate(log.getTestResultArray(0).getExectime());

-        hdrInfo.setExecaccount(System.getProperty("user.name"));

-

-        XmlOptions opts = new XmlOptions().setSavePrettyPrint();

-

-        // Write it out the outfile

-        FileOutputStream fos = null;

-        try

-        {

-            outFile.delete();

-            fos = new FileOutputStream(outFile);

-            fos.write(logDoc.xmlText(opts).getBytes());

-            info("Log files merged to " + outFile.getAbsolutePath(), INFO_NORMAL);

-        }

-        catch(IOException ioe)

-        {

-            info("Could not write to outfile file: " + outFile.getAbsolutePath(),

-                 INFO_NORMAL);

-            info(ioe.getMessage(), INFO_NORMAL);

-        }

-        finally

-        {

-            if (fos != null)

-                fos.close();

-        }

-

-    }

-

-    public File[] getXmlFiles(File dir)

-        throws IOException

-    {

-        if (dir.isFile() || !dir.exists())

-            throw new IOException("Not a directory: " + dir.getAbsolutePath());

-

-        return dir.listFiles(new XmlFileFilter());

-    }

-

-

-    public class XmlFileFilter implements java.io.FileFilter

-    {

-        public boolean accept(File pathname)

-        {

-            if (pathname == null)

-                return false;

-            String filename = pathname.getAbsolutePath();

-            int index = filename.lastIndexOf(".");

-            if (filename.substring(index+1).equalsIgnoreCase("xml"))

-                return true;

-            return false;

-        }

-    }

-

-    //////////////////////////////////////////////////////////////////

-    // Main

-    public static void main(String args[])

-        throws Exception

-    {

-        int level = INFO_NORMAL; // Default: Normal

-        File baseDir = null;

-        File outFile = null;

-        // Process the arguments

-        for (int i = 0; i < args.length; i++)

-        {

-            String arg = args[i];

-            if (arg.charAt(0) == '-')

-            {

-                if (arg.equals("-silent"))

-                    level = INFO_SILENT; // level: Silent

-                else if (arg.equals("-normal"))

-                    level = INFO_NORMAL; // level: Normal

-                else if (arg.equals("-verbose"))

-                    level = INFO_VERBOSE; // level: Verbose

-                continue;

-            }

-

-            int index = arg.indexOf('=');

-            if (index == -1)

-                continue;     // Not a valid argument.. ignore.

-            if (arg.substring(0, index).equals("dir"))

-            {

-                baseDir = new File(arg.substring(index+1));

-                continue;

-            }

-            if (arg.substring(0, index).equals("outfile"))

-            {

-                outFile = new File(arg.substring(index+1));

-                continue;

-            }

-        }

-

-        // Verify baseDir and outfile

-        if (baseDir == null)

-            usage("Specify the directory containing the log files", true);

-        if (outFile == null)

-            usage("Specify the file to write the merged log", true);

-

-        // Check validity of basedir and outfile

-        if (!baseDir.isDirectory())

-            usage("The 'dir' specified is not a directory: "

-                  + baseDir.toString(),

-                  true);

-        if (outFile.exists() && !outFile.isFile())

-            usage("The output file specified is not a valid file: "

-                  + outFile.toString(),

-                  true);

-

-        // Everything looks good.

-        new TestReportMergeUtility(baseDir, outFile, level).doMerge();

-    }

-

-    static void println(Object O)

-    {

-        System.out.println(O.toString());

-    }

-

-    public static void usage()

-    {

-        usage(null, false);

-    }

-

-    public static void usage(String extraMessage)

-    {

-        usage(extraMessage, false);

-    }

-

-    public static void usage(String extraMessage, boolean exit)

-    {

-        if ((extraMessage != null) && (extraMessage.trim().length() > 0))

-            println(extraMessage);

-

-        println("*** JUnit Xml Log Merge tool ***");

-        println("Usage:");

-        println("TestReportMergeUtility dir=<report dir> outfile=<outputfile> -<level>");

-        println("");

-        println("Where");

-        println("         dir       - Directory containing report files to merge");

-        println("                     All .xml files in this folder will be processed");

-        println("         outfile   - The file to write out the merged Xml file");

-        println("         -<level>  - Optional verbosity level");

-        println("          silent   - No messages will be printed during processing");

-        println("          normal   - A message will be printed for every time that");

-        println("                     an error occurs when processing a file");

-        println("          verbose  - A message will be printed for every file processed");

-

-        if (exit)

-            System.exit(1);

-    }

-

-

-

-

-}
\ No newline at end of file
diff --git a/v2/test/tools/src/tools/JUnit/XmlResultFormatter.java b/v2/test/tools/src/tools/JUnit/XmlResultFormatter.java
deleted file mode 100755
index 25a786e..0000000
--- a/v2/test/tools/src/tools/JUnit/XmlResultFormatter.java
+++ /dev/null
@@ -1,477 +0,0 @@
-/*

- * Copyright  2000-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.

- *

- */

-

-package tools.JUnit;

-

-import java.io.*;

-import java.text.NumberFormat;

-import java.util.*;

-

-import junit.framework.AssertionFailedError;

-import junit.framework.Test;

-import junit.framework.TestCase;

-import org.apache.tools.ant.BuildException;

-import org.apache.tools.ant.taskdefs.optional.junit.*;

-import noNamespace.TestResultContainerDocument;

-import noNamespace.TestResultContainerDocument.TestResultContainer;

-import noNamespace.TestResultType;

-import noNamespace.TestResultType.ExecutionOutput;

-import org.apache.xmlbeans.XmlOptions;

-

-

-/**

- * Prints plain text output of the test to a specified Writer.

- *

- * @author Stefan Bodewig

- */

-

-public class XmlResultFormatter implements JUnitResultFormatter {

-

-     public static int TEST_SUCCESS = 0;

-     public static int TEST_FAILURE = 1;

-     public static int TEST_ERROR = 2;

-     public static int TEST_UNKNOWN = 3;

-

-    // Lets capture STDOUT and STDERR

-    ByteArrayOutputStream bOut = new ByteArrayOutputStream();

-    ByteArrayOutputStream bErr = new ByteArrayOutputStream();

-

-    PrintStream _out;

-    PrintStream _err;

-    private TestRecord testRecord;

-    Collection records;

-

-    JUnitTest currentSuite;

-    /**

-     * Formatter for timings.

-     */

-    private NumberFormat nf = NumberFormat.getInstance();

-    /**

-     * Timing helper.

-     */

-    private Hashtable testStarts = new Hashtable();

-    /**

-     * Where to write the log to.

-     */

-    private OutputStream out;

-    /**

-     * Helper to store intermediate output.

-     */

-    private StringWriter inner;

-    /**

-     * Convenience layer on top of {@link #inner inner}.

-     */

-    private PrintWriter wri;

-    /**

-     * Suppress endTest if testcase failed.

-     */

-    private Hashtable failed = new Hashtable();

-

-    private String systemOutput = null;

-    private String systemError = null;

-

-    public XmlResultFormatter() {

-        inner = new StringWriter();

-        wri = new PrintWriter(inner);

-    }

-

-    public void setOutput(OutputStream out) {

-        this.out = out;

-    }

-

-    public void setSystemOutput(String out) {

-        // We will be capturing Stdout and Stderr internally so this is

-        // redundant

-        //systemOutput = out;

-    }

-

-    public void setSystemError(String err) {

-        // We will be capturing Stdout and Stderr internally so this is

-        // redundant

-        //systemError = err;

-    }

-

-    /**

-     * Signals starting of a Suite of tests

-     */

-    public void startTestSuite(JUnitTest suite) {

-        currentSuite = suite;

-        records = new ArrayList();

-    }

-

-    /**

-     * The whole testsuite ended.

-     */

-    public void endTestSuite(JUnitTest suite) throws BuildException

-    {

-        // Write out the XmlReport for this suite

-        writeOutXmlResult();

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>A new Test is started.

-     */

-    public void startTest(Test test) {

-        // Lets start the capture

-        System.out.flush();

-        System.err.flush();

-

-        _out = System.out;

-        _err = System.err;

-        bOut.reset();

-        bErr.reset();

-        System.setOut(new PrintStream(bOut));

-        System.setErr(new PrintStream(bErr));

-

-        // Discard the previous record

-        String fullTestName = test.toString();

-        testRecord = new TestRecord(fullTestName);

-        testRecord.setStartTime(System.currentTimeMillis());

-        testStarts.put(test, new Long(System.currentTimeMillis()));

-        failed.put(test, Boolean.FALSE);

-

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>A Test is finished.

-     */

-    public void endTest(Test test) {

-        long endTime = System.currentTimeMillis();

-

-        System.out.flush();

-        System.err.flush();

-        // Update the test record

-        testRecord.setSysout(bOut.toString());

-        testRecord.setSyserr(bErr.toString());

-        testRecord.setEndTime(endTime);

-

-        // this is a little hack for our reporting..

-        // We could be on shaky ground if the behaviour of the JUnit task

-        // ever changes.. OH Well...

-        String fullTestName = test.toString();

-        // Test-unit is between '(' and ')'

-        int startindex = fullTestName.indexOf("(");

-        int lastindex = fullTestName.indexOf(")");

-        String testUnit;

-        if (startindex >= 0 && lastindex > startindex)

-            testUnit = fullTestName.substring(startindex+1, lastindex);

-        else

-            testUnit = fullTestName;

-        String testMethod = ((TestCase) test).getName();

-        // Get the last token from testUnit for the logical name

-        startindex = testUnit.lastIndexOf(".");        

-        String baseClass = testUnit.substring(startindex+1);

-

-        // update the extra fields of TestRecord

-        testRecord.setTestUnitName(testUnit);

-        testRecord.setTestLogicalName(baseClass + "." + testMethod);

-

-        // If the test did not fail, record it as a success

-        if (!testRecord.isFailure())

-            testRecord.setStatus(TEST_SUCCESS);

-

-        // Add it to the set

-        records.add(testRecord);

-        // set testRecord to null..

-        testRecord = null;

-

-        System.setOut(_out);

-        System.setErr(_err);

-    }

-

-    /**

-     * Interface TestListener for JUnit &gt; 3.4.

-     *

-     * <p>A Test failed.

-     */

-    public void addFailure(Test test, AssertionFailedError t) {

-        //addFailure(test, (Throwable) t);

-        if (testRecord == null)

-            testRecord = getMissingTestRecord();

-        testRecord.setStatus(TEST_FAILURE);

-        testRecord.setThrowable(t);

-        // Record end time now..

-    }

-

-    /**

-     * Interface TestListener.

-     *

-     * <p>An error occured while running the test.

-     */

-    public void addError(Test test, Throwable t) {

-        if (testRecord == null)

-            testRecord = getMissingTestRecord();

-        testRecord.setStatus(TEST_ERROR);

-        testRecord.setThrowable(t);

-        // Special case when test class is missing...

-        if (t.toString().indexOf("ClassNotFoundException") > -1)

-        {

-            records.add(testRecord);

-            testRecord = null;

-        }

-    }

-

-    /**

-     * Write out the current TestRecord as an Xml

-     * Ant's JUnit Task gives us a OutputStream to write out too.

-     */

-    private void writeOutXmlResult()

-    {

-        // First build the XmlBean

-        XmlOptions opts = new XmlOptions();

-        opts.setSavePrettyPrint();

-

-        TestResultContainerDocument doc =

-                        TestResultContainerDocument.Factory.newInstance();

-        TestResultContainer container = doc.addNewTestResultContainer();

-

-        Iterator itr = records.iterator();

-        int count = 0;

-        while (itr.hasNext())

-        {

-            TestRecord rec = (TestRecord) itr.next();

-            container.addNewTestResult();

-            container.setTestResultArray(count++, getTestResultType(rec));

-        }

-

-        if (out != null)

-        {

-            try {

-                out.write(doc.xmlText(opts).getBytes());

-                out.flush();

-            } catch (IOException ioex) {

-                throw new BuildException("Unable to write output", ioex);

-            } finally {

-                if (out != System.out && out != System.err) {

-                    try {

-                        out.close();

-                    } catch (IOException e) {

-                        // ignore

-                    }

-                }

-            }

-        }

-

-

-    }

-

-    /**

-     * Creates the TestResultDocument and returns the Xml as a string

-     */

-    private TestResultType getTestResultType(TestRecord rec)

-    {

-        TestResultType tr = TestResultType.Factory.newInstance();

-        // Children of TestResult

-        TestResultType.TestCase tc = tr.addNewTestCase();

-        TestResultType.ExecutionOutput exo = tr.addNewExecutionOutput();

-

-        // Set the logical test name... 'Class.Methodname'

-        tr.setLogicalname(rec.getTestLogicalName());

-        // Set the test Start time as a String

-        tr.setExectime(new Date(rec.getStartTime()).toString());

-        String status = rec.getStatusString();

-        // Set the test result

-        if (status.equals("SUCCESS"))

-            tr.setResult(TestResultType.Result.SUCCESS);

-        else

-            tr.setResult(TestResultType.Result.FAILURE);

-        // Set the test execution time.. in milliseconds

-        String dur = Long.toString(rec.getEndTime() - rec.getStartTime());

-        tr.setDuration(dur);

-        // Set the completion status..

-        tr.setIsdone(TestResultType.Isdone.TRUE);

-

-        // Setup the children elements

-        // test-case

-        tc.setTestcasename(rec.getTestLogicalName());

-        tc.setTestunit(rec.getTestUnitName());

-        // This should ideally be the whole path to the class...

-        tc.setTestpath(rec.getTestname());

-

-        // execution-output

-        // if FAILURE.. set erroname attribute

-        if (rec.isFailure())

-        {

-            String exp = rec.getThrowable().toString();

-            int index = exp.indexOf(":");

-            // the above line is very flaky..

-            if (index < 0) index = exp.length();

-            exo.setErrorname(exp.substring(0, index));

-        }

-        StringBuffer output = new StringBuffer();

-        String eol = System.getProperty("line.separator");

-        output.append("[STDOUT]").append(eol);

-        output.append(rec.getSysout()).append(eol);

-        output.append("[STDERR]").append(eol);

-        output.append(rec.getSyserr()).append(eol);

-        if (rec.isFailure())

-        {

-            output.append("[EXCEPTION]").append(eol);

-            output.append(JUnitTestRunner.getFilteredTrace(rec.getThrowable()));

-        }

-

-        exo.setOutputDetails(output.toString());

-

-        return tr;

-    }

-

-

-    /**

-     * Utility class to record per test data like test name, status, start

-     * and end time, STDOUT, STDERR from text execution etc.

-     */

-    private class TestRecord

-    {

-        public TestRecord(String name)

-        {

-            setTestname(name);

-        }

-

-        private String testname;

-        private String sysout;

-        private String syserr;

-        private Throwable t;

-        private long startTime;

-        private long endTime;

-        private int status;

-        boolean failed = false;

-

-        private String testUnitName;

-        private String testLogicalName;

-

-        public void setTestname(String name)

-        {

-            this.testname = name;

-        }

-

-        public String getTestname()

-        {

-            return testname;

-        }

-

-        public void setStatus(int status)

-        {

-            this.status = status;

-            if (status == TEST_ERROR || status == TEST_FAILURE)

-                failed = true;

-        }

-

-        public int getStatus()

-        {

-            return status;

-        }

-

-        public String getStatusString()

-        {

-            return (status == TEST_SUCCESS)?"SUCCESS":

-                        (status == TEST_ERROR)?"ERROR":"FAILURE";

-        }

-

-        public boolean isFailure()

-        {

-            return failed;

-        }

-

-        public String getSysout()

-        {

-            return sysout;

-        }

-

-        public void setSysout(String sysout)

-        {

-            this.sysout = sysout;

-        }

-

-        public String getSyserr()

-        {

-            return syserr;

-        }

-

-        public void setSyserr(String syserr)

-        {

-            this.syserr = syserr;

-        }

-

-        public Throwable getThrowable()

-        {

-            return t;

-        }

-

-        public void setThrowable(Throwable t)

-        {

-            this.t = t;

-        }

-

-       public long getStartTime()

-        {

-            return startTime;

-        }

-

-        public void setStartTime(long startTime)

-        {

-            this.startTime = startTime;

-        }

-

-        public long getEndTime()

-        {

-            return endTime;

-        }

-

-        public void setEndTime(long endTime)

-        {

-            this.endTime = endTime;

-        }

-

-        public String getTestUnitName()

-        {

-            return testUnitName;

-        }

-

-        public void setTestUnitName(String testUnitName)

-        {

-            this.testUnitName = testUnitName;

-        }

-

-        public String getTestLogicalName()

-        {

-            return testLogicalName;

-        }

-

-        public void setTestLogicalName(String testLogicalName)

-        {

-            this.testLogicalName = testLogicalName;

-        }

-

-    }

-

-    private TestRecord getMissingTestRecord()

-    {

-        TestRecord tr = new TestRecord("Missing");

-        tr.setStartTime(System.currentTimeMillis());

-        tr.setEndTime(System.currentTimeMillis());

-        tr.setStatus(TEST_ERROR);

-        tr.setTestLogicalName("Missing");

-        tr.setTestUnitName(currentSuite.getName());

-        return tr;

-    }

-

-

-} // PlainJUnitResultFormatter

diff --git a/v2/test/tools/src/tools/JUnit/XmlResultFormatterImpl.java b/v2/test/tools/src/tools/JUnit/XmlResultFormatterImpl.java
deleted file mode 100755
index 3b60709..0000000
--- a/v2/test/tools/src/tools/JUnit/XmlResultFormatterImpl.java
+++ /dev/null
@@ -1,492 +0,0 @@
-package tools.JUnit;

-

-import java.util.*;

-import java.io.*;

-import java.text.SimpleDateFormat;

-

-import junit.framework.Test;

-import junit.framework.AssertionFailedError;

-import junit.framework.TestCase;

-

-import noNamespace.TestResultContainerDocument.TestResultContainer;

-import noNamespace.*;

-import noNamespace.TestResultType.ExecutionOutput;

-import org.apache.xmlbeans.XmlOptions;

-import tools.io.TeeOutputStream;

-import org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner;

-

-/**

- * Implementation of JUnitXResultFormatter that records JUnit results 

- * and publishes the result as a XML Document

- */

-

-public class XmlResultFormatterImpl implements JUnitXResultFormatter

-{

-    public static int TEST_SUCCESS = 0;

-    public static int TEST_FAILURE = 1;

-    public static int TEST_ERROR = 2;

-    public static int TEST_UNKNOWN = 3;

-

-    // Lets capture STDOUT and STDERR

-    ByteArrayOutputStream bOut = new ByteArrayOutputStream();

-    ByteArrayOutputStream bErr = new ByteArrayOutputStream();

-

-    TeeOutputStream tOut;

-    TeeOutputStream tErr;

-

-    PrintStream _out;

-    PrintStream _err;

-    private TestRecord testRecord;

-    Collection records;

-

-    // By default write to StdOut

-    OutputStream logOut = System.out;

-    // Record Stats

-    int testCount = 0;

-    int passCount = 0;

-    int failCount = 0;

-    long startTime = 0;

-    boolean showOutput = false;

-

-    public void startRun()

-    {

-        records = new ArrayList();

-        // Reset stats

-        testCount = 0;

-        passCount = 0;

-        failCount = 0;

-        startTime = System.currentTimeMillis();

-        System.out.println("Starting Test run");

-    }

-

-    public void endRun()

-    {

-        System.out.println("=================================================");

-        System.out.println("Tests Ran: " + testCount);

-        System.out.println("Success:   " + passCount);

-        System.out.println("Failures:  " + failCount);

-

-        // Generate log:

-        System.out.println("Starting Publish: " + System.currentTimeMillis());

-        publishResults();

-        System.out.println("Finished Publish: " + System.currentTimeMillis());

-    }

-

-    public void setOutput(OutputStream out)

-    {

-        if (out != null)

-            logOut = out;

-    }

-

-    public void showTestOutput(boolean show)

-    {

-        showOutput = show;

-    }

-

-    public void info(Object msg)

-    {

-        if (showOutput)

-            System.out.println(msg);

-    }

-

-

-    /*

-    * Implementation of TestListener

-    */

-	public synchronized void startTest(Test test)

-    {

-        String fullTestName = test.toString();

-        info("Starting Test: " + fullTestName);

-        // Lets start the capture

-        System.out.flush();

-        System.err.flush();

-

-        _out = System.out;

-        _err = System.err;

-        bOut.reset();

-        bErr.reset();

-

-        // Redirect Stdout & Stderr to both console and our capture stream

-        if (showOutput)

-        {

-            tOut = new TeeOutputStream(_out, bOut);

-            tErr = new TeeOutputStream(_err, bErr);

-            System.setOut(new PrintStream(tOut));

-            System.setErr(new PrintStream(tErr));

-        }

-        else

-        {

-            System.setOut(new PrintStream(bOut));

-            System.setErr(new PrintStream(bErr));

-        }

-

-        // Discard the previous record

-        testRecord = new TestRecord(fullTestName);

-        testRecord.setStartTime(System.currentTimeMillis());

-	}

-

-	public synchronized void endTest(Test test)

-    {

-        long endTime = System.currentTimeMillis();

-

-        System.out.flush();

-        System.err.flush();

-        // Update the test record

-        testRecord.setSysout(bOut.toString());

-        testRecord.setSyserr(bErr.toString());

-        testRecord.setEndTime(endTime);

-

-

-        // this is a little hack for our reporting..

-        // We could be on shaky ground if the behaviour of the JUnit task

-        // ever changes.. OH Well...

-        String fullTestName = test.toString();

-        // Test-unit is between '(' and ')'

-        int startindex = fullTestName.indexOf("(");

-        int lastindex = fullTestName.indexOf(")");

-        String testUnit;

-        if (startindex >= 0 && lastindex > startindex)

-            testUnit = fullTestName.substring(startindex+1, lastindex);

-        else

-            testUnit = fullTestName;

-        String testMethod = ((TestCase) test).getName();

-        // Get the last token from testUnit for the logical name

-        startindex = testUnit.lastIndexOf(".");

-        String baseClass = testUnit.substring(startindex+1);

-

-        // update the extra fields of TestRecord

-        testRecord.setTestUnitName(testUnit);

-        testRecord.setTestLogicalName(baseClass + "." + testMethod);

-

-        // If the test did not fail, record it as a success

-        if (!testRecord.isFailure())

-        {

-            testRecord.setStatus(TEST_SUCCESS);

-            passCount++;

-        }

-        else

-            failCount++;

-

-        testCount++;

-

-        // Add it to the set

-        records.add(testRecord);

-        // set testRecord to null..

-

-        // Restore STDOUT and STDERR

-        System.setOut(_out);

-        System.setErr(_err);

-

-        info("Finished Test: " + fullTestName + " "

-                           + testRecord.getStatusString() + "\n");

-        // Reset TestRecord

-        testRecord = null;

-	}

-

-	public synchronized void addError(final Test test, final Throwable t)

-    {

-        if (testRecord == null)

-            testRecord = getMissingTestRecord();

-        testRecord.setStatus(TEST_ERROR);

-        testRecord.setThrowable(t);

-        // Special case when test class is missing...

-        if (t.toString().indexOf("ClassNotFoundException") > -1)

-        {

-            records.add(testRecord);

-            testRecord = null;

-        }

-	}

-

-	public synchronized void addFailure(final Test test, final AssertionFailedError t)

-    {

-        if (testRecord == null)

-            testRecord = getMissingTestRecord();

-        testRecord.setStatus(TEST_FAILURE);

-        testRecord.setThrowable(t);

-	}

-

-    /**

-     * Utility class to record per test data like test name, status, start

-     * and end time, STDOUT, STDERR from text execution etc.

-     */

-    private class TestRecord

-    {

-        public TestRecord(String name)

-        {

-            setTestname(name);

-        }

-

-        private String testname;

-        private String sysout;

-        private String syserr;

-        private Throwable t;

-        private long startTime;

-        private long endTime;

-        private int status;

-        boolean failed = false;

-

-        private String testUnitName;

-        private String testLogicalName;

-

-        public void setTestname(String name)

-        {

-            this.testname = name;

-        }

-

-        public String getTestname()

-        {

-            return testname;

-        }

-

-        public void setStatus(int status)

-        {

-            this.status = status;

-            if (status == TEST_ERROR || status == TEST_FAILURE)

-                failed = true;

-        }

-

-        public int getStatus()

-        {

-            return status;

-        }

-

-        public String getStatusString()

-        {

-            return (status == TEST_SUCCESS)?"SUCCESS":

-                        (status == TEST_ERROR)?"ERROR":"FAILURE";

-        }

-

-        public boolean isFailure()

-        {

-            return failed;

-        }

-

-        public String getSysout()

-        {

-            return sysout;

-        }

-

-        public void setSysout(String sysout)

-        {

-            this.sysout = sysout;

-        }

-

-        public String getSyserr()

-        {

-            return syserr;

-        }

-

-        public void setSyserr(String syserr)

-        {

-            this.syserr = syserr;

-        }

-

-        public Throwable getThrowable()

-        {

-            return t;

-        }

-

-        public void setThrowable(Throwable t)

-        {

-            this.t = t;

-        }

-

-       public long getStartTime()

-        {

-            return startTime;

-        }

-

-        public void setStartTime(long startTime)

-        {

-            this.startTime = startTime;

-        }

-

-        public long getEndTime()

-        {

-            return endTime;

-        }

-

-        public void setEndTime(long endTime)

-        {

-            this.endTime = endTime;

-        }

-

-        public String getTestUnitName()

-        {

-            return testUnitName;

-        }

-

-        public void setTestUnitName(String testUnitName)

-        {

-            this.testUnitName = testUnitName;

-        }

-

-        public String getTestLogicalName()

-        {

-            return testLogicalName;

-        }

-

-        public void setTestLogicalName(String testLogicalName)

-        {

-            this.testLogicalName = testLogicalName;

-        }

-

-    }

-

-    private TestRecord getMissingTestRecord()

-    {

-        TestRecord tr = new TestRecord("Missing");

-        tr.setStartTime(System.currentTimeMillis());

-        tr.setEndTime(System.currentTimeMillis());

-        tr.setStatus(TEST_ERROR);

-        tr.setTestLogicalName("Missing");

-        tr.setTestUnitName("Missing");

-        return tr;

-    }

-

-    public void publishResults()

-    {

-        TestLogDocument logDoc = TestLogDocument.Factory.newInstance();

-        TestLogDocument.TestLog log = logDoc.addNewTestLog();

-

-        // Populate the attributes for test-log

-        // testtype

-        String testtype = System.getProperty("TESTTYPE", "AUTO");

-        if (testtype.equalsIgnoreCase("AUTO"))

-            log.setTesttype(TestLogDocument.TestLog.Testtype.AUTOMATED);

-        else

-            log.setTesttype(TestLogDocument.TestLog.Testtype.MANUAL);

-

-        // runid

-        String dateFormatStr = "_yy_MMM_dd_HH_mm_ss_SS";

-        String dateStr = new SimpleDateFormat(dateFormatStr).format(new Date(startTime));

-        String defRunId = System.getProperty("user.name").toUpperCase() + dateStr;

-        String runId = System.getProperty("RUNID", defRunId);

-        log.setRunid(runId);

-        // hostname

-        String hostname;

-        try

-        {

-            hostname = java.net.InetAddress.getLocalHost().getHostName();

-        } catch (Exception e)

-        {

-            // Ignore.. not critical

-            hostname = "UNKNOWN_HOST";

-        }

-        log.setHostname(hostname);

-        // TODO: set Defaults/check sysprop for other attributes

-

-        // Add <environment> element

-        EnvironmentType env = log.addNewEnvironment();

-        Map envMap = new HashMap();

-        envMap.put("JVM_NAME", System.getProperty("java.vm.name"));

-        envMap.put("JVM_VENDOR", System.getProperty("java.vm.vendor"));

-        envMap.put("JVM_VERSION", System.getProperty("java.vm.version"));

-        envMap.put("OS", System.getProperty("os.name"));

-        String defFreq = "checkin";

-        envMap.put("Frequency", System.getProperty("test.run.frequency", defFreq));

-

-        Iterator itr = envMap.keySet().iterator();

-        int envCount = 0;

-        while (itr.hasNext())

-        {

-            EnvironmentType.EnvAttribute envAttr = env.addNewEnvAttribute();

-            String name = (String) itr.next();

-            String value = (String) envMap.get(name);

-            envAttr.setValue(value);

-            envAttr.setName(name);

-        }

-

-        // Add <header-info> element

-        TestLogDocument.TestLog.HeaderInfo hdrInfo = log.addNewHeaderInfo();

-        hdrInfo.setResultcount(Integer.toString(testCount));

-        hdrInfo.setChecksum(Integer.toString(testCount));

-        hdrInfo.setExecdate(new Date(startTime).toString());

-        hdrInfo.setExecaccount(System.getProperty("user.name"));

-

-        // Add test-results

-        Iterator rItr = records.iterator();

-        while (rItr.hasNext())

-        {

-            TestResultType tr = log.addNewTestResult();

-            tr.set(getTestResultType((TestRecord) rItr.next()));

-        }

-

-        // Publish it to the outputStream

-        XmlOptions opts = new XmlOptions().setSavePrettyPrint();

-        try

-        {

-            logOut.write(logDoc.xmlText(opts).getBytes());

-        } catch (IOException ioe)

-        {

-            System.out.println("XmlResultFormatter: Unable to publish results");

-            System.out.println(ioe.toString());

-        }

-

-    }

-

-

-     /**

-     * Creates the TestResultDocument and returns the Xml

-     */

-    private TestResultType getTestResultType(TestRecord rec)

-    {

-        TestResultType tr = TestResultType.Factory.newInstance();

-        // Children of TestResult

-        TestResultType.TestCase tc = tr.addNewTestCase();

-        TestResultType.ExecutionOutput exo = tr.addNewExecutionOutput();

-

-        // Set the logical test name... 'Class.Methodname'

-        tr.setLogicalname(rec.getTestLogicalName());

-        // Set the test Start time as a String

-        tr.setExectime(new Date(rec.getStartTime()).toString());

-        String status = rec.getStatusString();

-        // Set the test result

-        if (status.equals("SUCCESS"))

-            tr.setResult(TestResultType.Result.SUCCESS);

-        else if (status.equals("FAILURE"))

-            tr.setResult(TestResultType.Result.FAILURE);

-        else

-            tr.setResult(TestResultType.Result.ABORT);

-        // Set the test execution time.. in milliseconds

-        String dur = Long.toString(rec.getEndTime() - rec.getStartTime());

-        tr.setDuration(dur);

-        // Set the completion status..

-        tr.setIsdone(TestResultType.Isdone.TRUE);

-

-        // Setup the children elements

-        // test-case

-        tc.setTestcasename(rec.getTestLogicalName());

-        tc.setTestunit(rec.getTestUnitName());

-        // This should ideally be the whole path to the class...

-        tc.setTestpath(rec.getTestname());

-

-        // execution-output

-        // if FAILURE.. set erroname attribute

-        if (rec.isFailure())

-        {

-            String exp = rec.getThrowable().toString();

-            int index = exp.indexOf(":");

-            // the above line is very flaky..

-            if (index < 0) index = exp.length();

-            exo.setErrorname(exp.substring(0, index));

-        }

-        StringBuffer output = new StringBuffer();

-        String eol = System.getProperty("line.separator");

-        output.append("[STDOUT]").append(eol);

-        output.append(rec.getSysout()).append(eol);

-        output.append("[STDERR]").append(eol);

-        output.append(rec.getSyserr()).append(eol);

-        if (rec.isFailure())

-        {

-            output.append("[EXCEPTION]").append(eol);

-            output.append(JUnitTestRunner.getFilteredTrace(rec.getThrowable()));

-        }

-

-        exo.setOutputDetails(output.toString());

-

-        return tr;

-    }

-

-

-}

diff --git a/v2/test/tools/src/tools/ant/BuildFileTest.java b/v2/test/tools/src/tools/ant/BuildFileTest.java
deleted file mode 100755
index c9e37a1..0000000
--- a/v2/test/tools/src/tools/ant/BuildFileTest.java
+++ /dev/null
@@ -1,486 +0,0 @@
-/*

- * The Apache Software License, Version 1.1

- *

- * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights

- * reserved.

- *

- * Redistribution and use in source and binary forms, with or without

- * modification, are permitted provided that the following conditions

- * are met:

- *

- * 1. Redistributions of source code must retain the above copyright

- *    notice, this list of conditions and the following disclaimer.

- *

- * 2. Redistributions in binary form must reproduce the above copyright

- *    notice, this list of conditions and the following disclaimer in

- *    the documentation and/or other materials provided with the

- *    distribution.

- *

- * 3. The end-user documentation included with the redistribution, if

- *    any, must include the following acknowlegement:

- *       "This product includes software developed by the

- *        Apache Software Foundation (http://www.apache.org/)."

- *    Alternately, this acknowlegement may appear in the software itself,

- *    if and wherever such third-party acknowlegements normally appear.

- *

- * 4. The names "Ant" and "Apache Software

- *    Foundation" must not be used to endorse or promote products derived

- *    from this software without prior written permission. For written

- *    permission, please contact apache@apache.org.

- *

- * 5. Products derived from this software may not be called "Apache"

- *    nor may "Apache" appear in their names without prior written

- *    permission of the Apache Group.

- *

- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED

- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES

- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

- * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR

- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,

- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT

- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF

- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,

- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF

- * SUCH DAMAGE.

- * ====================================================================

- *

- * This software consists of voluntary contributions made by many

- * individuals on behalf of the Apache Software Foundation.  For more

- * information on the Apache Software Foundation, please see

- * <http://www.apache.org/>.

- */

-

-package tools.ant;

-

-import junit.framework.*;

-import org.apache.tools.ant.*;

-import java.io.*;

-import java.net.URL;

-

-/**

- * A BuildFileTest is a TestCase which executes targets from an Ant buildfile

- * for testing.

- *

- * This class provides a number of utility methods for particular build file

- * tests which extend this class.

- *

- * @author Nico Seessle <nico@seessle.de>

- * @author Conor MacNeill

- */

-public abstract class BuildFileTest extends TestCase {

-

-    protected Project project;

-

-    private StringBuffer logBuffer;

-    private StringBuffer fullLogBuffer;

-    private StringBuffer outBuffer;

-    private StringBuffer errBuffer;

-    private BuildException buildException;

-

-    /**

-     *  Constructor for the BuildFileTest object

-     *

-     *@param  name string to pass up to TestCase constructor

-     */

-    public BuildFileTest(String name) {

-        super(name);

-    }

-

-    /**

-     *  run a target, expect for any build exception

-     *

-     *@param  target target to run

-     *@param  cause  information string to reader of report

-     */

-    protected void expectBuildException(String target, String cause) {

-        expectSpecificBuildException(target, cause, null);

-    }

-

-    /**

-     * Assert that only the given message has been logged with a

-     * priority &gt;= INFO when running the given target.

-     */

-    protected void expectLog(String target, String log) {

-        executeTarget(target);

-        String realLog = getLog();

-        assertEquals(log, realLog);

-    }

-

-    /**

-     * Assert that the given message has been logged with a priority

-     * &gt;= INFO when running the given target.

-     */

-    protected void expectLogContaining(String target, String log) {

-        executeTarget(target);

-        String realLog = getLog();

-        assertTrue("expecting log to contain \""+log+"\" log was \""

-                   + realLog + "\"",

-                   realLog.indexOf(log) >= 0);

-    }

-

-    /**

-     *  Gets the log the BuildFileTest object.

-     *  only valid if configureProject() has

-     *  been called.

-     * @pre logBuffer!=null

-     * @return    The log value

-     */

-    protected String getLog() {

-        return logBuffer.toString();

-    }

-

-    /**

-     * Assert that the given message has been logged with a priority

-     * &gt;= DEBUG when running the given target.

-     */

-    protected void expectDebuglog(String target, String log) {

-        executeTarget(target);

-        String realLog = getFullLog();

-        assertEquals(log, realLog);

-    }

-

-    /**

-     *  Gets the log the BuildFileTest object.

-     *  only valid if configureProject() has

-     *  been called.

-     * @pre fullLogBuffer!=null

-     * @return    The log value

-     */

-    protected String getFullLog() {

-        return fullLogBuffer.toString();

-    }

-

-    /**

-     *  execute the target, verify output matches expectations

-     *

-     *@param  target  target to execute

-     *@param  output  output to look for

-     */

-

-    protected void expectOutput(String target, String output) {

-        executeTarget(target);

-        String realOutput = getOutput();

-        assertEquals(output, realOutput);

-    }

-

-    /**

-     *  execute the target, verify output matches expectations

-     *  and that we got the named error at the end

-     *@param  target  target to execute

-     *@param  output  output to look for

-     *@param  error   Description of Parameter

-     */

-

-    protected void expectOutputAndError(String target, String output, String error) {

-        executeTarget(target);

-        String realOutput = getOutput();

-        assertEquals(output, realOutput);

-        String realError = getError();

-        assertEquals(error, realError);

-    }

-

-    protected String getOutput() {

-        return cleanBuffer(outBuffer);

-    }

-

-    protected String getError() {

-        return cleanBuffer(errBuffer);

-    }

-

-    protected BuildException getBuildException() {

-        return buildException;

-    }

-

-    private String cleanBuffer(StringBuffer buffer) {

-        StringBuffer cleanedBuffer = new StringBuffer();

-        boolean cr = false;

-        for (int i = 0; i < buffer.length(); i++) {

-            char ch = buffer.charAt(i);

-            if (ch == '\r') {

-                cr = true;

-                continue;

-            }

-

-            if (!cr) {

-                cleanedBuffer.append(ch);

-            } else {

-                if (ch == '\n') {

-                    cleanedBuffer.append(ch);

-                } else {

-                    cleanedBuffer.append('\r').append(ch);

-                }

-            }

-        }

-        return cleanedBuffer.toString();

-    }

-

-    /**

-     *  set up to run the named project

-     *

-     * @param  filename name of project file to run

-     */

-    protected void configureProject(String filename) throws BuildException {

-        logBuffer = new StringBuffer();

-        fullLogBuffer = new StringBuffer();

-        project = new Project();

-        project.init();

-        project.setUserProperty( "ant.file" , new File(filename).getAbsolutePath() );

-        project.addBuildListener(new AntTestListener());

-        //ProjectHelper.configureProject(project, new File(filename));

-        ProjectHelper.getProjectHelper().parse(project, new File(filename));

-    }

-

-    /**

-     *  execute a target we have set up

-     * @pre configureProject has been called

-     * @param  targetName  target to run

-     */

-    protected void executeTarget(String targetName) {

-        PrintStream sysOut = System.out;

-        PrintStream sysErr = System.err;

-        try {

-            sysOut.flush();

-            sysErr.flush();

-            outBuffer = new StringBuffer();

-            PrintStream out = new PrintStream(new AntOutputStream());

-            System.setOut(out);

-            errBuffer = new StringBuffer();

-            PrintStream err = new PrintStream(new AntOutputStream());

-            System.setErr(err);

-            logBuffer = new StringBuffer();

-            fullLogBuffer = new StringBuffer();

-            buildException = null;

-            project.executeTarget(targetName);

-        } finally {

-            System.setOut(sysOut);

-            System.setErr(sysErr);

-            // rajus: 2004/04/07

-            System.out.println("STDOUT+STDERR:\n" + getOutput() + getError());

-            System.out.println("END STDOUT+STDERR:");

-        }

-

-    }

-

-    /**

-     * Get the project which has been configured for a test.

-     *

-     * @return the Project instance for this test.

-     */

-    protected Project getProject() {

-        return project;

-    }

-

-    /**

-     * get the directory of the project

-     * @return the base dir of the project

-     */

-    protected File getProjectDir() {

-        return project.getBaseDir();

-    }

-

-    /**

-     *  run a target, wait for a build exception

-     *

-     *@param  target target to run

-     *@param  cause  information string to reader of report

-     *@param  msg    the message value of the build exception we are waiting for

-              set to null for any build exception to be valid

-     */

-    protected void expectSpecificBuildException(String target, String cause, String msg) {

-        try {

-            executeTarget(target);

-        } catch (org.apache.tools.ant.BuildException ex) {

-            buildException = ex;

-            if ((null != msg) && (!ex.getMessage().equals(msg))) {

-                fail("Should throw BuildException because '" + cause

-                        + "' with message '" + msg

-                        + "' (actual message '" + ex.getMessage() + "' instead)");

-            }

-            return;

-        }

-        fail("Should throw BuildException because: " + cause);

-    }

-

-    /**

-     *  run a target, expect an exception string

-     *  containing the substring we look for (case sensitive match)

-     *

-     *@param  target target to run

-     *@param  cause  information string to reader of report

-     *@param  msg    the message value of the build exception we are waiting for

-     *@param  contains  substring of the build exception to look for

-     */

-    protected void expectBuildExceptionContaining(String target, String cause, String contains) {

-        try {

-            executeTarget(target);

-        } catch (org.apache.tools.ant.BuildException ex) {

-            buildException = ex;

-            if ((null != contains) && (ex.getMessage().indexOf(contains) == -1)) {

-                fail("Should throw BuildException because '" + cause + "' with message containing '" + contains + "' (actual message '" + ex.getMessage() + "' instead)");

-            }

-            return;

-        }

-        fail("Should throw BuildException because: " + cause);

-    }

-

-

-    /**

-     * call a target, verify property is as expected

-     *

-     * @param target build file target

-     * @param property property name

-     * @param value expected value

-     */

-

-    protected void expectPropertySet(String target, String property, String value) {

-        executeTarget(target);

-        assertPropertyEquals(property, value);

-    }

-

-    /**

-     * assert that a property equals a value; comparison is case sensitive.

-     * @param property property name

-     * @param value expected value

-     */

-    protected void assertPropertyEquals(String property, String value) {

-        String result = project.getProperty(property);

-        assertEquals("property " + property,value,result);

-    }

-

-    /**

-     * assert that a property equals &quot;true&quot;

-     * @param property property name

-     */

-    protected void assertPropertySet(String property) {

-        assertPropertyEquals(property, "true");

-    }

-

-    /**

-     * assert that a property is null

-     * @param property property name

-     */

-    protected void assertPropertyUnset(String property) {

-        assertPropertyEquals(property, null);

-    }

-

-

-    /**

-     * call a target, verify named property is "true".

-     *

-     * @param target build file target

-     * @param property property name

-     */

-    protected void expectPropertySet(String target, String property) {

-        expectPropertySet(target, property, "true");

-    }

-

-

-    /**

-     * call a target, verify property is null

-     * @param target build file target

-     * @param property property name

-     */

-    protected void expectPropertyUnset(String target, String property) {

-        expectPropertySet(target, property, null);

-    }

-

-    /**

-     * Retrieve a resource from the caller classloader to avoid

-     * assuming a vm working directory. The resource path must be

-     * relative to the package name or absolute from the root path.

-     * @param resource the resource to retrieve its url.

-     * @throws AssertionFailureException if resource is not found.

-     */

-    protected URL getResource(String resource){

-        URL url = getClass().getResource(resource);

-        assertNotNull("Could not find resource :" + resource, url);

-        return url;

-    }

-

-    /**

-     * an output stream which saves stuff to our buffer.

-     */

-    private class AntOutputStream extends java.io.OutputStream {

-        public void write(int b) {

-            outBuffer.append((char)b);

-        }

-    }

-

-    /**

-     * our own personal build listener

-     */

-    private class AntTestListener implements BuildListener {

-        /**

-         *  Fired before any targets are started.

-         */

-        public void buildStarted(BuildEvent event) {

-        }

-

-        /**

-         *  Fired after the last target has finished. This event

-         *  will still be thrown if an error occured during the build.

-         *

-         *  @see BuildEvent#getException()

-         */

-        public void buildFinished(BuildEvent event) {

-        }

-

-        /**

-         *  Fired when a target is started.

-         *

-         *  @see BuildEvent#getTarget()

-         */

-        public void targetStarted(BuildEvent event) {

-            //System.out.println("targetStarted " + event.getTarget().getName());

-        }

-

-        /**

-         *  Fired when a target has finished. This event will

-         *  still be thrown if an error occured during the build.

-         *

-         *  @see BuildEvent#getException()

-         */

-        public void targetFinished(BuildEvent event) {

-            //System.out.println("targetFinished " + event.getTarget().getName());

-        }

-

-        /**

-         *  Fired when a task is started.

-         *

-         *  @see BuildEvent#getTask()

-         */

-        public void taskStarted(BuildEvent event) {

-            //System.out.println("taskStarted " + event.getTask().getTaskName());

-        }

-

-        /**

-         *  Fired when a task has finished. This event will still

-         *  be throw if an error occured during the build.

-         *

-         *  @see BuildEvent#getException()

-         */

-        public void taskFinished(BuildEvent event) {

-            //System.out.println("taskFinished " + event.getTask().getTaskName());

-        }

-

-        /**

-         *  Fired whenever a message is logged.

-         *

-         *  @see BuildEvent#getMessage()

-         *  @see BuildEvent#getPriority()

-         */

-        public void messageLogged(BuildEvent event) {

-            if (event.getPriority() == Project.MSG_INFO ||

-                event.getPriority() == Project.MSG_WARN ||

-                event.getPriority() == Project.MSG_ERR) {

-                logBuffer.append(event.getMessage());

-            }

-            fullLogBuffer.append(event.getMessage());

-

-        }

-    }

-

-

-}

diff --git a/v2/test/tools/src/tools/io/TeeOutputStream.java b/v2/test/tools/src/tools/io/TeeOutputStream.java
deleted file mode 100755
index 791f6b6..0000000
--- a/v2/test/tools/src/tools/io/TeeOutputStream.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package tools.io;

-

-import java.io.OutputStream;

-

-/**

- * Date: May 26, 2004

- */

-

-public class TeeOutputStream extends OutputStream

-{

-    OutputStream out1;

-    OutputStream out2;

-

-    public TeeOutputStream(OutputStream out1, OutputStream out2)

-    {

-        this.out1 = out1;

-        this.out2 = out2;

-    }

-

-    // Override methods of OutputStream

-    public void close()

-        throws java.io.IOException

-    {

-        out1.close();

-        out2.close();

-    }

-

-    public void flush()

-            throws java.io.IOException

-    {

-        out1.flush();

-        out2.flush();

-    }

-

-    // Implementation of Outputstream's abstract method

-    public void write(int b)

-            throws java.io.IOException

-    {

-        out1.write(b);

-        out2.write(b);

-    }

-

-}

diff --git a/v2/test/tools/src/tools/util/ClassCompare.java b/v2/test/tools/src/tools/util/ClassCompare.java
deleted file mode 100755
index 8279307..0000000
--- a/v2/test/tools/src/tools/util/ClassCompare.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package tools.util;

-

-import java.lang.reflect.Method;

-import java.lang.reflect.Field;

-

-/**

- * @author jacobd

- * Date: Jan 23, 2004

- */

-public class ClassCompare {

-

-    public String compareClass(Class actual, Class expected) throws Exception {

-        Method[] actualMethods = actual.getMethods();

-        Method[] expectedMethods = expected.getMethods();

-        Field[] actualField = actual.getFields();

-        Field[] bField = expected.getFields();

-

-        if (actual.getName() != expected.getName())

-            throw new Exception("Class Names were not equal:\n" +

-                                "Actual: " + actual.getName() + "\n" +

-                                "Expected: " + expected.getName());

-

-

-        return null;

-    }

-

-    public String compareMethods(Method[] actual, Method[] expected) throws Exception {

-        if (actual.length != expected.length)

-            throw new Exception("Method Count was not equal");

-

-        //for (int i=0; i < actual.length)

-

-

-        return null;

-    }

-

-    public String compareFields(Field[] actual, Field[] expected) throws Exception {

-

-

-        return null;

-    }

-

-

-}

diff --git a/v2/test/tools/src/tools/util/ComparisonError.java b/v2/test/tools/src/tools/util/ComparisonError.java
deleted file mode 100755
index f3b757b..0000000
--- a/v2/test/tools/src/tools/util/ComparisonError.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package tools.util;

-

-public class ComparisonError extends junit.framework.AssertionFailedError

-{

-    public ComparisonError() {

-        super();

-    }

-

-    public ComparisonError(String msg) {

-        super(msg);

-    }

-}

diff --git a/v2/test/tools/src/tools/util/Diff.java b/v2/test/tools/src/tools/util/Diff.java
deleted file mode 100755
index f96c486..0000000
--- a/v2/test/tools/src/tools/util/Diff.java
+++ /dev/null
@@ -1,853 +0,0 @@
-package tools.util;

-

-// Diff -- text file difference utility.

-// See full docu-comment at beginning of Diff class.

-

-// $Id: Diff.java,v 1.1 2004/06/08 19:38:09 daveremy Exp $

-

-import java.io.*;

-import java.util.Vector;

-

-/**

- * This is the info kept per-file.

- */

-class fileInfo

-{

-

-    static final int MAXLINECOUNT = 20000;

-

-    //DataInputStream file;	/* File handle that is open for read.  */

-    File file;

-    public int maxLine;	/* After input done, # lines in file.  */

-    node symbol[]; /* The symtab handle of each line. */

-    int other[]; /* Map of line# to line# in other file */

-    /* ( -1 means don't-know ).            */

-    /* Allocated AFTER the lines are read. */

-

-    /**

-     * Normal constructor with one filename

-     * Tests whether file actually exists

-     */

-    fileInfo(String filename)

-    {

-        symbol = new node[MAXLINECOUNT + 2];

-        other = null;		// allocated later!

-        file = new File(filename);

-    }

-

-    // This is done late, to be same size as # lines in input file.

-    void alloc()

-    {

-        other = new int[symbol.length + 2];

-    }

-}

-

-;

-

-/**

- * diff         Text file difference utility.

- * ----         Copyright 1987, 1989 by Donald C. Lindsay,

- * School of Computer Science,  Carnegie Mellon University.

- * Copyright 1982 by Symbionics.

- * Use without fee is permitted when not for direct commercial

- * advantage, and when credit to the source is given. Other uses

- * require specific permission.

- *

- * Converted from C to Java by Ian F. Darwin, ian@darwinsys.com, January, 1997.

- * Copyright 1997, Ian F. Darwin.

- *

- * Conversion is NOT FULLY TESTED.

- *

- * USAGE:      diff oldfile newfile

- *

- * This program assumes that "oldfile" and "newfile" are text files.

- * The program writes to stdout a description of the changes which would

- * transform "oldfile" into "newfile".

- *

- * The printout is in the form of commands, each followed by a block of

- * text. The text is delimited by the commands, which are:

- *

- * DELETE AT n

- * ..deleted lines

- *

- * INSERT BEFORE n

- * ..inserted lines

- *

- * n MOVED TO BEFORE n

- * ..moved lines

- *

- * n CHANGED FROM

- * ..old lines

- * CHANGED TO

- * ..newer lines

- *

- * The line numbers all refer to the lines of the oldfile, as they are

- * numbered before any commands are applied.

- * The text lines are printed as-is, without indentation or prefixing. The

- * commands are printed in upper case, with a prefix of ">>>>", so that

- * they will stand out. Other schemes may be preferred.

- * Files which contain more than MAXLINECOUNT lines cannot be processed.

- * This can be fixed by changing "symbol" to a Vector.

- * The algorithm is taken from Communications of the ACM, Apr78 (21, 4, 264-),

- * "A Technique for Isolating Differences Between Files."

- * Ignoring I/O, and ignoring the symbol table, it should take O(N) time.

- * This implementation takes fixed space, plus O(U) space for the symbol

- * table (where U is the number of unique lines). Methods exist to change

- * the fixed space to O(N) space.

- * Note that this is not the only interesting file-difference algorithm. In

- * general, different algorithms draw different conclusions about the

- * changes that have been made to the oldfile. This algorithm is sometimes

- * "more right", particularly since it does not consider a block move to be

- * an insertion and a (separate) deletion. However, on some files it will be

- * "less right". This is a consequence of the fact that files may contain

- * many identical lines (particularly if they are program source). Each

- * algorithm resolves the ambiguity in its own way, and the resolution

- * is never guaranteed to be "right". However, it is often excellent.

- * This program is intended to be pedagogic.  Specifically, this program was

- * the basis of the Literate Programming column which appeared in the

- * Communications of the ACM (CACM), in the June 1989 issue (32, 6,

- * 740-755).

- * By "pedagogic", I do not mean that the program is gracefully worded, or

- * that it showcases language features or its algorithm. I also do not mean

- * that it is highly accessible to beginners, or that it is intended to be

- * read in full, or in a particular order. Rather, this program is an

- * example of one professional's style of keeping things organized and

- * maintainable.

- * The program would be better if the "print" variables were wrapped into

- * a struct. In general, grouping related variables in this way improves

- * documentation, and adds the ability to pass the group in argument lists.

- * This program is a de-engineered version of a program which uses less

- * memory and less time.  The article points out that the "symbol" arrays

- * can be implemented as arrays of pointers to arrays, with dynamic

- * allocation of the subarrays.  (In C, macros are very useful for hiding

- * the two-level accesses.) In Java, a Vector would be used. This allows an

- * extremely large value for MAXLINECOUNT, without dedicating fixed arrays.

- * (The "other" array can be allocated after the input phase, when the exact

- * sizes are known.) The only slow piece of code is the "strcmp" in the tree

- * descent: it can be speeded up by keeping a hash in the tree node, and

- * only using "strcmp" when two hashes happen to be equal.

- *

- * Change Log

- * ----------

- * 1Jan97 Ian F. Darwin: first working rewrite in Java, based entirely on

- * D.C.Lindsay's reasonable C version.

- * Changed comments from /***************** to /**, shortened, added

- * whitespace, used tabs more, etc.

- * 6jul89 D.C.Lindsay, CMU: fixed portability bug. Thanks, Gregg Wonderly.

- * Just changed "char ch" to "int ch".

- * Also added comment about way to improve code.

- * 10jun89 D.C.Lindsay, CMU: posted version created.

- * Copyright notice changed to ACM style, and Dept. is now School.

- * ACM article referenced in docn.

- * 26sep87 D.C.Lindsay, CMU: publication version created.

- * Condensed all 1982/83 change log entries.

- * Removed all command line options, and supporting code. This

- * simplified the input code (no case reduction etc). It also

- * simplified the symbol table, which was capable of remembering

- * offsets into files (instead of strings), and trusting (!) hash

- * values to be unique.

- * Removed dynamic allocation of arrays: now fixed static arrays.

- * Removed speed optimizations in symtab package.

- * Removed string compression/decompression code.

- * Recoded to Unix standards from old Lattice/MSDOS standards.

- * (This affected only the #include's and the IO.)

- * Some renaming of variables, and rewording of comments.

- * 1982/83 D.C.Lindsay, Symbionics: created.

- *

- * @author	Ian F. Darwin, Java version

- * @version	Java version 0.9, 1997

- * @author	D. C. Lindsay, C version (1982-1987)

- */

-public class Diff

-{

-

-    /**

-     * block len > any possible real block len

-     */

-    final int UNREAL = Integer.MAX_VALUE;

-

-    /**

-     * Keeps track of information about file1 and file2

-     */

-    fileInfo oldinfo, newinfo;

-

-    /**

-     * blocklen is the info about found blocks. It will be set to 0, except

-     * at the line#s where blocks start in the old file. At these places it

-     * will be set to the # of lines in the block. During printout ,

-     * this # will be reset to -1 if the block is printed as a MOVE block

-     * (because the printout phase will encounter the block twice, but

-     * must only print it once.)

-     * The array declarations are to MAXLINECOUNT+2 so that we can have two

-     * extra lines (pseudolines) at line# 0 and line# MAXLINECOUNT+1

-     * (or less).

-     */

-    int blocklen[];

-

-    /**

-     * Controls how trailing whitespace lines is handled

-     */

-    boolean trimLines;

-

-    /**

-     * main - entry point when used standalone.

-     * NOTE: no routines return error codes or throw any local

-     * exceptions. Instead, any routine may complain

-     * to stderr and then exit with error to the system.

-     */

-    public static void main(String argstrings[])

-    {

-        if (argstrings.length != 2)

-        {

-            System.err.println("Usage: diff oldfile newfile");

-            System.exit(1);

-        }

-        Diff d = new Diff(false);

-        d.doDiff(argstrings[0], argstrings[1]);

-        return;

-    }

-

-    /**

-     * Construct a Diff object.

-     */

-    public Diff(boolean trimLines)

-    {

-        this.trimLines = trimLines;

-    }

-

-    /**

-     * Construct a Diff object.

-     */

-    public Diff()

-    {

-        this.trimLines = false;

-    }

-

-    /**

-     * Do one file comparison. Called with both filenames.

-     */

-    public void doDiff(String oldFile, String newFile)

-    {

-        println(">>>> Difference of file \"" + oldFile +

-                "\" and file \"" + newFile + "\".\n");

-        oldinfo = new fileInfo(oldFile);

-        newinfo = new fileInfo(newFile);

-        /* we don't process until we know both files really do exist. */

-        try

-        {

-            inputscan(oldinfo);

-            inputscan(newinfo);

-        }

-        catch (IOException e)

-        {

-            System.err.println("Read error: " + e);

-        }

-

-        /* Now that we've read all the lines, allocate some arrays.

-         */

-        blocklen = new int[(oldinfo.maxLine > newinfo.maxLine ?

-                oldinfo.maxLine : newinfo.maxLine) + 2];

-        oldinfo.alloc();

-        newinfo.alloc();

-

-        /* Now do the work, and print the results. */

-        transform();

-        printout();

-    }

-

-    public String compareFiles(String oldFile, String newFile)

-        throws IOException

-    {

-        //println("Diff of \"" + oldFile + "\" and \"" + newFile);

-        oldinfo = new fileInfo(oldFile);

-        newinfo = new fileInfo(newFile);

-        /* we don't process until we know both files really do exist. */

-        inputscan(oldinfo);

-        inputscan(newinfo);

-

-        /* Now that we've read all the lines, allocate some arrays.

-         */

-        blocklen = new int[(oldinfo.maxLine > newinfo.maxLine ?

-                                        oldinfo.maxLine : newinfo.maxLine) + 2];

-        oldinfo.alloc();

-        newinfo.alloc();

-

-        /* Now do the work, and print the results. */

-        transform();

-        return printout();

-    }

-

-

-    /**

-     * inputscan    Reads the file specified by pinfo.file.

-     * ---------    Places the lines of that file in the symbol table.

-     * Sets pinfo.maxLine to the number of lines found.

-     */

-    void inputscan(fileInfo pinfo)

-            throws IOException

-    {

-        pinfo.maxLine = 0;

-

-        BufferedReader reader = new BufferedReader(new FileReader(pinfo.file));

-        Vector v = new Vector();

-

-        while (true)

-        {

-            String s = reader.readLine();

-            if (s == null) break;

-            v.addElement(s);

-        }

-        reader.close();

-        // Discard all trailing lines that are only whitespaces..

-        if (trimLines)

-        {

-            int i = v.size();

-            while (--i >= 0)

-                if (Util.isWhiteSpace((String) v.get(i)))

-                    v.removeElementAt(i);

-        }

-

-        int i = 0;

-        while (i < v.size())

-            storeline((String) v.get(i++), pinfo);

-

-    }

-

-    /**

-     * storeline    Places line into symbol table.

-     * ---------    Expects pinfo.maxLine initted: increments.

-     * Places symbol table handle in pinfo.ymbol.

-     * Expects pinfo is either oldinfo or newinfo.

-     */

-    void storeline(String linebuffer, fileInfo pinfo)

-    {

-        int linenum = ++pinfo.maxLine;    /* note, no line zero */

-        if (linenum > fileInfo.MAXLINECOUNT)

-        {

-            System.err.println("MAXLINECOUNT exceeded, must stop.");

-            System.exit(1);

-        }

-        pinfo.symbol[linenum] =

-                node.addSymbol(linebuffer, pinfo == oldinfo, linenum);

-    }

-

-    /*

-     * transform

-     * Analyzes the file differences and leaves its findings in

-     * the global arrays oldinfo.other, newinfo.other, and blocklen.

-     * Expects both files in symtab.

-     * Expects valid "maxLine" and "symbol" in oldinfo and newinfo.

-     */

-    void transform()

-    {

-        int oldline, newline;

-        int oldmax = oldinfo.maxLine + 2;  /* Count pseudolines at  */

-        int newmax = newinfo.maxLine + 2;  /* ..front and rear of file */

-

-        for (oldline = 0; oldline < oldmax; oldline++)

-            oldinfo.other[oldline] = -1;

-        for (newline = 0; newline < newmax; newline++)

-            newinfo.other[newline] = -1;

-

-        scanunique();  /* scan for lines used once in both files */

-        scanafter();   /* scan past sure-matches for non-unique blocks */

-        scanbefore();  /* scan backwards from sure-matches */

-        scanblocks();  /* find the fronts and lengths of blocks */

-    }

-

-    /*

-     * scanunique

-     * Scans for lines which are used exactly once in each file.

-     * Expects both files in symtab, and oldinfo and newinfo valid.

-     * The appropriate "other" array entries are set to the line# in

-     * the other file.

-     * Claims pseudo-lines at 0 and XXXinfo.maxLine+1 are unique.

-     */

-    void scanunique()

-    {

-        int oldline, newline;

-        node psymbol;

-

-        for (newline = 1; newline <= newinfo.maxLine; newline++)

-        {

-            psymbol = newinfo.symbol[newline];

-            if (psymbol.symbolIsUnique())

-            {        // 1 use in each file

-                oldline = psymbol.linenum;

-                newinfo.other[newline] = oldline; // record 1-1 map

-                oldinfo.other[oldline] = newline;

-            }

-        }

-        newinfo.other[0] = 0;

-        oldinfo.other[0] = 0;

-        newinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;

-        oldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;

-    }

-

-    /*

-     * scanafter

-     * Expects both files in symtab, and oldinfo and newinfo valid.

-     * Expects the "other" arrays contain positive #s to indicate

-     * lines that are unique in both files.

-     * For each such pair of places, scans past in each file.

-     * Contiguous groups of lines that match non-uniquely are

-     * taken to be good-enough matches, and so marked in "other".

-     * Assumes each other[0] is 0.

-     */

-    void scanafter()

-    {

-        int oldline, newline;

-

-        for (newline = 0; newline <= newinfo.maxLine; newline++)

-        {

-            oldline = newinfo.other[newline];

-            if (oldline >= 0)

-            {	/* is unique in old & new */

-                for (; ;)

-                {	/* scan after there in both files */

-                    if (++oldline > oldinfo.maxLine) break;

-                    if (oldinfo.other[oldline] >= 0) break;

-                    if (++newline > newinfo.maxLine) break;

-                    if (newinfo.other[newline] >= 0) break;

-

-                    /* oldline & newline exist, and

-                    aren't already matched */

-

-                    if (newinfo.symbol[newline] !=

-                            oldinfo.symbol[oldline])

-                        break;  // not same

-

-                    newinfo.other[newline] = oldline; // record a match

-                    oldinfo.other[oldline] = newline;

-                }

-            }

-        }

-    }

-

-    /**

-     * scanbefore

-     * As scanafter, except scans towards file fronts.

-     * Assumes the off-end lines have been marked as a match.

-     */

-    void scanbefore()

-    {

-        int oldline, newline;

-

-        for (newline = newinfo.maxLine + 1; newline > 0; newline--)

-        {

-            oldline = newinfo.other[newline];

-            if (oldline >= 0)

-            {               /* unique in each */

-                for (; ;)

-                {

-                    if (--oldline <= 0) break;

-                    if (oldinfo.other[oldline] >= 0) break;

-                    if (--newline <= 0) break;

-                    if (newinfo.other[newline] >= 0) break;

-

-                    /* oldline and newline exist,

-                    and aren't marked yet */

-

-                    if (newinfo.symbol[newline] !=

-                            oldinfo.symbol[oldline])

-                        break;  // not same

-

-                    newinfo.other[newline] = oldline; // record a match

-                    oldinfo.other[oldline] = newline;

-                }

-            }

-        }

-    }

-

-    /**

-     * scanblocks - Finds the beginnings and lengths of blocks of matches.

-     * Sets the blocklen array (see definition).

-     * Expects oldinfo valid.

-     */

-    void scanblocks()

-    {

-        int oldline, newline;

-        int oldfront = 0;      // line# of front of a block in old, or 0

-        int newlast = -1;      // newline's value during prev. iteration

-

-        for (oldline = 1; oldline <= oldinfo.maxLine; oldline++)

-            blocklen[oldline] = 0;

-        blocklen[oldinfo.maxLine + 1] = UNREAL; // starts a mythical blk

-

-        for (oldline = 1; oldline <= oldinfo.maxLine; oldline++)

-        {

-            newline = oldinfo.other[oldline];

-            if (newline < 0)

-                oldfront = 0;  /* no match: not in block */

-            else

-            {                                   /* match. */

-                if (oldfront == 0) oldfront = oldline;

-                if (newline != (newlast + 1)) oldfront = oldline;

-                ++blocklen[oldfront];

-            }

-            newlast = newline;

-        }

-    }

-

-    /* The following are global to printout's subsidiary routines */

-    // enum{ idle, delete, insert, movenew, moveold,

-    // same, change } printstatus;

-    public static final int

-            idle = 0, delete = 1, insert = 2, movenew = 3, moveold = 4,

-    same = 5, change = 6;

-    int printstatus;

-    boolean anyprinted;

-    int printoldline, printnewline;     // line numbers in old & new file

-

-    /**

-     * printout - Prints summary to stdout.

-     * Expects all data structures have been filled out.

-     */

-    String printout()

-    {

-        printstatus = idle;

-        anyprinted = false;

-        PrintStream _sysout = System.out;

-        _sysout.flush();

-        String ret;

-        try

-        {

-            ByteArrayOutputStream bout = new ByteArrayOutputStream();

-            System.setOut(new PrintStream(bout));

-            for (printoldline = printnewline = 1; ;)

-            {

-                if (printoldline > oldinfo.maxLine)

-                {

-                    newconsume();

-                    break;

-                }

-                if (printnewline > newinfo.maxLine)

-                {

-                    oldconsume();

-                    break;

-                }

-                if (newinfo.other[printnewline] < 0)

-                {

-                    if (oldinfo.other[printoldline] < 0)

-                        showchange();

-                    else

-                        showinsert();

-                } else if (oldinfo.other[printoldline] < 0)

-                    showdelete();

-                else if (blocklen[printoldline] < 0)

-                    skipold();

-                else if (oldinfo.other[printoldline] == printnewline)

-                    showsame();

-                else

-                    showmove();

-            }

-

-            if (anyprinted)

-                ret = bout.toString();

-            else

-                ret = null;

-        }

-        finally

-        {

-            System.setOut(_sysout);

-        }

-

-        return ret;

-    }

-

-    /*

-     * newconsume        Part of printout. Have run out of old file.

-     * Print the rest of the new file, as inserts and/or moves.

-     */

-    void newconsume()

-    {

-        for (; ;)

-        {

-            if (printnewline > newinfo.maxLine)

-                break;        /* end of file */

-            if (newinfo.other[printnewline] < 0)

-                showinsert();

-            else

-                showmove();

-        }

-    }

-

-    /**

-     * oldconsume        Part of printout. Have run out of new file.

-     * Process the rest of the old file, printing any

-     * parts which were deletes or moves.

-     */

-    void oldconsume()

-    {

-        for (; ;)

-        {

-            if (printoldline > oldinfo.maxLine)

-                break;       /* end of file */

-            printnewline = oldinfo.other[printoldline];

-            if (printnewline < 0)

-                showdelete();

-            else if (blocklen[printoldline] < 0)

-                skipold();

-            else

-                showmove();

-        }

-    }

-

-    /**

-     * showdelete        Part of printout.

-     * Expects printoldline is at a deletion.

-     */

-    void showdelete()

-    {

-        if (printstatus != delete)

-            println(">>>> DELETE AT " + printoldline);

-        printstatus = delete;

-        oldinfo.symbol[printoldline].showSymbol();

-        anyprinted = true;

-        printoldline++;

-    }

-

-    /*

-     * showinsert        Part of printout.

-     * Expects printnewline is at an insertion.

-     */

-    void showinsert()

-    {

-        if (printstatus == change)

-            println(">>>>     CHANGED TO");

-        else if (printstatus != insert)

-            println(">>>> INSERT BEFORE " + printoldline);

-        printstatus = insert;

-        newinfo.symbol[printnewline].showSymbol();

-        anyprinted = true;

-        printnewline++;

-    }

-

-    /**

-     * showchange        Part of printout.

-     * Expects printnewline is an insertion.

-     * Expects printoldline is a deletion.

-     */

-    void showchange()

-    {

-        if (printstatus != change)

-            println(">>>> " + printoldline + " CHANGED FROM");

-        printstatus = change;

-        oldinfo.symbol[printoldline].showSymbol();

-        anyprinted = true;

-        printoldline++;

-    }

-

-    /**

-     * skipold           Part of printout.

-     * Expects printoldline at start of an old block that has

-     * already been announced as a move.

-     * Skips over the old block.

-     */

-    void skipold()

-    {

-        printstatus = idle;

-        for (; ;)

-        {

-            if (++printoldline > oldinfo.maxLine)

-                break;     /* end of file  */

-            if (oldinfo.other[printoldline] < 0)

-                break;    /* end of block */

-            if (blocklen[printoldline] != 0)

-                break;          /* start of another */

-        }

-    }

-

-    /**

-     * skipnew           Part of printout.

-     * Expects printnewline is at start of a new block that has

-     * already been announced as a move.

-     * Skips over the new block.

-     */

-    void skipnew()

-    {

-        int oldline;

-        printstatus = idle;

-        for (; ;)

-        {

-            if (++printnewline > newinfo.maxLine)

-                break;    /* end of file  */

-            oldline = newinfo.other[printnewline];

-            if (oldline < 0)

-                break;                         /* end of block */

-            if (blocklen[oldline] != 0)

-                break;              /* start of another */

-        }

-    }

-

-    /**

-     * showsame          Part of printout.

-     * Expects printnewline and printoldline at start of

-     * two blocks that aren't to be displayed.

-     */

-    void showsame()

-    {

-        int count;

-        printstatus = idle;

-        if (newinfo.other[printnewline] != printoldline)

-        {

-            System.err.println("BUG IN LINE REFERENCING");

-            System.exit(1);

-        }

-        count = blocklen[printoldline];

-        printoldline += count;

-        printnewline += count;

-    }

-

-    /**

-     * showmove          Part of printout.

-     * Expects printoldline, printnewline at start of

-     * two different blocks ( a move was done).

-     */

-    void showmove()

-    {

-        int oldblock = blocklen[printoldline];

-        int newother = newinfo.other[printnewline];

-        int newblock = blocklen[newother];

-

-        if (newblock < 0)

-            skipnew();         // already printed.

-        else if (oldblock >= newblock)

-        {     // assume new's blk moved.

-            blocklen[newother] = -1;         // stamp block as "printed".

-            println(">>>> " + newother +

-                    " THRU " + (newother + newblock - 1) +

-                    " MOVED TO BEFORE " + printoldline);

-            for (; newblock > 0; newblock--, printnewline++)

-                newinfo.symbol[printnewline].showSymbol();

-            anyprinted = true;

-            printstatus = idle;

-

-        } else                /* assume old's block moved */

-            skipold();      /* target line# not known, display later */

-    }

-

-    /**

-     * Convenience wrapper for println

-     */

-    public void println(String s)

-    {

-        System.out.println(s);

-    }

-}

-

-;				// end of main class!

-

-/**

- * Class "node". The symbol table routines in this class all

- * understand the symbol table format, which is a binary tree.

- * The methods are: addSymbol, symbolIsUnique, showSymbol.

- */

-class node

-{                       /* the tree is made up of these nodes */

-    node pleft, pright;

-    int linenum;

-

-    static final int freshnode = 0,

-    oldonce = 1, newonce = 2, bothonce = 3, other = 4;

-

-    int /* enum linestates */ linestate;

-    String line;

-

-    static node panchor = null;    /* symtab is a tree hung from this */

-

-    /**

-     * Construct a new symbol table node and fill in its fields.

-     *

-     * @param string A line of the text file

-     */

-    node(String pline)

-    {

-        pleft = pright = null;

-        linestate = freshnode;

-        /* linenum field is not always valid */

-        line = pline;

-    }

-

-    /**

-     * matchsymbol       Searches tree for a match to the line.

-     *

-     * @param	String	pline, a line of text

-     * If node's linestate == freshnode, then created the node.

-     */

-    static node matchsymbol(String pline)

-    {

-        int comparison;

-        node pnode = panchor;

-        if (panchor == null) return panchor = new node(pline);

-        for (; ;)

-        {

-            comparison = pnode.line.compareTo(pline);

-            if (comparison == 0) return pnode;          /* found */

-

-            if (comparison < 0)

-            {

-                if (pnode.pleft == null)

-                {

-                    pnode.pleft = new node(pline);

-                    return pnode.pleft;

-                }

-                pnode = pnode.pleft;

-            }

-            if (comparison > 0)

-            {

-                if (pnode.pright == null)

-                {

-                    pnode.pright = new node(pline);

-                    return pnode.pright;

-                }

-                pnode = pnode.pright;

-            }

-        }

-        /* NOTE: There are return stmts, so control does not get here. */

-    }

-

-    /**

-     * addSymbol(String pline) - Saves line into the symbol table.

-     * Returns a handle to the symtab entry for that unique line.

-     * If inoldfile nonzero, then linenum is remembered.

-     */

-    static node addSymbol(String pline, boolean inoldfile, int linenum)

-    {

-        node pnode;

-        pnode = matchsymbol(pline);  /* find the node in the tree */

-        if (pnode.linestate == freshnode)

-        {

-            pnode.linestate = inoldfile ? oldonce : newonce;

-        } else

-        {

-            if ((pnode.linestate == oldonce && !inoldfile) ||

-                    (pnode.linestate == newonce && inoldfile))

-                pnode.linestate = bothonce;

-            else

-                pnode.linestate = other;

-        }

-        if (inoldfile) pnode.linenum = linenum;

-        return pnode;

-    }

-

-    /**

-     * symbolIsUnique    Arg is a ptr previously returned by addSymbol.

-     * --------------    Returns true if the line was added to the

-     * symbol table exactly once with inoldfile true,

-     * and exactly once with inoldfile false.

-     */

-    boolean symbolIsUnique()

-    {

-        return (linestate == bothonce);

-    }

-

-    /**

-     * showSymbol        Prints the line to stdout.

-     */

-    void showSymbol()

-    {

-        System.out.println(line);

-    }

-}

-

diff --git a/v2/test/tools/src/tools/util/JarUtil.java b/v2/test/tools/src/tools/util/JarUtil.java
deleted file mode 100755
index ffabeda..0000000
--- a/v2/test/tools/src/tools/util/JarUtil.java
+++ /dev/null
@@ -1,175 +0,0 @@
-package tools.util;

-

-import java.io.BufferedReader;

-import java.io.*;

-import java.net.JarURLConnection;

-import java.net.URL;

-import java.util.jar.JarFile;

-import java.util.jar.JarEntry;

-import java.util.StringTokenizer;

-

-/**

- * @author jacobd

- * Date: Dec 8, 2003

- */

-public class JarUtil {

-    /**

-     * returns an File Object within the given jarFile as a String. jarFile must exist in classpath

-     * @param jarFile

-     * @param pathToResource

-     * @return File

-     */

-

-    final static String  EOL=System.getProperty("line.separator");

-    public static File getResourceFromJarasFile(String jarFile, String pathToResource)

-            throws IOException{

-       /* URL url = new URL("jar:file:"+getFilePath(jarFile)+"!/");

-

-        JarURLConnection jarConnection = (JarURLConnection)url.openConnection();

-

-        JarFile jar = jarConnection.getJarFile();

-        if (jar.getJarEntry(pathToResource) == null){

-            throw new FileNotFoundException("Path: "+pathToResource+" was not found in "+jarFile);

-        }

-

-        File foo =  new File(url.toString()+pathToResource);

-        if (!foo.exists()) {

-           // throw new IOException("File: "+url.toString()+pathToResource+" does not exist");

-

-

-

-

-        }

-        else

-            return foo;

-            */

-        String[] tokens=pathToResource.split("/");

-        String fileName=tokens[tokens.length-1];

-        tokens=fileName.split("\\.");

-        File temp=File.createTempFile(tokens[0],"."+tokens[1]);

-        temp.deleteOnExit();

-        PrintWriter pr=null;

-        try{

-            pr=new PrintWriter(new FileWriter(temp));

-            String content= getResourceFromJar(jarFile, pathToResource);

-            pr.write(content);

-

-        }finally{

-             if (pr != null) pr.close();

-        }

-      return temp;

-    }

-

-    /**

-     * returns an item within the given jarFile as a String. jarFile must exist in classpath

-     * @param jarFile

-     * @param pathToResource

-     * @return String

-     */

-    public static String getResourceFromJar(String jarFile, String pathToResource)

-            throws IOException{

-

-        URL url = new URL("jar:file:"+getFilePath(jarFile)+"!/");

-        JarURLConnection jarConnection = (JarURLConnection)url.openConnection();

-

-        JarFile jar = jarConnection.getJarFile();

-        if (jar.getJarEntry(pathToResource) == null){

-            throw new FileNotFoundException("Path: "+pathToResource+" was not found in "+jarFile);

-        }

-

-        JarEntry item = jar.getJarEntry(pathToResource);

-

-

-        BufferedReader in = new BufferedReader(new InputStreamReader(jar.getInputStream(item)));

-        StringBuffer stb = new StringBuffer();

-        String buffer;

-

-        while(!((buffer=in.readLine())==null)) {

-            stb.append(buffer+EOL);

-        }

-

-        return stb.toString();

-    }

-

-        /**

-     * returns an item within the given jarFile as a String. jarFile must exist in classpath

-     * @param jarFile

-     * @param pathToResource

-     * @return String

-     */

-    public static InputStreamReader getResourceFromJarasStream(String jarFile, String pathToResource)

-            throws IOException{

-

-        URL url = new URL("jar:file:"+getFilePath(jarFile)+"!/");

-        JarURLConnection jarConnection = (JarURLConnection)url.openConnection();

-

-        JarFile jar = jarConnection.getJarFile();

-        if (jar.getJarEntry(pathToResource) == null){

-            throw new FileNotFoundException("Path: "+pathToResource+" was not found in "+jarFile);

-        }

-

-        JarEntry item = jar.getJarEntry(pathToResource);

-

-

-        return new InputStreamReader(jar.getInputStream(item));

-

-    }

-

-    /**

-     * Returns the classpath entry of a given item on the classpath. The item should be a jarFile reference

-     * @param jarFile

-     * @return String

-     * @throws FileNotFoundException

-     */

-    public static String getFilePath(String jarFile) throws FileNotFoundException {

-        String sClassPath = System.getProperty("java.class.path");

-        int jarIndex = sClassPath.indexOf(jarFile);

-

-        if (jarIndex <= 0 ){

-                throw new FileNotFoundException("File: "+jarFile+" was not found on the classpath");

-        }

-

-        String P = File.pathSeparator;

-

-        String[] pathList = sClassPath.split(P);

-

-        for (int i=0; i < pathList.length; i++){

-            //System.out.println("["+i+"] - "+pathList[i]);

-            if (pathList[i].toLowerCase().endsWith(jarFile.toLowerCase())){

-                return pathList[i];

-            }

-        }

-

-        throw new FileNotFoundException("File: "+jarFile+" was not found when iterating classpath");

-    }

-

-

-/*// Create a URL that refers to a jar file on the net

-    URL url = new URL("jar:http://hostname/my.jar!/");

-

-    // Create a URL that refers to a jar file in the file system

-    url = new URL("jar:file:/c:/almanac/my.jar!/");

-

-    // Get the jar file

-    JarURLConnection conn = (JarURLConnection)url.openConnection();

-    JarFile jarfile = conn.getJarFile();

-

-    // When no entry is specified on the URL, the entry name is null

-    String entryName = conn.getEntryName();  // null

-

-

-    // Create a URL that refers to an entry in the jar file

-    url = new URL("jar:file:/c:/almanac/my.jar!/com/mycompany/MyClass.class");

-

-    // Get the jar file

-    conn = (JarURLConnection)url.openConnection();

-    jarfile = conn.getJarFile();

-

-    // Get the entry name; it should be the same as specified on URL

-    entryName = conn.getEntryName();

-

-    // Get the jar entry

-    JarEntry jarEntry = conn.getJarEntry();

-  */

-

-}

diff --git a/v2/test/tools/src/tools/util/Log.java b/v2/test/tools/src/tools/util/Log.java
deleted file mode 100755
index 94e000d..0000000
--- a/v2/test/tools/src/tools/util/Log.java
+++ /dev/null
@@ -1,241 +0,0 @@
-package tools.util;

-

-import java.io.File;

-import java.io.FileOutputStream;

-import java.io.PrintStream;

-

-/**

- * Provides some logging utilities. I don't like how log4j is a cascading

- * logger so I implemented a simple bitmask logger instead. It wouldn't be

- * hard to switch to log4j if we wanted since all the method names are the

- * same.

- */

-public class Log

-{

-    /** Turn off all logging. */

-    public static final int LEVEL_OFF = 0;

-

-    /** Log {@link #debug(String)} messages. */

-    public static final int LEVEL_DEBUG = 2;

-

-    /** Log {@link #info(String)} messages. */

-    public static final int LEVEL_INFO = 4;

-

-    /** Log {@link #warn(String)} messages. */

-    public static final int LEVEL_WARN = 8;

-

-    /** Log {@link #error(String)} messages. */

-    public static final int LEVEL_ERROR = 16;

-

-    /** Log {@link #fatal(String)} messages. */

-    public static final int LEVEL_FATAL = 32;

-

-    /** Log all messages regardless of the level. */

-    public static final int LEVEL_ALL = 0xffff;

-

-    /** Set to "fatal", "error", and "info" by default. */

-    public static final int DEFAULT_LEVEL =

-        LEVEL_FATAL | LEVEL_ERROR | LEVEL_INFO;

-

-    /** Determines the current logging level. */

-    private static int _level = DEFAULT_LEVEL;

-

-    /** Destination of logging. */

-    private static PrintStream out = System.out;

-

-    /** Set destination of logging to a file. */

-    public static void setOut(String file)

-        throws java.io.FileNotFoundException

-    {

-        if ("-".equals(file))

-            setOut(System.out);

-        else

-            setOut(new PrintStream(new FileOutputStream(file)));

-    }

-

-    /** Set destination of logging to a file. */

-    public static void setOut(File file)

-        throws java.io.FileNotFoundException

-    {

-        setOut(new PrintStream(new FileOutputStream(file)));

-    }

-

-    /** Set destination of logging to a stream. */

-    public static void setOut(PrintStream out)

-    {

-        Log.out = out;

-    }

-

-    /** Get the output stream. */

-    public static PrintStream getOut()

-    {

-        return out;

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void setLevel(int level) {

-        _level = level;

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void onLevel(int level) {

-        _level |= level;

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void offLevel(int level) {

-        _level &= ~level;

-    }

-

-    /**

-     * Flip the debugging level.

-     */

-    public static void flipLevel(int level) {

-        _level ^= level;

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void setLevel(String level) {

-        level = level.toLowerCase();

-

-        if ("fatal".equals(level)) {

-            _level = LEVEL_FATAL;

-        }

-        else if ("error".equals(level)) {

-            _level = LEVEL_ERROR;

-        }

-        else if ("warn".equals(level)) {

-            _level = LEVEL_WARN;

-        }

-        else if ("info".equals(level)) {

-            _level = LEVEL_INFO;

-        }

-        else if ("debug".equals(level)) {

-            _level = LEVEL_DEBUG;

-        }

-        else if ("all".equals(level)) {

-            _level = LEVEL_ALL;

-        }

-        else if ("off".equals(level)) {

-            _level = LEVEL_OFF;

-        }

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void onLevel(String level) {

-        level = level.toLowerCase();

-

-        if ("fatal".equals(level)) {

-            onLevel(LEVEL_FATAL);

-        }

-        else if ("error".equals(level)) {

-            onLevel(LEVEL_ERROR);

-        }

-        else if ("warn".equals(level)) {

-            onLevel(LEVEL_WARN);

-        }

-        else if ("info".equals(level)) {

-            onLevel(LEVEL_INFO);

-        }

-        else if ("debug".equals(level)) {

-            onLevel(LEVEL_DEBUG);

-        }

-        else if ("all".equals(level)) {

-            _level = LEVEL_ALL;

-        }

-        else if ("off".equals(level)) {

-            _level = LEVEL_OFF;

-        }

-    }

-

-    /**

-     * Set the debugging level.

-     */

-    public static void offLevel(String level) {

-        level = level.toLowerCase();

-

-        if ("fatal".equals(level)) {

-            offLevel(LEVEL_FATAL);

-        }

-        else if ("error".equals(level)) {

-            offLevel(LEVEL_ERROR);

-        }

-        else if ("warn".equals(level)) {

-            offLevel(LEVEL_WARN);

-        }

-        else if ("info".equals(level)) {

-            offLevel(LEVEL_INFO);

-        }

-        else if ("debug".equals(level)) {

-            offLevel(LEVEL_DEBUG);

-        }

-        else if ("all".equals(level)) {

-            _level = LEVEL_OFF;

-        }

-        else if ("off".equals(level)) {

-            _level = LEVEL_ALL;

-        }

-    }

-

-    /**

-     * Get the debugging level.

-     */

-    public static int getLevel() {

-        return _level;

-    }

-

-    /**

-     * Print a message if the level has the {@link #LEVEL_FATAL} bit set.

-     */

-    public static void fatal(String message)

-    {

-        if ((LEVEL_FATAL & _level) != 0)

-            Log.out.println(message);

-    }

-

-    /**

-     * Print a message if the level has the {@link #LEVEL_ERROR} bit set.

-     */

-    public static void error(String message)

-    {

-        if ((LEVEL_ERROR & _level) != 0)

-            Log.out.println(message);

-    }

-

-    /**

-     * Print a message if the level has the {@link #LEVEL_WARN} bit set.

-     */

-    public static void warn(String message)

-    {

-        if ((LEVEL_WARN & _level) != 0)

-            Log.out.println(message);

-    }

-

-    /**

-     * Print a message if the level has the {@link #LEVEL_INFO} bit set.

-     */

-    public static void info(String message)

-    {

-        if ((LEVEL_INFO & _level) != 0)

-            Log.out.println(message);

-    }

-

-    /**

-     * Print a message if the level has the {@link #LEVEL_DEBUG} bit set.

-     */

-    public static void debug(String message)

-    {

-        if ((LEVEL_DEBUG & _level) != 0)

-            Log.out.println(message);

-    }

-}

diff --git a/v2/test/tools/src/tools/util/ResourceClass.java b/v2/test/tools/src/tools/util/ResourceClass.java
deleted file mode 100755
index 8934a4b..0000000
--- a/v2/test/tools/src/tools/util/ResourceClass.java
+++ /dev/null
@@ -1,119 +0,0 @@
-package tools.util;

-

-import java.io.InputStream;

-import java.io.IOException;

-

-/**

- * Utility for obtaining a class <i>tail name</i> and <i>last name</i>.  These

- * are terms I invented and aren't very good:

- * <dl>

- * <dt>Last Name:<dd>The class name minus the package name part.

- * <dt>Tail Name:<dd>The class name minus the first package.

- * </dl>

- * For example, if a class name is <code>foo.bar.Blee</code>, the last name

- * would be <code>Blee</code>, while the tail name would be

- * <code>bar.Blee</code>.

- */

-public class ResourceClass

-{

-    Class clazz;

-    String lastName;

-    String tailName;

-

-    public ResourceClass(Class clazz)

-    {

-        setResourceClass(clazz);

-    }

-

-    public void setResourceClass(Class clazz)

-    {

-        this.clazz = clazz;

-

-        setLastName();

-        setTailName();

-    }

-

-    private void setTailName()

-    {

-        tailName = ResourceUtil.getTailName(clazz);

-    }

-

-    private void setLastName()

-    {

-        lastName = ResourceUtil.getLastName(clazz);

-    }

-

-    /**

-     * Get the class name minus the first package name; for the class name

-     * "foo.bar.Blee", the method returns "bar.Blee".  If the class is missing

-     * any package, the whole class name is returned.

-     *

-     * @see ResourceUtil#getTailName(Class)

-     */

-    public String getTailName()

-    {

-        return tailName;

-    }

-

-    /**

-     * Get the trailing part of the classname; for the class name

-     * "foo.bar.Blee", the method returns "Blee"

-     *

-     * @see ResourceUtil#getLastName(Class)

-     */

-    public String getLastName()

-    {

-        return lastName;

-    }

-

-    public Class getResourceClass()

-    {

-        return clazz;

-    }

-

-    /**

-     * Get resource from the class directory into a String. Example:

-     * <pre>

-     * ResourceClass resClass = new ResourceClass(foo.bar.Blee.class);

-     * String msg = resClass.getResource("file.txt");

-     * </pre>

-     * will obtain the contents of "foo/bar/Blee/file.txt".

-     *

-     * @param resourceName The name of the resource to obtain.

-     * @return The contents of the named resource.

-     * @see SoapUtil#getResource(Class clazz, String lastName,

-     *     String resourceName)

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     */

-    public String getResource(String resourceName)

-        throws NullPointerException, IOException

-    {

-        if (clazz == null)

-            throw new NullPointerException();

-

-        java.io.InputStream is =

-            this.getResourceAsStream(resourceName);

-        return Util.read(is);

-    }

-

-    /**

-     * Get resource from the class message directory. Example:

-     * <pre>

-     * ResourceClass resClass = new ResourceClass(foo.bar.Blee.class);

-     * InputStream is = resClass.getResourceAsStream("file.txt");

-     * </pre>

-     * will obtain an <code>InputStream</code> to the file named

-     * "foo/bar/Blee/file.txt".

-     *

-     * @param resourceName The name of the resource to obtain.

-     * @return The <code>InputStream</code> to the named resource.

-     * @see SoapUtil#getResource(Class clazz, String lastName,

-     *     String resourceName)

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     */

-    public InputStream getResourceAsStream(String resourceName)

-    {

-        return ResourceUtil.getStream(clazz, lastName, resourceName);

-    }

-

-}

diff --git a/v2/test/tools/src/tools/util/ResourceUtil.java b/v2/test/tools/src/tools/util/ResourceUtil.java
deleted file mode 100755
index 6f81468..0000000
--- a/v2/test/tools/src/tools/util/ResourceUtil.java
+++ /dev/null
@@ -1,234 +0,0 @@
-package tools.util;

-

-import java.io.File;

-import java.io.InputStream;

-

-import java.net.URL;

-

-/**

- * Get a resource as InputStream, File, or URL from the classpath.

- */

-public class ResourceUtil

-{

-    /**

-     * Get the class name minus the first package name; for the class name

-     * "foo.bar.Blee", the method returns "bar.Blee".  If the class is missing

-     * any package, the whole class name is returned.

-     */

-    public static String getTailName(Class c)

-    {

-        String name = c.getName();

-        return name.substring(name.indexOf('.')+1);

-    }

-

-    /**

-     * Get the trailing part of the classname; for the class name

-     * "foo.bar.Blee", the method returns "Blee".

-     */

-    public static String getLastName(Class c)

-    {

-        String name = c.getName();

-        int i = name.lastIndexOf('.');

-        return name.substring(i+1, name.length());

-    }

-

-    /**

-     * Get a URL to a resource on the system classpath. For example:

-     * <pre>

-     * getURL("xbean/xmlobject/simple/dumb/dumb.xml")

-     * </pre>

-     * NOTE: This is intended to be used from a junit test since it will throw

-     * an exception on failure which will be caught by the junit runner.

-     *

-     * @throws RuntimeException If no resource is found.

-     */

-    public static URL getURL(String name)

-    {

-        URL url = ClassLoader.getSystemResource(name);

-        if (url == null)

-            throw new RuntimeException("Resource doesn't exist: " + name);

-

-        return url;

-    }

-

-    /**

-     * Get a File to a resource on the system classpath.

-     * NOTE: This is intended to be used from a junit test since it will throw

-     * an exception on failure which will be caught by the junit runner.

-     *

-     * @throws RuntimeException If no resource is found.

-     */

-    public static File getFile(String name)

-    {

-        return new File(ResourceUtil.getURL(name).getFile());

-    }

-

-    /**

-     * Get a InputStream to a resource on the system classpath.

-     * NOTE: This is intended to be used from a junit test since it will throw

-     * an exception on failure which will be caught by the junit runner.

-     *

-     * @throws RuntimeException If no resource is found.

-     */

-    public static InputStream getStream(String name)

-    {

-        InputStream is = ClassLoader.getSystemResourceAsStream(name);

-        if (is == null)

-            throw new RuntimeException("Resource doesn't exist: " + name);

-

-        return is;

-    }

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getURL(foo.bar.Blee.class, "file.txt");

-     * </pre>

-     * will obtain an <code>URL</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResource()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param name The name of the resource to obtain.

-     * @return The <code>InputStream</code> to the named resource.

-     * @see java.lang.Class#getResource(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static URL getURL(Class c, String name)

-    {

-        return ResourceUtil.getURL(c, ResourceUtil.getLastName(c), name);

-    }

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getURL(foo.bar.Blee.class, "Blee", "file.txt");

-     * </pre>

-     * will obtain an <code>URL</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResource()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param lastName The name of the class itself, eg. for class

-     *   "foo.bar.Blee", the <code>lastName</code> is "Blee".

-     * @param name The name of the resource to obtain.

-     * @return The <code>URL</code> to the named resource.

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static URL getURL(Class c, String lastName, String name)

-    {

-        // get the contents of the resouce

-        URL url = c.getResource(lastName + "/" + name);

-        if (url == null) {

-            throw new RuntimeException("Can't find resource: " +

-                lastName +

-                File.separator +

-                File.separator + name);

-        }

-        return url;

-    }

-

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getStream(foo.bar.Blee.class, "file.txt");

-     * </pre>

-     * will obtain an <code>InputStream</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResourceAsStream()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param name The name of the resource to obtain.

-     * @return The <code>URL</code> to the named resource.

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static InputStream getStream(Class clazz, String name)

-    {

-        return ResourceUtil.getStream(clazz,

-            ResourceUtil.getLastName(clazz), name);

-    }

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getStream(foo.bar.Blee.class, "Blee", "file.txt");

-     * </pre>

-     * will obtain an <code>InputStream</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResourceAsStream()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param lastName The name of the class itself, eg. for class

-     *   "foo.bar.Blee", the <code>lastName</code> is "Blee".

-     * @param name The name of the resource to obtain.

-     * @return The <code>InputStream</code> to the named resource.

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static InputStream getStream(Class c, String lastName, String name)

-    {

-        // get the contents of the resouce

-        InputStream is = c.getResourceAsStream(lastName + "/" + name);

-        if (is == null) {

-            throw new RuntimeException("Can't find resource: " +

-                lastName +

-                File.separator +

-                File.separator + name);

-        }

-        return is;

-    }

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getFile(foo.bar.Blee.class, "file.txt");

-     * </pre>

-     * will obtain an <code>File</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResource()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param lastName The name of the class itself, eg. for class

-     *   "foo.bar.Blee", the <code>lastName</code> is "Blee".

-     * @param name The name of the resource to obtain.

-     * @return The <code>File</code> to the named resource.

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static File getFile(Class c, String name)

-    {

-        return new File(getURL(c, name).getFile());

-    }

-

-    /**

-     * Find a resource with the given name. For example,

-     * <pre>

-     * getFile(foo.bar.Blee.class, "Blee", "file.txt");

-     * </pre>

-     * will obtain an <code>File</code> to the file named

-     * "foo/bar/Blee/file.txt".  Note that the

-     * {@link Class#getResource()} method would return the resource

-     * for "foo/bar/file.txt" instead.

-     *

-     * @param clazz The resource class.

-     * @param lastName The name of the class itself, eg. for class

-     *   "foo.bar.Blee", the <code>lastName</code> is "Blee".

-     * @param name The name of the resource to obtain.

-     * @return The <code>File</code> to the named resource.

-     * @see java.lang.Class#getResourceAsStream(java.lang.String name)

-     * @throws RuntimeException If no resource is found.

-     */

-    public static File getFile(Class c, String lastName, String name)

-    {

-        return new File(getURL(c, lastName, name).getFile());

-    }

-

-}

diff --git a/v2/test/tools/src/tools/util/SchemaFilenameFilter.java b/v2/test/tools/src/tools/util/SchemaFilenameFilter.java
deleted file mode 100755
index 179791f..0000000
--- a/v2/test/tools/src/tools/util/SchemaFilenameFilter.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package tools.util;

-

-import java.io.FilenameFilter;

-import java.io.File;

-

-/**

- * @author jacobd

- * Date: Jan 20, 2004

- */

-public class SchemaFilenameFilter implements FilenameFilter{

-    public boolean accept(File file, String s) {

-        if (s.endsWith("xsd"))

-            return true;

-        else

-            return false;

-    }

-}

diff --git a/v2/test/tools/src/tools/util/SchemaValidator.java b/v2/test/tools/src/tools/util/SchemaValidator.java
deleted file mode 100755
index 4ec03e6..0000000
--- a/v2/test/tools/src/tools/util/SchemaValidator.java
+++ /dev/null
@@ -1,111 +0,0 @@
-package tools.util;

-

-import org.apache.xmlbeans.*;

-

-import java.util.ArrayList;

-import java.util.Collection;

-import java.io.File;

-import java.io.IOException;

-

-

-public class SchemaValidator

-{

-

-    /* Some tests

-    public static void main(String args[])

-    {

-        //String schema = "cases/qatest/files/xbean/java2schema/daily/j2s/cases/inheritance/schema.xsd";

-        String schema = "build/AntTests/META-INF/schemas/schema-0.xsd";

-        Collection errors = new ArrayList();

-

-        if (!isValidSchema(schema, errors))

-        {

-            System.out.println(schema + " is not valid:");

-            Iterator i = errors.iterator();

-            while (i.hasNext())

-            {

-                XmlError err = (XmlError) i.next();

-                System.out.println(XmlError.severityAsString(err.getSeverity())

-                                   + ": " + err.getMessage()

-                                   + " at line " + err.getLine()

-                                   + ", column " + err.getColumn());

-

-            }

-        }

-

-    }

-    */

-

-    /**

-     * Validates a schema file. Errors if any are returned in the collection

-     * object that is passed in

-     * @param schemaFile

-     * @param errors

-     * @return true if schema is valid, false otherwise.

-     * @throws IllegalArgumentException

-     */

-    public static boolean isSchemaValid(String schemaFile, Collection errors)

-        throws IllegalArgumentException

-    {

-        if (errors == null)

-        {

-            String msg = "Collection parameter cannot be null";

-            throw new IllegalArgumentException(msg);

-        }

-        XmlOptions options = new XmlOptions();

-        options.setErrorListener(errors);

-        options.setLoadLineNumbers();

-

-        Exception ex = null;

-        Exception ioex = null;

-        XmlObject[] schema = new XmlObject[1];

-        SchemaTypeSystem system = null;

-        try

-        {

-            schema[0] = XmlObject.Factory.parse(new File(schemaFile));

-            system = XmlBeans.compileXsd(schema,

-                                         XmlBeans.getBuiltinTypeSystem(),

-                                         options);

-        } catch (XmlException e)

-        {

-            // Parse Exception

-            ex = e;

-        } catch (IOException ioe)

-        {

-            // Error while trying to read file

-            ioex = ioe;

-        }

-

-        if (ioex != null)

-        {

-            errors.add(XmlError.forMessage("EXCEPTION: " + ioex.toString(),

-                                           XmlError.SEVERITY_ERROR));

-            return false;

-        }

-        if (ex != null)

-        {

-            errors.add(XmlError.forMessage("EXCEPTION: " + ex.toString(),

-                                           XmlError.SEVERITY_ERROR));

-            return false;

-        }

-

-        return (system == null)? false : true;

-    }

-

-    /**

-     * Validates the given schema file. Errors if any are not available

-     *

-     * @param schemaFile

-     * @return true if schema is valid, false otherwise

-     * @throws IllegalArgumentException

-     */

-

-    public static boolean isSchemaValid(String schemaFile)

-        throws IllegalArgumentException

-    {

-        Collection errors = new ArrayList();

-        return isSchemaValid(schemaFile, errors);

-    }

-

-

-}

diff --git a/v2/test/tools/src/tools/util/TestRunUtil.java b/v2/test/tools/src/tools/util/TestRunUtil.java
deleted file mode 100755
index 7768bdc..0000000
--- a/v2/test/tools/src/tools/util/TestRunUtil.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*   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.

- */

-

-package tools.util;

-

-import java.io.File;

-import java.net.URLClassLoader;

-import java.net.URL;

-import java.net.MalformedURLException;

-import java.lang.reflect.Method;

-import java.lang.reflect.InvocationTargetException;

-

-public class TestRunUtil

-{

-    /**

-     * Runs method that must be declared "static void test()" on the given

-     * class, with the given additional jars or directories on the classpath.

-     */

-    public static void run(String classname, File[] classpath) throws Throwable

-    {

-        // System.err.println("Running " + classname + " with classpath:");

-        for (int i = 0; i < classpath.length; i++)

-        {

-            // System.err.println(classpath[i]);

-            if (!classpath[i].exists())

-                throw new IllegalArgumentException("Classpath component " + classpath + " cannot be found!");

-        }

-

-        URL[] extracp = new URL[classpath.length];

-        for (int i = 0; i < classpath.length; i++)

-        {

-            try

-            {

-                extracp[i] = classpath[i].toURL();

-            }

-            catch (MalformedURLException e)

-            {

-                throw new IllegalArgumentException("Malformed classpath filename");

-            }

-        }

-

-        ClassLoader curcl = Thread.currentThread().getContextClassLoader();

-

-        try

-        {

-            ClassLoader childcl = new URLClassLoader(extracp);

-            Class javaClass = childcl.loadClass(classname);

-            Class testClass = childcl.loadClass("org.openuri.mytest.CustomerDocument");

-            if (testClass == null)

-                throw new IllegalStateException();

-            Method meth = javaClass.getMethod("test", new Class[0]); // should be static

-            Thread.currentThread().setContextClassLoader(childcl);

-            meth.invoke(null, new Object[0]);

-        }

-        catch (ClassNotFoundException e)

-        {

-            throw new IllegalArgumentException("class not found");

-        }

-        catch (NoSuchMethodException e)

-        {

-            throw new IllegalArgumentException("no test() method found");

-        }

-        catch (IllegalAccessException e)

-        {

-            throw new IllegalArgumentException("could not invoke static public test method");

-        }

-        catch (InvocationTargetException e)

-        {

-            throw e.getCause();

-        }

-        finally

-        {

-            Thread.currentThread().setContextClassLoader(curcl);

-        }

-    }

-}

diff --git a/v2/test/tools/src/tools/util/Util.java b/v2/test/tools/src/tools/util/Util.java
deleted file mode 100755
index 0b23ecf..0000000
--- a/v2/test/tools/src/tools/util/Util.java
+++ /dev/null
@@ -1,1245 +0,0 @@
-package tools.util;

-

-//import com.crossgain.util.AssertError;

-

-import java.io.*;

-import java.net.ServerSocket;

-import java.net.Socket;

-import java.net.URL;

-import java.net.URLConnection;

-import java.net.JarURLConnection;

-import java.security.MessageDigest;

-

-import java.sql.ResultSet;

-import java.sql.SQLException;

-import java.sql.Statement;

-import java.sql.DriverManager;

-import java.sql.Connection;

-

-import java.util.Enumeration;

-import java.util.HashMap;

-import java.util.Map.Entry;

-import java.util.Vector;

-import java.util.Iterator;

-

-import java.util.regex.Pattern;

-import java.util.regex.Matcher;

-

-import java.util.zip.ZipFile;

-import java.util.zip.ZipEntry;

-

-

-/*

-import javax.servlet.ServletRequest;

-import javax.servlet.http.HttpServletRequest;

-import org.w3c.dom.*;

-*/

-

-/**

- * Utilities to copy files, directories, etc.

- *

- * @author charles.scharr@bea.com

- * @author kevin.krouse@bea.com

- * @author raju.subramanian@bea.com

- */

-public class Util

-{

-    private static byte[] _byteBuffer = new byte[32768];

-    private static char[] _charBuffer = new char[32768];

-    private static boolean filteredStackTrace = true;

-

-    /**

-     * Read the contents of the given file into a String.

-     */

-    public static String read(File file)

-            throws IOException

-    {

-        FileInputStream fis = new FileInputStream(file);

-        return read(new InputStreamReader(fis, "UTF8"));

-    }

-

-    /**

-     * Read the contents of the given input stream into a String.  This will

-     * also close the stream.

-     */

-    public static String read(InputStream in)

-            throws IOException

-    {

-        return read(new InputStreamReader(in, "UTF8"));

-    }

-

-    /**

-     * Read the contents in the given <code>Reader</code> into a String. This

-     * will also close the reader.

-     */

-    public static String read(Reader in)

-            throws IOException

-    {

-        try

-        {

-            StringBuffer sb = new StringBuffer(_charBuffer.length);

-            int amount = 0;

-

-            while (true)

-            {

-                synchronized (_charBuffer)

-                {

-                    amount = in.read(_charBuffer);

-

-                    if (amount != -1)

-                        sb.append(_charBuffer, 0, amount);

-                    else

-                        break;

-                }

-            }

-            return sb.toString();

-        }

-        finally

-        {

-            close(in);

-        }

-    }

-

-    public static String read(Reader in, int length)

-            throws IOException

-    {

-        BufferedReader bin = null;

-

-        try

-        {

-            bin = new BufferedReader(in, length);

-            char[] s = new char[length];

-            bin.read(s, 0, length);

-

-            return new String(s);

-        }

-        finally

-        {

-            close(bin);

-        }

-    }

-

-    /**

-     * Read the contents of the given file line by line into a String array

-     *

-     * If the second argument is true, then all whitespace lines at the end will

-     * be removed from the array

-     */

-    public static String[] readIntoArray(File file, boolean trimLines)

-            throws IOException

-    {

-        BufferedReader reader = new BufferedReader(new FileReader(file));

-        Vector v = new Vector();

-

-        while (true)

-        {

-            String s = reader.readLine();

-            if (s == null) break;

-            v.addElement(s);

-        }

-        reader.close();

-        // Discard all trailing lines that are only whitespaces..

-        if (trimLines)

-        {

-            int i = v.size();

-            while (--i >= 0)

-                if (isWhiteSpace((String) v.get(i)))

-                    v.removeElementAt(i);

-        }

-

-        String[] strArray = new String[v.size()];

-        v.copyInto(strArray);

-        return strArray;

-    }

-

-    public static void copy(InputStream in, OutputStream out)

-            throws IOException

-    {

-        try

-        {

-            int amount = 0;

-

-            while (true)

-            {

-                synchronized (_byteBuffer)

-                {

-                    amount = in.read(_byteBuffer);

-                    if (amount == -1)

-                        break;

-                    out.write(_byteBuffer, 0, amount);

-                }

-            }

-        }

-        finally

-        {

-            close(in);

-            close(out);

-        }

-    }

-

-    /**

-     * Copy a stream to a file.

-     */

-    public static void copyToFile(InputStream in, File toFile,

-                                  boolean overwrite)

-            throws IOException

-    {

-        if (toFile.exists() && !overwrite)

-            return;

-

-        // create any parent directories

-        File parent = toFile.getParentFile();

-        if (parent != null)

-            parent.mkdirs();

-

-        // creates a new file only if it doesn't exist

-        toFile.createNewFile();

-

-        copy(in, new FileOutputStream(toFile));

-    }

-

-    /**

-     * Copy URL to file.

-     */

-    public static void copyToFile(URL url, File toFile,

-                                  boolean replaceNewer)

-            throws IOException

-    {

-        Log.debug("copyToFile(url=" + url + ",\n toFile=" + toFile + ")");

-

-        URLConnection conn = url.openConnection();

-        if (toFile.exists() &&

-                toFile.lastModified() > conn.getLastModified() &&

-                !replaceNewer)

-            return;

-

-        copyToFile(conn.getInputStream(), toFile, true);

-    }

-

-    /**

-     * Copy file to file.

-     */

-    public static void copyToFile(File fromFile, File toFile,

-                                  boolean replaceNewer)

-            throws IOException

-    {

-        Log.debug("copyToFile(fromFile=" + fromFile + ",\n toFile=" + toFile +

-                  ")");

-

-        // don't replace newer files unless flag is set

-        if (toFile.exists() &&

-                toFile.lastModified() > fromFile.lastModified() &&

-                !replaceNewer)

-            return;

-

-        copyToFile(new FileInputStream(fromFile),

-                   toFile, true);

-    }

-

-    /**

-     * Copy file to a dir.

-     */

-    public static void copyToDir(File fromFile, File toDir,

-                                 boolean replaceNewer)

-            throws IOException

-    {

-        //System.out.println("copyToDir(fromFile=" + fromFile +

-        //",\n toDir=" + toDir + ")");

-

-        toDir.mkdirs();

-

-        copyToFile(fromFile, new File(toDir, fromFile.getName()),

-                   replaceNewer);

-    }

-

-    /**

-     * Copy URL to a dir.

-     */

-    public static void copyToDir(URL url, File toDir,

-                                 boolean replaceNewer)

-            throws IOException

-    {

-        //System.out.println("copyToDir(url=" + url +

-        //",\n toDir=" + toDir + ")");

-

-        toDir.mkdirs();

-

-        copyToFile(url, new File(toDir, url.getFile()),

-                   replaceNewer);

-    }

-

-    /**

-     * Recursively copy a dir to a new dir. Creates target tree if needed.

-     */

-    public static void copyDirToDir(File fromDir, File toDir,

-                                    boolean replaceNewer, final String[] exclude)

-            throws IOException

-    {

-        //System.out.println("copyDirToDir(fromDir=" + fromDir +

-        //",\n toDir=" + toDir + ")");

-

-        File[] fs = fromDir.listFiles();

-        COPY_FILE_LOOP:

-        for (int i = 0; i < fs.length; i++)

-        {

-            // exclude based only on last part of file name

-            String name = fs[i].getName();

-

-            if (exclude != null)

-            {

-                for (int j = 0; j < exclude.length; ++j)

-                {

-                    if (name.equals(exclude[j]))

-                        continue COPY_FILE_LOOP;

-                }

-            }

-

-            if (fs[i].isFile())

-            {

-                copyToDir(fs[i], toDir, replaceNewer);

-            } else

-            {

-                copyDirToDir(fs[i], new File(toDir, fs[i].getName()),

-                             replaceNewer, exclude);

-            }

-        }

-    }

-

-    /**

-     * Recursively copy a jar dir entry to a new dir.  This is expensive since

-     * we have to iterate over all the entries in the .zip/.jar file.

-     * The <code>fromDir</code> parameter must end in '/'.

-     */

-    public static void copyDirToDir(ZipFile zip, String fromDir,

-                                    File toDir, boolean replaceNewer, final String[] exclude)

-            throws IOException

-    {

-        //System.out.println("copyDirToDir(zip=" + zip +

-        //", fromDir=" + fromDir +

-        //", toDir=" + toDir + ")");

-

-        if (!fromDir.endsWith("/"))

-            return;

-

-        Enumeration _enum = zip.entries();

-        COPY_JAR_LOOP:

-        while (_enum.hasMoreElements())

-        {

-            ZipEntry entry = (ZipEntry) _enum.nextElement();

-            //System.out.println("  entry = " + entry.getName());

-

-            // skip directories

-            if (entry.isDirectory())

-                continue;

-

-            if (!entry.getName().startsWith(fromDir))

-                continue;

-

-            String entryFile = entry.getName().substring(fromDir.length());

-

-            // FIXME: exclude files matching any pattern in exclude array

-

-            // use this class' loader to obtain the resource

-            URL url = Util.class.getResource("/" + entry.getName());

-            if (url == null)

-            {

-                throw new java.io.IOException("Resource not found: " +

-                                              entry.toString());

-            }

-            copyToFile(url, new File(toDir, entryFile), replaceNewer);

-        }

-    }

-

-    /**

-     * Copy a dir url to a new dir.

-     */

-    public static void copyDirToDir(URL url, File toDir,

-                                    boolean replaceNewer, String[] exclude)

-            throws IOException

-    {

-        Log.debug("copyDirToDir(url=" + url + ", toDir=" + toDir + ")");

-

-        // url must end in '/'

-        if (!url.getFile().endsWith("/"))

-            return;

-

-        if ("file".equals(url.getProtocol()))

-        {

-            copyDirToDir(new File(url.getPath()), toDir,

-                         replaceNewer, exclude);

-        } else if ("jar".equals(url.getProtocol()))

-        {

-            JarURLConnection conn = (JarURLConnection) url.openConnection();

-            copyDirToDir(conn.getJarFile(), conn.getEntryName(),

-                         toDir, replaceNewer, exclude);

-        } else if ("zip".equals(url.getProtocol()))

-        {

-            URL newUrl = new URL("jar:file:" + url.getPath());

-            Log.debug("changed zip url to = " + newUrl);

-

-            copyDirToDir(newUrl, toDir, replaceNewer, exclude);

-        } else

-        {

-            throw new IOException("Protocol not supported yet: " +

-                                  url.getProtocol());

-        }

-    }

-

-    /**

-     * Copy a dir to a new dir.

-     */

-    public static void copyDirToDir(File fromDir, File toDir,

-                                    boolean replaceNewer)

-            throws IOException

-    {

-        copyDirToDir(fromDir, toDir, replaceNewer, null);

-    }

-

-    /**

-     * Recursively remove a directory and it's contents.

-     */

-    public static void remove(String file)

-    {

-        remove(new File(file));

-    }

-

-    /**

-     * Recursively remove a directory and it's contents.

-     */

-    public static void remove(File file)

-    {

-        if (file == null || !file.exists())

-            return;

-

-        if (file.isFile())

-            removeFile(file);

-        else if (file.isDirectory())

-            removeDir(file);

-    }

-

-    /**

-     * Remove a directory's contents.

-     */

-    private static void removeDir(File dir)

-    {

-        File[] entries = dir.listFiles();

-

-        if (entries == null)

-        {

-            Log.fatal("IO Error or dir doesn't exist: " + dir);

-            return;

-        }

-

-        for (int i = 0; i < entries.length; ++i)

-            remove(entries[i]);

-

-        Log.debug("removing dir: " + dir.toString());

-        dir.delete();

-    }

-

-    /**

-     * Remote a file.

-     */

-    private static void removeFile(File file)

-    {

-        Log.debug("removing file: " + file.toString());

-        file.delete();

-    }

-

-    /**

-     * Checks if the two files are identical

-     * If the 'trim' is true then any blank lines at the end of the files are ignored

-     *

-     * Return: A String containing the Differences between the two files

-     * null if the files are identical

-     */

-    public static String compareFiles(String fileA,

-                                      String fileB,

-                                      boolean trim)

-            throws IOException

-    {

-        return new Diff(true).compareFiles(fileA, fileB);

-    }

-

-

-    /**

-     * @deprecated This is really overkill.

-     *

-     *             Parses command-line arguments into a Hashtable.

-     *             <pre>

-     *             command-line : ( arg-assignment )* the-rest

-     *             arg-assignment : option-name option-value?

-     *             option-name : "any string with a leading '-' "

-     *             option-value : "any string without a leading '-' "

-     *             the-rest : "any args after options ended"

-     *

-     *             The following rules are used:

-     *             - If an option appears multiple times, then its value is OVERWRITTEN!

-     *             - If no value is given for an option, then the Hashtable entry contains a Boolean object TRUE

-     *             - the rest of the arguments are stored as an array under the special key @REST

-     *             - @REST value is always filled, at least with an EMPTY ARRAY (and not a null!!!)

-     *             - An option of "-" ends option parsing.  Use this when a value-less option is followed by the-rest

-     *

-     *             Examples: (1) "-foo bar -goo zabba -boo -hoo" is parsed as

-     *                           {foo -> bar, goo -> zabba, -boo -> TRUE, -hoo -> TRUE}

-     *                       (2) "-foo bar -foo bar2 aaa bbb ccc" is parsed as { foo -> bar2, @REST -> [aaa,bbb,ccc] }

-     *

-     *             Rationale:

-     *               The above grammar and rules are less powerful than those given by gnu.getopt, but

-     *               are easier to use for our purposes

-     *             </pre>

-     */

-    public static HashMap parseArgs(String args[])

-    {

-        HashMap ht = new HashMap();

-        int k;

-        int n = args.length;

-

-        for (k = 0; k < n; k++)

-        {

-            // Stop option processing if not an option or is the single character '-'

-            if (args[k].startsWith("-"))

-            {

-                // eat the '-' and end option processing if it's just a '-'

-                if (args[k].length() == 1)

-                {

-                    k++;

-                    break;

-                }

-

-                String opt = args[k].substring(1); // skip -

-                String optarg = null;

-                if ((k < n - 1) && !args[k + 1].startsWith("-"))

-                {

-                    // got an option value

-                    optarg = args[k + 1];

-                    k++;

-                }

-

-                ht.put(opt,

-                       (null != optarg) ?

-                       (Object) optarg :

-                       (Object) Boolean.TRUE);

-            } else

-            {

-                break;

-            }

-        }

-

-        // either we have run out of options or

-        // we have hit the first non-option argument

-        //

-        int n_rest = n - k;

-        String rest[] = new String[n_rest];

-        int j;

-

-        for (j = 0; k < n; j++, k++)

-        {

-            rest[j] = args[k];

-        }

-

-        ht.put("@REST", rest);

-

-        return ht;

-    }

-

-    /**

-     * @deprecated This is really overkill.

-     *

-     *             This is a subset of the above parser.  It assumes only boolean options, but

-     *             allows arguments to be interspersed with options.

-     *

-     *             Parses command-line arguments into a Hashtable using the following grammar:

-     *             command-line : ( option-name | argument )*

-     *             option-name : "any string with a leading '-' "

-     *             argument : "any string without a leading '-' "

-     *

-     *             The following rules are used:

-     *             - If an option appears multiple times, then its value is OVERWRITTEN!

-     *             - The Hashtable entry for any option contains a Boolean object TRUE

-     *             - the rest of the arguments are stored as an array under the special key @REST

-     *             - @REST value is always filled, at least with an EMPTY ARRAY (and not a null!!!)

-     *             - An option of "-" ends option parsing.  Use this before an argument that must begin with a '-'

-     *

-     *             Examples: (1) "-foo bar -goo zabba -boo -hoo" is parsed as

-     *             {foo -> TRUE, goo -> TRUE, -boo -> TRUE, -hoo -> TRUE, @REST -> [bar,zabba]}

-     *             (2) "-foo bar -foo bar2 aaa - -bbb -ccc"

-     *             is parsed as { foo -> TRUE, @REST -> [bar,bar2,aaa,-bbb,-ccc] }

-     *

-     *             Rationale:

-     *             parseArgs does not have a way of specifying a trailing boolean option followed by an

-     *             argument except through the '-' hack.  It is unable to implement, for example, the argument scanning of

-     *             SystemSchemaBooter without forcing a change in the command-line syntax

-     */

-    public static HashMap parseOptions(String args[])

-    {

-        HashMap ht = new HashMap();

-        int k;

-        int n = args.length;

-        int nOptions = 0;

-

-        for (k = 0; k < n; k++)

-        {

-            // Stop option processing if not an option or is the single character '-'

-            if (args[k].startsWith("-"))

-            {

-                nOptions++;

-                // eat the '-' and end option processing if it's just a '-'

-                if (args[k].length() == 1)

-                {

-                    k++;

-                    break;

-                }

-

-                String opt = args[k].substring(1); // skip -

-                ht.put(opt, (Object) Boolean.TRUE);

-            }

-        }

-

-        // either we have run out of options or

-        // we have hit a single '-'

-        //

-        int n_rest = n - nOptions;

-        String rest[] = new String[n_rest];

-        boolean bIgnoreOptions = false;

-        int j = 0;

-        // Rescan the args and put non-options in the rest array

-        for (k = 0; k < n; k++)

-        {

-            if (bIgnoreOptions || !args[k].startsWith("-"))

-            {

-                rest[j++] = args[k];

-            } else if (args[k].length() == 1)

-            {

-                bIgnoreOptions = true;

-            }

-        }

-

-        ht.put("@REST", rest);

-

-        return ht;

-    }

-

-

-    /**

-     * Close a possibly null output stream. Ignore any exceptions.

-     */

-    static public void close(OutputStream stream)

-    {

-        if (stream == null)

-            return;

-

-        try

-        {

-            stream.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-    /**

-     * Close a possibly null input stream. Ignore any exceptions.

-     */

-    static public void close(InputStream stream)

-    {

-        if (stream == null)

-            return;

-

-        try

-        {

-            stream.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-

-    /**

-     * Close a possibly null reader. Ignore any exceptions.

-     */

-    static public void close(Reader reader)

-    {

-        if (reader == null)

-            return;

-

-        try

-        {

-            reader.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-    /**

-     * Close a possibly null writer. Ignore any exceptions.

-     */

-    static public void close(Writer writer)

-    {

-        if (writer == null)

-            return;

-

-        try

-        {

-            writer.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-    /**

-     * Close a possibly null server socket. Ignore any exceptions.

-     */

-    static public void close(ServerSocket socket)

-    {

-        if (socket == null)

-            return;

-

-        try

-        {

-            socket.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-    /**

-     * Close a possibly null socket. Ignore any exceptions.

-     */

-    static public void close(Socket socket)

-    {

-        if (socket == null)

-            return;

-

-        try

-        {

-            socket.close();

-        }

-        catch (Exception ignore)

-        {

-        }

-    }

-

-    /**

-     * Copy from an output stream to an input stream.

-     */

-

-    static public int

-            copyStream(InputStream in, OutputStream out, byte[] buffer)

-            throws IOException

-    {

-        int c;

-        int length = 0;

-

-        if (buffer == null)

-            buffer = new byte[4096];

-

-        while ((c = in.read(buffer)) > 0)

-        {

-            length += c;

-            out.write(buffer, 0, c);

-        }

-

-        return length;

-    }

-

-    public static String

-            hexStringFromBytes(byte[] bytes)

-    {

-        String hex = "0123456789abcdef";

-        StringBuffer buf = new StringBuffer(2 * bytes.length);

-

-        for (int i = 0; i < bytes.length; i++)

-        {

-            int b = bytes[i];

-            buf.append(hex.charAt((b >> 4) & 0xf));

-            buf.append(hex.charAt(b & 0xf));

-        }

-

-        return buf.toString();

-    }

-

-    /**

-     * Convert a nibble to a hex character

-     *

-     * @param	nibble	the nibble to convert.

-     */

-    public static char toHex(int nibble)

-    {

-        return hexDigit[(nibble & 0xF)];

-    }

-

-    /**

-     * A table of hex digits

-     */

-    private static final char[] hexDigit = {

-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'

-    };

-

-    public static String gobbleUpReader(Reader in)

-            throws Exception

-    {

-        StringBuffer buf = new StringBuffer();

-        int c;

-

-        while (-1 != (c = in.read()))

-        {

-            buf.append(c);

-        }

-

-        return buf.toString();

-    }

-

-    public static String createHashedPassword(String user, String password)

-    {

-        MessageDigest md = null;

-        try

-        {

-            md = MessageDigest.getInstance("SHA1", "SUN");

-        }

-        catch (Exception e)

-        {

-            throw new RuntimeException(e.getMessage());

-        }

-

-        md.update(user.getBytes());

-        md.update(password.getBytes());

-

-        return hexStringFromBytes(md.digest());

-    }

-

-    static public String makeHtmlStringNoNewLine(String sIn)

-    {

-        if (null == sIn)

-            return null;

-

-        int lenIn = sIn.length();

-        int iIn;

-

-        StringBuffer outBuf = new StringBuffer(lenIn + lenIn / 4);  // Plenty of room for extra characters

-        char c;

-

-        for (iIn = 0; iIn < lenIn; ++iIn)

-        {

-            c = sIn.charAt(iIn);

-            switch (c)

-            {

-                case '&':

-                    outBuf.append("&amp;");

-                    break;

-                case '"':

-                    outBuf.append("&quot;");

-                    break;

-                case '<':

-                    outBuf.append("&lt;");

-                    break;

-                case '>':

-                    outBuf.append("&gt;");

-                    break;

-                default:

-                    outBuf.append(c);

-                    break;

-            }

-        }

-

-        return outBuf.toString();

-    }

-

-    /**

-     * Helper function to split a String into an array of Strings somewhat

-     * like the JDK 1.4.1 {@link java.lang.String#split(String)} method does.

-     */

-    public static java.util.List splitList(String s, String match)

-    {

-        java.util.List strings = new java.util.ArrayList();

-        s.trim();

-

-        while (!s.equals(""))

-        {

-            if (s.indexOf(match) != -1)

-            {

-                strings.add(s.substring(0, s.indexOf(match)));

-                s = s.substring(s.indexOf(match) + 1, s.length());

-            } else

-            {

-                strings.add(s);

-                s = "";

-            }

-            s.trim();

-        }

-

-        return strings;

-    }

-

-    /**

-     * Helper function to split a String into an array of Strings somewhat

-     * like the JDK 1.4.1 {@link java.lang.String#split(String)} method does.

-     */

-    public static String[] split(String s, String match)

-    {

-        java.util.List strings = splitList(s, match);

-        return (String[]) strings.toArray((Object[]) (new String[0]));

-    }

-

-    /**

-     * Programtically turn on/off the stack trace filter.

-     */

-    public static void setFilteredStackTrace(boolean filter)

-    {

-        Util.filteredStackTrace = filter;

-    }

-

-    /**

-     * State of the stack trace filter.

-     */

-    public static boolean isFilteredStackTrace()

-    {

-        return Util.filteredStackTrace;

-    }

-

-    /**

-     * Helper to get the stack trace of an Exception as a String.

-     *

-     * @param t Use the stack trace of this exception.

-     * @return The stack trace as a String.

-     */

-    public static String getStackTrace(Throwable t)

-    {

-        if (t == null)

-            return null;

-

-        StringWriter sw = new StringWriter();

-        t.printStackTrace(new PrintWriter(sw));

-        return sw.toString();

-    }

-

-    /**

-     * Filter a stack trace by removing any lines matching the set.  A default

-     * set will always be applied, but a custom set can also be provided.

-     *

-     * @param t Use the stack trace of this exception.

-     * @return The filtered stack trace as a String.

-     */

-    public static String getFilteredStackTrace(Throwable t)

-    {

-        return getFilteredStackTrace(t, null);

-    }

-

-    /**

-     * Filter a stack trace by removing any lines matching the set.  A default

-     * set will always be applied, but a custom set can also be provided.

-     *

-     * @param t       Use the stack trace of this exception.

-     * @param filters Set of custom filters where each filter is

-     *                the beginning of a class name.

-     * @return The filtered stack trace as a String.

-     */

-    public static String getFilteredStackTrace(Throwable t, String[] filters)

-    {

-        return filterStack(getStackTrace(t), filters);

-    }

-

-    /**

-     * Helper for the {@link #getFilteredStackTrace(java.lang.Throwable)}

-     * method.

-     *

-     * @param stack   A stack trace as a String.

-     * @param filters Set of custom filters where each filter is

-     *                the beginning of a class name.

-     * @return The filtered stack trace as a String.

-     */

-    public static String filterStack(String stack, String[] filters)

-    {

-        if (!isFilteredStackTrace())

-            return stack;

-

-        StringWriter sw = new StringWriter();

-        PrintWriter pw = new PrintWriter(sw);

-        BufferedReader br = new BufferedReader(new StringReader(stack));

-

-        String line;

-

-        try

-        {

-            while ((line = br.readLine()) != null)

-            {

-                if (!isFiltered(line, filters))

-                {

-                    pw.println(line);

-                }

-            }

-        }

-        catch (Exception e)

-        {

-            return stack;

-        }

-

-        return sw.toString();

-    }

-

-    /**

-     * Helper for the {@link #getFilteredStackTrace(java.lang.Throwable)}

-     * method.

-     *

-     * @param line    A single line from the stack trace.

-     * @param filters Set of custom filters where each filter is

-     *                the beginning of a class name.

-     * @return true if the line should be filtered; false otherwise.

-     */

-    static boolean isFiltered(String line, String[] filters)

-    {

-        final String[] defaultFilters = new String[]{

-            "org.apache.xmlbeansbeans.test.tools.moosehead",

-            "org.apache.xmlbeansbeans.test.tools.harness.Main",

-            "junit.framework.TestCase",

-            "junit.framework.TestResult",

-            "junit.framework.TestSuite",

-            "junit.framework.Assert.", // don't filter AssertException

-            "java.lang.reflect.Method.invoke(",

-            "org.apache.tools.ant"

-        };

-

-        for (int i = 0; i < defaultFilters.length; ++i)

-        {

-            if (line.indexOf(defaultFilters[i]) > 0)

-            {

-                return true;

-            }

-        }

-

-        if (filters != null)

-            for (int i = 0; i < filters.length; ++i)

-            {

-                if (line.indexOf(filters[i]) > 0)

-                    return true;

-            }

-

-        return false;

-    }

-

-    /**

-     * @deprecated

-     */

-    public static URL getURL(String name)

-    {

-        return ResourceUtil.getURL(name);

-    }

-

-    /**

-     * @deprecated

-     */

-    public static InputStream getStream(String name)

-    {

-        return ResourceUtil.getStream(name);

-    }

-

-    /**

-     * @deprecated

-     */

-    public static File getFile(String name)

-    {

-        return ResourceUtil.getFile(name);

-    }

-

-    /**

-     * /**

-     * Expand key/value pairs in a String.

-     * Replaces patterns in the string of the form ${key} where

-     * the keys and values are taken from the hash map.  I'm sure someone

-     * could write this more efficiently if they wanted to.  Replacement is

-     * recursive.  Eg, if the map contains the key "foo" with value "bar", the

-     * string "My dog has ${foo}." will become "My dog has bar."

-     *

-     * @param str String to be expanded.

-     * @param map Map of key value pairs.

-     * @return The string after replacement.

-     *

-     * @deprecated See <code>expand()</code>.

-     */

-    public static String _expand(String str, HashMap map)

-    {

-        if (str == null)

-            return null;

-

-        if (map == null)

-            return str;

-

-        StringBuffer result = new StringBuffer();

-

-        int pos = 0;

-        int open = -1;

-

-        //System.out.println("expand("+str+")");

-

-        while (-1 != (open = str.indexOf("${", pos)))

-        {

-            //System.out.println("open: " + open + " = " + str.charAt(open));

-            //System.out.println("appending: " + str.substring(pos, open) + "<");

-

-            // replace everything we've passed so far.

-            result.append(str.substring(pos, open));

-            pos = open + 1;

-

-            int close = str.indexOf("}", open);

-            if (close == -1)

-                continue;

-            //System.out.println("close: " + close + " = " + str.charAt(close));

-            //System.out.println("whole region: " + str.substring(open, close+1));

-            //System.out.println("match region: " + str.substring(open+2, close));

-

-            String key = str.substring(open + 2, close);

-            if (map.containsKey(key))

-            {

-                String value = expand((String) map.get(key), map);

-                result.append(value);

-

-                // non-recursive implementation below:

-                //result.append(map.get(key));

-

-                pos = close + 1;

-                continue;

-            }

-

-            // we've passed the start character (pos = open+1) and didn't find

-            // a match, so copy the '$' to the result string

-            result.append('$');

-

-        }

-

-        result.append(str.substring(pos));

-

-        //System.out.println("## expanded: " + result.toString());

-        return result.toString();

-    }

-

-    /**

-     * Expand key/value pairs in a String.

-     * Replaces patterns in the string of the form ${key} where

-     * the keys and values are taken from the hash map.  I'm sure someone

-     * could write this more efficiently if they wanted to.  Replacement is

-     * recursive.  Eg, if the map contains the key "foo" with value "bar", the

-     * string "My dog has ${foo}." will become "My dog has bar."  This version

-     * uses the JDK 1.4 regex classes.

-     *

-     * @param str String to be expanded.

-     * @param map Map of key value pairs.

-     * @return The string after replacement.

-     */

-    public static String expand(String str, HashMap map)

-    {

-        final Pattern p = Pattern.compile("\\$\\{.+?\\}");

-

-        if (str == null)

-            return null;

-

-        if (map == null)

-            return str;

-

-        int last = 0;

-        StringBuffer buf = new StringBuffer();

-        Matcher m = p.matcher(str);

-

-        while (m.find())

-        {

-

-            // guarenteed to return ${key} where key is at least one character

-            // in length.  match will never be null.

-            String match = m.group();

-            int start = m.start();

-            int end = m.end();

-

-            // remove the ${ and } from the match

-            String key = match.substring("${".length(),

-                                         match.length() - "}".length());

-

-            if (map.containsKey(key))

-            {

-                String value = expand((String) map.get(key), map);

-

-                buf.append(str.substring(last, start));

-                buf.append(value);

-

-                last = end;

-            }

-        }

-

-        buf.append(str.substring(last, str.length()));

-

-        return buf.toString();

-    }

-

-    /**

-     * Escape a string for writing to a property file.

-     * This is a simplistic version of the Properties.store() escaping.

-     */

-    public static String escapeProperty(String s)

-    {

-        int len = s.length();

-        StringBuffer buf = new StringBuffer(len * 2);

-

-        for (int i = 0; i < len; ++i)

-        {

-            char c = s.charAt(i);

-

-            switch (c)

-            {

-                case '\t':

-                    buf.append('\\').append('t');

-                    break;

-                case '\n':

-                    buf.append('\\').append('n');

-                    break;

-                case '\r':

-                    buf.append('\\').append('r');

-                    break;

-                case '\f':

-                    buf.append('\\').append('f');

-                    break;

-

-                case '\\':

-                case ' ':

-                case '=':

-                case ':':

-                case '#':

-                case '!':

-                    buf.append('\\').append(c);

-                    break;

-

-                default:

-                    if ((c < 0x0020) || (c > 0x007e))

-                    {

-                        buf.append('\\');

-                        buf.append('u');

-                        buf.append(toHex((c >> 12) & 0xF));

-                        buf.append(toHex((c >> 8) & 0xF));

-                        buf.append(toHex((c >> 4) & 0xF));

-                        buf.append(toHex(c & 0xF));

-                    } else

-                    {

-                        buf.append(c);

-                    }

-            }

-        }

-

-        return buf.toString();

-    }

-

-    /**

-     * Checks if a string is entirely whitespace

-     */

-    public static boolean isWhiteSpace(String s)

-    {

-        for (int i = 0; i < s.length(); i++)

-            if (!Character.isWhitespace(s.charAt(i)))

-                return false;

-

-        return true;

-    }

-

-}

-

-

diff --git a/v2/test/tools/src/tools/util/XMLFilenameFilter.java b/v2/test/tools/src/tools/util/XMLFilenameFilter.java
deleted file mode 100755
index 865c6dc..0000000
--- a/v2/test/tools/src/tools/util/XMLFilenameFilter.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package tools.util;

-

-import java.io.FilenameFilter;

-import java.io.File;

-

-/**

- * @author jacobd

- * Date: Jan 20, 2004

- */

-public class XMLFilenameFilter implements FilenameFilter{

-    public boolean accept(File file, String s) {

-        if (s.endsWith("xml"))

-            return true;

-        else

-            return false;

-    }

-}

diff --git a/v2/test/tools/src/tools/xml/Utils.java b/v2/test/tools/src/tools/xml/Utils.java
deleted file mode 100755
index 8c3e491..0000000
--- a/v2/test/tools/src/tools/xml/Utils.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package tools.xml;

-

-import org.apache.xmlbeans.XmlError;

-

-import java.util.Collection;

-import java.util.Iterator;

-

-/**

- * Collection of Utility methods

- * e.g. printXMLErrors();

- */

-public class Utils

-{

-

-    /**

-     * Iterators over the Collection and prints out XmlErrors

-     * @param errors Collection object containing XmlError objects

-     */

-    public static void printXMLErrors(Collection errors)

-    {

-        for (Iterator i = errors.iterator(); i.hasNext();)

-        {

-            Object obj = i.next();

-            if (!(obj instanceof XmlError))

-                continue;

-            XmlError err = (XmlError) obj;

-            String sev = (err.getSeverity() == XmlError.SEVERITY_WARNING ?

-                            "WARNING" :

-                            (err.getSeverity() == XmlError.SEVERITY_INFO ?

-                            "INFO" :

-                            "ERROR"));

-            System.out.println(sev + " " + err.getLine() + ":" + err.getColumn()

-                               + " " + err.getMessage() + " ");

-        }

-    }

-

-}

diff --git a/v2/test/tools/src/tools/xml/XmlComparator.java b/v2/test/tools/src/tools/xml/XmlComparator.java
deleted file mode 100755
index f281e8d..0000000
--- a/v2/test/tools/src/tools/xml/XmlComparator.java
+++ /dev/null
@@ -1,199 +0,0 @@
-package tools.xml;

-

-import org.apache.xmlbeans.impl.common.QNameHelper;

-import org.apache.xmlbeans.impl.common.XmlWhitespace;

-import org.apache.xmlbeans.XmlObject;

-import org.apache.xmlbeans.XmlCursor;

-import org.apache.xmlbeans.XmlException;

-

-/**

- * Author: Cezar Andrei (cezar.andrei at bea.com)

- * Date: Oct 30, 2003

- * @ignore true

- */

-public class XmlComparator

-{

-    public static class Diagnostic

-    {

-        private StringBuffer message = null;

-

-        private void add(String s)

-        {

-            if (message==null)

-                 message = new StringBuffer();

-

-            message.append(s).append("\n");

-        }

-

-        public boolean hasMessage()

-        {

-            return message!=null;

-        }

-

-        public String toString()

-        {

-            return (message==null ? null : message.toString());

-        }

-

-        public static void add(Diagnostic diag, String s)

-        {

-            if ( diag!=null)

-                diag.add(s);

-        }

-    }

-

-    public static boolean wsCollapseEqual(String s1, String s2)

-    {

-        String s1c = XmlWhitespace.collapse(s1);

-        String s2c = XmlWhitespace.collapse(s2);

-        return (s1c.equals(s2c));

-    }

-

-    public static boolean compareNamesAndAttributes(XmlCursor cur1, XmlCursor cur2, Diagnostic diag)

-    {

-        if (!cur1.getName().equals(cur2.getName()))

-        {

-            Diagnostic.add(diag, "Element names " + QNameHelper.pretty(cur1.getName()) + " and " + QNameHelper.pretty(cur2.getName()) + " do not match");

-            return false;

-        }

-

-        boolean more = cur1.toFirstAttribute();

-        if (more)

-        {

-            for (; more; more = cur1.toNextAttribute())

-            {

-                String text1 = cur1.getTextValue();

-                String text2 = cur2.getAttributeText(cur1.getName());

-                if (text2 == null)

-                {

-                    Diagnostic.add(diag, "Attribute " + QNameHelper.pretty(cur1.getName()) + " not present");

-                    return false;

-                }

-

-                if (!wsCollapseEqual(text1, text2))

-                {

-                    Diagnostic.add(diag, "Attribute values for " + QNameHelper.pretty(cur1.getName()) + " do not match");

-                    return false;

-                }

-            }

-            cur1.toParent();

-        }

-

-        more = cur2.toFirstAttribute();

-        if (more)

-        {

-            for (; more; more = cur2.toNextAttribute())

-            {

-                String text1 = cur1.getAttributeText(cur2.getName());

-                if (text1 == null)

-                {

-                    Diagnostic.add(diag, "Attribute " + QNameHelper.pretty(cur2.getName()) + " not present");

-                    return false;

-                }

-            }

-            cur2.toParent();

-        }

-

-        return true;

-    }

-

-    public static Diagnostic lenientlyCompareTwoXmlStrings(String actual, String expect)

-        throws XmlException

-    {

-        Diagnostic diag = new Diagnostic();

-        lenientlyCompareTwoXmlStrings(actual, expect, diag);

-        return diag;

-    }

-

-    /**

-     * Provides an utility to compare the xml inside the two strings

-     * @return true if the xml inside the two strings is leniently the same

-     *   otherwise false

-     */

-    public static boolean lenientlyCompareTwoXmlStrings(String actual, String expect, Diagnostic diag)

-        throws XmlException

-    {

-        XmlObject xobj1 = XmlObject.Factory.parse(actual);

-        XmlObject xobj2 = XmlObject.Factory.parse(expect);

-

-        XmlCursor cur1 = xobj1.newCursor();

-        XmlCursor cur2 = xobj2.newCursor();

-

-        cur1.toFirstChild();

-        cur2.toFirstChild();

-

-        return lenientlyCompareTwoXmlStrings(cur1,  cur2, diag);

-    }

-

-    /**

-     * Provides an utility to compare the xml inside the two cursors

-     * @return true if the xml inside the two strings is leniently the same

-     *   otherwise false

-     */

-    public static boolean lenientlyCompareTwoXmlStrings(XmlCursor cur1, XmlCursor cur2, Diagnostic diag)

-    {

-        boolean match = true;

-        int depth = 0;

-        while (cur1.currentTokenType() != XmlCursor.TokenType.STARTDOC)

-        {

-            if (!compareNamesAndAttributes(cur1, cur2, diag))

-            {

-                match = false;

-            }

-

-            boolean hasChildren1 = cur1.toFirstChild();

-            boolean hasChildren2 = cur2.toFirstChild();

-            depth++;

-            if (hasChildren1 != hasChildren2)

-            {

-                Diagnostic.add(diag, "Topology differs: one document has children where the other does not (" + QNameHelper.pretty(cur1.getName()) + ", " + QNameHelper.pretty(cur2.getName()) + ")"); // TODO: where?

-                match = false;

-                if (hasChildren1)

-                {

-                    cur1.toParent();

-                    hasChildren1 = false;

-                }

-                if (hasChildren2)

-                {

-                    cur2.toParent();

-                    hasChildren2 = false;

-                }

-            }

-            else if (hasChildren1 == false)

-            {

-                if (!wsCollapseEqual(cur1.getTextValue(), cur2.getTextValue()))

-                {

-                    Diagnostic.add(diag, "Value " + cur1.getTextValue() + " differs from value " + cur2.getTextValue());

-                    match = false;

-                }

-            }

-

-            if (hasChildren1)

-                continue;

-

-            for (;;)

-            {

-                boolean hasSibling1 = cur1.toNextSibling();

-                boolean hasSibling2 = cur2.toNextSibling();

-

-                if (hasSibling1 != hasSibling2)

-                {

-                    Diagnostic.add(diag, "Topology differs: one document has siblings where the other does not"); // TODO: where?

-                    hasSibling1 = false;

-                    hasSibling2 = false;

-                }

-

-                if (hasSibling1)

-                    break;

-

-                cur1.toParent();

-                cur2.toParent();

-                depth--;

-

-                if (cur1.currentTokenType() == XmlCursor.TokenType.STARTDOC || depth<=0)

-                    break;

-            }

-        }

-        return match;

-    }

-}

diff --git a/v2/testbuild.xml b/v2/testbuild.xml
deleted file mode 100755
index cfdffae..0000000
--- a/v2/testbuild.xml
+++ /dev/null
@@ -1,827 +0,0 @@
-<project name="Xbean" default="default" basedir=".">
-
-    <target name="java_version">
-        <echo message="${java.version}"/>
-    </target>
-
-    <!-- =============================================================== -->
-    <!-- START: Properties Section                                       -->
-
-    <property environment="ENV"/>
-    <!-- This takes care of both Unix and Windows -->
-    <property name="ENV.HOSTNAME" value="${ENV.COMPUTERNAME}"/>
-    <property name="ant.home" value="${ENV.ANT_HOME}"/>
-    <!-- Define the properties -->
-    <!-- These properties will get written to testenv.properties file -->
-    <property name="xbeans.root" value="${basedir}"/>
-    <property name="xbeans.test.root" value="${basedir}/test"/>
-    <property name="xbeans.test.src" value="${xbeans.test.root}/src"/>
-    <property name="xbeans.external" value="${xbeans.root}/external"/>
-    <property name="xbeans.external.lib" value="${xbeans.external}/lib"/>
-    <property name="xbeans.external.lib.jaxb" value="${xbeans.external.lib}/jaxb-1.0"/>
-    <property name="xbeans.test.cases" value="${xbeans.test.root}/cases"/>
-    <!--property name="xbeans.test.cases.test" value="${xbeans.test.cases}"/-->
-    <property name="xbeans.test.cases.test.files" value="${xbeans.test.cases}"/>
-    <property name="build.dir" value="${xbeans.root}/build"/>
-
-    <property name="build.lib" value="${build.dir}/lib"/>
-    <property name="build.dir.test" value="${basedir}/build/test"/>
-    <property name="build.external.lib" value="${xbeans.test.root}/lib"/>
-    <property name="build.dir.test.lib" value="${build.dir.test}/lib"/>
-    <property name="build.dir.test.schemas" value="${build.dir.test}/schemas"/>
-    <property name="build.dir.test.schemas.lib" value="${build.dir.test.lib}/schemajars"/>
-    <property name="build.dir.test.schemas.src" value="${build.dir.test}/src/schemas"/>
-    <property name="build.dir.test.src" value="${build.dir.test}/src/tests"/>
-    <property name="build.dir.test.tools" value="${build.dir.test}/tools"/>
-    <property name="xbeans.test.tools" value="${xbeans.test.root}/tools"/>
-    <property name="xbeans.test.tools.lib" value="${xbeans.test.tools}/lib"/>
-    <property name="xbeans.test.tools.src" value="${xbeans.test.tools}/src"/>
-    <property name="build.dir.test.marshalling" value="${build.dir.test}/classes/marshal"/>
-
-    <!-- End of testenv.properties -->
-
-    <target name="write.propertyfile">
-        <!-- Write out the properties file -->
-        <echoproperties destfile="testenv.properties">
-            <propertyset>
-                <propertyref prefix="xbeans."/>
-                <propertyref prefix="build."/>
-            </propertyset>
-        </echoproperties>
-    </target>
-
-    <!-- END: Properties Section                                         -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: Custom Taskdefs                                          -->
-    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
-        <classpath>
-            <pathelement location="${xbeans.test.tools.lib}/ant-ext/ant-contrib-0.6.jar"/>
-        </classpath>
-    </taskdef>
-
-    <taskdef resource="antexts.properties">
-        <classpath>
-            <pathelement location="${xbeans.test.tools.lib}/ant-ext/antexts.jar"/>
-        </classpath>
-    </taskdef>
-    <!-- END: Custom Taskdefs                                            -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: CLEAN targets                                            -->
-    <!-- Does a full clean, including cleaning up the built xbean.jar -->
-    <target name="clean" description="Cleans test build folder">
-        <delete dir="${build.dir.test}" verbose="false" failonerror="false" includeEmptyDirs="true"/>
-    </target>
-
-    <target name="clean.tests" description="Deletes built tests, including testcases.jar">
-        <echo message="Cleaning Tests"/>
-        <delete dir="${build.dir.test.src}" verbose="false" failonerror="false" includeEmptyDirs="true"/>
-        <delete verbose="false" failonerror="false" file="${build.dir.test.lib}/testcases.jar"/>
-    </target>
-
-    <target name="clean.tools" description="Deletes built tools">
-        <echo message="Deleting ${build.dir.test.lib}/testtools.jar"/>
-        <delete dir="${build.dir.test.lib}/testtools.jar" verbose="false" failonerror="true" includeEmptyDirs="true"/>
-        <delete dir="${build.dir.test.tools}" verbose="false" failonerror="true" includeEmptyDirs="true"/>
-    </target>
-
-    <target name="clean.schemas" description="Deletes built schemas">
-        <echo message="Deleting ${build.dir.test.schemas.lib}"/>
-        <delete dir="${build.dir.test.schemas.lib}" verbose="false" failonerror="false" includeEmptyDirs="true"/>
-        <delete dir="${build.dir.test.schemas}" verbose="false" failonerror="false" includeEmptyDirs="true"/>
-        <delete file="${build.dir.test.lib}/xmlcases.jar" verbose="false" failonerror="false" includeEmptyDirs="true"/>
-    </target>
-
-    <target name="clean.reports" description="Deletes generated report files">
-        <delete dir="reports" failonerror="false" includeEmptyDirs="true"/>
-    </target>
-
-    <!-- END: CLEAN targets                                              -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: init                                                     -->
-
-    <target name="dirs">
-        <mkdir dir="${build.dir.test.src}"/>
-        <mkdir dir="${build.dir.test.lib}"/>
-        <mkdir dir="${build.dir.test.schemas.lib}"/>
-        <mkdir dir="${build.dir.test.schemas}"/>
-        <mkdir dir="${build.dir.test.tools}"/>
-    </target>
-
-    <!-- Creates the build folders and checks if required variables are set -->
-    <target name="init">
-        <echo message="basedir: ${basedir}"/>
-        <!-- mkdir build/lib -->
-        <antcall target="dirs"/>
-        <!-- Any other init code goes here -->
-    </target>
-
-    <!-- END: init                                                       -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: Filesets and Paths                                       -->
-    <!-- Fileset that includes xbean.jar, jsr173.jar and others -->
-    <fileset id="xbeans.build.lib" dir="${build.dir}">
-        <include name="**/*.jar"/>
-        <exclude name="**/oldxbean.jar"/>
-        <exclude name="**/jaxen.jar"/>
-    </fileset>
-
-    <fileset id="xbeans.test.external.lib" dir="${build.dir}">
-        <include name="**/*.jar"/>
-        <exclude name="**/oldxbean.jar"/>
-        <exclude name="**/jaxen.jar"/>
-    </fileset>
-
-    <fileset id="external.lib" dir="${build.external.lib}">
-        <include name="**/*.jar"/>
-    </fileset>
-
-    <fileset id="schema.jars" dir="${build.dir.test.schemas.lib}">
-        <include name="**/*.jar"/>
-    </fileset>
-
-    <fileset id="tools.ext.lib" dir="${xbeans.test.tools.lib}">
-        <include name="**/*.jar"/>
-        <include name="**/*.jar"/>
-    </fileset>
-
-    <fileset id="tools.ext.lib" dir="${xbeans.test.tools.lib}">
-        <include name="**/*.jar"/>
-        <exclude name="**/xerces1.4.4.jar"/>
-    </fileset>
-
-    <fileset id="schema.files.copy" dir="${xbeans.test.cases.test.files}">
-        <include name="**/*.xsd"/>
-        <include name="**/*.xsddonotcompile"/>
-        <include name="**/*.txt"/>
-        <include name="**/*.xml"/>
-        <include name="**/*.xsdconfig"/>
-        <exclude name="**/*.bz2"/>
-        <exclude name="**/*.tar"/>
-        <exclude name="**/*.tar.bz2"/>
-    </fileset>
-
-    <path id="build.classpath">
-        <fileset refid="xbeans.build.lib"/>
-        <fileset refid="tools.ext.lib"/>
-        <!-- for building tools: TestlogMergeUtiltiy -->
-        <path location="${xbeans.test.tools.lib}/xsl/TestReport.xsd.jar"/>
-        <!-- Axis v1.1 .jar -->
-        <pathelement path="${xbeans.test.tools.lib}/axis.jar"/>
-        <!-- needed for the DOM w3c suite -->
-        <fileset refid="external.lib"/>
-        <fileset refid="ant.lib"/>
-        <fileset refid="schema.jars"/>
-        <!--needed for JAM and extensions-->
-        <pathelement path="${ENV.JAVA_HOME}/lib/tools.jar"/>
-    </path>
-
-    <fileset id="ant.lib" dir="${ant.home}/lib">
-        <include name="**/*.jar"/>
-    </fileset>
-
-    <fileset id="test.build.jars" dir="${build.dir.test}/lib">
-        <include name="**/*.jar"/>
-    </fileset>
-
-    <path id="test.run.classpath">
-
-        <pathelement path="${build.dir.test.lib}/xmlcases.jar"/>
-        <pathelement path="${build.dir.test.lib}/testcases.jar"/>
-        <pathelement path="${build.dir.test.lib}/testtools.jar"/>
-        <pathelement path="${build.lib}/xbean_xpath.jar"/>
-        <pathelement location="${build.dir.test.marshalling}"/>
-
-        <path refid="build.classpath"/>
-        <fileset refid="test.build.jars"/>
-
-        <!--1.4 JDK compat:JDK Xerces missing DocumentRange-->
-
-        <pathelement path="${xbeans.test.tools.lib}/xerces1.4.4.jar"/>
-    </path>
-    <!-- END: Filesets and Paths                                         -->
-    <!-- =============================================================== -->
-
-
-
-    <!-- =============================================================== -->
-    <!-- START: Schema compile related targets                           -->
-    <!-- comma separated list of directories containing schemas -->
-    <property name="schema.dirs"
-        value="${build.dir.test.schemas}/xbean/simple/dumb,
-        ${build.dir.test.schemas}/xbean/simple/dupSchemaElements,
-        ${build.dir.test.schemas}/xbean/misc/marshal,
-        ${build.dir.test.schemas}/xbean/xmlcursor,
-        ${build.dir.test.schemas}/xbean/xmlcursor/xstypes,
-        ${build.dir.test.schemas}/xbean/dom,
-        ${build.dir.test.schemas}/xbean/xmlobject,
-         ${build.dir.test.schemas}/xbean/xmlobject/store,
-        ${build.dir.test.schemas}/xbean/xmltokensource,
-        ${build.dir.test.schemas}/xbean/ValidatingStream"/>
-    <!-- comma separated list of directories containing schemas that *must* be separately
-         compiled -->
-    <property name="schema.standalone"
-        value="${build.dir.test.schemas}/tranxml/Version4.0/schemas/StandAlone"/>
-    <property name="schema.standalone.files"
-        value="${schema.standalone}/CarLocationMessage_40_LX.xsd,
-        ${schema.standalone}/RailBillOfLading_V40_LX.xsd,
-        ${schema.standalone}/SimpleRailCarrierWaybillInterchange_V40_LX.xsd,
-        ${schema.standalone}/TerminalOperationsAndIntermodalRampActivity_V40_LX.xsd,"/>
-
-    <!--Schemas for bvts: Please keep this list up-to-date in order to minimize
-         the build time for checkintests-->
-    <property name="checkin.schema.dirs"
-        value=" ${build.dir.test.schemas}/xbean/simple/dumb,
-         ${build.dir.test.schemas}/xbean/xmlcursor,
-         ${build.dir.test.schemas}/xbean/xmlobject,
-         ${build.dir.test.schemas}/xbean/ValidatingStream
-       "/>
-    <property name="checkin.schema.standalone.files"
-        value="${schema.standalone}/CarLocationMessage_40_LX.xsd"/>
-
-
-    <property name="schema.compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
-    <!-- run scomp on all directories in ${schema.dirs} -->
-    <target name="build.schemas" depends="init, copy.schemas, uncompress"
-        description="Build test schemas.">
-        <echo message="basedir: ${basedir}"/>
-        <!--compile checkin schemas only for checkin -->
-        <if>
-            <or>
-                <not>
-                    <isset property="tests.spec"/>
-                </not>
-                <equals arg1="${tests.spec}" arg2="**/checkin/**"/>
-            </or>
-            <then>
-                <foreach list="${checkin.schema.dirs}"
-                    target="scomp.dir"
-                    param="schemasrc" trim="true"/>
-                <foreach list="${checkin.schema.standalone.files}"
-                    target="scomp.single"
-                    param="schemasrc" trim="true"/>
-            </then>
-            <else>
-                <foreach list="${schema.dirs}"
-                    target="scomp.dir"
-                    param="schemasrc" trim="true"/>
-                <foreach list="${schema.standalone.files}"
-                    target="scomp.single"
-                    param="schemasrc" trim="true"/>
-            </else>
-        </if>
-
-
-        <jar destfile="${build.dir.test.lib}/xmlcases.jar"
-            basedir="${build.dir.test.schemas}" update="false"
-            includes="**/*.*"
-            excludes="**/*.xsd, xstc/**"/>
-
-        <jar destfile="${build.dir.test.lib}/xsdcases.jar"
-            basedir="${build.dir.test.schemas}" update="false"
-            includes="**/*.xsd"
-            excludes="xstc/**"/>
-    </target>
-
-    <target name="copy.schemas">
-        <copy todir="${build.dir.test.schemas}">
-            <fileset refid="schema.files.copy"/>
-        </copy>
-    </target>
-
-    <target name="build.xmlcases" description="Builds xmlcases.jar">
-        <jar destfile="${build.dir.test.lib}/xmlcases.jar"
-            basedir="${build.dir.test.schemas}" update="false"
-            includes="**/*.*"
-            excludes="**/*.xsd, xstc/**"
-            />
-    </target>
-
-    <!-- compile directory of .xsd files -->
-    <target name="scomp.dir">
-        <basename path="${schemasrc}" property="jarname"/>
-        <property name="jar.file" value="${build.dir.test.schemas.lib}/${jarname}.jar"/>
-        <!-- Check if scomp is required -->
-        <if>
-            <uptodate targetfile="${jar.file}">
-                <srcfiles dir="${schemasrc}" includes="**/*.xsd"/>
-            </uptodate>
-            <then>
-                <echo message="Jar uptodate for ${schemasrc}"/>
-            </then>
-            <else>
-                <antcall target="scomp"/>
-            </else>
-        </if>
-    </target>
-
-    <!-- compile a .xsd file -->
-    <target name="scomp.single">
-        <basename path="${schemasrc}" property="jarname"/>
-        <property name="jar.file" value="${build.dir.test.schemas.lib}/${jarname}.jar"/>
-        <!-- Check if scomp is required -->
-        <if>
-            <uptodate srcfile="${schemasrc}" targetfile="${jar.file}"/>
-            <then>
-                <echo message="Jar uptodate for ${schemasrc}"/>
-            </then>
-            <else>
-                <antcall target="scomp"/>
-            </else>
-        </if>
-    </target>
-
-    <target name="scomp" unless="jar.uptodate">
-        <echo message="Compiling ${schemasrc} using compiler from: ${schema.compiler}"/>
-        <!--
-        Lets make this target easy to call as a standalone. To call it standalone
-        ant scomp -Dschemasrc=file|schema dir
-            Optional parameters
-            -Dmn = Initial memory size
-            -Dmx = Maximum memory size
-            -Djar.file = Destination jar file
-        -->
-        <property name="mn" value="8m"/>
-        <property name="mx" value="512m"/>
-        <!-- Default jar file -->
-        <property name="jar.file"
-            value="${build.dir.test.schemas.lib}/schemas.jar"/>
-
-        <java classname="${schema.compiler}"
-            classpathref="build.classpath"
-            fork="true">
-            <arg line="-out ${jar.file} -src ${build.dir.test.schemas.src} ${schemasrc} -ms ${mn} -mx ${mx}"/>
-        </java>
-
-        <!--
-        <scomp schema="${schemasrc}"
-               classpathref="build.classpath"
-               memoryInitialSize="${mn}"
-               memoryMaximumSize="${mx}"
-               failonerror="true"
-               destfile="${jar.file}">
-        </scomp>
-        -->
-        <echo message="jar.file: ${jar.file}"/>
-    </target>
-
-    <!-- END: Schema compile related targets                             -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: Archive uncompress targets                               -->
-    <!-- uncompress and copy all schema files that will be used durign testing -->
-    <target name="uncompress">
-        <foreach target="uncompress.helper" param="archivefile">
-            <path>
-                <fileset dir="${xbeans.test.cases.test.files}">
-                    <include name="**/*.tar.bz2"/>
-                </fileset>
-            </path>
-        </foreach>
-    </target>
-    <!-- helper target -->
-    <target name="uncompress.helper" depends="uncompress.uptodate,do.uncompress"/>
-
-    <!-- if archive is name 'foo.tar.bz2', root directory should be 'foo' -->
-    <target name="uncompress.uptodate">
-        <basename path="${archivefile}" property="dir.name" suffix=".tar.bz2"/>
-        <!-- FIXME: it's not sufficient to just check if dir exists -->
-        <condition property="uncompress.uptodate">
-            <available file="${build.dir.test.schemas}/${dir.name}" type="dir"/>
-        </condition>
-    </target>
-    <!-- helper target -->
-    <target name="uncompress.helper" depends="uncompress.uptodate,do.uncompress"/>
-
-    <!-- if archive is name 'foo.tar.bz2', root directory should be 'foo' -->
-    <target name="uncompress.uptodate">
-        <basename path="${archivefile}" property="dir.name" suffix=".tar.bz2"/>
-        <!-- FIXME: it's not sufficient to just check if dir exists -->
-        <condition property="uncompress.uptodate">
-            <available file="${build.dir.test.schemas}/${dir.name}" type="dir"/>
-        </condition>
-        <echo message="uncompress.uptodate for ${archivefile}: ${uncompress.uptodate}"/>
-    </target>
-
-    <!-- perform the uncompress -->
-    <target name="do.uncompress" unless="uncompress.uptodate">
-        <untar src="${archivefile}" dest="${build.dir.test.schemas}"
-            compression="bzip2" overwrite="false"/>
-    </target>
-    <!-- END: Archive uncompress targets                                 -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: Tests and Tools build                                    -->
-    <!-- Should now be building xbean.jar using wls/build-xmlbeans.xml -->
-    <target name="build">
-        <!--
-        TODO:
-        Check if XmlBeans has been built.. if not call the xmlbeans build
-        targets first or just end the build
-        -->
-        <!-- Lets test conditional compile -->
-        <if>
-            <isset property="build.area"/>
-            <then>
-                <echo message="build.area is set"/>
-                <foreachloop list="${area.names}" param="curval">
-                    <loop>
-                        <if>
-                            <equals arg1="${build.area}" arg2="${curval}" trim="true"/>
-                            <then>
-                                <echo message="MATCH: ${curval} == ${build.area}"/>
-                                <property name="matchfound" value="true"/>
-                                <antcall target="build.area.${build.area}"/>
-                            </then>
-                        </if>
-                    </loop>
-                </foreachloop>
-                <fail unless="matchfound"
-                    message="build.area did not match any area from: ${area.names}"/>
-            </then>
-            <else>
-                <echo message="build.area is not set"/>
-
-                <antcall target="build.schemas"/>
-                <antcall target="build.tests"/>
-
-            </else>
-        </if>
-
-    </target>
-
-    <!-- Bea-xmlbeans has already been built and in the right location -->
-    <target name="clean.and.build"
-        description="Do a full clean and build">
-        <antcall target="clean"/>
-        <antcall target="build"/>
-    </target>
-
-    <target name="build.test.tools" depends="init"
-        description="Build the tools required for tests">
-        <javac srcdir="${xbeans.test.tools.src}"
-            destdir="${build.dir.test.tools}"
-            classpathref="build.classpath"
-            fork="false"
-            debug="on"
-            optimize="on"
-            verbose="false"
-            failonerror="true">
-            <!--compilerarg line="-Xlint:deprecation"/--><!--ruins Java1.4 compat-->
-        </javac>
-
-        <jar destfile="${build.dir.test.lib}/testtools.jar"
-            basedir="${build.dir.test.tools}" update="false"
-            excludes="**/*.java"/>
-    </target>
-
-    <target name="build.xpath">
-        <ant target="xbean_xpath.jar"/>
-    </target>
-
-    <!-- Builds the tests -->
-    <!-- NOTE: This target depends on build.schemas, but we do not
-               explicitly put it on the depends list. -->
-    
-    <target name="build.tests" depends="init, build.test.tools, build.xpath,extensions.build"
-        description="Build the tests">
-         <if>
-            <or>
-                <not>
-                    <isset property="tests.spec"/>
-                </not>
-                <equals arg1="${tests.spec}" arg2="**/checkin/**"/>
-            </or>
-            <then>
-                 <javac srcdir="${xbeans.test.src}"
-            excludes="**/detailed/**,**/drt/**"
-            destdir="${build.dir.test.src}"
-            classpathref="test.run.classpath"
-            debug="on"
-            source="1.4"
-            optimize="on"
-            verbose="false"
-            failonerror="true">
-        </javac>
-            </then>
-        <else>
-        <javac srcdir="${xbeans.test.src}"
-            excludes="**/drt/**"
-            destdir="${build.dir.test.src}"
-            classpathref="test.run.classpath"
-            debug="on"
-            source="1.4"
-            optimize="on"
-            verbose="false"
-            failonerror="true">
-        </javac>
-        </else>
-        </if>
-        <jar destfile="${build.dir.test.lib}/testcases.jar"
-            basedir="${build.dir.test.src}" update="true"
-            excludes="**/*.java"/>
-
-    </target>
-    <!-- END: Tests and Tools build                                      -->
-    <!-- =============================================================== -->
-
-    <!-- =============================================================== -->
-    <!-- START: Incremental build targets                                -->
-
-    <property name="area.names" value="xmlobject, dom, xpath, xmlcursor,
-                            ValidatingXSRTests, checkin"/>
-
-    <target name="unit.build" depends="init, copy.schemas, build.test.tools">
-        <!--
-        Properties that need to be set for this target to work
-             * includes.for.compile - includes spec for javac
-
-        Optional:
-             * this.schema.dirs - list of folders for scomp
-             * this.schema.standalone.dirs - list of individual schemas for scomp
-             * testcasesjar.update - set to true if testcases.jar should be
-                                     updated instead of overwriting
-        -->
-        <fail message="Property includes.for.compile is not set. Cannot proceed!"
-            unless="includes.for.compile"/>
-
-        <!-- If this property gets set before this line is reached, then the
-             value does *NOT* get overwritten by this line
-             Very useful for specifying default values. -->
-        <property name="testcasesjar.update" value="false"/>
-        <!-- scomp on Schema.dirs -->
-        <if>
-            <isset property="this.schema.dirs"/>
-            <then>
-                <foreach list="${this.schema.dirs}"
-                    target="scomp.dir"
-                    param="schemasrc" trim="true"/>
-            </then>
-        </if>
-        <!-- Check if uncompress is required -->
-        <if>
-            <isset property="this.schema.standalone.dirs"/>
-            <then>
-                <antcall target="uncompress"/>
-                <foreach list="${this.schema.standalone.dirs}"
-                    target="scomp.single"
-                    param="schemasrc" trim="true"/>
-            </then>
-        </if>
-        <if>
-            <isset property="compile.extensions"/>
-            <then>
-                <antcall target="extensions.build"/>
-            </then>
-        </if>
-        <antcall target="build.xmlcases"/>
-        <echo message="***EXCLUDE : ${excludes.from.compile}"/>
-        <javac srcdir="${xbeans.test.src}"
-            destdir="${build.dir.test.src}"
-            includes="${includes.for.compile}"
-            excludes="${excludes.from.compile}"
-            classpathref="test.run.classpath"
-            optimize="on"
-            verbose="false"
-            failonerror="true"/>
-        <jar destfile="${build.dir.test.lib}/testcases.jar"
-            basedir="${build.dir.test.src}"
-            excludes="**/*.java"
-            update="${testcasesjar.update}"/>
-    </target>
-    <!--Extensions feature: a bit tricky to build -->
-    <target name="extensions.build" depends="init">
-        <echo message="Building extensions"/>
-        <foreachloop
-            param="feature" trim="true">
-            <path>
-                <dirset dir="${xbeans.test.src}/xmlobject/extensions/">
-                    <include name="*"/>
-                </dirset>
-            </path>
-            <loop>
-              
-                <foreachloop param="case" trim="true">
-                    <path>
-                        <dirset dir="${feature}">
-                            <include name="*"/>
-                        </dirset>
-                    </path>
-                    <loop>
-                        <basename property="testcase" path="${case}"/>
-                        <basename property="feature.basename" path="${feature}"/>
-                    
-
-                        <java classname="${schema.compiler}"
-                            classpathref="build.classpath"
-                            fork="true">
-                            <arg line="-out ${build.dir.test.schemas.lib}/${feature.basename}_${testcase}.jar
-                             ${case}/existing
-                             ${xbeans.test.cases}/xbean/extensions/${feature.basename}/${testcase}"
-                                />
-                        </java>
-                      
-                    </loop>
-                </foreachloop>
-            </loop>
-
-        </foreachloop>
-    </target>
-    
-    <target name="build.area.xmlobject">
-        <property name="this.schema.dirs"
-            value="${build.dir.test.schemas}/xbean/xmlobject,
-                  ${build.dir.test.schemas}/xbean/xmlcursor,
-                  ${build.dir.test.schemas}/xbean/simple"/>
-        <property name="this.schema.standalone.dirs"
-            value="${schema.standalone}/CarLocationMessage_40_LX.xsd,
-            ${schema.standalone}/RailBillOfLading_V40_LX.xsd,
-            ${schema.standalone}/SimpleRailCarrierWaybillInterchange_V40_LX.xsd,
-            ${schema.standalone}/TerminalOperationsAndIntermodalRampActivity_V40_LX.xsd,"/>
-        <property name="compile.extensions" value="true"/>
-
-        <property name="includes.for.compile"
-            value="**/xmlobject/**/*.java"/>
-        <property name="excludes.from.compile"
-            value="**/extensions/**"/>
-        <!--   <property name="includes.for.compile"
-           value="**/xmlobject/checkin/*.java,
-                 **/xmlobject/common/*.java,
-                 **/xmlobject/detailed/*.java,
-                 **/xmlobject/schematypes/*.java,
-                 **/xmlobject/xmlloader/*.java"/>-->
-        <property name="testcasejar.update" value="true"/>
-        <antcall target="unit.build"/>
-
-    </target>
-
-    <target name="build.area.xmlcursor">
-        <property name="this.schema.dirs"
-            value="${build.dir.test.schemas}/xbean/xmlcursor"/>
-        <property name="this.schema.standalone.dirs"
-            value="${schema.standalone}/CarLocationMessage_40_LX.xsd"/>
-        <property name="includes.for.compile"
-            value="**/xmlcursor/**/*.java"/>
-        <property name="testcasejar.update" value="true"/>
-        <echo message="SCHEMAS: ${this.schema.dirs}"/>
-        <antcall target="unit.build"/>
-    </target>
-
-    <target name="build.area.dom">
-        <property name="includes.for.compile"
-            value="**/dom/**/*.java"/>
-        <property name="testcasejar.update" value="true"/>
-        <antcall target="unit.build"/>
-    </target>
-
-
-    <!--call make dir in case there was a clean before building this area-->
-    <target name="build.area.xpath">
-        <property name="includes.for.compile"
-            value="**/xmlcursor/xpath/**/*.java,
-            **/xmlcursor/xpath/xbean_xpath/**/*.java"/>
-        <property name="testcasejar.update" value="true"/>
-        <antcall target="unit.build"/>
-    </target>
-
-
-    <target name="build.area.ValidatingXSRTests">
-
-        <property name="this.schema.dirs"
-            value="${build.dir.test.schemas}/xbean/xmlcursor"/>
-        <property name="includes.for.compile"
-            value="**/xmlcursor/**/*.java"/>
-        <property name="this.schema.standalone.dirs"
-            value="${schema.standalone}/CarLocationMessage_40_LX.xsd"/>
-        <property name="testcasejar.update" value="true"/>
-        <antcall target="unit.build"/>
-    </target>
-
-    <!--TODO: need to compile a subset of the schemas; figure out what and set a separate var-->
-    <!-- FREQ Target -->
-    <target name="build.area.checkin" depends="clean.tests">
-        <property name="includes.for.compile"
-            value="**/checkin/**/*.java, **/common/**/*.java"/>
-        <property name="excludes.from.compile"
-            value="**/extensions/**"/>
-        <property name="this.schema.dirs"
-            value="${checkin.schema.dirs}"/>
-        <property name="this.schema.standalone.dirs"
-            value="${schema.standalone}/CarLocationMessage_40_LX.xsd"/>
-        <property name="testcasejar.update" value="true"/>
-        <antcall target="unit.build"/>
-    </target>
-
-    <!-- END: Incremental build targets                                  -->
-    <!-- =============================================================== -->
-
-
-    <!-- =============================================================== -->
-    <!-- START: JUNIT Tests                                              -->
-    <target name="checkin">
-        <property name="area.name" value="checkin"/>
-        <antcall target="build"/>
-        <ant target="marshal-drt"/>
-        <ant target="binding-drt"/>
-        <antcall target="run.junit"/>
-    </target>
-
-    <target name="run.junit" depends="clean.reports">
-        <!-- The default test spec. To run a different set of tests
-             set the property "tests.spec" before calling this target
-             or by specifying on the command line -Dtests.spec -->
-        <taskdef name="junitX" classname="tools.JUnit.JUnitXTask"
-            classpathref="test.run.classpath"/>
-
-        <property name="report.dir" value="${build.dir.test}/reports"/>
-        <property name="report.log.file" value="${report.dir}/TestLog.xml"/>
-        <property name="report.file" value="${report.dir}/TestReport.html"/>
-
-        <mkdir dir="${report.dir}"/>
-
-        <property name="tests.spec" value="**/checkin/**"/>
-        <property name="showoutput" value="false"/>
-        <junitX classpathref="test.run.classpath"
-            formatter="tools.JUnit.XmlResultFormatterImpl"
-            showOutput="${showoutput}"
-            reportFile="${report.log.file}"
-            fork="true"
-            resultproperty="junit.failcount"
-            failonerror="true">
-            <classpath>
-                <path refid="test.run.classpath"/>
-            </classpath>
-
-            <jvmarg value="-Xmx256m"/>
-
-            <!-- For tests that need to access case files directly -->
-            <sysproperty key="cases.location" path="${xbeans.test.cases.test.files}"/>
-            <sysproperty key="xbean.rootdir" path="${xbeans.root}"/>
-
-            <!-- This will pick up all files that match and end in .java
-                 and try to run the corresponding test class -->
-            <fileset dir="${build.dir.test.src}"
-                includes="${tests.spec}"/>
-        </junitX>
-        <antcall target="generate.html.report"/>
-        <echo message="${junit.failcount}"/>
-        <if>
-            <not>
-                <equals arg1="${junit.failcount}" arg2="0"/>
-            </not>
-            <then>
-                <fail message="Test run had failures"/>
-            </then>
-        </if>
-
-    </target>
-
-    <target name="generate.html.report">
-        <loadfile property="css.file"
-            srcfile="${xbeans.test.tools.lib}/xsl/junit.css"
-            failonerror="false"/>
-        <xslt in="${report.log.file}"
-            out="${report.file}"
-            style="${xbeans.test.tools.lib}/xsl/TestReport.xsl">
-            <!-- Set up some params for the Stylesheet -->
-            <!-- TODO: Doc these params and usage of the Stylesheet -->
-            <param name="cssFile" expression="${css.file}"/>
-            <param name="showSuccessInErrorSummary" expression="0"/>
-            <param name="sections"
-                expression="result-summary,setup,result-detail,error-summary,error-detail"/>
-            <param name="navigationTools" expression="toolbar,top"/>
-            <param name="showTheFilters" expression="false"/>
-        </xslt>
-    </target>
-
-    <target name="clean.reports">
-        <delete dir="${report.dir}" failonerror="false"/>
-    </target>
-
-    <!-- END:                                                            -->
-    <!-- =============================================================== -->
-
-    <!-- ============================================================= -->
-    <!-- Miscellaneous -->
-    <!-- ============================================================= -->
-    <target name="JWhich" description="Probe the classpath">
-        <property name="JWhich.arg" value="-printclasspath"/>
-        <java classname="JWhich" classpathref="test.run.classpath" fork="true">
-            <classpath>
-                <pathelement location="${xbeans.test.tools.lib}/JWhich.jar"/>
-            </classpath>
-            <arg value="${JWhich.arg}"/>
-        </java>
-    </target>
-
-
-</project>
diff --git a/v2/xbeanenv.cmd b/v2/xbeanenv.cmd
deleted file mode 100644
index 0fd151f..0000000
--- a/v2/xbeanenv.cmd
+++ /dev/null
@@ -1 +0,0 @@
-SET XMLBEANS_HOME=%~dp0.
diff --git a/v2/xbeanenv.sh b/v2/xbeanenv.sh
deleted file mode 100755
index 93f2d79..0000000
--- a/v2/xbeanenv.sh
+++ /dev/null
@@ -1 +0,0 @@
-export XMLBEANS_HOME=`pwd`
diff --git a/v2/xkit/README.txt b/v2/xkit/README.txt
deleted file mode 100644
index 972d3d6..0000000
--- a/v2/xkit/README.txt
+++ /dev/null
@@ -1,159 +0,0 @@
-XMLBeans Development Kit
-
-
-Welcome to XMLBeans!
-
-
-Kit contents:
-
-(1) One copy of xbean.jar, which contains XMLBeans.
-    Should work on any JDK 1.4.x.
-    ./lib/xbean.jar
-
-(2) License information for XML Beans and included libraries
-    ./license.txt
-
-(3) One folder full of command-line scripts, pointing to the
-    useful main() functions in the JAR.
-    ./bin
-
-(4) One bit of ant task documentation.
-    ./anttask.html
-
-(5) A copy of the plain javadoc tree for org.apache.xmlbeans.*
-    ./docs/reference
-
-(6) A preliminary collection of nicely formatted user-level
-    documentation HTML (includes reformatted and nicely
-    organized javadoc as well)
-    ./docs/guide
-
-(7) A few sample schemas
-    ./schemas
-
-
-Where to start?
-
-(1) Setup.
-
-    1. make sure you have a JDK 1.4.x installed; that java[.exe]
-       is on your path and that JAVA_HOME/bin contains java[.exe],
-       javac[.exe], and jar[.exe].
-
-    2. set your XMLBEANS_HOME env variable to point to the directory
-       containing xbean.jar (i.e., ./lib).
-
-    3. put the scripts in ./bin on your path.
-
-    4. run "scomp" with no arguments.  You should get a "usage"
-       message.
-
-(2) Try some schema compilation
-
-    1. In the ./schemas directory you'll find some collections of
-       schemas you can try out.
-
-         - easypo: a contrived simple starter "purchase order"
-         - cyclone: an actual customer schema (cyclonecommerce.com)
-         - s4s: the Schema for Schema
-         - j2ee: j2ee descriptor schemas
-
-       To compile them, you can just send the whole directory to
-       scomp, for example, "cd samples"; then "scomp easypo".
-       You will get an "xmltypes.jar" out that contains all the
-       compiled XMLBeans.  To pick your own JAR filename just say
-
-       scomp -out myeasypo.jar easypo
-
-
-    2. Especially as you get started, you will want to see the
-       .java source code for the generated code.  To get that,
-       use a command-line like
-
-       scomp -src mysrcdir -out myeasypo.jar easypo
-
-       The "mysrcdir" will contain all the .java source code
-       for the generated XMLBeans.
-
-(3) Try using your compiled XMLBeans
-
-    Now, armed with the XMLBeans source code and the basic
-    docs, you're ready to program.  Things you need to know:
-
-    * The org.apache.xmlbeans package has all the public classes
-      for XMLBeans.  Programs should not need to call anything
-      else in xbean.jar directly.
-
-    * XmlObject is the base class for all XMLBeans.  It
-      corresponds to xs:anyType.
-
-    * Every schema type corresponds to an XMLBean interface,
-      e.g., XmlAnySimpleType corresponds to xs:anySimpleType, and
-      XmlInt corresponds to xs:int, etc.. And of course this
-      extends to the XMLBean classes compiled from user-defined
-      schemas.
-
-    * Every XMLBean interface has an inner Factory class for
-      creating or parsing instances, e.g., to load a file of
-      generic type, use XmlObject.Factory.parse(myfile); to
-      parse a string you expect to be a purcahse-order, use
-      PurchaseOrderDocument.Factory.parse("<ep:purchase-o...");
-
-    * XmlCursor is the API for full XML infoset treewalking.
-      It is obtained via xmlobject.newCursor(). Using it is
-      less convenient, but faster than using XML Objects,
-      because it does not create objects as it traverses
-      the XML tree.
-
-    * SchemaType is the basic "schema reflection" API (just like
-      Class, but for Schema).  Get the actual schema type of any
-      instance by saying "xobj.schemaType();" get the static
-      constant schema type corresponding to any XMLBean class
-      by saying "MyPurchaseOrder.type" or "XmlInt.type".
-      (Analogous to "obj.getClass()" and "Object.class".)
-
-    * A number of utility methods are avaliable on
-      org.apache.xmlbeans.XmlBeans, including a function that can be
-      used to determine whether a Java class is an XmlBean and
-      functions to manage runtime-loading of schema type
-      systems.
-
-    With that, you're ready to navigate the javadoc and play
-    with the code.  Also, try reading some of our 
-    docs that are included in ./docs
-
-(3) Try some of the other utilities; you can also see a few
-    examples of XMLBean techniques in their source code.
-
-    1. "xpretty instance.xml" pretty-prints an XML instance
-       document.
-
-       The code is in xml.apache.org.tool.PrettyPrinter and is
-       a reasonable example of how to load and save out an
-       arbitrary XML document.  XmlOptions are used to produce
-       the pretty-printing.
-
-    2. "validate instance.xml schema.xsd" will validate the
-       instance against the schema.  XMLBeans is intended to
-       be a very accurate XML schema validator.
-
-       The code is in xml.apache.org.tool.InstanceValidator.
-       It is an excellent example of how to load a schema
-       type system dynamically at runtime, load and validate
-       an instance within that type system, and how to obtain
-       lists of and locations for validation errors.
-
-    3. "xsdtree easypo" will show the inheritance hierarchy
-       of the schema types in that directory.
-
-       The code is in xml.apache.org.tool.TypeHierarchyPrinter
-       and is a good introduction to how to traverse the
-       metadata in a schema type system.
-
-    4. "dumpxsb xbean.jar" or "dumpxsb myfile.xsb" will dump
-       the contents of "xsb" (binary schema metadata) files
-       in a human-readable form.  These .xsb files contain
-       the compiled metadata resulting from the .xsd files
-       of a type system.  They are analogous to .class files
-       for .java.
-
diff --git a/v2/xkit/anttask.html b/v2/xkit/anttask.html
deleted file mode 100644
index e46236b..0000000
--- a/v2/xkit/anttask.html
+++ /dev/null
@@ -1,217 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-                     
-  <meta http-equiv="Content-Language" content="en-us">
-  <title>XMLBean Task</title>
-</head>
-  <body>
-            
-<h2><a name="xmlbean">XMLBean</a></h2>
-           
-<h3>Description</h3>
-              
-<p>Compile a set of XSDs and/or WSDLs into xbeans. This is useful for building
- an XMLBean jar from .XSD and .WSDL files. &nbsp;The task can also generate
- the source code that makes up the xbean type system specified by the schema
- files if desired.</p>
-              
-<p><b>Note:</b> This task depends on an external library not included in
-the  Ant distribution called xbean.jar. &nbsp;It can be found in the XMLBeans
- developer kit at <a
- href="http://dev2dev.bea.com/technologies/xmlbeans/">http://dev2dev.bea.com/technologies/xmlbeans/</a>. 
-The build script will need to include a taskdef for xmlbean, which could look
-like this:<br>
- </p>
- 
-<pre>&nbsp;&nbsp;&nbsp; &lt;taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpath="path/to/xbean.jar"/&gt;</pre>
- 
-<p>   </p>
-           
-<p>It is possible to refine the set of files that are being processed. This 
-  can be done with the <i>includes</i>, <i>includesfile</i>, <i>excludes</i>, 
-  <i>excludesfile</i> and <i>defaultexcludes</i> attributes. With the <i>includes</i> 
-  or <i>includesfile</i> attribute you specify the files you want to have 
-included  by using patterns. The <i>exclude</i> or <i>excludesfile</i> attribute 
-is  used to specify the files you want to have excluded. This is also done 
-with  patterns. And finally with the <i>defaultexcludes</i> attribute, you 
-can specify whether you want to use default exclusions or not. See the section 
- on <a
- href="http://ant.apache.org/manual/dirtasks.html#directorybasedtasks">directory
- based tasks</a>, on how the inclusion/exclusion of files works, and how
-to  write patterns.</p>
-           
-<p>This task forms an implicit <a
- href="http://ant.apache.org/manual/CoreTypes/fileset.html">FileSet</a> 
-and supports all   attributes of <code>&lt;fileset&gt;</code> (<code>dir</code> 
-  becomes <code>basedir</code>)   as well as the nested <code>&lt;include&gt;</code>, 
-  <code>&lt;exclude&gt;</code>   and <code>&lt;patternset&gt;</code> elements.</p>
-              
-<h3>Parameters</h3>
-           
-<table border="1" cellpadding="2" cellspacing="0">
-        <tbody>
-         <tr>
-          <td valign="top"><b>Attribute</b></td>
-          <td valign="top"><b>Description</b></td>
-          <td align="center" valign="top"><b>Required</b></td>
-        </tr>
-        <tr>
-          <td valign="top">schema</td>
-          <td valign="top">A file that points to either an individual schema
- file or a directory of files. &nbsp;Not a path reference. &nbsp;If multiple
- schema files need to be built together, use a nexted fileset instead of
-setting  schema.</td>
-          <td align="center" valign="top">Yes, unless a fileset element is
- nested.</td>
-        </tr>
-        <tr>
-          <td valign="top">destfile</td>
-          <td valign="top">Define the name of the jar file created.&nbsp; 
-For instance, "myXMLBean.jar" will output the results of this task into a 
-jar with the same name.</td>
-          <td align="center" valign="top">No, default is "xmltypes.jar".</td>
-        </tr>
-        <tr>
-          <td valign="top">download</td>
-          <td valign="top">Set to true to permit the compiler to download 
-URLs for imports and includes.&nbsp; Defaults to false, meaning all imports 
-and includes must be copied locally.<br>
-        </td>
-          <td align="center" valign="top">No, default is false.</td>
-        </tr>
-        <tr>
-          <td valign="top">failonerror</td>
-          <td valign="top">     Determines whether or not the ant target
-will  continue if the XMLBean creation encounters a build error.<br>
-        </td>
-          <td align="center" valign="top">No, default is true.</td>
-        </tr>
-        <tr>
-        <td valign="top">verbose<br>
-        </td>
-        <td valign="top">Controls the amount of build message output.<br>
-        </td>
-        <td valign="top" align="center">No, default is true.<br>
-        </td>
-      </tr>
-      <tr>
-        <td valign="top">typesystemname<br>
-        </td>
-        <td valign="top">The name of the package that the TypeSystemHolder
-class should be generated in.&nbsp; Normally this should be left unspecified.
-None of the xml beans are generated in this package. Use .xsdconfig files
-to modify xml bean package or class names.<br>
-        </td>
-        <td valign="top" align="center">No<br>
-        </td>
-      </tr>
-      <tr>
-        <td valign="top">classgendir<br>
-        </td>
-        <td valign="top">Set a location to generate .class files into.<br>
-        </td>
-        <td valign="top" align="center">No<br>
-        </td>
-      </tr>
-      <tr>
-        <td valign="top">srconly<br>
-        </td>
-        <td valign="top">A value of true means that only source will be generated.<br>
-        </td>
-        <td valign="top" align="center">No, default is false.<br>
-        </td>
-      </tr>
-      <tr>
-        <td valign="top">srcgendir<br>
-        </td>
-        <td valign="top">Set a location to generate .java files into.<br>
-        </td>
-        <td valign="top" align="center">No<br>
-        </td>
-      </tr>
-      <tr>
-          <td valign="top">classpath</td>
-          <td valign="top">The classpath to use if schemas in the fileset
-import definitions that are supplied by other compiled xml beans JAR files,
-or if .java files are in the schema fileset.</td>
-          <td align="center" valign="top">No</td>
-        </tr>
-        <tr>
-          <td valign="top">classpathref</td>
-          <td valign="top">Adds a classpath, given as <a
- href="http://ant.apache.org/manual/using.html#references">reference</a>
-to a path defined elsewhere.</td>
-          <td align="center" valign="top">No</td>
-        </tr>
-        <tr>
-          <td valign="top">includes</td>
-          <td valign="top">Comma- or space-separated list of patterns of
-files   that must be included.       All files are included when omitted.</td>
-          <td valign="top" align="center">No</td>
-        </tr>
-        <tr>
-          <td valign="top">includesfile</td>
-          <td valign="top">The name of a file. Each line of this file is
-taken   to be       an include pattern</td>
-          <td valign="top" align="center">No</td>
-        </tr>
-        <tr>
-          <td valign="top">excludes</td>
-          <td valign="top">Comma- or space-separated list of patterns of
-files   that must be excluded.       No files (except default excludes) are
-excluded   when omitted.</td>
-          <td valign="top" align="center">No</td>
-        </tr>
-        <tr>
-          <td valign="top">excludesfile</td>
-          <td valign="top">The name of a file. Each line of this file is
-taken   to be       an exclude pattern</td>
-          <td valign="top" align="center">No</td>
-        </tr>
-        <tr>
-          <td valign="top">defaultexcludes</td>
-          <td valign="top">Indicates whether default excludes should be used
-  or not       ("yes"/"no"). Default excludes are used when omitted.</td>
-          <td valign="top" align="center">No</td>
-        </tr>
-                    
-  </tbody>     
-</table>
-                 
-<h3>Example</h3>
-           
-<blockquote>               Be sure to define the task in your script, like 
-this:<br>
-   
-  <pre>&lt;taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpath="path/to/xbean.jar"/&gt;</pre>
-   
-  <pre><br>&lt;xmlbean schema="schemas" destfile="Schemas.jar"/&gt;<br></pre>
-  Builds all the schemas in the schemas directory and creates a jar called
- 'Schemas.jar'.<br>
-                    
-  <pre>&lt;xmlbean schema="schemas/ourSchema.xsd" download="true"/&gt;<br></pre>
-  Compiles the schema 'ourShema.xsd' into the default jar 'xmltypes.jar'. 
-&nbsp;If &nbsp;any imports and includes are defined by remote URLs, they are
-downloaded during the build.<br>
-                       
-  <h4>Using a fileset</h4>
-                       
-  <pre>&lt;xmlbean classgendir="${build.dir}" classpath="${class.path}"<br>      failonerror="true"&gt;<br>  &lt;fileset basedir="src" excludes="**/*.xsd"/&gt;<br>  &lt;fileset basedir="schemas" includes="**/*.*"/&gt;<br>&lt;/xmlbean&gt;<br></pre>
-  Gathers all the files in the 'src' directory except .xsd files, along with
- every file in the 'schemas' directory and compiles them. The fileset can
-include schema files that refer to previously compiled schema components.&nbsp;
-The fileset can also contain .java files.&nbsp; The classpath parameter defines
-the classpath necessary to resolve compiled schema and java references.<br>
-  <br>
-The built classes will go into ${build.dir}.<br>
-                       
-  <pre></pre>
-           </blockquote>
-           
-<hr>      
-       <br>
-        <br>
- <br>
-</body>
-</html>
diff --git a/website/forrest-targets.ent b/website/forrest-targets.ent
deleted file mode 100644
index 994c0b7..0000000
--- a/website/forrest-targets.ent
+++ /dev/null
@@ -1,174 +0,0 @@
-<!--
-This build.xml snippet contains Forrest targets for Ant 1.5+.  It checks that
-the user has set ${forrest.home}, either in one of:
-  build.properties
-  project.properties
-  ant.properties
-  .ant.properties
-or with the FORREST_HOME environment variable, and prints an informative error
-message if not found.
-
-Usage:
-1) Copy this file to somewhere in your project.
-2) Add the following to the top of your project's Ant build.xml script
-(adjusting the path):
-
-  <!DOCTYPE project [
-    <!ENTITY forrest-targets SYSTEM "file:./forrest-targets.ent">
-  ]>
-
-3) Before the closing '</project>' in your build.xml, add this:
-
-  &forrest-targets;
-  
-This is like expanding a macro: it pulls in the contents of this file.
-
-A minimal build.xml would thus be:
-
-<!DOCTYPE project [
-<!ENTITY forrest-targets SYSTEM "file:./forrest-targets.ent">
-]>
-
-<project default="site">
-    &forrest-targets;
-</project>
--->
-
-  <target name="site" depends="forrest.init" description="Generates static HTML documentation">
-    <ant antfile="${forrest.home}/forrest.antproxy.xml" target="site"/>
-  </target>
-
-  <target name="webapp" depends="forrest.init" description="Generates an unpackaged webapp of the website">
-    <ant antfile="${forrest.home}/forrest.antproxy.xml" target="webapp"/>
-  </target>
-
-  <target name="war" depends="forrest.init" description="Generates a .war file containing the website">
-    <ant antfile="${forrest.home}/forrest.antproxy.xml" target="war"/>
-  </target>
-
-  <target name="validate" depends="forrest.init" description="Validates XML documentation files">
-    <ant antfile="${forrest.home}/forrest.antproxy.xml" target="validate"/>
-  </target>
-
-  <target name="forrest.init" depends="forrest.sethome, forrest.home.defined"/>
-
-  <target name="forrest.sethome" depends="forrest.loadenv,
-  forrest.checkenv, forrest.checkhome, forrest.check-build.properties,
-  forrest.check-project.properties, forrest.check-ant.properties,
-  forrest.check-.ant.properties"/>
-
-  <target name="forrest.loadenv" unless="forrest.home.present">
-    <property environment="env"/>
-    <echo level="verbose">Forrest: Got ${env.FORREST_HOME}</echo>
-  </target>
-
-  <target name="forrest.checkenv" if="env.FORREST_HOME">
-    <echo level="verbose">Found $FORREST_HOME..</echo>
-    <property name="forrest.home" location="${env.FORREST_HOME}"/>
-    <echo level="verbose">forrest.home set to ${forrest.home}</echo>
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-  </target>
-
-
-  <target name="forrest.checkhome">
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-    <available file="build.properties" type="file" property="build.properties.present"/>
-    <available file="project.properties" type="file" property="project.properties.present"/>
-    <available file="ant.properties" type="file" property="ant.properties.present"/>
-    <available file=".ant.properties" type="file" property=".ant.properties.present"/>
-  </target>
-
-  <!-- No we can't extract the commonalities below into an antcall'ed target,
-  because it wouldn't be able to set forrest.home -->
-  <target name="forrest.check-build.properties" unless="forrest.home.present"
-  if="build.properties.present">
-    <echo level="verbose">Forrest: Checking build.properties..</echo>
-    <loadproperties srcfile="build.properties">
-      <filterchain>
-        <linecontains>
-          <contains value="forrest.home"/>
-        </linecontains>
-      </filterchain>
-    </loadproperties>
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-
-  </target>
-
-  <target name="forrest.check-project.properties" unless="forrest.home.present"
-  if="project.properties.present">
-    <echo level="verbose">Forrest: Checking project.properties..</echo>
-    <loadproperties srcfile="project.properties">
-      <filterchain>
-        <linecontains>
-          <contains value="forrest.home"/>
-        </linecontains>
-      </filterchain>
-    </loadproperties>
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-  </target>
-
-  <target name="forrest.check-ant.properties" unless="forrest.home.present"
-  if="ant.properties.present">
-    <echo level="verbose">Forrest: Checking ant.properties..</echo>
-    <loadproperties srcfile="ant.properties">
-      <filterchain>
-        <linecontains>
-          <contains value="forrest.home"/>
-        </linecontains>
-      </filterchain>
-    </loadproperties>
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-  </target>
-
-  <target name="forrest.check-.ant.properties" unless="forrest.home.present"
-  if=".ant.properties.present">
-    <echo level="verbose">Forrest: Checking .ant.properties..</echo>
-    <loadproperties srcfile=".ant.properties">
-      <filterchain>
-        <linecontains>
-          <contains value="forrest.home"/>
-        </linecontains>
-      </filterchain>
-    </loadproperties>
-    <available file="${forrest.home}" type="dir" property="forrest.home.present"/>
-  </target>
-
-  <target name="forrest.home.defined" depends="forrest.sethome" unless="forrest.home.present">
-    <property name="path" value="${user.home}/xml-forrest/build/dist/shbat"/>
-    <pathconvert targetos="windows" property="winpath">
-      <path>
-        <pathelement location="${path}"/>
-      </path>
-    </pathconvert>
-    <pathconvert targetos="unix" property="unixpath">
-      <path>
-        <pathelement
-          location="${path}"/>
-      </path>
-    </pathconvert>
-
-    <echo>
-      ----------------------------------------------
-      To run this target, you need Forrest installed.
-      Please do the following:
-
-      export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
-      cvs checkout xml-forrest
-      cd xml-forrest
-      build      (Windows)
-      ./build.sh (Unix)
-
-      Then either:
-
-      - Set FORREST_HOME as the Forrest build instructions describe
-      - Create a build.properties, with the forrest.home property pointing to
-        the forrest shbat directory, eg:
-
-        forrest.home=${winpath}  (Windows)
-        forrest.home=${unixpath}  (Unix)
-
-        (adjusting the path according to where your xml-forrest is)
-      ----------------------------------------------
-    </echo>
-    <fail message="Need to define $${forrest.home}"/>
-  </target>
diff --git a/website/forrest.properties b/website/forrest.properties
deleted file mode 100644
index 0787e81..0000000
--- a/website/forrest.properties
+++ /dev/null
@@ -1,118 +0,0 @@
-##############
-# Properties used by forrest.build.xml for building the website
-##############
-
-# Prints out a summary of Forrest settings for this project
-#forrest.echo=true 
-
-# Project name (used to name .war file)
-#project.name=xmlbeans
-
-# Specifies name of Forrest skin to use
-#project.skin=forrest-site
-#project.skin=forrest-css
-#project.skin=avalon-tigris
-#project.skin=krysalis-site
-
-
-##############
-# behavioural properties
-#project.menu-scheme=tab_attributes
-#project.menu-scheme=directories
-
-##############
-# layout properties
-
-# Properties that must be set to override the default locations
-#
-# Parent properties must be set. This usually means uncommenting
-# project.content-dir if any other property using it is uncommented
-
-#project.status=status.xml
-#project.content-dir=src/documentation
-#project.conf-dir=${project.content-dir}/conf
-#project.sitemap-dir=${project.content-dir}
-#project.xdocs-dir=${project.content-dir}/content/xdocs
-#project.resources-dir=${project.content-dir}/resources
-#project.stylesheets-dir=${project.resources-dir}/stylesheets
-#project.images-dir=${project.resources-dir}/images
-#project.schema-dir=${project.resources-dir}/schema
-#project.skins-dir=${project.content-dir}/skins
-#project.skinconf=${project.content-dir}/skinconf.xml
-#project.lib-dir=${project.content-dir}/lib
-#project.classes-dir=${project.content-dir}/classes
-
-
-##############
-# Cocoon catalog entity resolver properties
-
-# A local OASIS catalog file to supplement the default Forrest catalog
-#project.catalog=${project.schema-dir}/catalog.xcat
-
-# The verbosity level for the entity resolver (1..10)
-#forrest.catalog.verbosity=1
-
-
-##############
-# validation properties
-
-# These props determine if validation is performed at all
-# Values are inherited unless overridden.
-# Eg, if forrest.validate=false, then all others are false unless set to true.
-#forrest.validate=true
-#forrest.validate.xdocs=${forrest.validate}
-#forrest.validate.skinconf=${forrest.validate}
-#forrest.validate.sitemap=${forrest.validate}
-#forrest.validate.stylesheets=${forrest.validate}
-#forrest.validate.skins=${forrest.validate}
-#forrest.validate.skins.stylesheets=${forrest.validate.skins}
-
-
-# Key:
-# *.failonerror=(true|false)    stop when an XML file is invalid
-# *.includes=(pattern)         Comma-separated list of path patterns to validate
-# *.excludes=(pattern)         Comma-separated list of path patterns to not validate
-
-#forrest.validate.failonerror=true
-#forrest.validate.includes=**/*
-#forrest.validate.excludes=
-#
-#forrest.validate.xdocs.failonerror=${forrest.validate.failonerror}
-#
-#forrest.validate.xdocs.includes=**/*.x*
-#forrest.validate.xdocs.excludes=site.xml
-#
-#forrest.validate.skinconf.includes=${skinconf-file}
-#forrest.validate.skinconf.excludes=
-#forrest.validate.skinconf.failonerror=${forrest.validate.failonerror}
-#
-#forrest.validate.sitemap.includes=${sitemap-file}
-#forrest.validate.sitemap.excludes=
-#forrest.validate.sitemap.failonerror=${forrest.validate.failonerror}
-#
-#forrest.validate.stylesheets.includes=**/*.xsl
-#forrest.validate.stylesheets.excludes=
-#forrest.validate.stylesheets.failonerror=${forrest.validate.failonerror}
-#
-#forrest.validate.skins.includes=**/*
-#forrest.validate.skins.excludes=**/*.xsl
-#forrest.validate.skins.failonerror=${forrest.validate.failonerror}
-#
-#forrest.validate.skins.stylesheets.includes=**/*.xsl
-#forrest.validate.skins.stylesheets.excludes=
-#forrest.validate.skins.stylesheets.failonerror=${forrest.validate.skins.failonerror}
-
-##############
-# General Forrest properties
-
-# The URL to start crawling from
-#project.start-uri=index.html
-# Set logging level for messages printed to the console
-# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
-#project.debuglevel=ERROR
-# Max memory to allocate to Java
-#forrest.maxmemory=64m
-# Any other arguments to pass to the JVM. For example, to run on an X-less
-# server, set to -Djava.awt.headless=true
-#forrest.jvmargs=
-#project.bugtracking-url=http://nagoya.apache.org/bugzilla/show_bug.cgi?id=
diff --git a/website/src/documentation/README.txt b/website/src/documentation/README.txt
deleted file mode 100644
index 4545b58..0000000
--- a/website/src/documentation/README.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-This is the base documentation directory. It usually contains two files:
-
-skinconf.xml     # This file customizes Forrest for your project. In it, you
-                 # tell forrest the project name, logo, copyright info, etc
-
-sitemap.xmap     # Optional. This sitemap overrides the default one bundled
-                 # with Forrest. Typically, one would copy a sitemap from
-                 # xml-forrest/src/resources/conf/sitemap.xmap, and customize
-                 # it.
-
diff --git a/website/src/documentation/content/docs/guide/conGettingStartedwithXMLBeans.html b/website/src/documentation/content/docs/guide/conGettingStartedwithXMLBeans.html
deleted file mode 100644
index 48c98fd..0000000
--- a/website/src/documentation/content/docs/guide/conGettingStartedwithXMLBeans.html
+++ /dev/null
@@ -1,519 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Getting Started with XMLBeans</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Getting Started with XMLBeans</h1>
-<div id="topictext"> 
-  <p>XMLBeans provides intuitive ways to handle XML that make it easier for you 
-    to access and manipulate XML data and documents in Java. </p>
-  <p>Characteristics of XMLBeans approach to XML:</p>
-</div>
-<ul>
-  <li> 
-    <div>It provides a familiar Java object-based view of XML data without losing 
-      access to the original, native XML structure.</div>
-  </li>
-  <li> 
-    <div>The XML's integrity as a document is not lost with XMLBeans. XML-oriented 
-      APIs commonly take the XML apart in order to bind to its parts. With XMLBeans, 
-      the entire XML instance document is handled as a whole. The XML data is 
-      stored in memory as XML. This means that the document order is preserved 
-      as well as the original element content with whitespace.</div>
-  </li>
-  <li> 
-    <div>With types generated from schema, access to XML instances is through 
-      JavaBean-like accessors, with get and set methods.</div>
-  </li>
-  <li> 
-    <div>It is designed with XML schema in mind from the beginning &#8212; XMLBeans 
-      supports all XML schema definitions.</div>
-  </li>
-  <li>Access to XML is fast.</li>
-</ul>
-<div> 
-  <p>The starting point for XMLBeans is XML schema. A schema (contained in an 
-    XSD file) is an XML document that defines a set of rules to which other XML 
-    documents must conform. The XML Schema specification provides a rich data 
-    model that allows you to express sophisticated structure and constraints on 
-    your data. For example, an XML schema can enforce control over how data is 
-    ordered in a document, or constraints on particular values (for example, a 
-    birth date that must be later than 1900). Unfortunately, the ability to enforce 
-    rules like this is typically not available in Java without writing custom 
-    code. XMLBeans honors schema constraints.</p>
-  <p class="notepara"><strong>Note:</strong> Where an XML schema defines rules 
-    for an XML document, an XML <em>instance</em> is an XML document that conforms 
-    to the schema.</p>
-  <p>You compile a schema (XSD) file to generate a set of Java interfaces that 
-    mirror the schema. With these types, you process XML instance documents that 
-    conform to the schema. You bind an XML instance document to these types; changes 
-    made through the Java interface change the underlying XML representation.</p>
-  <p>Previous options for handling XML include using XML programming interfaces 
-    (such as DOM or SAX) or an XML marshalling/binding tool (such as JAXB). Because 
-    it lacks strong schema-oriented typing, navigation in a DOM-oriented model 
-    is more tedious and requires an understanding of the complete object model. 
-    JAXB provides support for the XML schema specification, but handles only a 
-    subset of it; XMLBeans supports all of it. Also, by storing the data in memory 
-    as XML, XMLBeans is able to reduce the overhead of marshalling and demarshalling.</p>
-  <h1>Accessing XML Using Its Schema</h1>
-  <p>To get a glimpse of the kinds of things you can do with XMLBeans, take a 
-    look at an example using XML for a purchase order. The purchase order XML 
-    contains data exchanged by two parties, such as two companies. Both parties 
-    need to be able to rely on a consistent message shape, and a schema specifies 
-    the common ground. </p>
-  <p>Here's what a purchase order XML instance might look like.</p>
-  <pre>
-&lt;po:purchase-order xmlns:po="http://openuri.org/easypo"&gt;
-    &lt;po:customer&gt;
-        &lt;po:name&gt;Gladys Kravitz&lt;/po:name&gt;
-        &lt;po:address&gt;Anytown, PA&lt;/po:address&gt;
-    &lt;/po:customer&gt;
-    &lt;po:date&gt;2003-01-07T14:16:00-05:00&lt;/po:date&gt;
-    &lt;po:line-item&gt;
-        &lt;po:description&gt;Burnham's Celestial Handbook, Vol 1&lt;/po:description&gt;
-        &lt;po:per-unit-ounces&gt;5&lt;/po:per-unit-ounces&gt;
-        &lt;po:price&gt;21.79&lt;/po:price&gt;
-        &lt;po:quantity&gt;2&lt;/po:quantity&gt;
-    &lt;/po:line-item&gt;
-    &lt;po:line-item&gt;
-        &lt;po:description&gt;Burnham's Celestial Handbook, Vol 2&lt;/po:description&gt;
-        &lt;po:per-unit-ounces&gt;5&lt;/po:per-unit-ounces&gt;
-        &lt;po:price&gt;19.89&lt;/po:price&gt;
-        &lt;po:quantity&gt;2&lt;/po:quantity&gt;
-    &lt;/po:line-item&gt;
-&lt;po:shipper&gt;
-        &lt;po:name&gt;ZipShip&lt;/po:name&gt;
-        &lt;po:per-ounce-rate&gt;0.74&lt;/po:per-ounce-rate&gt;
-    &lt;/po:shipper&gt;
-&lt;/po:purchase-order&gt;</pre>
-  <p>This XML includes a root element, <span class="langinline">purchase-order</span>, 
-    that has three kinds of child elements: <span class="langinline">customer</span>, 
-    <span class="langinline">date</span>, <span class="langinline">line-item</span>, 
-    and <span class="langinline">shipper</span>. An intuitive, object-based view 
-    of this XML would provide an object representing the <span class="langinline">purchase-order</span> 
-    element, and it would have methods for getting the date and for getting subordinate 
-    objects for <span class="langinline">customer</span>, <span class="langinline">line-item</span>, 
-    and <span class="langinline">shipper</span> elements. Each of the last three 
-    would have its own methods for getting the data inside them as well.</p>
-  <h2>Looking at the Schema</h2>
-  <p>The following XML is the the schema for the preceding purchase order XML. 
-    It defines the XML's &quot;shape&quot; &#8212; what its elements are, what 
-    order they appear in, which are children of which, and so on.</p>
-</div>
-<div> 
-  <pre>
-&lt;xs:schema targetNamespace="http://openuri.org/easypo"
-    xmlns:po="http://openuri.org/easypo"
-    xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    elementFormDefault="qualified"&gt;
-	
-    &lt;xs:element name="purchase-order"&gt;
-        &lt;xs:complexType&gt;
-            &lt;xs:sequence&gt;
-                &lt;xs:element name="customer" type="po:customer"/&gt;
-                &lt;xs:element name="date" type="xs:dateTime"/&gt;
-                &lt;xs:element name="line-item" type="po:line-item" minOccurs="0" maxOccurs="unbounded"/&gt;
-                &lt;xs:element name="shipper" type="po:shipper" minOccurs="0"/&gt;
-            &lt;/xs:sequence&gt;
-        &lt;/xs:complexType&gt;
-    &lt;/xs:element&gt;
-    &lt;xs:complexType name="customer"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="name" type="xs:string"/&gt;
-            &lt;xs:element name="address" type="xs:string"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:complexType name="line-item"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="description" type="xs:string"/&gt;
-            &lt;xs:element name="per-unit-ounces" type="xs:decimal"/&gt;
-            &lt;xs:element name="price" type="xs:double"/&gt;
-            &lt;xs:element name="quantity" type="xs:int"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:complexType name="shipper"&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name="name" type="xs:string"/&gt;
-            &lt;xs:element name="per-ounce-rate" type="xs:decimal"/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-&lt;/xs:schema&gt;</pre>
-  <div> 
-    <p>This schema describes the purchase order XML instance by defining the following:</p>
-  </div>
-  <ul>
-    <li> 
-      <div>Definitions for three complex types &#8212; customer, line-item, and 
-        shipper. These are the types used for the children of the purchase-order 
-        element. In schema, a complex type is one that defines an element that 
-        may have child elements and attributes. The sequence element nested in 
-        the complex type lists its child elements.</div>
-      <p>These are also <em>global</em> types. They are global because they are 
-        at the top level of the schema (in other words, just beneath the <span class="langinline">schema</span> 
-        root element). This means that they may be referenced from anywhere else 
-        in the schema.</p>
-    </li>
-  </ul>
-</div>
-<div>
-  <ul>
-    <li>Use of simple types within the complex types. The name, address, and description 
-      elements (among others) are typed as simple types. As it happens, these 
-      are also <em>built-in</em> types. A built-in type (here, one with the &quot;xs&quot; 
-      prefix) is part of the schema specification. (The specification defines 
-      46 built-in types.)</li>
-    <li>A global element called purchase-order. This element definition includes 
-      a nested complex type definition that specifies the child elements for a 
-      purchase-order element. Notice that the complex type includes references 
-      to the other complex types defined in this schema.</li>
-  </ul>
-  <div></div>
-  <p>In other words, the schema defines types for the child elements and describes 
-    their position as subordinate to the root element, <span class="langinline">purchase-order</span>.</p>
-  <p>When you use the XMLBean compiler with an XSD file such as this one, you 
-    generate a JAR file containing the interfaces generated from the schema.</p>
-  <h2>Writing Java Code That Uses the Interfaces</h2>
-  <p>With the XMLBeans interfaces in your application, you can write code that 
-    uses the new types to handle XML based on the schema. Here's an example that 
-    extracts information about each of the ordered items in the purchase order 
-    XML, counts the items, and calculates a total of their prices. In particular, 
-    look at the use of types generated from the schema and imported as part of 
-    the <span class="langinline">org.openuri.easypo</span> package. </p>
-  <p>The <span class="langinline">printItems</span> method receives a <span class="langinline">File</span> 
-    object containing the purchase order XML file.</p>
-  <pre>
-package docs.xmlbeans;
-
-import java.io.File;
-import org.apache.xmlbeans.*;
-import org.openuri.easypo.PurchaseOrderDocument;
-import org.openuri.easypo.PurchaseOrder;
-import org.openuri.easypo.LineItem;
-
-public class POHandler 
-{
-    public static void printItems(File po) throws Exception 
-    {
-        /*
-         * All XMLBeans schema types provide a nested Factory class you can
-         * use to bind XML to the type, or to create new instances of the type.
-         * Note that a "Document" type such as this one is an XMLBeans 
-         * construct for representing a global element. It provides a way
-         * for you to get and set the contents of the entire element.
-         *
-         * Also, note that the parse method will only succeed if the 
-         * XML you're parsing appears to conform to the schema.
-         */
-        PurchaseOrderDocument poDoc =
-            PurchaseOrderDocument.Factory.parse(po);
-
-        /*
-         * The PurchaseOrder type represents the purchase-order element's
-         * complex type.
-         */
-        PurchaseOrder po = poDoc.getPurchaseOrder();
-
-        /*
-         * When an element may occur more than once as a child element,
-         * the schema compiler will generate methods that refer to an 
-         * array of that element. The line-item element is defined with
-         * a maxOccurs attribute value of "unbounded", meaning that 
-         * it may occur as many times in an instance document as needed.
-         * So there are methods such as getLineItemArray and setLineItemArray. 
-         */
-        LineItem[] lineitems = po.getLineItemArray();
-        System.out.println("Purchase order has " + lineitems.length + " line items.");
-
-        double totalAmount = 0.0;
-        int numberOfItems = 0;
-
-        /*
-         * Loop through the line-item elements, using generated accessors to 
-         * get values for child elements such a description, quantity, and
-         * price.
-         */
-        for (int j = 0; j < lineitems.length; j++) 
-        {
-            System.out.println(" Line item: " + j);
-            System.out.println(
-                "   Description: " + lineitems[j].getDescription());
-            System.out.println("   Quantity: " + lineitems[j].getQuantity());
-            System.out.println("   Price: " + lineitems[j].getPrice());
-            numberOfItems += lineitems[j].getQuantity();
-            totalAmount += lineitems[j].getPrice() * lineitems[j].getQuantity();
-        }
-        System.out.println("Total items: " + numberOfItems);
-        System.out.println("Total amount: " + totalAmount);
-    }
-}
-</pre>
-  <p>Notice that types generated from the schema reflect what's in the XML:</p>
-</div>
-<ul>
-  <li> 
-    <div>A <span class="langinline">PurchaseOrderDocument</span> represents the 
-      global root element.</div>
-  </li>
-  <li> 
-    <div>A <span class="langinline">getPurchaseOrder</span> method returns a <span class="langinline">PurchaseOrderDocument.PurchaseOrder</span> 
-      type that contains child elements, including <span class="langinline">line-item</span>. 
-      A <span class="langinline">getLineItemArray</span> method returns a <span class="langinline">LineItem</span> 
-      array containing the <span class="langinline">line-item</span> elements.</div>
-  </li>
-  <li>Other methods, such as <span class="langinline">getQuantity</span>, <span class="langinline">getPrice</span>, 
-    and so on, follow naturally from what the schema describes, returning corresponding 
-    children of the <span class="langinline">line-item</span> element.</li>
-  <li>The name of the package containing these types is derived from the schema's 
-    target namespace.</li>
-</ul>
-<div> 
-  <p>Capitalization and punctuation for generated type names follow Java convention. 
-    Also, while this example parses the XML from a file, other <span class="langinline">parse</span> 
-    methods support a Java <span class="langinline">InputStream</span> object, 
-    a <span class="langinline">Reader</span> object, and so on.</p>
-  <p>The preceding Java code prints the following to the console:</p>
-</div>
-<div> 
-  <pre>
-Purchase order has 3 line items.
- Line item 0
-   Description: Burnham's Celestial Handbook, Vol 1
-   Quantity: 2
-   Price: 21.79
- Line item 1
-   Description: Burnham's Celestial Handbook, Vol 2
-   Quantity: 2
-   Price: 19.89
-Total items: 4
-Total amount: 41.68</pre>
-  <h2>Creating New XML Instances from Schema</h2>
-  <p>As you've seen XMLBeans provides a &quot;factory&quot; class you can use 
-    to create new instances. The following example creates a new <span class="langinline">purchase-order</span> 
-    element and adds a <span class="langinline">customer</span> child element. 
-    It then inserts <span class="langinline">name</span> and <span class="langinline">address</span> 
-    child elements, creating the elements and setting their values with a single 
-    call to their <span class="langinline">set</span> methods.</p>
-  <pre>
-public PurchaseOrderDocument createPO()
-{
-&nbsp;&nbsp;&nbsp;&nbsp;PurchaseOrderDocument newPODoc = PurchaseOrderDocument.Factory.newInstance();
-&nbsp;&nbsp;&nbsp;&nbsp;PurchaseOrder newPO = newPODoc.addNewPurchaseOrder();
-&nbsp;&nbsp;&nbsp;&nbsp;Customer newCustomer = newPO.addNewCustomer();
-&nbsp;&nbsp;&nbsp;&nbsp;newCustomer.setName(&quot;Doris Kravitz&quot;);
-&nbsp;&nbsp;&nbsp;&nbsp;newCustomer.setAddress(&quot;Bellflower, CA&quot;);
-&nbsp;&nbsp;&nbsp;&nbsp;return newPODoc;
-}
-</pre>
-  <p>The following is the XML that results. Note that XMLBeans assigns the correct 
-    namespace based on the schema, using an &quot;ns1&quot; (or, &quot;namespace 
-    1&quot;) prefix. For practical purposes, the prefix itself doesn't really 
-    matter &#8212; it's the namespace URI (http://openuri.org/easypo) that defines 
-    the namespace. The prefix is merely a marker that represents it.</p>
-  <pre>&lt;ns1:purchase-order xmlns:ns1=&quot;http://openuri.org/easypo&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:customer&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:name&gt;Doris Kravitz&lt;/ns1:name&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ns1:address&gt;Bellflower, CA&lt;/ns1:address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ns1:customer&gt;
-&lt;/ns1:purchase-order&gt;
-</pre>
-  <p>Note that all types (including those generated from schema) inherit from 
-    <span class="langinline">XmlObject</span>, and so provide a <span class="langinline">Factory</span> 
-    class. For an overview of the type system in which <span class="langinline">XmlObject</span> 
-    fits, see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support 
-    for Built-In Schema Types</a>. For reference information, see <a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject 
-    Interface</a>.</p>
-  <h1>XMLBeans Hierarchy</h1>
-  <p>The generated types you saw used in the preceding example are actually part 
-    of a hierarchy of XMLBeans types. This hierarchy is one of the ways in which 
-    XMLBeans presents an intuitive view of schema. At the top of the hierarchy 
-    is <span class="langinline">XmlObject</span>, the base interface for XMLBeans 
-    types. Beneath this level, there are two main type categories: generated types 
-    that represent user-derived schema types, and included types that represent 
-    built-in schema types.</p>
-  This topic has already introduced generated types. For more information, see 
-  <a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated from 
-  User-Derived Schema Types.</a> 
-  <h2>Built-In Type Support</h2>
-  <p>In addition to types generated from a given schema, XMLBeans provides 46 
-    Java types that mirror the 46 built-in types defined by the XML schema specification. 
-    Where schema defines <span class="langinline">xs:string</span>, <span class="langinline">xs:decimal</span>, 
-    and <span class="langinline">xs:int</span>, for example, XMLBeans provides 
-    <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></span>, 
-    <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</a></span>, 
-    and <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlInt.html">XmlInt</a></span>. 
-    Each of these also inherits from <span class="langinline">XmlObject</span>, 
-    which corresponds to the built-in schema type <span class="langinline">xs:anyType</span>.</p>
-  <p>XMLBeans provides a way for you to handle XML data as these built-in types. 
-    Where your schema includes an element whose type is, for example, <span class="langinline">xs:int</span>, 
-    XMLBeans will provide a generated method designed to return an <span class="langinline">XmlInt</span>. 
-    In addition, as you saw in the preceding example, for most types there will 
-    also be a method that returns a natural Java type such as <span class="langinline">int</span>. 
-    The following two lines of code return the <span class="langinline">quantity</span> 
-    element's value, but return it as different types.</p>
-  <pre>
-// Methods that return simple types begin with an "x".
-XmlInt xmlQuantity = lineitems[j].xgetQuantity();
-// Methods that return a natural Java type are unadorned.
-int javaQuantity = lineitems[j].getQuantity();
-</pre>
-  <p>In a sense both get methods navigate to the <span class="langinline">quantity</span> 
-    element; the <span class="langinline">getQuantity</span> method goes a step 
-    further and converts the elements value to the most appropriate natural Java 
-    type before returning it. (XMLBeans also provides a means for validating the 
-    XML as you work with it.)</p>
-  <p>If you know a bit about XML schema, XMLBeans types should seem fairly intuitive. 
-    If you don't, you'll learn a lot by experimenting with XMLBeans using your 
-    own schemas and XML instances based on them. </p>
-  <p>For more information on the methods of types generated from schema, see <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-    for Types Generated From Schema</a>. For more about the how XMLBeans represents 
-    built-in schema types, see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans 
-    Support for Built-In Schema Types</a>.</p>
-  <h1>Using XQuery Expressions</h1>
-  <p>With XMLBeans you can use XQuery to query XML for specific pieces of data. 
-    XQuery is sometimes referred to as &quot;SQL for XML&quot; because it provides 
-    a mechanism to access data directly from XML documents, much as SQL provides 
-    a mechanism for accessing data in traditional databases.</p>
-  <p>XQuery borrows some of its syntax from XPath, a syntax for specifying nested 
-    data in XML. The following example returns all of the <span class="langinline">line-item</span> 
-    elements whose <span class="langinline">price</span> child elements have values 
-    less than or equal to 20.00:</p>
-  <pre>
-PurchaseOrderDocument doc = PurchaseOrderDocument.Factory.parse(po);
-
-/*
- * The XQuery expression is the following two strings combined. They're
- * declared separately here for convenience. The first string declares
- * the namespace prefix that's used in the query expression; the second
- * declares the expression itself.
- */
-String nsText = "declare namespace po = 'http://openuri.org/easypo'";
-String pathText = "$this/po:purchase-order/po:line-item[po:price <= 20.00]";
-String queryText = nsText + pathText;
-
-XmlCursor itemCursor = doc.newCursor().execQuery(queryText);
-System.out.println(itemCursor.xmlText());
-</pre>
-  <p>This code creates a new cursor at the start of the document. From there, 
-    it uses the <span class="langinline">XmlCursor</span> interface's <span class="langinline">execQuery</span> 
-    method to execute the query expression. In this example, the method's parameter 
-    is an XQuery expression that simply says, &quot;From my current location, 
-    navigate through the <span class="langinline">purchase-order</span> element 
-    and retrieve those <span class="langinline">line-item</span> elements whose 
-    value is less than or equal to 20.00.&quot; The <span class="langinline">$this</span> 
-    variable means &quot;the current position.&quot;</p>
-  <p>For more information about XQuery, see <a href="http://www.w3.org/TR/xquery/" target="_blank">XQuery 
-    1.0: An XML Query Language</a> at the W3C web site.</p>
-  <h2>Using XML Cursors</h2>
-  <p>In the preceding example you may have noticed the <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span> 
-    interface. In addition to providing a way to execute XQuery expression, an 
-    XML cursors offers a fine-grained model for manipulating data. The XML cursor 
-    API, analogous to the DOM's object API, is simply a way to point at a particular 
-    piece of data. So, just like a cursor helps navigate through a word processing 
-    document, the XML cursor defines a location in XML where you can perform actions 
-    on the selected XML.</p>
-  <p>Cursors are ideal for moving through an XML document when there's no schema 
-    available. Once you've got the cursor at the location you're interested in, 
-    you can perform a variety of operations with it. For example, you can set 
-    and get values, insert and remove fragments of XML, copy fragments of XML 
-    to other parts of the document, and make other fine-grained changes to the 
-    XML document.</p>
-  <p>The following example uses an XML cursor to navigate to the <span class="langinline">customer</span> 
-    element's <span class="langinline">name</span> child element.</p>
-  <pre>
-PurchaseOrderDocument doc = 
-    PurchaseOrderDocument.Factory.parse(po);
-
-XmlCursor cursor = doc.newCursor();
-cursor.toFirstContentToken();
-cursor.toFirstChildElement();
-cursor.toFirstChildElement();
-System.out.println(cursor.getText());
-
-cursor.dispose();
-</pre>
-  <p>What's happening here? As with the earlier example, the code loads the XML 
-    from a <span class="langinline">File</span> object. After loading the document, 
-    the code creates a cursor at its beginning. Moving the cursor a few times 
-    takes it to the nested <span class="langinline">name </span> element. Once 
-    there, the getText method retrieves the element's value.</p>
-  <p>This is just an introduction to XML cursors. For more information about using 
-    cursors, see <a href="conNavigatingXMLwithCursors.html">Navigating XML with 
-    Cursors</a>.</p>
-  <h2>Where to Go Next</h2>
-</div>
-<ul>
-  <li> 
-    <div>XMLBeans provides intuitive ways to handle XML, particularly if you're 
-      starting with schema. If you're accessing XML that's based on a schema, 
-      you'll probably find it most efficient to access the XML through generated 
-      types specific to the schema. To do this, you begin by compiling the schema 
-      to generate interfaces. For more information on using XMLBeans types generated 
-      by compiling schema, see <a href="conJavaTypesGeneratedFromUserDerived.html">Java 
-      Types Generated From User-Derived Schema Types</a> and <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-      for Types Generated From Schema</a>.</div>
-  </li>
-  <li> 
-    <div>You might be interested in reading more about the type system on which 
-      XMLBeans is based, particularly if you're using types generated from schema. 
-      XMLBeans provides a hierarchical system of types that mirror what you find 
-      in the XML schema specification itself. If you're working with schema, you 
-      might find it helps to understand how these types work. For more information, 
-      see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support 
-      for Built-In Schema Types</a> and <a href="conIntroToTheSchemaTypeSystem.html">Introduction 
-      to Schema Type Signatures</a>.</div>
-  </li>
-  <li> 
-    <div>XMLBeans provides access to XML through XQuery, which borrows path syntax 
-      from XPath. With XQuery, you can specify specific fragments of XML data 
-      with or without schema. To learn more about using XQuery and XPath in XMLBeans, 
-      see <a href="conSelectingXMLwithXQueryPathXPath.html">Selecting XML with 
-      XQuery and XPath</a>.</div>
-  </li>
-  <li>You can use the <span class="langinline">XmlCursor</span> interface for 
-    fine-grained navigation and manipulation of XML. For more information, see 
-    <a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a>.</li>
-</ul>
-<div>
-  <p class="notepara"><strong>Note:</strong> The xbean.jar file that contains 
-    the XMLBeans library is fully functional as a standalone library.</p>
-  <h1>Related Topics</h1>
-  <p><a href="../../samples/navXMLBeansSamples.html">XMLBeans Samples</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conIntroToTheSchemaTypeSystem.html b/website/src/documentation/content/docs/guide/conIntroToTheSchemaTypeSystem.html
deleted file mode 100644
index f0e85c7..0000000
--- a/website/src/documentation/content/docs/guide/conIntroToTheSchemaTypeSystem.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Introduction to Schema Type Signatures</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Introduction to Schema Type Signatures</h1>
-<div id="topictext"> 
-  <p>When you compile schema, the API generated from your schema is integrated 
-    with the XMLBeans type system that represents the underlying XML schema. All 
-    together, these types make up the <em>schema type system</em> to which your 
-    code has access. When handling XML based on the schema, you typically call 
-    methods of the API generated when you compiled the schema. However, for the 
-    cases when you want to get information about the schema itself, you use the 
-    schema type system API.</p>
-  <p>In the XMLBeans API, you have access to the system itself through <a href="../reference/org/apache/xmlbeans/SchemaTypeSystem.html"><span class="langinline">SchemaTypeSystem</span></a> 
-    and related classes. These make up a kind of &quot;meta-API,&quot; or a view 
-    on the schema. You can use the schema type system API to discover the type 
-    system at run time. See the reference topic on that interface for an overview 
-    of the schema type system.</p>
-  <h2>Schema Type &quot;Signatures&quot;</h2>
-  <p>A schema is made up of schema components. Schema components are the pieces 
-    of a schema, such as a type definition, an element declaration, attribute 
-    declaration, and so on. To mirror these in the schema type system, a <a href="../reference/org/apache/xmlbeans/SchemaComponent.html"><span class="langinline">SchemaComponent</span></a> 
-    instance represents a component in the underlying schema; separate components 
-    have corresponding types. For example you would have a <span class="langinline"><a href="../reference/org/apache/xmlbeans/SchemaType.html">SchemaType</a></span> 
-    object for a <span class="langinline">CustomerType</span> your schema defined, 
-    or a <a href="../reference/org/apache/xmlbeans/SchemaGlobalElement.html"><span class="langinline">SchemaGlobalElement</span></a> 
-    object for a global <span class="langinline">PurchaseOrder</span> element. 
-    You would also have a <span class="langinline">SchemaType</span> for built-in 
-    schema types, such as <span class="langinline">xs:string</span> or <span class="langinline">xs:datetime</span>. 
-    XMLBean provides a &quot;signature&quot; to describe each type. You can retrieve 
-    this signature by calling the SchemaType class's <span class="langinline">toString</span> 
-    method.</p>
-  <p>The <span class="langinline">toString</span> method returns XMLBeans' version 
-    of a unique signature for a schema type. This string is useful for debugging 
-    because it describes a given type even when the type doesn't have a name. 
-  </p>
-  <p class="notepara"><strong>Note:</strong> It's important to remember that this 
-    signature is an XMLBeans convention, rather than a standard from the schema 
-    working group. The working group has not yet standardized a signature for 
-    XML schema types. As a result the signature you'll see from XMLBeans is subject 
-    to change &#8212; whatever the schema working group comes up with in the end 
-    (if anything) is probably what will be used by this API. In other words, don't 
-    write a program to decode the signature.</p>
-  <p>You can use the following description to understand how a signature is constructed.</p>
-</div>
-<ul>
-  <li> 
-    <div><strong>Global types.</strong> If the type has a name, it's a global 
-      type. The following form is used:</div>
-    <div> 
-      <div> 
-        <pre>T=&lt;localname&gt;@&lt;targetNamespace&gt;</pre>
-      </div>
-    </div>
-    <p>The &quot;T&quot; is for &quot;type,&quot; of course. &quot;localname&quot; 
-      is a convention used by qnames (qualified names), which include a local 
-      name and the namespace URI (if any). So an example might be:</p>
-    <pre>T=customer@openuri.org</pre>
-  </li>
-  <li><strong>Document types and global attribute types.</strong> These correspond 
-    to a special anonymous type containing one global element or attribute. These 
-    special types are generated by XMLBeans to represent global types declared 
-    with the &lt;element&gt; or &lt;attribute&gt; tag in schema. Because such 
-    types are types, but are declared as elements or attributes, they require 
-    special treatment. The following signature form is used: 
-    <div> 
-      <pre>
-D=&lt;document-element-name&gt;@&lt;targetNamespace&gt;
-R=&lt;attribute-type-name&gt;@&lt;targetNamespace&gt;
-</pre>
-      <div></div>
-    </div>
-    <div> 
-      <div>Note that these are also the signatures of a type returned by a FooDocument.type 
-        or FooAttribute.type method call.</div>
-    </div>
-  </li>
-  <li><strong>Anonymous types.</strong> If the type is anonymous, it is defined 
-    as an element or attribute, or within a further anonymous type. In this case, 
-    the signature is built by establishing the local context (in order words, 
-    what is the anonymous type nested in?). From the local context, the larger 
-    context is built recursively. In other words, the signature is built by giving 
-    not only the anonymous type itself, but also by describing its context. 
-    <p> The following rules are used for building a signature for an anonymous 
-      type. </p>
-    <ul>
-      <li> It might be an anonymous type defined inside a local element or attribute, 
-        which in turn is defined within something else: 
-        <p>If the element is <span class="langinline" style="langinline">form=&quot;qualified&quot;</span> 
-          (the usual default):</p>
-      </li>
-    </ul>
-  </li>
-  <blockquote> 
-    <div> 
-      <pre>E=&lt;eltname&gt;|&lt;signature of the type within which the elt is defined&gt;</pre>
-    </div>
-    <div>If the element is <span class="langinline" style="langinline">form=&quot;unqualified&quot;</span>:</div>
-    <div> 
-      <pre>U=&lt;eltname&gt;|&lt;signature of the type within which the elt is defined&gt;</pre>
-    </div>
-    <div>If the attribute is <span class="langinline" style="langline">form=&quot;unqualified&quot;</span> 
-      (the usual default):</div>
-    <div> 
-      <pre>A=&lt;attrname&gt;|&lt;signature of the type within the attr is defined&gt;</pre>
-    </div>
-    <div>if the attribute is <span class="langinline" style="langinline">form=&quot;qualified&quot;</span>:</div>
-    <div> 
-      <pre>Q=&lt;attrname&gt;|&lt;signature of the type within the attr is defined&gt;</pre>
-    </div>
-  </blockquote>
-  <ul>
-    <li>It might be an anonymous type defined a simple restriction, union, or 
-      list definition:</li>
-  </ul>
-  <blockquote> 
-    <div> 
-      <pre>M=#|&lt;signature of the containing union type&gt;</pre>
-      <p>(The # is a number indicating which union member it is, by source order 
-        &#8212; such as 0,1,2, etc.)</p>
-      <pre>B=|&lt;signature of the containing base type for a restriction&gt;</pre>
-      <pre>I=|&lt;signature of the containing list type&gt;</pre>
-    </div>
-  </blockquote>
-  <ul>
-    <li> 
-      <div> In the future if anonymous types are allowed in some other context, 
-        there may be more codes.</div>
-    </li>
-  </ul>
-</ul>
-<h2>An Example</h2>
-<p>So, for example, if you have a type that describes the list items within an 
-  attribute of an instance that looks like this:</p>
-<blockquote> 
-  <div> 
-    <pre> &lt;root mylist=&quot;432 999 143 123&quot;/&gt;</pre>
-  </div>
-</blockquote>
-<div> The schema, if done with lots of nested types, could look something like 
-  this:</div>
-<blockquote>
-  <div>
-    <pre>
-&lt;schema targetNamespace=&quot;myNamespace&quot; elementFormDefault=&quot;qualified&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name=&quot;root&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;complexType&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;attribute name=&quot;mylist&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;simpleType&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;list&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;simpleType&gt; &lt;!--This is the type that the signature is for --&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;restriction base=&quot;xs:nonNegativeInteger&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;totalDigits value=&quot;3&quot;/&gt;..
-</pre>
-  </div>
-</blockquote>
-<div> The signature for the simpleType indicated in the example would be:</div>
-<blockquote>
-  <pre>I=|A=mylist|E=root|D=root@myNamespace</pre>
-</blockquote>
-<div> 
-  <p>You could read this as: </p>
-</div>
-<blockquote>
-  <div>&quot;The type of the list item | within the type of the mylist attribute's 
-    type | within the type of the root element | within the document type for 
-    &lt;root&gt; documents | in the myNamespace namespace&quot;.</div>
-</blockquote>
-<div> 
-  <p>Note that the signature structure mirrors the Java class structure generated 
-    by XMLBeans when compiling the schema. In other words, if you were to compile 
-    a schema that included the preceding snippet, you would be able to access 
-    an instance of the schema with Java code like the following:</p>
-  <pre>SchemaType sType = RootDocument.Root.MyList.Item.type;</pre>
-</div>
-<p class="relatedtopics">Related Topics</p>
-<p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conJavaTypesGeneratedFromUserDerived.html b/website/src/documentation/content/docs/guide/conJavaTypesGeneratedFromUserDerived.html
deleted file mode 100644
index c211246..0000000
--- a/website/src/documentation/content/docs/guide/conJavaTypesGeneratedFromUserDerived.html
+++ /dev/null
@@ -1,458 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" --> 
-<title>Java Types Generated from Schema</title>
-<!-- InstanceEndEditable --> 
-
-<!--(Meta)==========================================================-->
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" --> 
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
- 
-<!--(Meta)==========================================================-->
-
-
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!--(Links)=========================================================-->
-<!--(Body)==========================================================--><!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" -->
-<h1> Java Types Generated from User-Derived Schema Types</h1>
-<div id="topictext"> 
-  <p>When you compile XML schema, the resulting API is made up of two categories 
-    of types: built-in types that mirror those in the schema specification and 
-    others that are generated from user-derived schema types. This topic provides 
-    an overview of the Java types generated for user-derived types, describing 
-    the methods the Java types provide. For more information about built-in types, 
-    see <a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support for 
-    Built-In Schema Types</a>. For specific information about the methods exposed 
-    by generated types, see <a href="conMethodsForGeneratedJavaTypes.html">Methods 
-    for Generated Java Types</a>.</p>
-  <p>In general, an API generated from schema is an intuitive means to access 
-    XML instances based on the schema. You'll probably find that for most uses 
-    it's unnecessary to know the rules for generating it in order to use it. However, 
-    for those cases when it's unclear what's going on behind the scenes (or if 
-    you're just curious), this topic describes the rules.</p>
-  <p class="notepara"><strong>Note:</strong> The XMLBeans API also provides a 
-    way for you to get information <em>about </em>the type system itself &#8212; 
-    in other words, about the API and the underlying schema. For more information, 
-    see <a href="conIntroToTheSchemaTypeSystem.html">Introduction to Schema Type 
-    Signatures</a>.</p>
-  <p>Each of the types generated when you compile a schema is designed specifically 
-    for access to XML instances conforming to that part of the schema. Start by 
-    taking a look at a simple XML and schema example. The following schema describes 
-    an XML document to contain a stock price quote.</p>
-  <pre>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
-    &lt;xs:element name="price-quote"&gt;
-        &lt;xs:complexType&gt;
-            &lt;xs:sequence&gt;
-                &lt;xs:element name="stock-symbol" type="xs:string"/&gt;
-                &lt;xs:element name="stock-price" type="xs:float"/&gt;
-            &lt;/xs:sequence&gt;
-        &lt;/xs:complexType&gt;
-    &lt;/xs:element&gt;
-&lt;/xs:schema&gt;
-</pre>
-  <p>The following is an example of XML that conforms to this schema.</p>
-  <pre>&lt;price-quote&gt;
-    &lt;stock-symbol&gt;BEAS&lt;/stock-symbol&gt;
-    &lt;stock-price&gt;59.21&lt;/stock-price&gt;
-&lt;/price-quote&gt;</pre>
-  <p>When you compile this schema, you get two generated XMLBeans interfaces: 
-    <span class="langinline"> PriceQuoteDocument</span> and <span class="langinline">PriceQuoteDocument.PriceQuote</span>.</p>
-  <p>From the schema point of view, the generated <span class="langinline">PriceQuote</span> 
-    interface represents the <em>complex type</em> you see inside the schema's 
-    <span class="langinline">price-quote</span> element declaration. Looking at 
-    the XML instance, you can see that this complex type translates into a sequence 
-    of two elements, <span class="langinline">stock-symbol</span> and <span class="langinline">stock-price</span>. 
-    So it's not surprising that the <span class="langinline">PriceQuote</span> 
-    interface exposes methods such as <span class="langinline">getStockPrice</span> 
-    and <span class="langinline">setStockPrice</span> to set the value <span class="langinline">stock-price</span> 
-    element.</p>
-  <p>The <span class="langinline">PriceQuoteDocument</span> interface, on the 
-    other hand, represents the <span class="langinline">price-quote</span> <em>document</em> 
-    that contains the root <span class="langinline">price-quote</span> element. 
-    XMLBeans creates a special &quot;document&quot; type for global element types. 
-    A document type provides a way for you to get and set the value of the underlying 
-    type, here represented by <span class="langinline">PriceQuote</span>. The 
-    <span class="langinline">price-quote</span> element is considered a <em>global</em> 
-    element because it can be referenced from anywhere else in the schema. For 
-    global elements, the XMLBeans schema compiler generates an interface whose 
-    name ends with &quot;Document.&quot; This is because an XML schema has no 
-    way of defining a &quot;root&quot; element; any global element can be the 
-    root.</p>
-  <p>The following bit of Java code illustrates how you might use these interfaces 
-    to get the stock price contained in the XML.</p>
-  <pre>
-public static float getStockPrice(java.io.File orderXML) throws Exception 
-{
-    PriceQuoteDocument docXML = PriceQuoteDocument.Factory.parse(orderXML);
-    PriceQuote quoteXML = docXML.getPriceQuote();
-    float stockPrice = quoteXML.getStockPrice();
-    return stockPrice;
-}
-</pre>
-  <p>This code loads the XML from a <span class="langinline">File</span> object, 
-    converting the <span class="langinline">parse</span> method's return value 
-    to a <span class="langinline">PriceQuoteDocument</span> instance. It then 
-    uses this instance to get an instance of <span class="langinline">PriceQuote</span>. 
-    With <span class="langinline">PriceQuote</span>, the code extracts the stock 
-    price. </p>
-</div>
-<div> 
-  <div id="topictext"> 
-    <p>The XML schema specification provides a rich set of rules through which 
-      you can derive new types. When you generate interfaces from your schema, 
-      XMLBeans uses the schema's rules to determine how to generate interfaces. 
-      The following describes some of the guidelines by which this is done.</p>
-    <h2>Names for Interfaces</h2>
-    <p>Interfaces are generated for schema types (both simple and complex). Anonymous 
-      schema types result in inner interfaces inside the type interface in which 
-      they are defined. Their name comes from the element or attribute in which 
-      they is defined.</p>
-    <p>Names for schema types become Java-friendly names when the schema is compiled. 
-      In other words, names such as "price-quote" become "PriceQuote." In addition, 
-      a schema's XML namespace URIs become package names for XMLBean types generated 
-      from the schema. The way this name translation is done is described by section 
-      C of the Java API for XML Binding (JAXB) specification at <a href="http://java.sun.com/xml/downloads/jaxb.html" target="_blank"> 
-      http://java.sun.com/xml/jaxb.html.</a> </p>
-    <p>Here are a few examples:</p>
-    <table>
-      <tr> 
-        <td><strong>Schema Target Namespace</strong></td>
-        <td width="155"><strong>XML Localname</strong></td>
-        <td><strong>Fully-Qualified XMLBean Type Name</strong></td>
-      </tr>
-      <tr> 
-        <td>http://www.mycompany.com/2002/buyer</td>
-        <td width="155">purchase-order-4</td>
-        <td>com.mycompany.x2002.buyer.PurchaseOrder4</td>
-      </tr>
-      <tr> 
-        <td>http://myco.com/sample.html</td>
-        <td width="155">SampleDocument</td>
-        <td>com.myco.sample.SampleDocument</td>
-      </tr>
-      <tr> 
-        <td>http://openuri.org/test_case_1</td>
-        <td width="155">test_type</td>
-        <td>org.openuri.testCase1.TestType</td>
-      </tr>
-    </table>
-    <p>When there are name collisions, the generated types will have names with 
-      numerals appended&nbsp;— for example, "TestType2".</p>
-    <h2>Global Elements and Attributes</h2>
-    <p>In schema, global element and attribute definitions are those that are 
-      declared at the top level of the schema (that is, immediately within the 
-      <span class="langinline">schema</span> root element). Because they are global, 
-      they may be referenced from inside the schema by name. The <span class="langinline">creditReport</span> 
-      (not the <span class="langinline">creditReportType</span> complex type) 
-      element defined in the following schema is an example.</p>
-    <pre>
-&lt;xs:schema targetNamespace=&quot;http://openuri.org/samples/creditReport&quot; 
-    xmlns:cr=&quot;http://openuri.org/samples/creditReport&quot; 
-    xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
-    elementFormDefault=&quot;qualified&quot;
-    attributeFormDefault=&quot;unqualified&quot;&gt;
-    &lt;xs:complexType name=&quot;creditReportType&quot;&gt;
-        &lt;xs:sequence&gt;
-            &lt;xs:element name=&quot;bankReport&quot; type=&quot;xs:string&quot;/&gt;
-            &lt;xs:element name=&quot;taxReport&quot; type=&quot;xs:string&quot;/&gt;
-        &lt;/xs:sequence&gt;
-    &lt;/xs:complexType&gt;
-    &lt;xs:element name=&quot;creditReport&quot; type=&quot;cr:creditReportType&quot;/&gt;
-&lt;/xs:schema&gt;</pre>
-    <p>XMLBeans generates a separate interface for each of these. Also, global 
-      element and attribute types are somewhat unique in that the schema compiler 
-      will create special types to hold the globally defined element or attribute. 
-      The names of these types will be appended with &quot;Document&quot; (for 
-      elements) or &quot;Attribute&quot; (for attributes). You can retrieve the 
-      element or attribute itself (or create a new one) by calling the accessor 
-      methods that the special types provide. The following example would create 
-      a new instance of the creditReport element.</p>
-    <pre>
-// Create an instance of the special document type.
-CreditReportDocument reportDoc = CreditReportDocument.Factory.newInstance();
-/*
- * Use the document type to add a new creditReport element to the XML instance.
- * Note that the type returned by the addNewCreditReport method is the 
- * creditReportType complex type defined for it in schema.
- */
-CreditReportType report = reportDoc.addNewCreditReport();
-</pre>
-    <h2>Global User-Derived Types</h2>
-    <p>A <em>user-derived</em> type is one defined with a <span class="langinline">complexType</span> 
-      or <span class="langinline">simpleType</span> element in schema. User-derived 
-      types at the top level of a schema are global. XMLBeans generates an interface 
-      for each of these, as it does with global elements and attributes. These 
-      interfaces include methods through which you can get and set the type's 
-      values, including any nested derived types it may contain. The following 
-      schema snippet defines a user-derived complex type called <span class="langinline">itemType</span>, 
-      along with a <span class="langinline">priceType</span> that uses it as the 
-      type for an <span class="langinline">item</span> child element.</p>
-    <pre>
-&lt;xs:complexType name=&quot;itemType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;name&quot; type=&quot;xs:string&quot;/&gt;
-        &lt;xs:element name=&quot;amount&quot; type=&quot;xs:int&quot;/&gt;
-        &lt;xs:element name=&quot;price&quot; type=&quot;xs:double&quot;/&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-&lt;xs:complexType name=&quot;priceType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;item&quot; type=&quot;ps:itemType&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-&lt;xs:element name=&quot;price&quot; type=&quot;ps:priceType&quot;/&gt;
-</pre>
-    <p>By default, the generated Java type for <span class="langinline">itemType</span> 
-      would be an interface called <span class="langinline">ItemType</span>. With 
-      this type, you would be able to get and set the values of its <span class="langinline">name</span>, 
-      <span class="langinline">amount</span>, and <span class="langinline">price</span> 
-      child elements. However, a user-derived type (as opposed to an element or 
-      attribute) is always intended for use as the type to which an element or 
-      attribute is bound. In other words, it's contained by an element or attribute. 
-      While you can create a new instance of a user-derived type, the new instance's 
-      underlying XML is a fragment. As the generated API would make clear, the 
-      <span class="langinline">itemType</span> becomes the return type of a get 
-      method, or the parameter of a set method.</p>
-    <pre>
-// Create a new price document.
-PriceDocument priceDoc = PriceDocument.Factory.newInstance();
-PriceType price = priceDoc.getPrice();
-
-/* 
- * Create a new instance of ItemType and set the values of its
- * child elements.
- */
-ItemType item = ItemType.Factory.newInstance();
-item.setName(&quot;bicycle&quot;);
-item.setAmount(12);
-item.setPrice(560.00);
-
-/* 
- * Use the new ItemType instance to set the value of the 
- * price element's first item child element. Notice that the set method
- * here is an "Array" method. This is because the item element
- * is defined with a maxOccurs="unbounded" attribute. It can occur
- * many times as a child of price.
- */
-price.setItemArray(0, item);
-</pre>
-    <h2>Nested Elements and Derived Types</h2>
-    <p>When your schema includes named types that are declared locally—within 
-      the declaration of another element or type—the schema type's generated Java 
-      interface will be an inner interface within the type it's nested in.</p>
-    <p>For example, the following schema snippet defines <span class="langinline">name</span> 
-      and <span class="langinline">gender</span> elements nested within a <span class="langinline">person</span> 
-      complex type. In particular, note that the gender element is defined as 
-      deriving from the xs:NMTOKEN built-in type.</p>
-    <pre>
-&lt;xs:complexType name="person"&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name="name" type="xs:string"/&gt;
-        &lt;xs:element name="gender"&gt;
-            &lt;xs:simpleType&gt;
-                &lt;xs:restriction base="xs:NMTOKEN"&gt;
-                    &lt;xs:enumeration value="male"/&gt;
-                    &lt;xs:enumeration value="female"/&gt;
-                &lt;/xs:restriction&gt;
-            &lt;/xs:simpleType&gt;
-        &lt;/xs:element&gt;
-    &lt;/xs:sequence&gt;
-&lt;/xs:complexType&gt;
-</pre>
-    <p>The generated interfaces for person and gender would be organized in source 
-      something like the following. Of course, you wouldn't see the source, but 
-      you can see here that the Gender interface is nested with Person. Also, 
-      notice that it extends XmlNMTOKEN, mirroring the schema.</p>
-    <pre>public interface Person extends XmlObject
-{
-    public interface Gender extends XmlNMTOKEN
-    {
-        // Methods omitted for this example
-    }
-    // Methods omitted for this example
-}
-</pre>
-    <p>You could create a new instance of the <span class="langinline">Gender</span> 
-      type in this way (there are also various alternatives to this):</p>
-    <pre>
-// Create a new Person instance.
-Person person = Person.Factory.newInstance();
-/*
- * Set the gender element's value using the 
- * enumeration generated from the schema.
- */
-person.setGender(Gender.FEMALE);</pre>
-    <h2>User-Derived Simple Types</h2>
-    <p>In addition to the 46 built-in simple types in XML schema, a schema can 
-      include its own custom simple types using <span class="langinline">xs:simpleType</span> 
-      declarations. These user-derived simple types are always based on the built-in 
-      XML schema types. The built-in types can be modified by <em>restricting</em> 
-      them, taking <em>unions</em> of them, or making space-separated <em>lists</em> 
-      of them. Each XML simple type is translated into a Java type that provides 
-      access to the underlying data.</p>
-    <h3>Unions</h3>
-    <p>In schema, you can use <span class="langinline">xs:union</span> to specify 
-      a simple type that is allowed to contain values of a number of other simple 
-      types. XMLBeans generates a type for a union, just as it generates a type 
-      for any other schema type. At run time, you can discover the underlying 
-      type of an instance of a union type by calling the <span class="langinline">XmlObject</span> 
-      interface's <span class="langinline">instanceType</span> method. Once you 
-      have determined the type, you can cast an instance of a union type to the 
-      actual underlying instance type.</p>
-    <pre>
-&lt;xs:simpleType name=&quot;intOrString&quot;&gt;
-    &lt;xs:union memberTypes=&quot;xs:int xs:string&quot;&gt;
-&lt;/xs:simpleType&gt;
-</pre>
-    <p>Given the preceding schema snippet, you could set the intOrString value 
-      to, say, 6 or &quot;six&quot;. The union of <span class="langinline">xs:int</span> 
-      and <span class="langinline">xs:string</span> makes both allowable.</p>
-    <pre>
-// Create a new instance of the type.
-IntOrString intOrString = IntOrString.Factory.newInstance();
-intOrString.set(&quot;5&quot;);
-// This code prints "XmlInt" to the console.
-System.out.println(intOrString.instanceType().getShortJavaName());
-</pre>
-    <h3>Restrictions</h3>
-    <p>XML schema restrictions on simple XMLBeans types are enforced. So, for 
-      example, it is illegal to set a number outside its restricted range. </p>
-    <h4>Numeric Type Restrictions</h4>
-    <p>In schema, you can restrict numeric types to allow, for example, only a 
-      particular range of values. For such a restriction, XMLBeans tailors the 
-      resulting natural Java alternative. For example, suppose you have the following 
-      element defined in schema:</p>
-    <pre>
-&lt;xs:element name="number"&gt;
-    &lt;xs:simpleType&gt;
-        &lt;xs:restriction base="xs:integer"&gt;
-            &lt;xs:minInclusive value="1"/&gt;
-            &lt;xs:maxInclusive value="1000000"/&gt;
-        &lt;/xs:restriction&gt;
-    &lt;/xs:simpleType&gt;
-&lt;/xs:element&gt;
-</pre>
-    <p>The type is restricted from <span class="langinline">xs:integer</span>, 
-      but because the number's range is limited to between 1 and 1000000, it will 
-      fit into a Java <span class="langinline">int</span>. A <span class="langinline">long</span> 
-      or <span class="langinline">java.math.BigInteger</span> would be too big 
-      for the need. In other words, the <span class="langinline">getNumber</span> 
-      method generated for this type will return an <span class="langinline">int</span>, 
-      rather than a <span class="langinline">BigInteger</span> or a <span class="langinline">long</span>.</p>
-    <p>By the same token, an long can be compiled to an int if the totalDigits 
-      attribute is &lt;=9, or the min and max attribute values are within 32-bit 
-      2s complement range.</p>
-    <p>The single primitive XML type xs:decimal can be restricted in several ways 
-      that influence the resulting natural Java type. For example, it can be:</p>
-  </div>
-</div>
-<ul>
-  <li>
-    <div>
-      <div>Compiled to a <span class="langinline">BigInteger</span> if its <span class="langinline">fractionDigit</span> 
-        attribute is set to 0. </div>
-    </div>
-  </li>
-  <li>
-    <div>
-      <div>Compiled to a <span class="langinline">long</span> if its totalDigits 
-        attribute is &lt;=18, or the min and max are within 64-bit 2s complement 
-        range.</div>
-    </div>
-  </li>
-</ul>
-<div>
-  <div>
-    <h3>Enumerations</h3>
-    <p>In schema, you can derive a new type by restricting a built-in type so 
-      that only a finite set of values are allowable. Where schema does this by 
-      restricting <span class="langinline">xs:string</span>, XMLBeans generates 
-      a special <span class="langinline">Enum</span> type. With an <span class="langinline">Enum</span>, 
-      you can select the enumerated value either by its <span class="langinline">String</span> 
-      value or by a numeric index. The index's value is determined based on the 
-      <span class="langinline">String</span> value's order in the schema. Having 
-      an index can be useful in Java switch statements.</p>
-    <p>For example, suppose you had a document containing price elements whose 
-      type was the priceType defined in the following schema snippet:</p>
-    <pre>&lt;xs:complexType name=&quot;priceType&quot;&gt;
-    &lt;xs:sequence&gt;
-        &lt;xs:element name=&quot;item&quot; type=&quot;ps:itemType&quot; minOccurs=&quot;0&quot; 
-              maxOccurs=&quot;unbounded&quot;/&gt;
-    &lt;/xs:sequence&gt;
-    &lt;xs:attribute name=&quot;threshold&quot;&gt;
-        &lt;xs:simpleType&gt;
-            &lt;xs:restriction base=&quot;xs:string&quot;&gt;
-                &lt;xs:enumeration value=&quot;Below10Dollars&quot;/&gt;
-                &lt;xs:enumeration value=&quot;Between10And20Dollars&quot;/&gt;
-                &lt;xs:enumeration value=&quot;Above20Dollars&quot;/&gt;
-            &lt;/xs:restriction&gt;
-        &lt;/xs:simpleType&gt;
-    &lt;/xs:attribute&gt;
-&lt;/xs:complexType&gt;</pre>
-    <p>Using types generated from the schema, you would be able to write the following 
-      Java code to &quot;switch&quot; on the threshold attribute's enumeration:</p>
-    <pre>
-/*
- * Use the intValue method provided by the Enum type to determine the threshold
- * attribute's current enumeration value.
- */
-switch(priceElements[i].getThreshold().intValue())
-{
-    // Use the Threshold type's enumeration values to test for an attribute value. 
-    case PriceType.Threshold.INT_BELOW_10_DOLLARS:
-        zeroBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    case PriceType.Threshold.INT_BETWEEN_10_AND_20_DOLLARS:
-        tenBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    case PriceType.Threshold.INT_ABOVE_20_DOLLARS:
-        twentyBuffer.append(item.getTitle() + &quot;\n&quot;);
-        break;
-    default:
-        System.out.println(&quot;Yo! Something unexpected happened!&quot;);
-        break;
-}</pre>
-  </div>
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans Support for 
-    Built-In Schema Types</a></p>
-</div>
- <!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conMethodsForGeneratedJavaTypes.html b/website/src/documentation/content/docs/guide/conMethodsForGeneratedJavaTypes.html
deleted file mode 100644
index 1e190e2..0000000
--- a/website/src/documentation/content/docs/guide/conMethodsForGeneratedJavaTypes.html
+++ /dev/null
@@ -1,262 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Methods for Types Generated From Schema</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Methods for Types Generated From Schema</p>
-</div>
-<div id=topictext>
-  <p>As you may have seen in <a href="conGettingStartedwithXMLBeans.html">Getting 
-    Started with XMLBeans</a>, you use the types generated from schema to access 
-    XML instances based on the schema. If you're familiar with the JavaBeans technology, 
-    the conventions used in the generated API will be recognizable. </p>
-  <p>In general, elements and attributes are treated as &quot;properties&quot; 
-    in the JavaBeans sense. In other words, as you would with JavaBeans properties, 
-    you manipulate parts of the XML through accessor methods such as getCustomer() 
-    (where you have a &quot;customer&quot; element), setId(String) (where you 
-    have an &quot;id&quot; attribute), and so on. However, because schema structures 
-    can be somewhat complex, XMLBeans provides several other method styles for 
-    handling those structures in XML instances.</p>
-  <div>
-    <h2>Prototypes for Methods in Generated Interfaces</h2>
-    <p>Several methods are generated for each element or attribute within the 
-      complex type. This topic lists each method that could be generated for a 
-      given element or attribute. </p>
-    <p>Note that whether or not a given method is generated is based on how the 
-      element or attribute is defined in schema. For example, a customer element 
-      definition with a <span class="langinline">maxOccurs</span> attribute value 
-      of 1 will result in a getCustomer method, but not a getCustomerArray method 
-      &#8212; after all, only one customer element is possible in an instance 
-      document.</p>
-    <p>Note, too, that there may be two sets of parallel methods: one whose prototype 
-      starts with an &quot;x&quot;. An &quot;x&quot; method such as xgetName or 
-      xsetName would be generated for elements or attribute whose type is a simple 
-      type. A simple type may be one of the 44 built-in simple types or may be 
-      a restriction in schema of one of those built-in types. Of course, an attribute 
-      will always be of a simple type. For built-in simple types, an &quot;x&quot; 
-      method will get or set one of the types provided with XMLBeans, such as 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></span>, 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlInteger.html">XmlInteger</a></span>, 
-      <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlGDay.html">XmlGDay</a></span>, 
-      and so on. For derived types, the &quot;x&quot; method will get or set a 
-      generated type.</p>
-    <h3>Single Occurrence Methods</h3>
-    <p>Methods generated for elements or attributes that allow a single occurrence. 
-      An element is singular if it was declared with maxOccurs=&quot;1&quot;. 
-      An attribute is singular if it was not declared with use=&quot;prohibited&quot;.</p>
-    <pre>
-Type getFoo()
-void setFoo(Type newValue)
-</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the value of Foo. Generated when Foo is an attribute, 
-      or is an element that can occur only once as a child.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType xgetFoo()
-void xsetFoo(XmlType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the value of Foo as an XMLBean simple type. These methods 
-      are generated if Foo's type is defined in schema as a simpleType.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isNilFoo()
-void setNilFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Determines or specifies whether the Foo element is nil (in other words, 
-      &quot;null&quot; in schema terms), meaning it can be empty. A nil element 
-      looks something like this:</div>
-    <div> 
-      <pre>&lt;foo/&gt;</pre>
-    </div>
-    <div>These methods are only generated when an element type is declared as 
-      nillable in schema &#8212; it has a nillable=&quot;true&quot; attribute.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType addNewFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Adds a new Foo as an XMLBean simple to the document, or returns Foo's 
-      value if one exists already.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isSetFoo()
-void unSetFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Determines whether the Foo element or attribute exists in the document; 
-      removes Foo. These methods are generated for elements and attributes that 
-      are optional. In schema, and optional element has an <span class="langinline">minOccurs</span> 
-      attribute set to &quot;0&quot;; an optional attribute has a <span class="langinline">use</span> 
-      attribute set to &quot;optional&quot;.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <h3>Multiple Occurrence Methods</h3>
-    <p>Methods generated for elements that allow multiple occurrences. </p>
-    <p>An element may occur multiple times if it has a <span class="langinline">maxOccurs</span> 
-      attribute set to &quot;unbounded&quot; or greater than 1. Attributes can't 
-      occur multiple times.</p>
-    <pre>Type[] getFooArray()
-void setFooArray(Type[] newValue) </pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets all of the Foo elements. </div>
-    <div> 
-      <pre>
-// Get an array of the all of the purchase-order elements item children.
-Item[] items = myPO.getItemArray();
-</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>Type getFooArray(int index)
-void setFooArray(Type newValue, int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the Foo child element at the specified index.</div>
-    <div> 
-      <pre>// Sets the value of the third item child element.
-myPO.setItem(newItem, 2);</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>int sizeOfFooArray()</pre>
-  </div>
-  <blockquote> 
-    <div>Returns the number of Foo child elements.</div>
-    <div> 
-      <pre>// Returns the number of item child elements.
-int itemCount = myPO.sizeOfItemArray();</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void removeFoo(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Removes the Foo child element at the specified index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType[] xgetFooArray()
-void xsetFooArray(XmlType[] arrayOfNewValues)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets all of the Foo elements as XMLBeans simple types. Generated 
-      only when the Foo element is defined as a simple type.</div>
-    <div> 
-      <pre>/*
- * Returns values of all the phone child elements of an employee element,
- * where the phone element has been defined as xs:string.
- */
-XmlString[] empPhones = currentEmployee.xGetPhoneArray();
-</pre>
-    </div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType xgetFooArray(int index)
-void xsetFooArray(int index, XmlType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Returns or sets the Foo element at the specified index, using an XMLBeans 
-      simple type value. Generated for an element defined as a simple type in 
-      schema.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void insertFoo(int index, FooType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Inserts the specified Foo child element at the specified index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>void addFoo(FooType newValue)</pre>
-  </div>
-  <blockquote> 
-    <div>Adds the specified Foo to the end of the list of Foo child elements.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType insertNewFoo(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Inserts a new Foo at the specified index, returning an XMLBeans simple 
-      type representing the new element; returns the existing Foo if there's already 
-      one at index.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>XmlType addNewFoo()</pre>
-  </div>
-  <blockquote> 
-    <div>Adds a new Foo element to the end of the list of Foo child elements, 
-      returning an XMLBeans simple type representing the newly added element.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-    <pre>boolean isNilFooArray(int index)
-void setNilFooArray(int index)</pre>
-  </div>
-  <blockquote> 
-    <div>Determines or specifies whether the Foo element at the specified index 
-      is nil.</div>
-  </blockquote>
-  <div> 
-    <hr size="1">
-  </div>
-  <div id="topictext"></div>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated 
-    from User-Derived Schema Types</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conNavigatingXMLwithCursors.html b/website/src/documentation/content/docs/guide/conNavigatingXMLwithCursors.html
deleted file mode 100644
index aee414a..0000000
--- a/website/src/documentation/content/docs/guide/conNavigatingXMLwithCursors.html
+++ /dev/null
@@ -1,209 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Navigating XML with Cursors</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Navigating XML with Cursors </h1>
-<div id="topictext"> 
-  <p>XML cursors are a way to navigate through an XML instance document. Once 
-    you load an XML document, you can create a cursor to represent a specific 
-    place in the XML. Because you can use a cursor with or without a schema corresponding 
-    to the XML, cursors are an ideal way to handle XML without a schema.</p>
-  <p>With an XML cursor, you can:</p>
-</div>
-<UL>
-  <li> 
-    <div><a href="conUnderstandingXMLTokens.html">Use the token model</a> to move 
-      through XML in small increments, or in a manner similar to using a DOM-based 
-      model.</div>
-  <LI> 
-    <DIV>Get and set values within the XML.</DIV>
-  <LI> 
-    <DIV><a href="#adding_elements_attributes">Change the structure</a> of an 
-      XML document by inserting, removing, and moving elements and attributes.</DIV>
-  <LI> 
-    <DIV><a href="conSelectingXMLwithXQueryPathXPath.html">Execute XQuery expressions</a> 
-      against the XML represented by the cursor.</DIV>
-  <LI> 
-    <DIV><a href="conUsingBookmarksToAnnotateXML.html">Insert bookmarks</a> to 
-      mark locations in XML.</DIV>
-</UL>
-<P>When you're finished using a cursor, your code should call its <span class="langinline">dispose</span> 
-  method.</P>
-<h2>Creating and Moving a Cursor</h2>
-<P>With an XML instance document bound to <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject</a></span> 
-  (or a type inheriting from it), you create a new cursor by calling the <span class="langinline">newCursor</span> 
-  method. The <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span> 
-  interface represents a cursor. From a cursor standpoint, an XML document is 
-  a collection of <EM>tokens</EM> that represent the kinds of things that can 
-  appear in XML. These include&nbsp;attributes, the start and end of elements, 
-  comments, and so on.&nbsp;Each piece of information in XML is represented by 
-  a <em>token type</em>.</P>
-<P class="notepara"><strong>Note:</strong> For a more complete description of 
-  XML tokens, see <a href="conUnderstandingXMLTokens.html">Understanding XML Tokens</a>.</P>
-<P>For example, the following code loads the&nbsp;XML instance described above 
-  from a <span class="langinline">File</span> object, then creates a new cursor. 
-  The <span class="langinline">toFirstChild</span> takes the cursor to the start 
-  tag of the <span class="langinline">batchWidgetOrder</span> document element. 
-  The code then prints the type for the token at the cursor's location, along 
-  with the XML the cursor represents—in other words, <span class="filepath">Token 
-  type: START /</span> and the <span class="filepath">batchWidgetOrderElement</span> 
-  and its contents.</P>
-<pre>public static void insertCursor(File orderFile) throws Exception 
-{
-    BatchWidgetOrderDocument xmlDoc = BatchWidgetOrderDocument.Factory.parse(orderFile);
-    XmlCursor orderCursor = xmlDoc.newCursor();
-    orderCursor.toFirstChild();
-    System.out.println("Token type: " + orderCursor.currentTokenType() +
-        " / " + orderCursor.xmlText());
-}
-</pre>
-<p class="notepara"><STRONG>Note</STRONG>: The <span class="langinline">XmlCursor</span> 
-  interface provides many methods you can use to put a cursor where you want it. 
-  For a list of those methods, see <a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor 
-  Interface</a>.</p>
-<h2><a name="adding_elements_attributes" id="adding_elements_attributes"></a>Adding 
-  Elements and Attributes</h2>
-<p>The <span class="langinline">XmlCursor</span> interface provides several methods 
-  you can use to add elements and attributes to XML. </p>
-<p>One way to add new XML is with the <span class="langinline">beginElement</span> 
-  method. This method is designed to insert a new element at the cursor's location, 
-  and do it so the cursor ends up between the new element's START and END tokens. 
-  From this position, you can insert attributes (they're automatically placed 
-  in the start tag, where they belong) and insert a value. Here's an example:</p>
-<pre>
-// Create a new chunk of XML.
-XmlObject newXml = XmlObject.Factory.newInstance();
-/* 
- * Insert a new cursor and move it to the first START token (where the
- * XML actually begins.
- */
-XmlCursor cursor = newXml.newCursor();
-cursor.toNextToken();
-// Begin a new item element whose namespace URI is "http://openuri.org".
-cursor.beginElement(&quot;item&quot;, &quot;http://openuri.org/&quot;);
-// Insert an ID attribute on the item element, along with an attribute value.
-cursor.insertAttributeWithValue(&quot;id&quot;, &quot;4056404&quot;);
-// Insert "bicycle" as an element value.
-cursor.insertChars(&quot;bicycle&quot;);
-cursor.dispose();
-</pre>
-<p>This example results in something like the following:</p>
-<pre>&lt;ns1:item id=&quot;4056404&quot; xmlns:ns1=&quot;http://openuri.org/&quot;&gt;bicycle&lt;/ns1:item&gt;
-</pre>
-<h2> Using Stored Cursor Locations with push() and pop()</h2>
-<div id="topictext"> 
-  <p>When you want to move a cursor around, but want to keep track of a former 
-    location, you can use the <span class="langinline">XmlCursor</span> interface's 
-    <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    methods. The <span class="langinline">push</span> method pushes the cursor's 
-    current location onto a stack of locations maintained for that particular 
-    cursor; the <span class="langinline">pop</span> method removes the location 
-    from the top of the stack and moves the cursor to that location.</p>
-  <p>For example, consider the following &lt;employee&gt; element, used in the 
-    example below.</p>
-  <pre>
-&lt;employee&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;Gladys Kravitz&lt;/name&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;address location=&quot;home&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;street&gt;1313 Mockingbird Lane&lt;/street&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;city&gt;Seattle&lt;/city&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;state&gt;WA&lt;/state&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;zip&gt;98115&lt;/zip&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;/address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;address location=&quot;work&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;street&gt;2011 152nd Avenue NE&lt;/street&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;city&gt;Redmond&lt;/city&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;state&gt;WA&lt;/state&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;zip&gt;98052&lt;/zip&gt;
-&nbsp;&nbsp; &nbsp;&lt;/address&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;work&quot;&gt;(425) 555-6897&lt;/phone&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;home&quot;&gt;(206) 555-6594&lt;/phone&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;phone location=&quot;mobile&quot;&gt;(206) 555-7894&lt;/phone&gt;
-&lt;/employee&gt;
-</pre>
-  <p>The following Java code illustrates how you can use <span class="langinline">push</span> 
-    and <span class="langinline">pop</span> to put the cursor back to a saved 
-    location after a bit of traveling.</p>
-  <pre>
-/**
- * Pass to the trySelectPath method an XmlObject instance that contains
- * the XML above.
- */
-public void trySelectPath(XmlObject xml)
-{
-    /* 
-     * Inserts the cursor at the STARTDOC token (the very beginning, 
-     * before any elements).
-     */
-    XmlCursor cursor = xml.newCursor();
-    // Moves the cursor to just before &lt;employee&gt;
-    cursor.toFirstChild();
-    // Pushes the cursor's current location onto the stack.
-    cursor.push();
-    // Moves the cursor to just before the &quot;work&quot; &lt;phone&gt; element.      
-    cursor.toChild(2);
-    // Moves the cursor to just before the &quot;home&quot; &lt;phone&gt; element.
-    cursor.toNextSibling();
-    // Moves the cursor back to just before &lt;employee&gt;
-    cursor.pop();
-}
-</pre>
-  <p>Of course, you can call <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    multiple times. Each new call to the <span class="langinline">push</span> 
-    method pushes the current location onto the stack. As you call the <span class="langinline">pop</span> 
-    method, you're always getting what's on top of the stack. So if you called 
-    <span class="langinline">push</span> three times before calling <span class="langinline">pop</span> 
-    &#8212; 1, 2, 3 &#8212; calling <span class="langinline">pop</span> three 
-    times would get those locations in reverse order &#8212; 3, 2, 1.</p>
-  <p>The <span class="langinline">push</span> and <span class="langinline">pop</span> 
-    methods can be handy as an alternative to creating new cursors that are designed 
-    simply to mark a particular location while you move another cursor around. 
-    The resources required to maintain a location stack through <span class="langinline">push</span> 
-    and <span class="langinline">pop</span> are far less than those needed by 
-    cursors. </p>
-  <H1>Disposing of a Cursor</H1>
-  <p>When you're through with a cursor, your code should call its <span class="langinline">dispose</span> 
-    method to indicate that it's no longer needed.</p>
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conUnderstandingXMLTokens.html">Understanding XML Tokens</a></p>
-  <p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conSelectingXMLwithXPath.html b/website/src/documentation/content/docs/guide/conSelectingXMLwithXPath.html
deleted file mode 100644
index fa76f13..0000000
--- a/website/src/documentation/content/docs/guide/conSelectingXMLwithXPath.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Selecting XML with XQuery and XPath</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta content="your name" name="author">
-<meta content="A description of the topic contents." name="description">
-<meta content="keywords to help in searches" name="keywords">
-<meta content="10/25/02" name="date last modified">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" --> 
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> Selecting XML with XPath</h1>
-<div id="topictext"> 
-  <p>You can use XPath to retrieve specific pieces of XML XPath provide a syntax for specifying 
-    which elements and attributes you're interested in. 
-  <h2>Using the selectPath Method</h2>
-</div>
-<div>
-  <p>When you use XPath with the <span class="langinline">selectPath</span> 
-    method, the value returned is an array of values from the <em>current document</em>.</p>
-  <h3>Calling from XmlObject</h3>
-  <p>When called from <span class="langinline">XmlObject</span> (or a type that 
-    inherits from it), this method returns an array of objects. If the expression 
-    is executed against types generated from schema, then the type for the returned 
-    array is one of the Java types corresponding to the schema. </p>
-  <p>For example, imagine you have the following XML containing employee information. 
-    You've compiled the schema describing this XML and the types generated from 
-    schema are available to your code.</p>
-<pre>
-&lt;xq:employees xmlns:xq=&quot;http://openuri.org/selectPath&quot;&gt;
-    &lt;xq:employee&gt;
-        &lt;xq:name&gt;Fred Jones&lt;/xq:name&gt;
-        &lt;xq:address location=&quot;home&quot;&gt;
-            &lt;xq:street&gt;900 Aurora Ave.&lt;/xq:street&gt;
-            &lt;xq:city&gt;Seattle&lt;/xq:city&gt;
-            &lt;xq:state&gt;WA&lt;/xq:state&gt;
-            &lt;xq:zip&gt;98115&lt;/xq:zip&gt;
-        &lt;/xq:address&gt;
-        &lt;xq:address location=&quot;work&quot;&gt;
-            &lt;xq:street&gt;2011 152nd Avenue NE&lt;/xq:street&gt;
-            &lt;xq:city&gt;Redmond&lt;/xq:city&gt;
-            &lt;xq:state&gt;WA&lt;/xq:state&gt;
-            &lt;xq:zip&gt;98052&lt;/xq:zip&gt;
-        &lt;/xq:address&gt;
-        &lt;xq:phone location=&quot;work&quot;&gt;(425)555-5665&lt;/xq:phone&gt;
-        &lt;xq:phone location=&quot;home&quot;&gt;(206)555-5555&lt;/xq:phone&gt;
-        &lt;xq:phone location=&quot;mobile&quot;&gt;(206)555-4321&lt;/xq:phone&gt;
-    &lt;/xq:employee&gt;
-&lt;/xq:employees&gt;
-</pre>
-  If you wanted to find the phone numbers whose area code was 206, you could capture 
-  the XPath expression in this way: 
-  <pre>
-String queryExpression =
-    &quot;declare namespace xq='http://openuri.org/selectPath'&quot; +
-    &quot;$this/xq:employees/xq:employee/xq:phone[contains(., '(206)')]&quot;
-</pre>
-  <p>Notice in the query expression that the variable <span class="langinline">$this</span> 
-    represents the current context node (the <span class="langinline">XmlObject</span> 
-    that you are querying from). In this example you are querying from the document 
-    level <span class="langinline">XmlObject</span>.</p>
-  <p>You could then print the results with code such as the following:</p>
-  <pre>
-/* 
- * Retrieve the matching phone elements and assign the results to the corresponding
- * generated type.
- */
-PhoneType[] phones = (PhoneType[])empDoc.selectPath(queryExpression);
-/*
- * Loop through the results, printing the value of the phone element.
- */
-for (int i = 0; i < phones.length; i++)
-{
-    System.out.println(phones[i].stringValue());
-}  </pre>
-
-  <h3>Calling from XmlCursor</h3>
-  <p>When called from an <span class="langinline">XmlCursor</span> instance, the 
-    <span class="langinline">selectPath</span> method retrieves a list of selections, 
-    or locations in the XML. The selections are remembered by the cursor instance. 
-    You can use methods such as <span class="langinline">toNextSelection</span> 
-    to navigate among them.</p>
-  <div>
-    <p>The <span class="langinline">selectPath</span> method takes an XPath expression. 
-      If the expression returns any results, each of those results is added as 
-      a selection to the cursor's list of selections. You can move through these 
-      selections in the way you might use <span class="langinline">java.util.Iterator</span> 
-      methods to move through a collection.</p>
-    <p> For example, for a path such as <span class="langinline">$this/employees/employee</span>, 
-      the results would include a selection for each employee element found by 
-      the expression. Note that the variable <span class="langinline">$this</span> 
-      is always bound to the current context node, which in this example is the 
-      document. After calling the <span class="langinline">selectPath</span> method, 
-      you would use various &quot;selection&quot;-related methods to work with 
-      the results. These methods include:</p>
-  </div>
-  <ul>
-    <li> 
-      <div><span class="langinline">getSelectionCount() </span>to retrieve the 
-        number of selections resulting from the query.</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">toNextSelection()</span> to move the cursor 
-        to the next selection in the list (such as to the one pointing at the 
-        next employee element found).</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">toSelection(int)</span> to move the cursor 
-        to the selection at the specified index (such as to the third employee 
-        element in the selection).</div>
-    </li>
-    <li> 
-      <div> <span class="langinline">hasNextSelection()</span> to find out if 
-        there are more selections after the cursor's current position.</div>
-    </li>
-    <li> 
-      <div><span class="langinline"> clearSelections()</span> clears the selections 
-        from the current cursor. This doesn't modify the document (in other words, 
-        it doesn't delete the selected XML); it merely clears the selection list 
-        so that the cursor is no longer keeping track of those positions.</div>
-    </li>
-  </ul>
-  <div>
-    <p>The following example shows how you might use <span class="langinline">selectPath</span>, 
-      in combination with the <span class="langinline">push</span> and <span class="langinline">pop</span> 
-      methods, to maneuver through XML, retrieving specific values. </p>
-    <pre>
-public void printZipsAndWorkPhones(XmlObject xml)
-{
-    // Declare the namespace that will be used.
-    String xqNamespace = 
-        &quot;declare namespace xq='http://openuri.org/selectPath'&quot;;
-
-    // Insert a cursor and move it to the first element.
-    XmlCursor cursor = xml.newCursor();
-    cursor.toFirstChild();
-    /* 
-     * Save the cursor's current location by pushing it 
-     * onto a stack of saved locations.
-     */
-    cursor.push();
-    // Query for zip elements.
-    cursor.selectPath(xqNamespace + &quot;$this//xq:zip&quot;);
-    /* 
-     * Loop through the list of selections, getting the value of 
-     * each element.
-     */
-    while (cursor.toNextSelection())
-    {
-        System.out.println(cursor.getTextValue());
-    }
-    // Pop the saved location off the stack.
-    cursor.pop();
-    // Query again from the top, this time for work phone numbers.
-    cursor.selectPath(xqNamespace + &quot;$this//xq:phone[@location='work']&quot;);
-    /* 
-     * Move the cursor to the first selection, them print that element's
-     * value.
-     */
-    cursor.toNextSelection();
-    System.out.println(cursor.getTextValue());
-    // Dispose of the cursor.
-    cursor.dispose();
-}
-</pre>
-    <p>Using selections is somewhat like tracking the locations of multiple cursors 
-      with a single cursor. This becomes especially clear when you remove the 
-      XML associated with a selection. When you do so the selection itself remains 
-      at the location where the removed XML was, but now the selection's location 
-      is immediately before the XML that was after the XML you removed. In other 
-      words, removing XML created a kind of vacuum that was filled by the XML 
-      after it, which shifted up into the space &#8212; up into position immediately 
-      after the selection location. This is exactly the same as if the selection 
-      had been another cursor.</p>
-    <p>Finally, when using selections keep in mind that the list of selections 
-      is in a sense &quot;live&quot;. The cursor you're working with is keeping 
-      track of the selections in the list. In other words, be sure to call the 
-      <span class="langinline">clearSelections</span> method when you're finished 
-      with the selections, just as you should call the <span class="langinline">XmlCursor.dispose()</span> 
-      method when you're finished using the cursor.</p>
-  </div>
-  <h2>Related Topics</h2>
-</div>
-<p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conUnderstandingXMLTokens.html b/website/src/documentation/content/docs/guide/conUnderstandingXMLTokens.html
deleted file mode 100644
index b4302f4..0000000
--- a/website/src/documentation/content/docs/guide/conUnderstandingXMLTokens.html
+++ /dev/null
@@ -1,176 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Understanding XML Tokens</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Understanding XML Tokens</p>
-</div>
-<div id=topictext> 
-  <p>An XML cursor (an instance of the <a href="../reference/org/apache/xmlbeans/XmlCursor.html"><span class="langinline">XmlCursor</span></a> 
-    interface) moves from token to token as your code moves the cursor. When you 
-    move a cursor using a method such as <span class="langinline">toParent</span>, 
-    <span class="langinline">toFirstAttribute</span>, <span class="langinline">toPrevSibling</span>, 
-    and so on, the cursor moves to the token fitting the description. If there 
-    is no appropriate token to move to, the cursor remains where it is, and <span class="langinline">false</span> 
-    is returned to indicate that it didn't move. For example, if the cursor is 
-    at the ENDDOC token (the last tag in the document), a call to the <span class="langinline">toNextSibling</span> 
-    method will not move the cursor and will return <span class="langinline">false</span> 
-    to indicate that the move was unsuccessful.</p>
-  <p>Note that while you can call the <span class="langinline">XmlCursor.currentTokenType</span> 
-    method to find out which token type the cursor is at, you might find it more 
-    convenient to use a method such as <span class="langinline">isEnddoc</span>. 
-    The <span class="langinline">XmlCursor</span> interface provides several methods 
-    that make it easy to discover whether the cursor you're moving is at the token 
-    you're looking for. These methods, such as <span class="langinline">isStart</span>, 
-    <span class="langinline">isAttr</span>, <span class="langinline">isText</span>, 
-    and so on, return a <span class="langinline">boolean</span> value that indicates 
-    whether the cursor is at the token type in question.</p>
-  <P>Tokens are represented by constants in the <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.TokenType.html">TokenType</a></span> 
-    class, an inner class of the <span class="langinline">XmlCursor</span> interface. 
-    Each has a constant you can use in switch statements to perform by-token actions. 
-    The following table lists the token types:</P>
-  <TABLE id="Table1">
-    <TR> 
-      <TD><STRONG>Token Type</STRONG></TD>
-      <TD><STRONG>Switch Constant</STRONG></TD>
-      <TD><STRONG>Description</STRONG></TD>
-    </TR>
-    <TR> 
-      <TD>STARTDOC</TD>
-      <TD>INT_STARTDOC</TD>
-      <TD>Represents the start of the XML. Always the first token. The document 
-        element itself is represented by a START token, not the STARTDOC token.</TD>
-    </TR>
-    <TR> 
-      <TD>ENDDOC </TD>
-      <TD>INT_ENDDOC</TD>
-      <TD>Represents the end of the XML. Always the last token.</TD>
-    </TR>
-    <TR> 
-      <TD>START </TD>
-      <TD>INT_START</TD>
-      <TD>Represents the start of an element.</TD>
-    </TR>
-    <TR> 
-      <TD>END </TD>
-      <TD>INT_END</TD>
-      <TD>Represents the end of an element. The END token has no value, but marks 
-        the element's end.</TD>
-    </TR>
-    <TR> 
-      <TD>TEXT</TD>
-      <TD>INT_TEXT</TD>
-      <TD>Represents text.</TD>
-    </TR>
-    <TR> 
-      <TD>ATTR </TD>
-      <TD>INT_ATTR</TD>
-      <TD>Represents an attribute. ATTR tokens are allowed to appear after a STARTDOC 
-        or START token.</TD>
-    </TR>
-    <TR> 
-      <TD>NAMESPACE</TD>
-      <TD>INT_NAMESPACE</TD>
-      <TD>Represents a namespace (xmlns) attribute. Also only allowed after START 
-        or STARTDOC tokens.</TD>
-    </TR>
-    <TR> 
-      <TD>COMMENT </TD>
-      <TD>INT_COMMENT</TD>
-      <TD>Represents a comment.</TD>
-    </TR>
-    <TR> 
-      <TD>PROCINST </TD>
-      <TD>INT_PROCINST</TD>
-      <TD>Represents a processing instruction.</TD>
-    </TR>
-  </TABLE>
-  <P>As you use a cursor to navigate through XML, you can use one of the convenience 
-    methods described above to discover whether you're at the token you're looking 
-    for, or use the <span class="langinline">XmlCursor.currentTokenType</span>&nbsp;method 
-    to discover the current token's type. The following figure illustrates example 
-    locations for token types:</P>
-  <P><IMG src="../images/conCursorTokenLocations.gif" width="727" height="532">
-  <h2>Switching to Test for Token Types</h2>
-  <p>Here's a bit of code illustrating how you might use a Java <span class="langinline">switch</span> 
-    statement to test for the START token type.</p>
-  <pre>
-// Take an incoming XmlObject and insert a cursor.
-XmlCursor documentCursor = xmlDoc.newCursor();
- 
-/* 
- * Loop through the document, passing the cursor when it stops at each token 
- * to a function designed to discover the token type. Continue the loop
- * as long at the cursor is at a token (until it reaches the end).
- */
-while (!documentCursor.toNextToken().isNone()) 
-{
-    /*
-     * Use the intValue method to return the int corresponding to the 
-	 * current token type. If it is the value for INT_START,
-	 * then you have a match.
-	 */
-    switch (cursor.currentTokenType().intValue())
-    {        
-        case TokenType.INT_START:
-        // Print out the token type and a message.
-        System.out.println(cursor.currentTokenType() + 
-            "; cursor is at the start of an element.");
-        break;
-    }
-}
-// Be sure to dispose of a cursor when you're finished.
-documentCursor.dispose();
-</pre>
-  <p>The scope of an XML cursor is the XML document in which it is created. For 
-    example, you can create a cursor at the orderItem element in the example earlier 
-    in this topic. If you then use that <span class="langinline">XmlCursor</span> 
-    instance's <span class="langinline">toNextToken</span> method to move the 
-    cursor until it won't move any further, you'll have reached the ENDDOC token. 
-    In this example, that's at the <span class="langinline">&lt;/batchWidgetOrder&gt;</span> 
-    tag. In other words, the cursor's scope is not limited to the element at which 
-    it was created.</p>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="../reference/org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType 
-    Class</a></p>
-  <p><a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conUsingBookmarksToAnnotateXML.html b/website/src/documentation/content/docs/guide/conUsingBookmarksToAnnotateXML.html
deleted file mode 100644
index 612ee97..0000000
--- a/website/src/documentation/content/docs/guide/conUsingBookmarksToAnnotateXML.html
+++ /dev/null
@@ -1,84 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Using Bookmarks to Annotate XML</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="component" content="">
-<!-- In the description metatag, please provide a BRIEF description of the topic contents. -->
-<meta name="description" content="">
-<!-- In the component metatag, please list keywords that will help a user search for this topic. -->
-<meta name="keywords" content="">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<div id=topictitle> 
-  <p class=Title>Using Bookmarks to Annotate XML</p>
-</div>
-<div id=topictext> 
-  <p>You can use a cursor to insert bookmarks that annotate XML with markers containing 
-    information you design. These bookmarks aren't written into the XML itself, 
-    but in a sense "hang" from the location where it was inserted. In this way 
-    you can associate arbitrary pieces of information with specific parts of the 
-    XML.</p>
-  <P>You design your own bookmark classes by extending <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlBookmark</a></span>, 
-    a nested class of <span class="langinline"><a href="../reference/org/apache/xmlbeans/XmlCursor.html">XmlCursor</a></span>. 
-    You can design your bookmark class to contain information specific to your 
-    needs. </P>
-  <P>In the following example, <span class="langinline">OrderBookmark</span> is 
-    an inner class that extends <span class="langinline">XmlCursor.XmlBookmark</span>. 
-    It merely stores a piece of text.</P>
-  <PRE>
-/* 
- * The OrderBookmark class includes a constructor through which you will 
- * insert your bookmark's content. It also includes get and set methods
- * you can use to retrieve and change the content.
- */
-static class OrderBookmark extends XmlCursor.XmlBookmark {
-    public OrderBookmark (String text) { TEXT = text; }
-    public String TEXT;
-    public String getText() { return TEXT; }
-    public void setText(String newText) { TEXT = newText; }
-}
-</PRE>
-  <p>You can use instances of this class to store bookmarks at places in your 
-    XML. The following excerpt of code creates a cursor and an instance of the 
-    <span class="langinline">OrderBookmark</span> class. Then it uses the cursor 
-    to insert the bookmark at the cursor's current location.</p>
-  <pre>
-    XmlCursor orderCursor = xmlDoc.newCursor();
-    OrderBookmark thisBookmark = new OrderBookmark("foo");
-    orderCursor.setBookmark(thisAnnotation);
-</pre>
-  <p class=relatedtopics>Related Topics</p>
-  <p><a href="conNavigatingXMLwithCursors.html">Navigating XML with Cursors</a></p>
-</div>
-<!-- InstanceEndEditable -->
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html b/website/src/documentation/content/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html
deleted file mode 100644
index 337759e..0000000
--- a/website/src/documentation/content/docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html
+++ /dev/null
@@ -1,330 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-<head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<title>Java Types for XML Schema</title>
-<!-- InstanceEndEditable --> 
-<!--(Meta)==========================================================-->
-
-<meta http-equiv=Content-Type content="text/html; charset=$CHARSET;">
-
-
-<!-- InstanceBeginEditable name="metatags" -->
-
-<meta name="author" content="your name">
-<meta name="description" content="A description of the topic contents.">
-<meta name="keywords" content="keywords to help in searches">
-<meta name="date last modified" content="10/25/02">
-<!-- InstanceEndEditable -->
-
-<!--(Links)=========================================================-->
-<!-- InstanceBeginEditable name="head" -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<!-- InstanceEndEditable -->
-<link href="../xmlbeans.css" rel="stylesheet" type="text/css">
-<a href="../../../core/index.html" id="index"></a>
-<script language="JavaScript" src="../../../core/topicInfo.js"></script>
-<script language="JavaScript" src="../../../core/CookieClass.js"></script>
-<script language="JavaScript" src="../../../core/displayContent.js"></script>
-</head>
-
-<!--(Body)==========================================================-->
-<body>
-<script language="JavaScript">
-
-</script>
-<!-- InstanceBeginEditable name="body" --> 
-<h1> XMLBeans Support for Built-In Schema Types</h1>
-<p>Just as with types in XML schema, the XMLBeans types based on schema are arranged 
-  in a hierarchy. In general, the hierarchy of XMLBean types mirrors the hierarchy 
-  of the schema types themselves. XML schema types all inherit from <span class="langinline">xs:anyType</span> 
-  (which is at the root of the hierarchy); XMLBeans types inherit from <span class="langinline">XmlObject</span>.</p>
-<p>In XML schema, <span class="langinline">xs:anyType</span> is the root type 
-  for two type categories: built-in and user-derived. Built-in schema types are 
-  common types defined by the XML schema specification. User-derived types are 
-  those you define in your schema. This topic lists the built-in types provided 
-  with XMLBeans. For information about user-derived types and the Java types generated 
-  from them, see <a href="conJavaTypesGeneratedFromUserDerived.html">Java Types Generated 
-  from User-Derived Schema Types</a>.</p>
-<p>The following figure illustrates the hierarchy of types, showing both built-in 
-  schema types and their XMLBeans parallels. Notice, too, that nearly all of the 
-  built-in types are also available as natural Java types.</p>
-<p><img src="../images/conXMLTypeHierarchy.gif" width="865" height="887"> </p>
-<h1>Java Types Representing Built-In Schema Types</h1>
-<p>As you can see from the figure above, all 46 built-in schema types are represented 
-  by an XMLBean type provided with XMLBeans. When using built-in XMLBean types, 
-  keep in mind that:</p>
-<ul>
-  <li> Since <span class="langinline">XmlObject</span> corresponds to the <span class="langinline">xs:anyType</span>, 
-    all Java XMLBean types inherit from <span class="langinline">XmlObject</span>. 
-    Therefore all XMLBean types share the <span class="langinline">XmlObject</span> 
-    interface’s ability to create an <span class="langinline">XmlCursor</span> 
-    at the position of the object. They can also render the XML as strings or 
-    streams. 
-  <li> 
-    <div>Where there is a corresponding natural Java type, the XMLBeans type provides 
-      a way to get the underlying XML's value as the natural type. See the table 
-      in this topic for information on how natural Java types map to XMLBeans 
-      types. </div>
-  
-  <li> Values assigned to built-in XMLBeans types are validated in keeping with 
-    the rules of the schema type they represent. So, for example, an attempt to 
-    assign a negative integer value to an <span class="langinline">XmlPositiveInteger</span> 
-    will throw an <span class="langinline">XmlValueOutOfRange</span> exception.</li>
-</ul>
-<div> 
-  <p>The following table lists the built-in schema types, along with their XMLBeans 
-    and natural Java parallels. Unless otherwise noted, natural Java types are 
-    in the <span class="langinline">java.lang</span> package; XMLBean types are 
-    in the <span class="langinline">org.apache.xmlbeans</span> package.</p>
-</div>
-<div id="topictext"> 
-  <table>
-    <tr> 
-      <td width="30%"><strong>Built-In Schema Type</strong></td>
-      <td width="31%"><strong>XMLBean Type</strong></td>
-      <td width="39%"><strong>Natural Java Type</strong></td>
-    </tr>
-    <tr> 
-      <td>xs:anyType</td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlObject.html">XmlObject</a></td>
-      <td> <a href="../reference/org/apache/xmlbeans/XmlObject.html">org.apache.xmlbeans.XmlObject</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#dt-anySimpleType" target="_blank">xs:anySimpleType</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</a></td>
-      <td> <a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#anyURI" target="_blank">xs:anyURI</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#base64Binary" target="_blank">xs:base64Binary</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</a></td>
-      <td>byte[]</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#boolean" target="_blank">xs:boolean</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</a></td>
-      <td>boolean</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#byte" target="_blank">xs:byte</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlByte.html">XmlByte</a></td>
-      <td>byte</td>
-    </tr>
-    <tr> 
-      <td height="17"><a href="http://www.w3.org/TR/xmlschema-2/#date" target="_blank">xs:date</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDate.html">XmlDate</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#dateTime" target="_blank">xs:dateTime</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#decimal" target="_blank">xs:decimal</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html" target="_blank">java.math.BigDecimal</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#double" target="_blank">xs:double</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDouble.html">XmlDouble</a></td>
-      <td>double</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#duration" target="_blank">xs:duration</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlDuration.html">XmlDuration</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/GDuration.html">org.apache.xmlbeans.GDuration</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ENTITIES" target="_blank">xs:ENTITIES</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ENTITY" target="_blank">xs:ENTITY</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#float" target="_blank">xs:float</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlFloat.html">XmlFloat</a></td>
-      <td>float</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gDay" target="_blank">xs:gDay</a></td>
-      <td><p><a href="../reference/org/apache/xmlbeans/XmlGDay.html">XmlGDay</a></p></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gMonth" target="_blank">xs:gMonth</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gMonthDay" target="_blank">xs:gMonthDay</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gYear" target="_blank">xs:gYear</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGYear.html">XmlGYear</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth" target="_blank">xs:gYearMonth</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#hexBinary" target="_blank">xs:hexBinary</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</a></td>
-      <td>byte[]</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#ID" target="_blank">xs:ID</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlID.html">XmlID</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#IDREF" target="_blank">xs:IDREF</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#IDREFS" target="_blank">xs:IDREFS</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#int" target="_blank">xs:int</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlInt.html">XmlInt</a></td>
-      <td>int</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#integer" target="_blank">xs:integer</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlInteger.html">XmlInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#language" target="_blank">xs:language</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#long" target="_blank">xs:long</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlLong.html">XmlLong</a></td>
-      <td>long</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#Name" target="_blank">xs:Name</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlName.html">XmlName</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NCName" target="_blank">xs:NCName</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNCName.html">XmlNCNAME</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#negativeInteger" target="_blank">xs:negativeInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN" target="_blank">xs:NMTOKEN</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS" target="_blank">xs:NMTOKENS</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger" target="_blank">xs:nonNegativeInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger" target="_blank">xs:nonPositiveInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#normalizedString" target="_blank">xs:normalizedString</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#NOTATION" target="_blank">xs:NOTATION</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</a></td>
-      <td> Not supported</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#positiveInteger" target="_blank">xs:positiveInteger</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#QName" target="_blank">xs:QName</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlQName.html">XmlQName</a></td>
-      <td><a href="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html" target="_blank">javax.xml.namespace.QName</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#short" target="_blank">xs:short</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlShort.html">XmlShort</a></td>
-      <td>short</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#string" target="_blank">xs:string</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlString.html">XmlString</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#time" target="_blank">xs:time</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlTime.html">XmlTime</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html" target="_blank">java.util.Calendar</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#token" target="_blank">xs:token</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlToken.html">XmlToken</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" target="_blank">String</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedByte" target="_blank">xs:unsignedByte</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</a></td>
-      <td>short</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedInt" target="_blank">xs:unsignedInt</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</a></td>
-      <td>long</td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedLong" target="_blank">xs:unsignedLong</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</a></td>
-      <td><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html" target="_blank">java.math.BigInteger</a></td>
-    </tr>
-    <tr> 
-      <td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedShort" target="_blank">xs:unsignedShort</a></td>
-      <td><a href="../reference/org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</a></td>
-      <td>int</td>
-    </tr>
-  </table>
-</div>
-<div> 
-  <p class="relatedtopics">Related Topics</p>
-  <p><a href="conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</a></p>
-</div>
-<!-- InstanceEndEditable --> 
-<script language="JavaScript">
-
-</script>
-</body>
-</html>
diff --git a/website/src/documentation/content/docs/images/conCursorTokenLocations.gif b/website/src/documentation/content/docs/images/conCursorTokenLocations.gif
deleted file mode 100644
index de66d38..0000000
--- a/website/src/documentation/content/docs/images/conCursorTokenLocations.gif
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/content/docs/images/conXMLTypeHierarchy.gif b/website/src/documentation/content/docs/images/conXMLTypeHierarchy.gif
deleted file mode 100644
index 970c326..0000000
--- a/website/src/documentation/content/docs/images/conXMLTypeHierarchy.gif
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/content/docs/reference/allclasses-frame.html b/website/src/documentation/content/docs/reference/allclasses-frame.html
deleted file mode 100644
index 4b7b241..0000000
--- a/website/src/documentation/content/docs/reference/allclasses-frame.html
+++ /dev/null
@@ -1,335 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-All Classes (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="All Classes (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/apache/xmlbeans/FilterXmlObject.html" TARGET="classFrame">FilterXmlObject</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDate.html" TARGET="classFrame">GDate</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDateBuilder.html" TARGET="classFrame">GDateBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDateSpecification.html" TARGET="classFrame"><I>GDateSpecification</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDuration.html" TARGET="classFrame">GDuration</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDurationBuilder.html" TARGET="classFrame">GDurationBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDurationSpecification.html" TARGET="classFrame"><I>GDurationSpecification</I></A>
-<BR>
-<A HREF="javax/xml/stream/Location.html" TARGET="classFrame"><I>Location</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameCache.html" TARGET="classFrame">QNameCache</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSet.html" TARGET="classFrame">QNameSet</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSetBuilder.html" TARGET="classFrame">QNameSetBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSetSpecification.html" TARGET="classFrame"><I>QNameSetSpecification</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html" TARGET="classFrame"><I>SchemaAttributeGroup</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html" TARGET="classFrame">SchemaAttributeGroup.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html" TARGET="classFrame"><I>SchemaAttributeModel</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaComponent.html" TARGET="classFrame"><I>SchemaComponent</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html" TARGET="classFrame">SchemaComponent.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaField.html" TARGET="classFrame"><I>SchemaField</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html" TARGET="classFrame"><I>SchemaGlobalAttribute</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html" TARGET="classFrame">SchemaGlobalAttribute.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html" TARGET="classFrame"><I>SchemaGlobalElement</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html" TARGET="classFrame">SchemaGlobalElement.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html" TARGET="classFrame"><I>SchemaIdentityConstraint</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html" TARGET="classFrame">SchemaIdentityConstraint.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html" TARGET="classFrame"><I>SchemaLocalAttribute</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaLocalElement.html" TARGET="classFrame"><I>SchemaLocalElement</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaModelGroup.html" TARGET="classFrame"><I>SchemaModelGroup</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html" TARGET="classFrame">SchemaModelGroup.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaParticle.html" TARGET="classFrame"><I>SchemaParticle</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaProperty.html" TARGET="classFrame"><I>SchemaProperty</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html" TARGET="classFrame"><I>SchemaStringEnumEntry</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaType.html" TARGET="classFrame"><I>SchemaType</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaType.Ref.html" TARGET="classFrame">SchemaType.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html" TARGET="classFrame"><I>SchemaTypeLoader</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html" TARGET="classFrame">SchemaTypeLoaderException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html" TARGET="classFrame"><I>SchemaTypeSystem</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SimpleValue.html" TARGET="classFrame"><I>SimpleValue</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html" TARGET="classFrame">StringEnumAbstractBase</A>
-<BR>
-<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html" TARGET="classFrame">StringEnumAbstractBase.Table</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html" TARGET="classFrame"><I>XmlAnySimpleType</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html" TARGET="classFrame">XmlAnySimpleType.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnyURI.html" TARGET="classFrame"><I>XmlAnyURI</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html" TARGET="classFrame">XmlAnyURI.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBase64Binary.html" TARGET="classFrame"><I>XmlBase64Binary</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html" TARGET="classFrame">XmlBase64Binary.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBeans.html" TARGET="classFrame">XmlBeans</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBoolean.html" TARGET="classFrame"><I>XmlBoolean</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html" TARGET="classFrame">XmlBoolean.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlByte.html" TARGET="classFrame"><I>XmlByte</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlByte.Factory.html" TARGET="classFrame">XmlByte.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCalendar.html" TARGET="classFrame">XmlCalendar</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.html" TARGET="classFrame"><I>XmlCursor</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html" TARGET="classFrame"><I>XmlCursor.ChangeStamp</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html" TARGET="classFrame">XmlCursor.TokenType</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html" TARGET="classFrame">XmlCursor.XmlBookmark</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html" TARGET="classFrame"><I>XmlCursor.XmlMark</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDate.html" TARGET="classFrame"><I>XmlDate</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDate.Factory.html" TARGET="classFrame">XmlDate.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDateTime.html" TARGET="classFrame"><I>XmlDateTime</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html" TARGET="classFrame">XmlDateTime.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDecimal.html" TARGET="classFrame"><I>XmlDecimal</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html" TARGET="classFrame">XmlDecimal.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html" TARGET="classFrame">XmlDocumentProperties</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDouble.html" TARGET="classFrame"><I>XmlDouble</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html" TARGET="classFrame">XmlDouble.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDuration.html" TARGET="classFrame"><I>XmlDuration</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html" TARGET="classFrame">XmlDuration.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITIES.html" TARGET="classFrame"><I>XmlENTITIES</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html" TARGET="classFrame">XmlENTITIES.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITY.html" TARGET="classFrame"><I>XmlENTITY</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html" TARGET="classFrame">XmlENTITY.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlError.html" TARGET="classFrame">XmlError</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlException.html" TARGET="classFrame">XmlException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFactoryHook.html" TARGET="classFrame"><I>XmlFactoryHook</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html" TARGET="classFrame">XmlFactoryHook.ThreadContext</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFloat.html" TARGET="classFrame"><I>XmlFloat</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html" TARGET="classFrame">XmlFloat.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGDay.html" TARGET="classFrame"><I>XmlGDay</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html" TARGET="classFrame">XmlGDay.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonth.html" TARGET="classFrame"><I>XmlGMonth</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html" TARGET="classFrame">XmlGMonth.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonthDay.html" TARGET="classFrame"><I>XmlGMonthDay</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html" TARGET="classFrame">XmlGMonthDay.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYear.html" TARGET="classFrame"><I>XmlGYear</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html" TARGET="classFrame">XmlGYear.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYearMonth.html" TARGET="classFrame"><I>XmlGYearMonth</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html" TARGET="classFrame">XmlGYearMonth.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlHexBinary.html" TARGET="classFrame"><I>XmlHexBinary</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html" TARGET="classFrame">XmlHexBinary.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlID.html" TARGET="classFrame"><I>XmlID</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlID.Factory.html" TARGET="classFrame">XmlID.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREF.html" TARGET="classFrame"><I>XmlIDREF</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html" TARGET="classFrame">XmlIDREF.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREFS.html" TARGET="classFrame"><I>XmlIDREFS</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html" TARGET="classFrame">XmlIDREFS.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInt.html" TARGET="classFrame"><I>XmlInt</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInt.Factory.html" TARGET="classFrame">XmlInt.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInteger.html" TARGET="classFrame"><I>XmlInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html" TARGET="classFrame">XmlInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLanguage.html" TARGET="classFrame"><I>XmlLanguage</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html" TARGET="classFrame">XmlLanguage.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLineNumber.html" TARGET="classFrame">XmlLineNumber</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLong.html" TARGET="classFrame"><I>XmlLong</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLong.Factory.html" TARGET="classFrame">XmlLong.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlName.html" TARGET="classFrame"><I>XmlName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlName.Factory.html" TARGET="classFrame">XmlName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNCName.html" TARGET="classFrame"><I>XmlNCName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html" TARGET="classFrame">XmlNCName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNegativeInteger.html" TARGET="classFrame"><I>XmlNegativeInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html" TARGET="classFrame">XmlNegativeInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKEN.html" TARGET="classFrame"><I>XmlNMTOKEN</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html" TARGET="classFrame">XmlNMTOKEN.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html" TARGET="classFrame"><I>XmlNMTOKENS</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html" TARGET="classFrame">XmlNMTOKENS.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html" TARGET="classFrame"><I>XmlNonNegativeInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html" TARGET="classFrame">XmlNonNegativeInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html" TARGET="classFrame"><I>XmlNonPositiveInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html" TARGET="classFrame">XmlNonPositiveInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNormalizedString.html" TARGET="classFrame"><I>XmlNormalizedString</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html" TARGET="classFrame">XmlNormalizedString.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNOTATION.html" TARGET="classFrame"><I>XmlNOTATION</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html" TARGET="classFrame">XmlNOTATION.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlObject.html" TARGET="classFrame"><I>XmlObject</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlObject.Factory.html" TARGET="classFrame">XmlObject.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlOptions.html" TARGET="classFrame">XmlOptions</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlPositiveInteger.html" TARGET="classFrame"><I>XmlPositiveInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html" TARGET="classFrame">XmlPositiveInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlQName.html" TARGET="classFrame"><I>XmlQName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlQName.Factory.html" TARGET="classFrame">XmlQName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlRuntimeException.html" TARGET="classFrame">XmlRuntimeException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlSaxHandler.html" TARGET="classFrame"><I>XmlSaxHandler</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlShort.html" TARGET="classFrame"><I>XmlShort</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlShort.Factory.html" TARGET="classFrame">XmlShort.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlSimpleList.html" TARGET="classFrame">XmlSimpleList</A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamConstants.html" TARGET="classFrame"><I>XMLStreamConstants</I></A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamException.html" TARGET="classFrame">XMLStreamException</A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamReader.html" TARGET="classFrame"><I>XMLStreamReader</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html" TARGET="classFrame">XMLStreamValidationException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlString.html" TARGET="classFrame"><I>XmlString</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlString.Factory.html" TARGET="classFrame">XmlString.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTime.html" TARGET="classFrame"><I>XmlTime</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTime.Factory.html" TARGET="classFrame">XmlTime.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlToken.html" TARGET="classFrame"><I>XmlToken</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlToken.Factory.html" TARGET="classFrame">XmlToken.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTokenSource.html" TARGET="classFrame"><I>XmlTokenSource</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html" TARGET="classFrame"><I>XmlUnsignedByte</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html" TARGET="classFrame">XmlUnsignedByte.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html" TARGET="classFrame"><I>XmlUnsignedInt</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html" TARGET="classFrame">XmlUnsignedInt.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedLong.html" TARGET="classFrame"><I>XmlUnsignedLong</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html" TARGET="classFrame">XmlUnsignedLong.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html" TARGET="classFrame"><I>XmlUnsignedShort</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html" TARGET="classFrame">XmlUnsignedShort.Factory</A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/allclasses-noframe.html b/website/src/documentation/content/docs/reference/allclasses-noframe.html
deleted file mode 100644
index 545efe1..0000000
--- a/website/src/documentation/content/docs/reference/allclasses-noframe.html
+++ /dev/null
@@ -1,335 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-All Classes (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="All Classes (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/apache/xmlbeans/FilterXmlObject.html" TARGET="">FilterXmlObject</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDate.html" TARGET="">GDate</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDateBuilder.html" TARGET="">GDateBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDateSpecification.html" TARGET=""><I>GDateSpecification</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDuration.html" TARGET="">GDuration</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDurationBuilder.html" TARGET="">GDurationBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/GDurationSpecification.html" TARGET=""><I>GDurationSpecification</I></A>
-<BR>
-<A HREF="javax/xml/stream/Location.html" TARGET=""><I>Location</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameCache.html" TARGET="">QNameCache</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSet.html" TARGET="">QNameSet</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSetBuilder.html" TARGET="">QNameSetBuilder</A>
-<BR>
-<A HREF="org/apache/xmlbeans/QNameSetSpecification.html" TARGET=""><I>QNameSetSpecification</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html" TARGET=""><I>SchemaAttributeGroup</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html" TARGET="">SchemaAttributeGroup.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html" TARGET=""><I>SchemaAttributeModel</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaComponent.html" TARGET=""><I>SchemaComponent</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html" TARGET="">SchemaComponent.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaField.html" TARGET=""><I>SchemaField</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html" TARGET=""><I>SchemaGlobalAttribute</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html" TARGET="">SchemaGlobalAttribute.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html" TARGET=""><I>SchemaGlobalElement</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html" TARGET="">SchemaGlobalElement.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html" TARGET=""><I>SchemaIdentityConstraint</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html" TARGET="">SchemaIdentityConstraint.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html" TARGET=""><I>SchemaLocalAttribute</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaLocalElement.html" TARGET=""><I>SchemaLocalElement</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaModelGroup.html" TARGET=""><I>SchemaModelGroup</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html" TARGET="">SchemaModelGroup.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaParticle.html" TARGET=""><I>SchemaParticle</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaProperty.html" TARGET=""><I>SchemaProperty</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html" TARGET=""><I>SchemaStringEnumEntry</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaType.html" TARGET=""><I>SchemaType</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaType.Ref.html" TARGET="">SchemaType.Ref</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html" TARGET=""><I>SchemaTypeLoader</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html" TARGET="">SchemaTypeLoaderException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html" TARGET=""><I>SchemaTypeSystem</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/SimpleValue.html" TARGET=""><I>SimpleValue</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html" TARGET="">StringEnumAbstractBase</A>
-<BR>
-<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html" TARGET="">StringEnumAbstractBase.Table</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html" TARGET=""><I>XmlAnySimpleType</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html" TARGET="">XmlAnySimpleType.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnyURI.html" TARGET=""><I>XmlAnyURI</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html" TARGET="">XmlAnyURI.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBase64Binary.html" TARGET=""><I>XmlBase64Binary</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html" TARGET="">XmlBase64Binary.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBeans.html" TARGET="">XmlBeans</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBoolean.html" TARGET=""><I>XmlBoolean</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html" TARGET="">XmlBoolean.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlByte.html" TARGET=""><I>XmlByte</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlByte.Factory.html" TARGET="">XmlByte.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCalendar.html" TARGET="">XmlCalendar</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.html" TARGET=""><I>XmlCursor</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html" TARGET=""><I>XmlCursor.ChangeStamp</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html" TARGET="">XmlCursor.TokenType</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html" TARGET="">XmlCursor.XmlBookmark</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html" TARGET=""><I>XmlCursor.XmlMark</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDate.html" TARGET=""><I>XmlDate</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDate.Factory.html" TARGET="">XmlDate.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDateTime.html" TARGET=""><I>XmlDateTime</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html" TARGET="">XmlDateTime.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDecimal.html" TARGET=""><I>XmlDecimal</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html" TARGET="">XmlDecimal.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html" TARGET="">XmlDocumentProperties</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDouble.html" TARGET=""><I>XmlDouble</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html" TARGET="">XmlDouble.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDuration.html" TARGET=""><I>XmlDuration</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html" TARGET="">XmlDuration.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITIES.html" TARGET=""><I>XmlENTITIES</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html" TARGET="">XmlENTITIES.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITY.html" TARGET=""><I>XmlENTITY</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html" TARGET="">XmlENTITY.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlError.html" TARGET="">XmlError</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlException.html" TARGET="">XmlException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFactoryHook.html" TARGET=""><I>XmlFactoryHook</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html" TARGET="">XmlFactoryHook.ThreadContext</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFloat.html" TARGET=""><I>XmlFloat</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html" TARGET="">XmlFloat.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGDay.html" TARGET=""><I>XmlGDay</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html" TARGET="">XmlGDay.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonth.html" TARGET=""><I>XmlGMonth</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html" TARGET="">XmlGMonth.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonthDay.html" TARGET=""><I>XmlGMonthDay</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html" TARGET="">XmlGMonthDay.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYear.html" TARGET=""><I>XmlGYear</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html" TARGET="">XmlGYear.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYearMonth.html" TARGET=""><I>XmlGYearMonth</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html" TARGET="">XmlGYearMonth.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlHexBinary.html" TARGET=""><I>XmlHexBinary</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html" TARGET="">XmlHexBinary.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlID.html" TARGET=""><I>XmlID</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlID.Factory.html" TARGET="">XmlID.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREF.html" TARGET=""><I>XmlIDREF</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html" TARGET="">XmlIDREF.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREFS.html" TARGET=""><I>XmlIDREFS</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html" TARGET="">XmlIDREFS.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInt.html" TARGET=""><I>XmlInt</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInt.Factory.html" TARGET="">XmlInt.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInteger.html" TARGET=""><I>XmlInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html" TARGET="">XmlInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLanguage.html" TARGET=""><I>XmlLanguage</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html" TARGET="">XmlLanguage.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLineNumber.html" TARGET="">XmlLineNumber</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLong.html" TARGET=""><I>XmlLong</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlLong.Factory.html" TARGET="">XmlLong.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlName.html" TARGET=""><I>XmlName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlName.Factory.html" TARGET="">XmlName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNCName.html" TARGET=""><I>XmlNCName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html" TARGET="">XmlNCName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNegativeInteger.html" TARGET=""><I>XmlNegativeInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html" TARGET="">XmlNegativeInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKEN.html" TARGET=""><I>XmlNMTOKEN</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html" TARGET="">XmlNMTOKEN.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html" TARGET=""><I>XmlNMTOKENS</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html" TARGET="">XmlNMTOKENS.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html" TARGET=""><I>XmlNonNegativeInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html" TARGET="">XmlNonNegativeInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html" TARGET=""><I>XmlNonPositiveInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html" TARGET="">XmlNonPositiveInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNormalizedString.html" TARGET=""><I>XmlNormalizedString</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html" TARGET="">XmlNormalizedString.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNOTATION.html" TARGET=""><I>XmlNOTATION</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html" TARGET="">XmlNOTATION.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlObject.html" TARGET=""><I>XmlObject</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlObject.Factory.html" TARGET="">XmlObject.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlOptions.html" TARGET="">XmlOptions</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlPositiveInteger.html" TARGET=""><I>XmlPositiveInteger</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html" TARGET="">XmlPositiveInteger.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlQName.html" TARGET=""><I>XmlQName</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlQName.Factory.html" TARGET="">XmlQName.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlRuntimeException.html" TARGET="">XmlRuntimeException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlSaxHandler.html" TARGET=""><I>XmlSaxHandler</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlShort.html" TARGET=""><I>XmlShort</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlShort.Factory.html" TARGET="">XmlShort.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlSimpleList.html" TARGET="">XmlSimpleList</A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamConstants.html" TARGET=""><I>XMLStreamConstants</I></A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamException.html" TARGET="">XMLStreamException</A>
-<BR>
-<A HREF="javax/xml/stream/XMLStreamReader.html" TARGET=""><I>XMLStreamReader</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html" TARGET="">XMLStreamValidationException</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlString.html" TARGET=""><I>XmlString</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlString.Factory.html" TARGET="">XmlString.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTime.html" TARGET=""><I>XmlTime</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTime.Factory.html" TARGET="">XmlTime.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlToken.html" TARGET=""><I>XmlToken</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlToken.Factory.html" TARGET="">XmlToken.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlTokenSource.html" TARGET=""><I>XmlTokenSource</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html" TARGET=""><I>XmlUnsignedByte</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html" TARGET="">XmlUnsignedByte.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html" TARGET=""><I>XmlUnsignedInt</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html" TARGET="">XmlUnsignedInt.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedLong.html" TARGET=""><I>XmlUnsignedLong</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html" TARGET="">XmlUnsignedLong.Factory</A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html" TARGET=""><I>XmlUnsignedShort</I></A>
-<BR>
-<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html" TARGET="">XmlUnsignedShort.Factory</A>
-<BR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/constant-values.html b/website/src/documentation/content/docs/reference/constant-values.html
deleted file mode 100644
index 3dbe743..0000000
--- a/website/src/documentation/content/docs/reference/constant-values.html
+++ /dev/null
@@ -1,1717 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:54 PDT 2003 -->
-<TITLE>
-Constant Field Values (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Constant Field Values (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="constant-values.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H1>
-Constant Field Values</H1>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-<B>Contents</B><UL>
-<LI><A HREF="#javax.xml">javax.xml.*</A>
-<LI><A HREF="#org.apache">org.apache.*</A>
-</UL>
-
-<A NAME="javax.xml"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD ALIGN="left"><FONT SIZE="+2">
-<B>javax.xml.*</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.ATTRIBUTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#ATTRIBUTE">ATTRIBUTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>10</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.CDATA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#CDATA">CDATA</A></CODE></TD>
-<TD ALIGN="right"><CODE>12</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.CHARACTERS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#CHARACTERS">CHARACTERS</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.COMMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#COMMENT">COMMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.DTD"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#DTD">DTD</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.END_DOCUMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#END_DOCUMENT">END_DOCUMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.END_ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#END_ELEMENT">END_ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.END_ENTITY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#END_ENTITY">END_ENTITY</A></CODE></TD>
-<TD ALIGN="right"><CODE>15</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.ENTITY_DECLARATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#ENTITY_DECLARATION">ENTITY_DECLARATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>17</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.ENTITY_REFERENCE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#ENTITY_REFERENCE">ENTITY_REFERENCE</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.NAMESPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#NAMESPACE">NAMESPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>13</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.NOTATION_DECLARATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#NOTATION_DECLARATION">NOTATION_DECLARATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>16</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.PROCESSING_INSTRUCTION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#PROCESSING_INSTRUCTION">PROCESSING_INSTRUCTION</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.SPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#SPACE">SPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.START_DOCUMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#START_DOCUMENT">START_DOCUMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.START_ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#START_ELEMENT">START_ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="javax.xml.stream.XMLStreamConstants.START_ENTITY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="javax/xml/stream/XMLStreamConstants.html#START_ENTITY">START_ENTITY</A></CODE></TD>
-<TD ALIGN="right"><CODE>14</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-<A NAME="org.apache"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD ALIGN="left"><FONT SIZE="+2">
-<B>org.apache.*</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.GDateSpecification.HAS_DAY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_DAY">HAS_DAY</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.GDateSpecification.HAS_MONTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH">HAS_MONTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.GDateSpecification.HAS_TIME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_TIME">HAS_TIME</A></CODE></TD>
-<TD ALIGN="right"><CODE>16</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.GDateSpecification.HAS_TIMEZONE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE">HAS_TIMEZONE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.GDateSpecification.HAS_YEAR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR">HAS_YEAR</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaAttributeModel.LAX"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#LAX">LAX</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaAttributeModel.NONE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#NONE">NONE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaAttributeModel.SKIP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#SKIP">SKIP</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaAttributeModel.STRICT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#STRICT">STRICT</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.ATTRIBUTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.ATTRIBUTE_GROUP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.IDENTITY_CONSTRAINT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.MODEL_GROUP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.NOTATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaComponent.TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaIdentityConstraint.CC_KEY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEY">CC_KEY</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaIdentityConstraint.CC_KEYREF"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEYREF">CC_KEYREF</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaIdentityConstraint.CC_UNIQUE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_UNIQUE">CC_UNIQUE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaLocalAttribute.OPTIONAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL">OPTIONAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaLocalAttribute.PROHIBITED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED">PROHIBITED</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaLocalAttribute.REQUIRED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED">REQUIRED</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.ALL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#ALL">ALL</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.CHOICE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#CHOICE">CHOICE</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#ELEMENT">ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.LAX"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#LAX">LAX</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.SEQUENCE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#SEQUENCE">SEQUENCE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.SKIP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#SKIP">SKIP</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.STRICT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#STRICT">STRICT</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaParticle.WILDCARD"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaParticle.html#WILDCARD">WILDCARD</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.CONSISTENTLY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY">CONSISTENTLY</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_BIG_DECIMAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_DECIMAL">JAVA_BIG_DECIMAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_BIG_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_INTEGER">JAVA_BIG_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_BOOLEAN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BOOLEAN">JAVA_BOOLEAN</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_BYTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE">JAVA_BYTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_BYTE_ARRAY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE_ARRAY">JAVA_BYTE_ARRAY</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_CALENDAR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_CALENDAR">JAVA_CALENDAR</A></CODE></TD>
-<TD ALIGN="right"><CODE>17</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_DATE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_DATE">JAVA_DATE</A></CODE></TD>
-<TD ALIGN="right"><CODE>14</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_DOUBLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_DOUBLE">JAVA_DOUBLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_ENUM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_ENUM">JAVA_ENUM</A></CODE></TD>
-<TD ALIGN="right"><CODE>18</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_FIRST_PRIMITIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_FIRST_PRIMITIVE">JAVA_FIRST_PRIMITIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_FLOAT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_FLOAT">JAVA_FLOAT</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_GDATE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_GDATE">JAVA_GDATE</A></CODE></TD>
-<TD ALIGN="right"><CODE>12</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_GDURATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_GDURATION">JAVA_GDURATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>13</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_INT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_INT">JAVA_INT</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_LAST_PRIMITIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LAST_PRIMITIVE">JAVA_LAST_PRIMITIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_LIST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LIST">JAVA_LIST</A></CODE></TD>
-<TD ALIGN="right"><CODE>16</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_LONG"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LONG">JAVA_LONG</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_OBJECT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_OBJECT">JAVA_OBJECT</A></CODE></TD>
-<TD ALIGN="right"><CODE>19</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_QNAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_QNAME">JAVA_QNAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>15</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_SHORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_SHORT">JAVA_SHORT</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.JAVA_STRING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_STRING">JAVA_STRING</A></CODE></TD>
-<TD ALIGN="right"><CODE>10</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.NEVER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#NEVER">NEVER</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.VARIABLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#VARIABLE">VARIABLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaProperty.XML_OBJECT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaProperty.html#XML_OBJECT">XML_OBJECT</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.ATOMIC"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#ATOMIC">ATOMIC</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ANY_SIMPLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_SIMPLE">BTC_ANY_SIMPLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ANY_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_TYPE">BTC_ANY_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ANY_URI"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_URI">BTC_ANY_URI</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_BASE_64_BINARY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BASE_64_BINARY">BTC_BASE_64_BINARY</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_BOOLEAN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BOOLEAN">BTC_BOOLEAN</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_BYTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BYTE">BTC_BYTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>26</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_DATE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DATE">BTC_DATE</A></CODE></TD>
-<TD ALIGN="right"><CODE>16</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_DATE_TIME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME">BTC_DATE_TIME</A></CODE></TD>
-<TD ALIGN="right"><CODE>14</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_DECIMAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DECIMAL">BTC_DECIMAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_DOUBLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DOUBLE">BTC_DOUBLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>10</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_DURATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DURATION">BTC_DURATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>13</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ENTITIES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ENTITIES">BTC_ENTITIES</A></CODE></TD>
-<TD ALIGN="right"><CODE>44</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ENTITY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ENTITY">BTC_ENTITY</A></CODE></TD>
-<TD ALIGN="right"><CODE>43</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_FIRST_PRIMITIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_FIRST_PRIMITIVE">BTC_FIRST_PRIMITIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_FLOAT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_FLOAT">BTC_FLOAT</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_G_DAY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_DAY">BTC_G_DAY</A></CODE></TD>
-<TD ALIGN="right"><CODE>20</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_G_MONTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH">BTC_G_MONTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>21</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_G_MONTH_DAY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY">BTC_G_MONTH_DAY</A></CODE></TD>
-<TD ALIGN="right"><CODE>19</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_G_YEAR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR">BTC_G_YEAR</A></CODE></TD>
-<TD ALIGN="right"><CODE>18</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_G_YEAR_MONTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH">BTC_G_YEAR_MONTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>17</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_HEX_BINARY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_HEX_BINARY">BTC_HEX_BINARY</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_ID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ID">BTC_ID</A></CODE></TD>
-<TD ALIGN="right"><CODE>40</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_IDREF"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_IDREF">BTC_IDREF</A></CODE></TD>
-<TD ALIGN="right"><CODE>41</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_IDREFS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_IDREFS">BTC_IDREFS</A></CODE></TD>
-<TD ALIGN="right"><CODE>42</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_INT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_INT">BTC_INT</A></CODE></TD>
-<TD ALIGN="right"><CODE>24</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_INTEGER">BTC_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>22</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_LANGUAGE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LANGUAGE">BTC_LANGUAGE</A></CODE></TD>
-<TD ALIGN="right"><CODE>39</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_LAST_BUILTIN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LAST_BUILTIN">BTC_LAST_BUILTIN</A></CODE></TD>
-<TD ALIGN="right"><CODE>46</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_LAST_PRIMITIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LAST_PRIMITIVE">BTC_LAST_PRIMITIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>21</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_LONG"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LONG">BTC_LONG</A></CODE></TD>
-<TD ALIGN="right"><CODE>23</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NAME">BTC_NAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>37</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NCNAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NCNAME">BTC_NCNAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>38</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NEGATIVE_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NEGATIVE_INTEGER">BTC_NEGATIVE_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>28</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NMTOKEN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NMTOKEN">BTC_NMTOKEN</A></CODE></TD>
-<TD ALIGN="right"><CODE>45</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NMTOKENS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NMTOKENS">BTC_NMTOKENS</A></CODE></TD>
-<TD ALIGN="right"><CODE>46</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NON_NEGATIVE_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NON_NEGATIVE_INTEGER">BTC_NON_NEGATIVE_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>29</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NON_POSITIVE_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NON_POSITIVE_INTEGER">BTC_NON_POSITIVE_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>27</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NORMALIZED_STRING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NORMALIZED_STRING">BTC_NORMALIZED_STRING</A></CODE></TD>
-<TD ALIGN="right"><CODE>35</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NOT_BUILTIN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN">BTC_NOT_BUILTIN</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_NOTATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NOTATION">BTC_NOTATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_POSITIVE_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_POSITIVE_INTEGER">BTC_POSITIVE_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>30</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_QNAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_QNAME">BTC_QNAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_SHORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_SHORT">BTC_SHORT</A></CODE></TD>
-<TD ALIGN="right"><CODE>25</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_STRING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_STRING">BTC_STRING</A></CODE></TD>
-<TD ALIGN="right"><CODE>12</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_TIME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_TIME">BTC_TIME</A></CODE></TD>
-<TD ALIGN="right"><CODE>15</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_TOKEN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_TOKEN">BTC_TOKEN</A></CODE></TD>
-<TD ALIGN="right"><CODE>36</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_BYTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_BYTE">BTC_UNSIGNED_BYTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>34</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_INT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_INT">BTC_UNSIGNED_INT</A></CODE></TD>
-<TD ALIGN="right"><CODE>32</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_LONG"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_LONG">BTC_UNSIGNED_LONG</A></CODE></TD>
-<TD ALIGN="right"><CODE>31</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_SHORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_SHORT">BTC_UNSIGNED_SHORT</A></CODE></TD>
-<TD ALIGN="right"><CODE>33</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.DT_EXTENSION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#DT_EXTENSION">DT_EXTENSION</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.DT_NOT_DERIVED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED">DT_NOT_DERIVED</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.DT_RESTRICTION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION">DT_RESTRICTION</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.ELEMENT_CONTENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT">ELEMENT_CONTENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.EMPTY_CONTENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT">EMPTY_CONTENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_ENUMERATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_ENUMERATION">FACET_ENUMERATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_FRACTION_DIGITS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_FRACTION_DIGITS">FACET_FRACTION_DIGITS</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_LENGTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_LENGTH">FACET_LENGTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MAX_EXCLUSIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_EXCLUSIVE">FACET_MAX_EXCLUSIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MAX_INCLUSIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_INCLUSIVE">FACET_MAX_INCLUSIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MAX_LENGTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_LENGTH">FACET_MAX_LENGTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MIN_EXCLUSIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_EXCLUSIVE">FACET_MIN_EXCLUSIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MIN_INCLUSIVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_INCLUSIVE">FACET_MIN_INCLUSIVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_MIN_LENGTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_LENGTH">FACET_MIN_LENGTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_PATTERN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_PATTERN">FACET_PATTERN</A></CODE></TD>
-<TD ALIGN="right"><CODE>10</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_TOTAL_DIGITS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_TOTAL_DIGITS">FACET_TOTAL_DIGITS</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.FACET_WHITE_SPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_WHITE_SPACE">FACET_WHITE_SPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.LAST_BASIC_FACET"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_BASIC_FACET">LAST_BASIC_FACET</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.LAST_FACET"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_FACET">LAST_FACET</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.LAST_PROPERTY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_PROPERTY">LAST_PROPERTY</A></CODE></TD>
-<TD ALIGN="right"><CODE>15</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.LIST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#LIST">LIST</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.MIXED_CONTENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT">MIXED_CONTENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.NOT_COMPLEX_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_COMPLEX_TYPE">NOT_COMPLEX_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.NOT_DECIMAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_DECIMAL">NOT_DECIMAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.NOT_SIMPLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_SIMPLE">NOT_SIMPLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.PARTIAL_ORDER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#PARTIAL_ORDER">PARTIAL_ORDER</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.PROPERTY_BOUNDED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_BOUNDED">PROPERTY_BOUNDED</A></CODE></TD>
-<TD ALIGN="right"><CODE>13</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.PROPERTY_CARDINALITY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_CARDINALITY">PROPERTY_CARDINALITY</A></CODE></TD>
-<TD ALIGN="right"><CODE>14</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.PROPERTY_NUMERIC"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_NUMERIC">PROPERTY_NUMERIC</A></CODE></TD>
-<TD ALIGN="right"><CODE>15</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.PROPERTY_ORDERED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_ORDERED">PROPERTY_ORDERED</A></CODE></TD>
-<TD ALIGN="right"><CODE>12</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIMPLE_CONTENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT">SIMPLE_CONTENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_BIG_DECIMAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BIG_DECIMAL">SIZE_BIG_DECIMAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>1000001</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_BIG_INTEGER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BIG_INTEGER">SIZE_BIG_INTEGER</A></CODE></TD>
-<TD ALIGN="right"><CODE>1000000</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_BYTE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BYTE">SIZE_BYTE</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_INT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_INT">SIZE_INT</A></CODE></TD>
-<TD ALIGN="right"><CODE>32</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_LONG"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_LONG">SIZE_LONG</A></CODE></TD>
-<TD ALIGN="right"><CODE>64</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.SIZE_SHORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_SHORT">SIZE_SHORT</A></CODE></TD>
-<TD ALIGN="right"><CODE>16</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.TOTAL_ORDER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#TOTAL_ORDER">TOTAL_ORDER</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.UNION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#UNION">UNION</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.UNORDERED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#UNORDERED">UNORDERED</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.WS_COLLAPSE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#WS_COLLAPSE">WS_COLLAPSE</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.WS_PRESERVE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#WS_PRESERVE">WS_PRESERVE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.WS_REPLACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#WS_REPLACE">WS_REPLACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaType.WS_UNSPECIFIED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaType.html#WS_UNSPECIFIED">WS_UNSPECIFIED</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.BAD_HANDLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_HANDLE">BAD_HANDLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>13</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.BAD_PARTICLE_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_PARTICLE_TYPE">BAD_PARTICLE_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>11</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.INT_TOO_LARGE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#INT_TOO_LARGE">INT_TOO_LARGE</A></CODE></TD>
-<TD ALIGN="right"><CODE>10</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.IO_EXCEPTION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#IO_EXCEPTION">IO_EXCEPTION</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.MALFORMED_CONTENT_MODEL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#MALFORMED_CONTENT_MODEL">MALFORMED_CONTENT_MODEL</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.NESTED_EXCEPTION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NESTED_EXCEPTION">NESTED_EXCEPTION</A></CODE></TD>
-<TD ALIGN="right"><CODE>14</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.NO_RESOURCE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NO_RESOURCE">NO_RESOURCE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.NOT_WRITEABLE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NOT_WRITEABLE">NOT_WRITEABLE</A></CODE></TD>
-<TD ALIGN="right"><CODE>12</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.UNRECOGNIZED_INDEX_ENTRY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#UNRECOGNIZED_INDEX_ENTRY">UNRECOGNIZED_INDEX_ENTRY</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_FILE_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_FILE_TYPE">WRONG_FILE_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MAGIC_COOKIE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAGIC_COOKIE">WRONG_MAGIC_COOKIE</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MAJOR_VERSION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAJOR_VERSION">WRONG_MAJOR_VERSION</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MINOR_VERSION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MINOR_VERSION">WRONG_MINOR_VERSION</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_PROPERTY_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_PROPERTY_TYPE">WRONG_PROPERTY_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_SIMPLE_VARIETY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_SIMPLE_VARIETY">WRONG_SIMPLE_VARIETY</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_ATTR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ATTR">INT_ATTR</A></CODE></TD>
-<TD ALIGN="right"><CODE>6</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_COMMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_COMMENT">INT_COMMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>8</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_END"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_END">INT_END</A></CODE></TD>
-<TD ALIGN="right"><CODE>4</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_ENDDOC"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ENDDOC">INT_ENDDOC</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_NAMESPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NAMESPACE">INT_NAMESPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>7</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_NONE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NONE">INT_NONE</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_PROCINST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_PROCINST">INT_PROCINST</A></CODE></TD>
-<TD ALIGN="right"><CODE>9</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_START"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_START">INT_START</A></CODE></TD>
-<TD ALIGN="right"><CODE>3</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_STARTDOC"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_STARTDOC">INT_STARTDOC</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlCursor.TokenType.INT_TEXT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_TEXT">INT_TEXT</A></CODE></TD>
-<TD ALIGN="right"><CODE>5</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlError.SEVERITY_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR">SEVERITY_ERROR</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlError.SEVERITY_INFO"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_INFO">SEVERITY_INFO</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlError.SEVERITY_WARNING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING">SEVERITY_WARNING</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlObject.EQUAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>0</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlObject.GREATER_THAN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A></CODE></TD>
-<TD ALIGN="right"><CODE>1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlObject.LESS_THAN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A></CODE></TD>
-<TD ALIGN="right"><CODE>-1</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlObject.NOT_EQUAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-<TD ALIGN="right"><CODE>2</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=3><B>org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.CHARACTER_ENCODING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#CHARACTER_ENCODING">CHARACTER_ENCODING</A></CODE></TD>
-<TD ALIGN="right"><CODE>"CHARACTER_ENCODING"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_DOWNLOAD_URLS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_DOWNLOAD_URLS">COMPILE_DOWNLOAD_URLS</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_DOWNLOAD_URLS"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_MDEF_NAMESPACES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_MDEF_NAMESPACES">COMPILE_MDEF_NAMESPACES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_MDEF_NAMESPACES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_NO_PVR_RULE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_PVR_RULE">COMPILE_NO_PVR_RULE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_NO_PVR_RULE"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_NO_UPA_RULE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_UPA_RULE">COMPILE_NO_UPA_RULE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_NO_UPA_RULE"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_NO_VALIDATION"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_VALIDATION">COMPILE_NO_VALIDATION</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_NO_VALIDATION"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.COMPILE_SUBSTITUTE_NAMES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_SUBSTITUTE_NAMES">COMPILE_SUBSTITUTE_NAMES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"COMPILE_SUBSTITUTE_NAMES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.DOCUMENT_SOURCE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#DOCUMENT_SOURCE_NAME">DOCUMENT_SOURCE_NAME</A></CODE></TD>
-<TD ALIGN="right"><CODE>"DOCUMENT_SOURCE_NAME"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.DOCUMENT_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#DOCUMENT_TYPE">DOCUMENT_TYPE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"DOCUMENT_TYPE"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.ENTITY_RESOLVER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#ENTITY_RESOLVER">ENTITY_RESOLVER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"ENTITY_RESOLVER"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.ERROR_LISTENER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#ERROR_LISTENER">ERROR_LISTENER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"ERROR_LISTENER"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_ADDITIONAL_NAMESPACES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_ADDITIONAL_NAMESPACES">LOAD_ADDITIONAL_NAMESPACES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_ADDITIONAL_NAMESPACES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_LINE_NUMBERS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_LINE_NUMBERS">LOAD_LINE_NUMBERS</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_LINE_NUMBERS"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_MESSAGE_DIGEST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_MESSAGE_DIGEST">LOAD_MESSAGE_DIGEST</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_MESSAGE_DIGEST"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_REPLACE_DOCUMENT_ELEMENT">LOAD_REPLACE_DOCUMENT_ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_REPLACE_DOCUMENT_ELEMENT"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_STRIP_COMMENTS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_COMMENTS">LOAD_STRIP_COMMENTS</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_STRIP_COMMENTS"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_STRIP_PROCINSTS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_PROCINSTS">LOAD_STRIP_PROCINSTS</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_STRIP_PROCINSTS"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_STRIP_WHITESPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_WHITESPACE">LOAD_STRIP_WHITESPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_STRIP_WHITESPACE"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_SUBSTITUTE_NAMESPACES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_SUBSTITUTE_NAMESPACES">LOAD_SUBSTITUTE_NAMESPACES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_SUBSTITUTE_NAMESPACES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.LOAD_TRIM_TEXT_BUFFER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_TRIM_TEXT_BUFFER">LOAD_TRIM_TEXT_BUFFER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"LOAD_TRIM_TEXT_BUFFER"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_AGGRESSIVE_NAMESPACES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_AGGRESSIVE_NAMESPACES">SAVE_AGGRESSIVE_NAMESPACES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_AGGRESSIVE_NAMESPACES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_FILTER_PROCINST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_FILTER_PROCINST">SAVE_FILTER_PROCINST</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_FILTER_PROCINST"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_IMPLICIT_NAMESPACES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_IMPLICIT_NAMESPACES">SAVE_IMPLICIT_NAMESPACES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_IMPLICIT_NAMESPACES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_INNER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_INNER">SAVE_INNER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_INNER"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_NAMESPACES_FIRST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_NAMESPACES_FIRST">SAVE_NAMESPACES_FIRST</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_NAMESPACES_FIRST"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_OUTER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_OUTER">SAVE_OUTER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_OUTER"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT">SAVE_PRETTY_PRINT</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_PRETTY_PRINT"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT_INDENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_INDENT">SAVE_PRETTY_PRINT_INDENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_PRETTY_PRINT_INDENT"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT_OFFSET"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_OFFSET">SAVE_PRETTY_PRINT_OFFSET</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_PRETTY_PRINT_OFFSET"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_SUGGESTED_PREFIXES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_SUGGESTED_PREFIXES">SAVE_SUGGESTED_PREFIXES</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_SUGGESTED_PREFIXES"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_SYNTHETIC_DOCUMENT_ELEMENT">SAVE_SYNTHETIC_DOCUMENT_ELEMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_SYNTHETIC_DOCUMENT_ELEMENT"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_USE_DEFAULT_NAMESPACE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_USE_DEFAULT_NAMESPACE">SAVE_USE_DEFAULT_NAMESPACE</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_USE_DEFAULT_NAMESPACE"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.SAVE_USE_OPEN_FRAGMENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_USE_OPEN_FRAGMENT">SAVE_USE_OPEN_FRAGMENT</A></CODE></TD>
-<TD ALIGN="right"><CODE>"SAVE_USE_OPEN_FRAGMENT"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.VALIDATE_ON_SET"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#VALIDATE_ON_SET">VALIDATE_ON_SET</A></CODE></TD>
-<TD ALIGN="right"><CODE>"VALIDATE_ON_SET"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.xmlbeans.XmlOptions.XQUERY_CURRENT_NODE_VAR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/xmlbeans/XmlOptions.html#XQUERY_CURRENT_NODE_VAR">XQUERY_CURRENT_NODE_VAR</A></CODE></TD>
-<TD ALIGN="right"><CODE>"XQUERY_CURRENT_NODE_VAR"</CODE></TD>
-</TR>
-</FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="constant-values.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/deprecated-list.html b/website/src/documentation/content/docs/reference/deprecated-list.html
deleted file mode 100644
index e08e449..0000000
--- a/website/src/documentation/content/docs/reference/deprecated-list.html
+++ /dev/null
@@ -1,750 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-Deprecated List (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Deprecated List (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="deprecated-list.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H2>
-<B>Deprecated API</B></H2>
-</CENTER>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Deprecated Methods</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">org.apache.xmlbeans.XmlDecimal.bigDecimalValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()"><CODE>XmlDecimal.getBigDecimalValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#bigDecimalValue()">org.apache.xmlbeans.SimpleValue.bigDecimalValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()"><CODE>SimpleValue.getBigDecimalValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">org.apache.xmlbeans.XmlInteger.bigIntegerValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()"><CODE>XmlInteger.getBigIntegerValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#bigIntegerValue()">org.apache.xmlbeans.SimpleValue.bigIntegerValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()"><CODE>SimpleValue.getBigIntegerValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlBoolean.html#booleanValue()">org.apache.xmlbeans.XmlBoolean.booleanValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()"><CODE>XmlBoolean.getBooleanValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#booleanValue()">org.apache.xmlbeans.SimpleValue.booleanValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBooleanValue()"><CODE>SimpleValue.getBooleanValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlHexBinary.html#byteArrayValue()">org.apache.xmlbeans.XmlHexBinary.byteArrayValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()"><CODE>XmlHexBinary.getByteArrayValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#byteArrayValue()">org.apache.xmlbeans.XmlBase64Binary.byteArrayValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()"><CODE>XmlBase64Binary.getByteArrayValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#byteArrayValue()">org.apache.xmlbeans.SimpleValue.byteArrayValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()"><CODE>SimpleValue.getByteArrayValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlByte.html#byteValue()">org.apache.xmlbeans.XmlByte.byteValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlByte.html#getByteValue()"><CODE>XmlByte.getByteValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#byteValue()">org.apache.xmlbeans.SimpleValue.byteValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getByteValue()"><CODE>SimpleValue.getByteValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlTime.html#calendarValue()">org.apache.xmlbeans.XmlTime.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#getCalendarValue()"><CODE>XmlTime.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#calendarValue()">org.apache.xmlbeans.XmlGYearMonth.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()"><CODE>XmlGYearMonth.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#calendarValue()">org.apache.xmlbeans.XmlGYear.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getCalendarValue()"><CODE>XmlGYear.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#calendarValue()">org.apache.xmlbeans.XmlGMonthDay.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()"><CODE>XmlGMonthDay.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#calendarValue()">org.apache.xmlbeans.XmlGMonth.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()"><CODE>XmlGMonth.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#calendarValue()">org.apache.xmlbeans.XmlGDay.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getCalendarValue()"><CODE>XmlGDay.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#calendarValue()">org.apache.xmlbeans.XmlDateTime.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()"><CODE>XmlDateTime.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#calendarValue()">org.apache.xmlbeans.XmlDate.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getCalendarValue()"><CODE>XmlDate.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#calendarValue()">org.apache.xmlbeans.SimpleValue.calendarValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getCalendarValue()"><CODE>SimpleValue.getCalendarValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#dateValue()">org.apache.xmlbeans.XmlDateTime.dateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getDateValue()"><CODE>XmlDateTime.getDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#dateValue()">org.apache.xmlbeans.XmlDate.dateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getDateValue()"><CODE>XmlDate.getDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#dateValue()">org.apache.xmlbeans.SimpleValue.dateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getDateValue()"><CODE>SimpleValue.getDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDouble.html#doubleValue()">org.apache.xmlbeans.XmlDouble.doubleValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDouble.html#getDoubleValue()"><CODE>XmlDouble.getDoubleValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#doubleValue()">org.apache.xmlbeans.SimpleValue.doubleValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getDoubleValue()"><CODE>SimpleValue.getDoubleValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#enumValue()">org.apache.xmlbeans.SimpleValue.enumValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getEnumValue()"><CODE>SimpleValue.getEnumValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlFloat.html#floatValue()">org.apache.xmlbeans.XmlFloat.floatValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlFloat.html#getFloatValue()"><CODE>XmlFloat.getFloatValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#floatValue()">org.apache.xmlbeans.SimpleValue.floatValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getFloatValue()"><CODE>SimpleValue.getFloatValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlTime.html#gDateValue()">org.apache.xmlbeans.XmlTime.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#getGDateValue()"><CODE>XmlTime.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#gDateValue()">org.apache.xmlbeans.XmlGYearMonth.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()"><CODE>XmlGYearMonth.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#gDateValue()">org.apache.xmlbeans.XmlGYear.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getGDateValue()"><CODE>XmlGYear.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#gDateValue()">org.apache.xmlbeans.XmlGMonthDay.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()"><CODE>XmlGMonthDay.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#gDateValue()">org.apache.xmlbeans.XmlGMonth.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getGDateValue()"><CODE>XmlGMonth.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#gDateValue()">org.apache.xmlbeans.XmlGDay.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getGDateValue()"><CODE>XmlGDay.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#gDateValue()">org.apache.xmlbeans.XmlDateTime.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getGDateValue()"><CODE>XmlDateTime.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#gDateValue()">org.apache.xmlbeans.XmlDate.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getGDateValue()"><CODE>XmlDate.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#gDateValue()">org.apache.xmlbeans.SimpleValue.gDateValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getGDateValue()"><CODE>SimpleValue.getGDateValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDuration.html#gDurationValue()">org.apache.xmlbeans.XmlDuration.gDurationValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDuration.html#getGDurationValue()"><CODE>XmlDuration.getGDurationValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#gDurationValue()">org.apache.xmlbeans.SimpleValue.gDurationValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getGDurationValue()"><CODE>SimpleValue.getGDurationValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#intValue()">org.apache.xmlbeans.XmlUnsignedShort.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()"><CODE>XmlUnsignedShort.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlInt.html#intValue()">org.apache.xmlbeans.XmlInt.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInt.html#getIntValue()"><CODE>XmlInt.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#intValue()">org.apache.xmlbeans.XmlGYear.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getIntValue()"><CODE>XmlGYear.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#intValue()">org.apache.xmlbeans.XmlGMonth.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getIntValue()"><CODE>XmlGMonth.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#intValue()">org.apache.xmlbeans.XmlGDay.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getIntValue()"><CODE>XmlGDay.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#intValue()">org.apache.xmlbeans.SimpleValue.intValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getIntValue()"><CODE>SimpleValue.getIntValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#listValue()">org.apache.xmlbeans.XmlNMTOKENS.listValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlIDREFS.html#listValue()">org.apache.xmlbeans.XmlIDREFS.listValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlENTITIES.html#listValue()">org.apache.xmlbeans.XmlENTITIES.listValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#listValue()">org.apache.xmlbeans.SimpleValue.listValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>SimpleValue.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#longValue()">org.apache.xmlbeans.XmlUnsignedInt.longValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()"><CODE>XmlUnsignedInt.getLongValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlLong.html#longValue()">org.apache.xmlbeans.XmlLong.longValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlLong.html#getLongValue()"><CODE>XmlLong.getLongValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#longValue()">org.apache.xmlbeans.SimpleValue.longValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getLongValue()"><CODE>SimpleValue.getLongValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#objectSet(java.lang.Object)">org.apache.xmlbeans.SimpleValue.objectSet(Object)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)"><CODE>SimpleValue.setObjectValue(java.lang.Object)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#objectValue()">org.apache.xmlbeans.SimpleValue.objectValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getObjectValue()"><CODE>SimpleValue.getObjectValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlQName.html#qNameValue()">org.apache.xmlbeans.XmlQName.qNameValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlQName.html#getQNameValue()"><CODE>XmlQName.getQNameValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#qNameValue()">org.apache.xmlbeans.SimpleValue.qNameValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getQNameValue()"><CODE>SimpleValue.getQNameValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">org.apache.xmlbeans.XmlDecimal.set(BigDecimal)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>XmlDecimal.setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.math.BigDecimal)">org.apache.xmlbeans.SimpleValue.set(BigDecimal)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>SimpleValue.setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">org.apache.xmlbeans.XmlInteger.set(BigInteger)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)"><CODE>XmlInteger.setBigIntegerValue(java.math.BigInteger)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.math.BigInteger)">org.apache.xmlbeans.SimpleValue.set(BigInteger)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)"><CODE>SimpleValue.setBigIntegerValue(java.math.BigInteger)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlBoolean.html#set(boolean)">org.apache.xmlbeans.XmlBoolean.set(boolean)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)"><CODE>XmlBoolean.setBooleanValue(boolean)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(boolean)">org.apache.xmlbeans.SimpleValue.set(boolean)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)"><CODE>SimpleValue.setBooleanValue(boolean)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlByte.html#set(byte)">org.apache.xmlbeans.XmlByte.set(byte)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlByte.html#setByteValue(byte)"><CODE>XmlByte.setByteValue(byte)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(byte)">org.apache.xmlbeans.SimpleValue.set(byte)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)"><CODE>SimpleValue.setByteValue(byte)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlHexBinary.html#set(byte[])">org.apache.xmlbeans.XmlHexBinary.set(byte[])</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])"><CODE>XmlHexBinary.setByteArrayValue(byte[])</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#set(byte[])">org.apache.xmlbeans.XmlBase64Binary.set(byte[])</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])"><CODE>XmlBase64Binary.setByteArrayValue(byte[])</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(byte[])">org.apache.xmlbeans.SimpleValue.set(byte[])</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])"><CODE>SimpleValue.setByteArrayValue(byte[])</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlTime.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlTime.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)"><CODE>XmlTime.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlGYearMonth.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGYearMonth.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlGYear.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGYear.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlGMonthDay.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGMonthDay.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlGMonth.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGMonth.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlGDay.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGDay.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlDateTime.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)"><CODE>XmlDateTime.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#set(java.util.Calendar)">org.apache.xmlbeans.XmlDate.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)"><CODE>XmlDate.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.Calendar)">org.apache.xmlbeans.SimpleValue.set(Calendar)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)"><CODE>SimpleValue.setCalendarValue(java.util.Calendar)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(java.util.Date)">org.apache.xmlbeans.XmlDateTime.set(Date)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)"><CODE>XmlDateTime.setDateValue(java.util.Date)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#set(java.util.Date)">org.apache.xmlbeans.XmlDate.set(Date)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)"><CODE>XmlDate.setDateValue(java.util.Date)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.Date)">org.apache.xmlbeans.SimpleValue.set(Date)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)"><CODE>SimpleValue.setDateValue(java.util.Date)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDouble.html#set(double)">org.apache.xmlbeans.XmlDouble.set(double)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)"><CODE>XmlDouble.setDoubleValue(double)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(double)">org.apache.xmlbeans.SimpleValue.set(double)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)"><CODE>SimpleValue.setDoubleValue(double)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlFloat.html#set(float)">org.apache.xmlbeans.XmlFloat.set(float)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)"><CODE>XmlFloat.setFloatValue(float)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(float)">org.apache.xmlbeans.SimpleValue.set(float)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)"><CODE>SimpleValue.setFloatValue(float)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlTime.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlTime.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlTime.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlGYearMonth.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGYearMonth.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlGYear.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGYear.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlGMonthDay.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGMonthDay.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlGMonth.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGMonth.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlGDay.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGDay.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlDateTime.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlDateTime.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDate.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.XmlDate.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlDate.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDateSpecification)">org.apache.xmlbeans.SimpleValue.set(GDateSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>SimpleValue.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlDuration.html#set(org.apache.xmlbeans.GDurationSpecification)">org.apache.xmlbeans.XmlDuration.set(GDurationSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>XmlDuration.setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDurationSpecification)">org.apache.xmlbeans.SimpleValue.set(GDurationSpecification)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>SimpleValue.setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#set(int)">org.apache.xmlbeans.XmlUnsignedShort.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)"><CODE>XmlUnsignedShort.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlInt.html#set(int)">org.apache.xmlbeans.XmlInt.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInt.html#setIntValue(int)"><CODE>XmlInt.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGYear.html#set(int)">org.apache.xmlbeans.XmlGYear.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setIntValue(int)"><CODE>XmlGYear.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(int)">org.apache.xmlbeans.XmlGMonth.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)"><CODE>XmlGMonth.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlGDay.html#set(int)">org.apache.xmlbeans.XmlGDay.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setIntValue(int)"><CODE>XmlGDay.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(int)">org.apache.xmlbeans.SimpleValue.set(int)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setIntValue(int)"><CODE>SimpleValue.setIntValue(int)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#set(java.util.List)">org.apache.xmlbeans.XmlNMTOKENS.set(List)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlIDREFS.html#set(java.util.List)">org.apache.xmlbeans.XmlIDREFS.set(List)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlENTITIES.html#set(java.util.List)">org.apache.xmlbeans.XmlENTITIES.set(List)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.List)">org.apache.xmlbeans.SimpleValue.set(List)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)"><CODE>SimpleValue.setListValue(java.util.List)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#set(long)">org.apache.xmlbeans.XmlUnsignedInt.set(long)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)"><CODE>XmlUnsignedInt.setLongValue(long)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlLong.html#set(long)">org.apache.xmlbeans.XmlLong.set(long)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlLong.html#setLongValue(long)"><CODE>XmlLong.setLongValue(long)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(long)">org.apache.xmlbeans.SimpleValue.set(long)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setLongValue(long)"><CODE>SimpleValue.setLongValue(long)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlQName.html#set(javax.xml.namespace.QName)">org.apache.xmlbeans.XmlQName.set(QName)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)"><CODE>XmlQName.setQNameValue(javax.xml.namespace.QName)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(javax.xml.namespace.QName)">org.apache.xmlbeans.SimpleValue.set(QName)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)"><CODE>SimpleValue.setQNameValue(javax.xml.namespace.QName)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#set(short)">org.apache.xmlbeans.XmlUnsignedByte.set(short)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)"><CODE>XmlUnsignedByte.setShortValue(short)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlShort.html#set(short)">org.apache.xmlbeans.XmlShort.set(short)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlShort.html#setShortValue(short)"><CODE>XmlShort.setShortValue(short)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(short)">org.apache.xmlbeans.SimpleValue.set(short)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setShortValue(short)"><CODE>SimpleValue.setShortValue(short)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">org.apache.xmlbeans.XmlAnySimpleType.set(String)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)"><CODE>XmlAnySimpleType.setStringValue(java.lang.String)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.lang.String)">org.apache.xmlbeans.SimpleValue.set(String)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)"><CODE>SimpleValue.setStringValue(java.lang.String)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.StringEnumAbstractBase)">org.apache.xmlbeans.SimpleValue.set(StringEnumAbstractBase)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><CODE>SimpleValue.setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#shortValue()">org.apache.xmlbeans.XmlUnsignedByte.shortValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()"><CODE>XmlUnsignedByte.getShortValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlShort.html#shortValue()">org.apache.xmlbeans.XmlShort.shortValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlShort.html#getShortValue()"><CODE>XmlShort.getShortValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#shortValue()">org.apache.xmlbeans.SimpleValue.shortValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getShortValue()"><CODE>SimpleValue.getShortValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">org.apache.xmlbeans.XmlAnySimpleType.stringValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()"><CODE>XmlAnySimpleType.getStringValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#stringValue()">org.apache.xmlbeans.SimpleValue.stringValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getStringValue()"><CODE>SimpleValue.getStringValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#xlistValue()">org.apache.xmlbeans.XmlNMTOKENS.xlistValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlIDREFS.html#xlistValue()">org.apache.xmlbeans.XmlIDREFS.xlistValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/XmlENTITIES.html#xlistValue()">org.apache.xmlbeans.XmlENTITIES.xlistValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/xmlbeans/SimpleValue.html#xlistValue()">org.apache.xmlbeans.SimpleValue.xlistValue()</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>SimpleValue.getListValue()</CODE></A></I>&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="deprecated-list.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/help-doc.html b/website/src/documentation/content/docs/reference/help-doc.html
deleted file mode 100644
index b6bfdc4..0000000
--- a/website/src/documentation/content/docs/reference/help-doc.html
+++ /dev/null
@@ -1,176 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-API Help (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="API Help (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H1>
-How This API Document Is Organized</H1>
-</CENTER>
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
-Overview</H3>
-<BLOCKQUOTE>
-
-<P>
-The <A HREF="overview-summary.html">Overview</A> page is the front page of this API document and provides a list of all packages with a summary for each.  This page can also contain an overall description of the set of packages.</BLOCKQUOTE>
-<H3>
-Package</H3>
-<BLOCKQUOTE>
-
-<P>
-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
-<LI>Interfaces (italic)<LI>Classes<LI>Exceptions<LI>Errors</UL>
-</BLOCKQUOTE>
-<H3>
-Class/Interface</H3>
-<BLOCKQUOTE>
-
-<P>
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
-<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
-<P>
-<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
-<P>
-<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
-<H3>
-Tree (Class Hierarchy)</H3>
-<BLOCKQUOTE>
-There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
-<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
-</BLOCKQUOTE>
-<H3>
-Deprecated API</H3>
-<BLOCKQUOTE>
-The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
-<H3>
-Index</H3>
-<BLOCKQUOTE>
-The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
-<H3>
-Prev/Next</H3>
-These links take you to the next or previous class, interface, package, or related page.<H3>
-Frames/No Frames</H3>
-These links show and hide the HTML frames.  All pages are available with or without frames.
-<P>
-<H3>
-Serialized Form</H3>
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-<P>
-<FONT SIZE="-1">
-<EM>
-This help file applies to API documentation generated using the standard doclet.</EM>
-</FONT>
-<BR>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/index-all.html b/website/src/documentation/content/docs/reference/index-all.html
deleted file mode 100644
index 418f31e..0000000
--- a/website/src/documentation/content/docs/reference/index-all.html
+++ /dev/null
@@ -1,8043 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:55 PDT 2003 -->
-<TITLE>
-Index (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Index (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_X_">X</A> <A HREF="#___">_</A> <HR>
-<A NAME="_A_"><!-- --></A><H2>
-<B>A</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#acceptedNames()"><B>acceptedNames()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>For element properties the set of names that are accepted for this property
- if this element is the head of a substitution group.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#acceptedStartNames()"><B>acceptedStartNames()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the QNameSet of element names that can be
- accepted at the beginning of this particle.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#add(org.apache.xmlbeans.GDurationSpecification)"><B>add(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Returns a new GDuration which is the sum of this one and the
- supplied duration.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#add(org.apache.xmlbeans.GDurationSpecification)"><B>add(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Adds a duration to this GDate, and returns a new GDate.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#add(int, java.lang.Object)"><B>add(int, Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#add(java.lang.Object)"><B>add(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#add(javax.xml.namespace.QName)"><B>add(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Adds a single QName to this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#addAll(java.util.Collection)"><B>addAll(Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#addAll(int, java.util.Collection)"><B>addAll(int, Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#addAll(org.apache.xmlbeans.QNameSetSpecification)"><B>addAll(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Adds the contents of another QNameSet to this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#addDuration(int, int, int, int, int, int, int, java.math.BigDecimal)"><B>addDuration(int, int, int, int, int, int, int, BigDecimal)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Adds a given duration to the date/time.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#addGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>addGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Adds to this duration.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#addGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>addGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Adds a given duration to the date/time.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#addNamespace(java.lang.String)"><B>addNamespace(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Adds an entire namespace URI of QNames to this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#addToSelection()"><B>addToSelection()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Appends the current location of the cursor to the selection.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#ALL"><B>ALL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:all</a> group.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#ALL"><B>ALL</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The QNameSet containing all QNames.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#ATOMIC"><B>ATOMIC</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Atomic type.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#ATTR"><B>ATTR</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton attribute token type
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#ATTRIBUTE"><B>ATTRIBUTE</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is an attribute
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE"><B>ATTRIBUTE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>An attribute definition.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP"><B>ATTRIBUTE_GROUP</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>An attribute group definition.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#attributeGroups()"><B>attributeGroups()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the attribute groups defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#attributeTypes()"><B>attributeTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the attribute types defined in this loader.
-</DL>
-<HR>
-<A NAME="_B_"><!-- --></A><H2>
-<B>B</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_HANDLE"><B>BAD_HANDLE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_PARTICLE_TYPE"><B>BAD_PARTICLE_TYPE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#beginElement(javax.xml.namespace.QName)"><B>beginElement(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- qualified name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#beginElement(java.lang.String)"><B>beginElement(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- local name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#beginElement(java.lang.String, java.lang.String)"><B>beginElement(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- local name and associating it with the specified namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()"><B>bigDecimalValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()"><CODE>XmlDecimal.getBigDecimalValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#bigDecimalValue()"><B>bigDecimalValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()"><CODE>SimpleValue.getBigDecimalValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#bigDecimalValue()"><B>bigDecimalValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()"><B>bigIntegerValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()"><CODE>XmlInteger.getBigIntegerValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#bigIntegerValue()"><B>bigIntegerValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()"><CODE>SimpleValue.getBigIntegerValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#bigIntegerValue()"><B>bigIntegerValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#blockExtension()"><B>blockExtension()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if extensions of this type cannot be substituted for this type
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html#blockExtension()"><B>blockExtension()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>
-<DD>True if extension is blocked.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#blockRestriction()"><B>blockRestriction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if restrictions of this type cannot be substituted for this type
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html#blockRestriction()"><B>blockRestriction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>
-<DD>True if restriction is blocked.
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html#blockSubstitution()"><B>blockSubstitution()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>
-<DD>True if element substitution is blocked.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html#booleanValue()"><B>booleanValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()"><CODE>XmlBoolean.getBooleanValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#booleanValue()"><B>booleanValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getBooleanValue()"><CODE>SimpleValue.getBooleanValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#booleanValue()"><B>booleanValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_SIMPLE"><B>BTC_ANY_SIMPLE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:anySimpleType, aka <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#type"><CODE>XmlAnySimpleType.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_TYPE"><B>BTC_ANY_TYPE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:anyType, aka <A HREF="org/apache/xmlbeans/XmlObject.html#type"><CODE>XmlObject.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ANY_URI"><B>BTC_ANY_URI</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:anyURI, aka <A HREF="org/apache/xmlbeans/XmlAnyURI.html#type"><CODE>XmlAnyURI.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BASE_64_BINARY"><B>BTC_BASE_64_BINARY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:base64Binary, aka <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BOOLEAN"><B>BTC_BOOLEAN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:boolean, aka <A HREF="org/apache/xmlbeans/XmlBoolean.html#type"><CODE>XmlBoolean.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_BYTE"><B>BTC_BYTE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:byte, aka <A HREF="org/apache/xmlbeans/XmlByte.html#type"><CODE>XmlByte.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DATE"><B>BTC_DATE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:date, aka <A HREF="org/apache/xmlbeans/XmlDate.html#type"><CODE>XmlDate.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME"><B>BTC_DATE_TIME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:dateTime, aka <A HREF="org/apache/xmlbeans/XmlDateTime.html#type"><CODE>XmlDateTime.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DECIMAL"><B>BTC_DECIMAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:decimal, aka <A HREF="org/apache/xmlbeans/XmlDecimal.html#type"><CODE>XmlDecimal.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DOUBLE"><B>BTC_DOUBLE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:double, aka <A HREF="org/apache/xmlbeans/XmlDouble.html#type"><CODE>XmlDouble.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_DURATION"><B>BTC_DURATION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:duration, aka <A HREF="org/apache/xmlbeans/XmlDuration.html#type"><CODE>XmlDuration.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ENTITIES"><B>BTC_ENTITIES</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:ENTITIES, aka <A HREF="org/apache/xmlbeans/XmlENTITIES.html#type"><CODE>XmlENTITIES.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ENTITY"><B>BTC_ENTITY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:ENTITY, aka <A HREF="org/apache/xmlbeans/XmlENTITY.html#type"><CODE>XmlENTITY.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_FIRST_PRIMITIVE"><B>BTC_FIRST_PRIMITIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_FLOAT"><B>BTC_FLOAT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:float, aka <A HREF="org/apache/xmlbeans/XmlFloat.html#type"><CODE>XmlFloat.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_DAY"><B>BTC_G_DAY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:gDay, aka <A HREF="org/apache/xmlbeans/XmlGDay.html#type"><CODE>XmlGDay.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH"><B>BTC_G_MONTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:gMonth, aka <A HREF="org/apache/xmlbeans/XmlGMonth.html#type"><CODE>XmlGMonth.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY"><B>BTC_G_MONTH_DAY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:gMonthDay, aka <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#type"><CODE>XmlGMonthDay.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR"><B>BTC_G_YEAR</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:gYear, aka <A HREF="org/apache/xmlbeans/XmlGYear.html#type"><CODE>XmlGYear.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH"><B>BTC_G_YEAR_MONTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:gYearMonth, aka <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#type"><CODE>XmlGYearMonth.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_HEX_BINARY"><B>BTC_HEX_BINARY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:hexBinary, aka <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_ID"><B>BTC_ID</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:ID, aka <A HREF="org/apache/xmlbeans/XmlID.html#type"><CODE>XmlID.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_IDREF"><B>BTC_IDREF</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:IDREF, aka <A HREF="org/apache/xmlbeans/XmlIDREF.html#type"><CODE>XmlIDREF.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_IDREFS"><B>BTC_IDREFS</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:IDREFS, aka <A HREF="org/apache/xmlbeans/XmlIDREFS.html#type"><CODE>XmlIDREFS.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_INT"><B>BTC_INT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:int, aka <A HREF="org/apache/xmlbeans/XmlInt.html#type"><CODE>XmlInt.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_INTEGER"><B>BTC_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:integer, aka <A HREF="org/apache/xmlbeans/XmlInteger.html#type"><CODE>XmlInteger.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LANGUAGE"><B>BTC_LANGUAGE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:language, aka <A HREF="org/apache/xmlbeans/XmlLanguage.html#type"><CODE>XmlLanguage.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LAST_BUILTIN"><B>BTC_LAST_BUILTIN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LAST_PRIMITIVE"><B>BTC_LAST_PRIMITIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_LONG"><B>BTC_LONG</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:long, aka <A HREF="org/apache/xmlbeans/XmlLong.html#type"><CODE>XmlLong.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NAME"><B>BTC_NAME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:Name, aka <A HREF="org/apache/xmlbeans/XmlName.html#type"><CODE>XmlName.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NCNAME"><B>BTC_NCNAME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:NCName, aka <A HREF="org/apache/xmlbeans/XmlNCName.html#type"><CODE>XmlNCName.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NEGATIVE_INTEGER"><B>BTC_NEGATIVE_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:NegativeInteger, aka <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html#type"><CODE>XmlNegativeInteger.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NMTOKEN"><B>BTC_NMTOKEN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:NMTOKEN, aka <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html#type"><CODE>XmlNMTOKEN.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NMTOKENS"><B>BTC_NMTOKENS</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:NMTOKENS, aka <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#type"><CODE>XmlNMTOKENS.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NON_NEGATIVE_INTEGER"><B>BTC_NON_NEGATIVE_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:nonNegativeInteger, aka <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html#type"><CODE>XmlNonNegativeInteger.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NON_POSITIVE_INTEGER"><B>BTC_NON_POSITIVE_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:nonPositiveInteger, aka <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html#type"><CODE>XmlNonPositiveInteger.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NORMALIZED_STRING"><B>BTC_NORMALIZED_STRING</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:normalizedString, aka <A HREF="org/apache/xmlbeans/XmlNormalizedString.html#type"><CODE>XmlNormalizedString.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN"><B>BTC_NOT_BUILTIN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Not a builtin type
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_NOTATION"><B>BTC_NOTATION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:NOTATION, aka <A HREF="org/apache/xmlbeans/XmlNOTATION.html#type"><CODE>XmlNOTATION.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_POSITIVE_INTEGER"><B>BTC_POSITIVE_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:positiveInteger, aka <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html#type"><CODE>XmlPositiveInteger.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_QNAME"><B>BTC_QNAME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:QName, aka <A HREF="org/apache/xmlbeans/XmlQName.html#type"><CODE>XmlQName.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_SHORT"><B>BTC_SHORT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:short, aka <A HREF="org/apache/xmlbeans/XmlShort.html#type"><CODE>XmlShort.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_STRING"><B>BTC_STRING</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:string, aka <A HREF="org/apache/xmlbeans/XmlString.html#type"><CODE>XmlString.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_TIME"><B>BTC_TIME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:time, aka <A HREF="org/apache/xmlbeans/XmlTime.html#type"><CODE>XmlTime.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_TOKEN"><B>BTC_TOKEN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:token, aka <A HREF="org/apache/xmlbeans/XmlToken.html#type"><CODE>XmlToken.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_BYTE"><B>BTC_UNSIGNED_BYTE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:unsignedByte, aka <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#type"><CODE>XmlUnsignedByte.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_INT"><B>BTC_UNSIGNED_INT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:unsignedInt, aka <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#type"><CODE>XmlUnsignedInt.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_LONG"><B>BTC_UNSIGNED_LONG</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:unsignedLong, aka <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html#type"><CODE>XmlUnsignedLong.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_SHORT"><B>BTC_UNSIGNED_SHORT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:unsignedShort, aka <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#type"><CODE>XmlUnsignedShort.type</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html#byteArrayValue()"><B>byteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()"><CODE>XmlHexBinary.getByteArrayValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#byteArrayValue()"><B>byteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()"><CODE>XmlBase64Binary.getByteArrayValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#byteArrayValue()"><B>byteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()"><CODE>SimpleValue.getByteArrayValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#byteArrayValue()"><B>byteArrayValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlByte.html#byteValue()"><B>byteValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlByte.html#getByteValue()"><CODE>XmlByte.getByteValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#byteValue()"><B>byteValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getByteValue()"><CODE>SimpleValue.getByteValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#byteValue()"><B>byteValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-</DL>
-<HR>
-<A NAME="_C_"><!-- --></A><H2>
-<B>C</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#getCalendarValue()"><CODE>XmlTime.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()"><CODE>XmlGYearMonth.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getCalendarValue()"><CODE>XmlGYear.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()"><CODE>XmlGMonthDay.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()"><CODE>XmlGMonth.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getCalendarValue()"><CODE>XmlGDay.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()"><CODE>XmlDateTime.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getCalendarValue()"><CODE>XmlDate.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getCalendarValue()"><CODE>SimpleValue.getCalendarValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#calendarValue()"><B>calendarValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#canonicalString()"><B>canonicalString()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>The canonical string representation.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#canonicalString()"><B>canonicalString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>The canonical string representation.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#canonicalString()"><B>canonicalString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>The canonical string representation.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#canStartWithElement(javax.xml.namespace.QName)"><B>canStartWithElement(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>True if this particle can start with the given element
- (taking into account the structure of all child particles
- of course).
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEY"><B>CC_KEY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:key</a> constraint.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEYREF"><B>CC_KEYREF</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:keyRef</a> constraint.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_UNIQUE"><B>CC_UNIQUE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:unique</a> constraint.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#CDATA"><B>CDATA</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a CDATA
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)"><B>changeType(SchemaType)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Changes the schema type associated with this data and
- returns a new XmlObject instance whose schemaType is the
- new type.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#changeType(org.apache.xmlbeans.SchemaType)"><B>changeType(SchemaType)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#CHARACTER_ENCODING"><B>CHARACTER_ENCODING</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#CHARACTERS"><B>CHARACTERS</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is characters
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#CHOICE"><B>CHOICE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:choice</a> group.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#clear()"><B>clear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#clear()"><B>clear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Clears this QNameSetBuilder
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#clearBookmark(java.lang.Object)"><B>clearBookmark(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Clears the bookmark whose key is specified, if the bookmark
- exists at this cursor's location.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clearDay()"><B>clearDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the day-of-month.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clearMonth()"><B>clearMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the month-of-year.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#clearSelections()"><B>clearSelections()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Clears this cursor's selection, but does not modify the document.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clearTime()"><B>clearTime()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the time-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clearTimeZone()"><B>clearTimeZone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the timezone.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clearYear()"><B>clearYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the year.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#clone()"><B>clone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Builds another GDurationBuilder with the same value
- as this one.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#clone()"><B>clone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Builds another GDate with the same value
- as this one.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#clone()"><B>clone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Builds another GDateBuilder with the same value
- as this one.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#close()"><B>close()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Frees any resources associated with this Reader.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#COMMENT"><B>COMMENT</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a comment
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#COMMENT"><B>COMMENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton comment token type
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#comparePosition(org.apache.xmlbeans.XmlCursor)"><B>comparePosition(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns an integer indicating whether this cursor is before, 
- after, or at the same position as the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)"><B>compareTo(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Impelements the Comparable interface by comparing two simple
- xml values based on their standard XML schema ordering.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#compareTo(java.lang.Object)"><B>compareTo(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)"><B>compareToGDate(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Comparison to another GDate.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)"><B>compareToGDate(GDateSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Comparison to another GDate.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)"><B>compareToGDate(GDateSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Comparison to another GDate.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>compareToGDuration(GDurationSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Comparison to another GDuration.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>compareToGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Comparison to another GDuration.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>compareToGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Comparison to another GDuration.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><B>compareValue(XmlObject)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>This comparison method is similar to compareTo, but rather
- than throwing a ClassCastException when two values are incomparable,
- it returns the number 2.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><B>compareValue(XmlObject)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_DOWNLOAD_URLS"><B>COMPILE_DOWNLOAD_URLS</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_MDEF_NAMESPACES"><B>COMPILE_MDEF_NAMESPACES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_PVR_RULE"><B>COMPILE_NO_PVR_RULE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_UPA_RULE"><B>COMPILE_NO_UPA_RULE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_VALIDATION"><B>COMPILE_NO_VALIDATION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#COMPILE_SUBSTITUTE_NAMES"><B>COMPILE_SUBSTITUTE_NAMES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#compilePath(java.lang.String)"><B>compilePath(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>compilePath(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached; 
- takes an option for specifying text that indicates the name of context node.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>compilePath(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Compiles an XPath
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#compileQuery(java.lang.String)"><B>compileQuery(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>compileQuery(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached;
- takes an option for specifying text that indicates the context node.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>compileQuery(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Compiles an XQuery
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><B>compileXsd(XmlObject[], SchemaTypeLoader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#computeTime()"><B>computeTime()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Overrides GregorianCalendar.computeTime to apply a different
- default year.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><B>CONSISTENTLY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Applies to all elements for this property.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#contains(java.lang.Object)"><B>contains(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>True if the list is contains an object equal to o.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#contains(javax.xml.namespace.QName)"><B>contains(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>True if the set contains the given QName.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#contains(javax.xml.namespace.QName)"><B>contains(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>True if this ModelTransitionSet contains the given qname.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#contains(javax.xml.namespace.QName)"><B>contains(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>True if this ModelTransitionSet contains the given qname.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#containsAll(java.util.Collection)"><B>containsAll(Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>True if the list is contains all the objects in the given collection.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)"><B>containsAll(QNameSetSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>True if the parameter is a subset of this set.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)"><B>containsAll(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>True if the parameter is a subset of this set.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)"><B>containsAll(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>True if the given set is a subset of this one.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#copy()"><B>copy()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Returns a deep copy of this XmlObject.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#copy()"><B>copy()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#copyChars(int, org.apache.xmlbeans.XmlCursor)"><B>copyChars(int, XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Copies characters to the position immediately after the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#copyXml(org.apache.xmlbeans.XmlCursor)"><B>copyXml(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Copies the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#copyXmlContents(org.apache.xmlbeans.XmlCursor)"><B>copyXmlContents(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Copies the contents of the container (STARTDOC OR START) immediately to
- the right of the cursor to the location specified by the <em>toHere</em> cursor.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#countOfParticleChild()"><B>countOfParticleChild()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>The number of children.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#createCursor()"><B>createCursor()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>Call the createCursor method to create a new cursor which is
- positioned at the same splace as the bookmark.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html#createCursor()"><B>createCursor()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html">XmlCursor.XmlMark</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#currentTokenType()"><B>currentTokenType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the type of the current token.
-</DL>
-<HR>
-<A NAME="_D_"><!-- --></A><H2>
-<B>D</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#dateValue()"><B>dateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getDateValue()"><CODE>XmlDateTime.getDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#dateValue()"><B>dateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getDateValue()"><CODE>XmlDate.getDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#dateValue()"><B>dateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getDateValue()"><CODE>SimpleValue.getDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#dateValue()"><B>dateValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#dispose()"><B>dispose()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Deallocates resources needed to manage the cursor, rendering this cursor
- inoperable.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_NAME"><B>DOCTYPE_NAME</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Doc type name
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_PUBLIC_ID"><B>DOCTYPE_PUBLIC_ID</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Doc type public id
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_SYSTEM_ID"><B>DOCTYPE_SYSTEM_ID</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Doc type system id
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#DOCUMENT_SOURCE_NAME"><B>DOCUMENT_SOURCE_NAME</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#DOCUMENT_TYPE"><B>DOCUMENT_TYPE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#documentProperties()"><B>documentProperties()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns the XmlDocumentProperties object for the document this token
- source is associated with.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#documentProperties()"><B>documentProperties()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#documentTypes()"><B>documentTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the document types defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html#doubleValue()"><B>doubleValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDouble.html#getDoubleValue()"><CODE>XmlDouble.getDoubleValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#doubleValue()"><B>doubleValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getDoubleValue()"><CODE>SimpleValue.getDoubleValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#doubleValue()"><B>doubleValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#DT_EXTENSION"><B>DT_EXTENSION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Derived by extension.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED"><B>DT_NOT_DERIVED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Not derived.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION"><B>DT_RESTRICTION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Derived by restriction.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#DTD"><B>DTD</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a DTD
-</DL>
-<HR>
-<A NAME="_E_"><!-- --></A><H2>
-<B>E</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#ELEMENT"><B>ELEMENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-element">xs:element</a> particle.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#ELEMENT"><B>ELEMENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>An element definition.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><B>ELEMENT_CONTENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Element-only content.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#EMPTY"><B>EMPTY</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The empty QNameSet.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><B>EMPTY_CONTENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Empty content.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#ENCODING"><B>ENCODING</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Document encoding
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#END"><B>END</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton end-element token type
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#END_DOCUMENT"><B>END_DOCUMENT</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is an end document
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#END_ELEMENT"><B>END_ELEMENT</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is an end element
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#END_ENTITY"><B>END_ENTITY</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is the end of a resolved entity
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#ENDDOC"><B>ENDDOC</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton start-document token type
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#ENTITY_DECLARATION"><B>ENTITY_DECLARATION</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates a Entity Declaration
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#ENTITY_REFERENCE"><B>ENTITY_REFERENCE</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is an entity reference
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#ENTITY_RESOLVER"><B>ENTITY_RESOLVER</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#enumEntryForString(java.lang.String)"><B>enumEntryForString(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the string enum entry corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#enumForInt(int)"><B>enumForInt(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#enumForString(java.lang.String)"><B>enumForString(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#enumValue()"><B>enumValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getEnumValue()"><CODE>SimpleValue.getEnumValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#enumValue()"><B>enumValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#EQUAL"><B>EQUAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>EQUAL is 0.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#equals(java.lang.Object)"><B>equals(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Two XmlSimpleLists are equal if all their items are equal.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#equals(java.lang.Object)"><B>equals(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Two GDurations are equal if all their fields are equal.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#equals(java.lang.Object)"><B>equals(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>GDate is an immutable class, and equality is computed based
- on its canonical value.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#ERROR_LISTENER"><B>ERROR_LISTENER</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#excludedQNamesInIncludedURIs()"><B>excludedQNamesInIncludedURIs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>The finite set of QNames that are excluded from the set within namespaces
- that are otherwise included.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#excludedQNamesInIncludedURIs()"><B>excludedQNamesInIncludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#excludedQNamesInIncludedURIs()"><B>excludedQNamesInIncludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The set of QNames excluded from the set even though they are within
- a namespace that is otherwise fully included in the set.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#excludedURIs()"><B>excludedURIs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>The finite set of namespace URIs that are almost completely excluded from
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#excludedURIs()"><B>excludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#excludedURIs()"><B>excludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Namespaces that are fully excluded from the set except for a finite
- number of individual QName exceptions.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)"><B>execQuery(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Executes a query.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#execQuery(java.lang.String)"><B>execQuery(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Executes the specified XQuery expression against the XML this
- cursor is in.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#execQuery(java.lang.String)"><B>execQuery(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>execQuery(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Executes a query with options.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>execQuery(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Executes the specified XQuery expression against the XML this
- cursor is in, and using the specified options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>execQuery(String, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#extendsJavaArray()"><B>extendsJavaArray()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>True if there is a Java getter that returns an array.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#extendsJavaOption()"><B>extendsJavaOption()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>True if there is an Java isSet method that tests for presence.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#extendsJavaSingleton()"><B>extendsJavaSingleton()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>True if there is a Java getter that returns a singleton.
-</DL>
-<HR>
-<A NAME="_F_"><!-- --></A><H2>
-<B>F</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_ENUMERATION"><B>FACET_ENUMERATION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:enumeration facet - use <A HREF="org/apache/xmlbeans/SchemaType.html#getEnumerationValues()"><CODE>SchemaType.getEnumerationValues()</CODE></A> instead
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_FRACTION_DIGITS"><B>FACET_FRACTION_DIGITS</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:fractionDigits facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_LENGTH"><B>FACET_LENGTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:length facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_EXCLUSIVE"><B>FACET_MAX_EXCLUSIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:maxExclusive facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_INCLUSIVE"><B>FACET_MAX_INCLUSIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:maxInclusive facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MAX_LENGTH"><B>FACET_MAX_LENGTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:maxLength facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_EXCLUSIVE"><B>FACET_MIN_EXCLUSIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:minExclusive facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_INCLUSIVE"><B>FACET_MIN_INCLUSIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:minInclusive facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_MIN_LENGTH"><B>FACET_MIN_LENGTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:minLength facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_PATTERN"><B>FACET_PATTERN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:pattern facet - use <A HREF="org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)"><CODE>SchemaType.matchPatternFacet(java.lang.String)</CODE></A> instead
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_TOTAL_DIGITS"><B>FACET_TOTAL_DIGITS</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:totalDigits facet
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#FACET_WHITE_SPACE"><B>FACET_WHITE_SPACE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>xs:whiteSpace facet - use <A HREF="org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>SchemaType.getWhiteSpaceRule()</CODE></A> instead
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html"><B>FilterXmlObject</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>.<DD>A FilterXmlObject delegates to some other XmlObject, which it can use as
- its basic source of data, possibly transforming the data along the way or
- providing additional functionality.<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#FilterXmlObject()"><B>FilterXmlObject()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#finalExtension()"><B>finalExtension()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if other types cannot extend this type (only for complex types)
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#finalExtension()"><B>finalExtension()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>True if using this element as the head of a substitution
- group for a substitution via type extension is prohibited.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#finalList()"><B>finalList()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if list derivation of this type is prohibited (only for simple types)
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#finalRestriction()"><B>finalRestriction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if other types cannot restrict this type
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#finalRestriction()"><B>finalRestriction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>True if using this element as the head of a substitution
- group for a substitution via type restriction is prohibited.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#finalUnion()"><B>finalUnion()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if union derivation of this type is prohibited (only for simple types)
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttribute(javax.xml.namespace.QName)"><B>findAttribute(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the global attribute defintion with the given name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroup(javax.xml.namespace.QName)"><B>findAttributeGroup(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the attribute group defintion with the given name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroupRef(javax.xml.namespace.QName)"><B>findAttributeGroupRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeRef(javax.xml.namespace.QName)"><B>findAttributeRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeType(javax.xml.namespace.QName)"><B>findAttributeType(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the attribute type containing the given attribute name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeTypeRef(javax.xml.namespace.QName)"><B>findAttributeTypeRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentType(javax.xml.namespace.QName)"><B>findDocumentType(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the document type rooted at the given element name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentTypeRef(javax.xml.namespace.QName)"><B>findDocumentTypeRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findElement(javax.xml.namespace.QName)"><B>findElement(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the global element defintion with the given name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findElementRef(javax.xml.namespace.QName)"><B>findElementRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findIdentityConstraintRef(javax.xml.namespace.QName)"><B>findIdentityConstraintRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroup(javax.xml.namespace.QName)"><B>findModelGroup(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the model group defintion with the given name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroupRef(javax.xml.namespace.QName)"><B>findModelGroupRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findType(javax.xml.namespace.QName)"><B>findType(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns the type with the given name, or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#findTypeRef(javax.xml.namespace.QName)"><B>findTypeRef(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Used for on-demand loading.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.html#floatValue()"><B>floatValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlFloat.html#getFloatValue()"><CODE>XmlFloat.getFloatValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#floatValue()"><B>floatValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getFloatValue()"><CODE>SimpleValue.getFloatValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#floatValue()"><B>floatValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#forArray(javax.xml.namespace.QName[])"><B>forArray(QName[])</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a QNameSet based on the given array of included QNames
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forCursor(java.lang.String, int, org.apache.xmlbeans.XmlCursor)"><B>forCursor(String, int, XmlCursor)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with the given severity, located at the XmlCursor.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forCursor(java.lang.String, org.apache.xmlbeans.XmlCursor)"><B>forCursor(String, XmlCursor)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, located at the XmlCursor, with <A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>XmlError.SEVERITY_ERROR</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html#forInt(int)"><B>forInt(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A>
-<DD>Returns the singleton for an int code, or null if none.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forLocation(java.lang.String, int, java.lang.String, int, int, int)"><B>forLocation(String, int, String, int, int, int)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with the given severity, located at a specific point in the given file.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forLocation(java.lang.String, java.lang.String, int, int, int)"><B>forLocation(String, String, int, int, int)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, located at a specific point in the given file and <A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>XmlError.SEVERITY_ERROR</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forLocationAndCursor(java.lang.String, int, java.lang.String, int, int, int, org.apache.xmlbeans.XmlCursor)"><B>forLocationAndCursor(String, int, String, int, int, int, XmlCursor)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with the given severity, located at the given physcial location and XmlCursor.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#formattedFileName(java.lang.String, java.net.URI)"><B>formattedFileName(String, URI)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Tries to produce a nicely formatted filename from the given string.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forMessage(java.lang.String)"><B>forMessage(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with no location and <A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>XmlError.SEVERITY_ERROR</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forMessage(java.lang.String, int)"><B>forMessage(String, int)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with no location and the given severity.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forObject(java.lang.String, int, org.apache.xmlbeans.XmlObject)"><B>forObject(String, int, XmlObject)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with the given severity, located at the XmlObject.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forObject(java.lang.String, org.apache.xmlbeans.XmlObject)"><B>forObject(String, XmlObject)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, located at the XmlObject, with <A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>XmlError.SEVERITY_ERROR</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#forSets(java.util.Set, java.util.Set, java.util.Set, java.util.Set)"><B>forSets(Set, Set, Set, Set)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a QNameSet based on the given sets of excluded URIs,
- included URIs, excluded QNames in included namespaces, and included
- QNames in excluded namespaces.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forSource(java.lang.String, int, java.lang.String)"><B>forSource(String, int, String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, with the given severity, located in the given file.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#forSource(java.lang.String, java.lang.String)"><B>forSource(String, String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns an XmlError for the given message, located in the given file and <A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>XmlError.SEVERITY_ERROR</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#forSpecification(org.apache.xmlbeans.QNameSetSpecification)"><B>forSpecification(QNameSetSpecification)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a QNameSet with the same contents as the given
- QNameSetSpecification.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html#forString(java.lang.String)"><B>forString(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A>
-<DD>Returns the singleton for a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>, or null if none.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#forWildcardNamespaceString(java.lang.String, java.lang.String)"><B>forWildcardNamespaceString(String, String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a QNameSet corresponding to the given wildcard namespace string.
-</DL>
-<HR>
-<A NAME="_G_"><!-- --></A><H2>
-<B>G</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/GDate.html"><B>GDate</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>.<DD>Represents an XML Schema-compatible Gregorian date.<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(java.util.Calendar)"><B>GDate(Calendar)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs a GDate based on a java.util.Calendar.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(java.lang.CharSequence)"><B>GDate(CharSequence)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs a GDate based on a lexical representation.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(java.util.Date)"><B>GDate(Date)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs a GDate based on a java.util.Date.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(org.apache.xmlbeans.GDateSpecification)"><B>GDate(GDateSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs a GDate based on another GDateSpecification.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(int, int, int, int, int, int, java.math.BigDecimal)"><B>GDate(int, int, int, int, int, int, BigDecimal)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs a GDate with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#GDate(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><B>GDate(int, int, int, int, int, int, BigDecimal, int, int, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Constructs an absolute GDate with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html"><B>GDateBuilder</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>.<DD>Used to build <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDates</CODE></A>.<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder()"><B>GDateBuilder()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Constructs a GDateBuilder specifying no date or time
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.util.Calendar)"><B>GDateBuilder(Calendar)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.lang.CharSequence)"><B>GDateBuilder(CharSequence)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Constructs a GDateBuilder from a lexical
- representation.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.util.Date)"><B>GDateBuilder(Date)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Constructs a GDateBuilder based on a java.util.Date.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(org.apache.xmlbeans.GDateSpecification)"><B>GDateBuilder(GDateSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Construts a GDateBuilder by copying another GDateSpecificaiton.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal)"><B>GDateBuilder(int, int, int, int, int, int, BigDecimal)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Constructs a GDateBuilder with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><B>GDateBuilder(int, int, int, int, int, int, BigDecimal, int, int, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Constructs an absolute GDateBuilder with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html"><B>GDateSpecification</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>.<DD>Represents an XML Schema-compatible Gregorian date.<DT><A HREF="org/apache/xmlbeans/XmlTime.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#getGDateValue()"><CODE>XmlTime.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()"><CODE>XmlGYearMonth.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getGDateValue()"><CODE>XmlGYear.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()"><CODE>XmlGMonthDay.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getGDateValue()"><CODE>XmlGMonth.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getGDateValue()"><CODE>XmlGDay.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#getGDateValue()"><CODE>XmlDateTime.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#getGDateValue()"><CODE>XmlDate.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getGDateValue()"><CODE>SimpleValue.getGDateValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#gDateValue()"><B>gDateValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDuration.html"><B>GDuration</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>.<DD>Represents an XML Schema-compatible duration.<DT><A HREF="org/apache/xmlbeans/GDuration.html#GDuration()"><B>GDuration()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Constructs an empty GDuration representing zero seconds.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#GDuration(java.lang.CharSequence)"><B>GDuration(CharSequence)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Constructs a GDuration from a lexical
- representation.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#GDuration(org.apache.xmlbeans.GDurationSpecification)"><B>GDuration(GDurationSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Constructs a GDuration from another GDurationSpecification.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#GDuration(int, int, int, int, int, int, int, java.math.BigDecimal)"><B>GDuration(int, int, int, int, int, int, int, BigDecimal)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Constructs a GDuration with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html"><B>GDurationBuilder</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>.<DD>Used to build <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDurations</CODE></A>.<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder()"><B>GDurationBuilder()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Constructs an empty GDurationBuilder representing zero seconds.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(org.apache.xmlbeans.GDurationSpecification)"><B>GDurationBuilder(GDurationSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Constructs a GDurationBuilder from another GDurationBuilderSpecification.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(int, int, int, int, int, int, int, java.math.BigDecimal)"><B>GDurationBuilder(int, int, int, int, int, int, int, BigDecimal)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Constructs a GDurationBuilder with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(java.lang.String)"><B>GDurationBuilder(String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Constructs a GDuration from a lexical
- representation.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html"><B>GDurationSpecification</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>.<DD>Represents an XML Schema-compatible duration.<DT><A HREF="org/apache/xmlbeans/XmlDuration.html#gDurationValue()"><B>gDurationValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDuration.html#getGDurationValue()"><CODE>XmlDuration.getGDurationValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#gDurationValue()"><B>gDurationValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getGDurationValue()"><CODE>SimpleValue.getGDurationValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#gDurationValue()"><B>gDurationValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#get()"><B>get()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#get(int)"><B>get(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns the object at the specified position in this list.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#get(int)"><B>get(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Gets the value for a given time field.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#get(java.lang.Object)"><B>get(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to get a generic option
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#get(java.lang.Object)"><B>get(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns a value previously attached to a document using set.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getAllBookmarkRefs(java.util.Collection)"><B>getAllBookmarkRefs(Collection)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Retrieves all the bookmarks at this location, adding them to
- the specified collection.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getAllNamespaces(java.util.Map)"><B>getAllNamespaces(Map)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Adds to the specified map, all the namespaces in scope at the container
- where this cursor is positioned.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAnonymousTypes()"><B>getAnonymousTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The array of inner (anonymous) types defined
- within this type.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAnonymousUnionMemberOrdinal()"><B>getAnonymousUnionMemberOrdinal()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For anonymous types defined inside a union only: gets
- the integer indicating the declaration order of this
- type within the outer union type, or zero if this is
- not applicable.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#getAttribute(javax.xml.namespace.QName)"><B>getAttribute(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Returns the attribute with the given name.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeCount()"><B>getAttributeCount()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the count of attributes on this START_ELEMENT,
- this method is only valid on a START_ELEMENT.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAttributeModel()"><B>getAttributeModel()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the attribute model for this complex type (with simple or complex content).
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeName(int)"><B>getAttributeName(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the localName of the attribute at the provided
- index
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeNamespace(int)"><B>getAttributeNamespace(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the namespace of the attribute at the provided
- index
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributePrefix(int)"><B>getAttributePrefix(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the prefix of this attribute at the
- provided index
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAttributeProperties()"><B>getAttributeProperties()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns all the SchemaProperties corresponding to attributes.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAttributeProperty(javax.xml.namespace.QName)"><B>getAttributeProperty(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns a SchemaProperty corresponding to an attribute within this
- complex type by looking up the attribute name.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeQName(int)"><B>getAttributeQName(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#getAttributes()"><B>getAttributes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Returns an array containing all the attributes in the model.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getAttributeText(javax.xml.namespace.QName)"><B>getAttributeText(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>When at a START or STARTDOC, returns the attribute text for the given
- attribute.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeTextCharacters(int, int, char[], int, int)"><B>getAttributeTextCharacters(int, int, char[], int, int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeType(int)"><B>getAttributeType(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the XML type of the attribute at the provided
- index
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAttributeType(javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)"><B>getAttributeType(QName, SchemaTypeLoader)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the type of an attribute based on the attribute name and
- the type system within which (wildcard) names are resolved.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getAttributeTypeAttributeName()"><B>getAttributeTypeAttributeName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the attribute qname if this is a attribute type,
- or null otherwise.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeValue(int)"><B>getAttributeValue(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the value of the attribute at the
- index
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getAttributeValue(java.lang.String, java.lang.String)"><B>getAttributeValue(String, String)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the normalized attribute value of the
- attribute with the namespace and localName
- If the namespaceURI is null the namespace
- is not checked for equality
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getBaseEnumType()"><B>getBaseEnumType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>If this is a string enumeration, returns the most basic base schema
- type that this enuemration is based on.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getBaseType()"><B>getBaseType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns base restriction or extension type.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()"><B>getBigDecimalValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()"><B>getBigDecimalValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getBigDecimalValue()"><B>getBigDecimalValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()"><B>getBigIntegerValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()"><B>getBigIntegerValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getBigIntegerValue()"><B>getBigIntegerValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getBookmark(java.lang.Object)"><B>getBookmark(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Retrieves the bookmark with the specified key 
- at this cursor's location.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()"><B>getBooleanValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>
-<DD>Returns this value as a boolean
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getBooleanValue()"><B>getBooleanValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a boolean.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getBooleanValue()"><B>getBooleanValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getBuiltinTypeCode()"><B>getBuiltinTypeCode()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns an integer for builtin types that can be used
- for quick comparison.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getBuiltinTypeCode()"><B>getBuiltinTypeCode()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getBuiltinTypeCode()"><B>getBuiltinTypeCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getBuiltinTypeCode()"><B>getBuiltinTypeCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#getBuiltinTypeSystem()"><B>getBuiltinTypeSystem()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the builtin type system.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()"><B>getByteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>
-<DD>Returns this value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()"><B>getByteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>
-<DD>Returns this value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()"><B>getByteArrayValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getByteArrayValue()"><B>getByteArrayValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlByte.html#getByteValue()"><B>getByteValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>
-<DD>Returns this value as a byte
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getByteValue()"><B>getByteValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a byte.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getByteValue()"><B>getByteValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getCalendar()"><B>getCalendar()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Retrieves the value of the current time as an <A HREF="org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getCalendar()"><B>getCalendar()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Retrieves the value of the current time as an <A HREF="org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getCalendar()"><B>getCalendar()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Retrieves the value of the current time as an <A HREF="org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getCalendarValue()"><B>getCalendarValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getCharacterEncodingScheme()"><B>getCharacterEncodingScheme()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the character encoding declared on the xml declaration
- Returns null if none was declared
-<DT><A HREF="javax/xml/stream/Location.html#getCharacterOffset()"><B>getCharacterOffset()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html">Location</A>
-<DD>Return the byte or character offset into the input source this location
- is pointing to.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getChars()"><B>getChars()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns characters to the right of the cursor up to the next token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getChars(char[], int, int)"><B>getChars(char[], int, int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Copies characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#getClassLoader()"><B>getClassLoader()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the classloader used by this loader for resolving types.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#getCode()"><B>getCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>Returns the reason for the failure, given by one of the numeric constants in this class
-<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#getColumn()"><B>getColumn()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Returns the 1-based column number, or -1 if not known.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getColumn()"><B>getColumn()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the column number of the error, if available, -1 if not.
-<DT><A HREF="javax/xml/stream/Location.html#getColumnNumber()"><B>getColumnNumber()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html">Location</A>
-<DD>Return the column number where the current event ends,
- returns -1 if none is available.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getCommonBaseType(org.apache.xmlbeans.SchemaType)"><B>getCommonBaseType(SchemaType)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns common base type with the given type.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()"><B>getComponent()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#getComponentRef()"><B>getComponentRef()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>Used for on-demand loading of schema components.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>
-<DD>Returns SchemaComponent.GROUP.
-<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>Returns the type code for the schema object, either <A HREF="org/apache/xmlbeans/SchemaComponent.html#TYPE"><CODE>SchemaComponent.TYPE</CODE></A>,
- <A HREF="org/apache/xmlbeans/SchemaComponent.html#ELEMENT"><CODE>SchemaComponent.ELEMENT</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE"><CODE>SchemaComponent.ATTRIBUTE</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP"><CODE>SchemaComponent.ATTRIBUTE_GROUP</CODE></A>,
- <A HREF="org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP"><CODE>SchemaComponent.MODEL_GROUP</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT"><CODE>SchemaComponent.IDENTITY_CONSTRAINT</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaComponent.html#NOTATION"><CODE>SchemaComponent.NOTATION</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>
-<DD>Returns SchemaComponent.ATTRIBUTE_GROUP.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#getComponentType()"><B>getComponentType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getConstraintCategory()"><B>getConstraintCategory()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return the constraint category.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getContainerField()"><B>getContainerField()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The parent schema element.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getContainerType()"><B>getContainerType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>The type within which this property appears
-<DT><A HREF="org/apache/xmlbeans/XmlSaxHandler.html#getContentHandler()"><B>getContentHandler()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A>
-<DD>The ContentHandler expecting SAX content events.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getContentModel()"><B>getContentModel()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the complex content model for this complex type (with complex content).
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getContentType()"><B>getContentType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns <A HREF="org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><CODE>SchemaType.EMPTY_CONTENT</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><CODE>SchemaType.SIMPLE_CONTENT</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><CODE>SchemaType.ELEMENT_CONTENT</CODE></A>, or
- <A HREF="org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><CODE>SchemaType.MIXED_CONTENT</CODE></A> for complex types.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#getContextTypeLoader()"><B>getContextTypeLoader()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Gets the SchemaTypeLoader based on the current thread's context
- ClassLoader.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getCursorLocation()"><B>getCursorLocation()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns a location of the error as an <A HREF="org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>, null if
- not available.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getDate()"><B>getDate()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getDate()"><B>getDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getDate()"><B>getDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#getDateValue()"><B>getDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#getDateValue()"><B>getDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getDateValue()"><B>getDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getDateValue()"><B>getDateValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getDay()"><B>getDay()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the day-of-month component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getDay()"><B>getDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the day-of-month component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getDay()"><B>getDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the day-of-month component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getDay()"><B>getDay()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the day-of-month.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getDay()"><B>getDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the day-of-month.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getDay()"><B>getDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the day-of-month.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><B>getDecimalSize()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For atomic numeric restrictions of decimal only: the
- numeric size category.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getDefaultText()"><B>getDefaultText()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns the default or fixed value,
- if it is consistent.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getDefaultText()"><B>getDefaultText()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: returns the default (or fixed) text value
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getDefaultText()"><B>getDefaultText()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>The default value as plain text.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getDefaultValue()"><B>getDefaultValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns the default or fixed value as a strongly-typed value,
- if it is consistent.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getDefaultValue()"><B>getDefaultValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: returns the default (or fixed) strongly-typed value
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getDefaultValue()"><B>getDefaultValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>The default value as a strongly-typed value.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#getDefaultYear()"><B>getDefaultYear()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Returns the default year that is used when no year is specified.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getDerivationType()"><B>getDerivationType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns an integer for the derivation type, either 
- <A HREF="org/apache/xmlbeans/SchemaType.html#DT_EXTENSION"><CODE>SchemaType.DT_EXTENSION</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION"><CODE>SchemaType.DT_RESTRICTION</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED"><CODE>SchemaType.DT_NOT_DERIVED</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getDerivedProperties()"><B>getDerivedProperties()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the SchemaProperties defined by this complex type,
- exclusive of the base type (if any).
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getDocChangeStamp()"><B>getDocChangeStamp()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the current change stamp for the document the current cursor is in.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypeName()"><B>getDoctypeName()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the DOCTYPE name used in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypePublicId()"><B>getDoctypePublicId()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the DOCTYPE public ID used in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypeSystemId()"><B>getDoctypeSystemId()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the DOCTYPE system ID used in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getDocumentElementName()"><B>getDocumentElementName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the document element name if this is a document type,
- or null otherwise.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html#getDoubleValue()"><B>getDoubleValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>
-<DD>Returns this value as a double
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getDoubleValue()"><B>getDoubleValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a double.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getDoubleValue()"><B>getDoubleValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getElementProperties()"><B>getElementProperties()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns all the SchemaProperties corresponding to elements.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getElementProperty(javax.xml.namespace.QName)"><B>getElementProperty(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns a SchemaProperty corresponding to an element within this
- complex type by looking up the element name.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getElementText()"><B>getElementText()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Reads the content of a text-only element.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getElementType(javax.xml.namespace.QName, javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)"><B>getElementType(QName, QName, SchemaTypeLoader)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the type of a child element based on the element name and
- an xsi:type attribute (and the type system within which names are
- resolved).
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getEncoding()"><B>getEncoding()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Return input encoding if known or null if unknown.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getEncoding()"><B>getEncoding()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the encoding used for the XML document, as an ISO encoding name.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getEnumerationValues()"><B>getEnumerationValues()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the array of valid objects from the
- enumeration facet, null if no enumeration defined.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getEnumJavaClass()"><B>getEnumJavaClass()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The Java class corresponding to the enumeration type for this schema type,
- if applicable (or null if not an enumeration).
-<DT><A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html#getEnumName()"><B>getEnumName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>
-<DD>A capitalized name to use for the enumeration constant name
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getEnumValue()"><B>getEnumValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getEnumValue()"><B>getEnumValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#getError()"><B>getError()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Returns the first <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> that caused this exception, if any.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#getError()"><B>getError()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Returns the first <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#getErrors()"><B>getErrors()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Returns the collection of <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused this exception, if any.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#getErrors()"><B>getErrors()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Returns the collection of <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getEventType()"><B>getEventType()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns an integer code that indicates the type
- of the event the cursor is pointing to.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getFacet(int)"><B>getFacet(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the value of the given facet, or null if
- none is set.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getFieldPath(int)"><B>getFieldPath(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return a compiled xpath object for the field.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getFields()"><B>getFields()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return (a copy of) the xpaths for all the fields.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getFlags()"><B>getFlags()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getFlags()"><B>getFlags()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getFlags()"><B>getFlags()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.html#getFloatValue()"><B>getFloatValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>
-<DD>Returns this value as a float
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getFloatValue()"><B>getFloatValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a float.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getFloatValue()"><B>getFloatValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getFraction()"><B>getFraction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getFraction()"><B>getFraction()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getFraction()"><B>getFraction()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getFraction()"><B>getFraction()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getFraction()"><B>getFraction()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getFraction()"><B>getFraction()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the fraction-of-second.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getFullJavaImplName()"><B>getFullJavaImplName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The fully-qualified Java type name of the implementation class.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getFullJavaName()"><B>getFullJavaName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The fully-qualified Java type name of the class.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getGDateValue()"><B>getGDateValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.html#getGDurationValue()"><B>getGDurationValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>
-<DD>Returns this value as a <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getGDurationValue()"><B>getGDurationValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getGDurationValue()"><B>getGDurationValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html#getHook()"><B>getHook()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html">XmlFactoryHook.ThreadContext</A>
-<DD>Returns the current thread's hook, or null if none.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getHour()"><B>getHour()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the hour-of-day component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getHour()"><B>getHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the hour-of-day component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getHour()"><B>getHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the hour-of-day component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getHour()"><B>getHour()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the hour-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getHour()"><B>getHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the hour-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getHour()"><B>getHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the hour-of-day.
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html#getIdentityConstraints()"><B>getIdentityConstraints()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>
-<DD>Returns all the Key, KeyRef, and Unique constraints
- on this element.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getIntMaxOccurs()"><B>getIntMaxOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the maxOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getIntMinOccurs()"><B>getIntMinOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the minOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>
-<DD>Returns this value as an int
-<DT><A HREF="org/apache/xmlbeans/XmlInt.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>
-<DD>Returns this value as an int
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Returns this value as an int from 1-31
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Returns this value as an int from 1-12
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Returns this value as an int from 1-31
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as an int.
-<DT><A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>
-<DD>An integer to represent this choice in the enumeration
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getIntValue()"><B>getIntValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getJavaClass()"><B>getJavaClass()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The Java class corresponding to this schema type.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getJavaPropertyName()"><B>getJavaPropertyName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>The Java name for this property.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getJavaSetterDelimiter()"><B>getJavaSetterDelimiter()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns the set of element names which should appear strictly after all
- occurences of the elements described by this property.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><B>getJavaTypeCode()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns the natural Java type for this property.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getJulianDate()"><B>getJulianDate()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Returns the Julian date corresponding to this Gregorian date.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getJulianDate()"><B>getJulianDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Returns the Julian date corresponding to this Gregorian date.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getJulianDate()"><B>getJulianDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Returns the Julian date corresponding to this Gregorian date.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#getKey()"><B>getKey()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>The default key for bookmarks is the class which implements
- them.
-<DT><A HREF="org/apache/xmlbeans/XmlSaxHandler.html#getLexicalHandler()"><B>getLexicalHandler()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A>
-<DD>The LexicalHandler expecting SAX lexical events.
-<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#getLine()"><B>getLine()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Returns the 1-based line number, or -1 if not known.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getLine()"><B>getLine()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the line number of the error, if available, -1 if not.
-<DT><A HREF="javax/xml/stream/Location.html#getLineNumber()"><B>getLineNumber()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html">Location</A>
-<DD>Return the line number where the current event ends,
- returns -1 if none is available.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getListItemType()"><B>getListItemType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For list types only: get the item type.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><B>getListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><B>getListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><B>getListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getListValue()"><B>getListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getListValue()"><B>getListValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getLocalName()"><B>getLocalName()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the (local) name of the current event.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getLocation()"><B>getLocation()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Return the current location of the processor.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#getLocation()"><B>getLocation()</B></A> - 
-Method in class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Gets the location of the exception
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getLocation(java.lang.Object)"><B>getLocation(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns a location object of the given type.
-<DT><A HREF="javax/xml/stream/Location.html#getLocationURI()"><B>getLocationURI()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html">Location</A>
-<DD>The URI this Location is pointing to, or null if no URI is available
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()"><B>getLongValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>
-<DD>Returns this value as a long
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html#getLongValue()"><B>getLongValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>
-<DD>Returns this value as a long
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getLongValue()"><B>getLongValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a long.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getLongValue()"><B>getLongValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getMaxOccurs()"><B>getMaxOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns a summarized minimum occurrance number.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getMaxOccurs()"><B>getMaxOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the maxOccurs value for this particle, or null if it
- is unbounded.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getMaxOccurs()"><B>getMaxOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>Returns the maxOccurs value for this particle, or null if it
- is unbounded.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getMessage()"><B>getMessage()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the error message without location information.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getMessageDigest()"><B>getMessageDigest()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the message digest used to summarize the document.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getMillisecond()"><B>getMillisecond()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the rounded millisecond value.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getMillisecond()"><B>getMillisecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the rounded millisecond value.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getMillisecond()"><B>getMillisecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the rounded millisecond value.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getMinOccurs()"><B>getMinOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns a summarized minimum occurrance number.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getMinOccurs()"><B>getMinOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the minOccurs value for this particle.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getMinOccurs()"><B>getMinOccurs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>Returns the minOccurs value for this particle.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getMinute()"><B>getMinute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the minute-of-hour component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getMinute()"><B>getMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the minute-of-hour component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getMinute()"><B>getMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the minute-of-hour component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getMinute()"><B>getMinute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the minute-of-hour.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getMinute()"><B>getMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the minute-of-hour.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getMinute()"><B>getMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the minute-of-hour.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getMonth()"><B>getMonth()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the month-of-year component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getMonth()"><B>getMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the month-of-year component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getMonth()"><B>getMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the month-of-year component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getMonth()"><B>getMonth()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the month-of-year.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getMonth()"><B>getMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the month-of-year.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getMonth()"><B>getMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the month-of-year.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getName()"><B>getName()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the name of the current token.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the name of this loader.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The name used to describe the type in the schema.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>The name of this element or attribute
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: the QName for the element use.
-<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>
-<DD>The name of the model group.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>Returns the form-unqualified-or-qualified name.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>The name of the schema component
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html#getName()"><B>getName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>
-<DD>The name of the model group.
-<DT><A HREF="org/apache/xmlbeans/QNameCache.html#getName(java.lang.String, java.lang.String)"><B>getName(String, String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameCache.html">QNameCache</A>
-<DD>Fetches a QName with the given namespace and localname.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getNamespaceCount()"><B>getNamespaceCount()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the count of namespaces declared on this START_ELEMENT or END_ELEMENT,
- this method is only valid on a START_ELEMENT or END_ELEMENT.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getNamespacePrefix(int)"><B>getNamespacePrefix(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the prefix for the namespace declared at the
- index.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getNamespaceURI()"><B>getNamespaceURI()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>If the current event is a START_ELEMENT or END_ELEMENT  this method
- returns the URI of the prefix or the default namespace.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getNamespaceURI(int)"><B>getNamespaceURI(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the uri for the namespace declared at the
- index.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getNamespaceURI(java.lang.String)"><B>getNamespaceURI(String)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Return the uri for the given prefix.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#getNestedException()"><B>getNestedException()</B></A> - 
-Method in class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Gets the nested exception.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getNSMap()"><B>getNSMap()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return a read-only copy of the namespace map.
-<DT><A HREF="org/apache/xmlbeans/XmlSaxHandler.html#getObject()"><B>getObject()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A>
-<DD>Returns the loaded XmlObject after all the SAX events have been finished
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getObject()"><B>getObject()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the strongly-typed XmlObject at the current START,
- STARTDOC, or ATTR.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getObjectLocation()"><B>getObjectLocation()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns a location of the error as an <A HREF="org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, null if
- not available.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getObjectValue()"><B>getObjectValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getObjectValue()"><B>getObjectValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#getOffset()"><B>getOffset()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Returns the 0-based file offset number, or -1 if not known.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getOffset()"><B>getOffset()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the file character offset of the error, if available, -1 if not.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getOuterType()"><B>getOuterType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The outer schema type.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getParticleChild(int)"><B>getParticleChild(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Another way to access the particle children.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getParticleChildren()"><B>getParticleChildren()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Applies to sequence, choice, and all particles only: returns an array
- of all the particle children in order.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><B>getParticleType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>Returns the particle type (<A HREF="org/apache/xmlbeans/SchemaParticle.html#ALL"><CODE>SchemaParticle.ALL</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaParticle.html#CHOICE"><CODE>SchemaParticle.CHOICE</CODE></A>,
- <A HREF="org/apache/xmlbeans/SchemaParticle.html#SEQUENCE"><CODE>SchemaParticle.SEQUENCE</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaParticle.html#ELEMENT"><CODE>SchemaParticle.ELEMENT</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaParticle.html#WILDCARD"><CODE>SchemaParticle.WILDCARD</CODE></A>).
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getPatterns()"><B>getPatterns()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getPIData()"><B>getPIData()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get the data section of a processing instruction
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getPITarget()"><B>getPITarget()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get the target of a processing instruction
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getPrefix()"><B>getPrefix()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the prefix of the current event or null if the event does not have a prefix
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getPrimitiveType()"><B>getPrimitiveType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For atomic types only: get the primitive type underlying this one.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getProperties()"><B>getProperties()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns all the SchemaProperties within this complex type,
- elements followed by attributes.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getProperty(java.lang.String)"><B>getProperty(String)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get the value of a feature/property from the underlying implementation
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#getQName(java.lang.String)"><B>getQName(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Obtains a name from the thread local QNameCache
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#getQName(java.lang.String, java.lang.String)"><B>getQName(String, String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Obtains a name from the thread local QNameCache
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#getQNameCache()"><B>getQNameCache()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns a thread local QNameCache
-<DT><A HREF="org/apache/xmlbeans/XmlQName.html#getQNameValue()"><B>getQNameValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getQNameValue()"><B>getQNameValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getQNameValue()"><B>getQNameValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getRef()"><B>getRef()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Retruns a SchemaType.Ref pointing to this schema type itself.
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#getRef()"><B>getRef()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html#getRef()"><B>getRef()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>
-<DD>Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getReferencedKey()"><B>getReferencedKey()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Returns the key that a key ref refers to.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getSecond()"><B>getSecond()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the second-of-minute component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getSecond()"><B>getSecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the second-of-minute component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getSecond()"><B>getSecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the second-of-minute component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getSecond()"><B>getSecond()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the second-of-minute.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getSecond()"><B>getSecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the second-of-minute.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getSecond()"><B>getSecond()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the second-of-minute.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getSelectionCount()"><B>getSelectionCount()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the count of the current selection.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getSelector()"><B>getSelector()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return the selector xpath as a string.
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html#getSelectorPath()"><B>getSelectorPath()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>
-<DD>Return a compiled xpath object for the selector.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getSeverity()"><B>getSeverity()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the severity.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getShortJavaImplName()"><B>getShortJavaImplName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The short unqualfiied Java name for the implementation class.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getShortJavaName()"><B>getShortJavaName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The short unqualfiied Java name for the class.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()"><B>getShortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>
-<DD>Returns this value as a short
-<DT><A HREF="org/apache/xmlbeans/XmlShort.html#getShortValue()"><B>getShortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>
-<DD>Returns this value as a short
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getShortValue()"><B>getShortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a short.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getShortValue()"><B>getShortValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getSign()"><B>getSign()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getSign()"><B>getSign()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getSign()"><B>getSign()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><B>getSimpleVariety()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns whether the simple type is ATOMIC, UNION, or LIST.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#getSourceAsStream(java.lang.String)"><B>getSourceAsStream(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Loads original XSD source as a stream.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#getSourceName()"><B>getSourceName()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Returns the URL (or other name) of the file with the error, if available.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getSourceName()"><B>getSourceName()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the name of the XML document file.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getSourceName()"><B>getSourceName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the filename for the XSD file from which this type
- was loaded.
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#getSourceName()"><B>getSourceName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>The name of the source .xsd file within which this attribute was defined
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html#getSourceName()"><B>getSourceName()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>
-<DD>The name of the source .xsd file within which this attribute was defined
-<DT><A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html#getString()"><B>getString()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>
-<DD>The enumerated string value
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getStringEnumEntries()"><B>getStringEnumEntries()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the array of SchemaStringEnumEntries for this type: this
- array includes information about the java constant names used for
- each string enum entry.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()"><B>getStringValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#getStringValue()"><B>getStringValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#getStringValue()"><B>getStringValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getText()"><B>getText()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the current value of the parse event as a string,
- this returns the string value of a CHARACTERS event,
- returns the value of a COMMENT, the replacement value
- for an ENTITY_REFERENCE,
- or the String value of the DTD
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getTextCharacters()"><B>getTextCharacters()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns an array which contains the characters from this event.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getTextCharacters(char[], int, int)"><B>getTextCharacters(char[], int, int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getTextLength()"><B>getTextLength()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the length of the sequence of characters within for this
- Text event within the TextCharacterArray.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getTextReader()"><B>getTextReader()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getTextStart()"><B>getTextStart()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns the offset into the TextCharacter array where the first
- character (of this text event) is stored.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getTextValue()"><B>getTextValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Gets the text value of the current document, element, attribute,
- comment, procinst or text token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#getTextValue(char[], int, int)"><B>getTextValue(char[], int, int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Copies the text value of the current document, element, attribute,
- comment, processing instruction or text token, counting right from 
- this cursor's location up to <em>maxCharacterCount</em>,
- and copies the returned text into <em>returnedChars</em>.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getTimeZoneHour()"><B>getTimeZoneHour()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the time zone hour.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getTimeZoneHour()"><B>getTimeZoneHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the time zone hour.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getTimeZoneHour()"><B>getTimeZoneHour()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the time zone hour.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getTimeZoneMinute()"><B>getTimeZoneMinute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the time zone minutes.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getTimeZoneMinute()"><B>getTimeZoneMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the time zone minutes.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getTimeZoneMinute()"><B>getTimeZoneMinute()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the time zone minutes.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getTimeZoneSign()"><B>getTimeZoneSign()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the time zone sign.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getTimeZoneSign()"><B>getTimeZoneSign()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the time zone sign.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getTimeZoneSign()"><B>getTimeZoneSign()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the time zone sign.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#getType()"><B>getType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>The schema type for the property.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getType()"><B>getType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: returns the type of the element.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#getType()"><B>getType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>Returns the type of this use.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getTypeSystem()"><B>getTypeSystem()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Returns the SchemaTypeLoader in which this type was defined.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()"><B>getTypeSystem()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>Returns the typesystem within which this component definition resides
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()"><B>getTypeSystem()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getUnionCommonBaseType()"><B>getUnionCommonBaseType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For union types only: get the most specific common base
- type of the constituent member types.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getUnionConstituentTypes()"><B>getUnionConstituentTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For union types only: get the constituent member types.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getUnionMemberTypes()"><B>getUnionMemberTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For union types only: get the shallow member types.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getUnionSubTypes()"><B>getUnionSubTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For union types only: gets the full tree of member types.
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()"><B>getUse()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>
-<DD>Returns <A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED"><CODE>SchemaLocalAttribute.PROHIBITED</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL"><CODE>SchemaLocalAttribute.OPTIONAL</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED"><CODE>SchemaLocalAttribute.REQUIRED</CODE></A>.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#getVersion()"><B>getVersion()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get the xml version declared on the xml declaration
- Returns null if none was declared
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#getVersion()"><B>getVersion()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Returns the XML version string used in the &lt&#63;xml&#63;&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><B>getWhiteSpaceRule()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For nonunion simple types: get the whitespace rule.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getWildcardProcess()"><B>getWildcardProcess()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For wildcards, returns the processing code (<A HREF="org/apache/xmlbeans/SchemaParticle.html#STRICT"><CODE>SchemaParticle.STRICT</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaParticle.html#LAX"><CODE>SchemaParticle.LAX</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaParticle.html#SKIP"><CODE>SchemaParticle.SKIP</CODE></A>).
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><B>getWildcardProcess()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Returns the processing code (<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#STRICT"><CODE>SchemaAttributeModel.STRICT</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#LAX"><CODE>SchemaAttributeModel.LAX</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#SKIP"><CODE>SchemaAttributeModel.SKIP</CODE></A>).
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#getWildcardSet()"><B>getWildcardSet()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For wildcards, returns a QNameSet representing the wildcard.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardSet()"><B>getWildcardSet()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>QNameSet representing the attribute wildcard specification.
-<DT><A HREF="org/apache/xmlbeans/XMLStreamValidationException.html#getXmlError()"><B>getXmlError()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html">XMLStreamValidationException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#getYear()"><B>getYear()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Gets the year component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#getYear()"><B>getYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Gets the year component.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#getYear()"><B>getYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Gets the year component.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#getYear()"><B>getYear()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Gets the year.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#getYear()"><B>getYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Gets the year.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#getYear()"><B>getYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Gets the year.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#globalAttributes()"><B>globalAttributes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the global attributes defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#globalElements()"><B>globalElements()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the global elements defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#globalTypes()"><B>globalTypes()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the global types defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#GREATER_THAN"><B>GREATER_THAN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>GREATER_THAN is 1.
-</DL>
-<HR>
-<A NAME="_H_"><!-- --></A><H2>
-<B>H</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_DAY"><B>HAS_DAY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Day of month is specified.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH"><B>HAS_MONTH</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Month of year is specified.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_TIME"><B>HAS_TIME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Time of day is specified.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE"><B>HAS_TIMEZONE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Timezone is specified.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR"><B>HAS_YEAR</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>Year is specified.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#hasAllContent()"><B>hasAllContent()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if the complex content model for this complex type is an "all" group.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#hasAttributeWildcards()"><B>hasAttributeWildcards()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this type permits wildcard attributes.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html#hasChanged()"><B>hasChanged()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html">XmlCursor.ChangeStamp</A>
-<DD>Returns whether or not the document assoiated with this ChangeStamp
- has been altered since the ChangeStamp had been created.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasDate()"><B>hasDate()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasDate()"><B>hasDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasDate()"><B>hasDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasDay()"><B>hasDay()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a day-of-month.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasDay()"><B>hasDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a day-of-month.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasDay()"><B>hasDay()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a day-of-month.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><B>hasDefault()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns <A HREF="org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>SchemaProperty.NEVER</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>SchemaProperty.VARIABLE</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>SchemaProperty.CONSISTENTLY</CODE></A> defaulted, depending on the
- defaults present in the elements in this property.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#hasElementWildcards()"><B>hasElementWildcards()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this type permits element wildcards.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><B>hasFixed()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns <A HREF="org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>SchemaProperty.NEVER</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>SchemaProperty.VARIABLE</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>SchemaProperty.CONSISTENTLY</CODE></A> fixed, depending on the
- fixed constraints present in the elements in this property.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#hashCode()"><B>hashCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Combines the hash codes of all the list items.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html#hashCode()"><B>hashCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>
-<DD>Returns the hash code of the underlying string
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#hashCode()"><B>hashCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hashCode()"><B>hashCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Returns a hash code for this GDate.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasMonth()"><B>hasMonth()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a month-of-year.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasMonth()"><B>hasMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a month-of-year.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasMonth()"><B>hasMonth()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a month-of-year.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#hasName()"><B>hasName()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>returns true if the current event has a name, START_ELEMENT, END_ELEMENT,
- ENTITY_REFERENCE, and PROCESSING_INSTRUCTION have a name
- returns false otherwise
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#hasNext()"><B>hasNext()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns true if there are more parsing events and false
- if there are no more events.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#hasNextSelection()"><B>hasNextSelection()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns whether or not there is a next selection.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#hasNextToken()"><B>hasNextToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if there is a next token.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#hasNillable()"><B>hasNillable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Returns <A HREF="org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>SchemaProperty.NEVER</CODE></A>, <A HREF="org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>SchemaProperty.VARIABLE</CODE></A>, or <A HREF="org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>SchemaProperty.CONSISTENTLY</CODE></A> nillable, depending on the
- nillability of the elements in this property.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#hasOption(java.lang.Object)"><B>hasOption(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to test a generic option
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#hasPatternFacet()"><B>hasPatternFacet()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if there are regex pattern facents
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#hasPrevToken()"><B>hasPrevToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if there is a previous token.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#hasStringEnumValues()"><B>hasStringEnumValues()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this is a string enum where an integer
- is assigned to each enumerated value.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#hasText()"><B>hasText()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Return true if the current event has text, false otherwise
- The following events have text:
- CHARACTERS,DTD ,ENTITY_REFERENCE, COMMENT
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasTime()"><B>hasTime()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a time-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasTime()"><B>hasTime()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a time-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasTime()"><B>hasTime()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a time-of-day.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasTimeZone()"><B>hasTimeZone()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a timezone.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasTimeZone()"><B>hasTimeZone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a timezone.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasTimeZone()"><B>hasTimeZone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a timezone.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#hasYear()"><B>hasYear()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this date/time specification specifies a year.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#hasYear()"><B>hasYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if this date/time specification specifies a year.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#hasYear()"><B>hasYear()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this date/time specification specifies a year.
-</DL>
-<HR>
-<A NAME="_I_"><!-- --></A><H2>
-<B>I</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT"><B>IDENTITY_CONSTRAINT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>An identity constraint definition.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#includedQNamesInExcludedURIs()"><B>includedQNamesInExcludedURIs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>The finite set of QNames that are included in the set within namespaces
- that are otherwise excluded.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#includedQNamesInExcludedURIs()"><B>includedQNamesInExcludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#includedQNamesInExcludedURIs()"><B>includedQNamesInExcludedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The set of QNames included in the set even though they are within
- a namespace that is otherwise fully included in the set.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#includedURIs()"><B>includedURIs()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>The finite set of namespace URIs that are almost completely included in
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#includedURIs()"><B>includedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#includedURIs()"><B>includedURIs()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Namespaces that are fully included in set except for a finite
- number of individual QName exceptions.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#indexOf(java.lang.Object)"><B>indexOf(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns index of the first occurance of an object equal to o.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttribute(javax.xml.namespace.QName)"><B>insertAttribute(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttribute(java.lang.String)"><B>insertAttribute(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttribute(java.lang.String, java.lang.String)"><B>insertAttribute(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name and associating it with the specified namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(javax.xml.namespace.QName, java.lang.String)"><B>insertAttributeWithValue(QName, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(java.lang.String, java.lang.String)"><B>insertAttributeWithValue(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified value and name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(java.lang.String, java.lang.String, java.lang.String)"><B>insertAttributeWithValue(String, String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value, and associating it with the specified namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertChars(java.lang.String)"><B>insertChars(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts the specified text immediately before this cursor's location.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertComment(java.lang.String)"><B>insertComment(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an XML comment immediately before the cursor's location, 
- giving it the specified content.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElement(javax.xml.namespace.QName)"><B>insertElement(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an element immediately before this cursor's location, giving 
- the element the specified qualified name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElement(java.lang.String)"><B>insertElement(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an element immediately before this cursor's location, giving 
- the element the specified local name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElement(java.lang.String, java.lang.String)"><B>insertElement(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and associating it with specified namespace
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElementWithText(javax.xml.namespace.QName, java.lang.String)"><B>insertElementWithText(QName, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified qualified name and content.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElementWithText(java.lang.String, java.lang.String)"><B>insertElementWithText(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and content.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertElementWithText(java.lang.String, java.lang.String, java.lang.String)"><B>insertElementWithText(String, String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name, associating it with the specified namespace, 
- and giving it the specified content.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertNamespace(java.lang.String, java.lang.String)"><B>insertNamespace(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts a namespace declaration immediately before the cursor's location, 
- giving it the specified prefix and URI.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#insertProcInst(java.lang.String, java.lang.String)"><B>insertProcInst(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Inserts an XML processing instruction immediately before the cursor's location, 
- giving it the specified target and text.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#instanceType()"><B>instanceType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>The same as getSchemaType unless this is a union instance
- or nil value.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#instanceType()"><B>instanceType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ATTR"><B>INT_ATTR</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The attribute token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_COMMENT"><B>INT_COMMENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The comment token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_END"><B>INT_END</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The end-element token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ENDDOC"><B>INT_ENDDOC</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The end-document token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NAMESPACE"><B>INT_NAMESPACE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The namespace declaration token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NONE"><B>INT_NONE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>No token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_PROCINST"><B>INT_PROCINST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The processing instruction token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_START"><B>INT_START</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The start-element token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_STARTDOC"><B>INT_STARTDOC</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The start-document token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#INT_TEXT"><B>INT_TEXT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The text token.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#INT_TOO_LARGE"><B>INT_TOO_LARGE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#intersect(org.apache.xmlbeans.QNameSetSpecification)"><B>intersect(QNameSetSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>Returns the intersection with another QNameSet.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#intersect(org.apache.xmlbeans.QNameSetSpecification)"><B>intersect(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Returns a new QNameSet that is the intersection of this one and another.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#intersect(org.apache.xmlbeans.QNameSetSpecification)"><B>intersect(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a new QNameSet that is the intersection of this one and another.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()"><CODE>XmlUnsignedShort.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlInt.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInt.html#getIntValue()"><CODE>XmlInt.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#getIntValue()"><CODE>XmlGYear.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#getIntValue()"><CODE>XmlGMonth.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#getIntValue()"><CODE>XmlGDay.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><B>intValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>Returns one of the INT_ values defined in this class.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html#intValue()"><B>intValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>
-<DD>Returns an int code that can be used for switch statements
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#intValue()"><B>intValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getIntValue()"><CODE>SimpleValue.getIntValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#intValue()"><B>intValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#inverse()"><B>inverse()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>Return the inverse of this QNameSet.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#inverse()"><B>inverse()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Returns a new QNameSet that is the inverse of this one.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#inverse()"><B>inverse()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a new QNameSet that is the inverse of this one.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#invert()"><B>invert()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Inverts this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#IO_EXCEPTION"><B>IO_EXCEPTION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isAbstract()"><B>isAbstract()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this type cannot be used directly in instances
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html#isAbstract()"><B>isAbstract()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>
-<DD>True if this element is prohibited in content.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#isAll()"><B>isAll()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>True if the set is the set of all QNames.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#isAll()"><B>isAll()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>True if this ModelTransitionSet contains all QNames.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#isAll()"><B>isAll()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>True if this ModelTransitionSet contains all QNames.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isAnonymousType()"><B>isAnonymousType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if the Xsd type is anonymous (i.e., not top-level).
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isAnyAttr()"><B>isAnyAttr()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is any attribute.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isAnyAttr()"><B>isAnyAttr()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is attribute or namespace declaration token
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isAssignableFrom(org.apache.xmlbeans.SchemaType)"><B>isAssignableFrom(SchemaType)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if the specified type derives from this type (or if
- it is the same type).
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isAtSamePositionAs(org.apache.xmlbeans.XmlCursor)"><B>isAtSamePositionAs(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Determines if this cursor is at the same position as
- the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isAttr()"><B>isAttr()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is an ATTR token type, meaning 
- just before an attribute.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isAttr()"><B>isAttr()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is attribute token.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#isAttribute()"><B>isAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>True for attributes.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#isAttribute()"><B>isAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>True if this use is an attribute
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isAttributeSpecified(int)"><B>isAttributeSpecified(int)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns a boolean which indicates if this
- attribute was created by default
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isAttributeType()"><B>isAttributeType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this is a attribute type.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isBounded()"><B>isBounded()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if bounded.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isBuiltinType()"><B>isBuiltinType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True for any of the 40+ built-in types.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isCharacters()"><B>isCharacters()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns true if the cursor points to a character data event
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isComment()"><B>isComment()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a COMMENT token type, meaning 
- just before a comment.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isComment()"><B>isComment()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is comment token.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isCompiled()"><B>isCompiled()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this schema type was compiled to have a corresponding
- Java class.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isContainer()"><B>isContainer()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a container token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isContainer()"><B>isContainer()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is start-document or start-element token
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#isDefault()"><B>isDefault()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: True if has default.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#isDefault()"><B>isDefault()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>True if a default is supplied.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><B>isDisjoint(QNameSetSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>True if is disjoint from the specified set.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><B>isDisjoint(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>True if the given set is disjoint from this one.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><B>isDisjoint(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>True if the given set is disjoint from this one.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isDocumentType()"><B>isDocumentType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this is a document type.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#isEmpty()"><B>isEmpty()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>True if the list is empty.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#isEmpty()"><B>isEmpty()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>True if the set is empty.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#isEmpty()"><B>isEmpty()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>True if this ModelTransitionSet contains no QNames.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#isEmpty()"><B>isEmpty()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>True if this ModelTransitionSet contains no QNames.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isEnd()"><B>isEnd()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is an END token type, meaning 
- just before an element's end.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isEnd()"><B>isEnd()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is end-element token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isEnddoc()"><B>isEnddoc()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is an ENDDOC token type, meaning 
- at the very end of the document.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isEnddoc()"><B>isEnddoc()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is end-document token.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isEndElement()"><B>isEndElement()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns true if the cursor points to an end tag (otherwise false)
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isFacetFixed(int)"><B>isFacetFixed(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if the given facet is fixed.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isFinish()"><B>isFinish()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a finish token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isFinish()"><B>isFinish()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is end-document or end-element token
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isFinite()"><B>isFinite()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if finite.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#isFixed()"><B>isFixed()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: true if is fixed value.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#isFixed()"><B>isFixed()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>True if the value is fixed.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>True if the value is an immutable value.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>True if this instance is immutable.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>All GDuration instances return true.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>All GDuration instances return true.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this GDate specification is immutable.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if the instance is immutable.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Returns true: all GDate instances are immutable.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#isImmutable()"><B>isImmutable()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isInSameDocument(org.apache.xmlbeans.XmlCursor)"><B>isInSameDocument(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Determines if the specified cursor is in the same document as
- this cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isLeftOf(org.apache.xmlbeans.XmlCursor)"><B>isLeftOf(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Determines if this cursor is to the left of (or before)
- the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isNamespace()"><B>isNamespace()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a NAMESPACE token type, meaning 
- just before a namespace declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isNamespace()"><B>isNamespace()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is namespace declaration token.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#isNamespaceDefined(java.lang.String)"><B>isNamespaceDefined(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>True if the typeloader contains any definitions in the given namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#isNil()"><B>isNil()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>True if the value is nil.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#isNil()"><B>isNil()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#isNillable()"><B>isNillable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>For elements only: true if nillable.
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html#isNillable()"><B>isNillable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>
-<DD>True if nillable; always false for attributes.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isNone()"><B>isNone()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if no token.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isNoType()"><B>isNoType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True for the type object that represents a the absence of a determined type.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isNumeric()"><B>isNumeric()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if numeric.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isOrderSensitive()"><B>isOrderSensitive()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if particles have same defaults, nillability, etc, that are
- invariant when order changes.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isPrimitiveType()"><B>isPrimitiveType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True for any of the 20 primitive types (plus anySimpleType)
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isProcinst()"><B>isProcinst()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a PROCINST token type, meaning 
- just before a processing instruction.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isProcinst()"><B>isProcinst()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is processing instruction token.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#isReadOnly()"><B>isReadOnly()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>True for read-only properties.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isRightOf(org.apache.xmlbeans.XmlCursor)"><B>isRightOf(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Determines if this cursor is to the right of (or after)
- the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isSimpleType()"><B>isSimpleType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True for the anySimpleType and any restrictions/unions/lists.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#isSingleton()"><B>isSingleton()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>One if minOccurs == maxOccurs == 1.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#isSkippable()"><B>isSkippable()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>True if this particle can be skipped (taking into account
- both the minOcurs as well as the structure of all the
- child particles)
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isSkippedAnonymousType()"><B>isSkippedAnonymousType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if this anonymous type has no corresponding Java type.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isStandalone()"><B>isStandalone()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get the standalone declaration from the xml declaration
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isStart()"><B>isStart()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if this token is a START token type, meaning 
- just before an element's start.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isStart()"><B>isStart()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is start-element token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isStartdoc()"><B>isStartdoc()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if the current token is a STARTDOC token type, meaning 
- at the very root of the document.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isStartdoc()"><B>isStartdoc()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is start-document token.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isStartElement()"><B>isStartElement()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns true if the cursor points to a start tag (otherwise false)
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#isText()"><B>isText()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>True if the this token is a TEXT token type, meaning 
- just before or inside text.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#isText()"><B>isText()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>True if is text token.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isURType()"><B>isURType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True for anyType and anySimpleType.
-<DT><A HREF="org/apache/xmlbeans/GDurationSpecification.html#isValid()"><B>isValid()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#isValid()"><B>isValid()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#isValid()"><B>isValid()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#isValid()"><B>isValid()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>True if this GDate corresponds to a valid gregorian date value
- in XML schema.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#isValid()"><B>isValid()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>True if all date fields lie within their legal ranges.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#isValid()"><B>isValid()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>True if this GDate corresponds to a valid gregorian date value
- in XML schema.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#isValidSubstitution(javax.xml.namespace.QName)"><B>isValidSubstitution(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>For document types, true if the given name can be substituted for the
- document element name.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#isWhiteSpace()"><B>isWhiteSpace()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Returns true if the cursor points to a character data event
- that consists of all whitespace
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#iterator()"><B>iterator()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns an iterator over the elements in this list in proper sequence.
-</DL>
-<HR>
-<A NAME="_J_"><!-- --></A><H2>
-<B>J</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_DECIMAL"><B>JAVA_BIG_DECIMAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_INTEGER"><B>JAVA_BIG_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BOOLEAN"><B>JAVA_BOOLEAN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java boolean.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE"><B>JAVA_BYTE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java byte.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE_ARRAY"><B>JAVA_BYTE_ARRAY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A byte[].
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_CALENDAR"><B>JAVA_CALENDAR</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_DATE"><B>JAVA_DATE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_DOUBLE"><B>JAVA_DOUBLE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java double.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_ENUM"><B>JAVA_ENUM</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A generated <A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A> subclass.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_FIRST_PRIMITIVE"><B>JAVA_FIRST_PRIMITIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_FLOAT"><B>JAVA_FLOAT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java float.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_GDATE"><B>JAVA_GDATE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_GDURATION"><B>JAVA_GDURATION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_INT"><B>JAVA_INT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java int.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LAST_PRIMITIVE"><B>JAVA_LAST_PRIMITIVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LIST"><B>JAVA_LIST</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_LONG"><B>JAVA_LONG</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java long.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_OBJECT"><B>JAVA_OBJECT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>, used for some simple type unions.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_QNAME"><B>JAVA_QNAME</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_SHORT"><B>JAVA_SHORT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A Java short.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#JAVA_STRING"><B>JAVA_STRING</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#javaBasedOnType()"><B>javaBasedOnType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>The schema type returned from the Java getter for this property.
-<DT><A HREF="javax/xml/stream/package-summary.html"><B>javax.xml.stream</B></A> - package javax.xml.stream<DD>&nbsp;</DL>
-<HR>
-<A NAME="_L_"><!-- --></A><H2>
-<B>L</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_BASIC_FACET"><B>LAST_BASIC_FACET</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_FACET"><B>LAST_FACET</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The last ordinary facet code
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#LAST_PROPERTY"><B>LAST_PROPERTY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>The last property code
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#lastIndexOf(java.lang.Object)"><B>lastIndexOf(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns index of the last occurance of an object equal to o.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html#lastInt()"><B>lastInt()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A>
-<DD>Returns the last valid int code (the first is 1; zero is not used).
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#LAX"><B>LAX</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Lax wildcard</a> processing.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#LAX"><B>LAX</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Lax wildcard processing.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#LESS_THAN"><B>LESS_THAN</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>LESS_THAN is -1.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#LIST"><B>LIST</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Simple list type.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#listIterator()"><B>listIterator()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns a list iterator of the elements in this list in proper sequence.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#listIterator(int)"><B>listIterator(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns a list iterator of the elements in this list in proper sequence, starting at the specified position in this list.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#listValue()"><B>listValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#listValue()"><B>listValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#listValue()"><B>listValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#listValue()"><B>listValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>SimpleValue.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#listValue()"><B>listValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_ADDITIONAL_NAMESPACES"><B>LOAD_ADDITIONAL_NAMESPACES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_LINE_NUMBERS"><B>LOAD_LINE_NUMBERS</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_MESSAGE_DIGEST"><B>LOAD_MESSAGE_DIGEST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_REPLACE_DOCUMENT_ELEMENT"><B>LOAD_REPLACE_DOCUMENT_ELEMENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_COMMENTS"><B>LOAD_STRIP_COMMENTS</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_PROCINSTS"><B>LOAD_STRIP_PROCINSTS</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_WHITESPACE"><B>LOAD_STRIP_WHITESPACE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_SUBSTITUTE_NAMESPACES"><B>LOAD_SUBSTITUTE_NAMESPACES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#LOAD_TRIM_TEXT_BUFFER"><B>LOAD_TRIM_TEXT_BUFFER</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[])"><B>loadXsd(XmlObject[])</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.XmlOptions)"><B>loadXsd(XmlObject[], XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed in <em>schemas</em>.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#LOCAL"><B>LOCAL</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The QNameSet containing all QNames in the local (no-)namespace.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#location"><B>location</B></A> - 
-Variable in class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>&nbsp;
-<DT><A HREF="javax/xml/stream/Location.html"><B>Location</B></A> - interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html">Location</A>.<DD>Provides information on the location of an event.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#longValue()"><B>longValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()"><CODE>XmlUnsignedInt.getLongValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html#longValue()"><B>longValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlLong.html#getLongValue()"><CODE>XmlLong.getLongValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#longValue()"><B>longValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getLongValue()"><CODE>SimpleValue.getLongValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#longValue()"><B>longValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-</DL>
-<HR>
-<A NAME="_M_"><!-- --></A><H2>
-<B>M</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#MALFORMED_CONTENT_MODEL"><B>MALFORMED_CONTENT_MODEL</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#maskNull(org.apache.xmlbeans.XmlOptions)"><B>maskNull(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If passed null, returns an empty options object.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)"><B>matchPatternFacet(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if the given string matches the pattern facets.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#MESSAGE_DIGEST"><B>MESSAGE_DIGEST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>SHA message digest
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><B>MIXED_CONTENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Mixed content.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP"><B>MODEL_GROUP</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>A model group definition.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#modelGroups()"><B>modelGroups()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Returns the model groups defined in this loader.
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#monitor()"><B>monitor()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns the synchronization object for the document.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#monitor()"><B>monitor()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#moveChars(int, org.apache.xmlbeans.XmlCursor)"><B>moveChars(int, XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves characters immediately after this cursor to the position immediately 
- after the specified cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#moveXml(org.apache.xmlbeans.XmlCursor)"><B>moveXml(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor, shifting XML at that location 
- to the right to make room.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#moveXmlContents(org.apache.xmlbeans.XmlCursor)"><B>moveXmlContents(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the contents of the container (STARTDOC OR START) immediately after
- this cursor to the location specified by the <em>toHere</em> cursor.
-</DL>
-<HR>
-<A NAME="_N_"><!-- --></A><H2>
-<B>N</B></H2>
-<DL>
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#NAMESPACE"><B>NAMESPACE</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a namepsace
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#NAMESPACE"><B>NAMESPACE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton namespace declaration token type
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#namespaceForPrefix(java.lang.String)"><B>namespaceForPrefix(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the namespace URI indicated by the given prefix.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#nested"><B>nested</B></A> - 
-Variable in class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NESTED_EXCEPTION"><B>NESTED_EXCEPTION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#NEVER"><B>NEVER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Applies to no elements for this property.
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newCursor()"><B>newCursor()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns a new XML cursor.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newCursor()"><B>newCursor()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newDomNode()"><B>newDomNode()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns a W3C DOM Node containing the XML
- represented by this source.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newDomNode()"><B>newDomNode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)"><B>newDomNode(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Just like newDomNode() but with options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newDomNode(org.apache.xmlbeans.XmlOptions)"><B>newDomNode(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newInputStream()"><B>newInputStream()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns a new stream containing standard XML text, encoded
- according to the given encoding.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newInputStream()"><B>newInputStream()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)"><B>newInputStream(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Just like newInputStream(String encoding) but with options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newInputStream(org.apache.xmlbeans.XmlOptions)"><B>newInputStream(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Creates a new, completely empty instance.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newInstance()"><B>newInstance()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#newInstance(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>newInstance(SchemaTypeLoader, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.newInstance calls
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#newInstance(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>newInstance(SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Creates an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Creates a new, completely empty instance, specifying options
- for the root element's document type and/or whether to validate
- value facets as they are set.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)"><B>newInstance(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Creates an empty instance of <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newReader()"><B>newReader()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns a new character reader containing XML text.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newReader()"><B>newReader()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)"><B>newReader(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Just like newReader() but with options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newReader(org.apache.xmlbeans.XmlOptions)"><B>newReader(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions when the input is not valid.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><B>newValidatingXMLInputStream(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns a validating XMLInputStream that will throw an exception if the XML is not valid
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions 
- when the input is not valid, specifying options
- for the root element's document type and/or the collection object to use
- as an error listener while validating.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>newValidatingXMLInputStream(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Returns a validating XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Creates an immutable <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> value
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#newValue(java.lang.Object)"><B>newValue(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Creates an immutable simple type value that does not reside in a tree.
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()"><B>newXMLInputStream()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns a new XmlInputStream.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newXMLInputStream()"><B>newXMLInputStream()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)"><B>newXMLInputStream(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Just like newXMLInputStream() but with any of a number of options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)"><B>newXMLInputStream(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler()"><B>newXmlSaxHandler()</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Returns an <A HREF="org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>newXmlSaxHandler(SchemaTypeLoader, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.newXmlSaxHandler calls
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>newXmlSaxHandler(SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Returns an XmlSaxHandler that can parse an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler(org.apache.xmlbeans.XmlOptions)"><B>newXmlSaxHandler(XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Returns an <A HREF="org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#next()"><B>next()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Get next parsing event - a processor may may return all contiguous
- character data in a single chunk, or it may split it into several chunks.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#nextTag()"><B>nextTag()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Skips any insignificant events until a START_ELEMENT or
- END_ELEMENT is reached.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NO_RESOURCE"><B>NO_RESOURCE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#NO_TYPE"><B>NO_TYPE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>The SchemaType object given to an XmlObject instance when
- no type can be determined.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#NONE"><B>NONE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton no-token type
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#NONE"><B>NONE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>See <A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>SchemaAttributeModel.getWildcardProcess()</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#NONLOCAL"><B>NONLOCAL</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>The QNameSet containing all QNames except for those in the local (no-)namespace.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#normalize()"><B>normalize()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Normalize a duration value.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#normalize()"><B>normalize()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Normalizes the instance, ensuring date and time fields are within
- their normal ranges.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#normalizeToTimeZone(int, int, int)"><B>normalizeToTimeZone(int, int, int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>If the time and timezone are known, this method changes the timezone to the
- specified UTC offset, altering minutes, hours, day, month, and year as
- necessary to ensure that the actual described moment in time is the same.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_COMPLEX_TYPE"><B>NOT_COMPLEX_TYPE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Not a complex type.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_DECIMAL"><B>NOT_DECIMAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Not a decimal restriction.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#NOT_EQUAL"><B>NOT_EQUAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>NOT_EQUAL is 2.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#NOT_SIMPLE"><B>NOT_SIMPLE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Not a simple type or simple content.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#NOT_WRITEABLE"><B>NOT_WRITEABLE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#NOTATION"><B>NOTATION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>A notation definition.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#NOTATION_DECLARATION"><B>NOTATION_DECLARATION</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates a Notation
-</DL>
-<HR>
-<A NAME="_O_"><!-- --></A><H2>
-<B>O</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#objectSet(java.lang.Object)"><B>objectSet(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)"><CODE>SimpleValue.setObjectValue(java.lang.Object)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#objectSet(java.lang.Object)"><B>objectSet(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#objectValue()"><B>objectValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getObjectValue()"><CODE>SimpleValue.getObjectValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#objectValue()"><B>objectValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL"><B>OPTIONAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>
-<DD>An optional attribute.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#ordered()"><B>ordered()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>True if ordered.
-<DT><A HREF="org/apache/xmlbeans/package-summary.html"><B>org.apache.xmlbeans</B></A> - package org.apache.xmlbeans<DD>Provides classes for XML Beans schema, infoset, xpath, and xquery handling.</DL>
-<HR>
-<A NAME="_P_"><!-- --></A><H2>
-<B>P</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.File)"><B>parse(File)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.File, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(File, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>parse(File, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.InputStream)"><B>parse(InputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(InputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(org.w3c.dom.Node)"><B>parse(Node)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><B>parse(Node, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><B>parse(Reader, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(SchemaTypeLoader, InputStream, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.parse calls
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(SchemaTypeLoader, Node, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.parse calls
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(SchemaTypeLoader, Reader, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.parse calls
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(SchemaTypeLoader, String, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.parse calls
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(SchemaTypeLoader, XMLInputStream, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>
-<DD>Hooks Factory.parse calls
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.lang.String)"><B>parse(String)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(String, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>parse(String, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.net.URL)"><B>parse(URL)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.net.URL, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><B>parse(URL, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(weblogic.xml.stream.XMLInputStream)"><B>parse(XMLInputStream)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, SchemaType, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Parses an instance of the given type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>
-<DD>Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><B>parse(XMLInputStream, XmlOptions)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>
-<DD>Parses a <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#PARTIAL_ORDER"><B>PARTIAL_ORDER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Partially ordered.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#pop()"><B>pop()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Restores the cursor location most recently saved with the push() method.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#prefixForNamespace(java.lang.String)"><B>prefixForNamespace(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns a prefix that can be used to indicate a namespace URI.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#prevTokenType()"><B>prevTokenType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Returns the type of the previous token.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#PROCESSING_INSTRUCTION"><B>PROCESSING_INSTRUCTION</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a processing instruction
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#PROCINST"><B>PROCINST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton processing instruction token type
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED"><B>PROHIBITED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>
-<DD>A prohibited attribute.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_BOUNDED"><B>PROPERTY_BOUNDED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_CARDINALITY"><B>PROPERTY_CARDINALITY</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_NUMERIC"><B>PROPERTY_NUMERIC</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#PROPERTY_ORDERED"><B>PROPERTY_ORDERED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#push()"><B>push()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Saves the current location of this cursor on an internal stack of saved
- positions (independent of selection).
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object)"><B>put(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to set a generic option
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object, int)"><B>put(Object, int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to set a generic option
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object, java.lang.Object)"><B>put(Object, Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to set a generic option
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#put(java.lang.Object, java.lang.Object)"><B>put(Object, Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Attaches a value to the root of the document containing
- the given token source.
-</DL>
-<HR>
-<A NAME="_Q_"><!-- --></A><H2>
-<B>Q</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/QNameCache.html"><B>QNameCache</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameCache.html">QNameCache</A>.<DD>A cache that can be used to pool QName instances.<DT><A HREF="org/apache/xmlbeans/QNameCache.html#QNameCache(int)"><B>QNameCache(int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameCache.html">QNameCache</A>
-<DD>Creates a QNameCache with the given initialCapacity.
-<DT><A HREF="org/apache/xmlbeans/QNameCache.html#QNameCache(int, float)"><B>QNameCache(int, float)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameCache.html">QNameCache</A>
-<DD>Creates a QNameCache with the given initialCapacity and loadFactor.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html"><B>QNameSet</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>.<DD>This interface represents a lattice of finite and infinite sets of QNames.<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html"><B>QNameSetBuilder</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>.<DD>Used to build <A HREF="org/apache/xmlbeans/QNameSet.html"><CODE>QNameSets</CODE></A>.<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder()"><B>QNameSetBuilder()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Constructs an empty QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(org.apache.xmlbeans.QNameSetSpecification)"><B>QNameSetBuilder(QNameSetSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Constructs a QNameSetBuilder whose initial contents are given by
- another QNameSetSpecification.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(java.util.Set, java.util.Set, java.util.Set, java.util.Set)"><B>QNameSetBuilder(Set, Set, Set, Set)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Constructs a QNameSetBuilder whose inital contents are given by
- the four sets.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(java.lang.String, java.lang.String)"><B>QNameSetBuilder(String, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Constructs a QNameSetBuilder whose initial contents are given
- as a list of namespace URIs, using the same format used by wildcards
- in XSD files.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html"><B>QNameSetSpecification</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>.<DD>Represents a lattice of finite and infinite sets of QNames.<DT><A HREF="org/apache/xmlbeans/XmlQName.html#qNameValue()"><B>qNameValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlQName.html#getQNameValue()"><CODE>XmlQName.getQNameValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#qNameValue()"><B>qNameValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getQNameValue()"><CODE>SimpleValue.getQNameValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#qNameValue()"><B>qNameValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-</DL>
-<HR>
-<A NAME="_R_"><!-- --></A><H2>
-<B>R</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#remove(int)"><B>remove(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#remove(java.lang.Object)"><B>remove(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#remove(java.lang.Object)"><B>remove(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Removes a value previously attached to a document using set.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#remove(javax.xml.namespace.QName)"><B>remove(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Removes the given qname from this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#removeAll(java.util.Collection)"><B>removeAll(Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#removeAll(org.apache.xmlbeans.QNameSetSpecification)"><B>removeAll(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Removes all contents of a given QNameSet from this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#removeAttribute(javax.xml.namespace.QName)"><B>removeAttribute(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>When at a START or STARTDOC, removes the attribute with the given name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#removeChars(int)"><B>removeChars(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Removes characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#removeNamespace(java.lang.String)"><B>removeNamespace(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Removes an entire namespace URI from this QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#removeXml()"><B>removeXml()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Removes the XML that is immediately after this cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#removeXmlContents()"><B>removeXmlContents()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Removes the contents of the container (STARTDOC OR START) immediately after
- this cursor.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#require(int, java.lang.String, java.lang.String)"><B>require(int, String, String)</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Test if the current event is of the given type and if the namespace and name do match.
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED"><B>REQUIRED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>
-<DD>A required attribute.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#resolve()"><B>resolve()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Initializes a type system (resolves all handles within the type system).
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#resolveHandle(java.lang.String)"><B>resolveHandle(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Locates a type, element, or attribute using the handle.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#restrict(org.apache.xmlbeans.QNameSetSpecification)"><B>restrict(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Restricts the contents of this QNameSetBuilder to be a subset of the
- given QNameSet.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#retainAll(java.util.Collection)"><B>retainAll(Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-</DL>
-<HR>
-<A NAME="_S_"><!-- --></A><H2>
-<B>S</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#safeGet(org.apache.xmlbeans.XmlOptions, java.lang.Object)"><B>safeGet(XmlOptions, Object)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Used to test a generic option on an options object that may be null
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_AGGRESSIVE_NAMESPACES"><B>SAVE_AGGRESSIVE_NAMESPACES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_FILTER_PROCINST"><B>SAVE_FILTER_PROCINST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_IMPLICIT_NAMESPACES"><B>SAVE_IMPLICIT_NAMESPACES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_INNER"><B>SAVE_INNER</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_NAMESPACES_FIRST"><B>SAVE_NAMESPACES_FIRST</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_OUTER"><B>SAVE_OUTER</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT"><B>SAVE_PRETTY_PRINT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_INDENT"><B>SAVE_PRETTY_PRINT_INDENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_OFFSET"><B>SAVE_PRETTY_PRINT_OFFSET</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_SUGGESTED_PREFIXES"><B>SAVE_SUGGESTED_PREFIXES</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_SYNTHETIC_DOCUMENT_ELEMENT"><B>SAVE_SYNTHETIC_DOCUMENT_ELEMENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_USE_DEFAULT_NAMESPACE"><B>SAVE_USE_DEFAULT_NAMESPACE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#SAVE_USE_OPEN_FRAGMENT"><B>SAVE_USE_OPEN_FRAGMENT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><B>save(ContentHandler, LexicalHandler)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><B>save(ContentHandler, LexicalHandler)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)"><B>save(ContentHandler, LexicalHandler, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)"><B>save(ContentHandler, LexicalHandler, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)"><B>save(File)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given File.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.File)"><B>save(File)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>save(File, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given File.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><B>save(File, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)"><B>save(OutputStream)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given output stream.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.OutputStream)"><B>save(OutputStream)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)"><B>save(OutputStream, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given output stream.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)"><B>save(OutputStream, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)"><B>save(Writer)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given writer.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.Writer)"><B>save(Writer)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)"><B>save(Writer, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Writes the XML represented by this source to the given writer.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)"><B>save(Writer, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#saveToDirectory(java.io.File)"><B>saveToDirectory(File)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Saves this type to a directory.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html"><B>SchemaAttributeGroup</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>.<DD>Represents an attribute group.<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>SchemaAttributeGroup.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>.<DD>Used to allow on-demand loading of attribute groups.<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaAttributeGroup)"><B>SchemaAttributeGroup.Ref(SchemaAttributeGroup)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaAttributeGroup.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html"><B>SchemaAttributeModel</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>.<DD>Represents the attribute structure allowed on a complex type.<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html"><B>SchemaComponent</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>.<DD>Represents a global Schema Component.<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html"><B>SchemaComponent.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>.<DD>A lazy reference to a component.<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#SchemaComponent.Ref(org.apache.xmlbeans.SchemaComponent)"><B>SchemaComponent.Ref(SchemaComponent)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#SchemaComponent.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaComponent.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaField.html"><B>SchemaField</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html">SchemaField</A>.<DD>Represents an element or an attribute declaration.<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>SchemaGlobalAttribute</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>.<DD>Represents a global attribute definition<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>SchemaGlobalAttribute.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>.<DD>Used to allow on-demand loading of elements.<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaGlobalAttribute)"><B>SchemaGlobalAttribute.Ref(SchemaGlobalAttribute)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaGlobalAttribute.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html"><B>SchemaGlobalElement</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>.<DD>Represents a global element definition.<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>SchemaGlobalElement.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>.<DD>Used to allow on-demand loading of elements.<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html#SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaGlobalElement)"><B>SchemaGlobalElement.Ref(SchemaGlobalElement)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html#SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaGlobalElement.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>SchemaIdentityConstraint</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>.<DD>Represents an identity constraint definition.<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>SchemaIdentityConstraint.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>.<DD>Used to allow on-demand loading of identity constraints.<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaIdentityConstraint)"><B>SchemaIdentityConstraint.Ref(SchemaIdentityConstraint)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaIdentityConstraint.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html"><B>SchemaLocalAttribute</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>.<DD>Represents a local or global attribute definition.<DT><A HREF="org/apache/xmlbeans/SchemaLocalElement.html"><B>SchemaLocalElement</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>.<DD>Represents a local or global element definition.<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.html"><B>SchemaModelGroup</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>.<DD>Represents a model group.<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>SchemaModelGroup.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>.<DD>Used to allow on-demand loading of model groups.<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html#SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaModelGroup)"><B>SchemaModelGroup.Ref(SchemaModelGroup)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html#SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaModelGroup.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html"><B>SchemaParticle</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>.<DD>Represents a Schema particle definition.<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html"><B>SchemaProperty</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>.<DD>Represents a summary of similar SchemaFields in a complex type.<DT><A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>SchemaStringEnumEntry</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>.<DD>Describes a code-generated string enumeration<DT><A HREF="org/apache/xmlbeans/SchemaType.html"><B>SchemaType</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>.<DD>Represents a schema type.<DT><A HREF="org/apache/xmlbeans/SchemaType.Ref.html"><B>SchemaType.Ref</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A>.<DD>Used to allow on-demand loading of types.<DT><A HREF="org/apache/xmlbeans/SchemaType.Ref.html#SchemaType.Ref(org.apache.xmlbeans.SchemaType)"><B>SchemaType.Ref(SchemaType)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.Ref.html#SchemaType.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><B>SchemaType.Ref(SchemaTypeSystem, String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#schemaType()"><B>schemaType()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>The schema type for this instance.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#schemaType()"><B>schemaType()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html"><B>SchemaTypeLoader</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>.<DD>Represents a searchable set of XML Schema component definitions.<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html"><B>SchemaTypeLoaderException</B></A> - exception org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>.<DD>An exception that is thrown if there is corruption or a version mismatch
- in a compiled schema type system.<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int)"><B>SchemaTypeLoaderException(String, String, String, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>Constructs an exception with the given message, filename, extension, and code
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int, java.lang.Exception)"><B>SchemaTypeLoaderException(String, String, String, int, Exception)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>Constructs an exception with the given message, filename, extension, code, and cause
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html"><B>SchemaTypeSystem</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>.<DD>A finite set of XML Schema component definitions.<DT><A HREF="org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><B>selectPath(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Selects a path.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#selectPath(java.lang.String)"><B>selectPath(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Executes the specified XPath expression against the XML that this 
- cursor is in.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#selectPath(java.lang.String)"><B>selectPath(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>selectPath(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Selects a path, applying options.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>selectPath(String, XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Executes the specified XPath expression against the XML that this 
- cursor is in.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><B>selectPath(String, XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#SEQUENCE"><B>SEQUENCE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:sequence</a> group.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)"><B>set(BigDecimal)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>XmlDecimal.setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.math.BigDecimal)"><B>set(BigDecimal)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>SimpleValue.setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.math.BigDecimal)"><B>set(BigDecimal)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)"><B>set(BigInteger)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)"><CODE>XmlInteger.setBigIntegerValue(java.math.BigInteger)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.math.BigInteger)"><B>set(BigInteger)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)"><CODE>SimpleValue.setBigIntegerValue(java.math.BigInteger)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.math.BigInteger)"><B>set(BigInteger)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html#set(boolean)"><B>set(boolean)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)"><CODE>XmlBoolean.setBooleanValue(boolean)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(boolean)"><B>set(boolean)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)"><CODE>SimpleValue.setBooleanValue(boolean)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(boolean)"><B>set(boolean)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlByte.html#set(byte)"><B>set(byte)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlByte.html#setByteValue(byte)"><CODE>XmlByte.setByteValue(byte)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(byte)"><B>set(byte)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)"><CODE>SimpleValue.setByteValue(byte)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(byte)"><B>set(byte)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html#set(byte[])"><B>set(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])"><CODE>XmlHexBinary.setByteArrayValue(byte[])</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#set(byte[])"><B>set(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])"><CODE>XmlBase64Binary.setByteArrayValue(byte[])</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(byte[])"><B>set(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])"><CODE>SimpleValue.setByteArrayValue(byte[])</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(byte[])"><B>set(byte[])</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)"><CODE>XmlTime.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGYearMonth.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGYear.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGMonthDay.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGMonth.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)"><CODE>XmlGDay.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)"><CODE>XmlDateTime.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)"><CODE>XmlDate.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)"><CODE>SimpleValue.setCalendarValue(java.util.Calendar)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.util.Calendar)"><B>set(Calendar)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(java.util.Date)"><B>set(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)"><CODE>XmlDateTime.setDateValue(java.util.Date)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#set(java.util.Date)"><B>set(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)"><CODE>XmlDate.setDateValue(java.util.Date)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.Date)"><B>set(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)"><CODE>SimpleValue.setDateValue(java.util.Date)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.util.Date)"><B>set(Date)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html#set(double)"><B>set(double)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)"><CODE>XmlDouble.setDoubleValue(double)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(double)"><B>set(double)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)"><CODE>SimpleValue.setDoubleValue(double)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(double)"><B>set(double)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.html#set(float)"><B>set(float)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)"><CODE>XmlFloat.setFloatValue(float)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(float)"><B>set(float)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)"><CODE>SimpleValue.setFloatValue(float)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(float)"><B>set(float)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlTime.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGYearMonth.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGYear.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGMonthDay.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGMonth.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlGDay.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlDateTime.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>XmlDate.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>SimpleValue.setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.GDateSpecification)"><B>set(GDateSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.html#set(org.apache.xmlbeans.GDurationSpecification)"><B>set(GDurationSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>XmlDuration.setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDurationSpecification)"><B>set(GDurationSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>SimpleValue.setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.GDurationSpecification)"><B>set(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)"><CODE>XmlUnsignedShort.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlInt.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlInt.html#setIntValue(int)"><CODE>XmlInt.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGYear.html#setIntValue(int)"><CODE>XmlGYear.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)"><CODE>XmlGMonth.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlGDay.html#setIntValue(int)"><CODE>XmlGDay.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(int)"><B>set(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setIntValue(int)"><CODE>SimpleValue.setIntValue(int)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(int)"><B>set(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#set(int, java.lang.Object)"><B>set(int, Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Unsupported because this list is immutable.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#set(java.util.List)"><B>set(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#set(java.util.List)"><B>set(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#set(java.util.List)"><B>set(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.util.List)"><B>set(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)"><CODE>SimpleValue.setListValue(java.util.List)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.util.List)"><B>set(List)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#set(long)"><B>set(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)"><CODE>XmlUnsignedInt.setLongValue(long)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html#set(long)"><B>set(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlLong.html#setLongValue(long)"><CODE>XmlLong.setLongValue(long)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(long)"><B>set(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setLongValue(long)"><CODE>SimpleValue.setLongValue(long)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(long)"><B>set(long)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlQName.html#set(javax.xml.namespace.QName)"><B>set(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)"><CODE>XmlQName.setQNameValue(javax.xml.namespace.QName)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(javax.xml.namespace.QName)"><B>set(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)"><CODE>SimpleValue.setQNameValue(javax.xml.namespace.QName)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(javax.xml.namespace.QName)"><B>set(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#set(short)"><B>set(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)"><CODE>XmlUnsignedByte.setShortValue(short)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlShort.html#set(short)"><B>set(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlShort.html#setShortValue(short)"><CODE>XmlShort.setShortValue(short)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(short)"><B>set(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setShortValue(short)"><CODE>SimpleValue.setShortValue(short)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(short)"><B>set(short)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)"><B>set(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)"><CODE>XmlAnySimpleType.setStringValue(java.lang.String)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(java.lang.String)"><B>set(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)"><CODE>SimpleValue.setStringValue(java.lang.String)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(java.lang.String)"><B>set(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.StringEnumAbstractBase)"><B>set(StringEnumAbstractBase)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><CODE>SimpleValue.setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.StringEnumAbstractBase)"><B>set(StringEnumAbstractBase)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)"><B>set(XmlObject)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Set the value/type of this XmlObject to be a copy of the source
- XmlObject.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.XmlObject)"><B>set(XmlObject)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#setAttributeText(javax.xml.namespace.QName, java.lang.String)"><B>setAttributeText(QName, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>When at a START or STARTDOC, sets the attribute text for the given
- attribute.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)"><B>setBigDecimalValue(BigDecimal)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)"><B>setBigDecimalValue(BigDecimal)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setBigDecimalValue(java.math.BigDecimal)"><B>setBigDecimalValue(BigDecimal)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)"><B>setBigIntegerValue(BigInteger)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)"><B>setBigIntegerValue(BigInteger)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setBigIntegerValue(java.math.BigInteger)"><B>setBigIntegerValue(BigInteger)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#setBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)"><B>setBookmark(XmlCursor.XmlBookmark)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Sets a bookmark to the document at this cursor's location.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)"><B>setBooleanValue(boolean)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>
-<DD>Sets this value as a boolean
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)"><B>setBooleanValue(boolean)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a boolean.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setBooleanValue(boolean)"><B>setBooleanValue(boolean)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setBuiltinTypeCode(int)"><B>setBuiltinTypeCode(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Clears the fields in this GDateBuilder that are not applicable
- for the given SchemaType date code.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])"><B>setByteArrayValue(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>
-<DD>Sets this value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])"><B>setByteArrayValue(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>
-<DD>Sets this value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])"><B>setByteArrayValue(byte[])</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a byte array.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setByteArrayValue(byte[])"><B>setByteArrayValue(byte[])</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlByte.html#setByteValue(byte)"><B>setByteValue(byte)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>
-<DD>Sets this value as a byte
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)"><B>setByteValue(byte)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a byte.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setByteValue(byte)"><B>setByteValue(byte)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setCalendarValue(java.util.Calendar)"><B>setCalendarValue(Calendar)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><B>setCharacterEncoding(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>When parsing or writing a document, this sets the character
- encoding to use.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileDownloadUrls()"><B>setCompileDownloadUrls()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, then the schema compiler will try to download
- schemas that appear in imports and includes from network based URLs.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileMdefNamespaces(java.util.Set)"><B>setCompileMdefNamespaces(Set)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, then the schema compiler will permit and
- ignore multiple definitions of the same component (element, attribute,
- type, etc) names in the given namespaces.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileNoPvrRule()"><B>setCompileNoPvrRule()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, the particle valid (restriciton) rule is not
- enforced when building a <code>SchemaTypeSystem</code>.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileNoUpaRule()"><B>setCompileNoUpaRule()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, the unique particle attribution rule is not
- enforced when building a <code>SchemaTypeSystem</code>.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileNoValidation()"><B>setCompileNoValidation()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, validation is not done on the Schema XmlBeans
- when building a <code>SchemaTypeSystem</code>
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setCompileSubstituteNames(java.util.Map)"><B>setCompileSubstituteNames(Map)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option allows for <code>QName</code> substitution during schema compilation.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setDate(java.util.Date)"><B>setDate(Date)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the current time and date based on a java.util.Date instance.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)"><B>setDateValue(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)"><B>setDateValue(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)"><B>setDateValue(Date)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setDateValue(java.util.Date)"><B>setDateValue(Date)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setDay(int)"><B>setDay(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the day component.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setDay(int)"><B>setDay(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the day-of-month.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#setDefaultYear(int)"><B>setDefaultYear(int)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Sets the default year to be used when no year is specified.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypeName(java.lang.String)"><B>setDoctypeName(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the DOCTYPE name use in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypePublicId(java.lang.String)"><B>setDoctypePublicId(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the DOCTYPE public ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypeSystemId(java.lang.String)"><B>setDoctypeSystemId(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the DOCTYPE system ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setDocumentSourceName(java.lang.String)"><B>setDocumentSourceName(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option sets the document source name into the xml store
- when parsing a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><B>setDocumentType(SchemaType)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>When parsing a document, this sets the type of the root
- element.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)"><B>setDoubleValue(double)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>
-<DD>Sets this value as a double
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)"><B>setDoubleValue(double)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a double.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setDoubleValue(double)"><B>setDoubleValue(double)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setEncoding(java.lang.String)"><B>setEncoding(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the encoding to use for the XML document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setEntityResolver(org.xml.sax.EntityResolver)"><B>setEntityResolver(EntityResolver)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set when compiling a schema, then the given
- EntityResolver will be consulted in order to resolve any
- URIs while downloading imported schemas.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><B>setEnumValue(StringEnumAbstractBase)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><B>setEnumValue(StringEnumAbstractBase)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><B>setErrorListener(Collection)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Sets a collection object for collecting <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects 
- during parsing, validation, and compilation.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)"><B>setFloatValue(float)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>
-<DD>Sets this value as a float
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)"><B>setFloatValue(float)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a float.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setFloatValue(float)"><B>setFloatValue(float)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setFraction(java.math.BigDecimal)"><B>setFraction(BigDecimal)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the fraction-of-second component.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setGDate(org.apache.xmlbeans.GDateSpecification)"><B>setGDate(GDateSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Copies a GDateSpecification, completely replacing the current
- information in this GDateBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setGDateValue(org.apache.xmlbeans.GDate)"><B>setGDateValue(GDate)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><B>setGDurationValue(GDuration)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>
-<DD>Sets this value as a <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><B>setGDurationValue(GDuration)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><B>setGDurationValue(GDuration)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html#setHook(org.apache.xmlbeans.XmlFactoryHook)"><B>setHook(XmlFactoryHook)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html">XmlFactoryHook.ThreadContext</A>
-<DD>Sets the hook for the current thread.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setHour(int)"><B>setHour(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the hour component.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>
-<DD>Sets this value as an int
-<DT><A HREF="org/apache/xmlbeans/XmlInt.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>
-<DD>Sets this value as an int
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>Sets this value as an int from 1-31
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>Sets this value as an int from 1-12
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>Sets this value as an int from 1-31
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as an int.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setIntValue(int)"><B>setIntValue(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setJulianDate(int)"><B>setJulianDate(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the Gregorian date based on the given Julian date.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#setListValue(java.util.List)"><B>setListValue(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#setListValue(java.util.List)"><B>setListValue(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#setListValue(java.util.List)"><B>setListValue(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)"><B>setListValue(List)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setListValue(java.util.List)"><B>setListValue(List)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)"><B>setLoadAdditionalNamespaces(Map)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Set additional namespace mappings to be added when parsing
- a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()"><B>setLoadLineNumbers()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, line number annotations are placed
- in the store when parsing a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadMessageDigest()"><B>setLoadMessageDigest()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set when loading from an InputStream or File, then
- the loader will compute a 160-bit SHA-1 message digest of the XML
- file while loading it and make it available via
- XmlObject.documentProperties().getMessageDigest();
- <br>
- The schema compiler uses message digests to detect and eliminate
- duplicate imported xsd files.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><B>setLoadReplaceDocumentElement(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, the document element is replaced with the
- given QName when parsing.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()"><B>setLoadStripComments()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, all comments are stripped when parsing
- a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()"><B>setLoadStripProcinsts()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, all processing instructions 
- are stripped when parsing a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()"><B>setLoadStripWhitespace()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, all insignificant whitespace is stripped
- when parsing a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)"><B>setLoadSubstituteNamespaces(Map)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option sets a map of namespace uri substitutions that happen
- when parsing a document.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()"><B>setLoadTrimTextBuffer()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, the underlying xml text buffer is trimmed
- immediately after parsing a document resulting in a smaller memory
- footprint.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)"><B>setLongValue(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>
-<DD>Sets this value as a long
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html#setLongValue(long)"><B>setLongValue(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>
-<DD>Sets this value as a long
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setLongValue(long)"><B>setLongValue(long)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a long.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setLongValue(long)"><B>setLongValue(long)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setMessageDigest(byte[])"><B>setMessageDigest(byte[])</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the message digest used to summarize the document.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setMinute(int)"><B>setMinute(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the minute component.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setMonth(int)"><B>setMonth(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the month component.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setMonth(int)"><B>setMonth(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the month-of-year.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#setName(javax.xml.namespace.QName)"><B>setName(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Sets the name of the current token.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#setNil()"><B>setNil()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Sets the value to nil.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setNil()"><B>setNil()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)"><B>setObjectValue(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setObjectValue(java.lang.Object)"><B>setObjectValue(Object)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)"><B>setQNameValue(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)"><B>setQNameValue(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setQNameValue(javax.xml.namespace.QName)"><B>setQNameValue(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveAggresiveNamespaces()"><B>setSaveAggresiveNamespaces()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Causes the saver to reduce the number of namespace prefix declarations.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveFilterProcinst(java.lang.String)"><B>setSaveFilterProcinst(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option causes the saver to filter a Processing Instruction
- with the given target
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveImplicitNamespaces(java.util.Map)"><B>setSaveImplicitNamespaces(Map)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If namespaces have already been declared outside the scope of the
- fragment being saved, this allows those mappings to be passed
- down to the saver, so the prefixes are not re-declared.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveInner()"><B>setSaveInner()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option controls whether saving begins on the element or its contents
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveNamespacesFirst()"><B>setSaveNamespacesFirst()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option will cause the saver to save namespace attributes first.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveOuter()"><B>setSaveOuter()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option controls whether saving begins on the element or its contents
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()"><B>setSavePrettyPrint()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option will cause the saver to reformat white space for easier reading.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintIndent(int)"><B>setSavePrettyPrintIndent(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>When used with <code>setSavePrettyPrint</code> this sets the indent
- amount to use.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintOffset(int)"><B>setSavePrettyPrintOffset(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>When used with <code>setSavePrettyPrint</code> this sets the offset
- amount to use.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveSuggestedPrefixes(java.util.Map)"><B>setSaveSuggestedPrefixes(Map)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>A map of hints to pass to the saver for which prefixes to use
- for which namespace URI.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveSyntheticDocumentElement(javax.xml.namespace.QName)"><B>setSaveSyntheticDocumentElement(QName)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>This option causes the saver to wrap the current fragment in
- an element with the given name.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setSaveUseOpenFrag()"><B>setSaveUseOpenFrag()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>When saving a fragment, this option changes the qname of the synthesized
- root element.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setSecond(int)"><B>setSecond(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the second component.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)"><B>setShortValue(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>
-<DD>Sets this value as a short
-<DT><A HREF="org/apache/xmlbeans/XmlShort.html#setShortValue(short)"><B>setShortValue(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>
-<DD>Sets this value as a short
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setShortValue(short)"><B>setShortValue(short)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a short.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setShortValue(short)"><B>setShortValue(short)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setSign(int)"><B>setSign(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the sign.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setSourceName(java.lang.String)"><B>setSourceName(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the name of the XML document file.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)"><B>setStringValue(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)"><B>setStringValue(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#setStringValue(java.lang.String)"><B>setStringValue(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#setTextValue(char[], int, int)"><B>setTextValue(char[], int, int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Sets the text value of the XML at this cursor's location (if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST) to the 
- contents of the specified character array.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#setTextValue(java.lang.String)"><B>setTextValue(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Sets the text value of the XML at this cursor's location if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setTime(int, int, int, java.math.BigDecimal)"><B>setTime(int, int, int, BigDecimal)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the time.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setTimeZone(int, int, int)"><B>setTimeZone(int, int, int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the time zone without changing the other time
- fields.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setUseDefaultNamespace()"><B>setUseDefaultNamespace()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set, the saver will try to use the default
- namespace for the most commonly used URI.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setValidateOnSet()"><B>setValidateOnSet()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>If this option is set when an instance is created, then value
- facets will be checked on each call to a setter or getter
- method on instances of XmlObject within the instance document.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#setVersion(java.lang.String)"><B>setVersion(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Sets the XML version string to use in the &lt&#63;xml&#63;&gt; declaration.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)"><B>setXqueryCurrentNodeVar(String)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Sets the name of the variable that represents
- the current node in a query expression.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#setYear(int)"><B>setYear(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Sets the year component.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#setYear(int)"><B>setYear(int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Sets the year.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><B>SEVERITY_ERROR</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>An error.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><B>SEVERITY_INFO</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>An informational message.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><B>SEVERITY_WARNING</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>A warning.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#shortValue()"><B>shortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()"><CODE>XmlUnsignedByte.getShortValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlShort.html#shortValue()"><B>shortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/XmlShort.html#getShortValue()"><CODE>XmlShort.getShortValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#shortValue()"><B>shortValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getShortValue()"><CODE>SimpleValue.getShortValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#shortValue()"><B>shortValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><B>SIMPLE_CONTENT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Simple content.
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html"><B>SimpleValue</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>.<DD>All XmlObject implementations can be coerced to SimpleValue.<DT><A HREF="org/apache/xmlbeans/QNameSet.html#singleton(javax.xml.namespace.QName)"><B>singleton(QName)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a QNameSet containing only the given QName.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BIG_DECIMAL"><B>SIZE_BIG_DECIMAL</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BIG_INTEGER"><B>SIZE_BIG_INTEGER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_BYTE"><B>SIZE_BYTE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in a byte.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_INT"><B>SIZE_INT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in an int.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_LONG"><B>SIZE_LONG</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in a long.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#SIZE_SHORT"><B>SIZE_SHORT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Fits in a short.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#size()"><B>size()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns the number of elements in this list.
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#SKIP"><B>SKIP</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Skip wildcard</a> processing.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#SKIP"><B>SKIP</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Skip wildcard processing.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#SOURCE_NAME"><B>SOURCE_NAME</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Used to store the original name (a String) for
- the source from which the XML document was loaded.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#SPACE"><B>SPACE</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a space, events are only
- reported as SPACE if they are ignorable white
- space.
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html#standaloneSet()"><B>standaloneSet()</B></A> - 
-Method in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>
-<DD>Checks if standalone was set in the document
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#START"><B>START</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton start-element token type
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#START_DOCUMENT"><B>START_DOCUMENT</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a start document
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#START_ELEMENT"><B>START_ELEMENT</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is a start element
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html#START_ENTITY"><B>START_ENTITY</B></A> - 
-Static variable in interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>
-<DD>Indicates an event is the start of a resolved entity
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#STARTDOC"><B>STARTDOC</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton start-document token type
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#STRICT"><B>STRICT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Strict wildcard</a> processing.
-<DT><A HREF="org/apache/xmlbeans/SchemaAttributeModel.html#STRICT"><B>STRICT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A>
-<DD>Strict wildcard processing.
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html"><B>StringEnumAbstractBase</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>.<DD>The base class for code-generated string enumeration value classes.<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>StringEnumAbstractBase.Table</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A>.<DD>Used to manage singleton instances of enumerations.<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html#StringEnumAbstractBase.Table(org.apache.xmlbeans.StringEnumAbstractBase[])"><B>StringEnumAbstractBase.Table(StringEnumAbstractBase[])</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html#StringEnumAbstractBase(java.lang.String, int)"><B>StringEnumAbstractBase(String, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>
-<DD>Singleton instances should only be created by subclasses.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()"><B>stringValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()"><CODE>XmlAnySimpleType.getStringValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#stringValue()"><B>stringValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getStringValue()"><CODE>SimpleValue.getStringValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#stringValue()"><B>stringValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#subList(int, int)"><B>subList(int, int)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#substitutionGroup()"><B>substitutionGroup()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>The element that is the head of this element's substitution
- group, or <code>null</code> if this element is not a member
- of a substitution group.
-<DT><A HREF="org/apache/xmlbeans/SchemaGlobalElement.html#substitutionGroupMembers()"><B>substitutionGroupMembers()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>
-<DD>Set of QNames for elements that are the members of the
- substitution group for which this element is the head,
- not including this element.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#subtract(org.apache.xmlbeans.GDurationSpecification)"><B>subtract(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>Returns a new GDuration which is the result of subtracting
- the supplied duration from this one.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#subtract(org.apache.xmlbeans.GDurationSpecification)"><B>subtract(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>Adds a duration to this GDate, and returns a new GDate.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#subtractGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>subtractGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Subtracts from this duration.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#subtractGDuration(org.apache.xmlbeans.GDurationSpecification)"><B>subtractGDuration(GDurationSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Subtracts a given duration from the date/time.
-</DL>
-<HR>
-<A NAME="_T_"><!-- --></A><H2>
-<B>T</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#TEXT"><B>TEXT</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>The singleton text token type
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#toArray()"><B>toArray()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Copies the collection to an array.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#toArray(java.lang.Object[])"><B>toArray(Object[])</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Copies the collection to an array of a specified type.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)"><B>toBookmark(XmlCursor.XmlBookmark)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the same position as the bookmark.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#toBookmark(org.apache.xmlbeans.XmlCursor)"><B>toBookmark(XmlCursor)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>Moves the given cursor to this bookmark, and returns it.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toChild(int)"><B>toChild(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the child element specified by <em>index</em>.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toChild(javax.xml.namespace.QName)"><B>toChild(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first child element of the specified qualified name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toChild(javax.xml.namespace.QName, int)"><B>toChild(QName, int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the specified <em>index</em> child element of the 
- specified name, where that element is the .
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toChild(java.lang.String)"><B>toChild(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first child element of the specified name in 
- no namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toChild(java.lang.String, java.lang.String)"><B>toChild(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first child element of the specified name in the 
- specified namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toCursor(org.apache.xmlbeans.XmlCursor)"><B>toCursor(XmlCursor)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the same position as the moveTo cursor.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toEndDoc()"><B>toEndDoc()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the ENDDOC token, which is the end
- of the document.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toEndToken()"><B>toEndToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the END or ENDDOC token corresponding to the
- current START or STARTDOC, and returns END or ENDDOC.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toFirstAttribute()"><B>toFirstAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toFirstChild()"><B>toFirstChild()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first child element, or returns false and
- does not move the cursor if there are no element children.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toFirstContentToken()"><B>toFirstContentToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the first token in the content of the current
- START or STARTDOC.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#toGDate()"><B>toGDate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>Builds a GDate from this GDateBuilder.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#toGDuration()"><B>toGDuration()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>Builds a GDuration from this GDurationBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toLastAttribute()"><B>toLastAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the last attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toLastChild()"><B>toLastChild()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the last element child, or returns false and
- does not move the cursor if there are no element children.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextAttribute()"><B>toNextAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next sibling attribute, or returns
- false and does not move the cursor if there is no next
- sibling attribute.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextBookmark(java.lang.Object)"><B>toNextBookmark(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the location after its current position
- where a bookmark with the given key exists.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextChar(int)"><B>toNextChar(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor forward by the specified number of characters, and
- stops at the next non-TEXT token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextSelection()"><B>toNextSelection()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the next location in the selection, 
- if any.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextSibling()"><B>toNextSibling()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next sibling element, or returns
- false and does not move the cursor if there is no next sibling
- element.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextSibling(javax.xml.namespace.QName)"><B>toNextSibling(QName)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next sibling element of the specified 
- qualified name.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextSibling(java.lang.String)"><B>toNextSibling(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next sibling element of the specified name in no
- namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextSibling(java.lang.String, java.lang.String)"><B>toNextSibling(String, String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next sibling element of the specified name 
- in the specified namespace.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toNextToken()"><B>toNextToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the next token.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toParent()"><B>toParent()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the parent element or STARTDOC, or returns
- false and does not move the cursor if there is no parent.<br/><br/>
-
- Works if you're in attributes or content.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toPrevAttribute()"><B>toPrevAttribute()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the previous sibling attribute, or returns
- false and does not move the cursor if there is no previous
- sibling attribute.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toPrevBookmark(java.lang.Object)"><B>toPrevBookmark(Object)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the location before its current position
- where a bookmark with the given key exists.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toPrevChar(int)"><B>toPrevChar(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor backwards by the number of characters given.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toPrevSibling()"><B>toPrevSibling()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the previous sibling element, or returns
- false and does not move the cursor if there is no previous sibling
- element.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toPrevToken()"><B>toPrevToken()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the previous token.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#toQNameSet()"><B>toQNameSet()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Returns a <A HREF="org/apache/xmlbeans/QNameSet.html"><CODE>QNameSet</CODE></A> equivalent to the current state of this
- QNameSetBuilder.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toSelection(int)"><B>toSelection(int)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves this cursor to the specified location in the selection.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html#toStartDoc()"><B>toStartDoc()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>
-<DD>Moves the cursor to the STARTDOC token, which is the 
- root of the document.
-<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Returns a space-separated list of the string representations of all
- the items in the list.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#toString()"><B>toString()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Returns an XML string for this XML object.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Produces a standard string for the error message, complete with
- filename and location offsets if available.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Prints the XmlCalendar using a standard XML Schema
- format, as described in XmlCalendar(String s).
-<DT><A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>
-<DD>Returns the underlying string value
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Returns a string representation useful for debugging, subject to change.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a string representation useful for debugging, subject to change.
-<DT><A HREF="org/apache/xmlbeans/GDurationBuilder.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A>
-<DD>The natural string representation of the duration.
-<DT><A HREF="org/apache/xmlbeans/GDuration.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html">GDuration</A>
-<DD>The natural string representation of the duration.
-<DT><A HREF="org/apache/xmlbeans/GDateSpecification.html#toString()"><B>toString()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>
-<DD>The natural string representation.
-<DT><A HREF="org/apache/xmlbeans/GDateBuilder.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A>
-<DD>The natural string representation.
-<DT><A HREF="org/apache/xmlbeans/GDate.html#toString()"><B>toString()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html">GDate</A>
-<DD>The natural string representation.
-<DT><A HREF="org/apache/xmlbeans/XmlError.html#toString(java.net.URI)"><B>toString(URI)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Produces a standard string with the error message.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#TOTAL_ORDER"><B>TOTAL_ORDER</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Totally ordered.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlToken.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.html">XmlToken</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlString.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.html">XmlString</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlShort.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlQName.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlNCName.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlName.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.html">XmlName</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlLanguage.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlInteger.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlInt.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlIDREF.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlID.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.html">XmlID</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlGYear.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlGDay.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlFloat.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITY.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlDuration.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlDate.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlByte.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html#type"><B>type</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>
-<DD>The constant <A HREF="org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.html#TYPE"><B>TYPE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>
-<DD>A type definition.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#typeForClass(java.lang.Class)"><B>typeForClass(Class)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the SchemaType from a corresponding XmlObject subclass,
- or null if none.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#typeForClassname(java.lang.String)"><B>typeForClassname(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Finds a type for a given fully-qualified XML Bean classname
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeSystem.html#typeForHandle(java.lang.String)"><B>typeForHandle(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>
-<DD>Locates a type, element, or attribute using the handle.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoader.html#typeForSignature(java.lang.String)"><B>typeForSignature(String)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>
-<DD>Finds a type for a given signature string
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#typeLoaderForClassLoader(java.lang.ClassLoader)"><B>typeLoaderForClassLoader(ClassLoader)</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns a SchemaTypeLoader that searches for compiled schema types
- in the given ClassLoader.
-<DT><A HREF="org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><B>typeLoaderUnion(SchemaTypeLoader[])</B></A> - 
-Static method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>
-<DD>Returns the union of a list of typeLoaders.
-</DL>
-<HR>
-<A NAME="_U_"><!-- --></A><H2>
-<B>U</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#underlyingXmlObject()"><B>underlyingXmlObject()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>This abstract method is called to obtain the underlying XmlObject.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#UNION"><B>UNION</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Union type.
-<DT><A HREF="org/apache/xmlbeans/QNameSetSpecification.html#union(org.apache.xmlbeans.QNameSetSpecification)"><B>union(QNameSetSpecification)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>
-<DD>Returns the union with another QNameSet.
-<DT><A HREF="org/apache/xmlbeans/QNameSetBuilder.html#union(org.apache.xmlbeans.QNameSetSpecification)"><B>union(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A>
-<DD>Returns a new QNameSet that is the union of this one and another.
-<DT><A HREF="org/apache/xmlbeans/QNameSet.html#union(org.apache.xmlbeans.QNameSetSpecification)"><B>union(QNameSetSpecification)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html">QNameSet</A>
-<DD>Returns a new QNameSet that is the union of this one and another.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#UNORDERED"><B>UNORDERED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Unordered.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#UNRECOGNIZED_INDEX_ENTRY"><B>UNRECOGNIZED_INDEX_ENTRY</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-</DL>
-<HR>
-<A NAME="_V_"><!-- --></A><H2>
-<B>V</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#VALIDATE_ON_SET"><B>VALIDATE_ON_SET</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#validate()"><B>validate()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Returns true if the contents of this object are valid
- accoring to schemaType().
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#validate()"><B>validate()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)"><B>validate(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>Just like validate(), but with options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#validate(org.apache.xmlbeans.XmlOptions)"><B>validate(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)"><B>valueEquals(XmlObject)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>True if the xml values are equal.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)"><B>valueEquals(XmlObject)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlObject.html#valueHashCode()"><B>valueHashCode()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#valueHashCode()"><B>valueHashCode()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><B>VARIABLE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>Applies to some, but not other elements for this property.
-<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#VERSION"><B>VERSION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>Document version
-</DL>
-<HR>
-<A NAME="_W_"><!-- --></A><H2>
-<B>W</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/SchemaParticle.html#WILDCARD"><B>WILDCARD</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-openness">xs:any</a> particle,
- also known as an element wildcard.
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_FILE_TYPE"><B>WRONG_FILE_TYPE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAGIC_COOKIE"><B>WRONG_MAGIC_COOKIE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAJOR_VERSION"><B>WRONG_MAJOR_VERSION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MINOR_VERSION"><B>WRONG_MINOR_VERSION</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_PROPERTY_TYPE"><B>WRONG_PROPERTY_TYPE</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_SIMPLE_VARIETY"><B>WRONG_SIMPLE_VARIETY</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#WS_COLLAPSE"><B>WS_COLLAPSE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Whitespace collapsed and trimmed.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#WS_PRESERVE"><B>WS_PRESERVE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Whitespace preserved.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#WS_REPLACE"><B>WS_REPLACE</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Whitespace replaced by ordinary space.
-<DT><A HREF="org/apache/xmlbeans/SchemaType.html#WS_UNSPECIFIED"><B>WS_UNSPECIFIED</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html">SchemaType</A>
-<DD>Whitespace rule unspecified.
-</DL>
-<HR>
-<A NAME="_X_"><!-- --></A><H2>
-<B>X</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#xgetListValue()"><B>xgetListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#xgetListValue()"><B>xgetListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#xgetListValue()"><B>xgetListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> values
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#xgetListValue()"><B>xgetListValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#xgetListValue()"><B>xgetListValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#xlistValue()"><B>xlistValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>XmlNMTOKENS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html#xlistValue()"><B>xlistValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>XmlIDREFS.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html#xlistValue()"><B>xlistValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>XmlENTITIES.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/SimpleValue.html#xlistValue()"><B>xlistValue()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>SimpleValue.getListValue()</CODE></A></I>
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#xlistValue()"><B>xlistValue()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/SchemaProperty.html#XML_OBJECT"><B>XML_OBJECT</B></A> - 
-Static variable in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>
-<DD>An XML Bean type that inherits from <A HREF="org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><B>XmlAnySimpleType</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definition">xs:anySimpleType</a> type.<DT><A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>XmlAnySimpleType.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.html"><B>XmlAnyURI</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#anyURI">xs:anyURI</a> type.<DT><A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>XmlAnyURI.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><B>XmlBase64Binary</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#base64Binary">xs:base64Binary</a> type.<DT><A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>XmlBase64Binary.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlBeans.html"><B>XmlBeans</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html">XmlBeans</A>.<DD>Provides an assortment of utilities
- for managing XML Bean types, type systems, QNames, paths,
- and queries.<DT><A HREF="org/apache/xmlbeans/XmlBoolean.html"><B>XmlBoolean</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#boolean">xs:boolean</a> type.<DT><A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html"><B>XmlBoolean.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlByte.html"><B>XmlByte</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html">XmlByte</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#byte">xs:byte</a> type.<DT><A HREF="org/apache/xmlbeans/XmlByte.Factory.html"><B>XmlByte.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html"><B>XmlCalendar</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>.<DD>An XML Schema compatible subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar()"><B>XmlCalendar()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an empty instance with no fields set.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(java.util.Date)"><B>XmlCalendar(Date)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an XmlCalendar from a Date.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(org.apache.xmlbeans.GDateSpecification)"><B>XmlCalendar(GDateSpecification)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an XmlCalendar from a GDate.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal)"><B>XmlCalendar(int, int, int, int, int, int, BigDecimal)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the default timezone.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><B>XmlCalendar(int, int, int, int, int, int, BigDecimal, int, int, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the specified timezone.
-<DT><A HREF="org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(java.lang.String)"><B>XmlCalendar(String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A>
-<DD>Constructs an XmlCalendar for a standard XML
- schema formatted date string.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.html"><B>XmlCursor</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>.<DD>Represents a position between two logical tokens in an XML document.<DT><A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>XmlCursor.ChangeStamp</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html">XmlCursor.ChangeStamp</A>.<DD>Represents the state of a dcoument at a particular point
- in time.<DT><A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html"><B>XmlCursor.TokenType</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A>.<DD>An enumeration that identifies the type of an XML token.<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>XmlCursor.XmlBookmark</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>.<DD>Subclasses of XmlBookmark can be used to annotate an XML document.<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#XmlCursor.XmlBookmark()"><B>XmlCursor.XmlBookmark()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>Constructs a strongly-referenced bookmark.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#XmlCursor.XmlBookmark(boolean)"><B>XmlCursor.XmlBookmark(boolean)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>Constructs a bookmark.
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>XmlCursor.XmlMark</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html">XmlCursor.XmlMark</A>.<DD>An abstract <A HREF="org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> factory.<DT><A HREF="org/apache/xmlbeans/XmlDate.html"><B>XmlDate</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html">XmlDate</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#date">xs:date</a> type.<DT><A HREF="org/apache/xmlbeans/XmlDate.Factory.html"><B>XmlDate.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlDateTime.html"><B>XmlDateTime</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#dateTime">xs:dateTime</a> type.<DT><A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html"><B>XmlDateTime.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlDecimal.html"><B>XmlDecimal</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a> type.<DT><A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html"><B>XmlDecimal.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html"><B>XmlDocumentProperties</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>.<DD>This class is used to attach arbitrary information to an XML
- document.<DT><A HREF="org/apache/xmlbeans/XmlDocumentProperties.html#XmlDocumentProperties()"><B>XmlDocumentProperties()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlDouble.html"><B>XmlDouble</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#double">xs:double</a> type.<DT><A HREF="org/apache/xmlbeans/XmlDouble.Factory.html"><B>XmlDouble.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlDuration.html"><B>XmlDuration</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">xs:duration</a> type.<DT><A HREF="org/apache/xmlbeans/XmlDuration.Factory.html"><B>XmlDuration.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.html"><B>XmlENTITIES</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITIES">xs:ENTITIES</a> type,
- a list type.<DT><A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>XmlENTITIES.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlENTITY.html"><B>XmlENTITY</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITY">xs:ENTITY</a> type.<DT><A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html"><B>XmlENTITY.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlError.html"><B>XmlError</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>.<DD>Represents a message at a specific XML location.<DT><A HREF="org/apache/xmlbeans/XmlError.html#XmlError(org.apache.xmlbeans.XmlError)"><B>XmlError(XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A>
-<DD>Copy constructor.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html"><B>XmlException</B></A> - exception org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>.<DD>A checked exception that can be thrown while processing,
- parsing, or compiling XML.<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String)"><B>XmlException(String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from a message.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable)"><B>XmlException(String, Throwable)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from a message and a cause.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable, java.util.Collection)"><B>XmlException(String, Throwable, Collection)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from a message, a cause, and a collection of <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)"><B>XmlException(String, Throwable, XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from a message, a cause, and an <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(java.lang.Throwable)"><B>XmlException(Throwable)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from a cause.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(org.apache.xmlbeans.XmlError)"><B>XmlException(XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from an <A HREF="org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlException.html#XmlException(org.apache.xmlbeans.XmlRuntimeException)"><B>XmlException(XmlRuntimeException)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html">XmlException</A>
-<DD>Constructs an XmlException from an <A HREF="org/apache/xmlbeans/XmlRuntimeException.html"><CODE>XmlRuntimeException</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.html"><B>XmlFactoryHook</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>.<DD>A hook for the XML Bean Factory mechanism.<DT><A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>XmlFactoryHook.ThreadContext</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html">XmlFactoryHook.ThreadContext</A>.<DD>Used to manage the XmlFactoryHook for the current thread.<DT><A HREF="org/apache/xmlbeans/XmlFloat.html"><B>XmlFloat</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#float">xs:float</a> type.<DT><A HREF="org/apache/xmlbeans/XmlFloat.Factory.html"><B>XmlFloat.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlGDay.html"><B>XmlGDay</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gDay">xs:gDay</a> type.<DT><A HREF="org/apache/xmlbeans/XmlGDay.Factory.html"><B>XmlGDay.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlGMonth.html"><B>XmlGMonth</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonth">xs:gMonth</a> type.<DT><A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html"><B>XmlGMonth.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><B>XmlGMonthDay</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">xs:gMonthDay</a> type.<DT><A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>XmlGMonthDay.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlGYear.html"><B>XmlGYear</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gYear">xs:gYear</a> type.<DT><A HREF="org/apache/xmlbeans/XmlGYear.Factory.html"><B>XmlGYear.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><B>XmlGYearMonth</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">xs:gYearMonth</a> type.<DT><A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>XmlGYearMonth.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.html"><B>XmlHexBinary</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#hexBinary">xs:hexBinary</a> type.<DT><A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>XmlHexBinary.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlID.html"><B>XmlID</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.html">XmlID</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ID">xs:ID</a> type.<DT><A HREF="org/apache/xmlbeans/XmlID.Factory.html"><B>XmlID.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlIDREF.html"><B>XmlIDREF</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREF">xs:IDREF</a> type.<DT><A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html"><B>XmlIDREF.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.html"><B>XmlIDREFS</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREFS">xs:IDREFS</a> type,
- a list type.<DT><A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>XmlIDREFS.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlInt.html"><B>XmlInt</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html">XmlInt</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a> type.<DT><A HREF="org/apache/xmlbeans/XmlInt.Factory.html"><B>XmlInt.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlInteger.html"><B>XmlInteger</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#integer">xs:integer</a> type.<DT><A HREF="org/apache/xmlbeans/XmlInteger.Factory.html"><B>XmlInteger.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlLanguage.html"><B>XmlLanguage</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#language">xs:language</a> type.<DT><A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html"><B>XmlLanguage.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html"><B>XmlLineNumber</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>.<DD>A subclass of XmlBookmark that holds line number information.<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int)"><B>XmlLineNumber(int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Constructs a line number with no column or offset information.
-<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int, int)"><B>XmlLineNumber(int, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Constructs a line number and column with no file offset information.
-<DT><A HREF="org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int, int, int)"><B>XmlLineNumber(int, int, int)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A>
-<DD>Constructs a line number and column with no file offset information.
-<DT><A HREF="org/apache/xmlbeans/XmlLong.html"><B>XmlLong</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html">XmlLong</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#long">xs:long</a> type.<DT><A HREF="org/apache/xmlbeans/XmlLong.Factory.html"><B>XmlLong.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlName.html"><B>XmlName</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.html">XmlName</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.<DT><A HREF="org/apache/xmlbeans/XmlName.Factory.html"><B>XmlName.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNCName.html"><B>XmlNCName</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNCName.Factory.html"><B>XmlNCName.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><B>XmlNegativeInteger</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#negativeInteger">xs:negativeInteger</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>XmlNegativeInteger.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><B>XmlNMTOKEN</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>XmlNMTOKEN.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><B>XmlNMTOKENS</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS">xs:NMTOKENS</a> type,
- a list type.<DT><A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>XmlNMTOKENS.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>XmlNonNegativeInteger</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">xs:nonNegativeInteger</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>XmlNonNegativeInteger.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>XmlNonPositiveInteger</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">xs:nonPositiveInteger</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>XmlNonPositiveInteger.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><B>XmlNormalizedString</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>XmlNormalizedString.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.html"><B>XmlNOTATION</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NOTATION">xs:NOTATION</a> type.<DT><A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>XmlNOTATION.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlObject.html"><B>XmlObject</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-1/#key-urType">xs:anyType</a>,
- the base type for all XML Beans.<DT><A HREF="org/apache/xmlbeans/XmlObject.Factory.html"><B>XmlObject.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A>.<DD>Static factory class for creating new instances.<DT><A HREF="org/apache/xmlbeans/XmlOptions.html"><B>XmlOptions</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>.<DD>Used to supply options for loading, saving, and compiling, and validating.<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#XmlOptions()"><B>XmlOptions()</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Construct a new blank XmlOptions.
-<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#XmlOptions(org.apache.xmlbeans.XmlOptions)"><B>XmlOptions(XmlOptions)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>Construct a new XmlOptions, copying the options.
-<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><B>XmlPositiveInteger</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#positiveInteger">xs:positiveInteger</a> type.<DT><A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>XmlPositiveInteger.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlQName.html"><B>XmlQName</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html">XmlQName</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#QName">xs:QName</a> type.<DT><A HREF="org/apache/xmlbeans/XmlQName.Factory.html"><B>XmlQName.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html"><B>XmlRuntimeException</B></A> - exception org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>.<DD>An unchecked XML exception.<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String)"><B>XmlRuntimeException(String)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from a message.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable)"><B>XmlRuntimeException(String, Throwable)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from a message and a cause.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable, java.util.Collection)"><B>XmlRuntimeException(String, Throwable, Collection)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)"><B>XmlRuntimeException(String, Throwable, XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from a message, a cause, and an XmlError.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.Throwable)"><B>XmlRuntimeException(Throwable)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from a cause.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(org.apache.xmlbeans.XmlError)"><B>XmlRuntimeException(XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from an XmlError.
-<DT><A HREF="org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(org.apache.xmlbeans.XmlException)"><B>XmlRuntimeException(XmlException)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>
-<DD>Constructs an XmlRuntimeException from an <A HREF="org/apache/xmlbeans/XmlException.html"><CODE>XmlException</CODE></A>.
-<DT><A HREF="org/apache/xmlbeans/XmlSaxHandler.html"><B>XmlSaxHandler</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A>.<DD>A holder for a SAX <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html"><CODE>LexicalHandler</CODE></A> that are
- capable of loading an <A HREF="org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> instance.<DT><A HREF="org/apache/xmlbeans/XmlShort.html"><B>XmlShort</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html">XmlShort</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#short">xs:short</a> type.<DT><A HREF="org/apache/xmlbeans/XmlShort.Factory.html"><B>XmlShort.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html"><B>XmlSimpleList</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>.<DD>The immutable <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> returned for XML simple list values.<DT><A HREF="org/apache/xmlbeans/XmlSimpleList.html#XmlSimpleList(java.util.List)"><B>XmlSimpleList(List)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html">XmlSimpleList</A>
-<DD>Constructs an immutable XmlSimpleList that wraps (does not copy)
- the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<DT><A HREF="javax/xml/stream/XMLStreamConstants.html"><B>XMLStreamConstants</B></A> - interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A>.<DD>This interface declares the constants used in this API.<DT><A HREF="javax/xml/stream/XMLStreamException.html"><B>XMLStreamException</B></A> - exception javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>.<DD>The base exception for unexpected processing errors.<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException()"><B>XMLStreamException()</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Default constructor
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String)"><B>XMLStreamException(String)</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Construct an exception with the assocated message.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, javax.xml.stream.Location)"><B>XMLStreamException(String, Location)</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Construct an exception with the assocated message, exception and location.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, javax.xml.stream.Location, java.lang.Throwable)"><B>XMLStreamException(String, Location, Throwable)</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Construct an exception with the assocated message, exception and location.
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, java.lang.Throwable)"><B>XMLStreamException(String, Throwable)</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Construct an exception with the assocated message and exception
-<DT><A HREF="javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.Throwable)"><B>XMLStreamException(Throwable)</B></A> - 
-Constructor for class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html">XMLStreamException</A>
-<DD>Construct an exception with the assocated exception
-<DT><A HREF="javax/xml/stream/XMLStreamReader.html"><B>XMLStreamReader</B></A> - interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A>.<DD>The XMLStreamReader interface allows forward, read-only access to XML.<DT><A HREF="org/apache/xmlbeans/XMLStreamValidationException.html"><B>XMLStreamValidationException</B></A> - exception org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html">XMLStreamValidationException</A>.<DD>An exception thrown from a validating XMLInputStream.<DT><A HREF="org/apache/xmlbeans/XMLStreamValidationException.html#XMLStreamValidationException(org.apache.xmlbeans.XmlError)"><B>XMLStreamValidationException(XmlError)</B></A> - 
-Constructor for class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html">XMLStreamValidationException</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlString.html"><B>XmlString</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.html">XmlString</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a> type.<DT><A HREF="org/apache/xmlbeans/XmlString.Factory.html"><B>XmlString.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#xmlText()"><B>xmlText()</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Returns standard XML text.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#xmlText()"><B>xmlText()</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><B>xmlText(XmlOptions)</B></A> - 
-Method in interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>
-<DD>Just like xmlText() but with options.
-<DT><A HREF="org/apache/xmlbeans/FilterXmlObject.html#xmlText(org.apache.xmlbeans.XmlOptions)"><B>xmlText(XmlOptions)</B></A> - 
-Method in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlTime.html"><B>XmlTime</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html">XmlTime</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#time">xs:time</a> type.<DT><A HREF="org/apache/xmlbeans/XmlTime.Factory.html"><B>XmlTime.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlToken.html"><B>XmlToken</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.html">XmlToken</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a> type.<DT><A HREF="org/apache/xmlbeans/XmlToken.Factory.html"><B>XmlToken.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlTokenSource.html"><B>XmlTokenSource</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>.<DD>Represents a holder of XML that can return an <A HREF="org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>
- or copy itself to various media such as
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html"><CODE>Writers</CODE></A> or <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>Files</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><B>XmlUnsignedByte</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedByte">xs:unsignedByte</a> type.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>XmlUnsignedByte.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><B>XmlUnsignedInt</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedInt">xs:unsignedInt</a> type.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>XmlUnsignedInt.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><B>XmlUnsignedLong</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedLong">xs:unsignedLong</a> type.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>XmlUnsignedLong.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><B>XmlUnsignedShort</B></A> - interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A>.<DD>Corresponds to the XML Schema
- <a target="/org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedShort">xs:unsignedShort</a> type.<DT><A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html"><B>XmlUnsignedShort.Factory</B></A> - class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A>.<DD>A class with methods for creating instances
- of <A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>.<DT><A HREF="org/apache/xmlbeans/XmlOptions.html#XQUERY_CURRENT_NODE_VAR"><B>XQUERY_CURRENT_NODE_VAR</B></A> - 
-Static variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>
-<DD>&nbsp;
-</DL>
-<HR>
-<A NAME="___"><!-- --></A><H2>
-<B>_</B></H2>
-<DL>
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_currentMark"><B>_currentMark</B></A> - 
-Variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>The mark is set by the host document; it is capable of
- returning an XmlCursor implementation at the location of
- the bookmark.
-<DT><A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html#_handle"><B>_handle</B></A> - 
-Variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A>
-<DD>&nbsp;
-<DT><A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_ref"><B>_ref</B></A> - 
-Variable in class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>
-<DD>If non-null, the ref is used by the host document
- to maintain a reference to the bookmark.
-</DL>
-<HR>
-<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <A HREF="#_X_">X</A> <A HREF="#___">_</A> 
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/index.html b/website/src/documentation/content/docs/reference/index.html
deleted file mode 100644
index c59f06a..0000000
--- a/website/src/documentation/content/docs/reference/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003-->
-<TITLE>
-XMLBeans Documentation
-</TITLE>
-</HEAD>
-<FRAMESET cols="20%,80%">
-<FRAMESET rows="30%,70%">
-<FRAME src="overview-frame.html" name="packageListFrame">
-<FRAME src="allclasses-frame.html" name="packageFrame">
-</FRAMESET>
-<FRAME src="overview-summary.html" name="classFrame">
-</FRAMESET>
-<NOFRAMES>
-<H2>
-Frame Alert</H2>
-
-<P>
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-Link to<A HREF="overview-summary.html">Non-frame version.</A></NOFRAMES>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/Location.html b/website/src/documentation/content/docs/reference/javax/xml/stream/Location.html
deleted file mode 100644
index 11672ad..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/Location.html
+++ /dev/null
@@ -1,286 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-Location (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream.Location,Location interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Location (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamConstants.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="Location.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-javax.xml.stream</FONT>
-<BR>
-Interface Location</H2>
-<HR>
-<DL>
-<DT>public interface <B>Location</B></DL>
-
-<P>
-Provides information on the location of an event.
-
- All the information provided by a Location is optional.  For example
- an application may only report line numbers.
-<P>
-
-<P>
-<DL>
-<DT><B>Version:</B></DT>
-  <DD>0.6</DD>
-<DT><B>Author:</B></DT>
-  <DD>Copyright (c) 2003 by BEA Systems. All Rights Reserved.</DD>
-</DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/Location.html#getCharacterOffset()">getCharacterOffset</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the byte or character offset into the input source this location
- is pointing to.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/Location.html#getColumnNumber()">getColumnNumber</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the column number where the current event ends,
- returns -1 if none is available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/Location.html#getLineNumber()">getLineNumber</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the line number where the current event ends,
- returns -1 if none is available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/Location.html#getLocationURI()">getLocationURI</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The URI this Location is pointing to, or null if no URI is available</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getLineNumber()"><!-- --></A><H3>
-getLineNumber</H3>
-<PRE>
-public int <B>getLineNumber</B>()</PRE>
-<DL>
-<DD>Return the line number where the current event ends,
- returns -1 if none is available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getColumnNumber()"><!-- --></A><H3>
-getColumnNumber</H3>
-<PRE>
-public int <B>getColumnNumber</B>()</PRE>
-<DL>
-<DD>Return the column number where the current event ends,
- returns -1 if none is available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCharacterOffset()"><!-- --></A><H3>
-getCharacterOffset</H3>
-<PRE>
-public int <B>getCharacterOffset</B>()</PRE>
-<DL>
-<DD>Return the byte or character offset into the input source this location
- is pointing to. If the input source is a file or a byte stream then 
- this is the byte offset into that stream, but if the input source is 
- a character media then the offset is the character offset. 
- Returns -1 if there is no offset available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLocationURI()"><!-- --></A><H3>
-getLocationURI</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getLocationURI</B>()</PRE>
-<DL>
-<DD>The URI this Location is pointing to, or null if no URI is available
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamConstants.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="Location.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamConstants.html b/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamConstants.html
deleted file mode 100644
index 8fbbbfb..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamConstants.html
+++ /dev/null
@@ -1,548 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-XMLStreamConstants (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream.XMLStreamConstants,XMLStreamConstants interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XMLStreamConstants (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/Location.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamReader.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamConstants.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-javax.xml.stream</FONT>
-<BR>
-Interface XMLStreamConstants</H2>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../javax/xml/stream/XMLStreamReader.html">XMLStreamReader</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XMLStreamConstants</B></DL>
-
-<P>
-This interface declares the constants used in this API.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ATTRIBUTE">ATTRIBUTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is an attribute</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#CDATA">CDATA</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a CDATA</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#CHARACTERS">CHARACTERS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is characters</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#COMMENT">COMMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a comment</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#DTD">DTD</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a DTD</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_DOCUMENT">END_DOCUMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is an end document</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_ELEMENT">END_ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is an end element</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_ENTITY">END_ENTITY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is the end of a resolved entity</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ENTITY_DECLARATION">ENTITY_DECLARATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a Entity Declaration</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ENTITY_REFERENCE">ENTITY_REFERENCE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is an entity reference</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#NAMESPACE">NAMESPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a namepsace</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#NOTATION_DECLARATION">NOTATION_DECLARATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a Notation</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#PROCESSING_INSTRUCTION">PROCESSING_INSTRUCTION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a processing instruction</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#SPACE">SPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a space, events are only
- reported as SPACE if they are ignorable white
- space.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_DOCUMENT">START_DOCUMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a start document</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_ELEMENT">START_ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is a start element</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_ENTITY">START_ENTITY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates an event is the start of a resolved entity</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="START_ELEMENT"><!-- --></A><H3>
-START_ELEMENT</H3>
-<PRE>
-public static final int <B>START_ELEMENT</B></PRE>
-<DL>
-<DD>Indicates an event is a start element
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.StartElement</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.START_ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="END_ELEMENT"><!-- --></A><H3>
-END_ELEMENT</H3>
-<PRE>
-public static final int <B>END_ELEMENT</B></PRE>
-<DL>
-<DD>Indicates an event is an end element
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.EndElement</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.END_ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PROCESSING_INSTRUCTION"><!-- --></A><H3>
-PROCESSING_INSTRUCTION</H3>
-<PRE>
-public static final int <B>PROCESSING_INSTRUCTION</B></PRE>
-<DL>
-<DD>Indicates an event is a processing instruction
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.ProcessingInstruction</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.PROCESSING_INSTRUCTION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CHARACTERS"><!-- --></A><H3>
-CHARACTERS</H3>
-<PRE>
-public static final int <B>CHARACTERS</B></PRE>
-<DL>
-<DD>Indicates an event is characters
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Characters</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.CHARACTERS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMMENT"><!-- --></A><H3>
-COMMENT</H3>
-<PRE>
-public static final int <B>COMMENT</B></PRE>
-<DL>
-<DD>Indicates an event is a comment
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Comment</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.COMMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SPACE"><!-- --></A><H3>
-SPACE</H3>
-<PRE>
-public static final int <B>SPACE</B></PRE>
-<DL>
-<DD>Indicates an event is a space, events are only
- reported as SPACE if they are ignorable white
- space.  Otherwise they are reported as CHARACTERS.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Characters</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.SPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="START_DOCUMENT"><!-- --></A><H3>
-START_DOCUMENT</H3>
-<PRE>
-public static final int <B>START_DOCUMENT</B></PRE>
-<DL>
-<DD>Indicates an event is a start document
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.StartDocument</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.START_DOCUMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="END_DOCUMENT"><!-- --></A><H3>
-END_DOCUMENT</H3>
-<PRE>
-public static final int <B>END_DOCUMENT</B></PRE>
-<DL>
-<DD>Indicates an event is an end document
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.EndDocument</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.END_DOCUMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ENTITY_REFERENCE"><!-- --></A><H3>
-ENTITY_REFERENCE</H3>
-<PRE>
-public static final int <B>ENTITY_REFERENCE</B></PRE>
-<DL>
-<DD>Indicates an event is an entity reference
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.EntityReference</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.ENTITY_REFERENCE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ATTRIBUTE"><!-- --></A><H3>
-ATTRIBUTE</H3>
-<PRE>
-public static final int <B>ATTRIBUTE</B></PRE>
-<DL>
-<DD>Indicates an event is an attribute
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Attribute</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.ATTRIBUTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DTD"><!-- --></A><H3>
-DTD</H3>
-<PRE>
-public static final int <B>DTD</B></PRE>
-<DL>
-<DD>Indicates an event is a DTD
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.DTD</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.DTD">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CDATA"><!-- --></A><H3>
-CDATA</H3>
-<PRE>
-public static final int <B>CDATA</B></PRE>
-<DL>
-<DD>Indicates an event is a CDATA
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Characters</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.CDATA">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NAMESPACE"><!-- --></A><H3>
-NAMESPACE</H3>
-<PRE>
-public static final int <B>NAMESPACE</B></PRE>
-<DL>
-<DD>Indicates an event is a namepsace
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.Namespace</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.NAMESPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="START_ENTITY"><!-- --></A><H3>
-START_ENTITY</H3>
-<PRE>
-public static final int <B>START_ENTITY</B></PRE>
-<DL>
-<DD>Indicates an event is the start of a resolved entity
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.StartEntity</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.START_ENTITY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="END_ENTITY"><!-- --></A><H3>
-END_ENTITY</H3>
-<PRE>
-public static final int <B>END_ENTITY</B></PRE>
-<DL>
-<DD>Indicates an event is the end of a resolved entity
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.EndEntity</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.END_ENTITY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOTATION_DECLARATION"><!-- --></A><H3>
-NOTATION_DECLARATION</H3>
-<PRE>
-public static final int <B>NOTATION_DECLARATION</B></PRE>
-<DL>
-<DD>Indicates a Notation
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.NotationDeclaration</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.NOTATION_DECLARATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ENTITY_DECLARATION"><!-- --></A><H3>
-ENTITY_DECLARATION</H3>
-<PRE>
-public static final int <B>ENTITY_DECLARATION</B></PRE>
-<DL>
-<DD>Indicates a Entity Declaration
-<P>
-<DL>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.NotationDeclaration</CODE>, 
-<A HREF="../../../constant-values.html#javax.xml.stream.XMLStreamConstants.ENTITY_DECLARATION">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/Location.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamReader.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamConstants.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamException.html b/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamException.html
deleted file mode 100644
index ef7e638..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamException.html
+++ /dev/null
@@ -1,432 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-XMLStreamException (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream.XMLStreamException,XMLStreamException class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XMLStreamException (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-javax.xml.stream</FONT>
-<BR>
-Class XMLStreamException</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">java.lang.Exception</A>
-              |
-              +--<B>javax.xml.stream.XMLStreamException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XMLStreamException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">Exception</A></DL>
-
-<P>
-The base exception for unexpected processing errors.  This Exception
- class is used to report well-formedness errors as well as unexpected
- processing conditions.
-<P>
-
-<P>
-<DL>
-<DT><B>Version:</B></DT>
-  <DD>0.6</DD>
-<DT><B>Author:</B></DT>
-  <DD>Copyright (c) 2003 by BEA Systems. All Rights Reserved.</DD>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="javax.xml.stream.XMLStreamException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected &nbsp;<A HREF="../../../javax/xml/stream/Location.html">Location</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#location">location</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#nested">nested</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException()">XMLStreamException</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String)">XMLStreamException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the assocated message.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, javax.xml.stream.Location)">XMLStreamException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                   <A HREF="../../../javax/xml/stream/Location.html">Location</A>&nbsp;location)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the assocated message, exception and location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, javax.xml.stream.Location, java.lang.Throwable)">XMLStreamException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                   <A HREF="../../../javax/xml/stream/Location.html">Location</A>&nbsp;location,
-                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the assocated message, exception and location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.String, java.lang.Throwable)">XMLStreamException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the assocated message and exception</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#XMLStreamException(java.lang.Throwable)">XMLStreamException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the assocated exception</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../javax/xml/stream/Location.html">Location</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#getLocation()">getLocation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the location of the exception</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamException.html#getNestedException()">getNestedException</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the nested exception.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getMessage()">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace()">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="nested"><!-- --></A><H3>
-nested</H3>
-<PRE>
-protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A> <B>nested</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="location"><!-- --></A><H3>
-location</H3>
-<PRE>
-protected <A HREF="../../../javax/xml/stream/Location.html">Location</A> <B>location</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XMLStreamException()"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>()</PRE>
-<DL>
-<DD>Default constructor
-<P>
-</DL>
-<HR>
-
-<A NAME="XMLStreamException(java.lang.String)"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg)</PRE>
-<DL>
-<DD>Construct an exception with the assocated message.
-<P>
-<DT><B>Parameters:</B><DD><CODE>msg</CODE> - the message to report</DL>
-<HR>
-
-<A NAME="XMLStreamException(java.lang.Throwable)"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</PRE>
-<DL>
-<DD>Construct an exception with the assocated exception
-<P>
-<DT><B>Parameters:</B><DD><CODE>th</CODE> - a nested exception</DL>
-<HR>
-
-<A NAME="XMLStreamException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</PRE>
-<DL>
-<DD>Construct an exception with the assocated message and exception
-<P>
-<DT><B>Parameters:</B><DD><CODE>th</CODE> - a nested exception<DD><CODE>msg</CODE> - the message to report</DL>
-<HR>
-
-<A NAME="XMLStreamException(java.lang.String, javax.xml.stream.Location, java.lang.Throwable)"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                          <A HREF="../../../javax/xml/stream/Location.html">Location</A>&nbsp;location,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;th)</PRE>
-<DL>
-<DD>Construct an exception with the assocated message, exception and location.
-<P>
-<DT><B>Parameters:</B><DD><CODE>th</CODE> - a nested exception<DD><CODE>msg</CODE> - the message to report<DD><CODE>location</CODE> - the location of the error</DL>
-<HR>
-
-<A NAME="XMLStreamException(java.lang.String, javax.xml.stream.Location)"><!-- --></A><H3>
-XMLStreamException</H3>
-<PRE>
-public <B>XMLStreamException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;msg,
-                          <A HREF="../../../javax/xml/stream/Location.html">Location</A>&nbsp;location)</PRE>
-<DL>
-<DD>Construct an exception with the assocated message, exception and location.
-<P>
-<DT><B>Parameters:</B><DD><CODE>msg</CODE> - the message to report<DD><CODE>location</CODE> - the location of the error</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getNestedException()"><!-- --></A><H3>
-getNestedException</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A> <B>getNestedException</B>()</PRE>
-<DL>
-<DD>Gets the nested exception.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>Nested exception</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLocation()"><!-- --></A><H3>
-getLocation</H3>
-<PRE>
-public <A HREF="../../../javax/xml/stream/Location.html">Location</A> <B>getLocation</B>()</PRE>
-<DL>
-<DD>Gets the location of the exception
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the location of the exception, may be null if none is available</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamReader.html b/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamReader.html
deleted file mode 100644
index 9aefe72..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/XMLStreamReader.html
+++ /dev/null
@@ -1,1646 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-XMLStreamReader (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream.XMLStreamReader,XMLStreamReader interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XMLStreamReader (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamConstants.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamReader.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-javax.xml.stream</FONT>
-<BR>
-Interface XMLStreamReader</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XMLStreamReader</B><DT>extends <A HREF="../../../javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A></DL>
-
-<P>
-The XMLStreamReader interface allows forward, read-only access to XML.
-  It is designed to be the lowest level and most efficient way to
-  read XML data.
-
- <p> The XMLStreamReader is designed to iterate over XML using
- next() and hasNext().  The data can be accessed using methods such as getEventType(),
- getNamespaceURI(), getLocalName() and getText();
-
- <p> <a href="#next()">next()</a> causes the reader to read the next parse event.
- next() returns an integer which identifies the type of event just read
- <p> The event type can be determined using <a href="#getEventType()">getEventType()</a>.
- <p> Parsing events are defined as the XML Declaration, a DTD,
- start tag, character data, white space, end tag, comment,
- or processing instruction
-
- <p>For XML 1.0 compliance an XML processor must pass the
- identifiers of declared unparsed entities and their
- associated identifiers to the application.  This information is
- provided through the property API on this interface.
- The following two properties allow access to this information:
- javax.xml.stream.notations and javax.xml.stream.entities.
- When the current event is a DTD the following call will return a
- list of Notations
-  <code>List l = (List) getProperty("javax.xml.stream.notations");</code>
- The following call will return a list of entity declarations:
- <code>List l = (List) getProperty("javax.xml.stream.entities");</code>
- These properties can only be accessed during a DTD event and
- are defined to return null if the information is not available.
-
- <p>The following table describes which methods are valid in what state.
- If a method is called in an invalid state the method will throw a
- java.lang.IllegalStateException.
-
- <table border="2" rules="all" cellpadding="4">
-   <thead>
-     <tr>
-       <th align="center" colspan="2">
-         Valid methods for each state
-       </th>
-     </tr>
-   </thead>
-   <tbody>
-     <tr>
-       <th>Event Type</th>
-       <th>Valid Methods</th>
-     </tr>
-     <tr>
-       <td> All States  </td>
-       <td> getProperty(), hasNext(), require(), close(),
-            getNamespaceURI(), isStartElement(),
-            isEndElement(), isCharacters(), isWhiteSpace(),
-            getNamespaceContext(), getEventType(),getLocation(),
-            hasText()
-       </td>
-     </tr>
-     <tr>
-       <td> START_ELEMENT  </td>
-       <td> next(), getLocalName(), hasName(), getPrefix(),
-            getNamespaceURI(),
-            getAttributeXXX(), isAttributeSpecified(),
-            getNamespaceXXX(),
-            getElementText(), nextTag()
-       </td>
-     </tr>
-     <tr>
-       <td> END_ELEMENT  </td>
-       <td> next(), getLocalName(), hasName(), getPrefix(),
-            getNamespaceURI() , getNamespaceXXX(), nextTag()
-      </td>
-     </tr>
-     <tr>
-       <td> CHARACTERS  </td>
-       <td> next(), getTextXXX(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> CDATA  </td>
-       <td> next(), getTextXXX(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> COMMENT  </td>
-       <td> next(), getTextXXX(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> SPACE  </td>
-       <td> next(), getTextXXX(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> START_DOCUMENT  </td>
-       <td> next(), getEncoding(), next(), getPrefix(), getVersion(), isStandalone(), standaloneSet(),
-            getCharacterEncodingScheme(), nextTag()</td>
-     </tr>
-     <tr>
-       <td> END_DOCUMENT  </td>
-       <td> close()</td>
-     </tr>
-     <tr>
-       <td> PROCESSING_INSTRUCTION  </td>
-       <td> next(), getPITarget(), getPIData(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> ENTITY_REFERENCE  </td>
-       <td> next(), getLocalName(), getText(), nextTag() </td>
-     </tr>
-     <tr>
-       <td> DTD  </td>
-       <td> next(), getText(), nextTag() </td>
-     </tr>
-   </tbody>
-  </table>
-<P>
-
-<P>
-<DL>
-<DT><B>Version:</B></DT>
-  <DD>0.6</DD>
-<DT><B>Author:</B></DT>
-  <DD>Copyright (c) 2003 by BEA Systems. All Rights Reserved.</DD>
-<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.XMLEvent</CODE>, 
-<CODE>XMLInputFactory</CODE>, 
-<CODE>XMLStreamWriter</CODE></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_javax.xml.stream.XMLStreamConstants"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface javax.xml.stream.<A HREF="../../../javax/xml/stream/XMLStreamConstants.html">XMLStreamConstants</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#CDATA">CDATA</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#CHARACTERS">CHARACTERS</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#COMMENT">COMMENT</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#DTD">DTD</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_DOCUMENT">END_DOCUMENT</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_ELEMENT">END_ELEMENT</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#END_ENTITY">END_ENTITY</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ENTITY_DECLARATION">ENTITY_DECLARATION</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#ENTITY_REFERENCE">ENTITY_REFERENCE</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#NAMESPACE">NAMESPACE</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#NOTATION_DECLARATION">NOTATION_DECLARATION</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#PROCESSING_INSTRUCTION">PROCESSING_INSTRUCTION</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#SPACE">SPACE</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_DOCUMENT">START_DOCUMENT</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_ELEMENT">START_ELEMENT</A>, <A HREF="../../../javax/xml/stream/XMLStreamConstants.html#START_ENTITY">START_ENTITY</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#close()">close</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Frees any resources associated with this Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeCount()">getAttributeCount</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the count of attributes on this START_ELEMENT,
- this method is only valid on a START_ELEMENT.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeName(int)">getAttributeName</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the localName of the attribute at the provided
- index</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeNamespace(int)">getAttributeNamespace</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace of the attribute at the provided
- index</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributePrefix(int)">getAttributePrefix</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the prefix of this attribute at the
- provided index</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeQName(int)">getAttributeQName</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeTextCharacters(int, int, char[], int, int)">getAttributeTextCharacters</A></B>(int&nbsp;index,
-                           int&nbsp;sourceStart,
-                           char[]&nbsp;myCharArray,
-                           int&nbsp;targetStart,
-                           int&nbsp;length)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeType(int)">getAttributeType</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the XML type of the attribute at the provided
- index</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(int)">getAttributeValue</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the attribute at the
- index</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI,
-                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the normalized attribute value of the
- attribute with the namespace and localName
- If the namespaceURI is null the namespace
- is not checked for equality</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getCharacterEncodingScheme()">getCharacterEncodingScheme</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character encoding declared on the xml declaration
- Returns null if none was declared</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getElementText()">getElementText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the content of a text-only element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getEncoding()">getEncoding</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return input encoding if known or null if unknown.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getEventType()">getEventType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an integer code that indicates the type
- of the event the cursor is pointing to.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getLocalName()">getLocalName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the (local) name of the current event.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../javax/xml/stream/Location.html">Location</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getLocation()">getLocation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current location of the processor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getNamespaceCount()">getNamespaceCount</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the count of namespaces declared on this START_ELEMENT or END_ELEMENT,
- this method is only valid on a START_ELEMENT or END_ELEMENT.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getNamespacePrefix(int)">getNamespacePrefix</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the prefix for the namespace declared at the
- index.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getNamespaceURI()">getNamespaceURI</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the current event is a START_ELEMENT or END_ELEMENT  this method
- returns the URI of the prefix or the default namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getNamespaceURI(int)">getNamespaceURI</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the uri for the namespace declared at the
- index.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getNamespaceURI(java.lang.String)">getNamespaceURI</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the uri for the given prefix.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getPIData()">getPIData</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the data section of a processing instruction</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getPITarget()">getPITarget</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the target of a processing instruction</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getPrefix()">getPrefix</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the prefix of the current event or null if the event does not have a prefix</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getProperty(java.lang.String)">getProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of a feature/property from the underlying implementation</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getText()">getText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current value of the parse event as a string,
- this returns the string value of a CHARACTERS event,
- returns the value of a COMMENT, the replacement value
- for an ENTITY_REFERENCE,
- or the String value of the DTD</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;char[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getTextCharacters()">getTextCharacters</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array which contains the characters from this event.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getTextCharacters(char[], int, int)">getTextCharacters</A></B>(char[]&nbsp;myCharArray,
-                  int&nbsp;targetStart,
-                  int&nbsp;length)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getTextLength()">getTextLength</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the length of the sequence of characters within for this
- Text event within the TextCharacterArray.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getTextReader()">getTextReader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getTextStart()">getTextStart</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the offset into the TextCharacter array where the first
- character (of this text event) is stored.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#getVersion()">getVersion</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the xml version declared on the xml declaration
- Returns null if none was declared</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#hasName()">hasName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns true if the current event has a name, START_ELEMENT, END_ELEMENT,
- ENTITY_REFERENCE, and PROCESSING_INSTRUCTION have a name
- returns false otherwise</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#hasNext()">hasNext</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there are more parsing events and false
- if there are no more events.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#hasText()">hasText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the current event has text, false otherwise
- The following events have text:
- CHARACTERS,DTD ,ENTITY_REFERENCE, COMMENT</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isAttributeSpecified(int)">isAttributeSpecified</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a boolean which indicates if this
- attribute was created by default</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isCharacters()">isCharacters</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cursor points to a character data event</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isEndElement()">isEndElement</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cursor points to an end tag (otherwise false)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isStandalone()">isStandalone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the standalone declaration from the xml declaration</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isStartElement()">isStartElement</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cursor points to a start tag (otherwise false)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#isWhiteSpace()">isWhiteSpace</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cursor points to a character data event
- that consists of all whitespace</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#next()">next</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get next parsing event - a processor may may return all contiguous
- character data in a single chunk, or it may split it into several chunks.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#nextTag()">nextTag</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips any insignificant events until a START_ELEMENT or
- END_ELEMENT is reached.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#require(int, java.lang.String, java.lang.String)">require</A></B>(int&nbsp;type,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test if the current event is of the given type and if the namespace and name do match.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../javax/xml/stream/XMLStreamReader.html#standaloneSet()">standaloneSet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if standalone was set in the document</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
-getProperty</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)
-                   throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></PRE>
-<DL>
-<DD>Get the value of a feature/property from the underlying implementation
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property, may not be null
-<DT><B>Returns:</B><DD>The value of the property
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if name is null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="next()"><!-- --></A><H3>
-next</H3>
-<PRE>
-public int <B>next</B>()
-         throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Get next parsing event - a processor may may return all contiguous
- character data in a single chunk, or it may split it into several chunks.
- If the property javax.xml.stream.isCoalescing is set to true
- element content must be coalesced and only one CHARACTERS event
- must be returned for contiguous element content or
- CDATA Sections.  
-
- By default entity references must be 
- expanded and reported transparently to the application.
- An exception will be thrown if an entity reference cannot be expanded.
- If element content is empty (i.e. content is "") then no CHARACTERS event will be reported.
-
- <p>Given the following XML:<br>
- &lt;foo>&lt;!--description-->content text&lt;![CDATA[&lt;greeting>Hello&lt;/greeting>]]>other content&lt;/foo><br>
- The behavior of calling next() when being on foo will be:<br>
- 1- the comment (COMMENT)<br>
- 2- then the characters section (CHARACTERS)<br>
- 3- then the CDATA section (another CHARACTERS)<br>
- 4- then the next characters section (another CHARACTERS)<br>
- 5- then the END_ELEMENT<br>
-
- <p><b>NOTE:</b> empty element (such as &lt;tag/>) will be reported
-  with  two separate events: START_ELEMENT, END_ELEMENT - This preserves
-   parsing equivalency of empty element to &lt;tag>&lt;/tag>.
-
- This method will throw an XMLStreamException if it is called after hasNext() returns false.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the integer code corresponding to the current parse event
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE> - if this is called when hasNext() returns false<DT><B>See Also:</B><DD><CODE>javax.xml.stream.events.XMLEvent</CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="require(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
-require</H3>
-<PRE>
-public void <B>require</B>(int&nbsp;type,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)
-             throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Test if the current event is of the given type and if the namespace and name do match.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>type</CODE> - the event type<DD><CODE>namespaceURI</CODE> - the uri of the event, may be null<DD><CODE>localName</CODE> - the localName of the event, may not be null
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE> - if the required values are not matched.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getElementText()"><!-- --></A><H3>
-getElementText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getElementText</B>()
-                      throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Reads the content of a text-only element. Precondition:
- the current event is START_ELEMENT. Postcondition:
- The current event is the corresponding END_ELEMENT.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE> - if the current event is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="nextTag()"><!-- --></A><H3>
-nextTag</H3>
-<PRE>
-public int <B>nextTag</B>()
-            throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Skips any insignificant events until a START_ELEMENT or
- END_ELEMENT is reached. If other than space characters are
- encountered, an exception is thrown. This method should
- be used when processing element-only content because
- the parser is not able to recognize ignorable whitespace if
- then DTD is missing or not interpreted.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE> - if the current event is not white space</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasNext()"><!-- --></A><H3>
-hasNext</H3>
-<PRE>
-public boolean <B>hasNext</B>()
-                throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns true if there are more parsing events and false
- if there are no more events.  This method will return
- false if the current state of the XMLStreamReader is
- END_DOCUMENT
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if there are more events, false otherwise
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="close()"><!-- --></A><H3>
-close</H3>
-<PRE>
-public void <B>close</B>()
-           throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Frees any resources associated with this Reader.  This method does not close the
- underlying input source.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNamespaceURI(java.lang.String)"><!-- --></A><H3>
-getNamespaceURI</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getNamespaceURI</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix)
-                       throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Return the uri for the given prefix.
- The uri returned depends on the current state of the parser
-
- <p>Throws an exception if the prefix is not bound.
-
- <p><strong>NOTE:</strong>The 'xml' prefix is bound as defined in
- <a href="http://www.w3.org/TR/REC-xml-names/#ns-using">Namespaces in XML</a>
- specification to "http://www.w3.org/XML/1998/namespace".
-
- <p><strong>NOTE:</strong> The 'xmlns' prefix must be resolved to following namespace
- <a href="http://www.w3.org/2000/xmlns/">http://www.w3.org/2000/xmlns/</a>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix to lookup, may not be null
-<DT><B>Returns:</B><DD>the uri bound to the given prefix or null if it is not bound
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStartElement()"><!-- --></A><H3>
-isStartElement</H3>
-<PRE>
-public boolean <B>isStartElement</B>()</PRE>
-<DL>
-<DD>Returns true if the cursor points to a start tag (otherwise false)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor points to a start tag, false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEndElement()"><!-- --></A><H3>
-isEndElement</H3>
-<PRE>
-public boolean <B>isEndElement</B>()</PRE>
-<DL>
-<DD>Returns true if the cursor points to an end tag (otherwise false)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor points to an end tag, false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isCharacters()"><!-- --></A><H3>
-isCharacters</H3>
-<PRE>
-public boolean <B>isCharacters</B>()</PRE>
-<DL>
-<DD>Returns true if the cursor points to a character data event
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor points to character data, false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isWhiteSpace()"><!-- --></A><H3>
-isWhiteSpace</H3>
-<PRE>
-public boolean <B>isWhiteSpace</B>()</PRE>
-<DL>
-<DD>Returns true if the cursor points to a character data event
- that consists of all whitespace
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor points to all whitespace, false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
-getAttributeValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</PRE>
-<DL>
-<DD>Returns the normalized attribute value of the
- attribute with the namespace and localName
- If the namespaceURI is null the namespace
- is not checked for equality
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - the namespace of the attribute, can be null<DD><CODE>localName</CODE> - the local name of the attribute, cannot be null
-<DT><B>Returns:</B><DD>returns the value of the attribute , returns null if not found
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeCount()"><!-- --></A><H3>
-getAttributeCount</H3>
-<PRE>
-public int <B>getAttributeCount</B>()</PRE>
-<DL>
-<DD>Returns the count of attributes on this START_ELEMENT,
- this method is only valid on a START_ELEMENT.  This
- count excludes namespace definitions.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>returns the number of attributes
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeNamespace(int)"><!-- --></A><H3>
-getAttributeNamespace</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeNamespace</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the namespace of the attribute at the provided
- index
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>the namespace URI (can be null)
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeName(int)"><!-- --></A><H3>
-getAttributeName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeName</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the localName of the attribute at the provided
- index
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>the localName of the attribute
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeQName(int)"><!-- --></A><H3>
-getAttributeQName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getAttributeQName</B>(int&nbsp;index)</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeTextCharacters(int, int, char[], int, int)"><!-- --></A><H3>
-getAttributeTextCharacters</H3>
-<PRE>
-public int <B>getAttributeTextCharacters</B>(int&nbsp;index,
-                                      int&nbsp;sourceStart,
-                                      char[]&nbsp;myCharArray,
-                                      int&nbsp;targetStart,
-                                      int&nbsp;length)
-                               throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributePrefix(int)"><!-- --></A><H3>
-getAttributePrefix</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributePrefix</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the prefix of this attribute at the
- provided index
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>the prefix of the attribute
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeType(int)"><!-- --></A><H3>
-getAttributeType</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeType</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the XML type of the attribute at the provided
- index
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>the XML type of the attribute
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeValue(int)"><!-- --></A><H3>
-getAttributeValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeValue</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the value of the attribute at the
- index
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>the attribute value
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttributeSpecified(int)"><!-- --></A><H3>
-isAttributeSpecified</H3>
-<PRE>
-public boolean <B>isAttributeSpecified</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns a boolean which indicates if this
- attribute was created by default
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute
-<DT><B>Returns:</B><DD>true if this is a default attribute
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNamespaceCount()"><!-- --></A><H3>
-getNamespaceCount</H3>
-<PRE>
-public int <B>getNamespaceCount</B>()</PRE>
-<DL>
-<DD>Returns the count of namespaces declared on this START_ELEMENT or END_ELEMENT,
- this method is only valid on a START_ELEMENT or END_ELEMENT. On
- an END_ELEMENT the count is of the namespaces that are about to go
- out of scope.  This is the equivalent of the information reported
- by SAX callback for an end element event.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>returns the number of namespace declarations on this specific element
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT or END_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNamespacePrefix(int)"><!-- --></A><H3>
-getNamespacePrefix</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getNamespacePrefix</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the prefix for the namespace declared at the
- index.  Returns null if this is the default namespace
- declaration
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the namespace declaration
-<DT><B>Returns:</B><DD>returns the namespace prefix
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT or END_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNamespaceURI(int)"><!-- --></A><H3>
-getNamespaceURI</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getNamespaceURI</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the uri for the namespace declared at the
- index.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the namespace declaration
-<DT><B>Returns:</B><DD>returns the namespace uri
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this is not a START_ELEMENT or END_ELEMENT</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEventType()"><!-- --></A><H3>
-getEventType</H3>
-<PRE>
-public int <B>getEventType</B>()</PRE>
-<DL>
-<DD>Returns an integer code that indicates the type
- of the event the cursor is pointing to.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getText()"><!-- --></A><H3>
-getText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getText</B>()</PRE>
-<DL>
-<DD>Returns the current value of the parse event as a string,
- this returns the string value of a CHARACTERS event,
- returns the value of a COMMENT, the replacement value
- for an ENTITY_REFERENCE,
- or the String value of the DTD
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the current text or null
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this statex is not
- a valid text state.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextCharacters()"><!-- --></A><H3>
-getTextCharacters</H3>
-<PRE>
-public char[] <B>getTextCharacters</B>()</PRE>
-<DL>
-<DD>Returns an array which contains the characters from this event.
- This array should be treated as read-only and transient. I.e. the array will
- contain the text characters until the XMLStreamReader moves on to the next event.
- Attempts to hold onto the character array beyond that time or modify the
- contents of the array are breaches of the contract for this interface.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the current text or null
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this state is not
- a valid text state.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextStart()"><!-- --></A><H3>
-getTextStart</H3>
-<PRE>
-public int <B>getTextStart</B>()</PRE>
-<DL>
-<DD>Returns the offset into the TextCharacter array where the first
- character (of this text event) is stored.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this state is not
- a valid text state.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextLength()"><!-- --></A><H3>
-getTextLength</H3>
-<PRE>
-public int <B>getTextLength</B>()</PRE>
-<DL>
-<DD>Returns the length of the sequence of characters within for this
- Text event within the TextCharacterArray.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - if this state is not
- a valid text state.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextCharacters(char[], int, int)"><!-- --></A><H3>
-getTextCharacters</H3>
-<PRE>
-public int <B>getTextCharacters</B>(char[]&nbsp;myCharArray,
-                             int&nbsp;targetStart,
-                             int&nbsp;length)
-                      throws <A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../javax/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextReader()"><!-- --></A><H3>
-getTextReader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A> <B>getTextReader</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEncoding()"><!-- --></A><H3>
-getEncoding</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getEncoding</B>()</PRE>
-<DL>
-<DD>Return input encoding if known or null if unknown.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the encoding of this instance or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasText()"><!-- --></A><H3>
-hasText</H3>
-<PRE>
-public boolean <B>hasText</B>()</PRE>
-<DL>
-<DD>Return true if the current event has text, false otherwise
- The following events have text:
- CHARACTERS,DTD ,ENTITY_REFERENCE, COMMENT
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLocation()"><!-- --></A><H3>
-getLocation</H3>
-<PRE>
-public <A HREF="../../../javax/xml/stream/Location.html">Location</A> <B>getLocation</B>()</PRE>
-<DL>
-<DD>Return the current location of the processor.
- If the Location is unknown the processor should return
- an implementation of Location that returns -1 for the
- location and null for the publicId and systemId
- The location information is only valid until next() is
- called.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLocalName()"><!-- --></A><H3>
-getLocalName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getLocalName</B>()</PRE>
-<DL>
-<DD>Returns the (local) name of the current event.
- For START_ELEMENT or END_ELEMENT returns the (local) name of the current element.
- For ENTITY_REFERENCE it returns entity name.
- For PROCESSING_INSTRUCTION it returns the target.
- The current event must be START_ELEMENT or END_ELEMENT, 
- PROCESSING_INSTRUCTION, or ENTITY_REFERENCE, otherwise null is returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the localName or null if none is available</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasName()"><!-- --></A><H3>
-hasName</H3>
-<PRE>
-public boolean <B>hasName</B>()</PRE>
-<DL>
-<DD>returns true if the current event has a name, START_ELEMENT, END_ELEMENT,
- ENTITY_REFERENCE, and PROCESSING_INSTRUCTION have a name
- returns false otherwise
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNamespaceURI()"><!-- --></A><H3>
-getNamespaceURI</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getNamespaceURI</B>()</PRE>
-<DL>
-<DD>If the current event is a START_ELEMENT or END_ELEMENT  this method
- returns the URI of the prefix or the default namespace.
- Returns null if the event does not have a prefix.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the URI bound to this elements prefix, the default namespace, or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPrefix()"><!-- --></A><H3>
-getPrefix</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getPrefix</B>()</PRE>
-<DL>
-<DD>Returns the prefix of the current event or null if the event does not have a prefix
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the prefix or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getVersion()"><!-- --></A><H3>
-getVersion</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getVersion</B>()</PRE>
-<DL>
-<DD>Get the xml version declared on the xml declaration
- Returns null if none was declared
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the XML version or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStandalone()"><!-- --></A><H3>
-isStandalone</H3>
-<PRE>
-public boolean <B>isStandalone</B>()</PRE>
-<DL>
-<DD>Get the standalone declaration from the xml declaration
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this is standalone, or false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="standaloneSet()"><!-- --></A><H3>
-standaloneSet</H3>
-<PRE>
-public boolean <B>standaloneSet</B>()</PRE>
-<DL>
-<DD>Checks if standalone was set in the document
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if standalone was set in the document, or false otherwise</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCharacterEncodingScheme()"><!-- --></A><H3>
-getCharacterEncodingScheme</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getCharacterEncodingScheme</B>()</PRE>
-<DL>
-<DD>Returns the character encoding declared on the xml declaration
- Returns null if none was declared
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the encoding declared in the document or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPITarget()"><!-- --></A><H3>
-getPITarget</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getPITarget</B>()</PRE>
-<DL>
-<DD>Get the target of a processing instruction
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the target or null</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPIData()"><!-- --></A><H3>
-getPIData</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getPIData</B>()</PRE>
-<DL>
-<DD>Get the data section of a processing instruction
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the data or null</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/XMLStreamConstants.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamReader.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/package-frame.html b/website/src/documentation/content/docs/reference/javax/xml/stream/package-frame.html
deleted file mode 100644
index 3938fb2..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/package-frame.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-javax.xml.stream (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream package">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="javax.xml.stream (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-<FONT size="+1" CLASS="FrameTitleFont">
-<A HREF="../../../javax/xml/stream/package-summary.html" TARGET="classFrame">javax.xml.stream</A></FONT>
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Interfaces</FONT>&nbsp;
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="Location.html" TARGET="classFrame"><I>Location</I></A>
-<BR>
-<A HREF="XMLStreamConstants.html" TARGET="classFrame"><I>XMLStreamConstants</I></A>
-<BR>
-<A HREF="XMLStreamReader.html" TARGET="classFrame"><I>XMLStreamReader</I></A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Exceptions</FONT>&nbsp;
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="XMLStreamException.html" TARGET="classFrame">XMLStreamException</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/package-summary.html b/website/src/documentation/content/docs/reference/javax/xml/stream/package-summary.html
deleted file mode 100644
index 71d1a46..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/package-summary.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-javax.xml.stream (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="javax.xml.stream package">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="javax.xml.stream (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV PACKAGE&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<H2>
-Package javax.xml.stream
-</H2>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Interface Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="Location.html"><I>Location</I></A></B></TD>
-<TD>Provides information on the location of an event.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XMLStreamConstants.html"><I>XMLStreamConstants</I></A></B></TD>
-<TD>This interface declares the constants used in this API.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XMLStreamReader.html"><I>XMLStreamReader</I></A></B></TD>
-<TD>The XMLStreamReader interface allows forward, read-only access to XML.</TD>
-</TR>
-</TABLE>
-&nbsp;
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Exception Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XMLStreamException.html">XMLStreamException</A></B></TD>
-<TD>The base exception for unexpected processing errors.</TD>
-</TR>
-</TABLE>
-&nbsp;
-
-<P>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV PACKAGE&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/javax/xml/stream/package-tree.html b/website/src/documentation/content/docs/reference/javax/xml/stream/package-tree.html
deleted file mode 100644
index 9e6a9d2..0000000
--- a/website/src/documentation/content/docs/reference/javax/xml/stream/package-tree.html
+++ /dev/null
@@ -1,144 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-javax.xml.stream Class Hierarchy (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="javax.xml.stream Class Hierarchy (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/package-tree.html"><B>NEXT</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H2>
-Hierarchy For Package javax.xml.stream
-</H2>
-</CENTER>
-<DL>
-<DT><B>Package Hierarchies:</B><DD><A HREF="../../../overview-tree.html">All Packages</A></DL>
-<HR>
-<H2>
-Class Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><B>Object</B></A><UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html"><B>Exception</B></A><UL>
-<LI TYPE="circle">class javax.xml.stream.<A HREF="../../../javax/xml/stream/XMLStreamException.html"><B>XMLStreamException</B></A></UL>
-</UL>
-</UL>
-</UL>
-<H2>
-Interface Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">interface javax.xml.stream.<A HREF="../../../javax/xml/stream/Location.html"><B>Location</B></A><LI TYPE="circle">interface javax.xml.stream.<A HREF="../../../javax/xml/stream/XMLStreamConstants.html"><B>XMLStreamConstants</B></A><UL>
-<LI TYPE="circle">interface javax.xml.stream.<A HREF="../../../javax/xml/stream/XMLStreamReader.html"><B>XMLStreamReader</B></A></UL>
-</UL>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/package-tree.html"><B>NEXT</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/FilterXmlObject.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/FilterXmlObject.html
deleted file mode 100644
index c42b3bd..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/FilterXmlObject.html
+++ /dev/null
@@ -1,3624 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-FilterXmlObject (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.FilterXmlObject,FilterXmlObject class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="FilterXmlObject (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="FilterXmlObject.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class FilterXmlObject</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.FilterXmlObject</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public abstract class <B>FilterXmlObject</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></DL>
-
-<P>
-A FilterXmlObject delegates to some other XmlObject, which it can use as
- its basic source of data, possibly transforming the data along the way or
- providing additional functionality. The class FilterXmlObject itself
- simply overrides all methods of XmlObject with versions that pass all
- requests to the underlying XmlObject. Subclasses of FilterXmlObject may
- further override some of these methods and may also provide additional
- methods and fields.
- <p>
- Note: it is important that FilterXmlOBject has no storage (i.e., no
- non-transient fields), because subclasses may be serializable and
- adding storage would break the serialization format.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type">type</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#FilterXmlObject()">FilterXmlObject</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#bigDecimalValue()">bigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#booleanValue()">booleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#byteArrayValue()">byteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#byteValue()">byteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;newType)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the schema type associated with this data and
- returns a new XmlObject instance whose schemaType is the
- new type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Impelements the Comparable interface by comparing two simple
- xml values based on their standard XML schema ordering.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This comparison method is similar to compareTo, but rather
- than throwing a ClassCastException when two values are incomparable,
- it returns the number 2.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#copy()">copy</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a deep copy of this XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#dateValue()">dateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#documentProperties()">documentProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the XmlDocumentProperties object for the document this token
- source is associated with.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#doubleValue()">doubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#enumValue()">enumValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#execQuery(java.lang.String)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a query.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a query with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#floatValue()">floatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#gDurationValue()">gDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getBigDecimalValue()">getBigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getBigIntegerValue()">getBigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getBooleanValue()">getBooleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getByteArrayValue()">getByteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getByteValue()">getByteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getDateValue()">getDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getDoubleValue()">getDoubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getEnumValue()">getEnumValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getFloatValue()">getFloatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getGDurationValue()">getGDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getListValue()">getListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getLongValue()">getLongValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getObjectValue()">getObjectValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getQNameValue()">getQNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getShortValue()">getShortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#getStringValue()">getStringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#instanceType()">instanceType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The same as getSchemaType unless this is a union instance
- or nil value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the value is an immutable value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#isNil()">isNil</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the value is nil.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#listValue()">listValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#longValue()">longValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#monitor()">monitor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the synchronization object for the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newCursor()">newCursor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new XML cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newDomNode()">newDomNode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a W3C DOM Node containing the XML
- represented by this source.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newDomNode() but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newInputStream()">newInputStream</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new stream containing standard XML text, encoded
- according to the given encoding.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newInputStream(String encoding) but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newReader()">newReader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new character reader containing XML text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newReader() but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newXMLInputStream()">newXMLInputStream</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new XmlInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newXMLInputStream() but with any of a number of options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#objectSet(java.lang.Object)">objectSet</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#objectValue()">objectValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#qNameValue()">qNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given SAX content and
- lexical handlers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given SAX content and
- lexical handlers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.File)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.OutputStream)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.Writer)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given writer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given writer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#schemaType()">schemaType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The schema type for this instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#selectPath(java.lang.String)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a path.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a path, applying options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.math.BigDecimal)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.math.BigInteger)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(boolean)">set</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(byte)">set</A></B>(byte&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(byte[])">set</A></B>(byte[]&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.util.Date)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(double)">set</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(float)">set</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.GDurationSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.util.List)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(long)">set</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(javax.xml.namespace.QName)">set</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(short)">set</A></B>(short&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(java.lang.String)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.StringEnumAbstractBase)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;srcObj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value/type of this XmlObject to be a copy of the source
- XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setBooleanValue(boolean)">setBooleanValue</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setByteArrayValue(byte[])">setByteArrayValue</A></B>(byte[]&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setByteValue(byte)">setByteValue</A></B>(byte&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setDateValue(java.util.Date)">setDateValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setDoubleValue(double)">setDoubleValue</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)">setEnumValue</A></B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setFloatValue(float)">setFloatValue</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setGDurationValue(org.apache.xmlbeans.GDuration)">setGDurationValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setListValue(java.util.List)">setListValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setLongValue(long)">setLongValue</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setNil()">setNil</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value to nil.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setObjectValue(java.lang.Object)">setObjectValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setQNameValue(javax.xml.namespace.QName)">setQNameValue</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setShortValue(short)">setShortValue</A></B>(short&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#setStringValue(java.lang.String)">setStringValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#shortValue()">shortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#stringValue()">stringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>abstract &nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#underlyingXmlObject()">underlyingXmlObject</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This abstract method is called to obtain the underlying XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#validate()">validate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the contents of this object are valid
- accoring to schemaType().</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like validate(), but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the xml values are equal.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#valueHashCode()">valueHashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#xgetListValue()">xgetListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#xlistValue()">xlistValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#xmlText()">xmlText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns standard XML text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like xmlText() but with options.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="FilterXmlObject()"><!-- --></A><H3>
-FilterXmlObject</H3>
-<PRE>
-public <B>FilterXmlObject</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="underlyingXmlObject()"><!-- --></A><H3>
-underlyingXmlObject</H3>
-<PRE>
-public abstract <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>underlyingXmlObject</B>()</PRE>
-<DL>
-<DD>This abstract method is called to obtain the underlying XmlObject.
- Override this method to supply or compute the wrapped object.
- <p>
- Every other method of this class delegates to the object returned
- from this method. It is assumed that the object implements all the
- methods of both XmlObject and SimpleValue.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="schemaType()"><!-- --></A><H3>
-schemaType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>schemaType</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>The schema type for this instance. This is a permanent,
- unchanging property of the instance.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="validate()"><!-- --></A><H3>
-validate</H3>
-<PRE>
-public boolean <B>validate</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Returns true if the contents of this object are valid
- accoring to schemaType().
- <p>
- Does a deep validation of the entire subtree under the
- object, but does not validate the parents or siblings
- of the object if the object is in the interior of an xml
- tree.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="validate(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-validate</H3>
-<PRE>
-public boolean <B>validate</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD><p>Just like validate(), but with options.</p>
- <p>If you wish to collect error messages and locations while validating,
- use the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A> method. With that method,
- you can specify an object in which to store messages related to validation.
- The following is a simple example.</p>
- 
- <pre>
- // Create an XmlOptions instance and set the error listener.
- XmlOptions validateOptions = new XmlOptions();
- ArrayList errorList = new ArrayList();
- validateOptions.setErrorListener(errorList);
- 
- // Validate the XML.
- boolean isValid = newEmp.validate(validateOptions);
- 
- // If the XML isn't valid, loop through the listener's contents,
- // printing contained messages.
- if (!isValid)
- {
-      for (int i = 0; i < errorList.size(); i++)
-      {
-          XmlError error = (XmlError)errorList.get(i);
-          
-          System.out.println("\n");
-          System.out.println("Message: " + error.getMessage() + "\n");
-          System.out.println("Location of invalid XML: " + 
-              error.getCursorLocation().xmlText() + "\n");
-      }
- }
- </pre>
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - An object that implements the <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html"><CODE>Collection</CODE></A> interface.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Selects a path.  Path can be a string or precompiled path String.
- <p>
- The path must be a relative path, where "." represents the
- element or attribute containg this XmlObject, and it must select
- only other elements or attributes.  If a non-element or non-attribute
- is selected, an unchecked exception is thrown.
- <p>
- The array that is returned contains all the selected
- XmlObjects, within the same document, listed in document
- order.  The actual array type of the result is inferred
- from the closest common base type of selected results.
- <p>
- Here is an example of usage.  Suppose we have a global
- element definition for "owner" whose type is "person":
- <pre>
-   &lt;schema targetNamespace="http://openuri.org/sample">
-      &lt;element name="owner" type="person"/>
-      &lt;complexType name="person">
-         [...]
-      &lt;/complexType>
-   &lt;/schema>
- </pre>
- and suppose "owner" tags can be scattered throughout the
- document.  Then we can write the following code to find
- them all:
- <pre>
- import org.openuri.sample.Person;
- import org.apache.xmlbeans.*;
- [...]
-   XmlObject xobj = XmlObject.Factory.parse(myFile);
-   Person[] results;
-   results = (Person[])xobj.selectPath(
-      "declare namespace s='http://www.openuri.org/sample' " +
-      ".//s:owner");
- </pre>
- Notice the way in which namespace declarations are done in XPath 2.0.
- Since XPath can only navigate within an XML document - it cannot
- construct new XML - the resulting XmlObjects all reside in
- the same XML document as this XmlObject itself.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Selects a path, applying options.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>XmlObject.selectPath(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Executes a query.  Query can be a string or precompiled query String.
- <p>
- An XQuery is very similar to an XPath, except that it also permits
- construction of new XML.  As a result, the XmlObjects that are
- returned from execQuery are in newly created documents, separate
- from the XmlObject on which the query is executed.
- <p>
- Syntax and usage is otherwise similar to selectPath.
- <p>
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>XmlObject.selectPath(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Executes a query with options.
- 
- Use the <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The document type for the root element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(org.apache.xmlbeans.SchemaType)</CODE></A></td>
- </tr>
- <tr>
-  <td>To replace the document element with the specified QName when constructing the
-  resulting document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setLoadReplaceDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all insignificant whitespace when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()"><CODE>XmlOptions.setLoadStripWhitespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all comments when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()"><CODE>XmlOptions.setLoadStripComments()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all processing instructions when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()"><CODE>XmlOptions.setLoadStripProcinsts()</CODE></A></td>
- </tr>
- <tr>
-  <td>A map of namespace URI substitutions to use when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadSubstituteNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Additional namespace mappings to be added when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadAdditionalNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>To trim the underlying XML text buffer immediately after constructing 
-  a document, resulting in a smaller memory footprint.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()"><CODE>XmlOptions.setLoadTrimTextBuffer()</CODE></A></td>
- </tr>
- <tr>
-  <td>Whether value facets should be checked as they are set.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setValidateOnSet()"><CODE>XmlOptions.setValidateOnSet()</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>query</CODE> - The XQuery expression.<DD><CODE>options</CODE> - Options as described.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)"><CODE>XmlObject.execQuery(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="changeType(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-changeType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>changeType</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;newType)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Changes the schema type associated with this data and
- returns a new XmlObject instance whose schemaType is the
- new type.
- <p>
- Returns null if the type change is not allowed. Certain
- type changes may be prohibited on the interior of an xml
- tree due to schema type system constraints (that is, due
- to a parent container within which the newly specified
- type is not permissible), but there are no constraints
- at the roottype changes are never
- prohibited at the root of an xml tree.
- <p>
- If the type change is allowed, then the new XmlObject should
- be used rather than the old one. The old XmlObject instance and
- any other XmlObject instances in the subtree are permanently
- invalidated and should not be used. (They will return
- InvalidStateException if you try to use them.)
-
- If a type change is done on the interior of an Xml
- tree, then xsi:type attributes are updated as needed.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNil()"><!-- --></A><H3>
-isNil</H3>
-<PRE>
-public boolean <B>isNil</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>True if the value is nil. Note that in order to be nil,
- the value must be in an element, and the element containing
- the value must be marked as nillable in the schema.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setNil()"><!-- --></A><H3>
-setNil</H3>
-<PRE>
-public void <B>setNil</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Sets the value to nil. The element containing the value must
- be marked as nillable in the schema.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>True if the value is an immutable value. Immutable values do not
- have a position in a tree; rather, they are stand-alone simple type
- values. If the object is immutable, the equals() methods tests for
- value equality, and the object can be used as the key for a hash.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>set</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;srcObj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Set the value/type of this XmlObject to be a copy of the source
- XmlObject.  Because the type of the source may be different than this
- target, this XmlObject may become defunct.  In this case the new
- XmlObject is returned.  If no type change happens, the same this will be
- returned.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="copy()"><!-- --></A><H3>
-copy</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>copy</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Returns a deep copy of this XmlObject.  The returned object has the
- same type as the current object, and has all the content of
- the XML document underneath the current object.  Note that
- any parts of the XML document above or outside this XmlObject are
- not copied.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="valueEquals(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-valueEquals</H3>
-<PRE>
-public boolean <B>valueEquals</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>True if the xml values are equal. Two different objects
- (which are distinguished by equals(obj) == false) may of
- course have equal values (valueEquals(obj) == true).
- <p>
- Usually this method can be treated as an ordinary equvalence
- relation, but actually it is not is not transitive.
- Here is a precise specification:
- <p>
- There are two categories of XML object: objects with a known
- instance type, and objects whose only known type is one of the
- ur-types (either AnyType or AnySimpleType). The first category
- is compared in terms of logical value spaces, and the second
- category is compared lexically.
- <p>
- Within each of these two categories, valueEquals is a well-behaved
- equivalence relation. However, when comparing an object of known
- type with an object with ur-type, the comparison is done by attempting
- to convert the lexical form of the ur-typed object into the other
- type, and then comparing the results. Ur-typed objects are therefore
- treated as lexical wildcards and may be equal to objects in different
- value spaces, even though the objects in different value spaces are
- not equal to each other.
- <p>
- For example, the anySimpleType value "1" will compare as an
- equalValue to the string "1", the float value "1.0", the double
- value "1.0", the decimal "1", and the GYear "1", even though
- all these objects will compare unequal to each other since they
- lie in different value spaces.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="valueHashCode()"><!-- --></A><H3>
-valueHashCode</H3>
-<PRE>
-public int <B>valueHashCode</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
-compareTo</H3>
-<PRE>
-public int <B>compareTo</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>Impelements the Comparable interface by comparing two simple
- xml values based on their standard XML schema ordering.
- Throws a ClassCastException if no standard ordering applies,
- or if the two values are incomparable within a partial order.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareValue(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-compareValue</H3>
-<PRE>
-public int <B>compareValue</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></B></DD>
-<DD>This comparison method is similar to compareTo, but rather
- than throwing a ClassCastException when two values are incomparable,
- it returns the number 2. The result codes are -1 if this object
- is less than obj, 1 if this object is greater than obj, zero if
- the objects are equal, and 2 if the objects are incomparable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="monitor()"><!-- --></A><H3>
-monitor</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>monitor</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns the synchronization object for the document.  If concurrent
- multithreaded access to a document is required, the access should should
- be protected by synchronizing on this monitor() object.  There is one
- monitor per XML document tree.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="documentProperties()"><!-- --></A><H3>
-documentProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A> <B>documentProperties</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns the XmlDocumentProperties object for the document this token
- source is associated with.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newCursor()"><!-- --></A><H3>
-newCursor</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>newCursor</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns a new XML cursor.
-
- A cursor provides random access to all the tokens in the XML
- data, plus the ability to extract strongly-typed XmlObjects
- for the data. If the data is not read-only, the XML cursor
- also allows modifications to the data.
-
- Using a cursor for the first time typically forces the XML
- document into memory.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXMLInputStream()"><!-- --></A><H3>
-newXMLInputStream</H3>
-<PRE>
-public <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newXMLInputStream</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns a new XmlInputStream.
-
- The stream starts at the current begin-tag or begin-document
- position and ends at the matching end-tag or end-document.
-
- This is a fail-fast stream, so if the underlying data is changed
- while the stream is being read, the stream throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xmlText()"><!-- --></A><H3>
-xmlText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>xmlText</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns standard XML text.
-
- The text returned represents the document contents starting at
- the current begin-tag or begin-document and ending at the matching
- end-tag or end-document. This is same content as newReader, but
- it is returned as a single string.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInputStream()"><!-- --></A><H3>
-newInputStream</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A> <B>newInputStream</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns a new stream containing standard XML text, encoded
- according to the given encoding.
-
- The byte stream contains contents starting at the current
- begin-tag or begin-document and ending at the matching
- end-tag or end-document.  The specified encoding is used
- and also emitted in a PI at the beginning of the stream.
-
- This is a fail-fast stream, so if the underlying data is changed
- while the stream is being read, the stream throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newReader()"><!-- --></A><H3>
-newReader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A> <B>newReader</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns a new character reader containing XML text.
-
- The contents of the reader represents the document contents
- starting at the current begin-tag or begin-document and ending at
- the matching end-tag or end-document.  No encoding annotation
- will be made in the text itself.
-
- This is a fail-fast reader, so if the underlying data is changed
- while the reader is being read, the reader throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newDomNode()"><!-- --></A><H3>
-newDomNode</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A> <B>newDomNode</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Returns a W3C DOM Node containing the XML
- represented by this source.  This is a copy of the XML, it is
- not a live with the underlying store of this token source.
- If this is the document node, then a Document is returned, else
- a DocumentFragment is returned.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.File)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given File.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.OutputStream)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given output stream.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.Writer)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given writer.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXMLInputStream(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newXMLInputStream</H3>
-<PRE>
-public <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newXMLInputStream</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD><p>Just like newXMLInputStream() but with any of a number of options. Use the 
- <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The character encoding to use when converting the character
-  data in the XML to bytess.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><CODE>XmlOptions.setCharacterEncoding(java.lang.String)</CODE></A></td>
- </tr>
- <tr>
-  <td>Prefix-to-namespace mappings that should be assumed
-  when saving this XML. This is useful when the resulting
-  XML will be part of a larger XML document, ensuring that this 
-  inner document will take advantage of namespaces defined in 
-  the outer document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveImplicitNamespaces(java.util.Map)"><CODE>XmlOptions.setSaveImplicitNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Suggested namespace prefixes to use when saving. Used only
-  when a namespace attribute needs to be synthesized.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSuggestedPrefixes(java.util.Map)"><CODE>XmlOptions.setSaveSuggestedPrefixes(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>That namespace attributes should occur first in elements when
- the XML is saved. By default, they occur last.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveNamespacesFirst()"><CODE>XmlOptions.setSaveNamespacesFirst()</CODE></A></td>
- </tr>
- <tr>
-  <td>The XML should be pretty printed when saved. Note that this 
-  should only be used for debugging.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()"><CODE>XmlOptions.setSavePrettyPrint()</CODE></A></td>
- </tr>
- <tr>
-  <td>The number of spaces to use when indenting for pretty printing. 
-  The default is 2.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintIndent(int)"><CODE>XmlOptions.setSavePrettyPrintIndent(int)</CODE></A></td>
- </tr>
- <tr>
-  <td>The additional number of spaces indented from the left
-  for pretty printed XML.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintOffset(int)"><CODE>XmlOptions.setSavePrettyPrintOffset(int)</CODE></A></td>
- </tr>
- <tr>
-  <td>To minimize the number of namespace attributes generated for the 
-  saved XML. Note that this can reduce performance significantly.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveAggresiveNamespaces()"><CODE>XmlOptions.setSaveAggresiveNamespaces()</CODE></A></td>
- </tr>
- <tr>
-  <td>To reduce the size of the saved document
-  by allowing the use of the default namespace. Note that this can 
-  potentially change the semantic meaning of the XML if unprefixed QNames are 
-  present as the value of an attribute or element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setUseDefaultNamespace()"><CODE>XmlOptions.setUseDefaultNamespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>To filter out processing instructions with the specified target name.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveFilterProcinst(java.lang.String)"><CODE>XmlOptions.setSaveFilterProcinst(java.lang.String)</CODE></A></td>
- </tr>
- <tr>
-  <td>Change the QName of the synthesized root element when saving. This 
-  replaces "xml-fragment" with "fragment" in the namespace 
-  http://www.openuri.org/fragment</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveUseOpenFrag()"><CODE>XmlOptions.setSaveUseOpenFrag()</CODE></A></td>
- </tr>
- <tr>
-  <td>Saving should begin on the element's contents.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveInner()"><CODE>XmlOptions.setSaveInner()</CODE></A></td>
- </tr>
- <tr>
-  <td>Saving should begin on the element, rather than its contents.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveOuter()"><CODE>XmlOptions.setSaveOuter()</CODE></A></td>
- </tr>
- <tr>
-  <td>To rename the document element, or to specify the document element
-  for this XML.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSyntheticDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setSaveSyntheticDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - Any of the described options.
-<DT><B>Returns:</B><DD>A new validating XMLInputStream.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xmlText(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-xmlText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>xmlText</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Just like xmlText() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInputStream(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInputStream</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A> <B>newInputStream</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Just like newInputStream(String encoding) but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newReader(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newReader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A> <B>newReader</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Just like newReader() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newDomNode(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newDomNode</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A> <B>newDomNode</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Just like newDomNode() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given File.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given output stream.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.Writer, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></B></DD>
-<DD>Writes the XML represented by this source to the given writer.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="instanceType()"><!-- --></A><H3>
-instanceType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>instanceType</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>The same as getSchemaType unless this is a union instance
- or nil value.
- <p>
- For unions, this returns the non-union consituent type of
- this instance. This type may change if setters are called
- that cause the instance to change to another constituent
- type of the union.
- <p>
- For nil values, this returns null.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#instanceType()">instanceType</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="stringValue()"><!-- --></A><H3>
-stringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>stringValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#stringValue()">stringValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="booleanValue()"><!-- --></A><H3>
-booleanValue</H3>
-<PRE>
-public boolean <B>booleanValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a boolean. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#booleanValue()">booleanValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="byteValue()"><!-- --></A><H3>
-byteValue</H3>
-<PRE>
-public byte <B>byteValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a byte. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#byteValue()">byteValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="shortValue()"><!-- --></A><H3>
-shortValue</H3>
-<PRE>
-public short <B>shortValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a short. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#shortValue()">shortValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as an int. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#intValue()">intValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="longValue()"><!-- --></A><H3>
-longValue</H3>
-<PRE>
-public long <B>longValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a long. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#longValue()">longValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigIntegerValue()"><!-- --></A><H3>
-bigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>bigIntegerValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#bigIntegerValue()">bigIntegerValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigDecimalValue()"><!-- --></A><H3>
-bigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>bigDecimalValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#bigDecimalValue()">bigDecimalValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="floatValue()"><!-- --></A><H3>
-floatValue</H3>
-<PRE>
-public float <B>floatValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a float. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#floatValue()">floatValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="doubleValue()"><!-- --></A><H3>
-doubleValue</H3>
-<PRE>
-public double <B>doubleValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a double. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#doubleValue()">doubleValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="byteArrayValue()"><!-- --></A><H3>
-byteArrayValue</H3>
-<PRE>
-public byte[] <B>byteArrayValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a byte array. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#byteArrayValue()">byteArrayValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enumValue()"><!-- --></A><H3>
-enumValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>enumValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#enumValue()">enumValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#calendarValue()">calendarValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="dateValue()"><!-- --></A><H3>
-dateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>dateValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#dateValue()">dateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#gDateValue()">gDateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDurationValue()"><!-- --></A><H3>
-gDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>gDurationValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#gDurationValue()">gDurationValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="qNameValue()"><!-- --></A><H3>
-qNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>qNameValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#qNameValue()">qNameValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listValue()"><!-- --></A><H3>
-listValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>listValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#listValue()">listValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xlistValue()"><!-- --></A><H3>
-xlistValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xlistValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#xlistValue()">xlistValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="objectValue()"><!-- --></A><H3>
-objectValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>objectValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#objectValue()">objectValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.lang.String)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.lang.String)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(boolean)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a boolean. *
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(boolean)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a byte.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(byte)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(short)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(short&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a short.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(short)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as an int.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(int)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(long)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(long&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a long.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(long)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigInteger)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.math.BigInteger)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigDecimal)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.math.BigDecimal)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(float)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(float&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a float.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(float)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(double)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(double&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a double.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(double)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte[])"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte[]&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a byte array.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(byte[])">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.StringEnumAbstractBase)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.StringEnumAbstractBase)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.Calendar)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Date)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.Date)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDurationSpecification)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(javax.xml.namespace.QName)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(javax.xml.namespace.QName)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.List)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.List)">set</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getStringValue()"><!-- --></A><H3>
-getStringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getStringValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getStringValue()">getStringValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBooleanValue()"><!-- --></A><H3>
-getBooleanValue</H3>
-<PRE>
-public boolean <B>getBooleanValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a boolean.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBooleanValue()">getBooleanValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteValue()"><!-- --></A><H3>
-getByteValue</H3>
-<PRE>
-public byte <B>getByteValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a byte.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteValue()">getByteValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getShortValue()"><!-- --></A><H3>
-getShortValue</H3>
-<PRE>
-public short <B>getShortValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a short.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getShortValue()">getShortValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as an int.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getIntValue()">getIntValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLongValue()"><!-- --></A><H3>
-getLongValue</H3>
-<PRE>
-public long <B>getLongValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a long.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getLongValue()">getLongValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBigIntegerValue()"><!-- --></A><H3>
-getBigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getBigIntegerValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()">getBigIntegerValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBigDecimalValue()"><!-- --></A><H3>
-getBigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getBigDecimalValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()">getBigDecimalValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFloatValue()"><!-- --></A><H3>
-getFloatValue</H3>
-<PRE>
-public float <B>getFloatValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a float.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getFloatValue()">getFloatValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDoubleValue()"><!-- --></A><H3>
-getDoubleValue</H3>
-<PRE>
-public double <B>getDoubleValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a double.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDoubleValue()">getDoubleValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteArrayValue()"><!-- --></A><H3>
-getByteArrayValue</H3>
-<PRE>
-public byte[] <B>getByteArrayValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a byte array.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()">getByteArrayValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEnumValue()"><!-- --></A><H3>
-getEnumValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>getEnumValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getEnumValue()">getEnumValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getCalendarValue()">getCalendarValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDateValue()"><!-- --></A><H3>
-getDateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDateValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDateValue()">getDateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDateValue()">getGDateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDurationValue()"><!-- --></A><H3>
-getGDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>getGDurationValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDurationValue()">getGDurationValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getQNameValue()"><!-- --></A><H3>
-getQNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getQNameValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getQNameValue()">getQNameValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getListValue()"><!-- --></A><H3>
-getListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>getListValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()">getListValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xgetListValue()"><!-- --></A><H3>
-xgetListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xgetListValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#xgetListValue()">xgetListValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getObjectValue()"><!-- --></A><H3>
-getObjectValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getObjectValue</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getObjectValue()">getObjectValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setStringValue(java.lang.String)"><!-- --></A><H3>
-setStringValue</H3>
-<PRE>
-public void <B>setStringValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)">setStringValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBooleanValue(boolean)"><!-- --></A><H3>
-setBooleanValue</H3>
-<PRE>
-public void <B>setBooleanValue</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a boolean.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)">setBooleanValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteValue(byte)"><!-- --></A><H3>
-setByteValue</H3>
-<PRE>
-public void <B>setByteValue</B>(byte&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a byte.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)">setByteValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setShortValue(short)"><!-- --></A><H3>
-setShortValue</H3>
-<PRE>
-public void <B>setShortValue</B>(short&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a short.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setShortValue(short)">setShortValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as an int.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setIntValue(int)">setIntValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLongValue(long)"><!-- --></A><H3>
-setLongValue</H3>
-<PRE>
-public void <B>setLongValue</B>(long&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a long.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setLongValue(long)">setLongValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigIntegerValue(java.math.BigInteger)"><!-- --></A><H3>
-setBigIntegerValue</H3>
-<PRE>
-public void <B>setBigIntegerValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigDecimalValue(java.math.BigDecimal)"><!-- --></A><H3>
-setBigDecimalValue</H3>
-<PRE>
-public void <B>setBigDecimalValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setFloatValue(float)"><!-- --></A><H3>
-setFloatValue</H3>
-<PRE>
-public void <B>setFloatValue</B>(float&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a float.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)">setFloatValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoubleValue(double)"><!-- --></A><H3>
-setDoubleValue</H3>
-<PRE>
-public void <B>setDoubleValue</B>(double&nbsp;v)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a double.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)">setDoubleValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteArrayValue(byte[])"><!-- --></A><H3>
-setByteArrayValue</H3>
-<PRE>
-public void <B>setByteArrayValue</B>(byte[]&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a byte array.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])">setByteArrayValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><!-- --></A><H3>
-setEnumValue</H3>
-<PRE>
-public void <B>setEnumValue</B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)">setEnumValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDateValue(java.util.Date)"><!-- --></A><H3>
-setDateValue</H3>
-<PRE>
-public void <B>setDateValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)">setDateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDurationValue(org.apache.xmlbeans.GDuration)"><!-- --></A><H3>
-setGDurationValue</H3>
-<PRE>
-public void <B>setGDurationValue</B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)">setGDurationValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setQNameValue(javax.xml.namespace.QName)"><!-- --></A><H3>
-setQNameValue</H3>
-<PRE>
-public void <B>setQNameValue</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)">setQNameValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setListValue(java.util.List)"><!-- --></A><H3>
-setListValue</H3>
-<PRE>
-public void <B>setListValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)">setListValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setObjectValue(java.lang.Object)"><!-- --></A><H3>
-setObjectValue</H3>
-<PRE>
-public void <B>setObjectValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)">setObjectValue</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="objectSet(java.lang.Object)"><!-- --></A><H3>
-objectSet</H3>
-<PRE>
-public void <B>objectSet</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></B></DD>
-<DD>Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#objectSet(java.lang.Object)">objectSet</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="FilterXmlObject.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDate.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDate.html
deleted file mode 100644
index 4c33872..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDate.html
+++ /dev/null
@@ -1,1209 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-GDate (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDate,GDate class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDate (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDate.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class GDate</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.GDate</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public final class <B>GDate</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Represents an XML Schema-compatible Gregorian date.
- <p>
- There are many date types in XML Schema, and this type
- represents the natural union of all those types.  A GDate
- can hold any subset of date fields (Year, Month, Day, Time,
- Timezone, or some combination). Wherever the specification
- provides guidance, the guidelines in the
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/">XML Schema 1.0 specification</a>
- (plus <a target="_blank" href="http://www.w3.org/2001/05/xmlschema-errata">published errata</a>) are followed.
- <p>
- Instances may separately have values or no values for
- the year, month, day-of-month, and time-of-day. Not all
- operations are meaningful on all combinations.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.GDate">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.GDateSpecification"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_DAY">HAS_DAY</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH">HAS_MONTH</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIME">HAS_TIME</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE">HAS_TIMEZONE</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR">HAS_YEAR</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(java.util.Calendar)">GDate</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;calendar)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDate based on a java.util.Calendar.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(java.lang.CharSequence)">GDate</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;string)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDate based on a lexical representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(java.util.Date)">GDate</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDate based on a java.util.Date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(org.apache.xmlbeans.GDateSpecification)">GDate</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDate based on another GDateSpecification.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(int, int, int, int, int, int, java.math.BigDecimal)">GDate</A></B>(int&nbsp;year,
-      int&nbsp;month,
-      int&nbsp;day,
-      int&nbsp;hour,
-      int&nbsp;minute,
-      int&nbsp;second,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDate with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#GDate(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)">GDate</A></B>(int&nbsp;year,
-      int&nbsp;month,
-      int&nbsp;day,
-      int&nbsp;hour,
-      int&nbsp;minute,
-      int&nbsp;second,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-      int&nbsp;tzSign,
-      int&nbsp;tzHour,
-      int&nbsp;tzMinute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an absolute GDate with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#add(org.apache.xmlbeans.GDurationSpecification)">add</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a duration to this GDate, and returns a new GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#canonicalString()">canonicalString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The canonical string representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)">compareToGDate</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;datespec)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDate is an immutable class, and equality is computed based
- on its canonical value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getCalendar()">getCalendar</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getDate()">getDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as a java.util.Date
- instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getFlags()">getFlags</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a combination of flags indicating the information
- contained by this GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getJulianDate()">getJulianDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Julian date corresponding to this Gregorian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getMillisecond()">getMillisecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the rounded millisecond value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getTimeZoneHour()">getTimeZoneHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getTimeZoneMinute()">getTimeZoneMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone minutes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getTimeZoneSign()">getTimeZoneSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone sign.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasDate()">hasDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a full date (year, month, day)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasDay()">hasDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hashCode()">hashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash code for this GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasMonth()">hasMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasTime()">hasTime</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a time-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasTimeZone()">hasTimeZone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#hasYear()">hasYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true: all GDate instances are immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this GDate corresponds to a valid gregorian date value
- in XML schema.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#subtract(org.apache.xmlbeans.GDurationSpecification)">subtract</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a duration to this GDate, and returns a new GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDate.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The natural string representation.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="GDate(java.lang.CharSequence)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;string)</PRE>
-<DL>
-<DD>Constructs a GDate based on a lexical representation.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDate(int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(int&nbsp;year,
-             int&nbsp;month,
-             int&nbsp;day,
-             int&nbsp;hour,
-             int&nbsp;minute,
-             int&nbsp;second,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Constructs a GDate with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.
- <p>
- Note that by not specifying the timezone the GDate
- becomes partially unordered with respect to times that
- do have a specified timezone.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDate(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(int&nbsp;year,
-             int&nbsp;month,
-             int&nbsp;day,
-             int&nbsp;hour,
-             int&nbsp;minute,
-             int&nbsp;second,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-             int&nbsp;tzSign,
-             int&nbsp;tzHour,
-             int&nbsp;tzMinute)</PRE>
-<DL>
-<DD>Constructs an absolute GDate with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.
- <p>
- If you wish to have a time or date that isn't in a specified timezone,
- then use the constructor that does not include the timezone arguments.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDate(java.util.Date)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</PRE>
-<DL>
-<DD>Constructs a GDate based on a java.util.Date.
- <p>
- The current offset of the default timezone is used as the timezone.
- <p>
- For example, if eastern daylight time is in effect at the given
- date, the timezone on the east coast of the united states
- translates to GMT-05:00 (EST) + 1:00 (DT offset) == GMT-04:00.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDate(java.util.Calendar)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;calendar)</PRE>
-<DL>
-<DD>Constructs a GDate based on a java.util.Calendar.
- <p>
- If the calendar does not have some fields set, the same absence
- of information is reflected in the GDate.  Note that
- java.util.GregorianCalendar fills in all fields as soon as any
- are fetched, so constructing a GDate with the same calendar object
- twice may result in a different GDate because of a changed calendar.
- Note that org.apache.xmlbeans.XmlCalendar is stable if you re-get a set field,
- so it does not have the same problem.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDate(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-GDate</H3>
-<PRE>
-public <B>GDate</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</PRE>
-<DL>
-<DD>Constructs a GDate based on another GDateSpecification.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public final boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>Returns true: all GDate instances are immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isImmutable()">isImmutable</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFlags()"><!-- --></A><H3>
-getFlags</H3>
-<PRE>
-public int <B>getFlags</B>()</PRE>
-<DL>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.  The five flags are
- HAS_TIMEZONE, HAS_YEAR, HAS_MONTH, HAS_DAY, and HAS_TIME.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()">getFlags</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTimeZone()"><!-- --></A><H3>
-hasTimeZone</H3>
-<PRE>
-public final boolean <B>hasTimeZone</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a timezone.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTimeZone()">hasTimeZone</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasYear()"><!-- --></A><H3>
-hasYear</H3>
-<PRE>
-public final boolean <B>hasYear</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a year.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasYear()">hasYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasMonth()"><!-- --></A><H3>
-hasMonth</H3>
-<PRE>
-public final boolean <B>hasMonth</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a month-of-year.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasMonth()">hasMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDay()"><!-- --></A><H3>
-hasDay</H3>
-<PRE>
-public final boolean <B>hasDay</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a day-of-month.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDay()">hasDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTime()"><!-- --></A><H3>
-hasTime</H3>
-<PRE>
-public final boolean <B>hasTime</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a time-of-day.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTime()">hasTime</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDate()"><!-- --></A><H3>
-hasDate</H3>
-<PRE>
-public final boolean <B>hasDate</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDate()">hasDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public final int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year. Should be a four-digit year specification.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getYear()">getYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public final int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year. January is 1.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMonth()">getMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public final int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month. The first day of each month is 1.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDay()">getDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public final int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getHour()">getHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public final int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour. Range from 0 to 59.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMinute()">getMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public final int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute. Range from 0 to 59.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getSecond()">getSecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFraction()">getFraction</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneSign()"><!-- --></A><H3>
-getTimeZoneSign</H3>
-<PRE>
-public final int <B>getTimeZoneSign</B>()</PRE>
-<DL>
-<DD>Gets the time zone sign. For time zones east of GMT,
- this is positive; for time zones west, this is negative.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneSign()">getTimeZoneSign</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneHour()"><!-- --></A><H3>
-getTimeZoneHour</H3>
-<PRE>
-public final int <B>getTimeZoneHour</B>()</PRE>
-<DL>
-<DD>Gets the time zone hour.
-
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneHour()">getTimeZoneHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneMinute()"><!-- --></A><H3>
-getTimeZoneMinute</H3>
-<PRE>
-public final int <B>getTimeZoneMinute</B>()</PRE>
-<DL>
-<DD>Gets the time zone minutes.
-
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneMinute()">getTimeZoneMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMillisecond()"><!-- --></A><H3>
-getMillisecond</H3>
-<PRE>
-public int <B>getMillisecond</B>()</PRE>
-<DL>
-<DD>Gets the rounded millisecond value. Range from 0 to 999
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMillisecond()">getMillisecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="canonicalString()"><!-- --></A><H3>
-canonicalString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>canonicalString</B>()</PRE>
-<DL>
-<DD>The canonical string representation. Specific moments or
- times-of-day in a specified timezone are normalized to
- UTC time to produce a canonical string form for them.
- Other recurring time specifications keep their timezone
- information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#canonicalString()">canonicalString</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>True if this GDate corresponds to a valid gregorian date value
- in XML schema.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isValid()">isValid</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJulianDate()"><!-- --></A><H3>
-getJulianDate</H3>
-<PRE>
-public int <B>getJulianDate</B>()</PRE>
-<DL>
-<DD>Returns the Julian date corresponding to this Gregorian date.
- The Julian date (JD) is a continuous count of days from
- 1 January 4713 BC (= -4712 January 1).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getJulianDate()">getJulianDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendar()"><!-- --></A><H3>
-getCalendar</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A> <B>getCalendar</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
- <p>
- <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> is a subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>
- which is slightly customized to match XML schema date rules.
- <p>
- The returned <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> has only those time and date fields
- set that are reflected in the GDate object.  Because of the way the
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A> contract works, any information in the isSet() vanishes
- as soon as you view any unset field using get() methods.
- This means that if it is important to understand which date fields
- are set, you must call isSet() first before get().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getCalendar()">getCalendar</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDate()"><!-- --></A><H3>
-getDate</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDate</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDate()">getDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDate(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-compareToGDate</H3>
-<PRE>
-public int <B>compareToGDate</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;datespec)</PRE>
-<DL>
-<DD>Comparison to another GDate.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)">compareToGDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>datespec</CODE> - the date to compare against.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBuiltinTypeCode()"><!-- --></A><H3>
-getBuiltinTypeCode</H3>
-<PRE>
-public int <B>getBuiltinTypeCode</B>()</PRE>
-<DL>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
- <p> 
- Value will be equal to
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN"><CODE>SchemaType.BTC_NOT_BUILTIN</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR"><CODE>SchemaType.BTC_G_YEAR</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH"><CODE>SchemaType.BTC_G_YEAR_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH"><CODE>SchemaType.BTC_G_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY"><CODE>SchemaType.BTC_G_MONTH_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_DAY"><CODE>SchemaType.BTC_G_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE"><CODE>SchemaType.BTC_DATE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME"><CODE>SchemaType.BTC_DATE_TIME</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TIME"><CODE>SchemaType.BTC_TIME</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="add(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-add</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>add</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Adds a duration to this GDate, and returns a new GDate.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="subtract(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-subtract</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>subtract</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Adds a duration to this GDate, and returns a new GDate.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
-equals</H3>
-<PRE>
-public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>GDate is an immutable class, and equality is computed based
- on its canonical value.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hashCode()"><!-- --></A><H3>
-hashCode</H3>
-<PRE>
-public int <B>hashCode</B>()</PRE>
-<DL>
-<DD>Returns a hash code for this GDate.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>The natural string representation. This represents the information
- that is available, including timezone. For types that correspond
- to defined schema types (schemaBuiltinTypeCode() > 0),
- this provides the natural lexical representation.
- <p>
- When both time and timezone are specified, this string is not
- the canonical representation unless the timezone is UTC (Z)
- (since the same moment in time can be expressed in different
- timezones). To get a canonical string, use the canonicalString()
- method.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDate.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateBuilder.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateBuilder.html
deleted file mode 100644
index 1073e04..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateBuilder.html
+++ /dev/null
@@ -1,1710 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-GDateBuilder (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDateBuilder,GDateBuilder class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDateBuilder (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDateBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class GDateBuilder</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.GDateBuilder</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public final class <B>GDateBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Used to build <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDates</CODE></A>.
- <p>
- Like GDate, a GDateBuilder represents an Gregorian Date, Time,
- and Timezone, or subset of information (Year, Month, Day,
- Time, Timezone, or some combination). Wherever it provides
- guidance, the XML Schema 1.0 specification (plus published
- errata) is followed.
- <p>
- Instances may separately set or clear the year, month,
- day-of-month, and time-of-day. Not all operations are
- meaningful on all combinations. In particular, timezone
- normalization is only possible if there is a time, or
- a time together with a full date.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.GDateBuilder">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.GDateSpecification"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_DAY">HAS_DAY</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH">HAS_MONTH</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIME">HAS_TIME</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE">HAS_TIMEZONE</A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR">HAS_YEAR</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder()">GDateBuilder</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDateBuilder specifying no date or time</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.util.Calendar)">GDateBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;calendar)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.lang.CharSequence)">GDateBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;string)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDateBuilder from a lexical
- representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(java.util.Date)">GDateBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDateBuilder based on a java.util.Date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(org.apache.xmlbeans.GDateSpecification)">GDateBuilder</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construts a GDateBuilder by copying another GDateSpecificaiton.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal)">GDateBuilder</A></B>(int&nbsp;year,
-             int&nbsp;month,
-             int&nbsp;day,
-             int&nbsp;hour,
-             int&nbsp;minute,
-             int&nbsp;second,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDateBuilder with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)">GDateBuilder</A></B>(int&nbsp;year,
-             int&nbsp;month,
-             int&nbsp;day,
-             int&nbsp;hour,
-             int&nbsp;minute,
-             int&nbsp;second,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-             int&nbsp;tzSign,
-             int&nbsp;tzHour,
-             int&nbsp;tzMinute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an absolute GDateBuilder with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#addDuration(int, int, int, int, int, int, int, java.math.BigDecimal)">addDuration</A></B>(int&nbsp;sign,
-            int&nbsp;year,
-            int&nbsp;month,
-            int&nbsp;day,
-            int&nbsp;hour,
-            int&nbsp;minute,
-            int&nbsp;second,
-            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a given duration to the date/time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#addGDuration(org.apache.xmlbeans.GDurationSpecification)">addGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a given duration to the date/time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#canonicalString()">canonicalString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The canonical string representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clearDay()">clearDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clearMonth()">clearMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clearTime()">clearTime</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the time-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clearTimeZone()">clearTimeZone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clearYear()">clearYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#clone()">clone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds another GDateBuilder with the same value
- as this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)">compareToGDate</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;datespec)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getCalendar()">getCalendar</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getDate()">getDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as a java.util.Date
- instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getFlags()">getFlags</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a combination of flags indicating the information
- contained by this GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getJulianDate()">getJulianDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Julian date corresponding to this Gregorian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getMillisecond()">getMillisecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the rounded millisecond value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getTimeZoneHour()">getTimeZoneHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getTimeZoneMinute()">getTimeZoneMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone minutes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getTimeZoneSign()">getTimeZoneSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone sign.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasDate()">hasDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a full date (year, month, day)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasDay()">hasDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasMonth()">hasMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasTime()">hasTime</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a time-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasTimeZone()">hasTimeZone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#hasYear()">hasYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the instance is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if all date fields lie within their legal ranges.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#normalize()">normalize</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normalizes the instance, ensuring date and time fields are within
- their normal ranges.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#normalizeToTimeZone(int, int, int)">normalizeToTimeZone</A></B>(int&nbsp;tzSign,
-                    int&nbsp;tzHour,
-                    int&nbsp;tzMinute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the time and timezone are known, this method changes the timezone to the
- specified UTC offset, altering minutes, hours, day, month, and year as
- necessary to ensure that the actual described moment in time is the same.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setBuiltinTypeCode(int)">setBuiltinTypeCode</A></B>(int&nbsp;typeCode)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the fields in this GDateBuilder that are not applicable
- for the given SchemaType date code.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setDate(java.util.Date)">setDate</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current time and date based on a java.util.Date instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setDay(int)">setDay</A></B>(int&nbsp;day)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setGDate(org.apache.xmlbeans.GDateSpecification)">setGDate</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies a GDateSpecification, completely replacing the current
- information in this GDateBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setJulianDate(int)">setJulianDate</A></B>(int&nbsp;julianday)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Gregorian date based on the given Julian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setMonth(int)">setMonth</A></B>(int&nbsp;month)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setTime(int, int, int, java.math.BigDecimal)">setTime</A></B>(int&nbsp;hour,
-        int&nbsp;minute,
-        int&nbsp;second,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setTimeZone(int, int, int)">setTimeZone</A></B>(int&nbsp;tzSign,
-            int&nbsp;tzHour,
-            int&nbsp;tzMinute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time zone without changing the other time
- fields.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#setYear(int)">setYear</A></B>(int&nbsp;year)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#subtractGDuration(org.apache.xmlbeans.GDurationSpecification)">subtractGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subtracts a given duration from the date/time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#toGDate()">toGDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a GDate from this GDateBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateBuilder.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The natural string representation.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="GDateBuilder()"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>()</PRE>
-<DL>
-<DD>Constructs a GDateBuilder specifying no date or time
-<P>
-</DL>
-<HR>
-
-<A NAME="GDateBuilder(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</PRE>
-<DL>
-<DD>Construts a GDateBuilder by copying another GDateSpecificaiton.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDateBuilder(java.lang.CharSequence)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;string)</PRE>
-<DL>
-<DD>Constructs a GDateBuilder from a lexical
- representation. The lexical space contains the
- union of the lexical spaces of all the schema
- date/time types (except for duration).
-<P>
-</DL>
-<HR>
-
-<A NAME="GDateBuilder(java.util.Calendar)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;calendar)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(int&nbsp;year,
-                    int&nbsp;month,
-                    int&nbsp;day,
-                    int&nbsp;hour,
-                    int&nbsp;minute,
-                    int&nbsp;second,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Constructs a GDateBuilder with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- an unspecified timezone.
- <p>
- Note that by not specifying the timezone the GDateBuilder
- becomes partially unordered with respect to timesthat do have a
- specified timezone.
-<P>
-<DT><B>Parameters:</B><DD><CODE>year</CODE> - The year<DD><CODE>month</CODE> - The month, from 1-12<DD><CODE>day</CODE> - The day of month, from 1-31<DD><CODE>hour</CODE> - The hour of day, from 0-23<DD><CODE>minute</CODE> - The minute of hour, from 0-59<DD><CODE>second</CODE> - The second of minute, from 0-59<DD><CODE>fraction</CODE> - The fraction of second, 0.0 to 0.999... (may be null)</DL>
-<HR>
-
-<A NAME="GDateBuilder(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(int&nbsp;year,
-                    int&nbsp;month,
-                    int&nbsp;day,
-                    int&nbsp;hour,
-                    int&nbsp;minute,
-                    int&nbsp;second,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-                    int&nbsp;tzSign,
-                    int&nbsp;tzHour,
-                    int&nbsp;tzMinute)</PRE>
-<DL>
-<DD>Constructs an absolute GDateBuilder with the specified year,
- month, day, hours, minutes, seconds, and optional fractional
- seconds, and in the timezone specified.
- <p>
- Note that you can reexpress the GDateBuilder in any timezone using
- normalizeToTimeZone(). The normalize() method normalizes to UTC.
- <p>
- If you wish to have a time or date that isn't in a specified timezone,
- then use the constructor that does not include the timezone arguments.
-<P>
-<DT><B>Parameters:</B><DD><CODE>year</CODE> - the year<DD><CODE>month</CODE> - the month, from 1-12<DD><CODE>day</CODE> - the day of month, from 1-31<DD><CODE>hour</CODE> - the hour of day, from 0-23<DD><CODE>minute</CODE> - the minute of hour, from 0-59<DD><CODE>second</CODE> - the second of minute, from 0-59<DD><CODE>fraction</CODE> - the fraction of second, 0.0 to 0.999... (may be null)<DD><CODE>tzSign</CODE> - the timezone offset sign, either +1, 0, or -1<DD><CODE>tzHour</CODE> - the timezone offset hour<DD><CODE>tzMinute</CODE> - the timezone offset minute</DL>
-<HR>
-
-<A NAME="GDateBuilder(java.util.Date)"><!-- --></A><H3>
-GDateBuilder</H3>
-<PRE>
-public <B>GDateBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</PRE>
-<DL>
-<DD>Constructs a GDateBuilder based on a java.util.Date.
- <p>
- The current offset of the default timezone is used as the timezone.
- <p>
- For example, if eastern daylight time is in effect at the given
- date, the timezone on the east coast of the united states
- translates to GMT-05:00 (EST) + 1:00 (DT offset) == GMT-04:00.
-<P>
-<DT><B>Parameters:</B><DD><CODE>date</CODE> - the date object to copy</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="clone()"><!-- --></A><H3>
-clone</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>clone</B>()</PRE>
-<DL>
-<DD>Builds another GDateBuilder with the same value
- as this one.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toGDate()"><!-- --></A><H3>
-toGDate</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>toGDate</B>()</PRE>
-<DL>
-<DD>Builds a GDate from this GDateBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>True if the instance is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isImmutable()">isImmutable</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFlags()"><!-- --></A><H3>
-getFlags</H3>
-<PRE>
-public int <B>getFlags</B>()</PRE>
-<DL>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.  The five flags are
- HAS_TIMEZONE, HAS_YEAR, HAS_MONTH, HAS_DAY, and HAS_TIME.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()">getFlags</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTimeZone()"><!-- --></A><H3>
-hasTimeZone</H3>
-<PRE>
-public final boolean <B>hasTimeZone</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a timezone.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTimeZone()">hasTimeZone</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasYear()"><!-- --></A><H3>
-hasYear</H3>
-<PRE>
-public final boolean <B>hasYear</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a year.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasYear()">hasYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasMonth()"><!-- --></A><H3>
-hasMonth</H3>
-<PRE>
-public final boolean <B>hasMonth</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a month-of-year.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasMonth()">hasMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDay()"><!-- --></A><H3>
-hasDay</H3>
-<PRE>
-public final boolean <B>hasDay</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a day-of-month.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDay()">hasDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTime()"><!-- --></A><H3>
-hasTime</H3>
-<PRE>
-public final boolean <B>hasTime</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a time-of-day.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTime()">hasTime</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDate()"><!-- --></A><H3>
-hasDate</H3>
-<PRE>
-public final boolean <B>hasDate</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDate()">hasDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public final int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year. Should be a four-digit year specification.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getYear()">getYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public final int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year. January is 1.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMonth()">getMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public final int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month. The first day of each month is 1.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDay()">getDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public final int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getHour()">getHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public final int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour. Range from 0 to 59.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMinute()">getMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public final int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute. Range from 0 to 59.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getSecond()">getSecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFraction()">getFraction</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMillisecond()"><!-- --></A><H3>
-getMillisecond</H3>
-<PRE>
-public final int <B>getMillisecond</B>()</PRE>
-<DL>
-<DD>Gets the rounded millisecond value. Range from 0 to 999
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMillisecond()">getMillisecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneSign()"><!-- --></A><H3>
-getTimeZoneSign</H3>
-<PRE>
-public final int <B>getTimeZoneSign</B>()</PRE>
-<DL>
-<DD>Gets the time zone sign. For time zones east of GMT,
- this is positive; for time zones west, this is negative.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneSign()">getTimeZoneSign</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneHour()"><!-- --></A><H3>
-getTimeZoneHour</H3>
-<PRE>
-public final int <B>getTimeZoneHour</B>()</PRE>
-<DL>
-<DD>Gets the time zone hour.
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneHour()">getTimeZoneHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneMinute()"><!-- --></A><H3>
-getTimeZoneMinute</H3>
-<PRE>
-public final int <B>getTimeZoneMinute</B>()</PRE>
-<DL>
-<DD>Gets the time zone minutes.
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneMinute()">getTimeZoneMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setYear(int)"><!-- --></A><H3>
-setYear</H3>
-<PRE>
-public void <B>setYear</B>(int&nbsp;year)</PRE>
-<DL>
-<DD>Sets the year. Should be a four-digit year specification.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>year</CODE> - the year</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setMonth(int)"><!-- --></A><H3>
-setMonth</H3>
-<PRE>
-public void <B>setMonth</B>(int&nbsp;month)</PRE>
-<DL>
-<DD>Sets the month-of-year. January is 1.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>month</CODE> - the month, from 1-12</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDay(int)"><!-- --></A><H3>
-setDay</H3>
-<PRE>
-public void <B>setDay</B>(int&nbsp;day)</PRE>
-<DL>
-<DD>Sets the day-of-month. The first day of each month is 1.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>day</CODE> - the day of month, from 1-31</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setTime(int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-setTime</H3>
-<PRE>
-public void <B>setTime</B>(int&nbsp;hour,
-                    int&nbsp;minute,
-                    int&nbsp;second,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Sets the time. Hours in the day range from 0 to 23;
- minutes and seconds range from 0 to 59; and fractional
- seconds range from 0 (inclusive) to 1 (exclusive).
- The fraction can be null and is assumed to be zero.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>hour</CODE> - the hour of day, from 0-23<DD><CODE>minute</CODE> - the minute of hour, from 0-59<DD><CODE>second</CODE> - the second of minute, from 0-59<DD><CODE>fraction</CODE> - the fraction of second, 0.0 to 0.999... (may be null)</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setTimeZone(int, int, int)"><!-- --></A><H3>
-setTimeZone</H3>
-<PRE>
-public void <B>setTimeZone</B>(int&nbsp;tzSign,
-                        int&nbsp;tzHour,
-                        int&nbsp;tzMinute)</PRE>
-<DL>
-<DD>Sets the time zone without changing the other time
- fields. If you with to adjust other time fields to express
- the same actual moment in time in a different time zone,
- use normalizeToTimeZone.
- <p>
- Timezones must be between -14:00 and +14:00. Sign
- must be -1 or 1 (or 0 for UTC only), and the offset hours
- and minute arguments must be nonnegative.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>tzSign</CODE> - the timezone offset sign, either +1, 0, or -1<DD><CODE>tzHour</CODE> - the timezone offset hour<DD><CODE>tzMinute</CODE> - the timezone offset minute</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearYear()"><!-- --></A><H3>
-clearYear</H3>
-<PRE>
-public void <B>clearYear</B>()</PRE>
-<DL>
-<DD>Clears the year. After clearing, hasYear returns false and the
- value of getYear is undefined.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearMonth()"><!-- --></A><H3>
-clearMonth</H3>
-<PRE>
-public void <B>clearMonth</B>()</PRE>
-<DL>
-<DD>Clears the month-of-year. After clearing. hasMonth returns false and
- the value of getMonth is undefined.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearDay()"><!-- --></A><H3>
-clearDay</H3>
-<PRE>
-public void <B>clearDay</B>()</PRE>
-<DL>
-<DD>Clears the day-of-month. After clearing. hasDay returns false and
- the value of getDay is undefined.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearTime()"><!-- --></A><H3>
-clearTime</H3>
-<PRE>
-public void <B>clearTime</B>()</PRE>
-<DL>
-<DD>Clears the time-of-day.
- After clearing. hasTime returns false and
- the value of getTime is undefined.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearTimeZone()"><!-- --></A><H3>
-clearTimeZone</H3>
-<PRE>
-public void <B>clearTimeZone</B>()</PRE>
-<DL>
-<DD>Clears the timezone. After clearing. hasTimeZone returns false and
- the value of getTimeZoneHour and getTimeZoneMinute are undefined.
- Does not change the other time fields.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>True if all date fields lie within their legal ranges.  A GDateBuilder
- can be invalid, for example, if you change the month to February
- and the day-of-month is 31.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isValid()">isValid</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="normalize()"><!-- --></A><H3>
-normalize</H3>
-<PRE>
-public void <B>normalize</B>()</PRE>
-<DL>
-<DD>Normalizes the instance, ensuring date and time fields are within
- their normal ranges.
- <p>
- If no timezone or no time is specified, or if a partial date is specified, this
- method does nothing, and leaves the timezone information as-is.
- <p>
- If a time or time and date is specified, this method normalizes the timezone
- to UTC.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="normalizeToTimeZone(int, int, int)"><!-- --></A><H3>
-normalizeToTimeZone</H3>
-<PRE>
-public void <B>normalizeToTimeZone</B>(int&nbsp;tzSign,
-                                int&nbsp;tzHour,
-                                int&nbsp;tzMinute)</PRE>
-<DL>
-<DD>If the time and timezone are known, this method changes the timezone to the
- specified UTC offset, altering minutes, hours, day, month, and year as
- necessary to ensure that the actual described moment in time is the same.
- <p>
- It is an error to operate on instances without a time or timezone, or
- with a partially specified date.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>tzSign</CODE> - the timezone offset sign, either +1, 0, or -1<DD><CODE>tzHour</CODE> - the timezone offset hour<DD><CODE>tzMinute</CODE> - the timezone offset minute</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-addGDuration</H3>
-<PRE>
-public void <B>addGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Adds a given duration to the date/time.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>duration</CODE> - the duration to add</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="subtractGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-subtractGDuration</H3>
-<PRE>
-public void <B>subtractGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Subtracts a given duration from the date/time.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>duration</CODE> - the duration to subtract</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addDuration(int, int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-addDuration</H3>
-<PRE>
-public void <B>addDuration</B>(int&nbsp;sign,
-                        int&nbsp;year,
-                        int&nbsp;month,
-                        int&nbsp;day,
-                        int&nbsp;hour,
-                        int&nbsp;minute,
-                        int&nbsp;second,
-                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Adds a given duration to the date/time.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sign</CODE> - +1 to add, -1 to subtract<DD><CODE>year</CODE> - the number of years to add<DD><CODE>month</CODE> - the number of months to add<DD><CODE>day</CODE> - the number of days to add<DD><CODE>hour</CODE> - the number of hours to add<DD><CODE>minute</CODE> - the number of minutes to add<DD><CODE>second</CODE> - the number of seconds to add<DD><CODE>fraction</CODE> - the number of fractional seconds to add (may be null)</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJulianDate()"><!-- --></A><H3>
-getJulianDate</H3>
-<PRE>
-public final int <B>getJulianDate</B>()</PRE>
-<DL>
-<DD>Returns the Julian date corresponding to this Gregorian date.
- The Julian date (JD) is a continuous count of days from
- 1 January 4713 BC (= -4712 January 1).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getJulianDate()">getJulianDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setJulianDate(int)"><!-- --></A><H3>
-setJulianDate</H3>
-<PRE>
-public void <B>setJulianDate</B>(int&nbsp;julianday)</PRE>
-<DL>
-<DD>Sets the Gregorian date based on the given Julian date.
- The Julian date (JD) is a continuous count of days from
- 1 January 4713 BC (= -4712 January 1).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>julianday</CODE> - the julian day number</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDate(java.util.Date)"><!-- --></A><H3>
-setDate</H3>
-<PRE>
-public void <B>setDate</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</PRE>
-<DL>
-<DD>Sets the current time and date based on a java.util.Date instance.
- <p>
- The timezone offset used is based on the default TimeZone. (The
- default TimeZone is consulted to incorporate daylight savings offsets
- if applicable for the current date as well as the base timezone offset.)
- <p>
- If you wish to normalize the timezone, e.g., to UTC, follow this with
- a call to normalizeToTimeZone.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>date</CODE> - the Date object to copy</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDate(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-setGDate</H3>
-<PRE>
-public void <B>setGDate</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdate)</PRE>
-<DL>
-<DD>Copies a GDateSpecification, completely replacing the current
- information in this GDateBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gdate</CODE> - the GDateSpecification to copy</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendar()"><!-- --></A><H3>
-getCalendar</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A> <B>getCalendar</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
- <p>
- <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> is a subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>
- which is slightly customized to match XML schema date rules.
- <p>
- The returned <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> has only those time and date fields
- set that are reflected in the GDate object.  Because of the way the
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A> contract works, any information in the isSet() vanishes
- as soon as you view any unset field using get() methods.
- This means that if it is important to understand which date fields
- are set, you must call isSet() first before get().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getCalendar()">getCalendar</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDate()"><!-- --></A><H3>
-getDate</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDate</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDate()">getDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDate(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-compareToGDate</H3>
-<PRE>
-public final int <B>compareToGDate</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;datespec)</PRE>
-<DL>
-<DD>Comparison to another GDate.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)">compareToGDate</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>datespec</CODE> - the date to compare against</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBuiltinTypeCode()"><!-- --></A><H3>
-getBuiltinTypeCode</H3>
-<PRE>
-public final int <B>getBuiltinTypeCode</B>()</PRE>
-<DL>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
- <p> 
- Value will be equal to
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN"><CODE>SchemaType.BTC_NOT_BUILTIN</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR"><CODE>SchemaType.BTC_G_YEAR</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH"><CODE>SchemaType.BTC_G_YEAR_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH"><CODE>SchemaType.BTC_G_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY"><CODE>SchemaType.BTC_G_MONTH_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_DAY"><CODE>SchemaType.BTC_G_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE"><CODE>SchemaType.BTC_DATE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME"><CODE>SchemaType.BTC_DATE_TIME</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TIME"><CODE>SchemaType.BTC_TIME</CODE></A>.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBuiltinTypeCode(int)"><!-- --></A><H3>
-setBuiltinTypeCode</H3>
-<PRE>
-public void <B>setBuiltinTypeCode</B>(int&nbsp;typeCode)</PRE>
-<DL>
-<DD>Clears the fields in this GDateBuilder that are not applicable
- for the given SchemaType date code.  The code should be
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR"><CODE>SchemaType.BTC_G_YEAR</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH"><CODE>SchemaType.BTC_G_YEAR_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH"><CODE>SchemaType.BTC_G_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY"><CODE>SchemaType.BTC_G_MONTH_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_DAY"><CODE>SchemaType.BTC_G_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE"><CODE>SchemaType.BTC_DATE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME"><CODE>SchemaType.BTC_DATE_TIME</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TIME"><CODE>SchemaType.BTC_TIME</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>typeCode</CODE> - the type code to apply</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="canonicalString()"><!-- --></A><H3>
-canonicalString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>canonicalString</B>()</PRE>
-<DL>
-<DD>The canonical string representation. Specific moments or
- times-of-day in a specified timezone are normalized to
- UTC time to produce a canonical string form for them.
- Other recurring time specifications keep their timezone
- information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#canonicalString()">canonicalString</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>The natural string representation. This represents the information
- that is available, including timezone. For types that correspond
- to defined schema types (schemaBuiltinTypeCode() > 0),
- this provides the natural lexical representation.
- <p>
- When both time and timezone are specified, this string is not
- the canonical representation unless the timezone is UTC (Z)
- (since the same moment in time can be expressed in different
- timezones). To get a canonical string, use the canonicalString()
- method.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDateBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateSpecification.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateSpecification.html
deleted file mode 100644
index d136e43..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDateSpecification.html
+++ /dev/null
@@ -1,941 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-GDateSpecification (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDateSpecification,GDateSpecification interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDateSpecification (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDateSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface GDateSpecification</H2>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>, <A HREF="../../../org/apache/xmlbeans/GDateBuilder.html">GDateBuilder</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>GDateSpecification</B></DL>
-
-<P>
-Represents an XML Schema-compatible Gregorian date.
- <p>
- Both the immutable GDate and the mutable GDateBuilder are
- GDateSpecifications.  Use this interface where you want to
- allow callers to pass any implementation of a GDate.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_DAY">HAS_DAY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Day of month is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH">HAS_MONTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Month of year is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIME">HAS_TIME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time of day is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE">HAS_TIMEZONE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Timezone is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR">HAS_YEAR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Year is specified.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#canonicalString()">canonicalString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The canonical string representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#compareToGDate(org.apache.xmlbeans.GDateSpecification)">compareToGDate</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdatespec)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getCalendar()">getCalendar</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDate()">getDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value of the current time as a java.util.Date
- instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()">getFlags</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a combination of flags indicating the information
- contained by this GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getJulianDate()">getJulianDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Julian date corresponding to this Gregorian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMillisecond()">getMillisecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the rounded millisecond value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneHour()">getTimeZoneHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone hour.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneMinute()">getTimeZoneMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone minutes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getTimeZoneSign()">getTimeZoneSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time zone sign.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDate()">hasDate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a full date (year, month, day)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasDay()">hasDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a day-of-month.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasMonth()">hasMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a month-of-year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTime()">hasTime</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a time-of-day.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasTimeZone()">hasTimeZone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#hasYear()">hasYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this date/time specification specifies a year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this GDate specification is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this GDate corresponds to a valid gregorian date value
- in XML schema.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The natural string representation.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="HAS_TIMEZONE"><!-- --></A><H3>
-HAS_TIMEZONE</H3>
-<PRE>
-public static final int <B>HAS_TIMEZONE</B></PRE>
-<DL>
-<DD>Timezone is specified. See <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()"><CODE>getFlags()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.GDateSpecification.HAS_TIMEZONE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="HAS_YEAR"><!-- --></A><H3>
-HAS_YEAR</H3>
-<PRE>
-public static final int <B>HAS_YEAR</B></PRE>
-<DL>
-<DD>Year is specified. See <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()"><CODE>getFlags()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.GDateSpecification.HAS_YEAR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="HAS_MONTH"><!-- --></A><H3>
-HAS_MONTH</H3>
-<PRE>
-public static final int <B>HAS_MONTH</B></PRE>
-<DL>
-<DD>Month of year is specified. See <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()"><CODE>getFlags()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.GDateSpecification.HAS_MONTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="HAS_DAY"><!-- --></A><H3>
-HAS_DAY</H3>
-<PRE>
-public static final int <B>HAS_DAY</B></PRE>
-<DL>
-<DD>Day of month is specified. See <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()"><CODE>getFlags()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.GDateSpecification.HAS_DAY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="HAS_TIME"><!-- --></A><H3>
-HAS_TIME</H3>
-<PRE>
-public static final int <B>HAS_TIME</B></PRE>
-<DL>
-<DD>Time of day is specified. See <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#getFlags()"><CODE>getFlags()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.GDateSpecification.HAS_TIME">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getFlags()"><!-- --></A><H3>
-getFlags</H3>
-<PRE>
-public int <B>getFlags</B>()</PRE>
-<DL>
-<DD>Returns a combination of flags indicating the information
- contained by this GDate.  The five flags are
- <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIMEZONE"><CODE>HAS_TIMEZONE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_YEAR"><CODE>HAS_YEAR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_MONTH"><CODE>HAS_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_DAY"><CODE>HAS_DAY</CODE></A>, and <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html#HAS_TIME"><CODE>HAS_TIME</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>True if this GDate specification is immutable. GDate returns true,
- and GDateBuilder returns false.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>True if this GDate corresponds to a valid gregorian date value
- in XML schema.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTimeZone()"><!-- --></A><H3>
-hasTimeZone</H3>
-<PRE>
-public boolean <B>hasTimeZone</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a timezone.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasYear()"><!-- --></A><H3>
-hasYear</H3>
-<PRE>
-public boolean <B>hasYear</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a year.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasMonth()"><!-- --></A><H3>
-hasMonth</H3>
-<PRE>
-public boolean <B>hasMonth</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a month-of-year.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDay()"><!-- --></A><H3>
-hasDay</H3>
-<PRE>
-public boolean <B>hasDay</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a day-of-month.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasTime()"><!-- --></A><H3>
-hasTime</H3>
-<PRE>
-public boolean <B>hasTime</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a time-of-day.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDate()"><!-- --></A><H3>
-hasDate</H3>
-<PRE>
-public boolean <B>hasDate</B>()</PRE>
-<DL>
-<DD>True if this date/time specification specifies a full date (year, month, day)
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year. Should be a four-digit year specification.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year. January is 1.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month. The first day of each month is 1.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day. Midnight is 0, and 11PM is 23.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour. Range from 0 to 59.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute. Range from 0 to 59.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneSign()"><!-- --></A><H3>
-getTimeZoneSign</H3>
-<PRE>
-public int <B>getTimeZoneSign</B>()</PRE>
-<DL>
-<DD>Gets the time zone sign. For time zones east of GMT,
- this is positive; for time zones west, this is negative.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneHour()"><!-- --></A><H3>
-getTimeZoneHour</H3>
-<PRE>
-public int <B>getTimeZoneHour</B>()</PRE>
-<DL>
-<DD>Gets the time zone hour.
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTimeZoneMinute()"><!-- --></A><H3>
-getTimeZoneMinute</H3>
-<PRE>
-public int <B>getTimeZoneMinute</B>()</PRE>
-<DL>
-<DD>Gets the time zone minutes.
- This is always positive: for the sign, look at
- getTimeZoneSign().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMillisecond()"><!-- --></A><H3>
-getMillisecond</H3>
-<PRE>
-public int <B>getMillisecond</B>()</PRE>
-<DL>
-<DD>Gets the rounded millisecond value. Range from 0 to 999
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJulianDate()"><!-- --></A><H3>
-getJulianDate</H3>
-<PRE>
-public int <B>getJulianDate</B>()</PRE>
-<DL>
-<DD>Returns the Julian date corresponding to this Gregorian date.
- The Julian date (JD) is a continuous count of days from
- 1 January 4713 BC (= -4712 January 1).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendar()"><!-- --></A><H3>
-getCalendar</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html">XmlCalendar</A> <B>getCalendar</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as an <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>.
- <p>
- <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> is a subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>
- which is slightly customized to match XML schema date rules.
- <p>
- The returned <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A> has only those time and date fields
- set that are reflected in the GDate object.  Because of the way the
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A> contract works, any information in the isSet() vanishes
- as soon as you view any unset field using get() methods.
- This means that if it is important to understand which date fields
- are set, you must call isSet() first before get().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDate()"><!-- --></A><H3>
-getDate</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDate</B>()</PRE>
-<DL>
-<DD>Retrieves the value of the current time as a java.util.Date
- instance.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDate(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-compareToGDate</H3>
-<PRE>
-public int <B>compareToGDate</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gdatespec)</PRE>
-<DL>
-<DD>Comparison to another GDate.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gdatespec</CODE> - the date to compare against.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBuiltinTypeCode()"><!-- --></A><H3>
-getBuiltinTypeCode</H3>
-<PRE>
-public int <B>getBuiltinTypeCode</B>()</PRE>
-<DL>
-<DD>Returns the builtin type code for the shape of the information
- contained in this instance, or 0 if the
- instance doesn't contain information corresponding to a
- Schema type.
- <p> 
- Value will be equal to
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN"><CODE>SchemaType.BTC_NOT_BUILTIN</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR"><CODE>SchemaType.BTC_G_YEAR</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH"><CODE>SchemaType.BTC_G_YEAR_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH"><CODE>SchemaType.BTC_G_MONTH</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY"><CODE>SchemaType.BTC_G_MONTH_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_DAY"><CODE>SchemaType.BTC_G_DAY</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE"><CODE>SchemaType.BTC_DATE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME"><CODE>SchemaType.BTC_DATE_TIME</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TIME"><CODE>SchemaType.BTC_TIME</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="canonicalString()"><!-- --></A><H3>
-canonicalString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>canonicalString</B>()</PRE>
-<DL>
-<DD>The canonical string representation. Specific moments or
- times-of-day in a specified timezone are normalized to
- UTC time to produce a canonical string form for them.
- Other recurring time specifications keep their timezone
- information.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>The natural string representation. This represents the information
- that is available, including timezone. For types that correspond
- to defined schema types (schemaBuiltinTypeCode() > 0),
- this provides the natural lexical representation.
-
- When both time and timezone are specified, this string is not
- the canonical representation unless the timezone is UTC (Z)
- (since the same moment in time can be expressed in different
- timezones). To get a canonical string, use the canonicalString()
- method.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDateSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDuration.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDuration.html
deleted file mode 100644
index 3636f9f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDuration.html
+++ /dev/null
@@ -1,742 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-GDuration (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDuration,GDuration class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDuration (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDuration.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class GDuration</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.GDuration</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public final class <B>GDuration</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Represents an XML Schema-compatible duration.
- <p>
- A duration is made up of a number of years, months, days, hours,
- minutes, seconds, and fractions of seconds. See the
- XML Schema specification
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">section on xs:duration</a>
- for details on the rules for
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration-order">comparing durations</a> and
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes">adding durations to dates</a>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.GDuration">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#GDuration()">GDuration</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty GDuration representing zero seconds.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#GDuration(java.lang.CharSequence)">GDuration</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;str)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDuration from a lexical
- representation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#GDuration(org.apache.xmlbeans.GDurationSpecification)">GDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gDuration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDuration from another GDurationSpecification.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#GDuration(int, int, int, int, int, int, int, java.math.BigDecimal)">GDuration</A></B>(int&nbsp;sign,
-          int&nbsp;year,
-          int&nbsp;month,
-          int&nbsp;day,
-          int&nbsp;hour,
-          int&nbsp;minute,
-          int&nbsp;second,
-          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDuration with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#add(org.apache.xmlbeans.GDurationSpecification)">add</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new GDuration which is the sum of this one and the
- supplied duration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#clone()">clone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds another GDate with the same value
- as this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)">compareToGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDuration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Two GDurations are equal if all their fields are equal.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getSign()">getSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#hashCode()">hashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All GDuration instances return true.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if all of the individual components
- of the duration are nonnegative.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#subtract(org.apache.xmlbeans.GDurationSpecification)">subtract</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new GDuration which is the result of subtracting
- the supplied duration from this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDuration.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The natural string representation of the duration.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="GDuration()"><!-- --></A><H3>
-GDuration</H3>
-<PRE>
-public <B>GDuration</B>()</PRE>
-<DL>
-<DD>Constructs an empty GDuration representing zero seconds.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDuration(java.lang.CharSequence)"><!-- --></A><H3>
-GDuration</H3>
-<PRE>
-public <B>GDuration</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSequence.html">CharSequence</A>&nbsp;str)</PRE>
-<DL>
-<DD>Constructs a GDuration from a lexical
- representation. The lexical space contains the
- union of the lexical spaces of all the schema
- date/time types (except for duration).
-<P>
-</DL>
-<HR>
-
-<A NAME="GDuration(int, int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-GDuration</H3>
-<PRE>
-public <B>GDuration</B>(int&nbsp;sign,
-                 int&nbsp;year,
-                 int&nbsp;month,
-                 int&nbsp;day,
-                 int&nbsp;hour,
-                 int&nbsp;minute,
-                 int&nbsp;second,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Constructs a GDuration with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-GDuration</H3>
-<PRE>
-public <B>GDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gDuration)</PRE>
-<DL>
-<DD>Constructs a GDuration from another GDurationSpecification.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="clone()"><!-- --></A><H3>
-clone</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>clone</B>()</PRE>
-<DL>
-<DD>Builds another GDate with the same value
- as this one.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public final boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>All GDuration instances return true.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isImmutable()">isImmutable</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSign()"><!-- --></A><H3>
-getSign</H3>
-<PRE>
-public final int <B>getSign</B>()</PRE>
-<DL>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSign()">getSign</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public final int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getYear()">getYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public final int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMonth()">getMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public final int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getDay()">getDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public final int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getHour()">getHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public final int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMinute()">getMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public final int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSecond()">getSecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getFraction()">getFraction</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isValid()">isValid</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-compareToGDuration</H3>
-<PRE>
-public final int <B>compareToGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Comparison to another GDuration.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)">compareToGDuration</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>The natural string representation of the duration.
- <p>
- Any components that are zero are omitted. Note that if the duration
- is invalid, i.e., it has negative components, those negative
- components are serialized out here. To check for validity, use
- the isValid() method; and to normalize most durations to a valid
- form use the normalize() method.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="add(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-add</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>add</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Returns a new GDuration which is the sum of this one and the
- supplied duration.  Does a fieldwise addition, with no normalization.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="subtract(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-subtract</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>subtract</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Returns a new GDuration which is the result of subtracting
- the supplied duration from this one.  Does a fieldwise
- subtraction, with no normalization.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
-equals</H3>
-<PRE>
-public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Two GDurations are equal if all their fields are equal.
- The equals function does not apply normalizatin.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hashCode()"><!-- --></A><H3>
-hashCode</H3>
-<PRE>
-public int <B>hashCode</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDuration.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationBuilder.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationBuilder.html
deleted file mode 100644
index b232e38..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationBuilder.html
+++ /dev/null
@@ -1,941 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-GDurationBuilder (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDurationBuilder,GDurationBuilder class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDurationBuilder (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameCache.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDurationBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class GDurationBuilder</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.GDurationBuilder</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>GDurationBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Used to build <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDurations</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.GDurationBuilder">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder()">GDurationBuilder</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty GDurationBuilder representing zero seconds.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(org.apache.xmlbeans.GDurationSpecification)">GDurationBuilder</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gDuration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDurationBuilder from another GDurationBuilderSpecification.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(int, int, int, int, int, int, int, java.math.BigDecimal)">GDurationBuilder</A></B>(int&nbsp;sign,
-                 int&nbsp;year,
-                 int&nbsp;month,
-                 int&nbsp;day,
-                 int&nbsp;hour,
-                 int&nbsp;minute,
-                 int&nbsp;second,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDurationBuilder with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#GDurationBuilder(java.lang.String)">GDurationBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a GDuration from a lexical
- representation.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#addGDuration(org.apache.xmlbeans.GDurationSpecification)">addGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to this duration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#clone()">clone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds another GDurationBuilder with the same value
- as this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)">compareToGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDuration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getSign()">getSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All GDuration instances return true.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if all of the individual components
- of the duration are nonnegative.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#normalize()">normalize</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normalize a duration value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setDay(int)">setDay</A></B>(int&nbsp;day)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the day component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setFraction(java.math.BigDecimal)">setFraction</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fraction-of-second component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setHour(int)">setHour</A></B>(int&nbsp;hour)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the hour component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setMinute(int)">setMinute</A></B>(int&nbsp;minute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the minute component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setMonth(int)">setMonth</A></B>(int&nbsp;month)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the month component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setSecond(int)">setSecond</A></B>(int&nbsp;second)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the second component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setSign(int)">setSign</A></B>(int&nbsp;sign)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the sign.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#setYear(int)">setYear</A></B>(int&nbsp;year)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#subtractGDuration(org.apache.xmlbeans.GDurationSpecification)">subtractGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subtracts from this duration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#toGDuration()">toGDuration</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a GDuration from this GDurationBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The natural string representation of the duration.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="GDurationBuilder()"><!-- --></A><H3>
-GDurationBuilder</H3>
-<PRE>
-public <B>GDurationBuilder</B>()</PRE>
-<DL>
-<DD>Constructs an empty GDurationBuilder representing zero seconds.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDurationBuilder(java.lang.String)"><!-- --></A><H3>
-GDurationBuilder</H3>
-<PRE>
-public <B>GDurationBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>Constructs a GDuration from a lexical
- representation.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDurationBuilder(int, int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-GDurationBuilder</H3>
-<PRE>
-public <B>GDurationBuilder</B>(int&nbsp;sign,
-                        int&nbsp;year,
-                        int&nbsp;month,
-                        int&nbsp;day,
-                        int&nbsp;hour,
-                        int&nbsp;minute,
-                        int&nbsp;second,
-                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Constructs a GDurationBuilder with the specified sign,
- year, month, day, hours, minutes, seconds, and optional
- fractional seconds.
-<P>
-</DL>
-<HR>
-
-<A NAME="GDurationBuilder(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-GDurationBuilder</H3>
-<PRE>
-public <B>GDurationBuilder</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gDuration)</PRE>
-<DL>
-<DD>Constructs a GDurationBuilder from another GDurationBuilderSpecification.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="clone()"><!-- --></A><H3>
-clone</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>clone</B>()</PRE>
-<DL>
-<DD>Builds another GDurationBuilder with the same value
- as this one.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toGDuration()"><!-- --></A><H3>
-toGDuration</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>toGDuration</B>()</PRE>
-<DL>
-<DD>Builds a GDuration from this GDurationBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-addGDuration</H3>
-<PRE>
-public void <B>addGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Adds to this duration.  Does a fieldwise add, with no
- normalization.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="subtractGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-subtractGDuration</H3>
-<PRE>
-public void <B>subtractGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Subtracts from this duration.  Does a fieldwise subtraction,
- with no normalization.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSign(int)"><!-- --></A><H3>
-setSign</H3>
-<PRE>
-public final void <B>setSign</B>(int&nbsp;sign)</PRE>
-<DL>
-<DD>Sets the sign.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setYear(int)"><!-- --></A><H3>
-setYear</H3>
-<PRE>
-public void <B>setYear</B>(int&nbsp;year)</PRE>
-<DL>
-<DD>Sets the year component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setMonth(int)"><!-- --></A><H3>
-setMonth</H3>
-<PRE>
-public void <B>setMonth</B>(int&nbsp;month)</PRE>
-<DL>
-<DD>Sets the month component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDay(int)"><!-- --></A><H3>
-setDay</H3>
-<PRE>
-public void <B>setDay</B>(int&nbsp;day)</PRE>
-<DL>
-<DD>Sets the day component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setHour(int)"><!-- --></A><H3>
-setHour</H3>
-<PRE>
-public void <B>setHour</B>(int&nbsp;hour)</PRE>
-<DL>
-<DD>Sets the hour component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setMinute(int)"><!-- --></A><H3>
-setMinute</H3>
-<PRE>
-public void <B>setMinute</B>(int&nbsp;minute)</PRE>
-<DL>
-<DD>Sets the minute component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSecond(int)"><!-- --></A><H3>
-setSecond</H3>
-<PRE>
-public void <B>setSecond</B>(int&nbsp;second)</PRE>
-<DL>
-<DD>Sets the second component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setFraction(java.math.BigDecimal)"><!-- --></A><H3>
-setFraction</H3>
-<PRE>
-public void <B>setFraction</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Sets the fraction-of-second component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public final boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>All GDuration instances return true.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isImmutable()">isImmutable</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSign()"><!-- --></A><H3>
-getSign</H3>
-<PRE>
-public final int <B>getSign</B>()</PRE>
-<DL>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
- This value does not necessarily reflect the
- true direction of the duration if the duration
- is not normalized or not normalizable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSign()">getSign</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public final int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getYear()">getYear</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public final int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMonth()">getMonth</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public final int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getDay()">getDay</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public final int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getHour()">getHour</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public final int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMinute()">getMinute</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public final int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute component.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSecond()">getSecond</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getFraction()">getFraction</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isValid()">isValid</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="normalize()"><!-- --></A><H3>
-normalize</H3>
-<PRE>
-public void <B>normalize</B>()</PRE>
-<DL>
-<DD>Normalize a duration value. This ensures that months,
- hours, minutes, seconds, and fractions are positive and
- within the ranges 0..11, 0..23, 0..59, etc. Negative
- durations are indicated by a negative sign rather
- than negative components.
- <p>
- Most duration specifications can be normalized to
- valid durations with all positive components, but
- not all of them can.
- <p>
- The only situations which cannot be normalized are
- where the year/month and the day/hour/minute/second
- offsets are of opposite sign. Days cannot be carried
- into months since the length of a Gregorian month is
- variable depending on when the duration is applied.
- In these cases, this method normalizes the components
- so that "day" is the only negative component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-compareToGDuration</H3>
-<PRE>
-public final int <B>compareToGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Comparison to another GDuration.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)">compareToGDuration</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>The natural string representation of the duration.
- <p>
- Any components that are zero are omitted. Note that if the duration
- is invalid, i.e., it has negative components, those negative
- components are serialized out here. To check for validity, use
- the isValid() method; and to normalize most durations to a valid
- form use the normalize() method.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameCache.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDurationBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationSpecification.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationSpecification.html
deleted file mode 100644
index 0664ed7..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/GDurationSpecification.html
+++ /dev/null
@@ -1,436 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-GDurationSpecification (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.GDurationSpecification,GDurationSpecification interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="GDurationSpecification (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDurationSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface GDurationSpecification</H2>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>, <A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html">GDurationBuilder</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>GDurationSpecification</B></DL>
-
-<P>
-Represents an XML Schema-compatible duration.
- <p>
- Both the immutable GDuration and the mutable GDurationBuilder are
- GDurationSpecifications.  Use this interface where you want to
- allow callers to pass any implementation of a GDuration.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#compareToGDuration(org.apache.xmlbeans.GDurationSpecification)">compareToGDuration</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparison to another GDuration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getDay()">getDay</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the day-of-month component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getFraction()">getFraction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the fraction-of-second.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getHour()">getHour</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hour-of-day component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMinute()">getMinute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minute-of-hour component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getMonth()">getMonth</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the month-of-year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSecond()">getSecond</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the second-of-minute component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getSign()">getSign</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#getYear()">getYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the year component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this instance is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html#isValid()">isValid</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if all of the individual components
- of the duration are nonnegative.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>True if this instance is immutable.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSign()"><!-- --></A><H3>
-getSign</H3>
-<PRE>
-public int <B>getSign</B>()</PRE>
-<DL>
-<DD>Returns the sign of the duration: +1 is forwards
- and -1 is backwards in time.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getYear()"><!-- --></A><H3>
-getYear</H3>
-<PRE>
-public int <B>getYear</B>()</PRE>
-<DL>
-<DD>Gets the year component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMonth()"><!-- --></A><H3>
-getMonth</H3>
-<PRE>
-public int <B>getMonth</B>()</PRE>
-<DL>
-<DD>Gets the month-of-year component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDay()"><!-- --></A><H3>
-getDay</H3>
-<PRE>
-public int <B>getDay</B>()</PRE>
-<DL>
-<DD>Gets the day-of-month component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getHour()"><!-- --></A><H3>
-getHour</H3>
-<PRE>
-public int <B>getHour</B>()</PRE>
-<DL>
-<DD>Gets the hour-of-day component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinute()"><!-- --></A><H3>
-getMinute</H3>
-<PRE>
-public int <B>getMinute</B>()</PRE>
-<DL>
-<DD>Gets the minute-of-hour component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSecond()"><!-- --></A><H3>
-getSecond</H3>
-<PRE>
-public int <B>getSecond</B>()</PRE>
-<DL>
-<DD>Gets the second-of-minute component.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFraction()"><!-- --></A><H3>
-getFraction</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getFraction</B>()</PRE>
-<DL>
-<DD>Gets the fraction-of-second. Range from 0 (inclusive) to 1 (exclusive).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValid()"><!-- --></A><H3>
-isValid</H3>
-<PRE>
-public boolean <B>isValid</B>()</PRE>
-<DL>
-<DD>Returns true if all of the individual components
- of the duration are nonnegative.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareToGDuration(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-compareToGDuration</H3>
-<PRE>
-public int <B>compareToGDuration</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;duration)</PRE>
-<DL>
-<DD>Comparison to another GDuration.
- <ul>
- <li>Returns -1 if this < date. (less-than)
- <li>Returns 0 if this == date. (equal)
- <li>Returns 1 if this > date. (greater-than)
- <li>Returns 2 if this <> date. (incomparable)
- </ul>
- Two instances are incomparable if they have different amounts
- of information.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="GDurationSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameCache.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameCache.html
deleted file mode 100644
index af8cc6e..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameCache.html
+++ /dev/null
@@ -1,270 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-QNameCache (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.QNameCache,QNameCache class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="QNameCache (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameCache.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class QNameCache</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.QNameCache</B>
-</PRE>
-<HR>
-<DL>
-<DT>public final class <B>QNameCache</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A cache that can be used to pool QName instances.  Each thread has one.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameCache.html#QNameCache(int)">QNameCache</A></B>(int&nbsp;initialCapacity)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a QNameCache with the given initialCapacity.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameCache.html#QNameCache(int, float)">QNameCache</A></B>(int&nbsp;initialCapacity,
-           float&nbsp;loadFactor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a QNameCache with the given initialCapacity and loadFactor.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameCache.html#getName(java.lang.String, java.lang.String)">getName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches a QName with the given namespace and localname.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="QNameCache(int, float)"><!-- --></A><H3>
-QNameCache</H3>
-<PRE>
-public <B>QNameCache</B>(int&nbsp;initialCapacity,
-                  float&nbsp;loadFactor)</PRE>
-<DL>
-<DD>Creates a QNameCache with the given initialCapacity and loadFactor.
-<P>
-<DT><B>Parameters:</B><DD><CODE>initialCapacity</CODE> - the number of entries to initially make space for<DD><CODE>loadFactor</CODE> - a number to control the density of the hashtable</DL>
-<HR>
-
-<A NAME="QNameCache(int)"><!-- --></A><H3>
-QNameCache</H3>
-<PRE>
-public <B>QNameCache</B>(int&nbsp;initialCapacity)</PRE>
-<DL>
-<DD>Creates a QNameCache with the given initialCapacity.
-<P>
-<DT><B>Parameters:</B><DD><CODE>initialCapacity</CODE> - the number of entries to initially make space for</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getName(java.lang.String, java.lang.String)"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</PRE>
-<DL>
-<DD>Fetches a QName with the given namespace and localname.
- Creates one if one is not found in the cache.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace<DD><CODE>localName</CODE> - the localname
-<DT><B>Returns:</B><DD>the cached QName</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameCache.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSet.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSet.html
deleted file mode 100644
index 83b6550..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSet.html
+++ /dev/null
@@ -1,802 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-QNameSet (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.QNameSet,QNameSet class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="QNameSet (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameCache.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSet.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class QNameSet</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.QNameSet</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public final class <B>QNameSet</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-This interface represents a lattice of finite and infinite sets of QNames.
- The lattice the minimal one that is closed under union, intersection, and
- inverse, and contains individual QNames as well as entire namespaces.
- Here is a summary of the two kinds of QNameSets:
- <ul>
- <li>A QNameSet can cover a finite set of namespaces, additionally including a finite
-     set of QNames outside those namespaces, and with the exception of
-     a finite set of QNames excluded from those namespaes:
-   <ul>
-   <li>excludedQNamesInIncludedURIs == the set of excluded QNames from coveredURIs namespaces
-   <li>excludedURIs == null
-   <li>includedURIs == the set of covered namespace URIs
-   <li>includedQNamesInExcludedURIs == set of additional QNames outside coveredURIs namespaces
-   </ul>
- </li>
- <li>A QNameSet can cover all namespaces except for a finite number of excluded ones,
-     additionally including a finite set of QNames within the excluded namespaces,
-     and with the exception of a finite set of QNames outside the excluded namespaces:
-   <ul>
-   <li>excludedQNamesInIncludedURIs == the set of excluded QNames outside uncoveredURIs namespaces
-   <li>excludedURIs == the set of uncovered namespace URIs
-   <li>includedURIs == null
-   <li>includedQNamesInExcludedURIs == set of additional QNames from uncoveredURIs namespaces
-   </ul>
- </li>
- </ul>
- <p>
- Notice that a finite set of QNames is a degenerate case of the first
- category outlined above:
- <ul>
- <li>A QnameSet can contain a finite number of QNames:
-   <ul>
-   <li>excludedQNamesInIncludedURIs == null
-   <li>excludedURIs == null
-   <li>includedURIs == empty set
-   <li>includedQNamesInExcludedURIs == set of included QNames
-   </ul>
- </li>
- </ul>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.QNameSet">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#ALL">ALL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The QNameSet containing all QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#EMPTY">EMPTY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The empty QNameSet.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#LOCAL">LOCAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The QNameSet containing all QNames in the local (no-)namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#NONLOCAL">NONLOCAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The QNameSet containing all QNames except for those in the local (no-)namespace.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#contains(javax.xml.namespace.QName)">contains</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains the given qname.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)">containsAll</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the given set is a subset of this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#excludedQNamesInIncludedURIs()">excludedQNamesInIncludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The set of QNames excluded from the set even though they are within
- a namespace that is otherwise fully included in the set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#excludedURIs()">excludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Namespaces that are fully excluded from the set except for a finite
- number of individual QName exceptions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#forArray(javax.xml.namespace.QName[])">forArray</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[]&nbsp;includedQNames)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a QNameSet based on the given array of included QNames</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#forSets(java.util.Set, java.util.Set, java.util.Set, java.util.Set)">forSets</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedURIs,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedURIs,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedQNamesInIncludedURIs,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedQNamesInExcludedURIs)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a QNameSet based on the given sets of excluded URIs,
- included URIs, excluded QNames in included namespaces, and included
- QNames in excluded namespaces.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#forSpecification(org.apache.xmlbeans.QNameSetSpecification)">forSpecification</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;spec)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a QNameSet with the same contents as the given
- QNameSetSpecification.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#forWildcardNamespaceString(java.lang.String, java.lang.String)">forWildcardNamespaceString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;wildcard,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;targetURI)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a QNameSet corresponding to the given wildcard namespace string.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#includedQNamesInExcludedURIs()">includedQNamesInExcludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The set of QNames included in the set even though they are within
- a namespace that is otherwise fully included in the set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#includedURIs()">includedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Namespaces that are fully included in set except for a finite
- number of individual QName exceptions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#intersect(org.apache.xmlbeans.QNameSetSpecification)">intersect</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the intersection of this one and another.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#inverse()">inverse</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the inverse of this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#isAll()">isAll</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains all QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)">isDisjoint</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the given set is disjoint from this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#isEmpty()">isEmpty</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains no QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#singleton(javax.xml.namespace.QName)">singleton</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a QNameSet containing only the given QName.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation useful for debugging, subject to change.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSet.html#union(org.apache.xmlbeans.QNameSetSpecification)">union</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the union of this one and another.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="EMPTY"><!-- --></A><H3>
-EMPTY</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>EMPTY</B></PRE>
-<DL>
-<DD>The empty QNameSet.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="ALL"><!-- --></A><H3>
-ALL</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>ALL</B></PRE>
-<DL>
-<DD>The QNameSet containing all QNames.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="LOCAL"><!-- --></A><H3>
-LOCAL</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>LOCAL</B></PRE>
-<DL>
-<DD>The QNameSet containing all QNames in the local (no-)namespace.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="NONLOCAL"><!-- --></A><H3>
-NONLOCAL</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>NONLOCAL</B></PRE>
-<DL>
-<DD>The QNameSet containing all QNames except for those in the local (no-)namespace.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="forSets(java.util.Set, java.util.Set, java.util.Set, java.util.Set)"><!-- --></A><H3>
-forSets</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>forSets</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedURIs,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedURIs,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedQNamesInIncludedURIs,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedQNamesInExcludedURIs)</PRE>
-<DL>
-<DD>Returns a QNameSet based on the given sets of excluded URIs,
- included URIs, excluded QNames in included namespaces, and included
- QNames in excluded namespaces.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>excludedURIs</CODE> - the finite set of namespace URI strings to exclude from the set, or null if this set is infinite<DD><CODE>includedURIs</CODE> - the finite set of namespace URI strings to include in the set, or null if this set is infinite<DD><CODE>excludedQNamesInIncludedURIs</CODE> - the finite set of exceptional QNames to exclude from the included namespaces
-<DT><B>Returns:</B><DD>the constructed QNameSet</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forArray(javax.xml.namespace.QName[])"><!-- --></A><H3>
-forArray</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>forArray</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[]&nbsp;includedQNames)</PRE>
-<DL>
-<DD>Returns a QNameSet based on the given array of included QNames
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>includedQNames</CODE> - the array of included QNames</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forSpecification(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-forSpecification</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>forSpecification</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;spec)</PRE>
-<DL>
-<DD>Returns a QNameSet with the same contents as the given
- QNameSetSpecification.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the copied QNameSet</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forWildcardNamespaceString(java.lang.String, java.lang.String)"><!-- --></A><H3>
-forWildcardNamespaceString</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>forWildcardNamespaceString</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;wildcard,
-                                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;targetURI)</PRE>
-<DL>
-<DD>Returns a QNameSet corresponding to the given wildcard namespace string.
- This is a space-separated list of URIs, plus special tokens as specified
- in the XML Schema specification (##any, ##other, ##targetNamespace, ##local).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the constructed QNameSet</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="singleton(javax.xml.namespace.QName)"><!-- --></A><H3>
-singleton</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>singleton</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns a QNameSet containing only the given QName.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the constructed QNameSet</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="contains(javax.xml.namespace.QName)"><!-- --></A><H3>
-contains</H3>
-<PRE>
-public boolean <B>contains</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains the given qname.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#contains(javax.xml.namespace.QName)">contains</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAll()"><!-- --></A><H3>
-isAll</H3>
-<PRE>
-public boolean <B>isAll</B>()</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains all QNames.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isAll()">isAll</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEmpty()"><!-- --></A><H3>
-isEmpty</H3>
-<PRE>
-public boolean <B>isEmpty</B>()</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains no QNames.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isEmpty()">isEmpty</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intersect(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-intersect</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>intersect</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the intersection of this one and another.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#intersect(org.apache.xmlbeans.QNameSetSpecification)">intersect</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>set</CODE> - the set to insersect with
-<DT><B>Returns:</B><DD>the intersection</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="union(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-union</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>union</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the union of this one and another.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#union(org.apache.xmlbeans.QNameSetSpecification)">union</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>set</CODE> - the set to union with
-<DT><B>Returns:</B><DD>the union</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="inverse()"><!-- --></A><H3>
-inverse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>inverse</B>()</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the inverse of this one.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#inverse()">inverse</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="containsAll(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-containsAll</H3>
-<PRE>
-public boolean <B>containsAll</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if the given set is a subset of this one.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)">containsAll</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>set</CODE> - the set to test
-<DT><B>Returns:</B><DD>true if this contains all QNames contained by the given set</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-isDisjoint</H3>
-<PRE>
-public boolean <B>isDisjoint</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if the given set is disjoint from this one.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)">isDisjoint</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>set</CODE> - the set to test
-<DT><B>Returns:</B><DD>true if the set is disjoint from this set</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedURIs()"><!-- --></A><H3>
-excludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedURIs</B>()</PRE>
-<DL>
-<DD>Namespaces that are fully excluded from the set except for a finite
- number of individual QName exceptions.  Returns null if this set is infinite.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedURIs()">excludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the set of excluded namespace URI strings</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedURIs()"><!-- --></A><H3>
-includedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedURIs</B>()</PRE>
-<DL>
-<DD>Namespaces that are fully included in set except for a finite
- number of individual QName exceptions. Returns null if this set is infinite.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedURIs()">includedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the set of included namespace URI strings</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedQNamesInIncludedURIs()"><!-- --></A><H3>
-excludedQNamesInIncludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedQNamesInIncludedURIs</B>()</PRE>
-<DL>
-<DD>The set of QNames excluded from the set even though they are within
- a namespace that is otherwise fully included in the set.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedQNamesInIncludedURIs()">excludedQNamesInIncludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the set of excluded QNames from within includedURI namespaces</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedQNamesInExcludedURIs()"><!-- --></A><H3>
-includedQNamesInExcludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedQNamesInExcludedURIs</B>()</PRE>
-<DL>
-<DD>The set of QNames included in the set even though they are within
- a namespace that is otherwise fully included in the set.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedQNamesInExcludedURIs()">includedQNamesInExcludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the set of included QNames from within excludedURI namespaces</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Returns a string representation useful for debugging, subject to change.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameCache.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSet.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetBuilder.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetBuilder.html
deleted file mode 100644
index 1356ec0..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetBuilder.html
+++ /dev/null
@@ -1,896 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-QNameSetBuilder (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.QNameSetBuilder,QNameSetBuilder class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="QNameSetBuilder (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSetBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class QNameSetBuilder</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.QNameSetBuilder</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>QNameSetBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Used to build <A HREF="../../../org/apache/xmlbeans/QNameSet.html"><CODE>QNameSets</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.QNameSetBuilder">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder()">QNameSetBuilder</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(org.apache.xmlbeans.QNameSetSpecification)">QNameSetBuilder</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a QNameSetBuilder whose initial contents are given by
- another QNameSetSpecification.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(java.util.Set, java.util.Set, java.util.Set, java.util.Set)">QNameSetBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedURIs,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedURIs,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedQNamesInIncludedURIs,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedQNamesInExcludedURIs)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a QNameSetBuilder whose inital contents are given by
- the four sets.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#QNameSetBuilder(java.lang.String, java.lang.String)">QNameSetBuilder</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;str,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;targetURI)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a QNameSetBuilder whose initial contents are given
- as a list of namespace URIs, using the same format used by wildcards
- in XSD files.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#add(javax.xml.namespace.QName)">add</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;qname)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a single QName to this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#addAll(org.apache.xmlbeans.QNameSetSpecification)">addAll</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the contents of another QNameSet to this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#addNamespace(java.lang.String)">addNamespace</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an entire namespace URI of QNames to this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#clear()">clear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears this QNameSetBuilder</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#contains(javax.xml.namespace.QName)">contains</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains the given qname.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)">containsAll</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the parameter is a subset of this set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#excludedQNamesInIncludedURIs()">excludedQNamesInIncludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of QNames that are excluded from the set within namespaces
- that are otherwise included.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#excludedURIs()">excludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of namespace URIs that are almost completely excluded from
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#includedQNamesInExcludedURIs()">includedQNamesInExcludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of QNames that are included in the set within namespaces
- that are otherwise excluded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#includedURIs()">includedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of namespace URIs that are almost completely included in
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#intersect(org.apache.xmlbeans.QNameSetSpecification)">intersect</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the intersection of this one and another.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#inverse()">inverse</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the inverse of this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#invert()">invert</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inverts this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#isAll()">isAll</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains all QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)">isDisjoint</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the given set is disjoint from this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#isEmpty()">isEmpty</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this ModelTransitionSet contains no QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#remove(javax.xml.namespace.QName)">remove</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;qname)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the given qname from this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#removeAll(org.apache.xmlbeans.QNameSetSpecification)">removeAll</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all contents of a given QNameSet from this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#removeNamespace(java.lang.String)">removeNamespace</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an entire namespace URI from this QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#restrict(org.apache.xmlbeans.QNameSetSpecification)">restrict</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restricts the contents of this QNameSetBuilder to be a subset of the
- given QNameSet.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#toQNameSet()">toQNameSet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <A HREF="../../../org/apache/xmlbeans/QNameSet.html"><CODE>QNameSet</CODE></A> equivalent to the current state of this
- QNameSetBuilder.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation useful for debugging, subject to change.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html#union(org.apache.xmlbeans.QNameSetSpecification)">union</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new QNameSet that is the union of this one and another.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="QNameSetBuilder()"><!-- --></A><H3>
-QNameSetBuilder</H3>
-<PRE>
-public <B>QNameSetBuilder</B>()</PRE>
-<DL>
-<DD>Constructs an empty QNameSetBuilder.
-<P>
-</DL>
-<HR>
-
-<A NAME="QNameSetBuilder(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-QNameSetBuilder</H3>
-<PRE>
-public <B>QNameSetBuilder</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Constructs a QNameSetBuilder whose initial contents are given by
- another QNameSetSpecification.
-<P>
-<DT><B>Parameters:</B><DD><CODE>set</CODE> - the QNameSetSpecificaiton to copy</DL>
-<HR>
-
-<A NAME="QNameSetBuilder(java.util.Set, java.util.Set, java.util.Set, java.util.Set)"><!-- --></A><H3>
-QNameSetBuilder</H3>
-<PRE>
-public <B>QNameSetBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedURIs,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedURIs,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;excludedQNamesInIncludedURIs,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;includedQNamesInExcludedURIs)</PRE>
-<DL>
-<DD>Constructs a QNameSetBuilder whose inital contents are given by
- the four sets.  Exactly one of either excludedURIs or includedURIs must
- be non-null.
-<P>
-<DT><B>Parameters:</B><DD><CODE>excludedURIs</CODE> - the finite set of namespace URI strings to exclude from the set, or null if this set is infinite<DD><CODE>includedURIs</CODE> - the finite set of namespace URI strings to include in the set, or null if this set is infinite<DD><CODE>excludedQNamesInIncludedURIs</CODE> - the finite set of exceptional QNames to exclude from the included namespaces</DL>
-<HR>
-
-<A NAME="QNameSetBuilder(java.lang.String, java.lang.String)"><!-- --></A><H3>
-QNameSetBuilder</H3>
-<PRE>
-public <B>QNameSetBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;str,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;targetURI)</PRE>
-<DL>
-<DD>Constructs a QNameSetBuilder whose initial contents are given
- as a list of namespace URIs, using the same format used by wildcards
- in XSD files.
-<P>
-<DT><B>Parameters:</B><DD><CODE>str</CODE> - a wildcard namespace specification string such as "##any",
-        "##other", "##local", "##targetNamespace", or a space-separated
-        list of URIs.<DD><CODE>targetURI</CODE> - the current targetNamespace</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="contains(javax.xml.namespace.QName)"><!-- --></A><H3>
-contains</H3>
-<PRE>
-public boolean <B>contains</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains the given qname.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#contains(javax.xml.namespace.QName)">contains</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAll()"><!-- --></A><H3>
-isAll</H3>
-<PRE>
-public boolean <B>isAll</B>()</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains all QNames.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isAll()">isAll</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEmpty()"><!-- --></A><H3>
-isEmpty</H3>
-<PRE>
-public boolean <B>isEmpty</B>()</PRE>
-<DL>
-<DD>True if this ModelTransitionSet contains no QNames.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isEmpty()">isEmpty</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intersect(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-intersect</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>intersect</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the intersection of this one and another.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#intersect(org.apache.xmlbeans.QNameSetSpecification)">intersect</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="union(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-union</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>union</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the union of this one and another.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#union(org.apache.xmlbeans.QNameSetSpecification)">union</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="inverse()"><!-- --></A><H3>
-inverse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>inverse</B>()</PRE>
-<DL>
-<DD>Returns a new QNameSet that is the inverse of this one.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#inverse()">inverse</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="containsAll(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-containsAll</H3>
-<PRE>
-public boolean <B>containsAll</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if the parameter is a subset of this set.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)">containsAll</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-isDisjoint</H3>
-<PRE>
-public boolean <B>isDisjoint</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if the given set is disjoint from this one.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)">isDisjoint</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clear()"><!-- --></A><H3>
-clear</H3>
-<PRE>
-public void <B>clear</B>()</PRE>
-<DL>
-<DD>Clears this QNameSetBuilder
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="invert()"><!-- --></A><H3>
-invert</H3>
-<PRE>
-public void <B>invert</B>()</PRE>
-<DL>
-<DD>Inverts this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="add(javax.xml.namespace.QName)"><!-- --></A><H3>
-add</H3>
-<PRE>
-public void <B>add</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;qname)</PRE>
-<DL>
-<DD>Adds a single QName to this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addNamespace(java.lang.String)"><!-- --></A><H3>
-addNamespace</H3>
-<PRE>
-public void <B>addNamespace</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</PRE>
-<DL>
-<DD>Adds an entire namespace URI of QNames to this QNameSetBuilder.
- The empty string is used to signifiy the (local) no-namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addAll(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-addAll</H3>
-<PRE>
-public void <B>addAll</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Adds the contents of another QNameSet to this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="remove(javax.xml.namespace.QName)"><!-- --></A><H3>
-remove</H3>
-<PRE>
-public void <B>remove</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;qname)</PRE>
-<DL>
-<DD>Removes the given qname from this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeNamespace(java.lang.String)"><!-- --></A><H3>
-removeNamespace</H3>
-<PRE>
-public void <B>removeNamespace</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</PRE>
-<DL>
-<DD>Removes an entire namespace URI from this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeAll(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-removeAll</H3>
-<PRE>
-public void <B>removeAll</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Removes all contents of a given QNameSet from this QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="restrict(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-restrict</H3>
-<PRE>
-public void <B>restrict</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Restricts the contents of this QNameSetBuilder to be a subset of the
- given QNameSet. In other words, computes an intersection.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedURIs()"><!-- --></A><H3>
-excludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedURIs</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></B></DD>
-<DD>The finite set of namespace URIs that are almost completely excluded from
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions). Null if the set of namespaceURIs
- that are almost completely included is infinite.
- <p>
- Null (meaning almost all URIs excluded) if includedURIs() is non-null;
- non-null otherwise.
- <p>
- The same set as inverse().includedURIs().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedURIs()">excludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedURIs()"><!-- --></A><H3>
-includedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedURIs</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></B></DD>
-<DD>The finite set of namespace URIs that are almost completely included in
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions). Null if the set of namespaceURIs
- that are almost completely included is infinite.
- <p>
- Null (meaning almost all URIs included) if excludedURIs() is non-null;
- non-null otherwise.
- <p>
- The same as inverse.excludedURIs().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedURIs()">includedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedQNamesInIncludedURIs()"><!-- --></A><H3>
-excludedQNamesInIncludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedQNamesInIncludedURIs</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></B></DD>
-<DD>The finite set of QNames that are excluded from the set within namespaces
- that are otherwise included. Should only contain QNames within namespace
- that are within the set includedURIs() (or any URI, if includedURIs()
- is null, which means that all URIs are almost completely included).
- <p>
- Never null.
- <p>
- The same set as inverse().includedQNames().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedQNamesInIncludedURIs()">excludedQNamesInIncludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedQNamesInExcludedURIs()"><!-- --></A><H3>
-includedQNamesInExcludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedQNamesInExcludedURIs</B>()</PRE>
-<DL>
-<DD><B>Description copied from interface: <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></B></DD>
-<DD>The finite set of QNames that are included in the set within namespaces
- that are otherwise excluded. Should only contain QNames within namespace
- that are within the set excludedURIs() (or any URI, if excludedURIs()
- is null, which means that all URIs are almost completely excluded).
- <p>
- Never null.
- <p>
- The same as inverse().excludedQNames().
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedQNamesInExcludedURIs()">includedQNamesInExcludedURIs</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Returns a string representation useful for debugging, subject to change.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toQNameSet()"><!-- --></A><H3>
-toQNameSet</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>toQNameSet</B>()</PRE>
-<DL>
-<DD>Returns a <A HREF="../../../org/apache/xmlbeans/QNameSet.html"><CODE>QNameSet</CODE></A> equivalent to the current state of this
- QNameSetBuilder.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSetBuilder.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetSpecification.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetSpecification.html
deleted file mode 100644
index e527ba3..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/QNameSetSpecification.html
+++ /dev/null
@@ -1,488 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-QNameSetSpecification (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.QNameSetSpecification,QNameSetSpecification interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="QNameSetSpecification (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSetSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface QNameSetSpecification</H2>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A>, <A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html">QNameSetBuilder</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>QNameSetSpecification</B></DL>
-
-<P>
-Represents a lattice of finite and infinite sets of QNames.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/QNameSet.html"><CODE>QNameSet</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#contains(javax.xml.namespace.QName)">contains</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the set contains the given QName.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#containsAll(org.apache.xmlbeans.QNameSetSpecification)">containsAll</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the parameter is a subset of this set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedQNamesInIncludedURIs()">excludedQNamesInIncludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of QNames that are excluded from the set within namespaces
- that are otherwise included.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#excludedURIs()">excludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of namespace URIs that are almost completely excluded from
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedQNamesInExcludedURIs()">includedQNamesInExcludedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of QNames that are included in the set within namespaces
- that are otherwise excluded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#includedURIs()">includedURIs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The finite set of namespace URIs that are almost completely included in
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#intersect(org.apache.xmlbeans.QNameSetSpecification)">intersect</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection with another QNameSet.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#inverse()">inverse</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the inverse of this QNameSet.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isAll()">isAll</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the set is the set of all QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isDisjoint(org.apache.xmlbeans.QNameSetSpecification)">isDisjoint</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is disjoint from the specified set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#isEmpty()">isEmpty</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the set is empty.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html#union(org.apache.xmlbeans.QNameSetSpecification)">union</A></B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the union with another QNameSet.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="contains(javax.xml.namespace.QName)"><!-- --></A><H3>
-contains</H3>
-<PRE>
-public boolean <B>contains</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>True if the set contains the given QName.
-
- Roughly equivalent to:
-    (includedURIs() == null ?
-           excludedURIs().contains(namespace) :
-           includedURIs().contains(namespace)
-    ) ?
-        !excludedQNamesInIncludedURIs().contains(name) :
-         includedQNamesInExcludedURIs().contains(name)
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAll()"><!-- --></A><H3>
-isAll</H3>
-<PRE>
-public boolean <B>isAll</B>()</PRE>
-<DL>
-<DD>True if the set is the set of all QNames.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEmpty()"><!-- --></A><H3>
-isEmpty</H3>
-<PRE>
-public boolean <B>isEmpty</B>()</PRE>
-<DL>
-<DD>True if the set is empty.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="containsAll(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-containsAll</H3>
-<PRE>
-public boolean <B>containsAll</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if the parameter is a subset of this set.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDisjoint(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-isDisjoint</H3>
-<PRE>
-public boolean <B>isDisjoint</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>True if is disjoint from the specified set.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intersect(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-intersect</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>intersect</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns the intersection with another QNameSet.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="union(org.apache.xmlbeans.QNameSetSpecification)"><!-- --></A><H3>
-union</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>union</B>(<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>&nbsp;set)</PRE>
-<DL>
-<DD>Returns the union with another QNameSet.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="inverse()"><!-- --></A><H3>
-inverse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>inverse</B>()</PRE>
-<DL>
-<DD>Return the inverse of this QNameSet. That is the QNameSet which
- contains all the QNames not contained in this set. In other words
- for which set.contains(name) != set.inverse().contains(name) for
- all names.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedURIs()"><!-- --></A><H3>
-excludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedURIs</B>()</PRE>
-<DL>
-<DD>The finite set of namespace URIs that are almost completely excluded from
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions). Null if the set of namespaceURIs
- that are almost completely included is infinite.
- <p>
- Null (meaning almost all URIs excluded) if includedURIs() is non-null;
- non-null otherwise.
- <p>
- The same set as inverse().includedURIs().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedURIs()"><!-- --></A><H3>
-includedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedURIs</B>()</PRE>
-<DL>
-<DD>The finite set of namespace URIs that are almost completely included in
- the set (that is, each namespace URI that included in the set with with
- a finite number of QName exceptions). Null if the set of namespaceURIs
- that are almost completely included is infinite.
- <p>
- Null (meaning almost all URIs included) if excludedURIs() is non-null;
- non-null otherwise.
- <p>
- The same as inverse.excludedURIs().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="excludedQNamesInIncludedURIs()"><!-- --></A><H3>
-excludedQNamesInIncludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>excludedQNamesInIncludedURIs</B>()</PRE>
-<DL>
-<DD>The finite set of QNames that are excluded from the set within namespaces
- that are otherwise included. Should only contain QNames within namespace
- that are within the set includedURIs() (or any URI, if includedURIs()
- is null, which means that all URIs are almost completely included).
- <p>
- Never null.
- <p>
- The same set as inverse().includedQNames().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="includedQNamesInExcludedURIs()"><!-- --></A><H3>
-includedQNamesInExcludedURIs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>includedQNamesInExcludedURIs</B>()</PRE>
-<DL>
-<DD>The finite set of QNames that are included in the set within namespaces
- that are otherwise excluded. Should only contain QNames within namespace
- that are within the set excludedURIs() (or any URI, if excludedURIs()
- is null, which means that all URIs are almost completely excluded).
- <p>
- Never null.
- <p>
- The same as inverse().excludedQNames().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="QNameSetSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.Ref.html
deleted file mode 100644
index faaac23..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaAttributeGroup.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaAttributeGroup.Ref,SchemaAttributeGroup.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaAttributeGroup.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeGroup.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaAttributeGroup.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaAttributeGroup.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaAttributeGroup.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of attribute groups.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaAttributeGroup)">SchemaAttributeGroup.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>&nbsp;attributeGroup)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaAttributeGroup.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaAttributeGroup)"><!-- --></A><H3>
-SchemaAttributeGroup.Ref</H3>
-<PRE>
-public <B>SchemaAttributeGroup.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>&nbsp;attributeGroup)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaAttributeGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaAttributeGroup.Ref</H3>
-<PRE>
-public <B>SchemaAttributeGroup.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeGroup.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.html
deleted file mode 100644
index 1609746..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeGroup.html
+++ /dev/null
@@ -1,294 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaAttributeGroup (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaAttributeGroup,SchemaAttributeGroup interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaAttributeGroup (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeGroup.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaAttributeGroup</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaAttributeGroup</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents an attribute group.
- <p>
- An attribute group is a syntactic construct, not a part
- of the logical model. For example, types declared within an
- attribute group become local to the type that uses the group -
- they're not local to the attribute group itself. Therefore
- in the logical model of a schema type system, an attribute
- group doesn't represent anything. Its contents are merged
- into the logical model at parse time.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroup(javax.xml.namespace.QName)"><CODE>SchemaTypeLoader.findAttributeGroup(javax.xml.namespace.QName)</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of attribute groups.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns SchemaComponent.ATTRIBUTE_GROUP.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the model group.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public int <B>getComponentType</B>()</PRE>
-<DL>
-<DD>Returns SchemaComponent.ATTRIBUTE_GROUP.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>The name of the model group.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeGroup.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeModel.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeModel.html
deleted file mode 100644
index 5d26b6f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaAttributeModel.html
+++ /dev/null
@@ -1,364 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaAttributeModel (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaAttributeModel,SchemaAttributeModel interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaAttributeModel (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeModel.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaAttributeModel</H2>
-<HR>
-<DL>
-<DT>public interface <B>SchemaAttributeModel</B></DL>
-
-<P>
-Represents the attribute structure allowed on a complex type.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeModel()"><CODE>SchemaType.getAttributeModel()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#LAX">LAX</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lax wildcard processing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#NONE">NONE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;See <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#SKIP">SKIP</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skip wildcard processing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#STRICT">STRICT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Strict wildcard processing.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getAttribute(javax.xml.namespace.QName)">getAttribute</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute with the given name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getAttributes()">getAttributes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing all the attributes in the model.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()">getWildcardProcess</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the processing code (<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#STRICT"><CODE>STRICT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#LAX"><CODE>LAX</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#SKIP"><CODE>SKIP</CODE></A>).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardSet()">getWildcardSet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QNameSet representing the attribute wildcard specification.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="NONE"><!-- --></A><H3>
-NONE</H3>
-<PRE>
-public static final int <B>NONE</B></PRE>
-<DL>
-<DD>See <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaAttributeModel.NONE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="STRICT"><!-- --></A><H3>
-STRICT</H3>
-<PRE>
-public static final int <B>STRICT</B></PRE>
-<DL>
-<DD>Strict wildcard processing. See <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaAttributeModel.STRICT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LAX"><!-- --></A><H3>
-LAX</H3>
-<PRE>
-public static final int <B>LAX</B></PRE>
-<DL>
-<DD>Lax wildcard processing. See <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaAttributeModel.LAX">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SKIP"><!-- --></A><H3>
-SKIP</H3>
-<PRE>
-public static final int <B>SKIP</B></PRE>
-<DL>
-<DD>Skip wildcard processing. See <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaAttributeModel.SKIP">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getAttributes()"><!-- --></A><H3>
-getAttributes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>[] <B>getAttributes</B>()</PRE>
-<DL>
-<DD>Returns an array containing all the attributes in the model.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttribute(javax.xml.namespace.QName)"><!-- --></A><H3>
-getAttribute</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A> <B>getAttribute</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the attribute with the given name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getWildcardSet()"><!-- --></A><H3>
-getWildcardSet</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>getWildcardSet</B>()</PRE>
-<DL>
-<DD>QNameSet representing the attribute wildcard specification.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getWildcardProcess()"><!-- --></A><H3>
-getWildcardProcess</H3>
-<PRE>
-public int <B>getWildcardProcess</B>()</PRE>
-<DL>
-<DD>Returns the processing code (<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#STRICT"><CODE>STRICT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#LAX"><CODE>LAX</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#SKIP"><CODE>SKIP</CODE></A>).
- Returns 0 (<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html#NONE"><CODE>NONE</CODE></A>) if no wildcard specified.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaAttributeModel.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.Ref.html
deleted file mode 100644
index 41f8e5b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.Ref.html
+++ /dev/null
@@ -1,340 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaComponent.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaComponent.Ref,SchemaComponent.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaComponent.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaComponent.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaComponent.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.SchemaComponent.Ref</B>
-</PRE>
-<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A>, <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A>, <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></DD>
-</DL>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public abstract static class <B>SchemaComponent.Ref</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A lazy reference to a component. Used by SchemaTypeLoaders to
- avoid loading components until they are actually needed.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected </CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#SchemaComponent.Ref(org.apache.xmlbeans.SchemaComponent)">SchemaComponent.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>&nbsp;schemaComponent)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected </CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#SchemaComponent.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaComponent.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;schemaTypeSystem,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>abstract &nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="_handle"><!-- --></A><H3>
-_handle</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>_handle</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaComponent.Ref(org.apache.xmlbeans.SchemaComponent)"><!-- --></A><H3>
-SchemaComponent.Ref</H3>
-<PRE>
-protected <B>SchemaComponent.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>&nbsp;schemaComponent)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaComponent.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaComponent.Ref</H3>
-<PRE>
-protected <B>SchemaComponent.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;schemaTypeSystem,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public abstract int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTypeSystem()"><!-- --></A><H3>
-getTypeSystem</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A> <B>getTypeSystem</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getComponent()"><!-- --></A><H3>
-getComponent</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A> <B>getComponent</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaComponent.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.html
deleted file mode 100644
index 984dde0..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaComponent.html
+++ /dev/null
@@ -1,456 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaComponent (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaComponent,SchemaComponent interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaComponent (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaField.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaComponent.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaComponent</H2>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>, <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>, <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaComponent</B></DL>
-
-<P>
-Represents a global Schema Component.  That is, a type, element, attribute,
- model group, attribute group, or identity constraint.
- <p>
- Note that not all types, elements, and attributes are global; local
- types, element, and attributes do not appear in the global lookup table.
- Also note that other information items such as particles, facets, and
- so on are not globally indexed, so are not SchemaComponents.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><CODE>SchemaGlobalElement</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><CODE>SchemaGlobalAttribute</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><CODE>SchemaAttributeGroup</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><CODE>SchemaModelGroup</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><CODE>SchemaIdentityConstraint</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A lazy reference to a component.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An attribute definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An attribute group definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An element definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An identity constraint definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A model group definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A notation definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A type definition.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading of schema components.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type code for the schema object, either <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE"><CODE>TYPE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT"><CODE>ELEMENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE"><CODE>ATTRIBUTE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP"><CODE>ATTRIBUTE_GROUP</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP"><CODE>MODEL_GROUP</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT"><CODE>IDENTITY_CONSTRAINT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION"><CODE>NOTATION</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the schema component</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the typesystem within which this component definition resides</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="TYPE"><!-- --></A><H3>
-TYPE</H3>
-<PRE>
-public static final int <B>TYPE</B></PRE>
-<DL>
-<DD>A type definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ELEMENT"><!-- --></A><H3>
-ELEMENT</H3>
-<PRE>
-public static final int <B>ELEMENT</B></PRE>
-<DL>
-<DD>An element definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ATTRIBUTE"><!-- --></A><H3>
-ATTRIBUTE</H3>
-<PRE>
-public static final int <B>ATTRIBUTE</B></PRE>
-<DL>
-<DD>An attribute definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.ATTRIBUTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ATTRIBUTE_GROUP"><!-- --></A><H3>
-ATTRIBUTE_GROUP</H3>
-<PRE>
-public static final int <B>ATTRIBUTE_GROUP</B></PRE>
-<DL>
-<DD>An attribute group definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.ATTRIBUTE_GROUP">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="IDENTITY_CONSTRAINT"><!-- --></A><H3>
-IDENTITY_CONSTRAINT</H3>
-<PRE>
-public static final int <B>IDENTITY_CONSTRAINT</B></PRE>
-<DL>
-<DD>An identity constraint definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.IDENTITY_CONSTRAINT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="MODEL_GROUP"><!-- --></A><H3>
-MODEL_GROUP</H3>
-<PRE>
-public static final int <B>MODEL_GROUP</B></PRE>
-<DL>
-<DD>A model group definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.MODEL_GROUP">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOTATION"><!-- --></A><H3>
-NOTATION</H3>
-<PRE>
-public static final int <B>NOTATION</B></PRE>
-<DL>
-<DD>A notation definition.  See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()"><CODE>getComponentType()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaComponent.NOTATION">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public int <B>getComponentType</B>()</PRE>
-<DL>
-<DD>Returns the type code for the schema object, either <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE"><CODE>TYPE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT"><CODE>ELEMENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE"><CODE>ATTRIBUTE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP"><CODE>ATTRIBUTE_GROUP</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP"><CODE>MODEL_GROUP</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT"><CODE>IDENTITY_CONSTRAINT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION"><CODE>NOTATION</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTypeSystem()"><!-- --></A><H3>
-getTypeSystem</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A> <B>getTypeSystem</B>()</PRE>
-<DL>
-<DD>Returns the typesystem within which this component definition resides
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>The name of the schema component
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getComponentRef()"><!-- --></A><H3>
-getComponentRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A> <B>getComponentRef</B>()</PRE>
-<DL>
-<DD>Used for on-demand loading of schema components.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaField.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaComponent.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaField.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaField.html
deleted file mode 100644
index 5f7adc8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaField.html
+++ /dev/null
@@ -1,405 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaField (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaField,SchemaField interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaField (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaField.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaField</H2>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaField</B></DL>
-
-<P>
-Represents an element or an attribute declaration.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContainerField()"><CODE>SchemaType.getContainerField()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><CODE>SchemaLocalElement</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><CODE>SchemaLocalAttribute</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultText()">getDefaultText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default value as plain text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default value as a strongly-typed value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMaxOccurs()">getMaxOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maxOccurs value for this particle, or null if it
- is unbounded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMinOccurs()">getMinOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minOccurs value for this particle.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the form-unqualified-or-qualified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getType()">getType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of this use.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#isAttribute()">isAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this use is an attribute</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()">isDefault</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if a default is supplied.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()">isFixed</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the value is fixed.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaField.html#isNillable()">isNillable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if nillable; always false for attributes.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>Returns the form-unqualified-or-qualified name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttribute()"><!-- --></A><H3>
-isAttribute</H3>
-<PRE>
-public boolean <B>isAttribute</B>()</PRE>
-<DL>
-<DD>True if this use is an attribute
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNillable()"><!-- --></A><H3>
-isNillable</H3>
-<PRE>
-public boolean <B>isNillable</B>()</PRE>
-<DL>
-<DD>True if nillable; always false for attributes.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getType()"><!-- --></A><H3>
-getType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getType</B>()</PRE>
-<DL>
-<DD>Returns the type of this use.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinOccurs()"><!-- --></A><H3>
-getMinOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMinOccurs</B>()</PRE>
-<DL>
-<DD>Returns the minOccurs value for this particle.
- If it is not specified explicitly, this defaults to BigInteger.ONE.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMaxOccurs()"><!-- --></A><H3>
-getMaxOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMaxOccurs</B>()</PRE>
-<DL>
-<DD>Returns the maxOccurs value for this particle, or null if it
- is unbounded.
- If it is not specified explicitly, this defaults to BigInteger.ONE.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultText()"><!-- --></A><H3>
-getDefaultText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDefaultText</B>()</PRE>
-<DL>
-<DD>The default value as plain text. See <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()"><CODE>isDefault()</CODE></A> and <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()"><CODE>isFixed()</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultValue()"><!-- --></A><H3>
-getDefaultValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>getDefaultValue</B>()</PRE>
-<DL>
-<DD>The default value as a strongly-typed value.  See <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()"><CODE>isDefault()</CODE></A> and <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()"><CODE>isFixed()</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDefault()"><!-- --></A><H3>
-isDefault</H3>
-<PRE>
-public boolean <B>isDefault</B>()</PRE>
-<DL>
-<DD>True if a default is supplied. If <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()"><CODE>isFixed()</CODE></A>, then isDefault is always true.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFixed()"><!-- --></A><H3>
-isFixed</H3>
-<PRE>
-public boolean <B>isFixed</B>()</PRE>
-<DL>
-<DD>True if the value is fixed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaField.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html
deleted file mode 100644
index 7cfb771..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaGlobalAttribute.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaGlobalAttribute.Ref,SchemaGlobalAttribute.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaGlobalAttribute.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalAttribute.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaGlobalAttribute.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaGlobalAttribute.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaGlobalAttribute.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of elements.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaGlobalAttribute)">SchemaGlobalAttribute.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>&nbsp;element)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaGlobalAttribute.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaGlobalAttribute)"><!-- --></A><H3>
-SchemaGlobalAttribute.Ref</H3>
-<PRE>
-public <B>SchemaGlobalAttribute.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>&nbsp;element)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaGlobalAttribute.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaGlobalAttribute.Ref</H3>
-<PRE>
-public <B>SchemaGlobalAttribute.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalAttribute.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.html
deleted file mode 100644
index 20041d4..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalAttribute.html
+++ /dev/null
@@ -1,313 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaGlobalAttribute (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaGlobalAttribute,SchemaGlobalAttribute interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaGlobalAttribute (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaField.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalAttribute.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaGlobalAttribute</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaGlobalAttribute</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents a global attribute definition
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttribute(javax.xml.namespace.QName)"><CODE>SchemaTypeLoader.findAttribute(javax.xml.namespace.QName)</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of elements.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaLocalAttribute"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL">OPTIONAL</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED">PROHIBITED</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED">REQUIRED</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html#getRef()">getRef</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retruns a SchemaGlobalElement.Ref pointing to this element itself.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html#getSourceName()">getSourceName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the source .xsd file within which this attribute was defined</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaLocalAttribute"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()">getUse</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaField"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultText()">getDefaultText</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultValue()">getDefaultValue</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMaxOccurs()">getMaxOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMinOccurs()">getMinOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getType()">getType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isAttribute()">isAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()">isDefault</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()">isFixed</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isNillable()">isNillable</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getSourceName()"><!-- --></A><H3>
-getSourceName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSourceName</B>()</PRE>
-<DL>
-<DD>The name of the source .xsd file within which this attribute was defined
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getRef()"><!-- --></A><H3>
-getRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A> <B>getRef</B>()</PRE>
-<DL>
-<DD>Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaField.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalAttribute.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.Ref.html
deleted file mode 100644
index f659bb5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaGlobalElement.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaGlobalElement.Ref,SchemaGlobalElement.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaGlobalElement.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalElement.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaGlobalElement.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaGlobalElement.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaGlobalElement.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of elements.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html#SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaGlobalElement)">SchemaGlobalElement.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>&nbsp;element)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html#SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaGlobalElement.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaGlobalElement)"><!-- --></A><H3>
-SchemaGlobalElement.Ref</H3>
-<PRE>
-public <B>SchemaGlobalElement.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>&nbsp;element)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaGlobalElement.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaGlobalElement.Ref</H3>
-<PRE>
-public <B>SchemaGlobalElement.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalElement.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.html
deleted file mode 100644
index f09675c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaGlobalElement.html
+++ /dev/null
@@ -1,418 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaGlobalElement (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaGlobalElement,SchemaGlobalElement interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaGlobalElement (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalElement.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaGlobalElement</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaGlobalElement</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents a global element definition.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findElement(javax.xml.namespace.QName)"><CODE>SchemaTypeLoader.findElement(javax.xml.namespace.QName)</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of elements.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#finalExtension()">finalExtension</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if using this element as the head of a substitution
- group for a substitution via type extension is prohibited.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#finalRestriction()">finalRestriction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if using this element as the head of a substitution
- group for a substitution via type restriction is prohibited.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#getRef()">getRef</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retruns a SchemaGlobalElement.Ref pointing to this element itself.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#getSourceName()">getSourceName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the source .xsd file within which this attribute was defined</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#substitutionGroup()">substitutionGroup</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The element that is the head of this element's substitution
- group, or <code>null</code> if this element is not a member
- of a substitution group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html#substitutionGroupMembers()">substitutionGroupMembers</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set of QNames for elements that are the members of the
- substitution group for which this element is the head,
- not including this element.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaLocalElement"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockExtension()">blockExtension</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockRestriction()">blockRestriction</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockSubstitution()">blockSubstitution</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#getIdentityConstraints()">getIdentityConstraints</A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#isAbstract()">isAbstract</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaField"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultText()">getDefaultText</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultValue()">getDefaultValue</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMaxOccurs()">getMaxOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMinOccurs()">getMinOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getType()">getType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isAttribute()">isAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()">isDefault</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()">isFixed</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isNillable()">isNillable</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getSourceName()"><!-- --></A><H3>
-getSourceName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSourceName</B>()</PRE>
-<DL>
-<DD>The name of the source .xsd file within which this attribute was defined
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="substitutionGroupMembers()"><!-- --></A><H3>
-substitutionGroupMembers</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[] <B>substitutionGroupMembers</B>()</PRE>
-<DL>
-<DD>Set of QNames for elements that are the members of the
- substitution group for which this element is the head,
- not including this element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="substitutionGroup()"><!-- --></A><H3>
-substitutionGroup</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A> <B>substitutionGroup</B>()</PRE>
-<DL>
-<DD>The element that is the head of this element's substitution
- group, or <code>null</code> if this element is not a member
- of a substitution group.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalExtension()"><!-- --></A><H3>
-finalExtension</H3>
-<PRE>
-public boolean <B>finalExtension</B>()</PRE>
-<DL>
-<DD>True if using this element as the head of a substitution
- group for a substitution via type extension is prohibited.
- If both finalExtension and finalRestriction are true, this
- element cannot be head of a substitution group.
- Sensible only for global elements.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalRestriction()"><!-- --></A><H3>
-finalRestriction</H3>
-<PRE>
-public boolean <B>finalRestriction</B>()</PRE>
-<DL>
-<DD>True if using this element as the head of a substitution
- group for a substitution via type restriction is prohibited.
- If both finalExtension and finalRestriction are true, this
- element cannot be head of a substitution group.
- Sensible only for global elements.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getRef()"><!-- --></A><H3>
-getRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A> <B>getRef</B>()</PRE>
-<DL>
-<DD>Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaGlobalElement.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html
deleted file mode 100644
index f371afc..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaIdentityConstraint.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaIdentityConstraint.Ref,SchemaIdentityConstraint.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaIdentityConstraint.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaIdentityConstraint.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaIdentityConstraint.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaIdentityConstraint.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaIdentityConstraint.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of identity constraints.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaIdentityConstraint)">SchemaIdentityConstraint.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>&nbsp;idc)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaIdentityConstraint.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaIdentityConstraint)"><!-- --></A><H3>
-SchemaIdentityConstraint.Ref</H3>
-<PRE>
-public <B>SchemaIdentityConstraint.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>&nbsp;idc)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaIdentityConstraint.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaIdentityConstraint.Ref</H3>
-<PRE>
-public <B>SchemaIdentityConstraint.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaIdentityConstraint.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.html
deleted file mode 100644
index 2f85d3d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaIdentityConstraint.html
+++ /dev/null
@@ -1,474 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaIdentityConstraint (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaIdentityConstraint,SchemaIdentityConstraint interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaIdentityConstraint (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaIdentityConstraint.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaIdentityConstraint</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaIdentityConstraint</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents an identity constraint definition.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of identity constraints.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEY">CC_KEY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:key</a> constraint.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEYREF">CC_KEYREF</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:keyRef</a> constraint.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_UNIQUE">CC_UNIQUE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:unique</a> constraint.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getConstraintCategory()">getConstraintCategory</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the constraint category.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getFieldPath(int)">getFieldPath</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a compiled xpath object for the field.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getFields()">getFields</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return (a copy of) the xpaths for all the fields.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getNSMap()">getNSMap</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a read-only copy of the namespace map.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getReferencedKey()">getReferencedKey</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the key that a key ref refers to.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getSelector()">getSelector</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the selector xpath as a string.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getSelectorPath()">getSelectorPath</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a compiled xpath object for the selector.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="CC_KEY"><!-- --></A><H3>
-CC_KEY</H3>
-<PRE>
-public static final int <B>CC_KEY</B></PRE>
-<DL>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:key</a> constraint.  See <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getConstraintCategory()"><CODE>getConstraintCategory()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaIdentityConstraint.CC_KEY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CC_KEYREF"><!-- --></A><H3>
-CC_KEYREF</H3>
-<PRE>
-public static final int <B>CC_KEYREF</B></PRE>
-<DL>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:keyRef</a> constraint.  See <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getConstraintCategory()"><CODE>getConstraintCategory()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaIdentityConstraint.CC_KEYREF">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CC_UNIQUE"><!-- --></A><H3>
-CC_UNIQUE</H3>
-<PRE>
-public static final int <B>CC_UNIQUE</B></PRE>
-<DL>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-key">xs:unique</a> constraint.  See <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#getConstraintCategory()"><CODE>getConstraintCategory()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaIdentityConstraint.CC_UNIQUE">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getSelector()"><!-- --></A><H3>
-getSelector</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSelector</B>()</PRE>
-<DL>
-<DD>Return the selector xpath as a string.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSelectorPath()"><!-- --></A><H3>
-getSelectorPath</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getSelectorPath</B>()</PRE>
-<DL>
-<DD>Return a compiled xpath object for the selector.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFields()"><!-- --></A><H3>
-getFields</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>[] <B>getFields</B>()</PRE>
-<DL>
-<DD>Return (a copy of) the xpaths for all the fields.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFieldPath(int)"><!-- --></A><H3>
-getFieldPath</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getFieldPath</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Return a compiled xpath object for the field.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getNSMap()"><!-- --></A><H3>
-getNSMap</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A> <B>getNSMap</B>()</PRE>
-<DL>
-<DD>Return a read-only copy of the namespace map. This is the 
- set of prefix to URI mappings that were in scope in the
- schema at the point at which this constraint was declared
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getConstraintCategory()"><!-- --></A><H3>
-getConstraintCategory</H3>
-<PRE>
-public int <B>getConstraintCategory</B>()</PRE>
-<DL>
-<DD>Return the constraint category. Either <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEY"><CODE>CC_KEY</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_KEYREF"><CODE>CC_KEYREF</CODE></A>,
- or <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html#CC_UNIQUE"><CODE>CC_UNIQUE</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getReferencedKey()"><!-- --></A><H3>
-getReferencedKey</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A> <B>getReferencedKey</B>()</PRE>
-<DL>
-<DD>Returns the key that a key ref refers to. Only valid for
- keyrefs.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaIdentityConstraint.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalAttribute.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalAttribute.html
deleted file mode 100644
index 87b46f1..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalAttribute.html
+++ /dev/null
@@ -1,300 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaLocalAttribute (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaLocalAttribute,SchemaLocalAttribute interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaLocalAttribute (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaLocalAttribute.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaLocalAttribute</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaLocalAttribute</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></DL>
-
-<P>
-Represents a local or global attribute definition.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL">OPTIONAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An optional attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED">PROHIBITED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A prohibited attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED">REQUIRED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A required attribute.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()">getUse</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED"><CODE>PROHIBITED</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL"><CODE>OPTIONAL</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED"><CODE>REQUIRED</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaField"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultText()">getDefaultText</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultValue()">getDefaultValue</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMaxOccurs()">getMaxOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMinOccurs()">getMinOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getType()">getType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isAttribute()">isAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()">isDefault</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()">isFixed</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isNillable()">isNillable</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="PROHIBITED"><!-- --></A><H3>
-PROHIBITED</H3>
-<PRE>
-public static final int <B>PROHIBITED</B></PRE>
-<DL>
-<DD>A prohibited attribute.  See <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()"><CODE>getUse()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaLocalAttribute.PROHIBITED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="OPTIONAL"><!-- --></A><H3>
-OPTIONAL</H3>
-<PRE>
-public static final int <B>OPTIONAL</B></PRE>
-<DL>
-<DD>An optional attribute.  See <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()"><CODE>getUse()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaLocalAttribute.OPTIONAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="REQUIRED"><!-- --></A><H3>
-REQUIRED</H3>
-<PRE>
-public static final int <B>REQUIRED</B></PRE>
-<DL>
-<DD>A required attribute.  See <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#getUse()"><CODE>getUse()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaLocalAttribute.REQUIRED">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getUse()"><!-- --></A><H3>
-getUse</H3>
-<PRE>
-public int <B>getUse</B>()</PRE>
-<DL>
-<DD>Returns <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#PROHIBITED"><CODE>PROHIBITED</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#OPTIONAL"><CODE>OPTIONAL</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html#REQUIRED"><CODE>REQUIRED</CODE></A>.
- (Actually, never returns PROHIBITED because the schema specificaion
- states that a prohibited attribute is equivalent to no attribute
- at all, so a prohibited attribute will never be present in the compiled
- model.)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaLocalAttribute.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalElement.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalElement.html
deleted file mode 100644
index ef2a256..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaLocalElement.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaLocalElement (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaLocalElement,SchemaLocalElement interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaLocalElement (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaLocalElement.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaLocalElement</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaLocalElement</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></DL>
-
-<P>
-Represents a local or global element definition.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockExtension()">blockExtension</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if extension is blocked.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockRestriction()">blockRestriction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if restriction is blocked.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#blockSubstitution()">blockSubstitution</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if element substitution is blocked.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#getIdentityConstraints()">getIdentityConstraints</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the Key, KeyRef, and Unique constraints
- on this element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html#isAbstract()">isAbstract</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this element is prohibited in content.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaField"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultText()">getDefaultText</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getDefaultValue()">getDefaultValue</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMaxOccurs()">getMaxOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getMinOccurs()">getMinOccurs</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getName()">getName</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#getType()">getType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isAttribute()">isAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isDefault()">isDefault</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isFixed()">isFixed</A>, <A HREF="../../../org/apache/xmlbeans/SchemaField.html#isNillable()">isNillable</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="blockExtension()"><!-- --></A><H3>
-blockExtension</H3>
-<PRE>
-public boolean <B>blockExtension</B>()</PRE>
-<DL>
-<DD>True if extension is blocked.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="blockRestriction()"><!-- --></A><H3>
-blockRestriction</H3>
-<PRE>
-public boolean <B>blockRestriction</B>()</PRE>
-<DL>
-<DD>True if restriction is blocked.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="blockSubstitution()"><!-- --></A><H3>
-blockSubstitution</H3>
-<PRE>
-public boolean <B>blockSubstitution</B>()</PRE>
-<DL>
-<DD>True if element substitution is blocked.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAbstract()"><!-- --></A><H3>
-isAbstract</H3>
-<PRE>
-public boolean <B>isAbstract</B>()</PRE>
-<DL>
-<DD>True if this element is prohibited in content. Only
- sensible if this is the head of a substitution group;
- then only substitution group members can appear.<P>
- 
- Although local elements cannot be abstract, if an element 
- use is a ref to a global element, then the flag from the 
- global element is copied in to the local element where the 
- use occurs.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIdentityConstraints()"><!-- --></A><H3>
-getIdentityConstraints</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html">SchemaIdentityConstraint</A>[] <B>getIdentityConstraints</B>()</PRE>
-<DL>
-<DD>Returns all the Key, KeyRef, and Unique constraints
- on this element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaLocalElement.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.Ref.html
deleted file mode 100644
index 848e185..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaModelGroup.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaModelGroup.Ref,SchemaModelGroup.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaModelGroup.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaModelGroup.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaModelGroup.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaModelGroup.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaModelGroup.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of model groups.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html#SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaModelGroup)">SchemaModelGroup.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>&nbsp;modelGroup)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html#SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaModelGroup.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaModelGroup)"><!-- --></A><H3>
-SchemaModelGroup.Ref</H3>
-<PRE>
-public <B>SchemaModelGroup.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>&nbsp;modelGroup)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaModelGroup.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaModelGroup.Ref</H3>
-<PRE>
-public <B>SchemaModelGroup.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaModelGroup.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.html
deleted file mode 100644
index 2ebfddd..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaModelGroup.html
+++ /dev/null
@@ -1,292 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaModelGroup (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaModelGroup,SchemaModelGroup interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaModelGroup (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaModelGroup.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaModelGroup</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaModelGroup</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents a model group.
- <p>
- A model group is a syntactic construct, not a part of
- the logical model. For example, types declared within a
- model group become local to the type that uses the group -
- they're not local to the model group itself. Therefore in
- the logical model of a schema type system, a model group
- doesn't represent anything. Its contents are merged into
- the logical model at parse time.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of model groups.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns SchemaComponent.GROUP.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the model group.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public int <B>getComponentType</B>()</PRE>
-<DL>
-<DD>Returns SchemaComponent.GROUP.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>The name of the model group.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaModelGroup.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaParticle.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaParticle.html
deleted file mode 100644
index 9ad63d2..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaParticle.html
+++ /dev/null
@@ -1,847 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaParticle (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaParticle,SchemaParticle interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaParticle (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaParticle.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaParticle</H2>
-<HR>
-<DL>
-<DT>public interface <B>SchemaParticle</B></DL>
-
-<P>
-Represents a Schema particle definition.
- <p>
- The content model of a complex type is a tree of particles.  Each
- particle is either an <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ALL"><CODE>ALL</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#CHOICE"><CODE>CHOICE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SEQUENCE"><CODE>SEQUENCE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ELEMENT"><CODE>ELEMENT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#WILDCARD"><CODE>WILDCARD</CODE></A>.
- All, choice and sequence particles are groups that can have child
- particles; elements and wildcards are always leaves of the particle tree.
- <p>
- The tree of particles available on a schema type is minimized, that
- is, it already has removed "pointless" particles such as empty
- sequences, nonrepeating sequences with only one item, and so on.
- (<a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict">Pointless particles</a>
- are defined precisely in the XML Schema specification.)
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentModel()"><CODE>SchemaType.getContentModel()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ALL">ALL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:all</a> group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#CHOICE">CHOICE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:choice</a> group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ELEMENT">ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-element">xs:element</a> particle.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#LAX">LAX</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Lax wildcard</a> processing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SEQUENCE">SEQUENCE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:sequence</a> group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SKIP">SKIP</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Skip wildcard</a> processing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#STRICT">STRICT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Strict wildcard</a> processing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#WILDCARD">WILDCARD</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-openness">xs:any</a> particle,
- also known as an element wildcard.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#acceptedStartNames()">acceptedStartNames</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the QNameSet of element names that can be
- accepted at the beginning of this particle.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#canStartWithElement(javax.xml.namespace.QName)">canStartWithElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this particle can start with the given element
- (taking into account the structure of all child particles
- of course).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#countOfParticleChild()">countOfParticleChild</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of children.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getDefaultText()">getDefaultText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: returns the default (or fixed) text value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: returns the default (or fixed) strongly-typed value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getIntMaxOccurs()">getIntMaxOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maxOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getIntMinOccurs()">getIntMinOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getMaxOccurs()">getMaxOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maxOccurs value for this particle, or null if it
- is unbounded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getMinOccurs()">getMinOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minOccurs value for this particle.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: the QName for the element use.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleChild(int)">getParticleChild</A></B>(int&nbsp;i)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Another way to access the particle children.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleChildren()">getParticleChildren</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies to sequence, choice, and all particles only: returns an array
- of all the particle children in order.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()">getParticleType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the particle type (<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ALL"><CODE>ALL</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#CHOICE"><CODE>CHOICE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SEQUENCE"><CODE>SEQUENCE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ELEMENT"><CODE>ELEMENT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#WILDCARD"><CODE>WILDCARD</CODE></A>).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getType()">getType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: returns the type of the element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getWildcardProcess()">getWildcardProcess</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For wildcards, returns the processing code (<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#STRICT"><CODE>STRICT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#LAX"><CODE>LAX</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SKIP"><CODE>SKIP</CODE></A>).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getWildcardSet()">getWildcardSet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For wildcards, returns a QNameSet representing the wildcard.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#isDefault()">isDefault</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: True if has default.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#isFixed()">isFixed</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: true if is fixed value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#isNillable()">isNillable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements only: true if nillable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#isSingleton()">isSingleton</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;One if minOccurs == maxOccurs == 1.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#isSkippable()">isSkippable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this particle can be skipped (taking into account
- both the minOcurs as well as the structure of all the
- child particles)</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="ALL"><!-- --></A><H3>
-ALL</H3>
-<PRE>
-public static final int <B>ALL</B></PRE>
-<DL>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:all</a> group.
- See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><CODE>getParticleType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.ALL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CHOICE"><!-- --></A><H3>
-CHOICE</H3>
-<PRE>
-public static final int <B>CHOICE</B></PRE>
-<DL>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:choice</a> group.
- See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><CODE>getParticleType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.CHOICE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SEQUENCE"><!-- --></A><H3>
-SEQUENCE</H3>
-<PRE>
-public static final int <B>SEQUENCE</B></PRE>
-<DL>
-<DD>A <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-contentModel">xs:sequence</a> group.
- See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><CODE>getParticleType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.SEQUENCE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ELEMENT"><!-- --></A><H3>
-ELEMENT</H3>
-<PRE>
-public static final int <B>ELEMENT</B></PRE>
-<DL>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-element">xs:element</a> particle.
- This code means the particle can be coerced to <A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><CODE>SchemaLocalElement</CODE></A>.
- See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><CODE>getParticleType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WILDCARD"><!-- --></A><H3>
-WILDCARD</H3>
-<PRE>
-public static final int <B>WILDCARD</B></PRE>
-<DL>
-<DD>An <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#declare-openness">xs:any</a> particle,
- also known as an element wildcard.
- See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getParticleType()"><CODE>getParticleType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.WILDCARD">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="STRICT"><!-- --></A><H3>
-STRICT</H3>
-<PRE>
-public static final int <B>STRICT</B></PRE>
-<DL>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Strict wildcard</a> processing. See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.STRICT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LAX"><!-- --></A><H3>
-LAX</H3>
-<PRE>
-public static final int <B>LAX</B></PRE>
-<DL>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Lax wildcard</a> processing. See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.LAX">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SKIP"><!-- --></A><H3>
-SKIP</H3>
-<PRE>
-public static final int <B>SKIP</B></PRE>
-<DL>
-<DD><a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">Skip wildcard</a> processing. See <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#getWildcardProcess()"><CODE>getWildcardProcess()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaParticle.SKIP">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getParticleType()"><!-- --></A><H3>
-getParticleType</H3>
-<PRE>
-public int <B>getParticleType</B>()</PRE>
-<DL>
-<DD>Returns the particle type (<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ALL"><CODE>ALL</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#CHOICE"><CODE>CHOICE</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SEQUENCE"><CODE>SEQUENCE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#ELEMENT"><CODE>ELEMENT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#WILDCARD"><CODE>WILDCARD</CODE></A>).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinOccurs()"><!-- --></A><H3>
-getMinOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMinOccurs</B>()</PRE>
-<DL>
-<DD>Returns the minOccurs value for this particle.
- If it's not specified explicitly, this returns BigInteger.ONE.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMaxOccurs()"><!-- --></A><H3>
-getMaxOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMaxOccurs</B>()</PRE>
-<DL>
-<DD>Returns the maxOccurs value for this particle, or null if it
- is unbounded.
- If it's not specified explicitly, this returns BigInteger.ONE.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntMinOccurs()"><!-- --></A><H3>
-getIntMinOccurs</H3>
-<PRE>
-public int <B>getIntMinOccurs</B>()</PRE>
-<DL>
-<DD>Returns the minOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntMaxOccurs()"><!-- --></A><H3>
-getIntMaxOccurs</H3>
-<PRE>
-public int <B>getIntMaxOccurs</B>()</PRE>
-<DL>
-<DD>Returns the maxOccurs value, pegged to a 32-bit int for
- convenience of a validating state machine that doesn't count
- higher than MAX_INT anyway. Unbounded is given as MAX_INT.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isSingleton()"><!-- --></A><H3>
-isSingleton</H3>
-<PRE>
-public boolean <B>isSingleton</B>()</PRE>
-<DL>
-<DD>One if minOccurs == maxOccurs == 1.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getParticleChildren()"><!-- --></A><H3>
-getParticleChildren</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A>[] <B>getParticleChildren</B>()</PRE>
-<DL>
-<DD>Applies to sequence, choice, and all particles only: returns an array
- of all the particle children in order.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getParticleChild(int)"><!-- --></A><H3>
-getParticleChild</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A> <B>getParticleChild</B>(int&nbsp;i)</PRE>
-<DL>
-<DD>Another way to access the particle children.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="countOfParticleChild()"><!-- --></A><H3>
-countOfParticleChild</H3>
-<PRE>
-public int <B>countOfParticleChild</B>()</PRE>
-<DL>
-<DD>The number of children.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="canStartWithElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-canStartWithElement</H3>
-<PRE>
-public boolean <B>canStartWithElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>True if this particle can start with the given element
- (taking into account the structure of all child particles
- of course).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="acceptedStartNames()"><!-- --></A><H3>
-acceptedStartNames</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>acceptedStartNames</B>()</PRE>
-<DL>
-<DD>Returns the QNameSet of element names that can be
- accepted at the beginning of this particle.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isSkippable()"><!-- --></A><H3>
-isSkippable</H3>
-<PRE>
-public boolean <B>isSkippable</B>()</PRE>
-<DL>
-<DD>True if this particle can be skipped (taking into account
- both the minOcurs as well as the structure of all the
- child particles)
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getWildcardSet()"><!-- --></A><H3>
-getWildcardSet</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>getWildcardSet</B>()</PRE>
-<DL>
-<DD>For wildcards, returns a QNameSet representing the wildcard.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getWildcardProcess()"><!-- --></A><H3>
-getWildcardProcess</H3>
-<PRE>
-public int <B>getWildcardProcess</B>()</PRE>
-<DL>
-<DD>For wildcards, returns the processing code (<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#STRICT"><CODE>STRICT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#LAX"><CODE>LAX</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html#SKIP"><CODE>SKIP</CODE></A>).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>For elements only: the QName for the element use.
- May be unqualified version of referenced element's name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getType()"><!-- --></A><H3>
-getType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getType</B>()</PRE>
-<DL>
-<DD>For elements only: returns the type of the element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNillable()"><!-- --></A><H3>
-isNillable</H3>
-<PRE>
-public boolean <B>isNillable</B>()</PRE>
-<DL>
-<DD>For elements only: true if nillable.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultText()"><!-- --></A><H3>
-getDefaultText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDefaultText</B>()</PRE>
-<DL>
-<DD>For elements only: returns the default (or fixed) text value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultValue()"><!-- --></A><H3>
-getDefaultValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>getDefaultValue</B>()</PRE>
-<DL>
-<DD>For elements only: returns the default (or fixed) strongly-typed value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDefault()"><!-- --></A><H3>
-isDefault</H3>
-<PRE>
-public boolean <B>isDefault</B>()</PRE>
-<DL>
-<DD>For elements only: True if has default. If isFixed, then isDefault is always true.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFixed()"><!-- --></A><H3>
-isFixed</H3>
-<PRE>
-public boolean <B>isFixed</B>()</PRE>
-<DL>
-<DD>For elements only: true if is fixed value.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaParticle.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaProperty.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaProperty.html
deleted file mode 100644
index eb5eb67..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaProperty.html
+++ /dev/null
@@ -1,1167 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaProperty (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaProperty,SchemaProperty interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaProperty (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaProperty.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaProperty</H2>
-<HR>
-<DL>
-<DT>public interface <B>SchemaProperty</B></DL>
-
-<P>
-Represents a summary of similar SchemaFields in a complex type.
- <p>
- In a schema type, every element with the same name must have the
- same type.  Therefore, all together, elements with the same name
- form a coherent collection of similar elements.  Similarly, attributes
- can only be defined once, so each attribute obviously is a coherent
- group on its own.
- <p>
- A SchemaProperty represents a summary of the the elements with a
- given name or the attribute with a given name.  It represents the
- summary cardinality of the fields, the summary default and fixed
- values, and so on.  When inferring information about an element
- or attribute, it is typically easier to consult then SchemaProperty
- than to hunt for the exact SchemaField in the particle tree or
- attribute model.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getProperties()"><CODE>SchemaType.getProperties()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeProperties()"><CODE>SchemaType.getAttributeProperties()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementProperties()"><CODE>SchemaType.getElementProperties()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeProperty(javax.xml.namespace.QName)"><CODE>SchemaType.getAttributeProperty(javax.xml.namespace.QName)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementProperty(javax.xml.namespace.QName)"><CODE>SchemaType.getElementProperty(javax.xml.namespace.QName)</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY">CONSISTENTLY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies to all elements for this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_DECIMAL">JAVA_BIG_DECIMAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_BIG_INTEGER">JAVA_BIG_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_BOOLEAN">JAVA_BOOLEAN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE">JAVA_BYTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_BYTE_ARRAY">JAVA_BYTE_ARRAY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A byte[].</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_CALENDAR">JAVA_CALENDAR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_DATE">JAVA_DATE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_DOUBLE">JAVA_DOUBLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_ENUM">JAVA_ENUM</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A generated <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A> subclass.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_FIRST_PRIMITIVE">JAVA_FIRST_PRIMITIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_FLOAT">JAVA_FLOAT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_GDATE">JAVA_GDATE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_GDURATION">JAVA_GDURATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_INT">JAVA_INT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_LAST_PRIMITIVE">JAVA_LAST_PRIMITIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_LIST">JAVA_LIST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_LONG">JAVA_LONG</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_OBJECT">JAVA_OBJECT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>, used for some simple type unions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_QNAME">JAVA_QNAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_SHORT">JAVA_SHORT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A Java short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#JAVA_STRING">JAVA_STRING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER">NEVER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies to no elements for this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE">VARIABLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies to some, but not other elements for this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#XML_OBJECT">XML_OBJECT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An XML Bean type that inherits from <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#acceptedNames()">acceptedNames</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For element properties the set of names that are accepted for this property
- if this element is the head of a substitution group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#extendsJavaArray()">extendsJavaArray</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there is a Java getter that returns an array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#extendsJavaOption()">extendsJavaOption</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there is an Java isSet method that tests for presence.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#extendsJavaSingleton()">extendsJavaSingleton</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there is a Java getter that returns a singleton.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getContainerType()">getContainerType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The type within which this property appears</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getDefaultText()">getDefaultText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default or fixed value,
- if it is consistent.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default or fixed value as a strongly-typed value,
- if it is consistent.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaPropertyName()">getJavaPropertyName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Java name for this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaSetterDelimiter()">getJavaSetterDelimiter</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the set of element names which should appear strictly after all
- occurences of the elements described by this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()">getJavaTypeCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the natural Java type for this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getMaxOccurs()">getMaxOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a summarized minimum occurrance number.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getMinOccurs()">getMinOccurs</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a summarized minimum occurrance number.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of this element or attribute</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getType()">getType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The schema type for the property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()">hasDefault</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> defaulted, depending on the
- defaults present in the elements in this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()">hasFixed</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> fixed, depending on the
- fixed constraints present in the elements in this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasNillable()">hasNillable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> nillable, depending on the
- nillability of the elements in this property.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#isAttribute()">isAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#isReadOnly()">isReadOnly</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for read-only properties.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#javaBasedOnType()">javaBasedOnType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The schema type returned from the Java getter for this property.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="NEVER"><!-- --></A><H3>
-NEVER</H3>
-<PRE>
-public static final int <B>NEVER</B></PRE>
-<DL>
-<DD>Applies to no elements for this property.  See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasNillable()"><CODE>hasNillable()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><CODE>hasDefault()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><CODE>hasFixed()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.NEVER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="VARIABLE"><!-- --></A><H3>
-VARIABLE</H3>
-<PRE>
-public static final int <B>VARIABLE</B></PRE>
-<DL>
-<DD>Applies to some, but not other elements for this property.  See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasNillable()"><CODE>hasNillable()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><CODE>hasDefault()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><CODE>hasFixed()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.VARIABLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CONSISTENTLY"><!-- --></A><H3>
-CONSISTENTLY</H3>
-<PRE>
-public static final int <B>CONSISTENTLY</B></PRE>
-<DL>
-<DD>Applies to all elements for this property.  See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasNillable()"><CODE>hasNillable()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><CODE>hasDefault()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><CODE>hasFixed()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.CONSISTENTLY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="XML_OBJECT"><!-- --></A><H3>
-XML_OBJECT</H3>
-<PRE>
-public static final int <B>XML_OBJECT</B></PRE>
-<DL>
-<DD>An XML Bean type that inherits from <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.XML_OBJECT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_FIRST_PRIMITIVE"><!-- --></A><H3>
-JAVA_FIRST_PRIMITIVE</H3>
-<PRE>
-public static final int <B>JAVA_FIRST_PRIMITIVE</B></PRE>
-<DL>
-<DD>Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_FIRST_PRIMITIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_BOOLEAN"><!-- --></A><H3>
-JAVA_BOOLEAN</H3>
-<PRE>
-public static final int <B>JAVA_BOOLEAN</B></PRE>
-<DL>
-<DD>A Java boolean. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_BOOLEAN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_FLOAT"><!-- --></A><H3>
-JAVA_FLOAT</H3>
-<PRE>
-public static final int <B>JAVA_FLOAT</B></PRE>
-<DL>
-<DD>A Java float. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_FLOAT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_DOUBLE"><!-- --></A><H3>
-JAVA_DOUBLE</H3>
-<PRE>
-public static final int <B>JAVA_DOUBLE</B></PRE>
-<DL>
-<DD>A Java double. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_DOUBLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_BYTE"><!-- --></A><H3>
-JAVA_BYTE</H3>
-<PRE>
-public static final int <B>JAVA_BYTE</B></PRE>
-<DL>
-<DD>A Java byte. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_BYTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_SHORT"><!-- --></A><H3>
-JAVA_SHORT</H3>
-<PRE>
-public static final int <B>JAVA_SHORT</B></PRE>
-<DL>
-<DD>A Java short. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_SHORT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_INT"><!-- --></A><H3>
-JAVA_INT</H3>
-<PRE>
-public static final int <B>JAVA_INT</B></PRE>
-<DL>
-<DD>A Java int. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_INT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_LONG"><!-- --></A><H3>
-JAVA_LONG</H3>
-<PRE>
-public static final int <B>JAVA_LONG</B></PRE>
-<DL>
-<DD>A Java long. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_LONG">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_LAST_PRIMITIVE"><!-- --></A><H3>
-JAVA_LAST_PRIMITIVE</H3>
-<PRE>
-public static final int <B>JAVA_LAST_PRIMITIVE</B></PRE>
-<DL>
-<DD>Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_LAST_PRIMITIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_BIG_DECIMAL"><!-- --></A><H3>
-JAVA_BIG_DECIMAL</H3>
-<PRE>
-public static final int <B>JAVA_BIG_DECIMAL</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_BIG_DECIMAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_BIG_INTEGER"><!-- --></A><H3>
-JAVA_BIG_INTEGER</H3>
-<PRE>
-public static final int <B>JAVA_BIG_INTEGER</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_BIG_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_STRING"><!-- --></A><H3>
-JAVA_STRING</H3>
-<PRE>
-public static final int <B>JAVA_STRING</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_STRING">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_BYTE_ARRAY"><!-- --></A><H3>
-JAVA_BYTE_ARRAY</H3>
-<PRE>
-public static final int <B>JAVA_BYTE_ARRAY</B></PRE>
-<DL>
-<DD>A byte[]. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_BYTE_ARRAY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_GDATE"><!-- --></A><H3>
-JAVA_GDATE</H3>
-<PRE>
-public static final int <B>JAVA_GDATE</B></PRE>
-<DL>
-<DD>A <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_GDATE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_GDURATION"><!-- --></A><H3>
-JAVA_GDURATION</H3>
-<PRE>
-public static final int <B>JAVA_GDURATION</B></PRE>
-<DL>
-<DD>A <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_GDURATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_DATE"><!-- --></A><H3>
-JAVA_DATE</H3>
-<PRE>
-public static final int <B>JAVA_DATE</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_DATE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_QNAME"><!-- --></A><H3>
-JAVA_QNAME</H3>
-<PRE>
-public static final int <B>JAVA_QNAME</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_QNAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_LIST"><!-- --></A><H3>
-JAVA_LIST</H3>
-<PRE>
-public static final int <B>JAVA_LIST</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_LIST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_CALENDAR"><!-- --></A><H3>
-JAVA_CALENDAR</H3>
-<PRE>
-public static final int <B>JAVA_CALENDAR</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_CALENDAR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_ENUM"><!-- --></A><H3>
-JAVA_ENUM</H3>
-<PRE>
-public static final int <B>JAVA_ENUM</B></PRE>
-<DL>
-<DD>A generated <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A> subclass. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_ENUM">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="JAVA_OBJECT"><!-- --></A><H3>
-JAVA_OBJECT</H3>
-<PRE>
-public static final int <B>JAVA_OBJECT</B></PRE>
-<DL>
-<DD>A <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>, used for some simple type unions. See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#getJavaTypeCode()"><CODE>getJavaTypeCode()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaProperty.JAVA_OBJECT">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getContainerType()"><!-- --></A><H3>
-getContainerType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getContainerType</B>()</PRE>
-<DL>
-<DD>The type within which this property appears
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>The name of this element or attribute
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="acceptedNames()"><!-- --></A><H3>
-acceptedNames</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>[] <B>acceptedNames</B>()</PRE>
-<DL>
-<DD>For element properties the set of names that are accepted for this property
- if this element is the head of a substitution group. This will always
- have at least one element, ie, the property's name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJavaPropertyName()"><!-- --></A><H3>
-getJavaPropertyName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getJavaPropertyName</B>()</PRE>
-<DL>
-<DD>The Java name for this property.  For example, if the method to
- access this property is called getFirstName, then this method
- returns the string "FirstName".  May be null if the schema type
- has not been compiled to Java.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isReadOnly()"><!-- --></A><H3>
-isReadOnly</H3>
-<PRE>
-public boolean <B>isReadOnly</B>()</PRE>
-<DL>
-<DD>True for read-only properties.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttribute()"><!-- --></A><H3>
-isAttribute</H3>
-<PRE>
-public boolean <B>isAttribute</B>()</PRE>
-<DL>
-<DD>True for attributes.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getType()"><!-- --></A><H3>
-getType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getType</B>()</PRE>
-<DL>
-<DD>The schema type for the property.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="javaBasedOnType()"><!-- --></A><H3>
-javaBasedOnType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>javaBasedOnType</B>()</PRE>
-<DL>
-<DD>The schema type returned from the Java getter for this property.
- Applies only to types that have been code generated to Java; may
- be a base type of getType().
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="extendsJavaSingleton()"><!-- --></A><H3>
-extendsJavaSingleton</H3>
-<PRE>
-public boolean <B>extendsJavaSingleton</B>()</PRE>
-<DL>
-<DD>True if there is a Java getter that returns a singleton.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="extendsJavaOption()"><!-- --></A><H3>
-extendsJavaOption</H3>
-<PRE>
-public boolean <B>extendsJavaOption</B>()</PRE>
-<DL>
-<DD>True if there is an Java isSet method that tests for presence.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="extendsJavaArray()"><!-- --></A><H3>
-extendsJavaArray</H3>
-<PRE>
-public boolean <B>extendsJavaArray</B>()</PRE>
-<DL>
-<DD>True if there is a Java getter that returns an array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJavaTypeCode()"><!-- --></A><H3>
-getJavaTypeCode</H3>
-<PRE>
-public int <B>getJavaTypeCode</B>()</PRE>
-<DL>
-<DD>Returns the natural Java type for this property.  Returns either
- XML_OBJECT (for complex types) or one of the JAVA_* constants described
- in this interface.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJavaSetterDelimiter()"><!-- --></A><H3>
-getJavaSetterDelimiter</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/QNameSet.html">QNameSet</A> <B>getJavaSetterDelimiter</B>()</PRE>
-<DL>
-<DD>Returns the set of element names which should appear strictly after all
- occurences of the elements described by this property. For element properties only.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMinOccurs()"><!-- --></A><H3>
-getMinOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMinOccurs</B>()</PRE>
-<DL>
-<DD>Returns a summarized minimum occurrance number.
- For example, a sequence containing a nonoptional singleton element repeated twice will
- result in a property getMinOccurs() of 2.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMaxOccurs()"><!-- --></A><H3>
-getMaxOccurs</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getMaxOccurs</B>()</PRE>
-<DL>
-<DD>Returns a summarized minimum occurrance number.
- For example, a sequence containing a nonoptional singleton element repeated twice will
- result in a property getMaxOccurs() of 2.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasNillable()"><!-- --></A><H3>
-hasNillable</H3>
-<PRE>
-public int <B>hasNillable</B>()</PRE>
-<DL>
-<DD>Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> nillable, depending on the
- nillability of the elements in this property.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasDefault()"><!-- --></A><H3>
-hasDefault</H3>
-<PRE>
-public int <B>hasDefault</B>()</PRE>
-<DL>
-<DD>Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> defaulted, depending on the
- defaults present in the elements in this property.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasFixed()"><!-- --></A><H3>
-hasFixed</H3>
-<PRE>
-public int <B>hasFixed</B>()</PRE>
-<DL>
-<DD>Returns <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#NEVER"><CODE>NEVER</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#VARIABLE"><CODE>VARIABLE</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#CONSISTENTLY"><CODE>CONSISTENTLY</CODE></A> fixed, depending on the
- fixed constraints present in the elements in this property.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultText()"><!-- --></A><H3>
-getDefaultText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDefaultText</B>()</PRE>
-<DL>
-<DD>Returns the default or fixed value,
- if it is consistent. If it is not consistent,
- then returns null.
- See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><CODE>hasDefault()</CODE></A> and <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><CODE>hasFixed()</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultValue()"><!-- --></A><H3>
-getDefaultValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>getDefaultValue</B>()</PRE>
-<DL>
-<DD>Returns the default or fixed value as a strongly-typed value,
- if it is consistent. If it is not consistent,
- then returns null.
- See <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasDefault()"><CODE>hasDefault()</CODE></A> and <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html#hasFixed()"><CODE>hasFixed()</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaProperty.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaStringEnumEntry.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaStringEnumEntry.html
deleted file mode 100644
index a080876..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaStringEnumEntry.html
+++ /dev/null
@@ -1,249 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaStringEnumEntry (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaStringEnumEntry,SchemaStringEnumEntry interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaStringEnumEntry (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaStringEnumEntry.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaStringEnumEntry</H2>
-<HR>
-<DL>
-<DT>public interface <B>SchemaStringEnumEntry</B></DL>
-
-<P>
-Describes a code-generated string enumeration
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getStringEnumEntries()"><CODE>SchemaType.getStringEnumEntries()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html#getEnumName()">getEnumName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A capitalized name to use for the enumeration constant name</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An integer to represent this choice in the enumeration</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html#getString()">getString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The enumerated string value</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getString()"><!-- --></A><H3>
-getString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getString</B>()</PRE>
-<DL>
-<DD>The enumerated string value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>An integer to represent this choice in the enumeration
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEnumName()"><!-- --></A><H3>
-getEnumName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getEnumName</B>()</PRE>
-<DL>
-<DD>A capitalized name to use for the enumeration constant name
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaStringEnumEntry.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.Ref.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.Ref.html
deleted file mode 100644
index 0ea17b1..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.Ref.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-SchemaType.Ref (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaType.Ref,SchemaType.Ref class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaType.Ref (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaType.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaType.Ref</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">org.apache.xmlbeans.SchemaComponent.Ref</A>
-        |
-        +--<B>org.apache.xmlbeans.SchemaType.Ref</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>SchemaType.Ref</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></DL>
-
-<P>
-Used to allow on-demand loading of types.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#_handle">_handle</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html#SchemaType.Ref(org.apache.xmlbeans.SchemaType)">SchemaType.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html#SchemaType.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)">SchemaType.Ref</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html#get()">get</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html#getComponentType()">getComponentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponent()">getComponent</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getTypeSystem()">getTypeSystem</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaType.Ref(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-SchemaType.Ref</H3>
-<PRE>
-public <B>SchemaType.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</PRE>
-<DL>
-</DL>
-<HR>
-
-<A NAME="SchemaType.Ref(org.apache.xmlbeans.SchemaTypeSystem, java.lang.String)"><!-- --></A><H3>
-SchemaType.Ref</H3>
-<PRE>
-public <B>SchemaType.Ref</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A>&nbsp;system,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getComponentType()"><!-- --></A><H3>
-getComponentType</H3>
-<PRE>
-public final int <B>getComponentType</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html#getComponentType()">getComponentType</A></CODE> in class <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html">SchemaComponent.Ref</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get()"><!-- --></A><H3>
-get</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>get</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaType.Ref.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent.Ref">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.html
deleted file mode 100644
index 9af2b79..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaType.html
+++ /dev/null
@@ -1,4310 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaType (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaType,SchemaType interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaType (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaType</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaType</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></DL>
-
-<P>
-Represents a schema type.
- <p>
- SchemaType is the metadata "type" class for <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, and it plays the
- analogous role for <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> that <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html"><CODE>Class</CODE></A> plays for
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
- <p>
- Every XML Bean class corresponds to a singleton SchemaType object
- obtainable by ClassName.type (e.g., <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html#type"><CODE>XmlNonPositiveInteger.type</CODE></A>), and
- every XML Bean instance has an actual SchemaType, obtainable by
- <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()"><CODE>XmlObject.schemaType()</CODE></A>.  The ClassName.type and schemaType() mechanisms are
- analogous to the ordinary Java ClassName.class and obj.getClass() mechanisms.
- <p>
- All schema types are represented by a SchemaType, this includes all types
- regardless of whether they are built-in or user-defined, compiled or
- uncompiled, simple or complex.
- <p>
- In addition, a compiled XML Bean type system includes special "document" schema types
- each representing a document containing nothing but a single element for each
- global element, and special "attribute" schema types each representing
- a fragment containing nothing but a single global attribute for global
- attribute.
- <p>
- Do not confuse Schema Types with other types of Schema Components such as
- <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><CODE>Global Elements</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><CODE>Global Attributes</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><CODE>Named Model Groups</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><CODE>Attribute Groups</CODE></A>.
- SchemaType represents a Type component, not any of the other kinds of components.
- There are different kinds of metadata objects for the different Schema components. 
- <p>
- The space of SchemaTypes is divided as follows:
- 
- <ul>
- <li>First, there is the universal base type and the universal
-     subtype.  These are <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type"><CODE>XmlObject.type</CODE></A>
-     (corresponding to xs:anyType) and <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#NO_TYPE"><CODE>XmlBeans.NO_TYPE</CODE></A>,
-     respectively.  The first type is a base type of all other
-     types.  The other type indicates the absence of type information
-     and, at least in set-theoretic terms, is a subtype of all other types.
- <li>There is another universal base type that is the base type
-     for all simple types.  This is the <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#type"><CODE>XmlAnySimpleType.type</CODE></A>,
-     corresponding to xs:anySimpleType.   Only XmlObject.type and
-     XmlAnySimpleType.type return <code>true</code> for <A HREF="../../../org/apache/xmlbeans/SchemaType.html#isURType()"><CODE>isURType()</CODE></A>, and
-     only XmlBeans.NO_TYPE returns <code>true</code> for <A HREF="../../../org/apache/xmlbeans/SchemaType.html#isNoType()"><CODE>isNoType()</CODE></A>.
- <li>The two "special" kinds of types that are generated that
-     do not formally exist in the actual Schema specification are
-     document types and global attribute types (corresponding to
-     documents that contain a global element, or fragments that
-     contain a global attribute).  They can be detected using
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#isDocumentType()"><CODE>isDocumentType()</CODE></A> and <A HREF="../../../org/apache/xmlbeans/SchemaType.html#isAttributeType()"><CODE>isAttributeType()</CODE></A>. Other
-     than their anonymity (lack of a type name) and their appearance
-     only at the root of an instance, they are otherwise just like
-     ordinary complex types.
- <li>Simple types can be detected using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#isSimpleType()"><CODE>isSimpleType()</CODE></A>.
-     Complex types are consdered to be all the types that are
-     not simple.
- <li>Simple types are divided into three varieties: atomic types,
-     list types, and union types.  Which variety of simple type
-     you have can be discoverd using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><CODE>getSimpleVariety()</CODE></A>.
-     It will return either <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ATOMIC"><CODE>ATOMIC</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#LIST"><CODE>LIST</CODE></A>, or
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNION"><CODE>UNION</CODE></A>.
- <li>An <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ATOMIC"><CODE>ATOMIC</CODE></A> simple type is always based on one of the
-     20 built-in primitive schema types.  You can determine
-     the underlying primitive type for an atomic simple type
-     by calling <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getPrimitiveType()"><CODE>getPrimitiveType()</CODE></A>.  An atomic type
-     may add facet restrictions on top of the primitive type,
-     and these facets can be explored using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getFacet(int)"><CODE>getFacet(int)</CODE></A>,
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)"><CODE>matchPatternFacet(java.lang.String)</CODE></A>,
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getEnumerationValues()"><CODE>getEnumerationValues()</CODE></A>, and related methods.
- <li>A <A HREF="../../../org/apache/xmlbeans/SchemaType.html#LIST"><CODE>LIST</CODE></A> simple type is always based on another non-list
-     simple type.  The underlying list item type can be obtained
-     by using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getListItemType()"><CODE>getListItemType()</CODE></A>.
- <li>A <A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNION"><CODE>UNION</CODE></A> simple type is always composed out of a number of
-     other simple types.  The direct members of the union can
-     be obtained by <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionMemberTypes()"><CODE>getUnionMemberTypes()</CODE></A>.  When unions
-     consist of other unions, it is useful to know useful to know
-     the "leaves of the union tree", so the
-     set of non-union types making up the union can be obtained
-     by <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionConstituentTypes()"><CODE>getUnionConstituentTypes()</CODE></A>.  The closure of the
-     entire "union tree" is <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionSubTypes()"><CODE>getUnionSubTypes()</CODE></A> (this includes
-     the type itself).  For
-     simple unions that do not consist of other unions, all three
-     of these sets are the same.
- <li>Complex types have nested structure.  They are divided into
-     four content types: empty content, simple content, element-only
-     content, and mixed content.  All kinds of complex types may
-     have attributes.  The content type for a complex type can
-     be dermined using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.  This will return
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><CODE>EMPTY_CONTENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><CODE>SIMPLE_CONTENT</CODE></A>,
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><CODE>ELEMENT_CONTENT</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><CODE>MIXED_CONTENT</CODE></A>.
- <li>If a complex type has <A HREF="../../../org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><CODE>EMPTY_CONTENT</CODE></A>, the content model will be null.
- <li>If a complex type has <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><CODE>SIMPLE_CONTENT</CODE></A>, then it will extend the
-     simple type that describes the content.  In addition, the type
-     may impose additional simple type facet restrictions; these can 
-     be determined in the same way they are for a simple type.
- <li>If a complex type has <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><CODE>ELEMENT_CONTENT</CODE></A> or <A HREF="../../../org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><CODE>MIXED_CONTENT</CODE></A>, then
-     the detailed content model can be determined by examining
-     the particle tree (which may be null for MIXED_CONTENT).
-     The particle tree can be obtained via <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentModel()"><CODE>getContentModel()</CODE></A>.
- <li>When working with a complex type, most users will find it
-     sufficient to discover the summarized shape of the content model
-     and attribute model using <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementProperties()"><CODE>getElementProperties()</CODE></A>,
-     <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeProperties()"><CODE>getAttributeProperties()</CODE></A>, and related methods rather than
-     examining the particle tree and attribute model directly.
- </ul>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><CODE>SchemaTypeLoader</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()"><CODE>XmlObject.schemaType()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SimpleValue.html#instanceType()"><CODE>SimpleValue.instanceType()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to allow on-demand loading of types.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#ATOMIC">ATOMIC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Atomic type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ANY_SIMPLE">BTC_ANY_SIMPLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:anySimpleType, aka <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#type"><CODE>XmlAnySimpleType.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ANY_TYPE">BTC_ANY_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:anyType, aka <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type"><CODE>XmlObject.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ANY_URI">BTC_ANY_URI</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:anyURI, aka <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html#type"><CODE>XmlAnyURI.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_BASE_64_BINARY">BTC_BASE_64_BINARY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:base64Binary, aka <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_BOOLEAN">BTC_BOOLEAN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:boolean, aka <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#type"><CODE>XmlBoolean.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_BYTE">BTC_BYTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:byte, aka <A HREF="../../../org/apache/xmlbeans/XmlByte.html#type"><CODE>XmlByte.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE">BTC_DATE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:date, aka <A HREF="../../../org/apache/xmlbeans/XmlDate.html#type"><CODE>XmlDate.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DATE_TIME">BTC_DATE_TIME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:dateTime, aka <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#type"><CODE>XmlDateTime.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DECIMAL">BTC_DECIMAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:decimal, aka <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#type"><CODE>XmlDecimal.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DOUBLE">BTC_DOUBLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:double, aka <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#type"><CODE>XmlDouble.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_DURATION">BTC_DURATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:duration, aka <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#type"><CODE>XmlDuration.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ENTITIES">BTC_ENTITIES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:ENTITIES, aka <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#type"><CODE>XmlENTITIES.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ENTITY">BTC_ENTITY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:ENTITY, aka <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html#type"><CODE>XmlENTITY.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_FIRST_PRIMITIVE">BTC_FIRST_PRIMITIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_FLOAT">BTC_FLOAT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:float, aka <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#type"><CODE>XmlFloat.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_DAY">BTC_G_DAY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:gDay, aka <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#type"><CODE>XmlGDay.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH">BTC_G_MONTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:gMonth, aka <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#type"><CODE>XmlGMonth.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_MONTH_DAY">BTC_G_MONTH_DAY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:gMonthDay, aka <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#type"><CODE>XmlGMonthDay.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR">BTC_G_YEAR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:gYear, aka <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#type"><CODE>XmlGYear.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_G_YEAR_MONTH">BTC_G_YEAR_MONTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:gYearMonth, aka <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#type"><CODE>XmlGYearMonth.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_HEX_BINARY">BTC_HEX_BINARY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:hexBinary, aka <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_ID">BTC_ID</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:ID, aka <A HREF="../../../org/apache/xmlbeans/XmlID.html#type"><CODE>XmlID.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_IDREF">BTC_IDREF</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:IDREF, aka <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html#type"><CODE>XmlIDREF.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_IDREFS">BTC_IDREFS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:IDREFS, aka <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#type"><CODE>XmlIDREFS.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_INT">BTC_INT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:int, aka <A HREF="../../../org/apache/xmlbeans/XmlInt.html#type"><CODE>XmlInt.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_INTEGER">BTC_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:integer, aka <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#type"><CODE>XmlInteger.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_LANGUAGE">BTC_LANGUAGE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:language, aka <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html#type"><CODE>XmlLanguage.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_LAST_BUILTIN">BTC_LAST_BUILTIN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_LAST_PRIMITIVE">BTC_LAST_PRIMITIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_LONG">BTC_LONG</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:long, aka <A HREF="../../../org/apache/xmlbeans/XmlLong.html#type"><CODE>XmlLong.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NAME">BTC_NAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:Name, aka <A HREF="../../../org/apache/xmlbeans/XmlName.html#type"><CODE>XmlName.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NCNAME">BTC_NCNAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:NCName, aka <A HREF="../../../org/apache/xmlbeans/XmlNCName.html#type"><CODE>XmlNCName.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NEGATIVE_INTEGER">BTC_NEGATIVE_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:NegativeInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html#type"><CODE>XmlNegativeInteger.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NMTOKEN">BTC_NMTOKEN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:NMTOKEN, aka <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html#type"><CODE>XmlNMTOKEN.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NMTOKENS">BTC_NMTOKENS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:NMTOKENS, aka <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#type"><CODE>XmlNMTOKENS.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NON_NEGATIVE_INTEGER">BTC_NON_NEGATIVE_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:nonNegativeInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html#type"><CODE>XmlNonNegativeInteger.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NON_POSITIVE_INTEGER">BTC_NON_POSITIVE_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:nonPositiveInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html#type"><CODE>XmlNonPositiveInteger.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NORMALIZED_STRING">BTC_NORMALIZED_STRING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:normalizedString, aka <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html#type"><CODE>XmlNormalizedString.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NOT_BUILTIN">BTC_NOT_BUILTIN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not a builtin type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_NOTATION">BTC_NOTATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:NOTATION, aka <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html#type"><CODE>XmlNOTATION.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_POSITIVE_INTEGER">BTC_POSITIVE_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:positiveInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html#type"><CODE>XmlPositiveInteger.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_QNAME">BTC_QNAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:QName, aka <A HREF="../../../org/apache/xmlbeans/XmlQName.html#type"><CODE>XmlQName.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_SHORT">BTC_SHORT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:short, aka <A HREF="../../../org/apache/xmlbeans/XmlShort.html#type"><CODE>XmlShort.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_STRING">BTC_STRING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:string, aka <A HREF="../../../org/apache/xmlbeans/XmlString.html#type"><CODE>XmlString.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TIME">BTC_TIME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:time, aka <A HREF="../../../org/apache/xmlbeans/XmlTime.html#type"><CODE>XmlTime.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_TOKEN">BTC_TOKEN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:token, aka <A HREF="../../../org/apache/xmlbeans/XmlToken.html#type"><CODE>XmlToken.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_BYTE">BTC_UNSIGNED_BYTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:unsignedByte, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#type"><CODE>XmlUnsignedByte.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_INT">BTC_UNSIGNED_INT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:unsignedInt, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#type"><CODE>XmlUnsignedInt.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_LONG">BTC_UNSIGNED_LONG</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:unsignedLong, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html#type"><CODE>XmlUnsignedLong.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#BTC_UNSIGNED_SHORT">BTC_UNSIGNED_SHORT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:unsignedShort, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#type"><CODE>XmlUnsignedShort.type</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_EXTENSION">DT_EXTENSION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Derived by extension.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED">DT_NOT_DERIVED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not derived.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION">DT_RESTRICTION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Derived by restriction.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT">ELEMENT_CONTENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Element-only content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT">EMPTY_CONTENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_ENUMERATION">FACET_ENUMERATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:enumeration facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getEnumerationValues()"><CODE>getEnumerationValues()</CODE></A> instead</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_FRACTION_DIGITS">FACET_FRACTION_DIGITS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:fractionDigits facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_LENGTH">FACET_LENGTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:length facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MAX_EXCLUSIVE">FACET_MAX_EXCLUSIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:maxExclusive facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MAX_INCLUSIVE">FACET_MAX_INCLUSIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:maxInclusive facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MAX_LENGTH">FACET_MAX_LENGTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:maxLength facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MIN_EXCLUSIVE">FACET_MIN_EXCLUSIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:minExclusive facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MIN_INCLUSIVE">FACET_MIN_INCLUSIVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:minInclusive facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_MIN_LENGTH">FACET_MIN_LENGTH</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:minLength facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_PATTERN">FACET_PATTERN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:pattern facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)"><CODE>matchPatternFacet(java.lang.String)</CODE></A> instead</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_TOTAL_DIGITS">FACET_TOTAL_DIGITS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:totalDigits facet</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#FACET_WHITE_SPACE">FACET_WHITE_SPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xs:whiteSpace facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A> instead</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#LAST_BASIC_FACET">LAST_BASIC_FACET</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#LAST_FACET">LAST_FACET</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The last ordinary facet code</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#LAST_PROPERTY">LAST_PROPERTY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The last property code</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#LIST">LIST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple list type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT">MIXED_CONTENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mixed content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_COMPLEX_TYPE">NOT_COMPLEX_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not a complex type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_DECIMAL">NOT_DECIMAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not a decimal restriction.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_SIMPLE">NOT_SIMPLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not a simple type or simple content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#PARTIAL_ORDER">PARTIAL_ORDER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Partially ordered.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#PROPERTY_BOUNDED">PROPERTY_BOUNDED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#PROPERTY_CARDINALITY">PROPERTY_CARDINALITY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#PROPERTY_NUMERIC">PROPERTY_NUMERIC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#PROPERTY_ORDERED">PROPERTY_ORDERED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT">SIMPLE_CONTENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BIG_DECIMAL">SIZE_BIG_DECIMAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BIG_INTEGER">SIZE_BIG_INTEGER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BYTE">SIZE_BYTE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_INT">SIZE_INT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_LONG">SIZE_LONG</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_SHORT">SIZE_SHORT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fits in a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#TOTAL_ORDER">TOTAL_ORDER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Totally ordered.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNION">UNION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Union type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNORDERED">UNORDERED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unordered.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_COLLAPSE">WS_COLLAPSE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whitespace collapsed and trimmed.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_PRESERVE">WS_PRESERVE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whitespace preserved.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_REPLACE">WS_REPLACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whitespace replaced by ordinary space.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_UNSPECIFIED">WS_UNSPECIFIED</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whitespace rule unspecified.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ATTRIBUTE_GROUP">ATTRIBUTE_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#ELEMENT">ELEMENT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#IDENTITY_CONSTRAINT">IDENTITY_CONSTRAINT</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#MODEL_GROUP">MODEL_GROUP</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#NOTATION">NOTATION</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#TYPE">TYPE</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#blockExtension()">blockExtension</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if extensions of this type cannot be substituted for this type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#blockRestriction()">blockRestriction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if restrictions of this type cannot be substituted for this type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#enumEntryForString(java.lang.String)">enumEntryForString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the string enum entry corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#enumForInt(int)">enumForInt</A></B>(int&nbsp;i)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#enumForString(java.lang.String)">enumForString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#finalExtension()">finalExtension</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if other types cannot extend this type (only for complex types)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#finalList()">finalList</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if list derivation of this type is prohibited (only for simple types)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#finalRestriction()">finalRestriction</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if other types cannot restrict this type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#finalUnion()">finalUnion</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if union derivation of this type is prohibited (only for simple types)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAnonymousTypes()">getAnonymousTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The array of inner (anonymous) types defined
- within this type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAnonymousUnionMemberOrdinal()">getAnonymousUnionMemberOrdinal</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For anonymous types defined inside a union only: gets
- the integer indicating the declaration order of this
- type within the outer union type, or zero if this is
- not applicable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeModel()">getAttributeModel</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute model for this complex type (with simple or complex content).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeProperties()">getAttributeProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the SchemaProperties corresponding to attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeProperty(javax.xml.namespace.QName)">getAttributeProperty</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a SchemaProperty corresponding to an attribute within this
- complex type by looking up the attribute name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeType(javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)">getAttributeType</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName,
-                 <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;wildcardTypeLoader)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of an attribute based on the attribute name and
- the type system within which (wildcard) names are resolved.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAttributeTypeAttributeName()">getAttributeTypeAttributeName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute qname if this is a attribute type,
- or null otherwise.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getBaseEnumType()">getBaseEnumType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this is a string enumeration, returns the most basic base schema
- type that this enuemration is based on.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getBaseType()">getBaseType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns base restriction or extension type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getBuiltinTypeCode()">getBuiltinTypeCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an integer for builtin types that can be used
- for quick comparison.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getCommonBaseType(org.apache.xmlbeans.SchemaType)">getCommonBaseType</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns common base type with the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContainerField()">getContainerField</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The parent schema element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentModel()">getContentModel</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the complex content model for this complex type (with complex content).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()">getContentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><CODE>EMPTY_CONTENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><CODE>SIMPLE_CONTENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><CODE>ELEMENT_CONTENT</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><CODE>MIXED_CONTENT</CODE></A> for complex types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()">getDecimalSize</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For atomic numeric restrictions of decimal only: the
- numeric size category.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDerivationType()">getDerivationType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an integer for the derivation type, either 
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_EXTENSION"><CODE>DT_EXTENSION</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION"><CODE>DT_RESTRICTION</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED"><CODE>DT_NOT_DERIVED</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDerivedProperties()">getDerivedProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaProperties defined by this complex type,
- exclusive of the base type (if any).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDocumentElementName()">getDocumentElementName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the document element name if this is a document type,
- or null otherwise.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementProperties()">getElementProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the SchemaProperties corresponding to elements.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementProperty(javax.xml.namespace.QName)">getElementProperty</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a SchemaProperty corresponding to an element within this
- complex type by looking up the element name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getElementType(javax.xml.namespace.QName, javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)">getElementType</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName,
-               <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;xsiType,
-               <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;wildcardTypeLoader)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of a child element based on the element name and
- an xsi:type attribute (and the type system within which names are
- resolved).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getEnumerationValues()">getEnumerationValues</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of valid objects from the
- enumeration facet, null if no enumeration defined.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getEnumJavaClass()">getEnumJavaClass</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Java class corresponding to the enumeration type for this schema type,
- if applicable (or null if not an enumeration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getFacet(int)">getFacet</A></B>(int&nbsp;facetCode)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the given facet, or null if
- none is set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getFullJavaImplName()">getFullJavaImplName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The fully-qualified Java type name of the implementation class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getFullJavaName()">getFullJavaName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The fully-qualified Java type name of the class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getJavaClass()">getJavaClass</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Java class corresponding to this schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getListItemType()">getListItemType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For list types only: get the item type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name used to describe the type in the schema.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getOuterType()">getOuterType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The outer schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getPatterns()">getPatterns</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getPrimitiveType()">getPrimitiveType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For atomic types only: get the primitive type underlying this one.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getProperties()">getProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the SchemaProperties within this complex type,
- elements followed by attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getRef()">getRef</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retruns a SchemaType.Ref pointing to this schema type itself.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getShortJavaImplName()">getShortJavaImplName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The short unqualfiied Java name for the implementation class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getShortJavaName()">getShortJavaName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The short unqualfiied Java name for the class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()">getSimpleVariety</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the simple type is ATOMIC, UNION, or LIST.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSourceName()">getSourceName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the filename for the XSD file from which this type
- was loaded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getStringEnumEntries()">getStringEnumEntries</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of SchemaStringEnumEntries for this type: this
- array includes information about the java constant names used for
- each string enum entry.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getTypeSystem()">getTypeSystem</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaTypeLoader in which this type was defined.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionCommonBaseType()">getUnionCommonBaseType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For union types only: get the most specific common base
- type of the constituent member types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionConstituentTypes()">getUnionConstituentTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For union types only: get the constituent member types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionMemberTypes()">getUnionMemberTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For union types only: get the shallow member types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getUnionSubTypes()">getUnionSubTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For union types only: gets the full tree of member types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()">getWhiteSpaceRule</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For nonunion simple types: get the whitespace rule.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#hasAllContent()">hasAllContent</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the complex content model for this complex type is an "all" group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#hasAttributeWildcards()">hasAttributeWildcards</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this type permits wildcard attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#hasElementWildcards()">hasElementWildcards</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this type permits element wildcards.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#hasPatternFacet()">hasPatternFacet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there are regex pattern facents</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#hasStringEnumValues()">hasStringEnumValues</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is a string enum where an integer
- is assigned to each enumerated value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isAbstract()">isAbstract</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this type cannot be used directly in instances</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isAnonymousType()">isAnonymousType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the Xsd type is anonymous (i.e., not top-level).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isAssignableFrom(org.apache.xmlbeans.SchemaType)">isAssignableFrom</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the specified type derives from this type (or if
- it is the same type).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isAttributeType()">isAttributeType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is a attribute type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isBounded()">isBounded</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if bounded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isBuiltinType()">isBuiltinType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for any of the 40+ built-in types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isCompiled()">isCompiled</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this schema type was compiled to have a corresponding
- Java class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isDocumentType()">isDocumentType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is a document type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isFacetFixed(int)">isFacetFixed</A></B>(int&nbsp;facetCode)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the given facet is fixed.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isFinite()">isFinite</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if finite.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isNoType()">isNoType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for the type object that represents a the absence of a determined type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isNumeric()">isNumeric</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if numeric.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isOrderSensitive()">isOrderSensitive</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if particles have same defaults, nillability, etc, that are
- invariant when order changes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isPrimitiveType()">isPrimitiveType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for any of the 20 primitive types (plus anySimpleType)</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isSimpleType()">isSimpleType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for the anySimpleType and any restrictions/unions/lists.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isSkippedAnonymousType()">isSkippedAnonymousType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this anonymous type has no corresponding Java type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isURType()">isURType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True for anyType and anySimpleType.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isValidSubstitution(javax.xml.namespace.QName)">isValidSubstitution</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For document types, true if the given name can be substituted for the
- document element name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)">matchPatternFacet</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the given string matches the pattern facets.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable simple type value that does not reside in a tree.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaType.html#ordered()">ordered</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if ordered.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaComponent"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentRef()">getComponentRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getComponentType()">getComponentType</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="DT_NOT_DERIVED"><!-- --></A><H3>
-DT_NOT_DERIVED</H3>
-<PRE>
-public static final int <B>DT_NOT_DERIVED</B></PRE>
-<DL>
-<DD>Not derived.  True for XmlObject.type only. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDerivationType()"><CODE>getDerivationType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.DT_NOT_DERIVED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DT_RESTRICTION"><!-- --></A><H3>
-DT_RESTRICTION</H3>
-<PRE>
-public static final int <B>DT_RESTRICTION</B></PRE>
-<DL>
-<DD>Derived by restriction. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDerivationType()"><CODE>getDerivationType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.DT_RESTRICTION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DT_EXTENSION"><!-- --></A><H3>
-DT_EXTENSION</H3>
-<PRE>
-public static final int <B>DT_EXTENSION</B></PRE>
-<DL>
-<DD>Derived by extension. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDerivationType()"><CODE>getDerivationType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.DT_EXTENSION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NOT_BUILTIN"><!-- --></A><H3>
-BTC_NOT_BUILTIN</H3>
-<PRE>
-public static final int <B>BTC_NOT_BUILTIN</B></PRE>
-<DL>
-<DD>Not a builtin type
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NOT_BUILTIN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ANY_TYPE"><!-- --></A><H3>
-BTC_ANY_TYPE</H3>
-<PRE>
-public static final int <B>BTC_ANY_TYPE</B></PRE>
-<DL>
-<DD>xs:anyType, aka <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type"><CODE>XmlObject.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ANY_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_FIRST_PRIMITIVE"><!-- --></A><H3>
-BTC_FIRST_PRIMITIVE</H3>
-<PRE>
-public static final int <B>BTC_FIRST_PRIMITIVE</B></PRE>
-<DL>
-<DD>The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_FIRST_PRIMITIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ANY_SIMPLE"><!-- --></A><H3>
-BTC_ANY_SIMPLE</H3>
-<PRE>
-public static final int <B>BTC_ANY_SIMPLE</B></PRE>
-<DL>
-<DD>xs:anySimpleType, aka <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#type"><CODE>XmlAnySimpleType.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ANY_SIMPLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_BOOLEAN"><!-- --></A><H3>
-BTC_BOOLEAN</H3>
-<PRE>
-public static final int <B>BTC_BOOLEAN</B></PRE>
-<DL>
-<DD>xs:boolean, aka <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#type"><CODE>XmlBoolean.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_BOOLEAN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_BASE_64_BINARY"><!-- --></A><H3>
-BTC_BASE_64_BINARY</H3>
-<PRE>
-public static final int <B>BTC_BASE_64_BINARY</B></PRE>
-<DL>
-<DD>xs:base64Binary, aka <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_BASE_64_BINARY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_HEX_BINARY"><!-- --></A><H3>
-BTC_HEX_BINARY</H3>
-<PRE>
-public static final int <B>BTC_HEX_BINARY</B></PRE>
-<DL>
-<DD>xs:hexBinary, aka <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#type"><CODE>XmlBase64Binary.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_HEX_BINARY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ANY_URI"><!-- --></A><H3>
-BTC_ANY_URI</H3>
-<PRE>
-public static final int <B>BTC_ANY_URI</B></PRE>
-<DL>
-<DD>xs:anyURI, aka <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html#type"><CODE>XmlAnyURI.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ANY_URI">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_QNAME"><!-- --></A><H3>
-BTC_QNAME</H3>
-<PRE>
-public static final int <B>BTC_QNAME</B></PRE>
-<DL>
-<DD>xs:QName, aka <A HREF="../../../org/apache/xmlbeans/XmlQName.html#type"><CODE>XmlQName.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_QNAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NOTATION"><!-- --></A><H3>
-BTC_NOTATION</H3>
-<PRE>
-public static final int <B>BTC_NOTATION</B></PRE>
-<DL>
-<DD>xs:NOTATION, aka <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html#type"><CODE>XmlNOTATION.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NOTATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_FLOAT"><!-- --></A><H3>
-BTC_FLOAT</H3>
-<PRE>
-public static final int <B>BTC_FLOAT</B></PRE>
-<DL>
-<DD>xs:float, aka <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#type"><CODE>XmlFloat.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_FLOAT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_DOUBLE"><!-- --></A><H3>
-BTC_DOUBLE</H3>
-<PRE>
-public static final int <B>BTC_DOUBLE</B></PRE>
-<DL>
-<DD>xs:double, aka <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#type"><CODE>XmlDouble.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_DOUBLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_DECIMAL"><!-- --></A><H3>
-BTC_DECIMAL</H3>
-<PRE>
-public static final int <B>BTC_DECIMAL</B></PRE>
-<DL>
-<DD>xs:decimal, aka <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#type"><CODE>XmlDecimal.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_DECIMAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_STRING"><!-- --></A><H3>
-BTC_STRING</H3>
-<PRE>
-public static final int <B>BTC_STRING</B></PRE>
-<DL>
-<DD>xs:string, aka <A HREF="../../../org/apache/xmlbeans/XmlString.html#type"><CODE>XmlString.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_STRING">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_DURATION"><!-- --></A><H3>
-BTC_DURATION</H3>
-<PRE>
-public static final int <B>BTC_DURATION</B></PRE>
-<DL>
-<DD>xs:duration, aka <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#type"><CODE>XmlDuration.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_DURATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_DATE_TIME"><!-- --></A><H3>
-BTC_DATE_TIME</H3>
-<PRE>
-public static final int <B>BTC_DATE_TIME</B></PRE>
-<DL>
-<DD>xs:dateTime, aka <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#type"><CODE>XmlDateTime.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_DATE_TIME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_TIME"><!-- --></A><H3>
-BTC_TIME</H3>
-<PRE>
-public static final int <B>BTC_TIME</B></PRE>
-<DL>
-<DD>xs:time, aka <A HREF="../../../org/apache/xmlbeans/XmlTime.html#type"><CODE>XmlTime.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_TIME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_DATE"><!-- --></A><H3>
-BTC_DATE</H3>
-<PRE>
-public static final int <B>BTC_DATE</B></PRE>
-<DL>
-<DD>xs:date, aka <A HREF="../../../org/apache/xmlbeans/XmlDate.html#type"><CODE>XmlDate.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_DATE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_G_YEAR_MONTH"><!-- --></A><H3>
-BTC_G_YEAR_MONTH</H3>
-<PRE>
-public static final int <B>BTC_G_YEAR_MONTH</B></PRE>
-<DL>
-<DD>xs:gYearMonth, aka <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#type"><CODE>XmlGYearMonth.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_G_YEAR_MONTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_G_YEAR"><!-- --></A><H3>
-BTC_G_YEAR</H3>
-<PRE>
-public static final int <B>BTC_G_YEAR</B></PRE>
-<DL>
-<DD>xs:gYear, aka <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#type"><CODE>XmlGYear.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_G_YEAR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_G_MONTH_DAY"><!-- --></A><H3>
-BTC_G_MONTH_DAY</H3>
-<PRE>
-public static final int <B>BTC_G_MONTH_DAY</B></PRE>
-<DL>
-<DD>xs:gMonthDay, aka <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#type"><CODE>XmlGMonthDay.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_G_MONTH_DAY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_G_DAY"><!-- --></A><H3>
-BTC_G_DAY</H3>
-<PRE>
-public static final int <B>BTC_G_DAY</B></PRE>
-<DL>
-<DD>xs:gDay, aka <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#type"><CODE>XmlGDay.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_G_DAY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_G_MONTH"><!-- --></A><H3>
-BTC_G_MONTH</H3>
-<PRE>
-public static final int <B>BTC_G_MONTH</B></PRE>
-<DL>
-<DD>xs:gMonth, aka <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#type"><CODE>XmlGMonth.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_G_MONTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_LAST_PRIMITIVE"><!-- --></A><H3>
-BTC_LAST_PRIMITIVE</H3>
-<PRE>
-public static final int <B>BTC_LAST_PRIMITIVE</B></PRE>
-<DL>
-<DD>The primitive types have codes between BTC_FIRST_PRIMITIVE and BTC_LAST_PRIMITIVE inclusive
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_LAST_PRIMITIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_INTEGER"><!-- --></A><H3>
-BTC_INTEGER</H3>
-<PRE>
-public static final int <B>BTC_INTEGER</B></PRE>
-<DL>
-<DD>xs:integer, aka <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#type"><CODE>XmlInteger.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_LONG"><!-- --></A><H3>
-BTC_LONG</H3>
-<PRE>
-public static final int <B>BTC_LONG</B></PRE>
-<DL>
-<DD>xs:long, aka <A HREF="../../../org/apache/xmlbeans/XmlLong.html#type"><CODE>XmlLong.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_LONG">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_INT"><!-- --></A><H3>
-BTC_INT</H3>
-<PRE>
-public static final int <B>BTC_INT</B></PRE>
-<DL>
-<DD>xs:int, aka <A HREF="../../../org/apache/xmlbeans/XmlInt.html#type"><CODE>XmlInt.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_INT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_SHORT"><!-- --></A><H3>
-BTC_SHORT</H3>
-<PRE>
-public static final int <B>BTC_SHORT</B></PRE>
-<DL>
-<DD>xs:short, aka <A HREF="../../../org/apache/xmlbeans/XmlShort.html#type"><CODE>XmlShort.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_SHORT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_BYTE"><!-- --></A><H3>
-BTC_BYTE</H3>
-<PRE>
-public static final int <B>BTC_BYTE</B></PRE>
-<DL>
-<DD>xs:byte, aka <A HREF="../../../org/apache/xmlbeans/XmlByte.html#type"><CODE>XmlByte.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_BYTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NON_POSITIVE_INTEGER"><!-- --></A><H3>
-BTC_NON_POSITIVE_INTEGER</H3>
-<PRE>
-public static final int <B>BTC_NON_POSITIVE_INTEGER</B></PRE>
-<DL>
-<DD>xs:nonPositiveInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html#type"><CODE>XmlNonPositiveInteger.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NON_POSITIVE_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NEGATIVE_INTEGER"><!-- --></A><H3>
-BTC_NEGATIVE_INTEGER</H3>
-<PRE>
-public static final int <B>BTC_NEGATIVE_INTEGER</B></PRE>
-<DL>
-<DD>xs:NegativeInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html#type"><CODE>XmlNegativeInteger.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NEGATIVE_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NON_NEGATIVE_INTEGER"><!-- --></A><H3>
-BTC_NON_NEGATIVE_INTEGER</H3>
-<PRE>
-public static final int <B>BTC_NON_NEGATIVE_INTEGER</B></PRE>
-<DL>
-<DD>xs:nonNegativeInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html#type"><CODE>XmlNonNegativeInteger.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NON_NEGATIVE_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_POSITIVE_INTEGER"><!-- --></A><H3>
-BTC_POSITIVE_INTEGER</H3>
-<PRE>
-public static final int <B>BTC_POSITIVE_INTEGER</B></PRE>
-<DL>
-<DD>xs:positiveInteger, aka <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html#type"><CODE>XmlPositiveInteger.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_POSITIVE_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_UNSIGNED_LONG"><!-- --></A><H3>
-BTC_UNSIGNED_LONG</H3>
-<PRE>
-public static final int <B>BTC_UNSIGNED_LONG</B></PRE>
-<DL>
-<DD>xs:unsignedLong, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html#type"><CODE>XmlUnsignedLong.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_LONG">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_UNSIGNED_INT"><!-- --></A><H3>
-BTC_UNSIGNED_INT</H3>
-<PRE>
-public static final int <B>BTC_UNSIGNED_INT</B></PRE>
-<DL>
-<DD>xs:unsignedInt, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#type"><CODE>XmlUnsignedInt.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_INT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_UNSIGNED_SHORT"><!-- --></A><H3>
-BTC_UNSIGNED_SHORT</H3>
-<PRE>
-public static final int <B>BTC_UNSIGNED_SHORT</B></PRE>
-<DL>
-<DD>xs:unsignedShort, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#type"><CODE>XmlUnsignedShort.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_SHORT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_UNSIGNED_BYTE"><!-- --></A><H3>
-BTC_UNSIGNED_BYTE</H3>
-<PRE>
-public static final int <B>BTC_UNSIGNED_BYTE</B></PRE>
-<DL>
-<DD>xs:unsignedByte, aka <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#type"><CODE>XmlUnsignedByte.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_UNSIGNED_BYTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NORMALIZED_STRING"><!-- --></A><H3>
-BTC_NORMALIZED_STRING</H3>
-<PRE>
-public static final int <B>BTC_NORMALIZED_STRING</B></PRE>
-<DL>
-<DD>xs:normalizedString, aka <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html#type"><CODE>XmlNormalizedString.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NORMALIZED_STRING">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_TOKEN"><!-- --></A><H3>
-BTC_TOKEN</H3>
-<PRE>
-public static final int <B>BTC_TOKEN</B></PRE>
-<DL>
-<DD>xs:token, aka <A HREF="../../../org/apache/xmlbeans/XmlToken.html#type"><CODE>XmlToken.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_TOKEN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NAME"><!-- --></A><H3>
-BTC_NAME</H3>
-<PRE>
-public static final int <B>BTC_NAME</B></PRE>
-<DL>
-<DD>xs:Name, aka <A HREF="../../../org/apache/xmlbeans/XmlName.html#type"><CODE>XmlName.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NCNAME"><!-- --></A><H3>
-BTC_NCNAME</H3>
-<PRE>
-public static final int <B>BTC_NCNAME</B></PRE>
-<DL>
-<DD>xs:NCName, aka <A HREF="../../../org/apache/xmlbeans/XmlNCName.html#type"><CODE>XmlNCName.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NCNAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_LANGUAGE"><!-- --></A><H3>
-BTC_LANGUAGE</H3>
-<PRE>
-public static final int <B>BTC_LANGUAGE</B></PRE>
-<DL>
-<DD>xs:language, aka <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html#type"><CODE>XmlLanguage.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_LANGUAGE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ID"><!-- --></A><H3>
-BTC_ID</H3>
-<PRE>
-public static final int <B>BTC_ID</B></PRE>
-<DL>
-<DD>xs:ID, aka <A HREF="../../../org/apache/xmlbeans/XmlID.html#type"><CODE>XmlID.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ID">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_IDREF"><!-- --></A><H3>
-BTC_IDREF</H3>
-<PRE>
-public static final int <B>BTC_IDREF</B></PRE>
-<DL>
-<DD>xs:IDREF, aka <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html#type"><CODE>XmlIDREF.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_IDREF">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_IDREFS"><!-- --></A><H3>
-BTC_IDREFS</H3>
-<PRE>
-public static final int <B>BTC_IDREFS</B></PRE>
-<DL>
-<DD>xs:IDREFS, aka <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#type"><CODE>XmlIDREFS.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_IDREFS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ENTITY"><!-- --></A><H3>
-BTC_ENTITY</H3>
-<PRE>
-public static final int <B>BTC_ENTITY</B></PRE>
-<DL>
-<DD>xs:ENTITY, aka <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html#type"><CODE>XmlENTITY.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ENTITY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_ENTITIES"><!-- --></A><H3>
-BTC_ENTITIES</H3>
-<PRE>
-public static final int <B>BTC_ENTITIES</B></PRE>
-<DL>
-<DD>xs:ENTITIES, aka <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#type"><CODE>XmlENTITIES.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_ENTITIES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NMTOKEN"><!-- --></A><H3>
-BTC_NMTOKEN</H3>
-<PRE>
-public static final int <B>BTC_NMTOKEN</B></PRE>
-<DL>
-<DD>xs:NMTOKEN, aka <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html#type"><CODE>XmlNMTOKEN.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NMTOKEN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_NMTOKENS"><!-- --></A><H3>
-BTC_NMTOKENS</H3>
-<PRE>
-public static final int <B>BTC_NMTOKENS</B></PRE>
-<DL>
-<DD>xs:NMTOKENS, aka <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#type"><CODE>XmlNMTOKENS.type</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_NMTOKENS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BTC_LAST_BUILTIN"><!-- --></A><H3>
-BTC_LAST_BUILTIN</H3>
-<PRE>
-public static final int <B>BTC_LAST_BUILTIN</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.BTC_LAST_BUILTIN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOT_COMPLEX_TYPE"><!-- --></A><H3>
-NOT_COMPLEX_TYPE</H3>
-<PRE>
-public static final int <B>NOT_COMPLEX_TYPE</B></PRE>
-<DL>
-<DD>Not a complex type.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.NOT_COMPLEX_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="EMPTY_CONTENT"><!-- --></A><H3>
-EMPTY_CONTENT</H3>
-<PRE>
-public static final int <B>EMPTY_CONTENT</B></PRE>
-<DL>
-<DD>Empty content.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.EMPTY_CONTENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIMPLE_CONTENT"><!-- --></A><H3>
-SIMPLE_CONTENT</H3>
-<PRE>
-public static final int <B>SIMPLE_CONTENT</B></PRE>
-<DL>
-<DD>Simple content.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIMPLE_CONTENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ELEMENT_CONTENT"><!-- --></A><H3>
-ELEMENT_CONTENT</H3>
-<PRE>
-public static final int <B>ELEMENT_CONTENT</B></PRE>
-<DL>
-<DD>Element-only content.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.ELEMENT_CONTENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="MIXED_CONTENT"><!-- --></A><H3>
-MIXED_CONTENT</H3>
-<PRE>
-public static final int <B>MIXED_CONTENT</B></PRE>
-<DL>
-<DD>Mixed content.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getContentType()"><CODE>getContentType()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.MIXED_CONTENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_LENGTH"><!-- --></A><H3>
-FACET_LENGTH</H3>
-<PRE>
-public static final int <B>FACET_LENGTH</B></PRE>
-<DL>
-<DD>xs:length facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_LENGTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MIN_LENGTH"><!-- --></A><H3>
-FACET_MIN_LENGTH</H3>
-<PRE>
-public static final int <B>FACET_MIN_LENGTH</B></PRE>
-<DL>
-<DD>xs:minLength facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MIN_LENGTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MAX_LENGTH"><!-- --></A><H3>
-FACET_MAX_LENGTH</H3>
-<PRE>
-public static final int <B>FACET_MAX_LENGTH</B></PRE>
-<DL>
-<DD>xs:maxLength facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MAX_LENGTH">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MIN_EXCLUSIVE"><!-- --></A><H3>
-FACET_MIN_EXCLUSIVE</H3>
-<PRE>
-public static final int <B>FACET_MIN_EXCLUSIVE</B></PRE>
-<DL>
-<DD>xs:minExclusive facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MIN_EXCLUSIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MIN_INCLUSIVE"><!-- --></A><H3>
-FACET_MIN_INCLUSIVE</H3>
-<PRE>
-public static final int <B>FACET_MIN_INCLUSIVE</B></PRE>
-<DL>
-<DD>xs:minInclusive facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MIN_INCLUSIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MAX_INCLUSIVE"><!-- --></A><H3>
-FACET_MAX_INCLUSIVE</H3>
-<PRE>
-public static final int <B>FACET_MAX_INCLUSIVE</B></PRE>
-<DL>
-<DD>xs:maxInclusive facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MAX_INCLUSIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_MAX_EXCLUSIVE"><!-- --></A><H3>
-FACET_MAX_EXCLUSIVE</H3>
-<PRE>
-public static final int <B>FACET_MAX_EXCLUSIVE</B></PRE>
-<DL>
-<DD>xs:maxExclusive facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_MAX_EXCLUSIVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_TOTAL_DIGITS"><!-- --></A><H3>
-FACET_TOTAL_DIGITS</H3>
-<PRE>
-public static final int <B>FACET_TOTAL_DIGITS</B></PRE>
-<DL>
-<DD>xs:totalDigits facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_TOTAL_DIGITS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_FRACTION_DIGITS"><!-- --></A><H3>
-FACET_FRACTION_DIGITS</H3>
-<PRE>
-public static final int <B>FACET_FRACTION_DIGITS</B></PRE>
-<DL>
-<DD>xs:fractionDigits facet
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_FRACTION_DIGITS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LAST_BASIC_FACET"><!-- --></A><H3>
-LAST_BASIC_FACET</H3>
-<PRE>
-public static final int <B>LAST_BASIC_FACET</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.LAST_BASIC_FACET">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_WHITE_SPACE"><!-- --></A><H3>
-FACET_WHITE_SPACE</H3>
-<PRE>
-public static final int <B>FACET_WHITE_SPACE</B></PRE>
-<DL>
-<DD>xs:whiteSpace facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A> instead
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_WHITE_SPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_PATTERN"><!-- --></A><H3>
-FACET_PATTERN</H3>
-<PRE>
-public static final int <B>FACET_PATTERN</B></PRE>
-<DL>
-<DD>xs:pattern facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#matchPatternFacet(java.lang.String)"><CODE>matchPatternFacet(java.lang.String)</CODE></A> instead
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_PATTERN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="FACET_ENUMERATION"><!-- --></A><H3>
-FACET_ENUMERATION</H3>
-<PRE>
-public static final int <B>FACET_ENUMERATION</B></PRE>
-<DL>
-<DD>xs:enumeration facet - use <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getEnumerationValues()"><CODE>getEnumerationValues()</CODE></A> instead
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.FACET_ENUMERATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LAST_FACET"><!-- --></A><H3>
-LAST_FACET</H3>
-<PRE>
-public static final int <B>LAST_FACET</B></PRE>
-<DL>
-<DD>The last ordinary facet code
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.LAST_FACET">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PROPERTY_ORDERED"><!-- --></A><H3>
-PROPERTY_ORDERED</H3>
-<PRE>
-public static final int <B>PROPERTY_ORDERED</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#ordered()"><CODE>ordered()</CODE></A>, 
-<A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.PROPERTY_ORDERED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PROPERTY_BOUNDED"><!-- --></A><H3>
-PROPERTY_BOUNDED</H3>
-<PRE>
-public static final int <B>PROPERTY_BOUNDED</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isBounded()"><CODE>isBounded()</CODE></A>, 
-<A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.PROPERTY_BOUNDED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PROPERTY_CARDINALITY"><!-- --></A><H3>
-PROPERTY_CARDINALITY</H3>
-<PRE>
-public static final int <B>PROPERTY_CARDINALITY</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isFinite()"><CODE>isFinite()</CODE></A>, 
-<A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.PROPERTY_CARDINALITY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PROPERTY_NUMERIC"><!-- --></A><H3>
-PROPERTY_NUMERIC</H3>
-<PRE>
-public static final int <B>PROPERTY_NUMERIC</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html#isNumeric()"><CODE>isNumeric()</CODE></A>, 
-<A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.PROPERTY_NUMERIC">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LAST_PROPERTY"><!-- --></A><H3>
-LAST_PROPERTY</H3>
-<PRE>
-public static final int <B>LAST_PROPERTY</B></PRE>
-<DL>
-<DD>The last property code
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.LAST_PROPERTY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="UNORDERED"><!-- --></A><H3>
-UNORDERED</H3>
-<PRE>
-public static final int <B>UNORDERED</B></PRE>
-<DL>
-<DD>Unordered. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ordered()"><CODE>ordered()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.UNORDERED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="PARTIAL_ORDER"><!-- --></A><H3>
-PARTIAL_ORDER</H3>
-<PRE>
-public static final int <B>PARTIAL_ORDER</B></PRE>
-<DL>
-<DD>Partially ordered. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ordered()"><CODE>ordered()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.PARTIAL_ORDER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="TOTAL_ORDER"><!-- --></A><H3>
-TOTAL_ORDER</H3>
-<PRE>
-public static final int <B>TOTAL_ORDER</B></PRE>
-<DL>
-<DD>Totally ordered. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ordered()"><CODE>ordered()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.TOTAL_ORDER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOT_SIMPLE"><!-- --></A><H3>
-NOT_SIMPLE</H3>
-<PRE>
-public static final int <B>NOT_SIMPLE</B></PRE>
-<DL>
-<DD>Not a simple type or simple content. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><CODE>getSimpleVariety()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.NOT_SIMPLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ATOMIC"><!-- --></A><H3>
-ATOMIC</H3>
-<PRE>
-public static final int <B>ATOMIC</B></PRE>
-<DL>
-<DD>Atomic type.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><CODE>getSimpleVariety()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.ATOMIC">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="UNION"><!-- --></A><H3>
-UNION</H3>
-<PRE>
-public static final int <B>UNION</B></PRE>
-<DL>
-<DD>Union type.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><CODE>getSimpleVariety()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.UNION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LIST"><!-- --></A><H3>
-LIST</H3>
-<PRE>
-public static final int <B>LIST</B></PRE>
-<DL>
-<DD>Simple list type.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSimpleVariety()"><CODE>getSimpleVariety()</CODE></A>
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.LIST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOT_DECIMAL"><!-- --></A><H3>
-NOT_DECIMAL</H3>
-<PRE>
-public static final int <B>NOT_DECIMAL</B></PRE>
-<DL>
-<DD>Not a decimal restriction. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.NOT_DECIMAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_BYTE"><!-- --></A><H3>
-SIZE_BYTE</H3>
-<PRE>
-public static final int <B>SIZE_BYTE</B></PRE>
-<DL>
-<DD>Fits in a byte. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_BYTE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_SHORT"><!-- --></A><H3>
-SIZE_SHORT</H3>
-<PRE>
-public static final int <B>SIZE_SHORT</B></PRE>
-<DL>
-<DD>Fits in a short. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_SHORT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_INT"><!-- --></A><H3>
-SIZE_INT</H3>
-<PRE>
-public static final int <B>SIZE_INT</B></PRE>
-<DL>
-<DD>Fits in an int. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_INT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_LONG"><!-- --></A><H3>
-SIZE_LONG</H3>
-<PRE>
-public static final int <B>SIZE_LONG</B></PRE>
-<DL>
-<DD>Fits in a long. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_LONG">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_BIG_INTEGER"><!-- --></A><H3>
-SIZE_BIG_INTEGER</H3>
-<PRE>
-public static final int <B>SIZE_BIG_INTEGER</B></PRE>
-<DL>
-<DD>Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_BIG_INTEGER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SIZE_BIG_DECIMAL"><!-- --></A><H3>
-SIZE_BIG_DECIMAL</H3>
-<PRE>
-public static final int <B>SIZE_BIG_DECIMAL</B></PRE>
-<DL>
-<DD>Fits in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>. See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getDecimalSize()"><CODE>getDecimalSize()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.SIZE_BIG_DECIMAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WS_UNSPECIFIED"><!-- --></A><H3>
-WS_UNSPECIFIED</H3>
-<PRE>
-public static final int <B>WS_UNSPECIFIED</B></PRE>
-<DL>
-<DD>Whitespace rule unspecified.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.WS_UNSPECIFIED">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WS_PRESERVE"><!-- --></A><H3>
-WS_PRESERVE</H3>
-<PRE>
-public static final int <B>WS_PRESERVE</B></PRE>
-<DL>
-<DD>Whitespace preserved.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.WS_PRESERVE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WS_REPLACE"><!-- --></A><H3>
-WS_REPLACE</H3>
-<PRE>
-public static final int <B>WS_REPLACE</B></PRE>
-<DL>
-<DD>Whitespace replaced by ordinary space.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.WS_REPLACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WS_COLLAPSE"><!-- --></A><H3>
-WS_COLLAPSE</H3>
-<PRE>
-public static final int <B>WS_COLLAPSE</B></PRE>
-<DL>
-<DD>Whitespace collapsed and trimmed.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getWhiteSpaceRule()"><CODE>getWhiteSpaceRule()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaType.WS_COLLAPSE">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>The name used to describe the type in the schema.
- Null if the type is anonymous (nested), or if it is a document type.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getContainerField()"><!-- --></A><H3>
-getContainerField</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaField.html">SchemaField</A> <B>getContainerField</B>()</PRE>
-<DL>
-<DD>The parent schema element.
- Null for top-level (named) types and document types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDocumentType()"><!-- --></A><H3>
-isDocumentType</H3>
-<PRE>
-public boolean <B>isDocumentType</B>()</PRE>
-<DL>
-<DD>True if this is a document type.
- <p>
- Document types are generated for every global element. A document
- type is an unnamed complex type that contains exactly one element:
- we define these types, because they are the types of the "documents"
- which contain the defined global elements, and they all turn into
- Java types. (Named ElementnameDocument.)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttributeType()"><!-- --></A><H3>
-isAttributeType</H3>
-<PRE>
-public boolean <B>isAttributeType</B>()</PRE>
-<DL>
-<DD>True if this is a attribute type.
- <p>
- Attribute types are generated for every global attribute. An attribute
- type is an unnamed complex type that contains exactly one attribute:
- we define these types, because they are the types of the "attribute documents"
- which contain the defined global attribute, and they all turn into
- Java types. (Named AttributenameAttribute.)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDocumentElementName()"><!-- --></A><H3>
-getDocumentElementName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getDocumentElementName</B>()</PRE>
-<DL>
-<DD>Returns the document element name if this is a document type,
- or null otherwise.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeTypeAttributeName()"><!-- --></A><H3>
-getAttributeTypeAttributeName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getAttributeTypeAttributeName</B>()</PRE>
-<DL>
-<DD>Returns the attribute qname if this is a attribute type,
- or null otherwise.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getOuterType()"><!-- --></A><H3>
-getOuterType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getOuterType</B>()</PRE>
-<DL>
-<DD>The outer schema type.
- Null for top-level (named) types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isSkippedAnonymousType()"><!-- --></A><H3>
-isSkippedAnonymousType</H3>
-<PRE>
-public boolean <B>isSkippedAnonymousType</B>()</PRE>
-<DL>
-<DD>True if this anonymous type has no corresponding Java type. True for
- anonymous types nested within simple type restrictions.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isCompiled()"><!-- --></A><H3>
-isCompiled</H3>
-<PRE>
-public boolean <B>isCompiled</B>()</PRE>
-<DL>
-<DD>True if this schema type was compiled to have a corresponding
- Java class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFullJavaName()"><!-- --></A><H3>
-getFullJavaName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getFullJavaName</B>()</PRE>
-<DL>
-<DD>The fully-qualified Java type name of the class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getShortJavaName()"><!-- --></A><H3>
-getShortJavaName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getShortJavaName</B>()</PRE>
-<DL>
-<DD>The short unqualfiied Java name for the class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFullJavaImplName()"><!-- --></A><H3>
-getFullJavaImplName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getFullJavaImplName</B>()</PRE>
-<DL>
-<DD>The fully-qualified Java type name of the implementation class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getShortJavaImplName()"><!-- --></A><H3>
-getShortJavaImplName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getShortJavaImplName</B>()</PRE>
-<DL>
-<DD>The short unqualfiied Java name for the implementation class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getJavaClass()"><!-- --></A><H3>
-getJavaClass</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A> <B>getJavaClass</B>()</PRE>
-<DL>
-<DD>The Java class corresponding to this schema type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEnumJavaClass()"><!-- --></A><H3>
-getEnumJavaClass</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A> <B>getEnumJavaClass</B>()</PRE>
-<DL>
-<DD>The Java class corresponding to the enumeration type for this schema type,
- if applicable (or null if not an enumeration).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAnonymousType()"><!-- --></A><H3>
-isAnonymousType</H3>
-<PRE>
-public boolean <B>isAnonymousType</B>()</PRE>
-<DL>
-<DD>True if the Xsd type is anonymous (i.e., not top-level).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isBuiltinType()"><!-- --></A><H3>
-isBuiltinType</H3>
-<PRE>
-public boolean <B>isBuiltinType</B>()</PRE>
-<DL>
-<DD>True for any of the 40+ built-in types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isSimpleType()"><!-- --></A><H3>
-isSimpleType</H3>
-<PRE>
-public boolean <B>isSimpleType</B>()</PRE>
-<DL>
-<DD>True for the anySimpleType and any restrictions/unions/lists.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBaseType()"><!-- --></A><H3>
-getBaseType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getBaseType</B>()</PRE>
-<DL>
-<DD>Returns base restriction or extension type. Unions and lists
- return the anySimpleType.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCommonBaseType(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-getCommonBaseType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getCommonBaseType</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</PRE>
-<DL>
-<DD>Returns common base type with the given type. The returned
- type is the most specific declared base type of both types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAssignableFrom(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-isAssignableFrom</H3>
-<PRE>
-public boolean <B>isAssignableFrom</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</PRE>
-<DL>
-<DD>True if the specified type derives from this type (or if
- it is the same type).
-
- Note that XmlObject.type (the anyType) is assignable
- from all type, and the XmlBeans.noType (the absence of
- a type) is assignable to all types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDerivationType()"><!-- --></A><H3>
-getDerivationType</H3>
-<PRE>
-public int <B>getDerivationType</B>()</PRE>
-<DL>
-<DD>Returns an integer for the derivation type, either 
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_EXTENSION"><CODE>DT_EXTENSION</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_RESTRICTION"><CODE>DT_RESTRICTION</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#DT_NOT_DERIVED"><CODE>DT_NOT_DERIVED</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBuiltinTypeCode()"><!-- --></A><H3>
-getBuiltinTypeCode</H3>
-<PRE>
-public int <B>getBuiltinTypeCode</B>()</PRE>
-<DL>
-<DD>Returns an integer for builtin types that can be used
- for quick comparison.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isURType()"><!-- --></A><H3>
-isURType</H3>
-<PRE>
-public boolean <B>isURType</B>()</PRE>
-<DL>
-<DD>True for anyType and anySimpleType.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNoType()"><!-- --></A><H3>
-isNoType</H3>
-<PRE>
-public boolean <B>isNoType</B>()</PRE>
-<DL>
-<DD>True for the type object that represents a the absence of a determined type.
- XML Objects whose type isNoType() are never valid.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTypeSystem()"><!-- --></A><H3>
-getTypeSystem</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A> <B>getTypeSystem</B>()</PRE>
-<DL>
-<DD>Returns the SchemaTypeLoader in which this type was defined.
- Complex types are defined and used in exactly one schema type
- system, but simple types are defined in one type system and can
- be used in any number of type systems. The most common case is
- the builtin types, which are defined in the builtin type system
- and used elsewhere.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()">getTypeSystem</A></CODE> in interface <CODE><A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSourceName()"><!-- --></A><H3>
-getSourceName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSourceName</B>()</PRE>
-<DL>
-<DD>Returns the filename for the XSD file from which this type
- was loaded. Intended for use when debugging.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAbstract()"><!-- --></A><H3>
-isAbstract</H3>
-<PRE>
-public boolean <B>isAbstract</B>()</PRE>
-<DL>
-<DD>True if this type cannot be used directly in instances
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalExtension()"><!-- --></A><H3>
-finalExtension</H3>
-<PRE>
-public boolean <B>finalExtension</B>()</PRE>
-<DL>
-<DD>True if other types cannot extend this type (only for complex types)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalRestriction()"><!-- --></A><H3>
-finalRestriction</H3>
-<PRE>
-public boolean <B>finalRestriction</B>()</PRE>
-<DL>
-<DD>True if other types cannot restrict this type
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalList()"><!-- --></A><H3>
-finalList</H3>
-<PRE>
-public boolean <B>finalList</B>()</PRE>
-<DL>
-<DD>True if list derivation of this type is prohibited (only for simple types)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="finalUnion()"><!-- --></A><H3>
-finalUnion</H3>
-<PRE>
-public boolean <B>finalUnion</B>()</PRE>
-<DL>
-<DD>True if union derivation of this type is prohibited (only for simple types)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="blockExtension()"><!-- --></A><H3>
-blockExtension</H3>
-<PRE>
-public boolean <B>blockExtension</B>()</PRE>
-<DL>
-<DD>True if extensions of this type cannot be substituted for this type
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="blockRestriction()"><!-- --></A><H3>
-blockRestriction</H3>
-<PRE>
-public boolean <B>blockRestriction</B>()</PRE>
-<DL>
-<DD>True if restrictions of this type cannot be substituted for this type
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getContentType()"><!-- --></A><H3>
-getContentType</H3>
-<PRE>
-public int <B>getContentType</B>()</PRE>
-<DL>
-<DD>Returns <A HREF="../../../org/apache/xmlbeans/SchemaType.html#EMPTY_CONTENT"><CODE>EMPTY_CONTENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIMPLE_CONTENT"><CODE>SIMPLE_CONTENT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ELEMENT_CONTENT"><CODE>ELEMENT_CONTENT</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#MIXED_CONTENT"><CODE>MIXED_CONTENT</CODE></A> for complex types. For noncomplex types, returns
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_COMPLEX_TYPE"><CODE>NOT_COMPLEX_TYPE</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAnonymousTypes()"><!-- --></A><H3>
-getAnonymousTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>getAnonymousTypes</B>()</PRE>
-<DL>
-<DD>The array of inner (anonymous) types defined
- within this type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getElementProperty(javax.xml.namespace.QName)"><!-- --></A><H3>
-getElementProperty</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A> <B>getElementProperty</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName)</PRE>
-<DL>
-<DD>Returns a SchemaProperty corresponding to an element within this
- complex type by looking up the element name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getElementProperties()"><!-- --></A><H3>
-getElementProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[] <B>getElementProperties</B>()</PRE>
-<DL>
-<DD>Returns all the SchemaProperties corresponding to elements.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeProperty(javax.xml.namespace.QName)"><!-- --></A><H3>
-getAttributeProperty</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A> <B>getAttributeProperty</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</PRE>
-<DL>
-<DD>Returns a SchemaProperty corresponding to an attribute within this
- complex type by looking up the attribute name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeProperties()"><!-- --></A><H3>
-getAttributeProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[] <B>getAttributeProperties</B>()</PRE>
-<DL>
-<DD>Returns all the SchemaProperties corresponding to attributes.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getProperties()"><!-- --></A><H3>
-getProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[] <B>getProperties</B>()</PRE>
-<DL>
-<DD>Returns all the SchemaProperties within this complex type,
- elements followed by attributes.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDerivedProperties()"><!-- --></A><H3>
-getDerivedProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaProperty.html">SchemaProperty</A>[] <B>getDerivedProperties</B>()</PRE>
-<DL>
-<DD>Returns the SchemaProperties defined by this complex type,
- exclusive of the base type (if any).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeModel()"><!-- --></A><H3>
-getAttributeModel</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html">SchemaAttributeModel</A> <B>getAttributeModel</B>()</PRE>
-<DL>
-<DD>Returns the attribute model for this complex type (with simple or complex content).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasAttributeWildcards()"><!-- --></A><H3>
-hasAttributeWildcards</H3>
-<PRE>
-public boolean <B>hasAttributeWildcards</B>()</PRE>
-<DL>
-<DD>True if this type permits wildcard attributes. See the attribute model for
- more information about which wildcards are allowed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getContentModel()"><!-- --></A><H3>
-getContentModel</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaParticle.html">SchemaParticle</A> <B>getContentModel</B>()</PRE>
-<DL>
-<DD>Returns the complex content model for this complex type (with complex content).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasElementWildcards()"><!-- --></A><H3>
-hasElementWildcards</H3>
-<PRE>
-public boolean <B>hasElementWildcards</B>()</PRE>
-<DL>
-<DD>True if this type permits element wildcards. See the content model for
- more information about which wildcards are allowed, and where.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isValidSubstitution(javax.xml.namespace.QName)"><!-- --></A><H3>
-isValidSubstitution</H3>
-<PRE>
-public boolean <B>isValidSubstitution</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>For document types, true if the given name can be substituted for the
- document element name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasAllContent()"><!-- --></A><H3>
-hasAllContent</H3>
-<PRE>
-public boolean <B>hasAllContent</B>()</PRE>
-<DL>
-<DD>True if the complex content model for this complex type is an "all" group.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isOrderSensitive()"><!-- --></A><H3>
-isOrderSensitive</H3>
-<PRE>
-public boolean <B>isOrderSensitive</B>()</PRE>
-<DL>
-<DD>True if particles have same defaults, nillability, etc, that are
- invariant when order changes. Computed only for Javaized types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getElementType(javax.xml.namespace.QName, javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)"><!-- --></A><H3>
-getElementType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getElementType</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName,
-                                 <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;xsiType,
-                                 <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;wildcardTypeLoader)</PRE>
-<DL>
-<DD>Returns the type of a child element based on the element name and
- an xsi:type attribute (and the type system within which names are
- resolved).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeType(javax.xml.namespace.QName, org.apache.xmlbeans.SchemaTypeLoader)"><!-- --></A><H3>
-getAttributeType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getAttributeType</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;eltName,
-                                   <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;wildcardTypeLoader)</PRE>
-<DL>
-<DD>Returns the type of an attribute based on the attribute name and
- the type system within which (wildcard) names are resolved.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFacet(int)"><!-- --></A><H3>
-getFacet</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>getFacet</B>(int&nbsp;facetCode)</PRE>
-<DL>
-<DD>Returns the value of the given facet, or null if
- none is set.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFacetFixed(int)"><!-- --></A><H3>
-isFacetFixed</H3>
-<PRE>
-public boolean <B>isFacetFixed</B>(int&nbsp;facetCode)</PRE>
-<DL>
-<DD>True if the given facet is fixed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="ordered()"><!-- --></A><H3>
-ordered</H3>
-<PRE>
-public int <B>ordered</B>()</PRE>
-<DL>
-<DD>True if ordered.  Returns either <A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNORDERED"><CODE>UNORDERED</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#PARTIAL_ORDER"><CODE>PARTIAL_ORDER</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/SchemaType.html#TOTAL_ORDER"><CODE>TOTAL_ORDER</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isBounded()"><!-- --></A><H3>
-isBounded</H3>
-<PRE>
-public boolean <B>isBounded</B>()</PRE>
-<DL>
-<DD>True if bounded.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFinite()"><!-- --></A><H3>
-isFinite</H3>
-<PRE>
-public boolean <B>isFinite</B>()</PRE>
-<DL>
-<DD>True if finite.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNumeric()"><!-- --></A><H3>
-isNumeric</H3>
-<PRE>
-public boolean <B>isNumeric</B>()</PRE>
-<DL>
-<DD>True if numeric.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasPatternFacet()"><!-- --></A><H3>
-hasPatternFacet</H3>
-<PRE>
-public boolean <B>hasPatternFacet</B>()</PRE>
-<DL>
-<DD>True if there are regex pattern facents
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPatterns()"><!-- --></A><H3>
-getPatterns</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>[] <B>getPatterns</B>()</PRE>
-<DL>
-<DD>True
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="matchPatternFacet(java.lang.String)"><!-- --></A><H3>
-matchPatternFacet</H3>
-<PRE>
-public boolean <B>matchPatternFacet</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>True if the given string matches the pattern facets.
- Always true if there are no pattern facets.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEnumerationValues()"><!-- --></A><H3>
-getEnumerationValues</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>[] <B>getEnumerationValues</B>()</PRE>
-<DL>
-<DD>Returns the array of valid objects from the
- enumeration facet, null if no enumeration defined.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasStringEnumValues()"><!-- --></A><H3>
-hasStringEnumValues</H3>
-<PRE>
-public boolean <B>hasStringEnumValues</B>()</PRE>
-<DL>
-<DD>True if this is a string enum where an integer
- is assigned to each enumerated value.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBaseEnumType()"><!-- --></A><H3>
-getBaseEnumType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getBaseEnumType</B>()</PRE>
-<DL>
-<DD>If this is a string enumeration, returns the most basic base schema
- type that this enuemration is based on. Otherwise returns null.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getStringEnumEntries()"><!-- --></A><H3>
-getStringEnumEntries</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A>[] <B>getStringEnumEntries</B>()</PRE>
-<DL>
-<DD>Returns the array of SchemaStringEnumEntries for this type: this
- array includes information about the java constant names used for
- each string enum entry.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enumEntryForString(java.lang.String)"><!-- --></A><H3>
-enumEntryForString</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html">SchemaStringEnumEntry</A> <B>enumEntryForString</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>Returns the string enum entry corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enumForString(java.lang.String)"><!-- --></A><H3>
-enumForString</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>enumForString</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enumForInt(int)"><!-- --></A><H3>
-enumForInt</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>enumForInt</B>(int&nbsp;i)</PRE>
-<DL>
-<DD>Returns the string enum value corresponding to the given enumerated
- string, or null if there is no match or this type is not
- a string enumeration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isPrimitiveType()"><!-- --></A><H3>
-isPrimitiveType</H3>
-<PRE>
-public boolean <B>isPrimitiveType</B>()</PRE>
-<DL>
-<DD>True for any of the 20 primitive types (plus anySimpleType)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSimpleVariety()"><!-- --></A><H3>
-getSimpleVariety</H3>
-<PRE>
-public int <B>getSimpleVariety</B>()</PRE>
-<DL>
-<DD>Returns whether the simple type is ATOMIC, UNION, or LIST.
- Returns <A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_SIMPLE"><CODE>NOT_SIMPLE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#ATOMIC"><CODE>ATOMIC</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#UNION"><CODE>UNION</CODE></A>,
- or <A HREF="../../../org/apache/xmlbeans/SchemaType.html#LIST"><CODE>LIST</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPrimitiveType()"><!-- --></A><H3>
-getPrimitiveType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getPrimitiveType</B>()</PRE>
-<DL>
-<DD>For atomic types only: get the primitive type underlying this one.
- <p>
- Returns null if this is not an atomic type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDecimalSize()"><!-- --></A><H3>
-getDecimalSize</H3>
-<PRE>
-public int <B>getDecimalSize</B>()</PRE>
-<DL>
-<DD>For atomic numeric restrictions of decimal only: the
- numeric size category. Takes into account min and max
- restrictions as well as totalDigits and fractionDigits
- facets.
- <p>
- Returns either <A HREF="../../../org/apache/xmlbeans/SchemaType.html#NOT_DECIMAL"><CODE>NOT_DECIMAL</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BYTE"><CODE>SIZE_BYTE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_SHORT"><CODE>SIZE_SHORT</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_INT"><CODE>SIZE_INT</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_LONG"><CODE>SIZE_LONG</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BIG_INTEGER"><CODE>SIZE_BIG_INTEGER</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#SIZE_BIG_DECIMAL"><CODE>SIZE_BIG_DECIMAL</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getUnionMemberTypes()"><!-- --></A><H3>
-getUnionMemberTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>getUnionMemberTypes</B>()</PRE>
-<DL>
-<DD>For union types only: get the shallow member types. This
- returns the declared member types of the union, so, for
- example if the type contains another union, the nested
- members of that union are NOT returned here.
- <p>
- Returns null if this type is not a union.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getUnionSubTypes()"><!-- --></A><H3>
-getUnionSubTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>getUnionSubTypes</B>()</PRE>
-<DL>
-<DD>For union types only: gets the full tree of member types.
- This computes the closure of the set returned by
- getUnionMemberTypes(), so, for example, it returns
- all the types nested within unions of unions as well
- as the top-level members; the set also includes the
- type itself. If you are seeking only the basic
- non-union consituents, use getUnionConstituentTypes.
- <p>
- Returns null if this type is not a union.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getUnionConstituentTypes()"><!-- --></A><H3>
-getUnionConstituentTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>getUnionConstituentTypes</B>()</PRE>
-<DL>
-<DD>For union types only: get the constituent member types. This
- returns only non-union types, so, for example, for unions of
- unions, this returns the flattened list of individual member
- types within the innermost unions.
- <p>
- Returns null if this type is not a union.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getUnionCommonBaseType()"><!-- --></A><H3>
-getUnionCommonBaseType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getUnionCommonBaseType</B>()</PRE>
-<DL>
-<DD>For union types only: get the most specific common base
- type of the constituent member types. May return a UR type.
- <p>
- Returns null if this type is not a union.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAnonymousUnionMemberOrdinal()"><!-- --></A><H3>
-getAnonymousUnionMemberOrdinal</H3>
-<PRE>
-public int <B>getAnonymousUnionMemberOrdinal</B>()</PRE>
-<DL>
-<DD>For anonymous types defined inside a union only: gets
- the integer indicating the declaration order of this
- type within the outer union type, or zero if this is
- not applicable. The first anonymous union member within
- a union type is numbered "1". Used to differentiate
- between different anonymous types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getListItemType()"><!-- --></A><H3>
-getListItemType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>getListItemType</B>()</PRE>
-<DL>
-<DD>For list types only: get the item type. This is the atomic
- or union type that is the type of every entry in the list.
- <p>
- Returns null if this type is not a list.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getWhiteSpaceRule()"><!-- --></A><H3>
-getWhiteSpaceRule</H3>
-<PRE>
-public int <B>getWhiteSpaceRule</B>()</PRE>
-<DL>
-<DD>For nonunion simple types: get the whitespace rule. This is
- either <A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_PRESERVE"><CODE>WS_PRESERVE</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_REPLACE"><CODE>WS_REPLACE</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_COLLAPSE"><CODE>WS_COLLAPSE</CODE></A>. Returns <A HREF="../../../org/apache/xmlbeans/SchemaType.html#WS_UNSPECIFIED"><CODE>WS_UNSPECIFIED</CODE></A>
- for unions and complex types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;v)</PRE>
-<DL>
-<DD>Creates an immutable simple type value that does not reside in a tree.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getRef()"><!-- --></A><H3>
-getRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A> <B>getRef</B>()</PRE>
-<DL>
-<DD>Retruns a SchemaType.Ref pointing to this schema type itself.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoader.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoader.html
deleted file mode 100644
index 410564b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoader.html
+++ /dev/null
@@ -1,946 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaTypeLoader (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaTypeLoader,SchemaTypeLoader interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaTypeLoader (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeLoader.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaTypeLoader</H2>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaTypeLoader</B></DL>
-
-<P>
-Represents a searchable set of XML Schema component definitions.
- <p>
- SchemaTypeLoader is somewhat analogous to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html"><CODE>ClassLoader</CODE></A>,
- because it is responsible for finding <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><CODE>SchemaComponent</CODE></A> definitions
- by name, yet it is not responsible for being able to enumerate all the
- component definitons available. (If you wish to enumerate component
- definitions, see <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><CODE>SchemaTypeSystem</CODE></A>.) There are some ways in which
- SchemaTypeSystems are dissimilar from ClassLoaders, however.
- Since XML Schema has a number of instance-oriented typing mechanisms
- (such as wildcards) that do not exist in Java, a SchemaTypeLoader is
- not associated with a type; instead, a SchemaTypeLoader is associated
- with each XML instance.
- <p>
- Every XML instance is loaded within the context of a SchemaTypeLoader;
- the SchemaTypeLoader for an instance is used to resolve all type definitions
- within the instance and for applying type-sensitive methods such as
- <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()"><CODE>XmlObject.validate()</CODE></A>.
- <p>
- Normally the SchemaTypeLoader being used for all instances is the
- context type loader (that is, the SchemaTypeLoader returned from
- <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getContextTypeLoader()"><CODE>XmlBeans.getContextTypeLoader()</CODE></A>).  The context type loader
- consults the thread's context ClassLoader (see <CODE>Thread.getContextClassLoader()</CODE>)
- to find schema type defintions that are available on the classpath.
- The net result is that you can use schema types simply by putting
- their compiled schema JARs on your classpath.
- If you wish to load instances using a different SchemaTypeLoader, then you must
- call <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><CODE>parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)</CODE></A> methods on the SchemaTypeLoader instance explicitly
- rather than using the normal convenient Factory methods.
- <p>
- A SchemaTypeLoader can be obtained by dynamically loading XSD files
- using <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[])"><CODE>XmlBeans.loadXsd(org.apache.xmlbeans.XmlObject[])</CODE></A>, or by assembling other SchemaTypeLoaders
- or SchemaTypeSystems on a path using <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><CODE>XmlBeans.typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[])"><CODE>XmlBeans.loadXsd(org.apache.xmlbeans.XmlObject[])</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getContextTypeLoader()"><CODE>XmlBeans.getContextTypeLoader()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><CODE>XmlBeans.typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><CODE>SchemaTypeSystem</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)">compilePath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr,
-            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XPath</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">compileQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr,
-             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XQuery</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttribute(javax.xml.namespace.QName)">findAttribute</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global attribute defintion with the given name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroup(javax.xml.namespace.QName)">findAttributeGroup</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute group defintion with the given name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroupRef(javax.xml.namespace.QName)">findAttributeGroupRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeRef(javax.xml.namespace.QName)">findAttributeRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeType(javax.xml.namespace.QName)">findAttributeType</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute type containing the given attribute name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeTypeRef(javax.xml.namespace.QName)">findAttributeTypeRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentType(javax.xml.namespace.QName)">findDocumentType</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the document type rooted at the given element name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentTypeRef(javax.xml.namespace.QName)">findDocumentTypeRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findElement(javax.xml.namespace.QName)">findElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global element defintion with the given name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findElementRef(javax.xml.namespace.QName)">findElementRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findIdentityConstraintRef(javax.xml.namespace.QName)">findIdentityConstraintRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroup(javax.xml.namespace.QName)">findModelGroup</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model group defintion with the given name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroupRef(javax.xml.namespace.QName)">findModelGroupRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findType(javax.xml.namespace.QName)">findType</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type with the given name, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findTypeRef(javax.xml.namespace.QName)">findTypeRef</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for on-demand loading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#getSourceAsStream(java.lang.String)">getSourceAsStream</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads original XSD source as a stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#isNamespaceDefined(java.lang.String)">isNamespaceDefined</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the typeloader contains any definitions in the given namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newInstance(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream that will throw an exception if the XML is not valid</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newXmlSaxHandler</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlSaxHandler that can parse an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.File, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;jiois,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;jior,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlText,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.net.URL, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;file,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an instance of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#typeForClassname(java.lang.String)">typeForClassname</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;classname)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a type for a given fully-qualified XML Bean classname</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#typeForSignature(java.lang.String)">typeForSignature</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;signature)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a type for a given signature string</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="findType(javax.xml.namespace.QName)"><!-- --></A><H3>
-findType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>findType</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the type with the given name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findDocumentType(javax.xml.namespace.QName)"><!-- --></A><H3>
-findDocumentType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>findDocumentType</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the document type rooted at the given element name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttributeType(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttributeType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>findAttributeType</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the attribute type containing the given attribute name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-findElement</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A> <B>findElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the global element defintion with the given name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttribute(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttribute</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A> <B>findAttribute</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the global attribute defintion with the given name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findModelGroup(javax.xml.namespace.QName)"><!-- --></A><H3>
-findModelGroup</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A> <B>findModelGroup</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the model group defintion with the given name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttributeGroup(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttributeGroup</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A> <B>findAttributeGroup</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Returns the attribute group defintion with the given name, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNamespaceDefined(java.lang.String)"><!-- --></A><H3>
-isNamespaceDefined</H3>
-<PRE>
-public boolean <B>isNamespaceDefined</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace)</PRE>
-<DL>
-<DD>True if the typeloader contains any definitions in the given namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findTypeRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findTypeRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A> <B>findTypeRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findDocumentTypeRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findDocumentTypeRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A> <B>findDocumentTypeRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttributeTypeRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttributeTypeRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html">SchemaType.Ref</A> <B>findAttributeTypeRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findElementRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findElementRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A> <B>findElementRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttributeRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttributeRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A> <B>findAttributeRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findModelGroupRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findModelGroupRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A> <B>findModelGroupRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findAttributeGroupRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findAttributeGroupRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A> <B>findAttributeGroupRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="findIdentityConstraintRef(javax.xml.namespace.QName)"><!-- --></A><H3>
-findIdentityConstraintRef</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A> <B>findIdentityConstraintRef</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Used for on-demand loading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeForSignature(java.lang.String)"><!-- --></A><H3>
-typeForSignature</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>typeForSignature</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;signature)</PRE>
-<DL>
-<DD>Finds a type for a given signature string
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeForClassname(java.lang.String)"><!-- --></A><H3>
-typeForClassname</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>typeForClassname</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;classname)</PRE>
-<DL>
-<DD>Finds a type for a given fully-qualified XML Bean classname
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSourceAsStream(java.lang.String)"><!-- --></A><H3>
-getSourceAsStream</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A> <B>getSourceAsStream</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</PRE>
-<DL>
-<DD>Loads original XSD source as a stream.  See <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getSourceName()"><CODE>SchemaType.getSourceName()</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-compilePath</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compilePath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XPath
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-compileQuery</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compileQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XQuery
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an instance of the given type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlText,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;file,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;jiois,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;jior,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses an instance of the given type.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newXmlSaxHandler</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A> <B>newXmlSaxHandler</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                                      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Returns an XmlSaxHandler that can parse an instance of the given type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                  <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                  <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream that will throw an exception if the XML is not valid
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeLoader.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoaderException.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoaderException.html
deleted file mode 100644
index 02545d2..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeLoaderException.html
+++ /dev/null
@@ -1,593 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-SchemaTypeLoaderException (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaTypeLoaderException,SchemaTypeLoaderException class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaTypeLoaderException (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeLoaderException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class SchemaTypeLoaderException</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">java.lang.Exception</A>
-              |
-              +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html">java.lang.RuntimeException</A>
-                    |
-                    +--<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">org.apache.xmlbeans.XmlRuntimeException</A>
-                          |
-                          +--<B>org.apache.xmlbeans.SchemaTypeLoaderException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>SchemaTypeLoaderException</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></DL>
-
-<P>
-An exception that is thrown if there is corruption or a version mismatch
- in a compiled schema type system.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.SchemaTypeLoaderException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_HANDLE">BAD_HANDLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#BAD_PARTICLE_TYPE">BAD_PARTICLE_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#INT_TOO_LARGE">INT_TOO_LARGE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#IO_EXCEPTION">IO_EXCEPTION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#MALFORMED_CONTENT_MODEL">MALFORMED_CONTENT_MODEL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#NESTED_EXCEPTION">NESTED_EXCEPTION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#NO_RESOURCE">NO_RESOURCE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#NOT_WRITEABLE">NOT_WRITEABLE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#UNRECOGNIZED_INDEX_ENTRY">UNRECOGNIZED_INDEX_ENTRY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_FILE_TYPE">WRONG_FILE_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAGIC_COOKIE">WRONG_MAGIC_COOKIE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MAJOR_VERSION">WRONG_MAJOR_VERSION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_MINOR_VERSION">WRONG_MINOR_VERSION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_PROPERTY_TYPE">WRONG_PROPERTY_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#WRONG_SIMPLE_VARIETY">WRONG_SIMPLE_VARIETY</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int)">SchemaTypeLoaderException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle,
-                          int&nbsp;code)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given message, filename, extension, and code</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int, java.lang.Exception)">SchemaTypeLoaderException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle,
-                          int&nbsp;code,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">Exception</A>&nbsp;cause)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an exception with the given message, filename, extension, code, and cause</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html#getCode()">getCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the reason for the failure, given by one of the numeric constants in this class</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlRuntimeException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#getError()">getError</A>, <A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#getErrors()">getErrors</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getMessage()">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace()">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="NO_RESOURCE"><!-- --></A><H3>
-NO_RESOURCE</H3>
-<PRE>
-public static final int <B>NO_RESOURCE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.NO_RESOURCE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_MAGIC_COOKIE"><!-- --></A><H3>
-WRONG_MAGIC_COOKIE</H3>
-<PRE>
-public static final int <B>WRONG_MAGIC_COOKIE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MAGIC_COOKIE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_MAJOR_VERSION"><!-- --></A><H3>
-WRONG_MAJOR_VERSION</H3>
-<PRE>
-public static final int <B>WRONG_MAJOR_VERSION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MAJOR_VERSION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_MINOR_VERSION"><!-- --></A><H3>
-WRONG_MINOR_VERSION</H3>
-<PRE>
-public static final int <B>WRONG_MINOR_VERSION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_MINOR_VERSION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_FILE_TYPE"><!-- --></A><H3>
-WRONG_FILE_TYPE</H3>
-<PRE>
-public static final int <B>WRONG_FILE_TYPE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_FILE_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="UNRECOGNIZED_INDEX_ENTRY"><!-- --></A><H3>
-UNRECOGNIZED_INDEX_ENTRY</H3>
-<PRE>
-public static final int <B>UNRECOGNIZED_INDEX_ENTRY</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.UNRECOGNIZED_INDEX_ENTRY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_PROPERTY_TYPE"><!-- --></A><H3>
-WRONG_PROPERTY_TYPE</H3>
-<PRE>
-public static final int <B>WRONG_PROPERTY_TYPE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_PROPERTY_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="MALFORMED_CONTENT_MODEL"><!-- --></A><H3>
-MALFORMED_CONTENT_MODEL</H3>
-<PRE>
-public static final int <B>MALFORMED_CONTENT_MODEL</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.MALFORMED_CONTENT_MODEL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="WRONG_SIMPLE_VARIETY"><!-- --></A><H3>
-WRONG_SIMPLE_VARIETY</H3>
-<PRE>
-public static final int <B>WRONG_SIMPLE_VARIETY</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.WRONG_SIMPLE_VARIETY">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="IO_EXCEPTION"><!-- --></A><H3>
-IO_EXCEPTION</H3>
-<PRE>
-public static final int <B>IO_EXCEPTION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.IO_EXCEPTION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_TOO_LARGE"><!-- --></A><H3>
-INT_TOO_LARGE</H3>
-<PRE>
-public static final int <B>INT_TOO_LARGE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.INT_TOO_LARGE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BAD_PARTICLE_TYPE"><!-- --></A><H3>
-BAD_PARTICLE_TYPE</H3>
-<PRE>
-public static final int <B>BAD_PARTICLE_TYPE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.BAD_PARTICLE_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOT_WRITEABLE"><!-- --></A><H3>
-NOT_WRITEABLE</H3>
-<PRE>
-public static final int <B>NOT_WRITEABLE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.NOT_WRITEABLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="BAD_HANDLE"><!-- --></A><H3>
-BAD_HANDLE</H3>
-<PRE>
-public static final int <B>BAD_HANDLE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.BAD_HANDLE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NESTED_EXCEPTION"><!-- --></A><H3>
-NESTED_EXCEPTION</H3>
-<PRE>
-public static final int <B>NESTED_EXCEPTION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.SchemaTypeLoaderException.NESTED_EXCEPTION">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
-SchemaTypeLoaderException</H3>
-<PRE>
-public <B>SchemaTypeLoaderException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle,
-                                 int&nbsp;code)</PRE>
-<DL>
-<DD>Constructs an exception with the given message, filename, extension, and code
-<P>
-</DL>
-<HR>
-
-<A NAME="SchemaTypeLoaderException(java.lang.String, java.lang.String, java.lang.String, int, java.lang.Exception)"><!-- --></A><H3>
-SchemaTypeLoaderException</H3>
-<PRE>
-public <B>SchemaTypeLoaderException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle,
-                                 int&nbsp;code,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">Exception</A>&nbsp;cause)</PRE>
-<DL>
-<DD>Constructs an exception with the given message, filename, extension, code, and cause
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCode()"><!-- --></A><H3>
-getCode</H3>
-<PRE>
-public int <B>getCode</B>()</PRE>
-<DL>
-<DD>Returns the reason for the failure, given by one of the numeric constants in this class
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV CLASS&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeLoaderException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeSystem.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeSystem.html
deleted file mode 100644
index ef4459f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SchemaTypeSystem.html
+++ /dev/null
@@ -1,618 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SchemaTypeSystem (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SchemaTypeSystem,SchemaTypeSystem interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SchemaTypeSystem (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SimpleValue.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeSystem.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SchemaTypeSystem</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SchemaTypeSystem</B><DT>extends <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></DL>
-
-<P>
-A finite set of XML Schema component definitions.
- <p>
- Every <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><CODE>SchemaComponent</CODE></A> such as a <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><CODE>SchemaGlobalElement</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><CODE>SchemaGlobalAttribute</CODE></A>,
- <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><CODE>SchemaModelGroup</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><CODE>SchemaAttributeGroup</CODE></A>, or
- <A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><CODE>SchemaIdentityConstraint</CODE></A>, is defined in exactly one
- SchemaTypeSystem.  (See <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()"><CODE>SchemaComponent.getTypeSystem()</CODE></A>.)
- A single SchemaTypeSystem can include definitions
- from any number of namespaces; one SchemaTypeSystem consists simply
- of a set of component definitions that were compiled together.
- <p>
- Since every component is defined in a single SchemaTypeSystem, no
- SchemaTypeSystem other than <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getBuiltinTypeSystem()"><CODE>XmlBeans.getBuiltinTypeSystem()</CODE></A>
- includes any of the the built-in types.  That means
- you cannot ordinarily load instances using a single
- SchemaTypeSystem by itself. Instead, you will want to combine a path of
- SchemaTypeSystems together using <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><CODE>XmlBeans.typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])</CODE></A>
- to form a SchemaTypeLoader that can be used for loading instances.
- <p>
- For example, the following code compiles the schema in myXSDFile
- in the presence of only the minimal builtin type system.
- The resulting SchemaTypeSystem <code>sts</code> contains only the definitions
- from myXSD file.  In order to load and validate an instance within
- the context of those types, we must next construct a
- <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><CODE>SchemaTypeLoader</CODE></A> <code>stl</code> that contains both
- the builtin type system and the types defined within the myXSD file.
- <pre>
- SchemaTypeSystem sts = XmlBeans.compileXsd(new XmlObject[]
-    { XmlObject.Factory.parse(myXSDFile) },
-    XmlBeans.getBuiltinTypeSystem(),
-    null);
- SchemaTypeLoader stl = XmlBeans.typeLoaderUnion(new SchemaTypeLoader[]
-    { sts, XmlBeans.getBuiltinTypeSystem() });
- XmlObject mydoc = stl.parse(instanceFile, null, null);
- System.out.println("Document valid: " + mydoc.validate());
- </pre>
- <p>
- As you can see, for working with instances, you typically want to
- work with a SchemaTypeLoader constructed from a path rather than
- a solitary SchemaTypeSystem.  See <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[])"><CODE>XmlBeans.loadXsd(org.apache.xmlbeans.XmlObject[])</CODE></A> for
- a convenient alternative to <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A>.
- <p>
- A SchemaTypeSystem is useful when you need to enumerate the exact set
- of component definitions derived from a set of XSD files, for example,
- when you are analyzing the contents of the XSD files themselves.
- Here is how to use a SchemaTypeSystem to inspect a set of schema
- definitions:
- <ol>
- <li>First, use <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A> to compile any number
-     of schema files.  If the schema files are valid, result will
-     be a SchemaTypeSystem that contains all the component definitions
-     from those files.  It will contain no other component definitions.
- <li>Alternatively, call <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html#getTypeSystem()"><CODE>SchemaComponent.getTypeSystem()</CODE></A> on
-     a precompiled schema component to discover the SchemaTypeSystem
-     within which that component was originally compiled.
- <li>Once you have a SchemaTypeSystem, call:
-   <ul>
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalTypes()"><CODE>globalTypes()</CODE></A> for all the global type definitions.
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalElements()"><CODE>globalElements()</CODE></A> for all the global element definitions.
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalAttributes()"><CODE>globalAttributes()</CODE></A> for all the global attribute definitions.
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#modelGroups()"><CODE>modelGroups()</CODE></A> for all the named model group definitions.
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#attributeGroups()"><CODE>attributeGroups()</CODE></A> for all the attribute group definitions.
-   </ul>
- <li>In addition, there are special types generated for XML Beans thare
-     are not formally part of the Schema specification:
-   <ul>
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#documentTypes()"><CODE>documentTypes()</CODE></A> returns all the document types.
-   <li> <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#attributeTypes()"><CODE>attributeTypes()</CODE></A> returns all the attribute types.
-   </ul>
- </ol>
- 
- <p>
- A document type is a type that contains a single global element; there
- is one document type for each global element definition in a
- SchemaTypeSystem.  In an instance document, only the root XmlObject
- can have a document type as its type.
- <p>
- Similarly, an attribute type is a type that contains a single global
- attribute, and there is one attribute type for each global attribute
- definition in a SchemaTypeSystem.  It is possible to have a root
- XmlObject representing a fragment whose type is an attribute type,
- but attribute types are present mainly for symmetry and to simplify
- code such as the type-tree-walking code below.
- <p>
- The global component methods above only provide a view of the top-level
- components of a SchemaTypeSystem and do not include any nested
- definitions.  To view all the nested definitions, you will want to
- traverse the entire tree of <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> defintions within a
- SchemaTypeSystem by examining the <A HREF="../../../org/apache/xmlbeans/SchemaType.html#getAnonymousTypes()"><CODE>SchemaType.getAnonymousTypes()</CODE></A>
- within each <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> recursively.
- <p>The following code is a standard treewalk that visits every
- <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> in the SchemaTypeSystem once, including nested
- definitions.
- <pre>
- List allSeenTypes = new ArrayList();
- allSeenTypes.addAll(Arrays.asList(typeSystem.documentTypes()));
- allSeenTypes.addAll(Arrays.asList(typeSystem.attributeTypes()));
- allSeenTypes.addAll(Arrays.asList(typeSystem.globalTypes()));
- for (int i = 0; i < allSeenTypes.size(); i++)
- {
-     SchemaType sType = (SchemaType)allSeenTypes.get(i);
-     System.out.prinlnt("Visiting " + sType.toString());
-     allSeenTypes.addAll(Arrays.asList(sType.getAnonymousTypes()));
- }
- </pre>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><CODE>SchemaTypeLoader</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><CODE>XmlBeans.typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getBuiltinTypeSystem()"><CODE>XmlBeans.getBuiltinTypeSystem()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#attributeGroups()">attributeGroups</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute groups defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#attributeTypes()">attributeTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attribute types defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#documentTypes()">documentTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the document types defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html">ClassLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#getClassLoader()">getClassLoader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the classloader used by this loader for resolving types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalAttributes()">globalAttributes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global attributes defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalElements()">globalElements</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global elements defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#globalTypes()">globalTypes</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the global types defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#modelGroups()">modelGroups</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model groups defined in this loader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#resolve()">resolve</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes a type system (resolves all handles within the type system).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#resolveHandle(java.lang.String)">resolveHandle</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Locates a type, element, or attribute using the handle.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#saveToDirectory(java.io.File)">saveToDirectory</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;classDir)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves this type to a directory.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html#typeForHandle(java.lang.String)">typeForHandle</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Locates a type, element, or attribute using the handle.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.SchemaTypeLoader"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)">compilePath</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">compileQuery</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttribute(javax.xml.namespace.QName)">findAttribute</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroup(javax.xml.namespace.QName)">findAttributeGroup</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeGroupRef(javax.xml.namespace.QName)">findAttributeGroupRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeRef(javax.xml.namespace.QName)">findAttributeRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeType(javax.xml.namespace.QName)">findAttributeType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findAttributeTypeRef(javax.xml.namespace.QName)">findAttributeTypeRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentType(javax.xml.namespace.QName)">findDocumentType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findDocumentTypeRef(javax.xml.namespace.QName)">findDocumentTypeRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findElement(javax.xml.namespace.QName)">findElement</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findElementRef(javax.xml.namespace.QName)">findElementRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findIdentityConstraintRef(javax.xml.namespace.QName)">findIdentityConstraintRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroup(javax.xml.namespace.QName)">findModelGroup</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findModelGroupRef(javax.xml.namespace.QName)">findModelGroupRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findType(javax.xml.namespace.QName)">findType</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#findTypeRef(javax.xml.namespace.QName)">findTypeRef</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#getSourceAsStream(java.lang.String)">getSourceAsStream</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#isNamespaceDefined(java.lang.String)">isNamespaceDefined</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newInstance(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newInstance</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newXmlSaxHandler</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.File, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(java.net.URL, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#typeForClassname(java.lang.String)">typeForClassname</A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#typeForSignature(java.lang.String)">typeForSignature</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
-<DL>
-<DD>Returns the name of this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="globalTypes()"><!-- --></A><H3>
-globalTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>globalTypes</B>()</PRE>
-<DL>
-<DD>Returns the global types defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="documentTypes()"><!-- --></A><H3>
-documentTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>documentTypes</B>()</PRE>
-<DL>
-<DD>Returns the document types defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="attributeTypes()"><!-- --></A><H3>
-attributeTypes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>[] <B>attributeTypes</B>()</PRE>
-<DL>
-<DD>Returns the attribute types defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="globalElements()"><!-- --></A><H3>
-globalElements</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html">SchemaGlobalElement</A>[] <B>globalElements</B>()</PRE>
-<DL>
-<DD>Returns the global elements defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="globalAttributes()"><!-- --></A><H3>
-globalAttributes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html">SchemaGlobalAttribute</A>[] <B>globalAttributes</B>()</PRE>
-<DL>
-<DD>Returns the global attributes defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="modelGroups()"><!-- --></A><H3>
-modelGroups</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html">SchemaModelGroup</A>[] <B>modelGroups</B>()</PRE>
-<DL>
-<DD>Returns the model groups defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="attributeGroups()"><!-- --></A><H3>
-attributeGroups</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html">SchemaAttributeGroup</A>[] <B>attributeGroups</B>()</PRE>
-<DL>
-<DD>Returns the attribute groups defined in this loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="resolve()"><!-- --></A><H3>
-resolve</H3>
-<PRE>
-public void <B>resolve</B>()</PRE>
-<DL>
-<DD>Initializes a type system (resolves all handles within the type system).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="resolveHandle(java.lang.String)"><!-- --></A><H3>
-resolveHandle</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A> <B>resolveHandle</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-<DD>Locates a type, element, or attribute using the handle.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeForHandle(java.lang.String)"><!-- --></A><H3>
-typeForHandle</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>typeForHandle</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;handle)</PRE>
-<DL>
-<DD>Locates a type, element, or attribute using the handle.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getClassLoader()"><!-- --></A><H3>
-getClassLoader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html">ClassLoader</A> <B>getClassLoader</B>()</PRE>
-<DL>
-<DD>Returns the classloader used by this loader for resolving types.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="saveToDirectory(java.io.File)"><!-- --></A><H3>
-saveToDirectory</H3>
-<PRE>
-public void <B>saveToDirectory</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;classDir)</PRE>
-<DL>
-<DD>Saves this type to a directory.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SimpleValue.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SchemaTypeSystem.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SimpleValue.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SimpleValue.html
deleted file mode 100644
index ce3c5b6..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/SimpleValue.html
+++ /dev/null
@@ -1,2231 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-SimpleValue (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.SimpleValue,SimpleValue interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="SimpleValue (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SimpleValue.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface SimpleValue</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>SimpleValue</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></DL>
-
-<P>
-All XmlObject implementations can be coerced to SimpleValue.
- For any given schema type, only a subset of the conversion
- methods will work.  Others will throw an exception.
- <p>
- SimpleValue is useful for declaring variables which can hold
- more than one similar schema type that may not happen to
- have a common XML base type, for example, two list types,
- or two unrelated integer restrictions that happen to fit
- into an int.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type">type</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#bigDecimalValue()">bigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()"><CODE>getBigDecimalValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()"><CODE>getBigIntegerValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#booleanValue()">booleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBooleanValue()"><CODE>getBooleanValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#byteArrayValue()">byteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#byteValue()">byteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteValue()"><CODE>getByteValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#dateValue()">dateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDateValue()"><CODE>getDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#doubleValue()">doubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDoubleValue()"><CODE>getDoubleValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#enumValue()">enumValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getEnumValue()"><CODE>getEnumValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#floatValue()">floatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getFloatValue()"><CODE>getFloatValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#gDurationValue()">gDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDurationValue()"><CODE>getGDurationValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()">getBigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()">getBigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBooleanValue()">getBooleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()">getByteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteValue()">getByteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDateValue()">getDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDoubleValue()">getDoubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getEnumValue()">getEnumValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getFloatValue()">getFloatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDurationValue()">getGDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()">getListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getLongValue()">getLongValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getObjectValue()">getObjectValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getQNameValue()">getQNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getShortValue()">getShortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getStringValue()">getStringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#instanceType()">instanceType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The same as getSchemaType unless this is a union instance
- or nil value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#listValue()">listValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#longValue()">longValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getLongValue()"><CODE>getLongValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#objectSet(java.lang.Object)">objectSet</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)"><CODE>setObjectValue(java.lang.Object)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#objectValue()">objectValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getObjectValue()"><CODE>getObjectValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#qNameValue()">qNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getQNameValue()"><CODE>getQNameValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.math.BigDecimal)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>setBigDecimalValue(java.math.BigDecimal)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.math.BigInteger)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)"><CODE>setBigIntegerValue(java.math.BigInteger)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(boolean)">set</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)"><CODE>setBooleanValue(boolean)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(byte)">set</A></B>(byte&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)"><CODE>setByteValue(byte)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(byte[])">set</A></B>(byte[]&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.Date)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(double)">set</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)"><CODE>setDoubleValue(double)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(float)">set</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)"><CODE>setFloatValue(float)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.GDurationSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.util.List)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)"><CODE>setListValue(java.util.List)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(long)">set</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(javax.xml.namespace.QName)">set</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)"><CODE>setQNameValue(javax.xml.namespace.QName)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(short)">set</A></B>(short&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(java.lang.String)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)"><CODE>setStringValue(java.lang.String)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#set(org.apache.xmlbeans.StringEnumAbstractBase)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><CODE>setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)">setBooleanValue</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a boolean.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])">setByteArrayValue</A></B>(byte[]&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)">setByteValue</A></B>(byte&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a byte.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)">setDateValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)">setDoubleValue</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a double.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)">setEnumValue</A></B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)">setFloatValue</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a float.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)">setGDurationValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an int.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)">setListValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setLongValue(long)">setLongValue</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a long.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)">setObjectValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)">setQNameValue</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setShortValue(short)">setShortValue</A></B>(short&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a short.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)">setStringValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#shortValue()">shortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getShortValue()"><CODE>getShortValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#stringValue()">stringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getStringValue()"><CODE>getStringValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#xgetListValue()">xgetListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/SimpleValue.html#xlistValue()">xlistValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="instanceType()"><!-- --></A><H3>
-instanceType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>instanceType</B>()</PRE>
-<DL>
-<DD>The same as getSchemaType unless this is a union instance
- or nil value.
- <p>
- For unions, this returns the non-union consituent type of
- this instance. This type may change if setters are called
- that cause the instance to change to another constituent
- type of the union.
- <p>
- For nil values, this returns null.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getStringValue()"><!-- --></A><H3>
-getStringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getStringValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBooleanValue()"><!-- --></A><H3>
-getBooleanValue</H3>
-<PRE>
-public boolean <B>getBooleanValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a boolean.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteValue()"><!-- --></A><H3>
-getByteValue</H3>
-<PRE>
-public byte <B>getByteValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a byte.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getShortValue()"><!-- --></A><H3>
-getShortValue</H3>
-<PRE>
-public short <B>getShortValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a short.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns the value as an int.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLongValue()"><!-- --></A><H3>
-getLongValue</H3>
-<PRE>
-public long <B>getLongValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a long.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBigIntegerValue()"><!-- --></A><H3>
-getBigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getBigIntegerValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBigDecimalValue()"><!-- --></A><H3>
-getBigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getBigDecimalValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getFloatValue()"><!-- --></A><H3>
-getFloatValue</H3>
-<PRE>
-public float <B>getFloatValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a float.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDoubleValue()"><!-- --></A><H3>
-getDoubleValue</H3>
-<PRE>
-public double <B>getDoubleValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a double.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteArrayValue()"><!-- --></A><H3>
-getByteArrayValue</H3>
-<PRE>
-public byte[] <B>getByteArrayValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEnumValue()"><!-- --></A><H3>
-getEnumValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>getEnumValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDateValue()"><!-- --></A><H3>
-getDateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDateValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDurationValue()"><!-- --></A><H3>
-getGDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>getGDurationValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getQNameValue()"><!-- --></A><H3>
-getQNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getQNameValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getListValue()"><!-- --></A><H3>
-getListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>getListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xgetListValue()"><!-- --></A><H3>
-xgetListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xgetListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getObjectValue()"><!-- --></A><H3>
-getObjectValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getObjectValue</B>()</PRE>
-<DL>
-<DD>Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setStringValue(java.lang.String)"><!-- --></A><H3>
-setStringValue</H3>
-<PRE>
-public void <B>setStringValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBooleanValue(boolean)"><!-- --></A><H3>
-setBooleanValue</H3>
-<PRE>
-public void <B>setBooleanValue</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a boolean.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteValue(byte)"><!-- --></A><H3>
-setByteValue</H3>
-<PRE>
-public void <B>setByteValue</B>(byte&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a byte.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setShortValue(short)"><!-- --></A><H3>
-setShortValue</H3>
-<PRE>
-public void <B>setShortValue</B>(short&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a short.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as an int.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLongValue(long)"><!-- --></A><H3>
-setLongValue</H3>
-<PRE>
-public void <B>setLongValue</B>(long&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a long.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigIntegerValue(java.math.BigInteger)"><!-- --></A><H3>
-setBigIntegerValue</H3>
-<PRE>
-public void <B>setBigIntegerValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigDecimalValue(java.math.BigDecimal)"><!-- --></A><H3>
-setBigDecimalValue</H3>
-<PRE>
-public void <B>setBigDecimalValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setFloatValue(float)"><!-- --></A><H3>
-setFloatValue</H3>
-<PRE>
-public void <B>setFloatValue</B>(float&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a float.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoubleValue(double)"><!-- --></A><H3>
-setDoubleValue</H3>
-<PRE>
-public void <B>setDoubleValue</B>(double&nbsp;v)</PRE>
-<DL>
-<DD>Sets the value as a double.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteArrayValue(byte[])"><!-- --></A><H3>
-setByteArrayValue</H3>
-<PRE>
-public void <B>setByteArrayValue</B>(byte[]&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><!-- --></A><H3>
-setEnumValue</H3>
-<PRE>
-public void <B>setEnumValue</B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDateValue(java.util.Date)"><!-- --></A><H3>
-setDateValue</H3>
-<PRE>
-public void <B>setDateValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDurationValue(org.apache.xmlbeans.GDuration)"><!-- --></A><H3>
-setGDurationValue</H3>
-<PRE>
-public void <B>setGDurationValue</B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setQNameValue(javax.xml.namespace.QName)"><!-- --></A><H3>
-setQNameValue</H3>
-<PRE>
-public void <B>setQNameValue</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setListValue(java.util.List)"><!-- --></A><H3>
-setListValue</H3>
-<PRE>
-public void <B>setListValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setObjectValue(java.lang.Object)"><!-- --></A><H3>
-setObjectValue</H3>
-<PRE>
-public void <B>setObjectValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="stringValue()"><!-- --></A><H3>
-stringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>stringValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getStringValue()"><CODE>getStringValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="booleanValue()"><!-- --></A><H3>
-booleanValue</H3>
-<PRE>
-public boolean <B>booleanValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBooleanValue()"><CODE>getBooleanValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a boolean. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="byteValue()"><!-- --></A><H3>
-byteValue</H3>
-<PRE>
-public byte <B>byteValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteValue()"><CODE>getByteValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a byte. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="shortValue()"><!-- --></A><H3>
-shortValue</H3>
-<PRE>
-public short <B>shortValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getShortValue()"><CODE>getShortValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a short. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns the value as an int. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="longValue()"><!-- --></A><H3>
-longValue</H3>
-<PRE>
-public long <B>longValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getLongValue()"><CODE>getLongValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a long. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigIntegerValue()"><!-- --></A><H3>
-bigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>bigIntegerValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigIntegerValue()"><CODE>getBigIntegerValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigDecimalValue()"><!-- --></A><H3>
-bigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>bigDecimalValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getBigDecimalValue()"><CODE>getBigDecimalValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="floatValue()"><!-- --></A><H3>
-floatValue</H3>
-<PRE>
-public float <B>floatValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getFloatValue()"><CODE>getFloatValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a float. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="doubleValue()"><!-- --></A><H3>
-doubleValue</H3>
-<PRE>
-public double <B>doubleValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDoubleValue()"><CODE>getDoubleValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a double. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="byteArrayValue()"><!-- --></A><H3>
-byteArrayValue</H3>
-<PRE>
-public byte[] <B>byteArrayValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a byte array. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enumValue()"><!-- --></A><H3>
-enumValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>enumValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getEnumValue()"><CODE>getEnumValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="dateValue()"><!-- --></A><H3>
-dateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>dateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getDateValue()"><CODE>getDateValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDurationValue()"><!-- --></A><H3>
-gDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>gDurationValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getGDurationValue()"><CODE>getGDurationValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="qNameValue()"><!-- --></A><H3>
-qNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>qNameValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getQNameValue()"><CODE>getQNameValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listValue()"><!-- --></A><H3>
-listValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>listValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xlistValue()"><!-- --></A><H3>
-xlistValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xlistValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of XmlAnySimpleType objects. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="objectValue()"><!-- --></A><H3>
-objectValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>objectValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#getObjectValue()"><CODE>getObjectValue()</CODE></A></I>
-<P>
-<DD>Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.lang.String)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setStringValue(java.lang.String)"><CODE>setStringValue(java.lang.String)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(boolean)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBooleanValue(boolean)"><CODE>setBooleanValue(boolean)</CODE></A></I>
-<P>
-<DD>Sets the value as a boolean. *
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteValue(byte)"><CODE>setByteValue(byte)</CODE></A></I>
-<P>
-<DD>Sets the value as a byte.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(short)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(short&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I>
-<P>
-<DD>Sets the value as a short.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets the value as an int.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(long)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(long&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I>
-<P>
-<DD>Sets the value as a long.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigInteger)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigIntegerValue(java.math.BigInteger)"><CODE>setBigIntegerValue(java.math.BigInteger)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigDecimal)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(float)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(float&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setFloatValue(float)"><CODE>setFloatValue(float)</CODE></A></I>
-<P>
-<DD>Sets the value as a float.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(double)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(double&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDoubleValue(double)"><CODE>setDoubleValue(double)</CODE></A></I>
-<P>
-<DD>Sets the value as a double.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte[])"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte[]&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I>
-<P>
-<DD>Sets the value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.StringEnumAbstractBase)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)"><CODE>setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><CODE>StringEnumAbstractBase</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Date)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(javax.xml.namespace.QName)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setQNameValue(javax.xml.namespace.QName)"><CODE>setQNameValue(javax.xml.namespace.QName)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.List)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setListValue(java.util.List)"><CODE>setListValue(java.util.List)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="objectSet(java.lang.Object)"><!-- --></A><H3>
-objectSet</H3>
-<PRE>
-public void <B>objectSet</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/SimpleValue.html#setObjectValue(java.lang.Object)"><CODE>setObjectValue(java.lang.Object)</CODE></A></I>
-<P>
-<DD>Sets the value as an arbitrary <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><CODE>Object</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="SimpleValue.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.Table.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.Table.html
deleted file mode 100644
index 6044892..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.Table.html
+++ /dev/null
@@ -1,293 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-StringEnumAbstractBase.Table (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.StringEnumAbstractBase.Table,StringEnumAbstractBase.Table class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="StringEnumAbstractBase.Table (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="StringEnumAbstractBase.Table.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class StringEnumAbstractBase.Table</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.StringEnumAbstractBase.Table</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>StringEnumAbstractBase.Table</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-Used to manage singleton instances of enumerations.
- Each subclass of StringEnumAbstractBase has an instance
- of a table to hold the singleton instances.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html#StringEnumAbstractBase.Table(org.apache.xmlbeans.StringEnumAbstractBase[])">StringEnumAbstractBase.Table</A></B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>[]&nbsp;array)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html#forInt(int)">forInt</A></B>(int&nbsp;i)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the singleton for an int code, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html#forString(java.lang.String)">forString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the singleton for a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html#lastInt()">lastInt</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last valid int code (the first is 1; zero is not used).</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="StringEnumAbstractBase.Table(org.apache.xmlbeans.StringEnumAbstractBase[])"><!-- --></A><H3>
-StringEnumAbstractBase.Table</H3>
-<PRE>
-public <B>StringEnumAbstractBase.Table</B>(<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A>[]&nbsp;array)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="forString(java.lang.String)"><!-- --></A><H3>
-forString</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>forString</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>Returns the singleton for a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forInt(int)"><!-- --></A><H3>
-forInt</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html">StringEnumAbstractBase</A> <B>forInt</B>(int&nbsp;i)</PRE>
-<DL>
-<DD>Returns the singleton for an int code, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="lastInt()"><!-- --></A><H3>
-lastInt</H3>
-<PRE>
-public int <B>lastInt</B>()</PRE>
-<DL>
-<DD>Returns the last valid int code (the first is 1; zero is not used).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="StringEnumAbstractBase.Table.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.html
deleted file mode 100644
index 6b738f0..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/StringEnumAbstractBase.html
+++ /dev/null
@@ -1,332 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-StringEnumAbstractBase (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.StringEnumAbstractBase,StringEnumAbstractBase class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="StringEnumAbstractBase (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="StringEnumAbstractBase.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class StringEnumAbstractBase</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.StringEnumAbstractBase</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>StringEnumAbstractBase</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-The base class for code-generated string enumeration value classes.
- <p>
- Subclasses are intended to be final types with a finite set of
- singleton instances.  Each instance has a string value, which
- it returns via <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#toString()"><CODE>toString()</CODE></A>, and an int value for the purpose
- of switching in case statements, returned via <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#intValue()"><CODE>intValue()</CODE></A>.
- <p>
- Each subclass manages an instance of <A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><CODE>StringEnumAbstractBase.Table</CODE></A>,
- which holds all the singleton instances for the subclass. A Table
- can return a singleton instance given a String or an integer code.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.StringEnumAbstractBase">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to manage singleton instances of enumerations.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected </CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#StringEnumAbstractBase(java.lang.String, int)">StringEnumAbstractBase</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                       int&nbsp;i)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Singleton instances should only be created by subclasses.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#hashCode()">hashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hash code of the underlying string</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an int code that can be used for switch statements</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the underlying string value</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="StringEnumAbstractBase(java.lang.String, int)"><!-- --></A><H3>
-StringEnumAbstractBase</H3>
-<PRE>
-protected <B>StringEnumAbstractBase</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                 int&nbsp;i)</PRE>
-<DL>
-<DD>Singleton instances should only be created by subclasses.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Returns the underlying string value
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public final int <B>intValue</B>()</PRE>
-<DL>
-<DD>Returns an int code that can be used for switch statements
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hashCode()"><!-- --></A><H3>
-hashCode</H3>
-<PRE>
-public final int <B>hashCode</B>()</PRE>
-<DL>
-<DD>Returns the hash code of the underlying string
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="StringEnumAbstractBase.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XMLStreamValidationException.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XMLStreamValidationException.html
deleted file mode 100644
index 4f2ffe3..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XMLStreamValidationException.html
+++ /dev/null
@@ -1,293 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XMLStreamValidationException (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XMLStreamValidationException,XMLStreamValidationException class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XMLStreamValidationException (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamValidationException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_weblogic.xml.stream.XMLStreamException">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XMLStreamValidationException</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">java.lang.Exception</A>
-              |
-              +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">java.io.IOException</A>
-                    |
-                    +--<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">weblogic.xml.stream.XMLStreamException</A>
-                          |
-                          +--<B>org.apache.xmlbeans.XMLStreamValidationException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD>weblogic.utils.NestedThrowable, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XMLStreamValidationException</B><DT>extends <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></DL>
-
-<P>
-An exception thrown from a validating XMLInputStream.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><CODE>XmlObject.Factory.newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><CODE>SchemaTypeLoader.newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)</CODE></A>, 
-<A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XMLStreamValidationException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_weblogic.xml.stream.XMLStreamException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class weblogic.xml.stream.<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#th">th</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XMLStreamValidationException.html#XMLStreamValidationException(org.apache.xmlbeans.XmlError)">XMLStreamValidationException</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;xmlError)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XMLStreamValidationException.html#getXmlError()">getXmlError</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_weblogic.xml.stream.XMLStreamException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class weblogic.xml.stream.<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#getMessage()">getMessage</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#getNested()">getNested</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#getNestedException()">getNestedException</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#printStackTrace()">printStackTrace</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#superPrintStackTrace(java.io.PrintStream)">superPrintStackTrace</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#superPrintStackTrace(java.io.PrintWriter)">superPrintStackTrace</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#superToString()">superToString</A>, <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])">setStackTrace</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XMLStreamValidationException(org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XMLStreamValidationException</H3>
-<PRE>
-public <B>XMLStreamValidationException</B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;xmlError)</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getXmlError()"><!-- --></A><H3>
-getXmlError</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>getXmlError</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XMLStreamValidationException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_weblogic.xml.stream.XMLStreamException">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.Factory.html
deleted file mode 100644
index ca03349..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlAnySimpleType.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlAnySimpleType.Factory,XmlAnySimpleType.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlAnySimpleType.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnySimpleType.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlAnySimpleType.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlAnySimpleType.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlAnySimpleType.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;anything&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;anything&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnySimpleType.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.html
deleted file mode 100644
index 51610eb..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnySimpleType.html
+++ /dev/null
@@ -1,378 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlAnySimpleType (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlAnySimpleType,XmlAnySimpleType interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlAnySimpleType (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SimpleValue.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnySimpleType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlAnySimpleType</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A>, <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>, <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>, <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A>, <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>, <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>, <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A>, <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlAnySimpleType</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definition">xs:anySimpleType</a> type.
- <p>
- All simple types are convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)"><CODE>setStringValue(java.lang.String)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()"><CODE>getStringValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="stringValue()"><!-- --></A><H3>
-stringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>stringValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()"><CODE>getStringValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.lang.String)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)"><CODE>setStringValue(java.lang.String)</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getStringValue()"><!-- --></A><H3>
-getStringValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getStringValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setStringValue(java.lang.String)"><!-- --></A><H3>
-setStringValue</H3>
-<PRE>
-public void <B>setStringValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SimpleValue.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnySimpleType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.Factory.html
deleted file mode 100644
index 46ecdd5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlAnyURI.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlAnyURI.Factory,XmlAnyURI.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlAnyURI.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnyURI.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlAnyURI.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlAnyURI.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlAnyURI.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;http://www.w3.org/&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;http://www.w3.org/&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnyURI.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.html
deleted file mode 100644
index 03641d5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlAnyURI.html
+++ /dev/null
@@ -1,280 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlAnyURI (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlAnyURI,XmlAnyURI interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlAnyURI (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnyURI.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlAnyURI</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlAnyURI</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#anyURI">xs:anyURI</a> type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html">XmlAnyURI.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlAnyURI.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.Factory.html
deleted file mode 100644
index 9eea23b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlBase64Binary.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlBase64Binary.Factory,XmlBase64Binary.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlBase64Binary.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBase64Binary.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlBase64Binary.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlBase64Binary.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlBase64Binary.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;VGhpcyBzdHJp&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;VGhpcyBzdHJp&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBase64Binary.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.html
deleted file mode 100644
index 6e17e31..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBase64Binary.html
+++ /dev/null
@@ -1,393 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlBase64Binary (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlBase64Binary,XmlBase64Binary interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlBase64Binary (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBase64Binary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlBase64Binary</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlBase64Binary</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#base64Binary">xs:base64Binary</a> type.
- <p>
- Convertible to a byte array.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#byteArrayValue()">byteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()">getByteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#set(byte[])">set</A></B>(byte[]&nbsp;ba)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])">setByteArrayValue</A></B>(byte[]&nbsp;ba)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a byte array.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="byteArrayValue()"><!-- --></A><H3>
-byteArrayValue</H3>
-<PRE>
-public byte[] <B>byteArrayValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte[])"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte[]&nbsp;ba)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I>
-<P>
-<DD>Sets this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteArrayValue()"><!-- --></A><H3>
-getByteArrayValue</H3>
-<PRE>
-public byte[] <B>getByteArrayValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteArrayValue(byte[])"><!-- --></A><H3>
-setByteArrayValue</H3>
-<PRE>
-public void <B>setByteArrayValue</B>(byte[]&nbsp;ba)</PRE>
-<DL>
-<DD>Sets this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBase64Binary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBeans.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBeans.html
deleted file mode 100644
index 9e74fec..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBeans.html
+++ /dev/null
@@ -1,661 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlBeans (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlBeans,XmlBeans class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlBeans (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBeans.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlBeans</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlBeans</B>
-</PRE>
-<HR>
-<DL>
-<DT>public final class <B>XmlBeans</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-Provides an assortment of utilities
- for managing XML Bean types, type systems, QNames, paths,
- and queries.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#NO_TYPE">NO_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The SchemaType object given to an XmlObject instance when
- no type can be determined.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compilePath(java.lang.String)">compilePath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)">compilePath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr,
-            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached; 
- takes an option for specifying text that indicates the name of context node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileQuery(java.lang.String)">compileQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">compileQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr,
-             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached;
- takes an option for specifying text that indicates the context node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)">compileXsd</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas,
-           <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;typepath,
-           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getBuiltinTypeSystem()">getBuiltinTypeSystem</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the builtin type system.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getContextTypeLoader()">getContextTypeLoader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SchemaTypeLoader based on the current thread's context
- ClassLoader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getQName(java.lang.String)">getQName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localPart)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains a name from the thread local QNameCache</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getQName(java.lang.String, java.lang.String)">getQName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceUri,
-         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localPart)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains a name from the thread local QNameCache</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/QNameCache.html">QNameCache</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#getQNameCache()">getQNameCache</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a thread local QNameCache</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[])">loadXsd</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#loadXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.XmlOptions)">loadXsd</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas,
-        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed in <em>schemas</em>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeForClass(java.lang.Class)">typeForClass</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the SchemaType from a corresponding XmlObject subclass,
- or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderForClassLoader(java.lang.ClassLoader)">typeLoaderForClassLoader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html">ClassLoader</A>&nbsp;loader)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a SchemaTypeLoader that searches for compiled schema types
- in the given ClassLoader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])">typeLoaderUnion</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>[]&nbsp;typeLoaders)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the union of a list of typeLoaders.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="NO_TYPE"><!-- --></A><H3>
-NO_TYPE</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>NO_TYPE</B></PRE>
-<DL>
-<DD>The SchemaType object given to an XmlObject instance when
- no type can be determined.
- <p>
- The NO_TYPE is the universal derived type.  That is, it is
- derived from all other schema types, and no instances of the
- NO_TYPE are valid. (It is not to be confused with the anyType,
- which is the universal base type from which all other types
- can be derived, and of which all instances are valid.)
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getQNameCache()"><!-- --></A><H3>
-getQNameCache</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/QNameCache.html">QNameCache</A> <B>getQNameCache</B>()</PRE>
-<DL>
-<DD>Returns a thread local QNameCache
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getQName(java.lang.String)"><!-- --></A><H3>
-getQName</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getQName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localPart)</PRE>
-<DL>
-<DD>Obtains a name from the thread local QNameCache
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getQName(java.lang.String, java.lang.String)"><!-- --></A><H3>
-getQName</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getQName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceUri,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localPart)</PRE>
-<DL>
-<DD>Obtains a name from the thread local QNameCache
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compilePath(java.lang.String)"><!-- --></A><H3>
-compilePath</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compilePath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compilePath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-compilePath</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compilePath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;pathExpr,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XPath, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached; 
- takes an option for specifying text that indicates the name of context node.
- The default is "this", as in "$this".
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - Options for the path. For example, you can call 
- the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)"><CODE>XmlOptions.setXqueryCurrentNodeVar(String)</CODE></A>
- method to specify a particular name for the expression 
- variable that indicates the context node.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compileQuery(java.lang.String)"><!-- --></A><H3>
-compileQuery</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compileQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compileQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-compileQuery</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>compileQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;queryExpr,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Compiles an XQuery, returning a String equal to that which was passed,
- but whose identity is that of one which has been precompiled and cached;
- takes an option for specifying text that indicates the context node.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - Options for the query. For example, you can call 
- the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)"><CODE>XmlOptions.setXqueryCurrentNodeVar(String)</CODE></A>
- method to specify a particular name for the expression 
- variable that indicates the context node.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getContextTypeLoader()"><!-- --></A><H3>
-getContextTypeLoader</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A> <B>getContextTypeLoader</B>()</PRE>
-<DL>
-<DD>Gets the SchemaTypeLoader based on the current thread's context
- ClassLoader. This is the SchemaTypeLoader that is used to assign
- schema types to XML documents by default. The SchemaTypeLoader is
- also consulted to resolve wildcards and xsi:type attributes.
- <p>
- The "parse" methods of XmlBeans all delegate to the
- "parseInstance" methods of the context type loader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBuiltinTypeSystem()"><!-- --></A><H3>
-getBuiltinTypeSystem</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A> <B>getBuiltinTypeSystem</B>()</PRE>
-<DL>
-<DD>Returns the builtin type system. This SchemaTypeSystem contains
- only the 46 builtin types defined by the XML Schema specification.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="loadXsd(org.apache.xmlbeans.XmlObject[])"><!-- --></A><H3>
-loadXsd</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A> <B>loadXsd</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.
- <p>
- Just like compileTypeSystem, but uses the context type loader for
- linking, and returns a unioned typeloader that is suitable for
- creating instances.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="loadXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-loadXsd</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A> <B>loadXsd</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD><p>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed in <em>schemas</em>.</p>
- 
- <p>This is just like compileTypeSystem, but uses the context type loader for
- linking, and returns a unioned typeloader that is suitable for
- creating instances.</p>
- 
- <p>Use the <em>options</em> parameter to specify one or both of the following:</p>
- 
- <ul>
- <li>A collection instance that should be used as an error listener during
- compilation, as described in <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A>.</li>
- <li>Whether validation should not be done when building the SchemaTypeSystem,
- as described in <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileNoValidation()"><CODE>XmlOptions.setCompileNoValidation()</CODE></A>.</li>
- </ul>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>schemas</CODE> - The schema definitions from which to build the schema type system.<DD><CODE>options</CODE> - Options specifying an error listener and/or validation behavior.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-compileXsd</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html">SchemaTypeSystem</A> <B>compileXsd</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]&nbsp;schemas,
-                                          <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;typepath,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD><p>Returns the SchemaTypeSystem that results from compiling the XML
- schema definitions passed.</p>
- 
- <p>The XmlObjects passed in should be w3c &lt;schema&gt; elements whose type
- is org.w3c.x2001.xmlSchema.Schema. (That is, schema elements in
- the XML namespace http://www.w3c.org/2001/XMLSchema.)  Also
- org.w3c.x2001.xmlSchema.SchemaDocument is permitted.</p>
- 
- <p>The optional second argument is a SchemaTypeLoader which will be
- consulted for already-compiled schema types which may be linked
- while processing the given schemas.</p>
- 
- <p>The SchemaTypeSystem that is returned should be combined
- (via <A HREF="../../../org/apache/xmlbeans/XmlBeans.html#typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><CODE>typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])</CODE></A>) with the typepath typeloader in order
- to create a typeloader that can be used for creating and validating
- instances.</p>
- 
- <p>Use the <em>options</em> parameter to specify the following:</p>
- 
- <ul>
- <li>A collection instance that should be used as an error listener during
- compilation, as described in <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A>.</li>
- <li>Whether validation should not be done when building the SchemaTypeSystem,
- as described in <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileNoValidation()"><CODE>XmlOptions.setCompileNoValidation()</CODE></A>.</li>
- </ul>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>schemas</CODE> - The schema definitions from which to build the schema type system.<DD><CODE>typepath</CODE> - The path to already-compiled schema types for linking while processing.<DD><CODE>options</CODE> - Options specifying an error listener and/or validation behavior.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeLoaderUnion(org.apache.xmlbeans.SchemaTypeLoader[])"><!-- --></A><H3>
-typeLoaderUnion</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A> <B>typeLoaderUnion</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>[]&nbsp;typeLoaders)</PRE>
-<DL>
-<DD>Returns the union of a list of typeLoaders. The returned
- SchemaTypeLoader searches the given list of SchemaTypeLoaders
- in order from first to last.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeLoaderForClassLoader(java.lang.ClassLoader)"><!-- --></A><H3>
-typeLoaderForClassLoader</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A> <B>typeLoaderForClassLoader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html">ClassLoader</A>&nbsp;loader)</PRE>
-<DL>
-<DD>Returns a SchemaTypeLoader that searches for compiled schema types
- in the given ClassLoader.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="typeForClass(java.lang.Class)"><!-- --></A><H3>
-typeForClass</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>typeForClass</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html">Class</A>&nbsp;c)</PRE>
-<DL>
-<DD>Returns the SchemaType from a corresponding XmlObject subclass,
- or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBeans.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.Factory.html
deleted file mode 100644
index 61bec09..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlBoolean.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlBoolean.Factory,XmlBoolean.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlBoolean.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBoolean.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlBoolean.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlBoolean.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlBoolean.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;true&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;true&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBoolean.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.html
deleted file mode 100644
index d1fd2ee..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlBoolean.html
+++ /dev/null
@@ -1,393 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlBoolean (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlBoolean,XmlBoolean interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlBoolean (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBoolean.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlBoolean</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlBoolean</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#boolean">xs:boolean</a> type.
- <p>
- Naturally, convertible to Java boolean.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html">XmlBoolean.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#booleanValue()">booleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()"><CODE>getBooleanValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()">getBooleanValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a boolean</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#set(boolean)">set</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)"><CODE>setBooleanValue(boolean)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)">setBooleanValue</A></B>(boolean&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a boolean</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="booleanValue()"><!-- --></A><H3>
-booleanValue</H3>
-<PRE>
-public boolean <B>booleanValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#getBooleanValue()"><CODE>getBooleanValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a boolean
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(boolean)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html#setBooleanValue(boolean)"><CODE>setBooleanValue(boolean)</CODE></A></I>
-<P>
-<DD>Sets this value as a boolean
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBooleanValue()"><!-- --></A><H3>
-getBooleanValue</H3>
-<PRE>
-public boolean <B>getBooleanValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a boolean
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBooleanValue(boolean)"><!-- --></A><H3>
-setBooleanValue</H3>
-<PRE>
-public void <B>setBooleanValue</B>(boolean&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as a boolean
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlBoolean.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.Factory.html
deleted file mode 100644
index 652b028..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:59 PDT 2003 -->
-<TITLE>
-XmlByte.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlByte.Factory,XmlByte.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlByte.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlByte.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlByte.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlByte.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlByte.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlByte.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.html
deleted file mode 100644
index 157a20d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlByte.html
+++ /dev/null
@@ -1,483 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlByte (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlByte,XmlByte interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlByte (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlByte.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlByte</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlByte</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#byte">xs:byte</a> type.
- <p>
- Naturally, convertible to Java byte.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html">XmlByte.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlShort"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.html#byteValue()">byteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlByte.html#getByteValue()"><CODE>getByteValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.html#getByteValue()">getByteValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a byte</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.html#set(byte)">set</A></B>(byte&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlByte.html#setByteValue(byte)"><CODE>setByteValue(byte)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlByte.html#setByteValue(byte)">setByteValue</A></B>(byte&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a byte</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlShort"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlShort.html#getShortValue()">getShortValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html#set(short)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html#setShortValue(short)">setShortValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html#shortValue()">shortValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInt.html#getIntValue()">getIntValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#intValue()">intValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#set(int)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#setIntValue(int)">setIntValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()">getLongValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#longValue()">longValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#set(long)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)">setLongValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="byteValue()"><!-- --></A><H3>
-byteValue</H3>
-<PRE>
-public byte <B>byteValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlByte.html#getByteValue()"><CODE>getByteValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a byte
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte&nbsp;s)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlByte.html#setByteValue(byte)"><CODE>setByteValue(byte)</CODE></A></I>
-<P>
-<DD>Sets this value as a byte
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteValue()"><!-- --></A><H3>
-getByteValue</H3>
-<PRE>
-public byte <B>getByteValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a byte
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteValue(byte)"><!-- --></A><H3>
-setByteValue</H3>
-<PRE>
-public void <B>setByteValue</B>(byte&nbsp;s)</PRE>
-<DL>
-<DD>Sets this value as a byte
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlByte.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCalendar.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCalendar.html
deleted file mode 100644
index 5ed7b6b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCalendar.html
+++ /dev/null
@@ -1,617 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlCalendar (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCalendar,XmlCalendar class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCalendar (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCalendar.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.util.GregorianCalendar">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlCalendar</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">java.util.Calendar</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html">java.util.GregorianCalendar</A>
-              |
-              +--<B>org.apache.xmlbeans.XmlCalendar</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Cloneable.html">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlCalendar</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></DL>
-
-<P>
-An XML Schema compatible subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>.
- XmlCalendar modifies several key details in the behavior of
- GregorianCalendar to make it more useful when dealing with XML dates.
- <p>
- It is easy to convert between XmlCalendar and <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>, or to
- parse or emit an XmlCalendar using a standard XML Schema
- lexical representation.
- <ol>
- <li>
- To match XML Schema dates, this XmlCalendar is a fully proleptic
- Gregorian calendar by default, which means that Gregorian calendar
- rules are applied backwards in time as if they had always been in
- effect, actual historical circumstances concerning the observance
- of the 1582 decree of Pope Gregory XIII notwithstanding.
- </li>
- <li>
- In order to better support partially-specified dates for XML Schema,
- this implementation provides a stable get(field) method
- that does not modify the instance if you are acessing a field right
- after it was explicitly set: a set followed by a get will always
- return the same thing and will not fill in any other fields. However,
- if you get a field that was not explicitly set, then all the fields
- are still automatically filled and normalized for you, just like a
- regular GregorianCalendar. If you wish to force the completion and
- defaulting of all the fields (without hunting to get one that happens
- to be unset), you can always do so by calling getTime().
- </li>
- <li>
- When a year is unspecified and needs to be filled in automatically
- (for example when using a .get or .getTime method as discussed above),
- the year is defaulted to year 0 (also known as 1 BC).  This is different
- from <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>, which chooses 1970. The reason 0 is preferable
- is that it is a leap year and so it permits the date --2-29 to be specified
- stably. A different default year can be chosen via the static method
- <A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#setDefaultYear(int)"><CODE>XmlCalendar.setDefaultYear()</CODE></A>, or by setting the 
- system property "user.defaultyear". If you do change this value, you should 
- pick another leap year such as 2000 and avoid non-leap years such as 1900.
- </li>
- <li>
- When constructing an XmlCalendar from an XML Schema
- formatted date or time string or GDate object, the timezone
- for the calendar is taken from the string if it is present, or
- taken to be <CODE>TimeZone.getDefault()</CODE> if not.
- <p>
-     For example, the XML timezone "Z" is translated to "GMT";
-     the XML timezone "+05:00" is translated to "GMT+05:00".
- </p>
- </li>
- <li>
- Finally, this implementation provides a String constructor and a
- toString() method that comply with the XML Schema conventions
- for formatting a date. If only a subset of fields have been
- explicitly set, toString() produces a string with the proper subset
- of information.
- </li>
- </ol>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlCalendar">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_java.util.GregorianCalendar"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#AD">AD</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#BC">BC</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_java.util.Calendar"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#AM">AM</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#AM_PM">AM_PM</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#APRIL">APRIL</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#areFieldsSet">areFieldsSet</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#AUGUST">AUGUST</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DATE">DATE</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DAY_OF_MONTH">DAY_OF_MONTH</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DAY_OF_WEEK">DAY_OF_WEEK</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DAY_OF_WEEK_IN_MONTH">DAY_OF_WEEK_IN_MONTH</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DAY_OF_YEAR">DAY_OF_YEAR</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DECEMBER">DECEMBER</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#DST_OFFSET">DST_OFFSET</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#ERA">ERA</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#FEBRUARY">FEBRUARY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#FIELD_COUNT">FIELD_COUNT</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#fields">fields</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#FRIDAY">FRIDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#HOUR">HOUR</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#HOUR_OF_DAY">HOUR_OF_DAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#isSet">isSet</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#isTimeSet">isTimeSet</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#JANUARY">JANUARY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#JULY">JULY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#JUNE">JUNE</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MARCH">MARCH</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MAY">MAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MILLISECOND">MILLISECOND</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MINUTE">MINUTE</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MONDAY">MONDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MONTH">MONTH</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#NOVEMBER">NOVEMBER</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#OCTOBER">OCTOBER</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#PM">PM</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#SATURDAY">SATURDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#SECOND">SECOND</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#SEPTEMBER">SEPTEMBER</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#SUNDAY">SUNDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#THURSDAY">THURSDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#time">time</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#TUESDAY">TUESDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#UNDECIMBER">UNDECIMBER</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#WEDNESDAY">WEDNESDAY</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#WEEK_OF_MONTH">WEEK_OF_MONTH</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#WEEK_OF_YEAR">WEEK_OF_YEAR</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#YEAR">YEAR</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#ZONE_OFFSET">ZONE_OFFSET</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar()">XmlCalendar</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty instance with no fields set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(java.util.Date)">XmlCalendar</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlCalendar from a Date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(org.apache.xmlbeans.GDateSpecification)">XmlCalendar</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;date)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlCalendar from a GDate.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal)">XmlCalendar</A></B>(int&nbsp;year,
-            int&nbsp;month,
-            int&nbsp;day,
-            int&nbsp;hour,
-            int&nbsp;minute,
-            int&nbsp;second,
-            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the default timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)">XmlCalendar</A></B>(int&nbsp;year,
-            int&nbsp;month,
-            int&nbsp;day,
-            int&nbsp;hour,
-            int&nbsp;minute,
-            int&nbsp;second,
-            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-            int&nbsp;tzSign,
-            int&nbsp;tzHour,
-            int&nbsp;tzMinute)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the specified timezone.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#XmlCalendar(java.lang.String)">XmlCalendar</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlSchemaDateString)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlCalendar for a standard XML
- schema formatted date string.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected &nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#computeTime()">computeTime</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides GregorianCalendar.computeTime to apply a different
- default year.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#get(int)">get</A></B>(int&nbsp;field)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value for a given time field.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#getDefaultYear()">getDefaultYear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default year that is used when no year is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#setDefaultYear(int)">setDefaultYear</A></B>(int&nbsp;year)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default year to be used when no year is specified.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the XmlCalendar using a standard XML Schema
- format, as described in XmlCalendar(String s).</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.util.GregorianCalendar"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#add(int, int)">add</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#computeFields()">computeFields</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getActualMaximum(int)">getActualMaximum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getActualMinimum(int)">getActualMinimum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getGreatestMinimum(int)">getGreatestMinimum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getGregorianChange()">getGregorianChange</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getLeastMaximum(int)">getLeastMaximum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getMaximum(int)">getMaximum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#getMinimum(int)">getMinimum</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#isLeapYear(int)">isLeapYear</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#roll(int, boolean)">roll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#roll(int, int)">roll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#setGregorianChange(java.util.Date)">setGregorianChange</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.util.Calendar"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#after(java.lang.Object)">after</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#before(java.lang.Object)">before</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#clear()">clear</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#clear(int)">clear</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#complete()">complete</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getAvailableLocales()">getAvailableLocales</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getFirstDayOfWeek()">getFirstDayOfWeek</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getInstance()">getInstance</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getInstance(java.util.Locale)">getInstance</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getInstance(java.util.TimeZone)">getInstance</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getInstance(java.util.TimeZone, java.util.Locale)">getInstance</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getMinimalDaysInFirstWeek()">getMinimalDaysInFirstWeek</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getTime()">getTime</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getTimeInMillis()">getTimeInMillis</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#getTimeZone()">getTimeZone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#internalGet(int)">internalGet</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#isLenient()">isLenient</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#isSet(int)">isSet</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#set(int, int)">set</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#set(int, int, int)">set</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#set(int, int, int, int, int)">set</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#set(int, int, int, int, int, int)">set</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setFirstDayOfWeek(int)">setFirstDayOfWeek</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setLenient(boolean)">setLenient</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setMinimalDaysInFirstWeek(int)">setMinimalDaysInFirstWeek</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setTime(java.util.Date)">setTime</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setTimeInMillis(long)">setTimeInMillis</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#setTimeZone(java.util.TimeZone)">setTimeZone</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlCalendar(java.lang.String)"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlSchemaDateString)</PRE>
-<DL>
-<DD>Constructs an XmlCalendar for a standard XML
- schema formatted date string.
- 
- The parser accepts any of the following formats:
- 
- YYYY-MM-DDThh:mm:ss          - dateTime
- YYYY-MM-DD                   - date
-            hh:mm:ss          - time
- YYYY                         - gYear
-    --MM                      - gMonth
-      ---DD                   - gDay
- 
- The parser actually accepts all 16 combinations of subsets of
- fields (Y, M, D, T) using the same scheme, even for combinations
- that are not defined as types in the schema spec, such as
- year, day, and time:
- 
- YYYY--DDThh:mm:ss            - [everything but month specified]
- 
- In the string, each field must be padded to its full width, for
- example, January must be --01, not just --1.
- 
- In particular, a year must be padded to at least four digits, so
- "98" is not a valid year, although "1998" and "0098" are both valid
- years, unambiguously 19 centuries separated from each other.  A year
- may also be preceded by a minus symbol: 0000 is 1 BC and -0001 is
- 2 BC.
-
- Finally a timezone is always allowed (yet optional) at the end.
- Timezones must be either "Z" (UTC, which we translate to GMT),
- or simple offsets from UTC in the range "-14:00" to "+14:00",
- for example: "14:30:00-05:00" specifies 2:30 PM in the
- afternoon at UTC-05:00, which is the same as EST.
- 
- If a timezone is not specified, the default TimeZone is used.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCalendar(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;date)</PRE>
-<DL>
-<DD>Constructs an XmlCalendar from a GDate.
- 
- If the instance is not completed, you can round-trip to an
- equivalent GDate by writing "new GDate(new XmlCalendar(gdate))".
- However, if you access any of the unset fields of the calendar, all
- the fields will be automatically filled in, so partial dates
- without timezones or other fields will not round-trip after access.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCalendar(java.util.Date)"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;date)</PRE>
-<DL>
-<DD>Constructs an XmlCalendar from a Date.
- 
- The default TimeZone is used for computing the various fields.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal)"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>(int&nbsp;year,
-                   int&nbsp;month,
-                   int&nbsp;day,
-                   int&nbsp;hour,
-                   int&nbsp;minute,
-                   int&nbsp;second,
-                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction)</PRE>
-<DL>
-<DD>Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the default timezone.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCalendar(int, int, int, int, int, int, java.math.BigDecimal, int, int, int)"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>(int&nbsp;year,
-                   int&nbsp;month,
-                   int&nbsp;day,
-                   int&nbsp;hour,
-                   int&nbsp;minute,
-                   int&nbsp;second,
-                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;fraction,
-                   int&nbsp;tzSign,
-                   int&nbsp;tzHour,
-                   int&nbsp;tzMinute)</PRE>
-<DL>
-<DD>Constructs an XmlCalendar with the specified year, month, day,
- hours, minutes, seconds, and optional fractional seconds, in
- the specified timezone.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCalendar()"><!-- --></A><H3>
-XmlCalendar</H3>
-<PRE>
-public <B>XmlCalendar</B>()</PRE>
-<DL>
-<DD>Constructs an empty instance with no fields set.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="get(int)"><!-- --></A><H3>
-get</H3>
-<PRE>
-public int <B>get</B>(int&nbsp;field)</PRE>
-<DL>
-<DD>Gets the value for a given time field.
- 
- Unlike the GregorianCalendar implementation, the get() does not
- force a complete of all fields.  If you wish to force a completion
- of all the fields, call getTime() first.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#get(int)">get</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDefaultYear()"><!-- --></A><H3>
-getDefaultYear</H3>
-<PRE>
-public static int <B>getDefaultYear</B>()</PRE>
-<DL>
-<DD>Returns the default year that is used when no year is specified.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDefaultYear(int)"><!-- --></A><H3>
-setDefaultYear</H3>
-<PRE>
-public static void <B>setDefaultYear</B>(int&nbsp;year)</PRE>
-<DL>
-<DD>Sets the default year to be used when no year is specified.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="computeTime()"><!-- --></A><H3>
-computeTime</H3>
-<PRE>
-protected void <B>computeTime</B>()</PRE>
-<DL>
-<DD>Overrides GregorianCalendar.computeTime to apply a different
- default year.  (It must be a leap year.)
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html#computeTime()">computeTime</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Prints the XmlCalendar using a standard XML Schema
- format, as described in XmlCalendar(String s).
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCalendar.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.util.GregorianCalendar">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.ChangeStamp.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.ChangeStamp.html
deleted file mode 100644
index 425cf41..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.ChangeStamp.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlCursor.ChangeStamp (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCursor.ChangeStamp,XmlCursor.ChangeStamp interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCursor.ChangeStamp (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.ChangeStamp.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlCursor.ChangeStamp</H2>
-<DL>
-<DT><B>Enclosing interface:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static interface <B>XmlCursor.ChangeStamp</B></DL>
-
-<P>
-Represents the state of a dcoument at a particular point
- in time.  It is used to determine if a document has been changed
- since that point in time.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html#hasChanged()">hasChanged</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not the document assoiated with this ChangeStamp
- has been altered since the ChangeStamp had been created.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="hasChanged()"><!-- --></A><H3>
-hasChanged</H3>
-<PRE>
-public boolean <B>hasChanged</B>()</PRE>
-<DL>
-<DD>Returns whether or not the document assoiated with this ChangeStamp
- has been altered since the ChangeStamp had been created.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.ChangeStamp.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.TokenType.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.TokenType.html
deleted file mode 100644
index a678208..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.TokenType.html
+++ /dev/null
@@ -1,930 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlCursor.TokenType (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCursor.TokenType,XmlCursor.TokenType class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCursor.TokenType (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.TokenType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlCursor.TokenType</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlCursor.TokenType</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlCursor.TokenType</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-An enumeration that identifies the type of an XML token.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#ATTR">ATTR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton attribute token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#COMMENT">COMMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton comment token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#END">END</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton end-element token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#ENDDOC">ENDDOC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton start-document token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ATTR">INT_ATTR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attribute token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_COMMENT">INT_COMMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The comment token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_END">INT_END</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The end-element token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_ENDDOC">INT_ENDDOC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The end-document token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NAMESPACE">INT_NAMESPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The namespace declaration token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_NONE">INT_NONE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_PROCINST">INT_PROCINST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The processing instruction token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_START">INT_START</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The start-element token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_STARTDOC">INT_STARTDOC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The start-document token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#INT_TEXT">INT_TEXT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The text token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#NAMESPACE">NAMESPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton namespace declaration token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#NONE">NONE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton no-token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#PROCINST">PROCINST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton processing instruction token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#START">START</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton start-element token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#STARTDOC">STARTDOC</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton start-document token type</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#TEXT">TEXT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The singleton text token type</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns one of the INT_ values defined in this class.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isAnyAttr()">isAnyAttr</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is attribute or namespace declaration token</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isAttr()">isAttr</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is attribute token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isComment()">isComment</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is comment token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isContainer()">isContainer</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is start-document or start-element token</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isEnd()">isEnd</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is end-element token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isEnddoc()">isEnddoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is end-document token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isFinish()">isFinish</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is end-document or end-element token</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isNamespace()">isNamespace</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is namespace declaration token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isNone()">isNone</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if no token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isProcinst()">isProcinst</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is processing instruction token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isStart()">isStart</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is start-element token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isStartdoc()">isStartdoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is start-document token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#isText()">isText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if is text token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="INT_NONE"><!-- --></A><H3>
-INT_NONE</H3>
-<PRE>
-public static final int <B>INT_NONE</B></PRE>
-<DL>
-<DD>No token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_NONE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_STARTDOC"><!-- --></A><H3>
-INT_STARTDOC</H3>
-<PRE>
-public static final int <B>INT_STARTDOC</B></PRE>
-<DL>
-<DD>The start-document token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_STARTDOC">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_ENDDOC"><!-- --></A><H3>
-INT_ENDDOC</H3>
-<PRE>
-public static final int <B>INT_ENDDOC</B></PRE>
-<DL>
-<DD>The end-document token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_ENDDOC">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_START"><!-- --></A><H3>
-INT_START</H3>
-<PRE>
-public static final int <B>INT_START</B></PRE>
-<DL>
-<DD>The start-element token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_START">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_END"><!-- --></A><H3>
-INT_END</H3>
-<PRE>
-public static final int <B>INT_END</B></PRE>
-<DL>
-<DD>The end-element token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_END">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_TEXT"><!-- --></A><H3>
-INT_TEXT</H3>
-<PRE>
-public static final int <B>INT_TEXT</B></PRE>
-<DL>
-<DD>The text token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_TEXT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_ATTR"><!-- --></A><H3>
-INT_ATTR</H3>
-<PRE>
-public static final int <B>INT_ATTR</B></PRE>
-<DL>
-<DD>The attribute token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_ATTR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_NAMESPACE"><!-- --></A><H3>
-INT_NAMESPACE</H3>
-<PRE>
-public static final int <B>INT_NAMESPACE</B></PRE>
-<DL>
-<DD>The namespace declaration token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_NAMESPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_COMMENT"><!-- --></A><H3>
-INT_COMMENT</H3>
-<PRE>
-public static final int <B>INT_COMMENT</B></PRE>
-<DL>
-<DD>The comment token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_COMMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="INT_PROCINST"><!-- --></A><H3>
-INT_PROCINST</H3>
-<PRE>
-public static final int <B>INT_PROCINST</B></PRE>
-<DL>
-<DD>The processing instruction token.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html#intValue()"><CODE>intValue()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlCursor.TokenType.INT_PROCINST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NONE"><!-- --></A><H3>
-NONE</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>NONE</B></PRE>
-<DL>
-<DD>The singleton no-token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="STARTDOC"><!-- --></A><H3>
-STARTDOC</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>STARTDOC</B></PRE>
-<DL>
-<DD>The singleton start-document token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="ENDDOC"><!-- --></A><H3>
-ENDDOC</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>ENDDOC</B></PRE>
-<DL>
-<DD>The singleton start-document token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="START"><!-- --></A><H3>
-START</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>START</B></PRE>
-<DL>
-<DD>The singleton start-element token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="END"><!-- --></A><H3>
-END</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>END</B></PRE>
-<DL>
-<DD>The singleton end-element token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="TEXT"><!-- --></A><H3>
-TEXT</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>TEXT</B></PRE>
-<DL>
-<DD>The singleton text token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="ATTR"><!-- --></A><H3>
-ATTR</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>ATTR</B></PRE>
-<DL>
-<DD>The singleton attribute token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="NAMESPACE"><!-- --></A><H3>
-NAMESPACE</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>NAMESPACE</B></PRE>
-<DL>
-<DD>The singleton namespace declaration token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="COMMENT"><!-- --></A><H3>
-COMMENT</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>COMMENT</B></PRE>
-<DL>
-<DD>The singleton comment token type
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="PROCINST"><!-- --></A><H3>
-PROCINST</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>PROCINST</B></PRE>
-<DL>
-<DD>The singleton processing instruction token type
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD>Returns one of the INT_ values defined in this class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNone()"><!-- --></A><H3>
-isNone</H3>
-<PRE>
-public boolean <B>isNone</B>()</PRE>
-<DL>
-<DD>True if no token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStartdoc()"><!-- --></A><H3>
-isStartdoc</H3>
-<PRE>
-public boolean <B>isStartdoc</B>()</PRE>
-<DL>
-<DD>True if is start-document token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEnddoc()"><!-- --></A><H3>
-isEnddoc</H3>
-<PRE>
-public boolean <B>isEnddoc</B>()</PRE>
-<DL>
-<DD>True if is end-document token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStart()"><!-- --></A><H3>
-isStart</H3>
-<PRE>
-public boolean <B>isStart</B>()</PRE>
-<DL>
-<DD>True if is start-element token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEnd()"><!-- --></A><H3>
-isEnd</H3>
-<PRE>
-public boolean <B>isEnd</B>()</PRE>
-<DL>
-<DD>True if is end-element token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isText()"><!-- --></A><H3>
-isText</H3>
-<PRE>
-public boolean <B>isText</B>()</PRE>
-<DL>
-<DD>True if is text token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttr()"><!-- --></A><H3>
-isAttr</H3>
-<PRE>
-public boolean <B>isAttr</B>()</PRE>
-<DL>
-<DD>True if is attribute token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNamespace()"><!-- --></A><H3>
-isNamespace</H3>
-<PRE>
-public boolean <B>isNamespace</B>()</PRE>
-<DL>
-<DD>True if is namespace declaration token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isComment()"><!-- --></A><H3>
-isComment</H3>
-<PRE>
-public boolean <B>isComment</B>()</PRE>
-<DL>
-<DD>True if is comment token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isProcinst()"><!-- --></A><H3>
-isProcinst</H3>
-<PRE>
-public boolean <B>isProcinst</B>()</PRE>
-<DL>
-<DD>True if is processing instruction token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isContainer()"><!-- --></A><H3>
-isContainer</H3>
-<PRE>
-public boolean <B>isContainer</B>()</PRE>
-<DL>
-<DD>True if is start-document or start-element token
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFinish()"><!-- --></A><H3>
-isFinish</H3>
-<PRE>
-public boolean <B>isFinish</B>()</PRE>
-<DL>
-<DD>True if is end-document or end-element token
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAnyAttr()"><!-- --></A><H3>
-isAnyAttr</H3>
-<PRE>
-public boolean <B>isAnyAttr</B>()</PRE>
-<DL>
-<DD>True if is attribute or namespace declaration token
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.TokenType.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlBookmark.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlBookmark.html
deleted file mode 100644
index fc7582e..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlBookmark.html
+++ /dev/null
@@ -1,390 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlCursor.XmlBookmark (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCursor.XmlBookmark,XmlCursor.XmlBookmark class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCursor.XmlBookmark (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.XmlBookmark.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlCursor.XmlBookmark</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlCursor.XmlBookmark</B>
-</PRE>
-<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html">XmlLineNumber</A></DD>
-</DL>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public abstract static class <B>XmlCursor.XmlBookmark</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-Subclasses of XmlBookmark can be used to annotate an XML document.
- This class is abstract to prevent parties from inadvertently 
- interfering with each others' bookmarks without explicitly
- sharing a bookmark class.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html">XmlCursor.XmlMark</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_currentMark">_currentMark</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The mark is set by the host document; it is capable of
- returning an XmlCursor implementation at the location of
- the bookmark.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ref/Reference.html">Reference</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_ref">_ref</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If non-null, the ref is used by the host document
- to maintain a reference to the bookmark.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#XmlCursor.XmlBookmark()">XmlCursor.XmlBookmark</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a strongly-referenced bookmark.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#XmlCursor.XmlBookmark(boolean)">XmlCursor.XmlBookmark</A></B>(boolean&nbsp;weak)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a bookmark.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#createCursor()">createCursor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call the createCursor method to create a new cursor which is
- positioned at the same splace as the bookmark.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#getKey()">getKey</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default key for bookmarks is the class which implements
- them.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#toBookmark(org.apache.xmlbeans.XmlCursor)">toBookmark</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the given cursor to this bookmark, and returns it.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="_currentMark"><!-- --></A><H3>
-_currentMark</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html">XmlCursor.XmlMark</A> <B>_currentMark</B></PRE>
-<DL>
-<DD>The mark is set by the host document; it is capable of
- returning an XmlCursor implementation at the location of
- the bookmark.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="_ref"><!-- --></A><H3>
-_ref</H3>
-<PRE>
-public final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ref/Reference.html">Reference</A> <B>_ref</B></PRE>
-<DL>
-<DD>If non-null, the ref is used by the host document
- to maintain a reference to the bookmark.  If it is a weak
- reference, the host document will not prevent the Bookmark
- from being garbage collected.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlCursor.XmlBookmark()"><!-- --></A><H3>
-XmlCursor.XmlBookmark</H3>
-<PRE>
-public <B>XmlCursor.XmlBookmark</B>()</PRE>
-<DL>
-<DD>Constructs a strongly-referenced bookmark.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlCursor.XmlBookmark(boolean)"><!-- --></A><H3>
-XmlCursor.XmlBookmark</H3>
-<PRE>
-public <B>XmlCursor.XmlBookmark</B>(boolean&nbsp;weak)</PRE>
-<DL>
-<DD>Constructs a bookmark.
-<P>
-<DT><B>Parameters:</B><DD><CODE>weak</CODE> - true if the document's reference to the bookmark should be a WeakReference</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="createCursor()"><!-- --></A><H3>
-createCursor</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>createCursor</B>()</PRE>
-<DL>
-<DD>Call the createCursor method to create a new cursor which is
- positioned at the same splace as the bookmark.  It is much more
- efficient to call toBookmark on an existing cursor than it
- is to create a new cursor.  However, toBookmark may fail if the
- bookmark is in a different document than the cursor.  It is
- under these circumstances where createCursor needs to be called
- on the bookmark.  Subsequent navigations to bookmark
- positions should attempt to reuse the last cursor to
- improve performace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toBookmark(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-toBookmark</H3>
-<PRE>
-public final <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>toBookmark</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;c)</PRE>
-<DL>
-<DD>Moves the given cursor to this bookmark, and returns it.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getKey()"><!-- --></A><H3>
-getKey</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getKey</B>()</PRE>
-<DL>
-<DD>The default key for bookmarks is the class which implements
- them.  This way, multiple parties using bookmarks in the
- same instance document will not interfere with eachother.
- One can, however, override getKey() to use a key other than
- the class.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.XmlBookmark.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlMark.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlMark.html
deleted file mode 100644
index 895b269..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.XmlMark.html
+++ /dev/null
@@ -1,210 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlCursor.XmlMark (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCursor.XmlMark,XmlCursor.XmlMark interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCursor.XmlMark (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.XmlMark.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlCursor.XmlMark</H2>
-<DL>
-<DT><B>Enclosing interface:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static interface <B>XmlCursor.XmlMark</B></DL>
-
-<P>
-An abstract <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> factory.
- Implementations of XmlCursor implement XmlMark to be able to
- reconstitute a cursor from a bookmark. When content moves between
- implementations, the XmlMark is set to the implmentation's which
- recieves the new content.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html#createCursor()">createCursor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="createCursor()"><!-- --></A><H3>
-createCursor</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>createCursor</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.XmlMark.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.html
deleted file mode 100644
index f422421..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlCursor.html
+++ /dev/null
@@ -1,3763 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlCursor (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlCursor,XmlCursor interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlCursor (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlCursor</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlCursor</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DL>
-
-<P>
-Represents a position between two logical tokens in an XML document. 
- 
- The tokens themselves are not exposed as objects, but their type and properties
- are discoverable through methods on the cursor.  In particular, the general
- category of token is represented by a <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><CODE>TokenType</CODE></A>.<br/><br/>
- 
- You use an XmlCursor instance to navigate through and manipulate an XML 
- instance document. 
- Once you obtain an XML document, you can create a cursor to represent 
- a specific place in the XML. Because you can use a cursor with or 
- without a schema corresponding to the XML, cursors are an ideal 
- way to handle XML without a schema. You can create a new cursor by
- calling the <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()"><CODE>newCursor</CODE></A> method 
- exposed by an object representing
- the XML, whether it was parsed into a strong type compiled from 
- schema or an <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> (as in the no-schema case).<br/><br/>
- 
- With an XmlCursor, you can also: <br/><br/>
- 
- <ul>
- <li>Execute XQuery and XPath expressions against the XML with the
- execQuery and selectPath methods.</li>
- 
- <li>Edit and reshape the document by inserting, moving, copying, and removing
- XML.</li>
- 
- <li>Insert bookmarks that "stick" to the XML at the cursor's
- position even if the cursor or XML moves.</li>
-
- <li>Get and set values for containers (elements and whole documents),
- attributes, processing instructions, and comments.</li>
- </ul>
- 
- A cursor moves through XML by moving past tokens. A
- token represents a category of XML markup, such as the start of an element, 
- its end, an attribute, comment, and so on. XmlCursor methods such as
- toNextToken, toNextSibling, toParent, and so on move the cursor 
- among tokens. Each token's category is of a particular <em>type</em>, represented 
- by one of the nine types defined by the <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><CODE>TokenType</CODE></A> class. <br/><br/>
- 
- When you get a new cursor for a whole instance document, the cursor is
- intially located before the STARTDOC token. This token, which has no analogy
- in the XML specification, is present in this logical model of XML
- so that you may distinguish between the document as a whole
- and the content of the document. Terminating the document is an ENDDOC
- token. This token is also not part of the XML specification. A cursor 
- located immediately before this token is at the very end of the document. 
- It is not possible to position the cursor after the ENDDOC token. 
- Thus, the STARTDOC and ENDDOC tokens are effectively "bookends" for the content of 
- the document.<br/><br/>
- 
- For example, for the following XML, if you were the navigate a cursor
- through the XML document using toNextToken(), the list of token types that 
- follows represents the token sequence you would encounter. <br/><br/>
- 
- <pre>
- &lt;sample x='y'&gt;
-     &lt;value&gt;foo&lt;/value&gt;
- &lt;/sample&gt;
- </pre>
- 
- STARTDOC <br/>
- START (sample) <br/>
- ATTR (x='y') <br/>
- TEXT ("\n    ") <br/>
- START (value) <br/>
- TEXT ("foo") <br/>
- END (value) <br/>
- TEXT ("\n") <br/>
- END (sample)<br/>
- ENDDOC <br/><br/>
-
- When there are no more tokens available, hasNextToken() returns
- false and toNextToken() returns the special token type NONE and does not move
- the cursor.
- <br/><br/>
- 
- The <A HREF="../../../org/apache/xmlbeans/XmlCursor.html#currentTokenType()"><CODE>currentTokenType()</CODE></A> method 
- will return the type of the token that is immediately after the cursor. 
- You can also use a number of convenience methods that test for a particular 
- token type. These include the methods isStart(), 
- isStartdoc(), isText(), isAttr(), and so on. Each returns a boolean 
- value indicating whether the token that follows the cursor is the type 
- in question. 
- <br/><br/>
- 
- A few other methods determine whether the token is of a kind that may include 
- multiple token types. The isAnyAttr() method, for example, returns true if
- the token immediately following the cursor is any kind of attribute, 
- including those of the ATTR token type and xmlns attributes.
- <br/><br/>
- 
- Legitimate sequences of tokens for an XML document are described
- by the following Backus-Naur Form (BNF): <br/>
- 
- <pre>
- &lt;doc&gt; ::= STARTDOC &lt;attributes&gt; &lt;content&gt; ENDDOC
- &lt;element&gt; ::= START &lt;attributes&gt; &lt;content&gt; END
- &lt;attributes&gt; ::= ( ATTR | NAMESPACE ) *
- &lt;content&gt; ::= ( COMMENT | PROCINST | TEXT | &lt;element&gt; ) *
- </pre>
- 
- Note that a legitimate sequence is STARTDOC ENDDOC, the result of 
- creating a brand new instance of an empty document. Also note that 
- attributes may only follow container tokens (STARTDOC or START)
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;interface</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html">XmlCursor.ChangeStamp</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Represents the state of a dcoument at a particular point
- in time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An enumeration that identifies the type of an XML token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses of XmlBookmark can be used to annotate an XML document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;interface</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html">XmlCursor.XmlMark</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An abstract <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> factory.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#addToSelection()">addToSelection</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the current location of the cursor to the selection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#beginElement(javax.xml.namespace.QName)">beginElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element around this cursor, giving the element the specified 
- qualified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#beginElement(java.lang.String)">beginElement</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element around this cursor, giving the element the specified 
- local name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#beginElement(java.lang.String, java.lang.String)">beginElement</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element around this cursor, giving the element the specified 
- local name and associating it with the specified namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#clearBookmark(java.lang.Object)">clearBookmark</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the bookmark whose key is specified, if the bookmark
- exists at this cursor's location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#clearSelections()">clearSelections</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears this cursor's selection, but does not modify the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#comparePosition(org.apache.xmlbeans.XmlCursor)">comparePosition</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an integer indicating whether this cursor is before, 
- after, or at the same position as the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#copyChars(int, org.apache.xmlbeans.XmlCursor)">copyChars</A></B>(int&nbsp;maxCharacterCount,
-          <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies characters to the position immediately after the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#copyXml(org.apache.xmlbeans.XmlCursor)">copyXml</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#copyXmlContents(org.apache.xmlbeans.XmlCursor)">copyXmlContents</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the contents of the container (STARTDOC OR START) immediately to
- the right of the cursor to the location specified by the <em>toHere</em> cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#currentTokenType()">currentTokenType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of the current token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#dispose()">dispose</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deallocates resources needed to manage the cursor, rendering this cursor
- inoperable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#execQuery(java.lang.String)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified XQuery expression against the XML this
- cursor is in.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified XQuery expression against the XML this
- cursor is in, and using the specified options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getAllBookmarkRefs(java.util.Collection)">getAllBookmarkRefs</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;listToFill)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all the bookmarks at this location, adding them to
- the specified collection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getAllNamespaces(java.util.Map)">getAllNamespaces</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;addToThis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to the specified map, all the namespaces in scope at the container
- where this cursor is positioned.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getAttributeText(javax.xml.namespace.QName)">getAttributeText</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When at a START or STARTDOC, returns the attribute text for the given
- attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getBookmark(java.lang.Object)">getBookmark</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the bookmark with the specified key 
- at this cursor's location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getChars()">getChars</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns characters to the right of the cursor up to the next token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getChars(char[], int, int)">getChars</A></B>(char[]&nbsp;returnedChars,
-         int&nbsp;offset,
-         int&nbsp;maxCharacterCount)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html">XmlCursor.ChangeStamp</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getDocChangeStamp()">getDocChangeStamp</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current change stamp for the document the current cursor is in.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getName()">getName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the current token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getObject()">getObject</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the strongly-typed XmlObject at the current START,
- STARTDOC, or ATTR.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getSelectionCount()">getSelectionCount</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the count of the current selection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getTextValue()">getTextValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the text value of the current document, element, attribute,
- comment, procinst or text token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#getTextValue(char[], int, int)">getTextValue</A></B>(char[]&nbsp;returnedChars,
-             int&nbsp;offset,
-             int&nbsp;maxCharacterCount)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the text value of the current document, element, attribute,
- comment, processing instruction or text token, counting right from 
- this cursor's location up to <em>maxCharacterCount</em>,
- and copies the returned text into <em>returnedChars</em>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#hasNextSelection()">hasNextSelection</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not there is a next selection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#hasNextToken()">hasNextToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there is a next token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#hasPrevToken()">hasPrevToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if there is a previous token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttribute(javax.xml.namespace.QName)">insertAttribute</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new attribute immediately before this cursor's location, giving it
- the specified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttribute(java.lang.String)">insertAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttribute(java.lang.String, java.lang.String)">insertAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name and associating it with the specified namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(javax.xml.namespace.QName, java.lang.String)">insertAttributeWithValue</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(java.lang.String, java.lang.String)">insertAttributeWithValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;Name,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new attribute immediately before this cursor's location, giving it
- the specified value and name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertAttributeWithValue(java.lang.String, java.lang.String, java.lang.String)">insertAttributeWithValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value, and associating it with the specified namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertChars(java.lang.String)">insertChars</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the specified text immediately before this cursor's location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertComment(java.lang.String)">insertComment</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an XML comment immediately before the cursor's location, 
- giving it the specified content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElement(javax.xml.namespace.QName)">insertElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an element immediately before this cursor's location, giving 
- the element the specified qualified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElement(java.lang.String)">insertElement</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an element immediately before this cursor's location, giving 
- the element the specified local name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElement(java.lang.String, java.lang.String)">insertElement</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and associating it with specified namespace</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElementWithText(javax.xml.namespace.QName, java.lang.String)">insertElementWithText</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element immediately before this cursor's location, giving the
- element the specified qualified name and content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElementWithText(java.lang.String, java.lang.String)">insertElementWithText</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertElementWithText(java.lang.String, java.lang.String, java.lang.String)">insertElementWithText</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new element immediately before this cursor's location, giving the
- element the specified local name, associating it with the specified namespace, 
- and giving it the specified content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertNamespace(java.lang.String, java.lang.String)">insertNamespace</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a namespace declaration immediately before the cursor's location, 
- giving it the specified prefix and URI.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#insertProcInst(java.lang.String, java.lang.String)">insertProcInst</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;target,
-               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts an XML processing instruction immediately before the cursor's location, 
- giving it the specified target and text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isAnyAttr()">isAnyAttr</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is any attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isAtSamePositionAs(org.apache.xmlbeans.XmlCursor)">isAtSamePositionAs</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if this cursor is at the same position as
- the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isAttr()">isAttr</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is an ATTR token type, meaning 
- just before an attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isComment()">isComment</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a COMMENT token type, meaning 
- just before a comment.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isContainer()">isContainer</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a container token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isEnd()">isEnd</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is an END token type, meaning 
- just before an element's end.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isEnddoc()">isEnddoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is an ENDDOC token type, meaning 
- at the very end of the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isFinish()">isFinish</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a finish token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isInSameDocument(org.apache.xmlbeans.XmlCursor)">isInSameDocument</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the specified cursor is in the same document as
- this cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isLeftOf(org.apache.xmlbeans.XmlCursor)">isLeftOf</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if this cursor is to the left of (or before)
- the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isNamespace()">isNamespace</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a NAMESPACE token type, meaning 
- just before a namespace declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isProcinst()">isProcinst</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a PROCINST token type, meaning 
- just before a processing instruction.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isRightOf(org.apache.xmlbeans.XmlCursor)">isRightOf</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if this cursor is to the right of (or after)
- the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isStart()">isStart</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this token is a START token type, meaning 
- just before an element's start.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isStartdoc()">isStartdoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the current token is a STARTDOC token type, meaning 
- at the very root of the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#isText()">isText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the this token is a TEXT token type, meaning 
- just before or inside text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#moveChars(int, org.apache.xmlbeans.XmlCursor)">moveChars</A></B>(int&nbsp;maxCharacterCount,
-          <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves characters immediately after this cursor to the position immediately 
- after the specified cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#moveXml(org.apache.xmlbeans.XmlCursor)">moveXml</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor, shifting XML at that location 
- to the right to make room.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#moveXmlContents(org.apache.xmlbeans.XmlCursor)">moveXmlContents</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the contents of the container (STARTDOC OR START) immediately after
- this cursor to the location specified by the <em>toHere</em> cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#namespaceForPrefix(java.lang.String)">namespaceForPrefix</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace URI indicated by the given prefix.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#pop()">pop</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restores the cursor location most recently saved with the push() method.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#prefixForNamespace(java.lang.String)">prefixForNamespace</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a prefix that can be used to indicate a namespace URI.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#prevTokenType()">prevTokenType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of the previous token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#push()">push</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the current location of this cursor on an internal stack of saved
- positions (independent of selection).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#removeAttribute(javax.xml.namespace.QName)">removeAttribute</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When at a START or STARTDOC, removes the attribute with the given name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#removeChars(int)">removeChars</A></B>(int&nbsp;maxCharacterCount)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#removeXml()">removeXml</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the XML that is immediately after this cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#removeXmlContents()">removeXmlContents</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the contents of the container (STARTDOC OR START) immediately after
- this cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#selectPath(java.lang.String)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified XPath expression against the XML that this 
- cursor is in.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified XPath expression against the XML that this 
- cursor is in.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#setAttributeText(javax.xml.namespace.QName, java.lang.String)">setAttributeText</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When at a START or STARTDOC, sets the attribute text for the given
- attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#setBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)">setBookmark</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>&nbsp;bookmark)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a bookmark to the document at this cursor's location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#setName(javax.xml.namespace.QName)">setName</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the current token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#setTextValue(char[], int, int)">setTextValue</A></B>(char[]&nbsp;sourceChars,
-             int&nbsp;offset,
-             int&nbsp;length)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the text value of the XML at this cursor's location (if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST) to the 
- contents of the specified character array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#setTextValue(java.lang.String)">setTextValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the text value of the XML at this cursor's location if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)">toBookmark</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>&nbsp;bookmark)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the same position as the bookmark.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toChild(int)">toChild</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the child element specified by <em>index</em>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toChild(javax.xml.namespace.QName)">toChild</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first child element of the specified qualified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toChild(javax.xml.namespace.QName, int)">toChild</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-        int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the specified <em>index</em> child element of the 
- specified name, where that element is the .</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toChild(java.lang.String)">toChild</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first child element of the specified name in 
- no namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toChild(java.lang.String, java.lang.String)">toChild</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first child element of the specified name in the 
- specified namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toCursor(org.apache.xmlbeans.XmlCursor)">toCursor</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;moveTo)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the same position as the moveTo cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toEndDoc()">toEndDoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the ENDDOC token, which is the end
- of the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toEndToken()">toEndToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the END or ENDDOC token corresponding to the
- current START or STARTDOC, and returns END or ENDDOC.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toFirstAttribute()">toFirstAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toFirstChild()">toFirstChild</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first child element, or returns false and
- does not move the cursor if there are no element children.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toFirstContentToken()">toFirstContentToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the first token in the content of the current
- START or STARTDOC.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toLastAttribute()">toLastAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the last attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toLastChild()">toLastChild</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the last element child, or returns false and
- does not move the cursor if there are no element children.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextAttribute()">toNextAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next sibling attribute, or returns
- false and does not move the cursor if there is no next
- sibling attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextBookmark(java.lang.Object)">toNextBookmark</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the location after its current position
- where a bookmark with the given key exists.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextChar(int)">toNextChar</A></B>(int&nbsp;maxCharacterCount)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor forward by the specified number of characters, and
- stops at the next non-TEXT token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextSelection()">toNextSelection</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the next location in the selection, 
- if any.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextSibling()">toNextSibling</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next sibling element, or returns
- false and does not move the cursor if there is no next sibling
- element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextSibling(javax.xml.namespace.QName)">toNextSibling</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next sibling element of the specified 
- qualified name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextSibling(java.lang.String)">toNextSibling</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next sibling element of the specified name in no
- namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextSibling(java.lang.String, java.lang.String)">toNextSibling</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace,
-              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next sibling element of the specified name 
- in the specified namespace.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextToken()">toNextToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the next token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toParent()">toParent</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the parent element or STARTDOC, or returns
- false and does not move the cursor if there is no parent.<br/><br/>
-
- Works if you're in attributes or content.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toPrevAttribute()">toPrevAttribute</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the previous sibling attribute, or returns
- false and does not move the cursor if there is no previous
- sibling attribute.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toPrevBookmark(java.lang.Object)">toPrevBookmark</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the location before its current position
- where a bookmark with the given key exists.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toPrevChar(int)">toPrevChar</A></B>(int&nbsp;maxCharacterCount)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor backwards by the number of characters given.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toPrevSibling()">toPrevSibling</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the previous sibling element, or returns
- false and does not move the cursor if there is no previous sibling
- element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toPrevToken()">toPrevToken</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the previous token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toSelection(int)">toSelection</A></B>(int&nbsp;i)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves this cursor to the specified location in the selection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toStartDoc()">toStartDoc</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the cursor to the STARTDOC token, which is the 
- root of the document.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="dispose()"><!-- --></A><H3>
-dispose</H3>
-<PRE>
-public void <B>dispose</B>()</PRE>
-<DL>
-<DD>Deallocates resources needed to manage the cursor, rendering this cursor
- inoperable. Because cursors are managed by a mechanism which stores the 
- XML, simply letting a cursor go out of scope and having the garbage collector
- attempt to reclaim it may not produce desirable performance.<br/><br/>
-
- So, explicitly disposing a cursor allows the underlying implementation
- to release its responsibility of maintaining its position.<br/><br/>
-
- After a cursor has been disposed, it may not be used again.  It can
- throw IllegalStateException or NullPointerException if used after
- disposal.<br/><br/>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toCursor(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-toCursor</H3>
-<PRE>
-public boolean <B>toCursor</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;moveTo)</PRE>
-<DL>
-<DD>Moves this cursor to the same position as the moveTo cursor.  if the
- moveTo cursor is in a different document from this cursor, this cursor
- will not be moved, and false returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>moveTo</CODE> - The cursor at the location to which this cursor
- should be moved.
-<DT><B>Returns:</B><DD>true if the cursor moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="push()"><!-- --></A><H3>
-push</H3>
-<PRE>
-public void <B>push</B>()</PRE>
-<DL>
-<DD>Saves the current location of this cursor on an internal stack of saved
- positions (independent of selection). This location may be restored
- later by calling the pop() method.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="pop()"><!-- --></A><H3>
-pop</H3>
-<PRE>
-public boolean <B>pop</B>()</PRE>
-<DL>
-<DD>Restores the cursor location most recently saved with the push() method.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if there was a location to restore; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public void <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
-<DL>
-<DD>Executes the specified XPath expression against the XML that this 
- cursor is in.  The cursors position does not change.  To navigate to the
- selections, use hasNextSelection and toNextSelection (similar to
- java.util.Iterator).<br/><br/>
- 
- The root referred to by the expression should be given as 
- a dot. The following is an example path expression:
- <pre>
- cursor.selectPath("./purchase-order/line-item[price <= 20.00]");
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path expression to execute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></CODE> - If the query expression is invalid.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public void <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Executes the specified XPath expression against the XML that this 
- cursor is in. The cursor's position does not change.  To navigate to the
- selections, use hasNextSelection and toNextSelection (similar to
- java.util.Iterator).<br/><br/>
- 
- The root referred to by the expression should be given as 
- a dot. The following is an example path expression:
- <pre>
- cursor.selectPath("./purchase-order/line-item[price <= 20.00]");
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path expression to execute.<DD><CODE>options</CODE> - Options for the query. For example, you can call 
- the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)"><CODE>XmlOptions.setXqueryCurrentNodeVar(String)</CODE></A>
- method to specify a particular name for the query expression 
- variable that indicates the context node.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></CODE> - If the query expression is invalid.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasNextSelection()"><!-- --></A><H3>
-hasNextSelection</H3>
-<PRE>
-public boolean <B>hasNextSelection</B>()</PRE>
-<DL>
-<DD>Returns whether or not there is a next selection.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if there is a next selection; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextSelection()"><!-- --></A><H3>
-toNextSelection</H3>
-<PRE>
-public boolean <B>toNextSelection</B>()</PRE>
-<DL>
-<DD>Moves this cursor to the next location in the selection, 
- if any. See the selectPath() and addToSelection() methods.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toSelection(int)"><!-- --></A><H3>
-toSelection</H3>
-<PRE>
-public boolean <B>toSelection</B>(int&nbsp;i)</PRE>
-<DL>
-<DD>Moves this cursor to the specified location in the selection. 
- If i is less than zero or greater than or equal to the selection
- count, this method returns false.
-  
- See also the selectPath() and addToSelection() methods.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the desired location.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSelectionCount()"><!-- --></A><H3>
-getSelectionCount</H3>
-<PRE>
-public int <B>getSelectionCount</B>()</PRE>
-<DL>
-<DD>Returns the count of the current selection. See also the selectPath() 
- and addToSelection() methods.
- 
- You may experience better performance if you use the iteration
- model using the toNextSelection method, rather than 
- the indexing model using the getSelectionCount and 
- toSelection methods.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>A number indicating the size of the current selection.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addToSelection()"><!-- --></A><H3>
-addToSelection</H3>
-<PRE>
-public void <B>addToSelection</B>()</PRE>
-<DL>
-<DD>Appends the current location of the cursor to the selection.  
- See also the selectPath() method. You can use this as an 
- alternative to calling the selectPath method when you want
- to define your own selection.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearSelections()"><!-- --></A><H3>
-clearSelections</H3>
-<PRE>
-public void <B>clearSelections</B>()</PRE>
-<DL>
-<DD>Clears this cursor's selection, but does not modify the document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)"><!-- --></A><H3>
-toBookmark</H3>
-<PRE>
-public boolean <B>toBookmark</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>&nbsp;bookmark)</PRE>
-<DL>
-<DD>Moves this cursor to the same position as the bookmark.  If the
- bookmark is in a different document from this cursor or if the 
- bookmark is orphaned, this cursor
- will not be moved, and false will be returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>bookmark</CODE> - The bookmark at the location to which this
- cursor should be moved.
-<DT><B>Returns:</B><DD>true if the cursor moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextBookmark(java.lang.Object)"><!-- --></A><H3>
-toNextBookmark</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A> <B>toNextBookmark</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Moves this cursor to the location after its current position
- where a bookmark with the given key exists.  Returns false if no
- such bookmark exists.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key held by the next bookmark at the location to 
- which this cursor should be moved.
-<DT><B>Returns:</B><DD>The next corresponding bookmark, if it exists; null if there
- is no next bookmark with the specified key.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toPrevBookmark(java.lang.Object)"><!-- --></A><H3>
-toPrevBookmark</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A> <B>toPrevBookmark</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Moves this cursor to the location before its current position
- where a bookmark with the given key exists.  Returns false if no
- such bookmark exists.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key held by the previous bookmark at the location to 
- which this cursor should be moved.
-<DT><B>Returns:</B><DD>The previous corresponding bookmark, if it exists; null if 
- there is no previous bookmark with the specified key.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getName()"><!-- --></A><H3>
-getName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getName</B>()</PRE>
-<DL>
-<DD>Returns the name of the current token. Names may be associated with
- START, ATTR, NAMESPACE or PROCINST. Returns null if there is no
- name associated with the current token. For START and ATTR, the 
- name returned identifies the name of the element or attribute. 
- For NAMESPACE, the local part of the name is the prefix, while 
- the URI is the namespace defined. For PROCINST, the local part 
- is the target and the uri is "".
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The name of the XML at this cursor's location; null if there
- is no name.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setName(javax.xml.namespace.QName)"><!-- --></A><H3>
-setName</H3>
-<PRE>
-public void <B>setName</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Sets the name of the current token. This token can be START, NAMESPACE,
- ATTR or PROCINST.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The new name for the current token.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="namespaceForPrefix(java.lang.String)"><!-- --></A><H3>
-namespaceForPrefix</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>namespaceForPrefix</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix)</PRE>
-<DL>
-<DD>Returns the namespace URI indicated by the given prefix. The current
- context must be at a START or STARTDOC. Namespace prefix mappings
- are queried for the mappings defined at the current container first,
- then parents are queried. The prefix can be "" or null to indicate
- a search for the default namespace.<br/><br/>.
- 
- Note that this queries the current state of the document. When the 
- document is persisted, the saving mechanism may synthesize namespaces 
- (ns1, ns2, and so on) for the purposes of persistence. These namepaces are 
- only present in the serialized form, and are not reflected back into 
- the document being saved.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The namespace prefix for the requested namespace.
-<DT><B>Returns:</B><DD>The URI for corresponding to the specified prefix if it
- exists; otherwise, null.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="prefixForNamespace(java.lang.String)"><!-- --></A><H3>
-prefixForNamespace</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>prefixForNamespace</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespaceURI)</PRE>
-<DL>
-<DD>Returns a prefix that can be used to indicate a namespace URI.  The
- current context must be at a START or STARTDOC.  If there is an
- existing prefix that indicates the URI in the current context, that
- prefix may be returned. Otherwise, a new prefix for the URI will be
- defined by adding an xmlns attribute to the current container or a
- parent container.
- 
- Note that this queries the current state of the document. When the 
- document is persisted, the saving mechanism may synthesize namespaces 
- (ns1, ns2, and so on) for the purposes of persistence. These namepaces are 
- only present in the serialized form, and are not reflected back into 
- the document being saved.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI corresponding to the requested
- prefix.
-<DT><B>Returns:</B><DD>The prefix corresponding to the specified URI if it exists; 
- otherwise, a newly generated prefix.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAllNamespaces(java.util.Map)"><!-- --></A><H3>
-getAllNamespaces</H3>
-<PRE>
-public void <B>getAllNamespaces</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;addToThis)</PRE>
-<DL>
-<DD>Adds to the specified map, all the namespaces in scope at the container
- where this cursor is positioned. This method is useful for 
- container tokens only.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>addToThis</CODE> - The Map to add the namespaces to.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getObject()"><!-- --></A><H3>
-getObject</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>getObject</B>()</PRE>
-<DL>
-<DD>Returns the strongly-typed XmlObject at the current START,
- STARTDOC, or ATTR. <br/><br/>
- 
- The strongly-typed object can be cast to the strongly-typed
- XBean interface corresponding to the XML Schema Type given
- by result.getSchemaType().<br/><br/>
-
- If a more specific type cannot be determined, an XmlObject
- whose schema type is anyType will be returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The strongly-typed object at the cursor's current location;
- null if the current location is not a START, STARTDOC, or ATTR.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="currentTokenType()"><!-- --></A><H3>
-currentTokenType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>currentTokenType</B>()</PRE>
-<DL>
-<DD>Returns the type of the current token. By definition, the current
- token is the token immediately to the right of the cursor. 
- If you're in the middle of text, before a character, you get TEXT.
- You can't dive into the text of an ATTR, COMMENT or PROCINST.<br/><br/>
- 
- As an alternative, it may be more convenient for you to use one of the 
- methods that test for a particular token type. These include the methods 
- isStart(), isStartdoc(), isText(), isAttr(), and so on. Each returns a boolean 
- value indicating whether the token that follows the cursor is the type 
- in question. 
- <br/><br/>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The TokenType instance for the token at the cursor's current
- location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStartdoc()"><!-- --></A><H3>
-isStartdoc</H3>
-<PRE>
-public boolean <B>isStartdoc</B>()</PRE>
-<DL>
-<DD>True if the current token is a STARTDOC token type, meaning 
- at the very root of the document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a STARTDOC token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEnddoc()"><!-- --></A><H3>
-isEnddoc</H3>
-<PRE>
-public boolean <B>isEnddoc</B>()</PRE>
-<DL>
-<DD>True if this token is an ENDDOC token type, meaning 
- at the very end of the document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is an ENDDOC token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isStart()"><!-- --></A><H3>
-isStart</H3>
-<PRE>
-public boolean <B>isStart</B>()</PRE>
-<DL>
-<DD>True if this token is a START token type, meaning 
- just before an element's start.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a START token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEnd()"><!-- --></A><H3>
-isEnd</H3>
-<PRE>
-public boolean <B>isEnd</B>()</PRE>
-<DL>
-<DD>True if this token is an END token type, meaning 
- just before an element's end.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is an END token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isText()"><!-- --></A><H3>
-isText</H3>
-<PRE>
-public boolean <B>isText</B>()</PRE>
-<DL>
-<DD>True if the this token is a TEXT token type, meaning 
- just before or inside text.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a TEXT token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttr()"><!-- --></A><H3>
-isAttr</H3>
-<PRE>
-public boolean <B>isAttr</B>()</PRE>
-<DL>
-<DD>True if this token is an ATTR token type, meaning 
- just before an attribute.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is an ATTR token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNamespace()"><!-- --></A><H3>
-isNamespace</H3>
-<PRE>
-public boolean <B>isNamespace</B>()</PRE>
-<DL>
-<DD>True if this token is a NAMESPACE token type, meaning 
- just before a namespace declaration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a NAMESPACE token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isComment()"><!-- --></A><H3>
-isComment</H3>
-<PRE>
-public boolean <B>isComment</B>()</PRE>
-<DL>
-<DD>True if this token is a COMMENT token type, meaning 
- just before a comment.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a COMMENT token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isProcinst()"><!-- --></A><H3>
-isProcinst</H3>
-<PRE>
-public boolean <B>isProcinst</B>()</PRE>
-<DL>
-<DD>True if this token is a PROCINST token type, meaning 
- just before a processing instruction.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a PROCINST token type; 
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isContainer()"><!-- --></A><H3>
-isContainer</H3>
-<PRE>
-public boolean <B>isContainer</B>()</PRE>
-<DL>
-<DD>True if this token is a container token. The STARTDOC and START 
- token types are containers. Containers, including documents and elements,
- have the same content model. In other words, a document and an element 
- may have the same contents. For example, a document may contain attributes 
- or text, without any child elements.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a container token; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isFinish()"><!-- --></A><H3>
-isFinish</H3>
-<PRE>
-public boolean <B>isFinish</B>()</PRE>
-<DL>
-<DD>True if this token is a finish token. A finish token can be an ENDDOC
- or END token type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this token is a finish token; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAnyAttr()"><!-- --></A><H3>
-isAnyAttr</H3>
-<PRE>
-public boolean <B>isAnyAttr</B>()</PRE>
-<DL>
-<DD>True if this token is any attribute. This includes an ATTR token type and
- the NAMESPACE token type attribute.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the current cursor is at any attribute; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="prevTokenType()"><!-- --></A><H3>
-prevTokenType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>prevTokenType</B>()</PRE>
-<DL>
-<DD>Returns the type of the previous token. By definition, the previous
- token is the token immediately to the left of the cursor.<br/><br/>
-
- If you're in the middle of text, after a character, you get TEXT.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The TokenType instance for the token immediately before the 
- token at the cursor's current location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasNextToken()"><!-- --></A><H3>
-hasNextToken</H3>
-<PRE>
-public boolean <B>hasNextToken</B>()</PRE>
-<DL>
-<DD>True if there is a next token. When this is false, as when the cursor is
- at the ENDDOC token, the toNextToken() method returns NONE and does not 
- move the cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if there is a next token; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasPrevToken()"><!-- --></A><H3>
-hasPrevToken</H3>
-<PRE>
-public boolean <B>hasPrevToken</B>()</PRE>
-<DL>
-<DD>True if there is a previous token. When this is false, toPrevToken
- returns NONE and does not move the cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if there is a previous token; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextToken()"><!-- --></A><H3>
-toNextToken</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>toNextToken</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the next token. When there are no more tokens 
- available, hasNextToken returns false and toNextToken() returns 
- NONE and does not move the cursor. Returns the token type 
- of the token to the right of the cursor upon a successful move.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The token type for the next token if the cursor was moved;
- otherwise, NONE.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toPrevToken()"><!-- --></A><H3>
-toPrevToken</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>toPrevToken</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the previous token. When there is no
- previous token, returns NONE, otherwise returns the token
- to the left of the new position of the cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The token type for the previous token if the cursor was moved;
- otherwise, NONE.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toFirstContentToken()"><!-- --></A><H3>
-toFirstContentToken</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>toFirstContentToken</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the first token in the content of the current
- START or STARTDOC. That is, the first token after all ATTR and NAMESPACE
- tokens associated with this START.<br/><br/>
-
- If the current token is not a START or STARTDOC, the cursor is not
- moved and NONE is returned. If the current START or STARTDOC
- has no content, the cursor is moved to the END or ENDDOC token.<br/><br/>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The new current token type.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toEndToken()"><!-- --></A><H3>
-toEndToken</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html">XmlCursor.TokenType</A> <B>toEndToken</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the END or ENDDOC token corresponding to the
- current START or STARTDOC, and returns END or ENDDOC. <br/><br/>
-
- If the current token is not a START or STARTDOC, the cursor is not
- moved and NONE is returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The new current token type.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextChar(int)"><!-- --></A><H3>
-toNextChar</H3>
-<PRE>
-public int <B>toNextChar</B>(int&nbsp;maxCharacterCount)</PRE>
-<DL>
-<DD>Moves the cursor forward by the specified number of characters, and
- stops at the next non-TEXT token. Returns the number of characters
- actually moved across, which is guaranteed to be less than or equal to  
- <em>maxCharacterCount</em>. If there is no further text, or if 
- there is no text at all, returns zero.<br/><br/>
-
- Note this does not dive into attribute values, comment contents,
- processing instruction contents, etc., but only content text.<br/><br/>
-
- You can pass maxCharacterCount &lt; 0 to move over all the text to the 
- right. This has the same effect as toNextToken, but returns the amount 
- of text moved over.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>maxCharacterCount</CODE> - The maximum number of characters by which
- the cursor should be moved.
-<DT><B>Returns:</B><DD>The actual number of characters by which the cursor was moved; 
- 0 if the cursor was not moved.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toPrevChar(int)"><!-- --></A><H3>
-toPrevChar</H3>
-<PRE>
-public int <B>toPrevChar</B>(int&nbsp;maxCharacterCount)</PRE>
-<DL>
-<DD>Moves the cursor backwards by the number of characters given.  Has
- similar characteristics to the <A HREF="../../../org/apache/xmlbeans/XmlCursor.html#toNextChar(int)"><CODE>toNextChar</CODE></A> method.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>maxCharacterCount</CODE> - The maximum number of characters by which
- the cursor should be moved.
-<DT><B>Returns:</B><DD>The actual number of characters by which the cursor was moved; 
- 0 if the cursor was not moved.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextSibling()"><!-- --></A><H3>
-toNextSibling</H3>
-<PRE>
-public boolean <B>toNextSibling</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the next sibling element, or returns
- false and does not move the cursor if there is no next sibling
- element. (By definition the position of an element is the same
- as the position of its START token.)
-
- If the current token is not s START, the cursor will be 
- moved to the next START without moving out of the scope of the 
- current element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toPrevSibling()"><!-- --></A><H3>
-toPrevSibling</H3>
-<PRE>
-public boolean <B>toPrevSibling</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the previous sibling element, or returns
- false and does not move the cursor if there is no previous sibling
- element. (By definition the position of an element is the same
- as the position of its START token.)
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toParent()"><!-- --></A><H3>
-toParent</H3>
-<PRE>
-public boolean <B>toParent</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the parent element or STARTDOC, or returns
- false and does not move the cursor if there is no parent.<br/><br/>
-
- Works if you're in attributes or content. Returns false only if at
- STARTDOC. Note that the parent of an END token is the corresponding
- START token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; false if the cursor is at the STARTDOC
- token.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toFirstChild()"><!-- --></A><H3>
-toFirstChild</H3>
-<PRE>
-public boolean <B>toFirstChild</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the first child element, or returns false and
- does not move the cursor if there are no element children. <br/><br/>
-
- If the cursor is not currently in an element, it moves into the 
- first child element of the next element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toLastChild()"><!-- --></A><H3>
-toLastChild</H3>
-<PRE>
-public boolean <B>toLastChild</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the last element child, or returns false and
- does not move the cursor if there are no element children.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toChild(java.lang.String)"><!-- --></A><H3>
-toChild</H3>
-<PRE>
-public boolean <B>toChild</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the first child element of the specified name in 
- no namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the element to move the cursor to.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toChild(java.lang.String, java.lang.String)"><!-- --></A><H3>
-toChild</H3>
-<PRE>
-public boolean <B>toChild</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the first child element of the specified name in the 
- specified namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - The namespace URI for the element to move the cursor 
- to.<DD><CODE>name</CODE> - The name of the element to move to.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toChild(javax.xml.namespace.QName)"><!-- --></A><H3>
-toChild</H3>
-<PRE>
-public boolean <B>toChild</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the first child element of the specified qualified name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the element to move the cursor to.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toChild(int)"><!-- --></A><H3>
-toChild</H3>
-<PRE>
-public boolean <B>toChild</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Moves the cursor to the child element specified by <em>index</em>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the element in the sequence of child 
- elements.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toChild(javax.xml.namespace.QName, int)"><!-- --></A><H3>
-toChild</H3>
-<PRE>
-public boolean <B>toChild</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-                       int&nbsp;index)</PRE>
-<DL>
-<DD>Moves the cursor to the specified <em>index</em> child element of the 
- specified name, where that element is the .
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the child element to move the cursor to.<DD><CODE>index</CODE> - The position of the element in the sequence of child
- elements.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextSibling(java.lang.String)"><!-- --></A><H3>
-toNextSibling</H3>
-<PRE>
-public boolean <B>toNextSibling</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the next sibling element of the specified name in no
- namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the element to move the cursor to.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextSibling(java.lang.String, java.lang.String)"><!-- --></A><H3>
-toNextSibling</H3>
-<PRE>
-public boolean <B>toNextSibling</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the next sibling element of the specified name 
- in the specified namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - The namespace URI for the element to move the cursor
- to.<DD><CODE>name</CODE> - The name of the element to move the cursor to.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextSibling(javax.xml.namespace.QName)"><!-- --></A><H3>
-toNextSibling</H3>
-<PRE>
-public boolean <B>toNextSibling</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Moves the cursor to the next sibling element of the specified 
- qualified name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the element to move the cursor to.
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toFirstAttribute()"><!-- --></A><H3>
-toFirstAttribute</H3>
-<PRE>
-public boolean <B>toFirstAttribute</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the first attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes. The order of attributes is arbitrary, but stable.<br/><br/>
-
- xmlns attributes (namespace declarations) are not considered 
- attributes by this function.<br/><br/>
-
- The cursor must be on a START or STARTDOC for this method to
- succeed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toLastAttribute()"><!-- --></A><H3>
-toLastAttribute</H3>
-<PRE>
-public boolean <B>toLastAttribute</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the last attribute of this element, or
- returns false and does not move the cursor if there are no
- attributes. The order of attributes is arbitrary, but stable.<br/><br/>
-
- xmlns attributes (namespace declarations) are not considered 
- attributes by this function.<br/><br/>
-
- The cursor must be on a START or STARTDOC for this method
- to succeed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toNextAttribute()"><!-- --></A><H3>
-toNextAttribute</H3>
-<PRE>
-public boolean <B>toNextAttribute</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the next sibling attribute, or returns
- false and does not move the cursor if there is no next
- sibling attribute. The order of attributes is arbitrary, but stable.<br/><br/>
- 
- xmlns attributes (namespace declarations) are not considered 
- attributes by this function.<br/><br/>
-
- The cursor must be on an attribute for this method to succeed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toPrevAttribute()"><!-- --></A><H3>
-toPrevAttribute</H3>
-<PRE>
-public boolean <B>toPrevAttribute</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the previous sibling attribute, or returns
- false and does not move the cursor if there is no previous
- sibling attribute. The order of attributes is arbitrary, but stable.<br/><br/>
- 
- xmlns attributes (namespace declarations) are not considered 
- attributes by this function.<br/><br/>
-
- The cursor must be on an attribute for this method to succeed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if the cursor was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttributeText(javax.xml.namespace.QName)"><!-- --></A><H3>
-getAttributeText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getAttributeText</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</PRE>
-<DL>
-<DD>When at a START or STARTDOC, returns the attribute text for the given
- attribute. When not at a START or STARTDOC or the attribute does not
- exist, returns null.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>attrName</CODE> - The name of the attribute whose value is requested.
-<DT><B>Returns:</B><DD>The attribute's value if it has one; otherwise, null.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setAttributeText(javax.xml.namespace.QName, java.lang.String)"><!-- --></A><H3>
-setAttributeText</H3>
-<PRE>
-public boolean <B>setAttributeText</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</PRE>
-<DL>
-<DD>When at a START or STARTDOC, sets the attribute text for the given
- attribute. When not at a START or STARTDOC returns false.
- If the attribute does not exist, one is created.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>attrName</CODE> - The name of the attribute whose value is being set.<DD><CODE>value</CODE> - The new value for the attribute.
-<DT><B>Returns:</B><DD>true if the new value was set; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeAttribute(javax.xml.namespace.QName)"><!-- --></A><H3>
-removeAttribute</H3>
-<PRE>
-public boolean <B>removeAttribute</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;attrName)</PRE>
-<DL>
-<DD>When at a START or STARTDOC, removes the attribute with the given name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>attrName</CODE> - The name of the attribute that should be removed.
-<DT><B>Returns:</B><DD>true if the attribute was removed; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextValue()"><!-- --></A><H3>
-getTextValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getTextValue</B>()</PRE>
-<DL>
-<DD>Gets the text value of the current document, element, attribute,
- comment, procinst or text token. <br/><br/>
-
- When getting the text value of an element, non-text content such
- as comments and processing instructions are ignored and text is concatenated.
- For elements that have nested element children, this
- returns the concatenated text of all mixed content and the
- text of all the element children, recursing in first-to-last
- depthfirst order.<br/><br/>
-
- For attributes, this returns the attribute value.<br/><br/>
-
- For comments and processing instructions, this returns the text contents 
- of the comment or PI, not including the delimiting sequences &lt;!-- --&gt;, &lt;? ?&gt;.
-<br/><br/>
- If the current token is not a START, STARTDOC, TEXT, ATTR, COMMENT, or
- PROCINST, this returns null. The value of an empty tag is the
- empty string.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The text value of the current token, if the token's type is
- START, STARTDOC, TEXT, ATTR, COMMENT, or PROCINST; null if the type is
- END, ENDDOC, NONE, or NAMESPACE.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getTextValue(char[], int, int)"><!-- --></A><H3>
-getTextValue</H3>
-<PRE>
-public int <B>getTextValue</B>(char[]&nbsp;returnedChars,
-                        int&nbsp;offset,
-                        int&nbsp;maxCharacterCount)</PRE>
-<DL>
-<DD>Copies the text value of the current document, element, attribute,
- comment, processing instruction or text token, counting right from 
- this cursor's location up to <em>maxCharacterCount</em>,
- and copies the returned text into <em>returnedChars</em>. <br/><br/>
- 
- When getting the text value of an element, non-text content such
- as comments and processing instructions are ignored and text is concatenated.
- For elements that have nested element children, this
- returns the concatenated text of all mixed content and the
- text of all the element children, recursing in first-to-last
- depthfirst order.<br/><br/>
-
- For attributes, this returns the attribute value.<br/><br/>
-
- For comments and processing instructions, this returns the text contents 
- of the comment or PI, not including the delimiting sequences &lt;!-- --&gt;, &lt;? ?&gt;.
- <br/><br/>
- 
- If the current token is END, ENDDOC, or NAMESPACE, this returns 0. 
- The value of an empty tag is the empty string.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>returnedChars</CODE> - A character array to hold the returned characters.<DD><CODE>offset</CODE> - The position within returnedChars to which the first of the 
- returned characters should be copied.<DD><CODE>maxCharacterCount</CODE> - The maximum number of characters after this cursor's 
- location to copy.
-<DT><B>Returns:</B><DD>The actual number of characters copied; 0 if no characters 
- were copied.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setTextValue(java.lang.String)"><!-- --></A><H3>
-setTextValue</H3>
-<PRE>
-public void <B>setTextValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Sets the text value of the XML at this cursor's location if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST. <br/><br/>
-
- For elements that have nested children this first removes all
- the content of the element and replaces it with the given text.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to use as a new value.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the token type at this
- cursor's location is not START, STARTDOC, ATTR, COMMENT or
- PROCINST.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setTextValue(char[], int, int)"><!-- --></A><H3>
-setTextValue</H3>
-<PRE>
-public void <B>setTextValue</B>(char[]&nbsp;sourceChars,
-                         int&nbsp;offset,
-                         int&nbsp;length)</PRE>
-<DL>
-<DD>Sets the text value of the XML at this cursor's location (if that XML's
- token type is START, STARTDOC, ATTR, COMMENT or PROCINST) to the 
- contents of the specified character array. <br/><br/>
-
- For elements that have nested children this first removes all
- the content of the element and replaces it with the given text.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sourceChars</CODE> - A character array containing the XML's new value.<DD><CODE>offset</CODE> - The position within sourceChars from which the first of 
- the source characters should be copied.<DD><CODE>length</CODE> - The maximum number of characters to set as the XML's new
- value.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the token type at this
- cursor's location is not START, STARTDOC, ATTR, COMMENT or
- PROCINST.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getChars()"><!-- --></A><H3>
-getChars</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getChars</B>()</PRE>
-<DL>
-<DD>Returns characters to the right of the cursor up to the next token.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getChars(char[], int, int)"><!-- --></A><H3>
-getChars</H3>
-<PRE>
-public int <B>getChars</B>(char[]&nbsp;returnedChars,
-                    int&nbsp;offset,
-                    int&nbsp;maxCharacterCount)</PRE>
-<DL>
-<DD>Copies characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>.  The 
- returned characters are added to <em>returnedChars</em>, with the first
- character copied to the <em>offset</em> position. The <em>maxCharacterCount</em> 
- parameter should be less than or equal to the length of <em>returnedChars</em> 
- minus <em>offset</em>. Copies a number of characters, which is 
- either <em>maxCharacterCount</em> or the number of characters up to the next token, 
- whichever is less.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>returnedChars</CODE> - A character array to hold the returned characters.<DD><CODE>offset</CODE> - The position within returnedChars at which the first of the 
- returned characters should be added.<DD><CODE>maxCharacterCount</CODE> - The maximum number of characters after this cursor's 
- location to return.
-<DT><B>Returns:</B><DD>The actual number of characters returned; 0 if no characters 
- were returned or if the current token is not TEXT.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toStartDoc()"><!-- --></A><H3>
-toStartDoc</H3>
-<PRE>
-public void <B>toStartDoc</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the STARTDOC token, which is the 
- root of the document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toEndDoc()"><!-- --></A><H3>
-toEndDoc</H3>
-<PRE>
-public void <B>toEndDoc</B>()</PRE>
-<DL>
-<DD>Moves the cursor to the ENDDOC token, which is the end
- of the document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isInSameDocument(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-isInSameDocument</H3>
-<PRE>
-public boolean <B>isInSameDocument</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Determines if the specified cursor is in the same document as
- this cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>cursor</CODE> - The cursor that may be in the same document
- as this cursor.
-<DT><B>Returns:</B><DD>true if the specified cursor is in the same document;
- otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="comparePosition(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-comparePosition</H3>
-<PRE>
-public int <B>comparePosition</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Returns an integer indicating whether this cursor is before, 
- after, or at the same position as the specified cursor. <br/><br/>
- 
- <code>a.comparePosition(b) < 0</code> means a is to the left of b.<br/>
- <code>a.comparePosition(b) == 0</code> means a is at the same position as b.<br/>
- <code>a.comparePosition(b) > 0</code> means a is to the right of b.<br/><br/>
-
- The sort order of cursors in the document is the token order.
- For example, if cursor "a" is at a START token and the cursor "b"
- is at a token within the contents of the same element, then
- a.comparePosition(b) will return -1, meaning that the position
- of a is before b.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>cursor</CODE> - The cursor whose position should be compared
- with this cursor.
-<DT><B>Returns:</B><DD>1 if this cursor is after the specified cursor; 0 if 
- this cursor is at the same position as the specified cursor; 
- -1 if this cursor is before the specified cursor.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the specified
- cursor is not in the same document as this cursor.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isLeftOf(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-isLeftOf</H3>
-<PRE>
-public boolean <B>isLeftOf</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Determines if this cursor is to the left of (or before)
- the specified cursor. Note that this is the same as 
- <code>a.comparePosition(b) &lt; 0 </code>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>cursor</CODE> - The cursor whose position should be compared
- with this cursor.
-<DT><B>Returns:</B><DD>true if this cursor is to the left of the specified
- cursor; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAtSamePositionAs(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-isAtSamePositionAs</H3>
-<PRE>
-public boolean <B>isAtSamePositionAs</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Determines if this cursor is at the same position as
- the specified cursor. Note that this is the same as 
- <code>a.comparePosition(b) == 0 </code>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>cursor</CODE> - The cursor whose position should be compared
- with this cursor.
-<DT><B>Returns:</B><DD>true if this cursor is at the same position as 
- the specified cursor; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isRightOf(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-isRightOf</H3>
-<PRE>
-public boolean <B>isRightOf</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Determines if this cursor is to the right of (or after)
- the specified cursor. Note that this is the same as 
- <code>a.comparePosition(b) &gt; 0 </code>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>cursor</CODE> - The cursor whose position should be compared
- with this cursor.
-<DT><B>Returns:</B><DD>true if this cursor is to the right of the specified
- cursor; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</PRE>
-<DL>
-<DD>Executes the specified XQuery expression against the XML this
- cursor is in. <br/><br/>
- 
- The query may be a String or a compiled query. You can precompile
- an XQuery expression using the XmlBeans.compileQuery method. <br/><br>
- 
- The root referred to by the expression should be given as 
- a dot. The following is an example path expression:
- <pre>
- XmlCursor results = cursor.execQuery("purchase-order/line-item[price &lt;= 20.00]");
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>query</CODE> - The XQuery expression to execute.
-<DT><B>Returns:</B><DD>A cursor containing the results of the query.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></CODE> - If the query expression is invalid.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Executes the specified XQuery expression against the XML this
- cursor is in, and using the specified options. <br/><br/>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>query</CODE> - The XQuery expression to execute.<DD><CODE>options</CODE> - Options for the query. For example, you can call 
- the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)"><CODE>XmlOptions.setXqueryCurrentNodeVar(String)</CODE></A>
- method to specify a particular name for the query expression 
- variable that indicates the context node.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A></CODE> - If the query expression is invalid.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDocChangeStamp()"><!-- --></A><H3>
-getDocChangeStamp</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html">XmlCursor.ChangeStamp</A> <B>getDocChangeStamp</B>()</PRE>
-<DL>
-<DD>Returns the current change stamp for the document the current cursor is in. 
- This change stamp can be queried at a later point in time to find out
- if the document has changed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The change stamp for the document the current cursor is in.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBookmark(org.apache.xmlbeans.XmlCursor.XmlBookmark)"><!-- --></A><H3>
-setBookmark</H3>
-<PRE>
-public void <B>setBookmark</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A>&nbsp;bookmark)</PRE>
-<DL>
-<DD>Sets a bookmark to the document at this cursor's location.
-
- The bookmark is attached to the token in the tree immediately 
- after the cursor. If the tree is manipulated to move
- that object to a different place, the bookmark moves with it.
- If the tree is manipulated to delete that token from the
- tree, the bookmark is orphaned. Copy operations do not copy
- bookmarks.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>bookmark</CODE> - The bookmark to set.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getBookmark(java.lang.Object)"><!-- --></A><H3>
-getBookmark</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A> <B>getBookmark</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Retrieves the bookmark with the specified key 
- at this cursor's location. If there is no bookmark whose key is 
- given by the specified key at the current position, null is returned. 
- If the <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#getKey()"><CODE>getKey</CODE></A> method is not overridden on 
- the bookmark, then the bookmark's class is used as the key.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key for the bookmark to retrieve.
-<DT><B>Returns:</B><DD>The requested bookmark; null if there is no bookmark
- corresponding to the specified key.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clearBookmark(java.lang.Object)"><!-- --></A><H3>
-clearBookmark</H3>
-<PRE>
-public void <B>clearBookmark</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Clears the bookmark whose key is specified, if the bookmark
- exists at this cursor's location.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The for the bookmark to clear.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAllBookmarkRefs(java.util.Collection)"><!-- --></A><H3>
-getAllBookmarkRefs</H3>
-<PRE>
-public void <B>getAllBookmarkRefs</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;listToFill)</PRE>
-<DL>
-<DD>Retrieves all the bookmarks at this location, adding them to
- the specified collection. Bookmarks held by weak references are
- added to this collection as Weak referenced objects pointing to the
- bookmark.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>listToFill</CODE> - The collection that will contain bookmarks
- returned by this method.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeXml()"><!-- --></A><H3>
-removeXml</H3>
-<PRE>
-public boolean <B>removeXml</B>()</PRE>
-<DL>
-<DD>Removes the XML that is immediately after this cursor.
- 
- For the TEXT, ATTR, NAMESPACE, COMMENT and PROCINST tokens, a single 
- token is removed. For a START token, the corresponding element and all 
- of its contents are removed. For all other tokens, this is a no-op. 
- You cannot remove a STARTDOC.
- 
- The cursors located in the XML that was removed all collapse to the 
- same location. All bookmarks in this XML will be orphaned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if anything was removed; false only if the cursor is 
- just before END or ENDDOC token.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the cursor is at a 
- STARTDOC token.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="moveXml(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-moveXml</H3>
-<PRE>
-public boolean <B>moveXml</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Moves the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor, shifting XML at that location 
- to the right to make room. For the TEXT, ATTR, NAMESPACE, 
- COMMENT and PROCINST tokens, a single token is moved. For a start token, the
- element and all of its contents are moved. For all other tokens, this
- is a no-op.
- 
- The bookmarks located in the XML that was moved also move to the
- new location; the cursors don't move with the content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>toHere</CODE> - The cursor at the location to which the XML should
- be moved.
-<DT><B>Returns:</B><DD>true if anything was moved; false only if the cursor is 
- just before END or ENDDOC token.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the operation is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="copyXml(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-copyXml</H3>
-<PRE>
-public boolean <B>copyXml</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Copies the XML immediately after this cursor to the location
- specified by the <em>toHere</em> cursor. For the TEXT, ATTR, NAMESPACE, 
- COMMENT and PROCINST tokens, a single token is copied.  For a start token, 
- the element and all of its contents are copied. For all other tokens, this
- is a no-op.
- 
- The cursors and bookmarks located in the XML that was copied are also copied 
- to the new location.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>toHere</CODE> - The cursor at the location to which the XML should
- be copied.
-<DT><B>Returns:</B><DD>true if anything was copied; false if the token supports the operation,
- but nothing was copied.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the operation is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeXmlContents()"><!-- --></A><H3>
-removeXmlContents</H3>
-<PRE>
-public boolean <B>removeXmlContents</B>()</PRE>
-<DL>
-<DD>Removes the contents of the container (STARTDOC OR START) immediately after
- this cursor. For all other situations, returns false. Does
- not remove attributes or namspaces.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if anything was copied; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="moveXmlContents(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-moveXmlContents</H3>
-<PRE>
-public boolean <B>moveXmlContents</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Moves the contents of the container (STARTDOC OR START) immediately after
- this cursor to the location specified by the <em>toHere</em> cursor.
- For all other situations, returns false. Does not move attributes or
- namespaces.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>toHere</CODE> - The cursor at the location to which the XML should be moved.
-<DT><B>Returns:</B><DD>true if anything was moved; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="copyXmlContents(org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-copyXmlContents</H3>
-<PRE>
-public boolean <B>copyXmlContents</B>(<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Copies the contents of the container (STARTDOC OR START) immediately to
- the right of the cursor to the location specified by the <em>toHere</em> cursor.
- For all other situations, returns false.  Does not copy attributes or
- namespaces.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>toHere</CODE> - The cursor at the location to which the XML should
- be copied.
-<DT><B>Returns:</B><DD>true if anything was copied; otherwise, false.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeChars(int)"><!-- --></A><H3>
-removeChars</H3>
-<PRE>
-public int <B>removeChars</B>(int&nbsp;maxCharacterCount)</PRE>
-<DL>
-<DD>Removes characters up to the specified maximum number, counting right from 
- this cursor's location to the character at <em>maxCharacterCount</em>. The 
- space remaining from removing the characters collapses up to this cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>maxCharacterCount</CODE> - The maximum number of characters after this cursor's 
- location to remove.
-<DT><B>Returns:</B><DD>The actual number of characters removed.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the operation is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="moveChars(int, org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-moveChars</H3>
-<PRE>
-public int <B>moveChars</B>(int&nbsp;maxCharacterCount,
-                     <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Moves characters immediately after this cursor to the position immediately 
- after the specified cursor. Characters are counted to the right up to the
- specified maximum number. XML after the destination cursor is 
- shifted to the right to make room. The space remaining from moving the 
- characters collapses up to this cursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>maxCharacterCount</CODE> - The maximum number of characters after this cursor's 
- location to move.<DD><CODE>toHere</CODE> - The cursor to which the characters should be moved.
-<DT><B>Returns:</B><DD>The actual number of characters moved.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the operation is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="copyChars(int, org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-copyChars</H3>
-<PRE>
-public int <B>copyChars</B>(int&nbsp;maxCharacterCount,
-                     <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;toHere)</PRE>
-<DL>
-<DD>Copies characters to the position immediately after the specified cursor.
- Characters are counted to the right up to the specified maximum number. 
- XML after the destination cursor is shifted to the right to make room.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>maxCharacterCount</CODE> - The maximum number of characters after this cursor's 
- location to copy.<DD><CODE>toHere</CODE> - The cursor to which the characters should be copied.
-<DT><B>Returns:</B><DD>The actual number of characters copied.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the operation is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertChars(java.lang.String)"><!-- --></A><H3>
-insertChars</H3>
-<PRE>
-public void <B>insertChars</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts the specified text immediately before this cursor's location.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to insert.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-insertElement</H3>
-<PRE>
-public void <B>insertElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Inserts an element immediately before this cursor's location, giving 
- the element the specified qualified name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The qualified name for the element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElement(java.lang.String)"><!-- --></A><H3>
-insertElement</H3>
-<PRE>
-public void <B>insertElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</PRE>
-<DL>
-<DD>Inserts an element immediately before this cursor's location, giving 
- the element the specified local name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertElement</H3>
-<PRE>
-public void <B>insertElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</PRE>
-<DL>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and associating it with specified namespace
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.<DD><CODE>uri</CODE> - The URI for the new element's namespace.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="beginElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-beginElement</H3>
-<PRE>
-public void <B>beginElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- qualified name. After the element is inserted, this cursor is between its start 
- and end. This cursor can then be used to insert additional XML into 
- the new element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The qualified name for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="beginElement(java.lang.String)"><!-- --></A><H3>
-beginElement</H3>
-<PRE>
-public void <B>beginElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</PRE>
-<DL>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- local name. After the element is inserted, this cursor is between its start 
- and end. This cursor can then be used to insert additional XML into 
- the new element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="beginElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
-beginElement</H3>
-<PRE>
-public void <B>beginElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                         <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</PRE>
-<DL>
-<DD>Inserts a new element around this cursor, giving the element the specified 
- local name and associating it with the specified namespace. After the element 
- is inserted, this cursor is between its start and end. This cursor 
- can then be used to insert additional XML into the new element.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.<DD><CODE>uri</CODE> - The URI for the new element's namespace.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElementWithText(javax.xml.namespace.QName, java.lang.String)"><!-- --></A><H3>
-insertElementWithText</H3>
-<PRE>
-public void <B>insertElementWithText</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified qualified name and content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The qualified name for the new element.<DD><CODE>text</CODE> - The content for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElementWithText(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertElementWithText</H3>
-<PRE>
-public void <B>insertElementWithText</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name and content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.<DD><CODE>text</CODE> - The content for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertElementWithText(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertElementWithText</H3>
-<PRE>
-public void <B>insertElementWithText</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts a new element immediately before this cursor's location, giving the
- element the specified local name, associating it with the specified namespace, 
- and giving it the specified content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new element.<DD><CODE>uri</CODE> - The URI for the new element's namespace.<DD><CODE>text</CODE> - The content for the new element.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttribute(java.lang.String)"><!-- --></A><H3>
-insertAttribute</H3>
-<PRE>
-public void <B>insertAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName)</PRE>
-<DL>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new attribute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertAttribute</H3>
-<PRE>
-public void <B>insertAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;localName,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri)</PRE>
-<DL>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified local name and associating it with the specified namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>localName</CODE> - The local name for the new attribute.<DD><CODE>uri</CODE> - The URI for the new attribute's namespace.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttribute(javax.xml.namespace.QName)"><!-- --></A><H3>
-insertAttribute</H3>
-<PRE>
-public void <B>insertAttribute</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The local name for the new attribute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttributeWithValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertAttributeWithValue</H3>
-<PRE>
-public void <B>insertAttributeWithValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;Name,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</PRE>
-<DL>
-<DD>Inserts a new attribute immediately before this cursor's location, giving it
- the specified value and name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>Name</CODE> - The local name for the new attribute.<DD><CODE>value</CODE> - The value for the new attribute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttributeWithValue(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertAttributeWithValue</H3>
-<PRE>
-public void <B>insertAttributeWithValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;name,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;uri,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</PRE>
-<DL>
-<DD>Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value, and associating it with the specified namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name for the new attribute.<DD><CODE>uri</CODE> - The URI for the new attribute's namespace.<DD><CODE>value</CODE> - The value for the new attribute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertAttributeWithValue(javax.xml.namespace.QName, java.lang.String)"><!-- --></A><H3>
-insertAttributeWithValue</H3>
-<PRE>
-public void <B>insertAttributeWithValue</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;value)</PRE>
-<DL>
-<DD>Inserts an attribute immediately before the cursor's location, giving it
- the specified name and value.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name for the new attribute.<DD><CODE>value</CODE> - The value for the new attribute.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertNamespace(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertNamespace</H3>
-<PRE>
-public void <B>insertNamespace</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;prefix,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;namespace)</PRE>
-<DL>
-<DD>Inserts a namespace declaration immediately before the cursor's location, 
- giving it the specified prefix and URI.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix for the namespace.<DD><CODE>namespace</CODE> - The URI for the namespace.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertComment(java.lang.String)"><!-- --></A><H3>
-insertComment</H3>
-<PRE>
-public void <B>insertComment</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts an XML comment immediately before the cursor's location, 
- giving it the specified content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>text</CODE> - The new comment's content.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertProcInst(java.lang.String, java.lang.String)"><!-- --></A><H3>
-insertProcInst</H3>
-<PRE>
-public void <B>insertProcInst</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;target,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;text)</PRE>
-<DL>
-<DD>Inserts an XML processing instruction immediately before the cursor's location, 
- giving it the specified target and text.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>target</CODE> - The target for the processing instruction.<DD><CODE>text</CODE> - The new processing instruction's text.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If the insertion is not allowed
- at the cursor's location.</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlByte.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlCursor.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.Factory.html
deleted file mode 100644
index ee77db9..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDate.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDate.Factory,XmlDate.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDate.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDate.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDate.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDate.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlDate.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDate.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.html
deleted file mode 100644
index 51c2905..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDate.html
+++ /dev/null
@@ -1,596 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlDate (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDate,XmlDate interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDate (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDate.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlDate</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlDate</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#date">xs:date</a> type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>, and <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html">XmlDate.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#dateValue()">dateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getDateValue()"><CODE>getDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#getDateValue()">getDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#set(java.util.Date)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)">setDateValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="dateValue()"><!-- --></A><H3>
-dateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>dateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#getDateValue()"><CODE>getDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Date)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDate.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDateValue()"><!-- --></A><H3>
-getDateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDateValue(java.util.Date)"><!-- --></A><H3>
-setDateValue</H3>
-<PRE>
-public void <B>setDateValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDate.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.Factory.html
deleted file mode 100644
index f48aaad..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDateTime.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDateTime.Factory,XmlDateTime.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDateTime.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDateTime.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDateTime.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDateTime.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlDateTime.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14T12:00:00&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06-14T12:00:00&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDateTime.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.html
deleted file mode 100644
index 79bd6dc..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDateTime.html
+++ /dev/null
@@ -1,596 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlDateTime (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDateTime,XmlDateTime interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDateTime (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDateTime.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlDateTime</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlDateTime</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#dateTime">xs:dateTime</a> type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>, and <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html">XmlDateTime.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#dateValue()">dateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getDateValue()"><CODE>getDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getDateValue()">getDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#set(java.util.Date)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)">setDateValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="dateValue()"><!-- --></A><H3>
-dateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>dateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#getDateValue()"><CODE>getDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Date)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html#setDateValue(java.util.Date)"><CODE>setDateValue(java.util.Date)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDateValue()"><!-- --></A><H3>
-getDateValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A> <B>getDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDateValue(java.util.Date)"><!-- --></A><H3>
-setDateValue</H3>
-<PRE>
-public void <B>setDateValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html">Date</A>&nbsp;d)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html"><CODE>Date</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDate.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDateTime.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.Factory.html
deleted file mode 100644
index 4ae306a..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDecimal.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDecimal.Factory,XmlDecimal.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDecimal.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDecimal.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDecimal.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDecimal.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlDecimal.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234.56789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234.56789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDecimal.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.html
deleted file mode 100644
index 9ab19ba..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDecimal.html
+++ /dev/null
@@ -1,396 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlDecimal (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDecimal,XmlDecimal interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDecimal (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDecimal.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlDecimal</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlDecimal</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a> type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()"><CODE>getBigDecimalValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;bd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>setBigDecimalValue(java.math.BigDecimal)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;bd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getBigDecimalValue()"><!-- --></A><H3>
-getBigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>getBigDecimalValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigDecimalValue(java.math.BigDecimal)"><!-- --></A><H3>
-setBigDecimalValue</H3>
-<PRE>
-public void <B>setBigDecimalValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;bd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigDecimalValue()"><!-- --></A><H3>
-bigDecimalValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>bigDecimalValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()"><CODE>getBigDecimalValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigDecimal)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A>&nbsp;bd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)"><CODE>setBigDecimalValue(java.math.BigDecimal)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html"><CODE>BigDecimal</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDecimal.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDocumentProperties.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDocumentProperties.html
deleted file mode 100644
index 8c97114..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDocumentProperties.html
+++ /dev/null
@@ -1,766 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDocumentProperties (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDocumentProperties,XmlDocumentProperties class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDocumentProperties (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDocumentProperties.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDocumentProperties</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDocumentProperties</B>
-</PRE>
-<HR>
-<DL>
-<DT>public abstract class <B>XmlDocumentProperties</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-This class is used to attach arbitrary information to an XML
- document.  It also defines several well-known types of
- information that can be attached or found on a document.
- <p>
- For example, suppose you wanted to associate a filename
- with the document containing an xml object "xobj".  This
- could be done via the following code:
- <p>
- tokenSource.documentProperties().set(XmlDocumentProperties.NAME, "MyFilename.xml");
- <p>
- To fetch the filename later, given an xobj2 anywhere in the
- same document, you can write:
- <p>
- filename = (String)tokenSource.documentProperties().get(XmlDocumentProperties.NAME);
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_NAME">DOCTYPE_NAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Doc type name</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_PUBLIC_ID">DOCTYPE_PUBLIC_ID</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Doc type public id</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#DOCTYPE_SYSTEM_ID">DOCTYPE_SYSTEM_ID</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Doc type system id</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#ENCODING">ENCODING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Document encoding</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#MESSAGE_DIGEST">MESSAGE_DIGEST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SHA message digest</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#SOURCE_NAME">SOURCE_NAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to store the original name (a String) for
- the source from which the XML document was loaded.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#VERSION">VERSION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Document version</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#XmlDocumentProperties()">XmlDocumentProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>abstract &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#get(java.lang.Object)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a value previously attached to a document using set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypeName()">getDoctypeName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the DOCTYPE name used in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypePublicId()">getDoctypePublicId</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the DOCTYPE public ID used in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getDoctypeSystemId()">getDoctypeSystemId</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the DOCTYPE system ID used in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getEncoding()">getEncoding</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the encoding used for the XML document, as an ISO encoding name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getMessageDigest()">getMessageDigest</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the message digest used to summarize the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getSourceName()">getSourceName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the XML document file.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#getVersion()">getVersion</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the XML version string used in the &lt&#63;xml&#63;&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>abstract &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#put(java.lang.Object, java.lang.Object)">put</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key,
-    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attaches a value to the root of the document containing
- the given token source.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>abstract &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#remove(java.lang.Object)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a value previously attached to a document using set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypeName(java.lang.String)">setDoctypeName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;doctypename)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the DOCTYPE name use in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypePublicId(java.lang.String)">setDoctypePublicId</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;publicid)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the DOCTYPE public ID to use in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setDoctypeSystemId(java.lang.String)">setDoctypeSystemId</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;systemid)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the DOCTYPE system ID to use in the &lt&#33;DOCTYPE&gt; declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setEncoding(java.lang.String)">setEncoding</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;encoding)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the encoding to use for the XML document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setMessageDigest(byte[])">setMessageDigest</A></B>(byte[]&nbsp;digest)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the message digest used to summarize the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setSourceName(java.lang.String)">setSourceName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the XML document file.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html#setVersion(java.lang.String)">setVersion</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;version)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the XML version string to use in the &lt&#63;xml&#63;&gt; declaration.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SOURCE_NAME"><!-- --></A><H3>
-SOURCE_NAME</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>SOURCE_NAME</B></PRE>
-<DL>
-<DD>Used to store the original name (a String) for
- the source from which the XML document was loaded.
- This name, if present, is used to identify the
- document when reporting validation or comilation errors.
-
- XmlObject.Factory.parse(File) and SchemaTypeLoader.loadInstance(File)
- both automatically set this value to the filename.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="ENCODING"><!-- --></A><H3>
-ENCODING</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>ENCODING</B></PRE>
-<DL>
-<DD>Document encoding
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="VERSION"><!-- --></A><H3>
-VERSION</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>VERSION</B></PRE>
-<DL>
-<DD>Document version
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="DOCTYPE_NAME"><!-- --></A><H3>
-DOCTYPE_NAME</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>DOCTYPE_NAME</B></PRE>
-<DL>
-<DD>Doc type name
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="DOCTYPE_PUBLIC_ID"><!-- --></A><H3>
-DOCTYPE_PUBLIC_ID</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>DOCTYPE_PUBLIC_ID</B></PRE>
-<DL>
-<DD>Doc type public id
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="DOCTYPE_SYSTEM_ID"><!-- --></A><H3>
-DOCTYPE_SYSTEM_ID</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>DOCTYPE_SYSTEM_ID</B></PRE>
-<DL>
-<DD>Doc type system id
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="MESSAGE_DIGEST"><!-- --></A><H3>
-MESSAGE_DIGEST</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>MESSAGE_DIGEST</B></PRE>
-<DL>
-<DD>SHA message digest
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlDocumentProperties()"><!-- --></A><H3>
-XmlDocumentProperties</H3>
-<PRE>
-public <B>XmlDocumentProperties</B>()</PRE>
-<DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="setSourceName(java.lang.String)"><!-- --></A><H3>
-setSourceName</H3>
-<PRE>
-public void <B>setSourceName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</PRE>
-<DL>
-<DD>Sets the name of the XML document file.  Typically a URL, but may
- be any String.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>sourceName</CODE> - the name to set<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentSourceName(java.lang.String)"><CODE>XmlOptions.setDocumentSourceName(java.lang.String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSourceName()"><!-- --></A><H3>
-getSourceName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSourceName</B>()</PRE>
-<DL>
-<DD>Returns the name of the XML document file.  Typically a URL, but may
- be any String.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentSourceName(java.lang.String)"><CODE>XmlOptions.setDocumentSourceName(java.lang.String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
-setEncoding</H3>
-<PRE>
-public void <B>setEncoding</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;encoding)</PRE>
-<DL>
-<DD>Sets the encoding to use for the XML document.  Should be a valid
- XML encoding string.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the ISO encoding name<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><CODE>XmlOptions.setCharacterEncoding(java.lang.String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getEncoding()"><!-- --></A><H3>
-getEncoding</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getEncoding</B>()</PRE>
-<DL>
-<DD>Returns the encoding used for the XML document, as an ISO encoding name.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><CODE>XmlOptions.setCharacterEncoding(java.lang.String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setVersion(java.lang.String)"><!-- --></A><H3>
-setVersion</H3>
-<PRE>
-public void <B>setVersion</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;version)</PRE>
-<DL>
-<DD>Sets the XML version string to use in the &lt&#63;xml&#63;&gt; declaration.
- (The XML specification is quite stable at "1.0".)
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>version</CODE> - the XML version string</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getVersion()"><!-- --></A><H3>
-getVersion</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getVersion</B>()</PRE>
-<DL>
-<DD>Returns the XML version string used in the &lt&#63;xml&#63;&gt; declaration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoctypeName(java.lang.String)"><!-- --></A><H3>
-setDoctypeName</H3>
-<PRE>
-public void <B>setDoctypeName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;doctypename)</PRE>
-<DL>
-<DD>Sets the DOCTYPE name use in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>doctypename</CODE> - the doctypename</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDoctypeName()"><!-- --></A><H3>
-getDoctypeName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDoctypeName</B>()</PRE>
-<DL>
-<DD>Returns the DOCTYPE name used in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoctypePublicId(java.lang.String)"><!-- --></A><H3>
-setDoctypePublicId</H3>
-<PRE>
-public void <B>setDoctypePublicId</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;publicid)</PRE>
-<DL>
-<DD>Sets the DOCTYPE public ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>publicid</CODE> - the public ID</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDoctypePublicId()"><!-- --></A><H3>
-getDoctypePublicId</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDoctypePublicId</B>()</PRE>
-<DL>
-<DD>Returns the DOCTYPE public ID used in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoctypeSystemId(java.lang.String)"><!-- --></A><H3>
-setDoctypeSystemId</H3>
-<PRE>
-public void <B>setDoctypeSystemId</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;systemid)</PRE>
-<DL>
-<DD>Sets the DOCTYPE system ID to use in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>systemid</CODE> - the system ID</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDoctypeSystemId()"><!-- --></A><H3>
-getDoctypeSystemId</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getDoctypeSystemId</B>()</PRE>
-<DL>
-<DD>Returns the DOCTYPE system ID used in the &lt&#33;DOCTYPE&gt; declaration.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setMessageDigest(byte[])"><!-- --></A><H3>
-setMessageDigest</H3>
-<PRE>
-public void <B>setMessageDigest</B>(byte[]&nbsp;digest)</PRE>
-<DL>
-<DD>Sets the message digest used to summarize the document.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>digest</CODE> - the bytes of the digest<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadMessageDigest()"><CODE>XmlOptions.setLoadMessageDigest()</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMessageDigest()"><!-- --></A><H3>
-getMessageDigest</H3>
-<PRE>
-public byte[] <B>getMessageDigest</B>()</PRE>
-<DL>
-<DD>Returns the message digest used to summarize the document.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadMessageDigest()"><CODE>XmlOptions.setLoadMessageDigest()</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
-put</H3>
-<PRE>
-public abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>put</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;value)</PRE>
-<DL>
-<DD>Attaches a value to the root of the document containing
- the given token source.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key: there can be one value for each key.<DD><CODE>value</CODE> - The value to attach to the document.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get(java.lang.Object)"><!-- --></A><H3>
-get</H3>
-<PRE>
-public abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Returns a value previously attached to a document using set.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key: this is the key that was previously
-              passed to set to store the value.
-<DT><B>Returns:</B><DD>The saved value, or null if none is found.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="remove(java.lang.Object)"><!-- --></A><H3>
-remove</H3>
-<PRE>
-public abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;key)</PRE>
-<DL>
-<DD>Removes a value previously attached to a document using set.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key: this is the key that was previously
-              passed to set to store the value.</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDocumentProperties.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.Factory.html
deleted file mode 100644
index 7d243d5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDouble.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDouble.Factory,XmlDouble.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDouble.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDouble.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDouble.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDouble.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlDouble.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123.34e+57&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123.34e+57&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDouble.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.html
deleted file mode 100644
index b252a5d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDouble.html
+++ /dev/null
@@ -1,393 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlDouble (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDouble,XmlDouble interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDouble (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDouble.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlDouble</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlDouble</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#double">xs:double</a> type.
- <p>
- Naturally, convertible to a Java double.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html">XmlDouble.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.html#doubleValue()">doubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#getDoubleValue()"><CODE>getDoubleValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;double</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.html#getDoubleValue()">getDoubleValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a double</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.html#set(double)">set</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)"><CODE>setDoubleValue(double)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)">setDoubleValue</A></B>(double&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a double</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getDoubleValue()"><!-- --></A><H3>
-getDoubleValue</H3>
-<PRE>
-public double <B>getDoubleValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a double
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDoubleValue(double)"><!-- --></A><H3>
-setDoubleValue</H3>
-<PRE>
-public void <B>setDoubleValue</B>(double&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as a double
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="doubleValue()"><!-- --></A><H3>
-doubleValue</H3>
-<PRE>
-public double <B>doubleValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#getDoubleValue()"><CODE>getDoubleValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a double
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(double)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(double&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDouble.html#setDoubleValue(double)"><CODE>setDoubleValue(double)</CODE></A></I>
-<P>
-<DD>Sets this value as a double
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDouble.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.Factory.html
deleted file mode 100644
index 0c5a8c9..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlDuration.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDuration.Factory,XmlDuration.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDuration.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDuration.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlDuration.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlDuration.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlDuration.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;P1Y2MT2H&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;P1Y2MT2H&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDuration.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.html
deleted file mode 100644
index 662afb4..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlDuration.html
+++ /dev/null
@@ -1,395 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlDuration (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlDuration,XmlDuration interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlDuration (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDuration.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlDuration</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlDuration</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">xs:duration</a> type.
- <p>
- Convertible to a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html">XmlDuration.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.html#gDurationValue()">gDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#getGDurationValue()"><CODE>getGDurationValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.html#getGDurationValue()">getGDurationValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.html#set(org.apache.xmlbeans.GDurationSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)">setGDurationValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getGDurationValue()"><!-- --></A><H3>
-getGDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>getGDurationValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDurationValue(org.apache.xmlbeans.GDuration)"><!-- --></A><H3>
-setGDurationValue</H3>
-<PRE>
-public void <B>setGDurationValue</B>(<A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDurationValue()"><!-- --></A><H3>
-gDurationValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDuration.html">GDuration</A> <B>gDurationValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#getGDurationValue()"><CODE>getGDurationValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDurationSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlDuration.html#setGDurationValue(org.apache.xmlbeans.GDuration)"><CODE>setGDurationValue(org.apache.xmlbeans.GDuration)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlDuration.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.Factory.html
deleted file mode 100644
index 4c4007c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlENTITIES.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlENTITIES.Factory,XmlENTITIES.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlENTITIES.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITIES.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlENTITIES.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlENTITIES.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlENTITIES.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITIES.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.html
deleted file mode 100644
index 4ca571c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITIES.html
+++ /dev/null
@@ -1,444 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlENTITIES (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlENTITIES,XmlENTITIES interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlENTITIES (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITIES.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlENTITIES</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlENTITIES</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITIES">xs:ENTITIES</a> type,
- a list type.
- <p>
- A list type.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html">XmlENTITIES.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()">getListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#listValue()">listValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#set(java.util.List)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#setListValue(java.util.List)">setListValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#xgetListValue()">xgetListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#xlistValue()">xlistValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getListValue()"><!-- --></A><H3>
-getListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>getListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xgetListValue()"><!-- --></A><H3>
-xgetListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xgetListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setListValue(java.util.List)"><!-- --></A><H3>
-setListValue</H3>
-<PRE>
-public void <B>setListValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listValue()"><!-- --></A><H3>
-listValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>listValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xlistValue()"><!-- --></A><H3>
-xlistValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xlistValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.List)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITIES.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.Factory.html
deleted file mode 100644
index b4bb60f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlENTITY.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlENTITY.Factory,XmlENTITY.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlENTITY.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITY.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlENTITY.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlENTITY.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlENTITY.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITY.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.html
deleted file mode 100644
index 4095572..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlENTITY.html
+++ /dev/null
@@ -1,325 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlENTITY (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlENTITY,XmlENTITY interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlENTITY (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITY.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlENTITY</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlENTITY</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITY">xs:ENTITY</a> type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html">XmlENTITY.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNCName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlENTITY.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlError.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlError.html
deleted file mode 100644
index 26b1b33..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlError.html
+++ /dev/null
@@ -1,927 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlError (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlError,XmlError class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlError (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlError.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlError</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlError</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlError</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Represents a message at a specific XML location.
- <p>
- The message can be an error, warning, or simple information, and
- it may optionally be associated with a specific location in
- an XML document.  The class includes methods for extracting
- the location as a line number, XmlCursor, or XmlObject, as
- well as for obtaining and message and severity of the
- error.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlException.html"><CODE>XmlException</CODE></A>, 
-<A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlError">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR">SEVERITY_ERROR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An error.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO">SEVERITY_INFO</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An informational message.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING">SEVERITY_WARNING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A warning.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#XmlError(org.apache.xmlbeans.XmlError)">XmlError</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;src)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy constructor.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forCursor(java.lang.String, int, org.apache.xmlbeans.XmlCursor)">forCursor</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          int&nbsp;severity,
-          <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with the given severity, located at the XmlCursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forCursor(java.lang.String, org.apache.xmlbeans.XmlCursor)">forCursor</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, located at the XmlCursor, with <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forLocation(java.lang.String, int, java.lang.String, int, int, int)">forLocation</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-            int&nbsp;severity,
-            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-            int&nbsp;line,
-            int&nbsp;column,
-            int&nbsp;offset)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with the given severity, located at a specific point in the given file.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forLocation(java.lang.String, java.lang.String, int, int, int)">forLocation</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-            int&nbsp;line,
-            int&nbsp;column,
-            int&nbsp;offset)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, located at a specific point in the given file and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forLocationAndCursor(java.lang.String, int, java.lang.String, int, int, int, org.apache.xmlbeans.XmlCursor)">forLocationAndCursor</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                     int&nbsp;severity,
-                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-                     int&nbsp;line,
-                     int&nbsp;column,
-                     int&nbsp;offset,
-                     <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with the given severity, located at the given physcial location and XmlCursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#formattedFileName(java.lang.String, java.net.URI)">formattedFileName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;rawString,
-                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html">URI</A>&nbsp;base)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to produce a nicely formatted filename from the given string.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forMessage(java.lang.String)">forMessage</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with no location and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forMessage(java.lang.String, int)">forMessage</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-           int&nbsp;severity)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with no location and the given severity.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forObject(java.lang.String, int, org.apache.xmlbeans.XmlObject)">forObject</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          int&nbsp;severity,
-          <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;xobj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with the given severity, located at the XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forObject(java.lang.String, org.apache.xmlbeans.XmlObject)">forObject</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;xobj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, located at the XmlObject, with <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forSource(java.lang.String, int, java.lang.String)">forSource</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          int&nbsp;severity,
-          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, with the given severity, located in the given file.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#forSource(java.lang.String, java.lang.String)">forSource</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XmlError for the given message, located in the given file and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getColumn()">getColumn</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the column number of the error, if available, -1 if not.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getCursorLocation()">getCursorLocation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location of the error as an <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>, null if
- not available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getLine()">getLine</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line number of the error, if available, -1 if not.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getLocation(java.lang.Object)">getLocation</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;type)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location object of the given type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getMessage()">getMessage</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the error message without location information.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getObjectLocation()">getObjectLocation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location of the error as an <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, null if
- not available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getOffset()">getOffset</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file character offset of the error, if available, -1 if not.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getSeverity()">getSeverity</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the severity.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#getSourceName()">getSourceName</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the URL (or other name) of the file with the error, if available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produces a standard string for the error message, complete with
- filename and location offsets if available.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlError.html#toString(java.net.URI)">toString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html">URI</A>&nbsp;base)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produces a standard string with the error message.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SEVERITY_ERROR"><!-- --></A><H3>
-SEVERITY_ERROR</H3>
-<PRE>
-public static final int <B>SEVERITY_ERROR</B></PRE>
-<DL>
-<DD>An error. See <A HREF="../../../org/apache/xmlbeans/XmlError.html#getSeverity()"><CODE>getSeverity()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlError.SEVERITY_ERROR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SEVERITY_WARNING"><!-- --></A><H3>
-SEVERITY_WARNING</H3>
-<PRE>
-public static final int <B>SEVERITY_WARNING</B></PRE>
-<DL>
-<DD>A warning. See <A HREF="../../../org/apache/xmlbeans/XmlError.html#getSeverity()"><CODE>getSeverity()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlError.SEVERITY_WARNING">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SEVERITY_INFO"><!-- --></A><H3>
-SEVERITY_INFO</H3>
-<PRE>
-public static final int <B>SEVERITY_INFO</B></PRE>
-<DL>
-<DD>An informational message. See <A HREF="../../../org/apache/xmlbeans/XmlError.html#getSeverity()"><CODE>getSeverity()</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlError.SEVERITY_INFO">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlError(org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XmlError</H3>
-<PRE>
-public <B>XmlError</B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;src)</PRE>
-<DL>
-<DD>Copy constructor.
-<P>
-<DT><B>Parameters:</B><DD><CODE>src</CODE> - The original XmlError to copy.</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="forMessage(java.lang.String)"><!-- --></A><H3>
-forMessage</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with no location and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forMessage(java.lang.String, int)"><!-- --></A><H3>
-forMessage</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                  int&nbsp;severity)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with no location and the given severity.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forSource(java.lang.String, java.lang.String)"><!-- --></A><H3>
-forSource</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forSource</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, located in the given file and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>sourceName</CODE> - the URL or other name for the file</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forSource(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
-forSource</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forSource</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 int&nbsp;severity,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with the given severity, located in the given file.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)<DD><CODE>sourceName</CODE> - the URL or other name for the file</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forLocation(java.lang.String, java.lang.String, int, int, int)"><!-- --></A><H3>
-forLocation</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forLocation</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-                                   int&nbsp;line,
-                                   int&nbsp;column,
-                                   int&nbsp;offset)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, located at a specific point in the given file and <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>sourceName</CODE> - the URL or other name for the file<DD><CODE>line</CODE> - the 1-based line number, or -1 if not known<DD><CODE>column</CODE> - the 1-based column number, or -1 if not known<DD><CODE>offset</CODE> - the 0-base file character offset, or -1 if not known</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forLocation(java.lang.String, int, java.lang.String, int, int, int)"><!-- --></A><H3>
-forLocation</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forLocation</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                   int&nbsp;severity,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-                                   int&nbsp;line,
-                                   int&nbsp;column,
-                                   int&nbsp;offset)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with the given severity, located at a specific point in the given file.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)<DD><CODE>sourceName</CODE> - the URL or other name for the file<DD><CODE>line</CODE> - the 1-based line number, or -1 if not known<DD><CODE>column</CODE> - the 1-based column number, or -1 if not known<DD><CODE>offset</CODE> - the 0-base file character offset, or -1 if not known</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forLocationAndCursor(java.lang.String, int, java.lang.String, int, int, int, org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-forLocationAndCursor</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forLocationAndCursor</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                            int&nbsp;severity,
-                                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;sourceName,
-                                            int&nbsp;line,
-                                            int&nbsp;column,
-                                            int&nbsp;offset,
-                                            <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with the given severity, located at the given physcial location and XmlCursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)<DD><CODE>sourceName</CODE> - the URL or other name for the file<DD><CODE>line</CODE> - the 1-based line number, or -1 if not known<DD><CODE>column</CODE> - the 1-based column number, or -1 if not known<DD><CODE>offset</CODE> - the 0-base file character offset, or -1 if not known<DD><CODE>cursor</CODE> - the XmlCursor representing the location of the error</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forObject(java.lang.String, org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-forObject</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forObject</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;xobj)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, located at the XmlObject, with <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>xobj</CODE> - the XmlObject representing the location of the error</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forObject(java.lang.String, int, org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-forObject</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forObject</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 int&nbsp;severity,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;xobj)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with the given severity, located at the XmlObject.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)<DD><CODE>xobj</CODE> - the XmlObject representing the location of the error</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forCursor(java.lang.String, org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-forCursor</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forCursor</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, located at the XmlCursor, with <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>cursor</CODE> - the XmlCursor representing the location of the error</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="forCursor(java.lang.String, int, org.apache.xmlbeans.XmlCursor)"><!-- --></A><H3>
-forCursor</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>forCursor</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;message,
-                                 int&nbsp;severity,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>&nbsp;cursor)</PRE>
-<DL>
-<DD>Returns an XmlError for the given message, with the given severity, located at the XmlCursor.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message<DD><CODE>severity</CODE> - the severity (<A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>)<DD><CODE>cursor</CODE> - the XmlCursor representing the location of the error</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="formattedFileName(java.lang.String, java.net.URI)"><!-- --></A><H3>
-formattedFileName</H3>
-<PRE>
-protected static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>formattedFileName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;rawString,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html">URI</A>&nbsp;base)</PRE>
-<DL>
-<DD>Tries to produce a nicely formatted filename from the given string.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSeverity()"><!-- --></A><H3>
-getSeverity</H3>
-<PRE>
-public int <B>getSeverity</B>()</PRE>
-<DL>
-<DD>Returns the severity.  Either <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_ERROR"><CODE>SEVERITY_ERROR</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_WARNING"><CODE>SEVERITY_WARNING</CODE></A>, or <A HREF="../../../org/apache/xmlbeans/XmlError.html#SEVERITY_INFO"><CODE>SEVERITY_INFO</CODE></A>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMessage()"><!-- --></A><H3>
-getMessage</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getMessage</B>()</PRE>
-<DL>
-<DD>Returns the error message without location information.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSourceName()"><!-- --></A><H3>
-getSourceName</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>getSourceName</B>()</PRE>
-<DL>
-<DD>Returns the URL (or other name) of the file with the error, if available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLine()"><!-- --></A><H3>
-getLine</H3>
-<PRE>
-public int <B>getLine</B>()</PRE>
-<DL>
-<DD>Returns the line number of the error, if available, -1 if not.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getColumn()"><!-- --></A><H3>
-getColumn</H3>
-<PRE>
-public int <B>getColumn</B>()</PRE>
-<DL>
-<DD>Returns the column number of the error, if available, -1 if not.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getOffset()"><!-- --></A><H3>
-getOffset</H3>
-<PRE>
-public int <B>getOffset</B>()</PRE>
-<DL>
-<DD>Returns the file character offset of the error, if available, -1 if not.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLocation(java.lang.Object)"><!-- --></A><H3>
-getLocation</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>getLocation</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;type)</PRE>
-<DL>
-<DD>Returns a location object of the given type.  XmlCursor.class and
- XmlObject.class can be passed, for example.  Null if not available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getCursorLocation()"><!-- --></A><H3>
-getCursorLocation</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>getCursorLocation</B>()</PRE>
-<DL>
-<DD>Returns a location of the error as an <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>, null if
- not available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getObjectLocation()"><!-- --></A><H3>
-getObjectLocation</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>getObjectLocation</B>()</PRE>
-<DL>
-<DD>Returns a location of the error as an <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, null if
- not available.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Produces a standard string for the error message, complete with
- filename and location offsets if available.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString(java.net.URI)"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html">URI</A>&nbsp;base)</PRE>
-<DL>
-<DD>Produces a standard string with the error message.  If a non-null
- URI is supplied, source names are relativized against the given
- URI.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlError.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlException.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlException.html
deleted file mode 100644
index 1193a54..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlException.html
+++ /dev/null
@@ -1,398 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlException (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlException,XmlException class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlException (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlException</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">java.lang.Exception</A>
-              |
-              +--<B>org.apache.xmlbeans.XmlException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">Exception</A></DL>
-
-<P>
-A checked exception that can be thrown while processing,
- parsing, or compiling XML.  May contain any number of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>
- objects.
- <p>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><CODE>XmlRuntimeException</CODE></A>, 
-<A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String)">XmlException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from a message.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable)">XmlException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from a message and a cause.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable, java.util.Collection)">XmlException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;errors)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from a message, a cause, and a collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)">XmlException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-             <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from a message, a cause, and an <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(java.lang.Throwable)">XmlException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from a cause.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(org.apache.xmlbeans.XmlError)">XmlException</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from an <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#XmlException(org.apache.xmlbeans.XmlRuntimeException)">XmlException</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>&nbsp;xmlRuntimeException)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlException from an <A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><CODE>XmlRuntimeException</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#getError()">getError</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlException.html#getErrors()">getErrors</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getMessage()">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace()">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlException(java.lang.String)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m)</PRE>
-<DL>
-<DD>Constructs an XmlException from a message.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</PRE>
-<DL>
-<DD>Constructs an XmlException from a message and a cause.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(java.lang.Throwable)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</PRE>
-<DL>
-<DD>Constructs an XmlException from a cause.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</PRE>
-<DL>
-<DD>Constructs an XmlException from an <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                    <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</PRE>
-<DL>
-<DD>Constructs an XmlException from a message, a cause, and an <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(java.lang.String, java.lang.Throwable, java.util.Collection)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;errors)</PRE>
-<DL>
-<DD>Constructs an XmlException from a message, a cause, and a collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A>.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlException(org.apache.xmlbeans.XmlRuntimeException)"><!-- --></A><H3>
-XmlException</H3>
-<PRE>
-public <B>XmlException</B>(<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html">XmlRuntimeException</A>&nbsp;xmlRuntimeException)</PRE>
-<DL>
-<DD>Constructs an XmlException from an <A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><CODE>XmlRuntimeException</CODE></A>.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getError()"><!-- --></A><H3>
-getError</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>getError</B>()</PRE>
-<DL>
-<DD>Returns the first <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getErrors()"><!-- --></A><H3>
-getErrors</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A> <B>getErrors</B>()</PRE>
-<DL>
-<DD>Returns the collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused the exception, if any.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html
deleted file mode 100644
index 76df959..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html
+++ /dev/null
@@ -1,243 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlFactoryHook.ThreadContext (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlFactoryHook.ThreadContext,XmlFactoryHook.ThreadContext class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlFactoryHook.ThreadContext (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFactoryHook.ThreadContext.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlFactoryHook.ThreadContext</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlFactoryHook.ThreadContext</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlFactoryHook.ThreadContext</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-Used to manage the XmlFactoryHook for the current thread.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html#getHook()">getHook</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current thread's hook, or null if none.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html#setHook(org.apache.xmlbeans.XmlFactoryHook)">setHook</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>&nbsp;hook)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the hook for the current thread.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getHook()"><!-- --></A><H3>
-getHook</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A> <B>getHook</B>()</PRE>
-<DL>
-<DD>Returns the current thread's hook, or null if none.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setHook(org.apache.xmlbeans.XmlFactoryHook)"><!-- --></A><H3>
-setHook</H3>
-<PRE>
-public static void <B>setHook</B>(<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html">XmlFactoryHook</A>&nbsp;hook)</PRE>
-<DL>
-<DD>Sets the hook for the current thread.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFactoryHook.ThreadContext.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.html
deleted file mode 100644
index 09243f8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFactoryHook.html
+++ /dev/null
@@ -1,431 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlFactoryHook (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlFactoryHook,XmlFactoryHook interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlFactoryHook (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFactoryHook.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlFactoryHook</H2>
-<HR>
-<DL>
-<DT>public interface <B>XmlFactoryHook</B></DL>
-
-<P>
-A hook for the XML Bean Factory mechanism.
- Provided for advanced users who wish to provide their own
- implementation of the Factory.parse methods. This is used, for example,
- to defer reading XML streams until needed.
- <p>
- To use the hook, call XmlFactoryHook.ThreadContext.setHook(), passing
- your own XmlFactoryHook implementation.  Then every call to a Factory
- method will be delgated to your hook.
-
- <pre>
- MyHook hook = new MyHook();
- XmlFactoryHook.ThreadContext.setHook(hook);
- // this results in a call to hook.parse(...)
- XmlObject.Factory.parse(new File("test.xml"));
- </pre>
- 
- If the hook needs to turn around and invoke the built-in parsers, then
- it should do so by calling the appropriate method on the passed
- SchemaTypeLoader.  Since SchemaTypeLoader.parse() methods delegate
- to the registered hook, a hook that wishes to actually invoke the
- default parser without having itself called back again should
- unregister itself before calling loader.parse(), and then re-register
- itself again after the call.
- <pre>
- void parse(SchemaTypeLoader loader, ...)
- {
-     XmlFactoryHook remember = XmlFactoryHook.ThreadContext.getHook();
-     XmlFactoryHook.ThreadContext.setHook(null);
-     loader.parse(...); // isn't hooked.
-     XmlFactoryHook.ThreadContext.setHook(remember);
- }
- </pre>
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html">XmlFactoryHook.ThreadContext</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to manage the XmlFactoryHook for the current thread.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#newInstance(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-            <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.newInstance calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">newXmlSaxHandler</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                 <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.newXmlSaxHandler calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;jiois,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.parse calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.parse calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;jior,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.parse calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlText,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.parse calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html#parse(org.apache.xmlbeans.SchemaTypeLoader, weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-      <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks Factory.parse calls</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                             <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Hooks Factory.newInstance calls
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.apache.xmlbeans.SchemaTypeLoader, java.lang.String, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;xmlText,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Hooks Factory.parse calls
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.InputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;jiois,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Hooks Factory.parse calls
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.apache.xmlbeans.SchemaTypeLoader, java.io.Reader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;jior,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Hooks Factory.parse calls
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.apache.xmlbeans.SchemaTypeLoader, org.w3c.dom.Node, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Hooks Factory.parse calls
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.apache.xmlbeans.SchemaTypeLoader, weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                       <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Hooks Factory.parse calls
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXmlSaxHandler(org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newXmlSaxHandler</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A> <B>newXmlSaxHandler</B>(<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html">SchemaTypeLoader</A>&nbsp;loader,
-                                      <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type,
-                                      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Hooks Factory.newXmlSaxHandler calls
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFactoryHook.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.Factory.html
deleted file mode 100644
index dc0f271..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlFloat.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlFloat.Factory,XmlFloat.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlFloat.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFloat.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlFloat.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlFloat.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlFloat.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12.34e+5&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12.34e+5&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFloat.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.html
deleted file mode 100644
index ed58ce8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlFloat.html
+++ /dev/null
@@ -1,393 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlFloat (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlFloat,XmlFloat interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlFloat (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFloat.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlFloat</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlFloat</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#float">xs:float</a> type.
- <p>
- Naturally, convertible to a Java float.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html">XmlFloat.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.html#floatValue()">floatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#getFloatValue()"><CODE>getFloatValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.html#getFloatValue()">getFloatValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a float</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.html#set(float)">set</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)"><CODE>setFloatValue(float)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)">setFloatValue</A></B>(float&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a float</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getFloatValue()"><!-- --></A><H3>
-getFloatValue</H3>
-<PRE>
-public float <B>getFloatValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a float
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setFloatValue(float)"><!-- --></A><H3>
-setFloatValue</H3>
-<PRE>
-public void <B>setFloatValue</B>(float&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as a float
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="floatValue()"><!-- --></A><H3>
-floatValue</H3>
-<PRE>
-public float <B>floatValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#getFloatValue()"><CODE>getFloatValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a float
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(float)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(float&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlFloat.html#setFloatValue(float)"><CODE>setFloatValue(float)</CODE></A></I>
-<P>
-<DD>Sets this value as a float
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlFloat.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.Factory.html
deleted file mode 100644
index c614d2d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlGDay.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGDay.Factory,XmlGDay.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGDay.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGDay.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlGDay.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlGDay.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlGDay.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;---14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;---14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGDay.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.html
deleted file mode 100644
index 452f6b3..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGDay.html
+++ /dev/null
@@ -1,597 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlGDay (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGDay,XmlGDay interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGDay (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGDay.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlGDay</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlGDay</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gDay">xs:gDay</a> type.
- A gDay specifies only a day-of-month.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>, or an int.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html">XmlGDay.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as an int from 1-31</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as an int from 1-31</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGDay.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGDay.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.Factory.html
deleted file mode 100644
index e0348f2..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlGMonth.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGMonth.Factory,XmlGMonth.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGMonth.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonth.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlGMonth.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlGMonth.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlGMonth.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonth.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.html
deleted file mode 100644
index 142f759..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonth.html
+++ /dev/null
@@ -1,597 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlGMonth (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGMonth,XmlGMonth interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGMonth (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonth.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlGMonth</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlGMonth</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonth">xs:gMonth</a> type.
- A gMonth specifies only a month-of-year.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>, or an int.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html">XmlGMonth.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as an int from 1-12</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as an int from 1-12</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns this value as an int from 1-12
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as an int from 1-12
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns this value as an int from 1-12
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets this value as an int from 1-12
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonth.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.Factory.html
deleted file mode 100644
index c2fedae..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlGMonthDay.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGMonthDay.Factory,XmlGMonthDay.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGMonthDay.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonthDay.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlGMonthDay.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlGMonthDay.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlGMonthDay.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06-14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;--06-14&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonthDay.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.html
deleted file mode 100644
index 4f45e01..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGMonthDay.html
+++ /dev/null
@@ -1,497 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlGMonthDay (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGMonthDay,XmlGMonthDay interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGMonthDay (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonthDay.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlGMonthDay</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlGMonthDay</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">xs:gMonthDay</a> type.
- A gMonthDay specifies a day of a specific month without specifying the year.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A> or <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGMonthDay.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.Factory.html
deleted file mode 100644
index 5dd15b8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlGYear.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGYear.Factory,XmlGYear.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGYear.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYear.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlGYear.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlGYear.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlGYear.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYear.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.html
deleted file mode 100644
index 2fbdbde..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYear.html
+++ /dev/null
@@ -1,597 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlGYear (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGYear,XmlGYear interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGYear (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYear.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlGYear</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlGYear</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gYear">xs:gYear</a> type.
- A gYear specifies a Gregorian year (AD).
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>, or an int.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html">XmlGYear.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as an int from 1-31</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as an int from 1-31</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYear.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets this value as an int from 1-31
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYear.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.Factory.html
deleted file mode 100644
index 5234e75..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlGYearMonth.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGYearMonth.Factory,XmlGYearMonth.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGYearMonth.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYearMonth.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlGYearMonth.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlGYearMonth.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlGYearMonth.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;2003-06&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                  <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                           throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                  <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYearMonth.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.html
deleted file mode 100644
index 1c19a86..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlGYearMonth.html
+++ /dev/null
@@ -1,497 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlGYearMonth (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlGYearMonth,XmlGYearMonth interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlGYearMonth (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYearMonth.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlGYearMonth</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlGYearMonth</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">xs:gYearMonth</a> type.
- A gYearMonth specifies a month in a specific year.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>, <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlGYearMonth.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.Factory.html
deleted file mode 100644
index 5f143fc..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlHexBinary.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlHexBinary.Factory,XmlHexBinary.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlHexBinary.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlHexBinary.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlHexBinary.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlHexBinary.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlHexBinary.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;68656c6c6f&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;68656c6c6f&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                          throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                 <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlHexBinary.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.html
deleted file mode 100644
index 703fb7d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlHexBinary.html
+++ /dev/null
@@ -1,393 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlHexBinary (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlHexBinary,XmlHexBinary interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlHexBinary (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlHexBinary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlHexBinary</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlHexBinary</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#hexBinary">xs:hexBinary</a> type.
- <p>
- Convertible to a byte array.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html">XmlHexBinary.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#byteArrayValue()">byteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;byte[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()">getByteArrayValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a byte array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#set(byte[])">set</A></B>(byte[]&nbsp;ba)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])">setByteArrayValue</A></B>(byte[]&nbsp;ba)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a byte array.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="byteArrayValue()"><!-- --></A><H3>
-byteArrayValue</H3>
-<PRE>
-public byte[] <B>byteArrayValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#getByteArrayValue()"><CODE>getByteArrayValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(byte[])"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(byte[]&nbsp;ba)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html#setByteArrayValue(byte[])"><CODE>setByteArrayValue(byte[])</CODE></A></I>
-<P>
-<DD>Sets this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getByteArrayValue()"><!-- --></A><H3>
-getByteArrayValue</H3>
-<PRE>
-public byte[] <B>getByteArrayValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setByteArrayValue(byte[])"><!-- --></A><H3>
-setByteArrayValue</H3>
-<PRE>
-public void <B>setByteArrayValue</B>(byte[]&nbsp;ba)</PRE>
-<DL>
-<DD>Sets this value as a byte array.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlHexBinary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.Factory.html
deleted file mode 100644
index be3ab94..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlID.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlID.Factory,XmlID.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlID.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlID.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlID.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlID.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlID.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;n1&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;n1&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlID.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.html
deleted file mode 100644
index 5101613..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlID.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlID (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlID,XmlID interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlID (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlID.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlID</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlID</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#ID">xs:ID</a> type.
- <p>
- When validated, IDs must be unique within a document.  An element
- may not have more than one attribute whose type is ID.
- <p>
- Convertible to a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html">XmlID.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNCName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlID.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlID.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.Factory.html
deleted file mode 100644
index aca7cca..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlIDREF.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlIDREF.Factory,XmlIDREF.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlIDREF.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREF.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlIDREF.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlIDREF.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlIDREF.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREF.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.html
deleted file mode 100644
index 5f06c9c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREF.html
+++ /dev/null
@@ -1,329 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlIDREF (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlIDREF,XmlIDREF interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlIDREF (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREF.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlIDREF</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlIDREF</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREF">xs:IDREF</a> type.
- <p>
- When validated, IDREF values must match an ID value that is present within
- the document. This rule is only verified when a whole document is validated
- at once.
- <p>
- Convertible to a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html">XmlIDREF.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNCName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREF.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlID.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREF.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.Factory.html
deleted file mode 100644
index 0a6d42a..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlIDREFS.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlIDREFS.Factory,XmlIDREFS.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlIDREFS.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREFS.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlIDREFS.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlIDREFS.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlIDREFS.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREFS.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.html
deleted file mode 100644
index c8a3ee6..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlIDREFS.html
+++ /dev/null
@@ -1,448 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlIDREFS (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlIDREFS,XmlIDREFS interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlIDREFS (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREFS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlIDREFS</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlIDREFS</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREFS">xs:IDREFS</a> type,
- a list type.
- <p>
- When validated, IDREF values must match an ID value that is present within
- the document. This rule is only verified when a whole document is validated
- at once.
- <p>
- Convertible to a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html">XmlIDREFS.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()">getListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#listValue()">listValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#set(java.util.List)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#setListValue(java.util.List)">setListValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#xgetListValue()">xgetListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#xlistValue()">xlistValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getListValue()"><!-- --></A><H3>
-getListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>getListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xgetListValue()"><!-- --></A><H3>
-xgetListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xgetListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setListValue(java.util.List)"><!-- --></A><H3>
-setListValue</H3>
-<PRE>
-public void <B>setListValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listValue()"><!-- --></A><H3>
-listValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>listValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xlistValue()"><!-- --></A><H3>
-xlistValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xlistValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.List)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlIDREFS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.Factory.html
deleted file mode 100644
index a4979af..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlInt.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlInt.Factory,XmlInt.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlInt.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInt.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlInt.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlInt.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlInt.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                           <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInt.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.html
deleted file mode 100644
index 162f3e9..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInt.html
+++ /dev/null
@@ -1,451 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlInt (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlInt,XmlInt interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlInt (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInt.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlInt</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlInt</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Naturally, convertible to a Java int.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as an int</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInt.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInt.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInt.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as an int</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()">getLongValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#longValue()">longValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#set(long)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)">setLongValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInt.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInt.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInt.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.Factory.html
deleted file mode 100644
index c3cb7e5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlInteger.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlInteger.Factory,XmlInteger.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlInteger.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlInteger.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlInteger.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlInteger.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.html
deleted file mode 100644
index 4025d6d..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlInteger.html
+++ /dev/null
@@ -1,419 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlInteger (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlInteger,XmlInteger interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlInteger (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlInteger</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlInteger</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#integer">xs:integer</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- This type should not be confused with <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a>
- or Java <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html"><CODE>Integer</CODE></A>.  This type represents an arbitrary-precision integer with
- any number of digits, while a Java int or an xs:int is a 32-bit finite-precision integer.
- <p>
- Convertible to a Java <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()"><CODE>getBigIntegerValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;bi)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)"><CODE>setBigIntegerValue(java.math.BigInteger)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;bi)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getBigIntegerValue()"><!-- --></A><H3>
-getBigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>getBigIntegerValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setBigIntegerValue(java.math.BigInteger)"><!-- --></A><H3>
-setBigIntegerValue</H3>
-<PRE>
-public void <B>setBigIntegerValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;bi)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="bigIntegerValue()"><!-- --></A><H3>
-bigIntegerValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A> <B>bigIntegerValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()"><CODE>getBigIntegerValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.math.BigInteger)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html">BigInteger</A>&nbsp;bi)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)"><CODE>setBigIntegerValue(java.math.BigInteger)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.Factory.html
deleted file mode 100644
index fc082a4..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlLanguage.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlLanguage.Factory,XmlLanguage.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlLanguage.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLanguage.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlLanguage.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlLanguage.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlLanguage.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;en-us&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;en-us&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLanguage.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.html
deleted file mode 100644
index fc7029b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLanguage.html
+++ /dev/null
@@ -1,309 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:57 PDT 2003 -->
-<TITLE>
-XmlLanguage (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlLanguage,XmlLanguage interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlLanguage (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLanguage.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlLanguage</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlLanguage</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#language">xs:language</a> type.
- <p>
- This type is intended to represent an standard ISO language code string.
- <p>
- Convertible to a Java <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html">XmlLanguage.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLanguage.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLanguage.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLineNumber.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLineNumber.html
deleted file mode 100644
index 82fe78b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLineNumber.html
+++ /dev/null
@@ -1,360 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlLineNumber (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlLineNumber,XmlLineNumber class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlLineNumber (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLineNumber.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.XmlCursor.XmlBookmark">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlLineNumber</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">org.apache.xmlbeans.XmlCursor.XmlBookmark</A>
-        |
-        +--<B>org.apache.xmlbeans.XmlLineNumber</B>
-</PRE>
-<HR>
-<DL>
-<DT>public class <B>XmlLineNumber</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></DL>
-
-<P>
-A subclass of XmlBookmark that holds line number information.
- If a document is parsed with line numbers
- enabled, these bookmarks will be placed at appropriate locations
- within the document.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()"><CODE>XmlOptions.setLoadLineNumbers()</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlCursor.XmlBookmark"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_currentMark">_currentMark</A>, <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#_ref">_ref</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int)">XmlLineNumber</A></B>(int&nbsp;line)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a line number with no column or offset information.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int, int)">XmlLineNumber</A></B>(int&nbsp;line,
-              int&nbsp;column)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a line number and column with no file offset information.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#XmlLineNumber(int, int, int)">XmlLineNumber</A></B>(int&nbsp;line,
-              int&nbsp;column,
-              int&nbsp;offset)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a line number and column with no file offset information.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#getColumn()">getColumn</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the 1-based column number, or -1 if not known.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#getLine()">getLine</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the 1-based line number, or -1 if not known.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html#getOffset()">getOffset</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the 0-based file offset number, or -1 if not known.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlCursor.XmlBookmark"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#createCursor()">createCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#getKey()">getKey</A>, <A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html#toBookmark(org.apache.xmlbeans.XmlCursor)">toBookmark</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlLineNumber(int)"><!-- --></A><H3>
-XmlLineNumber</H3>
-<PRE>
-public <B>XmlLineNumber</B>(int&nbsp;line)</PRE>
-<DL>
-<DD>Constructs a line number with no column or offset information.
-<P>
-<DT><B>Parameters:</B><DD><CODE>line</CODE> - the line number - the first line is 1</DL>
-<HR>
-
-<A NAME="XmlLineNumber(int, int)"><!-- --></A><H3>
-XmlLineNumber</H3>
-<PRE>
-public <B>XmlLineNumber</B>(int&nbsp;line,
-                     int&nbsp;column)</PRE>
-<DL>
-<DD>Constructs a line number and column with no file offset information.
-<P>
-<DT><B>Parameters:</B><DD><CODE>line</CODE> - the line number - the first line is 1</DL>
-<HR>
-
-<A NAME="XmlLineNumber(int, int, int)"><!-- --></A><H3>
-XmlLineNumber</H3>
-<PRE>
-public <B>XmlLineNumber</B>(int&nbsp;line,
-                     int&nbsp;column,
-                     int&nbsp;offset)</PRE>
-<DL>
-<DD>Constructs a line number and column with no file offset information.
-<P>
-<DT><B>Parameters:</B><DD><CODE>line</CODE> - the line number - the first line is 1</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getLine()"><!-- --></A><H3>
-getLine</H3>
-<PRE>
-public int <B>getLine</B>()</PRE>
-<DL>
-<DD>Returns the 1-based line number, or -1 if not known.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getColumn()"><!-- --></A><H3>
-getColumn</H3>
-<PRE>
-public int <B>getColumn</B>()</PRE>
-<DL>
-<DD>Returns the 1-based column number, or -1 if not known.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getOffset()"><!-- --></A><H3>
-getOffset</H3>
-<PRE>
-public int <B>getOffset</B>()</PRE>
-<DL>
-<DD>Returns the 0-based file offset number, or -1 if not known.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLineNumber.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlbeans.XmlCursor.XmlBookmark">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.Factory.html
deleted file mode 100644
index 967a7a1..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlLong.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlLong.Factory,XmlLong.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlLong.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLong.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlLong.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlLong.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlLong.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLong.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.html
deleted file mode 100644
index d4d414c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlLong.html
+++ /dev/null
@@ -1,433 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlLong (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlLong,XmlLong interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlLong (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLong.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlLong</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlLong</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#long">xs:long</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Naturally, convertible to a Java long.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()">getLongValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a long</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.html#longValue()">longValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()"><CODE>getLongValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.html#set(long)">set</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)">setLongValue</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a long</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getLongValue()"><!-- --></A><H3>
-getLongValue</H3>
-<PRE>
-public long <B>getLongValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLongValue(long)"><!-- --></A><H3>
-setLongValue</H3>
-<PRE>
-public void <B>setLongValue</B>(long&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="longValue()"><!-- --></A><H3>
-longValue</H3>
-<PRE>
-public long <B>longValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()"><CODE>getLongValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(long)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(long&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I>
-<P>
-<DD>Sets this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlLong.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.Factory.html
deleted file mode 100644
index 84fb02a..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlNCName.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNCName.Factory,XmlNCName.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNCName.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNCName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNCName.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNCName.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNCName.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;My-Name&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;My-Name&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNCName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.html
deleted file mode 100644
index ff61b55..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNCName.html
+++ /dev/null
@@ -1,325 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNCName (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNCName,XmlNCName interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNCName (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNCName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNCName</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNCName</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- <p>
- This kind of string is the same as the non-colonized strings that are used
- for XML localnames and prefixes, "my-href.2".  It is just a physical
- string, however, and it should NOT be confused with <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>,
- which is a logical combination of localname and namespace URI.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html">XmlNCName.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlName"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNCName.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNCName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.Factory.html
deleted file mode 100644
index 059ee0f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNMTOKEN.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNMTOKEN.Factory,XmlNMTOKEN.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNMTOKEN.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKEN.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNMTOKEN.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNMTOKEN.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNMTOKEN.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.2&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.2&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                               <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                        throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                               <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKEN.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.html
deleted file mode 100644
index b6ca501..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKEN.html
+++ /dev/null
@@ -1,312 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNMTOKEN (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNMTOKEN,XmlNMTOKEN interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNMTOKEN (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKEN.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNMTOKEN</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNMTOKEN</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- <p>
- An NMTOKEN is XML's closest concept to an "identifier"; for example,
- it does not permit spaces and only limited punctuation.  So NMTOKEN is
- commonly used to describe a single token or enumerated string value.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKEN.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.Factory.html
deleted file mode 100644
index e5397e1..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNMTOKENS.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNMTOKENS.Factory,XmlNMTOKENS.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNMTOKENS.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKENS.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNMTOKENS.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNMTOKENS.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNMTOKENS.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.1 sample-1.2 sample-1.3&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;sample-1.1 sample-1.2 sample-1.3&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKENS.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.html
deleted file mode 100644
index 4d803dd..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNMTOKENS.html
+++ /dev/null
@@ -1,444 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNMTOKENS (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNMTOKENS,XmlNMTOKENS interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNMTOKENS (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKENS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNMTOKENS</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNMTOKENS</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS">xs:NMTOKENS</a> type,
- a list type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()">getListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#listValue()">listValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#set(java.util.List)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#setListValue(java.util.List)">setListValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#xgetListValue()">xgetListValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> values</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#xlistValue()">xlistValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getListValue()"><!-- --></A><H3>
-getListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>getListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xgetListValue()"><!-- --></A><H3>
-xgetListValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xgetListValue</B>()</PRE>
-<DL>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setListValue(java.util.List)"><!-- --></A><H3>
-setListValue</H3>
-<PRE>
-public void <B>setListValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listValue()"><!-- --></A><H3>
-listValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>listValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xlistValue()"><!-- --></A><H3>
-xlistValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>xlistValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Returns the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A> values
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.List)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;l)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html#getListValue()"><CODE>getListValue()</CODE></A></I>
-<P>
-<DD>Sets the value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNMTOKENS.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.Factory.html
deleted file mode 100644
index 39fa83f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNOTATION.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNOTATION.Factory,XmlNOTATION.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNOTATION.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNOTATION.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNOTATION.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNOTATION.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNOTATION.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a String.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                         throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNOTATION.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.html
deleted file mode 100644
index 561036c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNOTATION.html
+++ /dev/null
@@ -1,284 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNOTATION (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNOTATION,XmlNOTATION interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNOTATION (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNOTATION.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNOTATION</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNOTATION</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NOTATION">xs:NOTATION</a> type.
- <p>
- NOTATIONs are a mechanism in XML Schema that is provided
- for partial backward compatibility with NOTATIONs in DTDs.  XML Schema
- users should almost never have any reason to use this data type.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html">XmlNOTATION.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNOTATION.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.Factory.html
deleted file mode 100644
index 8037d66..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:00 PDT 2003 -->
-<TITLE>
-XmlName.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlName.Factory,XmlName.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlName.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlName.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlName.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlName.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;My:Name&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;My:Name&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.html
deleted file mode 100644
index fb43823..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlName.html
+++ /dev/null
@@ -1,316 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlName (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlName,XmlName interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlName (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlName</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlName</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- <p>
- This kind of string is the same as the lexical representation used for XML 1.0
- element and attribute names, e.g., "pre:a-b.cdef".  It is just a physical
- string, however, and it should NOT be confused with <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>,
- which is a logical combination of localname and namespace URI.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html">XmlName.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlToken"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlName.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlLong.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.Factory.html
deleted file mode 100644
index 622c961..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNegativeInteger.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNegativeInteger.Factory,XmlNegativeInteger.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNegativeInteger.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNegativeInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNegativeInteger.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNegativeInteger.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNegativeInteger.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNegativeInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.html
deleted file mode 100644
index ba3d61a..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNegativeInteger.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNegativeInteger (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNegativeInteger,XmlNegativeInteger interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNegativeInteger (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNegativeInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNegativeInteger</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNegativeInteger</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#negativeInteger">xs:negativeInteger</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be negative when validating.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonPositiveInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNegativeInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html
deleted file mode 100644
index e129330..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNonNegativeInteger.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNonNegativeInteger.Factory,XmlNonNegativeInteger.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNonNegativeInteger.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonNegativeInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNonNegativeInteger.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNonNegativeInteger.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNonNegativeInteger.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonNegativeInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.html
deleted file mode 100644
index 8ee7851..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonNegativeInteger.html
+++ /dev/null
@@ -1,322 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNonNegativeInteger (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNonNegativeInteger,XmlNonNegativeInteger interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNonNegativeInteger (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonNegativeInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNonNegativeInteger</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNonNegativeInteger</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">xs:nonNegativeInteger</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be zero or positive when validating.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonNegativeInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html
deleted file mode 100644
index 7593c88..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNonPositiveInteger.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNonPositiveInteger.Factory,XmlNonPositiveInteger.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNonPositiveInteger.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonPositiveInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNonPositiveInteger.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNonPositiveInteger.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNonPositiveInteger.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;-1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                   throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                          <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonPositiveInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.html
deleted file mode 100644
index ebe4e07..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNonPositiveInteger.html
+++ /dev/null
@@ -1,322 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNonPositiveInteger (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNonPositiveInteger,XmlNonPositiveInteger interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNonPositiveInteger (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonPositiveInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNonPositiveInteger</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNonPositiveInteger</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">xs:nonPositiveInteger</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be zero or negative when validating.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNonPositiveInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.Factory.html
deleted file mode 100644
index 297f806..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlNormalizedString.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNormalizedString.Factory,XmlNormalizedString.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNormalizedString.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNormalizedString.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlNormalizedString.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlNormalizedString.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlNormalizedString.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt; string to normalize &lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt; string to normalize &lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                        <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                 throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                        <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNormalizedString.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.html
deleted file mode 100644
index 4cfe18a..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlNormalizedString.html
+++ /dev/null
@@ -1,302 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlNormalizedString (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlNormalizedString,XmlNormalizedString interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlNormalizedString (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNormalizedString.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlNormalizedString</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlNormalizedString</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- <p>
- An normalizedString simply is a string where all the carriage return,
- linefeed, and tab characters have been normalized (switched to) ordinary
- space characters.  Use normalizedString for long strings to make them
- insensitive to line breaking.  If you wish to often be insensitive to
- runs of whitespace (as is often the case), use
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a>
- (aka <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>) instead.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.  When obtaining the stringValue, the
- whitespace-normalized value is returned.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlNormalizedString.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.Factory.html
deleted file mode 100644
index 9eeea48..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.Factory.html
+++ /dev/null
@@ -1,845 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlObject.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlObject.Factory,XmlObject.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlObject.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlObject.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlObject.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlObject.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlObject.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-Static factory class for creating new instances.  Note that if
- a type can be inferred from the XML being loaded (for example,
- by recognizing the document element QName), then the instance
- returned by a factory will have the inferred type.  Otherwise
- the Factory will returned an untyped document.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new, completely empty instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new, completely empty instance, specifying options
- for the root element's document type and/or whether to validate
- value facets as they are set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions when the input is not valid.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions 
- when the input is not valid, specifying options
- for the root element's document type and/or the collection object to use
- as an error listener while validating.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler()">newXmlSaxHandler</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler(org.apache.xmlbeans.XmlOptions)">newXmlSaxHandler</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates a new, completely empty instance.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><p>Creates a new, completely empty instance, specifying options
- for the root element's document type and/or whether to validate
- value facets as they are set.</p>
- 
- Use the <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The document type for the root element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(org.apache.xmlbeans.SchemaType)</CODE></A></td>
- </tr>
- <tr>
-  <td>Whether value facets should be checked as they are set.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setValidateOnSet()"><CODE>XmlOptions.setValidateOnSet()</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - Options specifying root document type and/or value facet 
- checking.
-<DT><B>Returns:</B><DD>A new, empty instance of XmlObject.</li></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A> as XML.
- 
- Use the <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The document type for the root element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(org.apache.xmlbeans.SchemaType)</CODE></A></td>
- </tr>
- <tr>
-  <td>To place line number annotations in the store when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()"><CODE>XmlOptions.setLoadLineNumbers()</CODE></A></td>
- </tr>
- <tr>
-  <td>To replace the document element with the specified QName when parsing.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setLoadReplaceDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all insignificant whitespace when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()"><CODE>XmlOptions.setLoadStripWhitespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all comments when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()"><CODE>XmlOptions.setLoadStripComments()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all processing instructions when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()"><CODE>XmlOptions.setLoadStripProcinsts()</CODE></A></td>
- </tr>
- <tr>
-  <td>A map of namespace URI substitutions to use when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadSubstituteNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Additional namespace mappings to be added when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadAdditionalNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>To trim the underlying XML text buffer immediately after parsing 
-  a document, resulting in a smaller memory footprint.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()"><CODE>XmlOptions.setLoadTrimTextBuffer()</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to parse.<DD><CODE>options</CODE> - Options as specified.
-<DT><B>Returns:</B><DD>A new instance containing the specified XML.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>File</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Downloads the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html"><CODE>URL</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Decodes and parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html"><CODE>InputStream</CODE></A> as XML.
- 
- Use the <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The character encoding to use when parsing or writing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><CODE>XmlOptions.setCharacterEncoding(java.lang.String)</CODE></A></td>
- </tr>
- <tr>
-  <td>The document type for the root element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(org.apache.xmlbeans.SchemaType)</CODE></A></td>
- </tr>
- <tr>
-  <td>Place line number annotations in the store when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()"><CODE>XmlOptions.setLoadLineNumbers()</CODE></A></td>
- </tr>
- <tr>
-  <td>Replace the document element with the specified QName when parsing.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setLoadReplaceDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- <tr>
-  <td>Strip all insignificant whitespace when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()"><CODE>XmlOptions.setLoadStripWhitespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>Strip all comments when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()"><CODE>XmlOptions.setLoadStripComments()</CODE></A></td>
- </tr>
- <tr>
-  <td>Strip all processing instructions when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()"><CODE>XmlOptions.setLoadStripProcinsts()</CODE></A></td>
- </tr>
- <tr>
-  <td>Set a map of namespace URI substitutions to use when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadSubstituteNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Set additional namespace mappings to be added when parsing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadAdditionalNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Trim the underlying XML text buffer immediately after parsing 
-  a document, resulting in a smaller memory footprint.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()"><CODE>XmlOptions.setLoadTrimTextBuffer()</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html"><CODE>Reader</CODE></A> as XML.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Converts the given DOM <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html"><CODE>Node</CODE></A> into an XmlObject.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Loads the given <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> into an XmlObject.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXmlSaxHandler()"><!-- --></A><H3>
-newXmlSaxHandler</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A> <B>newXmlSaxHandler</B>()</PRE>
-<DL>
-<DD>Returns an <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXmlSaxHandler(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newXmlSaxHandler</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html">XmlSaxHandler</A> <B>newXmlSaxHandler</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Returns an <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><CODE>XmlSaxHandler</CODE></A> that can load an XmlObject from SAX events.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions when the input is not valid.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a new validating <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html"><CODE>XMLInputStream</CODE></A> that throws exceptions 
- when the input is not valid, specifying options
- for the root element's document type and/or the collection object to use
- as an error listener while validating.</p>
- 
- <p>Use the <em>options</em> parameter to specify the following:</p>
- 
- <ul>
- <li>A collection instance that should be used as an error listener during
- compilation, as described in <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A>.</li>
- <li>The document type for the root element, as described in 
- <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(SchemaType)</CODE></A>.</li>
- </ul>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>xis</CODE> - The basis for the new XMLInputStream.<DD><CODE>options</CODE> - Options specifying root document type and/or an error listener.
-<DT><B>Returns:</B><DD>A new validating XMLInputStream.
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlObject.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.html
deleted file mode 100644
index 5c73f67..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlObject.html
+++ /dev/null
@@ -1,1074 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlObject (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlObject,XmlObject interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlObject (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlObject.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlObject</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A>, <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>, <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>, <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A>, <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>, <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>, <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A>, <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlObject</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#key-urType">xs:anyType</a>,
- the base type for all XML Beans.
- <p>
- Since all XML Schema types are translated into corresponding XML Bean
- classes, and all Schema type derivation corresponds to Java class
- inheritance, the fact that all Schema types derive from xs:anyType means
- that all XML Bean classes derive from XmlObject.
- <p>
- On this base class you will find a number of common facilities that
- all XML Bean classes provide:
- <p>
- <ul>
- <li>Every XML Bean class has an inner Factory class for creating and parsing
-     instances, including XmlObject. Use <A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><CODE>XmlObject.Factory</CODE></A> itself
-     to produce untyped XML trees or XML trees that implement specific
-     subtypes of XmlObject depending on a recognized root document element.
-     If you depend on the automatic type inference, you will want to understand
-     the type inference issues described below.
- <li>To write out an accurate XML file for the XML tree under this
-     XmlObject, use one of the <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><CODE>XmlTokenSource.save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)</CODE></A> methods,
-     or <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()"><CODE>XmlTokenSource.newInputStream()</CODE></A> or <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()"><CODE>XmlTokenSource.newReader()</CODE></A>.
-     Use <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()"><CODE>toString()</CODE></A> to produce a pretty-printed representation of the
-     XML subtree under this XML Object.  If you save interior portions of
-     an XML document, you will want to understand the inner contents
-     versus outer container issues described below.
- <li>It is also simple to copy an XmlObject instance to or from a standard
-     DOM tree or SAX stream.  Use <A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(org.w3c.dom.Node)"><CODE>XmlObject.Factory.parse(Node)</CODE></A>,
-     for example, to load from DOM; use <A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler()"><CODE>XmlObject.Factory.newXmlSaxHandler()</CODE></A>
-     to load from SAX; use <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()"><CODE>XmlTokenSource.newDomNode()</CODE></A> to save to DOM; and use 
-     <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><CODE>XmlTokenSource.save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)</CODE></A>
-     to save to SAX.
- <li>Use <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()"><CODE>validate()</CODE></A> to validate the subtree of XML under this
-     XML Object.  If you wish to get information about the location
-     and reason for validation errors, see <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A>,
-     and use <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)"><CODE>validate(XmlOptions)</CODE></A>.
- <li>Use <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()"><CODE>XmlTokenSource.newCursor()</CODE></A> to access the full XML infoset, for example,
-     if you need to determine interleaved element order or manipulate
-     annotations, comments, or mixed content.  See <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>.
- <li>Use <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>selectPath(java.lang.String)</CODE></A> to find other XmlObjects in the subtree underneath
-     this XmlObject using relative XPaths.  (In selectPath, "." indicates
-     the current element or attribute.)
- </ul>
- <p>
- Type inference.  When using <A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><CODE>XmlObject.Factory</CODE></A> to parse XML documents,
- the actual document type is not <A HREF="../../../org/apache/xmlbeans/XmlObject.html#type"><CODE>type</CODE></A> itself, but a subtype
- based on the contents of the parsed document.  If the parsed document
- contains a recognized root document element, then the actual type of the
- loaded instance will be the matching Document type.  For example:
- <pre>
- XmlObject xobj = XmlObject.Factory.parse(myDocument);
- if (xobj instanceof MyOrderDocument) // starts w/ &lt;my-order&gt;
- {
-     MyOrderDocument mydoc = (MyOrderDocument)xobj;
-     if (!xobj.validate())
-         System.out.println("Not a valid my-order document");
- }
- else
- {
-     System.out.println("Not a my-order document");
- }
- </pre>
- Every XML Bean class has its own inner Factory class,
- so if you actually know exactly which XML Bean document type
- you want to load as in the example above, you should use the
- the specific XML Bean Factory class instead. For example:
- <pre>
- MyOrderDocument mydoc = MyOrderDocument.Factory.parse(myDocument);
- </pre>
- The code above will throw an exception if the parsed document
- does not begin with the proper (my-order) element.
- <p>
- Inner versus outer.  An XmlObject represents the
- <em>contents</em> of an element or attribute, <em>not</em> the element
- or attribute itself.  So when you validate or save an XmlObject, you
- are validating or saving its contents, not its container.  For example,
- if the XmlObject represents the contents of an element which happens
- to itself be in the wrong order relative to its siblings, validate will
- not complain about the misplacement of the element itself.  On the other hand, if
- elements <em>within</em> the XmlObject are in the wrong order, validate
- will complain.  Similarly, when saving the contents of an interior
- XmlObject, it is the contents of an element, not the element itself,
- which is saved by default.
- <p>
- Reading and writing fragments. When reading or writing the contents of a
- whole XML document, the standard XML reprentation for a document is used.
- However, there is no standard concrete XML representation for "just the
- contents" of an interior element or attribute. So when one is needed,
- the tag &lt;xml-fragment&gt; is used to wrap the contents.  This tag is used
- can also be used to load just the contents for an XmlObject document fragment
- of arbitrary type. If you wish to save out the XmlObject's container element
- along with its contents, use <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveOuter()"><CODE>XmlOptions.setSaveOuter()</CODE></A>.
- <p>
- Implementing XmlObject.  The XMLBeans library does not support arbitrary
- implementations of XmlObject - in almost all cases, you should only use
- the implementations of XmlObject provided by the XMLBeans compiler itself.
- If you need to implement XmlObject yourself, you should subclass
- FilterXmlObject in order to delegate to another underlying XmlObject
- implementation. This technique will allow you to use your code unchanged
- with future versions of XMLBeans that add additional methods on XmlObject.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static factory class for creating new instances.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EQUAL is 0.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GREATER_THAN is 1.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LESS_THAN is -1.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOT_EQUAL is 2.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;newType)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the schema type associated with this data and
- returns a new XmlObject instance whose schemaType is the
- new type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Impelements the Comparable interface by comparing two simple
- xml values based on their standard XML schema ordering.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This comparison method is similar to compareTo, but rather
- than throwing a ClassCastException when two values are incomparable,
- it returns the number 2.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a deep copy of this XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a query.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-          <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a query with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the value is an immutable value.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the value is nil.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The schema type for this instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a path.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-           <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a path, applying options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;srcObj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value/type of this XmlObject to be a copy of the source
- XmlObject.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value to nil.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XML string for this XML object.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the contents of this object are valid
- accoring to schemaType().</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like validate(), but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the xml values are equal.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<A NAME="LESS_THAN"><!-- --></A><H3>
-LESS_THAN</H3>
-<PRE>
-public static final int <B>LESS_THAN</B></PRE>
-<DL>
-<DD>LESS_THAN is -1. See <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><CODE>compareValue(org.apache.xmlbeans.XmlObject)</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlObject.LESS_THAN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="EQUAL"><!-- --></A><H3>
-EQUAL</H3>
-<PRE>
-public static final int <B>EQUAL</B></PRE>
-<DL>
-<DD>EQUAL is 0. See <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><CODE>compareValue(org.apache.xmlbeans.XmlObject)</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlObject.EQUAL">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="GREATER_THAN"><!-- --></A><H3>
-GREATER_THAN</H3>
-<PRE>
-public static final int <B>GREATER_THAN</B></PRE>
-<DL>
-<DD>GREATER_THAN is 1. See <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><CODE>compareValue(org.apache.xmlbeans.XmlObject)</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlObject.GREATER_THAN">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="NOT_EQUAL"><!-- --></A><H3>
-NOT_EQUAL</H3>
-<PRE>
-public static final int <B>NOT_EQUAL</B></PRE>
-<DL>
-<DD>NOT_EQUAL is 2. See <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)"><CODE>compareValue(org.apache.xmlbeans.XmlObject)</CODE></A>.
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlObject.NOT_EQUAL">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="schemaType()"><!-- --></A><H3>
-schemaType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>schemaType</B>()</PRE>
-<DL>
-<DD>The schema type for this instance. This is a permanent,
- unchanging property of the instance.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="validate()"><!-- --></A><H3>
-validate</H3>
-<PRE>
-public boolean <B>validate</B>()</PRE>
-<DL>
-<DD>Returns true if the contents of this object are valid
- accoring to schemaType().
- <p>
- Does a deep validation of the entire subtree under the
- object, but does not validate the parents or siblings
- of the object if the object is in the interior of an xml
- tree.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="validate(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-validate</H3>
-<PRE>
-public boolean <B>validate</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><p>Just like validate(), but with options.</p>
- <p>If you wish to collect error messages and locations while validating,
- use the <A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)"><CODE>XmlOptions.setErrorListener(java.util.Collection)</CODE></A> method. With that method,
- you can specify an object in which to store messages related to validation.
- The following is a simple example.</p>
- 
- <pre>
- // Create an XmlOptions instance and set the error listener.
- XmlOptions validateOptions = new XmlOptions();
- ArrayList errorList = new ArrayList();
- validateOptions.setErrorListener(errorList);
- 
- // Validate the XML.
- boolean isValid = newEmp.validate(validateOptions);
- 
- // If the XML isn't valid, loop through the listener's contents,
- // printing contained messages.
- if (!isValid)
- {
-      for (int i = 0; i < errorList.size(); i++)
-      {
-          XmlError error = (XmlError)errorList.get(i);
-          
-          System.out.println("\n");
-          System.out.println("Message: " + error.getMessage() + "\n");
-          System.out.println("Location of invalid XML: " + 
-              error.getCursorLocation().xmlText() + "\n");
-      }
- }
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - An object that implements the <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html"><CODE>Collection</CODE></A> interface.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path)</PRE>
-<DL>
-<DD>Selects a path.  Path can be a string or precompiled path String.
- <p>
- The path must be a relative path, where "." represents the
- element or attribute containg this XmlObject, and it must select
- only other elements or attributes.  If a non-element or non-attribute
- is selected, an unchecked exception is thrown.
- <p>
- The array that is returned contains all the selected
- XmlObjects, within the same document, listed in document
- order.  The actual array type of the result is inferred
- from the closest common base type of selected results.
- <p>
- Here is an example of usage.  Suppose we have a global
- element definition for "owner" whose type is "person":
- <pre>
-   &lt;schema targetNamespace="http://openuri.org/sample">
-      &lt;element name="owner" type="person"/>
-      &lt;complexType name="person">
-         [...]
-      &lt;/complexType>
-   &lt;/schema>
- </pre>
- and suppose "owner" tags can be scattered throughout the
- document.  Then we can write the following code to find
- them all:
- <pre>
- import org.openuri.sample.Person;
- import org.apache.xmlbeans.*;
- [...]
-   XmlObject xobj = XmlObject.Factory.parse(myFile);
-   Person[] results;
-   results = (Person[])xobj.selectPath(
-      "declare namespace s='http://www.openuri.org/sample' " +
-      ".//s:owner");
- </pre>
- Notice the way in which namespace declarations are done in XPath 2.0.
- Since XPath can only navigate within an XML document - it cannot
- construct new XML - the resulting XmlObjects all reside in
- the same XML document as this XmlObject itself.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-selectPath</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>selectPath</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;path,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Selects a path, applying options.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>selectPath(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query)</PRE>
-<DL>
-<DD>Executes a query.  Query can be a string or precompiled query String.
- <p>
- An XQuery is very similar to an XPath, except that it also permits
- construction of new XML.  As a result, the XmlObjects that are
- returned from execQuery are in newly created documents, separate
- from the XmlObject on which the query is executed.
- <p>
- Syntax and usage is otherwise similar to selectPath.
- <p>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>selectPath(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-execQuery</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>[] <B>execQuery</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;query,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Executes a query with options.
- 
- Use the <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The document type for the root element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)"><CODE>XmlOptions.setDocumentType(org.apache.xmlbeans.SchemaType)</CODE></A></td>
- </tr>
- <tr>
-  <td>To replace the document element with the specified QName when constructing the
-  resulting document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setLoadReplaceDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all insignificant whitespace when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()"><CODE>XmlOptions.setLoadStripWhitespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all comments when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()"><CODE>XmlOptions.setLoadStripComments()</CODE></A></td>
- </tr>
- <tr>
-  <td>To strip all processing instructions when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()"><CODE>XmlOptions.setLoadStripProcinsts()</CODE></A></td>
- </tr>
- <tr>
-  <td>A map of namespace URI substitutions to use when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadSubstituteNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Additional namespace mappings to be added when constructing a document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)"><CODE>XmlOptions.setLoadAdditionalNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>To trim the underlying XML text buffer immediately after constructing 
-  a document, resulting in a smaller memory footprint.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()"><CODE>XmlOptions.setLoadTrimTextBuffer()</CODE></A></td>
- </tr>
- <tr>
-  <td>Whether value facets should be checked as they are set.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setValidateOnSet()"><CODE>XmlOptions.setValidateOnSet()</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>query</CODE> - The XQuery expression.<DD><CODE>options</CODE> - Options as described.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)"><CODE>execQuery(String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="changeType(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-changeType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>changeType</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;newType)</PRE>
-<DL>
-<DD>Changes the schema type associated with this data and
- returns a new XmlObject instance whose schemaType is the
- new type.
- <p>
- Returns null if the type change is not allowed. Certain
- type changes may be prohibited on the interior of an xml
- tree due to schema type system constraints (that is, due
- to a parent container within which the newly specified
- type is not permissible), but there are no constraints
- at the roottype changes are never
- prohibited at the root of an xml tree.
- <p>
- If the type change is allowed, then the new XmlObject should
- be used rather than the old one. The old XmlObject instance and
- any other XmlObject instances in the subtree are permanently
- invalidated and should not be used. (They will return
- InvalidStateException if you try to use them.)
-
- If a type change is done on the interior of an Xml
- tree, then xsi:type attributes are updated as needed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isNil()"><!-- --></A><H3>
-isNil</H3>
-<PRE>
-public boolean <B>isNil</B>()</PRE>
-<DL>
-<DD>True if the value is nil. Note that in order to be nil,
- the value must be in an element, and the element containing
- the value must be marked as nillable in the schema.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setNil()"><!-- --></A><H3>
-setNil</H3>
-<PRE>
-public void <B>setNil</B>()</PRE>
-<DL>
-<DD>Sets the value to nil. The element containing the value must
- be marked as nillable in the schema.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Returns an XML string for this XML object.
- <p>
- The string is pretty-printed.  If you want a non-pretty-printed
- string, or if you want to control options precisely, use the
- xmlText() methods.
- <p>
- Note that when producing XML any object other than very root of the
- document, then you are guaranteed to be looking at only a fragment
- of XML, i.e., just the contents of an element or attribute, and
- and we will produce a string that starts with an <code>&lt;xml-fragment&gt;</code> tag.
- The XmlOptions.setSaveOuter() option on xmlText can be used to produce
- the actual element name above the object if you wish.
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isImmutable()"><!-- --></A><H3>
-isImmutable</H3>
-<PRE>
-public boolean <B>isImmutable</B>()</PRE>
-<DL>
-<DD>True if the value is an immutable value. Immutable values do not
- have a position in a tree; rather, they are stand-alone simple type
- values. If the object is immutable, the equals() methods tests for
- value equality, and the object can be used as the key for a hash.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>set</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;srcObj)</PRE>
-<DL>
-<DD>Set the value/type of this XmlObject to be a copy of the source
- XmlObject.  Because the type of the source may be different than this
- target, this XmlObject may become defunct.  In this case the new
- XmlObject is returned.  If no type change happens, the same this will be
- returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="copy()"><!-- --></A><H3>
-copy</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>copy</B>()</PRE>
-<DL>
-<DD>Returns a deep copy of this XmlObject.  The returned object has the
- same type as the current object, and has all the content of
- the XML document underneath the current object.  Note that
- any parts of the XML document above or outside this XmlObject are
- not copied.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="valueEquals(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-valueEquals</H3>
-<PRE>
-public boolean <B>valueEquals</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</PRE>
-<DL>
-<DD>True if the xml values are equal. Two different objects
- (which are distinguished by equals(obj) == false) may of
- course have equal values (valueEquals(obj) == true).
- <p>
- Usually this method can be treated as an ordinary equvalence
- relation, but actually it is not is not transitive.
- Here is a precise specification:
- <p>
- There are two categories of XML object: objects with a known
- instance type, and objects whose only known type is one of the
- ur-types (either AnyType or AnySimpleType). The first category
- is compared in terms of logical value spaces, and the second
- category is compared lexically.
- <p>
- Within each of these two categories, valueEquals is a well-behaved
- equivalence relation. However, when comparing an object of known
- type with an object with ur-type, the comparison is done by attempting
- to convert the lexical form of the ur-typed object into the other
- type, and then comparing the results. Ur-typed objects are therefore
- treated as lexical wildcards and may be equal to objects in different
- value spaces, even though the objects in different value spaces are
- not equal to each other.
- <p>
- For example, the anySimpleType value "1" will compare as an
- equalValue to the string "1", the float value "1.0", the double
- value "1.0", the decimal "1", and the GYear "1", even though
- all these objects will compare unequal to each other since they
- lie in different value spaces.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="valueHashCode()"><!-- --></A><H3>
-valueHashCode</H3>
-<PRE>
-public int <B>valueHashCode</B>()</PRE>
-<DL>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
-compareTo</H3>
-<PRE>
-public int <B>compareTo</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Impelements the Comparable interface by comparing two simple
- xml values based on their standard XML schema ordering.
- Throws a ClassCastException if no standard ordering applies,
- or if the two values are incomparable within a partial order.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="compareValue(org.apache.xmlbeans.XmlObject)"><!-- --></A><H3>
-compareValue</H3>
-<PRE>
-public int <B>compareValue</B>(<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>&nbsp;obj)</PRE>
-<DL>
-<DD>This comparison method is similar to compareTo, but rather
- than throwing a ClassCastException when two values are incomparable,
- it returns the number 2. The result codes are -1 if this object
- is less than obj, 1 if this object is greater than obj, zero if
- the objects are equal, and 2 if the objects are incomparable.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlObject.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlOptions.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlOptions.html
deleted file mode 100644
index 89cfbaa..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlOptions.html
+++ /dev/null
@@ -1,2094 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlOptions (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlOptions,XmlOptions class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlOptions (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlOptions.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlOptions</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlOptions</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlOptions</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-Used to supply options for loading, saving, and compiling, and validating.
- <p>
- There are two styles for using XmlOptions: multiline setup, and single-line use.
- Here are two examples.  First, multiline style:
- <pre>
- XmlOptions opts = new XmlOptions();
- opts.setSavePrettyPrint();
- opts.setSavePrettyPrintIndent(4);
- System.out.println(xobj.xmlText(opts));
- </pre>
- 
- The alternative is single-line usage:
- <pre>
- System.out.println(xobj.xmlText(
-     new XmlOptions().setSavePrettyPrint().setSavePrettyPrintIndent(4)));
- </pre>
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlOptions">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#CHARACTER_ENCODING">CHARACTER_ENCODING</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_DOWNLOAD_URLS">COMPILE_DOWNLOAD_URLS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_MDEF_NAMESPACES">COMPILE_MDEF_NAMESPACES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_PVR_RULE">COMPILE_NO_PVR_RULE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_UPA_RULE">COMPILE_NO_UPA_RULE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_NO_VALIDATION">COMPILE_NO_VALIDATION</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#COMPILE_SUBSTITUTE_NAMES">COMPILE_SUBSTITUTE_NAMES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#DOCUMENT_SOURCE_NAME">DOCUMENT_SOURCE_NAME</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#DOCUMENT_TYPE">DOCUMENT_TYPE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#ENTITY_RESOLVER">ENTITY_RESOLVER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#ERROR_LISTENER">ERROR_LISTENER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_ADDITIONAL_NAMESPACES">LOAD_ADDITIONAL_NAMESPACES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_LINE_NUMBERS">LOAD_LINE_NUMBERS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_MESSAGE_DIGEST">LOAD_MESSAGE_DIGEST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_REPLACE_DOCUMENT_ELEMENT">LOAD_REPLACE_DOCUMENT_ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_COMMENTS">LOAD_STRIP_COMMENTS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_PROCINSTS">LOAD_STRIP_PROCINSTS</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_STRIP_WHITESPACE">LOAD_STRIP_WHITESPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_SUBSTITUTE_NAMESPACES">LOAD_SUBSTITUTE_NAMESPACES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#LOAD_TRIM_TEXT_BUFFER">LOAD_TRIM_TEXT_BUFFER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_AGGRESSIVE_NAMESPACES">SAVE_AGGRESSIVE_NAMESPACES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_FILTER_PROCINST">SAVE_FILTER_PROCINST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_IMPLICIT_NAMESPACES">SAVE_IMPLICIT_NAMESPACES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_INNER">SAVE_INNER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_NAMESPACES_FIRST">SAVE_NAMESPACES_FIRST</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_OUTER">SAVE_OUTER</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT">SAVE_PRETTY_PRINT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_INDENT">SAVE_PRETTY_PRINT_INDENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_PRETTY_PRINT_OFFSET">SAVE_PRETTY_PRINT_OFFSET</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_SUGGESTED_PREFIXES">SAVE_SUGGESTED_PREFIXES</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_SYNTHETIC_DOCUMENT_ELEMENT">SAVE_SYNTHETIC_DOCUMENT_ELEMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_USE_DEFAULT_NAMESPACE">SAVE_USE_DEFAULT_NAMESPACE</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#SAVE_USE_OPEN_FRAGMENT">SAVE_USE_OPEN_FRAGMENT</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#VALIDATE_ON_SET">VALIDATE_ON_SET</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#XQUERY_CURRENT_NODE_VAR">XQUERY_CURRENT_NODE_VAR</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#XmlOptions()">XmlOptions</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new blank XmlOptions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#XmlOptions(org.apache.xmlbeans.XmlOptions)">XmlOptions</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;other)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new XmlOptions, copying the options.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#get(java.lang.Object)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to get a generic option</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#hasOption(java.lang.Object)">hasOption</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to test a generic option</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#maskNull(org.apache.xmlbeans.XmlOptions)">maskNull</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If passed null, returns an empty options object.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object)">put</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to set a generic option</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object, int)">put</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option,
-    int&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to set a generic option</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#put(java.lang.Object, java.lang.Object)">put</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option,
-    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;value)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to set a generic option</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#safeGet(org.apache.xmlbeans.XmlOptions, java.lang.Object)">safeGet</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;o,
-        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to test a generic option on an options object that may be null</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;encoding)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When parsing or writing a document, this sets the character
- encoding to use.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileDownloadUrls()">setCompileDownloadUrls</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, then the schema compiler will try to download
- schemas that appear in imports and includes from network based URLs.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileMdefNamespaces(java.util.Set)">setCompileMdefNamespaces</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;mdefNamespaces)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, then the schema compiler will permit and
- ignore multiple definitions of the same component (element, attribute,
- type, etc) names in the given namespaces.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileNoPvrRule()">setCompileNoPvrRule</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, the particle valid (restriciton) rule is not
- enforced when building a <code>SchemaTypeSystem</code>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileNoUpaRule()">setCompileNoUpaRule</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, the unique particle attribution rule is not
- enforced when building a <code>SchemaTypeSystem</code>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileNoValidation()">setCompileNoValidation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, validation is not done on the Schema XmlBeans
- when building a <code>SchemaTypeSystem</code></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCompileSubstituteNames(java.util.Map)">setCompileSubstituteNames</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;nameMap)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option allows for <code>QName</code> substitution during schema compilation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentSourceName(java.lang.String)">setDocumentSourceName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;documentSourceName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option sets the document source name into the xml store
- when parsing a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setDocumentType(org.apache.xmlbeans.SchemaType)">setDocumentType</A></B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When parsing a document, this sets the type of the root
- element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/EntityResolver.html">EntityResolver</A>&nbsp;resolver)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set when compiling a schema, then the given
- EntityResolver will be consulted in order to resolve any
- URIs while downloading imported schemas.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setErrorListener(java.util.Collection)">setErrorListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a collection object for collecting <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects 
- during parsing, validation, and compilation.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadAdditionalNamespaces(java.util.Map)">setLoadAdditionalNamespaces</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;nses)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set additional namespace mappings to be added when parsing
- a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()">setLoadLineNumbers</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, line number annotations are placed
- in the store when parsing a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadMessageDigest()">setLoadMessageDigest</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set when loading from an InputStream or File, then
- the loader will compute a 160-bit SHA-1 message digest of the XML
- file while loading it and make it available via
- XmlObject.documentProperties().getMessageDigest();
- <br>
- The schema compiler uses message digests to detect and eliminate
- duplicate imported xsd files.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadReplaceDocumentElement(javax.xml.namespace.QName)">setLoadReplaceDocumentElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;replacement)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, the document element is replaced with the
- given QName when parsing.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripComments()">setLoadStripComments</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, all comments are stripped when parsing
- a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripProcinsts()">setLoadStripProcinsts</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, all processing instructions 
- are stripped when parsing a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadStripWhitespace()">setLoadStripWhitespace</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, all insignificant whitespace is stripped
- when parsing a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadSubstituteNamespaces(java.util.Map)">setLoadSubstituteNamespaces</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;substNamespaces)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option sets a map of namespace uri substitutions that happen
- when parsing a document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadTrimTextBuffer()">setLoadTrimTextBuffer</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, the underlying xml text buffer is trimmed
- immediately after parsing a document resulting in a smaller memory
- footprint.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveAggresiveNamespaces()">setSaveAggresiveNamespaces</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes the saver to reduce the number of namespace prefix declarations.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveFilterProcinst(java.lang.String)">setSaveFilterProcinst</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;filterProcinst)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option causes the saver to filter a Processing Instruction
- with the given target</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveImplicitNamespaces(java.util.Map)">setSaveImplicitNamespaces</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;implicitNamespaces)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If namespaces have already been declared outside the scope of the
- fragment being saved, this allows those mappings to be passed
- down to the saver, so the prefixes are not re-declared.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveInner()">setSaveInner</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option controls whether saving begins on the element or its contents</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveNamespacesFirst()">setSaveNamespacesFirst</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option will cause the saver to save namespace attributes first.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveOuter()">setSaveOuter</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option controls whether saving begins on the element or its contents</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()">setSavePrettyPrint</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option will cause the saver to reformat white space for easier reading.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintIndent(int)">setSavePrettyPrintIndent</A></B>(int&nbsp;indent)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When used with <code>setSavePrettyPrint</code> this sets the indent
- amount to use.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintOffset(int)">setSavePrettyPrintOffset</A></B>(int&nbsp;offset)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When used with <code>setSavePrettyPrint</code> this sets the offset
- amount to use.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSuggestedPrefixes(java.util.Map)">setSaveSuggestedPrefixes</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;suggestedPrefixes)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A map of hints to pass to the saver for which prefixes to use
- for which namespace URI.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSyntheticDocumentElement(javax.xml.namespace.QName)">setSaveSyntheticDocumentElement</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This option causes the saver to wrap the current fragment in
- an element with the given name.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveUseOpenFrag()">setSaveUseOpenFrag</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When saving a fragment, this option changes the qname of the synthesized
- root element.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setUseDefaultNamespace()">setUseDefaultNamespace</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set, the saver will try to use the default
- namespace for the most commonly used URI.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setValidateOnSet()">setValidateOnSet</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this option is set when an instance is created, then value
- facets will be checked on each call to a setter or getter
- method on instances of XmlObject within the instance document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setXqueryCurrentNodeVar(java.lang.String)">setXqueryCurrentNodeVar</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;varName)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the variable that represents
- the current node in a query expression.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="SAVE_NAMESPACES_FIRST"><!-- --></A><H3>
-SAVE_NAMESPACES_FIRST</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_NAMESPACES_FIRST</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_NAMESPACES_FIRST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_SYNTHETIC_DOCUMENT_ELEMENT"><!-- --></A><H3>
-SAVE_SYNTHETIC_DOCUMENT_ELEMENT</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_SYNTHETIC_DOCUMENT_ELEMENT</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_SYNTHETIC_DOCUMENT_ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_PRETTY_PRINT"><!-- --></A><H3>
-SAVE_PRETTY_PRINT</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_PRETTY_PRINT</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_PRETTY_PRINT_INDENT"><!-- --></A><H3>
-SAVE_PRETTY_PRINT_INDENT</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_PRETTY_PRINT_INDENT</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT_INDENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_PRETTY_PRINT_OFFSET"><!-- --></A><H3>
-SAVE_PRETTY_PRINT_OFFSET</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_PRETTY_PRINT_OFFSET</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_PRETTY_PRINT_OFFSET">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_AGGRESSIVE_NAMESPACES"><!-- --></A><H3>
-SAVE_AGGRESSIVE_NAMESPACES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_AGGRESSIVE_NAMESPACES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_AGGRESSIVE_NAMESPACES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_USE_DEFAULT_NAMESPACE"><!-- --></A><H3>
-SAVE_USE_DEFAULT_NAMESPACE</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_USE_DEFAULT_NAMESPACE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_USE_DEFAULT_NAMESPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_IMPLICIT_NAMESPACES"><!-- --></A><H3>
-SAVE_IMPLICIT_NAMESPACES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_IMPLICIT_NAMESPACES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_IMPLICIT_NAMESPACES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_SUGGESTED_PREFIXES"><!-- --></A><H3>
-SAVE_SUGGESTED_PREFIXES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_SUGGESTED_PREFIXES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_SUGGESTED_PREFIXES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_FILTER_PROCINST"><!-- --></A><H3>
-SAVE_FILTER_PROCINST</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_FILTER_PROCINST</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_FILTER_PROCINST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_USE_OPEN_FRAGMENT"><!-- --></A><H3>
-SAVE_USE_OPEN_FRAGMENT</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_USE_OPEN_FRAGMENT</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_USE_OPEN_FRAGMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_OUTER"><!-- --></A><H3>
-SAVE_OUTER</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_OUTER</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_OUTER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="SAVE_INNER"><!-- --></A><H3>
-SAVE_INNER</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>SAVE_INNER</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.SAVE_INNER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_REPLACE_DOCUMENT_ELEMENT"><!-- --></A><H3>
-LOAD_REPLACE_DOCUMENT_ELEMENT</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_REPLACE_DOCUMENT_ELEMENT</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_REPLACE_DOCUMENT_ELEMENT">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_STRIP_WHITESPACE"><!-- --></A><H3>
-LOAD_STRIP_WHITESPACE</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_STRIP_WHITESPACE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_STRIP_WHITESPACE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_STRIP_COMMENTS"><!-- --></A><H3>
-LOAD_STRIP_COMMENTS</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_STRIP_COMMENTS</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_STRIP_COMMENTS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_STRIP_PROCINSTS"><!-- --></A><H3>
-LOAD_STRIP_PROCINSTS</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_STRIP_PROCINSTS</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_STRIP_PROCINSTS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_LINE_NUMBERS"><!-- --></A><H3>
-LOAD_LINE_NUMBERS</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_LINE_NUMBERS</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_LINE_NUMBERS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_SUBSTITUTE_NAMESPACES"><!-- --></A><H3>
-LOAD_SUBSTITUTE_NAMESPACES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_SUBSTITUTE_NAMESPACES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_SUBSTITUTE_NAMESPACES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_TRIM_TEXT_BUFFER"><!-- --></A><H3>
-LOAD_TRIM_TEXT_BUFFER</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_TRIM_TEXT_BUFFER</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_TRIM_TEXT_BUFFER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_ADDITIONAL_NAMESPACES"><!-- --></A><H3>
-LOAD_ADDITIONAL_NAMESPACES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_ADDITIONAL_NAMESPACES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_ADDITIONAL_NAMESPACES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="LOAD_MESSAGE_DIGEST"><!-- --></A><H3>
-LOAD_MESSAGE_DIGEST</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>LOAD_MESSAGE_DIGEST</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.LOAD_MESSAGE_DIGEST">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="XQUERY_CURRENT_NODE_VAR"><!-- --></A><H3>
-XQUERY_CURRENT_NODE_VAR</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>XQUERY_CURRENT_NODE_VAR</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.XQUERY_CURRENT_NODE_VAR">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="CHARACTER_ENCODING"><!-- --></A><H3>
-CHARACTER_ENCODING</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>CHARACTER_ENCODING</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.CHARACTER_ENCODING">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ERROR_LISTENER"><!-- --></A><H3>
-ERROR_LISTENER</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>ERROR_LISTENER</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.ERROR_LISTENER">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DOCUMENT_TYPE"><!-- --></A><H3>
-DOCUMENT_TYPE</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>DOCUMENT_TYPE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.DOCUMENT_TYPE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="DOCUMENT_SOURCE_NAME"><!-- --></A><H3>
-DOCUMENT_SOURCE_NAME</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>DOCUMENT_SOURCE_NAME</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.DOCUMENT_SOURCE_NAME">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_SUBSTITUTE_NAMES"><!-- --></A><H3>
-COMPILE_SUBSTITUTE_NAMES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_SUBSTITUTE_NAMES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_SUBSTITUTE_NAMES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_NO_VALIDATION"><!-- --></A><H3>
-COMPILE_NO_VALIDATION</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_NO_VALIDATION</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_NO_VALIDATION">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_NO_UPA_RULE"><!-- --></A><H3>
-COMPILE_NO_UPA_RULE</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_NO_UPA_RULE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_NO_UPA_RULE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_NO_PVR_RULE"><!-- --></A><H3>
-COMPILE_NO_PVR_RULE</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_NO_PVR_RULE</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_NO_PVR_RULE">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_DOWNLOAD_URLS"><!-- --></A><H3>
-COMPILE_DOWNLOAD_URLS</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_DOWNLOAD_URLS</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_DOWNLOAD_URLS">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="COMPILE_MDEF_NAMESPACES"><!-- --></A><H3>
-COMPILE_MDEF_NAMESPACES</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>COMPILE_MDEF_NAMESPACES</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.COMPILE_MDEF_NAMESPACES">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="VALIDATE_ON_SET"><!-- --></A><H3>
-VALIDATE_ON_SET</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>VALIDATE_ON_SET</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.VALIDATE_ON_SET">Constant Field Values</A></DL>
-</DL>
-<HR>
-
-<A NAME="ENTITY_RESOLVER"><!-- --></A><H3>
-ENTITY_RESOLVER</H3>
-<PRE>
-public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>ENTITY_RESOLVER</B></PRE>
-<DL>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.xmlbeans.XmlOptions.ENTITY_RESOLVER">Constant Field Values</A></DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlOptions()"><!-- --></A><H3>
-XmlOptions</H3>
-<PRE>
-public <B>XmlOptions</B>()</PRE>
-<DL>
-<DD>Construct a new blank XmlOptions.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlOptions(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-XmlOptions</H3>
-<PRE>
-public <B>XmlOptions</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;other)</PRE>
-<DL>
-<DD>Construct a new XmlOptions, copying the options.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="setSaveNamespacesFirst()"><!-- --></A><H3>
-setSaveNamespacesFirst</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveNamespacesFirst</B>()</PRE>
-<DL>
-<DD>This option will cause the saver to save namespace attributes first.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSavePrettyPrint()"><!-- --></A><H3>
-setSavePrettyPrint</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSavePrettyPrint</B>()</PRE>
-<DL>
-<DD>This option will cause the saver to reformat white space for easier reading.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSavePrettyPrintIndent(int)"><!-- --></A><H3>
-setSavePrettyPrintIndent</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSavePrettyPrintIndent</B>(int&nbsp;indent)</PRE>
-<DL>
-<DD>When used with <code>setSavePrettyPrint</code> this sets the indent
- amount to use.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>indent</CODE> - the indent amount to use<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()"><CODE>setSavePrettyPrint()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSavePrettyPrintOffset(int)"><!-- --></A><H3>
-setSavePrettyPrintOffset</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSavePrettyPrintOffset</B>(int&nbsp;offset)</PRE>
-<DL>
-<DD>When used with <code>setSavePrettyPrint</code> this sets the offset
- amount to use.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the offset amount to use<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()"><CODE>setSavePrettyPrint()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCharacterEncoding(java.lang.String)"><!-- --></A><H3>
-setCharacterEncoding</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCharacterEncoding</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;encoding)</PRE>
-<DL>
-<DD>When parsing or writing a document, this sets the character
- encoding to use.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the character encoding<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDocumentType(org.apache.xmlbeans.SchemaType)"><!-- --></A><H3>
-setDocumentType</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setDocumentType</B>(<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A>&nbsp;type)</PRE>
-<DL>
-<DD>When parsing a document, this sets the type of the root
- element. If this is set, the parser will not try to guess
- the type based on the document's <code>QName</code>.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>type</CODE> - The root element's document type.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setErrorListener(java.util.Collection)"><!-- --></A><H3>
-setErrorListener</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setErrorListener</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;c)</PRE>
-<DL>
-<DD><p>Sets a collection object for collecting <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects 
- during parsing, validation, and compilation. When set, the collection 
- will contain all the errors after the operation takes place.  Notice that
- the errors will only have line numbers if the document was
- loaded with line numbers enabled.</p>
- 
- <p>The following simple example illustrates using an error listener
- during validation.</p>
- 
- <pre>
- // Create an XmlOptions instance and set the error listener.
- XmlOptions validateOptions = new XmlOptions();
- ArrayList errorList = new ArrayList();
- validateOptions.setErrorListener(errorList);
- 
- // Validate the XML.
- boolean isValid = newEmp.validate(validateOptions);
- 
- // If the XML isn't valid, loop through the listener's contents,
- // printing contained messages.
- if (!isValid)
- {
-      for (int i = 0; i < errorList.size(); i++)
-      {
-          XmlError error = (XmlError)errorList.get(i);
-          
-          System.out.println("\n");
-          System.out.println("Message: " + error.getMessage() + "\n");
-          System.out.println("Location of invalid XML: " + 
-              error.getCursorLocation().xmlText() + "\n");
-      }
- }
- </pre>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>c</CODE> - A collection that will be filled with <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects 
- via <CODE>Collection.add(java.lang.Object)</CODE><DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.validate(XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setLoadLineNumbers()"><CODE>setLoadLineNumbers()</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveAggresiveNamespaces()"><!-- --></A><H3>
-setSaveAggresiveNamespaces</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveAggresiveNamespaces</B>()</PRE>
-<DL>
-<DD>Causes the saver to reduce the number of namespace prefix declarations.
- The saver will do this by passing over the document twice, first to
- collect the set of needed namespace declarations, and then second
- to actually save the document with the declarations collected
- at the root.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveSyntheticDocumentElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-setSaveSyntheticDocumentElement</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveSyntheticDocumentElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>This option causes the saver to wrap the current fragment in
- an element with the given name.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to use for the top level element<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setUseDefaultNamespace()"><!-- --></A><H3>
-setUseDefaultNamespace</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setUseDefaultNamespace</B>()</PRE>
-<DL>
-<DD>If this option is set, the saver will try to use the default
- namespace for the most commonly used URI. If it is not set
- the saver will always created named prefixes.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveImplicitNamespaces(java.util.Map)"><!-- --></A><H3>
-setSaveImplicitNamespaces</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveImplicitNamespaces</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;implicitNamespaces)</PRE>
-<DL>
-<DD>If namespaces have already been declared outside the scope of the
- fragment being saved, this allows those mappings to be passed
- down to the saver, so the prefixes are not re-declared.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>implicitNamespaces</CODE> - a map of prefixes to uris that can be
-  used by the saver without being declared<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveSuggestedPrefixes(java.util.Map)"><!-- --></A><H3>
-setSaveSuggestedPrefixes</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveSuggestedPrefixes</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;suggestedPrefixes)</PRE>
-<DL>
-<DD>A map of hints to pass to the saver for which prefixes to use
- for which namespace URI.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>suggestedPrefixes</CODE> - a map from URIs to prefixes<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveFilterProcinst(java.lang.String)"><!-- --></A><H3>
-setSaveFilterProcinst</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveFilterProcinst</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;filterProcinst)</PRE>
-<DL>
-<DD>This option causes the saver to filter a Processing Instruction
- with the given target
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>filterProcinst</CODE> - the name of a Processing Instruction to filter
-   on save<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveUseOpenFrag()"><!-- --></A><H3>
-setSaveUseOpenFrag</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveUseOpenFrag</B>()</PRE>
-<DL>
-<DD>When saving a fragment, this option changes the qname of the synthesized
- root element.  Normally &lt;xml-fragment&gt; is used.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveOuter()"><!-- --></A><H3>
-setSaveOuter</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveOuter</B>()</PRE>
-<DL>
-<DD>This option controls whether saving begins on the element or its contents
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSaveInner()"><!-- --></A><H3>
-setSaveInner</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setSaveInner</B>()</PRE>
-<DL>
-<DD>This option controls whether saving begins on the element or its contents
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.save(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)"><CODE>XmlTokenSource.xmlText(XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadReplaceDocumentElement(javax.xml.namespace.QName)"><!-- --></A><H3>
-setLoadReplaceDocumentElement</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadReplaceDocumentElement</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;replacement)</PRE>
-<DL>
-<DD>If this option is set, the document element is replaced with the
- given QName when parsing.  If null is supplied, the document element
- is removed.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadStripWhitespace()"><!-- --></A><H3>
-setLoadStripWhitespace</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadStripWhitespace</B>()</PRE>
-<DL>
-<DD>If this option is set, all insignificant whitespace is stripped
- when parsing a document.  Can be used to save memory on large
- documents when you know there is no mixed content.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadStripComments()"><!-- --></A><H3>
-setLoadStripComments</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadStripComments</B>()</PRE>
-<DL>
-<DD>If this option is set, all comments are stripped when parsing
- a document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadStripProcinsts()"><!-- --></A><H3>
-setLoadStripProcinsts</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadStripProcinsts</B>()</PRE>
-<DL>
-<DD>If this option is set, all processing instructions 
- are stripped when parsing a document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadLineNumbers()"><!-- --></A><H3>
-setLoadLineNumbers</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadLineNumbers</B>()</PRE>
-<DL>
-<DD>If this option is set, line number annotations are placed
- in the store when parsing a document.  This is particularly
- useful when you want <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects to contain
- line numbers.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadSubstituteNamespaces(java.util.Map)"><!-- --></A><H3>
-setLoadSubstituteNamespaces</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadSubstituteNamespaces</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;substNamespaces)</PRE>
-<DL>
-<DD>This option sets a map of namespace uri substitutions that happen
- when parsing a document.
- <p>
- This is particularly useful if you
- have documents that use no namespace, but you wish to avoid
- the name collision problems that occur when you introduce
- schema definitions without a target namespace.
- <p>
- By mapping the empty string "" (the absence of a URI) to a specific
- namespace, you can force the parser to behave as if a no-namespace
- document were actually in the specified namespace. This allows you
- to type the instance according to a schema in a nonempty namespace,
- and therefore avoid the problematic practice of using schema
- definitions without a target namespace.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>substNamespaces</CODE> - a map of document URIs to replacement URIs<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadTrimTextBuffer()"><!-- --></A><H3>
-setLoadTrimTextBuffer</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadTrimTextBuffer</B>()</PRE>
-<DL>
-<DD>If this option is set, the underlying xml text buffer is trimmed
- immediately after parsing a document resulting in a smaller memory
- footprint.  Use this option if you are loading a large number
- of unchanging documents that will stay in memory for some time.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadAdditionalNamespaces(java.util.Map)"><!-- --></A><H3>
-setLoadAdditionalNamespaces</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadAdditionalNamespaces</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;nses)</PRE>
-<DL>
-<DD>Set additional namespace mappings to be added when parsing
- a document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>nses</CODE> - additional namespace mappings<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLoadMessageDigest()"><!-- --></A><H3>
-setLoadMessageDigest</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setLoadMessageDigest</B>()</PRE>
-<DL>
-<DD>If this option is set when loading from an InputStream or File, then
- the loader will compute a 160-bit SHA-1 message digest of the XML
- file while loading it and make it available via
- XmlObject.documentProperties().getMessageDigest();
- <br>
- The schema compiler uses message digests to detect and eliminate
- duplicate imported xsd files.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setXqueryCurrentNodeVar(java.lang.String)"><!-- --></A><H3>
-setXqueryCurrentNodeVar</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setXqueryCurrentNodeVar</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;varName)</PRE>
-<DL>
-<DD>Sets the name of the variable that represents
- the current node in a query expression.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>varName</CODE> - The new variable name to use for the query.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)"><CODE>XmlObject.execQuery(java.lang.String)</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlCursor.html#execQuery(java.lang.String)"><CODE>XmlCursor.execQuery(java.lang.String)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDocumentSourceName(java.lang.String)"><!-- --></A><H3>
-setDocumentSourceName</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setDocumentSourceName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;documentSourceName)</PRE>
-<DL>
-<DD>This option sets the document source name into the xml store
- when parsing a document.  If a document is parsed from a
- File or URI, it is automatically set to the URI of the
- source; otherwise, for example, when parsing a String,
- you can use this option to specify the source name yourself.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.lang.String, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileSubstituteNames(java.util.Map)"><!-- --></A><H3>
-setCompileSubstituteNames</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileSubstituteNames</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A>&nbsp;nameMap)</PRE>
-<DL>
-<DD>This option allows for <code>QName</code> substitution during schema compilation.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>nameMap</CODE> - a map from <code>QName</code>s to substitute <code>QName</code>s.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileNoValidation()"><!-- --></A><H3>
-setCompileNoValidation</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileNoValidation</B>()</PRE>
-<DL>
-<DD>If this option is set, validation is not done on the Schema XmlBeans
- when building a <code>SchemaTypeSystem</code>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileNoUpaRule()"><!-- --></A><H3>
-setCompileNoUpaRule</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileNoUpaRule</B>()</PRE>
-<DL>
-<DD>If this option is set, the unique particle attribution rule is not
- enforced when building a <code>SchemaTypeSystem</code>. See
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#non-ambig">Appendix H of the XML Schema specification</a>
- for information on the UPA rule.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileNoPvrRule()"><!-- --></A><H3>
-setCompileNoPvrRule</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileNoPvrRule</B>()</PRE>
-<DL>
-<DD>If this option is set, the particle valid (restriciton) rule is not
- enforced when building a <code>SchemaTypeSystem</code>. See
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-1/#cos-particle-restrict">Section 3.9.6 of the XML Schema specification</a>
- for information on the PVR rule.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileDownloadUrls()"><!-- --></A><H3>
-setCompileDownloadUrls</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileDownloadUrls</B>()</PRE>
-<DL>
-<DD>If this option is set, then the schema compiler will try to download
- schemas that appear in imports and includes from network based URLs.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCompileMdefNamespaces(java.util.Set)"><!-- --></A><H3>
-setCompileMdefNamespaces</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setCompileMdefNamespaces</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A>&nbsp;mdefNamespaces)</PRE>
-<DL>
-<DD>If this option is set, then the schema compiler will permit and
- ignore multiple definitions of the same component (element, attribute,
- type, etc) names in the given namespaces.  If multiple definitions
- with the same name appear, the definitions that happen to be processed
- last will be ignored.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>mdefNamespaces</CODE> - a set of namespace URIs as Strings<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setValidateOnSet()"><!-- --></A><H3>
-setValidateOnSet</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setValidateOnSet</B>()</PRE>
-<DL>
-<DD>If this option is set when an instance is created, then value
- facets will be checked on each call to a setter or getter
- method on instances of XmlObject within the instance document.
- If the facets are not satisfied, then an unchecked exception is
- thrown immediately.  This option is useful for finding code that
- is introducing invalid values in an XML document, but it
- slows performance.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><CODE>XmlObject.Factory.parse(java.io.File, XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
-setEntityResolver</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>setEntityResolver</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/EntityResolver.html">EntityResolver</A>&nbsp;resolver)</PRE>
-<DL>
-<DD>If this option is set when compiling a schema, then the given
- EntityResolver will be consulted in order to resolve any
- URIs while downloading imported schemas.
-
- EntityResolvers are currently only used by compileXsd; they
- are not consulted by other functions, for example, parse.
- This will likely change in the future.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlBeans.html#compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)"><CODE>XmlBeans.compileXsd(org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="maskNull(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-maskNull</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A> <B>maskNull</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;o)</PRE>
-<DL>
-<DD>If passed null, returns an empty options object.  Otherwise, returns its argument.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="put(java.lang.Object)"><!-- --></A><H3>
-put</H3>
-<PRE>
-public void <B>put</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</PRE>
-<DL>
-<DD>Used to set a generic option
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
-put</H3>
-<PRE>
-public void <B>put</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;value)</PRE>
-<DL>
-<DD>Used to set a generic option
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="put(java.lang.Object, int)"><!-- --></A><H3>
-put</H3>
-<PRE>
-public void <B>put</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option,
-                int&nbsp;value)</PRE>
-<DL>
-<DD>Used to set a generic option
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasOption(java.lang.Object)"><!-- --></A><H3>
-hasOption</H3>
-<PRE>
-public boolean <B>hasOption</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</PRE>
-<DL>
-<DD>Used to test a generic option
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get(java.lang.Object)"><!-- --></A><H3>
-get</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</PRE>
-<DL>
-<DD>Used to get a generic option
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="safeGet(org.apache.xmlbeans.XmlOptions, java.lang.Object)"><!-- --></A><H3>
-safeGet</H3>
-<PRE>
-public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>safeGet</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;o,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;option)</PRE>
-<DL>
-<DD>Used to test a generic option on an options object that may be null
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlOptions.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.Factory.html
deleted file mode 100644
index 2c3dc2c..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlPositiveInteger.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlPositiveInteger.Factory,XmlPositiveInteger.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlPositiveInteger.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlPositiveInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlPositiveInteger.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlPositiveInteger.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlPositiveInteger.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567890&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                       <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                       <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlPositiveInteger.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.html
deleted file mode 100644
index a031721..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlPositiveInteger.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlPositiveInteger (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlPositiveInteger,XmlPositiveInteger interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlPositiveInteger (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlPositiveInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlPositiveInteger</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlPositiveInteger</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#positiveInteger">xs:positiveInteger</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be positive when validating.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonNegativeInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlPositiveInteger.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.Factory.html
deleted file mode 100644
index a8e99cd..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlQName.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlQName.Factory,XmlQName.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlQName.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlQName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlQName.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlQName.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlQName.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment xmlns:x="http://openuri.org/"&gt;x:sample&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment xmlns:x="http://openuri.org/"&gt;x:sample&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlQName.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.html
deleted file mode 100644
index e3479f8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlQName.html
+++ /dev/null
@@ -1,400 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlQName (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlQName,XmlQName interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlQName (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlQName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlQName</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlQName</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#QName">xs:QName</a> type.
- <p>
- A QName is the logical combination of an XML namespace URI and a localName.
- Although in an XML instance document, a QName appears as "prefix:localName",
- the logical value of a QName does NOT contain any information about the
- prefix, only the namespace URI to which the prefix maps.  For example,
- two QNames "a:hello" and "b:hello" are perfectly equivalent if "a:" in
- the first instance maps to the same URI as "b:" in the second instance.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html">XmlQName.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.html#getQNameValue()">getQNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.html#qNameValue()">qNameValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlQName.html#getQNameValue()"><CODE>getQNameValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.html#set(javax.xml.namespace.QName)">set</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)"><CODE>setQNameValue(javax.xml.namespace.QName)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)">setQNameValue</A></B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getQNameValue()"><!-- --></A><H3>
-getQNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>getQNameValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setQNameValue(javax.xml.namespace.QName)"><!-- --></A><H3>
-setQNameValue</H3>
-<PRE>
-public void <B>setQNameValue</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="qNameValue()"><!-- --></A><H3>
-qNameValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A> <B>qNameValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlQName.html#getQNameValue()"><CODE>getQNameValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(javax.xml.namespace.QName)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html">QName</A>&nbsp;name)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlQName.html#setQNameValue(javax.xml.namespace.QName)"><CODE>setQNameValue(javax.xml.namespace.QName)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html"><CODE>QName</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlQName.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlRuntimeException.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlRuntimeException.html
deleted file mode 100644
index 533b4d9..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlRuntimeException.html
+++ /dev/null
@@ -1,401 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlRuntimeException (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlRuntimeException,XmlRuntimeException class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlRuntimeException (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XMLStreamValidationException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlRuntimeException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlRuntimeException</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
-        |
-        +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html">java.lang.Exception</A>
-              |
-              +--<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html">java.lang.RuntimeException</A>
-                    |
-                    +--<B>org.apache.xmlbeans.XmlRuntimeException</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html">SchemaTypeLoaderException</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlRuntimeException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html">RuntimeException</A></DL>
-
-<P>
-An unchecked XML exception.
- May contain any number of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> objects.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlException.html"><CODE>XmlException</CODE></A>, 
-<A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlRuntimeException">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String)">XmlRuntimeException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from a message.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable)">XmlRuntimeException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from a message and a cause.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable, java.util.Collection)">XmlRuntimeException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;errors)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)">XmlRuntimeException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                    <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from a message, a cause, and an XmlError.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(java.lang.Throwable)">XmlRuntimeException</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from a cause.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(org.apache.xmlbeans.XmlError)">XmlRuntimeException</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from an XmlError.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#XmlRuntimeException(org.apache.xmlbeans.XmlException)">XmlRuntimeException</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>&nbsp;xmlException)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XmlRuntimeException from an <A HREF="../../../org/apache/xmlbeans/XmlException.html"><CODE>XmlException</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#getError()">getError</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> that caused this exception, if any.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html#getErrors()">getErrors</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused this exception, if any.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getCause()">getCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getMessage()">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#getStackTrace()">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace()">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html#toString()">toString</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlRuntimeException(java.lang.String)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from a message.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from a message and a cause.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(java.lang.Throwable)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from a cause.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(java.lang.String, java.lang.Throwable, java.util.Collection)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;errors)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from an XmlError.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(java.lang.String, java.lang.Throwable, org.apache.xmlbeans.XmlError)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;m,
-                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A>&nbsp;t,
-                           <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A>&nbsp;error)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from a message, a cause, and an XmlError.
-<P>
-</DL>
-<HR>
-
-<A NAME="XmlRuntimeException(org.apache.xmlbeans.XmlException)"><!-- --></A><H3>
-XmlRuntimeException</H3>
-<PRE>
-public <B>XmlRuntimeException</B>(<A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>&nbsp;xmlException)</PRE>
-<DL>
-<DD>Constructs an XmlRuntimeException from an <A HREF="../../../org/apache/xmlbeans/XmlException.html"><CODE>XmlException</CODE></A>.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getError()"><!-- --></A><H3>
-getError</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlError.html">XmlError</A> <B>getError</B>()</PRE>
-<DL>
-<DD>Returns the first <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlError</CODE></A> that caused this exception, if any.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getErrors()"><!-- --></A><H3>
-getErrors</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A> <B>getErrors</B>()</PRE>
-<DL>
-<DD>Returns the collection of <A HREF="../../../org/apache/xmlbeans/XmlError.html"><CODE>XmlErrors</CODE></A> that caused this exception, if any.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlException.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XMLStreamValidationException.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlRuntimeException.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSaxHandler.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSaxHandler.html
deleted file mode 100644
index b3165fc..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSaxHandler.html
+++ /dev/null
@@ -1,254 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlSaxHandler (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlSaxHandler,XmlSaxHandler interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlSaxHandler (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlSaxHandler.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlSaxHandler</H2>
-<HR>
-<DL>
-<DT>public interface <B>XmlSaxHandler</B></DL>
-
-<P>
-A holder for a SAX <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html"><CODE>LexicalHandler</CODE></A> that are
- capable of loading an <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> instance.  Once all the SAX events are pushed
- to the handlers, call <A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html#getObject()"><CODE>getObject()</CODE></A> to get the loaded XmlObject.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html#newXmlSaxHandler()"><CODE>XmlObject.Factory.newXmlSaxHandler()</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html#newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)"><CODE>SchemaTypeLoader.newXmlSaxHandler(org.apache.xmlbeans.SchemaType, org.apache.xmlbeans.XmlOptions)</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html#getContentHandler()">getContentHandler</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The ContentHandler expecting SAX content events.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html#getLexicalHandler()">getLexicalHandler</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The LexicalHandler expecting SAX lexical events.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html#getObject()">getObject</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the loaded XmlObject after all the SAX events have been finished</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getContentHandler()"><!-- --></A><H3>
-getContentHandler</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getContentHandler</B>()</PRE>
-<DL>
-<DD>The ContentHandler expecting SAX content events.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLexicalHandler()"><!-- --></A><H3>
-getLexicalHandler</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A> <B>getLexicalHandler</B>()</PRE>
-<DL>
-<DD>The LexicalHandler expecting SAX lexical events.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html"><CODE>LexicalHandler</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getObject()"><!-- --></A><H3>
-getObject</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A> <B>getObject</B>()
-                    throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Returns the loaded XmlObject after all the SAX events have been finished
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlSaxHandler.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.Factory.html
deleted file mode 100644
index cba8f81..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlShort.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlShort.Factory,XmlShort.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlShort.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlShort.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlShort.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlShort.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlShort.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlShort.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.html
deleted file mode 100644
index 6e17453..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlShort.html
+++ /dev/null
@@ -1,469 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlShort (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlShort,XmlShort interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlShort (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlShort.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlShort</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlShort</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#short">xs:short</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Naturally, convertible to a Java short.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html">XmlShort.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html">XmlInt.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html">XmlLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.html#getShortValue()">getShortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a short</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.html#set(short)">set</A></B>(short&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlShort.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.html#setShortValue(short)">setShortValue</A></B>(short&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a short</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlShort.html#shortValue()">shortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlShort.html#getShortValue()"><CODE>getShortValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInt.html#getIntValue()">getIntValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#intValue()">intValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#set(int)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html#setIntValue(int)">setIntValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlLong.html#getLongValue()">getLongValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#longValue()">longValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#set(long)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html#setLongValue(long)">setLongValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getShortValue()"><!-- --></A><H3>
-getShortValue</H3>
-<PRE>
-public short <B>getShortValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setShortValue(short)"><!-- --></A><H3>
-setShortValue</H3>
-<PRE>
-public void <B>setShortValue</B>(short&nbsp;s)</PRE>
-<DL>
-<DD>Sets this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="shortValue()"><!-- --></A><H3>
-shortValue</H3>
-<PRE>
-public short <B>shortValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlShort.html#getShortValue()"><CODE>getShortValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(short)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(short&nbsp;s)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlShort.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I>
-<P>
-<DD>Sets this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlShort.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSimpleList.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSimpleList.html
deleted file mode 100644
index 3eff8d3..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlSimpleList.html
+++ /dev/null
@@ -1,876 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlSimpleList (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlSimpleList,XmlSimpleList class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlSimpleList (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlSimpleList.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlSimpleList</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlSimpleList</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public class <B>XmlSimpleList</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A></DL>
-
-<P>
-The immutable <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> returned for XML simple list values.
- 
- XmlSimpleList implements an equals() and hashCode() that compare list
- contents, so two XmlSimpleLists are the same if they have the same
- values in the same order.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.apache.xmlbeans.XmlSimpleList">Serialized Form</A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#XmlSimpleList(java.util.List)">XmlSimpleList</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;list)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an immutable XmlSimpleList that wraps (does not copy)
- the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#add(int, java.lang.Object)">add</A></B>(int&nbsp;index,
-    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;element)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#add(java.lang.Object)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#addAll(java.util.Collection)">addAll</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#addAll(int, java.util.Collection)">addAll</A></B>(int&nbsp;index,
-       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#clear()">clear</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#contains(java.lang.Object)">contains</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the list is contains an object equal to o.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#containsAll(java.util.Collection)">containsAll</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the list is contains all the objects in the given collection.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Two XmlSimpleLists are equal if all their items are equal.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#get(int)">get</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the object at the specified position in this list.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#hashCode()">hashCode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Combines the hash codes of all the list items.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#indexOf(java.lang.Object)">indexOf</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns index of the first occurance of an object equal to o.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#isEmpty()">isEmpty</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the list is empty.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Iterator.html">Iterator</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#iterator()">iterator</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over the elements in this list in proper sequence.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#lastIndexOf(java.lang.Object)">lastIndexOf</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns index of the last occurance of an object equal to o.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html">ListIterator</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#listIterator()">listIterator</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list iterator of the elements in this list in proper sequence.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html">ListIterator</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#listIterator(int)">listIterator</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list iterator of the elements in this list in proper sequence, starting at the specified position in this list.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#remove(int)">remove</A></B>(int&nbsp;index)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#remove(java.lang.Object)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#removeAll(java.util.Collection)">removeAll</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#retainAll(java.util.Collection)">retainAll</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#set(int, java.lang.Object)">set</A></B>(int&nbsp;index,
-    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;element)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported because this list is immutable.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#size()">size</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of elements in this list.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#subList(int, int)">subList</A></B>(int&nbsp;from,
-        int&nbsp;to)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#toArray()">toArray</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the collection to an array.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#toArray(java.lang.Object[])">toArray</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[]&nbsp;a)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the collection to an array of a specified type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html#toString()">toString</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a space-separated list of the string representations of all
- the items in the list.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="XmlSimpleList(java.util.List)"><!-- --></A><H3>
-XmlSimpleList</H3>
-<PRE>
-public <B>XmlSimpleList</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>&nbsp;list)</PRE>
-<DL>
-<DD>Constructs an immutable XmlSimpleList that wraps (does not copy)
- the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A>.  All non-mutating methods delegate to
- the underlying List instance.
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="size()"><!-- --></A><H3>
-size</H3>
-<PRE>
-public int <B>size</B>()</PRE>
-<DL>
-<DD>Returns the number of elements in this list.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>size</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isEmpty()"><!-- --></A><H3>
-isEmpty</H3>
-<PRE>
-public boolean <B>isEmpty</B>()</PRE>
-<DL>
-<DD>True if the list is empty.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>isEmpty</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="contains(java.lang.Object)"><!-- --></A><H3>
-contains</H3>
-<PRE>
-public boolean <B>contains</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>True if the list is contains an object equal to o.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>contains</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="containsAll(java.util.Collection)"><!-- --></A><H3>
-containsAll</H3>
-<PRE>
-public boolean <B>containsAll</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</PRE>
-<DL>
-<DD>True if the list is contains all the objects in the given collection.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>containsAll</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toArray()"><!-- --></A><H3>
-toArray</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[] <B>toArray</B>()</PRE>
-<DL>
-<DD>Copies the collection to an array.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>toArray</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toArray(java.lang.Object[])"><!-- --></A><H3>
-toArray</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[] <B>toArray</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>[]&nbsp;a)</PRE>
-<DL>
-<DD>Copies the collection to an array of a specified type.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>toArray</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="add(java.lang.Object)"><!-- --></A><H3>
-add</H3>
-<PRE>
-public boolean <B>add</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>add</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addAll(java.util.Collection)"><!-- --></A><H3>
-addAll</H3>
-<PRE>
-public boolean <B>addAll</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>addAll</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="remove(java.lang.Object)"><!-- --></A><H3>
-remove</H3>
-<PRE>
-public boolean <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeAll(java.util.Collection)"><!-- --></A><H3>
-removeAll</H3>
-<PRE>
-public boolean <B>removeAll</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>removeAll</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="retainAll(java.util.Collection)"><!-- --></A><H3>
-retainAll</H3>
-<PRE>
-public boolean <B>retainAll</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;coll)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>retainAll</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="clear()"><!-- --></A><H3>
-clear</H3>
-<PRE>
-public void <B>clear</B>()</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>clear</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="get(int)"><!-- --></A><H3>
-get</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>get</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns the object at the specified position in this list.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>get</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int, java.lang.Object)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>set</B>(int&nbsp;index,
-                  <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;element)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>set</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="add(int, java.lang.Object)"><!-- --></A><H3>
-add</H3>
-<PRE>
-public void <B>add</B>(int&nbsp;index,
-                <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;element)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>add</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="remove(int)"><!-- --></A><H3>
-remove</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>remove</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="indexOf(java.lang.Object)"><!-- --></A><H3>
-indexOf</H3>
-<PRE>
-public int <B>indexOf</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>Returns index of the first occurance of an object equal to o.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>indexOf</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="lastIndexOf(java.lang.Object)"><!-- --></A><H3>
-lastIndexOf</H3>
-<PRE>
-public int <B>lastIndexOf</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>Returns index of the last occurance of an object equal to o.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>lastIndexOf</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addAll(int, java.util.Collection)"><!-- --></A><H3>
-addAll</H3>
-<PRE>
-public boolean <B>addAll</B>(int&nbsp;index,
-                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html">Collection</A>&nbsp;c)</PRE>
-<DL>
-<DD>Unsupported because this list is immutable.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>addAll</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="subList(int, int)"><!-- --></A><H3>
-subList</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>subList</B>(int&nbsp;from,
-                    int&nbsp;to)</PRE>
-<DL>
-<DD>Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>subList</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="iterator()"><!-- --></A><H3>
-iterator</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Iterator.html">Iterator</A> <B>iterator</B>()</PRE>
-<DL>
-<DD>Returns an iterator over the elements in this list in proper sequence.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>iterator</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listIterator()"><!-- --></A><H3>
-listIterator</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html">ListIterator</A> <B>listIterator</B>()</PRE>
-<DL>
-<DD>Returns a list iterator of the elements in this list in proper sequence.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>listIterator</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="listIterator(int)"><!-- --></A><H3>
-listIterator</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html">ListIterator</A> <B>listIterator</B>(int&nbsp;index)</PRE>
-<DL>
-<DD>Returns a list iterator of the elements in this list in proper sequence, starting at the specified position in this list.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>listIterator</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="toString()"><!-- --></A><H3>
-toString</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
-<DL>
-<DD>Returns a space-separated list of the string representations of all
- the items in the list.  For most lists, this is a valid xml lexical
- value for the list. (The notable exception is a list of QNames.)
-<P>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
-equals</H3>
-<PRE>
-public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;o)</PRE>
-<DL>
-<DD>Two XmlSimpleLists are equal if all their items are equal.
- (They must have the same number of items, and the items must be in
- the same order.)
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>equals</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hashCode()"><!-- --></A><H3>
-hashCode</H3>
-<PRE>
-public int <B>hashCode</B>()</PRE>
-<DL>
-<DD>Combines the hash codes of all the list items.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE>hashCode</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlSimpleList.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.Factory.html
deleted file mode 100644
index e04964b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlString.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlString.Factory,XmlString.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlString.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlString.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlString.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlString.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlString.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt; arbitrary string &lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt; arbitrary string &lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                              <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                       throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                              <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlString.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.html
deleted file mode 100644
index 44eeb11..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlString.html
+++ /dev/null
@@ -1,293 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlString (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlString,XmlString interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlString (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlString.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlString</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlString</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a> type.
- <p>
- A basic string in XML schema is not whitespace normalized.  If you
- want your string type to be insensitive to variations in runs of
- whitespace, consider using 
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a>
- (aka <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>) instead.
- To forbid whitespace and permit just alphanumeric and other
- common identifier characters consider
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a>
- (aka <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>) instead.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlString.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlShort.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlString.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.Factory.html
deleted file mode 100644
index 188f75e..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlTime.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlTime.Factory,XmlTime.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlTime.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTime.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlTime.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlTime.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlTime.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12:00:00&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12:00:00&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                     throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                            <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTime.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.html
deleted file mode 100644
index 9cc4a55..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTime.html
+++ /dev/null
@@ -1,497 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlTime (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlTime,XmlTime interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlTime (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTime.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlTime</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlTime</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#time">xs:time</a> type.
- A gDay specifies only a day-of-month.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A> or <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><CODE>XmlCalendar</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html">XmlTime.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#calendarValue()">calendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#gDateValue()">gDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#getCalendarValue()">getCalendarValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#getGDateValue()">getGDateValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#set(java.util.Calendar)">set</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#set(org.apache.xmlbeans.GDateSpecification)">set</A></B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)">setCalendarValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)">setGDateValue</A></B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getCalendarValue()"><!-- --></A><H3>
-getCalendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>getCalendarValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setCalendarValue(java.util.Calendar)"><!-- --></A><H3>
-setCalendarValue</H3>
-<PRE>
-public void <B>setCalendarValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGDateValue()"><!-- --></A><H3>
-getGDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>getGDateValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setGDateValue(org.apache.xmlbeans.GDate)"><!-- --></A><H3>
-setGDateValue</H3>
-<PRE>
-public void <B>setGDateValue</B>(<A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A>&nbsp;gd)</PRE>
-<DL>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calendarValue()"><!-- --></A><H3>
-calendarValue</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A> <B>calendarValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#getCalendarValue()"><CODE>getCalendarValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(java.util.Calendar)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html">Calendar</A>&nbsp;c)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#setCalendarValue(java.util.Calendar)"><CODE>setCalendarValue(java.util.Calendar)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><CODE>Calendar</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="gDateValue()"><!-- --></A><H3>
-gDateValue</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/GDate.html">GDate</A> <B>gDateValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#getGDateValue()"><CODE>getGDateValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDate</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(org.apache.xmlbeans.GDateSpecification)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>&nbsp;gd)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlTime.html#setGDateValue(org.apache.xmlbeans.GDate)"><CODE>setGDateValue(org.apache.xmlbeans.GDate)</CODE></A></I>
-<P>
-<DD>Sets this value as a <A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><CODE>GDateSpecification</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlString.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTime.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.Factory.html
deleted file mode 100644
index 33c95d4..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlToken.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlToken.Factory,XmlToken.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlToken.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlToken.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlToken.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlToken.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlToken.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;string to collapse&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;string to collapse&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                             <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                      throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                             <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlToken.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.html
deleted file mode 100644
index 72c63a9..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlToken.html
+++ /dev/null
@@ -1,315 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlToken (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlToken,XmlToken interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlToken (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlToken.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlToken</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlToken</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a>.
- <p>
- A token is XML's best representation for a "whitespace insensitive string."
- All carriage returns, linefeeds, and tabs are converted to ordinary space
- characters (as with <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a>),
- and furthermore, all contiguous runs of space are collapsed to single spaces,
- and leading and trailing spaces are trimmed.
- <p>
- If you want <code>"&nbsp;&nbsp;high&nbsp;&nbsp;priority&nbsp;&nbsp;"</code>
- to be equivalent to <code>"high priority"</code>, you should consider
- using xs:token or a subtype of xs:token.
- <p>
- When the <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()"><CODE>XmlAnySimpleType.stringValue()</CODE></A> is obtained from an XmlToken, the normalized,
- trimmed, whitespace collapsed value is returned.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"><CODE>String</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html">XmlToken.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNormalizedString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlString"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html">XmlString.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlToken.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTime.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlToken.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTokenSource.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTokenSource.html
deleted file mode 100644
index c1a3c8b..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlTokenSource.html
+++ /dev/null
@@ -1,820 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlTokenSource (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlTokenSource,XmlTokenSource interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlTokenSource (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTokenSource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlTokenSource</H2>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html">XmlAnyURI</A>, <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html">XmlBase64Binary</A>, <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html">XmlBoolean</A>, <A HREF="../../../org/apache/xmlbeans/XmlByte.html">XmlByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlDate.html">XmlDate</A>, <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html">XmlDateTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlDouble.html">XmlDouble</A>, <A HREF="../../../org/apache/xmlbeans/XmlDuration.html">XmlDuration</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html">XmlENTITIES</A>, <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html">XmlENTITY</A>, <A HREF="../../../org/apache/xmlbeans/XmlFloat.html">XmlFloat</A>, <A HREF="../../../org/apache/xmlbeans/XmlGDay.html">XmlGDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html">XmlGMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html">XmlGMonthDay</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYear.html">XmlGYear</A>, <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html">XmlGYearMonth</A>, <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html">XmlHexBinary</A>, <A HREF="../../../org/apache/xmlbeans/XmlID.html">XmlID</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html">XmlIDREF</A>, <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html">XmlIDREFS</A>, <A HREF="../../../org/apache/xmlbeans/XmlInt.html">XmlInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html">XmlLanguage</A>, <A HREF="../../../org/apache/xmlbeans/XmlLong.html">XmlLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlName.html">XmlName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNCName.html">XmlNCName</A>, <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html">XmlNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html">XmlNMTOKEN</A>, <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html">XmlNMTOKENS</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html">XmlNonPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html">XmlNormalizedString</A>, <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html">XmlNOTATION</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html">XmlPositiveInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlQName.html">XmlQName</A>, <A HREF="../../../org/apache/xmlbeans/XmlShort.html">XmlShort</A>, <A HREF="../../../org/apache/xmlbeans/XmlString.html">XmlString</A>, <A HREF="../../../org/apache/xmlbeans/XmlTime.html">XmlTime</A>, <A HREF="../../../org/apache/xmlbeans/XmlToken.html">XmlToken</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html">FilterXmlObject</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlTokenSource</B></DL>
-
-<P>
-Represents a holder of XML that can return an <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>
- or copy itself to various media such as
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html"><CODE>Writers</CODE></A> or <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>Files</CODE></A>.
- Both <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>
- (and thus all XML Beans) and <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> are
- XmlTokenSource implementations.
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, 
-<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A></DL>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the XmlDocumentProperties object for the document this token
- source is associated with.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the synchronization object for the document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new XML cursor.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a W3C DOM Node containing the XML
- represented by this source.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newDomNode() but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new stream containing standard XML text, encoded
- according to the given encoding.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newInputStream(String encoding) but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new character reader containing XML text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newReader() but with options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new XmlInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like newXMLInputStream() but with any of a number of options.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given SAX content and
- lexical handlers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given SAX content and
- lexical handlers.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given output stream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given writer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w,
-     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the XML represented by this source to the given writer.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns standard XML text.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just like xmlText() but with options.</TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="monitor()"><!-- --></A><H3>
-monitor</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A> <B>monitor</B>()</PRE>
-<DL>
-<DD>Returns the synchronization object for the document.  If concurrent
- multithreaded access to a document is required, the access should should
- be protected by synchronizing on this monitor() object.  There is one
- monitor per XML document tree.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="documentProperties()"><!-- --></A><H3>
-documentProperties</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html">XmlDocumentProperties</A> <B>documentProperties</B>()</PRE>
-<DL>
-<DD>Returns the XmlDocumentProperties object for the document this token
- source is associated with.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newCursor()"><!-- --></A><H3>
-newCursor</H3>
-<PRE>
-public <A HREF="../../../org/apache/xmlbeans/XmlCursor.html">XmlCursor</A> <B>newCursor</B>()</PRE>
-<DL>
-<DD>Returns a new XML cursor.
-
- A cursor provides random access to all the tokens in the XML
- data, plus the ability to extract strongly-typed XmlObjects
- for the data. If the data is not read-only, the XML cursor
- also allows modifications to the data.
-
- Using a cursor for the first time typically forces the XML
- document into memory.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXMLInputStream()"><!-- --></A><H3>
-newXMLInputStream</H3>
-<PRE>
-public <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newXMLInputStream</B>()</PRE>
-<DL>
-<DD>Returns a new XmlInputStream.
-
- The stream starts at the current begin-tag or begin-document
- position and ends at the matching end-tag or end-document.
-
- This is a fail-fast stream, so if the underlying data is changed
- while the stream is being read, the stream throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xmlText()"><!-- --></A><H3>
-xmlText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>xmlText</B>()</PRE>
-<DL>
-<DD>Returns standard XML text.
-
- The text returned represents the document contents starting at
- the current begin-tag or begin-document and ending at the matching
- end-tag or end-document. This is same content as newReader, but
- it is returned as a single string.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInputStream()"><!-- --></A><H3>
-newInputStream</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A> <B>newInputStream</B>()</PRE>
-<DL>
-<DD>Returns a new stream containing standard XML text, encoded
- according to the given encoding.
-
- The byte stream contains contents starting at the current
- begin-tag or begin-document and ending at the matching
- end-tag or end-document.  The specified encoding is used
- and also emitted in a PI at the beginning of the stream.
-
- This is a fail-fast stream, so if the underlying data is changed
- while the stream is being read, the stream throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newReader()"><!-- --></A><H3>
-newReader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A> <B>newReader</B>()</PRE>
-<DL>
-<DD>Returns a new character reader containing XML text.
-
- The contents of the reader represents the document contents
- starting at the current begin-tag or begin-document and ending at
- the matching end-tag or end-document.  No encoding annotation
- will be made in the text itself.
-
- This is a fail-fast reader, so if the underlying data is changed
- while the reader is being read, the reader throws a
- ConcurrentModificationException.
-
- Throws an IllegalStateException if the XmlTokenSource is not
- positioned at begin-tag or begin-document (e.g., if it is at
- an attribute).
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newDomNode()"><!-- --></A><H3>
-newDomNode</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A> <B>newDomNode</B>()</PRE>
-<DL>
-<DD>Returns a W3C DOM Node containing the XML
- represented by this source.  This is a copy of the XML, it is
- not a live with the underlying store of this token source.
- If this is the document node, then a Document is returned, else
- a DocumentFragment is returned.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.File)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.OutputStream)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given output stream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.Writer)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given writer.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newXMLInputStream(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newXMLInputStream</H3>
-<PRE>
-public <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newXMLInputStream</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD><p>Just like newXMLInputStream() but with any of a number of options. Use the 
- <em>options</em> parameter to specify the following:</p>
- 
- <table>
- <tr><th>To specify this</th><th>Use this method</th></tr>
- <tr>
-  <td>The character encoding to use when converting the character
-  data in the XML to bytess.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setCharacterEncoding(java.lang.String)"><CODE>XmlOptions.setCharacterEncoding(java.lang.String)</CODE></A></td>
- </tr>
- <tr>
-  <td>Prefix-to-namespace mappings that should be assumed
-  when saving this XML. This is useful when the resulting
-  XML will be part of a larger XML document, ensuring that this 
-  inner document will take advantage of namespaces defined in 
-  the outer document.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveImplicitNamespaces(java.util.Map)"><CODE>XmlOptions.setSaveImplicitNamespaces(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>Suggested namespace prefixes to use when saving. Used only
-  when a namespace attribute needs to be synthesized.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSuggestedPrefixes(java.util.Map)"><CODE>XmlOptions.setSaveSuggestedPrefixes(java.util.Map)</CODE></A></td>
- </tr>
- <tr>
-  <td>That namespace attributes should occur first in elements when
- the XML is saved. By default, they occur last.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveNamespacesFirst()"><CODE>XmlOptions.setSaveNamespacesFirst()</CODE></A></td>
- </tr>
- <tr>
-  <td>The XML should be pretty printed when saved. Note that this 
-  should only be used for debugging.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrint()"><CODE>XmlOptions.setSavePrettyPrint()</CODE></A></td>
- </tr>
- <tr>
-  <td>The number of spaces to use when indenting for pretty printing. 
-  The default is 2.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintIndent(int)"><CODE>XmlOptions.setSavePrettyPrintIndent(int)</CODE></A></td>
- </tr>
- <tr>
-  <td>The additional number of spaces indented from the left
-  for pretty printed XML.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSavePrettyPrintOffset(int)"><CODE>XmlOptions.setSavePrettyPrintOffset(int)</CODE></A></td>
- </tr>
- <tr>
-  <td>To minimize the number of namespace attributes generated for the 
-  saved XML. Note that this can reduce performance significantly.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveAggresiveNamespaces()"><CODE>XmlOptions.setSaveAggresiveNamespaces()</CODE></A></td>
- </tr>
- <tr>
-  <td>To reduce the size of the saved document
-  by allowing the use of the default namespace. Note that this can 
-  potentially change the semantic meaning of the XML if unprefixed QNames are 
-  present as the value of an attribute or element.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setUseDefaultNamespace()"><CODE>XmlOptions.setUseDefaultNamespace()</CODE></A></td>
- </tr>
- <tr>
-  <td>To filter out processing instructions with the specified target name.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveFilterProcinst(java.lang.String)"><CODE>XmlOptions.setSaveFilterProcinst(java.lang.String)</CODE></A></td>
- </tr>
- <tr>
-  <td>Change the QName of the synthesized root element when saving. This 
-  replaces "xml-fragment" with "fragment" in the namespace 
-  http://www.openuri.org/fragment</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveUseOpenFrag()"><CODE>XmlOptions.setSaveUseOpenFrag()</CODE></A></td>
- </tr>
- <tr>
-  <td>Saving should begin on the element's contents.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveInner()"><CODE>XmlOptions.setSaveInner()</CODE></A></td>
- </tr>
- <tr>
-  <td>Saving should begin on the element, rather than its contents.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveOuter()"><CODE>XmlOptions.setSaveOuter()</CODE></A></td>
- </tr>
- <tr>
-  <td>To rename the document element, or to specify the document element
-  for this XML.</td>
-  <td><A HREF="../../../org/apache/xmlbeans/XmlOptions.html#setSaveSyntheticDocumentElement(javax.xml.namespace.QName)"><CODE>XmlOptions.setSaveSyntheticDocumentElement(javax.xml.namespace.QName)</CODE></A></td>
- </tr>
- </table>
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>options</CODE> - Any of the described options.
-<DT><B>Returns:</B><DD>A new validating XMLInputStream.<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="xmlText(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-xmlText</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>xmlText</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Just like xmlText() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInputStream(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInputStream</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A> <B>newInputStream</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Just like newInputStream(String encoding) but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newReader(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newReader</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A> <B>newReader</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Just like newReader() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newDomNode(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newDomNode</H3>
-<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A> <B>newDomNode</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Just like newDomNode() but with options.
- Options map may be null.
-<P>
-<DD><DL>
-<DT><B>See Also:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><CODE>XmlOptions</CODE></A></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html">ContentHandler</A>&nbsp;ch,
-                 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>&nbsp;lh,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given SAX content and
- lexical handlers.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html">SAXException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;file,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given output stream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="save(java.io.Writer, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-save</H3>
-<PRE>
-public void <B>save</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html">Writer</A>&nbsp;w,
-                 <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-          throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Writes the XML represented by this source to the given writer.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlTokenSource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.Factory.html
deleted file mode 100644
index b5c0ad7..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlUnsignedByte.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedByte.Factory,XmlUnsignedByte.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedByte.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedByte.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlUnsignedByte.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlUnsignedByte.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlUnsignedByte.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedByte.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.html
deleted file mode 100644
index b5d9337..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedByte.html
+++ /dev/null
@@ -1,486 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlUnsignedByte (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedByte,XmlUnsignedByte interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedByte (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedByte.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlUnsignedByte</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlUnsignedByte</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedByte">xs:unsignedByte</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be in the range 0..255 when validating.
- <p>
- As suggested by JAXB, convertible to Java short.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedShort"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonNegativeInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()">getShortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a short</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#set(short)">set</A></B>(short&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)">setShortValue</A></B>(short&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a short</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;short</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#shortValue()">shortValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()"><CODE>getShortValue()</CODE></A></I></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlUnsignedShort"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()">getIntValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#intValue()">intValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#set(int)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)">setIntValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlUnsignedInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()">getLongValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#longValue()">longValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#set(long)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)">setLongValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getShortValue()"><!-- --></A><H3>
-getShortValue</H3>
-<PRE>
-public short <B>getShortValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setShortValue(short)"><!-- --></A><H3>
-setShortValue</H3>
-<PRE>
-public void <B>setShortValue</B>(short&nbsp;s)</PRE>
-<DL>
-<DD>Sets this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="shortValue()"><!-- --></A><H3>
-shortValue</H3>
-<PRE>
-public short <B>shortValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#getShortValue()"><CODE>getShortValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(short)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(short&nbsp;s)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html#setShortValue(short)"><CODE>setShortValue(short)</CODE></A></I>
-<P>
-<DD>Sets this value as a short
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedByte.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.Factory.html
deleted file mode 100644
index 15934f5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlUnsignedInt.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedInt.Factory,XmlUnsignedInt.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedInt.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedInt.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlUnsignedInt.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlUnsignedInt.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlUnsignedInt.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;1234567&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                   <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                            throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                   <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedInt.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.html
deleted file mode 100644
index dedd6a6..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedInt.html
+++ /dev/null
@@ -1,453 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlUnsignedInt (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedInt,XmlUnsignedInt interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedInt (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedInt.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlUnsignedInt</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlUnsignedInt</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedInt">xs:unsignedInt</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be in the range 0..4294967295 when validating.
- <p>
- Convertible to Java long.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonNegativeInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()">getLongValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as a long</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;long</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#longValue()">longValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()"><CODE>getLongValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#set(long)">set</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)">setLongValue</A></B>(long&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as a long</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getLongValue()"><!-- --></A><H3>
-getLongValue</H3>
-<PRE>
-public long <B>getLongValue</B>()</PRE>
-<DL>
-<DD>Returns this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLongValue(long)"><!-- --></A><H3>
-setLongValue</H3>
-<PRE>
-public void <B>setLongValue</B>(long&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="longValue()"><!-- --></A><H3>
-longValue</H3>
-<PRE>
-public long <B>longValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()"><CODE>getLongValue()</CODE></A></I>
-<P>
-<DD>Returns this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(long)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(long&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)"><CODE>setLongValue(long)</CODE></A></I>
-<P>
-<DD>Sets this value as a long
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedInt.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.Factory.html
deleted file mode 100644
index 4332235..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlUnsignedLong.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedLong.Factory,XmlUnsignedLong.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedLong.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedLong.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlUnsignedLong.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlUnsignedLong.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlUnsignedLong.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;123456789&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                    <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                             throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                    <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedLong.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.html
deleted file mode 100644
index 40e47a8..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedLong.html
+++ /dev/null
@@ -1,331 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlUnsignedLong (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedLong,XmlUnsignedLong interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedLong (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedLong.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlUnsignedLong</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlUnsignedLong</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedLong">xs:unsignedLong</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be in the range 0..2<super>64</super>-1 when validating.
- <p>
- Convertible to <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html"><CODE>BigInteger</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonNegativeInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedLong.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.Factory.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.Factory.html
deleted file mode 100644
index f86a84f..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.Factory.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-XmlUnsignedShort.Factory (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedShort.Factory,XmlUnsignedShort.Factory class">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedShort.Factory (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedShort.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Class XmlUnsignedShort.Factory</H2>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</A>
-  |
-  +--<B>org.apache.xmlbeans.XmlUnsignedShort.Factory</B>
-</PRE>
-<DL>
-<DT><B>Enclosing class:</B><DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public static final class <B>XmlUnsignedShort.Factory</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></DL>
-
-<P>
-A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-
-<!-- =========== FIELD SUMMARY =========== -->
-
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newInstance()">newInstance</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newInstance(org.apache.xmlbeans.XmlOptions)">newInstance</A></B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">newValidatingXMLInputStream</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                            <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a validating XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#newValue(java.lang.Object)">newValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> value</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.File, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(org.w3c.dom.Node)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.lang.String, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.net.URL)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(java.net.URL, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html#parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)">parse</A></B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-      <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="newInstance()"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>newInstance</B>()</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newInstance(org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newInstance</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>newInstance</B>(<A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)</PRE>
-<DL>
-<DD>Creates an empty instance of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValue(java.lang.Object)"><!-- --></A><H3>
-newValue</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>newValue</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
-<DL>
-<DD>Creates an immutable <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> value
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.lang.String, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A>&nbsp;s,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a String. For example: "<code>&lt;xml-fragment&gt;12345&lt;/xml-fragment&gt;</code>".
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.File, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</A>&nbsp;f,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a File.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.net.URL, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html">URL</A>&nbsp;u,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a URL.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.InputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html">InputStream</A>&nbsp;is,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an InputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(java.io.Reader, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html">Reader</A>&nbsp;r,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a Reader.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(org.w3c.dom.Node, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Node.html">Node</A>&nbsp;node,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from a DOM Node.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="parse(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-parse</H3>
-<PRE>
-public static <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html">XmlUnsignedShort</A> <B>parse</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                     <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                              throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                     <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Parses a <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A> fragment from an XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream, org.apache.xmlbeans.XmlOptions)"><!-- --></A><H3>
-newValidatingXMLInputStream</H3>
-<PRE>
-public static <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A> <B>newValidatingXMLInputStream</B>(<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLInputStream.html">XMLInputStream</A>&nbsp;xis,
-                                                         <A HREF="../../../org/apache/xmlbeans/XmlOptions.html">XmlOptions</A>&nbsp;options)
-                                                  throws <A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A>,
-                                                         <A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></PRE>
-<DL>
-<DD>Returns a validating XMLInputStream.
-<P>
-<DD><DL>
-
-<DD><CODE><A HREF="../../../org/apache/xmlbeans/XmlException.html">XmlException</A></CODE>
-<DD><CODE><A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html">XMLStreamException</A></CODE></DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedShort.Factory.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.html
deleted file mode 100644
index 6d739e5..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/XmlUnsignedShort.html
+++ /dev/null
@@ -1,471 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:58 PDT 2003 -->
-<TITLE>
-XmlUnsignedShort (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans.XmlUnsignedShort,XmlUnsignedShort interface">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="XmlUnsignedShort (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedShort.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-org.apache.xmlbeans</FONT>
-<BR>
-Interface XmlUnsignedShort</H2>
-<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></DD>
-</DL>
-<DL>
-<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html">XmlUnsignedByte</A></DD>
-</DL>
-<HR>
-<DL>
-<DT>public interface <B>XmlUnsignedShort</B><DT>extends <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></DL>
-
-<P>
-Corresponds to the XML Schema
- <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedShort">xs:unsignedShort</a> type.
- One of the derived types based on <a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a>.
- <p>
- Verified to be in the range 0..65535 when validating.
- <p>
- Convertible to a Java int.
-<P>
-
-<P>
-<HR>
-
-<P>
-<!-- ======== NESTED CLASS SUMMARY ======== -->
-
-<A NAME="nested_class_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Nested Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;class</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlUnsignedLong"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html">XmlUnsignedLong</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlNonNegativeInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html">XmlNonNegativeInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html">XmlInteger.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html">XmlDecimal.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Nested classes inherited from class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html">XmlObject.Factory</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- =========== FIELD SUMMARY =========== -->
-
-<A NAME="field_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Field Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;<A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#type">type</A></B></CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Fields inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#EQUAL">EQUAL</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#NOT_EQUAL">NOT_EQUAL</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()">getIntValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this value as an int</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#intValue()">intValue</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()"><CODE>getIntValue()</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#set(int)">set</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)">setIntValue</A></B>(int&nbsp;v)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this value as an int</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlUnsignedInt"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html">XmlUnsignedInt</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#getLongValue()">getLongValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#longValue()">longValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#set(long)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html#setLongValue(long)">setLongValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlInteger"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html">XmlInteger</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlInteger.html#bigIntegerValue()">bigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#getBigIntegerValue()">getBigIntegerValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#set(java.math.BigInteger)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlInteger.html#setBigIntegerValue(java.math.BigInteger)">setBigIntegerValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlDecimal"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html">XmlDecimal</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#bigDecimalValue()">bigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#getBigDecimalValue()">getBigDecimalValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#set(java.math.BigDecimal)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html#setBigDecimalValue(java.math.BigDecimal)">setBigDecimalValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlAnySimpleType"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html">XmlAnySimpleType</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#getStringValue()">getStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#set(java.lang.String)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#setStringValue(java.lang.String)">setStringValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html#stringValue()">stringValue</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlObject"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)">changeType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#compareValue(org.apache.xmlbeans.XmlObject)">compareValue</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#copy()">copy</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#execQuery(java.lang.String, org.apache.xmlbeans.XmlOptions)">execQuery</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isImmutable()">isImmutable</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#isNil()">isNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#schemaType()">schemaType</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String, org.apache.xmlbeans.XmlOptions)">selectPath</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#set(org.apache.xmlbeans.XmlObject)">set</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#setNil()">setNil</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#toString()">toString</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate()">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#validate(org.apache.xmlbeans.XmlOptions)">validate</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueEquals(org.apache.xmlbeans.XmlObject)">valueEquals</A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#valueHashCode()">valueHashCode</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlbeans.XmlTokenSource"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html">XmlTokenSource</A></B></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#documentProperties()">documentProperties</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#monitor()">monitor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newCursor()">newCursor</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode()">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newDomNode(org.apache.xmlbeans.XmlOptions)">newDomNode</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream()">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newInputStream(org.apache.xmlbeans.XmlOptions)">newInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader()">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newReader(org.apache.xmlbeans.XmlOptions)">newReader</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream()">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#newXMLInputStream(org.apache.xmlbeans.XmlOptions)">newXMLInputStream</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.File, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.OutputStream, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#save(java.io.Writer, org.apache.xmlbeans.XmlOptions)">save</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText()">xmlText</A>, <A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html#xmlText(org.apache.xmlbeans.XmlOptions)">xmlText</A></CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ============ FIELD DETAIL =========== -->
-
-<A NAME="field_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Field Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="type"><!-- --></A><H3>
-type</H3>
-<PRE>
-public static final <A HREF="../../../org/apache/xmlbeans/SchemaType.html">SchemaType</A> <B>type</B></PRE>
-<DL>
-<DD>The constant <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> object representing this schema type.
-<P>
-<DL>
-</DL>
-</DL>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TD>
-</TR>
-</TABLE>
-
-<A NAME="getIntValue()"><!-- --></A><H3>
-getIntValue</H3>
-<PRE>
-public int <B>getIntValue</B>()</PRE>
-<DL>
-<DD>Returns this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setIntValue(int)"><!-- --></A><H3>
-setIntValue</H3>
-<PRE>
-public void <B>setIntValue</B>(int&nbsp;v)</PRE>
-<DL>
-<DD>Sets this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="intValue()"><!-- --></A><H3>
-intValue</H3>
-<PRE>
-public int <B>intValue</B>()</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#getIntValue()"><CODE>getIntValue()</CODE></A></I>
-<P>
-<DD>Returns this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="set(int)"><!-- --></A><H3>
-set</H3>
-<PRE>
-public void <B>set</B>(int&nbsp;v)</PRE>
-<DL>
-<DD><B>Deprecated.</B>&nbsp;<I>replaced with <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html#setIntValue(int)"><CODE>setIntValue(int)</CODE></A></I>
-<P>
-<DD>Sets this value as an int
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;NEXT CLASS</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="XmlUnsignedShort.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-frame.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-frame.html
deleted file mode 100644
index db02ca4..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-frame.html
+++ /dev/null
@@ -1,347 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-org.apache.xmlbeans (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans package">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="org.apache.xmlbeans (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-<FONT size="+1" CLASS="FrameTitleFont">
-<A HREF="../../../org/apache/xmlbeans/package-summary.html" TARGET="classFrame">org.apache.xmlbeans</A></FONT>
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Interfaces</FONT>&nbsp;
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="GDateSpecification.html" TARGET="classFrame"><I>GDateSpecification</I></A>
-<BR>
-<A HREF="GDurationSpecification.html" TARGET="classFrame"><I>GDurationSpecification</I></A>
-<BR>
-<A HREF="QNameSetSpecification.html" TARGET="classFrame"><I>QNameSetSpecification</I></A>
-<BR>
-<A HREF="SchemaAttributeGroup.html" TARGET="classFrame"><I>SchemaAttributeGroup</I></A>
-<BR>
-<A HREF="SchemaAttributeModel.html" TARGET="classFrame"><I>SchemaAttributeModel</I></A>
-<BR>
-<A HREF="SchemaComponent.html" TARGET="classFrame"><I>SchemaComponent</I></A>
-<BR>
-<A HREF="SchemaField.html" TARGET="classFrame"><I>SchemaField</I></A>
-<BR>
-<A HREF="SchemaGlobalAttribute.html" TARGET="classFrame"><I>SchemaGlobalAttribute</I></A>
-<BR>
-<A HREF="SchemaGlobalElement.html" TARGET="classFrame"><I>SchemaGlobalElement</I></A>
-<BR>
-<A HREF="SchemaIdentityConstraint.html" TARGET="classFrame"><I>SchemaIdentityConstraint</I></A>
-<BR>
-<A HREF="SchemaLocalAttribute.html" TARGET="classFrame"><I>SchemaLocalAttribute</I></A>
-<BR>
-<A HREF="SchemaLocalElement.html" TARGET="classFrame"><I>SchemaLocalElement</I></A>
-<BR>
-<A HREF="SchemaModelGroup.html" TARGET="classFrame"><I>SchemaModelGroup</I></A>
-<BR>
-<A HREF="SchemaParticle.html" TARGET="classFrame"><I>SchemaParticle</I></A>
-<BR>
-<A HREF="SchemaProperty.html" TARGET="classFrame"><I>SchemaProperty</I></A>
-<BR>
-<A HREF="SchemaStringEnumEntry.html" TARGET="classFrame"><I>SchemaStringEnumEntry</I></A>
-<BR>
-<A HREF="SchemaType.html" TARGET="classFrame"><I>SchemaType</I></A>
-<BR>
-<A HREF="SchemaTypeLoader.html" TARGET="classFrame"><I>SchemaTypeLoader</I></A>
-<BR>
-<A HREF="SchemaTypeSystem.html" TARGET="classFrame"><I>SchemaTypeSystem</I></A>
-<BR>
-<A HREF="SimpleValue.html" TARGET="classFrame"><I>SimpleValue</I></A>
-<BR>
-<A HREF="XmlAnySimpleType.html" TARGET="classFrame"><I>XmlAnySimpleType</I></A>
-<BR>
-<A HREF="XmlAnyURI.html" TARGET="classFrame"><I>XmlAnyURI</I></A>
-<BR>
-<A HREF="XmlBase64Binary.html" TARGET="classFrame"><I>XmlBase64Binary</I></A>
-<BR>
-<A HREF="XmlBoolean.html" TARGET="classFrame"><I>XmlBoolean</I></A>
-<BR>
-<A HREF="XmlByte.html" TARGET="classFrame"><I>XmlByte</I></A>
-<BR>
-<A HREF="XmlCursor.html" TARGET="classFrame"><I>XmlCursor</I></A>
-<BR>
-<A HREF="XmlCursor.ChangeStamp.html" TARGET="classFrame"><I>XmlCursor.ChangeStamp</I></A>
-<BR>
-<A HREF="XmlCursor.XmlMark.html" TARGET="classFrame"><I>XmlCursor.XmlMark</I></A>
-<BR>
-<A HREF="XmlDate.html" TARGET="classFrame"><I>XmlDate</I></A>
-<BR>
-<A HREF="XmlDateTime.html" TARGET="classFrame"><I>XmlDateTime</I></A>
-<BR>
-<A HREF="XmlDecimal.html" TARGET="classFrame"><I>XmlDecimal</I></A>
-<BR>
-<A HREF="XmlDouble.html" TARGET="classFrame"><I>XmlDouble</I></A>
-<BR>
-<A HREF="XmlDuration.html" TARGET="classFrame"><I>XmlDuration</I></A>
-<BR>
-<A HREF="XmlENTITIES.html" TARGET="classFrame"><I>XmlENTITIES</I></A>
-<BR>
-<A HREF="XmlENTITY.html" TARGET="classFrame"><I>XmlENTITY</I></A>
-<BR>
-<A HREF="XmlFactoryHook.html" TARGET="classFrame"><I>XmlFactoryHook</I></A>
-<BR>
-<A HREF="XmlFloat.html" TARGET="classFrame"><I>XmlFloat</I></A>
-<BR>
-<A HREF="XmlGDay.html" TARGET="classFrame"><I>XmlGDay</I></A>
-<BR>
-<A HREF="XmlGMonth.html" TARGET="classFrame"><I>XmlGMonth</I></A>
-<BR>
-<A HREF="XmlGMonthDay.html" TARGET="classFrame"><I>XmlGMonthDay</I></A>
-<BR>
-<A HREF="XmlGYear.html" TARGET="classFrame"><I>XmlGYear</I></A>
-<BR>
-<A HREF="XmlGYearMonth.html" TARGET="classFrame"><I>XmlGYearMonth</I></A>
-<BR>
-<A HREF="XmlHexBinary.html" TARGET="classFrame"><I>XmlHexBinary</I></A>
-<BR>
-<A HREF="XmlID.html" TARGET="classFrame"><I>XmlID</I></A>
-<BR>
-<A HREF="XmlIDREF.html" TARGET="classFrame"><I>XmlIDREF</I></A>
-<BR>
-<A HREF="XmlIDREFS.html" TARGET="classFrame"><I>XmlIDREFS</I></A>
-<BR>
-<A HREF="XmlInt.html" TARGET="classFrame"><I>XmlInt</I></A>
-<BR>
-<A HREF="XmlInteger.html" TARGET="classFrame"><I>XmlInteger</I></A>
-<BR>
-<A HREF="XmlLanguage.html" TARGET="classFrame"><I>XmlLanguage</I></A>
-<BR>
-<A HREF="XmlLong.html" TARGET="classFrame"><I>XmlLong</I></A>
-<BR>
-<A HREF="XmlName.html" TARGET="classFrame"><I>XmlName</I></A>
-<BR>
-<A HREF="XmlNCName.html" TARGET="classFrame"><I>XmlNCName</I></A>
-<BR>
-<A HREF="XmlNegativeInteger.html" TARGET="classFrame"><I>XmlNegativeInteger</I></A>
-<BR>
-<A HREF="XmlNMTOKEN.html" TARGET="classFrame"><I>XmlNMTOKEN</I></A>
-<BR>
-<A HREF="XmlNMTOKENS.html" TARGET="classFrame"><I>XmlNMTOKENS</I></A>
-<BR>
-<A HREF="XmlNonNegativeInteger.html" TARGET="classFrame"><I>XmlNonNegativeInteger</I></A>
-<BR>
-<A HREF="XmlNonPositiveInteger.html" TARGET="classFrame"><I>XmlNonPositiveInteger</I></A>
-<BR>
-<A HREF="XmlNormalizedString.html" TARGET="classFrame"><I>XmlNormalizedString</I></A>
-<BR>
-<A HREF="XmlNOTATION.html" TARGET="classFrame"><I>XmlNOTATION</I></A>
-<BR>
-<A HREF="XmlObject.html" TARGET="classFrame"><I>XmlObject</I></A>
-<BR>
-<A HREF="XmlPositiveInteger.html" TARGET="classFrame"><I>XmlPositiveInteger</I></A>
-<BR>
-<A HREF="XmlQName.html" TARGET="classFrame"><I>XmlQName</I></A>
-<BR>
-<A HREF="XmlSaxHandler.html" TARGET="classFrame"><I>XmlSaxHandler</I></A>
-<BR>
-<A HREF="XmlShort.html" TARGET="classFrame"><I>XmlShort</I></A>
-<BR>
-<A HREF="XmlString.html" TARGET="classFrame"><I>XmlString</I></A>
-<BR>
-<A HREF="XmlTime.html" TARGET="classFrame"><I>XmlTime</I></A>
-<BR>
-<A HREF="XmlToken.html" TARGET="classFrame"><I>XmlToken</I></A>
-<BR>
-<A HREF="XmlTokenSource.html" TARGET="classFrame"><I>XmlTokenSource</I></A>
-<BR>
-<A HREF="XmlUnsignedByte.html" TARGET="classFrame"><I>XmlUnsignedByte</I></A>
-<BR>
-<A HREF="XmlUnsignedInt.html" TARGET="classFrame"><I>XmlUnsignedInt</I></A>
-<BR>
-<A HREF="XmlUnsignedLong.html" TARGET="classFrame"><I>XmlUnsignedLong</I></A>
-<BR>
-<A HREF="XmlUnsignedShort.html" TARGET="classFrame"><I>XmlUnsignedShort</I></A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Classes</FONT>&nbsp;
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="FilterXmlObject.html" TARGET="classFrame">FilterXmlObject</A>
-<BR>
-<A HREF="GDate.html" TARGET="classFrame">GDate</A>
-<BR>
-<A HREF="GDateBuilder.html" TARGET="classFrame">GDateBuilder</A>
-<BR>
-<A HREF="GDuration.html" TARGET="classFrame">GDuration</A>
-<BR>
-<A HREF="GDurationBuilder.html" TARGET="classFrame">GDurationBuilder</A>
-<BR>
-<A HREF="QNameCache.html" TARGET="classFrame">QNameCache</A>
-<BR>
-<A HREF="QNameSet.html" TARGET="classFrame">QNameSet</A>
-<BR>
-<A HREF="QNameSetBuilder.html" TARGET="classFrame">QNameSetBuilder</A>
-<BR>
-<A HREF="SchemaAttributeGroup.Ref.html" TARGET="classFrame">SchemaAttributeGroup.Ref</A>
-<BR>
-<A HREF="SchemaComponent.Ref.html" TARGET="classFrame">SchemaComponent.Ref</A>
-<BR>
-<A HREF="SchemaGlobalAttribute.Ref.html" TARGET="classFrame">SchemaGlobalAttribute.Ref</A>
-<BR>
-<A HREF="SchemaGlobalElement.Ref.html" TARGET="classFrame">SchemaGlobalElement.Ref</A>
-<BR>
-<A HREF="SchemaIdentityConstraint.Ref.html" TARGET="classFrame">SchemaIdentityConstraint.Ref</A>
-<BR>
-<A HREF="SchemaModelGroup.Ref.html" TARGET="classFrame">SchemaModelGroup.Ref</A>
-<BR>
-<A HREF="SchemaType.Ref.html" TARGET="classFrame">SchemaType.Ref</A>
-<BR>
-<A HREF="StringEnumAbstractBase.html" TARGET="classFrame">StringEnumAbstractBase</A>
-<BR>
-<A HREF="StringEnumAbstractBase.Table.html" TARGET="classFrame">StringEnumAbstractBase.Table</A>
-<BR>
-<A HREF="XmlAnySimpleType.Factory.html" TARGET="classFrame">XmlAnySimpleType.Factory</A>
-<BR>
-<A HREF="XmlAnyURI.Factory.html" TARGET="classFrame">XmlAnyURI.Factory</A>
-<BR>
-<A HREF="XmlBase64Binary.Factory.html" TARGET="classFrame">XmlBase64Binary.Factory</A>
-<BR>
-<A HREF="XmlBeans.html" TARGET="classFrame">XmlBeans</A>
-<BR>
-<A HREF="XmlBoolean.Factory.html" TARGET="classFrame">XmlBoolean.Factory</A>
-<BR>
-<A HREF="XmlByte.Factory.html" TARGET="classFrame">XmlByte.Factory</A>
-<BR>
-<A HREF="XmlCalendar.html" TARGET="classFrame">XmlCalendar</A>
-<BR>
-<A HREF="XmlCursor.TokenType.html" TARGET="classFrame">XmlCursor.TokenType</A>
-<BR>
-<A HREF="XmlCursor.XmlBookmark.html" TARGET="classFrame">XmlCursor.XmlBookmark</A>
-<BR>
-<A HREF="XmlDate.Factory.html" TARGET="classFrame">XmlDate.Factory</A>
-<BR>
-<A HREF="XmlDateTime.Factory.html" TARGET="classFrame">XmlDateTime.Factory</A>
-<BR>
-<A HREF="XmlDecimal.Factory.html" TARGET="classFrame">XmlDecimal.Factory</A>
-<BR>
-<A HREF="XmlDocumentProperties.html" TARGET="classFrame">XmlDocumentProperties</A>
-<BR>
-<A HREF="XmlDouble.Factory.html" TARGET="classFrame">XmlDouble.Factory</A>
-<BR>
-<A HREF="XmlDuration.Factory.html" TARGET="classFrame">XmlDuration.Factory</A>
-<BR>
-<A HREF="XmlENTITIES.Factory.html" TARGET="classFrame">XmlENTITIES.Factory</A>
-<BR>
-<A HREF="XmlENTITY.Factory.html" TARGET="classFrame">XmlENTITY.Factory</A>
-<BR>
-<A HREF="XmlError.html" TARGET="classFrame">XmlError</A>
-<BR>
-<A HREF="XmlFactoryHook.ThreadContext.html" TARGET="classFrame">XmlFactoryHook.ThreadContext</A>
-<BR>
-<A HREF="XmlFloat.Factory.html" TARGET="classFrame">XmlFloat.Factory</A>
-<BR>
-<A HREF="XmlGDay.Factory.html" TARGET="classFrame">XmlGDay.Factory</A>
-<BR>
-<A HREF="XmlGMonth.Factory.html" TARGET="classFrame">XmlGMonth.Factory</A>
-<BR>
-<A HREF="XmlGMonthDay.Factory.html" TARGET="classFrame">XmlGMonthDay.Factory</A>
-<BR>
-<A HREF="XmlGYear.Factory.html" TARGET="classFrame">XmlGYear.Factory</A>
-<BR>
-<A HREF="XmlGYearMonth.Factory.html" TARGET="classFrame">XmlGYearMonth.Factory</A>
-<BR>
-<A HREF="XmlHexBinary.Factory.html" TARGET="classFrame">XmlHexBinary.Factory</A>
-<BR>
-<A HREF="XmlID.Factory.html" TARGET="classFrame">XmlID.Factory</A>
-<BR>
-<A HREF="XmlIDREF.Factory.html" TARGET="classFrame">XmlIDREF.Factory</A>
-<BR>
-<A HREF="XmlIDREFS.Factory.html" TARGET="classFrame">XmlIDREFS.Factory</A>
-<BR>
-<A HREF="XmlInt.Factory.html" TARGET="classFrame">XmlInt.Factory</A>
-<BR>
-<A HREF="XmlInteger.Factory.html" TARGET="classFrame">XmlInteger.Factory</A>
-<BR>
-<A HREF="XmlLanguage.Factory.html" TARGET="classFrame">XmlLanguage.Factory</A>
-<BR>
-<A HREF="XmlLineNumber.html" TARGET="classFrame">XmlLineNumber</A>
-<BR>
-<A HREF="XmlLong.Factory.html" TARGET="classFrame">XmlLong.Factory</A>
-<BR>
-<A HREF="XmlName.Factory.html" TARGET="classFrame">XmlName.Factory</A>
-<BR>
-<A HREF="XmlNCName.Factory.html" TARGET="classFrame">XmlNCName.Factory</A>
-<BR>
-<A HREF="XmlNegativeInteger.Factory.html" TARGET="classFrame">XmlNegativeInteger.Factory</A>
-<BR>
-<A HREF="XmlNMTOKEN.Factory.html" TARGET="classFrame">XmlNMTOKEN.Factory</A>
-<BR>
-<A HREF="XmlNMTOKENS.Factory.html" TARGET="classFrame">XmlNMTOKENS.Factory</A>
-<BR>
-<A HREF="XmlNonNegativeInteger.Factory.html" TARGET="classFrame">XmlNonNegativeInteger.Factory</A>
-<BR>
-<A HREF="XmlNonPositiveInteger.Factory.html" TARGET="classFrame">XmlNonPositiveInteger.Factory</A>
-<BR>
-<A HREF="XmlNormalizedString.Factory.html" TARGET="classFrame">XmlNormalizedString.Factory</A>
-<BR>
-<A HREF="XmlNOTATION.Factory.html" TARGET="classFrame">XmlNOTATION.Factory</A>
-<BR>
-<A HREF="XmlObject.Factory.html" TARGET="classFrame">XmlObject.Factory</A>
-<BR>
-<A HREF="XmlOptions.html" TARGET="classFrame">XmlOptions</A>
-<BR>
-<A HREF="XmlPositiveInteger.Factory.html" TARGET="classFrame">XmlPositiveInteger.Factory</A>
-<BR>
-<A HREF="XmlQName.Factory.html" TARGET="classFrame">XmlQName.Factory</A>
-<BR>
-<A HREF="XmlShort.Factory.html" TARGET="classFrame">XmlShort.Factory</A>
-<BR>
-<A HREF="XmlSimpleList.html" TARGET="classFrame">XmlSimpleList</A>
-<BR>
-<A HREF="XmlString.Factory.html" TARGET="classFrame">XmlString.Factory</A>
-<BR>
-<A HREF="XmlTime.Factory.html" TARGET="classFrame">XmlTime.Factory</A>
-<BR>
-<A HREF="XmlToken.Factory.html" TARGET="classFrame">XmlToken.Factory</A>
-<BR>
-<A HREF="XmlUnsignedByte.Factory.html" TARGET="classFrame">XmlUnsignedByte.Factory</A>
-<BR>
-<A HREF="XmlUnsignedInt.Factory.html" TARGET="classFrame">XmlUnsignedInt.Factory</A>
-<BR>
-<A HREF="XmlUnsignedLong.Factory.html" TARGET="classFrame">XmlUnsignedLong.Factory</A>
-<BR>
-<A HREF="XmlUnsignedShort.Factory.html" TARGET="classFrame">XmlUnsignedShort.Factory</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
-Exceptions</FONT>&nbsp;
-<FONT CLASS="FrameItemFont">
-<BR>
-<A HREF="SchemaTypeLoaderException.html" TARGET="classFrame">SchemaTypeLoaderException</A>
-<BR>
-<A HREF="XmlException.html" TARGET="classFrame">XmlException</A>
-<BR>
-<A HREF="XmlRuntimeException.html" TARGET="classFrame">XmlRuntimeException</A>
-<BR>
-<A HREF="XMLStreamValidationException.html" TARGET="classFrame">XMLStreamValidationException</A></FONT></TD>
-</TR>
-</TABLE>
-
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-summary.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-summary.html
deleted file mode 100644
index e6d4667..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-summary.html
+++ /dev/null
@@ -1,905 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-org.apache.xmlbeans (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="org.apache.xmlbeans package">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="org.apache.xmlbeans (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
-&nbsp;NEXT PACKAGE</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<H2>
-Package org.apache.xmlbeans
-</H2>
-Provides classes for XML Beans schema, infoset, xpath, and xquery handling.
-<P>
-<B>See:</B>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#package_description"><B>Description</B></A>
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Interface Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDateSpecification.html"><I>GDateSpecification</I></A></B></TD>
-<TD>Represents an XML Schema-compatible Gregorian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDurationSpecification.html"><I>GDurationSpecification</I></A></B></TD>
-<TD>Represents an XML Schema-compatible duration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="QNameSetSpecification.html"><I>QNameSetSpecification</I></A></B></TD>
-<TD>Represents a lattice of finite and infinite sets of QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaAttributeGroup.html"><I>SchemaAttributeGroup</I></A></B></TD>
-<TD>Represents an attribute group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaAttributeModel.html"><I>SchemaAttributeModel</I></A></B></TD>
-<TD>Represents the attribute structure allowed on a complex type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaComponent.html"><I>SchemaComponent</I></A></B></TD>
-<TD>Represents a global Schema Component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaField.html"><I>SchemaField</I></A></B></TD>
-<TD>Represents an element or an attribute declaration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaGlobalAttribute.html"><I>SchemaGlobalAttribute</I></A></B></TD>
-<TD>Represents a global attribute definition</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaGlobalElement.html"><I>SchemaGlobalElement</I></A></B></TD>
-<TD>Represents a global element definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaIdentityConstraint.html"><I>SchemaIdentityConstraint</I></A></B></TD>
-<TD>Represents an identity constraint definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaLocalAttribute.html"><I>SchemaLocalAttribute</I></A></B></TD>
-<TD>Represents a local or global attribute definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaLocalElement.html"><I>SchemaLocalElement</I></A></B></TD>
-<TD>Represents a local or global element definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaModelGroup.html"><I>SchemaModelGroup</I></A></B></TD>
-<TD>Represents a model group.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaParticle.html"><I>SchemaParticle</I></A></B></TD>
-<TD>Represents a Schema particle definition.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaProperty.html"><I>SchemaProperty</I></A></B></TD>
-<TD>Represents a summary of similar SchemaFields in a complex type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaStringEnumEntry.html"><I>SchemaStringEnumEntry</I></A></B></TD>
-<TD>Describes a code-generated string enumeration</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaType.html"><I>SchemaType</I></A></B></TD>
-<TD>Represents a schema type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaTypeLoader.html"><I>SchemaTypeLoader</I></A></B></TD>
-<TD>Represents a searchable set of XML Schema component definitions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaTypeSystem.html"><I>SchemaTypeSystem</I></A></B></TD>
-<TD>A finite set of XML Schema component definitions.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SimpleValue.html"><I>SimpleValue</I></A></B></TD>
-<TD>All XmlObject implementations can be coerced to SimpleValue.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlAnySimpleType.html"><I>XmlAnySimpleType</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definition">xs:anySimpleType</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlAnyURI.html"><I>XmlAnyURI</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#anyURI">xs:anyURI</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlBase64Binary.html"><I>XmlBase64Binary</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#base64Binary">xs:base64Binary</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlBoolean.html"><I>XmlBoolean</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#boolean">xs:boolean</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlByte.html"><I>XmlByte</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#byte">xs:byte</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCursor.html"><I>XmlCursor</I></A></B></TD>
-<TD>Represents a position between two logical tokens in an XML document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCursor.ChangeStamp.html"><I>XmlCursor.ChangeStamp</I></A></B></TD>
-<TD>Represents the state of a dcoument at a particular point
- in time.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCursor.XmlMark.html"><I>XmlCursor.XmlMark</I></A></B></TD>
-<TD>An abstract <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> factory.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDate.html"><I>XmlDate</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#date">xs:date</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDateTime.html"><I>XmlDateTime</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#dateTime">xs:dateTime</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDecimal.html"><I>XmlDecimal</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#decimal">xs:decimal</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDouble.html"><I>XmlDouble</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#double">xs:double</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDuration.html"><I>XmlDuration</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#duration">xs:duration</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlENTITIES.html"><I>XmlENTITIES</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITIES">xs:ENTITIES</a> type,
- a list type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlENTITY.html"><I>XmlENTITY</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ENTITY">xs:ENTITY</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlFactoryHook.html"><I>XmlFactoryHook</I></A></B></TD>
-<TD>A hook for the XML Bean Factory mechanism.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlFloat.html"><I>XmlFloat</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#float">xs:float</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGDay.html"><I>XmlGDay</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gDay">xs:gDay</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGMonth.html"><I>XmlGMonth</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonth">xs:gMonth</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGMonthDay.html"><I>XmlGMonthDay</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">xs:gMonthDay</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGYear.html"><I>XmlGYear</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gYear">xs:gYear</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGYearMonth.html"><I>XmlGYearMonth</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">xs:gYearMonth</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlHexBinary.html"><I>XmlHexBinary</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#hexBinary">xs:hexBinary</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlID.html"><I>XmlID</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#ID">xs:ID</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlIDREF.html"><I>XmlIDREF</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREF">xs:IDREF</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlIDREFS.html"><I>XmlIDREFS</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#IDREFS">xs:IDREFS</a> type,
- a list type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlInt.html"><I>XmlInt</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#int">xs:int</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlInteger.html"><I>XmlInteger</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#integer">xs:integer</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlLanguage.html"><I>XmlLanguage</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#language">xs:language</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlLong.html"><I>XmlLong</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#long">xs:long</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlName.html"><I>XmlName</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNCName.html"><I>XmlNCName</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#Name">xs:Name</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNegativeInteger.html"><I>XmlNegativeInteger</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#negativeInteger">xs:negativeInteger</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNMTOKEN.html"><I>XmlNMTOKEN</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN">xs:NMTOKEN</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNMTOKENS.html"><I>XmlNMTOKENS</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS">xs:NMTOKENS</a> type,
- a list type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNonNegativeInteger.html"><I>XmlNonNegativeInteger</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">xs:nonNegativeInteger</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNonPositiveInteger.html"><I>XmlNonPositiveInteger</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">xs:nonPositiveInteger</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNormalizedString.html"><I>XmlNormalizedString</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xs:normalizedString</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNOTATION.html"><I>XmlNOTATION</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#NOTATION">xs:NOTATION</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlObject.html"><I>XmlObject</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-1/#key-urType">xs:anyType</a>,
- the base type for all XML Beans.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlPositiveInteger.html"><I>XmlPositiveInteger</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#positiveInteger">xs:positiveInteger</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlQName.html"><I>XmlQName</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#QName">xs:QName</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlSaxHandler.html"><I>XmlSaxHandler</I></A></B></TD>
-<TD>A holder for a SAX <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ext/LexicalHandler.html"><CODE>LexicalHandler</CODE></A> that are
- capable of loading an <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> instance.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlShort.html"><I>XmlShort</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#short">xs:short</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlString.html"><I>XmlString</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#string">xs:string</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlTime.html"><I>XmlTime</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#time">xs:time</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlToken.html"><I>XmlToken</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#token">xs:token</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlTokenSource.html"><I>XmlTokenSource</I></A></B></TD>
-<TD>Represents a holder of XML that can return an <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>
- or copy itself to various media such as
- <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Writer.html"><CODE>Writers</CODE></A> or <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html"><CODE>Files</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedByte.html"><I>XmlUnsignedByte</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedByte">xs:unsignedByte</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedInt.html"><I>XmlUnsignedInt</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedInt">xs:unsignedInt</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedLong.html"><I>XmlUnsignedLong</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedLong">xs:unsignedLong</a> type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedShort.html"><I>XmlUnsignedShort</I></A></B></TD>
-<TD>Corresponds to the XML Schema
- <a target="../../../org\apache\xmlbeans/_blank" href="http://www.w3.org/TR/xmlschema-2/#unsignedShort">xs:unsignedShort</a> type.</TD>
-</TR>
-</TABLE>
-&nbsp;
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="FilterXmlObject.html">FilterXmlObject</A></B></TD>
-<TD>A FilterXmlObject delegates to some other XmlObject, which it can use as
- its basic source of data, possibly transforming the data along the way or
- providing additional functionality.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDate.html">GDate</A></B></TD>
-<TD>Represents an XML Schema-compatible Gregorian date.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDateBuilder.html">GDateBuilder</A></B></TD>
-<TD>Used to build <A HREF="../../../org/apache/xmlbeans/GDate.html"><CODE>GDates</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDuration.html">GDuration</A></B></TD>
-<TD>Represents an XML Schema-compatible duration.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="GDurationBuilder.html">GDurationBuilder</A></B></TD>
-<TD>Used to build <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDurations</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="QNameCache.html">QNameCache</A></B></TD>
-<TD>A cache that can be used to pool QName instances.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="QNameSet.html">QNameSet</A></B></TD>
-<TD>This interface represents a lattice of finite and infinite sets of QNames.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="QNameSetBuilder.html">QNameSetBuilder</A></B></TD>
-<TD>Used to build <A HREF="../../../org/apache/xmlbeans/QNameSet.html"><CODE>QNameSets</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaAttributeGroup.Ref.html">SchemaAttributeGroup.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of attribute groups.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaComponent.Ref.html">SchemaComponent.Ref</A></B></TD>
-<TD>A lazy reference to a component.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaGlobalAttribute.Ref.html">SchemaGlobalAttribute.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of elements.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaGlobalElement.Ref.html">SchemaGlobalElement.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of elements.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaIdentityConstraint.Ref.html">SchemaIdentityConstraint.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of identity constraints.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaModelGroup.Ref.html">SchemaModelGroup.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of model groups.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaType.Ref.html">SchemaType.Ref</A></B></TD>
-<TD>Used to allow on-demand loading of types.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="StringEnumAbstractBase.html">StringEnumAbstractBase</A></B></TD>
-<TD>The base class for code-generated string enumeration value classes.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="StringEnumAbstractBase.Table.html">StringEnumAbstractBase.Table</A></B></TD>
-<TD>Used to manage singleton instances of enumerations.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlAnySimpleType.Factory.html">XmlAnySimpleType.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlAnyURI.Factory.html">XmlAnyURI.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><CODE>XmlAnyURI</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlBase64Binary.Factory.html">XmlBase64Binary.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><CODE>XmlBase64Binary</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlBeans.html">XmlBeans</A></B></TD>
-<TD>Provides an assortment of utilities
- for managing XML Bean types, type systems, QNames, paths,
- and queries.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlBoolean.Factory.html">XmlBoolean.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><CODE>XmlBoolean</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlByte.Factory.html">XmlByte.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlByte.html"><CODE>XmlByte</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCalendar.html">XmlCalendar</A></B></TD>
-<TD>An XML Schema compatible subclass of <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><CODE>GregorianCalendar</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCursor.TokenType.html">XmlCursor.TokenType</A></B></TD>
-<TD>An enumeration that identifies the type of an XML token.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlCursor.XmlBookmark.html">XmlCursor.XmlBookmark</A></B></TD>
-<TD>Subclasses of XmlBookmark can be used to annotate an XML document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDate.Factory.html">XmlDate.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDate.html"><CODE>XmlDate</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDateTime.Factory.html">XmlDateTime.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><CODE>XmlDateTime</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDecimal.Factory.html">XmlDecimal.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><CODE>XmlDecimal</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDocumentProperties.html">XmlDocumentProperties</A></B></TD>
-<TD>This class is used to attach arbitrary information to an XML
- document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDouble.Factory.html">XmlDouble.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><CODE>XmlDouble</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlDuration.Factory.html">XmlDuration.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><CODE>XmlDuration</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlENTITIES.Factory.html">XmlENTITIES.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><CODE>XmlENTITIES</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlENTITY.Factory.html">XmlENTITY.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><CODE>XmlENTITY</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlError.html">XmlError</A></B></TD>
-<TD>Represents a message at a specific XML location.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlFactoryHook.ThreadContext.html">XmlFactoryHook.ThreadContext</A></B></TD>
-<TD>Used to manage the XmlFactoryHook for the current thread.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlFloat.Factory.html">XmlFloat.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><CODE>XmlFloat</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGDay.Factory.html">XmlGDay.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><CODE>XmlGDay</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGMonth.Factory.html">XmlGMonth.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><CODE>XmlGMonth</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGMonthDay.Factory.html">XmlGMonthDay.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><CODE>XmlGMonthDay</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGYear.Factory.html">XmlGYear.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><CODE>XmlGYear</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlGYearMonth.Factory.html">XmlGYearMonth.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><CODE>XmlGYearMonth</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlHexBinary.Factory.html">XmlHexBinary.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><CODE>XmlHexBinary</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlID.Factory.html">XmlID.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlID.html"><CODE>XmlID</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlIDREF.Factory.html">XmlIDREF.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><CODE>XmlIDREF</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlIDREFS.Factory.html">XmlIDREFS.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><CODE>XmlIDREFS</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlInt.Factory.html">XmlInt.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlInteger.Factory.html">XmlInteger.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><CODE>XmlInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlLanguage.Factory.html">XmlLanguage.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><CODE>XmlLanguage</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlLineNumber.html">XmlLineNumber</A></B></TD>
-<TD>A subclass of XmlBookmark that holds line number information.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlLong.Factory.html">XmlLong.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlLong.html"><CODE>XmlLong</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlName.Factory.html">XmlName.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlName.html"><CODE>XmlName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNCName.Factory.html">XmlNCName.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><CODE>XmlNCName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNegativeInteger.Factory.html">XmlNegativeInteger.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><CODE>XmlNegativeInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNMTOKEN.Factory.html">XmlNMTOKEN.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><CODE>XmlNMTOKEN</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNMTOKENS.Factory.html">XmlNMTOKENS.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><CODE>XmlNMTOKENS</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNonNegativeInteger.Factory.html">XmlNonNegativeInteger.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><CODE>XmlNonNegativeInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNonPositiveInteger.Factory.html">XmlNonPositiveInteger.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><CODE>XmlNonPositiveInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNormalizedString.Factory.html">XmlNormalizedString.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><CODE>XmlNormalizedString</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlNOTATION.Factory.html">XmlNOTATION.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><CODE>XmlNOTATION</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlObject.Factory.html">XmlObject.Factory</A></B></TD>
-<TD>Static factory class for creating new instances.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlOptions.html">XmlOptions</A></B></TD>
-<TD>Used to supply options for loading, saving, and compiling, and validating.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlPositiveInteger.Factory.html">XmlPositiveInteger.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><CODE>XmlPositiveInteger</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlQName.Factory.html">XmlQName.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlQName.html"><CODE>XmlQName</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlShort.Factory.html">XmlShort.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlShort.html"><CODE>XmlShort</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlSimpleList.html">XmlSimpleList</A></B></TD>
-<TD>The immutable <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html"><CODE>List</CODE></A> returned for XML simple list values.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlString.Factory.html">XmlString.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlString.html"><CODE>XmlString</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlTime.Factory.html">XmlTime.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlTime.html"><CODE>XmlTime</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlToken.Factory.html">XmlToken.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlToken.html"><CODE>XmlToken</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedByte.Factory.html">XmlUnsignedByte.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><CODE>XmlUnsignedByte</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedInt.Factory.html">XmlUnsignedInt.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><CODE>XmlUnsignedInt</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedLong.Factory.html">XmlUnsignedLong.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><CODE>XmlUnsignedLong</CODE></A>.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlUnsignedShort.Factory.html">XmlUnsignedShort.Factory</A></B></TD>
-<TD>A class with methods for creating instances
- of <A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><CODE>XmlUnsignedShort</CODE></A>.</TD>
-</TR>
-</TABLE>
-&nbsp;
-
-<P>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Exception Summary</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="SchemaTypeLoaderException.html">SchemaTypeLoaderException</A></B></TD>
-<TD>An exception that is thrown if there is corruption or a version mismatch
- in a compiled schema type system.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlException.html">XmlException</A></B></TD>
-<TD>A checked exception that can be thrown while processing,
- parsing, or compiling XML.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XmlRuntimeException.html">XmlRuntimeException</A></B></TD>
-<TD>An unchecked XML exception.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="15%"><B><A HREF="XMLStreamValidationException.html">XMLStreamValidationException</A></B></TD>
-<TD>An exception thrown from a validating XMLInputStream.</TD>
-</TR>
-</TABLE>
-&nbsp;
-
-<P>
-<A NAME="package_description"><!-- --></A><H2>
-Package org.apache.xmlbeans Description
-</H2>
-
-<P>
-Provides classes for XML Beans schema, infoset, xpath, and xquery handling.
-
-<p>
-The XML Beans API is designed to work with the XML Beans <em>schema compiler</em>.
-The schema compiler produces XML Bean classes that extend and interact
-with the basic XML Bean classes and interfaces in this package.  It is
-also possible to use XML Beans without the schema compiler to manipulate
-and validate XML in a late-bound way (with no types, or with
-runtime-loaded types only).
-
-<p>
-This package contains:
-<ol>
-<li>All the built-in XML Bean classes 
-such as <A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><CODE>XmlAnySimpleType</CODE></A>, and
-<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><CODE>XmlInt</CODE></A>
-(one for each of the 
-<a target="_blank" href="http://www.w3.org/TR/xmlschema-2/#built-in-datatypes">46 built-in XML Schema types</a>).
-<li>Support for full XML infoset, XPath, and XQuery
-(via <A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A>, <A HREF="../../../org/apache/xmlbeans/XmlObject.html#selectPath(java.lang.String)"><CODE>XmlObject.selectPath(java.lang.String)</CODE></A> and related methods).
-<li>Support for computation using XML Schema data types (via datatype
-classes such as <A HREF="../../../org/apache/xmlbeans/GDuration.html"><CODE>GDuration</CODE></A>).
-<li>Support for working with XML Schema type metadata itself
-(via <A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A>, <A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><CODE>SchemaTypeSystem</CODE></A>, and related classes).
-</ol>
-
-<p>
-The place to begin when working with the XML Beans API is the following
-fundamental classes:
-
-<ol>
-<li><A HREF="../../../org/apache/xmlbeans/XmlObject.html"><CODE>XmlObject</CODE></A> is the base class for all XML Beans.
-<li><A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><CODE>XmlObject.Factory</CODE></A> is used to load and create XML Bean instances.
-Each XML Bean class has its own nested factory class.
-<li><A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><CODE>XmlCursor</CODE></A> is an efficient treewalking API for the full XML infoset.
-<li><A HREF="../../../org/apache/xmlbeans/SchemaType.html"><CODE>SchemaType</CODE></A> is the type metadata interface for XML Schema types
-<li><A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><CODE>XmlBeans</CODE></A> provides a collection of utility functions.
-</ol>
-<P>
-
-<P>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
-&nbsp;NEXT PACKAGE</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-tree.html b/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-tree.html
deleted file mode 100644
index 51e93ef..0000000
--- a/website/src/documentation/content/docs/reference/org/apache/xmlbeans/package-tree.html
+++ /dev/null
@@ -1,221 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-org.apache.xmlbeans Class Hierarchy (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="org.apache.xmlbeans Class Hierarchy (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/package-tree.html"><B>PREV</B></A>&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H2>
-Hierarchy For Package org.apache.xmlbeans
-</H2>
-</CENTER>
-<DL>
-<DT><B>Package Hierarchies:</B><DD><A HREF="../../../overview-tree.html">All Packages</A></DL>
-<HR>
-<H2>
-Class Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><B>Object</B></A><UL>
-<LI TYPE="circle">class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><B>Calendar</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<UL>
-<LI TYPE="circle">class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><B>GregorianCalendar</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCalendar.html"><B>XmlCalendar</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/FilterXmlObject.html"><B>FilterXmlObject</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>, org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html">XmlObject</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDate.html"><B>GDate</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateBuilder.html"><B>GDateBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDuration.html"><B>GDuration</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDurationBuilder.html"><B>GDurationBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameCache.html"><B>QNameCache</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameSet.html"><B>QNameSet</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameSetBuilder.html"><B>QNameSetBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.Ref.html"><B>SchemaComponent.Ref</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>SchemaAttributeGroup.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>SchemaGlobalAttribute.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>SchemaGlobalElement.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>SchemaIdentityConstraint.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>SchemaModelGroup.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaType.Ref.html"><B>SchemaType.Ref</B></A></UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.html"><B>StringEnumAbstractBase</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>StringEnumAbstractBase.Table</B></A><LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html"><B>Exception</B></A><UL>
-<LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html"><B>IOException</B></A><UL>
-<LI TYPE="circle">class weblogic.xml.stream.<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html"><B>XMLStreamException</B></A> (implements weblogic.utils.NestedThrowable)
-<UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XMLStreamValidationException.html"><B>XMLStreamValidationException</B></A></UL>
-</UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html"><B>RuntimeException</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlRuntimeException.html"><B>XmlRuntimeException</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoaderException.html"><B>SchemaTypeLoaderException</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlException.html"><B>XmlException</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>XmlAnySimpleType.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>XmlAnyURI.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>XmlBase64Binary.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlBeans.html"><B>XmlBeans</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlBoolean.Factory.html"><B>XmlBoolean.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlByte.Factory.html"><B>XmlByte.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.TokenType.html"><B>XmlCursor.TokenType</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>XmlCursor.XmlBookmark</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLineNumber.html"><B>XmlLineNumber</B></A></UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDate.Factory.html"><B>XmlDate.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDateTime.Factory.html"><B>XmlDateTime.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.Factory.html"><B>XmlDecimal.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDocumentProperties.html"><B>XmlDocumentProperties</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDouble.Factory.html"><B>XmlDouble.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDuration.Factory.html"><B>XmlDuration.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>XmlENTITIES.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlENTITY.Factory.html"><B>XmlENTITY.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlError.html"><B>XmlError</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>XmlFactoryHook.ThreadContext</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlFloat.Factory.html"><B>XmlFloat.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGDay.Factory.html"><B>XmlGDay.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGMonth.Factory.html"><B>XmlGMonth.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>XmlGMonthDay.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGYear.Factory.html"><B>XmlGYear.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>XmlGYearMonth.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>XmlHexBinary.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlID.Factory.html"><B>XmlID.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlIDREF.Factory.html"><B>XmlIDREF.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>XmlIDREFS.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.Factory.html"><B>XmlInt.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.Factory.html"><B>XmlInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLanguage.Factory.html"><B>XmlLanguage.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.Factory.html"><B>XmlLong.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.Factory.html"><B>XmlName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNCName.Factory.html"><B>XmlNCName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>XmlNegativeInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>XmlNMTOKEN.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>XmlNMTOKENS.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>XmlNonNegativeInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>XmlNonPositiveInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>XmlNormalizedString.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>XmlNOTATION.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.Factory.html"><B>XmlObject.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlOptions.html"><B>XmlOptions</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>XmlPositiveInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlQName.Factory.html"><B>XmlQName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlShort.Factory.html"><B>XmlShort.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlSimpleList.html"><B>XmlSimpleList</B></A> (implements java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.Factory.html"><B>XmlString.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTime.Factory.html"><B>XmlTime.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.Factory.html"><B>XmlToken.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>XmlUnsignedByte.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>XmlUnsignedInt.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>XmlUnsignedLong.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.Factory.html"><B>XmlUnsignedShort.Factory</B></A></UL>
-</UL>
-<H2>
-Interface Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDateSpecification.html"><B>GDateSpecification</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/GDurationSpecification.html"><B>GDurationSpecification</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/QNameSetSpecification.html"><B>QNameSetSpecification</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaAttributeModel.html"><B>SchemaAttributeModel</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html"><B>SchemaComponent</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaAttributeGroup.html"><B>SchemaAttributeGroup</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>SchemaGlobalAttribute</B></A> (also extends org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>)
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>SchemaGlobalElement</B></A> (also extends org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>)
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>SchemaIdentityConstraint</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaModelGroup.html"><B>SchemaModelGroup</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaType.html"><B>SchemaType</B></A></UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaField.html"><B>SchemaField</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalAttribute.html"><B>SchemaLocalAttribute</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>SchemaGlobalAttribute</B></A> (also extends org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>)
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaLocalElement.html"><B>SchemaLocalElement</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaGlobalElement.html"><B>SchemaGlobalElement</B></A> (also extends org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>)
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaParticle.html"><B>SchemaParticle</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaProperty.html"><B>SchemaProperty</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>SchemaStringEnumEntry</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaTypeLoader.html"><B>SchemaTypeLoader</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SchemaTypeSystem.html"><B>SchemaTypeSystem</B></A></UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>XmlCursor.ChangeStamp</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>XmlCursor.XmlMark</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlFactoryHook.html"><B>XmlFactoryHook</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlSaxHandler.html"><B>XmlSaxHandler</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTokenSource.html"><B>XmlTokenSource</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlCursor.html"><B>XmlCursor</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlObject.html"><B>XmlObject</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/SimpleValue.html"><B>SimpleValue</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnySimpleType.html"><B>XmlAnySimpleType</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlAnyURI.html"><B>XmlAnyURI</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlBase64Binary.html"><B>XmlBase64Binary</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlBoolean.html"><B>XmlBoolean</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDate.html"><B>XmlDate</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDateTime.html"><B>XmlDateTime</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDecimal.html"><B>XmlDecimal</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInteger.html"><B>XmlInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLong.html"><B>XmlLong</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlInt.html"><B>XmlInt</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlShort.html"><B>XmlShort</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlByte.html"><B>XmlByte</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>XmlNonNegativeInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlPositiveInteger.html"><B>XmlPositiveInteger</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedLong.html"><B>XmlUnsignedLong</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedInt.html"><B>XmlUnsignedInt</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedShort.html"><B>XmlUnsignedShort</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlUnsignedByte.html"><B>XmlUnsignedByte</B></A></UL>
-</UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>XmlNonPositiveInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNegativeInteger.html"><B>XmlNegativeInteger</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDouble.html"><B>XmlDouble</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlDuration.html"><B>XmlDuration</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlENTITIES.html"><B>XmlENTITIES</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlFloat.html"><B>XmlFloat</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGDay.html"><B>XmlGDay</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGMonth.html"><B>XmlGMonth</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGMonthDay.html"><B>XmlGMonthDay</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGYear.html"><B>XmlGYear</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlGYearMonth.html"><B>XmlGYearMonth</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlHexBinary.html"><B>XmlHexBinary</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlIDREFS.html"><B>XmlIDREFS</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNMTOKENS.html"><B>XmlNMTOKENS</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNOTATION.html"><B>XmlNOTATION</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlQName.html"><B>XmlQName</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlString.html"><B>XmlString</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNormalizedString.html"><B>XmlNormalizedString</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlToken.html"><B>XmlToken</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlLanguage.html"><B>XmlLanguage</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlName.html"><B>XmlName</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNCName.html"><B>XmlNCName</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlENTITY.html"><B>XmlENTITY</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlID.html"><B>XmlID</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlIDREF.html"><B>XmlIDREF</B></A></UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlNMTOKEN.html"><B>XmlNMTOKEN</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="../../../org/apache/xmlbeans/XmlTime.html"><B>XmlTime</B></A></UL>
-</UL>
-</UL>
-</UL>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../javax/xml/stream/package-tree.html"><B>PREV</B></A>&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="package-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/overview-frame.html b/website/src/documentation/content/docs/reference/overview-frame.html
deleted file mode 100644
index 731c095..0000000
--- a/website/src/documentation/content/docs/reference/overview-frame.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-Overview (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="Overview">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Overview (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT size="+1" CLASS="FrameTitleFont">
-<B></B></FONT></TD>
-</TR>
-</TABLE>
-
-<TABLE BORDER="0" WIDTH="100%">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="allclasses-frame.html" TARGET="packageFrame">All Classes</A></FONT>
-<P>
-<FONT size="+1" CLASS="FrameHeadingFont">
-Packages</FONT>
-<BR>
-<FONT CLASS="FrameItemFont"><A HREF="javax/xml/stream/package-frame.html" TARGET="packageFrame">javax.xml.stream</A></FONT>
-<BR>
-<FONT CLASS="FrameItemFont"><A HREF="org/apache/xmlbeans/package-frame.html" TARGET="packageFrame">org.apache.xmlbeans</A></FONT>
-<BR>
-</TD>
-</TR>
-</TABLE>
-
-<P>
-&nbsp;
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/overview-summary.html b/website/src/documentation/content/docs/reference/overview-summary.html
deleted file mode 100644
index 707adf9..0000000
--- a/website/src/documentation/content/docs/reference/overview-summary.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
-Overview (XMLBeans Documentation)
-</TITLE>
-<META NAME="keywords" CONTENT="Overview">
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Overview (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="overview-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Packages</B></FONT></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="20%"><B><A HREF="javax/xml/stream/package-summary.html">javax.xml.stream</A></B></TD>
-<TD>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD WIDTH="20%"><B><A HREF="org/apache/xmlbeans/package-summary.html">org.apache.xmlbeans</A></B></TD>
-<TD>Provides classes for XML Beans schema, infoset, xpath, and xquery handling.</TD>
-</TR>
-</TABLE>
-
-<P>
-&nbsp;<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="overview-summary.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/overview-tree.html b/website/src/documentation/content/docs/reference/overview-tree.html
deleted file mode 100644
index 474a3a2..0000000
--- a/website/src/documentation/content/docs/reference/overview-tree.html
+++ /dev/null
@@ -1,222 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:55 PDT 2003 -->
-<TITLE>
-Class Hierarchy (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Class Hierarchy (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H2>
-Hierarchy For All Packages</H2>
-</CENTER>
-<DL>
-<DT><B>Package Hierarchies:</B><DD><A HREF="javax/xml/stream/package-tree.html">javax.xml.stream</A>, <A HREF="org/apache/xmlbeans/package-tree.html">org.apache.xmlbeans</A></DL>
-<HR>
-<H2>
-Class Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"><B>Object</B></A><UL>
-<LI TYPE="circle">class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html"><B>Calendar</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Cloneable.html">Cloneable</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<UL>
-<LI TYPE="circle">class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html"><B>GregorianCalendar</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCalendar.html"><B>XmlCalendar</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/FilterXmlObject.html"><B>FilterXmlObject</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html">SimpleValue</A>, org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html">XmlObject</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDate.html"><B>GDate</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateBuilder.html"><B>GDateBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html">GDateSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDuration.html"><B>GDuration</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationBuilder.html"><B>GDurationBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html">GDurationSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameCache.html"><B>QNameCache</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSet.html"><B>QNameSet</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetBuilder.html"><B>QNameSetBuilder</B></A> (implements org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html">QNameSetSpecification</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.Ref.html"><B>SchemaComponent.Ref</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.Ref.html"><B>SchemaAttributeGroup.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.Ref.html"><B>SchemaGlobalAttribute.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.Ref.html"><B>SchemaGlobalElement.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.Ref.html"><B>SchemaIdentityConstraint.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.Ref.html"><B>SchemaModelGroup.Ref</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.Ref.html"><B>SchemaType.Ref</B></A></UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html"><B>StringEnumAbstractBase</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/StringEnumAbstractBase.Table.html"><B>StringEnumAbstractBase.Table</B></A><LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html"><B>Exception</B></A><UL>
-<LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html"><B>IOException</B></A><UL>
-<LI TYPE="circle">class weblogic.xml.stream.<A HREF="http://e-docs.bea.com/wls/docs81/javadocs/weblogic/xml/stream/XMLStreamException.html"><B>XMLStreamException</B></A> (implements weblogic.utils.NestedThrowable)
-<UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XMLStreamValidationException.html"><B>XMLStreamValidationException</B></A></UL>
-</UL>
-<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/RuntimeException.html"><B>RuntimeException</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlRuntimeException.html"><B>XmlRuntimeException</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html"><B>SchemaTypeLoaderException</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlException.html"><B>XmlException</B></A><LI TYPE="circle">class javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamException.html"><B>XMLStreamException</B></A></UL>
-</UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.Factory.html"><B>XmlAnySimpleType.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.Factory.html"><B>XmlAnyURI.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.Factory.html"><B>XmlBase64Binary.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBeans.html"><B>XmlBeans</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.Factory.html"><B>XmlBoolean.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.Factory.html"><B>XmlByte.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.TokenType.html"><B>XmlCursor.TokenType</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlBookmark.html"><B>XmlCursor.XmlBookmark</B></A><UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLineNumber.html"><B>XmlLineNumber</B></A></UL>
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.Factory.html"><B>XmlDate.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.Factory.html"><B>XmlDateTime.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.Factory.html"><B>XmlDecimal.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDocumentProperties.html"><B>XmlDocumentProperties</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.Factory.html"><B>XmlDouble.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.Factory.html"><B>XmlDuration.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.Factory.html"><B>XmlENTITIES.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.Factory.html"><B>XmlENTITY.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlError.html"><B>XmlError</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.ThreadContext.html"><B>XmlFactoryHook.ThreadContext</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.Factory.html"><B>XmlFloat.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.Factory.html"><B>XmlGDay.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.Factory.html"><B>XmlGMonth.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.Factory.html"><B>XmlGMonthDay.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.Factory.html"><B>XmlGYear.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.Factory.html"><B>XmlGYearMonth.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.Factory.html"><B>XmlHexBinary.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.Factory.html"><B>XmlID.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.Factory.html"><B>XmlIDREF.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.Factory.html"><B>XmlIDREFS.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.Factory.html"><B>XmlInt.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.Factory.html"><B>XmlInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.Factory.html"><B>XmlLanguage.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.Factory.html"><B>XmlLong.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.Factory.html"><B>XmlName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.Factory.html"><B>XmlNCName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.Factory.html"><B>XmlNegativeInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.Factory.html"><B>XmlNMTOKEN.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.Factory.html"><B>XmlNMTOKENS.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.Factory.html"><B>XmlNonNegativeInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.Factory.html"><B>XmlNonPositiveInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.Factory.html"><B>XmlNormalizedString.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.Factory.html"><B>XmlNOTATION.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.Factory.html"><B>XmlObject.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlOptions.html"><B>XmlOptions</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.Factory.html"><B>XmlPositiveInteger.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.Factory.html"><B>XmlQName.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.Factory.html"><B>XmlShort.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSimpleList.html"><B>XmlSimpleList</B></A> (implements java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A>, java.io.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html">Serializable</A>)
-<LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.Factory.html"><B>XmlString.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.Factory.html"><B>XmlTime.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.Factory.html"><B>XmlToken.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.Factory.html"><B>XmlUnsignedByte.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.Factory.html"><B>XmlUnsignedInt.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.Factory.html"><B>XmlUnsignedLong.Factory</B></A><LI TYPE="circle">class org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.Factory.html"><B>XmlUnsignedShort.Factory</B></A></UL>
-</UL>
-<H2>
-Interface Hierarchy
-</H2>
-<UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDateSpecification.html"><B>GDateSpecification</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/GDurationSpecification.html"><B>GDurationSpecification</B></A><LI TYPE="circle">interface javax.xml.stream.<A HREF="javax/xml/stream/Location.html"><B>Location</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/QNameSetSpecification.html"><B>QNameSetSpecification</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeModel.html"><B>SchemaAttributeModel</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html"><B>SchemaComponent</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaAttributeGroup.html"><B>SchemaAttributeGroup</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>SchemaGlobalAttribute</B></A> (also extends org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html">SchemaLocalAttribute</A>)
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html"><B>SchemaGlobalElement</B></A> (also extends org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html">SchemaLocalElement</A>)
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaIdentityConstraint.html"><B>SchemaIdentityConstraint</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaModelGroup.html"><B>SchemaModelGroup</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaType.html"><B>SchemaType</B></A></UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaField.html"><B>SchemaField</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalAttribute.html"><B>SchemaLocalAttribute</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalAttribute.html"><B>SchemaGlobalAttribute</B></A> (also extends org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>)
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaLocalElement.html"><B>SchemaLocalElement</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaGlobalElement.html"><B>SchemaGlobalElement</B></A> (also extends org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaComponent.html">SchemaComponent</A>)
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaParticle.html"><B>SchemaParticle</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaProperty.html"><B>SchemaProperty</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaStringEnumEntry.html"><B>SchemaStringEnumEntry</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeLoader.html"><B>SchemaTypeLoader</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SchemaTypeSystem.html"><B>SchemaTypeSystem</B></A></UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.ChangeStamp.html"><B>XmlCursor.ChangeStamp</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.XmlMark.html"><B>XmlCursor.XmlMark</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFactoryHook.html"><B>XmlFactoryHook</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlSaxHandler.html"><B>XmlSaxHandler</B></A><LI TYPE="circle">interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamConstants.html"><B>XMLStreamConstants</B></A><UL>
-<LI TYPE="circle">interface javax.xml.stream.<A HREF="javax/xml/stream/XMLStreamReader.html"><B>XMLStreamReader</B></A></UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTokenSource.html"><B>XmlTokenSource</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlCursor.html"><B>XmlCursor</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlObject.html"><B>XmlObject</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/SimpleValue.html"><B>SimpleValue</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnySimpleType.html"><B>XmlAnySimpleType</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlAnyURI.html"><B>XmlAnyURI</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBase64Binary.html"><B>XmlBase64Binary</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlBoolean.html"><B>XmlBoolean</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDate.html"><B>XmlDate</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDateTime.html"><B>XmlDateTime</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDecimal.html"><B>XmlDecimal</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInteger.html"><B>XmlInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLong.html"><B>XmlLong</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlInt.html"><B>XmlInt</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlShort.html"><B>XmlShort</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlByte.html"><B>XmlByte</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonNegativeInteger.html"><B>XmlNonNegativeInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlPositiveInteger.html"><B>XmlPositiveInteger</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedLong.html"><B>XmlUnsignedLong</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedInt.html"><B>XmlUnsignedInt</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedShort.html"><B>XmlUnsignedShort</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlUnsignedByte.html"><B>XmlUnsignedByte</B></A></UL>
-</UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNonPositiveInteger.html"><B>XmlNonPositiveInteger</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNegativeInteger.html"><B>XmlNegativeInteger</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDouble.html"><B>XmlDouble</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlDuration.html"><B>XmlDuration</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITIES.html"><B>XmlENTITIES</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlFloat.html"><B>XmlFloat</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGDay.html"><B>XmlGDay</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonth.html"><B>XmlGMonth</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGMonthDay.html"><B>XmlGMonthDay</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYear.html"><B>XmlGYear</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlGYearMonth.html"><B>XmlGYearMonth</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlHexBinary.html"><B>XmlHexBinary</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREFS.html"><B>XmlIDREFS</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKENS.html"><B>XmlNMTOKENS</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNOTATION.html"><B>XmlNOTATION</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlQName.html"><B>XmlQName</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlString.html"><B>XmlString</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNormalizedString.html"><B>XmlNormalizedString</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlToken.html"><B>XmlToken</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlLanguage.html"><B>XmlLanguage</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlName.html"><B>XmlName</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNCName.html"><B>XmlNCName</B></A><UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlENTITY.html"><B>XmlENTITY</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlID.html"><B>XmlID</B></A><LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlIDREF.html"><B>XmlIDREF</B></A></UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlNMTOKEN.html"><B>XmlNMTOKEN</B></A></UL>
-</UL>
-</UL>
-<LI TYPE="circle">interface org.apache.xmlbeans.<A HREF="org/apache/xmlbeans/XmlTime.html"><B>XmlTime</B></A></UL>
-</UL>
-</UL>
-</UL>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="overview-tree.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/package-list b/website/src/documentation/content/docs/reference/package-list
deleted file mode 100644
index 3b55d1e..0000000
--- a/website/src/documentation/content/docs/reference/package-list
+++ /dev/null
@@ -1,2 +0,0 @@
-javax.xml.stream
-org.apache.xmlbeans
diff --git a/website/src/documentation/content/docs/reference/packages.html b/website/src/documentation/content/docs/reference/packages.html
deleted file mode 100644
index b14a36e..0000000
--- a/website/src/documentation/content/docs/reference/packages.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:46:56 PDT 2003 -->
-<TITLE>
- (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title=" (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<BR>
-
-<BR>
-
-<BR>
-<CENTER>
-The front page has been relocated.Please see:
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Frame version</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="overview-summary.html">Non-frame version.</A></CENTER>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/serialized-form.html b/website/src/documentation/content/docs/reference/serialized-form.html
deleted file mode 100644
index 9b5cb59..0000000
--- a/website/src/documentation/content/docs/reference/serialized-form.html
+++ /dev/null
@@ -1,1027 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc on Thu Sep 25 16:47:01 PDT 2003 -->
-<TITLE>
-Serialized Form (XMLBeans Documentation)
-</TITLE>
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-</HEAD>
-<SCRIPT>
-function asd()
-{
-parent.document.title="Serialized Form (XMLBeans Documentation)";
-}
-</SCRIPT>
-<BODY BGCOLOR="white" onload="asd();">
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_top"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="serialized-form.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-<CENTER>
-<H1>
-Serialized Form</H1>
-</CENTER>
-<HR SIZE="4" NOSHADE>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD ALIGN="center"><FONT SIZE="+2">
-<B>Package</B> <B>javax.xml.stream</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="javax.xml.stream.XMLStreamException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="javax/xml/stream/XMLStreamException.html">javax.xml.stream.XMLStreamException</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-nested</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html">Throwable</A> <B>nested</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-location</H3>
-<PRE>
-<A HREF="javax/xml/stream/Location.html">Location</A> <B>location</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<HR SIZE="4" NOSHADE>
-
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD ALIGN="center"><FONT SIZE="+2">
-<B>Package</B> <B>org.apache.xmlbeans</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="org.apache.xmlbeans.GDate"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/GDate.html">org.apache.xmlbeans.GDate</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_bits</H3>
-<PRE>
-int <B>_bits</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_CY</H3>
-<PRE>
-int <B>_CY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_M</H3>
-<PRE>
-int <B>_M</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_D</H3>
-<PRE>
-int <B>_D</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_h</H3>
-<PRE>
-int <B>_h</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_m</H3>
-<PRE>
-int <B>_m</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_s</H3>
-<PRE>
-int <B>_s</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_fs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>_fs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzsign</H3>
-<PRE>
-int <B>_tzsign</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzh</H3>
-<PRE>
-int <B>_tzh</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzm</H3>
-<PRE>
-int <B>_tzm</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.GDateBuilder"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/GDateBuilder.html">org.apache.xmlbeans.GDateBuilder</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_bits</H3>
-<PRE>
-int <B>_bits</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_CY</H3>
-<PRE>
-int <B>_CY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_M</H3>
-<PRE>
-int <B>_M</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_D</H3>
-<PRE>
-int <B>_D</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_h</H3>
-<PRE>
-int <B>_h</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_m</H3>
-<PRE>
-int <B>_m</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_s</H3>
-<PRE>
-int <B>_s</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_fs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>_fs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzsign</H3>
-<PRE>
-int <B>_tzsign</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzh</H3>
-<PRE>
-int <B>_tzh</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_tzm</H3>
-<PRE>
-int <B>_tzm</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.GDuration"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/GDuration.html">org.apache.xmlbeans.GDuration</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_sign</H3>
-<PRE>
-int <B>_sign</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_CY</H3>
-<PRE>
-int <B>_CY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_M</H3>
-<PRE>
-int <B>_M</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_D</H3>
-<PRE>
-int <B>_D</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_h</H3>
-<PRE>
-int <B>_h</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_m</H3>
-<PRE>
-int <B>_m</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_s</H3>
-<PRE>
-int <B>_s</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_fs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>_fs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.GDurationBuilder"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/GDurationBuilder.html">org.apache.xmlbeans.GDurationBuilder</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_sign</H3>
-<PRE>
-int <B>_sign</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_CY</H3>
-<PRE>
-int <B>_CY</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_M</H3>
-<PRE>
-int <B>_M</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_D</H3>
-<PRE>
-int <B>_D</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_h</H3>
-<PRE>
-int <B>_h</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_m</H3>
-<PRE>
-int <B>_m</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_s</H3>
-<PRE>
-int <B>_s</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_fs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigDecimal.html">BigDecimal</A> <B>_fs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.QNameSet"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/QNameSet.html">org.apache.xmlbeans.QNameSet</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_inverted</H3>
-<PRE>
-boolean <B>_inverted</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_includedURIs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_includedURIs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_excludedQNames</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_excludedQNames</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_includedQNames</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_includedQNames</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.QNameSetBuilder"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/QNameSetBuilder.html">org.apache.xmlbeans.QNameSetBuilder</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_inverted</H3>
-<PRE>
-boolean <B>_inverted</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_includedURIs</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_includedURIs</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_excludedQNames</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_excludedQNames</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_includedQNames</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html">Set</A> <B>_includedQNames</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.SchemaTypeLoaderException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/SchemaTypeLoaderException.html">org.apache.xmlbeans.SchemaTypeLoaderException</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_code</H3>
-<PRE>
-int <B>_code</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.StringEnumAbstractBase"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/StringEnumAbstractBase.html">org.apache.xmlbeans.StringEnumAbstractBase</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_string</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>_string</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_int</H3>
-<PRE>
-int <B>_int</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlCalendar"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlCalendar.html">org.apache.xmlbeans.XmlCalendar</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlError"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlError.html">org.apache.xmlbeans.XmlError</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_message</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>_message</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_source</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</A> <B>_source</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_severity</H3>
-<PRE>
-int <B>_severity</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_line</H3>
-<PRE>
-int <B>_line</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_column</H3>
-<PRE>
-int <B>_column</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-<HR>
-
-<H3>
-_offset</H3>
-<PRE>
-int <B>_offset</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlException.html">org.apache.xmlbeans.XmlException</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_errors</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>_errors</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlOptions"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlOptions.html">org.apache.xmlbeans.XmlOptions</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_map</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html">Map</A> <B>_map</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlRuntimeException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlRuntimeException.html">org.apache.xmlbeans.XmlRuntimeException</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_errors</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>_errors</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XmlSimpleList"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XmlSimpleList.html">org.apache.xmlbeans.XmlSimpleList</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-underlying</H3>
-<PRE>
-<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html">List</A> <B>underlying</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<A NAME="org.apache.xmlbeans.XMLStreamValidationException"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
-<TD COLSPAN=2><FONT SIZE="+2">
-<B>Class <A HREF="org/apache/xmlbeans/XMLStreamValidationException.html">org.apache.xmlbeans.XMLStreamValidationException</A> implements Serializable</B></FONT></TD>
-</TR>
-</TABLE>
-
-<P>
-<A NAME="serializedForm"><!-- --></A>
-<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TD COLSPAN=1><FONT SIZE="+2">
-<B>Serialized Fields</B></FONT></TD>
-</TR>
-</TABLE>
-
-<H3>
-_xmlError</H3>
-<PRE>
-<A HREF="org/apache/xmlbeans/XmlError.html">XmlError</A> <B>_xmlError</B></PRE>
-<DL>
-<DL>
-</DL>
-</DL>
-
-<P>
-<HR>
-
-<!-- ========== START OF NAVBAR ========== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
-<TR>
-<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
-  <TR ALIGN="center" VALIGN="top">
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
-  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
-  </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;PREV&nbsp;
-&nbsp;NEXT</FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
-&nbsp;<A HREF="serialized-form.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
-&nbsp;
-<SCRIPT>
-  <!--
-  if(window==top) {
-    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
-  }
-  //-->
-</SCRIPT>
-<NOSCRIPT>
-<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
-</NOSCRIPT>
-</FONT></TD>
-</TR>
-</TABLE>
-<!-- =========== END OF NAVBAR =========== -->
-
-<HR>
-
-</BODY>
-</HTML>
diff --git a/website/src/documentation/content/docs/reference/stylesheet.css b/website/src/documentation/content/docs/reference/stylesheet.css
deleted file mode 100644
index 301d803..0000000
--- a/website/src/documentation/content/docs/reference/stylesheet.css
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Javadoc style sheet */
-
-/* Define colors, fonts and other style attributes here to override the defaults */
-
-/* Page background color */
-body { 	
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	background-color: #FFFFFF 
-}
-
-body {
-/*	padding: 0px 0px 0px 15px; */
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-}
-
-/* Table colors */
-.TableHeadingColor     { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor  { background: #EEEEFF } /* Light mauve */
-.TableRowColor         { background: #FFFFFF } /* White */
-
-/* Font used in left-hand frame lists */
-.FrameTitleFont   { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-.FrameItemFont    { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
-
-/* Example of smaller, sans-serif font in frames */
-/* .FrameItemFont  { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
-
-/* Navigation bar fonts and colors */
-.NavBarCell1    { background-color:#EEEEFF;}/* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
-.NavBarFont1    { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
-
-.NavBarCell2    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-
diff --git a/website/src/documentation/content/docs/xmlbeans.css b/website/src/documentation/content/docs/xmlbeans.css
deleted file mode 100644
index 6662061..0000000
--- a/website/src/documentation/content/docs/xmlbeans.css
+++ /dev/null
@@ -1,482 +0,0 @@
-/*  The styles most likely to be used are:
-	- Title: The title of the topic
-	- h1, h2, h3: First, second, and third-level headings within the body of a topic
-	- relatedTopics: Related Topics
-	- procTitle: Within How Do I:... topics, for headings within the body of a topic that are followed by
-	  bulleted procedures ("To do this").
-	- pre: For code blocks
-	- langinline: For code fragments within a (non-code) regular section.
-	- notepara: Notes	 
-*/
-h1,
-h2,
-h3,
-h4,
-h5,
-p,
-proctitle,
-relatedtopics {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	color: #000000;
-}
-
-/* Use h1 for all first-level headings within the body of a topic. 
-   For the topic title, use the Title style. */
-h1 {
-	font-size: 135%;
-	margin-top: .5em;
-	margin-bottom: .5em;
-}
-
-/* Use h2 for all second-level headings. */
-h2 {
-	font-size: 125%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h3 for all third-level headings. */
-h3 {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h4 for all fourth-level headings. 
-   Note: this style looks identical to the relatedtopics and proctitle styles. */
-h4 {
-	font-size: 105%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use h5 for all fifth-level heading.  
-   Currently, there are no h5s in use in the document.*/
-h5 {
-	font-size: 100%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-}
-
-/* Use the Title style for the title of a topic. */
-p.Title {
-	font-weight: bold;
-	font-style: normal;
-	font-family: Verdana, sans-serif;
-	font-size: 142%;
-}
-
-/* This deprated tag creates a div that designates the title. */
-#topictitle {
-}
-
-/* This deprecated tag creates a dive that designates all body text. */
-#topictext {
-}
-
-/* Used for figure captions.*/
-p.arttitle {
-	font-weight: Bold;
-}
-  
-/* The attribute style resembles the navtitle and partdesc styles in that it keeps the next paragraph 
-   flush with it. Use it when you list the attributes of syntax in a reference topic.
-   The argument style should always be followed by the partdesc style. */
-p.attribute {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-weight: Bold;
-	
-}
-
-/* Standard HTML tag. */
-body {
-	padding: 0px 0px 0px 15px;
-	background: #ffffff;
-	color: #00000;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* Standard HTML tag. */
-span.bold {
-	font-weight: Bold;
-}
-
-/* Standard HTML tag. */
-blockquote {
-	margin: 0em 0em 0em 2em;
-	padding: 0px;
-}
-
-/* Use the filepath style to designate file paths. It is currently a monospace file. */
-span.filepath {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The langinline style, like userinput and filepath, also renders text monospace. Use this
-   to denote any individual instance of code in the context of non-coded text. For example, 
-   you would use this to denote the name of a class when you're describing it in the paragraph that
-   precedes a code sample. To denote a code sample, however, use the <pre> tag. */
-span.langinline {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* The listplain style narrows the margin between the formatted line and the one before it.
-   It is to be used when creating a second paragraph in a list item, along with the indent and
-   unindent buttons in Dreamweaver. */
-p.listplain {
-	margin-top: 0.7em;
-	margin-bottom: 0;
-	padding: 0em;
-}
-
-/* All text in the navtitle style should include a link to another topic.
-   The navtitle style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics 
-   Included in this Section" section of a navigation topic, you include the links to all of 
-   the topics in that chapter, along with a brief description of what you'll find in each. Use the
-   navtitle style for the linked text. It differs from a normal paragraph style in that it does not 
-   include an extra paragraph break between the link and the descriptive text. */
-p.navtitle {
-	margin-top: .6em;
-	margin-bottom: 0em;
-}
-
-/* The navdesc style is used in navigational node topics, in Class reference
-   topics, and in Method reference topics. For example, in the "Topics Included in this Section" 
-   section of a navigation topic, you include the links to all of the topics in that chapter,
-   along with a brief description of what you'll find in each. Use this style for the descriptive text. 
-   It indents the text one tab stop and keeps the margin between this style and the navtitle style small.  */
-p.navdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-}
-
-/* The notepara style indents your text to the tab stop for note
-   text. You should always begin Note text with the word "Note:" in
-   boldface. */
-p.notepara {
-	margin-left: 2em;
-	margin-right: 2em;
-	margin-bottom: 1.5em;
-}
-
-/* The partname style resembles the navtitle style in that it keeps the next paragraph flush with it. 
-   You use it when you list the parameters in a reference topic. It is also used currently in the 
-   glossary to designate glossary entries. It renders text italic.
-   The partname style should always be followed by the partdesc style.*/
-p.partname {
-	margin-top: .6em;
-	margin-bottom: 0px;
-	font-style: italic;
-}
-
-/* Use the partdesc style when you describe the function of the properties, parameters, or exceptions 
-   listed in a reference topic. It is also used currently in the glossary to designate glossary 
-   definitions. The style indents the description slightly.
-   The partdesc style should always follow the partname or attribute style.*/
-p.partdesc {
-	margin-bottom: 1em;
-	margin-left: 1.9em;
-	margin-top: 0em;
-
-}
-
-/* The point of the proctitle style is the same as the point of the relatedtopics style.  
-   It applies to all headings that begin with "To [do something]". It looks identical to the h4 style.  */
-p.proctitle {
-	font-size: 110%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-
-}
-
-/* Use the relatedtopics style, for the words "Related Topics" at the end of a topic. 
-   It looks identical to the h4 style. */
-p.relatedtopics {
-	font-size: 120%;
-	margin-top: 1em;
-	margin-bottom: .6em;
-	font-weight: Bold;
-}
-
-/* The syntax style renders text bold. Use it to style all syntax lines under the
-   Syntax heading of reference topics. */
-p.syntax {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-}
-
-/* Use the syntaxindent style to indent sub-properties of syntax declarations. */
-p.syntaxindent {
-	font-family: monospace;
-	line-height: normal;
-	font-weight: Bold;
-	margin-left: 1.5em;
-	margin-top: 0em;
-	margin-bottom: 0px;
-}
-
-
-p.fileurl {
-	font-size: 8pt;
-}
-
-p.modifieddate {
-	font-size: 8pt;
-}
-
-/* The syntaxpartname character style renders text italic. Use it to designate 
-   syntax elements in reference topics.*/
-span.syntaxpartname {
-	font-style: italic;
-	font-weight: normal;
-}
-
-/* These specifications dictate the margins and width of tables. */
-table {
-	width: 90%;
-	margin-top: .6em;
-	margin-bottom: .3em;
-}
-
-/* The background of header cells is grey, and the text is bottom-aligned. */
-th {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #cccccc;
-	text-align: left;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	vertical-align: bottom;
-}
-
-/* The text in normal table cells is top-aligned. */
-td {
-	padding-left: 8px;
-	padding-right: 8px;
-	background: #ffffff;
-	vertical-align: top;
-	font-size: 80%;
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-/* This style creates space above and below table text between paragraph and the table borders. */
-p.tabletext {
-	margin-top: .6em;
-	margin-bottom: .6em;
-}
-
-/* The editor uses this style when creating template guides to designate a style annotation. 
-   You probably won't want to use it anywhere else in the guide. */
-span.template {
-	color: #FF00FF;	
-}
-
-a.toc-node {
-	font-size:11px;
-	color:000000;
-	margin-left: 0px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-    white-space: nowrap;
-    font-family: Tahoma;
-    background-color:#FFFFFF;
-    text-decoration:none;        
-}
-
-/* The userinput style renders text monospace.Use this style to highlight text that a user 
-   types into a text field.  */
-span.userinput {
-	font: 100% Courier New Courier mono;
-	font-family: "Courier New", monospace;
-}
-
-/* Standard HTML tags. */
-ul,
-ol {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	list-style-position: outside;
-	list-style-image: none;
-	margin-top: 0em;
-	margin-bottom: 0em;
-}
-
-/* Standard HTML tag. */
-ol {
-	list-style-type: 1;
-	margin-left: 2em;
-}
-
-/* Standard HTML tag. */
-ul {
-	list-style-type: disc;
-	margin-left: 1.5em;
-}
-
-/* Standard HTML tag. */
-li {
-	margin-top: 1.3em; 
-	margin-bottom: 0em;
-}
-
-a:link {
-	color: #3366CC;
-}
-a:hover {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:active {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:visited {
-	color: #803380;
-}
-
-a {
-	x-text-underline: off;
-	x-text-overline: off;
-	x-text-line-through: off;
-	/*begin!kadov{{*/ text-decoration: none none none; /*}}end!kadov*/ 
-}
-a:link {
-	color: #3366CC;
-}
-
-a:hover {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:active {
-	x-text-underline: normal;
-	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ 
-}
-
-a:visited {
-	color: #000066;
-}
-
-div.footer {
-}
-
-.buttonclass
-{
-	font-size:10px;
-	height:20px;
-}
-
-.formclass
-{
-	font-size:10px;
-	height:17px;
-}
-
-
-
-
-/*DEPRECATED*/
-p.codeblock {
-	font-size: 100%;
-	font-family: monospace;
-	line-height: 1em;
-	x-text-tab-stops: repeat 1in;
-	white-space: nowrap;
-	color: #000000;
-	cursor: text;
-	padding-right: 1em;
-	padding-left: 1em;
-	padding-top: 0em;
-	padding-bottom: 0em;
-	margin-bottom: 0em;
-	margin-top: 0em;
-	x-text-underline: Off;
-	/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ 
-}
-
-/* DEPRECATED */
-p.bulletindent1 {
-	margin-left: 1.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent2 {
-	margin-left: 5.1em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.bulletindent3 {
-	margin-left: 4.3em;
-}
-
-/* DEPRECATED */
-p.indent1 {
-	margin-left: 1.5em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent2 {
-	margin-left: 2.9em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.indent3 {
-	margin-left: 4.3em;
-	margin-right: 1.9em;
-}
-
-/* DEPRECATED */
-p.numberedindent1 {
-	margin-left: 2.2em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent2 {
-	margin-left: 6.3em;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-/* DEPRECATED */
-p.numberedindent3 {
-	margin-left: 10.5em;
-	margin-top: 0;
-	margin-bottom: 0;
-}	
-
-/* DEPRECATED */
-p.tabletitle {
-	margin-left: 0;
-	font-weight: Bold;
-}
-
-
-/* These styles are used by the search results page */
-
-.search-node {
-	font-size:10px;
-	color:000000;
-}
-
-a.search-node {
-	font-size:10px;
-	color:000000;
-}
\ No newline at end of file
diff --git a/website/src/documentation/content/xdocs/community/index.xml b/website/src/documentation/content/xdocs/community/index.xml
deleted file mode 100644
index dbf3055..0000000
--- a/website/src/documentation/content/xdocs/community/index.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">
-<document>
-	<header>
-		<title>XMLBeans Community</title>
-	</header>
-	<body>
-		<section>
-			<title>Mailing Lists</title>
-			<section>
-				<title>User Mailing List</title>
-				<p>Low Traffic <jump href="ext:mailsubuser">Subscribe</jump>&nbsp;<jump href="ext:mailunsubuser">Unsubscribe</jump>
-				</p>
-				<p>Search the the <jump href="ext:userlistarchive">XMLBeans User List Archive</jump> for answers to your questions on <em>using</em>
-				XMLBeans.  Post questions, issues, feedback, on the using XMLBeans to this list.</p>
-				<p>Archives of the XMLBeans Users mailing list are available <jump href="ext:userlistarchive">here in eybrowse</jump>.</p>
-			</section>
-			<section>
-				<title>Developer Mailing List</title>
-				<p>Medium Traffic <jump href="ext:mailsubdev">Subscribe</jump>&nbsp;<jump href="ext:mailunsubdev">Unsubscribe</jump>
-				</p>
-				<p>Use this mailing list for questions and/or issues related to development and coding of XMLBeans.  You may want to 
-				<jump href="ext:devlistarchive">search the archive</jump> or the XMLBeans FAQ before posting your question/feedback.</p>
-				<p>Archives of the XMLBeans Dev mailing list are available <jump href="ext:devlistarchive">here in eybrowse</jump>.</p>
-			</section>
-			<section>
-				<title>CVS Mailing List</title>
-				<p>Low-Medium-HIgh Traffic (just depends) <jump href="ext:mailsubcvs">Subscribe</jump>&nbsp;<jump href="ext:mailunsubcvs">Unsubscribe</jump>
-				</p>
-				<p>This list is used for CVS checkin emails and similar CVS type issues.</p>
-				<p>Archives of the XMLBeans CVS mailing list are available <jump href="ext:cvslistarchive">here in eybrowse</jump>.</p>
-			</section>
-		</section>
-		<section>
-			<title>Who we are</title>
-			<p>
-				<strong>XMLBeans Shepherd:</strong>&nbsp;Ted Leung</p>
-			<p>
-				<strong>XMLBeans Committers</strong>
-			</p>
-			<table>
-				<tr>
-					<th>Committer</th>
-					<th>Email</th>
-					<th>Bio</th>
-				</tr>
-				<tr>
-					<td>Cezar Andrei</td>
-					<td>cezar.andrei@no#spam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>David Bau</td>
-					<td>david.bau@no#spam.google.com</td>
-					<td>
-						<link href="http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlbeans-dev@xml.apache.org&amp;msgNo=93">about me</link>
-					</td>
-				</tr>
-				<tr>
-					<td>Patrick Calahan</td>
-					<td>pcal@no#spam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Ken Kress</td>
-					<td>ken@nos#pam.kress.org</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Laurence Moroney</td>
-					<td>laurence.moroney@nospa#m.reuters.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>David Remy</td>
-					<td>david.remy@n#ospam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Cliff Schmidt</td>
-					<td>cliff.schmidt@n#ospam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Eric Vasilik</td>
-					<td>eric.vasilik@nos#pam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Scott Ziegler</td>
-					<td>scott.ziegler@n#ospam.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Patrick Calahan</td>
-					<td>pcal@nosp#am.bea.com</td>
-					<td>&nbsp;</td>
-				</tr>
-				<tr>
-					<td>Dutta Satadip</td>
-					<td>s-dutta@no#spam.sbcglobal.net</td>
-					<td>&nbsp;</td>
-				</tr>
-			</table>
-			<note label="Emailing Committers">It is recommended that you use the mailing lists above to communicate about the XMLBeans project rather than emailing the committers directly.</note>
-			<note>The nospam. prefix on the email addresses above was put there as an attempt to thwart automatic email harvesting by spammers.  To email someone on this 
-			list remove the nospam from the email address.</note>
-		</section>
-	</body>
-</document>
diff --git a/website/src/documentation/content/xdocs/documentation/conInstallGuide.xml b/website/src/documentation/content/xdocs/documentation/conInstallGuide.xml
deleted file mode 100755
index 248f5e4..0000000
--- a/website/src/documentation/content/xdocs/documentation/conInstallGuide.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">

-<document>

-	<header>

-		<title>Installing XMLBeans</title>

-	</header>

-	<body>

-		<section>

-			<title>Download XMLBeans</title>

-			<p>To start out, you'll need the XMLBeans binaries. You can get these in one of two ways:</p>

-			<ul>

-			<li>To get started more quickly, you can 

-			<link href="../sourceAndBinaries/index.html#XMLBeans+Version+1+Binary+and+Development+Kit">Download the

-			XMLBeans release.</link></li>

-			<li>If you're interested, you can also <link href="../sourceAndBinaries/index.html#XMLBeans+Source">build 

-			from the source</link>.</li>

-			</ul>

-		</section>

-		<section>

-			<title>Set Environment Variables</title>

-			<p>After downloading and unzipping XMLBeans, you'll need to add environment variables that allow you to 

-			use the XMLBeans tools and binaries.</p>

-			<p>The following instructions assume you're using the XMLBeans release, whose directory structure looks 

-			like this:</p>

-			<source>&lt;xmlbeans-version&gt;

-    bin (location of tools)

-    docs

-    lib (location of xbean.jar)

-    ...</source>

-<p>If you're building from source, paths will differ slightly (note the location of xbean.jar). You should account for this when setting up your environment.</p>

-			<source>&lt;xmlbeans-version&gt;

-    bin (location of tools)

-    build

-        ...

-        lib (location of xbean.jar)

-        ...</source>

-		<section>

-			<title>Windows Setup</title>

-			<p>On Windows, do the following:</p>

-			<ol>

-				<li>Right-click <strong>My Computer</strong>, then click <strong>Properties</strong>.</li>

-				<li>On the <strong>Advanced</strong> tab, click <strong>Environment Variables</strong>.</li>

-				<li>Add an <code>XMLBEANS_HOME</code> variable whose value is the XMLBeans location. 

-				<p>For example, if you downloaded the XMLBeans release to the root of your C drive, this might 

-				be <code>c:\xmlbeans-1.0.2.</code></p></li>

-				<li>Edit the <code>PATH</code> variable so that it includes the bin directory of your XMLBeans 

-				installation. For the XMLBeans release, you could add <code>%XMLBEANS_HOME%\bin</code>.</li>

-				<li>Edit the <code>CLASSPATH</code> variable to include the xbean.jar included with XMLBeans. 

-				<p>This is located in the lib directory. If you built XMLBeans from source, you can also use the 

-				JAR file in the build/ar or build/lib directories.</p></li>

-			</ol>

-			<p>Note that you may also need to edit your PATH variable so that the JDK is earlier in the path. For more 

-			information, see the <jump href="http://wiki.apache.org/xmlbeans/XmlBeansV1Faq#scompFindingJavac">XMLBeans 

-			FAQ</jump>.</p>

-			</section>

-		<section>

-			<title>UNIX/Linux Setup</title>

-			<p>On UNIX/Linux, update your environment as follows:</p>

-			<ol>

-				<li><code>export XMLBEANS_HOME=&lt;location of XMLBeans root&gt;</code></li>

-				<li><code>export PATH=$PATH:$XMLBEANS_HOME/bin</code></li>

-			</ol>

-			<p>Your updates might look like this:</p>

-			<source>export XMLBEANS_HOME=/Users/me/xmlstuff/xmlbeans-1.0.2

-export PATH=$PATH:$XMLBEANS_HOME/bin</source>

-			</section>

-				<p>Once you've updated your environment paths, you should be set up to use the tools that come with XMLBeans. 

-				These include a schema compiler, an instance validator, and more.</p>

-				<p>To get started understanding and using XMLBeans, 

-				see <link href="../docs/guide/conGettingStartedwithXMLBeans.html">Getting Started with XMLBeans</link>.</p>

-		</section>

-	</body>

-</document>

diff --git a/website/src/documentation/content/xdocs/documentation/index.xml b/website/src/documentation/content/xdocs/documentation/index.xml
deleted file mode 100644
index 27bee13..0000000
--- a/website/src/documentation/content/xdocs/documentation/index.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">
-<document>
-	<header>
-		<title>XMLBeans Documentation</title>
-	</header>
-	<body>
-		<section>
-			<title>XMLBeans FAQ</title>
-			<p><link href="http://wiki.apache.org/xmlbeans/XmlBeansV1Faq">XMLBeans Version 1 FAQ</link></p>
-		</section>
-		<section>
-			<title>XMLBeans Version 1 User Documentation</title>
-			<ul>
-				<li><link href="../docs/guide/conGettingStartedwithXMLBeans.html">Getting started with XMLBeans</link></li>
-				<li><link href="../docs/guide/conIntroToTheSchemaTypeSystem.html">Intro to the Schema Type System</link></li>
-				<li><link href="../docs/guide/conJavaTypesGeneratedFromUserDerived.html">Java Types generated from User Derived Types</link></li>
-				<li><link href="../docs/guide/conMethodsForGeneratedJavaTypes.html">Java Methods for Types generated from Schema</link></li>
-				<li><link href="../docs/guide/conNavigatingXMLwithCursors.html">Navigating XML with XMLCursor</link></li>
-				<li><link href="../docs/guide/conSelectingXMLwithXPath.html">Selecting XML with XPath</link></li>
-				<li><link href="../docs/guide/conUnderstandingXMLTokens.html">Understanding XML Tokens</link></li>
-				<li><link href="../docs/guide/conUsingBookmarksToAnnotateXML.html">Using Bookmarks to Annotate XML</link></li>
-				<li><link href="../docs/guide/conXMLBeansSupportBuiltInSchemaTypes.html">XMLBeans support for Built-in Schema Types</link></li>
-			</ul>
-		</section>
-		<section>
-			<title>XMLBeans Version 1 JavaDoc</title>
-			<ul>
-				<li><link href="../docs/reference/index.html">XMLBeans Java Doc</link></li>
-			</ul>
-		</section>
-	</body>
-</document>
diff --git a/website/src/documentation/content/xdocs/index.xml b/website/src/documentation/content/xdocs/index.xml
deleted file mode 100644
index 814ddef..0000000
--- a/website/src/documentation/content/xdocs/index.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
-<document>
-	<header>
-		<title>Welcome to XMLBeans</title>
-	</header>
-	<body>
-		<section>
-			<title>Introduction to XMLBeans</title>
-			<p>XMLBeans is a tool that allows you to access the <em>full</em> power of XML in a Java friendly way.  It is an XML-Java binding tool.  The idea is that you can 
-			take advantage the richness and features of XML and XML Schema and have these features mapped as naturally as possible to the equivalent Java language and typing 
-			constructs.  XMLBeans uses XML Schema to <em>compile</em> Java interfaces and classes that you can then use to access and modify XML instance data.  
-			Using XMLBeans is similar to using any other Java interface/class, you will see things like <code>getFoo</code> or <code>setFoo</code> just as 
-			you would
-			expect when working with Java.  While a major use of XMLBeans is to access your XML instance data with strongly typed Java classes there are also
-			API's that allow you access to the full XML infoset (XMLBeans keeps full XML Infoset fidelity) as well as to allow you to <em>reflect</em> into the XML schema
-			itself through an XML Schema Object model.</p>
-			<p>For more details on XMLBeans see the <link href="http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansExplanation">XMLBeans Explanation</link> Wiki page. 
-			As well as the XMLBeans documentation (see the Documentation tab on this website as well as the docs directory in the XMLBeans Source).</p>
-			<section>
-				<title>What makes XMLBeans Different</title>
-				<p>There are at least two major things that make XMLBeans unique from other XML-Java binding options.</p>
-				<ol>
-					<li>
-						<strong>Full XML Schema support.</strong> XMLBeans fully supports XML Schema and the corresponding java classes provide constructs
-      					for all of the major functionality of XML Schema.  This is critical since often times you do not have control over the features of XML Schema
-      					that you need to work with in Java.  Also, XML Schema oriented applications can take full advantage of the power of XML Schema and not
-      					have to restrict themselvs to a subset.</li>
-					<li>
-						<strong>Full XML Infoset fidelity.</strong>When unmarshalling an XML instance the full XML infoset is kept and is available to the developer.  This is
-      					critical because because of the subset of XML that is not easily represented in java.   For example, order of the elements or comments might
-      					be needed in a particular application.</li>
-				</ol>
-				<p>A major objective of XMLBeans has been to be applicable in <em>all</em> non-streaming (in memory) XML programming situations.  You should be
-      				able to compile your XML Schema into a set of java classes and know that 1) you will be able to use XMLBeans for all of the schemas you encounter
-      				(even the warped ones) and 2) that you will be able to get to the XML at whatever level is necessary - and not have to resort to multple
-      				tools to do this.</p>
-				<p>To accomplish this XMLBeans provides three major APIs:</p>
-				<ul>
-					<li>
-						<strong>XmlObject</strong>  The java classes that are generated from an XML Schema are all derived from XmlObject.  These provide strongly
-      					typed getters and setters for each of the elements within the defined XML.  Complex types are in turn XmlObjects.  For example getCustomer
-      					might return a CustomerType (which is an XmlObject).  Simple types turn into simple getters and setters with the correct java type.  For
-      					example getName might return a String.</li>
-					<li>
-						<strong>XmlCursor</strong> From any XmlObject you can get an XmlCursor.  This provides efficient, low level access to the XML Infoset.  A cursor 
-      					represents a position in the XML instance.  You can move the cursor around the XML instance at any level of granularity you need
-      					from individual characters to Tokens.</li>
-					<li>
-						<strong>SchemaType</strong>  XMLBeans provides a full XML Schema object model that you can use to reflect on the underlying schema meta information.
-      					For example, you might want to generate a sample XML instance for an XML schema or perhaps find the enumerations for an element
-      					so that you can display them.</li>
-				</ul>
-				<p>All of this was built with performance in mind.   Informal benchmarks and user feedback indicate that XMLBeans is extremely fast.</p>
-			</section>
-		</section>
-		<section>
-			<title>History</title>
-			<p>XMLBeans was submitted to Apache by BEA Systems in September 2003 and is currently in the Apache incubation process.  
-			XMLBeans was originally created because of the need seen by developers, in particular David Bau 
-			(<link href="http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlbeans-dev@xml.apache.org&amp;msgNo=93">David's about me post</link>),  
-			need for a more XML centric Java binding model that nothing on the market offered.   XMLBeans 1.0 has been successfully used as an underlying technology for several
-			products as well as by a growing number of large users including some of the largest companies in the world.</p>
-		</section>
-		<section>
-			<title>Future</title>
-			<p>The future of XMLBeans is exciting and you are invited to contribute.  XMLBeans Version 1 is a great, stable technology that will continue to 
-			improve going forward.  Its emphasis on full support for XML Schema and the XML Infoset along with it's performance
-			charactaristics make it a great choice for in-memory XML-Java programming. </p>
-			<p>Work has begun on planning XMLBeans 2.0.  At this point it appears that the major emphasis for XMLBeans 2.0 are new use cases that expand
-			the breadth of XMLBeans.  The observation is that XML-Java binding occurs in situations that XMLBeans could be optimized for, areas
-			such as Web Services (XMLBeans works well now in many Web Services situations) and Java to XML Schema scenarios .  
-			See the <link href="http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansRoadMap">XMLBeans Roadmap</link> and the 
-			<link href="http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansFeaturePlan">XMLBeans Feature Plan</link> wiki page for
-			more information.  XMLBeans is actively looking for contributors and committers so, if you are interested, please join in.</p>
-		</section>
-		<!-- 
-		<section>
-			<title>News and events</title>
-			<ul>
-				<li>
-					<link href="http://apachecon.com/2003/US/index.html">
-						<img src="http://jakarta.apache.org/images/logos/ac2003-150.gif" alt="apachecon 2003 logo" width="150" height="86"/>
-					</link>
-					<link href="http://apachecon.com/2003/US/index.html">ApacheCon US 2003</link>
-			          (16-19 November 2003) is now open for registration. ApacheCon is
-			          the conference for all things Apache. Come along and learn about
-			          a range of new technologies, meet some Apache folks and share
-			          the knowledge. David Bau is scheduled to speak about XMLBeans 
-			          on Monday, Nov 17 from 2:30 to 3:30 
-			          (<link href="http://apachecon.com/2003/US/html/sessions.html">ApacheCon Schedule</link>).
-			        </li>
-			</ul>
-		</section>
-		-->
-	</body>
-</document>
diff --git a/website/src/documentation/content/xdocs/projectManagement/index.xml b/website/src/documentation/content/xdocs/projectManagement/index.xml
deleted file mode 100644
index fc9d871..0000000
--- a/website/src/documentation/content/xdocs/projectManagement/index.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">
-<document>
-	<header>
-		<title>XMLBeans Project Management</title>
-	</header>
-	<body>
-		<section>
-			<title>Incubation Exit Criteria</title>
-			<p>A major Apache sub project goal for XMLBeans is exiting from incubation.  Here is a link to the exit criteria post on general@incubator.apache.org
-			(<link href="http://nagoya.apache.org/eyebrowse/ReadMsg?listName=general@incubator.apache.org&amp;msgId=1055888">XMLBeans Exit Criteria</link>).</p>
-			<note>Need to change this link over to a Wiki page so we can show/update the status on each item.</note>
-		</section>
-		<section>
-			<title>XMLBeans Version 1 Project Management</title>
-			<p>XMLBeans Version 1 is the current stable <em>incubated</em> release</p>
-		</section>
-		<section>
-			<title>XMLBeans Version 2 Project Management</title>
-			<p>You can find information about XMLBeans 2.0 planning at  <link href="http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansFeaturePlan">XMLBeans Feature Plan</link> 
-			if you want to provide ideas or feedback on this planning it is best to post it to either xmlbeans-dev@xml.apache.org or
-			xmlbeans-user@xml.apache.org.</p>
-		</section>
-		<section>
-			<title>XMLBeans Bug Lists</title>
-			<p>Open XMLBeans bugs (from JIRA): <link href="http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10436">JIRA XMLBeans</link>
-			</p>
-		</section>
-	</body>
-</document>
diff --git a/website/src/documentation/content/xdocs/site.xml b/website/src/documentation/content/xdocs/site.xml
deleted file mode 100644
index 004c93a..0000000
--- a/website/src/documentation/content/xdocs/site.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0"?>

-<!--

-Forrest site.xml

-

-This file contains an outline of the site's information content.  It is used to:

-- Generate the website menus (though these can be overridden - see docs)

-- Provide semantic, location-independent aliases for internal 'site:' URIs, eg

-<link href="site:changes"> links to changes.html (or ../changes.html if in

-  subdir).

-- Provide aliases for external URLs in the external-refs section.  Eg, <link

-  href="ext:cocoon"> links to http://xml.apache.org/cocoon/ 

-

-See http://xml.apache.org/forrest/linking.html for more info

--->

-<site label="XMLBeans" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">

-	<about label="About">

-		<index label="Overview" href="index.html" description="Welcome to XMLBeans"/>

-		<newsAndEvents label="News and Events" href="index.html#News+and+events" description="XMLBeans News and Events"/>

-		<proposal label="Proposal" href="http://nagoya.apache.org/wiki/apachewiki.cgi?XmlBeansProposal" description="The original XMLBeans Project Proposal"/>

-		<todo label="To Do" href="http://nagoya.apache.org/wiki/apachewiki.cgi?XMLBeansToDo" description="Action items, mostly regarding incubation exit criteria"/>

-		<!--

-		<all_site label="Full HTML" href="site.html" />

-		<all_sitePDF label="Full PDF" href="site.pdf" />

-		-->

-	</about>

-	<sourceAndBinaries label="Source and Binaries" href="sourceAndBinaries/" tab="sourceAndBinaries">

-		<version1 label="Version 1 Binaries and Dev Kit" href="index.html#XMLBeans Version 1 Binary and Development Kit" description="XMLBeans Development Kit provides binaries as well as utilities and doc"/>

-		<source label="Source Access" href="index.html#XMLBeans+Source" description="Information on getting XMLBeans source"/>

-	</sourceAndBinaries>

-	<documentation label="Documentation" href="documentation/" tab="documentation">

-		<faq label="XMLBeans FAQ" href="index.html#FAQ" description="XMLBeans Frequently Asked Questions"/>

-		<userdoc label="Installing XMLBeans" href="conInstallGuide.html" description="Install XMLBeans"/>

-		<userdoc label="Version 1 User Documentation" href="index.html#XMLBeans+Version+1+User+Documentation" description="XMLBeans Version 1 User Documentation"/>

-		<userdoc label="Version 1 JavaDoc" href="index.html#XMLBeans+Version+1+JavaDoc" description="XMLBeans Version 1 JavaDoc"/>

-	</documentation>

-	<community label="Community" href="community/" tab="community">

-		<mailingLists label="Mailing Lists" href="index.html#Mailing+Lists" description="Mailing List Information"/>

-		<whoWeAre label="Who we are" href="index.html#Who+we+are" description="List of committers"/>

-	</community>

-	<projectManagement label="Project Managment" href="projectManagement/" tab="projectManagement">

-		<version1 label="Version 1 Project Management" href="index.html#XMLBeans+Version+1+Project+Management" description="Information on the progress of XMLBeans Version 1"/>

-		<version2 label="Version 2 Project Management" href="index.html#XMLBeans+Version+2+Project+Management" description="Information on the progress of XMLBeans Version 2"/>

-		<bugs label="XMLBeans Bug Tracking" href="index.html#XMLBeans+Bug+Tracking" description="Where to find or log bugs for XMLBeans"/>

-	</projectManagement>

-	<all>

-		<whole_site_html label="Whole Site HTML" href="site.html"/>

-		<whole_site_html label="Whole Site PDF" href="site.pdf"/>

-	</all>

-	<external-refs>

-		<xml.apache.org href="http://xml.apache.org/">

-			<forrest href="forrest/">

-				<validation href="validation.html"/>

-				<webapp href="your-project.html#webapp"/>

-				<document-v12 href="document-v12.html"/>

-			</forrest>

-			<cocoon href="cocoon/"/>

-		</xml.apache.org>

-		<mailsubuser label="XmlBeans User List Subscribe" href="mailto:xmlbeans-user-subscribe@xml.apache.org"/>

-		<mailunsubuser label="XmlBeans User List UnSubscribe" href="mailto:xmlbeans-user-unsubscribe@xml.apache.org"/>

-		<mailsubdev label="XmlBeans Dev List Subscribe" href="mailto:xmlbeans-dev-subscribe@xml.apache.org"/>

-		<mailunsubdev label="XmlBeans Dev List UnSubscribe" href="mailto:xmlbeans-dev-unsubscribe@xml.apache.org"/>

-		<mailsubcvs label="XmlBeans CVS List Subscribe" href="mailto:xmlbeans-cvs-subscribe@xml.apache.org"/>

-		<mailunsubcvs label="XmlBeans CVS List UnSubscribe" href="mailto:xmlbeans-cvs-unsubscribe@xml.apache.org"/>

-		<userlistarchive label="XmlBeams User List Archive" href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=152"/>

-		<devlistarchive label="XmlBeans Dev List Archive" href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=151"/>

-		<cvslistarchive label="XmlBeans CVS List Archive" href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=150"/>

-	</external-refs>

-</site>

diff --git a/website/src/documentation/content/xdocs/sourceAndBinaries/index.xml b/website/src/documentation/content/xdocs/sourceAndBinaries/index.xml
deleted file mode 100644
index f808e59..0000000
--- a/website/src/documentation/content/xdocs/sourceAndBinaries/index.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">
-<document>
-	<header>
-		<title>XMLBeans Source and Binaries</title>
-	</header>
-	<body>
-		<section>
-			<title>XMLBeans Version 1.02 Binary and Development Kit</title>
-			<note>Incubated Build.  XMLBeans is in the incubation process at Apache and the build provided here is not sanctioned as 
-			an official Apache Release.</note>
-			<p><link href="http://www.apache.org/dyn/closer.cgi/xml/xmlbeans">Download XMLBeans Version 1.02 from one of the Apache mirrors.</link></p>
-			<p><link href="http://www.apache.org/dist/xml/xmlbeans/">You can also download from main Apache Distribution Site</link></p>
-			<p><link href="http://xml.apache.org/mirrors.cgi">Here is the main Apache XML Project Downloads page (Including XMLBeans)</link></p>
-			<p>You should verify the integrity of the files that you download.  <link href="http://xml.apache.org/mirrors.cgi#verify">Here are some
-			instructions for verifying the integrity of a downloaded file</link></p>
-		</section>
-		<section>
-			<title>XMLBeans Source</title>
-			<section>
-				<title>Source via CVSView</title>
-				<p>XMLBeans source via CVSView: <link href="http://cvs.apache.org/viewcvs.cgi/xml-xmlbeans/">Here</link>
-				</p>
-			</section>
-			<section>
-				<title>Source via CVS checkout</title>
-				<p>If you have CVS installed on your machine you can issue the following commands to get XML Beans source:</p>
-				<source>
-cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
-password: anoncvs
-				</source>
-				<source>cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout xml-xmlbeans</source>
-			</section>
-			<section>
-				<title>Building XMLBeans Version 1.0</title>
-				<section>
-					<title>Windows</title>
-					<p>After the steps above you should see an xml-xmlbeans directory:</p>
-					<source>
-cd xml-xmlbeans\v1
-xbeanenv
-ant
-					</source>
-					<p>This will create a build directory containing the executables.  The <code>xbeans.jar</code> is in the <code>xml-beans\v1\ar</code> directory.  Try
-					<code>ant -projecthelp</code> to see other build options.</p>
-				</section>
-				<section>
-					<title>Unix</title>
-					<p>need blurb here on building in Unix, very simiilar to above Windows build</p>
-				</section>
-			</section>
-		</section>
-	</body>
-</document>
diff --git a/website/src/documentation/content/xdocs/tabs.xml b/website/src/documentation/content/xdocs/tabs.xml
deleted file mode 100644
index 4a4584e..0000000
--- a/website/src/documentation/content/xdocs/tabs.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" "http://apache.org/forrest/dtd/tab-cocoon-v10.dtd">
-<tabs software="MyProj" title="MyProj" copyright="Foo" xmlns:xlink="http://www.w3.org/1999/xlink">
-	<!-- The rules are:
-    @dir will always have '/@indexfile' added.
-    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
-    @href is not modified unless it is root-relative and obviously specifies a
-    directory (ends in '/'), in which case /index.html will be added
-    If @id's are present, site.xml entries with a matching @tab will be in that tab.
-     -->
-	<tab id="" label="Home" dir="" indexfile="index.html"/>
-	<tab id="sourceAndBinaries" label="Source and Binaries" dir="sourceAndBinaries"/>
-	<tab id="documentation" label="Documentation" dir="documentation"/>
-	<tab id="community" label="Community" dir="community"/>
-	<tab id="projectManagement" label="Project Management" dir="projectManagement"/>
-</tabs>
diff --git a/website/src/documentation/resources/images/built-with-forrest-button.png b/website/src/documentation/resources/images/built-with-forrest-button.png
deleted file mode 100644
index 4a787ab..0000000
--- a/website/src/documentation/resources/images/built-with-forrest-button.png
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/resources/images/group-logo.gif b/website/src/documentation/resources/images/group-logo.gif
deleted file mode 100644
index 57e4b36..0000000
--- a/website/src/documentation/resources/images/group-logo.gif
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/resources/images/group.svg b/website/src/documentation/resources/images/group.svg
deleted file mode 100644
index d45160f..0000000
--- a/website/src/documentation/resources/images/group.svg
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-
-<!--
-       SVG Anteater logo
-        jefft@apache.org
-
-To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
-xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
-SVG spec (http://www.w3.org/TR/SVG/) as a reference.
--->
-
-<!--
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
-"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
--->
-<svg xmlns="http://www.w3.org/2000/svg"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:for="http://xml.apache.org/forrest" width="220" height="65" >
-  <title>Anteater logo</title>
-
-  <defs>
-
-    <!--
-    <radialGradient id="radialGradient">
-      <stop style="stop-color:gold" offset="0"/>
-      <stop style="stop-color:orange" offset=".5"/>
-      <stop style="stop-color:crimson" offset="1"/>
-    </radialGradient>
-    <linearGradient id="linearGradient">
-      <stop style="stop-color:gold" offset="0"/>
-      <stop style="stop-color:orange" offset=".5"/>
-      <stop style="stop-color:crimson" offset="1"/>
-    </linearGradient>
-    -->
-
-    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
-      <stop style="stop-color:white" offset="0"/>
-      <stop style="stop-color:lightgreen" offset="1"/>
-    </linearGradient>
-
-    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
-      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
-      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
-      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
-      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
-      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
-      former 'over' the latter, and using the merged result as the finished
-      image -->
-      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
-    </filter>
-
-  </defs>
-
-  <g filter="url(#shadowFilter)" fill="url(#gradient)">
-    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
-    <for:group-name />
-    </text>
-  </g>
-</svg>
-
-
diff --git a/website/src/documentation/resources/images/icon.png b/website/src/documentation/resources/images/icon.png
deleted file mode 100644
index 3be8bbb..0000000
--- a/website/src/documentation/resources/images/icon.png
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/resources/images/project-logo.gif b/website/src/documentation/resources/images/project-logo.gif
deleted file mode 100644
index 4ea1f2b..0000000
--- a/website/src/documentation/resources/images/project-logo.gif
+++ /dev/null
Binary files differ
diff --git a/website/src/documentation/resources/images/project.svg b/website/src/documentation/resources/images/project.svg
deleted file mode 100644
index 42f3feb..0000000
--- a/website/src/documentation/resources/images/project.svg
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-
-<!--
-       SVG Anteater logo
-        jefft@apache.org
-
-To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
-xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
-SVG spec (http://www.w3.org/TR/SVG/) as a reference.
--->
-
-<!--
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
-"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
--->
-<svg xmlns="http://www.w3.org/2000/svg"
-     xmlns:xlink="http://www.w3.org/1999/xlink"
-     xmlns:for="http://xml.apache.org/forrest" width="220" height="65" >
-  <title>Anteater logo</title>
-
-  <defs>
-
-    <!--
-    <radialGradient id="radialGradient">
-      <stop style="stop-color:gold" offset="0"/>
-      <stop style="stop-color:orange" offset=".5"/>
-      <stop style="stop-color:crimson" offset="1"/>
-    </radialGradient>
-    <linearGradient id="linearGradient">
-      <stop style="stop-color:gold" offset="0"/>
-      <stop style="stop-color:orange" offset=".5"/>
-      <stop style="stop-color:crimson" offset="1"/>
-    </linearGradient>
-    -->
-
-    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
-      <stop style="stop-color:white" offset="0"/>
-      <stop style="stop-color:lightgreen" offset="1"/>
-    </linearGradient>
-
-    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
-      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
-      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
-      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
-      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
-      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
-      former 'over' the latter, and using the merged result as the finished
-      image -->
-      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
-    </filter>
-
-  </defs>
-
-  <g filter="url(#shadowFilter)" fill="url(#gradient)">
-    <text x="51%" y="75%" style="font-size:32pt; font-family:Verdana ; text-anchor: middle" >
-    <for:project-name />
-    </text>
-  </g>
-</svg>
-
-
diff --git a/website/src/documentation/skinconf.xml b/website/src/documentation/skinconf.xml
deleted file mode 100644
index 03a773c..0000000
--- a/website/src/documentation/skinconf.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0"?>
-<!--
-Skin configuration file. This file contains details of your project, which will
-be used to configure the chosen XMLBeans skin.
--->
-<!DOCTYPE skinconfig [
-	<!ENTITY % links.att 'name CDATA #REQUIRED'>
-	<!ENTITY % link.att 'name CDATA #REQUIRED href CDATA #REQUIRED'>
-	<!ELEMENT skinconfig (disable-search?, disable-print-link?, disable-pdf-link?, disable-xml-link?, disable-compliance-links?, searchsite-domain?, searchsite-name?, project-name, project-url, project-logo, group-name?, group-url?, group-logo?, host-url?, host-logo?, year?, vendor?, trail?, toc?, credits?)*>
-	<!ELEMENT credits (credit*)>
-	<!ELEMENT credit (name, url, image?, width?, height?)>
-	<!-- id uniquely identifies the tool, and role indicates its function -->
-	<!ATTLIST credit
-	id CDATA #IMPLIED
-		role CDATA #IMPLIED
->
-	<!ELEMENT disable-search (#PCDATA)>
-	<!ELEMENT disable-print-link (#PCDATA)>
-	<!ELEMENT disable-pdf-link (#PCDATA)>
-	<!ELEMENT disable-xml-link (#PCDATA)>
-	<!ELEMENT disable-compliance-links (#PCDATA)>
-	<!ELEMENT searchsite-domain (#PCDATA)>
-	<!ELEMENT searchsite-name (#PCDATA)>
-	<!ELEMENT project-name (#PCDATA)>
-	<!ELEMENT project-url (#PCDATA)>
-	<!ELEMENT project-logo (#PCDATA)>
-	<!ELEMENT group-name (#PCDATA)>
-	<!ELEMENT group-url (#PCDATA)>
-	<!ELEMENT group-logo (#PCDATA)>
-	<!ELEMENT host-url (#PCDATA)>
-	<!ELEMENT host-logo (#PCDATA)>
-	<!ELEMENT year (#PCDATA)>
-	<!ELEMENT vendor (#PCDATA)>
-	<!ELEMENT trail (link1, link2, link3)>
-	<!ELEMENT link1 EMPTY>
-	<!-- Seems we can't use param entity refs until this is DTDified -->
-	<!ATTLIST link1
-	name CDATA #REQUIRED
-		href CDATA #IMPLIED
->
-	<!ELEMENT link2 EMPTY>
-	<!ATTLIST link2
-	name CDATA #REQUIRED
-		href CDATA #IMPLIED
->
-	<!ELEMENT link3 EMPTY>
-	<!ATTLIST link3
-	name CDATA #REQUIRED
-		href CDATA #IMPLIED
->
-	<!ELEMENT name (#PCDATA)>
-	<!ELEMENT url (#PCDATA)>
-	<!ELEMENT image (#PCDATA)>
-	<!ELEMENT width (#PCDATA)>
-	<!ELEMENT height (#PCDATA)>
-	<!ELEMENT toc EMPTY>
-	<!ATTLIST toc
-	level CDATA #IMPLIED
->
-]>
-<skinconfig>
-	<!-- Do we want to disable the Google search box? -->
-	<disable-search>false</disable-search>
-	<!-- Do we want to disable the print link? -->
-	<disable-print-link>true</disable-print-link>
-	<!-- Do we want to disable the PDF link? -->
-	<disable-pdf-link>false</disable-pdf-link>
-	<!-- Do we want to disable the xml source link? -->
-	<disable-xml-link>true</disable-xml-link>
-	<!-- Do we want to disable w3c compliance links? -->
-	<disable-compliance-links>false</disable-compliance-links>
-	<searchsite-domain>xml.apache.org</searchsite-domain>
-	<searchsite-name>Apache XML</searchsite-name>
-	<!-- mandatory project logo
-       skin: XMLBeans-site renders it at the top -->
-	<project-name>XMLBeans</project-name>
-	<project-url>http://xml.apache.org/xmlbeans/</project-url>
-	<project-logo>images/project-logo.gif</project-logo>
-	<!-- optional group logo
-       skin: XMLBeans-site renders it at the top-left corner -->
-	<group-name>Apache XML</group-name>
-	<group-url>http://xml.apache.org/</group-url>
-	<group-logo>images/group-logo.gif</group-logo>
-	<!-- optional host logo (e.g. sourceforge logo)
-       skin: XMLBeans-site renders it at the bottom-left corner -->
-	<host-url/>
-	<host-logo/>
-	<!-- The following are used to construct a copyright statement -->
-	<year>2003</year>
-	<vendor>The Apache Software Foundation.</vendor>
-	<!-- Some skins use this to form a 'breadcrumb trail' of links. If you don't
-  want these, set the attributes to blank. The DTD purposefully requires them.
-  -->
-	<trail>
-		<link1 name="apache" href="http://www.apache.org/"/>
-		<link2 name="xml.apache" href="http://xml.apache.org/"/>
-		<link3 name="xmlbeans" href="http://xml.apache.org/xmlbeans"/>
-	</trail>
-	<!-- Configure how many "section" levels need to be included in the
-  generated Table of Contents (TOC). By default, if no toc element is provided
-  below, then 2 levels are included. Level 0 does not generate any TOC at all.
-  -->
-	<toc level="2"/>
-	<!-- Credits are typically rendered as a set of small clickable images in the
-  page footer -->
-	<credits>
-		<credit>
-			<name>Built with Forrest</name>
-			<url>http://xml.apache.org/forrest/</url>
-			<image>images/built-with-forrest-button.png</image>
-			<width>88</width>
-			<height>31</height>
-		</credit>
-	</credits>
-</skinconfig>
diff --git a/website/status.xml b/website/status.xml
deleted file mode 100644
index 6098bcd..0000000
--- a/website/status.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<status>
-
-  <developers>
-    <person name="Joe Bloggs"      email="joe@joescompany.org"      id="JB" />
-    <!-- Add more people here -->
-  </developers>
-
-  <todo>
-    <actions priority="high">
-      <action context="docs" dev="JB">
-        Customize this template project with your project's details.  This
-        TODO list is generated from 'status.xml'.
-      </action>
-      <action context="docs" dev="JB">
-        Add lots of content.  XML content goes in
-        <code>src/documentation/content/xdocs</code>, or wherever the
-        <code>${project.xdocs-dir}</code> property (set in
-        <code>forrest.properties</code>) points.
-      </action>
-      <action context="feedback" dev="JB">
-        Mail <link
-          href="mailto:forrest-dev@xml.apache.org">forrest-dev@xml.apache.org</link>
-        with feedback.
-      </action>
-    </actions>
-    <!-- Add todo items. @context is an arbitrary string. Eg:
-    <actions priority="high">
-      <action context="code" dev="SN">
-      </action>
-    </actions>
-    <actions priority="medium">
-      <action context="docs" dev="open">
-      </action>
-    </actions>
-    -->
-  </todo>
-
-  <changes>
-    <!-- Add new releases here -->
-    <release version="0.1" date="2002">
-      <!-- Some action types have associated images. By default, images are
-      defined for 'add', 'fix', 'remove' and 'update'. If you add
-      src/documentation/resources/images/<foo>.jpg images, these will
-        automatically be used for entries of type <foo>. -->
-
-          <action dev="JB" type="add" context="admin">
-            Initial Import
-          </action>
-          <!-- Sample action:
-          <action dev="JB" type="fix" due-to="Joe Contributor"
-            due-to-email="joec@apache.org" fixes-bug="123">
-            Fixed a bug in the Foo class.
-          </action>
-          -->
-        </release>
-      </changes>
-    </status>